@emilgroup/insurance-sdk-node 1.104.1-beta.11 → 1.104.1-beta.111
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/.openapi-generator/FILES +5 -2
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +8 -4
- package/api/booking-funnels-api.ts +24 -12
- package/api/commission-agreement-items-api.ts +20 -10
- package/api/commission-agreement-products-api.ts +20 -10
- package/api/commission-agreement-versions-api.ts +16 -8
- package/api/commission-agreements-api.ts +20 -10
- package/api/commission-recipients-api.ts +20 -10
- package/api/emil-functions-api.ts +44 -22
- package/api/health-check-api.ts +6 -10
- package/api/insured-object-types-api.ts +4 -2
- package/api/insured-objects-api.ts +16 -8
- package/api/lead-statuses-api.ts +20 -10
- package/api/lead-versions-api.ts +8 -4
- package/api/leads-api.ts +44 -24
- package/api/named-ranges-api.ts +24 -12
- package/api/partner-links-api.ts +24 -12
- package/api/partner-roles-api.ts +20 -10
- package/api/policies-api.ts +100 -66
- package/api/premium-calculation-api.ts +171 -0
- package/api/premium-formulas-api.ts +24 -12
- package/api/product-configs-api.ts +24 -12
- package/api/product-factors-api.ts +28 -14
- package/api/product-fields-api.ts +28 -14
- package/api/product-versions-api.ts +8 -4
- package/api/products-api.ts +24 -12
- package/api/status-transition-rules-api.ts +24 -12
- package/api.ts +2 -0
- package/common.ts +3 -2
- package/dist/api/booking-funnel-versions-api.d.ts +2 -2
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.d.ts +6 -6
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.d.ts +5 -5
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.d.ts +5 -5
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.d.ts +4 -4
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.d.ts +5 -5
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.d.ts +5 -5
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.d.ts +11 -11
- package/dist/api/emil-functions-api.js +74 -43
- package/dist/api/health-check-api.d.ts +7 -8
- package/dist/api/health-check-api.js +4 -4
- package/dist/api/insured-object-types-api.d.ts +1 -1
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.d.ts +5 -5
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.d.ts +2 -2
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.d.ts +14 -14
- package/dist/api/leads-api.js +67 -41
- package/dist/api/named-ranges-api.d.ts +6 -6
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.d.ts +6 -6
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.d.ts +5 -5
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.d.ts +49 -49
- package/dist/api/policies-api.js +129 -90
- package/dist/api/premium-calculation-api.d.ts +97 -0
- package/dist/api/premium-calculation-api.js +231 -0
- package/dist/api/premium-formulas-api.d.ts +6 -6
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.d.ts +6 -6
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.d.ts +7 -7
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.d.ts +7 -7
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.d.ts +2 -2
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.d.ts +6 -6
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.d.ts +6 -6
- package/dist/api/status-transition-rules-api.js +36 -22
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/calculate-premium-response-class.d.ts +39 -0
- package/dist/models/calculated-policy-objects-class.d.ts +25 -0
- package/dist/models/claim-config-class.d.ts +7 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +6 -0
- package/dist/models/create-product-request-dto.d.ts +12 -0
- package/dist/models/create-product-version-request-dto.d.ts +6 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +2 -2
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/policy-premium-item-class.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +6 -0
- package/dist/models/regulation-subtype-class.d.ts +30 -0
- package/dist/models/regulation-subtype-class.js +15 -0
- package/dist/models/regulation-subtypes-class.d.ts +37 -0
- package/dist/models/regulation-subtypes-class.js +15 -0
- package/models/calculate-premium-response-class.ts +45 -0
- package/models/calculated-policy-objects-class.ts +31 -0
- package/models/claim-config-class.ts +7 -0
- package/models/create-draft-policy-request-dto.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +6 -0
- package/models/create-product-request-dto.ts +12 -0
- package/models/create-product-version-request-dto.ts +6 -0
- package/models/get-draft-policy-request-dto.ts +1 -1
- package/models/index.ts +4 -2
- package/models/partner-class.ts +6 -0
- package/models/patch-draft-policy-request-dto.ts +2 -2
- package/models/policy-object-dto.ts +1 -1
- package/models/policy-premium-item-class.ts +1 -1
- package/models/premium-formula-class.ts +6 -0
- package/models/regulation-subtype-class.ts +36 -0
- package/models/regulation-subtypes-class.ts +43 -0
- package/package.json +2 -2
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response503.d.ts +0 -54
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
- /package/dist/models/{inline-response200.js → calculate-premium-response-class.js} +0 -0
- /package/dist/models/{inline-response503.js → calculated-policy-objects-class.js} +0 -0
|
@@ -108,7 +108,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
createCommissionAgreementItem: function (code, createCommissionAgreementItemRequestDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
@@ -128,13 +128,16 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
localVarQueryParameter = {};
|
|
129
129
|
// authentication bearer required
|
|
130
130
|
// http bearer authentication required
|
|
131
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
];
|
|
132
134
|
case 1:
|
|
133
135
|
// authentication bearer required
|
|
134
136
|
// http bearer authentication required
|
|
135
137
|
_a.sent();
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
141
|
}
|
|
139
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -160,7 +163,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
160
163
|
deleteCommissionAgreementItem: function (code, authorization, options) {
|
|
161
164
|
if (options === void 0) { options = {}; }
|
|
162
165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
164
167
|
return __generator(this, function (_a) {
|
|
165
168
|
switch (_a.label) {
|
|
166
169
|
case 0:
|
|
@@ -178,13 +181,16 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
178
181
|
localVarQueryParameter = {};
|
|
179
182
|
// authentication bearer required
|
|
180
183
|
// http bearer authentication required
|
|
181
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
185
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
186
|
+
];
|
|
182
187
|
case 1:
|
|
183
188
|
// authentication bearer required
|
|
184
189
|
// http bearer authentication required
|
|
185
190
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
191
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
if (authorizationValue) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
188
194
|
}
|
|
189
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
196
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,7 +215,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
getCommissionAgreementItem: function (code, expand, authorization, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -237,8 +243,9 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
237
243
|
if (expand !== undefined) {
|
|
238
244
|
localVarQueryParameter['expand'] = expand;
|
|
239
245
|
}
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
247
|
+
if (authorizationValue) {
|
|
248
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
249
|
}
|
|
243
250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
251
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -268,7 +275,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
268
275
|
listCommissionAgreementItems: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
276
|
if (options === void 0) { options = {}; }
|
|
270
277
|
return __awaiter(_this, void 0, void 0, function () {
|
|
271
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
272
279
|
return __generator(this, function (_a) {
|
|
273
280
|
switch (_a.label) {
|
|
274
281
|
case 0:
|
|
@@ -309,8 +316,9 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
309
316
|
if (filters !== undefined) {
|
|
310
317
|
localVarQueryParameter['filters'] = filters;
|
|
311
318
|
}
|
|
312
|
-
|
|
313
|
-
|
|
319
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
320
|
+
if (authorizationValue) {
|
|
321
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
314
322
|
}
|
|
315
323
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
324
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -335,7 +343,7 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
335
343
|
updateCommissionAgreementItem: function (code, updateCommissionAgreementItemRequestDto, authorization, options) {
|
|
336
344
|
if (options === void 0) { options = {}; }
|
|
337
345
|
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
346
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
339
347
|
return __generator(this, function (_a) {
|
|
340
348
|
switch (_a.label) {
|
|
341
349
|
case 0:
|
|
@@ -355,13 +363,16 @@ var CommissionAgreementItemsApiAxiosParamCreator = function (configuration) {
|
|
|
355
363
|
localVarQueryParameter = {};
|
|
356
364
|
// authentication bearer required
|
|
357
365
|
// http bearer authentication required
|
|
358
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
366
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
367
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
368
|
+
];
|
|
359
369
|
case 1:
|
|
360
370
|
// authentication bearer required
|
|
361
371
|
// http bearer authentication required
|
|
362
372
|
_a.sent();
|
|
363
|
-
|
|
364
|
-
|
|
373
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
374
|
+
if (authorizationValue) {
|
|
375
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
365
376
|
}
|
|
366
377
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
367
378
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -363,7 +363,7 @@ export declare class CommissionAgreementProductsApi extends BaseAPI {
|
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
* @memberof CommissionAgreementProductsApi
|
|
365
365
|
*/
|
|
366
|
-
createCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiCreateCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementProductResponseClass, any, {}>>;
|
|
366
|
+
createCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiCreateCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementProductResponseClass, any, {}, any>>;
|
|
367
367
|
/**
|
|
368
368
|
* Permanently deletes the commission agreement product. Supply the unique code that was returned when you created the commission agreement product and this will delete it. **Required Permissions** \"commission-management.agreements.delete\"
|
|
369
369
|
* @summary Delete the commission agreement product
|
|
@@ -372,7 +372,7 @@ export declare class CommissionAgreementProductsApi extends BaseAPI {
|
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
* @memberof CommissionAgreementProductsApi
|
|
374
374
|
*/
|
|
375
|
-
deleteCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
375
|
+
deleteCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
376
376
|
/**
|
|
377
377
|
* Retrieves the details of the commission agreement product that was previously created. Supply the unique commission agreement product code that was returned when you created it and Emil Api will return the corresponding commission agreement product information. **Required Permissions** \"commission-management.agreements.view\"
|
|
378
378
|
* @summary Retrieve the commission agreement product
|
|
@@ -381,7 +381,7 @@ export declare class CommissionAgreementProductsApi extends BaseAPI {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof CommissionAgreementProductsApi
|
|
383
383
|
*/
|
|
384
|
-
getCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiGetCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementProductResponseClass, any, {}>>;
|
|
384
|
+
getCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiGetCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementProductResponseClass, any, {}, any>>;
|
|
385
385
|
/**
|
|
386
386
|
* Returns a list of commission agreement products you have previously created. The commission agreement products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"commission-management.agreements.view\"
|
|
387
387
|
* @summary List commission agreement products
|
|
@@ -390,7 +390,7 @@ export declare class CommissionAgreementProductsApi extends BaseAPI {
|
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof CommissionAgreementProductsApi
|
|
392
392
|
*/
|
|
393
|
-
listCommissionAgreementProducts(requestParameters?: CommissionAgreementProductsApiListCommissionAgreementProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementProductsResponseClass, any, {}>>;
|
|
393
|
+
listCommissionAgreementProducts(requestParameters?: CommissionAgreementProductsApiListCommissionAgreementProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementProductsResponseClass, any, {}, any>>;
|
|
394
394
|
/**
|
|
395
395
|
* Updates the specified commission agreement product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"commission-management.agreements.update\"
|
|
396
396
|
* @summary Update the commission agreement product
|
|
@@ -399,5 +399,5 @@ export declare class CommissionAgreementProductsApi extends BaseAPI {
|
|
|
399
399
|
* @throws {RequiredError}
|
|
400
400
|
* @memberof CommissionAgreementProductsApi
|
|
401
401
|
*/
|
|
402
|
-
updateCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionAgreementProductResponseClass, any, {}>>;
|
|
402
|
+
updateCommissionAgreementProduct(requestParameters: CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionAgreementProductResponseClass, any, {}, any>>;
|
|
403
403
|
}
|
|
@@ -108,7 +108,7 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
createCommissionAgreementProduct: function (code, createCommissionAgreementProductRequestDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
@@ -128,13 +128,16 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
localVarQueryParameter = {};
|
|
129
129
|
// authentication bearer required
|
|
130
130
|
// http bearer authentication required
|
|
131
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
];
|
|
132
134
|
case 1:
|
|
133
135
|
// authentication bearer required
|
|
134
136
|
// http bearer authentication required
|
|
135
137
|
_a.sent();
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
141
|
}
|
|
139
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -160,7 +163,7 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
160
163
|
deleteCommissionAgreementProduct: function (code, authorization, options) {
|
|
161
164
|
if (options === void 0) { options = {}; }
|
|
162
165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
164
167
|
return __generator(this, function (_a) {
|
|
165
168
|
switch (_a.label) {
|
|
166
169
|
case 0:
|
|
@@ -178,13 +181,16 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
178
181
|
localVarQueryParameter = {};
|
|
179
182
|
// authentication bearer required
|
|
180
183
|
// http bearer authentication required
|
|
181
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
185
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
186
|
+
];
|
|
182
187
|
case 1:
|
|
183
188
|
// authentication bearer required
|
|
184
189
|
// http bearer authentication required
|
|
185
190
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
191
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
if (authorizationValue) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
188
194
|
}
|
|
189
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
196
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,7 +215,7 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
getCommissionAgreementProduct: function (code, authorization, expand, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -235,8 +241,9 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
235
241
|
if (expand !== undefined) {
|
|
236
242
|
localVarQueryParameter['expand'] = expand;
|
|
237
243
|
}
|
|
238
|
-
|
|
239
|
-
|
|
244
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
245
|
+
if (authorizationValue) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
240
247
|
}
|
|
241
248
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
242
249
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -266,7 +273,7 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
266
273
|
listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
267
274
|
if (options === void 0) { options = {}; }
|
|
268
275
|
return __awaiter(_this, void 0, void 0, function () {
|
|
269
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
276
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
270
277
|
return __generator(this, function (_a) {
|
|
271
278
|
switch (_a.label) {
|
|
272
279
|
case 0:
|
|
@@ -307,8 +314,9 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
307
314
|
if (filters !== undefined) {
|
|
308
315
|
localVarQueryParameter['filters'] = filters;
|
|
309
316
|
}
|
|
310
|
-
|
|
311
|
-
|
|
317
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
318
|
+
if (authorizationValue) {
|
|
319
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
312
320
|
}
|
|
313
321
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
314
322
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -333,7 +341,7 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
333
341
|
updateCommissionAgreementProduct: function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
|
|
334
342
|
if (options === void 0) { options = {}; }
|
|
335
343
|
return __awaiter(_this, void 0, void 0, function () {
|
|
336
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
344
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
337
345
|
return __generator(this, function (_a) {
|
|
338
346
|
switch (_a.label) {
|
|
339
347
|
case 0:
|
|
@@ -353,13 +361,16 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
353
361
|
localVarQueryParameter = {};
|
|
354
362
|
// authentication bearer required
|
|
355
363
|
// http bearer authentication required
|
|
356
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
364
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
365
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
366
|
+
];
|
|
357
367
|
case 1:
|
|
358
368
|
// authentication bearer required
|
|
359
369
|
// http bearer authentication required
|
|
360
370
|
_a.sent();
|
|
361
|
-
|
|
362
|
-
|
|
371
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
372
|
+
if (authorizationValue) {
|
|
373
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
363
374
|
}
|
|
364
375
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
365
376
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -306,7 +306,7 @@ export declare class CommissionAgreementVersionsApi extends BaseAPI {
|
|
|
306
306
|
* @throws {RequiredError}
|
|
307
307
|
* @memberof CommissionAgreementVersionsApi
|
|
308
308
|
*/
|
|
309
|
-
createCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementVersionResponseClass, any, {}>>;
|
|
309
|
+
createCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementVersionResponseClass, any, {}, any>>;
|
|
310
310
|
/**
|
|
311
311
|
* Permanently deletes the commission agreement version. Supply the unique code that was returned when you created the commission agreement version and this will delete it. **Required Permissions** \"commission-management.agreements.delete\"
|
|
312
312
|
* @summary Delete the commission agreement version
|
|
@@ -315,7 +315,7 @@ export declare class CommissionAgreementVersionsApi extends BaseAPI {
|
|
|
315
315
|
* @throws {RequiredError}
|
|
316
316
|
* @memberof CommissionAgreementVersionsApi
|
|
317
317
|
*/
|
|
318
|
-
deleteCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
318
|
+
deleteCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
319
319
|
/**
|
|
320
320
|
* Retrieves the details of the commission agreement version that was previously created. Supply the unique commission agreement version code that was returned when you created it and Emil Api will return the corresponding commission agreement version information. **Required Permissions** \"commission-management.agreements.view\"
|
|
321
321
|
* @summary Retrieve the commission agreement version
|
|
@@ -324,7 +324,7 @@ export declare class CommissionAgreementVersionsApi extends BaseAPI {
|
|
|
324
324
|
* @throws {RequiredError}
|
|
325
325
|
* @memberof CommissionAgreementVersionsApi
|
|
326
326
|
*/
|
|
327
|
-
getCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementVersionResponseClass, any, {}>>;
|
|
327
|
+
getCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementVersionResponseClass, any, {}, any>>;
|
|
328
328
|
/**
|
|
329
329
|
* Returns a list of commission agreement versions you have previously created. The commission agreement versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"commission-management.agreements.view\"
|
|
330
330
|
* @summary List commission agreement versions
|
|
@@ -333,5 +333,5 @@ export declare class CommissionAgreementVersionsApi extends BaseAPI {
|
|
|
333
333
|
* @throws {RequiredError}
|
|
334
334
|
* @memberof CommissionAgreementVersionsApi
|
|
335
335
|
*/
|
|
336
|
-
listCommissionAgreementVersions(requestParameters?: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementVersionsResponseClass, any, {}>>;
|
|
336
|
+
listCommissionAgreementVersions(requestParameters?: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementVersionsResponseClass, any, {}, any>>;
|
|
337
337
|
}
|
|
@@ -108,7 +108,7 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
createCommissionAgreementVersion: function (code, createCommissionAgreementVersionRequestDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
112
112
|
return __generator(this, function (_a) {
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
@@ -128,13 +128,16 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
localVarQueryParameter = {};
|
|
129
129
|
// authentication bearer required
|
|
130
130
|
// http bearer authentication required
|
|
131
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
131
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
132
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
133
|
+
];
|
|
132
134
|
case 1:
|
|
133
135
|
// authentication bearer required
|
|
134
136
|
// http bearer authentication required
|
|
135
137
|
_a.sent();
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
139
|
+
if (authorizationValue) {
|
|
140
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
138
141
|
}
|
|
139
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
143
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -160,7 +163,7 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
160
163
|
deleteCommissionAgreementVersion: function (code, authorization, options) {
|
|
161
164
|
if (options === void 0) { options = {}; }
|
|
162
165
|
return __awaiter(_this, void 0, void 0, function () {
|
|
163
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
164
167
|
return __generator(this, function (_a) {
|
|
165
168
|
switch (_a.label) {
|
|
166
169
|
case 0:
|
|
@@ -178,13 +181,16 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
178
181
|
localVarQueryParameter = {};
|
|
179
182
|
// authentication bearer required
|
|
180
183
|
// http bearer authentication required
|
|
181
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
185
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
186
|
+
];
|
|
182
187
|
case 1:
|
|
183
188
|
// authentication bearer required
|
|
184
189
|
// http bearer authentication required
|
|
185
190
|
_a.sent();
|
|
186
|
-
|
|
187
|
-
|
|
191
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
if (authorizationValue) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
188
194
|
}
|
|
189
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
190
196
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -209,7 +215,7 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
getCommissionAgreementVersion: function (code, expand, authorization, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -237,8 +243,9 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
237
243
|
if (expand !== undefined) {
|
|
238
244
|
localVarQueryParameter['expand'] = expand;
|
|
239
245
|
}
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
247
|
+
if (authorizationValue) {
|
|
248
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
242
249
|
}
|
|
243
250
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
251
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -268,7 +275,7 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
268
275
|
listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
269
276
|
if (options === void 0) { options = {}; }
|
|
270
277
|
return __awaiter(_this, void 0, void 0, function () {
|
|
271
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
272
279
|
return __generator(this, function (_a) {
|
|
273
280
|
switch (_a.label) {
|
|
274
281
|
case 0:
|
|
@@ -309,8 +316,9 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
309
316
|
if (filters !== undefined) {
|
|
310
317
|
localVarQueryParameter['filters'] = filters;
|
|
311
318
|
}
|
|
312
|
-
|
|
313
|
-
|
|
319
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
320
|
+
if (authorizationValue) {
|
|
321
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
314
322
|
}
|
|
315
323
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
324
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -354,7 +354,7 @@ export declare class CommissionAgreementsApi extends BaseAPI {
|
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
* @memberof CommissionAgreementsApi
|
|
356
356
|
*/
|
|
357
|
-
createCommissionAgreement(requestParameters: CommissionAgreementsApiCreateCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementResponseClass, any, {}>>;
|
|
357
|
+
createCommissionAgreement(requestParameters: CommissionAgreementsApiCreateCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementResponseClass, any, {}, any>>;
|
|
358
358
|
/**
|
|
359
359
|
* Permanently deletes the commission agreement. Supply the unique code that was returned when you created the commission agreement and this will delete it. **Required Permissions** \"commission-management.agreements.delete\"
|
|
360
360
|
* @summary Delete the commission agreement
|
|
@@ -363,7 +363,7 @@ export declare class CommissionAgreementsApi extends BaseAPI {
|
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
* @memberof CommissionAgreementsApi
|
|
365
365
|
*/
|
|
366
|
-
deleteCommissionAgreement(requestParameters: CommissionAgreementsApiDeleteCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
366
|
+
deleteCommissionAgreement(requestParameters: CommissionAgreementsApiDeleteCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
367
367
|
/**
|
|
368
368
|
* Retrieves the details of the commission agreement that was previously created. Supply the unique commission agreement code that was returned when you created it and Emil Api will return the corresponding commission agreement information. **Required Permissions** \"commission-management.agreements.view\"
|
|
369
369
|
* @summary Retrieve the commission agreement
|
|
@@ -372,7 +372,7 @@ export declare class CommissionAgreementsApi extends BaseAPI {
|
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
* @memberof CommissionAgreementsApi
|
|
374
374
|
*/
|
|
375
|
-
getCommissionAgreement(requestParameters: CommissionAgreementsApiGetCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementResponseClass, any, {}>>;
|
|
375
|
+
getCommissionAgreement(requestParameters: CommissionAgreementsApiGetCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementResponseClass, any, {}, any>>;
|
|
376
376
|
/**
|
|
377
377
|
* Returns a list of commission agreements you have previously created. The commission agreements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"commission-management.agreements.view\"
|
|
378
378
|
* @summary List commission agreements
|
|
@@ -381,7 +381,7 @@ export declare class CommissionAgreementsApi extends BaseAPI {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof CommissionAgreementsApi
|
|
383
383
|
*/
|
|
384
|
-
listCommissionAgreements(requestParameters?: CommissionAgreementsApiListCommissionAgreementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementsResponseClass, any, {}>>;
|
|
384
|
+
listCommissionAgreements(requestParameters?: CommissionAgreementsApiListCommissionAgreementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementsResponseClass, any, {}, any>>;
|
|
385
385
|
/**
|
|
386
386
|
* Updates the specified commission agreement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"commission-management.agreements.update\"
|
|
387
387
|
* @summary Update the commission agreement
|
|
@@ -390,5 +390,5 @@ export declare class CommissionAgreementsApi extends BaseAPI {
|
|
|
390
390
|
* @throws {RequiredError}
|
|
391
391
|
* @memberof CommissionAgreementsApi
|
|
392
392
|
*/
|
|
393
|
-
updateCommissionAgreement(requestParameters: CommissionAgreementsApiUpdateCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionAgreementResponseClass, any, {}>>;
|
|
393
|
+
updateCommissionAgreement(requestParameters: CommissionAgreementsApiUpdateCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionAgreementResponseClass, any, {}, any>>;
|
|
394
394
|
}
|