@trigger.dev/core 0.0.0-prerelease-20241202154035 → 0.0.0-prerelease-20241203170318
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/commonjs/v3/apiClient/index.d.ts +150 -150
- package/dist/commonjs/v3/apiClient/runStream.js +4 -3
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +835 -775
- package/dist/commonjs/v3/schemas/api.js +1 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +120 -120
- package/dist/commonjs/v3/schemas/messages.d.ts +2977 -2977
- package/dist/commonjs/v3/schemas/resources.d.ts +64 -64
- package/dist/commonjs/v3/schemas/schemas.d.ts +418 -418
- package/dist/esm/v3/apiClient/index.d.ts +150 -150
- package/dist/esm/v3/apiClient/runStream.js +2 -1
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +835 -775
- package/dist/esm/v3/schemas/api.js +2 -2
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +120 -120
- package/dist/esm/v3/schemas/messages.d.ts +2977 -2977
- package/dist/esm/v3/schemas/resources.d.ts +64 -64
- package/dist/esm/v3/schemas/schemas.d.ts +418 -418
- package/package.json +1 -1
|
@@ -41,9 +41,9 @@ export declare class ApiClient {
|
|
|
41
41
|
id: string;
|
|
42
42
|
isCached: boolean;
|
|
43
43
|
runs: {
|
|
44
|
-
taskIdentifier: string;
|
|
45
44
|
id: string;
|
|
46
45
|
isCached: boolean;
|
|
46
|
+
taskIdentifier: string;
|
|
47
47
|
idempotencyKey?: string | undefined;
|
|
48
48
|
}[];
|
|
49
49
|
idempotencyKey?: string | undefined;
|
|
@@ -55,115 +55,115 @@ export declare class ApiClient {
|
|
|
55
55
|
presignedUrl: string;
|
|
56
56
|
}>;
|
|
57
57
|
retrieveRun(runId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
58
|
-
|
|
59
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
60
|
-
tags: string[];
|
|
58
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
61
59
|
id: string;
|
|
62
60
|
createdAt: Date;
|
|
63
|
-
|
|
61
|
+
tags: string[];
|
|
62
|
+
taskIdentifier: string;
|
|
63
|
+
depth: number;
|
|
64
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
65
|
+
isQueued: boolean;
|
|
66
|
+
isExecuting: boolean;
|
|
67
|
+
isCompleted: boolean;
|
|
68
|
+
isSuccess: boolean;
|
|
69
|
+
isFailed: boolean;
|
|
70
|
+
isCancelled: boolean;
|
|
64
71
|
isTest: boolean;
|
|
72
|
+
updatedAt: Date;
|
|
65
73
|
costInCents: number;
|
|
66
74
|
baseCostInCents: number;
|
|
67
75
|
durationMs: number;
|
|
68
76
|
relatedRuns: {
|
|
69
77
|
root?: {
|
|
70
|
-
|
|
71
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
72
|
-
tags: string[];
|
|
78
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
73
79
|
id: string;
|
|
74
80
|
createdAt: Date;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
costInCents: number;
|
|
78
|
-
baseCostInCents: number;
|
|
79
|
-
durationMs: number;
|
|
81
|
+
tags: string[];
|
|
82
|
+
taskIdentifier: string;
|
|
80
83
|
depth: number;
|
|
81
|
-
triggerFunction: "
|
|
84
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
82
85
|
isQueued: boolean;
|
|
83
86
|
isExecuting: boolean;
|
|
84
87
|
isCompleted: boolean;
|
|
85
88
|
isSuccess: boolean;
|
|
86
89
|
isFailed: boolean;
|
|
87
90
|
isCancelled: boolean;
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
isTest: boolean;
|
|
92
|
+
updatedAt: Date;
|
|
93
|
+
costInCents: number;
|
|
94
|
+
baseCostInCents: number;
|
|
95
|
+
durationMs: number;
|
|
90
96
|
metadata?: Record<string, any> | undefined;
|
|
91
|
-
startedAt?: Date | undefined;
|
|
92
|
-
expiredAt?: Date | undefined;
|
|
93
97
|
version?: string | undefined;
|
|
98
|
+
idempotencyKey?: string | undefined;
|
|
99
|
+
ttl?: string | undefined;
|
|
94
100
|
batchId?: string | undefined;
|
|
101
|
+
startedAt?: Date | undefined;
|
|
95
102
|
finishedAt?: Date | undefined;
|
|
96
103
|
delayedUntil?: Date | undefined;
|
|
104
|
+
expiredAt?: Date | undefined;
|
|
97
105
|
} | undefined;
|
|
98
106
|
parent?: {
|
|
99
|
-
|
|
100
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
101
|
-
tags: string[];
|
|
107
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
102
108
|
id: string;
|
|
103
109
|
createdAt: Date;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
costInCents: number;
|
|
107
|
-
baseCostInCents: number;
|
|
108
|
-
durationMs: number;
|
|
110
|
+
tags: string[];
|
|
111
|
+
taskIdentifier: string;
|
|
109
112
|
depth: number;
|
|
110
|
-
triggerFunction: "
|
|
113
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
111
114
|
isQueued: boolean;
|
|
112
115
|
isExecuting: boolean;
|
|
113
116
|
isCompleted: boolean;
|
|
114
117
|
isSuccess: boolean;
|
|
115
118
|
isFailed: boolean;
|
|
116
119
|
isCancelled: boolean;
|
|
117
|
-
|
|
118
|
-
|
|
120
|
+
isTest: boolean;
|
|
121
|
+
updatedAt: Date;
|
|
122
|
+
costInCents: number;
|
|
123
|
+
baseCostInCents: number;
|
|
124
|
+
durationMs: number;
|
|
119
125
|
metadata?: Record<string, any> | undefined;
|
|
120
|
-
startedAt?: Date | undefined;
|
|
121
|
-
expiredAt?: Date | undefined;
|
|
122
126
|
version?: string | undefined;
|
|
127
|
+
idempotencyKey?: string | undefined;
|
|
128
|
+
ttl?: string | undefined;
|
|
123
129
|
batchId?: string | undefined;
|
|
130
|
+
startedAt?: Date | undefined;
|
|
124
131
|
finishedAt?: Date | undefined;
|
|
125
132
|
delayedUntil?: Date | undefined;
|
|
133
|
+
expiredAt?: Date | undefined;
|
|
126
134
|
} | undefined;
|
|
127
135
|
children?: {
|
|
128
|
-
|
|
129
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
130
|
-
tags: string[];
|
|
136
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
131
137
|
id: string;
|
|
132
138
|
createdAt: Date;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
costInCents: number;
|
|
136
|
-
baseCostInCents: number;
|
|
137
|
-
durationMs: number;
|
|
139
|
+
tags: string[];
|
|
140
|
+
taskIdentifier: string;
|
|
138
141
|
depth: number;
|
|
139
|
-
triggerFunction: "
|
|
142
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
140
143
|
isQueued: boolean;
|
|
141
144
|
isExecuting: boolean;
|
|
142
145
|
isCompleted: boolean;
|
|
143
146
|
isSuccess: boolean;
|
|
144
147
|
isFailed: boolean;
|
|
145
148
|
isCancelled: boolean;
|
|
146
|
-
|
|
147
|
-
|
|
149
|
+
isTest: boolean;
|
|
150
|
+
updatedAt: Date;
|
|
151
|
+
costInCents: number;
|
|
152
|
+
baseCostInCents: number;
|
|
153
|
+
durationMs: number;
|
|
148
154
|
metadata?: Record<string, any> | undefined;
|
|
149
|
-
startedAt?: Date | undefined;
|
|
150
|
-
expiredAt?: Date | undefined;
|
|
151
155
|
version?: string | undefined;
|
|
156
|
+
idempotencyKey?: string | undefined;
|
|
157
|
+
ttl?: string | undefined;
|
|
152
158
|
batchId?: string | undefined;
|
|
159
|
+
startedAt?: Date | undefined;
|
|
153
160
|
finishedAt?: Date | undefined;
|
|
154
161
|
delayedUntil?: Date | undefined;
|
|
162
|
+
expiredAt?: Date | undefined;
|
|
155
163
|
}[] | undefined;
|
|
156
164
|
};
|
|
157
|
-
depth: number;
|
|
158
|
-
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
159
|
-
isQueued: boolean;
|
|
160
|
-
isExecuting: boolean;
|
|
161
|
-
isCompleted: boolean;
|
|
162
|
-
isSuccess: boolean;
|
|
163
|
-
isFailed: boolean;
|
|
164
|
-
isCancelled: boolean;
|
|
165
165
|
attempts: ({
|
|
166
|
-
status: "
|
|
166
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
167
167
|
id: string;
|
|
168
168
|
createdAt: Date;
|
|
169
169
|
updatedAt: Date;
|
|
@@ -176,19 +176,6 @@ export declare class ApiClient {
|
|
|
176
176
|
completedAt?: Date | undefined;
|
|
177
177
|
} | undefined)[];
|
|
178
178
|
attemptCount: number;
|
|
179
|
-
output?: any;
|
|
180
|
-
payload?: any;
|
|
181
|
-
idempotencyKey?: string | undefined;
|
|
182
|
-
ttl?: string | undefined;
|
|
183
|
-
metadata?: Record<string, any> | undefined;
|
|
184
|
-
error?: {
|
|
185
|
-
message: string;
|
|
186
|
-
name?: string | undefined;
|
|
187
|
-
stackTrace?: string | undefined;
|
|
188
|
-
} | undefined;
|
|
189
|
-
startedAt?: Date | undefined;
|
|
190
|
-
expiredAt?: Date | undefined;
|
|
191
|
-
version?: string | undefined;
|
|
192
179
|
schedule?: {
|
|
193
180
|
id: string;
|
|
194
181
|
generator: {
|
|
@@ -199,11 +186,24 @@ export declare class ApiClient {
|
|
|
199
186
|
externalId?: string | undefined;
|
|
200
187
|
deduplicationKey?: string | undefined;
|
|
201
188
|
} | undefined;
|
|
202
|
-
|
|
203
|
-
|
|
189
|
+
metadata?: Record<string, any> | undefined;
|
|
190
|
+
version?: string | undefined;
|
|
191
|
+
payload?: any;
|
|
192
|
+
idempotencyKey?: string | undefined;
|
|
193
|
+
ttl?: string | undefined;
|
|
204
194
|
batchId?: string | undefined;
|
|
195
|
+
error?: {
|
|
196
|
+
message: string;
|
|
197
|
+
name?: string | undefined;
|
|
198
|
+
stackTrace?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
startedAt?: Date | undefined;
|
|
205
201
|
finishedAt?: Date | undefined;
|
|
206
202
|
delayedUntil?: Date | undefined;
|
|
203
|
+
expiredAt?: Date | undefined;
|
|
204
|
+
payloadPresignedUrl?: string | undefined;
|
|
205
|
+
output?: any;
|
|
206
|
+
outputPresignedUrl?: string | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
listRuns(query?: ListRunsQueryParams, requestOptions?: ZodFetchOptions): CursorPagePromise<typeof ListRunResponseItem>;
|
|
209
209
|
listProjectRuns(projectRef: string, query?: ListProjectRunsQueryParams, requestOptions?: ZodFetchOptions): CursorPagePromise<typeof ListRunResponseItem>;
|
|
@@ -214,115 +214,115 @@ export declare class ApiClient {
|
|
|
214
214
|
id: string;
|
|
215
215
|
}>;
|
|
216
216
|
rescheduleRun(runId: string, body: RescheduleRunRequestBody, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
217
|
-
|
|
218
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
219
|
-
tags: string[];
|
|
217
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
220
218
|
id: string;
|
|
221
219
|
createdAt: Date;
|
|
222
|
-
|
|
220
|
+
tags: string[];
|
|
221
|
+
taskIdentifier: string;
|
|
222
|
+
depth: number;
|
|
223
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
224
|
+
isQueued: boolean;
|
|
225
|
+
isExecuting: boolean;
|
|
226
|
+
isCompleted: boolean;
|
|
227
|
+
isSuccess: boolean;
|
|
228
|
+
isFailed: boolean;
|
|
229
|
+
isCancelled: boolean;
|
|
223
230
|
isTest: boolean;
|
|
231
|
+
updatedAt: Date;
|
|
224
232
|
costInCents: number;
|
|
225
233
|
baseCostInCents: number;
|
|
226
234
|
durationMs: number;
|
|
227
235
|
relatedRuns: {
|
|
228
236
|
root?: {
|
|
229
|
-
|
|
230
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
231
|
-
tags: string[];
|
|
237
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
232
238
|
id: string;
|
|
233
239
|
createdAt: Date;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
costInCents: number;
|
|
237
|
-
baseCostInCents: number;
|
|
238
|
-
durationMs: number;
|
|
240
|
+
tags: string[];
|
|
241
|
+
taskIdentifier: string;
|
|
239
242
|
depth: number;
|
|
240
|
-
triggerFunction: "
|
|
243
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
241
244
|
isQueued: boolean;
|
|
242
245
|
isExecuting: boolean;
|
|
243
246
|
isCompleted: boolean;
|
|
244
247
|
isSuccess: boolean;
|
|
245
248
|
isFailed: boolean;
|
|
246
249
|
isCancelled: boolean;
|
|
247
|
-
|
|
248
|
-
|
|
250
|
+
isTest: boolean;
|
|
251
|
+
updatedAt: Date;
|
|
252
|
+
costInCents: number;
|
|
253
|
+
baseCostInCents: number;
|
|
254
|
+
durationMs: number;
|
|
249
255
|
metadata?: Record<string, any> | undefined;
|
|
250
|
-
startedAt?: Date | undefined;
|
|
251
|
-
expiredAt?: Date | undefined;
|
|
252
256
|
version?: string | undefined;
|
|
257
|
+
idempotencyKey?: string | undefined;
|
|
258
|
+
ttl?: string | undefined;
|
|
253
259
|
batchId?: string | undefined;
|
|
260
|
+
startedAt?: Date | undefined;
|
|
254
261
|
finishedAt?: Date | undefined;
|
|
255
262
|
delayedUntil?: Date | undefined;
|
|
263
|
+
expiredAt?: Date | undefined;
|
|
256
264
|
} | undefined;
|
|
257
265
|
parent?: {
|
|
258
|
-
|
|
259
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
260
|
-
tags: string[];
|
|
266
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
261
267
|
id: string;
|
|
262
268
|
createdAt: Date;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
costInCents: number;
|
|
266
|
-
baseCostInCents: number;
|
|
267
|
-
durationMs: number;
|
|
269
|
+
tags: string[];
|
|
270
|
+
taskIdentifier: string;
|
|
268
271
|
depth: number;
|
|
269
|
-
triggerFunction: "
|
|
272
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
270
273
|
isQueued: boolean;
|
|
271
274
|
isExecuting: boolean;
|
|
272
275
|
isCompleted: boolean;
|
|
273
276
|
isSuccess: boolean;
|
|
274
277
|
isFailed: boolean;
|
|
275
278
|
isCancelled: boolean;
|
|
276
|
-
|
|
277
|
-
|
|
279
|
+
isTest: boolean;
|
|
280
|
+
updatedAt: Date;
|
|
281
|
+
costInCents: number;
|
|
282
|
+
baseCostInCents: number;
|
|
283
|
+
durationMs: number;
|
|
278
284
|
metadata?: Record<string, any> | undefined;
|
|
279
|
-
startedAt?: Date | undefined;
|
|
280
|
-
expiredAt?: Date | undefined;
|
|
281
285
|
version?: string | undefined;
|
|
286
|
+
idempotencyKey?: string | undefined;
|
|
287
|
+
ttl?: string | undefined;
|
|
282
288
|
batchId?: string | undefined;
|
|
289
|
+
startedAt?: Date | undefined;
|
|
283
290
|
finishedAt?: Date | undefined;
|
|
284
291
|
delayedUntil?: Date | undefined;
|
|
292
|
+
expiredAt?: Date | undefined;
|
|
285
293
|
} | undefined;
|
|
286
294
|
children?: {
|
|
287
|
-
|
|
288
|
-
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
289
|
-
tags: string[];
|
|
295
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
290
296
|
id: string;
|
|
291
297
|
createdAt: Date;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
costInCents: number;
|
|
295
|
-
baseCostInCents: number;
|
|
296
|
-
durationMs: number;
|
|
298
|
+
tags: string[];
|
|
299
|
+
taskIdentifier: string;
|
|
297
300
|
depth: number;
|
|
298
|
-
triggerFunction: "
|
|
301
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
299
302
|
isQueued: boolean;
|
|
300
303
|
isExecuting: boolean;
|
|
301
304
|
isCompleted: boolean;
|
|
302
305
|
isSuccess: boolean;
|
|
303
306
|
isFailed: boolean;
|
|
304
307
|
isCancelled: boolean;
|
|
305
|
-
|
|
306
|
-
|
|
308
|
+
isTest: boolean;
|
|
309
|
+
updatedAt: Date;
|
|
310
|
+
costInCents: number;
|
|
311
|
+
baseCostInCents: number;
|
|
312
|
+
durationMs: number;
|
|
307
313
|
metadata?: Record<string, any> | undefined;
|
|
308
|
-
startedAt?: Date | undefined;
|
|
309
|
-
expiredAt?: Date | undefined;
|
|
310
314
|
version?: string | undefined;
|
|
315
|
+
idempotencyKey?: string | undefined;
|
|
316
|
+
ttl?: string | undefined;
|
|
311
317
|
batchId?: string | undefined;
|
|
318
|
+
startedAt?: Date | undefined;
|
|
312
319
|
finishedAt?: Date | undefined;
|
|
313
320
|
delayedUntil?: Date | undefined;
|
|
321
|
+
expiredAt?: Date | undefined;
|
|
314
322
|
}[] | undefined;
|
|
315
323
|
};
|
|
316
|
-
depth: number;
|
|
317
|
-
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
318
|
-
isQueued: boolean;
|
|
319
|
-
isExecuting: boolean;
|
|
320
|
-
isCompleted: boolean;
|
|
321
|
-
isSuccess: boolean;
|
|
322
|
-
isFailed: boolean;
|
|
323
|
-
isCancelled: boolean;
|
|
324
324
|
attempts: ({
|
|
325
|
-
status: "
|
|
325
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
326
326
|
id: string;
|
|
327
327
|
createdAt: Date;
|
|
328
328
|
updatedAt: Date;
|
|
@@ -335,19 +335,6 @@ export declare class ApiClient {
|
|
|
335
335
|
completedAt?: Date | undefined;
|
|
336
336
|
} | undefined)[];
|
|
337
337
|
attemptCount: number;
|
|
338
|
-
output?: any;
|
|
339
|
-
payload?: any;
|
|
340
|
-
idempotencyKey?: string | undefined;
|
|
341
|
-
ttl?: string | undefined;
|
|
342
|
-
metadata?: Record<string, any> | undefined;
|
|
343
|
-
error?: {
|
|
344
|
-
message: string;
|
|
345
|
-
name?: string | undefined;
|
|
346
|
-
stackTrace?: string | undefined;
|
|
347
|
-
} | undefined;
|
|
348
|
-
startedAt?: Date | undefined;
|
|
349
|
-
expiredAt?: Date | undefined;
|
|
350
|
-
version?: string | undefined;
|
|
351
338
|
schedule?: {
|
|
352
339
|
id: string;
|
|
353
340
|
generator: {
|
|
@@ -358,11 +345,24 @@ export declare class ApiClient {
|
|
|
358
345
|
externalId?: string | undefined;
|
|
359
346
|
deduplicationKey?: string | undefined;
|
|
360
347
|
} | undefined;
|
|
361
|
-
|
|
362
|
-
|
|
348
|
+
metadata?: Record<string, any> | undefined;
|
|
349
|
+
version?: string | undefined;
|
|
350
|
+
payload?: any;
|
|
351
|
+
idempotencyKey?: string | undefined;
|
|
352
|
+
ttl?: string | undefined;
|
|
363
353
|
batchId?: string | undefined;
|
|
354
|
+
error?: {
|
|
355
|
+
message: string;
|
|
356
|
+
name?: string | undefined;
|
|
357
|
+
stackTrace?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
startedAt?: Date | undefined;
|
|
364
360
|
finishedAt?: Date | undefined;
|
|
365
361
|
delayedUntil?: Date | undefined;
|
|
362
|
+
expiredAt?: Date | undefined;
|
|
363
|
+
payloadPresignedUrl?: string | undefined;
|
|
364
|
+
output?: any;
|
|
365
|
+
outputPresignedUrl?: string | undefined;
|
|
366
366
|
}>;
|
|
367
367
|
addTags(runId: string, body: AddTagsRequestBody, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
368
368
|
message: string;
|
|
@@ -370,14 +370,14 @@ export declare class ApiClient {
|
|
|
370
370
|
createSchedule(options: CreateScheduleOptions, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
371
371
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
372
372
|
id: string;
|
|
373
|
-
task: string;
|
|
374
373
|
timezone: string;
|
|
374
|
+
task: string;
|
|
375
|
+
active: boolean;
|
|
375
376
|
generator: {
|
|
376
377
|
type: "CRON";
|
|
377
378
|
description: string;
|
|
378
379
|
expression: string;
|
|
379
380
|
};
|
|
380
|
-
active: boolean;
|
|
381
381
|
environments: {
|
|
382
382
|
type: string;
|
|
383
383
|
id: string;
|
|
@@ -425,14 +425,14 @@ export declare class ApiClient {
|
|
|
425
425
|
}, "strip", z.ZodTypeAny, {
|
|
426
426
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
427
427
|
id: string;
|
|
428
|
-
task: string;
|
|
429
428
|
timezone: string;
|
|
429
|
+
task: string;
|
|
430
|
+
active: boolean;
|
|
430
431
|
generator: {
|
|
431
432
|
type: "CRON";
|
|
432
433
|
description: string;
|
|
433
434
|
expression: string;
|
|
434
435
|
};
|
|
435
|
-
active: boolean;
|
|
436
436
|
environments: {
|
|
437
437
|
type: string;
|
|
438
438
|
id: string;
|
|
@@ -444,14 +444,14 @@ export declare class ApiClient {
|
|
|
444
444
|
}, {
|
|
445
445
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
446
446
|
id: string;
|
|
447
|
-
task: string;
|
|
448
447
|
timezone: string;
|
|
448
|
+
task: string;
|
|
449
|
+
active: boolean;
|
|
449
450
|
generator: {
|
|
450
451
|
type: "CRON";
|
|
451
452
|
description: string;
|
|
452
453
|
expression: string;
|
|
453
454
|
};
|
|
454
|
-
active: boolean;
|
|
455
455
|
environments: {
|
|
456
456
|
type: string;
|
|
457
457
|
id: string;
|
|
@@ -464,14 +464,14 @@ export declare class ApiClient {
|
|
|
464
464
|
retrieveSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
465
465
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
466
466
|
id: string;
|
|
467
|
-
task: string;
|
|
468
467
|
timezone: string;
|
|
468
|
+
task: string;
|
|
469
|
+
active: boolean;
|
|
469
470
|
generator: {
|
|
470
471
|
type: "CRON";
|
|
471
472
|
description: string;
|
|
472
473
|
expression: string;
|
|
473
474
|
};
|
|
474
|
-
active: boolean;
|
|
475
475
|
environments: {
|
|
476
476
|
type: string;
|
|
477
477
|
id: string;
|
|
@@ -484,14 +484,14 @@ export declare class ApiClient {
|
|
|
484
484
|
updateSchedule(scheduleId: string, options: UpdateScheduleOptions, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
485
485
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
486
486
|
id: string;
|
|
487
|
-
task: string;
|
|
488
487
|
timezone: string;
|
|
488
|
+
task: string;
|
|
489
|
+
active: boolean;
|
|
489
490
|
generator: {
|
|
490
491
|
type: "CRON";
|
|
491
492
|
description: string;
|
|
492
493
|
expression: string;
|
|
493
494
|
};
|
|
494
|
-
active: boolean;
|
|
495
495
|
environments: {
|
|
496
496
|
type: string;
|
|
497
497
|
id: string;
|
|
@@ -504,14 +504,14 @@ export declare class ApiClient {
|
|
|
504
504
|
deactivateSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
505
505
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
506
506
|
id: string;
|
|
507
|
-
task: string;
|
|
508
507
|
timezone: string;
|
|
508
|
+
task: string;
|
|
509
|
+
active: boolean;
|
|
509
510
|
generator: {
|
|
510
511
|
type: "CRON";
|
|
511
512
|
description: string;
|
|
512
513
|
expression: string;
|
|
513
514
|
};
|
|
514
|
-
active: boolean;
|
|
515
515
|
environments: {
|
|
516
516
|
type: string;
|
|
517
517
|
id: string;
|
|
@@ -524,14 +524,14 @@ export declare class ApiClient {
|
|
|
524
524
|
activateSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
525
525
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
526
526
|
id: string;
|
|
527
|
-
task: string;
|
|
528
527
|
timezone: string;
|
|
528
|
+
task: string;
|
|
529
|
+
active: boolean;
|
|
529
530
|
generator: {
|
|
530
531
|
type: "CRON";
|
|
531
532
|
description: string;
|
|
532
533
|
expression: string;
|
|
533
534
|
};
|
|
534
|
-
active: boolean;
|
|
535
535
|
environments: {
|
|
536
536
|
type: string;
|
|
537
537
|
id: string;
|
|
@@ -577,7 +577,7 @@ export declare class ApiClient {
|
|
|
577
577
|
}): RunSubscription<TRunTypes>;
|
|
578
578
|
generateJWTClaims(requestOptions?: ZodFetchOptions): Promise<Record<string, any>>;
|
|
579
579
|
retrieveBatch(batchId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
|
|
580
|
-
status: "
|
|
580
|
+
status: "PENDING" | "COMPLETED";
|
|
581
581
|
id: string;
|
|
582
582
|
createdAt: Date;
|
|
583
583
|
updatedAt: Date;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RunSubscription = exports.SSEStreamSubscriptionFactory = exports.SSEStreamSubscription = void 0;
|
|
4
4
|
exports.runShapeStream = runShapeStream;
|
|
5
|
+
const errors_js_1 = require("../errors.js");
|
|
5
6
|
const api_js_1 = require("../schemas/api.js");
|
|
6
7
|
const getEnv_js_1 = require("../utils/getEnv.js");
|
|
7
8
|
const ioSerialization_js_1 = require("../utils/ioSerialization.js");
|
|
8
|
-
const
|
|
9
|
+
const errors_js_2 = require("./errors.js");
|
|
9
10
|
const stream_js_1 = require("./stream.js");
|
|
10
11
|
const stream_1 = require("eventsource-parser/stream");
|
|
11
12
|
function runShapeStream(url, options) {
|
|
@@ -40,7 +41,7 @@ class SSEStreamSubscription {
|
|
|
40
41
|
signal: this.options.signal,
|
|
41
42
|
}).then((response) => {
|
|
42
43
|
if (!response.ok) {
|
|
43
|
-
throw
|
|
44
|
+
throw errors_js_2.ApiError.generate(response.status, {}, "Could not subscribe to stream", Object.fromEntries(response.headers));
|
|
44
45
|
}
|
|
45
46
|
if (!response.body) {
|
|
46
47
|
throw new Error("No response body");
|
|
@@ -210,7 +211,7 @@ class RunSubscription {
|
|
|
210
211
|
startedAt: row.startedAt ?? undefined,
|
|
211
212
|
delayedUntil: row.delayUntil ?? undefined,
|
|
212
213
|
queuedAt: row.queuedAt ?? undefined,
|
|
213
|
-
error: row.error
|
|
214
|
+
error: row.error ? (0, errors_js_1.createJsonErrorObject)(row.error) : undefined,
|
|
214
215
|
isTest: row.isTest,
|
|
215
216
|
metadata,
|
|
216
217
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runStream.js","sourceRoot":"","sources":["../../../../src/v3/apiClient/runStream.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"runStream.js","sourceRoot":"","sources":["../../../../src/v3/apiClient/runStream.ts"],"names":[],"mappings":";;;AA4EA,wCAqBC;AAhGD,4CAAqD;AACrD,8CAAoE;AAGpE,kDAA+C;AAC/C,oEAIqC;AACrC,2CAAuC;AAEvC,2CAA6F;AAC7F,sDAAoE;AA8DpE,SAAgB,cAAc,CAC5B,GAAW,EACX,OAA+B;IAE/B,MAAM,QAAQ,GAA2B;QACvC,QAAQ,EAAE;YACR,KAAK,CAAC,OAAO,CAAC,QAAQ;gBACpB,OAAO,IAAA,0BAAc,EAAC,6BAAoB,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;YACtE,CAAC;SACF;QACD,aAAa,EAAE,IAAI,4BAA4B,CAC7C,IAAA,qBAAS,EAAC,oBAAoB,EAAE,IAAA,qBAAS,EAAC,iBAAiB,CAAC,CAAC,IAAI,yBAAyB,EAC1F;YACE,OAAO,EAAE,OAAO,EAAE,OAAO;YACzB,MAAM,EAAE,OAAO,EAAE,MAAM;SACxB,CACF;QACD,GAAG,OAAO;KACX,CAAC;IAEF,OAAO,IAAI,eAAe,CAAY,QAAQ,CAAC,CAAC;AAClD,CAAC;AAWD,qCAAqC;AACrC,MAAa,qBAAqB;IAEtB;IACA;IAFV,YACU,GAAW,EACX,OAAmE;QADnE,QAAG,GAAH,GAAG,C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