@trigger.dev/core 0.0.0-prerelease-20230922203841 → 0.0.0-prerelease-20231005170730
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/index.d.ts +523 -23
- package/dist/index.js +140 -10
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -194,6 +194,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
194
194
|
variant?: string | undefined;
|
|
195
195
|
}>>>;
|
|
196
196
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
197
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
197
198
|
}, "strip", z.ZodTypeAny, {
|
|
198
199
|
name: string;
|
|
199
200
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -223,6 +224,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
223
224
|
variant?: string | undefined;
|
|
224
225
|
} | null | undefined;
|
|
225
226
|
operation?: string | null | undefined;
|
|
227
|
+
callbackUrl?: string | null | undefined;
|
|
226
228
|
}, {
|
|
227
229
|
name: string;
|
|
228
230
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -252,6 +254,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
252
254
|
variant?: string | undefined;
|
|
253
255
|
} | null | undefined;
|
|
254
256
|
operation?: string | null | undefined;
|
|
257
|
+
callbackUrl?: string | null | undefined;
|
|
255
258
|
}>;
|
|
256
259
|
declare const ServerTaskSchema: z.ZodObject<{
|
|
257
260
|
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -304,6 +307,7 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
304
307
|
output: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
305
308
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
306
309
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
310
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
307
311
|
idempotencyKey: z.ZodString;
|
|
308
312
|
attempts: z.ZodNumber;
|
|
309
313
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -337,6 +341,7 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
337
341
|
output?: DeserializedJson | undefined;
|
|
338
342
|
parentId?: string | null | undefined;
|
|
339
343
|
operation?: string | null | undefined;
|
|
344
|
+
callbackUrl?: string | null | undefined;
|
|
340
345
|
}, {
|
|
341
346
|
name: string;
|
|
342
347
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -368,6 +373,7 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
368
373
|
output?: DeserializedJson | undefined;
|
|
369
374
|
parentId?: string | null | undefined;
|
|
370
375
|
operation?: string | null | undefined;
|
|
376
|
+
callbackUrl?: string | null | undefined;
|
|
371
377
|
}>;
|
|
372
378
|
type ServerTask = z.infer<typeof ServerTaskSchema>;
|
|
373
379
|
declare const CachedTaskSchema: z.ZodObject<{
|
|
@@ -1012,76 +1018,100 @@ declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
|
1012
1018
|
type HttpSourceRequestHeaders = z.output<typeof HttpSourceRequestHeadersSchema>;
|
|
1013
1019
|
declare const PongSuccessResponseSchema: z.ZodObject<{
|
|
1014
1020
|
ok: z.ZodLiteral<true>;
|
|
1021
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1015
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1016
1023
|
ok: true;
|
|
1024
|
+
triggerVersion?: string | undefined;
|
|
1017
1025
|
}, {
|
|
1018
1026
|
ok: true;
|
|
1027
|
+
triggerVersion?: string | undefined;
|
|
1019
1028
|
}>;
|
|
1020
1029
|
declare const PongErrorResponseSchema: z.ZodObject<{
|
|
1021
1030
|
ok: z.ZodLiteral<false>;
|
|
1022
1031
|
error: z.ZodString;
|
|
1032
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1023
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1024
1034
|
error: string;
|
|
1025
1035
|
ok: false;
|
|
1036
|
+
triggerVersion?: string | undefined;
|
|
1026
1037
|
}, {
|
|
1027
1038
|
error: string;
|
|
1028
1039
|
ok: false;
|
|
1040
|
+
triggerVersion?: string | undefined;
|
|
1029
1041
|
}>;
|
|
1030
1042
|
declare const PongResponseSchema: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
1031
1043
|
ok: z.ZodLiteral<true>;
|
|
1044
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1032
1045
|
}, "strip", z.ZodTypeAny, {
|
|
1033
1046
|
ok: true;
|
|
1047
|
+
triggerVersion?: string | undefined;
|
|
1034
1048
|
}, {
|
|
1035
1049
|
ok: true;
|
|
1050
|
+
triggerVersion?: string | undefined;
|
|
1036
1051
|
}>, z.ZodObject<{
|
|
1037
1052
|
ok: z.ZodLiteral<false>;
|
|
1038
1053
|
error: z.ZodString;
|
|
1054
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1039
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1040
1056
|
error: string;
|
|
1041
1057
|
ok: false;
|
|
1058
|
+
triggerVersion?: string | undefined;
|
|
1042
1059
|
}, {
|
|
1043
1060
|
error: string;
|
|
1044
1061
|
ok: false;
|
|
1062
|
+
triggerVersion?: string | undefined;
|
|
1045
1063
|
}>]>;
|
|
1046
1064
|
type PongResponse = z.infer<typeof PongResponseSchema>;
|
|
1047
1065
|
declare const ValidateSuccessResponseSchema: z.ZodObject<{
|
|
1048
1066
|
ok: z.ZodLiteral<true>;
|
|
1049
1067
|
endpointId: z.ZodString;
|
|
1068
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1050
1069
|
}, "strip", z.ZodTypeAny, {
|
|
1051
1070
|
ok: true;
|
|
1052
1071
|
endpointId: string;
|
|
1072
|
+
triggerVersion?: string | undefined;
|
|
1053
1073
|
}, {
|
|
1054
1074
|
ok: true;
|
|
1055
1075
|
endpointId: string;
|
|
1076
|
+
triggerVersion?: string | undefined;
|
|
1056
1077
|
}>;
|
|
1057
1078
|
declare const ValidateErrorResponseSchema: z.ZodObject<{
|
|
1058
1079
|
ok: z.ZodLiteral<false>;
|
|
1059
1080
|
error: z.ZodString;
|
|
1081
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1060
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1061
1083
|
error: string;
|
|
1062
1084
|
ok: false;
|
|
1085
|
+
triggerVersion?: string | undefined;
|
|
1063
1086
|
}, {
|
|
1064
1087
|
error: string;
|
|
1065
1088
|
ok: false;
|
|
1089
|
+
triggerVersion?: string | undefined;
|
|
1066
1090
|
}>;
|
|
1067
1091
|
declare const ValidateResponseSchema: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
1068
1092
|
ok: z.ZodLiteral<true>;
|
|
1069
1093
|
endpointId: z.ZodString;
|
|
1094
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1070
1095
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1096
|
ok: true;
|
|
1072
1097
|
endpointId: string;
|
|
1098
|
+
triggerVersion?: string | undefined;
|
|
1073
1099
|
}, {
|
|
1074
1100
|
ok: true;
|
|
1075
1101
|
endpointId: string;
|
|
1102
|
+
triggerVersion?: string | undefined;
|
|
1076
1103
|
}>, z.ZodObject<{
|
|
1077
1104
|
ok: z.ZodLiteral<false>;
|
|
1078
1105
|
error: z.ZodString;
|
|
1106
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1079
1107
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1108
|
error: string;
|
|
1081
1109
|
ok: false;
|
|
1110
|
+
triggerVersion?: string | undefined;
|
|
1082
1111
|
}, {
|
|
1083
1112
|
error: string;
|
|
1084
1113
|
ok: false;
|
|
1114
|
+
triggerVersion?: string | undefined;
|
|
1085
1115
|
}>]>;
|
|
1086
1116
|
type ValidateResponse = z.infer<typeof ValidateResponseSchema>;
|
|
1087
1117
|
declare const QueueOptionsSchema: z.ZodObject<{
|
|
@@ -3188,6 +3218,13 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3188
3218
|
}[];
|
|
3189
3219
|
}>;
|
|
3190
3220
|
type IndexEndpointResponse = z.infer<typeof IndexEndpointResponseSchema>;
|
|
3221
|
+
declare const EndpointHeadersSchema: z.ZodObject<{
|
|
3222
|
+
"trigger-version": z.ZodOptional<z.ZodString>;
|
|
3223
|
+
}, "strip", z.ZodTypeAny, {
|
|
3224
|
+
"trigger-version"?: string | undefined;
|
|
3225
|
+
}, {
|
|
3226
|
+
"trigger-version"?: string | undefined;
|
|
3227
|
+
}>;
|
|
3191
3228
|
declare const RawEventSchema: z.ZodObject<{
|
|
3192
3229
|
/** The `name` property must exactly match any subscriptions you want to
|
|
3193
3230
|
trigger. */
|
|
@@ -3416,6 +3453,7 @@ declare const RunSourceContextSchema: z.ZodObject<{
|
|
|
3416
3453
|
id: string;
|
|
3417
3454
|
metadata?: any;
|
|
3418
3455
|
}>;
|
|
3456
|
+
type RunSourceContext = z.infer<typeof RunSourceContextSchema>;
|
|
3419
3457
|
declare const RunJobBodySchema: z.ZodObject<{
|
|
3420
3458
|
event: z.ZodObject<{
|
|
3421
3459
|
/** The `id` of the event that was sent.
|
|
@@ -3561,6 +3599,8 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3561
3599
|
output?: DeserializedJson | undefined;
|
|
3562
3600
|
parentId?: string | null | undefined;
|
|
3563
3601
|
}>, "many">>;
|
|
3602
|
+
cachedTaskCursor: z.ZodOptional<z.ZodString>;
|
|
3603
|
+
noopTasksSet: z.ZodOptional<z.ZodString>;
|
|
3564
3604
|
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3565
3605
|
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
3566
3606
|
accessToken: z.ZodString;
|
|
@@ -3577,6 +3617,7 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3577
3617
|
scopes?: string[] | undefined;
|
|
3578
3618
|
additionalFields?: Record<string, string> | undefined;
|
|
3579
3619
|
}>>>;
|
|
3620
|
+
yieldedExecutions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3580
3621
|
}, "strip", z.ZodTypeAny, {
|
|
3581
3622
|
event: {
|
|
3582
3623
|
name: string;
|
|
@@ -3628,12 +3669,15 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3628
3669
|
output?: DeserializedJson | undefined;
|
|
3629
3670
|
parentId?: string | null | undefined;
|
|
3630
3671
|
}[] | undefined;
|
|
3672
|
+
cachedTaskCursor?: string | undefined;
|
|
3673
|
+
noopTasksSet?: string | undefined;
|
|
3631
3674
|
connections?: Record<string, {
|
|
3632
3675
|
type: "oauth2" | "apiKey";
|
|
3633
3676
|
accessToken: string;
|
|
3634
3677
|
scopes?: string[] | undefined;
|
|
3635
3678
|
additionalFields?: Record<string, string> | undefined;
|
|
3636
3679
|
}> | undefined;
|
|
3680
|
+
yieldedExecutions?: string[] | undefined;
|
|
3637
3681
|
}, {
|
|
3638
3682
|
event: {
|
|
3639
3683
|
name: string;
|
|
@@ -3685,12 +3729,15 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3685
3729
|
output?: DeserializedJson | undefined;
|
|
3686
3730
|
parentId?: string | null | undefined;
|
|
3687
3731
|
}[] | undefined;
|
|
3732
|
+
cachedTaskCursor?: string | undefined;
|
|
3733
|
+
noopTasksSet?: string | undefined;
|
|
3688
3734
|
connections?: Record<string, {
|
|
3689
3735
|
type: "oauth2" | "apiKey";
|
|
3690
3736
|
accessToken: string;
|
|
3691
3737
|
scopes?: string[] | undefined;
|
|
3692
3738
|
additionalFields?: Record<string, string> | undefined;
|
|
3693
3739
|
}> | undefined;
|
|
3740
|
+
yieldedExecutions?: string[] | undefined;
|
|
3694
3741
|
}>;
|
|
3695
3742
|
type RunJobBody = z.infer<typeof RunJobBodySchema>;
|
|
3696
3743
|
declare const RunJobErrorSchema: z.ZodObject<{
|
|
@@ -3759,6 +3806,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3759
3806
|
variant?: string | undefined;
|
|
3760
3807
|
}>>>;
|
|
3761
3808
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3809
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3762
3810
|
}, "strip", z.ZodTypeAny, {
|
|
3763
3811
|
name: string;
|
|
3764
3812
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -3788,6 +3836,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3788
3836
|
variant?: string | undefined;
|
|
3789
3837
|
} | null | undefined;
|
|
3790
3838
|
operation?: string | null | undefined;
|
|
3839
|
+
callbackUrl?: string | null | undefined;
|
|
3791
3840
|
}, {
|
|
3792
3841
|
name: string;
|
|
3793
3842
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -3817,6 +3866,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3817
3866
|
variant?: string | undefined;
|
|
3818
3867
|
} | null | undefined;
|
|
3819
3868
|
operation?: string | null | undefined;
|
|
3869
|
+
callbackUrl?: string | null | undefined;
|
|
3820
3870
|
}>>;
|
|
3821
3871
|
}, "strip", z.ZodTypeAny, {
|
|
3822
3872
|
error: {
|
|
@@ -3854,6 +3904,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3854
3904
|
variant?: string | undefined;
|
|
3855
3905
|
} | null | undefined;
|
|
3856
3906
|
operation?: string | null | undefined;
|
|
3907
|
+
callbackUrl?: string | null | undefined;
|
|
3857
3908
|
} | undefined;
|
|
3858
3909
|
}, {
|
|
3859
3910
|
error: {
|
|
@@ -3891,9 +3942,47 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3891
3942
|
variant?: string | undefined;
|
|
3892
3943
|
} | null | undefined;
|
|
3893
3944
|
operation?: string | null | undefined;
|
|
3945
|
+
callbackUrl?: string | null | undefined;
|
|
3894
3946
|
} | undefined;
|
|
3895
3947
|
}>;
|
|
3896
3948
|
type RunJobError = z.infer<typeof RunJobErrorSchema>;
|
|
3949
|
+
declare const RunJobYieldExecutionErrorSchema: z.ZodObject<{
|
|
3950
|
+
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
3951
|
+
key: z.ZodString;
|
|
3952
|
+
}, "strip", z.ZodTypeAny, {
|
|
3953
|
+
key: string;
|
|
3954
|
+
status: "YIELD_EXECUTION";
|
|
3955
|
+
}, {
|
|
3956
|
+
key: string;
|
|
3957
|
+
status: "YIELD_EXECUTION";
|
|
3958
|
+
}>;
|
|
3959
|
+
type RunJobYieldExecutionError = z.infer<typeof RunJobYieldExecutionErrorSchema>;
|
|
3960
|
+
declare const RunJobInvalidPayloadErrorSchema: z.ZodObject<{
|
|
3961
|
+
status: z.ZodLiteral<"INVALID_PAYLOAD">;
|
|
3962
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3963
|
+
path: z.ZodArray<z.ZodString, "many">;
|
|
3964
|
+
message: z.ZodString;
|
|
3965
|
+
}, "strip", z.ZodTypeAny, {
|
|
3966
|
+
message: string;
|
|
3967
|
+
path: string[];
|
|
3968
|
+
}, {
|
|
3969
|
+
message: string;
|
|
3970
|
+
path: string[];
|
|
3971
|
+
}>, "many">;
|
|
3972
|
+
}, "strip", z.ZodTypeAny, {
|
|
3973
|
+
status: "INVALID_PAYLOAD";
|
|
3974
|
+
errors: {
|
|
3975
|
+
message: string;
|
|
3976
|
+
path: string[];
|
|
3977
|
+
}[];
|
|
3978
|
+
}, {
|
|
3979
|
+
status: "INVALID_PAYLOAD";
|
|
3980
|
+
errors: {
|
|
3981
|
+
message: string;
|
|
3982
|
+
path: string[];
|
|
3983
|
+
}[];
|
|
3984
|
+
}>;
|
|
3985
|
+
type RunJobInvalidPayloadError = z.infer<typeof RunJobInvalidPayloadErrorSchema>;
|
|
3897
3986
|
declare const RunJobUnresolvedAuthErrorSchema: z.ZodObject<{
|
|
3898
3987
|
status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
|
|
3899
3988
|
issues: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -3973,6 +4062,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
3973
4062
|
variant?: string | undefined;
|
|
3974
4063
|
}>>>;
|
|
3975
4064
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4065
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3976
4066
|
}, "strip", z.ZodTypeAny, {
|
|
3977
4067
|
name: string;
|
|
3978
4068
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4002,6 +4092,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
4002
4092
|
variant?: string | undefined;
|
|
4003
4093
|
} | null | undefined;
|
|
4004
4094
|
operation?: string | null | undefined;
|
|
4095
|
+
callbackUrl?: string | null | undefined;
|
|
4005
4096
|
}, {
|
|
4006
4097
|
name: string;
|
|
4007
4098
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4031,6 +4122,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
4031
4122
|
variant?: string | undefined;
|
|
4032
4123
|
} | null | undefined;
|
|
4033
4124
|
operation?: string | null | undefined;
|
|
4125
|
+
callbackUrl?: string | null | undefined;
|
|
4034
4126
|
}>;
|
|
4035
4127
|
}, "strip", z.ZodTypeAny, {
|
|
4036
4128
|
status: "RESUME_WITH_TASK";
|
|
@@ -4063,6 +4155,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
4063
4155
|
variant?: string | undefined;
|
|
4064
4156
|
} | null | undefined;
|
|
4065
4157
|
operation?: string | null | undefined;
|
|
4158
|
+
callbackUrl?: string | null | undefined;
|
|
4066
4159
|
};
|
|
4067
4160
|
}, {
|
|
4068
4161
|
status: "RESUME_WITH_TASK";
|
|
@@ -4095,6 +4188,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
4095
4188
|
variant?: string | undefined;
|
|
4096
4189
|
} | null | undefined;
|
|
4097
4190
|
operation?: string | null | undefined;
|
|
4191
|
+
callbackUrl?: string | null | undefined;
|
|
4098
4192
|
};
|
|
4099
4193
|
}>;
|
|
4100
4194
|
type RunJobResumeWithTask = z.infer<typeof RunJobResumeWithTaskSchema>;
|
|
@@ -4151,6 +4245,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4151
4245
|
variant?: string | undefined;
|
|
4152
4246
|
}>>>;
|
|
4153
4247
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4248
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4154
4249
|
}, "strip", z.ZodTypeAny, {
|
|
4155
4250
|
name: string;
|
|
4156
4251
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4180,6 +4275,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4180
4275
|
variant?: string | undefined;
|
|
4181
4276
|
} | null | undefined;
|
|
4182
4277
|
operation?: string | null | undefined;
|
|
4278
|
+
callbackUrl?: string | null | undefined;
|
|
4183
4279
|
}, {
|
|
4184
4280
|
name: string;
|
|
4185
4281
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4209,6 +4305,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4209
4305
|
variant?: string | undefined;
|
|
4210
4306
|
} | null | undefined;
|
|
4211
4307
|
operation?: string | null | undefined;
|
|
4308
|
+
callbackUrl?: string | null | undefined;
|
|
4212
4309
|
}>;
|
|
4213
4310
|
error: z.ZodObject<{
|
|
4214
4311
|
message: z.ZodString;
|
|
@@ -4260,6 +4357,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4260
4357
|
variant?: string | undefined;
|
|
4261
4358
|
} | null | undefined;
|
|
4262
4359
|
operation?: string | null | undefined;
|
|
4360
|
+
callbackUrl?: string | null | undefined;
|
|
4263
4361
|
};
|
|
4264
4362
|
retryAt: Date;
|
|
4265
4363
|
}, {
|
|
@@ -4298,6 +4396,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4298
4396
|
variant?: string | undefined;
|
|
4299
4397
|
} | null | undefined;
|
|
4300
4398
|
operation?: string | null | undefined;
|
|
4399
|
+
callbackUrl?: string | null | undefined;
|
|
4301
4400
|
};
|
|
4302
4401
|
retryAt: Date;
|
|
4303
4402
|
}>;
|
|
@@ -4355,6 +4454,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4355
4454
|
variant?: string | undefined;
|
|
4356
4455
|
}>>>;
|
|
4357
4456
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4457
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4358
4458
|
}, "strip", z.ZodTypeAny, {
|
|
4359
4459
|
name: string;
|
|
4360
4460
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4384,6 +4484,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4384
4484
|
variant?: string | undefined;
|
|
4385
4485
|
} | null | undefined;
|
|
4386
4486
|
operation?: string | null | undefined;
|
|
4487
|
+
callbackUrl?: string | null | undefined;
|
|
4387
4488
|
}, {
|
|
4388
4489
|
name: string;
|
|
4389
4490
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4413,6 +4514,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4413
4514
|
variant?: string | undefined;
|
|
4414
4515
|
} | null | undefined;
|
|
4415
4516
|
operation?: string | null | undefined;
|
|
4517
|
+
callbackUrl?: string | null | undefined;
|
|
4416
4518
|
}>;
|
|
4417
4519
|
}, "strip", z.ZodTypeAny, {
|
|
4418
4520
|
status: "CANCELED";
|
|
@@ -4445,6 +4547,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4445
4547
|
variant?: string | undefined;
|
|
4446
4548
|
} | null | undefined;
|
|
4447
4549
|
operation?: string | null | undefined;
|
|
4550
|
+
callbackUrl?: string | null | undefined;
|
|
4448
4551
|
};
|
|
4449
4552
|
}, {
|
|
4450
4553
|
status: "CANCELED";
|
|
@@ -4477,6 +4580,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4477
4580
|
variant?: string | undefined;
|
|
4478
4581
|
} | null | undefined;
|
|
4479
4582
|
operation?: string | null | undefined;
|
|
4583
|
+
callbackUrl?: string | null | undefined;
|
|
4480
4584
|
};
|
|
4481
4585
|
}>;
|
|
4482
4586
|
type RunJobCanceledWithTask = z.infer<typeof RunJobCanceledWithTaskSchema>;
|
|
@@ -4492,6 +4596,15 @@ declare const RunJobSuccessSchema: z.ZodObject<{
|
|
|
4492
4596
|
}>;
|
|
4493
4597
|
type RunJobSuccess = z.infer<typeof RunJobSuccessSchema>;
|
|
4494
4598
|
declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
4599
|
+
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
4600
|
+
key: z.ZodString;
|
|
4601
|
+
}, "strip", z.ZodTypeAny, {
|
|
4602
|
+
key: string;
|
|
4603
|
+
status: "YIELD_EXECUTION";
|
|
4604
|
+
}, {
|
|
4605
|
+
key: string;
|
|
4606
|
+
status: "YIELD_EXECUTION";
|
|
4607
|
+
}>, z.ZodObject<{
|
|
4495
4608
|
status: z.ZodLiteral<"ERROR">;
|
|
4496
4609
|
error: z.ZodObject<{
|
|
4497
4610
|
message: z.ZodString;
|
|
@@ -4557,6 +4670,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4557
4670
|
variant?: string | undefined;
|
|
4558
4671
|
}>>>;
|
|
4559
4672
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4673
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4560
4674
|
}, "strip", z.ZodTypeAny, {
|
|
4561
4675
|
name: string;
|
|
4562
4676
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4586,6 +4700,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4586
4700
|
variant?: string | undefined;
|
|
4587
4701
|
} | null | undefined;
|
|
4588
4702
|
operation?: string | null | undefined;
|
|
4703
|
+
callbackUrl?: string | null | undefined;
|
|
4589
4704
|
}, {
|
|
4590
4705
|
name: string;
|
|
4591
4706
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4615,6 +4730,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4615
4730
|
variant?: string | undefined;
|
|
4616
4731
|
} | null | undefined;
|
|
4617
4732
|
operation?: string | null | undefined;
|
|
4733
|
+
callbackUrl?: string | null | undefined;
|
|
4618
4734
|
}>>;
|
|
4619
4735
|
}, "strip", z.ZodTypeAny, {
|
|
4620
4736
|
error: {
|
|
@@ -4652,6 +4768,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4652
4768
|
variant?: string | undefined;
|
|
4653
4769
|
} | null | undefined;
|
|
4654
4770
|
operation?: string | null | undefined;
|
|
4771
|
+
callbackUrl?: string | null | undefined;
|
|
4655
4772
|
} | undefined;
|
|
4656
4773
|
}, {
|
|
4657
4774
|
error: {
|
|
@@ -4689,6 +4806,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4689
4806
|
variant?: string | undefined;
|
|
4690
4807
|
} | null | undefined;
|
|
4691
4808
|
operation?: string | null | undefined;
|
|
4809
|
+
callbackUrl?: string | null | undefined;
|
|
4692
4810
|
} | undefined;
|
|
4693
4811
|
}>, z.ZodObject<{
|
|
4694
4812
|
status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
|
|
@@ -4714,6 +4832,30 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4714
4832
|
error: string;
|
|
4715
4833
|
id: string;
|
|
4716
4834
|
}>;
|
|
4835
|
+
}>, z.ZodObject<{
|
|
4836
|
+
status: z.ZodLiteral<"INVALID_PAYLOAD">;
|
|
4837
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4838
|
+
path: z.ZodArray<z.ZodString, "many">;
|
|
4839
|
+
message: z.ZodString;
|
|
4840
|
+
}, "strip", z.ZodTypeAny, {
|
|
4841
|
+
message: string;
|
|
4842
|
+
path: string[];
|
|
4843
|
+
}, {
|
|
4844
|
+
message: string;
|
|
4845
|
+
path: string[];
|
|
4846
|
+
}>, "many">;
|
|
4847
|
+
}, "strip", z.ZodTypeAny, {
|
|
4848
|
+
status: "INVALID_PAYLOAD";
|
|
4849
|
+
errors: {
|
|
4850
|
+
message: string;
|
|
4851
|
+
path: string[];
|
|
4852
|
+
}[];
|
|
4853
|
+
}, {
|
|
4854
|
+
status: "INVALID_PAYLOAD";
|
|
4855
|
+
errors: {
|
|
4856
|
+
message: string;
|
|
4857
|
+
path: string[];
|
|
4858
|
+
}[];
|
|
4717
4859
|
}>, z.ZodObject<{
|
|
4718
4860
|
status: z.ZodLiteral<"RESUME_WITH_TASK">;
|
|
4719
4861
|
task: z.ZodObject<{
|
|
@@ -4767,6 +4909,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4767
4909
|
variant?: string | undefined;
|
|
4768
4910
|
}>>>;
|
|
4769
4911
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4912
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4770
4913
|
}, "strip", z.ZodTypeAny, {
|
|
4771
4914
|
name: string;
|
|
4772
4915
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4796,6 +4939,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4796
4939
|
variant?: string | undefined;
|
|
4797
4940
|
} | null | undefined;
|
|
4798
4941
|
operation?: string | null | undefined;
|
|
4942
|
+
callbackUrl?: string | null | undefined;
|
|
4799
4943
|
}, {
|
|
4800
4944
|
name: string;
|
|
4801
4945
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4825,6 +4969,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4825
4969
|
variant?: string | undefined;
|
|
4826
4970
|
} | null | undefined;
|
|
4827
4971
|
operation?: string | null | undefined;
|
|
4972
|
+
callbackUrl?: string | null | undefined;
|
|
4828
4973
|
}>;
|
|
4829
4974
|
}, "strip", z.ZodTypeAny, {
|
|
4830
4975
|
status: "RESUME_WITH_TASK";
|
|
@@ -4857,6 +5002,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4857
5002
|
variant?: string | undefined;
|
|
4858
5003
|
} | null | undefined;
|
|
4859
5004
|
operation?: string | null | undefined;
|
|
5005
|
+
callbackUrl?: string | null | undefined;
|
|
4860
5006
|
};
|
|
4861
5007
|
}, {
|
|
4862
5008
|
status: "RESUME_WITH_TASK";
|
|
@@ -4889,6 +5035,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4889
5035
|
variant?: string | undefined;
|
|
4890
5036
|
} | null | undefined;
|
|
4891
5037
|
operation?: string | null | undefined;
|
|
5038
|
+
callbackUrl?: string | null | undefined;
|
|
4892
5039
|
};
|
|
4893
5040
|
}>, z.ZodObject<{
|
|
4894
5041
|
status: z.ZodLiteral<"RETRY_WITH_TASK">;
|
|
@@ -4943,6 +5090,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4943
5090
|
variant?: string | undefined;
|
|
4944
5091
|
}>>>;
|
|
4945
5092
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5093
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4946
5094
|
}, "strip", z.ZodTypeAny, {
|
|
4947
5095
|
name: string;
|
|
4948
5096
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4972,6 +5120,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4972
5120
|
variant?: string | undefined;
|
|
4973
5121
|
} | null | undefined;
|
|
4974
5122
|
operation?: string | null | undefined;
|
|
5123
|
+
callbackUrl?: string | null | undefined;
|
|
4975
5124
|
}, {
|
|
4976
5125
|
name: string;
|
|
4977
5126
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5001,6 +5150,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5001
5150
|
variant?: string | undefined;
|
|
5002
5151
|
} | null | undefined;
|
|
5003
5152
|
operation?: string | null | undefined;
|
|
5153
|
+
callbackUrl?: string | null | undefined;
|
|
5004
5154
|
}>;
|
|
5005
5155
|
error: z.ZodObject<{
|
|
5006
5156
|
message: z.ZodString;
|
|
@@ -5052,6 +5202,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5052
5202
|
variant?: string | undefined;
|
|
5053
5203
|
} | null | undefined;
|
|
5054
5204
|
operation?: string | null | undefined;
|
|
5205
|
+
callbackUrl?: string | null | undefined;
|
|
5055
5206
|
};
|
|
5056
5207
|
retryAt: Date;
|
|
5057
5208
|
}, {
|
|
@@ -5090,6 +5241,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5090
5241
|
variant?: string | undefined;
|
|
5091
5242
|
} | null | undefined;
|
|
5092
5243
|
operation?: string | null | undefined;
|
|
5244
|
+
callbackUrl?: string | null | undefined;
|
|
5093
5245
|
};
|
|
5094
5246
|
retryAt: Date;
|
|
5095
5247
|
}>, z.ZodObject<{
|
|
@@ -5145,6 +5297,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5145
5297
|
variant?: string | undefined;
|
|
5146
5298
|
}>>>;
|
|
5147
5299
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5300
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5148
5301
|
}, "strip", z.ZodTypeAny, {
|
|
5149
5302
|
name: string;
|
|
5150
5303
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5174,6 +5327,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5174
5327
|
variant?: string | undefined;
|
|
5175
5328
|
} | null | undefined;
|
|
5176
5329
|
operation?: string | null | undefined;
|
|
5330
|
+
callbackUrl?: string | null | undefined;
|
|
5177
5331
|
}, {
|
|
5178
5332
|
name: string;
|
|
5179
5333
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5203,6 +5357,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5203
5357
|
variant?: string | undefined;
|
|
5204
5358
|
} | null | undefined;
|
|
5205
5359
|
operation?: string | null | undefined;
|
|
5360
|
+
callbackUrl?: string | null | undefined;
|
|
5206
5361
|
}>;
|
|
5207
5362
|
}, "strip", z.ZodTypeAny, {
|
|
5208
5363
|
status: "CANCELED";
|
|
@@ -5235,6 +5390,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5235
5390
|
variant?: string | undefined;
|
|
5236
5391
|
} | null | undefined;
|
|
5237
5392
|
operation?: string | null | undefined;
|
|
5393
|
+
callbackUrl?: string | null | undefined;
|
|
5238
5394
|
};
|
|
5239
5395
|
}, {
|
|
5240
5396
|
status: "CANCELED";
|
|
@@ -5267,6 +5423,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5267
5423
|
variant?: string | undefined;
|
|
5268
5424
|
} | null | undefined;
|
|
5269
5425
|
operation?: string | null | undefined;
|
|
5426
|
+
callbackUrl?: string | null | undefined;
|
|
5270
5427
|
};
|
|
5271
5428
|
}>, z.ZodObject<{
|
|
5272
5429
|
status: z.ZodLiteral<"SUCCESS">;
|
|
@@ -5650,6 +5807,17 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5650
5807
|
style: "normal" | "minimal";
|
|
5651
5808
|
variant?: string | undefined;
|
|
5652
5809
|
}>>;
|
|
5810
|
+
/** Allows you to expose a `task.callbackUrl` to use in your tasks. Enabling this feature will cause the task to return the data sent to the callbackUrl instead of the usual async callback result. */
|
|
5811
|
+
callback: z.ZodOptional<z.ZodObject<{
|
|
5812
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5813
|
+
timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
5814
|
+
}, "strip", z.ZodTypeAny, {
|
|
5815
|
+
enabled?: boolean | undefined;
|
|
5816
|
+
timeoutInSeconds?: number | undefined;
|
|
5817
|
+
}, {
|
|
5818
|
+
enabled?: boolean | undefined;
|
|
5819
|
+
timeoutInSeconds?: number | undefined;
|
|
5820
|
+
}>>;
|
|
5653
5821
|
/** Allows you to link the Integration connection in the logs. This is handled automatically in integrations. */
|
|
5654
5822
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
5655
5823
|
/** An operation you want to perform on the Trigger.dev platform, current only "fetch" is supported. If you wish to `fetch` use [`io.backgroundFetch()`](https://trigger.dev/docs/sdk/io/backgroundfetch) instead. */
|
|
@@ -5844,6 +6012,10 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5844
6012
|
style: "normal" | "minimal";
|
|
5845
6013
|
variant?: string | undefined;
|
|
5846
6014
|
} | undefined;
|
|
6015
|
+
callback?: {
|
|
6016
|
+
enabled?: boolean | undefined;
|
|
6017
|
+
timeoutInSeconds?: number | undefined;
|
|
6018
|
+
} | undefined;
|
|
5847
6019
|
connectionKey?: string | undefined;
|
|
5848
6020
|
operation?: "fetch" | undefined;
|
|
5849
6021
|
redact?: {
|
|
@@ -5907,6 +6079,10 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5907
6079
|
style: "normal" | "minimal";
|
|
5908
6080
|
variant?: string | undefined;
|
|
5909
6081
|
} | undefined;
|
|
6082
|
+
callback?: {
|
|
6083
|
+
enabled?: boolean | undefined;
|
|
6084
|
+
timeoutInSeconds?: number | undefined;
|
|
6085
|
+
} | undefined;
|
|
5910
6086
|
connectionKey?: string | undefined;
|
|
5911
6087
|
operation?: "fetch" | undefined;
|
|
5912
6088
|
noop?: boolean | undefined;
|
|
@@ -6164,6 +6340,16 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6164
6340
|
maxTimeoutInMs?: number | undefined;
|
|
6165
6341
|
randomize?: boolean | undefined;
|
|
6166
6342
|
}>>;
|
|
6343
|
+
callback: z.ZodOptional<z.ZodObject<{
|
|
6344
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6345
|
+
timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6346
|
+
}, "strip", z.ZodTypeAny, {
|
|
6347
|
+
enabled?: boolean | undefined;
|
|
6348
|
+
timeoutInSeconds?: number | undefined;
|
|
6349
|
+
}, {
|
|
6350
|
+
enabled?: boolean | undefined;
|
|
6351
|
+
timeoutInSeconds?: number | undefined;
|
|
6352
|
+
}>>;
|
|
6167
6353
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
6168
6354
|
redact: z.ZodOptional<z.ZodObject<{
|
|
6169
6355
|
paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6235,6 +6421,10 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6235
6421
|
maxTimeoutInMs?: number | undefined;
|
|
6236
6422
|
randomize?: boolean | undefined;
|
|
6237
6423
|
} | undefined;
|
|
6424
|
+
callback?: {
|
|
6425
|
+
enabled?: boolean | undefined;
|
|
6426
|
+
timeoutInSeconds?: number | undefined;
|
|
6427
|
+
} | undefined;
|
|
6238
6428
|
connectionKey?: string | undefined;
|
|
6239
6429
|
redact?: {
|
|
6240
6430
|
paths: string[];
|
|
@@ -6301,6 +6491,10 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6301
6491
|
maxTimeoutInMs?: number | undefined;
|
|
6302
6492
|
randomize?: boolean | undefined;
|
|
6303
6493
|
} | undefined;
|
|
6494
|
+
callback?: {
|
|
6495
|
+
enabled?: boolean | undefined;
|
|
6496
|
+
timeoutInSeconds?: number | undefined;
|
|
6497
|
+
} | undefined;
|
|
6304
6498
|
connectionKey?: string | undefined;
|
|
6305
6499
|
redact?: {
|
|
6306
6500
|
paths: string[];
|
|
@@ -6531,6 +6725,16 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6531
6725
|
paths: string[];
|
|
6532
6726
|
}>>;
|
|
6533
6727
|
params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
6728
|
+
callback: z.ZodOptional<z.ZodObject<{
|
|
6729
|
+
enabled: z.ZodBoolean;
|
|
6730
|
+
timeoutInSeconds: z.ZodDefault<z.ZodNumber>;
|
|
6731
|
+
}, "strip", z.ZodTypeAny, {
|
|
6732
|
+
enabled: boolean;
|
|
6733
|
+
timeoutInSeconds: number;
|
|
6734
|
+
}, {
|
|
6735
|
+
enabled: boolean;
|
|
6736
|
+
timeoutInSeconds?: number | undefined;
|
|
6737
|
+
}>>;
|
|
6534
6738
|
}, "strip", z.ZodTypeAny, {
|
|
6535
6739
|
noop: boolean;
|
|
6536
6740
|
idempotencyKey: string;
|
|
@@ -6597,6 +6801,10 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6597
6801
|
paths: string[];
|
|
6598
6802
|
} | undefined;
|
|
6599
6803
|
params?: DeserializedJson | undefined;
|
|
6804
|
+
callback?: {
|
|
6805
|
+
enabled: boolean;
|
|
6806
|
+
timeoutInSeconds: number;
|
|
6807
|
+
} | undefined;
|
|
6600
6808
|
}, {
|
|
6601
6809
|
idempotencyKey: string;
|
|
6602
6810
|
name?: string | undefined;
|
|
@@ -6663,8 +6871,269 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6663
6871
|
paths: string[];
|
|
6664
6872
|
} | undefined;
|
|
6665
6873
|
params?: DeserializedJson | undefined;
|
|
6874
|
+
callback?: {
|
|
6875
|
+
enabled: boolean;
|
|
6876
|
+
timeoutInSeconds?: number | undefined;
|
|
6877
|
+
} | undefined;
|
|
6666
6878
|
}>;
|
|
6667
6879
|
type RunTaskBodyOutput = z.infer<typeof RunTaskBodyOutputSchema>;
|
|
6880
|
+
declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
6881
|
+
task: z.ZodObject<{
|
|
6882
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6883
|
+
name: z.ZodString;
|
|
6884
|
+
params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
6885
|
+
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
6886
|
+
id: z.ZodString;
|
|
6887
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6888
|
+
style: z.ZodEnum<["normal", "minimal"]>;
|
|
6889
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
6890
|
+
}, "strip", z.ZodTypeAny, {
|
|
6891
|
+
style: "normal" | "minimal";
|
|
6892
|
+
variant?: string | undefined;
|
|
6893
|
+
}, {
|
|
6894
|
+
style: "normal" | "minimal";
|
|
6895
|
+
variant?: string | undefined;
|
|
6896
|
+
}>>>;
|
|
6897
|
+
icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6898
|
+
noop: z.ZodBoolean;
|
|
6899
|
+
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
6900
|
+
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
6901
|
+
delayUntil: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
6902
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6903
|
+
properties: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6904
|
+
label: z.ZodString;
|
|
6905
|
+
text: z.ZodString;
|
|
6906
|
+
url: z.ZodOptional<z.ZodString>;
|
|
6907
|
+
}, "strip", z.ZodTypeAny, {
|
|
6908
|
+
label: string;
|
|
6909
|
+
text: string;
|
|
6910
|
+
url?: string | undefined;
|
|
6911
|
+
}, {
|
|
6912
|
+
label: string;
|
|
6913
|
+
text: string;
|
|
6914
|
+
url?: string | undefined;
|
|
6915
|
+
}>, "many">>>;
|
|
6916
|
+
outputProperties: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6917
|
+
label: z.ZodString;
|
|
6918
|
+
text: z.ZodString;
|
|
6919
|
+
url: z.ZodOptional<z.ZodString>;
|
|
6920
|
+
}, "strip", z.ZodTypeAny, {
|
|
6921
|
+
label: string;
|
|
6922
|
+
text: string;
|
|
6923
|
+
url?: string | undefined;
|
|
6924
|
+
}, {
|
|
6925
|
+
label: string;
|
|
6926
|
+
text: string;
|
|
6927
|
+
url?: string | undefined;
|
|
6928
|
+
}>, "many">>>;
|
|
6929
|
+
output: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
6930
|
+
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6931
|
+
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6932
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6933
|
+
idempotencyKey: z.ZodString;
|
|
6934
|
+
attempts: z.ZodNumber;
|
|
6935
|
+
}, "strip", z.ZodTypeAny, {
|
|
6936
|
+
name: string;
|
|
6937
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
6938
|
+
id: string;
|
|
6939
|
+
noop: boolean;
|
|
6940
|
+
idempotencyKey: string;
|
|
6941
|
+
attempts: number;
|
|
6942
|
+
error?: string | null | undefined;
|
|
6943
|
+
params?: DeserializedJson | undefined;
|
|
6944
|
+
style?: {
|
|
6945
|
+
style: "normal" | "minimal";
|
|
6946
|
+
variant?: string | undefined;
|
|
6947
|
+
} | null | undefined;
|
|
6948
|
+
icon?: string | null | undefined;
|
|
6949
|
+
startedAt?: Date | null | undefined;
|
|
6950
|
+
completedAt?: Date | null | undefined;
|
|
6951
|
+
delayUntil?: Date | null | undefined;
|
|
6952
|
+
description?: string | null | undefined;
|
|
6953
|
+
properties?: {
|
|
6954
|
+
label: string;
|
|
6955
|
+
text: string;
|
|
6956
|
+
url?: string | undefined;
|
|
6957
|
+
}[] | null | undefined;
|
|
6958
|
+
outputProperties?: {
|
|
6959
|
+
label: string;
|
|
6960
|
+
text: string;
|
|
6961
|
+
url?: string | undefined;
|
|
6962
|
+
}[] | null | undefined;
|
|
6963
|
+
output?: DeserializedJson | undefined;
|
|
6964
|
+
parentId?: string | null | undefined;
|
|
6965
|
+
operation?: string | null | undefined;
|
|
6966
|
+
callbackUrl?: string | null | undefined;
|
|
6967
|
+
}, {
|
|
6968
|
+
name: string;
|
|
6969
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
6970
|
+
id: string;
|
|
6971
|
+
noop: boolean;
|
|
6972
|
+
idempotencyKey: string;
|
|
6973
|
+
attempts: number;
|
|
6974
|
+
error?: string | null | undefined;
|
|
6975
|
+
params?: DeserializedJson | undefined;
|
|
6976
|
+
style?: {
|
|
6977
|
+
style: "normal" | "minimal";
|
|
6978
|
+
variant?: string | undefined;
|
|
6979
|
+
} | null | undefined;
|
|
6980
|
+
icon?: string | null | undefined;
|
|
6981
|
+
startedAt?: Date | null | undefined;
|
|
6982
|
+
completedAt?: Date | null | undefined;
|
|
6983
|
+
delayUntil?: Date | null | undefined;
|
|
6984
|
+
description?: string | null | undefined;
|
|
6985
|
+
properties?: {
|
|
6986
|
+
label: string;
|
|
6987
|
+
text: string;
|
|
6988
|
+
url?: string | undefined;
|
|
6989
|
+
}[] | null | undefined;
|
|
6990
|
+
outputProperties?: {
|
|
6991
|
+
label: string;
|
|
6992
|
+
text: string;
|
|
6993
|
+
url?: string | undefined;
|
|
6994
|
+
}[] | null | undefined;
|
|
6995
|
+
output?: DeserializedJson | undefined;
|
|
6996
|
+
parentId?: string | null | undefined;
|
|
6997
|
+
operation?: string | null | undefined;
|
|
6998
|
+
callbackUrl?: string | null | undefined;
|
|
6999
|
+
}>;
|
|
7000
|
+
cachedTasks: z.ZodOptional<z.ZodObject<{
|
|
7001
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
7002
|
+
id: z.ZodString;
|
|
7003
|
+
idempotencyKey: z.ZodString;
|
|
7004
|
+
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
7005
|
+
noop: z.ZodDefault<z.ZodBoolean>;
|
|
7006
|
+
output: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
7007
|
+
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7008
|
+
}, "strip", z.ZodTypeAny, {
|
|
7009
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7010
|
+
id: string;
|
|
7011
|
+
noop: boolean;
|
|
7012
|
+
idempotencyKey: string;
|
|
7013
|
+
output?: DeserializedJson | undefined;
|
|
7014
|
+
parentId?: string | null | undefined;
|
|
7015
|
+
}, {
|
|
7016
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7017
|
+
id: string;
|
|
7018
|
+
idempotencyKey: string;
|
|
7019
|
+
noop?: boolean | undefined;
|
|
7020
|
+
output?: DeserializedJson | undefined;
|
|
7021
|
+
parentId?: string | null | undefined;
|
|
7022
|
+
}>, "many">;
|
|
7023
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7024
|
+
}, "strip", z.ZodTypeAny, {
|
|
7025
|
+
tasks: {
|
|
7026
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7027
|
+
id: string;
|
|
7028
|
+
noop: boolean;
|
|
7029
|
+
idempotencyKey: string;
|
|
7030
|
+
output?: DeserializedJson | undefined;
|
|
7031
|
+
parentId?: string | null | undefined;
|
|
7032
|
+
}[];
|
|
7033
|
+
cursor?: string | undefined;
|
|
7034
|
+
}, {
|
|
7035
|
+
tasks: {
|
|
7036
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7037
|
+
id: string;
|
|
7038
|
+
idempotencyKey: string;
|
|
7039
|
+
noop?: boolean | undefined;
|
|
7040
|
+
output?: DeserializedJson | undefined;
|
|
7041
|
+
parentId?: string | null | undefined;
|
|
7042
|
+
}[];
|
|
7043
|
+
cursor?: string | undefined;
|
|
7044
|
+
}>>;
|
|
7045
|
+
}, "strip", z.ZodTypeAny, {
|
|
7046
|
+
task: {
|
|
7047
|
+
name: string;
|
|
7048
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7049
|
+
id: string;
|
|
7050
|
+
noop: boolean;
|
|
7051
|
+
idempotencyKey: string;
|
|
7052
|
+
attempts: number;
|
|
7053
|
+
error?: string | null | undefined;
|
|
7054
|
+
params?: DeserializedJson | undefined;
|
|
7055
|
+
style?: {
|
|
7056
|
+
style: "normal" | "minimal";
|
|
7057
|
+
variant?: string | undefined;
|
|
7058
|
+
} | null | undefined;
|
|
7059
|
+
icon?: string | null | undefined;
|
|
7060
|
+
startedAt?: Date | null | undefined;
|
|
7061
|
+
completedAt?: Date | null | undefined;
|
|
7062
|
+
delayUntil?: Date | null | undefined;
|
|
7063
|
+
description?: string | null | undefined;
|
|
7064
|
+
properties?: {
|
|
7065
|
+
label: string;
|
|
7066
|
+
text: string;
|
|
7067
|
+
url?: string | undefined;
|
|
7068
|
+
}[] | null | undefined;
|
|
7069
|
+
outputProperties?: {
|
|
7070
|
+
label: string;
|
|
7071
|
+
text: string;
|
|
7072
|
+
url?: string | undefined;
|
|
7073
|
+
}[] | null | undefined;
|
|
7074
|
+
output?: DeserializedJson | undefined;
|
|
7075
|
+
parentId?: string | null | undefined;
|
|
7076
|
+
operation?: string | null | undefined;
|
|
7077
|
+
callbackUrl?: string | null | undefined;
|
|
7078
|
+
};
|
|
7079
|
+
cachedTasks?: {
|
|
7080
|
+
tasks: {
|
|
7081
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7082
|
+
id: string;
|
|
7083
|
+
noop: boolean;
|
|
7084
|
+
idempotencyKey: string;
|
|
7085
|
+
output?: DeserializedJson | undefined;
|
|
7086
|
+
parentId?: string | null | undefined;
|
|
7087
|
+
}[];
|
|
7088
|
+
cursor?: string | undefined;
|
|
7089
|
+
} | undefined;
|
|
7090
|
+
}, {
|
|
7091
|
+
task: {
|
|
7092
|
+
name: string;
|
|
7093
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7094
|
+
id: string;
|
|
7095
|
+
noop: boolean;
|
|
7096
|
+
idempotencyKey: string;
|
|
7097
|
+
attempts: number;
|
|
7098
|
+
error?: string | null | undefined;
|
|
7099
|
+
params?: DeserializedJson | undefined;
|
|
7100
|
+
style?: {
|
|
7101
|
+
style: "normal" | "minimal";
|
|
7102
|
+
variant?: string | undefined;
|
|
7103
|
+
} | null | undefined;
|
|
7104
|
+
icon?: string | null | undefined;
|
|
7105
|
+
startedAt?: Date | null | undefined;
|
|
7106
|
+
completedAt?: Date | null | undefined;
|
|
7107
|
+
delayUntil?: Date | null | undefined;
|
|
7108
|
+
description?: string | null | undefined;
|
|
7109
|
+
properties?: {
|
|
7110
|
+
label: string;
|
|
7111
|
+
text: string;
|
|
7112
|
+
url?: string | undefined;
|
|
7113
|
+
}[] | null | undefined;
|
|
7114
|
+
outputProperties?: {
|
|
7115
|
+
label: string;
|
|
7116
|
+
text: string;
|
|
7117
|
+
url?: string | undefined;
|
|
7118
|
+
}[] | null | undefined;
|
|
7119
|
+
output?: DeserializedJson | undefined;
|
|
7120
|
+
parentId?: string | null | undefined;
|
|
7121
|
+
operation?: string | null | undefined;
|
|
7122
|
+
callbackUrl?: string | null | undefined;
|
|
7123
|
+
};
|
|
7124
|
+
cachedTasks?: {
|
|
7125
|
+
tasks: {
|
|
7126
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7127
|
+
id: string;
|
|
7128
|
+
idempotencyKey: string;
|
|
7129
|
+
noop?: boolean | undefined;
|
|
7130
|
+
output?: DeserializedJson | undefined;
|
|
7131
|
+
parentId?: string | null | undefined;
|
|
7132
|
+
}[];
|
|
7133
|
+
cursor?: string | undefined;
|
|
7134
|
+
} | undefined;
|
|
7135
|
+
}>;
|
|
7136
|
+
type RunTaskResponseWithCachedTasksBody = z.infer<typeof RunTaskResponseWithCachedTasksBodySchema>;
|
|
6668
7137
|
declare const CompleteTaskBodyInputSchema: z.ZodObject<{
|
|
6669
7138
|
params: z.ZodAny;
|
|
6670
7139
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -7431,14 +7900,14 @@ type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodyS
|
|
|
7431
7900
|
declare const GetRunStatusesSchema: z.ZodObject<{
|
|
7432
7901
|
run: z.ZodObject<{
|
|
7433
7902
|
id: z.ZodString;
|
|
7434
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">]>;
|
|
7903
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
7435
7904
|
output: z.ZodOptional<z.ZodAny>;
|
|
7436
7905
|
}, "strip", z.ZodTypeAny, {
|
|
7437
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
7906
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
7438
7907
|
id: string;
|
|
7439
7908
|
output?: any;
|
|
7440
7909
|
}, {
|
|
7441
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
7910
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
7442
7911
|
id: string;
|
|
7443
7912
|
output?: any;
|
|
7444
7913
|
}>;
|
|
@@ -7494,7 +7963,7 @@ declare const GetRunStatusesSchema: z.ZodObject<{
|
|
|
7494
7963
|
state?: "loading" | "success" | "failure" | undefined;
|
|
7495
7964
|
}[];
|
|
7496
7965
|
run: {
|
|
7497
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
7966
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
7498
7967
|
id: string;
|
|
7499
7968
|
output?: any;
|
|
7500
7969
|
};
|
|
@@ -7511,7 +7980,7 @@ declare const GetRunStatusesSchema: z.ZodObject<{
|
|
|
7511
7980
|
state?: "loading" | "success" | "failure" | undefined;
|
|
7512
7981
|
}[];
|
|
7513
7982
|
run: {
|
|
7514
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
7983
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
7515
7984
|
id: string;
|
|
7516
7985
|
output?: any;
|
|
7517
7986
|
};
|
|
@@ -7940,6 +8409,17 @@ declare const ErrorWithStackSchema: z.ZodObject<{
|
|
|
7940
8409
|
stack?: string | undefined;
|
|
7941
8410
|
}>;
|
|
7942
8411
|
type ErrorWithStack = z.infer<typeof ErrorWithStackSchema>;
|
|
8412
|
+
declare const SchemaErrorSchema: z.ZodObject<{
|
|
8413
|
+
path: z.ZodArray<z.ZodString, "many">;
|
|
8414
|
+
message: z.ZodString;
|
|
8415
|
+
}, "strip", z.ZodTypeAny, {
|
|
8416
|
+
message: string;
|
|
8417
|
+
path: string[];
|
|
8418
|
+
}, {
|
|
8419
|
+
message: string;
|
|
8420
|
+
path: string[];
|
|
8421
|
+
}>;
|
|
8422
|
+
type SchemaError = z.infer<typeof SchemaErrorSchema>;
|
|
7943
8423
|
|
|
7944
8424
|
/** A property that is displayed in the logs */
|
|
7945
8425
|
declare const DisplayPropertySchema: z.ZodObject<{
|
|
@@ -8069,7 +8549,7 @@ declare const ScheduledPayloadSchema: z.ZodObject<{
|
|
|
8069
8549
|
}>;
|
|
8070
8550
|
type ScheduledPayload = z.infer<typeof ScheduledPayloadSchema>;
|
|
8071
8551
|
declare const IntervalOptionsSchema: z.ZodObject<{
|
|
8072
|
-
/** The number of seconds for the interval. Min = 60, Max =
|
|
8552
|
+
/** The number of seconds for the interval. Min = 60, Max = 2_592_000 (30 days) */
|
|
8073
8553
|
seconds: z.ZodNumber;
|
|
8074
8554
|
}, "strip", z.ZodTypeAny, {
|
|
8075
8555
|
seconds: number;
|
|
@@ -8126,7 +8606,7 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
8126
8606
|
type: z.ZodLiteral<"interval">;
|
|
8127
8607
|
/** An object containing options about the interval. */
|
|
8128
8608
|
options: z.ZodObject<{
|
|
8129
|
-
/** The number of seconds for the interval. Min = 60, Max =
|
|
8609
|
+
/** The number of seconds for the interval. Min = 60, Max = 2_592_000 (30 days) */
|
|
8130
8610
|
seconds: z.ZodNumber;
|
|
8131
8611
|
}, "strip", z.ZodTypeAny, {
|
|
8132
8612
|
seconds: number;
|
|
@@ -8158,7 +8638,7 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
8158
8638
|
type: z.ZodLiteral<"interval">;
|
|
8159
8639
|
/** An object containing options about the interval. */
|
|
8160
8640
|
options: z.ZodObject<{
|
|
8161
|
-
/** The number of seconds for the interval. Min = 60, Max =
|
|
8641
|
+
/** The number of seconds for the interval. Min = 60, Max = 2_592_000 (30 days) */
|
|
8162
8642
|
seconds: z.ZodNumber;
|
|
8163
8643
|
}, "strip", z.ZodTypeAny, {
|
|
8164
8644
|
seconds: number;
|
|
@@ -9138,18 +9618,18 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9138
9618
|
/** The Run id */
|
|
9139
9619
|
id: z.ZodString;
|
|
9140
9620
|
/** The Run status */
|
|
9141
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">]>;
|
|
9621
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
9142
9622
|
/** When the run started */
|
|
9143
9623
|
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
9144
9624
|
/** When the run completed */
|
|
9145
9625
|
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
9146
9626
|
}, "strip", z.ZodTypeAny, {
|
|
9147
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9627
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9148
9628
|
id: string;
|
|
9149
9629
|
startedAt?: Date | null | undefined;
|
|
9150
9630
|
completedAt?: Date | null | undefined;
|
|
9151
9631
|
}, {
|
|
9152
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9632
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9153
9633
|
id: string;
|
|
9154
9634
|
startedAt?: Date | null | undefined;
|
|
9155
9635
|
completedAt?: Date | null | undefined;
|
|
@@ -9159,7 +9639,7 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9159
9639
|
id: string;
|
|
9160
9640
|
updatedAt: Date;
|
|
9161
9641
|
runs: {
|
|
9162
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9642
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9163
9643
|
id: string;
|
|
9164
9644
|
startedAt?: Date | null | undefined;
|
|
9165
9645
|
completedAt?: Date | null | undefined;
|
|
@@ -9170,7 +9650,7 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9170
9650
|
id: string;
|
|
9171
9651
|
updatedAt: Date;
|
|
9172
9652
|
runs: {
|
|
9173
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9653
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9174
9654
|
id: string;
|
|
9175
9655
|
startedAt?: Date | null | undefined;
|
|
9176
9656
|
completedAt?: Date | null | undefined;
|
|
@@ -9179,7 +9659,7 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9179
9659
|
}>;
|
|
9180
9660
|
type GetEvent = z.infer<typeof GetEventSchema>;
|
|
9181
9661
|
|
|
9182
|
-
declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">]>;
|
|
9662
|
+
declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
9183
9663
|
declare const RunTaskSchema: z.ZodObject<{
|
|
9184
9664
|
/** The Task id */
|
|
9185
9665
|
id: z.ZodString;
|
|
@@ -9253,7 +9733,7 @@ declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
|
|
|
9253
9733
|
}>;
|
|
9254
9734
|
type GetRunOptionsWithTaskDetails = z.infer<typeof GetRunOptionsWithTaskDetailsSchema>;
|
|
9255
9735
|
declare const GetRunSchema: z.ZodObject<{
|
|
9256
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">]>;
|
|
9736
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
9257
9737
|
id: z.ZodString;
|
|
9258
9738
|
startedAt: z.ZodNullable<z.ZodDate>;
|
|
9259
9739
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -9301,7 +9781,7 @@ declare const GetRunSchema: z.ZodObject<{
|
|
|
9301
9781
|
}>, "many">>;
|
|
9302
9782
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9303
9783
|
}, "strip", z.ZodTypeAny, {
|
|
9304
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9784
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9305
9785
|
id: string;
|
|
9306
9786
|
startedAt: Date | null;
|
|
9307
9787
|
completedAt: Date | null;
|
|
@@ -9321,7 +9801,7 @@ declare const GetRunSchema: z.ZodObject<{
|
|
|
9321
9801
|
output?: any;
|
|
9322
9802
|
nextCursor?: string | undefined;
|
|
9323
9803
|
}, {
|
|
9324
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9804
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9325
9805
|
id: string;
|
|
9326
9806
|
startedAt: Date | null;
|
|
9327
9807
|
completedAt: Date | null;
|
|
@@ -9361,7 +9841,7 @@ declare const GetRunsSchema: z.ZodObject<{
|
|
|
9361
9841
|
/** The Run id */
|
|
9362
9842
|
id: z.ZodString;
|
|
9363
9843
|
/** The Run status */
|
|
9364
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">]>;
|
|
9844
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
9365
9845
|
/** When the run started */
|
|
9366
9846
|
startedAt: z.ZodNullable<z.ZodDate>;
|
|
9367
9847
|
/** When the run was last updated */
|
|
@@ -9369,13 +9849,13 @@ declare const GetRunsSchema: z.ZodObject<{
|
|
|
9369
9849
|
/** When the run was completed */
|
|
9370
9850
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
9371
9851
|
}, "strip", z.ZodTypeAny, {
|
|
9372
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9852
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9373
9853
|
id: string;
|
|
9374
9854
|
startedAt: Date | null;
|
|
9375
9855
|
completedAt: Date | null;
|
|
9376
9856
|
updatedAt: Date | null;
|
|
9377
9857
|
}, {
|
|
9378
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9858
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9379
9859
|
id: string;
|
|
9380
9860
|
startedAt: Date | null;
|
|
9381
9861
|
completedAt: Date | null;
|
|
@@ -9385,7 +9865,7 @@ declare const GetRunsSchema: z.ZodObject<{
|
|
|
9385
9865
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9386
9866
|
}, "strip", z.ZodTypeAny, {
|
|
9387
9867
|
runs: {
|
|
9388
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9868
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9389
9869
|
id: string;
|
|
9390
9870
|
startedAt: Date | null;
|
|
9391
9871
|
completedAt: Date | null;
|
|
@@ -9394,7 +9874,7 @@ declare const GetRunsSchema: z.ZodObject<{
|
|
|
9394
9874
|
nextCursor?: string | undefined;
|
|
9395
9875
|
}, {
|
|
9396
9876
|
runs: {
|
|
9397
|
-
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9877
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9398
9878
|
id: string;
|
|
9399
9879
|
startedAt: Date | null;
|
|
9400
9880
|
completedAt: Date | null;
|
|
@@ -9517,4 +9997,24 @@ declare function urlWithSearchParams(url: string, params: Record<string, string
|
|
|
9517
9997
|
|
|
9518
9998
|
declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
|
|
9519
9999
|
|
|
9520
|
-
|
|
10000
|
+
declare class BloomFilter {
|
|
10001
|
+
private size;
|
|
10002
|
+
private bitArray;
|
|
10003
|
+
constructor(size: number);
|
|
10004
|
+
add(item: string): void;
|
|
10005
|
+
test(item: string): boolean;
|
|
10006
|
+
serialize(): string;
|
|
10007
|
+
static deserialize(str: string, size: number): BloomFilter;
|
|
10008
|
+
static NOOP_TASK_SET_SIZE: number;
|
|
10009
|
+
}
|
|
10010
|
+
|
|
10011
|
+
declare const API_VERSIONS: {
|
|
10012
|
+
readonly LAZY_LOADED_CACHED_TASKS: "2023-09-29";
|
|
10013
|
+
};
|
|
10014
|
+
declare const PLATFORM_FEATURES: {
|
|
10015
|
+
yieldExecution: "2023-09-29";
|
|
10016
|
+
lazyLoadedCachedTasks: "2023-09-29";
|
|
10017
|
+
};
|
|
10018
|
+
declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
|
|
10019
|
+
|
|
10020
|
+
export { API_VERSIONS, ApiEventLog, ApiEventLogSchema, BloomFilter, CachedTask, CachedTaskSchema, ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, CompleteTaskBodyInput, CompleteTaskBodyInputSchema, CompleteTaskBodyOutput, ConnectionAuth, ConnectionAuthSchema, CreateExternalConnectionBody, CreateExternalConnectionBodySchema, CreateRunResponseBody, CreateRunResponseBodySchema, CronMetadata, CronMetadataSchema, CronOptions, CronOptionsSchema, DeliverEventResponse, DeliverEventResponseSchema, DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, DisplayProperty, DisplayPropertySchema, DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, ErrorWithStack, ErrorWithStackSchema, EventExample, EventExampleSchema, EventFilter, EventFilterSchema, EventRule, EventRuleSchema, EventSpecificationSchema, ExampleReplacement, FailTaskBodyInput, FailTaskBodyInputSchema, FetchOperation, FetchOperationSchema, FetchRequestInit, FetchRequestInitSchema, FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, FetchRetryOptions, FetchRetryOptionsSchema, FetchRetryStrategy, FetchRetryStrategySchema, GetEvent, GetEventSchema, GetRun, GetRunOptions, GetRunOptionsWithTaskDetails, GetRunSchema, GetRunStatuses, GetRunStatusesSchema, GetRunsOptions, GetRunsSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpSourceRequest, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceRequestSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, InitialStatusUpdate, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, JobMetadata, JobMetadataSchema, JobRunStatusRecordSchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, PongResponse, PongResponseSchema, PongSuccessResponseSchema, PreprocessRunBody, PreprocessRunBodySchema, PreprocessRunResponse, PreprocessRunResponseSchema, Prettify, QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, RawEvent, RawEventSchema, RedactSchema, RedactString, RedactStringSchema, RegisterCronScheduleBody, RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, RegisterScheduleBody, RegisterScheduleBodySchema, RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, RegisterSourceEventV1, RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, RegisterTriggerBodyV1, RegisterTriggerBodyV2, RegisterTriggerSource, RegisterTriggerSourceSchema, RegisteredOptionsDiff, RetryOptions, RetryOptionsSchema, RunJobBody, RunJobBodySchema, RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, RunJobError, RunJobErrorSchema, RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, RunJobResponse, RunJobResponseSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, RunSourceContext, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SchemaError, SchemaErrorSchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, StatusHistory, StatusHistorySchema, StatusUpdate, StatusUpdateData, StatusUpdateSchema, StatusUpdateState, StatusUpdateStateSchema, Style, StyleName, StyleSchema, TaskSchema, TaskStatus, TaskStatusSchema, TriggerMetadata, TriggerMetadataSchema, TriggerSource, TriggerSourceSchema, UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, ValidateErrorResponseSchema, ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, addMissingVersionField, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, replacements, supportsFeature, urlWithSearchParams };
|