flexinet-api 0.0.735-prerelease0 → 0.0.736-prerelease0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -2785,6 +2785,19 @@ export declare const TagValidatorType: {
2785
2785
  readonly FixedValues: "fixed_values";
2786
2786
  };
2787
2787
  export type TagValidatorType = typeof TagValidatorType[keyof typeof TagValidatorType];
2788
+ /**
2789
+ *
2790
+ * @export
2791
+ * @interface TagsBulkCreationRequest
2792
+ */
2793
+ export interface TagsBulkCreationRequest {
2794
+ /**
2795
+ *
2796
+ * @type {Array<TagCreationRequest>}
2797
+ * @memberof TagsBulkCreationRequest
2798
+ */
2799
+ 'tags': Array<TagCreationRequest>;
2800
+ }
2788
2801
  /**
2789
2802
  *
2790
2803
  * @export
@@ -3786,6 +3799,131 @@ export declare class BalanceApi extends BaseAPI {
3786
3799
  */
3787
3800
  updateBalance(beneficiaryValue: string, balanceUpdateRequest?: BalanceUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3788
3801
  }
3802
+ /**
3803
+ * BulkApi - axios parameter creator
3804
+ * @export
3805
+ */
3806
+ export declare const BulkApiAxiosParamCreator: (configuration?: Configuration) => {
3807
+ /**
3808
+ * Create multiple clients
3809
+ * @summary Create multiple clients
3810
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3811
+ * @param {*} [options] Override http request option.
3812
+ * @throws {RequiredError}
3813
+ */
3814
+ bulkCreateClients: (clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3815
+ /**
3816
+ * Create multiple products
3817
+ * @summary Create multiple products
3818
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3819
+ * @param {*} [options] Override http request option.
3820
+ * @throws {RequiredError}
3821
+ */
3822
+ bulkCreateProducts: (productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3823
+ /**
3824
+ * Create multiple tags
3825
+ * @summary Create multiple tags
3826
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
3827
+ * @param {*} [options] Override http request option.
3828
+ * @throws {RequiredError}
3829
+ */
3830
+ bulkCreateTags: (tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3831
+ };
3832
+ /**
3833
+ * BulkApi - functional programming interface
3834
+ * @export
3835
+ */
3836
+ export declare const BulkApiFp: (configuration?: Configuration) => {
3837
+ /**
3838
+ * Create multiple clients
3839
+ * @summary Create multiple clients
3840
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3841
+ * @param {*} [options] Override http request option.
3842
+ * @throws {RequiredError}
3843
+ */
3844
+ bulkCreateClients(clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
3845
+ /**
3846
+ * Create multiple products
3847
+ * @summary Create multiple products
3848
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3849
+ * @param {*} [options] Override http request option.
3850
+ * @throws {RequiredError}
3851
+ */
3852
+ bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>>;
3853
+ /**
3854
+ * Create multiple tags
3855
+ * @summary Create multiple tags
3856
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
3857
+ * @param {*} [options] Override http request option.
3858
+ * @throws {RequiredError}
3859
+ */
3860
+ bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TagDetailed>>>;
3861
+ };
3862
+ /**
3863
+ * BulkApi - factory interface
3864
+ * @export
3865
+ */
3866
+ export declare const BulkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3867
+ /**
3868
+ * Create multiple clients
3869
+ * @summary Create multiple clients
3870
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3871
+ * @param {*} [options] Override http request option.
3872
+ * @throws {RequiredError}
3873
+ */
3874
+ bulkCreateClients(clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: any): AxiosPromise<Array<Client>>;
3875
+ /**
3876
+ * Create multiple products
3877
+ * @summary Create multiple products
3878
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3879
+ * @param {*} [options] Override http request option.
3880
+ * @throws {RequiredError}
3881
+ */
3882
+ bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: any): AxiosPromise<Array<Product>>;
3883
+ /**
3884
+ * Create multiple tags
3885
+ * @summary Create multiple tags
3886
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
3887
+ * @param {*} [options] Override http request option.
3888
+ * @throws {RequiredError}
3889
+ */
3890
+ bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: any): AxiosPromise<Array<TagDetailed>>;
3891
+ };
3892
+ /**
3893
+ * BulkApi - object-oriented interface
3894
+ * @export
3895
+ * @class BulkApi
3896
+ * @extends {BaseAPI}
3897
+ */
3898
+ export declare class BulkApi extends BaseAPI {
3899
+ /**
3900
+ * Create multiple clients
3901
+ * @summary Create multiple clients
3902
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3903
+ * @param {*} [options] Override http request option.
3904
+ * @throws {RequiredError}
3905
+ * @memberof BulkApi
3906
+ */
3907
+ bulkCreateClients(clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
3908
+ /**
3909
+ * Create multiple products
3910
+ * @summary Create multiple products
3911
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3912
+ * @param {*} [options] Override http request option.
3913
+ * @throws {RequiredError}
3914
+ * @memberof BulkApi
3915
+ */
3916
+ bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Product[], any>>;
3917
+ /**
3918
+ * Create multiple tags
3919
+ * @summary Create multiple tags
3920
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
3921
+ * @param {*} [options] Override http request option.
3922
+ * @throws {RequiredError}
3923
+ * @memberof BulkApi
3924
+ */
3925
+ bulkCreateTags(tagsBulkCreationRequest?: TagsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TagDetailed[], any>>;
3926
+ }
3789
3927
  /**
3790
3928
  * CategoryApi - axios parameter creator
3791
3929
  * @export
@@ -3846,14 +3984,6 @@ export declare class CategoryApi extends BaseAPI {
3846
3984
  * @export
3847
3985
  */
3848
3986
  export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
3849
- /**
3850
- * Create multiple clients
3851
- * @summary Create multiple clients
3852
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3853
- * @param {*} [options] Override http request option.
3854
- * @throws {RequiredError}
3855
- */
3856
- bulkCreateClients: (clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3857
3987
  /**
3858
3988
  * Create a new client
3859
3989
  * @summary Create client
@@ -3897,14 +4027,6 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
3897
4027
  * @export
3898
4028
  */
3899
4029
  export declare const ClientApiFp: (configuration?: Configuration) => {
3900
- /**
3901
- * Create multiple clients
3902
- * @summary Create multiple clients
3903
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3904
- * @param {*} [options] Override http request option.
3905
- * @throws {RequiredError}
3906
- */
3907
- bulkCreateClients(clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Client>>>;
3908
4030
  /**
3909
4031
  * Create a new client
3910
4032
  * @summary Create client
@@ -3948,14 +4070,6 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
3948
4070
  * @export
3949
4071
  */
3950
4072
  export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3951
- /**
3952
- * Create multiple clients
3953
- * @summary Create multiple clients
3954
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
3955
- * @param {*} [options] Override http request option.
3956
- * @throws {RequiredError}
3957
- */
3958
- bulkCreateClients(clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: any): AxiosPromise<Array<Client>>;
3959
4073
  /**
3960
4074
  * Create a new client
3961
4075
  * @summary Create client
@@ -4001,15 +4115,6 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
4001
4115
  * @extends {BaseAPI}
4002
4116
  */
4003
4117
  export declare class ClientApi extends BaseAPI {
4004
- /**
4005
- * Create multiple clients
4006
- * @summary Create multiple clients
4007
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
4008
- * @param {*} [options] Override http request option.
4009
- * @throws {RequiredError}
4010
- * @memberof ClientApi
4011
- */
4012
- bulkCreateClients(clientsBulkCreationRequest?: ClientsBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Client[], any>>;
4013
4118
  /**
4014
4119
  * Create a new client
4015
4120
  * @summary Create client
@@ -4951,14 +5056,6 @@ export declare const ProductApiAxiosParamCreator: (configuration?: Configuration
4951
5056
  * @throws {RequiredError}
4952
5057
  */
4953
5058
  approveProduct: (id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4954
- /**
4955
- * Create multiple products
4956
- * @summary Create multiple products
4957
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
4958
- * @param {*} [options] Override http request option.
4959
- * @throws {RequiredError}
4960
- */
4961
- bulkCreateProducts: (productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4962
5059
  /**
4963
5060
  * Create a new product
4964
5061
  * @summary Create a new product
@@ -5068,14 +5165,6 @@ export declare const ProductApiFp: (configuration?: Configuration) => {
5068
5165
  * @throws {RequiredError}
5069
5166
  */
5070
5167
  approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductRequestApprovalResponse>>;
5071
- /**
5072
- * Create multiple products
5073
- * @summary Create multiple products
5074
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5075
- * @param {*} [options] Override http request option.
5076
- * @throws {RequiredError}
5077
- */
5078
- bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Product>>>;
5079
5168
  /**
5080
5169
  * Create a new product
5081
5170
  * @summary Create a new product
@@ -5185,14 +5274,6 @@ export declare const ProductApiFactory: (configuration?: Configuration, basePath
5185
5274
  * @throws {RequiredError}
5186
5275
  */
5187
5276
  approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: any): AxiosPromise<ProductRequestApprovalResponse>;
5188
- /**
5189
- * Create multiple products
5190
- * @summary Create multiple products
5191
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5192
- * @param {*} [options] Override http request option.
5193
- * @throws {RequiredError}
5194
- */
5195
- bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: any): AxiosPromise<Array<Product>>;
5196
5277
  /**
5197
5278
  * Create a new product
5198
5279
  * @summary Create a new product
@@ -5305,15 +5386,6 @@ export declare class ProductApi extends BaseAPI {
5305
5386
  * @memberof ProductApi
5306
5387
  */
5307
5388
  approveProduct(id: string, productRequestApprovalRequest?: ProductRequestApprovalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductRequestApprovalResponse, any>>;
5308
- /**
5309
- * Create multiple products
5310
- * @summary Create multiple products
5311
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
5312
- * @param {*} [options] Override http request option.
5313
- * @throws {RequiredError}
5314
- * @memberof ProductApi
5315
- */
5316
- bulkCreateProducts(productBulkCreationRequest?: ProductBulkCreationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Product[], any>>;
5317
5389
  /**
5318
5390
  * Create a new product
5319
5391
  * @summary Create a new product
package/dist/esm/api.js CHANGED
@@ -855,6 +855,232 @@ export class BalanceApi extends BaseAPI {
855
855
  return BalanceApiFp(this.configuration).updateBalance(beneficiaryValue, balanceUpdateRequest, options).then((request) => request(this.axios, this.basePath));
856
856
  }
857
857
  }
858
+ /**
859
+ * BulkApi - axios parameter creator
860
+ * @export
861
+ */
862
+ export const BulkApiAxiosParamCreator = function (configuration) {
863
+ return {
864
+ /**
865
+ * Create multiple clients
866
+ * @summary Create multiple clients
867
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
868
+ * @param {*} [options] Override http request option.
869
+ * @throws {RequiredError}
870
+ */
871
+ bulkCreateClients: (clientsBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
872
+ const localVarPath = `/admins/clients/bulk`;
873
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
874
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
875
+ let baseOptions;
876
+ if (configuration) {
877
+ baseOptions = configuration.baseOptions;
878
+ }
879
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
880
+ const localVarHeaderParameter = {};
881
+ const localVarQueryParameter = {};
882
+ // authentication ApiKeyAuth required
883
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
884
+ localVarHeaderParameter['Content-Type'] = 'application/json';
885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
887
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
888
+ localVarRequestOptions.data = serializeDataIfNeeded(clientsBulkCreationRequest, localVarRequestOptions, configuration);
889
+ return {
890
+ url: toPathString(localVarUrlObj),
891
+ options: localVarRequestOptions,
892
+ };
893
+ }),
894
+ /**
895
+ * Create multiple products
896
+ * @summary Create multiple products
897
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
898
+ * @param {*} [options] Override http request option.
899
+ * @throws {RequiredError}
900
+ */
901
+ bulkCreateProducts: (productBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
902
+ const localVarPath = `/admins/products/bulk`;
903
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
904
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
905
+ let baseOptions;
906
+ if (configuration) {
907
+ baseOptions = configuration.baseOptions;
908
+ }
909
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
910
+ const localVarHeaderParameter = {};
911
+ const localVarQueryParameter = {};
912
+ // authentication ApiKeyAuth required
913
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
914
+ localVarHeaderParameter['Content-Type'] = 'application/json';
915
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
916
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
917
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
918
+ localVarRequestOptions.data = serializeDataIfNeeded(productBulkCreationRequest, localVarRequestOptions, configuration);
919
+ return {
920
+ url: toPathString(localVarUrlObj),
921
+ options: localVarRequestOptions,
922
+ };
923
+ }),
924
+ /**
925
+ * Create multiple tags
926
+ * @summary Create multiple tags
927
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
928
+ * @param {*} [options] Override http request option.
929
+ * @throws {RequiredError}
930
+ */
931
+ bulkCreateTags: (tagsBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
932
+ const localVarPath = `/admins/tags/bulk`;
933
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
934
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
935
+ let baseOptions;
936
+ if (configuration) {
937
+ baseOptions = configuration.baseOptions;
938
+ }
939
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
940
+ const localVarHeaderParameter = {};
941
+ const localVarQueryParameter = {};
942
+ // authentication ApiKeyAuth required
943
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
944
+ localVarHeaderParameter['Content-Type'] = 'application/json';
945
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
946
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
947
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
948
+ localVarRequestOptions.data = serializeDataIfNeeded(tagsBulkCreationRequest, localVarRequestOptions, configuration);
949
+ return {
950
+ url: toPathString(localVarUrlObj),
951
+ options: localVarRequestOptions,
952
+ };
953
+ }),
954
+ };
955
+ };
956
+ /**
957
+ * BulkApi - functional programming interface
958
+ * @export
959
+ */
960
+ export const BulkApiFp = function (configuration) {
961
+ const localVarAxiosParamCreator = BulkApiAxiosParamCreator(configuration);
962
+ return {
963
+ /**
964
+ * Create multiple clients
965
+ * @summary Create multiple clients
966
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
967
+ * @param {*} [options] Override http request option.
968
+ * @throws {RequiredError}
969
+ */
970
+ bulkCreateClients(clientsBulkCreationRequest, options) {
971
+ return __awaiter(this, void 0, void 0, function* () {
972
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateClients(clientsBulkCreationRequest, options);
973
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
974
+ });
975
+ },
976
+ /**
977
+ * Create multiple products
978
+ * @summary Create multiple products
979
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ */
983
+ bulkCreateProducts(productBulkCreationRequest, options) {
984
+ return __awaiter(this, void 0, void 0, function* () {
985
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateProducts(productBulkCreationRequest, options);
986
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
987
+ });
988
+ },
989
+ /**
990
+ * Create multiple tags
991
+ * @summary Create multiple tags
992
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
993
+ * @param {*} [options] Override http request option.
994
+ * @throws {RequiredError}
995
+ */
996
+ bulkCreateTags(tagsBulkCreationRequest, options) {
997
+ return __awaiter(this, void 0, void 0, function* () {
998
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateTags(tagsBulkCreationRequest, options);
999
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1000
+ });
1001
+ },
1002
+ };
1003
+ };
1004
+ /**
1005
+ * BulkApi - factory interface
1006
+ * @export
1007
+ */
1008
+ export const BulkApiFactory = function (configuration, basePath, axios) {
1009
+ const localVarFp = BulkApiFp(configuration);
1010
+ return {
1011
+ /**
1012
+ * Create multiple clients
1013
+ * @summary Create multiple clients
1014
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1015
+ * @param {*} [options] Override http request option.
1016
+ * @throws {RequiredError}
1017
+ */
1018
+ bulkCreateClients(clientsBulkCreationRequest, options) {
1019
+ return localVarFp.bulkCreateClients(clientsBulkCreationRequest, options).then((request) => request(axios, basePath));
1020
+ },
1021
+ /**
1022
+ * Create multiple products
1023
+ * @summary Create multiple products
1024
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
1025
+ * @param {*} [options] Override http request option.
1026
+ * @throws {RequiredError}
1027
+ */
1028
+ bulkCreateProducts(productBulkCreationRequest, options) {
1029
+ return localVarFp.bulkCreateProducts(productBulkCreationRequest, options).then((request) => request(axios, basePath));
1030
+ },
1031
+ /**
1032
+ * Create multiple tags
1033
+ * @summary Create multiple tags
1034
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
1035
+ * @param {*} [options] Override http request option.
1036
+ * @throws {RequiredError}
1037
+ */
1038
+ bulkCreateTags(tagsBulkCreationRequest, options) {
1039
+ return localVarFp.bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(axios, basePath));
1040
+ },
1041
+ };
1042
+ };
1043
+ /**
1044
+ * BulkApi - object-oriented interface
1045
+ * @export
1046
+ * @class BulkApi
1047
+ * @extends {BaseAPI}
1048
+ */
1049
+ export class BulkApi extends BaseAPI {
1050
+ /**
1051
+ * Create multiple clients
1052
+ * @summary Create multiple clients
1053
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1054
+ * @param {*} [options] Override http request option.
1055
+ * @throws {RequiredError}
1056
+ * @memberof BulkApi
1057
+ */
1058
+ bulkCreateClients(clientsBulkCreationRequest, options) {
1059
+ return BulkApiFp(this.configuration).bulkCreateClients(clientsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1060
+ }
1061
+ /**
1062
+ * Create multiple products
1063
+ * @summary Create multiple products
1064
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
1065
+ * @param {*} [options] Override http request option.
1066
+ * @throws {RequiredError}
1067
+ * @memberof BulkApi
1068
+ */
1069
+ bulkCreateProducts(productBulkCreationRequest, options) {
1070
+ return BulkApiFp(this.configuration).bulkCreateProducts(productBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1071
+ }
1072
+ /**
1073
+ * Create multiple tags
1074
+ * @summary Create multiple tags
1075
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
1076
+ * @param {*} [options] Override http request option.
1077
+ * @throws {RequiredError}
1078
+ * @memberof BulkApi
1079
+ */
1080
+ bulkCreateTags(tagsBulkCreationRequest, options) {
1081
+ return BulkApiFp(this.configuration).bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1082
+ }
1083
+ }
858
1084
  /**
859
1085
  * CategoryApi - axios parameter creator
860
1086
  * @export
@@ -957,36 +1183,6 @@ export class CategoryApi extends BaseAPI {
957
1183
  */
958
1184
  export const ClientApiAxiosParamCreator = function (configuration) {
959
1185
  return {
960
- /**
961
- * Create multiple clients
962
- * @summary Create multiple clients
963
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
964
- * @param {*} [options] Override http request option.
965
- * @throws {RequiredError}
966
- */
967
- bulkCreateClients: (clientsBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
968
- const localVarPath = `/admins/clients/bulk`;
969
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
970
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
971
- let baseOptions;
972
- if (configuration) {
973
- baseOptions = configuration.baseOptions;
974
- }
975
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
976
- const localVarHeaderParameter = {};
977
- const localVarQueryParameter = {};
978
- // authentication ApiKeyAuth required
979
- yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
980
- localVarHeaderParameter['Content-Type'] = 'application/json';
981
- setSearchParams(localVarUrlObj, localVarQueryParameter);
982
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
983
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
984
- localVarRequestOptions.data = serializeDataIfNeeded(clientsBulkCreationRequest, localVarRequestOptions, configuration);
985
- return {
986
- url: toPathString(localVarUrlObj),
987
- options: localVarRequestOptions,
988
- };
989
- }),
990
1186
  /**
991
1187
  * Create a new client
992
1188
  * @summary Create client
@@ -1148,19 +1344,6 @@ export const ClientApiAxiosParamCreator = function (configuration) {
1148
1344
  export const ClientApiFp = function (configuration) {
1149
1345
  const localVarAxiosParamCreator = ClientApiAxiosParamCreator(configuration);
1150
1346
  return {
1151
- /**
1152
- * Create multiple clients
1153
- * @summary Create multiple clients
1154
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1155
- * @param {*} [options] Override http request option.
1156
- * @throws {RequiredError}
1157
- */
1158
- bulkCreateClients(clientsBulkCreationRequest, options) {
1159
- return __awaiter(this, void 0, void 0, function* () {
1160
- const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateClients(clientsBulkCreationRequest, options);
1161
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1162
- });
1163
- },
1164
1347
  /**
1165
1348
  * Create a new client
1166
1349
  * @summary Create client
@@ -1227,16 +1410,6 @@ export const ClientApiFp = function (configuration) {
1227
1410
  export const ClientApiFactory = function (configuration, basePath, axios) {
1228
1411
  const localVarFp = ClientApiFp(configuration);
1229
1412
  return {
1230
- /**
1231
- * Create multiple clients
1232
- * @summary Create multiple clients
1233
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1234
- * @param {*} [options] Override http request option.
1235
- * @throws {RequiredError}
1236
- */
1237
- bulkCreateClients(clientsBulkCreationRequest, options) {
1238
- return localVarFp.bulkCreateClients(clientsBulkCreationRequest, options).then((request) => request(axios, basePath));
1239
- },
1240
1413
  /**
1241
1414
  * Create a new client
1242
1415
  * @summary Create client
@@ -1291,17 +1464,6 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
1291
1464
  * @extends {BaseAPI}
1292
1465
  */
1293
1466
  export class ClientApi extends BaseAPI {
1294
- /**
1295
- * Create multiple clients
1296
- * @summary Create multiple clients
1297
- * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1298
- * @param {*} [options] Override http request option.
1299
- * @throws {RequiredError}
1300
- * @memberof ClientApi
1301
- */
1302
- bulkCreateClients(clientsBulkCreationRequest, options) {
1303
- return ClientApiFp(this.configuration).bulkCreateClients(clientsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1304
- }
1305
1467
  /**
1306
1468
  * Create a new client
1307
1469
  * @summary Create client
@@ -3057,36 +3219,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
3057
3219
  options: localVarRequestOptions,
3058
3220
  };
3059
3221
  }),
3060
- /**
3061
- * Create multiple products
3062
- * @summary Create multiple products
3063
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3064
- * @param {*} [options] Override http request option.
3065
- * @throws {RequiredError}
3066
- */
3067
- bulkCreateProducts: (productBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
3068
- const localVarPath = `/admins/products/bulk`;
3069
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3070
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3071
- let baseOptions;
3072
- if (configuration) {
3073
- baseOptions = configuration.baseOptions;
3074
- }
3075
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3076
- const localVarHeaderParameter = {};
3077
- const localVarQueryParameter = {};
3078
- // authentication ApiKeyAuth required
3079
- yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
3080
- localVarHeaderParameter['Content-Type'] = 'application/json';
3081
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3082
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3083
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3084
- localVarRequestOptions.data = serializeDataIfNeeded(productBulkCreationRequest, localVarRequestOptions, configuration);
3085
- return {
3086
- url: toPathString(localVarUrlObj),
3087
- options: localVarRequestOptions,
3088
- };
3089
- }),
3090
3222
  /**
3091
3223
  * Create a new product
3092
3224
  * @summary Create a new product
@@ -3483,19 +3615,6 @@ export const ProductApiFp = function (configuration) {
3483
3615
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3484
3616
  });
3485
3617
  },
3486
- /**
3487
- * Create multiple products
3488
- * @summary Create multiple products
3489
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3490
- * @param {*} [options] Override http request option.
3491
- * @throws {RequiredError}
3492
- */
3493
- bulkCreateProducts(productBulkCreationRequest, options) {
3494
- return __awaiter(this, void 0, void 0, function* () {
3495
- const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateProducts(productBulkCreationRequest, options);
3496
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3497
- });
3498
- },
3499
3618
  /**
3500
3619
  * Create a new product
3501
3620
  * @summary Create a new product
@@ -3660,16 +3779,6 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
3660
3779
  approveProduct(id, productRequestApprovalRequest, options) {
3661
3780
  return localVarFp.approveProduct(id, productRequestApprovalRequest, options).then((request) => request(axios, basePath));
3662
3781
  },
3663
- /**
3664
- * Create multiple products
3665
- * @summary Create multiple products
3666
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3667
- * @param {*} [options] Override http request option.
3668
- * @throws {RequiredError}
3669
- */
3670
- bulkCreateProducts(productBulkCreationRequest, options) {
3671
- return localVarFp.bulkCreateProducts(productBulkCreationRequest, options).then((request) => request(axios, basePath));
3672
- },
3673
3782
  /**
3674
3783
  * Create a new product
3675
3784
  * @summary Create a new product
@@ -3805,17 +3914,6 @@ export class ProductApi extends BaseAPI {
3805
3914
  approveProduct(id, productRequestApprovalRequest, options) {
3806
3915
  return ProductApiFp(this.configuration).approveProduct(id, productRequestApprovalRequest, options).then((request) => request(this.axios, this.basePath));
3807
3916
  }
3808
- /**
3809
- * Create multiple products
3810
- * @summary Create multiple products
3811
- * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
3812
- * @param {*} [options] Override http request option.
3813
- * @throws {RequiredError}
3814
- * @memberof ProductApi
3815
- */
3816
- bulkCreateProducts(productBulkCreationRequest, options) {
3817
- return ProductApiFp(this.configuration).bulkCreateProducts(productBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
3818
- }
3819
3917
  /**
3820
3918
  * Create a new product
3821
3919
  * @summary Create a new product