@aptly-as/types 3.7.3 → 3.7.5
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 +6 -0
- package/models/payment.d.ts +2 -11
- package/package.json +1 -1
package/models/order.d.ts
CHANGED
|
@@ -193,3 +193,9 @@ export interface AptlyOrderDeliveryBody {
|
|
|
193
193
|
shippingDate: string;
|
|
194
194
|
shippingDescription?: string;
|
|
195
195
|
}
|
|
196
|
+
export interface AptlyOrderCompleteBody {
|
|
197
|
+
emailSubject?: string;
|
|
198
|
+
emailText?: string;
|
|
199
|
+
emailMarkdown?: string;
|
|
200
|
+
skipEmail?: boolean;
|
|
201
|
+
}
|
package/models/payment.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { AptlyAppSchema } from './app.js';
|
|
|
4
4
|
import { AptlyCustomer, AptlyCustomerSchema } from './customer.js';
|
|
5
5
|
import { AptlyDocumentSchema } from './document.js';
|
|
6
6
|
import { AptlyBaseSchema } from './extends.js';
|
|
7
|
-
import { AptlyOrder,
|
|
7
|
+
import { AptlyOrder, AptlyOrderSchema } from './order.js';
|
|
8
8
|
import { AptlyOrganizationContent, AptlyOrganizationSchema } from './organization.js';
|
|
9
9
|
import { AptlyPickConfirmedSchema } from './pick.js';
|
|
10
10
|
import { AptlyProjectContent, AptlyProjectSchema } from './project.js';
|
|
@@ -105,13 +105,6 @@ export interface AptlyPaymentInitPaymentBody {
|
|
|
105
105
|
billing: AptlyAddress;
|
|
106
106
|
redirectUri: string;
|
|
107
107
|
}
|
|
108
|
-
export interface AptlyPaymentCaptureBody {
|
|
109
|
-
id: string;
|
|
110
|
-
status: AptlyOrderPaymentStatus;
|
|
111
|
-
capturedAmount: number;
|
|
112
|
-
totalCost: number;
|
|
113
|
-
at: string;
|
|
114
|
-
}
|
|
115
108
|
export interface AptlyPaymentTransactionBody {
|
|
116
109
|
app: string;
|
|
117
110
|
id: string;
|
|
@@ -129,8 +122,6 @@ export interface AptlyPaymentTransactionBody {
|
|
|
129
122
|
splits: Omit<AptlyPaymentSplit, '_id'>[];
|
|
130
123
|
}
|
|
131
124
|
export interface AptlyPaymentCaptureBody {
|
|
132
|
-
|
|
125
|
+
terms: boolean;
|
|
133
126
|
description?: string;
|
|
134
|
-
shippingDate?: string;
|
|
135
|
-
terms?: boolean;
|
|
136
127
|
}
|