@aptly-as/types
Advanced tools
Comparing version 2.7.10 to 2.7.11
@@ -1,2 +0,2 @@ | ||
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyPaymentSchema, AptlyUnitSchema } from '../models/index.js'; | ||
import { AptlyDocumentSchema, AptlyOrderSchema, AptlyPaymentSchema, AptlyPaymentSettlement, AptlyUnitSchema } from '../models/index.js'; | ||
export declare namespace AptlyWebhookEventData { | ||
@@ -21,1 +21,11 @@ interface UnitWebhookSchema<ID, DATE> { | ||
} | ||
export declare namespace AptlyAppWebhookEventData { | ||
interface SettlementCreate extends Pick<AptlyPaymentSettlement, 'app' | 'at' | 'externalId' | 'externalRef' | 'destination'> { | ||
amounts: Omit<AptlyPaymentSettlement['amounts'][0], '_id'>[]; | ||
transactions: Omit<AptlyPaymentSettlement['transactions'][0], '_id'>[]; | ||
pdfDownload?: { | ||
url: string; | ||
name: string; | ||
}; | ||
} | ||
} |
export declare enum AptlyDocumentType { | ||
AgreementAttachment = "agreement-attachment", | ||
ArchitectDrawing = "architect-drawing", | ||
@@ -17,2 +18,3 @@ BathroomDrawing = "bathroomDrawing", | ||
KitchenDrawing = "kitchenDrawing", | ||
Invoice = "invoice", | ||
InspectionReport = "inspectionReport", | ||
@@ -19,0 +21,0 @@ Manual = "manual", |
export var AptlyDocumentType; | ||
(function (AptlyDocumentType) { | ||
AptlyDocumentType["AgreementAttachment"] = "agreement-attachment"; | ||
AptlyDocumentType["ArchitectDrawing"] = "architect-drawing"; | ||
@@ -18,2 +19,3 @@ AptlyDocumentType["BathroomDrawing"] = "bathroomDrawing"; | ||
AptlyDocumentType["KitchenDrawing"] = "kitchenDrawing"; | ||
AptlyDocumentType["Invoice"] = "invoice"; | ||
AptlyDocumentType["InspectionReport"] = "inspectionReport"; | ||
@@ -20,0 +22,0 @@ AptlyDocumentType["Manual"] = "manual"; |
@@ -6,2 +6,3 @@ export type AptlyPaymentSettlement = AptlyPaymentSettlementSchema<string, string>; | ||
document?: ID; | ||
reportDocument?: ID; | ||
app: ID; | ||
@@ -8,0 +9,0 @@ externalId: string; |
{ | ||
"name": "@aptly-as/types", | ||
"version": "2.7.10", | ||
"version": "2.7.11", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113002
3103