@emilgroup/notification-sdk 0.8.1-beta.49 → 0.8.1-beta.5

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 (101) hide show
  1. package/.openapi-generator/FILES +0 -20
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +28 -40
  4. package/api/email-tracking-api.ts +40 -271
  5. package/api/email-verifications-api.ts +8 -16
  6. package/api/layouts-api.ts +36 -56
  7. package/api/notification-templates-api.ts +36 -56
  8. package/api/notifications-api.ts +4 -115
  9. package/api.ts +0 -6
  10. package/base.ts +15 -36
  11. package/configuration.ts +0 -11
  12. package/dist/api/email-messages-api.d.ts +28 -40
  13. package/dist/api/email-messages-api.js +25 -37
  14. package/dist/api/email-tracking-api.d.ts +40 -170
  15. package/dist/api/email-tracking-api.js +34 -233
  16. package/dist/api/email-verifications-api.d.ts +8 -16
  17. package/dist/api/email-verifications-api.js +8 -16
  18. package/dist/api/layouts-api.d.ts +36 -56
  19. package/dist/api/layouts-api.js +32 -52
  20. package/dist/api/notification-templates-api.d.ts +36 -56
  21. package/dist/api/notification-templates-api.js +32 -52
  22. package/dist/api/notifications-api.d.ts +4 -65
  23. package/dist/api/notifications-api.js +4 -101
  24. package/dist/api.d.ts +0 -3
  25. package/dist/api.js +0 -3
  26. package/dist/base.d.ts +0 -1
  27. package/dist/base.js +16 -36
  28. package/dist/configuration.d.ts +0 -9
  29. package/dist/configuration.js +0 -1
  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 -17
  34. package/dist/models/index.js +0 -17
  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 -17
  40. package/models/send-notification-request-dto.ts +2 -9
  41. package/package.json +1 -1
  42. package/api/email-mailboxes-api.ts +0 -148
  43. package/api/email-subscriptions-api.ts +0 -559
  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 -218
  47. package/dist/api/email-subscriptions-api.d.ts +0 -319
  48. package/dist/api/email-subscriptions-api.js +0 -537
  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/email-mailbox-class.d.ts +0 -47
  56. package/dist/models/email-mailbox-class.js +0 -20
  57. package/dist/models/email-message-summary-class.d.ts +0 -98
  58. package/dist/models/email-message-summary-class.js +0 -33
  59. package/dist/models/email-subscription-class.d.ts +0 -104
  60. package/dist/models/email-subscription-class.js +0 -23
  61. package/dist/models/entity-ref-class.d.ts +0 -37
  62. package/dist/models/entity-ref-class.js +0 -22
  63. package/dist/models/get-email-subscription-response-class.d.ts +0 -25
  64. package/dist/models/get-email-subscription-response-class.js +0 -15
  65. package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
  66. package/dist/models/grpc-send-email-request-dto.js +0 -22
  67. package/dist/models/inline-attachment-dto.d.ts +0 -36
  68. package/dist/models/inline-attachment-dto.js +0 -15
  69. package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
  70. package/dist/models/list-email-mailboxes-response-class.js +0 -15
  71. package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
  72. package/dist/models/list-email-subscriptions-response-class.js +0 -15
  73. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
  74. package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
  75. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
  76. package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
  77. package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
  78. package/dist/models/renew-email-subscription-response-class.js +0 -15
  79. package/dist/models/send-email-request-dto.d.ts +0 -131
  80. package/dist/models/send-email-request-dto.js +0 -22
  81. package/dist/models/send-email-response-class.d.ts +0 -24
  82. package/dist/models/send-email-response-class.js +0 -15
  83. package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
  84. package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
  85. package/models/assign-email-thread-entity-body-dto.ts +0 -52
  86. package/models/assign-email-thread-entity-response-class.ts +0 -31
  87. package/models/email-mailbox-class.ts +0 -56
  88. package/models/email-message-summary-class.ts +0 -109
  89. package/models/email-subscription-class.ts +0 -113
  90. package/models/entity-ref-class.ts +0 -46
  91. package/models/get-email-subscription-response-class.ts +0 -31
  92. package/models/grpc-send-email-request-dto.ts +0 -144
  93. package/models/inline-attachment-dto.ts +0 -42
  94. package/models/list-email-mailboxes-response-class.ts +0 -49
  95. package/models/list-email-subscriptions-response-class.ts +0 -49
  96. package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
  97. package/models/reconcile-email-subscriptions-response-class.ts +0 -54
  98. package/models/renew-email-subscription-response-class.ts +0 -31
  99. package/models/send-email-request-dto.ts +0 -138
  100. package/models/send-email-response-class.ts +0 -30
  101. package/models/unassign-email-thread-entity-response-class.ts +0 -31
@@ -21,17 +21,11 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { AssignEmailThreadEntityBodyDto } from '../models';
25
- // @ts-ignore
26
- import { AssignEmailThreadEntityResponseClass } from '../models';
27
- // @ts-ignore
28
24
  import { GetEmailThreadResponseClass } from '../models';
29
25
  // @ts-ignore
30
26
  import { ListEmailMessagesResponseClass } from '../models';
31
27
  // @ts-ignore
32
28
  import { ListEmailThreadsResponseClass } from '../models';
33
- // @ts-ignore
34
- import { UnassignEmailThreadEntityResponseClass } from '../models';
35
29
  /**
36
30
  * EmailTrackingApi - axios parameter creator
37
31
  * @export
@@ -39,59 +33,7 @@ import { UnassignEmailThreadEntityResponseClass } from '../models';
39
33
  export const EmailTrackingApiAxiosParamCreator = function (configuration?: Configuration) {
40
34
  return {
41
35
  /**
42
- * Links the email thread, and every message in it, to the given entity, identified by code or by number (the code wins when both are set). Replaces the current link. The entity must exist. Messages that arrive in the thread later are linked to the same entity. **Required Permissions** \"notification-management.email-messages.update\"
43
- * @summary Assign an email thread to an entity
44
- * @param {string} code
45
- * @param {AssignEmailThreadEntityBodyDto} assignEmailThreadEntityBodyDto
46
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- */
50
- assignEntity: async (code: string, assignEmailThreadEntityBodyDto: AssignEmailThreadEntityBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
51
- // verify required parameter 'code' is not null or undefined
52
- assertParamExists('assignEntity', 'code', code)
53
- // verify required parameter 'assignEmailThreadEntityBodyDto' is not null or undefined
54
- assertParamExists('assignEntity', 'assignEmailThreadEntityBodyDto', assignEmailThreadEntityBodyDto)
55
- const localVarPath = `/notificationservice/v1/email-threads/{code}/entity`
56
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
57
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
- let baseOptions;
60
- let baseAccessToken;
61
- if (configuration) {
62
- baseOptions = configuration.baseOptions;
63
- baseAccessToken = configuration.accessToken;
64
- }
65
-
66
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
67
- const localVarHeaderParameter = {} as any;
68
- const localVarQueryParameter = {} as any;
69
-
70
- // authentication bearer required
71
- // http bearer authentication required
72
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
-
74
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
75
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
76
- }
77
-
78
-
79
-
80
- localVarHeaderParameter['Content-Type'] = 'application/json';
81
-
82
- setSearchParams(localVarUrlObj, localVarQueryParameter);
83
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
- localVarRequestOptions.data = serializeDataIfNeeded(assignEmailThreadEntityBodyDto, localVarRequestOptions, configuration)
86
-
87
- return {
88
- url: toPathString(localVarUrlObj),
89
- options: localVarRequestOptions,
90
- };
91
- },
92
- /**
93
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
94
- * @summary Close the email thread
36
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
95
37
  * @param {string} code
96
38
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
39
  * @param {*} [options] Override http request option.
@@ -135,8 +77,7 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
135
77
  };
136
78
  },
137
79
  /**
138
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
139
- * @summary Retrieve the email thread
80
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
140
81
  * @param {string} code
141
82
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
83
  * @param {*} [options] Override http request option.
@@ -180,13 +121,13 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
180
121
  };
181
122
  },
182
123
  /**
183
- * Returns the email messages of the email thread with the given code. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
124
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
184
125
  * @summary List email messages
185
126
  * @param {string} code
186
127
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
- * @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
188
- * @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
189
- * @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
128
+ * @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;
129
+ * @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;
130
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&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;
190
131
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
191
132
  * @param {*} [options] Override http request option.
192
133
  * @throws {RequiredError}
@@ -245,16 +186,16 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
245
186
  };
246
187
  },
247
188
  /**
248
- * Returns a list of email threads, newest first. A thread groups an email with its replies; each item carries the newest message of the thread in latestMessage and the number of messages in messageCount. Threads without a message yet are not listed. Filter on the newest message with latestDirection (inbox tabs), latestDeliveryStatus or latestWorkflowStatus (use latestWorkflowStatus==$null for threads whose newest message has no workflow). Add expand=messages to get every message of each thread, without bodies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
189
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
249
190
  * @summary List email threads
250
191
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
192
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
252
193
  * @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.
253
- * @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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
194
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
254
195
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
255
- * @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, entityType, entityCode, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, createdAt, updatedAt&lt;/i&gt;
196
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
256
197
  * @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: messages&lt;i&gt;
257
- * @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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
198
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
258
199
  * @param {*} [options] Override http request option.
259
200
  * @throws {RequiredError}
260
201
  */
@@ -311,51 +252,6 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
311
252
 
312
253
 
313
254
 
314
- setSearchParams(localVarUrlObj, localVarQueryParameter);
315
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
316
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
317
-
318
- return {
319
- url: toPathString(localVarUrlObj),
320
- options: localVarRequestOptions,
321
- };
322
- },
323
- /**
324
- * Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
325
- * @summary Unassign an email thread from its entity
326
- * @param {string} code
327
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
328
- * @param {*} [options] Override http request option.
329
- * @throws {RequiredError}
330
- */
331
- unassignEntity: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
332
- // verify required parameter 'code' is not null or undefined
333
- assertParamExists('unassignEntity', 'code', code)
334
- const localVarPath = `/notificationservice/v1/email-threads/{code}/entity`
335
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
336
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
337
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
338
- let baseOptions;
339
- let baseAccessToken;
340
- if (configuration) {
341
- baseOptions = configuration.baseOptions;
342
- baseAccessToken = configuration.accessToken;
343
- }
344
-
345
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
346
- const localVarHeaderParameter = {} as any;
347
- const localVarQueryParameter = {} as any;
348
-
349
- // authentication bearer required
350
- // http bearer authentication required
351
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
352
-
353
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
354
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
355
- }
356
-
357
-
358
-
359
255
  setSearchParams(localVarUrlObj, localVarQueryParameter);
360
256
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
361
257
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -376,21 +272,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
376
272
  const localVarAxiosParamCreator = EmailTrackingApiAxiosParamCreator(configuration)
377
273
  return {
378
274
  /**
379
- * Links the email thread, and every message in it, to the given entity, identified by code or by number (the code wins when both are set). Replaces the current link. The entity must exist. Messages that arrive in the thread later are linked to the same entity. **Required Permissions** \"notification-management.email-messages.update\"
380
- * @summary Assign an email thread to an entity
381
- * @param {string} code
382
- * @param {AssignEmailThreadEntityBodyDto} assignEmailThreadEntityBodyDto
383
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
384
- * @param {*} [options] Override http request option.
385
- * @throws {RequiredError}
386
- */
387
- async assignEntity(code: string, assignEmailThreadEntityBodyDto: AssignEmailThreadEntityBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignEmailThreadEntityResponseClass>> {
388
- const localVarAxiosArgs = await localVarAxiosParamCreator.assignEntity(code, assignEmailThreadEntityBodyDto, authorization, options);
389
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
390
- },
391
- /**
392
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
393
- * @summary Close the email thread
275
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
394
276
  * @param {string} code
395
277
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
396
278
  * @param {*} [options] Override http request option.
@@ -401,8 +283,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
401
283
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
402
284
  },
403
285
  /**
404
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
405
- * @summary Retrieve the email thread
286
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
406
287
  * @param {string} code
407
288
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
408
289
  * @param {*} [options] Override http request option.
@@ -413,13 +294,13 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
413
294
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
414
295
  },
415
296
  /**
416
- * Returns the email messages of the email thread with the given code. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
297
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
417
298
  * @summary List email messages
418
299
  * @param {string} code
419
300
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
420
- * @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
421
- * @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
422
- * @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
301
+ * @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;
302
+ * @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;
303
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&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;
423
304
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
424
305
  * @param {*} [options] Override http request option.
425
306
  * @throws {RequiredError}
@@ -429,16 +310,16 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
429
310
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
430
311
  },
431
312
  /**
432
- * Returns a list of email threads, newest first. A thread groups an email with its replies; each item carries the newest message of the thread in latestMessage and the number of messages in messageCount. Threads without a message yet are not listed. Filter on the newest message with latestDirection (inbox tabs), latestDeliveryStatus or latestWorkflowStatus (use latestWorkflowStatus==$null for threads whose newest message has no workflow). Add expand=messages to get every message of each thread, without bodies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
313
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
433
314
  * @summary List email threads
434
315
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
316
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
436
317
  * @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.
437
- * @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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
318
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
438
319
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
439
- * @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, entityType, entityCode, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, createdAt, updatedAt&lt;/i&gt;
320
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
440
321
  * @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: messages&lt;i&gt;
441
- * @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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
322
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
442
323
  * @param {*} [options] Override http request option.
443
324
  * @throws {RequiredError}
444
325
  */
@@ -446,18 +327,6 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
446
327
  const localVarAxiosArgs = await localVarAxiosParamCreator.listThreads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
447
328
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
448
329
  },
449
- /**
450
- * Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
451
- * @summary Unassign an email thread from its entity
452
- * @param {string} code
453
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
454
- * @param {*} [options] Override http request option.
455
- * @throws {RequiredError}
456
- */
457
- async unassignEntity(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnassignEmailThreadEntityResponseClass>> {
458
- const localVarAxiosArgs = await localVarAxiosParamCreator.unassignEntity(code, authorization, options);
459
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
460
- },
461
330
  }
462
331
  };
463
332
 
@@ -469,20 +338,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
469
338
  const localVarFp = EmailTrackingApiFp(configuration)
470
339
  return {
471
340
  /**
472
- * Links the email thread, and every message in it, to the given entity, identified by code or by number (the code wins when both are set). Replaces the current link. The entity must exist. Messages that arrive in the thread later are linked to the same entity. **Required Permissions** \"notification-management.email-messages.update\"
473
- * @summary Assign an email thread to an entity
474
- * @param {string} code
475
- * @param {AssignEmailThreadEntityBodyDto} assignEmailThreadEntityBodyDto
476
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
477
- * @param {*} [options] Override http request option.
478
- * @throws {RequiredError}
479
- */
480
- assignEntity(code: string, assignEmailThreadEntityBodyDto: AssignEmailThreadEntityBodyDto, authorization?: string, options?: any): AxiosPromise<AssignEmailThreadEntityResponseClass> {
481
- return localVarFp.assignEntity(code, assignEmailThreadEntityBodyDto, authorization, options).then((request) => request(axios, basePath));
482
- },
483
- /**
484
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
485
- * @summary Close the email thread
341
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
486
342
  * @param {string} code
487
343
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
488
344
  * @param {*} [options] Override http request option.
@@ -492,8 +348,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
492
348
  return localVarFp.closeThread(code, authorization, options).then((request) => request(axios, basePath));
493
349
  },
494
350
  /**
495
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
496
- * @summary Retrieve the email thread
351
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
497
352
  * @param {string} code
498
353
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
354
  * @param {*} [options] Override http request option.
@@ -503,13 +358,13 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
503
358
  return localVarFp.getThread(code, authorization, options).then((request) => request(axios, basePath));
504
359
  },
505
360
  /**
506
- * Returns the email messages of the email thread with the given code. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
361
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
507
362
  * @summary List email messages
508
363
  * @param {string} code
509
364
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
510
- * @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
511
- * @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
512
- * @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
365
+ * @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;
366
+ * @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;
367
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&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;
513
368
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
514
369
  * @param {*} [options] Override http request option.
515
370
  * @throws {RequiredError}
@@ -518,64 +373,25 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
518
373
  return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
519
374
  },
520
375
  /**
521
- * Returns a list of email threads, newest first. A thread groups an email with its replies; each item carries the newest message of the thread in latestMessage and the number of messages in messageCount. Threads without a message yet are not listed. Filter on the newest message with latestDirection (inbox tabs), latestDeliveryStatus or latestWorkflowStatus (use latestWorkflowStatus==$null for threads whose newest message has no workflow). Add expand=messages to get every message of each thread, without bodies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
376
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
522
377
  * @summary List email threads
523
378
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
524
379
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
525
380
  * @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.
526
- * @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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
381
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
527
382
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
528
- * @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, entityType, entityCode, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, createdAt, updatedAt&lt;/i&gt;
383
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
529
384
  * @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: messages&lt;i&gt;
530
- * @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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
385
+ * @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
531
386
  * @param {*} [options] Override http request option.
532
387
  * @throws {RequiredError}
533
388
  */
534
389
  listThreads(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailThreadsResponseClass> {
535
390
  return localVarFp.listThreads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
536
391
  },
537
- /**
538
- * Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
539
- * @summary Unassign an email thread from its entity
540
- * @param {string} code
541
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
542
- * @param {*} [options] Override http request option.
543
- * @throws {RequiredError}
544
- */
545
- unassignEntity(code: string, authorization?: string, options?: any): AxiosPromise<UnassignEmailThreadEntityResponseClass> {
546
- return localVarFp.unassignEntity(code, authorization, options).then((request) => request(axios, basePath));
547
- },
548
392
  };
549
393
  };
550
394
 
551
- /**
552
- * Request parameters for assignEntity operation in EmailTrackingApi.
553
- * @export
554
- * @interface EmailTrackingApiAssignEntityRequest
555
- */
556
- export interface EmailTrackingApiAssignEntityRequest {
557
- /**
558
- *
559
- * @type {string}
560
- * @memberof EmailTrackingApiAssignEntity
561
- */
562
- readonly code: string
563
-
564
- /**
565
- *
566
- * @type {AssignEmailThreadEntityBodyDto}
567
- * @memberof EmailTrackingApiAssignEntity
568
- */
569
- readonly assignEmailThreadEntityBodyDto: AssignEmailThreadEntityBodyDto
570
-
571
- /**
572
- * Bearer Token: provided by the login endpoint under the name accessToken.
573
- * @type {string}
574
- * @memberof EmailTrackingApiAssignEntity
575
- */
576
- readonly authorization?: string
577
- }
578
-
579
395
  /**
580
396
  * Request parameters for closeThread operation in EmailTrackingApi.
581
397
  * @export
@@ -639,21 +455,21 @@ export interface EmailTrackingApiListMessagesRequest {
639
455
  readonly authorization?: string
640
456
 
641
457
  /**
642
- * 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
458
+ * 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;
643
459
  * @type {string}
644
460
  * @memberof EmailTrackingApiListMessages
645
461
  */
646
462
  readonly filter?: string
647
463
 
648
464
  /**
649
- * 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
465
+ * 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;
650
466
  * @type {string}
651
467
  * @memberof EmailTrackingApiListMessages
652
468
  */
653
469
  readonly filters?: string
654
470
 
655
471
  /**
656
- * 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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
472
+ * 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;
657
473
  * @type {string}
658
474
  * @memberof EmailTrackingApiListMessages
659
475
  */
@@ -695,7 +511,7 @@ export interface EmailTrackingApiListThreadsRequest {
695
511
  readonly pageToken?: string
696
512
 
697
513
  /**
698
- * 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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
514
+ * 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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
699
515
  * @type {string}
700
516
  * @memberof EmailTrackingApiListThreads
701
517
  */
@@ -709,7 +525,7 @@ export interface EmailTrackingApiListThreadsRequest {
709
525
  readonly search?: string
710
526
 
711
527
  /**
712
- * 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, entityType, entityCode, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, createdAt, updatedAt&lt;/i&gt;
528
+ * 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, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
713
529
  * @type {string}
714
530
  * @memberof EmailTrackingApiListThreads
715
531
  */
@@ -723,34 +539,13 @@ export interface EmailTrackingApiListThreadsRequest {
723
539
  readonly expand?: string
724
540
 
725
541
  /**
726
- * 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, entityType, entityCode, entityNumber, subject, status, mailbox, messageCount, lastMessageAt, latestDirection, latestDeliveryStatus, latestWorkflowStatus, latestFromAddress, latestToAddresses, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
542
+ * 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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
727
543
  * @type {string}
728
544
  * @memberof EmailTrackingApiListThreads
729
545
  */
730
546
  readonly filters?: string
731
547
  }
732
548
 
733
- /**
734
- * Request parameters for unassignEntity operation in EmailTrackingApi.
735
- * @export
736
- * @interface EmailTrackingApiUnassignEntityRequest
737
- */
738
- export interface EmailTrackingApiUnassignEntityRequest {
739
- /**
740
- *
741
- * @type {string}
742
- * @memberof EmailTrackingApiUnassignEntity
743
- */
744
- readonly code: string
745
-
746
- /**
747
- * Bearer Token: provided by the login endpoint under the name accessToken.
748
- * @type {string}
749
- * @memberof EmailTrackingApiUnassignEntity
750
- */
751
- readonly authorization?: string
752
- }
753
-
754
549
  /**
755
550
  * EmailTrackingApi - object-oriented interface
756
551
  * @export
@@ -759,20 +554,7 @@ export interface EmailTrackingApiUnassignEntityRequest {
759
554
  */
760
555
  export class EmailTrackingApi extends BaseAPI {
761
556
  /**
762
- * Links the email thread, and every message in it, to the given entity, identified by code or by number (the code wins when both are set). Replaces the current link. The entity must exist. Messages that arrive in the thread later are linked to the same entity. **Required Permissions** \"notification-management.email-messages.update\"
763
- * @summary Assign an email thread to an entity
764
- * @param {EmailTrackingApiAssignEntityRequest} requestParameters Request parameters.
765
- * @param {*} [options] Override http request option.
766
- * @throws {RequiredError}
767
- * @memberof EmailTrackingApi
768
- */
769
- public assignEntity(requestParameters: EmailTrackingApiAssignEntityRequest, options?: AxiosRequestConfig) {
770
- return EmailTrackingApiFp(this.configuration).assignEntity(requestParameters.code, requestParameters.assignEmailThreadEntityBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
771
- }
772
-
773
- /**
774
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
775
- * @summary Close the email thread
557
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
776
558
  * @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
777
559
  * @param {*} [options] Override http request option.
778
560
  * @throws {RequiredError}
@@ -783,8 +565,7 @@ export class EmailTrackingApi extends BaseAPI {
783
565
  }
784
566
 
785
567
  /**
786
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
787
- * @summary Retrieve the email thread
568
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
788
569
  * @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
789
570
  * @param {*} [options] Override http request option.
790
571
  * @throws {RequiredError}
@@ -795,7 +576,7 @@ export class EmailTrackingApi extends BaseAPI {
795
576
  }
796
577
 
797
578
  /**
798
- * Returns the email messages of the email thread with the given code. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
579
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
799
580
  * @summary List email messages
800
581
  * @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
801
582
  * @param {*} [options] Override http request option.
@@ -807,7 +588,7 @@ export class EmailTrackingApi extends BaseAPI {
807
588
  }
808
589
 
809
590
  /**
810
- * Returns a list of email threads, newest first. A thread groups an email with its replies; each item carries the newest message of the thread in latestMessage and the number of messages in messageCount. Threads without a message yet are not listed. Filter on the newest message with latestDirection (inbox tabs), latestDeliveryStatus or latestWorkflowStatus (use latestWorkflowStatus==$null for threads whose newest message has no workflow). Add expand=messages to get every message of each thread, without bodies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
591
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
811
592
  * @summary List email threads
812
593
  * @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
813
594
  * @param {*} [options] Override http request option.
@@ -817,16 +598,4 @@ export class EmailTrackingApi extends BaseAPI {
817
598
  public listThreads(requestParameters: EmailTrackingApiListThreadsRequest = {}, options?: AxiosRequestConfig) {
818
599
  return EmailTrackingApiFp(this.configuration).listThreads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
819
600
  }
820
-
821
- /**
822
- * Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
823
- * @summary Unassign an email thread from its entity
824
- * @param {EmailTrackingApiUnassignEntityRequest} requestParameters Request parameters.
825
- * @param {*} [options] Override http request option.
826
- * @throws {RequiredError}
827
- * @memberof EmailTrackingApi
828
- */
829
- public unassignEntity(requestParameters: EmailTrackingApiUnassignEntityRequest, options?: AxiosRequestConfig) {
830
- return EmailTrackingApiFp(this.configuration).unassignEntity(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
831
- }
832
601
  }