@epilot/message-client 1.17.0 → 1.17.1
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 +13 -0
- package/dist/openapi.d.ts +65 -0
- package/dist/openapi.json +71 -3
- package/package.json +1 -1
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":{}}},"/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})})();
|
|
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":{}}},"/v1/message/messages/unread/{actor}":{"get":{"operationId":"getUnread","parameters":[{"name":"actor","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})})();
|
|
@@ -121,6 +121,19 @@
|
|
|
121
121
|
"responses": {}
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
|
+
"/v1/message/messages/unread/{actor}": {
|
|
125
|
+
"get": {
|
|
126
|
+
"operationId": "getUnread",
|
|
127
|
+
"parameters": [
|
|
128
|
+
{
|
|
129
|
+
"name": "actor",
|
|
130
|
+
"in": "path",
|
|
131
|
+
"required": true
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"responses": {}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
124
137
|
"/v2/message/messages/{id}/unread": {
|
|
125
138
|
"post": {
|
|
126
139
|
"operationId": "markUnreadMessageV2",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -124,6 +124,24 @@ declare namespace Components {
|
|
|
124
124
|
*/
|
|
125
125
|
scopes?: /* Who is marking an item as read or unread. */ ReadingScope[];
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* List of entity fields to include or exclude in the response
|
|
129
|
+
*
|
|
130
|
+
* Use ! to exclude fields, e.g. `!_id` to exclude the `_id` field.
|
|
131
|
+
*
|
|
132
|
+
* Globbing and globstart (**) is supported for nested fields.
|
|
133
|
+
*
|
|
134
|
+
* example:
|
|
135
|
+
* [
|
|
136
|
+
* "_id",
|
|
137
|
+
* "_title",
|
|
138
|
+
* "first_name",
|
|
139
|
+
* "account",
|
|
140
|
+
* "!account.*._files",
|
|
141
|
+
* "**._product"
|
|
142
|
+
* ]
|
|
143
|
+
*/
|
|
144
|
+
export type FieldsParam = string[];
|
|
127
145
|
export interface File {
|
|
128
146
|
/**
|
|
129
147
|
* File entity ID
|
|
@@ -496,6 +514,10 @@ declare namespace Components {
|
|
|
496
514
|
* subject:"Request for solar panel price" AND _tags:INBOX
|
|
497
515
|
*/
|
|
498
516
|
q: string;
|
|
517
|
+
/**
|
|
518
|
+
* List of entity fields to include in results
|
|
519
|
+
*/
|
|
520
|
+
fields?: any;
|
|
499
521
|
from?: number;
|
|
500
522
|
size?: number;
|
|
501
523
|
hydrate?: boolean;
|
|
@@ -1135,6 +1157,26 @@ declare namespace Paths {
|
|
|
1135
1157
|
}
|
|
1136
1158
|
}
|
|
1137
1159
|
}
|
|
1160
|
+
namespace GetUnread {
|
|
1161
|
+
namespace Parameters {
|
|
1162
|
+
export type Actor = "organization" | "user";
|
|
1163
|
+
}
|
|
1164
|
+
export interface PathParameters {
|
|
1165
|
+
actor: Parameters.Actor;
|
|
1166
|
+
}
|
|
1167
|
+
namespace Responses {
|
|
1168
|
+
export interface $200 {
|
|
1169
|
+
/**
|
|
1170
|
+
* Total of unread messages
|
|
1171
|
+
* example:
|
|
1172
|
+
* 14
|
|
1173
|
+
*/
|
|
1174
|
+
count: number;
|
|
1175
|
+
}
|
|
1176
|
+
export interface $403 {
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1138
1180
|
namespace MarkReadMessage {
|
|
1139
1181
|
namespace Parameters {
|
|
1140
1182
|
export type Id = string;
|
|
@@ -2143,6 +2185,16 @@ export interface OperationMethods {
|
|
|
2143
2185
|
data?: any,
|
|
2144
2186
|
config?: AxiosRequestConfig
|
|
2145
2187
|
): OperationResponse<Paths.MarkUnreadMessage.Responses.$204>
|
|
2188
|
+
/**
|
|
2189
|
+
* getUnread - getUnread
|
|
2190
|
+
*
|
|
2191
|
+
* Get all unread messages by actor
|
|
2192
|
+
*/
|
|
2193
|
+
'getUnread'(
|
|
2194
|
+
parameters?: Parameters<Paths.GetUnread.PathParameters> | null,
|
|
2195
|
+
data?: any,
|
|
2196
|
+
config?: AxiosRequestConfig
|
|
2197
|
+
): OperationResponse<Paths.GetUnread.Responses.$200>
|
|
2146
2198
|
/**
|
|
2147
2199
|
* markUnreadMessageV2 - markUnreadMessageV2
|
|
2148
2200
|
*
|
|
@@ -2595,6 +2647,18 @@ export interface PathsDictionary {
|
|
|
2595
2647
|
config?: AxiosRequestConfig
|
|
2596
2648
|
): OperationResponse<Paths.MarkUnreadMessage.Responses.$204>
|
|
2597
2649
|
}
|
|
2650
|
+
['/v1/message/messages/unread/{actor}']: {
|
|
2651
|
+
/**
|
|
2652
|
+
* getUnread - getUnread
|
|
2653
|
+
*
|
|
2654
|
+
* Get all unread messages by actor
|
|
2655
|
+
*/
|
|
2656
|
+
'get'(
|
|
2657
|
+
parameters?: Parameters<Paths.GetUnread.PathParameters> | null,
|
|
2658
|
+
data?: any,
|
|
2659
|
+
config?: AxiosRequestConfig
|
|
2660
|
+
): OperationResponse<Paths.GetUnread.Responses.$200>
|
|
2661
|
+
}
|
|
2598
2662
|
['/v2/message/messages/{id}/unread']: {
|
|
2599
2663
|
/**
|
|
2600
2664
|
* markUnreadMessageV2 - markUnreadMessageV2
|
|
@@ -3011,6 +3075,7 @@ export type AttachmentsRelation = Components.Schemas.AttachmentsRelation;
|
|
|
3011
3075
|
export type BaseEntity = Components.Schemas.BaseEntity;
|
|
3012
3076
|
export type BulkActionsPayload = Components.Schemas.BulkActionsPayload;
|
|
3013
3077
|
export type BulkActionsPayloadWithScopes = Components.Schemas.BulkActionsPayloadWithScopes;
|
|
3078
|
+
export type FieldsParam = Components.Schemas.FieldsParam;
|
|
3014
3079
|
export type File = Components.Schemas.File;
|
|
3015
3080
|
export type Message = Components.Schemas.Message;
|
|
3016
3081
|
export type MessageRequestParams = Components.Schemas.MessageRequestParams;
|
package/dist/openapi.json
CHANGED
|
@@ -365,6 +365,56 @@
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
},
|
|
368
|
+
"/v1/message/messages/unread/{actor}": {
|
|
369
|
+
"get": {
|
|
370
|
+
"operationId": "getUnread",
|
|
371
|
+
"summary": "getUnread",
|
|
372
|
+
"description": "Get all unread messages by actor",
|
|
373
|
+
"tags": [
|
|
374
|
+
"Messages"
|
|
375
|
+
],
|
|
376
|
+
"parameters": [
|
|
377
|
+
{
|
|
378
|
+
"name": "actor",
|
|
379
|
+
"description": "Actor performing call, can be user or organization",
|
|
380
|
+
"in": "path",
|
|
381
|
+
"required": true,
|
|
382
|
+
"schema": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"enum": [
|
|
385
|
+
"organization",
|
|
386
|
+
"user"
|
|
387
|
+
]
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"responses": {
|
|
392
|
+
"200": {
|
|
393
|
+
"description": "Success",
|
|
394
|
+
"content": {
|
|
395
|
+
"application/json": {
|
|
396
|
+
"schema": {
|
|
397
|
+
"type": "object",
|
|
398
|
+
"required": [
|
|
399
|
+
"count"
|
|
400
|
+
],
|
|
401
|
+
"properties": {
|
|
402
|
+
"count": {
|
|
403
|
+
"type": "number",
|
|
404
|
+
"description": "Total of unread messages",
|
|
405
|
+
"example": 14
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
"403": {
|
|
413
|
+
"description": "Forbidden"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
},
|
|
368
418
|
"/v2/message/messages/{id}/unread": {
|
|
369
419
|
"post": {
|
|
370
420
|
"operationId": "markUnreadMessageV2",
|
|
@@ -2007,6 +2057,12 @@
|
|
|
2007
2057
|
"type": "string",
|
|
2008
2058
|
"example": "subject:\"Request for solar panel price\" AND _tags:INBOX"
|
|
2009
2059
|
},
|
|
2060
|
+
"fields": {
|
|
2061
|
+
"description": "List of entity fields to include in results",
|
|
2062
|
+
"schema": {
|
|
2063
|
+
"$ref": "#/components/schemas/FieldsParam"
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
2010
2066
|
"from": {
|
|
2011
2067
|
"type": "integer",
|
|
2012
2068
|
"minimum": 0,
|
|
@@ -2240,13 +2296,25 @@
|
|
|
2240
2296
|
}
|
|
2241
2297
|
}
|
|
2242
2298
|
}
|
|
2299
|
+
},
|
|
2300
|
+
"FieldsParam": {
|
|
2301
|
+
"type": "array",
|
|
2302
|
+
"description": "List of entity fields to include or exclude in the response\n\nUse ! to exclude fields, e.g. `!_id` to exclude the `_id` field.\n\nGlobbing and globstart (**) is supported for nested fields.\n",
|
|
2303
|
+
"items": {
|
|
2304
|
+
"type": "string"
|
|
2305
|
+
},
|
|
2306
|
+
"example": [
|
|
2307
|
+
"_id",
|
|
2308
|
+
"_title",
|
|
2309
|
+
"first_name",
|
|
2310
|
+
"account",
|
|
2311
|
+
"!account.*._files",
|
|
2312
|
+
"**._product"
|
|
2313
|
+
]
|
|
2243
2314
|
}
|
|
2244
2315
|
}
|
|
2245
2316
|
},
|
|
2246
2317
|
"servers": [
|
|
2247
|
-
{
|
|
2248
|
-
"url": "https://message.sls.epilot.io"
|
|
2249
|
-
},
|
|
2250
2318
|
{
|
|
2251
2319
|
"url": "https://message.sls.epilot.io"
|
|
2252
2320
|
}
|