@teemill/platform 0.28.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 +230 -64
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +148 -42
- package/dist/api.js +113 -49
- 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 +148 -42
- package/dist/esm/api.js +112 -48
- 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 +59 -23
- package/docs/Statistics.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
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).
|
|
@@ -1751,6 +1751,12 @@ export interface Statistics {
|
|
|
1751
1751
|
* @memberof Statistics
|
|
1752
1752
|
*/
|
|
1753
1753
|
'lastPurchased': string | null;
|
|
1754
|
+
/**
|
|
1755
|
+
*
|
|
1756
|
+
* @type {boolean}
|
|
1757
|
+
* @memberof Statistics
|
|
1758
|
+
*/
|
|
1759
|
+
'usedDiscount': boolean;
|
|
1754
1760
|
}
|
|
1755
1761
|
/**
|
|
1756
1762
|
*
|
|
@@ -1943,18 +1949,24 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1943
1949
|
* @summary Export customers
|
|
1944
1950
|
* @param {string} project Project unique identifier
|
|
1945
1951
|
* @param {string} platformId The platform identifier
|
|
1952
|
+
* @param {Array<ExportCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1946
1953
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1954
|
+
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1947
1955
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1948
|
-
* @param {number} [
|
|
1949
|
-
* @param {
|
|
1950
|
-
* @param {number} [
|
|
1951
|
-
* @param {
|
|
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
|
+
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1958
|
+
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1959
|
+
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
1960
|
+
* @param {number} [minimumRefundedOrderCount] Filter customers by refunded order count greater than or equal to the value provided
|
|
1961
|
+
* @param {number} [maximumRefundedOrderCount] Filter customers by refunded order count less than or equal to the value provided
|
|
1962
|
+
* @param {number} [minimumLifetimeValue] Filter customers by lifetime value greater than or equal to the value provided
|
|
1963
|
+
* @param {number} [maximumLifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
1952
1964
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
1953
1965
|
* @param {string} [lastPurchasedEnd] End of date range to filter customers by last purchase date
|
|
1954
1966
|
* @param {*} [options] Override http request option.
|
|
1955
1967
|
* @throws {RequiredError}
|
|
1956
1968
|
*/
|
|
1957
|
-
exportCustomers: (project: string, platformId: string, countries?: Array<string>, gender?: ExportCustomersGenderEnum,
|
|
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>;
|
|
1958
1970
|
/**
|
|
1959
1971
|
* Get a customer for a platform by a given customer ID.
|
|
1960
1972
|
* @summary Get customer
|
|
@@ -1975,16 +1987,22 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1975
1987
|
* @param {string} [search] Search term to filter results
|
|
1976
1988
|
* @param {Array<ListCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1977
1989
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
1990
|
+
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
1978
1991
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
1979
|
-
* @param {number} [
|
|
1980
|
-
* @param {
|
|
1981
|
-
* @param {number} [
|
|
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
|
+
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
1994
|
+
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
1995
|
+
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
1996
|
+
* @param {number} [minimumRefundedOrderCount] Filter customers by refunded order count greater than or equal to the value provided
|
|
1997
|
+
* @param {number} [maximumRefundedOrderCount] Filter customers by refunded order count less than or equal to the value provided
|
|
1998
|
+
* @param {number} [minimumLifetimeValue] Filter customers by lifetime value greater than or equal to the value provided
|
|
1999
|
+
* @param {number} [maximumLifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
1982
2000
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
1983
2001
|
* @param {string} [lastPurchasedEnd] End of date range to filter customers by last purchase date
|
|
1984
2002
|
* @param {*} [options] Override http request option.
|
|
1985
2003
|
* @throws {RequiredError}
|
|
1986
2004
|
*/
|
|
1987
|
-
listCustomers: (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, gender?: ListCustomersGenderEnum,
|
|
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>;
|
|
1988
2006
|
};
|
|
1989
2007
|
/**
|
|
1990
2008
|
* CustomersApi - functional programming interface
|
|
@@ -1996,18 +2014,24 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
1996
2014
|
* @summary Export customers
|
|
1997
2015
|
* @param {string} project Project unique identifier
|
|
1998
2016
|
* @param {string} platformId The platform identifier
|
|
2017
|
+
* @param {Array<ExportCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1999
2018
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2019
|
+
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2000
2020
|
* @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2001
|
-
* @param {number} [
|
|
2002
|
-
* @param {
|
|
2003
|
-
* @param {number} [
|
|
2004
|
-
* @param {
|
|
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
|
+
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2023
|
+
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2024
|
+
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
2025
|
+
* @param {number} [minimumRefundedOrderCount] Filter customers by refunded order count greater than or equal to the value provided
|
|
2026
|
+
* @param {number} [maximumRefundedOrderCount] Filter customers by refunded order count less than or equal to the value provided
|
|
2027
|
+
* @param {number} [minimumLifetimeValue] Filter customers by lifetime value greater than or equal to the value provided
|
|
2028
|
+
* @param {number} [maximumLifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
2005
2029
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
2006
2030
|
* @param {string} [lastPurchasedEnd] End of date range to filter customers by last purchase date
|
|
2007
2031
|
* @param {*} [options] Override http request option.
|
|
2008
2032
|
* @throws {RequiredError}
|
|
2009
2033
|
*/
|
|
2010
|
-
exportCustomers(project: string, platformId: string, countries?: Array<string>, gender?: ExportCustomersGenderEnum,
|
|
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>>;
|
|
2011
2035
|
/**
|
|
2012
2036
|
* Get a customer for a platform by a given customer ID.
|
|
2013
2037
|
* @summary Get customer
|
|
@@ -2028,16 +2052,22 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
|
|
|
2028
2052
|
* @param {string} [search] Search term to filter results
|
|
2029
2053
|
* @param {Array<ListCustomersSortByEnum>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2030
2054
|
* @param {Array<string>} [countries] Filter customers by country code
|
|
2055
|
+
* @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2031
2056
|
* @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
|
|
2032
|
-
* @param {number} [
|
|
2033
|
-
* @param {
|
|
2034
|
-
* @param {number} [
|
|
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
|
+
* @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
|
|
2059
|
+
* @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
|
|
2060
|
+
* @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
|
|
2061
|
+
* @param {number} [minimumRefundedOrderCount] Filter customers by refunded order count greater than or equal to the value provided
|
|
2062
|
+
* @param {number} [maximumRefundedOrderCount] Filter customers by refunded order count less than or equal to the value provided
|
|
2063
|
+
* @param {number} [minimumLifetimeValue] Filter customers by lifetime value greater than or equal to the value provided
|
|
2064
|
+
* @param {number} [maximumLifetimeValue] Filter customers by lifetime value less than or equal to the value provided
|
|
2035
2065
|
* @param {string} [lastPurchasedStart] Start of date range to filter customers by last purchase date
|
|
2036
2066
|
* @param {string} [lastPurchasedEnd] End of date range to filter customers by last purchase date
|
|
2037
2067
|
* @param {*} [options] Override http request option.
|
|
2038
2068
|
* @throws {RequiredError}
|
|
2039
2069
|
*/
|
|
2040
|
-
listCustomers(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<ListCustomersSortByEnum>, countries?: Array<string>, gender?: ListCustomersGenderEnum,
|
|
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>>;
|
|
2041
2071
|
};
|
|
2042
2072
|
/**
|
|
2043
2073
|
* CustomersApi - factory interface
|
|
@@ -2087,12 +2117,24 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2087
2117
|
* @memberof CustomersApiExportCustomers
|
|
2088
2118
|
*/
|
|
2089
2119
|
readonly platformId: string;
|
|
2120
|
+
/**
|
|
2121
|
+
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2122
|
+
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased' | '+usedDiscount' | '-usedDiscount'>}
|
|
2123
|
+
* @memberof CustomersApiExportCustomers
|
|
2124
|
+
*/
|
|
2125
|
+
readonly sortBy?: Array<ExportCustomersSortByEnum>;
|
|
2090
2126
|
/**
|
|
2091
2127
|
* Filter customers by country code
|
|
2092
2128
|
* @type {Array<string>}
|
|
2093
2129
|
* @memberof CustomersApiExportCustomers
|
|
2094
2130
|
*/
|
|
2095
2131
|
readonly countries?: Array<string>;
|
|
2132
|
+
/**
|
|
2133
|
+
* Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2134
|
+
* @type {Array<string>}
|
|
2135
|
+
* @memberof CustomersApiExportCustomers
|
|
2136
|
+
*/
|
|
2137
|
+
readonly projects?: Array<string>;
|
|
2096
2138
|
/**
|
|
2097
2139
|
* Filter customers by gender equal to the value provided
|
|
2098
2140
|
* @type {'male' | 'female'}
|
|
@@ -2100,29 +2142,53 @@ export interface CustomersApiExportCustomersRequest {
|
|
|
2100
2142
|
*/
|
|
2101
2143
|
readonly gender?: ExportCustomersGenderEnum;
|
|
2102
2144
|
/**
|
|
2103
|
-
* Filter customers by
|
|
2145
|
+
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2146
|
+
* @type {Array<number>}
|
|
2147
|
+
* @memberof CustomersApiExportCustomers
|
|
2148
|
+
*/
|
|
2149
|
+
readonly productTypes?: Array<number>;
|
|
2150
|
+
/**
|
|
2151
|
+
* Filter customers by whether they have used a discount
|
|
2152
|
+
* @type {boolean}
|
|
2153
|
+
* @memberof CustomersApiExportCustomers
|
|
2154
|
+
*/
|
|
2155
|
+
readonly usedDiscount?: boolean;
|
|
2156
|
+
/**
|
|
2157
|
+
* Filter customers by total order count greater than or equal to the value provided
|
|
2104
2158
|
* @type {number}
|
|
2105
2159
|
* @memberof CustomersApiExportCustomers
|
|
2106
2160
|
*/
|
|
2107
|
-
readonly
|
|
2161
|
+
readonly minimumTotalOrderCount?: number;
|
|
2108
2162
|
/**
|
|
2109
|
-
* Filter customers by
|
|
2163
|
+
* Filter customers by total order count less than or equal to the value provided
|
|
2110
2164
|
* @type {number}
|
|
2111
2165
|
* @memberof CustomersApiExportCustomers
|
|
2112
2166
|
*/
|
|
2113
|
-
readonly
|
|
2167
|
+
readonly maximumTotalOrderCount?: number;
|
|
2114
2168
|
/**
|
|
2115
|
-
* Filter customers by
|
|
2169
|
+
* Filter customers by refunded order count greater than or equal to the value provided
|
|
2116
2170
|
* @type {number}
|
|
2117
2171
|
* @memberof CustomersApiExportCustomers
|
|
2118
2172
|
*/
|
|
2119
|
-
readonly
|
|
2173
|
+
readonly minimumRefundedOrderCount?: number;
|
|
2120
2174
|
/**
|
|
2121
|
-
*
|
|
2122
|
-
* @type {
|
|
2175
|
+
* Filter customers by refunded order count less than or equal to the value provided
|
|
2176
|
+
* @type {number}
|
|
2123
2177
|
* @memberof CustomersApiExportCustomers
|
|
2124
2178
|
*/
|
|
2125
|
-
readonly
|
|
2179
|
+
readonly maximumRefundedOrderCount?: number;
|
|
2180
|
+
/**
|
|
2181
|
+
* Filter customers by lifetime value greater than or equal to the value provided
|
|
2182
|
+
* @type {number}
|
|
2183
|
+
* @memberof CustomersApiExportCustomers
|
|
2184
|
+
*/
|
|
2185
|
+
readonly minimumLifetimeValue?: number;
|
|
2186
|
+
/**
|
|
2187
|
+
* Filter customers by lifetime value less than or equal to the value provided
|
|
2188
|
+
* @type {number}
|
|
2189
|
+
* @memberof CustomersApiExportCustomers
|
|
2190
|
+
*/
|
|
2191
|
+
readonly maximumLifetimeValue?: number;
|
|
2126
2192
|
/**
|
|
2127
2193
|
* Start of date range to filter customers by last purchase date
|
|
2128
2194
|
* @type {string}
|
|
@@ -2199,7 +2265,7 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2199
2265
|
readonly search?: string;
|
|
2200
2266
|
/**
|
|
2201
2267
|
* An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
2202
|
-
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased'>}
|
|
2268
|
+
* @type {Array<'+lifetimeValue' | '-lifetimeValue' | '+totalOrderCount' | '-totalOrderCount' | '+refundedOrderCount' | '-refundedOrderCount' | '+lastPurchased' | '-lastPurchased' | '+usedDiscount' | '-usedDiscount'>}
|
|
2203
2269
|
* @memberof CustomersApiListCustomers
|
|
2204
2270
|
*/
|
|
2205
2271
|
readonly sortBy?: Array<ListCustomersSortByEnum>;
|
|
@@ -2209,6 +2275,12 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2209
2275
|
* @memberof CustomersApiListCustomers
|
|
2210
2276
|
*/
|
|
2211
2277
|
readonly countries?: Array<string>;
|
|
2278
|
+
/**
|
|
2279
|
+
* Filter customers by project. In the absence of this field, all projects will be included in the export.
|
|
2280
|
+
* @type {Array<string>}
|
|
2281
|
+
* @memberof CustomersApiListCustomers
|
|
2282
|
+
*/
|
|
2283
|
+
readonly projects?: Array<string>;
|
|
2212
2284
|
/**
|
|
2213
2285
|
* Filter customers by gender equal to the value provided
|
|
2214
2286
|
* @type {'male' | 'female'}
|
|
@@ -2216,23 +2288,53 @@ export interface CustomersApiListCustomersRequest {
|
|
|
2216
2288
|
*/
|
|
2217
2289
|
readonly gender?: ListCustomersGenderEnum;
|
|
2218
2290
|
/**
|
|
2219
|
-
* Filter customers by
|
|
2291
|
+
* Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
|
|
2292
|
+
* @type {Array<number>}
|
|
2293
|
+
* @memberof CustomersApiListCustomers
|
|
2294
|
+
*/
|
|
2295
|
+
readonly productTypes?: Array<number>;
|
|
2296
|
+
/**
|
|
2297
|
+
* Filter customers by whether they have used a discount
|
|
2298
|
+
* @type {boolean}
|
|
2299
|
+
* @memberof CustomersApiListCustomers
|
|
2300
|
+
*/
|
|
2301
|
+
readonly usedDiscount?: boolean;
|
|
2302
|
+
/**
|
|
2303
|
+
* Filter customers by total order count greater than or equal to the value provided
|
|
2304
|
+
* @type {number}
|
|
2305
|
+
* @memberof CustomersApiListCustomers
|
|
2306
|
+
*/
|
|
2307
|
+
readonly minimumTotalOrderCount?: number;
|
|
2308
|
+
/**
|
|
2309
|
+
* Filter customers by total order count less than or equal to the value provided
|
|
2310
|
+
* @type {number}
|
|
2311
|
+
* @memberof CustomersApiListCustomers
|
|
2312
|
+
*/
|
|
2313
|
+
readonly maximumTotalOrderCount?: number;
|
|
2314
|
+
/**
|
|
2315
|
+
* Filter customers by refunded order count greater than or equal to the value provided
|
|
2316
|
+
* @type {number}
|
|
2317
|
+
* @memberof CustomersApiListCustomers
|
|
2318
|
+
*/
|
|
2319
|
+
readonly minimumRefundedOrderCount?: number;
|
|
2320
|
+
/**
|
|
2321
|
+
* Filter customers by refunded order count less than or equal to the value provided
|
|
2220
2322
|
* @type {number}
|
|
2221
2323
|
* @memberof CustomersApiListCustomers
|
|
2222
2324
|
*/
|
|
2223
|
-
readonly
|
|
2325
|
+
readonly maximumRefundedOrderCount?: number;
|
|
2224
2326
|
/**
|
|
2225
|
-
* Filter customers by
|
|
2327
|
+
* Filter customers by lifetime value greater than or equal to the value provided
|
|
2226
2328
|
* @type {number}
|
|
2227
2329
|
* @memberof CustomersApiListCustomers
|
|
2228
2330
|
*/
|
|
2229
|
-
readonly
|
|
2331
|
+
readonly minimumLifetimeValue?: number;
|
|
2230
2332
|
/**
|
|
2231
2333
|
* Filter customers by lifetime value less than or equal to the value provided
|
|
2232
2334
|
* @type {number}
|
|
2233
2335
|
* @memberof CustomersApiListCustomers
|
|
2234
2336
|
*/
|
|
2235
|
-
readonly
|
|
2337
|
+
readonly maximumLifetimeValue?: number;
|
|
2236
2338
|
/**
|
|
2237
2339
|
* Start of date range to filter customers by last purchase date
|
|
2238
2340
|
* @type {string}
|
|
@@ -2281,14 +2383,6 @@ export declare class CustomersApi extends BaseAPI {
|
|
|
2281
2383
|
*/
|
|
2282
2384
|
listCustomers(requestParameters: CustomersApiListCustomersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomersResponse, any>>;
|
|
2283
2385
|
}
|
|
2284
|
-
/**
|
|
2285
|
-
* @export
|
|
2286
|
-
*/
|
|
2287
|
-
export declare const ExportCustomersGenderEnum: {
|
|
2288
|
-
readonly Male: "male";
|
|
2289
|
-
readonly Female: "female";
|
|
2290
|
-
};
|
|
2291
|
-
export type ExportCustomersGenderEnum = typeof ExportCustomersGenderEnum[keyof typeof ExportCustomersGenderEnum];
|
|
2292
2386
|
/**
|
|
2293
2387
|
* @export
|
|
2294
2388
|
*/
|
|
@@ -2301,8 +2395,18 @@ export declare const ExportCustomersSortByEnum: {
|
|
|
2301
2395
|
readonly RefundedOrderCount2: "-refundedOrderCount";
|
|
2302
2396
|
readonly LastPurchased: "+lastPurchased";
|
|
2303
2397
|
readonly LastPurchased2: "-lastPurchased";
|
|
2398
|
+
readonly UsedDiscount: "+usedDiscount";
|
|
2399
|
+
readonly UsedDiscount2: "-usedDiscount";
|
|
2304
2400
|
};
|
|
2305
2401
|
export type ExportCustomersSortByEnum = typeof ExportCustomersSortByEnum[keyof typeof ExportCustomersSortByEnum];
|
|
2402
|
+
/**
|
|
2403
|
+
* @export
|
|
2404
|
+
*/
|
|
2405
|
+
export declare const ExportCustomersGenderEnum: {
|
|
2406
|
+
readonly Male: "male";
|
|
2407
|
+
readonly Female: "female";
|
|
2408
|
+
};
|
|
2409
|
+
export type ExportCustomersGenderEnum = typeof ExportCustomersGenderEnum[keyof typeof ExportCustomersGenderEnum];
|
|
2306
2410
|
/**
|
|
2307
2411
|
* @export
|
|
2308
2412
|
*/
|
|
@@ -2315,6 +2419,8 @@ export declare const ListCustomersSortByEnum: {
|
|
|
2315
2419
|
readonly RefundedOrderCount2: "-refundedOrderCount";
|
|
2316
2420
|
readonly LastPurchased: "+lastPurchased";
|
|
2317
2421
|
readonly LastPurchased2: "-lastPurchased";
|
|
2422
|
+
readonly UsedDiscount: "+usedDiscount";
|
|
2423
|
+
readonly UsedDiscount2: "-usedDiscount";
|
|
2318
2424
|
};
|
|
2319
2425
|
export type ListCustomersSortByEnum = typeof ListCustomersSortByEnum[keyof typeof ListCustomersSortByEnum];
|
|
2320
2426
|
/**
|