@trigger.dev/core 4.0.4 → 4.0.5
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 +80 -1
- package/dist/commonjs/v3/apiClient/index.js +27 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/errors.d.ts +5 -0
- package/dist/commonjs/v3/errors.js +12 -1
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +5 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +31 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +4 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +31 -0
- package/dist/commonjs/v3/schemas/api.d.ts +36 -8
- package/dist/commonjs/v3/schemas/api.js +15 -4
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +15 -0
- package/dist/commonjs/v3/schemas/messages.js +7 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +183 -0
- package/dist/commonjs/v3/schemas/openTelemetry.js +20 -2
- package/dist/commonjs/v3/schemas/openTelemetry.js.map +1 -1
- package/dist/commonjs/v3/schemas/queues.d.ts +41 -2
- package/dist/commonjs/v3/schemas/queues.js +17 -2
- package/dist/commonjs/v3/schemas/queues.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +25 -0
- package/dist/commonjs/v3/schemas/runEngine.js +1 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +3 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +3 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/resourceMonitor.d.ts +190 -0
- package/dist/commonjs/v3/serverOnly/resourceMonitor.js +596 -0
- package/dist/commonjs/v3/serverOnly/resourceMonitor.js.map +1 -0
- package/dist/commonjs/v3/timeout/api.d.ts +1 -0
- package/dist/commonjs/v3/timeout/api.js +6 -0
- package/dist/commonjs/v3/timeout/api.js.map +1 -1
- package/dist/commonjs/v3/timeout/types.d.ts +1 -0
- package/dist/commonjs/v3/timeout/types.js.map +1 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +2 -0
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js +10 -1
- package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.d.ts +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js +4 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +4 -16
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/v3/workers/warmStartClient.d.ts +3 -0
- package/dist/commonjs/v3/workers/warmStartClient.js +67 -28
- package/dist/commonjs/v3/workers/warmStartClient.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +80 -1
- package/dist/esm/v3/apiClient/index.js +27 -0
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/errors.d.ts +5 -0
- package/dist/esm/v3/errors.js +10 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +5 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +31 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +4 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +31 -0
- package/dist/esm/v3/schemas/api.d.ts +36 -8
- package/dist/esm/v3/schemas/api.js +12 -1
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +15 -0
- package/dist/esm/v3/schemas/messages.js +7 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/openTelemetry.d.ts +183 -0
- package/dist/esm/v3/schemas/openTelemetry.js +18 -1
- package/dist/esm/v3/schemas/openTelemetry.js.map +1 -1
- package/dist/esm/v3/schemas/queues.d.ts +41 -2
- package/dist/esm/v3/schemas/queues.js +17 -2
- package/dist/esm/v3/schemas/queues.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +25 -0
- package/dist/esm/v3/schemas/runEngine.js +1 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/semanticInternalAttributes.d.ts +3 -0
- package/dist/esm/v3/semanticInternalAttributes.js +3 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/serverOnly/resourceMonitor.d.ts +190 -0
- package/dist/esm/v3/serverOnly/resourceMonitor.js +589 -0
- package/dist/esm/v3/serverOnly/resourceMonitor.js.map +1 -0
- package/dist/esm/v3/timeout/api.d.ts +1 -0
- package/dist/esm/v3/timeout/api.js +6 -0
- package/dist/esm/v3/timeout/api.js.map +1 -1
- package/dist/esm/v3/timeout/types.d.ts +1 -0
- package/dist/esm/v3/timeout/types.js.map +1 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +2 -0
- package/dist/esm/v3/timeout/usageTimeoutManager.js +10 -1
- package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -1
- package/dist/esm/v3/utils/flattenAttributes.d.ts +1 -1
- package/dist/esm/v3/utils/flattenAttributes.js +4 -1
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +5 -17
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/v3/workers/warmStartClient.d.ts +3 -0
- package/dist/esm/v3/workers/warmStartClient.js +67 -28
- package/dist/esm/v3/workers/warmStartClient.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
|
@@ -129,16 +129,19 @@ export declare const WorkerApiContinueRunExecutionRequestBody: z.ZodObject<{
|
|
|
129
129
|
friendlyId: z.ZodString;
|
|
130
130
|
status: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunStatus]>;
|
|
131
131
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
132
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
132
133
|
}, "strip", z.ZodTypeAny, {
|
|
133
134
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
134
135
|
id: string;
|
|
135
136
|
friendlyId: string;
|
|
136
137
|
attemptNumber?: number | null | undefined;
|
|
138
|
+
taskEventStore?: string | undefined;
|
|
137
139
|
}, {
|
|
138
140
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
139
141
|
id: string;
|
|
140
142
|
friendlyId: string;
|
|
141
143
|
attemptNumber?: number | null | undefined;
|
|
144
|
+
taskEventStore?: string | undefined;
|
|
142
145
|
}>;
|
|
143
146
|
}, "strip", z.ZodTypeAny, {
|
|
144
147
|
run: {
|
|
@@ -146,6 +149,7 @@ export declare const WorkerApiContinueRunExecutionRequestBody: z.ZodObject<{
|
|
|
146
149
|
id: string;
|
|
147
150
|
friendlyId: string;
|
|
148
151
|
attemptNumber?: number | null | undefined;
|
|
152
|
+
taskEventStore?: string | undefined;
|
|
149
153
|
};
|
|
150
154
|
snapshot: {
|
|
151
155
|
id: string;
|
|
@@ -160,6 +164,7 @@ export declare const WorkerApiContinueRunExecutionRequestBody: z.ZodObject<{
|
|
|
160
164
|
id: string;
|
|
161
165
|
friendlyId: string;
|
|
162
166
|
attemptNumber?: number | null | undefined;
|
|
167
|
+
taskEventStore?: string | undefined;
|
|
163
168
|
};
|
|
164
169
|
snapshot: {
|
|
165
170
|
id: string;
|
|
@@ -695,16 +700,19 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
695
700
|
friendlyId: z.ZodString;
|
|
696
701
|
status: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunStatus]>;
|
|
697
702
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
703
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
698
704
|
}, "strip", z.ZodTypeAny, {
|
|
699
705
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
700
706
|
id: string;
|
|
701
707
|
friendlyId: string;
|
|
702
708
|
attemptNumber?: number | null | undefined;
|
|
709
|
+
taskEventStore?: string | undefined;
|
|
703
710
|
}, {
|
|
704
711
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
705
712
|
id: string;
|
|
706
713
|
friendlyId: string;
|
|
707
714
|
attemptNumber?: number | null | undefined;
|
|
715
|
+
taskEventStore?: string | undefined;
|
|
708
716
|
}>;
|
|
709
717
|
}, "strip", z.ZodTypeAny, {
|
|
710
718
|
run: {
|
|
@@ -712,6 +720,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
712
720
|
id: string;
|
|
713
721
|
friendlyId: string;
|
|
714
722
|
attemptNumber?: number | null | undefined;
|
|
723
|
+
taskEventStore?: string | undefined;
|
|
715
724
|
};
|
|
716
725
|
snapshot: {
|
|
717
726
|
id: string;
|
|
@@ -726,6 +735,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
726
735
|
id: string;
|
|
727
736
|
friendlyId: string;
|
|
728
737
|
attemptNumber?: number | null | undefined;
|
|
738
|
+
taskEventStore?: string | undefined;
|
|
729
739
|
};
|
|
730
740
|
snapshot: {
|
|
731
741
|
id: string;
|
|
@@ -3094,16 +3104,19 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
3094
3104
|
friendlyId: z.ZodString;
|
|
3095
3105
|
status: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunStatus]>;
|
|
3096
3106
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3107
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
3097
3108
|
}, "strip", z.ZodTypeAny, {
|
|
3098
3109
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3099
3110
|
id: string;
|
|
3100
3111
|
friendlyId: string;
|
|
3101
3112
|
attemptNumber?: number | null | undefined;
|
|
3113
|
+
taskEventStore?: string | undefined;
|
|
3102
3114
|
}, {
|
|
3103
3115
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3104
3116
|
id: string;
|
|
3105
3117
|
friendlyId: string;
|
|
3106
3118
|
attemptNumber?: number | null | undefined;
|
|
3119
|
+
taskEventStore?: string | undefined;
|
|
3107
3120
|
}>;
|
|
3108
3121
|
}, "strip", z.ZodTypeAny, {
|
|
3109
3122
|
run: {
|
|
@@ -3111,6 +3124,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
3111
3124
|
id: string;
|
|
3112
3125
|
friendlyId: string;
|
|
3113
3126
|
attemptNumber?: number | null | undefined;
|
|
3127
|
+
taskEventStore?: string | undefined;
|
|
3114
3128
|
};
|
|
3115
3129
|
snapshot: {
|
|
3116
3130
|
id: string;
|
|
@@ -3125,6 +3139,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
3125
3139
|
id: string;
|
|
3126
3140
|
friendlyId: string;
|
|
3127
3141
|
attemptNumber?: number | null | undefined;
|
|
3142
|
+
taskEventStore?: string | undefined;
|
|
3128
3143
|
};
|
|
3129
3144
|
snapshot: {
|
|
3130
3145
|
id: string;
|
|
@@ -3143,6 +3158,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
3143
3158
|
id: string;
|
|
3144
3159
|
friendlyId: string;
|
|
3145
3160
|
attemptNumber?: number | null | undefined;
|
|
3161
|
+
taskEventStore?: string | undefined;
|
|
3146
3162
|
};
|
|
3147
3163
|
snapshot: {
|
|
3148
3164
|
id: string;
|
|
@@ -3161,6 +3177,7 @@ export declare const WorkerApiRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
3161
3177
|
id: string;
|
|
3162
3178
|
friendlyId: string;
|
|
3163
3179
|
attemptNumber?: number | null | undefined;
|
|
3180
|
+
taskEventStore?: string | undefined;
|
|
3164
3181
|
};
|
|
3165
3182
|
snapshot: {
|
|
3166
3183
|
id: string;
|
|
@@ -3199,16 +3216,19 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3199
3216
|
friendlyId: z.ZodString;
|
|
3200
3217
|
status: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunStatus]>;
|
|
3201
3218
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3219
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
3202
3220
|
}, "strip", z.ZodTypeAny, {
|
|
3203
3221
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3204
3222
|
id: string;
|
|
3205
3223
|
friendlyId: string;
|
|
3206
3224
|
attemptNumber?: number | null | undefined;
|
|
3225
|
+
taskEventStore?: string | undefined;
|
|
3207
3226
|
}, {
|
|
3208
3227
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
3209
3228
|
id: string;
|
|
3210
3229
|
friendlyId: string;
|
|
3211
3230
|
attemptNumber?: number | null | undefined;
|
|
3231
|
+
taskEventStore?: string | undefined;
|
|
3212
3232
|
}>;
|
|
3213
3233
|
batch: z.ZodOptional<z.ZodObject<{
|
|
3214
3234
|
id: z.ZodString;
|
|
@@ -3346,6 +3366,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3346
3366
|
id: string;
|
|
3347
3367
|
friendlyId: string;
|
|
3348
3368
|
attemptNumber?: number | null | undefined;
|
|
3369
|
+
taskEventStore?: string | undefined;
|
|
3349
3370
|
};
|
|
3350
3371
|
snapshot: {
|
|
3351
3372
|
id: string;
|
|
@@ -3397,6 +3418,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3397
3418
|
id: string;
|
|
3398
3419
|
friendlyId: string;
|
|
3399
3420
|
attemptNumber?: number | null | undefined;
|
|
3421
|
+
taskEventStore?: string | undefined;
|
|
3400
3422
|
};
|
|
3401
3423
|
snapshot: {
|
|
3402
3424
|
id: string;
|
|
@@ -3450,6 +3472,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3450
3472
|
id: string;
|
|
3451
3473
|
friendlyId: string;
|
|
3452
3474
|
attemptNumber?: number | null | undefined;
|
|
3475
|
+
taskEventStore?: string | undefined;
|
|
3453
3476
|
};
|
|
3454
3477
|
snapshot: {
|
|
3455
3478
|
id: string;
|
|
@@ -3503,6 +3526,7 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3503
3526
|
id: string;
|
|
3504
3527
|
friendlyId: string;
|
|
3505
3528
|
attemptNumber?: number | null | undefined;
|
|
3529
|
+
taskEventStore?: string | undefined;
|
|
3506
3530
|
};
|
|
3507
3531
|
snapshot: {
|
|
3508
3532
|
id: string;
|
|
@@ -4034,16 +4058,19 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
4034
4058
|
friendlyId: z.ZodString;
|
|
4035
4059
|
status: z.ZodEnum<[import("../../schemas/runEngine.js").TaskRunStatus]>;
|
|
4036
4060
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4061
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
4037
4062
|
}, "strip", z.ZodTypeAny, {
|
|
4038
4063
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
4039
4064
|
id: string;
|
|
4040
4065
|
friendlyId: string;
|
|
4041
4066
|
attemptNumber?: number | null | undefined;
|
|
4067
|
+
taskEventStore?: string | undefined;
|
|
4042
4068
|
}, {
|
|
4043
4069
|
status: import("../../schemas/runEngine.js").TaskRunStatus;
|
|
4044
4070
|
id: string;
|
|
4045
4071
|
friendlyId: string;
|
|
4046
4072
|
attemptNumber?: number | null | undefined;
|
|
4073
|
+
taskEventStore?: string | undefined;
|
|
4047
4074
|
}>;
|
|
4048
4075
|
batch: z.ZodOptional<z.ZodObject<{
|
|
4049
4076
|
id: z.ZodString;
|
|
@@ -4181,6 +4208,7 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
4181
4208
|
id: string;
|
|
4182
4209
|
friendlyId: string;
|
|
4183
4210
|
attemptNumber?: number | null | undefined;
|
|
4211
|
+
taskEventStore?: string | undefined;
|
|
4184
4212
|
};
|
|
4185
4213
|
snapshot: {
|
|
4186
4214
|
id: string;
|
|
@@ -4232,6 +4260,7 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
4232
4260
|
id: string;
|
|
4233
4261
|
friendlyId: string;
|
|
4234
4262
|
attemptNumber?: number | null | undefined;
|
|
4263
|
+
taskEventStore?: string | undefined;
|
|
4235
4264
|
};
|
|
4236
4265
|
snapshot: {
|
|
4237
4266
|
id: string;
|
|
@@ -4285,6 +4314,7 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
4285
4314
|
id: string;
|
|
4286
4315
|
friendlyId: string;
|
|
4287
4316
|
attemptNumber?: number | null | undefined;
|
|
4317
|
+
taskEventStore?: string | undefined;
|
|
4288
4318
|
};
|
|
4289
4319
|
snapshot: {
|
|
4290
4320
|
id: string;
|
|
@@ -4338,6 +4368,7 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
4338
4368
|
id: string;
|
|
4339
4369
|
friendlyId: string;
|
|
4340
4370
|
attemptNumber?: number | null | undefined;
|
|
4371
|
+
taskEventStore?: string | undefined;
|
|
4341
4372
|
};
|
|
4342
4373
|
snapshot: {
|
|
4343
4374
|
id: string;
|
|
@@ -40,6 +40,7 @@ export declare class WorkloadHttpClient {
|
|
|
40
40
|
id: string;
|
|
41
41
|
friendlyId: string;
|
|
42
42
|
attemptNumber?: number | null | undefined;
|
|
43
|
+
taskEventStore?: string | undefined;
|
|
43
44
|
};
|
|
44
45
|
snapshot: {
|
|
45
46
|
id: string;
|
|
@@ -56,6 +57,7 @@ export declare class WorkloadHttpClient {
|
|
|
56
57
|
id: string;
|
|
57
58
|
friendlyId: string;
|
|
58
59
|
attemptNumber?: number | null | undefined;
|
|
60
|
+
taskEventStore?: string | undefined;
|
|
59
61
|
};
|
|
60
62
|
snapshot: {
|
|
61
63
|
id: string;
|
|
@@ -181,6 +183,7 @@ export declare class WorkloadHttpClient {
|
|
|
181
183
|
id: string;
|
|
182
184
|
friendlyId: string;
|
|
183
185
|
attemptNumber?: number | null | undefined;
|
|
186
|
+
taskEventStore?: string | undefined;
|
|
184
187
|
};
|
|
185
188
|
snapshot: {
|
|
186
189
|
id: string;
|
|
@@ -205,6 +208,7 @@ export declare class WorkloadHttpClient {
|
|
|
205
208
|
id: string;
|
|
206
209
|
friendlyId: string;
|
|
207
210
|
attemptNumber?: number | null | undefined;
|
|
211
|
+
taskEventStore?: string | undefined;
|
|
208
212
|
};
|
|
209
213
|
snapshot: {
|
|
210
214
|
id: string;
|
|
@@ -60,16 +60,19 @@ export declare const WorkloadContinueRunExecutionResponseBody: z.ZodObject<{
|
|
|
60
60
|
friendlyId: z.ZodString;
|
|
61
61
|
status: z.ZodEnum<[import("../../index.js").TaskRunStatus]>;
|
|
62
62
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
63
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
63
64
|
}, "strip", z.ZodTypeAny, {
|
|
64
65
|
status: import("../../index.js").TaskRunStatus;
|
|
65
66
|
id: string;
|
|
66
67
|
friendlyId: string;
|
|
67
68
|
attemptNumber?: number | null | undefined;
|
|
69
|
+
taskEventStore?: string | undefined;
|
|
68
70
|
}, {
|
|
69
71
|
status: import("../../index.js").TaskRunStatus;
|
|
70
72
|
id: string;
|
|
71
73
|
friendlyId: string;
|
|
72
74
|
attemptNumber?: number | null | undefined;
|
|
75
|
+
taskEventStore?: string | undefined;
|
|
73
76
|
}>;
|
|
74
77
|
}, "strip", z.ZodTypeAny, {
|
|
75
78
|
run: {
|
|
@@ -77,6 +80,7 @@ export declare const WorkloadContinueRunExecutionResponseBody: z.ZodObject<{
|
|
|
77
80
|
id: string;
|
|
78
81
|
friendlyId: string;
|
|
79
82
|
attemptNumber?: number | null | undefined;
|
|
83
|
+
taskEventStore?: string | undefined;
|
|
80
84
|
};
|
|
81
85
|
snapshot: {
|
|
82
86
|
id: string;
|
|
@@ -91,6 +95,7 @@ export declare const WorkloadContinueRunExecutionResponseBody: z.ZodObject<{
|
|
|
91
95
|
id: string;
|
|
92
96
|
friendlyId: string;
|
|
93
97
|
attemptNumber?: number | null | undefined;
|
|
98
|
+
taskEventStore?: string | undefined;
|
|
94
99
|
};
|
|
95
100
|
snapshot: {
|
|
96
101
|
id: string;
|
|
@@ -1704,16 +1709,19 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1704
1709
|
friendlyId: z.ZodString;
|
|
1705
1710
|
status: z.ZodEnum<[import("../../index.js").TaskRunStatus]>;
|
|
1706
1711
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1712
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1707
1713
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1714
|
status: import("../../index.js").TaskRunStatus;
|
|
1709
1715
|
id: string;
|
|
1710
1716
|
friendlyId: string;
|
|
1711
1717
|
attemptNumber?: number | null | undefined;
|
|
1718
|
+
taskEventStore?: string | undefined;
|
|
1712
1719
|
}, {
|
|
1713
1720
|
status: import("../../index.js").TaskRunStatus;
|
|
1714
1721
|
id: string;
|
|
1715
1722
|
friendlyId: string;
|
|
1716
1723
|
attemptNumber?: number | null | undefined;
|
|
1724
|
+
taskEventStore?: string | undefined;
|
|
1717
1725
|
}>;
|
|
1718
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1719
1727
|
run: {
|
|
@@ -1721,6 +1729,7 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1721
1729
|
id: string;
|
|
1722
1730
|
friendlyId: string;
|
|
1723
1731
|
attemptNumber?: number | null | undefined;
|
|
1732
|
+
taskEventStore?: string | undefined;
|
|
1724
1733
|
};
|
|
1725
1734
|
snapshot: {
|
|
1726
1735
|
id: string;
|
|
@@ -1735,6 +1744,7 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1735
1744
|
id: string;
|
|
1736
1745
|
friendlyId: string;
|
|
1737
1746
|
attemptNumber?: number | null | undefined;
|
|
1747
|
+
taskEventStore?: string | undefined;
|
|
1738
1748
|
};
|
|
1739
1749
|
snapshot: {
|
|
1740
1750
|
id: string;
|
|
@@ -1753,6 +1763,7 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1753
1763
|
id: string;
|
|
1754
1764
|
friendlyId: string;
|
|
1755
1765
|
attemptNumber?: number | null | undefined;
|
|
1766
|
+
taskEventStore?: string | undefined;
|
|
1756
1767
|
};
|
|
1757
1768
|
snapshot: {
|
|
1758
1769
|
id: string;
|
|
@@ -1771,6 +1782,7 @@ export declare const WorkloadRunAttemptCompleteResponseBody: z.ZodObject<{
|
|
|
1771
1782
|
id: string;
|
|
1772
1783
|
friendlyId: string;
|
|
1773
1784
|
attemptNumber?: number | null | undefined;
|
|
1785
|
+
taskEventStore?: string | undefined;
|
|
1774
1786
|
};
|
|
1775
1787
|
snapshot: {
|
|
1776
1788
|
id: string;
|
|
@@ -1815,16 +1827,19 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1815
1827
|
friendlyId: z.ZodString;
|
|
1816
1828
|
status: z.ZodEnum<[import("../../index.js").TaskRunStatus]>;
|
|
1817
1829
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1830
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
1818
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1819
1832
|
status: import("../../index.js").TaskRunStatus;
|
|
1820
1833
|
id: string;
|
|
1821
1834
|
friendlyId: string;
|
|
1822
1835
|
attemptNumber?: number | null | undefined;
|
|
1836
|
+
taskEventStore?: string | undefined;
|
|
1823
1837
|
}, {
|
|
1824
1838
|
status: import("../../index.js").TaskRunStatus;
|
|
1825
1839
|
id: string;
|
|
1826
1840
|
friendlyId: string;
|
|
1827
1841
|
attemptNumber?: number | null | undefined;
|
|
1842
|
+
taskEventStore?: string | undefined;
|
|
1828
1843
|
}>;
|
|
1829
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1830
1845
|
run: {
|
|
@@ -1832,6 +1847,7 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1832
1847
|
id: string;
|
|
1833
1848
|
friendlyId: string;
|
|
1834
1849
|
attemptNumber?: number | null | undefined;
|
|
1850
|
+
taskEventStore?: string | undefined;
|
|
1835
1851
|
};
|
|
1836
1852
|
snapshot: {
|
|
1837
1853
|
id: string;
|
|
@@ -1846,6 +1862,7 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1846
1862
|
id: string;
|
|
1847
1863
|
friendlyId: string;
|
|
1848
1864
|
attemptNumber?: number | null | undefined;
|
|
1865
|
+
taskEventStore?: string | undefined;
|
|
1849
1866
|
};
|
|
1850
1867
|
snapshot: {
|
|
1851
1868
|
id: string;
|
|
@@ -2638,16 +2655,19 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2638
2655
|
friendlyId: z.ZodString;
|
|
2639
2656
|
status: z.ZodEnum<[import("../../index.js").TaskRunStatus]>;
|
|
2640
2657
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2658
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
2641
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2642
2660
|
status: import("../../index.js").TaskRunStatus;
|
|
2643
2661
|
id: string;
|
|
2644
2662
|
friendlyId: string;
|
|
2645
2663
|
attemptNumber?: number | null | undefined;
|
|
2664
|
+
taskEventStore?: string | undefined;
|
|
2646
2665
|
}, {
|
|
2647
2666
|
status: import("../../index.js").TaskRunStatus;
|
|
2648
2667
|
id: string;
|
|
2649
2668
|
friendlyId: string;
|
|
2650
2669
|
attemptNumber?: number | null | undefined;
|
|
2670
|
+
taskEventStore?: string | undefined;
|
|
2651
2671
|
}>;
|
|
2652
2672
|
batch: z.ZodOptional<z.ZodObject<{
|
|
2653
2673
|
id: z.ZodString;
|
|
@@ -2785,6 +2805,7 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2785
2805
|
id: string;
|
|
2786
2806
|
friendlyId: string;
|
|
2787
2807
|
attemptNumber?: number | null | undefined;
|
|
2808
|
+
taskEventStore?: string | undefined;
|
|
2788
2809
|
};
|
|
2789
2810
|
snapshot: {
|
|
2790
2811
|
id: string;
|
|
@@ -2836,6 +2857,7 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2836
2857
|
id: string;
|
|
2837
2858
|
friendlyId: string;
|
|
2838
2859
|
attemptNumber?: number | null | undefined;
|
|
2860
|
+
taskEventStore?: string | undefined;
|
|
2839
2861
|
};
|
|
2840
2862
|
snapshot: {
|
|
2841
2863
|
id: string;
|
|
@@ -2889,6 +2911,7 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2889
2911
|
id: string;
|
|
2890
2912
|
friendlyId: string;
|
|
2891
2913
|
attemptNumber?: number | null | undefined;
|
|
2914
|
+
taskEventStore?: string | undefined;
|
|
2892
2915
|
};
|
|
2893
2916
|
snapshot: {
|
|
2894
2917
|
id: string;
|
|
@@ -2942,6 +2965,7 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2942
2965
|
id: string;
|
|
2943
2966
|
friendlyId: string;
|
|
2944
2967
|
attemptNumber?: number | null | undefined;
|
|
2968
|
+
taskEventStore?: string | undefined;
|
|
2945
2969
|
};
|
|
2946
2970
|
snapshot: {
|
|
2947
2971
|
id: string;
|
|
@@ -3443,16 +3467,19 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3443
3467
|
friendlyId: z.ZodString;
|
|
3444
3468
|
status: z.ZodEnum<[import("../../index.js").TaskRunStatus]>;
|
|
3445
3469
|
attemptNumber: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3470
|
+
taskEventStore: z.ZodOptional<z.ZodString>;
|
|
3446
3471
|
}, "strip", z.ZodTypeAny, {
|
|
3447
3472
|
status: import("../../index.js").TaskRunStatus;
|
|
3448
3473
|
id: string;
|
|
3449
3474
|
friendlyId: string;
|
|
3450
3475
|
attemptNumber?: number | null | undefined;
|
|
3476
|
+
taskEventStore?: string | undefined;
|
|
3451
3477
|
}, {
|
|
3452
3478
|
status: import("../../index.js").TaskRunStatus;
|
|
3453
3479
|
id: string;
|
|
3454
3480
|
friendlyId: string;
|
|
3455
3481
|
attemptNumber?: number | null | undefined;
|
|
3482
|
+
taskEventStore?: string | undefined;
|
|
3456
3483
|
}>;
|
|
3457
3484
|
batch: z.ZodOptional<z.ZodObject<{
|
|
3458
3485
|
id: z.ZodString;
|
|
@@ -3590,6 +3617,7 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3590
3617
|
id: string;
|
|
3591
3618
|
friendlyId: string;
|
|
3592
3619
|
attemptNumber?: number | null | undefined;
|
|
3620
|
+
taskEventStore?: string | undefined;
|
|
3593
3621
|
};
|
|
3594
3622
|
snapshot: {
|
|
3595
3623
|
id: string;
|
|
@@ -3641,6 +3669,7 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3641
3669
|
id: string;
|
|
3642
3670
|
friendlyId: string;
|
|
3643
3671
|
attemptNumber?: number | null | undefined;
|
|
3672
|
+
taskEventStore?: string | undefined;
|
|
3644
3673
|
};
|
|
3645
3674
|
snapshot: {
|
|
3646
3675
|
id: string;
|
|
@@ -3694,6 +3723,7 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3694
3723
|
id: string;
|
|
3695
3724
|
friendlyId: string;
|
|
3696
3725
|
attemptNumber?: number | null | undefined;
|
|
3726
|
+
taskEventStore?: string | undefined;
|
|
3697
3727
|
};
|
|
3698
3728
|
snapshot: {
|
|
3699
3729
|
id: string;
|
|
@@ -3747,6 +3777,7 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3747
3777
|
id: string;
|
|
3748
3778
|
friendlyId: string;
|
|
3749
3779
|
attemptNumber?: number | null | undefined;
|
|
3780
|
+
taskEventStore?: string | undefined;
|
|
3750
3781
|
};
|
|
3751
3782
|
snapshot: {
|
|
3752
3783
|
id: string;
|
|
@@ -1850,15 +1850,18 @@ export type StartDeploymentIndexingResponseBody = z.infer<typeof StartDeployment
|
|
|
1850
1850
|
export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
|
|
1851
1851
|
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
1852
1852
|
imageDigest: z.ZodOptional<z.ZodString>;
|
|
1853
|
+
skipPushToRegistry: z.ZodOptional<z.ZodBoolean>;
|
|
1853
1854
|
}, "strip", z.ZodTypeAny, {
|
|
1854
1855
|
skipPromotion?: boolean | undefined;
|
|
1855
1856
|
imageDigest?: string | undefined;
|
|
1857
|
+
skipPushToRegistry?: boolean | undefined;
|
|
1856
1858
|
}, {
|
|
1857
1859
|
skipPromotion?: boolean | undefined;
|
|
1858
1860
|
imageDigest?: string | undefined;
|
|
1861
|
+
skipPushToRegistry?: boolean | undefined;
|
|
1859
1862
|
}>;
|
|
1860
1863
|
export type FinalizeDeploymentRequestBody = z.infer<typeof FinalizeDeploymentRequestBody>;
|
|
1861
|
-
export declare const
|
|
1864
|
+
export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
1862
1865
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
1863
1866
|
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
1864
1867
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -1941,7 +1944,15 @@ export declare const StartDeploymentRequestBody: z.ZodObject<{
|
|
|
1941
1944
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1942
1945
|
} | undefined;
|
|
1943
1946
|
}>;
|
|
1944
|
-
export type
|
|
1947
|
+
export type ProgressDeploymentRequestBody = z.infer<typeof ProgressDeploymentRequestBody>;
|
|
1948
|
+
export declare const CancelDeploymentRequestBody: z.ZodObject<{
|
|
1949
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
}, "strip", z.ZodTypeAny, {
|
|
1951
|
+
reason?: string | undefined;
|
|
1952
|
+
}, {
|
|
1953
|
+
reason?: string | undefined;
|
|
1954
|
+
}>;
|
|
1955
|
+
export type CancelDeploymentRequestBody = z.infer<typeof CancelDeploymentRequestBody>;
|
|
1945
1956
|
export declare const ExternalBuildData: z.ZodObject<{
|
|
1946
1957
|
buildId: z.ZodString;
|
|
1947
1958
|
buildToken: z.ZodString;
|
|
@@ -2191,6 +2202,23 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
2191
2202
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2192
2203
|
}>;
|
|
2193
2204
|
export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
|
|
2205
|
+
export declare const GenerateRegistryCredentialsResponseBody: z.ZodObject<{
|
|
2206
|
+
username: z.ZodString;
|
|
2207
|
+
password: z.ZodString;
|
|
2208
|
+
expiresAt: z.ZodString;
|
|
2209
|
+
repositoryUri: z.ZodString;
|
|
2210
|
+
}, "strip", z.ZodTypeAny, {
|
|
2211
|
+
username: string;
|
|
2212
|
+
password: string;
|
|
2213
|
+
expiresAt: string;
|
|
2214
|
+
repositoryUri: string;
|
|
2215
|
+
}, {
|
|
2216
|
+
username: string;
|
|
2217
|
+
password: string;
|
|
2218
|
+
expiresAt: string;
|
|
2219
|
+
repositoryUri: string;
|
|
2220
|
+
}>;
|
|
2221
|
+
export type GenerateRegistryCredentialsResponseBody = z.infer<typeof GenerateRegistryCredentialsResponseBody>;
|
|
2194
2222
|
export declare const DeploymentErrorData: z.ZodObject<{
|
|
2195
2223
|
name: z.ZodString;
|
|
2196
2224
|
message: z.ZodString;
|
|
@@ -2265,7 +2293,7 @@ export declare const PromoteDeploymentResponseBody: z.ZodObject<{
|
|
|
2265
2293
|
export type PromoteDeploymentResponseBody = z.infer<typeof PromoteDeploymentResponseBody>;
|
|
2266
2294
|
export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
2267
2295
|
id: z.ZodString;
|
|
2268
|
-
status: z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>;
|
|
2296
|
+
status: z.ZodEnum<["PENDING", "INSTALLING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>;
|
|
2269
2297
|
contentHash: z.ZodString;
|
|
2270
2298
|
shortCode: z.ZodString;
|
|
2271
2299
|
version: z.ZodString;
|
|
@@ -2339,7 +2367,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2339
2367
|
}[];
|
|
2340
2368
|
}>>;
|
|
2341
2369
|
}, "strip", z.ZodTypeAny, {
|
|
2342
|
-
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
2370
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2343
2371
|
id: string;
|
|
2344
2372
|
version: string;
|
|
2345
2373
|
shortCode: string;
|
|
@@ -2368,7 +2396,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2368
2396
|
stderr?: string | undefined;
|
|
2369
2397
|
} | null | undefined;
|
|
2370
2398
|
}, {
|
|
2371
|
-
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
2399
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2372
2400
|
id: string;
|
|
2373
2401
|
version: string;
|
|
2374
2402
|
shortCode: string;
|
|
@@ -2400,7 +2428,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2400
2428
|
export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
|
|
2401
2429
|
export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
2402
2430
|
id: z.ZodString;
|
|
2403
|
-
status: z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>;
|
|
2431
|
+
status: z.ZodEnum<["PENDING", "INSTALLING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>;
|
|
2404
2432
|
contentHash: z.ZodString;
|
|
2405
2433
|
shortCode: z.ZodString;
|
|
2406
2434
|
version: z.ZodString;
|
|
@@ -2474,7 +2502,7 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
2474
2502
|
}[];
|
|
2475
2503
|
}>>;
|
|
2476
2504
|
}, "worker">, "strip", z.ZodTypeAny, {
|
|
2477
|
-
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
2505
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2478
2506
|
id: string;
|
|
2479
2507
|
version: string;
|
|
2480
2508
|
shortCode: string;
|
|
@@ -2493,7 +2521,7 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
2493
2521
|
stderr?: string | undefined;
|
|
2494
2522
|
} | null | undefined;
|
|
2495
2523
|
}, {
|
|
2496
|
-
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
2524
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2497
2525
|
id: string;
|
|
2498
2526
|
version: string;
|
|
2499
2527
|
shortCode: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.RetrieveRunTraceResponseBody = exports.RetrieveRunTraceSpan = exports.RetrieveRunTraceSpanSchema = exports.ApiBranchListResponseBody = exports.ApiDeploymentListResponseItem = exports.ApiDeploymentListSearchParams = void 0;
|
|
3
|
+
exports.DevDequeueRequestBody = exports.DevConfigResponseBody = exports.WorkersCreateResponseBody = exports.WorkersCreateRequestBody = exports.WorkersListResponseBody = exports.CreateUploadPayloadUrlResponseBody = exports.GetLatestDeploymentResponseBody = exports.GetDeploymentResponseBody = exports.PromoteDeploymentResponseBody = exports.FailDeploymentResponseBody = exports.FailDeploymentRequestBody = exports.DeploymentErrorData = exports.GenerateRegistryCredentialsResponseBody = exports.InitializeDeploymentRequestBody = exports.InitializeDeploymentResponseBody = exports.UpsertBranchResponseBody = exports.UpsertBranchRequestBody = exports.ExternalBuildData = exports.CancelDeploymentRequestBody = exports.ProgressDeploymentRequestBody = exports.FinalizeDeploymentRequestBody = exports.StartDeploymentIndexingResponseBody = exports.StartDeploymentIndexingRequestBody = exports.GetEnvironmentVariablesResponseBody = exports.RescheduleRunRequestBody = exports.AddTagsRequestBody = exports.GetBatchResponseBody = exports.BatchTriggerTaskResponse = exports.BatchTriggerTaskV3Response = exports.BatchTriggerTaskV3RequestBody = exports.BatchTriggerTaskV2Response = exports.BatchTriggerTaskV2RequestBody = exports.BatchTriggerTaskItem = exports.BatchTriggerTaskRequestBody = exports.TriggerTaskResponse = exports.TriggerTaskRequestBody = exports.RunTags = exports.CreateBackgroundWorkerResponse = exports.CreateBackgroundWorkerRequestBody = exports.GetJWTResponse = exports.GetJWTRequestBody = exports.GetWorkerByTagResponse = exports.GetWorkerTaskResponse = exports.GetProjectEnvResponse = exports.CreateProjectRequestBody = exports.GetOrgsResponseBody = exports.GetProjectsResponseBody = exports.GetProjectResponseBody = exports.WhoAmIResponseSchema = exports.RunEngineVersion = void 0;
|
|
4
|
+
exports.WaitForDurationResponseBody = exports.WaitForDurationRequestBody = exports.WaitForWaitpointTokenResponseBody = exports.CompleteWaitpointTokenResponseBody = exports.CompleteWaitpointTokenRequestBody = exports.WaitpointRetrieveTokenResponse = exports.WaitpointListTokenItem = exports.WaitpointTokenItem = exports.WaitpointTokenStatus = exports.waitpointTokenStatuses = exports.CreateWaitpointTokenResponseBody = exports.CreateWaitpointTokenRequestBody = exports.TimePeriod = exports.SubscribeRealtimeStreamChunkRawShape = exports.RetrieveBatchV2Response = exports.RetrieveBatchResponse = exports.BatchStatus = exports.SubscribeRunRawShape = exports.UpdateMetadataResponseBody = exports.UpdateMetadataRequestBody = exports.EnvironmentVariableWithSecret = exports.EnvironmentVariables = exports.EnvironmentVariable = exports.EnvironmentVariableValue = exports.EnvironmentVariableResponseBody = exports.ImportEnvironmentVariablesRequestBody = exports.UpdateEnvironmentVariableRequestBody = exports.CreateEnvironmentVariableRequestBody = exports.ListRunResponse = exports.ListRunResponseItem = exports.RetrieveRunResponse = exports.RelatedRunDetails = exports.TriggerFunction = exports.RunScheduleDetails = exports.RunEnvironmentDetails = exports.AttemptStatus = exports.RunStatus = exports.TimezonesResult = exports.ListScheduleOptions = exports.ListSchedulesResult = exports.DeletedScheduleObject = exports.ScheduleObject = exports.ScheduleGenerator = exports.UpdateScheduleOptions = exports.CreateScheduleOptions = exports.ScheduledTaskPayload = exports.ScheduleType = exports.CanceledRunResponse = exports.ReplayRunResponse = exports.DevDequeueResponseBody = void 0;
|
|
5
|
+
exports.RetrieveRunTraceResponseBody = exports.RetrieveRunTraceSpan = exports.RetrieveRunTraceSpanSchema = exports.ApiBranchListResponseBody = exports.ApiDeploymentListResponseItem = exports.ApiDeploymentListSearchParams = exports.ApiDeploymentListOptions = exports.ApiDeploymentListParams = void 0;
|
|
6
6
|
exports.isWaitpointOutputTimeout = isWaitpointOutputTimeout;
|
|
7
7
|
exports.timeoutError = timeoutError;
|
|
8
8
|
const zod_1 = require("zod");
|
|
@@ -277,12 +277,16 @@ exports.StartDeploymentIndexingResponseBody = zod_1.z.object({
|
|
|
277
277
|
exports.FinalizeDeploymentRequestBody = zod_1.z.object({
|
|
278
278
|
skipPromotion: zod_1.z.boolean().optional(),
|
|
279
279
|
imageDigest: zod_1.z.string().optional(),
|
|
280
|
+
skipPushToRegistry: zod_1.z.boolean().optional(),
|
|
280
281
|
});
|
|
281
|
-
exports.
|
|
282
|
+
exports.ProgressDeploymentRequestBody = zod_1.z.object({
|
|
282
283
|
contentHash: zod_1.z.string().optional(),
|
|
283
284
|
gitMeta: common_js_1.GitMeta.optional(),
|
|
284
285
|
runtime: zod_1.z.string().optional(),
|
|
285
286
|
});
|
|
287
|
+
exports.CancelDeploymentRequestBody = zod_1.z.object({
|
|
288
|
+
reason: zod_1.z.string().max(200, "Reason must be less than 200 characters").optional(),
|
|
289
|
+
});
|
|
286
290
|
exports.ExternalBuildData = zod_1.z.object({
|
|
287
291
|
buildId: zod_1.z.string(),
|
|
288
292
|
buildToken: zod_1.z.string(),
|
|
@@ -315,6 +319,12 @@ exports.InitializeDeploymentRequestBody = zod_1.z.object({
|
|
|
315
319
|
runtime: zod_1.z.string().optional(),
|
|
316
320
|
initialStatus: zod_1.z.enum(["PENDING", "BUILDING"]).optional(),
|
|
317
321
|
});
|
|
322
|
+
exports.GenerateRegistryCredentialsResponseBody = zod_1.z.object({
|
|
323
|
+
username: zod_1.z.string(),
|
|
324
|
+
password: zod_1.z.string(),
|
|
325
|
+
expiresAt: zod_1.z.string(),
|
|
326
|
+
repositoryUri: zod_1.z.string(),
|
|
327
|
+
});
|
|
318
328
|
exports.DeploymentErrorData = zod_1.z.object({
|
|
319
329
|
name: zod_1.z.string(),
|
|
320
330
|
message: zod_1.z.string(),
|
|
@@ -336,6 +346,7 @@ exports.GetDeploymentResponseBody = zod_1.z.object({
|
|
|
336
346
|
id: zod_1.z.string(),
|
|
337
347
|
status: zod_1.z.enum([
|
|
338
348
|
"PENDING",
|
|
349
|
+
"INSTALLING",
|
|
339
350
|
"BUILDING",
|
|
340
351
|
"DEPLOYING",
|
|
341
352
|
"DEPLOYED",
|