@emilgroup/notification-sdk 0.8.1-beta.52 → 0.8.1-beta.54

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.
@@ -20,6 +20,9 @@ git_push.sh
20
20
  index.ts
21
21
  models/assign-email-thread-entity-body-dto.ts
22
22
  models/assign-email-thread-entity-response-class.ts
23
+ models/catch-up-email-subscription-response-class.ts
24
+ models/catch-up-email-subscriptions-request-dto.ts
25
+ models/catch-up-email-subscriptions-response-class.ts
23
26
  models/complete-email-verification-dto.ts
24
27
  models/complete-email-verification-response-class.ts
25
28
  models/create-layout-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/notification-sdk@0.8.1-beta.52 --save
20
+ npm install @emilgroup/notification-sdk@0.8.1-beta.54 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/notification-sdk@0.8.1-beta.52
24
+ yarn add @emilgroup/notification-sdk@0.8.1-beta.54
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -21,6 +21,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { CatchUpEmailSubscriptionResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { CatchUpEmailSubscriptionsRequestDto } from '../models';
27
+ // @ts-ignore
28
+ import { CatchUpEmailSubscriptionsResponseClass } from '../models';
29
+ // @ts-ignore
24
30
  import { GetEmailSubscriptionResponseClass } from '../models';
25
31
  // @ts-ignore
26
32
  import { ListEmailSubscriptionsResponseClass } from '../models';
@@ -36,6 +42,98 @@ import { RenewEmailSubscriptionResponseClass } from '../models';
36
42
  */
37
43
  export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?: Configuration) {
38
44
  return {
45
+ /**
46
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
47
+ * @summary Catch up missed mail for the email subscription
48
+ * @param {number} id
49
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ catchUpEmailSubscription: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
+ // verify required parameter 'id' is not null or undefined
55
+ assertParamExists('catchUpEmailSubscription', 'id', id)
56
+ const localVarPath = `/notificationservice/v1/email-subscriptions/{id}/catch-up`
57
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
58
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
59
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60
+ let baseOptions;
61
+ let baseAccessToken;
62
+ if (configuration) {
63
+ baseOptions = configuration.baseOptions;
64
+ baseAccessToken = configuration.accessToken;
65
+ }
66
+
67
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
68
+ const localVarHeaderParameter = {} as any;
69
+ const localVarQueryParameter = {} as any;
70
+
71
+ // authentication bearer required
72
+ // http bearer authentication required
73
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
74
+
75
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
76
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
77
+ }
78
+
79
+
80
+
81
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
82
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
84
+
85
+ return {
86
+ url: toPathString(localVarUrlObj),
87
+ options: localVarRequestOptions,
88
+ };
89
+ },
90
+ /**
91
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
92
+ * @summary Catch up missed mail for all email subscriptions
93
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
94
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ catchUpEmailSubscriptions: async (catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
+ // verify required parameter 'catchUpEmailSubscriptionsRequestDto' is not null or undefined
100
+ assertParamExists('catchUpEmailSubscriptions', 'catchUpEmailSubscriptionsRequestDto', catchUpEmailSubscriptionsRequestDto)
101
+ const localVarPath = `/notificationservice/v1/email-subscriptions/catch-up`;
102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
103
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
104
+ let baseOptions;
105
+ let baseAccessToken;
106
+ if (configuration) {
107
+ baseOptions = configuration.baseOptions;
108
+ baseAccessToken = configuration.accessToken;
109
+ }
110
+
111
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
112
+ const localVarHeaderParameter = {} as any;
113
+ const localVarQueryParameter = {} as any;
114
+
115
+ // authentication bearer required
116
+ // http bearer authentication required
117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
118
+
119
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
120
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
121
+ }
122
+
123
+
124
+
125
+ localVarHeaderParameter['Content-Type'] = 'application/json';
126
+
127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
130
+ localVarRequestOptions.data = serializeDataIfNeeded(catchUpEmailSubscriptionsRequestDto, localVarRequestOptions, configuration)
131
+
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ },
39
137
  /**
40
138
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
41
139
  * @summary Retrieve the email subscription
@@ -259,6 +357,30 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
259
357
  export const EmailSubscriptionsApiFp = function(configuration?: Configuration) {
260
358
  const localVarAxiosParamCreator = EmailSubscriptionsApiAxiosParamCreator(configuration)
261
359
  return {
360
+ /**
361
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
362
+ * @summary Catch up missed mail for the email subscription
363
+ * @param {number} id
364
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ async catchUpEmailSubscription(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CatchUpEmailSubscriptionResponseClass>> {
369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.catchUpEmailSubscription(id, authorization, options);
370
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
371
+ },
372
+ /**
373
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
374
+ * @summary Catch up missed mail for all email subscriptions
375
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
376
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
377
+ * @param {*} [options] Override http request option.
378
+ * @throws {RequiredError}
379
+ */
380
+ async catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CatchUpEmailSubscriptionsResponseClass>> {
381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto, authorization, options);
382
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
383
+ },
262
384
  /**
263
385
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
264
386
  * @summary Retrieve the email subscription
@@ -323,6 +445,28 @@ export const EmailSubscriptionsApiFp = function(configuration?: Configuration) {
323
445
  export const EmailSubscriptionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
324
446
  const localVarFp = EmailSubscriptionsApiFp(configuration)
325
447
  return {
448
+ /**
449
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
450
+ * @summary Catch up missed mail for the email subscription
451
+ * @param {number} id
452
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ catchUpEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<CatchUpEmailSubscriptionResponseClass> {
457
+ return localVarFp.catchUpEmailSubscription(id, authorization, options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
461
+ * @summary Catch up missed mail for all email subscriptions
462
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
463
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
464
+ * @param {*} [options] Override http request option.
465
+ * @throws {RequiredError}
466
+ */
467
+ catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto, authorization?: string, options?: any): AxiosPromise<CatchUpEmailSubscriptionsResponseClass> {
468
+ return localVarFp.catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto, authorization, options).then((request) => request(axios, basePath));
469
+ },
326
470
  /**
327
471
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
328
472
  * @summary Retrieve the email subscription
@@ -376,6 +520,48 @@ export const EmailSubscriptionsApiFactory = function (configuration?: Configurat
376
520
  };
377
521
  };
378
522
 
523
+ /**
524
+ * Request parameters for catchUpEmailSubscription operation in EmailSubscriptionsApi.
525
+ * @export
526
+ * @interface EmailSubscriptionsApiCatchUpEmailSubscriptionRequest
527
+ */
528
+ export interface EmailSubscriptionsApiCatchUpEmailSubscriptionRequest {
529
+ /**
530
+ *
531
+ * @type {number}
532
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscription
533
+ */
534
+ readonly id: number
535
+
536
+ /**
537
+ * Bearer Token: provided by the login endpoint under the name accessToken.
538
+ * @type {string}
539
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscription
540
+ */
541
+ readonly authorization?: string
542
+ }
543
+
544
+ /**
545
+ * Request parameters for catchUpEmailSubscriptions operation in EmailSubscriptionsApi.
546
+ * @export
547
+ * @interface EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest
548
+ */
549
+ export interface EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest {
550
+ /**
551
+ *
552
+ * @type {CatchUpEmailSubscriptionsRequestDto}
553
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscriptions
554
+ */
555
+ readonly catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto
556
+
557
+ /**
558
+ * Bearer Token: provided by the login endpoint under the name accessToken.
559
+ * @type {string}
560
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscriptions
561
+ */
562
+ readonly authorization?: string
563
+ }
564
+
379
565
  /**
380
566
  * Request parameters for getEmailSubscription operation in EmailSubscriptionsApi.
381
567
  * @export
@@ -509,6 +695,30 @@ export interface EmailSubscriptionsApiRenewEmailSubscriptionRequest {
509
695
  * @extends {BaseAPI}
510
696
  */
511
697
  export class EmailSubscriptionsApi extends BaseAPI {
698
+ /**
699
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
700
+ * @summary Catch up missed mail for the email subscription
701
+ * @param {EmailSubscriptionsApiCatchUpEmailSubscriptionRequest} requestParameters Request parameters.
702
+ * @param {*} [options] Override http request option.
703
+ * @throws {RequiredError}
704
+ * @memberof EmailSubscriptionsApi
705
+ */
706
+ public catchUpEmailSubscription(requestParameters: EmailSubscriptionsApiCatchUpEmailSubscriptionRequest, options?: AxiosRequestConfig) {
707
+ return EmailSubscriptionsApiFp(this.configuration).catchUpEmailSubscription(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
708
+ }
709
+
710
+ /**
711
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
712
+ * @summary Catch up missed mail for all email subscriptions
713
+ * @param {EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest} requestParameters Request parameters.
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ * @memberof EmailSubscriptionsApi
717
+ */
718
+ public catchUpEmailSubscriptions(requestParameters: EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest, options?: AxiosRequestConfig) {
719
+ return EmailSubscriptionsApiFp(this.configuration).catchUpEmailSubscriptions(requestParameters.catchUpEmailSubscriptionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
720
+ }
721
+
512
722
  /**
513
723
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
514
724
  * @summary Retrieve the email subscription
@@ -12,6 +12,9 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CatchUpEmailSubscriptionResponseClass } from '../models';
16
+ import { CatchUpEmailSubscriptionsRequestDto } from '../models';
17
+ import { CatchUpEmailSubscriptionsResponseClass } from '../models';
15
18
  import { GetEmailSubscriptionResponseClass } from '../models';
16
19
  import { ListEmailSubscriptionsResponseClass } from '../models';
17
20
  import { ReconcileEmailSubscriptionsRequestDto } from '../models';
@@ -22,6 +25,24 @@ import { RenewEmailSubscriptionResponseClass } from '../models';
22
25
  * @export
23
26
  */
24
27
  export declare const EmailSubscriptionsApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
30
+ * @summary Catch up missed mail for the email subscription
31
+ * @param {number} id
32
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ catchUpEmailSubscription: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
39
+ * @summary Catch up missed mail for all email subscriptions
40
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ catchUpEmailSubscriptions: (catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25
46
  /**
26
47
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
27
48
  * @summary Retrieve the email subscription
@@ -70,6 +91,24 @@ export declare const EmailSubscriptionsApiAxiosParamCreator: (configuration?: Co
70
91
  * @export
71
92
  */
72
93
  export declare const EmailSubscriptionsApiFp: (configuration?: Configuration) => {
94
+ /**
95
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
96
+ * @summary Catch up missed mail for the email subscription
97
+ * @param {number} id
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ catchUpEmailSubscription(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CatchUpEmailSubscriptionResponseClass>>;
103
+ /**
104
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
105
+ * @summary Catch up missed mail for all email subscriptions
106
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
107
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CatchUpEmailSubscriptionsResponseClass>>;
73
112
  /**
74
113
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
75
114
  * @summary Retrieve the email subscription
@@ -118,6 +157,24 @@ export declare const EmailSubscriptionsApiFp: (configuration?: Configuration) =>
118
157
  * @export
119
158
  */
120
159
  export declare const EmailSubscriptionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
160
+ /**
161
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
162
+ * @summary Catch up missed mail for the email subscription
163
+ * @param {number} id
164
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ catchUpEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<CatchUpEmailSubscriptionResponseClass>;
169
+ /**
170
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
171
+ * @summary Catch up missed mail for all email subscriptions
172
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
173
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto, authorization?: string, options?: any): AxiosPromise<CatchUpEmailSubscriptionsResponseClass>;
121
178
  /**
122
179
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
123
180
  * @summary Retrieve the email subscription
@@ -161,6 +218,44 @@ export declare const EmailSubscriptionsApiFactory: (configuration?: Configuratio
161
218
  */
162
219
  renewEmailSubscription(id: number, authorization?: string, options?: any): AxiosPromise<RenewEmailSubscriptionResponseClass>;
163
220
  };
221
+ /**
222
+ * Request parameters for catchUpEmailSubscription operation in EmailSubscriptionsApi.
223
+ * @export
224
+ * @interface EmailSubscriptionsApiCatchUpEmailSubscriptionRequest
225
+ */
226
+ export interface EmailSubscriptionsApiCatchUpEmailSubscriptionRequest {
227
+ /**
228
+ *
229
+ * @type {number}
230
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscription
231
+ */
232
+ readonly id: number;
233
+ /**
234
+ * Bearer Token: provided by the login endpoint under the name accessToken.
235
+ * @type {string}
236
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscription
237
+ */
238
+ readonly authorization?: string;
239
+ }
240
+ /**
241
+ * Request parameters for catchUpEmailSubscriptions operation in EmailSubscriptionsApi.
242
+ * @export
243
+ * @interface EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest
244
+ */
245
+ export interface EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest {
246
+ /**
247
+ *
248
+ * @type {CatchUpEmailSubscriptionsRequestDto}
249
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscriptions
250
+ */
251
+ readonly catchUpEmailSubscriptionsRequestDto: CatchUpEmailSubscriptionsRequestDto;
252
+ /**
253
+ * Bearer Token: provided by the login endpoint under the name accessToken.
254
+ * @type {string}
255
+ * @memberof EmailSubscriptionsApiCatchUpEmailSubscriptions
256
+ */
257
+ readonly authorization?: string;
258
+ }
164
259
  /**
165
260
  * Request parameters for getEmailSubscription operation in EmailSubscriptionsApi.
166
261
  * @export
@@ -280,6 +375,24 @@ export interface EmailSubscriptionsApiRenewEmailSubscriptionRequest {
280
375
  * @extends {BaseAPI}
281
376
  */
282
377
  export declare class EmailSubscriptionsApi extends BaseAPI {
378
+ /**
379
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
380
+ * @summary Catch up missed mail for the email subscription
381
+ * @param {EmailSubscriptionsApiCatchUpEmailSubscriptionRequest} requestParameters Request parameters.
382
+ * @param {*} [options] Override http request option.
383
+ * @throws {RequiredError}
384
+ * @memberof EmailSubscriptionsApi
385
+ */
386
+ catchUpEmailSubscription(requestParameters: EmailSubscriptionsApiCatchUpEmailSubscriptionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CatchUpEmailSubscriptionResponseClass, any, {}>>;
387
+ /**
388
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
389
+ * @summary Catch up missed mail for all email subscriptions
390
+ * @param {EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest} requestParameters Request parameters.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ * @memberof EmailSubscriptionsApi
394
+ */
395
+ catchUpEmailSubscriptions(requestParameters: EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CatchUpEmailSubscriptionsResponseClass, any, {}>>;
283
396
  /**
284
397
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
285
398
  * @summary Retrieve the email subscription
@@ -92,6 +92,103 @@ var base_1 = require("../base");
92
92
  var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
+ /**
96
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
97
+ * @summary Catch up missed mail for the email subscription
98
+ * @param {number} id
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ catchUpEmailSubscription: function (id, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
109
+ case 0:
110
+ // verify required parameter 'id' is not null or undefined
111
+ (0, common_1.assertParamExists)('catchUpEmailSubscription', 'id', id);
112
+ localVarPath = "/notificationservice/v1/email-subscriptions/{id}/catch-up"
113
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
114
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
+ if (configuration) {
116
+ baseOptions = configuration.baseOptions;
117
+ baseAccessToken = configuration.accessToken;
118
+ }
119
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
120
+ localVarHeaderParameter = {};
121
+ localVarQueryParameter = {};
122
+ // authentication bearer required
123
+ // http bearer authentication required
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
125
+ case 1:
126
+ // authentication bearer required
127
+ // http bearer authentication required
128
+ _a.sent();
129
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ }
132
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
+ return [2 /*return*/, {
136
+ url: (0, common_1.toPathString)(localVarUrlObj),
137
+ options: localVarRequestOptions,
138
+ }];
139
+ }
140
+ });
141
+ });
142
+ },
143
+ /**
144
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
145
+ * @summary Catch up missed mail for all email subscriptions
146
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
147
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ catchUpEmailSubscriptions: function (catchUpEmailSubscriptionsRequestDto, authorization, options) {
152
+ if (options === void 0) { options = {}; }
153
+ return __awaiter(_this, void 0, void 0, function () {
154
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
155
+ return __generator(this, function (_a) {
156
+ switch (_a.label) {
157
+ case 0:
158
+ // verify required parameter 'catchUpEmailSubscriptionsRequestDto' is not null or undefined
159
+ (0, common_1.assertParamExists)('catchUpEmailSubscriptions', 'catchUpEmailSubscriptionsRequestDto', catchUpEmailSubscriptionsRequestDto);
160
+ localVarPath = "/notificationservice/v1/email-subscriptions/catch-up";
161
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
162
+ if (configuration) {
163
+ baseOptions = configuration.baseOptions;
164
+ baseAccessToken = configuration.accessToken;
165
+ }
166
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
167
+ localVarHeaderParameter = {};
168
+ localVarQueryParameter = {};
169
+ // authentication bearer required
170
+ // http bearer authentication required
171
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
172
+ case 1:
173
+ // authentication bearer required
174
+ // http bearer authentication required
175
+ _a.sent();
176
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
177
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
178
+ }
179
+ localVarHeaderParameter['Content-Type'] = 'application/json';
180
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
181
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
182
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
183
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(catchUpEmailSubscriptionsRequestDto, localVarRequestOptions, configuration);
184
+ return [2 /*return*/, {
185
+ url: (0, common_1.toPathString)(localVarUrlObj),
186
+ options: localVarRequestOptions,
187
+ }];
188
+ }
189
+ });
190
+ });
191
+ },
95
192
  /**
96
193
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
97
194
  * @summary Retrieve the email subscription
@@ -319,6 +416,48 @@ exports.EmailSubscriptionsApiAxiosParamCreator = EmailSubscriptionsApiAxiosParam
319
416
  var EmailSubscriptionsApiFp = function (configuration) {
320
417
  var localVarAxiosParamCreator = (0, exports.EmailSubscriptionsApiAxiosParamCreator)(configuration);
321
418
  return {
419
+ /**
420
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
421
+ * @summary Catch up missed mail for the email subscription
422
+ * @param {number} id
423
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ */
427
+ catchUpEmailSubscription: function (id, authorization, options) {
428
+ return __awaiter(this, void 0, void 0, function () {
429
+ var localVarAxiosArgs;
430
+ return __generator(this, function (_a) {
431
+ switch (_a.label) {
432
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.catchUpEmailSubscription(id, authorization, options)];
433
+ case 1:
434
+ localVarAxiosArgs = _a.sent();
435
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
436
+ }
437
+ });
438
+ });
439
+ },
440
+ /**
441
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
442
+ * @summary Catch up missed mail for all email subscriptions
443
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
444
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ */
448
+ catchUpEmailSubscriptions: function (catchUpEmailSubscriptionsRequestDto, authorization, options) {
449
+ return __awaiter(this, void 0, void 0, function () {
450
+ var localVarAxiosArgs;
451
+ return __generator(this, function (_a) {
452
+ switch (_a.label) {
453
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto, authorization, options)];
454
+ case 1:
455
+ localVarAxiosArgs = _a.sent();
456
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
457
+ }
458
+ });
459
+ });
460
+ },
322
461
  /**
323
462
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
324
463
  * @summary Retrieve the email subscription
@@ -419,6 +558,28 @@ exports.EmailSubscriptionsApiFp = EmailSubscriptionsApiFp;
419
558
  var EmailSubscriptionsApiFactory = function (configuration, basePath, axios) {
420
559
  var localVarFp = (0, exports.EmailSubscriptionsApiFp)(configuration);
421
560
  return {
561
+ /**
562
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
563
+ * @summary Catch up missed mail for the email subscription
564
+ * @param {number} id
565
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ */
569
+ catchUpEmailSubscription: function (id, authorization, options) {
570
+ return localVarFp.catchUpEmailSubscription(id, authorization, options).then(function (request) { return request(axios, basePath); });
571
+ },
572
+ /**
573
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
574
+ * @summary Catch up missed mail for all email subscriptions
575
+ * @param {CatchUpEmailSubscriptionsRequestDto} catchUpEmailSubscriptionsRequestDto
576
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ */
580
+ catchUpEmailSubscriptions: function (catchUpEmailSubscriptionsRequestDto, authorization, options) {
581
+ return localVarFp.catchUpEmailSubscriptions(catchUpEmailSubscriptionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
582
+ },
422
583
  /**
423
584
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
424
585
  * @summary Retrieve the email subscription
@@ -483,6 +644,30 @@ var EmailSubscriptionsApi = /** @class */ (function (_super) {
483
644
  function EmailSubscriptionsApi() {
484
645
  return _super !== null && _super.apply(this, arguments) || this;
485
646
  }
647
+ /**
648
+ * Queues a catch-up for this subscription: Microsoft Graph is asked for every change to the folder since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away; queued is false when the subscription is being deleted. **Required Permissions** \"tenant-management.settings.update\"
649
+ * @summary Catch up missed mail for the email subscription
650
+ * @param {EmailSubscriptionsApiCatchUpEmailSubscriptionRequest} requestParameters Request parameters.
651
+ * @param {*} [options] Override http request option.
652
+ * @throws {RequiredError}
653
+ * @memberof EmailSubscriptionsApi
654
+ */
655
+ EmailSubscriptionsApi.prototype.catchUpEmailSubscription = function (requestParameters, options) {
656
+ var _this = this;
657
+ return (0, exports.EmailSubscriptionsApiFp)(this.configuration).catchUpEmailSubscription(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
658
+ };
659
+ /**
660
+ * Queues a catch-up for every subscription of the email channel: Microsoft Graph is asked for every change since the last catch-up, and mail that never arrived through a notification is ingested. Returns straight away with how many catch-ups were queued. **Required Permissions** \"tenant-management.settings.update\"
661
+ * @summary Catch up missed mail for all email subscriptions
662
+ * @param {EmailSubscriptionsApiCatchUpEmailSubscriptionsRequest} requestParameters Request parameters.
663
+ * @param {*} [options] Override http request option.
664
+ * @throws {RequiredError}
665
+ * @memberof EmailSubscriptionsApi
666
+ */
667
+ EmailSubscriptionsApi.prototype.catchUpEmailSubscriptions = function (requestParameters, options) {
668
+ var _this = this;
669
+ return (0, exports.EmailSubscriptionsApiFp)(this.configuration).catchUpEmailSubscriptions(requestParameters.catchUpEmailSubscriptionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
670
+ };
486
671
  /**
487
672
  * Retrieves the email subscription with the given id. **Required Permissions** \"tenant-management.settings.view\"
488
673
  * @summary Retrieve the email subscription
@@ -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 CatchUpEmailSubscriptionResponseClass
16
+ */
17
+ export interface CatchUpEmailSubscriptionResponseClass {
18
+ /**
19
+ * Whether a catch-up was queued. False when the subscription is being deleted.
20
+ * @type {boolean}
21
+ * @memberof CatchUpEmailSubscriptionResponseClass
22
+ */
23
+ 'queued': boolean;
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,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 CatchUpEmailSubscriptionsRequestDto
16
+ */
17
+ export interface CatchUpEmailSubscriptionsRequestDto {
18
+ /**
19
+ * Catch up the email channel of this product. Omit it to catch up the tenant-wide email channel.
20
+ * @type {string}
21
+ * @memberof CatchUpEmailSubscriptionsRequestDto
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,30 @@
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 CatchUpEmailSubscriptionsResponseClass
16
+ */
17
+ export interface CatchUpEmailSubscriptionsResponseClass {
18
+ /**
19
+ * Subscriptions a catch-up was queued for
20
+ * @type {number}
21
+ * @memberof CatchUpEmailSubscriptionsResponseClass
22
+ */
23
+ 'queued': number;
24
+ /**
25
+ * Subscriptions skipped because they are being deleted or could not be queued
26
+ * @type {number}
27
+ * @memberof CatchUpEmailSubscriptionsResponseClass
28
+ */
29
+ 'skipped': number;
30
+ }
@@ -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 });
@@ -75,6 +75,12 @@ export interface EmailSubscriptionClass {
75
75
  * @memberof EmailSubscriptionClass
76
76
  */
77
77
  'lastNotificationAt'?: string;
78
+ /**
79
+ * When the last catch-up of missed mail finished. Empty until the first one runs.
80
+ * @type {string}
81
+ * @memberof EmailSubscriptionClass
82
+ */
83
+ 'lastDeltaAt'?: string;
78
84
  /**
79
85
  * Error of the last failed Graph call, empty once it succeeds
80
86
  * @type {string}
@@ -1,5 +1,8 @@
1
1
  export * from './assign-email-thread-entity-body-dto';
2
2
  export * from './assign-email-thread-entity-response-class';
3
+ export * from './catch-up-email-subscription-response-class';
4
+ export * from './catch-up-email-subscriptions-request-dto';
5
+ export * from './catch-up-email-subscriptions-response-class';
3
6
  export * from './complete-email-verification-dto';
4
7
  export * from './complete-email-verification-response-class';
5
8
  export * from './create-layout-request-dto';
@@ -16,6 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./assign-email-thread-entity-body-dto"), exports);
18
18
  __exportStar(require("./assign-email-thread-entity-response-class"), exports);
19
+ __exportStar(require("./catch-up-email-subscription-response-class"), exports);
20
+ __exportStar(require("./catch-up-email-subscriptions-request-dto"), exports);
21
+ __exportStar(require("./catch-up-email-subscriptions-response-class"), exports);
19
22
  __exportStar(require("./complete-email-verification-dto"), exports);
20
23
  __exportStar(require("./complete-email-verification-response-class"), exports);
21
24
  __exportStar(require("./create-layout-request-dto"), exports);
@@ -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 CatchUpEmailSubscriptionResponseClass
21
+ */
22
+ export interface CatchUpEmailSubscriptionResponseClass {
23
+ /**
24
+ * Whether a catch-up was queued. False when the subscription is being deleted.
25
+ * @type {boolean}
26
+ * @memberof CatchUpEmailSubscriptionResponseClass
27
+ */
28
+ 'queued': boolean;
29
+ }
30
+
@@ -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 CatchUpEmailSubscriptionsRequestDto
21
+ */
22
+ export interface CatchUpEmailSubscriptionsRequestDto {
23
+ /**
24
+ * Catch up the email channel of this product. Omit it to catch up the tenant-wide email channel.
25
+ * @type {string}
26
+ * @memberof CatchUpEmailSubscriptionsRequestDto
27
+ */
28
+ 'productSlug'?: string;
29
+ }
30
+
@@ -0,0 +1,36 @@
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 CatchUpEmailSubscriptionsResponseClass
21
+ */
22
+ export interface CatchUpEmailSubscriptionsResponseClass {
23
+ /**
24
+ * Subscriptions a catch-up was queued for
25
+ * @type {number}
26
+ * @memberof CatchUpEmailSubscriptionsResponseClass
27
+ */
28
+ 'queued': number;
29
+ /**
30
+ * Subscriptions skipped because they are being deleted or could not be queued
31
+ * @type {number}
32
+ * @memberof CatchUpEmailSubscriptionsResponseClass
33
+ */
34
+ 'skipped': number;
35
+ }
36
+
@@ -80,6 +80,12 @@ export interface EmailSubscriptionClass {
80
80
  * @memberof EmailSubscriptionClass
81
81
  */
82
82
  'lastNotificationAt'?: string;
83
+ /**
84
+ * When the last catch-up of missed mail finished. Empty until the first one runs.
85
+ * @type {string}
86
+ * @memberof EmailSubscriptionClass
87
+ */
88
+ 'lastDeltaAt'?: string;
83
89
  /**
84
90
  * Error of the last failed Graph call, empty once it succeeds
85
91
  * @type {string}
package/models/index.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  export * from './assign-email-thread-entity-body-dto';
2
2
  export * from './assign-email-thread-entity-response-class';
3
+ export * from './catch-up-email-subscription-response-class';
4
+ export * from './catch-up-email-subscriptions-request-dto';
5
+ export * from './catch-up-email-subscriptions-response-class';
3
6
  export * from './complete-email-verification-dto';
4
7
  export * from './complete-email-verification-response-class';
5
8
  export * from './create-layout-request-dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk",
3
- "version": "0.8.1-beta.52",
3
+ "version": "0.8.1-beta.54",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [