@emilgroup/notification-sdk 0.8.1-beta.40 → 0.8.1-beta.41

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 (32) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/email-subscriptions-api.ts +559 -0
  4. package/api.ts +2 -0
  5. package/dist/api/email-subscriptions-api.d.ts +319 -0
  6. package/dist/api/email-subscriptions-api.js +537 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/email-message-class.d.ts +6 -0
  10. package/dist/models/email-subscription-class.d.ts +104 -0
  11. package/dist/models/email-subscription-class.js +23 -0
  12. package/dist/models/get-email-subscription-response-class.d.ts +25 -0
  13. package/dist/models/get-email-subscription-response-class.js +15 -0
  14. package/dist/models/index.d.ts +6 -0
  15. package/dist/models/index.js +6 -0
  16. package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
  17. package/dist/models/list-email-subscriptions-response-class.js +15 -0
  18. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
  19. package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
  20. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
  21. package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
  22. package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
  23. package/dist/models/renew-email-subscription-response-class.js +15 -0
  24. package/models/email-message-class.ts +6 -0
  25. package/models/email-subscription-class.ts +113 -0
  26. package/models/get-email-subscription-response-class.ts +31 -0
  27. package/models/index.ts +6 -0
  28. package/models/list-email-subscriptions-response-class.ts +49 -0
  29. package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
  30. package/models/reconcile-email-subscriptions-response-class.ts +54 -0
  31. package/models/renew-email-subscription-response-class.ts +31 -0
  32. package/package.json +1 -1
@@ -0,0 +1,104 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService 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 EmailSubscriptionClass
16
+ */
17
+ export interface EmailSubscriptionClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof EmailSubscriptionClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Tenant the subscription belongs to
26
+ * @type {string}
27
+ * @memberof EmailSubscriptionClass
28
+ */
29
+ 'tenantSlug': string;
30
+ /**
31
+ * Product whose email channel configures the mailbox. Empty for the tenant-wide email channel.
32
+ * @type {string}
33
+ * @memberof EmailSubscriptionClass
34
+ */
35
+ 'productSlug'?: string;
36
+ /**
37
+ * Mailbox whose incoming mail is delivered to the platform
38
+ * @type {string}
39
+ * @memberof EmailSubscriptionClass
40
+ */
41
+ 'mailbox': string;
42
+ /**
43
+ * Mailbox folder the subscription watches
44
+ * @type {string}
45
+ * @memberof EmailSubscriptionClass
46
+ */
47
+ 'folder': string;
48
+ /**
49
+ * Id of the subscription in Microsoft Graph. Empty while the subscription is not created yet.
50
+ * @type {string}
51
+ * @memberof EmailSubscriptionClass
52
+ */
53
+ 'subscriptionId'?: string;
54
+ /**
55
+ * Subscription status. active: Graph delivers new mail. pending: the subscription still has to be created. failed: Graph could not renew it in time. deleting / deletion-failed: the mailbox was removed from the email channel and the subscription is being deleted.
56
+ * @type {string}
57
+ * @memberof EmailSubscriptionClass
58
+ */
59
+ 'status': EmailSubscriptionClassStatusEnum;
60
+ /**
61
+ * When Microsoft Graph stops delivering mail unless the subscription is renewed. Renewed automatically within the last 24 hours.
62
+ * @type {string}
63
+ * @memberof EmailSubscriptionClass
64
+ */
65
+ 'expiresAt'?: string;
66
+ /**
67
+ * When the subscription was last created or renewed
68
+ * @type {string}
69
+ * @memberof EmailSubscriptionClass
70
+ */
71
+ 'lastRenewedAt'?: string;
72
+ /**
73
+ * When Microsoft Graph last notified about new mail
74
+ * @type {string}
75
+ * @memberof EmailSubscriptionClass
76
+ */
77
+ 'lastNotificationAt'?: string;
78
+ /**
79
+ * Error of the last failed Graph call, empty once it succeeds
80
+ * @type {string}
81
+ * @memberof EmailSubscriptionClass
82
+ */
83
+ 'lastError'?: string;
84
+ /**
85
+ * Created at timestamp
86
+ * @type {string}
87
+ * @memberof EmailSubscriptionClass
88
+ */
89
+ 'createdAt': string;
90
+ /**
91
+ * Updated at timestamp
92
+ * @type {string}
93
+ * @memberof EmailSubscriptionClass
94
+ */
95
+ 'updatedAt': string;
96
+ }
97
+ export declare const EmailSubscriptionClassStatusEnum: {
98
+ readonly Pending: "pending";
99
+ readonly Active: "active";
100
+ readonly Failed: "failed";
101
+ readonly Deleting: "deleting";
102
+ readonly DeletionFailed: "deletion-failed";
103
+ };
104
+ export type EmailSubscriptionClassStatusEnum = typeof EmailSubscriptionClassStatusEnum[keyof typeof EmailSubscriptionClassStatusEnum];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService 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
+ exports.EmailSubscriptionClassStatusEnum = void 0;
17
+ exports.EmailSubscriptionClassStatusEnum = {
18
+ Pending: 'pending',
19
+ Active: 'active',
20
+ Failed: 'failed',
21
+ Deleting: 'deleting',
22
+ DeletionFailed: 'deletion-failed'
23
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService 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 { EmailSubscriptionClass } from './email-subscription-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetEmailSubscriptionResponseClass
17
+ */
18
+ export interface GetEmailSubscriptionResponseClass {
19
+ /**
20
+ * The email subscription response.
21
+ * @type {EmailSubscriptionClass}
22
+ * @memberof GetEmailSubscriptionResponseClass
23
+ */
24
+ 'emailSubscription': EmailSubscriptionClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService 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 });
@@ -11,9 +11,11 @@ export * from './delete-notification-template-request-dto';
11
11
  export * from './download-attachment-response-class';
12
12
  export * from './email-attachment-class';
13
13
  export * from './email-message-class';
14
+ export * from './email-subscription-class';
14
15
  export * from './email-thread-class';
15
16
  export * from './entity-ref-class';
16
17
  export * from './get-email-message-response-class';
18
+ export * from './get-email-subscription-response-class';
17
19
  export * from './get-email-thread-response-class';
18
20
  export * from './get-layout-request-dto';
19
21
  export * from './get-layout-response-class';
@@ -29,10 +31,14 @@ export * from './inline-response503';
29
31
  export * from './layout-class';
30
32
  export * from './list-email-attachments-response-class';
31
33
  export * from './list-email-messages-response-class';
34
+ export * from './list-email-subscriptions-response-class';
32
35
  export * from './list-email-threads-response-class';
33
36
  export * from './list-layouts-response-class';
34
37
  export * from './list-notification-templates-response-class';
35
38
  export * from './notification-template-class';
39
+ export * from './reconcile-email-subscriptions-request-dto';
40
+ export * from './reconcile-email-subscriptions-response-class';
41
+ export * from './renew-email-subscription-response-class';
36
42
  export * from './s3-document-dto';
37
43
  export * from './send-email-request-dto';
38
44
  export * from './send-email-response-class';
@@ -27,9 +27,11 @@ __exportStar(require("./delete-notification-template-request-dto"), exports);
27
27
  __exportStar(require("./download-attachment-response-class"), exports);
28
28
  __exportStar(require("./email-attachment-class"), exports);
29
29
  __exportStar(require("./email-message-class"), exports);
30
+ __exportStar(require("./email-subscription-class"), exports);
30
31
  __exportStar(require("./email-thread-class"), exports);
31
32
  __exportStar(require("./entity-ref-class"), exports);
32
33
  __exportStar(require("./get-email-message-response-class"), exports);
34
+ __exportStar(require("./get-email-subscription-response-class"), exports);
33
35
  __exportStar(require("./get-email-thread-response-class"), exports);
34
36
  __exportStar(require("./get-layout-request-dto"), exports);
35
37
  __exportStar(require("./get-layout-response-class"), exports);
@@ -45,10 +47,14 @@ __exportStar(require("./inline-response503"), exports);
45
47
  __exportStar(require("./layout-class"), exports);
46
48
  __exportStar(require("./list-email-attachments-response-class"), exports);
47
49
  __exportStar(require("./list-email-messages-response-class"), exports);
50
+ __exportStar(require("./list-email-subscriptions-response-class"), exports);
48
51
  __exportStar(require("./list-email-threads-response-class"), exports);
49
52
  __exportStar(require("./list-layouts-response-class"), exports);
50
53
  __exportStar(require("./list-notification-templates-response-class"), exports);
51
54
  __exportStar(require("./notification-template-class"), exports);
55
+ __exportStar(require("./reconcile-email-subscriptions-request-dto"), exports);
56
+ __exportStar(require("./reconcile-email-subscriptions-response-class"), exports);
57
+ __exportStar(require("./renew-email-subscription-response-class"), exports);
52
58
  __exportStar(require("./s3-document-dto"), exports);
53
59
  __exportStar(require("./send-email-request-dto"), exports);
54
60
  __exportStar(require("./send-email-response-class"), exports);
@@ -0,0 +1,43 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService 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 { EmailSubscriptionClass } from './email-subscription-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListEmailSubscriptionsResponseClass
17
+ */
18
+ export interface ListEmailSubscriptionsResponseClass {
19
+ /**
20
+ * List of email subscriptions
21
+ * @type {Array<EmailSubscriptionClass>}
22
+ * @memberof ListEmailSubscriptionsResponseClass
23
+ */
24
+ 'items': Array<EmailSubscriptionClass>;
25
+ /**
26
+ * Token for next page of results
27
+ * @type {string}
28
+ * @memberof ListEmailSubscriptionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ /**
32
+ * Total number of items
33
+ * @type {number}
34
+ * @memberof ListEmailSubscriptionsResponseClass
35
+ */
36
+ 'totalItems': number;
37
+ /**
38
+ * Number of items per page
39
+ * @type {number}
40
+ * @memberof ListEmailSubscriptionsResponseClass
41
+ */
42
+ 'itemsPerPage': number;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService 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,24 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService 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 ReconcileEmailSubscriptionsRequestDto
16
+ */
17
+ export interface ReconcileEmailSubscriptionsRequestDto {
18
+ /**
19
+ * Reconcile the email channel of this product. Omit it to reconcile the tenant-wide email channel.
20
+ * @type {string}
21
+ * @memberof ReconcileEmailSubscriptionsRequestDto
22
+ */
23
+ 'productSlug'?: string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService 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,48 @@
1
+ /**
2
+ * EMIL NotificationService
3
+ * The EMIL NotificationService 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 ReconcileEmailSubscriptionsResponseClass
16
+ */
17
+ export interface ReconcileEmailSubscriptionsResponseClass {
18
+ /**
19
+ * Subscriptions created for mailboxes and folders that had none
20
+ * @type {number}
21
+ * @memberof ReconcileEmailSubscriptionsResponseClass
22
+ */
23
+ 'created': number;
24
+ /**
25
+ * Subscriptions deleted because their mailbox or folder left the email channel
26
+ * @type {number}
27
+ * @memberof ReconcileEmailSubscriptionsResponseClass
28
+ */
29
+ 'deleted': number;
30
+ /**
31
+ * Subscriptions created again because they expired or failed
32
+ * @type {number}
33
+ * @memberof ReconcileEmailSubscriptionsResponseClass
34
+ */
35
+ 'resubscribed': number;
36
+ /**
37
+ * Subscriptions that were already in place
38
+ * @type {number}
39
+ * @memberof ReconcileEmailSubscriptionsResponseClass
40
+ */
41
+ 'unchanged': number;
42
+ /**
43
+ * Subscriptions whose Graph call failed. The sweep retries them, and the email subscription list shows the error.
44
+ * @type {number}
45
+ * @memberof ReconcileEmailSubscriptionsResponseClass
46
+ */
47
+ 'failed': number;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService 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 NotificationService
3
+ * The EMIL NotificationService 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 { EmailSubscriptionClass } from './email-subscription-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface RenewEmailSubscriptionResponseClass
17
+ */
18
+ export interface RenewEmailSubscriptionResponseClass {
19
+ /**
20
+ * The email subscription response.
21
+ * @type {EmailSubscriptionClass}
22
+ * @memberof RenewEmailSubscriptionResponseClass
23
+ */
24
+ 'emailSubscription': EmailSubscriptionClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL NotificationService
6
+ * The EMIL NotificationService 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 });
@@ -160,6 +160,12 @@ export interface EmailMessageClass {
160
160
  * @memberof EmailMessageClass
161
161
  */
162
162
  'attachments': Array<EmailAttachmentClass>;
163
+ /**
164
+ * Inbound only: how many attachments the email arrived with, images embedded in the body not counted. At most 10 attachments and 35 MB in total are kept, in order, stopping at the first that does not fit; when this is higher than the length of `attachments`, the rest are only in the original email.
165
+ * @type {number}
166
+ * @memberof EmailMessageClass
167
+ */
168
+ 'attachmentCount'?: number;
163
169
  /**
164
170
  * The entity the message\'s thread is linked to. Not set while the message is unassigned.
165
171
  * @type {EntityRefClass}
@@ -0,0 +1,113 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL NotificationService
5
+ * The EMIL NotificationService 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 EmailSubscriptionClass
21
+ */
22
+ export interface EmailSubscriptionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof EmailSubscriptionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Tenant the subscription belongs to
31
+ * @type {string}
32
+ * @memberof EmailSubscriptionClass
33
+ */
34
+ 'tenantSlug': string;
35
+ /**
36
+ * Product whose email channel configures the mailbox. Empty for the tenant-wide email channel.
37
+ * @type {string}
38
+ * @memberof EmailSubscriptionClass
39
+ */
40
+ 'productSlug'?: string;
41
+ /**
42
+ * Mailbox whose incoming mail is delivered to the platform
43
+ * @type {string}
44
+ * @memberof EmailSubscriptionClass
45
+ */
46
+ 'mailbox': string;
47
+ /**
48
+ * Mailbox folder the subscription watches
49
+ * @type {string}
50
+ * @memberof EmailSubscriptionClass
51
+ */
52
+ 'folder': string;
53
+ /**
54
+ * Id of the subscription in Microsoft Graph. Empty while the subscription is not created yet.
55
+ * @type {string}
56
+ * @memberof EmailSubscriptionClass
57
+ */
58
+ 'subscriptionId'?: string;
59
+ /**
60
+ * Subscription status. active: Graph delivers new mail. pending: the subscription still has to be created. failed: Graph could not renew it in time. deleting / deletion-failed: the mailbox was removed from the email channel and the subscription is being deleted.
61
+ * @type {string}
62
+ * @memberof EmailSubscriptionClass
63
+ */
64
+ 'status': EmailSubscriptionClassStatusEnum;
65
+ /**
66
+ * When Microsoft Graph stops delivering mail unless the subscription is renewed. Renewed automatically within the last 24 hours.
67
+ * @type {string}
68
+ * @memberof EmailSubscriptionClass
69
+ */
70
+ 'expiresAt'?: string;
71
+ /**
72
+ * When the subscription was last created or renewed
73
+ * @type {string}
74
+ * @memberof EmailSubscriptionClass
75
+ */
76
+ 'lastRenewedAt'?: string;
77
+ /**
78
+ * When Microsoft Graph last notified about new mail
79
+ * @type {string}
80
+ * @memberof EmailSubscriptionClass
81
+ */
82
+ 'lastNotificationAt'?: string;
83
+ /**
84
+ * Error of the last failed Graph call, empty once it succeeds
85
+ * @type {string}
86
+ * @memberof EmailSubscriptionClass
87
+ */
88
+ 'lastError'?: string;
89
+ /**
90
+ * Created at timestamp
91
+ * @type {string}
92
+ * @memberof EmailSubscriptionClass
93
+ */
94
+ 'createdAt': string;
95
+ /**
96
+ * Updated at timestamp
97
+ * @type {string}
98
+ * @memberof EmailSubscriptionClass
99
+ */
100
+ 'updatedAt': string;
101
+ }
102
+
103
+ export const EmailSubscriptionClassStatusEnum = {
104
+ Pending: 'pending',
105
+ Active: 'active',
106
+ Failed: 'failed',
107
+ Deleting: 'deleting',
108
+ DeletionFailed: 'deletion-failed'
109
+ } as const;
110
+
111
+ export type EmailSubscriptionClassStatusEnum = typeof EmailSubscriptionClassStatusEnum[keyof typeof EmailSubscriptionClassStatusEnum];
112
+
113
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL NotificationService
5
+ * The EMIL NotificationService 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 { EmailSubscriptionClass } from './email-subscription-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetEmailSubscriptionResponseClass
22
+ */
23
+ export interface GetEmailSubscriptionResponseClass {
24
+ /**
25
+ * The email subscription response.
26
+ * @type {EmailSubscriptionClass}
27
+ * @memberof GetEmailSubscriptionResponseClass
28
+ */
29
+ 'emailSubscription': EmailSubscriptionClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -11,9 +11,11 @@ export * from './delete-notification-template-request-dto';
11
11
  export * from './download-attachment-response-class';
12
12
  export * from './email-attachment-class';
13
13
  export * from './email-message-class';
14
+ export * from './email-subscription-class';
14
15
  export * from './email-thread-class';
15
16
  export * from './entity-ref-class';
16
17
  export * from './get-email-message-response-class';
18
+ export * from './get-email-subscription-response-class';
17
19
  export * from './get-email-thread-response-class';
18
20
  export * from './get-layout-request-dto';
19
21
  export * from './get-layout-response-class';
@@ -29,10 +31,14 @@ export * from './inline-response503';
29
31
  export * from './layout-class';
30
32
  export * from './list-email-attachments-response-class';
31
33
  export * from './list-email-messages-response-class';
34
+ export * from './list-email-subscriptions-response-class';
32
35
  export * from './list-email-threads-response-class';
33
36
  export * from './list-layouts-response-class';
34
37
  export * from './list-notification-templates-response-class';
35
38
  export * from './notification-template-class';
39
+ export * from './reconcile-email-subscriptions-request-dto';
40
+ export * from './reconcile-email-subscriptions-response-class';
41
+ export * from './renew-email-subscription-response-class';
36
42
  export * from './s3-document-dto';
37
43
  export * from './send-email-request-dto';
38
44
  export * from './send-email-response-class';
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL NotificationService
5
+ * The EMIL NotificationService 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 { EmailSubscriptionClass } from './email-subscription-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListEmailSubscriptionsResponseClass
22
+ */
23
+ export interface ListEmailSubscriptionsResponseClass {
24
+ /**
25
+ * List of email subscriptions
26
+ * @type {Array<EmailSubscriptionClass>}
27
+ * @memberof ListEmailSubscriptionsResponseClass
28
+ */
29
+ 'items': Array<EmailSubscriptionClass>;
30
+ /**
31
+ * Token for next page of results
32
+ * @type {string}
33
+ * @memberof ListEmailSubscriptionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Total number of items
38
+ * @type {number}
39
+ * @memberof ListEmailSubscriptionsResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Number of items per page
44
+ * @type {number}
45
+ * @memberof ListEmailSubscriptionsResponseClass
46
+ */
47
+ 'itemsPerPage': number;
48
+ }
49
+