@emilgroup/insurance-sdk-node 1.52.0 → 1.53.0

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.
Files changed (114) hide show
  1. package/.openapi-generator/FILES +33 -1
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +710 -0
  4. package/api/commission-agreement-versions-api.ts +592 -0
  5. package/api/commission-agreements-api.ts +697 -0
  6. package/api/commission-recipients-api.ts +696 -0
  7. package/api/{default-api.ts → health-check-api.ts} +21 -17
  8. package/api/insured-objects-api.ts +5 -2
  9. package/api/policies-api.ts +176 -221
  10. package/api.ts +10 -2
  11. package/dist/api/commission-agreement-products-api.d.ts +403 -0
  12. package/dist/api/commission-agreement-products-api.js +652 -0
  13. package/dist/api/commission-agreement-versions-api.d.ts +337 -0
  14. package/dist/api/commission-agreement-versions-api.js +555 -0
  15. package/dist/api/commission-agreements-api.d.ts +394 -0
  16. package/dist/api/commission-agreements-api.js +646 -0
  17. package/dist/api/commission-recipients-api.d.ts +394 -0
  18. package/dist/api/commission-recipients-api.js +646 -0
  19. package/dist/api/health-check-api.d.ts +70 -0
  20. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  21. package/dist/api/insured-objects-api.js +4 -2
  22. package/dist/api/policies-api.d.ts +134 -161
  23. package/dist/api/policies-api.js +129 -151
  24. package/dist/api.d.ts +5 -1
  25. package/dist/api.js +5 -1
  26. package/dist/models/commission-agreement-class.d.ts +89 -0
  27. package/dist/models/commission-agreement-class.js +23 -0
  28. package/dist/models/commission-agreement-item-class.d.ts +66 -0
  29. package/dist/models/commission-agreement-item-class.js +15 -0
  30. package/dist/models/commission-agreement-product-class.d.ts +72 -0
  31. package/dist/models/commission-agreement-product-class.js +15 -0
  32. package/dist/models/commission-agreement-version-class.d.ts +79 -0
  33. package/dist/models/commission-agreement-version-class.js +15 -0
  34. package/dist/models/commission-recipient-class.d.ts +78 -0
  35. package/dist/models/commission-recipient-class.js +15 -0
  36. package/dist/models/create-commission-agreement-item-dto.d.ts +36 -0
  37. package/dist/models/create-commission-agreement-item-dto.js +15 -0
  38. package/dist/models/create-commission-agreement-product-request-dto.d.ts +42 -0
  39. package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
  40. package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
  41. package/dist/models/create-commission-agreement-product-response-class.js +15 -0
  42. package/dist/models/create-commission-agreement-request-dto.d.ts +75 -0
  43. package/dist/models/create-commission-agreement-request-dto.js +23 -0
  44. package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
  45. package/dist/models/create-commission-agreement-response-class.js +15 -0
  46. package/dist/models/create-commission-agreement-version-request-dto.d.ts +49 -0
  47. package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
  48. package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
  49. package/dist/models/create-commission-agreement-version-response-class.js +15 -0
  50. package/dist/models/create-commission-recipient-request-dto.d.ts +48 -0
  51. package/dist/models/create-commission-recipient-request-dto.js +15 -0
  52. package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
  53. package/dist/models/create-commission-recipient-response-class.js +15 -0
  54. package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
  55. package/dist/models/get-commission-agreement-product-response-class.js +15 -0
  56. package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
  57. package/dist/models/get-commission-agreement-response-class.js +15 -0
  58. package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
  59. package/dist/models/get-commission-agreement-version-response-class.js +15 -0
  60. package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
  61. package/dist/models/get-commission-recipient-response-class.js +15 -0
  62. package/dist/models/index.d.ts +28 -0
  63. package/dist/models/index.js +28 -0
  64. package/dist/models/list-commission-agreement-products-response-class.d.ts +31 -0
  65. package/dist/models/list-commission-agreement-products-response-class.js +15 -0
  66. package/dist/models/list-commission-agreement-versions-response-class.d.ts +31 -0
  67. package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
  68. package/dist/models/list-commission-agreements-response-class.d.ts +31 -0
  69. package/dist/models/list-commission-agreements-response-class.js +15 -0
  70. package/dist/models/list-commission-recipients-response-class.d.ts +31 -0
  71. package/dist/models/list-commission-recipients-response-class.js +15 -0
  72. package/dist/models/update-commission-agreement-product-request-dto.d.ts +42 -0
  73. package/dist/models/update-commission-agreement-product-request-dto.js +15 -0
  74. package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
  75. package/dist/models/update-commission-agreement-product-response-class.js +15 -0
  76. package/dist/models/update-commission-agreement-request-dto.d.ts +44 -0
  77. package/dist/models/update-commission-agreement-request-dto.js +23 -0
  78. package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
  79. package/dist/models/update-commission-agreement-response-class.js +15 -0
  80. package/dist/models/update-commission-recipient-request-dto.d.ts +48 -0
  81. package/dist/models/update-commission-recipient-request-dto.js +15 -0
  82. package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
  83. package/dist/models/update-commission-recipient-response-class.js +15 -0
  84. package/models/commission-agreement-class.ts +98 -0
  85. package/models/commission-agreement-item-class.ts +72 -0
  86. package/models/commission-agreement-product-class.ts +78 -0
  87. package/models/commission-agreement-version-class.ts +85 -0
  88. package/models/commission-recipient-class.ts +84 -0
  89. package/models/create-commission-agreement-item-dto.ts +42 -0
  90. package/models/create-commission-agreement-product-request-dto.ts +48 -0
  91. package/models/create-commission-agreement-product-response-class.ts +31 -0
  92. package/models/create-commission-agreement-request-dto.ts +84 -0
  93. package/models/create-commission-agreement-response-class.ts +31 -0
  94. package/models/create-commission-agreement-version-request-dto.ts +55 -0
  95. package/models/create-commission-agreement-version-response-class.ts +31 -0
  96. package/models/create-commission-recipient-request-dto.ts +54 -0
  97. package/models/create-commission-recipient-response-class.ts +31 -0
  98. package/models/get-commission-agreement-product-response-class.ts +31 -0
  99. package/models/get-commission-agreement-response-class.ts +31 -0
  100. package/models/get-commission-agreement-version-response-class.ts +31 -0
  101. package/models/get-commission-recipient-response-class.ts +31 -0
  102. package/models/index.ts +28 -0
  103. package/models/list-commission-agreement-products-response-class.ts +37 -0
  104. package/models/list-commission-agreement-versions-response-class.ts +37 -0
  105. package/models/list-commission-agreements-response-class.ts +37 -0
  106. package/models/list-commission-recipients-response-class.ts +37 -0
  107. package/models/update-commission-agreement-product-request-dto.ts +48 -0
  108. package/models/update-commission-agreement-product-response-class.ts +31 -0
  109. package/models/update-commission-agreement-request-dto.ts +53 -0
  110. package/models/update-commission-agreement-response-class.ts +31 -0
  111. package/models/update-commission-recipient-request-dto.ts +54 -0
  112. package/models/update-commission-recipient-response-class.ts +31 -0
  113. package/package.json +1 -1
  114. package/dist/api/default-api.d.ts +0 -66
@@ -0,0 +1,652 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.CommissionAgreementProductsApi = exports.CommissionAgreementProductsApiFactory = exports.CommissionAgreementProductsApiFp = exports.CommissionAgreementProductsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ // URLSearchParams not necessarily used
89
+ // @ts-ignore
90
+ var url_1 = require("url");
91
+ var FormData = require('form-data');
92
+ /**
93
+ * CommissionAgreementProductsApi - axios parameter creator
94
+ * @export
95
+ */
96
+ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
97
+ var _this = this;
98
+ return {
99
+ /**
100
+ * This will create the commission agreement product.
101
+ * @summary Create the Commission agreement product
102
+ * @param {string} code
103
+ * @param {CreateCommissionAgreementProductRequestDto} createCommissionAgreementProductRequestDto
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ createCommissionAgreementProduct: function (code, createCommissionAgreementProductRequestDto, authorization, options) {
109
+ if (options === void 0) { options = {}; }
110
+ return __awaiter(_this, void 0, void 0, function () {
111
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0:
115
+ // verify required parameter 'code' is not null or undefined
116
+ (0, common_1.assertParamExists)('createCommissionAgreementProduct', 'code', code);
117
+ // verify required parameter 'createCommissionAgreementProductRequestDto' is not null or undefined
118
+ (0, common_1.assertParamExists)('createCommissionAgreementProduct', 'createCommissionAgreementProductRequestDto', createCommissionAgreementProductRequestDto);
119
+ localVarPath = "/insuranceservice/v1/commission-agreements/{code}/products"
120
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
121
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ baseAccessToken = configuration.accessToken;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
+ case 1:
133
+ // authentication bearer required
134
+ // http bearer authentication required
135
+ _a.sent();
136
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
137
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
138
+ }
139
+ localVarHeaderParameter['Content-Type'] = 'application/json';
140
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
141
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
142
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
143
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCommissionAgreementProductRequestDto, localVarRequestOptions, configuration);
144
+ return [2 /*return*/, {
145
+ url: (0, common_1.toPathString)(localVarUrlObj),
146
+ options: localVarRequestOptions,
147
+ }];
148
+ }
149
+ });
150
+ });
151
+ },
152
+ /**
153
+ * 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.
154
+ * @summary Delete the commission agreement product
155
+ * @param {string} code
156
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ deleteCommissionAgreementProduct: function (code, authorization, options) {
161
+ if (options === void 0) { options = {}; }
162
+ return __awaiter(_this, void 0, void 0, function () {
163
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
164
+ return __generator(this, function (_a) {
165
+ switch (_a.label) {
166
+ case 0:
167
+ // verify required parameter 'code' is not null or undefined
168
+ (0, common_1.assertParamExists)('deleteCommissionAgreementProduct', 'code', code);
169
+ localVarPath = "/insuranceservice/v1/commission-agreements/products/{code}"
170
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
171
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
172
+ if (configuration) {
173
+ baseOptions = configuration.baseOptions;
174
+ baseAccessToken = configuration.accessToken;
175
+ }
176
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
177
+ localVarHeaderParameter = {};
178
+ localVarQueryParameter = {};
179
+ // authentication bearer required
180
+ // http bearer authentication required
181
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
182
+ case 1:
183
+ // authentication bearer required
184
+ // http bearer authentication required
185
+ _a.sent();
186
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
187
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
188
+ }
189
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
190
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
191
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
192
+ return [2 /*return*/, {
193
+ url: (0, common_1.toPathString)(localVarUrlObj),
194
+ options: localVarRequestOptions,
195
+ }];
196
+ }
197
+ });
198
+ });
199
+ },
200
+ /**
201
+ * 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.
202
+ * @summary Retrieve the commission agreement product
203
+ * @param {string} code
204
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
205
+ * @param {string} [expand] You can expand commission agreement product in this endpoint. \&#39; + \&#39;Allowed values: product.
206
+ * @param {*} [options] Override http request option.
207
+ * @throws {RequiredError}
208
+ */
209
+ getCommissionAgreementProduct: function (code, authorization, expand, options) {
210
+ if (options === void 0) { options = {}; }
211
+ return __awaiter(_this, void 0, void 0, function () {
212
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
213
+ return __generator(this, function (_a) {
214
+ switch (_a.label) {
215
+ case 0:
216
+ // verify required parameter 'code' is not null or undefined
217
+ (0, common_1.assertParamExists)('getCommissionAgreementProduct', 'code', code);
218
+ localVarPath = "/insuranceservice/v1/commission-agreements/products/{code}"
219
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
220
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
221
+ if (configuration) {
222
+ baseOptions = configuration.baseOptions;
223
+ baseAccessToken = configuration.accessToken;
224
+ }
225
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
226
+ localVarHeaderParameter = {};
227
+ localVarQueryParameter = {};
228
+ // authentication bearer required
229
+ // http bearer authentication required
230
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
231
+ case 1:
232
+ // authentication bearer required
233
+ // http bearer authentication required
234
+ _a.sent();
235
+ if (expand !== undefined) {
236
+ localVarQueryParameter['expand'] = expand;
237
+ }
238
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
239
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
240
+ }
241
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
242
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
243
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
244
+ return [2 /*return*/, {
245
+ url: (0, common_1.toPathString)(localVarUrlObj),
246
+ options: localVarRequestOptions,
247
+ }];
248
+ }
249
+ });
250
+ });
251
+ },
252
+ /**
253
+ * 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.
254
+ * @summary List commission agreement products
255
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
256
+ * @param {number} [pageSize] Page size.
257
+ * @param {string} [pageToken] Page token.
258
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productId, commissionAgreementId&lt;/i&gt;
259
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: productId, code&lt;/i&gt;
260
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
261
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product.&lt;i&gt;
262
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productId, commissionAgreementId&lt;/i&gt;
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
267
+ if (options === void 0) { options = {}; }
268
+ return __awaiter(_this, void 0, void 0, function () {
269
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
270
+ return __generator(this, function (_a) {
271
+ switch (_a.label) {
272
+ case 0:
273
+ localVarPath = "/insuranceservice/v1/commission-agreements/products";
274
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
275
+ if (configuration) {
276
+ baseOptions = configuration.baseOptions;
277
+ baseAccessToken = configuration.accessToken;
278
+ }
279
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
280
+ localVarHeaderParameter = {};
281
+ localVarQueryParameter = {};
282
+ // authentication bearer required
283
+ // http bearer authentication required
284
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
285
+ case 1:
286
+ // authentication bearer required
287
+ // http bearer authentication required
288
+ _a.sent();
289
+ if (pageSize !== undefined) {
290
+ localVarQueryParameter['pageSize'] = pageSize;
291
+ }
292
+ if (pageToken !== undefined) {
293
+ localVarQueryParameter['pageToken'] = pageToken;
294
+ }
295
+ if (filter !== undefined) {
296
+ localVarQueryParameter['filter'] = filter;
297
+ }
298
+ if (search !== undefined) {
299
+ localVarQueryParameter['search'] = search;
300
+ }
301
+ if (order !== undefined) {
302
+ localVarQueryParameter['order'] = order;
303
+ }
304
+ if (expand !== undefined) {
305
+ localVarQueryParameter['expand'] = expand;
306
+ }
307
+ if (filters !== undefined) {
308
+ localVarQueryParameter['filters'] = filters;
309
+ }
310
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
311
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
312
+ }
313
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
314
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
316
+ return [2 /*return*/, {
317
+ url: (0, common_1.toPathString)(localVarUrlObj),
318
+ options: localVarRequestOptions,
319
+ }];
320
+ }
321
+ });
322
+ });
323
+ },
324
+ /**
325
+ * Updates the specified commission agreement product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
326
+ * @summary Update the commission agreement product
327
+ * @param {string} code
328
+ * @param {UpdateCommissionAgreementProductRequestDto} updateCommissionAgreementProductRequestDto
329
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ */
333
+ updateCommissionAgreementProduct: function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
334
+ if (options === void 0) { options = {}; }
335
+ return __awaiter(_this, void 0, void 0, function () {
336
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
337
+ return __generator(this, function (_a) {
338
+ switch (_a.label) {
339
+ case 0:
340
+ // verify required parameter 'code' is not null or undefined
341
+ (0, common_1.assertParamExists)('updateCommissionAgreementProduct', 'code', code);
342
+ // verify required parameter 'updateCommissionAgreementProductRequestDto' is not null or undefined
343
+ (0, common_1.assertParamExists)('updateCommissionAgreementProduct', 'updateCommissionAgreementProductRequestDto', updateCommissionAgreementProductRequestDto);
344
+ localVarPath = "/insuranceservice/v1/commission-agreements/products/{code}"
345
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
346
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
347
+ if (configuration) {
348
+ baseOptions = configuration.baseOptions;
349
+ baseAccessToken = configuration.accessToken;
350
+ }
351
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
352
+ localVarHeaderParameter = {};
353
+ localVarQueryParameter = {};
354
+ // authentication bearer required
355
+ // http bearer authentication required
356
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
357
+ case 1:
358
+ // authentication bearer required
359
+ // http bearer authentication required
360
+ _a.sent();
361
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
362
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
363
+ }
364
+ localVarHeaderParameter['Content-Type'] = 'application/json';
365
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
366
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
367
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
368
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCommissionAgreementProductRequestDto, localVarRequestOptions, configuration);
369
+ return [2 /*return*/, {
370
+ url: (0, common_1.toPathString)(localVarUrlObj),
371
+ options: localVarRequestOptions,
372
+ }];
373
+ }
374
+ });
375
+ });
376
+ },
377
+ };
378
+ };
379
+ exports.CommissionAgreementProductsApiAxiosParamCreator = CommissionAgreementProductsApiAxiosParamCreator;
380
+ /**
381
+ * CommissionAgreementProductsApi - functional programming interface
382
+ * @export
383
+ */
384
+ var CommissionAgreementProductsApiFp = function (configuration) {
385
+ var localVarAxiosParamCreator = (0, exports.CommissionAgreementProductsApiAxiosParamCreator)(configuration);
386
+ return {
387
+ /**
388
+ * This will create the commission agreement product.
389
+ * @summary Create the Commission agreement product
390
+ * @param {string} code
391
+ * @param {CreateCommissionAgreementProductRequestDto} createCommissionAgreementProductRequestDto
392
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
393
+ * @param {*} [options] Override http request option.
394
+ * @throws {RequiredError}
395
+ */
396
+ createCommissionAgreementProduct: function (code, createCommissionAgreementProductRequestDto, authorization, options) {
397
+ return __awaiter(this, void 0, void 0, function () {
398
+ var localVarAxiosArgs;
399
+ return __generator(this, function (_a) {
400
+ switch (_a.label) {
401
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCommissionAgreementProduct(code, createCommissionAgreementProductRequestDto, authorization, options)];
402
+ case 1:
403
+ localVarAxiosArgs = _a.sent();
404
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
405
+ }
406
+ });
407
+ });
408
+ },
409
+ /**
410
+ * 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.
411
+ * @summary Delete the commission agreement product
412
+ * @param {string} code
413
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ deleteCommissionAgreementProduct: function (code, authorization, options) {
418
+ return __awaiter(this, void 0, void 0, function () {
419
+ var localVarAxiosArgs;
420
+ return __generator(this, function (_a) {
421
+ switch (_a.label) {
422
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCommissionAgreementProduct(code, authorization, options)];
423
+ case 1:
424
+ localVarAxiosArgs = _a.sent();
425
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
426
+ }
427
+ });
428
+ });
429
+ },
430
+ /**
431
+ * 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.
432
+ * @summary Retrieve the commission agreement product
433
+ * @param {string} code
434
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
+ * @param {string} [expand] You can expand commission agreement product in this endpoint. \&#39; + \&#39;Allowed values: product.
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ getCommissionAgreementProduct: function (code, authorization, expand, options) {
440
+ return __awaiter(this, void 0, void 0, function () {
441
+ var localVarAxiosArgs;
442
+ return __generator(this, function (_a) {
443
+ switch (_a.label) {
444
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCommissionAgreementProduct(code, authorization, expand, options)];
445
+ case 1:
446
+ localVarAxiosArgs = _a.sent();
447
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
448
+ }
449
+ });
450
+ });
451
+ },
452
+ /**
453
+ * 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.
454
+ * @summary List commission agreement products
455
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
456
+ * @param {number} [pageSize] Page size.
457
+ * @param {string} [pageToken] Page token.
458
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productId, commissionAgreementId&lt;/i&gt;
459
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: productId, code&lt;/i&gt;
460
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
461
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product.&lt;i&gt;
462
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productId, commissionAgreementId&lt;/i&gt;
463
+ * @param {*} [options] Override http request option.
464
+ * @throws {RequiredError}
465
+ */
466
+ listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
467
+ return __awaiter(this, void 0, void 0, function () {
468
+ var localVarAxiosArgs;
469
+ return __generator(this, function (_a) {
470
+ switch (_a.label) {
471
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
472
+ case 1:
473
+ localVarAxiosArgs = _a.sent();
474
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
475
+ }
476
+ });
477
+ });
478
+ },
479
+ /**
480
+ * Updates the specified commission agreement product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
481
+ * @summary Update the commission agreement product
482
+ * @param {string} code
483
+ * @param {UpdateCommissionAgreementProductRequestDto} updateCommissionAgreementProductRequestDto
484
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
485
+ * @param {*} [options] Override http request option.
486
+ * @throws {RequiredError}
487
+ */
488
+ updateCommissionAgreementProduct: function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
489
+ return __awaiter(this, void 0, void 0, function () {
490
+ var localVarAxiosArgs;
491
+ return __generator(this, function (_a) {
492
+ switch (_a.label) {
493
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCommissionAgreementProduct(code, updateCommissionAgreementProductRequestDto, authorization, options)];
494
+ case 1:
495
+ localVarAxiosArgs = _a.sent();
496
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
497
+ }
498
+ });
499
+ });
500
+ },
501
+ };
502
+ };
503
+ exports.CommissionAgreementProductsApiFp = CommissionAgreementProductsApiFp;
504
+ /**
505
+ * CommissionAgreementProductsApi - factory interface
506
+ * @export
507
+ */
508
+ var CommissionAgreementProductsApiFactory = function (configuration, basePath, axios) {
509
+ var localVarFp = (0, exports.CommissionAgreementProductsApiFp)(configuration);
510
+ return {
511
+ /**
512
+ * This will create the commission agreement product.
513
+ * @summary Create the Commission agreement product
514
+ * @param {string} code
515
+ * @param {CreateCommissionAgreementProductRequestDto} createCommissionAgreementProductRequestDto
516
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ */
520
+ createCommissionAgreementProduct: function (code, createCommissionAgreementProductRequestDto, authorization, options) {
521
+ return localVarFp.createCommissionAgreementProduct(code, createCommissionAgreementProductRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
522
+ },
523
+ /**
524
+ * 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.
525
+ * @summary Delete the commission agreement product
526
+ * @param {string} code
527
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
528
+ * @param {*} [options] Override http request option.
529
+ * @throws {RequiredError}
530
+ */
531
+ deleteCommissionAgreementProduct: function (code, authorization, options) {
532
+ return localVarFp.deleteCommissionAgreementProduct(code, authorization, options).then(function (request) { return request(axios, basePath); });
533
+ },
534
+ /**
535
+ * 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.
536
+ * @summary Retrieve the commission agreement product
537
+ * @param {string} code
538
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
539
+ * @param {string} [expand] You can expand commission agreement product in this endpoint. \&#39; + \&#39;Allowed values: product.
540
+ * @param {*} [options] Override http request option.
541
+ * @throws {RequiredError}
542
+ */
543
+ getCommissionAgreementProduct: function (code, authorization, expand, options) {
544
+ return localVarFp.getCommissionAgreementProduct(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
545
+ },
546
+ /**
547
+ * 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.
548
+ * @summary List commission agreement products
549
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
550
+ * @param {number} [pageSize] Page size.
551
+ * @param {string} [pageToken] Page token.
552
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productId, commissionAgreementId&lt;/i&gt;
553
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: productId, code&lt;/i&gt;
554
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
555
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: product.&lt;i&gt;
556
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, productId, commissionAgreementId&lt;/i&gt;
557
+ * @param {*} [options] Override http request option.
558
+ * @throws {RequiredError}
559
+ */
560
+ listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
561
+ return localVarFp.listCommissionAgreementProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
562
+ },
563
+ /**
564
+ * Updates the specified commission agreement product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
565
+ * @summary Update the commission agreement product
566
+ * @param {string} code
567
+ * @param {UpdateCommissionAgreementProductRequestDto} updateCommissionAgreementProductRequestDto
568
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
569
+ * @param {*} [options] Override http request option.
570
+ * @throws {RequiredError}
571
+ */
572
+ updateCommissionAgreementProduct: function (code, updateCommissionAgreementProductRequestDto, authorization, options) {
573
+ return localVarFp.updateCommissionAgreementProduct(code, updateCommissionAgreementProductRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
574
+ },
575
+ };
576
+ };
577
+ exports.CommissionAgreementProductsApiFactory = CommissionAgreementProductsApiFactory;
578
+ /**
579
+ * CommissionAgreementProductsApi - object-oriented interface
580
+ * @export
581
+ * @class CommissionAgreementProductsApi
582
+ * @extends {BaseAPI}
583
+ */
584
+ var CommissionAgreementProductsApi = /** @class */ (function (_super) {
585
+ __extends(CommissionAgreementProductsApi, _super);
586
+ function CommissionAgreementProductsApi() {
587
+ return _super !== null && _super.apply(this, arguments) || this;
588
+ }
589
+ /**
590
+ * This will create the commission agreement product.
591
+ * @summary Create the Commission agreement product
592
+ * @param {CommissionAgreementProductsApiCreateCommissionAgreementProductRequest} requestParameters Request parameters.
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ * @memberof CommissionAgreementProductsApi
596
+ */
597
+ CommissionAgreementProductsApi.prototype.createCommissionAgreementProduct = function (requestParameters, options) {
598
+ var _this = this;
599
+ return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).createCommissionAgreementProduct(requestParameters.code, requestParameters.createCommissionAgreementProductRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
+ };
601
+ /**
602
+ * 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.
603
+ * @summary Delete the commission agreement product
604
+ * @param {CommissionAgreementProductsApiDeleteCommissionAgreementProductRequest} requestParameters Request parameters.
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ * @memberof CommissionAgreementProductsApi
608
+ */
609
+ CommissionAgreementProductsApi.prototype.deleteCommissionAgreementProduct = function (requestParameters, options) {
610
+ var _this = this;
611
+ return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).deleteCommissionAgreementProduct(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
+ };
613
+ /**
614
+ * 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.
615
+ * @summary Retrieve the commission agreement product
616
+ * @param {CommissionAgreementProductsApiGetCommissionAgreementProductRequest} requestParameters Request parameters.
617
+ * @param {*} [options] Override http request option.
618
+ * @throws {RequiredError}
619
+ * @memberof CommissionAgreementProductsApi
620
+ */
621
+ CommissionAgreementProductsApi.prototype.getCommissionAgreementProduct = function (requestParameters, options) {
622
+ var _this = this;
623
+ return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).getCommissionAgreementProduct(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
624
+ };
625
+ /**
626
+ * 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.
627
+ * @summary List commission agreement products
628
+ * @param {CommissionAgreementProductsApiListCommissionAgreementProductsRequest} requestParameters Request parameters.
629
+ * @param {*} [options] Override http request option.
630
+ * @throws {RequiredError}
631
+ * @memberof CommissionAgreementProductsApi
632
+ */
633
+ CommissionAgreementProductsApi.prototype.listCommissionAgreementProducts = function (requestParameters, options) {
634
+ var _this = this;
635
+ if (requestParameters === void 0) { requestParameters = {}; }
636
+ return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
637
+ };
638
+ /**
639
+ * Updates the specified commission agreement product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
640
+ * @summary Update the commission agreement product
641
+ * @param {CommissionAgreementProductsApiUpdateCommissionAgreementProductRequest} requestParameters Request parameters.
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ * @memberof CommissionAgreementProductsApi
645
+ */
646
+ CommissionAgreementProductsApi.prototype.updateCommissionAgreementProduct = function (requestParameters, options) {
647
+ var _this = this;
648
+ return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).updateCommissionAgreementProduct(requestParameters.code, requestParameters.updateCommissionAgreementProductRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
649
+ };
650
+ return CommissionAgreementProductsApi;
651
+ }(base_1.BaseAPI));
652
+ exports.CommissionAgreementProductsApi = CommissionAgreementProductsApi;