@emilgroup/partner-sdk 1.11.1-beta.1 → 1.11.1-beta.3
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 +3 -0
- package/README.md +2 -2
- package/api/partners-api.ts +209 -8
- package/dist/api/partners-api.d.ts +127 -8
- package/dist/api/partners-api.js +140 -6
- package/dist/models/grouped-related-partners-class.d.ts +31 -0
- package/dist/models/grouped-related-partners-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/list-related-partners-response-class.d.ts +31 -0
- package/dist/models/list-related-partners-response-class.js +15 -0
- package/dist/models/partner-relation-type-class.d.ts +12 -0
- package/dist/models/related-partner-data-class.d.ts +108 -0
- package/dist/models/related-partner-data-class.js +15 -0
- package/models/grouped-related-partners-class.ts +37 -0
- package/models/index.ts +3 -0
- package/models/list-related-partners-response-class.ts +37 -0
- package/models/partner-relation-type-class.ts +12 -0
- package/models/related-partner-data-class.ts +114 -0
- package/package.json +1 -1
package/dist/api/partners-api.js
CHANGED
|
@@ -247,11 +247,11 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
248
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @param {any} [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.
|
|
250
|
-
* @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, partnerTypeId, tenantUserCode</i>
|
|
250
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
251
251
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
252
|
* @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</i>
|
|
253
253
|
* @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<i>
|
|
254
|
-
* @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, partnerTypeId, tenantUserCode</i>
|
|
254
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
@@ -313,6 +313,82 @@ var PartnersApiAxiosParamCreator = function (configuration) {
|
|
|
313
313
|
});
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
|
+
/**
|
|
317
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
318
|
+
* @summary List grouped relations for partner
|
|
319
|
+
* @param {string} code
|
|
320
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
322
|
+
* @param {any} [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.
|
|
323
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
324
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
325
|
+
* @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
326
|
+
* @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: partner1, partner2, partnerRelationType<i>
|
|
327
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
listRelationsForPartner: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
332
|
+
if (options === void 0) { options = {}; }
|
|
333
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
334
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
335
|
+
return __generator(this, function (_a) {
|
|
336
|
+
switch (_a.label) {
|
|
337
|
+
case 0:
|
|
338
|
+
// verify required parameter 'code' is not null or undefined
|
|
339
|
+
(0, common_1.assertParamExists)('listRelationsForPartner', 'code', code);
|
|
340
|
+
localVarPath = "/partnerservice/v1/partners/{code}/relations"
|
|
341
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
342
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
343
|
+
if (configuration) {
|
|
344
|
+
baseOptions = configuration.baseOptions;
|
|
345
|
+
baseAccessToken = configuration.accessToken;
|
|
346
|
+
}
|
|
347
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
348
|
+
localVarHeaderParameter = {};
|
|
349
|
+
localVarQueryParameter = {};
|
|
350
|
+
// authentication bearer required
|
|
351
|
+
// http bearer authentication required
|
|
352
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
353
|
+
case 1:
|
|
354
|
+
// authentication bearer required
|
|
355
|
+
// http bearer authentication required
|
|
356
|
+
_a.sent();
|
|
357
|
+
if (pageSize !== undefined) {
|
|
358
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
359
|
+
}
|
|
360
|
+
if (pageToken !== undefined) {
|
|
361
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
362
|
+
}
|
|
363
|
+
if (filter !== undefined) {
|
|
364
|
+
localVarQueryParameter['filter'] = filter;
|
|
365
|
+
}
|
|
366
|
+
if (search !== undefined) {
|
|
367
|
+
localVarQueryParameter['search'] = search;
|
|
368
|
+
}
|
|
369
|
+
if (order !== undefined) {
|
|
370
|
+
localVarQueryParameter['order'] = order;
|
|
371
|
+
}
|
|
372
|
+
if (expand !== undefined) {
|
|
373
|
+
localVarQueryParameter['expand'] = expand;
|
|
374
|
+
}
|
|
375
|
+
if (filters !== undefined) {
|
|
376
|
+
localVarQueryParameter['filters'] = filters;
|
|
377
|
+
}
|
|
378
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
379
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
380
|
+
}
|
|
381
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
382
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
383
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
384
|
+
return [2 /*return*/, {
|
|
385
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
386
|
+
options: localVarRequestOptions,
|
|
387
|
+
}];
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
},
|
|
316
392
|
/**
|
|
317
393
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
318
394
|
* @summary Update the partner
|
|
@@ -499,11 +575,11 @@ var PartnersApiFp = function (configuration) {
|
|
|
499
575
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
500
576
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
501
577
|
* @param {any} [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.
|
|
502
|
-
* @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, partnerTypeId, tenantUserCode</i>
|
|
578
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
503
579
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
504
580
|
* @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</i>
|
|
505
581
|
* @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<i>
|
|
506
|
-
* @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, partnerTypeId, tenantUserCode</i>
|
|
582
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
507
583
|
* @param {*} [options] Override http request option.
|
|
508
584
|
* @throws {RequiredError}
|
|
509
585
|
*/
|
|
@@ -520,6 +596,34 @@ var PartnersApiFp = function (configuration) {
|
|
|
520
596
|
});
|
|
521
597
|
});
|
|
522
598
|
},
|
|
599
|
+
/**
|
|
600
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
601
|
+
* @summary List grouped relations for partner
|
|
602
|
+
* @param {string} code
|
|
603
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
604
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
605
|
+
* @param {any} [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.
|
|
606
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
607
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
608
|
+
* @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
609
|
+
* @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: partner1, partner2, partnerRelationType<i>
|
|
610
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
listRelationsForPartner: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
615
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
616
|
+
var localVarAxiosArgs;
|
|
617
|
+
return __generator(this, function (_a) {
|
|
618
|
+
switch (_a.label) {
|
|
619
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
620
|
+
case 1:
|
|
621
|
+
localVarAxiosArgs = _a.sent();
|
|
622
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
623
|
+
}
|
|
624
|
+
});
|
|
625
|
+
});
|
|
626
|
+
},
|
|
523
627
|
/**
|
|
524
628
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
525
629
|
* @summary Update the partner
|
|
@@ -614,17 +718,35 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
614
718
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
615
719
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
616
720
|
* @param {any} [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.
|
|
617
|
-
* @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, partnerTypeId, tenantUserCode</i>
|
|
721
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
618
722
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
619
723
|
* @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</i>
|
|
620
724
|
* @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<i>
|
|
621
|
-
* @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, partnerTypeId, tenantUserCode</i>
|
|
725
|
+
* @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, partnerTypeId, tenantUserCode, partnerNumber</i>
|
|
622
726
|
* @param {*} [options] Override http request option.
|
|
623
727
|
* @throws {RequiredError}
|
|
624
728
|
*/
|
|
625
729
|
listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
626
730
|
return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
627
731
|
},
|
|
732
|
+
/**
|
|
733
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
734
|
+
* @summary List grouped relations for partner
|
|
735
|
+
* @param {string} code
|
|
736
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
737
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
738
|
+
* @param {any} [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.
|
|
739
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
740
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
741
|
+
* @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, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
|
|
742
|
+
* @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: partner1, partner2, partnerRelationType<i>
|
|
743
|
+
* @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, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
|
|
744
|
+
* @param {*} [options] Override http request option.
|
|
745
|
+
* @throws {RequiredError}
|
|
746
|
+
*/
|
|
747
|
+
listRelationsForPartner: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
748
|
+
return localVarFp.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
749
|
+
},
|
|
628
750
|
/**
|
|
629
751
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
630
752
|
* @summary Update the partner
|
|
@@ -712,6 +834,18 @@ var PartnersApi = /** @class */ (function (_super) {
|
|
|
712
834
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
713
835
|
return (0, exports.PartnersApiFp)(this.configuration).listPartners(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); });
|
|
714
836
|
};
|
|
837
|
+
/**
|
|
838
|
+
* Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
839
|
+
* @summary List grouped relations for partner
|
|
840
|
+
* @param {PartnersApiListRelationsForPartnerRequest} requestParameters Request parameters.
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
* @memberof PartnersApi
|
|
844
|
+
*/
|
|
845
|
+
PartnersApi.prototype.listRelationsForPartner = function (requestParameters, options) {
|
|
846
|
+
var _this = this;
|
|
847
|
+
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); });
|
|
848
|
+
};
|
|
715
849
|
/**
|
|
716
850
|
* Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
717
851
|
* @summary Update the partner
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { RelatedPartnerDataClass } from './related-partner-data-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GroupedRelatedPartnersClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GroupedRelatedPartnersClass {
|
|
19
|
+
/**
|
|
20
|
+
* Relation name for the group
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GroupedRelatedPartnersClass
|
|
23
|
+
*/
|
|
24
|
+
'relationName': string;
|
|
25
|
+
/**
|
|
26
|
+
* Relations belonging to the group
|
|
27
|
+
* @type {Array<RelatedPartnerDataClass>}
|
|
28
|
+
* @memberof GroupedRelatedPartnersClass
|
|
29
|
+
*/
|
|
30
|
+
'relatedPartners': Array<RelatedPartnerDataClass>;
|
|
31
|
+
}
|
|
@@ -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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './get-partner-response-class';
|
|
|
13
13
|
export * from './get-partner-type-response-class';
|
|
14
14
|
export * from './get-partner-version-response-class';
|
|
15
15
|
export * from './get-tag-response-class';
|
|
16
|
+
export * from './grouped-related-partners-class';
|
|
16
17
|
export * from './inline-response200';
|
|
17
18
|
export * from './inline-response503';
|
|
18
19
|
export * from './invite-class';
|
|
@@ -23,6 +24,7 @@ export * from './list-partner-relation-types-class';
|
|
|
23
24
|
export * from './list-partner-types-response-class';
|
|
24
25
|
export * from './list-partner-versions-response-class';
|
|
25
26
|
export * from './list-partners-response-class';
|
|
27
|
+
export * from './list-related-partners-response-class';
|
|
26
28
|
export * from './list-tags-response-class';
|
|
27
29
|
export * from './partner-class';
|
|
28
30
|
export * from './partner-relation-class';
|
|
@@ -30,6 +32,7 @@ export * from './partner-relation-type-class';
|
|
|
30
32
|
export * from './partner-type-class';
|
|
31
33
|
export * from './partner-type-custom-schema-dto';
|
|
32
34
|
export * from './permission-class';
|
|
35
|
+
export * from './related-partner-data-class';
|
|
33
36
|
export * from './role-class';
|
|
34
37
|
export * from './tag-class';
|
|
35
38
|
export * from './tag-partner-request-dto-rest';
|
package/dist/models/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./get-partner-response-class"), exports);
|
|
|
29
29
|
__exportStar(require("./get-partner-type-response-class"), exports);
|
|
30
30
|
__exportStar(require("./get-partner-version-response-class"), exports);
|
|
31
31
|
__exportStar(require("./get-tag-response-class"), exports);
|
|
32
|
+
__exportStar(require("./grouped-related-partners-class"), exports);
|
|
32
33
|
__exportStar(require("./inline-response200"), exports);
|
|
33
34
|
__exportStar(require("./inline-response503"), exports);
|
|
34
35
|
__exportStar(require("./invite-class"), exports);
|
|
@@ -39,6 +40,7 @@ __exportStar(require("./list-partner-relation-types-class"), exports);
|
|
|
39
40
|
__exportStar(require("./list-partner-types-response-class"), exports);
|
|
40
41
|
__exportStar(require("./list-partner-versions-response-class"), exports);
|
|
41
42
|
__exportStar(require("./list-partners-response-class"), exports);
|
|
43
|
+
__exportStar(require("./list-related-partners-response-class"), exports);
|
|
42
44
|
__exportStar(require("./list-tags-response-class"), exports);
|
|
43
45
|
__exportStar(require("./partner-class"), exports);
|
|
44
46
|
__exportStar(require("./partner-relation-class"), exports);
|
|
@@ -46,6 +48,7 @@ __exportStar(require("./partner-relation-type-class"), exports);
|
|
|
46
48
|
__exportStar(require("./partner-type-class"), exports);
|
|
47
49
|
__exportStar(require("./partner-type-custom-schema-dto"), exports);
|
|
48
50
|
__exportStar(require("./permission-class"), exports);
|
|
51
|
+
__exportStar(require("./related-partner-data-class"), exports);
|
|
49
52
|
__exportStar(require("./role-class"), exports);
|
|
50
53
|
__exportStar(require("./tag-class"), exports);
|
|
51
54
|
__exportStar(require("./tag-partner-request-dto-rest"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListRelatedPartnersResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListRelatedPartnersResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of grouped relations for partner
|
|
21
|
+
* @type {Array<GroupedRelatedPartnersClass>}
|
|
22
|
+
* @memberof ListRelatedPartnersResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<GroupedRelatedPartnersClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListRelatedPartnersResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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 });
|
|
@@ -75,4 +75,16 @@ export interface PartnerRelationTypeClass {
|
|
|
75
75
|
* @memberof PartnerRelationTypeClass
|
|
76
76
|
*/
|
|
77
77
|
'updatedBy': string;
|
|
78
|
+
/**
|
|
79
|
+
* The name of the relation from the perspective of the first partner
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PartnerRelationTypeClass
|
|
82
|
+
*/
|
|
83
|
+
'partner1RelationName': string;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the relation from the perspective of the second partner
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PartnerRelationTypeClass
|
|
88
|
+
*/
|
|
89
|
+
'partner2RelationName': string;
|
|
78
90
|
}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 RelatedPartnerDataClass
|
|
16
|
+
*/
|
|
17
|
+
export interface RelatedPartnerDataClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RelatedPartnerDataClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Relation type slug to identify the type of the relation
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RelatedPartnerDataClass
|
|
28
|
+
*/
|
|
29
|
+
'partnerRelationTypeSlug': string;
|
|
30
|
+
/**
|
|
31
|
+
* Starting date of the relation - will default to current time if not provided
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RelatedPartnerDataClass
|
|
34
|
+
*/
|
|
35
|
+
'startDate': string;
|
|
36
|
+
/**
|
|
37
|
+
* Ending date of the relation - if not provided, the relation is considered active
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RelatedPartnerDataClass
|
|
40
|
+
*/
|
|
41
|
+
'endDate': string;
|
|
42
|
+
/**
|
|
43
|
+
* Any additional notes for the relation
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RelatedPartnerDataClass
|
|
46
|
+
*/
|
|
47
|
+
'note': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RelatedPartnerDataClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was updated.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RelatedPartnerDataClass
|
|
58
|
+
*/
|
|
59
|
+
'updatedAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who created the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RelatedPartnerDataClass
|
|
64
|
+
*/
|
|
65
|
+
'createdBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who last updated the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof RelatedPartnerDataClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Unique identifier of the partner that this object belongs to.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof RelatedPartnerDataClass
|
|
76
|
+
*/
|
|
77
|
+
'partnerCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* The display name of the specified partner
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof RelatedPartnerDataClass
|
|
82
|
+
*/
|
|
83
|
+
'partnerDisplayName': string;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the relation from the perspective of the specified partner
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof RelatedPartnerDataClass
|
|
88
|
+
*/
|
|
89
|
+
'partnerRelationName': string;
|
|
90
|
+
/**
|
|
91
|
+
* Unique identifier of the related partner
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof RelatedPartnerDataClass
|
|
94
|
+
*/
|
|
95
|
+
'relatedPartnerCode': string;
|
|
96
|
+
/**
|
|
97
|
+
* The display name of the related partner
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof RelatedPartnerDataClass
|
|
100
|
+
*/
|
|
101
|
+
'relatedPartnerDisplayName': string;
|
|
102
|
+
/**
|
|
103
|
+
* The name of the relation from the perspective of the related partner
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof RelatedPartnerDataClass
|
|
106
|
+
*/
|
|
107
|
+
'relatedPartnerRelationName': string;
|
|
108
|
+
}
|
|
@@ -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,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { RelatedPartnerDataClass } from './related-partner-data-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GroupedRelatedPartnersClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GroupedRelatedPartnersClass {
|
|
24
|
+
/**
|
|
25
|
+
* Relation name for the group
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GroupedRelatedPartnersClass
|
|
28
|
+
*/
|
|
29
|
+
'relationName': string;
|
|
30
|
+
/**
|
|
31
|
+
* Relations belonging to the group
|
|
32
|
+
* @type {Array<RelatedPartnerDataClass>}
|
|
33
|
+
* @memberof GroupedRelatedPartnersClass
|
|
34
|
+
*/
|
|
35
|
+
'relatedPartners': Array<RelatedPartnerDataClass>;
|
|
36
|
+
}
|
|
37
|
+
|
package/models/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './get-partner-response-class';
|
|
|
13
13
|
export * from './get-partner-type-response-class';
|
|
14
14
|
export * from './get-partner-version-response-class';
|
|
15
15
|
export * from './get-tag-response-class';
|
|
16
|
+
export * from './grouped-related-partners-class';
|
|
16
17
|
export * from './inline-response200';
|
|
17
18
|
export * from './inline-response503';
|
|
18
19
|
export * from './invite-class';
|
|
@@ -23,6 +24,7 @@ export * from './list-partner-relation-types-class';
|
|
|
23
24
|
export * from './list-partner-types-response-class';
|
|
24
25
|
export * from './list-partner-versions-response-class';
|
|
25
26
|
export * from './list-partners-response-class';
|
|
27
|
+
export * from './list-related-partners-response-class';
|
|
26
28
|
export * from './list-tags-response-class';
|
|
27
29
|
export * from './partner-class';
|
|
28
30
|
export * from './partner-relation-class';
|
|
@@ -30,6 +32,7 @@ export * from './partner-relation-type-class';
|
|
|
30
32
|
export * from './partner-type-class';
|
|
31
33
|
export * from './partner-type-custom-schema-dto';
|
|
32
34
|
export * from './permission-class';
|
|
35
|
+
export * from './related-partner-data-class';
|
|
33
36
|
export * from './role-class';
|
|
34
37
|
export * from './tag-class';
|
|
35
38
|
export * from './tag-partner-request-dto-rest';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL PartnerService
|
|
5
|
+
* The EMIL PartnerService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListRelatedPartnersResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListRelatedPartnersResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of grouped relations for partner
|
|
26
|
+
* @type {Array<GroupedRelatedPartnersClass>}
|
|
27
|
+
* @memberof ListRelatedPartnersResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<GroupedRelatedPartnersClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListRelatedPartnersResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -80,5 +80,17 @@ export interface PartnerRelationTypeClass {
|
|
|
80
80
|
* @memberof PartnerRelationTypeClass
|
|
81
81
|
*/
|
|
82
82
|
'updatedBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* The name of the relation from the perspective of the first partner
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PartnerRelationTypeClass
|
|
87
|
+
*/
|
|
88
|
+
'partner1RelationName': string;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the relation from the perspective of the second partner
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PartnerRelationTypeClass
|
|
93
|
+
*/
|
|
94
|
+
'partner2RelationName': string;
|
|
83
95
|
}
|
|
84
96
|
|