@aptly-as/types
Advanced tools
Comparing version 2.6.7 to 2.7.0
@@ -17,2 +17,3 @@ import { AptlyAppSchema } from './app.js'; | ||
document?: ID | AptlyDocumentSchema<ID, DATE>; | ||
status: AptlyPaymentStatus; | ||
number: number; | ||
@@ -43,2 +44,8 @@ totalCost: number; | ||
} | ||
export declare enum AptlyPaymentStatus { | ||
Authorized = "AUTHORIZED", | ||
PendingDelivery = "PENDING_DELIVERY", | ||
PendingCapture = "PENDING_CAPTURE", | ||
Captured = "CAPTURED" | ||
} | ||
export type AptlyPaymentSplit = AptlyPaymentSplitSchema<string>; | ||
@@ -56,3 +63,3 @@ export interface AptlyPaymentSplitSchema<ID> { | ||
ref: string; | ||
user: ID | AptlyUserSchema<ID, DATE>; | ||
user?: ID | AptlyUserSchema<ID, DATE>; | ||
at: DATE; | ||
@@ -59,0 +66,0 @@ } |
@@ -1,1 +0,7 @@ | ||
export {}; | ||
export var AptlyPaymentStatus; | ||
(function (AptlyPaymentStatus) { | ||
AptlyPaymentStatus["Authorized"] = "AUTHORIZED"; | ||
AptlyPaymentStatus["PendingDelivery"] = "PENDING_DELIVERY"; | ||
AptlyPaymentStatus["PendingCapture"] = "PENDING_CAPTURE"; | ||
AptlyPaymentStatus["Captured"] = "CAPTURED"; | ||
})(AptlyPaymentStatus || (AptlyPaymentStatus = {})); |
{ | ||
"name": "@aptly-as/types", | ||
"version": "2.6.7", | ||
"version": "2.7.0", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "type": "module", |
110915
3055