@teemill/platform 0.29.0 → 0.29.2
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 +2 -2
- package/api.ts +13 -13
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +13 -13
- package/dist/api.js +5 -5
- 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 +13 -13
- package/dist/esm/api.js +5 -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/CustomersApi.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/platform@0.29.
|
|
1
|
+
## @teemill/platform@0.29.2
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/platform@0.29.
|
|
39
|
+
npm install @teemill/platform@0.29.2 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.29.
|
|
7
|
+
* The version of the OpenAPI document: 0.29.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1985,7 +1985,7 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1985
1985
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1986
1986
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1987
1987
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1988
|
-
* @param {Array<
|
|
1988
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
1989
1989
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1990
1990
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1991
1991
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -1998,7 +1998,7 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1998
1998
|
* @param {*} [options] Override http request option.
|
|
1999
1999
|
* @throws {RequiredError}
|
|
2000
2000
|
*/
|
|
2001
|
-
exportCustomers: async (project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
2001
|
+
exportCustomers: async (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> => {
|
|
2002
2002
|
// verify required parameter 'project' is not null or undefined
|
|
2003
2003
|
assertParamExists('exportCustomers', 'project', project)
|
|
2004
2004
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -2160,7 +2160,7 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2160
2160
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2161
2161
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2162
2162
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2163
|
-
* @param {Array<
|
|
2163
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2164
2164
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2165
2165
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2166
2166
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2173,7 +2173,7 @@ export const CustomersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
2173
2173
|
* @param {*} [options] Override http request option.
|
|
2174
2174
|
* @throws {RequiredError}
|
|
2175
2175
|
*/
|
|
2176
|
-
listCustomers: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<
|
|
2176
|
+
listCustomers: async (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> => {
|
|
2177
2177
|
// verify required parameter 'project' is not null or undefined
|
|
2178
2178
|
assertParamExists('listCustomers', 'project', project)
|
|
2179
2179
|
// verify required parameter 'platformId' is not null or undefined
|
|
@@ -2302,7 +2302,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
2302
2302
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2303
2303
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2304
2304
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2305
|
-
* @param {Array<
|
|
2305
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2306
2306
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2307
2307
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2308
2308
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2315,7 +2315,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
2315
2315
|
* @param {*} [options] Override http request option.
|
|
2316
2316
|
* @throws {RequiredError}
|
|
2317
2317
|
*/
|
|
2318
|
-
async exportCustomers(project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
2318
|
+
async 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>> {
|
|
2319
2319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.exportCustomers(project, platformId, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options);
|
|
2320
2320
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2321
2321
|
const localVarOperationServerBasePath = operationServerMap['CustomersApi.exportCustomers']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2348,7 +2348,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
2348
2348
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2349
2349
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2350
2350
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2351
|
-
* @param {Array<
|
|
2351
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2352
2352
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2353
2353
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2354
2354
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2361,7 +2361,7 @@ export const CustomersApiFp = function(configuration?: Configuration) {
|
|
|
2361
2361
|
* @param {*} [options] Override http request option.
|
|
2362
2362
|
* @throws {RequiredError}
|
|
2363
2363
|
*/
|
|
2364
|
-
async listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ListCustomersGenderEnum, productTypes?: Array<
|
|
2364
|
+
async 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>> {
|
|
2365
2365
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options);
|
|
2366
2366
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2367
2367
|
const localVarOperationServerBasePath = operationServerMap['CustomersApi.listCustomers']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2460,10 +2460,10 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2460
2460
|
|
|
2461
2461
|
/**
|
|
2462
2462
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2463
|
-
* @type {Array<
|
|
2463
|
+
* @type {Array<number>}
|
|
2464
2464
|
* @memberof CustomersApiExportCustomers
|
|
2465
2465
|
*/
|
|
2466
|
-
readonly productTypes?: Array<
|
|
2466
|
+
readonly productTypes?: Array<number>
|
|
2467
2467
|
|
|
2468
2468
|
/**
|
|
2469
2469
|
* Filter customers by whether they have used a discount
|
|
@@ -2628,10 +2628,10 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2628
2628
|
|
|
2629
2629
|
/**
|
|
2630
2630
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2631
|
-
* @type {Array<
|
|
2631
|
+
* @type {Array<number>}
|
|
2632
2632
|
* @memberof CustomersApiListCustomers
|
|
2633
2633
|
*/
|
|
2634
|
-
readonly productTypes?: Array<
|
|
2634
|
+
readonly productTypes?: Array<number>
|
|
2635
2635
|
|
|
2636
2636
|
/**
|
|
2637
2637
|
* Filter customers by whether they have used a discount
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/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.29.
|
|
5
|
+
* The version of the OpenAPI document: 0.29.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1953,7 +1953,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1953
1953
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1954
1954
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1955
1955
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1956
|
-
* @param {Array<
|
|
1956
|
+
* @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
1957
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1958
1958
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1959
1959
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -1966,7 +1966,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1966
1966
|
* @param {*} [options] Override http request option.
|
|
1967
1967
|
* @throws {RequiredError}
|
|
1968
1968
|
*/
|
|
1969
|
-
exportCustomers: (project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
1969
|
+
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
1970
|
/**
|
|
1971
1971
|
* Get a customer for a platform by a given customer ID.
|
|
1972
1972
|
* @summary Get customer
|
|
@@ -1989,7 +1989,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1989
1989
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1990
1990
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1991
1991
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1992
|
-
* @param {Array<
|
|
1992
|
+
* @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
1993
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1994
1994
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1995
1995
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2002,7 +2002,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2002
2002
|
* @param {*} [options] Override http request option.
|
|
2003
2003
|
* @throws {RequiredError}
|
|
2004
2004
|
*/
|
|
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<
|
|
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<number>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2006
2006
|
};
|
|
2007
2007
|
/**
|
|
2008
2008
|
* CustomersApi - functional programming interface
|
|
@@ -2018,7 +2018,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2018
2018
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2019
2019
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2020
2020
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2021
|
-
* @param {Array<
|
|
2021
|
+
* @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
2022
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2023
2023
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2024
2024
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2031,7 +2031,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2031
2031
|
* @param {*} [options] Override http request option.
|
|
2032
2032
|
* @throws {RequiredError}
|
|
2033
2033
|
*/
|
|
2034
|
-
exportCustomers(project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
2034
|
+
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
2035
|
/**
|
|
2036
2036
|
* Get a customer for a platform by a given customer ID.
|
|
2037
2037
|
* @summary Get customer
|
|
@@ -2054,7 +2054,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2054
2054
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2055
2055
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2056
2056
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2057
|
-
* @param {Array<
|
|
2057
|
+
* @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
2058
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2059
2059
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2060
2060
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2067,7 +2067,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2067
2067
|
* @param {*} [options] Override http request option.
|
|
2068
2068
|
* @throws {RequiredError}
|
|
2069
2069
|
*/
|
|
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<
|
|
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<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
2071
|
};
|
|
2072
2072
|
/**
|
|
2073
2073
|
* CustomersApi - factory interface
|
|
@@ -2143,10 +2143,10 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2143
2143
|
readonly gender?: ExportCustomersGenderEnum;
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2146
|
-
* @type {Array<
|
|
2146
|
+
* @type {Array<number>}
|
|
2147
2147
|
* @memberof CustomersApiExportCustomers
|
|
2148
2148
|
*/
|
|
2149
|
-
readonly productTypes?: Array<
|
|
2149
|
+
readonly productTypes?: Array<number>;
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Filter customers by whether they have used a discount
|
|
2152
2152
|
* @type {boolean}
|
|
@@ -2289,10 +2289,10 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2289
2289
|
readonly gender?: ListCustomersGenderEnum;
|
|
2290
2290
|
/**
|
|
2291
2291
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2292
|
-
* @type {Array<
|
|
2292
|
+
* @type {Array<number>}
|
|
2293
2293
|
* @memberof CustomersApiListCustomers
|
|
2294
2294
|
*/
|
|
2295
|
-
readonly productTypes?: Array<
|
|
2295
|
+
readonly productTypes?: Array<number>;
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Filter customers by whether they have used a discount
|
|
2298
2298
|
* @type {boolean}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform API
|
|
6
6
|
* Manage Your podOS platform
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.29.
|
|
8
|
+
* The version of the OpenAPI document: 0.29.2
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -78,7 +78,7 @@ const CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
78
78
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
79
79
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
80
80
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
81
|
-
* @param {Array<
|
|
81
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
82
82
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
83
83
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
84
84
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -223,7 +223,7 @@ const CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
223
223
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
224
224
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
225
225
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
226
|
-
* @param {Array<
|
|
226
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
227
227
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
228
228
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
229
229
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -340,7 +340,7 @@ const CustomersApiFp = function (configuration) {
|
|
|
340
340
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
341
341
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
342
342
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
343
|
-
* @param {Array<
|
|
343
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
344
344
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
345
345
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
346
346
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -392,7 +392,7 @@ const CustomersApiFp = function (configuration) {
|
|
|
392
392
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
393
393
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
394
394
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
395
|
-
* @param {Array<
|
|
395
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
396
396
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
397
397
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
398
398
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
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.29.
|
|
5
|
+
* The version of the OpenAPI document: 0.29.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1953,7 +1953,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1953
1953
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1954
1954
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1955
1955
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1956
|
-
* @param {Array<
|
|
1956
|
+
* @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
1957
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1958
1958
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1959
1959
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -1966,7 +1966,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1966
1966
|
* @param {*} [options] Override http request option.
|
|
1967
1967
|
* @throws {RequiredError}
|
|
1968
1968
|
*/
|
|
1969
|
-
exportCustomers: (project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
1969
|
+
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
1970
|
/**
|
|
1971
1971
|
* Get a customer for a platform by a given customer ID.
|
|
1972
1972
|
* @summary Get customer
|
|
@@ -1989,7 +1989,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1989
1989
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1990
1990
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1991
1991
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1992
|
-
* @param {Array<
|
|
1992
|
+
* @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
1993
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1994
1994
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1995
1995
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2002,7 +2002,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2002
2002
|
* @param {*} [options] Override http request option.
|
|
2003
2003
|
* @throws {RequiredError}
|
|
2004
2004
|
*/
|
|
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<
|
|
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<number>, usedDiscount?: boolean, minimumTotalOrderCount?: number, maximumTotalOrderCount?: number, minimumRefundedOrderCount?: number, maximumRefundedOrderCount?: number, minimumLifetimeValue?: number, maximumLifetimeValue?: number, lastPurchasedStart?: string, lastPurchasedEnd?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2006
2006
|
};
|
|
2007
2007
|
/**
|
|
2008
2008
|
* CustomersApi - functional programming interface
|
|
@@ -2018,7 +2018,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2018
2018
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2019
2019
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2020
2020
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2021
|
-
* @param {Array<
|
|
2021
|
+
* @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
2022
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2023
2023
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2024
2024
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2031,7 +2031,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2031
2031
|
* @param {*} [options] Override http request option.
|
|
2032
2032
|
* @throws {RequiredError}
|
|
2033
2033
|
*/
|
|
2034
|
-
exportCustomers(project: string, platformId: string, sortBy?: Array<ExportCustomersSortByEnum>, countries?: Array<string>, projects?: Array<string>, gender?: ExportCustomersGenderEnum, productTypes?: Array<
|
|
2034
|
+
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
2035
|
/**
|
|
2036
2036
|
* Get a customer for a platform by a given customer ID.
|
|
2037
2037
|
* @summary Get customer
|
|
@@ -2054,7 +2054,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2054
2054
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2055
2055
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2056
2056
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2057
|
-
* @param {Array<
|
|
2057
|
+
* @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
2058
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2059
2059
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2060
2060
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -2067,7 +2067,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2067
2067
|
* @param {*} [options] Override http request option.
|
|
2068
2068
|
* @throws {RequiredError}
|
|
2069
2069
|
*/
|
|
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<
|
|
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<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
2071
|
};
|
|
2072
2072
|
/**
|
|
2073
2073
|
* CustomersApi - factory interface
|
|
@@ -2143,10 +2143,10 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2143
2143
|
readonly gender?: ExportCustomersGenderEnum;
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2146
|
-
* @type {Array<
|
|
2146
|
+
* @type {Array<number>}
|
|
2147
2147
|
* @memberof CustomersApiExportCustomers
|
|
2148
2148
|
*/
|
|
2149
|
-
readonly productTypes?: Array<
|
|
2149
|
+
readonly productTypes?: Array<number>;
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Filter customers by whether they have used a discount
|
|
2152
2152
|
* @type {boolean}
|
|
@@ -2289,10 +2289,10 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2289
2289
|
readonly gender?: ListCustomersGenderEnum;
|
|
2290
2290
|
/**
|
|
2291
2291
|
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2292
|
-
* @type {Array<
|
|
2292
|
+
* @type {Array<number>}
|
|
2293
2293
|
* @memberof CustomersApiListCustomers
|
|
2294
2294
|
*/
|
|
2295
|
-
readonly productTypes?: Array<
|
|
2295
|
+
readonly productTypes?: Array<number>;
|
|
2296
2296
|
/**
|
|
2297
2297
|
* Filter customers by whether they have used a discount
|
|
2298
2298
|
* @type {boolean}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.29.
|
|
7
|
+
* The version of the OpenAPI document: 0.29.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -75,7 +75,7 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
76
76
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
77
77
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
78
|
-
* @param {Array<
|
|
78
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
79
79
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
80
80
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
81
81
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -220,7 +220,7 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
|
|
|
220
220
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
221
221
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
222
222
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
223
|
-
* @param {Array<
|
|
223
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
224
224
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
225
225
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
226
226
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -336,7 +336,7 @@ export const CustomersApiFp = function (configuration) {
|
|
|
336
336
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
337
337
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
338
338
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
339
|
-
* @param {Array<
|
|
339
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
340
340
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
341
341
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
342
342
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
@@ -388,7 +388,7 @@ export const CustomersApiFp = function (configuration) {
|
|
|
388
388
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
389
389
|
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
390
390
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
391
|
-
* @param {Array<
|
|
391
|
+
* @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
392
392
|
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
393
393
|
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
394
394
|
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/docs/CustomersApi.md
CHANGED
|
@@ -30,7 +30,7 @@ let sortBy: Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-t
|
|
|
30
30
|
let countries: Array<string>; //Filter customers by country code (optional) (default to undefined)
|
|
31
31
|
let projects: Array<string>; //Filter customers by project. In the absence of this field, all projects will be included in the export. (optional) (default to undefined)
|
|
32
32
|
let gender: 'male' | 'female'; //Filter customers by gender equal to the value provided (optional) (default to undefined)
|
|
33
|
-
let productTypes: Array<
|
|
33
|
+
let productTypes: Array<number>; //Filter customers by purchased product types. In the absence of this field, all customers will be included in the export. (optional) (default to undefined)
|
|
34
34
|
let usedDiscount: boolean; //Filter customers by whether they have used a discount (optional) (default to undefined)
|
|
35
35
|
let minimumTotalOrderCount: number; //Filter customers by total order count greater than or equal to the value provided (optional) (default to undefined)
|
|
36
36
|
let maximumTotalOrderCount: number; //Filter customers by total order count less than or equal to the value provided (optional) (default to undefined)
|
|
@@ -71,7 +71,7 @@ const { status, data } = await apiInstance.exportCustomers(
|
|
|
71
71
|
| **countries** | **Array<string>** | Filter customers by country code | (optional) defaults to undefined|
|
|
72
72
|
| **projects** | **Array<string>** | Filter customers by project. In the absence of this field, all projects will be included in the export. | (optional) defaults to undefined|
|
|
73
73
|
| **gender** | [**'male' | 'female'**]**Array<'male' | 'female'>** | Filter customers by gender equal to the value provided | (optional) defaults to undefined|
|
|
74
|
-
| **productTypes** | **Array<
|
|
74
|
+
| **productTypes** | **Array<number>** | Filter customers by purchased product types. In the absence of this field, all customers will be included in the export. | (optional) defaults to undefined|
|
|
75
75
|
| **usedDiscount** | [**boolean**] | Filter customers by whether they have used a discount | (optional) defaults to undefined|
|
|
76
76
|
| **minimumTotalOrderCount** | [**number**] | Filter customers by total order count greater than or equal to the value provided | (optional) defaults to undefined|
|
|
77
77
|
| **maximumTotalOrderCount** | [**number**] | Filter customers by total order count less than or equal to the value provided | (optional) defaults to undefined|
|
|
@@ -196,7 +196,7 @@ let sortBy: Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-t
|
|
|
196
196
|
let countries: Array<string>; //Filter customers by country code (optional) (default to undefined)
|
|
197
197
|
let projects: Array<string>; //Filter customers by project. In the absence of this field, all projects will be included in the export. (optional) (default to undefined)
|
|
198
198
|
let gender: 'male' | 'female'; //Filter customers by gender equal to the value provided (optional) (default to undefined)
|
|
199
|
-
let productTypes: Array<
|
|
199
|
+
let productTypes: Array<number>; //Filter customers by purchased product types. In the absence of this field, all customers will be included in the export. (optional) (default to undefined)
|
|
200
200
|
let usedDiscount: boolean; //Filter customers by whether they have used a discount (optional) (default to undefined)
|
|
201
201
|
let minimumTotalOrderCount: number; //Filter customers by total order count greater than or equal to the value provided (optional) (default to undefined)
|
|
202
202
|
let maximumTotalOrderCount: number; //Filter customers by total order count less than or equal to the value provided (optional) (default to undefined)
|
|
@@ -243,7 +243,7 @@ const { status, data } = await apiInstance.listCustomers(
|
|
|
243
243
|
| **countries** | **Array<string>** | Filter customers by country code | (optional) defaults to undefined|
|
|
244
244
|
| **projects** | **Array<string>** | Filter customers by project. In the absence of this field, all projects will be included in the export. | (optional) defaults to undefined|
|
|
245
245
|
| **gender** | [**'male' | 'female'**]**Array<'male' | 'female'>** | Filter customers by gender equal to the value provided | (optional) defaults to undefined|
|
|
246
|
-
| **productTypes** | **Array<
|
|
246
|
+
| **productTypes** | **Array<number>** | Filter customers by purchased product types. In the absence of this field, all customers will be included in the export. | (optional) defaults to undefined|
|
|
247
247
|
| **usedDiscount** | [**boolean**] | Filter customers by whether they have used a discount | (optional) defaults to undefined|
|
|
248
248
|
| **minimumTotalOrderCount** | [**number**] | Filter customers by total order count greater than or equal to the value provided | (optional) defaults to undefined|
|
|
249
249
|
| **maximumTotalOrderCount** | [**number**] | Filter customers by total order count less than or equal to the value provided | (optional) defaults to undefined|
|
package/index.ts
CHANGED