@emilgroup/partner-sdk 1.22.1-beta.9 → 1.23.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 (146) hide show
  1. package/.openapi-generator/FILES +41 -0
  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/partner-hierarchies-api.ts +1367 -0
  6. package/api/partner-hierarchy-nodes-api.ts +1197 -0
  7. package/api/partner-hierarchy-types-api.ts +679 -0
  8. package/api/partners-api.ts +318 -12
  9. package/api.ts +6 -0
  10. package/base.ts +1 -0
  11. package/dist/api/blacklist-api.d.ts +4 -4
  12. package/dist/api/blacklist-reasons-api.d.ts +4 -4
  13. package/dist/api/partner-hierarchies-api.d.ts +774 -0
  14. package/dist/api/partner-hierarchies-api.js +1171 -0
  15. package/dist/api/partner-hierarchy-nodes-api.d.ts +674 -0
  16. package/dist/api/partner-hierarchy-nodes-api.js +1049 -0
  17. package/dist/api/partner-hierarchy-types-api.d.ts +385 -0
  18. package/dist/api/partner-hierarchy-types-api.js +636 -0
  19. package/dist/api/partners-api.d.ts +187 -12
  20. package/dist/api/partners-api.js +236 -9
  21. package/dist/api.d.ts +3 -0
  22. package/dist/api.js +3 -0
  23. package/dist/base.d.ts +2 -1
  24. package/dist/base.js +1 -0
  25. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
  26. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
  27. package/dist/models/create-partner-hierarchy-node-request-dto.d.ts +42 -0
  28. package/dist/models/create-partner-hierarchy-node-request-dto.js +15 -0
  29. package/dist/models/create-partner-hierarchy-node-response-class.d.ts +25 -0
  30. package/dist/models/create-partner-hierarchy-node-response-class.js +15 -0
  31. package/dist/models/create-partner-hierarchy-request-dto.d.ts +30 -0
  32. package/dist/models/create-partner-hierarchy-request-dto.js +15 -0
  33. package/dist/models/create-partner-hierarchy-response-class.d.ts +25 -0
  34. package/dist/models/create-partner-hierarchy-response-class.js +15 -0
  35. package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +30 -0
  36. package/dist/models/create-partner-hierarchy-type-request-dto.js +15 -0
  37. package/dist/models/create-partner-hierarchy-type-response-class.d.ts +25 -0
  38. package/dist/models/create-partner-hierarchy-type-response-class.js +15 -0
  39. package/dist/models/delete-by-code-response-class.d.ts +24 -0
  40. package/dist/models/delete-by-code-response-class.js +15 -0
  41. package/dist/models/generate-upload-url-response-class.d.ts +36 -0
  42. package/dist/models/generate-upload-url-response-class.js +15 -0
  43. package/dist/models/get-partner-hierarchy-node-response-class.d.ts +25 -0
  44. package/dist/models/get-partner-hierarchy-node-response-class.js +15 -0
  45. package/dist/models/get-partner-hierarchy-response-class.d.ts +25 -0
  46. package/dist/models/get-partner-hierarchy-response-class.js +15 -0
  47. package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +42 -0
  48. package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
  49. package/dist/models/get-partner-hierarchy-tree-response-class.d.ts +25 -0
  50. package/dist/models/get-partner-hierarchy-tree-response-class.js +15 -0
  51. package/dist/models/get-partner-hierarchy-type-response-class.d.ts +25 -0
  52. package/dist/models/get-partner-hierarchy-type-response-class.js +15 -0
  53. package/dist/models/index.d.ts +38 -0
  54. package/dist/models/index.js +38 -0
  55. package/dist/models/list-partner-hierarchies-response-class.d.ts +43 -0
  56. package/dist/models/list-partner-hierarchies-response-class.js +15 -0
  57. package/dist/models/list-partner-hierarchy-node-history-response-class.d.ts +43 -0
  58. package/dist/models/list-partner-hierarchy-node-history-response-class.js +15 -0
  59. package/dist/models/list-partner-hierarchy-nodes-response-class.d.ts +43 -0
  60. package/dist/models/list-partner-hierarchy-nodes-response-class.js +15 -0
  61. package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
  62. package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
  63. package/dist/models/list-partner-hierarchy-types-response-class.d.ts +43 -0
  64. package/dist/models/list-partner-hierarchy-types-response-class.js +15 -0
  65. package/dist/models/list-partners-response-class.d.ts +9 -9
  66. package/dist/models/move-partner-hierarchy-node-request-dto.d.ts +30 -0
  67. package/dist/models/move-partner-hierarchy-node-request-dto.js +15 -0
  68. package/dist/models/move-partner-hierarchy-node-response-class.d.ts +25 -0
  69. package/dist/models/move-partner-hierarchy-node-response-class.js +15 -0
  70. package/dist/models/partner-class.d.ts +6 -0
  71. package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
  72. package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
  73. package/dist/models/partner-hierarchy-class.d.ts +78 -0
  74. package/dist/models/partner-hierarchy-class.js +15 -0
  75. package/dist/models/partner-hierarchy-node-class.d.ts +109 -0
  76. package/dist/models/partner-hierarchy-node-class.js +15 -0
  77. package/dist/models/partner-hierarchy-node-history-class.d.ts +97 -0
  78. package/dist/models/partner-hierarchy-node-history-class.js +15 -0
  79. package/dist/models/partner-hierarchy-node-tree-class.d.ts +96 -0
  80. package/dist/models/partner-hierarchy-node-tree-class.js +15 -0
  81. package/dist/models/partner-hierarchy-operation-class.d.ts +90 -0
  82. package/dist/models/partner-hierarchy-operation-class.js +15 -0
  83. package/dist/models/partner-hierarchy-type-class.d.ts +66 -0
  84. package/dist/models/partner-hierarchy-type-class.js +15 -0
  85. package/dist/models/unassign-partner-hierarchy-node-response-class.d.ts +25 -0
  86. package/dist/models/unassign-partner-hierarchy-node-response-class.js +15 -0
  87. package/dist/models/update-partner-hierarchy-node-request-dto.d.ts +30 -0
  88. package/dist/models/update-partner-hierarchy-node-request-dto.js +15 -0
  89. package/dist/models/update-partner-hierarchy-node-response-class.d.ts +25 -0
  90. package/dist/models/update-partner-hierarchy-node-response-class.js +15 -0
  91. package/dist/models/update-partner-hierarchy-request-dto.d.ts +24 -0
  92. package/dist/models/update-partner-hierarchy-request-dto.js +15 -0
  93. package/dist/models/update-partner-hierarchy-response-class.d.ts +25 -0
  94. package/dist/models/update-partner-hierarchy-response-class.js +15 -0
  95. package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
  96. package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
  97. package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +30 -0
  98. package/dist/models/update-partner-hierarchy-type-request-dto.js +15 -0
  99. package/dist/models/update-partner-hierarchy-type-response-class.d.ts +25 -0
  100. package/dist/models/update-partner-hierarchy-type-response-class.js +15 -0
  101. package/dist/models/validate-partner-request-dto.d.ts +30 -0
  102. package/dist/models/validate-partner-request-dto.js +15 -0
  103. package/dist/models/validate-partner-response-class.d.ts +30 -0
  104. package/dist/models/validate-partner-response-class.js +15 -0
  105. package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
  106. package/models/create-partner-hierarchy-node-request-dto.ts +48 -0
  107. package/models/create-partner-hierarchy-node-response-class.ts +31 -0
  108. package/models/create-partner-hierarchy-request-dto.ts +36 -0
  109. package/models/create-partner-hierarchy-response-class.ts +31 -0
  110. package/models/create-partner-hierarchy-type-request-dto.ts +36 -0
  111. package/models/create-partner-hierarchy-type-response-class.ts +31 -0
  112. package/models/delete-by-code-response-class.ts +30 -0
  113. package/models/generate-upload-url-response-class.ts +42 -0
  114. package/models/get-partner-hierarchy-node-response-class.ts +31 -0
  115. package/models/get-partner-hierarchy-response-class.ts +31 -0
  116. package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -0
  117. package/models/get-partner-hierarchy-tree-response-class.ts +31 -0
  118. package/models/get-partner-hierarchy-type-response-class.ts +31 -0
  119. package/models/index.ts +38 -0
  120. package/models/list-partner-hierarchies-response-class.ts +49 -0
  121. package/models/list-partner-hierarchy-node-history-response-class.ts +49 -0
  122. package/models/list-partner-hierarchy-nodes-response-class.ts +49 -0
  123. package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
  124. package/models/list-partner-hierarchy-types-response-class.ts +49 -0
  125. package/models/list-partners-response-class.ts +9 -9
  126. package/models/move-partner-hierarchy-node-request-dto.ts +36 -0
  127. package/models/move-partner-hierarchy-node-response-class.ts +31 -0
  128. package/models/partner-class.ts +6 -0
  129. package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
  130. package/models/partner-hierarchy-class.ts +84 -0
  131. package/models/partner-hierarchy-node-class.ts +115 -0
  132. package/models/partner-hierarchy-node-history-class.ts +103 -0
  133. package/models/partner-hierarchy-node-tree-class.ts +102 -0
  134. package/models/partner-hierarchy-operation-class.ts +96 -0
  135. package/models/partner-hierarchy-type-class.ts +72 -0
  136. package/models/unassign-partner-hierarchy-node-response-class.ts +31 -0
  137. package/models/update-partner-hierarchy-node-request-dto.ts +36 -0
  138. package/models/update-partner-hierarchy-node-response-class.ts +31 -0
  139. package/models/update-partner-hierarchy-request-dto.ts +30 -0
  140. package/models/update-partner-hierarchy-response-class.ts +31 -0
  141. package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
  142. package/models/update-partner-hierarchy-type-request-dto.ts +36 -0
  143. package/models/update-partner-hierarchy-type-response-class.ts +31 -0
  144. package/models/validate-partner-request-dto.ts +36 -0
  145. package/models/validate-partner-response-class.ts +36 -0
  146. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyTypeClass } from './partner-hierarchy-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPartnerHierarchyTypeResponseClass
22
+ */
23
+ export interface GetPartnerHierarchyTypeResponseClass {
24
+ /**
25
+ * The partner hierarchy type response.
26
+ * @type {PartnerHierarchyTypeClass}
27
+ * @memberof GetPartnerHierarchyTypeResponseClass
28
+ */
29
+ 'hierarchyType': PartnerHierarchyTypeClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './batch-create-partner-hierarchy-nodes-request-dto';
1
2
  export * from './blacklist-item-class';
2
3
  export * from './blacklist-reason-class';
3
4
  export * from './create-blacklist-item-request-dto';
@@ -6,6 +7,12 @@ export * from './create-blacklist-reason-request-dto';
6
7
  export * from './create-blacklist-reason-response-class';
7
8
  export * from './create-or-update-partner-from-account-request-dto';
8
9
  export * from './create-or-update-partner-from-account-response-class';
10
+ export * from './create-partner-hierarchy-node-request-dto';
11
+ export * from './create-partner-hierarchy-node-response-class';
12
+ export * from './create-partner-hierarchy-request-dto';
13
+ export * from './create-partner-hierarchy-response-class';
14
+ export * from './create-partner-hierarchy-type-request-dto';
15
+ export * from './create-partner-hierarchy-type-response-class';
9
16
  export * from './create-partner-relation-request-dto-rest';
10
17
  export * from './create-partner-relation-response-class';
11
18
  export * from './create-partner-request-dto';
@@ -14,9 +21,16 @@ export * from './create-partner-type-request-dto';
14
21
  export * from './create-partner-type-response-class';
15
22
  export * from './create-tag-request-dto';
16
23
  export * from './create-tag-response-class';
24
+ export * from './delete-by-code-response-class';
17
25
  export * from './delete-response-class';
26
+ export * from './generate-upload-url-response-class';
18
27
  export * from './get-blacklist-item-response-class';
19
28
  export * from './get-blacklist-reason-response-class';
29
+ export * from './get-partner-hierarchy-node-response-class';
30
+ export * from './get-partner-hierarchy-response-class';
31
+ export * from './get-partner-hierarchy-tree-file-response-class';
32
+ export * from './get-partner-hierarchy-tree-response-class';
33
+ export * from './get-partner-hierarchy-type-response-class';
20
34
  export * from './get-partner-relation-class';
21
35
  export * from './get-partner-relation-type-class';
22
36
  export * from './get-partner-response-class';
@@ -32,6 +46,11 @@ export * from './invite-partner-to-eis-response-class';
32
46
  export * from './is-blacklisted-response-class';
33
47
  export * from './list-blacklist-items-response-class';
34
48
  export * from './list-blacklist-reasons-response-class';
49
+ export * from './list-partner-hierarchies-response-class';
50
+ export * from './list-partner-hierarchy-node-history-response-class';
51
+ export * from './list-partner-hierarchy-nodes-response-class';
52
+ export * from './list-partner-hierarchy-operations-response-class';
53
+ export * from './list-partner-hierarchy-types-response-class';
35
54
  export * from './list-partner-relation-class';
36
55
  export * from './list-partner-relation-types-class';
37
56
  export * from './list-partner-types-response-class';
@@ -43,7 +62,16 @@ export * from './map-partner-to-account-response-class';
43
62
  export * from './mapped-account-from-partner-class';
44
63
  export * from './merge-partners-request-dto';
45
64
  export * from './merge-partners-response-class';
65
+ export * from './move-partner-hierarchy-node-request-dto';
66
+ export * from './move-partner-hierarchy-node-response-class';
46
67
  export * from './partner-class';
68
+ export * from './partner-hierarchy-async-operation-response-class';
69
+ export * from './partner-hierarchy-class';
70
+ export * from './partner-hierarchy-node-class';
71
+ export * from './partner-hierarchy-node-history-class';
72
+ export * from './partner-hierarchy-node-tree-class';
73
+ export * from './partner-hierarchy-operation-class';
74
+ export * from './partner-hierarchy-type-class';
47
75
  export * from './partner-relation-class';
48
76
  export * from './partner-relation-type-class';
49
77
  export * from './partner-type-class';
@@ -53,12 +81,22 @@ export * from './related-partner-data-class';
53
81
  export * from './role-class';
54
82
  export * from './tag-class';
55
83
  export * from './tag-partner-request-dto-rest';
84
+ export * from './unassign-partner-hierarchy-node-response-class';
56
85
  export * from './update-blacklist-reason-request-dto';
57
86
  export * from './update-blacklist-reason-response-class';
58
87
  export * from './update-blacklist-reason-status-request-dto';
88
+ export * from './update-partner-hierarchy-node-request-dto';
89
+ export * from './update-partner-hierarchy-node-response-class';
90
+ export * from './update-partner-hierarchy-request-dto';
91
+ export * from './update-partner-hierarchy-response-class';
92
+ export * from './update-partner-hierarchy-tree-request-body-dto';
93
+ export * from './update-partner-hierarchy-type-request-dto';
94
+ export * from './update-partner-hierarchy-type-response-class';
59
95
  export * from './update-partner-relation-request-dto-rest';
60
96
  export * from './update-partner-request-dto';
61
97
  export * from './update-partner-response-class';
62
98
  export * from './update-partner-type-request-dto';
63
99
  export * from './update-partner-type-response-class';
64
100
  export * from './update-tag-response-class';
101
+ export * from './validate-partner-request-dto';
102
+ export * from './validate-partner-response-class';
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyClass } from './partner-hierarchy-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerHierarchiesResponseClass
22
+ */
23
+ export interface ListPartnerHierarchiesResponseClass {
24
+ /**
25
+ * The list of partner hierarchiess.
26
+ * @type {Array<PartnerHierarchyClass>}
27
+ * @memberof ListPartnerHierarchiesResponseClass
28
+ */
29
+ 'items': Array<PartnerHierarchyClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerHierarchiesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerHierarchiesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPartnerHierarchiesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyNodeHistoryClass } from './partner-hierarchy-node-history-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerHierarchyNodeHistoryResponseClass
22
+ */
23
+ export interface ListPartnerHierarchyNodeHistoryResponseClass {
24
+ /**
25
+ * The list of partner hierarchy node historys.
26
+ * @type {Array<PartnerHierarchyNodeHistoryClass>}
27
+ * @memberof ListPartnerHierarchyNodeHistoryResponseClass
28
+ */
29
+ 'items': Array<PartnerHierarchyNodeHistoryClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerHierarchyNodeHistoryResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerHierarchyNodeHistoryResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPartnerHierarchyNodeHistoryResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyNodeClass } from './partner-hierarchy-node-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerHierarchyNodesResponseClass
22
+ */
23
+ export interface ListPartnerHierarchyNodesResponseClass {
24
+ /**
25
+ * The list of partner hierarchy nodess.
26
+ * @type {Array<PartnerHierarchyNodeClass>}
27
+ * @memberof ListPartnerHierarchyNodesResponseClass
28
+ */
29
+ 'items': Array<PartnerHierarchyNodeClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerHierarchyNodesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerHierarchyNodesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPartnerHierarchyNodesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyOperationClass } from './partner-hierarchy-operation-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerHierarchyOperationsResponseClass
22
+ */
23
+ export interface ListPartnerHierarchyOperationsResponseClass {
24
+ /**
25
+ * The list of partner hierarchy operationss.
26
+ * @type {Array<PartnerHierarchyOperationClass>}
27
+ * @memberof ListPartnerHierarchyOperationsResponseClass
28
+ */
29
+ 'items': Array<PartnerHierarchyOperationClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerHierarchyOperationsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerHierarchyOperationsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPartnerHierarchyOperationsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyTypeClass } from './partner-hierarchy-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerHierarchyTypesResponseClass
22
+ */
23
+ export interface ListPartnerHierarchyTypesResponseClass {
24
+ /**
25
+ * The list of partner hierarchy typess.
26
+ * @type {Array<PartnerHierarchyTypeClass>}
27
+ * @memberof ListPartnerHierarchyTypesResponseClass
28
+ */
29
+ 'items': Array<PartnerHierarchyTypeClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerHierarchyTypesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerHierarchyTypesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPartnerHierarchyTypesResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -22,17 +22,17 @@ import { PartnerClass } from './partner-class';
22
22
  */
23
23
  export interface ListPartnersResponseClass {
24
24
  /**
25
- * Next page token.
26
- * @type {string}
25
+ * The list of partnerss.
26
+ * @type {Array<PartnerClass>}
27
27
  * @memberof ListPartnersResponseClass
28
28
  */
29
- 'nextPageToken': string;
29
+ 'items': Array<PartnerClass>;
30
30
  /**
31
- * Total amount of items.
32
- * @type {number}
31
+ * Next page token.
32
+ * @type {string}
33
33
  * @memberof ListPartnersResponseClass
34
34
  */
35
- 'totalItems': number;
35
+ 'nextPageToken': string;
36
36
  /**
37
37
  * Items per page.
38
38
  * @type {number}
@@ -40,10 +40,10 @@ export interface ListPartnersResponseClass {
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * The list of partnerss.
44
- * @type {Array<PartnerClass>}
43
+ * Total amount of items.
44
+ * @type {number}
45
45
  * @memberof ListPartnersResponseClass
46
46
  */
47
- 'items': Array<PartnerClass>;
47
+ 'totalItems': number;
48
48
  }
49
49
 
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface MovePartnerHierarchyNodeRequestDto
21
+ */
22
+ export interface MovePartnerHierarchyNodeRequestDto {
23
+ /**
24
+ * New parent node code. It must be in the same hierarchy and at the same depth as the current parent.
25
+ * @type {string}
26
+ * @memberof MovePartnerHierarchyNodeRequestDto
27
+ */
28
+ 'newParentCode': string;
29
+ /**
30
+ * Optional replacement role code applied during the move. It must remain valid for the node’s unchanged depth.
31
+ * @type {string}
32
+ * @memberof MovePartnerHierarchyNodeRequestDto
33
+ */
34
+ 'roleCode'?: string;
35
+ }
36
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PartnerHierarchyNodeClass } from './partner-hierarchy-node-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface MovePartnerHierarchyNodeResponseClass
22
+ */
23
+ export interface MovePartnerHierarchyNodeResponseClass {
24
+ /**
25
+ * The partner hierarchy node response.
26
+ * @type {PartnerHierarchyNodeClass}
27
+ * @memberof MovePartnerHierarchyNodeResponseClass
28
+ */
29
+ 'node': PartnerHierarchyNodeClass;
30
+ }
31
+
@@ -124,5 +124,11 @@ export interface PartnerClass {
124
124
  * @memberof PartnerClass
125
125
  */
126
126
  'accountMetadata'?: object;
127
+ /**
128
+ * Number of sub-partners of this partner.
129
+ * @type {number}
130
+ * @memberof PartnerClass
131
+ */
132
+ 'subPartnersCount'?: number;
127
133
  }
128
134
 
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PartnerHierarchyAsyncOperationResponseClass
21
+ */
22
+ export interface PartnerHierarchyAsyncOperationResponseClass {
23
+ /**
24
+ * Code of the long-running operation that is processing the hierarchy file.
25
+ * @type {string}
26
+ * @memberof PartnerHierarchyAsyncOperationResponseClass
27
+ */
28
+ 'operationCode': string;
29
+ /**
30
+ * Current operation status. Use the hierarchy operations endpoint to check progress.
31
+ * @type {string}
32
+ * @memberof PartnerHierarchyAsyncOperationResponseClass
33
+ */
34
+ 'status': string;
35
+ }
36
+
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PartnerHierarchyClass
21
+ */
22
+ export interface PartnerHierarchyClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PartnerHierarchyClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique hierarchy code.
31
+ * @type {string}
32
+ * @memberof PartnerHierarchyClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Human-readable name.
37
+ * @type {string}
38
+ * @memberof PartnerHierarchyClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * Code of the hierarchy type.
43
+ * @type {string}
44
+ * @memberof PartnerHierarchyClass
45
+ */
46
+ 'partnerHierarchyTypeCode': string;
47
+ /**
48
+ * Whether the cached hierarchy tree needs a refresh.
49
+ * @type {boolean}
50
+ * @memberof PartnerHierarchyClass
51
+ */
52
+ 'isTreeStale': boolean;
53
+ /**
54
+ * Processing reference, if the hierarchy is currently locked.
55
+ * @type {string}
56
+ * @memberof PartnerHierarchyClass
57
+ */
58
+ 'lockedByOperationCode'?: string;
59
+ /**
60
+ * Time at which the object was created.
61
+ * @type {string}
62
+ * @memberof PartnerHierarchyClass
63
+ */
64
+ 'createdAt': string;
65
+ /**
66
+ * Time at which the object was updated.
67
+ * @type {string}
68
+ * @memberof PartnerHierarchyClass
69
+ */
70
+ 'updatedAt': string;
71
+ /**
72
+ * Identifier of the user who created the record.
73
+ * @type {string}
74
+ * @memberof PartnerHierarchyClass
75
+ */
76
+ 'createdBy': string;
77
+ /**
78
+ * Identifier of the user who last updated the record.
79
+ * @type {string}
80
+ * @memberof PartnerHierarchyClass
81
+ */
82
+ 'updatedBy': string;
83
+ }
84
+