@emilgroup/commission-sdk-node 1.0.0-beta.3 → 1.0.0-beta.30

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 (157) hide show
  1. package/.openapi-generator/FILES +43 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +655 -0
  4. package/api/commission-agreement-rules-api.ts +762 -0
  5. package/api/commission-agreements-api.ts +40 -27
  6. package/api/commission-recipients-api.ts +697 -0
  7. package/api/commission-settlements-api.ts +804 -0
  8. package/api/commissions-api.ts +18 -18
  9. package/api.ts +8 -0
  10. package/dist/api/commission-agreement-products-api.d.ts +366 -0
  11. package/dist/api/commission-agreement-products-api.js +630 -0
  12. package/dist/api/commission-agreement-rules-api.d.ts +423 -0
  13. package/dist/api/commission-agreement-rules-api.js +723 -0
  14. package/dist/api/commission-agreements-api.d.ts +32 -23
  15. package/dist/api/commission-agreements-api.js +28 -22
  16. package/dist/api/commission-recipients-api.d.ts +393 -0
  17. package/dist/api/commission-recipients-api.js +648 -0
  18. package/dist/api/commission-settlements-api.d.ts +450 -0
  19. package/dist/api/commission-settlements-api.js +741 -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 +4 -0
  23. package/dist/api.js +4 -0
  24. package/dist/models/commission-agreement-class.d.ts +20 -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 +77 -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-agreement-version-class.d.ts +7 -0
  38. package/dist/models/commission-class.d.ts +29 -4
  39. package/dist/models/commission-conditions-dto.d.ts +24 -0
  40. package/dist/models/commission-conditions-dto.js +15 -0
  41. package/dist/models/commission-config-dto.d.ts +63 -0
  42. package/dist/models/commission-config-dto.js +34 -0
  43. package/dist/models/commission-recipient-class.d.ts +90 -0
  44. package/dist/models/commission-recipient-class.js +20 -0
  45. package/dist/models/commission-settlement-class.d.ts +124 -0
  46. package/dist/models/commission-settlement-class.js +35 -0
  47. package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
  48. package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
  49. package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
  50. package/dist/models/create-commission-agreement-product-response-class.js +15 -0
  51. package/dist/models/create-commission-agreement-request-dto.d.ts +8 -1
  52. package/dist/models/create-commission-agreement-rule-request-dto.d.ts +31 -0
  53. package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
  54. package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
  55. package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
  56. package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
  57. package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
  58. package/dist/models/create-commission-recipient-request-dto.js +15 -0
  59. package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
  60. package/dist/models/create-commission-recipient-response-class.js +15 -0
  61. package/dist/models/create-commission-settlement-request-dto.d.ts +37 -0
  62. package/dist/models/create-commission-settlement-request-dto.js +22 -0
  63. package/dist/models/create-commission-settlement-response-class.d.ts +25 -0
  64. package/dist/models/create-commission-settlement-response-class.js +15 -0
  65. package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
  66. package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
  67. package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
  68. package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
  69. package/dist/models/evaluated-commission-class.d.ts +54 -0
  70. package/dist/models/evaluated-commission-class.js +21 -0
  71. package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
  72. package/dist/models/get-commission-agreement-product-response-class.js +15 -0
  73. package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
  74. package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
  75. package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
  76. package/dist/models/get-commission-recipient-response-class.js +15 -0
  77. package/dist/models/get-commission-settlement-response-class.d.ts +25 -0
  78. package/dist/models/get-commission-settlement-response-class.js +15 -0
  79. package/dist/models/index.d.ts +39 -0
  80. package/dist/models/index.js +39 -0
  81. package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
  82. package/dist/models/list-commission-agreement-products-response-class.js +15 -0
  83. package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
  84. package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
  85. package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
  86. package/dist/models/list-commission-recipients-response-class.js +15 -0
  87. package/dist/models/list-commission-settlements-response-class.d.ts +43 -0
  88. package/dist/models/list-commission-settlements-response-class.js +15 -0
  89. package/dist/models/publish-commission-settlements-request-dto.d.ts +24 -0
  90. package/dist/models/publish-commission-settlements-request-dto.js +15 -0
  91. package/dist/models/publish-commission-settlements-response-class.d.ts +25 -0
  92. package/dist/models/publish-commission-settlements-response-class.js +15 -0
  93. package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
  94. package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
  95. package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
  96. package/dist/models/update-commission-agreement-product-response-class.js +15 -0
  97. package/dist/models/update-commission-agreement-rule-request-dto.d.ts +43 -0
  98. package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
  99. package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
  100. package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
  101. package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
  102. package/dist/models/update-commission-recipient-request-dto.js +15 -0
  103. package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
  104. package/dist/models/update-commission-recipient-response-class.js +15 -0
  105. package/dist/models/update-commission-request-dto.d.ts +5 -3
  106. package/dist/models/update-commission-request-dto.js +4 -2
  107. package/dist/models/update-commission-settlement-request-dto.d.ts +43 -0
  108. package/dist/models/update-commission-settlement-request-dto.js +22 -0
  109. package/dist/models/update-commission-settlement-response-class.d.ts +25 -0
  110. package/dist/models/update-commission-settlement-response-class.js +15 -0
  111. package/models/commission-agreement-class.ts +20 -0
  112. package/models/commission-agreement-metadata-dto.ts +31 -0
  113. package/models/commission-agreement-metadata-partner-dto.ts +36 -0
  114. package/models/commission-agreement-product-class.ts +86 -0
  115. package/models/commission-agreement-rule-class.ts +89 -0
  116. package/models/commission-agreement-rule-config-dto.ts +31 -0
  117. package/models/commission-agreement-rule-evaluation-class.ts +37 -0
  118. package/models/commission-agreement-version-class.ts +7 -0
  119. package/models/commission-class.ts +29 -4
  120. package/models/commission-conditions-dto.ts +30 -0
  121. package/models/commission-config-dto.ts +73 -0
  122. package/models/commission-recipient-class.ts +99 -0
  123. package/models/commission-settlement-class.ts +134 -0
  124. package/models/create-commission-agreement-product-request-dto.ts +36 -0
  125. package/models/create-commission-agreement-product-response-class.ts +31 -0
  126. package/models/create-commission-agreement-request-dto.ts +8 -1
  127. package/models/create-commission-agreement-rule-request-dto.ts +37 -0
  128. package/models/create-commission-agreement-rule-response-class.ts +31 -0
  129. package/models/create-commission-agreement-version-request-dto.ts +1 -1
  130. package/models/create-commission-recipient-request-dto.ts +42 -0
  131. package/models/create-commission-recipient-response-class.ts +31 -0
  132. package/models/create-commission-settlement-request-dto.ts +46 -0
  133. package/models/create-commission-settlement-response-class.ts +31 -0
  134. package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
  135. package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
  136. package/models/evaluated-commission-class.ts +63 -0
  137. package/models/get-commission-agreement-product-response-class.ts +31 -0
  138. package/models/get-commission-agreement-rule-response-class.ts +31 -0
  139. package/models/get-commission-recipient-response-class.ts +31 -0
  140. package/models/get-commission-settlement-response-class.ts +31 -0
  141. package/models/index.ts +39 -0
  142. package/models/list-commission-agreement-products-response-class.ts +49 -0
  143. package/models/list-commission-agreement-rules-response-class.ts +49 -0
  144. package/models/list-commission-recipients-response-class.ts +49 -0
  145. package/models/list-commission-settlements-response-class.ts +49 -0
  146. package/models/publish-commission-settlements-request-dto.ts +30 -0
  147. package/models/publish-commission-settlements-response-class.ts +31 -0
  148. package/models/update-commission-agreement-product-request-dto.ts +50 -0
  149. package/models/update-commission-agreement-product-response-class.ts +31 -0
  150. package/models/update-commission-agreement-rule-request-dto.ts +52 -0
  151. package/models/update-commission-agreement-rule-response-class.ts +31 -0
  152. package/models/update-commission-recipient-request-dto.ts +48 -0
  153. package/models/update-commission-recipient-response-class.ts +31 -0
  154. package/models/update-commission-request-dto.ts +5 -3
  155. package/models/update-commission-settlement-request-dto.ts +52 -0
  156. package/models/update-commission-settlement-response-class.ts +31 -0
  157. 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' | 'settlementCode'} [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 {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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' | 'settlementCode', search?: string, order?: 'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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' | 'settlementCode'} [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 {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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' | 'settlementCode', search?: string, order?: 'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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' | 'settlementCode'} [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 {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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' | 'settlementCode', search?: string, order?: 'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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' | 'settlementCode'}
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' | 'settlementCode';
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 {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
300
300
  * @memberof CommissionsApiListCommissions
301
301
  */
302
- readonly order?: 'createdAt';
302
+ readonly order?: 'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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}
@@ -253,10 +253,10 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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
- * @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.
256
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
257
257
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
258
- * @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.
259
- * @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.
258
+ * @param {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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.
259
+ * @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.
260
260
  * @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.
261
261
  * @param {*} [options] Override http request option.
262
262
  * @throws {RequiredError}
@@ -452,10 +452,10 @@ var CommissionsApiFp = function (configuration) {
452
452
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
453
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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
- * @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.
455
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
456
456
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
457
- * @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.
458
- * @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.
457
+ * @param {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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.
458
+ * @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.
459
459
  * @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.
460
460
  * @param {*} [options] Override http request option.
461
461
  * @throws {RequiredError}
@@ -545,10 +545,10 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
545
545
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
546
546
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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
- * @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.
548
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
549
549
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
550
- * @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.
551
- * @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.
550
+ * @param {'agreement.commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | '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.
551
+ * @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.
552
552
  * @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.
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
package/dist/api.d.ts CHANGED
@@ -9,7 +9,11 @@
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';
17
+ export * from './api/commission-settlements-api';
14
18
  export * from './api/commissions-api';
15
19
  export * from './api/default-api';
package/dist/api.js CHANGED
@@ -27,7 +27,11 @@ 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);
35
+ __exportStar(require("./api/commission-settlements-api"), exports);
32
36
  __exportStar(require("./api/commissions-api"), exports);
33
37
  __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
@@ -33,12 +35,24 @@ export interface CommissionAgreementClass {
33
35
  * @memberof CommissionAgreementClass
34
36
  */
35
37
  'code': string;
38
+ /**
39
+ * Unique number identifier for the commission agreement
40
+ * @type {string}
41
+ * @memberof CommissionAgreementClass
42
+ */
43
+ 'commissionAgreementNumber': string;
36
44
  /**
37
45
  * Current status of the commission agreement (e.g., active, inactive)
38
46
  * @type {string}
39
47
  * @memberof CommissionAgreementClass
40
48
  */
41
49
  'status': CommissionAgreementClassStatusEnum;
50
+ /**
51
+ * Array of commission agreement versions
52
+ * @type {Array<CommissionAgreementVersionClass>}
53
+ * @memberof CommissionAgreementClass
54
+ */
55
+ 'versions'?: Array<CommissionAgreementVersionClass>;
42
56
  /**
43
57
  * Detailed description of the commission agreement terms and conditions
44
58
  * @type {string}
@@ -51,6 +65,12 @@ export interface CommissionAgreementClass {
51
65
  * @memberof CommissionAgreementClass
52
66
  */
53
67
  'billingFrequency'?: CommissionAgreementClassBillingFrequencyEnum;
68
+ /**
69
+ * Metadata associated with the commission agreement
70
+ * @type {CommissionAgreementMetadataDto}
71
+ * @memberof CommissionAgreementClass
72
+ */
73
+ 'metadata'?: CommissionAgreementMetadataDto;
54
74
  /**
55
75
  * Timestamp when the commission agreement was created
56
76
  * @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,77 @@
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 CommissionAgreementProductClass
16
+ */
17
+ export interface CommissionAgreementProductClass {
18
+ /**
19
+ * Unique identifier for the commission agreement product
20
+ * @type {number}
21
+ * @memberof CommissionAgreementProductClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Product slug identifier
26
+ * @type {string}
27
+ * @memberof CommissionAgreementProductClass
28
+ */
29
+ 'productSlug': string;
30
+ /**
31
+ * Unique code identifier for the commission agreement product, auto-generated on creation
32
+ * @type {string}
33
+ * @memberof CommissionAgreementProductClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * The parent commission agreement version code
38
+ * @type {string}
39
+ * @memberof CommissionAgreementProductClass
40
+ */
41
+ 'commissionAgreementVersionCode': string;
42
+ /**
43
+ * Status of the commission agreement product
44
+ * @type {string}
45
+ * @memberof CommissionAgreementProductClass
46
+ */
47
+ 'status': CommissionAgreementProductClassStatusEnum;
48
+ /**
49
+ * Timestamp when the commission agreement product was created
50
+ * @type {string}
51
+ * @memberof CommissionAgreementProductClass
52
+ */
53
+ 'createdAt'?: string;
54
+ /**
55
+ * Timestamp when the commission agreement product was last updated
56
+ * @type {string}
57
+ * @memberof CommissionAgreementProductClass
58
+ */
59
+ 'updatedAt'?: string;
60
+ /**
61
+ * User identifier who created the commission agreement product
62
+ * @type {string}
63
+ * @memberof CommissionAgreementProductClass
64
+ */
65
+ 'createdBy'?: string;
66
+ /**
67
+ * User identifier who last updated the commission agreement product
68
+ * @type {string}
69
+ * @memberof CommissionAgreementProductClass
70
+ */
71
+ 'updatedBy'?: string;
72
+ }
73
+ export declare const CommissionAgreementProductClassStatusEnum: {
74
+ readonly Active: "active";
75
+ readonly Inactive: "inactive";
76
+ };
77
+ 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 });