@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1

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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +648 -0
  4. package/api/claim-partner-roles-api.ts +627 -0
  5. package/api/claim-partners-api.ts +520 -0
  6. package/api/claim-positions-api.ts +1340 -0
  7. package/api/claim-regulations-api.ts +644 -3
  8. package/api/claim-statuses-api.ts +752 -5
  9. package/api/claims-api.ts +863 -11
  10. package/api/health-check-api.ts +66 -0
  11. package/api/settlements-api.ts +627 -0
  12. package/api.ts +4 -0
  13. package/dist/api/claim-limit-usages-api.d.ts +378 -0
  14. package/dist/api/claim-limit-usages-api.js +585 -0
  15. package/dist/api/claim-partner-roles-api.d.ts +358 -0
  16. package/dist/api/claim-partner-roles-api.js +525 -0
  17. package/dist/api/claim-partners-api.d.ts +299 -0
  18. package/dist/api/claim-partners-api.js +428 -0
  19. package/dist/api/claim-positions-api.d.ts +760 -0
  20. package/dist/api/claim-positions-api.js +1181 -0
  21. package/dist/api/claim-regulations-api.d.ts +367 -0
  22. package/dist/api/claim-regulations-api.js +531 -0
  23. package/dist/api/claim-statuses-api.d.ts +426 -0
  24. package/dist/api/claim-statuses-api.js +642 -14
  25. package/dist/api/claims-api.d.ts +493 -8
  26. package/dist/api/claims-api.js +734 -10
  27. package/dist/api/health-check-api.d.ts +33 -0
  28. package/dist/api/health-check-api.js +73 -0
  29. package/dist/api/settlements-api.d.ts +358 -0
  30. package/dist/api/settlements-api.js +525 -0
  31. package/dist/api.d.ts +2 -0
  32. package/dist/api.js +2 -0
  33. package/dist/models/calculation-step-result-class.d.ts +72 -0
  34. package/dist/models/calculation-step-result-class.js +21 -0
  35. package/dist/models/claim-applied-deductible-class.d.ts +95 -0
  36. package/dist/models/claim-applied-deductible-class.js +20 -0
  37. package/dist/models/claim-class.d.ts +25 -0
  38. package/dist/models/claim-limit-usage-class.d.ts +143 -0
  39. package/dist/models/claim-limit-usage-class.js +30 -0
  40. package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
  41. package/dist/models/claim-limit-usage-result-class.js +21 -0
  42. package/dist/models/claim-position-class.d.ts +151 -0
  43. package/dist/models/claim-position-class.js +20 -0
  44. package/dist/models/create-claim-position-request-dto.d.ts +66 -0
  45. package/dist/models/create-claim-position-request-dto.js +15 -0
  46. package/dist/models/create-claim-position-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-position-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +6 -0
  49. package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
  50. package/dist/models/create-regulation-item-request-dto.js +5 -1
  51. package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
  52. package/dist/models/get-claim-limit-usage-response-class.js +15 -0
  53. package/dist/models/get-claim-position-response-class.d.ts +25 -0
  54. package/dist/models/get-claim-position-response-class.js +15 -0
  55. package/dist/models/index.d.ts +13 -0
  56. package/dist/models/index.js +13 -0
  57. package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
  58. package/dist/models/list-claim-limit-usages-response-class.js +15 -0
  59. package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
  60. package/dist/models/list-claim-partners-response-class.d.ts +12 -0
  61. package/dist/models/list-claim-positions-response-class.d.ts +43 -0
  62. package/dist/models/list-claim-positions-response-class.js +15 -0
  63. package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
  64. package/dist/models/list-claims-response-class.d.ts +12 -0
  65. package/dist/models/list-regulations-response-class.d.ts +12 -0
  66. package/dist/models/patch-claim-request-dto.d.ts +39 -33
  67. package/dist/models/regulation-item-class.d.ts +35 -0
  68. package/dist/models/regulation-item-class.js +10 -1
  69. package/dist/models/update-claim-position-request-dto.d.ts +60 -0
  70. package/dist/models/update-claim-position-request-dto.js +15 -0
  71. package/dist/models/update-claim-position-response-class.d.ts +25 -0
  72. package/dist/models/update-claim-position-response-class.js +15 -0
  73. package/dist/models/update-claim-request-dto.d.ts +39 -33
  74. package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
  75. package/dist/models/update-regulation-item-request-dto.js +6 -1
  76. package/models/calculation-step-result-class.ts +81 -0
  77. package/models/claim-applied-deductible-class.ts +104 -0
  78. package/models/claim-class.ts +25 -0
  79. package/models/claim-limit-usage-class.ts +154 -0
  80. package/models/claim-limit-usage-result-class.ts +57 -0
  81. package/models/claim-position-class.ts +160 -0
  82. package/models/create-claim-position-request-dto.ts +72 -0
  83. package/models/create-claim-position-response-class.ts +31 -0
  84. package/models/create-claim-request-dto.ts +6 -0
  85. package/models/create-regulation-item-request-dto.ts +27 -3
  86. package/models/get-claim-limit-usage-response-class.ts +31 -0
  87. package/models/get-claim-position-response-class.ts +31 -0
  88. package/models/index.ts +13 -0
  89. package/models/list-claim-limit-usages-response-class.ts +49 -0
  90. package/models/list-claim-partner-roles-response-class.ts +12 -0
  91. package/models/list-claim-partners-response-class.ts +12 -0
  92. package/models/list-claim-positions-response-class.ts +49 -0
  93. package/models/list-claim-statuses-response-class.ts +13 -1
  94. package/models/list-claims-response-class.ts +12 -0
  95. package/models/list-regulations-response-class.ts +12 -0
  96. package/models/patch-claim-request-dto.ts +39 -33
  97. package/models/regulation-item-class.ts +37 -0
  98. package/models/update-claim-position-request-dto.ts +66 -0
  99. package/models/update-claim-position-response-class.ts +31 -0
  100. package/models/update-claim-request-dto.ts +39 -33
  101. package/models/update-regulation-item-request-dto.ts +13 -0
  102. package/package.json +1 -1
@@ -53,6 +53,54 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
53
53
  createClaimPartnerRole: async (createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
54
  // verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
55
55
  assertParamExists('createClaimPartnerRole', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto)
56
+ const localVarPath = `/claimservice/v1/claim-partner-roles`;
57
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
+ let baseOptions;
60
+ let baseAccessToken;
61
+ if (configuration) {
62
+ baseOptions = configuration.baseOptions;
63
+ baseAccessToken = configuration.accessToken;
64
+ }
65
+
66
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
67
+ const localVarHeaderParameter = {} as any;
68
+ const localVarQueryParameter = {} as any;
69
+
70
+ // authentication bearer required
71
+ // http bearer authentication required
72
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
+
74
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
75
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
76
+ }
77
+
78
+
79
+
80
+ localVarHeaderParameter['Content-Type'] = 'application/json';
81
+
82
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
+ localVarRequestOptions.data = serializeDataIfNeeded(createClaimPartnerRoleRequestDto, localVarRequestOptions, configuration)
86
+
87
+ return {
88
+ url: toPathString(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ },
92
+ /**
93
+ * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
94
+ * @summary Create the claim partner role
95
+ * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @deprecated
99
+ * @throws {RequiredError}
100
+ */
101
+ createClaimPartnerRole1: async (createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
102
+ // verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
103
+ assertParamExists('createClaimPartnerRole1', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto)
56
104
  const localVarPath = `/v1/claim-partner-roles`;
57
105
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
106
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -100,6 +148,52 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
100
148
  deleteClaimPartnerRole: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
149
  // verify required parameter 'code' is not null or undefined
102
150
  assertParamExists('deleteClaimPartnerRole', 'code', code)
151
+ const localVarPath = `/claimservice/v1/claim-partner-roles/{code}`
152
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
153
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
154
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
155
+ let baseOptions;
156
+ let baseAccessToken;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ baseAccessToken = configuration.accessToken;
160
+ }
161
+
162
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
163
+ const localVarHeaderParameter = {} as any;
164
+ const localVarQueryParameter = {} as any;
165
+
166
+ // authentication bearer required
167
+ // http bearer authentication required
168
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
169
+
170
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
171
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
172
+ }
173
+
174
+
175
+
176
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
177
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
178
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
179
+
180
+ return {
181
+ url: toPathString(localVarUrlObj),
182
+ options: localVarRequestOptions,
183
+ };
184
+ },
185
+ /**
186
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
187
+ * @summary Delete the claim partner role
188
+ * @param {string} code Unique identifier for the object.
189
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
+ * @param {*} [options] Override http request option.
191
+ * @deprecated
192
+ * @throws {RequiredError}
193
+ */
194
+ deleteClaimPartnerRole1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ // verify required parameter 'code' is not null or undefined
196
+ assertParamExists('deleteClaimPartnerRole1', 'code', code)
103
197
  const localVarPath = `/v1/claim-partner-roles/{code}`
104
198
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
105
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -145,6 +239,52 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
145
239
  getClaimPartnerRole: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
240
  // verify required parameter 'code' is not null or undefined
147
241
  assertParamExists('getClaimPartnerRole', 'code', code)
242
+ const localVarPath = `/claimservice/v1/claim-partner-roles/{code}`
243
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ let baseAccessToken;
248
+ if (configuration) {
249
+ baseOptions = configuration.baseOptions;
250
+ baseAccessToken = configuration.accessToken;
251
+ }
252
+
253
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
254
+ const localVarHeaderParameter = {} as any;
255
+ const localVarQueryParameter = {} as any;
256
+
257
+ // authentication bearer required
258
+ // http bearer authentication required
259
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
260
+
261
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
262
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
263
+ }
264
+
265
+
266
+
267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
270
+
271
+ return {
272
+ url: toPathString(localVarUrlObj),
273
+ options: localVarRequestOptions,
274
+ };
275
+ },
276
+ /**
277
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
278
+ * @summary Retrieve the claim partner role
279
+ * @param {string} code Unique identifier for the object.
280
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
281
+ * @param {*} [options] Override http request option.
282
+ * @deprecated
283
+ * @throws {RequiredError}
284
+ */
285
+ getClaimPartnerRole1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
286
+ // verify required parameter 'code' is not null or undefined
287
+ assertParamExists('getClaimPartnerRole1', 'code', code)
148
288
  const localVarPath = `/v1/claim-partner-roles/{code}`
149
289
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
150
290
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -194,6 +334,83 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
194
334
  * @throws {RequiredError}
195
335
  */
196
336
  listClaimPartnerRole: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
337
+ const localVarPath = `/claimservice/v1/claim-partner-roles`;
338
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
339
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
340
+ let baseOptions;
341
+ let baseAccessToken;
342
+ if (configuration) {
343
+ baseOptions = configuration.baseOptions;
344
+ baseAccessToken = configuration.accessToken;
345
+ }
346
+
347
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
348
+ const localVarHeaderParameter = {} as any;
349
+ const localVarQueryParameter = {} as any;
350
+
351
+ // authentication bearer required
352
+ // http bearer authentication required
353
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
354
+
355
+ if (pageSize !== undefined) {
356
+ localVarQueryParameter['pageSize'] = pageSize;
357
+ }
358
+
359
+ if (pageToken !== undefined) {
360
+ localVarQueryParameter['pageToken'] = pageToken;
361
+ }
362
+
363
+ if (filter !== undefined) {
364
+ localVarQueryParameter['filter'] = filter;
365
+ }
366
+
367
+ if (search !== undefined) {
368
+ localVarQueryParameter['search'] = search;
369
+ }
370
+
371
+ if (order !== undefined) {
372
+ localVarQueryParameter['order'] = order;
373
+ }
374
+
375
+ if (expand !== undefined) {
376
+ localVarQueryParameter['expand'] = expand;
377
+ }
378
+
379
+ if (filters !== undefined) {
380
+ localVarQueryParameter['filters'] = filters;
381
+ }
382
+
383
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
384
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
385
+ }
386
+
387
+
388
+
389
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
391
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
392
+
393
+ return {
394
+ url: toPathString(localVarUrlObj),
395
+ options: localVarRequestOptions,
396
+ };
397
+ },
398
+ /**
399
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
400
+ * @summary List claim partner roles
401
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
402
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
403
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
404
+ * @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: name, productSlug&lt;/i&gt;
405
+ * @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: name, productSlug&lt;/i&gt;
406
+ * @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, name, productSlug, createdAt, updatedAt&lt;/i&gt;
407
+ * @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;
408
+ * @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: name, productSlug&lt;/i&gt;
409
+ * @param {*} [options] Override http request option.
410
+ * @deprecated
411
+ * @throws {RequiredError}
412
+ */
413
+ listClaimPartnerRole1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
414
  const localVarPath = `/v1/claim-partner-roles`;
198
415
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
416
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -269,6 +486,58 @@ export const ClaimPartnerRolesApiAxiosParamCreator = function (configuration?: C
269
486
  assertParamExists('updateClaimPartnerRole', 'code', code)
270
487
  // verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
271
488
  assertParamExists('updateClaimPartnerRole', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto)
489
+ const localVarPath = `/claimservice/v1/claim-partner-roles/{code}`
490
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
491
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
492
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
493
+ let baseOptions;
494
+ let baseAccessToken;
495
+ if (configuration) {
496
+ baseOptions = configuration.baseOptions;
497
+ baseAccessToken = configuration.accessToken;
498
+ }
499
+
500
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
501
+ const localVarHeaderParameter = {} as any;
502
+ const localVarQueryParameter = {} as any;
503
+
504
+ // authentication bearer required
505
+ // http bearer authentication required
506
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
507
+
508
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
509
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
510
+ }
511
+
512
+
513
+
514
+ localVarHeaderParameter['Content-Type'] = 'application/json';
515
+
516
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
517
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
518
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
519
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClaimPartnerRoleRequestDto, localVarRequestOptions, configuration)
520
+
521
+ return {
522
+ url: toPathString(localVarUrlObj),
523
+ options: localVarRequestOptions,
524
+ };
525
+ },
526
+ /**
527
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
528
+ * @summary Update the claim partner role
529
+ * @param {string} code Unique identifier for the object.
530
+ * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
531
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
532
+ * @param {*} [options] Override http request option.
533
+ * @deprecated
534
+ * @throws {RequiredError}
535
+ */
536
+ updateClaimPartnerRole1: async (code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
537
+ // verify required parameter 'code' is not null or undefined
538
+ assertParamExists('updateClaimPartnerRole1', 'code', code)
539
+ // verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
540
+ assertParamExists('updateClaimPartnerRole1', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto)
272
541
  const localVarPath = `/v1/claim-partner-roles/{code}`
273
542
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
274
543
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -328,6 +597,19 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
328
597
  const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options);
329
598
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
330
599
  },
600
+ /**
601
+ * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
602
+ * @summary Create the claim partner role
603
+ * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
604
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
605
+ * @param {*} [options] Override http request option.
606
+ * @deprecated
607
+ * @throws {RequiredError}
608
+ */
609
+ async createClaimPartnerRole1(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerRoleResponseClass>> {
610
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options);
611
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
612
+ },
331
613
  /**
332
614
  * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
333
615
  * @summary Delete the claim partner role
@@ -340,6 +622,19 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
340
622
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartnerRole(code, authorization, options);
341
623
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
342
624
  },
625
+ /**
626
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
627
+ * @summary Delete the claim partner role
628
+ * @param {string} code Unique identifier for the object.
629
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
630
+ * @param {*} [options] Override http request option.
631
+ * @deprecated
632
+ * @throws {RequiredError}
633
+ */
634
+ async deleteClaimPartnerRole1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
635
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartnerRole1(code, authorization, options);
636
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
637
+ },
343
638
  /**
344
639
  * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
345
640
  * @summary Retrieve the claim partner role
@@ -352,6 +647,19 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
352
647
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole(code, authorization, options);
353
648
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
649
  },
650
+ /**
651
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
652
+ * @summary Retrieve the claim partner role
653
+ * @param {string} code Unique identifier for the object.
654
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
655
+ * @param {*} [options] Override http request option.
656
+ * @deprecated
657
+ * @throws {RequiredError}
658
+ */
659
+ async getClaimPartnerRole1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerRoleResponseClass>> {
660
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartnerRole1(code, authorization, options);
661
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
662
+ },
355
663
  /**
356
664
  * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
357
665
  * @summary List claim partner roles
@@ -370,6 +678,25 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
370
678
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
371
679
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
372
680
  },
681
+ /**
682
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
683
+ * @summary List claim partner roles
684
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
685
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
686
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
687
+ * @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: name, productSlug&lt;/i&gt;
688
+ * @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: name, productSlug&lt;/i&gt;
689
+ * @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, name, productSlug, createdAt, updatedAt&lt;/i&gt;
690
+ * @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;
691
+ * @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: name, productSlug&lt;/i&gt;
692
+ * @param {*} [options] Override http request option.
693
+ * @deprecated
694
+ * @throws {RequiredError}
695
+ */
696
+ async listClaimPartnerRole1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>> {
697
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
698
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
699
+ },
373
700
  /**
374
701
  * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
375
702
  * @summary Update the claim partner role
@@ -383,6 +710,20 @@ export const ClaimPartnerRolesApiFp = function(configuration?: Configuration) {
383
710
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options);
384
711
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
385
712
  },
713
+ /**
714
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
715
+ * @summary Update the claim partner role
716
+ * @param {string} code Unique identifier for the object.
717
+ * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
718
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
719
+ * @param {*} [options] Override http request option.
720
+ * @deprecated
721
+ * @throws {RequiredError}
722
+ */
723
+ async updateClaimPartnerRole1(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPartnerRoleResponseClass>> {
724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options);
725
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
726
+ },
386
727
  }
387
728
  };
388
729
 
@@ -404,6 +745,18 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
404
745
  createClaimPartnerRole(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerRoleResponseClass> {
405
746
  return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
406
747
  },
748
+ /**
749
+ * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
750
+ * @summary Create the claim partner role
751
+ * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
752
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
753
+ * @param {*} [options] Override http request option.
754
+ * @deprecated
755
+ * @throws {RequiredError}
756
+ */
757
+ createClaimPartnerRole1(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerRoleResponseClass> {
758
+ return localVarFp.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
759
+ },
407
760
  /**
408
761
  * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
409
762
  * @summary Delete the claim partner role
@@ -415,6 +768,18 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
415
768
  deleteClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<void> {
416
769
  return localVarFp.deleteClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
417
770
  },
771
+ /**
772
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
773
+ * @summary Delete the claim partner role
774
+ * @param {string} code Unique identifier for the object.
775
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
776
+ * @param {*} [options] Override http request option.
777
+ * @deprecated
778
+ * @throws {RequiredError}
779
+ */
780
+ deleteClaimPartnerRole1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
781
+ return localVarFp.deleteClaimPartnerRole1(code, authorization, options).then((request) => request(axios, basePath));
782
+ },
418
783
  /**
419
784
  * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
420
785
  * @summary Retrieve the claim partner role
@@ -426,6 +791,18 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
426
791
  getClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerRoleResponseClass> {
427
792
  return localVarFp.getClaimPartnerRole(code, authorization, options).then((request) => request(axios, basePath));
428
793
  },
794
+ /**
795
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
796
+ * @summary Retrieve the claim partner role
797
+ * @param {string} code Unique identifier for the object.
798
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
799
+ * @param {*} [options] Override http request option.
800
+ * @deprecated
801
+ * @throws {RequiredError}
802
+ */
803
+ getClaimPartnerRole1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerRoleResponseClass> {
804
+ return localVarFp.getClaimPartnerRole1(code, authorization, options).then((request) => request(axios, basePath));
805
+ },
429
806
  /**
430
807
  * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
431
808
  * @summary List claim partner roles
@@ -443,6 +820,24 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
443
820
  listClaimPartnerRole(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
444
821
  return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
445
822
  },
823
+ /**
824
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
825
+ * @summary List claim partner roles
826
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
827
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
828
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
829
+ * @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: name, productSlug&lt;/i&gt;
830
+ * @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: name, productSlug&lt;/i&gt;
831
+ * @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, name, productSlug, createdAt, updatedAt&lt;/i&gt;
832
+ * @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;
833
+ * @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: name, productSlug&lt;/i&gt;
834
+ * @param {*} [options] Override http request option.
835
+ * @deprecated
836
+ * @throws {RequiredError}
837
+ */
838
+ listClaimPartnerRole1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass> {
839
+ return localVarFp.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
840
+ },
446
841
  /**
447
842
  * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
448
843
  * @summary Update the claim partner role
@@ -455,6 +850,19 @@ export const ClaimPartnerRolesApiFactory = function (configuration?: Configurati
455
850
  updateClaimPartnerRole(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPartnerRoleResponseClass> {
456
851
  return localVarFp.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
457
852
  },
853
+ /**
854
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
855
+ * @summary Update the claim partner role
856
+ * @param {string} code Unique identifier for the object.
857
+ * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
858
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
859
+ * @param {*} [options] Override http request option.
860
+ * @deprecated
861
+ * @throws {RequiredError}
862
+ */
863
+ updateClaimPartnerRole1(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPartnerRoleResponseClass> {
864
+ return localVarFp.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options).then((request) => request(axios, basePath));
865
+ },
458
866
  };
459
867
  };
460
868
 
@@ -479,6 +887,27 @@ export interface ClaimPartnerRolesApiCreateClaimPartnerRoleRequest {
479
887
  readonly authorization?: string
480
888
  }
481
889
 
890
+ /**
891
+ * Request parameters for createClaimPartnerRole1 operation in ClaimPartnerRolesApi.
892
+ * @export
893
+ * @interface ClaimPartnerRolesApiCreateClaimPartnerRole1Request
894
+ */
895
+ export interface ClaimPartnerRolesApiCreateClaimPartnerRole1Request {
896
+ /**
897
+ *
898
+ * @type {CreateClaimPartnerRoleRequestDto}
899
+ * @memberof ClaimPartnerRolesApiCreateClaimPartnerRole1
900
+ */
901
+ readonly createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto
902
+
903
+ /**
904
+ * Bearer Token: provided by the login endpoint under the name accessToken.
905
+ * @type {string}
906
+ * @memberof ClaimPartnerRolesApiCreateClaimPartnerRole1
907
+ */
908
+ readonly authorization?: string
909
+ }
910
+
482
911
  /**
483
912
  * Request parameters for deleteClaimPartnerRole operation in ClaimPartnerRolesApi.
484
913
  * @export
@@ -500,6 +929,27 @@ export interface ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest {
500
929
  readonly authorization?: string
501
930
  }
502
931
 
932
+ /**
933
+ * Request parameters for deleteClaimPartnerRole1 operation in ClaimPartnerRolesApi.
934
+ * @export
935
+ * @interface ClaimPartnerRolesApiDeleteClaimPartnerRole1Request
936
+ */
937
+ export interface ClaimPartnerRolesApiDeleteClaimPartnerRole1Request {
938
+ /**
939
+ * Unique identifier for the object.
940
+ * @type {string}
941
+ * @memberof ClaimPartnerRolesApiDeleteClaimPartnerRole1
942
+ */
943
+ readonly code: string
944
+
945
+ /**
946
+ * Bearer Token: provided by the login endpoint under the name accessToken.
947
+ * @type {string}
948
+ * @memberof ClaimPartnerRolesApiDeleteClaimPartnerRole1
949
+ */
950
+ readonly authorization?: string
951
+ }
952
+
503
953
  /**
504
954
  * Request parameters for getClaimPartnerRole operation in ClaimPartnerRolesApi.
505
955
  * @export
@@ -521,6 +971,27 @@ export interface ClaimPartnerRolesApiGetClaimPartnerRoleRequest {
521
971
  readonly authorization?: string
522
972
  }
523
973
 
974
+ /**
975
+ * Request parameters for getClaimPartnerRole1 operation in ClaimPartnerRolesApi.
976
+ * @export
977
+ * @interface ClaimPartnerRolesApiGetClaimPartnerRole1Request
978
+ */
979
+ export interface ClaimPartnerRolesApiGetClaimPartnerRole1Request {
980
+ /**
981
+ * Unique identifier for the object.
982
+ * @type {string}
983
+ * @memberof ClaimPartnerRolesApiGetClaimPartnerRole1
984
+ */
985
+ readonly code: string
986
+
987
+ /**
988
+ * Bearer Token: provided by the login endpoint under the name accessToken.
989
+ * @type {string}
990
+ * @memberof ClaimPartnerRolesApiGetClaimPartnerRole1
991
+ */
992
+ readonly authorization?: string
993
+ }
994
+
524
995
  /**
525
996
  * Request parameters for listClaimPartnerRole operation in ClaimPartnerRolesApi.
526
997
  * @export
@@ -584,6 +1055,69 @@ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
584
1055
  readonly filters?: string
585
1056
  }
586
1057
 
1058
+ /**
1059
+ * Request parameters for listClaimPartnerRole1 operation in ClaimPartnerRolesApi.
1060
+ * @export
1061
+ * @interface ClaimPartnerRolesApiListClaimPartnerRole1Request
1062
+ */
1063
+ export interface ClaimPartnerRolesApiListClaimPartnerRole1Request {
1064
+ /**
1065
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1066
+ * @type {string}
1067
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1068
+ */
1069
+ readonly authorization?: string
1070
+
1071
+ /**
1072
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1073
+ * @type {number}
1074
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1075
+ */
1076
+ readonly pageSize?: number
1077
+
1078
+ /**
1079
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1080
+ * @type {string}
1081
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1082
+ */
1083
+ readonly pageToken?: string
1084
+
1085
+ /**
1086
+ * 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: name, productSlug&lt;/i&gt;
1087
+ * @type {string}
1088
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1089
+ */
1090
+ readonly filter?: string
1091
+
1092
+ /**
1093
+ * 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: name, productSlug&lt;/i&gt;
1094
+ * @type {string}
1095
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1096
+ */
1097
+ readonly search?: string
1098
+
1099
+ /**
1100
+ * 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, name, productSlug, createdAt, updatedAt&lt;/i&gt;
1101
+ * @type {string}
1102
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1103
+ */
1104
+ readonly order?: string
1105
+
1106
+ /**
1107
+ * 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;
1108
+ * @type {string}
1109
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1110
+ */
1111
+ readonly expand?: string
1112
+
1113
+ /**
1114
+ * 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: name, productSlug&lt;/i&gt;
1115
+ * @type {string}
1116
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole1
1117
+ */
1118
+ readonly filters?: string
1119
+ }
1120
+
587
1121
  /**
588
1122
  * Request parameters for updateClaimPartnerRole operation in ClaimPartnerRolesApi.
589
1123
  * @export
@@ -612,6 +1146,34 @@ export interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest {
612
1146
  readonly authorization?: string
613
1147
  }
614
1148
 
1149
+ /**
1150
+ * Request parameters for updateClaimPartnerRole1 operation in ClaimPartnerRolesApi.
1151
+ * @export
1152
+ * @interface ClaimPartnerRolesApiUpdateClaimPartnerRole1Request
1153
+ */
1154
+ export interface ClaimPartnerRolesApiUpdateClaimPartnerRole1Request {
1155
+ /**
1156
+ * Unique identifier for the object.
1157
+ * @type {string}
1158
+ * @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole1
1159
+ */
1160
+ readonly code: string
1161
+
1162
+ /**
1163
+ *
1164
+ * @type {UpdateClaimPartnerRoleRequestDto}
1165
+ * @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole1
1166
+ */
1167
+ readonly updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto
1168
+
1169
+ /**
1170
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1171
+ * @type {string}
1172
+ * @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole1
1173
+ */
1174
+ readonly authorization?: string
1175
+ }
1176
+
615
1177
  /**
616
1178
  * ClaimPartnerRolesApi - object-oriented interface
617
1179
  * @export
@@ -631,6 +1193,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
631
1193
  return ClaimPartnerRolesApiFp(this.configuration).createClaimPartnerRole(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
632
1194
  }
633
1195
 
1196
+ /**
1197
+ * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1198
+ * @summary Create the claim partner role
1199
+ * @param {ClaimPartnerRolesApiCreateClaimPartnerRole1Request} requestParameters Request parameters.
1200
+ * @param {*} [options] Override http request option.
1201
+ * @deprecated
1202
+ * @throws {RequiredError}
1203
+ * @memberof ClaimPartnerRolesApi
1204
+ */
1205
+ public createClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiCreateClaimPartnerRole1Request, options?: AxiosRequestConfig) {
1206
+ return ClaimPartnerRolesApiFp(this.configuration).createClaimPartnerRole1(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1207
+ }
1208
+
634
1209
  /**
635
1210
  * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
636
1211
  * @summary Delete the claim partner role
@@ -643,6 +1218,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
643
1218
  return ClaimPartnerRolesApiFp(this.configuration).deleteClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
644
1219
  }
645
1220
 
1221
+ /**
1222
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1223
+ * @summary Delete the claim partner role
1224
+ * @param {ClaimPartnerRolesApiDeleteClaimPartnerRole1Request} requestParameters Request parameters.
1225
+ * @param {*} [options] Override http request option.
1226
+ * @deprecated
1227
+ * @throws {RequiredError}
1228
+ * @memberof ClaimPartnerRolesApi
1229
+ */
1230
+ public deleteClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiDeleteClaimPartnerRole1Request, options?: AxiosRequestConfig) {
1231
+ return ClaimPartnerRolesApiFp(this.configuration).deleteClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1232
+ }
1233
+
646
1234
  /**
647
1235
  * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
648
1236
  * @summary Retrieve the claim partner role
@@ -655,6 +1243,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
655
1243
  return ClaimPartnerRolesApiFp(this.configuration).getClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
656
1244
  }
657
1245
 
1246
+ /**
1247
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1248
+ * @summary Retrieve the claim partner role
1249
+ * @param {ClaimPartnerRolesApiGetClaimPartnerRole1Request} requestParameters Request parameters.
1250
+ * @param {*} [options] Override http request option.
1251
+ * @deprecated
1252
+ * @throws {RequiredError}
1253
+ * @memberof ClaimPartnerRolesApi
1254
+ */
1255
+ public getClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiGetClaimPartnerRole1Request, options?: AxiosRequestConfig) {
1256
+ return ClaimPartnerRolesApiFp(this.configuration).getClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1257
+ }
1258
+
658
1259
  /**
659
1260
  * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
660
1261
  * @summary List claim partner roles
@@ -667,6 +1268,19 @@ export class ClaimPartnerRolesApi extends BaseAPI {
667
1268
  return ClaimPartnerRolesApiFp(this.configuration).listClaimPartnerRole(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
668
1269
  }
669
1270
 
1271
+ /**
1272
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1273
+ * @summary List claim partner roles
1274
+ * @param {ClaimPartnerRolesApiListClaimPartnerRole1Request} requestParameters Request parameters.
1275
+ * @param {*} [options] Override http request option.
1276
+ * @deprecated
1277
+ * @throws {RequiredError}
1278
+ * @memberof ClaimPartnerRolesApi
1279
+ */
1280
+ public listClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiListClaimPartnerRole1Request = {}, options?: AxiosRequestConfig) {
1281
+ return ClaimPartnerRolesApiFp(this.configuration).listClaimPartnerRole1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1282
+ }
1283
+
670
1284
  /**
671
1285
  * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
672
1286
  * @summary Update the claim partner role
@@ -678,4 +1292,17 @@ export class ClaimPartnerRolesApi extends BaseAPI {
678
1292
  public updateClaimPartnerRole(requestParameters: ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest, options?: AxiosRequestConfig) {
679
1293
  return ClaimPartnerRolesApiFp(this.configuration).updateClaimPartnerRole(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
680
1294
  }
1295
+
1296
+ /**
1297
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1298
+ * @summary Update the claim partner role
1299
+ * @param {ClaimPartnerRolesApiUpdateClaimPartnerRole1Request} requestParameters Request parameters.
1300
+ * @param {*} [options] Override http request option.
1301
+ * @deprecated
1302
+ * @throws {RequiredError}
1303
+ * @memberof ClaimPartnerRolesApi
1304
+ */
1305
+ public updateClaimPartnerRole1(requestParameters: ClaimPartnerRolesApiUpdateClaimPartnerRole1Request, options?: AxiosRequestConfig) {
1306
+ return ClaimPartnerRolesApiFp(this.configuration).updateClaimPartnerRole1(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1307
+ }
681
1308
  }