@emilgroup/partner-sdk-node 1.22.1-beta.15 → 1.22.1-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/partner-hierarchies-api.ts +89 -64
- package/api/partner-hierarchy-nodes-api.ts +58 -39
- package/api/partner-hierarchy-types-api.ts +20 -20
- package/dist/api/partner-hierarchies-api.d.ts +79 -65
- package/dist/api/partner-hierarchies-api.js +65 -58
- package/dist/api/partner-hierarchy-nodes-api.d.ts +47 -36
- package/dist/api/partner-hierarchy-nodes-api.js +45 -39
- package/dist/api/partner-hierarchy-types-api.d.ts +20 -20
- package/dist/api/partner-hierarchy-types-api.js +20 -20
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
- package/dist/models/generate-upload-url-response-class.d.ts +36 -0
- package/dist/models/generate-upload-url-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +42 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
- package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
- package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
- package/dist/models/partner-hierarchy-class.d.ts +1 -1
- package/dist/models/partner-hierarchy-node-class.d.ts +4 -4
- package/dist/models/partner-hierarchy-node-history-class.d.ts +3 -3
- package/dist/models/partner-hierarchy-node-tree-class.d.ts +6 -6
- package/dist/models/partner-hierarchy-operation-class.d.ts +90 -0
- package/dist/models/partner-hierarchy-operation-class.js +15 -0
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
- package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
- package/models/generate-upload-url-response-class.ts +42 -0
- package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -0
- package/models/index.ts +7 -0
- package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
- package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
- package/models/partner-hierarchy-class.ts +1 -1
- package/models/partner-hierarchy-node-class.ts +4 -4
- package/models/partner-hierarchy-node-history-class.ts +3 -3
- package/models/partner-hierarchy-node-tree-class.ts +6 -6
- package/models/partner-hierarchy-operation-class.ts +96 -0
- package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -98,18 +98,21 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
101
|
-
* @summary
|
|
101
|
+
* @summary Batch create partner hierarchy nodes
|
|
102
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
102
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
104
|
* @param {*} [options] Override http request option.
|
|
104
105
|
* @throws {RequiredError}
|
|
105
106
|
*/
|
|
106
|
-
batchCreatePartnerHierarchyNodes: function (authorization, options) {
|
|
107
|
+
batchCreatePartnerHierarchyNodes: function (batchCreatePartnerHierarchyNodesRequestDto, authorization, options) {
|
|
107
108
|
if (options === void 0) { options = {}; }
|
|
108
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
109
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
111
|
return __generator(this, function (_a) {
|
|
111
112
|
switch (_a.label) {
|
|
112
113
|
case 0:
|
|
114
|
+
// verify required parameter 'batchCreatePartnerHierarchyNodesRequestDto' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('batchCreatePartnerHierarchyNodes', 'batchCreatePartnerHierarchyNodesRequestDto', batchCreatePartnerHierarchyNodesRequestDto);
|
|
113
116
|
localVarPath = "/partnerservice/v1/partner-hierarchy-nodes/batch";
|
|
114
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
118
|
if (configuration) {
|
|
@@ -129,9 +132,11 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
129
132
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
133
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
134
|
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
136
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
137
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
138
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchCreatePartnerHierarchyNodesRequestDto, localVarRequestOptions, configuration);
|
|
135
140
|
return [2 /*return*/, {
|
|
136
141
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
142
|
options: localVarRequestOptions,
|
|
@@ -142,7 +147,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
142
147
|
},
|
|
143
148
|
/**
|
|
144
149
|
* 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\"
|
|
145
|
-
* @summary Create
|
|
150
|
+
* @summary Create a partner hierarchy node
|
|
146
151
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
147
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
153
|
* @param {*} [options] Override http request option.
|
|
@@ -191,7 +196,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
191
196
|
},
|
|
192
197
|
/**
|
|
193
198
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
194
|
-
* @summary Delete
|
|
199
|
+
* @summary Delete a partner hierarchy node
|
|
195
200
|
* @param {string} code
|
|
196
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
202
|
* @param {*} [options] Override http request option.
|
|
@@ -239,7 +244,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
239
244
|
},
|
|
240
245
|
/**
|
|
241
246
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
242
|
-
* @summary
|
|
247
|
+
* @summary Get a partner hierarchy node
|
|
243
248
|
* @param {string} code
|
|
244
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
245
250
|
* @param {*} [options] Override http request option.
|
|
@@ -287,7 +292,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
287
292
|
},
|
|
288
293
|
/**
|
|
289
294
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
290
|
-
* @summary List partner hierarchy node
|
|
295
|
+
* @summary List partner hierarchy node history
|
|
291
296
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
292
297
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
293
298
|
* @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.
|
|
@@ -431,7 +436,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
431
436
|
},
|
|
432
437
|
/**
|
|
433
438
|
* 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\"
|
|
434
|
-
* @summary
|
|
439
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
435
440
|
* @param {string} code
|
|
436
441
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
437
442
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -484,7 +489,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
484
489
|
},
|
|
485
490
|
/**
|
|
486
491
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
487
|
-
* @summary
|
|
492
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
488
493
|
* @param {string} code
|
|
489
494
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
490
495
|
* @param {*} [options] Override http request option.
|
|
@@ -532,7 +537,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
|
|
|
532
537
|
},
|
|
533
538
|
/**
|
|
534
539
|
* 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\"
|
|
535
|
-
* @summary Update
|
|
540
|
+
* @summary Update a partner hierarchy node
|
|
536
541
|
* @param {string} code
|
|
537
542
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
538
543
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -595,17 +600,18 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
595
600
|
return {
|
|
596
601
|
/**
|
|
597
602
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
598
|
-
* @summary
|
|
603
|
+
* @summary Batch create partner hierarchy nodes
|
|
604
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
599
605
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
600
606
|
* @param {*} [options] Override http request option.
|
|
601
607
|
* @throws {RequiredError}
|
|
602
608
|
*/
|
|
603
|
-
batchCreatePartnerHierarchyNodes: function (authorization, options) {
|
|
609
|
+
batchCreatePartnerHierarchyNodes: function (batchCreatePartnerHierarchyNodesRequestDto, authorization, options) {
|
|
604
610
|
return __awaiter(this, void 0, void 0, function () {
|
|
605
611
|
var localVarAxiosArgs;
|
|
606
612
|
return __generator(this, function (_a) {
|
|
607
613
|
switch (_a.label) {
|
|
608
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(authorization, options)];
|
|
614
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options)];
|
|
609
615
|
case 1:
|
|
610
616
|
localVarAxiosArgs = _a.sent();
|
|
611
617
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -615,7 +621,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
615
621
|
},
|
|
616
622
|
/**
|
|
617
623
|
* 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\"
|
|
618
|
-
* @summary Create
|
|
624
|
+
* @summary Create a partner hierarchy node
|
|
619
625
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
620
626
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
621
627
|
* @param {*} [options] Override http request option.
|
|
@@ -636,7 +642,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
636
642
|
},
|
|
637
643
|
/**
|
|
638
644
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
639
|
-
* @summary Delete
|
|
645
|
+
* @summary Delete a partner hierarchy node
|
|
640
646
|
* @param {string} code
|
|
641
647
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
642
648
|
* @param {*} [options] Override http request option.
|
|
@@ -657,7 +663,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
657
663
|
},
|
|
658
664
|
/**
|
|
659
665
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
660
|
-
* @summary
|
|
666
|
+
* @summary Get a partner hierarchy node
|
|
661
667
|
* @param {string} code
|
|
662
668
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
663
669
|
* @param {*} [options] Override http request option.
|
|
@@ -678,7 +684,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
678
684
|
},
|
|
679
685
|
/**
|
|
680
686
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
681
|
-
* @summary List partner hierarchy node
|
|
687
|
+
* @summary List partner hierarchy node history
|
|
682
688
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
683
689
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
684
690
|
* @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.
|
|
@@ -732,7 +738,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
732
738
|
},
|
|
733
739
|
/**
|
|
734
740
|
* 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\"
|
|
735
|
-
* @summary
|
|
741
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
736
742
|
* @param {string} code
|
|
737
743
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
738
744
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -754,7 +760,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
754
760
|
},
|
|
755
761
|
/**
|
|
756
762
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
757
|
-
* @summary
|
|
763
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
758
764
|
* @param {string} code
|
|
759
765
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
760
766
|
* @param {*} [options] Override http request option.
|
|
@@ -775,7 +781,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
|
|
|
775
781
|
},
|
|
776
782
|
/**
|
|
777
783
|
* 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\"
|
|
778
|
-
* @summary Update
|
|
784
|
+
* @summary Update a partner hierarchy node
|
|
779
785
|
* @param {string} code
|
|
780
786
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
781
787
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -807,17 +813,18 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
807
813
|
return {
|
|
808
814
|
/**
|
|
809
815
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
810
|
-
* @summary
|
|
816
|
+
* @summary Batch create partner hierarchy nodes
|
|
817
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
811
818
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
812
819
|
* @param {*} [options] Override http request option.
|
|
813
820
|
* @throws {RequiredError}
|
|
814
821
|
*/
|
|
815
|
-
batchCreatePartnerHierarchyNodes: function (authorization, options) {
|
|
816
|
-
return localVarFp.batchCreatePartnerHierarchyNodes(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
822
|
+
batchCreatePartnerHierarchyNodes: function (batchCreatePartnerHierarchyNodesRequestDto, authorization, options) {
|
|
823
|
+
return localVarFp.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
817
824
|
},
|
|
818
825
|
/**
|
|
819
826
|
* 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\"
|
|
820
|
-
* @summary Create
|
|
827
|
+
* @summary Create a partner hierarchy node
|
|
821
828
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
822
829
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
823
830
|
* @param {*} [options] Override http request option.
|
|
@@ -828,7 +835,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
828
835
|
},
|
|
829
836
|
/**
|
|
830
837
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
831
|
-
* @summary Delete
|
|
838
|
+
* @summary Delete a partner hierarchy node
|
|
832
839
|
* @param {string} code
|
|
833
840
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
834
841
|
* @param {*} [options] Override http request option.
|
|
@@ -839,7 +846,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
839
846
|
},
|
|
840
847
|
/**
|
|
841
848
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
842
|
-
* @summary
|
|
849
|
+
* @summary Get a partner hierarchy node
|
|
843
850
|
* @param {string} code
|
|
844
851
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
845
852
|
* @param {*} [options] Override http request option.
|
|
@@ -850,7 +857,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
850
857
|
},
|
|
851
858
|
/**
|
|
852
859
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
853
|
-
* @summary List partner hierarchy node
|
|
860
|
+
* @summary List partner hierarchy node history
|
|
854
861
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
855
862
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
856
863
|
* @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.
|
|
@@ -884,7 +891,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
884
891
|
},
|
|
885
892
|
/**
|
|
886
893
|
* 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\"
|
|
887
|
-
* @summary
|
|
894
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
888
895
|
* @param {string} code
|
|
889
896
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
890
897
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -896,7 +903,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
896
903
|
},
|
|
897
904
|
/**
|
|
898
905
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
899
|
-
* @summary
|
|
906
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
900
907
|
* @param {string} code
|
|
901
908
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
902
909
|
* @param {*} [options] Override http request option.
|
|
@@ -907,7 +914,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
|
|
|
907
914
|
},
|
|
908
915
|
/**
|
|
909
916
|
* 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\"
|
|
910
|
-
* @summary Update
|
|
917
|
+
* @summary Update a partner hierarchy node
|
|
911
918
|
* @param {string} code
|
|
912
919
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
913
920
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -933,7 +940,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
933
940
|
}
|
|
934
941
|
/**
|
|
935
942
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
936
|
-
* @summary
|
|
943
|
+
* @summary Batch create partner hierarchy nodes
|
|
937
944
|
* @param {PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest} requestParameters Request parameters.
|
|
938
945
|
* @param {*} [options] Override http request option.
|
|
939
946
|
* @throws {RequiredError}
|
|
@@ -941,12 +948,11 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
941
948
|
*/
|
|
942
949
|
PartnerHierarchyNodesApi.prototype.batchCreatePartnerHierarchyNodes = function (requestParameters, options) {
|
|
943
950
|
var _this = this;
|
|
944
|
-
|
|
945
|
-
return (0, exports.PartnerHierarchyNodesApiFp)(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
951
|
+
return (0, exports.PartnerHierarchyNodesApiFp)(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.batchCreatePartnerHierarchyNodesRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
946
952
|
};
|
|
947
953
|
/**
|
|
948
954
|
* 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\"
|
|
949
|
-
* @summary Create
|
|
955
|
+
* @summary Create a partner hierarchy node
|
|
950
956
|
* @param {PartnerHierarchyNodesApiCreatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
951
957
|
* @param {*} [options] Override http request option.
|
|
952
958
|
* @throws {RequiredError}
|
|
@@ -958,7 +964,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
958
964
|
};
|
|
959
965
|
/**
|
|
960
966
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
961
|
-
* @summary Delete
|
|
967
|
+
* @summary Delete a partner hierarchy node
|
|
962
968
|
* @param {PartnerHierarchyNodesApiDeletePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
963
969
|
* @param {*} [options] Override http request option.
|
|
964
970
|
* @throws {RequiredError}
|
|
@@ -970,7 +976,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
970
976
|
};
|
|
971
977
|
/**
|
|
972
978
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
973
|
-
* @summary
|
|
979
|
+
* @summary Get a partner hierarchy node
|
|
974
980
|
* @param {PartnerHierarchyNodesApiGetPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
975
981
|
* @param {*} [options] Override http request option.
|
|
976
982
|
* @throws {RequiredError}
|
|
@@ -982,7 +988,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
982
988
|
};
|
|
983
989
|
/**
|
|
984
990
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
985
|
-
* @summary List partner hierarchy node
|
|
991
|
+
* @summary List partner hierarchy node history
|
|
986
992
|
* @param {PartnerHierarchyNodesApiListPartnerHierarchyNodeHistoryRequest} requestParameters Request parameters.
|
|
987
993
|
* @param {*} [options] Override http request option.
|
|
988
994
|
* @throws {RequiredError}
|
|
@@ -1008,7 +1014,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
1008
1014
|
};
|
|
1009
1015
|
/**
|
|
1010
1016
|
* 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\"
|
|
1011
|
-
* @summary
|
|
1017
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
1012
1018
|
* @param {PartnerHierarchyNodesApiMovePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1013
1019
|
* @param {*} [options] Override http request option.
|
|
1014
1020
|
* @throws {RequiredError}
|
|
@@ -1020,7 +1026,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
1020
1026
|
};
|
|
1021
1027
|
/**
|
|
1022
1028
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
1023
|
-
* @summary
|
|
1029
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
1024
1030
|
* @param {PartnerHierarchyNodesApiUnassignPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1025
1031
|
* @param {*} [options] Override http request option.
|
|
1026
1032
|
* @throws {RequiredError}
|
|
@@ -1032,7 +1038,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
|
|
|
1032
1038
|
};
|
|
1033
1039
|
/**
|
|
1034
1040
|
* 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\"
|
|
1035
|
-
* @summary Update
|
|
1041
|
+
* @summary Update a partner hierarchy node
|
|
1036
1042
|
* @param {PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
1037
1043
|
* @param {*} [options] Override http request option.
|
|
1038
1044
|
* @throws {RequiredError}
|
|
@@ -26,7 +26,7 @@ import { UpdatePartnerHierarchyTypeResponseClass } from '../models';
|
|
|
26
26
|
export declare const PartnerHierarchyTypesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
27
|
/**
|
|
28
28
|
* 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\"
|
|
29
|
-
* @summary Create
|
|
29
|
+
* @summary Create a partner hierarchy type
|
|
30
30
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
31
31
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
@@ -35,7 +35,7 @@ export declare const PartnerHierarchyTypesApiAxiosParamCreator: (configuration?:
|
|
|
35
35
|
createPartnerHierarchyType: (createPartnerHierarchyTypeRequestDto: CreatePartnerHierarchyTypeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
37
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
38
|
-
* @summary Delete
|
|
38
|
+
* @summary Delete a partner hierarchy type
|
|
39
39
|
* @param {string} code Unique identifier for the object.
|
|
40
40
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
@@ -44,7 +44,7 @@ export declare const PartnerHierarchyTypesApiAxiosParamCreator: (configuration?:
|
|
|
44
44
|
deletePartnerHierarchyType: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
45
|
/**
|
|
46
46
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
47
|
-
* @summary
|
|
47
|
+
* @summary Get a partner hierarchy type
|
|
48
48
|
* @param {string} code Unique identifier for the object.
|
|
49
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
@@ -53,7 +53,7 @@ export declare const PartnerHierarchyTypesApiAxiosParamCreator: (configuration?:
|
|
|
53
53
|
getPartnerHierarchyType: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
56
|
-
* @summary List partner
|
|
56
|
+
* @summary List partner hierarchy types
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
59
|
* @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.
|
|
@@ -68,7 +68,7 @@ export declare const PartnerHierarchyTypesApiAxiosParamCreator: (configuration?:
|
|
|
68
68
|
listPartnerHierarchyTypes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
* 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\"
|
|
71
|
-
* @summary Update
|
|
71
|
+
* @summary Update a partner hierarchy type
|
|
72
72
|
* @param {string} code Unique identifier for the object.
|
|
73
73
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
74
74
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -84,7 +84,7 @@ export declare const PartnerHierarchyTypesApiAxiosParamCreator: (configuration?:
|
|
|
84
84
|
export declare const PartnerHierarchyTypesApiFp: (configuration?: Configuration) => {
|
|
85
85
|
/**
|
|
86
86
|
* 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\"
|
|
87
|
-
* @summary Create
|
|
87
|
+
* @summary Create a partner hierarchy type
|
|
88
88
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
89
89
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
@@ -93,7 +93,7 @@ export declare const PartnerHierarchyTypesApiFp: (configuration?: Configuration)
|
|
|
93
93
|
createPartnerHierarchyType(createPartnerHierarchyTypeRequestDto: CreatePartnerHierarchyTypeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerHierarchyTypeResponseClass>>;
|
|
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.
|
|
@@ -102,7 +102,7 @@ export declare const PartnerHierarchyTypesApiFp: (configuration?: Configuration)
|
|
|
102
102
|
deletePartnerHierarchyType(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
|
|
103
103
|
/**
|
|
104
104
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
105
|
-
* @summary
|
|
105
|
+
* @summary Get a partner hierarchy type
|
|
106
106
|
* @param {string} code Unique identifier for the object.
|
|
107
107
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
@@ -111,7 +111,7 @@ export declare const PartnerHierarchyTypesApiFp: (configuration?: Configuration)
|
|
|
111
111
|
getPartnerHierarchyType(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerHierarchyTypeResponseClass>>;
|
|
112
112
|
/**
|
|
113
113
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
114
|
-
* @summary List partner
|
|
114
|
+
* @summary List partner hierarchy types
|
|
115
115
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
116
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
117
117
|
* @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.
|
|
@@ -126,7 +126,7 @@ export declare const PartnerHierarchyTypesApiFp: (configuration?: Configuration)
|
|
|
126
126
|
listPartnerHierarchyTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerHierarchyTypesResponseClass>>;
|
|
127
127
|
/**
|
|
128
128
|
* 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\"
|
|
129
|
-
* @summary Update
|
|
129
|
+
* @summary Update a partner hierarchy type
|
|
130
130
|
* @param {string} code Unique identifier for the object.
|
|
131
131
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
132
132
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -142,7 +142,7 @@ export declare const PartnerHierarchyTypesApiFp: (configuration?: Configuration)
|
|
|
142
142
|
export declare const PartnerHierarchyTypesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
143
143
|
/**
|
|
144
144
|
* 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\"
|
|
145
|
-
* @summary Create
|
|
145
|
+
* @summary Create a partner hierarchy type
|
|
146
146
|
* @param {CreatePartnerHierarchyTypeRequestDto} createPartnerHierarchyTypeRequestDto
|
|
147
147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
@@ -151,7 +151,7 @@ export declare const PartnerHierarchyTypesApiFactory: (configuration?: Configura
|
|
|
151
151
|
createPartnerHierarchyType(createPartnerHierarchyTypeRequestDto: CreatePartnerHierarchyTypeRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePartnerHierarchyTypeResponseClass>;
|
|
152
152
|
/**
|
|
153
153
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
154
|
-
* @summary Delete
|
|
154
|
+
* @summary Delete a partner hierarchy type
|
|
155
155
|
* @param {string} code Unique identifier for the object.
|
|
156
156
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
@@ -160,7 +160,7 @@ export declare const PartnerHierarchyTypesApiFactory: (configuration?: Configura
|
|
|
160
160
|
deletePartnerHierarchyType(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
|
|
161
161
|
/**
|
|
162
162
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
163
|
-
* @summary
|
|
163
|
+
* @summary Get a partner hierarchy type
|
|
164
164
|
* @param {string} code Unique identifier for the object.
|
|
165
165
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
@@ -169,7 +169,7 @@ export declare const PartnerHierarchyTypesApiFactory: (configuration?: Configura
|
|
|
169
169
|
getPartnerHierarchyType(code: string, authorization?: string, options?: any): AxiosPromise<GetPartnerHierarchyTypeResponseClass>;
|
|
170
170
|
/**
|
|
171
171
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
172
|
-
* @summary List partner
|
|
172
|
+
* @summary List partner hierarchy types
|
|
173
173
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
174
174
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
175
175
|
* @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.
|
|
@@ -184,7 +184,7 @@ export declare const PartnerHierarchyTypesApiFactory: (configuration?: Configura
|
|
|
184
184
|
listPartnerHierarchyTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerHierarchyTypesResponseClass>;
|
|
185
185
|
/**
|
|
186
186
|
* 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\"
|
|
187
|
-
* @summary Update
|
|
187
|
+
* @summary Update a partner hierarchy type
|
|
188
188
|
* @param {string} code Unique identifier for the object.
|
|
189
189
|
* @param {UpdatePartnerHierarchyTypeRequestDto} updatePartnerHierarchyTypeRequestDto
|
|
190
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -339,7 +339,7 @@ export interface PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest {
|
|
|
339
339
|
export declare class PartnerHierarchyTypesApi extends BaseAPI {
|
|
340
340
|
/**
|
|
341
341
|
* 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\"
|
|
342
|
-
* @summary Create
|
|
342
|
+
* @summary Create a partner hierarchy type
|
|
343
343
|
* @param {PartnerHierarchyTypesApiCreatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
345
345
|
* @throws {RequiredError}
|
|
@@ -348,7 +348,7 @@ export declare class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
348
348
|
createPartnerHierarchyType(requestParameters: PartnerHierarchyTypesApiCreatePartnerHierarchyTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerHierarchyTypeResponseClass, any, {}>>;
|
|
349
349
|
/**
|
|
350
350
|
* Soft-deletes a partner hierarchy type. Blocked if any partner hierarchy instances reference this type. **Required Permissions** \"partner-management.partners.delete\"
|
|
351
|
-
* @summary Delete
|
|
351
|
+
* @summary Delete a partner hierarchy type
|
|
352
352
|
* @param {PartnerHierarchyTypesApiDeletePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
@@ -357,7 +357,7 @@ export declare class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
357
357
|
deletePartnerHierarchyType(requestParameters: PartnerHierarchyTypesApiDeletePartnerHierarchyTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
|
|
358
358
|
/**
|
|
359
359
|
* Returns a partner hierarchy type by its code, including the full schema. **Required Permissions** \"partner-management.partners.view\"
|
|
360
|
-
* @summary
|
|
360
|
+
* @summary Get a partner hierarchy type
|
|
361
361
|
* @param {PartnerHierarchyTypesApiGetPartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
@@ -366,7 +366,7 @@ export declare class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
366
366
|
getPartnerHierarchyType(requestParameters: PartnerHierarchyTypesApiGetPartnerHierarchyTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerHierarchyTypeResponseClass, any, {}>>;
|
|
367
367
|
/**
|
|
368
368
|
* Returns a paginated list of partner hierarchy types. **Required Permissions** \"partner-management.partners.view\"
|
|
369
|
-
* @summary List partner
|
|
369
|
+
* @summary List partner hierarchy types
|
|
370
370
|
* @param {PartnerHierarchyTypesApiListPartnerHierarchyTypesRequest} requestParameters Request parameters.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
@@ -375,7 +375,7 @@ export declare class PartnerHierarchyTypesApi extends BaseAPI {
|
|
|
375
375
|
listPartnerHierarchyTypes(requestParameters?: PartnerHierarchyTypesApiListPartnerHierarchyTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerHierarchyTypesResponseClass, any, {}>>;
|
|
376
376
|
/**
|
|
377
377
|
* 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\"
|
|
378
|
-
* @summary Update
|
|
378
|
+
* @summary Update a partner hierarchy type
|
|
379
379
|
* @param {PartnerHierarchyTypesApiUpdatePartnerHierarchyTypeRequest} requestParameters Request parameters.
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|