@trigger.dev/core 0.0.0-isomorphic-sdk-20230918151405 → 0.0.0-statuses-20230921210707
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 +300 -64
- package/dist/index.js +453 -543
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -948,17 +948,17 @@ declare const HttpSourceRequestSchema: z.ZodObject<{
|
|
|
948
948
|
url: z.ZodString;
|
|
949
949
|
method: z.ZodString;
|
|
950
950
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
951
|
-
rawBody: z.ZodNullable<z.ZodOptional<z.ZodType<
|
|
951
|
+
rawBody: z.ZodNullable<z.ZodOptional<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>>;
|
|
952
952
|
}, "strip", z.ZodTypeAny, {
|
|
953
953
|
url: string;
|
|
954
954
|
method: string;
|
|
955
955
|
headers: Record<string, string>;
|
|
956
|
-
rawBody?:
|
|
956
|
+
rawBody?: Buffer | null | undefined;
|
|
957
957
|
}, {
|
|
958
958
|
url: string;
|
|
959
959
|
method: string;
|
|
960
960
|
headers: Record<string, string>;
|
|
961
|
-
rawBody?:
|
|
961
|
+
rawBody?: Buffer | null | undefined;
|
|
962
962
|
}>;
|
|
963
963
|
type HttpSourceRequest = z.infer<typeof HttpSourceRequestSchema>;
|
|
964
964
|
declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
@@ -5866,6 +5866,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
5866
5866
|
url?: string | undefined;
|
|
5867
5867
|
}>, "many">>;
|
|
5868
5868
|
operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
|
|
5869
|
+
displayKey: z.ZodOptional<z.ZodString>;
|
|
5869
5870
|
trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5870
5871
|
type: z.ZodLiteral<"dynamic">;
|
|
5871
5872
|
id: z.ZodString;
|
|
@@ -6037,7 +6038,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6037
6038
|
maxTimeoutInMs?: number | undefined;
|
|
6038
6039
|
randomize?: boolean | undefined;
|
|
6039
6040
|
}>>;
|
|
6040
|
-
displayKey: z.ZodOptional<z.ZodString>;
|
|
6041
6041
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
6042
6042
|
redact: z.ZodOptional<z.ZodObject<{
|
|
6043
6043
|
paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6066,6 +6066,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6066
6066
|
url?: string | undefined;
|
|
6067
6067
|
}[] | undefined;
|
|
6068
6068
|
operation?: "fetch" | undefined;
|
|
6069
|
+
displayKey?: string | undefined;
|
|
6069
6070
|
trigger?: {
|
|
6070
6071
|
type: "dynamic";
|
|
6071
6072
|
id: string;
|
|
@@ -6106,7 +6107,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6106
6107
|
maxTimeoutInMs?: number | undefined;
|
|
6107
6108
|
randomize?: boolean | undefined;
|
|
6108
6109
|
} | undefined;
|
|
6109
|
-
displayKey?: string | undefined;
|
|
6110
6110
|
connectionKey?: string | undefined;
|
|
6111
6111
|
redact?: {
|
|
6112
6112
|
paths: string[];
|
|
@@ -6130,6 +6130,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6130
6130
|
url?: string | undefined;
|
|
6131
6131
|
}[] | undefined;
|
|
6132
6132
|
operation?: "fetch" | undefined;
|
|
6133
|
+
displayKey?: string | undefined;
|
|
6133
6134
|
trigger?: {
|
|
6134
6135
|
type: "dynamic";
|
|
6135
6136
|
id: string;
|
|
@@ -6170,7 +6171,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6170
6171
|
maxTimeoutInMs?: number | undefined;
|
|
6171
6172
|
randomize?: boolean | undefined;
|
|
6172
6173
|
} | undefined;
|
|
6173
|
-
displayKey?: string | undefined;
|
|
6174
6174
|
connectionKey?: string | undefined;
|
|
6175
6175
|
redact?: {
|
|
6176
6176
|
paths: string[];
|
|
@@ -6210,6 +6210,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6210
6210
|
parentId: z.ZodOptional<z.ZodString>;
|
|
6211
6211
|
operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
|
|
6212
6212
|
idempotencyKey: z.ZodString;
|
|
6213
|
+
displayKey: z.ZodOptional<z.ZodString>;
|
|
6213
6214
|
trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6214
6215
|
type: z.ZodLiteral<"dynamic">;
|
|
6215
6216
|
id: z.ZodString;
|
|
@@ -6381,7 +6382,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6381
6382
|
maxTimeoutInMs?: number | undefined;
|
|
6382
6383
|
randomize?: boolean | undefined;
|
|
6383
6384
|
}>>;
|
|
6384
|
-
displayKey: z.ZodOptional<z.ZodString>;
|
|
6385
6385
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
6386
6386
|
redact: z.ZodOptional<z.ZodObject<{
|
|
6387
6387
|
paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6409,6 +6409,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6409
6409
|
}[] | undefined;
|
|
6410
6410
|
parentId?: string | undefined;
|
|
6411
6411
|
operation?: "fetch" | undefined;
|
|
6412
|
+
displayKey?: string | undefined;
|
|
6412
6413
|
trigger?: {
|
|
6413
6414
|
type: "dynamic";
|
|
6414
6415
|
id: string;
|
|
@@ -6449,7 +6450,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6449
6450
|
maxTimeoutInMs?: number | undefined;
|
|
6450
6451
|
randomize?: boolean | undefined;
|
|
6451
6452
|
} | undefined;
|
|
6452
|
-
displayKey?: string | undefined;
|
|
6453
6453
|
connectionKey?: string | undefined;
|
|
6454
6454
|
redact?: {
|
|
6455
6455
|
paths: string[];
|
|
@@ -6473,6 +6473,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6473
6473
|
}[] | undefined;
|
|
6474
6474
|
parentId?: string | undefined;
|
|
6475
6475
|
operation?: "fetch" | undefined;
|
|
6476
|
+
displayKey?: string | undefined;
|
|
6476
6477
|
trigger?: {
|
|
6477
6478
|
type: "dynamic";
|
|
6478
6479
|
id: string;
|
|
@@ -6513,7 +6514,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6513
6514
|
maxTimeoutInMs?: number | undefined;
|
|
6514
6515
|
randomize?: boolean | undefined;
|
|
6515
6516
|
} | undefined;
|
|
6516
|
-
displayKey?: string | undefined;
|
|
6517
6517
|
connectionKey?: string | undefined;
|
|
6518
6518
|
redact?: {
|
|
6519
6519
|
paths: string[];
|
|
@@ -7271,6 +7271,95 @@ declare const CreateExternalConnectionBodySchema: z.ZodObject<{
|
|
|
7271
7271
|
metadata?: any;
|
|
7272
7272
|
}>;
|
|
7273
7273
|
type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodySchema>;
|
|
7274
|
+
declare const GetRunStatusesSchema: z.ZodObject<{
|
|
7275
|
+
run: z.ZodObject<{
|
|
7276
|
+
id: z.ZodString;
|
|
7277
|
+
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">]>;
|
|
7278
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
7279
|
+
}, "strip", z.ZodTypeAny, {
|
|
7280
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
7281
|
+
id: string;
|
|
7282
|
+
output?: any;
|
|
7283
|
+
}, {
|
|
7284
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
7285
|
+
id: string;
|
|
7286
|
+
output?: any;
|
|
7287
|
+
}>;
|
|
7288
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
7289
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
7290
|
+
label: z.ZodString;
|
|
7291
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
7292
|
+
key: z.ZodString;
|
|
7293
|
+
history: z.ZodArray<z.ZodObject<{
|
|
7294
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7295
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
7296
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
7297
|
+
}, "strip", z.ZodTypeAny, {
|
|
7298
|
+
label?: string | undefined;
|
|
7299
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7300
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7301
|
+
}, {
|
|
7302
|
+
label?: string | undefined;
|
|
7303
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7304
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7305
|
+
}>, "many">;
|
|
7306
|
+
}, "strip", z.ZodTypeAny, {
|
|
7307
|
+
key: string;
|
|
7308
|
+
label: string;
|
|
7309
|
+
history: {
|
|
7310
|
+
label?: string | undefined;
|
|
7311
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7312
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7313
|
+
}[];
|
|
7314
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7315
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7316
|
+
}, {
|
|
7317
|
+
key: string;
|
|
7318
|
+
label: string;
|
|
7319
|
+
history: {
|
|
7320
|
+
label?: string | undefined;
|
|
7321
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7322
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7323
|
+
}[];
|
|
7324
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7325
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7326
|
+
}>, "many">;
|
|
7327
|
+
}, "strip", z.ZodTypeAny, {
|
|
7328
|
+
statuses: {
|
|
7329
|
+
key: string;
|
|
7330
|
+
label: string;
|
|
7331
|
+
history: {
|
|
7332
|
+
label?: string | undefined;
|
|
7333
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7334
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7335
|
+
}[];
|
|
7336
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7337
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7338
|
+
}[];
|
|
7339
|
+
run: {
|
|
7340
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
7341
|
+
id: string;
|
|
7342
|
+
output?: any;
|
|
7343
|
+
};
|
|
7344
|
+
}, {
|
|
7345
|
+
statuses: {
|
|
7346
|
+
key: string;
|
|
7347
|
+
label: string;
|
|
7348
|
+
history: {
|
|
7349
|
+
label?: string | undefined;
|
|
7350
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7351
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7352
|
+
}[];
|
|
7353
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
7354
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
7355
|
+
}[];
|
|
7356
|
+
run: {
|
|
7357
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
7358
|
+
id: string;
|
|
7359
|
+
output?: any;
|
|
7360
|
+
};
|
|
7361
|
+
}>;
|
|
7362
|
+
type GetRunStatuses = z.infer<typeof GetRunStatusesSchema>;
|
|
7274
7363
|
|
|
7275
7364
|
declare const EventExampleSchema: z.ZodObject<{
|
|
7276
7365
|
id: z.ZodString;
|
|
@@ -7973,14 +8062,14 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
7973
8062
|
scopes: string[];
|
|
7974
8063
|
id: string;
|
|
7975
8064
|
title: string;
|
|
7976
|
-
createdAt: Date;
|
|
7977
8065
|
updatedAt: Date;
|
|
8066
|
+
createdAt: Date;
|
|
7978
8067
|
}, {
|
|
7979
8068
|
scopes: string[];
|
|
7980
8069
|
id: string;
|
|
7981
8070
|
title: string;
|
|
7982
|
-
createdAt: Date;
|
|
7983
8071
|
updatedAt: Date;
|
|
8072
|
+
createdAt: Date;
|
|
7984
8073
|
}>;
|
|
7985
8074
|
authorizationUrl: z.ZodString;
|
|
7986
8075
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7989,8 +8078,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
7989
8078
|
scopes: string[];
|
|
7990
8079
|
id: string;
|
|
7991
8080
|
title: string;
|
|
7992
|
-
createdAt: Date;
|
|
7993
8081
|
updatedAt: Date;
|
|
8082
|
+
createdAt: Date;
|
|
7994
8083
|
};
|
|
7995
8084
|
authorizationUrl: string;
|
|
7996
8085
|
}, {
|
|
@@ -7999,8 +8088,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
7999
8088
|
scopes: string[];
|
|
8000
8089
|
id: string;
|
|
8001
8090
|
title: string;
|
|
8002
|
-
createdAt: Date;
|
|
8003
8091
|
updatedAt: Date;
|
|
8092
|
+
createdAt: Date;
|
|
8004
8093
|
};
|
|
8005
8094
|
authorizationUrl: string;
|
|
8006
8095
|
}>;
|
|
@@ -8016,14 +8105,14 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8016
8105
|
scopes: string[];
|
|
8017
8106
|
id: string;
|
|
8018
8107
|
title: string;
|
|
8019
|
-
createdAt: Date;
|
|
8020
8108
|
updatedAt: Date;
|
|
8109
|
+
createdAt: Date;
|
|
8021
8110
|
}, {
|
|
8022
8111
|
scopes: string[];
|
|
8023
8112
|
id: string;
|
|
8024
8113
|
title: string;
|
|
8025
|
-
createdAt: Date;
|
|
8026
8114
|
updatedAt: Date;
|
|
8115
|
+
createdAt: Date;
|
|
8027
8116
|
}>;
|
|
8028
8117
|
authorizationUrl: z.ZodString;
|
|
8029
8118
|
type: z.ZodLiteral<"DEVELOPER">;
|
|
@@ -8034,8 +8123,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8034
8123
|
scopes: string[];
|
|
8035
8124
|
id: string;
|
|
8036
8125
|
title: string;
|
|
8037
|
-
createdAt: Date;
|
|
8038
8126
|
updatedAt: Date;
|
|
8127
|
+
createdAt: Date;
|
|
8039
8128
|
};
|
|
8040
8129
|
authorizationUrl: string;
|
|
8041
8130
|
}, {
|
|
@@ -8045,8 +8134,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8045
8134
|
scopes: string[];
|
|
8046
8135
|
id: string;
|
|
8047
8136
|
title: string;
|
|
8048
|
-
createdAt: Date;
|
|
8049
8137
|
updatedAt: Date;
|
|
8138
|
+
createdAt: Date;
|
|
8050
8139
|
};
|
|
8051
8140
|
authorizationUrl: string;
|
|
8052
8141
|
}>;
|
|
@@ -8062,14 +8151,14 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8062
8151
|
scopes: string[];
|
|
8063
8152
|
id: string;
|
|
8064
8153
|
title: string;
|
|
8065
|
-
createdAt: Date;
|
|
8066
8154
|
updatedAt: Date;
|
|
8155
|
+
createdAt: Date;
|
|
8067
8156
|
}, {
|
|
8068
8157
|
scopes: string[];
|
|
8069
8158
|
id: string;
|
|
8070
8159
|
title: string;
|
|
8071
|
-
createdAt: Date;
|
|
8072
8160
|
updatedAt: Date;
|
|
8161
|
+
createdAt: Date;
|
|
8073
8162
|
}>;
|
|
8074
8163
|
authorizationUrl: z.ZodString;
|
|
8075
8164
|
type: z.ZodLiteral<"EXTERNAL">;
|
|
@@ -8094,8 +8183,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8094
8183
|
scopes: string[];
|
|
8095
8184
|
id: string;
|
|
8096
8185
|
title: string;
|
|
8097
|
-
createdAt: Date;
|
|
8098
8186
|
updatedAt: Date;
|
|
8187
|
+
createdAt: Date;
|
|
8099
8188
|
};
|
|
8100
8189
|
authorizationUrl: string;
|
|
8101
8190
|
}, {
|
|
@@ -8109,8 +8198,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8109
8198
|
scopes: string[];
|
|
8110
8199
|
id: string;
|
|
8111
8200
|
title: string;
|
|
8112
|
-
createdAt: Date;
|
|
8113
8201
|
updatedAt: Date;
|
|
8202
|
+
createdAt: Date;
|
|
8114
8203
|
};
|
|
8115
8204
|
authorizationUrl: string;
|
|
8116
8205
|
}>;
|
|
@@ -8126,14 +8215,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8126
8215
|
scopes: string[];
|
|
8127
8216
|
id: string;
|
|
8128
8217
|
title: string;
|
|
8129
|
-
createdAt: Date;
|
|
8130
8218
|
updatedAt: Date;
|
|
8219
|
+
createdAt: Date;
|
|
8131
8220
|
}, {
|
|
8132
8221
|
scopes: string[];
|
|
8133
8222
|
id: string;
|
|
8134
8223
|
title: string;
|
|
8135
|
-
createdAt: Date;
|
|
8136
8224
|
updatedAt: Date;
|
|
8225
|
+
createdAt: Date;
|
|
8137
8226
|
}>;
|
|
8138
8227
|
authorizationUrl: z.ZodString;
|
|
8139
8228
|
type: z.ZodLiteral<"DEVELOPER">;
|
|
@@ -8144,8 +8233,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8144
8233
|
scopes: string[];
|
|
8145
8234
|
id: string;
|
|
8146
8235
|
title: string;
|
|
8147
|
-
createdAt: Date;
|
|
8148
8236
|
updatedAt: Date;
|
|
8237
|
+
createdAt: Date;
|
|
8149
8238
|
};
|
|
8150
8239
|
authorizationUrl: string;
|
|
8151
8240
|
}, {
|
|
@@ -8155,8 +8244,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8155
8244
|
scopes: string[];
|
|
8156
8245
|
id: string;
|
|
8157
8246
|
title: string;
|
|
8158
|
-
createdAt: Date;
|
|
8159
8247
|
updatedAt: Date;
|
|
8248
|
+
createdAt: Date;
|
|
8160
8249
|
};
|
|
8161
8250
|
authorizationUrl: string;
|
|
8162
8251
|
}>, z.ZodObject<{
|
|
@@ -8171,14 +8260,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8171
8260
|
scopes: string[];
|
|
8172
8261
|
id: string;
|
|
8173
8262
|
title: string;
|
|
8174
|
-
createdAt: Date;
|
|
8175
8263
|
updatedAt: Date;
|
|
8264
|
+
createdAt: Date;
|
|
8176
8265
|
}, {
|
|
8177
8266
|
scopes: string[];
|
|
8178
8267
|
id: string;
|
|
8179
8268
|
title: string;
|
|
8180
|
-
createdAt: Date;
|
|
8181
8269
|
updatedAt: Date;
|
|
8270
|
+
createdAt: Date;
|
|
8182
8271
|
}>;
|
|
8183
8272
|
authorizationUrl: z.ZodString;
|
|
8184
8273
|
type: z.ZodLiteral<"EXTERNAL">;
|
|
@@ -8203,8 +8292,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8203
8292
|
scopes: string[];
|
|
8204
8293
|
id: string;
|
|
8205
8294
|
title: string;
|
|
8206
|
-
createdAt: Date;
|
|
8207
8295
|
updatedAt: Date;
|
|
8296
|
+
createdAt: Date;
|
|
8208
8297
|
};
|
|
8209
8298
|
authorizationUrl: string;
|
|
8210
8299
|
}, {
|
|
@@ -8218,8 +8307,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8218
8307
|
scopes: string[];
|
|
8219
8308
|
id: string;
|
|
8220
8309
|
title: string;
|
|
8221
|
-
createdAt: Date;
|
|
8222
8310
|
updatedAt: Date;
|
|
8311
|
+
createdAt: Date;
|
|
8223
8312
|
};
|
|
8224
8313
|
authorizationUrl: string;
|
|
8225
8314
|
}>]>;
|
|
@@ -8238,16 +8327,16 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
|
|
|
8238
8327
|
scopes: string[];
|
|
8239
8328
|
id: string;
|
|
8240
8329
|
title: string;
|
|
8241
|
-
createdAt: Date;
|
|
8242
8330
|
updatedAt: Date;
|
|
8331
|
+
createdAt: Date;
|
|
8243
8332
|
integrationIdentifier: string;
|
|
8244
8333
|
integrationAuthMethod: string;
|
|
8245
8334
|
}, {
|
|
8246
8335
|
scopes: string[];
|
|
8247
8336
|
id: string;
|
|
8248
8337
|
title: string;
|
|
8249
|
-
createdAt: Date;
|
|
8250
8338
|
updatedAt: Date;
|
|
8339
|
+
createdAt: Date;
|
|
8251
8340
|
integrationIdentifier: string;
|
|
8252
8341
|
integrationAuthMethod: string;
|
|
8253
8342
|
}>;
|
|
@@ -8258,8 +8347,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
|
|
|
8258
8347
|
scopes: string[];
|
|
8259
8348
|
id: string;
|
|
8260
8349
|
title: string;
|
|
8261
|
-
createdAt: Date;
|
|
8262
8350
|
updatedAt: Date;
|
|
8351
|
+
createdAt: Date;
|
|
8263
8352
|
integrationIdentifier: string;
|
|
8264
8353
|
integrationAuthMethod: string;
|
|
8265
8354
|
};
|
|
@@ -8270,8 +8359,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
|
|
|
8270
8359
|
scopes: string[];
|
|
8271
8360
|
id: string;
|
|
8272
8361
|
title: string;
|
|
8273
|
-
createdAt: Date;
|
|
8274
8362
|
updatedAt: Date;
|
|
8363
|
+
createdAt: Date;
|
|
8275
8364
|
integrationIdentifier: string;
|
|
8276
8365
|
integrationAuthMethod: string;
|
|
8277
8366
|
};
|
|
@@ -8291,16 +8380,16 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
|
|
|
8291
8380
|
scopes: string[];
|
|
8292
8381
|
id: string;
|
|
8293
8382
|
title: string;
|
|
8294
|
-
createdAt: Date;
|
|
8295
8383
|
updatedAt: Date;
|
|
8384
|
+
createdAt: Date;
|
|
8296
8385
|
integrationIdentifier: string;
|
|
8297
8386
|
integrationAuthMethod: string;
|
|
8298
8387
|
}, {
|
|
8299
8388
|
scopes: string[];
|
|
8300
8389
|
id: string;
|
|
8301
8390
|
title: string;
|
|
8302
|
-
createdAt: Date;
|
|
8303
8391
|
updatedAt: Date;
|
|
8392
|
+
createdAt: Date;
|
|
8304
8393
|
integrationIdentifier: string;
|
|
8305
8394
|
integrationAuthMethod: string;
|
|
8306
8395
|
}>;
|
|
@@ -8313,8 +8402,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
|
|
|
8313
8402
|
scopes: string[];
|
|
8314
8403
|
id: string;
|
|
8315
8404
|
title: string;
|
|
8316
|
-
createdAt: Date;
|
|
8317
8405
|
updatedAt: Date;
|
|
8406
|
+
createdAt: Date;
|
|
8318
8407
|
integrationIdentifier: string;
|
|
8319
8408
|
integrationAuthMethod: string;
|
|
8320
8409
|
};
|
|
@@ -8326,8 +8415,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
|
|
|
8326
8415
|
scopes: string[];
|
|
8327
8416
|
id: string;
|
|
8328
8417
|
title: string;
|
|
8329
|
-
createdAt: Date;
|
|
8330
8418
|
updatedAt: Date;
|
|
8419
|
+
createdAt: Date;
|
|
8331
8420
|
integrationIdentifier: string;
|
|
8332
8421
|
integrationAuthMethod: string;
|
|
8333
8422
|
};
|
|
@@ -8347,16 +8436,16 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
|
|
|
8347
8436
|
scopes: string[];
|
|
8348
8437
|
id: string;
|
|
8349
8438
|
title: string;
|
|
8350
|
-
createdAt: Date;
|
|
8351
8439
|
updatedAt: Date;
|
|
8440
|
+
createdAt: Date;
|
|
8352
8441
|
integrationIdentifier: string;
|
|
8353
8442
|
integrationAuthMethod: string;
|
|
8354
8443
|
}, {
|
|
8355
8444
|
scopes: string[];
|
|
8356
8445
|
id: string;
|
|
8357
8446
|
title: string;
|
|
8358
|
-
createdAt: Date;
|
|
8359
8447
|
updatedAt: Date;
|
|
8448
|
+
createdAt: Date;
|
|
8360
8449
|
integrationIdentifier: string;
|
|
8361
8450
|
integrationAuthMethod: string;
|
|
8362
8451
|
}>;
|
|
@@ -8383,8 +8472,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
|
|
|
8383
8472
|
scopes: string[];
|
|
8384
8473
|
id: string;
|
|
8385
8474
|
title: string;
|
|
8386
|
-
createdAt: Date;
|
|
8387
8475
|
updatedAt: Date;
|
|
8476
|
+
createdAt: Date;
|
|
8388
8477
|
integrationIdentifier: string;
|
|
8389
8478
|
integrationAuthMethod: string;
|
|
8390
8479
|
};
|
|
@@ -8400,8 +8489,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
|
|
|
8400
8489
|
scopes: string[];
|
|
8401
8490
|
id: string;
|
|
8402
8491
|
title: string;
|
|
8403
|
-
createdAt: Date;
|
|
8404
8492
|
updatedAt: Date;
|
|
8493
|
+
createdAt: Date;
|
|
8405
8494
|
integrationIdentifier: string;
|
|
8406
8495
|
integrationAuthMethod: string;
|
|
8407
8496
|
};
|
|
@@ -8421,16 +8510,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8421
8510
|
scopes: string[];
|
|
8422
8511
|
id: string;
|
|
8423
8512
|
title: string;
|
|
8424
|
-
createdAt: Date;
|
|
8425
8513
|
updatedAt: Date;
|
|
8514
|
+
createdAt: Date;
|
|
8426
8515
|
integrationIdentifier: string;
|
|
8427
8516
|
integrationAuthMethod: string;
|
|
8428
8517
|
}, {
|
|
8429
8518
|
scopes: string[];
|
|
8430
8519
|
id: string;
|
|
8431
8520
|
title: string;
|
|
8432
|
-
createdAt: Date;
|
|
8433
8521
|
updatedAt: Date;
|
|
8522
|
+
createdAt: Date;
|
|
8434
8523
|
integrationIdentifier: string;
|
|
8435
8524
|
integrationAuthMethod: string;
|
|
8436
8525
|
}>;
|
|
@@ -8443,8 +8532,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8443
8532
|
scopes: string[];
|
|
8444
8533
|
id: string;
|
|
8445
8534
|
title: string;
|
|
8446
|
-
createdAt: Date;
|
|
8447
8535
|
updatedAt: Date;
|
|
8536
|
+
createdAt: Date;
|
|
8448
8537
|
integrationIdentifier: string;
|
|
8449
8538
|
integrationAuthMethod: string;
|
|
8450
8539
|
};
|
|
@@ -8456,8 +8545,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8456
8545
|
scopes: string[];
|
|
8457
8546
|
id: string;
|
|
8458
8547
|
title: string;
|
|
8459
|
-
createdAt: Date;
|
|
8460
8548
|
updatedAt: Date;
|
|
8549
|
+
createdAt: Date;
|
|
8461
8550
|
integrationIdentifier: string;
|
|
8462
8551
|
integrationAuthMethod: string;
|
|
8463
8552
|
};
|
|
@@ -8476,16 +8565,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8476
8565
|
scopes: string[];
|
|
8477
8566
|
id: string;
|
|
8478
8567
|
title: string;
|
|
8479
|
-
createdAt: Date;
|
|
8480
8568
|
updatedAt: Date;
|
|
8569
|
+
createdAt: Date;
|
|
8481
8570
|
integrationIdentifier: string;
|
|
8482
8571
|
integrationAuthMethod: string;
|
|
8483
8572
|
}, {
|
|
8484
8573
|
scopes: string[];
|
|
8485
8574
|
id: string;
|
|
8486
8575
|
title: string;
|
|
8487
|
-
createdAt: Date;
|
|
8488
8576
|
updatedAt: Date;
|
|
8577
|
+
createdAt: Date;
|
|
8489
8578
|
integrationIdentifier: string;
|
|
8490
8579
|
integrationAuthMethod: string;
|
|
8491
8580
|
}>;
|
|
@@ -8512,8 +8601,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8512
8601
|
scopes: string[];
|
|
8513
8602
|
id: string;
|
|
8514
8603
|
title: string;
|
|
8515
|
-
createdAt: Date;
|
|
8516
8604
|
updatedAt: Date;
|
|
8605
|
+
createdAt: Date;
|
|
8517
8606
|
integrationIdentifier: string;
|
|
8518
8607
|
integrationAuthMethod: string;
|
|
8519
8608
|
};
|
|
@@ -8529,8 +8618,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8529
8618
|
scopes: string[];
|
|
8530
8619
|
id: string;
|
|
8531
8620
|
title: string;
|
|
8532
|
-
createdAt: Date;
|
|
8533
8621
|
updatedAt: Date;
|
|
8622
|
+
createdAt: Date;
|
|
8534
8623
|
integrationIdentifier: string;
|
|
8535
8624
|
integrationAuthMethod: string;
|
|
8536
8625
|
};
|
|
@@ -8862,12 +8951,12 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
8862
8951
|
/** When the run completed */
|
|
8863
8952
|
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
8864
8953
|
}, "strip", z.ZodTypeAny, {
|
|
8865
|
-
status: "PENDING" | "CANCELED" | "
|
|
8954
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
8866
8955
|
id: string;
|
|
8867
8956
|
startedAt?: Date | null | undefined;
|
|
8868
8957
|
completedAt?: Date | null | undefined;
|
|
8869
8958
|
}, {
|
|
8870
|
-
status: "PENDING" | "CANCELED" | "
|
|
8959
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
8871
8960
|
id: string;
|
|
8872
8961
|
startedAt?: Date | null | undefined;
|
|
8873
8962
|
completedAt?: Date | null | undefined;
|
|
@@ -8875,25 +8964,25 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
8875
8964
|
}, "strip", z.ZodTypeAny, {
|
|
8876
8965
|
name: string;
|
|
8877
8966
|
id: string;
|
|
8878
|
-
createdAt: Date;
|
|
8879
8967
|
updatedAt: Date;
|
|
8880
8968
|
runs: {
|
|
8881
|
-
status: "PENDING" | "CANCELED" | "
|
|
8969
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
8882
8970
|
id: string;
|
|
8883
8971
|
startedAt?: Date | null | undefined;
|
|
8884
8972
|
completedAt?: Date | null | undefined;
|
|
8885
8973
|
}[];
|
|
8974
|
+
createdAt: Date;
|
|
8886
8975
|
}, {
|
|
8887
8976
|
name: string;
|
|
8888
8977
|
id: string;
|
|
8889
|
-
createdAt: Date;
|
|
8890
8978
|
updatedAt: Date;
|
|
8891
8979
|
runs: {
|
|
8892
|
-
status: "PENDING" | "CANCELED" | "
|
|
8980
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
8893
8981
|
id: string;
|
|
8894
8982
|
startedAt?: Date | null | undefined;
|
|
8895
8983
|
completedAt?: Date | null | undefined;
|
|
8896
8984
|
}[];
|
|
8985
|
+
createdAt: Date;
|
|
8897
8986
|
}>;
|
|
8898
8987
|
type GetEvent = z.infer<typeof GetEventSchema>;
|
|
8899
8988
|
|
|
@@ -8978,24 +9067,85 @@ declare const GetRunSchema: ZodObject<{
|
|
|
8978
9067
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
8979
9068
|
output: z.ZodOptional<z.ZodAny>;
|
|
8980
9069
|
tasks: z.ZodArray<z.ZodType<RunTaskWithSubtasks, z.ZodTypeDef, RunTaskWithSubtasks>, "many">;
|
|
9070
|
+
statuses: z.ZodDefault<z.ZodArray<ZodObject<{
|
|
9071
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9072
|
+
label: z.ZodString;
|
|
9073
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9074
|
+
key: z.ZodString;
|
|
9075
|
+
history: z.ZodArray<ZodObject<{
|
|
9076
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9077
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9078
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9079
|
+
}, "strip", z.ZodTypeAny, {
|
|
9080
|
+
label?: string | undefined;
|
|
9081
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9082
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9083
|
+
}, {
|
|
9084
|
+
label?: string | undefined;
|
|
9085
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9086
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9087
|
+
}>, "many">;
|
|
9088
|
+
}, "strip", z.ZodTypeAny, {
|
|
9089
|
+
key: string;
|
|
9090
|
+
label: string;
|
|
9091
|
+
history: {
|
|
9092
|
+
label?: string | undefined;
|
|
9093
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9094
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9095
|
+
}[];
|
|
9096
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9097
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9098
|
+
}, {
|
|
9099
|
+
key: string;
|
|
9100
|
+
label: string;
|
|
9101
|
+
history: {
|
|
9102
|
+
label?: string | undefined;
|
|
9103
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9104
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9105
|
+
}[];
|
|
9106
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9107
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9108
|
+
}>, "many">>;
|
|
8981
9109
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
8982
9110
|
}, "strip", z.ZodTypeAny, {
|
|
8983
|
-
status: "PENDING" | "CANCELED" | "
|
|
9111
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
8984
9112
|
id: string;
|
|
8985
9113
|
startedAt: Date | null;
|
|
8986
9114
|
completedAt: Date | null;
|
|
8987
|
-
tasks: RunTaskWithSubtasks[];
|
|
8988
9115
|
updatedAt: Date | null;
|
|
9116
|
+
tasks: RunTaskWithSubtasks[];
|
|
9117
|
+
statuses: {
|
|
9118
|
+
key: string;
|
|
9119
|
+
label: string;
|
|
9120
|
+
history: {
|
|
9121
|
+
label?: string | undefined;
|
|
9122
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9123
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9124
|
+
}[];
|
|
9125
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9126
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9127
|
+
}[];
|
|
8989
9128
|
output?: any;
|
|
8990
9129
|
nextCursor?: string | undefined;
|
|
8991
9130
|
}, {
|
|
8992
|
-
status: "PENDING" | "CANCELED" | "
|
|
9131
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
8993
9132
|
id: string;
|
|
8994
9133
|
startedAt: Date | null;
|
|
8995
9134
|
completedAt: Date | null;
|
|
8996
|
-
tasks: RunTaskWithSubtasks[];
|
|
8997
9135
|
updatedAt: Date | null;
|
|
9136
|
+
tasks: RunTaskWithSubtasks[];
|
|
8998
9137
|
output?: any;
|
|
9138
|
+
statuses?: {
|
|
9139
|
+
key: string;
|
|
9140
|
+
label: string;
|
|
9141
|
+
history: {
|
|
9142
|
+
label?: string | undefined;
|
|
9143
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9144
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9145
|
+
}[];
|
|
9146
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9147
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9148
|
+
}[] | undefined;
|
|
8999
9149
|
nextCursor?: string | undefined;
|
|
9000
9150
|
}>;
|
|
9001
9151
|
type GetRun = z.infer<typeof GetRunSchema>;
|
|
@@ -9026,13 +9176,13 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9026
9176
|
/** When the run was completed */
|
|
9027
9177
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
9028
9178
|
}, "strip", z.ZodTypeAny, {
|
|
9029
|
-
status: "PENDING" | "CANCELED" | "
|
|
9179
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9030
9180
|
id: string;
|
|
9031
9181
|
startedAt: Date | null;
|
|
9032
9182
|
completedAt: Date | null;
|
|
9033
9183
|
updatedAt: Date | null;
|
|
9034
9184
|
}, {
|
|
9035
|
-
status: "PENDING" | "CANCELED" | "
|
|
9185
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9036
9186
|
id: string;
|
|
9037
9187
|
startedAt: Date | null;
|
|
9038
9188
|
completedAt: Date | null;
|
|
@@ -9042,7 +9192,7 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9042
9192
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9043
9193
|
}, "strip", z.ZodTypeAny, {
|
|
9044
9194
|
runs: {
|
|
9045
|
-
status: "PENDING" | "CANCELED" | "
|
|
9195
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9046
9196
|
id: string;
|
|
9047
9197
|
startedAt: Date | null;
|
|
9048
9198
|
completedAt: Date | null;
|
|
@@ -9051,7 +9201,7 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9051
9201
|
nextCursor?: string | undefined;
|
|
9052
9202
|
}, {
|
|
9053
9203
|
runs: {
|
|
9054
|
-
status: "PENDING" | "CANCELED" | "
|
|
9204
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9055
9205
|
id: string;
|
|
9056
9206
|
startedAt: Date | null;
|
|
9057
9207
|
completedAt: Date | null;
|
|
@@ -9062,6 +9212,92 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9062
9212
|
|
|
9063
9213
|
declare function addMissingVersionField(val: unknown): unknown;
|
|
9064
9214
|
|
|
9215
|
+
declare const StatusUpdateStateSchema: z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>;
|
|
9216
|
+
type StatusUpdateState = z.infer<typeof StatusUpdateStateSchema>;
|
|
9217
|
+
declare const StatusUpdateDataSchema: z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>;
|
|
9218
|
+
type StatusUpdateData = z.infer<typeof StatusUpdateDataSchema>;
|
|
9219
|
+
declare const StatusUpdateSchema: z.ZodObject<{
|
|
9220
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9221
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9222
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9223
|
+
}, "strip", z.ZodTypeAny, {
|
|
9224
|
+
label?: string | undefined;
|
|
9225
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9226
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9227
|
+
}, {
|
|
9228
|
+
label?: string | undefined;
|
|
9229
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9230
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9231
|
+
}>;
|
|
9232
|
+
type StatusUpdate = z.infer<typeof StatusUpdateSchema>;
|
|
9233
|
+
declare const InitalStatusUpdateSchema: z.ZodObject<{
|
|
9234
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9235
|
+
label: z.ZodString;
|
|
9236
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9237
|
+
}, "strip", z.ZodTypeAny, {
|
|
9238
|
+
label: string;
|
|
9239
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9240
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9241
|
+
}, {
|
|
9242
|
+
label: string;
|
|
9243
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9244
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9245
|
+
}>;
|
|
9246
|
+
type InitialStatusUpdate = z.infer<typeof InitalStatusUpdateSchema>;
|
|
9247
|
+
declare const StatusHistorySchema: z.ZodArray<z.ZodObject<{
|
|
9248
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9249
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9250
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9251
|
+
}, "strip", z.ZodTypeAny, {
|
|
9252
|
+
label?: string | undefined;
|
|
9253
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9254
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9255
|
+
}, {
|
|
9256
|
+
label?: string | undefined;
|
|
9257
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9258
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9259
|
+
}>, "many">;
|
|
9260
|
+
type StatusHistory = z.infer<typeof StatusHistorySchema>;
|
|
9261
|
+
declare const JobRunStatusRecordSchema: z.ZodObject<{
|
|
9262
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9263
|
+
label: z.ZodString;
|
|
9264
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9265
|
+
key: z.ZodString;
|
|
9266
|
+
history: z.ZodArray<z.ZodObject<{
|
|
9267
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9268
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
9269
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
9270
|
+
}, "strip", z.ZodTypeAny, {
|
|
9271
|
+
label?: string | undefined;
|
|
9272
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9273
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9274
|
+
}, {
|
|
9275
|
+
label?: string | undefined;
|
|
9276
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9277
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9278
|
+
}>, "many">;
|
|
9279
|
+
}, "strip", z.ZodTypeAny, {
|
|
9280
|
+
key: string;
|
|
9281
|
+
label: string;
|
|
9282
|
+
history: {
|
|
9283
|
+
label?: string | undefined;
|
|
9284
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9285
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9286
|
+
}[];
|
|
9287
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9288
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9289
|
+
}, {
|
|
9290
|
+
key: string;
|
|
9291
|
+
label: string;
|
|
9292
|
+
history: {
|
|
9293
|
+
label?: string | undefined;
|
|
9294
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9295
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9296
|
+
}[];
|
|
9297
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
9298
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
9299
|
+
}>;
|
|
9300
|
+
|
|
9065
9301
|
declare function deepMergeFilters(...filters: EventFilter[]): EventFilter;
|
|
9066
9302
|
|
|
9067
9303
|
declare function calculateRetryAt(retryOptions: RetryOptions, attempts: number): Date | undefined;
|
|
@@ -9088,4 +9324,4 @@ declare function urlWithSearchParams(url: string, params: Record<string, string
|
|
|
9088
9324
|
|
|
9089
9325
|
declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
|
|
9090
9326
|
|
|
9091
|
-
export { ApiEventLog, ApiEventLogSchema, 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, 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, GetRunsOptions, GetRunsSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpSourceRequest, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceRequestSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, JobMetadata, JobMetadataSchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, 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, RunJobResponse, RunJobResponseSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, 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, urlWithSearchParams };
|
|
9327
|
+
export { ApiEventLog, ApiEventLogSchema, 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, 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, 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, RunJobResponse, RunJobResponseSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, 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, urlWithSearchParams };
|