@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.js CHANGED
@@ -3847,6 +3847,105 @@ const CompanyApiAxiosParamCreator = function (configuration) {
3847
3847
  options: localVarRequestOptions,
3848
3848
  };
3849
3849
  },
3850
+ /**
3851
+ *
3852
+ * @param {string} id
3853
+ * @param {ICompanyCreatePaymentGatewaysRequest} iCompanyCreatePaymentGatewaysRequest
3854
+ * @param {*} [options] Override http request option.
3855
+ * @throws {RequiredError}
3856
+ */
3857
+ createCompanyPaymentGateways: async (id, iCompanyCreatePaymentGatewaysRequest, options = {}) => {
3858
+ // verify required parameter 'id' is not null or undefined
3859
+ (0, common_1.assertParamExists)('createCompanyPaymentGateways', 'id', id);
3860
+ // verify required parameter 'iCompanyCreatePaymentGatewaysRequest' is not null or undefined
3861
+ (0, common_1.assertParamExists)('createCompanyPaymentGateways', 'iCompanyCreatePaymentGatewaysRequest', iCompanyCreatePaymentGatewaysRequest);
3862
+ const localVarPath = `/api/companies/{id}/payment-gateways`
3863
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3864
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3865
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3866
+ let baseOptions;
3867
+ if (configuration) {
3868
+ baseOptions = configuration.baseOptions;
3869
+ }
3870
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3871
+ const localVarHeaderParameter = {};
3872
+ const localVarQueryParameter = {};
3873
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3874
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3875
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3876
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3877
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyCreatePaymentGatewaysRequest, localVarRequestOptions, configuration);
3878
+ return {
3879
+ url: (0, common_1.toPathString)(localVarUrlObj),
3880
+ options: localVarRequestOptions,
3881
+ };
3882
+ },
3883
+ /**
3884
+ *
3885
+ * @param {string} id
3886
+ * @param {ICompanyCreateShippingProvidersRequest} iCompanyCreateShippingProvidersRequest
3887
+ * @param {*} [options] Override http request option.
3888
+ * @throws {RequiredError}
3889
+ */
3890
+ createCompanyShippingProviders: async (id, iCompanyCreateShippingProvidersRequest, options = {}) => {
3891
+ // verify required parameter 'id' is not null or undefined
3892
+ (0, common_1.assertParamExists)('createCompanyShippingProviders', 'id', id);
3893
+ // verify required parameter 'iCompanyCreateShippingProvidersRequest' is not null or undefined
3894
+ (0, common_1.assertParamExists)('createCompanyShippingProviders', 'iCompanyCreateShippingProvidersRequest', iCompanyCreateShippingProvidersRequest);
3895
+ const localVarPath = `/api/companies/{id}/shipping-providers`
3896
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3897
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3898
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3899
+ let baseOptions;
3900
+ if (configuration) {
3901
+ baseOptions = configuration.baseOptions;
3902
+ }
3903
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3904
+ const localVarHeaderParameter = {};
3905
+ const localVarQueryParameter = {};
3906
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3907
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3908
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3909
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3910
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyCreateShippingProvidersRequest, localVarRequestOptions, configuration);
3911
+ return {
3912
+ url: (0, common_1.toPathString)(localVarUrlObj),
3913
+ options: localVarRequestOptions,
3914
+ };
3915
+ },
3916
+ /**
3917
+ *
3918
+ * @param {string} id
3919
+ * @param {ICompanyCreateWarehousesRequest} iCompanyCreateWarehousesRequest
3920
+ * @param {*} [options] Override http request option.
3921
+ * @throws {RequiredError}
3922
+ */
3923
+ createCompanyWarehouses: async (id, iCompanyCreateWarehousesRequest, options = {}) => {
3924
+ // verify required parameter 'id' is not null or undefined
3925
+ (0, common_1.assertParamExists)('createCompanyWarehouses', 'id', id);
3926
+ // verify required parameter 'iCompanyCreateWarehousesRequest' is not null or undefined
3927
+ (0, common_1.assertParamExists)('createCompanyWarehouses', 'iCompanyCreateWarehousesRequest', iCompanyCreateWarehousesRequest);
3928
+ const localVarPath = `/api/companies/{id}/warehouses`
3929
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3930
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3931
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3932
+ let baseOptions;
3933
+ if (configuration) {
3934
+ baseOptions = configuration.baseOptions;
3935
+ }
3936
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3937
+ const localVarHeaderParameter = {};
3938
+ const localVarQueryParameter = {};
3939
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3940
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3941
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3942
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3943
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyCreateWarehousesRequest, localVarRequestOptions, configuration);
3944
+ return {
3945
+ url: (0, common_1.toPathString)(localVarUrlObj),
3946
+ options: localVarRequestOptions,
3947
+ };
3948
+ },
3850
3949
  /**
3851
3950
  *
3852
3951
  * @param {string} id
@@ -3875,6 +3974,102 @@ const CompanyApiAxiosParamCreator = function (configuration) {
3875
3974
  options: localVarRequestOptions,
3876
3975
  };
3877
3976
  },
3977
+ /**
3978
+ *
3979
+ * @param {string} companyId
3980
+ * @param {string} id
3981
+ * @param {*} [options] Override http request option.
3982
+ * @throws {RequiredError}
3983
+ */
3984
+ deleteCompanyPaymentGateways: async (companyId, id, options = {}) => {
3985
+ // verify required parameter 'companyId' is not null or undefined
3986
+ (0, common_1.assertParamExists)('deleteCompanyPaymentGateways', 'companyId', companyId);
3987
+ // verify required parameter 'id' is not null or undefined
3988
+ (0, common_1.assertParamExists)('deleteCompanyPaymentGateways', 'id', id);
3989
+ const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}`
3990
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
3991
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3992
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3993
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3994
+ let baseOptions;
3995
+ if (configuration) {
3996
+ baseOptions = configuration.baseOptions;
3997
+ }
3998
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
3999
+ const localVarHeaderParameter = {};
4000
+ const localVarQueryParameter = {};
4001
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4002
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4003
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4004
+ return {
4005
+ url: (0, common_1.toPathString)(localVarUrlObj),
4006
+ options: localVarRequestOptions,
4007
+ };
4008
+ },
4009
+ /**
4010
+ *
4011
+ * @param {string} companyId
4012
+ * @param {string} id
4013
+ * @param {*} [options] Override http request option.
4014
+ * @throws {RequiredError}
4015
+ */
4016
+ deleteCompanyShippingProviders: async (companyId, id, options = {}) => {
4017
+ // verify required parameter 'companyId' is not null or undefined
4018
+ (0, common_1.assertParamExists)('deleteCompanyShippingProviders', 'companyId', companyId);
4019
+ // verify required parameter 'id' is not null or undefined
4020
+ (0, common_1.assertParamExists)('deleteCompanyShippingProviders', 'id', id);
4021
+ const localVarPath = `/api/companies/{companyId}/shipping-providers/{id}`
4022
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
4023
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4024
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4025
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4026
+ let baseOptions;
4027
+ if (configuration) {
4028
+ baseOptions = configuration.baseOptions;
4029
+ }
4030
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4031
+ const localVarHeaderParameter = {};
4032
+ const localVarQueryParameter = {};
4033
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4034
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4035
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4036
+ return {
4037
+ url: (0, common_1.toPathString)(localVarUrlObj),
4038
+ options: localVarRequestOptions,
4039
+ };
4040
+ },
4041
+ /**
4042
+ *
4043
+ * @param {string} companyId
4044
+ * @param {string} id
4045
+ * @param {*} [options] Override http request option.
4046
+ * @throws {RequiredError}
4047
+ */
4048
+ deleteCompanyWarehouses: async (companyId, id, options = {}) => {
4049
+ // verify required parameter 'companyId' is not null or undefined
4050
+ (0, common_1.assertParamExists)('deleteCompanyWarehouses', 'companyId', companyId);
4051
+ // verify required parameter 'id' is not null or undefined
4052
+ (0, common_1.assertParamExists)('deleteCompanyWarehouses', 'id', id);
4053
+ const localVarPath = `/api/companies/{companyId}/warehouses/{id}`
4054
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
4055
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4057
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4058
+ let baseOptions;
4059
+ if (configuration) {
4060
+ baseOptions = configuration.baseOptions;
4061
+ }
4062
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
4063
+ const localVarHeaderParameter = {};
4064
+ const localVarQueryParameter = {};
4065
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4066
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4067
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4068
+ return {
4069
+ url: (0, common_1.toPathString)(localVarUrlObj),
4070
+ options: localVarRequestOptions,
4071
+ };
4072
+ },
3878
4073
  /**
3879
4074
  *
3880
4075
  * @param {string} id
@@ -4455,6 +4650,38 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4455
4650
  options: localVarRequestOptions,
4456
4651
  };
4457
4652
  },
4653
+ /**
4654
+ *
4655
+ * @param {string} companyId
4656
+ * @param {string} id
4657
+ * @param {*} [options] Override http request option.
4658
+ * @throws {RequiredError}
4659
+ */
4660
+ setCompanyPaymentGatewaysPrimary: async (companyId, id, options = {}) => {
4661
+ // verify required parameter 'companyId' is not null or undefined
4662
+ (0, common_1.assertParamExists)('setCompanyPaymentGatewaysPrimary', 'companyId', companyId);
4663
+ // verify required parameter 'id' is not null or undefined
4664
+ (0, common_1.assertParamExists)('setCompanyPaymentGatewaysPrimary', 'id', id);
4665
+ const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}/set-primary`
4666
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
4667
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4668
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4669
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4670
+ let baseOptions;
4671
+ if (configuration) {
4672
+ baseOptions = configuration.baseOptions;
4673
+ }
4674
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
4675
+ const localVarHeaderParameter = {};
4676
+ const localVarQueryParameter = {};
4677
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4678
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4679
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4680
+ return {
4681
+ url: (0, common_1.toPathString)(localVarUrlObj),
4682
+ options: localVarRequestOptions,
4683
+ };
4684
+ },
4458
4685
  /**
4459
4686
  *
4460
4687
  * @param {string} id
@@ -4622,17 +4849,21 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4622
4849
  },
4623
4850
  /**
4624
4851
  *
4852
+ * @param {string} companyId
4625
4853
  * @param {string} id
4626
4854
  * @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
4627
4855
  * @param {*} [options] Override http request option.
4628
4856
  * @throws {RequiredError}
4629
4857
  */
4630
- updateCompanyPaymentGateways: async (id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
4858
+ updateCompanyPaymentGateways: async (companyId, id, iCompanyUpdatePaymentGatewaysRequest, options = {}) => {
4859
+ // verify required parameter 'companyId' is not null or undefined
4860
+ (0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'companyId', companyId);
4631
4861
  // verify required parameter 'id' is not null or undefined
4632
4862
  (0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'id', id);
4633
4863
  // verify required parameter 'iCompanyUpdatePaymentGatewaysRequest' is not null or undefined
4634
4864
  (0, common_1.assertParamExists)('updateCompanyPaymentGateways', 'iCompanyUpdatePaymentGatewaysRequest', iCompanyUpdatePaymentGatewaysRequest);
4635
- const localVarPath = `/api/companies/{id}/payment-gateways`
4865
+ const localVarPath = `/api/companies/{companyId}/payment-gateways/{id}`
4866
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
4636
4867
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4637
4868
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4638
4869
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4655,17 +4886,21 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4655
4886
  },
4656
4887
  /**
4657
4888
  *
4889
+ * @param {string} companyId
4658
4890
  * @param {string} id
4659
4891
  * @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
4660
4892
  * @param {*} [options] Override http request option.
4661
4893
  * @throws {RequiredError}
4662
4894
  */
4663
- updateCompanyShippingProviders: async (id, iCompanyUpdateShippingProvidersRequest, options = {}) => {
4895
+ updateCompanyShippingProviders: async (companyId, id, iCompanyUpdateShippingProvidersRequest, options = {}) => {
4896
+ // verify required parameter 'companyId' is not null or undefined
4897
+ (0, common_1.assertParamExists)('updateCompanyShippingProviders', 'companyId', companyId);
4664
4898
  // verify required parameter 'id' is not null or undefined
4665
4899
  (0, common_1.assertParamExists)('updateCompanyShippingProviders', 'id', id);
4666
4900
  // verify required parameter 'iCompanyUpdateShippingProvidersRequest' is not null or undefined
4667
4901
  (0, common_1.assertParamExists)('updateCompanyShippingProviders', 'iCompanyUpdateShippingProvidersRequest', iCompanyUpdateShippingProvidersRequest);
4668
- const localVarPath = `/api/companies/{id}/shipping-providers`
4902
+ const localVarPath = `/api/companies/{companyId}/shipping-providers/{id}`
4903
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
4669
4904
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4670
4905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4671
4906
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -4686,6 +4921,43 @@ const CompanyApiAxiosParamCreator = function (configuration) {
4686
4921
  options: localVarRequestOptions,
4687
4922
  };
4688
4923
  },
4924
+ /**
4925
+ *
4926
+ * @param {string} companyId
4927
+ * @param {string} id
4928
+ * @param {ICompanyUpdateWarehousesRequest} iCompanyUpdateWarehousesRequest
4929
+ * @param {*} [options] Override http request option.
4930
+ * @throws {RequiredError}
4931
+ */
4932
+ updateCompanyWarehouses: async (companyId, id, iCompanyUpdateWarehousesRequest, options = {}) => {
4933
+ // verify required parameter 'companyId' is not null or undefined
4934
+ (0, common_1.assertParamExists)('updateCompanyWarehouses', 'companyId', companyId);
4935
+ // verify required parameter 'id' is not null or undefined
4936
+ (0, common_1.assertParamExists)('updateCompanyWarehouses', 'id', id);
4937
+ // verify required parameter 'iCompanyUpdateWarehousesRequest' is not null or undefined
4938
+ (0, common_1.assertParamExists)('updateCompanyWarehouses', 'iCompanyUpdateWarehousesRequest', iCompanyUpdateWarehousesRequest);
4939
+ const localVarPath = `/api/companies/{companyId}/warehouses/{id}`
4940
+ .replace(`{${"companyId"}}`, encodeURIComponent(String(companyId)))
4941
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4942
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4943
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4944
+ let baseOptions;
4945
+ if (configuration) {
4946
+ baseOptions = configuration.baseOptions;
4947
+ }
4948
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
4949
+ const localVarHeaderParameter = {};
4950
+ const localVarQueryParameter = {};
4951
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4952
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4953
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4954
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4955
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iCompanyUpdateWarehousesRequest, localVarRequestOptions, configuration);
4956
+ return {
4957
+ url: (0, common_1.toPathString)(localVarUrlObj),
4958
+ options: localVarRequestOptions,
4959
+ };
4960
+ },
4689
4961
  /**
4690
4962
  *
4691
4963
  * @param {string} id
@@ -4828,6 +5100,45 @@ const CompanyApiFp = function (configuration) {
4828
5100
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.createCompanyPayment']?.[localVarOperationServerIndex]?.url;
4829
5101
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4830
5102
  },
5103
+ /**
5104
+ *
5105
+ * @param {string} id
5106
+ * @param {ICompanyCreatePaymentGatewaysRequest} iCompanyCreatePaymentGatewaysRequest
5107
+ * @param {*} [options] Override http request option.
5108
+ * @throws {RequiredError}
5109
+ */
5110
+ async createCompanyPaymentGateways(id, iCompanyCreatePaymentGatewaysRequest, options) {
5111
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyPaymentGateways(id, iCompanyCreatePaymentGatewaysRequest, options);
5112
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5113
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.createCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
5114
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5115
+ },
5116
+ /**
5117
+ *
5118
+ * @param {string} id
5119
+ * @param {ICompanyCreateShippingProvidersRequest} iCompanyCreateShippingProvidersRequest
5120
+ * @param {*} [options] Override http request option.
5121
+ * @throws {RequiredError}
5122
+ */
5123
+ async createCompanyShippingProviders(id, iCompanyCreateShippingProvidersRequest, options) {
5124
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyShippingProviders(id, iCompanyCreateShippingProvidersRequest, options);
5125
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5126
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.createCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
5127
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5128
+ },
5129
+ /**
5130
+ *
5131
+ * @param {string} id
5132
+ * @param {ICompanyCreateWarehousesRequest} iCompanyCreateWarehousesRequest
5133
+ * @param {*} [options] Override http request option.
5134
+ * @throws {RequiredError}
5135
+ */
5136
+ async createCompanyWarehouses(id, iCompanyCreateWarehousesRequest, options) {
5137
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCompanyWarehouses(id, iCompanyCreateWarehousesRequest, options);
5138
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5139
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.createCompanyWarehouses']?.[localVarOperationServerIndex]?.url;
5140
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5141
+ },
4831
5142
  /**
4832
5143
  *
4833
5144
  * @param {string} id
@@ -4840,6 +5151,45 @@ const CompanyApiFp = function (configuration) {
4840
5151
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.deleteCompany']?.[localVarOperationServerIndex]?.url;
4841
5152
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4842
5153
  },
5154
+ /**
5155
+ *
5156
+ * @param {string} companyId
5157
+ * @param {string} id
5158
+ * @param {*} [options] Override http request option.
5159
+ * @throws {RequiredError}
5160
+ */
5161
+ async deleteCompanyPaymentGateways(companyId, id, options) {
5162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCompanyPaymentGateways(companyId, id, options);
5163
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5164
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.deleteCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
5165
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5166
+ },
5167
+ /**
5168
+ *
5169
+ * @param {string} companyId
5170
+ * @param {string} id
5171
+ * @param {*} [options] Override http request option.
5172
+ * @throws {RequiredError}
5173
+ */
5174
+ async deleteCompanyShippingProviders(companyId, id, options) {
5175
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCompanyShippingProviders(companyId, id, options);
5176
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5177
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.deleteCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
5178
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5179
+ },
5180
+ /**
5181
+ *
5182
+ * @param {string} companyId
5183
+ * @param {string} id
5184
+ * @param {*} [options] Override http request option.
5185
+ * @throws {RequiredError}
5186
+ */
5187
+ async deleteCompanyWarehouses(companyId, id, options) {
5188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCompanyWarehouses(companyId, id, options);
5189
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5190
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.deleteCompanyWarehouses']?.[localVarOperationServerIndex]?.url;
5191
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5192
+ },
4843
5193
  /**
4844
5194
  *
4845
5195
  * @param {string} id
@@ -5062,6 +5412,19 @@ const CompanyApiFp = function (configuration) {
5062
5412
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.getCompanyVersions']?.[localVarOperationServerIndex]?.url;
5063
5413
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5064
5414
  },
5415
+ /**
5416
+ *
5417
+ * @param {string} companyId
5418
+ * @param {string} id
5419
+ * @param {*} [options] Override http request option.
5420
+ * @throws {RequiredError}
5421
+ */
5422
+ async setCompanyPaymentGatewaysPrimary(companyId, id, options) {
5423
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setCompanyPaymentGatewaysPrimary(companyId, id, options);
5424
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5425
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.setCompanyPaymentGatewaysPrimary']?.[localVarOperationServerIndex]?.url;
5426
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5427
+ },
5065
5428
  /**
5066
5429
  *
5067
5430
  * @param {string} id
@@ -5129,30 +5492,46 @@ const CompanyApiFp = function (configuration) {
5129
5492
  },
5130
5493
  /**
5131
5494
  *
5495
+ * @param {string} companyId
5132
5496
  * @param {string} id
5133
5497
  * @param {ICompanyUpdatePaymentGatewaysRequest} iCompanyUpdatePaymentGatewaysRequest
5134
5498
  * @param {*} [options] Override http request option.
5135
5499
  * @throws {RequiredError}
5136
5500
  */
5137
- async updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options) {
5138
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(id, iCompanyUpdatePaymentGatewaysRequest, options);
5501
+ async updateCompanyPaymentGateways(companyId, id, iCompanyUpdatePaymentGatewaysRequest, options) {
5502
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyPaymentGateways(companyId, id, iCompanyUpdatePaymentGatewaysRequest, options);
5139
5503
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5140
5504
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyPaymentGateways']?.[localVarOperationServerIndex]?.url;
5141
5505
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5142
5506
  },
5143
5507
  /**
5144
5508
  *
5509
+ * @param {string} companyId
5145
5510
  * @param {string} id
5146
5511
  * @param {ICompanyUpdateShippingProvidersRequest} iCompanyUpdateShippingProvidersRequest
5147
5512
  * @param {*} [options] Override http request option.
5148
5513
  * @throws {RequiredError}
5149
5514
  */
5150
- async updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options) {
5151
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyShippingProviders(id, iCompanyUpdateShippingProvidersRequest, options);
5515
+ async updateCompanyShippingProviders(companyId, id, iCompanyUpdateShippingProvidersRequest, options) {
5516
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyShippingProviders(companyId, id, iCompanyUpdateShippingProvidersRequest, options);
5152
5517
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5153
5518
  const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyShippingProviders']?.[localVarOperationServerIndex]?.url;
5154
5519
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5155
5520
  },
5521
+ /**
5522
+ *
5523
+ * @param {string} companyId
5524
+ * @param {string} id
5525
+ * @param {ICompanyUpdateWarehousesRequest} iCompanyUpdateWarehousesRequest
5526
+ * @param {*} [options] Override http request option.
5527
+ * @throws {RequiredError}
5528
+ */
5529
+ async updateCompanyWarehouses(companyId, id, iCompanyUpdateWarehousesRequest, options) {
5530
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCompanyWarehouses(companyId, id, iCompanyUpdateWarehousesRequest, options);
5531
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5532
+ const localVarOperationServerBasePath = base_1.operationServerMap['CompanyApi.updateCompanyWarehouses']?.[localVarOperationServerIndex]?.url;
5533
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5534
+ },
5156
5535
  /**
5157
5536
  *
5158
5537
  * @param {string} id
@@ -5235,6 +5614,33 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
5235
5614
  createCompanyPayment(requestParameters, options) {
5236
5615
  return localVarFp.createCompanyPayment(requestParameters.id, requestParameters.iPaymentPostRequest, options).then((request) => request(axios, basePath));
5237
5616
  },
5617
+ /**
5618
+ *
5619
+ * @param {CompanyApiCreateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
5620
+ * @param {*} [options] Override http request option.
5621
+ * @throws {RequiredError}
5622
+ */
5623
+ createCompanyPaymentGateways(requestParameters, options) {
5624
+ return localVarFp.createCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyCreatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
5625
+ },
5626
+ /**
5627
+ *
5628
+ * @param {CompanyApiCreateCompanyShippingProvidersRequest} requestParameters Request parameters.
5629
+ * @param {*} [options] Override http request option.
5630
+ * @throws {RequiredError}
5631
+ */
5632
+ createCompanyShippingProviders(requestParameters, options) {
5633
+ return localVarFp.createCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyCreateShippingProvidersRequest, options).then((request) => request(axios, basePath));
5634
+ },
5635
+ /**
5636
+ *
5637
+ * @param {CompanyApiCreateCompanyWarehousesRequest} requestParameters Request parameters.
5638
+ * @param {*} [options] Override http request option.
5639
+ * @throws {RequiredError}
5640
+ */
5641
+ createCompanyWarehouses(requestParameters, options) {
5642
+ return localVarFp.createCompanyWarehouses(requestParameters.id, requestParameters.iCompanyCreateWarehousesRequest, options).then((request) => request(axios, basePath));
5643
+ },
5238
5644
  /**
5239
5645
  *
5240
5646
  * @param {CompanyApiDeleteCompanyRequest} requestParameters Request parameters.
@@ -5244,6 +5650,33 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
5244
5650
  deleteCompany(requestParameters, options) {
5245
5651
  return localVarFp.deleteCompany(requestParameters.id, options).then((request) => request(axios, basePath));
5246
5652
  },
5653
+ /**
5654
+ *
5655
+ * @param {CompanyApiDeleteCompanyPaymentGatewaysRequest} requestParameters Request parameters.
5656
+ * @param {*} [options] Override http request option.
5657
+ * @throws {RequiredError}
5658
+ */
5659
+ deleteCompanyPaymentGateways(requestParameters, options) {
5660
+ return localVarFp.deleteCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
5661
+ },
5662
+ /**
5663
+ *
5664
+ * @param {CompanyApiDeleteCompanyShippingProvidersRequest} requestParameters Request parameters.
5665
+ * @param {*} [options] Override http request option.
5666
+ * @throws {RequiredError}
5667
+ */
5668
+ deleteCompanyShippingProviders(requestParameters, options) {
5669
+ return localVarFp.deleteCompanyShippingProviders(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
5670
+ },
5671
+ /**
5672
+ *
5673
+ * @param {CompanyApiDeleteCompanyWarehousesRequest} requestParameters Request parameters.
5674
+ * @param {*} [options] Override http request option.
5675
+ * @throws {RequiredError}
5676
+ */
5677
+ deleteCompanyWarehouses(requestParameters, options) {
5678
+ return localVarFp.deleteCompanyWarehouses(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
5679
+ },
5247
5680
  /**
5248
5681
  *
5249
5682
  * @param {CompanyApiDeleteDomainRequest} requestParameters Request parameters.
@@ -5388,6 +5821,15 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
5388
5821
  getCompanyVersions(requestParameters, options) {
5389
5822
  return localVarFp.getCompanyVersions(requestParameters.id, options).then((request) => request(axios, basePath));
5390
5823
  },
5824
+ /**
5825
+ *
5826
+ * @param {CompanyApiSetCompanyPaymentGatewaysPrimaryRequest} requestParameters Request parameters.
5827
+ * @param {*} [options] Override http request option.
5828
+ * @throws {RequiredError}
5829
+ */
5830
+ setCompanyPaymentGatewaysPrimary(requestParameters, options) {
5831
+ return localVarFp.setCompanyPaymentGatewaysPrimary(requestParameters.companyId, requestParameters.id, options).then((request) => request(axios, basePath));
5832
+ },
5391
5833
  /**
5392
5834
  *
5393
5835
  * @param {CompanyApiSetCompanySenderEmailRequest} requestParameters Request parameters.
@@ -5440,7 +5882,7 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
5440
5882
  * @throws {RequiredError}
5441
5883
  */
5442
5884
  updateCompanyPaymentGateways(requestParameters, options) {
5443
- return localVarFp.updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
5885
+ return localVarFp.updateCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(axios, basePath));
5444
5886
  },
5445
5887
  /**
5446
5888
  *
@@ -5449,7 +5891,16 @@ const CompanyApiFactory = function (configuration, basePath, axios) {
5449
5891
  * @throws {RequiredError}
5450
5892
  */
5451
5893
  updateCompanyShippingProviders(requestParameters, options) {
5452
- return localVarFp.updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(axios, basePath));
5894
+ return localVarFp.updateCompanyShippingProviders(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(axios, basePath));
5895
+ },
5896
+ /**
5897
+ *
5898
+ * @param {CompanyApiUpdateCompanyWarehousesRequest} requestParameters Request parameters.
5899
+ * @param {*} [options] Override http request option.
5900
+ * @throws {RequiredError}
5901
+ */
5902
+ updateCompanyWarehouses(requestParameters, options) {
5903
+ return localVarFp.updateCompanyWarehouses(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateWarehousesRequest, options).then((request) => request(axios, basePath));
5453
5904
  },
5454
5905
  /**
5455
5906
  *
@@ -5529,6 +5980,36 @@ class CompanyApi extends base_1.BaseAPI {
5529
5980
  createCompanyPayment(requestParameters, options) {
5530
5981
  return (0, exports.CompanyApiFp)(this.configuration).createCompanyPayment(requestParameters.id, requestParameters.iPaymentPostRequest, options).then((request) => request(this.axios, this.basePath));
5531
5982
  }
5983
+ /**
5984
+ *
5985
+ * @param {CompanyApiCreateCompanyPaymentGatewaysRequest} requestParameters Request parameters.
5986
+ * @param {*} [options] Override http request option.
5987
+ * @throws {RequiredError}
5988
+ * @memberof CompanyApi
5989
+ */
5990
+ createCompanyPaymentGateways(requestParameters, options) {
5991
+ return (0, exports.CompanyApiFp)(this.configuration).createCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyCreatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
5992
+ }
5993
+ /**
5994
+ *
5995
+ * @param {CompanyApiCreateCompanyShippingProvidersRequest} requestParameters Request parameters.
5996
+ * @param {*} [options] Override http request option.
5997
+ * @throws {RequiredError}
5998
+ * @memberof CompanyApi
5999
+ */
6000
+ createCompanyShippingProviders(requestParameters, options) {
6001
+ return (0, exports.CompanyApiFp)(this.configuration).createCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyCreateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
6002
+ }
6003
+ /**
6004
+ *
6005
+ * @param {CompanyApiCreateCompanyWarehousesRequest} requestParameters Request parameters.
6006
+ * @param {*} [options] Override http request option.
6007
+ * @throws {RequiredError}
6008
+ * @memberof CompanyApi
6009
+ */
6010
+ createCompanyWarehouses(requestParameters, options) {
6011
+ return (0, exports.CompanyApiFp)(this.configuration).createCompanyWarehouses(requestParameters.id, requestParameters.iCompanyCreateWarehousesRequest, options).then((request) => request(this.axios, this.basePath));
6012
+ }
5532
6013
  /**
5533
6014
  *
5534
6015
  * @param {CompanyApiDeleteCompanyRequest} requestParameters Request parameters.
@@ -5539,6 +6020,36 @@ class CompanyApi extends base_1.BaseAPI {
5539
6020
  deleteCompany(requestParameters, options) {
5540
6021
  return (0, exports.CompanyApiFp)(this.configuration).deleteCompany(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5541
6022
  }
6023
+ /**
6024
+ *
6025
+ * @param {CompanyApiDeleteCompanyPaymentGatewaysRequest} requestParameters Request parameters.
6026
+ * @param {*} [options] Override http request option.
6027
+ * @throws {RequiredError}
6028
+ * @memberof CompanyApi
6029
+ */
6030
+ deleteCompanyPaymentGateways(requestParameters, options) {
6031
+ return (0, exports.CompanyApiFp)(this.configuration).deleteCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6032
+ }
6033
+ /**
6034
+ *
6035
+ * @param {CompanyApiDeleteCompanyShippingProvidersRequest} requestParameters Request parameters.
6036
+ * @param {*} [options] Override http request option.
6037
+ * @throws {RequiredError}
6038
+ * @memberof CompanyApi
6039
+ */
6040
+ deleteCompanyShippingProviders(requestParameters, options) {
6041
+ return (0, exports.CompanyApiFp)(this.configuration).deleteCompanyShippingProviders(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6042
+ }
6043
+ /**
6044
+ *
6045
+ * @param {CompanyApiDeleteCompanyWarehousesRequest} requestParameters Request parameters.
6046
+ * @param {*} [options] Override http request option.
6047
+ * @throws {RequiredError}
6048
+ * @memberof CompanyApi
6049
+ */
6050
+ deleteCompanyWarehouses(requestParameters, options) {
6051
+ return (0, exports.CompanyApiFp)(this.configuration).deleteCompanyWarehouses(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6052
+ }
5542
6053
  /**
5543
6054
  *
5544
6055
  * @param {CompanyApiDeleteDomainRequest} requestParameters Request parameters.
@@ -5699,6 +6210,16 @@ class CompanyApi extends base_1.BaseAPI {
5699
6210
  getCompanyVersions(requestParameters, options) {
5700
6211
  return (0, exports.CompanyApiFp)(this.configuration).getCompanyVersions(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5701
6212
  }
6213
+ /**
6214
+ *
6215
+ * @param {CompanyApiSetCompanyPaymentGatewaysPrimaryRequest} requestParameters Request parameters.
6216
+ * @param {*} [options] Override http request option.
6217
+ * @throws {RequiredError}
6218
+ * @memberof CompanyApi
6219
+ */
6220
+ setCompanyPaymentGatewaysPrimary(requestParameters, options) {
6221
+ return (0, exports.CompanyApiFp)(this.configuration).setCompanyPaymentGatewaysPrimary(requestParameters.companyId, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6222
+ }
5702
6223
  /**
5703
6224
  *
5704
6225
  * @param {CompanyApiSetCompanySenderEmailRequest} requestParameters Request parameters.
@@ -5757,7 +6278,7 @@ class CompanyApi extends base_1.BaseAPI {
5757
6278
  * @memberof CompanyApi
5758
6279
  */
5759
6280
  updateCompanyPaymentGateways(requestParameters, options) {
5760
- return (0, exports.CompanyApiFp)(this.configuration).updateCompanyPaymentGateways(requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
6281
+ return (0, exports.CompanyApiFp)(this.configuration).updateCompanyPaymentGateways(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdatePaymentGatewaysRequest, options).then((request) => request(this.axios, this.basePath));
5761
6282
  }
5762
6283
  /**
5763
6284
  *
@@ -5767,7 +6288,17 @@ class CompanyApi extends base_1.BaseAPI {
5767
6288
  * @memberof CompanyApi
5768
6289
  */
5769
6290
  updateCompanyShippingProviders(requestParameters, options) {
5770
- return (0, exports.CompanyApiFp)(this.configuration).updateCompanyShippingProviders(requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
6291
+ return (0, exports.CompanyApiFp)(this.configuration).updateCompanyShippingProviders(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateShippingProvidersRequest, options).then((request) => request(this.axios, this.basePath));
6292
+ }
6293
+ /**
6294
+ *
6295
+ * @param {CompanyApiUpdateCompanyWarehousesRequest} requestParameters Request parameters.
6296
+ * @param {*} [options] Override http request option.
6297
+ * @throws {RequiredError}
6298
+ * @memberof CompanyApi
6299
+ */
6300
+ updateCompanyWarehouses(requestParameters, options) {
6301
+ return (0, exports.CompanyApiFp)(this.configuration).updateCompanyWarehouses(requestParameters.companyId, requestParameters.id, requestParameters.iCompanyUpdateWarehousesRequest, options).then((request) => request(this.axios, this.basePath));
5771
6302
  }
5772
6303
  /**
5773
6304
  *