@teemill/platform 0.33.1 → 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/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.33.1
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).
@@ -1121,10 +1121,29 @@ export interface InlineObject {
1121
1121
  * @interface InlineObject1
1122
1122
  */
1123
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 {
1124
1143
  /**
1125
1144
  * The URL to redirect to
1126
1145
  * @type {string}
1127
- * @memberof InlineObject1
1146
+ * @memberof InlineObject2
1128
1147
  */
1129
1148
  'redirect_url': string;
1130
1149
  }
@@ -2449,6 +2468,8 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
2449
2468
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
2450
2469
  * @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
2451
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.
2452
2473
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
2453
2474
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
2454
2475
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -2461,7 +2482,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
2461
2482
  * @param {*} [options] Override http request option.
2462
2483
  * @throws {RequiredError}
2463
2484
  */
2464
- 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>;
2465
2486
  /**
2466
2487
  * Get a customer for a platform by a given customer ID.
2467
2488
  * @summary Get customer
@@ -2472,6 +2493,18 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
2472
2493
  * @throws {RequiredError}
2473
2494
  */
2474
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>;
2475
2508
  /**
2476
2509
  * List customers for a platform
2477
2510
  * @summary List customers
@@ -2485,6 +2518,8 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
2485
2518
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
2486
2519
  * @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
2487
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.
2488
2523
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
2489
2524
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
2490
2525
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -2497,7 +2532,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
2497
2532
  * @param {*} [options] Override http request option.
2498
2533
  * @throws {RequiredError}
2499
2534
  */
2500
- 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>;
2501
2536
  };
2502
2537
  /**
2503
2538
  * CustomersApi - functional programming interface
@@ -2514,6 +2549,8 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
2514
2549
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
2515
2550
  * @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
2516
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.
2517
2554
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
2518
2555
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
2519
2556
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -2526,7 +2563,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
2526
2563
  * @param {*} [options] Override http request option.
2527
2564
  * @throws {RequiredError}
2528
2565
  */
2529
- 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>>;
2530
2567
  /**
2531
2568
  * Get a customer for a platform by a given customer ID.
2532
2569
  * @summary Get customer
@@ -2537,6 +2574,18 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
2537
2574
  * @throws {RequiredError}
2538
2575
  */
2539
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>>;
2540
2589
  /**
2541
2590
  * List customers for a platform
2542
2591
  * @summary List customers
@@ -2550,6 +2599,8 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
2550
2599
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
2551
2600
  * @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
2552
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.
2553
2604
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
2554
2605
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
2555
2606
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -2562,7 +2613,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
2562
2613
  * @param {*} [options] Override http request option.
2563
2614
  * @throws {RequiredError}
2564
2615
  */
2565
- 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>>;
2566
2617
  };
2567
2618
  /**
2568
2619
  * CustomersApi - factory interface
@@ -2585,6 +2636,14 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
2585
2636
  * @throws {RequiredError}
2586
2637
  */
2587
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>;
2588
2647
  /**
2589
2648
  * List customers for a platform
2590
2649
  * @summary List customers
@@ -2642,6 +2701,18 @@ export interface CustomersApiExportCustomersRequest {
2642
2701
  * @memberof CustomersApiExportCustomers
2643
2702
  */
2644
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>;
2645
2716
  /**
2646
2717
  * Filter customers by whether they have used a discount
2647
2718
  * @type {boolean}
@@ -2722,6 +2793,43 @@ export interface CustomersApiGetCustomerRequest {
2722
2793
  */
2723
2794
  readonly customerId: string;
2724
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
+ }
2725
2833
  /**
2726
2834
  * Request parameters for listCustomers operation in CustomersApi.
2727
2835
  * @export
@@ -2788,6 +2896,18 @@ export interface CustomersApiListCustomersRequest {
2788
2896
  * @memberof CustomersApiListCustomers
2789
2897
  */
2790
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>;
2791
2911
  /**
2792
2912
  * Filter customers by whether they have used a discount
2793
2913
  * @type {boolean}
@@ -2868,6 +2988,15 @@ export declare class CustomersApi extends BaseAPI {
2868
2988
  * @memberof CustomersApi
2869
2989
  */
2870
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>>;
2871
3000
  /**
2872
3001
  * List customers for a platform
2873
3002
  * @summary List customers
@@ -4431,7 +4560,7 @@ export declare const PaymentApiFp: (configuration?: Configuration) => {
4431
4560
  * @param {*} [options] Override http request option.
4432
4561
  * @throws {RequiredError}
4433
4562
  */
4434
- authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject1>>;
4563
+ authorizeStripe(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineObject2>>;
4435
4564
  /**
4436
4565
  * Deauthorize a Stripe payment account
4437
4566
  * @summary Deauthorize Stripe
@@ -4461,7 +4590,7 @@ export declare const PaymentApiFactory: (configuration?: Configuration, basePath
4461
4590
  * @param {*} [options] Override http request option.
4462
4591
  * @throws {RequiredError}
4463
4592
  */
4464
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject1>;
4593
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): AxiosPromise<InlineObject2>;
4465
4594
  /**
4466
4595
  * Deauthorize a Stripe payment account
4467
4596
  * @summary Deauthorize Stripe
@@ -4533,7 +4662,7 @@ export declare class PaymentApi extends BaseAPI {
4533
4662
  * @throws {RequiredError}
4534
4663
  * @memberof PaymentApi
4535
4664
  */
4536
- authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject1, any>>;
4665
+ authorizeStripe(requestParameters: PaymentApiAuthorizeStripeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineObject2, any>>;
4537
4666
  /**
4538
4667
  * Deauthorize a Stripe payment account
4539
4668
  * @summary Deauthorize Stripe
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.33.1
7
+ * The version of the OpenAPI document: 0.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -88,6 +88,8 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
88
88
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
89
89
  * @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
90
90
  * @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
91
+ * @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
92
+ * @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
91
93
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
92
94
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
93
95
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -100,7 +102,7 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
100
102
  * @param {*} [options] Override http request option.
101
103
  * @throws {RequiredError}
102
104
  */
103
- exportCustomers: (project_1, platformId_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1) => __awaiter(this, [project_1, platformId_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1], void 0, function* (project, platformId, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options = {}) {
105
+ exportCustomers: (project_1, platformId_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, demographics_1, tags_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1) => __awaiter(this, [project_1, platformId_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, demographics_1, tags_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1], void 0, function* (project, platformId, sortBy, countries, projects, gender, productTypes, demographics, tags, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options = {}) {
104
106
  // verify required parameter 'project' is not null or undefined
105
107
  assertParamExists('exportCustomers', 'project', project);
106
108
  // verify required parameter 'platformId' is not null or undefined
@@ -139,6 +141,12 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
139
141
  if (productTypes) {
140
142
  localVarQueryParameter['productTypes'] = productTypes;
141
143
  }
144
+ if (demographics) {
145
+ localVarQueryParameter['demographics'] = demographics;
146
+ }
147
+ if (tags) {
148
+ localVarQueryParameter['tags'] = tags;
149
+ }
142
150
  if (usedDiscount !== undefined) {
143
151
  localVarQueryParameter['usedDiscount'] = usedDiscount;
144
152
  }
@@ -220,6 +228,58 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
220
228
  options: localVarRequestOptions,
221
229
  };
222
230
  }),
231
+ /**
232
+ * List customer tags
233
+ * @summary List customer tags
234
+ * @param {string} project Project unique identifier
235
+ * @param {string} platformId The platform identifier
236
+ * @param {number} [pageToken] Page reference token
237
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
238
+ * @param {string} [search] Search term to filter results
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ listCustomerTags: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, options = {}) {
243
+ // verify required parameter 'project' is not null or undefined
244
+ assertParamExists('listCustomerTags', 'project', project);
245
+ // verify required parameter 'platformId' is not null or undefined
246
+ assertParamExists('listCustomerTags', 'platformId', platformId);
247
+ const localVarPath = `/v1/platform/{platformId}/customers/tags`
248
+ .replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
251
+ let baseOptions;
252
+ if (configuration) {
253
+ baseOptions = configuration.baseOptions;
254
+ }
255
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
256
+ const localVarHeaderParameter = {};
257
+ const localVarQueryParameter = {};
258
+ // authentication session-oauth required
259
+ // oauth required
260
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
261
+ // authentication api-key required
262
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
263
+ if (project !== undefined) {
264
+ localVarQueryParameter['project'] = project;
265
+ }
266
+ if (pageToken !== undefined) {
267
+ localVarQueryParameter['pageToken'] = pageToken;
268
+ }
269
+ if (pageSize !== undefined) {
270
+ localVarQueryParameter['pageSize'] = pageSize;
271
+ }
272
+ if (search !== undefined) {
273
+ localVarQueryParameter['search'] = search;
274
+ }
275
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
276
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
277
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
278
+ return {
279
+ url: toPathString(localVarUrlObj),
280
+ options: localVarRequestOptions,
281
+ };
282
+ }),
223
283
  /**
224
284
  * List customers for a platform
225
285
  * @summary List customers
@@ -233,6 +293,8 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
233
293
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
234
294
  * @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
235
295
  * @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
296
+ * @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
297
+ * @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
236
298
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
237
299
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
238
300
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -245,7 +307,7 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
245
307
  * @param {*} [options] Override http request option.
246
308
  * @throws {RequiredError}
247
309
  */
248
- listCustomers: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options = {}) {
310
+ listCustomers: (project_1, platformId_1, pageToken_1, pageSize_1, search_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, demographics_1, tags_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1) => __awaiter(this, [project_1, platformId_1, pageToken_1, pageSize_1, search_1, sortBy_1, countries_1, projects_1, gender_1, productTypes_1, demographics_1, tags_1, usedDiscount_1, minimumTotalOrderCount_1, maximumTotalOrderCount_1, minimumRefundedOrderCount_1, maximumRefundedOrderCount_1, minimumLifetimeValue_1, maximumLifetimeValue_1, lastPurchasedStart_1, lastPurchasedEnd_1, ...args_1], void 0, function* (project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, demographics, tags, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options = {}) {
249
311
  // verify required parameter 'project' is not null or undefined
250
312
  assertParamExists('listCustomers', 'project', project);
251
313
  // verify required parameter 'platformId' is not null or undefined
@@ -293,6 +355,12 @@ export const CustomersApiAxiosParamCreator = function (configuration) {
293
355
  if (productTypes) {
294
356
  localVarQueryParameter['productTypes'] = productTypes;
295
357
  }
358
+ if (demographics) {
359
+ localVarQueryParameter['demographics'] = demographics;
360
+ }
361
+ if (tags) {
362
+ localVarQueryParameter['tags'] = tags;
363
+ }
296
364
  if (usedDiscount !== undefined) {
297
365
  localVarQueryParameter['usedDiscount'] = usedDiscount;
298
366
  }
@@ -349,6 +417,8 @@ export const CustomersApiFp = function (configuration) {
349
417
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
350
418
  * @param {ExportCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
351
419
  * @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
420
+ * @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
421
+ * @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
352
422
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
353
423
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
354
424
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -361,10 +431,10 @@ export const CustomersApiFp = function (configuration) {
361
431
  * @param {*} [options] Override http request option.
362
432
  * @throws {RequiredError}
363
433
  */
364
- exportCustomers(project, platformId, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options) {
434
+ exportCustomers(project, platformId, sortBy, countries, projects, gender, productTypes, demographics, tags, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options) {
365
435
  return __awaiter(this, void 0, void 0, function* () {
366
436
  var _a, _b, _c;
367
- const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomers(project, platformId, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options);
437
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCustomers(project, platformId, sortBy, countries, projects, gender, productTypes, demographics, tags, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options);
368
438
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
369
439
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomersApi.exportCustomers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
370
440
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -388,6 +458,26 @@ export const CustomersApiFp = function (configuration) {
388
458
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
389
459
  });
390
460
  },
461
+ /**
462
+ * List customer tags
463
+ * @summary List customer tags
464
+ * @param {string} project Project unique identifier
465
+ * @param {string} platformId The platform identifier
466
+ * @param {number} [pageToken] Page reference token
467
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
468
+ * @param {string} [search] Search term to filter results
469
+ * @param {*} [options] Override http request option.
470
+ * @throws {RequiredError}
471
+ */
472
+ listCustomerTags(project, platformId, pageToken, pageSize, search, options) {
473
+ return __awaiter(this, void 0, void 0, function* () {
474
+ var _a, _b, _c;
475
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerTags(project, platformId, pageToken, pageSize, search, options);
476
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
477
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomersApi.listCustomerTags']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
478
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
479
+ });
480
+ },
391
481
  /**
392
482
  * List customers for a platform
393
483
  * @summary List customers
@@ -401,6 +491,8 @@ export const CustomersApiFp = function (configuration) {
401
491
  * @param {Array<string>} [projects] Filter customers by project. In the absence of this field, all projects will be included in the export.
402
492
  * @param {ListCustomersGenderEnum} [gender] Filter customers by gender equal to the value provided
403
493
  * @param {Array<number>} [productTypes] Filter customers by purchased product types. In the absence of this field, all customers will be included in the export.
494
+ * @param {Array<string>} [demographics] Filter customers by purchase demographics. In the absence of this field, all customers will be included in the export.
495
+ * @param {Array<string>} [tags] Filter customers by purchase tags. In the absence of this field, all customers will be included in the export.
404
496
  * @param {boolean} [usedDiscount] Filter customers by whether they have used a discount
405
497
  * @param {number} [minimumTotalOrderCount] Filter customers by total order count greater than or equal to the value provided
406
498
  * @param {number} [maximumTotalOrderCount] Filter customers by total order count less than or equal to the value provided
@@ -413,10 +505,10 @@ export const CustomersApiFp = function (configuration) {
413
505
  * @param {*} [options] Override http request option.
414
506
  * @throws {RequiredError}
415
507
  */
416
- listCustomers(project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options) {
508
+ listCustomers(project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, demographics, tags, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options) {
417
509
  return __awaiter(this, void 0, void 0, function* () {
418
510
  var _a, _b, _c;
419
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options);
511
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomers(project, platformId, pageToken, pageSize, search, sortBy, countries, projects, gender, productTypes, demographics, tags, usedDiscount, minimumTotalOrderCount, maximumTotalOrderCount, minimumRefundedOrderCount, maximumRefundedOrderCount, minimumLifetimeValue, maximumLifetimeValue, lastPurchasedStart, lastPurchasedEnd, options);
420
512
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
421
513
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomersApi.listCustomers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
422
514
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -439,7 +531,7 @@ export const CustomersApiFactory = function (configuration, basePath, axios) {
439
531
  * @throws {RequiredError}
440
532
  */
441
533
  exportCustomers(requestParameters, options) {
442
- return localVarFp.exportCustomers(requestParameters.project, requestParameters.platformId, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(axios, basePath));
534
+ return localVarFp.exportCustomers(requestParameters.project, requestParameters.platformId, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.demographics, requestParameters.tags, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(axios, basePath));
443
535
  },
444
536
  /**
445
537
  * Get a customer for a platform by a given customer ID.
@@ -451,6 +543,16 @@ export const CustomersApiFactory = function (configuration, basePath, axios) {
451
543
  getCustomer(requestParameters, options) {
452
544
  return localVarFp.getCustomer(requestParameters.project, requestParameters.platformId, requestParameters.customerId, options).then((request) => request(axios, basePath));
453
545
  },
546
+ /**
547
+ * List customer tags
548
+ * @summary List customer tags
549
+ * @param {CustomersApiListCustomerTagsRequest} requestParameters Request parameters.
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ listCustomerTags(requestParameters, options) {
554
+ return localVarFp.listCustomerTags(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
555
+ },
454
556
  /**
455
557
  * List customers for a platform
456
558
  * @summary List customers
@@ -459,7 +561,7 @@ export const CustomersApiFactory = function (configuration, basePath, axios) {
459
561
  * @throws {RequiredError}
460
562
  */
461
563
  listCustomers(requestParameters, options) {
462
- return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(axios, basePath));
564
+ return localVarFp.listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.demographics, requestParameters.tags, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(axios, basePath));
463
565
  },
464
566
  };
465
567
  };
@@ -479,7 +581,7 @@ export class CustomersApi extends BaseAPI {
479
581
  * @memberof CustomersApi
480
582
  */
481
583
  exportCustomers(requestParameters, options) {
482
- return CustomersApiFp(this.configuration).exportCustomers(requestParameters.project, requestParameters.platformId, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(this.axios, this.basePath));
584
+ return CustomersApiFp(this.configuration).exportCustomers(requestParameters.project, requestParameters.platformId, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.demographics, requestParameters.tags, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(this.axios, this.basePath));
483
585
  }
484
586
  /**
485
587
  * Get a customer for a platform by a given customer ID.
@@ -492,6 +594,17 @@ export class CustomersApi extends BaseAPI {
492
594
  getCustomer(requestParameters, options) {
493
595
  return CustomersApiFp(this.configuration).getCustomer(requestParameters.project, requestParameters.platformId, requestParameters.customerId, options).then((request) => request(this.axios, this.basePath));
494
596
  }
597
+ /**
598
+ * List customer tags
599
+ * @summary List customer tags
600
+ * @param {CustomersApiListCustomerTagsRequest} requestParameters Request parameters.
601
+ * @param {*} [options] Override http request option.
602
+ * @throws {RequiredError}
603
+ * @memberof CustomersApi
604
+ */
605
+ listCustomerTags(requestParameters, options) {
606
+ return CustomersApiFp(this.configuration).listCustomerTags(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
607
+ }
495
608
  /**
496
609
  * List customers for a platform
497
610
  * @summary List customers
@@ -501,7 +614,7 @@ export class CustomersApi extends BaseAPI {
501
614
  * @memberof CustomersApi
502
615
  */
503
616
  listCustomers(requestParameters, options) {
504
- return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(this.axios, this.basePath));
617
+ return CustomersApiFp(this.configuration).listCustomers(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.countries, requestParameters.projects, requestParameters.gender, requestParameters.productTypes, requestParameters.demographics, requestParameters.tags, requestParameters.usedDiscount, requestParameters.minimumTotalOrderCount, requestParameters.maximumTotalOrderCount, requestParameters.minimumRefundedOrderCount, requestParameters.maximumRefundedOrderCount, requestParameters.minimumLifetimeValue, requestParameters.maximumLifetimeValue, requestParameters.lastPurchasedStart, requestParameters.lastPurchasedEnd, options).then((request) => request(this.axios, this.basePath));
505
618
  }
506
619
  }
507
620
  /**
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.33.1
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).
package/dist/esm/base.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.33.1
7
+ * The version of the OpenAPI document: 0.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.33.1
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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.33.1
7
+ * The version of the OpenAPI document: 0.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Platform API
3
3
  * Manage Your podOS platform
4
4
  *
5
- * The version of the OpenAPI document: 0.33.1
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).
@@ -4,7 +4,7 @@
4
4
  * Platform API
5
5
  * Manage Your podOS platform
6
6
  *
7
- * The version of the OpenAPI document: 0.33.1
7
+ * The version of the OpenAPI document: 0.34.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).