@emilgroup/customer-sdk-node 1.23.0 → 1.23.2

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.
@@ -102,44 +102,50 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
102
102
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
103
103
  * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
106
105
  * @param {*} [options] Override http request option.
107
106
  * @throws {RequiredError}
108
107
  */
109
- createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, authorization2, options) {
108
+ createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, options) {
110
109
  if (options === void 0) { options = {}; }
111
110
  return __awaiter(_this, void 0, void 0, function () {
112
111
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
113
112
  return __generator(this, function (_a) {
114
- // verify required parameter 'customerCode' is not null or undefined
115
- (0, common_1.assertParamExists)('createCustomerClaim', 'customerCode', customerCode);
116
- // verify required parameter 'createCustomerClaimRequestDto' is not null or undefined
117
- (0, common_1.assertParamExists)('createCustomerClaim', 'createCustomerClaimRequestDto', createCustomerClaimRequestDto);
118
- localVarPath = "/v1/customers/{customerCode}/claims"
119
- .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
120
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
121
- if (configuration) {
122
- baseOptions = configuration.baseOptions;
123
- baseAccessToken = configuration.accessToken;
124
- }
125
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
126
- localVarHeaderParameter = {};
127
- localVarQueryParameter = {};
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
- }
131
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
132
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
113
+ switch (_a.label) {
114
+ case 0:
115
+ // verify required parameter 'customerCode' is not null or undefined
116
+ (0, common_1.assertParamExists)('createCustomerClaim', 'customerCode', customerCode);
117
+ // verify required parameter 'createCustomerClaimRequestDto' is not null or undefined
118
+ (0, common_1.assertParamExists)('createCustomerClaim', 'createCustomerClaimRequestDto', createCustomerClaimRequestDto);
119
+ localVarPath = "/v1/customers/{customerCode}/claims"
120
+ .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
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)(createCustomerClaimRequestDto, localVarRequestOptions, configuration);
144
+ return [2 /*return*/, {
145
+ url: (0, common_1.toPathString)(localVarUrlObj),
146
+ options: localVarRequestOptions,
147
+ }];
133
148
  }
134
- localVarHeaderParameter['Content-Type'] = 'application/json';
135
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCustomerClaimRequestDto, localVarRequestOptions, configuration);
139
- return [2 /*return*/, {
140
- url: (0, common_1.toPathString)(localVarUrlObj),
141
- options: localVarRequestOptions,
142
- }];
143
149
  });
144
150
  });
145
151
  },
@@ -149,43 +155,49 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
149
155
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
150
156
  * @param {string} claimCode The claim code to identify a claim.
151
157
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
153
158
  * @param {*} [options] Override http request option.
154
159
  * @throws {RequiredError}
155
160
  */
156
- getCustomerClaim: function (customerCode, claimCode, authorization, authorization2, options) {
161
+ getCustomerClaim: function (customerCode, claimCode, authorization, options) {
157
162
  if (options === void 0) { options = {}; }
158
163
  return __awaiter(_this, void 0, void 0, function () {
159
164
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
165
  return __generator(this, function (_a) {
161
- // verify required parameter 'customerCode' is not null or undefined
162
- (0, common_1.assertParamExists)('getCustomerClaim', 'customerCode', customerCode);
163
- // verify required parameter 'claimCode' is not null or undefined
164
- (0, common_1.assertParamExists)('getCustomerClaim', 'claimCode', claimCode);
165
- localVarPath = "/v1/customers/{customerCode}/claims/{claimCode}"
166
- .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)))
167
- .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
168
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
169
- if (configuration) {
170
- baseOptions = configuration.baseOptions;
171
- baseAccessToken = configuration.accessToken;
172
- }
173
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
174
- localVarHeaderParameter = {};
175
- localVarQueryParameter = {};
176
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
177
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
178
- }
179
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
180
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
166
+ switch (_a.label) {
167
+ case 0:
168
+ // verify required parameter 'customerCode' is not null or undefined
169
+ (0, common_1.assertParamExists)('getCustomerClaim', 'customerCode', customerCode);
170
+ // verify required parameter 'claimCode' is not null or undefined
171
+ (0, common_1.assertParamExists)('getCustomerClaim', 'claimCode', claimCode);
172
+ localVarPath = "/v1/customers/{customerCode}/claims/{claimCode}"
173
+ .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)))
174
+ .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
175
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
176
+ if (configuration) {
177
+ baseOptions = configuration.baseOptions;
178
+ baseAccessToken = configuration.accessToken;
179
+ }
180
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
181
+ localVarHeaderParameter = {};
182
+ localVarQueryParameter = {};
183
+ // authentication bearer required
184
+ // http bearer authentication required
185
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
186
+ case 1:
187
+ // authentication bearer required
188
+ // http bearer authentication required
189
+ _a.sent();
190
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
191
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
192
+ }
193
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
194
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
195
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
196
+ return [2 /*return*/, {
197
+ url: (0, common_1.toPathString)(localVarUrlObj),
198
+ options: localVarRequestOptions,
199
+ }];
181
200
  }
182
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
183
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
185
- return [2 /*return*/, {
186
- url: (0, common_1.toPathString)(localVarUrlObj),
187
- options: localVarRequestOptions,
188
- }];
189
201
  });
190
202
  });
191
203
  },
@@ -200,58 +212,64 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
200
212
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
201
213
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
202
214
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
203
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
204
215
  * @param {*} [options] Override http request option.
205
216
  * @throws {RequiredError}
206
217
  */
207
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, authorization2, options) {
218
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
208
219
  if (options === void 0) { options = {}; }
209
220
  return __awaiter(_this, void 0, void 0, function () {
210
221
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
211
222
  return __generator(this, function (_a) {
212
- // verify required parameter 'customerCode' is not null or undefined
213
- (0, common_1.assertParamExists)('listCustomerClaims', 'customerCode', customerCode);
214
- localVarPath = "/v1/customers/{customerCode}/claims"
215
- .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
216
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
217
- if (configuration) {
218
- baseOptions = configuration.baseOptions;
219
- baseAccessToken = configuration.accessToken;
220
- }
221
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
222
- localVarHeaderParameter = {};
223
- localVarQueryParameter = {};
224
- if (pageSize !== undefined) {
225
- localVarQueryParameter['pageSize'] = pageSize;
226
- }
227
- if (pageToken !== undefined) {
228
- localVarQueryParameter['pageToken'] = pageToken;
229
- }
230
- if (filter !== undefined) {
231
- localVarQueryParameter['filter'] = filter;
232
- }
233
- if (search !== undefined) {
234
- localVarQueryParameter['search'] = search;
235
- }
236
- if (order !== undefined) {
237
- localVarQueryParameter['order'] = order;
238
- }
239
- if (expand !== undefined) {
240
- localVarQueryParameter['expand'] = expand;
241
- }
242
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
- }
245
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
246
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
223
+ switch (_a.label) {
224
+ case 0:
225
+ // verify required parameter 'customerCode' is not null or undefined
226
+ (0, common_1.assertParamExists)('listCustomerClaims', 'customerCode', customerCode);
227
+ localVarPath = "/v1/customers/{customerCode}/claims"
228
+ .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
229
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
230
+ if (configuration) {
231
+ baseOptions = configuration.baseOptions;
232
+ baseAccessToken = configuration.accessToken;
233
+ }
234
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
235
+ localVarHeaderParameter = {};
236
+ localVarQueryParameter = {};
237
+ // authentication bearer required
238
+ // http bearer authentication required
239
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
240
+ case 1:
241
+ // authentication bearer required
242
+ // http bearer authentication required
243
+ _a.sent();
244
+ if (pageSize !== undefined) {
245
+ localVarQueryParameter['pageSize'] = pageSize;
246
+ }
247
+ if (pageToken !== undefined) {
248
+ localVarQueryParameter['pageToken'] = pageToken;
249
+ }
250
+ if (filter !== undefined) {
251
+ localVarQueryParameter['filter'] = filter;
252
+ }
253
+ if (search !== undefined) {
254
+ localVarQueryParameter['search'] = search;
255
+ }
256
+ if (order !== undefined) {
257
+ localVarQueryParameter['order'] = order;
258
+ }
259
+ if (expand !== undefined) {
260
+ localVarQueryParameter['expand'] = expand;
261
+ }
262
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
263
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
264
+ }
265
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
266
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
267
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
268
+ return [2 /*return*/, {
269
+ url: (0, common_1.toPathString)(localVarUrlObj),
270
+ options: localVarRequestOptions,
271
+ }];
247
272
  }
248
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
249
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
250
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
251
- return [2 /*return*/, {
252
- url: (0, common_1.toPathString)(localVarUrlObj),
253
- options: localVarRequestOptions,
254
- }];
255
273
  });
256
274
  });
257
275
  },
@@ -262,47 +280,53 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
262
280
  * @param {string} claimCode The claim code to identify a claim.
263
281
  * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
264
282
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
265
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
266
283
  * @param {*} [options] Override http request option.
267
284
  * @throws {RequiredError}
268
285
  */
269
- updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, authorization2, options) {
286
+ updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
270
287
  if (options === void 0) { options = {}; }
271
288
  return __awaiter(_this, void 0, void 0, function () {
272
289
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
273
290
  return __generator(this, function (_a) {
274
- // verify required parameter 'customerCode' is not null or undefined
275
- (0, common_1.assertParamExists)('updateCustomerClaim', 'customerCode', customerCode);
276
- // verify required parameter 'claimCode' is not null or undefined
277
- (0, common_1.assertParamExists)('updateCustomerClaim', 'claimCode', claimCode);
278
- // verify required parameter 'updateCustomerClaimRequestDto' is not null or undefined
279
- (0, common_1.assertParamExists)('updateCustomerClaim', 'updateCustomerClaimRequestDto', updateCustomerClaimRequestDto);
280
- localVarPath = "/v1/customers/{customerCode}/claims/{claimCode}"
281
- .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)))
282
- .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
283
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
284
- if (configuration) {
285
- baseOptions = configuration.baseOptions;
286
- baseAccessToken = configuration.accessToken;
287
- }
288
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
289
- localVarHeaderParameter = {};
290
- localVarQueryParameter = {};
291
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
292
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
293
- }
294
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
291
+ switch (_a.label) {
292
+ case 0:
293
+ // verify required parameter 'customerCode' is not null or undefined
294
+ (0, common_1.assertParamExists)('updateCustomerClaim', 'customerCode', customerCode);
295
+ // verify required parameter 'claimCode' is not null or undefined
296
+ (0, common_1.assertParamExists)('updateCustomerClaim', 'claimCode', claimCode);
297
+ // verify required parameter 'updateCustomerClaimRequestDto' is not null or undefined
298
+ (0, common_1.assertParamExists)('updateCustomerClaim', 'updateCustomerClaimRequestDto', updateCustomerClaimRequestDto);
299
+ localVarPath = "/v1/customers/{customerCode}/claims/{claimCode}"
300
+ .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)))
301
+ .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
302
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
303
+ if (configuration) {
304
+ baseOptions = configuration.baseOptions;
305
+ baseAccessToken = configuration.accessToken;
306
+ }
307
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
308
+ localVarHeaderParameter = {};
309
+ localVarQueryParameter = {};
310
+ // authentication bearer required
311
+ // http bearer authentication required
312
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
313
+ case 1:
314
+ // authentication bearer required
315
+ // http bearer authentication required
316
+ _a.sent();
317
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
318
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
319
+ }
320
+ localVarHeaderParameter['Content-Type'] = 'application/json';
321
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
322
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
323
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
324
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCustomerClaimRequestDto, localVarRequestOptions, configuration);
325
+ return [2 /*return*/, {
326
+ url: (0, common_1.toPathString)(localVarUrlObj),
327
+ options: localVarRequestOptions,
328
+ }];
296
329
  }
297
- localVarHeaderParameter['Content-Type'] = 'application/json';
298
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
299
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
300
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
301
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCustomerClaimRequestDto, localVarRequestOptions, configuration);
302
- return [2 /*return*/, {
303
- url: (0, common_1.toPathString)(localVarUrlObj),
304
- options: localVarRequestOptions,
305
- }];
306
330
  });
307
331
  });
308
332
  },
@@ -313,47 +337,53 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
313
337
  * @param {string} claimCode The claim code to identify a claim.
314
338
  * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
315
339
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
316
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
317
340
  * @param {*} [options] Override http request option.
318
341
  * @throws {RequiredError}
319
342
  */
320
- uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, authorization2, options) {
343
+ uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
321
344
  if (options === void 0) { options = {}; }
322
345
  return __awaiter(_this, void 0, void 0, function () {
323
346
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
324
347
  return __generator(this, function (_a) {
325
- // verify required parameter 'customerCode' is not null or undefined
326
- (0, common_1.assertParamExists)('uploadCustomerClaimDocuments', 'customerCode', customerCode);
327
- // verify required parameter 'claimCode' is not null or undefined
328
- (0, common_1.assertParamExists)('uploadCustomerClaimDocuments', 'claimCode', claimCode);
329
- // verify required parameter 'uploadCustomerClaimDocumentsRequestDto' is not null or undefined
330
- (0, common_1.assertParamExists)('uploadCustomerClaimDocuments', 'uploadCustomerClaimDocumentsRequestDto', uploadCustomerClaimDocumentsRequestDto);
331
- localVarPath = "/v1/customers/{customerCode}/claims/{claimCode}/documents"
332
- .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)))
333
- .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
334
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
335
- if (configuration) {
336
- baseOptions = configuration.baseOptions;
337
- baseAccessToken = configuration.accessToken;
338
- }
339
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
340
- localVarHeaderParameter = {};
341
- localVarQueryParameter = {};
342
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
343
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
344
- }
345
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
346
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
348
+ switch (_a.label) {
349
+ case 0:
350
+ // verify required parameter 'customerCode' is not null or undefined
351
+ (0, common_1.assertParamExists)('uploadCustomerClaimDocuments', 'customerCode', customerCode);
352
+ // verify required parameter 'claimCode' is not null or undefined
353
+ (0, common_1.assertParamExists)('uploadCustomerClaimDocuments', 'claimCode', claimCode);
354
+ // verify required parameter 'uploadCustomerClaimDocumentsRequestDto' is not null or undefined
355
+ (0, common_1.assertParamExists)('uploadCustomerClaimDocuments', 'uploadCustomerClaimDocumentsRequestDto', uploadCustomerClaimDocumentsRequestDto);
356
+ localVarPath = "/v1/customers/{customerCode}/claims/{claimCode}/documents"
357
+ .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)))
358
+ .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
359
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
360
+ if (configuration) {
361
+ baseOptions = configuration.baseOptions;
362
+ baseAccessToken = configuration.accessToken;
363
+ }
364
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
365
+ localVarHeaderParameter = {};
366
+ localVarQueryParameter = {};
367
+ // authentication bearer required
368
+ // http bearer authentication required
369
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
370
+ case 1:
371
+ // authentication bearer required
372
+ // http bearer authentication required
373
+ _a.sent();
374
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
375
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
376
+ }
377
+ localVarHeaderParameter['Content-Type'] = 'application/json';
378
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
379
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
380
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
381
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadCustomerClaimDocumentsRequestDto, localVarRequestOptions, configuration);
382
+ return [2 /*return*/, {
383
+ url: (0, common_1.toPathString)(localVarUrlObj),
384
+ options: localVarRequestOptions,
385
+ }];
347
386
  }
348
- localVarHeaderParameter['Content-Type'] = 'application/json';
349
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
350
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
352
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadCustomerClaimDocumentsRequestDto, localVarRequestOptions, configuration);
353
- return [2 /*return*/, {
354
- url: (0, common_1.toPathString)(localVarUrlObj),
355
- options: localVarRequestOptions,
356
- }];
357
387
  });
358
388
  });
359
389
  },
@@ -373,16 +403,15 @@ var ClaimsApiFp = function (configuration) {
373
403
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
374
404
  * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
375
405
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
376
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
377
406
  * @param {*} [options] Override http request option.
378
407
  * @throws {RequiredError}
379
408
  */
380
- createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, authorization2, options) {
409
+ createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, options) {
381
410
  return __awaiter(this, void 0, void 0, function () {
382
411
  var localVarAxiosArgs;
383
412
  return __generator(this, function (_a) {
384
413
  switch (_a.label) {
385
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomerClaim(customerCode, createCustomerClaimRequestDto, authorization, authorization2, options)];
414
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomerClaim(customerCode, createCustomerClaimRequestDto, authorization, options)];
386
415
  case 1:
387
416
  localVarAxiosArgs = _a.sent();
388
417
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -396,16 +425,15 @@ var ClaimsApiFp = function (configuration) {
396
425
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
397
426
  * @param {string} claimCode The claim code to identify a claim.
398
427
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
399
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
400
428
  * @param {*} [options] Override http request option.
401
429
  * @throws {RequiredError}
402
430
  */
403
- getCustomerClaim: function (customerCode, claimCode, authorization, authorization2, options) {
431
+ getCustomerClaim: function (customerCode, claimCode, authorization, options) {
404
432
  return __awaiter(this, void 0, void 0, function () {
405
433
  var localVarAxiosArgs;
406
434
  return __generator(this, function (_a) {
407
435
  switch (_a.label) {
408
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCustomerClaim(customerCode, claimCode, authorization, authorization2, options)];
436
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCustomerClaim(customerCode, claimCode, authorization, options)];
409
437
  case 1:
410
438
  localVarAxiosArgs = _a.sent();
411
439
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -424,16 +452,15 @@ var ClaimsApiFp = function (configuration) {
424
452
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
425
453
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
426
454
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
427
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
428
455
  * @param {*} [options] Override http request option.
429
456
  * @throws {RequiredError}
430
457
  */
431
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, authorization2, options) {
458
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
432
459
  return __awaiter(this, void 0, void 0, function () {
433
460
  var localVarAxiosArgs;
434
461
  return __generator(this, function (_a) {
435
462
  switch (_a.label) {
436
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, authorization2, options)];
463
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options)];
437
464
  case 1:
438
465
  localVarAxiosArgs = _a.sent();
439
466
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -448,16 +475,15 @@ var ClaimsApiFp = function (configuration) {
448
475
  * @param {string} claimCode The claim code to identify a claim.
449
476
  * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
450
477
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
451
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
452
478
  * @param {*} [options] Override http request option.
453
479
  * @throws {RequiredError}
454
480
  */
455
- updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, authorization2, options) {
481
+ updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
456
482
  return __awaiter(this, void 0, void 0, function () {
457
483
  var localVarAxiosArgs;
458
484
  return __generator(this, function (_a) {
459
485
  switch (_a.label) {
460
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCustomerClaim(customerCode, claimCode, updateCustomerClaimRequestDto, authorization, authorization2, options)];
486
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCustomerClaim(customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options)];
461
487
  case 1:
462
488
  localVarAxiosArgs = _a.sent();
463
489
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -472,16 +498,15 @@ var ClaimsApiFp = function (configuration) {
472
498
  * @param {string} claimCode The claim code to identify a claim.
473
499
  * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
474
500
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
475
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
476
501
  * @param {*} [options] Override http request option.
477
502
  * @throws {RequiredError}
478
503
  */
479
- uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, authorization2, options) {
504
+ uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
480
505
  return __awaiter(this, void 0, void 0, function () {
481
506
  var localVarAxiosArgs;
482
507
  return __generator(this, function (_a) {
483
508
  switch (_a.label) {
484
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadCustomerClaimDocuments(customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, authorization2, options)];
509
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadCustomerClaimDocuments(customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options)];
485
510
  case 1:
486
511
  localVarAxiosArgs = _a.sent();
487
512
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -505,12 +530,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
505
530
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
506
531
  * @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
507
532
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
508
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
509
533
  * @param {*} [options] Override http request option.
510
534
  * @throws {RequiredError}
511
535
  */
512
- createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, authorization2, options) {
513
- return localVarFp.createCustomerClaim(customerCode, createCustomerClaimRequestDto, authorization, authorization2, options).then(function (request) { return request(axios, basePath); });
536
+ createCustomerClaim: function (customerCode, createCustomerClaimRequestDto, authorization, options) {
537
+ return localVarFp.createCustomerClaim(customerCode, createCustomerClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
514
538
  },
515
539
  /**
516
540
  * Get claim for customer.
@@ -518,12 +542,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
518
542
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
519
543
  * @param {string} claimCode The claim code to identify a claim.
520
544
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
521
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
522
545
  * @param {*} [options] Override http request option.
523
546
  * @throws {RequiredError}
524
547
  */
525
- getCustomerClaim: function (customerCode, claimCode, authorization, authorization2, options) {
526
- return localVarFp.getCustomerClaim(customerCode, claimCode, authorization, authorization2, options).then(function (request) { return request(axios, basePath); });
548
+ getCustomerClaim: function (customerCode, claimCode, authorization, options) {
549
+ return localVarFp.getCustomerClaim(customerCode, claimCode, authorization, options).then(function (request) { return request(axios, basePath); });
527
550
  },
528
551
  /**
529
552
  * List claims by customer.
@@ -536,12 +559,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
536
559
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
537
560
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
538
561
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
539
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
540
562
  * @param {*} [options] Override http request option.
541
563
  * @throws {RequiredError}
542
564
  */
543
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, authorization2, options) {
544
- return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, authorization2, options).then(function (request) { return request(axios, basePath); });
565
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
566
+ return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
545
567
  },
546
568
  /**
547
569
  * Update claim for customer.
@@ -550,12 +572,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
550
572
  * @param {string} claimCode The claim code to identify a claim.
551
573
  * @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
552
574
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
553
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
554
575
  * @param {*} [options] Override http request option.
555
576
  * @throws {RequiredError}
556
577
  */
557
- updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, authorization2, options) {
558
- return localVarFp.updateCustomerClaim(customerCode, claimCode, updateCustomerClaimRequestDto, authorization, authorization2, options).then(function (request) { return request(axios, basePath); });
578
+ updateCustomerClaim: function (customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options) {
579
+ return localVarFp.updateCustomerClaim(customerCode, claimCode, updateCustomerClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
559
580
  },
560
581
  /**
561
582
  * API to upload and attach documents to a claim.
@@ -564,12 +585,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
564
585
  * @param {string} claimCode The claim code to identify a claim.
565
586
  * @param {UploadCustomerClaimDocumentsRequestDto} uploadCustomerClaimDocumentsRequestDto
566
587
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
567
- * @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
568
588
  * @param {*} [options] Override http request option.
569
589
  * @throws {RequiredError}
570
590
  */
571
- uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, authorization2, options) {
572
- return localVarFp.uploadCustomerClaimDocuments(customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, authorization2, options).then(function (request) { return request(axios, basePath); });
591
+ uploadCustomerClaimDocuments: function (customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options) {
592
+ return localVarFp.uploadCustomerClaimDocuments(customerCode, claimCode, uploadCustomerClaimDocumentsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
573
593
  },
574
594
  };
575
595
  };
@@ -595,7 +615,7 @@ var ClaimsApi = /** @class */ (function (_super) {
595
615
  */
596
616
  ClaimsApi.prototype.createCustomerClaim = function (requestParameters, options) {
597
617
  var _this = this;
598
- return (0, exports.ClaimsApiFp)(this.configuration).createCustomerClaim(requestParameters.customerCode, requestParameters.createCustomerClaimRequestDto, requestParameters.authorization, requestParameters.authorization2, options).then(function (request) { return request(_this.axios, _this.basePath); });
618
+ return (0, exports.ClaimsApiFp)(this.configuration).createCustomerClaim(requestParameters.customerCode, requestParameters.createCustomerClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
599
619
  };
600
620
  /**
601
621
  * Get claim for customer.
@@ -607,7 +627,7 @@ var ClaimsApi = /** @class */ (function (_super) {
607
627
  */
608
628
  ClaimsApi.prototype.getCustomerClaim = function (requestParameters, options) {
609
629
  var _this = this;
610
- return (0, exports.ClaimsApiFp)(this.configuration).getCustomerClaim(requestParameters.customerCode, requestParameters.claimCode, requestParameters.authorization, requestParameters.authorization2, options).then(function (request) { return request(_this.axios, _this.basePath); });
630
+ return (0, exports.ClaimsApiFp)(this.configuration).getCustomerClaim(requestParameters.customerCode, requestParameters.claimCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
611
631
  };
612
632
  /**
613
633
  * List claims by customer.
@@ -619,7 +639,7 @@ var ClaimsApi = /** @class */ (function (_super) {
619
639
  */
620
640
  ClaimsApi.prototype.listCustomerClaims = function (requestParameters, options) {
621
641
  var _this = this;
622
- return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization2, options).then(function (request) { return request(_this.axios, _this.basePath); });
642
+ return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
623
643
  };
624
644
  /**
625
645
  * Update claim for customer.
@@ -631,7 +651,7 @@ var ClaimsApi = /** @class */ (function (_super) {
631
651
  */
632
652
  ClaimsApi.prototype.updateCustomerClaim = function (requestParameters, options) {
633
653
  var _this = this;
634
- return (0, exports.ClaimsApiFp)(this.configuration).updateCustomerClaim(requestParameters.customerCode, requestParameters.claimCode, requestParameters.updateCustomerClaimRequestDto, requestParameters.authorization, requestParameters.authorization2, options).then(function (request) { return request(_this.axios, _this.basePath); });
654
+ return (0, exports.ClaimsApiFp)(this.configuration).updateCustomerClaim(requestParameters.customerCode, requestParameters.claimCode, requestParameters.updateCustomerClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
635
655
  };
636
656
  /**
637
657
  * API to upload and attach documents to a claim.
@@ -643,7 +663,7 @@ var ClaimsApi = /** @class */ (function (_super) {
643
663
  */
644
664
  ClaimsApi.prototype.uploadCustomerClaimDocuments = function (requestParameters, options) {
645
665
  var _this = this;
646
- return (0, exports.ClaimsApiFp)(this.configuration).uploadCustomerClaimDocuments(requestParameters.customerCode, requestParameters.claimCode, requestParameters.uploadCustomerClaimDocumentsRequestDto, requestParameters.authorization, requestParameters.authorization2, options).then(function (request) { return request(_this.axios, _this.basePath); });
666
+ return (0, exports.ClaimsApiFp)(this.configuration).uploadCustomerClaimDocuments(requestParameters.customerCode, requestParameters.claimCode, requestParameters.uploadCustomerClaimDocumentsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
647
667
  };
648
668
  return ClaimsApi;
649
669
  }(base_1.BaseAPI));