@aptly-as/types
Advanced tools
Comparing version 2.7.14 to 2.7.15
@@ -29,2 +29,3 @@ export declare enum AptlyDocumentType { | ||
Receipt = "receipt", | ||
Report = "report", | ||
RiskAssessment = "risk-assessment", | ||
@@ -31,0 +32,0 @@ SignedReceipt = "signedReceipt", |
@@ -30,2 +30,3 @@ export var AptlyDocumentType; | ||
AptlyDocumentType["Receipt"] = "receipt"; | ||
AptlyDocumentType["Report"] = "report"; | ||
AptlyDocumentType["RiskAssessment"] = "risk-assessment"; | ||
@@ -32,0 +33,0 @@ AptlyDocumentType["SignedReceipt"] = "signedReceipt"; |
@@ -13,2 +13,3 @@ export declare enum AptlyWebhookType { | ||
UnitPaymentReceipt = "aptly.unit.payment.receipt", | ||
UnitPaymentReport = "aptly.unit.payment.report", | ||
UnitReportFinal = "aptly.unit.report.final", | ||
@@ -15,0 +16,0 @@ OrganizationAppUpdated = "aptly.organization.app.updated", |
@@ -14,2 +14,3 @@ export var AptlyWebhookType; | ||
AptlyWebhookType["UnitPaymentReceipt"] = "aptly.unit.payment.receipt"; | ||
AptlyWebhookType["UnitPaymentReport"] = "aptly.unit.payment.report"; | ||
AptlyWebhookType["UnitReportFinal"] = "aptly.unit.report.final"; | ||
@@ -16,0 +17,0 @@ AptlyWebhookType["OrganizationAppUpdated"] = "aptly.organization.app.updated"; |
@@ -17,2 +17,3 @@ import { AptlyAppSchema } from './app.js'; | ||
document?: ID | AptlyDocumentSchema<ID, DATE>; | ||
reportDocument?: ID | AptlyDocumentSchema<ID, DATE>; | ||
status: AptlyPaymentStatus; | ||
@@ -19,0 +20,0 @@ number: number; |
import { AptlyDocumentSchema } from './document.js'; | ||
import { AptlyOrderSchema } from './order.js'; | ||
import { AptlyPeriodSchema } from './period.js'; | ||
import { AptlyProducerSchema } from './producer.js'; | ||
@@ -106,2 +107,3 @@ import { AptlyProductSchema } from './product.js'; | ||
pickRef?: ID; | ||
order?: ID; | ||
} | ||
@@ -251,2 +253,4 @@ export type AptlyUnitOptionExtraItem = AptlyUnitOptionExtraItemSchema<string, string>; | ||
} | ||
export type AptlyUnitPeriod = AptlyUnitPeriodSchema<string, string>; | ||
export type AptlyUnitPeriodSchema<ID, DATE> = AptlyPeriodSchema<ID, DATE> & Pick<AptlyUnitConfirmedPeriodSchema<ID, DATE>, 'confirmed' | 'order'>; | ||
export {}; |
{ | ||
"name": "@aptly-as/types", | ||
"version": "2.7.14", | ||
"version": "2.7.15", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "type": "module", |
113755
3116