@teemill/platform 0.29.0 → 0.30.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 +7 -2
- package/api.ts +340 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +215 -13
- package/dist/api.js +188 -6
- 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 +215 -13
- package/dist/esm/api.js +187 -5
- 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/AmendOrderRequest.md +20 -0
- package/docs/AmendOrderRequestAmendmentsInner.md +26 -0
- package/docs/CustomersApi.md +4 -4
- package/docs/OrdersApi.md +132 -0
- package/docs/ReturnOrderRequest.md +20 -0
- 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.30.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -68,6 +68,55 @@ export interface Address {
|
|
|
68
68
|
*/
|
|
69
69
|
'state'?: string;
|
|
70
70
|
}
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @export
|
|
74
|
+
* @interface AmendOrderRequest
|
|
75
|
+
*/
|
|
76
|
+
export interface AmendOrderRequest {
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<AmendOrderRequestAmendmentsInner>}
|
|
80
|
+
* @memberof AmendOrderRequest
|
|
81
|
+
*/
|
|
82
|
+
'amendments': Array<AmendOrderRequestAmendmentsInner>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @export
|
|
87
|
+
* @interface AmendOrderRequestAmendmentsInner
|
|
88
|
+
*/
|
|
89
|
+
export interface AmendOrderRequestAmendmentsInner {
|
|
90
|
+
/**
|
|
91
|
+
* Unique order item identifier
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof AmendOrderRequestAmendmentsInner
|
|
94
|
+
*/
|
|
95
|
+
'id': string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof AmendOrderRequestAmendmentsInner
|
|
100
|
+
*/
|
|
101
|
+
'action': AmendOrderRequestAmendmentsInnerActionEnum;
|
|
102
|
+
/**
|
|
103
|
+
* The quantity of the item to refund or exchange. This must be less than or equal to the quantity of the item in the order.
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof AmendOrderRequestAmendmentsInner
|
|
106
|
+
*/
|
|
107
|
+
'quantity': number;
|
|
108
|
+
/**
|
|
109
|
+
* A reference to the variant being ordered
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof AmendOrderRequestAmendmentsInner
|
|
112
|
+
*/
|
|
113
|
+
'newVariantRef'?: string;
|
|
114
|
+
}
|
|
115
|
+
export declare const AmendOrderRequestAmendmentsInnerActionEnum: {
|
|
116
|
+
readonly Refund: "refund";
|
|
117
|
+
readonly Exchange: "exchange";
|
|
118
|
+
};
|
|
119
|
+
export type AmendOrderRequestAmendmentsInnerActionEnum = typeof AmendOrderRequestAmendmentsInnerActionEnum[keyof typeof AmendOrderRequestAmendmentsInnerActionEnum];
|
|
71
120
|
/**
|
|
72
121
|
*
|
|
73
122
|
* @export
|
|
@@ -1448,6 +1497,19 @@ export interface Project {
|
|
|
1448
1497
|
*/
|
|
1449
1498
|
'name': string;
|
|
1450
1499
|
}
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @export
|
|
1503
|
+
* @interface ReturnOrderRequest
|
|
1504
|
+
*/
|
|
1505
|
+
export interface ReturnOrderRequest {
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {Array<AmendOrderRequestAmendmentsInner>}
|
|
1509
|
+
* @memberof ReturnOrderRequest
|
|
1510
|
+
*/
|
|
1511
|
+
'returns': Array<AmendOrderRequestAmendmentsInner>;
|
|
1512
|
+
}
|
|
1451
1513
|
/**
|
|
1452
1514
|
*
|
|
1453
1515
|
* @export
|
|
@@ -1953,7 +2015,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1953
2015
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1954
2016
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1955
2017
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1956
|
-
* @param {Array<
|
|
2018
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
1957
2019
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1958
2020
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1959
2021
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -1966,7 +2028,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1966
2028
|
* @param {*} [options] Override http request option.
|
|
1967
2029
|
* @throws {RequiredError}
|
|
1968
2030
|
*/
|
|
1969
|
-
exportCustomers: (project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
2031
|
+
exportCustomers: (project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<number>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1970
2032
|
/**
|
|
1971
2033
|
* Get a customer for a platform by a given customer ID.
|
|
1972
2034
|
* @summary Get customer
|
|
@@ -1989,7 +2051,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1989
2051
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1990
2052
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1991
2053
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1992
|
-
* @param {Array<
|
|
2054
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
1993
2055
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1994
2056
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1995
2057
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2002,7 +2064,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2002
2064
|
* @param {*} [options] Override http request option.
|
|
2003
2065
|
* @throws {RequiredError}
|
|
2004
2066
|
*/
|
|
2005
|
-
listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<
|
|
2067
|
+
listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<number>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2006
2068
|
};
|
|
2007
2069
|
/**
|
|
2008
2070
|
* CustomersApi - functional programming interface
|
|
@@ -2018,7 +2080,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2018
2080
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2019
2081
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2020
2082
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2021
|
-
* @param {Array<
|
|
2083
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2022
2084
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2023
2085
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2024
2086
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2031,7 +2093,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2031
2093
|
* @param {*} [options] Override http request option.
|
|
2032
2094
|
* @throws {RequiredError}
|
|
2033
2095
|
*/
|
|
2034
|
-
exportCustomers(project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
2096
|
+
exportCustomers(project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<number>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
2035
2097
|
/**
|
|
2036
2098
|
* Get a customer for a platform by a given customer ID.
|
|
2037
2099
|
* @summary Get customer
|
|
@@ -2054,7 +2116,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2054
2116
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2055
2117
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2056
2118
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2057
|
-
* @param {Array<
|
|
2119
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2058
2120
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2059
2121
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2060
2122
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2067,7 +2129,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2067
2129
|
* @param {*} [options] Override http request option.
|
|
2068
2130
|
* @throws {RequiredError}
|
|
2069
2131
|
*/
|
|
2070
|
-
listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<
|
|
2132
|
+
listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<number>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomersResponse>>;
|
|
2071
2133
|
};
|
|
2072
2134
|
/**
|
|
2073
2135
|
* CustomersApi - factory interface
|
|
@@ -2143,10 +2205,10 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2143
2205
|
readonly gender?: ExportCustomersGenderEnum;
|
|
2144
2206
|
/**
|
|
2145
2207
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2146
|
-
* @type {Array<
|
|
2208
|
+
* @type {Array<number>}
|
|
2147
2209
|
* @memberof CustomersApiExportCustomers
|
|
2148
2210
|
*/
|
|
2149
|
-
readonly productTypes?: Array<
|
|
2211
|
+
readonly productTypes?: Array<number>;
|
|
2150
2212
|
/**
|
|
2151
2213
|
* Filter customers by whether they have used a discount
|
|
2152
2214
|
* @type {boolean}
|
|
@@ -2289,10 +2351,10 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2289
2351
|
readonly gender?: ListCustomersGenderEnum;
|
|
2290
2352
|
/**
|
|
2291
2353
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2292
|
-
* @type {Array<
|
|
2354
|
+
* @type {Array<number>}
|
|
2293
2355
|
* @memberof CustomersApiListCustomers
|
|
2294
2356
|
*/
|
|
2295
|
-
readonly productTypes?: Array<
|
|
2357
|
+
readonly productTypes?: Array<number>;
|
|
2296
2358
|
/**
|
|
2297
2359
|
* Filter customers by whether they have used a discount
|
|
2298
2360
|
* @type {boolean}
|
|
@@ -2812,6 +2874,17 @@ export declare class EnquiriesApi extends BaseAPI {
|
|
|
2812
2874
|
* @export
|
|
2813
2875
|
*/
|
|
2814
2876
|
export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2877
|
+
/**
|
|
2878
|
+
*
|
|
2879
|
+
* @summary Amend the contents of an order
|
|
2880
|
+
* @param {string} project Project unique identifier
|
|
2881
|
+
* @param {string} platformId The platform identifier
|
|
2882
|
+
* @param {string} orderId The order identifier
|
|
2883
|
+
* @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
|
|
2884
|
+
* @param {*} [options] Override http request option.
|
|
2885
|
+
* @throws {RequiredError}
|
|
2886
|
+
*/
|
|
2887
|
+
amendOrder: (project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2815
2888
|
/**
|
|
2816
2889
|
*
|
|
2817
2890
|
* @summary Confirm order
|
|
@@ -2912,6 +2985,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2912
2985
|
* @throws {RequiredError}
|
|
2913
2986
|
*/
|
|
2914
2987
|
retryPlatformPayment: (project: string, platformId: string, orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2988
|
+
/**
|
|
2989
|
+
*
|
|
2990
|
+
* @summary Return the contents of an order for a refund or exchange
|
|
2991
|
+
* @param {string} project Project unique identifier
|
|
2992
|
+
* @param {string} platformId The platform identifier
|
|
2993
|
+
* @param {string} orderId The order identifier
|
|
2994
|
+
* @param {ReturnOrderRequest} returnOrderRequest ReturnOrder schema
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
*/
|
|
2998
|
+
returnOrder: (project: string, platformId: string, orderId: string, returnOrderRequest: ReturnOrderRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2915
2999
|
/**
|
|
2916
3000
|
* Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
|
|
2917
3001
|
* @summary Send order receipt
|
|
@@ -2939,6 +3023,17 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2939
3023
|
* @export
|
|
2940
3024
|
*/
|
|
2941
3025
|
export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
3026
|
+
/**
|
|
3027
|
+
*
|
|
3028
|
+
* @summary Amend the contents of an order
|
|
3029
|
+
* @param {string} project Project unique identifier
|
|
3030
|
+
* @param {string} platformId The platform identifier
|
|
3031
|
+
* @param {string} orderId The order identifier
|
|
3032
|
+
* @param {AmendOrderRequest} amendOrderRequest AmendOrder schema
|
|
3033
|
+
* @param {*} [options] Override http request option.
|
|
3034
|
+
* @throws {RequiredError}
|
|
3035
|
+
*/
|
|
3036
|
+
amendOrder(project: string, platformId: string, orderId: string, amendOrderRequest: AmendOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
2942
3037
|
/**
|
|
2943
3038
|
*
|
|
2944
3039
|
* @summary Confirm order
|
|
@@ -3039,6 +3134,17 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
3039
3134
|
* @throws {RequiredError}
|
|
3040
3135
|
*/
|
|
3041
3136
|
retryPlatformPayment(project: string, platformId: string, orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
3137
|
+
/**
|
|
3138
|
+
*
|
|
3139
|
+
* @summary Return the contents of an order for a refund or exchange
|
|
3140
|
+
* @param {string} project Project unique identifier
|
|
3141
|
+
* @param {string} platformId The platform identifier
|
|
3142
|
+
* @param {string} orderId The order identifier
|
|
3143
|
+
* @param {ReturnOrderRequest} returnOrderRequest ReturnOrder schema
|
|
3144
|
+
* @param {*} [options] Override http request option.
|
|
3145
|
+
* @throws {RequiredError}
|
|
3146
|
+
*/
|
|
3147
|
+
returnOrder(project: string, platformId: string, orderId: string, returnOrderRequest: ReturnOrderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Order>>;
|
|
3042
3148
|
/**
|
|
3043
3149
|
* Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
|
|
3044
3150
|
* @summary Send order receipt
|
|
@@ -3066,6 +3172,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
|
|
|
3066
3172
|
* @export
|
|
3067
3173
|
*/
|
|
3068
3174
|
export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3175
|
+
/**
|
|
3176
|
+
*
|
|
3177
|
+
* @summary Amend the contents of an order
|
|
3178
|
+
* @param {OrdersApiAmendOrderRequest} requestParameters Request parameters.
|
|
3179
|
+
* @param {*} [options] Override http request option.
|
|
3180
|
+
* @throws {RequiredError}
|
|
3181
|
+
*/
|
|
3182
|
+
amendOrder(requestParameters: OrdersApiAmendOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
|
|
3069
3183
|
/**
|
|
3070
3184
|
*
|
|
3071
3185
|
* @summary Confirm order
|
|
@@ -3138,6 +3252,14 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
3138
3252
|
* @throws {RequiredError}
|
|
3139
3253
|
*/
|
|
3140
3254
|
retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
|
|
3255
|
+
/**
|
|
3256
|
+
*
|
|
3257
|
+
* @summary Return the contents of an order for a refund or exchange
|
|
3258
|
+
* @param {OrdersApiReturnOrderRequest} requestParameters Request parameters.
|
|
3259
|
+
* @param {*} [options] Override http request option.
|
|
3260
|
+
* @throws {RequiredError}
|
|
3261
|
+
*/
|
|
3262
|
+
returnOrder(requestParameters: OrdersApiReturnOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<Order>;
|
|
3141
3263
|
/**
|
|
3142
3264
|
* Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
|
|
3143
3265
|
* @summary Send order receipt
|
|
@@ -3155,6 +3277,37 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
|
|
|
3155
3277
|
*/
|
|
3156
3278
|
updateFulfillment(requestParameters: OrdersApiUpdateFulfillmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<Fulfillment>;
|
|
3157
3279
|
};
|
|
3280
|
+
/**
|
|
3281
|
+
* Request parameters for amendOrder operation in OrdersApi.
|
|
3282
|
+
* @export
|
|
3283
|
+
* @interface OrdersApiAmendOrderRequest
|
|
3284
|
+
*/
|
|
3285
|
+
export interface OrdersApiAmendOrderRequest {
|
|
3286
|
+
/**
|
|
3287
|
+
* Project unique identifier
|
|
3288
|
+
* @type {string}
|
|
3289
|
+
* @memberof OrdersApiAmendOrder
|
|
3290
|
+
*/
|
|
3291
|
+
readonly project: string;
|
|
3292
|
+
/**
|
|
3293
|
+
* The platform identifier
|
|
3294
|
+
* @type {string}
|
|
3295
|
+
* @memberof OrdersApiAmendOrder
|
|
3296
|
+
*/
|
|
3297
|
+
readonly platformId: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* The order identifier
|
|
3300
|
+
* @type {string}
|
|
3301
|
+
* @memberof OrdersApiAmendOrder
|
|
3302
|
+
*/
|
|
3303
|
+
readonly orderId: string;
|
|
3304
|
+
/**
|
|
3305
|
+
* AmendOrder schema
|
|
3306
|
+
* @type {AmendOrderRequest}
|
|
3307
|
+
* @memberof OrdersApiAmendOrder
|
|
3308
|
+
*/
|
|
3309
|
+
readonly amendOrderRequest: AmendOrderRequest;
|
|
3310
|
+
}
|
|
3158
3311
|
/**
|
|
3159
3312
|
* Request parameters for confirmOrder operation in OrdersApi.
|
|
3160
3313
|
* @export
|
|
@@ -3440,6 +3593,37 @@ export interface OrdersApiRetryPlatformPaymentRequest {
|
|
|
3440
3593
|
*/
|
|
3441
3594
|
readonly orderId: string;
|
|
3442
3595
|
}
|
|
3596
|
+
/**
|
|
3597
|
+
* Request parameters for returnOrder operation in OrdersApi.
|
|
3598
|
+
* @export
|
|
3599
|
+
* @interface OrdersApiReturnOrderRequest
|
|
3600
|
+
*/
|
|
3601
|
+
export interface OrdersApiReturnOrderRequest {
|
|
3602
|
+
/**
|
|
3603
|
+
* Project unique identifier
|
|
3604
|
+
* @type {string}
|
|
3605
|
+
* @memberof OrdersApiReturnOrder
|
|
3606
|
+
*/
|
|
3607
|
+
readonly project: string;
|
|
3608
|
+
/**
|
|
3609
|
+
* The platform identifier
|
|
3610
|
+
* @type {string}
|
|
3611
|
+
* @memberof OrdersApiReturnOrder
|
|
3612
|
+
*/
|
|
3613
|
+
readonly platformId: string;
|
|
3614
|
+
/**
|
|
3615
|
+
* The order identifier
|
|
3616
|
+
* @type {string}
|
|
3617
|
+
* @memberof OrdersApiReturnOrder
|
|
3618
|
+
*/
|
|
3619
|
+
readonly orderId: string;
|
|
3620
|
+
/**
|
|
3621
|
+
* ReturnOrder schema
|
|
3622
|
+
* @type {ReturnOrderRequest}
|
|
3623
|
+
* @memberof OrdersApiReturnOrder
|
|
3624
|
+
*/
|
|
3625
|
+
readonly returnOrderRequest: ReturnOrderRequest;
|
|
3626
|
+
}
|
|
3443
3627
|
/**
|
|
3444
3628
|
* Request parameters for sendOrderReceipt operation in OrdersApi.
|
|
3445
3629
|
* @export
|
|
@@ -3503,6 +3687,15 @@ export interface OrdersApiUpdateFulfillmentRequest {
|
|
|
3503
3687
|
* @extends {BaseAPI}
|
|
3504
3688
|
*/
|
|
3505
3689
|
export declare class OrdersApi extends BaseAPI {
|
|
3690
|
+
/**
|
|
3691
|
+
*
|
|
3692
|
+
* @summary Amend the contents of an order
|
|
3693
|
+
* @param {OrdersApiAmendOrderRequest} requestParameters Request parameters.
|
|
3694
|
+
* @param {*} [options] Override http request option.
|
|
3695
|
+
* @throws {RequiredError}
|
|
3696
|
+
* @memberof OrdersApi
|
|
3697
|
+
*/
|
|
3698
|
+
amendOrder(requestParameters: OrdersApiAmendOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3506
3699
|
/**
|
|
3507
3700
|
*
|
|
3508
3701
|
* @summary Confirm order
|
|
@@ -3584,6 +3777,15 @@ export declare class OrdersApi extends BaseAPI {
|
|
|
3584
3777
|
* @memberof OrdersApi
|
|
3585
3778
|
*/
|
|
3586
3779
|
retryPlatformPayment(requestParameters: OrdersApiRetryPlatformPaymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3780
|
+
/**
|
|
3781
|
+
*
|
|
3782
|
+
* @summary Return the contents of an order for a refund or exchange
|
|
3783
|
+
* @param {OrdersApiReturnOrderRequest} requestParameters Request parameters.
|
|
3784
|
+
* @param {*} [options] Override http request option.
|
|
3785
|
+
* @throws {RequiredError}
|
|
3786
|
+
* @memberof OrdersApi
|
|
3787
|
+
*/
|
|
3788
|
+
returnOrder(requestParameters: OrdersApiReturnOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Order, any>>;
|
|
3587
3789
|
/**
|
|
3588
3790
|
* Send an order receipt to the customer. A receipt is automatically sent when an order is paid for, so this would be to resend that receipt. Note that this is only available for website orders.
|
|
3589
3791
|
* @summary Send order receipt
|