@vm0/cli 9.240.2 → 9.240.3
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/{agent-VCTJB2V7.js → agent-UU6BOD2Y.js} +5 -5
- package/{banking-A7VMJ3DM.js → banking-TZDM6FPW.js} +3 -3
- package/{chat-LJTRIYLH.js → chat-VK7ROWG4.js} +4 -4
- package/{chunk-ZZWAWZAX.js → chunk-23L3UUHO.js} +2 -2
- package/{chunk-3BDRU5WG.js → chunk-FPEMD2NK.js} +2 -2
- package/{chunk-ZMWXQJYA.js → chunk-IE6CD57U.js} +138 -140
- package/{chunk-ZMWXQJYA.js.map → chunk-IE6CD57U.js.map} +1 -1
- package/{chunk-VC7NX4NF.js → chunk-IS7CXTNO.js} +4 -4
- package/{chunk-OGCTK67A.js → chunk-MKADDVH4.js} +16 -9
- package/chunk-MKADDVH4.js.map +1 -0
- package/{chunk-ISC7E56M.js → chunk-MZ5MFXZ2.js} +2 -2
- package/{chunk-7JLQS475.js → chunk-TFOOMGCO.js} +3 -3
- package/{chunk-HQTSY3FI.js → chunk-XQJWG3AG.js} +4 -4
- package/{chunk-UJ5H65KR.js → chunk-YZCOVBMW.js} +2 -2
- package/{computer-use-UFSUZW4S.js → computer-use-KTH27AG6.js} +3 -3
- package/{connector-RVPMZLN5.js → connector-5FB755QM.js} +4 -4
- package/{credit-5UXG5CV4.js → credit-TYXZRPFJ.js} +4 -4
- package/{developer-support-C2VVLCT5.js → developer-support-YABCSEMY.js} +3 -3
- package/{doctor-CNRNUHXX.js → doctor-NV2P53SL.js} +5 -5
- package/{generate-74MBJ6G2.js → generate-ZEZEBATN.js} +4 -4
- package/{github-WOA2BET2.js → github-QQD7WEMP.js} +3 -3
- package/{goal-NV23KTC2.js → goal-PB4CUVZA.js} +3 -3
- package/{host-OFUEE5R2.js → host-S3MAPKUG.js} +3 -3
- package/index.js +12 -12
- package/{logs-BKNAEZ2V.js → logs-MLHFYXLR.js} +5 -5
- package/{maps-4E3HQO7Y.js → maps-IZRQS3JF.js} +3 -3
- package/{memory-ONWXGP6N.js → memory-J2WMMWSW.js} +3 -3
- package/{model-KQ5DWFMB.js → model-AWWXJUSK.js} +4 -4
- package/{model-provider-CH2NDJAQ.js → model-provider-2IGQIWVG.js} +4 -4
- package/{org-T5HKNOI5.js → org-UYMEOGMZ.js} +3 -3
- package/package.json +1 -1
- package/{phone-IKCDDVZE.js → phone-26UXR2H2.js} +3 -3
- package/{preference-BAVSSXYL.js → preference-DBYEHWGL.js} +3 -3
- package/{relationship-FPV2UMAU.js → relationship-PXMVIY2D.js} +3 -3
- package/{resource-ZESK7TP6.js → resource-FNKXDYGT.js} +3 -3
- package/{scrape-L4WRVDZC.js → scrape-UYHZKOR7.js} +3 -3
- package/{search-4ZQP3MRX.js → search-ABLZROBC.js} +5 -5
- package/{secret-VZONUOO3.js → secret-O5WPHVWS.js} +3 -3
- package/{slack-PNTENEPN.js → slack-HKNKQ4RF.js} +3 -3
- package/{teams-UJCNHFVN.js → teams-4QW3KZWP.js} +3 -3
- package/{telegram-IWU5VQH4.js → telegram-K3XIZ7A2.js} +3 -3
- package/{variable-75ZY3D2M.js → variable-LY3F7PLD.js} +3 -3
- package/{video-EM7XKL3X.js → video-UY3U3BVR.js} +2 -2
- package/{web-BNTKPP5V.js → web-K36WUVBQ.js} +3 -3
- package/{whoami-WJK3PZIO.js → whoami-SECUPAZ5.js} +5 -5
- package/{workflow-KNIVHJGP.js → workflow-Q2XBT6JV.js} +3 -3
- package/zero.js +35 -35
- package/chunk-OGCTK67A.js.map +0 -1
- /package/{agent-VCTJB2V7.js.map → agent-UU6BOD2Y.js.map} +0 -0
- /package/{banking-A7VMJ3DM.js.map → banking-TZDM6FPW.js.map} +0 -0
- /package/{chat-LJTRIYLH.js.map → chat-VK7ROWG4.js.map} +0 -0
- /package/{chunk-ZZWAWZAX.js.map → chunk-23L3UUHO.js.map} +0 -0
- /package/{chunk-3BDRU5WG.js.map → chunk-FPEMD2NK.js.map} +0 -0
- /package/{chunk-VC7NX4NF.js.map → chunk-IS7CXTNO.js.map} +0 -0
- /package/{chunk-ISC7E56M.js.map → chunk-MZ5MFXZ2.js.map} +0 -0
- /package/{chunk-7JLQS475.js.map → chunk-TFOOMGCO.js.map} +0 -0
- /package/{chunk-HQTSY3FI.js.map → chunk-XQJWG3AG.js.map} +0 -0
- /package/{chunk-UJ5H65KR.js.map → chunk-YZCOVBMW.js.map} +0 -0
- /package/{computer-use-UFSUZW4S.js.map → computer-use-KTH27AG6.js.map} +0 -0
- /package/{connector-RVPMZLN5.js.map → connector-5FB755QM.js.map} +0 -0
- /package/{credit-5UXG5CV4.js.map → credit-TYXZRPFJ.js.map} +0 -0
- /package/{developer-support-C2VVLCT5.js.map → developer-support-YABCSEMY.js.map} +0 -0
- /package/{doctor-CNRNUHXX.js.map → doctor-NV2P53SL.js.map} +0 -0
- /package/{generate-74MBJ6G2.js.map → generate-ZEZEBATN.js.map} +0 -0
- /package/{github-WOA2BET2.js.map → github-QQD7WEMP.js.map} +0 -0
- /package/{goal-NV23KTC2.js.map → goal-PB4CUVZA.js.map} +0 -0
- /package/{host-OFUEE5R2.js.map → host-S3MAPKUG.js.map} +0 -0
- /package/{logs-BKNAEZ2V.js.map → logs-MLHFYXLR.js.map} +0 -0
- /package/{maps-4E3HQO7Y.js.map → maps-IZRQS3JF.js.map} +0 -0
- /package/{memory-ONWXGP6N.js.map → memory-J2WMMWSW.js.map} +0 -0
- /package/{model-KQ5DWFMB.js.map → model-AWWXJUSK.js.map} +0 -0
- /package/{model-provider-CH2NDJAQ.js.map → model-provider-2IGQIWVG.js.map} +0 -0
- /package/{org-T5HKNOI5.js.map → org-UYMEOGMZ.js.map} +0 -0
- /package/{phone-IKCDDVZE.js.map → phone-26UXR2H2.js.map} +0 -0
- /package/{preference-BAVSSXYL.js.map → preference-DBYEHWGL.js.map} +0 -0
- /package/{relationship-FPV2UMAU.js.map → relationship-PXMVIY2D.js.map} +0 -0
- /package/{resource-ZESK7TP6.js.map → resource-FNKXDYGT.js.map} +0 -0
- /package/{scrape-L4WRVDZC.js.map → scrape-UYHZKOR7.js.map} +0 -0
- /package/{search-4ZQP3MRX.js.map → search-ABLZROBC.js.map} +0 -0
- /package/{secret-VZONUOO3.js.map → secret-O5WPHVWS.js.map} +0 -0
- /package/{slack-PNTENEPN.js.map → slack-HKNKQ4RF.js.map} +0 -0
- /package/{teams-UJCNHFVN.js.map → teams-4QW3KZWP.js.map} +0 -0
- /package/{telegram-IWU5VQH4.js.map → telegram-K3XIZ7A2.js.map} +0 -0
- /package/{variable-75ZY3D2M.js.map → variable-LY3F7PLD.js.map} +0 -0
- /package/{video-EM7XKL3X.js.map → video-UY3U3BVR.js.map} +0 -0
- /package/{web-BNTKPP5V.js.map → web-K36WUVBQ.js.map} +0 -0
- /package/{whoami-WJK3PZIO.js.map → whoami-SECUPAZ5.js.map} +0 -0
- /package/{workflow-KNIVHJGP.js.map → workflow-Q2XBT6JV.js.map} +0 -0
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateOrgModelPoliciesRequestSchema,
|
|
23
23
|
upsertModelProviderRequestSchema,
|
|
24
24
|
upsertModelProviderResponseSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-23L3UUHO.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__esm,
|
|
@@ -7112,11 +7112,11 @@ var webhookWorkflowAutomationContract = c27.router({
|
|
|
7112
7112
|
summary: "Handle inbound workflow automation webhooks"
|
|
7113
7113
|
}
|
|
7114
7114
|
});
|
|
7115
|
-
var
|
|
7115
|
+
var legacyWebhookWorkflowAutomationContract = c27.router({
|
|
7116
7116
|
post: {
|
|
7117
7117
|
...workflowAutomationWebhookPostRoute,
|
|
7118
7118
|
path: "/api/webhooks/workflow-triggers/:token",
|
|
7119
|
-
summary: "Handle
|
|
7119
|
+
summary: "Handle inbound automation webhooks through the legacy path"
|
|
7120
7120
|
}
|
|
7121
7121
|
});
|
|
7122
7122
|
var webhookBuiltInGenerationFalContract = c27.router({
|
|
@@ -10144,7 +10144,7 @@ var workflowFileMetadataSchema = external_exports.object({
|
|
|
10144
10144
|
});
|
|
10145
10145
|
var workflowInstructionSchema = external_exports.string().max(WORKFLOW_FILES_MAX_BYTES);
|
|
10146
10146
|
var zeroWorkflowScheduleTypeSchema = external_exports.enum(["cron", "loop", "once"]);
|
|
10147
|
-
var
|
|
10147
|
+
var zeroWorkflowAutomationKindSchema = external_exports.enum(["schedule", "event"]);
|
|
10148
10148
|
var zeroWorkflowEventTypeSchema = external_exports.enum([
|
|
10149
10149
|
"gmail-new-message",
|
|
10150
10150
|
"gmail-label-applied",
|
|
@@ -10316,7 +10316,7 @@ var zeroWorkflowScheduleSchema = external_exports.discriminatedUnion("type", [
|
|
|
10316
10316
|
timezone: external_exports.string().min(1)
|
|
10317
10317
|
})
|
|
10318
10318
|
]);
|
|
10319
|
-
var
|
|
10319
|
+
var zeroWorkflowAutomationSummaryBaseSchema = external_exports.object({
|
|
10320
10320
|
id: external_exports.string(),
|
|
10321
10321
|
ownerUserId: external_exports.string(),
|
|
10322
10322
|
enabled: external_exports.boolean(),
|
|
@@ -10324,82 +10324,82 @@ var zeroWorkflowTriggerSummaryBaseSchema = external_exports.object({
|
|
|
10324
10324
|
nextRunAt: external_exports.string().datetime().nullable(),
|
|
10325
10325
|
lastRunAt: external_exports.string().datetime().nullable()
|
|
10326
10326
|
});
|
|
10327
|
-
var
|
|
10327
|
+
var zeroWorkflowScheduleAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10328
10328
|
kind: external_exports.literal("schedule"),
|
|
10329
10329
|
schedule: zeroWorkflowScheduleSchema,
|
|
10330
10330
|
scheduleSummary: external_exports.string()
|
|
10331
10331
|
});
|
|
10332
|
-
var
|
|
10332
|
+
var zeroWorkflowGmailNewMessageAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10333
10333
|
kind: external_exports.literal("event"),
|
|
10334
10334
|
eventType: external_exports.literal("gmail-new-message"),
|
|
10335
10335
|
eventConfig: gmailNewMessageEventConfigSchema,
|
|
10336
10336
|
schedule: external_exports.null(),
|
|
10337
10337
|
scheduleSummary: external_exports.null()
|
|
10338
10338
|
});
|
|
10339
|
-
var
|
|
10339
|
+
var zeroWorkflowGmailLabelAppliedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10340
10340
|
kind: external_exports.literal("event"),
|
|
10341
10341
|
eventType: external_exports.literal("gmail-label-applied"),
|
|
10342
10342
|
eventConfig: gmailLabelAppliedEventConfigSchema,
|
|
10343
10343
|
schedule: external_exports.null(),
|
|
10344
10344
|
scheduleSummary: external_exports.null()
|
|
10345
10345
|
});
|
|
10346
|
-
var
|
|
10346
|
+
var zeroWorkflowGithubLabelAppliedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10347
10347
|
kind: external_exports.literal("event"),
|
|
10348
10348
|
eventType: external_exports.literal("github-label-applied"),
|
|
10349
10349
|
eventConfig: githubLabelAppliedEventConfigSchema,
|
|
10350
10350
|
schedule: external_exports.null(),
|
|
10351
10351
|
scheduleSummary: external_exports.null()
|
|
10352
10352
|
});
|
|
10353
|
-
var
|
|
10353
|
+
var zeroWorkflowGoogleCalendarEventCreatedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10354
10354
|
kind: external_exports.literal("event"),
|
|
10355
10355
|
eventType: external_exports.literal("google-calendar-event-created"),
|
|
10356
10356
|
eventConfig: googleCalendarEventCreatedEventConfigSchema,
|
|
10357
10357
|
schedule: external_exports.null(),
|
|
10358
10358
|
scheduleSummary: external_exports.null()
|
|
10359
10359
|
});
|
|
10360
|
-
var
|
|
10360
|
+
var zeroWorkflowGoogleCalendarEventUpdatedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10361
10361
|
kind: external_exports.literal("event"),
|
|
10362
10362
|
eventType: external_exports.literal("google-calendar-event-updated"),
|
|
10363
10363
|
eventConfig: googleCalendarEventUpdatedEventConfigSchema,
|
|
10364
10364
|
schedule: external_exports.null(),
|
|
10365
10365
|
scheduleSummary: external_exports.null()
|
|
10366
10366
|
});
|
|
10367
|
-
var
|
|
10367
|
+
var zeroWorkflowGoogleCalendarEventCancelledAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10368
10368
|
kind: external_exports.literal("event"),
|
|
10369
10369
|
eventType: external_exports.literal("google-calendar-event-cancelled"),
|
|
10370
10370
|
eventConfig: googleCalendarEventCancelledEventConfigSchema,
|
|
10371
10371
|
schedule: external_exports.null(),
|
|
10372
10372
|
scheduleSummary: external_exports.null()
|
|
10373
10373
|
});
|
|
10374
|
-
var
|
|
10374
|
+
var zeroWorkflowGoogleMeetTranscriptGeneratedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10375
10375
|
kind: external_exports.literal("event"),
|
|
10376
10376
|
eventType: external_exports.literal("google-meet-transcript-generated"),
|
|
10377
10377
|
eventConfig: googleMeetTranscriptGeneratedEventConfigSchema,
|
|
10378
10378
|
schedule: external_exports.null(),
|
|
10379
10379
|
scheduleSummary: external_exports.null()
|
|
10380
10380
|
});
|
|
10381
|
-
var
|
|
10381
|
+
var zeroWorkflowNotionChildPageCreatedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10382
10382
|
kind: external_exports.literal("event"),
|
|
10383
10383
|
eventType: external_exports.literal("notion-child-page-created"),
|
|
10384
10384
|
eventConfig: notionChildPageCreatedEventConfigSchema,
|
|
10385
10385
|
schedule: external_exports.null(),
|
|
10386
10386
|
scheduleSummary: external_exports.null()
|
|
10387
10387
|
});
|
|
10388
|
-
var
|
|
10388
|
+
var zeroWorkflowNotionDatabaseItemCreatedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10389
10389
|
kind: external_exports.literal("event"),
|
|
10390
10390
|
eventType: external_exports.literal("notion-database-item-created"),
|
|
10391
10391
|
eventConfig: notionDatabaseItemCreatedEventConfigSchema,
|
|
10392
10392
|
schedule: external_exports.null(),
|
|
10393
10393
|
scheduleSummary: external_exports.null()
|
|
10394
10394
|
});
|
|
10395
|
-
var
|
|
10395
|
+
var zeroWorkflowNotionPageContentUpdatedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10396
10396
|
kind: external_exports.literal("event"),
|
|
10397
10397
|
eventType: external_exports.literal("notion-page-content-updated"),
|
|
10398
10398
|
eventConfig: notionPageContentUpdatedEventConfigSchema,
|
|
10399
10399
|
schedule: external_exports.null(),
|
|
10400
10400
|
scheduleSummary: external_exports.null()
|
|
10401
10401
|
});
|
|
10402
|
-
var
|
|
10402
|
+
var zeroWorkflowWebhookReceivedAutomationSummarySchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10403
10403
|
kind: external_exports.literal("event"),
|
|
10404
10404
|
eventType: external_exports.literal("webhook-received"),
|
|
10405
10405
|
eventConfig: webhookReceivedEventConfigSchema,
|
|
@@ -10411,25 +10411,25 @@ var zeroWorkflowWebhookReceivedTriggerSummarySchema = zeroWorkflowTriggerSummary
|
|
|
10411
10411
|
lastReceivedAt: external_exports.string().datetime().nullable(),
|
|
10412
10412
|
webhookSecret: external_exports.string().min(1).optional()
|
|
10413
10413
|
});
|
|
10414
|
-
var
|
|
10414
|
+
var zeroWorkflowEventAutomationSummarySchema = external_exports.discriminatedUnion(
|
|
10415
10415
|
"eventType",
|
|
10416
10416
|
[
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10417
|
+
zeroWorkflowGmailNewMessageAutomationSummarySchema,
|
|
10418
|
+
zeroWorkflowGmailLabelAppliedAutomationSummarySchema,
|
|
10419
|
+
zeroWorkflowGithubLabelAppliedAutomationSummarySchema,
|
|
10420
|
+
zeroWorkflowGoogleCalendarEventCreatedAutomationSummarySchema,
|
|
10421
|
+
zeroWorkflowGoogleCalendarEventUpdatedAutomationSummarySchema,
|
|
10422
|
+
zeroWorkflowGoogleCalendarEventCancelledAutomationSummarySchema,
|
|
10423
|
+
zeroWorkflowGoogleMeetTranscriptGeneratedAutomationSummarySchema,
|
|
10424
|
+
zeroWorkflowNotionChildPageCreatedAutomationSummarySchema,
|
|
10425
|
+
zeroWorkflowNotionDatabaseItemCreatedAutomationSummarySchema,
|
|
10426
|
+
zeroWorkflowNotionPageContentUpdatedAutomationSummarySchema,
|
|
10427
|
+
zeroWorkflowWebhookReceivedAutomationSummarySchema
|
|
10428
10428
|
]
|
|
10429
10429
|
);
|
|
10430
|
-
var
|
|
10431
|
-
|
|
10432
|
-
|
|
10430
|
+
var zeroWorkflowAutomationSummarySchema = external_exports.union([
|
|
10431
|
+
zeroWorkflowScheduleAutomationSummarySchema,
|
|
10432
|
+
zeroWorkflowEventAutomationSummarySchema
|
|
10433
10433
|
]);
|
|
10434
10434
|
var chatThreadWorkflowSchema = external_exports.object({
|
|
10435
10435
|
id: external_exports.string().uuid(),
|
|
@@ -10438,131 +10438,129 @@ var chatThreadWorkflowSchema = external_exports.object({
|
|
|
10438
10438
|
displayName: external_exports.string().nullable(),
|
|
10439
10439
|
description: external_exports.string().nullable()
|
|
10440
10440
|
});
|
|
10441
|
-
var
|
|
10441
|
+
var chatThreadWorkflowAutomationBaseSchema = zeroWorkflowAutomationSummaryBaseSchema.extend({
|
|
10442
10442
|
id: external_exports.string().uuid(),
|
|
10443
10443
|
chatThreadId: external_exports.string().min(1),
|
|
10444
10444
|
workflow: chatThreadWorkflowSchema
|
|
10445
10445
|
});
|
|
10446
|
-
var
|
|
10446
|
+
var chatThreadWorkflowScheduleAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10447
10447
|
kind: external_exports.literal("schedule"),
|
|
10448
10448
|
schedule: zeroWorkflowScheduleSchema,
|
|
10449
10449
|
scheduleSummary: external_exports.string()
|
|
10450
10450
|
});
|
|
10451
|
-
var
|
|
10451
|
+
var chatThreadWorkflowGmailNewMessageAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10452
10452
|
kind: external_exports.literal("event"),
|
|
10453
10453
|
eventType: external_exports.literal("gmail-new-message"),
|
|
10454
10454
|
eventConfig: gmailNewMessageEventConfigSchema,
|
|
10455
10455
|
schedule: external_exports.null(),
|
|
10456
10456
|
scheduleSummary: external_exports.null()
|
|
10457
10457
|
});
|
|
10458
|
-
var
|
|
10458
|
+
var chatThreadWorkflowGmailLabelAppliedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10459
10459
|
kind: external_exports.literal("event"),
|
|
10460
10460
|
eventType: external_exports.literal("gmail-label-applied"),
|
|
10461
10461
|
eventConfig: gmailLabelAppliedEventConfigSchema,
|
|
10462
10462
|
schedule: external_exports.null(),
|
|
10463
10463
|
scheduleSummary: external_exports.null()
|
|
10464
10464
|
});
|
|
10465
|
-
var
|
|
10465
|
+
var chatThreadWorkflowGithubLabelAppliedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10466
10466
|
kind: external_exports.literal("event"),
|
|
10467
10467
|
eventType: external_exports.literal("github-label-applied"),
|
|
10468
10468
|
eventConfig: githubLabelAppliedEventConfigSchema,
|
|
10469
10469
|
schedule: external_exports.null(),
|
|
10470
10470
|
scheduleSummary: external_exports.null()
|
|
10471
10471
|
});
|
|
10472
|
-
var
|
|
10472
|
+
var chatThreadWorkflowGoogleCalendarEventCreatedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10473
10473
|
kind: external_exports.literal("event"),
|
|
10474
10474
|
eventType: external_exports.literal("google-calendar-event-created"),
|
|
10475
10475
|
eventConfig: googleCalendarEventCreatedEventConfigSchema,
|
|
10476
10476
|
schedule: external_exports.null(),
|
|
10477
10477
|
scheduleSummary: external_exports.null()
|
|
10478
10478
|
});
|
|
10479
|
-
var
|
|
10479
|
+
var chatThreadWorkflowGoogleCalendarEventUpdatedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10480
10480
|
kind: external_exports.literal("event"),
|
|
10481
10481
|
eventType: external_exports.literal("google-calendar-event-updated"),
|
|
10482
10482
|
eventConfig: googleCalendarEventUpdatedEventConfigSchema,
|
|
10483
10483
|
schedule: external_exports.null(),
|
|
10484
10484
|
scheduleSummary: external_exports.null()
|
|
10485
10485
|
});
|
|
10486
|
-
var
|
|
10486
|
+
var chatThreadWorkflowGoogleCalendarEventCancelledAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10487
10487
|
kind: external_exports.literal("event"),
|
|
10488
10488
|
eventType: external_exports.literal("google-calendar-event-cancelled"),
|
|
10489
10489
|
eventConfig: googleCalendarEventCancelledEventConfigSchema,
|
|
10490
10490
|
schedule: external_exports.null(),
|
|
10491
10491
|
scheduleSummary: external_exports.null()
|
|
10492
10492
|
});
|
|
10493
|
-
var
|
|
10493
|
+
var chatThreadWorkflowGoogleMeetTranscriptGeneratedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10494
10494
|
kind: external_exports.literal("event"),
|
|
10495
10495
|
eventType: external_exports.literal("google-meet-transcript-generated"),
|
|
10496
10496
|
eventConfig: googleMeetTranscriptGeneratedEventConfigSchema,
|
|
10497
10497
|
schedule: external_exports.null(),
|
|
10498
10498
|
scheduleSummary: external_exports.null()
|
|
10499
10499
|
});
|
|
10500
|
-
var
|
|
10500
|
+
var chatThreadWorkflowNotionChildPageCreatedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10501
10501
|
kind: external_exports.literal("event"),
|
|
10502
10502
|
eventType: external_exports.literal("notion-child-page-created"),
|
|
10503
10503
|
eventConfig: notionChildPageCreatedEventConfigSchema,
|
|
10504
10504
|
schedule: external_exports.null(),
|
|
10505
10505
|
scheduleSummary: external_exports.null()
|
|
10506
10506
|
});
|
|
10507
|
-
var
|
|
10507
|
+
var chatThreadWorkflowNotionDatabaseItemCreatedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10508
10508
|
kind: external_exports.literal("event"),
|
|
10509
10509
|
eventType: external_exports.literal("notion-database-item-created"),
|
|
10510
10510
|
eventConfig: notionDatabaseItemCreatedEventConfigSchema,
|
|
10511
10511
|
schedule: external_exports.null(),
|
|
10512
10512
|
scheduleSummary: external_exports.null()
|
|
10513
10513
|
});
|
|
10514
|
-
var
|
|
10514
|
+
var chatThreadWorkflowNotionPageContentUpdatedAutomationSchema = chatThreadWorkflowAutomationBaseSchema.extend({
|
|
10515
10515
|
kind: external_exports.literal("event"),
|
|
10516
10516
|
eventType: external_exports.literal("notion-page-content-updated"),
|
|
10517
10517
|
eventConfig: notionPageContentUpdatedEventConfigSchema,
|
|
10518
10518
|
schedule: external_exports.null(),
|
|
10519
10519
|
scheduleSummary: external_exports.null()
|
|
10520
10520
|
});
|
|
10521
|
-
var
|
|
10521
|
+
var chatThreadWorkflowWebhookReceivedAutomationSchema = zeroWorkflowWebhookReceivedAutomationSummarySchema.extend({
|
|
10522
10522
|
id: external_exports.string().uuid(),
|
|
10523
10523
|
chatThreadId: external_exports.string().min(1),
|
|
10524
10524
|
workflow: chatThreadWorkflowSchema
|
|
10525
10525
|
});
|
|
10526
|
-
var
|
|
10527
|
-
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10526
|
+
var chatThreadWorkflowAutomationSchema = external_exports.union([
|
|
10527
|
+
chatThreadWorkflowScheduleAutomationSchema,
|
|
10528
|
+
chatThreadWorkflowGmailNewMessageAutomationSchema,
|
|
10529
|
+
chatThreadWorkflowGmailLabelAppliedAutomationSchema,
|
|
10530
|
+
chatThreadWorkflowGithubLabelAppliedAutomationSchema,
|
|
10531
|
+
chatThreadWorkflowGoogleCalendarEventCreatedAutomationSchema,
|
|
10532
|
+
chatThreadWorkflowGoogleCalendarEventUpdatedAutomationSchema,
|
|
10533
|
+
chatThreadWorkflowGoogleCalendarEventCancelledAutomationSchema,
|
|
10534
|
+
chatThreadWorkflowGoogleMeetTranscriptGeneratedAutomationSchema,
|
|
10535
|
+
chatThreadWorkflowNotionChildPageCreatedAutomationSchema,
|
|
10536
|
+
chatThreadWorkflowNotionDatabaseItemCreatedAutomationSchema,
|
|
10537
|
+
chatThreadWorkflowNotionPageContentUpdatedAutomationSchema,
|
|
10538
|
+
chatThreadWorkflowWebhookReceivedAutomationSchema
|
|
10539
10539
|
]);
|
|
10540
|
-
var
|
|
10540
|
+
var zeroWorkflowScheduleAutomationCreateRequestSchema = external_exports.object({
|
|
10541
10541
|
kind: external_exports.literal("schedule").optional(),
|
|
10542
10542
|
schedule: zeroWorkflowScheduleSchema,
|
|
10543
10543
|
enabled: external_exports.boolean().optional()
|
|
10544
10544
|
});
|
|
10545
|
-
var
|
|
10545
|
+
var zeroWorkflowGmailNewMessageAutomationCreateRequestSchema = external_exports.object({
|
|
10546
10546
|
kind: external_exports.literal("event"),
|
|
10547
10547
|
eventType: external_exports.literal("gmail-new-message"),
|
|
10548
10548
|
eventConfig: gmailNewMessageEventConfigSchema,
|
|
10549
10549
|
enabled: external_exports.boolean().optional()
|
|
10550
10550
|
});
|
|
10551
|
-
var
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
);
|
|
10559
|
-
var zeroWorkflowGithubLabelAppliedTriggerCreateRequestSchema = external_exports.object({
|
|
10551
|
+
var zeroWorkflowGmailLabelAppliedAutomationCreateRequestSchema = external_exports.object({
|
|
10552
|
+
kind: external_exports.literal("event"),
|
|
10553
|
+
eventType: external_exports.literal("gmail-label-applied"),
|
|
10554
|
+
eventConfig: gmailLabelAppliedEventConfigSchema,
|
|
10555
|
+
enabled: external_exports.boolean().optional()
|
|
10556
|
+
});
|
|
10557
|
+
var zeroWorkflowGithubLabelAppliedAutomationCreateRequestSchema = external_exports.object({
|
|
10560
10558
|
kind: external_exports.literal("event"),
|
|
10561
10559
|
eventType: external_exports.literal("github-label-applied"),
|
|
10562
10560
|
eventConfig: githubLabelAppliedEventConfigSchema,
|
|
10563
10561
|
enabled: external_exports.boolean().optional()
|
|
10564
10562
|
});
|
|
10565
|
-
var
|
|
10563
|
+
var zeroWorkflowGoogleCalendarEventCreatedAutomationCreateRequestSchema = external_exports.object({
|
|
10566
10564
|
kind: external_exports.literal("event"),
|
|
10567
10565
|
eventType: external_exports.literal("google-calendar-event-created"),
|
|
10568
10566
|
eventConfig: googleCalendarEventCreatedEventConfigSchema.optional().default({
|
|
@@ -10572,7 +10570,7 @@ var zeroWorkflowGoogleCalendarEventCreatedTriggerCreateRequestSchema = external_
|
|
|
10572
10570
|
}),
|
|
10573
10571
|
enabled: external_exports.boolean().optional()
|
|
10574
10572
|
});
|
|
10575
|
-
var
|
|
10573
|
+
var zeroWorkflowGoogleCalendarEventUpdatedAutomationCreateRequestSchema = external_exports.object({
|
|
10576
10574
|
kind: external_exports.literal("event"),
|
|
10577
10575
|
eventType: external_exports.literal("google-calendar-event-updated"),
|
|
10578
10576
|
eventConfig: googleCalendarEventUpdatedEventConfigSchema.optional().default({
|
|
@@ -10582,7 +10580,7 @@ var zeroWorkflowGoogleCalendarEventUpdatedTriggerCreateRequestSchema = external_
|
|
|
10582
10580
|
}),
|
|
10583
10581
|
enabled: external_exports.boolean().optional()
|
|
10584
10582
|
});
|
|
10585
|
-
var
|
|
10583
|
+
var zeroWorkflowGoogleCalendarEventCancelledAutomationCreateRequestSchema = external_exports.object({
|
|
10586
10584
|
kind: external_exports.literal("event"),
|
|
10587
10585
|
eventType: external_exports.literal("google-calendar-event-cancelled"),
|
|
10588
10586
|
eventConfig: googleCalendarEventCancelledEventConfigSchema.optional().default({
|
|
@@ -10592,7 +10590,7 @@ var zeroWorkflowGoogleCalendarEventCancelledTriggerCreateRequestSchema = externa
|
|
|
10592
10590
|
}),
|
|
10593
10591
|
enabled: external_exports.boolean().optional()
|
|
10594
10592
|
});
|
|
10595
|
-
var
|
|
10593
|
+
var zeroWorkflowGoogleMeetTranscriptGeneratedAutomationCreateRequestSchema = external_exports.object({
|
|
10596
10594
|
kind: external_exports.literal("event"),
|
|
10597
10595
|
eventType: external_exports.literal("google-meet-transcript-generated"),
|
|
10598
10596
|
eventConfig: googleMeetTranscriptGeneratedEventConfigSchema.optional().default({
|
|
@@ -10602,57 +10600,57 @@ var zeroWorkflowGoogleMeetTranscriptGeneratedTriggerCreateRequestSchema = extern
|
|
|
10602
10600
|
}),
|
|
10603
10601
|
enabled: external_exports.boolean().optional()
|
|
10604
10602
|
});
|
|
10605
|
-
var
|
|
10603
|
+
var zeroWorkflowNotionChildPageCreatedAutomationCreateRequestSchema = external_exports.object({
|
|
10606
10604
|
kind: external_exports.literal("event"),
|
|
10607
10605
|
eventType: external_exports.literal("notion-child-page-created"),
|
|
10608
10606
|
eventConfig: notionChildPageCreatedEventCreateConfigSchema,
|
|
10609
10607
|
enabled: external_exports.boolean().optional()
|
|
10610
10608
|
});
|
|
10611
|
-
var
|
|
10609
|
+
var zeroWorkflowNotionDatabaseItemCreatedAutomationCreateRequestSchema = external_exports.object({
|
|
10612
10610
|
kind: external_exports.literal("event"),
|
|
10613
10611
|
eventType: external_exports.literal("notion-database-item-created"),
|
|
10614
10612
|
eventConfig: notionDatabaseItemCreatedEventCreateConfigSchema,
|
|
10615
10613
|
enabled: external_exports.boolean().optional()
|
|
10616
10614
|
});
|
|
10617
|
-
var
|
|
10615
|
+
var zeroWorkflowNotionPageContentUpdatedAutomationCreateRequestSchema = external_exports.object({
|
|
10618
10616
|
kind: external_exports.literal("event"),
|
|
10619
10617
|
eventType: external_exports.literal("notion-page-content-updated"),
|
|
10620
10618
|
eventConfig: notionPageContentUpdatedEventCreateConfigSchema,
|
|
10621
10619
|
enabled: external_exports.boolean().optional()
|
|
10622
10620
|
});
|
|
10623
|
-
var
|
|
10621
|
+
var zeroWorkflowWebhookReceivedAutomationCreateRequestSchema = external_exports.object({
|
|
10624
10622
|
kind: external_exports.literal("event"),
|
|
10625
10623
|
eventType: external_exports.literal("webhook-received"),
|
|
10626
10624
|
eventConfig: webhookReceivedEventConfigSchema.optional(),
|
|
10627
10625
|
enabled: external_exports.boolean().optional()
|
|
10628
10626
|
});
|
|
10629
|
-
var
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10627
|
+
var zeroWorkflowAutomationCreateRequestSchema = external_exports.union([
|
|
10628
|
+
zeroWorkflowScheduleAutomationCreateRequestSchema,
|
|
10629
|
+
zeroWorkflowGmailNewMessageAutomationCreateRequestSchema,
|
|
10630
|
+
zeroWorkflowGmailLabelAppliedAutomationCreateRequestSchema,
|
|
10631
|
+
zeroWorkflowGithubLabelAppliedAutomationCreateRequestSchema,
|
|
10632
|
+
zeroWorkflowGoogleCalendarEventCreatedAutomationCreateRequestSchema,
|
|
10633
|
+
zeroWorkflowGoogleCalendarEventUpdatedAutomationCreateRequestSchema,
|
|
10634
|
+
zeroWorkflowGoogleCalendarEventCancelledAutomationCreateRequestSchema,
|
|
10635
|
+
zeroWorkflowGoogleMeetTranscriptGeneratedAutomationCreateRequestSchema,
|
|
10636
|
+
zeroWorkflowNotionChildPageCreatedAutomationCreateRequestSchema,
|
|
10637
|
+
zeroWorkflowNotionDatabaseItemCreatedAutomationCreateRequestSchema,
|
|
10638
|
+
zeroWorkflowNotionPageContentUpdatedAutomationCreateRequestSchema,
|
|
10639
|
+
zeroWorkflowWebhookReceivedAutomationCreateRequestSchema
|
|
10642
10640
|
]);
|
|
10643
|
-
var
|
|
10641
|
+
var zeroWorkflowScheduleAutomationUpdateRequestSchema = external_exports.object({
|
|
10644
10642
|
schedule: zeroWorkflowScheduleSchema
|
|
10645
10643
|
});
|
|
10646
|
-
var
|
|
10644
|
+
var zeroWorkflowGmailEventAutomationUpdateRequestSchema = external_exports.object({
|
|
10647
10645
|
eventConfig: gmailWorkflowEventConfigSchema
|
|
10648
10646
|
});
|
|
10649
|
-
var
|
|
10647
|
+
var zeroWorkflowGithubEventAutomationUpdateRequestSchema = external_exports.object({
|
|
10650
10648
|
eventConfig: githubLabelAppliedEventConfigSchema
|
|
10651
10649
|
});
|
|
10652
|
-
var
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10650
|
+
var zeroWorkflowAutomationUpdateRequestSchema = external_exports.union([
|
|
10651
|
+
zeroWorkflowScheduleAutomationUpdateRequestSchema,
|
|
10652
|
+
zeroWorkflowGmailEventAutomationUpdateRequestSchema,
|
|
10653
|
+
zeroWorkflowGithubEventAutomationUpdateRequestSchema
|
|
10656
10654
|
]);
|
|
10657
10655
|
var zeroWorkflowSummarySchema = external_exports.object({
|
|
10658
10656
|
id: external_exports.string().uuid(),
|
|
@@ -10682,21 +10680,21 @@ var zeroWorkflowDetailResponseSchema = zeroWorkflowSummarySchema.extend({
|
|
|
10682
10680
|
instruction: external_exports.string().nullable(),
|
|
10683
10681
|
files: external_exports.array(workflowFileMetadataSchema).nullable(),
|
|
10684
10682
|
fileContents: external_exports.array(workflowFileEntrySchema).nullable(),
|
|
10685
|
-
triggers: external_exports.array(
|
|
10683
|
+
triggers: external_exports.array(zeroWorkflowAutomationSummarySchema)
|
|
10686
10684
|
});
|
|
10687
10685
|
var zeroWorkflowListResponseSchema = external_exports.array(
|
|
10688
10686
|
zeroWorkflowSummarySchema
|
|
10689
10687
|
);
|
|
10690
10688
|
var zeroWorkflowAutomationEntrySchema = external_exports.object({
|
|
10691
10689
|
workflow: zeroWorkflowSummarySchema,
|
|
10692
|
-
trigger:
|
|
10690
|
+
trigger: zeroWorkflowAutomationSummarySchema
|
|
10693
10691
|
});
|
|
10694
10692
|
var zeroWorkflowAutomationListResponseSchema = external_exports.array(
|
|
10695
10693
|
zeroWorkflowAutomationEntrySchema
|
|
10696
10694
|
);
|
|
10697
10695
|
var zeroWorkflowAutomationsListEntrySchema = external_exports.object({
|
|
10698
10696
|
workflow: zeroWorkflowSummarySchema,
|
|
10699
|
-
automation:
|
|
10697
|
+
automation: zeroWorkflowAutomationSummarySchema
|
|
10700
10698
|
});
|
|
10701
10699
|
var zeroWorkflowAutomationsListResponseSchema = external_exports.array(
|
|
10702
10700
|
zeroWorkflowAutomationsListEntrySchema
|
|
@@ -10923,13 +10921,13 @@ var zeroWorkflowVisibilityContract = c36.router({
|
|
|
10923
10921
|
summary: "Agent write-permission holder demotes a public workflow to private"
|
|
10924
10922
|
}
|
|
10925
10923
|
});
|
|
10926
|
-
var
|
|
10924
|
+
var automationIdParams = external_exports.object({ id: external_exports.string().uuid() });
|
|
10927
10925
|
var chatThreadIdParams = external_exports.object({ threadId: external_exports.string().min(1) });
|
|
10928
10926
|
var zeroWorkflowWebhookSecretResponseSchema = external_exports.object({
|
|
10929
10927
|
webhookUrl: external_exports.url(),
|
|
10930
10928
|
webhookSecret: external_exports.string().min(1)
|
|
10931
10929
|
});
|
|
10932
|
-
var
|
|
10930
|
+
var legacyZeroWorkflowAutomationsContract = c36.router({
|
|
10933
10931
|
listWorkspace: {
|
|
10934
10932
|
method: "GET",
|
|
10935
10933
|
path: "/api/zero/workflow-triggers",
|
|
@@ -10939,7 +10937,7 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
10939
10937
|
401: apiErrorSchema,
|
|
10940
10938
|
403: apiErrorSchema
|
|
10941
10939
|
},
|
|
10942
|
-
summary: "List the caller's
|
|
10940
|
+
summary: "List the caller's automations through the legacy path"
|
|
10943
10941
|
},
|
|
10944
10942
|
listForChatThread: {
|
|
10945
10943
|
method: "GET",
|
|
@@ -10947,12 +10945,12 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
10947
10945
|
headers: authHeadersSchema,
|
|
10948
10946
|
pathParams: chatThreadIdParams,
|
|
10949
10947
|
responses: {
|
|
10950
|
-
200: external_exports.array(
|
|
10948
|
+
200: external_exports.array(chatThreadWorkflowAutomationSchema),
|
|
10951
10949
|
401: apiErrorSchema,
|
|
10952
10950
|
403: apiErrorSchema,
|
|
10953
10951
|
404: apiErrorSchema
|
|
10954
10952
|
},
|
|
10955
|
-
summary: "List
|
|
10953
|
+
summary: "List chat-thread automations through the legacy path"
|
|
10956
10954
|
},
|
|
10957
10955
|
list: {
|
|
10958
10956
|
method: "GET",
|
|
@@ -10960,7 +10958,7 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
10960
10958
|
headers: authHeadersSchema,
|
|
10961
10959
|
pathParams: workflowIdParams,
|
|
10962
10960
|
responses: {
|
|
10963
|
-
200: external_exports.array(
|
|
10961
|
+
200: external_exports.array(zeroWorkflowAutomationSummarySchema),
|
|
10964
10962
|
401: apiErrorSchema,
|
|
10965
10963
|
403: apiErrorSchema,
|
|
10966
10964
|
404: apiErrorSchema
|
|
@@ -10972,9 +10970,9 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
10972
10970
|
path: "/api/zero/workflows/:workflowId/triggers",
|
|
10973
10971
|
headers: authHeadersSchema,
|
|
10974
10972
|
pathParams: workflowIdParams,
|
|
10975
|
-
body:
|
|
10973
|
+
body: zeroWorkflowAutomationCreateRequestSchema,
|
|
10976
10974
|
responses: {
|
|
10977
|
-
201:
|
|
10975
|
+
201: zeroWorkflowAutomationSummarySchema,
|
|
10978
10976
|
400: apiErrorSchema,
|
|
10979
10977
|
401: apiErrorSchema,
|
|
10980
10978
|
402: apiErrorSchema,
|
|
@@ -10988,36 +10986,36 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
10988
10986
|
method: "GET",
|
|
10989
10987
|
path: "/api/zero/workflow-triggers/:id",
|
|
10990
10988
|
headers: authHeadersSchema,
|
|
10991
|
-
pathParams:
|
|
10989
|
+
pathParams: automationIdParams,
|
|
10992
10990
|
responses: {
|
|
10993
|
-
200:
|
|
10991
|
+
200: zeroWorkflowAutomationSummarySchema,
|
|
10994
10992
|
401: apiErrorSchema,
|
|
10995
10993
|
403: apiErrorSchema,
|
|
10996
10994
|
404: apiErrorSchema
|
|
10997
10995
|
},
|
|
10998
|
-
summary: "Get
|
|
10996
|
+
summary: "Get an automation through the legacy path"
|
|
10999
10997
|
},
|
|
11000
10998
|
update: {
|
|
11001
10999
|
method: "PATCH",
|
|
11002
11000
|
path: "/api/zero/workflow-triggers/:id",
|
|
11003
11001
|
headers: authHeadersSchema,
|
|
11004
|
-
pathParams:
|
|
11005
|
-
body:
|
|
11002
|
+
pathParams: automationIdParams,
|
|
11003
|
+
body: zeroWorkflowAutomationUpdateRequestSchema,
|
|
11006
11004
|
responses: {
|
|
11007
|
-
200:
|
|
11005
|
+
200: zeroWorkflowAutomationSummarySchema,
|
|
11008
11006
|
400: apiErrorSchema,
|
|
11009
11007
|
401: apiErrorSchema,
|
|
11010
11008
|
403: apiErrorSchema,
|
|
11011
11009
|
404: apiErrorSchema,
|
|
11012
11010
|
409: apiErrorSchema
|
|
11013
11011
|
},
|
|
11014
|
-
summary: "Update
|
|
11012
|
+
summary: "Update an automation through the legacy path"
|
|
11015
11013
|
},
|
|
11016
11014
|
delete: {
|
|
11017
11015
|
method: "DELETE",
|
|
11018
11016
|
path: "/api/zero/workflow-triggers/:id",
|
|
11019
11017
|
headers: authHeadersSchema,
|
|
11020
|
-
pathParams:
|
|
11018
|
+
pathParams: automationIdParams,
|
|
11021
11019
|
body: c36.noBody(),
|
|
11022
11020
|
responses: {
|
|
11023
11021
|
204: c36.noBody(),
|
|
@@ -11025,16 +11023,16 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
11025
11023
|
403: apiErrorSchema,
|
|
11026
11024
|
404: apiErrorSchema
|
|
11027
11025
|
},
|
|
11028
|
-
summary: "Delete
|
|
11026
|
+
summary: "Delete an automation through the legacy path"
|
|
11029
11027
|
},
|
|
11030
11028
|
enable: {
|
|
11031
11029
|
method: "POST",
|
|
11032
11030
|
path: "/api/zero/workflow-triggers/:id/enable",
|
|
11033
11031
|
headers: authHeadersSchema,
|
|
11034
|
-
pathParams:
|
|
11032
|
+
pathParams: automationIdParams,
|
|
11035
11033
|
body: c36.noBody(),
|
|
11036
11034
|
responses: {
|
|
11037
|
-
200:
|
|
11035
|
+
200: zeroWorkflowAutomationSummarySchema,
|
|
11038
11036
|
400: apiErrorSchema,
|
|
11039
11037
|
401: apiErrorSchema,
|
|
11040
11038
|
402: apiErrorSchema,
|
|
@@ -11042,27 +11040,27 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
11042
11040
|
404: apiErrorSchema,
|
|
11043
11041
|
409: apiErrorSchema
|
|
11044
11042
|
},
|
|
11045
|
-
summary: "Enable
|
|
11043
|
+
summary: "Enable an automation through the legacy path"
|
|
11046
11044
|
},
|
|
11047
11045
|
disable: {
|
|
11048
11046
|
method: "POST",
|
|
11049
11047
|
path: "/api/zero/workflow-triggers/:id/disable",
|
|
11050
11048
|
headers: authHeadersSchema,
|
|
11051
|
-
pathParams:
|
|
11049
|
+
pathParams: automationIdParams,
|
|
11052
11050
|
body: c36.noBody(),
|
|
11053
11051
|
responses: {
|
|
11054
|
-
200:
|
|
11052
|
+
200: zeroWorkflowAutomationSummarySchema,
|
|
11055
11053
|
401: apiErrorSchema,
|
|
11056
11054
|
403: apiErrorSchema,
|
|
11057
11055
|
404: apiErrorSchema
|
|
11058
11056
|
},
|
|
11059
|
-
summary: "Disable
|
|
11057
|
+
summary: "Disable an automation through the legacy path"
|
|
11060
11058
|
},
|
|
11061
11059
|
run: {
|
|
11062
11060
|
method: "POST",
|
|
11063
11061
|
path: "/api/zero/workflow-triggers/:id/run",
|
|
11064
11062
|
headers: authHeadersSchema,
|
|
11065
|
-
pathParams:
|
|
11063
|
+
pathParams: automationIdParams,
|
|
11066
11064
|
body: c36.noBody(),
|
|
11067
11065
|
responses: {
|
|
11068
11066
|
201: zeroWorkflowRunResponseSchema,
|
|
@@ -11072,13 +11070,13 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
11072
11070
|
404: apiErrorSchema,
|
|
11073
11071
|
409: apiErrorSchema
|
|
11074
11072
|
},
|
|
11075
|
-
summary: "Run
|
|
11073
|
+
summary: "Run an automation immediately through the legacy path"
|
|
11076
11074
|
},
|
|
11077
11075
|
revealWebhookSecret: {
|
|
11078
11076
|
method: "POST",
|
|
11079
11077
|
path: "/api/zero/workflow-triggers/:id/webhook-secret",
|
|
11080
11078
|
headers: authHeadersSchema,
|
|
11081
|
-
pathParams:
|
|
11079
|
+
pathParams: automationIdParams,
|
|
11082
11080
|
body: c36.noBody(),
|
|
11083
11081
|
responses: {
|
|
11084
11082
|
200: zeroWorkflowWebhookSecretResponseSchema,
|
|
@@ -11086,66 +11084,66 @@ var zeroWorkflowTriggersContract = c36.router({
|
|
|
11086
11084
|
403: apiErrorSchema,
|
|
11087
11085
|
404: apiErrorSchema
|
|
11088
11086
|
},
|
|
11089
|
-
summary: "Reveal
|
|
11087
|
+
summary: "Reveal automation webhook credentials through the legacy path"
|
|
11090
11088
|
}
|
|
11091
11089
|
});
|
|
11092
11090
|
var zeroWorkflowAutomationsContract = c36.router({
|
|
11093
11091
|
listWorkspace: {
|
|
11094
|
-
...
|
|
11092
|
+
...legacyZeroWorkflowAutomationsContract.listWorkspace,
|
|
11095
11093
|
path: "/api/zero/workflow-automations",
|
|
11096
11094
|
responses: {
|
|
11097
|
-
...
|
|
11095
|
+
...legacyZeroWorkflowAutomationsContract.listWorkspace.responses,
|
|
11098
11096
|
200: zeroWorkflowAutomationsListResponseSchema
|
|
11099
11097
|
},
|
|
11100
11098
|
summary: "List the caller's automations across visible workflows"
|
|
11101
11099
|
},
|
|
11102
11100
|
listForChatThread: {
|
|
11103
|
-
...
|
|
11101
|
+
...legacyZeroWorkflowAutomationsContract.listForChatThread,
|
|
11104
11102
|
path: "/api/zero/chat-threads/:threadId/workflow-automations",
|
|
11105
11103
|
summary: "List workflow automations bound to a chat thread"
|
|
11106
11104
|
},
|
|
11107
11105
|
list: {
|
|
11108
|
-
...
|
|
11106
|
+
...legacyZeroWorkflowAutomationsContract.list,
|
|
11109
11107
|
path: "/api/zero/workflows/:workflowId/automations",
|
|
11110
11108
|
summary: "List the caller's own automations for a workflow"
|
|
11111
11109
|
},
|
|
11112
11110
|
create: {
|
|
11113
|
-
...
|
|
11111
|
+
...legacyZeroWorkflowAutomationsContract.create,
|
|
11114
11112
|
path: "/api/zero/workflows/:workflowId/automations",
|
|
11115
11113
|
summary: "Create an automation on a workflow"
|
|
11116
11114
|
},
|
|
11117
11115
|
get: {
|
|
11118
|
-
...
|
|
11116
|
+
...legacyZeroWorkflowAutomationsContract.get,
|
|
11119
11117
|
path: "/api/zero/workflow-automations/:id",
|
|
11120
11118
|
summary: "Get a workflow automation"
|
|
11121
11119
|
},
|
|
11122
11120
|
update: {
|
|
11123
|
-
...
|
|
11121
|
+
...legacyZeroWorkflowAutomationsContract.update,
|
|
11124
11122
|
path: "/api/zero/workflow-automations/:id",
|
|
11125
11123
|
summary: "Update a workflow automation"
|
|
11126
11124
|
},
|
|
11127
11125
|
delete: {
|
|
11128
|
-
...
|
|
11126
|
+
...legacyZeroWorkflowAutomationsContract.delete,
|
|
11129
11127
|
path: "/api/zero/workflow-automations/:id",
|
|
11130
11128
|
summary: "Delete a workflow automation"
|
|
11131
11129
|
},
|
|
11132
11130
|
enable: {
|
|
11133
|
-
...
|
|
11131
|
+
...legacyZeroWorkflowAutomationsContract.enable,
|
|
11134
11132
|
path: "/api/zero/workflow-automations/:id/enable",
|
|
11135
11133
|
summary: "Enable a workflow automation"
|
|
11136
11134
|
},
|
|
11137
11135
|
disable: {
|
|
11138
|
-
...
|
|
11136
|
+
...legacyZeroWorkflowAutomationsContract.disable,
|
|
11139
11137
|
path: "/api/zero/workflow-automations/:id/disable",
|
|
11140
11138
|
summary: "Disable a workflow automation"
|
|
11141
11139
|
},
|
|
11142
11140
|
run: {
|
|
11143
|
-
...
|
|
11141
|
+
...legacyZeroWorkflowAutomationsContract.run,
|
|
11144
11142
|
path: "/api/zero/workflow-automations/:id/run",
|
|
11145
11143
|
summary: "Run a workflow automation immediately in its bound chat thread"
|
|
11146
11144
|
},
|
|
11147
11145
|
revealWebhookSecret: {
|
|
11148
|
-
...
|
|
11146
|
+
...legacyZeroWorkflowAutomationsContract.revealWebhookSecret,
|
|
11149
11147
|
path: "/api/zero/workflow-automations/:id/webhook-secret",
|
|
11150
11148
|
summary: "Reveal the webhook URL and signing secret for a workflow automation"
|
|
11151
11149
|
}
|
|
@@ -13942,4 +13940,4 @@ export {
|
|
|
13942
13940
|
completeHostedSite,
|
|
13943
13941
|
getHostedSiteFiles
|
|
13944
13942
|
};
|
|
13945
|
-
//# sourceMappingURL=chunk-
|
|
13943
|
+
//# sourceMappingURL=chunk-IE6CD57U.js.map
|