@emilgroup/partner-sdk 1.0.1-beta.1 → 1.1.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.
Files changed (40) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/partner-relations-api.ts +349 -0
  4. package/api/partner-types-api.ts +36 -22
  5. package/api/partner-version-api.ts +375 -0
  6. package/api/partners-api.ts +36 -22
  7. package/api.ts +4 -0
  8. package/dist/api/partner-relations-api.d.ts +206 -0
  9. package/dist/api/partner-relations-api.js +352 -0
  10. package/dist/api/partner-types-api.d.ts +28 -19
  11. package/dist/api/partner-types-api.js +26 -20
  12. package/dist/api/partner-version-api.d.ts +224 -0
  13. package/dist/api/partner-version-api.js +363 -0
  14. package/dist/api/partners-api.d.ts +28 -19
  15. package/dist/api/partners-api.js +26 -20
  16. package/dist/api.d.ts +2 -0
  17. package/dist/api.js +2 -0
  18. package/dist/models/get-partner-relation-type-class.d.ts +25 -0
  19. package/dist/models/get-partner-relation-type-class.js +15 -0
  20. package/dist/models/get-partner-version-response-class.d.ts +25 -0
  21. package/dist/models/get-partner-version-response-class.js +15 -0
  22. package/dist/models/index.d.ts +5 -0
  23. package/dist/models/index.js +5 -0
  24. package/dist/models/list-partner-relation-types-class.d.ts +31 -0
  25. package/dist/models/list-partner-relation-types-class.js +15 -0
  26. package/dist/models/list-partner-versions-response-class.d.ts +25 -0
  27. package/dist/models/list-partner-versions-response-class.js +15 -0
  28. package/dist/models/partner-class.d.ts +12 -0
  29. package/dist/models/partner-relation-type-class.d.ts +66 -0
  30. package/dist/models/partner-relation-type-class.js +15 -0
  31. package/dist/models/update-partner-type-request-dto.d.ts +6 -0
  32. package/models/get-partner-relation-type-class.ts +31 -0
  33. package/models/get-partner-version-response-class.ts +31 -0
  34. package/models/index.ts +5 -0
  35. package/models/list-partner-relation-types-class.ts +37 -0
  36. package/models/list-partner-versions-response-class.ts +31 -0
  37. package/models/partner-class.ts +12 -0
  38. package/models/partner-relation-type-class.ts +72 -0
  39. package/models/update-partner-type-request-dto.ts +6 -0
  40. package/package.json +1 -2
@@ -190,7 +190,7 @@ var PartnersApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
193
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
194
194
  * @summary Retrieve the partner
195
195
  * @param {string} code Unique identifier for the object.
196
196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -242,19 +242,20 @@ var PartnersApiAxiosParamCreator = function (configuration) {
242
242
  });
243
243
  },
244
244
  /**
245
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
245
+ * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
246
246
  * @summary List partners
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
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
250
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
251
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
251
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
252
252
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
253
253
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
254
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
258
+ listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -295,6 +296,9 @@ var PartnersApiAxiosParamCreator = function (configuration) {
295
296
  if (expand !== undefined) {
296
297
  localVarQueryParameter['expand'] = expand;
297
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
298
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
304
  }
@@ -415,7 +419,7 @@ var PartnersApiFp = function (configuration) {
415
419
  });
416
420
  },
417
421
  /**
418
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
422
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
419
423
  * @summary Retrieve the partner
420
424
  * @param {string} code Unique identifier for the object.
421
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -437,24 +441,25 @@ var PartnersApiFp = function (configuration) {
437
441
  });
438
442
  },
439
443
  /**
440
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
444
+ * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
441
445
  * @summary List partners
442
446
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
443
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
447
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
444
448
  * @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.
445
449
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
446
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
450
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
447
451
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
448
452
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
453
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
449
454
  * @param {*} [options] Override http request option.
450
455
  * @throws {RequiredError}
451
456
  */
452
- listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
457
+ listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
453
458
  return __awaiter(this, void 0, void 0, function () {
454
459
  var localVarAxiosArgs;
455
460
  return __generator(this, function (_a) {
456
461
  switch (_a.label) {
457
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, options)];
462
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
458
463
  case 1:
459
464
  localVarAxiosArgs = _a.sent();
460
465
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -517,7 +522,7 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
517
522
  return localVarFp.deletePartner(code, authorization, options).then(function (request) { return request(axios, basePath); });
518
523
  },
519
524
  /**
520
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
525
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
521
526
  * @summary Retrieve the partner
522
527
  * @param {string} code Unique identifier for the object.
523
528
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -529,20 +534,21 @@ var PartnersApiFactory = function (configuration, basePath, axios) {
529
534
  return localVarFp.getPartner(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
530
535
  },
531
536
  /**
532
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
537
+ * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
533
538
  * @summary List partners
534
539
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
535
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
540
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
536
541
  * @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.
537
542
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
538
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
543
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
539
544
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
540
545
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
546
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
541
547
  * @param {*} [options] Override http request option.
542
548
  * @throws {RequiredError}
543
549
  */
544
- listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
545
- return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
550
+ listPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
551
+ return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
546
552
  },
547
553
  /**
548
554
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -595,7 +601,7 @@ var PartnersApi = /** @class */ (function (_super) {
595
601
  return (0, exports.PartnersApiFp)(this.configuration).deletePartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
602
  };
597
603
  /**
598
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
604
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
599
605
  * @summary Retrieve the partner
600
606
  * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
601
607
  * @param {*} [options] Override http request option.
@@ -607,7 +613,7 @@ var PartnersApi = /** @class */ (function (_super) {
607
613
  return (0, exports.PartnersApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
614
  };
609
615
  /**
610
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
616
+ * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
611
617
  * @summary List partners
612
618
  * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
613
619
  * @param {*} [options] Override http request option.
@@ -617,7 +623,7 @@ var PartnersApi = /** @class */ (function (_super) {
617
623
  PartnersApi.prototype.listPartners = function (requestParameters, options) {
618
624
  var _this = this;
619
625
  if (requestParameters === void 0) { requestParameters = {}; }
620
- return (0, exports.PartnersApiFp)(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
626
+ 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); });
621
627
  };
622
628
  /**
623
629
  * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
package/dist/api.d.ts CHANGED
@@ -10,5 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/default-api';
13
+ export * from './api/partner-relations-api';
13
14
  export * from './api/partner-types-api';
15
+ export * from './api/partner-version-api';
14
16
  export * from './api/partners-api';
package/dist/api.js CHANGED
@@ -28,5 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/default-api"), exports);
31
+ __exportStar(require("./api/partner-relations-api"), exports);
31
32
  __exportStar(require("./api/partner-types-api"), exports);
33
+ __exportStar(require("./api/partner-version-api"), exports);
32
34
  __exportStar(require("./api/partners-api"), exports);
@@ -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 { PartnerRelationTypeClass } from './partner-relation-type-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetPartnerRelationTypeClass
17
+ */
18
+ export interface GetPartnerRelationTypeClass {
19
+ /**
20
+ * The partner relation type response.
21
+ * @type {PartnerRelationTypeClass}
22
+ * @memberof GetPartnerRelationTypeClass
23
+ */
24
+ 'relationType': PartnerRelationTypeClass;
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,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 { PartnerClass } from './partner-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetPartnerVersionResponseClass
17
+ */
18
+ export interface GetPartnerVersionResponseClass {
19
+ /**
20
+ * The list of partners.
21
+ * @type {Array<PartnerClass>}
22
+ * @memberof GetPartnerVersionResponseClass
23
+ */
24
+ 'partnerVersion': Array<PartnerClass>;
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 });
@@ -3,13 +3,18 @@ export * from './create-partner-response-class';
3
3
  export * from './create-partner-type-request-dto';
4
4
  export * from './create-partner-type-response-class';
5
5
  export * from './delete-response-class';
6
+ export * from './get-partner-relation-type-class';
6
7
  export * from './get-partner-response-class';
7
8
  export * from './get-partner-type-response-class';
9
+ export * from './get-partner-version-response-class';
8
10
  export * from './inline-response200';
9
11
  export * from './inline-response503';
12
+ export * from './list-partner-relation-types-class';
10
13
  export * from './list-partner-types-response-class';
14
+ export * from './list-partner-versions-response-class';
11
15
  export * from './list-partners-response-class';
12
16
  export * from './partner-class';
17
+ export * from './partner-relation-type-class';
13
18
  export * from './partner-type-class';
14
19
  export * from './partner-type-custom-schema-dto';
15
20
  export * from './update-partner-request-dto';
@@ -19,13 +19,18 @@ __exportStar(require("./create-partner-response-class"), exports);
19
19
  __exportStar(require("./create-partner-type-request-dto"), exports);
20
20
  __exportStar(require("./create-partner-type-response-class"), exports);
21
21
  __exportStar(require("./delete-response-class"), exports);
22
+ __exportStar(require("./get-partner-relation-type-class"), exports);
22
23
  __exportStar(require("./get-partner-response-class"), exports);
23
24
  __exportStar(require("./get-partner-type-response-class"), exports);
25
+ __exportStar(require("./get-partner-version-response-class"), exports);
24
26
  __exportStar(require("./inline-response200"), exports);
25
27
  __exportStar(require("./inline-response503"), exports);
28
+ __exportStar(require("./list-partner-relation-types-class"), exports);
26
29
  __exportStar(require("./list-partner-types-response-class"), exports);
30
+ __exportStar(require("./list-partner-versions-response-class"), exports);
27
31
  __exportStar(require("./list-partners-response-class"), exports);
28
32
  __exportStar(require("./partner-class"), exports);
33
+ __exportStar(require("./partner-relation-type-class"), exports);
29
34
  __exportStar(require("./partner-type-class"), exports);
30
35
  __exportStar(require("./partner-type-custom-schema-dto"), exports);
31
36
  __exportStar(require("./update-partner-request-dto"), 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 { PartnerRelationTypeClass } from './partner-relation-type-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPartnerRelationTypesClass
17
+ */
18
+ export interface ListPartnerRelationTypesClass {
19
+ /**
20
+ * The list of partner relation typess.
21
+ * @type {Array<PartnerRelationTypeClass>}
22
+ * @memberof ListPartnerRelationTypesClass
23
+ */
24
+ 'items': Array<PartnerRelationTypeClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListPartnerRelationTypesClass
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 });
@@ -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 { PartnerClass } from './partner-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPartnerVersionsResponseClass
17
+ */
18
+ export interface ListPartnerVersionsResponseClass {
19
+ /**
20
+ * The list of Partnerss.
21
+ * @type {Array<PartnerClass>}
22
+ * @memberof ListPartnerVersionsResponseClass
23
+ */
24
+ 'items': Array<PartnerClass>;
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 });
@@ -64,4 +64,16 @@ export interface PartnerClass {
64
64
  * @memberof PartnerClass
65
65
  */
66
66
  'updatedAt': string;
67
+ /**
68
+ * Last user who updated the entity
69
+ * @type {string}
70
+ * @memberof PartnerClass
71
+ */
72
+ 'updatedBy': string;
73
+ /**
74
+ * The version number of the partner
75
+ * @type {number}
76
+ * @memberof PartnerClass
77
+ */
78
+ 'version': number;
67
79
  }
@@ -0,0 +1,66 @@
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 PartnerRelationTypeClass
16
+ */
17
+ export interface PartnerRelationTypeClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PartnerRelationTypeClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
+ * @type {string}
27
+ * @memberof PartnerRelationTypeClass
28
+ */
29
+ 'slug': string;
30
+ /**
31
+ * The name of the relation type
32
+ * @type {string}
33
+ * @memberof PartnerRelationTypeClass
34
+ */
35
+ 'relationName': string;
36
+ /**
37
+ * The description of the relation type
38
+ * @type {string}
39
+ * @memberof PartnerRelationTypeClass
40
+ */
41
+ 'description': string;
42
+ /**
43
+ * The maximum number of times this relation type can be connected to a partner
44
+ * @type {number}
45
+ * @memberof PartnerRelationTypeClass
46
+ */
47
+ 'maxCardinality': number;
48
+ /**
49
+ * The inverse side of maximum cardinality for the relation type - the maximum number of times a partner can be connected to this relation type from the inverse side
50
+ * @type {number}
51
+ * @memberof PartnerRelationTypeClass
52
+ */
53
+ 'inverseMaxCardinality': number;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof PartnerRelationTypeClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof PartnerRelationTypeClass
64
+ */
65
+ 'updatedAt': string;
66
+ }
@@ -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 });
@@ -16,6 +16,12 @@ import { PartnerTypeCustomSchemaDto } from './partner-type-custom-schema-dto';
16
16
  * @interface UpdatePartnerTypeRequestDto
17
17
  */
18
18
  export interface UpdatePartnerTypeRequestDto {
19
+ /**
20
+ * The name of the partner type.
21
+ * @type {string}
22
+ * @memberof UpdatePartnerTypeRequestDto
23
+ */
24
+ 'name': string;
19
25
  /**
20
26
  * The partner type schema object.
21
27
  * @type {Array<PartnerTypeCustomSchemaDto>}
@@ -0,0 +1,31 @@
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 { PartnerRelationTypeClass } from './partner-relation-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPartnerRelationTypeClass
22
+ */
23
+ export interface GetPartnerRelationTypeClass {
24
+ /**
25
+ * The partner relation type response.
26
+ * @type {PartnerRelationTypeClass}
27
+ * @memberof GetPartnerRelationTypeClass
28
+ */
29
+ 'relationType': PartnerRelationTypeClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
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 { PartnerClass } from './partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetPartnerVersionResponseClass
22
+ */
23
+ export interface GetPartnerVersionResponseClass {
24
+ /**
25
+ * The list of partners.
26
+ * @type {Array<PartnerClass>}
27
+ * @memberof GetPartnerVersionResponseClass
28
+ */
29
+ 'partnerVersion': Array<PartnerClass>;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -3,13 +3,18 @@ export * from './create-partner-response-class';
3
3
  export * from './create-partner-type-request-dto';
4
4
  export * from './create-partner-type-response-class';
5
5
  export * from './delete-response-class';
6
+ export * from './get-partner-relation-type-class';
6
7
  export * from './get-partner-response-class';
7
8
  export * from './get-partner-type-response-class';
9
+ export * from './get-partner-version-response-class';
8
10
  export * from './inline-response200';
9
11
  export * from './inline-response503';
12
+ export * from './list-partner-relation-types-class';
10
13
  export * from './list-partner-types-response-class';
14
+ export * from './list-partner-versions-response-class';
11
15
  export * from './list-partners-response-class';
12
16
  export * from './partner-class';
17
+ export * from './partner-relation-type-class';
13
18
  export * from './partner-type-class';
14
19
  export * from './partner-type-custom-schema-dto';
15
20
  export * from './update-partner-request-dto';
@@ -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 { PartnerRelationTypeClass } from './partner-relation-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPartnerRelationTypesClass
22
+ */
23
+ export interface ListPartnerRelationTypesClass {
24
+ /**
25
+ * The list of partner relation typess.
26
+ * @type {Array<PartnerRelationTypeClass>}
27
+ * @memberof ListPartnerRelationTypesClass
28
+ */
29
+ 'items': Array<PartnerRelationTypeClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListPartnerRelationTypesClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+