@emilgroup/partner-sdk-node 1.22.1-beta.16 → 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
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { BatchCreatePartnerHierarchyNodesRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { CreatePartnerHierarchyNodeRequestDto } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { CreatePartnerHierarchyNodeResponseClass } from '../models';
|
|
@@ -37,6 +39,8 @@ import { MovePartnerHierarchyNodeRequestDto } from '../models';
|
|
|
37
39
|
// @ts-ignore
|
|
38
40
|
import { MovePartnerHierarchyNodeResponseClass } from '../models';
|
|
39
41
|
// @ts-ignore
|
|
42
|
+
import { PartnerHierarchyAsyncOperationResponseClass } from '../models';
|
|
43
|
+
// @ts-ignore
|
|
40
44
|
import { UnassignPartnerHierarchyNodeResponseClass } from '../models';
|
|
41
45
|
// @ts-ignore
|
|
42
46
|
import { UpdatePartnerHierarchyNodeRequestDto } from '../models';
|
|
@@ -54,12 +58,15 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
54
58
|
return {
|
|
55
59
|
/**
|
|
56
60
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
57
|
-
* @summary
|
|
61
|
+
* @summary Batch create partner hierarchy nodes
|
|
62
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
58
63
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
64
|
* @param {*} [options] Override http request option.
|
|
60
65
|
* @throws {RequiredError}
|
|
61
66
|
*/
|
|
62
|
-
batchCreatePartnerHierarchyNodes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
67
|
+
batchCreatePartnerHierarchyNodes: async (batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68
|
+
// verify required parameter 'batchCreatePartnerHierarchyNodesRequestDto' is not null or undefined
|
|
69
|
+
assertParamExists('batchCreatePartnerHierarchyNodes', 'batchCreatePartnerHierarchyNodesRequestDto', batchCreatePartnerHierarchyNodesRequestDto)
|
|
63
70
|
const localVarPath = `/partnerservice/v1/partner-hierarchy-nodes/batch`;
|
|
64
71
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
65
72
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -84,9 +91,12 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
84
91
|
|
|
85
92
|
|
|
86
93
|
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
|
|
87
96
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
97
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
98
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
99
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchCreatePartnerHierarchyNodesRequestDto, localVarRequestOptions, configuration)
|
|
90
100
|
|
|
91
101
|
return {
|
|
92
102
|
url: toPathString(localVarUrlObj),
|
|
@@ -95,7 +105,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
95
105
|
},
|
|
96
106
|
/**
|
|
97
107
|
* Creates a node in a partner hierarchy. The node can be placed at the top of the hierarchy or under another node, and it can be created with or without an assigned partner. **Required Permissions** \"partner-management.partners.create\"
|
|
98
|
-
* @summary Create
|
|
108
|
+
* @summary Create a partner hierarchy node
|
|
99
109
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
100
110
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
101
111
|
* @param {*} [options] Override http request option.
|
|
@@ -142,7 +152,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
142
152
|
},
|
|
143
153
|
/**
|
|
144
154
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
145
|
-
* @summary Delete
|
|
155
|
+
* @summary Delete a partner hierarchy node
|
|
146
156
|
* @param {string} code
|
|
147
157
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
158
|
* @param {*} [options] Override http request option.
|
|
@@ -187,7 +197,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
187
197
|
},
|
|
188
198
|
/**
|
|
189
199
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
190
|
-
* @summary
|
|
200
|
+
* @summary Get a partner hierarchy node
|
|
191
201
|
* @param {string} code
|
|
192
202
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
203
|
* @param {*} [options] Override http request option.
|
|
@@ -232,7 +242,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
232
242
|
},
|
|
233
243
|
/**
|
|
234
244
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
235
|
-
* @summary List partner hierarchy node
|
|
245
|
+
* @summary List partner hierarchy node history
|
|
236
246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
237
247
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
238
248
|
* @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.
|
|
@@ -384,7 +394,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
384
394
|
},
|
|
385
395
|
/**
|
|
386
396
|
* Moves a node under another parent at the same level in the same hierarchy. Any nodes below it move with it. **Required Permissions** \"partner-management.partners.update\"
|
|
387
|
-
* @summary
|
|
397
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
388
398
|
* @param {string} code
|
|
389
399
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
390
400
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -435,7 +445,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
435
445
|
},
|
|
436
446
|
/**
|
|
437
447
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
438
|
-
* @summary
|
|
448
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
439
449
|
* @param {string} code
|
|
440
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
451
|
* @param {*} [options] Override http request option.
|
|
@@ -480,7 +490,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
480
490
|
},
|
|
481
491
|
/**
|
|
482
492
|
* Updates a node role or changes the partner assigned to the node. It does not move the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
483
|
-
* @summary Update
|
|
493
|
+
* @summary Update a partner hierarchy node
|
|
484
494
|
* @param {string} code
|
|
485
495
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
486
496
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -541,18 +551,19 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
541
551
|
return {
|
|
542
552
|
/**
|
|
543
553
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
544
|
-
* @summary
|
|
554
|
+
* @summary Batch create partner hierarchy nodes
|
|
555
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
545
556
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
557
|
* @param {*} [options] Override http request option.
|
|
547
558
|
* @throws {RequiredError}
|
|
548
559
|
*/
|
|
549
|
-
async batchCreatePartnerHierarchyNodes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
550
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(authorization, options);
|
|
560
|
+
async batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerHierarchyAsyncOperationResponseClass>> {
|
|
561
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options);
|
|
551
562
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
552
563
|
},
|
|
553
564
|
/**
|
|
554
565
|
* Creates a node in a partner hierarchy. The node can be placed at the top of the hierarchy or under another node, and it can be created with or without an assigned partner. **Required Permissions** \"partner-management.partners.create\"
|
|
555
|
-
* @summary Create
|
|
566
|
+
* @summary Create a partner hierarchy node
|
|
556
567
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
557
568
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
558
569
|
* @param {*} [options] Override http request option.
|
|
@@ -564,7 +575,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
564
575
|
},
|
|
565
576
|
/**
|
|
566
577
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
567
|
-
* @summary Delete
|
|
578
|
+
* @summary Delete a partner hierarchy node
|
|
568
579
|
* @param {string} code
|
|
569
580
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
570
581
|
* @param {*} [options] Override http request option.
|
|
@@ -576,7 +587,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
576
587
|
},
|
|
577
588
|
/**
|
|
578
589
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
579
|
-
* @summary
|
|
590
|
+
* @summary Get a partner hierarchy node
|
|
580
591
|
* @param {string} code
|
|
581
592
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
582
593
|
* @param {*} [options] Override http request option.
|
|
@@ -588,7 +599,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
588
599
|
},
|
|
589
600
|
/**
|
|
590
601
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
591
|
-
* @summary List partner hierarchy node
|
|
602
|
+
* @summary List partner hierarchy node history
|
|
592
603
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
593
604
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
594
605
|
* @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.
|
|
@@ -624,7 +635,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
624
635
|
},
|
|
625
636
|
/**
|
|
626
637
|
* Moves a node under another parent at the same level in the same hierarchy. Any nodes below it move with it. **Required Permissions** \"partner-management.partners.update\"
|
|
627
|
-
* @summary
|
|
638
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
628
639
|
* @param {string} code
|
|
629
640
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
630
641
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -637,7 +648,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
637
648
|
},
|
|
638
649
|
/**
|
|
639
650
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
640
|
-
* @summary
|
|
651
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
641
652
|
* @param {string} code
|
|
642
653
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
643
654
|
* @param {*} [options] Override http request option.
|
|
@@ -649,7 +660,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
649
660
|
},
|
|
650
661
|
/**
|
|
651
662
|
* Updates a node role or changes the partner assigned to the node. It does not move the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
652
|
-
* @summary Update
|
|
663
|
+
* @summary Update a partner hierarchy node
|
|
653
664
|
* @param {string} code
|
|
654
665
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
655
666
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -672,17 +683,18 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
672
683
|
return {
|
|
673
684
|
/**
|
|
674
685
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
675
|
-
* @summary
|
|
686
|
+
* @summary Batch create partner hierarchy nodes
|
|
687
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
676
688
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
677
689
|
* @param {*} [options] Override http request option.
|
|
678
690
|
* @throws {RequiredError}
|
|
679
691
|
*/
|
|
680
|
-
batchCreatePartnerHierarchyNodes(authorization?: string, options?: any): AxiosPromise<
|
|
681
|
-
return localVarFp.batchCreatePartnerHierarchyNodes(authorization, options).then((request) => request(axios, basePath));
|
|
692
|
+
batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: any): AxiosPromise<PartnerHierarchyAsyncOperationResponseClass> {
|
|
693
|
+
return localVarFp.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
682
694
|
},
|
|
683
695
|
/**
|
|
684
696
|
* Creates a node in a partner hierarchy. The node can be placed at the top of the hierarchy or under another node, and it can be created with or without an assigned partner. **Required Permissions** \"partner-management.partners.create\"
|
|
685
|
-
* @summary Create
|
|
697
|
+
* @summary Create a partner hierarchy node
|
|
686
698
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
687
699
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
688
700
|
* @param {*} [options] Override http request option.
|
|
@@ -693,7 +705,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
693
705
|
},
|
|
694
706
|
/**
|
|
695
707
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
696
|
-
* @summary Delete
|
|
708
|
+
* @summary Delete a partner hierarchy node
|
|
697
709
|
* @param {string} code
|
|
698
710
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
699
711
|
* @param {*} [options] Override http request option.
|
|
@@ -704,7 +716,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
704
716
|
},
|
|
705
717
|
/**
|
|
706
718
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
707
|
-
* @summary
|
|
719
|
+
* @summary Get a partner hierarchy node
|
|
708
720
|
* @param {string} code
|
|
709
721
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
710
722
|
* @param {*} [options] Override http request option.
|
|
@@ -715,7 +727,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
715
727
|
},
|
|
716
728
|
/**
|
|
717
729
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
718
|
-
* @summary List partner hierarchy node
|
|
730
|
+
* @summary List partner hierarchy node history
|
|
719
731
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
720
732
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
721
733
|
* @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.
|
|
@@ -749,7 +761,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
749
761
|
},
|
|
750
762
|
/**
|
|
751
763
|
* Moves a node under another parent at the same level in the same hierarchy. Any nodes below it move with it. **Required Permissions** \"partner-management.partners.update\"
|
|
752
|
-
* @summary
|
|
764
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
753
765
|
* @param {string} code
|
|
754
766
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
755
767
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -761,7 +773,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
761
773
|
},
|
|
762
774
|
/**
|
|
763
775
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
764
|
-
* @summary
|
|
776
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
765
777
|
* @param {string} code
|
|
766
778
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
767
779
|
* @param {*} [options] Override http request option.
|
|
@@ -772,7 +784,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
772
784
|
},
|
|
773
785
|
/**
|
|
774
786
|
* Updates a node role or changes the partner assigned to the node. It does not move the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
775
|
-
* @summary Update
|
|
787
|
+
* @summary Update a partner hierarchy node
|
|
776
788
|
* @param {string} code
|
|
777
789
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
778
790
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -791,6 +803,13 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
791
803
|
* @interface PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest
|
|
792
804
|
*/
|
|
793
805
|
export interface PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest {
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @type {BatchCreatePartnerHierarchyNodesRequestDto}
|
|
809
|
+
* @memberof PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodes
|
|
810
|
+
*/
|
|
811
|
+
readonly batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto
|
|
812
|
+
|
|
794
813
|
/**
|
|
795
814
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
796
815
|
* @type {string}
|
|
@@ -1074,19 +1093,19 @@ export interface PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest {
|
|
|
1074
1093
|
export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
1075
1094
|
/**
|
|
1076
1095
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
1077
|
-
* @summary
|
|
1096
|
+
* @summary Batch create partner hierarchy nodes
|
|
1078
1097
|
* @param {PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest} requestParameters Request parameters.
|
|
1079
1098
|
* @param {*} [options] Override http request option.
|
|
1080
1099
|
* @throws {RequiredError}
|
|
1081
1100
|
* @memberof PartnerHierarchyNodesApi
|
|
1082
1101
|
*/
|
|
1083
|
-
public batchCreatePartnerHierarchyNodes(requestParameters: PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest
|
|
1084
|
-
return PartnerHierarchyNodesApiFp(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1102
|
+
public batchCreatePartnerHierarchyNodes(requestParameters: PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest, options?: AxiosRequestConfig) {
|
|
1103
|
+
return PartnerHierarchyNodesApiFp(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.batchCreatePartnerHierarchyNodesRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1085
1104
|
}
|
|
1086
1105
|
|
|
1087
1106
|
/**
|
|
1088
1107
|
* Creates a node in a partner hierarchy. The node can be placed at the top of the hierarchy or under another node, and it can be created with or without an assigned partner. **Required Permissions** \"partner-management.partners.create\"
|
|
1089
|
-
* @summary Create
|
|
1108
|
+
* @summary Create a partner hierarchy node
|
|
1090
1109
|
* @param {PartnerHierarchyNodesApiCreatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1091
1110
|
* @param {*} [options] Override http request option.
|
|
1092
1111
|
* @throws {RequiredError}
|
|
@@ -1098,7 +1117,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1098
1117
|
|
|
1099
1118
|
/**
|
|
1100
1119
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
1101
|
-
* @summary Delete
|
|
1120
|
+
* @summary Delete a partner hierarchy node
|
|
1102
1121
|
* @param {PartnerHierarchyNodesApiDeletePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1103
1122
|
* @param {*} [options] Override http request option.
|
|
1104
1123
|
* @throws {RequiredError}
|
|
@@ -1110,7 +1129,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1110
1129
|
|
|
1111
1130
|
/**
|
|
1112
1131
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
1113
|
-
* @summary
|
|
1132
|
+
* @summary Get a partner hierarchy node
|
|
1114
1133
|
* @param {PartnerHierarchyNodesApiGetPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1115
1134
|
* @param {*} [options] Override http request option.
|
|
1116
1135
|
* @throws {RequiredError}
|
|
@@ -1122,7 +1141,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1122
1141
|
|
|
1123
1142
|
/**
|
|
1124
1143
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
1125
|
-
* @summary List partner hierarchy node
|
|
1144
|
+
* @summary List partner hierarchy node history
|
|
1126
1145
|
* @param {PartnerHierarchyNodesApiListPartnerHierarchyNodeHistoryRequest} requestParameters Request parameters.
|
|
1127
1146
|
* @param {*} [options] Override http request option.
|
|
1128
1147
|
* @throws {RequiredError}
|
|
@@ -1146,7 +1165,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1146
1165
|
|
|
1147
1166
|
/**
|
|
1148
1167
|
* Moves a node under another parent at the same level in the same hierarchy. Any nodes below it move with it. **Required Permissions** \"partner-management.partners.update\"
|
|
1149
|
-
* @summary
|
|
1168
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
1150
1169
|
* @param {PartnerHierarchyNodesApiMovePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1151
1170
|
* @param {*} [options] Override http request option.
|
|
1152
1171
|
* @throws {RequiredError}
|
|
@@ -1158,7 +1177,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1158
1177
|
|
|
1159
1178
|
/**
|
|
1160
1179
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
1161
|
-
* @summary
|
|
1180
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
1162
1181
|
* @param {PartnerHierarchyNodesApiUnassignPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1163
1182
|
* @param {*} [options] Override http request option.
|
|
1164
1183
|
* @throws {RequiredError}
|
|
@@ -1170,7 +1189,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1170
1189
|
|
|
1171
1190
|
/**
|
|
1172
1191
|
* Updates a node role or changes the partner assigned to the node. It does not move the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
1173
|
-
* @summary Update
|
|
1192
|
+
* @summary Update a partner hierarchy node
|
|
1174
1193
|
* @param {PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1175
1194
|
* @param {*} [options] Override http request option.
|
|
1176
1195
|
* @throws {RequiredError}
|
|
@@ -46,7 +46,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
46
46
|
return {
|
|
47
47
|
/**
|
|
48
48
|
* 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\"
|
|
49
|
-
* @summary Create
|
|
49
|
+
* @summary Create a partner hierarchy type
|
|
50
50
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
51
51
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
@@ -93,7 +93,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
93
93
|
},
|
|
94
94
|
/**
|
|
95
95
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
96
|
-
* @summary Delete
|
|
96
|
+
* @summary Delete a partner hierarchy type
|
|
97
97
|
* @param {string} code Unique identifier for the object.
|
|
98
98
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
@@ -138,7 +138,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
138
138
|
},
|
|
139
139
|
/**
|
|
140
140
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
141
|
-
* @summary
|
|
141
|
+
* @summary Get a partner hierarchy type
|
|
142
142
|
* @param {string} code Unique identifier for the object.
|
|
143
143
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
@@ -183,7 +183,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
183
183
|
},
|
|
184
184
|
/**
|
|
185
185
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
186
|
-
* @summary List partner
|
|
186
|
+
* @summary List partner hierarchy types
|
|
187
187
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
188
188
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
189
189
|
* @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.
|
|
@@ -259,7 +259,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
259
259
|
},
|
|
260
260
|
/**
|
|
261
261
|
* 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\"
|
|
262
|
-
* @summary Update
|
|
262
|
+
* @summary Update a partner hierarchy type
|
|
263
263
|
* @param {string} code Unique identifier for the object.
|
|
264
264
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
265
265
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -320,7 +320,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
320
320
|
return {
|
|
321
321
|
/**
|
|
322
322
|
* 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\"
|
|
323
|
-
* @summary Create
|
|
323
|
+
* @summary Create a partner hierarchy type
|
|
324
324
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
325
325
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
@@ -332,7 +332,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
332
332
|
},
|
|
333
333
|
/**
|
|
334
334
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
335
|
-
* @summary Delete
|
|
335
|
+
* @summary Delete a partner hierarchy type
|
|
336
336
|
* @param {string} code Unique identifier for the object.
|
|
337
337
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
338
338
|
* @param {*} [options] Override http request option.
|
|
@@ -344,7 +344,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
344
344
|
},
|
|
345
345
|
/**
|
|
346
346
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
347
|
-
* @summary
|
|
347
|
+
* @summary Get a partner hierarchy type
|
|
348
348
|
* @param {string} code Unique identifier for the object.
|
|
349
349
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
350
350
|
* @param {*} [options] Override http request option.
|
|
@@ -356,7 +356,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
356
356
|
},
|
|
357
357
|
/**
|
|
358
358
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
359
|
-
* @summary List partner
|
|
359
|
+
* @summary List partner hierarchy types
|
|
360
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
361
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
362
|
* @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.
|
|
@@ -374,7 +374,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
374
374
|
},
|
|
375
375
|
/**
|
|
376
376
|
* 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\"
|
|
377
|
-
* @summary Update
|
|
377
|
+
* @summary Update a partner hierarchy type
|
|
378
378
|
* @param {string} code Unique identifier for the object.
|
|
379
379
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
380
380
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -397,7 +397,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
397
397
|
return {
|
|
398
398
|
/**
|
|
399
399
|
* 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\"
|
|
400
|
-
* @summary Create
|
|
400
|
+
* @summary Create a partner hierarchy type
|
|
401
401
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
402
402
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
403
403
|
* @param {*} [options] Override http request option.
|
|
@@ -408,7 +408,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
408
408
|
},
|
|
409
409
|
/**
|
|
410
410
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
411
|
-
* @summary Delete
|
|
411
|
+
* @summary Delete a partner hierarchy type
|
|
412
412
|
* @param {string} code Unique identifier for the object.
|
|
413
413
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
414
414
|
* @param {*} [options] Override http request option.
|
|
@@ -419,7 +419,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
419
419
|
},
|
|
420
420
|
/**
|
|
421
421
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
422
|
-
* @summary
|
|
422
|
+
* @summary Get a partner hierarchy type
|
|
423
423
|
* @param {string} code Unique identifier for the object.
|
|
424
424
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
@@ -430,7 +430,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
430
430
|
},
|
|
431
431
|
/**
|
|
432
432
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
433
|
-
* @summary List partner
|
|
433
|
+
* @summary List partner hierarchy types
|
|
434
434
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
435
435
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
436
436
|
* @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.
|
|
@@ -447,7 +447,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
447
447
|
},
|
|
448
448
|
/**
|
|
449
449
|
* 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\"
|
|
450
|
-
* @summary Update
|
|
450
|
+
* @summary Update a partner hierarchy type
|
|
451
451
|
* @param {string} code Unique identifier for the object.
|
|
452
452
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
453
453
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -623,7 +623,7 @@ export interface PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest {
|
|
|
623
623
|
export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
624
624
|
/**
|
|
625
625
|
* 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\"
|
|
626
|
-
* @summary Create
|
|
626
|
+
* @summary Create a partner hierarchy type
|
|
627
627
|
* @param {PartnerHierarchyTypesApiCreatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
628
628
|
* @param {*} [options] Override http request option.
|
|
629
629
|
* @throws {RequiredError}
|
|
@@ -635,7 +635,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
637
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
638
|
-
* @summary Delete
|
|
638
|
+
* @summary Delete a partner hierarchy type
|
|
639
639
|
* @param {PartnerHierarchyTypesApiDeletePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
640
640
|
* @param {*} [options] Override http request option.
|
|
641
641
|
* @throws {RequiredError}
|
|
@@ -647,7 +647,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
650
|
-
* @summary
|
|
650
|
+
* @summary Get a partner hierarchy type
|
|
651
651
|
* @param {PartnerHierarchyTypesApiGetPartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
652
652
|
* @param {*} [options] Override http request option.
|
|
653
653
|
* @throws {RequiredError}
|
|
@@ -659,7 +659,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
659
659
|
|
|
660
660
|
/**
|
|
661
661
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
662
|
-
* @summary List partner
|
|
662
|
+
* @summary List partner hierarchy types
|
|
663
663
|
* @param {PartnerHierarchyTypesApiListPartnerHierarchyTypesRequest} requestParameters Request parameters.
|
|
664
664
|
* @param {*} [options] Override http request option.
|
|
665
665
|
* @throws {RequiredError}
|
|
@@ -671,7 +671,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
671
671
|
|
|
672
672
|
/**
|
|
673
673
|
* 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\"
|
|
674
|
-
* @summary Update
|
|
674
|
+
* @summary Update a partner hierarchy type
|
|
675
675
|
* @param {PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
676
676
|
* @param {*} [options] Override http request option.
|
|
677
677
|
* @throws {RequiredError}
|