@aptly-as/types 3.7.2 → 3.7.4

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 CHANGED
@@ -189,3 +189,13 @@ export interface AptlyOrderActionSignDataSignee {
189
189
  signMethod?: string;
190
190
  isAdmin?: boolean;
191
191
  }
192
+ export interface AptlyOrderDeliveryBody {
193
+ shippingDate: string;
194
+ shippingDescription?: string;
195
+ }
196
+ export interface AptlyOrderCompleteBody {
197
+ emailSubject?: string;
198
+ emailText?: string;
199
+ emailMarkdown?: string;
200
+ skipEmail?: boolean;
201
+ }
@@ -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, AptlyOrderPaymentStatus, AptlyOrderSchema } from './order.js';
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;
@@ -128,3 +121,8 @@ export interface AptlyPaymentTransactionBody {
128
121
  billing?: AptlyAddress;
129
122
  splits: Omit<AptlyPaymentSplit, '_id'>[];
130
123
  }
124
+ export interface AptlyPaymentCaptureBody {
125
+ amount: number;
126
+ terms: boolean;
127
+ description?: string;
128
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.7.2",
3
+ "version": "3.7.4",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",