@emilgroup/commission-sdk-node 1.0.0-beta.8 → 1.0.0-beta.84

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 (176) hide show
  1. package/.openapi-generator/FILES +42 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +59 -17
  4. package/api/commission-agreement-rules-api.ts +804 -0
  5. package/api/commission-agreement-versions-api.ts +8 -8
  6. package/api/commission-agreements-api.ts +160 -27
  7. package/api/commission-candidates-api.ts +697 -0
  8. package/api/commission-recipients-api.ts +119 -12
  9. package/api/commission-settlements-api.ts +804 -0
  10. package/api/commissions-api.ts +125 -18
  11. package/api.ts +6 -0
  12. package/dist/api/commission-agreement-products-api.d.ts +39 -12
  13. package/dist/api/commission-agreement-products-api.js +32 -14
  14. package/dist/api/commission-agreement-rules-api.d.ts +450 -0
  15. package/dist/api/commission-agreement-rules-api.js +741 -0
  16. package/dist/api/commission-agreement-versions-api.d.ts +8 -8
  17. package/dist/api/commission-agreement-versions-api.js +6 -6
  18. package/dist/api/commission-agreements-api.d.ts +98 -23
  19. package/dist/api/commission-agreements-api.js +127 -22
  20. package/dist/api/commission-candidates-api.d.ts +393 -0
  21. package/dist/api/commission-candidates-api.js +648 -0
  22. package/dist/api/commission-recipients-api.d.ts +69 -12
  23. package/dist/api/commission-recipients-api.js +102 -9
  24. package/dist/api/commission-settlements-api.d.ts +450 -0
  25. package/dist/api/commission-settlements-api.js +741 -0
  26. package/dist/api/commissions-api.d.ts +75 -18
  27. package/dist/api/commissions-api.js +102 -9
  28. package/dist/api.d.ts +3 -0
  29. package/dist/api.js +3 -0
  30. package/dist/models/commission-agreement-class.d.ts +27 -3
  31. package/dist/models/commission-agreement-class.js +5 -1
  32. package/dist/models/commission-agreement-metadata-dto.d.ts +25 -0
  33. package/dist/models/commission-agreement-metadata-dto.js +15 -0
  34. package/dist/models/commission-agreement-metadata-partner-dto.d.ts +30 -0
  35. package/dist/models/commission-agreement-metadata-partner-dto.js +15 -0
  36. package/dist/models/commission-agreement-product-class.d.ts +6 -7
  37. package/dist/models/commission-agreement-rule-class.d.ts +99 -0
  38. package/dist/models/commission-agreement-rule-class.js +21 -0
  39. package/dist/models/commission-agreement-rule-config-dto.d.ts +25 -0
  40. package/dist/models/commission-agreement-rule-config-dto.js +15 -0
  41. package/dist/models/commission-agreement-rule-evaluation-class.d.ts +31 -0
  42. package/dist/models/commission-agreement-rule-evaluation-class.js +15 -0
  43. package/dist/models/commission-agreement-version-class.d.ts +7 -0
  44. package/dist/models/commission-candidate-class.d.ts +95 -0
  45. package/dist/models/commission-candidate-class.js +20 -0
  46. package/dist/models/commission-class.d.ts +37 -6
  47. package/dist/models/commission-conditions-dto.d.ts +24 -0
  48. package/dist/models/commission-conditions-dto.js +15 -0
  49. package/dist/models/commission-config-dto.d.ts +63 -0
  50. package/dist/models/commission-config-dto.js +34 -0
  51. package/dist/models/commission-estimate-class.d.ts +59 -0
  52. package/dist/models/commission-estimate-class.js +25 -0
  53. package/dist/models/commission-recipient-class.d.ts +6 -6
  54. package/dist/models/commission-settlement-class.d.ts +124 -0
  55. package/dist/models/commission-settlement-class.js +35 -0
  56. package/dist/models/create-commission-agreement-request-dto.d.ts +14 -3
  57. package/dist/models/create-commission-agreement-request-dto.js +5 -1
  58. package/dist/models/create-commission-agreement-rule-request-dto.d.ts +37 -0
  59. package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
  60. package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
  61. package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
  62. package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
  63. package/dist/models/create-commission-candidate-request-dto.d.ts +65 -0
  64. package/dist/models/create-commission-candidate-request-dto.js +25 -0
  65. package/dist/models/create-commission-candidate-response-class.d.ts +25 -0
  66. package/dist/models/create-commission-candidate-response-class.js +15 -0
  67. package/dist/models/create-commission-recipient-for-products-request-dto.d.ts +36 -0
  68. package/dist/models/create-commission-recipient-for-products-request-dto.js +15 -0
  69. package/dist/models/create-commission-recipient-for-products-response-class.d.ts +25 -0
  70. package/dist/models/create-commission-recipient-for-products-response-class.js +15 -0
  71. package/dist/models/create-commission-recipient-request-dto.d.ts +2 -2
  72. package/dist/models/create-commission-request-dto.d.ts +3 -9
  73. package/dist/models/create-commission-settlement-request-dto.d.ts +57 -0
  74. package/dist/models/create-commission-settlement-request-dto.js +35 -0
  75. package/dist/models/create-commission-settlement-response-class.d.ts +25 -0
  76. package/dist/models/create-commission-settlement-response-class.js +15 -0
  77. package/dist/models/estimate-commissions-request-dto.d.ts +30 -0
  78. package/dist/models/estimate-commissions-request-dto.js +15 -0
  79. package/dist/models/estimate-commissions-response-class.d.ts +73 -0
  80. package/dist/models/estimate-commissions-response-class.js +15 -0
  81. package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
  82. package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
  83. package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
  84. package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
  85. package/dist/models/evaluated-commission-class.d.ts +54 -0
  86. package/dist/models/evaluated-commission-class.js +21 -0
  87. package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
  88. package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
  89. package/dist/models/get-commission-candidate-response-class.d.ts +25 -0
  90. package/dist/models/get-commission-candidate-response-class.js +15 -0
  91. package/dist/models/get-commission-settlement-response-class.d.ts +25 -0
  92. package/dist/models/get-commission-settlement-response-class.js +15 -0
  93. package/dist/models/index.d.ts +39 -0
  94. package/dist/models/index.js +39 -0
  95. package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
  96. package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
  97. package/dist/models/list-commission-candidates-response-class.d.ts +43 -0
  98. package/dist/models/list-commission-candidates-response-class.js +15 -0
  99. package/dist/models/list-commission-settlements-response-class.d.ts +43 -0
  100. package/dist/models/list-commission-settlements-response-class.js +15 -0
  101. package/dist/models/patch-commission-agreement-status-request-dto.d.ts +37 -0
  102. package/dist/models/patch-commission-agreement-status-request-dto.js +22 -0
  103. package/dist/models/patch-commission-agreement-status-response-class.d.ts +25 -0
  104. package/dist/models/patch-commission-agreement-status-response-class.js +15 -0
  105. package/dist/models/publish-commission-settlements-request-dto.d.ts +24 -0
  106. package/dist/models/publish-commission-settlements-request-dto.js +15 -0
  107. package/dist/models/publish-commission-settlements-response-class.d.ts +25 -0
  108. package/dist/models/publish-commission-settlements-response-class.js +15 -0
  109. package/dist/models/update-commission-agreement-request-dto.d.ts +3 -1
  110. package/dist/models/update-commission-agreement-request-dto.js +2 -0
  111. package/dist/models/update-commission-agreement-rule-request-dto.d.ts +49 -0
  112. package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
  113. package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
  114. package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
  115. package/dist/models/update-commission-candidate-request-dto.d.ts +71 -0
  116. package/dist/models/update-commission-candidate-request-dto.js +25 -0
  117. package/dist/models/update-commission-candidate-response-class.d.ts +25 -0
  118. package/dist/models/update-commission-candidate-response-class.js +15 -0
  119. package/dist/models/update-commission-request-dto.d.ts +5 -3
  120. package/dist/models/update-commission-request-dto.js +4 -2
  121. package/dist/models/update-commission-settlement-request-dto.d.ts +43 -0
  122. package/dist/models/update-commission-settlement-request-dto.js +22 -0
  123. package/dist/models/update-commission-settlement-response-class.d.ts +25 -0
  124. package/dist/models/update-commission-settlement-response-class.js +15 -0
  125. package/models/commission-agreement-class.ts +27 -3
  126. package/models/commission-agreement-metadata-dto.ts +31 -0
  127. package/models/commission-agreement-metadata-partner-dto.ts +36 -0
  128. package/models/commission-agreement-product-class.ts +6 -7
  129. package/models/commission-agreement-rule-class.ts +108 -0
  130. package/models/commission-agreement-rule-config-dto.ts +31 -0
  131. package/models/commission-agreement-rule-evaluation-class.ts +37 -0
  132. package/models/commission-agreement-version-class.ts +7 -0
  133. package/models/commission-candidate-class.ts +104 -0
  134. package/models/commission-class.ts +37 -6
  135. package/models/commission-conditions-dto.ts +30 -0
  136. package/models/commission-config-dto.ts +73 -0
  137. package/models/commission-estimate-class.ts +69 -0
  138. package/models/commission-recipient-class.ts +6 -6
  139. package/models/commission-settlement-class.ts +134 -0
  140. package/models/create-commission-agreement-request-dto.ts +14 -3
  141. package/models/create-commission-agreement-rule-request-dto.ts +43 -0
  142. package/models/create-commission-agreement-rule-response-class.ts +31 -0
  143. package/models/create-commission-agreement-version-request-dto.ts +1 -1
  144. package/models/create-commission-candidate-request-dto.ts +75 -0
  145. package/models/create-commission-candidate-response-class.ts +31 -0
  146. package/models/create-commission-recipient-for-products-request-dto.ts +42 -0
  147. package/models/create-commission-recipient-for-products-response-class.ts +31 -0
  148. package/models/create-commission-recipient-request-dto.ts +2 -2
  149. package/models/create-commission-request-dto.ts +3 -9
  150. package/models/create-commission-settlement-request-dto.ts +67 -0
  151. package/models/create-commission-settlement-response-class.ts +31 -0
  152. package/models/estimate-commissions-request-dto.ts +36 -0
  153. package/models/estimate-commissions-response-class.ts +79 -0
  154. package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
  155. package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
  156. package/models/evaluated-commission-class.ts +63 -0
  157. package/models/get-commission-agreement-rule-response-class.ts +31 -0
  158. package/models/get-commission-candidate-response-class.ts +31 -0
  159. package/models/get-commission-settlement-response-class.ts +31 -0
  160. package/models/index.ts +39 -0
  161. package/models/list-commission-agreement-rules-response-class.ts +49 -0
  162. package/models/list-commission-candidates-response-class.ts +49 -0
  163. package/models/list-commission-settlements-response-class.ts +49 -0
  164. package/models/patch-commission-agreement-status-request-dto.ts +46 -0
  165. package/models/patch-commission-agreement-status-response-class.ts +31 -0
  166. package/models/publish-commission-settlements-request-dto.ts +30 -0
  167. package/models/publish-commission-settlements-response-class.ts +31 -0
  168. package/models/update-commission-agreement-request-dto.ts +3 -1
  169. package/models/update-commission-agreement-rule-request-dto.ts +58 -0
  170. package/models/update-commission-agreement-rule-response-class.ts +31 -0
  171. package/models/update-commission-candidate-request-dto.ts +81 -0
  172. package/models/update-commission-candidate-response-class.ts +31 -0
  173. package/models/update-commission-request-dto.ts +5 -3
  174. package/models/update-commission-settlement-request-dto.ts +52 -0
  175. package/models/update-commission-settlement-response-class.ts +31 -0
  176. package/package.json +2 -2
@@ -12,6 +12,8 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateCommissionRecipientForProductsRequestDto } from '../models';
16
+ import { CreateCommissionRecipientForProductsResponseClass } from '../models';
15
17
  import { CreateCommissionRecipientRequestDto } from '../models';
16
18
  import { CreateCommissionRecipientResponseClass } from '../models';
17
19
  import { GetCommissionRecipientResponseClass } from '../models';
@@ -32,6 +34,15 @@ export declare const CommissionRecipientsApiAxiosParamCreator: (configuration?:
32
34
  * @throws {RequiredError}
33
35
  */
34
36
  createCommissionRecipient: (createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * This will create a list of commission recipients, one per commission agreement product code provided
39
+ * @summary Create the commission recipient bulk
40
+ * @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ createCommissionRecipientWithProducts: (createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
46
  /**
36
47
  * This will delete commission recipient.
37
48
  * @summary Delete the commission recipient
@@ -57,11 +68,11 @@ export declare const CommissionRecipientsApiAxiosParamCreator: (configuration?:
57
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
69
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
70
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
60
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
71
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
61
72
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
62
73
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
63
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
64
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
74
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
75
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
65
76
  * @param {*} [options] Override http request option.
66
77
  * @throws {RequiredError}
67
78
  */
@@ -91,6 +102,15 @@ export declare const CommissionRecipientsApiFp: (configuration?: Configuration)
91
102
  * @throws {RequiredError}
92
103
  */
93
104
  createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientResponseClass>>;
105
+ /**
106
+ * This will create a list of commission recipients, one per commission agreement product code provided
107
+ * @summary Create the commission recipient bulk
108
+ * @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
109
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientForProductsResponseClass>>;
94
114
  /**
95
115
  * This will delete commission recipient.
96
116
  * @summary Delete the commission recipient
@@ -116,11 +136,11 @@ export declare const CommissionRecipientsApiFp: (configuration?: Configuration)
116
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
137
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
138
  * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
139
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
120
140
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
141
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
122
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
123
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
142
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
143
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
124
144
  * @param {*} [options] Override http request option.
125
145
  * @throws {RequiredError}
126
146
  */
@@ -150,6 +170,15 @@ export declare const CommissionRecipientsApiFactory: (configuration?: Configurat
150
170
  * @throws {RequiredError}
151
171
  */
152
172
  createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass>;
173
+ /**
174
+ * This will create a list of commission recipients, one per commission agreement product code provided
175
+ * @summary Create the commission recipient bulk
176
+ * @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
177
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientForProductsResponseClass>;
153
182
  /**
154
183
  * This will delete commission recipient.
155
184
  * @summary Delete the commission recipient
@@ -175,11 +204,11 @@ export declare const CommissionRecipientsApiFactory: (configuration?: Configurat
175
204
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
205
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
206
  * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
207
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
179
208
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
180
209
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
181
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
210
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
211
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
183
212
  * @param {*} [options] Override http request option.
184
213
  * @throws {RequiredError}
185
214
  */
@@ -214,6 +243,25 @@ export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
214
243
  */
215
244
  readonly authorization?: string;
216
245
  }
246
+ /**
247
+ * Request parameters for createCommissionRecipientWithProducts operation in CommissionRecipientsApi.
248
+ * @export
249
+ * @interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest
250
+ */
251
+ export interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest {
252
+ /**
253
+ *
254
+ * @type {CreateCommissionRecipientForProductsRequestDto}
255
+ * @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
256
+ */
257
+ readonly createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto;
258
+ /**
259
+ * Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @type {string}
261
+ * @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
262
+ */
263
+ readonly authorization?: string;
264
+ }
217
265
  /**
218
266
  * Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
219
267
  * @export
@@ -283,7 +331,7 @@ export interface CommissionRecipientsApiListCommissionRecipientsRequest {
283
331
  */
284
332
  readonly pageToken?: string;
285
333
  /**
286
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
334
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
287
335
  * @type {string}
288
336
  * @memberof CommissionRecipientsApiListCommissionRecipients
289
337
  */
@@ -301,13 +349,13 @@ export interface CommissionRecipientsApiListCommissionRecipientsRequest {
301
349
  */
302
350
  readonly order?: string;
303
351
  /**
304
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
352
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
305
353
  * @type {string}
306
354
  * @memberof CommissionRecipientsApiListCommissionRecipients
307
355
  */
308
356
  readonly expand?: string;
309
357
  /**
310
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
358
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
311
359
  * @type {string}
312
360
  * @memberof CommissionRecipientsApiListCommissionRecipients
313
361
  */
@@ -354,6 +402,15 @@ export declare class CommissionRecipientsApi extends BaseAPI {
354
402
  * @memberof CommissionRecipientsApi
355
403
  */
356
404
  createCommissionRecipient(requestParameters: CommissionRecipientsApiCreateCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionRecipientResponseClass, any, {}>>;
405
+ /**
406
+ * This will create a list of commission recipients, one per commission agreement product code provided
407
+ * @summary Create the commission recipient bulk
408
+ * @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ * @memberof CommissionRecipientsApi
412
+ */
413
+ createCommissionRecipientWithProducts(requestParameters: CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionRecipientForProductsResponseClass, any, {}>>;
357
414
  /**
358
415
  * This will delete commission recipient.
359
416
  * @summary Delete the commission recipient
@@ -145,6 +145,55 @@ var CommissionRecipientsApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
+ /**
149
+ * This will create a list of commission recipients, one per commission agreement product code provided
150
+ * @summary Create the commission recipient bulk
151
+ * @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0:
163
+ // verify required parameter 'createCommissionRecipientForProductsRequestDto' is not null or undefined
164
+ (0, common_1.assertParamExists)('createCommissionRecipientWithProducts', 'createCommissionRecipientForProductsRequestDto', createCommissionRecipientForProductsRequestDto);
165
+ localVarPath = "/commissionservice/v1/commission-recipients/bulk";
166
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
+ if (configuration) {
168
+ baseOptions = configuration.baseOptions;
169
+ baseAccessToken = configuration.accessToken;
170
+ }
171
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
172
+ localVarHeaderParameter = {};
173
+ localVarQueryParameter = {};
174
+ // authentication bearer required
175
+ // http bearer authentication required
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
177
+ case 1:
178
+ // authentication bearer required
179
+ // http bearer authentication required
180
+ _a.sent();
181
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
183
+ }
184
+ localVarHeaderParameter['Content-Type'] = 'application/json';
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCommissionRecipientForProductsRequestDto, localVarRequestOptions, configuration);
189
+ return [2 /*return*/, {
190
+ url: (0, common_1.toPathString)(localVarUrlObj),
191
+ options: localVarRequestOptions,
192
+ }];
193
+ }
194
+ });
195
+ });
196
+ },
148
197
  /**
149
198
  * This will delete commission recipient.
150
199
  * @summary Delete the commission recipient
@@ -253,11 +302,11 @@ var CommissionRecipientsApiAxiosParamCreator = function (configuration) {
253
302
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
303
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
304
  * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
305
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
257
306
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
258
307
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
259
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
260
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
308
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
309
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
261
310
  * @param {*} [options] Override http request option.
262
311
  * @throws {RequiredError}
263
312
  */
@@ -403,6 +452,27 @@ var CommissionRecipientsApiFp = function (configuration) {
403
452
  });
404
453
  });
405
454
  },
455
+ /**
456
+ * This will create a list of commission recipients, one per commission agreement product code provided
457
+ * @summary Create the commission recipient bulk
458
+ * @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
459
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
460
+ * @param {*} [options] Override http request option.
461
+ * @throws {RequiredError}
462
+ */
463
+ createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
464
+ return __awaiter(this, void 0, void 0, function () {
465
+ var localVarAxiosArgs;
466
+ return __generator(this, function (_a) {
467
+ switch (_a.label) {
468
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options)];
469
+ case 1:
470
+ localVarAxiosArgs = _a.sent();
471
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
472
+ }
473
+ });
474
+ });
475
+ },
406
476
  /**
407
477
  * This will delete commission recipient.
408
478
  * @summary Delete the commission recipient
@@ -452,11 +522,11 @@ var CommissionRecipientsApiFp = function (configuration) {
452
522
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
523
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
524
  * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
525
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
456
526
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
457
527
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
458
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
459
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
528
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
529
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
460
530
  * @param {*} [options] Override http request option.
461
531
  * @throws {RequiredError}
462
532
  */
@@ -516,6 +586,17 @@ var CommissionRecipientsApiFactory = function (configuration, basePath, axios) {
516
586
  createCommissionRecipient: function (createCommissionRecipientRequestDto, authorization, options) {
517
587
  return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
518
588
  },
589
+ /**
590
+ * This will create a list of commission recipients, one per commission agreement product code provided
591
+ * @summary Create the commission recipient bulk
592
+ * @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
593
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
594
+ * @param {*} [options] Override http request option.
595
+ * @throws {RequiredError}
596
+ */
597
+ createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
598
+ return localVarFp.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
599
+ },
519
600
  /**
520
601
  * This will delete commission recipient.
521
602
  * @summary Delete the commission recipient
@@ -545,11 +626,11 @@ var CommissionRecipientsApiFactory = function (configuration, basePath, axios) {
545
626
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
546
627
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
547
628
  * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
629
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
549
630
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
550
631
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
551
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
552
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
632
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: commissionAgreementProduct&lt;i&gt;
633
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt, commissionAgreementProductCode, commissionAgreementVersionCode&lt;/i&gt;
553
634
  * @param {*} [options] Override http request option.
554
635
  * @throws {RequiredError}
555
636
  */
@@ -594,6 +675,18 @@ var CommissionRecipientsApi = /** @class */ (function (_super) {
594
675
  var _this = this;
595
676
  return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
677
  };
678
+ /**
679
+ * This will create a list of commission recipients, one per commission agreement product code provided
680
+ * @summary Create the commission recipient bulk
681
+ * @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ * @memberof CommissionRecipientsApi
685
+ */
686
+ CommissionRecipientsApi.prototype.createCommissionRecipientWithProducts = function (requestParameters, options) {
687
+ var _this = this;
688
+ return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipientWithProducts(requestParameters.createCommissionRecipientForProductsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
689
+ };
597
690
  /**
598
691
  * This will delete commission recipient.
599
692
  * @summary Delete the commission recipient