@omnara/sdk 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +1 -0
- package/dist/browser.js +5 -4
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-Y2BIF75C.js → chunk-IOMLNLUZ.js} +2 -2
- package/dist/{chunk-PWJRR6EE.js → chunk-MFYTIZB5.js} +338 -47
- package/dist/chunk-MFYTIZB5.js.map +1 -0
- package/dist/{chunk-LEXWVGES.js → chunk-U75SRNGF.js} +859 -373
- package/dist/chunk-U75SRNGF.js.map +1 -0
- package/dist/index.d.ts +49 -4
- package/dist/index.js +79 -3
- package/dist/index.js.map +1 -1
- package/dist/{sdk.gen-Dxv4CHxJ.d.ts → sdk.gen-CgYY8k0E.d.ts} +1830 -357
- package/dist/tanstack.d.ts +379 -75
- package/dist/tanstack.js +376 -64
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-Wk8s6exN.d.ts → zod.gen-CGV1WHNJ.d.ts} +6022 -4383
- package/dist/zod.js +203 -43
- package/package.json +1 -1
- package/dist/chunk-LEXWVGES.js.map +0 -1
- package/dist/chunk-PWJRR6EE.js.map +0 -1
- /package/dist/{chunk-Y2BIF75C.js.map → chunk-IOMLNLUZ.js.map} +0 -0
|
@@ -26,6 +26,7 @@ __export(zod_gen_exports, {
|
|
|
26
26
|
zAgentEventId: () => zAgentEventId,
|
|
27
27
|
zAgentEventStreamData: () => zAgentEventStreamData,
|
|
28
28
|
zAgentId: () => zAgentId,
|
|
29
|
+
zAgentIncludeUsage: () => zAgentIncludeUsage,
|
|
29
30
|
zAgentInput: () => zAgentInput,
|
|
30
31
|
zAgentInputContentBlock: () => zAgentInputContentBlock,
|
|
31
32
|
zAgentInputDeliveryMode: () => zAgentInputDeliveryMode,
|
|
@@ -34,9 +35,11 @@ __export(zod_gen_exports, {
|
|
|
34
35
|
zAgentInputId: () => zAgentInputId,
|
|
35
36
|
zAgentInputKind: () => zAgentInputKind,
|
|
36
37
|
zAgentInteraction: () => zAgentInteraction,
|
|
38
|
+
zAgentInteractionDestination: () => zAgentInteractionDestination,
|
|
37
39
|
zAgentInteractionId: () => zAgentInteractionId,
|
|
38
40
|
zAgentInteractionKind: () => zAgentInteractionKind,
|
|
39
41
|
zAgentInteractionState: () => zAgentInteractionState,
|
|
42
|
+
zAgentLaunchInitialInput: () => zAgentLaunchInitialInput,
|
|
40
43
|
zAgentMachineBinding: () => zAgentMachineBinding,
|
|
41
44
|
zAgentMachineBindingId: () => zAgentMachineBindingId,
|
|
42
45
|
zAgentMachineBindingKind: () => zAgentMachineBindingKind,
|
|
@@ -47,6 +50,9 @@ __export(zod_gen_exports, {
|
|
|
47
50
|
zAgentProfile: () => zAgentProfile,
|
|
48
51
|
zAgentProfileCronTriggerTarget: () => zAgentProfileCronTriggerTarget,
|
|
49
52
|
zAgentProfileId: () => zAgentProfileId,
|
|
53
|
+
zAgentProfileIncludeStats: () => zAgentProfileIncludeStats,
|
|
54
|
+
zAgentProfileStats: () => zAgentProfileStats,
|
|
55
|
+
zAgentProfileStatsSince: () => zAgentProfileStatsSince,
|
|
50
56
|
zAgentProfileSummary: () => zAgentProfileSummary,
|
|
51
57
|
zAgentSequence: () => zAgentSequence,
|
|
52
58
|
zAgentSequenceCursor: () => zAgentSequenceCursor,
|
|
@@ -70,6 +76,8 @@ __export(zod_gen_exports, {
|
|
|
70
76
|
zCompiledAgentConfig: () => zCompiledAgentConfig,
|
|
71
77
|
zCompiledAgentModel: () => zCompiledAgentModel,
|
|
72
78
|
zCompiledEventWebhook: () => zCompiledEventWebhook,
|
|
79
|
+
zCompiledGitCredentials: () => zCompiledGitCredentials,
|
|
80
|
+
zCompiledIntegrationCapability: () => zCompiledIntegrationCapability,
|
|
73
81
|
zCompiledMachineSource: () => zCompiledMachineSource,
|
|
74
82
|
zCompiledMcpAuth: () => zCompiledMcpAuth,
|
|
75
83
|
zCompiledMcpAuthBearer: () => zCompiledMcpAuthBearer,
|
|
@@ -85,6 +93,14 @@ __export(zod_gen_exports, {
|
|
|
85
93
|
zCompiledSubagent: () => zCompiledSubagent,
|
|
86
94
|
zCompiledSubagentModel: () => zCompiledSubagentModel,
|
|
87
95
|
zCompiledTool: () => zCompiledTool,
|
|
96
|
+
zConfigAgentToolInputSchema: () => zConfigAgentToolInputSchema,
|
|
97
|
+
zConfigIntegrationCapabilitySource: () => zConfigIntegrationCapabilitySource,
|
|
98
|
+
zConfigToolPermissionSelection: () => zConfigToolPermissionSelection,
|
|
99
|
+
zConfigToolSource: () => zConfigToolSource,
|
|
100
|
+
zConfigureIntegrationBody: () => zConfigureIntegrationBody,
|
|
101
|
+
zConfigureIntegrationPath: () => zConfigureIntegrationPath,
|
|
102
|
+
zConfigureIntegrationRequest: () => zConfigureIntegrationRequest,
|
|
103
|
+
zConfigureIntegrationResponse: () => zConfigureIntegrationResponse,
|
|
88
104
|
zConfiguredModel: () => zConfiguredModel,
|
|
89
105
|
zConfiguredModelId: () => zConfiguredModelId,
|
|
90
106
|
zConfiguredModelList: () => zConfiguredModelList,
|
|
@@ -131,10 +147,25 @@ __export(zod_gen_exports, {
|
|
|
131
147
|
zCreateCronTriggerPath: () => zCreateCronTriggerPath,
|
|
132
148
|
zCreateCronTriggerRequest: () => zCreateCronTriggerRequest,
|
|
133
149
|
zCreateCronTriggerResponse: () => zCreateCronTriggerResponse,
|
|
150
|
+
zCreateGitHubSetupRequest: () => zCreateGitHubSetupRequest,
|
|
151
|
+
zCreateIntegrationBody: () => zCreateIntegrationBody,
|
|
152
|
+
zCreateIntegrationGitHubSetupBody: () => zCreateIntegrationGitHubSetupBody,
|
|
153
|
+
zCreateIntegrationGitHubSetupPath: () => zCreateIntegrationGitHubSetupPath,
|
|
154
|
+
zCreateIntegrationGitHubSetupResponse: () => zCreateIntegrationGitHubSetupResponse,
|
|
134
155
|
zCreateIntegrationOAuthSetupBody: () => zCreateIntegrationOAuthSetupBody,
|
|
135
156
|
zCreateIntegrationOAuthSetupPath: () => zCreateIntegrationOAuthSetupPath,
|
|
136
157
|
zCreateIntegrationOAuthSetupRequest: () => zCreateIntegrationOAuthSetupRequest,
|
|
137
158
|
zCreateIntegrationOAuthSetupResponse: () => zCreateIntegrationOAuthSetupResponse,
|
|
159
|
+
zCreateIntegrationPath: () => zCreateIntegrationPath,
|
|
160
|
+
zCreateIntegrationRequest: () => zCreateIntegrationRequest,
|
|
161
|
+
zCreateIntegrationResponse: () => zCreateIntegrationResponse,
|
|
162
|
+
zCreateIntegrationSlackSetupBody: () => zCreateIntegrationSlackSetupBody,
|
|
163
|
+
zCreateIntegrationSlackSetupPath: () => zCreateIntegrationSlackSetupPath,
|
|
164
|
+
zCreateIntegrationSlackSetupResponse: () => zCreateIntegrationSlackSetupResponse,
|
|
165
|
+
zCreateIntegrationSubscriptionBody: () => zCreateIntegrationSubscriptionBody,
|
|
166
|
+
zCreateIntegrationSubscriptionPath: () => zCreateIntegrationSubscriptionPath,
|
|
167
|
+
zCreateIntegrationSubscriptionRequest: () => zCreateIntegrationSubscriptionRequest,
|
|
168
|
+
zCreateIntegrationSubscriptionResponse: () => zCreateIntegrationSubscriptionResponse,
|
|
138
169
|
zCreateMachineBody: () => zCreateMachineBody,
|
|
139
170
|
zCreateMachineDaemonTokenRequest: () => zCreateMachineDaemonTokenRequest,
|
|
140
171
|
zCreateMachineDaemonTokenResponse: () => zCreateMachineDaemonTokenResponse,
|
|
@@ -211,10 +242,7 @@ __export(zod_gen_exports, {
|
|
|
211
242
|
zCreateSkillPath: () => zCreateSkillPath,
|
|
212
243
|
zCreateSkillRequest: () => zCreateSkillRequest,
|
|
213
244
|
zCreateSkillResponse: () => zCreateSkillResponse,
|
|
214
|
-
zCreateSlackSetupBody: () => zCreateSlackSetupBody,
|
|
215
|
-
zCreateSlackSetupPath: () => zCreateSlackSetupPath,
|
|
216
245
|
zCreateSlackSetupRequest: () => zCreateSlackSetupRequest,
|
|
217
|
-
zCreateSlackSetupResponse: () => zCreateSlackSetupResponse,
|
|
218
246
|
zCreatedResourceListSort: () => zCreatedResourceListSort,
|
|
219
247
|
zCronExpression: () => zCronExpression,
|
|
220
248
|
zCronMessageTemplate: () => zCronMessageTemplate,
|
|
@@ -223,6 +251,8 @@ __export(zod_gen_exports, {
|
|
|
223
251
|
zCronTriggerDeliveryMode: () => zCronTriggerDeliveryMode,
|
|
224
252
|
zCronTriggerFailureReport: () => zCronTriggerFailureReport,
|
|
225
253
|
zCronTriggerId: () => zCronTriggerId,
|
|
254
|
+
zCronTriggerLastRun: () => zCronTriggerLastRun,
|
|
255
|
+
zCronTriggerLastRunState: () => zCronTriggerLastRunState,
|
|
226
256
|
zCronTriggerTarget: () => zCronTriggerTarget,
|
|
227
257
|
zCurrentAgentResponse: () => zCurrentAgentResponse,
|
|
228
258
|
zCurrentUser: () => zCurrentUser,
|
|
@@ -241,8 +271,10 @@ __export(zod_gen_exports, {
|
|
|
241
271
|
zDeleteCronTriggerPath: () => zDeleteCronTriggerPath,
|
|
242
272
|
zDeleteCronTriggerResponse: () => zDeleteCronTriggerResponse,
|
|
243
273
|
zDeleteCurrentUserResponse: () => zDeleteCurrentUserResponse,
|
|
244
|
-
|
|
245
|
-
|
|
274
|
+
zDeleteIntegrationPath: () => zDeleteIntegrationPath,
|
|
275
|
+
zDeleteIntegrationResponse: () => zDeleteIntegrationResponse,
|
|
276
|
+
zDeleteIntegrationSubscriptionPath: () => zDeleteIntegrationSubscriptionPath,
|
|
277
|
+
zDeleteIntegrationSubscriptionResponse: () => zDeleteIntegrationSubscriptionResponse,
|
|
246
278
|
zDeleteMachinePath: () => zDeleteMachinePath,
|
|
247
279
|
zDeleteMachinePoolPath: () => zDeleteMachinePoolPath,
|
|
248
280
|
zDeleteMachinePoolResponse: () => zDeleteMachinePoolResponse,
|
|
@@ -278,6 +310,8 @@ __export(zod_gen_exports, {
|
|
|
278
310
|
zDemoteSteeringInputToQueuedResponse: () => zDemoteSteeringInputToQueuedResponse,
|
|
279
311
|
zDirectSecretAvailability: () => zDirectSecretAvailability,
|
|
280
312
|
zDirectSkillAvailability: () => zDirectSkillAvailability,
|
|
313
|
+
zDisconnectIntegrationPath: () => zDisconnectIntegrationPath,
|
|
314
|
+
zDisconnectIntegrationResponse: () => zDisconnectIntegrationResponse,
|
|
281
315
|
zDiscoveredModelPricing: () => zDiscoveredModelPricing,
|
|
282
316
|
zDiscoveredProviderModel: () => zDiscoveredProviderModel,
|
|
283
317
|
zDownloadDaemonFilePath: () => zDownloadDaemonFilePath,
|
|
@@ -320,9 +354,13 @@ __export(zod_gen_exports, {
|
|
|
320
354
|
zGetCronTriggerPath: () => zGetCronTriggerPath,
|
|
321
355
|
zGetCronTriggerResponse: () => zGetCronTriggerResponse,
|
|
322
356
|
zGetCurrentUserResponse: () => zGetCurrentUserResponse,
|
|
357
|
+
zGetDaemonGitCredentialsPath: () => zGetDaemonGitCredentialsPath,
|
|
358
|
+
zGetDaemonGitCredentialsResponse: () => zGetDaemonGitCredentialsResponse,
|
|
323
359
|
zGetDaemonSkillArchivePath: () => zGetDaemonSkillArchivePath,
|
|
324
360
|
zGetDaemonSkillArchiveQuery: () => zGetDaemonSkillArchiveQuery,
|
|
325
361
|
zGetDaemonSkillArchiveResponse: () => zGetDaemonSkillArchiveResponse,
|
|
362
|
+
zGetIntegrationPath: () => zGetIntegrationPath,
|
|
363
|
+
zGetIntegrationResponse: () => zGetIntegrationResponse,
|
|
326
364
|
zGetMachinePath: () => zGetMachinePath,
|
|
327
365
|
zGetMachinePoolPath: () => zGetMachinePoolPath,
|
|
328
366
|
zGetMachinePoolResponse: () => zGetMachinePoolResponse,
|
|
@@ -336,11 +374,13 @@ __export(zod_gen_exports, {
|
|
|
336
374
|
zGetOrgApiKeyPath: () => zGetOrgApiKeyPath,
|
|
337
375
|
zGetOrgApiKeyResponse: () => zGetOrgApiKeyResponse,
|
|
338
376
|
zGetOrgOverviewPath: () => zGetOrgOverviewPath,
|
|
339
|
-
zGetOrgOverviewQuery: () => zGetOrgOverviewQuery,
|
|
340
377
|
zGetOrgOverviewResponse: () => zGetOrgOverviewResponse,
|
|
341
378
|
zGetOrgUsagePath: () => zGetOrgUsagePath,
|
|
342
379
|
zGetOrgUsageQuery: () => zGetOrgUsageQuery,
|
|
343
380
|
zGetOrgUsageResponse: () => zGetOrgUsageResponse,
|
|
381
|
+
zGetOrgUsageTimeseriesPath: () => zGetOrgUsageTimeseriesPath,
|
|
382
|
+
zGetOrgUsageTimeseriesQuery: () => zGetOrgUsageTimeseriesQuery,
|
|
383
|
+
zGetOrgUsageTimeseriesResponse: () => zGetOrgUsageTimeseriesResponse,
|
|
344
384
|
zGetProjectAvailableSecretPath: () => zGetProjectAvailableSecretPath,
|
|
345
385
|
zGetProjectAvailableSecretResponse: () => zGetProjectAvailableSecretResponse,
|
|
346
386
|
zGetProjectMachinePoolGrantPath: () => zGetProjectMachinePoolGrantPath,
|
|
@@ -353,23 +393,47 @@ __export(zod_gen_exports, {
|
|
|
353
393
|
zGetSkillPath: () => zGetSkillPath,
|
|
354
394
|
zGetSkillResponse: () => zGetSkillResponse,
|
|
355
395
|
zGetToolCatalogResponse: () => zGetToolCatalogResponse,
|
|
396
|
+
zGitHubAppCredentialsSecretMaterial: () => zGitHubAppCredentialsSecretMaterial,
|
|
397
|
+
zGitHubInstallations: () => zGitHubInstallations,
|
|
398
|
+
zGitHubSetup: () => zGitHubSetup,
|
|
399
|
+
zGitHubSetupInstallation: () => zGitHubSetupInstallation,
|
|
356
400
|
zGrantedSecretAvailability: () => zGrantedSecretAvailability,
|
|
357
401
|
zGrantedSkillAvailability: () => zGrantedSkillAvailability,
|
|
358
402
|
zIdempotencyKey: () => zIdempotencyKey,
|
|
359
403
|
zInlineMediaContentBlock: () => zInlineMediaContentBlock,
|
|
404
|
+
zInspectGitHubInstallationsRequest: () => zInspectGitHubInstallationsRequest,
|
|
405
|
+
zInspectIntegrationGitHubInstallationsBody: () => zInspectIntegrationGitHubInstallationsBody,
|
|
406
|
+
zInspectIntegrationGitHubInstallationsPath: () => zInspectIntegrationGitHubInstallationsPath,
|
|
407
|
+
zInspectIntegrationGitHubInstallationsResponse: () => zInspectIntegrationGitHubInstallationsResponse,
|
|
360
408
|
zInstallationId: () => zInstallationId,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
409
|
+
zIntegration: () => zIntegration,
|
|
410
|
+
zIntegrationCapabilities: () => zIntegrationCapabilities,
|
|
411
|
+
zIntegrationCapabilityDefinition: () => zIntegrationCapabilityDefinition,
|
|
412
|
+
zIntegrationConversation: () => zIntegrationConversation,
|
|
413
|
+
zIntegrationCronTriggerTarget: () => zIntegrationCronTriggerTarget,
|
|
414
|
+
zIntegrationDefinition: () => zIntegrationDefinition,
|
|
415
|
+
zIntegrationId: () => zIntegrationId,
|
|
416
|
+
zIntegrationKind: () => zIntegrationKind,
|
|
417
|
+
zIntegrationName: () => zIntegrationName,
|
|
365
418
|
zIntegrationOAuthFlowId: () => zIntegrationOAuthFlowId,
|
|
366
419
|
zIntegrationOAuthSetup: () => zIntegrationOAuthSetup,
|
|
420
|
+
zIntegrationProviderConfig: () => zIntegrationProviderConfig,
|
|
421
|
+
zIntegrationProviderDisplayName: () => zIntegrationProviderDisplayName,
|
|
422
|
+
zIntegrationRuntimeFailure: () => zIntegrationRuntimeFailure,
|
|
423
|
+
zIntegrationSettings: () => zIntegrationSettings,
|
|
424
|
+
zIntegrationState: () => zIntegrationState,
|
|
425
|
+
zIntegrationSubscription: () => zIntegrationSubscription,
|
|
426
|
+
zIntegrationSubscriptionAttachment: () => zIntegrationSubscriptionAttachment,
|
|
427
|
+
zIntegrationSubscriptionDefinition: () => zIntegrationSubscriptionDefinition,
|
|
428
|
+
zIntegrationSubscriptionId: () => zIntegrationSubscriptionId,
|
|
367
429
|
zIntegrationTarget: () => zIntegrationTarget,
|
|
430
|
+
zIntegrationTargetId: () => zIntegrationTargetId,
|
|
368
431
|
zInteractionAnswer: () => zInteractionAnswer,
|
|
369
432
|
zInteractionForm: () => zInteractionForm,
|
|
370
433
|
zInteractionFormContextItem: () => zInteractionFormContextItem,
|
|
371
434
|
zInteractionFormOption: () => zInteractionFormOption,
|
|
372
435
|
zInteractionFormQuestion: () => zInteractionFormQuestion,
|
|
436
|
+
zInteractionPresentationReceipt: () => zInteractionPresentationReceipt,
|
|
373
437
|
zInteractionResolution: () => zInteractionResolution,
|
|
374
438
|
zJsonBlob: () => zJsonBlob,
|
|
375
439
|
zLaunchAgentResponse: () => zLaunchAgentResponse,
|
|
@@ -405,10 +469,17 @@ __export(zod_gen_exports, {
|
|
|
405
469
|
zListEventsPath: () => zListEventsPath,
|
|
406
470
|
zListEventsQuery: () => zListEventsQuery,
|
|
407
471
|
zListEventsResponse: () => zListEventsResponse,
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
472
|
+
zListIntegrationDefinitionsPath: () => zListIntegrationDefinitionsPath,
|
|
473
|
+
zListIntegrationDefinitionsResponse: () => zListIntegrationDefinitionsResponse,
|
|
474
|
+
zListIntegrationDefinitionsResponse2: () => zListIntegrationDefinitionsResponse2,
|
|
475
|
+
zListIntegrationSubscriptionsPath: () => zListIntegrationSubscriptionsPath,
|
|
476
|
+
zListIntegrationSubscriptionsQuery: () => zListIntegrationSubscriptionsQuery,
|
|
477
|
+
zListIntegrationSubscriptionsResponse: () => zListIntegrationSubscriptionsResponse,
|
|
478
|
+
zListIntegrationSubscriptionsResponse2: () => zListIntegrationSubscriptionsResponse2,
|
|
479
|
+
zListIntegrationsPath: () => zListIntegrationsPath,
|
|
480
|
+
zListIntegrationsQuery: () => zListIntegrationsQuery,
|
|
481
|
+
zListIntegrationsResponse: () => zListIntegrationsResponse,
|
|
482
|
+
zListIntegrationsResponse2: () => zListIntegrationsResponse2,
|
|
412
483
|
zListMachineDaemonTokensResponse: () => zListMachineDaemonTokensResponse,
|
|
413
484
|
zListMachinePoolsPath: () => zListMachinePoolsPath,
|
|
414
485
|
zListMachinePoolsQuery: () => zListMachinePoolsQuery,
|
|
@@ -431,6 +502,12 @@ __export(zod_gen_exports, {
|
|
|
431
502
|
zListModelProviderConfigsPath: () => zListModelProviderConfigsPath,
|
|
432
503
|
zListModelProviderConfigsQuery: () => zListModelProviderConfigsQuery,
|
|
433
504
|
zListModelProviderConfigsResponse: () => zListModelProviderConfigsResponse,
|
|
505
|
+
zListOrgAgentProfilesPath: () => zListOrgAgentProfilesPath,
|
|
506
|
+
zListOrgAgentProfilesQuery: () => zListOrgAgentProfilesQuery,
|
|
507
|
+
zListOrgAgentProfilesResponse: () => zListOrgAgentProfilesResponse,
|
|
508
|
+
zListOrgAgentsPath: () => zListOrgAgentsPath,
|
|
509
|
+
zListOrgAgentsQuery: () => zListOrgAgentsQuery,
|
|
510
|
+
zListOrgAgentsResponse: () => zListOrgAgentsResponse,
|
|
434
511
|
zListOrgApiKeyProjectAccessPath: () => zListOrgApiKeyProjectAccessPath,
|
|
435
512
|
zListOrgApiKeyProjectAccessResponse: () => zListOrgApiKeyProjectAccessResponse,
|
|
436
513
|
zListOrgApiKeysPath: () => zListOrgApiKeysPath,
|
|
@@ -611,14 +688,8 @@ __export(zod_gen_exports, {
|
|
|
611
688
|
zOrgInvitationId: () => zOrgInvitationId,
|
|
612
689
|
zOrgMember: () => zOrgMember,
|
|
613
690
|
zOrgOverviewAgentProfileReference: () => zOrgOverviewAgentProfileReference,
|
|
691
|
+
zOrgOverviewProjectActivity: () => zOrgOverviewProjectActivity,
|
|
614
692
|
zOrgOverviewResponse: () => zOrgOverviewResponse,
|
|
615
|
-
zOrgOverviewToday: () => zOrgOverviewToday,
|
|
616
|
-
zOrgOverviewUsage: () => zOrgOverviewUsage,
|
|
617
|
-
zOrgOverviewUsageDay: () => zOrgOverviewUsageDay,
|
|
618
|
-
zOrgOverviewUsageDayModel: () => zOrgOverviewUsageDayModel,
|
|
619
|
-
zOrgOverviewUsageDayProfile: () => zOrgOverviewUsageDayProfile,
|
|
620
|
-
zOrgOverviewUsageModel: () => zOrgOverviewUsageModel,
|
|
621
|
-
zOrgOverviewUsageProfile: () => zOrgOverviewUsageProfile,
|
|
622
693
|
zOrgSecretOwner: () => zOrgSecretOwner,
|
|
623
694
|
zOrgSecretOwnerInput: () => zOrgSecretOwnerInput,
|
|
624
695
|
zOrgSkillOwner: () => zOrgSkillOwner,
|
|
@@ -799,6 +870,10 @@ __export(zod_gen_exports, {
|
|
|
799
870
|
zUpdateCronTriggerPath: () => zUpdateCronTriggerPath,
|
|
800
871
|
zUpdateCronTriggerRequest: () => zUpdateCronTriggerRequest,
|
|
801
872
|
zUpdateCronTriggerResponse: () => zUpdateCronTriggerResponse,
|
|
873
|
+
zUpdateIntegrationBody: () => zUpdateIntegrationBody,
|
|
874
|
+
zUpdateIntegrationPath: () => zUpdateIntegrationPath,
|
|
875
|
+
zUpdateIntegrationRequest: () => zUpdateIntegrationRequest,
|
|
876
|
+
zUpdateIntegrationResponse: () => zUpdateIntegrationResponse,
|
|
802
877
|
zUpdateMachineBody: () => zUpdateMachineBody,
|
|
803
878
|
zUpdateMachinePath: () => zUpdateMachinePath,
|
|
804
879
|
zUpdateMachinePoolBody: () => zUpdateMachinePoolBody,
|
|
@@ -850,6 +925,11 @@ __export(zod_gen_exports, {
|
|
|
850
925
|
zUsageModel: () => zUsageModel,
|
|
851
926
|
zUsageReport: () => zUsageReport,
|
|
852
927
|
zUsageSince: () => zUsageSince,
|
|
928
|
+
zUsageTimeseries: () => zUsageTimeseries,
|
|
929
|
+
zUsageTimeseriesGroupBy: () => zUsageTimeseriesGroupBy,
|
|
930
|
+
zUsageTimeseriesInterval: () => zUsageTimeseriesInterval,
|
|
931
|
+
zUsageTimeseriesMetric: () => zUsageTimeseriesMetric,
|
|
932
|
+
zUsageTimeseriesSeries: () => zUsageTimeseriesSeries,
|
|
853
933
|
zUsageTokenTotals: () => zUsageTokenTotals,
|
|
854
934
|
zUsageTotals: () => zUsageTotals,
|
|
855
935
|
zUsageUntil: () => zUsageUntil,
|
|
@@ -939,7 +1019,7 @@ var zAgentId = z.string().regex(/^agt_[a-z2-7]{26}$/);
|
|
|
939
1019
|
var zAgentConfigId = z.string().regex(/^acfg_[a-z2-7]{26}$/);
|
|
940
1020
|
var zAgentProfileId = z.string().regex(/^aprf_[a-z2-7]{26}$/);
|
|
941
1021
|
var zCronTriggerId = z.string().regex(/^cron_[a-z2-7]{26}$/);
|
|
942
|
-
var
|
|
1022
|
+
var zIntegrationTargetId = z.string().regex(/^itgt_[a-z2-7]{26}$/);
|
|
943
1023
|
var zAgentEventId = z.string().regex(/^evt_[a-z2-7]{26}$/);
|
|
944
1024
|
var zModelCallContextId = z.string().regex(/^mcc_[a-z2-7]{26}$/);
|
|
945
1025
|
var zAgentInputId = z.string().regex(/^ain_[a-z2-7]{26}$/);
|
|
@@ -1356,40 +1436,40 @@ var zMcpoAuthStartResponse = z.object({
|
|
|
1356
1436
|
expires_at: zTimestamp
|
|
1357
1437
|
});
|
|
1358
1438
|
var zCreateIntegrationOAuthSetupRequest = z.object({
|
|
1359
|
-
provider: z.string().optional().default("slack"),
|
|
1360
1439
|
client_id: z.string().min(1),
|
|
1361
1440
|
client_secret: z.string().min(1),
|
|
1362
1441
|
signing_secret: z.string().min(1),
|
|
1363
1442
|
return_to: z.string().optional()
|
|
1364
1443
|
});
|
|
1365
|
-
var
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1444
|
+
var zIntegrationKind = z.enum([
|
|
1445
|
+
"slack_thread",
|
|
1446
|
+
"discord_thread",
|
|
1447
|
+
"github_pr"
|
|
1448
|
+
]);
|
|
1449
|
+
var zIntegrationProviderDisplayName = z.string().max(512);
|
|
1450
|
+
var zIntegrationProviderConfig = z.record(z.string(), z.unknown());
|
|
1451
|
+
var zCreateGitHubSetupRequest = z.object({
|
|
1452
|
+
expected_setup_revision: z.int().gte(1),
|
|
1453
|
+
app_name: z.string().min(1).max(34).optional(),
|
|
1454
|
+
organization: z.string().min(1).max(39).regex(/^[A-Za-z0-9]+(-[A-Za-z0-9]+)*$/).optional()
|
|
1455
|
+
});
|
|
1456
|
+
var zInspectGitHubInstallationsRequest = z.object({
|
|
1457
|
+
credential_secret_id: zSecretId,
|
|
1458
|
+
page: z.int().gte(1).lte(1e3).optional().default(1)
|
|
1380
1459
|
});
|
|
1381
|
-
var
|
|
1382
|
-
|
|
1383
|
-
|
|
1460
|
+
var zGitHubSetupInstallation = z.object({
|
|
1461
|
+
id: z.string().regex(/^[1-9][0-9]*$/),
|
|
1462
|
+
account: z.string(),
|
|
1463
|
+
account_type: z.string().optional(),
|
|
1464
|
+
settings_url: z.url()
|
|
1384
1465
|
});
|
|
1385
|
-
var
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
expires_at: zTimestamp
|
|
1466
|
+
var zGitHubInstallations = z.object({
|
|
1467
|
+
provider_app_id: z.string().regex(/^[1-9][0-9]*$/),
|
|
1468
|
+
name: z.string(),
|
|
1469
|
+
slug: z.string(),
|
|
1470
|
+
install_url: z.url(),
|
|
1471
|
+
installations: z.array(zGitHubSetupInstallation),
|
|
1472
|
+
next_page: z.int().gte(1).lte(1e3).optional()
|
|
1393
1473
|
});
|
|
1394
1474
|
var zSlackSetupIcon = z.object({
|
|
1395
1475
|
filename: z.string().optional(),
|
|
@@ -1401,16 +1481,6 @@ var zCreateSlackSetupRequest = z.object({
|
|
|
1401
1481
|
icon: zSlackSetupIcon.optional(),
|
|
1402
1482
|
return_to: z.string().optional()
|
|
1403
1483
|
});
|
|
1404
|
-
var zSlackSetup = z.object({
|
|
1405
|
-
provider: z.string(),
|
|
1406
|
-
flow_id: zIntegrationOAuthFlowId,
|
|
1407
|
-
slack_app_id: z.string(),
|
|
1408
|
-
oauth_url: z.url(),
|
|
1409
|
-
redirect_uri: z.url(),
|
|
1410
|
-
events_url: z.url(),
|
|
1411
|
-
actions_url: z.url(),
|
|
1412
|
-
expires_at: zTimestamp
|
|
1413
|
-
});
|
|
1414
1484
|
var zResolveAgentConfigToolsRequest = z.object({
|
|
1415
1485
|
source: z.string().min(1),
|
|
1416
1486
|
source_format: z.enum(["yaml", "json"])
|
|
@@ -1608,14 +1678,6 @@ var zCompiledMachineSource = z.object({
|
|
|
1608
1678
|
machine_provider_options_overlay: z.record(z.string(), z.unknown()).optional(),
|
|
1609
1679
|
description: z.string().optional()
|
|
1610
1680
|
});
|
|
1611
|
-
var zCompiledTool = z.object({
|
|
1612
|
-
enabled: z.boolean(),
|
|
1613
|
-
type: z.enum(["built_in", "custom"]).optional(),
|
|
1614
|
-
permission: zToolPermissionSelection,
|
|
1615
|
-
deferred: z.boolean().optional(),
|
|
1616
|
-
description: z.string().optional(),
|
|
1617
|
-
input_schema: z.record(z.string(), z.unknown()).optional()
|
|
1618
|
-
});
|
|
1619
1681
|
var zCompiledMcpAuthBearer = z.object({
|
|
1620
1682
|
type: z.enum(["bearer"]),
|
|
1621
1683
|
secret_id: zSecretId
|
|
@@ -1683,20 +1745,6 @@ var zCompiledSubagent = z.discriminatedUnion("type", [
|
|
|
1683
1745
|
zCompiledSelfSubagent.extend({ type: z.literal("self") }),
|
|
1684
1746
|
zCompiledProfileSubagent.extend({ type: z.literal("profile") })
|
|
1685
1747
|
]);
|
|
1686
|
-
var zCompiledAgentConfig = z.object({
|
|
1687
|
-
version: z.string().optional(),
|
|
1688
|
-
instruction: z.string(),
|
|
1689
|
-
model: zCompiledAgentModel,
|
|
1690
|
-
machine_sources: z.array(zCompiledMachineSource).optional(),
|
|
1691
|
-
tools: z.record(z.string(), zCompiledTool).optional(),
|
|
1692
|
-
mcp: z.record(z.string(), zCompiledMcpServer).optional(),
|
|
1693
|
-
event_webhook: zCompiledEventWebhook.optional(),
|
|
1694
|
-
skills: z.array(zCompiledSkill).optional(),
|
|
1695
|
-
memory_stores: z.array(zCompiledMemoryStore).optional(),
|
|
1696
|
-
subagents: z.record(z.string(), zCompiledSubagent).optional(),
|
|
1697
|
-
max_subagents: z.int().optional(),
|
|
1698
|
-
max_depth: z.int().optional()
|
|
1699
|
-
});
|
|
1700
1748
|
var zAgentConfigSummary = z.object({
|
|
1701
1749
|
id: zAgentConfigId,
|
|
1702
1750
|
org_id: zOrganizationId,
|
|
@@ -1708,18 +1756,6 @@ var zAgentConfigSummary = z.object({
|
|
|
1708
1756
|
instruction_hash: z.string().optional(),
|
|
1709
1757
|
created_at: zTimestamp
|
|
1710
1758
|
});
|
|
1711
|
-
var zAgentConfig = z.object({
|
|
1712
|
-
id: zAgentConfigId,
|
|
1713
|
-
org_id: zOrganizationId,
|
|
1714
|
-
project_id: zProjectId,
|
|
1715
|
-
source: z.string().optional(),
|
|
1716
|
-
source_format: z.enum(["yaml", "json"]).optional(),
|
|
1717
|
-
effective_definition_hash: z.string(),
|
|
1718
|
-
model: zAgentConfigModel,
|
|
1719
|
-
instruction_hash: z.string().optional(),
|
|
1720
|
-
created_at: zTimestamp,
|
|
1721
|
-
compiled_definition: zCompiledAgentConfig
|
|
1722
|
-
});
|
|
1723
1759
|
var zCreateAgentProfileRequest = z.object({
|
|
1724
1760
|
name: zResourceName,
|
|
1725
1761
|
config: zAgentConfigId
|
|
@@ -1731,32 +1767,6 @@ var zUpdateAgentProfileRequest = z.object({
|
|
|
1731
1767
|
var zRenameAgentProfileRequest = z.object({
|
|
1732
1768
|
name: zResourceName
|
|
1733
1769
|
});
|
|
1734
|
-
var zAgentProfileSummary = z.object({
|
|
1735
|
-
id: zAgentProfileId,
|
|
1736
|
-
org_id: zOrganizationId,
|
|
1737
|
-
project_id: zProjectId,
|
|
1738
|
-
name: zResourceName,
|
|
1739
|
-
current_config_id: zAgentConfigId,
|
|
1740
|
-
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1741
|
-
created_at: zTimestamp,
|
|
1742
|
-
updated_at: zTimestamp,
|
|
1743
|
-
current_config: zAgentConfigSummary
|
|
1744
|
-
});
|
|
1745
|
-
var zAgentProfile = z.object({
|
|
1746
|
-
id: zAgentProfileId,
|
|
1747
|
-
org_id: zOrganizationId,
|
|
1748
|
-
project_id: zProjectId,
|
|
1749
|
-
name: zResourceName,
|
|
1750
|
-
current_config_id: zAgentConfigId,
|
|
1751
|
-
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
1752
|
-
created_at: zTimestamp,
|
|
1753
|
-
updated_at: zTimestamp,
|
|
1754
|
-
current_config: zAgentConfig
|
|
1755
|
-
});
|
|
1756
|
-
var zListAgentProfilesResponse = z.object({
|
|
1757
|
-
data: z.array(zAgentProfileSummary),
|
|
1758
|
-
next_cursor: z.string().nullable()
|
|
1759
|
-
});
|
|
1760
1770
|
var zAgentProfileCronTriggerTarget = z.object({
|
|
1761
1771
|
type: z.enum(["profile"]),
|
|
1762
1772
|
agent_profile_id: zAgentProfileId
|
|
@@ -1770,56 +1780,22 @@ var zAgentCronTriggerTarget = z.object({
|
|
|
1770
1780
|
agent_id: zAgentId,
|
|
1771
1781
|
delivery_mode: zCronTriggerDeliveryMode.optional()
|
|
1772
1782
|
});
|
|
1773
|
-
var zCronTriggerTarget = z.discriminatedUnion("type", [
|
|
1774
|
-
zAgentCronTriggerTarget.extend({ type: z.literal("agent") }),
|
|
1775
|
-
zAgentProfileCronTriggerTarget.extend({ type: z.literal("profile") })
|
|
1776
|
-
]);
|
|
1777
1783
|
var zCronTriggerFailureReport = z.object({
|
|
1778
1784
|
message: z.string(),
|
|
1779
1785
|
will_retry: z.boolean(),
|
|
1780
1786
|
failed_at: zTimestamp
|
|
1781
1787
|
});
|
|
1782
|
-
var
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
var zUpdateCronTriggerRequest = z.object({
|
|
1791
|
-
target: zCronTriggerTarget.optional(),
|
|
1792
|
-
name: zResourceName.optional(),
|
|
1793
|
-
cron: zCronExpression.optional(),
|
|
1794
|
-
timezone: zCronTimezone.optional(),
|
|
1795
|
-
message_template: zCronMessageTemplate.optional(),
|
|
1796
|
-
enabled: z.boolean().optional()
|
|
1797
|
-
});
|
|
1798
|
-
var zCronTrigger = z.object({
|
|
1799
|
-
id: zCronTriggerId,
|
|
1800
|
-
org_id: zOrganizationId,
|
|
1801
|
-
project_id: zProjectId,
|
|
1802
|
-
name: zResourceName,
|
|
1803
|
-
target: zCronTriggerTarget,
|
|
1804
|
-
cron: zCronExpression,
|
|
1805
|
-
timezone: zCronTimezone,
|
|
1806
|
-
message_template: zCronMessageTemplate,
|
|
1807
|
-
enabled: z.boolean(),
|
|
1808
|
-
last_fired_at: zTimestamp.nullable(),
|
|
1809
|
-
next_fire_at: zTimestamp.nullable(),
|
|
1810
|
-
failure_report: zCronTriggerFailureReport.nullable(),
|
|
1788
|
+
var zCronTriggerLastRunState = z.enum([
|
|
1789
|
+
"queued",
|
|
1790
|
+
"processing",
|
|
1791
|
+
"completed",
|
|
1792
|
+
"failed"
|
|
1793
|
+
]);
|
|
1794
|
+
var zCronTriggerLastRun = z.object({
|
|
1795
|
+
state: zCronTriggerLastRunState,
|
|
1811
1796
|
created_at: zTimestamp,
|
|
1812
|
-
updated_at: zTimestamp
|
|
1813
|
-
|
|
1814
|
-
var zListCronTriggersResponse = z.object({
|
|
1815
|
-
data: z.array(zCronTrigger),
|
|
1816
|
-
next_cursor: z.string().nullable()
|
|
1817
|
-
});
|
|
1818
|
-
var zCreateAgentRequest = z.object({
|
|
1819
|
-
profile: zAgentProfileId.optional(),
|
|
1820
|
-
config: zAgentConfigId,
|
|
1821
|
-
name: zAgentName.optional(),
|
|
1822
|
-
message: z.string().optional()
|
|
1797
|
+
updated_at: zTimestamp,
|
|
1798
|
+
failure_message: z.string().nullable()
|
|
1823
1799
|
});
|
|
1824
1800
|
var zAgentActivity = z.object({
|
|
1825
1801
|
state: z.enum([
|
|
@@ -1834,30 +1810,6 @@ var zAgentModel = z.object({
|
|
|
1834
1810
|
provider_config: zResourceName,
|
|
1835
1811
|
name: zResourceName
|
|
1836
1812
|
});
|
|
1837
|
-
var zIntegrationTarget = z.object({
|
|
1838
|
-
provider: z.string(),
|
|
1839
|
-
provider_ref: z.string(),
|
|
1840
|
-
provider_ref_kind: z.string(),
|
|
1841
|
-
display_name: z.string(),
|
|
1842
|
-
provider_uri: z.url().optional()
|
|
1843
|
-
});
|
|
1844
|
-
var zAgent = z.object({
|
|
1845
|
-
id: zAgentId,
|
|
1846
|
-
org_id: zOrganizationId,
|
|
1847
|
-
project_id: zProjectId,
|
|
1848
|
-
agent_profile_id: zAgentProfileId.optional(),
|
|
1849
|
-
state: z.enum(["active", "archived"]),
|
|
1850
|
-
name: zAgentName,
|
|
1851
|
-
integration_target: zIntegrationTarget.optional(),
|
|
1852
|
-
current_config_id: zAgentConfigId.optional(),
|
|
1853
|
-
model: zAgentModel.optional(),
|
|
1854
|
-
parent_agent_id: zAgentId.optional(),
|
|
1855
|
-
subagent_key: z.string().optional(),
|
|
1856
|
-
activity: zAgentActivity.optional(),
|
|
1857
|
-
created_at: zTimestamp,
|
|
1858
|
-
updated_at: zTimestamp,
|
|
1859
|
-
archived_at: zTimestamp.optional()
|
|
1860
|
-
});
|
|
1861
1813
|
var zAgentMcpConnection = z.object({
|
|
1862
1814
|
server_key: z.string(),
|
|
1863
1815
|
endpoint_url: z.string(),
|
|
@@ -1872,18 +1824,6 @@ var zAgentMcpConnection = z.object({
|
|
|
1872
1824
|
created_at: zTimestamp,
|
|
1873
1825
|
updated_at: zTimestamp
|
|
1874
1826
|
});
|
|
1875
|
-
var zCurrentAgentResponse = z.object({
|
|
1876
|
-
agent: zAgent
|
|
1877
|
-
});
|
|
1878
|
-
var zGetAgentResponse = z.object({
|
|
1879
|
-
agent: zAgent,
|
|
1880
|
-
machine_ids: z.array(zMachineId),
|
|
1881
|
-
mcp_connections: z.array(zAgentMcpConnection)
|
|
1882
|
-
});
|
|
1883
|
-
var zListAgentsResponse = z.object({
|
|
1884
|
-
data: z.array(zAgent),
|
|
1885
|
-
next_cursor: z.string().nullable()
|
|
1886
|
-
});
|
|
1887
1827
|
var zAgentInputKind = z.enum([
|
|
1888
1828
|
"content",
|
|
1889
1829
|
"control",
|
|
@@ -2038,17 +1978,6 @@ var zAgentInput = z.object({
|
|
|
2038
1978
|
content_blocks: z.array(zAgentInputContentBlock).optional(),
|
|
2039
1979
|
queued_at: zTimestamp
|
|
2040
1980
|
});
|
|
2041
|
-
var zLaunchAgentResponse = z.object({
|
|
2042
|
-
agent: zAgent,
|
|
2043
|
-
agent_config: zAgentConfig,
|
|
2044
|
-
machine_bindings: z.array(zAgentMachineBinding),
|
|
2045
|
-
agent_input: zAgentInput.optional()
|
|
2046
|
-
});
|
|
2047
|
-
var zUpdateAgentConfigResponse = z.object({
|
|
2048
|
-
agent_config: zAgentConfig,
|
|
2049
|
-
agent_input: zAgentInput,
|
|
2050
|
-
event_id: zAgentEventId
|
|
2051
|
-
});
|
|
2052
1981
|
var zMachineMetadata = z.record(z.string(), z.string().max(512));
|
|
2053
1982
|
var zAgentInputEnvelope = z.object({
|
|
2054
1983
|
agent_input: zAgentInput
|
|
@@ -2391,26 +2320,10 @@ var zAgentInteractionState = z.enum([
|
|
|
2391
2320
|
"resolved",
|
|
2392
2321
|
"canceled"
|
|
2393
2322
|
]);
|
|
2394
|
-
var
|
|
2395
|
-
id: zAgentInteractionId,
|
|
2396
|
-
org_id: zOrganizationId,
|
|
2397
|
-
project_id: zProjectId,
|
|
2398
|
-
agent_id: zAgentId,
|
|
2399
|
-
tool_call_id: zToolCallId,
|
|
2400
|
-
tool_name: z.string().optional(),
|
|
2401
|
-
agent_name: zAgentName.optional(),
|
|
2402
|
-
subagent_key: z.string().optional(),
|
|
2403
|
-
interaction_kind: zAgentInteractionKind,
|
|
2404
|
-
state: zAgentInteractionState,
|
|
2405
|
-
request: zInteractionForm,
|
|
2406
|
-
resolution: zInteractionResolution.optional(),
|
|
2407
|
-
resolved_by_input_id: zAgentInputId.optional(),
|
|
2408
|
-
created_at: zTimestamp,
|
|
2409
|
-
resolved_at: zTimestamp.optional()
|
|
2410
|
-
});
|
|
2323
|
+
var zInteractionPresentationReceipt = z.record(z.string(), z.unknown());
|
|
2411
2324
|
var zActorProvider = z.enum([
|
|
2412
2325
|
"omnara",
|
|
2413
|
-
"
|
|
2326
|
+
"integration",
|
|
2414
2327
|
"external"
|
|
2415
2328
|
]);
|
|
2416
2329
|
var zActor = z.object({
|
|
@@ -2431,6 +2344,10 @@ var zExternalActorParams = z.object({
|
|
|
2431
2344
|
display_name: z.string().max(256).optional(),
|
|
2432
2345
|
metadata: zMetadata.optional()
|
|
2433
2346
|
});
|
|
2347
|
+
var zAgentLaunchInitialInput = z.object({
|
|
2348
|
+
content_blocks: z.array(zTextContentBlock).min(1),
|
|
2349
|
+
actor: zExternalActorParams.optional()
|
|
2350
|
+
});
|
|
2434
2351
|
var zCreateAgentInputRequest = z.object({
|
|
2435
2352
|
content_blocks: z.array(zCreateAgentInputContentBlock),
|
|
2436
2353
|
delivery_mode: zCreateAgentInputDeliveryMode.optional(),
|
|
@@ -2448,10 +2365,6 @@ var zListActorsResponse = z.object({
|
|
|
2448
2365
|
data: z.array(zActor),
|
|
2449
2366
|
next_cursor: z.string().nullable()
|
|
2450
2367
|
});
|
|
2451
|
-
var zListAgentInteractionsResponse = z.object({
|
|
2452
|
-
data: z.array(zAgentInteraction),
|
|
2453
|
-
next_cursor: z.string().nullable()
|
|
2454
|
-
});
|
|
2455
2368
|
var zOrgSecretOwnerInput = z.object({
|
|
2456
2369
|
kind: z.enum(["org"])
|
|
2457
2370
|
});
|
|
@@ -2522,10 +2435,17 @@ var zAwsCredentialsSecretMaterial = z.object({
|
|
|
2522
2435
|
role_arn: z.string().min(1).optional(),
|
|
2523
2436
|
external_id: z.string().min(1).optional()
|
|
2524
2437
|
});
|
|
2438
|
+
var zGitHubAppCredentialsSecretMaterial = z.object({
|
|
2439
|
+
kind: z.enum(["github_app_credentials"]),
|
|
2440
|
+
app_id: z.string().regex(/^[1-9][0-9]*$/),
|
|
2441
|
+
private_key: z.string().min(1),
|
|
2442
|
+
webhook_secret: z.string().min(1)
|
|
2443
|
+
});
|
|
2525
2444
|
var zSecretMaterial = z.discriminatedUnion("kind", [
|
|
2526
2445
|
zGenericSecretMaterial.extend({ kind: z.literal("generic") }),
|
|
2527
2446
|
zOAuthTokenSetSecretMaterial.extend({ kind: z.literal("oauth_token_set") }),
|
|
2528
|
-
zAwsCredentialsSecretMaterial.extend({ kind: z.literal("aws_credentials") })
|
|
2447
|
+
zAwsCredentialsSecretMaterial.extend({ kind: z.literal("aws_credentials") }),
|
|
2448
|
+
zGitHubAppCredentialsSecretMaterial.extend({ kind: z.literal("github_app_credentials") })
|
|
2529
2449
|
]);
|
|
2530
2450
|
var zCreateSecretRequest = z.object({
|
|
2531
2451
|
owner: zSecretOwnerInput,
|
|
@@ -2547,7 +2467,8 @@ var zSecretKind = z.enum([
|
|
|
2547
2467
|
"generic",
|
|
2548
2468
|
"oauth_token_set",
|
|
2549
2469
|
"slack_app_credentials",
|
|
2550
|
-
"aws_credentials"
|
|
2470
|
+
"aws_credentials",
|
|
2471
|
+
"github_app_credentials"
|
|
2551
2472
|
]);
|
|
2552
2473
|
var zSecret = z.object({
|
|
2553
2474
|
id: zSecretId,
|
|
@@ -2721,7 +2642,11 @@ var zCreateMachinePoolRequest = zCreateMachinePoolRequestBase.and(z.union([
|
|
|
2721
2642
|
max_machine_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" })
|
|
2722
2643
|
}),
|
|
2723
2644
|
z.object({
|
|
2724
|
-
provider: z.enum([
|
|
2645
|
+
provider: z.enum([
|
|
2646
|
+
"daytona",
|
|
2647
|
+
"boxd",
|
|
2648
|
+
"createos"
|
|
2649
|
+
]),
|
|
2725
2650
|
max_total_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2726
2651
|
max_total_memory_mb: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
2727
2652
|
max_machine_cpu: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
@@ -3170,22 +3095,43 @@ var zListProjectsResponse = z.object({
|
|
|
3170
3095
|
data: z.array(zVisibleProject),
|
|
3171
3096
|
next_cursor: z.string().nullable()
|
|
3172
3097
|
});
|
|
3098
|
+
var zOrgOverviewProjectActivity = z.object({
|
|
3099
|
+
project_id: zProjectId,
|
|
3100
|
+
last_active_at: zTimestamp
|
|
3101
|
+
});
|
|
3173
3102
|
var zOrgOverviewAgentProfileReference = z.object({
|
|
3174
3103
|
id: zAgentProfileId,
|
|
3175
3104
|
name: zResourceName,
|
|
3176
3105
|
agent_count: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3177
3106
|
});
|
|
3178
|
-
var
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3107
|
+
var zUsageTimeseriesInterval = z.enum([
|
|
3108
|
+
"hour",
|
|
3109
|
+
"day",
|
|
3110
|
+
"week",
|
|
3111
|
+
"month"
|
|
3112
|
+
]);
|
|
3113
|
+
var zUsageTimeseriesMetric = z.enum([
|
|
3114
|
+
"sum_tokens",
|
|
3115
|
+
"sum_input_tokens",
|
|
3116
|
+
"sum_output_tokens",
|
|
3117
|
+
"sum_cost",
|
|
3118
|
+
"count_model_calls"
|
|
3119
|
+
]);
|
|
3120
|
+
var zUsageTimeseriesGroupBy = z.enum(["model", "profile"]);
|
|
3121
|
+
var zUsageTimeseriesSeries = z.object({
|
|
3122
|
+
kind: z.enum([
|
|
3123
|
+
"all",
|
|
3124
|
+
"model",
|
|
3125
|
+
"profile",
|
|
3126
|
+
"no_profile",
|
|
3127
|
+
"other"
|
|
3128
|
+
]),
|
|
3129
|
+
id: z.string().optional(),
|
|
3130
|
+
name: zResourceName.optional(),
|
|
3131
|
+
model_provider_config_name: zResourceName.optional(),
|
|
3132
|
+
project_name: zResourceName.optional(),
|
|
3133
|
+
total: z.number().gte(0),
|
|
3134
|
+
values: z.array(z.number().gte(0))
|
|
3189
3135
|
});
|
|
3190
3136
|
var zUsageTokenTotals = z.object({
|
|
3191
3137
|
input_tokens_total: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
@@ -3204,36 +3150,36 @@ var zUsageTotals = z.object({
|
|
|
3204
3150
|
tokens: zUsageTokenTotals,
|
|
3205
3151
|
cost: zUsageCostTotals
|
|
3206
3152
|
});
|
|
3207
|
-
var
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
totals: zUsageTotals
|
|
3153
|
+
var zAgentProfileStats = z.object({
|
|
3154
|
+
agent_count: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3155
|
+
usage: zUsageTotals
|
|
3211
3156
|
});
|
|
3212
|
-
var
|
|
3213
|
-
id: zAgentProfileId
|
|
3214
|
-
|
|
3215
|
-
|
|
3157
|
+
var zAgentProfileSummary = z.object({
|
|
3158
|
+
id: zAgentProfileId,
|
|
3159
|
+
org_id: zOrganizationId,
|
|
3160
|
+
project_id: zProjectId,
|
|
3161
|
+
name: zResourceName,
|
|
3162
|
+
current_config_id: zAgentConfigId,
|
|
3163
|
+
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
3164
|
+
created_at: zTimestamp,
|
|
3165
|
+
updated_at: zTimestamp,
|
|
3166
|
+
current_config: zAgentConfigSummary,
|
|
3167
|
+
stats: zAgentProfileStats.optional()
|
|
3216
3168
|
});
|
|
3217
|
-
var
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
models: z.array(zOrgOverviewUsageDayModel),
|
|
3221
|
-
profiles: z.array(zOrgOverviewUsageDayProfile)
|
|
3169
|
+
var zListAgentProfilesResponse = z.object({
|
|
3170
|
+
data: z.array(zAgentProfileSummary),
|
|
3171
|
+
next_cursor: z.string().nullable()
|
|
3222
3172
|
});
|
|
3223
|
-
var
|
|
3173
|
+
var zUsageTimeseries = z.object({
|
|
3174
|
+
metric: zUsageTimeseriesMetric,
|
|
3175
|
+
interval: zUsageTimeseriesInterval,
|
|
3176
|
+
group_by: zUsageTimeseriesGroupBy.optional(),
|
|
3177
|
+
timezone: z.string(),
|
|
3178
|
+
bucket_starts: z.array(zTimestamp),
|
|
3179
|
+
until: zTimestamp,
|
|
3224
3180
|
totals: zUsageTotals,
|
|
3225
3181
|
active_agents: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3226
|
-
|
|
3227
|
-
profiles: z.array(zOrgOverviewUsageProfile),
|
|
3228
|
-
days: z.array(zOrgOverviewUsageDay)
|
|
3229
|
-
});
|
|
3230
|
-
var zOrgOverviewResponse = z.object({
|
|
3231
|
-
projects: z.array(zVisibleProject),
|
|
3232
|
-
recent_agents: z.array(zAgent),
|
|
3233
|
-
recent_agent_profiles: z.array(zAgentProfileSummary),
|
|
3234
|
-
referenced_agent_profiles: z.array(zOrgOverviewAgentProfileReference),
|
|
3235
|
-
today: zOrgOverviewToday,
|
|
3236
|
-
usage: zOrgOverviewUsage
|
|
3182
|
+
series: z.array(zUsageTimeseriesSeries)
|
|
3237
3183
|
});
|
|
3238
3184
|
var zUsageModel = z.object({
|
|
3239
3185
|
configured_model_id: zConfiguredModelId,
|
|
@@ -3300,33 +3246,371 @@ var zProjectMembershipGrant = z.object({
|
|
|
3300
3246
|
var zListProjectMembershipGrantsResponse = z.object({
|
|
3301
3247
|
data: z.array(zProjectMembershipGrant)
|
|
3302
3248
|
});
|
|
3303
|
-
var
|
|
3304
|
-
var
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3249
|
+
var zIntegrationId = z.string().regex(/^itg_[a-z2-7]{26}$/);
|
|
3250
|
+
var zIntegrationOAuthSetup = z.object({
|
|
3251
|
+
integration_id: zIntegrationId,
|
|
3252
|
+
setup_revision: z.int().gte(1),
|
|
3253
|
+
provider: z.string(),
|
|
3254
|
+
flow_id: zIntegrationOAuthFlowId,
|
|
3255
|
+
oauth_url: z.url(),
|
|
3256
|
+
redirect_uri: z.url(),
|
|
3257
|
+
events_url: z.url(),
|
|
3258
|
+
actions_url: z.url(),
|
|
3259
|
+
expires_at: zTimestamp
|
|
3260
|
+
});
|
|
3261
|
+
var zGitHubSetup = z.object({
|
|
3262
|
+
integration_id: zIntegrationId,
|
|
3263
|
+
setup_revision: z.int().gte(1),
|
|
3264
|
+
registration_url: z.url(),
|
|
3265
|
+
manifest: z.record(z.string(), z.unknown()),
|
|
3266
|
+
expires_at: zTimestamp
|
|
3267
|
+
});
|
|
3268
|
+
var zSlackSetup = z.object({
|
|
3269
|
+
integration_id: zIntegrationId,
|
|
3270
|
+
setup_revision: z.int().gte(1),
|
|
3271
|
+
provider: z.string(),
|
|
3272
|
+
flow_id: zIntegrationOAuthFlowId,
|
|
3273
|
+
slack_app_id: z.string(),
|
|
3274
|
+
oauth_url: z.url(),
|
|
3275
|
+
redirect_uri: z.url(),
|
|
3276
|
+
events_url: z.url(),
|
|
3277
|
+
actions_url: z.url(),
|
|
3278
|
+
expires_at: zTimestamp
|
|
3279
|
+
});
|
|
3280
|
+
var zCompiledTool = z.object({
|
|
3281
|
+
integration_id: zIntegrationId.optional(),
|
|
3282
|
+
enabled: z.boolean(),
|
|
3283
|
+
type: z.enum(["built_in", "custom"]).optional(),
|
|
3284
|
+
permission: zToolPermissionSelection,
|
|
3285
|
+
deferred: z.boolean().optional(),
|
|
3286
|
+
description: z.string().optional(),
|
|
3287
|
+
input_schema: z.record(z.string(), z.unknown()).optional()
|
|
3288
|
+
});
|
|
3289
|
+
var zCompiledIntegrationCapability = z.object({
|
|
3290
|
+
integration_id: zIntegrationId
|
|
3291
|
+
});
|
|
3292
|
+
var zIntegrationCronTriggerTarget = z.object({
|
|
3293
|
+
type: z.enum(["integration"]),
|
|
3294
|
+
integration_id: zIntegrationId,
|
|
3295
|
+
settings: z.record(z.string(), z.unknown())
|
|
3296
|
+
});
|
|
3297
|
+
var zCronTriggerTarget = z.discriminatedUnion("type", [
|
|
3298
|
+
zAgentCronTriggerTarget.extend({ type: z.literal("agent") }),
|
|
3299
|
+
zAgentProfileCronTriggerTarget.extend({ type: z.literal("profile") }),
|
|
3300
|
+
zIntegrationCronTriggerTarget.extend({ type: z.literal("integration") })
|
|
3301
|
+
]);
|
|
3302
|
+
var zCreateCronTriggerRequest = z.object({
|
|
3303
|
+
name: zResourceName,
|
|
3304
|
+
target: zCronTriggerTarget,
|
|
3305
|
+
cron: zCronExpression,
|
|
3306
|
+
timezone: zCronTimezone.optional(),
|
|
3307
|
+
message_template: zCronMessageTemplate.optional(),
|
|
3308
|
+
enabled: z.boolean().optional().default(true)
|
|
3309
|
+
});
|
|
3310
|
+
var zUpdateCronTriggerRequest = z.object({
|
|
3311
|
+
target: zCronTriggerTarget.optional(),
|
|
3312
|
+
name: zResourceName.optional(),
|
|
3313
|
+
cron: zCronExpression.optional(),
|
|
3314
|
+
timezone: zCronTimezone.optional(),
|
|
3315
|
+
message_template: zCronMessageTemplate.optional(),
|
|
3316
|
+
enabled: z.boolean().optional()
|
|
3317
|
+
});
|
|
3318
|
+
var zCronTrigger = z.object({
|
|
3319
|
+
id: zCronTriggerId,
|
|
3320
|
+
org_id: zOrganizationId,
|
|
3321
|
+
project_id: zProjectId,
|
|
3322
|
+
name: zResourceName,
|
|
3323
|
+
target: zCronTriggerTarget,
|
|
3324
|
+
cron: zCronExpression,
|
|
3325
|
+
timezone: zCronTimezone,
|
|
3326
|
+
message_template: zCronMessageTemplate.optional(),
|
|
3327
|
+
enabled: z.boolean(),
|
|
3328
|
+
last_fired_at: zTimestamp.nullable(),
|
|
3329
|
+
next_fire_at: zTimestamp.nullable(),
|
|
3330
|
+
failure_report: zCronTriggerFailureReport.nullable(),
|
|
3331
|
+
last_run: zCronTriggerLastRun.nullable(),
|
|
3332
|
+
created_at: zTimestamp,
|
|
3333
|
+
updated_at: zTimestamp
|
|
3334
|
+
});
|
|
3335
|
+
var zListCronTriggersResponse = z.object({
|
|
3336
|
+
data: z.array(zCronTrigger),
|
|
3337
|
+
next_cursor: z.string().nullable()
|
|
3338
|
+
});
|
|
3339
|
+
var zIntegrationSettings = z.record(z.string(), z.unknown());
|
|
3340
|
+
var zUpdateIntegrationRequest = z.object({
|
|
3341
|
+
settings: zIntegrationSettings
|
|
3342
|
+
});
|
|
3343
|
+
var zIntegrationRuntimeFailure = z.object({
|
|
3344
|
+
message: z.string(),
|
|
3345
|
+
retry_at: zTimestamp
|
|
3346
|
+
});
|
|
3347
|
+
var zConfigAgentToolInputSchema = z.object({
|
|
3348
|
+
properties: z.record(z.string(), z.record(z.string(), z.unknown())).optional(),
|
|
3349
|
+
required: z.array(z.string().min(1)).optional(),
|
|
3350
|
+
type: z.literal("object")
|
|
3351
|
+
});
|
|
3352
|
+
var zConfigIntegrationCapabilitySource = z.record(z.string(), z.never());
|
|
3353
|
+
var zConfigToolPermissionSelection = z.object({
|
|
3354
|
+
mode: z.string().min(1).regex(/\S/),
|
|
3355
|
+
parameters: z.record(z.string(), z.unknown()).optional()
|
|
3356
|
+
});
|
|
3357
|
+
var zConfigToolSource = z.object({
|
|
3358
|
+
deferred: z.boolean().optional(),
|
|
3359
|
+
description: z.string().min(1).optional(),
|
|
3360
|
+
enabled: z.boolean().nullish(),
|
|
3361
|
+
input_schema: zConfigAgentToolInputSchema.optional(),
|
|
3362
|
+
permission: zConfigToolPermissionSelection.optional(),
|
|
3363
|
+
type: z.enum(["built_in", "custom"]).optional()
|
|
3364
|
+
});
|
|
3365
|
+
var zIntegrationName = z.string().regex(/^[a-zA-Z][a-zA-Z0-9-]{0,31}$/);
|
|
3366
|
+
var zCompiledGitCredentials = z.object({
|
|
3367
|
+
integration: zIntegrationName,
|
|
3368
|
+
integration_id: zIntegrationId
|
|
3369
|
+
});
|
|
3370
|
+
var zCompiledAgentConfig = z.object({
|
|
3371
|
+
version: z.string().optional(),
|
|
3372
|
+
instruction: z.string(),
|
|
3373
|
+
model: zCompiledAgentModel,
|
|
3374
|
+
machine_sources: z.array(zCompiledMachineSource).optional(),
|
|
3375
|
+
tools: z.record(z.string(), zCompiledTool).optional(),
|
|
3376
|
+
mcp: z.record(z.string(), zCompiledMcpServer).optional(),
|
|
3377
|
+
event_webhook: zCompiledEventWebhook.optional(),
|
|
3378
|
+
interaction_handlers: z.record(z.string(), zCompiledIntegrationCapability).optional(),
|
|
3379
|
+
git_credentials: zCompiledGitCredentials.optional(),
|
|
3380
|
+
skills: z.array(zCompiledSkill).optional(),
|
|
3381
|
+
memory_stores: z.array(zCompiledMemoryStore).optional(),
|
|
3382
|
+
subagents: z.record(z.string(), zCompiledSubagent).optional(),
|
|
3383
|
+
max_subagents: z.int().optional(),
|
|
3384
|
+
max_depth: z.int().optional()
|
|
3385
|
+
});
|
|
3386
|
+
var zAgentConfig = z.object({
|
|
3387
|
+
id: zAgentConfigId,
|
|
3388
|
+
org_id: zOrganizationId,
|
|
3389
|
+
project_id: zProjectId,
|
|
3390
|
+
source: z.string().optional(),
|
|
3391
|
+
source_format: z.enum(["yaml", "json"]).optional(),
|
|
3392
|
+
effective_definition_hash: z.string(),
|
|
3393
|
+
model: zAgentConfigModel,
|
|
3394
|
+
instruction_hash: z.string().optional(),
|
|
3395
|
+
created_at: zTimestamp,
|
|
3396
|
+
compiled_definition: zCompiledAgentConfig
|
|
3397
|
+
});
|
|
3398
|
+
var zAgentProfile = z.object({
|
|
3399
|
+
id: zAgentProfileId,
|
|
3400
|
+
org_id: zOrganizationId,
|
|
3401
|
+
project_id: zProjectId,
|
|
3402
|
+
name: zResourceName,
|
|
3403
|
+
current_config_id: zAgentConfigId,
|
|
3404
|
+
current_generation: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
|
|
3405
|
+
created_at: zTimestamp,
|
|
3406
|
+
updated_at: zTimestamp,
|
|
3407
|
+
current_config: zAgentConfig
|
|
3408
|
+
});
|
|
3409
|
+
var zUpdateAgentConfigResponse = z.object({
|
|
3410
|
+
agent_config: zAgentConfig,
|
|
3411
|
+
agent_input: zAgentInput,
|
|
3412
|
+
event_id: zAgentEventId
|
|
3413
|
+
});
|
|
3414
|
+
var zCreateIntegrationRequest = z.object({
|
|
3415
|
+
name: zIntegrationName,
|
|
3416
|
+
integration_kind: zIntegrationKind,
|
|
3417
|
+
settings: zIntegrationSettings
|
|
3418
|
+
});
|
|
3419
|
+
var zIntegrationState = z.enum(["active", "disconnected"]);
|
|
3420
|
+
var zConfigureIntegrationRequest = z.object({
|
|
3421
|
+
expected_setup_revision: z.int().gte(1),
|
|
3422
|
+
provider_tenant_id: z.string().min(1).max(512),
|
|
3423
|
+
provider_account_ref: z.string().min(1).max(512).optional(),
|
|
3424
|
+
provider_agent_display_name: zIntegrationProviderDisplayName.optional(),
|
|
3425
|
+
credential_secret_id: zSecretId,
|
|
3426
|
+
provider_config: zIntegrationProviderConfig.optional()
|
|
3427
|
+
});
|
|
3428
|
+
var zIntegrationCapabilityDefinition = z.object({
|
|
3429
|
+
description: z.string().optional(),
|
|
3430
|
+
input_schema: z.record(z.string(), z.unknown())
|
|
3431
|
+
});
|
|
3432
|
+
var zIntegrationSubscriptionId = z.string().regex(/^isub_[a-z2-7]{26}$/);
|
|
3433
|
+
var zIntegrationConversation = z.record(z.string(), z.unknown());
|
|
3434
|
+
var zIntegrationTarget = z.object({
|
|
3435
|
+
provider: z.string(),
|
|
3436
|
+
conversation: zIntegrationConversation,
|
|
3437
|
+
display_name: z.string(),
|
|
3438
|
+
provider_uri: z.url().optional()
|
|
3439
|
+
});
|
|
3440
|
+
var zAgent = z.object({
|
|
3441
|
+
id: zAgentId,
|
|
3442
|
+
org_id: zOrganizationId,
|
|
3443
|
+
project_id: zProjectId,
|
|
3444
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
3445
|
+
state: z.enum(["active", "archived"]),
|
|
3446
|
+
name: zAgentName,
|
|
3447
|
+
integration_target: zIntegrationTarget.optional(),
|
|
3448
|
+
current_config_id: zAgentConfigId.optional(),
|
|
3449
|
+
model: zAgentModel.optional(),
|
|
3450
|
+
parent_agent_id: zAgentId.optional(),
|
|
3451
|
+
subagent_key: z.string().optional(),
|
|
3452
|
+
activity: zAgentActivity.optional(),
|
|
3453
|
+
usage: zUsageTotals.optional(),
|
|
3454
|
+
created_at: zTimestamp,
|
|
3455
|
+
updated_at: zTimestamp,
|
|
3456
|
+
archived_at: zTimestamp.optional()
|
|
3457
|
+
});
|
|
3458
|
+
var zCurrentAgentResponse = z.object({
|
|
3459
|
+
agent: zAgent
|
|
3460
|
+
});
|
|
3461
|
+
var zGetAgentResponse = z.object({
|
|
3462
|
+
agent: zAgent,
|
|
3463
|
+
machine_ids: z.array(zMachineId),
|
|
3464
|
+
mcp_connections: z.array(zAgentMcpConnection)
|
|
3465
|
+
});
|
|
3466
|
+
var zListAgentsResponse = z.object({
|
|
3467
|
+
data: z.array(zAgent),
|
|
3468
|
+
next_cursor: z.string().nullable()
|
|
3469
|
+
});
|
|
3470
|
+
var zLaunchAgentResponse = z.object({
|
|
3471
|
+
agent: zAgent,
|
|
3472
|
+
agent_config: zAgentConfig,
|
|
3473
|
+
machine_bindings: z.array(zAgentMachineBinding),
|
|
3474
|
+
agent_input: zAgentInput.optional()
|
|
3475
|
+
});
|
|
3476
|
+
var zAgentInteractionDestination = z.object({
|
|
3477
|
+
integration_kind: zIntegrationKind,
|
|
3478
|
+
handler_key: z.string(),
|
|
3479
|
+
integration_id: zIntegrationId,
|
|
3480
|
+
integration_target_id: zIntegrationTargetId,
|
|
3481
|
+
conversation: zIntegrationConversation
|
|
3482
|
+
});
|
|
3483
|
+
var zAgentInteraction = z.object({
|
|
3484
|
+
id: zAgentInteractionId,
|
|
3485
|
+
org_id: zOrganizationId,
|
|
3486
|
+
project_id: zProjectId,
|
|
3487
|
+
agent_id: zAgentId,
|
|
3488
|
+
tool_call_id: zToolCallId,
|
|
3489
|
+
tool_name: z.string().optional(),
|
|
3490
|
+
agent_name: zAgentName.optional(),
|
|
3491
|
+
subagent_key: z.string().optional(),
|
|
3492
|
+
interaction_kind: zAgentInteractionKind,
|
|
3493
|
+
state: zAgentInteractionState,
|
|
3494
|
+
request: zInteractionForm,
|
|
3495
|
+
resolution: zInteractionResolution.optional(),
|
|
3496
|
+
destination: zAgentInteractionDestination.optional(),
|
|
3497
|
+
presentation_receipt: zInteractionPresentationReceipt.optional(),
|
|
3498
|
+
resolved_by_input_id: zAgentInputId.optional(),
|
|
3499
|
+
created_at: zTimestamp,
|
|
3500
|
+
resolved_at: zTimestamp.optional()
|
|
3501
|
+
});
|
|
3502
|
+
var zListAgentInteractionsResponse = z.object({
|
|
3503
|
+
data: z.array(zAgentInteraction),
|
|
3504
|
+
next_cursor: z.string().nullable()
|
|
3505
|
+
});
|
|
3506
|
+
var zOrgOverviewResponse = z.object({
|
|
3507
|
+
projects: z.array(zVisibleProject),
|
|
3508
|
+
project_activity: z.array(zOrgOverviewProjectActivity),
|
|
3509
|
+
recent_agents: z.array(zAgent),
|
|
3510
|
+
recent_agent_profiles: z.array(zAgentProfileSummary),
|
|
3511
|
+
referenced_agent_profiles: z.array(zOrgOverviewAgentProfileReference)
|
|
3512
|
+
});
|
|
3513
|
+
var zIntegrationSubscriptionAttachment = z.object({
|
|
3514
|
+
integration_id: zIntegrationId,
|
|
3515
|
+
conversation: zIntegrationConversation
|
|
3516
|
+
});
|
|
3517
|
+
var zCreateAgentRequest = z.object({
|
|
3518
|
+
profile: zAgentProfileId.optional(),
|
|
3519
|
+
config: zAgentConfigId,
|
|
3520
|
+
name: zAgentName.optional(),
|
|
3521
|
+
message: z.string().optional(),
|
|
3522
|
+
tools: z.record(z.string(), zConfigToolSource).optional(),
|
|
3523
|
+
subscriptions: z.array(zIntegrationSubscriptionAttachment).max(100).optional(),
|
|
3524
|
+
interaction_handlers: z.record(z.string(), zConfigIntegrationCapabilitySource).optional(),
|
|
3525
|
+
initial_input: zAgentLaunchInitialInput.optional()
|
|
3526
|
+
});
|
|
3527
|
+
var zCreateIntegrationSubscriptionRequest = z.object({
|
|
3528
|
+
agent_id: zAgentId,
|
|
3529
|
+
conversation: zIntegrationConversation
|
|
3530
|
+
});
|
|
3531
|
+
var zIntegrationSubscription = z.object({
|
|
3532
|
+
id: zIntegrationSubscriptionId,
|
|
3533
|
+
project_id: zProjectId,
|
|
3534
|
+
integration_id: zIntegrationId,
|
|
3535
|
+
agent_id: zAgentId,
|
|
3536
|
+
agent_name: zAgentName,
|
|
3537
|
+
conversation: zIntegrationConversation,
|
|
3538
|
+
conversation_name: z.string().optional(),
|
|
3539
|
+
created_at: zTimestamp
|
|
3540
|
+
});
|
|
3541
|
+
var zListIntegrationSubscriptionsResponse = z.object({
|
|
3542
|
+
data: z.array(zIntegrationSubscription),
|
|
3543
|
+
next_cursor: z.string().nullable()
|
|
3544
|
+
});
|
|
3545
|
+
var zIntegrationSubscriptionDefinition = z.object({
|
|
3546
|
+
conversation_schema: z.record(z.string(), z.unknown())
|
|
3547
|
+
});
|
|
3548
|
+
var zIntegrationCapabilities = z.object({
|
|
3549
|
+
settings: zIntegrationCapabilityDefinition.optional(),
|
|
3550
|
+
tools: z.record(z.string(), zIntegrationCapabilityDefinition),
|
|
3551
|
+
subscription: zIntegrationSubscriptionDefinition.optional(),
|
|
3552
|
+
interaction_handler: zIntegrationCapabilityDefinition.optional(),
|
|
3553
|
+
schedule: zIntegrationCapabilityDefinition.optional()
|
|
3554
|
+
});
|
|
3555
|
+
var zIntegration = z.object({
|
|
3556
|
+
id: zIntegrationId,
|
|
3557
|
+
project_id: zProjectId,
|
|
3558
|
+
name: zIntegrationName,
|
|
3559
|
+
integration_kind: zIntegrationKind,
|
|
3560
|
+
state: zIntegrationState,
|
|
3561
|
+
setup_revision: z.int().gte(1),
|
|
3562
|
+
last_oauth_flow_id: zIntegrationOAuthFlowId.optional(),
|
|
3563
|
+
runtime_failure: zIntegrationRuntimeFailure.optional(),
|
|
3564
|
+
settings: zIntegrationSettings,
|
|
3565
|
+
provider_tenant_id: z.string().optional(),
|
|
3566
|
+
provider_account_ref: z.string().optional(),
|
|
3567
|
+
provider_agent_display_name: zIntegrationProviderDisplayName,
|
|
3568
|
+
bot_mention: z.string().optional(),
|
|
3569
|
+
credential_secret_id: zSecretId.optional(),
|
|
3570
|
+
provider_config: zIntegrationProviderConfig,
|
|
3571
|
+
capabilities: zIntegrationCapabilities,
|
|
3572
|
+
created_at: zTimestamp,
|
|
3573
|
+
updated_at: zTimestamp
|
|
3574
|
+
});
|
|
3575
|
+
var zListIntegrationsResponse = z.object({
|
|
3576
|
+
data: z.array(zIntegration),
|
|
3577
|
+
next_cursor: z.string().nullable()
|
|
3578
|
+
});
|
|
3579
|
+
var zIntegrationDefinition = z.object({
|
|
3580
|
+
integration_kind: zIntegrationKind,
|
|
3581
|
+
capabilities: zIntegrationCapabilities
|
|
3582
|
+
});
|
|
3583
|
+
var zListIntegrationDefinitionsResponse = z.object({
|
|
3584
|
+
data: z.array(zIntegrationDefinition)
|
|
3585
|
+
});
|
|
3586
|
+
var zAgentIncludeUsage = z.boolean();
|
|
3587
|
+
var zAgentProfileIncludeStats = z.boolean();
|
|
3588
|
+
var zAgentProfileStatsSince = z.iso.datetime({ offset: true });
|
|
3589
|
+
var zUsageSince = z.iso.datetime({ offset: true });
|
|
3590
|
+
var zUsageUntil = z.iso.datetime({ offset: true });
|
|
3591
|
+
var zUsageIncludeProjectIds = z.array(zProjectId).min(1).max(100);
|
|
3592
|
+
var zUsageExcludeProjectIds = z.array(zProjectId).min(1).max(100);
|
|
3593
|
+
var zIdempotencyKey = z.string().min(1).max(255);
|
|
3594
|
+
var zPageLimit = z.int().gte(1).lte(100).default(50);
|
|
3595
|
+
var zPageCursor = z.string().max(1024);
|
|
3596
|
+
var zResourceNameFilter = z.string().min(1).max(200);
|
|
3597
|
+
var zMachineSourceKindFilter = zMachineSourceKind;
|
|
3598
|
+
var zSecretMetadataFilter = z.record(z.string(), z.string());
|
|
3599
|
+
var zSecretKindFilter = zSecretKind;
|
|
3600
|
+
var zSkillOwnerKindFilter = z.enum([
|
|
3601
|
+
"org",
|
|
3602
|
+
"project",
|
|
3603
|
+
"user"
|
|
3604
|
+
]);
|
|
3605
|
+
var zSkillOwnerProjectIdFilter = zProjectId;
|
|
3606
|
+
var zSkillAvailabilitySourceFilter = z.enum(["direct", "grant"]);
|
|
3607
|
+
var zSecretOwnerKindFilter = z.enum([
|
|
3608
|
+
"org",
|
|
3609
|
+
"project",
|
|
3610
|
+
"user"
|
|
3611
|
+
]);
|
|
3326
3612
|
var zSecretOwnerProjectIdFilter = zProjectId;
|
|
3327
3613
|
var zSecretMcpoAuthFlowIdFilter = zMcpoAuthFlowId;
|
|
3328
|
-
var zIntegrationInstallAgentProfileFilter = zAgentProfileId;
|
|
3329
|
-
var zIntegrationInstallOAuthFlowIdFilter = zIntegrationOAuthFlowId;
|
|
3330
3614
|
var zSecretAvailabilitySourceFilter = z.enum(["direct", "grant"]);
|
|
3331
3615
|
var zListPersonalAccessTokensQuery = z.object({
|
|
3332
3616
|
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
@@ -3384,9 +3668,6 @@ var zDeclineInvitationResponse = zOrgInvitation;
|
|
|
3384
3668
|
var zGetOrgOverviewPath = z.object({
|
|
3385
3669
|
orgID: zOrganizationId
|
|
3386
3670
|
});
|
|
3387
|
-
var zGetOrgOverviewQuery = z.object({
|
|
3388
|
-
timezone: z.string().max(64).optional().default("UTC")
|
|
3389
|
-
});
|
|
3390
3671
|
var zGetOrgOverviewResponse = zOrgOverviewResponse;
|
|
3391
3672
|
var zGetOrgUsagePath = z.object({
|
|
3392
3673
|
orgID: zOrganizationId
|
|
@@ -3398,6 +3679,49 @@ var zGetOrgUsageQuery = z.object({
|
|
|
3398
3679
|
exclude_project_ids: z.array(zProjectId).min(1).max(100).optional()
|
|
3399
3680
|
});
|
|
3400
3681
|
var zGetOrgUsageResponse = zUsageReport;
|
|
3682
|
+
var zGetOrgUsageTimeseriesPath = z.object({
|
|
3683
|
+
orgID: zOrganizationId
|
|
3684
|
+
});
|
|
3685
|
+
var zGetOrgUsageTimeseriesQuery = z.object({
|
|
3686
|
+
since: z.iso.datetime({ offset: true }).optional(),
|
|
3687
|
+
until: z.iso.datetime({ offset: true }).optional(),
|
|
3688
|
+
timezone: z.string().max(64).optional().default("UTC"),
|
|
3689
|
+
interval: zUsageTimeseriesInterval.optional(),
|
|
3690
|
+
metric: zUsageTimeseriesMetric.optional(),
|
|
3691
|
+
group_by: zUsageTimeseriesGroupBy.optional(),
|
|
3692
|
+
group_limit: z.int().gte(1).lte(20).optional().default(8),
|
|
3693
|
+
project_ids: z.array(zProjectId).min(1).max(100).optional(),
|
|
3694
|
+
agent_profile_ids: z.array(zAgentProfileId).min(1).max(100).optional(),
|
|
3695
|
+
include_subagents: z.boolean().optional().default(false)
|
|
3696
|
+
});
|
|
3697
|
+
var zGetOrgUsageTimeseriesResponse = zUsageTimeseries;
|
|
3698
|
+
var zListOrgAgentsPath = z.object({
|
|
3699
|
+
orgID: zOrganizationId
|
|
3700
|
+
});
|
|
3701
|
+
var zListOrgAgentsQuery = z.object({
|
|
3702
|
+
name: z.string().min(1).max(200).optional(),
|
|
3703
|
+
agent_profile_id: zAgentProfileId.optional(),
|
|
3704
|
+
parent_agent_id: zAgentId.optional(),
|
|
3705
|
+
include_subagents: z.boolean().optional(),
|
|
3706
|
+
include_archived: z.boolean().optional(),
|
|
3707
|
+
include_usage: z.boolean().optional(),
|
|
3708
|
+
sort: zResourceListSort.optional(),
|
|
3709
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3710
|
+
cursor: z.string().max(1024).optional()
|
|
3711
|
+
});
|
|
3712
|
+
var zListOrgAgentsResponse = zListAgentsResponse;
|
|
3713
|
+
var zListOrgAgentProfilesPath = z.object({
|
|
3714
|
+
orgID: zOrganizationId
|
|
3715
|
+
});
|
|
3716
|
+
var zListOrgAgentProfilesQuery = z.object({
|
|
3717
|
+
name: z.string().min(1).max(200).optional(),
|
|
3718
|
+
include_stats: z.boolean().optional(),
|
|
3719
|
+
stats_since: z.iso.datetime({ offset: true }).optional(),
|
|
3720
|
+
sort: zResourceListSort.optional(),
|
|
3721
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3722
|
+
cursor: z.string().max(1024).optional()
|
|
3723
|
+
});
|
|
3724
|
+
var zListOrgAgentProfilesResponse = zListAgentProfilesResponse;
|
|
3401
3725
|
var zListVisibleProjectsPath = z.object({
|
|
3402
3726
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/)
|
|
3403
3727
|
});
|
|
@@ -3759,25 +4083,6 @@ var zDeleteSecretGrantPath = z.object({
|
|
|
3759
4083
|
grantID: z.string().regex(/^sgr_[a-z2-7]{26}$/)
|
|
3760
4084
|
});
|
|
3761
4085
|
var zDeleteSecretGrantResponse = z.void();
|
|
3762
|
-
var zListIntegrationInstallsPath = z.object({
|
|
3763
|
-
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
3764
|
-
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
3765
|
-
});
|
|
3766
|
-
var zListIntegrationInstallsQuery = z.object({
|
|
3767
|
-
name: z.string().min(1).max(200).optional(),
|
|
3768
|
-
agent_profile_id: zAgentProfileId.optional(),
|
|
3769
|
-
oauth_flow_id: zIntegrationOAuthFlowId.optional(),
|
|
3770
|
-
sort: zResourceListSort.optional(),
|
|
3771
|
-
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3772
|
-
cursor: z.string().max(1024).optional()
|
|
3773
|
-
});
|
|
3774
|
-
var zListIntegrationInstallsResponse2 = zListIntegrationInstallsResponse;
|
|
3775
|
-
var zDeleteIntegrationInstallPath = z.object({
|
|
3776
|
-
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
3777
|
-
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/),
|
|
3778
|
-
integrationInstallID: z.string().regex(/^iin_[a-z2-7]{26}$/)
|
|
3779
|
-
});
|
|
3780
|
-
var zDeleteIntegrationInstallResponse = z.void();
|
|
3781
4086
|
var zResolveAgentConfigToolsBody = zResolveAgentConfigToolsRequest;
|
|
3782
4087
|
var zResolveAgentConfigToolsPath = z.object({
|
|
3783
4088
|
orgID: zOrganizationId,
|
|
@@ -3816,6 +4121,8 @@ var zListAgentProfilesPath = z.object({
|
|
|
3816
4121
|
});
|
|
3817
4122
|
var zListAgentProfilesQuery = z.object({
|
|
3818
4123
|
name: z.string().min(1).max(200).optional(),
|
|
4124
|
+
include_stats: z.boolean().optional(),
|
|
4125
|
+
stats_since: z.iso.datetime({ offset: true }).optional(),
|
|
3819
4126
|
sort: zResourceListSort.optional(),
|
|
3820
4127
|
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3821
4128
|
cursor: z.string().max(1024).optional()
|
|
@@ -3872,18 +4179,32 @@ var zUpdateAgentProfilePath = z.object({
|
|
|
3872
4179
|
var zUpdateAgentProfileResponse = zAgentProfile;
|
|
3873
4180
|
var zCreateIntegrationOAuthSetupBody = zCreateIntegrationOAuthSetupRequest;
|
|
3874
4181
|
var zCreateIntegrationOAuthSetupPath = z.object({
|
|
3875
|
-
orgID:
|
|
3876
|
-
projectID:
|
|
3877
|
-
|
|
4182
|
+
orgID: zOrganizationId,
|
|
4183
|
+
projectID: zProjectId,
|
|
4184
|
+
integrationID: zIntegrationId
|
|
3878
4185
|
});
|
|
3879
4186
|
var zCreateIntegrationOAuthSetupResponse = zIntegrationOAuthSetup;
|
|
3880
|
-
var
|
|
3881
|
-
var
|
|
3882
|
-
orgID:
|
|
3883
|
-
projectID:
|
|
3884
|
-
|
|
4187
|
+
var zCreateIntegrationSlackSetupBody = zCreateSlackSetupRequest;
|
|
4188
|
+
var zCreateIntegrationSlackSetupPath = z.object({
|
|
4189
|
+
orgID: zOrganizationId,
|
|
4190
|
+
projectID: zProjectId,
|
|
4191
|
+
integrationID: zIntegrationId
|
|
3885
4192
|
});
|
|
3886
|
-
var
|
|
4193
|
+
var zCreateIntegrationSlackSetupResponse = zSlackSetup;
|
|
4194
|
+
var zCreateIntegrationGitHubSetupBody = zCreateGitHubSetupRequest;
|
|
4195
|
+
var zCreateIntegrationGitHubSetupPath = z.object({
|
|
4196
|
+
orgID: zOrganizationId,
|
|
4197
|
+
projectID: zProjectId,
|
|
4198
|
+
integrationID: zIntegrationId
|
|
4199
|
+
});
|
|
4200
|
+
var zCreateIntegrationGitHubSetupResponse = zGitHubSetup;
|
|
4201
|
+
var zInspectIntegrationGitHubInstallationsBody = zInspectGitHubInstallationsRequest;
|
|
4202
|
+
var zInspectIntegrationGitHubInstallationsPath = z.object({
|
|
4203
|
+
orgID: zOrganizationId,
|
|
4204
|
+
projectID: zProjectId,
|
|
4205
|
+
integrationID: zIntegrationId
|
|
4206
|
+
});
|
|
4207
|
+
var zInspectIntegrationGitHubInstallationsResponse = zGitHubInstallations;
|
|
3887
4208
|
var zListCronTriggersPath = z.object({
|
|
3888
4209
|
orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
|
|
3889
4210
|
projectID: z.string().regex(/^proj_[a-z2-7]{26}$/)
|
|
@@ -3892,6 +4213,7 @@ var zListCronTriggersQuery = z.object({
|
|
|
3892
4213
|
name: z.string().min(1).max(200).optional(),
|
|
3893
4214
|
agent_id: zAgentId.optional(),
|
|
3894
4215
|
agent_profile_id: zAgentProfileId.optional(),
|
|
4216
|
+
integration_id: zIntegrationId.optional(),
|
|
3895
4217
|
sort: zResourceListSort.optional(),
|
|
3896
4218
|
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3897
4219
|
cursor: z.string().max(1024).optional()
|
|
@@ -3935,6 +4257,7 @@ var zListAgentsQuery = z.object({
|
|
|
3935
4257
|
parent_agent_id: zAgentId.optional(),
|
|
3936
4258
|
include_subagents: z.boolean().optional(),
|
|
3937
4259
|
include_archived: z.boolean().optional(),
|
|
4260
|
+
include_usage: z.boolean().optional(),
|
|
3938
4261
|
sort: zResourceListSort.optional(),
|
|
3939
4262
|
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
3940
4263
|
cursor: z.string().max(1024).optional()
|
|
@@ -4467,6 +4790,13 @@ var zSleepMachineDaemonRuntimePath = z.object({
|
|
|
4467
4790
|
runtimeID: z.string().regex(/^drt_[a-z2-7]{26}$/)
|
|
4468
4791
|
});
|
|
4469
4792
|
var zSleepMachineDaemonRuntimeResponse = zDaemonRuntime;
|
|
4793
|
+
var zGetDaemonGitCredentialsPath = z.object({
|
|
4794
|
+
processID: zProcessId
|
|
4795
|
+
});
|
|
4796
|
+
var zGetDaemonGitCredentialsResponse = z.object({
|
|
4797
|
+
token: z.string(),
|
|
4798
|
+
expires_at: zTimestamp
|
|
4799
|
+
});
|
|
4470
4800
|
var zGetDaemonSkillArchivePath = z.object({
|
|
4471
4801
|
skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
|
|
4472
4802
|
});
|
|
@@ -4488,6 +4818,82 @@ var zUploadDaemonFileQuery = z.object({
|
|
|
4488
4818
|
filename: z.string().optional()
|
|
4489
4819
|
});
|
|
4490
4820
|
var zUploadDaemonFileResponse = zUploadFileResponse;
|
|
4821
|
+
var zListIntegrationsPath = z.object({
|
|
4822
|
+
orgID: zOrganizationId,
|
|
4823
|
+
projectID: zProjectId
|
|
4824
|
+
});
|
|
4825
|
+
var zListIntegrationsQuery = z.object({
|
|
4826
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
4827
|
+
cursor: z.string().max(1024).optional()
|
|
4828
|
+
});
|
|
4829
|
+
var zListIntegrationsResponse2 = zListIntegrationsResponse;
|
|
4830
|
+
var zCreateIntegrationBody = zCreateIntegrationRequest;
|
|
4831
|
+
var zCreateIntegrationPath = z.object({
|
|
4832
|
+
orgID: zOrganizationId,
|
|
4833
|
+
projectID: zProjectId
|
|
4834
|
+
});
|
|
4835
|
+
var zCreateIntegrationResponse = zIntegration;
|
|
4836
|
+
var zDeleteIntegrationPath = z.object({
|
|
4837
|
+
orgID: zOrganizationId,
|
|
4838
|
+
projectID: zProjectId,
|
|
4839
|
+
integrationID: zIntegrationId
|
|
4840
|
+
});
|
|
4841
|
+
var zDeleteIntegrationResponse = z.void();
|
|
4842
|
+
var zGetIntegrationPath = z.object({
|
|
4843
|
+
orgID: zOrganizationId,
|
|
4844
|
+
projectID: zProjectId,
|
|
4845
|
+
integrationID: zIntegrationId
|
|
4846
|
+
});
|
|
4847
|
+
var zGetIntegrationResponse = zIntegration;
|
|
4848
|
+
var zUpdateIntegrationBody = zUpdateIntegrationRequest;
|
|
4849
|
+
var zUpdateIntegrationPath = z.object({
|
|
4850
|
+
orgID: zOrganizationId,
|
|
4851
|
+
projectID: zProjectId,
|
|
4852
|
+
integrationID: zIntegrationId
|
|
4853
|
+
});
|
|
4854
|
+
var zUpdateIntegrationResponse = zIntegration;
|
|
4855
|
+
var zListIntegrationSubscriptionsPath = z.object({
|
|
4856
|
+
orgID: zOrganizationId,
|
|
4857
|
+
projectID: zProjectId,
|
|
4858
|
+
integrationID: zIntegrationId
|
|
4859
|
+
});
|
|
4860
|
+
var zListIntegrationSubscriptionsQuery = z.object({
|
|
4861
|
+
limit: z.int().gte(1).lte(100).optional().default(50),
|
|
4862
|
+
cursor: z.string().max(1024).optional()
|
|
4863
|
+
});
|
|
4864
|
+
var zListIntegrationSubscriptionsResponse2 = zListIntegrationSubscriptionsResponse;
|
|
4865
|
+
var zCreateIntegrationSubscriptionBody = zCreateIntegrationSubscriptionRequest;
|
|
4866
|
+
var zCreateIntegrationSubscriptionPath = z.object({
|
|
4867
|
+
orgID: zOrganizationId,
|
|
4868
|
+
projectID: zProjectId,
|
|
4869
|
+
integrationID: zIntegrationId
|
|
4870
|
+
});
|
|
4871
|
+
var zCreateIntegrationSubscriptionResponse = zIntegrationSubscription;
|
|
4872
|
+
var zDeleteIntegrationSubscriptionPath = z.object({
|
|
4873
|
+
orgID: zOrganizationId,
|
|
4874
|
+
projectID: zProjectId,
|
|
4875
|
+
integrationID: zIntegrationId,
|
|
4876
|
+
subscriptionID: zIntegrationSubscriptionId
|
|
4877
|
+
});
|
|
4878
|
+
var zDeleteIntegrationSubscriptionResponse = z.void();
|
|
4879
|
+
var zConfigureIntegrationBody = zConfigureIntegrationRequest;
|
|
4880
|
+
var zConfigureIntegrationPath = z.object({
|
|
4881
|
+
orgID: zOrganizationId,
|
|
4882
|
+
projectID: zProjectId,
|
|
4883
|
+
integrationID: zIntegrationId
|
|
4884
|
+
});
|
|
4885
|
+
var zConfigureIntegrationResponse = zIntegration;
|
|
4886
|
+
var zDisconnectIntegrationPath = z.object({
|
|
4887
|
+
orgID: zOrganizationId,
|
|
4888
|
+
projectID: zProjectId,
|
|
4889
|
+
integrationID: zIntegrationId
|
|
4890
|
+
});
|
|
4891
|
+
var zDisconnectIntegrationResponse = zIntegration;
|
|
4892
|
+
var zListIntegrationDefinitionsPath = z.object({
|
|
4893
|
+
orgID: zOrganizationId,
|
|
4894
|
+
projectID: zProjectId
|
|
4895
|
+
});
|
|
4896
|
+
var zListIntegrationDefinitionsResponse2 = zListIntegrationDefinitionsResponse;
|
|
4491
4897
|
|
|
4492
4898
|
export {
|
|
4493
4899
|
__export,
|
|
@@ -4515,7 +4921,7 @@ export {
|
|
|
4515
4921
|
zAgentConfigId,
|
|
4516
4922
|
zAgentProfileId,
|
|
4517
4923
|
zCronTriggerId,
|
|
4518
|
-
|
|
4924
|
+
zIntegrationTargetId,
|
|
4519
4925
|
zAgentEventId,
|
|
4520
4926
|
zModelCallContextId,
|
|
4521
4927
|
zAgentInputId,
|
|
@@ -4606,12 +5012,15 @@ export {
|
|
|
4606
5012
|
zMcpoAuthStartMetadata,
|
|
4607
5013
|
zMcpoAuthStartResponse,
|
|
4608
5014
|
zCreateIntegrationOAuthSetupRequest,
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
5015
|
+
zIntegrationKind,
|
|
5016
|
+
zIntegrationProviderDisplayName,
|
|
5017
|
+
zIntegrationProviderConfig,
|
|
5018
|
+
zCreateGitHubSetupRequest,
|
|
5019
|
+
zInspectGitHubInstallationsRequest,
|
|
5020
|
+
zGitHubSetupInstallation,
|
|
5021
|
+
zGitHubInstallations,
|
|
4612
5022
|
zSlackSetupIcon,
|
|
4613
5023
|
zCreateSlackSetupRequest,
|
|
4614
|
-
zSlackSetup,
|
|
4615
5024
|
zResolveAgentConfigToolsRequest,
|
|
4616
5025
|
zCreateAgentConfigRequest,
|
|
4617
5026
|
zUpdateAgentConfigRequest,
|
|
@@ -4644,7 +5053,6 @@ export {
|
|
|
4644
5053
|
zCompiledModelReasoning,
|
|
4645
5054
|
zCompiledAgentModel,
|
|
4646
5055
|
zCompiledMachineSource,
|
|
4647
|
-
zCompiledTool,
|
|
4648
5056
|
zCompiledMcpAuthBearer,
|
|
4649
5057
|
zCompiledMcpAuthOAuth,
|
|
4650
5058
|
zCompiledMcpAuthSigV4,
|
|
@@ -4657,36 +5065,22 @@ export {
|
|
|
4657
5065
|
zCompiledSelfSubagent,
|
|
4658
5066
|
zCompiledProfileSubagent,
|
|
4659
5067
|
zCompiledSubagent,
|
|
4660
|
-
zCompiledAgentConfig,
|
|
4661
5068
|
zAgentConfigSummary,
|
|
4662
|
-
zAgentConfig,
|
|
4663
5069
|
zCreateAgentProfileRequest,
|
|
4664
5070
|
zUpdateAgentProfileRequest,
|
|
4665
5071
|
zRenameAgentProfileRequest,
|
|
4666
|
-
zAgentProfileSummary,
|
|
4667
|
-
zAgentProfile,
|
|
4668
|
-
zListAgentProfilesResponse,
|
|
4669
5072
|
zAgentProfileCronTriggerTarget,
|
|
4670
5073
|
zCronExpression,
|
|
4671
5074
|
zCronTimezone,
|
|
4672
5075
|
zCronMessageTemplate,
|
|
4673
5076
|
zCronTriggerDeliveryMode,
|
|
4674
5077
|
zAgentCronTriggerTarget,
|
|
4675
|
-
zCronTriggerTarget,
|
|
4676
5078
|
zCronTriggerFailureReport,
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
zCronTrigger,
|
|
4680
|
-
zListCronTriggersResponse,
|
|
4681
|
-
zCreateAgentRequest,
|
|
5079
|
+
zCronTriggerLastRunState,
|
|
5080
|
+
zCronTriggerLastRun,
|
|
4682
5081
|
zAgentActivity,
|
|
4683
5082
|
zAgentModel,
|
|
4684
|
-
zIntegrationTarget,
|
|
4685
|
-
zAgent,
|
|
4686
5083
|
zAgentMcpConnection,
|
|
4687
|
-
zCurrentAgentResponse,
|
|
4688
|
-
zGetAgentResponse,
|
|
4689
|
-
zListAgentsResponse,
|
|
4690
5084
|
zAgentInputKind,
|
|
4691
5085
|
zAgentControlType,
|
|
4692
5086
|
zAgentSequence,
|
|
@@ -4715,8 +5109,6 @@ export {
|
|
|
4715
5109
|
zToolResultContentBlock,
|
|
4716
5110
|
zSubmitToolResultContentBlock,
|
|
4717
5111
|
zAgentInput,
|
|
4718
|
-
zLaunchAgentResponse,
|
|
4719
|
-
zUpdateAgentConfigResponse,
|
|
4720
5112
|
zMachineMetadata,
|
|
4721
5113
|
zAgentInputEnvelope,
|
|
4722
5114
|
zToolCallType,
|
|
@@ -4773,15 +5165,15 @@ export {
|
|
|
4773
5165
|
zInteractionResolution,
|
|
4774
5166
|
zAgentInteractionKind,
|
|
4775
5167
|
zAgentInteractionState,
|
|
4776
|
-
|
|
5168
|
+
zInteractionPresentationReceipt,
|
|
4777
5169
|
zActorProvider,
|
|
4778
5170
|
zActor,
|
|
4779
5171
|
zExternalActorParams,
|
|
5172
|
+
zAgentLaunchInitialInput,
|
|
4780
5173
|
zCreateAgentInputRequest,
|
|
4781
5174
|
zCancelAgentRequest,
|
|
4782
5175
|
zResolveAgentInteractionRequest,
|
|
4783
5176
|
zListActorsResponse,
|
|
4784
|
-
zListAgentInteractionsResponse,
|
|
4785
5177
|
zOrgSecretOwnerInput,
|
|
4786
5178
|
zProjectSecretOwnerInput,
|
|
4787
5179
|
zUserSecretOwnerInput,
|
|
@@ -4795,6 +5187,7 @@ export {
|
|
|
4795
5187
|
zOAuthRefreshSecretMaterial,
|
|
4796
5188
|
zOAuthTokenSetSecretMaterial,
|
|
4797
5189
|
zAwsCredentialsSecretMaterial,
|
|
5190
|
+
zGitHubAppCredentialsSecretMaterial,
|
|
4798
5191
|
zSecretMaterial,
|
|
4799
5192
|
zCreateSecretRequest,
|
|
4800
5193
|
zUpdateSecretRequest,
|
|
@@ -4883,18 +5276,19 @@ export {
|
|
|
4883
5276
|
zProjectAccess,
|
|
4884
5277
|
zVisibleProject,
|
|
4885
5278
|
zListProjectsResponse,
|
|
5279
|
+
zOrgOverviewProjectActivity,
|
|
4886
5280
|
zOrgOverviewAgentProfileReference,
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
5281
|
+
zUsageTimeseriesInterval,
|
|
5282
|
+
zUsageTimeseriesMetric,
|
|
5283
|
+
zUsageTimeseriesGroupBy,
|
|
5284
|
+
zUsageTimeseriesSeries,
|
|
4890
5285
|
zUsageTokenTotals,
|
|
4891
5286
|
zUsageCostTotals,
|
|
4892
5287
|
zUsageTotals,
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
zOrgOverviewResponse,
|
|
5288
|
+
zAgentProfileStats,
|
|
5289
|
+
zAgentProfileSummary,
|
|
5290
|
+
zListAgentProfilesResponse,
|
|
5291
|
+
zUsageTimeseries,
|
|
4898
5292
|
zUsageModel,
|
|
4899
5293
|
zModelUsageTotals,
|
|
4900
5294
|
zUsageReport,
|
|
@@ -4909,6 +5303,61 @@ export {
|
|
|
4909
5303
|
zSetProjectMembershipRequest,
|
|
4910
5304
|
zProjectMembershipGrant,
|
|
4911
5305
|
zListProjectMembershipGrantsResponse,
|
|
5306
|
+
zIntegrationId,
|
|
5307
|
+
zIntegrationOAuthSetup,
|
|
5308
|
+
zGitHubSetup,
|
|
5309
|
+
zSlackSetup,
|
|
5310
|
+
zCompiledTool,
|
|
5311
|
+
zCompiledIntegrationCapability,
|
|
5312
|
+
zIntegrationCronTriggerTarget,
|
|
5313
|
+
zCronTriggerTarget,
|
|
5314
|
+
zCreateCronTriggerRequest,
|
|
5315
|
+
zUpdateCronTriggerRequest,
|
|
5316
|
+
zCronTrigger,
|
|
5317
|
+
zListCronTriggersResponse,
|
|
5318
|
+
zIntegrationSettings,
|
|
5319
|
+
zUpdateIntegrationRequest,
|
|
5320
|
+
zIntegrationRuntimeFailure,
|
|
5321
|
+
zConfigAgentToolInputSchema,
|
|
5322
|
+
zConfigIntegrationCapabilitySource,
|
|
5323
|
+
zConfigToolPermissionSelection,
|
|
5324
|
+
zConfigToolSource,
|
|
5325
|
+
zIntegrationName,
|
|
5326
|
+
zCompiledGitCredentials,
|
|
5327
|
+
zCompiledAgentConfig,
|
|
5328
|
+
zAgentConfig,
|
|
5329
|
+
zAgentProfile,
|
|
5330
|
+
zUpdateAgentConfigResponse,
|
|
5331
|
+
zCreateIntegrationRequest,
|
|
5332
|
+
zIntegrationState,
|
|
5333
|
+
zConfigureIntegrationRequest,
|
|
5334
|
+
zIntegrationCapabilityDefinition,
|
|
5335
|
+
zIntegrationSubscriptionId,
|
|
5336
|
+
zIntegrationConversation,
|
|
5337
|
+
zIntegrationTarget,
|
|
5338
|
+
zAgent,
|
|
5339
|
+
zCurrentAgentResponse,
|
|
5340
|
+
zGetAgentResponse,
|
|
5341
|
+
zListAgentsResponse,
|
|
5342
|
+
zLaunchAgentResponse,
|
|
5343
|
+
zAgentInteractionDestination,
|
|
5344
|
+
zAgentInteraction,
|
|
5345
|
+
zListAgentInteractionsResponse,
|
|
5346
|
+
zOrgOverviewResponse,
|
|
5347
|
+
zIntegrationSubscriptionAttachment,
|
|
5348
|
+
zCreateAgentRequest,
|
|
5349
|
+
zCreateIntegrationSubscriptionRequest,
|
|
5350
|
+
zIntegrationSubscription,
|
|
5351
|
+
zListIntegrationSubscriptionsResponse,
|
|
5352
|
+
zIntegrationSubscriptionDefinition,
|
|
5353
|
+
zIntegrationCapabilities,
|
|
5354
|
+
zIntegration,
|
|
5355
|
+
zListIntegrationsResponse,
|
|
5356
|
+
zIntegrationDefinition,
|
|
5357
|
+
zListIntegrationDefinitionsResponse,
|
|
5358
|
+
zAgentIncludeUsage,
|
|
5359
|
+
zAgentProfileIncludeStats,
|
|
5360
|
+
zAgentProfileStatsSince,
|
|
4912
5361
|
zUsageSince,
|
|
4913
5362
|
zUsageUntil,
|
|
4914
5363
|
zUsageIncludeProjectIds,
|
|
@@ -4926,8 +5375,6 @@ export {
|
|
|
4926
5375
|
zSecretOwnerKindFilter,
|
|
4927
5376
|
zSecretOwnerProjectIdFilter,
|
|
4928
5377
|
zSecretMcpoAuthFlowIdFilter,
|
|
4929
|
-
zIntegrationInstallAgentProfileFilter,
|
|
4930
|
-
zIntegrationInstallOAuthFlowIdFilter,
|
|
4931
5378
|
zSecretAvailabilitySourceFilter,
|
|
4932
5379
|
zListPersonalAccessTokensQuery,
|
|
4933
5380
|
zListPersonalAccessTokensResponse2,
|
|
@@ -4954,11 +5401,19 @@ export {
|
|
|
4954
5401
|
zDeclineInvitationPath,
|
|
4955
5402
|
zDeclineInvitationResponse,
|
|
4956
5403
|
zGetOrgOverviewPath,
|
|
4957
|
-
zGetOrgOverviewQuery,
|
|
4958
5404
|
zGetOrgOverviewResponse,
|
|
4959
5405
|
zGetOrgUsagePath,
|
|
4960
5406
|
zGetOrgUsageQuery,
|
|
4961
5407
|
zGetOrgUsageResponse,
|
|
5408
|
+
zGetOrgUsageTimeseriesPath,
|
|
5409
|
+
zGetOrgUsageTimeseriesQuery,
|
|
5410
|
+
zGetOrgUsageTimeseriesResponse,
|
|
5411
|
+
zListOrgAgentsPath,
|
|
5412
|
+
zListOrgAgentsQuery,
|
|
5413
|
+
zListOrgAgentsResponse,
|
|
5414
|
+
zListOrgAgentProfilesPath,
|
|
5415
|
+
zListOrgAgentProfilesQuery,
|
|
5416
|
+
zListOrgAgentProfilesResponse,
|
|
4962
5417
|
zListVisibleProjectsPath,
|
|
4963
5418
|
zListVisibleProjectsQuery,
|
|
4964
5419
|
zListVisibleProjectsResponse,
|
|
@@ -5091,11 +5546,6 @@ export {
|
|
|
5091
5546
|
zCreateSecretGrantResponse,
|
|
5092
5547
|
zDeleteSecretGrantPath,
|
|
5093
5548
|
zDeleteSecretGrantResponse,
|
|
5094
|
-
zListIntegrationInstallsPath,
|
|
5095
|
-
zListIntegrationInstallsQuery,
|
|
5096
|
-
zListIntegrationInstallsResponse2,
|
|
5097
|
-
zDeleteIntegrationInstallPath,
|
|
5098
|
-
zDeleteIntegrationInstallResponse,
|
|
5099
5549
|
zResolveAgentConfigToolsBody,
|
|
5100
5550
|
zResolveAgentConfigToolsPath,
|
|
5101
5551
|
zResolveAgentConfigToolsResponse,
|
|
@@ -5134,9 +5584,15 @@ export {
|
|
|
5134
5584
|
zCreateIntegrationOAuthSetupBody,
|
|
5135
5585
|
zCreateIntegrationOAuthSetupPath,
|
|
5136
5586
|
zCreateIntegrationOAuthSetupResponse,
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5587
|
+
zCreateIntegrationSlackSetupBody,
|
|
5588
|
+
zCreateIntegrationSlackSetupPath,
|
|
5589
|
+
zCreateIntegrationSlackSetupResponse,
|
|
5590
|
+
zCreateIntegrationGitHubSetupBody,
|
|
5591
|
+
zCreateIntegrationGitHubSetupPath,
|
|
5592
|
+
zCreateIntegrationGitHubSetupResponse,
|
|
5593
|
+
zInspectIntegrationGitHubInstallationsBody,
|
|
5594
|
+
zInspectIntegrationGitHubInstallationsPath,
|
|
5595
|
+
zInspectIntegrationGitHubInstallationsResponse,
|
|
5140
5596
|
zListCronTriggersPath,
|
|
5141
5597
|
zListCronTriggersQuery,
|
|
5142
5598
|
zListCronTriggersResponse2,
|
|
@@ -5339,6 +5795,8 @@ export {
|
|
|
5339
5795
|
zEndMachineDaemonRuntimeResponse,
|
|
5340
5796
|
zSleepMachineDaemonRuntimePath,
|
|
5341
5797
|
zSleepMachineDaemonRuntimeResponse,
|
|
5798
|
+
zGetDaemonGitCredentialsPath,
|
|
5799
|
+
zGetDaemonGitCredentialsResponse,
|
|
5342
5800
|
zGetDaemonSkillArchivePath,
|
|
5343
5801
|
zGetDaemonSkillArchiveQuery,
|
|
5344
5802
|
zGetDaemonSkillArchiveResponse,
|
|
@@ -5348,6 +5806,34 @@ export {
|
|
|
5348
5806
|
zUploadDaemonFilePath,
|
|
5349
5807
|
zUploadDaemonFileQuery,
|
|
5350
5808
|
zUploadDaemonFileResponse,
|
|
5809
|
+
zListIntegrationsPath,
|
|
5810
|
+
zListIntegrationsQuery,
|
|
5811
|
+
zListIntegrationsResponse2,
|
|
5812
|
+
zCreateIntegrationBody,
|
|
5813
|
+
zCreateIntegrationPath,
|
|
5814
|
+
zCreateIntegrationResponse,
|
|
5815
|
+
zDeleteIntegrationPath,
|
|
5816
|
+
zDeleteIntegrationResponse,
|
|
5817
|
+
zGetIntegrationPath,
|
|
5818
|
+
zGetIntegrationResponse,
|
|
5819
|
+
zUpdateIntegrationBody,
|
|
5820
|
+
zUpdateIntegrationPath,
|
|
5821
|
+
zUpdateIntegrationResponse,
|
|
5822
|
+
zListIntegrationSubscriptionsPath,
|
|
5823
|
+
zListIntegrationSubscriptionsQuery,
|
|
5824
|
+
zListIntegrationSubscriptionsResponse2,
|
|
5825
|
+
zCreateIntegrationSubscriptionBody,
|
|
5826
|
+
zCreateIntegrationSubscriptionPath,
|
|
5827
|
+
zCreateIntegrationSubscriptionResponse,
|
|
5828
|
+
zDeleteIntegrationSubscriptionPath,
|
|
5829
|
+
zDeleteIntegrationSubscriptionResponse,
|
|
5830
|
+
zConfigureIntegrationBody,
|
|
5831
|
+
zConfigureIntegrationPath,
|
|
5832
|
+
zConfigureIntegrationResponse,
|
|
5833
|
+
zDisconnectIntegrationPath,
|
|
5834
|
+
zDisconnectIntegrationResponse,
|
|
5835
|
+
zListIntegrationDefinitionsPath,
|
|
5836
|
+
zListIntegrationDefinitionsResponse2,
|
|
5351
5837
|
zod_gen_exports
|
|
5352
5838
|
};
|
|
5353
|
-
//# sourceMappingURL=chunk-
|
|
5839
|
+
//# sourceMappingURL=chunk-U75SRNGF.js.map
|