@emilgroup/notification-sdk 0.8.1-beta.59 → 0.8.1-beta.7
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 -23
- package/README.md +2 -2
- package/api/email-messages-api.ts +36 -56
- package/api/email-tracking-api.ts +48 -291
- package/api/email-verifications-api.ts +12 -24
- package/api/layouts-api.ts +46 -76
- package/api/notification-templates-api.ts +46 -76
- package/api/notifications-api.ts +6 -121
- package/api.ts +0 -6
- package/base.ts +41 -174
- package/configuration.ts +0 -20
- package/dist/api/email-messages-api.d.ts +28 -40
- package/dist/api/email-messages-api.js +40 -62
- package/dist/api/email-tracking-api.d.ts +40 -170
- package/dist/api/email-tracking-api.js +48 -261
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +16 -30
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +50 -81
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +50 -81
- package/dist/api/notifications-api.d.ts +4 -65
- package/dist/api/notifications-api.js +8 -111
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/email-message-class.d.ts +7 -73
- package/dist/models/email-message-class.js +3 -22
- package/dist/models/email-thread-class.d.ts +5 -37
- package/dist/models/index.d.ts +0 -20
- package/dist/models/index.js +0 -20
- package/dist/models/send-notification-request-dto.d.ts +1 -10
- package/dist/models/send-notification-request-dto.js +1 -2
- package/models/email-message-class.ts +8 -78
- package/models/email-thread-class.ts +5 -37
- package/models/index.ts +0 -20
- package/models/send-notification-request-dto.ts +2 -9
- package/package.json +1 -1
- package/api/email-mailboxes-api.ts +0 -150
- package/api/email-subscriptions-api.ts +0 -781
- package/api/msgraph-webhooks-api.ts +0 -278
- package/dist/api/email-mailboxes-api.d.ts +0 -87
- package/dist/api/email-mailboxes-api.js +0 -221
- package/dist/api/email-subscriptions-api.d.ts +0 -432
- package/dist/api/email-subscriptions-api.js +0 -738
- package/dist/api/msgraph-webhooks-api.d.ts +0 -168
- package/dist/api/msgraph-webhooks-api.js +0 -305
- package/dist/models/assign-email-thread-entity-body-dto.d.ts +0 -43
- package/dist/models/assign-email-thread-entity-body-dto.js +0 -22
- package/dist/models/assign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/assign-email-thread-entity-response-class.js +0 -15
- package/dist/models/catch-up-email-subscription-response-class.d.ts +0 -24
- package/dist/models/catch-up-email-subscription-response-class.js +0 -15
- package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/catch-up-email-subscriptions-request-dto.js +0 -15
- package/dist/models/catch-up-email-subscriptions-response-class.d.ts +0 -30
- package/dist/models/catch-up-email-subscriptions-response-class.js +0 -15
- package/dist/models/email-mailbox-class.d.ts +0 -47
- package/dist/models/email-mailbox-class.js +0 -20
- package/dist/models/email-message-summary-class.d.ts +0 -98
- package/dist/models/email-message-summary-class.js +0 -33
- package/dist/models/email-subscription-class.d.ts +0 -110
- package/dist/models/email-subscription-class.js +0 -23
- package/dist/models/entity-ref-class.d.ts +0 -37
- package/dist/models/entity-ref-class.js +0 -22
- package/dist/models/get-email-subscription-response-class.d.ts +0 -25
- package/dist/models/get-email-subscription-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/list-email-mailboxes-response-class.d.ts +0 -43
- package/dist/models/list-email-mailboxes-response-class.js +0 -15
- package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
- package/dist/models/list-email-subscriptions-response-class.js +0 -15
- package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
- package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
- package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
- package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
- package/dist/models/renew-email-subscription-response-class.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-thread-entity-response-class.d.ts +0 -25
- package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
- package/models/assign-email-thread-entity-body-dto.ts +0 -52
- package/models/assign-email-thread-entity-response-class.ts +0 -31
- package/models/catch-up-email-subscription-response-class.ts +0 -30
- package/models/catch-up-email-subscriptions-request-dto.ts +0 -30
- package/models/catch-up-email-subscriptions-response-class.ts +0 -36
- package/models/email-mailbox-class.ts +0 -56
- package/models/email-message-summary-class.ts +0 -109
- package/models/email-subscription-class.ts +0 -119
- package/models/entity-ref-class.ts +0 -46
- package/models/get-email-subscription-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/list-email-mailboxes-response-class.ts +0 -49
- package/models/list-email-subscriptions-response-class.ts +0 -49
- package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
- package/models/reconcile-email-subscriptions-response-class.ts +0 -54
- package/models/renew-email-subscription-response-class.ts +0 -31
- package/models/send-email-request-dto.ts +0 -138
- package/models/send-email-response-class.ts +0 -30
- package/models/unassign-email-thread-entity-response-class.ts +0 -31
package/dist/api/layouts-api.js
CHANGED
|
@@ -93,8 +93,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Create the layout
|
|
96
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
98
97
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
99
98
|
* @param {string} [authorization] Bearer Token
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
@@ -103,7 +102,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
103
102
|
createLayout: function (createLayoutRequestDto, authorization, options) {
|
|
104
103
|
if (options === void 0) { options = {}; }
|
|
105
104
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
106
|
return __generator(this, function (_a) {
|
|
108
107
|
switch (_a.label) {
|
|
109
108
|
case 0:
|
|
@@ -120,16 +119,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
120
119
|
localVarQueryParameter = {};
|
|
121
120
|
// authentication bearer required
|
|
122
121
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
-
];
|
|
122
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
126
123
|
case 1:
|
|
127
124
|
// authentication bearer required
|
|
128
125
|
// http bearer authentication required
|
|
129
126
|
_a.sent();
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
127
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
128
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
133
129
|
}
|
|
134
130
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
131
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -145,8 +141,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
145
141
|
});
|
|
146
142
|
},
|
|
147
143
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @summary Delete the layout
|
|
144
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
150
145
|
* @param {number} id
|
|
151
146
|
* @param {string} [authorization] Bearer Token
|
|
152
147
|
* @param {*} [options] Override http request option.
|
|
@@ -155,7 +150,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
155
150
|
deleteLayout: function (id, authorization, options) {
|
|
156
151
|
if (options === void 0) { options = {}; }
|
|
157
152
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
153
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
154
|
return __generator(this, function (_a) {
|
|
160
155
|
switch (_a.label) {
|
|
161
156
|
case 0:
|
|
@@ -173,16 +168,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
173
168
|
localVarQueryParameter = {};
|
|
174
169
|
// authentication bearer required
|
|
175
170
|
// http bearer authentication required
|
|
176
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
-
];
|
|
171
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
179
172
|
case 1:
|
|
180
173
|
// authentication bearer required
|
|
181
174
|
// http bearer authentication required
|
|
182
175
|
_a.sent();
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
176
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
177
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
186
178
|
}
|
|
187
179
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
180
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -196,8 +188,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
196
188
|
});
|
|
197
189
|
},
|
|
198
190
|
/**
|
|
199
|
-
*
|
|
200
|
-
* @summary Retrieve the layout
|
|
191
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
201
192
|
* @param {number} id
|
|
202
193
|
* @param {number} id2 Layout id
|
|
203
194
|
* @param {string} [authorization] Bearer Token
|
|
@@ -207,7 +198,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
207
198
|
getLayout: function (id, id2, authorization, options) {
|
|
208
199
|
if (options === void 0) { options = {}; }
|
|
209
200
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
201
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
202
|
return __generator(this, function (_a) {
|
|
212
203
|
switch (_a.label) {
|
|
213
204
|
case 0:
|
|
@@ -235,9 +226,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
235
226
|
if (id2 !== undefined) {
|
|
236
227
|
localVarQueryParameter['id'] = id2;
|
|
237
228
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
229
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
230
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
241
231
|
}
|
|
242
232
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
243
233
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -251,23 +241,22 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
251
241
|
});
|
|
252
242
|
},
|
|
253
243
|
/**
|
|
254
|
-
*
|
|
255
|
-
* @summary List layouts
|
|
244
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
256
245
|
* @param {string} [authorization] Bearer Token
|
|
257
246
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
258
247
|
* @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.
|
|
259
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
248
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
260
249
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
261
|
-
* @param {string} [order]
|
|
262
|
-
* @param {string} [expand]
|
|
263
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
250
|
+
* @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.
|
|
251
|
+
* @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.
|
|
252
|
+
* @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.
|
|
264
253
|
* @param {*} [options] Override http request option.
|
|
265
254
|
* @throws {RequiredError}
|
|
266
255
|
*/
|
|
267
256
|
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
268
257
|
if (options === void 0) { options = {}; }
|
|
269
258
|
return __awaiter(_this, void 0, void 0, function () {
|
|
270
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
259
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
271
260
|
return __generator(this, function (_a) {
|
|
272
261
|
switch (_a.label) {
|
|
273
262
|
case 0:
|
|
@@ -308,9 +297,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
308
297
|
if (filters !== undefined) {
|
|
309
298
|
localVarQueryParameter['filters'] = filters;
|
|
310
299
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
300
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
301
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
314
302
|
}
|
|
315
303
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
316
304
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -324,8 +312,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
324
312
|
});
|
|
325
313
|
},
|
|
326
314
|
/**
|
|
327
|
-
*
|
|
328
|
-
* @summary Update the layout
|
|
315
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
329
316
|
* @param {number} id
|
|
330
317
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
331
318
|
* @param {string} [authorization] Bearer Token
|
|
@@ -335,7 +322,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
335
322
|
updateLayout: function (id, updateLayoutRequestDto, authorization, options) {
|
|
336
323
|
if (options === void 0) { options = {}; }
|
|
337
324
|
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter,
|
|
325
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
326
|
return __generator(this, function (_a) {
|
|
340
327
|
switch (_a.label) {
|
|
341
328
|
case 0:
|
|
@@ -355,16 +342,13 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
355
342
|
localVarQueryParameter = {};
|
|
356
343
|
// authentication bearer required
|
|
357
344
|
// http bearer authentication required
|
|
358
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
359
|
-
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
360
|
-
];
|
|
345
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
361
346
|
case 1:
|
|
362
347
|
// authentication bearer required
|
|
363
348
|
// http bearer authentication required
|
|
364
349
|
_a.sent();
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
350
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
351
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
368
352
|
}
|
|
369
353
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
370
354
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -390,8 +374,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
390
374
|
var localVarAxiosParamCreator = (0, exports.LayoutsApiAxiosParamCreator)(configuration);
|
|
391
375
|
return {
|
|
392
376
|
/**
|
|
393
|
-
*
|
|
394
|
-
* @summary Create the layout
|
|
377
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
395
378
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
396
379
|
* @param {string} [authorization] Bearer Token
|
|
397
380
|
* @param {*} [options] Override http request option.
|
|
@@ -411,8 +394,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
411
394
|
});
|
|
412
395
|
},
|
|
413
396
|
/**
|
|
414
|
-
*
|
|
415
|
-
* @summary Delete the layout
|
|
397
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
416
398
|
* @param {number} id
|
|
417
399
|
* @param {string} [authorization] Bearer Token
|
|
418
400
|
* @param {*} [options] Override http request option.
|
|
@@ -432,8 +414,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
432
414
|
});
|
|
433
415
|
},
|
|
434
416
|
/**
|
|
435
|
-
*
|
|
436
|
-
* @summary Retrieve the layout
|
|
417
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
437
418
|
* @param {number} id
|
|
438
419
|
* @param {number} id2 Layout id
|
|
439
420
|
* @param {string} [authorization] Bearer Token
|
|
@@ -454,16 +435,15 @@ var LayoutsApiFp = function (configuration) {
|
|
|
454
435
|
});
|
|
455
436
|
},
|
|
456
437
|
/**
|
|
457
|
-
*
|
|
458
|
-
* @summary List layouts
|
|
438
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
459
439
|
* @param {string} [authorization] Bearer Token
|
|
460
440
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
461
441
|
* @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.
|
|
462
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
442
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
463
443
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
464
|
-
* @param {string} [order]
|
|
465
|
-
* @param {string} [expand]
|
|
466
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
444
|
+
* @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.
|
|
445
|
+
* @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.
|
|
446
|
+
* @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.
|
|
467
447
|
* @param {*} [options] Override http request option.
|
|
468
448
|
* @throws {RequiredError}
|
|
469
449
|
*/
|
|
@@ -481,8 +461,7 @@ var LayoutsApiFp = function (configuration) {
|
|
|
481
461
|
});
|
|
482
462
|
},
|
|
483
463
|
/**
|
|
484
|
-
*
|
|
485
|
-
* @summary Update the layout
|
|
464
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
486
465
|
* @param {number} id
|
|
487
466
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
488
467
|
* @param {string} [authorization] Bearer Token
|
|
@@ -513,8 +492,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
513
492
|
var localVarFp = (0, exports.LayoutsApiFp)(configuration);
|
|
514
493
|
return {
|
|
515
494
|
/**
|
|
516
|
-
*
|
|
517
|
-
* @summary Create the layout
|
|
495
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
518
496
|
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
519
497
|
* @param {string} [authorization] Bearer Token
|
|
520
498
|
* @param {*} [options] Override http request option.
|
|
@@ -524,8 +502,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
524
502
|
return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
525
503
|
},
|
|
526
504
|
/**
|
|
527
|
-
*
|
|
528
|
-
* @summary Delete the layout
|
|
505
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
529
506
|
* @param {number} id
|
|
530
507
|
* @param {string} [authorization] Bearer Token
|
|
531
508
|
* @param {*} [options] Override http request option.
|
|
@@ -535,8 +512,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
535
512
|
return localVarFp.deleteLayout(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
536
513
|
},
|
|
537
514
|
/**
|
|
538
|
-
*
|
|
539
|
-
* @summary Retrieve the layout
|
|
515
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
540
516
|
* @param {number} id
|
|
541
517
|
* @param {number} id2 Layout id
|
|
542
518
|
* @param {string} [authorization] Bearer Token
|
|
@@ -547,16 +523,15 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
547
523
|
return localVarFp.getLayout(id, id2, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
548
524
|
},
|
|
549
525
|
/**
|
|
550
|
-
*
|
|
551
|
-
* @summary List layouts
|
|
526
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
552
527
|
* @param {string} [authorization] Bearer Token
|
|
553
528
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
554
529
|
* @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.
|
|
555
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
530
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
556
531
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
557
|
-
* @param {string} [order]
|
|
558
|
-
* @param {string} [expand]
|
|
559
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
532
|
+
* @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.
|
|
533
|
+
* @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.
|
|
534
|
+
* @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.
|
|
560
535
|
* @param {*} [options] Override http request option.
|
|
561
536
|
* @throws {RequiredError}
|
|
562
537
|
*/
|
|
@@ -564,8 +539,7 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
564
539
|
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
565
540
|
},
|
|
566
541
|
/**
|
|
567
|
-
*
|
|
568
|
-
* @summary Update the layout
|
|
542
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
569
543
|
* @param {number} id
|
|
570
544
|
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
571
545
|
* @param {string} [authorization] Bearer Token
|
|
@@ -590,8 +564,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
590
564
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
591
565
|
}
|
|
592
566
|
/**
|
|
593
|
-
*
|
|
594
|
-
* @summary Create the layout
|
|
567
|
+
* undefined **Required Permissions** \"notification-management.email-templates.create\"
|
|
595
568
|
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
596
569
|
* @param {*} [options] Override http request option.
|
|
597
570
|
* @throws {RequiredError}
|
|
@@ -602,8 +575,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
602
575
|
return (0, exports.LayoutsApiFp)(this.configuration).createLayout(requestParameters.createLayoutRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
603
576
|
};
|
|
604
577
|
/**
|
|
605
|
-
*
|
|
606
|
-
* @summary Delete the layout
|
|
578
|
+
* undefined **Required Permissions** \"notification-management.email-templates.delete\"
|
|
607
579
|
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
608
580
|
* @param {*} [options] Override http request option.
|
|
609
581
|
* @throws {RequiredError}
|
|
@@ -614,8 +586,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
614
586
|
return (0, exports.LayoutsApiFp)(this.configuration).deleteLayout(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
587
|
};
|
|
616
588
|
/**
|
|
617
|
-
*
|
|
618
|
-
* @summary Retrieve the layout
|
|
589
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
619
590
|
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
620
591
|
* @param {*} [options] Override http request option.
|
|
621
592
|
* @throws {RequiredError}
|
|
@@ -626,8 +597,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
626
597
|
return (0, exports.LayoutsApiFp)(this.configuration).getLayout(requestParameters.id, requestParameters.id2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
627
598
|
};
|
|
628
599
|
/**
|
|
629
|
-
*
|
|
630
|
-
* @summary List layouts
|
|
600
|
+
* undefined **Required Permissions** \"notification-management.email-templates.view\"
|
|
631
601
|
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
632
602
|
* @param {*} [options] Override http request option.
|
|
633
603
|
* @throws {RequiredError}
|
|
@@ -639,8 +609,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
639
609
|
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
640
610
|
};
|
|
641
611
|
/**
|
|
642
|
-
*
|
|
643
|
-
* @summary Update the layout
|
|
612
|
+
* undefined **Required Permissions** \"notification-management.email-templates.update\"
|
|
644
613
|
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
645
614
|
* @param {*} [options] Override http request option.
|
|
646
615
|
* @throws {RequiredError}
|