@infisale-client/api 1.2.104 → 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 +742 -59
- package/dist/api/api.js +543 -12
- package/dist/api/api.mjs +543 -12
- package/package.json +2 -2
package/dist/api/api.mjs
CHANGED
|
@@ -3811,6 +3811,105 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3811
3811
|
options: localVarRequestOptions,
|
|
3812
3812
|
};
|
|
3813
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
|
+
},
|
|
3814
3913
|
/**
|
|
3815
3914
|
*
|
|
3816
3915
|
* @param {string} id
|
|
@@ -3839,6 +3938,102 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
3839
3938
|
options: localVarRequestOptions,
|
|
3840
3939
|
};
|
|
3841
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
|
+
},
|
|
3842
4037
|
/**
|
|
3843
4038
|
*
|
|
3844
4039
|
* @param {string} id
|
|
@@ -4419,6 +4614,38 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4419
4614
|
options: localVarRequestOptions,
|
|
4420
4615
|
};
|
|
4421
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
|
+
},
|
|
4422
4649
|
/**
|
|
4423
4650
|
*
|
|
4424
4651
|
* @param {string} id
|
|
@@ -4586,17 +4813,21 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4586
4813
|
},
|
|
4587
4814
|
/**
|
|
4588
4815
|
*
|
|
4816
|
+
* @param {string} companyId
|
|
4589
4817
|
* @param {string} id
|
|
4590
4818
|
* @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
|
|
4591
4819
|
* @param {*} [options] Override http request option.
|
|
4592
4820
|
* @throws {RequiredError}
|
|
4593
4821
|
*/
|
|
4594
|
-
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);
|
|
4595
4825
|
// verify required parameter 'id' is not null or undefined
|
|
4596
4826
|
assertParamExists('updateCompanyPaymentGateways', 'id', id);
|
|
4597
4827
|
// verify required parameter 'iCompanyUpdatePaymentGatewaysRequest' is not null or undefined
|
|
4598
4828
|
assertParamExists('updateCompanyPaymentGateways', 'iCompanyUpdatePaymentGatewaysRequest', iCompanyUpdatePaymentGatewaysRequest);
|
|
4599
|
-
const localVarPath = `/api/companies/{
|
|
4829
|
+
const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}`
|
|
4830
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4600
4831
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4601
4832
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4602
4833
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4619,17 +4850,21 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4619
4850
|
},
|
|
4620
4851
|
/**
|
|
4621
4852
|
*
|
|
4853
|
+
* @param {string} companyId
|
|
4622
4854
|
* @param {string} id
|
|
4623
4855
|
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
4624
4856
|
* @param {*} [options] Override http request option.
|
|
4625
4857
|
* @throws {RequiredError}
|
|
4626
4858
|
*/
|
|
4627
|
-
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);
|
|
4628
4862
|
// verify required parameter 'id' is not null or undefined
|
|
4629
4863
|
assertParamExists('updateCompanyShippingProviders', 'id', id);
|
|
4630
4864
|
// verify required parameter 'iCompanyUpdateShippingProvidersRequest' is not null or undefined
|
|
4631
4865
|
assertParamExists('updateCompanyShippingProviders', 'iCompanyUpdateShippingProvidersRequest', iCompanyUpdateShippingProvidersRequest);
|
|
4632
|
-
const localVarPath = `/api/companies/{
|
|
4866
|
+
const localVarPath = `/api/companies/{companyId}/shipping-providers/{id}`
|
|
4867
|
+
.replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
|
|
4633
4868
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4634
4869
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4635
4870
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4650,6 +4885,43 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
|
|
|
4650
4885
|
options: localVarRequestOptions,
|
|
4651
4886
|
};
|
|
4652
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
|
+
},
|
|
4653
4925
|
/**
|
|
4654
4926
|
*
|
|
4655
4927
|
* @param {string} id
|
|
@@ -4791,6 +5063,45 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4791
5063
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.createCompanyPayment']?.[localVarOperationServerIndex]?.url;
|
|
4792
5064
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4793
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
|
+
},
|
|
4794
5105
|
/**
|
|
4795
5106
|
*
|
|
4796
5107
|
* @param {string} id
|
|
@@ -4803,6 +5114,45 @@ export const CompanyApiFp = function (configuration) {
|
|
|
4803
5114
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.deleteCompany']?.[localVarOperationServerIndex]?.url;
|
|
4804
5115
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4805
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
|
+
},
|
|
4806
5156
|
/**
|
|
4807
5157
|
*
|
|
4808
5158
|
* @param {string} id
|
|
@@ -5025,6 +5375,19 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5025
5375
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.getCompanyVersions']?.[localVarOperationServerIndex]?.url;
|
|
5026
5376
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5027
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
|
+
},
|
|
5028
5391
|
/**
|
|
5029
5392
|
*
|
|
5030
5393
|
* @param {string} id
|
|
@@ -5092,30 +5455,46 @@ export const CompanyApiFp = function (configuration) {
|
|
|
5092
5455
|
},
|
|
5093
5456
|
/**
|
|
5094
5457
|
*
|
|
5458
|
+
* @param {string} companyId
|
|
5095
5459
|
* @param {string} id
|
|
5096
5460
|
* @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
|
|
5097
5461
|
* @param {*} [options] Override http request option.
|
|
5098
5462
|
* @throws {RequiredError}
|
|
5099
5463
|
*/
|
|
5100
|
-
async updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options) {
|
|
5101
|
-
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);
|
|
5102
5466
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5103
5467
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
|
|
5104
5468
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5105
5469
|
},
|
|
5106
5470
|
/**
|
|
5107
5471
|
*
|
|
5472
|
+
* @param {string} companyId
|
|
5108
5473
|
* @param {string} id
|
|
5109
5474
|
* @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
|
|
5110
5475
|
* @param {*} [options] Override http request option.
|
|
5111
5476
|
* @throws {RequiredError}
|
|
5112
5477
|
*/
|
|
5113
|
-
async updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options) {
|
|
5114
|
-
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);
|
|
5115
5480
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5116
5481
|
const localVarOperationServerBasePath = operationServerMap['CompanyApi.updateCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
|
|
5117
5482
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5118
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
|
+
},
|
|
5119
5498
|
/**
|
|
5120
5499
|
*
|
|
5121
5500
|
* @param {string} id
|
|
@@ -5197,6 +5576,33 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5197
5576
|
createCompanyPayment(requestParameters, options) {
|
|
5198
5577
|
return localVarFp.createCompanyPayment(requestParameters.id, requestParameters.iPaymentPostRequest, options).then((request) => request(axios, basePath));
|
|
5199
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
|
+
},
|
|
5200
5606
|
/**
|
|
5201
5607
|
*
|
|
5202
5608
|
* @param {CompanyApiDeleteCompanyRequest} requestParameters Request parameters.
|
|
@@ -5206,6 +5612,33 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5206
5612
|
deleteCompany(requestParameters, options) {
|
|
5207
5613
|
return localVarFp.deleteCompany(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5208
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
|
+
},
|
|
5209
5642
|
/**
|
|
5210
5643
|
*
|
|
5211
5644
|
* @param {CompanyApiDeleteDomainRequest} requestParameters Request parameters.
|
|
@@ -5350,6 +5783,15 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5350
5783
|
getCompanyVersions(requestParameters, options) {
|
|
5351
5784
|
return localVarFp.getCompanyVersions(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
5352
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
|
+
},
|
|
5353
5795
|
/**
|
|
5354
5796
|
*
|
|
5355
5797
|
* @param {CompanyApiSetCompanySenderEmailRequest} requestParameters Request parameters.
|
|
@@ -5402,7 +5844,7 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5402
5844
|
* @throws {RequiredError}
|
|
5403
5845
|
*/
|
|
5404
5846
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
5405
|
-
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));
|
|
5406
5848
|
},
|
|
5407
5849
|
/**
|
|
5408
5850
|
*
|
|
@@ -5411,7 +5853,16 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
|
|
|
5411
5853
|
* @throws {RequiredError}
|
|
5412
5854
|
*/
|
|
5413
5855
|
updateCompanyShippingProviders(requestParameters, options) {
|
|
5414
|
-
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));
|
|
5415
5866
|
},
|
|
5416
5867
|
/**
|
|
5417
5868
|
*
|
|
@@ -5490,6 +5941,36 @@ export class CompanyApi extends BaseAPI {
|
|
|
5490
5941
|
createCompanyPayment(requestParameters, options) {
|
|
5491
5942
|
return CompanyApiFp(this.configuration).createCompanyPayment(requestParameters.id, requestParameters.iPaymentPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5492
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
|
+
}
|
|
5493
5974
|
/**
|
|
5494
5975
|
*
|
|
5495
5976
|
* @param {CompanyApiDeleteCompanyRequest} requestParameters Request parameters.
|
|
@@ -5500,6 +5981,36 @@ export class CompanyApi extends BaseAPI {
|
|
|
5500
5981
|
deleteCompany(requestParameters, options) {
|
|
5501
5982
|
return CompanyApiFp(this.configuration).deleteCompany(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5502
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
|
+
}
|
|
5503
6014
|
/**
|
|
5504
6015
|
*
|
|
5505
6016
|
* @param {CompanyApiDeleteDomainRequest} requestParameters Request parameters.
|
|
@@ -5660,6 +6171,16 @@ export class CompanyApi extends BaseAPI {
|
|
|
5660
6171
|
getCompanyVersions(requestParameters, options) {
|
|
5661
6172
|
return CompanyApiFp(this.configuration).getCompanyVersions(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5662
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
|
+
}
|
|
5663
6184
|
/**
|
|
5664
6185
|
*
|
|
5665
6186
|
* @param {CompanyApiSetCompanySenderEmailRequest} requestParameters Request parameters.
|
|
@@ -5718,7 +6239,7 @@ export class CompanyApi extends BaseAPI {
|
|
|
5718
6239
|
* @memberof CompanyApi
|
|
5719
6240
|
*/
|
|
5720
6241
|
updateCompanyPaymentGateways(requestParameters, options) {
|
|
5721
|
-
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));
|
|
5722
6243
|
}
|
|
5723
6244
|
/**
|
|
5724
6245
|
*
|
|
@@ -5728,7 +6249,17 @@ export class CompanyApi extends BaseAPI {
|
|
|
5728
6249
|
* @memberof CompanyApi
|
|
5729
6250
|
*/
|
|
5730
6251
|
updateCompanyShippingProviders(requestParameters, options) {
|
|
5731
|
-
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));
|
|
5732
6263
|
}
|
|
5733
6264
|
/**
|
|
5734
6265
|
*
|