@emilgroup/partner-sdk-node 1.22.1-beta.9 → 1.23.1-beta.0
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 +41 -0
- package/README.md +2 -2
- package/api/blacklist-api.ts +3 -3
- package/api/blacklist-reasons-api.ts +3 -3
- package/api/partner-hierarchies-api.ts +1371 -0
- package/api/partner-hierarchy-nodes-api.ts +1201 -0
- package/api/partner-hierarchy-types-api.ts +683 -0
- package/api/partners-api.ts +318 -12
- package/api.ts +6 -0
- package/base.ts +1 -0
- package/dist/api/blacklist-api.d.ts +4 -4
- package/dist/api/blacklist-reasons-api.d.ts +4 -4
- package/dist/api/partner-hierarchies-api.d.ts +774 -0
- package/dist/api/partner-hierarchies-api.js +1175 -0
- package/dist/api/partner-hierarchy-nodes-api.d.ts +674 -0
- package/dist/api/partner-hierarchy-nodes-api.js +1053 -0
- package/dist/api/partner-hierarchy-types-api.d.ts +385 -0
- package/dist/api/partner-hierarchy-types-api.js +640 -0
- package/dist/api/partners-api.d.ts +187 -12
- package/dist/api/partners-api.js +236 -9
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- 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/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-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 +42 -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 +38 -0
- package/dist/models/index.js +38 -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-partners-response-class.d.ts +9 -9
- 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 +78 -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 +90 -0
- package/dist/models/partner-hierarchy-operation-class.js +15 -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-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/validate-partner-request-dto.d.ts +30 -0
- package/dist/models/validate-partner-request-dto.js +15 -0
- package/dist/models/validate-partner-response-class.d.ts +30 -0
- package/dist/models/validate-partner-response-class.js +15 -0
- 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/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-response-class.ts +31 -0
- package/models/get-partner-hierarchy-tree-file-response-class.ts +48 -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 +38 -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-partners-response-class.ts +9 -9
- 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 +84 -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 +96 -0
- package/models/partner-hierarchy-type-class.ts +72 -0
- package/models/unassign-partner-hierarchy-node-response-class.ts +31 -0
- 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/validate-partner-request-dto.ts +36 -0
- package/models/validate-partner-response-class.ts +36 -0
- package/package.json +1 -1
package/dist/api/partners-api.js
CHANGED
|
@@ -348,11 +348,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
348
348
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
349
349
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
350
350
|
* @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.
|
|
351
|
-
* @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>
|
|
351
|
+
* @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>
|
|
352
352
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
353
|
-
* @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>
|
|
353
|
+
* @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>
|
|
354
354
|
* @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>
|
|
355
|
-
* @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>
|
|
355
|
+
* @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>
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
*/
|
|
@@ -490,6 +490,82 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
490
490
|
});
|
|
491
491
|
});
|
|
492
492
|
},
|
|
493
|
+
/**
|
|
494
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
495
|
+
* @summary List sub-partners
|
|
496
|
+
* @param {string} code Unique identifier for the object.
|
|
497
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
498
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
499
|
+
* @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.
|
|
500
|
+
* @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>
|
|
501
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
502
|
+
* @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>
|
|
503
|
+
* @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>
|
|
504
|
+
* @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>
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
listSubPartners: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
509
|
+
if (options === void 0) { options = {}; }
|
|
510
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
511
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
512
|
+
return __generator(this, function (_a) {
|
|
513
|
+
switch (_a.label) {
|
|
514
|
+
case 0:
|
|
515
|
+
// verify required parameter 'code' is not null or undefined
|
|
516
|
+
(0, common_1.assertParamExists)('listSubPartners', 'code', code);
|
|
517
|
+
localVarPath = "/partnerservice/v1/partners/{code}/sub-partners"
|
|
518
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
519
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
520
|
+
if (configuration) {
|
|
521
|
+
baseOptions = configuration.baseOptions;
|
|
522
|
+
baseAccessToken = configuration.accessToken;
|
|
523
|
+
}
|
|
524
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
525
|
+
localVarHeaderParameter = {};
|
|
526
|
+
localVarQueryParameter = {};
|
|
527
|
+
// authentication bearer required
|
|
528
|
+
// http bearer authentication required
|
|
529
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
530
|
+
case 1:
|
|
531
|
+
// authentication bearer required
|
|
532
|
+
// http bearer authentication required
|
|
533
|
+
_a.sent();
|
|
534
|
+
if (pageSize !== undefined) {
|
|
535
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
536
|
+
}
|
|
537
|
+
if (pageToken !== undefined) {
|
|
538
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
539
|
+
}
|
|
540
|
+
if (filter !== undefined) {
|
|
541
|
+
localVarQueryParameter['filter'] = filter;
|
|
542
|
+
}
|
|
543
|
+
if (search !== undefined) {
|
|
544
|
+
localVarQueryParameter['search'] = search;
|
|
545
|
+
}
|
|
546
|
+
if (order !== undefined) {
|
|
547
|
+
localVarQueryParameter['order'] = order;
|
|
548
|
+
}
|
|
549
|
+
if (expand !== undefined) {
|
|
550
|
+
localVarQueryParameter['expand'] = expand;
|
|
551
|
+
}
|
|
552
|
+
if (filters !== undefined) {
|
|
553
|
+
localVarQueryParameter['filters'] = filters;
|
|
554
|
+
}
|
|
555
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
556
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
557
|
+
}
|
|
558
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
559
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
560
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
561
|
+
return [2 /*return*/, {
|
|
562
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
563
|
+
options: localVarRequestOptions,
|
|
564
|
+
}];
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
},
|
|
493
569
|
/**
|
|
494
570
|
* 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\"
|
|
495
571
|
* @summary Update the partner
|
|
@@ -649,6 +725,55 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
649
725
|
});
|
|
650
726
|
});
|
|
651
727
|
},
|
|
728
|
+
/**
|
|
729
|
+
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
730
|
+
* @summary Validate a partner
|
|
731
|
+
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
732
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @throws {RequiredError}
|
|
735
|
+
*/
|
|
736
|
+
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
737
|
+
if (options === void 0) { options = {}; }
|
|
738
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
739
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
740
|
+
return __generator(this, function (_a) {
|
|
741
|
+
switch (_a.label) {
|
|
742
|
+
case 0:
|
|
743
|
+
// verify required parameter 'validatePartnerRequestDto' is not null or undefined
|
|
744
|
+
(0, common_1.assertParamExists)('validatePartner', 'validatePartnerRequestDto', validatePartnerRequestDto);
|
|
745
|
+
localVarPath = "/partnerservice/v1/partners/validate";
|
|
746
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
747
|
+
if (configuration) {
|
|
748
|
+
baseOptions = configuration.baseOptions;
|
|
749
|
+
baseAccessToken = configuration.accessToken;
|
|
750
|
+
}
|
|
751
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
752
|
+
localVarHeaderParameter = {};
|
|
753
|
+
localVarQueryParameter = {};
|
|
754
|
+
// authentication bearer required
|
|
755
|
+
// http bearer authentication required
|
|
756
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
757
|
+
case 1:
|
|
758
|
+
// authentication bearer required
|
|
759
|
+
// http bearer authentication required
|
|
760
|
+
_a.sent();
|
|
761
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
762
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
763
|
+
}
|
|
764
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
765
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
766
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
767
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
768
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(validatePartnerRequestDto, localVarRequestOptions, configuration);
|
|
769
|
+
return [2 /*return*/, {
|
|
770
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
771
|
+
options: localVarRequestOptions,
|
|
772
|
+
}];
|
|
773
|
+
}
|
|
774
|
+
});
|
|
775
|
+
});
|
|
776
|
+
},
|
|
652
777
|
};
|
|
653
778
|
};
|
|
654
779
|
exports.PartnersApiAxiosParamCreator = PartnersApiAxiosParamCreator;
|
|
@@ -771,11 +896,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
771
896
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
897
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
773
898
|
* @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.
|
|
774
|
-
* @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>
|
|
899
|
+
* @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>
|
|
775
900
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
776
|
-
* @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>
|
|
901
|
+
* @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>
|
|
777
902
|
* @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>
|
|
778
|
-
* @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>
|
|
903
|
+
* @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>
|
|
779
904
|
* @param {*} [options] Override http request option.
|
|
780
905
|
* @throws {RequiredError}
|
|
781
906
|
*/
|
|
@@ -820,6 +945,34 @@ var PartnersApiFp = function (configuration) {
|
|
|
820
945
|
});
|
|
821
946
|
});
|
|
822
947
|
},
|
|
948
|
+
/**
|
|
949
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
950
|
+
* @summary List sub-partners
|
|
951
|
+
* @param {string} code Unique identifier for the object.
|
|
952
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
953
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
954
|
+
* @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.
|
|
955
|
+
* @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>
|
|
956
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
957
|
+
* @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>
|
|
958
|
+
* @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>
|
|
959
|
+
* @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>
|
|
960
|
+
* @param {*} [options] Override http request option.
|
|
961
|
+
* @throws {RequiredError}
|
|
962
|
+
*/
|
|
963
|
+
listSubPartners: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
964
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
965
|
+
var localVarAxiosArgs;
|
|
966
|
+
return __generator(this, function (_a) {
|
|
967
|
+
switch (_a.label) {
|
|
968
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSubPartners(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
969
|
+
case 1:
|
|
970
|
+
localVarAxiosArgs = _a.sent();
|
|
971
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
972
|
+
}
|
|
973
|
+
});
|
|
974
|
+
});
|
|
975
|
+
},
|
|
823
976
|
/**
|
|
824
977
|
* 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\"
|
|
825
978
|
* @summary Update the partner
|
|
@@ -886,6 +1039,27 @@ var PartnersApiFp = function (configuration) {
|
|
|
886
1039
|
});
|
|
887
1040
|
});
|
|
888
1041
|
},
|
|
1042
|
+
/**
|
|
1043
|
+
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1044
|
+
* @summary Validate a partner
|
|
1045
|
+
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1046
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1047
|
+
* @param {*} [options] Override http request option.
|
|
1048
|
+
* @throws {RequiredError}
|
|
1049
|
+
*/
|
|
1050
|
+
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
1051
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1052
|
+
var localVarAxiosArgs;
|
|
1053
|
+
return __generator(this, function (_a) {
|
|
1054
|
+
switch (_a.label) {
|
|
1055
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.validatePartner(validatePartnerRequestDto, authorization, options)];
|
|
1056
|
+
case 1:
|
|
1057
|
+
localVarAxiosArgs = _a.sent();
|
|
1058
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
});
|
|
1062
|
+
},
|
|
889
1063
|
};
|
|
890
1064
|
};
|
|
891
1065
|
exports.PartnersApiFp = PartnersApiFp;
|
|
@@ -958,11 +1132,11 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
958
1132
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
959
1133
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
960
1134
|
* @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.
|
|
961
|
-
* @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>
|
|
1135
|
+
* @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>
|
|
962
1136
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
963
|
-
* @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>
|
|
1137
|
+
* @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>
|
|
964
1138
|
* @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>
|
|
965
|
-
* @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>
|
|
1139
|
+
* @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>
|
|
966
1140
|
* @param {*} [options] Override http request option.
|
|
967
1141
|
* @throws {RequiredError}
|
|
968
1142
|
*/
|
|
@@ -987,6 +1161,24 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
987
1161
|
listRelationsForPartner: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
988
1162
|
return localVarFp.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
989
1163
|
},
|
|
1164
|
+
/**
|
|
1165
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
1166
|
+
* @summary List sub-partners
|
|
1167
|
+
* @param {string} code Unique identifier for the object.
|
|
1168
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1169
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1170
|
+
* @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.
|
|
1171
|
+
* @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>
|
|
1172
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1173
|
+
* @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>
|
|
1174
|
+
* @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>
|
|
1175
|
+
* @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>
|
|
1176
|
+
* @param {*} [options] Override http request option.
|
|
1177
|
+
* @throws {RequiredError}
|
|
1178
|
+
*/
|
|
1179
|
+
listSubPartners: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1180
|
+
return localVarFp.listSubPartners(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1181
|
+
},
|
|
990
1182
|
/**
|
|
991
1183
|
* 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\"
|
|
992
1184
|
* @summary Update the partner
|
|
@@ -1023,6 +1215,17 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
1023
1215
|
updatePartner: function (code, updatePartnerRequestDto, authorization, options) {
|
|
1024
1216
|
return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1025
1217
|
},
|
|
1218
|
+
/**
|
|
1219
|
+
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1220
|
+
* @summary Validate a partner
|
|
1221
|
+
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
1222
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1223
|
+
* @param {*} [options] Override http request option.
|
|
1224
|
+
* @throws {RequiredError}
|
|
1225
|
+
*/
|
|
1226
|
+
validatePartner: function (validatePartnerRequestDto, authorization, options) {
|
|
1227
|
+
return localVarFp.validatePartner(validatePartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1228
|
+
},
|
|
1026
1229
|
};
|
|
1027
1230
|
};
|
|
1028
1231
|
exports.PartnersApiFactory = PartnersApiFactory;
|
|
@@ -1122,6 +1325,18 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
1122
1325
|
var _this = this;
|
|
1123
1326
|
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); });
|
|
1124
1327
|
};
|
|
1328
|
+
/**
|
|
1329
|
+
* Returns a paginated list of sub-partners assigned under the selected partner across partner hierarchies. **Required Permissions** \"partner-management.partners.view\"
|
|
1330
|
+
* @summary List sub-partners
|
|
1331
|
+
* @param {PartnersApiListSubPartnersRequest} requestParameters Request parameters.
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
* @memberof PartnersApi
|
|
1335
|
+
*/
|
|
1336
|
+
PartnersApi.prototype.listSubPartners = function (requestParameters, options) {
|
|
1337
|
+
var _this = this;
|
|
1338
|
+
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); });
|
|
1339
|
+
};
|
|
1125
1340
|
/**
|
|
1126
1341
|
* 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\"
|
|
1127
1342
|
* @summary Update the partner
|
|
@@ -1158,6 +1373,18 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
1158
1373
|
var _this = this;
|
|
1159
1374
|
return (0, exports.PartnersApiFp)(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1160
1375
|
};
|
|
1376
|
+
/**
|
|
1377
|
+
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1378
|
+
* @summary Validate a partner
|
|
1379
|
+
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
1380
|
+
* @param {*} [options] Override http request option.
|
|
1381
|
+
* @throws {RequiredError}
|
|
1382
|
+
* @memberof PartnersApi
|
|
1383
|
+
*/
|
|
1384
|
+
PartnersApi.prototype.validatePartner = function (requestParameters, options) {
|
|
1385
|
+
var _this = this;
|
|
1386
|
+
return (0, exports.PartnersApiFp)(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1387
|
+
};
|
|
1161
1388
|
return PartnersApi;
|
|
1162
1389
|
}(base_1.BaseAPI));
|
|
1163
1390
|
exports.PartnersApi = PartnersApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
export * from './api/blacklist-api';
|
|
13
13
|
export * from './api/blacklist-reasons-api';
|
|
14
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-types-api';
|
|
15
18
|
export * from './api/partner-invitations-api';
|
|
16
19
|
export * from './api/partner-relations-api';
|
|
17
20
|
export * from './api/partner-tags-api';
|
package/dist/api.js
CHANGED
|
@@ -30,6 +30,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30
30
|
__exportStar(require("./api/blacklist-api"), exports);
|
|
31
31
|
__exportStar(require("./api/blacklist-reasons-api"), exports);
|
|
32
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-types-api"), exports);
|
|
33
36
|
__exportStar(require("./api/partner-invitations-api"), exports);
|
|
34
37
|
__exportStar(require("./api/partner-relations-api"), exports);
|
|
35
38
|
__exportStar(require("./api/partner-tags-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -39,7 +39,8 @@ export declare enum Environment {
|
|
|
39
39
|
Test = "https://apiv2-test.emil.de",
|
|
40
40
|
Staging = "https://apiv2-staging.emil.de",
|
|
41
41
|
Development = "https://apiv2-dev.emil.de",
|
|
42
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
42
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de",
|
|
43
|
+
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
43
44
|
}
|
|
44
45
|
export declare function resetRetry(): void;
|
|
45
46
|
/**
|
package/dist/base.js
CHANGED
|
@@ -132,6 +132,7 @@ var Environment;
|
|
|
132
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
+
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
135
136
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
136
137
|
var _retry_count = 0;
|
|
137
138
|
var _retry = null;
|
|
@@ -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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { PartnerHierarchyNodeClass } from './partner-hierarchy-node-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePartnerHierarchyNodeResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePartnerHierarchyNodeResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The partner hierarchy node response.
|
|
21
|
+
* @type {PartnerHierarchyNodeClass}
|
|
22
|
+
* @memberof CreatePartnerHierarchyNodeResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'node': PartnerHierarchyNodeClass;
|
|
25
|
+
}
|
|
@@ -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,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 CreatePartnerHierarchyRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreatePartnerHierarchyRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable name for this hierarchy instance.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreatePartnerHierarchyRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* Code of the partner hierarchy type this instance is built from.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePartnerHierarchyRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerHierarchyTypeCode': 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,25 @@
|
|
|
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
|
+
import { PartnerHierarchyClass } from './partner-hierarchy-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePartnerHierarchyResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePartnerHierarchyResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The partner hierarchy response.
|
|
21
|
+
* @type {PartnerHierarchyClass}
|
|
22
|
+
* @memberof CreatePartnerHierarchyResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'hierarchy': PartnerHierarchyClass;
|
|
25
|
+
}
|
|
@@ -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 });
|