@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.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/partner-hierarchies-api.ts +89 -64
  4. package/api/partner-hierarchy-nodes-api.ts +58 -39
  5. package/api/partner-hierarchy-types-api.ts +20 -20
  6. package/dist/api/partner-hierarchies-api.d.ts +79 -65
  7. package/dist/api/partner-hierarchies-api.js +65 -58
  8. package/dist/api/partner-hierarchy-nodes-api.d.ts +47 -36
  9. package/dist/api/partner-hierarchy-nodes-api.js +45 -39
  10. package/dist/api/partner-hierarchy-types-api.d.ts +20 -20
  11. package/dist/api/partner-hierarchy-types-api.js +20 -20
  12. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
  13. package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
  14. package/dist/models/generate-upload-url-response-class.d.ts +36 -0
  15. package/dist/models/generate-upload-url-response-class.js +15 -0
  16. package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +42 -0
  17. package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
  18. package/dist/models/index.d.ts +7 -0
  19. package/dist/models/index.js +7 -0
  20. package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
  21. package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
  22. package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
  23. package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
  24. package/dist/models/partner-hierarchy-class.d.ts +1 -1
  25. package/dist/models/partner-hierarchy-node-class.d.ts +4 -4
  26. package/dist/models/partner-hierarchy-node-history-class.d.ts +3 -3
  27. package/dist/models/partner-hierarchy-node-tree-class.d.ts +6 -6
  28. package/dist/models/partner-hierarchy-operation-class.d.ts +90 -0
  29. package/dist/models/partner-hierarchy-operation-class.js +15 -0
  30. package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
  31. package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
  32. package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
  33. package/models/generate-upload-url-response-class.ts +42 -0
  34. package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -0
  35. package/models/index.ts +7 -0
  36. package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
  37. package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
  38. package/models/partner-hierarchy-class.ts +1 -1
  39. package/models/partner-hierarchy-node-class.ts +4 -4
  40. package/models/partner-hierarchy-node-history-class.ts +3 -3
  41. package/models/partner-hierarchy-node-tree-class.ts +6 -6
  42. package/models/partner-hierarchy-operation-class.ts +96 -0
  43. package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
  44. package/package.json +1 -1
@@ -94,18 +94,21 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
96
  * Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
97
- * @summary Create the partner hierarchy nodes batch
97
+ * @summary Batch create partner hierarchy nodes
98
+ * @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
98
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
100
  * @param {*} [options] Override http request option.
100
101
  * @throws {RequiredError}
101
102
  */
102
- batchCreatePartnerHierarchyNodes: function (authorization, options) {
103
+ batchCreatePartnerHierarchyNodes: function (batchCreatePartnerHierarchyNodesRequestDto, authorization, options) {
103
104
  if (options === void 0) { options = {}; }
104
105
  return __awaiter(_this, void 0, void 0, function () {
105
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
107
  return __generator(this, function (_a) {
107
108
  switch (_a.label) {
108
109
  case 0:
110
+ // verify required parameter 'batchCreatePartnerHierarchyNodesRequestDto' is not null or undefined
111
+ (0, common_1.assertParamExists)('batchCreatePartnerHierarchyNodes', 'batchCreatePartnerHierarchyNodesRequestDto', batchCreatePartnerHierarchyNodesRequestDto);
109
112
  localVarPath = "/partnerservice/v1/partner-hierarchy-nodes/batch";
110
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
114
  if (configuration) {
@@ -125,9 +128,11 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
125
128
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
126
129
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
127
130
  }
131
+ localVarHeaderParameter['Content-Type'] = 'application/json';
128
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchCreatePartnerHierarchyNodesRequestDto, localVarRequestOptions, configuration);
131
136
  return [2 /*return*/, {
132
137
  url: (0, common_1.toPathString)(localVarUrlObj),
133
138
  options: localVarRequestOptions,
@@ -138,7 +143,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
138
143
  },
139
144
  /**
140
145
  * 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\"
141
- * @summary Create the partner hierarchy node
146
+ * @summary Create a partner hierarchy node
142
147
  * @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
143
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
149
  * @param {*} [options] Override http request option.
@@ -187,7 +192,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
187
192
  },
188
193
  /**
189
194
  * Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
190
- * @summary Delete the partner hierarchy node
195
+ * @summary Delete a partner hierarchy node
191
196
  * @param {string} code
192
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
198
  * @param {*} [options] Override http request option.
@@ -235,7 +240,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
235
240
  },
236
241
  /**
237
242
  * Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
238
- * @summary Retrieve the partner hierarchy node
243
+ * @summary Get a partner hierarchy node
239
244
  * @param {string} code
240
245
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
241
246
  * @param {*} [options] Override http request option.
@@ -283,7 +288,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
283
288
  },
284
289
  /**
285
290
  * Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
286
- * @summary List partner hierarchy node histories
291
+ * @summary List partner hierarchy node history
287
292
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
288
293
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
289
294
  * @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.
@@ -427,7 +432,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
427
432
  },
428
433
  /**
429
434
  * 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\"
430
- * @summary Create the partner hierarchy node move
435
+ * @summary Move a partner hierarchy node to a new parent
431
436
  * @param {string} code
432
437
  * @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
433
438
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -480,7 +485,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
480
485
  },
481
486
  /**
482
487
  * Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
483
- * @summary Create the partner hierarchy node unassign
488
+ * @summary Unassign a partner from a partner hierarchy node
484
489
  * @param {string} code
485
490
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
486
491
  * @param {*} [options] Override http request option.
@@ -528,7 +533,7 @@ var PartnerHierarchyNodesApiAxiosParamCreator = function (configuration) {
528
533
  },
529
534
  /**
530
535
  * 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\"
531
- * @summary Update the partner hierarchy node
536
+ * @summary Update a partner hierarchy node
532
537
  * @param {string} code
533
538
  * @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
534
539
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -591,17 +596,18 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
591
596
  return {
592
597
  /**
593
598
  * Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
594
- * @summary Create the partner hierarchy nodes batch
599
+ * @summary Batch create partner hierarchy nodes
600
+ * @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
595
601
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
596
602
  * @param {*} [options] Override http request option.
597
603
  * @throws {RequiredError}
598
604
  */
599
- batchCreatePartnerHierarchyNodes: function (authorization, options) {
605
+ batchCreatePartnerHierarchyNodes: function (batchCreatePartnerHierarchyNodesRequestDto, authorization, options) {
600
606
  return __awaiter(this, void 0, void 0, function () {
601
607
  var localVarAxiosArgs;
602
608
  return __generator(this, function (_a) {
603
609
  switch (_a.label) {
604
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(authorization, options)];
610
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options)];
605
611
  case 1:
606
612
  localVarAxiosArgs = _a.sent();
607
613
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -611,7 +617,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
611
617
  },
612
618
  /**
613
619
  * 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\"
614
- * @summary Create the partner hierarchy node
620
+ * @summary Create a partner hierarchy node
615
621
  * @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
616
622
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
617
623
  * @param {*} [options] Override http request option.
@@ -632,7 +638,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
632
638
  },
633
639
  /**
634
640
  * Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
635
- * @summary Delete the partner hierarchy node
641
+ * @summary Delete a partner hierarchy node
636
642
  * @param {string} code
637
643
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
638
644
  * @param {*} [options] Override http request option.
@@ -653,7 +659,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
653
659
  },
654
660
  /**
655
661
  * Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
656
- * @summary Retrieve the partner hierarchy node
662
+ * @summary Get a partner hierarchy node
657
663
  * @param {string} code
658
664
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
659
665
  * @param {*} [options] Override http request option.
@@ -674,7 +680,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
674
680
  },
675
681
  /**
676
682
  * Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
677
- * @summary List partner hierarchy node histories
683
+ * @summary List partner hierarchy node history
678
684
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
679
685
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
680
686
  * @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.
@@ -728,7 +734,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
728
734
  },
729
735
  /**
730
736
  * 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\"
731
- * @summary Create the partner hierarchy node move
737
+ * @summary Move a partner hierarchy node to a new parent
732
738
  * @param {string} code
733
739
  * @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
734
740
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -750,7 +756,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
750
756
  },
751
757
  /**
752
758
  * Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
753
- * @summary Create the partner hierarchy node unassign
759
+ * @summary Unassign a partner from a partner hierarchy node
754
760
  * @param {string} code
755
761
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
756
762
  * @param {*} [options] Override http request option.
@@ -771,7 +777,7 @@ var PartnerHierarchyNodesApiFp = function (configuration) {
771
777
  },
772
778
  /**
773
779
  * 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\"
774
- * @summary Update the partner hierarchy node
780
+ * @summary Update a partner hierarchy node
775
781
  * @param {string} code
776
782
  * @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
777
783
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -803,17 +809,18 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
803
809
  return {
804
810
  /**
805
811
  * Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
806
- * @summary Create the partner hierarchy nodes batch
812
+ * @summary Batch create partner hierarchy nodes
813
+ * @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
807
814
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
808
815
  * @param {*} [options] Override http request option.
809
816
  * @throws {RequiredError}
810
817
  */
811
- batchCreatePartnerHierarchyNodes: function (authorization, options) {
812
- return localVarFp.batchCreatePartnerHierarchyNodes(authorization, options).then(function (request) { return request(axios, basePath); });
818
+ batchCreatePartnerHierarchyNodes: function (batchCreatePartnerHierarchyNodesRequestDto, authorization, options) {
819
+ return localVarFp.batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
813
820
  },
814
821
  /**
815
822
  * 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\"
816
- * @summary Create the partner hierarchy node
823
+ * @summary Create a partner hierarchy node
817
824
  * @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
818
825
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
819
826
  * @param {*} [options] Override http request option.
@@ -824,7 +831,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
824
831
  },
825
832
  /**
826
833
  * Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
827
- * @summary Delete the partner hierarchy node
834
+ * @summary Delete a partner hierarchy node
828
835
  * @param {string} code
829
836
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
830
837
  * @param {*} [options] Override http request option.
@@ -835,7 +842,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
835
842
  },
836
843
  /**
837
844
  * Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
838
- * @summary Retrieve the partner hierarchy node
845
+ * @summary Get a partner hierarchy node
839
846
  * @param {string} code
840
847
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
841
848
  * @param {*} [options] Override http request option.
@@ -846,7 +853,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
846
853
  },
847
854
  /**
848
855
  * Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
849
- * @summary List partner hierarchy node histories
856
+ * @summary List partner hierarchy node history
850
857
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
851
858
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
852
859
  * @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.
@@ -880,7 +887,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
880
887
  },
881
888
  /**
882
889
  * 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\"
883
- * @summary Create the partner hierarchy node move
890
+ * @summary Move a partner hierarchy node to a new parent
884
891
  * @param {string} code
885
892
  * @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
886
893
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -892,7 +899,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
892
899
  },
893
900
  /**
894
901
  * Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
895
- * @summary Create the partner hierarchy node unassign
902
+ * @summary Unassign a partner from a partner hierarchy node
896
903
  * @param {string} code
897
904
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
898
905
  * @param {*} [options] Override http request option.
@@ -903,7 +910,7 @@ var PartnerHierarchyNodesApiFactory = function (configuration, basePath, axios)
903
910
  },
904
911
  /**
905
912
  * 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\"
906
- * @summary Update the partner hierarchy node
913
+ * @summary Update a partner hierarchy node
907
914
  * @param {string} code
908
915
  * @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
909
916
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -929,7 +936,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
929
936
  }
930
937
  /**
931
938
  * Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
932
- * @summary Create the partner hierarchy nodes batch
939
+ * @summary Batch create partner hierarchy nodes
933
940
  * @param {PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest} requestParameters Request parameters.
934
941
  * @param {*} [options] Override http request option.
935
942
  * @throws {RequiredError}
@@ -937,12 +944,11 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
937
944
  */
938
945
  PartnerHierarchyNodesApi.prototype.batchCreatePartnerHierarchyNodes = function (requestParameters, options) {
939
946
  var _this = this;
940
- if (requestParameters === void 0) { requestParameters = {}; }
941
- return (0, exports.PartnerHierarchyNodesApiFp)(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
947
+ return (0, exports.PartnerHierarchyNodesApiFp)(this.configuration).batchCreatePartnerHierarchyNodes(requestParameters.batchCreatePartnerHierarchyNodesRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
942
948
  };
943
949
  /**
944
950
  * 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\"
945
- * @summary Create the partner hierarchy node
951
+ * @summary Create a partner hierarchy node
946
952
  * @param {PartnerHierarchyNodesApiCreatePartnerHierarchyNodeRequest} requestParameters Request parameters.
947
953
  * @param {*} [options] Override http request option.
948
954
  * @throws {RequiredError}
@@ -954,7 +960,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
954
960
  };
955
961
  /**
956
962
  * Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
957
- * @summary Delete the partner hierarchy node
963
+ * @summary Delete a partner hierarchy node
958
964
  * @param {PartnerHierarchyNodesApiDeletePartnerHierarchyNodeRequest} requestParameters Request parameters.
959
965
  * @param {*} [options] Override http request option.
960
966
  * @throws {RequiredError}
@@ -966,7 +972,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
966
972
  };
967
973
  /**
968
974
  * Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
969
- * @summary Retrieve the partner hierarchy node
975
+ * @summary Get a partner hierarchy node
970
976
  * @param {PartnerHierarchyNodesApiGetPartnerHierarchyNodeRequest} requestParameters Request parameters.
971
977
  * @param {*} [options] Override http request option.
972
978
  * @throws {RequiredError}
@@ -978,7 +984,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
978
984
  };
979
985
  /**
980
986
  * Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
981
- * @summary List partner hierarchy node histories
987
+ * @summary List partner hierarchy node history
982
988
  * @param {PartnerHierarchyNodesApiListPartnerHierarchyNodeHistoryRequest} requestParameters Request parameters.
983
989
  * @param {*} [options] Override http request option.
984
990
  * @throws {RequiredError}
@@ -1004,7 +1010,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
1004
1010
  };
1005
1011
  /**
1006
1012
  * 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\"
1007
- * @summary Create the partner hierarchy node move
1013
+ * @summary Move a partner hierarchy node to a new parent
1008
1014
  * @param {PartnerHierarchyNodesApiMovePartnerHierarchyNodeRequest} requestParameters Request parameters.
1009
1015
  * @param {*} [options] Override http request option.
1010
1016
  * @throws {RequiredError}
@@ -1016,7 +1022,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
1016
1022
  };
1017
1023
  /**
1018
1024
  * Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
1019
- * @summary Create the partner hierarchy node unassign
1025
+ * @summary Unassign a partner from a partner hierarchy node
1020
1026
  * @param {PartnerHierarchyNodesApiUnassignPartnerHierarchyNodeRequest} requestParameters Request parameters.
1021
1027
  * @param {*} [options] Override http request option.
1022
1028
  * @throws {RequiredError}
@@ -1028,7 +1034,7 @@ var PartnerHierarchyNodesApi = /** @class */ (function (_super) {
1028
1034
  };
1029
1035
  /**
1030
1036
  * 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\"
1031
- * @summary Update the partner hierarchy node
1037
+ * @summary Update a partner hierarchy node
1032
1038
  * @param {PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest} requestParameters Request parameters.
1033
1039
  * @param {*} [options] Override http request option.
1034
1040
  * @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 the partner hierarchy type
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 the partner hierarchy type
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 Retrieve the partner hierarchy type
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-hierarchy-types
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&#x3D;1, your subsequent call can include pageToken&#x3D;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 the partner hierarchy type
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 the partner hierarchy type
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 the partner hierarchy type
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 Retrieve the partner hierarchy type
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-hierarchy-types
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&#x3D;1, your subsequent call can include pageToken&#x3D;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 the partner hierarchy type
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 the partner hierarchy type
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 the partner hierarchy type
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 Retrieve the partner hierarchy type
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-hierarchy-types
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&#x3D;1, your subsequent call can include pageToken&#x3D;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 the partner hierarchy type
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 the partner hierarchy type
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 the partner hierarchy type
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 Retrieve the partner hierarchy type
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-hierarchy-types
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 the partner hierarchy type
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}