@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.
Files changed (110) hide show
  1. package/.openapi-generator/FILES +0 -23
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +36 -56
  4. package/api/email-tracking-api.ts +48 -291
  5. package/api/email-verifications-api.ts +12 -24
  6. package/api/layouts-api.ts +46 -76
  7. package/api/notification-templates-api.ts +46 -76
  8. package/api/notifications-api.ts +6 -121
  9. package/api.ts +0 -6
  10. package/base.ts +41 -174
  11. package/configuration.ts +0 -20
  12. package/dist/api/email-messages-api.d.ts +28 -40
  13. package/dist/api/email-messages-api.js +40 -62
  14. package/dist/api/email-tracking-api.d.ts +40 -170
  15. package/dist/api/email-tracking-api.js +48 -261
  16. package/dist/api/email-verifications-api.d.ts +8 -16
  17. package/dist/api/email-verifications-api.js +16 -30
  18. package/dist/api/layouts-api.d.ts +36 -56
  19. package/dist/api/layouts-api.js +50 -81
  20. package/dist/api/notification-templates-api.d.ts +36 -56
  21. package/dist/api/notification-templates-api.js +50 -81
  22. package/dist/api/notifications-api.d.ts +4 -65
  23. package/dist/api/notifications-api.js +8 -111
  24. package/dist/api.d.ts +0 -3
  25. package/dist/api.js +0 -3
  26. package/dist/base.d.ts +0 -24
  27. package/dist/base.js +59 -178
  28. package/dist/configuration.d.ts +0 -17
  29. package/dist/configuration.js +0 -2
  30. package/dist/models/email-message-class.d.ts +7 -73
  31. package/dist/models/email-message-class.js +3 -22
  32. package/dist/models/email-thread-class.d.ts +5 -37
  33. package/dist/models/index.d.ts +0 -20
  34. package/dist/models/index.js +0 -20
  35. package/dist/models/send-notification-request-dto.d.ts +1 -10
  36. package/dist/models/send-notification-request-dto.js +1 -2
  37. package/models/email-message-class.ts +8 -78
  38. package/models/email-thread-class.ts +5 -37
  39. package/models/index.ts +0 -20
  40. package/models/send-notification-request-dto.ts +2 -9
  41. package/package.json +1 -1
  42. package/api/email-mailboxes-api.ts +0 -150
  43. package/api/email-subscriptions-api.ts +0 -781
  44. package/api/msgraph-webhooks-api.ts +0 -278
  45. package/dist/api/email-mailboxes-api.d.ts +0 -87
  46. package/dist/api/email-mailboxes-api.js +0 -221
  47. package/dist/api/email-subscriptions-api.d.ts +0 -432
  48. package/dist/api/email-subscriptions-api.js +0 -738
  49. package/dist/api/msgraph-webhooks-api.d.ts +0 -168
  50. package/dist/api/msgraph-webhooks-api.js +0 -305
  51. package/dist/models/assign-email-thread-entity-body-dto.d.ts +0 -43
  52. package/dist/models/assign-email-thread-entity-body-dto.js +0 -22
  53. package/dist/models/assign-email-thread-entity-response-class.d.ts +0 -25
  54. package/dist/models/assign-email-thread-entity-response-class.js +0 -15
  55. package/dist/models/catch-up-email-subscription-response-class.d.ts +0 -24
  56. package/dist/models/catch-up-email-subscription-response-class.js +0 -15
  57. package/dist/models/catch-up-email-subscriptions-request-dto.d.ts +0 -24
  58. package/dist/models/catch-up-email-subscriptions-request-dto.js +0 -15
  59. package/dist/models/catch-up-email-subscriptions-response-class.d.ts +0 -30
  60. package/dist/models/catch-up-email-subscriptions-response-class.js +0 -15
  61. package/dist/models/email-mailbox-class.d.ts +0 -47
  62. package/dist/models/email-mailbox-class.js +0 -20
  63. package/dist/models/email-message-summary-class.d.ts +0 -98
  64. package/dist/models/email-message-summary-class.js +0 -33
  65. package/dist/models/email-subscription-class.d.ts +0 -110
  66. package/dist/models/email-subscription-class.js +0 -23
  67. package/dist/models/entity-ref-class.d.ts +0 -37
  68. package/dist/models/entity-ref-class.js +0 -22
  69. package/dist/models/get-email-subscription-response-class.d.ts +0 -25
  70. package/dist/models/get-email-subscription-response-class.js +0 -15
  71. package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
  72. package/dist/models/grpc-send-email-request-dto.js +0 -22
  73. package/dist/models/inline-attachment-dto.d.ts +0 -36
  74. package/dist/models/inline-attachment-dto.js +0 -15
  75. package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
  76. package/dist/models/list-email-mailboxes-response-class.js +0 -15
  77. package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
  78. package/dist/models/list-email-subscriptions-response-class.js +0 -15
  79. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
  80. package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
  81. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
  82. package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
  83. package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
  84. package/dist/models/renew-email-subscription-response-class.js +0 -15
  85. package/dist/models/send-email-request-dto.d.ts +0 -131
  86. package/dist/models/send-email-request-dto.js +0 -22
  87. package/dist/models/send-email-response-class.d.ts +0 -24
  88. package/dist/models/send-email-response-class.js +0 -15
  89. package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
  90. package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
  91. package/models/assign-email-thread-entity-body-dto.ts +0 -52
  92. package/models/assign-email-thread-entity-response-class.ts +0 -31
  93. package/models/catch-up-email-subscription-response-class.ts +0 -30
  94. package/models/catch-up-email-subscriptions-request-dto.ts +0 -30
  95. package/models/catch-up-email-subscriptions-response-class.ts +0 -36
  96. package/models/email-mailbox-class.ts +0 -56
  97. package/models/email-message-summary-class.ts +0 -109
  98. package/models/email-subscription-class.ts +0 -119
  99. package/models/entity-ref-class.ts +0 -46
  100. package/models/get-email-subscription-response-class.ts +0 -31
  101. package/models/grpc-send-email-request-dto.ts +0 -144
  102. package/models/inline-attachment-dto.ts +0 -42
  103. package/models/list-email-mailboxes-response-class.ts +0 -49
  104. package/models/list-email-subscriptions-response-class.ts +0 -49
  105. package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
  106. package/models/reconcile-email-subscriptions-response-class.ts +0 -54
  107. package/models/renew-email-subscription-response-class.ts +0 -31
  108. package/models/send-email-request-dto.ts +0 -138
  109. package/models/send-email-response-class.ts +0 -30
  110. package/models/unassign-email-thread-entity-response-class.ts +0 -31
@@ -93,8 +93,7 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Creates a layout that defines the header and footer wrapped around notification template bodies. **Required Permissions** \"notification-management.email-templates.create\"
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, authorizationValue, headersFromBaseOptions;
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
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
131
- if (authorizationValue) {
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
- * Permanently deletes the layout with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
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, authorizationValue, headersFromBaseOptions;
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
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
184
- if (authorizationValue) {
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
- * Retrieves the details of the layout with the given id. **Required Permissions** \"notification-management.email-templates.view\"
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, authorizationValue, headersFromBaseOptions;
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
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
239
- if (authorizationValue) {
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
- * Returns a list of layouts. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
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. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, slug</i>
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] 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, createdAt</i>
262
- * @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: headerTemplate, footerTemplate<i>
263
- * @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, name, slug</i>
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, authorizationValue, headersFromBaseOptions;
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
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
312
- if (authorizationValue) {
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
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
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, authorizationValue, headersFromBaseOptions;
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
- authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
366
- if (authorizationValue) {
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
- * Creates a layout that defines the header and footer wrapped around notification template bodies. **Required Permissions** \"notification-management.email-templates.create\"
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
- * Permanently deletes the layout with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
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
- * Retrieves the details of the layout with the given id. **Required Permissions** \"notification-management.email-templates.view\"
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
- * Returns a list of layouts. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
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. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, slug</i>
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] 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, createdAt</i>
465
- * @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: headerTemplate, footerTemplate<i>
466
- * @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, name, slug</i>
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
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
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
- * Creates a layout that defines the header and footer wrapped around notification template bodies. **Required Permissions** \"notification-management.email-templates.create\"
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
- * Permanently deletes the layout with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
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
- * Retrieves the details of the layout with the given id. **Required Permissions** \"notification-management.email-templates.view\"
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
- * Returns a list of layouts. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
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. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, slug</i>
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] 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, createdAt</i>
558
- * @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: headerTemplate, footerTemplate<i>
559
- * @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, name, slug</i>
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
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
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
- * Creates a layout that defines the header and footer wrapped around notification template bodies. **Required Permissions** \"notification-management.email-templates.create\"
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
- * Permanently deletes the layout with the given id. **Required Permissions** \"notification-management.email-templates.delete\"
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
- * Retrieves the details of the layout with the given id. **Required Permissions** \"notification-management.email-templates.view\"
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
- * Returns a list of layouts. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-templates.view\"
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
- * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"notification-management.email-templates.update\"
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}