@emilgroup/partner-sdk 1.22.1-beta.23 → 1.22.1-beta.24

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 (163) hide show
  1. package/.openapi-generator/FILES +1 -42
  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/{health-api.ts → default-api.ts} +13 -13
  6. package/api/partners-api.ts +12 -119
  7. package/api.ts +2 -8
  8. package/base.ts +0 -1
  9. package/dist/api/blacklist-api.d.ts +4 -4
  10. package/dist/api/blacklist-reasons-api.d.ts +4 -4
  11. package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
  12. package/dist/api/{health-api.js → default-api.js} +22 -22
  13. package/dist/api/partners-api.d.ts +12 -69
  14. package/dist/api/partners-api.js +9 -102
  15. package/dist/api.d.ts +1 -4
  16. package/dist/api.js +1 -4
  17. package/dist/base.d.ts +1 -2
  18. package/dist/base.js +0 -1
  19. package/dist/models/index.d.ts +0 -38
  20. package/dist/models/index.js +0 -38
  21. package/dist/models/list-blacklist-items-response-class.d.ts +0 -12
  22. package/dist/models/list-partner-relation-class.d.ts +6 -18
  23. package/dist/models/list-partner-relation-types-class.d.ts +6 -18
  24. package/dist/models/list-partner-types-response-class.d.ts +6 -18
  25. package/dist/models/list-partner-versions-response-class.d.ts +6 -18
  26. package/dist/models/list-partners-response-class.d.ts +6 -18
  27. package/dist/models/list-related-partners-response-class.d.ts +6 -18
  28. package/dist/models/list-tags-response-class.d.ts +6 -18
  29. package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
  30. package/models/index.ts +0 -38
  31. package/models/list-blacklist-items-response-class.ts +0 -12
  32. package/models/list-partner-relation-class.ts +6 -18
  33. package/models/list-partner-relation-types-class.ts +6 -18
  34. package/models/list-partner-types-response-class.ts +6 -18
  35. package/models/list-partner-versions-response-class.ts +6 -18
  36. package/models/list-partners-response-class.ts +6 -18
  37. package/models/list-related-partners-response-class.ts +6 -18
  38. package/models/list-tags-response-class.ts +6 -18
  39. package/models/update-blacklist-reason-status-request-dto.ts +1 -1
  40. package/package.json +1 -1
  41. package/api/partner-hierarchies-api.ts +0 -1367
  42. package/api/partner-hierarchy-nodes-api.ts +0 -1197
  43. package/api/partner-hierarchy-types-api.ts +0 -679
  44. package/dist/api/partner-hierarchies-api.d.ts +0 -774
  45. package/dist/api/partner-hierarchies-api.js +0 -1171
  46. package/dist/api/partner-hierarchy-nodes-api.d.ts +0 -674
  47. package/dist/api/partner-hierarchy-nodes-api.js +0 -1049
  48. package/dist/api/partner-hierarchy-types-api.d.ts +0 -385
  49. package/dist/api/partner-hierarchy-types-api.js +0 -636
  50. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +0 -30
  51. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +0 -15
  52. package/dist/models/create-partner-hierarchy-node-request-dto.d.ts +0 -42
  53. package/dist/models/create-partner-hierarchy-node-request-dto.js +0 -15
  54. package/dist/models/create-partner-hierarchy-node-response-class.d.ts +0 -25
  55. package/dist/models/create-partner-hierarchy-node-response-class.js +0 -15
  56. package/dist/models/create-partner-hierarchy-request-dto.d.ts +0 -30
  57. package/dist/models/create-partner-hierarchy-request-dto.js +0 -15
  58. package/dist/models/create-partner-hierarchy-response-class.d.ts +0 -25
  59. package/dist/models/create-partner-hierarchy-response-class.js +0 -15
  60. package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +0 -30
  61. package/dist/models/create-partner-hierarchy-type-request-dto.js +0 -15
  62. package/dist/models/create-partner-hierarchy-type-response-class.d.ts +0 -25
  63. package/dist/models/create-partner-hierarchy-type-response-class.js +0 -15
  64. package/dist/models/delete-by-code-response-class.d.ts +0 -24
  65. package/dist/models/delete-by-code-response-class.js +0 -15
  66. package/dist/models/generate-upload-url-response-class.d.ts +0 -36
  67. package/dist/models/generate-upload-url-response-class.js +0 -15
  68. package/dist/models/get-partner-hierarchy-node-response-class.d.ts +0 -25
  69. package/dist/models/get-partner-hierarchy-node-response-class.js +0 -15
  70. package/dist/models/get-partner-hierarchy-response-class.d.ts +0 -25
  71. package/dist/models/get-partner-hierarchy-response-class.js +0 -15
  72. package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +0 -42
  73. package/dist/models/get-partner-hierarchy-tree-file-response-class.js +0 -15
  74. package/dist/models/get-partner-hierarchy-tree-response-class.d.ts +0 -25
  75. package/dist/models/get-partner-hierarchy-tree-response-class.js +0 -15
  76. package/dist/models/get-partner-hierarchy-type-response-class.d.ts +0 -25
  77. package/dist/models/get-partner-hierarchy-type-response-class.js +0 -15
  78. package/dist/models/list-partner-hierarchies-response-class.d.ts +0 -43
  79. package/dist/models/list-partner-hierarchies-response-class.js +0 -15
  80. package/dist/models/list-partner-hierarchy-node-history-response-class.d.ts +0 -43
  81. package/dist/models/list-partner-hierarchy-node-history-response-class.js +0 -15
  82. package/dist/models/list-partner-hierarchy-nodes-response-class.d.ts +0 -43
  83. package/dist/models/list-partner-hierarchy-nodes-response-class.js +0 -15
  84. package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +0 -43
  85. package/dist/models/list-partner-hierarchy-operations-response-class.js +0 -15
  86. package/dist/models/list-partner-hierarchy-types-response-class.d.ts +0 -43
  87. package/dist/models/list-partner-hierarchy-types-response-class.js +0 -15
  88. package/dist/models/move-partner-hierarchy-node-request-dto.d.ts +0 -30
  89. package/dist/models/move-partner-hierarchy-node-request-dto.js +0 -15
  90. package/dist/models/move-partner-hierarchy-node-response-class.d.ts +0 -25
  91. package/dist/models/move-partner-hierarchy-node-response-class.js +0 -15
  92. package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +0 -30
  93. package/dist/models/partner-hierarchy-async-operation-response-class.js +0 -15
  94. package/dist/models/partner-hierarchy-class.d.ts +0 -78
  95. package/dist/models/partner-hierarchy-class.js +0 -15
  96. package/dist/models/partner-hierarchy-node-class.d.ts +0 -109
  97. package/dist/models/partner-hierarchy-node-class.js +0 -15
  98. package/dist/models/partner-hierarchy-node-history-class.d.ts +0 -97
  99. package/dist/models/partner-hierarchy-node-history-class.js +0 -15
  100. package/dist/models/partner-hierarchy-node-tree-class.d.ts +0 -96
  101. package/dist/models/partner-hierarchy-node-tree-class.js +0 -15
  102. package/dist/models/partner-hierarchy-operation-class.d.ts +0 -90
  103. package/dist/models/partner-hierarchy-operation-class.js +0 -15
  104. package/dist/models/partner-hierarchy-type-class.d.ts +0 -66
  105. package/dist/models/partner-hierarchy-type-class.js +0 -15
  106. package/dist/models/unassign-partner-hierarchy-node-response-class.d.ts +0 -25
  107. package/dist/models/unassign-partner-hierarchy-node-response-class.js +0 -15
  108. package/dist/models/update-partner-hierarchy-node-request-dto.d.ts +0 -30
  109. package/dist/models/update-partner-hierarchy-node-request-dto.js +0 -15
  110. package/dist/models/update-partner-hierarchy-node-response-class.d.ts +0 -25
  111. package/dist/models/update-partner-hierarchy-node-response-class.js +0 -15
  112. package/dist/models/update-partner-hierarchy-request-dto.d.ts +0 -24
  113. package/dist/models/update-partner-hierarchy-request-dto.js +0 -15
  114. package/dist/models/update-partner-hierarchy-response-class.d.ts +0 -25
  115. package/dist/models/update-partner-hierarchy-response-class.js +0 -15
  116. package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +0 -24
  117. package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +0 -15
  118. package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +0 -30
  119. package/dist/models/update-partner-hierarchy-type-request-dto.js +0 -15
  120. package/dist/models/update-partner-hierarchy-type-response-class.d.ts +0 -25
  121. package/dist/models/update-partner-hierarchy-type-response-class.js +0 -15
  122. package/dist/models/validate-partner-request-dto.d.ts +0 -30
  123. package/dist/models/validate-partner-request-dto.js +0 -15
  124. package/dist/models/validate-partner-response-class.d.ts +0 -30
  125. package/dist/models/validate-partner-response-class.js +0 -15
  126. package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +0 -36
  127. package/models/create-partner-hierarchy-node-request-dto.ts +0 -48
  128. package/models/create-partner-hierarchy-node-response-class.ts +0 -31
  129. package/models/create-partner-hierarchy-request-dto.ts +0 -36
  130. package/models/create-partner-hierarchy-response-class.ts +0 -31
  131. package/models/create-partner-hierarchy-type-request-dto.ts +0 -36
  132. package/models/create-partner-hierarchy-type-response-class.ts +0 -31
  133. package/models/delete-by-code-response-class.ts +0 -30
  134. package/models/generate-upload-url-response-class.ts +0 -42
  135. package/models/get-partner-hierarchy-node-response-class.ts +0 -31
  136. package/models/get-partner-hierarchy-response-class.ts +0 -31
  137. package/models/get-partner-hierarchy-tree-file-response-class.ts +0 -48
  138. package/models/get-partner-hierarchy-tree-response-class.ts +0 -31
  139. package/models/get-partner-hierarchy-type-response-class.ts +0 -31
  140. package/models/list-partner-hierarchies-response-class.ts +0 -49
  141. package/models/list-partner-hierarchy-node-history-response-class.ts +0 -49
  142. package/models/list-partner-hierarchy-nodes-response-class.ts +0 -49
  143. package/models/list-partner-hierarchy-operations-response-class.ts +0 -49
  144. package/models/list-partner-hierarchy-types-response-class.ts +0 -49
  145. package/models/move-partner-hierarchy-node-request-dto.ts +0 -36
  146. package/models/move-partner-hierarchy-node-response-class.ts +0 -31
  147. package/models/partner-hierarchy-async-operation-response-class.ts +0 -36
  148. package/models/partner-hierarchy-class.ts +0 -84
  149. package/models/partner-hierarchy-node-class.ts +0 -115
  150. package/models/partner-hierarchy-node-history-class.ts +0 -103
  151. package/models/partner-hierarchy-node-tree-class.ts +0 -102
  152. package/models/partner-hierarchy-operation-class.ts +0 -96
  153. package/models/partner-hierarchy-type-class.ts +0 -72
  154. package/models/unassign-partner-hierarchy-node-response-class.ts +0 -31
  155. package/models/update-partner-hierarchy-node-request-dto.ts +0 -36
  156. package/models/update-partner-hierarchy-node-response-class.ts +0 -31
  157. package/models/update-partner-hierarchy-request-dto.ts +0 -30
  158. package/models/update-partner-hierarchy-response-class.ts +0 -31
  159. package/models/update-partner-hierarchy-tree-request-body-dto.ts +0 -30
  160. package/models/update-partner-hierarchy-type-request-dto.ts +0 -36
  161. package/models/update-partner-hierarchy-type-response-class.ts +0 -31
  162. package/models/validate-partner-request-dto.ts +0 -36
  163. package/models/validate-partner-response-class.ts +0 -36
@@ -5,10 +5,7 @@ README.md
5
5
  api.ts
6
6
  api/blacklist-api.ts
7
7
  api/blacklist-reasons-api.ts
8
- api/health-api.ts
9
- api/partner-hierarchies-api.ts
10
- api/partner-hierarchy-nodes-api.ts
11
- api/partner-hierarchy-types-api.ts
8
+ api/default-api.ts
12
9
  api/partner-invitations-api.ts
13
10
  api/partner-relations-api.ts
14
11
  api/partner-tags-api.ts
@@ -20,7 +17,6 @@ common.ts
20
17
  configuration.ts
21
18
  git_push.sh
22
19
  index.ts
23
- models/batch-create-partner-hierarchy-nodes-request-dto.ts
24
20
  models/blacklist-item-class.ts
25
21
  models/blacklist-reason-class.ts
26
22
  models/create-blacklist-item-request-dto.ts
@@ -29,12 +25,6 @@ models/create-blacklist-reason-request-dto.ts
29
25
  models/create-blacklist-reason-response-class.ts
30
26
  models/create-or-update-partner-from-account-request-dto.ts
31
27
  models/create-or-update-partner-from-account-response-class.ts
32
- models/create-partner-hierarchy-node-request-dto.ts
33
- models/create-partner-hierarchy-node-response-class.ts
34
- models/create-partner-hierarchy-request-dto.ts
35
- models/create-partner-hierarchy-response-class.ts
36
- models/create-partner-hierarchy-type-request-dto.ts
37
- models/create-partner-hierarchy-type-response-class.ts
38
28
  models/create-partner-relation-request-dto-rest.ts
39
29
  models/create-partner-relation-response-class.ts
40
30
  models/create-partner-request-dto.ts
@@ -43,16 +33,9 @@ models/create-partner-type-request-dto.ts
43
33
  models/create-partner-type-response-class.ts
44
34
  models/create-tag-request-dto.ts
45
35
  models/create-tag-response-class.ts
46
- models/delete-by-code-response-class.ts
47
36
  models/delete-response-class.ts
48
- models/generate-upload-url-response-class.ts
49
37
  models/get-blacklist-item-response-class.ts
50
38
  models/get-blacklist-reason-response-class.ts
51
- models/get-partner-hierarchy-node-response-class.ts
52
- models/get-partner-hierarchy-response-class.ts
53
- models/get-partner-hierarchy-tree-file-response-class.ts
54
- models/get-partner-hierarchy-tree-response-class.ts
55
- models/get-partner-hierarchy-type-response-class.ts
56
39
  models/get-partner-relation-class.ts
57
40
  models/get-partner-relation-type-class.ts
58
41
  models/get-partner-response-class.ts
@@ -69,11 +52,6 @@ models/invite-partner-to-eisrequest-dto.ts
69
52
  models/is-blacklisted-response-class.ts
70
53
  models/list-blacklist-items-response-class.ts
71
54
  models/list-blacklist-reasons-response-class.ts
72
- models/list-partner-hierarchies-response-class.ts
73
- models/list-partner-hierarchy-node-history-response-class.ts
74
- models/list-partner-hierarchy-nodes-response-class.ts
75
- models/list-partner-hierarchy-operations-response-class.ts
76
- models/list-partner-hierarchy-types-response-class.ts
77
55
  models/list-partner-relation-class.ts
78
56
  models/list-partner-relation-types-class.ts
79
57
  models/list-partner-types-response-class.ts
@@ -85,16 +63,7 @@ models/map-partner-to-account-response-class.ts
85
63
  models/mapped-account-from-partner-class.ts
86
64
  models/merge-partners-request-dto.ts
87
65
  models/merge-partners-response-class.ts
88
- models/move-partner-hierarchy-node-request-dto.ts
89
- models/move-partner-hierarchy-node-response-class.ts
90
66
  models/partner-class.ts
91
- models/partner-hierarchy-async-operation-response-class.ts
92
- models/partner-hierarchy-class.ts
93
- models/partner-hierarchy-node-class.ts
94
- models/partner-hierarchy-node-history-class.ts
95
- models/partner-hierarchy-node-tree-class.ts
96
- models/partner-hierarchy-operation-class.ts
97
- models/partner-hierarchy-type-class.ts
98
67
  models/partner-relation-class.ts
99
68
  models/partner-relation-type-class.ts
100
69
  models/partner-type-class.ts
@@ -104,24 +73,14 @@ models/related-partner-data-class.ts
104
73
  models/role-class.ts
105
74
  models/tag-class.ts
106
75
  models/tag-partner-request-dto-rest.ts
107
- models/unassign-partner-hierarchy-node-response-class.ts
108
76
  models/update-blacklist-reason-request-dto.ts
109
77
  models/update-blacklist-reason-response-class.ts
110
78
  models/update-blacklist-reason-status-request-dto.ts
111
- models/update-partner-hierarchy-node-request-dto.ts
112
- models/update-partner-hierarchy-node-response-class.ts
113
- models/update-partner-hierarchy-request-dto.ts
114
- models/update-partner-hierarchy-response-class.ts
115
- models/update-partner-hierarchy-tree-request-body-dto.ts
116
- models/update-partner-hierarchy-type-request-dto.ts
117
- models/update-partner-hierarchy-type-response-class.ts
118
79
  models/update-partner-relation-request-dto-rest.ts
119
80
  models/update-partner-request-dto.ts
120
81
  models/update-partner-response-class.ts
121
82
  models/update-partner-type-request-dto.ts
122
83
  models/update-partner-type-response-class.ts
123
84
  models/update-tag-response-class.ts
124
- models/validate-partner-request-dto.ts
125
- models/validate-partner-response-class.ts
126
85
  package.json
127
86
  tsconfig.json
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/partner-sdk@1.22.1-beta.23 --save
20
+ npm install @emilgroup/partner-sdk@1.22.1-beta.24 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk@1.22.1-beta.23
24
+ yarn add @emilgroup/partner-sdk@1.22.1-beta.24
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
@@ -25,7 +25,7 @@ import { CreateBlacklistItemRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateBlacklistItemResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { DeleteByCodeResponseClass } from '../models';
28
+ import { DeleteResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { GetBlacklistItemResponseClass } from '../models';
31
31
  // @ts-ignore
@@ -326,7 +326,7 @@ export const BlacklistApiFp = function(configuration?: Configuration) {
326
326
  * @param {*} [options] Override http request option.
327
327
  * @throws {RequiredError}
328
328
  */
329
- async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
329
+ async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
330
330
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistItem(code, authorization, options);
331
331
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
332
332
  },
@@ -401,7 +401,7 @@ export const BlacklistApiFactory = function (configuration?: Configuration, base
401
401
  * @param {*} [options] Override http request option.
402
402
  * @throws {RequiredError}
403
403
  */
404
- deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
404
+ deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
405
405
  return localVarFp.deleteBlacklistItem(code, authorization, options).then((request) => request(axios, basePath));
406
406
  },
407
407
  /**
@@ -25,7 +25,7 @@ import { CreateBlacklistReasonRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateBlacklistReasonResponseClass } from '../models';
27
27
  // @ts-ignore
28
- import { DeleteByCodeResponseClass } from '../models';
28
+ import { DeleteResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { GetBlacklistReasonResponseClass } from '../models';
31
31
  // @ts-ignore
@@ -387,7 +387,7 @@ export const BlacklistReasonsApiFp = function(configuration?: Configuration) {
387
387
  * @param {*} [options] Override http request option.
388
388
  * @throws {RequiredError}
389
389
  */
390
- async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
390
+ async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
391
391
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistReason(code, authorization, options);
392
392
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
393
393
  },
@@ -476,7 +476,7 @@ export const BlacklistReasonsApiFactory = function (configuration?: Configuratio
476
476
  * @param {*} [options] Override http request option.
477
477
  * @throws {RequiredError}
478
478
  */
479
- deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
479
+ deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
480
480
  return localVarFp.deleteBlacklistReason(code, authorization, options).then((request) => request(axios, basePath));
481
481
  },
482
482
  /**
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
25
25
  // @ts-ignore
26
26
  import { InlineResponse503 } from '../models';
27
27
  /**
28
- * HealthApi - axios parameter creator
28
+ * DefaultApi - axios parameter creator
29
29
  * @export
30
30
  */
31
- export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
34
  * 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.
@@ -66,11 +66,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
66
66
  };
67
67
 
68
68
  /**
69
- * HealthApi - functional programming interface
69
+ * DefaultApi - functional programming interface
70
70
  * @export
71
71
  */
72
- export const HealthApiFp = function(configuration?: Configuration) {
73
- const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
72
+ export const DefaultApiFp = function(configuration?: Configuration) {
73
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
74
74
  return {
75
75
  /**
76
76
  * 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.
@@ -86,11 +86,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
86
86
  };
87
87
 
88
88
  /**
89
- * HealthApi - factory interface
89
+ * DefaultApi - factory interface
90
90
  * @export
91
91
  */
92
- export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
- const localVarFp = HealthApiFp(configuration)
92
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
+ const localVarFp = DefaultApiFp(configuration)
94
94
  return {
95
95
  /**
96
96
  * 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.
@@ -105,20 +105,20 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
105
105
  };
106
106
 
107
107
  /**
108
- * HealthApi - object-oriented interface
108
+ * DefaultApi - object-oriented interface
109
109
  * @export
110
- * @class HealthApi
110
+ * @class DefaultApi
111
111
  * @extends {BaseAPI}
112
112
  */
113
- export class HealthApi extends BaseAPI {
113
+ export class DefaultApi extends BaseAPI {
114
114
  /**
115
115
  * 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.
116
116
  * @summary Health Check
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
- * @memberof HealthApi
119
+ * @memberof DefaultApi
120
120
  */
121
121
  public check(options?: AxiosRequestConfig) {
122
- return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
122
+ return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
123
  }
124
124
  }
@@ -48,10 +48,6 @@ import { TagPartnerRequestDtoRest } from '../models';
48
48
  import { UpdatePartnerRequestDto } from '../models';
49
49
  // @ts-ignore
50
50
  import { UpdatePartnerResponseClass } from '../models';
51
- // @ts-ignore
52
- import { ValidatePartnerRequestDto } from '../models';
53
- // @ts-ignore
54
- import { ValidatePartnerResponseClass } from '../models';
55
51
  /**
56
52
  * PartnersApi - axios parameter creator
57
53
  * @export
@@ -298,11 +294,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
298
294
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
299
295
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
300
296
  * @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.
301
- * @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;
297
+ * @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;
302
298
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
303
- * @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;
299
+ * @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;
304
300
  * @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;
305
- * @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;
301
+ * @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;
306
302
  * @param {*} [options] Override http request option.
307
303
  * @throws {RequiredError}
308
304
  */
@@ -596,53 +592,6 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
596
592
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
597
593
  localVarRequestOptions.data = serializeDataIfNeeded(updatePartnerRequestDto, localVarRequestOptions, configuration)
598
594
 
599
- return {
600
- url: toPathString(localVarUrlObj),
601
- options: localVarRequestOptions,
602
- };
603
- },
604
- /**
605
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
606
- * @summary Validate a partner
607
- * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
608
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
609
- * @param {*} [options] Override http request option.
610
- * @throws {RequiredError}
611
- */
612
- validatePartner: async (validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
613
- // verify required parameter 'validatePartnerRequestDto' is not null or undefined
614
- assertParamExists('validatePartner', 'validatePartnerRequestDto', validatePartnerRequestDto)
615
- const localVarPath = `/partnerservice/v1/partners/validate`;
616
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
617
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
618
- let baseOptions;
619
- let baseAccessToken;
620
- if (configuration) {
621
- baseOptions = configuration.baseOptions;
622
- baseAccessToken = configuration.accessToken;
623
- }
624
-
625
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
626
- const localVarHeaderParameter = {} as any;
627
- const localVarQueryParameter = {} as any;
628
-
629
- // authentication bearer required
630
- // http bearer authentication required
631
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
632
-
633
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
634
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
635
- }
636
-
637
-
638
-
639
- localVarHeaderParameter['Content-Type'] = 'application/json';
640
-
641
- setSearchParams(localVarUrlObj, localVarQueryParameter);
642
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
643
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
644
- localVarRequestOptions.data = serializeDataIfNeeded(validatePartnerRequestDto, localVarRequestOptions, configuration)
645
-
646
595
  return {
647
596
  url: toPathString(localVarUrlObj),
648
597
  options: localVarRequestOptions,
@@ -725,11 +674,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
725
674
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
726
675
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
727
676
  * @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.
728
- * @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;
677
+ * @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;
729
678
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
730
- * @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;
679
+ * @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;
731
680
  * @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;
732
- * @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;
681
+ * @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;
733
682
  * @param {*} [options] Override http request option.
734
683
  * @throws {RequiredError}
735
684
  */
@@ -795,18 +744,6 @@ export const PartnersApiFp = function(configuration?: Configuration) {
795
744
  const localVarAxiosArgs = await localVarAxiosParamCreator.updatePartner(code, updatePartnerRequestDto, authorization, options);
796
745
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
797
746
  },
798
- /**
799
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
800
- * @summary Validate a partner
801
- * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
802
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
803
- * @param {*} [options] Override http request option.
804
- * @throws {RequiredError}
805
- */
806
- async validatePartner(validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidatePartnerResponseClass>> {
807
- const localVarAxiosArgs = await localVarAxiosParamCreator.validatePartner(validatePartnerRequestDto, authorization, options);
808
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
809
- },
810
747
  }
811
748
  };
812
749
 
@@ -879,11 +816,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
879
816
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
880
817
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
881
818
  * @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.
882
- * @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;
819
+ * @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;
883
820
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
884
- * @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;
821
+ * @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;
885
822
  * @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;
886
- * @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;
823
+ * @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;
887
824
  * @param {*} [options] Override http request option.
888
825
  * @throws {RequiredError}
889
826
  */
@@ -944,17 +881,6 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
944
881
  updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerResponseClass> {
945
882
  return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
946
883
  },
947
- /**
948
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
949
- * @summary Validate a partner
950
- * @param {ValidatePartnerRequestDto} validatePartnerRequestDto
951
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
952
- * @param {*} [options] Override http request option.
953
- * @throws {RequiredError}
954
- */
955
- validatePartner(validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<ValidatePartnerResponseClass> {
956
- return localVarFp.validatePartner(validatePartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
957
- },
958
884
  };
959
885
  };
960
886
 
@@ -1098,7 +1024,7 @@ export interface PartnersApiListPartnersRequest {
1098
1024
  readonly pageToken?: string
1099
1025
 
1100
1026
  /**
1101
- * 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;
1027
+ * 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;
1102
1028
  * @type {string}
1103
1029
  * @memberof PartnersApiListPartners
1104
1030
  */
@@ -1112,7 +1038,7 @@ export interface PartnersApiListPartnersRequest {
1112
1038
  readonly search?: string
1113
1039
 
1114
1040
  /**
1115
- * 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;
1041
+ * 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;
1116
1042
  * @type {string}
1117
1043
  * @memberof PartnersApiListPartners
1118
1044
  */
@@ -1126,7 +1052,7 @@ export interface PartnersApiListPartnersRequest {
1126
1052
  readonly expand?: string
1127
1053
 
1128
1054
  /**
1129
- * 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;
1055
+ * 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;
1130
1056
  * @type {string}
1131
1057
  * @memberof PartnersApiListPartners
1132
1058
  */
@@ -1287,27 +1213,6 @@ export interface PartnersApiUpdatePartnerRequest {
1287
1213
  readonly authorization?: string
1288
1214
  }
1289
1215
 
1290
- /**
1291
- * Request parameters for validatePartner operation in PartnersApi.
1292
- * @export
1293
- * @interface PartnersApiValidatePartnerRequest
1294
- */
1295
- export interface PartnersApiValidatePartnerRequest {
1296
- /**
1297
- *
1298
- * @type {ValidatePartnerRequestDto}
1299
- * @memberof PartnersApiValidatePartner
1300
- */
1301
- readonly validatePartnerRequestDto: ValidatePartnerRequestDto
1302
-
1303
- /**
1304
- * Bearer Token: provided by the login endpoint under the name accessToken.
1305
- * @type {string}
1306
- * @memberof PartnersApiValidatePartner
1307
- */
1308
- readonly authorization?: string
1309
- }
1310
-
1311
1216
  /**
1312
1217
  * PartnersApi - object-oriented interface
1313
1218
  * @export
@@ -1434,16 +1339,4 @@ export class PartnersApi extends BaseAPI {
1434
1339
  public updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
1435
1340
  return PartnersApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1436
1341
  }
1437
-
1438
- /**
1439
- * Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
1440
- * @summary Validate a partner
1441
- * @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
1442
- * @param {*} [options] Override http request option.
1443
- * @throws {RequiredError}
1444
- * @memberof PartnersApi
1445
- */
1446
- public validatePartner(requestParameters: PartnersApiValidatePartnerRequest, options?: AxiosRequestConfig) {
1447
- return PartnersApiFp(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1448
- }
1449
1342
  }
package/api.ts CHANGED
@@ -22,10 +22,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
  import { BlacklistApi } from './api';
24
24
  import { BlacklistReasonsApi } from './api';
25
- import { HealthApi } from './api';
26
- import { PartnerHierarchiesApi } from './api';
27
- import { PartnerHierarchyNodesApi } from './api';
28
- import { PartnerHierarchyTypesApi } from './api';
25
+ import { DefaultApi } from './api';
29
26
  import { PartnerInvitationsApi } from './api';
30
27
  import { PartnerRelationsApi } from './api';
31
28
  import { PartnerTagsApi } from './api';
@@ -36,10 +33,7 @@ import { PartnersApi } from './api';
36
33
 
37
34
  export * from './api/blacklist-api';
38
35
  export * from './api/blacklist-reasons-api';
39
- export * from './api/health-api';
40
- export * from './api/partner-hierarchies-api';
41
- export * from './api/partner-hierarchy-nodes-api';
42
- export * from './api/partner-hierarchy-types-api';
36
+ export * from './api/default-api';
43
37
  export * from './api/partner-invitations-api';
44
38
  export * from './api/partner-relations-api';
45
39
  export * from './api/partner-tags-api';
package/base.ts CHANGED
@@ -53,7 +53,6 @@ export enum Environment {
53
53
  Staging = 'https://apiv2-staging.emil.de',
54
54
  Development = 'https://apiv2-dev.emil.de',
55
55
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
56
- StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
57
56
  }
58
57
 
59
58
  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 { DeleteByCodeResponseClass } from '../models';
17
+ import { DeleteResponseClass } 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<DeleteByCodeResponseClass>>;
100
+ deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
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<DeleteByCodeResponseClass>;
157
+ deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
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<DeleteByCodeResponseClass, any, {}>>;
347
+ deleteBlacklistItem(requestParameters: BlacklistApiDeleteBlacklistItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, 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 { DeleteByCodeResponseClass } from '../models';
17
+ import { DeleteResponseClass } 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<DeleteByCodeResponseClass>>;
113
+ deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
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<DeleteByCodeResponseClass>;
181
+ deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
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<DeleteByCodeResponseClass, any, {}>>;
413
+ deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, 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