flexinet-api 0.0.1294-prerelease0 → 0.0.1294

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
@@ -110,9 +110,6 @@ export const Locale = {
110
110
  RoRo: 'ro-ro',
111
111
  HuHu: 'hu-hu'
112
112
  };
113
- export const MinTurnoverRestrictionKindEnum = {
114
- MinTurnover: 'minTurnover'
115
- };
116
113
  /**
117
114
  *
118
115
  * @export
@@ -153,8 +150,7 @@ export const NotificationStatus = {
153
150
  */
154
151
  export const OrderKind = {
155
152
  Webshop: 'webshop',
156
- Promotions: 'promotions',
157
- SalesBudget: 'sales_budget'
153
+ Promotions: 'promotions'
158
154
  };
159
155
  /**
160
156
  *
@@ -288,9 +284,6 @@ export const ReportTypesResponseTypesEnum = {
288
284
  Promotion: 'promotion',
289
285
  PromotionExpanded: 'promotion_expanded'
290
286
  };
291
- export const RequiredRestrictionKindEnum = {
292
- Required: 'required'
293
- };
294
287
  /**
295
288
  *
296
289
  * @export
@@ -359,16 +352,6 @@ export const TargetMu = {
359
352
  Product: 'product',
360
353
  AdditionalMu: 'additionalMU'
361
354
  };
362
- /**
363
- *
364
- * @export
365
- * @enum {string}
366
- */
367
- export const TransactionCurrencyKind = {
368
- Points: 'points',
369
- CustomDealBudget: 'customDealBudget',
370
- SalesBudget: 'salesBudget'
371
- };
372
355
  /**
373
356
  *
374
357
  * @export
@@ -398,8 +381,7 @@ export const TransactionSource = {
398
381
  Promotion: 'promotion',
399
382
  Manual: 'manual',
400
383
  Expiry: 'expiry',
401
- Transfer: 'transfer',
402
- SalesBudget: 'sales_budget'
384
+ Transfer: 'transfer'
403
385
  };
404
386
  /**
405
387
  *
@@ -1026,6 +1008,37 @@ export const BulkApiAxiosParamCreator = function (configuration) {
1026
1008
  options: localVarRequestOptions,
1027
1009
  };
1028
1010
  }),
1011
+ /**
1012
+ * Update multiple clients
1013
+ * @summary Update multiple clients
1014
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1015
+ * @param {*} [options] Override http request option.
1016
+ * @throws {RequiredError}
1017
+ */
1018
+ bulkUpdateClients: (clientsBulkUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1019
+ const localVarPath = `/admins/clients/bulk`;
1020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1022
+ let baseOptions;
1023
+ if (configuration) {
1024
+ baseOptions = configuration.baseOptions;
1025
+ }
1026
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1027
+ const localVarHeaderParameter = {};
1028
+ const localVarQueryParameter = {};
1029
+ // authentication systemJWT required
1030
+ // http bearer authentication required
1031
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1032
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1033
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1034
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1035
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1036
+ localVarRequestOptions.data = serializeDataIfNeeded(clientsBulkUpdateRequest, localVarRequestOptions, configuration);
1037
+ return {
1038
+ url: toPathString(localVarUrlObj),
1039
+ options: localVarRequestOptions,
1040
+ };
1041
+ }),
1029
1042
  };
1030
1043
  };
1031
1044
  /**
@@ -1074,6 +1087,19 @@ export const BulkApiFp = function (configuration) {
1074
1087
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1075
1088
  });
1076
1089
  },
1090
+ /**
1091
+ * Update multiple clients
1092
+ * @summary Update multiple clients
1093
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1094
+ * @param {*} [options] Override http request option.
1095
+ * @throws {RequiredError}
1096
+ */
1097
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1098
+ return __awaiter(this, void 0, void 0, function* () {
1099
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bulkUpdateClients(clientsBulkUpdateRequest, options);
1100
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1101
+ });
1102
+ },
1077
1103
  };
1078
1104
  };
1079
1105
  /**
@@ -1113,6 +1139,16 @@ export const BulkApiFactory = function (configuration, basePath, axios) {
1113
1139
  bulkCreateTags(tagsBulkCreationRequest, options) {
1114
1140
  return localVarFp.bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(axios, basePath));
1115
1141
  },
1142
+ /**
1143
+ * Update multiple clients
1144
+ * @summary Update multiple clients
1145
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1146
+ * @param {*} [options] Override http request option.
1147
+ * @throws {RequiredError}
1148
+ */
1149
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1150
+ return localVarFp.bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(axios, basePath));
1151
+ },
1116
1152
  };
1117
1153
  };
1118
1154
  /**
@@ -1155,6 +1191,17 @@ export class BulkApi extends BaseAPI {
1155
1191
  bulkCreateTags(tagsBulkCreationRequest, options) {
1156
1192
  return BulkApiFp(this.configuration).bulkCreateTags(tagsBulkCreationRequest, options).then((request) => request(this.axios, this.basePath));
1157
1193
  }
1194
+ /**
1195
+ * Update multiple clients
1196
+ * @summary Update multiple clients
1197
+ * @param {ClientsBulkUpdateRequest} [clientsBulkUpdateRequest]
1198
+ * @param {*} [options] Override http request option.
1199
+ * @throws {RequiredError}
1200
+ * @memberof BulkApi
1201
+ */
1202
+ bulkUpdateClients(clientsBulkUpdateRequest, options) {
1203
+ return BulkApiFp(this.configuration).bulkUpdateClients(clientsBulkUpdateRequest, options).then((request) => request(this.axios, this.basePath));
1204
+ }
1158
1205
  }
1159
1206
  /**
1160
1207
  * CategoryApi - axios parameter creator
@@ -1831,13 +1878,13 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
1831
1878
  /**
1832
1879
  * Create custom deal restrictions
1833
1880
  * @summary Create custom deal restrictions
1834
- * @param {CustomDealRestriction} customDealRestriction Custom deal restrictions
1881
+ * @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
1835
1882
  * @param {*} [options] Override http request option.
1836
1883
  * @throws {RequiredError}
1837
1884
  */
1838
- createCustomDealRestrictions: (customDealRestriction, options = {}) => __awaiter(this, void 0, void 0, function* () {
1839
- // verify required parameter 'customDealRestriction' is not null or undefined
1840
- assertParamExists('createCustomDealRestrictions', 'customDealRestriction', customDealRestriction);
1885
+ createCustomDealRestrictions: (customDealRestrictionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1886
+ // verify required parameter 'customDealRestrictionRequest' is not null or undefined
1887
+ assertParamExists('createCustomDealRestrictions', 'customDealRestrictionRequest', customDealRestrictionRequest);
1841
1888
  const localVarPath = `/admins/custom-deals/restrictions`;
1842
1889
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1843
1890
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1855,75 +1902,7 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
1855
1902
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1856
1903
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1857
1904
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1858
- localVarRequestOptions.data = serializeDataIfNeeded(customDealRestriction, localVarRequestOptions, configuration);
1859
- return {
1860
- url: toPathString(localVarUrlObj),
1861
- options: localVarRequestOptions,
1862
- };
1863
- }),
1864
- /**
1865
- * Get custom deal min target value
1866
- * @summary Get custom deal min target value
1867
- * @param {string} startingAt start at
1868
- * @param {string} endingAt end at
1869
- * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
1870
- * @param {Array<string>} beneficiaryValues beneficiary values
1871
- * @param {string} tagKey tag key
1872
- * @param {string} tagValue tag value
1873
- * @param {*} [options] Override http request option.
1874
- * @throws {RequiredError}
1875
- */
1876
- getCustomDealMinTargetValue: (startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options = {}) => __awaiter(this, void 0, void 0, function* () {
1877
- // verify required parameter 'startingAt' is not null or undefined
1878
- assertParamExists('getCustomDealMinTargetValue', 'startingAt', startingAt);
1879
- // verify required parameter 'endingAt' is not null or undefined
1880
- assertParamExists('getCustomDealMinTargetValue', 'endingAt', endingAt);
1881
- // verify required parameter 'beneficiaryKind' is not null or undefined
1882
- assertParamExists('getCustomDealMinTargetValue', 'beneficiaryKind', beneficiaryKind);
1883
- // verify required parameter 'beneficiaryValues' is not null or undefined
1884
- assertParamExists('getCustomDealMinTargetValue', 'beneficiaryValues', beneficiaryValues);
1885
- // verify required parameter 'tagKey' is not null or undefined
1886
- assertParamExists('getCustomDealMinTargetValue', 'tagKey', tagKey);
1887
- // verify required parameter 'tagValue' is not null or undefined
1888
- assertParamExists('getCustomDealMinTargetValue', 'tagValue', tagValue);
1889
- const localVarPath = `/admins/custom-deals/min-target-value`;
1890
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1891
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1892
- let baseOptions;
1893
- if (configuration) {
1894
- baseOptions = configuration.baseOptions;
1895
- }
1896
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1897
- const localVarHeaderParameter = {};
1898
- const localVarQueryParameter = {};
1899
- // authentication systemJWT required
1900
- // http bearer authentication required
1901
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1902
- if (startingAt !== undefined) {
1903
- localVarQueryParameter['startingAt'] = (startingAt instanceof Date) ?
1904
- startingAt.toISOString() :
1905
- startingAt;
1906
- }
1907
- if (endingAt !== undefined) {
1908
- localVarQueryParameter['endingAt'] = (endingAt instanceof Date) ?
1909
- endingAt.toISOString() :
1910
- endingAt;
1911
- }
1912
- if (beneficiaryKind !== undefined) {
1913
- localVarQueryParameter['beneficiaryKind'] = beneficiaryKind;
1914
- }
1915
- if (beneficiaryValues) {
1916
- localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
1917
- }
1918
- if (tagKey !== undefined) {
1919
- localVarQueryParameter['tagKey'] = tagKey;
1920
- }
1921
- if (tagValue !== undefined) {
1922
- localVarQueryParameter['tagValue'] = tagValue;
1923
- }
1924
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1925
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1926
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1905
+ localVarRequestOptions.data = serializeDataIfNeeded(customDealRestrictionRequest, localVarRequestOptions, configuration);
1927
1906
  return {
1928
1907
  url: toPathString(localVarUrlObj),
1929
1908
  options: localVarRequestOptions,
@@ -1969,31 +1948,13 @@ export const CustomDealsApiFp = function (configuration) {
1969
1948
  /**
1970
1949
  * Create custom deal restrictions
1971
1950
  * @summary Create custom deal restrictions
1972
- * @param {CustomDealRestriction} customDealRestriction Custom deal restrictions
1973
- * @param {*} [options] Override http request option.
1974
- * @throws {RequiredError}
1975
- */
1976
- createCustomDealRestrictions(customDealRestriction, options) {
1977
- return __awaiter(this, void 0, void 0, function* () {
1978
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createCustomDealRestrictions(customDealRestriction, options);
1979
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1980
- });
1981
- },
1982
- /**
1983
- * Get custom deal min target value
1984
- * @summary Get custom deal min target value
1985
- * @param {string} startingAt start at
1986
- * @param {string} endingAt end at
1987
- * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
1988
- * @param {Array<string>} beneficiaryValues beneficiary values
1989
- * @param {string} tagKey tag key
1990
- * @param {string} tagValue tag value
1951
+ * @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
1991
1952
  * @param {*} [options] Override http request option.
1992
1953
  * @throws {RequiredError}
1993
1954
  */
1994
- getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
1955
+ createCustomDealRestrictions(customDealRestrictionRequest, options) {
1995
1956
  return __awaiter(this, void 0, void 0, function* () {
1996
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options);
1957
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createCustomDealRestrictions(customDealRestrictionRequest, options);
1997
1958
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1998
1959
  });
1999
1960
  },
@@ -2021,27 +1982,12 @@ export const CustomDealsApiFactory = function (configuration, basePath, axios) {
2021
1982
  /**
2022
1983
  * Create custom deal restrictions
2023
1984
  * @summary Create custom deal restrictions
2024
- * @param {CustomDealRestriction} customDealRestriction Custom deal restrictions
1985
+ * @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
2025
1986
  * @param {*} [options] Override http request option.
2026
1987
  * @throws {RequiredError}
2027
1988
  */
2028
- createCustomDealRestrictions(customDealRestriction, options) {
2029
- return localVarFp.createCustomDealRestrictions(customDealRestriction, options).then((request) => request(axios, basePath));
2030
- },
2031
- /**
2032
- * Get custom deal min target value
2033
- * @summary Get custom deal min target value
2034
- * @param {string} startingAt start at
2035
- * @param {string} endingAt end at
2036
- * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
2037
- * @param {Array<string>} beneficiaryValues beneficiary values
2038
- * @param {string} tagKey tag key
2039
- * @param {string} tagValue tag value
2040
- * @param {*} [options] Override http request option.
2041
- * @throws {RequiredError}
2042
- */
2043
- getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
2044
- return localVarFp.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(axios, basePath));
1989
+ createCustomDealRestrictions(customDealRestrictionRequest, options) {
1990
+ return localVarFp.createCustomDealRestrictions(customDealRestrictionRequest, options).then((request) => request(axios, basePath));
2045
1991
  },
2046
1992
  /**
2047
1993
  * List custom deal restrictions
@@ -2064,29 +2010,13 @@ export class CustomDealsApi extends BaseAPI {
2064
2010
  /**
2065
2011
  * Create custom deal restrictions
2066
2012
  * @summary Create custom deal restrictions
2067
- * @param {CustomDealRestriction} customDealRestriction Custom deal restrictions
2013
+ * @param {CustomDealRestrictionRequest} customDealRestrictionRequest Custom deal restrictions
2068
2014
  * @param {*} [options] Override http request option.
2069
2015
  * @throws {RequiredError}
2070
2016
  * @memberof CustomDealsApi
2071
2017
  */
2072
- createCustomDealRestrictions(customDealRestriction, options) {
2073
- return CustomDealsApiFp(this.configuration).createCustomDealRestrictions(customDealRestriction, options).then((request) => request(this.axios, this.basePath));
2074
- }
2075
- /**
2076
- * Get custom deal min target value
2077
- * @summary Get custom deal min target value
2078
- * @param {string} startingAt start at
2079
- * @param {string} endingAt end at
2080
- * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
2081
- * @param {Array<string>} beneficiaryValues beneficiary values
2082
- * @param {string} tagKey tag key
2083
- * @param {string} tagValue tag value
2084
- * @param {*} [options] Override http request option.
2085
- * @throws {RequiredError}
2086
- * @memberof CustomDealsApi
2087
- */
2088
- getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
2089
- return CustomDealsApiFp(this.configuration).getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(this.axios, this.basePath));
2018
+ createCustomDealRestrictions(customDealRestrictionRequest, options) {
2019
+ return CustomDealsApiFp(this.configuration).createCustomDealRestrictions(customDealRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
2090
2020
  }
2091
2021
  /**
2092
2022
  * List custom deal restrictions
@@ -2862,37 +2792,6 @@ export class NotificationApi extends BaseAPI {
2862
2792
  */
2863
2793
  export const OrderApiAxiosParamCreator = function (configuration) {
2864
2794
  return {
2865
- /**
2866
- * Create a product order. If successful the value of the product will be deducted from the used balance.
2867
- * @summary Create an order for a product
2868
- * @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
2869
- * @param {*} [options] Override http request option.
2870
- * @throws {RequiredError}
2871
- */
2872
- createAdminOrder: (adminOrderCreationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2873
- const localVarPath = `/admins/orders`;
2874
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2875
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2876
- let baseOptions;
2877
- if (configuration) {
2878
- baseOptions = configuration.baseOptions;
2879
- }
2880
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2881
- const localVarHeaderParameter = {};
2882
- const localVarQueryParameter = {};
2883
- // authentication systemJWT required
2884
- // http bearer authentication required
2885
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2886
- localVarHeaderParameter['Content-Type'] = 'application/json';
2887
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2888
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2889
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2890
- localVarRequestOptions.data = serializeDataIfNeeded(adminOrderCreationRequest, localVarRequestOptions, configuration);
2891
- return {
2892
- url: toPathString(localVarUrlObj),
2893
- options: localVarRequestOptions,
2894
- };
2895
- }),
2896
2795
  /**
2897
2796
  * Create a product order. If successful the value of the product will be deducted from the used balance.
2898
2797
  * @summary Create an order for a product
@@ -2999,12 +2898,10 @@ export const OrderApiAxiosParamCreator = function (configuration) {
2999
2898
  * @param {string} [createdBefore] Filter orders created before the specified date
3000
2899
  * @param {Array<string>} [userIDs] Filter by user ids
3001
2900
  * @param {Array<string>} [clientIDs] Filter by client ids
3002
- * @param {OrderKind} [kind] Filter by kind
3003
- * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3004
2901
  * @param {*} [options] Override http request option.
3005
2902
  * @throws {RequiredError}
3006
2903
  */
3007
- listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options = {}) => __awaiter(this, void 0, void 0, function* () {
2904
+ listOrders: (paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
3008
2905
  const localVarPath = `/admins/orders`;
3009
2906
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3010
2907
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3046,12 +2943,6 @@ export const OrderApiAxiosParamCreator = function (configuration) {
3046
2943
  if (clientIDs) {
3047
2944
  localVarQueryParameter['clientIDs'] = clientIDs;
3048
2945
  }
3049
- if (kind !== undefined) {
3050
- localVarQueryParameter['kind'] = kind;
3051
- }
3052
- if (source !== undefined) {
3053
- localVarQueryParameter['source'] = source;
3054
- }
3055
2946
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3056
2947
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3057
2948
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3129,19 +3020,6 @@ export const OrderApiAxiosParamCreator = function (configuration) {
3129
3020
  export const OrderApiFp = function (configuration) {
3130
3021
  const localVarAxiosParamCreator = OrderApiAxiosParamCreator(configuration);
3131
3022
  return {
3132
- /**
3133
- * Create a product order. If successful the value of the product will be deducted from the used balance.
3134
- * @summary Create an order for a product
3135
- * @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
3136
- * @param {*} [options] Override http request option.
3137
- * @throws {RequiredError}
3138
- */
3139
- createAdminOrder(adminOrderCreationRequest, options) {
3140
- return __awaiter(this, void 0, void 0, function* () {
3141
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createAdminOrder(adminOrderCreationRequest, options);
3142
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3143
- });
3144
- },
3145
3023
  /**
3146
3024
  * Create a product order. If successful the value of the product will be deducted from the used balance.
3147
3025
  * @summary Create an order for a product
@@ -3192,14 +3070,12 @@ export const OrderApiFp = function (configuration) {
3192
3070
  * @param {string} [createdBefore] Filter orders created before the specified date
3193
3071
  * @param {Array<string>} [userIDs] Filter by user ids
3194
3072
  * @param {Array<string>} [clientIDs] Filter by client ids
3195
- * @param {OrderKind} [kind] Filter by kind
3196
- * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3197
3073
  * @param {*} [options] Override http request option.
3198
3074
  * @throws {RequiredError}
3199
3075
  */
3200
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3076
+ listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
3201
3077
  return __awaiter(this, void 0, void 0, function* () {
3202
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options);
3078
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options);
3203
3079
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3204
3080
  });
3205
3081
  },
@@ -3231,16 +3107,6 @@ export const OrderApiFp = function (configuration) {
3231
3107
  export const OrderApiFactory = function (configuration, basePath, axios) {
3232
3108
  const localVarFp = OrderApiFp(configuration);
3233
3109
  return {
3234
- /**
3235
- * Create a product order. If successful the value of the product will be deducted from the used balance.
3236
- * @summary Create an order for a product
3237
- * @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
3238
- * @param {*} [options] Override http request option.
3239
- * @throws {RequiredError}
3240
- */
3241
- createAdminOrder(adminOrderCreationRequest, options) {
3242
- return localVarFp.createAdminOrder(adminOrderCreationRequest, options).then((request) => request(axios, basePath));
3243
- },
3244
3110
  /**
3245
3111
  * Create a product order. If successful the value of the product will be deducted from the used balance.
3246
3112
  * @summary Create an order for a product
@@ -3282,13 +3148,11 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
3282
3148
  * @param {string} [createdBefore] Filter orders created before the specified date
3283
3149
  * @param {Array<string>} [userIDs] Filter by user ids
3284
3150
  * @param {Array<string>} [clientIDs] Filter by client ids
3285
- * @param {OrderKind} [kind] Filter by kind
3286
- * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3287
3151
  * @param {*} [options] Override http request option.
3288
3152
  * @throws {RequiredError}
3289
3153
  */
3290
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3291
- return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(axios, basePath));
3154
+ listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
3155
+ return localVarFp.listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(axios, basePath));
3292
3156
  },
3293
3157
  /**
3294
3158
  * List existing orders
@@ -3315,17 +3179,6 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
3315
3179
  * @extends {BaseAPI}
3316
3180
  */
3317
3181
  export class OrderApi extends BaseAPI {
3318
- /**
3319
- * Create a product order. If successful the value of the product will be deducted from the used balance.
3320
- * @summary Create an order for a product
3321
- * @param {AdminOrderCreationRequest} [adminOrderCreationRequest]
3322
- * @param {*} [options] Override http request option.
3323
- * @throws {RequiredError}
3324
- * @memberof OrderApi
3325
- */
3326
- createAdminOrder(adminOrderCreationRequest, options) {
3327
- return OrderApiFp(this.configuration).createAdminOrder(adminOrderCreationRequest, options).then((request) => request(this.axios, this.basePath));
3328
- }
3329
3182
  /**
3330
3183
  * Create a product order. If successful the value of the product will be deducted from the used balance.
3331
3184
  * @summary Create an order for a product
@@ -3370,14 +3223,12 @@ export class OrderApi extends BaseAPI {
3370
3223
  * @param {string} [createdBefore] Filter orders created before the specified date
3371
3224
  * @param {Array<string>} [userIDs] Filter by user ids
3372
3225
  * @param {Array<string>} [clientIDs] Filter by client ids
3373
- * @param {OrderKind} [kind] Filter by kind
3374
- * @param {string} [source] Filter by order source. Either promotion or user reference, depending on the kind.
3375
3226
  * @param {*} [options] Override http request option.
3376
3227
  * @throws {RequiredError}
3377
3228
  * @memberof OrderApi
3378
3229
  */
3379
- listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options) {
3380
- return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, kind, source, options).then((request) => request(this.axios, this.basePath));
3230
+ listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options) {
3231
+ return OrderApiFp(this.configuration).listOrders(paginationToken, search, productId, balanceIDs, createdAfter, createdBefore, userIDs, clientIDs, options).then((request) => request(this.axios, this.basePath));
3381
3232
  }
3382
3233
  /**
3383
3234
  * List existing orders
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.1294-prerelease0",
3
+ "version": "0.0.1294",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {