@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
|
@@ -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';
|
|
@@ -50,12 +54,15 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
50
54
|
return {
|
|
51
55
|
/**
|
|
52
56
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
53
|
-
* @summary
|
|
57
|
+
* @summary Batch create partner hierarchy nodes
|
|
58
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
54
59
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
60
|
* @param {*} [options] Override http request option.
|
|
56
61
|
* @throws {RequiredError}
|
|
57
62
|
*/
|
|
58
|
-
batchCreatePartnerHierarchyNodes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
|
+
batchCreatePartnerHierarchyNodes: async (batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
64
|
+
// verify required parameter 'batchCreatePartnerHierarchyNodesRequestDto' is not null or undefined
|
|
65
|
+
assertParamExists('batchCreatePartnerHierarchyNodes', 'batchCreatePartnerHierarchyNodesRequestDto', batchCreatePartnerHierarchyNodesRequestDto)
|
|
59
66
|
const localVarPath = `/partnerservice/v1/partner-hierarchy-nodes/batch`;
|
|
60
67
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61
68
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -80,9 +87,12 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
80
87
|
|
|
81
88
|
|
|
82
89
|
|
|
90
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
91
|
+
|
|
83
92
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
84
93
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
85
94
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchCreatePartnerHierarchyNodesRequestDto, localVarRequestOptions, configuration)
|
|
86
96
|
|
|
87
97
|
return {
|
|
88
98
|
url: toPathString(localVarUrlObj),
|
|
@@ -91,7 +101,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
91
101
|
},
|
|
92
102
|
/**
|
|
93
103
|
* 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\"
|
|
94
|
-
* @summary Create
|
|
104
|
+
* @summary Create a partner hierarchy node
|
|
95
105
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
96
106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
107
|
* @param {*} [options] Override http request option.
|
|
@@ -138,7 +148,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
138
148
|
},
|
|
139
149
|
/**
|
|
140
150
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
141
|
-
* @summary Delete
|
|
151
|
+
* @summary Delete a partner hierarchy node
|
|
142
152
|
* @param {string} code
|
|
143
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
154
|
* @param {*} [options] Override http request option.
|
|
@@ -183,7 +193,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
183
193
|
},
|
|
184
194
|
/**
|
|
185
195
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
186
|
-
* @summary
|
|
196
|
+
* @summary Get a partner hierarchy node
|
|
187
197
|
* @param {string} code
|
|
188
198
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
199
|
* @param {*} [options] Override http request option.
|
|
@@ -228,7 +238,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
228
238
|
},
|
|
229
239
|
/**
|
|
230
240
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
231
|
-
* @summary List partner hierarchy node
|
|
241
|
+
* @summary List partner hierarchy node history
|
|
232
242
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
243
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
234
244
|
* @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.
|
|
@@ -380,7 +390,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
380
390
|
},
|
|
381
391
|
/**
|
|
382
392
|
* 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\"
|
|
383
|
-
* @summary
|
|
393
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
384
394
|
* @param {string} code
|
|
385
395
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
386
396
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -431,7 +441,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
431
441
|
},
|
|
432
442
|
/**
|
|
433
443
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
434
|
-
* @summary
|
|
444
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
435
445
|
* @param {string} code
|
|
436
446
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
437
447
|
* @param {*} [options] Override http request option.
|
|
@@ -476,7 +486,7 @@ export const PartnerHierarchyNodesApiAxiosParamCreator = function (configuration
|
|
|
476
486
|
},
|
|
477
487
|
/**
|
|
478
488
|
* 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\"
|
|
479
|
-
* @summary Update
|
|
489
|
+
* @summary Update a partner hierarchy node
|
|
480
490
|
* @param {string} code
|
|
481
491
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
482
492
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -537,18 +547,19 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
537
547
|
return {
|
|
538
548
|
/**
|
|
539
549
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
540
|
-
* @summary
|
|
550
|
+
* @summary Batch create partner hierarchy nodes
|
|
551
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
541
552
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
553
|
* @param {*} [options] Override http request option.
|
|
543
554
|
* @throws {RequiredError}
|
|
544
555
|
*/
|
|
545
|
-
async batchCreatePartnerHierarchyNodes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
546
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(authorization, options);
|
|
556
|
+
async batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerHierarchyAsyncOperationResponseClass>> {
|
|
557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options);
|
|
547
558
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
548
559
|
},
|
|
549
560
|
/**
|
|
550
561
|
* 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\"
|
|
551
|
-
* @summary Create
|
|
562
|
+
* @summary Create a partner hierarchy node
|
|
552
563
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
553
564
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
554
565
|
* @param {*} [options] Override http request option.
|
|
@@ -560,7 +571,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
560
571
|
},
|
|
561
572
|
/**
|
|
562
573
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
563
|
-
* @summary Delete
|
|
574
|
+
* @summary Delete a partner hierarchy node
|
|
564
575
|
* @param {string} code
|
|
565
576
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
566
577
|
* @param {*} [options] Override http request option.
|
|
@@ -572,7 +583,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
572
583
|
},
|
|
573
584
|
/**
|
|
574
585
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
575
|
-
* @summary
|
|
586
|
+
* @summary Get a partner hierarchy node
|
|
576
587
|
* @param {string} code
|
|
577
588
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
578
589
|
* @param {*} [options] Override http request option.
|
|
@@ -584,7 +595,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
584
595
|
},
|
|
585
596
|
/**
|
|
586
597
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
587
|
-
* @summary List partner hierarchy node
|
|
598
|
+
* @summary List partner hierarchy node history
|
|
588
599
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
589
600
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
590
601
|
* @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.
|
|
@@ -620,7 +631,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
620
631
|
},
|
|
621
632
|
/**
|
|
622
633
|
* 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\"
|
|
623
|
-
* @summary
|
|
634
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
624
635
|
* @param {string} code
|
|
625
636
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
626
637
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -633,7 +644,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
633
644
|
},
|
|
634
645
|
/**
|
|
635
646
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
636
|
-
* @summary
|
|
647
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
637
648
|
* @param {string} code
|
|
638
649
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
639
650
|
* @param {*} [options] Override http request option.
|
|
@@ -645,7 +656,7 @@ export const PartnerHierarchyNodesApiFp = function(configuration?: Configuration
|
|
|
645
656
|
},
|
|
646
657
|
/**
|
|
647
658
|
* 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\"
|
|
648
|
-
* @summary Update
|
|
659
|
+
* @summary Update a partner hierarchy node
|
|
649
660
|
* @param {string} code
|
|
650
661
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
651
662
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -668,17 +679,18 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
668
679
|
return {
|
|
669
680
|
/**
|
|
670
681
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
671
|
-
* @summary
|
|
682
|
+
* @summary Batch create partner hierarchy nodes
|
|
683
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
672
684
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
673
685
|
* @param {*} [options] Override http request option.
|
|
674
686
|
* @throws {RequiredError}
|
|
675
687
|
*/
|
|
676
|
-
batchCreatePartnerHierarchyNodes(authorization?: string, options?: any): AxiosPromise<
|
|
677
|
-
return localVarFp.batchCreatePartnerHierarchyNodes(authorization, options).then((request) => request(axios, basePath));
|
|
688
|
+
batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: any): AxiosPromise<PartnerHierarchyAsyncOperationResponseClass> {
|
|
689
|
+
return localVarFp.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
678
690
|
},
|
|
679
691
|
/**
|
|
680
692
|
* 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\"
|
|
681
|
-
* @summary Create
|
|
693
|
+
* @summary Create a partner hierarchy node
|
|
682
694
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
683
695
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
684
696
|
* @param {*} [options] Override http request option.
|
|
@@ -689,7 +701,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
689
701
|
},
|
|
690
702
|
/**
|
|
691
703
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
692
|
-
* @summary Delete
|
|
704
|
+
* @summary Delete a partner hierarchy node
|
|
693
705
|
* @param {string} code
|
|
694
706
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
695
707
|
* @param {*} [options] Override http request option.
|
|
@@ -700,7 +712,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
700
712
|
},
|
|
701
713
|
/**
|
|
702
714
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
703
|
-
* @summary
|
|
715
|
+
* @summary Get a partner hierarchy node
|
|
704
716
|
* @param {string} code
|
|
705
717
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
706
718
|
* @param {*} [options] Override http request option.
|
|
@@ -711,7 +723,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
711
723
|
},
|
|
712
724
|
/**
|
|
713
725
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
714
|
-
* @summary List partner hierarchy node
|
|
726
|
+
* @summary List partner hierarchy node history
|
|
715
727
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
716
728
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
717
729
|
* @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.
|
|
@@ -745,7 +757,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
745
757
|
},
|
|
746
758
|
/**
|
|
747
759
|
* 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\"
|
|
748
|
-
* @summary
|
|
760
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
749
761
|
* @param {string} code
|
|
750
762
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
751
763
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -757,7 +769,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
757
769
|
},
|
|
758
770
|
/**
|
|
759
771
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
760
|
-
* @summary
|
|
772
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
761
773
|
* @param {string} code
|
|
762
774
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
763
775
|
* @param {*} [options] Override http request option.
|
|
@@ -768,7 +780,7 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
768
780
|
},
|
|
769
781
|
/**
|
|
770
782
|
* 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\"
|
|
771
|
-
* @summary Update
|
|
783
|
+
* @summary Update a partner hierarchy node
|
|
772
784
|
* @param {string} code
|
|
773
785
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
774
786
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -787,6 +799,13 @@ export const PartnerHierarchyNodesApiFactory = function (configuration?: Configu
|
|
|
787
799
|
* @interface PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest
|
|
788
800
|
*/
|
|
789
801
|
export interface PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest {
|
|
802
|
+
/**
|
|
803
|
+
*
|
|
804
|
+
* @type {BatchCreatePartnerHierarchyNodesRequestDto}
|
|
805
|
+
* @memberof PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodes
|
|
806
|
+
*/
|
|
807
|
+
readonly batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto
|
|
808
|
+
|
|
790
809
|
/**
|
|
791
810
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
792
811
|
* @type {string}
|
|
@@ -1070,19 +1089,19 @@ export interface PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest {
|
|
|
1070
1089
|
export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
1071
1090
|
/**
|
|
1072
1091
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
1073
|
-
* @summary
|
|
1092
|
+
* @summary Batch create partner hierarchy nodes
|
|
1074
1093
|
* @param {PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest} requestParameters Request parameters.
|
|
1075
1094
|
* @param {*} [options] Override http request option.
|
|
1076
1095
|
* @throws {RequiredError}
|
|
1077
1096
|
* @memberof PartnerHierarchyNodesApi
|
|
1078
1097
|
*/
|
|
1079
|
-
public batchCreatePartnerHierarchyNodes(requestParameters: PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest
|
|
1080
|
-
return PartnerHierarchyNodesApiFp(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1098
|
+
public batchCreatePartnerHierarchyNodes(requestParameters: PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest, options?: AxiosRequestConfig) {
|
|
1099
|
+
return PartnerHierarchyNodesApiFp(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.batchCreatePartnerHierarchyNodesRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1081
1100
|
}
|
|
1082
1101
|
|
|
1083
1102
|
/**
|
|
1084
1103
|
* 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\"
|
|
1085
|
-
* @summary Create
|
|
1104
|
+
* @summary Create a partner hierarchy node
|
|
1086
1105
|
* @param {PartnerHierarchyNodesApiCreatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1087
1106
|
* @param {*} [options] Override http request option.
|
|
1088
1107
|
* @throws {RequiredError}
|
|
@@ -1094,7 +1113,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1094
1113
|
|
|
1095
1114
|
/**
|
|
1096
1115
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
1097
|
-
* @summary Delete
|
|
1116
|
+
* @summary Delete a partner hierarchy node
|
|
1098
1117
|
* @param {PartnerHierarchyNodesApiDeletePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1099
1118
|
* @param {*} [options] Override http request option.
|
|
1100
1119
|
* @throws {RequiredError}
|
|
@@ -1106,7 +1125,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1106
1125
|
|
|
1107
1126
|
/**
|
|
1108
1127
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
1109
|
-
* @summary
|
|
1128
|
+
* @summary Get a partner hierarchy node
|
|
1110
1129
|
* @param {PartnerHierarchyNodesApiGetPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1111
1130
|
* @param {*} [options] Override http request option.
|
|
1112
1131
|
* @throws {RequiredError}
|
|
@@ -1118,7 +1137,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1118
1137
|
|
|
1119
1138
|
/**
|
|
1120
1139
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
1121
|
-
* @summary List partner hierarchy node
|
|
1140
|
+
* @summary List partner hierarchy node history
|
|
1122
1141
|
* @param {PartnerHierarchyNodesApiListPartnerHierarchyNodeHistoryRequest} requestParameters Request parameters.
|
|
1123
1142
|
* @param {*} [options] Override http request option.
|
|
1124
1143
|
* @throws {RequiredError}
|
|
@@ -1142,7 +1161,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1142
1161
|
|
|
1143
1162
|
/**
|
|
1144
1163
|
* 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\"
|
|
1145
|
-
* @summary
|
|
1164
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
1146
1165
|
* @param {PartnerHierarchyNodesApiMovePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1147
1166
|
* @param {*} [options] Override http request option.
|
|
1148
1167
|
* @throws {RequiredError}
|
|
@@ -1154,7 +1173,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1154
1173
|
|
|
1155
1174
|
/**
|
|
1156
1175
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
1157
|
-
* @summary
|
|
1176
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
1158
1177
|
* @param {PartnerHierarchyNodesApiUnassignPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1159
1178
|
* @param {*} [options] Override http request option.
|
|
1160
1179
|
* @throws {RequiredError}
|
|
@@ -1166,7 +1185,7 @@ export class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
1166
1185
|
|
|
1167
1186
|
/**
|
|
1168
1187
|
* 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\"
|
|
1169
|
-
* @summary Update
|
|
1188
|
+
* @summary Update a partner hierarchy node
|
|
1170
1189
|
* @param {PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1171
1190
|
* @param {*} [options] Override http request option.
|
|
1172
1191
|
* @throws {RequiredError}
|
|
@@ -42,7 +42,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
42
42
|
return {
|
|
43
43
|
/**
|
|
44
44
|
* 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\"
|
|
45
|
-
* @summary Create
|
|
45
|
+
* @summary Create a partner hierarchy type
|
|
46
46
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
47
47
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
@@ -89,7 +89,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
89
89
|
},
|
|
90
90
|
/**
|
|
91
91
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
92
|
-
* @summary Delete
|
|
92
|
+
* @summary Delete a partner hierarchy type
|
|
93
93
|
* @param {string} code Unique identifier for the object.
|
|
94
94
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
95
|
* @param {*} [options] Override http request option.
|
|
@@ -134,7 +134,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
134
134
|
},
|
|
135
135
|
/**
|
|
136
136
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
137
|
-
* @summary
|
|
137
|
+
* @summary Get a partner hierarchy type
|
|
138
138
|
* @param {string} code Unique identifier for the object.
|
|
139
139
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
140
|
* @param {*} [options] Override http request option.
|
|
@@ -179,7 +179,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
179
179
|
},
|
|
180
180
|
/**
|
|
181
181
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
182
|
-
* @summary List partner
|
|
182
|
+
* @summary List partner hierarchy types
|
|
183
183
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
184
184
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
185
185
|
* @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.
|
|
@@ -255,7 +255,7 @@ export const PartnerHierarchyTypesApiAxiosParamCreator = function (configuration
|
|
|
255
255
|
},
|
|
256
256
|
/**
|
|
257
257
|
* 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\"
|
|
258
|
-
* @summary Update
|
|
258
|
+
* @summary Update a partner hierarchy type
|
|
259
259
|
* @param {string} code Unique identifier for the object.
|
|
260
260
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
261
261
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -316,7 +316,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
316
316
|
return {
|
|
317
317
|
/**
|
|
318
318
|
* 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\"
|
|
319
|
-
* @summary Create
|
|
319
|
+
* @summary Create a partner hierarchy type
|
|
320
320
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
321
321
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -328,7 +328,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
328
328
|
},
|
|
329
329
|
/**
|
|
330
330
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
331
|
-
* @summary Delete
|
|
331
|
+
* @summary Delete a partner hierarchy type
|
|
332
332
|
* @param {string} code Unique identifier for the object.
|
|
333
333
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
334
334
|
* @param {*} [options] Override http request option.
|
|
@@ -340,7 +340,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
340
340
|
},
|
|
341
341
|
/**
|
|
342
342
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
343
|
-
* @summary
|
|
343
|
+
* @summary Get a partner hierarchy type
|
|
344
344
|
* @param {string} code Unique identifier for the object.
|
|
345
345
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
346
346
|
* @param {*} [options] Override http request option.
|
|
@@ -352,7 +352,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
354
354
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
355
|
-
* @summary List partner
|
|
355
|
+
* @summary List partner hierarchy types
|
|
356
356
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
357
357
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
358
358
|
* @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.
|
|
@@ -370,7 +370,7 @@ export const PartnerHierarchyTypesApiFp = function(configuration?: Configuration
|
|
|
370
370
|
},
|
|
371
371
|
/**
|
|
372
372
|
* 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\"
|
|
373
|
-
* @summary Update
|
|
373
|
+
* @summary Update a partner hierarchy type
|
|
374
374
|
* @param {string} code Unique identifier for the object.
|
|
375
375
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
376
376
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -393,7 +393,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
393
393
|
return {
|
|
394
394
|
/**
|
|
395
395
|
* 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\"
|
|
396
|
-
* @summary Create
|
|
396
|
+
* @summary Create a partner hierarchy type
|
|
397
397
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
398
398
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
399
399
|
* @param {*} [options] Override http request option.
|
|
@@ -404,7 +404,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
404
404
|
},
|
|
405
405
|
/**
|
|
406
406
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
407
|
-
* @summary Delete
|
|
407
|
+
* @summary Delete a partner hierarchy type
|
|
408
408
|
* @param {string} code Unique identifier for the object.
|
|
409
409
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
@@ -415,7 +415,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
417
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
418
|
-
* @summary
|
|
418
|
+
* @summary Get a partner hierarchy type
|
|
419
419
|
* @param {string} code Unique identifier for the object.
|
|
420
420
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
421
421
|
* @param {*} [options] Override http request option.
|
|
@@ -426,7 +426,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
426
426
|
},
|
|
427
427
|
/**
|
|
428
428
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
429
|
-
* @summary List partner
|
|
429
|
+
* @summary List partner hierarchy types
|
|
430
430
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
431
431
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
432
432
|
* @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.
|
|
@@ -443,7 +443,7 @@ export const PartnerHierarchyTypesApiFactory = function (configuration?: Configu
|
|
|
443
443
|
},
|
|
444
444
|
/**
|
|
445
445
|
* 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\"
|
|
446
|
-
* @summary Update
|
|
446
|
+
* @summary Update a partner hierarchy type
|
|
447
447
|
* @param {string} code Unique identifier for the object.
|
|
448
448
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
449
449
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -619,7 +619,7 @@ export interface PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest {
|
|
|
619
619
|
export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
620
620
|
/**
|
|
621
621
|
* 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\"
|
|
622
|
-
* @summary Create
|
|
622
|
+
* @summary Create a partner hierarchy type
|
|
623
623
|
* @param {PartnerHierarchyTypesApiCreatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
624
624
|
* @param {*} [options] Override http request option.
|
|
625
625
|
* @throws {RequiredError}
|
|
@@ -631,7 +631,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
631
631
|
|
|
632
632
|
/**
|
|
633
633
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
634
|
-
* @summary Delete
|
|
634
|
+
* @summary Delete a partner hierarchy type
|
|
635
635
|
* @param {PartnerHierarchyTypesApiDeletePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
636
636
|
* @param {*} [options] Override http request option.
|
|
637
637
|
* @throws {RequiredError}
|
|
@@ -643,7 +643,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
643
643
|
|
|
644
644
|
/**
|
|
645
645
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
646
|
-
* @summary
|
|
646
|
+
* @summary Get a partner hierarchy type
|
|
647
647
|
* @param {PartnerHierarchyTypesApiGetPartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
648
648
|
* @param {*} [options] Override http request option.
|
|
649
649
|
* @throws {RequiredError}
|
|
@@ -655,7 +655,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
655
655
|
|
|
656
656
|
/**
|
|
657
657
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
658
|
-
* @summary List partner
|
|
658
|
+
* @summary List partner hierarchy types
|
|
659
659
|
* @param {PartnerHierarchyTypesApiListPartnerHierarchyTypesRequest} requestParameters Request parameters.
|
|
660
660
|
* @param {*} [options] Override http request option.
|
|
661
661
|
* @throws {RequiredError}
|
|
@@ -667,7 +667,7 @@ export class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* 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\"
|
|
670
|
-
* @summary Update
|
|
670
|
+
* @summary Update a partner hierarchy type
|
|
671
671
|
* @param {PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
672
672
|
* @param {*} [options] Override http request option.
|
|
673
673
|
* @throws {RequiredError}
|