@aptly-as/types 3.7.3 → 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
@@ -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
+ }
@@ -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;
@@ -130,7 +123,6 @@ export interface AptlyPaymentTransactionBody {
130
123
  }
131
124
  export interface AptlyPaymentCaptureBody {
132
125
  amount: number;
126
+ terms: boolean;
133
127
  description?: string;
134
- shippingDate?: string;
135
- terms?: boolean;
136
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "3.7.3",
3
+ "version": "3.7.4",
4
4
  "description": "Aptly types and enums",
5
5
  "type": "module",
6
6
  "main": "./index.js",