@emilgroup/partner-sdk 1.22.1-beta.17 → 1.22.1-beta.19
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.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/partner-hierarchies-api.ts +89 -64
- package/api/partner-hierarchy-nodes-api.ts +58 -39
- package/api/partner-hierarchy-types-api.ts +20 -20
- package/dist/api/partner-hierarchies-api.d.ts +79 -65
- package/dist/api/partner-hierarchies-api.js +65 -58
- package/dist/api/partner-hierarchy-nodes-api.d.ts +47 -36
- package/dist/api/partner-hierarchy-nodes-api.js +45 -39
- package/dist/api/partner-hierarchy-types-api.d.ts +20 -20
- package/dist/api/partner-hierarchy-types-api.js +20 -20
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
- package/dist/models/generate-upload-url-response-class.d.ts +36 -0
- package/dist/models/generate-upload-url-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +42 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
- package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
- package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
- package/dist/models/partner-hierarchy-class.d.ts +1 -1
- package/dist/models/partner-hierarchy-node-class.d.ts +4 -4
- package/dist/models/partner-hierarchy-node-history-class.d.ts +3 -3
- package/dist/models/partner-hierarchy-node-tree-class.d.ts +6 -6
- package/dist/models/partner-hierarchy-operation-class.d.ts +90 -0
- package/dist/models/partner-hierarchy-operation-class.js +15 -0
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
- package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
- package/models/generate-upload-url-response-class.ts +42 -0
- package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -0
- package/models/index.ts +7 -0
- package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
- package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
- package/models/partner-hierarchy-class.ts +1 -1
- package/models/partner-hierarchy-node-class.ts +4 -4
- package/models/partner-hierarchy-node-history-class.ts +3 -3
- package/models/partner-hierarchy-node-tree-class.ts +6 -6
- package/models/partner-hierarchy-operation-class.ts +96 -0
- package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -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,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
|
+
|
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';
|
|
@@ -22,10 +23,12 @@ export * from './create-tag-request-dto';
|
|
|
22
23
|
export * from './create-tag-response-class';
|
|
23
24
|
export * from './delete-by-code-response-class';
|
|
24
25
|
export * from './delete-response-class';
|
|
26
|
+
export * from './generate-upload-url-response-class';
|
|
25
27
|
export * from './get-blacklist-item-response-class';
|
|
26
28
|
export * from './get-blacklist-reason-response-class';
|
|
27
29
|
export * from './get-partner-hierarchy-node-response-class';
|
|
28
30
|
export * from './get-partner-hierarchy-response-class';
|
|
31
|
+
export * from './get-partner-hierarchy-tree-file-response-class';
|
|
29
32
|
export * from './get-partner-hierarchy-tree-response-class';
|
|
30
33
|
export * from './get-partner-hierarchy-type-response-class';
|
|
31
34
|
export * from './get-partner-relation-class';
|
|
@@ -46,6 +49,7 @@ export * from './list-blacklist-reasons-response-class';
|
|
|
46
49
|
export * from './list-partner-hierarchies-response-class';
|
|
47
50
|
export * from './list-partner-hierarchy-node-history-response-class';
|
|
48
51
|
export * from './list-partner-hierarchy-nodes-response-class';
|
|
52
|
+
export * from './list-partner-hierarchy-operations-response-class';
|
|
49
53
|
export * from './list-partner-hierarchy-types-response-class';
|
|
50
54
|
export * from './list-partner-relation-class';
|
|
51
55
|
export * from './list-partner-relation-types-class';
|
|
@@ -61,10 +65,12 @@ export * from './merge-partners-response-class';
|
|
|
61
65
|
export * from './move-partner-hierarchy-node-request-dto';
|
|
62
66
|
export * from './move-partner-hierarchy-node-response-class';
|
|
63
67
|
export * from './partner-class';
|
|
68
|
+
export * from './partner-hierarchy-async-operation-response-class';
|
|
64
69
|
export * from './partner-hierarchy-class';
|
|
65
70
|
export * from './partner-hierarchy-node-class';
|
|
66
71
|
export * from './partner-hierarchy-node-history-class';
|
|
67
72
|
export * from './partner-hierarchy-node-tree-class';
|
|
73
|
+
export * from './partner-hierarchy-operation-class';
|
|
68
74
|
export * from './partner-hierarchy-type-class';
|
|
69
75
|
export * from './partner-relation-class';
|
|
70
76
|
export * from './partner-relation-type-class';
|
|
@@ -83,6 +89,7 @@ export * from './update-partner-hierarchy-node-request-dto';
|
|
|
83
89
|
export * from './update-partner-hierarchy-node-response-class';
|
|
84
90
|
export * from './update-partner-hierarchy-request-dto';
|
|
85
91
|
export * from './update-partner-hierarchy-response-class';
|
|
92
|
+
export * from './update-partner-hierarchy-tree-request-body-dto';
|
|
86
93
|
export * from './update-partner-hierarchy-type-request-dto';
|
|
87
94
|
export * from './update-partner-hierarchy-type-response-class';
|
|
88
95
|
export * from './update-partner-relation-request-dto-rest';
|
|
@@ -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,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
|
+
|
|
@@ -44,13 +44,13 @@ export interface PartnerHierarchyNodeClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PartnerHierarchyNodeClass
|
|
46
46
|
*/
|
|
47
|
-
'partnerCode'
|
|
47
|
+
'partnerCode'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Parent node code. Empty when this is the root.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof PartnerHierarchyNodeClass
|
|
52
52
|
*/
|
|
53
|
-
'parentNodeCode'
|
|
53
|
+
'parentNodeCode'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* Role code at this position.
|
|
56
56
|
* @type {string}
|
|
@@ -104,12 +104,12 @@ export interface PartnerHierarchyNodeClass {
|
|
|
104
104
|
* @type {PartnerClass}
|
|
105
105
|
* @memberof PartnerHierarchyNodeClass
|
|
106
106
|
*/
|
|
107
|
-
'partner'
|
|
107
|
+
'partner'?: PartnerClass;
|
|
108
108
|
/**
|
|
109
109
|
* Parent node in the same hierarchy.
|
|
110
110
|
* @type {PartnerHierarchyNodeClass}
|
|
111
111
|
* @memberof PartnerHierarchyNodeClass
|
|
112
112
|
*/
|
|
113
|
-
'parentNode'
|
|
113
|
+
'parentNode'?: PartnerHierarchyNodeClass;
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -44,13 +44,13 @@ export interface PartnerHierarchyNodeHistoryClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PartnerHierarchyNodeHistoryClass
|
|
46
46
|
*/
|
|
47
|
-
'partnerCode'
|
|
47
|
+
'partnerCode'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Parent node code during this interval.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof PartnerHierarchyNodeHistoryClass
|
|
52
52
|
*/
|
|
53
|
-
'parentNodeCode'
|
|
53
|
+
'parentNodeCode'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* Role code during this interval.
|
|
56
56
|
* @type {string}
|
|
@@ -98,6 +98,6 @@ export interface PartnerHierarchyNodeHistoryClass {
|
|
|
98
98
|
* @type {PartnerClass}
|
|
99
99
|
* @memberof PartnerHierarchyNodeHistoryClass
|
|
100
100
|
*/
|
|
101
|
-
'partner'
|
|
101
|
+
'partner'?: PartnerClass;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -31,13 +31,13 @@ export interface PartnerHierarchyNodeTreeClass {
|
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
33
33
|
*/
|
|
34
|
-
'partnerCode'
|
|
34
|
+
'partnerCode'?: string;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Display name of the assigned partner, if this position is filled.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
39
39
|
*/
|
|
40
|
-
'partnerName'
|
|
40
|
+
'partnerName'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Role code at this position.
|
|
43
43
|
* @type {string}
|
|
@@ -49,7 +49,7 @@ export interface PartnerHierarchyNodeTreeClass {
|
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
51
51
|
*/
|
|
52
|
-
'parentNodeCode'
|
|
52
|
+
'parentNodeCode'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Depth from root (root = 0).
|
|
55
55
|
* @type {number}
|
|
@@ -85,13 +85,13 @@ export interface PartnerHierarchyNodeTreeClass {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
87
87
|
*/
|
|
88
|
-
'nextPageToken'
|
|
88
|
+
'nextPageToken'?: string;
|
|
89
89
|
/**
|
|
90
90
|
* Number of children returned in this page.
|
|
91
91
|
* @type {number}
|
|
92
92
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
93
93
|
*/
|
|
94
|
-
'itemsPerPage'
|
|
94
|
+
'itemsPerPage'?: number;
|
|
95
95
|
/**
|
|
96
96
|
* Loaded direct children (one level).
|
|
97
97
|
* @type {Array<PartnerHierarchyNodeTreeClass>}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 PartnerHierarchyOperationClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PartnerHierarchyOperationClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PartnerHierarchyOperationClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique code identifying this hierarchy operation.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PartnerHierarchyOperationClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Code of the hierarchy this operation belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PartnerHierarchyOperationClass
|
|
39
|
+
*/
|
|
40
|
+
'partnerHierarchyCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Operation type, such as FULL_UPDATE, BATCH_ADD, or BUILD_TREE.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PartnerHierarchyOperationClass
|
|
45
|
+
*/
|
|
46
|
+
'type'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Current operation status, such as PENDING, PROCESSING, DONE, or FAILED.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PartnerHierarchyOperationClass
|
|
51
|
+
*/
|
|
52
|
+
'status'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Uploaded file key used by this operation. Empty for operations that do not read an uploaded file.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PartnerHierarchyOperationClass
|
|
57
|
+
*/
|
|
58
|
+
's3Key': string;
|
|
59
|
+
/**
|
|
60
|
+
* Failure reason when the operation status is FAILED.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PartnerHierarchyOperationClass
|
|
63
|
+
*/
|
|
64
|
+
'error': string;
|
|
65
|
+
/**
|
|
66
|
+
* Time when the operation finished.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PartnerHierarchyOperationClass
|
|
69
|
+
*/
|
|
70
|
+
'completedAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was created.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PartnerHierarchyOperationClass
|
|
75
|
+
*/
|
|
76
|
+
'createdAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was updated.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PartnerHierarchyOperationClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedAt': string;
|
|
83
|
+
/**
|
|
84
|
+
* Identifier of the user who created the record.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PartnerHierarchyOperationClass
|
|
87
|
+
*/
|
|
88
|
+
'createdBy': string;
|
|
89
|
+
/**
|
|
90
|
+
* Identifier of the user who last updated the record.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PartnerHierarchyOperationClass
|
|
93
|
+
*/
|
|
94
|
+
'updatedBy': string;
|
|
95
|
+
}
|
|
96
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
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 UpdatePartnerHierarchyTreeRequestBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePartnerHierarchyTreeRequestBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* S3 object key returned by the upload URL endpoint after the hierarchy tree file is uploaded.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdatePartnerHierarchyTreeRequestBodyDto
|
|
27
|
+
*/
|
|
28
|
+
's3Key': string;
|
|
29
|
+
}
|
|
30
|
+
|