@infisale-client/api 1.2.103 → 1.2.105
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 +743 -59
- package/dist/api/api.js +545 -13
- package/dist/api/api.mjs +545 -13
- package/package.json +2 -2
package/dist/api/api.mjs
CHANGED
|
@@ -525,7 +525,8 @@ export const ICompanyCollectionQueryParamsDateFieldEnum = {
|
|
|
525
525
|
export const ICompanyDashboardResponsePeriodEnum = {
|
|
526
526
|
DAY: 'day',
|
|
527
527
|
MONTH: 'month',
|
|
528
|
-
WEEK: 'week'
|
|
528
|
+
WEEK: 'week',
|
|
529
|
+
HOUR: 'hour'
|
|
529
530
|
};
|
|
530
531
|
export const ICompanyUsersCollectionQueryParamsDateFieldEnum = {
|
|
531
532
|
CREATED_AT: 'createdAt',
|
|
@@ -3810,6 +3811,105 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3810
3811
|
options: localVarRequestOptions,
|
|
3811
3812
|
};
|
|
3812
3813
|
},
|
|
3814
|
+
/**
|
|
3815
|
+
*
|
|
3816
|
+
* @param {string} id
|
|
3817
|
+
* @param {ICompanyCreatePaymentGatewaysRequest} iCompanyCreatePaymentGatewaysRequest
|
|
3818
|
+
* @param {*} [options] Override http request option.
|
|
3819
|
+
* @throws {RequiredError}
|
|
3820
|
+
*/
|
|
3821
|
+
createCompanyPaymentGateways: async (id, iCompanyCreatePaymentGatewaysRequest, options = {}) => {
|
|
3822
|
+
// verify required parameter 'id' is not null or undefined
|
|
3823
|
+
assertParamExists('createCompanyPaymentGateways', 'id', id);
|
|
3824
|
+
// verify required parameter 'iCompanyCreatePaymentGatewaysRequest' is not null or undefined
|
|
3825
|
+
assertParamExists('createCompanyPaymentGateways', 'iCompanyCreatePaymentGatewaysRequest', iCompanyCreatePaymentGatewaysRequest);
|
|
3826
|
+
const localVarPath = `/api/companies/{id}/payment-gateways`
|
|
3827
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3828
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3829
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3830
|
+
let baseOptions;
|
|
3831
|
+
if (configuration) {
|
|
3832
|
+
baseOptions = configuration.baseOptions;
|
|
3833
|
+
}
|
|
3834
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3835
|
+
const localVarHeaderParameter = {};
|
|
3836
|
+
const localVarQueryParameter = {};
|
|
3837
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3840
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3841
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyCreatePaymentGatewaysRequest, localVarRequestOptions, configuration);
|
|
3842
|
+
return {
|
|
3843
|
+
url: toPathString(localVarUrlObj),
|
|
3844
|
+
options: localVarRequestOptions,
|
|
3845
|
+
};
|
|
3846
|
+
},
|
|
3847
|
+
/**
|
|
3848
|
+
*
|
|
3849
|
+
* @param {string} id
|
|
3850
|
+
* @param {ICompanyCreateShippingProvidersRequest} iCompanyCreateShippingProvidersRequest
|
|
3851
|
+
* @param {*} [options] Override http request option.
|
|
3852
|
+
* @throws {RequiredError}
|
|
3853
|
+
*/
|
|
3854
|
+
createCompanyShippingProviders: async (id, iCompanyCreateShippingProvidersRequest, options = {}) => {
|
|
3855
|
+
// verify required parameter 'id' is not null or undefined
|
|
3856
|
+
assertParamExists('createCompanyShippingProviders', 'id', id);
|
|
3857
|
+
// verify required parameter 'iCompanyCreateShippingProvidersRequest' is not null or undefined
|
|
3858
|
+
assertParamExists('createCompanyShippingProviders', 'iCompanyCreateShippingProvidersRequest', iCompanyCreateShippingProvidersRequest);
|
|
3859
|
+
const localVarPath = `/api/companies/{id}/shipping-providers`
|
|
3860
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3861
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3863
|
+
let baseOptions;
|
|
3864
|
+
if (configuration) {
|
|
3865
|
+
baseOptions = configuration.baseOptions;
|
|
3866
|
+
}
|
|
3867
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3868
|
+
const localVarHeaderParameter = {};
|
|
3869
|
+
const localVarQueryParameter = {};
|
|
3870
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3871
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3872
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3873
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3874
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyCreateShippingProvidersRequest, localVarRequestOptions, configuration);
|
|
3875
|
+
return {
|
|
3876
|
+
url: toPathString(localVarUrlObj),
|
|
3877
|
+
options: localVarRequestOptions,
|
|
3878
|
+
};
|
|
3879
|
+
},
|
|
3880
|
+
/**
|
|
3881
|
+
*
|
|
3882
|
+
* @param {string} id
|
|
3883
|
+
* @param {ICompanyCreateWarehousesRequest} iCompanyCreateWarehousesRequest
|
|
3884
|
+
* @param {*} [options] Override http request option.
|
|
3885
|
+
* @throws {RequiredError}
|
|
3886
|
+
*/
|
|
3887
|
+
createCompanyWarehouses: async (id, iCompanyCreateWarehousesRequest, options = {}) => {
|
|
3888
|
+
// verify required parameter 'id' is not null or undefined
|
|
3889
|
+
assertParamExists('createCompanyWarehouses', 'id', id);
|
|
3890
|
+
// verify required parameter 'iCompanyCreateWarehousesRequest' is not null or undefined
|
|
3891
|
+
assertParamExists('createCompanyWarehouses', 'iCompanyCreateWarehousesRequest', iCompanyCreateWarehousesRequest);
|
|
3892
|
+
const localVarPath = `/api/companies/{id}/warehouses`
|
|
3893
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3894
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3895
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3896
|
+
let baseOptions;
|
|
3897
|
+
if (configuration) {
|
|
3898
|
+
baseOptions = configuration.baseOptions;
|
|
3899
|
+
}
|
|
3900
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3901
|
+
const localVarHeaderParameter = {};
|
|
3902
|
+
const localVarQueryParameter = {};
|
|
3903
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3904
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3905
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3906
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3907
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyCreateWarehousesRequest, localVarRequestOptions, configuration);
|
|
3908
|
+
return {
|
|
3909
|
+
url: toPathString(localVarUrlObj),
|
|
3910
|
+
options: localVarRequestOptions,
|
|
3911
|
+
};
|
|
3912
|
+
},
|
|
3813
3913
|
/**
|
|
3814
3914
|
*
|
|
3815
3915
|
* @param {string} id
|
|
@@ -3838,6 +3938,102 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3838
3938
|
options: localVarRequestOptions,
|
|
3839
3939
|
};
|
|
3840
3940
|
},
|
|
3941
|
+
/**
|
|
3942
|
+
*
|
|
3943
|
+
* @param {string} companyId
|
|
3944
|
+
* @param {string} id
|
|
3945
|
+
* @param {*} [options] Override http request option.
|
|
3946
|
+
* @throws {RequiredError}
|
|
3947
|
+
*/
|
|
3948
|
+
deleteCompanyPaymentGateways: async (companyId, id, options = {}) => {
|
|
3949
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3950
|
+
assertParamExists('deleteCompanyPaymentGateways', 'companyId', companyId);
|
|
3951
|
+
// verify required parameter 'id' is not null or undefined
|
|
3952
|
+
assertParamExists('deleteCompanyPaymentGateways', 'id', id);
|
|
3953
|
+
const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}`
|
|
3954
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
3955
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3956
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3957
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3958
|
+
let baseOptions;
|
|
3959
|
+
if (configuration) {
|
|
3960
|
+
baseOptions = configuration.baseOptions;
|
|
3961
|
+
}
|
|
3962
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
3963
|
+
const localVarHeaderParameter = {};
|
|
3964
|
+
const localVarQueryParameter = {};
|
|
3965
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3966
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3967
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3968
|
+
return {
|
|
3969
|
+
url: toPathString(localVarUrlObj),
|
|
3970
|
+
options: localVarRequestOptions,
|
|
3971
|
+
};
|
|
3972
|
+
},
|
|
3973
|
+
/**
|
|
3974
|
+
*
|
|
3975
|
+
* @param {string} companyId
|
|
3976
|
+
* @param {string} id
|
|
3977
|
+
* @param {*} [options] Override http request option.
|
|
3978
|
+
* @throws {RequiredError}
|
|
3979
|
+
*/
|
|
3980
|
+
deleteCompanyShippingProviders: async (companyId, id, options = {}) => {
|
|
3981
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
3982
|
+
assertParamExists('deleteCompanyShippingProviders', 'companyId', companyId);
|
|
3983
|
+
// verify required parameter 'id' is not null or undefined
|
|
3984
|
+
assertParamExists('deleteCompanyShippingProviders', 'id', id);
|
|
3985
|
+
const localVarPath = `/api/companies/{companyId}/shipping-providers/{id}`
|
|
3986
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
3987
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3988
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3989
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3990
|
+
let baseOptions;
|
|
3991
|
+
if (configuration) {
|
|
3992
|
+
baseOptions = configuration.baseOptions;
|
|
3993
|
+
}
|
|
3994
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
3995
|
+
const localVarHeaderParameter = {};
|
|
3996
|
+
const localVarQueryParameter = {};
|
|
3997
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3998
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3999
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4000
|
+
return {
|
|
4001
|
+
url: toPathString(localVarUrlObj),
|
|
4002
|
+
options: localVarRequestOptions,
|
|
4003
|
+
};
|
|
4004
|
+
},
|
|
4005
|
+
/**
|
|
4006
|
+
*
|
|
4007
|
+
* @param {string} companyId
|
|
4008
|
+
* @param {string} id
|
|
4009
|
+
* @param {*} [options] Override http request option.
|
|
4010
|
+
* @throws {RequiredError}
|
|
4011
|
+
*/
|
|
4012
|
+
deleteCompanyWarehouses: async (companyId, id, options = {}) => {
|
|
4013
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4014
|
+
assertParamExists('deleteCompanyWarehouses', 'companyId', companyId);
|
|
4015
|
+
// verify required parameter 'id' is not null or undefined
|
|
4016
|
+
assertParamExists('deleteCompanyWarehouses', 'id', id);
|
|
4017
|
+
const localVarPath = `/api/companies/{companyId}/warehouses/{id}`
|
|
4018
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4019
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4020
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4021
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4022
|
+
let baseOptions;
|
|
4023
|
+
if (configuration) {
|
|
4024
|
+
baseOptions = configuration.baseOptions;
|
|
4025
|
+
}
|
|
4026
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
4027
|
+
const localVarHeaderParameter = {};
|
|
4028
|
+
const localVarQueryParameter = {};
|
|
4029
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4030
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4031
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4032
|
+
return {
|
|
4033
|
+
url: toPathString(localVarUrlObj),
|
|
4034
|
+
options: localVarRequestOptions,
|
|
4035
|
+
};
|
|
4036
|
+
},
|
|
3841
4037
|
/**
|
|
3842
4038
|
*
|
|
3843
4039
|
* @param {string} id
|
|
@@ -4418,6 +4614,38 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4418
4614
|
options: localVarRequestOptions,
|
|
4419
4615
|
};
|
|
4420
4616
|
},
|
|
4617
|
+
/**
|
|
4618
|
+
*
|
|
4619
|
+
* @param {string} companyId
|
|
4620
|
+
* @param {string} id
|
|
4621
|
+
* @param {*} [options] Override http request option.
|
|
4622
|
+
* @throws {RequiredError}
|
|
4623
|
+
*/
|
|
4624
|
+
setCompanyPaymentGatewaysPrimary: async (companyId, id, options = {}) => {
|
|
4625
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4626
|
+
assertParamExists('setCompanyPaymentGatewaysPrimary', 'companyId', companyId);
|
|
4627
|
+
// verify required parameter 'id' is not null or undefined
|
|
4628
|
+
assertParamExists('setCompanyPaymentGatewaysPrimary', 'id', id);
|
|
4629
|
+
const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}/set-primary`
|
|
4630
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4631
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4634
|
+
let baseOptions;
|
|
4635
|
+
if (configuration) {
|
|
4636
|
+
baseOptions = configuration.baseOptions;
|
|
4637
|
+
}
|
|
4638
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4639
|
+
const localVarHeaderParameter = {};
|
|
4640
|
+
const localVarQueryParameter = {};
|
|
4641
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4642
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4643
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4644
|
+
return {
|
|
4645
|
+
url: toPathString(localVarUrlObj),
|
|
4646
|
+
options: localVarRequestOptions,
|
|
4647
|
+
};
|
|
4648
|
+
},
|
|
4421
4649
|
/**
|
|
4422
4650
|
*
|
|
4423
4651
|
* @param {string} id
|
|
@@ -4585,17 +4813,21 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4585
4813
|
},
|
|
4586
4814
|
/**
|
|
4587
4815
|
*
|
|
4816
|
+
* @param {string} companyId
|
|
4588
4817
|
* @param {string} id
|
|
4589
4818
|
* @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
|
|
4590
4819
|
* @param {*} [options] Override http request option.
|
|
4591
4820
|
* @throws {RequiredError}
|
|
4592
4821
|
*/
|
|
4593
|
-
updateCompanyPaymentGateways: async (id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
|
|
4822
|
+
updateCompanyPaymentGateways: async (companyId, id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
|
|
4823
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4824
|
+
assertParamExists('updateCompanyPaymentGateways', 'companyId', companyId);
|
|
4594
4825
|
// verify required parameter 'id' is not null or undefined
|
|
4595
4826
|
assertParamExists('updateCompanyPaymentGateways', 'id', id);
|
|
4596
4827
|
// verify required parameter 'iCompanyUpdatePaymentGatewaysRequest' is not null or undefined
|
|
4597
4828
|
assertParamExists('updateCompanyPaymentGateways', 'iCompanyUpdatePaymentGatewaysRequest', iCompanyUpdatePaymentGatewaysRequest);
|
|
4598
|
-
const localVarPath = `/api/companies/{
|
|
4829
|
+
const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}`
|
|
4830
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4599
4831
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4600
4832
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4601
4833
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4618,17 +4850,21 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4618
4850
|
},
|
|
4619
4851
|
/**
|
|
4620
4852
|
*
|
|
4853
|
+
* @param {string} companyId
|
|
4621
4854
|
* @param {string} id
|
|
4622
4855
|
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
4623
4856
|
* @param {*} [options] Override http request option.
|
|
4624
4857
|
* @throws {RequiredError}
|
|
4625
4858
|
*/
|
|
4626
|
-
updateCompanyShippingProviders: async (id, iCompanyUpdateShippingProvidersRequest, options = {}) => {
|
|
4859
|
+
updateCompanyShippingProviders: async (companyId, id, iCompanyUpdateShippingProvidersRequest, options = {}) => {
|
|
4860
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4861
|
+
assertParamExists('updateCompanyShippingProviders', 'companyId', companyId);
|
|
4627
4862
|
// verify required parameter 'id' is not null or undefined
|
|
4628
4863
|
assertParamExists('updateCompanyShippingProviders', 'id', id);
|
|
4629
4864
|
// verify required parameter 'iCompanyUpdateShippingProvidersRequest' is not null or undefined
|
|
4630
4865
|
assertParamExists('updateCompanyShippingProviders', 'iCompanyUpdateShippingProvidersRequest', iCompanyUpdateShippingProvidersRequest);
|
|
4631
|
-
const localVarPath = `/api/companies/{
|
|
4866
|
+
const localVarPath = `/api/companies/{companyId}/shipping-providers/{id}`
|
|
4867
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4632
4868
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4633
4869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4634
4870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4649,6 +4885,43 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4649
4885
|
options: localVarRequestOptions,
|
|
4650
4886
|
};
|
|
4651
4887
|
},
|
|
4888
|
+
/**
|
|
4889
|
+
*
|
|
4890
|
+
* @param {string} companyId
|
|
4891
|
+
* @param {string} id
|
|
4892
|
+
* @param {ICompanyUpdateWarehousesRequest} iCompanyUpdateWarehousesRequest
|
|
4893
|
+
* @param {*} [options] Override http request option.
|
|
4894
|
+
* @throws {RequiredError}
|
|
4895
|
+
*/
|
|
4896
|
+
updateCompanyWarehouses: async (companyId, id, iCompanyUpdateWarehousesRequest, options = {}) => {
|
|
4897
|
+
// verify required parameter 'companyId' is not null or undefined
|
|
4898
|
+
assertParamExists('updateCompanyWarehouses', 'companyId', companyId);
|
|
4899
|
+
// verify required parameter 'id' is not null or undefined
|
|
4900
|
+
assertParamExists('updateCompanyWarehouses', 'id', id);
|
|
4901
|
+
// verify required parameter 'iCompanyUpdateWarehousesRequest' is not null or undefined
|
|
4902
|
+
assertParamExists('updateCompanyWarehouses', 'iCompanyUpdateWarehousesRequest', iCompanyUpdateWarehousesRequest);
|
|
4903
|
+
const localVarPath = `/api/companies/{companyId}/warehouses/{id}`
|
|
4904
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4905
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4906
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4907
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4908
|
+
let baseOptions;
|
|
4909
|
+
if (configuration) {
|
|
4910
|
+
baseOptions = configuration.baseOptions;
|
|
4911
|
+
}
|
|
4912
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
4913
|
+
const localVarHeaderParameter = {};
|
|
4914
|
+
const localVarQueryParameter = {};
|
|
4915
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4916
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4917
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4918
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4919
|
+
localVarRequestOptions.data = serializeDataIfNeeded(iCompanyUpdateWarehousesRequest, localVarRequestOptions, configuration);
|
|
4920
|
+
return {
|
|
4921
|
+
url: toPathString(localVarUrlObj),
|
|
4922
|
+
options: localVarRequestOptions,
|
|
4923
|
+
};
|
|
4924
|
+
},
|
|
4652
4925
|
/**
|
|
4653
4926
|
*
|
|
4654
4927
|
* @param {string} id
|
|
@@ -4790,6 +5063,45 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4790
5063
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyPayment']?.[localVarOperationServerIndex]?.url;
|
|
4791
5064
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4792
5065
|
},
|
|
5066
|
+
/**
|
|
5067
|
+
*
|
|
5068
|
+
* @param {string} id
|
|
5069
|
+
* @param {ICompanyCreatePaymentGatewaysRequest} iCompanyCreatePaymentGatewaysRequest
|
|
5070
|
+
* @param {*} [options] Override http request option.
|
|
5071
|
+
* @throws {RequiredError}
|
|
5072
|
+
*/
|
|
5073
|
+
async createCompanyPaymentGateways(id, iCompanyCreatePaymentGatewaysRequest, options) {
|
|
5074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyPaymentGateways(id, iCompanyCreatePaymentGatewaysRequest, options);
|
|
5075
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5076
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
5077
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5078
|
+
},
|
|
5079
|
+
/**
|
|
5080
|
+
*
|
|
5081
|
+
* @param {string} id
|
|
5082
|
+
* @param {ICompanyCreateShippingProvidersRequest} iCompanyCreateShippingProvidersRequest
|
|
5083
|
+
* @param {*} [options] Override http request option.
|
|
5084
|
+
* @throws {RequiredError}
|
|
5085
|
+
*/
|
|
5086
|
+
async createCompanyShippingProviders(id, iCompanyCreateShippingProvidersRequest, options) {
|
|
5087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyShippingProviders(id, iCompanyCreateShippingProvidersRequest, options);
|
|
5088
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5089
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
5090
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5091
|
+
},
|
|
5092
|
+
/**
|
|
5093
|
+
*
|
|
5094
|
+
* @param {string} id
|
|
5095
|
+
* @param {ICompanyCreateWarehousesRequest} iCompanyCreateWarehousesRequest
|
|
5096
|
+
* @param {*} [options] Override http request option.
|
|
5097
|
+
* @throws {RequiredError}
|
|
5098
|
+
*/
|
|
5099
|
+
async createCompanyWarehouses(id, iCompanyCreateWarehousesRequest, options) {
|
|
5100
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyWarehouses(id, iCompanyCreateWarehousesRequest, options);
|
|
5101
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5102
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyWarehouses']?.[localVarOperationServerIndex]?.url;
|
|
5103
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5104
|
+
},
|
|
4793
5105
|
/**
|
|
4794
5106
|
*
|
|
4795
5107
|
* @param {string} id
|
|
@@ -4802,6 +5114,45 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4802
5114
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.deleteCompany']?.[localVarOperationServerIndex]?.url;
|
|
4803
5115
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4804
5116
|
},
|
|
5117
|
+
/**
|
|
5118
|
+
*
|
|
5119
|
+
* @param {string} companyId
|
|
5120
|
+
* @param {string} id
|
|
5121
|
+
* @param {*} [options] Override http request option.
|
|
5122
|
+
* @throws {RequiredError}
|
|
5123
|
+
*/
|
|
5124
|
+
async deleteCompanyPaymentGateways(companyId, id, options) {
|
|
5125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCompanyPaymentGateways(companyId, id, options);
|
|
5126
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5127
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.deleteCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
5128
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5129
|
+
},
|
|
5130
|
+
/**
|
|
5131
|
+
*
|
|
5132
|
+
* @param {string} companyId
|
|
5133
|
+
* @param {string} id
|
|
5134
|
+
* @param {*} [options] Override http request option.
|
|
5135
|
+
* @throws {RequiredError}
|
|
5136
|
+
*/
|
|
5137
|
+
async deleteCompanyShippingProviders(companyId, id, options) {
|
|
5138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCompanyShippingProviders(companyId, id, options);
|
|
5139
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5140
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.deleteCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
5141
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5142
|
+
},
|
|
5143
|
+
/**
|
|
5144
|
+
*
|
|
5145
|
+
* @param {string} companyId
|
|
5146
|
+
* @param {string} id
|
|
5147
|
+
* @param {*} [options] Override http request option.
|
|
5148
|
+
* @throws {RequiredError}
|
|
5149
|
+
*/
|
|
5150
|
+
async deleteCompanyWarehouses(companyId, id, options) {
|
|
5151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCompanyWarehouses(companyId, id, options);
|
|
5152
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5153
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.deleteCompanyWarehouses']?.[localVarOperationServerIndex]?.url;
|
|
5154
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5155
|
+
},
|
|
4805
5156
|
/**
|
|
4806
5157
|
*
|
|
4807
5158
|
* @param {string} id
|
|
@@ -5024,6 +5375,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5024
5375
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyVersions']?.[localVarOperationServerIndex]?.url;
|
|
5025
5376
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5026
5377
|
},
|
|
5378
|
+
/**
|
|
5379
|
+
*
|
|
5380
|
+
* @param {string} companyId
|
|
5381
|
+
* @param {string} id
|
|
5382
|
+
* @param {*} [options] Override http request option.
|
|
5383
|
+
* @throws {RequiredError}
|
|
5384
|
+
*/
|
|
5385
|
+
async setCompanyPaymentGatewaysPrimary(companyId, id, options) {
|
|
5386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setCompanyPaymentGatewaysPrimary(companyId, id, options);
|
|
5387
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5388
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.setCompanyPaymentGatewaysPrimary']?.[localVarOperationServerIndex]?.url;
|
|
5389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5390
|
+
},
|
|
5027
5391
|
/**
|
|
5028
5392
|
*
|
|
5029
5393
|
* @param {string} id
|
|
@@ -5091,30 +5455,46 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5091
5455
|
},
|
|
5092
5456
|
/**
|
|
5093
5457
|
*
|
|
5458
|
+
* @param {string} companyId
|
|
5094
5459
|
* @param {string} id
|
|
5095
5460
|
* @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
|
|
5096
5461
|
* @param {*} [options] Override http request option.
|
|
5097
5462
|
* @throws {RequiredError}
|
|
5098
5463
|
*/
|
|
5099
|
-
async updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options) {
|
|
5100
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options);
|
|
5464
|
+
async updateCompanyPaymentGateways(companyId, id, iCompanyUpdatePaymentGatewaysRequest, options) {
|
|
5465
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(companyId, id, iCompanyUpdatePaymentGatewaysRequest, options);
|
|
5101
5466
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5102
5467
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
5103
5468
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5104
5469
|
},
|
|
5105
5470
|
/**
|
|
5106
5471
|
*
|
|
5472
|
+
* @param {string} companyId
|
|
5107
5473
|
* @param {string} id
|
|
5108
5474
|
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
5109
5475
|
* @param {*} [options] Override http request option.
|
|
5110
5476
|
* @throws {RequiredError}
|
|
5111
5477
|
*/
|
|
5112
|
-
async updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options) {
|
|
5113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options);
|
|
5478
|
+
async updateCompanyShippingProviders(companyId, id, iCompanyUpdateShippingProvidersRequest, options) {
|
|
5479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyShippingProviders(companyId, id, iCompanyUpdateShippingProvidersRequest, options);
|
|
5114
5480
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5115
5481
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
5116
5482
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5117
5483
|
},
|
|
5484
|
+
/**
|
|
5485
|
+
*
|
|
5486
|
+
* @param {string} companyId
|
|
5487
|
+
* @param {string} id
|
|
5488
|
+
* @param {ICompanyUpdateWarehousesRequest} iCompanyUpdateWarehousesRequest
|
|
5489
|
+
* @param {*} [options] Override http request option.
|
|
5490
|
+
* @throws {RequiredError}
|
|
5491
|
+
*/
|
|
5492
|
+
async updateCompanyWarehouses(companyId, id, iCompanyUpdateWarehousesRequest, options) {
|
|
5493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyWarehouses(companyId, id, iCompanyUpdateWarehousesRequest, options);
|
|
5494
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5495
|
+
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyWarehouses']?.[localVarOperationServerIndex]?.url;
|
|
5496
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5497
|
+
},
|
|
5118
5498
|
/**
|
|
5119
5499
|
*
|
|
5120
5500
|
* @param {string} id
|
|
@@ -5196,6 +5576,33 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5196
5576
|
createCompanyPayment(requestParameters, options) {
|
|
5197
5577
|
return localVarFp.createCompanyPayment(requestParameters.id, requestParameters.iPaymentPostRequest, options).then((request) => request(axios, basePath));
|
|
5198
5578
|
},
|
|
5579
|
+
/**
|
|
5580
|
+
*
|
|
5581
|
+
* @param {CompanyApiCreateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
5582
|
+
* @param {*} [options] Override http request option.
|
|
5583
|
+
* @throws {RequiredError}
|
|
5584
|
+
*/
|
|
5585
|
+
createCompanyPaymentGateways(requestParameters, options) {
|
|
5586
|
+
return localVarFp.createCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyCreatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
|
|
5587
|
+
},
|
|
5588
|
+
/**
|
|
5589
|
+
*
|
|
5590
|
+
* @param {CompanyApiCreateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
5591
|
+
* @param {*} [options] Override http request option.
|
|
5592
|
+
* @throws {RequiredError}
|
|
5593
|
+
*/
|
|
5594
|
+
createCompanyShippingProviders(requestParameters, options) {
|
|
5595
|
+
return localVarFp.createCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyCreateShippingProvidersRequest, options).then((request) => request(axios, basePath));
|
|
5596
|
+
},
|
|
5597
|
+
/**
|
|
5598
|
+
*
|
|
5599
|
+
* @param {CompanyApiCreateCompanyWarehousesRequest} requestParameters Request parameters.
|
|
5600
|
+
* @param {*} [options] Override http request option.
|
|
5601
|
+
* @throws {RequiredError}
|
|
5602
|
+
*/
|
|
5603
|
+
createCompanyWarehouses(requestParameters, options) {
|
|
5604
|
+
return localVarFp.createCompanyWarehouses(requestParameters.id, requestParameters.iCompanyCreateWarehousesRequest, options).then((request) => request(axios, basePath));
|
|
5605
|
+
},
|
|
5199
5606
|
/**
|
|
5200
5607
|
*
|
|
5201
5608
|
* @param {CompanyApiDeleteCompanyRequest} requestParameters Request parameters.
|
|
@@ -5205,6 +5612,33 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5205
5612
|
deleteCompany(requestParameters, options) {
|
|
5206
5613
|
return localVarFp.deleteCompany(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5207
5614
|
},
|
|
5615
|
+
/**
|
|
5616
|
+
*
|
|
5617
|
+
* @param {CompanyApiDeleteCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
5618
|
+
* @param {*} [options] Override http request option.
|
|
5619
|
+
* @throws {RequiredError}
|
|
5620
|
+
*/
|
|
5621
|
+
deleteCompanyPaymentGateways(requestParameters, options) {
|
|
5622
|
+
return localVarFp.deleteCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5623
|
+
},
|
|
5624
|
+
/**
|
|
5625
|
+
*
|
|
5626
|
+
* @param {CompanyApiDeleteCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
5627
|
+
* @param {*} [options] Override http request option.
|
|
5628
|
+
* @throws {RequiredError}
|
|
5629
|
+
*/
|
|
5630
|
+
deleteCompanyShippingProviders(requestParameters, options) {
|
|
5631
|
+
return localVarFp.deleteCompanyShippingProviders(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5632
|
+
},
|
|
5633
|
+
/**
|
|
5634
|
+
*
|
|
5635
|
+
* @param {CompanyApiDeleteCompanyWarehousesRequest} requestParameters Request parameters.
|
|
5636
|
+
* @param {*} [options] Override http request option.
|
|
5637
|
+
* @throws {RequiredError}
|
|
5638
|
+
*/
|
|
5639
|
+
deleteCompanyWarehouses(requestParameters, options) {
|
|
5640
|
+
return localVarFp.deleteCompanyWarehouses(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5641
|
+
},
|
|
5208
5642
|
/**
|
|
5209
5643
|
*
|
|
5210
5644
|
* @param {CompanyApiDeleteDomainRequest} requestParameters Request parameters.
|
|
@@ -5349,6 +5783,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5349
5783
|
getCompanyVersions(requestParameters, options) {
|
|
5350
5784
|
return localVarFp.getCompanyVersions(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5351
5785
|
},
|
|
5786
|
+
/**
|
|
5787
|
+
*
|
|
5788
|
+
* @param {CompanyApiSetCompanyPaymentGatewaysPrimaryRequest} requestParameters Request parameters.
|
|
5789
|
+
* @param {*} [options] Override http request option.
|
|
5790
|
+
* @throws {RequiredError}
|
|
5791
|
+
*/
|
|
5792
|
+
setCompanyPaymentGatewaysPrimary(requestParameters, options) {
|
|
5793
|
+
return localVarFp.setCompanyPaymentGatewaysPrimary(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5794
|
+
},
|
|
5352
5795
|
/**
|
|
5353
5796
|
*
|
|
5354
5797
|
* @param {CompanyApiSetCompanySenderEmailRequest} requestParameters Request parameters.
|
|
@@ -5401,7 +5844,7 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5401
5844
|
* @throws {RequiredError}
|
|
5402
5845
|
*/
|
|
5403
5846
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
5404
|
-
return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
|
|
5847
|
+
return localVarFp.updateCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
|
|
5405
5848
|
},
|
|
5406
5849
|
/**
|
|
5407
5850
|
*
|
|
@@ -5410,7 +5853,16 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5410
5853
|
* @throws {RequiredError}
|
|
5411
5854
|
*/
|
|
5412
5855
|
updateCompanyShippingProviders(requestParameters, options) {
|
|
5413
|
-
return localVarFp.updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(axios, basePath));
|
|
5856
|
+
return localVarFp.updateCompanyShippingProviders(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(axios, basePath));
|
|
5857
|
+
},
|
|
5858
|
+
/**
|
|
5859
|
+
*
|
|
5860
|
+
* @param {CompanyApiUpdateCompanyWarehousesRequest} requestParameters Request parameters.
|
|
5861
|
+
* @param {*} [options] Override http request option.
|
|
5862
|
+
* @throws {RequiredError}
|
|
5863
|
+
*/
|
|
5864
|
+
updateCompanyWarehouses(requestParameters, options) {
|
|
5865
|
+
return localVarFp.updateCompanyWarehouses(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateWarehousesRequest, options).then((request) => request(axios, basePath));
|
|
5414
5866
|
},
|
|
5415
5867
|
/**
|
|
5416
5868
|
*
|
|
@@ -5489,6 +5941,36 @@ export class CompanyApi extends BaseAPI {
|
|
|
5489
5941
|
createCompanyPayment(requestParameters, options) {
|
|
5490
5942
|
return CompanyApiFp(this.configuration).createCompanyPayment(requestParameters.id, requestParameters.iPaymentPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5491
5943
|
}
|
|
5944
|
+
/**
|
|
5945
|
+
*
|
|
5946
|
+
* @param {CompanyApiCreateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
5947
|
+
* @param {*} [options] Override http request option.
|
|
5948
|
+
* @throws {RequiredError}
|
|
5949
|
+
* @memberof CompanyApi
|
|
5950
|
+
*/
|
|
5951
|
+
createCompanyPaymentGateways(requestParameters, options) {
|
|
5952
|
+
return CompanyApiFp(this.configuration).createCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyCreatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5953
|
+
}
|
|
5954
|
+
/**
|
|
5955
|
+
*
|
|
5956
|
+
* @param {CompanyApiCreateCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
5957
|
+
* @param {*} [options] Override http request option.
|
|
5958
|
+
* @throws {RequiredError}
|
|
5959
|
+
* @memberof CompanyApi
|
|
5960
|
+
*/
|
|
5961
|
+
createCompanyShippingProviders(requestParameters, options) {
|
|
5962
|
+
return CompanyApiFp(this.configuration).createCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyCreateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5963
|
+
}
|
|
5964
|
+
/**
|
|
5965
|
+
*
|
|
5966
|
+
* @param {CompanyApiCreateCompanyWarehousesRequest} requestParameters Request parameters.
|
|
5967
|
+
* @param {*} [options] Override http request option.
|
|
5968
|
+
* @throws {RequiredError}
|
|
5969
|
+
* @memberof CompanyApi
|
|
5970
|
+
*/
|
|
5971
|
+
createCompanyWarehouses(requestParameters, options) {
|
|
5972
|
+
return CompanyApiFp(this.configuration).createCompanyWarehouses(requestParameters.id, requestParameters.iCompanyCreateWarehousesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5973
|
+
}
|
|
5492
5974
|
/**
|
|
5493
5975
|
*
|
|
5494
5976
|
* @param {CompanyApiDeleteCompanyRequest} requestParameters Request parameters.
|
|
@@ -5499,6 +5981,36 @@ export class CompanyApi extends BaseAPI {
|
|
|
5499
5981
|
deleteCompany(requestParameters, options) {
|
|
5500
5982
|
return CompanyApiFp(this.configuration).deleteCompany(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5501
5983
|
}
|
|
5984
|
+
/**
|
|
5985
|
+
*
|
|
5986
|
+
* @param {CompanyApiDeleteCompanyPaymentGatewaysRequest} requestParameters Request parameters.
|
|
5987
|
+
* @param {*} [options] Override http request option.
|
|
5988
|
+
* @throws {RequiredError}
|
|
5989
|
+
* @memberof CompanyApi
|
|
5990
|
+
*/
|
|
5991
|
+
deleteCompanyPaymentGateways(requestParameters, options) {
|
|
5992
|
+
return CompanyApiFp(this.configuration).deleteCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5993
|
+
}
|
|
5994
|
+
/**
|
|
5995
|
+
*
|
|
5996
|
+
* @param {CompanyApiDeleteCompanyShippingProvidersRequest} requestParameters Request parameters.
|
|
5997
|
+
* @param {*} [options] Override http request option.
|
|
5998
|
+
* @throws {RequiredError}
|
|
5999
|
+
* @memberof CompanyApi
|
|
6000
|
+
*/
|
|
6001
|
+
deleteCompanyShippingProviders(requestParameters, options) {
|
|
6002
|
+
return CompanyApiFp(this.configuration).deleteCompanyShippingProviders(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6003
|
+
}
|
|
6004
|
+
/**
|
|
6005
|
+
*
|
|
6006
|
+
* @param {CompanyApiDeleteCompanyWarehousesRequest} requestParameters Request parameters.
|
|
6007
|
+
* @param {*} [options] Override http request option.
|
|
6008
|
+
* @throws {RequiredError}
|
|
6009
|
+
* @memberof CompanyApi
|
|
6010
|
+
*/
|
|
6011
|
+
deleteCompanyWarehouses(requestParameters, options) {
|
|
6012
|
+
return CompanyApiFp(this.configuration).deleteCompanyWarehouses(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6013
|
+
}
|
|
5502
6014
|
/**
|
|
5503
6015
|
*
|
|
5504
6016
|
* @param {CompanyApiDeleteDomainRequest} requestParameters Request parameters.
|
|
@@ -5659,6 +6171,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
5659
6171
|
getCompanyVersions(requestParameters, options) {
|
|
5660
6172
|
return CompanyApiFp(this.configuration).getCompanyVersions(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5661
6173
|
}
|
|
6174
|
+
/**
|
|
6175
|
+
*
|
|
6176
|
+
* @param {CompanyApiSetCompanyPaymentGatewaysPrimaryRequest} requestParameters Request parameters.
|
|
6177
|
+
* @param {*} [options] Override http request option.
|
|
6178
|
+
* @throws {RequiredError}
|
|
6179
|
+
* @memberof CompanyApi
|
|
6180
|
+
*/
|
|
6181
|
+
setCompanyPaymentGatewaysPrimary(requestParameters, options) {
|
|
6182
|
+
return CompanyApiFp(this.configuration).setCompanyPaymentGatewaysPrimary(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
6183
|
+
}
|
|
5662
6184
|
/**
|
|
5663
6185
|
*
|
|
5664
6186
|
* @param {CompanyApiSetCompanySenderEmailRequest} requestParameters Request parameters.
|
|
@@ -5717,7 +6239,7 @@ export class CompanyApi extends BaseAPI {
|
|
|
5717
6239
|
* @memberof CompanyApi
|
|
5718
6240
|
*/
|
|
5719
6241
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
5720
|
-
return CompanyApiFp(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6242
|
+
return CompanyApiFp(this.configuration).updateCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5721
6243
|
}
|
|
5722
6244
|
/**
|
|
5723
6245
|
*
|
|
@@ -5727,7 +6249,17 @@ export class CompanyApi extends BaseAPI {
|
|
|
5727
6249
|
* @memberof CompanyApi
|
|
5728
6250
|
*/
|
|
5729
6251
|
updateCompanyShippingProviders(requestParameters, options) {
|
|
5730
|
-
return CompanyApiFp(this.configuration).updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6252
|
+
return CompanyApiFp(this.configuration).updateCompanyShippingProviders(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6253
|
+
}
|
|
6254
|
+
/**
|
|
6255
|
+
*
|
|
6256
|
+
* @param {CompanyApiUpdateCompanyWarehousesRequest} requestParameters Request parameters.
|
|
6257
|
+
* @param {*} [options] Override http request option.
|
|
6258
|
+
* @throws {RequiredError}
|
|
6259
|
+
* @memberof CompanyApi
|
|
6260
|
+
*/
|
|
6261
|
+
updateCompanyWarehouses(requestParameters, options) {
|
|
6262
|
+
return CompanyApiFp(this.configuration).updateCompanyWarehouses(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateWarehousesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5731
6263
|
}
|
|
5732
6264
|
/**
|
|
5733
6265
|
*
|