@emilgroup/partner-sdk-node 1.23.1-beta.7 → 1.24.1-beta.0

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 (171) hide show
  1. package/.openapi-generator/FILES +42 -1
  2. package/README.md +2 -2
  3. package/api/blacklist-api.ts +3 -3
  4. package/api/blacklist-reasons-api.ts +3 -3
  5. package/api/{default-api.ts → health-api.ts} +13 -13
  6. package/api/partner-hierarchies-api.ts +1170 -0
  7. package/api/partner-hierarchy-nodes-api.ts +1201 -0
  8. package/api/partner-hierarchy-operations-api.ts +367 -0
  9. package/api/partner-hierarchy-types-api.ts +683 -0
  10. package/api/partners-api.ts +211 -12
  11. package/api.ts +10 -2
  12. package/base.ts +1 -0
  13. package/dist/api/blacklist-api.d.ts +4 -4
  14. package/dist/api/blacklist-reasons-api.d.ts +4 -4
  15. package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
  16. package/dist/api/{default-api.js → health-api.js} +22 -22
  17. package/dist/api/partner-hierarchies-api.d.ts +655 -0
  18. package/dist/api/partner-hierarchies-api.js +1041 -0
  19. package/dist/api/partner-hierarchy-nodes-api.d.ts +674 -0
  20. package/dist/api/partner-hierarchy-nodes-api.js +1053 -0
  21. package/dist/api/partner-hierarchy-operations-api.d.ts +215 -0
  22. package/dist/api/partner-hierarchy-operations-api.js +362 -0
  23. package/dist/api/partner-hierarchy-types-api.d.ts +385 -0
  24. package/dist/api/partner-hierarchy-types-api.js +640 -0
  25. package/dist/api/partners-api.d.ts +130 -12
  26. package/dist/api/partners-api.js +143 -9
  27. package/dist/api.d.ts +5 -1
  28. package/dist/api.js +5 -1
  29. package/dist/base.d.ts +2 -1
  30. package/dist/base.js +1 -0
  31. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
  32. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
  33. package/dist/models/create-partner-hierarchy-node-request-dto.d.ts +42 -0
  34. package/dist/models/create-partner-hierarchy-node-request-dto.js +15 -0
  35. package/dist/models/create-partner-hierarchy-node-response-class.d.ts +25 -0
  36. package/dist/models/create-partner-hierarchy-node-response-class.js +15 -0
  37. package/dist/models/create-partner-hierarchy-request-dto.d.ts +30 -0
  38. package/dist/models/create-partner-hierarchy-request-dto.js +15 -0
  39. package/dist/models/create-partner-hierarchy-response-class.d.ts +25 -0
  40. package/dist/models/create-partner-hierarchy-response-class.js +15 -0
  41. package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +30 -0
  42. package/dist/models/create-partner-hierarchy-type-request-dto.js +15 -0
  43. package/dist/models/create-partner-hierarchy-type-response-class.d.ts +25 -0
  44. package/dist/models/create-partner-hierarchy-type-response-class.js +15 -0
  45. package/dist/models/create-partner-request-dto.d.ts +4 -2
  46. package/dist/models/delete-by-code-response-class.d.ts +24 -0
  47. package/dist/models/delete-by-code-response-class.js +15 -0
  48. package/dist/models/generate-upload-url-response-class.d.ts +36 -0
  49. package/dist/models/generate-upload-url-response-class.js +15 -0
  50. package/dist/models/get-partner-hierarchy-node-response-class.d.ts +25 -0
  51. package/dist/models/get-partner-hierarchy-node-response-class.js +15 -0
  52. package/dist/models/get-partner-hierarchy-operation-response-class.d.ts +25 -0
  53. package/dist/models/get-partner-hierarchy-operation-response-class.js +15 -0
  54. package/dist/models/get-partner-hierarchy-response-class.d.ts +25 -0
  55. package/dist/models/get-partner-hierarchy-response-class.js +15 -0
  56. package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +60 -0
  57. package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
  58. package/dist/models/get-partner-hierarchy-tree-response-class.d.ts +25 -0
  59. package/dist/models/get-partner-hierarchy-tree-response-class.js +15 -0
  60. package/dist/models/get-partner-hierarchy-type-response-class.d.ts +25 -0
  61. package/dist/models/get-partner-hierarchy-type-response-class.js +15 -0
  62. package/dist/models/index.d.ts +37 -0
  63. package/dist/models/index.js +37 -0
  64. package/dist/models/list-blacklist-items-response-class.d.ts +12 -0
  65. package/dist/models/list-partner-hierarchies-response-class.d.ts +43 -0
  66. package/dist/models/list-partner-hierarchies-response-class.js +15 -0
  67. package/dist/models/list-partner-hierarchy-node-history-response-class.d.ts +43 -0
  68. package/dist/models/list-partner-hierarchy-node-history-response-class.js +15 -0
  69. package/dist/models/list-partner-hierarchy-nodes-response-class.d.ts +43 -0
  70. package/dist/models/list-partner-hierarchy-nodes-response-class.js +15 -0
  71. package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
  72. package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
  73. package/dist/models/list-partner-hierarchy-types-response-class.d.ts +43 -0
  74. package/dist/models/list-partner-hierarchy-types-response-class.js +15 -0
  75. package/dist/models/list-partner-relation-class.d.ts +18 -6
  76. package/dist/models/list-partner-relation-types-class.d.ts +18 -6
  77. package/dist/models/list-partner-types-response-class.d.ts +18 -6
  78. package/dist/models/list-partner-versions-response-class.d.ts +18 -6
  79. package/dist/models/list-partners-response-class.d.ts +12 -0
  80. package/dist/models/list-related-partners-response-class.d.ts +18 -6
  81. package/dist/models/list-tags-response-class.d.ts +18 -6
  82. package/dist/models/merge-partners-request-dto.d.ts +4 -2
  83. package/dist/models/move-partner-hierarchy-node-request-dto.d.ts +30 -0
  84. package/dist/models/move-partner-hierarchy-node-request-dto.js +15 -0
  85. package/dist/models/move-partner-hierarchy-node-response-class.d.ts +25 -0
  86. package/dist/models/move-partner-hierarchy-node-response-class.js +15 -0
  87. package/dist/models/partner-class.d.ts +6 -0
  88. package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
  89. package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
  90. package/dist/models/partner-hierarchy-class.d.ts +72 -0
  91. package/dist/models/partner-hierarchy-class.js +15 -0
  92. package/dist/models/partner-hierarchy-node-class.d.ts +109 -0
  93. package/dist/models/partner-hierarchy-node-class.js +15 -0
  94. package/dist/models/partner-hierarchy-node-history-class.d.ts +97 -0
  95. package/dist/models/partner-hierarchy-node-history-class.js +15 -0
  96. package/dist/models/partner-hierarchy-node-tree-class.d.ts +96 -0
  97. package/dist/models/partner-hierarchy-node-tree-class.js +15 -0
  98. package/dist/models/partner-hierarchy-operation-class.d.ts +110 -0
  99. package/dist/models/partner-hierarchy-operation-class.js +27 -0
  100. package/dist/models/partner-hierarchy-type-class.d.ts +66 -0
  101. package/dist/models/partner-hierarchy-type-class.js +15 -0
  102. package/dist/models/unassign-partner-hierarchy-node-response-class.d.ts +25 -0
  103. package/dist/models/unassign-partner-hierarchy-node-response-class.js +15 -0
  104. package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
  105. package/dist/models/update-partner-hierarchy-node-request-dto.d.ts +30 -0
  106. package/dist/models/update-partner-hierarchy-node-request-dto.js +15 -0
  107. package/dist/models/update-partner-hierarchy-node-response-class.d.ts +25 -0
  108. package/dist/models/update-partner-hierarchy-node-response-class.js +15 -0
  109. package/dist/models/update-partner-hierarchy-request-dto.d.ts +24 -0
  110. package/dist/models/update-partner-hierarchy-request-dto.js +15 -0
  111. package/dist/models/update-partner-hierarchy-response-class.d.ts +25 -0
  112. package/dist/models/update-partner-hierarchy-response-class.js +15 -0
  113. package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
  114. package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
  115. package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +30 -0
  116. package/dist/models/update-partner-hierarchy-type-request-dto.js +15 -0
  117. package/dist/models/update-partner-hierarchy-type-response-class.d.ts +25 -0
  118. package/dist/models/update-partner-hierarchy-type-response-class.js +15 -0
  119. package/dist/models/update-partner-request-dto.d.ts +4 -2
  120. package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
  121. package/models/create-partner-hierarchy-node-request-dto.ts +48 -0
  122. package/models/create-partner-hierarchy-node-response-class.ts +31 -0
  123. package/models/create-partner-hierarchy-request-dto.ts +36 -0
  124. package/models/create-partner-hierarchy-response-class.ts +31 -0
  125. package/models/create-partner-hierarchy-type-request-dto.ts +36 -0
  126. package/models/create-partner-hierarchy-type-response-class.ts +31 -0
  127. package/models/create-partner-request-dto.ts +2 -2
  128. package/models/delete-by-code-response-class.ts +30 -0
  129. package/models/generate-upload-url-response-class.ts +42 -0
  130. package/models/get-partner-hierarchy-node-response-class.ts +31 -0
  131. package/models/get-partner-hierarchy-operation-response-class.ts +31 -0
  132. package/models/get-partner-hierarchy-response-class.ts +31 -0
  133. package/models/get-partner-hierarchy-tree-file-response-class.ts +66 -0
  134. package/models/get-partner-hierarchy-tree-response-class.ts +31 -0
  135. package/models/get-partner-hierarchy-type-response-class.ts +31 -0
  136. package/models/index.ts +37 -0
  137. package/models/list-blacklist-items-response-class.ts +12 -0
  138. package/models/list-partner-hierarchies-response-class.ts +49 -0
  139. package/models/list-partner-hierarchy-node-history-response-class.ts +49 -0
  140. package/models/list-partner-hierarchy-nodes-response-class.ts +49 -0
  141. package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
  142. package/models/list-partner-hierarchy-types-response-class.ts +49 -0
  143. package/models/list-partner-relation-class.ts +18 -6
  144. package/models/list-partner-relation-types-class.ts +18 -6
  145. package/models/list-partner-types-response-class.ts +18 -6
  146. package/models/list-partner-versions-response-class.ts +18 -6
  147. package/models/list-partners-response-class.ts +12 -0
  148. package/models/list-related-partners-response-class.ts +18 -6
  149. package/models/list-tags-response-class.ts +18 -6
  150. package/models/merge-partners-request-dto.ts +2 -2
  151. package/models/move-partner-hierarchy-node-request-dto.ts +36 -0
  152. package/models/move-partner-hierarchy-node-response-class.ts +31 -0
  153. package/models/partner-class.ts +6 -0
  154. package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
  155. package/models/partner-hierarchy-class.ts +78 -0
  156. package/models/partner-hierarchy-node-class.ts +115 -0
  157. package/models/partner-hierarchy-node-history-class.ts +103 -0
  158. package/models/partner-hierarchy-node-tree-class.ts +102 -0
  159. package/models/partner-hierarchy-operation-class.ts +120 -0
  160. package/models/partner-hierarchy-type-class.ts +72 -0
  161. package/models/unassign-partner-hierarchy-node-response-class.ts +31 -0
  162. package/models/update-blacklist-reason-status-request-dto.ts +1 -1
  163. package/models/update-partner-hierarchy-node-request-dto.ts +36 -0
  164. package/models/update-partner-hierarchy-node-response-class.ts +31 -0
  165. package/models/update-partner-hierarchy-request-dto.ts +30 -0
  166. package/models/update-partner-hierarchy-response-class.ts +31 -0
  167. package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
  168. package/models/update-partner-hierarchy-type-request-dto.ts +36 -0
  169. package/models/update-partner-hierarchy-type-response-class.ts +31 -0
  170. package/models/update-partner-request-dto.ts +2 -2
  171. package/package.json +2 -2
@@ -302,11 +302,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
302
302
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
303
303
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
304
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
305
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
305
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
306
306
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
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.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
308
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.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
309
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
309
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
310
310
  * @param {*} [options] Override http request option.
311
311
  * @throws {RequiredError}
312
312
  */
@@ -443,6 +443,86 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
443
443
 
444
444
 
445
445
 
446
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
447
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
448
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
449
+
450
+ return {
451
+ url: toPathString(localVarUrlObj),
452
+ options: localVarRequestOptions,
453
+ };
454
+ },
455
+ /**
456
+ * Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
457
+ * @summary List sub-partners
458
+ * @param {string} code Unique identifier for the object.
459
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
460
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
461
+ * @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.
462
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
463
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
464
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
465
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
466
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ */
470
+ listSubPartners: async (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
471
+ // verify required parameter 'code' is not null or undefined
472
+ assertParamExists('listSubPartners', 'code', code)
473
+ const localVarPath = `/partnerservice/v1/partners/{code}/sub-partners`
474
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
475
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
476
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
477
+ let baseOptions;
478
+ let baseAccessToken;
479
+ if (configuration) {
480
+ baseOptions = configuration.baseOptions;
481
+ baseAccessToken = configuration.accessToken;
482
+ }
483
+
484
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
485
+ const localVarHeaderParameter = {} as any;
486
+ const localVarQueryParameter = {} as any;
487
+
488
+ // authentication bearer required
489
+ // http bearer authentication required
490
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
491
+
492
+ if (pageSize !== undefined) {
493
+ localVarQueryParameter['pageSize'] = pageSize;
494
+ }
495
+
496
+ if (pageToken !== undefined) {
497
+ localVarQueryParameter['pageToken'] = pageToken;
498
+ }
499
+
500
+ if (filter !== undefined) {
501
+ localVarQueryParameter['filter'] = filter;
502
+ }
503
+
504
+ if (search !== undefined) {
505
+ localVarQueryParameter['search'] = search;
506
+ }
507
+
508
+ if (order !== undefined) {
509
+ localVarQueryParameter['order'] = order;
510
+ }
511
+
512
+ if (expand !== undefined) {
513
+ localVarQueryParameter['expand'] = expand;
514
+ }
515
+
516
+ if (filters !== undefined) {
517
+ localVarQueryParameter['filters'] = filters;
518
+ }
519
+
520
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
521
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
522
+ }
523
+
524
+
525
+
446
526
  setSearchParams(localVarUrlObj, localVarQueryParameter);
447
527
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
448
528
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -729,11 +809,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
729
809
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
730
810
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
731
811
  * @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.
732
- * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode&lt;/i&gt;
812
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
733
813
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
734
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels&lt;/i&gt;
814
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount&lt;/i&gt;
735
815
  * @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: partnerType, tags, partnerTagLabels&lt;i&gt;
736
- * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode&lt;/i&gt;
816
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
737
817
  * @param {*} [options] Override http request option.
738
818
  * @throws {RequiredError}
739
819
  */
@@ -760,6 +840,25 @@ export const PartnersApiFp = function(configuration?: Configuration) {
760
840
  const localVarAxiosArgs = await localVarAxiosParamCreator.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
761
841
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
762
842
  },
843
+ /**
844
+ * Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
845
+ * @summary List sub-partners
846
+ * @param {string} code Unique identifier for the object.
847
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
848
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
849
+ * @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.
850
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
851
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
852
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount&lt;/i&gt;
853
+ * @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: partnerType, tags, partnerTagLabels&lt;i&gt;
854
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
855
+ * @param {*} [options] Override http request option.
856
+ * @throws {RequiredError}
857
+ */
858
+ async listSubPartners(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnersResponseClass>> {
859
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSubPartners(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
860
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
861
+ },
763
862
  /**
764
863
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
765
864
  * @summary Update the partner
@@ -883,11 +982,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
883
982
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
884
983
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
885
984
  * @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.
886
- * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode&lt;/i&gt;
985
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
887
986
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
888
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels&lt;/i&gt;
987
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount&lt;/i&gt;
889
988
  * @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: partnerType, tags, partnerTagLabels&lt;i&gt;
890
- * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode&lt;/i&gt;
989
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
891
990
  * @param {*} [options] Override http request option.
892
991
  * @throws {RequiredError}
893
992
  */
@@ -912,6 +1011,24 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
912
1011
  listRelationsForPartner(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRelatedPartnersResponseClass> {
913
1012
  return localVarFp.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
914
1013
  },
1014
+ /**
1015
+ * Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
1016
+ * @summary List sub-partners
1017
+ * @param {string} code Unique identifier for the object.
1018
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1019
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1020
+ * @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.
1021
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
1022
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
1023
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount&lt;/i&gt;
1024
+ * @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: partnerType, tags, partnerTagLabels&lt;i&gt;
1025
+ * @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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ */
1029
+ listSubPartners(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnersResponseClass> {
1030
+ return localVarFp.listSubPartners(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1031
+ },
915
1032
  /**
916
1033
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
917
1034
  * @summary Update the partner
@@ -1102,7 +1219,7 @@ export interface PartnersApiListPartnersRequest {
1102
1219
  readonly pageToken?: string
1103
1220
 
1104
1221
  /**
1105
- * 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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode&lt;/i&gt;
1222
+ * 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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
1106
1223
  * @type {string}
1107
1224
  * @memberof PartnersApiListPartners
1108
1225
  */
@@ -1116,7 +1233,7 @@ export interface PartnersApiListPartnersRequest {
1116
1233
  readonly search?: string
1117
1234
 
1118
1235
  /**
1119
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels&lt;/i&gt;
1236
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount&lt;/i&gt;
1120
1237
  * @type {string}
1121
1238
  * @memberof PartnersApiListPartners
1122
1239
  */
@@ -1130,7 +1247,7 @@ export interface PartnersApiListPartnersRequest {
1130
1247
  readonly expand?: string
1131
1248
 
1132
1249
  /**
1133
- * 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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode&lt;/i&gt;
1250
+ * 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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
1134
1251
  * @type {string}
1135
1252
  * @memberof PartnersApiListPartners
1136
1253
  */
@@ -1207,6 +1324,76 @@ export interface PartnersApiListRelationsForPartnerRequest {
1207
1324
  readonly filters?: string
1208
1325
  }
1209
1326
 
1327
+ /**
1328
+ * Request parameters for listSubPartners operation in PartnersApi.
1329
+ * @export
1330
+ * @interface PartnersApiListSubPartnersRequest
1331
+ */
1332
+ export interface PartnersApiListSubPartnersRequest {
1333
+ /**
1334
+ * Unique identifier for the object.
1335
+ * @type {string}
1336
+ * @memberof PartnersApiListSubPartners
1337
+ */
1338
+ readonly code: string
1339
+
1340
+ /**
1341
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1342
+ * @type {string}
1343
+ * @memberof PartnersApiListSubPartners
1344
+ */
1345
+ readonly authorization?: string
1346
+
1347
+ /**
1348
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1349
+ * @type {number}
1350
+ * @memberof PartnersApiListSubPartners
1351
+ */
1352
+ readonly pageSize?: number
1353
+
1354
+ /**
1355
+ * 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.
1356
+ * @type {string}
1357
+ * @memberof PartnersApiListSubPartners
1358
+ */
1359
+ readonly pageToken?: string
1360
+
1361
+ /**
1362
+ * 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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
1363
+ * @type {string}
1364
+ * @memberof PartnersApiListSubPartners
1365
+ */
1366
+ readonly filter?: string
1367
+
1368
+ /**
1369
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1370
+ * @type {string}
1371
+ * @memberof PartnersApiListSubPartners
1372
+ */
1373
+ readonly search?: string
1374
+
1375
+ /**
1376
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount&lt;/i&gt;
1377
+ * @type {string}
1378
+ * @memberof PartnersApiListSubPartners
1379
+ */
1380
+ readonly order?: string
1381
+
1382
+ /**
1383
+ * 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: partnerType, tags, partnerTagLabels&lt;i&gt;
1384
+ * @type {string}
1385
+ * @memberof PartnersApiListSubPartners
1386
+ */
1387
+ readonly expand?: string
1388
+
1389
+ /**
1390
+ * 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, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount&lt;/i&gt;
1391
+ * @type {string}
1392
+ * @memberof PartnersApiListSubPartners
1393
+ */
1394
+ readonly filters?: string
1395
+ }
1396
+
1210
1397
  /**
1211
1398
  * Request parameters for mergePartners operation in PartnersApi.
1212
1399
  * @export
@@ -1403,6 +1590,18 @@ export class PartnersApi extends BaseAPI {
1403
1590
  return PartnersApiFp(this.configuration).listRelationsForPartner(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1404
1591
  }
1405
1592
 
1593
+ /**
1594
+ * Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
1595
+ * @summary List sub-partners
1596
+ * @param {PartnersApiListSubPartnersRequest} requestParameters Request parameters.
1597
+ * @param {*} [options] Override http request option.
1598
+ * @throws {RequiredError}
1599
+ * @memberof PartnersApi
1600
+ */
1601
+ public listSubPartners(requestParameters: PartnersApiListSubPartnersRequest, options?: AxiosRequestConfig) {
1602
+ return PartnersApiFp(this.configuration).listSubPartners(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1603
+ }
1604
+
1406
1605
  /**
1407
1606
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
1408
1607
  * @summary Update the partner
package/api.ts CHANGED
@@ -26,7 +26,11 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { BlacklistApi } from './api';
28
28
  import { BlacklistReasonsApi } from './api';
29
- import { DefaultApi } from './api';
29
+ import { HealthApi } from './api';
30
+ import { PartnerHierarchiesApi } from './api';
31
+ import { PartnerHierarchyNodesApi } from './api';
32
+ import { PartnerHierarchyOperationsApi } from './api';
33
+ import { PartnerHierarchyTypesApi } from './api';
30
34
  import { PartnerInvitationsApi } from './api';
31
35
  import { PartnerRelationsApi } from './api';
32
36
  import { PartnerTagsApi } from './api';
@@ -37,7 +41,11 @@ import { PartnersApi } from './api';
37
41
 
38
42
  export * from './api/blacklist-api';
39
43
  export * from './api/blacklist-reasons-api';
40
- export * from './api/default-api';
44
+ export * from './api/health-api';
45
+ export * from './api/partner-hierarchies-api';
46
+ export * from './api/partner-hierarchy-nodes-api';
47
+ export * from './api/partner-hierarchy-operations-api';
48
+ export * from './api/partner-hierarchy-types-api';
41
49
  export * from './api/partner-invitations-api';
42
50
  export * from './api/partner-relations-api';
43
51
  export * from './api/partner-tags-api';
package/base.ts CHANGED
@@ -60,6 +60,7 @@ export enum Environment {
60
60
  Staging = 'https://apiv2-staging.emil.de',
61
61
  Development = 'https://apiv2-dev.emil.de',
62
62
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
63
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
63
64
  }
64
65
 
65
66
  let _retry_count = 0
@@ -14,7 +14,7 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateBlacklistItemRequestDto } from '../models';
16
16
  import { CreateBlacklistItemResponseClass } from '../models';
17
- import { DeleteResponseClass } from '../models';
17
+ import { DeleteByCodeResponseClass } from '../models';
18
18
  import { GetBlacklistItemResponseClass } from '../models';
19
19
  import { IsBlacklistedResponseClass } from '../models';
20
20
  import { ListBlacklistItemsResponseClass } from '../models';
@@ -97,7 +97,7 @@ export declare const BlacklistApiFp: (configuration?: Configuration) => {
97
97
  * @param {*} [options] Override http request option.
98
98
  * @throws {RequiredError}
99
99
  */
100
- deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
100
+ deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
101
101
  /**
102
102
  * Retrieves the details of the blacklist item that was previously created. Supply the unique blacklist item code that was returned when you created it and Emil Api will return the corresponding blacklist item information. **Required Permissions** \"partner-management.partners.view\"
103
103
  * @summary Retrieve the blacklist item
@@ -154,7 +154,7 @@ export declare const BlacklistApiFactory: (configuration?: Configuration, basePa
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
157
- deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
157
+ deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
158
158
  /**
159
159
  * Retrieves the details of the blacklist item that was previously created. Supply the unique blacklist item code that was returned when you created it and Emil Api will return the corresponding blacklist item information. **Required Permissions** \"partner-management.partners.view\"
160
160
  * @summary Retrieve the blacklist item
@@ -344,7 +344,7 @@ export declare class BlacklistApi extends BaseAPI {
344
344
  * @throws {RequiredError}
345
345
  * @memberof BlacklistApi
346
346
  */
347
- deleteBlacklistItem(requestParameters: BlacklistApiDeleteBlacklistItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
347
+ deleteBlacklistItem(requestParameters: BlacklistApiDeleteBlacklistItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
348
348
  /**
349
349
  * Retrieves the details of the blacklist item that was previously created. Supply the unique blacklist item code that was returned when you created it and Emil Api will return the corresponding blacklist item information. **Required Permissions** \"partner-management.partners.view\"
350
350
  * @summary Retrieve the blacklist item
@@ -14,7 +14,7 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateBlacklistReasonRequestDto } from '../models';
16
16
  import { CreateBlacklistReasonResponseClass } from '../models';
17
- import { DeleteResponseClass } from '../models';
17
+ import { DeleteByCodeResponseClass } from '../models';
18
18
  import { GetBlacklistReasonResponseClass } from '../models';
19
19
  import { ListBlacklistReasonsResponseClass } from '../models';
20
20
  import { UpdateBlacklistReasonRequestDto } from '../models';
@@ -110,7 +110,7 @@ export declare const BlacklistReasonsApiFp: (configuration?: Configuration) => {
110
110
  * @param {*} [options] Override http request option.
111
111
  * @throws {RequiredError}
112
112
  */
113
- deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
113
+ deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
114
114
  /**
115
115
  * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
116
116
  * @summary Retrieve the blacklist reason
@@ -178,7 +178,7 @@ export declare const BlacklistReasonsApiFactory: (configuration?: Configuration,
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
181
+ deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
182
182
  /**
183
183
  * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
184
184
  * @summary Retrieve the blacklist reason
@@ -410,7 +410,7 @@ export declare class BlacklistReasonsApi extends BaseAPI {
410
410
  * @throws {RequiredError}
411
411
  * @memberof BlacklistReasonsApi
412
412
  */
413
- deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
413
+ deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
414
414
  /**
415
415
  * Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
416
416
  * @summary Retrieve the blacklist reason
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { InlineResponse200 } from '../models';
16
16
  /**
17
- * DefaultApi - axios parameter creator
17
+ * HealthApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
23
23
  * @summary Health Check
@@ -27,10 +27,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
27
27
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
28
  };
29
29
  /**
30
- * DefaultApi - functional programming interface
30
+ * HealthApi - functional programming interface
31
31
  * @export
32
32
  */
33
- export declare const DefaultApiFp: (configuration?: Configuration) => {
33
+ export declare const HealthApiFp: (configuration?: Configuration) => {
34
34
  /**
35
35
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
36
36
  * @summary Health Check
@@ -40,10 +40,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
40
40
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
41
41
  };
42
42
  /**
43
- * DefaultApi - factory interface
43
+ * HealthApi - factory interface
44
44
  * @export
45
45
  */
46
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
46
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
47
  /**
48
48
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
49
49
  * @summary Health Check
@@ -53,18 +53,18 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
53
53
  check(options?: any): AxiosPromise<InlineResponse200>;
54
54
  };
55
55
  /**
56
- * DefaultApi - object-oriented interface
56
+ * HealthApi - object-oriented interface
57
57
  * @export
58
- * @class DefaultApi
58
+ * @class HealthApi
59
59
  * @extends {BaseAPI}
60
60
  */
61
- export declare class DefaultApi extends BaseAPI {
61
+ export declare class HealthApi extends BaseAPI {
62
62
  /**
63
63
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
- * @memberof DefaultApi
67
+ * @memberof HealthApi
68
68
  */
69
69
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
70
70
  }
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
81
+ exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * DefaultApi - axios parameter creator
93
+ * HealthApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var DefaultApiAxiosParamCreator = function (configuration) {
96
+ var HealthApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -128,13 +128,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
128
128
  },
129
129
  };
130
130
  };
131
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
131
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
132
132
  /**
133
- * DefaultApi - functional programming interface
133
+ * HealthApi - functional programming interface
134
134
  * @export
135
135
  */
136
- var DefaultApiFp = function (configuration) {
137
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
136
+ var HealthApiFp = function (configuration) {
137
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
138
138
  return {
139
139
  /**
140
140
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -157,13 +157,13 @@ var DefaultApiFp = function (configuration) {
157
157
  },
158
158
  };
159
159
  };
160
- exports.DefaultApiFp = DefaultApiFp;
160
+ exports.HealthApiFp = HealthApiFp;
161
161
  /**
162
- * DefaultApi - factory interface
162
+ * HealthApi - factory interface
163
163
  * @export
164
164
  */
165
- var DefaultApiFactory = function (configuration, basePath, axios) {
166
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
165
+ var HealthApiFactory = function (configuration, basePath, axios) {
166
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
167
167
  return {
168
168
  /**
169
169
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -176,16 +176,16 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
176
176
  },
177
177
  };
178
178
  };
179
- exports.DefaultApiFactory = DefaultApiFactory;
179
+ exports.HealthApiFactory = HealthApiFactory;
180
180
  /**
181
- * DefaultApi - object-oriented interface
181
+ * HealthApi - object-oriented interface
182
182
  * @export
183
- * @class DefaultApi
183
+ * @class HealthApi
184
184
  * @extends {BaseAPI}
185
185
  */
186
- var DefaultApi = /** @class */ (function (_super) {
187
- __extends(DefaultApi, _super);
188
- function DefaultApi() {
186
+ var HealthApi = /** @class */ (function (_super) {
187
+ __extends(HealthApi, _super);
188
+ function HealthApi() {
189
189
  return _super !== null && _super.apply(this, arguments) || this;
190
190
  }
191
191
  /**
@@ -193,12 +193,12 @@ var DefaultApi = /** @class */ (function (_super) {
193
193
  * @summary Health Check
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
196
- * @memberof DefaultApi
196
+ * @memberof HealthApi
197
197
  */
198
- DefaultApi.prototype.check = function (options) {
198
+ HealthApi.prototype.check = function (options) {
199
199
  var _this = this;
200
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
200
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
201
201
  };
202
- return DefaultApi;
202
+ return HealthApi;
203
203
  }(base_1.BaseAPI));
204
- exports.DefaultApi = DefaultApi;
204
+ exports.HealthApi = HealthApi;