@emilgroup/notification-sdk 0.1.1-beta.8 → 0.2.1-beta.11

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/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/notification-sdk@0.1.1-beta.8 --save
20
+ npm install @emilgroup/notification-sdk@0.2.1-beta.11 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/notification-sdk@0.1.1-beta.8
24
+ yarn add @emilgroup/notification-sdk@0.2.1-beta.11
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -35,7 +35,7 @@ import { ListEmailMessagesResponseClass } from '../models';
35
35
  export const EmailMessagesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * undefined **Required Permissions** none
38
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
39
39
  * @param {string} code
40
40
  * @param {number} attachmentId
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -83,7 +83,7 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
83
83
  };
84
84
  },
85
85
  /**
86
- * undefined **Required Permissions** none
86
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
87
87
  * @param {string} code
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
89
  * @param {*} [options] Override http request option.
@@ -127,7 +127,7 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
127
127
  };
128
128
  },
129
129
  /**
130
- * undefined **Required Permissions** none
130
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
131
131
  * @param {string} code
132
132
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
133
133
  * @param {*} [options] Override http request option.
@@ -171,19 +171,20 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
171
171
  };
172
172
  },
173
173
  /**
174
- * undefined **Required Permissions** none
174
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
175
+ * @summary List email messages
175
176
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
177
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
178
  * @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.
178
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
179
+ * @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>
179
180
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
180
- * @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.
181
- * @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.
182
- * @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.
181
+ * @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>
182
+ * @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>
183
+ * @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>
183
184
  * @param {*} [options] Override http request option.
184
185
  * @throws {RequiredError}
185
186
  */
186
- listMessages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
187
+ listEmailMessages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
187
188
  const localVarPath = `/notificationservice/v1/email-messages`;
188
189
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
189
190
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -256,7 +257,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
256
257
  const localVarAxiosParamCreator = EmailMessagesApiAxiosParamCreator(configuration)
257
258
  return {
258
259
  /**
259
- * undefined **Required Permissions** none
260
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
260
261
  * @param {string} code
261
262
  * @param {number} attachmentId
262
263
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -268,7 +269,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
268
269
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
269
270
  },
270
271
  /**
271
- * undefined **Required Permissions** none
272
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
272
273
  * @param {string} code
273
274
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
274
275
  * @param {*} [options] Override http request option.
@@ -279,7 +280,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
279
280
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
280
281
  },
281
282
  /**
282
- * undefined **Required Permissions** none
283
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
283
284
  * @param {string} code
284
285
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
285
286
  * @param {*} [options] Override http request option.
@@ -290,20 +291,21 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
290
291
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
291
292
  },
292
293
  /**
293
- * undefined **Required Permissions** none
294
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
295
+ * @summary List email messages
294
296
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
295
297
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
296
298
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
297
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
299
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
298
300
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
299
- * @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.
300
- * @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.
301
- * @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.
301
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
302
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
303
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
302
304
  * @param {*} [options] Override http request option.
303
305
  * @throws {RequiredError}
304
306
  */
305
- async listMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>> {
306
- const localVarAxiosArgs = await localVarAxiosParamCreator.listMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
307
+ async listEmailMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>> {
308
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listEmailMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
307
309
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
308
310
  },
309
311
  }
@@ -317,7 +319,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
317
319
  const localVarFp = EmailMessagesApiFp(configuration)
318
320
  return {
319
321
  /**
320
- * undefined **Required Permissions** none
322
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
321
323
  * @param {string} code
322
324
  * @param {number} attachmentId
323
325
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -328,7 +330,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
328
330
  return localVarFp.downloadAttachment(code, attachmentId, authorization, options).then((request) => request(axios, basePath));
329
331
  },
330
332
  /**
331
- * undefined **Required Permissions** none
333
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
332
334
  * @param {string} code
333
335
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
334
336
  * @param {*} [options] Override http request option.
@@ -338,7 +340,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
338
340
  return localVarFp.getMessage(code, authorization, options).then((request) => request(axios, basePath));
339
341
  },
340
342
  /**
341
- * undefined **Required Permissions** none
343
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
342
344
  * @param {string} code
343
345
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
344
346
  * @param {*} [options] Override http request option.
@@ -348,20 +350,21 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
348
350
  return localVarFp.listAttachments(code, authorization, options).then((request) => request(axios, basePath));
349
351
  },
350
352
  /**
351
- * undefined **Required Permissions** none
353
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
354
+ * @summary List email messages
352
355
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
353
356
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
354
357
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
355
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
358
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
356
359
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
357
- * @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.
358
- * @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.
359
- * @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.
360
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
361
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
362
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
360
363
  * @param {*} [options] Override http request option.
361
364
  * @throws {RequiredError}
362
365
  */
363
- listMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass> {
364
- return localVarFp.listMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
366
+ listEmailMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass> {
367
+ return localVarFp.listEmailMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
365
368
  },
366
369
  };
367
370
  };
@@ -437,64 +440,64 @@ export interface EmailMessagesApiListAttachmentsRequest {
437
440
  }
438
441
 
439
442
  /**
440
- * Request parameters for listMessages operation in EmailMessagesApi.
443
+ * Request parameters for listEmailMessages operation in EmailMessagesApi.
441
444
  * @export
442
- * @interface EmailMessagesApiListMessagesRequest
445
+ * @interface EmailMessagesApiListEmailMessagesRequest
443
446
  */
444
- export interface EmailMessagesApiListMessagesRequest {
447
+ export interface EmailMessagesApiListEmailMessagesRequest {
445
448
  /**
446
449
  * Bearer Token: provided by the login endpoint under the name accessToken.
447
450
  * @type {string}
448
- * @memberof EmailMessagesApiListMessages
451
+ * @memberof EmailMessagesApiListEmailMessages
449
452
  */
450
453
  readonly authorization?: string
451
454
 
452
455
  /**
453
456
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
457
  * @type {number}
455
- * @memberof EmailMessagesApiListMessages
458
+ * @memberof EmailMessagesApiListEmailMessages
456
459
  */
457
460
  readonly pageSize?: number
458
461
 
459
462
  /**
460
463
  * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
461
464
  * @type {string}
462
- * @memberof EmailMessagesApiListMessages
465
+ * @memberof EmailMessagesApiListEmailMessages
463
466
  */
464
467
  readonly pageToken?: string
465
468
 
466
469
  /**
467
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
470
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
468
471
  * @type {string}
469
- * @memberof EmailMessagesApiListMessages
472
+ * @memberof EmailMessagesApiListEmailMessages
470
473
  */
471
474
  readonly filter?: string
472
475
 
473
476
  /**
474
477
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
475
478
  * @type {string}
476
- * @memberof EmailMessagesApiListMessages
479
+ * @memberof EmailMessagesApiListEmailMessages
477
480
  */
478
481
  readonly search?: string
479
482
 
480
483
  /**
481
- * 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.
484
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
482
485
  * @type {string}
483
- * @memberof EmailMessagesApiListMessages
486
+ * @memberof EmailMessagesApiListEmailMessages
484
487
  */
485
488
  readonly order?: string
486
489
 
487
490
  /**
488
- * 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.
491
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
489
492
  * @type {string}
490
- * @memberof EmailMessagesApiListMessages
493
+ * @memberof EmailMessagesApiListEmailMessages
491
494
  */
492
495
  readonly expand?: string
493
496
 
494
497
  /**
495
- * 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.
498
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
496
499
  * @type {string}
497
- * @memberof EmailMessagesApiListMessages
500
+ * @memberof EmailMessagesApiListEmailMessages
498
501
  */
499
502
  readonly filters?: string
500
503
  }
@@ -507,7 +510,7 @@ export interface EmailMessagesApiListMessagesRequest {
507
510
  */
508
511
  export class EmailMessagesApi extends BaseAPI {
509
512
  /**
510
- * undefined **Required Permissions** none
513
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
511
514
  * @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
512
515
  * @param {*} [options] Override http request option.
513
516
  * @throws {RequiredError}
@@ -518,7 +521,7 @@ export class EmailMessagesApi extends BaseAPI {
518
521
  }
519
522
 
520
523
  /**
521
- * undefined **Required Permissions** none
524
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
522
525
  * @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
523
526
  * @param {*} [options] Override http request option.
524
527
  * @throws {RequiredError}
@@ -529,7 +532,7 @@ export class EmailMessagesApi extends BaseAPI {
529
532
  }
530
533
 
531
534
  /**
532
- * undefined **Required Permissions** none
535
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
533
536
  * @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
534
537
  * @param {*} [options] Override http request option.
535
538
  * @throws {RequiredError}
@@ -540,13 +543,14 @@ export class EmailMessagesApi extends BaseAPI {
540
543
  }
541
544
 
542
545
  /**
543
- * undefined **Required Permissions** none
544
- * @param {EmailMessagesApiListMessagesRequest} requestParameters Request parameters.
546
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
547
+ * @summary List email messages
548
+ * @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
545
549
  * @param {*} [options] Override http request option.
546
550
  * @throws {RequiredError}
547
551
  * @memberof EmailMessagesApi
548
552
  */
549
- public listMessages(requestParameters: EmailMessagesApiListMessagesRequest = {}, options?: AxiosRequestConfig) {
550
- return EmailMessagesApiFp(this.configuration).listMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
553
+ public listEmailMessages(requestParameters: EmailMessagesApiListEmailMessagesRequest = {}, options?: AxiosRequestConfig) {
554
+ return EmailMessagesApiFp(this.configuration).listEmailMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
551
555
  }
552
556
  }