@teemill/platform 0.33.0 → 0.34.1
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 +320 -16
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +226 -11
- package/dist/api.js +129 -12
- 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 +226 -11
- package/dist/esm/api.js +128 -11
- 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/AmendOrderRequestAmendmentsInner.md +2 -0
- package/docs/AmendOrderRequestAmendmentsInnerReason.md +22 -0
- package/docs/CustomersApi.md +81 -0
- package/docs/InlineObject1.md +4 -2
- package/docs/InlineObject2.md +20 -0
- package/docs/PaymentApi.md +2 -2
- package/docs/ReturnOrderRequest.md +1 -1
- package/docs/ReturnOrderRequestReturnsInner.md +28 -0
- package/docs/ReturnOrderRequestReturnsInnerReason.md +22 -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.34.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -111,12 +111,37 @@ export interface AmendOrderRequestAmendmentsInner {
|
|
|
111
111
|
* @memberof AmendOrderRequestAmendmentsInner
|
|
112
112
|
*/
|
|
113
113
|
'newVariantRef'?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {AmendOrderRequestAmendmentsInnerReason}
|
|
117
|
+
* @memberof AmendOrderRequestAmendmentsInner
|
|
118
|
+
*/
|
|
119
|
+
'reason': AmendOrderRequestAmendmentsInnerReason;
|
|
114
120
|
}
|
|
115
121
|
export declare const AmendOrderRequestAmendmentsInnerActionEnum: {
|
|
116
122
|
readonly Refund: "refund";
|
|
117
123
|
readonly Exchange: "exchange";
|
|
118
124
|
};
|
|
119
125
|
export type AmendOrderRequestAmendmentsInnerActionEnum = typeof AmendOrderRequestAmendmentsInnerActionEnum[keyof typeof AmendOrderRequestAmendmentsInnerActionEnum];
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @export
|
|
129
|
+
* @interface AmendOrderRequestAmendmentsInnerReason
|
|
130
|
+
*/
|
|
131
|
+
export interface AmendOrderRequestAmendmentsInnerReason {
|
|
132
|
+
/**
|
|
133
|
+
* A reference to the resource location
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof AmendOrderRequestAmendmentsInnerReason
|
|
136
|
+
*/
|
|
137
|
+
'reasonRef': string;
|
|
138
|
+
/**
|
|
139
|
+
* Additional comments as to why the item is being returned or exchanged.
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof AmendOrderRequestAmendmentsInnerReason
|
|
142
|
+
*/
|
|
143
|
+
'additionalComments'?: string | null;
|
|
144
|
+
}
|
|
120
145
|
/**
|
|
121
146
|
*
|
|
122
147
|
* @export
|
|
@@ -1096,10 +1121,29 @@ export interface InlineObject {
|
|
|
1096
1121
|
* @interface InlineObject1
|
|
1097
1122
|
*/
|
|
1098
1123
|
export interface InlineObject1 {
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @type {Array<string>}
|
|
1127
|
+
* @memberof InlineObject1
|
|
1128
|
+
*/
|
|
1129
|
+
'tags': Array<string>;
|
|
1130
|
+
/**
|
|
1131
|
+
*
|
|
1132
|
+
* @type {number}
|
|
1133
|
+
* @memberof InlineObject1
|
|
1134
|
+
*/
|
|
1135
|
+
'nextPageToken'?: number | null;
|
|
1136
|
+
}
|
|
1137
|
+
/**
|
|
1138
|
+
*
|
|
1139
|
+
* @export
|
|
1140
|
+
* @interface InlineObject2
|
|
1141
|
+
*/
|
|
1142
|
+
export interface InlineObject2 {
|
|
1099
1143
|
/**
|
|
1100
1144
|
* The URL to redirect to
|
|
1101
1145
|
* @type {string}
|
|
1102
|
-
* @memberof
|
|
1146
|
+
* @memberof InlineObject2
|
|
1103
1147
|
*/
|
|
1104
1148
|
'redirect_url': string;
|
|
1105
1149
|
}
|
|
@@ -1827,10 +1871,71 @@ export interface Project {
|
|
|
1827
1871
|
export interface ReturnOrderRequest {
|
|
1828
1872
|
/**
|
|
1829
1873
|
*
|
|
1830
|
-
* @type {Array<
|
|
1874
|
+
* @type {Array<ReturnOrderRequestReturnsInner>}
|
|
1831
1875
|
* @memberof ReturnOrderRequest
|
|
1832
1876
|
*/
|
|
1833
|
-
'returns': Array<
|
|
1877
|
+
'returns': Array<ReturnOrderRequestReturnsInner>;
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
*
|
|
1881
|
+
* @export
|
|
1882
|
+
* @interface ReturnOrderRequestReturnsInner
|
|
1883
|
+
*/
|
|
1884
|
+
export interface ReturnOrderRequestReturnsInner {
|
|
1885
|
+
/**
|
|
1886
|
+
* Unique order item identifier
|
|
1887
|
+
* @type {string}
|
|
1888
|
+
* @memberof ReturnOrderRequestReturnsInner
|
|
1889
|
+
*/
|
|
1890
|
+
'id': string;
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {string}
|
|
1894
|
+
* @memberof ReturnOrderRequestReturnsInner
|
|
1895
|
+
*/
|
|
1896
|
+
'action': ReturnOrderRequestReturnsInnerActionEnum;
|
|
1897
|
+
/**
|
|
1898
|
+
* 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.
|
|
1899
|
+
* @type {number}
|
|
1900
|
+
* @memberof ReturnOrderRequestReturnsInner
|
|
1901
|
+
*/
|
|
1902
|
+
'quantity': number;
|
|
1903
|
+
/**
|
|
1904
|
+
* A reference to the variant being ordered
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof ReturnOrderRequestReturnsInner
|
|
1907
|
+
*/
|
|
1908
|
+
'newVariantRef'?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
*
|
|
1911
|
+
* @type {ReturnOrderRequestReturnsInnerReason}
|
|
1912
|
+
* @memberof ReturnOrderRequestReturnsInner
|
|
1913
|
+
*/
|
|
1914
|
+
'reason': ReturnOrderRequestReturnsInnerReason;
|
|
1915
|
+
}
|
|
1916
|
+
export declare const ReturnOrderRequestReturnsInnerActionEnum: {
|
|
1917
|
+
readonly Refund: "refund";
|
|
1918
|
+
readonly Exchange: "exchange";
|
|
1919
|
+
};
|
|
1920
|
+
export type ReturnOrderRequestReturnsInnerActionEnum = typeof ReturnOrderRequestReturnsInnerActionEnum[keyof typeof ReturnOrderRequestReturnsInnerActionEnum];
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
* @export
|
|
1924
|
+
* @interface ReturnOrderRequestReturnsInnerReason
|
|
1925
|
+
*/
|
|
1926
|
+
export interface ReturnOrderRequestReturnsInnerReason {
|
|
1927
|
+
/**
|
|
1928
|
+
* A reference to the reason for the return or exchange.
|
|
1929
|
+
* @type {string}
|
|
1930
|
+
* @memberof ReturnOrderRequestReturnsInnerReason
|
|
1931
|
+
*/
|
|
1932
|
+
'reasonRef': string;
|
|
1933
|
+
/**
|
|
1934
|
+
* Additional comments as to why the item is being returned or exchanged.
|
|
1935
|
+
* @type {string}
|
|
1936
|
+
* @memberof ReturnOrderRequestReturnsInnerReason
|
|
1937
|
+
*/
|
|
1938
|
+
'additionalComments'?: string | null;
|
|
1834
1939
|
}
|
|
1835
1940
|
/**
|
|
1836
1941
|
*
|
|
@@ -2363,6 +2468,8 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2363
2468
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2364
2469
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2365
2470
|
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2471
|
+
* @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
2472
|
+
* @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
2366
2473
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2367
2474
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2368
2475
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2375,7 +2482,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2375
2482
|
* @param {*} [options] Override http request option.
|
|
2376
2483
|
* @throws {RequiredError}
|
|
2377
2484
|
*/
|
|
2378
|
-
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>;
|
|
2485
|
+
exportCustomers: (project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<number>, demographics?: Array<string>, tags?: Array<string>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2379
2486
|
/**
|
|
2380
2487
|
* Get a customer for a platform by a given customer ID.
|
|
2381
2488
|
* @summary Get customer
|
|
@@ -2386,6 +2493,18 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2386
2493
|
* @throws {RequiredError}
|
|
2387
2494
|
*/
|
|
2388
2495
|
getCustomer: (project: string, platformId: string, customerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2496
|
+
/**
|
|
2497
|
+
* List customer tags
|
|
2498
|
+
* @summary List customer tags
|
|
2499
|
+
* @param {string} project Project unique identifier
|
|
2500
|
+
* @param {string} platformId The platform identifier
|
|
2501
|
+
* @param {number} [pageToken] Page reference token
|
|
2502
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2503
|
+
* @param {string} [search] Search term to filter results
|
|
2504
|
+
* @param {*} [options] Override http request option.
|
|
2505
|
+
* @throws {RequiredError}
|
|
2506
|
+
*/
|
|
2507
|
+
listCustomerTags: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2389
2508
|
/**
|
|
2390
2509
|
* List customers for a platform
|
|
2391
2510
|
* @summary List customers
|
|
@@ -2399,6 +2518,8 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2399
2518
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2400
2519
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2401
2520
|
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2521
|
+
* @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
2522
|
+
* @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
2402
2523
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2403
2524
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2404
2525
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2411,7 +2532,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2411
2532
|
* @param {*} [options] Override http request option.
|
|
2412
2533
|
* @throws {RequiredError}
|
|
2413
2534
|
*/
|
|
2414
|
-
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>;
|
|
2535
|
+
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>, demographics?: Array<string>, tags?: Array<string>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2415
2536
|
};
|
|
2416
2537
|
/**
|
|
2417
2538
|
* CustomersApi - functional programming interface
|
|
@@ -2428,6 +2549,8 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2428
2549
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2429
2550
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2430
2551
|
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2552
|
+
* @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
2553
|
+
* @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
2431
2554
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2432
2555
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2433
2556
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2440,7 +2563,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2440
2563
|
* @param {*} [options] Override http request option.
|
|
2441
2564
|
* @throws {RequiredError}
|
|
2442
2565
|
*/
|
|
2443
|
-
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>>;
|
|
2566
|
+
exportCustomers(project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<number>, demographics?: Array<string>, tags?: Array<string>, 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>>;
|
|
2444
2567
|
/**
|
|
2445
2568
|
* Get a customer for a platform by a given customer ID.
|
|
2446
2569
|
* @summary Get customer
|
|
@@ -2451,6 +2574,18 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2451
2574
|
* @throws {RequiredError}
|
|
2452
2575
|
*/
|
|
2453
2576
|
getCustomer(project: string, platformId: string, customerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Customer>>;
|
|
2577
|
+
/**
|
|
2578
|
+
* List customer tags
|
|
2579
|
+
* @summary List customer tags
|
|
2580
|
+
* @param {string} project Project unique identifier
|
|
2581
|
+
* @param {string} platformId The platform identifier
|
|
2582
|
+
* @param {number} [pageToken] Page reference token
|
|
2583
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2584
|
+
* @param {string} [search] Search term to filter results
|
|
2585
|
+
* @param {*} [options] Override http request option.
|
|
2586
|
+
* @throws {RequiredError}
|
|
2587
|
+
*/
|
|
2588
|
+
listCustomerTags(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
|
|
2454
2589
|
/**
|
|
2455
2590
|
* List customers for a platform
|
|
2456
2591
|
* @summary List customers
|
|
@@ -2464,6 +2599,8 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2464
2599
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2465
2600
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2466
2601
|
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2602
|
+
* @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
2603
|
+
* @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
2467
2604
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2468
2605
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2469
2606
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2476,7 +2613,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2476
2613
|
* @param {*} [options] Override http request option.
|
|
2477
2614
|
* @throws {RequiredError}
|
|
2478
2615
|
*/
|
|
2479
|
-
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>>;
|
|
2616
|
+
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>, demographics?: Array<string>, tags?: Array<string>, 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>>;
|
|
2480
2617
|
};
|
|
2481
2618
|
/**
|
|
2482
2619
|
* CustomersApi - factory interface
|
|
@@ -2499,6 +2636,14 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
|
|
|
2499
2636
|
* @throws {RequiredError}
|
|
2500
2637
|
*/
|
|
2501
2638
|
getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<Customer>;
|
|
2639
|
+
/**
|
|
2640
|
+
* List customer tags
|
|
2641
|
+
* @summary List customer tags
|
|
2642
|
+
* @param {CustomersApiListCustomerTagsRequest} requestParameters Request parameters.
|
|
2643
|
+
* @param {*} [options] Override http request option.
|
|
2644
|
+
* @throws {RequiredError}
|
|
2645
|
+
*/
|
|
2646
|
+
listCustomerTags(requestParameters: CustomersApiListCustomerTagsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
|
|
2502
2647
|
/**
|
|
2503
2648
|
* List customers for a platform
|
|
2504
2649
|
* @summary List customers
|
|
@@ -2556,6 +2701,18 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2556
2701
|
* @memberof CustomersApiExportCustomers
|
|
2557
2702
|
*/
|
|
2558
2703
|
readonly productTypes?: Array<number>;
|
|
2704
|
+
/**
|
|
2705
|
+
* Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
2706
|
+
* @type {Array<string>}
|
|
2707
|
+
* @memberof CustomersApiExportCustomers
|
|
2708
|
+
*/
|
|
2709
|
+
readonly demographics?: Array<string>;
|
|
2710
|
+
/**
|
|
2711
|
+
* Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
2712
|
+
* @type {Array<string>}
|
|
2713
|
+
* @memberof CustomersApiExportCustomers
|
|
2714
|
+
*/
|
|
2715
|
+
readonly tags?: Array<string>;
|
|
2559
2716
|
/**
|
|
2560
2717
|
* Filter customers by whether they have used a discount
|
|
2561
2718
|
* @type {boolean}
|
|
@@ -2636,6 +2793,43 @@ export interface CustomersApiGetCustomerRequest {
|
|
|
2636
2793
|
*/
|
|
2637
2794
|
readonly customerId: string;
|
|
2638
2795
|
}
|
|
2796
|
+
/**
|
|
2797
|
+
* Request parameters for listCustomerTags operation in CustomersApi.
|
|
2798
|
+
* @export
|
|
2799
|
+
* @interface CustomersApiListCustomerTagsRequest
|
|
2800
|
+
*/
|
|
2801
|
+
export interface CustomersApiListCustomerTagsRequest {
|
|
2802
|
+
/**
|
|
2803
|
+
* Project unique identifier
|
|
2804
|
+
* @type {string}
|
|
2805
|
+
* @memberof CustomersApiListCustomerTags
|
|
2806
|
+
*/
|
|
2807
|
+
readonly project: string;
|
|
2808
|
+
/**
|
|
2809
|
+
* The platform identifier
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof CustomersApiListCustomerTags
|
|
2812
|
+
*/
|
|
2813
|
+
readonly platformId: string;
|
|
2814
|
+
/**
|
|
2815
|
+
* Page reference token
|
|
2816
|
+
* @type {number}
|
|
2817
|
+
* @memberof CustomersApiListCustomerTags
|
|
2818
|
+
*/
|
|
2819
|
+
readonly pageToken?: number;
|
|
2820
|
+
/**
|
|
2821
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2822
|
+
* @type {number}
|
|
2823
|
+
* @memberof CustomersApiListCustomerTags
|
|
2824
|
+
*/
|
|
2825
|
+
readonly pageSize?: number;
|
|
2826
|
+
/**
|
|
2827
|
+
* Search term to filter results
|
|
2828
|
+
* @type {string}
|
|
2829
|
+
* @memberof CustomersApiListCustomerTags
|
|
2830
|
+
*/
|
|
2831
|
+
readonly search?: string;
|
|
2832
|
+
}
|
|
2639
2833
|
/**
|
|
2640
2834
|
* Request parameters for listCustomers operation in CustomersApi.
|
|
2641
2835
|
* @export
|
|
@@ -2702,6 +2896,18 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2702
2896
|
* @memberof CustomersApiListCustomers
|
|
2703
2897
|
*/
|
|
2704
2898
|
readonly productTypes?: Array<number>;
|
|
2899
|
+
/**
|
|
2900
|
+
* Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
|
|
2901
|
+
* @type {Array<string>}
|
|
2902
|
+
* @memberof CustomersApiListCustomers
|
|
2903
|
+
*/
|
|
2904
|
+
readonly demographics?: Array<string>;
|
|
2905
|
+
/**
|
|
2906
|
+
* Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
|
|
2907
|
+
* @type {Array<string>}
|
|
2908
|
+
* @memberof CustomersApiListCustomers
|
|
2909
|
+
*/
|
|
2910
|
+
readonly tags?: Array<string>;
|
|
2705
2911
|
/**
|
|
2706
2912
|
* Filter customers by whether they have used a discount
|
|
2707
2913
|
* @type {boolean}
|
|
@@ -2782,6 +2988,15 @@ export declare class CustomersApi extends BaseAPI {
|
|
|
2782
2988
|
* @memberof CustomersApi
|
|
2783
2989
|
*/
|
|
2784
2990
|
getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Customer, any>>;
|
|
2991
|
+
/**
|
|
2992
|
+
* List customer tags
|
|
2993
|
+
* @summary List customer tags
|
|
2994
|
+
* @param {CustomersApiListCustomerTagsRequest} requestParameters Request parameters.
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
* @memberof CustomersApi
|
|
2998
|
+
*/
|
|
2999
|
+
listCustomerTags(requestParameters: CustomersApiListCustomerTagsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
|
|
2785
3000
|
/**
|
|
2786
3001
|
* List customers for a platform
|
|
2787
3002
|
* @summary List customers
|
|
@@ -4345,7 +4560,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
|
|
|
4345
4560
|
* @param {*} [options] Override http request option.
|
|
4346
4561
|
* @throws {RequiredError}
|
|
4347
4562
|
*/
|
|
4348
|
-
authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4563
|
+
authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject2>>;
|
|
4349
4564
|
/**
|
|
4350
4565
|
* Deauthorize a Stripe payment account
|
|
4351
4566
|
* @summary Deauthorize Stripe
|
|
@@ -4375,7 +4590,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
|
|
|
4375
4590
|
* @param {*} [options] Override http request option.
|
|
4376
4591
|
* @throws {RequiredError}
|
|
4377
4592
|
*/
|
|
4378
|
-
authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4593
|
+
authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject2>;
|
|
4379
4594
|
/**
|
|
4380
4595
|
* Deauthorize a Stripe payment account
|
|
4381
4596
|
* @summary Deauthorize Stripe
|
|
@@ -4447,7 +4662,7 @@ export declare class PaymentApi extends BaseAPI {
|
|
|
4447
4662
|
* @throws {RequiredError}
|
|
4448
4663
|
* @memberof PaymentApi
|
|
4449
4664
|
*/
|
|
4450
|
-
authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4665
|
+
authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject2, any>>;
|
|
4451
4666
|
/**
|
|
4452
4667
|
* Deauthorize a Stripe payment account
|
|
4453
4668
|
* @summary Deauthorize Stripe
|