flexinet-api 0.0.1264-prerelease0 → 0.0.1265-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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## flexinet-api@0.0.1264-prerelease0
1
+ ## flexinet-api@0.0.1265-prerelease0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install flexinet-api@0.0.1264-prerelease0 --save
39
+ npm install flexinet-api@0.0.1265-prerelease0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -735,6 +735,19 @@ export const Condition = {
735
735
  export type Condition = typeof Condition[keyof typeof Condition];
736
736
 
737
737
 
738
+ /**
739
+ *
740
+ * @export
741
+ * @interface CustomDealMinTargetValueResponse
742
+ */
743
+ export interface CustomDealMinTargetValueResponse {
744
+ /**
745
+ *
746
+ * @type {number}
747
+ * @memberof CustomDealMinTargetValueResponse
748
+ */
749
+ 'minTargetValue': number;
750
+ }
738
751
  /**
739
752
  * @type CustomDealRestriction
740
753
  * @export
@@ -5981,6 +5994,86 @@ export const CustomDealsApiAxiosParamCreator = function (configuration?: Configu
5981
5994
  options: localVarRequestOptions,
5982
5995
  };
5983
5996
  },
5997
+ /**
5998
+ * Get custom deal min target value
5999
+ * @summary Get custom deal min target value
6000
+ * @param {string} startingAt start at
6001
+ * @param {string} endingAt end at
6002
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
6003
+ * @param {Array<string>} beneficiaryValues beneficiary values
6004
+ * @param {string} tagKey tag key
6005
+ * @param {string} tagValue tag value
6006
+ * @param {*} [options] Override http request option.
6007
+ * @throws {RequiredError}
6008
+ */
6009
+ getCustomDealMinTargetValue: async (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6010
+ // verify required parameter 'startingAt' is not null or undefined
6011
+ assertParamExists('getCustomDealMinTargetValue', 'startingAt', startingAt)
6012
+ // verify required parameter 'endingAt' is not null or undefined
6013
+ assertParamExists('getCustomDealMinTargetValue', 'endingAt', endingAt)
6014
+ // verify required parameter 'beneficiaryKind' is not null or undefined
6015
+ assertParamExists('getCustomDealMinTargetValue', 'beneficiaryKind', beneficiaryKind)
6016
+ // verify required parameter 'beneficiaryValues' is not null or undefined
6017
+ assertParamExists('getCustomDealMinTargetValue', 'beneficiaryValues', beneficiaryValues)
6018
+ // verify required parameter 'tagKey' is not null or undefined
6019
+ assertParamExists('getCustomDealMinTargetValue', 'tagKey', tagKey)
6020
+ // verify required parameter 'tagValue' is not null or undefined
6021
+ assertParamExists('getCustomDealMinTargetValue', 'tagValue', tagValue)
6022
+ const localVarPath = `/admins/custom-deals/min-target-value`;
6023
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6024
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6025
+ let baseOptions;
6026
+ if (configuration) {
6027
+ baseOptions = configuration.baseOptions;
6028
+ }
6029
+
6030
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6031
+ const localVarHeaderParameter = {} as any;
6032
+ const localVarQueryParameter = {} as any;
6033
+
6034
+ // authentication systemJWT required
6035
+ // http bearer authentication required
6036
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6037
+
6038
+ if (startingAt !== undefined) {
6039
+ localVarQueryParameter['startingAt'] = (startingAt as any instanceof Date) ?
6040
+ (startingAt as any).toISOString() :
6041
+ startingAt;
6042
+ }
6043
+
6044
+ if (endingAt !== undefined) {
6045
+ localVarQueryParameter['endingAt'] = (endingAt as any instanceof Date) ?
6046
+ (endingAt as any).toISOString() :
6047
+ endingAt;
6048
+ }
6049
+
6050
+ if (beneficiaryKind !== undefined) {
6051
+ localVarQueryParameter['beneficiaryKind'] = beneficiaryKind;
6052
+ }
6053
+
6054
+ if (beneficiaryValues) {
6055
+ localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
6056
+ }
6057
+
6058
+ if (tagKey !== undefined) {
6059
+ localVarQueryParameter['tagKey'] = tagKey;
6060
+ }
6061
+
6062
+ if (tagValue !== undefined) {
6063
+ localVarQueryParameter['tagValue'] = tagValue;
6064
+ }
6065
+
6066
+
6067
+
6068
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6069
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6070
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6071
+
6072
+ return {
6073
+ url: toPathString(localVarUrlObj),
6074
+ options: localVarRequestOptions,
6075
+ };
6076
+ },
5984
6077
  /**
5985
6078
  * List custom deal restrictions
5986
6079
  * @summary List custom deal restrictions
@@ -6036,6 +6129,22 @@ export const CustomDealsApiFp = function(configuration?: Configuration) {
6036
6129
  const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomDealRestrictions(customDealRestriction, options);
6037
6130
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6038
6131
  },
6132
+ /**
6133
+ * Get custom deal min target value
6134
+ * @summary Get custom deal min target value
6135
+ * @param {string} startingAt start at
6136
+ * @param {string} endingAt end at
6137
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
6138
+ * @param {Array<string>} beneficiaryValues beneficiary values
6139
+ * @param {string} tagKey tag key
6140
+ * @param {string} tagValue tag value
6141
+ * @param {*} [options] Override http request option.
6142
+ * @throws {RequiredError}
6143
+ */
6144
+ async getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>> {
6145
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options);
6146
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6147
+ },
6039
6148
  /**
6040
6149
  * List custom deal restrictions
6041
6150
  * @summary List custom deal restrictions
@@ -6066,6 +6175,21 @@ export const CustomDealsApiFactory = function (configuration?: Configuration, ba
6066
6175
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: any): AxiosPromise<void> {
6067
6176
  return localVarFp.createCustomDealRestrictions(customDealRestriction, options).then((request) => request(axios, basePath));
6068
6177
  },
6178
+ /**
6179
+ * Get custom deal min target value
6180
+ * @summary Get custom deal min target value
6181
+ * @param {string} startingAt start at
6182
+ * @param {string} endingAt end at
6183
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
6184
+ * @param {Array<string>} beneficiaryValues beneficiary values
6185
+ * @param {string} tagKey tag key
6186
+ * @param {string} tagValue tag value
6187
+ * @param {*} [options] Override http request option.
6188
+ * @throws {RequiredError}
6189
+ */
6190
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: any): AxiosPromise<CustomDealMinTargetValueResponse> {
6191
+ return localVarFp.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(axios, basePath));
6192
+ },
6069
6193
  /**
6070
6194
  * List custom deal restrictions
6071
6195
  * @summary List custom deal restrictions
@@ -6097,6 +6221,23 @@ export class CustomDealsApi extends BaseAPI {
6097
6221
  return CustomDealsApiFp(this.configuration).createCustomDealRestrictions(customDealRestriction, options).then((request) => request(this.axios, this.basePath));
6098
6222
  }
6099
6223
 
6224
+ /**
6225
+ * Get custom deal min target value
6226
+ * @summary Get custom deal min target value
6227
+ * @param {string} startingAt start at
6228
+ * @param {string} endingAt end at
6229
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
6230
+ * @param {Array<string>} beneficiaryValues beneficiary values
6231
+ * @param {string} tagKey tag key
6232
+ * @param {string} tagValue tag value
6233
+ * @param {*} [options] Override http request option.
6234
+ * @throws {RequiredError}
6235
+ * @memberof CustomDealsApi
6236
+ */
6237
+ public getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) {
6238
+ return CustomDealsApiFp(this.configuration).getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(this.axios, this.basePath));
6239
+ }
6240
+
6100
6241
  /**
6101
6242
  * List custom deal restrictions
6102
6243
  * @summary List custom deal restrictions
package/dist/api.d.ts CHANGED
@@ -686,6 +686,19 @@ export declare const Condition: {
686
686
  readonly Contains: "contains";
687
687
  };
688
688
  export type Condition = typeof Condition[keyof typeof Condition];
689
+ /**
690
+ *
691
+ * @export
692
+ * @interface CustomDealMinTargetValueResponse
693
+ */
694
+ export interface CustomDealMinTargetValueResponse {
695
+ /**
696
+ *
697
+ * @type {number}
698
+ * @memberof CustomDealMinTargetValueResponse
699
+ */
700
+ 'minTargetValue': number;
701
+ }
689
702
  /**
690
703
  * @type CustomDealRestriction
691
704
  * @export
@@ -4955,6 +4968,19 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
4955
4968
  * @throws {RequiredError}
4956
4969
  */
4957
4970
  createCustomDealRestrictions: (customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4971
+ /**
4972
+ * Get custom deal min target value
4973
+ * @summary Get custom deal min target value
4974
+ * @param {string} startingAt start at
4975
+ * @param {string} endingAt end at
4976
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
4977
+ * @param {Array<string>} beneficiaryValues beneficiary values
4978
+ * @param {string} tagKey tag key
4979
+ * @param {string} tagValue tag value
4980
+ * @param {*} [options] Override http request option.
4981
+ * @throws {RequiredError}
4982
+ */
4983
+ getCustomDealMinTargetValue: (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4958
4984
  /**
4959
4985
  * List custom deal restrictions
4960
4986
  * @summary List custom deal restrictions
@@ -4976,6 +5002,19 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
4976
5002
  * @throws {RequiredError}
4977
5003
  */
4978
5004
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5005
+ /**
5006
+ * Get custom deal min target value
5007
+ * @summary Get custom deal min target value
5008
+ * @param {string} startingAt start at
5009
+ * @param {string} endingAt end at
5010
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
5011
+ * @param {Array<string>} beneficiaryValues beneficiary values
5012
+ * @param {string} tagKey tag key
5013
+ * @param {string} tagValue tag value
5014
+ * @param {*} [options] Override http request option.
5015
+ * @throws {RequiredError}
5016
+ */
5017
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>>;
4979
5018
  /**
4980
5019
  * List custom deal restrictions
4981
5020
  * @summary List custom deal restrictions
@@ -4997,6 +5036,19 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
4997
5036
  * @throws {RequiredError}
4998
5037
  */
4999
5038
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: any): AxiosPromise<void>;
5039
+ /**
5040
+ * Get custom deal min target value
5041
+ * @summary Get custom deal min target value
5042
+ * @param {string} startingAt start at
5043
+ * @param {string} endingAt end at
5044
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
5045
+ * @param {Array<string>} beneficiaryValues beneficiary values
5046
+ * @param {string} tagKey tag key
5047
+ * @param {string} tagValue tag value
5048
+ * @param {*} [options] Override http request option.
5049
+ * @throws {RequiredError}
5050
+ */
5051
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: any): AxiosPromise<CustomDealMinTargetValueResponse>;
5000
5052
  /**
5001
5053
  * List custom deal restrictions
5002
5054
  * @summary List custom deal restrictions
@@ -5021,6 +5073,20 @@ export declare class CustomDealsApi extends BaseAPI {
5021
5073
  * @memberof CustomDealsApi
5022
5074
  */
5023
5075
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
5076
+ /**
5077
+ * Get custom deal min target value
5078
+ * @summary Get custom deal min target value
5079
+ * @param {string} startingAt start at
5080
+ * @param {string} endingAt end at
5081
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
5082
+ * @param {Array<string>} beneficiaryValues beneficiary values
5083
+ * @param {string} tagKey tag key
5084
+ * @param {string} tagValue tag value
5085
+ * @param {*} [options] Override http request option.
5086
+ * @throws {RequiredError}
5087
+ * @memberof CustomDealsApi
5088
+ */
5089
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomDealMinTargetValueResponse, any>>;
5024
5090
  /**
5025
5091
  * List custom deal restrictions
5026
5092
  * @summary List custom deal restrictions
package/dist/api.js CHANGED
@@ -1890,6 +1890,74 @@ const CustomDealsApiAxiosParamCreator = function (configuration) {
1890
1890
  options: localVarRequestOptions,
1891
1891
  };
1892
1892
  }),
1893
+ /**
1894
+ * Get custom deal min target value
1895
+ * @summary Get custom deal min target value
1896
+ * @param {string} startingAt start at
1897
+ * @param {string} endingAt end at
1898
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
1899
+ * @param {Array<string>} beneficiaryValues beneficiary values
1900
+ * @param {string} tagKey tag key
1901
+ * @param {string} tagValue tag value
1902
+ * @param {*} [options] Override http request option.
1903
+ * @throws {RequiredError}
1904
+ */
1905
+ getCustomDealMinTargetValue: (startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options = {}) => __awaiter(this, void 0, void 0, function* () {
1906
+ // verify required parameter 'startingAt' is not null or undefined
1907
+ (0, common_1.assertParamExists)('getCustomDealMinTargetValue', 'startingAt', startingAt);
1908
+ // verify required parameter 'endingAt' is not null or undefined
1909
+ (0, common_1.assertParamExists)('getCustomDealMinTargetValue', 'endingAt', endingAt);
1910
+ // verify required parameter 'beneficiaryKind' is not null or undefined
1911
+ (0, common_1.assertParamExists)('getCustomDealMinTargetValue', 'beneficiaryKind', beneficiaryKind);
1912
+ // verify required parameter 'beneficiaryValues' is not null or undefined
1913
+ (0, common_1.assertParamExists)('getCustomDealMinTargetValue', 'beneficiaryValues', beneficiaryValues);
1914
+ // verify required parameter 'tagKey' is not null or undefined
1915
+ (0, common_1.assertParamExists)('getCustomDealMinTargetValue', 'tagKey', tagKey);
1916
+ // verify required parameter 'tagValue' is not null or undefined
1917
+ (0, common_1.assertParamExists)('getCustomDealMinTargetValue', 'tagValue', tagValue);
1918
+ const localVarPath = `/admins/custom-deals/min-target-value`;
1919
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1920
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1921
+ let baseOptions;
1922
+ if (configuration) {
1923
+ baseOptions = configuration.baseOptions;
1924
+ }
1925
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1926
+ const localVarHeaderParameter = {};
1927
+ const localVarQueryParameter = {};
1928
+ // authentication systemJWT required
1929
+ // http bearer authentication required
1930
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1931
+ if (startingAt !== undefined) {
1932
+ localVarQueryParameter['startingAt'] = (startingAt instanceof Date) ?
1933
+ startingAt.toISOString() :
1934
+ startingAt;
1935
+ }
1936
+ if (endingAt !== undefined) {
1937
+ localVarQueryParameter['endingAt'] = (endingAt instanceof Date) ?
1938
+ endingAt.toISOString() :
1939
+ endingAt;
1940
+ }
1941
+ if (beneficiaryKind !== undefined) {
1942
+ localVarQueryParameter['beneficiaryKind'] = beneficiaryKind;
1943
+ }
1944
+ if (beneficiaryValues) {
1945
+ localVarQueryParameter['beneficiaryValues'] = beneficiaryValues;
1946
+ }
1947
+ if (tagKey !== undefined) {
1948
+ localVarQueryParameter['tagKey'] = tagKey;
1949
+ }
1950
+ if (tagValue !== undefined) {
1951
+ localVarQueryParameter['tagValue'] = tagValue;
1952
+ }
1953
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1954
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1955
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1956
+ return {
1957
+ url: (0, common_1.toPathString)(localVarUrlObj),
1958
+ options: localVarRequestOptions,
1959
+ };
1960
+ }),
1893
1961
  /**
1894
1962
  * List custom deal restrictions
1895
1963
  * @summary List custom deal restrictions
@@ -1941,6 +2009,24 @@ const CustomDealsApiFp = function (configuration) {
1941
2009
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1942
2010
  });
1943
2011
  },
2012
+ /**
2013
+ * Get custom deal min target value
2014
+ * @summary Get custom deal min target value
2015
+ * @param {string} startingAt start at
2016
+ * @param {string} endingAt end at
2017
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
2018
+ * @param {Array<string>} beneficiaryValues beneficiary values
2019
+ * @param {string} tagKey tag key
2020
+ * @param {string} tagValue tag value
2021
+ * @param {*} [options] Override http request option.
2022
+ * @throws {RequiredError}
2023
+ */
2024
+ getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
2025
+ return __awaiter(this, void 0, void 0, function* () {
2026
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options);
2027
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2028
+ });
2029
+ },
1944
2030
  /**
1945
2031
  * List custom deal restrictions
1946
2032
  * @summary List custom deal restrictions
@@ -1973,6 +2059,21 @@ const CustomDealsApiFactory = function (configuration, basePath, axios) {
1973
2059
  createCustomDealRestrictions(customDealRestriction, options) {
1974
2060
  return localVarFp.createCustomDealRestrictions(customDealRestriction, options).then((request) => request(axios, basePath));
1975
2061
  },
2062
+ /**
2063
+ * Get custom deal min target value
2064
+ * @summary Get custom deal min target value
2065
+ * @param {string} startingAt start at
2066
+ * @param {string} endingAt end at
2067
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
2068
+ * @param {Array<string>} beneficiaryValues beneficiary values
2069
+ * @param {string} tagKey tag key
2070
+ * @param {string} tagValue tag value
2071
+ * @param {*} [options] Override http request option.
2072
+ * @throws {RequiredError}
2073
+ */
2074
+ getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
2075
+ return localVarFp.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(axios, basePath));
2076
+ },
1976
2077
  /**
1977
2078
  * List custom deal restrictions
1978
2079
  * @summary List custom deal restrictions
@@ -2003,6 +2104,22 @@ class CustomDealsApi extends base_1.BaseAPI {
2003
2104
  createCustomDealRestrictions(customDealRestriction, options) {
2004
2105
  return (0, exports.CustomDealsApiFp)(this.configuration).createCustomDealRestrictions(customDealRestriction, options).then((request) => request(this.axios, this.basePath));
2005
2106
  }
2107
+ /**
2108
+ * Get custom deal min target value
2109
+ * @summary Get custom deal min target value
2110
+ * @param {string} startingAt start at
2111
+ * @param {string} endingAt end at
2112
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
2113
+ * @param {Array<string>} beneficiaryValues beneficiary values
2114
+ * @param {string} tagKey tag key
2115
+ * @param {string} tagValue tag value
2116
+ * @param {*} [options] Override http request option.
2117
+ * @throws {RequiredError}
2118
+ * @memberof CustomDealsApi
2119
+ */
2120
+ getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
2121
+ return (0, exports.CustomDealsApiFp)(this.configuration).getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options).then((request) => request(this.axios, this.basePath));
2122
+ }
2006
2123
  /**
2007
2124
  * List custom deal restrictions
2008
2125
  * @summary List custom deal restrictions
package/dist/esm/api.d.ts CHANGED
@@ -686,6 +686,19 @@ export declare const Condition: {
686
686
  readonly Contains: "contains";
687
687
  };
688
688
  export type Condition = typeof Condition[keyof typeof Condition];
689
+ /**
690
+ *
691
+ * @export
692
+ * @interface CustomDealMinTargetValueResponse
693
+ */
694
+ export interface CustomDealMinTargetValueResponse {
695
+ /**
696
+ *
697
+ * @type {number}
698
+ * @memberof CustomDealMinTargetValueResponse
699
+ */
700
+ 'minTargetValue': number;
701
+ }
689
702
  /**
690
703
  * @type CustomDealRestriction
691
704
  * @export
@@ -4955,6 +4968,19 @@ export declare const CustomDealsApiAxiosParamCreator: (configuration?: Configura
4955
4968
  * @throws {RequiredError}
4956
4969
  */
4957
4970
  createCustomDealRestrictions: (customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4971
+ /**
4972
+ * Get custom deal min target value
4973
+ * @summary Get custom deal min target value
4974
+ * @param {string} startingAt start at
4975
+ * @param {string} endingAt end at
4976
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
4977
+ * @param {Array<string>} beneficiaryValues beneficiary values
4978
+ * @param {string} tagKey tag key
4979
+ * @param {string} tagValue tag value
4980
+ * @param {*} [options] Override http request option.
4981
+ * @throws {RequiredError}
4982
+ */
4983
+ getCustomDealMinTargetValue: (startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4958
4984
  /**
4959
4985
  * List custom deal restrictions
4960
4986
  * @summary List custom deal restrictions
@@ -4976,6 +5002,19 @@ export declare const CustomDealsApiFp: (configuration?: Configuration) => {
4976
5002
  * @throws {RequiredError}
4977
5003
  */
4978
5004
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5005
+ /**
5006
+ * Get custom deal min target value
5007
+ * @summary Get custom deal min target value
5008
+ * @param {string} startingAt start at
5009
+ * @param {string} endingAt end at
5010
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
5011
+ * @param {Array<string>} beneficiaryValues beneficiary values
5012
+ * @param {string} tagKey tag key
5013
+ * @param {string} tagValue tag value
5014
+ * @param {*} [options] Override http request option.
5015
+ * @throws {RequiredError}
5016
+ */
5017
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDealMinTargetValueResponse>>;
4979
5018
  /**
4980
5019
  * List custom deal restrictions
4981
5020
  * @summary List custom deal restrictions
@@ -4997,6 +5036,19 @@ export declare const CustomDealsApiFactory: (configuration?: Configuration, base
4997
5036
  * @throws {RequiredError}
4998
5037
  */
4999
5038
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: any): AxiosPromise<void>;
5039
+ /**
5040
+ * Get custom deal min target value
5041
+ * @summary Get custom deal min target value
5042
+ * @param {string} startingAt start at
5043
+ * @param {string} endingAt end at
5044
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
5045
+ * @param {Array<string>} beneficiaryValues beneficiary values
5046
+ * @param {string} tagKey tag key
5047
+ * @param {string} tagValue tag value
5048
+ * @param {*} [options] Override http request option.
5049
+ * @throws {RequiredError}
5050
+ */
5051
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: any): AxiosPromise<CustomDealMinTargetValueResponse>;
5000
5052
  /**
5001
5053
  * List custom deal restrictions
5002
5054
  * @summary List custom deal restrictions
@@ -5021,6 +5073,20 @@ export declare class CustomDealsApi extends BaseAPI {
5021
5073
  * @memberof CustomDealsApi
5022
5074
  */
5023
5075
  createCustomDealRestrictions(customDealRestriction: CustomDealRestriction, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
5076
+ /**
5077
+ * Get custom deal min target value
5078
+ * @summary Get custom deal min target value
5079
+ * @param {string} startingAt start at
5080
+ * @param {string} endingAt end at
5081
+ * @param {BeneficiaryKind} beneficiaryKind beneficiary kind
5082
+ * @param {Array<string>} beneficiaryValues beneficiary values
5083
+ * @param {string} tagKey tag key
5084
+ * @param {string} tagValue tag value
5085
+ * @param {*} [options] Override http request option.
5086
+ * @throws {RequiredError}
5087
+ * @memberof CustomDealsApi
5088
+ */
5089
+ getCustomDealMinTargetValue(startingAt: string, endingAt: string, beneficiaryKind: BeneficiaryKind, beneficiaryValues: Array<string>, tagKey: string, tagValue: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomDealMinTargetValueResponse, any>>;
5024
5090
  /**
5025
5091
  * List custom deal restrictions
5026
5092
  * @summary List custom deal restrictions
package/dist/esm/api.js CHANGED
@@ -1861,6 +1861,74 @@ export const CustomDealsApiAxiosParamCreator = function (configuration) {
1861
1861
  options: localVarRequestOptions,
1862
1862
  };
1863
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);
1927
+ return {
1928
+ url: toPathString(localVarUrlObj),
1929
+ options: localVarRequestOptions,
1930
+ };
1931
+ }),
1864
1932
  /**
1865
1933
  * List custom deal restrictions
1866
1934
  * @summary List custom deal restrictions
@@ -1911,6 +1979,24 @@ export const CustomDealsApiFp = function (configuration) {
1911
1979
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1912
1980
  });
1913
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
1991
+ * @param {*} [options] Override http request option.
1992
+ * @throws {RequiredError}
1993
+ */
1994
+ getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options) {
1995
+ return __awaiter(this, void 0, void 0, function* () {
1996
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomDealMinTargetValue(startingAt, endingAt, beneficiaryKind, beneficiaryValues, tagKey, tagValue, options);
1997
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1998
+ });
1999
+ },
1914
2000
  /**
1915
2001
  * List custom deal restrictions
1916
2002
  * @summary List custom deal restrictions
@@ -1942,6 +2028,21 @@ export const CustomDealsApiFactory = function (configuration, basePath, axios) {
1942
2028
  createCustomDealRestrictions(customDealRestriction, options) {
1943
2029
  return localVarFp.createCustomDealRestrictions(customDealRestriction, options).then((request) => request(axios, basePath));
1944
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));
2045
+ },
1945
2046
  /**
1946
2047
  * List custom deal restrictions
1947
2048
  * @summary List custom deal restrictions
@@ -1971,6 +2072,22 @@ export class CustomDealsApi extends BaseAPI {
1971
2072
  createCustomDealRestrictions(customDealRestriction, options) {
1972
2073
  return CustomDealsApiFp(this.configuration).createCustomDealRestrictions(customDealRestriction, options).then((request) => request(this.axios, this.basePath));
1973
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));
2090
+ }
1974
2091
  /**
1975
2092
  * List custom deal restrictions
1976
2093
  * @summary List custom deal restrictions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flexinet-api",
3
- "version": "0.0.1264-prerelease0",
3
+ "version": "0.0.1265-prerelease0",
4
4
  "description": "OpenAPI client for flexinet-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {