@emilgroup/partner-sdk 1.22.1-beta.17 → 1.22.1-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/partner-hierarchies-api.ts +89 -64
- package/api/partner-hierarchy-nodes-api.ts +58 -39
- package/api/partner-hierarchy-types-api.ts +20 -20
- package/dist/api/partner-hierarchies-api.d.ts +79 -65
- package/dist/api/partner-hierarchies-api.js +65 -58
- package/dist/api/partner-hierarchy-nodes-api.d.ts +47 -36
- package/dist/api/partner-hierarchy-nodes-api.js +45 -39
- package/dist/api/partner-hierarchy-types-api.d.ts +20 -20
- package/dist/api/partner-hierarchy-types-api.js +20 -20
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +30 -0
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +15 -0
- package/dist/models/generate-upload-url-response-class.d.ts +36 -0
- package/dist/models/generate-upload-url-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +42 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-operations-response-class.js +15 -0
- package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +30 -0
- package/dist/models/partner-hierarchy-async-operation-response-class.js +15 -0
- package/dist/models/partner-hierarchy-class.d.ts +1 -1
- package/dist/models/partner-hierarchy-node-class.d.ts +4 -4
- package/dist/models/partner-hierarchy-node-history-class.d.ts +3 -3
- package/dist/models/partner-hierarchy-node-tree-class.d.ts +6 -6
- package/dist/models/partner-hierarchy-operation-class.d.ts +90 -0
- package/dist/models/partner-hierarchy-operation-class.js +15 -0
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +24 -0
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +15 -0
- package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
- package/models/generate-upload-url-response-class.ts +42 -0
- package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -0
- package/models/index.ts +7 -0
- package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
- package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
- package/models/partner-hierarchy-class.ts +1 -1
- package/models/partner-hierarchy-node-class.ts +4 -4
- package/models/partner-hierarchy-node-history-class.ts +3 -3
- package/models/partner-hierarchy-node-tree-class.ts +6 -6
- package/models/partner-hierarchy-operation-class.ts +96 -0
- package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { BatchCreatePartnerHierarchyNodesRequestDto } from '../models';
|
|
15
16
|
import { CreatePartnerHierarchyNodeRequestDto } from '../models';
|
|
16
17
|
import { CreatePartnerHierarchyNodeResponseClass } from '../models';
|
|
17
18
|
import { DeleteByCodeResponseClass } from '../models';
|
|
@@ -20,6 +21,7 @@ import { ListPartnerHierarchyNodeHistoryResponseClass } from '../models';
|
|
|
20
21
|
import { ListPartnerHierarchyNodesResponseClass } from '../models';
|
|
21
22
|
import { MovePartnerHierarchyNodeRequestDto } from '../models';
|
|
22
23
|
import { MovePartnerHierarchyNodeResponseClass } from '../models';
|
|
24
|
+
import { PartnerHierarchyAsyncOperationResponseClass } from '../models';
|
|
23
25
|
import { UnassignPartnerHierarchyNodeResponseClass } from '../models';
|
|
24
26
|
import { UpdatePartnerHierarchyNodeRequestDto } from '../models';
|
|
25
27
|
import { UpdatePartnerHierarchyNodeResponseClass } from '../models';
|
|
@@ -30,15 +32,16 @@ import { UpdatePartnerHierarchyNodeResponseClass } from '../models';
|
|
|
30
32
|
export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31
33
|
/**
|
|
32
34
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
33
|
-
* @summary
|
|
35
|
+
* @summary Batch create partner hierarchy nodes
|
|
36
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
34
37
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
35
38
|
* @param {*} [options] Override http request option.
|
|
36
39
|
* @throws {RequiredError}
|
|
37
40
|
*/
|
|
38
|
-
batchCreatePartnerHierarchyNodes: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
|
+
batchCreatePartnerHierarchyNodes: (batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
42
|
/**
|
|
40
43
|
* 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\"
|
|
41
|
-
* @summary Create
|
|
44
|
+
* @summary Create a partner hierarchy node
|
|
42
45
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
43
46
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
44
47
|
* @param {*} [options] Override http request option.
|
|
@@ -47,7 +50,7 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
47
50
|
createPartnerHierarchyNode: (createPartnerHierarchyNodeRequestDto: CreatePartnerHierarchyNodeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
51
|
/**
|
|
49
52
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
50
|
-
* @summary Delete
|
|
53
|
+
* @summary Delete a partner hierarchy node
|
|
51
54
|
* @param {string} code
|
|
52
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
56
|
* @param {*} [options] Override http request option.
|
|
@@ -56,7 +59,7 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
56
59
|
deletePartnerHierarchyNode: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
60
|
/**
|
|
58
61
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
59
|
-
* @summary
|
|
62
|
+
* @summary Get a partner hierarchy node
|
|
60
63
|
* @param {string} code
|
|
61
64
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
62
65
|
* @param {*} [options] Override http request option.
|
|
@@ -65,7 +68,7 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
65
68
|
getPartnerHierarchyNode: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
69
|
/**
|
|
67
70
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
68
|
-
* @summary List partner hierarchy node
|
|
71
|
+
* @summary List partner hierarchy node history
|
|
69
72
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
73
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
71
74
|
* @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.
|
|
@@ -95,7 +98,7 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
95
98
|
listPartnerHierarchyNodes: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
99
|
/**
|
|
97
100
|
* 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\"
|
|
98
|
-
* @summary
|
|
101
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
99
102
|
* @param {string} code
|
|
100
103
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
101
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -105,7 +108,7 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
105
108
|
movePartnerHierarchyNode: (code: string, movePartnerHierarchyNodeRequestDto: MovePartnerHierarchyNodeRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
106
109
|
/**
|
|
107
110
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
108
|
-
* @summary
|
|
111
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
109
112
|
* @param {string} code
|
|
110
113
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
111
114
|
* @param {*} [options] Override http request option.
|
|
@@ -114,7 +117,7 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
114
117
|
unassignPartnerHierarchyNode: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
115
118
|
/**
|
|
116
119
|
* 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\"
|
|
117
|
-
* @summary Update
|
|
120
|
+
* @summary Update a partner hierarchy node
|
|
118
121
|
* @param {string} code
|
|
119
122
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
120
123
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -130,15 +133,16 @@ export declare const PartnerHierarchyNodesApiAxiosParamCreator: (configuration?:
|
|
|
130
133
|
export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration) => {
|
|
131
134
|
/**
|
|
132
135
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
133
|
-
* @summary
|
|
136
|
+
* @summary Batch create partner hierarchy nodes
|
|
137
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
134
138
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
135
139
|
* @param {*} [options] Override http request option.
|
|
136
140
|
* @throws {RequiredError}
|
|
137
141
|
*/
|
|
138
|
-
batchCreatePartnerHierarchyNodes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
142
|
+
batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerHierarchyAsyncOperationResponseClass>>;
|
|
139
143
|
/**
|
|
140
144
|
* 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
|
|
145
|
+
* @summary Create a partner hierarchy node
|
|
142
146
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
143
147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
148
|
* @param {*} [options] Override http request option.
|
|
@@ -147,7 +151,7 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
147
151
|
createPartnerHierarchyNode(createPartnerHierarchyNodeRequestDto: CreatePartnerHierarchyNodeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerHierarchyNodeResponseClass>>;
|
|
148
152
|
/**
|
|
149
153
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
150
|
-
* @summary Delete
|
|
154
|
+
* @summary Delete a partner hierarchy node
|
|
151
155
|
* @param {string} code
|
|
152
156
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
157
|
* @param {*} [options] Override http request option.
|
|
@@ -156,7 +160,7 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
156
160
|
deletePartnerHierarchyNode(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
|
|
157
161
|
/**
|
|
158
162
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
159
|
-
* @summary
|
|
163
|
+
* @summary Get a partner hierarchy node
|
|
160
164
|
* @param {string} code
|
|
161
165
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
166
|
* @param {*} [options] Override http request option.
|
|
@@ -165,7 +169,7 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
165
169
|
getPartnerHierarchyNode(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerHierarchyNodeResponseClass>>;
|
|
166
170
|
/**
|
|
167
171
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
168
|
-
* @summary List partner hierarchy node
|
|
172
|
+
* @summary List partner hierarchy node history
|
|
169
173
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
170
174
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
171
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.
|
|
@@ -195,7 +199,7 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
195
199
|
listPartnerHierarchyNodes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerHierarchyNodesResponseClass>>;
|
|
196
200
|
/**
|
|
197
201
|
* 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\"
|
|
198
|
-
* @summary
|
|
202
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
199
203
|
* @param {string} code
|
|
200
204
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
201
205
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -205,7 +209,7 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
205
209
|
movePartnerHierarchyNode(code: string, movePartnerHierarchyNodeRequestDto: MovePartnerHierarchyNodeRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MovePartnerHierarchyNodeResponseClass>>;
|
|
206
210
|
/**
|
|
207
211
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
208
|
-
* @summary
|
|
212
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
209
213
|
* @param {string} code
|
|
210
214
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
211
215
|
* @param {*} [options] Override http request option.
|
|
@@ -214,7 +218,7 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
214
218
|
unassignPartnerHierarchyNode(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnassignPartnerHierarchyNodeResponseClass>>;
|
|
215
219
|
/**
|
|
216
220
|
* 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\"
|
|
217
|
-
* @summary Update
|
|
221
|
+
* @summary Update a partner hierarchy node
|
|
218
222
|
* @param {string} code
|
|
219
223
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
220
224
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -230,15 +234,16 @@ export declare const PartnerHierarchyNodesApiFp: (configuration?: Configuration)
|
|
|
230
234
|
export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
231
235
|
/**
|
|
232
236
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
233
|
-
* @summary
|
|
237
|
+
* @summary Batch create partner hierarchy nodes
|
|
238
|
+
* @param {BatchCreatePartnerHierarchyNodesRequestDto} batchCreatePartnerHierarchyNodesRequestDto
|
|
234
239
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
235
240
|
* @param {*} [options] Override http request option.
|
|
236
241
|
* @throws {RequiredError}
|
|
237
242
|
*/
|
|
238
|
-
batchCreatePartnerHierarchyNodes(authorization?: string, options?: any): AxiosPromise<
|
|
243
|
+
batchCreatePartnerHierarchyNodes(batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto, authorization?: string, options?: any): AxiosPromise<PartnerHierarchyAsyncOperationResponseClass>;
|
|
239
244
|
/**
|
|
240
245
|
* 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\"
|
|
241
|
-
* @summary Create
|
|
246
|
+
* @summary Create a partner hierarchy node
|
|
242
247
|
* @param {CreatePartnerHierarchyNodeRequestDto} createPartnerHierarchyNodeRequestDto
|
|
243
248
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
249
|
* @param {*} [options] Override http request option.
|
|
@@ -247,7 +252,7 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
247
252
|
createPartnerHierarchyNode(createPartnerHierarchyNodeRequestDto: CreatePartnerHierarchyNodeRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePartnerHierarchyNodeResponseClass>;
|
|
248
253
|
/**
|
|
249
254
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
250
|
-
* @summary Delete
|
|
255
|
+
* @summary Delete a partner hierarchy node
|
|
251
256
|
* @param {string} code
|
|
252
257
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
253
258
|
* @param {*} [options] Override http request option.
|
|
@@ -256,7 +261,7 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
256
261
|
deletePartnerHierarchyNode(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
|
|
257
262
|
/**
|
|
258
263
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
259
|
-
* @summary
|
|
264
|
+
* @summary Get a partner hierarchy node
|
|
260
265
|
* @param {string} code
|
|
261
266
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
262
267
|
* @param {*} [options] Override http request option.
|
|
@@ -265,7 +270,7 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
265
270
|
getPartnerHierarchyNode(code: string, authorization?: string, options?: any): AxiosPromise<GetPartnerHierarchyNodeResponseClass>;
|
|
266
271
|
/**
|
|
267
272
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
268
|
-
* @summary List partner hierarchy node
|
|
273
|
+
* @summary List partner hierarchy node history
|
|
269
274
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
275
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
271
276
|
* @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.
|
|
@@ -295,7 +300,7 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
295
300
|
listPartnerHierarchyNodes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerHierarchyNodesResponseClass>;
|
|
296
301
|
/**
|
|
297
302
|
* 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\"
|
|
298
|
-
* @summary
|
|
303
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
299
304
|
* @param {string} code
|
|
300
305
|
* @param {MovePartnerHierarchyNodeRequestDto} movePartnerHierarchyNodeRequestDto
|
|
301
306
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -305,7 +310,7 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
305
310
|
movePartnerHierarchyNode(code: string, movePartnerHierarchyNodeRequestDto: MovePartnerHierarchyNodeRequestDto, authorization?: string, options?: any): AxiosPromise<MovePartnerHierarchyNodeResponseClass>;
|
|
306
311
|
/**
|
|
307
312
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
308
|
-
* @summary
|
|
313
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
309
314
|
* @param {string} code
|
|
310
315
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
311
316
|
* @param {*} [options] Override http request option.
|
|
@@ -314,7 +319,7 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
314
319
|
unassignPartnerHierarchyNode(code: string, authorization?: string, options?: any): AxiosPromise<UnassignPartnerHierarchyNodeResponseClass>;
|
|
315
320
|
/**
|
|
316
321
|
* 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\"
|
|
317
|
-
* @summary Update
|
|
322
|
+
* @summary Update a partner hierarchy node
|
|
318
323
|
* @param {string} code
|
|
319
324
|
* @param {UpdatePartnerHierarchyNodeRequestDto} updatePartnerHierarchyNodeRequestDto
|
|
320
325
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -329,6 +334,12 @@ export declare const PartnerHierarchyNodesApiFactory: (configuration?: Configura
|
|
|
329
334
|
* @interface PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest
|
|
330
335
|
*/
|
|
331
336
|
export interface PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest {
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {BatchCreatePartnerHierarchyNodesRequestDto}
|
|
340
|
+
* @memberof PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodes
|
|
341
|
+
*/
|
|
342
|
+
readonly batchCreatePartnerHierarchyNodesRequestDto: BatchCreatePartnerHierarchyNodesRequestDto;
|
|
332
343
|
/**
|
|
333
344
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
334
345
|
* @type {string}
|
|
@@ -581,16 +592,16 @@ export interface PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest {
|
|
|
581
592
|
export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
582
593
|
/**
|
|
583
594
|
* Starts batch node creation from an uploaded file and returns the operation status. **Required Permissions** \"partner-management.partners.create\"
|
|
584
|
-
* @summary
|
|
595
|
+
* @summary Batch create partner hierarchy nodes
|
|
585
596
|
* @param {PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest} requestParameters Request parameters.
|
|
586
597
|
* @param {*} [options] Override http request option.
|
|
587
598
|
* @throws {RequiredError}
|
|
588
599
|
* @memberof PartnerHierarchyNodesApi
|
|
589
600
|
*/
|
|
590
|
-
batchCreatePartnerHierarchyNodes(requestParameters
|
|
601
|
+
batchCreatePartnerHierarchyNodes(requestParameters: PartnerHierarchyNodesApiBatchCreatePartnerHierarchyNodesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerHierarchyAsyncOperationResponseClass, any, {}>>;
|
|
591
602
|
/**
|
|
592
603
|
* 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\"
|
|
593
|
-
* @summary Create
|
|
604
|
+
* @summary Create a partner hierarchy node
|
|
594
605
|
* @param {PartnerHierarchyNodesApiCreatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
595
606
|
* @param {*} [options] Override http request option.
|
|
596
607
|
* @throws {RequiredError}
|
|
@@ -599,7 +610,7 @@ export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
599
610
|
createPartnerHierarchyNode(requestParameters: PartnerHierarchyNodesApiCreatePartnerHierarchyNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerHierarchyNodeResponseClass, any, {}>>;
|
|
600
611
|
/**
|
|
601
612
|
* Deletes a partner hierarchy node. The node must have no children before it can be deleted. **Required Permissions** \"partner-management.partners.delete\"
|
|
602
|
-
* @summary Delete
|
|
613
|
+
* @summary Delete a partner hierarchy node
|
|
603
614
|
* @param {PartnerHierarchyNodesApiDeletePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
604
615
|
* @param {*} [options] Override http request option.
|
|
605
616
|
* @throws {RequiredError}
|
|
@@ -608,7 +619,7 @@ export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
608
619
|
deletePartnerHierarchyNode(requestParameters: PartnerHierarchyNodesApiDeletePartnerHierarchyNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
|
|
609
620
|
/**
|
|
610
621
|
* Returns the details of one partner hierarchy node. Partner and parent node details can be included when needed. **Required Permissions** \"partner-management.partners.view\"
|
|
611
|
-
* @summary
|
|
622
|
+
* @summary Get a partner hierarchy node
|
|
612
623
|
* @param {PartnerHierarchyNodesApiGetPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
613
624
|
* @param {*} [options] Override http request option.
|
|
614
625
|
* @throws {RequiredError}
|
|
@@ -617,7 +628,7 @@ export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
617
628
|
getPartnerHierarchyNode(requestParameters: PartnerHierarchyNodesApiGetPartnerHierarchyNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerHierarchyNodeResponseClass, any, {}>>;
|
|
618
629
|
/**
|
|
619
630
|
* Returns a paginated list of previous versions of partner hierarchy nodes for history review. **Required Permissions** \"partner-management.partners.view\"
|
|
620
|
-
* @summary List partner hierarchy node
|
|
631
|
+
* @summary List partner hierarchy node history
|
|
621
632
|
* @param {PartnerHierarchyNodesApiListPartnerHierarchyNodeHistoryRequest} requestParameters Request parameters.
|
|
622
633
|
* @param {*} [options] Override http request option.
|
|
623
634
|
* @throws {RequiredError}
|
|
@@ -635,7 +646,7 @@ export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
635
646
|
listPartnerHierarchyNodes(requestParameters?: PartnerHierarchyNodesApiListPartnerHierarchyNodesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnerHierarchyNodesResponseClass, any, {}>>;
|
|
636
647
|
/**
|
|
637
648
|
* 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\"
|
|
638
|
-
* @summary
|
|
649
|
+
* @summary Move a partner hierarchy node to a new parent
|
|
639
650
|
* @param {PartnerHierarchyNodesApiMovePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
640
651
|
* @param {*} [options] Override http request option.
|
|
641
652
|
* @throws {RequiredError}
|
|
@@ -644,7 +655,7 @@ export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
644
655
|
movePartnerHierarchyNode(requestParameters: PartnerHierarchyNodesApiMovePartnerHierarchyNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MovePartnerHierarchyNodeResponseClass, any, {}>>;
|
|
645
656
|
/**
|
|
646
657
|
* Removes the partner assigned to a partner hierarchy node while keeping the node in the tree. **Required Permissions** \"partner-management.partners.update\"
|
|
647
|
-
* @summary
|
|
658
|
+
* @summary Unassign a partner from a partner hierarchy node
|
|
648
659
|
* @param {PartnerHierarchyNodesApiUnassignPartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
649
660
|
* @param {*} [options] Override http request option.
|
|
650
661
|
* @throws {RequiredError}
|
|
@@ -653,7 +664,7 @@ export declare class PartnerHierarchyNodesApi extends BaseAPI {
|
|
|
653
664
|
unassignPartnerHierarchyNode(requestParameters: PartnerHierarchyNodesApiUnassignPartnerHierarchyNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnassignPartnerHierarchyNodeResponseClass, any, {}>>;
|
|
654
665
|
/**
|
|
655
666
|
* 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\"
|
|
656
|
-
* @summary Update
|
|
667
|
+
* @summary Update a partner hierarchy node
|
|
657
668
|
* @param {PartnerHierarchyNodesApiUpdatePartnerHierarchyNodeRequest} requestParameters Request parameters.
|
|
658
669
|
* @param {*} [options] Override http request option.
|
|
659
670
|
* @throws {RequiredError}
|