@emilgroup/commission-sdk 1.0.0-beta.2 → 1.0.0-beta.20

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 (128) hide show
  1. package/.openapi-generator/FILES +33 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +651 -0
  4. package/api/commission-agreement-rules-api.ts +758 -0
  5. package/api/commission-agreement-versions-api.ts +67 -25
  6. package/api/commission-agreements-api.ts +83 -28
  7. package/api/commission-recipients-api.ts +693 -0
  8. package/api/commissions-api.ts +18 -18
  9. package/api.ts +6 -0
  10. package/dist/api/commission-agreement-products-api.d.ts +366 -0
  11. package/dist/api/commission-agreement-products-api.js +626 -0
  12. package/dist/api/commission-agreement-rules-api.d.ts +423 -0
  13. package/dist/api/commission-agreement-rules-api.js +719 -0
  14. package/dist/api/commission-agreement-versions-api.d.ts +47 -20
  15. package/dist/api/commission-agreement-versions-api.js +38 -20
  16. package/dist/api/commission-agreements-api.d.ts +55 -19
  17. package/dist/api/commission-agreements-api.js +48 -24
  18. package/dist/api/commission-recipients-api.d.ts +393 -0
  19. package/dist/api/commission-recipients-api.js +644 -0
  20. package/dist/api/commissions-api.d.ts +18 -18
  21. package/dist/api/commissions-api.js +9 -9
  22. package/dist/api.d.ts +3 -0
  23. package/dist/api.js +3 -0
  24. package/dist/models/commission-agreement-class.d.ts +14 -0
  25. package/dist/models/commission-agreement-metadata-dto.d.ts +25 -0
  26. package/dist/models/commission-agreement-metadata-dto.js +15 -0
  27. package/dist/models/commission-agreement-metadata-partner-dto.d.ts +30 -0
  28. package/dist/models/commission-agreement-metadata-partner-dto.js +15 -0
  29. package/dist/models/commission-agreement-product-class.d.ts +78 -0
  30. package/dist/models/commission-agreement-product-class.js +20 -0
  31. package/dist/models/commission-agreement-rule-class.d.ts +80 -0
  32. package/dist/models/commission-agreement-rule-class.js +21 -0
  33. package/dist/models/commission-agreement-rule-config-dto.d.ts +25 -0
  34. package/dist/models/commission-agreement-rule-config-dto.js +15 -0
  35. package/dist/models/commission-agreement-rule-evaluation-class.d.ts +31 -0
  36. package/dist/models/commission-agreement-rule-evaluation-class.js +15 -0
  37. package/dist/models/commission-class.d.ts +5 -4
  38. package/dist/models/commission-conditions-dto.d.ts +24 -0
  39. package/dist/models/commission-conditions-dto.js +15 -0
  40. package/dist/models/commission-config-dto.d.ts +63 -0
  41. package/dist/models/commission-config-dto.js +34 -0
  42. package/dist/models/commission-recipient-class.d.ts +90 -0
  43. package/dist/models/commission-recipient-class.js +20 -0
  44. package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
  45. package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
  46. package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
  47. package/dist/models/create-commission-agreement-product-response-class.js +15 -0
  48. package/dist/models/create-commission-agreement-request-dto.d.ts +8 -1
  49. package/dist/models/create-commission-agreement-rule-request-dto.d.ts +31 -0
  50. package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
  51. package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
  52. package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
  53. package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
  54. package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
  55. package/dist/models/create-commission-recipient-request-dto.js +15 -0
  56. package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
  57. package/dist/models/create-commission-recipient-response-class.js +15 -0
  58. package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
  59. package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
  60. package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
  61. package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
  62. package/dist/models/evaluated-commission-class.d.ts +54 -0
  63. package/dist/models/evaluated-commission-class.js +21 -0
  64. package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
  65. package/dist/models/get-commission-agreement-product-response-class.js +15 -0
  66. package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
  67. package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
  68. package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
  69. package/dist/models/get-commission-recipient-response-class.js +15 -0
  70. package/dist/models/index.d.ts +30 -0
  71. package/dist/models/index.js +30 -0
  72. package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
  73. package/dist/models/list-commission-agreement-products-response-class.js +15 -0
  74. package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
  75. package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
  76. package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
  77. package/dist/models/list-commission-recipients-response-class.js +15 -0
  78. package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
  79. package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
  80. package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
  81. package/dist/models/update-commission-agreement-product-response-class.js +15 -0
  82. package/dist/models/update-commission-agreement-rule-request-dto.d.ts +43 -0
  83. package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
  84. package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
  85. package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
  86. package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
  87. package/dist/models/update-commission-recipient-request-dto.js +15 -0
  88. package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
  89. package/dist/models/update-commission-recipient-response-class.js +15 -0
  90. package/dist/models/update-commission-request-dto.d.ts +5 -3
  91. package/dist/models/update-commission-request-dto.js +4 -2
  92. package/models/commission-agreement-class.ts +14 -0
  93. package/models/commission-agreement-metadata-dto.ts +31 -0
  94. package/models/commission-agreement-metadata-partner-dto.ts +36 -0
  95. package/models/commission-agreement-product-class.ts +87 -0
  96. package/models/commission-agreement-rule-class.ts +89 -0
  97. package/models/commission-agreement-rule-config-dto.ts +31 -0
  98. package/models/commission-agreement-rule-evaluation-class.ts +37 -0
  99. package/models/commission-class.ts +5 -4
  100. package/models/commission-conditions-dto.ts +30 -0
  101. package/models/commission-config-dto.ts +73 -0
  102. package/models/commission-recipient-class.ts +99 -0
  103. package/models/create-commission-agreement-product-request-dto.ts +36 -0
  104. package/models/create-commission-agreement-product-response-class.ts +31 -0
  105. package/models/create-commission-agreement-request-dto.ts +8 -1
  106. package/models/create-commission-agreement-rule-request-dto.ts +37 -0
  107. package/models/create-commission-agreement-rule-response-class.ts +31 -0
  108. package/models/create-commission-agreement-version-request-dto.ts +1 -1
  109. package/models/create-commission-recipient-request-dto.ts +42 -0
  110. package/models/create-commission-recipient-response-class.ts +31 -0
  111. package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
  112. package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
  113. package/models/evaluated-commission-class.ts +63 -0
  114. package/models/get-commission-agreement-product-response-class.ts +31 -0
  115. package/models/get-commission-agreement-rule-response-class.ts +31 -0
  116. package/models/get-commission-recipient-response-class.ts +31 -0
  117. package/models/index.ts +30 -0
  118. package/models/list-commission-agreement-products-response-class.ts +49 -0
  119. package/models/list-commission-agreement-rules-response-class.ts +49 -0
  120. package/models/list-commission-recipients-response-class.ts +49 -0
  121. package/models/update-commission-agreement-product-request-dto.ts +50 -0
  122. package/models/update-commission-agreement-product-response-class.ts +31 -0
  123. package/models/update-commission-agreement-rule-request-dto.ts +52 -0
  124. package/models/update-commission-agreement-rule-response-class.ts +31 -0
  125. package/models/update-commission-recipient-request-dto.ts +48 -0
  126. package/models/update-commission-recipient-response-class.ts +31 -0
  127. package/models/update-commission-request-dto.ts +5 -3
  128. package/package.json +1 -1
@@ -57,15 +57,15 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
58
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
60
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
60
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
61
61
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
62
- * @param {'createdAt'} [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.
63
- * @param {'items'} [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.
62
+ * @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | '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.
63
+ * @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.
64
64
  * @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.
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
67
  */
68
- listCommissions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'createdAt', expand?: 'items', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listCommissions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes', search?: string, order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
69
  /**
70
70
  * This will update commission.
71
71
  * @summary Update the commission
@@ -116,15 +116,15 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
117
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
119
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
120
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
- * @param {'createdAt'} [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.
122
- * @param {'items'} [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.
121
+ * @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | '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.
122
+ * @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.
123
123
  * @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.
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
127
- listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'createdAt', expand?: 'items', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
127
+ listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes', search?: string, order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
128
128
  /**
129
129
  * This will update commission.
130
130
  * @summary Update the commission
@@ -175,15 +175,15 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
175
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
176
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
178
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
179
179
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
180
- * @param {'createdAt'} [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.
181
- * @param {'items'} [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.
180
+ * @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | '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.
181
+ * @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.
182
182
  * @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.
183
183
  * @param {*} [options] Override http request option.
184
184
  * @throws {RequiredError}
185
185
  */
186
- listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'createdAt', expand?: 'items', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass>;
186
+ listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes', search?: string, order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass>;
187
187
  /**
188
188
  * This will update commission.
189
189
  * @summary Update the commission
@@ -284,10 +284,10 @@ export interface CommissionsApiListCommissionsRequest {
284
284
  readonly pageToken?: string;
285
285
  /**
286
286
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
287
- * @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'}
287
+ * @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'}
288
288
  * @memberof CommissionsApiListCommissions
289
289
  */
290
- readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt';
290
+ readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes';
291
291
  /**
292
292
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
293
293
  * @type {string}
@@ -296,16 +296,16 @@ export interface CommissionsApiListCommissionsRequest {
296
296
  readonly search?: string;
297
297
  /**
298
298
  * 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.
299
- * @type {'createdAt'}
299
+ * @type {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
300
300
  * @memberof CommissionsApiListCommissions
301
301
  */
302
- readonly order?: 'createdAt';
302
+ readonly order?: 'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency';
303
303
  /**
304
304
  * 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.
305
- * @type {'items'}
305
+ * @type {'items' | 'agreement'}
306
306
  * @memberof CommissionsApiListCommissions
307
307
  */
308
- readonly expand?: 'items';
308
+ readonly expand?: 'items' | 'agreement';
309
309
  /**
310
310
  * 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.
311
311
  * @type {string}
@@ -249,10 +249,10 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
250
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
251
  * @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.
252
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
252
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
253
253
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
- * @param {'createdAt'} [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.
255
- * @param {'items'} [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.
254
+ * @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | '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.
255
+ * @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.
256
256
  * @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.
257
257
  * @param {*} [options] Override http request option.
258
258
  * @throws {RequiredError}
@@ -448,10 +448,10 @@ var CommissionsApiFp = function (configuration) {
448
448
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
449
449
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
450
450
  * @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.
451
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
451
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
452
452
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
453
- * @param {'createdAt'} [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.
454
- * @param {'items'} [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.
453
+ * @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | '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.
454
+ * @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.
455
455
  * @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.
456
456
  * @param {*} [options] Override http request option.
457
457
  * @throws {RequiredError}
@@ -541,10 +541,10 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
541
541
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
542
542
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
543
543
  * @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.
544
- * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
544
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'partnerCodes'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
545
545
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
546
- * @param {'createdAt'} [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.
547
- * @param {'items'} [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.
546
+ * @param {'commissionAgreementCode' | 'policyCode' | 'partnerCode' | 'createdAt' | '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.
547
+ * @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.
548
548
  * @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.
549
549
  * @param {*} [options] Override http request option.
550
550
  * @throws {RequiredError}
package/dist/api.d.ts CHANGED
@@ -9,7 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/commission-agreement-products-api';
13
+ export * from './api/commission-agreement-rules-api';
12
14
  export * from './api/commission-agreement-versions-api';
13
15
  export * from './api/commission-agreements-api';
16
+ export * from './api/commission-recipients-api';
14
17
  export * from './api/commissions-api';
15
18
  export * from './api/default-api';
package/dist/api.js CHANGED
@@ -27,7 +27,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/commission-agreement-products-api"), exports);
31
+ __exportStar(require("./api/commission-agreement-rules-api"), exports);
30
32
  __exportStar(require("./api/commission-agreement-versions-api"), exports);
31
33
  __exportStar(require("./api/commission-agreements-api"), exports);
34
+ __exportStar(require("./api/commission-recipients-api"), exports);
32
35
  __exportStar(require("./api/commissions-api"), exports);
33
36
  __exportStar(require("./api/default-api"), exports);
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CommissionAgreementMetadataDto } from './commission-agreement-metadata-dto';
13
+ import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -39,6 +41,12 @@ export interface CommissionAgreementClass {
39
41
  * @memberof CommissionAgreementClass
40
42
  */
41
43
  'status': CommissionAgreementClassStatusEnum;
44
+ /**
45
+ * Array of commission agreement versions
46
+ * @type {Array<CommissionAgreementVersionClass>}
47
+ * @memberof CommissionAgreementClass
48
+ */
49
+ 'versions'?: Array<CommissionAgreementVersionClass>;
42
50
  /**
43
51
  * Detailed description of the commission agreement terms and conditions
44
52
  * @type {string}
@@ -51,6 +59,12 @@ export interface CommissionAgreementClass {
51
59
  * @memberof CommissionAgreementClass
52
60
  */
53
61
  'billingFrequency'?: CommissionAgreementClassBillingFrequencyEnum;
62
+ /**
63
+ * Metadata associated with the commission agreement
64
+ * @type {CommissionAgreementMetadataDto}
65
+ * @memberof CommissionAgreementClass
66
+ */
67
+ 'metadata'?: CommissionAgreementMetadataDto;
54
68
  /**
55
69
  * Timestamp when the commission agreement was created
56
70
  * @type {string}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CommissionAgreementMetadataPartnerDto } from './commission-agreement-metadata-partner-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementMetadataDto
17
+ */
18
+ export interface CommissionAgreementMetadataDto {
19
+ /**
20
+ * Main partner of the commission agreement
21
+ * @type {CommissionAgreementMetadataPartnerDto}
22
+ * @memberof CommissionAgreementMetadataDto
23
+ */
24
+ 'mainPartner'?: CommissionAgreementMetadataPartnerDto;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CommissionAgreementMetadataPartnerDto
16
+ */
17
+ export interface CommissionAgreementMetadataPartnerDto {
18
+ /**
19
+ * Code of the partner
20
+ * @type {string}
21
+ * @memberof CommissionAgreementMetadataPartnerDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Name of the partner
26
+ * @type {string}
27
+ * @memberof CommissionAgreementMetadataPartnerDto
28
+ */
29
+ 'name': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,78 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementProductClass
17
+ */
18
+ export interface CommissionAgreementProductClass {
19
+ /**
20
+ * Unique identifier for the commission agreement product
21
+ * @type {number}
22
+ * @memberof CommissionAgreementProductClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * The parent commission agreement version
27
+ * @type {CommissionAgreementVersionClass}
28
+ * @memberof CommissionAgreementProductClass
29
+ */
30
+ 'version': CommissionAgreementVersionClass;
31
+ /**
32
+ * Product slug identifier
33
+ * @type {string}
34
+ * @memberof CommissionAgreementProductClass
35
+ */
36
+ 'productSlug': string;
37
+ /**
38
+ * Unique code identifier for the commission agreement product, auto-generated on creation
39
+ * @type {string}
40
+ * @memberof CommissionAgreementProductClass
41
+ */
42
+ 'code': string;
43
+ /**
44
+ * Status of the commission agreement product
45
+ * @type {string}
46
+ * @memberof CommissionAgreementProductClass
47
+ */
48
+ 'status': CommissionAgreementProductClassStatusEnum;
49
+ /**
50
+ * Timestamp when the commission agreement product was created
51
+ * @type {string}
52
+ * @memberof CommissionAgreementProductClass
53
+ */
54
+ 'createdAt'?: string;
55
+ /**
56
+ * Timestamp when the commission agreement product was last updated
57
+ * @type {string}
58
+ * @memberof CommissionAgreementProductClass
59
+ */
60
+ 'updatedAt'?: string;
61
+ /**
62
+ * User identifier who created the commission agreement product
63
+ * @type {string}
64
+ * @memberof CommissionAgreementProductClass
65
+ */
66
+ 'createdBy'?: string;
67
+ /**
68
+ * User identifier who last updated the commission agreement product
69
+ * @type {string}
70
+ * @memberof CommissionAgreementProductClass
71
+ */
72
+ 'updatedBy'?: string;
73
+ }
74
+ export declare const CommissionAgreementProductClassStatusEnum: {
75
+ readonly Active: "active";
76
+ readonly Inactive: "inactive";
77
+ };
78
+ export type CommissionAgreementProductClassStatusEnum = typeof CommissionAgreementProductClassStatusEnum[keyof typeof CommissionAgreementProductClassStatusEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CommissionAgreementProductClassStatusEnum = void 0;
17
+ exports.CommissionAgreementProductClassStatusEnum = {
18
+ Active: 'active',
19
+ Inactive: 'inactive'
20
+ };
@@ -0,0 +1,80 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CommissionAgreementRuleConfigDto } from './commission-agreement-rule-config-dto';
13
+ import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CommissionAgreementRuleClass
18
+ */
19
+ export interface CommissionAgreementRuleClass {
20
+ /**
21
+ * Unique identifier for the commission agreement rule
22
+ * @type {number}
23
+ * @memberof CommissionAgreementRuleClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * The parent commission agreement version
28
+ * @type {CommissionAgreementVersionClass}
29
+ * @memberof CommissionAgreementRuleClass
30
+ */
31
+ 'version': CommissionAgreementVersionClass;
32
+ /**
33
+ * Unique code identifier for the commission agreement rule, auto-generated on creation
34
+ * @type {string}
35
+ * @memberof CommissionAgreementRuleClass
36
+ */
37
+ 'code': string;
38
+ /**
39
+ * Configuration object for the commission agreement rule
40
+ * @type {CommissionAgreementRuleConfigDto}
41
+ * @memberof CommissionAgreementRuleClass
42
+ */
43
+ 'config': CommissionAgreementRuleConfigDto;
44
+ /**
45
+ * Status of the commission agreement rule (e.g., active, inactive, draft)
46
+ * @type {string}
47
+ * @memberof CommissionAgreementRuleClass
48
+ */
49
+ 'status': CommissionAgreementRuleClassStatusEnum;
50
+ /**
51
+ * Timestamp when the commission agreement rule was created
52
+ * @type {string}
53
+ * @memberof CommissionAgreementRuleClass
54
+ */
55
+ 'createdAt'?: string;
56
+ /**
57
+ * Timestamp when the commission agreement rule was last updated
58
+ * @type {string}
59
+ * @memberof CommissionAgreementRuleClass
60
+ */
61
+ 'updatedAt'?: string;
62
+ /**
63
+ * User identifier who created the commission agreement rule
64
+ * @type {string}
65
+ * @memberof CommissionAgreementRuleClass
66
+ */
67
+ 'createdBy'?: string;
68
+ /**
69
+ * User identifier who last updated the commission agreement rule
70
+ * @type {string}
71
+ * @memberof CommissionAgreementRuleClass
72
+ */
73
+ 'updatedBy'?: string;
74
+ }
75
+ export declare const CommissionAgreementRuleClassStatusEnum: {
76
+ readonly Active: "active";
77
+ readonly Inactive: "inactive";
78
+ readonly Draft: "draft";
79
+ };
80
+ export type CommissionAgreementRuleClassStatusEnum = typeof CommissionAgreementRuleClassStatusEnum[keyof typeof CommissionAgreementRuleClassStatusEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CommissionAgreementRuleClassStatusEnum = void 0;
17
+ exports.CommissionAgreementRuleClassStatusEnum = {
18
+ Active: 'active',
19
+ Inactive: 'inactive',
20
+ Draft: 'draft'
21
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CommissionConfigDto } from './commission-config-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementRuleConfigDto
17
+ */
18
+ export interface CommissionAgreementRuleConfigDto {
19
+ /**
20
+ * Array of commission calculation rules
21
+ * @type {Array<CommissionConfigDto>}
22
+ * @memberof CommissionAgreementRuleConfigDto
23
+ */
24
+ 'commissions': Array<CommissionConfigDto>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { EvaluatedCommissionClass } from './evaluated-commission-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CommissionAgreementRuleEvaluationClass
17
+ */
18
+ export interface CommissionAgreementRuleEvaluationClass {
19
+ /**
20
+ * Premium amount in cents used for evaluation
21
+ * @type {number}
22
+ * @memberof CommissionAgreementRuleEvaluationClass
23
+ */
24
+ 'premiumAmount': number;
25
+ /**
26
+ * Array of evaluated commission results
27
+ * @type {Array<EvaluatedCommissionClass>}
28
+ * @memberof CommissionAgreementRuleEvaluationClass
29
+ */
30
+ 'commissions': Array<EvaluatedCommissionClass>;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CommissionService
6
+ * The EMIL CommissionService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CommissionAgreementClass } from './commission-agreement-class';
12
13
  import { CommissionItemClass } from './commission-item-class';
13
14
  /**
14
15
  *
@@ -23,11 +24,11 @@ export interface CommissionClass {
23
24
  */
24
25
  'id': number;
25
26
  /**
26
- * The unique code or identifier of the commission agreement this commission is based on
27
- * @type {string}
27
+ * The commission agreement this commission is based on
28
+ * @type {CommissionAgreementClass}
28
29
  * @memberof CommissionClass
29
30
  */
30
- 'commissionAgreementCode': string;
31
+ 'agreement': CommissionAgreementClass;
31
32
  /**
32
33
  * Unique identifier for the object.
33
34
  * @type {string}
@@ -65,7 +66,7 @@ export interface CommissionClass {
65
66
  */
66
67
  'amount': number;
67
68
  /**
68
- * The status of the commission. Valid values: pending, settled
69
+ * The status of the commission. Valid values: draft, open, published, closed
69
70
  * @type {string}
70
71
  * @memberof CommissionClass
71
72
  */