flexinet-api 0.0.318-prerelease0 → 0.0.319-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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.318-prerelease0
1
+ ## flexinet-api@0.0.319-prerelease0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install flexinet-api@0.0.318-prerelease0 --save
39
+ npm install flexinet-api@0.0.319-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -2963,7 +2963,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration
2963
2963
  assertParamExists('listAuditLogs', 'objectType', objectType)
2964
2964
  // verify required parameter 'objectID' is not null or undefined
2965
2965
  assertParamExists('listAuditLogs', 'objectID', objectID)
2966
- const localVarPath = `/audit/{objectType}/{objectID}`
2966
+ const localVarPath = `/admins/audit/{objectType}/{objectID}`
2967
2967
  .replace(`{${"objectType"}}`, encodeURIComponent(String(objectType)))
2968
2968
  .replace(`{${"objectID"}}`, encodeURIComponent(String(objectID)));
2969
2969
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -3003,7 +3003,7 @@ export const AuditApiAxiosParamCreator = function (configuration?: Configuration
3003
3003
  listUserAuditLogs: async (userID: string, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3004
3004
  // verify required parameter 'userID' is not null or undefined
3005
3005
  assertParamExists('listUserAuditLogs', 'userID', userID)
3006
- const localVarPath = `/audit/user/{userID}`
3006
+ const localVarPath = `/admins/audit/user/{userID}`
3007
3007
  .replace(`{${"userID"}}`, encodeURIComponent(String(userID)));
3008
3008
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3009
3009
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3159,7 +3159,7 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
3159
3159
  assertParamExists('getBalance', 'beneficiaryValue', beneficiaryValue)
3160
3160
  // verify required parameter 'kind' is not null or undefined
3161
3161
  assertParamExists('getBalance', 'kind', kind)
3162
- const localVarPath = `/balances`;
3162
+ const localVarPath = `/admins/balances`;
3163
3163
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3164
3164
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3165
3165
  let baseOptions;
@@ -3239,7 +3239,7 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
3239
3239
  transferBalance: async (beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3240
3240
  // verify required parameter 'beneficiaryValue' is not null or undefined
3241
3241
  assertParamExists('transferBalance', 'beneficiaryValue', beneficiaryValue)
3242
- const localVarPath = `/balances/{beneficiaryValue}/transfer`
3242
+ const localVarPath = `/admins/balances/{beneficiaryValue}/transfer`
3243
3243
  .replace(`{${"beneficiaryValue"}}`, encodeURIComponent(String(beneficiaryValue)));
3244
3244
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3245
3245
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3277,7 +3277,7 @@ export const BalanceApiAxiosParamCreator = function (configuration?: Configurati
3277
3277
  updateBalance: async (beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3278
3278
  // verify required parameter 'beneficiaryValue' is not null or undefined
3279
3279
  assertParamExists('updateBalance', 'beneficiaryValue', beneficiaryValue)
3280
- const localVarPath = `/balances/{beneficiaryValue}`
3280
+ const localVarPath = `/admins/balances/{beneficiaryValue}`
3281
3281
  .replace(`{${"beneficiaryValue"}}`, encodeURIComponent(String(beneficiaryValue)));
3282
3282
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3283
3283
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3594,7 +3594,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
3594
3594
  createClient: async (clientCreationRequest: ClientCreationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3595
3595
  // verify required parameter 'clientCreationRequest' is not null or undefined
3596
3596
  assertParamExists('createClient', 'clientCreationRequest', clientCreationRequest)
3597
- const localVarPath = `/clients`;
3597
+ const localVarPath = `/admins/clients`;
3598
3598
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3599
3599
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3600
3600
  let baseOptions;
@@ -3634,7 +3634,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
3634
3634
  getClient: async (clientID: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3635
3635
  // verify required parameter 'clientID' is not null or undefined
3636
3636
  assertParamExists('getClient', 'clientID', clientID)
3637
- const localVarPath = `/clients/{clientID}`
3637
+ const localVarPath = `/admins/clients/{clientID}`
3638
3638
  .replace(`{${"clientID"}}`, encodeURIComponent(String(clientID)));
3639
3639
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3640
3640
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3671,7 +3671,7 @@ export const ClientApiAxiosParamCreator = function (configuration?: Configuratio
3671
3671
  * @throws {RequiredError}
3672
3672
  */
3673
3673
  listClients: async (nextToken?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3674
- const localVarPath = `/clients`;
3674
+ const localVarPath = `/admins/clients`;
3675
3675
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3676
3676
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3677
3677
  let baseOptions;
@@ -3857,7 +3857,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
3857
3857
  createConfiguration: async (backofficeConfig: BackofficeConfig, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3858
3858
  // verify required parameter 'backofficeConfig' is not null or undefined
3859
3859
  assertParamExists('createConfiguration', 'backofficeConfig', backofficeConfig)
3860
- const localVarPath = `/configurations`;
3860
+ const localVarPath = `/admins/configurations`;
3861
3861
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3862
3862
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3863
3863
  let baseOptions;
@@ -3896,7 +3896,7 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
3896
3896
  * @throws {RequiredError}
3897
3897
  */
3898
3898
  listConfigurations: async (nextToken?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3899
- const localVarPath = `/configurations`;
3899
+ const localVarPath = `/admins/configurations`;
3900
3900
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3901
3901
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3902
3902
  let baseOptions;
@@ -4049,7 +4049,7 @@ export const CustomDealsApiAxiosParamCreator = function (configuration?: Configu
4049
4049
  createCustomDealRestrictions: async (customDealRestrictionRequest: CustomDealRestrictionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4050
4050
  // verify required parameter 'customDealRestrictionRequest' is not null or undefined
4051
4051
  assertParamExists('createCustomDealRestrictions', 'customDealRestrictionRequest', customDealRestrictionRequest)
4052
- const localVarPath = `/custom-deals/restrictions`;
4052
+ const localVarPath = `/admins/custom-deals/restrictions`;
4053
4053
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4054
4054
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4055
4055
  let baseOptions;
@@ -4082,7 +4082,7 @@ export const CustomDealsApiAxiosParamCreator = function (configuration?: Configu
4082
4082
  * @throws {RequiredError}
4083
4083
  */
4084
4084
  listCustomDealRestrictions: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4085
- const localVarPath = `/custom-deals/restrictions`;
4085
+ const localVarPath = `/admins/custom-deals/restrictions`;
4086
4086
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4087
4087
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4088
4088
  let baseOptions;
@@ -4214,7 +4214,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4214
4214
  * @throws {RequiredError}
4215
4215
  */
4216
4216
  generateApiKey: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4217
- const localVarPath = `/integrations/apikey`;
4217
+ const localVarPath = `/admins/integrations/apikey`;
4218
4218
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4219
4219
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4220
4220
  let baseOptions;
@@ -4251,7 +4251,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4251
4251
  importEvent: async (eventCreationRequest: Array<EventCreationRequest>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4252
4252
  // verify required parameter 'eventCreationRequest' is not null or undefined
4253
4253
  assertParamExists('importEvent', 'eventCreationRequest', eventCreationRequest)
4254
- const localVarPath = `/events`;
4254
+ const localVarPath = `/admins/events`;
4255
4255
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4256
4256
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4257
4257
  let baseOptions;
@@ -4288,7 +4288,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4288
4288
  * @throws {RequiredError}
4289
4289
  */
4290
4290
  listWebhooks: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4291
- const localVarPath = `/integrations/webhooks`;
4291
+ const localVarPath = `/admins/integrations/webhooks`;
4292
4292
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4293
4293
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4294
4294
  let baseOptions;
@@ -4325,7 +4325,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4325
4325
  setWebhook: async (webhook: Webhook, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4326
4326
  // verify required parameter 'webhook' is not null or undefined
4327
4327
  assertParamExists('setWebhook', 'webhook', webhook)
4328
- const localVarPath = `/integrations/webhooks`;
4328
+ const localVarPath = `/admins/integrations/webhooks`;
4329
4329
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4330
4330
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4331
4331
  let baseOptions;
@@ -4362,7 +4362,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4362
4362
  * @throws {RequiredError}
4363
4363
  */
4364
4364
  testApiKey: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4365
- const localVarPath = `/integrations/apikey`;
4365
+ const localVarPath = `/admins/integrations/apikey`;
4366
4366
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4367
4367
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4368
4368
  let baseOptions;
@@ -4945,7 +4945,7 @@ export const OrderApiAxiosParamCreator = function (configuration?: Configuration
4945
4945
  getOrder: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4946
4946
  // verify required parameter 'id' is not null or undefined
4947
4947
  assertParamExists('getOrder', 'id', id)
4948
- const localVarPath = `/orders/{id}`
4948
+ const localVarPath = `/users/orders/{id}`
4949
4949
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4950
4950
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4951
4951
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5197,7 +5197,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5197
5197
  approveProduct: async (id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5198
5198
  // verify required parameter 'id' is not null or undefined
5199
5199
  assertParamExists('approveProduct', 'id', id)
5200
- const localVarPath = `/products/requests/{id}`
5200
+ const localVarPath = `/admins/products/requests/{id}`
5201
5201
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5202
5202
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5203
5203
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5229,14 +5229,14 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5229
5229
  };
5230
5230
  },
5231
5231
  /**
5232
- * Get a product by id
5233
- * @summary Get a product by id
5232
+ * Create multiple products
5233
+ * @summary Create multiple products
5234
5234
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5235
5235
  * @param {*} [options] Override http request option.
5236
5236
  * @throws {RequiredError}
5237
5237
  */
5238
5238
  bulkCreateProducts: async (productBulkCreationRequest?: ProductBulkCreationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5239
- const localVarPath = `/products/bulk`;
5239
+ const localVarPath = `/admins/products/bulk`;
5240
5240
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5241
5241
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5242
5242
  let baseOptions;
@@ -5274,7 +5274,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5274
5274
  * @throws {RequiredError}
5275
5275
  */
5276
5276
  createProduct: async (productCreationRequest?: ProductCreationRequest | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5277
- const localVarPath = `/products`;
5277
+ const localVarPath = `/admins/products`;
5278
5278
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5279
5279
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5280
5280
  let baseOptions;
@@ -5349,7 +5349,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5349
5349
  * @throws {RequiredError}
5350
5350
  */
5351
5351
  createUploadURL: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5352
- const localVarPath = `/products/upload-urls`;
5352
+ const localVarPath = `/admins/products/upload-urls`;
5353
5353
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5354
5354
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5355
5355
  let baseOptions;
@@ -5382,7 +5382,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5382
5382
  getProductById: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5383
5383
  // verify required parameter 'id' is not null or undefined
5384
5384
  assertParamExists('getProductById', 'id', id)
5385
- const localVarPath = `/products/{id}`
5385
+ const localVarPath = `/admins/products/{id}`
5386
5386
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5387
5387
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5388
5388
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5420,7 +5420,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5420
5420
  getProductRequestById: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5421
5421
  // verify required parameter 'id' is not null or undefined
5422
5422
  assertParamExists('getProductRequestById', 'id', id)
5423
- const localVarPath = `/products/requests/{id}`
5423
+ const localVarPath = `/admins/products/requests/{id}`
5424
5424
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5425
5425
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5426
5426
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5495,7 +5495,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5495
5495
  * @throws {RequiredError}
5496
5496
  */
5497
5497
  listProductRequests: async (status?: ProductRequestStatus, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5498
- const localVarPath = `/products/requests`;
5498
+ const localVarPath = `/admins/products/requests`;
5499
5499
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5500
5500
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5501
5501
  let baseOptions;
@@ -5546,7 +5546,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5546
5546
  * @throws {RequiredError}
5547
5547
  */
5548
5548
  listProducts: async (kind?: ProductKind, categoryID?: string, search?: string, usage?: ProductUsage, status?: ProductStatus, availability?: ProductAvailability, segmentID?: string, nextToken?: string, ids?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5549
- const localVarPath = `/products`;
5549
+ const localVarPath = `/admins/products`;
5550
5550
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5551
5551
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5552
5552
  let baseOptions;
@@ -5620,7 +5620,7 @@ export const ProductApiAxiosParamCreator = function (configuration?: Configurati
5620
5620
  updateProduct: async (id: string, productCreationRequest?: ProductCreationRequest | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5621
5621
  // verify required parameter 'id' is not null or undefined
5622
5622
  assertParamExists('updateProduct', 'id', id)
5623
- const localVarPath = `/products/{id}`
5623
+ const localVarPath = `/admins/products/{id}`
5624
5624
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5625
5625
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5626
5626
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5674,8 +5674,8 @@ export const ProductApiFp = function(configuration?: Configuration) {
5674
5674
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5675
5675
  },
5676
5676
  /**
5677
- * Get a product by id
5678
- * @summary Get a product by id
5677
+ * Create multiple products
5678
+ * @summary Create multiple products
5679
5679
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5680
5680
  * @param {*} [options] Override http request option.
5681
5681
  * @throws {RequiredError}
@@ -5814,8 +5814,8 @@ export const ProductApiFactory = function (configuration?: Configuration, basePa
5814
5814
  return localVarFp.approveProduct(id, productRequestApprovalRequest, options).then((request) => request(axios, basePath));
5815
5815
  },
5816
5816
  /**
5817
- * Get a product by id
5818
- * @summary Get a product by id
5817
+ * Create multiple products
5818
+ * @summary Create multiple products
5819
5819
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5820
5820
  * @param {*} [options] Override http request option.
5821
5821
  * @throws {RequiredError}
@@ -5946,8 +5946,8 @@ export class ProductApi extends BaseAPI {
5946
5946
  }
5947
5947
 
5948
5948
  /**
5949
- * Get a product by id
5950
- * @summary Get a product by id
5949
+ * Create multiple products
5950
+ * @summary Create multiple products
5951
5951
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5952
5952
  * @param {*} [options] Override http request option.
5953
5953
  * @throws {RequiredError}
@@ -6098,7 +6098,7 @@ export const ProgressApiAxiosParamCreator = function (configuration?: Configurat
6098
6098
  listProgress: async (id: string, periodID?: number, userID?: string, clientID?: string, interval?: ListProgressIntervalEnum, nextToken?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6099
6099
  // verify required parameter 'id' is not null or undefined
6100
6100
  assertParamExists('listProgress', 'id', id)
6101
- const localVarPath = `/promotions/{id}/progress`
6101
+ const localVarPath = `/admins/promotions/{id}/progress`
6102
6102
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6103
6103
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6104
6104
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6341,7 +6341,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6341
6341
  claimPromotion: async (id: string, promotionClaimRequest?: PromotionClaimRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6342
6342
  // verify required parameter 'id' is not null or undefined
6343
6343
  assertParamExists('claimPromotion', 'id', id)
6344
- const localVarPath = `/promotions/{id}/claims`
6344
+ const localVarPath = `/admins/promotions/{id}/claims`
6345
6345
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6346
6346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6347
6347
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6381,7 +6381,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6381
6381
  assertParamExists('claimPromotionProgress', 'id', id)
6382
6382
  // verify required parameter 'progressID' is not null or undefined
6383
6383
  assertParamExists('claimPromotionProgress', 'progressID', progressID)
6384
- const localVarPath = `/promotions/{id}/progress/{progressID}/claims`
6384
+ const localVarPath = `/adminspromotions/{id}/progress/{progressID}/claims`
6385
6385
  .replace(`{${"id"}}`, encodeURIComponent(String(id)))
6386
6386
  .replace(`{${"progressID"}}`, encodeURIComponent(String(progressID)));
6387
6387
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -6488,7 +6488,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6488
6488
  createPromotion: async (promotionRequest: PromotionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6489
6489
  // verify required parameter 'promotionRequest' is not null or undefined
6490
6490
  assertParamExists('createPromotion', 'promotionRequest', promotionRequest)
6491
- const localVarPath = `/promotions`;
6491
+ const localVarPath = `/admins/promotions`;
6492
6492
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6493
6493
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6494
6494
  let baseOptions;
@@ -6528,7 +6528,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6528
6528
  deletePromotion: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6529
6529
  // verify required parameter 'id' is not null or undefined
6530
6530
  assertParamExists('deletePromotion', 'id', id)
6531
- const localVarPath = `/promotions/{id}`
6531
+ const localVarPath = `/admins/promotions/{id}`
6532
6532
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6533
6533
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6534
6534
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6566,7 +6566,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6566
6566
  getPromotion: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6567
6567
  // verify required parameter 'id' is not null or undefined
6568
6568
  assertParamExists('getPromotion', 'id', id)
6569
- const localVarPath = `/promotions/{id}`
6569
+ const localVarPath = `/admins/promotions/{id}`
6570
6570
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6571
6571
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6572
6572
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6648,7 +6648,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6648
6648
  * @throws {RequiredError}
6649
6649
  */
6650
6650
  listPromotions: async (nextToken?: string, tags?: string, segmentId?: string, ownerID?: string, type?: PromotionType, startingAfter?: string, endingBefore?: string, clientID?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6651
- const localVarPath = `/promotions`;
6651
+ const localVarPath = `/admins/promotions`;
6652
6652
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6653
6653
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6654
6654
  let baseOptions;
@@ -6791,7 +6791,7 @@ export const PromotionApiAxiosParamCreator = function (configuration?: Configura
6791
6791
  assertParamExists('updatePromotion', 'id', id)
6792
6792
  // verify required parameter 'updatePromotionRequest' is not null or undefined
6793
6793
  assertParamExists('updatePromotion', 'updatePromotionRequest', updatePromotionRequest)
6794
- const localVarPath = `/promotions/{id}`
6794
+ const localVarPath = `/admins/promotions/{id}`
6795
6795
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6796
6796
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6797
6797
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7399,7 +7399,7 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
7399
7399
  * @throws {RequiredError}
7400
7400
  */
7401
7401
  createSegment: async (createSegmentRequest?: CreateSegmentRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7402
- const localVarPath = `/segments`;
7402
+ const localVarPath = `/admins/segments`;
7403
7403
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7404
7404
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7405
7405
  let baseOptions;
@@ -7439,7 +7439,7 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
7439
7439
  getSegmentById: async (segmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7440
7440
  // verify required parameter 'segmentId' is not null or undefined
7441
7441
  assertParamExists('getSegmentById', 'segmentId', segmentId)
7442
- const localVarPath = `/segments/{segmentId}`
7442
+ const localVarPath = `/admins/segments/{segmentId}`
7443
7443
  .replace(`{${"segmentId"}}`, encodeURIComponent(String(segmentId)));
7444
7444
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7445
7445
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7476,7 +7476,7 @@ export const SegmentApiAxiosParamCreator = function (configuration?: Configurati
7476
7476
  * @throws {RequiredError}
7477
7477
  */
7478
7478
  listSegments: async (nextToken?: string, search?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7479
- const localVarPath = `/segments`;
7479
+ const localVarPath = `/admins/segments`;
7480
7480
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7481
7481
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7482
7482
  let baseOptions;
@@ -7660,7 +7660,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
7660
7660
  * @throws {RequiredError}
7661
7661
  */
7662
7662
  createTag: async (createTagRequest?: CreateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7663
- const localVarPath = `/tags`;
7663
+ const localVarPath = `/admins/tags`;
7664
7664
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7665
7665
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7666
7666
  let baseOptions;
@@ -7700,7 +7700,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
7700
7700
  deleteTag: async (key: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7701
7701
  // verify required parameter 'key' is not null or undefined
7702
7702
  assertParamExists('deleteTag', 'key', key)
7703
- const localVarPath = `/tags/{key}`
7703
+ const localVarPath = `/admins/tags/{key}`
7704
7704
  .replace(`{${"key"}}`, encodeURIComponent(String(key)));
7705
7705
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7706
7706
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7738,7 +7738,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
7738
7738
  getTagByKey: async (key: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7739
7739
  // verify required parameter 'key' is not null or undefined
7740
7740
  assertParamExists('getTagByKey', 'key', key)
7741
- const localVarPath = `/tags/{key}`
7741
+ const localVarPath = `/admins/tags/{key}`
7742
7742
  .replace(`{${"key"}}`, encodeURIComponent(String(key)));
7743
7743
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7744
7744
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7774,7 +7774,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
7774
7774
  * @throws {RequiredError}
7775
7775
  */
7776
7776
  listTags: async (tagKey?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7777
- const localVarPath = `/tags`;
7777
+ const localVarPath = `/admins/tags`;
7778
7778
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7779
7779
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7780
7780
  let baseOptions;
@@ -7816,7 +7816,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
7816
7816
  updateTag: async (key: string, createTagRequest?: CreateTagRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7817
7817
  // verify required parameter 'key' is not null or undefined
7818
7818
  assertParamExists('updateTag', 'key', key)
7819
- const localVarPath = `/tags/{key}`
7819
+ const localVarPath = `/admins/tags/{key}`
7820
7820
  .replace(`{${"key"}}`, encodeURIComponent(String(key)));
7821
7821
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7822
7822
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8063,7 +8063,7 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
8063
8063
  * @throws {RequiredError}
8064
8064
  */
8065
8065
  listTransactions: async (paginationToken?: string, clientID?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8066
- const localVarPath = `/transactions`;
8066
+ const localVarPath = `/admins/transactions`;
8067
8067
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8068
8068
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8069
8069
  let baseOptions;
@@ -8183,7 +8183,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
8183
8183
  getUserByID: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8184
8184
  // verify required parameter 'id' is not null or undefined
8185
8185
  assertParamExists('getUserByID', 'id', id)
8186
- const localVarPath = `/users/{id}`
8186
+ const localVarPath = `/admins/users/{id}`
8187
8187
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8188
8188
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8189
8189
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8221,7 +8221,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
8221
8221
  getUserSubordinates: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8222
8222
  // verify required parameter 'id' is not null or undefined
8223
8223
  assertParamExists('getUserSubordinates', 'id', id)
8224
- const localVarPath = `/admin/users/{id}/team`
8224
+ const localVarPath = `/admins/users/{id}/team`
8225
8225
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
8226
8226
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8227
8227
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -8262,7 +8262,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
8262
8262
  * @throws {RequiredError}
8263
8263
  */
8264
8264
  listUsers: async (nextToken?: string, role?: UserRole, search?: string, clientID?: string, userIds?: string, source?: UserSource, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8265
- const localVarPath = `/users`;
8265
+ const localVarPath = `/admins/users`;
8266
8266
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8267
8267
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8268
8268
  let baseOptions;
package/dist/api.d.ts CHANGED
@@ -3928,8 +3928,8 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
3928
3928
  */
3929
3929
  approveProduct: (id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3930
3930
  /**
3931
- * Get a product by id
3932
- * @summary Get a product by id
3931
+ * Create multiple products
3932
+ * @summary Create multiple products
3933
3933
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3934
3934
  * @param {*} [options] Override http request option.
3935
3935
  * @throws {RequiredError}
@@ -4032,8 +4032,8 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
4032
4032
  */
4033
4033
  approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestApprovalResponse>>;
4034
4034
  /**
4035
- * Get a product by id
4036
- * @summary Get a product by id
4035
+ * Create multiple products
4036
+ * @summary Create multiple products
4037
4037
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
4038
4038
  * @param {*} [options] Override http request option.
4039
4039
  * @throws {RequiredError}
@@ -4136,8 +4136,8 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
4136
4136
  */
4137
4137
  approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: any): AxiosPromise<ProductRequestApprovalResponse>;
4138
4138
  /**
4139
- * Get a product by id
4140
- * @summary Get a product by id
4139
+ * Create multiple products
4140
+ * @summary Create multiple products
4141
4141
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
4142
4142
  * @param {*} [options] Override http request option.
4143
4143
  * @throws {RequiredError}
@@ -4243,8 +4243,8 @@ export declare class ProductApi extends BaseAPI {
4243
4243
  */
4244
4244
  approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRequestApprovalResponse, any>>;
4245
4245
  /**
4246
- * Get a product by id
4247
- * @summary Get a product by id
4246
+ * Create multiple products
4247
+ * @summary Create multiple products
4248
4248
  * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
4249
4249
  * @param {*} [options] Override http request option.
4250
4250
  * @throws {RequiredError}