@epilot/message-client 1.15.4 → 1.17.0
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/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +71 -0
- package/dist/openapi.d.ts +349 -36
- package/dist/openapi.json +264 -12
- package/package.json +2 -2
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={914:function(e,s,r){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s,"__esModule",{value:!0});var t=a(r(240));s.default=t.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/message/messages":{"post":{"operationId":"sendMessage","parameters":[{"in":"query","name":"do_not_create_entities"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"put":{"operationId":"updateMessage","responses":{}}},"/v1/message/messages/{id}":{"get":{"operationId":"getMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}},"delete":{"operationId":"deleteMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/messages/{id}/trash":{"post":{"operationId":"trashMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/messages/{id}/untrash":{"post":{"operationId":"untrashMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/messages/{id}/read":{"post":{"operationId":"markReadMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/messages/{id}/read":{"post":{"operationId":"markReadMessageV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/messages/{id}/unread":{"post":{"operationId":"markUnreadMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/messages/{id}/unread":{"post":{"operationId":"markUnreadMessageV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads:search":{"post":{"operationId":"searchThreads","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads:searchIds":{"post":{"operationId":"searchIds","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads":{"put":{"operationId":"updateThread","responses":{}}},"/v1/message/threads/{id}":{"delete":{"operationId":"deleteThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}:markAsDone":{"post":{"operationId":"markThreadAsDone","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}:markAsOpen":{"post":{"operationId":"markThreadAsOpen","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}/timeline":{"get":{"operationId":"getThreadTimeline","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}/trash":{"post":{"operationId":"trashThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}/untrash":{"post":{"operationId":"untrashThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/bulk:read":{"post":{"operationId":"threadBulkActionsRead","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:unread":{"post":{"operationId":"threadBulkActionsUnread","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:favorite":{"post":{"operationId":"threadBulkActionsFavorite","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:unfavorite":{"post":{"operationId":"threadBulkActionsUnfavorite","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:trash":{"post":{"operationId":"threadBulkActionsTrash","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:untrash":{"post":{"operationId":"threadBulkActionsUntrash","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/read":{"post":{"operationId":"markReadThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/threads/{id}/read":{"post":{"operationId":"markReadThreadV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/unread":{"post":{"operationId":"markUnreadThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/threads/{id}/unread":{"post":{"operationId":"markUnreadThreadV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/assign":{"post":{"operationId":"assignThread","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/unassign":{"post":{"operationId":"unassignThread","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/assign:users":{"post":{"operationId":"assignUsers","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/drafts":{"post":{"operationId":"createDraft","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/message/drafts:send":{"post":{"operationId":"sendDraft","responses":{}}},"/v2/message/messages/{id}":{"get":{"operationId":"getMessageV2","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}}},"components":{},"servers":[{"url":"https://message.sls.epilot.io"}]}')}},s={},r=function r(a){var t=s[a];if(void 0!==t)return t.exports;var n=s[a]={exports:{}};return e[a].call(n.exports,n,n.exports,r),n.exports}(914),a=exports;for(var t in r)a[t]=r[t];r.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,s,r){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s,"__esModule",{value:!0});var t=a(r(240));s.default=t.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.2","info":{"title":"","version":""},"paths":{"/v1/message/messages":{"post":{"operationId":"sendMessage","parameters":[{"in":"query","name":"do_not_create_entities"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"put":{"operationId":"updateMessage","responses":{}}},"/v1/message/messages/{id}":{"get":{"operationId":"getMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}},"delete":{"operationId":"deleteMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/messages/{id}/trash":{"post":{"operationId":"trashMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/messages/{id}/untrash":{"post":{"operationId":"untrashMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/messages/{id}/read":{"post":{"operationId":"markReadMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/messages/{id}/read":{"post":{"operationId":"markReadMessageV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/messages/{id}/unread":{"post":{"operationId":"markUnreadMessage","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/messages/{id}/unread":{"post":{"operationId":"markUnreadMessageV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads:search":{"post":{"operationId":"searchThreads","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/message/threads:search":{"post":{"operationId":"searchThreadsV2","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads:searchIds":{"post":{"operationId":"searchIds","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads":{"put":{"operationId":"updateThread","responses":{}}},"/v1/message/threads/{id}":{"delete":{"operationId":"deleteThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}:markAsDone":{"post":{"operationId":"markThreadAsDone","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}:markAsOpen":{"post":{"operationId":"markThreadAsOpen","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}/timeline":{"get":{"operationId":"getThreadTimeline","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}/trash":{"post":{"operationId":"trashThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/{id}/untrash":{"post":{"operationId":"untrashThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/threads/bulk:read":{"post":{"operationId":"threadBulkActionsRead","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:unread":{"post":{"operationId":"threadBulkActionsUnread","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:favorite":{"post":{"operationId":"threadBulkActionsFavorite","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:unfavorite":{"post":{"operationId":"threadBulkActionsUnfavorite","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:trash":{"post":{"operationId":"threadBulkActionsTrash","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:untrash":{"post":{"operationId":"threadBulkActionsUntrash","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:delete":{"post":{"operationId":"threadBulkActionsDelete","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:done":{"post":{"operationId":"threadBulkActionsDone","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/bulk:open":{"post":{"operationId":"threadBulkActionsOpen","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/read":{"post":{"operationId":"markReadThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/threads/{id}/read":{"post":{"operationId":"markReadThreadV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/unread":{"post":{"operationId":"markUnreadThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v2/message/threads/{id}/unread":{"post":{"operationId":"markUnreadThreadV2","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/assign":{"post":{"operationId":"assignThread","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/unassign":{"post":{"operationId":"unassignThread","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}/assign:users":{"post":{"operationId":"assignUsers","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/message/threads/{id}:pin":{"post":{"operationId":"pinThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}},"delete":{"operationId":"unpinThread","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}},"/v1/message/drafts":{"post":{"operationId":"createDraft","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/message/drafts:send":{"post":{"operationId":"sendDraft","responses":{}}},"/v2/message/messages/{id}":{"get":{"operationId":"getMessageV2","parameters":[{"name":"id","in":"path","required":true}],"responses":{}}}},"components":{},"servers":[{"url":"https://message.sls.epilot.io"}]}')}},s={},r=function r(a){var t=s[a];if(void 0!==t)return t.exports;var n=s[a]={exports:{}};return e[a].call(n.exports,n,n.exports,r),n.exports}(914),a=exports;for(var t in r)a[t]=r[t];r.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
|
|
@@ -151,6 +151,17 @@
|
|
|
151
151
|
"responses": {}
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
+
"/v2/message/threads:search": {
|
|
155
|
+
"post": {
|
|
156
|
+
"operationId": "searchThreadsV2",
|
|
157
|
+
"requestBody": {
|
|
158
|
+
"content": {
|
|
159
|
+
"application/json": {}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"responses": {}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
154
165
|
"/v1/message/threads:searchIds": {
|
|
155
166
|
"post": {
|
|
156
167
|
"operationId": "searchIds",
|
|
@@ -318,6 +329,42 @@
|
|
|
318
329
|
"responses": {}
|
|
319
330
|
}
|
|
320
331
|
},
|
|
332
|
+
"/v1/message/threads/bulk:delete": {
|
|
333
|
+
"post": {
|
|
334
|
+
"operationId": "threadBulkActionsDelete",
|
|
335
|
+
"requestBody": {
|
|
336
|
+
"required": true,
|
|
337
|
+
"content": {
|
|
338
|
+
"application/json": {}
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"responses": {}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"/v1/message/threads/bulk:done": {
|
|
345
|
+
"post": {
|
|
346
|
+
"operationId": "threadBulkActionsDone",
|
|
347
|
+
"requestBody": {
|
|
348
|
+
"required": true,
|
|
349
|
+
"content": {
|
|
350
|
+
"application/json": {}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"responses": {}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"/v1/message/threads/bulk:open": {
|
|
357
|
+
"post": {
|
|
358
|
+
"operationId": "threadBulkActionsOpen",
|
|
359
|
+
"requestBody": {
|
|
360
|
+
"required": true,
|
|
361
|
+
"content": {
|
|
362
|
+
"application/json": {}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"responses": {}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
321
368
|
"/v1/message/threads/{id}/read": {
|
|
322
369
|
"post": {
|
|
323
370
|
"operationId": "markReadThread",
|
|
@@ -439,6 +486,30 @@
|
|
|
439
486
|
"responses": {}
|
|
440
487
|
}
|
|
441
488
|
},
|
|
489
|
+
"/v1/message/threads/{id}:pin": {
|
|
490
|
+
"post": {
|
|
491
|
+
"operationId": "pinThread",
|
|
492
|
+
"parameters": [
|
|
493
|
+
{
|
|
494
|
+
"name": "id",
|
|
495
|
+
"in": "path",
|
|
496
|
+
"required": true
|
|
497
|
+
}
|
|
498
|
+
],
|
|
499
|
+
"responses": {}
|
|
500
|
+
},
|
|
501
|
+
"delete": {
|
|
502
|
+
"operationId": "unpinThread",
|
|
503
|
+
"parameters": [
|
|
504
|
+
{
|
|
505
|
+
"name": "id",
|
|
506
|
+
"in": "path",
|
|
507
|
+
"required": true
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"responses": {}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
442
513
|
"/v1/message/drafts": {
|
|
443
514
|
"post": {
|
|
444
515
|
"operationId": "createDraft",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -489,6 +489,20 @@ declare namespace Components {
|
|
|
489
489
|
size?: number;
|
|
490
490
|
hydrate?: boolean;
|
|
491
491
|
}
|
|
492
|
+
export interface SearchParamsV2 {
|
|
493
|
+
/**
|
|
494
|
+
* Lucene query syntax supported with ElasticSearch
|
|
495
|
+
* example:
|
|
496
|
+
* subject:"Request for solar panel price" AND _tags:INBOX
|
|
497
|
+
*/
|
|
498
|
+
q: string;
|
|
499
|
+
from?: number;
|
|
500
|
+
size?: number;
|
|
501
|
+
hydrate?: boolean;
|
|
502
|
+
include_scores?: boolean;
|
|
503
|
+
sort?: string;
|
|
504
|
+
highlight?: any;
|
|
505
|
+
}
|
|
492
506
|
/**
|
|
493
507
|
* Thread properties depend on API caller as it's not pre-defined. We do recommend having at least `topic` property for categorizing.
|
|
494
508
|
*/
|
|
@@ -1158,7 +1172,7 @@ declare namespace Paths {
|
|
|
1158
1172
|
id: Parameters.Id;
|
|
1159
1173
|
}
|
|
1160
1174
|
namespace Responses {
|
|
1161
|
-
export interface $
|
|
1175
|
+
export interface $200 {
|
|
1162
1176
|
}
|
|
1163
1177
|
export interface $403 {
|
|
1164
1178
|
}
|
|
@@ -1173,7 +1187,7 @@ declare namespace Paths {
|
|
|
1173
1187
|
}
|
|
1174
1188
|
export type RequestBody = Components.Schemas.ReadMessagePayload;
|
|
1175
1189
|
namespace Responses {
|
|
1176
|
-
export interface $
|
|
1190
|
+
export interface $200 {
|
|
1177
1191
|
}
|
|
1178
1192
|
export interface $403 {
|
|
1179
1193
|
}
|
|
@@ -1244,7 +1258,7 @@ declare namespace Paths {
|
|
|
1244
1258
|
id: Parameters.Id;
|
|
1245
1259
|
}
|
|
1246
1260
|
namespace Responses {
|
|
1247
|
-
export interface $
|
|
1261
|
+
export interface $200 {
|
|
1248
1262
|
}
|
|
1249
1263
|
export interface $403 {
|
|
1250
1264
|
}
|
|
@@ -1259,12 +1273,32 @@ declare namespace Paths {
|
|
|
1259
1273
|
}
|
|
1260
1274
|
export type RequestBody = Components.Schemas.ReadMessagePayload;
|
|
1261
1275
|
namespace Responses {
|
|
1262
|
-
export interface $
|
|
1276
|
+
export interface $200 {
|
|
1263
1277
|
}
|
|
1264
1278
|
export interface $403 {
|
|
1265
1279
|
}
|
|
1266
1280
|
}
|
|
1267
1281
|
}
|
|
1282
|
+
namespace PinThread {
|
|
1283
|
+
namespace Parameters {
|
|
1284
|
+
export type Id = string;
|
|
1285
|
+
}
|
|
1286
|
+
export interface PathParameters {
|
|
1287
|
+
id: Parameters.Id;
|
|
1288
|
+
}
|
|
1289
|
+
namespace Responses {
|
|
1290
|
+
export interface $204 {
|
|
1291
|
+
}
|
|
1292
|
+
export interface $400 {
|
|
1293
|
+
}
|
|
1294
|
+
export interface $404 {
|
|
1295
|
+
}
|
|
1296
|
+
export interface $409 {
|
|
1297
|
+
}
|
|
1298
|
+
export interface $500 {
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1268
1302
|
namespace SearchIds {
|
|
1269
1303
|
export type RequestBody = Components.Schemas.SearchIDParams;
|
|
1270
1304
|
namespace Responses {
|
|
@@ -1375,6 +1409,97 @@ declare namespace Paths {
|
|
|
1375
1409
|
}
|
|
1376
1410
|
}
|
|
1377
1411
|
}
|
|
1412
|
+
namespace SearchThreadsV2 {
|
|
1413
|
+
export type RequestBody = Components.Schemas.SearchParamsV2;
|
|
1414
|
+
namespace Responses {
|
|
1415
|
+
export interface $200 {
|
|
1416
|
+
/**
|
|
1417
|
+
* Total of matched threads
|
|
1418
|
+
* example:
|
|
1419
|
+
* 14
|
|
1420
|
+
*/
|
|
1421
|
+
hits: number;
|
|
1422
|
+
/**
|
|
1423
|
+
* Matched threads
|
|
1424
|
+
*/
|
|
1425
|
+
results: {
|
|
1426
|
+
/**
|
|
1427
|
+
* Entity ID
|
|
1428
|
+
* example:
|
|
1429
|
+
* 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
1430
|
+
*/
|
|
1431
|
+
_id: string;
|
|
1432
|
+
/**
|
|
1433
|
+
* Entity title
|
|
1434
|
+
*/
|
|
1435
|
+
_title: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* Organization ID the entity belongs to
|
|
1438
|
+
* example:
|
|
1439
|
+
* 206801
|
|
1440
|
+
*/
|
|
1441
|
+
_org: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* URL-friendly identifier for the entity schema
|
|
1444
|
+
* example:
|
|
1445
|
+
* message
|
|
1446
|
+
*/
|
|
1447
|
+
_schema: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* Entity tags
|
|
1450
|
+
* example:
|
|
1451
|
+
* [
|
|
1452
|
+
* "pricing",
|
|
1453
|
+
* "INBOX"
|
|
1454
|
+
* ]
|
|
1455
|
+
*/
|
|
1456
|
+
_tags?: string[];
|
|
1457
|
+
/**
|
|
1458
|
+
* Created date
|
|
1459
|
+
* example:
|
|
1460
|
+
* 2021-02-09T12:41:43.662Z
|
|
1461
|
+
*/
|
|
1462
|
+
_created_at: string; // date-time
|
|
1463
|
+
/**
|
|
1464
|
+
* Updated date
|
|
1465
|
+
* example:
|
|
1466
|
+
* 2021-02-10T09:14:31.990Z
|
|
1467
|
+
*/
|
|
1468
|
+
_updated_at: string; // date-time
|
|
1469
|
+
/**
|
|
1470
|
+
* Message topic (e.g. which service sends the message or message category)
|
|
1471
|
+
* example:
|
|
1472
|
+
* CUSTOMER_MESSAGE
|
|
1473
|
+
*/
|
|
1474
|
+
topic: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* User ID of who the message is assigned to. Default is the user who sends message.
|
|
1477
|
+
*/
|
|
1478
|
+
assigned_to?: string[];
|
|
1479
|
+
/**
|
|
1480
|
+
* Organization ID of organization read the message.
|
|
1481
|
+
*/
|
|
1482
|
+
org_read_message?: string[];
|
|
1483
|
+
/**
|
|
1484
|
+
* Whether the thread is marked as Done
|
|
1485
|
+
* example:
|
|
1486
|
+
* false
|
|
1487
|
+
*/
|
|
1488
|
+
done?: boolean;
|
|
1489
|
+
latest_message?: Components.Schemas.Message;
|
|
1490
|
+
latest_trash_message?: Components.Schemas.Message;
|
|
1491
|
+
/**
|
|
1492
|
+
* The date of the latest message time in the thread
|
|
1493
|
+
* example:
|
|
1494
|
+
* 2024-02-10T09:14:31.990Z
|
|
1495
|
+
*/
|
|
1496
|
+
latest_message_at?: string;
|
|
1497
|
+
}[];
|
|
1498
|
+
}
|
|
1499
|
+
export interface $403 {
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1378
1503
|
namespace SendDraft {
|
|
1379
1504
|
namespace Responses {
|
|
1380
1505
|
export interface $201 {
|
|
@@ -1522,10 +1647,37 @@ declare namespace Paths {
|
|
|
1522
1647
|
}
|
|
1523
1648
|
}
|
|
1524
1649
|
}
|
|
1650
|
+
namespace ThreadBulkActionsDelete {
|
|
1651
|
+
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1652
|
+
namespace Responses {
|
|
1653
|
+
export interface $200 {
|
|
1654
|
+
}
|
|
1655
|
+
export interface $403 {
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
namespace ThreadBulkActionsDone {
|
|
1660
|
+
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1661
|
+
namespace Responses {
|
|
1662
|
+
export interface $200 {
|
|
1663
|
+
}
|
|
1664
|
+
export interface $403 {
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1525
1668
|
namespace ThreadBulkActionsFavorite {
|
|
1526
1669
|
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1527
1670
|
namespace Responses {
|
|
1528
|
-
export interface $
|
|
1671
|
+
export interface $200 {
|
|
1672
|
+
}
|
|
1673
|
+
export interface $403 {
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
namespace ThreadBulkActionsOpen {
|
|
1678
|
+
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1679
|
+
namespace Responses {
|
|
1680
|
+
export interface $200 {
|
|
1529
1681
|
}
|
|
1530
1682
|
export interface $403 {
|
|
1531
1683
|
}
|
|
@@ -1534,7 +1686,7 @@ declare namespace Paths {
|
|
|
1534
1686
|
namespace ThreadBulkActionsRead {
|
|
1535
1687
|
export type RequestBody = Components.Schemas.BulkActionsPayloadWithScopes;
|
|
1536
1688
|
namespace Responses {
|
|
1537
|
-
export interface $
|
|
1689
|
+
export interface $200 {
|
|
1538
1690
|
}
|
|
1539
1691
|
export interface $403 {
|
|
1540
1692
|
}
|
|
@@ -1543,7 +1695,7 @@ declare namespace Paths {
|
|
|
1543
1695
|
namespace ThreadBulkActionsTrash {
|
|
1544
1696
|
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1545
1697
|
namespace Responses {
|
|
1546
|
-
export interface $
|
|
1698
|
+
export interface $200 {
|
|
1547
1699
|
}
|
|
1548
1700
|
export interface $403 {
|
|
1549
1701
|
}
|
|
@@ -1552,7 +1704,7 @@ declare namespace Paths {
|
|
|
1552
1704
|
namespace ThreadBulkActionsUnfavorite {
|
|
1553
1705
|
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1554
1706
|
namespace Responses {
|
|
1555
|
-
export interface $
|
|
1707
|
+
export interface $200 {
|
|
1556
1708
|
}
|
|
1557
1709
|
export interface $403 {
|
|
1558
1710
|
}
|
|
@@ -1561,7 +1713,7 @@ declare namespace Paths {
|
|
|
1561
1713
|
namespace ThreadBulkActionsUnread {
|
|
1562
1714
|
export type RequestBody = Components.Schemas.BulkActionsPayloadWithScopes;
|
|
1563
1715
|
namespace Responses {
|
|
1564
|
-
export interface $
|
|
1716
|
+
export interface $200 {
|
|
1565
1717
|
}
|
|
1566
1718
|
export interface $403 {
|
|
1567
1719
|
}
|
|
@@ -1570,7 +1722,7 @@ declare namespace Paths {
|
|
|
1570
1722
|
namespace ThreadBulkActionsUntrash {
|
|
1571
1723
|
export type RequestBody = Components.Schemas.BulkActionsPayload;
|
|
1572
1724
|
namespace Responses {
|
|
1573
|
-
export interface $
|
|
1725
|
+
export interface $200 {
|
|
1574
1726
|
}
|
|
1575
1727
|
export interface $403 {
|
|
1576
1728
|
}
|
|
@@ -1598,7 +1750,7 @@ declare namespace Paths {
|
|
|
1598
1750
|
id: Parameters.Id;
|
|
1599
1751
|
}
|
|
1600
1752
|
namespace Responses {
|
|
1601
|
-
export interface $
|
|
1753
|
+
export interface $200 {
|
|
1602
1754
|
}
|
|
1603
1755
|
export interface $403 {
|
|
1604
1756
|
}
|
|
@@ -1635,6 +1787,26 @@ declare namespace Paths {
|
|
|
1635
1787
|
}
|
|
1636
1788
|
}
|
|
1637
1789
|
}
|
|
1790
|
+
namespace UnpinThread {
|
|
1791
|
+
namespace Parameters {
|
|
1792
|
+
export type Id = string;
|
|
1793
|
+
}
|
|
1794
|
+
export interface PathParameters {
|
|
1795
|
+
id: Parameters.Id;
|
|
1796
|
+
}
|
|
1797
|
+
namespace Responses {
|
|
1798
|
+
export interface $204 {
|
|
1799
|
+
}
|
|
1800
|
+
export interface $400 {
|
|
1801
|
+
}
|
|
1802
|
+
export interface $404 {
|
|
1803
|
+
}
|
|
1804
|
+
export interface $409 {
|
|
1805
|
+
}
|
|
1806
|
+
export interface $500 {
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1638
1810
|
namespace UntrashMessage {
|
|
1639
1811
|
namespace Parameters {
|
|
1640
1812
|
export type Id = string;
|
|
@@ -1657,7 +1829,7 @@ declare namespace Paths {
|
|
|
1657
1829
|
id: Parameters.Id;
|
|
1658
1830
|
}
|
|
1659
1831
|
namespace Responses {
|
|
1660
|
-
export interface $
|
|
1832
|
+
export interface $200 {
|
|
1661
1833
|
}
|
|
1662
1834
|
export interface $403 {
|
|
1663
1835
|
}
|
|
@@ -1996,6 +2168,21 @@ export interface OperationMethods {
|
|
|
1996
2168
|
data?: Paths.SearchThreads.RequestBody,
|
|
1997
2169
|
config?: AxiosRequestConfig
|
|
1998
2170
|
): OperationResponse<Paths.SearchThreads.Responses.$200>
|
|
2171
|
+
/**
|
|
2172
|
+
* searchThreadsV2 - searchThreadsV2
|
|
2173
|
+
*
|
|
2174
|
+
* Search for threads of email messages.
|
|
2175
|
+
*
|
|
2176
|
+
* Messages with no replies yet are treated as threads with single message.
|
|
2177
|
+
*
|
|
2178
|
+
* Lucene syntax supported.
|
|
2179
|
+
*
|
|
2180
|
+
*/
|
|
2181
|
+
'searchThreadsV2'(
|
|
2182
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2183
|
+
data?: Paths.SearchThreadsV2.RequestBody,
|
|
2184
|
+
config?: AxiosRequestConfig
|
|
2185
|
+
): OperationResponse<Paths.SearchThreadsV2.Responses.$200>
|
|
1999
2186
|
/**
|
|
2000
2187
|
* searchIds - Search threads and return all id's
|
|
2001
2188
|
*
|
|
@@ -2068,7 +2255,7 @@ export interface OperationMethods {
|
|
|
2068
2255
|
parameters?: Parameters<Paths.TrashThread.PathParameters> | null,
|
|
2069
2256
|
data?: any,
|
|
2070
2257
|
config?: AxiosRequestConfig
|
|
2071
|
-
): OperationResponse<Paths.TrashThread.Responses.$
|
|
2258
|
+
): OperationResponse<Paths.TrashThread.Responses.$200>
|
|
2072
2259
|
/**
|
|
2073
2260
|
* untrashThread - untrashThread
|
|
2074
2261
|
*
|
|
@@ -2078,7 +2265,7 @@ export interface OperationMethods {
|
|
|
2078
2265
|
parameters?: Parameters<Paths.UntrashThread.PathParameters> | null,
|
|
2079
2266
|
data?: any,
|
|
2080
2267
|
config?: AxiosRequestConfig
|
|
2081
|
-
): OperationResponse<Paths.UntrashThread.Responses.$
|
|
2268
|
+
): OperationResponse<Paths.UntrashThread.Responses.$200>
|
|
2082
2269
|
/**
|
|
2083
2270
|
* threadBulkActionsRead - threadBulkActionsRead
|
|
2084
2271
|
*
|
|
@@ -2088,7 +2275,7 @@ export interface OperationMethods {
|
|
|
2088
2275
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2089
2276
|
data?: Paths.ThreadBulkActionsRead.RequestBody,
|
|
2090
2277
|
config?: AxiosRequestConfig
|
|
2091
|
-
): OperationResponse<Paths.ThreadBulkActionsRead.Responses.$
|
|
2278
|
+
): OperationResponse<Paths.ThreadBulkActionsRead.Responses.$200>
|
|
2092
2279
|
/**
|
|
2093
2280
|
* threadBulkActionsUnread - threadBulkActionsUnread
|
|
2094
2281
|
*
|
|
@@ -2098,7 +2285,7 @@ export interface OperationMethods {
|
|
|
2098
2285
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2099
2286
|
data?: Paths.ThreadBulkActionsUnread.RequestBody,
|
|
2100
2287
|
config?: AxiosRequestConfig
|
|
2101
|
-
): OperationResponse<Paths.ThreadBulkActionsUnread.Responses.$
|
|
2288
|
+
): OperationResponse<Paths.ThreadBulkActionsUnread.Responses.$200>
|
|
2102
2289
|
/**
|
|
2103
2290
|
* threadBulkActionsFavorite - threadBulkActionsFavorite
|
|
2104
2291
|
*
|
|
@@ -2108,7 +2295,7 @@ export interface OperationMethods {
|
|
|
2108
2295
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2109
2296
|
data?: Paths.ThreadBulkActionsFavorite.RequestBody,
|
|
2110
2297
|
config?: AxiosRequestConfig
|
|
2111
|
-
): OperationResponse<Paths.ThreadBulkActionsFavorite.Responses.$
|
|
2298
|
+
): OperationResponse<Paths.ThreadBulkActionsFavorite.Responses.$200>
|
|
2112
2299
|
/**
|
|
2113
2300
|
* threadBulkActionsUnfavorite - threadBulkActionsUnfavorite
|
|
2114
2301
|
*
|
|
@@ -2118,7 +2305,7 @@ export interface OperationMethods {
|
|
|
2118
2305
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2119
2306
|
data?: Paths.ThreadBulkActionsUnfavorite.RequestBody,
|
|
2120
2307
|
config?: AxiosRequestConfig
|
|
2121
|
-
): OperationResponse<Paths.ThreadBulkActionsUnfavorite.Responses.$
|
|
2308
|
+
): OperationResponse<Paths.ThreadBulkActionsUnfavorite.Responses.$200>
|
|
2122
2309
|
/**
|
|
2123
2310
|
* threadBulkActionsTrash - threadBulkActionsTrash
|
|
2124
2311
|
*
|
|
@@ -2128,7 +2315,7 @@ export interface OperationMethods {
|
|
|
2128
2315
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2129
2316
|
data?: Paths.ThreadBulkActionsTrash.RequestBody,
|
|
2130
2317
|
config?: AxiosRequestConfig
|
|
2131
|
-
): OperationResponse<Paths.ThreadBulkActionsTrash.Responses.$
|
|
2318
|
+
): OperationResponse<Paths.ThreadBulkActionsTrash.Responses.$200>
|
|
2132
2319
|
/**
|
|
2133
2320
|
* threadBulkActionsUntrash - threadBulkActionsUntrash
|
|
2134
2321
|
*
|
|
@@ -2138,7 +2325,37 @@ export interface OperationMethods {
|
|
|
2138
2325
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2139
2326
|
data?: Paths.ThreadBulkActionsUntrash.RequestBody,
|
|
2140
2327
|
config?: AxiosRequestConfig
|
|
2141
|
-
): OperationResponse<Paths.ThreadBulkActionsUntrash.Responses.$
|
|
2328
|
+
): OperationResponse<Paths.ThreadBulkActionsUntrash.Responses.$200>
|
|
2329
|
+
/**
|
|
2330
|
+
* threadBulkActionsDelete - threadBulkActionsDelete
|
|
2331
|
+
*
|
|
2332
|
+
* Performs a bulk permanent delete for all threads
|
|
2333
|
+
*/
|
|
2334
|
+
'threadBulkActionsDelete'(
|
|
2335
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2336
|
+
data?: Paths.ThreadBulkActionsDelete.RequestBody,
|
|
2337
|
+
config?: AxiosRequestConfig
|
|
2338
|
+
): OperationResponse<Paths.ThreadBulkActionsDelete.Responses.$200>
|
|
2339
|
+
/**
|
|
2340
|
+
* threadBulkActionsDone - threadBulkActionsDone
|
|
2341
|
+
*
|
|
2342
|
+
* Perform a bulk action of marking an array of threads as done
|
|
2343
|
+
*/
|
|
2344
|
+
'threadBulkActionsDone'(
|
|
2345
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2346
|
+
data?: Paths.ThreadBulkActionsDone.RequestBody,
|
|
2347
|
+
config?: AxiosRequestConfig
|
|
2348
|
+
): OperationResponse<Paths.ThreadBulkActionsDone.Responses.$200>
|
|
2349
|
+
/**
|
|
2350
|
+
* threadBulkActionsOpen - threadBulkActionsOpen
|
|
2351
|
+
*
|
|
2352
|
+
* Perform a bulk action of marking an array of threads as open
|
|
2353
|
+
*/
|
|
2354
|
+
'threadBulkActionsOpen'(
|
|
2355
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2356
|
+
data?: Paths.ThreadBulkActionsOpen.RequestBody,
|
|
2357
|
+
config?: AxiosRequestConfig
|
|
2358
|
+
): OperationResponse<Paths.ThreadBulkActionsOpen.Responses.$200>
|
|
2142
2359
|
/**
|
|
2143
2360
|
* markReadThread - markReadThread
|
|
2144
2361
|
*
|
|
@@ -2148,7 +2365,7 @@ export interface OperationMethods {
|
|
|
2148
2365
|
parameters?: Parameters<Paths.MarkReadThread.PathParameters> | null,
|
|
2149
2366
|
data?: any,
|
|
2150
2367
|
config?: AxiosRequestConfig
|
|
2151
|
-
): OperationResponse<Paths.MarkReadThread.Responses.$
|
|
2368
|
+
): OperationResponse<Paths.MarkReadThread.Responses.$200>
|
|
2152
2369
|
/**
|
|
2153
2370
|
* markReadThreadV2 - markReadThreadV2
|
|
2154
2371
|
*
|
|
@@ -2158,7 +2375,7 @@ export interface OperationMethods {
|
|
|
2158
2375
|
parameters?: Parameters<Paths.MarkReadThreadV2.PathParameters> | null,
|
|
2159
2376
|
data?: Paths.MarkReadThreadV2.RequestBody,
|
|
2160
2377
|
config?: AxiosRequestConfig
|
|
2161
|
-
): OperationResponse<Paths.MarkReadThreadV2.Responses.$
|
|
2378
|
+
): OperationResponse<Paths.MarkReadThreadV2.Responses.$200>
|
|
2162
2379
|
/**
|
|
2163
2380
|
* markUnreadThread - markUnreadThread
|
|
2164
2381
|
*
|
|
@@ -2168,7 +2385,7 @@ export interface OperationMethods {
|
|
|
2168
2385
|
parameters?: Parameters<Paths.MarkUnreadThread.PathParameters> | null,
|
|
2169
2386
|
data?: any,
|
|
2170
2387
|
config?: AxiosRequestConfig
|
|
2171
|
-
): OperationResponse<Paths.MarkUnreadThread.Responses.$
|
|
2388
|
+
): OperationResponse<Paths.MarkUnreadThread.Responses.$200>
|
|
2172
2389
|
/**
|
|
2173
2390
|
* markUnreadThreadV2 - markUnreadThreadV2
|
|
2174
2391
|
*
|
|
@@ -2178,7 +2395,7 @@ export interface OperationMethods {
|
|
|
2178
2395
|
parameters?: Parameters<Paths.MarkUnreadThreadV2.PathParameters> | null,
|
|
2179
2396
|
data?: Paths.MarkUnreadThreadV2.RequestBody,
|
|
2180
2397
|
config?: AxiosRequestConfig
|
|
2181
|
-
): OperationResponse<Paths.MarkUnreadThreadV2.Responses.$
|
|
2398
|
+
): OperationResponse<Paths.MarkUnreadThreadV2.Responses.$200>
|
|
2182
2399
|
/**
|
|
2183
2400
|
* assignThread - assignThread
|
|
2184
2401
|
*
|
|
@@ -2211,6 +2428,26 @@ export interface OperationMethods {
|
|
|
2211
2428
|
data?: Paths.AssignUsers.RequestBody,
|
|
2212
2429
|
config?: AxiosRequestConfig
|
|
2213
2430
|
): OperationResponse<Paths.AssignUsers.Responses.$204>
|
|
2431
|
+
/**
|
|
2432
|
+
* pinThread - Pin a single thread
|
|
2433
|
+
*
|
|
2434
|
+
* Pin a single thread
|
|
2435
|
+
*/
|
|
2436
|
+
'pinThread'(
|
|
2437
|
+
parameters?: Parameters<Paths.PinThread.PathParameters> | null,
|
|
2438
|
+
data?: any,
|
|
2439
|
+
config?: AxiosRequestConfig
|
|
2440
|
+
): OperationResponse<Paths.PinThread.Responses.$204>
|
|
2441
|
+
/**
|
|
2442
|
+
* unpinThread - Unpin a single thread
|
|
2443
|
+
*
|
|
2444
|
+
* Unpin a single thread
|
|
2445
|
+
*/
|
|
2446
|
+
'unpinThread'(
|
|
2447
|
+
parameters?: Parameters<Paths.UnpinThread.PathParameters> | null,
|
|
2448
|
+
data?: any,
|
|
2449
|
+
config?: AxiosRequestConfig
|
|
2450
|
+
): OperationResponse<Paths.UnpinThread.Responses.$204>
|
|
2214
2451
|
/**
|
|
2215
2452
|
* createDraft - createDraft
|
|
2216
2453
|
*
|
|
@@ -2387,6 +2624,23 @@ export interface PathsDictionary {
|
|
|
2387
2624
|
config?: AxiosRequestConfig
|
|
2388
2625
|
): OperationResponse<Paths.SearchThreads.Responses.$200>
|
|
2389
2626
|
}
|
|
2627
|
+
['/v2/message/threads:search']: {
|
|
2628
|
+
/**
|
|
2629
|
+
* searchThreadsV2 - searchThreadsV2
|
|
2630
|
+
*
|
|
2631
|
+
* Search for threads of email messages.
|
|
2632
|
+
*
|
|
2633
|
+
* Messages with no replies yet are treated as threads with single message.
|
|
2634
|
+
*
|
|
2635
|
+
* Lucene syntax supported.
|
|
2636
|
+
*
|
|
2637
|
+
*/
|
|
2638
|
+
'post'(
|
|
2639
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2640
|
+
data?: Paths.SearchThreadsV2.RequestBody,
|
|
2641
|
+
config?: AxiosRequestConfig
|
|
2642
|
+
): OperationResponse<Paths.SearchThreadsV2.Responses.$200>
|
|
2643
|
+
}
|
|
2390
2644
|
['/v1/message/threads:searchIds']: {
|
|
2391
2645
|
/**
|
|
2392
2646
|
* searchIds - Search threads and return all id's
|
|
@@ -2472,7 +2726,7 @@ export interface PathsDictionary {
|
|
|
2472
2726
|
parameters?: Parameters<Paths.TrashThread.PathParameters> | null,
|
|
2473
2727
|
data?: any,
|
|
2474
2728
|
config?: AxiosRequestConfig
|
|
2475
|
-
): OperationResponse<Paths.TrashThread.Responses.$
|
|
2729
|
+
): OperationResponse<Paths.TrashThread.Responses.$200>
|
|
2476
2730
|
}
|
|
2477
2731
|
['/v1/message/threads/{id}/untrash']: {
|
|
2478
2732
|
/**
|
|
@@ -2484,7 +2738,7 @@ export interface PathsDictionary {
|
|
|
2484
2738
|
parameters?: Parameters<Paths.UntrashThread.PathParameters> | null,
|
|
2485
2739
|
data?: any,
|
|
2486
2740
|
config?: AxiosRequestConfig
|
|
2487
|
-
): OperationResponse<Paths.UntrashThread.Responses.$
|
|
2741
|
+
): OperationResponse<Paths.UntrashThread.Responses.$200>
|
|
2488
2742
|
}
|
|
2489
2743
|
['/v1/message/threads/bulk:read']: {
|
|
2490
2744
|
/**
|
|
@@ -2496,7 +2750,7 @@ export interface PathsDictionary {
|
|
|
2496
2750
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2497
2751
|
data?: Paths.ThreadBulkActionsRead.RequestBody,
|
|
2498
2752
|
config?: AxiosRequestConfig
|
|
2499
|
-
): OperationResponse<Paths.ThreadBulkActionsRead.Responses.$
|
|
2753
|
+
): OperationResponse<Paths.ThreadBulkActionsRead.Responses.$200>
|
|
2500
2754
|
}
|
|
2501
2755
|
['/v1/message/threads/bulk:unread']: {
|
|
2502
2756
|
/**
|
|
@@ -2508,7 +2762,7 @@ export interface PathsDictionary {
|
|
|
2508
2762
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2509
2763
|
data?: Paths.ThreadBulkActionsUnread.RequestBody,
|
|
2510
2764
|
config?: AxiosRequestConfig
|
|
2511
|
-
): OperationResponse<Paths.ThreadBulkActionsUnread.Responses.$
|
|
2765
|
+
): OperationResponse<Paths.ThreadBulkActionsUnread.Responses.$200>
|
|
2512
2766
|
}
|
|
2513
2767
|
['/v1/message/threads/bulk:favorite']: {
|
|
2514
2768
|
/**
|
|
@@ -2520,7 +2774,7 @@ export interface PathsDictionary {
|
|
|
2520
2774
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2521
2775
|
data?: Paths.ThreadBulkActionsFavorite.RequestBody,
|
|
2522
2776
|
config?: AxiosRequestConfig
|
|
2523
|
-
): OperationResponse<Paths.ThreadBulkActionsFavorite.Responses.$
|
|
2777
|
+
): OperationResponse<Paths.ThreadBulkActionsFavorite.Responses.$200>
|
|
2524
2778
|
}
|
|
2525
2779
|
['/v1/message/threads/bulk:unfavorite']: {
|
|
2526
2780
|
/**
|
|
@@ -2532,7 +2786,7 @@ export interface PathsDictionary {
|
|
|
2532
2786
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2533
2787
|
data?: Paths.ThreadBulkActionsUnfavorite.RequestBody,
|
|
2534
2788
|
config?: AxiosRequestConfig
|
|
2535
|
-
): OperationResponse<Paths.ThreadBulkActionsUnfavorite.Responses.$
|
|
2789
|
+
): OperationResponse<Paths.ThreadBulkActionsUnfavorite.Responses.$200>
|
|
2536
2790
|
}
|
|
2537
2791
|
['/v1/message/threads/bulk:trash']: {
|
|
2538
2792
|
/**
|
|
@@ -2544,7 +2798,7 @@ export interface PathsDictionary {
|
|
|
2544
2798
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2545
2799
|
data?: Paths.ThreadBulkActionsTrash.RequestBody,
|
|
2546
2800
|
config?: AxiosRequestConfig
|
|
2547
|
-
): OperationResponse<Paths.ThreadBulkActionsTrash.Responses.$
|
|
2801
|
+
): OperationResponse<Paths.ThreadBulkActionsTrash.Responses.$200>
|
|
2548
2802
|
}
|
|
2549
2803
|
['/v1/message/threads/bulk:untrash']: {
|
|
2550
2804
|
/**
|
|
@@ -2556,7 +2810,43 @@ export interface PathsDictionary {
|
|
|
2556
2810
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2557
2811
|
data?: Paths.ThreadBulkActionsUntrash.RequestBody,
|
|
2558
2812
|
config?: AxiosRequestConfig
|
|
2559
|
-
): OperationResponse<Paths.ThreadBulkActionsUntrash.Responses.$
|
|
2813
|
+
): OperationResponse<Paths.ThreadBulkActionsUntrash.Responses.$200>
|
|
2814
|
+
}
|
|
2815
|
+
['/v1/message/threads/bulk:delete']: {
|
|
2816
|
+
/**
|
|
2817
|
+
* threadBulkActionsDelete - threadBulkActionsDelete
|
|
2818
|
+
*
|
|
2819
|
+
* Performs a bulk permanent delete for all threads
|
|
2820
|
+
*/
|
|
2821
|
+
'post'(
|
|
2822
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2823
|
+
data?: Paths.ThreadBulkActionsDelete.RequestBody,
|
|
2824
|
+
config?: AxiosRequestConfig
|
|
2825
|
+
): OperationResponse<Paths.ThreadBulkActionsDelete.Responses.$200>
|
|
2826
|
+
}
|
|
2827
|
+
['/v1/message/threads/bulk:done']: {
|
|
2828
|
+
/**
|
|
2829
|
+
* threadBulkActionsDone - threadBulkActionsDone
|
|
2830
|
+
*
|
|
2831
|
+
* Perform a bulk action of marking an array of threads as done
|
|
2832
|
+
*/
|
|
2833
|
+
'post'(
|
|
2834
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2835
|
+
data?: Paths.ThreadBulkActionsDone.RequestBody,
|
|
2836
|
+
config?: AxiosRequestConfig
|
|
2837
|
+
): OperationResponse<Paths.ThreadBulkActionsDone.Responses.$200>
|
|
2838
|
+
}
|
|
2839
|
+
['/v1/message/threads/bulk:open']: {
|
|
2840
|
+
/**
|
|
2841
|
+
* threadBulkActionsOpen - threadBulkActionsOpen
|
|
2842
|
+
*
|
|
2843
|
+
* Perform a bulk action of marking an array of threads as open
|
|
2844
|
+
*/
|
|
2845
|
+
'post'(
|
|
2846
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2847
|
+
data?: Paths.ThreadBulkActionsOpen.RequestBody,
|
|
2848
|
+
config?: AxiosRequestConfig
|
|
2849
|
+
): OperationResponse<Paths.ThreadBulkActionsOpen.Responses.$200>
|
|
2560
2850
|
}
|
|
2561
2851
|
['/v1/message/threads/{id}/read']: {
|
|
2562
2852
|
/**
|
|
@@ -2568,7 +2858,7 @@ export interface PathsDictionary {
|
|
|
2568
2858
|
parameters?: Parameters<Paths.MarkReadThread.PathParameters> | null,
|
|
2569
2859
|
data?: any,
|
|
2570
2860
|
config?: AxiosRequestConfig
|
|
2571
|
-
): OperationResponse<Paths.MarkReadThread.Responses.$
|
|
2861
|
+
): OperationResponse<Paths.MarkReadThread.Responses.$200>
|
|
2572
2862
|
}
|
|
2573
2863
|
['/v2/message/threads/{id}/read']: {
|
|
2574
2864
|
/**
|
|
@@ -2580,7 +2870,7 @@ export interface PathsDictionary {
|
|
|
2580
2870
|
parameters?: Parameters<Paths.MarkReadThreadV2.PathParameters> | null,
|
|
2581
2871
|
data?: Paths.MarkReadThreadV2.RequestBody,
|
|
2582
2872
|
config?: AxiosRequestConfig
|
|
2583
|
-
): OperationResponse<Paths.MarkReadThreadV2.Responses.$
|
|
2873
|
+
): OperationResponse<Paths.MarkReadThreadV2.Responses.$200>
|
|
2584
2874
|
}
|
|
2585
2875
|
['/v1/message/threads/{id}/unread']: {
|
|
2586
2876
|
/**
|
|
@@ -2592,7 +2882,7 @@ export interface PathsDictionary {
|
|
|
2592
2882
|
parameters?: Parameters<Paths.MarkUnreadThread.PathParameters> | null,
|
|
2593
2883
|
data?: any,
|
|
2594
2884
|
config?: AxiosRequestConfig
|
|
2595
|
-
): OperationResponse<Paths.MarkUnreadThread.Responses.$
|
|
2885
|
+
): OperationResponse<Paths.MarkUnreadThread.Responses.$200>
|
|
2596
2886
|
}
|
|
2597
2887
|
['/v2/message/threads/{id}/unread']: {
|
|
2598
2888
|
/**
|
|
@@ -2604,7 +2894,7 @@ export interface PathsDictionary {
|
|
|
2604
2894
|
parameters?: Parameters<Paths.MarkUnreadThreadV2.PathParameters> | null,
|
|
2605
2895
|
data?: Paths.MarkUnreadThreadV2.RequestBody,
|
|
2606
2896
|
config?: AxiosRequestConfig
|
|
2607
|
-
): OperationResponse<Paths.MarkUnreadThreadV2.Responses.$
|
|
2897
|
+
): OperationResponse<Paths.MarkUnreadThreadV2.Responses.$200>
|
|
2608
2898
|
}
|
|
2609
2899
|
['/v1/message/threads/{id}/assign']: {
|
|
2610
2900
|
/**
|
|
@@ -2644,6 +2934,28 @@ export interface PathsDictionary {
|
|
|
2644
2934
|
config?: AxiosRequestConfig
|
|
2645
2935
|
): OperationResponse<Paths.AssignUsers.Responses.$204>
|
|
2646
2936
|
}
|
|
2937
|
+
['/v1/message/threads/{id}:pin']: {
|
|
2938
|
+
/**
|
|
2939
|
+
* pinThread - Pin a single thread
|
|
2940
|
+
*
|
|
2941
|
+
* Pin a single thread
|
|
2942
|
+
*/
|
|
2943
|
+
'post'(
|
|
2944
|
+
parameters?: Parameters<Paths.PinThread.PathParameters> | null,
|
|
2945
|
+
data?: any,
|
|
2946
|
+
config?: AxiosRequestConfig
|
|
2947
|
+
): OperationResponse<Paths.PinThread.Responses.$204>
|
|
2948
|
+
/**
|
|
2949
|
+
* unpinThread - Unpin a single thread
|
|
2950
|
+
*
|
|
2951
|
+
* Unpin a single thread
|
|
2952
|
+
*/
|
|
2953
|
+
'delete'(
|
|
2954
|
+
parameters?: Parameters<Paths.UnpinThread.PathParameters> | null,
|
|
2955
|
+
data?: any,
|
|
2956
|
+
config?: AxiosRequestConfig
|
|
2957
|
+
): OperationResponse<Paths.UnpinThread.Responses.$204>
|
|
2958
|
+
}
|
|
2647
2959
|
['/v1/message/drafts']: {
|
|
2648
2960
|
/**
|
|
2649
2961
|
* createDraft - createDraft
|
|
@@ -2707,6 +3019,7 @@ export type ReadMessagePayload = Components.Schemas.ReadMessagePayload;
|
|
|
2707
3019
|
export type ReadingScope = Components.Schemas.ReadingScope;
|
|
2708
3020
|
export type SearchIDParams = Components.Schemas.SearchIDParams;
|
|
2709
3021
|
export type SearchParams = Components.Schemas.SearchParams;
|
|
3022
|
+
export type SearchParamsV2 = Components.Schemas.SearchParamsV2;
|
|
2710
3023
|
export type Thread = Components.Schemas.Thread;
|
|
2711
3024
|
export type ThreadDoneEvent = Components.Schemas.ThreadDoneEvent;
|
|
2712
3025
|
export type ThreadOpenEvent = Components.Schemas.ThreadOpenEvent;
|
package/dist/openapi.json
CHANGED
|
@@ -463,6 +463,65 @@
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
},
|
|
466
|
+
"/v2/message/threads:search": {
|
|
467
|
+
"post": {
|
|
468
|
+
"operationId": "searchThreadsV2",
|
|
469
|
+
"summary": "searchThreadsV2",
|
|
470
|
+
"description": "Search for threads of email messages.\n\nMessages with no replies yet are treated as threads with single message.\n\nLucene syntax supported.\n",
|
|
471
|
+
"tags": [
|
|
472
|
+
"Threads"
|
|
473
|
+
],
|
|
474
|
+
"requestBody": {
|
|
475
|
+
"content": {
|
|
476
|
+
"application/json": {
|
|
477
|
+
"schema": {
|
|
478
|
+
"$ref": "#/components/schemas/SearchParamsV2"
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"responses": {
|
|
484
|
+
"200": {
|
|
485
|
+
"description": "Success",
|
|
486
|
+
"content": {
|
|
487
|
+
"application/json": {
|
|
488
|
+
"schema": {
|
|
489
|
+
"type": "object",
|
|
490
|
+
"required": [
|
|
491
|
+
"hits",
|
|
492
|
+
"results"
|
|
493
|
+
],
|
|
494
|
+
"properties": {
|
|
495
|
+
"hits": {
|
|
496
|
+
"type": "number",
|
|
497
|
+
"description": "Total of matched threads",
|
|
498
|
+
"example": 14
|
|
499
|
+
},
|
|
500
|
+
"results": {
|
|
501
|
+
"type": "array",
|
|
502
|
+
"description": "Matched threads",
|
|
503
|
+
"items": {
|
|
504
|
+
"allOf": [
|
|
505
|
+
{
|
|
506
|
+
"$ref": "#/components/schemas/BaseEntity"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"$ref": "#/components/schemas/Thread"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"403": {
|
|
520
|
+
"description": "Forbidden"
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
},
|
|
466
525
|
"/v1/message/threads:searchIds": {
|
|
467
526
|
"post": {
|
|
468
527
|
"operationId": "searchIds",
|
|
@@ -690,7 +749,7 @@
|
|
|
690
749
|
}
|
|
691
750
|
],
|
|
692
751
|
"responses": {
|
|
693
|
-
"
|
|
752
|
+
"200": {
|
|
694
753
|
"description": "Success"
|
|
695
754
|
},
|
|
696
755
|
"403": {
|
|
@@ -719,7 +778,7 @@
|
|
|
719
778
|
}
|
|
720
779
|
],
|
|
721
780
|
"responses": {
|
|
722
|
-
"
|
|
781
|
+
"200": {
|
|
723
782
|
"description": "Success"
|
|
724
783
|
},
|
|
725
784
|
"403": {
|
|
@@ -747,7 +806,7 @@
|
|
|
747
806
|
}
|
|
748
807
|
},
|
|
749
808
|
"responses": {
|
|
750
|
-
"
|
|
809
|
+
"200": {
|
|
751
810
|
"description": "Success"
|
|
752
811
|
},
|
|
753
812
|
"403": {
|
|
@@ -775,7 +834,7 @@
|
|
|
775
834
|
}
|
|
776
835
|
},
|
|
777
836
|
"responses": {
|
|
778
|
-
"
|
|
837
|
+
"200": {
|
|
779
838
|
"description": "Success"
|
|
780
839
|
},
|
|
781
840
|
"403": {
|
|
@@ -803,7 +862,7 @@
|
|
|
803
862
|
}
|
|
804
863
|
},
|
|
805
864
|
"responses": {
|
|
806
|
-
"
|
|
865
|
+
"200": {
|
|
807
866
|
"description": "Success"
|
|
808
867
|
},
|
|
809
868
|
"403": {
|
|
@@ -831,7 +890,7 @@
|
|
|
831
890
|
}
|
|
832
891
|
},
|
|
833
892
|
"responses": {
|
|
834
|
-
"
|
|
893
|
+
"200": {
|
|
835
894
|
"description": "Success"
|
|
836
895
|
},
|
|
837
896
|
"403": {
|
|
@@ -859,7 +918,7 @@
|
|
|
859
918
|
}
|
|
860
919
|
},
|
|
861
920
|
"responses": {
|
|
862
|
-
"
|
|
921
|
+
"200": {
|
|
863
922
|
"description": "Success"
|
|
864
923
|
},
|
|
865
924
|
"403": {
|
|
@@ -887,7 +946,91 @@
|
|
|
887
946
|
}
|
|
888
947
|
},
|
|
889
948
|
"responses": {
|
|
890
|
-
"
|
|
949
|
+
"200": {
|
|
950
|
+
"description": "Success"
|
|
951
|
+
},
|
|
952
|
+
"403": {
|
|
953
|
+
"description": "Forbidden"
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
"/v1/message/threads/bulk:delete": {
|
|
959
|
+
"post": {
|
|
960
|
+
"operationId": "threadBulkActionsDelete",
|
|
961
|
+
"summary": "threadBulkActionsDelete",
|
|
962
|
+
"description": "Performs a bulk permanent delete for all threads",
|
|
963
|
+
"tags": [
|
|
964
|
+
"Threads"
|
|
965
|
+
],
|
|
966
|
+
"requestBody": {
|
|
967
|
+
"required": true,
|
|
968
|
+
"content": {
|
|
969
|
+
"application/json": {
|
|
970
|
+
"schema": {
|
|
971
|
+
"$ref": "#/components/schemas/BulkActionsPayload"
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"responses": {
|
|
977
|
+
"200": {
|
|
978
|
+
"description": "Success"
|
|
979
|
+
},
|
|
980
|
+
"403": {
|
|
981
|
+
"description": "Forbidden"
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
"/v1/message/threads/bulk:done": {
|
|
987
|
+
"post": {
|
|
988
|
+
"operationId": "threadBulkActionsDone",
|
|
989
|
+
"summary": "threadBulkActionsDone",
|
|
990
|
+
"description": "Perform a bulk action of marking an array of threads as done",
|
|
991
|
+
"tags": [
|
|
992
|
+
"Threads"
|
|
993
|
+
],
|
|
994
|
+
"requestBody": {
|
|
995
|
+
"required": true,
|
|
996
|
+
"content": {
|
|
997
|
+
"application/json": {
|
|
998
|
+
"schema": {
|
|
999
|
+
"$ref": "#/components/schemas/BulkActionsPayload"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"responses": {
|
|
1005
|
+
"200": {
|
|
1006
|
+
"description": "Success"
|
|
1007
|
+
},
|
|
1008
|
+
"403": {
|
|
1009
|
+
"description": "Forbidden"
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
"/v1/message/threads/bulk:open": {
|
|
1015
|
+
"post": {
|
|
1016
|
+
"operationId": "threadBulkActionsOpen",
|
|
1017
|
+
"summary": "threadBulkActionsOpen",
|
|
1018
|
+
"description": "Perform a bulk action of marking an array of threads as open",
|
|
1019
|
+
"tags": [
|
|
1020
|
+
"Threads"
|
|
1021
|
+
],
|
|
1022
|
+
"requestBody": {
|
|
1023
|
+
"required": true,
|
|
1024
|
+
"content": {
|
|
1025
|
+
"application/json": {
|
|
1026
|
+
"schema": {
|
|
1027
|
+
"$ref": "#/components/schemas/BulkActionsPayload"
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
"responses": {
|
|
1033
|
+
"200": {
|
|
891
1034
|
"description": "Success"
|
|
892
1035
|
},
|
|
893
1036
|
"403": {
|
|
@@ -916,7 +1059,7 @@
|
|
|
916
1059
|
}
|
|
917
1060
|
],
|
|
918
1061
|
"responses": {
|
|
919
|
-
"
|
|
1062
|
+
"200": {
|
|
920
1063
|
"description": "Success"
|
|
921
1064
|
},
|
|
922
1065
|
"403": {
|
|
@@ -955,7 +1098,7 @@
|
|
|
955
1098
|
}
|
|
956
1099
|
},
|
|
957
1100
|
"responses": {
|
|
958
|
-
"
|
|
1101
|
+
"200": {
|
|
959
1102
|
"description": "Success"
|
|
960
1103
|
},
|
|
961
1104
|
"403": {
|
|
@@ -984,7 +1127,7 @@
|
|
|
984
1127
|
}
|
|
985
1128
|
],
|
|
986
1129
|
"responses": {
|
|
987
|
-
"
|
|
1130
|
+
"200": {
|
|
988
1131
|
"description": "Success"
|
|
989
1132
|
},
|
|
990
1133
|
"403": {
|
|
@@ -1023,7 +1166,7 @@
|
|
|
1023
1166
|
}
|
|
1024
1167
|
},
|
|
1025
1168
|
"responses": {
|
|
1026
|
-
"
|
|
1169
|
+
"200": {
|
|
1027
1170
|
"description": "Success"
|
|
1028
1171
|
},
|
|
1029
1172
|
"403": {
|
|
@@ -1202,6 +1345,80 @@
|
|
|
1202
1345
|
}
|
|
1203
1346
|
}
|
|
1204
1347
|
},
|
|
1348
|
+
"/v1/message/threads/{id}:pin": {
|
|
1349
|
+
"post": {
|
|
1350
|
+
"operationId": "pinThread",
|
|
1351
|
+
"summary": "Pin a single thread",
|
|
1352
|
+
"description": "Pin a single thread",
|
|
1353
|
+
"tags": [
|
|
1354
|
+
"Threads"
|
|
1355
|
+
],
|
|
1356
|
+
"parameters": [
|
|
1357
|
+
{
|
|
1358
|
+
"name": "id",
|
|
1359
|
+
"description": "Thread ID",
|
|
1360
|
+
"in": "path",
|
|
1361
|
+
"required": true,
|
|
1362
|
+
"schema": {
|
|
1363
|
+
"type": "string"
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
],
|
|
1367
|
+
"responses": {
|
|
1368
|
+
"204": {
|
|
1369
|
+
"description": "Success"
|
|
1370
|
+
},
|
|
1371
|
+
"400": {
|
|
1372
|
+
"description": "Bad request"
|
|
1373
|
+
},
|
|
1374
|
+
"404": {
|
|
1375
|
+
"description": "Thread not found"
|
|
1376
|
+
},
|
|
1377
|
+
"409": {
|
|
1378
|
+
"description": "Concurrent update error"
|
|
1379
|
+
},
|
|
1380
|
+
"500": {
|
|
1381
|
+
"description": "Internal server error"
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"delete": {
|
|
1386
|
+
"operationId": "unpinThread",
|
|
1387
|
+
"summary": "Unpin a single thread",
|
|
1388
|
+
"description": "Unpin a single thread",
|
|
1389
|
+
"tags": [
|
|
1390
|
+
"Threads"
|
|
1391
|
+
],
|
|
1392
|
+
"parameters": [
|
|
1393
|
+
{
|
|
1394
|
+
"name": "id",
|
|
1395
|
+
"description": "Thread ID",
|
|
1396
|
+
"in": "path",
|
|
1397
|
+
"required": true,
|
|
1398
|
+
"schema": {
|
|
1399
|
+
"type": "string"
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
],
|
|
1403
|
+
"responses": {
|
|
1404
|
+
"204": {
|
|
1405
|
+
"description": "Success"
|
|
1406
|
+
},
|
|
1407
|
+
"400": {
|
|
1408
|
+
"description": "Bad request"
|
|
1409
|
+
},
|
|
1410
|
+
"404": {
|
|
1411
|
+
"description": "Thread not found"
|
|
1412
|
+
},
|
|
1413
|
+
"409": {
|
|
1414
|
+
"description": "Concurrent update error"
|
|
1415
|
+
},
|
|
1416
|
+
"500": {
|
|
1417
|
+
"description": "Internal server error"
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1205
1422
|
"/v1/message/drafts": {
|
|
1206
1423
|
"post": {
|
|
1207
1424
|
"operationId": "createDraft",
|
|
@@ -1779,6 +1996,41 @@
|
|
|
1779
1996
|
}
|
|
1780
1997
|
}
|
|
1781
1998
|
},
|
|
1999
|
+
"SearchParamsV2": {
|
|
2000
|
+
"type": "object",
|
|
2001
|
+
"required": [
|
|
2002
|
+
"q"
|
|
2003
|
+
],
|
|
2004
|
+
"properties": {
|
|
2005
|
+
"q": {
|
|
2006
|
+
"description": "Lucene query syntax supported with ElasticSearch",
|
|
2007
|
+
"type": "string",
|
|
2008
|
+
"example": "subject:\"Request for solar panel price\" AND _tags:INBOX"
|
|
2009
|
+
},
|
|
2010
|
+
"from": {
|
|
2011
|
+
"type": "integer",
|
|
2012
|
+
"minimum": 0,
|
|
2013
|
+
"default": 0
|
|
2014
|
+
},
|
|
2015
|
+
"size": {
|
|
2016
|
+
"type": "integer",
|
|
2017
|
+
"minimum": 1,
|
|
2018
|
+
"default": 10
|
|
2019
|
+
},
|
|
2020
|
+
"hydrate": {
|
|
2021
|
+
"type": "boolean",
|
|
2022
|
+
"default": false
|
|
2023
|
+
},
|
|
2024
|
+
"include_scores": {
|
|
2025
|
+
"type": "boolean",
|
|
2026
|
+
"default": false
|
|
2027
|
+
},
|
|
2028
|
+
"sort": {
|
|
2029
|
+
"type": "string"
|
|
2030
|
+
},
|
|
2031
|
+
"highlight": {}
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
1782
2034
|
"SearchParams": {
|
|
1783
2035
|
"type": "object",
|
|
1784
2036
|
"required": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/message-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "API Client for epilot Message API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -72,4 +72,4 @@
|
|
|
72
72
|
"webpack-cli": "^4.4.0"
|
|
73
73
|
},
|
|
74
74
|
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
75
|
-
}
|
|
75
|
+
}
|