@aptly-as/types 3.7.1 → 3.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/order.d.ts +5 -0
- package/models/payment.d.ts +6 -0
- package/package.json +1 -1
package/models/order.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare enum AptlyOrderPaymentStatus {
|
|
|
25
25
|
export type AptlyOrder = AptlyOrderSchema<string, string>;
|
|
26
26
|
export interface AptlyOrderSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'name'> {
|
|
27
27
|
orderNumber: string;
|
|
28
|
+
invoiceNumber?: number;
|
|
28
29
|
organization: ID | AptlyOrganizationSchema<ID, DATE>;
|
|
29
30
|
project: ID | AptlyProjectSchema<ID, DATE>;
|
|
30
31
|
period?: ID | AptlyProjectPeriodSchema<ID, DATE>;
|
|
@@ -188,3 +189,7 @@ export interface AptlyOrderActionSignDataSignee {
|
|
|
188
189
|
signMethod?: string;
|
|
189
190
|
isAdmin?: boolean;
|
|
190
191
|
}
|
|
192
|
+
export interface AptlyOrderDeliveryBody {
|
|
193
|
+
shippingDate: string;
|
|
194
|
+
shippingDescription?: string;
|
|
195
|
+
}
|
package/models/payment.d.ts
CHANGED
|
@@ -128,3 +128,9 @@ export interface AptlyPaymentTransactionBody {
|
|
|
128
128
|
billing?: AptlyAddress;
|
|
129
129
|
splits: Omit<AptlyPaymentSplit, '_id'>[];
|
|
130
130
|
}
|
|
131
|
+
export interface AptlyPaymentCaptureBody {
|
|
132
|
+
amount: number;
|
|
133
|
+
description?: string;
|
|
134
|
+
shippingDate?: string;
|
|
135
|
+
terms?: boolean;
|
|
136
|
+
}
|