terse-types 0.0.12 → 0.0.14
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/ApiRouteBuilder.d.ts +6 -0
- package/dist/ApiRoutes.json +6 -0
- package/dist/Configs.d.ts +101 -1
- package/dist/Configs.js +105 -4
- package/dist/FrontendRoutes.json +3 -0
- package/dist/FrontendRoutesBuilder.d.ts +3 -0
- package/dist/Integrations.d.ts +10 -1
- package/dist/Integrations.js +10 -1
- package/dist/SandboxTypes.d.ts +15 -0
- package/dist/SandboxTypes.js +1 -0
- package/dist/TriggerEventPresenters.d.ts +3 -0
- package/dist/TriggerEventPresenters.js +238 -0
- package/dist/TriggerEvents.d.ts +4054 -0
- package/dist/TriggerEvents.js +437 -0
- package/dist/TriggerPresenters.js +23 -0
- package/dist/Triggers.d.ts +146 -3
- package/dist/Triggers.js +49 -1
- package/dist/json-schema/terse-types.schema.json +66 -234
- package/dist/types.d.ts +592 -12
- package/dist/types.js +43 -5
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -381,6 +381,26 @@ export declare const agentTriggerSchema: z.ZodObject<{
|
|
|
381
381
|
integrationId: z.ZodLiteral<"system">;
|
|
382
382
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
383
383
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
385
|
+
integrationId: z.ZodLiteral<"system">;
|
|
386
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
387
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
388
|
+
query: z.ZodString;
|
|
389
|
+
frequency: z.ZodObject<{
|
|
390
|
+
number: z.ZodNumber;
|
|
391
|
+
unit: z.ZodEnum<{
|
|
392
|
+
hour: "hour";
|
|
393
|
+
day: "day";
|
|
394
|
+
week: "week";
|
|
395
|
+
}>;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
398
|
+
type: "json";
|
|
399
|
+
jsonSchema: Record<string, unknown>;
|
|
400
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
401
|
+
type: z.ZodLiteral<"json">;
|
|
402
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
403
|
+
}, z.core.$strip>>>>;
|
|
384
404
|
}, z.core.$strip>]>;
|
|
385
405
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
386
406
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -529,12 +549,31 @@ export declare const agentOutputSchema: z.ZodObject<{
|
|
|
529
549
|
integrationId: z.ZodLiteral<"system">;
|
|
530
550
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
531
551
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
552
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
553
|
+
integrationId: z.ZodLiteral<"system">;
|
|
554
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
555
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
556
|
+
query: z.ZodString;
|
|
557
|
+
frequency: z.ZodObject<{
|
|
558
|
+
number: z.ZodNumber;
|
|
559
|
+
unit: z.ZodEnum<{
|
|
560
|
+
hour: "hour";
|
|
561
|
+
day: "day";
|
|
562
|
+
week: "week";
|
|
563
|
+
}>;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
566
|
+
type: "json";
|
|
567
|
+
jsonSchema: Record<string, unknown>;
|
|
568
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
569
|
+
type: z.ZodLiteral<"json">;
|
|
570
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
571
|
+
}, z.core.$strip>>>>;
|
|
532
572
|
}, z.core.$strip>]>;
|
|
533
573
|
}, z.core.$strip>;
|
|
534
574
|
export type AgentOutput = z.infer<typeof agentOutputSchema>;
|
|
535
575
|
export declare const agentPromptSchema: z.ZodObject<{
|
|
536
576
|
text: z.ZodString;
|
|
537
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
538
577
|
}, z.core.$strip>;
|
|
539
578
|
export type AgentPrompt = z.infer<typeof agentPromptSchema>;
|
|
540
579
|
export declare const transientAgentTriggerSchema: z.ZodObject<{
|
|
@@ -679,6 +718,26 @@ export declare const transientAgentTriggerSchema: z.ZodObject<{
|
|
|
679
718
|
integrationId: z.ZodLiteral<"system">;
|
|
680
719
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
681
720
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
721
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
722
|
+
integrationId: z.ZodLiteral<"system">;
|
|
723
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
724
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
725
|
+
query: z.ZodString;
|
|
726
|
+
frequency: z.ZodObject<{
|
|
727
|
+
number: z.ZodNumber;
|
|
728
|
+
unit: z.ZodEnum<{
|
|
729
|
+
hour: "hour";
|
|
730
|
+
day: "day";
|
|
731
|
+
week: "week";
|
|
732
|
+
}>;
|
|
733
|
+
}, z.core.$strip>;
|
|
734
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
735
|
+
type: "json";
|
|
736
|
+
jsonSchema: Record<string, unknown>;
|
|
737
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
738
|
+
type: z.ZodLiteral<"json">;
|
|
739
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
740
|
+
}, z.core.$strip>>>>;
|
|
682
741
|
}, z.core.$strip>]>>;
|
|
683
742
|
configType: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
|
|
684
743
|
}, z.core.$strip>;
|
|
@@ -825,6 +884,26 @@ export declare const transientAgentOutputSchema: z.ZodObject<{
|
|
|
825
884
|
integrationId: z.ZodLiteral<"system">;
|
|
826
885
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
827
886
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
887
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
888
|
+
integrationId: z.ZodLiteral<"system">;
|
|
889
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
890
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
891
|
+
query: z.ZodString;
|
|
892
|
+
frequency: z.ZodObject<{
|
|
893
|
+
number: z.ZodNumber;
|
|
894
|
+
unit: z.ZodEnum<{
|
|
895
|
+
hour: "hour";
|
|
896
|
+
day: "day";
|
|
897
|
+
week: "week";
|
|
898
|
+
}>;
|
|
899
|
+
}, z.core.$strip>;
|
|
900
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
901
|
+
type: "json";
|
|
902
|
+
jsonSchema: Record<string, unknown>;
|
|
903
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
904
|
+
type: z.ZodLiteral<"json">;
|
|
905
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
906
|
+
}, z.core.$strip>>>>;
|
|
828
907
|
}, z.core.$strip>]>>;
|
|
829
908
|
configType: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
|
|
830
909
|
}, z.core.$strip>;
|
|
@@ -868,7 +947,6 @@ export declare const agentTemplateSchema: z.ZodObject<{
|
|
|
868
947
|
chatPrompt: z.ZodString;
|
|
869
948
|
prompt: z.ZodObject<{
|
|
870
949
|
text: z.ZodString;
|
|
871
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
872
950
|
}, z.core.$strip>;
|
|
873
951
|
triggers: z.ZodArray<z.ZodObject<{
|
|
874
952
|
config: z.ZodObject<{
|
|
@@ -1025,6 +1103,12 @@ export declare const agentNotificationSettingsSchema: z.ZodObject<{
|
|
|
1025
1103
|
}>>;
|
|
1026
1104
|
}, z.core.$strip>;
|
|
1027
1105
|
export type AgentNotificationSettings = z.infer<typeof agentNotificationSettingsSchema>;
|
|
1106
|
+
export declare const jobMetadataSchema: z.ZodObject<{
|
|
1107
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
1108
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
1109
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
1110
|
+
}, z.core.$strip>;
|
|
1111
|
+
export type JobMetadata = z.infer<typeof jobMetadataSchema>;
|
|
1028
1112
|
export declare const agentSchema: z.ZodObject<{
|
|
1029
1113
|
id: z.ZodString;
|
|
1030
1114
|
name: z.ZodString;
|
|
@@ -1032,7 +1116,6 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1032
1116
|
requireApproval: z.ZodBoolean;
|
|
1033
1117
|
prompt: z.ZodObject<{
|
|
1034
1118
|
text: z.ZodString;
|
|
1035
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1036
1119
|
}, z.core.$strip>;
|
|
1037
1120
|
triggers: z.ZodArray<z.ZodObject<{
|
|
1038
1121
|
id: z.ZodString;
|
|
@@ -1176,6 +1259,26 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1176
1259
|
integrationId: z.ZodLiteral<"system">;
|
|
1177
1260
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1178
1261
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1263
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1264
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1265
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1266
|
+
query: z.ZodString;
|
|
1267
|
+
frequency: z.ZodObject<{
|
|
1268
|
+
number: z.ZodNumber;
|
|
1269
|
+
unit: z.ZodEnum<{
|
|
1270
|
+
hour: "hour";
|
|
1271
|
+
day: "day";
|
|
1272
|
+
week: "week";
|
|
1273
|
+
}>;
|
|
1274
|
+
}, z.core.$strip>;
|
|
1275
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1276
|
+
type: "json";
|
|
1277
|
+
jsonSchema: Record<string, unknown>;
|
|
1278
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1279
|
+
type: z.ZodLiteral<"json">;
|
|
1280
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1281
|
+
}, z.core.$strip>>>>;
|
|
1179
1282
|
}, z.core.$strip>]>;
|
|
1180
1283
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1181
1284
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1323,6 +1426,26 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1323
1426
|
integrationId: z.ZodLiteral<"system">;
|
|
1324
1427
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1325
1428
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1430
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1431
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1432
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1433
|
+
query: z.ZodString;
|
|
1434
|
+
frequency: z.ZodObject<{
|
|
1435
|
+
number: z.ZodNumber;
|
|
1436
|
+
unit: z.ZodEnum<{
|
|
1437
|
+
hour: "hour";
|
|
1438
|
+
day: "day";
|
|
1439
|
+
week: "week";
|
|
1440
|
+
}>;
|
|
1441
|
+
}, z.core.$strip>;
|
|
1442
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1443
|
+
type: "json";
|
|
1444
|
+
jsonSchema: Record<string, unknown>;
|
|
1445
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1446
|
+
type: z.ZodLiteral<"json">;
|
|
1447
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1448
|
+
}, z.core.$strip>>>>;
|
|
1326
1449
|
}, z.core.$strip>]>;
|
|
1327
1450
|
}, z.core.$strip>>;
|
|
1328
1451
|
createdByUserId: z.ZodString;
|
|
@@ -1343,6 +1466,11 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1343
1466
|
WEB_UI: "WEB_UI";
|
|
1344
1467
|
SDK: "SDK";
|
|
1345
1468
|
}>>;
|
|
1469
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
1470
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
1471
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
1472
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
1473
|
+
}, z.core.$strip>>;
|
|
1346
1474
|
}, z.core.$strip>;
|
|
1347
1475
|
export type Agent = z.infer<typeof agentSchema>;
|
|
1348
1476
|
export declare const agentUpdateSchema: z.ZodObject<{
|
|
@@ -1489,6 +1617,26 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
1489
1617
|
integrationId: z.ZodLiteral<"system">;
|
|
1490
1618
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1491
1619
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1621
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1622
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1623
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1624
|
+
query: z.ZodString;
|
|
1625
|
+
frequency: z.ZodObject<{
|
|
1626
|
+
number: z.ZodNumber;
|
|
1627
|
+
unit: z.ZodEnum<{
|
|
1628
|
+
hour: "hour";
|
|
1629
|
+
day: "day";
|
|
1630
|
+
week: "week";
|
|
1631
|
+
}>;
|
|
1632
|
+
}, z.core.$strip>;
|
|
1633
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1634
|
+
type: "json";
|
|
1635
|
+
jsonSchema: Record<string, unknown>;
|
|
1636
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1637
|
+
type: z.ZodLiteral<"json">;
|
|
1638
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1639
|
+
}, z.core.$strip>>>>;
|
|
1492
1640
|
}, z.core.$strip>]>;
|
|
1493
1641
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1494
1642
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1636,11 +1784,30 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
1636
1784
|
integrationId: z.ZodLiteral<"system">;
|
|
1637
1785
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1638
1786
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1787
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1788
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1789
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1790
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1791
|
+
query: z.ZodString;
|
|
1792
|
+
frequency: z.ZodObject<{
|
|
1793
|
+
number: z.ZodNumber;
|
|
1794
|
+
unit: z.ZodEnum<{
|
|
1795
|
+
hour: "hour";
|
|
1796
|
+
day: "day";
|
|
1797
|
+
week: "week";
|
|
1798
|
+
}>;
|
|
1799
|
+
}, z.core.$strip>;
|
|
1800
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1801
|
+
type: "json";
|
|
1802
|
+
jsonSchema: Record<string, unknown>;
|
|
1803
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1804
|
+
type: z.ZodLiteral<"json">;
|
|
1805
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1806
|
+
}, z.core.$strip>>>>;
|
|
1639
1807
|
}, z.core.$strip>]>;
|
|
1640
1808
|
}, z.core.$strip>>>;
|
|
1641
1809
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
1642
1810
|
text: z.ZodString;
|
|
1643
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1644
1811
|
}, z.core.$strip>>;
|
|
1645
1812
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1646
1813
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1660,10 +1827,14 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
1660
1827
|
export type AgentUpdate = z.infer<typeof agentUpdateSchema>;
|
|
1661
1828
|
export declare const agentCreateSchema: z.ZodObject<{
|
|
1662
1829
|
isActive: z.ZodBoolean;
|
|
1830
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
1831
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
1832
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
1833
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
1834
|
+
}, z.core.$strip>>;
|
|
1663
1835
|
name: z.ZodString;
|
|
1664
1836
|
prompt: z.ZodObject<{
|
|
1665
1837
|
text: z.ZodString;
|
|
1666
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1667
1838
|
}, z.core.$strip>;
|
|
1668
1839
|
triggers: z.ZodArray<z.ZodObject<{
|
|
1669
1840
|
id: z.ZodString;
|
|
@@ -1807,6 +1978,26 @@ export declare const agentCreateSchema: z.ZodObject<{
|
|
|
1807
1978
|
integrationId: z.ZodLiteral<"system">;
|
|
1808
1979
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1809
1980
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1982
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1983
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1984
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1985
|
+
query: z.ZodString;
|
|
1986
|
+
frequency: z.ZodObject<{
|
|
1987
|
+
number: z.ZodNumber;
|
|
1988
|
+
unit: z.ZodEnum<{
|
|
1989
|
+
hour: "hour";
|
|
1990
|
+
day: "day";
|
|
1991
|
+
week: "week";
|
|
1992
|
+
}>;
|
|
1993
|
+
}, z.core.$strip>;
|
|
1994
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1995
|
+
type: "json";
|
|
1996
|
+
jsonSchema: Record<string, unknown>;
|
|
1997
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1998
|
+
type: z.ZodLiteral<"json">;
|
|
1999
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2000
|
+
}, z.core.$strip>>>>;
|
|
1810
2001
|
}, z.core.$strip>]>;
|
|
1811
2002
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1812
2003
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1954,6 +2145,26 @@ export declare const agentCreateSchema: z.ZodObject<{
|
|
|
1954
2145
|
integrationId: z.ZodLiteral<"system">;
|
|
1955
2146
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1956
2147
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2149
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2150
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2151
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2152
|
+
query: z.ZodString;
|
|
2153
|
+
frequency: z.ZodObject<{
|
|
2154
|
+
number: z.ZodNumber;
|
|
2155
|
+
unit: z.ZodEnum<{
|
|
2156
|
+
hour: "hour";
|
|
2157
|
+
day: "day";
|
|
2158
|
+
week: "week";
|
|
2159
|
+
}>;
|
|
2160
|
+
}, z.core.$strip>;
|
|
2161
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2162
|
+
type: "json";
|
|
2163
|
+
jsonSchema: Record<string, unknown>;
|
|
2164
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2165
|
+
type: z.ZodLiteral<"json">;
|
|
2166
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2167
|
+
}, z.core.$strip>>>>;
|
|
1957
2168
|
}, z.core.$strip>]>;
|
|
1958
2169
|
}, z.core.$strip>>;
|
|
1959
2170
|
requireApproval: z.ZodBoolean;
|
|
@@ -1973,10 +2184,14 @@ export declare const agentCreateSchema: z.ZodObject<{
|
|
|
1973
2184
|
export type AgentCreate = z.infer<typeof agentCreateSchema>;
|
|
1974
2185
|
export declare const agentDraftSchema: z.ZodObject<{
|
|
1975
2186
|
isActive: z.ZodBoolean;
|
|
2187
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
2188
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
2189
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
2190
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
2191
|
+
}, z.core.$strip>>;
|
|
1976
2192
|
name: z.ZodString;
|
|
1977
2193
|
prompt: z.ZodObject<{
|
|
1978
2194
|
text: z.ZodString;
|
|
1979
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1980
2195
|
}, z.core.$strip>;
|
|
1981
2196
|
triggers: z.ZodArray<z.ZodObject<{
|
|
1982
2197
|
id: z.ZodString;
|
|
@@ -2120,6 +2335,26 @@ export declare const agentDraftSchema: z.ZodObject<{
|
|
|
2120
2335
|
integrationId: z.ZodLiteral<"system">;
|
|
2121
2336
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2122
2337
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2339
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2340
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2341
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2342
|
+
query: z.ZodString;
|
|
2343
|
+
frequency: z.ZodObject<{
|
|
2344
|
+
number: z.ZodNumber;
|
|
2345
|
+
unit: z.ZodEnum<{
|
|
2346
|
+
hour: "hour";
|
|
2347
|
+
day: "day";
|
|
2348
|
+
week: "week";
|
|
2349
|
+
}>;
|
|
2350
|
+
}, z.core.$strip>;
|
|
2351
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2352
|
+
type: "json";
|
|
2353
|
+
jsonSchema: Record<string, unknown>;
|
|
2354
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2355
|
+
type: z.ZodLiteral<"json">;
|
|
2356
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2357
|
+
}, z.core.$strip>>>>;
|
|
2123
2358
|
}, z.core.$strip>]>;
|
|
2124
2359
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2125
2360
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2267,6 +2502,26 @@ export declare const agentDraftSchema: z.ZodObject<{
|
|
|
2267
2502
|
integrationId: z.ZodLiteral<"system">;
|
|
2268
2503
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2269
2504
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2506
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2507
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2508
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2509
|
+
query: z.ZodString;
|
|
2510
|
+
frequency: z.ZodObject<{
|
|
2511
|
+
number: z.ZodNumber;
|
|
2512
|
+
unit: z.ZodEnum<{
|
|
2513
|
+
hour: "hour";
|
|
2514
|
+
day: "day";
|
|
2515
|
+
week: "week";
|
|
2516
|
+
}>;
|
|
2517
|
+
}, z.core.$strip>;
|
|
2518
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2519
|
+
type: "json";
|
|
2520
|
+
jsonSchema: Record<string, unknown>;
|
|
2521
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2522
|
+
type: z.ZodLiteral<"json">;
|
|
2523
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2524
|
+
}, z.core.$strip>>>>;
|
|
2270
2525
|
}, z.core.$strip>]>;
|
|
2271
2526
|
}, z.core.$strip>>;
|
|
2272
2527
|
requireApproval: z.ZodBoolean;
|
|
@@ -2300,7 +2555,6 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2300
2555
|
requireApproval: z.ZodBoolean;
|
|
2301
2556
|
prompt: z.ZodObject<{
|
|
2302
2557
|
text: z.ZodString;
|
|
2303
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2304
2558
|
}, z.core.$strip>;
|
|
2305
2559
|
triggers: z.ZodArray<z.ZodObject<{
|
|
2306
2560
|
id: z.ZodString;
|
|
@@ -2444,6 +2698,26 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2444
2698
|
integrationId: z.ZodLiteral<"system">;
|
|
2445
2699
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2446
2700
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2701
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2702
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2703
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2704
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2705
|
+
query: z.ZodString;
|
|
2706
|
+
frequency: z.ZodObject<{
|
|
2707
|
+
number: z.ZodNumber;
|
|
2708
|
+
unit: z.ZodEnum<{
|
|
2709
|
+
hour: "hour";
|
|
2710
|
+
day: "day";
|
|
2711
|
+
week: "week";
|
|
2712
|
+
}>;
|
|
2713
|
+
}, z.core.$strip>;
|
|
2714
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2715
|
+
type: "json";
|
|
2716
|
+
jsonSchema: Record<string, unknown>;
|
|
2717
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2718
|
+
type: z.ZodLiteral<"json">;
|
|
2719
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2720
|
+
}, z.core.$strip>>>>;
|
|
2447
2721
|
}, z.core.$strip>]>;
|
|
2448
2722
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2449
2723
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2591,6 +2865,26 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2591
2865
|
integrationId: z.ZodLiteral<"system">;
|
|
2592
2866
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2593
2867
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2869
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2870
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2871
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2872
|
+
query: z.ZodString;
|
|
2873
|
+
frequency: z.ZodObject<{
|
|
2874
|
+
number: z.ZodNumber;
|
|
2875
|
+
unit: z.ZodEnum<{
|
|
2876
|
+
hour: "hour";
|
|
2877
|
+
day: "day";
|
|
2878
|
+
week: "week";
|
|
2879
|
+
}>;
|
|
2880
|
+
}, z.core.$strip>;
|
|
2881
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2882
|
+
type: "json";
|
|
2883
|
+
jsonSchema: Record<string, unknown>;
|
|
2884
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2885
|
+
type: z.ZodLiteral<"json">;
|
|
2886
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2887
|
+
}, z.core.$strip>>>>;
|
|
2594
2888
|
}, z.core.$strip>]>;
|
|
2595
2889
|
}, z.core.$strip>>;
|
|
2596
2890
|
createdByUserId: z.ZodString;
|
|
@@ -2611,6 +2905,11 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2611
2905
|
WEB_UI: "WEB_UI";
|
|
2612
2906
|
SDK: "SDK";
|
|
2613
2907
|
}>>;
|
|
2908
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
2909
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
2910
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
2911
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
2912
|
+
}, z.core.$strip>>;
|
|
2614
2913
|
}, z.core.$strip>>;
|
|
2615
2914
|
pagination: z.ZodObject<{
|
|
2616
2915
|
page: z.ZodNumber;
|
|
@@ -2627,7 +2926,6 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
2627
2926
|
requireApproval: z.ZodBoolean;
|
|
2628
2927
|
prompt: z.ZodObject<{
|
|
2629
2928
|
text: z.ZodString;
|
|
2630
|
-
remoteServerUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2631
2929
|
}, z.core.$strip>;
|
|
2632
2930
|
triggers: z.ZodArray<z.ZodObject<{
|
|
2633
2931
|
id: z.ZodString;
|
|
@@ -2771,6 +3069,26 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
2771
3069
|
integrationId: z.ZodLiteral<"system">;
|
|
2772
3070
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2773
3071
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
3072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3073
|
+
integrationId: z.ZodLiteral<"system">;
|
|
3074
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
3075
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
3076
|
+
query: z.ZodString;
|
|
3077
|
+
frequency: z.ZodObject<{
|
|
3078
|
+
number: z.ZodNumber;
|
|
3079
|
+
unit: z.ZodEnum<{
|
|
3080
|
+
hour: "hour";
|
|
3081
|
+
day: "day";
|
|
3082
|
+
week: "week";
|
|
3083
|
+
}>;
|
|
3084
|
+
}, z.core.$strip>;
|
|
3085
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
3086
|
+
type: "json";
|
|
3087
|
+
jsonSchema: Record<string, unknown>;
|
|
3088
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3089
|
+
type: z.ZodLiteral<"json">;
|
|
3090
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3091
|
+
}, z.core.$strip>>>>;
|
|
2774
3092
|
}, z.core.$strip>]>;
|
|
2775
3093
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2776
3094
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2918,6 +3236,26 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
2918
3236
|
integrationId: z.ZodLiteral<"system">;
|
|
2919
3237
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2920
3238
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
3239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3240
|
+
integrationId: z.ZodLiteral<"system">;
|
|
3241
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
3242
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
3243
|
+
query: z.ZodString;
|
|
3244
|
+
frequency: z.ZodObject<{
|
|
3245
|
+
number: z.ZodNumber;
|
|
3246
|
+
unit: z.ZodEnum<{
|
|
3247
|
+
hour: "hour";
|
|
3248
|
+
day: "day";
|
|
3249
|
+
week: "week";
|
|
3250
|
+
}>;
|
|
3251
|
+
}, z.core.$strip>;
|
|
3252
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
3253
|
+
type: "json";
|
|
3254
|
+
jsonSchema: Record<string, unknown>;
|
|
3255
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3256
|
+
type: z.ZodLiteral<"json">;
|
|
3257
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3258
|
+
}, z.core.$strip>>>>;
|
|
2921
3259
|
}, z.core.$strip>]>;
|
|
2922
3260
|
}, z.core.$strip>>;
|
|
2923
3261
|
createdByUserId: z.ZodString;
|
|
@@ -2937,6 +3275,11 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
2937
3275
|
WEB_UI: "WEB_UI";
|
|
2938
3276
|
SDK: "SDK";
|
|
2939
3277
|
}>>;
|
|
3278
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
3279
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
3280
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
3281
|
+
projectName: z.ZodNullable<z.ZodString>;
|
|
3282
|
+
}, z.core.$strip>>;
|
|
2940
3283
|
updatedAt: z.ZodString;
|
|
2941
3284
|
lastEventProcessedAt: z.ZodNullable<z.ZodString>;
|
|
2942
3285
|
}, z.core.$strip>;
|
|
@@ -4050,6 +4393,30 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4050
4393
|
inputId: z.ZodString;
|
|
4051
4394
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
4052
4395
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
4396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4397
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
4398
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
4399
|
+
inputId: z.ZodString;
|
|
4400
|
+
query: z.ZodString;
|
|
4401
|
+
frequency: z.ZodObject<{
|
|
4402
|
+
number: z.ZodNumber;
|
|
4403
|
+
unit: z.ZodEnum<{
|
|
4404
|
+
hour: "hour";
|
|
4405
|
+
day: "day";
|
|
4406
|
+
week: "week";
|
|
4407
|
+
}>;
|
|
4408
|
+
}, z.core.$strip>;
|
|
4409
|
+
monitorId: z.ZodString;
|
|
4410
|
+
eventGroupId: z.ZodString;
|
|
4411
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4412
|
+
outputType: z.ZodEnum<{
|
|
4413
|
+
json: "json";
|
|
4414
|
+
text: "text";
|
|
4415
|
+
}>;
|
|
4416
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
4417
|
+
payload: z.ZodUnknown;
|
|
4418
|
+
eventDate: z.ZodString;
|
|
4419
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
4053
4420
|
}, z.core.$strip>, z.ZodObject<{
|
|
4054
4421
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
4055
4422
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -4790,6 +5157,30 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
4790
5157
|
inputId: z.ZodString;
|
|
4791
5158
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
4792
5159
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
5160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5161
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
5162
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
5163
|
+
inputId: z.ZodString;
|
|
5164
|
+
query: z.ZodString;
|
|
5165
|
+
frequency: z.ZodObject<{
|
|
5166
|
+
number: z.ZodNumber;
|
|
5167
|
+
unit: z.ZodEnum<{
|
|
5168
|
+
hour: "hour";
|
|
5169
|
+
day: "day";
|
|
5170
|
+
week: "week";
|
|
5171
|
+
}>;
|
|
5172
|
+
}, z.core.$strip>;
|
|
5173
|
+
monitorId: z.ZodString;
|
|
5174
|
+
eventGroupId: z.ZodString;
|
|
5175
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5176
|
+
outputType: z.ZodEnum<{
|
|
5177
|
+
json: "json";
|
|
5178
|
+
text: "text";
|
|
5179
|
+
}>;
|
|
5180
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
5181
|
+
payload: z.ZodUnknown;
|
|
5182
|
+
eventDate: z.ZodString;
|
|
5183
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
4793
5184
|
}, z.core.$strip>, z.ZodObject<{
|
|
4794
5185
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
4795
5186
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -4942,6 +5333,22 @@ export declare const errorSchema: z.ZodObject<{
|
|
|
4942
5333
|
export declare const doneSchema: z.ZodObject<{
|
|
4943
5334
|
type: z.ZodLiteral<"done">;
|
|
4944
5335
|
}, z.core.$strip>;
|
|
5336
|
+
export declare const sdkDeployStageEnum: z.ZodEnum<{
|
|
5337
|
+
UPLOADING_SOURCE: "UPLOADING_SOURCE";
|
|
5338
|
+
BUILDING_DEPENDENCY_IMAGE: "BUILDING_DEPENDENCY_IMAGE";
|
|
5339
|
+
BUILDING_SOURCE_IMAGE: "BUILDING_SOURCE_IMAGE";
|
|
5340
|
+
CONFIGURING_AUTOMATIONS: "CONFIGURING_AUTOMATIONS";
|
|
5341
|
+
}>;
|
|
5342
|
+
export type SdkDeployStage = z.infer<typeof sdkDeployStageEnum>;
|
|
5343
|
+
export declare const deployStageSchema: z.ZodObject<{
|
|
5344
|
+
type: z.ZodLiteral<"deploy_stage">;
|
|
5345
|
+
stage: z.ZodEnum<{
|
|
5346
|
+
UPLOADING_SOURCE: "UPLOADING_SOURCE";
|
|
5347
|
+
BUILDING_DEPENDENCY_IMAGE: "BUILDING_DEPENDENCY_IMAGE";
|
|
5348
|
+
BUILDING_SOURCE_IMAGE: "BUILDING_SOURCE_IMAGE";
|
|
5349
|
+
CONFIGURING_AUTOMATIONS: "CONFIGURING_AUTOMATIONS";
|
|
5350
|
+
}>;
|
|
5351
|
+
}, z.core.$strip>;
|
|
4945
5352
|
export declare const sdkAgentStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4946
5353
|
type: z.ZodLiteral<"run_started">;
|
|
4947
5354
|
runId: z.ZodString;
|
|
@@ -4995,6 +5402,14 @@ export declare const sdkAgentStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
4995
5402
|
message: z.ZodString;
|
|
4996
5403
|
}, z.core.$strip>, z.ZodObject<{
|
|
4997
5404
|
type: z.ZodLiteral<"done">;
|
|
5405
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5406
|
+
type: z.ZodLiteral<"deploy_stage">;
|
|
5407
|
+
stage: z.ZodEnum<{
|
|
5408
|
+
UPLOADING_SOURCE: "UPLOADING_SOURCE";
|
|
5409
|
+
BUILDING_DEPENDENCY_IMAGE: "BUILDING_DEPENDENCY_IMAGE";
|
|
5410
|
+
BUILDING_SOURCE_IMAGE: "BUILDING_SOURCE_IMAGE";
|
|
5411
|
+
CONFIGURING_AUTOMATIONS: "CONFIGURING_AUTOMATIONS";
|
|
5412
|
+
}>;
|
|
4998
5413
|
}, z.core.$strip>], "type">;
|
|
4999
5414
|
export type SdkAgentStreamEvent = z.infer<typeof sdkAgentStreamEventSchema> & {
|
|
5000
5415
|
action?: RunHistoryAction;
|
|
@@ -5005,6 +5420,37 @@ export declare const sdkApprovalDecisionRequestBodySchema: z.ZodObject<{
|
|
|
5005
5420
|
approved: z.ZodBoolean;
|
|
5006
5421
|
}, z.core.$strip>;
|
|
5007
5422
|
export type SdkApprovalDecisionRequestBody = z.infer<typeof sdkApprovalDecisionRequestBodySchema>;
|
|
5423
|
+
export declare const sdkCreateProjectRequestBodySchema: z.ZodObject<{
|
|
5424
|
+
name: z.ZodString;
|
|
5425
|
+
}, z.core.$strip>;
|
|
5426
|
+
export type SdkCreateProjectRequestBody = z.infer<typeof sdkCreateProjectRequestBodySchema>;
|
|
5427
|
+
export declare const sdkCreateProjectResponseBodySchema: z.ZodObject<{
|
|
5428
|
+
projectId: z.ZodString;
|
|
5429
|
+
name: z.ZodString;
|
|
5430
|
+
}, z.core.$strip>;
|
|
5431
|
+
export type SdkCreateProjectResponseBody = z.infer<typeof sdkCreateProjectResponseBodySchema>;
|
|
5432
|
+
export declare const projectDetailResponseSchema: z.ZodObject<{
|
|
5433
|
+
id: z.ZodString;
|
|
5434
|
+
name: z.ZodString;
|
|
5435
|
+
createdAt: z.ZodString;
|
|
5436
|
+
remoteServerUrl: z.ZodNullable<z.ZodString>;
|
|
5437
|
+
isSelfHosted: z.ZodBoolean;
|
|
5438
|
+
hasSigningSecret: z.ZodBoolean;
|
|
5439
|
+
hasProjectApiKey: z.ZodBoolean;
|
|
5440
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
5441
|
+
id: z.ZodString;
|
|
5442
|
+
name: z.ZodString;
|
|
5443
|
+
isActive: z.ZodBoolean;
|
|
5444
|
+
}, z.core.$strip>>;
|
|
5445
|
+
}, z.core.$strip>;
|
|
5446
|
+
export type ProjectDetailResponse = z.infer<typeof projectDetailResponseSchema>;
|
|
5447
|
+
export declare const terseProjectConfigSchema: z.ZodObject<{
|
|
5448
|
+
projectId: z.ZodString;
|
|
5449
|
+
name: z.ZodString;
|
|
5450
|
+
selfHosted: z.ZodOptional<z.ZodBoolean>;
|
|
5451
|
+
remoteServerUrl: z.ZodOptional<z.ZodString>;
|
|
5452
|
+
}, z.core.$strip>;
|
|
5453
|
+
export type TerseProjectConfig = z.infer<typeof terseProjectConfigSchema>;
|
|
5008
5454
|
export declare const sdkDeployJobSchema: z.ZodObject<{
|
|
5009
5455
|
jobName: z.ZodString;
|
|
5010
5456
|
triggers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -5076,10 +5522,31 @@ export declare const sdkDeployJobSchema: z.ZodObject<{
|
|
|
5076
5522
|
integrationId: z.ZodLiteral<"system">;
|
|
5077
5523
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
5078
5524
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
5525
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5526
|
+
integrationId: z.ZodLiteral<"system">;
|
|
5527
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
5528
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
5529
|
+
query: z.ZodString;
|
|
5530
|
+
frequency: z.ZodObject<{
|
|
5531
|
+
number: z.ZodNumber;
|
|
5532
|
+
unit: z.ZodEnum<{
|
|
5533
|
+
hour: "hour";
|
|
5534
|
+
day: "day";
|
|
5535
|
+
week: "week";
|
|
5536
|
+
}>;
|
|
5537
|
+
}, z.core.$strip>;
|
|
5538
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
5539
|
+
type: "json";
|
|
5540
|
+
jsonSchema: Record<string, unknown>;
|
|
5541
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5542
|
+
type: z.ZodLiteral<"json">;
|
|
5543
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5544
|
+
}, z.core.$strip>>>>;
|
|
5079
5545
|
}, z.core.$strip>]>>;
|
|
5080
5546
|
}, z.core.$strip>;
|
|
5081
5547
|
export type SdkDeployJob = z.infer<typeof sdkDeployJobSchema>;
|
|
5082
5548
|
export declare const sdkDeployRequestBodySchema: z.ZodObject<{
|
|
5549
|
+
projectId: z.ZodString;
|
|
5083
5550
|
jobs: z.ZodArray<z.ZodObject<{
|
|
5084
5551
|
jobName: z.ZodString;
|
|
5085
5552
|
triggers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -5151,6 +5618,26 @@ export declare const sdkDeployRequestBodySchema: z.ZodObject<{
|
|
|
5151
5618
|
integrationId: z.ZodLiteral<"system">;
|
|
5152
5619
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
5153
5620
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
5621
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5622
|
+
integrationId: z.ZodLiteral<"system">;
|
|
5623
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
5624
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
5625
|
+
query: z.ZodString;
|
|
5626
|
+
frequency: z.ZodObject<{
|
|
5627
|
+
number: z.ZodNumber;
|
|
5628
|
+
unit: z.ZodEnum<{
|
|
5629
|
+
hour: "hour";
|
|
5630
|
+
day: "day";
|
|
5631
|
+
week: "week";
|
|
5632
|
+
}>;
|
|
5633
|
+
}, z.core.$strip>;
|
|
5634
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
5635
|
+
type: "json";
|
|
5636
|
+
jsonSchema: Record<string, unknown>;
|
|
5637
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5638
|
+
type: z.ZodLiteral<"json">;
|
|
5639
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5640
|
+
}, z.core.$strip>>>>;
|
|
5154
5641
|
}, z.core.$strip>]>>;
|
|
5155
5642
|
}, z.core.$strip>>;
|
|
5156
5643
|
remoteServerUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -5161,7 +5648,6 @@ export declare const sdkDeployResultSchema: z.ZodObject<{
|
|
|
5161
5648
|
jobName: z.ZodString;
|
|
5162
5649
|
automationId: z.ZodString;
|
|
5163
5650
|
isUpdate: z.ZodBoolean;
|
|
5164
|
-
signingSecret: z.ZodOptional<z.ZodString>;
|
|
5165
5651
|
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5166
5652
|
id: z.ZodString;
|
|
5167
5653
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -5175,11 +5661,12 @@ export declare const sdkDeployRemovedSchema: z.ZodObject<{
|
|
|
5175
5661
|
}, z.core.$strip>;
|
|
5176
5662
|
export declare const sdkDeployResponseBodySchema: z.ZodObject<{
|
|
5177
5663
|
success: z.ZodBoolean;
|
|
5664
|
+
signingSecret: z.ZodOptional<z.ZodString>;
|
|
5665
|
+
projectApiKey: z.ZodOptional<z.ZodString>;
|
|
5178
5666
|
results: z.ZodArray<z.ZodObject<{
|
|
5179
5667
|
jobName: z.ZodString;
|
|
5180
5668
|
automationId: z.ZodString;
|
|
5181
5669
|
isUpdate: z.ZodBoolean;
|
|
5182
|
-
signingSecret: z.ZodOptional<z.ZodString>;
|
|
5183
5670
|
triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5184
5671
|
id: z.ZodString;
|
|
5185
5672
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
@@ -5302,7 +5789,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
5302
5789
|
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
5303
5790
|
readonly INVITATION_RESENT: "invitation.resent";
|
|
5304
5791
|
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
5305
|
-
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
|
|
5792
|
+
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
|
|
5306
5793
|
formattedContent: z.ZodString;
|
|
5307
5794
|
debugLog: z.ZodString;
|
|
5308
5795
|
data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5953,6 +6440,30 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
5953
6440
|
inputId: z.ZodString;
|
|
5954
6441
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
5955
6442
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
6443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6444
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
6445
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
6446
|
+
inputId: z.ZodString;
|
|
6447
|
+
query: z.ZodString;
|
|
6448
|
+
frequency: z.ZodObject<{
|
|
6449
|
+
number: z.ZodNumber;
|
|
6450
|
+
unit: z.ZodEnum<{
|
|
6451
|
+
hour: "hour";
|
|
6452
|
+
day: "day";
|
|
6453
|
+
week: "week";
|
|
6454
|
+
}>;
|
|
6455
|
+
}, z.core.$strip>;
|
|
6456
|
+
monitorId: z.ZodString;
|
|
6457
|
+
eventGroupId: z.ZodString;
|
|
6458
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6459
|
+
outputType: z.ZodEnum<{
|
|
6460
|
+
json: "json";
|
|
6461
|
+
text: "text";
|
|
6462
|
+
}>;
|
|
6463
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
6464
|
+
payload: z.ZodUnknown;
|
|
6465
|
+
eventDate: z.ZodString;
|
|
6466
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
5956
6467
|
}, z.core.$strip>, z.ZodObject<{
|
|
5957
6468
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
5958
6469
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -5976,6 +6487,7 @@ export declare const workosWebhookSecretUpdateRequestSchema: z.ZodObject<{
|
|
|
5976
6487
|
export type WorkosWebhookSecretUpdateRequest = z.infer<typeof workosWebhookSecretUpdateRequestSchema>;
|
|
5977
6488
|
export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
|
|
5978
6489
|
triggers: z.ZodArray<z.ZodObject<{
|
|
6490
|
+
triggerId: z.ZodOptional<z.ZodString>;
|
|
5979
6491
|
integrationId: z.ZodString;
|
|
5980
6492
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
5981
6493
|
config: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -6118,6 +6630,26 @@ export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
|
|
|
6118
6630
|
integrationId: z.ZodLiteral<"system">;
|
|
6119
6631
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
6120
6632
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
6633
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6634
|
+
integrationId: z.ZodLiteral<"system">;
|
|
6635
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
6636
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
6637
|
+
query: z.ZodString;
|
|
6638
|
+
frequency: z.ZodObject<{
|
|
6639
|
+
number: z.ZodNumber;
|
|
6640
|
+
unit: z.ZodEnum<{
|
|
6641
|
+
hour: "hour";
|
|
6642
|
+
day: "day";
|
|
6643
|
+
week: "week";
|
|
6644
|
+
}>;
|
|
6645
|
+
}, z.core.$strip>;
|
|
6646
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
6647
|
+
type: "json";
|
|
6648
|
+
jsonSchema: Record<string, unknown>;
|
|
6649
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6650
|
+
type: z.ZodLiteral<"json">;
|
|
6651
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6652
|
+
}, z.core.$strip>>>>;
|
|
6121
6653
|
}, z.core.$strip>]>;
|
|
6122
6654
|
}, z.core.$strip>>;
|
|
6123
6655
|
}, z.core.$strip>;
|
|
@@ -6771,6 +7303,30 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
6771
7303
|
inputId: z.ZodString;
|
|
6772
7304
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
6773
7305
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
7306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7307
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
7308
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
7309
|
+
inputId: z.ZodString;
|
|
7310
|
+
query: z.ZodString;
|
|
7311
|
+
frequency: z.ZodObject<{
|
|
7312
|
+
number: z.ZodNumber;
|
|
7313
|
+
unit: z.ZodEnum<{
|
|
7314
|
+
hour: "hour";
|
|
7315
|
+
day: "day";
|
|
7316
|
+
week: "week";
|
|
7317
|
+
}>;
|
|
7318
|
+
}, z.core.$strip>;
|
|
7319
|
+
monitorId: z.ZodString;
|
|
7320
|
+
eventGroupId: z.ZodString;
|
|
7321
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7322
|
+
outputType: z.ZodEnum<{
|
|
7323
|
+
json: "json";
|
|
7324
|
+
text: "text";
|
|
7325
|
+
}>;
|
|
7326
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
7327
|
+
payload: z.ZodUnknown;
|
|
7328
|
+
eventDate: z.ZodString;
|
|
7329
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
6774
7330
|
}, z.core.$strip>, z.ZodObject<{
|
|
6775
7331
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
6776
7332
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -6830,7 +7386,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
6830
7386
|
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
6831
7387
|
readonly INVITATION_RESENT: "invitation.resent";
|
|
6832
7388
|
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
6833
|
-
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
|
|
7389
|
+
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
|
|
6834
7390
|
formattedContent: z.ZodString;
|
|
6835
7391
|
debugLog: z.ZodString;
|
|
6836
7392
|
data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -7481,6 +8037,30 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
7481
8037
|
inputId: z.ZodString;
|
|
7482
8038
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
7483
8039
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
8040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8041
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
8042
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
8043
|
+
inputId: z.ZodString;
|
|
8044
|
+
query: z.ZodString;
|
|
8045
|
+
frequency: z.ZodObject<{
|
|
8046
|
+
number: z.ZodNumber;
|
|
8047
|
+
unit: z.ZodEnum<{
|
|
8048
|
+
hour: "hour";
|
|
8049
|
+
day: "day";
|
|
8050
|
+
week: "week";
|
|
8051
|
+
}>;
|
|
8052
|
+
}, z.core.$strip>;
|
|
8053
|
+
monitorId: z.ZodString;
|
|
8054
|
+
eventGroupId: z.ZodString;
|
|
8055
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8056
|
+
outputType: z.ZodEnum<{
|
|
8057
|
+
json: "json";
|
|
8058
|
+
text: "text";
|
|
8059
|
+
}>;
|
|
8060
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
8061
|
+
payload: z.ZodUnknown;
|
|
8062
|
+
eventDate: z.ZodString;
|
|
8063
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
7484
8064
|
}, z.core.$strip>, z.ZodObject<{
|
|
7485
8065
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
7486
8066
|
eventType: z.ZodLiteral<"manual_sample">;
|