@getmodus/sdk 0.12.0 → 0.14.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.
@@ -1,685 +1,2324 @@
1
1
  // src/_generated/operations.ts
2
2
  var OPERATIONS = {
3
- "ConnectionsController_list": {
3
+ "AllRunsController_listAll": {
4
4
  method: "GET",
5
- path: "/api/v1/connections",
5
+ path: "/api/v1/automation-runs",
6
6
  service: "modus-api",
7
7
  serverUrl: "https://api.getmodus.com",
8
8
  pathParams: [],
9
- queryParams: ["pageToken", "pageSize", "type"],
9
+ queryParams: ["status", "timeframe", "approvalScope", "search", "pageSize", "pageToken"],
10
10
  requestSchema: null,
11
- responseSchema: "ListConnectionsResponseDto",
11
+ responseSchema: "ListAutomationRunsResponseDto",
12
12
  idempotent: false
13
13
  },
14
- "ConnectionsController_listSelections": {
14
+ "AllRunsController_listReportedIssueStreaks": {
15
15
  method: "GET",
16
- path: "/api/v1/connections/{connectionId}/selections",
17
- service: "modus-api",
18
- serverUrl: "https://api.getmodus.com",
19
- pathParams: ["connectionId"],
20
- queryParams: ["pageToken", "pageSize"],
21
- requestSchema: null,
22
- responseSchema: "ListConnectionSelectionsResponseDto",
23
- idempotent: false
24
- },
25
- "ContextCreatorsController_createLink": {
26
- method: "POST",
27
- path: "/api/v1/context/links",
28
- service: "modus-api",
29
- serverUrl: "https://api.getmodus.com",
30
- pathParams: [],
31
- queryParams: [],
32
- requestSchema: "CreateLinkDto",
33
- responseSchema: "CreatedContextItemResponseDto",
34
- idempotent: false
35
- },
36
- "ContextCreatorsController_createNote": {
37
- method: "POST",
38
- path: "/api/v1/context/notes",
39
- service: "modus-api",
40
- serverUrl: "https://api.getmodus.com",
41
- pathParams: [],
42
- queryParams: [],
43
- requestSchema: "CreateNoteDto",
44
- responseSchema: "CreatedContextItemResponseDto",
45
- idempotent: false
46
- },
47
- "ContextCreatorsController_createSavedQuery": {
48
- method: "POST",
49
- path: "/api/v1/context/saved-queries",
16
+ path: "/api/v1/automation-runs/reported-issue-streaks",
50
17
  service: "modus-api",
51
18
  serverUrl: "https://api.getmodus.com",
52
19
  pathParams: [],
53
20
  queryParams: [],
54
- requestSchema: "CreateSavedQueryDto",
55
- responseSchema: "CreatedContextItemResponseDto",
21
+ requestSchema: null,
22
+ responseSchema: "ReportedIssueStreaksResponseDto",
56
23
  idempotent: false
57
24
  },
58
- "ContextFilesController_finalize": {
59
- method: "POST",
60
- path: "/api/v1/context/files/{uploadId}/finalize",
25
+ "ArtifactCommentsController_counts": {
26
+ method: "GET",
27
+ path: "/api/v1/context/artifacts/{kind}/{id}/comments/counts",
61
28
  service: "modus-api",
62
29
  serverUrl: "https://api.getmodus.com",
63
- pathParams: ["uploadId"],
30
+ pathParams: ["kind", "id"],
64
31
  queryParams: [],
65
- requestSchema: "FinalizeUploadDto",
66
- responseSchema: "FileUploadResourceDto",
32
+ requestSchema: null,
33
+ responseSchema: "ArtifactCommentCountsResponseDto",
67
34
  idempotent: false
68
35
  },
69
- "ContextFilesController_finalizeMany": {
36
+ "ArtifactCommentsController_create": {
70
37
  method: "POST",
71
- path: "/api/v1/context/files/finalize",
38
+ path: "/api/v1/context/artifacts/{kind}/{id}/comments",
72
39
  service: "modus-api",
73
40
  serverUrl: "https://api.getmodus.com",
74
- pathParams: [],
41
+ pathParams: ["kind", "id"],
75
42
  queryParams: [],
76
- requestSchema: "BulkFinalizeDto",
77
- responseSchema: "BulkFinalizeResponseDto",
43
+ requestSchema: "NewThreadDto",
44
+ responseSchema: "ArtifactCommentThreadIdResponseDto",
78
45
  idempotent: false
79
46
  },
80
- "ContextFilesController_get": {
47
+ "ArtifactCommentsController_list": {
81
48
  method: "GET",
82
- path: "/api/v1/context/files/{uploadId}",
49
+ path: "/api/v1/context/artifacts/{kind}/{id}/comments",
83
50
  service: "modus-api",
84
51
  serverUrl: "https://api.getmodus.com",
85
- pathParams: ["uploadId"],
52
+ pathParams: ["kind", "id"],
86
53
  queryParams: [],
87
54
  requestSchema: null,
88
- responseSchema: "FileUploadResourceDto",
89
- idempotent: false
90
- },
91
- "ContextFilesController_list": {
92
- method: "GET",
93
- path: "/api/v1/context/files",
94
- service: "modus-api",
95
- serverUrl: "https://api.getmodus.com",
96
- pathParams: [],
97
- queryParams: ["pageToken", "pageSize"],
98
- requestSchema: null,
99
- responseSchema: "ListFilesResponseDto",
55
+ responseSchema: null,
100
56
  idempotent: false
101
57
  },
102
- "ContextFilesController_uploadFromUrl": {
58
+ "ArtifactCommentsController_reply": {
103
59
  method: "POST",
104
- path: "/api/v1/context/files/uploadFromUrl",
60
+ path: "/api/v1/context/artifacts/{kind}/{id}/comments/{threadId}/replies",
105
61
  service: "modus-api",
106
62
  serverUrl: "https://api.getmodus.com",
107
- pathParams: [],
63
+ pathParams: ["kind", "id", "threadId"],
108
64
  queryParams: [],
109
- requestSchema: "UploadFromUrlDto",
110
- responseSchema: "FileUploadResourceDto",
65
+ requestSchema: "MessageDto",
66
+ responseSchema: "ArtifactCommentThreadIdResponseDto",
111
67
  idempotent: false
112
68
  },
113
- "ContextFilesController_uploadFromUrls": {
114
- method: "POST",
115
- path: "/api/v1/context/files/uploadFromUrls",
69
+ "ArtifactCommentsController_update": {
70
+ method: "PATCH",
71
+ path: "/api/v1/context/artifacts/{kind}/{id}/comments/{threadId}",
116
72
  service: "modus-api",
117
73
  serverUrl: "https://api.getmodus.com",
118
- pathParams: [],
74
+ pathParams: ["kind", "id", "threadId"],
119
75
  queryParams: [],
120
- requestSchema: "BulkUploadFromUrlsDto",
121
- responseSchema: "BulkUploadFromUrlsResponseDto",
76
+ requestSchema: "UpdateThreadDto",
77
+ responseSchema: null,
122
78
  idempotent: false
123
79
  },
124
- "ContextFilesController_uploadUrl": {
80
+ "ArtifactsController_createDraft": {
125
81
  method: "POST",
126
- path: "/api/v1/context/files/uploadUrl",
82
+ path: "/api/v1/context/artifacts/drafts",
127
83
  service: "modus-api",
128
84
  serverUrl: "https://api.getmodus.com",
129
85
  pathParams: [],
130
86
  queryParams: [],
131
- requestSchema: "UploadUrlDto",
132
- responseSchema: "UploadUrlResponseDto",
87
+ requestSchema: "CreateDocumentDraftDto",
88
+ responseSchema: "ArtifactDraftResponseDto",
133
89
  idempotent: false
134
90
  },
135
- "ContextFilesController_uploadUrls": {
91
+ "ArtifactsController_createFolder": {
136
92
  method: "POST",
137
- path: "/api/v1/context/files/uploadUrls",
93
+ path: "/api/v1/context/artifacts/folders",
138
94
  service: "modus-api",
139
95
  serverUrl: "https://api.getmodus.com",
140
96
  pathParams: [],
141
97
  queryParams: [],
142
- requestSchema: "BulkUploadUrlsDto",
143
- responseSchema: "BulkUploadUrlsResponseDto",
98
+ requestSchema: "CreateArtifactFolderDto",
99
+ responseSchema: "ArtifactFolderResponseDto",
144
100
  idempotent: false
145
101
  },
146
- "ContextItemAccessController_updateAccess": {
147
- method: "PATCH",
148
- path: "/api/v1/context/items/{uid}/access",
102
+ "ArtifactsController_delete": {
103
+ method: "DELETE",
104
+ path: "/api/v1/context/artifacts/{kind}/{id}",
149
105
  service: "modus-api",
150
106
  serverUrl: "https://api.getmodus.com",
151
- pathParams: ["uid"],
107
+ pathParams: ["kind", "id"],
152
108
  queryParams: [],
153
- requestSchema: "UpdateContextItemAccessDto",
154
- responseSchema: "ContextItemAccessResponseDto",
109
+ requestSchema: null,
110
+ responseSchema: null,
155
111
  idempotent: false
156
112
  },
157
- "ContextItemsController_delete": {
113
+ "ArtifactsController_deleteFolder": {
158
114
  method: "DELETE",
159
- path: "/api/v1/context/items/{uid}",
115
+ path: "/api/v1/context/artifacts/folders/{folderId}",
160
116
  service: "modus-api",
161
117
  serverUrl: "https://api.getmodus.com",
162
- pathParams: ["uid"],
118
+ pathParams: ["folderId"],
163
119
  queryParams: [],
164
120
  requestSchema: null,
165
- responseSchema: "DeleteContextItemResponseDto",
121
+ responseSchema: null,
166
122
  idempotent: false
167
123
  },
168
- "ContextItemsController_get": {
169
- method: "GET",
170
- path: "/api/v1/context/items/{uid}",
124
+ "ArtifactsController_download": {
125
+ method: "POST",
126
+ path: "/api/v1/context/artifacts/reports/{id}/download-url",
171
127
  service: "modus-api",
172
128
  serverUrl: "https://api.getmodus.com",
173
- pathParams: ["uid"],
174
- queryParams: [],
129
+ pathParams: ["id"],
130
+ queryParams: ["view", "includeSourceFiles"],
175
131
  requestSchema: null,
176
- responseSchema: "ContextItemDto",
132
+ responseSchema: "ArtifactReportDownloadResponseDto",
177
133
  idempotent: false
178
134
  },
179
- "ContextItemsController_list": {
180
- method: "GET",
181
- path: "/api/v1/context/items",
135
+ "ArtifactsController_findSavedReport": {
136
+ method: "POST",
137
+ path: "/api/v1/context/artifacts/reports/from-conversation/lookup",
182
138
  service: "modus-api",
183
139
  serverUrl: "https://api.getmodus.com",
184
140
  pathParams: [],
185
- queryParams: ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics", "connectionIds", "parentUids", "ancestorUids"],
186
- requestSchema: null,
187
- responseSchema: "ListContextItemsResponseDto",
188
- idempotent: false
141
+ queryParams: [],
142
+ requestSchema: "SaveGeneratedReportDto",
143
+ responseSchema: "SavedReportLookupResponseDto",
144
+ idempotent: true
189
145
  },
190
- "ContextItemsController_listValues": {
146
+ "ArtifactsController_list": {
191
147
  method: "GET",
192
- path: "/api/v1/context/items/{uid}/values",
148
+ path: "/api/v1/context/artifacts",
193
149
  service: "modus-api",
194
150
  serverUrl: "https://api.getmodus.com",
195
- pathParams: ["uid"],
196
- queryParams: ["contextType", "contentKeyPath", "pageSize", "pageToken", "searchQuery"],
151
+ pathParams: [],
152
+ queryParams: ["page", "search", "folderId", "kind", "selectedId", "selectedKind"],
197
153
  requestSchema: null,
198
- responseSchema: "ListContextItemValuesResponseDto",
154
+ responseSchema: "ArtifactDirectoryResponseDto",
199
155
  idempotent: false
200
156
  },
201
- "ContextItemsController_lookup": {
157
+ "ArtifactsController_place": {
202
158
  method: "POST",
203
- path: "/api/v1/context/items/lookup",
159
+ path: "/api/v1/context/artifacts/{kind}/{id}/place",
204
160
  service: "modus-api",
205
161
  serverUrl: "https://api.getmodus.com",
206
- pathParams: [],
162
+ pathParams: ["kind", "id"],
207
163
  queryParams: [],
208
- requestSchema: "LookupContextItemDto",
209
- responseSchema: "LookupContextItemResponseDto",
210
- idempotent: true
164
+ requestSchema: "PlaceArtifactDto",
165
+ responseSchema: null,
166
+ idempotent: false
211
167
  },
212
- "ContextItemsController_move": {
168
+ "ArtifactsController_publish": {
213
169
  method: "POST",
214
- path: "/api/v1/context/items/{uid}/move",
170
+ path: "/api/v1/context/artifacts/reports/{id}/publish",
215
171
  service: "modus-api",
216
172
  serverUrl: "https://api.getmodus.com",
217
- pathParams: ["uid"],
173
+ pathParams: ["id"],
218
174
  queryParams: [],
219
- requestSchema: "MoveContextItemDto",
220
- responseSchema: "MoveContextItemResponseDto",
175
+ requestSchema: "PublishArtifactDto",
176
+ responseSchema: "ArtifactPublishedResponseDto",
221
177
  idempotent: false
222
178
  },
223
- "ContextItemsController_update": {
224
- method: "PATCH",
225
- path: "/api/v1/context/items/{uid}",
179
+ "ArtifactsController_rename": {
180
+ method: "POST",
181
+ path: "/api/v1/context/artifacts/reports/{id}/name",
226
182
  service: "modus-api",
227
183
  serverUrl: "https://api.getmodus.com",
228
- pathParams: ["uid"],
229
- queryParams: ["updateMask"],
230
- requestSchema: "UpdateContextItemDto",
231
- responseSchema: null,
184
+ pathParams: ["id"],
185
+ queryParams: [],
186
+ requestSchema: "RenameDocumentDto",
187
+ responseSchema: "ArtifactTitleResponseDto",
232
188
  idempotent: false
233
189
  },
234
- "ContextItemsQueryController_query": {
190
+ "ArtifactsController_restore": {
235
191
  method: "POST",
236
- path: "/api/v1/context/items/query",
192
+ path: "/api/v1/context/artifacts/reports/{id}/versions/{versionId}/restore",
237
193
  service: "modus-api",
238
194
  serverUrl: "https://api.getmodus.com",
239
- pathParams: [],
195
+ pathParams: ["id", "versionId"],
240
196
  queryParams: [],
241
- requestSchema: "QueryContextItemsRequestDto",
242
- responseSchema: "QueryContextItemsResponseDto",
243
- idempotent: true
197
+ requestSchema: "PublishArtifactDto",
198
+ responseSchema: "ArtifactRestoredResponseDto",
199
+ idempotent: false
244
200
  },
245
- "CustomContextItemsController_batchCreate": {
201
+ "ArtifactsController_saveEdition": {
246
202
  method: "POST",
247
- path: "/api/v1/context/custom-items/batch",
203
+ path: "/api/v1/context/artifacts/reports/{id}/editions",
248
204
  service: "modus-api",
249
205
  serverUrl: "https://api.getmodus.com",
250
- pathParams: [],
206
+ pathParams: ["id"],
251
207
  queryParams: [],
252
- requestSchema: "BatchCreateCustomContextItemsDto",
253
- responseSchema: "BatchCreateCustomContextItemsResponseDto",
208
+ requestSchema: "SaveArtifactEditionDto",
209
+ responseSchema: "ArtifactEditionSavedResponseDto",
254
210
  idempotent: false
255
211
  },
256
- "CustomContextItemsController_batchDelete": {
212
+ "ArtifactsController_saveReport": {
257
213
  method: "POST",
258
- path: "/api/v1/context/custom-items/batchDelete",
214
+ path: "/api/v1/context/artifacts/reports/from-conversation",
259
215
  service: "modus-api",
260
216
  serverUrl: "https://api.getmodus.com",
261
217
  pathParams: [],
262
218
  queryParams: [],
263
- requestSchema: "BatchDeleteCustomContextItemsDto",
264
- responseSchema: "BatchDeleteCustomContextItemsResponseDto",
219
+ requestSchema: "SaveGeneratedReportDto",
220
+ responseSchema: "SavedArtifactResponseDto",
265
221
  idempotent: false
266
222
  },
267
- "CustomContextItemsController_create": {
268
- method: "POST",
269
- path: "/api/v1/context/custom-items",
223
+ "ArtifactsController_setVersionPin": {
224
+ method: "PUT",
225
+ path: "/api/v1/context/artifacts/{kind}/{id}/version-pin",
270
226
  service: "modus-api",
271
227
  serverUrl: "https://api.getmodus.com",
272
- pathParams: [],
228
+ pathParams: ["kind", "id"],
273
229
  queryParams: [],
274
- requestSchema: "CreateCustomContextItemDto",
275
- responseSchema: "CreatedCustomContextItemResponseDto",
230
+ requestSchema: "VersionPinDto",
231
+ responseSchema: null,
276
232
  idempotent: false
277
233
  },
278
- "CustomContextItemsController_createRelations": {
234
+ "ArtifactsController_versionDownload": {
279
235
  method: "POST",
280
- path: "/api/v1/context/custom-items/relations",
236
+ path: "/api/v1/context/artifacts/reports/{id}/versions/{versionId}/download-url",
281
237
  service: "modus-api",
282
238
  serverUrl: "https://api.getmodus.com",
283
- pathParams: [],
239
+ pathParams: ["id", "versionId"],
284
240
  queryParams: [],
285
- requestSchema: "BatchCreateCustomContextItemRelationsDto",
286
- responseSchema: "BatchCreateCustomContextItemRelationsResponseDto",
241
+ requestSchema: null,
242
+ responseSchema: "ArtifactVersionDownloadResponseDto",
287
243
  idempotent: false
288
244
  },
289
- "CustomContextItemsController_delete": {
290
- method: "DELETE",
291
- path: "/api/v1/context/custom-items/{uid}",
245
+ "ArtifactsController_versions": {
246
+ method: "GET",
247
+ path: "/api/v1/context/artifacts/reports/{id}/versions",
292
248
  service: "modus-api",
293
249
  serverUrl: "https://api.getmodus.com",
294
- pathParams: ["uid"],
250
+ pathParams: ["id"],
295
251
  queryParams: [],
296
252
  requestSchema: null,
297
- responseSchema: "DeleteContextItemResponseDto",
253
+ responseSchema: null,
298
254
  idempotent: false
299
255
  },
300
- "CustomContextItemsController_get": {
301
- method: "GET",
302
- path: "/api/v1/context/custom-items/{uid}",
256
+ "AssistantsController_create": {
257
+ method: "POST",
258
+ path: "/api/v1/assistants",
303
259
  service: "modus-api",
304
260
  serverUrl: "https://api.getmodus.com",
305
- pathParams: ["uid"],
261
+ pathParams: [],
306
262
  queryParams: [],
307
- requestSchema: null,
308
- responseSchema: "ContextItemDto",
263
+ requestSchema: "CreateAssistantDto",
264
+ responseSchema: "AssistantIdDto",
309
265
  idempotent: false
310
266
  },
311
- "CustomContextItemsController_list": {
267
+ "AssistantsController_history": {
312
268
  method: "GET",
313
- path: "/api/v1/context/custom-items",
269
+ path: "/api/v1/assistants/history/{threadId}",
314
270
  service: "modus-api",
315
271
  serverUrl: "https://api.getmodus.com",
316
- pathParams: [],
317
- queryParams: ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics", "sourceId", "collectionId", "externalId"],
272
+ pathParams: ["threadId"],
273
+ queryParams: ["beforeMessageIndex"],
318
274
  requestSchema: null,
319
- responseSchema: "ListCustomContextItemsResponseDto",
275
+ responseSchema: "ConversationDto",
320
276
  idempotent: false
321
277
  },
322
- "CustomContextItemsController_update": {
323
- method: "PATCH",
324
- path: "/api/v1/context/custom-items/{uid}",
278
+ "AssistantsController_list": {
279
+ method: "GET",
280
+ path: "/api/v1/assistants",
325
281
  service: "modus-api",
326
282
  serverUrl: "https://api.getmodus.com",
327
- pathParams: ["uid"],
283
+ pathParams: [],
328
284
  queryParams: [],
329
- requestSchema: "UpdateCustomContextItemDto",
285
+ requestSchema: null,
330
286
  responseSchema: null,
331
287
  idempotent: false
332
288
  },
333
- "DashboardsController_acceptOwnership": {
334
- method: "POST",
335
- path: "/api/v1/context/dashboards/{dashboardId}/transfer-ownership/accept",
289
+ "AssistantsController_remove": {
290
+ method: "DELETE",
291
+ path: "/api/v1/assistants/{id}",
336
292
  service: "modus-api",
337
293
  serverUrl: "https://api.getmodus.com",
338
- pathParams: ["dashboardId"],
294
+ pathParams: ["id"],
339
295
  queryParams: [],
340
296
  requestSchema: null,
341
- responseSchema: "DashboardDto",
297
+ responseSchema: null,
342
298
  idempotent: false
343
299
  },
344
- "DashboardsController_cancelOwnership": {
345
- method: "DELETE",
346
- path: "/api/v1/context/dashboards/{dashboardId}/transfer-ownership",
300
+ "AssistantsController_update": {
301
+ method: "PATCH",
302
+ path: "/api/v1/assistants/{id}",
347
303
  service: "modus-api",
348
304
  serverUrl: "https://api.getmodus.com",
349
- pathParams: ["dashboardId"],
305
+ pathParams: ["id"],
350
306
  queryParams: [],
351
- requestSchema: null,
352
- responseSchema: "DashboardDto",
307
+ requestSchema: "AssistantSettingsDto",
308
+ responseSchema: "AssistantIdDto",
353
309
  idempotent: false
354
310
  },
355
- "DashboardsController_create": {
356
- method: "POST",
357
- path: "/api/v1/context/dashboards",
311
+ "AuditEventsController_count": {
312
+ method: "GET",
313
+ path: "/api/v1/audit-events/count",
358
314
  service: "modus-api",
359
315
  serverUrl: "https://api.getmodus.com",
360
316
  pathParams: [],
361
- queryParams: [],
362
- requestSchema: "CreateDashboardDto",
363
- responseSchema: "DashboardDto",
317
+ queryParams: ["actorId", "action", "resource", "actorType", "credential", "client", "outcome", "from", "to"],
318
+ requestSchema: null,
319
+ responseSchema: "AuditEventCountResponseDto",
364
320
  idempotent: false
365
321
  },
366
- "DashboardsController_createElement": {
322
+ "AuditEventsController_export": {
367
323
  method: "POST",
368
- path: "/api/v1/context/dashboards/{dashboardId}/elements",
324
+ path: "/api/v1/audit-events/export",
369
325
  service: "modus-api",
370
326
  serverUrl: "https://api.getmodus.com",
371
- pathParams: ["dashboardId"],
327
+ pathParams: [],
372
328
  queryParams: [],
373
- requestSchema: "CreateDashboardElementDto",
374
- responseSchema: "DashboardElementResponseDto",
329
+ requestSchema: "ExportAuditEventsDto",
330
+ responseSchema: null,
375
331
  idempotent: false
376
332
  },
377
- "DashboardsController_delete": {
378
- method: "DELETE",
379
- path: "/api/v1/context/dashboards/{dashboardId}",
333
+ "AuditEventsController_facets": {
334
+ method: "GET",
335
+ path: "/api/v1/audit-events/facets",
380
336
  service: "modus-api",
381
337
  serverUrl: "https://api.getmodus.com",
382
- pathParams: ["dashboardId"],
383
- queryParams: [],
338
+ pathParams: [],
339
+ queryParams: ["from", "to"],
384
340
  requestSchema: null,
385
- responseSchema: null,
341
+ responseSchema: "AuditFacetsResponseDto",
386
342
  idempotent: false
387
343
  },
388
- "DashboardsController_get": {
344
+ "AuditEventsController_list": {
389
345
  method: "GET",
390
- path: "/api/v1/context/dashboards/{dashboardId}",
346
+ path: "/api/v1/audit-events",
391
347
  service: "modus-api",
392
348
  serverUrl: "https://api.getmodus.com",
393
- pathParams: ["dashboardId"],
394
- queryParams: ["view"],
349
+ pathParams: [],
350
+ queryParams: ["from", "to", "actorId", "action", "resource", "actorType", "credential", "client", "outcome", "orderBy", "pageSize", "pageToken"],
395
351
  requestSchema: null,
396
- responseSchema: "DashboardDto",
352
+ responseSchema: "ListAuditEventsResponseDto",
397
353
  idempotent: false
398
354
  },
399
- "DashboardsController_getElement": {
400
- method: "GET",
401
- path: "/api/v1/context/dashboards/{dashboardId}/elements/{elementId}",
355
+ "BrowserDraftController_create": {
356
+ method: "POST",
357
+ path: "/agent/v1/browser/drafts/runs",
358
+ service: "agent-service",
359
+ serverUrl: "https://agent.getmodus.com",
360
+ pathParams: [],
361
+ queryParams: [],
362
+ requestSchema: "BrowserDraftRunDto",
363
+ responseSchema: null,
364
+ idempotent: false
365
+ },
366
+ "CompletionsController_createCompletion": {
367
+ method: "POST",
368
+ path: "/api/v1/llm/completion-requests",
402
369
  service: "modus-api",
403
370
  serverUrl: "https://api.getmodus.com",
404
- pathParams: ["dashboardId", "elementId"],
371
+ pathParams: [],
405
372
  queryParams: [],
406
- requestSchema: null,
407
- responseSchema: "DashboardElementResponseDto",
373
+ requestSchema: "CompletionRequestDto",
374
+ responseSchema: "CompletionResponse",
408
375
  idempotent: false
409
376
  },
410
- "DashboardsController_getVersion": {
411
- method: "GET",
412
- path: "/api/v1/context/dashboards/{dashboardId}/versions/{versionId}",
377
+ "ConnectionCapabilitiesController_preparePublicApprovalDelivery": {
378
+ method: "POST",
379
+ path: "/api/v1/connections/{connectionId}/approval-delivery/prepare",
413
380
  service: "modus-api",
414
381
  serverUrl: "https://api.getmodus.com",
415
- pathParams: ["dashboardId", "versionId"],
382
+ pathParams: ["connectionId"],
416
383
  queryParams: [],
417
- requestSchema: null,
418
- responseSchema: "DashboardDto",
384
+ requestSchema: "PrepareApprovalDeliveryDto",
385
+ responseSchema: "ConnectionOperationResultDto",
419
386
  idempotent: false
420
387
  },
421
- "DashboardsController_list": {
388
+ "ConnectionCapabilitiesController_readConnection": {
389
+ method: "POST",
390
+ path: "/api/v1/connections/{connectionId}/reads/{operationName}/invoke",
391
+ service: "modus-api",
392
+ serverUrl: "https://api.getmodus.com",
393
+ pathParams: ["connectionId", "operationName"],
394
+ queryParams: [],
395
+ requestSchema: "ConnectionReadDto",
396
+ responseSchema: "ConnectionOperationResultDto",
397
+ idempotent: false
398
+ },
399
+ "ConnectionCapabilitiesController_resolveDisplays": {
400
+ method: "POST",
401
+ path: "/api/v1/connections/{connectionId}/workspace-tree/display-resolution",
402
+ service: "modus-api",
403
+ serverUrl: "https://api.getmodus.com",
404
+ pathParams: ["connectionId"],
405
+ queryParams: [],
406
+ requestSchema: "ResolveWorkspaceTreeDisplaysDto",
407
+ responseSchema: "WorkspaceTreeDisplayLabelsResponseDto",
408
+ idempotent: true
409
+ },
410
+ "ConnectionCapabilitiesController_treeChildren": {
422
411
  method: "GET",
423
- path: "/api/v1/context/dashboards",
412
+ path: "/api/v1/connections/{connectionId}/workspace-tree/children",
424
413
  service: "modus-api",
425
414
  serverUrl: "https://api.getmodus.com",
426
- pathParams: [],
427
- queryParams: ["view"],
415
+ pathParams: ["connectionId"],
416
+ queryParams: ["cursor", "pageSize", "objectType", "parent"],
428
417
  requestSchema: null,
429
- responseSchema: "ListDashboardsResponseDto",
418
+ responseSchema: "WorkspaceTreePageResponseDto",
430
419
  idempotent: false
431
420
  },
432
- "DashboardsController_listDraftSnapshots": {
421
+ "ConnectionCapabilitiesController_treeSearch": {
433
422
  method: "GET",
434
- path: "/api/v1/context/dashboards/{dashboardId}/draft-snapshots",
423
+ path: "/api/v1/connections/{connectionId}/workspace-tree/search",
435
424
  service: "modus-api",
436
425
  serverUrl: "https://api.getmodus.com",
437
- pathParams: ["dashboardId"],
426
+ pathParams: ["connectionId"],
427
+ queryParams: ["cursor", "pageSize", "objectType", "query"],
428
+ requestSchema: null,
429
+ responseSchema: "WorkspaceTreePageResponseDto",
430
+ idempotent: false
431
+ },
432
+ "ConnectionCapabilitiesController_updateSettings": {
433
+ method: "POST",
434
+ path: "/api/v1/connections/{connectionId}/configuration/update",
435
+ service: "modus-api",
436
+ serverUrl: "https://api.getmodus.com",
437
+ pathParams: ["connectionId"],
438
+ queryParams: [],
439
+ requestSchema: "SaveConnectionSettingsDto",
440
+ responseSchema: "SaveConnectionSettingsResponseDto",
441
+ idempotent: false
442
+ },
443
+ "ConnectionManagementController_deleteManagedConnection": {
444
+ method: "POST",
445
+ path: "/api/v1/connections/{connectionId}/delete",
446
+ service: "modus-api",
447
+ serverUrl: "https://api.getmodus.com",
448
+ pathParams: ["connectionId"],
438
449
  queryParams: [],
439
450
  requestSchema: null,
440
- responseSchema: "ListDashboardDraftSnapshotsResponseDto",
451
+ responseSchema: "ConnectionIdResponseDto",
441
452
  idempotent: false
442
453
  },
443
- "DashboardsController_listElements": {
454
+ "ConnectionManagementController_listPausedOverview": {
444
455
  method: "GET",
445
- path: "/api/v1/context/dashboards/{dashboardId}/elements",
456
+ path: "/api/v1/connections/health/paused/overview",
446
457
  service: "modus-api",
447
458
  serverUrl: "https://api.getmodus.com",
448
- pathParams: ["dashboardId"],
459
+ pathParams: [],
449
460
  queryParams: [],
450
461
  requestSchema: null,
451
- responseSchema: "DashboardElementsListResponseDto",
462
+ responseSchema: "PausedConnectionsPageDto",
452
463
  idempotent: false
453
464
  },
454
- "DashboardsController_listVersions": {
465
+ "ConnectionSettingsController_getAccess": {
455
466
  method: "GET",
456
- path: "/api/v1/context/dashboards/{dashboardId}/versions",
467
+ path: "/api/v1/connections/{connectionId}/access",
457
468
  service: "modus-api",
458
469
  serverUrl: "https://api.getmodus.com",
459
- pathParams: ["dashboardId"],
470
+ pathParams: ["connectionId"],
460
471
  queryParams: [],
461
472
  requestSchema: null,
462
- responseSchema: "ListDashboardVersionsResponseDto",
473
+ responseSchema: "ConnectionGroupAccessResponseDto",
463
474
  idempotent: false
464
475
  },
465
- "DashboardsController_publish": {
476
+ "ConnectionSettingsController_probePublic": {
466
477
  method: "POST",
467
- path: "/api/v1/context/dashboards/{dashboardId}/publish",
478
+ path: "/api/v1/connections/{connectionId}/health/probe",
468
479
  service: "modus-api",
469
480
  serverUrl: "https://api.getmodus.com",
470
- pathParams: ["dashboardId"],
481
+ pathParams: ["connectionId"],
471
482
  queryParams: [],
472
- requestSchema: "PublishDashboardDto",
473
- responseSchema: "PublishDashboardResponseDto",
483
+ requestSchema: null,
484
+ responseSchema: "ProbeConnectionResponseDto",
474
485
  idempotent: false
475
486
  },
476
- "DashboardsController_restore": {
487
+ "ConnectionSettingsController_startDiscovery": {
477
488
  method: "POST",
478
- path: "/api/v1/context/dashboards/{dashboardId}/versions/{versionId}/restore",
489
+ path: "/api/v1/connections/{connectionId}/discovery/start",
479
490
  service: "modus-api",
480
491
  serverUrl: "https://api.getmodus.com",
481
- pathParams: ["dashboardId", "versionId"],
492
+ pathParams: ["connectionId"],
482
493
  queryParams: [],
483
- requestSchema: null,
484
- responseSchema: "DashboardDto",
494
+ requestSchema: "TriggerOrchestratorDto",
495
+ responseSchema: "TriggerOrchestratorResponseDto",
485
496
  idempotent: false
486
497
  },
487
- "DashboardsController_transferOwnership": {
498
+ "ConnectionSettingsController_updateAccess": {
488
499
  method: "POST",
489
- path: "/api/v1/context/dashboards/{dashboardId}/transfer-ownership",
500
+ path: "/api/v1/connections/{connectionId}/access/update",
490
501
  service: "modus-api",
491
502
  serverUrl: "https://api.getmodus.com",
492
- pathParams: ["dashboardId"],
503
+ pathParams: ["connectionId"],
493
504
  queryParams: [],
494
- requestSchema: "TransferDashboardOwnershipDto",
495
- responseSchema: "DashboardDto",
505
+ requestSchema: "SaveConnectionGroupAccessDto",
506
+ responseSchema: "SaveConnectionGroupAccessResponseDto",
496
507
  idempotent: false
497
508
  },
498
- "DashboardsController_updateAccess": {
499
- method: "PATCH",
500
- path: "/api/v1/context/dashboards/{dashboardId}/access",
509
+ "ConnectionSettingsController_updateCachePolicy": {
510
+ method: "POST",
511
+ path: "/api/v1/connections/{connectionId}/cache-policy/update",
501
512
  service: "modus-api",
502
513
  serverUrl: "https://api.getmodus.com",
503
- pathParams: ["dashboardId"],
514
+ pathParams: ["connectionId"],
504
515
  queryParams: [],
505
- requestSchema: "UpdateDashboardAccessDto",
506
- responseSchema: "DashboardDto",
516
+ requestSchema: "SaveCacheSettingsDto",
517
+ responseSchema: "SaveCacheSettingsResponseDto",
507
518
  idempotent: false
508
519
  },
509
- "DashboardsController_updateDraft": {
510
- method: "PATCH",
511
- path: "/api/v1/context/dashboards/{dashboardId}/draft",
520
+ "ConnectionSettingsController_updateName": {
521
+ method: "POST",
522
+ path: "/api/v1/connections/{connectionId}/rename",
512
523
  service: "modus-api",
513
524
  serverUrl: "https://api.getmodus.com",
514
- pathParams: ["dashboardId"],
525
+ pathParams: ["connectionId"],
515
526
  queryParams: [],
516
- requestSchema: "UpdateDashboardDraftDto",
517
- responseSchema: "DashboardDto",
527
+ requestSchema: "RenameConnectionDto",
528
+ responseSchema: "RenameConnectionResponseDto",
518
529
  idempotent: false
519
530
  },
520
- "DashboardsController_updateElement": {
521
- method: "PATCH",
522
- path: "/api/v1/context/dashboards/{dashboardId}/elements/{elementId}",
531
+ "ConnectionSettingsController_updateProfiles": {
532
+ method: "POST",
533
+ path: "/api/v1/connections/{connectionId}/profile-set/update",
523
534
  service: "modus-api",
524
535
  serverUrl: "https://api.getmodus.com",
525
- pathParams: ["dashboardId", "elementId"],
536
+ pathParams: ["connectionId"],
526
537
  queryParams: [],
527
- requestSchema: "UpdateDashboardElementDto",
528
- responseSchema: "DashboardDto",
538
+ requestSchema: "SaveConnectionProfilesDto",
539
+ responseSchema: "SaveConnectionProfilesResponseDto",
529
540
  idempotent: false
530
541
  },
531
- "DashboardsController_updateLayout": {
532
- method: "PATCH",
533
- path: "/api/v1/context/dashboards/{dashboardId}/layout",
542
+ "ConnectionSettingsController_updateWorkspaceAccess": {
543
+ method: "POST",
544
+ path: "/api/v1/connections/{connectionId}/workspace-access/update",
534
545
  service: "modus-api",
535
546
  serverUrl: "https://api.getmodus.com",
536
- pathParams: ["dashboardId"],
547
+ pathParams: ["connectionId"],
537
548
  queryParams: [],
538
- requestSchema: "UpdateDashboardLayoutDto",
539
- responseSchema: "DashboardDto",
549
+ requestSchema: "SaveWorkspaceAccessPreferencesDto",
550
+ responseSchema: "SaveWorkspaceAccessPreferencesResponseDto",
540
551
  idempotent: false
541
552
  },
542
- "EvaluationsController_getConfig": {
553
+ "ConnectionSettingsController_views": {
543
554
  method: "GET",
544
- path: "/api/v1/scopes/{id}/evaluations/config",
555
+ path: "/api/v1/connections/views",
545
556
  service: "modus-api",
546
557
  serverUrl: "https://api.getmodus.com",
547
- pathParams: ["id"],
548
- queryParams: [],
558
+ pathParams: [],
559
+ queryParams: ["limit", "categories", "operation", "connectionIds", "includeDisabled"],
549
560
  requestSchema: null,
550
- responseSchema: "EvaluationConfigDto",
561
+ responseSchema: "ConnectionViewsResponseDto",
551
562
  idempotent: false
552
563
  },
553
- "EvaluationsController_getRun": {
554
- method: "GET",
555
- path: "/api/v1/scopes/{id}/evaluations/runs/{runId}",
564
+ "ConnectionSuggestionsController_suggestion": {
565
+ method: "POST",
566
+ path: "/api/v1/connections/lifecycle/{platform}/suggestions",
556
567
  service: "modus-api",
557
568
  serverUrl: "https://api.getmodus.com",
558
- pathParams: ["id", "runId"],
569
+ pathParams: ["platform"],
559
570
  queryParams: [],
571
+ requestSchema: "ConnectionSuggestionRequestDto",
572
+ responseSchema: "ConnectionSuggestionResponseDto",
573
+ idempotent: false
574
+ },
575
+ "ConnectionsController_list": {
576
+ method: "GET",
577
+ path: "/api/v1/connections",
578
+ service: "modus-api",
579
+ serverUrl: "https://api.getmodus.com",
580
+ pathParams: [],
581
+ queryParams: ["pageToken", "pageSize", "type"],
560
582
  requestSchema: null,
561
- responseSchema: "EvaluationRunWithResultsDto",
583
+ responseSchema: "ListConnectionsResponseDto",
562
584
  idempotent: false
563
585
  },
564
- "EvaluationsController_listRuns": {
586
+ "ContextActivityController_getNew": {
565
587
  method: "GET",
566
- path: "/api/v1/scopes/{id}/evaluations/runs",
588
+ path: "/api/v1/context/activity/new",
567
589
  service: "modus-api",
568
590
  serverUrl: "https://api.getmodus.com",
569
- pathParams: ["id"],
570
- queryParams: ["pageSize", "pageToken"],
591
+ pathParams: [],
592
+ queryParams: ["days"],
571
593
  requestSchema: null,
572
- responseSchema: "ListEvaluationRunsResponseDto",
594
+ responseSchema: "NewActivityResponseDto",
573
595
  idempotent: false
574
596
  },
575
- "EvaluationsController_triggerRun": {
597
+ "ContextCreatorsController_createLink": {
576
598
  method: "POST",
577
- path: "/api/v1/scopes/{id}/evaluations/runs",
599
+ path: "/api/v1/context/links",
578
600
  service: "modus-api",
579
601
  serverUrl: "https://api.getmodus.com",
580
- pathParams: ["id"],
602
+ pathParams: [],
581
603
  queryParams: [],
582
- requestSchema: null,
583
- responseSchema: "TriggerEvaluationRunResponseDto",
604
+ requestSchema: "CreateLinkDto",
605
+ responseSchema: "CreatedContextItemResponseDto",
584
606
  idempotent: false
585
607
  },
586
- "EvaluationsController_updateConfig": {
587
- method: "PUT",
588
- path: "/api/v1/scopes/{id}/evaluations/config",
608
+ "ContextCreatorsController_createNote": {
609
+ method: "POST",
610
+ path: "/api/v1/context/notes",
589
611
  service: "modus-api",
590
612
  serverUrl: "https://api.getmodus.com",
591
- pathParams: ["id"],
613
+ pathParams: [],
592
614
  queryParams: [],
593
- requestSchema: "UpdateEvaluationConfigDto",
594
- responseSchema: "EvaluationConfigDto",
615
+ requestSchema: "CreateNoteDto",
616
+ responseSchema: "CreatedContextItemResponseDto",
595
617
  idempotent: false
596
618
  },
597
- "IngestedDataController_upload": {
619
+ "ContextCreatorsController_createSavedQuery": {
598
620
  method: "POST",
599
- path: "/api/v1/ingested-data",
621
+ path: "/api/v1/context/saved-queries",
600
622
  service: "modus-api",
601
623
  serverUrl: "https://api.getmodus.com",
602
624
  pathParams: [],
603
625
  queryParams: [],
604
- requestSchema: "CreateIngestedDataDto",
605
- responseSchema: "CreatedIngestedDataResponseDto",
606
- idempotent: true
626
+ requestSchema: "CreateSavedQueryDto",
627
+ responseSchema: "CreatedContextItemResponseDto",
628
+ idempotent: false
607
629
  },
608
- "MemberGroupsController_list": {
609
- method: "GET",
610
- path: "/api/v1/users/member-groups",
630
+ "ContextFilesController_finalize": {
631
+ method: "POST",
632
+ path: "/api/v1/context/files/{uploadId}/finalize",
633
+ service: "modus-api",
634
+ serverUrl: "https://api.getmodus.com",
635
+ pathParams: ["uploadId"],
636
+ queryParams: [],
637
+ requestSchema: "FinalizeUploadDto",
638
+ responseSchema: "FileUploadResourceDto",
639
+ idempotent: false
640
+ },
641
+ "ContextFilesController_finalizeMany": {
642
+ method: "POST",
643
+ path: "/api/v1/context/files/finalize",
611
644
  service: "modus-api",
612
645
  serverUrl: "https://api.getmodus.com",
613
646
  pathParams: [],
614
647
  queryParams: [],
648
+ requestSchema: "BulkFinalizeDto",
649
+ responseSchema: "BulkFinalizeResponseDto",
650
+ idempotent: false
651
+ },
652
+ "ContextFilesController_get": {
653
+ method: "GET",
654
+ path: "/api/v1/context/files/{uploadId}",
655
+ service: "modus-api",
656
+ serverUrl: "https://api.getmodus.com",
657
+ pathParams: ["uploadId"],
658
+ queryParams: [],
615
659
  requestSchema: null,
616
- responseSchema: "ListMemberGroupsResponseDto",
660
+ responseSchema: "FileUploadResourceDto",
617
661
  idempotent: false
618
662
  },
619
- "ModusContextComposeController_compose": {
663
+ "ContextFilesController_list": {
664
+ method: "GET",
665
+ path: "/api/v1/context/files",
666
+ service: "modus-api",
667
+ serverUrl: "https://api.getmodus.com",
668
+ pathParams: [],
669
+ queryParams: ["pageToken", "pageSize"],
670
+ requestSchema: null,
671
+ responseSchema: "ListFilesResponseDto",
672
+ idempotent: false
673
+ },
674
+ "ContextFilesController_uploadFromUrl": {
620
675
  method: "POST",
621
- path: "/agent/v1/modus/context",
622
- service: "agent-service",
623
- serverUrl: "https://agent.getmodus.com",
676
+ path: "/api/v1/context/files/upload-from-url",
677
+ service: "modus-api",
678
+ serverUrl: "https://api.getmodus.com",
624
679
  pathParams: [],
625
680
  queryParams: [],
626
- requestSchema: "ModusContextRequestDto",
627
- responseSchema: "ModusContextResponseDto",
628
- idempotent: true
681
+ requestSchema: "UploadFromUrlDto",
682
+ responseSchema: "FileUploadResourceDto",
683
+ idempotent: false
629
684
  },
630
- "ModusContextController_compose": {
685
+ "ContextFilesController_uploadFromUrls": {
631
686
  method: "POST",
632
- path: "/api/v1/modus/context",
687
+ path: "/api/v1/context/files/upload-from-urls/batch",
688
+ service: "modus-api",
689
+ serverUrl: "https://api.getmodus.com",
690
+ pathParams: [],
691
+ queryParams: [],
692
+ requestSchema: "BulkUploadFromUrlsDto",
693
+ responseSchema: "BulkUploadFromUrlsResponseDto",
694
+ idempotent: false
695
+ },
696
+ "ContextFilesController_uploadUrl": {
697
+ method: "POST",
698
+ path: "/api/v1/context/files/upload-url",
699
+ service: "modus-api",
700
+ serverUrl: "https://api.getmodus.com",
701
+ pathParams: [],
702
+ queryParams: [],
703
+ requestSchema: "UploadUrlDto",
704
+ responseSchema: "UploadUrlResponseDto",
705
+ idempotent: false
706
+ },
707
+ "ContextFilesController_uploadUrls": {
708
+ method: "POST",
709
+ path: "/api/v1/context/files/upload-urls/batch",
710
+ service: "modus-api",
711
+ serverUrl: "https://api.getmodus.com",
712
+ pathParams: [],
713
+ queryParams: [],
714
+ requestSchema: "BulkUploadUrlsDto",
715
+ responseSchema: "BulkUploadUrlsResponseDto",
716
+ idempotent: false
717
+ },
718
+ "ContextGraphController_getGraph": {
719
+ method: "GET",
720
+ path: "/api/v1/context/graph",
721
+ service: "modus-api",
722
+ serverUrl: "https://api.getmodus.com",
723
+ pathParams: [],
724
+ queryParams: ["platforms", "objectTypes", "relationshipTypes", "entityTypes", "includeEntities", "includeFacets", "nodeLimit"],
725
+ requestSchema: null,
726
+ responseSchema: "ContextGraphViewResponseDto",
727
+ idempotent: false
728
+ },
729
+ "ContextGraphController_getNodeRelations": {
730
+ method: "GET",
731
+ path: "/api/v1/context/graph/relations",
732
+ service: "modus-api",
733
+ serverUrl: "https://api.getmodus.com",
734
+ pathParams: [],
735
+ queryParams: ["uid", "includeEntities"],
736
+ requestSchema: null,
737
+ responseSchema: "ContextGraphNodeRelationsResponseDto",
738
+ idempotent: false
739
+ },
740
+ "ContextItemAccessController_updateAccess": {
741
+ method: "PATCH",
742
+ path: "/api/v1/context/items/{uid}/access",
743
+ service: "modus-api",
744
+ serverUrl: "https://api.getmodus.com",
745
+ pathParams: ["uid"],
746
+ queryParams: [],
747
+ requestSchema: "UpdateContextItemAccessDto",
748
+ responseSchema: "ContextItemAccessResponseDto",
749
+ idempotent: false
750
+ },
751
+ "ContextItemsController_batchGet": {
752
+ method: "POST",
753
+ path: "/api/v1/context/items/batch-get",
754
+ service: "modus-api",
755
+ serverUrl: "https://api.getmodus.com",
756
+ pathParams: [],
757
+ queryParams: [],
758
+ requestSchema: "BatchGetContextItemsRequestDto",
759
+ responseSchema: "BatchGetContextItemsResponseDto",
760
+ idempotent: true
761
+ },
762
+ "ContextItemsController_clearConnectionErrors": {
763
+ method: "POST",
764
+ path: "/api/v1/context/coverage-reports/{connectionId}/errors/clear",
765
+ service: "modus-api",
766
+ serverUrl: "https://api.getmodus.com",
767
+ pathParams: ["connectionId"],
768
+ queryParams: [],
769
+ requestSchema: "ClearConnectionErrorsDto",
770
+ responseSchema: "ClearItemErrorsResponseDto",
771
+ idempotent: false
772
+ },
773
+ "ContextItemsController_clearErrors": {
774
+ method: "POST",
775
+ path: "/api/v1/context/items/errors/clear",
776
+ service: "modus-api",
777
+ serverUrl: "https://api.getmodus.com",
778
+ pathParams: [],
779
+ queryParams: [],
780
+ requestSchema: "ClearContextItemErrorsDto",
781
+ responseSchema: "ClearItemErrorsResponseDto",
782
+ idempotent: false
783
+ },
784
+ "ContextItemsController_delete": {
785
+ method: "DELETE",
786
+ path: "/api/v1/context/items/{uid}",
787
+ service: "modus-api",
788
+ serverUrl: "https://api.getmodus.com",
789
+ pathParams: ["uid"],
790
+ queryParams: [],
791
+ requestSchema: null,
792
+ responseSchema: "DeleteContextItemResponseDto",
793
+ idempotent: false
794
+ },
795
+ "ContextItemsController_get": {
796
+ method: "GET",
797
+ path: "/api/v1/context/items/{uid}",
798
+ service: "modus-api",
799
+ serverUrl: "https://api.getmodus.com",
800
+ pathParams: ["uid"],
801
+ queryParams: [],
802
+ requestSchema: null,
803
+ responseSchema: "ContextItemDto",
804
+ idempotent: false
805
+ },
806
+ "ContextItemsController_imagePreview": {
807
+ method: "POST",
808
+ path: "/api/v1/context/items/{uid}/image-preview-url",
809
+ service: "modus-api",
810
+ serverUrl: "https://api.getmodus.com",
811
+ pathParams: ["uid"],
812
+ queryParams: [],
813
+ requestSchema: null,
814
+ responseSchema: "ImagePreviewResponseDto",
815
+ idempotent: false
816
+ },
817
+ "ContextItemsController_list": {
818
+ method: "GET",
819
+ path: "/api/v1/context/items",
820
+ service: "modus-api",
821
+ serverUrl: "https://api.getmodus.com",
822
+ pathParams: [],
823
+ queryParams: ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics", "connectionIds", "parentUids", "ancestorUids"],
824
+ requestSchema: null,
825
+ responseSchema: "ListContextItemsResponseDto",
826
+ idempotent: false
827
+ },
828
+ "ContextItemsController_listValues": {
829
+ method: "GET",
830
+ path: "/api/v1/context/items/{uid}/values",
831
+ service: "modus-api",
832
+ serverUrl: "https://api.getmodus.com",
833
+ pathParams: ["uid"],
834
+ queryParams: ["contextType", "contentKeyPath", "pageSize", "pageToken", "searchQuery"],
835
+ requestSchema: null,
836
+ responseSchema: "ListContextItemValuesResponseDto",
837
+ idempotent: false
838
+ },
839
+ "ContextItemsController_lookup": {
840
+ method: "POST",
841
+ path: "/api/v1/context/items/lookup",
842
+ service: "modus-api",
843
+ serverUrl: "https://api.getmodus.com",
844
+ pathParams: [],
845
+ queryParams: [],
846
+ requestSchema: "LookupContextItemDto",
847
+ responseSchema: "LookupContextItemResponseDto",
848
+ idempotent: true
849
+ },
850
+ "ContextItemsController_move": {
851
+ method: "POST",
852
+ path: "/api/v1/context/items/{uid}/move",
853
+ service: "modus-api",
854
+ serverUrl: "https://api.getmodus.com",
855
+ pathParams: ["uid"],
856
+ queryParams: [],
857
+ requestSchema: "MoveContextItemDto",
858
+ responseSchema: "MoveContextItemResponseDto",
859
+ idempotent: false
860
+ },
861
+ "ContextItemsController_rawObject": {
862
+ method: "GET",
863
+ path: "/api/v1/context/items/raw-object",
864
+ service: "modus-api",
865
+ serverUrl: "https://api.getmodus.com",
866
+ pathParams: [],
867
+ queryParams: ["uid", "s3Key"],
868
+ requestSchema: null,
869
+ responseSchema: "RawObjectResponseDto",
870
+ idempotent: false
871
+ },
872
+ "ContextItemsController_search": {
873
+ method: "POST",
874
+ path: "/api/v1/context/items/search",
875
+ service: "modus-api",
876
+ serverUrl: "https://api.getmodus.com",
877
+ pathParams: [],
878
+ queryParams: [],
879
+ requestSchema: "SearchContextItemsRequestDto",
880
+ responseSchema: "ListContextItemsResponseDto",
881
+ idempotent: true
882
+ },
883
+ "ContextItemsController_searchEntities": {
884
+ method: "POST",
885
+ path: "/api/v1/context/entities/search",
886
+ service: "modus-api",
887
+ serverUrl: "https://api.getmodus.com",
888
+ pathParams: [],
889
+ queryParams: [],
890
+ requestSchema: "SearchContextEntitiesRequestDto",
891
+ responseSchema: "SearchContextEntitiesResponseDto",
892
+ idempotent: true
893
+ },
894
+ "ContextItemsController_update": {
895
+ method: "PATCH",
896
+ path: "/api/v1/context/items/{uid}",
897
+ service: "modus-api",
898
+ serverUrl: "https://api.getmodus.com",
899
+ pathParams: ["uid"],
900
+ queryParams: ["updateMask"],
901
+ requestSchema: "UpdateContextItemDto",
902
+ responseSchema: null,
903
+ idempotent: false
904
+ },
905
+ "ContextItemsQueryController_query": {
906
+ method: "POST",
907
+ path: "/api/v1/context/items/query",
908
+ service: "modus-api",
909
+ serverUrl: "https://api.getmodus.com",
910
+ pathParams: [],
911
+ queryParams: [],
912
+ requestSchema: "QueryContextItemsRequestDto",
913
+ responseSchema: "QueryContextItemsResponseDto",
914
+ idempotent: true
915
+ },
916
+ "ContextReportingController_coverageNodeItems": {
917
+ method: "GET",
918
+ path: "/api/v1/context/coverage-reports/{nodeId}/items",
919
+ service: "modus-api",
920
+ serverUrl: "https://api.getmodus.com",
921
+ pathParams: ["nodeId"],
922
+ queryParams: ["connectionId", "contextType", "childIdentityField", "mode", "topLevelObjectTypeId", "cursor", "limit"],
923
+ requestSchema: null,
924
+ responseSchema: "CoverageNodeItemsResponseDto",
925
+ idempotent: false
926
+ },
927
+ "ContextReportingController_coverageReports": {
928
+ method: "GET",
929
+ path: "/api/v1/context/coverage-reports",
930
+ service: "modus-api",
931
+ serverUrl: "https://api.getmodus.com",
932
+ pathParams: [],
933
+ queryParams: [],
934
+ requestSchema: null,
935
+ responseSchema: "CoverageReportsResponseDto",
936
+ idempotent: false
937
+ },
938
+ "ContextReportingController_dashboardSummary": {
939
+ method: "GET",
940
+ path: "/api/v1/context/dashboard-summary",
941
+ service: "modus-api",
942
+ serverUrl: "https://api.getmodus.com",
943
+ pathParams: [],
944
+ queryParams: ["includeSunburstBuckets", "section"],
945
+ requestSchema: null,
946
+ responseSchema: "DashboardSummaryResponseDto",
947
+ idempotent: false
948
+ },
949
+ "ContextReportingController_dataAssets": {
950
+ method: "GET",
951
+ path: "/api/v1/context/data-assets",
952
+ service: "modus-api",
953
+ serverUrl: "https://api.getmodus.com",
954
+ pathParams: [],
955
+ queryParams: ["category", "connectionId", "limit", "offset", "search", "contextTypes", "verificationStatuses", "updateSources", "userId", "topics", "timeBucket", "sensitiveInfoTypes"],
956
+ requestSchema: null,
957
+ responseSchema: "DataAssetsResponseDto",
958
+ idempotent: false
959
+ },
960
+ "ContextReportingController_filterCounts": {
961
+ method: "GET",
962
+ path: "/api/v1/context/filter-counts",
963
+ service: "modus-api",
964
+ serverUrl: "https://api.getmodus.com",
965
+ pathParams: [],
966
+ queryParams: ["facets", "contextTypes", "verificationStatuses", "updateSources", "userId", "topics", "topicLimit", "topicOffset", "topicSearch", "dataAssets", "timeBucket", "createdWithinHours", "sensitiveInfoTypes", "sensitiveInfoTypeLimit", "sensitiveInfoTypeOffset", "sensitiveInfoTypeSearch"],
967
+ requestSchema: null,
968
+ responseSchema: "FilterCountsResponseDto",
969
+ idempotent: false
970
+ },
971
+ "ContextReportingController_requestRescan": {
972
+ method: "POST",
973
+ path: "/api/v1/context/coverage-reports/rescans",
974
+ service: "modus-api",
975
+ serverUrl: "https://api.getmodus.com",
976
+ pathParams: [],
977
+ queryParams: [],
978
+ requestSchema: "RequestRescanBodyDto",
979
+ responseSchema: "RescanOperationResponseDto",
980
+ idempotent: false
981
+ },
982
+ "ContextReportingController_rescanStatus": {
983
+ method: "GET",
984
+ path: "/api/v1/context/coverage-reports/rescans",
985
+ service: "modus-api",
986
+ serverUrl: "https://api.getmodus.com",
987
+ pathParams: [],
988
+ queryParams: ["contextItemUid"],
989
+ requestSchema: null,
990
+ responseSchema: "RescanStatusResponseDto",
991
+ idempotent: false
992
+ },
993
+ "ContextReportingController_timeQuantiles": {
994
+ method: "GET",
995
+ path: "/api/v1/context/time-quantiles",
996
+ service: "modus-api",
997
+ serverUrl: "https://api.getmodus.com",
998
+ pathParams: [],
999
+ queryParams: [],
1000
+ requestSchema: null,
1001
+ responseSchema: "TimeQuantilesResponseDto",
1002
+ idempotent: false
1003
+ },
1004
+ "ContextReportingController_triggerCoverageRefresh": {
1005
+ method: "POST",
1006
+ path: "/api/v1/context/coverage-reports/{connectionId}/refresh",
1007
+ service: "modus-api",
1008
+ serverUrl: "https://api.getmodus.com",
1009
+ pathParams: ["connectionId"],
1010
+ queryParams: ["integrationType"],
1011
+ requestSchema: null,
1012
+ responseSchema: "CoverageRefreshResponseDto",
1013
+ idempotent: false
1014
+ },
1015
+ "ContextReportingController_userEditCounts": {
1016
+ method: "GET",
1017
+ path: "/api/v1/context/edit-counts",
1018
+ service: "modus-api",
1019
+ serverUrl: "https://api.getmodus.com",
1020
+ pathParams: [],
1021
+ queryParams: [],
1022
+ requestSchema: null,
1023
+ responseSchema: "EditCountsResponseDto",
1024
+ idempotent: false
1025
+ },
1026
+ "ContextSuggestionController_create": {
1027
+ method: "POST",
1028
+ path: "/agent/v1/context/suggestions/{suggestionId}/runs",
1029
+ service: "agent-service",
1030
+ serverUrl: "https://agent.getmodus.com",
1031
+ pathParams: ["suggestionId"],
1032
+ queryParams: [],
1033
+ requestSchema: "RunEnvelopeDto",
1034
+ responseSchema: null,
1035
+ idempotent: false
1036
+ },
1037
+ "ContextSuggestionController_resume": {
1038
+ method: "POST",
1039
+ path: "/agent/v1/context/suggestions/{suggestionId}/runs/{runId}/resume",
1040
+ service: "agent-service",
1041
+ serverUrl: "https://agent.getmodus.com",
1042
+ pathParams: ["suggestionId", "runId"],
1043
+ queryParams: [],
1044
+ requestSchema: "ResumeRunDto",
1045
+ responseSchema: null,
1046
+ idempotent: false
1047
+ },
1048
+ "ContextSuggestionsController_approve": {
1049
+ method: "POST",
1050
+ path: "/api/v1/context/suggestions/{id}/approve",
1051
+ service: "modus-api",
1052
+ serverUrl: "https://api.getmodus.com",
1053
+ pathParams: ["id"],
1054
+ queryParams: [],
1055
+ requestSchema: "ApproveSuggestionDto",
1056
+ responseSchema: "SuggestionResolvedResponseDto",
1057
+ idempotent: false
1058
+ },
1059
+ "ContextSuggestionsController_dismiss": {
1060
+ method: "POST",
1061
+ path: "/api/v1/context/suggestions/{id}/dismiss",
1062
+ service: "modus-api",
1063
+ serverUrl: "https://api.getmodus.com",
1064
+ pathParams: ["id"],
1065
+ queryParams: [],
1066
+ requestSchema: null,
1067
+ responseSchema: "SuggestionResolvedResponseDto",
1068
+ idempotent: false
1069
+ },
1070
+ "ContextSuggestionsController_list": {
1071
+ method: "GET",
1072
+ path: "/api/v1/context/suggestions",
1073
+ service: "modus-api",
1074
+ serverUrl: "https://api.getmodus.com",
1075
+ pathParams: [],
1076
+ queryParams: ["pageToken", "pageSize"],
1077
+ requestSchema: null,
1078
+ responseSchema: "ListSuggestionsResponseDto",
1079
+ idempotent: false
1080
+ },
1081
+ "ContextSuggestionsController_undo": {
1082
+ method: "POST",
1083
+ path: "/api/v1/context/suggestions/{id}/undo",
1084
+ service: "modus-api",
1085
+ serverUrl: "https://api.getmodus.com",
1086
+ pathParams: ["id"],
1087
+ queryParams: [],
1088
+ requestSchema: null,
1089
+ responseSchema: "SuggestionUndoResponseDto",
1090
+ idempotent: false
1091
+ },
1092
+ "ContextUsageController_getTop": {
1093
+ method: "GET",
1094
+ path: "/api/v1/context/usage/top",
1095
+ service: "modus-api",
1096
+ serverUrl: "https://api.getmodus.com",
1097
+ pathParams: [],
1098
+ queryParams: ["days", "limit"],
1099
+ requestSchema: null,
1100
+ responseSchema: "UsageTopResponseDto",
1101
+ idempotent: false
1102
+ },
1103
+ "ConversationSharingController_received": {
1104
+ method: "GET",
1105
+ path: "/api/v1/conversation-shares",
1106
+ service: "modus-api",
1107
+ serverUrl: "https://api.getmodus.com",
1108
+ pathParams: [],
1109
+ queryParams: ["pageToken", "pageSize"],
1110
+ requestSchema: null,
1111
+ responseSchema: "SharedConversationsResponseDto",
1112
+ idempotent: false
1113
+ },
1114
+ "ConversationSharingController_recipients": {
1115
+ method: "GET",
1116
+ path: "/api/v1/conversation-shares/{threadId}/recipients",
1117
+ service: "modus-api",
1118
+ serverUrl: "https://api.getmodus.com",
1119
+ pathParams: ["threadId"],
1120
+ queryParams: ["pageToken", "pageSize"],
1121
+ requestSchema: null,
1122
+ responseSchema: "ConversationRecipientsResponseDto",
1123
+ idempotent: false
1124
+ },
1125
+ "ConversationSharingController_revoke": {
1126
+ method: "DELETE",
1127
+ path: "/api/v1/conversation-shares/{threadId}/recipients/{userId}",
1128
+ service: "modus-api",
1129
+ serverUrl: "https://api.getmodus.com",
1130
+ pathParams: ["threadId", "userId"],
1131
+ queryParams: [],
1132
+ requestSchema: null,
1133
+ responseSchema: null,
1134
+ idempotent: false
1135
+ },
1136
+ "ConversationSharingController_share": {
1137
+ method: "PUT",
1138
+ path: "/api/v1/conversation-shares/{threadId}/recipients/{userId}",
1139
+ service: "modus-api",
1140
+ serverUrl: "https://api.getmodus.com",
1141
+ pathParams: ["threadId", "userId"],
1142
+ queryParams: [],
1143
+ requestSchema: "ShareConversationDto",
1144
+ responseSchema: null,
1145
+ idempotent: false
1146
+ },
1147
+ "CustomContextItemsController_batchCreate": {
1148
+ method: "POST",
1149
+ path: "/api/v1/context/custom-items/batch",
1150
+ service: "modus-api",
1151
+ serverUrl: "https://api.getmodus.com",
1152
+ pathParams: [],
1153
+ queryParams: [],
1154
+ requestSchema: "BatchCreateCustomContextItemsDto",
1155
+ responseSchema: "BatchCreateCustomContextItemsResponseDto",
1156
+ idempotent: false
1157
+ },
1158
+ "CustomContextItemsController_batchDelete": {
1159
+ method: "POST",
1160
+ path: "/api/v1/context/custom-items/sources/{sourceId}/delete",
1161
+ service: "modus-api",
1162
+ serverUrl: "https://api.getmodus.com",
1163
+ pathParams: ["sourceId"],
1164
+ queryParams: [],
1165
+ requestSchema: "BatchDeleteCustomContextItemsDto",
1166
+ responseSchema: "BatchDeleteCustomContextItemsResponseDto",
1167
+ idempotent: false
1168
+ },
1169
+ "CustomContextItemsController_create": {
1170
+ method: "POST",
1171
+ path: "/api/v1/context/custom-items",
1172
+ service: "modus-api",
1173
+ serverUrl: "https://api.getmodus.com",
1174
+ pathParams: [],
1175
+ queryParams: [],
1176
+ requestSchema: "CreateCustomContextItemDto",
1177
+ responseSchema: "CreatedCustomContextItemResponseDto",
1178
+ idempotent: false
1179
+ },
1180
+ "CustomContextItemsController_createRelations": {
1181
+ method: "POST",
1182
+ path: "/api/v1/context/custom-items/relations/batch",
1183
+ service: "modus-api",
1184
+ serverUrl: "https://api.getmodus.com",
1185
+ pathParams: [],
1186
+ queryParams: [],
1187
+ requestSchema: "BatchCreateCustomContextItemRelationsDto",
1188
+ responseSchema: "BatchCreateCustomContextItemRelationsResponseDto",
1189
+ idempotent: false
1190
+ },
1191
+ "CustomContextItemsController_delete": {
1192
+ method: "DELETE",
1193
+ path: "/api/v1/context/custom-items/{uid}",
1194
+ service: "modus-api",
1195
+ serverUrl: "https://api.getmodus.com",
1196
+ pathParams: ["uid"],
1197
+ queryParams: [],
1198
+ requestSchema: null,
1199
+ responseSchema: "DeleteContextItemResponseDto",
1200
+ idempotent: false
1201
+ },
1202
+ "CustomContextItemsController_get": {
1203
+ method: "GET",
1204
+ path: "/api/v1/context/custom-items/{uid}",
1205
+ service: "modus-api",
1206
+ serverUrl: "https://api.getmodus.com",
1207
+ pathParams: ["uid"],
1208
+ queryParams: [],
1209
+ requestSchema: null,
1210
+ responseSchema: "ContextItemDto",
1211
+ idempotent: false
1212
+ },
1213
+ "CustomContextItemsController_list": {
1214
+ method: "GET",
1215
+ path: "/api/v1/context/custom-items",
1216
+ service: "modus-api",
1217
+ serverUrl: "https://api.getmodus.com",
1218
+ pathParams: [],
1219
+ queryParams: ["pageToken", "pageSize", "contextTypes", "verificationStatuses", "searchQuery", "topics", "sourceId", "collectionId", "externalId"],
1220
+ requestSchema: null,
1221
+ responseSchema: "ListCustomContextItemsResponseDto",
1222
+ idempotent: false
1223
+ },
1224
+ "CustomContextItemsController_update": {
1225
+ method: "PATCH",
1226
+ path: "/api/v1/context/custom-items/{uid}",
1227
+ service: "modus-api",
1228
+ serverUrl: "https://api.getmodus.com",
1229
+ pathParams: ["uid"],
1230
+ queryParams: [],
1231
+ requestSchema: "UpdateCustomContextItemDto",
1232
+ responseSchema: null,
1233
+ idempotent: false
1234
+ },
1235
+ "DashboardAlertsController_create": {
1236
+ method: "POST",
1237
+ path: "/api/v1/context/dashboards/{dashboardId}/alerts",
1238
+ service: "modus-api",
1239
+ serverUrl: "https://api.getmodus.com",
1240
+ pathParams: ["dashboardId"],
1241
+ queryParams: [],
1242
+ requestSchema: "CreateDashboardAlertDto",
1243
+ responseSchema: "DashboardAlertResponseDto",
1244
+ idempotent: false
1245
+ },
1246
+ "DashboardAlertsController_list": {
1247
+ method: "GET",
1248
+ path: "/api/v1/context/dashboards/{dashboardId}/alerts",
1249
+ service: "modus-api",
1250
+ serverUrl: "https://api.getmodus.com",
1251
+ pathParams: ["dashboardId"],
1252
+ queryParams: [],
1253
+ requestSchema: null,
1254
+ responseSchema: "ListDashboardAlertsResponseDto",
1255
+ idempotent: false
1256
+ },
1257
+ "DashboardAlertsController_recipientOptions": {
1258
+ method: "GET",
1259
+ path: "/api/v1/context/dashboards/{dashboardId}/alerts/recipient-options",
1260
+ service: "modus-api",
1261
+ serverUrl: "https://api.getmodus.com",
1262
+ pathParams: ["dashboardId"],
1263
+ queryParams: ["q"],
1264
+ requestSchema: null,
1265
+ responseSchema: null,
1266
+ idempotent: false
1267
+ },
1268
+ "DashboardAlertsController_remove": {
1269
+ method: "DELETE",
1270
+ path: "/api/v1/context/dashboards/{dashboardId}/alerts/{automationId}",
1271
+ service: "modus-api",
1272
+ serverUrl: "https://api.getmodus.com",
1273
+ pathParams: ["dashboardId", "automationId"],
1274
+ queryParams: [],
1275
+ requestSchema: null,
1276
+ responseSchema: null,
1277
+ idempotent: false
1278
+ },
1279
+ "DashboardAlertsController_update": {
1280
+ method: "PATCH",
1281
+ path: "/api/v1/context/dashboards/{dashboardId}/alerts/{automationId}",
1282
+ service: "modus-api",
1283
+ serverUrl: "https://api.getmodus.com",
1284
+ pathParams: ["dashboardId", "automationId"],
1285
+ queryParams: [],
1286
+ requestSchema: "UpdateDashboardAlertDto",
1287
+ responseSchema: "DashboardAlertResponseDto",
1288
+ idempotent: false
1289
+ },
1290
+ "DashboardAssistantController_create": {
1291
+ method: "POST",
1292
+ path: "/agent/v1/context/dashboards/{dashboardId}/elements/{elementId}/assistant/runs",
1293
+ service: "agent-service",
1294
+ serverUrl: "https://agent.getmodus.com",
1295
+ pathParams: ["dashboardId", "elementId"],
1296
+ queryParams: [],
1297
+ requestSchema: "DashboardAssistantRunDto",
1298
+ responseSchema: null,
1299
+ idempotent: false
1300
+ },
1301
+ "DashboardAssistantController_createDashboard": {
1302
+ method: "POST",
1303
+ path: "/agent/v1/context/dashboards/{dashboardId}/assistant/runs",
1304
+ service: "agent-service",
1305
+ serverUrl: "https://agent.getmodus.com",
1306
+ pathParams: ["dashboardId"],
1307
+ queryParams: [],
1308
+ requestSchema: "DashboardAssistantRunDto",
1309
+ responseSchema: null,
1310
+ idempotent: false
1311
+ },
1312
+ "DashboardCopilotController_create": {
1313
+ method: "POST",
1314
+ path: "/agent/v1/context/dashboards/{dashboardId}/elements/{elementId}/copilot/runs",
1315
+ service: "agent-service",
1316
+ serverUrl: "https://agent.getmodus.com",
1317
+ pathParams: ["dashboardId", "elementId"],
1318
+ queryParams: [],
1319
+ requestSchema: "DashboardCopilotRunDto",
1320
+ responseSchema: null,
1321
+ idempotent: false
1322
+ },
1323
+ "DashboardCopilotController_createDashboard": {
1324
+ method: "POST",
1325
+ path: "/agent/v1/context/dashboards/{dashboardId}/copilot/runs",
1326
+ service: "agent-service",
1327
+ serverUrl: "https://agent.getmodus.com",
1328
+ pathParams: ["dashboardId"],
1329
+ queryParams: [],
1330
+ requestSchema: "DashboardCopilotRunDto",
1331
+ responseSchema: null,
1332
+ idempotent: false
1333
+ },
1334
+ "DashboardsController_acceptOwnership": {
1335
+ method: "POST",
1336
+ path: "/api/v1/context/dashboards/{dashboardId}/transfer-ownership/accept",
1337
+ service: "modus-api",
1338
+ serverUrl: "https://api.getmodus.com",
1339
+ pathParams: ["dashboardId"],
1340
+ queryParams: [],
1341
+ requestSchema: null,
1342
+ responseSchema: "DashboardDto",
1343
+ idempotent: false
1344
+ },
1345
+ "DashboardsController_cancelExecution": {
1346
+ method: "DELETE",
1347
+ path: "/api/v1/context/dashboards/{dashboardId}/executions/{executionId}",
1348
+ service: "modus-api",
1349
+ serverUrl: "https://api.getmodus.com",
1350
+ pathParams: ["dashboardId", "executionId"],
1351
+ queryParams: [],
1352
+ requestSchema: null,
1353
+ responseSchema: "DashboardExecutionCancelledResponseDto",
1354
+ idempotent: false
1355
+ },
1356
+ "DashboardsController_cancelOwnership": {
1357
+ method: "DELETE",
1358
+ path: "/api/v1/context/dashboards/{dashboardId}/transfer-ownership",
1359
+ service: "modus-api",
1360
+ serverUrl: "https://api.getmodus.com",
1361
+ pathParams: ["dashboardId"],
1362
+ queryParams: [],
1363
+ requestSchema: null,
1364
+ responseSchema: "DashboardDto",
1365
+ idempotent: false
1366
+ },
1367
+ "DashboardsController_create": {
1368
+ method: "POST",
1369
+ path: "/api/v1/context/dashboards",
1370
+ service: "modus-api",
1371
+ serverUrl: "https://api.getmodus.com",
1372
+ pathParams: [],
1373
+ queryParams: [],
1374
+ requestSchema: "CreateDashboardDto",
1375
+ responseSchema: "DashboardDto",
1376
+ idempotent: false
1377
+ },
1378
+ "DashboardsController_createElement": {
1379
+ method: "POST",
1380
+ path: "/api/v1/context/dashboards/{dashboardId}/elements",
1381
+ service: "modus-api",
1382
+ serverUrl: "https://api.getmodus.com",
1383
+ pathParams: ["dashboardId"],
1384
+ queryParams: [],
1385
+ requestSchema: "CreateDashboardElementDto",
1386
+ responseSchema: "CreatedDashboardElementResponseDto",
1387
+ idempotent: false
1388
+ },
1389
+ "DashboardsController_delete": {
1390
+ method: "DELETE",
1391
+ path: "/api/v1/context/dashboards/{dashboardId}",
1392
+ service: "modus-api",
1393
+ serverUrl: "https://api.getmodus.com",
1394
+ pathParams: ["dashboardId"],
1395
+ queryParams: [],
1396
+ requestSchema: null,
1397
+ responseSchema: null,
1398
+ idempotent: false
1399
+ },
1400
+ "DashboardsController_email": {
1401
+ method: "POST",
1402
+ path: "/api/v1/context/dashboards/{dashboardId}/email",
1403
+ service: "modus-api",
1404
+ serverUrl: "https://api.getmodus.com",
1405
+ pathParams: ["dashboardId"],
1406
+ queryParams: [],
1407
+ requestSchema: "EmailDashboardDto",
1408
+ responseSchema: null,
1409
+ idempotent: false
1410
+ },
1411
+ "DashboardsController_execute": {
1412
+ method: "POST",
1413
+ path: "/api/v1/context/dashboards/{dashboardId}/execute",
1414
+ service: "modus-api",
1415
+ serverUrl: "https://api.getmodus.com",
1416
+ pathParams: ["dashboardId"],
1417
+ queryParams: [],
1418
+ requestSchema: "ExecuteDashboardTileDto",
1419
+ responseSchema: "DashboardTileExecutionResponseDto",
1420
+ idempotent: false
1421
+ },
1422
+ "DashboardsController_filterOptions": {
1423
+ method: "POST",
1424
+ path: "/api/v1/context/dashboards/{dashboardId}/filters/{filterId}/options",
1425
+ service: "modus-api",
1426
+ serverUrl: "https://api.getmodus.com",
1427
+ pathParams: ["dashboardId", "filterId"],
1428
+ queryParams: [],
1429
+ requestSchema: "ExecuteDashboardFilterOptionsDto",
1430
+ responseSchema: "DashboardFilterOptionsResponseDto",
1431
+ idempotent: false
1432
+ },
1433
+ "DashboardsController_get": {
1434
+ method: "GET",
1435
+ path: "/api/v1/context/dashboards/{dashboardId}",
1436
+ service: "modus-api",
1437
+ serverUrl: "https://api.getmodus.com",
1438
+ pathParams: ["dashboardId"],
1439
+ queryParams: ["view"],
1440
+ requestSchema: null,
1441
+ responseSchema: "DashboardDto",
1442
+ idempotent: false
1443
+ },
1444
+ "DashboardsController_getElement": {
1445
+ method: "GET",
1446
+ path: "/api/v1/context/dashboards/{dashboardId}/elements/{elementId}",
1447
+ service: "modus-api",
1448
+ serverUrl: "https://api.getmodus.com",
1449
+ pathParams: ["dashboardId", "elementId"],
1450
+ queryParams: [],
1451
+ requestSchema: null,
1452
+ responseSchema: "DashboardElementResponseDto",
1453
+ idempotent: false
1454
+ },
1455
+ "DashboardsController_getVersion": {
1456
+ method: "GET",
1457
+ path: "/api/v1/context/dashboards/{dashboardId}/versions/{versionId}",
1458
+ service: "modus-api",
1459
+ serverUrl: "https://api.getmodus.com",
1460
+ pathParams: ["dashboardId", "versionId"],
1461
+ queryParams: [],
1462
+ requestSchema: null,
1463
+ responseSchema: "DashboardDto",
1464
+ idempotent: false
1465
+ },
1466
+ "DashboardsController_history": {
1467
+ method: "GET",
1468
+ path: "/api/v1/context/dashboards/{dashboardId}/history",
1469
+ service: "modus-api",
1470
+ serverUrl: "https://api.getmodus.com",
1471
+ pathParams: ["dashboardId"],
1472
+ queryParams: ["kind"],
1473
+ requestSchema: null,
1474
+ responseSchema: null,
1475
+ idempotent: false
1476
+ },
1477
+ "DashboardsController_list": {
1478
+ method: "GET",
1479
+ path: "/api/v1/context/dashboards",
1480
+ service: "modus-api",
1481
+ serverUrl: "https://api.getmodus.com",
1482
+ pathParams: [],
1483
+ queryParams: ["view"],
1484
+ requestSchema: null,
1485
+ responseSchema: "ListDashboardsResponseDto",
1486
+ idempotent: false
1487
+ },
1488
+ "DashboardsController_listDraftSnapshots": {
1489
+ method: "GET",
1490
+ path: "/api/v1/context/dashboards/{dashboardId}/draft-snapshots",
1491
+ service: "modus-api",
1492
+ serverUrl: "https://api.getmodus.com",
1493
+ pathParams: ["dashboardId"],
1494
+ queryParams: [],
1495
+ requestSchema: null,
1496
+ responseSchema: "ListDashboardDraftSnapshotsResponseDto",
1497
+ idempotent: false
1498
+ },
1499
+ "DashboardsController_listElements": {
1500
+ method: "GET",
1501
+ path: "/api/v1/context/dashboards/{dashboardId}/elements",
1502
+ service: "modus-api",
1503
+ serverUrl: "https://api.getmodus.com",
1504
+ pathParams: ["dashboardId"],
1505
+ queryParams: [],
1506
+ requestSchema: null,
1507
+ responseSchema: "DashboardElementsListResponseDto",
1508
+ idempotent: false
1509
+ },
1510
+ "DashboardsController_listVersions": {
1511
+ method: "GET",
1512
+ path: "/api/v1/context/dashboards/{dashboardId}/versions",
1513
+ service: "modus-api",
1514
+ serverUrl: "https://api.getmodus.com",
1515
+ pathParams: ["dashboardId"],
1516
+ queryParams: [],
1517
+ requestSchema: null,
1518
+ responseSchema: "ListDashboardVersionsResponseDto",
1519
+ idempotent: false
1520
+ },
1521
+ "DashboardsController_publish": {
1522
+ method: "POST",
1523
+ path: "/api/v1/context/dashboards/{dashboardId}/publish",
1524
+ service: "modus-api",
1525
+ serverUrl: "https://api.getmodus.com",
1526
+ pathParams: ["dashboardId"],
1527
+ queryParams: [],
1528
+ requestSchema: "PublishDashboardDto",
1529
+ responseSchema: "PublishDashboardResponseDto",
1530
+ idempotent: false
1531
+ },
1532
+ "DashboardsController_restore": {
1533
+ method: "POST",
1534
+ path: "/api/v1/context/dashboards/{dashboardId}/versions/{versionId}/restore",
1535
+ service: "modus-api",
1536
+ serverUrl: "https://api.getmodus.com",
1537
+ pathParams: ["dashboardId", "versionId"],
1538
+ queryParams: [],
1539
+ requestSchema: null,
1540
+ responseSchema: "DashboardDto",
1541
+ idempotent: false
1542
+ },
1543
+ "DashboardsController_transferOwnership": {
1544
+ method: "POST",
1545
+ path: "/api/v1/context/dashboards/{dashboardId}/transfer-ownership",
1546
+ service: "modus-api",
1547
+ serverUrl: "https://api.getmodus.com",
1548
+ pathParams: ["dashboardId"],
1549
+ queryParams: [],
1550
+ requestSchema: "TransferDashboardOwnershipDto",
1551
+ responseSchema: "DashboardDto",
1552
+ idempotent: false
1553
+ },
1554
+ "DashboardsController_updateAccess": {
1555
+ method: "PATCH",
1556
+ path: "/api/v1/context/dashboards/{dashboardId}/access",
1557
+ service: "modus-api",
1558
+ serverUrl: "https://api.getmodus.com",
1559
+ pathParams: ["dashboardId"],
1560
+ queryParams: [],
1561
+ requestSchema: "UpdateDashboardAccessDto",
1562
+ responseSchema: "DashboardDto",
1563
+ idempotent: false
1564
+ },
1565
+ "DashboardsController_updateDraft": {
1566
+ method: "PATCH",
1567
+ path: "/api/v1/context/dashboards/{dashboardId}/draft",
1568
+ service: "modus-api",
1569
+ serverUrl: "https://api.getmodus.com",
1570
+ pathParams: ["dashboardId"],
1571
+ queryParams: [],
1572
+ requestSchema: "UpdateDashboardDraftDto",
1573
+ responseSchema: "DashboardDto",
1574
+ idempotent: false
1575
+ },
1576
+ "DashboardsController_updateElement": {
1577
+ method: "PATCH",
1578
+ path: "/api/v1/context/dashboards/{dashboardId}/elements/{elementId}",
1579
+ service: "modus-api",
1580
+ serverUrl: "https://api.getmodus.com",
1581
+ pathParams: ["dashboardId", "elementId"],
1582
+ queryParams: [],
1583
+ requestSchema: "UpdateDashboardElementDto",
1584
+ responseSchema: "DashboardDto",
1585
+ idempotent: false
1586
+ },
1587
+ "DashboardsController_updateLayout": {
1588
+ method: "PATCH",
1589
+ path: "/api/v1/context/dashboards/{dashboardId}/layout",
1590
+ service: "modus-api",
1591
+ serverUrl: "https://api.getmodus.com",
1592
+ pathParams: ["dashboardId"],
1593
+ queryParams: [],
1594
+ requestSchema: "UpdateDashboardLayoutDto",
1595
+ responseSchema: "DashboardDto",
1596
+ idempotent: false
1597
+ },
1598
+ "DirectorySyncController_activate": {
1599
+ method: "POST",
1600
+ path: "/api/v1/users/directory-sync/activate",
1601
+ service: "modus-api",
1602
+ serverUrl: "https://api.getmodus.com",
1603
+ pathParams: [],
1604
+ queryParams: [],
1605
+ requestSchema: "ActivateDirectorySyncDto",
1606
+ responseSchema: "EnableDirectorySyncResponseDto",
1607
+ idempotent: false
1608
+ },
1609
+ "DirectorySyncController_disable": {
1610
+ method: "DELETE",
1611
+ path: "/api/v1/users/directory-sync",
1612
+ service: "modus-api",
1613
+ serverUrl: "https://api.getmodus.com",
1614
+ pathParams: [],
1615
+ queryParams: [],
1616
+ requestSchema: null,
1617
+ responseSchema: "DisableDirectorySyncResponseDto",
1618
+ idempotent: false
1619
+ },
1620
+ "DirectorySyncController_getOverview": {
1621
+ method: "GET",
1622
+ path: "/api/v1/users/directory-sync/overview",
1623
+ service: "modus-api",
1624
+ serverUrl: "https://api.getmodus.com",
1625
+ pathParams: [],
1626
+ queryParams: [],
1627
+ requestSchema: null,
1628
+ responseSchema: "DirectorySyncOverviewResponseDto",
1629
+ idempotent: false
1630
+ },
1631
+ "DirectorySyncController_getSetup": {
1632
+ method: "GET",
1633
+ path: "/api/v1/users/directory-sync/setup",
1634
+ service: "modus-api",
1635
+ serverUrl: "https://api.getmodus.com",
1636
+ pathParams: [],
1637
+ queryParams: [],
1638
+ requestSchema: null,
1639
+ responseSchema: "DirectorySyncSetupResponseDto",
1640
+ idempotent: false
1641
+ },
1642
+ "DirectorySyncController_listGroups": {
1643
+ method: "GET",
1644
+ path: "/api/v1/users/directory-sync/groups",
1645
+ service: "modus-api",
1646
+ serverUrl: "https://api.getmodus.com",
1647
+ pathParams: [],
1648
+ queryParams: ["query", "cursor", "pageSize", "inUse"],
1649
+ requestSchema: null,
1650
+ responseSchema: "ListDirectoryGroupsResponseDto",
1651
+ idempotent: false
1652
+ },
1653
+ "DirectorySyncController_mapGroup": {
1654
+ method: "PUT",
1655
+ path: "/api/v1/users/directory-sync/mappings/{memberGroupUid}",
1656
+ service: "modus-api",
1657
+ serverUrl: "https://api.getmodus.com",
1658
+ pathParams: ["memberGroupUid"],
1659
+ queryParams: [],
1660
+ requestSchema: "DirectoryMappingTargetDto",
1661
+ responseSchema: "DirectoryMappingConvertedItemDto",
1662
+ idempotent: false
1663
+ },
1664
+ "DirectorySyncController_mapGroups": {
1665
+ method: "POST",
1666
+ path: "/api/v1/users/directory-sync/mappings/batch",
1667
+ service: "modus-api",
1668
+ serverUrl: "https://api.getmodus.com",
1669
+ pathParams: [],
1670
+ queryParams: [],
1671
+ requestSchema: "DirectoryMappingsDto",
1672
+ responseSchema: "DirectoryMappingsResponseDto",
1673
+ idempotent: false
1674
+ },
1675
+ "DirectorySyncController_retry": {
1676
+ method: "POST",
1677
+ path: "/api/v1/users/directory-sync/retry",
1678
+ service: "modus-api",
1679
+ serverUrl: "https://api.getmodus.com",
1680
+ pathParams: [],
1681
+ queryParams: [],
1682
+ requestSchema: null,
1683
+ responseSchema: "RetryDirectorySyncResponseDto",
1684
+ idempotent: false
1685
+ },
1686
+ "DirectorySyncController_useGroup": {
1687
+ method: "POST",
1688
+ path: "/api/v1/users/directory-sync/groups/{externalId}/use",
1689
+ service: "modus-api",
1690
+ serverUrl: "https://api.getmodus.com",
1691
+ pathParams: ["externalId"],
1692
+ queryParams: [],
1693
+ requestSchema: null,
1694
+ responseSchema: "UseDirectoryGroupResponseDto",
1695
+ idempotent: false
1696
+ },
1697
+ "EraConnectionsController_load": {
1698
+ method: "POST",
1699
+ path: "/api/v1/connections/era/load",
1700
+ service: "modus-api",
1701
+ serverUrl: "https://api.getmodus.com",
1702
+ pathParams: [],
1703
+ queryParams: [],
1704
+ requestSchema: null,
1705
+ responseSchema: "EraLoadResponseDto",
1706
+ idempotent: false
1707
+ },
1708
+ "EvaluationsController_getConfig": {
1709
+ method: "GET",
1710
+ path: "/api/v1/scopes/{id}/evaluations/config",
1711
+ service: "modus-api",
1712
+ serverUrl: "https://api.getmodus.com",
1713
+ pathParams: ["id"],
1714
+ queryParams: [],
1715
+ requestSchema: null,
1716
+ responseSchema: "EvaluationConfigDto",
1717
+ idempotent: false
1718
+ },
1719
+ "EvaluationsController_getRun": {
1720
+ method: "GET",
1721
+ path: "/api/v1/scopes/{id}/evaluations/runs/{runId}",
1722
+ service: "modus-api",
1723
+ serverUrl: "https://api.getmodus.com",
1724
+ pathParams: ["id", "runId"],
1725
+ queryParams: [],
1726
+ requestSchema: null,
1727
+ responseSchema: "EvaluationRunWithResultsDto",
1728
+ idempotent: false
1729
+ },
1730
+ "EvaluationsController_listRuns": {
1731
+ method: "GET",
1732
+ path: "/api/v1/scopes/{id}/evaluations/runs",
1733
+ service: "modus-api",
1734
+ serverUrl: "https://api.getmodus.com",
1735
+ pathParams: ["id"],
1736
+ queryParams: ["pageSize", "pageToken"],
1737
+ requestSchema: null,
1738
+ responseSchema: "ListEvaluationRunsResponseDto",
1739
+ idempotent: false
1740
+ },
1741
+ "EvaluationsController_triggerRun": {
1742
+ method: "POST",
1743
+ path: "/api/v1/scopes/{id}/evaluations/runs",
1744
+ service: "modus-api",
1745
+ serverUrl: "https://api.getmodus.com",
1746
+ pathParams: ["id"],
1747
+ queryParams: [],
1748
+ requestSchema: null,
1749
+ responseSchema: "TriggerEvaluationRunResponseDto",
1750
+ idempotent: false
1751
+ },
1752
+ "EvaluationsController_updateConfig": {
1753
+ method: "PUT",
1754
+ path: "/api/v1/scopes/{id}/evaluations/config",
1755
+ service: "modus-api",
1756
+ serverUrl: "https://api.getmodus.com",
1757
+ pathParams: ["id"],
1758
+ queryParams: [],
1759
+ requestSchema: "UpdateEvaluationConfigDto",
1760
+ responseSchema: "EvaluationConfigDto",
1761
+ idempotent: false
1762
+ },
1763
+ "GitSyncController_connectPublicFork": {
1764
+ method: "POST",
1765
+ path: "/api/v1/git/forks/{connectionId}/connect",
1766
+ service: "modus-api",
1767
+ serverUrl: "https://api.getmodus.com",
1768
+ pathParams: ["connectionId"],
1769
+ queryParams: [],
1770
+ requestSchema: "ConnectGitForkDto",
1771
+ responseSchema: "GitConnectForkResponseDto",
1772
+ idempotent: false
1773
+ },
1774
+ "GitSyncController_disconnect": {
1775
+ method: "DELETE",
1776
+ path: "/api/v1/git/connection",
1777
+ service: "modus-api",
1778
+ serverUrl: "https://api.getmodus.com",
1779
+ pathParams: [],
1780
+ queryParams: [],
1781
+ requestSchema: null,
1782
+ responseSchema: "GitDisconnectResponseDto",
1783
+ idempotent: false
1784
+ },
1785
+ "GitSyncController_getStatus": {
1786
+ method: "GET",
1787
+ path: "/api/v1/git/status",
1788
+ service: "modus-api",
1789
+ serverUrl: "https://api.getmodus.com",
1790
+ pathParams: [],
1791
+ queryParams: [],
1792
+ requestSchema: null,
1793
+ responseSchema: "GitStatusResponseDto",
1794
+ idempotent: false
1795
+ },
1796
+ "GitSyncController_listForkState": {
1797
+ method: "GET",
1798
+ path: "/api/v1/git/fork-state",
1799
+ service: "modus-api",
1800
+ serverUrl: "https://api.getmodus.com",
1801
+ pathParams: [],
1802
+ queryParams: ["connectionId"],
1803
+ requestSchema: null,
1804
+ responseSchema: "GitForkStateResponseDto",
1805
+ idempotent: false
1806
+ },
1807
+ "GitSyncController_listSyncState": {
1808
+ method: "GET",
1809
+ path: "/api/v1/git/sync-state",
1810
+ service: "modus-api",
1811
+ serverUrl: "https://api.getmodus.com",
1812
+ pathParams: [],
1813
+ queryParams: [],
1814
+ requestSchema: null,
1815
+ responseSchema: "GitSyncStateResponseDto",
1816
+ idempotent: false
1817
+ },
1818
+ "HostedConnectionsController_invokePublicOperation": {
1819
+ method: "POST",
1820
+ path: "/api/v1/connections/{connectionId}/operations/{operationName}/execute",
1821
+ service: "modus-api",
1822
+ serverUrl: "https://api.getmodus.com",
1823
+ pathParams: ["connectionId", "operationName"],
1824
+ queryParams: [],
1825
+ requestSchema: "InvokeConnectionActionDto",
1826
+ responseSchema: "HostedActionResponseDto",
1827
+ idempotent: false
1828
+ },
1829
+ "HostedConnectionsController_listActions": {
1830
+ method: "GET",
1831
+ path: "/api/v1/connections/platforms/{platform}/actions",
1832
+ service: "modus-api",
1833
+ serverUrl: "https://api.getmodus.com",
1834
+ pathParams: ["platform"],
1835
+ queryParams: ["connectionId", "connectionMode"],
1836
+ requestSchema: null,
1837
+ responseSchema: "PlatformToolActionsResponseDto",
1838
+ idempotent: false
1839
+ },
1840
+ "IngestedDataController_upload": {
1841
+ method: "POST",
1842
+ path: "/api/v1/ingested-data",
1843
+ service: "modus-api",
1844
+ serverUrl: "https://api.getmodus.com",
1845
+ pathParams: [],
1846
+ queryParams: [],
1847
+ requestSchema: "CreateIngestedDataDto",
1848
+ responseSchema: "CreatedIngestedDataResponseDto",
1849
+ idempotent: true
1850
+ },
1851
+ "LlmController_getModelRouting": {
1852
+ method: "GET",
1853
+ path: "/api/v1/llm/model-routing",
1854
+ service: "modus-api",
1855
+ serverUrl: "https://api.getmodus.com",
1856
+ pathParams: [],
1857
+ queryParams: [],
1858
+ requestSchema: null,
1859
+ responseSchema: "MappingsResponseDto",
1860
+ idempotent: false
1861
+ },
1862
+ "LlmController_listProviderCatalog": {
1863
+ method: "GET",
1864
+ path: "/api/v1/llm/provider-catalog",
1865
+ service: "modus-api",
1866
+ serverUrl: "https://api.getmodus.com",
1867
+ pathParams: [],
1868
+ queryParams: [],
1869
+ requestSchema: null,
1870
+ responseSchema: "LlmProviderCatalogResponseDto",
1871
+ idempotent: false
1872
+ },
1873
+ "LlmController_replaceModelRouting": {
1874
+ method: "PUT",
1875
+ path: "/api/v1/llm/model-routing",
1876
+ service: "modus-api",
1877
+ serverUrl: "https://api.getmodus.com",
1878
+ pathParams: [],
1879
+ queryParams: [],
1880
+ requestSchema: "ReplaceMappingsDto",
1881
+ responseSchema: "MappingsResponseDto",
1882
+ idempotent: false
1883
+ },
1884
+ "McpServersController_list": {
1885
+ method: "GET",
1886
+ path: "/api/v1/mcp-servers",
1887
+ service: "modus-api",
1888
+ serverUrl: "https://api.getmodus.com",
1889
+ pathParams: [],
1890
+ queryParams: [],
1891
+ requestSchema: null,
1892
+ responseSchema: "McpServersResponseDto",
1893
+ idempotent: false
1894
+ },
1895
+ "McpServersController_probe": {
1896
+ method: "POST",
1897
+ path: "/api/v1/mcp-servers/probe",
1898
+ service: "modus-api",
1899
+ serverUrl: "https://api.getmodus.com",
1900
+ pathParams: [],
1901
+ queryParams: [],
1902
+ requestSchema: "ProbeMcpServerDto",
1903
+ responseSchema: "McpServerProbeResponseDto",
1904
+ idempotent: false
1905
+ },
1906
+ "McpServersController_refreshTools": {
1907
+ method: "POST",
1908
+ path: "/api/v1/mcp-servers/{connectionId}/tools/refresh",
1909
+ service: "modus-api",
1910
+ serverUrl: "https://api.getmodus.com",
1911
+ pathParams: ["connectionId"],
1912
+ queryParams: [],
1913
+ requestSchema: null,
1914
+ responseSchema: "McpServerToolsResponseDto",
1915
+ idempotent: false
1916
+ },
1917
+ "McpServersController_test": {
1918
+ method: "POST",
1919
+ path: "/api/v1/mcp-servers/{connectionId}/test",
1920
+ service: "modus-api",
1921
+ serverUrl: "https://api.getmodus.com",
1922
+ pathParams: ["connectionId"],
1923
+ queryParams: [],
1924
+ requestSchema: null,
1925
+ responseSchema: "McpServerToolCountResponseDto",
1926
+ idempotent: false
1927
+ },
1928
+ "McpServersController_testUnsaved": {
1929
+ method: "POST",
1930
+ path: "/api/v1/mcp-servers/test",
1931
+ service: "modus-api",
1932
+ serverUrl: "https://api.getmodus.com",
1933
+ pathParams: [],
1934
+ queryParams: [],
1935
+ requestSchema: "TestUnsavedMcpServerDto",
1936
+ responseSchema: "McpServerToolCountResponseDto",
1937
+ idempotent: false
1938
+ },
1939
+ "MemberGroupsController_addMember": {
1940
+ method: "PUT",
1941
+ path: "/api/v1/users/member-groups/{groupId}/members/{userId}",
1942
+ service: "modus-api",
1943
+ serverUrl: "https://api.getmodus.com",
1944
+ pathParams: ["groupId", "userId"],
1945
+ queryParams: [],
1946
+ requestSchema: null,
1947
+ responseSchema: "MutateMemberGroupResponseDto",
1948
+ idempotent: false
1949
+ },
1950
+ "MemberGroupsController_addMembers": {
1951
+ method: "POST",
1952
+ path: "/api/v1/users/member-groups/{groupId}/members/batch",
1953
+ service: "modus-api",
1954
+ serverUrl: "https://api.getmodus.com",
1955
+ pathParams: ["groupId"],
1956
+ queryParams: [],
1957
+ requestSchema: "MutateMembersDto",
1958
+ responseSchema: "MutateMemberGroupResponseDto",
1959
+ idempotent: false
1960
+ },
1961
+ "MemberGroupsController_create": {
1962
+ method: "POST",
1963
+ path: "/api/v1/users/member-groups",
1964
+ service: "modus-api",
1965
+ serverUrl: "https://api.getmodus.com",
1966
+ pathParams: [],
1967
+ queryParams: [],
1968
+ requestSchema: "CreateMemberGroupDto",
1969
+ responseSchema: "MemberGroupDto",
1970
+ idempotent: false
1971
+ },
1972
+ "MemberGroupsController_delete": {
1973
+ method: "DELETE",
1974
+ path: "/api/v1/users/member-groups/{groupId}",
1975
+ service: "modus-api",
1976
+ serverUrl: "https://api.getmodus.com",
1977
+ pathParams: ["groupId"],
1978
+ queryParams: [],
1979
+ requestSchema: null,
1980
+ responseSchema: "MutateMemberGroupResponseDto",
1981
+ idempotent: false
1982
+ },
1983
+ "MemberGroupsController_list": {
1984
+ method: "GET",
1985
+ path: "/api/v1/users/member-groups",
1986
+ service: "modus-api",
1987
+ serverUrl: "https://api.getmodus.com",
1988
+ pathParams: [],
1989
+ queryParams: [],
1990
+ requestSchema: null,
1991
+ responseSchema: "ListMemberGroupsResponseDto",
1992
+ idempotent: false
1993
+ },
1994
+ "MemberGroupsController_mine": {
1995
+ method: "GET",
1996
+ path: "/api/v1/users/member-groups/mine",
1997
+ service: "modus-api",
1998
+ serverUrl: "https://api.getmodus.com",
1999
+ pathParams: [],
2000
+ queryParams: [],
2001
+ requestSchema: null,
2002
+ responseSchema: "MyMemberGroupIdsResponseDto",
2003
+ idempotent: false
2004
+ },
2005
+ "MemberGroupsController_removeMember": {
2006
+ method: "DELETE",
2007
+ path: "/api/v1/users/member-groups/{groupId}/members/{userId}",
2008
+ service: "modus-api",
2009
+ serverUrl: "https://api.getmodus.com",
2010
+ pathParams: ["groupId", "userId"],
2011
+ queryParams: [],
2012
+ requestSchema: null,
2013
+ responseSchema: "MutateMemberGroupResponseDto",
2014
+ idempotent: false
2015
+ },
2016
+ "MemberGroupsController_update": {
2017
+ method: "PATCH",
2018
+ path: "/api/v1/users/member-groups/{groupId}",
2019
+ service: "modus-api",
2020
+ serverUrl: "https://api.getmodus.com",
2021
+ pathParams: ["groupId"],
2022
+ queryParams: ["updateMask"],
2023
+ requestSchema: "UpdateMemberGroupDto",
2024
+ responseSchema: "MutateMemberGroupResponseDto",
2025
+ idempotent: false
2026
+ },
2027
+ "ModusContextComposeController_compose": {
2028
+ method: "POST",
2029
+ path: "/agent/v1/modus/context",
2030
+ service: "agent-service",
2031
+ serverUrl: "https://agent.getmodus.com",
2032
+ pathParams: [],
2033
+ queryParams: [],
2034
+ requestSchema: "ModusContextRequestDto",
2035
+ responseSchema: "ModusContextResponseDto",
2036
+ idempotent: true
2037
+ },
2038
+ "ModusContextController_compose": {
2039
+ method: "POST",
2040
+ path: "/api/v1/modus/context",
2041
+ service: "modus-api",
2042
+ serverUrl: "https://api.getmodus.com",
2043
+ pathParams: [],
2044
+ queryParams: [],
2045
+ requestSchema: "ModusContextRequestDto",
2046
+ responseSchema: "ModusContextResponseDto",
2047
+ idempotent: false
2048
+ },
2049
+ "ModusConversationsController_get": {
2050
+ method: "GET",
2051
+ path: "/api/v1/modus/conversations/{threadId}",
2052
+ service: "modus-api",
2053
+ serverUrl: "https://api.getmodus.com",
2054
+ pathParams: ["threadId"],
2055
+ queryParams: [],
2056
+ requestSchema: null,
2057
+ responseSchema: "ConversationDto",
2058
+ idempotent: false
2059
+ },
2060
+ "ModusConversationsController_list": {
2061
+ method: "GET",
2062
+ path: "/api/v1/modus/conversations",
2063
+ service: "modus-api",
2064
+ serverUrl: "https://api.getmodus.com",
2065
+ pathParams: [],
2066
+ queryParams: ["pageToken", "page", "pageSize", "userId", "toolName", "source", "sourceRef", "timeframe", "includeTools", "kind"],
2067
+ requestSchema: null,
2068
+ responseSchema: "ListConversationsResponseDto",
2069
+ idempotent: false
2070
+ },
2071
+ "ModusRunsController_create": {
2072
+ method: "POST",
2073
+ path: "/agent/v1/modus/runs",
2074
+ service: "agent-service",
2075
+ serverUrl: "https://agent.getmodus.com",
2076
+ pathParams: [],
2077
+ queryParams: [],
2078
+ requestSchema: "ModusRunDto",
2079
+ responseSchema: null,
2080
+ idempotent: false
2081
+ },
2082
+ "OrgLearningsController_create": {
2083
+ method: "POST",
2084
+ path: "/api/v1/context/org-learnings",
2085
+ service: "modus-api",
2086
+ serverUrl: "https://api.getmodus.com",
2087
+ pathParams: [],
2088
+ queryParams: [],
2089
+ requestSchema: "CreateOrgLearningDto",
2090
+ responseSchema: "OrgLearningUidResponseDto",
2091
+ idempotent: false
2092
+ },
2093
+ "OrgLearningsController_list": {
2094
+ method: "GET",
2095
+ path: "/api/v1/context/org-learnings",
2096
+ service: "modus-api",
2097
+ serverUrl: "https://api.getmodus.com",
2098
+ pathParams: [],
2099
+ queryParams: ["pageToken", "pageSize"],
2100
+ requestSchema: null,
2101
+ responseSchema: "ListOrgLearningsResponseDto",
2102
+ idempotent: false
2103
+ },
2104
+ "OrgLearningsController_retire": {
2105
+ method: "DELETE",
2106
+ path: "/api/v1/context/org-learnings/{uid}",
2107
+ service: "modus-api",
2108
+ serverUrl: "https://api.getmodus.com",
2109
+ pathParams: ["uid"],
2110
+ queryParams: [],
2111
+ requestSchema: null,
2112
+ responseSchema: "OrgLearningUidResponseDto",
2113
+ idempotent: false
2114
+ },
2115
+ "OrgLearningsController_update": {
2116
+ method: "PATCH",
2117
+ path: "/api/v1/context/org-learnings/{uid}",
2118
+ service: "modus-api",
2119
+ serverUrl: "https://api.getmodus.com",
2120
+ pathParams: ["uid"],
2121
+ queryParams: [],
2122
+ requestSchema: "UpdateOrgLearningDto",
2123
+ responseSchema: "OrgLearningUidResponseDto",
2124
+ idempotent: false
2125
+ },
2126
+ "OrgMembersController_list": {
2127
+ method: "GET",
2128
+ path: "/api/v1/users/org-members",
2129
+ service: "modus-api",
2130
+ serverUrl: "https://api.getmodus.com",
2131
+ pathParams: [],
2132
+ queryParams: [],
2133
+ requestSchema: null,
2134
+ responseSchema: "ListOrgMembersResponseDto",
2135
+ idempotent: false
2136
+ },
2137
+ "OrgSettingsController_list": {
2138
+ method: "GET",
2139
+ path: "/api/v1/users/organization/settings",
2140
+ service: "modus-api",
2141
+ serverUrl: "https://api.getmodus.com",
2142
+ pathParams: [],
2143
+ queryParams: [],
2144
+ requestSchema: null,
2145
+ responseSchema: "OrganizationSettingsDto",
2146
+ idempotent: false
2147
+ },
2148
+ "OrgSettingsController_reset": {
2149
+ method: "DELETE",
2150
+ path: "/api/v1/users/organization/settings/{key}",
2151
+ service: "modus-api",
2152
+ serverUrl: "https://api.getmodus.com",
2153
+ pathParams: ["key"],
2154
+ queryParams: [],
2155
+ requestSchema: null,
2156
+ responseSchema: null,
2157
+ idempotent: false
2158
+ },
2159
+ "OrgSettingsController_set": {
2160
+ method: "PUT",
2161
+ path: "/api/v1/users/organization/settings/{key}",
2162
+ service: "modus-api",
2163
+ serverUrl: "https://api.getmodus.com",
2164
+ pathParams: ["key"],
2165
+ queryParams: [],
2166
+ requestSchema: "SetOrgSettingDto",
2167
+ responseSchema: "SettingValueResponseDto",
2168
+ idempotent: false
2169
+ },
2170
+ "OrganizationController_getModelSettings": {
2171
+ method: "GET",
2172
+ path: "/api/v1/users/organization/models",
2173
+ service: "modus-api",
2174
+ serverUrl: "https://api.getmodus.com",
2175
+ pathParams: [],
2176
+ queryParams: [],
2177
+ requestSchema: null,
2178
+ responseSchema: "OrganizationModelSettingsDto",
2179
+ idempotent: false
2180
+ },
2181
+ "OrganizationController_getProfile": {
2182
+ method: "GET",
2183
+ path: "/api/v1/users/organization/profile",
2184
+ service: "modus-api",
2185
+ serverUrl: "https://api.getmodus.com",
2186
+ pathParams: [],
2187
+ queryParams: [],
2188
+ requestSchema: null,
2189
+ responseSchema: "OrganizationProfileDto",
2190
+ idempotent: false
2191
+ },
2192
+ "OrganizationController_update": {
2193
+ method: "PATCH",
2194
+ path: "/api/v1/users/organization",
2195
+ service: "modus-api",
2196
+ serverUrl: "https://api.getmodus.com",
2197
+ pathParams: [],
2198
+ queryParams: ["updateMask"],
2199
+ requestSchema: "UpdateOrganizationDto",
2200
+ responseSchema: "UpdateOrganizationResponseDto",
2201
+ idempotent: false
2202
+ },
2203
+ "OrganizationController_updateModelSettings": {
2204
+ method: "PUT",
2205
+ path: "/api/v1/users/organization/models",
2206
+ service: "modus-api",
2207
+ serverUrl: "https://api.getmodus.com",
2208
+ pathParams: [],
2209
+ queryParams: [],
2210
+ requestSchema: "OrganizationModelSettingsDto",
2211
+ responseSchema: "OrganizationModelSettingsDto",
2212
+ idempotent: false
2213
+ },
2214
+ "OrganizationController_updateProfile": {
2215
+ method: "PATCH",
2216
+ path: "/api/v1/users/organization/profile",
2217
+ service: "modus-api",
2218
+ serverUrl: "https://api.getmodus.com",
2219
+ pathParams: [],
2220
+ queryParams: [],
2221
+ requestSchema: "UpdateOrganizationProfileDto",
2222
+ responseSchema: "OrganizationProfileDto",
2223
+ idempotent: false
2224
+ },
2225
+ "PipedreamController_categorizePublicActions": {
2226
+ method: "POST",
2227
+ path: "/api/v1/connections/pipedream/actions/categorization",
2228
+ service: "modus-api",
2229
+ serverUrl: "https://api.getmodus.com",
2230
+ pathParams: [],
2231
+ queryParams: [],
2232
+ requestSchema: "CategorizePipedreamActionsDto",
2233
+ responseSchema: "CategorizePipedreamActionsResponse",
2234
+ idempotent: false
2235
+ },
2236
+ "PipedreamController_disconnectAccount": {
2237
+ method: "DELETE",
2238
+ path: "/api/v1/connections/pipedream/accounts/{accountId}",
2239
+ service: "modus-api",
2240
+ serverUrl: "https://api.getmodus.com",
2241
+ pathParams: ["accountId"],
2242
+ queryParams: [],
2243
+ requestSchema: null,
2244
+ responseSchema: "DisconnectPipedreamAccountResponse",
2245
+ idempotent: false
2246
+ },
2247
+ "PipedreamController_listAccountSummaries": {
2248
+ method: "GET",
2249
+ path: "/api/v1/connections/pipedream/account-summaries",
633
2250
  service: "modus-api",
634
2251
  serverUrl: "https://api.getmodus.com",
635
2252
  pathParams: [],
636
- queryParams: [],
637
- requestSchema: "ModusContextRequestDto",
638
- responseSchema: "ModusContextResponseDto",
2253
+ queryParams: ["limit", "before", "after", "oauthAppId", "app"],
2254
+ requestSchema: null,
2255
+ responseSchema: "ListPipedreamAccountsResponse",
639
2256
  idempotent: false
640
2257
  },
641
- "ModusConversationsController_get": {
2258
+ "PipedreamController_listActions": {
642
2259
  method: "GET",
643
- path: "/api/v1/modus/conversations/{threadId}",
2260
+ path: "/api/v1/connections/pipedream/apps/{slug}/actions",
644
2261
  service: "modus-api",
645
2262
  serverUrl: "https://api.getmodus.com",
646
- pathParams: ["threadId"],
647
- queryParams: [],
2263
+ pathParams: ["slug"],
2264
+ queryParams: ["limit", "before", "after", "q"],
648
2265
  requestSchema: null,
649
- responseSchema: "ConversationDto",
2266
+ responseSchema: "ListPipedreamActionsResponse",
650
2267
  idempotent: false
651
2268
  },
652
- "ModusConversationsController_list": {
2269
+ "PipedreamController_listApps": {
653
2270
  method: "GET",
654
- path: "/api/v1/modus/conversations",
2271
+ path: "/api/v1/connections/pipedream/apps",
655
2272
  service: "modus-api",
656
2273
  serverUrl: "https://api.getmodus.com",
657
2274
  pathParams: [],
658
- queryParams: ["pageToken", "page", "pageSize", "userId", "toolName", "source", "sourceRef", "timeframe", "includeTools", "kind"],
2275
+ queryParams: ["limit", "before", "after", "search"],
659
2276
  requestSchema: null,
660
- responseSchema: "ListConversationsResponseDto",
2277
+ responseSchema: "ListPipedreamAppsResponse",
661
2278
  idempotent: false
662
2279
  },
663
- "ModusRunsController_create": {
2280
+ "PublicScopeBuilderController_create": {
664
2281
  method: "POST",
665
- path: "/agent/v1/modus/runs",
2282
+ path: "/agent/v1/scopes/{scopeId}/builder/runs",
666
2283
  service: "agent-service",
667
2284
  serverUrl: "https://agent.getmodus.com",
668
- pathParams: [],
2285
+ pathParams: ["scopeId"],
669
2286
  queryParams: [],
670
- requestSchema: "ModusRunDto",
2287
+ requestSchema: "RunEnvelopeDto",
671
2288
  responseSchema: null,
672
2289
  idempotent: false
673
2290
  },
674
- "OrgMembersController_list": {
2291
+ "PublicScopeBuilderController_resume": {
2292
+ method: "POST",
2293
+ path: "/agent/v1/scopes/{scopeId}/builder/runs/{runId}/resume",
2294
+ service: "agent-service",
2295
+ serverUrl: "https://agent.getmodus.com",
2296
+ pathParams: ["scopeId", "runId"],
2297
+ queryParams: [],
2298
+ requestSchema: "ResumeRunDto",
2299
+ responseSchema: null,
2300
+ idempotent: false
2301
+ },
2302
+ "PublicWorkflowCopilotController_create": {
2303
+ method: "POST",
2304
+ path: "/agent/v1/workflows/{workflowId}/copilot/runs",
2305
+ service: "agent-service",
2306
+ serverUrl: "https://agent.getmodus.com",
2307
+ pathParams: ["workflowId"],
2308
+ queryParams: [],
2309
+ requestSchema: "CopilotRunDto",
2310
+ responseSchema: null,
2311
+ idempotent: false
2312
+ },
2313
+ "PublishedArtifactsController_get": {
675
2314
  method: "GET",
676
- path: "/api/v1/users/org-members",
2315
+ path: "/api/v1/published-files/{name}",
677
2316
  service: "modus-api",
678
2317
  serverUrl: "https://api.getmodus.com",
679
- pathParams: [],
2318
+ pathParams: ["name"],
680
2319
  queryParams: [],
681
2320
  requestSchema: null,
682
- responseSchema: "ListOrgMembersResponseDto",
2321
+ responseSchema: "PublishedArtifactDownloadDto",
683
2322
  idempotent: false
684
2323
  },
685
2324
  "ResumeRunsController_create": {
@@ -792,6 +2431,39 @@ var OPERATIONS = {
792
2431
  responseSchema: "ComposeSkillContextResponseDto",
793
2432
  idempotent: false
794
2433
  },
2434
+ "ScopeConversationsController_delete": {
2435
+ method: "DELETE",
2436
+ path: "/api/v1/scopes/{id}/conversations/{threadId}",
2437
+ service: "modus-api",
2438
+ serverUrl: "https://api.getmodus.com",
2439
+ pathParams: ["id", "threadId"],
2440
+ queryParams: [],
2441
+ requestSchema: null,
2442
+ responseSchema: null,
2443
+ idempotent: false
2444
+ },
2445
+ "ScopeConversationsController_file": {
2446
+ method: "GET",
2447
+ path: "/api/v1/scopes/{id}/conversations/{threadId}/files/{filePath}",
2448
+ service: "modus-api",
2449
+ serverUrl: "https://api.getmodus.com",
2450
+ pathParams: ["id", "threadId", "filePath"],
2451
+ queryParams: [],
2452
+ requestSchema: null,
2453
+ responseSchema: "ConversationFileDownloadDto",
2454
+ idempotent: false
2455
+ },
2456
+ "ScopeConversationsController_files": {
2457
+ method: "GET",
2458
+ path: "/api/v1/scopes/{id}/conversations/{threadId}/files",
2459
+ service: "modus-api",
2460
+ serverUrl: "https://api.getmodus.com",
2461
+ pathParams: ["id", "threadId"],
2462
+ queryParams: [],
2463
+ requestSchema: null,
2464
+ responseSchema: "ConversationFilesResponseDto",
2465
+ idempotent: false
2466
+ },
795
2467
  "ScopeConversationsController_get": {
796
2468
  method: "GET",
797
2469
  path: "/api/v1/scopes/{id}/conversations/{threadId}",
@@ -814,6 +2486,61 @@ var OPERATIONS = {
814
2486
  responseSchema: "ListConversationsResponseDto",
815
2487
  idempotent: false
816
2488
  },
2489
+ "ScopeConversationsController_rename": {
2490
+ method: "PATCH",
2491
+ path: "/api/v1/scopes/{id}/conversations/{threadId}",
2492
+ service: "modus-api",
2493
+ serverUrl: "https://api.getmodus.com",
2494
+ pathParams: ["id", "threadId"],
2495
+ queryParams: ["updateMask"],
2496
+ requestSchema: "RenameConversationRequestDto",
2497
+ responseSchema: "RenameConversationResponseDto",
2498
+ idempotent: false
2499
+ },
2500
+ "ScopeConversationsController_search": {
2501
+ method: "GET",
2502
+ path: "/api/v1/scopes/{id}/conversations/search",
2503
+ service: "modus-api",
2504
+ serverUrl: "https://api.getmodus.com",
2505
+ pathParams: ["id"],
2506
+ queryParams: ["q", "limitPerLevel"],
2507
+ requestSchema: null,
2508
+ responseSchema: "SearchConversationsResponseDto",
2509
+ idempotent: false
2510
+ },
2511
+ "ScopeDescriptionController_generate": {
2512
+ method: "POST",
2513
+ path: "/api/v1/scopes/{id}/description/generate",
2514
+ service: "modus-api",
2515
+ serverUrl: "https://api.getmodus.com",
2516
+ pathParams: ["id"],
2517
+ queryParams: [],
2518
+ requestSchema: "GenerateDescriptionRequestDto",
2519
+ responseSchema: "GeneratedDescriptionDto",
2520
+ idempotent: false
2521
+ },
2522
+ "ScopeDescriptionController_getGenerated": {
2523
+ method: "GET",
2524
+ path: "/api/v1/scopes/{id}/description/generated",
2525
+ service: "modus-api",
2526
+ serverUrl: "https://api.getmodus.com",
2527
+ pathParams: ["id"],
2528
+ queryParams: ["variationId"],
2529
+ requestSchema: null,
2530
+ responseSchema: "CachedDescriptionDto",
2531
+ idempotent: false
2532
+ },
2533
+ "ScopeGoalOptionsController_get": {
2534
+ method: "GET",
2535
+ path: "/api/v1/scopes/{id}/builder/goal-options",
2536
+ service: "modus-api",
2537
+ serverUrl: "https://api.getmodus.com",
2538
+ pathParams: ["id"],
2539
+ queryParams: [],
2540
+ requestSchema: null,
2541
+ responseSchema: "ScopeGoalOptionsDto",
2542
+ idempotent: false
2543
+ },
817
2544
  "ScopeInterfacesController_add": {
818
2545
  method: "POST",
819
2546
  path: "/api/v1/scopes/{id}/interfaces",
@@ -858,6 +2585,50 @@ var OPERATIONS = {
858
2585
  responseSchema: "ScopeInterfaceDto",
859
2586
  idempotent: false
860
2587
  },
2588
+ "ScopeMcpConnectionsController_create": {
2589
+ method: "POST",
2590
+ path: "/api/v1/scopes/{id}/mcp-connections",
2591
+ service: "modus-api",
2592
+ serverUrl: "https://api.getmodus.com",
2593
+ pathParams: ["id"],
2594
+ queryParams: [],
2595
+ requestSchema: "TestSaveRequestDto",
2596
+ responseSchema: "McpConnectionDto",
2597
+ idempotent: false
2598
+ },
2599
+ "ScopeMcpConnectionsController_discover": {
2600
+ method: "POST",
2601
+ path: "/api/v1/scopes/mcp-connections/discover",
2602
+ service: "modus-api",
2603
+ serverUrl: "https://api.getmodus.com",
2604
+ pathParams: [],
2605
+ queryParams: [],
2606
+ requestSchema: "DiscoverRequestDto",
2607
+ responseSchema: "DiscoverResponseDto",
2608
+ idempotent: false
2609
+ },
2610
+ "ScopeMcpConnectionsController_get": {
2611
+ method: "GET",
2612
+ path: "/api/v1/scopes/{id}/mcp-connections/{connId}",
2613
+ service: "modus-api",
2614
+ serverUrl: "https://api.getmodus.com",
2615
+ pathParams: ["id", "connId"],
2616
+ queryParams: [],
2617
+ requestSchema: null,
2618
+ responseSchema: "McpConnectionDetailDto",
2619
+ idempotent: false
2620
+ },
2621
+ "ScopeMcpConnectionsController_list": {
2622
+ method: "GET",
2623
+ path: "/api/v1/scopes/{id}/mcp-connections",
2624
+ service: "modus-api",
2625
+ serverUrl: "https://api.getmodus.com",
2626
+ pathParams: ["id"],
2627
+ queryParams: [],
2628
+ requestSchema: null,
2629
+ responseSchema: "ListMcpConnectionsResponseDto",
2630
+ idempotent: false
2631
+ },
861
2632
  "ScopeMemoriesController_delete": {
862
2633
  method: "DELETE",
863
2634
  path: "/api/v1/scopes/{id}/memories/{memoryId}",
@@ -902,6 +2673,39 @@ var OPERATIONS = {
902
2673
  responseSchema: null,
903
2674
  idempotent: false
904
2675
  },
2676
+ "ScopePublishedArtifactsController_list": {
2677
+ method: "GET",
2678
+ path: "/api/v1/scopes/{id}/published-files",
2679
+ service: "modus-api",
2680
+ serverUrl: "https://api.getmodus.com",
2681
+ pathParams: ["id"],
2682
+ queryParams: [],
2683
+ requestSchema: null,
2684
+ responseSchema: "PublishedArtifactListResponseDto",
2685
+ idempotent: false
2686
+ },
2687
+ "ScopePublishedArtifactsController_unpublish": {
2688
+ method: "DELETE",
2689
+ path: "/api/v1/scopes/{id}/published-files/{name}",
2690
+ service: "modus-api",
2691
+ serverUrl: "https://api.getmodus.com",
2692
+ pathParams: ["id", "name"],
2693
+ queryParams: [],
2694
+ requestSchema: null,
2695
+ responseSchema: null,
2696
+ idempotent: false
2697
+ },
2698
+ "ScopeRoutingController_route": {
2699
+ method: "POST",
2700
+ path: "/api/v1/scopes/route",
2701
+ service: "modus-api",
2702
+ serverUrl: "https://api.getmodus.com",
2703
+ pathParams: [],
2704
+ queryParams: [],
2705
+ requestSchema: "RouteScopeRequestDto",
2706
+ responseSchema: "RouteScopeResponseDto",
2707
+ idempotent: false
2708
+ },
905
2709
  "ScopeRunsController_create": {
906
2710
  method: "POST",
907
2711
  path: "/agent/v1/scopes/{id}/runs",
@@ -970,7 +2774,7 @@ var OPERATIONS = {
970
2774
  },
971
2775
  "ScopesController_applySelectionOps": {
972
2776
  method: "POST",
973
- path: "/api/v1/scopes/{id}/applySelectionOps",
2777
+ path: "/api/v1/scopes/{id}/apply-selection",
974
2778
  service: "modus-api",
975
2779
  serverUrl: "https://api.getmodus.com",
976
2780
  pathParams: ["id"],
@@ -1045,92 +2849,202 @@ var OPERATIONS = {
1045
2849
  responseSchema: "ScopeDto",
1046
2850
  idempotent: false
1047
2851
  },
1048
- "ScopesController_getVariation": {
2852
+ "ScopesController_getVariation": {
2853
+ method: "GET",
2854
+ path: "/api/v1/scopes/{id}/variations/{variationUid}",
2855
+ service: "modus-api",
2856
+ serverUrl: "https://api.getmodus.com",
2857
+ pathParams: ["id", "variationUid"],
2858
+ queryParams: [],
2859
+ requestSchema: null,
2860
+ responseSchema: "ScopeDto",
2861
+ idempotent: false
2862
+ },
2863
+ "ScopesController_list": {
2864
+ method: "GET",
2865
+ path: "/api/v1/scopes",
2866
+ service: "modus-api",
2867
+ serverUrl: "https://api.getmodus.com",
2868
+ pathParams: [],
2869
+ queryParams: ["pageToken", "pageSize", "view", "search", "managerId", "includeVariation"],
2870
+ requestSchema: null,
2871
+ responseSchema: "ListSkillsResponseDto",
2872
+ idempotent: false
2873
+ },
2874
+ "ScopesController_listVariations": {
2875
+ method: "GET",
2876
+ path: "/api/v1/scopes/{id}/variations",
2877
+ service: "modus-api",
2878
+ serverUrl: "https://api.getmodus.com",
2879
+ pathParams: ["id"],
2880
+ queryParams: ["limit"],
2881
+ requestSchema: null,
2882
+ responseSchema: "ListSkillVariationsResponseDto",
2883
+ idempotent: false
2884
+ },
2885
+ "ScopesController_mcpExposureCatalog": {
2886
+ method: "POST",
2887
+ path: "/api/v1/scopes/{id}/mcp-exposure-catalog",
2888
+ service: "modus-api",
2889
+ serverUrl: "https://api.getmodus.com",
2890
+ pathParams: ["id"],
2891
+ queryParams: [],
2892
+ requestSchema: "McpExposureCatalogRequestDto",
2893
+ responseSchema: "McpExposureCatalogResponseDto",
2894
+ idempotent: true
2895
+ },
2896
+ "ScopesController_patchMcpConfig": {
2897
+ method: "PATCH",
2898
+ path: "/api/v1/scopes/{id}/mcp-config",
2899
+ service: "modus-api",
2900
+ serverUrl: "https://api.getmodus.com",
2901
+ pathParams: ["id"],
2902
+ queryParams: [],
2903
+ requestSchema: "PatchSkillMcpConfigDto",
2904
+ responseSchema: "PatchSkillMcpConfigResponseDto",
2905
+ idempotent: false
2906
+ },
2907
+ "ScopesController_requestOwnershipTransfer": {
2908
+ method: "POST",
2909
+ path: "/api/v1/scopes/{id}/transfer-ownership",
2910
+ service: "modus-api",
2911
+ serverUrl: "https://api.getmodus.com",
2912
+ pathParams: ["id"],
2913
+ queryParams: [],
2914
+ requestSchema: "TransferOwnershipDto",
2915
+ responseSchema: "ScopeDto",
2916
+ idempotent: false
2917
+ },
2918
+ "ScopesController_restore": {
2919
+ method: "POST",
2920
+ path: "/api/v1/scopes/{id}/restore",
2921
+ service: "modus-api",
2922
+ serverUrl: "https://api.getmodus.com",
2923
+ pathParams: ["id"],
2924
+ queryParams: [],
2925
+ requestSchema: null,
2926
+ responseSchema: "ScopeDto",
2927
+ idempotent: false
2928
+ },
2929
+ "ScopesController_selectableCallTargets": {
2930
+ method: "GET",
2931
+ path: "/api/v1/scopes/{id}/selectable-call-targets",
2932
+ service: "modus-api",
2933
+ serverUrl: "https://api.getmodus.com",
2934
+ pathParams: ["id"],
2935
+ queryParams: [],
2936
+ requestSchema: null,
2937
+ responseSchema: null,
2938
+ idempotent: false
2939
+ },
2940
+ "ScopesController_update": {
2941
+ method: "PATCH",
2942
+ path: "/api/v1/scopes/{id}",
2943
+ service: "modus-api",
2944
+ serverUrl: "https://api.getmodus.com",
2945
+ pathParams: ["id"],
2946
+ queryParams: ["updateMask"],
2947
+ requestSchema: "UpdateSkillDto",
2948
+ responseSchema: "ScopeDto",
2949
+ idempotent: false
2950
+ },
2951
+ "ScopesController_updateEvaluationCase": {
2952
+ method: "PATCH",
2953
+ path: "/api/v1/scopes/{id}/evaluations/cases/{caseId}",
2954
+ service: "modus-api",
2955
+ serverUrl: "https://api.getmodus.com",
2956
+ pathParams: ["id", "caseId"],
2957
+ queryParams: [],
2958
+ requestSchema: "UpdateEvaluationCaseDto",
2959
+ responseSchema: "EvaluationCaseDto",
2960
+ idempotent: false
2961
+ },
2962
+ "SecurityController_getSummary": {
1049
2963
  method: "GET",
1050
- path: "/api/v1/scopes/{id}/variations/{variationUid}",
2964
+ path: "/api/v1/security/summary",
1051
2965
  service: "modus-api",
1052
2966
  serverUrl: "https://api.getmodus.com",
1053
- pathParams: ["id", "variationUid"],
2967
+ pathParams: [],
1054
2968
  queryParams: [],
1055
2969
  requestSchema: null,
1056
- responseSchema: "ScopeDto",
2970
+ responseSchema: "SecuritySummaryDto",
1057
2971
  idempotent: false
1058
2972
  },
1059
- "ScopesController_list": {
2973
+ "SecurityController_listGroupAccess": {
1060
2974
  method: "GET",
1061
- path: "/api/v1/scopes",
2975
+ path: "/api/v1/security/group-access",
1062
2976
  service: "modus-api",
1063
2977
  serverUrl: "https://api.getmodus.com",
1064
2978
  pathParams: [],
1065
- queryParams: ["pageToken", "pageSize", "view", "search", "managerId", "includeVariation"],
2979
+ queryParams: [],
1066
2980
  requestSchema: null,
1067
- responseSchema: "ListSkillsResponseDto",
2981
+ responseSchema: "GroupAccessResponseDto",
1068
2982
  idempotent: false
1069
2983
  },
1070
- "ScopesController_mcpExposureCatalog": {
1071
- method: "POST",
1072
- path: "/api/v1/scopes/{id}/mcp-exposure-catalog",
2984
+ "SecurityController_listOverrides": {
2985
+ method: "GET",
2986
+ path: "/api/v1/security/classification-overrides",
1073
2987
  service: "modus-api",
1074
2988
  serverUrl: "https://api.getmodus.com",
1075
- pathParams: ["id"],
2989
+ pathParams: [],
1076
2990
  queryParams: [],
1077
- requestSchema: "McpExposureCatalogRequestDto",
1078
- responseSchema: "McpExposureCatalogResponseDto",
1079
- idempotent: true
2991
+ requestSchema: null,
2992
+ responseSchema: "SensitivityOverridesResponseDto",
2993
+ idempotent: false
1080
2994
  },
1081
- "ScopesController_patchMcpConfig": {
1082
- method: "PATCH",
1083
- path: "/api/v1/scopes/{id}/mcp-config",
2995
+ "SecurityController_replaceGroupAccess": {
2996
+ method: "PUT",
2997
+ path: "/api/v1/security/group-access",
1084
2998
  service: "modus-api",
1085
2999
  serverUrl: "https://api.getmodus.com",
1086
- pathParams: ["id"],
3000
+ pathParams: [],
1087
3001
  queryParams: [],
1088
- requestSchema: "PatchSkillMcpConfigDto",
1089
- responseSchema: "PatchSkillMcpConfigResponseDto",
3002
+ requestSchema: "ReplaceGroupAccessDto",
3003
+ responseSchema: "GroupAccessResponseDto",
1090
3004
  idempotent: false
1091
3005
  },
1092
- "ScopesController_requestOwnershipTransfer": {
1093
- method: "POST",
1094
- path: "/api/v1/scopes/{id}/transfer-ownership",
3006
+ "SecurityController_replaceOverrides": {
3007
+ method: "PUT",
3008
+ path: "/api/v1/security/classification-overrides",
1095
3009
  service: "modus-api",
1096
3010
  serverUrl: "https://api.getmodus.com",
1097
- pathParams: ["id"],
3011
+ pathParams: [],
1098
3012
  queryParams: [],
1099
- requestSchema: "TransferOwnershipDto",
1100
- responseSchema: "ScopeDto",
3013
+ requestSchema: "ReplaceSensitivityOverridesDto",
3014
+ responseSchema: "SensitivityOverridesResponseDto",
1101
3015
  idempotent: false
1102
3016
  },
1103
- "ScopesController_restore": {
3017
+ "SlackConnectionController_refreshInventory": {
1104
3018
  method: "POST",
1105
- path: "/api/v1/scopes/{id}/restore",
3019
+ path: "/api/v1/connections/{connectionId}/slack/channels/refresh-inventory",
1106
3020
  service: "modus-api",
1107
3021
  serverUrl: "https://api.getmodus.com",
1108
- pathParams: ["id"],
3022
+ pathParams: ["connectionId"],
1109
3023
  queryParams: [],
1110
3024
  requestSchema: null,
1111
- responseSchema: "ScopeDto",
3025
+ responseSchema: "SlackChannelRefreshResponseDto",
1112
3026
  idempotent: false
1113
3027
  },
1114
- "ScopesController_update": {
1115
- method: "PATCH",
1116
- path: "/api/v1/scopes/{id}",
3028
+ "SlackConnectionController_slackChannels": {
3029
+ method: "GET",
3030
+ path: "/api/v1/connections/{connectionId}/slack/channels",
1117
3031
  service: "modus-api",
1118
3032
  serverUrl: "https://api.getmodus.com",
1119
- pathParams: ["id"],
1120
- queryParams: ["updateMask"],
1121
- requestSchema: "UpdateSkillDto",
1122
- responseSchema: "ScopeDto",
3033
+ pathParams: ["connectionId"],
3034
+ queryParams: ["searchQuery", "offset", "limit"],
3035
+ requestSchema: null,
3036
+ responseSchema: "SlackChannelsResponseDto",
1123
3037
  idempotent: false
1124
3038
  },
1125
- "ScopesController_updateEvaluationCase": {
1126
- method: "PATCH",
1127
- path: "/api/v1/scopes/{id}/evaluations/cases/{caseId}",
3039
+ "SlackConnectionController_slackConnectionRules": {
3040
+ method: "GET",
3041
+ path: "/api/v1/connections/{connectionId}/slack/connection-rules",
1128
3042
  service: "modus-api",
1129
3043
  serverUrl: "https://api.getmodus.com",
1130
- pathParams: ["id", "caseId"],
3044
+ pathParams: ["connectionId"],
1131
3045
  queryParams: [],
1132
- requestSchema: "UpdateEvaluationCaseDto",
1133
- responseSchema: "EvaluationCaseDto",
3046
+ requestSchema: null,
3047
+ responseSchema: "SlackConnectionRulesResponseDto",
1134
3048
  idempotent: false
1135
3049
  },
1136
3050
  "SuggestionsController_listApproved": {
@@ -1155,6 +3069,61 @@ var OPERATIONS = {
1155
3069
  responseSchema: null,
1156
3070
  idempotent: false
1157
3071
  },
3072
+ "SupportTicketsController_create": {
3073
+ method: "POST",
3074
+ path: "/api/v1/users/support-tickets",
3075
+ service: "modus-api",
3076
+ serverUrl: "https://api.getmodus.com",
3077
+ pathParams: [],
3078
+ queryParams: [],
3079
+ requestSchema: "CreateSupportTicketDto",
3080
+ responseSchema: "SupportTicketDto",
3081
+ idempotent: false
3082
+ },
3083
+ "SupportTicketsController_list": {
3084
+ method: "GET",
3085
+ path: "/api/v1/users/support-tickets",
3086
+ service: "modus-api",
3087
+ serverUrl: "https://api.getmodus.com",
3088
+ pathParams: [],
3089
+ queryParams: [],
3090
+ requestSchema: null,
3091
+ responseSchema: "ListSupportTicketsResponseDto",
3092
+ idempotent: false
3093
+ },
3094
+ "ThreadUploadsController_content": {
3095
+ method: "POST",
3096
+ path: "/api/v1/conversations/{threadId}/files/{uploadId}/content-url",
3097
+ service: "modus-api",
3098
+ serverUrl: "https://api.getmodus.com",
3099
+ pathParams: ["threadId", "uploadId"],
3100
+ queryParams: [],
3101
+ requestSchema: "ThreadUploadFileNameDto",
3102
+ responseSchema: "ThreadUploadContentUrlDto",
3103
+ idempotent: false
3104
+ },
3105
+ "ThreadUploadsController_finalize": {
3106
+ method: "POST",
3107
+ path: "/api/v1/conversations/{threadId}/files/{uploadId}/finalize",
3108
+ service: "modus-api",
3109
+ serverUrl: "https://api.getmodus.com",
3110
+ pathParams: ["threadId", "uploadId"],
3111
+ queryParams: [],
3112
+ requestSchema: "ThreadUploadFileNameDto",
3113
+ responseSchema: "ThreadUploadResultDto",
3114
+ idempotent: false
3115
+ },
3116
+ "ThreadUploadsController_uploadUrl": {
3117
+ method: "POST",
3118
+ path: "/api/v1/conversations/{threadId}/files/upload-url",
3119
+ service: "modus-api",
3120
+ serverUrl: "https://api.getmodus.com",
3121
+ pathParams: ["threadId"],
3122
+ queryParams: [],
3123
+ requestSchema: "ThreadUploadUrlDto",
3124
+ responseSchema: "ThreadUploadUrlResponseDto",
3125
+ idempotent: false
3126
+ },
1158
3127
  "ToolsController_list": {
1159
3128
  method: "GET",
1160
3129
  path: "/api/v1/tools",
@@ -1172,7 +3141,7 @@ var OPERATIONS = {
1172
3141
  service: "modus-api",
1173
3142
  serverUrl: "https://api.getmodus.com",
1174
3143
  pathParams: [],
1175
- queryParams: ["since", "until", "rollup", "model", "group_by", "skill_id", "agent_id", "user_id", "interface", "user_email"],
3144
+ queryParams: ["since", "until", "rollup", "model", "group_by", "skill_id", "agent_id", "user_id", "interface", "user_email", "activity", "tool_family", "tool_source"],
1176
3145
  requestSchema: null,
1177
3146
  responseSchema: "ListUsageResponseDto",
1178
3147
  idempotent: false
@@ -1188,6 +3157,61 @@ var OPERATIONS = {
1188
3157
  responseSchema: "ListUsageUsersResponseDto",
1189
3158
  idempotent: false
1190
3159
  },
3160
+ "UsageServiceAccountsController_list": {
3161
+ method: "GET",
3162
+ path: "/api/v1/usage/service-accounts",
3163
+ service: "modus-api",
3164
+ serverUrl: "https://api.getmodus.com",
3165
+ pathParams: [],
3166
+ queryParams: ["since", "until"],
3167
+ requestSchema: null,
3168
+ responseSchema: "UsageServiceAccountsResponseDto",
3169
+ idempotent: false
3170
+ },
3171
+ "UserActivityController_get": {
3172
+ method: "GET",
3173
+ path: "/api/v1/usage/user-activity",
3174
+ service: "modus-api",
3175
+ serverUrl: "https://api.getmodus.com",
3176
+ pathParams: [],
3177
+ queryParams: ["since", "until", "window_since", "window_until", "sa_window_since", "sa_window_until", "include_modus_employees"],
3178
+ requestSchema: null,
3179
+ responseSchema: "UserActivityResponseDto",
3180
+ idempotent: false
3181
+ },
3182
+ "UserPreferencesController_list": {
3183
+ method: "GET",
3184
+ path: "/api/v1/users/me/preferences",
3185
+ service: "modus-api",
3186
+ serverUrl: "https://api.getmodus.com",
3187
+ pathParams: [],
3188
+ queryParams: [],
3189
+ requestSchema: null,
3190
+ responseSchema: "UserPreferencesDto",
3191
+ idempotent: false
3192
+ },
3193
+ "UserPreferencesController_reset": {
3194
+ method: "DELETE",
3195
+ path: "/api/v1/users/me/preferences/{key}",
3196
+ service: "modus-api",
3197
+ serverUrl: "https://api.getmodus.com",
3198
+ pathParams: ["key"],
3199
+ queryParams: [],
3200
+ requestSchema: null,
3201
+ responseSchema: null,
3202
+ idempotent: false
3203
+ },
3204
+ "UserPreferencesController_set": {
3205
+ method: "PUT",
3206
+ path: "/api/v1/users/me/preferences/{key}",
3207
+ service: "modus-api",
3208
+ serverUrl: "https://api.getmodus.com",
3209
+ pathParams: ["key"],
3210
+ queryParams: [],
3211
+ requestSchema: "UserPreferenceInputDto",
3212
+ responseSchema: "SettingValueResponseDto",
3213
+ idempotent: false
3214
+ },
1191
3215
  "WorkflowActionsController_cancel": {
1192
3216
  method: "POST",
1193
3217
  path: "/agent/v1/workflow-actions/{runId}/cancel",
@@ -1210,35 +3234,90 @@ var OPERATIONS = {
1210
3234
  responseSchema: null,
1211
3235
  idempotent: false
1212
3236
  },
1213
- "WorkflowInterfacesController_add": {
3237
+ "WorkflowEmailAddressController_disable": {
1214
3238
  method: "POST",
1215
- path: "/api/v1/workflows/{id}/interfaces",
3239
+ path: "/api/v1/workflows/{id}/email-address/disable",
1216
3240
  service: "modus-api",
1217
3241
  serverUrl: "https://api.getmodus.com",
1218
3242
  pathParams: ["id"],
1219
3243
  queryParams: [],
1220
- requestSchema: "AddAgentInterfaceDto",
1221
- responseSchema: "AgentInterfaceDto",
3244
+ requestSchema: null,
3245
+ responseSchema: "EmailAddressDto",
1222
3246
  idempotent: false
1223
3247
  },
1224
- "WorkflowInterfacesController_delete": {
1225
- method: "DELETE",
1226
- path: "/api/v1/workflows/{id}/interfaces/{interfaceId}",
3248
+ "WorkflowEmailAddressController_enable": {
3249
+ method: "POST",
3250
+ path: "/api/v1/workflows/{id}/email-address/enable",
1227
3251
  service: "modus-api",
1228
3252
  serverUrl: "https://api.getmodus.com",
1229
- pathParams: ["id", "interfaceId"],
3253
+ pathParams: ["id"],
1230
3254
  queryParams: [],
1231
3255
  requestSchema: null,
1232
- responseSchema: null,
3256
+ responseSchema: "EmailAddressDto",
1233
3257
  idempotent: false
1234
3258
  },
1235
- "WorkflowInterfacesController_deleteAll": {
1236
- method: "DELETE",
3259
+ "WorkflowEmailAddressController_get": {
3260
+ method: "GET",
3261
+ path: "/api/v1/workflows/{id}/email-address",
3262
+ service: "modus-api",
3263
+ serverUrl: "https://api.getmodus.com",
3264
+ pathParams: ["id"],
3265
+ queryParams: [],
3266
+ requestSchema: null,
3267
+ responseSchema: "EmailAddressDto",
3268
+ idempotent: false
3269
+ },
3270
+ "WorkflowEmailAddressController_revokePrevious": {
3271
+ method: "POST",
3272
+ path: "/api/v1/workflows/{id}/email-address/previous/revoke",
3273
+ service: "modus-api",
3274
+ serverUrl: "https://api.getmodus.com",
3275
+ pathParams: ["id"],
3276
+ queryParams: [],
3277
+ requestSchema: null,
3278
+ responseSchema: "EmailAddressDto",
3279
+ idempotent: false
3280
+ },
3281
+ "WorkflowEmailAddressController_rotate": {
3282
+ method: "POST",
3283
+ path: "/api/v1/workflows/{id}/email-address/rotate",
3284
+ service: "modus-api",
3285
+ serverUrl: "https://api.getmodus.com",
3286
+ pathParams: ["id"],
3287
+ queryParams: [],
3288
+ requestSchema: null,
3289
+ responseSchema: "EmailAddressDto",
3290
+ idempotent: false
3291
+ },
3292
+ "WorkflowInboundEmailsController_list": {
3293
+ method: "GET",
3294
+ path: "/api/v1/workflows/{id}/inbound-emails",
3295
+ service: "modus-api",
3296
+ serverUrl: "https://api.getmodus.com",
3297
+ pathParams: ["id"],
3298
+ queryParams: ["pageToken", "pageSize"],
3299
+ requestSchema: null,
3300
+ responseSchema: "ListInboundEmailsResponseDto",
3301
+ idempotent: false
3302
+ },
3303
+ "WorkflowInterfacesController_add": {
3304
+ method: "POST",
1237
3305
  path: "/api/v1/workflows/{id}/interfaces",
1238
3306
  service: "modus-api",
1239
3307
  serverUrl: "https://api.getmodus.com",
1240
3308
  pathParams: ["id"],
1241
3309
  queryParams: [],
3310
+ requestSchema: "AddAgentInterfaceDto",
3311
+ responseSchema: "AgentInterfaceDto",
3312
+ idempotent: false
3313
+ },
3314
+ "WorkflowInterfacesController_delete": {
3315
+ method: "DELETE",
3316
+ path: "/api/v1/workflows/{id}/interfaces/{interfaceId}",
3317
+ service: "modus-api",
3318
+ serverUrl: "https://api.getmodus.com",
3319
+ pathParams: ["id", "interfaceId"],
3320
+ queryParams: [],
1242
3321
  requestSchema: null,
1243
3322
  responseSchema: null,
1244
3323
  idempotent: false
@@ -1265,6 +3344,17 @@ var OPERATIONS = {
1265
3344
  responseSchema: "AgentInterfaceDto",
1266
3345
  idempotent: false
1267
3346
  },
3347
+ "WorkflowRunsController_approveStep": {
3348
+ method: "POST",
3349
+ path: "/api/v1/workflows/{id}/runs/{runId}/steps/{stepId}/approve",
3350
+ service: "modus-api",
3351
+ serverUrl: "https://api.getmodus.com",
3352
+ pathParams: ["id", "runId", "stepId"],
3353
+ queryParams: [],
3354
+ requestSchema: "ApproveAutomationRunStepDto",
3355
+ responseSchema: "ApproveAutomationRunStepResponseDto",
3356
+ idempotent: false
3357
+ },
1268
3358
  "WorkflowRunsController_create": {
1269
3359
  method: "POST",
1270
3360
  path: "/agent/v1/workflows/{id}/runs",
@@ -1785,7 +3875,7 @@ function headerValue(headers, name) {
1785
3875
  }
1786
3876
 
1787
3877
  // src/_http.ts
1788
- var USER_AGENT = `modus-typescript/${"0.12.0"} (node/${process.version}; ${process.platform})`;
3878
+ var USER_AGENT = `modus-typescript/${"0.14.0"} (node/${process.version}; ${process.platform})`;
1789
3879
  function buildUrl(baseUrl, path, params) {
1790
3880
  const url = new URL(path.startsWith("/") ? path : `/${path}`, baseUrl);
1791
3881
  if (params) {
@@ -1975,6 +4065,7 @@ var HttpClient = class {
1975
4065
  throw wrapNetworkError(error, baseUrl, method, idempotent, traceId);
1976
4066
  }
1977
4067
  raiseForStatus(response, body, method, idempotent, traceId);
4068
+ if (options.text) return body;
1978
4069
  if (response.status === 204 || !body) return null;
1979
4070
  return parseJsonBody(response, body, traceId);
1980
4071
  }
@@ -1984,6 +4075,9 @@ var HttpClient = class {
1984
4075
  post(path, json, options = {}) {
1985
4076
  return this.request("POST", path, { json, ...options });
1986
4077
  }
4078
+ async postText(path, json, options = {}) {
4079
+ return await this.request("POST", path, { ...options, json, text: true });
4080
+ }
1987
4081
  put(path, json, options = {}) {
1988
4082
  return this.request("PUT", path, { json, ...options });
1989
4083
  }
@@ -2113,19 +4207,20 @@ var WRITE_BODY_ALLOWED_KEYS = {
2113
4207
  ContextItemsController_move: ["destinationFolderUid", "destinationFolderPath"],
2114
4208
  ContextItemsController_update: ["contextType", "content", "description", "userFeedback", "topics"],
2115
4209
  ContextItemsQueryController_query: ["sql", "maxRows"],
4210
+ ContextSuggestionsController_approve: ["optionIndex"],
2116
4211
  CustomContextItemsController_batchCreate: ["items"],
2117
- CustomContextItemsController_batchDelete: ["sourceId", "collectionId", "externalId", "kind", "cascade", "cursor"],
4212
+ CustomContextItemsController_batchDelete: ["collectionId", "externalId", "kind", "cascade", "cursor"],
2118
4213
  CustomContextItemsController_create: ["kind", "sourceId", "sourceName", "collectionId", "collectionName", "externalId", "fieldName", "name", "entityType", "description", "content", "url", "attributes", "dataType", "value", "samples", "raw", "topics", "idempotencyKey", "access"],
2119
4214
  CustomContextItemsController_createRelations: ["relations"],
2120
4215
  CustomContextItemsController_update: ["name", "entityType", "description", "content", "url", "attributes", "dataType", "value", "samples", "raw", "topics"],
2121
4216
  DashboardsController_create: ["title", "description", "definition", "access"],
2122
- DashboardsController_createElement: ["expectedRevision", "kind", "title", "layout"],
4217
+ DashboardsController_createElement: ["expectedRevision", "kind", "title", "layout", "tabId"],
2123
4218
  DashboardsController_publish: ["expectedRevision"],
2124
4219
  DashboardsController_transferOwnership: ["newOwnerUserId"],
2125
4220
  DashboardsController_updateAccess: ["visibility", "groupPermissions", "sharedWith"],
2126
4221
  DashboardsController_updateDraft: ["expectedRevision", "title", "description", "definition"],
2127
4222
  DashboardsController_updateElement: ["expectedRevision", "patch"],
2128
- DashboardsController_updateLayout: ["expectedRevision", "elements"],
4223
+ DashboardsController_updateLayout: ["expectedRevision", "elements", "tabs"],
2129
4224
  EvaluationsController_updateConfig: ["enabled", "cadence", "judgeModel", "judgeGuidance", "notifications"],
2130
4225
  IngestedDataController_upload: ["integration_type", "request", "response"],
2131
4226
  ModusContextComposeController_compose: ["message", "limit"],
@@ -2219,6 +4314,7 @@ var CHAT_MODELS = [
2219
4314
  "gemini-3.1-pro-preview",
2220
4315
  "gemini-3-flash-preview",
2221
4316
  "gemini-3.8-flash",
4317
+ "gemini-4-neon",
2222
4318
  "grok-4.3-fast",
2223
4319
  "grok-4.3",
2224
4320
  "grok-4.7",
@@ -2286,13 +4382,13 @@ async function invokeOperation(http, operationId, options = {}) {
2286
4382
  case "GET":
2287
4383
  return http.get(path, params, requestOptions);
2288
4384
  case "POST":
2289
- return http.post(path, options.jsonBody, { ...requestOptions, idempotent: op.idempotent });
4385
+ return http.post(path, options.jsonBody, { ...requestOptions, params, idempotent: op.idempotent });
2290
4386
  case "PUT":
2291
4387
  return http.put(path, options.jsonBody, requestOptions);
2292
4388
  case "PATCH":
2293
4389
  return http.patch(path, options.jsonBody, params, requestOptions);
2294
4390
  case "DELETE":
2295
- return http.delete(path, requestOptions);
4391
+ return http.delete(path, { ...requestOptions, json: options.jsonBody, params });
2296
4392
  default:
2297
4393
  throw new Error(`Unsupported HTTP method ${JSON.stringify(op.method)}`);
2298
4394
  }
@@ -2581,14 +4677,35 @@ var CustomContextItemsResource = class {
2581
4677
  * ```
2582
4678
  */
2583
4679
  async batchDelete(input) {
4680
+ const { sourceId, ...selector } = input;
2584
4681
  return asRecord(
2585
4682
  await invokeWithRetry(this.config, this.http, "CustomContextItemsController_batchDelete", {
2586
- jsonBody: omitUndefined(input)
4683
+ pathParams: { sourceId },
4684
+ jsonBody: omitUndefined(selector)
2587
4685
  })
2588
4686
  );
2589
4687
  }
2590
4688
  };
2591
4689
 
4690
+ // src/_query.ts
4691
+ function updateMaskQuery(updateMask) {
4692
+ if (updateMask === void 0) return void 0;
4693
+ if (!updateMask.trim()) {
4694
+ throw new ValidationError("update_mask must be a non-empty comma-separated list of field names");
4695
+ }
4696
+ return { updateMask };
4697
+ }
4698
+ function updateBody(fields, updateMask) {
4699
+ const body = Object.fromEntries(
4700
+ Object.entries(fields).filter(([, value]) => value !== void 0)
4701
+ );
4702
+ for (const field of updateMask?.split(",") ?? []) {
4703
+ const name = field.trim();
4704
+ if (name && !name.includes(".") && !(name in body)) body[name] = null;
4705
+ }
4706
+ return body;
4707
+ }
4708
+
2592
4709
  // src/_generated/resources/consumption/scopes/conversations.ts
2593
4710
  var ScopesConversationsResourceBase = class {
2594
4711
  /** @internal */
@@ -2648,6 +4765,106 @@ var ScopesConversationsResourceBase = class {
2648
4765
  (token) => this.listPage(pageSize, token, source, sourceRef)
2649
4766
  );
2650
4767
  }
4768
+ /**
4769
+ * Search conversations.
4770
+ *
4771
+ * Search titles and recent messages, returning up to 10 matches per category. Use scope ID 0 to
4772
+ * search your conversation history across scopes.
4773
+ *
4774
+ * **Requires:** `scopes:read`
4775
+ *
4776
+ * @param options.q - Free-text query. Title matches search user-managed titles; content matches
4777
+ * scan recent message bodies.
4778
+ * @param options.limitPerLevel - Maximum matches returned per search level (title and content).
4779
+ * Must be between 1 and 10.
4780
+ */
4781
+ async search(options) {
4782
+ validateId(this.scopeId, "scope_id");
4783
+ const data = await invokeWithRetry(this.config, this.http, "ScopeConversationsController_search", {
4784
+ pathParams: { id: this.scopeId },
4785
+ query: { q: options.q, limitPerLevel: options.limitPerLevel }
4786
+ });
4787
+ return data;
4788
+ }
4789
+ /**
4790
+ * Delete a conversation thread.
4791
+ *
4792
+ * Permanently deletes the conversation and its history. Participants and scope managers may
4793
+ * delete it. Repeated deletion succeeds. Use scope ID 0 for cross-scope history.
4794
+ *
4795
+ * **Requires:** `scopes:write`
4796
+ *
4797
+ * @param threadId - Opaque thread id to delete.
4798
+ */
4799
+ async delete(threadId) {
4800
+ validateId(threadId, "thread_id");
4801
+ validateId(this.scopeId, "scope_id");
4802
+ await invokeWithRetry(this.config, this.http, "ScopeConversationsController_delete", {
4803
+ pathParams: { id: this.scopeId, threadId }
4804
+ });
4805
+ }
4806
+ /**
4807
+ * Rename a conversation thread.
4808
+ *
4809
+ * Participants can update the conversation title. Use scope ID 0 for cross-scope history. An
4810
+ * update mask excluding title leaves it unchanged.
4811
+ *
4812
+ * **Requires:** `scopes:write`
4813
+ *
4814
+ * @param threadId - Opaque thread id to rename.
4815
+ * @param request - Request body; see `ConversationRenameRequest`.
4816
+ * @param options.updateMask - Comma-separated list of fields to update. Omit to update all
4817
+ * provided fields.
4818
+ */
4819
+ async rename(threadId, request, options = {}) {
4820
+ validateId(threadId, "thread_id");
4821
+ validateId(this.scopeId, "scope_id");
4822
+ const data = await invokeWithRetry(this.config, this.http, "ScopeConversationsController_rename", {
4823
+ pathParams: { id: this.scopeId, threadId },
4824
+ query: updateMaskQuery(options.updateMask),
4825
+ jsonBody: request
4826
+ });
4827
+ return data;
4828
+ }
4829
+ /**
4830
+ * List files attached to a conversation thread.
4831
+ *
4832
+ * Returns file metadata. Download a file with its path. Participants and explicit recipients can
4833
+ * list a conversation’s files.
4834
+ *
4835
+ * **Requires:** `scopes:read`
4836
+ *
4837
+ * @param threadId - Opaque thread id whose files to enumerate.
4838
+ */
4839
+ async files(threadId) {
4840
+ validateId(threadId, "thread_id");
4841
+ validateId(this.scopeId, "scope_id");
4842
+ const data = await invokeWithRetry(this.config, this.http, "ScopeConversationsController_files", {
4843
+ pathParams: { id: this.scopeId, threadId }
4844
+ });
4845
+ return data;
4846
+ }
4847
+ /**
4848
+ * Download a conversation file.
4849
+ *
4850
+ * Returns a file as base64. Encode slashes in filePath as %2F. Participants, explicit recipients
4851
+ * and system callers may download; scope ID 0 selects cross-scope history.
4852
+ *
4853
+ * **Requires:** `scopes:read`
4854
+ *
4855
+ * @param threadId - Opaque thread/checkpoint id that contains the file.
4856
+ * @param filePath - URL-encoded path to the file in the deepagents virtual filesystem (e.g.
4857
+ * `%2Foutput%2Freport.csv`).
4858
+ */
4859
+ async file(threadId, filePath) {
4860
+ validateId(threadId, "thread_id");
4861
+ validateId(filePath, "file_path");
4862
+ validateId(this.scopeId, "scope_id");
4863
+ const data = await invokeWithRetry(this.config, this.http, "ScopeConversationsController_file", {
4864
+ pathParams: { id: this.scopeId, threadId, filePath }
4865
+ });
4866
+ return data;
4867
+ }
2651
4868
  };
2652
4869
 
2653
4870
  // src/resources/scopes/conversations.ts
@@ -2724,6 +4941,8 @@ export {
2724
4941
  omitUndefined,
2725
4942
  asRecord,
2726
4943
  CustomContextItemsResource,
4944
+ updateMaskQuery,
4945
+ updateBody,
2727
4946
  ScopeConversationsResource
2728
4947
  };
2729
- //# sourceMappingURL=chunk-3CKUUDEJ.js.map
4948
+ //# sourceMappingURL=chunk-SDGHNRZY.js.map