@emilgroup/partner-sdk-node 1.22.1-beta.15 → 1.22.1-beta.17
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
|
@@ -98,7 +98,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Creates a new partner hierarchy type. The schema defines the level structure and valid role codes for all hierarchies of this type. **Required Permissions** \"partner-management.partners.create\"
|
|
101
|
-
* @summary Create
|
|
101
|
+
* @summary Create a partner hierarchy type
|
|
102
102
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
@@ -147,7 +147,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
149
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
150
|
-
* @summary Delete
|
|
150
|
+
* @summary Delete a partner hierarchy type
|
|
151
151
|
* @param {string} code Unique identifier for the object.
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
@@ -195,7 +195,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
197
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
198
|
-
* @summary
|
|
198
|
+
* @summary Get a partner hierarchy type
|
|
199
199
|
* @param {string} code Unique identifier for the object.
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
@@ -243,7 +243,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
245
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
246
|
-
* @summary List partner
|
|
246
|
+
* @summary List partner hierarchy types
|
|
247
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
248
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -315,7 +315,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
315
315
|
},
|
|
316
316
|
/**
|
|
317
317
|
* Updates name or schema of a partner hierarchy type. Removing a depth level is blocked if any partner hierarchy nodes exist at that depth. Removing a role code is blocked if any partner hierarchy nodes use that role. **Required Permissions** \"partner-management.partners.update\"
|
|
318
|
-
* @summary Update
|
|
318
|
+
* @summary Update a partner hierarchy type
|
|
319
319
|
* @param {string} code Unique identifier for the object.
|
|
320
320
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
321
321
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -378,7 +378,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
378
378
|
return {
|
|
379
379
|
/**
|
|
380
380
|
* Creates a new partner hierarchy type. The schema defines the level structure and valid role codes for all hierarchies of this type. **Required Permissions** \"partner-management.partners.create\"
|
|
381
|
-
* @summary Create
|
|
381
|
+
* @summary Create a partner hierarchy type
|
|
382
382
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
383
383
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
@@ -399,7 +399,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
399
399
|
},
|
|
400
400
|
/**
|
|
401
401
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
402
|
-
* @summary Delete
|
|
402
|
+
* @summary Delete a partner hierarchy type
|
|
403
403
|
* @param {string} code Unique identifier for the object.
|
|
404
404
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
@@ -420,7 +420,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
420
420
|
},
|
|
421
421
|
/**
|
|
422
422
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
423
|
-
* @summary
|
|
423
|
+
* @summary Get a partner hierarchy type
|
|
424
424
|
* @param {string} code Unique identifier for the object.
|
|
425
425
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
426
|
* @param {*} [options] Override http request option.
|
|
@@ -441,7 +441,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
443
443
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
444
|
-
* @summary List partner
|
|
444
|
+
* @summary List partner hierarchy types
|
|
445
445
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
446
446
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
447
447
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -468,7 +468,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
468
468
|
},
|
|
469
469
|
/**
|
|
470
470
|
* Updates name or schema of a partner hierarchy type. Removing a depth level is blocked if any partner hierarchy nodes exist at that depth. Removing a role code is blocked if any partner hierarchy nodes use that role. **Required Permissions** \"partner-management.partners.update\"
|
|
471
|
-
* @summary Update
|
|
471
|
+
* @summary Update a partner hierarchy type
|
|
472
472
|
* @param {string} code Unique identifier for the object.
|
|
473
473
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
474
474
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -500,7 +500,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
500
500
|
return {
|
|
501
501
|
/**
|
|
502
502
|
* Creates a new partner hierarchy type. The schema defines the level structure and valid role codes for all hierarchies of this type. **Required Permissions** \"partner-management.partners.create\"
|
|
503
|
-
* @summary Create
|
|
503
|
+
* @summary Create a partner hierarchy type
|
|
504
504
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
505
505
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
506
506
|
* @param {*} [options] Override http request option.
|
|
@@ -511,7 +511,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
511
511
|
},
|
|
512
512
|
/**
|
|
513
513
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
514
|
-
* @summary Delete
|
|
514
|
+
* @summary Delete a partner hierarchy type
|
|
515
515
|
* @param {string} code Unique identifier for the object.
|
|
516
516
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
517
517
|
* @param {*} [options] Override http request option.
|
|
@@ -522,7 +522,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
524
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
525
|
-
* @summary
|
|
525
|
+
* @summary Get a partner hierarchy type
|
|
526
526
|
* @param {string} code Unique identifier for the object.
|
|
527
527
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
528
|
* @param {*} [options] Override http request option.
|
|
@@ -533,7 +533,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
533
533
|
},
|
|
534
534
|
/**
|
|
535
535
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
536
|
-
* @summary List partner
|
|
536
|
+
* @summary List partner hierarchy types
|
|
537
537
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
538
538
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
539
539
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
@@ -550,7 +550,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
550
550
|
},
|
|
551
551
|
/**
|
|
552
552
|
* Updates name or schema of a partner hierarchy type. Removing a depth level is blocked if any partner hierarchy nodes exist at that depth. Removing a role code is blocked if any partner hierarchy nodes use that role. **Required Permissions** \"partner-management.partners.update\"
|
|
553
|
-
* @summary Update
|
|
553
|
+
* @summary Update a partner hierarchy type
|
|
554
554
|
* @param {string} code Unique identifier for the object.
|
|
555
555
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
556
556
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -576,7 +576,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
578
|
* Creates a new partner hierarchy type. The schema defines the level structure and valid role codes for all hierarchies of this type. **Required Permissions** \"partner-management.partners.create\"
|
|
579
|
-
* @summary Create
|
|
579
|
+
* @summary Create a partner hierarchy type
|
|
580
580
|
* @param {PartnerHierarchyTypesApiCreatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
581
581
|
* @param {*} [options] Override http request option.
|
|
582
582
|
* @throws {RequiredError}
|
|
@@ -588,7 +588,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
588
588
|
};
|
|
589
589
|
/**
|
|
590
590
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
591
|
-
* @summary Delete
|
|
591
|
+
* @summary Delete a partner hierarchy type
|
|
592
592
|
* @param {PartnerHierarchyTypesApiDeletePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
593
593
|
* @param {*} [options] Override http request option.
|
|
594
594
|
* @throws {RequiredError}
|
|
@@ -600,7 +600,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
600
600
|
};
|
|
601
601
|
/**
|
|
602
602
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
603
|
-
* @summary
|
|
603
|
+
* @summary Get a partner hierarchy type
|
|
604
604
|
* @param {PartnerHierarchyTypesApiGetPartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
605
605
|
* @param {*} [options] Override http request option.
|
|
606
606
|
* @throws {RequiredError}
|
|
@@ -612,7 +612,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
612
612
|
};
|
|
613
613
|
/**
|
|
614
614
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
615
|
-
* @summary List partner
|
|
615
|
+
* @summary List partner hierarchy types
|
|
616
616
|
* @param {PartnerHierarchyTypesApiListPartnerHierarchyTypesRequest} requestParameters Request parameters.
|
|
617
617
|
* @param {*} [options] Override http request option.
|
|
618
618
|
* @throws {RequiredError}
|
|
@@ -625,7 +625,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
625
625
|
};
|
|
626
626
|
/**
|
|
627
627
|
* Updates name or schema of a partner hierarchy type. Removing a depth level is blocked if any partner hierarchy nodes exist at that depth. Removing a role code is blocked if any partner hierarchy nodes use that role. **Required Permissions** \"partner-management.partners.update\"
|
|
628
|
-
* @summary Update
|
|
628
|
+
* @summary Update a partner hierarchy type
|
|
629
629
|
* @param {PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
630
630
|
* @param {*} [options] Override http request option.
|
|
631
631
|
* @throws {RequiredError}
|
|
@@ -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 BatchCreatePartnerHierarchyNodesRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchCreatePartnerHierarchyNodesRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the hierarchy that will receive the uploaded nodes.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BatchCreatePartnerHierarchyNodesRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerHierarchyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* S3 object key returned by the upload URL endpoint after the batch node file is uploaded.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BatchCreatePartnerHierarchyNodesRequestDto
|
|
28
|
+
*/
|
|
29
|
+
's3Key': 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
|
+
/**
|
|
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 GenerateUploadUrlResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GenerateUploadUrlResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Pre-signed URL used to upload the hierarchy tree file.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GenerateUploadUrlResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'url': string;
|
|
24
|
+
/**
|
|
25
|
+
* S3 object key to pass to the tree replacement or batch node creation endpoint after upload.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GenerateUploadUrlResponseClass
|
|
28
|
+
*/
|
|
29
|
+
's3Key': string;
|
|
30
|
+
/**
|
|
31
|
+
* Time when the upload URL expires.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GenerateUploadUrlResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'expiresAt'?: string;
|
|
36
|
+
}
|
|
@@ -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,42 @@
|
|
|
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 GetPartnerHierarchyTreeFileResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPartnerHierarchyTreeFileResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Download URL for the hierarchy tree file. Empty while the file is still being built.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetPartnerHierarchyTreeFileResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'url'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Time when the download URL expires.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetPartnerHierarchyTreeFileResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'expiresAt'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Operation code returned when the tree file is being built instead of immediately available.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetPartnerHierarchyTreeFileResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'operationCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Current tree file build status when a download URL is not ready yet.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetPartnerHierarchyTreeFileResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'status'?: string;
|
|
42
|
+
}
|
|
@@ -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 });
|
package/dist/models/index.d.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';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -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 });
|
|
@@ -39,13 +39,13 @@ export interface PartnerHierarchyNodeClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PartnerHierarchyNodeClass
|
|
41
41
|
*/
|
|
42
|
-
'partnerCode'
|
|
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'
|
|
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'
|
|
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'
|
|
108
|
+
'parentNode'?: PartnerHierarchyNodeClass;
|
|
109
109
|
}
|
|
@@ -39,13 +39,13 @@ export interface PartnerHierarchyNodeHistoryClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PartnerHierarchyNodeHistoryClass
|
|
41
41
|
*/
|
|
42
|
-
'partnerCode'
|
|
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'
|
|
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'
|
|
96
|
+
'partner'?: PartnerClass;
|
|
97
97
|
}
|
|
@@ -26,13 +26,13 @@ export interface PartnerHierarchyNodeTreeClass {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
28
28
|
*/
|
|
29
|
-
'partnerCode'
|
|
29
|
+
'partnerCode'?: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Display name of the assigned partner, if this position is filled.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof PartnerHierarchyNodeTreeClass
|
|
34
34
|
*/
|
|
35
|
-
'partnerName'
|
|
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'
|
|
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'
|
|
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'
|
|
89
|
+
'itemsPerPage'?: number;
|
|
90
90
|
/**
|
|
91
91
|
* Loaded direct children (one level).
|
|
92
92
|
* @type {Array<PartnerHierarchyNodeTreeClass>}
|