@emilgroup/partner-sdk-node 1.22.1-beta.16 → 1.22.1-beta.18

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 (53) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +2 -2
  3. package/api/partner-hierarchies-api.ts +89 -64
  4. package/api/partner-hierarchy-nodes-api.ts +58 -39
  5. package/api/partner-hierarchy-types-api.ts +20 -20
  6. package/api/partners-api.ts +107 -0
  7. package/dist/api/partner-hierarchies-api.d.ts +79 -65
  8. package/dist/api/partner-hierarchies-api.js +65 -58
  9. package/dist/api/partner-hierarchy-nodes-api.d.ts +47 -36
  10. package/dist/api/partner-hierarchy-nodes-api.js +45 -39
  11. package/dist/api/partner-hierarchy-types-api.d.ts +20 -20
  12. package/dist/api/partner-hierarchy-types-api.js +20 -20
  13. package/dist/api/partners-api.d.ts +57 -0
  14. package/dist/api/partners-api.js +93 -0
  15. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
  16. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
  17. package/dist/models/generate-upload-url-response-class.d.ts +36 -0
  18. package/dist/models/generate-upload-url-response-class.js +15 -0
  19. package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +42 -0
  20. package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
  21. package/dist/models/index.d.ts +9 -0
  22. package/dist/models/index.js +9 -0
  23. package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
  24. package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
  25. package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
  26. package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
  27. package/dist/models/partner-hierarchy-class.d.ts +1 -1
  28. package/dist/models/partner-hierarchy-node-class.d.ts +4 -4
  29. package/dist/models/partner-hierarchy-node-history-class.d.ts +3 -3
  30. package/dist/models/partner-hierarchy-node-tree-class.d.ts +6 -6
  31. package/dist/models/partner-hierarchy-operation-class.d.ts +90 -0
  32. package/dist/models/partner-hierarchy-operation-class.js +15 -0
  33. package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
  34. package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
  35. package/dist/models/validate-partner-request-dto.d.ts +30 -0
  36. package/dist/models/validate-partner-request-dto.js +15 -0
  37. package/dist/models/validate-partner-response-class.d.ts +30 -0
  38. package/dist/models/validate-partner-response-class.js +15 -0
  39. package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
  40. package/models/generate-upload-url-response-class.ts +42 -0
  41. package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -0
  42. package/models/index.ts +9 -0
  43. package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
  44. package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
  45. package/models/partner-hierarchy-class.ts +1 -1
  46. package/models/partner-hierarchy-node-class.ts +4 -4
  47. package/models/partner-hierarchy-node-history-class.ts +3 -3
  48. package/models/partner-hierarchy-node-tree-class.ts +6 -6
  49. package/models/partner-hierarchy-operation-class.ts +96 -0
  50. package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
  51. package/models/validate-partner-request-dto.ts +36 -0
  52. package/models/validate-partner-response-class.ts +36 -0
  53. package/package.json +1 -1
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./batch-create-partner-hierarchy-nodes-request-dto"), exports);
17
18
  __exportStar(require("./blacklist-item-class"), exports);
18
19
  __exportStar(require("./blacklist-reason-class"), exports);
19
20
  __exportStar(require("./create-blacklist-item-request-dto"), exports);
@@ -38,10 +39,12 @@ __exportStar(require("./create-tag-request-dto"), exports);
38
39
  __exportStar(require("./create-tag-response-class"), exports);
39
40
  __exportStar(require("./delete-by-code-response-class"), exports);
40
41
  __exportStar(require("./delete-response-class"), exports);
42
+ __exportStar(require("./generate-upload-url-response-class"), exports);
41
43
  __exportStar(require("./get-blacklist-item-response-class"), exports);
42
44
  __exportStar(require("./get-blacklist-reason-response-class"), exports);
43
45
  __exportStar(require("./get-partner-hierarchy-node-response-class"), exports);
44
46
  __exportStar(require("./get-partner-hierarchy-response-class"), exports);
47
+ __exportStar(require("./get-partner-hierarchy-tree-file-response-class"), exports);
45
48
  __exportStar(require("./get-partner-hierarchy-tree-response-class"), exports);
46
49
  __exportStar(require("./get-partner-hierarchy-type-response-class"), exports);
47
50
  __exportStar(require("./get-partner-relation-class"), exports);
@@ -62,6 +65,7 @@ __exportStar(require("./list-blacklist-reasons-response-class"), exports);
62
65
  __exportStar(require("./list-partner-hierarchies-response-class"), exports);
63
66
  __exportStar(require("./list-partner-hierarchy-node-history-response-class"), exports);
64
67
  __exportStar(require("./list-partner-hierarchy-nodes-response-class"), exports);
68
+ __exportStar(require("./list-partner-hierarchy-operations-response-class"), exports);
65
69
  __exportStar(require("./list-partner-hierarchy-types-response-class"), exports);
66
70
  __exportStar(require("./list-partner-relation-class"), exports);
67
71
  __exportStar(require("./list-partner-relation-types-class"), exports);
@@ -77,10 +81,12 @@ __exportStar(require("./merge-partners-response-class"), exports);
77
81
  __exportStar(require("./move-partner-hierarchy-node-request-dto"), exports);
78
82
  __exportStar(require("./move-partner-hierarchy-node-response-class"), exports);
79
83
  __exportStar(require("./partner-class"), exports);
84
+ __exportStar(require("./partner-hierarchy-async-operation-response-class"), exports);
80
85
  __exportStar(require("./partner-hierarchy-class"), exports);
81
86
  __exportStar(require("./partner-hierarchy-node-class"), exports);
82
87
  __exportStar(require("./partner-hierarchy-node-history-class"), exports);
83
88
  __exportStar(require("./partner-hierarchy-node-tree-class"), exports);
89
+ __exportStar(require("./partner-hierarchy-operation-class"), exports);
84
90
  __exportStar(require("./partner-hierarchy-type-class"), exports);
85
91
  __exportStar(require("./partner-relation-class"), exports);
86
92
  __exportStar(require("./partner-relation-type-class"), exports);
@@ -99,6 +105,7 @@ __exportStar(require("./update-partner-hierarchy-node-request-dto"), exports);
99
105
  __exportStar(require("./update-partner-hierarchy-node-response-class"), exports);
100
106
  __exportStar(require("./update-partner-hierarchy-request-dto"), exports);
101
107
  __exportStar(require("./update-partner-hierarchy-response-class"), exports);
108
+ __exportStar(require("./update-partner-hierarchy-tree-request-body-dto"), exports);
102
109
  __exportStar(require("./update-partner-hierarchy-type-request-dto"), exports);
103
110
  __exportStar(require("./update-partner-hierarchy-type-response-class"), exports);
104
111
  __exportStar(require("./update-partner-relation-request-dto-rest"), exports);
@@ -107,3 +114,5 @@ __exportStar(require("./update-partner-response-class"), exports);
107
114
  __exportStar(require("./update-partner-type-request-dto"), exports);
108
115
  __exportStar(require("./update-partner-type-response-class"), exports);
109
116
  __exportStar(require("./update-tag-response-class"), exports);
117
+ __exportStar(require("./validate-partner-request-dto"), exports);
118
+ __exportStar(require("./validate-partner-response-class"), exports);
@@ -0,0 +1,43 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PartnerHierarchyOperationClass } from './partner-hierarchy-operation-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPartnerHierarchyOperationsResponseClass
17
+ */
18
+ export interface ListPartnerHierarchyOperationsResponseClass {
19
+ /**
20
+ * The list of partner hierarchy operationss.
21
+ * @type {Array<PartnerHierarchyOperationClass>}
22
+ * @memberof ListPartnerHierarchyOperationsResponseClass
23
+ */
24
+ 'items': Array<PartnerHierarchyOperationClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerHierarchyOperationsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListPartnerHierarchyOperationsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total amount of items.
39
+ * @type {number}
40
+ * @memberof ListPartnerHierarchyOperationsResponseClass
41
+ */
42
+ 'totalItems': number;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PartnerHierarchyAsyncOperationResponseClass
16
+ */
17
+ export interface PartnerHierarchyAsyncOperationResponseClass {
18
+ /**
19
+ * Code of the long-running operation that is processing the hierarchy file.
20
+ * @type {string}
21
+ * @memberof PartnerHierarchyAsyncOperationResponseClass
22
+ */
23
+ 'operationCode': string;
24
+ /**
25
+ * Current operation status. Use the hierarchy operations endpoint to check progress.
26
+ * @type {string}
27
+ * @memberof PartnerHierarchyAsyncOperationResponseClass
28
+ */
29
+ 'status': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -50,7 +50,7 @@ export interface PartnerHierarchyClass {
50
50
  * @type {string}
51
51
  * @memberof PartnerHierarchyClass
52
52
  */
53
- 'lockedByOperationCode': string;
53
+ 'lockedByOperationCode'?: string;
54
54
  /**
55
55
  * Time at which the object was created.
56
56
  * @type {string}
@@ -39,13 +39,13 @@ export interface PartnerHierarchyNodeClass {
39
39
  * @type {string}
40
40
  * @memberof PartnerHierarchyNodeClass
41
41
  */
42
- 'partnerCode': string;
42
+ 'partnerCode'?: string;
43
43
  /**
44
44
  * Parent node code. Empty when this is the root.
45
45
  * @type {string}
46
46
  * @memberof PartnerHierarchyNodeClass
47
47
  */
48
- 'parentNodeCode': string;
48
+ 'parentNodeCode'?: string;
49
49
  /**
50
50
  * Role code at this position.
51
51
  * @type {string}
@@ -99,11 +99,11 @@ export interface PartnerHierarchyNodeClass {
99
99
  * @type {PartnerClass}
100
100
  * @memberof PartnerHierarchyNodeClass
101
101
  */
102
- 'partner': PartnerClass;
102
+ 'partner'?: PartnerClass;
103
103
  /**
104
104
  * Parent node in the same hierarchy.
105
105
  * @type {PartnerHierarchyNodeClass}
106
106
  * @memberof PartnerHierarchyNodeClass
107
107
  */
108
- 'parentNode': PartnerHierarchyNodeClass;
108
+ 'parentNode'?: PartnerHierarchyNodeClass;
109
109
  }
@@ -39,13 +39,13 @@ export interface PartnerHierarchyNodeHistoryClass {
39
39
  * @type {string}
40
40
  * @memberof PartnerHierarchyNodeHistoryClass
41
41
  */
42
- 'partnerCode': string;
42
+ 'partnerCode'?: string;
43
43
  /**
44
44
  * Parent node code during this interval.
45
45
  * @type {string}
46
46
  * @memberof PartnerHierarchyNodeHistoryClass
47
47
  */
48
- 'parentNodeCode': string;
48
+ 'parentNodeCode'?: string;
49
49
  /**
50
50
  * Role code during this interval.
51
51
  * @type {string}
@@ -93,5 +93,5 @@ export interface PartnerHierarchyNodeHistoryClass {
93
93
  * @type {PartnerClass}
94
94
  * @memberof PartnerHierarchyNodeHistoryClass
95
95
  */
96
- 'partner': PartnerClass;
96
+ 'partner'?: PartnerClass;
97
97
  }
@@ -26,13 +26,13 @@ export interface PartnerHierarchyNodeTreeClass {
26
26
  * @type {string}
27
27
  * @memberof PartnerHierarchyNodeTreeClass
28
28
  */
29
- 'partnerCode': string;
29
+ 'partnerCode'?: string;
30
30
  /**
31
- * Assigned partner display name.
31
+ * Display name of the assigned partner, if this position is filled.
32
32
  * @type {string}
33
33
  * @memberof PartnerHierarchyNodeTreeClass
34
34
  */
35
- 'partnerName': string;
35
+ 'partnerName'?: string;
36
36
  /**
37
37
  * Role code at this position.
38
38
  * @type {string}
@@ -44,7 +44,7 @@ export interface PartnerHierarchyNodeTreeClass {
44
44
  * @type {string}
45
45
  * @memberof PartnerHierarchyNodeTreeClass
46
46
  */
47
- 'parentNodeCode': string;
47
+ 'parentNodeCode'?: string;
48
48
  /**
49
49
  * Depth from root (root = 0).
50
50
  * @type {number}
@@ -80,13 +80,13 @@ export interface PartnerHierarchyNodeTreeClass {
80
80
  * @type {string}
81
81
  * @memberof PartnerHierarchyNodeTreeClass
82
82
  */
83
- 'nextPageToken': string;
83
+ 'nextPageToken'?: string;
84
84
  /**
85
85
  * Number of children returned in this page.
86
86
  * @type {number}
87
87
  * @memberof PartnerHierarchyNodeTreeClass
88
88
  */
89
- 'itemsPerPage': number;
89
+ 'itemsPerPage'?: number;
90
90
  /**
91
91
  * Loaded direct children (one level).
92
92
  * @type {Array<PartnerHierarchyNodeTreeClass>}
@@ -0,0 +1,90 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PartnerHierarchyOperationClass
16
+ */
17
+ export interface PartnerHierarchyOperationClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PartnerHierarchyOperationClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique code identifying this hierarchy operation.
26
+ * @type {string}
27
+ * @memberof PartnerHierarchyOperationClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Code of the hierarchy this operation belongs to.
32
+ * @type {string}
33
+ * @memberof PartnerHierarchyOperationClass
34
+ */
35
+ 'partnerHierarchyCode'?: string;
36
+ /**
37
+ * Operation type, such as FULL_UPDATE, BATCH_ADD, or BUILD_TREE.
38
+ * @type {string}
39
+ * @memberof PartnerHierarchyOperationClass
40
+ */
41
+ 'type'?: string;
42
+ /**
43
+ * Current operation status, such as PENDING, PROCESSING, DONE, or FAILED.
44
+ * @type {string}
45
+ * @memberof PartnerHierarchyOperationClass
46
+ */
47
+ 'status'?: string;
48
+ /**
49
+ * Uploaded file key used by this operation. Empty for operations that do not read an uploaded file.
50
+ * @type {string}
51
+ * @memberof PartnerHierarchyOperationClass
52
+ */
53
+ 's3Key': string;
54
+ /**
55
+ * Failure reason when the operation status is FAILED.
56
+ * @type {string}
57
+ * @memberof PartnerHierarchyOperationClass
58
+ */
59
+ 'error': string;
60
+ /**
61
+ * Time when the operation finished.
62
+ * @type {string}
63
+ * @memberof PartnerHierarchyOperationClass
64
+ */
65
+ 'completedAt': string;
66
+ /**
67
+ * Time at which the object was created.
68
+ * @type {string}
69
+ * @memberof PartnerHierarchyOperationClass
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ * Time at which the object was updated.
74
+ * @type {string}
75
+ * @memberof PartnerHierarchyOperationClass
76
+ */
77
+ 'updatedAt': string;
78
+ /**
79
+ * Identifier of the user who created the record.
80
+ * @type {string}
81
+ * @memberof PartnerHierarchyOperationClass
82
+ */
83
+ 'createdBy': string;
84
+ /**
85
+ * Identifier of the user who last updated the record.
86
+ * @type {string}
87
+ * @memberof PartnerHierarchyOperationClass
88
+ */
89
+ 'updatedBy': string;
90
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdatePartnerHierarchyTreeRequestBodyDto
16
+ */
17
+ export interface UpdatePartnerHierarchyTreeRequestBodyDto {
18
+ /**
19
+ * S3 object key returned by the upload URL endpoint after the hierarchy tree file is uploaded.
20
+ * @type {string}
21
+ * @memberof UpdatePartnerHierarchyTreeRequestBodyDto
22
+ */
23
+ 's3Key': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ValidatePartnerRequestDto
16
+ */
17
+ export interface ValidatePartnerRequestDto {
18
+ /**
19
+ * The unique partner number used to identify the partner.
20
+ * @type {string}
21
+ * @memberof ValidatePartnerRequestDto
22
+ */
23
+ 'partnerNumber': string;
24
+ /**
25
+ * Dynamic key-value pairs matched against partner custom fields (top-level or one level deep). All provided fields must match — AND logic. If omitted or empty, validation passes without checking custom fields.
26
+ * @type {object}
27
+ * @memberof ValidatePartnerRequestDto
28
+ */
29
+ 'validationFields'?: object;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ValidatePartnerResponseClass
16
+ */
17
+ export interface ValidatePartnerResponseClass {
18
+ /**
19
+ * True when the partner was found and all provided validationFields matched. Also true when validationFields is absent or empty.
20
+ * @type {boolean}
21
+ * @memberof ValidatePartnerResponseClass
22
+ */
23
+ 'isValid': boolean;
24
+ /**
25
+ * Describes why validation failed. Possible values: \"Partner not found with partnerNumber: [partnerNumber]\" | \"Validation failed: field \\\"[name]\\\" was not found in partner data\" | \"Validation failed: value for field \\\"[name]\\\" does not match\". Only present when isValid is false.
26
+ * @type {string}
27
+ * @memberof ValidatePartnerResponseClass
28
+ */
29
+ 'errorMessage'?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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 BatchCreatePartnerHierarchyNodesRequestDto
21
+ */
22
+ export interface BatchCreatePartnerHierarchyNodesRequestDto {
23
+ /**
24
+ * Code of the hierarchy that will receive the uploaded nodes.
25
+ * @type {string}
26
+ * @memberof BatchCreatePartnerHierarchyNodesRequestDto
27
+ */
28
+ 'partnerHierarchyCode': string;
29
+ /**
30
+ * S3 object key returned by the upload URL endpoint after the batch node file is uploaded.
31
+ * @type {string}
32
+ * @memberof BatchCreatePartnerHierarchyNodesRequestDto
33
+ */
34
+ 's3Key': string;
35
+ }
36
+
@@ -0,0 +1,42 @@
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 GenerateUploadUrlResponseClass
21
+ */
22
+ export interface GenerateUploadUrlResponseClass {
23
+ /**
24
+ * Pre-signed URL used to upload the hierarchy tree file.
25
+ * @type {string}
26
+ * @memberof GenerateUploadUrlResponseClass
27
+ */
28
+ 'url': string;
29
+ /**
30
+ * S3 object key to pass to the tree replacement or batch node creation endpoint after upload.
31
+ * @type {string}
32
+ * @memberof GenerateUploadUrlResponseClass
33
+ */
34
+ 's3Key': string;
35
+ /**
36
+ * Time when the upload URL expires.
37
+ * @type {string}
38
+ * @memberof GenerateUploadUrlResponseClass
39
+ */
40
+ 'expiresAt'?: string;
41
+ }
42
+
@@ -0,0 +1,48 @@
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 GetPartnerHierarchyTreeFileResponseClass
21
+ */
22
+ export interface GetPartnerHierarchyTreeFileResponseClass {
23
+ /**
24
+ * Download URL for the hierarchy tree file. Empty while the file is still being built.
25
+ * @type {string}
26
+ * @memberof GetPartnerHierarchyTreeFileResponseClass
27
+ */
28
+ 'url'?: string;
29
+ /**
30
+ * Time when the download URL expires.
31
+ * @type {string}
32
+ * @memberof GetPartnerHierarchyTreeFileResponseClass
33
+ */
34
+ 'expiresAt'?: string;
35
+ /**
36
+ * Operation code returned when the tree file is being built instead of immediately available.
37
+ * @type {string}
38
+ * @memberof GetPartnerHierarchyTreeFileResponseClass
39
+ */
40
+ 'operationCode'?: string;
41
+ /**
42
+ * Current tree file build status when a download URL is not ready yet.
43
+ * @type {string}
44
+ * @memberof GetPartnerHierarchyTreeFileResponseClass
45
+ */
46
+ 'status'?: string;
47
+ }
48
+