@teemill/platform 0.26.0 → 0.28.0
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/README.md +12 -2
- package/api.ts +483 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +349 -3
- package/dist/api.js +193 -7
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +349 -3
- package/dist/esm/api.js +192 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ConfirmOrderFulfillment.md +24 -0
- package/docs/ConfirmOrderFulfillmentShipment.md +21 -0
- package/docs/ConfirmOrderRequest.md +20 -0
- package/docs/CreateOrder.md +33 -0
- package/docs/CreateOrderContactInformation.md +23 -0
- package/docs/CustomsInformation.md +27 -0
- package/docs/OrderItem1.md +24 -0
- package/docs/OrderItem1RecipientCost.md +22 -0
- package/docs/OrdersApi.md +135 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Platform API
|
|
3
3
|
* Manage Your podOS platform
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.28.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -112,6 +112,57 @@ export interface Client {
|
|
|
112
112
|
*/
|
|
113
113
|
'name'?: string;
|
|
114
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @export
|
|
118
|
+
* @interface ConfirmOrderFulfillment
|
|
119
|
+
*/
|
|
120
|
+
export interface ConfirmOrderFulfillment {
|
|
121
|
+
/**
|
|
122
|
+
* Unique object identifier
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof ConfirmOrderFulfillment
|
|
125
|
+
*/
|
|
126
|
+
'fulfillmentId': string;
|
|
127
|
+
/**
|
|
128
|
+
* Unique object identifier
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof ConfirmOrderFulfillment
|
|
131
|
+
*/
|
|
132
|
+
'shippingMethodId'?: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {ConfirmOrderFulfillmentShipment}
|
|
136
|
+
* @memberof ConfirmOrderFulfillment
|
|
137
|
+
*/
|
|
138
|
+
'shipment'?: ConfirmOrderFulfillmentShipment;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* This field is only required if you are using your own shipping label.
|
|
142
|
+
* @export
|
|
143
|
+
* @interface ConfirmOrderFulfillmentShipment
|
|
144
|
+
*/
|
|
145
|
+
export interface ConfirmOrderFulfillmentShipment {
|
|
146
|
+
/**
|
|
147
|
+
* Only required if you are generating shipping labels outside of PodOS
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof ConfirmOrderFulfillmentShipment
|
|
150
|
+
*/
|
|
151
|
+
'image': string;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @export
|
|
156
|
+
* @interface ConfirmOrderRequest
|
|
157
|
+
*/
|
|
158
|
+
export interface ConfirmOrderRequest {
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {Array<ConfirmOrderFulfillment>}
|
|
162
|
+
* @memberof ConfirmOrderRequest
|
|
163
|
+
*/
|
|
164
|
+
'fulfillments': Array<ConfirmOrderFulfillment>;
|
|
165
|
+
}
|
|
115
166
|
/**
|
|
116
167
|
* Order recipient contact information, used only for courier tracking/updates.
|
|
117
168
|
* @export
|
|
@@ -176,6 +227,74 @@ export interface CreateDomainRequest {
|
|
|
176
227
|
*/
|
|
177
228
|
'domain'?: string;
|
|
178
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Create an order
|
|
232
|
+
* @export
|
|
233
|
+
* @interface CreateOrder
|
|
234
|
+
*/
|
|
235
|
+
export interface CreateOrder {
|
|
236
|
+
/**
|
|
237
|
+
* A custom reference to the merchant\'s order.
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof CreateOrder
|
|
240
|
+
*/
|
|
241
|
+
'merchantReference'?: string | null;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {CreateOrderContactInformation}
|
|
245
|
+
* @memberof CreateOrder
|
|
246
|
+
*/
|
|
247
|
+
'contactInformation': CreateOrderContactInformation;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {Address}
|
|
251
|
+
* @memberof CreateOrder
|
|
252
|
+
*/
|
|
253
|
+
'shippingAddress': Address;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {CustomsInformation}
|
|
257
|
+
* @memberof CreateOrder
|
|
258
|
+
*/
|
|
259
|
+
'customsInformation'?: CustomsInformation;
|
|
260
|
+
/**
|
|
261
|
+
* Items to be ordered
|
|
262
|
+
* @type {Array<OrderItem1>}
|
|
263
|
+
* @memberof CreateOrder
|
|
264
|
+
*/
|
|
265
|
+
'items': Array<OrderItem1>;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {Array<string>}
|
|
269
|
+
* @memberof CreateOrder
|
|
270
|
+
*/
|
|
271
|
+
'preferredFulfillers'?: Array<string>;
|
|
272
|
+
/**
|
|
273
|
+
* A reference to the resource location
|
|
274
|
+
* @type {string}
|
|
275
|
+
* @memberof CreateOrder
|
|
276
|
+
*/
|
|
277
|
+
'originalOrderRef'?: string;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Contact information for the order
|
|
281
|
+
* @export
|
|
282
|
+
* @interface CreateOrderContactInformation
|
|
283
|
+
*/
|
|
284
|
+
export interface CreateOrderContactInformation {
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof CreateOrderContactInformation
|
|
289
|
+
*/
|
|
290
|
+
'email': string;
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof CreateOrderContactInformation
|
|
295
|
+
*/
|
|
296
|
+
'phone'?: string | null;
|
|
297
|
+
}
|
|
179
298
|
/**
|
|
180
299
|
* The customer that has placed an order on your platform
|
|
181
300
|
* @export
|
|
@@ -244,6 +363,41 @@ export interface CustomersResponse {
|
|
|
244
363
|
*/
|
|
245
364
|
'nextPageToken'?: number | null;
|
|
246
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* Customs information for the order. **Note:** Adding customs information to an order is only compatible with Shipmate at this time
|
|
368
|
+
* @export
|
|
369
|
+
* @interface CustomsInformation
|
|
370
|
+
*/
|
|
371
|
+
export interface CustomsInformation {
|
|
372
|
+
/**
|
|
373
|
+
* Pre-registration type
|
|
374
|
+
* @type {string}
|
|
375
|
+
* @memberof CustomsInformation
|
|
376
|
+
*/
|
|
377
|
+
'preRegistrationType'?: CustomsInformationPreRegistrationTypeEnum;
|
|
378
|
+
/**
|
|
379
|
+
* Pre-registration number
|
|
380
|
+
* @type {string}
|
|
381
|
+
* @memberof CustomsInformation
|
|
382
|
+
*/
|
|
383
|
+
'preRegistrationNumber'?: string;
|
|
384
|
+
/**
|
|
385
|
+
* VAT number
|
|
386
|
+
* @type {string}
|
|
387
|
+
* @memberof CustomsInformation
|
|
388
|
+
*/
|
|
389
|
+
'vatNumber'?: string;
|
|
390
|
+
/**
|
|
391
|
+
* EORI number
|
|
392
|
+
* @type {string}
|
|
393
|
+
* @memberof CustomsInformation
|
|
394
|
+
*/
|
|
395
|
+
'eoriNumber'?: string;
|
|
396
|
+
}
|
|
397
|
+
export declare const CustomsInformationPreRegistrationTypeEnum: {
|
|
398
|
+
readonly Ioss: "IOSS";
|
|
399
|
+
};
|
|
400
|
+
export type CustomsInformationPreRegistrationTypeEnum = typeof CustomsInformationPreRegistrationTypeEnum[keyof typeof CustomsInformationPreRegistrationTypeEnum];
|
|
247
401
|
/**
|
|
248
402
|
*
|
|
249
403
|
* @export
|
|
@@ -967,6 +1121,50 @@ export interface OrderItem {
|
|
|
967
1121
|
*/
|
|
968
1122
|
'recipientCost'?: Price;
|
|
969
1123
|
}
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @export
|
|
1127
|
+
* @interface OrderItem1
|
|
1128
|
+
*/
|
|
1129
|
+
export interface OrderItem1 {
|
|
1130
|
+
/**
|
|
1131
|
+
* A reference to the variant being ordered
|
|
1132
|
+
* @type {string}
|
|
1133
|
+
* @memberof OrderItem1
|
|
1134
|
+
*/
|
|
1135
|
+
'variantRef': string;
|
|
1136
|
+
/**
|
|
1137
|
+
*
|
|
1138
|
+
* @type {number}
|
|
1139
|
+
* @memberof OrderItem1
|
|
1140
|
+
*/
|
|
1141
|
+
'quantity': number;
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @type {OrderItem1RecipientCost}
|
|
1145
|
+
* @memberof OrderItem1
|
|
1146
|
+
*/
|
|
1147
|
+
'recipientCost'?: OrderItem1RecipientCost;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @export
|
|
1152
|
+
* @interface OrderItem1RecipientCost
|
|
1153
|
+
*/
|
|
1154
|
+
export interface OrderItem1RecipientCost {
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {string}
|
|
1158
|
+
* @memberof OrderItem1RecipientCost
|
|
1159
|
+
*/
|
|
1160
|
+
'amount': string;
|
|
1161
|
+
/**
|
|
1162
|
+
*
|
|
1163
|
+
* @type {string}
|
|
1164
|
+
* @memberof OrderItem1RecipientCost
|
|
1165
|
+
*/
|
|
1166
|
+
'currencyCode': string;
|
|
1167
|
+
}
|
|
970
1168
|
/**
|
|
971
1169
|
*
|
|
972
1170
|
* @export
|
|
@@ -2508,6 +2706,27 @@ export declare class EnquiriesApi extends BaseAPI {
|
|
|
2508
2706
|
* @export
|
|
2509
2707
|
*/
|
|
2510
2708
|
export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2709
|
+
/**
|
|
2710
|
+
*
|
|
2711
|
+
* @summary Confirm order
|
|
2712
|
+
* @param {string} project Project unique identifier
|
|
2713
|
+
* @param {string} platformId The platform identifier
|
|
2714
|
+
* @param {string} orderId The order identifier
|
|
2715
|
+
* @param {ConfirmOrderRequest} confirmOrderRequest ConfirmFulfillment schema
|
|
2716
|
+
* @param {*} [options] Override http request option.
|
|
2717
|
+
* @throws {RequiredError}
|
|
2718
|
+
*/
|
|
2719
|
+
confirmOrder: (project: string, platformId: string, orderId: string, confirmOrderRequest: ConfirmOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2720
|
+
/**
|
|
2721
|
+
*
|
|
2722
|
+
* @summary Create order
|
|
2723
|
+
* @param {string} project Project unique identifier
|
|
2724
|
+
* @param {string} platformId The platform identifier
|
|
2725
|
+
* @param {CreateOrder} createOrder Create Order schema
|
|
2726
|
+
* @param {*} [options] Override http request option.
|
|
2727
|
+
* @throws {RequiredError}
|
|
2728
|
+
*/
|
|
2729
|
+
createOrder: (project: string, platformId: string, createOrder: CreateOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2511
2730
|
/**
|
|
2512
2731
|
* Export orders as a CSV file
|
|
2513
2732
|
* @summary Export orders
|
|
@@ -2571,10 +2790,12 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2571
2790
|
* @param {string} [start] Start of date range to filter when orders were placed
|
|
2572
2791
|
* @param {string} [end] End of date range to filter when orders were placed
|
|
2573
2792
|
* @param {ListOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2793
|
+
* @param {number} [maxOrderTotal] The maximum value of the order
|
|
2794
|
+
* @param {number} [minOrderTotal] The minimum value of the order
|
|
2574
2795
|
* @param {*} [options] Override http request option.
|
|
2575
2796
|
* @throws {RequiredError}
|
|
2576
2797
|
*/
|
|
2577
|
-
listOrders: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, dateFilterType?: ListOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2798
|
+
listOrders: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, dateFilterType?: ListOrdersDateFilterTypeEnum, maxOrderTotal?: number, minOrderTotal?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2578
2799
|
/**
|
|
2579
2800
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
2580
2801
|
* @summary Retry
|
|
@@ -2612,6 +2833,27 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2612
2833
|
* @export
|
|
2613
2834
|
*/
|
|
2614
2835
|
export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
2836
|
+
/**
|
|
2837
|
+
*
|
|
2838
|
+
* @summary Confirm order
|
|
2839
|
+
* @param {string} project Project unique identifier
|
|
2840
|
+
* @param {string} platformId The platform identifier
|
|
2841
|
+
* @param {string} orderId The order identifier
|
|
2842
|
+
* @param {ConfirmOrderRequest} confirmOrderRequest ConfirmFulfillment schema
|
|
2843
|
+
* @param {*} [options] Override http request option.
|
|
2844
|
+
* @throws {RequiredError}
|
|
2845
|
+
*/
|
|
2846
|
+
confirmOrder(project: string, platformId: string, orderId: string, confirmOrderRequest: ConfirmOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
2847
|
+
/**
|
|
2848
|
+
*
|
|
2849
|
+
* @summary Create order
|
|
2850
|
+
* @param {string} project Project unique identifier
|
|
2851
|
+
* @param {string} platformId The platform identifier
|
|
2852
|
+
* @param {CreateOrder} createOrder Create Order schema
|
|
2853
|
+
* @param {*} [options] Override http request option.
|
|
2854
|
+
* @throws {RequiredError}
|
|
2855
|
+
*/
|
|
2856
|
+
createOrder(project: string, platformId: string, createOrder: CreateOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
2615
2857
|
/**
|
|
2616
2858
|
* Export orders as a CSV file
|
|
2617
2859
|
* @summary Export orders
|
|
@@ -2675,10 +2917,12 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
2675
2917
|
* @param {string} [start] Start of date range to filter when orders were placed
|
|
2676
2918
|
* @param {string} [end] End of date range to filter when orders were placed
|
|
2677
2919
|
* @param {ListOrdersDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2920
|
+
* @param {number} [maxOrderTotal] The maximum value of the order
|
|
2921
|
+
* @param {number} [minOrderTotal] The minimum value of the order
|
|
2678
2922
|
* @param {*} [options] Override http request option.
|
|
2679
2923
|
* @throws {RequiredError}
|
|
2680
2924
|
*/
|
|
2681
|
-
listOrders(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, dateFilterType?: ListOrdersDateFilterTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrdersResponse>>;
|
|
2925
|
+
listOrders(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, dateFilterType?: ListOrdersDateFilterTypeEnum, maxOrderTotal?: number, minOrderTotal?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrdersResponse>>;
|
|
2682
2926
|
/**
|
|
2683
2927
|
* Retries failed platform payment, so fulfillment can proceed.
|
|
2684
2928
|
* @summary Retry
|
|
@@ -2716,6 +2960,22 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
2716
2960
|
* @export
|
|
2717
2961
|
*/
|
|
2718
2962
|
export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @summary Confirm order
|
|
2966
|
+
* @param {OrdersApiConfirmOrderRequest} requestParameters Request parameters.
|
|
2967
|
+
* @param {*} [options] Override http request option.
|
|
2968
|
+
* @throws {RequiredError}
|
|
2969
|
+
*/
|
|
2970
|
+
confirmOrder(requestParameters: OrdersApiConfirmOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
|
|
2971
|
+
/**
|
|
2972
|
+
*
|
|
2973
|
+
* @summary Create order
|
|
2974
|
+
* @param {OrdersApiCreateOrderRequest} requestParameters Request parameters.
|
|
2975
|
+
* @param {*} [options] Override http request option.
|
|
2976
|
+
* @throws {RequiredError}
|
|
2977
|
+
*/
|
|
2978
|
+
createOrder(requestParameters: OrdersApiCreateOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
|
|
2719
2979
|
/**
|
|
2720
2980
|
* Export orders as a CSV file
|
|
2721
2981
|
* @summary Export orders
|
|
@@ -2789,6 +3049,62 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
2789
3049
|
*/
|
|
2790
3050
|
updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment>;
|
|
2791
3051
|
};
|
|
3052
|
+
/**
|
|
3053
|
+
* Request parameters for confirmOrder operation in OrdersApi.
|
|
3054
|
+
* @export
|
|
3055
|
+
* @interface OrdersApiConfirmOrderRequest
|
|
3056
|
+
*/
|
|
3057
|
+
export interface OrdersApiConfirmOrderRequest {
|
|
3058
|
+
/**
|
|
3059
|
+
* Project unique identifier
|
|
3060
|
+
* @type {string}
|
|
3061
|
+
* @memberof OrdersApiConfirmOrder
|
|
3062
|
+
*/
|
|
3063
|
+
readonly project: string;
|
|
3064
|
+
/**
|
|
3065
|
+
* The platform identifier
|
|
3066
|
+
* @type {string}
|
|
3067
|
+
* @memberof OrdersApiConfirmOrder
|
|
3068
|
+
*/
|
|
3069
|
+
readonly platformId: string;
|
|
3070
|
+
/**
|
|
3071
|
+
* The order identifier
|
|
3072
|
+
* @type {string}
|
|
3073
|
+
* @memberof OrdersApiConfirmOrder
|
|
3074
|
+
*/
|
|
3075
|
+
readonly orderId: string;
|
|
3076
|
+
/**
|
|
3077
|
+
* ConfirmFulfillment schema
|
|
3078
|
+
* @type {ConfirmOrderRequest}
|
|
3079
|
+
* @memberof OrdersApiConfirmOrder
|
|
3080
|
+
*/
|
|
3081
|
+
readonly confirmOrderRequest: ConfirmOrderRequest;
|
|
3082
|
+
}
|
|
3083
|
+
/**
|
|
3084
|
+
* Request parameters for createOrder operation in OrdersApi.
|
|
3085
|
+
* @export
|
|
3086
|
+
* @interface OrdersApiCreateOrderRequest
|
|
3087
|
+
*/
|
|
3088
|
+
export interface OrdersApiCreateOrderRequest {
|
|
3089
|
+
/**
|
|
3090
|
+
* Project unique identifier
|
|
3091
|
+
* @type {string}
|
|
3092
|
+
* @memberof OrdersApiCreateOrder
|
|
3093
|
+
*/
|
|
3094
|
+
readonly project: string;
|
|
3095
|
+
/**
|
|
3096
|
+
* The platform identifier
|
|
3097
|
+
* @type {string}
|
|
3098
|
+
* @memberof OrdersApiCreateOrder
|
|
3099
|
+
*/
|
|
3100
|
+
readonly platformId: string;
|
|
3101
|
+
/**
|
|
3102
|
+
* Create Order schema
|
|
3103
|
+
* @type {CreateOrder}
|
|
3104
|
+
* @memberof OrdersApiCreateOrder
|
|
3105
|
+
*/
|
|
3106
|
+
readonly createOrder: CreateOrder;
|
|
3107
|
+
}
|
|
2792
3108
|
/**
|
|
2793
3109
|
* Request parameters for exportOrders operation in OrdersApi.
|
|
2794
3110
|
* @export
|
|
@@ -2980,6 +3296,18 @@ export interface OrdersApiListOrdersRequest {
|
|
|
2980
3296
|
* @memberof OrdersApiListOrders
|
|
2981
3297
|
*/
|
|
2982
3298
|
readonly dateFilterType?: ListOrdersDateFilterTypeEnum;
|
|
3299
|
+
/**
|
|
3300
|
+
* The maximum value of the order
|
|
3301
|
+
* @type {number}
|
|
3302
|
+
* @memberof OrdersApiListOrders
|
|
3303
|
+
*/
|
|
3304
|
+
readonly maxOrderTotal?: number;
|
|
3305
|
+
/**
|
|
3306
|
+
* The minimum value of the order
|
|
3307
|
+
* @type {number}
|
|
3308
|
+
* @memberof OrdersApiListOrders
|
|
3309
|
+
*/
|
|
3310
|
+
readonly minOrderTotal?: number;
|
|
2983
3311
|
}
|
|
2984
3312
|
/**
|
|
2985
3313
|
* Request parameters for retryPlatformPayment operation in OrdersApi.
|
|
@@ -3069,6 +3397,24 @@ export interface OrdersApiUpdateFulfillmentRequest {
|
|
|
3069
3397
|
* @extends {BaseAPI}
|
|
3070
3398
|
*/
|
|
3071
3399
|
export declare class OrdersApi extends BaseAPI {
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @summary Confirm order
|
|
3403
|
+
* @param {OrdersApiConfirmOrderRequest} requestParameters Request parameters.
|
|
3404
|
+
* @param {*} [options] Override http request option.
|
|
3405
|
+
* @throws {RequiredError}
|
|
3406
|
+
* @memberof OrdersApi
|
|
3407
|
+
*/
|
|
3408
|
+
confirmOrder(requestParameters: OrdersApiConfirmOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @summary Create order
|
|
3412
|
+
* @param {OrdersApiCreateOrderRequest} requestParameters Request parameters.
|
|
3413
|
+
* @param {*} [options] Override http request option.
|
|
3414
|
+
* @throws {RequiredError}
|
|
3415
|
+
* @memberof OrdersApi
|
|
3416
|
+
*/
|
|
3417
|
+
createOrder(requestParameters: OrdersApiCreateOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3072
3418
|
/**
|
|
3073
3419
|
* Export orders as a CSV file
|
|
3074
3420
|
* @summary Export orders
|