@epilot/message-client 1.24.0 → 1.25.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 +19 -113
- package/dist/openapi.d.ts +36 -451
- package/dist/openapi.json +62 -580
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={330
|
|
1
|
+
(()=>{"use strict";var e={330(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(466));s.default=t.default},466(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:search":{"post":{"operationId":"searchMessages","requestBody":{"content":{"application/json":{}}},"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":{}}},"/v1/message/messages/unread/{actor}":{"get":{"operationId":"getUnread","parameters":[{"name":"actor","in":"path","required":true},{"in":"query","name":"email_filter"}],"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}:move":{"post":{"operationId":"moveThread","parameters":[{"name":"id","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"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":{}}},"/v2/message/threads/{id}/assign:users":{"post":{"operationId":"assignUsersV2","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":{"responses":{"NotFound":{"content":{"application/json":{}}},"Conflict":{"content":{"application/json":{}}},"InternalServerError":{"content":{"application/json":{}}},"BadRequest":{"content":{"application/json":{}}},"Forbidden":{"content":{"application/json":{}}}}},"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}(330),a=exports;for(var t in r)a[t]=r[t];r.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
|
|
@@ -26,119 +26,6 @@
|
|
|
26
26
|
"responses": {}
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"/outlook/connect": {
|
|
30
|
-
"get": {
|
|
31
|
-
"operationId": "connectOutlook",
|
|
32
|
-
"responses": {}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"/outlook/connection/status": {
|
|
36
|
-
"get": {
|
|
37
|
-
"operationId": "getOutlookConnectionStatus",
|
|
38
|
-
"responses": {}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"/outlook/connection/disconnect": {
|
|
42
|
-
"post": {
|
|
43
|
-
"operationId": "disconnectOutlook",
|
|
44
|
-
"requestBody": {
|
|
45
|
-
"required": true,
|
|
46
|
-
"content": {
|
|
47
|
-
"application/json": {}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"responses": {}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"/outlook/shared-mailboxes/connect": {
|
|
54
|
-
"post": {
|
|
55
|
-
"operationId": "connectSharedMailbox",
|
|
56
|
-
"requestBody": {
|
|
57
|
-
"required": true,
|
|
58
|
-
"content": {
|
|
59
|
-
"application/json": {}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"responses": {}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"/outlook/shared-mailboxes/mappings": {
|
|
66
|
-
"get": {
|
|
67
|
-
"operationId": "getSharedMailboxMappings",
|
|
68
|
-
"responses": {}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"/outlook/shared-mailboxes/mappings/{shared_inbox_id}": {
|
|
72
|
-
"get": {
|
|
73
|
-
"operationId": "getSharedMailboxMappingById",
|
|
74
|
-
"parameters": [
|
|
75
|
-
{
|
|
76
|
-
"name": "shared_inbox_id",
|
|
77
|
-
"in": "path",
|
|
78
|
-
"required": true
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"responses": {}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"/outlook/oauth/callback": {
|
|
85
|
-
"get": {
|
|
86
|
-
"operationId": "outlookOAuthCallback",
|
|
87
|
-
"parameters": [
|
|
88
|
-
{
|
|
89
|
-
"name": "code",
|
|
90
|
-
"in": "query",
|
|
91
|
-
"required": false
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "state",
|
|
95
|
-
"in": "query",
|
|
96
|
-
"required": true
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "session_state",
|
|
100
|
-
"in": "query",
|
|
101
|
-
"required": false
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"name": "error",
|
|
105
|
-
"in": "query",
|
|
106
|
-
"required": false
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "error_description",
|
|
110
|
-
"in": "query",
|
|
111
|
-
"required": false
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "error_subcode",
|
|
115
|
-
"in": "query",
|
|
116
|
-
"required": false
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"name": "client_info",
|
|
120
|
-
"in": "query",
|
|
121
|
-
"required": false
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "error_uri",
|
|
125
|
-
"in": "query",
|
|
126
|
-
"required": false
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"name": "admin_consent",
|
|
130
|
-
"in": "query",
|
|
131
|
-
"required": false
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "tenant",
|
|
135
|
-
"in": "query",
|
|
136
|
-
"required": false
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
"responses": {}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
29
|
"/v1/message/messages/{id}": {
|
|
143
30
|
"get": {
|
|
144
31
|
"operationId": "getMessage",
|
|
@@ -646,6 +533,25 @@
|
|
|
646
533
|
"responses": {}
|
|
647
534
|
}
|
|
648
535
|
},
|
|
536
|
+
"/v2/message/threads/{id}/assign:users": {
|
|
537
|
+
"post": {
|
|
538
|
+
"operationId": "assignUsersV2",
|
|
539
|
+
"parameters": [
|
|
540
|
+
{
|
|
541
|
+
"name": "id",
|
|
542
|
+
"in": "path",
|
|
543
|
+
"required": true
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"requestBody": {
|
|
547
|
+
"required": true,
|
|
548
|
+
"content": {
|
|
549
|
+
"application/json": {}
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"responses": {}
|
|
553
|
+
}
|
|
554
|
+
},
|
|
649
555
|
"/v1/message/threads/{id}:pin": {
|
|
650
556
|
"post": {
|
|
651
557
|
"operationId": "pinThread",
|