@getmodus/sdk 0.11.0 → 0.12.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/CHANGELOG.md +44 -3
- package/dist/{_client-base-DdnxB9JA.d.cts → _client-base-DvrAQWuU.d.cts} +536 -77
- package/dist/{_client-base-DdnxB9JA.d.ts → _client-base-DvrAQWuU.d.ts} +536 -77
- package/dist/{chunk-JVTQBBMZ.js → chunk-3CKUUDEJ.js} +63 -12
- package/dist/chunk-3CKUUDEJ.js.map +1 -0
- package/dist/{chunk-3MHHVC6C.cjs → chunk-QHA3LF2Q.cjs} +63 -12
- package/dist/chunk-QHA3LF2Q.cjs.map +1 -0
- package/dist/index.cjs +134 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -13
- package/dist/index.d.ts +19 -13
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/management/index.cjs +272 -261
- package/dist/management/index.cjs.map +1 -1
- package/dist/management/index.d.cts +24 -5
- package/dist/management/index.d.ts +24 -5
- package/dist/management/index.js +16 -5
- package/dist/management/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3MHHVC6C.cjs.map +0 -1
- package/dist/chunk-JVTQBBMZ.js.map +0 -1
|
@@ -147,6 +147,28 @@ interface paths {
|
|
|
147
147
|
patch?: never;
|
|
148
148
|
trace?: never;
|
|
149
149
|
};
|
|
150
|
+
"/api/v1/context/custom-items/batchDelete": {
|
|
151
|
+
parameters: {
|
|
152
|
+
query?: never;
|
|
153
|
+
header?: never;
|
|
154
|
+
path?: never;
|
|
155
|
+
cookie?: never;
|
|
156
|
+
};
|
|
157
|
+
get?: never;
|
|
158
|
+
put?: never;
|
|
159
|
+
/**
|
|
160
|
+
* Delete custom context items by source key
|
|
161
|
+
* @description Soft-deletes custom context items under `sourceId`, optionally narrowed by `collectionId` / `externalId`; integration items are never touched. Deletes only the targeted node unless `cascade`; `kind` picks entity or `entity_samples`. Up to 1000 items per call: when `truncated`, call again with `nextCursor`.
|
|
162
|
+
*
|
|
163
|
+
* **Requires:** `context:write`
|
|
164
|
+
*/
|
|
165
|
+
post: operations["CustomContextItemsController_batchDelete"];
|
|
166
|
+
delete?: never;
|
|
167
|
+
options?: never;
|
|
168
|
+
head?: never;
|
|
169
|
+
patch?: never;
|
|
170
|
+
trace?: never;
|
|
171
|
+
};
|
|
150
172
|
"/api/v1/context/custom-items/relations": {
|
|
151
173
|
parameters: {
|
|
152
174
|
query?: never;
|
|
@@ -832,7 +854,7 @@ interface paths {
|
|
|
832
854
|
head?: never;
|
|
833
855
|
/**
|
|
834
856
|
* Update context item access
|
|
835
|
-
* @description Replaces who can view and manage a note, saved query, link or
|
|
857
|
+
* @description Replaces who can view and manage a note, saved query, link, uploaded file or organization learning. With visibility shared, sharedWith is ignored; with private, groupPermissions is ignored. You cannot remove your own manage access. An item with no owner becomes yours. Other item types return 422.
|
|
836
858
|
*
|
|
837
859
|
* **Requires:** `context:write`
|
|
838
860
|
*/
|
|
@@ -850,7 +872,7 @@ interface paths {
|
|
|
850
872
|
put?: never;
|
|
851
873
|
/**
|
|
852
874
|
* Move a Files item
|
|
853
|
-
* @description Moves a live file or Files folder to an existing folder
|
|
875
|
+
* @description Moves a live file or Files folder to an existing folder by destinationFolderUid (null is the Files root), or to destinationFolderPath, creating missing folders. Same-parent moves are a no-op. Does not rename or merge folders.
|
|
854
876
|
*
|
|
855
877
|
* **Requires:** `context:write`
|
|
856
878
|
*/
|
|
@@ -1055,7 +1077,7 @@ interface paths {
|
|
|
1055
1077
|
put?: never;
|
|
1056
1078
|
/**
|
|
1057
1079
|
* Create a scope
|
|
1058
|
-
* @description Creates a draft scope you own
|
|
1080
|
+
* @description Creates a draft scope you own (org-shared use/manage), with own and org-wide learnings unless `includeOwnLearnings`/`includeOrgLearnings` is false or the selections name learnings or are context filters without a rule-based query. `connectionSet` entries name a connection and what the scope reads in it (`preferences`).
|
|
1059
1081
|
*
|
|
1060
1082
|
* **Requires:** `scopes:write`
|
|
1061
1083
|
*/
|
|
@@ -1154,7 +1176,7 @@ interface paths {
|
|
|
1154
1176
|
};
|
|
1155
1177
|
/**
|
|
1156
1178
|
* List scope conversations
|
|
1157
|
-
* @description Returns a page of conversation summaries (most recently updated first) for a scope. Use `id=0` for your cross-scope recent history. Optional `userId`, `toolName`, and `timeframe` filters apply. Pass `nextPageToken` as `pageToken`
|
|
1179
|
+
* @description Returns a page of conversation summaries (most recently updated first) for a scope. Use `id=0` for your cross-scope recent history. Optional `userId`, `toolName`, and `timeframe` filters apply. A conversation you took no part in shows only who took part and when. Pass `nextPageToken` as `pageToken` for the next page.
|
|
1158
1180
|
*
|
|
1159
1181
|
* **Requires:** `scopes:read`
|
|
1160
1182
|
*/
|
|
@@ -1176,7 +1198,7 @@ interface paths {
|
|
|
1176
1198
|
};
|
|
1177
1199
|
/**
|
|
1178
1200
|
* Get a conversation
|
|
1179
|
-
* @description Returns conversation messages in chronological order. Pass `messageLimit` to request a bounded message window. Use `id=0` for your cross-scope view.
|
|
1201
|
+
* @description Returns conversation messages in chronological order. Only a participant can read a conversation; anyone else gets 404. Pass `messageLimit` to request a bounded message window. Use `id=0` for your cross-scope view.
|
|
1180
1202
|
*
|
|
1181
1203
|
* **Requires:** `scopes:read`
|
|
1182
1204
|
*/
|
|
@@ -2413,8 +2435,8 @@ interface paths {
|
|
|
2413
2435
|
get?: never;
|
|
2414
2436
|
put?: never;
|
|
2415
2437
|
/**
|
|
2416
|
-
*
|
|
2417
|
-
* @description
|
|
2438
|
+
* Run a workflow
|
|
2439
|
+
* @description Triggers a run of the published workflow and streams its node output as Server-Sent Events. An empty body runs it with no input; send `message` to give it one. The run ends with `workflow_done`, whose `finalOutput` is the result. To continue a conversation, send your own `sessionId` and reuse it. Send Accept: application/json to poll instead of streaming.
|
|
2418
2440
|
*
|
|
2419
2441
|
* **Requires:** `workflows:invoke`
|
|
2420
2442
|
*/
|
|
@@ -2696,7 +2718,7 @@ interface components {
|
|
|
2696
2718
|
*/
|
|
2697
2719
|
AgentType: "task" | "workflow";
|
|
2698
2720
|
AgentVariationDto: {
|
|
2699
|
-
/** @description `trigger_type` is `schedule`, `webhook`, `api`, `slack`, or `manual`. `schedule` is present only for a schedule trigger. Null until a trigger is saved. */
|
|
2721
|
+
/** @description `trigger_type` is `schedule`, `webhook`, `api`, `slack`, `email`, or `manual`. `schedule` is present only for a schedule trigger. Null until a trigger is saved. */
|
|
2700
2722
|
trigger?: components["schemas"]["WorkflowTriggerResponseDto"] | null;
|
|
2701
2723
|
/** @description Workflow graph (`nodes` and `edges`) when `type` is `workflow`. Null when `type` is `task`. */
|
|
2702
2724
|
workflowStructure?: components["schemas"]["WorkflowStructureResponseDto"] | null;
|
|
@@ -2762,7 +2784,7 @@ interface components {
|
|
|
2762
2784
|
* @enum {string}
|
|
2763
2785
|
*/
|
|
2764
2786
|
statusReason?: "approval_timeout" | "agent_reported_issue";
|
|
2765
|
-
/** @description
|
|
2787
|
+
/** @description What started this run: `schedule`, `email`, `api`, `manual`, or the chat channel it came from. A run that did not record it shows the Workflow's current trigger type. */
|
|
2766
2788
|
triggerType?: string;
|
|
2767
2789
|
/** @description ISO-8601 start timestamp. */
|
|
2768
2790
|
startedAt?: string;
|
|
@@ -2783,7 +2805,7 @@ interface components {
|
|
|
2783
2805
|
*/
|
|
2784
2806
|
AutomationRunSource: "live-query" | "history";
|
|
2785
2807
|
BatchCreateCustomContextItemRelationsDto: {
|
|
2786
|
-
/** @description Relations to upsert. Idempotent by (fromUid, toUid, relationType); re-sending
|
|
2808
|
+
/** @description Relations to upsert. Idempotent by (fromUid, toUid, relationType); re-sending replaces edgeProperties. */
|
|
2787
2809
|
relations: components["schemas"]["CreateCustomContextItemRelationDto"][];
|
|
2788
2810
|
};
|
|
2789
2811
|
BatchCreateCustomContextItemRelationsResponseDto: {
|
|
@@ -2801,6 +2823,52 @@ interface components {
|
|
|
2801
2823
|
/** @description Custom context items created or updated by the batch. */
|
|
2802
2824
|
contextItems: components["schemas"]["CreatedCustomContextItemResponseDto"][];
|
|
2803
2825
|
};
|
|
2826
|
+
BatchDeleteCustomContextItemsDto: {
|
|
2827
|
+
/**
|
|
2828
|
+
* @description Customer-defined source to delete from. Required — a batch delete is always scoped to one source.
|
|
2829
|
+
* @example billing-db
|
|
2830
|
+
*/
|
|
2831
|
+
sourceId: string;
|
|
2832
|
+
/**
|
|
2833
|
+
* @description Narrow to one collection inside the source. Omit to target the whole source.
|
|
2834
|
+
* @example contracts
|
|
2835
|
+
*/
|
|
2836
|
+
collectionId?: string;
|
|
2837
|
+
/**
|
|
2838
|
+
* @description Narrow to one entity inside the collection. Requires `collectionId`.
|
|
2839
|
+
* @example contract-123
|
|
2840
|
+
*/
|
|
2841
|
+
externalId?: string;
|
|
2842
|
+
/**
|
|
2843
|
+
* @description Which kind of item to delete at the selected path, for a non-cascade delete. An entity and its `entity_samples` share a path, so this disambiguates them. Defaults to the metadata item at the selected level (`source`/`collection`/`entity`). Must match the selector depth. Ignored when `cascade` is true.
|
|
2844
|
+
* @example entity
|
|
2845
|
+
*/
|
|
2846
|
+
kind?: components["schemas"]["CustomContextItemKind"];
|
|
2847
|
+
/**
|
|
2848
|
+
* @description When `true`, also delete everything beneath the targeted node (its descendants). When `false` (default), delete only the targeted node itself, leaving descendants in place.
|
|
2849
|
+
* @default false
|
|
2850
|
+
*/
|
|
2851
|
+
cascade: boolean;
|
|
2852
|
+
/** @description Continuation cursor from a previous response `nextCursor`. Pass it to delete the next batch when a prior call was truncated. */
|
|
2853
|
+
cursor?: string;
|
|
2854
|
+
};
|
|
2855
|
+
BatchDeleteCustomContextItemsResponseDto: {
|
|
2856
|
+
/**
|
|
2857
|
+
* @description Number of custom context items soft-deleted by this request.
|
|
2858
|
+
* @example 8
|
|
2859
|
+
*/
|
|
2860
|
+
deletedCount: number;
|
|
2861
|
+
/**
|
|
2862
|
+
* @description True when more matching items were ahead of this batch; call again with `nextCursor` to continue the sweep.
|
|
2863
|
+
* @example false
|
|
2864
|
+
*/
|
|
2865
|
+
truncated: boolean;
|
|
2866
|
+
/**
|
|
2867
|
+
* @description Continuation cursor; pass as `cursor` to delete the next batch. `null` means no more matching items were ahead of the cursor at scan time. This is a forward pass, not a snapshot: items added, or recreated with a lower id, during the sweep are not guaranteed to be included — run a fresh pass (no cursor) to catch them.
|
|
2868
|
+
* @example null
|
|
2869
|
+
*/
|
|
2870
|
+
nextCursor: string | null;
|
|
2871
|
+
};
|
|
2804
2872
|
BulkFinalizeDto: {
|
|
2805
2873
|
/** @description Uploads to finalize. Max 100 per request. */
|
|
2806
2874
|
uploads: components["schemas"]["BulkFinalizeItemDto"][];
|
|
@@ -3049,11 +3117,6 @@ interface components {
|
|
|
3049
3117
|
preferences: {
|
|
3050
3118
|
[key: string]: unknown;
|
|
3051
3119
|
};
|
|
3052
|
-
/**
|
|
3053
|
-
* @deprecated
|
|
3054
|
-
* @description Deprecated. Use `preferences` alone: the scope always reads context from its connections. Omit it; `false` is accepted only when the connection is already stored with `false`.
|
|
3055
|
-
*/
|
|
3056
|
-
context_enabled?: boolean;
|
|
3057
3120
|
};
|
|
3058
3121
|
ConnectionSetItemReadDto: {
|
|
3059
3122
|
/**
|
|
@@ -3062,13 +3125,7 @@ interface components {
|
|
|
3062
3125
|
*/
|
|
3063
3126
|
connection_id: string;
|
|
3064
3127
|
/**
|
|
3065
|
-
* @
|
|
3066
|
-
* @description Deprecated. Use `preferences`. One stored row per included path, derived from `preferences`; an empty array is the whole connection.
|
|
3067
|
-
* @example []
|
|
3068
|
-
*/
|
|
3069
|
-
path: string[];
|
|
3070
|
-
/**
|
|
3071
|
-
* @description What the scope reads under this connection. `mode` `all` reads the whole connection; `manual` reads only the units its `include` rules select. `exclude` rules remove units in either mode. Each rule's `path` lists id steps `{type, by: "id", id}` from the connection down. Present on the connection's first row. Absent on every row of a connection last saved without `preferences`, until the server converts it.
|
|
3128
|
+
* @description What the scope reads under this connection. `mode` `all` reads the whole connection; `manual` reads only the units its `include` rules select. `exclude` rules remove units in either mode. Each rule's `path` lists id steps `{type, by: "id", id}` from the connection down. Absent only on the entry of a deleted connection, whose `connection_id` is a placeholder (`00000000-0000-0000-0000-…`) and which grants nothing.
|
|
3072
3129
|
* @example {
|
|
3073
3130
|
* "mode": "manual",
|
|
3074
3131
|
* "include": [
|
|
@@ -3103,11 +3160,6 @@ interface components {
|
|
|
3103
3160
|
preferences?: {
|
|
3104
3161
|
[key: string]: unknown;
|
|
3105
3162
|
};
|
|
3106
|
-
/**
|
|
3107
|
-
* @deprecated
|
|
3108
|
-
* @description Deprecated. Use `preferences`. Whether the scope reads context from this connection: true, except on a few older entries kept for their tools only.
|
|
3109
|
-
*/
|
|
3110
|
-
context_enabled?: boolean;
|
|
3111
3163
|
};
|
|
3112
3164
|
ContentProjectionDto: {
|
|
3113
3165
|
/**
|
|
@@ -3320,22 +3372,22 @@ interface components {
|
|
|
3320
3372
|
*/
|
|
3321
3373
|
scopeId: number;
|
|
3322
3374
|
/**
|
|
3323
|
-
* @description Preview of the first user turn, used as a list-row caption. Falls back to a stable placeholder when the thread has no human turn yet.
|
|
3375
|
+
* @description Preview of the first user turn, used as a list-row caption. Falls back to a stable placeholder when the thread has no human turn yet. Empty when the caller did not take part in the conversation.
|
|
3324
3376
|
* @example Run the churn analysis for last 30 days.
|
|
3325
3377
|
*/
|
|
3326
3378
|
firstMessage: string;
|
|
3327
3379
|
/**
|
|
3328
|
-
* @description User-managed display title. Null until the user renames the conversation.
|
|
3380
|
+
* @description User-managed display title. Null until the user renames the conversation, and null when the caller did not take part in it.
|
|
3329
3381
|
* @example Q3 Revenue Analysis
|
|
3330
3382
|
*/
|
|
3331
3383
|
title: string | null;
|
|
3332
3384
|
/**
|
|
3333
|
-
* @description UI surface the conversation was started from (e.g. `context_chat`, `home`). Not constrained to the `RunSource` enum: historical rows carry legacy values. Null when unknown, absent on responses that predate the field.
|
|
3385
|
+
* @description UI surface the conversation was started from (e.g. `context_chat`, `home`). Not constrained to the `RunSource` enum: historical rows carry legacy values. Null when unknown or when the caller did not take part in the conversation, absent on responses that predate the field.
|
|
3334
3386
|
* @example context_chat
|
|
3335
3387
|
*/
|
|
3336
3388
|
source?: string | null;
|
|
3337
3389
|
/**
|
|
3338
|
-
* @description Total number of message turns in the (post-collapse) conversation.
|
|
3390
|
+
* @description Total number of message turns in the (post-collapse) conversation. 0 when the caller did not take part in it.
|
|
3339
3391
|
* @example 12
|
|
3340
3392
|
*/
|
|
3341
3393
|
messageCount: number;
|
|
@@ -3350,7 +3402,7 @@ interface components {
|
|
|
3350
3402
|
*/
|
|
3351
3403
|
updatedAt: string;
|
|
3352
3404
|
/**
|
|
3353
|
-
* @description Distinct tool names invoked across this conversation. Present only when `includeTools=true` is requested.
|
|
3405
|
+
* @description Distinct tool names invoked across this conversation. Present only when `includeTools=true` is requested and the caller took part in the conversation.
|
|
3354
3406
|
* @example [
|
|
3355
3407
|
* "sql_runner"
|
|
3356
3408
|
* ]
|
|
@@ -3363,6 +3415,11 @@ interface components {
|
|
|
3363
3415
|
* ]
|
|
3364
3416
|
*/
|
|
3365
3417
|
userIds: string[];
|
|
3418
|
+
/**
|
|
3419
|
+
* @description Whether the caller took part in this conversation. Only a participant can open, rename or download files from a conversation; for any other row the list carries only who took part and when.
|
|
3420
|
+
* @example true
|
|
3421
|
+
*/
|
|
3422
|
+
ownedByCaller?: boolean;
|
|
3366
3423
|
};
|
|
3367
3424
|
ConversationMessageDto: {
|
|
3368
3425
|
/**
|
|
@@ -3439,7 +3496,7 @@ interface components {
|
|
|
3439
3496
|
agentSelection?: components["schemas"]["AgentSelectionDto"];
|
|
3440
3497
|
/** @description Workflow graph (nodes + edges) when `type` is `workflow`. Unknown node/edge keys and out-of-enum node types are rejected with a 422. */
|
|
3441
3498
|
workflowStructure?: components["schemas"]["WorkflowStructureDto"];
|
|
3442
|
-
/** @description Access configuration. Omit to
|
|
3499
|
+
/** @description Access configuration. Omit to create the workflow private, with no group grants and no invitees; its creator can share it later. A service account token that omits it creates the workflow shared with the whole organization (use + manage), since it has no owner. */
|
|
3443
3500
|
accessConfig?: components["schemas"]["AgentAccessConfigDto"];
|
|
3444
3501
|
};
|
|
3445
3502
|
CreateCustomContextItemDto: {
|
|
@@ -3548,13 +3605,19 @@ interface components {
|
|
|
3548
3605
|
*/
|
|
3549
3606
|
toUid: string;
|
|
3550
3607
|
/**
|
|
3551
|
-
* @description Snake_case relation type describing how the source relates to the target.
|
|
3608
|
+
* @description Snake_case relation type describing how the source relates to the target. Reserved system types cannot be used: contains, reads, joins_with, has_context, has_feedback, filters_by, context_relation. Dotted names are also reserved.
|
|
3552
3609
|
* @example depends_on
|
|
3553
3610
|
*/
|
|
3554
3611
|
relationType: string;
|
|
3555
|
-
/**
|
|
3556
|
-
|
|
3557
|
-
|
|
3612
|
+
/**
|
|
3613
|
+
* @description Edge properties, replacing the previous map. Up to 100 keys matching ^[A-Za-z_][A-Za-z0-9_]{0,63}$ and 65536 UTF-8 JSON bytes; fromContextItemUid, toContextItemUid, relationType, createdAt and updatedAt are reserved. Values are strings, finite numbers, booleans, or arrays of those. Omission writes an empty map.
|
|
3614
|
+
* @example {
|
|
3615
|
+
* "version": "v1.1.8",
|
|
3616
|
+
* "source": "go.mod"
|
|
3617
|
+
* }
|
|
3618
|
+
*/
|
|
3619
|
+
edgeProperties?: {
|
|
3620
|
+
[key: string]: string | number | boolean | (string | number | boolean)[];
|
|
3558
3621
|
};
|
|
3559
3622
|
};
|
|
3560
3623
|
CreateDashboardDto: {
|
|
@@ -3683,7 +3746,7 @@ interface components {
|
|
|
3683
3746
|
*/
|
|
3684
3747
|
instructions?: string[];
|
|
3685
3748
|
/**
|
|
3686
|
-
* @description Map of tool key to configuration; unknown keys are rejected. Integrations require `<platform>.byConnection[connectionUuid] = { actions, rules? }`; actions are catalog action names and SQL platforms grant `query`. Flat entries, action-string arrays and retired keys are rejected with HTTP 422.
|
|
3749
|
+
* @description Map of tool key to configuration; unknown keys are rejected. Integrations require `<platform>.byConnection[connectionUuid] = { actions, rules? }`; actions are catalog action names and SQL platforms grant `query`. A platform people connect personally also takes `<platform>.personal = { actions, rules? }`, which runs on each runner’s own personal connection; a save that newly adds a personal connection's UUID to `byConnection` (or grants it new actions there) is rejected with HTTP 422. Flat entries, action-string arrays and retired keys are rejected with HTTP 422.
|
|
3687
3750
|
* @example {
|
|
3688
3751
|
* "slack": {
|
|
3689
3752
|
* "byConnection": {
|
|
@@ -3736,7 +3799,7 @@ interface components {
|
|
|
3736
3799
|
*/
|
|
3737
3800
|
connectionSet?: components["schemas"]["ConnectionSetItemDto"][];
|
|
3738
3801
|
/**
|
|
3739
|
-
* @description Selected context items (sources / docs) the scope may read. The scope's own learnings are added unless
|
|
3802
|
+
* @description Selected context items (sources / docs) the scope may read. The scope's own learnings and the org-wide learnings are added, each unless its include flag is false, when these selections neither mention learnings already nor are context filters without a rule-based query.
|
|
3740
3803
|
* @example []
|
|
3741
3804
|
*/
|
|
3742
3805
|
contextSelections?: {
|
|
@@ -3747,6 +3810,11 @@ interface components {
|
|
|
3747
3810
|
* @default true
|
|
3748
3811
|
*/
|
|
3749
3812
|
includeOwnLearnings: boolean;
|
|
3813
|
+
/**
|
|
3814
|
+
* @description Whether create adds the org-wide learnings path (`auto_generated:org`, what the organization taught Modus) to the scope's selections. Defaults to true, skipped when `contextSelections` already mention learnings or are context filters without a rule-based query; false only skips the addition, so selections naming the path still read it.
|
|
3815
|
+
* @default true
|
|
3816
|
+
*/
|
|
3817
|
+
includeOrgLearnings: boolean;
|
|
3750
3818
|
/** @description MCP interface rows for this scope. Each row has type mcp, an optional id and name, and a config of core tools and exposed integrations. Omitted id and name are assigned. */
|
|
3751
3819
|
interfaces?: components["schemas"]["ScopeMcpInterfaceInputDto"][];
|
|
3752
3820
|
/** @description Access configuration. Omit to use the default (full-org shared with use + manage). */
|
|
@@ -4522,7 +4590,7 @@ interface components {
|
|
|
4522
4590
|
* @enum {string}
|
|
4523
4591
|
*/
|
|
4524
4592
|
statusReason?: "approval_timeout" | "agent_reported_issue";
|
|
4525
|
-
/** @description
|
|
4593
|
+
/** @description What started this run: `schedule`, `email`, `api`, `manual`, or the chat channel it came from. */
|
|
4526
4594
|
triggerType?: string;
|
|
4527
4595
|
/** @description ISO-8601 start timestamp. */
|
|
4528
4596
|
startedAt?: string;
|
|
@@ -4550,6 +4618,10 @@ interface components {
|
|
|
4550
4618
|
}[];
|
|
4551
4619
|
/** @description Set when history was unavailable; `source` will be `live-query` in that case. */
|
|
4552
4620
|
historyUnavailableReason?: string;
|
|
4621
|
+
/** @description Files the run was started with, and files its trigger left out. Empty when there were none. */
|
|
4622
|
+
attachments?: components["schemas"]["WorkflowRunAttachmentDto"][];
|
|
4623
|
+
/** @description Where the run came from. */
|
|
4624
|
+
origin?: components["schemas"]["WorkflowRunOriginDto"];
|
|
4553
4625
|
};
|
|
4554
4626
|
GroupPermissionDto: {
|
|
4555
4627
|
/**
|
|
@@ -4931,7 +5003,7 @@ interface components {
|
|
|
4931
5003
|
* @description Kind of tool this row exposes.
|
|
4932
5004
|
* @enum {string}
|
|
4933
5005
|
*/
|
|
4934
|
-
McpExposureFamily: "integration_actions" | "custom_mcp" | "mcp_server" | "tool";
|
|
5006
|
+
McpExposureFamily: "integration_actions" | "custom_mcp" | "mcp_server" | "tool" | "personal";
|
|
4935
5007
|
McpToolExposureConfigDto: {
|
|
4936
5008
|
/**
|
|
4937
5009
|
* @description Exposure format. Always 1.
|
|
@@ -5057,10 +5129,15 @@ interface components {
|
|
|
5057
5129
|
};
|
|
5058
5130
|
MoveContextItemDto: {
|
|
5059
5131
|
/**
|
|
5060
|
-
* @description Stored context-item uid of an existing Files folder, or null to move to the Files root.
|
|
5132
|
+
* @description Stored context-item uid of an existing Files folder, or null to move to the Files root. Send this or destinationFolderPath, not both.
|
|
5061
5133
|
* @example null
|
|
5062
5134
|
*/
|
|
5063
|
-
destinationFolderUid
|
|
5135
|
+
destinationFolderUid?: string | null;
|
|
5136
|
+
/**
|
|
5137
|
+
* @description Root-relative destination folder path (for example `reports/2026`). Folders missing on the path are created; existing ones are reused. Send this or destinationFolderUid, not both.
|
|
5138
|
+
* @example reports/2026
|
|
5139
|
+
*/
|
|
5140
|
+
destinationFolderPath?: string;
|
|
5064
5141
|
};
|
|
5065
5142
|
MoveContextItemResponseDto: {
|
|
5066
5143
|
/**
|
|
@@ -5421,8 +5498,6 @@ interface components {
|
|
|
5421
5498
|
preferences?: {
|
|
5422
5499
|
[key: string]: unknown;
|
|
5423
5500
|
};
|
|
5424
|
-
/** @description Deprecated. Use `preferences` alone: the scope always reads context from its connections. Omit it; `false` is accepted only when the connection is already stored with `false`. */
|
|
5425
|
-
contextEnabled?: boolean;
|
|
5426
5501
|
/** @description The pinned context item. */
|
|
5427
5502
|
item?: components["schemas"]["SelectedContextItemDto"];
|
|
5428
5503
|
/** @description Uid of the pinned item to remove. */
|
|
@@ -5513,7 +5588,7 @@ interface components {
|
|
|
5513
5588
|
/** @description Model-specific runtime controls such as reasoning effort and context window. */
|
|
5514
5589
|
modelSettings?: components["schemas"]["ModelSettingsDto"];
|
|
5515
5590
|
/**
|
|
5516
|
-
* @description Map of tool key to configuration. Integrations use `<platform>.byConnection[connectionUuid] = { actions, rules? }
|
|
5591
|
+
* @description Map of tool key to configuration. Integrations use `<platform>.byConnection[connectionUuid] = { actions, rules? }`, plus `<platform>.personal = { actions, rules? }` for actions run on each runner’s own personal connection; SQL platforms grant `query`. General tools and MCP configurations keep their own formats.
|
|
5517
5592
|
* @example {
|
|
5518
5593
|
* "postgresql": {
|
|
5519
5594
|
* "byConnection": {
|
|
@@ -5532,7 +5607,7 @@ interface components {
|
|
|
5532
5607
|
toolset: {
|
|
5533
5608
|
[key: string]: unknown;
|
|
5534
5609
|
};
|
|
5535
|
-
/** @description Connections attached to this variation
|
|
5610
|
+
/** @description Connections attached to this variation, one entry per connection. Its `preferences` say what the scope reads under it; an entry with `preferences` can be sent back as it is on update. Drop an entry without them (a deleted connection) first. */
|
|
5536
5611
|
connectionSet: components["schemas"]["ConnectionSetItemReadDto"][];
|
|
5537
5612
|
/** @description Context selections attached to the variation. Free-form builder objects. */
|
|
5538
5613
|
contextSelections: {
|
|
@@ -5682,13 +5757,31 @@ interface components {
|
|
|
5682
5757
|
};
|
|
5683
5758
|
TriggerDto: {
|
|
5684
5759
|
/**
|
|
5685
|
-
* @description Trigger kind.
|
|
5760
|
+
* @description Trigger kind. `schedule` and `email` carry a nested payload; the rest are opaque.
|
|
5686
5761
|
* @example schedule
|
|
5687
5762
|
* @enum {string}
|
|
5688
5763
|
*/
|
|
5689
|
-
trigger_type: "schedule" | "webhook" | "api" | "slack" | "manual";
|
|
5764
|
+
trigger_type: "schedule" | "webhook" | "api" | "slack" | "manual" | "email";
|
|
5690
5765
|
/** @description Schedule details. Required when trigger_type=schedule. Null for every other trigger. */
|
|
5691
5766
|
schedule?: components["schemas"]["TriggerScheduleDto"] | null;
|
|
5767
|
+
/** @description Sender policy. Required when trigger_type=email. Null for every other trigger. */
|
|
5768
|
+
email?: components["schemas"]["TriggerEmailDto"] | null;
|
|
5769
|
+
};
|
|
5770
|
+
TriggerEmailDto: {
|
|
5771
|
+
/**
|
|
5772
|
+
* @description `allowlist` starts runs only for email from `allowed_senders` (an empty list rejects every email); `any` accepts every authenticated sender.
|
|
5773
|
+
* @example allowlist
|
|
5774
|
+
* @enum {string}
|
|
5775
|
+
*/
|
|
5776
|
+
sender_policy: "allowlist" | "any";
|
|
5777
|
+
/**
|
|
5778
|
+
* @description Exact addresses or `@domain` entries (that domain only). Stored lowercase; at most 100. Kept when `sender_policy` is `any`.
|
|
5779
|
+
* @example [
|
|
5780
|
+
* "@acme.com",
|
|
5781
|
+
* "billing@supplier.com"
|
|
5782
|
+
* ]
|
|
5783
|
+
*/
|
|
5784
|
+
allowed_senders: string[];
|
|
5692
5785
|
};
|
|
5693
5786
|
TriggerEvaluationRunResponseDto: {
|
|
5694
5787
|
/** @description The created run ID */
|
|
@@ -5977,7 +6070,7 @@ interface components {
|
|
|
5977
6070
|
*/
|
|
5978
6071
|
instructions?: string[] | null;
|
|
5979
6072
|
/**
|
|
5980
|
-
* @description Map of tool key to configuration; unknown keys are rejected. Integrations require `<platform>.byConnection[connectionUuid] = { actions, rules? }`; actions are catalog action names and SQL platforms grant `query`. Flat entries, action-string arrays and retired keys are rejected with HTTP 422.
|
|
6073
|
+
* @description Map of tool key to configuration; unknown keys are rejected. Integrations require `<platform>.byConnection[connectionUuid] = { actions, rules? }`; actions are catalog action names and SQL platforms grant `query`. A platform people connect personally also takes `<platform>.personal = { actions, rules? }`, which runs on each runner’s own personal connection; a save that newly adds a personal connection's UUID to `byConnection` (or grants it new actions there) is rejected with HTTP 422. Flat entries, action-string arrays and retired keys are rejected with HTTP 422.
|
|
5981
6074
|
* @example {
|
|
5982
6075
|
* "slack": {
|
|
5983
6076
|
* "byConnection": {
|
|
@@ -6318,6 +6411,57 @@ interface components {
|
|
|
6318
6411
|
* @enum {string}
|
|
6319
6412
|
*/
|
|
6320
6413
|
WorkflowNodeType: "start" | "action" | "condition" | "agent" | "humanApproval";
|
|
6414
|
+
WorkflowRunAttachmentDto: {
|
|
6415
|
+
/**
|
|
6416
|
+
* @description File name as it was sent.
|
|
6417
|
+
* @example invoice-4471.pdf
|
|
6418
|
+
*/
|
|
6419
|
+
fileName: string;
|
|
6420
|
+
/**
|
|
6421
|
+
* @description MIME type, when known.
|
|
6422
|
+
* @example application/pdf
|
|
6423
|
+
*/
|
|
6424
|
+
mimeType?: string;
|
|
6425
|
+
/**
|
|
6426
|
+
* Format: int64
|
|
6427
|
+
* @description Size in bytes, when known.
|
|
6428
|
+
* @example 182000
|
|
6429
|
+
*/
|
|
6430
|
+
sizeBytes?: number;
|
|
6431
|
+
/** @description Set when the trigger received the file but did not give it to the run. */
|
|
6432
|
+
skipped?: components["schemas"]["WorkflowRunSkippedAttachmentDto"];
|
|
6433
|
+
};
|
|
6434
|
+
WorkflowRunOriginDto: {
|
|
6435
|
+
/**
|
|
6436
|
+
* @description Where the run came from, for example `api`, `schedule` or `email`. `unknown` for a run that did not record it. New values may be added.
|
|
6437
|
+
* @example schedule
|
|
6438
|
+
*/
|
|
6439
|
+
source: string;
|
|
6440
|
+
/**
|
|
6441
|
+
* @description Email runs: the sender address.
|
|
6442
|
+
* @example dana@acme.com
|
|
6443
|
+
*/
|
|
6444
|
+
from?: string;
|
|
6445
|
+
/**
|
|
6446
|
+
* @description Email runs: the sender display name, when the email has one.
|
|
6447
|
+
* @example Dana Cohen
|
|
6448
|
+
*/
|
|
6449
|
+
fromName?: string;
|
|
6450
|
+
/**
|
|
6451
|
+
* @description Email runs: the subject line.
|
|
6452
|
+
* @example Invoice 4471 for October
|
|
6453
|
+
*/
|
|
6454
|
+
subject?: string;
|
|
6455
|
+
};
|
|
6456
|
+
WorkflowRunSkippedAttachmentDto: {
|
|
6457
|
+
/** @description Why the file was left out: `too_large` = over the per-file size limit; `too_many` = over the file count limit. */
|
|
6458
|
+
reason: components["schemas"]["WorkflowRunSkippedAttachmentReason"];
|
|
6459
|
+
};
|
|
6460
|
+
/**
|
|
6461
|
+
* @description Why the file was left out: `too_large` = over the per-file size limit; `too_many` = over the file count limit.
|
|
6462
|
+
* @enum {string}
|
|
6463
|
+
*/
|
|
6464
|
+
WorkflowRunSkippedAttachmentReason: "too_large" | "too_many";
|
|
6321
6465
|
WorkflowStructureDto: {
|
|
6322
6466
|
/** @description Workflow nodes. Defaults to `[]`. */
|
|
6323
6467
|
nodes?: components["schemas"]["WorkflowNodeDto"][];
|
|
@@ -6332,13 +6476,15 @@ interface components {
|
|
|
6332
6476
|
} | null;
|
|
6333
6477
|
WorkflowTriggerResponseDto: {
|
|
6334
6478
|
/**
|
|
6335
|
-
* @description Trigger kind.
|
|
6479
|
+
* @description Trigger kind. `schedule` and `email` carry a nested payload; the rest are opaque.
|
|
6336
6480
|
* @example schedule
|
|
6337
6481
|
* @enum {string}
|
|
6338
6482
|
*/
|
|
6339
|
-
trigger_type: "schedule" | "webhook" | "api" | "slack" | "manual";
|
|
6483
|
+
trigger_type: "schedule" | "webhook" | "api" | "slack" | "manual" | "email";
|
|
6340
6484
|
/** @description Schedule details. Required when trigger_type=schedule. Null for every other trigger. */
|
|
6341
6485
|
schedule?: components["schemas"]["WorkflowTriggerScheduleResponseDto"] | null;
|
|
6486
|
+
/** @description Sender policy. Present when trigger_type=email. Null for every other trigger. */
|
|
6487
|
+
email?: components["schemas"]["TriggerEmailDto"] | null;
|
|
6342
6488
|
} | null;
|
|
6343
6489
|
WorkflowTriggerScheduleResponseDto: {
|
|
6344
6490
|
/**
|
|
@@ -6424,10 +6570,6 @@ interface components {
|
|
|
6424
6570
|
nextPageToken: string | null;
|
|
6425
6571
|
};
|
|
6426
6572
|
AgentRunDto: {
|
|
6427
|
-
/** @description The user message to send. API tokens are held to the 32,000-character limit; a longer message is refused before the run starts. */
|
|
6428
|
-
message: string;
|
|
6429
|
-
/** @description Opaque client-generated conversation token for continuity. The server NEVER derives the run target identity (scope/workflow/modus) from this string — target identity comes only from the request path and DTO (see RunTarget). It is used solely to thread successive turns of the same conversation together. */
|
|
6430
|
-
sessionId: string;
|
|
6431
6573
|
/** @description Organization id. Ignored for authenticated callers — the server uses the principal's org. */
|
|
6432
6574
|
organizationId?: string;
|
|
6433
6575
|
/**
|
|
@@ -6435,9 +6577,6 @@ interface components {
|
|
|
6435
6577
|
* @enum {string}
|
|
6436
6578
|
*/
|
|
6437
6579
|
version?: "published" | "draft";
|
|
6438
|
-
/** @description Document-scoped conversation thread id. */
|
|
6439
|
-
fileThreadId?: string;
|
|
6440
|
-
config?: components["schemas"]["RunConfigDto"];
|
|
6441
6580
|
attachments?: components["schemas"]["AttachmentsDto"];
|
|
6442
6581
|
userContext?: components["schemas"]["UserContextDto"];
|
|
6443
6582
|
supplementalContext?: components["schemas"]["SupplementalContextDto"];
|
|
@@ -6445,12 +6584,35 @@ interface components {
|
|
|
6445
6584
|
source?: components["schemas"]["RunSource"];
|
|
6446
6585
|
/** @description Client-supplied run id (Idempotency-Key header wins). */
|
|
6447
6586
|
runId?: string;
|
|
6587
|
+
/** @description The run's input, which the workflow's first step receives. Omit it, or send an empty string, to trigger a run with no input. API tokens are held to the 32,000-character limit. */
|
|
6588
|
+
message?: string;
|
|
6589
|
+
/** @description A token you choose that threads runs into one conversation: send the same value on each run. Omit it for a one-off run; the server then assigns an id it does not return, so that run cannot be continued. */
|
|
6590
|
+
sessionId?: string;
|
|
6448
6591
|
/**
|
|
6449
|
-
* @
|
|
6592
|
+
* @deprecated
|
|
6593
|
+
* @description Deprecated: ignored for workflow runs, whose steps use the model and tools set in the workflow. Omit it.
|
|
6594
|
+
*/
|
|
6595
|
+
config?: components["schemas"]["RunConfigDto"];
|
|
6596
|
+
/**
|
|
6597
|
+
* @deprecated
|
|
6598
|
+
* @description Deprecated and ignored: a workflow run takes its settings from the workflow. Omit it; see `message` and `sessionId` for what a run accepts.
|
|
6599
|
+
*/
|
|
6600
|
+
fileThreadId?: string;
|
|
6601
|
+
/**
|
|
6602
|
+
* @deprecated
|
|
6603
|
+
* @description Deprecated and ignored: a workflow run takes its settings from the workflow. Omit it; see `message` and `sessionId` for what a run accepts.
|
|
6450
6604
|
* @enum {integer}
|
|
6451
6605
|
*/
|
|
6452
6606
|
streamProtocolVersion?: 2;
|
|
6607
|
+
/**
|
|
6608
|
+
* @deprecated
|
|
6609
|
+
* @description Deprecated and ignored: a workflow run takes its settings from the workflow. Omit it; see `message` and `sessionId` for what a run accepts.
|
|
6610
|
+
*/
|
|
6453
6611
|
experimentalFeatures?: boolean;
|
|
6612
|
+
/**
|
|
6613
|
+
* @deprecated
|
|
6614
|
+
* @description Deprecated and ignored: a workflow run takes its settings from the workflow. Omit it; see `message` and `sessionId` for what a run accepts.
|
|
6615
|
+
*/
|
|
6454
6616
|
debug?: boolean;
|
|
6455
6617
|
};
|
|
6456
6618
|
ApprovalTargetDto: {
|
|
@@ -6648,7 +6810,7 @@ interface components {
|
|
|
6648
6810
|
connectionSelections?: {
|
|
6649
6811
|
[key: string]: unknown;
|
|
6650
6812
|
}[];
|
|
6651
|
-
/** @description Connection-set entries (runtime-owned shape): `connection_id`, and optionally `preferences` (the connection's workspace-access preferences)
|
|
6813
|
+
/** @description Connection-set entries (runtime-owned shape): `connection_id`, and optionally `preferences` (the connection's workspace-access preferences) and `path` (a row the preferences compile to). */
|
|
6652
6814
|
connectionSet?: {
|
|
6653
6815
|
[key: string]: unknown;
|
|
6654
6816
|
}[];
|
|
@@ -6698,7 +6860,7 @@ interface components {
|
|
|
6698
6860
|
* @description Origin of the run. Set by the server for API tokens.
|
|
6699
6861
|
* @enum {string}
|
|
6700
6862
|
*/
|
|
6701
|
-
RunSource: "home" | "agent_settings" | "agent" | "api" | "modus_api" | "mcp" | "slack" | "slack_dm" | "teams" | "context_chat" | "context_suggestions" | "dashboard_copilot" | "dashboard_assistant" | "other";
|
|
6863
|
+
RunSource: "home" | "agent_settings" | "agent" | "api" | "modus_api" | "mcp" | "slack" | "slack_dm" | "teams" | "context_chat" | "context_suggestions" | "dashboard_copilot" | "dashboard_assistant" | "email" | "other";
|
|
6702
6864
|
SkillRunDto: {
|
|
6703
6865
|
/** @description The user message to send. API tokens are held to the 32,000-character limit; a longer message is refused before the run starts. */
|
|
6704
6866
|
message: string;
|
|
@@ -6743,7 +6905,7 @@ interface components {
|
|
|
6743
6905
|
* @description Producer that supplied the supplemental context.
|
|
6744
6906
|
* @enum {string}
|
|
6745
6907
|
*/
|
|
6746
|
-
SupplementalContextSource: "slack" | "teams" | "mcp";
|
|
6908
|
+
SupplementalContextSource: "slack" | "teams" | "mcp" | "email";
|
|
6747
6909
|
UserContextDto: {
|
|
6748
6910
|
/** @description End-user email for personalization; also used for usage attribution. */
|
|
6749
6911
|
email?: string;
|
|
@@ -7078,6 +7240,12 @@ interface operations {
|
|
|
7078
7240
|
searchQuery?: string;
|
|
7079
7241
|
/** @description Filter by topic tag. */
|
|
7080
7242
|
topics?: string[];
|
|
7243
|
+
/** @description Restrict to a single customer-defined source. Returns the source and everything beneath it. */
|
|
7244
|
+
sourceId?: string;
|
|
7245
|
+
/** @description Restrict to a collection inside the source. Requires `sourceId`. Returns the collection and everything beneath it. */
|
|
7246
|
+
collectionId?: string;
|
|
7247
|
+
/** @description Restrict to a single entity inside the collection. Requires `sourceId` and `collectionId`. Returns the entity and its fields. */
|
|
7248
|
+
externalId?: string;
|
|
7081
7249
|
};
|
|
7082
7250
|
header?: never;
|
|
7083
7251
|
path?: never;
|
|
@@ -7155,6 +7323,25 @@ interface operations {
|
|
|
7155
7323
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7156
7324
|
};
|
|
7157
7325
|
};
|
|
7326
|
+
/** @description The request was well-formed but failed a business rule (`code: VALIDATION`). */
|
|
7327
|
+
422: {
|
|
7328
|
+
headers: {
|
|
7329
|
+
[name: string]: unknown;
|
|
7330
|
+
};
|
|
7331
|
+
content: {
|
|
7332
|
+
/**
|
|
7333
|
+
* @example {
|
|
7334
|
+
* "error": {
|
|
7335
|
+
* "code": "VALIDATION",
|
|
7336
|
+
* "status": "INVALID_ARGUMENT",
|
|
7337
|
+
* "message": "collectionId must not be blank.",
|
|
7338
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7339
|
+
* }
|
|
7340
|
+
* }
|
|
7341
|
+
*/
|
|
7342
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7343
|
+
};
|
|
7344
|
+
};
|
|
7158
7345
|
/** @description Too many requests. Wait and retry later (`code: RATE_LIMITED`). */
|
|
7159
7346
|
429: {
|
|
7160
7347
|
headers: {
|
|
@@ -7591,6 +7778,204 @@ interface operations {
|
|
|
7591
7778
|
};
|
|
7592
7779
|
};
|
|
7593
7780
|
};
|
|
7781
|
+
CustomContextItemsController_batchDelete: {
|
|
7782
|
+
parameters: {
|
|
7783
|
+
query?: never;
|
|
7784
|
+
header?: never;
|
|
7785
|
+
path?: never;
|
|
7786
|
+
cookie?: never;
|
|
7787
|
+
};
|
|
7788
|
+
requestBody: {
|
|
7789
|
+
content: {
|
|
7790
|
+
"application/json": components["schemas"]["BatchDeleteCustomContextItemsDto"];
|
|
7791
|
+
};
|
|
7792
|
+
};
|
|
7793
|
+
responses: {
|
|
7794
|
+
200: {
|
|
7795
|
+
headers: {
|
|
7796
|
+
[name: string]: unknown;
|
|
7797
|
+
};
|
|
7798
|
+
content: {
|
|
7799
|
+
"application/json": components["schemas"]["BatchDeleteCustomContextItemsResponseDto"];
|
|
7800
|
+
};
|
|
7801
|
+
};
|
|
7802
|
+
/** @description Malformed request — invalid query parameters or request body (`code: BAD_REQUEST`). */
|
|
7803
|
+
400: {
|
|
7804
|
+
headers: {
|
|
7805
|
+
[name: string]: unknown;
|
|
7806
|
+
};
|
|
7807
|
+
content: {
|
|
7808
|
+
/**
|
|
7809
|
+
* @example {
|
|
7810
|
+
* "error": {
|
|
7811
|
+
* "code": "BAD_REQUEST",
|
|
7812
|
+
* "status": "INVALID_ARGUMENT",
|
|
7813
|
+
* "message": "Invalid value for query parameter `pageSize`.",
|
|
7814
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7815
|
+
* }
|
|
7816
|
+
* }
|
|
7817
|
+
*/
|
|
7818
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7819
|
+
};
|
|
7820
|
+
};
|
|
7821
|
+
/** @description Missing, invalid, or expired access token (`code: UNAUTHORIZED`). */
|
|
7822
|
+
401: {
|
|
7823
|
+
headers: {
|
|
7824
|
+
[name: string]: unknown;
|
|
7825
|
+
};
|
|
7826
|
+
content: {
|
|
7827
|
+
/**
|
|
7828
|
+
* @example {
|
|
7829
|
+
* "error": {
|
|
7830
|
+
* "code": "UNAUTHORIZED",
|
|
7831
|
+
* "status": "UNAUTHENTICATED",
|
|
7832
|
+
* "message": "Missing or invalid access token.",
|
|
7833
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7834
|
+
* }
|
|
7835
|
+
* }
|
|
7836
|
+
*/
|
|
7837
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7838
|
+
};
|
|
7839
|
+
};
|
|
7840
|
+
/**
|
|
7841
|
+
* @description Authenticated, but the token lacks a required scope (`code: FORBIDDEN`). The missing scopes are listed in `info`.
|
|
7842
|
+
*
|
|
7843
|
+
* Also returned, with the message `Custom context item writes are not enabled`, when custom context item writes are not enabled for your organization. They are off by default; ask Modus to enable them.
|
|
7844
|
+
*/
|
|
7845
|
+
403: {
|
|
7846
|
+
headers: {
|
|
7847
|
+
[name: string]: unknown;
|
|
7848
|
+
};
|
|
7849
|
+
content: {
|
|
7850
|
+
/**
|
|
7851
|
+
* @example {
|
|
7852
|
+
* "error": {
|
|
7853
|
+
* "code": "FORBIDDEN",
|
|
7854
|
+
* "status": "PERMISSION_DENIED",
|
|
7855
|
+
* "message": "Custom context item writes are not enabled",
|
|
7856
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7857
|
+
* }
|
|
7858
|
+
* }
|
|
7859
|
+
*/
|
|
7860
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7861
|
+
};
|
|
7862
|
+
};
|
|
7863
|
+
/** @description The resource does not exist, or you do not have access to it (`code: NOT_FOUND`). */
|
|
7864
|
+
404: {
|
|
7865
|
+
headers: {
|
|
7866
|
+
[name: string]: unknown;
|
|
7867
|
+
};
|
|
7868
|
+
content: {
|
|
7869
|
+
/**
|
|
7870
|
+
* @example {
|
|
7871
|
+
* "error": {
|
|
7872
|
+
* "code": "NOT_FOUND",
|
|
7873
|
+
* "status": "NOT_FOUND",
|
|
7874
|
+
* "message": "Resource not found.",
|
|
7875
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7876
|
+
* }
|
|
7877
|
+
* }
|
|
7878
|
+
*/
|
|
7879
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7880
|
+
};
|
|
7881
|
+
};
|
|
7882
|
+
/** @description The request conflicts with the current state of the resource, e.g. a duplicate (`code: CONFLICT`). */
|
|
7883
|
+
409: {
|
|
7884
|
+
headers: {
|
|
7885
|
+
[name: string]: unknown;
|
|
7886
|
+
};
|
|
7887
|
+
content: {
|
|
7888
|
+
/**
|
|
7889
|
+
* @example {
|
|
7890
|
+
* "error": {
|
|
7891
|
+
* "code": "CONFLICT",
|
|
7892
|
+
* "status": "ALREADY_EXISTS",
|
|
7893
|
+
* "message": "A resource with that identifier already exists.",
|
|
7894
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7895
|
+
* }
|
|
7896
|
+
* }
|
|
7897
|
+
*/
|
|
7898
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7899
|
+
};
|
|
7900
|
+
};
|
|
7901
|
+
/** @description The request body is larger than this operation accepts (`code: PAYLOAD_TOO_LARGE`). The limit is 100 KiB unless the operation raises it; the message names the limit that applied. */
|
|
7902
|
+
413: {
|
|
7903
|
+
headers: {
|
|
7904
|
+
[name: string]: unknown;
|
|
7905
|
+
};
|
|
7906
|
+
content: {
|
|
7907
|
+
/**
|
|
7908
|
+
* @example {
|
|
7909
|
+
* "error": {
|
|
7910
|
+
* "code": "PAYLOAD_TOO_LARGE",
|
|
7911
|
+
* "status": "INVALID_ARGUMENT",
|
|
7912
|
+
* "message": "Request body exceeds the 1 MiB limit.",
|
|
7913
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7914
|
+
* }
|
|
7915
|
+
* }
|
|
7916
|
+
*/
|
|
7917
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7918
|
+
};
|
|
7919
|
+
};
|
|
7920
|
+
/** @description The request was well-formed but failed a business rule (`code: VALIDATION`). */
|
|
7921
|
+
422: {
|
|
7922
|
+
headers: {
|
|
7923
|
+
[name: string]: unknown;
|
|
7924
|
+
};
|
|
7925
|
+
content: {
|
|
7926
|
+
/**
|
|
7927
|
+
* @example {
|
|
7928
|
+
* "error": {
|
|
7929
|
+
* "code": "VALIDATION",
|
|
7930
|
+
* "status": "INVALID_ARGUMENT",
|
|
7931
|
+
* "message": "Updates that would revoke your own access are not allowed.",
|
|
7932
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7933
|
+
* }
|
|
7934
|
+
* }
|
|
7935
|
+
*/
|
|
7936
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7937
|
+
};
|
|
7938
|
+
};
|
|
7939
|
+
/** @description Too many requests. Wait and retry later (`code: RATE_LIMITED`). */
|
|
7940
|
+
429: {
|
|
7941
|
+
headers: {
|
|
7942
|
+
[name: string]: unknown;
|
|
7943
|
+
};
|
|
7944
|
+
content: {
|
|
7945
|
+
/**
|
|
7946
|
+
* @example {
|
|
7947
|
+
* "error": {
|
|
7948
|
+
* "code": "RATE_LIMITED",
|
|
7949
|
+
* "status": "RESOURCE_EXHAUSTED",
|
|
7950
|
+
* "message": "Too many requests. Please retry after a short delay.",
|
|
7951
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7952
|
+
* }
|
|
7953
|
+
* }
|
|
7954
|
+
*/
|
|
7955
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7956
|
+
};
|
|
7957
|
+
};
|
|
7958
|
+
/** @description An unexpected server error occurred (`code: INTERNAL_ERROR`). */
|
|
7959
|
+
500: {
|
|
7960
|
+
headers: {
|
|
7961
|
+
[name: string]: unknown;
|
|
7962
|
+
};
|
|
7963
|
+
content: {
|
|
7964
|
+
/**
|
|
7965
|
+
* @example {
|
|
7966
|
+
* "error": {
|
|
7967
|
+
* "code": "INTERNAL_ERROR",
|
|
7968
|
+
* "status": "INTERNAL",
|
|
7969
|
+
* "message": "An unexpected error occurred.",
|
|
7970
|
+
* "requestId": "req_01HQ7K8ABCDEFGHIJKLMNOPQRS"
|
|
7971
|
+
* }
|
|
7972
|
+
* }
|
|
7973
|
+
*/
|
|
7974
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
7975
|
+
};
|
|
7976
|
+
};
|
|
7977
|
+
};
|
|
7978
|
+
};
|
|
7594
7979
|
CustomContextItemsController_createRelations: {
|
|
7595
7980
|
parameters: {
|
|
7596
7981
|
query?: never;
|
|
@@ -16004,10 +16389,10 @@ interface operations {
|
|
|
16004
16389
|
pageSize?: number;
|
|
16005
16390
|
/** @description Filter by user id who participated in the conversation. Exact match against the `conversation_interactions.user_id` column. */
|
|
16006
16391
|
userId?: string;
|
|
16007
|
-
/** @description Filter by tool name invoked in the conversation. Applied post-fetch (requires reading message blobs); use `includeTools=true` to also see the matched tools. */
|
|
16392
|
+
/** @description Filter by tool name invoked in the conversation. Applied post-fetch (requires reading message blobs); use `includeTools=true` to also see the matched tools. Matches only conversations you took part in. With the `userId` of another member it is a 400 on a scope, and a 404 with `id=0`, as for any id but your own there. */
|
|
16008
16393
|
toolName?: string;
|
|
16009
|
-
/** @description Return only conversations started from this UI surface. Cannot be combined with `toolName`, `includeTools=true`, or `kind` other than `all`. */
|
|
16010
|
-
source?: "home" | "agent_settings" | "agent" | "api" | "modus_api" | "mcp" | "slack" | "slack_dm" | "teams" | "context_chat" | "context_suggestions" | "dashboard_copilot" | "dashboard_assistant" | "other";
|
|
16394
|
+
/** @description Return only conversations started from this UI surface. Cannot be combined with `toolName`, `includeTools=true`, or `kind` other than `all`. Matches only conversations you took part in. With the `userId` of another member it is a 400 on a scope, and a 404 with `id=0`, as for any id but your own there. */
|
|
16395
|
+
source?: "home" | "agent_settings" | "agent" | "api" | "modus_api" | "mcp" | "slack" | "slack_dm" | "teams" | "context_chat" | "context_suggestions" | "dashboard_copilot" | "dashboard_assistant" | "email" | "other";
|
|
16011
16396
|
/** @description Narrow `source` to one instance of that surface — for `dashboard_copilot` or `dashboard_assistant`, a dashboard id (both scope conversation history per dashboard). Requires `source`; sent alone it is a 422. */
|
|
16012
16397
|
sourceRef?: string;
|
|
16013
16398
|
/** @description Filter by activity recency. Coarse server-side buckets. */
|
|
@@ -17546,10 +17931,10 @@ interface operations {
|
|
|
17546
17931
|
pageSize?: number;
|
|
17547
17932
|
/** @description Filter by user id who participated in the conversation. Exact match against the `conversation_interactions.user_id` column. */
|
|
17548
17933
|
userId?: string;
|
|
17549
|
-
/** @description Filter by tool name invoked in the conversation. Applied post-fetch (requires reading message blobs); use `includeTools=true` to also see the matched tools. */
|
|
17934
|
+
/** @description Filter by tool name invoked in the conversation. Applied post-fetch (requires reading message blobs); use `includeTools=true` to also see the matched tools. Matches only conversations you took part in. With the `userId` of another member it is a 400 on a scope, and a 404 with `id=0`, as for any id but your own there. */
|
|
17550
17935
|
toolName?: string;
|
|
17551
|
-
/** @description Return only conversations started from this UI surface. Cannot be combined with `toolName`, `includeTools=true`, or `kind` other than `all`. */
|
|
17552
|
-
source?: "home" | "agent_settings" | "agent" | "api" | "modus_api" | "mcp" | "slack" | "slack_dm" | "teams" | "context_chat" | "context_suggestions" | "dashboard_copilot" | "dashboard_assistant" | "other";
|
|
17936
|
+
/** @description Return only conversations started from this UI surface. Cannot be combined with `toolName`, `includeTools=true`, or `kind` other than `all`. Matches only conversations you took part in. With the `userId` of another member it is a 400 on a scope, and a 404 with `id=0`, as for any id but your own there. */
|
|
17937
|
+
source?: "home" | "agent_settings" | "agent" | "api" | "modus_api" | "mcp" | "slack" | "slack_dm" | "teams" | "context_chat" | "context_suggestions" | "dashboard_copilot" | "dashboard_assistant" | "email" | "other";
|
|
17553
17938
|
/** @description Narrow `source` to one instance of that surface — for `dashboard_copilot` or `dashboard_assistant`, a dashboard id (both scope conversation history per dashboard). Requires `source`; sent alone it is a 422. */
|
|
17554
17939
|
sourceRef?: string;
|
|
17555
17940
|
/** @description Filter by activity recency. Coarse server-side buckets. */
|
|
@@ -28250,6 +28635,17 @@ declare const OPERATIONS: {
|
|
|
28250
28635
|
readonly responseSchema: "BatchCreateCustomContextItemsResponseDto";
|
|
28251
28636
|
readonly idempotent: false;
|
|
28252
28637
|
};
|
|
28638
|
+
readonly CustomContextItemsController_batchDelete: {
|
|
28639
|
+
readonly method: "POST";
|
|
28640
|
+
readonly path: "/api/v1/context/custom-items/batchDelete";
|
|
28641
|
+
readonly service: "modus-api";
|
|
28642
|
+
readonly serverUrl: "https://api.getmodus.com";
|
|
28643
|
+
readonly pathParams: readonly [];
|
|
28644
|
+
readonly queryParams: readonly [];
|
|
28645
|
+
readonly requestSchema: "BatchDeleteCustomContextItemsDto";
|
|
28646
|
+
readonly responseSchema: "BatchDeleteCustomContextItemsResponseDto";
|
|
28647
|
+
readonly idempotent: false;
|
|
28648
|
+
};
|
|
28253
28649
|
readonly CustomContextItemsController_create: {
|
|
28254
28650
|
readonly method: "POST";
|
|
28255
28651
|
readonly path: "/api/v1/context/custom-items";
|
|
@@ -28300,7 +28696,7 @@ declare const OPERATIONS: {
|
|
|
28300
28696
|
readonly service: "modus-api";
|
|
28301
28697
|
readonly serverUrl: "https://api.getmodus.com";
|
|
28302
28698
|
readonly pathParams: readonly [];
|
|
28303
|
-
readonly queryParams: readonly ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics"];
|
|
28699
|
+
readonly queryParams: readonly ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics", "sourceId", "collectionId", "externalId"];
|
|
28304
28700
|
readonly requestSchema: null;
|
|
28305
28701
|
readonly responseSchema: "ListCustomContextItemsResponseDto";
|
|
28306
28702
|
readonly idempotent: false;
|
|
@@ -29567,7 +29963,7 @@ interface CustomContextItemRelationInput {
|
|
|
29567
29963
|
fromUid: string;
|
|
29568
29964
|
toUid: string;
|
|
29569
29965
|
relationType: string;
|
|
29570
|
-
|
|
29966
|
+
edgeProperties?: Record<string, string | number | boolean | Array<string | number | boolean>>;
|
|
29571
29967
|
}
|
|
29572
29968
|
interface CreatedCustomContextItem {
|
|
29573
29969
|
contextItemId: string;
|
|
@@ -29586,6 +29982,36 @@ interface CustomContextItemDeletion {
|
|
|
29586
29982
|
uid: string;
|
|
29587
29983
|
contextType: string;
|
|
29588
29984
|
}
|
|
29985
|
+
interface BatchDeleteCustomContextItemsInput {
|
|
29986
|
+
/** Customer-defined source to delete from. Required. */
|
|
29987
|
+
sourceId: string;
|
|
29988
|
+
/** Narrow to one collection inside the source. */
|
|
29989
|
+
collectionId?: string;
|
|
29990
|
+
/** Narrow to one entity inside the collection. Requires `collectionId`. */
|
|
29991
|
+
externalId?: string;
|
|
29992
|
+
/**
|
|
29993
|
+
* Which kind to delete at the selected path, for a non-cascade delete — an
|
|
29994
|
+
* entity and its `entity_samples` share a path, so this disambiguates them.
|
|
29995
|
+
* Defaults to the metadata item at the selected level. Ignored when `cascade`.
|
|
29996
|
+
*/
|
|
29997
|
+
kind?: CustomContextItemKind;
|
|
29998
|
+
/** When true, also delete everything beneath the targeted node; default deletes only the targeted node. */
|
|
29999
|
+
cascade?: boolean;
|
|
30000
|
+
/** Continuation cursor from a previous response `nextCursor`. */
|
|
30001
|
+
cursor?: string;
|
|
30002
|
+
}
|
|
30003
|
+
interface BatchDeleteCustomContextItemsResult {
|
|
30004
|
+
/** Number of custom context items soft-deleted by this request. */
|
|
30005
|
+
deletedCount: number;
|
|
30006
|
+
/** True when more matching items were ahead of this batch; call again with `nextCursor`. */
|
|
30007
|
+
truncated: boolean;
|
|
30008
|
+
/**
|
|
30009
|
+
* Continuation cursor; pass as `cursor` to delete the next batch. `null` means no more matching
|
|
30010
|
+
* items were ahead at scan time — this is a forward pass, not a snapshot, so items added (or
|
|
30011
|
+
* recreated with a lower id) during the sweep may be missed; run a fresh pass (no cursor) to catch them.
|
|
30012
|
+
*/
|
|
30013
|
+
nextCursor: string | null;
|
|
30014
|
+
}
|
|
29589
30015
|
/**
|
|
29590
30016
|
* Create, update, and delete custom context items.
|
|
29591
30017
|
*
|
|
@@ -29628,11 +30054,14 @@ declare class CustomContextItemsResource {
|
|
|
29628
30054
|
* @param options.pageToken - Opaque token from a previous page.
|
|
29629
30055
|
* @param options.searchQuery - Word search: returns rows that contain every word of the query, case-insensitive.
|
|
29630
30056
|
* @param options.topics - Filter to items tagged with any of these topics.
|
|
30057
|
+
* @param options.sourceId - Restrict to one customer-defined source and everything beneath it.
|
|
30058
|
+
* @param options.collectionId - Restrict to one collection inside the source. Requires `sourceId`.
|
|
30059
|
+
* @param options.externalId - Restrict to one entity inside the collection. Requires `sourceId` and `collectionId`.
|
|
29631
30060
|
* @returns A page of custom context items.
|
|
29632
30061
|
* @example
|
|
29633
30062
|
* ```ts
|
|
29634
30063
|
* const client = new Modus()
|
|
29635
|
-
* const page = await client.context.customItems.list({
|
|
30064
|
+
* const page = await client.context.customItems.list({ sourceId: 'billing-db' })
|
|
29636
30065
|
* for (const item of page.items) console.log(item.uid, item.contextType)
|
|
29637
30066
|
* ```
|
|
29638
30067
|
*/
|
|
@@ -29641,6 +30070,9 @@ declare class CustomContextItemsResource {
|
|
|
29641
30070
|
pageToken?: string;
|
|
29642
30071
|
searchQuery?: string;
|
|
29643
30072
|
topics?: string[];
|
|
30073
|
+
sourceId?: string;
|
|
30074
|
+
collectionId?: string;
|
|
30075
|
+
externalId?: string;
|
|
29644
30076
|
}): Promise<Page<ContextItem>>;
|
|
29645
30077
|
private listPage;
|
|
29646
30078
|
/**
|
|
@@ -29714,7 +30146,7 @@ declare class CustomContextItemsResource {
|
|
|
29714
30146
|
/**
|
|
29715
30147
|
* Create or update typed relations between context items.
|
|
29716
30148
|
*
|
|
29717
|
-
* @param relations - Relations with source and target item uids, a snake_case type, and optional
|
|
30149
|
+
* @param relations - Relations with source and target item uids, a snake_case type, and optional flat edgeProperties. Omitting edgeProperties on an existing relation replaces its stored properties with `{}`.
|
|
29718
30150
|
* @returns Number of relations created or updated.
|
|
29719
30151
|
* @example
|
|
29720
30152
|
* ```ts
|
|
@@ -29723,6 +30155,7 @@ declare class CustomContextItemsResource {
|
|
|
29723
30155
|
* fromUid: 'SOURCE_UID',
|
|
29724
30156
|
* toUid: 'TARGET_UID',
|
|
29725
30157
|
* relationType: 'depends_on',
|
|
30158
|
+
* edgeProperties: { source_file: 'go.mod' },
|
|
29726
30159
|
* }])
|
|
29727
30160
|
* ```
|
|
29728
30161
|
*/
|
|
@@ -29756,6 +30189,31 @@ declare class CustomContextItemsResource {
|
|
|
29756
30189
|
* ```
|
|
29757
30190
|
*/
|
|
29758
30191
|
delete(uid: string): Promise<CustomContextItemDeletion>;
|
|
30192
|
+
/**
|
|
30193
|
+
* Delete custom context items selected by source key.
|
|
30194
|
+
*
|
|
30195
|
+
* Only items you can manage are deleted, and integration-derived context items
|
|
30196
|
+
* are never affected. By default only the targeted node is removed; set
|
|
30197
|
+
* `cascade` to also remove everything beneath it. Processes up to 1000 items
|
|
30198
|
+
* per call — when `truncated` is true, call again to continue.
|
|
30199
|
+
*
|
|
30200
|
+
* @param input.sourceId - Source to delete from. Required.
|
|
30201
|
+
* @param input.collectionId - Narrow to one collection inside the source.
|
|
30202
|
+
* @param input.externalId - Narrow to one entity inside the collection.
|
|
30203
|
+
* @param input.cascade - Also delete everything beneath the targeted node.
|
|
30204
|
+
* @returns Counts of deleted and skipped items, and whether more remain.
|
|
30205
|
+
* @example
|
|
30206
|
+
* ```ts
|
|
30207
|
+
* const client = new Modus()
|
|
30208
|
+
* const result = await client.context.customItems.batchDelete({
|
|
30209
|
+
* sourceId: 'billing-db',
|
|
30210
|
+
* collectionId: 'contracts',
|
|
30211
|
+
* cascade: true,
|
|
30212
|
+
* })
|
|
30213
|
+
* console.log(result.deletedCount, result.truncated)
|
|
30214
|
+
* ```
|
|
30215
|
+
*/
|
|
30216
|
+
batchDelete(input: BatchDeleteCustomContextItemsInput): Promise<BatchDeleteCustomContextItemsResult>;
|
|
29759
30217
|
}
|
|
29760
30218
|
|
|
29761
30219
|
/** Generated base for the consumption `scopes.conversations` resource. */
|
|
@@ -29769,15 +30227,16 @@ declare class ScopesConversationsResourceBase {
|
|
|
29769
30227
|
* List scope conversations.
|
|
29770
30228
|
*
|
|
29771
30229
|
* Returns a page of conversation summaries (most recently updated first) for a scope. Use `id=0`
|
|
29772
|
-
* for your cross-scope recent history.
|
|
29773
|
-
* page.
|
|
30230
|
+
* for your cross-scope recent history. A conversation you took no part in shows only who took
|
|
30231
|
+
* part and when. Pass `nextPageToken` as `pageToken` for the next page.
|
|
29774
30232
|
*
|
|
29775
30233
|
* **Requires:** `scopes:read`
|
|
29776
30234
|
*
|
|
29777
30235
|
* @param options.pageSize - Items per page. Defaults to 25.
|
|
29778
30236
|
* @param options.pageToken - Opaque page token from a previous response's `nextPageToken`. Omit
|
|
29779
30237
|
* for the first page.
|
|
29780
|
-
* @param options.source - Return only conversations started from this UI surface.
|
|
30238
|
+
* @param options.source - Return only conversations started from this UI surface. Matches only
|
|
30239
|
+
* conversations you took part in.
|
|
29781
30240
|
* @param options.sourceRef - Narrow `source` to one instance of that surface — for
|
|
29782
30241
|
* `dashboard_copilot` or `dashboard_assistant`, a dashboard id (both scope conversation history
|
|
29783
30242
|
* per dashboard). Requires `source`; sent alone it is a 422.
|
|
@@ -29843,4 +30302,4 @@ declare abstract class ModusClientBase {
|
|
|
29843
30302
|
toString(): string;
|
|
29844
30303
|
}
|
|
29845
30304
|
|
|
29846
|
-
export { type Agent as A, type
|
|
30305
|
+
export { type Agent as A, type BatchDeleteCustomContextItemsInput as B, type Conversation as C, type OperationId as D, type OperationSpec as E, type ScopeStatus as F, type ScopeVariation as G, HttpClient as H, type Skill as I, type SkillStatus as J, type SkillVariation as K, type SupervisionView as L, type ModusConfig as M, type UpdateCustomContextItemInput as N, OPERATIONS as O, Page as P, conversationScopeId as Q, conversationSkillId as R, type Scope as S, type operations as T, type UpdateContextItemAccessInput as U, type VariationView as V, WorkflowType as W, type paths as X, type CreatedContextItem as Y, ScopeConversationsResource as a, type ConversationKind as b, type components as c, type ConversationListItem as d, type Workflow as e, type ContextItemsQuery as f, type ContextItemsQueryResult as g, type ContextItem as h, type ContextItemLookupRow as i, CustomContextItemsResource as j, ModusClientBase as k, type ModusOptions as l, AgentType as m, type BatchDeleteCustomContextItemsResult as n, type ContextItemAccessUpdate as o, type ContextItemAncestor as p, type ContextItemDeletion as q, type ContextItemMove as r, type ContextType as s, type CreateCustomContextItemInput as t, type CreatedCustomContextItem as u, type CustomAttributeInput as v, type CustomContextItemDeletion as w, type CustomContextItemKind as x, type CustomContextItemRelationInput as y, type Message as z };
|