flexinet-api 0.0.260-prerelease0 → 0.0.263-prerelease0

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/api.js CHANGED
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.DefaultApiAxiosParamCreator = exports.CustomDealsApi = exports.CustomDealsApiFactory = exports.CustomDealsApiFp = exports.CustomDealsApiAxiosParamCreator = exports.ConfigurationApi = exports.ConfigurationApiFactory = exports.ConfigurationApiFp = exports.ConfigurationApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BalanceApi = exports.BalanceApiFactory = exports.BalanceApiFp = exports.BalanceApiAxiosParamCreator = exports.AuditApi = exports.AuditApiFactory = exports.AuditApiFp = exports.AuditApiAxiosParamCreator = exports.WebhookKind = exports.UserSource = exports.UserRole = exports.TransactionKind = exports.TargetMu = exports.TagValidatorType = exports.TagRuleKind = exports.TagDataType = exports.RuleKind = exports.RuleGroupState = exports.Repetition = exports.PromotionType = exports.ProgressState = exports.ProductUsage = exports.ProductStatus = exports.ProductRequestStatus = exports.ProductRequestApprovalRequestStatusEnum = exports.ProductKind = exports.ProductAvailability = exports.OrderKindEnum = exports.NotificationStatus = exports.NotificationKind = exports.EventCreationRequestKindEnum = exports.CustomDealRestrictionPriority = exports.Condition = exports.BonusMu = exports.BeneficiaryKind = exports.AuditLogObjectType = exports.AuditLogActionEnum = void 0;
26
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = exports.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.RewardApi = exports.RewardApiFactory = exports.RewardApiFp = exports.RewardApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.ListProgressIntervalEnum = exports.ProgressApi = exports.ProgressApiFactory = exports.ProgressApiFp = exports.ProgressApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = void 0;
26
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionApi = exports.TransactionApiFactory = exports.TransactionApiFp = exports.TransactionApiAxiosParamCreator = exports.TagApi = exports.TagApiFactory = exports.TagApiFp = exports.TagApiAxiosParamCreator = exports.SegmentApi = exports.SegmentApiFactory = exports.SegmentApiFp = exports.SegmentApiAxiosParamCreator = exports.PromotionApi = exports.PromotionApiFactory = exports.PromotionApiFp = exports.PromotionApiAxiosParamCreator = exports.ListProgressIntervalEnum = exports.ProgressApi = exports.ProgressApiFactory = exports.ProgressApiFp = exports.ProgressApiAxiosParamCreator = exports.ProductApi = exports.ProductApiFactory = exports.ProductApiFp = exports.ProductApiAxiosParamCreator = exports.OrderApi = exports.OrderApiFactory = exports.OrderApiFp = exports.OrderApiAxiosParamCreator = exports.NotificationApi = exports.NotificationApiFactory = exports.NotificationApiFp = exports.NotificationApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = void 0;
27
27
  const axios_1 = require("axios");
28
28
  // Some imports not used depending on template conditions
29
29
  // @ts-ignore
@@ -2310,6 +2310,31 @@ const ProductApiAxiosParamCreator = function (configuration) {
2310
2310
  options: localVarRequestOptions,
2311
2311
  };
2312
2312
  }),
2313
+ /**
2314
+ * Create upload URL for product
2315
+ * @summary Create upload URL for product
2316
+ * @param {*} [options] Override http request option.
2317
+ * @throws {RequiredError}
2318
+ */
2319
+ createUploadURL: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2320
+ const localVarPath = `/products/upload-urls`;
2321
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2322
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2323
+ let baseOptions;
2324
+ if (configuration) {
2325
+ baseOptions = configuration.baseOptions;
2326
+ }
2327
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2328
+ const localVarHeaderParameter = {};
2329
+ const localVarQueryParameter = {};
2330
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2331
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2332
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2333
+ return {
2334
+ url: (0, common_1.toPathString)(localVarUrlObj),
2335
+ options: localVarRequestOptions,
2336
+ };
2337
+ }),
2313
2338
  /**
2314
2339
  * Get a product by id
2315
2340
  * @summary Get a product by id
@@ -2410,6 +2435,62 @@ const ProductApiAxiosParamCreator = function (configuration) {
2410
2435
  options: localVarRequestOptions,
2411
2436
  };
2412
2437
  }),
2438
+ /**
2439
+ * List existing products
2440
+ * @summary List existing products
2441
+ * @param {ProductKind} [kind] The product kind
2442
+ * @param {string} [search] search string
2443
+ * @param {ProductUsage} [usage] The product usage
2444
+ * @param {ProductStatus} [status] The product status
2445
+ * @param {ProductAvailability} [availability] The product availability
2446
+ * @param {string} [segmentID] The segment ID
2447
+ * @param {string} [nextToken] This is the pagination token
2448
+ * @param {*} [options] Override http request option.
2449
+ * @throws {RequiredError}
2450
+ */
2451
+ listProducts: (kind, search, usage, status, availability, segmentID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
2452
+ const localVarPath = `/products`;
2453
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2454
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2455
+ let baseOptions;
2456
+ if (configuration) {
2457
+ baseOptions = configuration.baseOptions;
2458
+ }
2459
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2460
+ const localVarHeaderParameter = {};
2461
+ const localVarQueryParameter = {};
2462
+ // authentication jwt required
2463
+ // http bearer authentication required
2464
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2465
+ if (kind !== undefined) {
2466
+ localVarQueryParameter['kind'] = kind;
2467
+ }
2468
+ if (search !== undefined) {
2469
+ localVarQueryParameter['search'] = search;
2470
+ }
2471
+ if (usage !== undefined) {
2472
+ localVarQueryParameter['usage'] = usage;
2473
+ }
2474
+ if (status !== undefined) {
2475
+ localVarQueryParameter['status'] = status;
2476
+ }
2477
+ if (availability !== undefined) {
2478
+ localVarQueryParameter['availability'] = availability;
2479
+ }
2480
+ if (segmentID !== undefined) {
2481
+ localVarQueryParameter['segmentID'] = segmentID;
2482
+ }
2483
+ if (nextToken !== undefined) {
2484
+ localVarQueryParameter['nextToken'] = nextToken;
2485
+ }
2486
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2488
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2489
+ return {
2490
+ url: (0, common_1.toPathString)(localVarUrlObj),
2491
+ options: localVarRequestOptions,
2492
+ };
2493
+ }),
2413
2494
  /**
2414
2495
  * Update a product by id
2415
2496
  * @summary Update a product by id
@@ -2495,6 +2576,18 @@ const ProductApiFp = function (configuration) {
2495
2576
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2496
2577
  });
2497
2578
  },
2579
+ /**
2580
+ * Create upload URL for product
2581
+ * @summary Create upload URL for product
2582
+ * @param {*} [options] Override http request option.
2583
+ * @throws {RequiredError}
2584
+ */
2585
+ createUploadURL(options) {
2586
+ return __awaiter(this, void 0, void 0, function* () {
2587
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createUploadURL(options);
2588
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2589
+ });
2590
+ },
2498
2591
  /**
2499
2592
  * Get a product by id
2500
2593
  * @summary Get a product by id
@@ -2535,6 +2628,25 @@ const ProductApiFp = function (configuration) {
2535
2628
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2536
2629
  });
2537
2630
  },
2631
+ /**
2632
+ * List existing products
2633
+ * @summary List existing products
2634
+ * @param {ProductKind} [kind] The product kind
2635
+ * @param {string} [search] search string
2636
+ * @param {ProductUsage} [usage] The product usage
2637
+ * @param {ProductStatus} [status] The product status
2638
+ * @param {ProductAvailability} [availability] The product availability
2639
+ * @param {string} [segmentID] The segment ID
2640
+ * @param {string} [nextToken] This is the pagination token
2641
+ * @param {*} [options] Override http request option.
2642
+ * @throws {RequiredError}
2643
+ */
2644
+ listProducts(kind, search, usage, status, availability, segmentID, nextToken, options) {
2645
+ return __awaiter(this, void 0, void 0, function* () {
2646
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, search, usage, status, availability, segmentID, nextToken, options);
2647
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2648
+ });
2649
+ },
2538
2650
  /**
2539
2651
  * Update a product by id
2540
2652
  * @summary Update a product by id
@@ -2590,6 +2702,15 @@ const ProductApiFactory = function (configuration, basePath, axios) {
2590
2702
  createProductRequest(productRequestCreationRequest, options) {
2591
2703
  return localVarFp.createProductRequest(productRequestCreationRequest, options).then((request) => request(axios, basePath));
2592
2704
  },
2705
+ /**
2706
+ * Create upload URL for product
2707
+ * @summary Create upload URL for product
2708
+ * @param {*} [options] Override http request option.
2709
+ * @throws {RequiredError}
2710
+ */
2711
+ createUploadURL(options) {
2712
+ return localVarFp.createUploadURL(options).then((request) => request(axios, basePath));
2713
+ },
2593
2714
  /**
2594
2715
  * Get a product by id
2595
2716
  * @summary Get a product by id
@@ -2621,6 +2742,22 @@ const ProductApiFactory = function (configuration, basePath, axios) {
2621
2742
  listProductRequests(status, nextToken, options) {
2622
2743
  return localVarFp.listProductRequests(status, nextToken, options).then((request) => request(axios, basePath));
2623
2744
  },
2745
+ /**
2746
+ * List existing products
2747
+ * @summary List existing products
2748
+ * @param {ProductKind} [kind] The product kind
2749
+ * @param {string} [search] search string
2750
+ * @param {ProductUsage} [usage] The product usage
2751
+ * @param {ProductStatus} [status] The product status
2752
+ * @param {ProductAvailability} [availability] The product availability
2753
+ * @param {string} [segmentID] The segment ID
2754
+ * @param {string} [nextToken] This is the pagination token
2755
+ * @param {*} [options] Override http request option.
2756
+ * @throws {RequiredError}
2757
+ */
2758
+ listProducts(kind, search, usage, status, availability, segmentID, nextToken, options) {
2759
+ return localVarFp.listProducts(kind, search, usage, status, availability, segmentID, nextToken, options).then((request) => request(axios, basePath));
2760
+ },
2624
2761
  /**
2625
2762
  * Update a product by id
2626
2763
  * @summary Update a product by id
@@ -2676,6 +2813,16 @@ class ProductApi extends base_1.BaseAPI {
2676
2813
  createProductRequest(productRequestCreationRequest, options) {
2677
2814
  return (0, exports.ProductApiFp)(this.configuration).createProductRequest(productRequestCreationRequest, options).then((request) => request(this.axios, this.basePath));
2678
2815
  }
2816
+ /**
2817
+ * Create upload URL for product
2818
+ * @summary Create upload URL for product
2819
+ * @param {*} [options] Override http request option.
2820
+ * @throws {RequiredError}
2821
+ * @memberof ProductApi
2822
+ */
2823
+ createUploadURL(options) {
2824
+ return (0, exports.ProductApiFp)(this.configuration).createUploadURL(options).then((request) => request(this.axios, this.basePath));
2825
+ }
2679
2826
  /**
2680
2827
  * Get a product by id
2681
2828
  * @summary Get a product by id
@@ -2710,6 +2857,23 @@ class ProductApi extends base_1.BaseAPI {
2710
2857
  listProductRequests(status, nextToken, options) {
2711
2858
  return (0, exports.ProductApiFp)(this.configuration).listProductRequests(status, nextToken, options).then((request) => request(this.axios, this.basePath));
2712
2859
  }
2860
+ /**
2861
+ * List existing products
2862
+ * @summary List existing products
2863
+ * @param {ProductKind} [kind] The product kind
2864
+ * @param {string} [search] search string
2865
+ * @param {ProductUsage} [usage] The product usage
2866
+ * @param {ProductStatus} [status] The product status
2867
+ * @param {ProductAvailability} [availability] The product availability
2868
+ * @param {string} [segmentID] The segment ID
2869
+ * @param {string} [nextToken] This is the pagination token
2870
+ * @param {*} [options] Override http request option.
2871
+ * @throws {RequiredError}
2872
+ * @memberof ProductApi
2873
+ */
2874
+ listProducts(kind, search, usage, status, availability, segmentID, nextToken, options) {
2875
+ return (0, exports.ProductApiFp)(this.configuration).listProducts(kind, search, usage, status, availability, segmentID, nextToken, options).then((request) => request(this.axios, this.basePath));
2876
+ }
2713
2877
  /**
2714
2878
  * Update a product by id
2715
2879
  * @summary Update a product by id
@@ -3581,208 +3745,6 @@ class PromotionApi extends base_1.BaseAPI {
3581
3745
  }
3582
3746
  }
3583
3747
  exports.PromotionApi = PromotionApi;
3584
- /**
3585
- * RewardApi - axios parameter creator
3586
- * @export
3587
- */
3588
- const RewardApiAxiosParamCreator = function (configuration) {
3589
- return {
3590
- /**
3591
- * Create upload URL for reward
3592
- * @summary Create upload URL for reward
3593
- * @param {*} [options] Override http request option.
3594
- * @throws {RequiredError}
3595
- */
3596
- createUploadURL: (options = {}) => __awaiter(this, void 0, void 0, function* () {
3597
- const localVarPath = `/products/upload-urls`;
3598
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3599
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3600
- let baseOptions;
3601
- if (configuration) {
3602
- baseOptions = configuration.baseOptions;
3603
- }
3604
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3605
- const localVarHeaderParameter = {};
3606
- const localVarQueryParameter = {};
3607
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3608
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3609
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3610
- return {
3611
- url: (0, common_1.toPathString)(localVarUrlObj),
3612
- options: localVarRequestOptions,
3613
- };
3614
- }),
3615
- /**
3616
- * List existing products
3617
- * @summary List existing products
3618
- * @param {ProductKind} [kind] The product kind
3619
- * @param {string} [search] search string
3620
- * @param {ProductUsage} [usage] The product usage
3621
- * @param {ProductStatus} [status] The product status
3622
- * @param {ProductAvailability} [availability] The product availability
3623
- * @param {string} [segmentID] The segment ID
3624
- * @param {string} [nextToken] This is the pagination token
3625
- * @param {*} [options] Override http request option.
3626
- * @throws {RequiredError}
3627
- */
3628
- listProducts: (kind, search, usage, status, availability, segmentID, nextToken, options = {}) => __awaiter(this, void 0, void 0, function* () {
3629
- const localVarPath = `/products`;
3630
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3631
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3632
- let baseOptions;
3633
- if (configuration) {
3634
- baseOptions = configuration.baseOptions;
3635
- }
3636
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3637
- const localVarHeaderParameter = {};
3638
- const localVarQueryParameter = {};
3639
- // authentication jwt required
3640
- // http bearer authentication required
3641
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3642
- if (kind !== undefined) {
3643
- localVarQueryParameter['kind'] = kind;
3644
- }
3645
- if (search !== undefined) {
3646
- localVarQueryParameter['search'] = search;
3647
- }
3648
- if (usage !== undefined) {
3649
- localVarQueryParameter['usage'] = usage;
3650
- }
3651
- if (status !== undefined) {
3652
- localVarQueryParameter['status'] = status;
3653
- }
3654
- if (availability !== undefined) {
3655
- localVarQueryParameter['availability'] = availability;
3656
- }
3657
- if (segmentID !== undefined) {
3658
- localVarQueryParameter['segmentID'] = segmentID;
3659
- }
3660
- if (nextToken !== undefined) {
3661
- localVarQueryParameter['nextToken'] = nextToken;
3662
- }
3663
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3664
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3665
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3666
- return {
3667
- url: (0, common_1.toPathString)(localVarUrlObj),
3668
- options: localVarRequestOptions,
3669
- };
3670
- }),
3671
- };
3672
- };
3673
- exports.RewardApiAxiosParamCreator = RewardApiAxiosParamCreator;
3674
- /**
3675
- * RewardApi - functional programming interface
3676
- * @export
3677
- */
3678
- const RewardApiFp = function (configuration) {
3679
- const localVarAxiosParamCreator = (0, exports.RewardApiAxiosParamCreator)(configuration);
3680
- return {
3681
- /**
3682
- * Create upload URL for reward
3683
- * @summary Create upload URL for reward
3684
- * @param {*} [options] Override http request option.
3685
- * @throws {RequiredError}
3686
- */
3687
- createUploadURL(options) {
3688
- return __awaiter(this, void 0, void 0, function* () {
3689
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createUploadURL(options);
3690
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3691
- });
3692
- },
3693
- /**
3694
- * List existing products
3695
- * @summary List existing products
3696
- * @param {ProductKind} [kind] The product kind
3697
- * @param {string} [search] search string
3698
- * @param {ProductUsage} [usage] The product usage
3699
- * @param {ProductStatus} [status] The product status
3700
- * @param {ProductAvailability} [availability] The product availability
3701
- * @param {string} [segmentID] The segment ID
3702
- * @param {string} [nextToken] This is the pagination token
3703
- * @param {*} [options] Override http request option.
3704
- * @throws {RequiredError}
3705
- */
3706
- listProducts(kind, search, usage, status, availability, segmentID, nextToken, options) {
3707
- return __awaiter(this, void 0, void 0, function* () {
3708
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(kind, search, usage, status, availability, segmentID, nextToken, options);
3709
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3710
- });
3711
- },
3712
- };
3713
- };
3714
- exports.RewardApiFp = RewardApiFp;
3715
- /**
3716
- * RewardApi - factory interface
3717
- * @export
3718
- */
3719
- const RewardApiFactory = function (configuration, basePath, axios) {
3720
- const localVarFp = (0, exports.RewardApiFp)(configuration);
3721
- return {
3722
- /**
3723
- * Create upload URL for reward
3724
- * @summary Create upload URL for reward
3725
- * @param {*} [options] Override http request option.
3726
- * @throws {RequiredError}
3727
- */
3728
- createUploadURL(options) {
3729
- return localVarFp.createUploadURL(options).then((request) => request(axios, basePath));
3730
- },
3731
- /**
3732
- * List existing products
3733
- * @summary List existing products
3734
- * @param {ProductKind} [kind] The product kind
3735
- * @param {string} [search] search string
3736
- * @param {ProductUsage} [usage] The product usage
3737
- * @param {ProductStatus} [status] The product status
3738
- * @param {ProductAvailability} [availability] The product availability
3739
- * @param {string} [segmentID] The segment ID
3740
- * @param {string} [nextToken] This is the pagination token
3741
- * @param {*} [options] Override http request option.
3742
- * @throws {RequiredError}
3743
- */
3744
- listProducts(kind, search, usage, status, availability, segmentID, nextToken, options) {
3745
- return localVarFp.listProducts(kind, search, usage, status, availability, segmentID, nextToken, options).then((request) => request(axios, basePath));
3746
- },
3747
- };
3748
- };
3749
- exports.RewardApiFactory = RewardApiFactory;
3750
- /**
3751
- * RewardApi - object-oriented interface
3752
- * @export
3753
- * @class RewardApi
3754
- * @extends {BaseAPI}
3755
- */
3756
- class RewardApi extends base_1.BaseAPI {
3757
- /**
3758
- * Create upload URL for reward
3759
- * @summary Create upload URL for reward
3760
- * @param {*} [options] Override http request option.
3761
- * @throws {RequiredError}
3762
- * @memberof RewardApi
3763
- */
3764
- createUploadURL(options) {
3765
- return (0, exports.RewardApiFp)(this.configuration).createUploadURL(options).then((request) => request(this.axios, this.basePath));
3766
- }
3767
- /**
3768
- * List existing products
3769
- * @summary List existing products
3770
- * @param {ProductKind} [kind] The product kind
3771
- * @param {string} [search] search string
3772
- * @param {ProductUsage} [usage] The product usage
3773
- * @param {ProductStatus} [status] The product status
3774
- * @param {ProductAvailability} [availability] The product availability
3775
- * @param {string} [segmentID] The segment ID
3776
- * @param {string} [nextToken] This is the pagination token
3777
- * @param {*} [options] Override http request option.
3778
- * @throws {RequiredError}
3779
- * @memberof RewardApi
3780
- */
3781
- listProducts(kind, search, usage, status, availability, segmentID, nextToken, options) {
3782
- return (0, exports.RewardApiFp)(this.configuration).listProducts(kind, search, usage, status, availability, segmentID, nextToken, options).then((request) => request(this.axios, this.basePath));
3783
- }
3784
- }
3785
- exports.RewardApi = RewardApi;
3786
3748
  /**
3787
3749
  * SegmentApi - axios parameter creator
3788
3750
  * @export