@emilgroup/commission-sdk-node 2.9.1-beta.13 → 2.9.1-beta.130

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 +11 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +4 -4
  4. package/api/commission-agreement-rules-api.ts +24 -10
  5. package/api/commission-agreement-versions-api.ts +4 -4
  6. package/api/commission-agreements-api.ts +4 -4
  7. package/api/commission-candidates-api.ts +4 -4
  8. package/api/commission-recipients-api.ts +4 -4
  9. package/api/commission-settlements-api.ts +13 -13
  10. package/api/commissions-api.ts +196 -8
  11. package/dist/api/commission-agreement-products-api.d.ts +4 -4
  12. package/dist/api/commission-agreement-products-api.js +3 -3
  13. package/dist/api/commission-agreement-rules-api.d.ts +16 -7
  14. package/dist/api/commission-agreement-rules-api.js +15 -9
  15. package/dist/api/commission-agreement-versions-api.d.ts +4 -4
  16. package/dist/api/commission-agreement-versions-api.js +3 -3
  17. package/dist/api/commission-agreements-api.d.ts +4 -4
  18. package/dist/api/commission-agreements-api.js +3 -3
  19. package/dist/api/commission-candidates-api.d.ts +4 -4
  20. package/dist/api/commission-candidates-api.js +3 -3
  21. package/dist/api/commission-recipients-api.d.ts +4 -4
  22. package/dist/api/commission-recipients-api.js +3 -3
  23. package/dist/api/commission-settlements-api.d.ts +13 -13
  24. package/dist/api/commission-settlements-api.js +6 -6
  25. package/dist/api/commissions-api.d.ts +118 -8
  26. package/dist/api/commissions-api.js +132 -3
  27. package/dist/models/clawback-config-class.d.ts +6 -0
  28. package/dist/models/clawback-config-dto.d.ts +6 -0
  29. package/dist/models/commission-agreement-class.d.ts +2 -2
  30. package/dist/models/commission-agreement-class.js +1 -1
  31. package/dist/models/commission-agreement-rule-config-dto.d.ts +7 -0
  32. package/dist/models/commission-agreement-version-class.d.ts +4 -4
  33. package/dist/models/commission-agreement-version-config-class.d.ts +32 -0
  34. package/dist/models/commission-agreement-version-config-class.js +15 -0
  35. package/dist/models/commission-agreement-version-config-dto.d.ts +32 -0
  36. package/dist/models/commission-agreement-version-config-dto.js +15 -0
  37. package/dist/models/commission-class.d.ts +15 -7
  38. package/dist/models/commission-class.js +3 -1
  39. package/dist/models/commission-creation-config-class.d.ts +43 -0
  40. package/dist/models/commission-creation-config-class.js +20 -0
  41. package/dist/models/commission-creation-config-dto.d.ts +43 -0
  42. package/dist/models/commission-creation-config-dto.js +20 -0
  43. package/dist/models/commission-creation-invoice-config-class.d.ts +24 -0
  44. package/dist/models/commission-creation-invoice-config-class.js +15 -0
  45. package/dist/models/commission-creation-invoice-config-dto.d.ts +24 -0
  46. package/dist/models/commission-creation-invoice-config-dto.js +15 -0
  47. package/dist/models/commission-creation-renewal-config-class.d.ts +29 -0
  48. package/dist/models/commission-creation-renewal-config-class.js +20 -0
  49. package/dist/models/commission-creation-renewal-config-dto.d.ts +29 -0
  50. package/dist/models/commission-creation-renewal-config-dto.js +20 -0
  51. package/dist/models/commission-estimate-class.d.ts +24 -0
  52. package/dist/models/commission-item-class.d.ts +18 -0
  53. package/dist/models/commission-paid-invoice-entry-class.d.ts +115 -0
  54. package/dist/models/commission-paid-invoice-entry-class.js +22 -0
  55. package/dist/models/commission-payout-config-dto.d.ts +29 -0
  56. package/dist/models/commission-payout-config-dto.js +20 -0
  57. package/dist/models/create-commission-agreement-request-dto.d.ts +5 -5
  58. package/dist/models/create-commission-agreement-request-dto.js +1 -1
  59. package/dist/models/create-commission-agreement-version-request-dto.d.ts +4 -4
  60. package/dist/models/create-commission-item-request-dto.d.ts +24 -0
  61. package/dist/models/estimate-commissions-request-dto.d.ts +6 -0
  62. package/dist/models/index.d.ts +11 -0
  63. package/dist/models/index.js +11 -0
  64. package/dist/models/list-commission-agreement-versions-response-class.d.ts +10 -10
  65. package/dist/models/list-commission-agreements-response-class.d.ts +10 -10
  66. package/dist/models/list-commission-paid-invoice-entries-response-class.d.ts +43 -0
  67. package/dist/models/list-commission-paid-invoice-entries-response-class.js +15 -0
  68. package/dist/models/scheduled-commission-clawback-trigger-class.d.ts +1 -0
  69. package/dist/models/scheduled-commission-clawback-trigger-class.js +2 -1
  70. package/dist/models/update-commission-agreement-request-dto.d.ts +2 -2
  71. package/dist/models/update-commission-agreement-request-dto.js +1 -1
  72. package/dist/models/update-commission-request-dto.d.ts +1 -1
  73. package/models/clawback-config-class.ts +6 -0
  74. package/models/clawback-config-dto.ts +6 -0
  75. package/models/commission-agreement-class.ts +2 -2
  76. package/models/commission-agreement-rule-config-dto.ts +7 -0
  77. package/models/commission-agreement-version-class.ts +4 -4
  78. package/models/commission-agreement-version-config-class.ts +38 -0
  79. package/models/commission-agreement-version-config-dto.ts +38 -0
  80. package/models/commission-class.ts +16 -8
  81. package/models/commission-creation-config-class.ts +52 -0
  82. package/models/commission-creation-config-dto.ts +52 -0
  83. package/models/commission-creation-invoice-config-class.ts +30 -0
  84. package/models/commission-creation-invoice-config-dto.ts +30 -0
  85. package/models/commission-creation-renewal-config-class.ts +38 -0
  86. package/models/commission-creation-renewal-config-dto.ts +38 -0
  87. package/models/commission-estimate-class.ts +24 -0
  88. package/models/commission-item-class.ts +18 -0
  89. package/models/commission-paid-invoice-entry-class.ts +124 -0
  90. package/models/commission-payout-config-dto.ts +38 -0
  91. package/models/create-commission-agreement-request-dto.ts +5 -5
  92. package/models/create-commission-agreement-version-request-dto.ts +4 -4
  93. package/models/create-commission-item-request-dto.ts +24 -0
  94. package/models/estimate-commissions-request-dto.ts +6 -0
  95. package/models/index.ts +11 -0
  96. package/models/list-commission-agreement-versions-response-class.ts +10 -10
  97. package/models/list-commission-agreements-response-class.ts +10 -10
  98. package/models/list-commission-paid-invoice-entries-response-class.ts +49 -0
  99. package/models/scheduled-commission-clawback-trigger-class.ts +2 -1
  100. package/models/update-commission-agreement-request-dto.ts +2 -2
  101. package/models/update-commission-request-dto.ts +1 -1
  102. package/package.json +1 -1
@@ -35,6 +35,8 @@ import { EstimateCommissionsResponseClass } from '../models';
35
35
  // @ts-ignore
36
36
  import { GetCommissionResponseClass } from '../models';
37
37
  // @ts-ignore
38
+ import { ListCommissionPaidInvoiceEntriesResponseClass } from '../models';
39
+ // @ts-ignore
38
40
  import { ListCommissionsResponseClass } from '../models';
39
41
  // @ts-ignore
40
42
  import { ListScheduledCommissionClawbackTriggersResponseClass } from '../models';
@@ -289,6 +291,82 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
289
291
 
290
292
 
291
293
 
294
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
295
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
297
+
298
+ return {
299
+ url: toPathString(localVarUrlObj),
300
+ options: localVarRequestOptions,
301
+ };
302
+ },
303
+ /**
304
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
305
+ * @summary List commission paid invoice entries
306
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
307
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
308
+ * @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
309
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
310
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
311
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo</i>
312
+ * @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.<br/> <br/>
313
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy</i>
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ listCommissionPaidInvoiceEntries: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
318
+ const localVarPath = `/commissionservice/v1/commissions/paid-invoice-entries`;
319
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
320
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
321
+ let baseOptions;
322
+ let baseAccessToken;
323
+ if (configuration) {
324
+ baseOptions = configuration.baseOptions;
325
+ baseAccessToken = configuration.accessToken;
326
+ }
327
+
328
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
329
+ const localVarHeaderParameter = {} as any;
330
+ const localVarQueryParameter = {} as any;
331
+
332
+ // authentication bearer required
333
+ // http bearer authentication required
334
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
335
+
336
+ if (pageSize !== undefined) {
337
+ localVarQueryParameter['pageSize'] = pageSize;
338
+ }
339
+
340
+ if (pageToken !== undefined) {
341
+ localVarQueryParameter['pageToken'] = pageToken;
342
+ }
343
+
344
+ if (filter !== undefined) {
345
+ localVarQueryParameter['filter'] = filter;
346
+ }
347
+
348
+ if (search !== undefined) {
349
+ localVarQueryParameter['search'] = search;
350
+ }
351
+
352
+ if (order !== undefined) {
353
+ localVarQueryParameter['order'] = order;
354
+ }
355
+
356
+ if (expand !== undefined) {
357
+ localVarQueryParameter['expand'] = expand;
358
+ }
359
+
360
+ if (filters !== undefined) {
361
+ localVarQueryParameter['filters'] = filters;
362
+ }
363
+
364
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
365
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
366
+ }
367
+
368
+
369
+
292
370
  setSearchParams(localVarUrlObj, localVarQueryParameter);
293
371
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
294
372
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -306,13 +384,13 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
306
384
  * @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.
307
385
  * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
308
386
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
309
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [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.
387
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id'} [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.
310
388
  * @param {'items' | 'agreement'} [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.
311
389
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
312
390
  * @param {*} [options] Override http request option.
313
391
  * @throws {RequiredError}
314
392
  */
315
- listCommissions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
393
+ listCommissions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id', expand?: 'items' | 'agreement', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
316
394
  const localVarPath = `/commissionservice/v1/commissions`;
317
395
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
318
396
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -620,6 +698,24 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
620
698
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCommission(code, expand, authorization, options);
621
699
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
622
700
  },
701
+ /**
702
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
703
+ * @summary List commission paid invoice entries
704
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
705
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
706
+ * @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.
707
+ * @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: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
708
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
709
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
710
+ * @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;
711
+ * @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: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ async listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass>> {
716
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
717
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
718
+ },
623
719
  /**
624
720
  * Retrieves a list of commissions.
625
721
  * @summary List commissions
@@ -628,13 +724,13 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
628
724
  * @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.
629
725
  * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
630
726
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
631
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [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.
727
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id'} [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.
632
728
  * @param {'items' | 'agreement'} [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.
633
729
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
634
730
  * @param {*} [options] Override http request option.
635
731
  * @throws {RequiredError}
636
732
  */
637
- async listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>> {
733
+ async listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>> {
638
734
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
639
735
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
640
736
  },
@@ -748,6 +844,23 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
748
844
  getCommission(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionResponseClass> {
749
845
  return localVarFp.getCommission(code, expand, authorization, options).then((request) => request(axios, basePath));
750
846
  },
847
+ /**
848
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
849
+ * @summary List commission paid invoice entries
850
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
851
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
852
+ * @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.
853
+ * @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: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
854
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
855
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
856
+ * @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;
857
+ * @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: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ listCommissionPaidInvoiceEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionPaidInvoiceEntriesResponseClass> {
862
+ return localVarFp.listCommissionPaidInvoiceEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
863
+ },
751
864
  /**
752
865
  * Retrieves a list of commissions.
753
866
  * @summary List commissions
@@ -756,13 +869,13 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
756
869
  * @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.
757
870
  * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
758
871
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
759
- * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [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.
872
+ * @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id'} [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.
760
873
  * @param {'items' | 'agreement'} [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.
761
874
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
762
875
  * @param {*} [options] Override http request option.
763
876
  * @throws {RequiredError}
764
877
  */
765
- listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass> {
878
+ listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass> {
766
879
  return localVarFp.listCommissions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
767
880
  },
768
881
  /**
@@ -927,6 +1040,69 @@ export interface CommissionsApiGetCommissionRequest {
927
1040
  readonly authorization?: string
928
1041
  }
929
1042
 
1043
+ /**
1044
+ * Request parameters for listCommissionPaidInvoiceEntries operation in CommissionsApi.
1045
+ * @export
1046
+ * @interface CommissionsApiListCommissionPaidInvoiceEntriesRequest
1047
+ */
1048
+ export interface CommissionsApiListCommissionPaidInvoiceEntriesRequest {
1049
+ /**
1050
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1051
+ * @type {string}
1052
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1053
+ */
1054
+ readonly authorization?: string
1055
+
1056
+ /**
1057
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1058
+ * @type {number}
1059
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1060
+ */
1061
+ readonly pageSize?: number
1062
+
1063
+ /**
1064
+ * 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.
1065
+ * @type {string}
1066
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1067
+ */
1068
+ readonly pageToken?: string
1069
+
1070
+ /**
1071
+ * 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: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
1072
+ * @type {string}
1073
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1074
+ */
1075
+ readonly filter?: string
1076
+
1077
+ /**
1078
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1079
+ * @type {string}
1080
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1081
+ */
1082
+ readonly search?: string
1083
+
1084
+ /**
1085
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, policyTimesliceFrom, policyTimesliceTo&lt;/i&gt;
1086
+ * @type {string}
1087
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1088
+ */
1089
+ readonly order?: string
1090
+
1091
+ /**
1092
+ * 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;
1093
+ * @type {string}
1094
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1095
+ */
1096
+ readonly expand?: string
1097
+
1098
+ /**
1099
+ * 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: id, code, policyCode, invoiceCode, commissionAgreementVersionCode, policyTimesliceFrom, policyTimesliceTo, status, commissionCandidateCode, commissionCode, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
1100
+ * @type {string}
1101
+ * @memberof CommissionsApiListCommissionPaidInvoiceEntries
1102
+ */
1103
+ readonly filters?: string
1104
+ }
1105
+
930
1106
  /**
931
1107
  * Request parameters for listCommissions operation in CommissionsApi.
932
1108
  * @export
@@ -970,10 +1146,10 @@ export interface CommissionsApiListCommissionsRequest {
970
1146
 
971
1147
  /**
972
1148
  * 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.
973
- * @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
1149
+ * @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id'}
974
1150
  * @memberof CommissionsApiListCommissions
975
1151
  */
976
- readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'
1152
+ readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency' | 'id'
977
1153
 
978
1154
  /**
979
1155
  * 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.
@@ -1169,6 +1345,18 @@ export class CommissionsApi extends BaseAPI {
1169
1345
  return CommissionsApiFp(this.configuration).getCommission(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1170
1346
  }
1171
1347
 
1348
+ /**
1349
+ * Returns paid invoices counted for invoice-mode commission creation. Use this endpoint to inspect counted, consumed, and discarded invoice groups.
1350
+ * @summary List commission paid invoice entries
1351
+ * @param {CommissionsApiListCommissionPaidInvoiceEntriesRequest} requestParameters Request parameters.
1352
+ * @param {*} [options] Override http request option.
1353
+ * @throws {RequiredError}
1354
+ * @memberof CommissionsApi
1355
+ */
1356
+ public listCommissionPaidInvoiceEntries(requestParameters: CommissionsApiListCommissionPaidInvoiceEntriesRequest = {}, options?: AxiosRequestConfig) {
1357
+ return CommissionsApiFp(this.configuration).listCommissionPaidInvoiceEntries(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1358
+ }
1359
+
1172
1360
  /**
1173
1361
  * Retrieves a list of commissions.
1174
1362
  * @summary List commissions
@@ -59,7 +59,7 @@ export declare const CommissionAgreementProductsApiAxiosParamCreator: (configura
59
59
  * @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.
60
60
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
61
61
  * @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: code, productSlug&lt;/i&gt;
62
- * @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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
62
+ * @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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
63
63
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
64
64
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
65
65
  * @param {*} [options] Override http request option.
@@ -118,7 +118,7 @@ export declare const CommissionAgreementProductsApiFp: (configuration?: Configur
118
118
  * @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.
119
119
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
120
120
  * @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: code, productSlug&lt;/i&gt;
121
- * @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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
121
+ * @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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
122
122
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
123
123
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
124
124
  * @param {*} [options] Override http request option.
@@ -177,7 +177,7 @@ export declare const CommissionAgreementProductsApiFactory: (configuration?: Con
177
177
  * @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.
178
178
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
179
179
  * @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: code, productSlug&lt;/i&gt;
180
- * @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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
180
+ * @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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
181
181
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
182
182
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
183
183
  * @param {*} [options] Override http request option.
@@ -295,7 +295,7 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
295
295
  */
296
296
  readonly search?: string;
297
297
  /**
298
- * 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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
298
+ * 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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
299
299
  * @type {string}
300
300
  * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
301
301
  */
@@ -255,7 +255,7 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
255
255
  * @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.
256
256
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
257
257
  * @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: code, productSlug&lt;/i&gt;
258
- * @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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
258
+ * @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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
259
259
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
260
260
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
261
261
  * @param {*} [options] Override http request option.
@@ -454,7 +454,7 @@ var CommissionAgreementProductsApiFp = function (configuration) {
454
454
  * @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.
455
455
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
456
456
  * @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: code, productSlug&lt;/i&gt;
457
- * @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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
457
+ * @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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
458
458
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
459
459
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
460
460
  * @param {*} [options] Override http request option.
@@ -547,7 +547,7 @@ var CommissionAgreementProductsApiFactory = function (configuration, basePath, a
547
547
  * @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.
548
548
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
549
549
  * @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: code, productSlug&lt;/i&gt;
550
- * @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: createdAt, updatedAt, productSlug, status&lt;/i&gt;
550
+ * @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: createdAt, updatedAt, productSlug, status, id&lt;/i&gt;
551
551
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
552
552
  * @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: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
553
553
  * @param {*} [options] Override http request option.
@@ -67,10 +67,11 @@ export declare const CommissionAgreementRulesApiAxiosParamCreator: (configuratio
67
67
  * Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
68
68
  * @summary Retrieve the commission agreement rule evaluation default data
69
69
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
70
+ * @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
70
71
  * @param {*} [options] Override http request option.
71
72
  * @throws {RequiredError}
72
73
  */
73
- getEvaluationDefaultData: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ getEvaluationDefaultData: (authorization?: string, commissionAgreementProductCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
75
  /**
75
76
  * Retrieves a list of commission agreement rules.
76
77
  * @summary List commission agreement rules
@@ -79,7 +80,7 @@ export declare const CommissionAgreementRulesApiAxiosParamCreator: (configuratio
79
80
  * @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.
80
81
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
81
82
  * @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: code, commissionAgreementProductCode&lt;/i&gt;
82
- * @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: code, createdAt, updatedAt, status&lt;/i&gt;
83
+ * @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: code, createdAt, updatedAt, status, id&lt;/i&gt;
83
84
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
84
85
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
85
86
  * @param {*} [options] Override http request option.
@@ -143,10 +144,11 @@ export declare const CommissionAgreementRulesApiFp: (configuration?: Configurati
143
144
  * Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
144
145
  * @summary Retrieve the commission agreement rule evaluation default data
145
146
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
147
+ * @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
146
148
  * @param {*} [options] Override http request option.
147
149
  * @throws {RequiredError}
148
150
  */
149
- getEvaluationDefaultData(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>>;
151
+ getEvaluationDefaultData(authorization?: string, commissionAgreementProductCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>>;
150
152
  /**
151
153
  * Retrieves a list of commission agreement rules.
152
154
  * @summary List commission agreement rules
@@ -155,7 +157,7 @@ export declare const CommissionAgreementRulesApiFp: (configuration?: Configurati
155
157
  * @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.
156
158
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
157
159
  * @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: code, commissionAgreementProductCode&lt;/i&gt;
158
- * @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: code, createdAt, updatedAt, status&lt;/i&gt;
160
+ * @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: code, createdAt, updatedAt, status, id&lt;/i&gt;
159
161
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
160
162
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
161
163
  * @param {*} [options] Override http request option.
@@ -219,10 +221,11 @@ export declare const CommissionAgreementRulesApiFactory: (configuration?: Config
219
221
  * Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
220
222
  * @summary Retrieve the commission agreement rule evaluation default data
221
223
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
224
+ * @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
222
225
  * @param {*} [options] Override http request option.
223
226
  * @throws {RequiredError}
224
227
  */
225
- getEvaluationDefaultData(authorization?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass>;
228
+ getEvaluationDefaultData(authorization?: string, commissionAgreementProductCode?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass>;
226
229
  /**
227
230
  * Retrieves a list of commission agreement rules.
228
231
  * @summary List commission agreement rules
@@ -231,7 +234,7 @@ export declare const CommissionAgreementRulesApiFactory: (configuration?: Config
231
234
  * @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.
232
235
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
233
236
  * @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: code, commissionAgreementProductCode&lt;/i&gt;
234
- * @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: code, createdAt, updatedAt, status&lt;/i&gt;
237
+ * @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: code, createdAt, updatedAt, status, id&lt;/i&gt;
235
238
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
236
239
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
237
240
  * @param {*} [options] Override http request option.
@@ -343,6 +346,12 @@ export interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest {
343
346
  * @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
344
347
  */
345
348
  readonly authorization?: string;
349
+ /**
350
+ * Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
351
+ * @type {string}
352
+ * @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
353
+ */
354
+ readonly commissionAgreementProductCode?: string;
346
355
  }
347
356
  /**
348
357
  * Request parameters for listCommissionAgreementRules operation in CommissionAgreementRulesApi.
@@ -381,7 +390,7 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
381
390
  */
382
391
  readonly search?: string;
383
392
  /**
384
- * 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: code, createdAt, updatedAt, status&lt;/i&gt;
393
+ * 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: code, createdAt, updatedAt, status, id&lt;/i&gt;
385
394
  * @type {string}
386
395
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
387
396
  */
@@ -300,10 +300,11 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
300
300
  * Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
301
301
  * @summary Retrieve the commission agreement rule evaluation default data
302
302
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
303
+ * @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
303
304
  * @param {*} [options] Override http request option.
304
305
  * @throws {RequiredError}
305
306
  */
306
- getEvaluationDefaultData: function (authorization, options) {
307
+ getEvaluationDefaultData: function (authorization, commissionAgreementProductCode, options) {
307
308
  if (options === void 0) { options = {}; }
308
309
  return __awaiter(_this, void 0, void 0, function () {
309
310
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -326,6 +327,9 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
326
327
  // authentication bearer required
327
328
  // http bearer authentication required
328
329
  _a.sent();
330
+ if (commissionAgreementProductCode !== undefined) {
331
+ localVarQueryParameter['commissionAgreementProductCode'] = commissionAgreementProductCode;
332
+ }
329
333
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
330
334
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
331
335
  }
@@ -348,7 +352,7 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
348
352
  * @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.
349
353
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
350
354
  * @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: code, commissionAgreementProductCode&lt;/i&gt;
351
- * @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: code, createdAt, updatedAt, status&lt;/i&gt;
355
+ * @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: code, createdAt, updatedAt, status, id&lt;/i&gt;
352
356
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
353
357
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
354
358
  * @param {*} [options] Override http request option.
@@ -564,15 +568,16 @@ var CommissionAgreementRulesApiFp = function (configuration) {
564
568
  * Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
565
569
  * @summary Retrieve the commission agreement rule evaluation default data
566
570
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
571
+ * @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
567
572
  * @param {*} [options] Override http request option.
568
573
  * @throws {RequiredError}
569
574
  */
570
- getEvaluationDefaultData: function (authorization, options) {
575
+ getEvaluationDefaultData: function (authorization, commissionAgreementProductCode, options) {
571
576
  return __awaiter(this, void 0, void 0, function () {
572
577
  var localVarAxiosArgs;
573
578
  return __generator(this, function (_a) {
574
579
  switch (_a.label) {
575
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEvaluationDefaultData(authorization, options)];
580
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEvaluationDefaultData(authorization, commissionAgreementProductCode, options)];
576
581
  case 1:
577
582
  localVarAxiosArgs = _a.sent();
578
583
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -588,7 +593,7 @@ var CommissionAgreementRulesApiFp = function (configuration) {
588
593
  * @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.
589
594
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
590
595
  * @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: code, commissionAgreementProductCode&lt;/i&gt;
591
- * @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: code, createdAt, updatedAt, status&lt;/i&gt;
596
+ * @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: code, createdAt, updatedAt, status, id&lt;/i&gt;
592
597
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
593
598
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
594
599
  * @param {*} [options] Override http request option.
@@ -688,11 +693,12 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
688
693
  * Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
689
694
  * @summary Retrieve the commission agreement rule evaluation default data
690
695
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
696
+ * @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
691
697
  * @param {*} [options] Override http request option.
692
698
  * @throws {RequiredError}
693
699
  */
694
- getEvaluationDefaultData: function (authorization, options) {
695
- return localVarFp.getEvaluationDefaultData(authorization, options).then(function (request) { return request(axios, basePath); });
700
+ getEvaluationDefaultData: function (authorization, commissionAgreementProductCode, options) {
701
+ return localVarFp.getEvaluationDefaultData(authorization, commissionAgreementProductCode, options).then(function (request) { return request(axios, basePath); });
696
702
  },
697
703
  /**
698
704
  * Retrieves a list of commission agreement rules.
@@ -702,7 +708,7 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
702
708
  * @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.
703
709
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
704
710
  * @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: code, commissionAgreementProductCode&lt;/i&gt;
705
- * @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: code, createdAt, updatedAt, status&lt;/i&gt;
711
+ * @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: code, createdAt, updatedAt, status, id&lt;/i&gt;
706
712
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
707
713
  * @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: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
708
714
  * @param {*} [options] Override http request option.
@@ -796,7 +802,7 @@ var CommissionAgreementRulesApi = /** @class */ (function (_super) {
796
802
  CommissionAgreementRulesApi.prototype.getEvaluationDefaultData = function (requestParameters, options) {
797
803
  var _this = this;
798
804
  if (requestParameters === void 0) { requestParameters = {}; }
799
- return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).getEvaluationDefaultData(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
805
+ return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).getEvaluationDefaultData(requestParameters.authorization, requestParameters.commissionAgreementProductCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
800
806
  };
801
807
  /**
802
808
  * Retrieves a list of commission agreement rules.