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

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 (47) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/email-subscriptions-api.ts +559 -0
  4. package/api/email-tracking-api.ts +16 -16
  5. package/api.ts +2 -0
  6. package/base.ts +36 -15
  7. package/configuration.ts +11 -0
  8. package/dist/api/email-subscriptions-api.d.ts +319 -0
  9. package/dist/api/email-subscriptions-api.js +537 -0
  10. package/dist/api/email-tracking-api.d.ts +16 -16
  11. package/dist/api/email-tracking-api.js +13 -13
  12. package/dist/api.d.ts +1 -0
  13. package/dist/api.js +1 -0
  14. package/dist/base.d.ts +1 -0
  15. package/dist/base.js +36 -16
  16. package/dist/configuration.d.ts +9 -0
  17. package/dist/configuration.js +1 -0
  18. package/dist/models/email-message-class.d.ts +7 -2
  19. package/dist/models/email-message-class.js +0 -1
  20. package/dist/models/email-message-summary-class.d.ts +85 -0
  21. package/dist/models/email-message-summary-class.js +27 -0
  22. package/dist/models/email-subscription-class.d.ts +104 -0
  23. package/dist/models/email-subscription-class.js +23 -0
  24. package/dist/models/email-thread-class.d.ts +25 -0
  25. package/dist/models/get-email-subscription-response-class.d.ts +25 -0
  26. package/dist/models/get-email-subscription-response-class.js +15 -0
  27. package/dist/models/index.d.ts +7 -0
  28. package/dist/models/index.js +7 -0
  29. package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
  30. package/dist/models/list-email-subscriptions-response-class.js +15 -0
  31. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
  32. package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
  33. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
  34. package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
  35. package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
  36. package/dist/models/renew-email-subscription-response-class.js +15 -0
  37. package/models/email-message-class.ts +7 -2
  38. package/models/email-message-summary-class.ts +95 -0
  39. package/models/email-subscription-class.ts +113 -0
  40. package/models/email-thread-class.ts +25 -0
  41. package/models/get-email-subscription-response-class.ts +31 -0
  42. package/models/index.ts +7 -0
  43. package/models/list-email-subscriptions-response-class.ts +49 -0
  44. package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
  45. package/models/reconcile-email-subscriptions-response-class.ts +54 -0
  46. package/models/renew-email-subscription-response-class.ts +31 -0
  47. package/package.json +1 -1
package/models/index.ts CHANGED
@@ -11,9 +11,12 @@ 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-message-summary-class';
15
+ export * from './email-subscription-class';
14
16
  export * from './email-thread-class';
15
17
  export * from './entity-ref-class';
16
18
  export * from './get-email-message-response-class';
19
+ export * from './get-email-subscription-response-class';
17
20
  export * from './get-email-thread-response-class';
18
21
  export * from './get-layout-request-dto';
19
22
  export * from './get-layout-response-class';
@@ -29,10 +32,14 @@ export * from './inline-response503';
29
32
  export * from './layout-class';
30
33
  export * from './list-email-attachments-response-class';
31
34
  export * from './list-email-messages-response-class';
35
+ export * from './list-email-subscriptions-response-class';
32
36
  export * from './list-email-threads-response-class';
33
37
  export * from './list-layouts-response-class';
34
38
  export * from './list-notification-templates-response-class';
35
39
  export * from './notification-template-class';
40
+ export * from './reconcile-email-subscriptions-request-dto';
41
+ export * from './reconcile-email-subscriptions-response-class';
42
+ export * from './renew-email-subscription-response-class';
36
43
  export * from './s3-document-dto';
37
44
  export * from './send-email-request-dto';
38
45
  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
+
@@ -0,0 +1,30 @@
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 ReconcileEmailSubscriptionsRequestDto
21
+ */
22
+ export interface ReconcileEmailSubscriptionsRequestDto {
23
+ /**
24
+ * Reconcile the email channel of this product. Omit it to reconcile the tenant-wide email channel.
25
+ * @type {string}
26
+ * @memberof ReconcileEmailSubscriptionsRequestDto
27
+ */
28
+ 'productSlug'?: string;
29
+ }
30
+
@@ -0,0 +1,54 @@
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 ReconcileEmailSubscriptionsResponseClass
21
+ */
22
+ export interface ReconcileEmailSubscriptionsResponseClass {
23
+ /**
24
+ * Subscriptions created for mailboxes and folders that had none
25
+ * @type {number}
26
+ * @memberof ReconcileEmailSubscriptionsResponseClass
27
+ */
28
+ 'created': number;
29
+ /**
30
+ * Subscriptions deleted because their mailbox or folder left the email channel
31
+ * @type {number}
32
+ * @memberof ReconcileEmailSubscriptionsResponseClass
33
+ */
34
+ 'deleted': number;
35
+ /**
36
+ * Subscriptions created again because they expired or failed
37
+ * @type {number}
38
+ * @memberof ReconcileEmailSubscriptionsResponseClass
39
+ */
40
+ 'resubscribed': number;
41
+ /**
42
+ * Subscriptions that were already in place
43
+ * @type {number}
44
+ * @memberof ReconcileEmailSubscriptionsResponseClass
45
+ */
46
+ 'unchanged': number;
47
+ /**
48
+ * Subscriptions whose Graph call failed. The sweep retries them, and the email subscription list shows the error.
49
+ * @type {number}
50
+ * @memberof ReconcileEmailSubscriptionsResponseClass
51
+ */
52
+ 'failed': number;
53
+ }
54
+
@@ -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 RenewEmailSubscriptionResponseClass
22
+ */
23
+ export interface RenewEmailSubscriptionResponseClass {
24
+ /**
25
+ * The email subscription response.
26
+ * @type {EmailSubscriptionClass}
27
+ * @memberof RenewEmailSubscriptionResponseClass
28
+ */
29
+ 'emailSubscription': EmailSubscriptionClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk",
3
- "version": "0.8.1-beta.40",
3
+ "version": "0.8.1-beta.42",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [