@emilgroup/notification-sdk 0.8.1-beta.38 → 0.8.1-beta.4
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.
- package/.openapi-generator/FILES +0 -8
- package/README.md +2 -2
- package/api/email-messages-api.ts +24 -259
- package/api/email-tracking-api.ts +24 -32
- package/api/email-verifications-api.ts +8 -16
- package/api/layouts-api.ts +36 -56
- package/api/notification-templates-api.ts +36 -56
- package/api/notifications-api.ts +4 -115
- package/api.ts +0 -2
- package/dist/api/email-messages-api.d.ts +24 -158
- package/dist/api/email-messages-api.js +22 -225
- package/dist/api/email-tracking-api.d.ts +24 -32
- package/dist/api/email-tracking-api.js +22 -30
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +8 -16
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +32 -52
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +32 -52
- package/dist/api/notifications-api.d.ts +4 -65
- package/dist/api/notifications-api.js +4 -101
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/email-message-class.d.ts +2 -49
- package/dist/models/email-message-class.js +2 -16
- package/dist/models/index.d.ts +0 -7
- package/dist/models/index.js +0 -7
- package/dist/models/send-notification-request-dto.d.ts +0 -9
- package/dist/models/send-notification-request-dto.js +1 -2
- package/models/email-message-class.ts +3 -53
- package/models/index.ts +0 -7
- package/models/send-notification-request-dto.ts +1 -8
- package/package.json +1 -1
- package/api/msgraph-webhooks-api.ts +0 -278
- package/dist/api/msgraph-webhooks-api.d.ts +0 -168
- package/dist/api/msgraph-webhooks-api.js +0 -305
- package/dist/models/assign-email-message-entity-body-dto.d.ts +0 -43
- package/dist/models/assign-email-message-entity-body-dto.js +0 -22
- package/dist/models/assign-email-message-entity-response-class.d.ts +0 -25
- package/dist/models/assign-email-message-entity-response-class.js +0 -15
- package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
- package/dist/models/grpc-send-email-request-dto.js +0 -22
- package/dist/models/inline-attachment-dto.d.ts +0 -36
- package/dist/models/inline-attachment-dto.js +0 -15
- package/dist/models/send-email-request-dto.d.ts +0 -131
- package/dist/models/send-email-request-dto.js +0 -22
- package/dist/models/send-email-response-class.d.ts +0 -24
- package/dist/models/send-email-response-class.js +0 -15
- package/dist/models/unassign-email-message-entity-response-class.d.ts +0 -25
- package/dist/models/unassign-email-message-entity-response-class.js +0 -15
- package/models/assign-email-message-entity-body-dto.ts +0 -52
- package/models/assign-email-message-entity-response-class.ts +0 -31
- package/models/grpc-send-email-request-dto.ts +0 -144
- package/models/inline-attachment-dto.ts +0 -42
- package/models/send-email-request-dto.ts +0 -138
- package/models/send-email-response-class.ts +0 -30
- package/models/unassign-email-message-entity-response-class.ts +0 -31
|
@@ -33,8 +33,7 @@ import { ListEmailThreadsResponseClass } from '../models';
|
|
|
33
33
|
export const EmailTrackingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @summary Close the email thread
|
|
36
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
38
37
|
* @param {string} code
|
|
39
38
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
39
|
* @param {*} [options] Override http request option.
|
|
@@ -78,8 +77,7 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
78
77
|
};
|
|
79
78
|
},
|
|
80
79
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary Retrieve the email thread
|
|
80
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
83
81
|
* @param {string} code
|
|
84
82
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
85
83
|
* @param {*} [options] Override http request option.
|
|
@@ -123,12 +121,12 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
123
121
|
};
|
|
124
122
|
},
|
|
125
123
|
/**
|
|
126
|
-
*
|
|
124
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
127
125
|
* @summary List email messages
|
|
128
126
|
* @param {string} code
|
|
129
127
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
130
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
131
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
128
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
129
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
132
130
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
133
131
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
134
132
|
* @param {*} [options] Override http request option.
|
|
@@ -188,7 +186,7 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
188
186
|
};
|
|
189
187
|
},
|
|
190
188
|
/**
|
|
191
|
-
*
|
|
189
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
192
190
|
* @summary List email threads
|
|
193
191
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
192
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -274,8 +272,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
|
|
|
274
272
|
const localVarAxiosParamCreator = EmailTrackingApiAxiosParamCreator(configuration)
|
|
275
273
|
return {
|
|
276
274
|
/**
|
|
277
|
-
*
|
|
278
|
-
* @summary Close the email thread
|
|
275
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
279
276
|
* @param {string} code
|
|
280
277
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
281
278
|
* @param {*} [options] Override http request option.
|
|
@@ -286,8 +283,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
|
|
|
286
283
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
287
284
|
},
|
|
288
285
|
/**
|
|
289
|
-
*
|
|
290
|
-
* @summary Retrieve the email thread
|
|
286
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
291
287
|
* @param {string} code
|
|
292
288
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
293
289
|
* @param {*} [options] Override http request option.
|
|
@@ -298,12 +294,12 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
|
|
|
298
294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
299
295
|
},
|
|
300
296
|
/**
|
|
301
|
-
*
|
|
297
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
302
298
|
* @summary List email messages
|
|
303
299
|
* @param {string} code
|
|
304
300
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
305
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
306
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
301
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
302
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
307
303
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
308
304
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
309
305
|
* @param {*} [options] Override http request option.
|
|
@@ -314,7 +310,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
|
|
|
314
310
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
315
311
|
},
|
|
316
312
|
/**
|
|
317
|
-
*
|
|
313
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
318
314
|
* @summary List email threads
|
|
319
315
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
320
316
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -342,8 +338,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
|
|
|
342
338
|
const localVarFp = EmailTrackingApiFp(configuration)
|
|
343
339
|
return {
|
|
344
340
|
/**
|
|
345
|
-
*
|
|
346
|
-
* @summary Close the email thread
|
|
341
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
347
342
|
* @param {string} code
|
|
348
343
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
349
344
|
* @param {*} [options] Override http request option.
|
|
@@ -353,8 +348,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
|
|
|
353
348
|
return localVarFp.closeThread(code, authorization, options).then((request) => request(axios, basePath));
|
|
354
349
|
},
|
|
355
350
|
/**
|
|
356
|
-
*
|
|
357
|
-
* @summary Retrieve the email thread
|
|
351
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
358
352
|
* @param {string} code
|
|
359
353
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
360
354
|
* @param {*} [options] Override http request option.
|
|
@@ -364,12 +358,12 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
|
|
|
364
358
|
return localVarFp.getThread(code, authorization, options).then((request) => request(axios, basePath));
|
|
365
359
|
},
|
|
366
360
|
/**
|
|
367
|
-
*
|
|
361
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
368
362
|
* @summary List email messages
|
|
369
363
|
* @param {string} code
|
|
370
364
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
372
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
365
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
366
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
373
367
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
374
368
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
375
369
|
* @param {*} [options] Override http request option.
|
|
@@ -379,7 +373,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
|
|
|
379
373
|
return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
380
374
|
},
|
|
381
375
|
/**
|
|
382
|
-
*
|
|
376
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
383
377
|
* @summary List email threads
|
|
384
378
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
385
379
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -461,14 +455,14 @@ export interface EmailTrackingApiListMessagesRequest {
|
|
|
461
455
|
readonly authorization?: string
|
|
462
456
|
|
|
463
457
|
/**
|
|
464
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
458
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
465
459
|
* @type {string}
|
|
466
460
|
* @memberof EmailTrackingApiListMessages
|
|
467
461
|
*/
|
|
468
462
|
readonly filter?: string
|
|
469
463
|
|
|
470
464
|
/**
|
|
471
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
465
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
472
466
|
* @type {string}
|
|
473
467
|
* @memberof EmailTrackingApiListMessages
|
|
474
468
|
*/
|
|
@@ -560,8 +554,7 @@ export interface EmailTrackingApiListThreadsRequest {
|
|
|
560
554
|
*/
|
|
561
555
|
export class EmailTrackingApi extends BaseAPI {
|
|
562
556
|
/**
|
|
563
|
-
*
|
|
564
|
-
* @summary Close the email thread
|
|
557
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
565
558
|
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
|
|
566
559
|
* @param {*} [options] Override http request option.
|
|
567
560
|
* @throws {RequiredError}
|
|
@@ -572,8 +565,7 @@ export class EmailTrackingApi extends BaseAPI {
|
|
|
572
565
|
}
|
|
573
566
|
|
|
574
567
|
/**
|
|
575
|
-
*
|
|
576
|
-
* @summary Retrieve the email thread
|
|
568
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
577
569
|
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
|
|
578
570
|
* @param {*} [options] Override http request option.
|
|
579
571
|
* @throws {RequiredError}
|
|
@@ -584,7 +576,7 @@ export class EmailTrackingApi extends BaseAPI {
|
|
|
584
576
|
}
|
|
585
577
|
|
|
586
578
|
/**
|
|
587
|
-
*
|
|
579
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
588
580
|
* @summary List email messages
|
|
589
581
|
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
|
|
590
582
|
* @param {*} [options] Override http request option.
|
|
@@ -596,7 +588,7 @@ export class EmailTrackingApi extends BaseAPI {
|
|
|
596
588
|
}
|
|
597
589
|
|
|
598
590
|
/**
|
|
599
|
-
*
|
|
591
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
600
592
|
* @summary List email threads
|
|
601
593
|
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
|
|
602
594
|
* @param {*} [options] Override http request option.
|
|
@@ -35,8 +35,7 @@ import { InitiateEmailVerificationResponseClass } from '../models';
|
|
|
35
35
|
export const EmailVerificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @summary Complete an email verification
|
|
38
|
+
* undefined **Required Permissions** none
|
|
40
39
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
41
40
|
* @param {string} [authorization] Bearer Token
|
|
42
41
|
* @param {*} [options] Override http request option.
|
|
@@ -82,8 +81,7 @@ export const EmailVerificationsApiAxiosParamCreator = function (configuration?:
|
|
|
82
81
|
};
|
|
83
82
|
},
|
|
84
83
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @summary Initiate an email verification
|
|
84
|
+
* undefined **Required Permissions** none
|
|
87
85
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
88
86
|
* @param {string} [authorization] Bearer Token
|
|
89
87
|
* @param {*} [options] Override http request option.
|
|
@@ -139,8 +137,7 @@ export const EmailVerificationsApiFp = function(configuration?: Configuration) {
|
|
|
139
137
|
const localVarAxiosParamCreator = EmailVerificationsApiAxiosParamCreator(configuration)
|
|
140
138
|
return {
|
|
141
139
|
/**
|
|
142
|
-
*
|
|
143
|
-
* @summary Complete an email verification
|
|
140
|
+
* undefined **Required Permissions** none
|
|
144
141
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
145
142
|
* @param {string} [authorization] Bearer Token
|
|
146
143
|
* @param {*} [options] Override http request option.
|
|
@@ -151,8 +148,7 @@ export const EmailVerificationsApiFp = function(configuration?: Configuration) {
|
|
|
151
148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
152
149
|
},
|
|
153
150
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @summary Initiate an email verification
|
|
151
|
+
* undefined **Required Permissions** none
|
|
156
152
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
157
153
|
* @param {string} [authorization] Bearer Token
|
|
158
154
|
* @param {*} [options] Override http request option.
|
|
@@ -173,8 +169,7 @@ export const EmailVerificationsApiFactory = function (configuration?: Configurat
|
|
|
173
169
|
const localVarFp = EmailVerificationsApiFp(configuration)
|
|
174
170
|
return {
|
|
175
171
|
/**
|
|
176
|
-
*
|
|
177
|
-
* @summary Complete an email verification
|
|
172
|
+
* undefined **Required Permissions** none
|
|
178
173
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
179
174
|
* @param {string} [authorization] Bearer Token
|
|
180
175
|
* @param {*} [options] Override http request option.
|
|
@@ -184,8 +179,7 @@ export const EmailVerificationsApiFactory = function (configuration?: Configurat
|
|
|
184
179
|
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then((request) => request(axios, basePath));
|
|
185
180
|
},
|
|
186
181
|
/**
|
|
187
|
-
*
|
|
188
|
-
* @summary Initiate an email verification
|
|
182
|
+
* undefined **Required Permissions** none
|
|
189
183
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
190
184
|
* @param {string} [authorization] Bearer Token
|
|
191
185
|
* @param {*} [options] Override http request option.
|
|
@@ -247,8 +241,7 @@ export interface EmailVerificationsApiInitiateEmailVerificationRequest {
|
|
|
247
241
|
*/
|
|
248
242
|
export class EmailVerificationsApi extends BaseAPI {
|
|
249
243
|
/**
|
|
250
|
-
*
|
|
251
|
-
* @summary Complete an email verification
|
|
244
|
+
* undefined **Required Permissions** none
|
|
252
245
|
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
253
246
|
* @param {*} [options] Override http request option.
|
|
254
247
|
* @throws {RequiredError}
|
|
@@ -259,8 +252,7 @@ export class EmailVerificationsApi extends BaseAPI {
|
|
|
259
252
|
}
|
|
260
253
|
|
|
261
254
|
/**
|
|
262
|
-
*
|
|
263
|
-
* @summary Initiate an email verification
|
|
255
|
+
* undefined **Required Permissions** none
|
|
264
256
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
265
257
|
* @param {*} [options] Override http request option.
|
|
266
258
|
* @throws {RequiredError}
|
package/api/layouts-api.ts
CHANGED
|
@@ -39,8 +39,7 @@ import { UpdateLayoutResponseClass } from '../models';
|
|
|
39
39
|
export const LayoutsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
40
|
return {
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary Create the layout
|
|
42
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
44
43
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
45
44
|
* @param {string} [authorization] Bearer Token
|
|
46
45
|
* @param {*} [options] Override http request option.
|
|
@@ -86,8 +85,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
86
85
|
};
|
|
87
86
|
},
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @summary Delete the layout
|
|
88
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
91
89
|
* @param {number} id
|
|
92
90
|
* @param {string} [authorization] Bearer Token
|
|
93
91
|
* @param {*} [options] Override http request option.
|
|
@@ -131,8 +129,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
131
129
|
};
|
|
132
130
|
},
|
|
133
131
|
/**
|
|
134
|
-
*
|
|
135
|
-
* @summary Retrieve the layout
|
|
132
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
136
133
|
* @param {number} id
|
|
137
134
|
* @param {number} id2 Layout id
|
|
138
135
|
* @param {string} [authorization] Bearer Token
|
|
@@ -183,16 +180,15 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
183
180
|
};
|
|
184
181
|
},
|
|
185
182
|
/**
|
|
186
|
-
*
|
|
187
|
-
* @summary List layouts
|
|
183
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
188
184
|
* @param {string} [authorization] Bearer Token
|
|
189
185
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
190
186
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
191
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
187
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
192
188
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
193
|
-
* @param {string} [order]
|
|
194
|
-
* @param {string} [expand]
|
|
195
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
189
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
190
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
191
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
196
192
|
* @param {*} [options] Override http request option.
|
|
197
193
|
* @throws {RequiredError}
|
|
198
194
|
*/
|
|
@@ -259,8 +255,7 @@ export const LayoutsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
259
255
|
};
|
|
260
256
|
},
|
|
261
257
|
/**
|
|
262
|
-
*
|
|
263
|
-
* @summary Update the layout
|
|
258
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
264
259
|
* @param {number} id
|
|
265
260
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
266
261
|
* @param {string} [authorization] Bearer Token
|
|
@@ -320,8 +315,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
320
315
|
const localVarAxiosParamCreator = LayoutsApiAxiosParamCreator(configuration)
|
|
321
316
|
return {
|
|
322
317
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @summary Create the layout
|
|
318
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
325
319
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
326
320
|
* @param {string} [authorization] Bearer Token
|
|
327
321
|
* @param {*} [options] Override http request option.
|
|
@@ -332,8 +326,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
332
326
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
327
|
},
|
|
334
328
|
/**
|
|
335
|
-
*
|
|
336
|
-
* @summary Delete the layout
|
|
329
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
337
330
|
* @param {number} id
|
|
338
331
|
* @param {string} [authorization] Bearer Token
|
|
339
332
|
* @param {*} [options] Override http request option.
|
|
@@ -344,8 +337,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
344
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
338
|
},
|
|
346
339
|
/**
|
|
347
|
-
*
|
|
348
|
-
* @summary Retrieve the layout
|
|
340
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
349
341
|
* @param {number} id
|
|
350
342
|
* @param {number} id2 Layout id
|
|
351
343
|
* @param {string} [authorization] Bearer Token
|
|
@@ -357,16 +349,15 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
357
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
358
350
|
},
|
|
359
351
|
/**
|
|
360
|
-
*
|
|
361
|
-
* @summary List layouts
|
|
352
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
362
353
|
* @param {string} [authorization] Bearer Token
|
|
363
354
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
364
355
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
365
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
356
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
366
357
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
367
|
-
* @param {string} [order]
|
|
368
|
-
* @param {string} [expand]
|
|
369
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
358
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
359
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
360
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
370
361
|
* @param {*} [options] Override http request option.
|
|
371
362
|
* @throws {RequiredError}
|
|
372
363
|
*/
|
|
@@ -375,8 +366,7 @@ export const LayoutsApiFp = function(configuration?: Configuration) {
|
|
|
375
366
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
367
|
},
|
|
377
368
|
/**
|
|
378
|
-
*
|
|
379
|
-
* @summary Update the layout
|
|
369
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
380
370
|
* @param {number} id
|
|
381
371
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
382
372
|
* @param {string} [authorization] Bearer Token
|
|
@@ -398,8 +388,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
398
388
|
const localVarFp = LayoutsApiFp(configuration)
|
|
399
389
|
return {
|
|
400
390
|
/**
|
|
401
|
-
*
|
|
402
|
-
* @summary Create the layout
|
|
391
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
403
392
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
404
393
|
* @param {string} [authorization] Bearer Token
|
|
405
394
|
* @param {*} [options] Override http request option.
|
|
@@ -409,8 +398,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
409
398
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
410
399
|
},
|
|
411
400
|
/**
|
|
412
|
-
*
|
|
413
|
-
* @summary Delete the layout
|
|
401
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
414
402
|
* @param {number} id
|
|
415
403
|
* @param {string} [authorization] Bearer Token
|
|
416
404
|
* @param {*} [options] Override http request option.
|
|
@@ -420,8 +408,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
420
408
|
return localVarFp.deleteLayout(id, authorization, options).then((request) => request(axios, basePath));
|
|
421
409
|
},
|
|
422
410
|
/**
|
|
423
|
-
*
|
|
424
|
-
* @summary Retrieve the layout
|
|
411
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
425
412
|
* @param {number} id
|
|
426
413
|
* @param {number} id2 Layout id
|
|
427
414
|
* @param {string} [authorization] Bearer Token
|
|
@@ -432,16 +419,15 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
432
419
|
return localVarFp.getLayout(id, id2, authorization, options).then((request) => request(axios, basePath));
|
|
433
420
|
},
|
|
434
421
|
/**
|
|
435
|
-
*
|
|
436
|
-
* @summary List layouts
|
|
422
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
437
423
|
* @param {string} [authorization] Bearer Token
|
|
438
424
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
439
425
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
440
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
426
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
441
427
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
442
|
-
* @param {string} [order]
|
|
443
|
-
* @param {string} [expand]
|
|
444
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
428
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
429
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
430
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
445
431
|
* @param {*} [options] Override http request option.
|
|
446
432
|
* @throws {RequiredError}
|
|
447
433
|
*/
|
|
@@ -449,8 +435,7 @@ export const LayoutsApiFactory = function (configuration?: Configuration, basePa
|
|
|
449
435
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
450
436
|
},
|
|
451
437
|
/**
|
|
452
|
-
*
|
|
453
|
-
* @summary Update the layout
|
|
438
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
454
439
|
* @param {number} id
|
|
455
440
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
456
441
|
* @param {string} [authorization] Bearer Token
|
|
@@ -561,7 +546,7 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
561
546
|
readonly pageToken?: string
|
|
562
547
|
|
|
563
548
|
/**
|
|
564
|
-
* Filter the response by one or multiple fields.
|
|
549
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
565
550
|
* @type {string}
|
|
566
551
|
* @memberof LayoutsApiListLayouts
|
|
567
552
|
*/
|
|
@@ -575,21 +560,21 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
575
560
|
readonly search?: string
|
|
576
561
|
|
|
577
562
|
/**
|
|
578
|
-
*
|
|
563
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
579
564
|
* @type {string}
|
|
580
565
|
* @memberof LayoutsApiListLayouts
|
|
581
566
|
*/
|
|
582
567
|
readonly order?: string
|
|
583
568
|
|
|
584
569
|
/**
|
|
585
|
-
*
|
|
570
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
586
571
|
* @type {string}
|
|
587
572
|
* @memberof LayoutsApiListLayouts
|
|
588
573
|
*/
|
|
589
574
|
readonly expand?: string
|
|
590
575
|
|
|
591
576
|
/**
|
|
592
|
-
* Filters the response by one or multiple fields.
|
|
577
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
593
578
|
* @type {string}
|
|
594
579
|
* @memberof LayoutsApiListLayouts
|
|
595
580
|
*/
|
|
@@ -632,8 +617,7 @@ export interface LayoutsApiUpdateLayoutRequest {
|
|
|
632
617
|
*/
|
|
633
618
|
export class LayoutsApi extends BaseAPI {
|
|
634
619
|
/**
|
|
635
|
-
*
|
|
636
|
-
* @summary Create the layout
|
|
620
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
637
621
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
638
622
|
* @param {*} [options] Override http request option.
|
|
639
623
|
* @throws {RequiredError}
|
|
@@ -644,8 +628,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
644
628
|
}
|
|
645
629
|
|
|
646
630
|
/**
|
|
647
|
-
*
|
|
648
|
-
* @summary Delete the layout
|
|
631
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
649
632
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
650
633
|
* @param {*} [options] Override http request option.
|
|
651
634
|
* @throws {RequiredError}
|
|
@@ -656,8 +639,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
656
639
|
}
|
|
657
640
|
|
|
658
641
|
/**
|
|
659
|
-
*
|
|
660
|
-
* @summary Retrieve the layout
|
|
642
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
661
643
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
662
644
|
* @param {*} [options] Override http request option.
|
|
663
645
|
* @throws {RequiredError}
|
|
@@ -668,8 +650,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
668
650
|
}
|
|
669
651
|
|
|
670
652
|
/**
|
|
671
|
-
*
|
|
672
|
-
* @summary List layouts
|
|
653
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
673
654
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
674
655
|
* @param {*} [options] Override http request option.
|
|
675
656
|
* @throws {RequiredError}
|
|
@@ -680,8 +661,7 @@ export class LayoutsApi extends BaseAPI {
|
|
|
680
661
|
}
|
|
681
662
|
|
|
682
663
|
/**
|
|
683
|
-
*
|
|
684
|
-
* @summary Update the layout
|
|
664
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
685
665
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
686
666
|
* @param {*} [options] Override http request option.
|
|
687
667
|
* @throws {RequiredError}
|