terse-types 0.0.11 → 0.0.13
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 +1 -0
- package/dist/ApiRoutes.json +1 -0
- package/dist/Configs.d.ts +101 -1
- package/dist/Configs.js +105 -4
- 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 +503 -2
- package/dist/types.js +1 -0
- 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.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,6 +549,26 @@ 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.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>;
|
|
@@ -679,6 +719,26 @@ export declare const transientAgentTriggerSchema: z.ZodObject<{
|
|
|
679
719
|
integrationId: z.ZodLiteral<"system">;
|
|
680
720
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
681
721
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
723
|
+
integrationId: z.ZodLiteral<"system">;
|
|
724
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
725
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
726
|
+
query: z.ZodString;
|
|
727
|
+
frequency: z.ZodObject<{
|
|
728
|
+
number: z.ZodNumber;
|
|
729
|
+
unit: z.ZodEnum<{
|
|
730
|
+
hour: "hour";
|
|
731
|
+
day: "day";
|
|
732
|
+
week: "week";
|
|
733
|
+
}>;
|
|
734
|
+
}, z.core.$strip>;
|
|
735
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
736
|
+
type: "json";
|
|
737
|
+
jsonSchema: Record<string, unknown>;
|
|
738
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
739
|
+
type: z.ZodLiteral<"json">;
|
|
740
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
741
|
+
}, z.core.$strip>>>;
|
|
682
742
|
}, z.core.$strip>]>>;
|
|
683
743
|
configType: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
|
|
684
744
|
}, z.core.$strip>;
|
|
@@ -825,6 +885,26 @@ export declare const transientAgentOutputSchema: z.ZodObject<{
|
|
|
825
885
|
integrationId: z.ZodLiteral<"system">;
|
|
826
886
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
827
887
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
889
|
+
integrationId: z.ZodLiteral<"system">;
|
|
890
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
891
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
892
|
+
query: z.ZodString;
|
|
893
|
+
frequency: z.ZodObject<{
|
|
894
|
+
number: z.ZodNumber;
|
|
895
|
+
unit: z.ZodEnum<{
|
|
896
|
+
hour: "hour";
|
|
897
|
+
day: "day";
|
|
898
|
+
week: "week";
|
|
899
|
+
}>;
|
|
900
|
+
}, z.core.$strip>;
|
|
901
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
902
|
+
type: "json";
|
|
903
|
+
jsonSchema: Record<string, unknown>;
|
|
904
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
905
|
+
type: z.ZodLiteral<"json">;
|
|
906
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
907
|
+
}, z.core.$strip>>>;
|
|
828
908
|
}, z.core.$strip>]>>;
|
|
829
909
|
configType: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
|
|
830
910
|
}, z.core.$strip>;
|
|
@@ -1176,6 +1256,26 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1176
1256
|
integrationId: z.ZodLiteral<"system">;
|
|
1177
1257
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1178
1258
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1260
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1261
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1262
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1263
|
+
query: z.ZodString;
|
|
1264
|
+
frequency: z.ZodObject<{
|
|
1265
|
+
number: z.ZodNumber;
|
|
1266
|
+
unit: z.ZodEnum<{
|
|
1267
|
+
hour: "hour";
|
|
1268
|
+
day: "day";
|
|
1269
|
+
week: "week";
|
|
1270
|
+
}>;
|
|
1271
|
+
}, z.core.$strip>;
|
|
1272
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1273
|
+
type: "json";
|
|
1274
|
+
jsonSchema: Record<string, unknown>;
|
|
1275
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1276
|
+
type: z.ZodLiteral<"json">;
|
|
1277
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1278
|
+
}, z.core.$strip>>>;
|
|
1179
1279
|
}, z.core.$strip>]>;
|
|
1180
1280
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1181
1281
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1323,6 +1423,26 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
1323
1423
|
integrationId: z.ZodLiteral<"system">;
|
|
1324
1424
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1325
1425
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1427
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1428
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1429
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1430
|
+
query: z.ZodString;
|
|
1431
|
+
frequency: z.ZodObject<{
|
|
1432
|
+
number: z.ZodNumber;
|
|
1433
|
+
unit: z.ZodEnum<{
|
|
1434
|
+
hour: "hour";
|
|
1435
|
+
day: "day";
|
|
1436
|
+
week: "week";
|
|
1437
|
+
}>;
|
|
1438
|
+
}, z.core.$strip>;
|
|
1439
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1440
|
+
type: "json";
|
|
1441
|
+
jsonSchema: Record<string, unknown>;
|
|
1442
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1443
|
+
type: z.ZodLiteral<"json">;
|
|
1444
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1445
|
+
}, z.core.$strip>>>;
|
|
1326
1446
|
}, z.core.$strip>]>;
|
|
1327
1447
|
}, z.core.$strip>>;
|
|
1328
1448
|
createdByUserId: z.ZodString;
|
|
@@ -1489,6 +1609,26 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
1489
1609
|
integrationId: z.ZodLiteral<"system">;
|
|
1490
1610
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1491
1611
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1612
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1613
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1614
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1615
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1616
|
+
query: z.ZodString;
|
|
1617
|
+
frequency: z.ZodObject<{
|
|
1618
|
+
number: z.ZodNumber;
|
|
1619
|
+
unit: z.ZodEnum<{
|
|
1620
|
+
hour: "hour";
|
|
1621
|
+
day: "day";
|
|
1622
|
+
week: "week";
|
|
1623
|
+
}>;
|
|
1624
|
+
}, z.core.$strip>;
|
|
1625
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1626
|
+
type: "json";
|
|
1627
|
+
jsonSchema: Record<string, unknown>;
|
|
1628
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1629
|
+
type: z.ZodLiteral<"json">;
|
|
1630
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1631
|
+
}, z.core.$strip>>>;
|
|
1492
1632
|
}, z.core.$strip>]>;
|
|
1493
1633
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1494
1634
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1636,6 +1776,26 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
1636
1776
|
integrationId: z.ZodLiteral<"system">;
|
|
1637
1777
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1638
1778
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1779
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1780
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1781
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1782
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1783
|
+
query: z.ZodString;
|
|
1784
|
+
frequency: z.ZodObject<{
|
|
1785
|
+
number: z.ZodNumber;
|
|
1786
|
+
unit: z.ZodEnum<{
|
|
1787
|
+
hour: "hour";
|
|
1788
|
+
day: "day";
|
|
1789
|
+
week: "week";
|
|
1790
|
+
}>;
|
|
1791
|
+
}, z.core.$strip>;
|
|
1792
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1793
|
+
type: "json";
|
|
1794
|
+
jsonSchema: Record<string, unknown>;
|
|
1795
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1796
|
+
type: z.ZodLiteral<"json">;
|
|
1797
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1798
|
+
}, z.core.$strip>>>;
|
|
1639
1799
|
}, z.core.$strip>]>;
|
|
1640
1800
|
}, z.core.$strip>>>;
|
|
1641
1801
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -1807,6 +1967,26 @@ export declare const agentCreateSchema: z.ZodObject<{
|
|
|
1807
1967
|
integrationId: z.ZodLiteral<"system">;
|
|
1808
1968
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1809
1969
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
1970
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1971
|
+
integrationId: z.ZodLiteral<"system">;
|
|
1972
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
1973
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
1974
|
+
query: z.ZodString;
|
|
1975
|
+
frequency: z.ZodObject<{
|
|
1976
|
+
number: z.ZodNumber;
|
|
1977
|
+
unit: z.ZodEnum<{
|
|
1978
|
+
hour: "hour";
|
|
1979
|
+
day: "day";
|
|
1980
|
+
week: "week";
|
|
1981
|
+
}>;
|
|
1982
|
+
}, z.core.$strip>;
|
|
1983
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
1984
|
+
type: "json";
|
|
1985
|
+
jsonSchema: Record<string, unknown>;
|
|
1986
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1987
|
+
type: z.ZodLiteral<"json">;
|
|
1988
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1989
|
+
}, z.core.$strip>>>;
|
|
1810
1990
|
}, z.core.$strip>]>;
|
|
1811
1991
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1812
1992
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1954,6 +2134,26 @@ export declare const agentCreateSchema: z.ZodObject<{
|
|
|
1954
2134
|
integrationId: z.ZodLiteral<"system">;
|
|
1955
2135
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
1956
2136
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2138
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2139
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2140
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2141
|
+
query: z.ZodString;
|
|
2142
|
+
frequency: z.ZodObject<{
|
|
2143
|
+
number: z.ZodNumber;
|
|
2144
|
+
unit: z.ZodEnum<{
|
|
2145
|
+
hour: "hour";
|
|
2146
|
+
day: "day";
|
|
2147
|
+
week: "week";
|
|
2148
|
+
}>;
|
|
2149
|
+
}, z.core.$strip>;
|
|
2150
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2151
|
+
type: "json";
|
|
2152
|
+
jsonSchema: Record<string, unknown>;
|
|
2153
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2154
|
+
type: z.ZodLiteral<"json">;
|
|
2155
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2156
|
+
}, z.core.$strip>>>;
|
|
1957
2157
|
}, z.core.$strip>]>;
|
|
1958
2158
|
}, z.core.$strip>>;
|
|
1959
2159
|
requireApproval: z.ZodBoolean;
|
|
@@ -2120,6 +2320,26 @@ export declare const agentDraftSchema: z.ZodObject<{
|
|
|
2120
2320
|
integrationId: z.ZodLiteral<"system">;
|
|
2121
2321
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2122
2322
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2323
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2324
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2325
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2326
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2327
|
+
query: z.ZodString;
|
|
2328
|
+
frequency: z.ZodObject<{
|
|
2329
|
+
number: z.ZodNumber;
|
|
2330
|
+
unit: z.ZodEnum<{
|
|
2331
|
+
hour: "hour";
|
|
2332
|
+
day: "day";
|
|
2333
|
+
week: "week";
|
|
2334
|
+
}>;
|
|
2335
|
+
}, z.core.$strip>;
|
|
2336
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2337
|
+
type: "json";
|
|
2338
|
+
jsonSchema: Record<string, unknown>;
|
|
2339
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2340
|
+
type: z.ZodLiteral<"json">;
|
|
2341
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2342
|
+
}, z.core.$strip>>>;
|
|
2123
2343
|
}, z.core.$strip>]>;
|
|
2124
2344
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2125
2345
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2267,6 +2487,26 @@ export declare const agentDraftSchema: z.ZodObject<{
|
|
|
2267
2487
|
integrationId: z.ZodLiteral<"system">;
|
|
2268
2488
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2269
2489
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2490
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2491
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2492
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2493
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2494
|
+
query: z.ZodString;
|
|
2495
|
+
frequency: z.ZodObject<{
|
|
2496
|
+
number: z.ZodNumber;
|
|
2497
|
+
unit: z.ZodEnum<{
|
|
2498
|
+
hour: "hour";
|
|
2499
|
+
day: "day";
|
|
2500
|
+
week: "week";
|
|
2501
|
+
}>;
|
|
2502
|
+
}, z.core.$strip>;
|
|
2503
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2504
|
+
type: "json";
|
|
2505
|
+
jsonSchema: Record<string, unknown>;
|
|
2506
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2507
|
+
type: z.ZodLiteral<"json">;
|
|
2508
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2509
|
+
}, z.core.$strip>>>;
|
|
2270
2510
|
}, z.core.$strip>]>;
|
|
2271
2511
|
}, z.core.$strip>>;
|
|
2272
2512
|
requireApproval: z.ZodBoolean;
|
|
@@ -2444,6 +2684,26 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2444
2684
|
integrationId: z.ZodLiteral<"system">;
|
|
2445
2685
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2446
2686
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2687
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2688
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2689
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2690
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2691
|
+
query: z.ZodString;
|
|
2692
|
+
frequency: z.ZodObject<{
|
|
2693
|
+
number: z.ZodNumber;
|
|
2694
|
+
unit: z.ZodEnum<{
|
|
2695
|
+
hour: "hour";
|
|
2696
|
+
day: "day";
|
|
2697
|
+
week: "week";
|
|
2698
|
+
}>;
|
|
2699
|
+
}, z.core.$strip>;
|
|
2700
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2701
|
+
type: "json";
|
|
2702
|
+
jsonSchema: Record<string, unknown>;
|
|
2703
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2704
|
+
type: z.ZodLiteral<"json">;
|
|
2705
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2706
|
+
}, z.core.$strip>>>;
|
|
2447
2707
|
}, z.core.$strip>]>;
|
|
2448
2708
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2449
2709
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2591,6 +2851,26 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
2591
2851
|
integrationId: z.ZodLiteral<"system">;
|
|
2592
2852
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2593
2853
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
2854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2855
|
+
integrationId: z.ZodLiteral<"system">;
|
|
2856
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
2857
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
2858
|
+
query: z.ZodString;
|
|
2859
|
+
frequency: z.ZodObject<{
|
|
2860
|
+
number: z.ZodNumber;
|
|
2861
|
+
unit: z.ZodEnum<{
|
|
2862
|
+
hour: "hour";
|
|
2863
|
+
day: "day";
|
|
2864
|
+
week: "week";
|
|
2865
|
+
}>;
|
|
2866
|
+
}, z.core.$strip>;
|
|
2867
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
2868
|
+
type: "json";
|
|
2869
|
+
jsonSchema: Record<string, unknown>;
|
|
2870
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
2871
|
+
type: z.ZodLiteral<"json">;
|
|
2872
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2873
|
+
}, z.core.$strip>>>;
|
|
2594
2874
|
}, z.core.$strip>]>;
|
|
2595
2875
|
}, z.core.$strip>>;
|
|
2596
2876
|
createdByUserId: z.ZodString;
|
|
@@ -2771,6 +3051,26 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
2771
3051
|
integrationId: z.ZodLiteral<"system">;
|
|
2772
3052
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2773
3053
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
3054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3055
|
+
integrationId: z.ZodLiteral<"system">;
|
|
3056
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
3057
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
3058
|
+
query: z.ZodString;
|
|
3059
|
+
frequency: z.ZodObject<{
|
|
3060
|
+
number: z.ZodNumber;
|
|
3061
|
+
unit: z.ZodEnum<{
|
|
3062
|
+
hour: "hour";
|
|
3063
|
+
day: "day";
|
|
3064
|
+
week: "week";
|
|
3065
|
+
}>;
|
|
3066
|
+
}, z.core.$strip>;
|
|
3067
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
3068
|
+
type: "json";
|
|
3069
|
+
jsonSchema: Record<string, unknown>;
|
|
3070
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
3071
|
+
type: z.ZodLiteral<"json">;
|
|
3072
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3073
|
+
}, z.core.$strip>>>;
|
|
2774
3074
|
}, z.core.$strip>]>;
|
|
2775
3075
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2776
3076
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2918,6 +3218,26 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
2918
3218
|
integrationId: z.ZodLiteral<"system">;
|
|
2919
3219
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
2920
3220
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
3221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3222
|
+
integrationId: z.ZodLiteral<"system">;
|
|
3223
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
3224
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
3225
|
+
query: z.ZodString;
|
|
3226
|
+
frequency: z.ZodObject<{
|
|
3227
|
+
number: z.ZodNumber;
|
|
3228
|
+
unit: z.ZodEnum<{
|
|
3229
|
+
hour: "hour";
|
|
3230
|
+
day: "day";
|
|
3231
|
+
week: "week";
|
|
3232
|
+
}>;
|
|
3233
|
+
}, z.core.$strip>;
|
|
3234
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
3235
|
+
type: "json";
|
|
3236
|
+
jsonSchema: Record<string, unknown>;
|
|
3237
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
3238
|
+
type: z.ZodLiteral<"json">;
|
|
3239
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3240
|
+
}, z.core.$strip>>>;
|
|
2921
3241
|
}, z.core.$strip>]>;
|
|
2922
3242
|
}, z.core.$strip>>;
|
|
2923
3243
|
createdByUserId: z.ZodString;
|
|
@@ -4050,6 +4370,30 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
4050
4370
|
inputId: z.ZodString;
|
|
4051
4371
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
4052
4372
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4374
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
4375
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
4376
|
+
inputId: z.ZodString;
|
|
4377
|
+
query: z.ZodString;
|
|
4378
|
+
frequency: z.ZodObject<{
|
|
4379
|
+
number: z.ZodNumber;
|
|
4380
|
+
unit: z.ZodEnum<{
|
|
4381
|
+
hour: "hour";
|
|
4382
|
+
day: "day";
|
|
4383
|
+
week: "week";
|
|
4384
|
+
}>;
|
|
4385
|
+
}, z.core.$strip>;
|
|
4386
|
+
monitorId: z.ZodString;
|
|
4387
|
+
eventGroupId: z.ZodString;
|
|
4388
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4389
|
+
outputType: z.ZodEnum<{
|
|
4390
|
+
json: "json";
|
|
4391
|
+
text: "text";
|
|
4392
|
+
}>;
|
|
4393
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
4394
|
+
payload: z.ZodUnknown;
|
|
4395
|
+
eventDate: z.ZodString;
|
|
4396
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
4053
4397
|
}, z.core.$strip>, z.ZodObject<{
|
|
4054
4398
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
4055
4399
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -4790,6 +5134,30 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
4790
5134
|
inputId: z.ZodString;
|
|
4791
5135
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
4792
5136
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
5137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5138
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
5139
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
5140
|
+
inputId: z.ZodString;
|
|
5141
|
+
query: z.ZodString;
|
|
5142
|
+
frequency: z.ZodObject<{
|
|
5143
|
+
number: z.ZodNumber;
|
|
5144
|
+
unit: z.ZodEnum<{
|
|
5145
|
+
hour: "hour";
|
|
5146
|
+
day: "day";
|
|
5147
|
+
week: "week";
|
|
5148
|
+
}>;
|
|
5149
|
+
}, z.core.$strip>;
|
|
5150
|
+
monitorId: z.ZodString;
|
|
5151
|
+
eventGroupId: z.ZodString;
|
|
5152
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5153
|
+
outputType: z.ZodEnum<{
|
|
5154
|
+
json: "json";
|
|
5155
|
+
text: "text";
|
|
5156
|
+
}>;
|
|
5157
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
5158
|
+
payload: z.ZodUnknown;
|
|
5159
|
+
eventDate: z.ZodString;
|
|
5160
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
4793
5161
|
}, z.core.$strip>, z.ZodObject<{
|
|
4794
5162
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
4795
5163
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -5076,6 +5444,26 @@ export declare const sdkDeployJobSchema: z.ZodObject<{
|
|
|
5076
5444
|
integrationId: z.ZodLiteral<"system">;
|
|
5077
5445
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
5078
5446
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
5447
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5448
|
+
integrationId: z.ZodLiteral<"system">;
|
|
5449
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
5450
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
5451
|
+
query: z.ZodString;
|
|
5452
|
+
frequency: z.ZodObject<{
|
|
5453
|
+
number: z.ZodNumber;
|
|
5454
|
+
unit: z.ZodEnum<{
|
|
5455
|
+
hour: "hour";
|
|
5456
|
+
day: "day";
|
|
5457
|
+
week: "week";
|
|
5458
|
+
}>;
|
|
5459
|
+
}, z.core.$strip>;
|
|
5460
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
5461
|
+
type: "json";
|
|
5462
|
+
jsonSchema: Record<string, unknown>;
|
|
5463
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
5464
|
+
type: z.ZodLiteral<"json">;
|
|
5465
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5466
|
+
}, z.core.$strip>>>;
|
|
5079
5467
|
}, z.core.$strip>]>>;
|
|
5080
5468
|
}, z.core.$strip>;
|
|
5081
5469
|
export type SdkDeployJob = z.infer<typeof sdkDeployJobSchema>;
|
|
@@ -5151,6 +5539,26 @@ export declare const sdkDeployRequestBodySchema: z.ZodObject<{
|
|
|
5151
5539
|
integrationId: z.ZodLiteral<"system">;
|
|
5152
5540
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
5153
5541
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
5542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5543
|
+
integrationId: z.ZodLiteral<"system">;
|
|
5544
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
5545
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
5546
|
+
query: z.ZodString;
|
|
5547
|
+
frequency: z.ZodObject<{
|
|
5548
|
+
number: z.ZodNumber;
|
|
5549
|
+
unit: z.ZodEnum<{
|
|
5550
|
+
hour: "hour";
|
|
5551
|
+
day: "day";
|
|
5552
|
+
week: "week";
|
|
5553
|
+
}>;
|
|
5554
|
+
}, z.core.$strip>;
|
|
5555
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
5556
|
+
type: "json";
|
|
5557
|
+
jsonSchema: Record<string, unknown>;
|
|
5558
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
5559
|
+
type: z.ZodLiteral<"json">;
|
|
5560
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
5561
|
+
}, z.core.$strip>>>;
|
|
5154
5562
|
}, z.core.$strip>]>>;
|
|
5155
5563
|
}, z.core.$strip>>;
|
|
5156
5564
|
remoteServerUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -5302,7 +5710,7 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
5302
5710
|
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
5303
5711
|
readonly INVITATION_RESENT: "invitation.resent";
|
|
5304
5712
|
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
5305
|
-
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
|
|
5713
|
+
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
|
|
5306
5714
|
formattedContent: z.ZodString;
|
|
5307
5715
|
debugLog: z.ZodString;
|
|
5308
5716
|
data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -5953,6 +6361,30 @@ export declare const sdkRunTriggerEventResponseSchema: z.ZodObject<{
|
|
|
5953
6361
|
inputId: z.ZodString;
|
|
5954
6362
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
5955
6363
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
6364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6365
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
6366
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
6367
|
+
inputId: z.ZodString;
|
|
6368
|
+
query: z.ZodString;
|
|
6369
|
+
frequency: z.ZodObject<{
|
|
6370
|
+
number: z.ZodNumber;
|
|
6371
|
+
unit: z.ZodEnum<{
|
|
6372
|
+
hour: "hour";
|
|
6373
|
+
day: "day";
|
|
6374
|
+
week: "week";
|
|
6375
|
+
}>;
|
|
6376
|
+
}, z.core.$strip>;
|
|
6377
|
+
monitorId: z.ZodString;
|
|
6378
|
+
eventGroupId: z.ZodString;
|
|
6379
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6380
|
+
outputType: z.ZodEnum<{
|
|
6381
|
+
json: "json";
|
|
6382
|
+
text: "text";
|
|
6383
|
+
}>;
|
|
6384
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
6385
|
+
payload: z.ZodUnknown;
|
|
6386
|
+
eventDate: z.ZodString;
|
|
6387
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
5956
6388
|
}, z.core.$strip>, z.ZodObject<{
|
|
5957
6389
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
5958
6390
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -5976,6 +6408,7 @@ export declare const workosWebhookSecretUpdateRequestSchema: z.ZodObject<{
|
|
|
5976
6408
|
export type WorkosWebhookSecretUpdateRequest = z.infer<typeof workosWebhookSecretUpdateRequestSchema>;
|
|
5977
6409
|
export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
|
|
5978
6410
|
triggers: z.ZodArray<z.ZodObject<{
|
|
6411
|
+
triggerId: z.ZodOptional<z.ZodString>;
|
|
5979
6412
|
integrationId: z.ZodString;
|
|
5980
6413
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
5981
6414
|
config: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -6118,6 +6551,26 @@ export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
|
|
|
6118
6551
|
integrationId: z.ZodLiteral<"system">;
|
|
6119
6552
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBHOOK>;
|
|
6120
6553
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBHOOK_INPUT>;
|
|
6554
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6555
|
+
integrationId: z.ZodLiteral<"system">;
|
|
6556
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
6557
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.WEBMONITOR>;
|
|
6558
|
+
query: z.ZodString;
|
|
6559
|
+
frequency: z.ZodObject<{
|
|
6560
|
+
number: z.ZodNumber;
|
|
6561
|
+
unit: z.ZodEnum<{
|
|
6562
|
+
hour: "hour";
|
|
6563
|
+
day: "day";
|
|
6564
|
+
week: "week";
|
|
6565
|
+
}>;
|
|
6566
|
+
}, z.core.$strip>;
|
|
6567
|
+
outputSchema: z.ZodPipe<z.ZodTransform<{
|
|
6568
|
+
type: "json";
|
|
6569
|
+
jsonSchema: Record<string, unknown>;
|
|
6570
|
+
} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
6571
|
+
type: z.ZodLiteral<"json">;
|
|
6572
|
+
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
6573
|
+
}, z.core.$strip>>>;
|
|
6121
6574
|
}, z.core.$strip>]>;
|
|
6122
6575
|
}, z.core.$strip>>;
|
|
6123
6576
|
}, z.core.$strip>;
|
|
@@ -6771,6 +7224,30 @@ export declare const triggerWithEventRequestSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
6771
7224
|
inputId: z.ZodString;
|
|
6772
7225
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
6773
7226
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
7227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7228
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
7229
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
7230
|
+
inputId: z.ZodString;
|
|
7231
|
+
query: z.ZodString;
|
|
7232
|
+
frequency: z.ZodObject<{
|
|
7233
|
+
number: z.ZodNumber;
|
|
7234
|
+
unit: z.ZodEnum<{
|
|
7235
|
+
hour: "hour";
|
|
7236
|
+
day: "day";
|
|
7237
|
+
week: "week";
|
|
7238
|
+
}>;
|
|
7239
|
+
}, z.core.$strip>;
|
|
7240
|
+
monitorId: z.ZodString;
|
|
7241
|
+
eventGroupId: z.ZodString;
|
|
7242
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7243
|
+
outputType: z.ZodEnum<{
|
|
7244
|
+
json: "json";
|
|
7245
|
+
text: "text";
|
|
7246
|
+
}>;
|
|
7247
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
7248
|
+
payload: z.ZodUnknown;
|
|
7249
|
+
eventDate: z.ZodString;
|
|
7250
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
6774
7251
|
}, z.core.$strip>, z.ZodObject<{
|
|
6775
7252
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
6776
7253
|
eventType: z.ZodLiteral<"manual_sample">;
|
|
@@ -6830,7 +7307,7 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
6830
7307
|
readonly INVITATION_ACCEPTED: "invitation.accepted";
|
|
6831
7308
|
readonly INVITATION_RESENT: "invitation.resent";
|
|
6832
7309
|
readonly INVITATION_REVOKED: "invitation.revoked";
|
|
6833
|
-
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
|
|
7310
|
+
}>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"webmonitor">, z.ZodLiteral<"manual_sample">]>;
|
|
6834
7311
|
formattedContent: z.ZodString;
|
|
6835
7312
|
debugLog: z.ZodString;
|
|
6836
7313
|
data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -7481,6 +7958,30 @@ export declare const webhookJobTriggerRequestSchema: z.ZodObject<{
|
|
|
7481
7958
|
inputId: z.ZodString;
|
|
7482
7959
|
isManualTrigger: z.ZodOptional<z.ZodBoolean>;
|
|
7483
7960
|
manualContext: z.ZodOptional<z.ZodString>;
|
|
7961
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7962
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.WEBMONITOR>;
|
|
7963
|
+
eventType: z.ZodLiteral<"webmonitor">;
|
|
7964
|
+
inputId: z.ZodString;
|
|
7965
|
+
query: z.ZodString;
|
|
7966
|
+
frequency: z.ZodObject<{
|
|
7967
|
+
number: z.ZodNumber;
|
|
7968
|
+
unit: z.ZodEnum<{
|
|
7969
|
+
hour: "hour";
|
|
7970
|
+
day: "day";
|
|
7971
|
+
week: "week";
|
|
7972
|
+
}>;
|
|
7973
|
+
}, z.core.$strip>;
|
|
7974
|
+
monitorId: z.ZodString;
|
|
7975
|
+
eventGroupId: z.ZodString;
|
|
7976
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7977
|
+
outputType: z.ZodEnum<{
|
|
7978
|
+
json: "json";
|
|
7979
|
+
text: "text";
|
|
7980
|
+
}>;
|
|
7981
|
+
rawPayload: z.ZodOptional<z.ZodString>;
|
|
7982
|
+
payload: z.ZodUnknown;
|
|
7983
|
+
eventDate: z.ZodString;
|
|
7984
|
+
sourceUrls: z.ZodArray<z.ZodString>;
|
|
7484
7985
|
}, z.core.$strip>, z.ZodObject<{
|
|
7485
7986
|
integrationType: z.ZodEnum<typeof import("./Integrations.js").IntegrationType>;
|
|
7486
7987
|
eventType: z.ZodLiteral<"manual_sample">;
|