@emilgroup/partner-sdk 1.22.1-beta.1 → 1.22.1-beta.11

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 (56) hide show
  1. package/.openapi-generator/FILES +9 -1
  2. package/README.md +2 -2
  3. package/api/blacklist-api.ts +662 -0
  4. package/api/blacklist-reasons-api.ts +23 -6
  5. package/api/{default-api.ts → health-api.ts} +13 -13
  6. package/api.ts +4 -2
  7. package/base.ts +1 -0
  8. package/dist/api/blacklist-api.d.ts +375 -0
  9. package/dist/api/blacklist-api.js +629 -0
  10. package/dist/api/blacklist-reasons-api.d.ts +13 -3
  11. package/dist/api/blacklist-reasons-api.js +13 -6
  12. package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
  13. package/dist/api/{default-api.js → health-api.js} +22 -22
  14. package/dist/api.d.ts +2 -1
  15. package/dist/api.js +2 -1
  16. package/dist/base.d.ts +2 -1
  17. package/dist/base.js +1 -0
  18. package/dist/models/blacklist-item-class.d.ts +78 -0
  19. package/dist/models/blacklist-item-class.js +15 -0
  20. package/dist/models/create-blacklist-item-request-dto.d.ts +36 -0
  21. package/dist/models/create-blacklist-item-request-dto.js +15 -0
  22. package/dist/models/create-blacklist-item-response-class.d.ts +25 -0
  23. package/dist/models/create-blacklist-item-response-class.js +15 -0
  24. package/dist/models/get-blacklist-item-response-class.d.ts +25 -0
  25. package/dist/models/get-blacklist-item-response-class.js +15 -0
  26. package/dist/models/index.d.ts +7 -0
  27. package/dist/models/index.js +7 -0
  28. package/dist/models/is-blacklisted-response-class.d.ts +54 -0
  29. package/dist/models/is-blacklisted-response-class.js +15 -0
  30. package/dist/models/list-blacklist-items-response-class.d.ts +43 -0
  31. package/dist/models/list-blacklist-items-response-class.js +15 -0
  32. package/dist/models/list-partner-relation-class.d.ts +18 -6
  33. package/dist/models/list-partner-relation-types-class.d.ts +18 -6
  34. package/dist/models/list-partner-types-response-class.d.ts +18 -6
  35. package/dist/models/list-partner-versions-response-class.d.ts +18 -6
  36. package/dist/models/list-partners-response-class.d.ts +18 -6
  37. package/dist/models/list-related-partners-response-class.d.ts +18 -6
  38. package/dist/models/list-tags-response-class.d.ts +18 -6
  39. package/dist/models/update-blacklist-reason-status-request-dto.d.ts +24 -0
  40. package/dist/models/update-blacklist-reason-status-request-dto.js +15 -0
  41. package/models/blacklist-item-class.ts +84 -0
  42. package/models/create-blacklist-item-request-dto.ts +42 -0
  43. package/models/create-blacklist-item-response-class.ts +31 -0
  44. package/models/get-blacklist-item-response-class.ts +31 -0
  45. package/models/index.ts +7 -0
  46. package/models/is-blacklisted-response-class.ts +60 -0
  47. package/models/list-blacklist-items-response-class.ts +49 -0
  48. package/models/list-partner-relation-class.ts +18 -6
  49. package/models/list-partner-relation-types-class.ts +18 -6
  50. package/models/list-partner-types-response-class.ts +18 -6
  51. package/models/list-partner-versions-response-class.ts +18 -6
  52. package/models/list-partners-response-class.ts +18 -6
  53. package/models/list-related-partners-response-class.ts +18 -6
  54. package/models/list-tags-response-class.ts +18 -6
  55. package/models/update-blacklist-reason-status-request-dto.ts +30 -0
  56. package/package.json +1 -1
@@ -0,0 +1,60 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface IsBlacklistedResponseClass
21
+ */
22
+ export interface IsBlacklistedResponseClass {
23
+ /**
24
+ * Whether the partner is currently blacklisted
25
+ * @type {boolean}
26
+ * @memberof IsBlacklistedResponseClass
27
+ */
28
+ 'isBlacklisted': boolean;
29
+ /**
30
+ * The code of the blacklist item
31
+ * @type {string}
32
+ * @memberof IsBlacklistedResponseClass
33
+ */
34
+ 'code'?: string;
35
+ /**
36
+ * The partner code that was checked
37
+ * @type {string}
38
+ * @memberof IsBlacklistedResponseClass
39
+ */
40
+ 'partnerCode': string;
41
+ /**
42
+ * The date from which the blacklist is active
43
+ * @type {string}
44
+ * @memberof IsBlacklistedResponseClass
45
+ */
46
+ 'blockedFrom'?: string;
47
+ /**
48
+ * The reason code if blacklisted
49
+ * @type {string}
50
+ * @memberof IsBlacklistedResponseClass
51
+ */
52
+ 'reasonCode'?: string;
53
+ /**
54
+ * The reason label snapshot if blacklisted
55
+ * @type {string}
56
+ * @memberof IsBlacklistedResponseClass
57
+ */
58
+ 'reasonValue'?: string;
59
+ }
60
+
@@ -0,0 +1,49 @@
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 { BlacklistItemClass } from './blacklist-item-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListBlacklistItemsResponseClass
22
+ */
23
+ export interface ListBlacklistItemsResponseClass {
24
+ /**
25
+ * The list of blacklist itemss.
26
+ * @type {Array<BlacklistItemClass>}
27
+ * @memberof ListBlacklistItemsResponseClass
28
+ */
29
+ 'items': Array<BlacklistItemClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListBlacklistItemsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListBlacklistItemsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListBlacklistItemsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -21,17 +21,29 @@ import { PartnerRelationClass } from './partner-relation-class';
21
21
  * @interface ListPartnerRelationClass
22
22
  */
23
23
  export interface ListPartnerRelationClass {
24
- /**
25
- * The list of partner relationss.
26
- * @type {Array<PartnerRelationClass>}
27
- * @memberof ListPartnerRelationClass
28
- */
29
- 'items': Array<PartnerRelationClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerRelationClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPartnerRelationClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerRelationClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of partner relationss.
44
+ * @type {Array<PartnerRelationClass>}
45
+ * @memberof ListPartnerRelationClass
46
+ */
47
+ 'items': Array<PartnerRelationClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerRelationTypeClass } from './partner-relation-type-class';
21
21
  * @interface ListPartnerRelationTypesClass
22
22
  */
23
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
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerRelationTypesClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPartnerRelationTypesClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerRelationTypesClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of partner relation typess.
44
+ * @type {Array<PartnerRelationTypeClass>}
45
+ * @memberof ListPartnerRelationTypesClass
46
+ */
47
+ 'items': Array<PartnerRelationTypeClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerTypeClass } from './partner-type-class';
21
21
  * @interface ListPartnerTypesResponseClass
22
22
  */
23
23
  export interface ListPartnerTypesResponseClass {
24
- /**
25
- * The list of partner typess.
26
- * @type {Array<PartnerTypeClass>}
27
- * @memberof ListPartnerTypesResponseClass
28
- */
29
- 'items': Array<PartnerTypeClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerTypesResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPartnerTypesResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerTypesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of partner typess.
44
+ * @type {Array<PartnerTypeClass>}
45
+ * @memberof ListPartnerTypesResponseClass
46
+ */
47
+ 'items': Array<PartnerTypeClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerClass } from './partner-class';
21
21
  * @interface ListPartnerVersionsResponseClass
22
22
  */
23
23
  export interface ListPartnerVersionsResponseClass {
24
- /**
25
- * The list of partnerss.
26
- * @type {Array<PartnerClass>}
27
- * @memberof ListPartnerVersionsResponseClass
28
- */
29
- 'items': Array<PartnerClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerVersionsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPartnerVersionsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnerVersionsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of partnerss.
44
+ * @type {Array<PartnerClass>}
45
+ * @memberof ListPartnerVersionsResponseClass
46
+ */
47
+ 'items': Array<PartnerClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerClass } from './partner-class';
21
21
  * @interface ListPartnersResponseClass
22
22
  */
23
23
  export interface ListPartnersResponseClass {
24
- /**
25
- * The list of partnerss.
26
- * @type {Array<PartnerClass>}
27
- * @memberof ListPartnersResponseClass
28
- */
29
- 'items': Array<PartnerClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnersResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListPartnersResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPartnersResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of partnerss.
44
+ * @type {Array<PartnerClass>}
45
+ * @memberof ListPartnersResponseClass
46
+ */
47
+ 'items': Array<PartnerClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
21
21
  * @interface ListRelatedPartnersResponseClass
22
22
  */
23
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
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListRelatedPartnersResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListRelatedPartnersResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListRelatedPartnersResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of grouped relations for partner
44
+ * @type {Array<GroupedRelatedPartnersClass>}
45
+ * @memberof ListRelatedPartnersResponseClass
46
+ */
47
+ 'items': Array<GroupedRelatedPartnersClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { TagClass } from './tag-class';
21
21
  * @interface ListTagsResponseClass
22
22
  */
23
23
  export interface ListTagsResponseClass {
24
- /**
25
- * The list of partner tagss.
26
- * @type {Array<TagClass>}
27
- * @memberof ListTagsResponseClass
28
- */
29
- 'items': Array<TagClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListTagsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListTagsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListTagsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of partner tagss.
44
+ * @type {Array<TagClass>}
45
+ * @memberof ListTagsResponseClass
46
+ */
47
+ 'items': Array<TagClass>;
36
48
  }
37
49
 
@@ -0,0 +1,30 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBlacklistReasonStatusRequestDto
21
+ */
22
+ export interface UpdateBlacklistReasonStatusRequestDto {
23
+ /**
24
+ * New activation state for the blacklist reason.
25
+ * @type {boolean}
26
+ * @memberof UpdateBlacklistReasonStatusRequestDto
27
+ */
28
+ 'isActive'?: boolean;
29
+ }
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-sdk",
3
- "version": "1.22.1-beta.1",
3
+ "version": "1.22.1-beta.11",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [