@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
|
@@ -94,7 +94,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
* 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\"
|
|
97
|
-
* @summary Create
|
|
97
|
+
* @summary Create a partner hierarchy type
|
|
98
98
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
@@ -143,7 +143,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
145
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
146
|
-
* @summary Delete
|
|
146
|
+
* @summary Delete a partner hierarchy type
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
@@ -191,7 +191,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
191
191
|
},
|
|
192
192
|
/**
|
|
193
193
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
194
|
-
* @summary
|
|
194
|
+
* @summary Get a partner hierarchy type
|
|
195
195
|
* @param {string} code Unique identifier for the object.
|
|
196
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
@@ -239,7 +239,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
239
239
|
},
|
|
240
240
|
/**
|
|
241
241
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
242
|
-
* @summary List partner
|
|
242
|
+
* @summary List partner hierarchy types
|
|
243
243
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
244
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
245
245
|
* @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.
|
|
@@ -311,7 +311,7 @@ var PartnerHierarchyTypesApiAxiosParamCreator = function (configuration) {
|
|
|
311
311
|
},
|
|
312
312
|
/**
|
|
313
313
|
* 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\"
|
|
314
|
-
* @summary Update
|
|
314
|
+
* @summary Update a partner hierarchy type
|
|
315
315
|
* @param {string} code Unique identifier for the object.
|
|
316
316
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
317
317
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -374,7 +374,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
374
374
|
return {
|
|
375
375
|
/**
|
|
376
376
|
* 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\"
|
|
377
|
-
* @summary Create
|
|
377
|
+
* @summary Create a partner hierarchy type
|
|
378
378
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
379
379
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
@@ -395,7 +395,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
395
395
|
},
|
|
396
396
|
/**
|
|
397
397
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
398
|
-
* @summary Delete
|
|
398
|
+
* @summary Delete a partner hierarchy type
|
|
399
399
|
* @param {string} code Unique identifier for the object.
|
|
400
400
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
401
|
* @param {*} [options] Override http request option.
|
|
@@ -416,7 +416,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
418
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
419
|
-
* @summary
|
|
419
|
+
* @summary Get a partner hierarchy type
|
|
420
420
|
* @param {string} code Unique identifier for the object.
|
|
421
421
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
422
422
|
* @param {*} [options] Override http request option.
|
|
@@ -437,7 +437,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
437
437
|
},
|
|
438
438
|
/**
|
|
439
439
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
440
|
-
* @summary List partner
|
|
440
|
+
* @summary List partner hierarchy types
|
|
441
441
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
442
442
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
443
443
|
* @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.
|
|
@@ -464,7 +464,7 @@ var PartnerHierarchyTypesApiFp = function (configuration) {
|
|
|
464
464
|
},
|
|
465
465
|
/**
|
|
466
466
|
* 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\"
|
|
467
|
-
* @summary Update
|
|
467
|
+
* @summary Update a partner hierarchy type
|
|
468
468
|
* @param {string} code Unique identifier for the object.
|
|
469
469
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
470
470
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -496,7 +496,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
496
496
|
return {
|
|
497
497
|
/**
|
|
498
498
|
* 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\"
|
|
499
|
-
* @summary Create
|
|
499
|
+
* @summary Create a partner hierarchy type
|
|
500
500
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
501
501
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
502
502
|
* @param {*} [options] Override http request option.
|
|
@@ -507,7 +507,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
507
507
|
},
|
|
508
508
|
/**
|
|
509
509
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
510
|
-
* @summary Delete
|
|
510
|
+
* @summary Delete a partner hierarchy type
|
|
511
511
|
* @param {string} code Unique identifier for the object.
|
|
512
512
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
513
513
|
* @param {*} [options] Override http request option.
|
|
@@ -518,7 +518,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
518
518
|
},
|
|
519
519
|
/**
|
|
520
520
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
521
|
-
* @summary
|
|
521
|
+
* @summary Get a partner hierarchy type
|
|
522
522
|
* @param {string} code Unique identifier for the object.
|
|
523
523
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
524
524
|
* @param {*} [options] Override http request option.
|
|
@@ -529,7 +529,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
529
529
|
},
|
|
530
530
|
/**
|
|
531
531
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
532
|
-
* @summary List partner
|
|
532
|
+
* @summary List partner hierarchy types
|
|
533
533
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
534
534
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
535
535
|
* @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.
|
|
@@ -546,7 +546,7 @@ var PartnerHierarchyTypesApiFactory = function (configuration, basePath, axios)
|
|
|
546
546
|
},
|
|
547
547
|
/**
|
|
548
548
|
* 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\"
|
|
549
|
-
* @summary Update
|
|
549
|
+
* @summary Update a partner hierarchy type
|
|
550
550
|
* @param {string} code Unique identifier for the object.
|
|
551
551
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
552
552
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -572,7 +572,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
572
572
|
}
|
|
573
573
|
/**
|
|
574
574
|
* 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\"
|
|
575
|
-
* @summary Create
|
|
575
|
+
* @summary Create a partner hierarchy type
|
|
576
576
|
* @param {PartnerHierarchyTypesApiCreatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
577
577
|
* @param {*} [options] Override http request option.
|
|
578
578
|
* @throws {RequiredError}
|
|
@@ -584,7 +584,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
584
584
|
};
|
|
585
585
|
/**
|
|
586
586
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
587
|
-
* @summary Delete
|
|
587
|
+
* @summary Delete a partner hierarchy type
|
|
588
588
|
* @param {PartnerHierarchyTypesApiDeletePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
589
589
|
* @param {*} [options] Override http request option.
|
|
590
590
|
* @throws {RequiredError}
|
|
@@ -596,7 +596,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
596
596
|
};
|
|
597
597
|
/**
|
|
598
598
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
599
|
-
* @summary
|
|
599
|
+
* @summary Get a partner hierarchy type
|
|
600
600
|
* @param {PartnerHierarchyTypesApiGetPartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
601
601
|
* @param {*} [options] Override http request option.
|
|
602
602
|
* @throws {RequiredError}
|
|
@@ -608,7 +608,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
608
608
|
};
|
|
609
609
|
/**
|
|
610
610
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
611
|
-
* @summary List partner
|
|
611
|
+
* @summary List partner hierarchy types
|
|
612
612
|
* @param {PartnerHierarchyTypesApiListPartnerHierarchyTypesRequest} requestParameters Request parameters.
|
|
613
613
|
* @param {*} [options] Override http request option.
|
|
614
614
|
* @throws {RequiredError}
|
|
@@ -621,7 +621,7 @@ var PartnerHierarchyTypesApi = /** @class */ (function (_super) {
|
|
|
621
621
|
};
|
|
622
622
|
/**
|
|
623
623
|
* 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\"
|
|
624
|
-
* @summary Update
|
|
624
|
+
* @summary Update a partner hierarchy type
|
|
625
625
|
* @param {PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
626
626
|
* @param {*} [options] Override http request option.
|
|
627
627
|
* @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>}
|