@infisale-client/api 1.3.30 → 1.3.32
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/api.d.ts +790 -579
- package/dist/api/api.js +315 -263
- package/dist/api/api.mjs +311 -259
- package/package.json +2 -2
package/dist/api/api.mjs
CHANGED
|
@@ -431,14 +431,15 @@ export const IPageCollectionQueryParamsDateFieldEnum = {
|
|
|
431
431
|
CREATED_AT: 'createdAt',
|
|
432
432
|
UPDATED_AT: 'updatedAt'
|
|
433
433
|
};
|
|
434
|
-
export const IPaymentPostRequestPeriodEnum = {
|
|
435
|
-
MONTHLY: 'monthly',
|
|
436
|
-
YEARLY: 'yearly'
|
|
437
|
-
};
|
|
438
434
|
export const IPlanCollectionQueryParamsDateFieldEnum = {
|
|
439
435
|
CREATED_AT: 'createdAt',
|
|
440
436
|
UPDATED_AT: 'updatedAt'
|
|
441
437
|
};
|
|
438
|
+
export const IPlanCollectionQueryParamsCategoryEnum = {
|
|
439
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
440
|
+
B2C: 'b2c',
|
|
441
|
+
CMS: 'cms'
|
|
442
|
+
};
|
|
442
443
|
export const IProductCollectionQueryParamsDateFieldEnum = {
|
|
443
444
|
CREATED_AT: 'createdAt',
|
|
444
445
|
UPDATED_AT: 'updatedAt'
|
|
@@ -450,6 +451,10 @@ export const IProductCollectionQueryParamsSortEnum = {
|
|
|
450
451
|
RATING: 'rating',
|
|
451
452
|
REVIEW_COUNT: 'reviewCount'
|
|
452
453
|
};
|
|
454
|
+
export const ISubscriptionPostRequestPeriodEnum = {
|
|
455
|
+
MONTHLY: 'monthly',
|
|
456
|
+
YEARLY: 'yearly'
|
|
457
|
+
};
|
|
453
458
|
export const IUniqueCollectionQueryParamsDateFieldEnum = {
|
|
454
459
|
CREATED_AT: 'createdAt',
|
|
455
460
|
UPDATED_AT: 'updatedAt'
|
|
@@ -612,30 +617,10 @@ export const PaymentMethodEnum = {
|
|
|
612
617
|
CASH_ON_DELIVERY: 'cash_on_delivery',
|
|
613
618
|
CARD_ON_DELIVERY: 'card_on_delivery'
|
|
614
619
|
};
|
|
615
|
-
/**
|
|
616
|
-
*
|
|
617
|
-
* @export
|
|
618
|
-
* @enum {string}
|
|
619
|
-
*/
|
|
620
|
-
export const PaymentStatusEnum = {
|
|
621
|
-
WAITING_APPROVAL: 'waiting_approval',
|
|
622
|
-
PAID: 'paid',
|
|
623
|
-
FAILED: 'failed'
|
|
624
|
-
};
|
|
625
620
|
export const PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDateFieldEnum = {
|
|
626
621
|
CREATED_AT: 'createdAt',
|
|
627
622
|
UPDATED_AT: 'updatedAt'
|
|
628
623
|
};
|
|
629
|
-
/**
|
|
630
|
-
*
|
|
631
|
-
* @export
|
|
632
|
-
* @enum {string}
|
|
633
|
-
*/
|
|
634
|
-
export const PlanCurrencyEnum = {
|
|
635
|
-
TRY: 'try',
|
|
636
|
-
EUR: 'eur',
|
|
637
|
-
USD: 'usd'
|
|
638
|
-
};
|
|
639
624
|
/**
|
|
640
625
|
*
|
|
641
626
|
* @export
|
|
@@ -652,12 +637,15 @@ export const PlanStatusEnum = {
|
|
|
652
637
|
* @enum {string}
|
|
653
638
|
*/
|
|
654
639
|
export const PlanTypeEnum = {
|
|
640
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
655
641
|
STANDARD_B2C: 'standard-b2c',
|
|
656
642
|
ADVANCED_B2C: 'advanced-b2c',
|
|
657
643
|
PREMIUM_B2C: 'premium-b2c',
|
|
644
|
+
ENTERPRISE_B2C: 'enterprise-b2c',
|
|
658
645
|
STANDARD_CMS: 'standard-cms',
|
|
659
646
|
ADVANCED_CMS: 'advanced-cms',
|
|
660
|
-
PREMIUM_CMS: 'premium-cms'
|
|
647
|
+
PREMIUM_CMS: 'premium-cms',
|
|
648
|
+
ENTERPRISE_CMS: 'enterprise-cms'
|
|
661
649
|
};
|
|
662
650
|
/**
|
|
663
651
|
*
|
|
@@ -686,7 +674,7 @@ export const SitemapTypeEnum = {
|
|
|
686
674
|
PRODUCTS: 'products',
|
|
687
675
|
PAGES: 'pages',
|
|
688
676
|
COLLECTIONS: 'collections',
|
|
689
|
-
|
|
677
|
+
BLOGS: 'blogs',
|
|
690
678
|
UNIQUE_PAGES: 'unique-pages'
|
|
691
679
|
};
|
|
692
680
|
/**
|
|
@@ -698,6 +686,31 @@ export const StoreLocationEnum = {
|
|
|
698
686
|
DE: 'DE',
|
|
699
687
|
TR: 'TR'
|
|
700
688
|
};
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @export
|
|
692
|
+
* @enum {string}
|
|
693
|
+
*/
|
|
694
|
+
export const SubscriptionPlanEnum = {
|
|
695
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
696
|
+
STANDARD_B2C: 'standard-b2c',
|
|
697
|
+
ADVANCED_B2C: 'advanced-b2c',
|
|
698
|
+
PREMIUM_B2C: 'premium-b2c',
|
|
699
|
+
STANDARD_CMS: 'standard-cms',
|
|
700
|
+
ADVANCED_CMS: 'advanced-cms',
|
|
701
|
+
PREMIUM_CMS: 'premium-cms'
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
*
|
|
705
|
+
* @export
|
|
706
|
+
* @enum {string}
|
|
707
|
+
*/
|
|
708
|
+
export const SubscriptionStatusEnum = {
|
|
709
|
+
ACTIVE: 'active',
|
|
710
|
+
CANCELED: 'canceled',
|
|
711
|
+
EXPIRED: 'expired',
|
|
712
|
+
PENDING: 'pending'
|
|
713
|
+
};
|
|
701
714
|
/**
|
|
702
715
|
*
|
|
703
716
|
* @export
|
|
@@ -3648,18 +3661,18 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3648
3661
|
},
|
|
3649
3662
|
/**
|
|
3650
3663
|
*
|
|
3651
|
-
* @param {string}
|
|
3652
|
-
* @param {
|
|
3664
|
+
* @param {string} companyId
|
|
3665
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
3653
3666
|
* @param {*} [options] Override http request option.
|
|
3654
3667
|
* @throws {RequiredError}
|
|
3655
3668
|
*/
|
|
3656
|
-
|
|
3657
|
-
// verify required parameter '
|
|
3658
|
-
assertParamExists('
|
|
3659
|
-
// verify required parameter '
|
|
3660
|
-
assertParamExists('
|
|
3661
|
-
const localVarPath = `/api/companies/{
|
|
3662
|
-
.replace(`{${"
|
|
3669
|
+
createCompanyLanguage: async (companyId, iCompanyCreateLanguageRequest, options = {}) => {
|
|
3670
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3671
|
+
assertParamExists('createCompanyLanguage', 'companyId', companyId);
|
|
3672
|
+
// verify required parameter 'iCompanyCreateLanguageRequest' is not null or undefined
|
|
3673
|
+
assertParamExists('createCompanyLanguage', 'iCompanyCreateLanguageRequest', iCompanyCreateLanguageRequest);
|
|
3674
|
+
const localVarPath = `/api/companies/{companyId}/languages`
|
|
3675
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)));
|
|
3663
3676
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3664
3677
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3665
3678
|
let baseOptions;
|
|
@@ -3673,7 +3686,7 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3673
3686
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3674
3687
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3675
3688
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3676
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3689
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyCreateLanguageRequest, localVarRequestOptions, configuration);
|
|
3677
3690
|
return {
|
|
3678
3691
|
url: toPathString(localVarUrlObj),
|
|
3679
3692
|
options: localVarRequestOptions,
|
|
@@ -3745,6 +3758,39 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3745
3758
|
options: localVarRequestOptions,
|
|
3746
3759
|
};
|
|
3747
3760
|
},
|
|
3761
|
+
/**
|
|
3762
|
+
*
|
|
3763
|
+
* @param {string} id
|
|
3764
|
+
* @param {ISubscriptionPostRequest} iSubscriptionPostRequest
|
|
3765
|
+
* @param {*} [options] Override http request option.
|
|
3766
|
+
* @throws {RequiredError}
|
|
3767
|
+
*/
|
|
3768
|
+
createCompanySubscription: async (id, iSubscriptionPostRequest, options = {}) => {
|
|
3769
|
+
// verify required parameter 'id' is not null or undefined
|
|
3770
|
+
assertParamExists('createCompanySubscription', 'id', id);
|
|
3771
|
+
// verify required parameter 'iSubscriptionPostRequest' is not null or undefined
|
|
3772
|
+
assertParamExists('createCompanySubscription', 'iSubscriptionPostRequest', iSubscriptionPostRequest);
|
|
3773
|
+
const localVarPath = `/api/companies/{id}/subscriptions`
|
|
3774
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3776
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3777
|
+
let baseOptions;
|
|
3778
|
+
if (configuration) {
|
|
3779
|
+
baseOptions = configuration.baseOptions;
|
|
3780
|
+
}
|
|
3781
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3782
|
+
const localVarHeaderParameter = {};
|
|
3783
|
+
const localVarQueryParameter = {};
|
|
3784
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3785
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3786
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3787
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3788
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iSubscriptionPostRequest, localVarRequestOptions, configuration);
|
|
3789
|
+
return {
|
|
3790
|
+
url: toPathString(localVarUrlObj),
|
|
3791
|
+
options: localVarRequestOptions,
|
|
3792
|
+
};
|
|
3793
|
+
},
|
|
3748
3794
|
/**
|
|
3749
3795
|
*
|
|
3750
3796
|
* @param {string} id
|
|
@@ -4262,34 +4308,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4262
4308
|
options: localVarRequestOptions,
|
|
4263
4309
|
};
|
|
4264
4310
|
},
|
|
4265
|
-
/**
|
|
4266
|
-
*
|
|
4267
|
-
* @param {string} id
|
|
4268
|
-
* @param {*} [options] Override http request option.
|
|
4269
|
-
* @throws {RequiredError}
|
|
4270
|
-
*/
|
|
4271
|
-
getCompanyMonthlyBandwidth: async (id, options = {}) => {
|
|
4272
|
-
// verify required parameter 'id' is not null or undefined
|
|
4273
|
-
assertParamExists('getCompanyMonthlyBandwidth', 'id', id);
|
|
4274
|
-
const localVarPath = `/api/companies/{id}/monthly-bandwidth`
|
|
4275
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4276
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4277
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4278
|
-
let baseOptions;
|
|
4279
|
-
if (configuration) {
|
|
4280
|
-
baseOptions = configuration.baseOptions;
|
|
4281
|
-
}
|
|
4282
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4283
|
-
const localVarHeaderParameter = {};
|
|
4284
|
-
const localVarQueryParameter = {};
|
|
4285
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4286
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4287
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4288
|
-
return {
|
|
4289
|
-
url: toPathString(localVarUrlObj),
|
|
4290
|
-
options: localVarRequestOptions,
|
|
4291
|
-
};
|
|
4292
|
-
},
|
|
4293
4311
|
/**
|
|
4294
4312
|
*
|
|
4295
4313
|
* @param {string} id
|
|
@@ -4321,18 +4339,14 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4321
4339
|
/**
|
|
4322
4340
|
*
|
|
4323
4341
|
* @param {string} id
|
|
4324
|
-
* @param {string} paymentId
|
|
4325
4342
|
* @param {*} [options] Override http request option.
|
|
4326
4343
|
* @throws {RequiredError}
|
|
4327
4344
|
*/
|
|
4328
|
-
|
|
4345
|
+
getCompanyPaymentGateways: async (id, options = {}) => {
|
|
4329
4346
|
// verify required parameter 'id' is not null or undefined
|
|
4330
|
-
assertParamExists('
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
const localVarPath = `/api/companies/{id}/payments/{paymentId}`
|
|
4334
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4335
|
-
.replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
|
|
4347
|
+
assertParamExists('getCompanyPaymentGateways', 'id', id);
|
|
4348
|
+
const localVarPath = `/api/companies/{id}/payment-gateways`
|
|
4349
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4336
4350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4337
4351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4338
4352
|
let baseOptions;
|
|
@@ -4353,13 +4367,14 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4353
4367
|
/**
|
|
4354
4368
|
*
|
|
4355
4369
|
* @param {string} id
|
|
4370
|
+
* @param {ReviewStatusEnum} [status]
|
|
4356
4371
|
* @param {*} [options] Override http request option.
|
|
4357
4372
|
* @throws {RequiredError}
|
|
4358
4373
|
*/
|
|
4359
|
-
|
|
4374
|
+
getCompanyProductReviews: async (id, status, options = {}) => {
|
|
4360
4375
|
// verify required parameter 'id' is not null or undefined
|
|
4361
|
-
assertParamExists('
|
|
4362
|
-
const localVarPath = `/api/companies/{id}/
|
|
4376
|
+
assertParamExists('getCompanyProductReviews', 'id', id);
|
|
4377
|
+
const localVarPath = `/api/companies/{id}/reviews`
|
|
4363
4378
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4364
4379
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4365
4380
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4370,6 +4385,9 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4370
4385
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4371
4386
|
const localVarHeaderParameter = {};
|
|
4372
4387
|
const localVarQueryParameter = {};
|
|
4388
|
+
if (status !== undefined) {
|
|
4389
|
+
localVarQueryParameter['status'] = status;
|
|
4390
|
+
}
|
|
4373
4391
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4374
4392
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4375
4393
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4381,15 +4399,14 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4381
4399
|
/**
|
|
4382
4400
|
*
|
|
4383
4401
|
* @param {string} id
|
|
4384
|
-
* @param {
|
|
4385
|
-
* @param {number} [page]
|
|
4402
|
+
* @param {ReviewStatusEnum} [status]
|
|
4386
4403
|
* @param {*} [options] Override http request option.
|
|
4387
4404
|
* @throws {RequiredError}
|
|
4388
4405
|
*/
|
|
4389
|
-
|
|
4406
|
+
getCompanyReviewCount: async (id, status, options = {}) => {
|
|
4390
4407
|
// verify required parameter 'id' is not null or undefined
|
|
4391
|
-
assertParamExists('
|
|
4392
|
-
const localVarPath = `/api/companies/{id}/
|
|
4408
|
+
assertParamExists('getCompanyReviewCount', 'id', id);
|
|
4409
|
+
const localVarPath = `/api/companies/{id}/review-count`
|
|
4393
4410
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4394
4411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4395
4412
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4400,11 +4417,8 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4400
4417
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4401
4418
|
const localVarHeaderParameter = {};
|
|
4402
4419
|
const localVarQueryParameter = {};
|
|
4403
|
-
if (
|
|
4404
|
-
localVarQueryParameter['
|
|
4405
|
-
}
|
|
4406
|
-
if (page !== undefined) {
|
|
4407
|
-
localVarQueryParameter['page'] = page;
|
|
4420
|
+
if (status !== undefined) {
|
|
4421
|
+
localVarQueryParameter['status'] = status;
|
|
4408
4422
|
}
|
|
4409
4423
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4410
4424
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4417,15 +4431,18 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4417
4431
|
/**
|
|
4418
4432
|
*
|
|
4419
4433
|
* @param {string} id
|
|
4420
|
-
* @param {
|
|
4434
|
+
* @param {string} paymentId
|
|
4421
4435
|
* @param {*} [options] Override http request option.
|
|
4422
4436
|
* @throws {RequiredError}
|
|
4423
4437
|
*/
|
|
4424
|
-
|
|
4438
|
+
getCompanySubscription: async (id, paymentId, options = {}) => {
|
|
4425
4439
|
// verify required parameter 'id' is not null or undefined
|
|
4426
|
-
assertParamExists('
|
|
4427
|
-
|
|
4428
|
-
|
|
4440
|
+
assertParamExists('getCompanySubscription', 'id', id);
|
|
4441
|
+
// verify required parameter 'paymentId' is not null or undefined
|
|
4442
|
+
assertParamExists('getCompanySubscription', 'paymentId', paymentId);
|
|
4443
|
+
const localVarPath = `/api/companies/{id}/subscriptions/{paymentId}`
|
|
4444
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4445
|
+
.replace(`{${"paymentId"}}`, encodeURIComponent(String(paymentId)));
|
|
4429
4446
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4430
4447
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4431
4448
|
let baseOptions;
|
|
@@ -4435,9 +4452,6 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4435
4452
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4436
4453
|
const localVarHeaderParameter = {};
|
|
4437
4454
|
const localVarQueryParameter = {};
|
|
4438
|
-
if (status !== undefined) {
|
|
4439
|
-
localVarQueryParameter['status'] = status;
|
|
4440
|
-
}
|
|
4441
4455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4442
4456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4443
4457
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -4449,14 +4463,16 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4449
4463
|
/**
|
|
4450
4464
|
*
|
|
4451
4465
|
* @param {string} id
|
|
4452
|
-
* @param {
|
|
4466
|
+
* @param {number} [page]
|
|
4467
|
+
* @param {number} [itemsPerPage]
|
|
4468
|
+
* @param {SubscriptionStatusEnum} [status]
|
|
4453
4469
|
* @param {*} [options] Override http request option.
|
|
4454
4470
|
* @throws {RequiredError}
|
|
4455
4471
|
*/
|
|
4456
|
-
|
|
4472
|
+
getCompanySubscriptions: async (id, page, itemsPerPage, status, options = {}) => {
|
|
4457
4473
|
// verify required parameter 'id' is not null or undefined
|
|
4458
|
-
assertParamExists('
|
|
4459
|
-
const localVarPath = `/api/companies/{id}/
|
|
4474
|
+
assertParamExists('getCompanySubscriptions', 'id', id);
|
|
4475
|
+
const localVarPath = `/api/companies/{id}/subscriptions`
|
|
4460
4476
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4461
4477
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4462
4478
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4467,6 +4483,12 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4467
4483
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4468
4484
|
const localVarHeaderParameter = {};
|
|
4469
4485
|
const localVarQueryParameter = {};
|
|
4486
|
+
if (page !== undefined) {
|
|
4487
|
+
localVarQueryParameter['page'] = page;
|
|
4488
|
+
}
|
|
4489
|
+
if (itemsPerPage !== undefined) {
|
|
4490
|
+
localVarQueryParameter['itemsPerPage'] = itemsPerPage;
|
|
4491
|
+
}
|
|
4470
4492
|
if (status !== undefined) {
|
|
4471
4493
|
localVarQueryParameter['status'] = status;
|
|
4472
4494
|
}
|
|
@@ -4603,6 +4625,38 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4603
4625
|
options: localVarRequestOptions,
|
|
4604
4626
|
};
|
|
4605
4627
|
},
|
|
4628
|
+
/**
|
|
4629
|
+
*
|
|
4630
|
+
* @param {string} id
|
|
4631
|
+
* @param {LanguageEnum} language
|
|
4632
|
+
* @param {*} [options] Override http request option.
|
|
4633
|
+
* @throws {RequiredError}
|
|
4634
|
+
*/
|
|
4635
|
+
setDefaultCompanyLanguage: async (id, language, options = {}) => {
|
|
4636
|
+
// verify required parameter 'id' is not null or undefined
|
|
4637
|
+
assertParamExists('setDefaultCompanyLanguage', 'id', id);
|
|
4638
|
+
// verify required parameter 'language' is not null or undefined
|
|
4639
|
+
assertParamExists('setDefaultCompanyLanguage', 'language', language);
|
|
4640
|
+
const localVarPath = `/api/companies/{id}/languages/{language}/default`
|
|
4641
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
4642
|
+
.replace(`{${"language"}}`, encodeURIComponent(String(language)));
|
|
4643
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4644
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4645
|
+
let baseOptions;
|
|
4646
|
+
if (configuration) {
|
|
4647
|
+
baseOptions = configuration.baseOptions;
|
|
4648
|
+
}
|
|
4649
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4650
|
+
const localVarHeaderParameter = {};
|
|
4651
|
+
const localVarQueryParameter = {};
|
|
4652
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4653
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4654
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4655
|
+
return {
|
|
4656
|
+
url: toPathString(localVarUrlObj),
|
|
4657
|
+
options: localVarRequestOptions,
|
|
4658
|
+
};
|
|
4659
|
+
},
|
|
4606
4660
|
/**
|
|
4607
4661
|
*
|
|
4608
4662
|
* @param {string} id
|
|
@@ -5013,15 +5067,15 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5013
5067
|
},
|
|
5014
5068
|
/**
|
|
5015
5069
|
*
|
|
5016
|
-
* @param {string}
|
|
5017
|
-
* @param {
|
|
5070
|
+
* @param {string} companyId
|
|
5071
|
+
* @param {ICompanyCreateLanguageRequest} iCompanyCreateLanguageRequest
|
|
5018
5072
|
* @param {*} [options] Override http request option.
|
|
5019
5073
|
* @throws {RequiredError}
|
|
5020
5074
|
*/
|
|
5021
|
-
async
|
|
5022
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5075
|
+
async createCompanyLanguage(companyId, iCompanyCreateLanguageRequest, options) {
|
|
5076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyLanguage(companyId, iCompanyCreateLanguageRequest, options);
|
|
5023
5077
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5024
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.
|
|
5078
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyLanguage']?.[localVarOperationServerIndex]?.url;
|
|
5025
5079
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5026
5080
|
},
|
|
5027
5081
|
/**
|
|
@@ -5050,6 +5104,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5050
5104
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
5051
5105
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5052
5106
|
},
|
|
5107
|
+
/**
|
|
5108
|
+
*
|
|
5109
|
+
* @param {string} id
|
|
5110
|
+
* @param {ISubscriptionPostRequest} iSubscriptionPostRequest
|
|
5111
|
+
* @param {*} [options] Override http request option.
|
|
5112
|
+
* @throws {RequiredError}
|
|
5113
|
+
*/
|
|
5114
|
+
async createCompanySubscription(id, iSubscriptionPostRequest, options) {
|
|
5115
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanySubscription(id, iSubscriptionPostRequest, options);
|
|
5116
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5117
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanySubscription']?.[localVarOperationServerIndex]?.url;
|
|
5118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5119
|
+
},
|
|
5053
5120
|
/**
|
|
5054
5121
|
*
|
|
5055
5122
|
* @param {string} id
|
|
@@ -5246,18 +5313,6 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5246
5313
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyDashboard']?.[localVarOperationServerIndex]?.url;
|
|
5247
5314
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5248
5315
|
},
|
|
5249
|
-
/**
|
|
5250
|
-
*
|
|
5251
|
-
* @param {string} id
|
|
5252
|
-
* @param {*} [options] Override http request option.
|
|
5253
|
-
* @throws {RequiredError}
|
|
5254
|
-
*/
|
|
5255
|
-
async getCompanyMonthlyBandwidth(id, options) {
|
|
5256
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyMonthlyBandwidth(id, options);
|
|
5257
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5258
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyMonthlyBandwidth']?.[localVarOperationServerIndex]?.url;
|
|
5259
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5260
|
-
},
|
|
5261
5316
|
/**
|
|
5262
5317
|
*
|
|
5263
5318
|
* @param {string} id
|
|
@@ -5273,66 +5328,67 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5273
5328
|
/**
|
|
5274
5329
|
*
|
|
5275
5330
|
* @param {string} id
|
|
5276
|
-
* @param {string} paymentId
|
|
5277
5331
|
* @param {*} [options] Override http request option.
|
|
5278
5332
|
* @throws {RequiredError}
|
|
5279
5333
|
*/
|
|
5280
|
-
async
|
|
5281
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5334
|
+
async getCompanyPaymentGateways(id, options) {
|
|
5335
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyPaymentGateways(id, options);
|
|
5282
5336
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5283
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.
|
|
5337
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
5284
5338
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5285
5339
|
},
|
|
5286
5340
|
/**
|
|
5287
5341
|
*
|
|
5288
5342
|
* @param {string} id
|
|
5343
|
+
* @param {ReviewStatusEnum} [status]
|
|
5289
5344
|
* @param {*} [options] Override http request option.
|
|
5290
5345
|
* @throws {RequiredError}
|
|
5291
5346
|
*/
|
|
5292
|
-
async
|
|
5293
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5347
|
+
async getCompanyProductReviews(id, status, options) {
|
|
5348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyProductReviews(id, status, options);
|
|
5294
5349
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5295
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.
|
|
5350
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyProductReviews']?.[localVarOperationServerIndex]?.url;
|
|
5296
5351
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5297
5352
|
},
|
|
5298
5353
|
/**
|
|
5299
5354
|
*
|
|
5300
5355
|
* @param {string} id
|
|
5301
|
-
* @param {
|
|
5302
|
-
* @param {number} [page]
|
|
5356
|
+
* @param {ReviewStatusEnum} [status]
|
|
5303
5357
|
* @param {*} [options] Override http request option.
|
|
5304
5358
|
* @throws {RequiredError}
|
|
5305
5359
|
*/
|
|
5306
|
-
async
|
|
5307
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5360
|
+
async getCompanyReviewCount(id, status, options) {
|
|
5361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanyReviewCount(id, status, options);
|
|
5308
5362
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5309
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.
|
|
5363
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyReviewCount']?.[localVarOperationServerIndex]?.url;
|
|
5310
5364
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5311
5365
|
},
|
|
5312
5366
|
/**
|
|
5313
5367
|
*
|
|
5314
5368
|
* @param {string} id
|
|
5315
|
-
* @param {
|
|
5369
|
+
* @param {string} paymentId
|
|
5316
5370
|
* @param {*} [options] Override http request option.
|
|
5317
5371
|
* @throws {RequiredError}
|
|
5318
5372
|
*/
|
|
5319
|
-
async
|
|
5320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5373
|
+
async getCompanySubscription(id, paymentId, options) {
|
|
5374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanySubscription(id, paymentId, options);
|
|
5321
5375
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5322
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.
|
|
5376
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanySubscription']?.[localVarOperationServerIndex]?.url;
|
|
5323
5377
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5324
5378
|
},
|
|
5325
5379
|
/**
|
|
5326
5380
|
*
|
|
5327
5381
|
* @param {string} id
|
|
5328
|
-
* @param {
|
|
5382
|
+
* @param {number} [page]
|
|
5383
|
+
* @param {number} [itemsPerPage]
|
|
5384
|
+
* @param {SubscriptionStatusEnum} [status]
|
|
5329
5385
|
* @param {*} [options] Override http request option.
|
|
5330
5386
|
* @throws {RequiredError}
|
|
5331
5387
|
*/
|
|
5332
|
-
async
|
|
5333
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5388
|
+
async getCompanySubscriptions(id, page, itemsPerPage, status, options) {
|
|
5389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCompanySubscriptions(id, page, itemsPerPage, status, options);
|
|
5334
5390
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5335
|
-
const localVarOperationServerBasePath = operationServerMap['CompanyApi.
|
|
5391
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanySubscriptions']?.[localVarOperationServerIndex]?.url;
|
|
5336
5392
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5337
5393
|
},
|
|
5338
5394
|
/**
|
|
@@ -5386,6 +5442,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5386
5442
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.setCompanySenderEmail']?.[localVarOperationServerIndex]?.url;
|
|
5387
5443
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5388
5444
|
},
|
|
5445
|
+
/**
|
|
5446
|
+
*
|
|
5447
|
+
* @param {string} id
|
|
5448
|
+
* @param {LanguageEnum} language
|
|
5449
|
+
* @param {*} [options] Override http request option.
|
|
5450
|
+
* @throws {RequiredError}
|
|
5451
|
+
*/
|
|
5452
|
+
async setDefaultCompanyLanguage(id, language, options) {
|
|
5453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setDefaultCompanyLanguage(id, language, options);
|
|
5454
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5455
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.setDefaultCompanyLanguage']?.[localVarOperationServerIndex]?.url;
|
|
5456
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5457
|
+
},
|
|
5389
5458
|
/**
|
|
5390
5459
|
*
|
|
5391
5460
|
* @param {string} id
|
|
@@ -5568,12 +5637,12 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5568
5637
|
},
|
|
5569
5638
|
/**
|
|
5570
5639
|
*
|
|
5571
|
-
* @param {
|
|
5640
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
5572
5641
|
* @param {*} [options] Override http request option.
|
|
5573
5642
|
* @throws {RequiredError}
|
|
5574
5643
|
*/
|
|
5575
|
-
|
|
5576
|
-
return localVarFp.
|
|
5644
|
+
createCompanyLanguage(requestParameters, options) {
|
|
5645
|
+
return localVarFp.createCompanyLanguage(requestParameters.companyId, requestParameters.iCompanyCreateLanguageRequest, options).then((request) => request(axios, basePath));
|
|
5577
5646
|
},
|
|
5578
5647
|
/**
|
|
5579
5648
|
*
|
|
@@ -5593,6 +5662,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5593
5662
|
createCompanyShippingProviders(requestParameters, options) {
|
|
5594
5663
|
return localVarFp.createCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyCreateShippingProvidersRequest, options).then((request) => request(axios, basePath));
|
|
5595
5664
|
},
|
|
5665
|
+
/**
|
|
5666
|
+
*
|
|
5667
|
+
* @param {CompanyApiCreateCompanySubscriptionRequest} requestParameters Request parameters.
|
|
5668
|
+
* @param {*} [options] Override http request option.
|
|
5669
|
+
* @throws {RequiredError}
|
|
5670
|
+
*/
|
|
5671
|
+
createCompanySubscription(requestParameters, options) {
|
|
5672
|
+
return localVarFp.createCompanySubscription(requestParameters.id, requestParameters.iSubscriptionPostRequest, options).then((request) => request(axios, basePath));
|
|
5673
|
+
},
|
|
5596
5674
|
/**
|
|
5597
5675
|
*
|
|
5598
5676
|
* @param {CompanyApiCreateCompanyWarehousesRequest} requestParameters Request parameters.
|
|
@@ -5719,15 +5797,6 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5719
5797
|
getCompanyDashboard(requestParameters, options) {
|
|
5720
5798
|
return localVarFp.getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
5721
5799
|
},
|
|
5722
|
-
/**
|
|
5723
|
-
*
|
|
5724
|
-
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
5725
|
-
* @param {*} [options] Override http request option.
|
|
5726
|
-
* @throws {RequiredError}
|
|
5727
|
-
*/
|
|
5728
|
-
getCompanyMonthlyBandwidth(requestParameters, options) {
|
|
5729
|
-
return localVarFp.getCompanyMonthlyBandwidth(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5730
|
-
},
|
|
5731
5800
|
/**
|
|
5732
5801
|
*
|
|
5733
5802
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -5739,48 +5808,48 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5739
5808
|
},
|
|
5740
5809
|
/**
|
|
5741
5810
|
*
|
|
5742
|
-
* @param {
|
|
5811
|
+
* @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
5743
5812
|
* @param {*} [options] Override http request option.
|
|
5744
5813
|
* @throws {RequiredError}
|
|
5745
5814
|
*/
|
|
5746
|
-
|
|
5747
|
-
return localVarFp.
|
|
5815
|
+
getCompanyPaymentGateways(requestParameters, options) {
|
|
5816
|
+
return localVarFp.getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5748
5817
|
},
|
|
5749
5818
|
/**
|
|
5750
5819
|
*
|
|
5751
|
-
* @param {
|
|
5820
|
+
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
5752
5821
|
* @param {*} [options] Override http request option.
|
|
5753
5822
|
* @throws {RequiredError}
|
|
5754
5823
|
*/
|
|
5755
|
-
|
|
5756
|
-
return localVarFp.
|
|
5824
|
+
getCompanyProductReviews(requestParameters, options) {
|
|
5825
|
+
return localVarFp.getCompanyProductReviews(requestParameters.id, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
5757
5826
|
},
|
|
5758
5827
|
/**
|
|
5759
5828
|
*
|
|
5760
|
-
* @param {
|
|
5829
|
+
* @param {CompanyApiGetCompanyReviewCountRequest} requestParameters Request parameters.
|
|
5761
5830
|
* @param {*} [options] Override http request option.
|
|
5762
5831
|
* @throws {RequiredError}
|
|
5763
5832
|
*/
|
|
5764
|
-
|
|
5765
|
-
return localVarFp.
|
|
5833
|
+
getCompanyReviewCount(requestParameters, options) {
|
|
5834
|
+
return localVarFp.getCompanyReviewCount(requestParameters.id, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
5766
5835
|
},
|
|
5767
5836
|
/**
|
|
5768
5837
|
*
|
|
5769
|
-
* @param {
|
|
5838
|
+
* @param {CompanyApiGetCompanySubscriptionRequest} requestParameters Request parameters.
|
|
5770
5839
|
* @param {*} [options] Override http request option.
|
|
5771
5840
|
* @throws {RequiredError}
|
|
5772
5841
|
*/
|
|
5773
|
-
|
|
5774
|
-
return localVarFp.
|
|
5842
|
+
getCompanySubscription(requestParameters, options) {
|
|
5843
|
+
return localVarFp.getCompanySubscription(requestParameters.id, requestParameters.paymentId, options).then((request) => request(axios, basePath));
|
|
5775
5844
|
},
|
|
5776
5845
|
/**
|
|
5777
5846
|
*
|
|
5778
|
-
* @param {
|
|
5847
|
+
* @param {CompanyApiGetCompanySubscriptionsRequest} requestParameters Request parameters.
|
|
5779
5848
|
* @param {*} [options] Override http request option.
|
|
5780
5849
|
* @throws {RequiredError}
|
|
5781
5850
|
*/
|
|
5782
|
-
|
|
5783
|
-
return localVarFp.
|
|
5851
|
+
getCompanySubscriptions(requestParameters, options) {
|
|
5852
|
+
return localVarFp.getCompanySubscriptions(requestParameters.id, requestParameters.page, requestParameters.itemsPerPage, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
5784
5853
|
},
|
|
5785
5854
|
/**
|
|
5786
5855
|
*
|
|
@@ -5818,6 +5887,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5818
5887
|
setCompanySenderEmail(requestParameters, options) {
|
|
5819
5888
|
return localVarFp.setCompanySenderEmail(requestParameters.id, requestParameters.setCompanySenderEmailRequest, options).then((request) => request(axios, basePath));
|
|
5820
5889
|
},
|
|
5890
|
+
/**
|
|
5891
|
+
*
|
|
5892
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
5893
|
+
* @param {*} [options] Override http request option.
|
|
5894
|
+
* @throws {RequiredError}
|
|
5895
|
+
*/
|
|
5896
|
+
setDefaultCompanyLanguage(requestParameters, options) {
|
|
5897
|
+
return localVarFp.setDefaultCompanyLanguage(requestParameters.id, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
5898
|
+
},
|
|
5821
5899
|
/**
|
|
5822
5900
|
*
|
|
5823
5901
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -5959,13 +6037,13 @@ export class CompanyApi extends BaseAPI {
|
|
|
5959
6037
|
}
|
|
5960
6038
|
/**
|
|
5961
6039
|
*
|
|
5962
|
-
* @param {
|
|
6040
|
+
* @param {CompanyApiCreateCompanyLanguageRequest} requestParameters Request parameters.
|
|
5963
6041
|
* @param {*} [options] Override http request option.
|
|
5964
6042
|
* @throws {RequiredError}
|
|
5965
6043
|
* @memberof CompanyApi
|
|
5966
6044
|
*/
|
|
5967
|
-
|
|
5968
|
-
return CompanyApiFp(this.configuration).
|
|
6045
|
+
createCompanyLanguage(requestParameters, options) {
|
|
6046
|
+
return CompanyApiFp(this.configuration).createCompanyLanguage(requestParameters.companyId, requestParameters.iCompanyCreateLanguageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5969
6047
|
}
|
|
5970
6048
|
/**
|
|
5971
6049
|
*
|
|
@@ -5987,6 +6065,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
5987
6065
|
createCompanyShippingProviders(requestParameters, options) {
|
|
5988
6066
|
return CompanyApiFp(this.configuration).createCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyCreateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5989
6067
|
}
|
|
6068
|
+
/**
|
|
6069
|
+
*
|
|
6070
|
+
* @param {CompanyApiCreateCompanySubscriptionRequest} requestParameters Request parameters.
|
|
6071
|
+
* @param {*} [options] Override http request option.
|
|
6072
|
+
* @throws {RequiredError}
|
|
6073
|
+
* @memberof CompanyApi
|
|
6074
|
+
*/
|
|
6075
|
+
createCompanySubscription(requestParameters, options) {
|
|
6076
|
+
return CompanyApiFp(this.configuration).createCompanySubscription(requestParameters.id, requestParameters.iSubscriptionPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6077
|
+
}
|
|
5990
6078
|
/**
|
|
5991
6079
|
*
|
|
5992
6080
|
* @param {CompanyApiCreateCompanyWarehousesRequest} requestParameters Request parameters.
|
|
@@ -6127,16 +6215,6 @@ export class CompanyApi extends BaseAPI {
|
|
|
6127
6215
|
getCompanyDashboard(requestParameters, options) {
|
|
6128
6216
|
return CompanyApiFp(this.configuration).getCompanyDashboard(requestParameters.id, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
6129
6217
|
}
|
|
6130
|
-
/**
|
|
6131
|
-
*
|
|
6132
|
-
* @param {CompanyApiGetCompanyMonthlyBandwidthRequest} requestParameters Request parameters.
|
|
6133
|
-
* @param {*} [options] Override http request option.
|
|
6134
|
-
* @throws {RequiredError}
|
|
6135
|
-
* @memberof CompanyApi
|
|
6136
|
-
*/
|
|
6137
|
-
getCompanyMonthlyBandwidth(requestParameters, options) {
|
|
6138
|
-
return CompanyApiFp(this.configuration).getCompanyMonthlyBandwidth(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6139
|
-
}
|
|
6140
6218
|
/**
|
|
6141
6219
|
*
|
|
6142
6220
|
* @param {CompanyApiGetCompanyOnboardingRequest} requestParameters Request parameters.
|
|
@@ -6149,53 +6227,53 @@ export class CompanyApi extends BaseAPI {
|
|
|
6149
6227
|
}
|
|
6150
6228
|
/**
|
|
6151
6229
|
*
|
|
6152
|
-
* @param {
|
|
6230
|
+
* @param {CompanyApiGetCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
6153
6231
|
* @param {*} [options] Override http request option.
|
|
6154
6232
|
* @throws {RequiredError}
|
|
6155
6233
|
* @memberof CompanyApi
|
|
6156
6234
|
*/
|
|
6157
|
-
|
|
6158
|
-
return CompanyApiFp(this.configuration).
|
|
6235
|
+
getCompanyPaymentGateways(requestParameters, options) {
|
|
6236
|
+
return CompanyApiFp(this.configuration).getCompanyPaymentGateways(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6159
6237
|
}
|
|
6160
6238
|
/**
|
|
6161
6239
|
*
|
|
6162
|
-
* @param {
|
|
6240
|
+
* @param {CompanyApiGetCompanyProductReviewsRequest} requestParameters Request parameters.
|
|
6163
6241
|
* @param {*} [options] Override http request option.
|
|
6164
6242
|
* @throws {RequiredError}
|
|
6165
6243
|
* @memberof CompanyApi
|
|
6166
6244
|
*/
|
|
6167
|
-
|
|
6168
|
-
return CompanyApiFp(this.configuration).
|
|
6245
|
+
getCompanyProductReviews(requestParameters, options) {
|
|
6246
|
+
return CompanyApiFp(this.configuration).getCompanyProductReviews(requestParameters.id, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
6169
6247
|
}
|
|
6170
6248
|
/**
|
|
6171
6249
|
*
|
|
6172
|
-
* @param {
|
|
6250
|
+
* @param {CompanyApiGetCompanyReviewCountRequest} requestParameters Request parameters.
|
|
6173
6251
|
* @param {*} [options] Override http request option.
|
|
6174
6252
|
* @throws {RequiredError}
|
|
6175
6253
|
* @memberof CompanyApi
|
|
6176
6254
|
*/
|
|
6177
|
-
|
|
6178
|
-
return CompanyApiFp(this.configuration).
|
|
6255
|
+
getCompanyReviewCount(requestParameters, options) {
|
|
6256
|
+
return CompanyApiFp(this.configuration).getCompanyReviewCount(requestParameters.id, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
6179
6257
|
}
|
|
6180
6258
|
/**
|
|
6181
6259
|
*
|
|
6182
|
-
* @param {
|
|
6260
|
+
* @param {CompanyApiGetCompanySubscriptionRequest} requestParameters Request parameters.
|
|
6183
6261
|
* @param {*} [options] Override http request option.
|
|
6184
6262
|
* @throws {RequiredError}
|
|
6185
6263
|
* @memberof CompanyApi
|
|
6186
6264
|
*/
|
|
6187
|
-
|
|
6188
|
-
return CompanyApiFp(this.configuration).
|
|
6265
|
+
getCompanySubscription(requestParameters, options) {
|
|
6266
|
+
return CompanyApiFp(this.configuration).getCompanySubscription(requestParameters.id, requestParameters.paymentId, options).then((request) => request(this.axios, this.basePath));
|
|
6189
6267
|
}
|
|
6190
6268
|
/**
|
|
6191
6269
|
*
|
|
6192
|
-
* @param {
|
|
6270
|
+
* @param {CompanyApiGetCompanySubscriptionsRequest} requestParameters Request parameters.
|
|
6193
6271
|
* @param {*} [options] Override http request option.
|
|
6194
6272
|
* @throws {RequiredError}
|
|
6195
6273
|
* @memberof CompanyApi
|
|
6196
6274
|
*/
|
|
6197
|
-
|
|
6198
|
-
return CompanyApiFp(this.configuration).
|
|
6275
|
+
getCompanySubscriptions(requestParameters, options) {
|
|
6276
|
+
return CompanyApiFp(this.configuration).getCompanySubscriptions(requestParameters.id, requestParameters.page, requestParameters.itemsPerPage, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
6199
6277
|
}
|
|
6200
6278
|
/**
|
|
6201
6279
|
*
|
|
@@ -6237,6 +6315,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
6237
6315
|
setCompanySenderEmail(requestParameters, options) {
|
|
6238
6316
|
return CompanyApiFp(this.configuration).setCompanySenderEmail(requestParameters.id, requestParameters.setCompanySenderEmailRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6239
6317
|
}
|
|
6318
|
+
/**
|
|
6319
|
+
*
|
|
6320
|
+
* @param {CompanyApiSetDefaultCompanyLanguageRequest} requestParameters Request parameters.
|
|
6321
|
+
* @param {*} [options] Override http request option.
|
|
6322
|
+
* @throws {RequiredError}
|
|
6323
|
+
* @memberof CompanyApi
|
|
6324
|
+
*/
|
|
6325
|
+
setDefaultCompanyLanguage(requestParameters, options) {
|
|
6326
|
+
return CompanyApiFp(this.configuration).setDefaultCompanyLanguage(requestParameters.id, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
6327
|
+
}
|
|
6240
6328
|
/**
|
|
6241
6329
|
*
|
|
6242
6330
|
* @param {CompanyApiUpdateCompanyRequest} requestParameters Request parameters.
|
|
@@ -10340,30 +10428,6 @@ export const PlanApiAxiosParamCreator = function (configuration) {
|
|
|
10340
10428
|
options: localVarRequestOptions,
|
|
10341
10429
|
};
|
|
10342
10430
|
},
|
|
10343
|
-
/**
|
|
10344
|
-
*
|
|
10345
|
-
* @param {*} [options] Override http request option.
|
|
10346
|
-
* @throws {RequiredError}
|
|
10347
|
-
*/
|
|
10348
|
-
getPlanLimits: async (options = {}) => {
|
|
10349
|
-
const localVarPath = `/api/plans/limits`;
|
|
10350
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10351
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10352
|
-
let baseOptions;
|
|
10353
|
-
if (configuration) {
|
|
10354
|
-
baseOptions = configuration.baseOptions;
|
|
10355
|
-
}
|
|
10356
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10357
|
-
const localVarHeaderParameter = {};
|
|
10358
|
-
const localVarQueryParameter = {};
|
|
10359
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10360
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10361
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10362
|
-
return {
|
|
10363
|
-
url: toPathString(localVarUrlObj),
|
|
10364
|
-
options: localVarRequestOptions,
|
|
10365
|
-
};
|
|
10366
|
-
},
|
|
10367
10431
|
/**
|
|
10368
10432
|
*
|
|
10369
10433
|
* @param {number} [page]
|
|
@@ -10375,11 +10439,12 @@ export const PlanApiAxiosParamCreator = function (configuration) {
|
|
|
10375
10439
|
* @param {OrderEnum} [order]
|
|
10376
10440
|
* @param {string} [sort]
|
|
10377
10441
|
* @param {PlanStatusEnum} [status]
|
|
10378
|
-
* @param {
|
|
10442
|
+
* @param {GetPlansCategoryEnum} [category]
|
|
10443
|
+
* @param {string} [company]
|
|
10379
10444
|
* @param {*} [options] Override http request option.
|
|
10380
10445
|
* @throws {RequiredError}
|
|
10381
10446
|
*/
|
|
10382
|
-
getPlans: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status,
|
|
10447
|
+
getPlans: async (page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, category, company, options = {}) => {
|
|
10383
10448
|
const localVarPath = `/api/plans`;
|
|
10384
10449
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10385
10450
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10421,8 +10486,11 @@ export const PlanApiAxiosParamCreator = function (configuration) {
|
|
|
10421
10486
|
if (status !== undefined) {
|
|
10422
10487
|
localVarQueryParameter['status'] = status;
|
|
10423
10488
|
}
|
|
10424
|
-
if (
|
|
10425
|
-
localVarQueryParameter['
|
|
10489
|
+
if (category !== undefined) {
|
|
10490
|
+
localVarQueryParameter['category'] = category;
|
|
10491
|
+
}
|
|
10492
|
+
if (company !== undefined) {
|
|
10493
|
+
localVarQueryParameter['company'] = company;
|
|
10426
10494
|
}
|
|
10427
10495
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10428
10496
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -10510,17 +10578,6 @@ export const PlanApiFp = function (configuration) {
|
|
|
10510
10578
|
const localVarOperationServerBasePath = operationServerMap['PlanApi.getPlanById']?.[localVarOperationServerIndex]?.url;
|
|
10511
10579
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10512
10580
|
},
|
|
10513
|
-
/**
|
|
10514
|
-
*
|
|
10515
|
-
* @param {*} [options] Override http request option.
|
|
10516
|
-
* @throws {RequiredError}
|
|
10517
|
-
*/
|
|
10518
|
-
async getPlanLimits(options) {
|
|
10519
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanLimits(options);
|
|
10520
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10521
|
-
const localVarOperationServerBasePath = operationServerMap['PlanApi.getPlanLimits']?.[localVarOperationServerIndex]?.url;
|
|
10522
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10523
|
-
},
|
|
10524
10581
|
/**
|
|
10525
10582
|
*
|
|
10526
10583
|
* @param {number} [page]
|
|
@@ -10532,12 +10589,13 @@ export const PlanApiFp = function (configuration) {
|
|
|
10532
10589
|
* @param {OrderEnum} [order]
|
|
10533
10590
|
* @param {string} [sort]
|
|
10534
10591
|
* @param {PlanStatusEnum} [status]
|
|
10535
|
-
* @param {
|
|
10592
|
+
* @param {GetPlansCategoryEnum} [category]
|
|
10593
|
+
* @param {string} [company]
|
|
10536
10594
|
* @param {*} [options] Override http request option.
|
|
10537
10595
|
* @throws {RequiredError}
|
|
10538
10596
|
*/
|
|
10539
|
-
async getPlans(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status,
|
|
10540
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlans(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status,
|
|
10597
|
+
async getPlans(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, category, company, options) {
|
|
10598
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPlans(page, itemsPerPage, search, startDate, endDate, dateField, order, sort, status, category, company, options);
|
|
10541
10599
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10542
10600
|
const localVarOperationServerBasePath = operationServerMap['PlanApi.getPlans']?.[localVarOperationServerIndex]?.url;
|
|
10543
10601
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10591,14 +10649,6 @@ export const PlanApiFactory = function (configuration, basePath, axios) {
|
|
|
10591
10649
|
getPlanById(requestParameters, options) {
|
|
10592
10650
|
return localVarFp.getPlanById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
10593
10651
|
},
|
|
10594
|
-
/**
|
|
10595
|
-
*
|
|
10596
|
-
* @param {*} [options] Override http request option.
|
|
10597
|
-
* @throws {RequiredError}
|
|
10598
|
-
*/
|
|
10599
|
-
getPlanLimits(options) {
|
|
10600
|
-
return localVarFp.getPlanLimits(options).then((request) => request(axios, basePath));
|
|
10601
|
-
},
|
|
10602
10652
|
/**
|
|
10603
10653
|
*
|
|
10604
10654
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
|
@@ -10606,7 +10656,7 @@ export const PlanApiFactory = function (configuration, basePath, axios) {
|
|
|
10606
10656
|
* @throws {RequiredError}
|
|
10607
10657
|
*/
|
|
10608
10658
|
getPlans(requestParameters = {}, options) {
|
|
10609
|
-
return localVarFp.getPlans(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, requestParameters.
|
|
10659
|
+
return localVarFp.getPlans(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, requestParameters.category, requestParameters.company, options).then((request) => request(axios, basePath));
|
|
10610
10660
|
},
|
|
10611
10661
|
/**
|
|
10612
10662
|
*
|
|
@@ -10656,15 +10706,6 @@ export class PlanApi extends BaseAPI {
|
|
|
10656
10706
|
getPlanById(requestParameters, options) {
|
|
10657
10707
|
return PlanApiFp(this.configuration).getPlanById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
10658
10708
|
}
|
|
10659
|
-
/**
|
|
10660
|
-
*
|
|
10661
|
-
* @param {*} [options] Override http request option.
|
|
10662
|
-
* @throws {RequiredError}
|
|
10663
|
-
* @memberof PlanApi
|
|
10664
|
-
*/
|
|
10665
|
-
getPlanLimits(options) {
|
|
10666
|
-
return PlanApiFp(this.configuration).getPlanLimits(options).then((request) => request(this.axios, this.basePath));
|
|
10667
|
-
}
|
|
10668
10709
|
/**
|
|
10669
10710
|
*
|
|
10670
10711
|
* @param {PlanApiGetPlansRequest} requestParameters Request parameters.
|
|
@@ -10673,7 +10714,7 @@ export class PlanApi extends BaseAPI {
|
|
|
10673
10714
|
* @memberof PlanApi
|
|
10674
10715
|
*/
|
|
10675
10716
|
getPlans(requestParameters = {}, options) {
|
|
10676
|
-
return PlanApiFp(this.configuration).getPlans(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, requestParameters.
|
|
10717
|
+
return PlanApiFp(this.configuration).getPlans(requestParameters.page, requestParameters.itemsPerPage, requestParameters.search, requestParameters.startDate, requestParameters.endDate, requestParameters.dateField, requestParameters.order, requestParameters.sort, requestParameters.status, requestParameters.category, requestParameters.company, options).then((request) => request(this.axios, this.basePath));
|
|
10677
10718
|
}
|
|
10678
10719
|
/**
|
|
10679
10720
|
*
|
|
@@ -10693,6 +10734,14 @@ export const GetPlansDateFieldEnum = {
|
|
|
10693
10734
|
CREATED_AT: 'createdAt',
|
|
10694
10735
|
UPDATED_AT: 'updatedAt'
|
|
10695
10736
|
};
|
|
10737
|
+
/**
|
|
10738
|
+
* @export
|
|
10739
|
+
*/
|
|
10740
|
+
export const GetPlansCategoryEnum = {
|
|
10741
|
+
ADDON_BANDWIDTH: 'addon-bandwidth',
|
|
10742
|
+
B2C: 'b2c',
|
|
10743
|
+
CMS: 'cms'
|
|
10744
|
+
};
|
|
10696
10745
|
/**
|
|
10697
10746
|
* ProductApi - axios parameter creator
|
|
10698
10747
|
* @export
|
|
@@ -12881,15 +12930,14 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
12881
12930
|
/**
|
|
12882
12931
|
*
|
|
12883
12932
|
* @param {string} from
|
|
12884
|
-
* @param {string} companyId
|
|
12933
|
+
* @param {string} [companyId]
|
|
12934
|
+
* @param {string} [domain]
|
|
12885
12935
|
* @param {*} [options] Override http request option.
|
|
12886
12936
|
* @throws {RequiredError}
|
|
12887
12937
|
*/
|
|
12888
|
-
getUrlRedirectBySource: async (from, companyId, options = {}) => {
|
|
12938
|
+
getUrlRedirectBySource: async (from, companyId, domain, options = {}) => {
|
|
12889
12939
|
// verify required parameter 'from' is not null or undefined
|
|
12890
12940
|
assertParamExists('getUrlRedirectBySource', 'from', from);
|
|
12891
|
-
// verify required parameter 'companyId' is not null or undefined
|
|
12892
|
-
assertParamExists('getUrlRedirectBySource', 'companyId', companyId);
|
|
12893
12941
|
const localVarPath = `/api/url-redirects/from`;
|
|
12894
12942
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12895
12943
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12906,6 +12954,9 @@ export const UrlRedirectApiAxiosParamCreator = function (configuration) {
|
|
|
12906
12954
|
if (companyId !== undefined) {
|
|
12907
12955
|
localVarQueryParameter['companyId'] = companyId;
|
|
12908
12956
|
}
|
|
12957
|
+
if (domain !== undefined) {
|
|
12958
|
+
localVarQueryParameter['domain'] = domain;
|
|
12959
|
+
}
|
|
12909
12960
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12910
12961
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12911
12962
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -13077,12 +13128,13 @@ export const UrlRedirectApiFp = function (configuration) {
|
|
|
13077
13128
|
/**
|
|
13078
13129
|
*
|
|
13079
13130
|
* @param {string} from
|
|
13080
|
-
* @param {string} companyId
|
|
13131
|
+
* @param {string} [companyId]
|
|
13132
|
+
* @param {string} [domain]
|
|
13081
13133
|
* @param {*} [options] Override http request option.
|
|
13082
13134
|
* @throws {RequiredError}
|
|
13083
13135
|
*/
|
|
13084
|
-
async getUrlRedirectBySource(from, companyId, options) {
|
|
13085
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, options);
|
|
13136
|
+
async getUrlRedirectBySource(from, companyId, domain, options) {
|
|
13137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUrlRedirectBySource(from, companyId, domain, options);
|
|
13086
13138
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13087
13139
|
const localVarOperationServerBasePath = operationServerMap['UrlRedirectApi.getUrlRedirectBySource']?.[localVarOperationServerIndex]?.url;
|
|
13088
13140
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13173,7 +13225,7 @@ export const UrlRedirectApiFactory = function (configuration, basePath, axios) {
|
|
|
13173
13225
|
* @throws {RequiredError}
|
|
13174
13226
|
*/
|
|
13175
13227
|
getUrlRedirectBySource(requestParameters, options) {
|
|
13176
|
-
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(axios, basePath));
|
|
13228
|
+
return localVarFp.getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(axios, basePath));
|
|
13177
13229
|
},
|
|
13178
13230
|
/**
|
|
13179
13231
|
*
|
|
@@ -13250,7 +13302,7 @@ export class UrlRedirectApi extends BaseAPI {
|
|
|
13250
13302
|
* @memberof UrlRedirectApi
|
|
13251
13303
|
*/
|
|
13252
13304
|
getUrlRedirectBySource(requestParameters, options) {
|
|
13253
|
-
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, options).then((request) => request(this.axios, this.basePath));
|
|
13305
|
+
return UrlRedirectApiFp(this.configuration).getUrlRedirectBySource(requestParameters.from, requestParameters.companyId, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
13254
13306
|
}
|
|
13255
13307
|
/**
|
|
13256
13308
|
*
|