@emilgroup/partner-sdk 1.24.1-beta.2 → 1.24.1-beta.4
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 +42 -1
- package/README.md +2 -2
- package/api/blacklist-api.ts +3 -3
- package/api/blacklist-reasons-api.ts +3 -3
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/partner-hierarchies-api.ts +1166 -0
- package/api/partner-hierarchy-nodes-api.ts +1197 -0
- package/api/partner-hierarchy-operations-api.ts +363 -0
- package/api/partner-hierarchy-types-api.ts +679 -0
- package/api/partners-api.ts +211 -12
- package/api.ts +10 -2
- package/dist/api/blacklist-api.d.ts +4 -4
- package/dist/api/blacklist-reasons-api.d.ts +4 -4
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api/partner-hierarchies-api.d.ts +655 -0
- package/dist/api/partner-hierarchies-api.js +1037 -0
- package/dist/api/partner-hierarchy-nodes-api.d.ts +674 -0
- package/dist/api/partner-hierarchy-nodes-api.js +1049 -0
- package/dist/api/partner-hierarchy-operations-api.d.ts +215 -0
- package/dist/api/partner-hierarchy-operations-api.js +358 -0
- package/dist/api/partner-hierarchy-types-api.d.ts +385 -0
- package/dist/api/partner-hierarchy-types-api.js +636 -0
- package/dist/api/partners-api.d.ts +130 -12
- package/dist/api/partners-api.js +143 -9
- package/dist/api.d.ts +5 -1
- package/dist/api.js +5 -1
- 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/create-partner-hierarchy-node-request-dto.d.ts +42 -0
- package/dist/models/create-partner-hierarchy-node-request-dto.js +15 -0
- package/dist/models/create-partner-hierarchy-node-response-class.d.ts +25 -0
- package/dist/models/create-partner-hierarchy-node-response-class.js +15 -0
- package/dist/models/create-partner-hierarchy-request-dto.d.ts +30 -0
- package/dist/models/create-partner-hierarchy-request-dto.js +15 -0
- package/dist/models/create-partner-hierarchy-response-class.d.ts +25 -0
- package/dist/models/create-partner-hierarchy-response-class.js +15 -0
- package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +30 -0
- package/dist/models/create-partner-hierarchy-type-request-dto.js +15 -0
- package/dist/models/create-partner-hierarchy-type-response-class.d.ts +25 -0
- package/dist/models/create-partner-hierarchy-type-response-class.js +15 -0
- package/dist/models/create-partner-request-dto.d.ts +4 -2
- package/dist/models/delete-by-code-response-class.d.ts +24 -0
- package/dist/models/delete-by-code-response-class.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-node-response-class.d.ts +25 -0
- package/dist/models/get-partner-hierarchy-node-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-operation-response-class.d.ts +25 -0
- package/dist/models/get-partner-hierarchy-operation-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-response-class.d.ts +25 -0
- package/dist/models/get-partner-hierarchy-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +60 -0
- package/dist/models/get-partner-hierarchy-tree-file-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-tree-response-class.d.ts +25 -0
- package/dist/models/get-partner-hierarchy-tree-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-type-response-class.d.ts +25 -0
- package/dist/models/get-partner-hierarchy-type-response-class.js +15 -0
- package/dist/models/index.d.ts +37 -0
- package/dist/models/index.js +37 -0
- package/dist/models/list-blacklist-items-response-class.d.ts +12 -0
- package/dist/models/list-partner-hierarchies-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchies-response-class.js +15 -0
- package/dist/models/list-partner-hierarchy-node-history-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-node-history-response-class.js +15 -0
- package/dist/models/list-partner-hierarchy-nodes-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-nodes-response-class.js +15 -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/list-partner-hierarchy-types-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-types-response-class.js +15 -0
- package/dist/models/list-partner-relation-class.d.ts +18 -6
- package/dist/models/list-partner-relation-types-class.d.ts +18 -6
- package/dist/models/list-partner-types-response-class.d.ts +18 -6
- package/dist/models/list-partner-versions-response-class.d.ts +18 -6
- package/dist/models/list-partners-response-class.d.ts +12 -0
- package/dist/models/list-related-partners-response-class.d.ts +18 -6
- package/dist/models/list-tags-response-class.d.ts +18 -6
- package/dist/models/merge-partners-request-dto.d.ts +4 -2
- package/dist/models/move-partner-hierarchy-node-request-dto.d.ts +30 -0
- package/dist/models/move-partner-hierarchy-node-request-dto.js +15 -0
- package/dist/models/move-partner-hierarchy-node-response-class.d.ts +25 -0
- package/dist/models/move-partner-hierarchy-node-response-class.js +15 -0
- package/dist/models/partner-class.d.ts +6 -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 +72 -0
- package/dist/models/partner-hierarchy-class.js +15 -0
- package/dist/models/partner-hierarchy-node-class.d.ts +109 -0
- package/dist/models/partner-hierarchy-node-class.js +15 -0
- package/dist/models/partner-hierarchy-node-history-class.d.ts +97 -0
- package/dist/models/partner-hierarchy-node-history-class.js +15 -0
- package/dist/models/partner-hierarchy-node-tree-class.d.ts +96 -0
- package/dist/models/partner-hierarchy-node-tree-class.js +15 -0
- package/dist/models/partner-hierarchy-operation-class.d.ts +110 -0
- package/dist/models/partner-hierarchy-operation-class.js +27 -0
- package/dist/models/partner-hierarchy-type-class.d.ts +66 -0
- package/dist/models/partner-hierarchy-type-class.js +15 -0
- package/dist/models/unassign-partner-hierarchy-node-response-class.d.ts +25 -0
- package/dist/models/unassign-partner-hierarchy-node-response-class.js +15 -0
- package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
- package/dist/models/update-partner-hierarchy-node-request-dto.d.ts +30 -0
- package/dist/models/update-partner-hierarchy-node-request-dto.js +15 -0
- package/dist/models/update-partner-hierarchy-node-response-class.d.ts +25 -0
- package/dist/models/update-partner-hierarchy-node-response-class.js +15 -0
- package/dist/models/update-partner-hierarchy-request-dto.d.ts +24 -0
- package/dist/models/update-partner-hierarchy-request-dto.js +15 -0
- package/dist/models/update-partner-hierarchy-response-class.d.ts +25 -0
- package/dist/models/update-partner-hierarchy-response-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/dist/models/update-partner-hierarchy-type-request-dto.d.ts +30 -0
- package/dist/models/update-partner-hierarchy-type-request-dto.js +15 -0
- package/dist/models/update-partner-hierarchy-type-response-class.d.ts +25 -0
- package/dist/models/update-partner-hierarchy-type-response-class.js +15 -0
- package/dist/models/update-partner-request-dto.d.ts +4 -2
- package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +36 -0
- package/models/create-partner-hierarchy-node-request-dto.ts +48 -0
- package/models/create-partner-hierarchy-node-response-class.ts +31 -0
- package/models/create-partner-hierarchy-request-dto.ts +36 -0
- package/models/create-partner-hierarchy-response-class.ts +31 -0
- package/models/create-partner-hierarchy-type-request-dto.ts +36 -0
- package/models/create-partner-hierarchy-type-response-class.ts +31 -0
- package/models/create-partner-request-dto.ts +2 -2
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/generate-upload-url-response-class.ts +42 -0
- package/models/get-partner-hierarchy-node-response-class.ts +31 -0
- package/models/get-partner-hierarchy-operation-response-class.ts +31 -0
- package/models/get-partner-hierarchy-response-class.ts +31 -0
- package/models/get-partner-hierarchy-tree-file-response-class.ts +66 -0
- package/models/get-partner-hierarchy-tree-response-class.ts +31 -0
- package/models/get-partner-hierarchy-type-response-class.ts +31 -0
- package/models/index.ts +37 -0
- package/models/list-blacklist-items-response-class.ts +12 -0
- package/models/list-partner-hierarchies-response-class.ts +49 -0
- package/models/list-partner-hierarchy-node-history-response-class.ts +49 -0
- package/models/list-partner-hierarchy-nodes-response-class.ts +49 -0
- package/models/list-partner-hierarchy-operations-response-class.ts +49 -0
- package/models/list-partner-hierarchy-types-response-class.ts +49 -0
- package/models/list-partner-relation-class.ts +18 -6
- package/models/list-partner-relation-types-class.ts +18 -6
- package/models/list-partner-types-response-class.ts +18 -6
- package/models/list-partner-versions-response-class.ts +18 -6
- package/models/list-partners-response-class.ts +12 -0
- package/models/list-related-partners-response-class.ts +18 -6
- package/models/list-tags-response-class.ts +18 -6
- package/models/merge-partners-request-dto.ts +2 -2
- package/models/move-partner-hierarchy-node-request-dto.ts +36 -0
- package/models/move-partner-hierarchy-node-response-class.ts +31 -0
- package/models/partner-class.ts +6 -0
- package/models/partner-hierarchy-async-operation-response-class.ts +36 -0
- package/models/partner-hierarchy-class.ts +78 -0
- package/models/partner-hierarchy-node-class.ts +115 -0
- package/models/partner-hierarchy-node-history-class.ts +103 -0
- package/models/partner-hierarchy-node-tree-class.ts +102 -0
- package/models/partner-hierarchy-operation-class.ts +120 -0
- package/models/partner-hierarchy-type-class.ts +72 -0
- package/models/unassign-partner-hierarchy-node-response-class.ts +31 -0
- package/models/update-blacklist-reason-status-request-dto.ts +1 -1
- package/models/update-partner-hierarchy-node-request-dto.ts +36 -0
- package/models/update-partner-hierarchy-node-response-class.ts +31 -0
- package/models/update-partner-hierarchy-request-dto.ts +30 -0
- package/models/update-partner-hierarchy-response-class.ts +31 -0
- package/models/update-partner-hierarchy-tree-request-body-dto.ts +30 -0
- package/models/update-partner-hierarchy-type-request-dto.ts +36 -0
- package/models/update-partner-hierarchy-type-response-class.ts +31 -0
- package/models/update-partner-request-dto.ts +2 -2
- package/package.json +1 -1
|
@@ -85,11 +85,11 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
85
85
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
86
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
87
87
|
* @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.
|
|
88
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
88
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
89
89
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
90
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
90
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
91
91
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
92
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
92
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
94
|
* @throws {RequiredError}
|
|
95
95
|
*/
|
|
@@ -110,6 +110,22 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
*/
|
|
112
112
|
listRelationsForPartner: (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
115
|
+
* @summary List sub-partners
|
|
116
|
+
* @param {string} code Unique identifier for the object.
|
|
117
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
118
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
119
|
+
* @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.
|
|
120
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
121
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
122
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
123
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
124
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
listSubPartners: (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
129
|
/**
|
|
114
130
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
115
131
|
* @summary Update the partner
|
|
@@ -207,11 +223,11 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
207
223
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
208
224
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
209
225
|
* @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.
|
|
210
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
226
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
211
227
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
212
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
228
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
213
229
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
214
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
230
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
215
231
|
* @param {*} [options] Override http request option.
|
|
216
232
|
* @throws {RequiredError}
|
|
217
233
|
*/
|
|
@@ -232,6 +248,22 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
|
|
|
232
248
|
* @throws {RequiredError}
|
|
233
249
|
*/
|
|
234
250
|
listRelationsForPartner(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRelatedPartnersResponseClass>>;
|
|
251
|
+
/**
|
|
252
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
253
|
+
* @summary List sub-partners
|
|
254
|
+
* @param {string} code Unique identifier for the object.
|
|
255
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
256
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
257
|
+
* @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.
|
|
258
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
259
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
260
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
261
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
262
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
listSubPartners(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnersResponseClass>>;
|
|
235
267
|
/**
|
|
236
268
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
237
269
|
* @summary Update the partner
|
|
@@ -329,11 +361,11 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
329
361
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
330
362
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
331
363
|
* @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.
|
|
332
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
364
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
333
365
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
334
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
366
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
335
367
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
336
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
368
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
337
369
|
* @param {*} [options] Override http request option.
|
|
338
370
|
* @throws {RequiredError}
|
|
339
371
|
*/
|
|
@@ -354,6 +386,22 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
|
|
|
354
386
|
* @throws {RequiredError}
|
|
355
387
|
*/
|
|
356
388
|
listRelationsForPartner(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRelatedPartnersResponseClass>;
|
|
389
|
+
/**
|
|
390
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
391
|
+
* @summary List sub-partners
|
|
392
|
+
* @param {string} code Unique identifier for the object.
|
|
393
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
395
|
+
* @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.
|
|
396
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
397
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
398
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
399
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
400
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
listSubPartners(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnersResponseClass>;
|
|
357
405
|
/**
|
|
358
406
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
359
407
|
* @summary Update the partner
|
|
@@ -520,7 +568,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
520
568
|
*/
|
|
521
569
|
readonly pageToken?: string;
|
|
522
570
|
/**
|
|
523
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
571
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
524
572
|
* @type {string}
|
|
525
573
|
* @memberof PartnersApiListPartners
|
|
526
574
|
*/
|
|
@@ -532,7 +580,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
532
580
|
*/
|
|
533
581
|
readonly search?: string;
|
|
534
582
|
/**
|
|
535
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
583
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
536
584
|
* @type {string}
|
|
537
585
|
* @memberof PartnersApiListPartners
|
|
538
586
|
*/
|
|
@@ -544,7 +592,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
544
592
|
*/
|
|
545
593
|
readonly expand?: string;
|
|
546
594
|
/**
|
|
547
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
595
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
548
596
|
* @type {string}
|
|
549
597
|
* @memberof PartnersApiListPartners
|
|
550
598
|
*/
|
|
@@ -611,6 +659,67 @@ export interface PartnersApiListRelationsForPartnerRequest {
|
|
|
611
659
|
*/
|
|
612
660
|
readonly filters?: string;
|
|
613
661
|
}
|
|
662
|
+
/**
|
|
663
|
+
* Request parameters for listSubPartners operation in PartnersApi.
|
|
664
|
+
* @export
|
|
665
|
+
* @interface PartnersApiListSubPartnersRequest
|
|
666
|
+
*/
|
|
667
|
+
export interface PartnersApiListSubPartnersRequest {
|
|
668
|
+
/**
|
|
669
|
+
* Unique identifier for the object.
|
|
670
|
+
* @type {string}
|
|
671
|
+
* @memberof PartnersApiListSubPartners
|
|
672
|
+
*/
|
|
673
|
+
readonly code: string;
|
|
674
|
+
/**
|
|
675
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
676
|
+
* @type {string}
|
|
677
|
+
* @memberof PartnersApiListSubPartners
|
|
678
|
+
*/
|
|
679
|
+
readonly authorization?: string;
|
|
680
|
+
/**
|
|
681
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
682
|
+
* @type {number}
|
|
683
|
+
* @memberof PartnersApiListSubPartners
|
|
684
|
+
*/
|
|
685
|
+
readonly pageSize?: number;
|
|
686
|
+
/**
|
|
687
|
+
* 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.
|
|
688
|
+
* @type {string}
|
|
689
|
+
* @memberof PartnersApiListSubPartners
|
|
690
|
+
*/
|
|
691
|
+
readonly pageToken?: string;
|
|
692
|
+
/**
|
|
693
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
694
|
+
* @type {string}
|
|
695
|
+
* @memberof PartnersApiListSubPartners
|
|
696
|
+
*/
|
|
697
|
+
readonly filter?: string;
|
|
698
|
+
/**
|
|
699
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
700
|
+
* @type {string}
|
|
701
|
+
* @memberof PartnersApiListSubPartners
|
|
702
|
+
*/
|
|
703
|
+
readonly search?: string;
|
|
704
|
+
/**
|
|
705
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
706
|
+
* @type {string}
|
|
707
|
+
* @memberof PartnersApiListSubPartners
|
|
708
|
+
*/
|
|
709
|
+
readonly order?: string;
|
|
710
|
+
/**
|
|
711
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
712
|
+
* @type {string}
|
|
713
|
+
* @memberof PartnersApiListSubPartners
|
|
714
|
+
*/
|
|
715
|
+
readonly expand?: string;
|
|
716
|
+
/**
|
|
717
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
718
|
+
* @type {string}
|
|
719
|
+
* @memberof PartnersApiListSubPartners
|
|
720
|
+
*/
|
|
721
|
+
readonly filters?: string;
|
|
722
|
+
}
|
|
614
723
|
/**
|
|
615
724
|
* Request parameters for mergePartners operation in PartnersApi.
|
|
616
725
|
* @export
|
|
@@ -775,6 +884,15 @@ export declare class PartnersApi extends BaseAPI {
|
|
|
775
884
|
* @memberof PartnersApi
|
|
776
885
|
*/
|
|
777
886
|
listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any, {}>>;
|
|
887
|
+
/**
|
|
888
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
889
|
+
* @summary List sub-partners
|
|
890
|
+
* @param {PartnersApiListSubPartnersRequest} requestParameters Request parameters.
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof PartnersApi
|
|
894
|
+
*/
|
|
895
|
+
listSubPartners(requestParameters: PartnersApiListSubPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any, {}>>;
|
|
778
896
|
/**
|
|
779
897
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
780
898
|
* @summary Update the partner
|
package/dist/api/partners-api.js
CHANGED
|
@@ -344,11 +344,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
344
344
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
345
345
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
346
346
|
* @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.
|
|
347
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
347
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
348
348
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
349
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
349
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
350
350
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
351
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
351
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
352
352
|
* @param {*} [options] Override http request option.
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
*/
|
|
@@ -486,6 +486,82 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
486
486
|
});
|
|
487
487
|
});
|
|
488
488
|
},
|
|
489
|
+
/**
|
|
490
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
491
|
+
* @summary List sub-partners
|
|
492
|
+
* @param {string} code Unique identifier for the object.
|
|
493
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
494
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
495
|
+
* @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.
|
|
496
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
497
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
498
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
499
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
500
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
listSubPartners: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
505
|
+
if (options === void 0) { options = {}; }
|
|
506
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
507
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
508
|
+
return __generator(this, function (_a) {
|
|
509
|
+
switch (_a.label) {
|
|
510
|
+
case 0:
|
|
511
|
+
// verify required parameter 'code' is not null or undefined
|
|
512
|
+
(0, common_1.assertParamExists)('listSubPartners', 'code', code);
|
|
513
|
+
localVarPath = "/partnerservice/v1/partners/{code}/sub-partners"
|
|
514
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
515
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
516
|
+
if (configuration) {
|
|
517
|
+
baseOptions = configuration.baseOptions;
|
|
518
|
+
baseAccessToken = configuration.accessToken;
|
|
519
|
+
}
|
|
520
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
521
|
+
localVarHeaderParameter = {};
|
|
522
|
+
localVarQueryParameter = {};
|
|
523
|
+
// authentication bearer required
|
|
524
|
+
// http bearer authentication required
|
|
525
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
526
|
+
case 1:
|
|
527
|
+
// authentication bearer required
|
|
528
|
+
// http bearer authentication required
|
|
529
|
+
_a.sent();
|
|
530
|
+
if (pageSize !== undefined) {
|
|
531
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
532
|
+
}
|
|
533
|
+
if (pageToken !== undefined) {
|
|
534
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
535
|
+
}
|
|
536
|
+
if (filter !== undefined) {
|
|
537
|
+
localVarQueryParameter['filter'] = filter;
|
|
538
|
+
}
|
|
539
|
+
if (search !== undefined) {
|
|
540
|
+
localVarQueryParameter['search'] = search;
|
|
541
|
+
}
|
|
542
|
+
if (order !== undefined) {
|
|
543
|
+
localVarQueryParameter['order'] = order;
|
|
544
|
+
}
|
|
545
|
+
if (expand !== undefined) {
|
|
546
|
+
localVarQueryParameter['expand'] = expand;
|
|
547
|
+
}
|
|
548
|
+
if (filters !== undefined) {
|
|
549
|
+
localVarQueryParameter['filters'] = filters;
|
|
550
|
+
}
|
|
551
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
552
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
553
|
+
}
|
|
554
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
555
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
556
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
557
|
+
return [2 /*return*/, {
|
|
558
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
559
|
+
options: localVarRequestOptions,
|
|
560
|
+
}];
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
});
|
|
564
|
+
},
|
|
489
565
|
/**
|
|
490
566
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
491
567
|
* @summary Update the partner
|
|
@@ -816,11 +892,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
816
892
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
817
893
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
818
894
|
* @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.
|
|
819
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
895
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
820
896
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
821
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
897
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
822
898
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
823
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
899
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
824
900
|
* @param {*} [options] Override http request option.
|
|
825
901
|
* @throws {RequiredError}
|
|
826
902
|
*/
|
|
@@ -865,6 +941,34 @@ var PartnersApiFp = function (configuration) {
|
|
|
865
941
|
});
|
|
866
942
|
});
|
|
867
943
|
},
|
|
944
|
+
/**
|
|
945
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
946
|
+
* @summary List sub-partners
|
|
947
|
+
* @param {string} code Unique identifier for the object.
|
|
948
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
949
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
950
|
+
* @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.
|
|
951
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
952
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
953
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
954
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
955
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
956
|
+
* @param {*} [options] Override http request option.
|
|
957
|
+
* @throws {RequiredError}
|
|
958
|
+
*/
|
|
959
|
+
listSubPartners: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
960
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
961
|
+
var localVarAxiosArgs;
|
|
962
|
+
return __generator(this, function (_a) {
|
|
963
|
+
switch (_a.label) {
|
|
964
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSubPartners(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
965
|
+
case 1:
|
|
966
|
+
localVarAxiosArgs = _a.sent();
|
|
967
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
968
|
+
}
|
|
969
|
+
});
|
|
970
|
+
});
|
|
971
|
+
},
|
|
868
972
|
/**
|
|
869
973
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
870
974
|
* @summary Update the partner
|
|
@@ -1024,11 +1128,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1024
1128
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1025
1129
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1026
1130
|
* @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.
|
|
1027
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1131
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
1028
1132
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1029
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
1133
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
1030
1134
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
1031
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1135
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
1032
1136
|
* @param {*} [options] Override http request option.
|
|
1033
1137
|
* @throws {RequiredError}
|
|
1034
1138
|
*/
|
|
@@ -1053,6 +1157,24 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1053
1157
|
listRelationsForPartner: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1054
1158
|
return localVarFp.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1055
1159
|
},
|
|
1160
|
+
/**
|
|
1161
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
1162
|
+
* @summary List sub-partners
|
|
1163
|
+
* @param {string} code Unique identifier for the object.
|
|
1164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1165
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1166
|
+
* @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.
|
|
1167
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
1168
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1169
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels, subPartnersCount</i>
|
|
1170
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
1171
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode, subPartnersCount</i>
|
|
1172
|
+
* @param {*} [options] Override http request option.
|
|
1173
|
+
* @throws {RequiredError}
|
|
1174
|
+
*/
|
|
1175
|
+
listSubPartners: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1176
|
+
return localVarFp.listSubPartners(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1177
|
+
},
|
|
1056
1178
|
/**
|
|
1057
1179
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
1058
1180
|
* @summary Update the partner
|
|
@@ -1199,6 +1321,18 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
1199
1321
|
var _this = this;
|
|
1200
1322
|
return (0, exports.PartnersApiFp)(this.configuration).listRelationsForPartner(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1201
1323
|
};
|
|
1324
|
+
/**
|
|
1325
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
1326
|
+
* @summary List sub-partners
|
|
1327
|
+
* @param {PartnersApiListSubPartnersRequest} requestParameters Request parameters.
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
* @memberof PartnersApi
|
|
1331
|
+
*/
|
|
1332
|
+
PartnersApi.prototype.listSubPartners = function (requestParameters, options) {
|
|
1333
|
+
var _this = this;
|
|
1334
|
+
return (0, exports.PartnersApiFp)(this.configuration).listSubPartners(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1335
|
+
};
|
|
1202
1336
|
/**
|
|
1203
1337
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\", \"partner-management.partners.delete\"
|
|
1204
1338
|
* @summary Update the partner
|
package/dist/api.d.ts
CHANGED
|
@@ -11,7 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/blacklist-api';
|
|
13
13
|
export * from './api/blacklist-reasons-api';
|
|
14
|
-
export * from './api/
|
|
14
|
+
export * from './api/health-api';
|
|
15
|
+
export * from './api/partner-hierarchies-api';
|
|
16
|
+
export * from './api/partner-hierarchy-nodes-api';
|
|
17
|
+
export * from './api/partner-hierarchy-operations-api';
|
|
18
|
+
export * from './api/partner-hierarchy-types-api';
|
|
15
19
|
export * from './api/partner-invitations-api';
|
|
16
20
|
export * from './api/partner-relations-api';
|
|
17
21
|
export * from './api/partner-tags-api';
|
package/dist/api.js
CHANGED
|
@@ -29,7 +29,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/blacklist-api"), exports);
|
|
31
31
|
__exportStar(require("./api/blacklist-reasons-api"), exports);
|
|
32
|
-
__exportStar(require("./api/
|
|
32
|
+
__exportStar(require("./api/health-api"), exports);
|
|
33
|
+
__exportStar(require("./api/partner-hierarchies-api"), exports);
|
|
34
|
+
__exportStar(require("./api/partner-hierarchy-nodes-api"), exports);
|
|
35
|
+
__exportStar(require("./api/partner-hierarchy-operations-api"), exports);
|
|
36
|
+
__exportStar(require("./api/partner-hierarchy-types-api"), exports);
|
|
33
37
|
__exportStar(require("./api/partner-invitations-api"), exports);
|
|
34
38
|
__exportStar(require("./api/partner-relations-api"), exports);
|
|
35
39
|
__exportStar(require("./api/partner-tags-api"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BatchCreatePartnerHierarchyNodesRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchCreatePartnerHierarchyNodesRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the hierarchy that will receive the uploaded nodes.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BatchCreatePartnerHierarchyNodesRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerHierarchyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* S3 object key returned by the upload URL endpoint after the batch node file is uploaded.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BatchCreatePartnerHierarchyNodesRequestDto
|
|
28
|
+
*/
|
|
29
|
+
's3Key': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL PartnerService
|
|
3
|
+
* The EMIL PartnerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreatePartnerHierarchyNodeRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePartnerHierarchyNodeRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the hierarchy this node belongs to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePartnerHierarchyNodeRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerHierarchyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Partner code to assign to the new node. Omit to create a vacant hierarchy position.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePartnerHierarchyNodeRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Role code for this hierarchy position. It must be allowed by the hierarchy type at the resolved depth.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreatePartnerHierarchyNodeRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'roleCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Parent node code. Omit when creating the hierarchy root node.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePartnerHierarchyNodeRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'parentNodeCode'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL PartnerService
|
|
6
|
+
* The EMIL PartnerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|