flexinet-api 0.0.735-prerelease0 → 0.0.737-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.js CHANGED
@@ -26,6 +26,15 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI } from './base';
29
+ /**
30
+ *
31
+ * @export
32
+ * @enum {string}
33
+ */
34
+ export const ApiKeyKind = {
35
+ Webhook: 'webhook',
36
+ Api: 'api'
37
+ };
29
38
  export const AuditLogActionEnum = {
30
39
  Create: 'create',
31
40
  Update: 'update'
@@ -855,6 +864,232 @@ export class BalanceApi extends BaseAPI {
855
864
  return BalanceApiFp(this.configuration).updateBalance(beneficiaryValue, balanceUpdateRequest, options).then((request) => request(this.axios, this.basePath));
856
865
  }
857
866
  }
867
+ /**
868
+ * BulkApi - axios parameter creator
869
+ * @export
870
+ */
871
+ export const BulkApiAxiosParamCreator = function (configuration) {
872
+ return {
873
+ /**
874
+ * Create multiple clients
875
+ * @summary Create multiple clients
876
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
877
+ * @param {*} [options] Override http request option.
878
+ * @throws {RequiredError}
879
+ */
880
+ bulkCreateClients: (clientsBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
881
+ const localVarPath = `/admins/clients/bulk`;
882
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
883
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
884
+ let baseOptions;
885
+ if (configuration) {
886
+ baseOptions = configuration.baseOptions;
887
+ }
888
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
889
+ const localVarHeaderParameter = {};
890
+ const localVarQueryParameter = {};
891
+ // authentication ApiKeyAuth required
892
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
893
+ localVarHeaderParameter['Content-Type'] = 'application/json';
894
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
895
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
896
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
897
+ localVarRequestOptions.data = serializeDataIfNeeded(clientsBulkCreationRequest, localVarRequestOptions, configuration);
898
+ return {
899
+ url: toPathString(localVarUrlObj),
900
+ options: localVarRequestOptions,
901
+ };
902
+ }),
903
+ /**
904
+ * Create multiple products
905
+ * @summary Create multiple products
906
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
907
+ * @param {*} [options] Override http request option.
908
+ * @throws {RequiredError}
909
+ */
910
+ bulkCreateProducts: (productBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
911
+ const localVarPath = `/admins/products/bulk`;
912
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
913
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
914
+ let baseOptions;
915
+ if (configuration) {
916
+ baseOptions = configuration.baseOptions;
917
+ }
918
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
919
+ const localVarHeaderParameter = {};
920
+ const localVarQueryParameter = {};
921
+ // authentication ApiKeyAuth required
922
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
923
+ localVarHeaderParameter['Content-Type'] = 'application/json';
924
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
925
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
926
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
927
+ localVarRequestOptions.data = serializeDataIfNeeded(productBulkCreationRequest, localVarRequestOptions, configuration);
928
+ return {
929
+ url: toPathString(localVarUrlObj),
930
+ options: localVarRequestOptions,
931
+ };
932
+ }),
933
+ /**
934
+ * Create multiple tags
935
+ * @summary Create multiple tags
936
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
937
+ * @param {*} [options] Override http request option.
938
+ * @throws {RequiredError}
939
+ */
940
+ bulkCreateTags: (tagsBulkCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
941
+ const localVarPath = `/admins/tags/bulk`;
942
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
943
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
944
+ let baseOptions;
945
+ if (configuration) {
946
+ baseOptions = configuration.baseOptions;
947
+ }
948
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
949
+ const localVarHeaderParameter = {};
950
+ const localVarQueryParameter = {};
951
+ // authentication ApiKeyAuth required
952
+ yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
953
+ localVarHeaderParameter['Content-Type'] = 'application/json';
954
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
955
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
956
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
957
+ localVarRequestOptions.data = serializeDataIfNeeded(tagsBulkCreationRequest, localVarRequestOptions, configuration);
958
+ return {
959
+ url: toPathString(localVarUrlObj),
960
+ options: localVarRequestOptions,
961
+ };
962
+ }),
963
+ };
964
+ };
965
+ /**
966
+ * BulkApi - functional programming interface
967
+ * @export
968
+ */
969
+ export const BulkApiFp = function (configuration) {
970
+ const localVarAxiosParamCreator = BulkApiAxiosParamCreator(configuration);
971
+ return {
972
+ /**
973
+ * Create multiple clients
974
+ * @summary Create multiple clients
975
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
976
+ * @param {*} [options] Override http request option.
977
+ * @throws {RequiredError}
978
+ */
979
+ bulkCreateClients(clientsBulkCreationRequest, options) {
980
+ return __awaiter(this, void 0, void 0, function* () {
981
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateClients(clientsBulkCreationRequest, options);
982
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
983
+ });
984
+ },
985
+ /**
986
+ * Create multiple products
987
+ * @summary Create multiple products
988
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
989
+ * @param {*} [options] Override http request option.
990
+ * @throws {RequiredError}
991
+ */
992
+ bulkCreateProducts(productBulkCreationRequest, options) {
993
+ return __awaiter(this, void 0, void 0, function* () {
994
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateProducts(productBulkCreationRequest, options);
995
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
996
+ });
997
+ },
998
+ /**
999
+ * Create multiple tags
1000
+ * @summary Create multiple tags
1001
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
1002
+ * @param {*} [options] Override http request option.
1003
+ * @throws {RequiredError}
1004
+ */
1005
+ bulkCreateTags(tagsBulkCreationRequest, options) {
1006
+ return __awaiter(this, void 0, void 0, function* () {
1007
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkCreateTags(tagsBulkCreationRequest, options);
1008
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1009
+ });
1010
+ },
1011
+ };
1012
+ };
1013
+ /**
1014
+ * BulkApi - factory interface
1015
+ * @export
1016
+ */
1017
+ export const BulkApiFactory = function (configuration, basePath, axios) {
1018
+ const localVarFp = BulkApiFp(configuration);
1019
+ return {
1020
+ /**
1021
+ * Create multiple clients
1022
+ * @summary Create multiple clients
1023
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1024
+ * @param {*} [options] Override http request option.
1025
+ * @throws {RequiredError}
1026
+ */
1027
+ bulkCreateClients(clientsBulkCreationRequest, options) {
1028
+ return localVarFp.bulkCreateClients(clientsBulkCreationRequest, options).then((request) => request(axios, basePath));
1029
+ },
1030
+ /**
1031
+ * Create multiple products
1032
+ * @summary Create multiple products
1033
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
1034
+ * @param {*} [options] Override http request option.
1035
+ * @throws {RequiredError}
1036
+ */
1037
+ bulkCreateProducts(productBulkCreationRequest, options) {
1038
+ return localVarFp.bulkCreateProducts(productBulkCreationRequest, options).then((request) => request(axios, basePath));
1039
+ },
1040
+ /**
1041
+ * Create multiple tags
1042
+ * @summary Create multiple tags
1043
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
1044
+ * @param {*} [options] Override http request option.
1045
+ * @throws {RequiredError}
1046
+ */
1047
+ bulkCreateTags(tagsBulkCreationRequest, options) {
1048
+ return localVarFp.bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(axios, basePath));
1049
+ },
1050
+ };
1051
+ };
1052
+ /**
1053
+ * BulkApi - object-oriented interface
1054
+ * @export
1055
+ * @class BulkApi
1056
+ * @extends {BaseAPI}
1057
+ */
1058
+ export class BulkApi extends BaseAPI {
1059
+ /**
1060
+ * Create multiple clients
1061
+ * @summary Create multiple clients
1062
+ * @param {ClientsBulkCreationRequest} [clientsBulkCreationRequest]
1063
+ * @param {*} [options] Override http request option.
1064
+ * @throws {RequiredError}
1065
+ * @memberof BulkApi
1066
+ */
1067
+ bulkCreateClients(clientsBulkCreationRequest, options) {
1068
+ return BulkApiFp(this.configuration).bulkCreateClients(clientsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1069
+ }
1070
+ /**
1071
+ * Create multiple products
1072
+ * @summary Create multiple products
1073
+ * @param {ProductBulkCreationRequest} [productBulkCreationRequest]
1074
+ * @param {*} [options] Override http request option.
1075
+ * @throws {RequiredError}
1076
+ * @memberof BulkApi
1077
+ */
1078
+ bulkCreateProducts(productBulkCreationRequest, options) {
1079
+ return BulkApiFp(this.configuration).bulkCreateProducts(productBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1080
+ }
1081
+ /**
1082
+ * Create multiple tags
1083
+ * @summary Create multiple tags
1084
+ * @param {TagsBulkCreationRequest} [tagsBulkCreationRequest]
1085
+ * @param {*} [options] Override http request option.
1086
+ * @throws {RequiredError}
1087
+ * @memberof BulkApi
1088
+ */
1089
+ bulkCreateTags(tagsBulkCreationRequest, options) {
1090
+ return BulkApiFp(this.configuration).bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1091
+ }
1092
+ }
858
1093
  /**
859
1094
  * CategoryApi - axios parameter creator
860
1095
  * @export
@@ -957,36 +1192,6 @@ export class CategoryApi extends BaseAPI {
957
1192
  */
958
1193
  export const ClientApiAxiosParamCreator = function (configuration) {
959
1194
  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
1195
  /**
991
1196
  * Create a new client
992
1197
  * @summary Create client
@@ -1148,19 +1353,6 @@ export const ClientApiAxiosParamCreator = function (configuration) {
1148
1353
  export const ClientApiFp = function (configuration) {
1149
1354
  const localVarAxiosParamCreator = ClientApiAxiosParamCreator(configuration);
1150
1355
  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
1356
  /**
1165
1357
  * Create a new client
1166
1358
  * @summary Create client
@@ -1227,16 +1419,6 @@ export const ClientApiFp = function (configuration) {
1227
1419
  export const ClientApiFactory = function (configuration, basePath, axios) {
1228
1420
  const localVarFp = ClientApiFp(configuration);
1229
1421
  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
1422
  /**
1241
1423
  * Create a new client
1242
1424
  * @summary Create client
@@ -1291,17 +1473,6 @@ export const ClientApiFactory = function (configuration, basePath, axios) {
1291
1473
  * @extends {BaseAPI}
1292
1474
  */
1293
1475
  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
1476
  /**
1306
1477
  * Create a new client
1307
1478
  * @summary Create client
@@ -1854,10 +2025,11 @@ export const IntegrationApiAxiosParamCreator = function (configuration) {
1854
2025
  /**
1855
2026
  * Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
1856
2027
  * @summary Generate API key for the current tenant
2028
+ * @param {GenerateApiKeyRequest} [generateApiKeyRequest]
1857
2029
  * @param {*} [options] Override http request option.
1858
2030
  * @throws {RequiredError}
1859
2031
  */
1860
- generateApiKey: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2032
+ generateApiKey: (generateApiKeyRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1861
2033
  const localVarPath = `/admins/integrations/apikey`;
1862
2034
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1863
2035
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1871,9 +2043,11 @@ export const IntegrationApiAxiosParamCreator = function (configuration) {
1871
2043
  // authentication systemJWT required
1872
2044
  // http bearer authentication required
1873
2045
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2046
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1874
2047
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1875
2048
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1876
2049
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2050
+ localVarRequestOptions.data = serializeDataIfNeeded(generateApiKeyRequest, localVarRequestOptions, configuration);
1877
2051
  return {
1878
2052
  url: toPathString(localVarUrlObj),
1879
2053
  options: localVarRequestOptions,
@@ -1940,33 +2114,6 @@ export const IntegrationApiAxiosParamCreator = function (configuration) {
1940
2114
  options: localVarRequestOptions,
1941
2115
  };
1942
2116
  }),
1943
- /**
1944
- * Test API key security scheme
1945
- * @summary Test API key security scheme
1946
- * @param {*} [options] Override http request option.
1947
- * @throws {RequiredError}
1948
- */
1949
- testApiKey: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1950
- const localVarPath = `/admins/integrations/apikey`;
1951
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1952
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1953
- let baseOptions;
1954
- if (configuration) {
1955
- baseOptions = configuration.baseOptions;
1956
- }
1957
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1958
- const localVarHeaderParameter = {};
1959
- const localVarQueryParameter = {};
1960
- // authentication ApiKeyAuth required
1961
- yield setApiKeyToObject(localVarHeaderParameter, "X-API-Key", configuration);
1962
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1963
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1964
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1965
- return {
1966
- url: toPathString(localVarUrlObj),
1967
- options: localVarRequestOptions,
1968
- };
1969
- }),
1970
2117
  };
1971
2118
  };
1972
2119
  /**
@@ -1979,12 +2126,13 @@ export const IntegrationApiFp = function (configuration) {
1979
2126
  /**
1980
2127
  * Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
1981
2128
  * @summary Generate API key for the current tenant
2129
+ * @param {GenerateApiKeyRequest} [generateApiKeyRequest]
1982
2130
  * @param {*} [options] Override http request option.
1983
2131
  * @throws {RequiredError}
1984
2132
  */
1985
- generateApiKey(options) {
2133
+ generateApiKey(generateApiKeyRequest, options) {
1986
2134
  return __awaiter(this, void 0, void 0, function* () {
1987
- const localVarAxiosArgs = yield localVarAxiosParamCreator.generateApiKey(options);
2135
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateApiKey(generateApiKeyRequest, options);
1988
2136
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1989
2137
  });
1990
2138
  },
@@ -2013,18 +2161,6 @@ export const IntegrationApiFp = function (configuration) {
2013
2161
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2014
2162
  });
2015
2163
  },
2016
- /**
2017
- * Test API key security scheme
2018
- * @summary Test API key security scheme
2019
- * @param {*} [options] Override http request option.
2020
- * @throws {RequiredError}
2021
- */
2022
- testApiKey(options) {
2023
- return __awaiter(this, void 0, void 0, function* () {
2024
- const localVarAxiosArgs = yield localVarAxiosParamCreator.testApiKey(options);
2025
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2026
- });
2027
- },
2028
2164
  };
2029
2165
  };
2030
2166
  /**
@@ -2037,11 +2173,12 @@ export const IntegrationApiFactory = function (configuration, basePath, axios) {
2037
2173
  /**
2038
2174
  * Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
2039
2175
  * @summary Generate API key for the current tenant
2176
+ * @param {GenerateApiKeyRequest} [generateApiKeyRequest]
2040
2177
  * @param {*} [options] Override http request option.
2041
2178
  * @throws {RequiredError}
2042
2179
  */
2043
- generateApiKey(options) {
2044
- return localVarFp.generateApiKey(options).then((request) => request(axios, basePath));
2180
+ generateApiKey(generateApiKeyRequest, options) {
2181
+ return localVarFp.generateApiKey(generateApiKeyRequest, options).then((request) => request(axios, basePath));
2045
2182
  },
2046
2183
  /**
2047
2184
  * List all webhooks for current tenant
@@ -2062,15 +2199,6 @@ export const IntegrationApiFactory = function (configuration, basePath, axios) {
2062
2199
  setWebhook(webhook, options) {
2063
2200
  return localVarFp.setWebhook(webhook, options).then((request) => request(axios, basePath));
2064
2201
  },
2065
- /**
2066
- * Test API key security scheme
2067
- * @summary Test API key security scheme
2068
- * @param {*} [options] Override http request option.
2069
- * @throws {RequiredError}
2070
- */
2071
- testApiKey(options) {
2072
- return localVarFp.testApiKey(options).then((request) => request(axios, basePath));
2073
- },
2074
2202
  };
2075
2203
  };
2076
2204
  /**
@@ -2083,12 +2211,13 @@ export class IntegrationApi extends BaseAPI {
2083
2211
  /**
2084
2212
  * Generate a new API key, if one already exists it will be rotated, but the old one will still be valid for a short period of time. Important that API key is only returned once, so make sure to store it securely.
2085
2213
  * @summary Generate API key for the current tenant
2214
+ * @param {GenerateApiKeyRequest} [generateApiKeyRequest]
2086
2215
  * @param {*} [options] Override http request option.
2087
2216
  * @throws {RequiredError}
2088
2217
  * @memberof IntegrationApi
2089
2218
  */
2090
- generateApiKey(options) {
2091
- return IntegrationApiFp(this.configuration).generateApiKey(options).then((request) => request(this.axios, this.basePath));
2219
+ generateApiKey(generateApiKeyRequest, options) {
2220
+ return IntegrationApiFp(this.configuration).generateApiKey(generateApiKeyRequest, options).then((request) => request(this.axios, this.basePath));
2092
2221
  }
2093
2222
  /**
2094
2223
  * List all webhooks for current tenant
@@ -2111,16 +2240,6 @@ export class IntegrationApi extends BaseAPI {
2111
2240
  setWebhook(webhook, options) {
2112
2241
  return IntegrationApiFp(this.configuration).setWebhook(webhook, options).then((request) => request(this.axios, this.basePath));
2113
2242
  }
2114
- /**
2115
- * Test API key security scheme
2116
- * @summary Test API key security scheme
2117
- * @param {*} [options] Override http request option.
2118
- * @throws {RequiredError}
2119
- * @memberof IntegrationApi
2120
- */
2121
- testApiKey(options) {
2122
- return IntegrationApiFp(this.configuration).testApiKey(options).then((request) => request(this.axios, this.basePath));
2123
- }
2124
2243
  }
2125
2244
  /**
2126
2245
  * NotificationApi - axios parameter creator
@@ -3057,36 +3176,6 @@ export const ProductApiAxiosParamCreator = function (configuration) {
3057
3176
  options: localVarRequestOptions,
3058
3177
  };
3059
3178
  }),
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
3179
  /**
3091
3180
  * Create a new product
3092
3181
  * @summary Create a new product
@@ -3483,19 +3572,6 @@ export const ProductApiFp = function (configuration) {
3483
3572
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3484
3573
  });
3485
3574
  },
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
3575
  /**
3500
3576
  * Create a new product
3501
3577
  * @summary Create a new product
@@ -3660,16 +3736,6 @@ export const ProductApiFactory = function (configuration, basePath, axios) {
3660
3736
  approveProduct(id, productRequestApprovalRequest, options) {
3661
3737
  return localVarFp.approveProduct(id, productRequestApprovalRequest, options).then((request) => request(axios, basePath));
3662
3738
  },
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
3739
  /**
3674
3740
  * Create a new product
3675
3741
  * @summary Create a new product
@@ -3805,17 +3871,6 @@ export class ProductApi extends BaseAPI {
3805
3871
  approveProduct(id, productRequestApprovalRequest, options) {
3806
3872
  return ProductApiFp(this.configuration).approveProduct(id, productRequestApprovalRequest, options).then((request) => request(this.axios, this.basePath));
3807
3873
  }
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
3874
  /**
3820
3875
  * Create a new product
3821
3876
  * @summary Create a new product
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.735-prerelease0",
3
+ "version": "0.0.737-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {