@trigger.dev/core 4.0.0-v4-beta.25 → 4.0.0-v4-beta.27
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/logger.d.ts +1 -0
- package/dist/commonjs/logger.js +5 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/v3/apiClient/core.js +0 -3
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +8 -8
- package/dist/commonjs/v3/config.d.ts +47 -35
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/friendlyId.js +2 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/index.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/index.js +1 -0
- package/dist/commonjs/v3/isomorphic/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.d.ts +5 -0
- package/dist/commonjs/v3/isomorphic/traceContext.js +25 -0
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -0
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +1 -14
- package/dist/commonjs/v3/otel/tracingSDK.js +92 -84
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/catalog.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/index.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/index.js +3 -0
- package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js +3 -0
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.d.ts +3 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +10 -2
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +80 -61
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +628 -489
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +64 -45
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +625 -486
- package/dist/commonjs/v3/runMetadata/manager.d.ts +1 -0
- package/dist/commonjs/v3/runMetadata/manager.js +72 -2
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +233 -196
- package/dist/commonjs/v3/schemas/api.js +2 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +88 -76
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +72 -72
- package/dist/commonjs/v3/schemas/common.d.ts +2351 -1038
- package/dist/commonjs/v3/schemas/common.js +102 -42
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +12 -12
- package/dist/commonjs/v3/schemas/messages.d.ts +6692 -6167
- package/dist/commonjs/v3/schemas/messages.js +10 -10
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/commonjs/v3/schemas/resources.d.ts +44 -38
- package/dist/commonjs/v3/schemas/resources.js +2 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +360 -221
- package/dist/commonjs/v3/schemas/schemas.d.ts +593 -533
- package/dist/commonjs/v3/schemas/schemas.js +15 -4
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +120 -120
- package/dist/commonjs/v3/taskContext/index.js +0 -2
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.d.ts +4 -5
- package/dist/commonjs/v3/taskContext/otelProcessors.js +4 -3
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/trace-context-api.d.ts +3 -0
- package/dist/commonjs/v3/trace-context-api.js +9 -0
- package/dist/commonjs/v3/trace-context-api.js.map +1 -0
- package/dist/commonjs/v3/traceContext/api.d.ts +19 -0
- package/dist/commonjs/v3/traceContext/api.js +59 -0
- package/dist/commonjs/v3/traceContext/api.js.map +1 -0
- package/dist/commonjs/v3/traceContext/manager.d.ts +14 -0
- package/dist/commonjs/v3/traceContext/manager.js +60 -0
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -0
- package/dist/commonjs/v3/traceContext/types.d.ts +12 -0
- package/dist/commonjs/v3/traceContext/types.js +3 -0
- package/dist/commonjs/v3/traceContext/types.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +0 -1
- package/dist/commonjs/v3/tracer.js +0 -3
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/index.d.ts +1 -0
- package/dist/commonjs/v3/types/index.js +1 -0
- package/dist/commonjs/v3/types/index.js.map +1 -1
- package/dist/commonjs/v3/types/jsonSchema.d.ts +51 -0
- package/dist/commonjs/v3/types/jsonSchema.js +3 -0
- package/dist/commonjs/v3/types/jsonSchema.js.map +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +24 -0
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/usage/api.d.ts +2 -1
- package/dist/commonjs/v3/usage/api.js +3 -0
- package/dist/commonjs/v3/usage/api.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.d.ts +4 -1
- package/dist/commonjs/v3/usage/devUsageManager.js +14 -0
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/noopUsageManager.d.ts +2 -1
- package/dist/commonjs/v3/usage/noopUsageManager.js +6 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/prodUsageManager.d.ts +4 -1
- package/dist/commonjs/v3/usage/prodUsageManager.js +14 -0
- package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/types.d.ts +5 -0
- package/dist/commonjs/v3/utils/globals.d.ts +2 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +2 -2
- package/dist/commonjs/v3/workers/taskExecutor.js +3 -15
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.d.ts +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/v3/apiClient/core.js +0 -3
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +8 -8
- package/dist/esm/v3/config.d.ts +47 -35
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/friendlyId.d.ts +1 -0
- package/dist/esm/v3/isomorphic/friendlyId.js +1 -0
- package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/esm/v3/isomorphic/index.d.ts +1 -0
- package/dist/esm/v3/isomorphic/index.js +1 -0
- package/dist/esm/v3/isomorphic/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/traceContext.d.ts +5 -0
- package/dist/esm/v3/isomorphic/traceContext.js +21 -0
- package/dist/esm/v3/isomorphic/traceContext.js.map +1 -0
- package/dist/esm/v3/otel/tracingSDK.d.ts +1 -14
- package/dist/esm/v3/otel/tracingSDK.js +93 -85
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/resource-catalog/catalog.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/index.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/index.js +3 -0
- package/dist/esm/v3/resource-catalog/index.js.map +1 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js +3 -0
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.d.ts +3 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +10 -2
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +80 -61
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +628 -489
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +64 -45
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +625 -486
- package/dist/esm/v3/runMetadata/manager.d.ts +1 -0
- package/dist/esm/v3/runMetadata/manager.js +72 -2
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +233 -196
- package/dist/esm/v3/schemas/api.js +2 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +88 -76
- package/dist/esm/v3/schemas/checkpoints.d.ts +72 -72
- package/dist/esm/v3/schemas/common.d.ts +2351 -1038
- package/dist/esm/v3/schemas/common.js +101 -41
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +12 -12
- package/dist/esm/v3/schemas/messages.d.ts +6692 -6167
- package/dist/esm/v3/schemas/messages.js +11 -11
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/esm/v3/schemas/resources.d.ts +44 -38
- package/dist/esm/v3/schemas/resources.js +2 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +360 -221
- package/dist/esm/v3/schemas/schemas.d.ts +593 -533
- package/dist/esm/v3/schemas/schemas.js +15 -4
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/webhooks.d.ts +120 -120
- package/dist/esm/v3/taskContext/index.js +0 -2
- package/dist/esm/v3/taskContext/index.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.d.ts +4 -5
- package/dist/esm/v3/taskContext/otelProcessors.js +4 -3
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/trace-context-api.d.ts +3 -0
- package/dist/esm/v3/trace-context-api.js +6 -0
- package/dist/esm/v3/trace-context-api.js.map +1 -0
- package/dist/esm/v3/traceContext/api.d.ts +19 -0
- package/dist/esm/v3/traceContext/api.js +55 -0
- package/dist/esm/v3/traceContext/api.js.map +1 -0
- package/dist/esm/v3/traceContext/manager.d.ts +14 -0
- package/dist/esm/v3/traceContext/manager.js +56 -0
- package/dist/esm/v3/traceContext/manager.js.map +1 -0
- package/dist/esm/v3/traceContext/types.d.ts +12 -0
- package/dist/esm/v3/traceContext/types.js +2 -0
- package/dist/esm/v3/traceContext/types.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +0 -1
- package/dist/esm/v3/tracer.js +1 -4
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/index.d.ts +1 -0
- package/dist/esm/v3/types/index.js +1 -0
- package/dist/esm/v3/types/index.js.map +1 -1
- package/dist/esm/v3/types/jsonSchema.d.ts +51 -0
- package/dist/esm/v3/types/jsonSchema.js +2 -0
- package/dist/esm/v3/types/jsonSchema.js.map +1 -0
- package/dist/esm/v3/types/tasks.d.ts +24 -0
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/usage/api.d.ts +2 -1
- package/dist/esm/v3/usage/api.js +3 -0
- package/dist/esm/v3/usage/api.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.d.ts +4 -1
- package/dist/esm/v3/usage/devUsageManager.js +14 -0
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/noopUsageManager.d.ts +2 -1
- package/dist/esm/v3/usage/noopUsageManager.js +6 -0
- package/dist/esm/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/prodUsageManager.d.ts +4 -1
- package/dist/esm/v3/usage/prodUsageManager.js +14 -0
- package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/types.d.ts +5 -0
- package/dist/esm/v3/utils/globals.d.ts +2 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +2 -2
- package/dist/esm/v3/workers/taskExecutor.js +5 -17
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +12 -13
|
@@ -121,22 +121,22 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
121
121
|
type: z.ZodLiteral<"update">;
|
|
122
122
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
124
|
-
type: "update";
|
|
125
124
|
value: Record<string, unknown>;
|
|
126
|
-
}, {
|
|
127
125
|
type: "update";
|
|
126
|
+
}, {
|
|
128
127
|
value: Record<string, unknown>;
|
|
128
|
+
type: "update";
|
|
129
129
|
}>, z.ZodObject<{
|
|
130
130
|
type: z.ZodLiteral<"set">;
|
|
131
131
|
key: z.ZodString;
|
|
132
132
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
|
134
|
-
type: "set";
|
|
135
134
|
value: import("../../../index.js").DeserializedJson;
|
|
135
|
+
type: "set";
|
|
136
136
|
key: string;
|
|
137
137
|
}, {
|
|
138
|
-
type: "set";
|
|
139
138
|
value: import("../../../index.js").DeserializedJson;
|
|
139
|
+
type: "set";
|
|
140
140
|
key: string;
|
|
141
141
|
}>, z.ZodObject<{
|
|
142
142
|
type: z.ZodLiteral<"delete">;
|
|
@@ -152,58 +152,58 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
152
152
|
key: z.ZodString;
|
|
153
153
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
type: "append";
|
|
156
155
|
value: import("../../../index.js").DeserializedJson;
|
|
156
|
+
type: "append";
|
|
157
157
|
key: string;
|
|
158
158
|
}, {
|
|
159
|
-
type: "append";
|
|
160
159
|
value: import("../../../index.js").DeserializedJson;
|
|
160
|
+
type: "append";
|
|
161
161
|
key: string;
|
|
162
162
|
}>, z.ZodObject<{
|
|
163
163
|
type: z.ZodLiteral<"remove">;
|
|
164
164
|
key: z.ZodString;
|
|
165
165
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
type: "remove";
|
|
168
167
|
value: import("../../../index.js").DeserializedJson;
|
|
168
|
+
type: "remove";
|
|
169
169
|
key: string;
|
|
170
170
|
}, {
|
|
171
|
-
type: "remove";
|
|
172
171
|
value: import("../../../index.js").DeserializedJson;
|
|
172
|
+
type: "remove";
|
|
173
173
|
key: string;
|
|
174
174
|
}>, z.ZodObject<{
|
|
175
175
|
type: z.ZodLiteral<"increment">;
|
|
176
176
|
key: z.ZodString;
|
|
177
177
|
value: z.ZodNumber;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
type: "increment";
|
|
180
179
|
value: number;
|
|
180
|
+
type: "increment";
|
|
181
181
|
key: string;
|
|
182
182
|
}, {
|
|
183
|
-
type: "increment";
|
|
184
183
|
value: number;
|
|
184
|
+
type: "increment";
|
|
185
185
|
key: string;
|
|
186
186
|
}>]>, "many">>;
|
|
187
187
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
188
188
|
type: z.ZodLiteral<"update">;
|
|
189
189
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
type: "update";
|
|
192
191
|
value: Record<string, unknown>;
|
|
193
|
-
}, {
|
|
194
192
|
type: "update";
|
|
193
|
+
}, {
|
|
195
194
|
value: Record<string, unknown>;
|
|
195
|
+
type: "update";
|
|
196
196
|
}>, z.ZodObject<{
|
|
197
197
|
type: z.ZodLiteral<"set">;
|
|
198
198
|
key: z.ZodString;
|
|
199
199
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
|
-
type: "set";
|
|
202
201
|
value: import("../../../index.js").DeserializedJson;
|
|
202
|
+
type: "set";
|
|
203
203
|
key: string;
|
|
204
204
|
}, {
|
|
205
|
-
type: "set";
|
|
206
205
|
value: import("../../../index.js").DeserializedJson;
|
|
206
|
+
type: "set";
|
|
207
207
|
key: string;
|
|
208
208
|
}>, z.ZodObject<{
|
|
209
209
|
type: z.ZodLiteral<"delete">;
|
|
@@ -219,58 +219,58 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
219
219
|
key: z.ZodString;
|
|
220
220
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
type: "append";
|
|
223
222
|
value: import("../../../index.js").DeserializedJson;
|
|
223
|
+
type: "append";
|
|
224
224
|
key: string;
|
|
225
225
|
}, {
|
|
226
|
-
type: "append";
|
|
227
226
|
value: import("../../../index.js").DeserializedJson;
|
|
227
|
+
type: "append";
|
|
228
228
|
key: string;
|
|
229
229
|
}>, z.ZodObject<{
|
|
230
230
|
type: z.ZodLiteral<"remove">;
|
|
231
231
|
key: z.ZodString;
|
|
232
232
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
type: "remove";
|
|
235
234
|
value: import("../../../index.js").DeserializedJson;
|
|
235
|
+
type: "remove";
|
|
236
236
|
key: string;
|
|
237
237
|
}, {
|
|
238
|
-
type: "remove";
|
|
239
238
|
value: import("../../../index.js").DeserializedJson;
|
|
239
|
+
type: "remove";
|
|
240
240
|
key: string;
|
|
241
241
|
}>, z.ZodObject<{
|
|
242
242
|
type: z.ZodLiteral<"increment">;
|
|
243
243
|
key: z.ZodString;
|
|
244
244
|
value: z.ZodNumber;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
|
-
type: "increment";
|
|
247
246
|
value: number;
|
|
247
|
+
type: "increment";
|
|
248
248
|
key: string;
|
|
249
249
|
}, {
|
|
250
|
-
type: "increment";
|
|
251
250
|
value: number;
|
|
251
|
+
type: "increment";
|
|
252
252
|
key: string;
|
|
253
253
|
}>]>, "many">>;
|
|
254
254
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
255
255
|
type: z.ZodLiteral<"update">;
|
|
256
256
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
257
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
-
type: "update";
|
|
259
258
|
value: Record<string, unknown>;
|
|
260
|
-
}, {
|
|
261
259
|
type: "update";
|
|
260
|
+
}, {
|
|
262
261
|
value: Record<string, unknown>;
|
|
262
|
+
type: "update";
|
|
263
263
|
}>, z.ZodObject<{
|
|
264
264
|
type: z.ZodLiteral<"set">;
|
|
265
265
|
key: z.ZodString;
|
|
266
266
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
type: "set";
|
|
269
268
|
value: import("../../../index.js").DeserializedJson;
|
|
269
|
+
type: "set";
|
|
270
270
|
key: string;
|
|
271
271
|
}, {
|
|
272
|
-
type: "set";
|
|
273
272
|
value: import("../../../index.js").DeserializedJson;
|
|
273
|
+
type: "set";
|
|
274
274
|
key: string;
|
|
275
275
|
}>, z.ZodObject<{
|
|
276
276
|
type: z.ZodLiteral<"delete">;
|
|
@@ -286,178 +286,178 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
286
286
|
key: z.ZodString;
|
|
287
287
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
288
288
|
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
type: "append";
|
|
290
289
|
value: import("../../../index.js").DeserializedJson;
|
|
290
|
+
type: "append";
|
|
291
291
|
key: string;
|
|
292
292
|
}, {
|
|
293
|
-
type: "append";
|
|
294
293
|
value: import("../../../index.js").DeserializedJson;
|
|
294
|
+
type: "append";
|
|
295
295
|
key: string;
|
|
296
296
|
}>, z.ZodObject<{
|
|
297
297
|
type: z.ZodLiteral<"remove">;
|
|
298
298
|
key: z.ZodString;
|
|
299
299
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
type: "remove";
|
|
302
301
|
value: import("../../../index.js").DeserializedJson;
|
|
302
|
+
type: "remove";
|
|
303
303
|
key: string;
|
|
304
304
|
}, {
|
|
305
|
-
type: "remove";
|
|
306
305
|
value: import("../../../index.js").DeserializedJson;
|
|
306
|
+
type: "remove";
|
|
307
307
|
key: string;
|
|
308
308
|
}>, z.ZodObject<{
|
|
309
309
|
type: z.ZodLiteral<"increment">;
|
|
310
310
|
key: z.ZodString;
|
|
311
311
|
value: z.ZodNumber;
|
|
312
312
|
}, "strip", z.ZodTypeAny, {
|
|
313
|
-
type: "increment";
|
|
314
313
|
value: number;
|
|
314
|
+
type: "increment";
|
|
315
315
|
key: string;
|
|
316
316
|
}, {
|
|
317
|
-
type: "increment";
|
|
318
317
|
value: number;
|
|
318
|
+
type: "increment";
|
|
319
319
|
key: string;
|
|
320
320
|
}>]>, "many">>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
322
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
323
323
|
operations?: ({
|
|
324
|
-
type: "update";
|
|
325
324
|
value: Record<string, unknown>;
|
|
325
|
+
type: "update";
|
|
326
326
|
} | {
|
|
327
|
-
type: "set";
|
|
328
327
|
value: import("../../../index.js").DeserializedJson;
|
|
328
|
+
type: "set";
|
|
329
329
|
key: string;
|
|
330
330
|
} | {
|
|
331
331
|
type: "delete";
|
|
332
332
|
key: string;
|
|
333
333
|
} | {
|
|
334
|
-
type: "append";
|
|
335
334
|
value: import("../../../index.js").DeserializedJson;
|
|
335
|
+
type: "append";
|
|
336
336
|
key: string;
|
|
337
337
|
} | {
|
|
338
|
-
type: "remove";
|
|
339
338
|
value: import("../../../index.js").DeserializedJson;
|
|
339
|
+
type: "remove";
|
|
340
340
|
key: string;
|
|
341
341
|
} | {
|
|
342
|
-
type: "increment";
|
|
343
342
|
value: number;
|
|
343
|
+
type: "increment";
|
|
344
344
|
key: string;
|
|
345
345
|
})[] | undefined;
|
|
346
346
|
parentOperations?: ({
|
|
347
|
-
type: "update";
|
|
348
347
|
value: Record<string, unknown>;
|
|
348
|
+
type: "update";
|
|
349
349
|
} | {
|
|
350
|
-
type: "set";
|
|
351
350
|
value: import("../../../index.js").DeserializedJson;
|
|
351
|
+
type: "set";
|
|
352
352
|
key: string;
|
|
353
353
|
} | {
|
|
354
354
|
type: "delete";
|
|
355
355
|
key: string;
|
|
356
356
|
} | {
|
|
357
|
-
type: "append";
|
|
358
357
|
value: import("../../../index.js").DeserializedJson;
|
|
358
|
+
type: "append";
|
|
359
359
|
key: string;
|
|
360
360
|
} | {
|
|
361
|
-
type: "remove";
|
|
362
361
|
value: import("../../../index.js").DeserializedJson;
|
|
362
|
+
type: "remove";
|
|
363
363
|
key: string;
|
|
364
364
|
} | {
|
|
365
|
-
type: "increment";
|
|
366
365
|
value: number;
|
|
366
|
+
type: "increment";
|
|
367
367
|
key: string;
|
|
368
368
|
})[] | undefined;
|
|
369
369
|
rootOperations?: ({
|
|
370
|
-
type: "update";
|
|
371
370
|
value: Record<string, unknown>;
|
|
371
|
+
type: "update";
|
|
372
372
|
} | {
|
|
373
|
-
type: "set";
|
|
374
373
|
value: import("../../../index.js").DeserializedJson;
|
|
374
|
+
type: "set";
|
|
375
375
|
key: string;
|
|
376
376
|
} | {
|
|
377
377
|
type: "delete";
|
|
378
378
|
key: string;
|
|
379
379
|
} | {
|
|
380
|
-
type: "append";
|
|
381
380
|
value: import("../../../index.js").DeserializedJson;
|
|
381
|
+
type: "append";
|
|
382
382
|
key: string;
|
|
383
383
|
} | {
|
|
384
|
-
type: "remove";
|
|
385
384
|
value: import("../../../index.js").DeserializedJson;
|
|
385
|
+
type: "remove";
|
|
386
386
|
key: string;
|
|
387
387
|
} | {
|
|
388
|
-
type: "increment";
|
|
389
388
|
value: number;
|
|
389
|
+
type: "increment";
|
|
390
390
|
key: string;
|
|
391
391
|
})[] | undefined;
|
|
392
392
|
}, {
|
|
393
393
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
394
394
|
operations?: ({
|
|
395
|
-
type: "update";
|
|
396
395
|
value: Record<string, unknown>;
|
|
396
|
+
type: "update";
|
|
397
397
|
} | {
|
|
398
|
-
type: "set";
|
|
399
398
|
value: import("../../../index.js").DeserializedJson;
|
|
399
|
+
type: "set";
|
|
400
400
|
key: string;
|
|
401
401
|
} | {
|
|
402
402
|
type: "delete";
|
|
403
403
|
key: string;
|
|
404
404
|
} | {
|
|
405
|
-
type: "append";
|
|
406
405
|
value: import("../../../index.js").DeserializedJson;
|
|
406
|
+
type: "append";
|
|
407
407
|
key: string;
|
|
408
408
|
} | {
|
|
409
|
-
type: "remove";
|
|
410
409
|
value: import("../../../index.js").DeserializedJson;
|
|
410
|
+
type: "remove";
|
|
411
411
|
key: string;
|
|
412
412
|
} | {
|
|
413
|
-
type: "increment";
|
|
414
413
|
value: number;
|
|
414
|
+
type: "increment";
|
|
415
415
|
key: string;
|
|
416
416
|
})[] | undefined;
|
|
417
417
|
parentOperations?: ({
|
|
418
|
-
type: "update";
|
|
419
418
|
value: Record<string, unknown>;
|
|
419
|
+
type: "update";
|
|
420
420
|
} | {
|
|
421
|
-
type: "set";
|
|
422
421
|
value: import("../../../index.js").DeserializedJson;
|
|
422
|
+
type: "set";
|
|
423
423
|
key: string;
|
|
424
424
|
} | {
|
|
425
425
|
type: "delete";
|
|
426
426
|
key: string;
|
|
427
427
|
} | {
|
|
428
|
-
type: "append";
|
|
429
428
|
value: import("../../../index.js").DeserializedJson;
|
|
429
|
+
type: "append";
|
|
430
430
|
key: string;
|
|
431
431
|
} | {
|
|
432
|
-
type: "remove";
|
|
433
432
|
value: import("../../../index.js").DeserializedJson;
|
|
433
|
+
type: "remove";
|
|
434
434
|
key: string;
|
|
435
435
|
} | {
|
|
436
|
-
type: "increment";
|
|
437
436
|
value: number;
|
|
437
|
+
type: "increment";
|
|
438
438
|
key: string;
|
|
439
439
|
})[] | undefined;
|
|
440
440
|
rootOperations?: ({
|
|
441
|
-
type: "update";
|
|
442
441
|
value: Record<string, unknown>;
|
|
442
|
+
type: "update";
|
|
443
443
|
} | {
|
|
444
|
-
type: "set";
|
|
445
444
|
value: import("../../../index.js").DeserializedJson;
|
|
445
|
+
type: "set";
|
|
446
446
|
key: string;
|
|
447
447
|
} | {
|
|
448
448
|
type: "delete";
|
|
449
449
|
key: string;
|
|
450
450
|
} | {
|
|
451
|
-
type: "append";
|
|
452
451
|
value: import("../../../index.js").DeserializedJson;
|
|
452
|
+
type: "append";
|
|
453
453
|
key: string;
|
|
454
454
|
} | {
|
|
455
|
-
type: "remove";
|
|
456
455
|
value: import("../../../index.js").DeserializedJson;
|
|
456
|
+
type: "remove";
|
|
457
457
|
key: string;
|
|
458
458
|
} | {
|
|
459
|
-
type: "increment";
|
|
460
459
|
value: number;
|
|
460
|
+
type: "increment";
|
|
461
461
|
key: string;
|
|
462
462
|
})[] | undefined;
|
|
463
463
|
}>>;
|
|
@@ -478,72 +478,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
478
478
|
metadata?: {
|
|
479
479
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
480
480
|
operations?: ({
|
|
481
|
-
type: "update";
|
|
482
481
|
value: Record<string, unknown>;
|
|
482
|
+
type: "update";
|
|
483
483
|
} | {
|
|
484
|
-
type: "set";
|
|
485
484
|
value: import("../../../index.js").DeserializedJson;
|
|
485
|
+
type: "set";
|
|
486
486
|
key: string;
|
|
487
487
|
} | {
|
|
488
488
|
type: "delete";
|
|
489
489
|
key: string;
|
|
490
490
|
} | {
|
|
491
|
-
type: "append";
|
|
492
491
|
value: import("../../../index.js").DeserializedJson;
|
|
492
|
+
type: "append";
|
|
493
493
|
key: string;
|
|
494
494
|
} | {
|
|
495
|
-
type: "remove";
|
|
496
495
|
value: import("../../../index.js").DeserializedJson;
|
|
496
|
+
type: "remove";
|
|
497
497
|
key: string;
|
|
498
498
|
} | {
|
|
499
|
-
type: "increment";
|
|
500
499
|
value: number;
|
|
500
|
+
type: "increment";
|
|
501
501
|
key: string;
|
|
502
502
|
})[] | undefined;
|
|
503
503
|
parentOperations?: ({
|
|
504
|
-
type: "update";
|
|
505
504
|
value: Record<string, unknown>;
|
|
505
|
+
type: "update";
|
|
506
506
|
} | {
|
|
507
|
-
type: "set";
|
|
508
507
|
value: import("../../../index.js").DeserializedJson;
|
|
508
|
+
type: "set";
|
|
509
509
|
key: string;
|
|
510
510
|
} | {
|
|
511
511
|
type: "delete";
|
|
512
512
|
key: string;
|
|
513
513
|
} | {
|
|
514
|
-
type: "append";
|
|
515
514
|
value: import("../../../index.js").DeserializedJson;
|
|
515
|
+
type: "append";
|
|
516
516
|
key: string;
|
|
517
517
|
} | {
|
|
518
|
-
type: "remove";
|
|
519
518
|
value: import("../../../index.js").DeserializedJson;
|
|
519
|
+
type: "remove";
|
|
520
520
|
key: string;
|
|
521
521
|
} | {
|
|
522
|
-
type: "increment";
|
|
523
522
|
value: number;
|
|
523
|
+
type: "increment";
|
|
524
524
|
key: string;
|
|
525
525
|
})[] | undefined;
|
|
526
526
|
rootOperations?: ({
|
|
527
|
-
type: "update";
|
|
528
527
|
value: Record<string, unknown>;
|
|
528
|
+
type: "update";
|
|
529
529
|
} | {
|
|
530
|
-
type: "set";
|
|
531
530
|
value: import("../../../index.js").DeserializedJson;
|
|
531
|
+
type: "set";
|
|
532
532
|
key: string;
|
|
533
533
|
} | {
|
|
534
534
|
type: "delete";
|
|
535
535
|
key: string;
|
|
536
536
|
} | {
|
|
537
|
-
type: "append";
|
|
538
537
|
value: import("../../../index.js").DeserializedJson;
|
|
538
|
+
type: "append";
|
|
539
539
|
key: string;
|
|
540
540
|
} | {
|
|
541
|
-
type: "remove";
|
|
542
541
|
value: import("../../../index.js").DeserializedJson;
|
|
542
|
+
type: "remove";
|
|
543
543
|
key: string;
|
|
544
544
|
} | {
|
|
545
|
-
type: "increment";
|
|
546
545
|
value: number;
|
|
546
|
+
type: "increment";
|
|
547
547
|
key: string;
|
|
548
548
|
})[] | undefined;
|
|
549
549
|
} | undefined;
|
|
@@ -563,72 +563,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
563
563
|
metadata?: {
|
|
564
564
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
565
565
|
operations?: ({
|
|
566
|
-
type: "update";
|
|
567
566
|
value: Record<string, unknown>;
|
|
567
|
+
type: "update";
|
|
568
568
|
} | {
|
|
569
|
-
type: "set";
|
|
570
569
|
value: import("../../../index.js").DeserializedJson;
|
|
570
|
+
type: "set";
|
|
571
571
|
key: string;
|
|
572
572
|
} | {
|
|
573
573
|
type: "delete";
|
|
574
574
|
key: string;
|
|
575
575
|
} | {
|
|
576
|
-
type: "append";
|
|
577
576
|
value: import("../../../index.js").DeserializedJson;
|
|
577
|
+
type: "append";
|
|
578
578
|
key: string;
|
|
579
579
|
} | {
|
|
580
|
-
type: "remove";
|
|
581
580
|
value: import("../../../index.js").DeserializedJson;
|
|
581
|
+
type: "remove";
|
|
582
582
|
key: string;
|
|
583
583
|
} | {
|
|
584
|
-
type: "increment";
|
|
585
584
|
value: number;
|
|
585
|
+
type: "increment";
|
|
586
586
|
key: string;
|
|
587
587
|
})[] | undefined;
|
|
588
588
|
parentOperations?: ({
|
|
589
|
-
type: "update";
|
|
590
589
|
value: Record<string, unknown>;
|
|
590
|
+
type: "update";
|
|
591
591
|
} | {
|
|
592
|
-
type: "set";
|
|
593
592
|
value: import("../../../index.js").DeserializedJson;
|
|
593
|
+
type: "set";
|
|
594
594
|
key: string;
|
|
595
595
|
} | {
|
|
596
596
|
type: "delete";
|
|
597
597
|
key: string;
|
|
598
598
|
} | {
|
|
599
|
-
type: "append";
|
|
600
599
|
value: import("../../../index.js").DeserializedJson;
|
|
600
|
+
type: "append";
|
|
601
601
|
key: string;
|
|
602
602
|
} | {
|
|
603
|
-
type: "remove";
|
|
604
603
|
value: import("../../../index.js").DeserializedJson;
|
|
604
|
+
type: "remove";
|
|
605
605
|
key: string;
|
|
606
606
|
} | {
|
|
607
|
-
type: "increment";
|
|
608
607
|
value: number;
|
|
608
|
+
type: "increment";
|
|
609
609
|
key: string;
|
|
610
610
|
})[] | undefined;
|
|
611
611
|
rootOperations?: ({
|
|
612
|
-
type: "update";
|
|
613
612
|
value: Record<string, unknown>;
|
|
613
|
+
type: "update";
|
|
614
614
|
} | {
|
|
615
|
-
type: "set";
|
|
616
615
|
value: import("../../../index.js").DeserializedJson;
|
|
616
|
+
type: "set";
|
|
617
617
|
key: string;
|
|
618
618
|
} | {
|
|
619
619
|
type: "delete";
|
|
620
620
|
key: string;
|
|
621
621
|
} | {
|
|
622
|
-
type: "append";
|
|
623
622
|
value: import("../../../index.js").DeserializedJson;
|
|
623
|
+
type: "append";
|
|
624
624
|
key: string;
|
|
625
625
|
} | {
|
|
626
|
-
type: "remove";
|
|
627
626
|
value: import("../../../index.js").DeserializedJson;
|
|
627
|
+
type: "remove";
|
|
628
628
|
key: string;
|
|
629
629
|
} | {
|
|
630
|
-
type: "increment";
|
|
631
630
|
value: number;
|
|
631
|
+
type: "increment";
|
|
632
632
|
key: string;
|
|
633
633
|
})[] | undefined;
|
|
634
634
|
} | undefined;
|
|
@@ -721,22 +721,22 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
721
721
|
type: z.ZodLiteral<"update">;
|
|
722
722
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
723
723
|
}, "strip", z.ZodTypeAny, {
|
|
724
|
-
type: "update";
|
|
725
724
|
value: Record<string, unknown>;
|
|
726
|
-
}, {
|
|
727
725
|
type: "update";
|
|
726
|
+
}, {
|
|
728
727
|
value: Record<string, unknown>;
|
|
728
|
+
type: "update";
|
|
729
729
|
}>, z.ZodObject<{
|
|
730
730
|
type: z.ZodLiteral<"set">;
|
|
731
731
|
key: z.ZodString;
|
|
732
732
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
733
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
|
-
type: "set";
|
|
735
734
|
value: import("../../../index.js").DeserializedJson;
|
|
735
|
+
type: "set";
|
|
736
736
|
key: string;
|
|
737
737
|
}, {
|
|
738
|
-
type: "set";
|
|
739
738
|
value: import("../../../index.js").DeserializedJson;
|
|
739
|
+
type: "set";
|
|
740
740
|
key: string;
|
|
741
741
|
}>, z.ZodObject<{
|
|
742
742
|
type: z.ZodLiteral<"delete">;
|
|
@@ -752,58 +752,58 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
752
752
|
key: z.ZodString;
|
|
753
753
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
754
754
|
}, "strip", z.ZodTypeAny, {
|
|
755
|
-
type: "append";
|
|
756
755
|
value: import("../../../index.js").DeserializedJson;
|
|
756
|
+
type: "append";
|
|
757
757
|
key: string;
|
|
758
758
|
}, {
|
|
759
|
-
type: "append";
|
|
760
759
|
value: import("../../../index.js").DeserializedJson;
|
|
760
|
+
type: "append";
|
|
761
761
|
key: string;
|
|
762
762
|
}>, z.ZodObject<{
|
|
763
763
|
type: z.ZodLiteral<"remove">;
|
|
764
764
|
key: z.ZodString;
|
|
765
765
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
766
766
|
}, "strip", z.ZodTypeAny, {
|
|
767
|
-
type: "remove";
|
|
768
767
|
value: import("../../../index.js").DeserializedJson;
|
|
768
|
+
type: "remove";
|
|
769
769
|
key: string;
|
|
770
770
|
}, {
|
|
771
|
-
type: "remove";
|
|
772
771
|
value: import("../../../index.js").DeserializedJson;
|
|
772
|
+
type: "remove";
|
|
773
773
|
key: string;
|
|
774
774
|
}>, z.ZodObject<{
|
|
775
775
|
type: z.ZodLiteral<"increment">;
|
|
776
776
|
key: z.ZodString;
|
|
777
777
|
value: z.ZodNumber;
|
|
778
778
|
}, "strip", z.ZodTypeAny, {
|
|
779
|
-
type: "increment";
|
|
780
779
|
value: number;
|
|
780
|
+
type: "increment";
|
|
781
781
|
key: string;
|
|
782
782
|
}, {
|
|
783
|
-
type: "increment";
|
|
784
783
|
value: number;
|
|
784
|
+
type: "increment";
|
|
785
785
|
key: string;
|
|
786
786
|
}>]>, "many">>;
|
|
787
787
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
788
788
|
type: z.ZodLiteral<"update">;
|
|
789
789
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
790
790
|
}, "strip", z.ZodTypeAny, {
|
|
791
|
-
type: "update";
|
|
792
791
|
value: Record<string, unknown>;
|
|
793
|
-
}, {
|
|
794
792
|
type: "update";
|
|
793
|
+
}, {
|
|
795
794
|
value: Record<string, unknown>;
|
|
795
|
+
type: "update";
|
|
796
796
|
}>, z.ZodObject<{
|
|
797
797
|
type: z.ZodLiteral<"set">;
|
|
798
798
|
key: z.ZodString;
|
|
799
799
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
type: "set";
|
|
802
801
|
value: import("../../../index.js").DeserializedJson;
|
|
802
|
+
type: "set";
|
|
803
803
|
key: string;
|
|
804
804
|
}, {
|
|
805
|
-
type: "set";
|
|
806
805
|
value: import("../../../index.js").DeserializedJson;
|
|
806
|
+
type: "set";
|
|
807
807
|
key: string;
|
|
808
808
|
}>, z.ZodObject<{
|
|
809
809
|
type: z.ZodLiteral<"delete">;
|
|
@@ -819,58 +819,58 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
819
819
|
key: z.ZodString;
|
|
820
820
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
821
821
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
-
type: "append";
|
|
823
822
|
value: import("../../../index.js").DeserializedJson;
|
|
823
|
+
type: "append";
|
|
824
824
|
key: string;
|
|
825
825
|
}, {
|
|
826
|
-
type: "append";
|
|
827
826
|
value: import("../../../index.js").DeserializedJson;
|
|
827
|
+
type: "append";
|
|
828
828
|
key: string;
|
|
829
829
|
}>, z.ZodObject<{
|
|
830
830
|
type: z.ZodLiteral<"remove">;
|
|
831
831
|
key: z.ZodString;
|
|
832
832
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
833
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
-
type: "remove";
|
|
835
834
|
value: import("../../../index.js").DeserializedJson;
|
|
835
|
+
type: "remove";
|
|
836
836
|
key: string;
|
|
837
837
|
}, {
|
|
838
|
-
type: "remove";
|
|
839
838
|
value: import("../../../index.js").DeserializedJson;
|
|
839
|
+
type: "remove";
|
|
840
840
|
key: string;
|
|
841
841
|
}>, z.ZodObject<{
|
|
842
842
|
type: z.ZodLiteral<"increment">;
|
|
843
843
|
key: z.ZodString;
|
|
844
844
|
value: z.ZodNumber;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
type: "increment";
|
|
847
846
|
value: number;
|
|
847
|
+
type: "increment";
|
|
848
848
|
key: string;
|
|
849
849
|
}, {
|
|
850
|
-
type: "increment";
|
|
851
850
|
value: number;
|
|
851
|
+
type: "increment";
|
|
852
852
|
key: string;
|
|
853
853
|
}>]>, "many">>;
|
|
854
854
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
855
855
|
type: z.ZodLiteral<"update">;
|
|
856
856
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
|
858
|
-
type: "update";
|
|
859
858
|
value: Record<string, unknown>;
|
|
860
|
-
}, {
|
|
861
859
|
type: "update";
|
|
860
|
+
}, {
|
|
862
861
|
value: Record<string, unknown>;
|
|
862
|
+
type: "update";
|
|
863
863
|
}>, z.ZodObject<{
|
|
864
864
|
type: z.ZodLiteral<"set">;
|
|
865
865
|
key: z.ZodString;
|
|
866
866
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
867
867
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
type: "set";
|
|
869
868
|
value: import("../../../index.js").DeserializedJson;
|
|
869
|
+
type: "set";
|
|
870
870
|
key: string;
|
|
871
871
|
}, {
|
|
872
|
-
type: "set";
|
|
873
872
|
value: import("../../../index.js").DeserializedJson;
|
|
873
|
+
type: "set";
|
|
874
874
|
key: string;
|
|
875
875
|
}>, z.ZodObject<{
|
|
876
876
|
type: z.ZodLiteral<"delete">;
|
|
@@ -886,178 +886,178 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
886
886
|
key: z.ZodString;
|
|
887
887
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
888
888
|
}, "strip", z.ZodTypeAny, {
|
|
889
|
-
type: "append";
|
|
890
889
|
value: import("../../../index.js").DeserializedJson;
|
|
890
|
+
type: "append";
|
|
891
891
|
key: string;
|
|
892
892
|
}, {
|
|
893
|
-
type: "append";
|
|
894
893
|
value: import("../../../index.js").DeserializedJson;
|
|
894
|
+
type: "append";
|
|
895
895
|
key: string;
|
|
896
896
|
}>, z.ZodObject<{
|
|
897
897
|
type: z.ZodLiteral<"remove">;
|
|
898
898
|
key: z.ZodString;
|
|
899
899
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
900
900
|
}, "strip", z.ZodTypeAny, {
|
|
901
|
-
type: "remove";
|
|
902
901
|
value: import("../../../index.js").DeserializedJson;
|
|
902
|
+
type: "remove";
|
|
903
903
|
key: string;
|
|
904
904
|
}, {
|
|
905
|
-
type: "remove";
|
|
906
905
|
value: import("../../../index.js").DeserializedJson;
|
|
906
|
+
type: "remove";
|
|
907
907
|
key: string;
|
|
908
908
|
}>, z.ZodObject<{
|
|
909
909
|
type: z.ZodLiteral<"increment">;
|
|
910
910
|
key: z.ZodString;
|
|
911
911
|
value: z.ZodNumber;
|
|
912
912
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
-
type: "increment";
|
|
914
913
|
value: number;
|
|
914
|
+
type: "increment";
|
|
915
915
|
key: string;
|
|
916
916
|
}, {
|
|
917
|
-
type: "increment";
|
|
918
917
|
value: number;
|
|
918
|
+
type: "increment";
|
|
919
919
|
key: string;
|
|
920
920
|
}>]>, "many">>;
|
|
921
921
|
}, "strip", z.ZodTypeAny, {
|
|
922
922
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
923
923
|
operations?: ({
|
|
924
|
-
type: "update";
|
|
925
924
|
value: Record<string, unknown>;
|
|
925
|
+
type: "update";
|
|
926
926
|
} | {
|
|
927
|
-
type: "set";
|
|
928
927
|
value: import("../../../index.js").DeserializedJson;
|
|
928
|
+
type: "set";
|
|
929
929
|
key: string;
|
|
930
930
|
} | {
|
|
931
931
|
type: "delete";
|
|
932
932
|
key: string;
|
|
933
933
|
} | {
|
|
934
|
-
type: "append";
|
|
935
934
|
value: import("../../../index.js").DeserializedJson;
|
|
935
|
+
type: "append";
|
|
936
936
|
key: string;
|
|
937
937
|
} | {
|
|
938
|
-
type: "remove";
|
|
939
938
|
value: import("../../../index.js").DeserializedJson;
|
|
939
|
+
type: "remove";
|
|
940
940
|
key: string;
|
|
941
941
|
} | {
|
|
942
|
-
type: "increment";
|
|
943
942
|
value: number;
|
|
943
|
+
type: "increment";
|
|
944
944
|
key: string;
|
|
945
945
|
})[] | undefined;
|
|
946
946
|
parentOperations?: ({
|
|
947
|
-
type: "update";
|
|
948
947
|
value: Record<string, unknown>;
|
|
948
|
+
type: "update";
|
|
949
949
|
} | {
|
|
950
|
-
type: "set";
|
|
951
950
|
value: import("../../../index.js").DeserializedJson;
|
|
951
|
+
type: "set";
|
|
952
952
|
key: string;
|
|
953
953
|
} | {
|
|
954
954
|
type: "delete";
|
|
955
955
|
key: string;
|
|
956
956
|
} | {
|
|
957
|
-
type: "append";
|
|
958
957
|
value: import("../../../index.js").DeserializedJson;
|
|
958
|
+
type: "append";
|
|
959
959
|
key: string;
|
|
960
960
|
} | {
|
|
961
|
-
type: "remove";
|
|
962
961
|
value: import("../../../index.js").DeserializedJson;
|
|
962
|
+
type: "remove";
|
|
963
963
|
key: string;
|
|
964
964
|
} | {
|
|
965
|
-
type: "increment";
|
|
966
965
|
value: number;
|
|
966
|
+
type: "increment";
|
|
967
967
|
key: string;
|
|
968
968
|
})[] | undefined;
|
|
969
969
|
rootOperations?: ({
|
|
970
|
-
type: "update";
|
|
971
970
|
value: Record<string, unknown>;
|
|
971
|
+
type: "update";
|
|
972
972
|
} | {
|
|
973
|
-
type: "set";
|
|
974
973
|
value: import("../../../index.js").DeserializedJson;
|
|
974
|
+
type: "set";
|
|
975
975
|
key: string;
|
|
976
976
|
} | {
|
|
977
977
|
type: "delete";
|
|
978
978
|
key: string;
|
|
979
979
|
} | {
|
|
980
|
-
type: "append";
|
|
981
980
|
value: import("../../../index.js").DeserializedJson;
|
|
981
|
+
type: "append";
|
|
982
982
|
key: string;
|
|
983
983
|
} | {
|
|
984
|
-
type: "remove";
|
|
985
984
|
value: import("../../../index.js").DeserializedJson;
|
|
985
|
+
type: "remove";
|
|
986
986
|
key: string;
|
|
987
987
|
} | {
|
|
988
|
-
type: "increment";
|
|
989
988
|
value: number;
|
|
989
|
+
type: "increment";
|
|
990
990
|
key: string;
|
|
991
991
|
})[] | undefined;
|
|
992
992
|
}, {
|
|
993
993
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
994
994
|
operations?: ({
|
|
995
|
-
type: "update";
|
|
996
995
|
value: Record<string, unknown>;
|
|
996
|
+
type: "update";
|
|
997
997
|
} | {
|
|
998
|
-
type: "set";
|
|
999
998
|
value: import("../../../index.js").DeserializedJson;
|
|
999
|
+
type: "set";
|
|
1000
1000
|
key: string;
|
|
1001
1001
|
} | {
|
|
1002
1002
|
type: "delete";
|
|
1003
1003
|
key: string;
|
|
1004
1004
|
} | {
|
|
1005
|
-
type: "append";
|
|
1006
1005
|
value: import("../../../index.js").DeserializedJson;
|
|
1006
|
+
type: "append";
|
|
1007
1007
|
key: string;
|
|
1008
1008
|
} | {
|
|
1009
|
-
type: "remove";
|
|
1010
1009
|
value: import("../../../index.js").DeserializedJson;
|
|
1010
|
+
type: "remove";
|
|
1011
1011
|
key: string;
|
|
1012
1012
|
} | {
|
|
1013
|
-
type: "increment";
|
|
1014
1013
|
value: number;
|
|
1014
|
+
type: "increment";
|
|
1015
1015
|
key: string;
|
|
1016
1016
|
})[] | undefined;
|
|
1017
1017
|
parentOperations?: ({
|
|
1018
|
-
type: "update";
|
|
1019
1018
|
value: Record<string, unknown>;
|
|
1019
|
+
type: "update";
|
|
1020
1020
|
} | {
|
|
1021
|
-
type: "set";
|
|
1022
1021
|
value: import("../../../index.js").DeserializedJson;
|
|
1022
|
+
type: "set";
|
|
1023
1023
|
key: string;
|
|
1024
1024
|
} | {
|
|
1025
1025
|
type: "delete";
|
|
1026
1026
|
key: string;
|
|
1027
1027
|
} | {
|
|
1028
|
-
type: "append";
|
|
1029
1028
|
value: import("../../../index.js").DeserializedJson;
|
|
1029
|
+
type: "append";
|
|
1030
1030
|
key: string;
|
|
1031
1031
|
} | {
|
|
1032
|
-
type: "remove";
|
|
1033
1032
|
value: import("../../../index.js").DeserializedJson;
|
|
1033
|
+
type: "remove";
|
|
1034
1034
|
key: string;
|
|
1035
1035
|
} | {
|
|
1036
|
-
type: "increment";
|
|
1037
1036
|
value: number;
|
|
1037
|
+
type: "increment";
|
|
1038
1038
|
key: string;
|
|
1039
1039
|
})[] | undefined;
|
|
1040
1040
|
rootOperations?: ({
|
|
1041
|
-
type: "update";
|
|
1042
1041
|
value: Record<string, unknown>;
|
|
1042
|
+
type: "update";
|
|
1043
1043
|
} | {
|
|
1044
|
-
type: "set";
|
|
1045
1044
|
value: import("../../../index.js").DeserializedJson;
|
|
1045
|
+
type: "set";
|
|
1046
1046
|
key: string;
|
|
1047
1047
|
} | {
|
|
1048
1048
|
type: "delete";
|
|
1049
1049
|
key: string;
|
|
1050
1050
|
} | {
|
|
1051
|
-
type: "append";
|
|
1052
1051
|
value: import("../../../index.js").DeserializedJson;
|
|
1052
|
+
type: "append";
|
|
1053
1053
|
key: string;
|
|
1054
1054
|
} | {
|
|
1055
|
-
type: "remove";
|
|
1056
1055
|
value: import("../../../index.js").DeserializedJson;
|
|
1056
|
+
type: "remove";
|
|
1057
1057
|
key: string;
|
|
1058
1058
|
} | {
|
|
1059
|
-
type: "increment";
|
|
1060
1059
|
value: number;
|
|
1060
|
+
type: "increment";
|
|
1061
1061
|
key: string;
|
|
1062
1062
|
})[] | undefined;
|
|
1063
1063
|
}>>;
|
|
@@ -1094,72 +1094,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1094
1094
|
metadata?: {
|
|
1095
1095
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1096
1096
|
operations?: ({
|
|
1097
|
-
type: "update";
|
|
1098
1097
|
value: Record<string, unknown>;
|
|
1098
|
+
type: "update";
|
|
1099
1099
|
} | {
|
|
1100
|
-
type: "set";
|
|
1101
1100
|
value: import("../../../index.js").DeserializedJson;
|
|
1101
|
+
type: "set";
|
|
1102
1102
|
key: string;
|
|
1103
1103
|
} | {
|
|
1104
1104
|
type: "delete";
|
|
1105
1105
|
key: string;
|
|
1106
1106
|
} | {
|
|
1107
|
-
type: "append";
|
|
1108
1107
|
value: import("../../../index.js").DeserializedJson;
|
|
1108
|
+
type: "append";
|
|
1109
1109
|
key: string;
|
|
1110
1110
|
} | {
|
|
1111
|
-
type: "remove";
|
|
1112
1111
|
value: import("../../../index.js").DeserializedJson;
|
|
1112
|
+
type: "remove";
|
|
1113
1113
|
key: string;
|
|
1114
1114
|
} | {
|
|
1115
|
-
type: "increment";
|
|
1116
1115
|
value: number;
|
|
1116
|
+
type: "increment";
|
|
1117
1117
|
key: string;
|
|
1118
1118
|
})[] | undefined;
|
|
1119
1119
|
parentOperations?: ({
|
|
1120
|
-
type: "update";
|
|
1121
1120
|
value: Record<string, unknown>;
|
|
1121
|
+
type: "update";
|
|
1122
1122
|
} | {
|
|
1123
|
-
type: "set";
|
|
1124
1123
|
value: import("../../../index.js").DeserializedJson;
|
|
1124
|
+
type: "set";
|
|
1125
1125
|
key: string;
|
|
1126
1126
|
} | {
|
|
1127
1127
|
type: "delete";
|
|
1128
1128
|
key: string;
|
|
1129
1129
|
} | {
|
|
1130
|
-
type: "append";
|
|
1131
1130
|
value: import("../../../index.js").DeserializedJson;
|
|
1131
|
+
type: "append";
|
|
1132
1132
|
key: string;
|
|
1133
1133
|
} | {
|
|
1134
|
-
type: "remove";
|
|
1135
1134
|
value: import("../../../index.js").DeserializedJson;
|
|
1135
|
+
type: "remove";
|
|
1136
1136
|
key: string;
|
|
1137
1137
|
} | {
|
|
1138
|
-
type: "increment";
|
|
1139
1138
|
value: number;
|
|
1139
|
+
type: "increment";
|
|
1140
1140
|
key: string;
|
|
1141
1141
|
})[] | undefined;
|
|
1142
1142
|
rootOperations?: ({
|
|
1143
|
-
type: "update";
|
|
1144
1143
|
value: Record<string, unknown>;
|
|
1144
|
+
type: "update";
|
|
1145
1145
|
} | {
|
|
1146
|
-
type: "set";
|
|
1147
1146
|
value: import("../../../index.js").DeserializedJson;
|
|
1147
|
+
type: "set";
|
|
1148
1148
|
key: string;
|
|
1149
1149
|
} | {
|
|
1150
1150
|
type: "delete";
|
|
1151
1151
|
key: string;
|
|
1152
1152
|
} | {
|
|
1153
|
-
type: "append";
|
|
1154
1153
|
value: import("../../../index.js").DeserializedJson;
|
|
1154
|
+
type: "append";
|
|
1155
1155
|
key: string;
|
|
1156
1156
|
} | {
|
|
1157
|
-
type: "remove";
|
|
1158
1157
|
value: import("../../../index.js").DeserializedJson;
|
|
1158
|
+
type: "remove";
|
|
1159
1159
|
key: string;
|
|
1160
1160
|
} | {
|
|
1161
|
-
type: "increment";
|
|
1162
1161
|
value: number;
|
|
1162
|
+
type: "increment";
|
|
1163
1163
|
key: string;
|
|
1164
1164
|
})[] | undefined;
|
|
1165
1165
|
} | undefined;
|
|
@@ -1200,72 +1200,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1200
1200
|
metadata?: {
|
|
1201
1201
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1202
1202
|
operations?: ({
|
|
1203
|
-
type: "update";
|
|
1204
1203
|
value: Record<string, unknown>;
|
|
1204
|
+
type: "update";
|
|
1205
1205
|
} | {
|
|
1206
|
-
type: "set";
|
|
1207
1206
|
value: import("../../../index.js").DeserializedJson;
|
|
1207
|
+
type: "set";
|
|
1208
1208
|
key: string;
|
|
1209
1209
|
} | {
|
|
1210
1210
|
type: "delete";
|
|
1211
1211
|
key: string;
|
|
1212
1212
|
} | {
|
|
1213
|
-
type: "append";
|
|
1214
1213
|
value: import("../../../index.js").DeserializedJson;
|
|
1214
|
+
type: "append";
|
|
1215
1215
|
key: string;
|
|
1216
1216
|
} | {
|
|
1217
|
-
type: "remove";
|
|
1218
1217
|
value: import("../../../index.js").DeserializedJson;
|
|
1218
|
+
type: "remove";
|
|
1219
1219
|
key: string;
|
|
1220
1220
|
} | {
|
|
1221
|
-
type: "increment";
|
|
1222
1221
|
value: number;
|
|
1222
|
+
type: "increment";
|
|
1223
1223
|
key: string;
|
|
1224
1224
|
})[] | undefined;
|
|
1225
1225
|
parentOperations?: ({
|
|
1226
|
-
type: "update";
|
|
1227
1226
|
value: Record<string, unknown>;
|
|
1227
|
+
type: "update";
|
|
1228
1228
|
} | {
|
|
1229
|
-
type: "set";
|
|
1230
1229
|
value: import("../../../index.js").DeserializedJson;
|
|
1230
|
+
type: "set";
|
|
1231
1231
|
key: string;
|
|
1232
1232
|
} | {
|
|
1233
1233
|
type: "delete";
|
|
1234
1234
|
key: string;
|
|
1235
1235
|
} | {
|
|
1236
|
-
type: "append";
|
|
1237
1236
|
value: import("../../../index.js").DeserializedJson;
|
|
1237
|
+
type: "append";
|
|
1238
1238
|
key: string;
|
|
1239
1239
|
} | {
|
|
1240
|
-
type: "remove";
|
|
1241
1240
|
value: import("../../../index.js").DeserializedJson;
|
|
1241
|
+
type: "remove";
|
|
1242
1242
|
key: string;
|
|
1243
1243
|
} | {
|
|
1244
|
-
type: "increment";
|
|
1245
1244
|
value: number;
|
|
1245
|
+
type: "increment";
|
|
1246
1246
|
key: string;
|
|
1247
1247
|
})[] | undefined;
|
|
1248
1248
|
rootOperations?: ({
|
|
1249
|
-
type: "update";
|
|
1250
1249
|
value: Record<string, unknown>;
|
|
1250
|
+
type: "update";
|
|
1251
1251
|
} | {
|
|
1252
|
-
type: "set";
|
|
1253
1252
|
value: import("../../../index.js").DeserializedJson;
|
|
1253
|
+
type: "set";
|
|
1254
1254
|
key: string;
|
|
1255
1255
|
} | {
|
|
1256
1256
|
type: "delete";
|
|
1257
1257
|
key: string;
|
|
1258
1258
|
} | {
|
|
1259
|
-
type: "append";
|
|
1260
1259
|
value: import("../../../index.js").DeserializedJson;
|
|
1260
|
+
type: "append";
|
|
1261
1261
|
key: string;
|
|
1262
1262
|
} | {
|
|
1263
|
-
type: "remove";
|
|
1264
1263
|
value: import("../../../index.js").DeserializedJson;
|
|
1264
|
+
type: "remove";
|
|
1265
1265
|
key: string;
|
|
1266
1266
|
} | {
|
|
1267
|
-
type: "increment";
|
|
1268
1267
|
value: number;
|
|
1268
|
+
type: "increment";
|
|
1269
1269
|
key: string;
|
|
1270
1270
|
})[] | undefined;
|
|
1271
1271
|
} | undefined;
|
|
@@ -1308,72 +1308,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1308
1308
|
metadata?: {
|
|
1309
1309
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1310
1310
|
operations?: ({
|
|
1311
|
-
type: "update";
|
|
1312
1311
|
value: Record<string, unknown>;
|
|
1312
|
+
type: "update";
|
|
1313
1313
|
} | {
|
|
1314
|
-
type: "set";
|
|
1315
1314
|
value: import("../../../index.js").DeserializedJson;
|
|
1315
|
+
type: "set";
|
|
1316
1316
|
key: string;
|
|
1317
1317
|
} | {
|
|
1318
1318
|
type: "delete";
|
|
1319
1319
|
key: string;
|
|
1320
1320
|
} | {
|
|
1321
|
-
type: "append";
|
|
1322
1321
|
value: import("../../../index.js").DeserializedJson;
|
|
1322
|
+
type: "append";
|
|
1323
1323
|
key: string;
|
|
1324
1324
|
} | {
|
|
1325
|
-
type: "remove";
|
|
1326
1325
|
value: import("../../../index.js").DeserializedJson;
|
|
1326
|
+
type: "remove";
|
|
1327
1327
|
key: string;
|
|
1328
1328
|
} | {
|
|
1329
|
-
type: "increment";
|
|
1330
1329
|
value: number;
|
|
1330
|
+
type: "increment";
|
|
1331
1331
|
key: string;
|
|
1332
1332
|
})[] | undefined;
|
|
1333
1333
|
parentOperations?: ({
|
|
1334
|
-
type: "update";
|
|
1335
1334
|
value: Record<string, unknown>;
|
|
1335
|
+
type: "update";
|
|
1336
1336
|
} | {
|
|
1337
|
-
type: "set";
|
|
1338
1337
|
value: import("../../../index.js").DeserializedJson;
|
|
1338
|
+
type: "set";
|
|
1339
1339
|
key: string;
|
|
1340
1340
|
} | {
|
|
1341
1341
|
type: "delete";
|
|
1342
1342
|
key: string;
|
|
1343
1343
|
} | {
|
|
1344
|
-
type: "append";
|
|
1345
1344
|
value: import("../../../index.js").DeserializedJson;
|
|
1345
|
+
type: "append";
|
|
1346
1346
|
key: string;
|
|
1347
1347
|
} | {
|
|
1348
|
-
type: "remove";
|
|
1349
1348
|
value: import("../../../index.js").DeserializedJson;
|
|
1349
|
+
type: "remove";
|
|
1350
1350
|
key: string;
|
|
1351
1351
|
} | {
|
|
1352
|
-
type: "increment";
|
|
1353
1352
|
value: number;
|
|
1353
|
+
type: "increment";
|
|
1354
1354
|
key: string;
|
|
1355
1355
|
})[] | undefined;
|
|
1356
1356
|
rootOperations?: ({
|
|
1357
|
-
type: "update";
|
|
1358
1357
|
value: Record<string, unknown>;
|
|
1358
|
+
type: "update";
|
|
1359
1359
|
} | {
|
|
1360
|
-
type: "set";
|
|
1361
1360
|
value: import("../../../index.js").DeserializedJson;
|
|
1361
|
+
type: "set";
|
|
1362
1362
|
key: string;
|
|
1363
1363
|
} | {
|
|
1364
1364
|
type: "delete";
|
|
1365
1365
|
key: string;
|
|
1366
1366
|
} | {
|
|
1367
|
-
type: "append";
|
|
1368
1367
|
value: import("../../../index.js").DeserializedJson;
|
|
1368
|
+
type: "append";
|
|
1369
1369
|
key: string;
|
|
1370
1370
|
} | {
|
|
1371
|
-
type: "remove";
|
|
1372
1371
|
value: import("../../../index.js").DeserializedJson;
|
|
1372
|
+
type: "remove";
|
|
1373
1373
|
key: string;
|
|
1374
1374
|
} | {
|
|
1375
|
-
type: "increment";
|
|
1376
1375
|
value: number;
|
|
1376
|
+
type: "increment";
|
|
1377
1377
|
key: string;
|
|
1378
1378
|
})[] | undefined;
|
|
1379
1379
|
} | undefined;
|
|
@@ -1398,72 +1398,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1398
1398
|
metadata?: {
|
|
1399
1399
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1400
1400
|
operations?: ({
|
|
1401
|
-
type: "update";
|
|
1402
1401
|
value: Record<string, unknown>;
|
|
1402
|
+
type: "update";
|
|
1403
1403
|
} | {
|
|
1404
|
-
type: "set";
|
|
1405
1404
|
value: import("../../../index.js").DeserializedJson;
|
|
1405
|
+
type: "set";
|
|
1406
1406
|
key: string;
|
|
1407
1407
|
} | {
|
|
1408
1408
|
type: "delete";
|
|
1409
1409
|
key: string;
|
|
1410
1410
|
} | {
|
|
1411
|
-
type: "append";
|
|
1412
1411
|
value: import("../../../index.js").DeserializedJson;
|
|
1412
|
+
type: "append";
|
|
1413
1413
|
key: string;
|
|
1414
1414
|
} | {
|
|
1415
|
-
type: "remove";
|
|
1416
1415
|
value: import("../../../index.js").DeserializedJson;
|
|
1416
|
+
type: "remove";
|
|
1417
1417
|
key: string;
|
|
1418
1418
|
} | {
|
|
1419
|
-
type: "increment";
|
|
1420
1419
|
value: number;
|
|
1420
|
+
type: "increment";
|
|
1421
1421
|
key: string;
|
|
1422
1422
|
})[] | undefined;
|
|
1423
1423
|
parentOperations?: ({
|
|
1424
|
-
type: "update";
|
|
1425
1424
|
value: Record<string, unknown>;
|
|
1425
|
+
type: "update";
|
|
1426
1426
|
} | {
|
|
1427
|
-
type: "set";
|
|
1428
1427
|
value: import("../../../index.js").DeserializedJson;
|
|
1428
|
+
type: "set";
|
|
1429
1429
|
key: string;
|
|
1430
1430
|
} | {
|
|
1431
1431
|
type: "delete";
|
|
1432
1432
|
key: string;
|
|
1433
1433
|
} | {
|
|
1434
|
-
type: "append";
|
|
1435
1434
|
value: import("../../../index.js").DeserializedJson;
|
|
1435
|
+
type: "append";
|
|
1436
1436
|
key: string;
|
|
1437
1437
|
} | {
|
|
1438
|
-
type: "remove";
|
|
1439
1438
|
value: import("../../../index.js").DeserializedJson;
|
|
1439
|
+
type: "remove";
|
|
1440
1440
|
key: string;
|
|
1441
1441
|
} | {
|
|
1442
|
-
type: "increment";
|
|
1443
1442
|
value: number;
|
|
1443
|
+
type: "increment";
|
|
1444
1444
|
key: string;
|
|
1445
1445
|
})[] | undefined;
|
|
1446
1446
|
rootOperations?: ({
|
|
1447
|
-
type: "update";
|
|
1448
1447
|
value: Record<string, unknown>;
|
|
1448
|
+
type: "update";
|
|
1449
1449
|
} | {
|
|
1450
|
-
type: "set";
|
|
1451
1450
|
value: import("../../../index.js").DeserializedJson;
|
|
1451
|
+
type: "set";
|
|
1452
1452
|
key: string;
|
|
1453
1453
|
} | {
|
|
1454
1454
|
type: "delete";
|
|
1455
1455
|
key: string;
|
|
1456
1456
|
} | {
|
|
1457
|
-
type: "append";
|
|
1458
1457
|
value: import("../../../index.js").DeserializedJson;
|
|
1458
|
+
type: "append";
|
|
1459
1459
|
key: string;
|
|
1460
1460
|
} | {
|
|
1461
|
-
type: "remove";
|
|
1462
1461
|
value: import("../../../index.js").DeserializedJson;
|
|
1462
|
+
type: "remove";
|
|
1463
1463
|
key: string;
|
|
1464
1464
|
} | {
|
|
1465
|
-
type: "increment";
|
|
1466
1465
|
value: number;
|
|
1466
|
+
type: "increment";
|
|
1467
1467
|
key: string;
|
|
1468
1468
|
})[] | undefined;
|
|
1469
1469
|
} | undefined;
|
|
@@ -1501,72 +1501,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1501
1501
|
metadata?: {
|
|
1502
1502
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1503
1503
|
operations?: ({
|
|
1504
|
-
type: "update";
|
|
1505
1504
|
value: Record<string, unknown>;
|
|
1505
|
+
type: "update";
|
|
1506
1506
|
} | {
|
|
1507
|
-
type: "set";
|
|
1508
1507
|
value: import("../../../index.js").DeserializedJson;
|
|
1508
|
+
type: "set";
|
|
1509
1509
|
key: string;
|
|
1510
1510
|
} | {
|
|
1511
1511
|
type: "delete";
|
|
1512
1512
|
key: string;
|
|
1513
1513
|
} | {
|
|
1514
|
-
type: "append";
|
|
1515
1514
|
value: import("../../../index.js").DeserializedJson;
|
|
1515
|
+
type: "append";
|
|
1516
1516
|
key: string;
|
|
1517
1517
|
} | {
|
|
1518
|
-
type: "remove";
|
|
1519
1518
|
value: import("../../../index.js").DeserializedJson;
|
|
1519
|
+
type: "remove";
|
|
1520
1520
|
key: string;
|
|
1521
1521
|
} | {
|
|
1522
|
-
type: "increment";
|
|
1523
1522
|
value: number;
|
|
1523
|
+
type: "increment";
|
|
1524
1524
|
key: string;
|
|
1525
1525
|
})[] | undefined;
|
|
1526
1526
|
parentOperations?: ({
|
|
1527
|
-
type: "update";
|
|
1528
1527
|
value: Record<string, unknown>;
|
|
1528
|
+
type: "update";
|
|
1529
1529
|
} | {
|
|
1530
|
-
type: "set";
|
|
1531
1530
|
value: import("../../../index.js").DeserializedJson;
|
|
1531
|
+
type: "set";
|
|
1532
1532
|
key: string;
|
|
1533
1533
|
} | {
|
|
1534
1534
|
type: "delete";
|
|
1535
1535
|
key: string;
|
|
1536
1536
|
} | {
|
|
1537
|
-
type: "append";
|
|
1538
1537
|
value: import("../../../index.js").DeserializedJson;
|
|
1538
|
+
type: "append";
|
|
1539
1539
|
key: string;
|
|
1540
1540
|
} | {
|
|
1541
|
-
type: "remove";
|
|
1542
1541
|
value: import("../../../index.js").DeserializedJson;
|
|
1542
|
+
type: "remove";
|
|
1543
1543
|
key: string;
|
|
1544
1544
|
} | {
|
|
1545
|
-
type: "increment";
|
|
1546
1545
|
value: number;
|
|
1546
|
+
type: "increment";
|
|
1547
1547
|
key: string;
|
|
1548
1548
|
})[] | undefined;
|
|
1549
1549
|
rootOperations?: ({
|
|
1550
|
-
type: "update";
|
|
1551
1550
|
value: Record<string, unknown>;
|
|
1551
|
+
type: "update";
|
|
1552
1552
|
} | {
|
|
1553
|
-
type: "set";
|
|
1554
1553
|
value: import("../../../index.js").DeserializedJson;
|
|
1554
|
+
type: "set";
|
|
1555
1555
|
key: string;
|
|
1556
1556
|
} | {
|
|
1557
1557
|
type: "delete";
|
|
1558
1558
|
key: string;
|
|
1559
1559
|
} | {
|
|
1560
|
-
type: "append";
|
|
1561
1560
|
value: import("../../../index.js").DeserializedJson;
|
|
1561
|
+
type: "append";
|
|
1562
1562
|
key: string;
|
|
1563
1563
|
} | {
|
|
1564
|
-
type: "remove";
|
|
1565
1564
|
value: import("../../../index.js").DeserializedJson;
|
|
1565
|
+
type: "remove";
|
|
1566
1566
|
key: string;
|
|
1567
1567
|
} | {
|
|
1568
|
-
type: "increment";
|
|
1569
1568
|
value: number;
|
|
1569
|
+
type: "increment";
|
|
1570
1570
|
key: string;
|
|
1571
1571
|
})[] | undefined;
|
|
1572
1572
|
} | undefined;
|
|
@@ -1591,72 +1591,72 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1591
1591
|
metadata?: {
|
|
1592
1592
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1593
1593
|
operations?: ({
|
|
1594
|
-
type: "update";
|
|
1595
1594
|
value: Record<string, unknown>;
|
|
1595
|
+
type: "update";
|
|
1596
1596
|
} | {
|
|
1597
|
-
type: "set";
|
|
1598
1597
|
value: import("../../../index.js").DeserializedJson;
|
|
1598
|
+
type: "set";
|
|
1599
1599
|
key: string;
|
|
1600
1600
|
} | {
|
|
1601
1601
|
type: "delete";
|
|
1602
1602
|
key: string;
|
|
1603
1603
|
} | {
|
|
1604
|
-
type: "append";
|
|
1605
1604
|
value: import("../../../index.js").DeserializedJson;
|
|
1605
|
+
type: "append";
|
|
1606
1606
|
key: string;
|
|
1607
1607
|
} | {
|
|
1608
|
-
type: "remove";
|
|
1609
1608
|
value: import("../../../index.js").DeserializedJson;
|
|
1609
|
+
type: "remove";
|
|
1610
1610
|
key: string;
|
|
1611
1611
|
} | {
|
|
1612
|
-
type: "increment";
|
|
1613
1612
|
value: number;
|
|
1613
|
+
type: "increment";
|
|
1614
1614
|
key: string;
|
|
1615
1615
|
})[] | undefined;
|
|
1616
1616
|
parentOperations?: ({
|
|
1617
|
-
type: "update";
|
|
1618
1617
|
value: Record<string, unknown>;
|
|
1618
|
+
type: "update";
|
|
1619
1619
|
} | {
|
|
1620
|
-
type: "set";
|
|
1621
1620
|
value: import("../../../index.js").DeserializedJson;
|
|
1621
|
+
type: "set";
|
|
1622
1622
|
key: string;
|
|
1623
1623
|
} | {
|
|
1624
1624
|
type: "delete";
|
|
1625
1625
|
key: string;
|
|
1626
1626
|
} | {
|
|
1627
|
-
type: "append";
|
|
1628
1627
|
value: import("../../../index.js").DeserializedJson;
|
|
1628
|
+
type: "append";
|
|
1629
1629
|
key: string;
|
|
1630
1630
|
} | {
|
|
1631
|
-
type: "remove";
|
|
1632
1631
|
value: import("../../../index.js").DeserializedJson;
|
|
1632
|
+
type: "remove";
|
|
1633
1633
|
key: string;
|
|
1634
1634
|
} | {
|
|
1635
|
-
type: "increment";
|
|
1636
1635
|
value: number;
|
|
1636
|
+
type: "increment";
|
|
1637
1637
|
key: string;
|
|
1638
1638
|
})[] | undefined;
|
|
1639
1639
|
rootOperations?: ({
|
|
1640
|
-
type: "update";
|
|
1641
1640
|
value: Record<string, unknown>;
|
|
1641
|
+
type: "update";
|
|
1642
1642
|
} | {
|
|
1643
|
-
type: "set";
|
|
1644
1643
|
value: import("../../../index.js").DeserializedJson;
|
|
1644
|
+
type: "set";
|
|
1645
1645
|
key: string;
|
|
1646
1646
|
} | {
|
|
1647
1647
|
type: "delete";
|
|
1648
1648
|
key: string;
|
|
1649
1649
|
} | {
|
|
1650
|
-
type: "append";
|
|
1651
1650
|
value: import("../../../index.js").DeserializedJson;
|
|
1651
|
+
type: "append";
|
|
1652
1652
|
key: string;
|
|
1653
1653
|
} | {
|
|
1654
|
-
type: "remove";
|
|
1655
1654
|
value: import("../../../index.js").DeserializedJson;
|
|
1655
|
+
type: "remove";
|
|
1656
1656
|
key: string;
|
|
1657
1657
|
} | {
|
|
1658
|
-
type: "increment";
|
|
1659
1658
|
value: number;
|
|
1659
|
+
type: "increment";
|
|
1660
1660
|
key: string;
|
|
1661
1661
|
})[] | undefined;
|
|
1662
1662
|
} | undefined;
|
|
@@ -1859,99 +1859,13 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
1859
1859
|
task: z.ZodObject<{
|
|
1860
1860
|
id: z.ZodString;
|
|
1861
1861
|
filePath: z.ZodString;
|
|
1862
|
-
|
|
1863
|
-
}, "strip", z.ZodTypeAny, {
|
|
1864
|
-
id: string;
|
|
1865
|
-
filePath: string;
|
|
1866
|
-
exportName?: string | undefined;
|
|
1867
|
-
}, {
|
|
1868
|
-
id: string;
|
|
1869
|
-
filePath: string;
|
|
1870
|
-
exportName?: string | undefined;
|
|
1871
|
-
}>;
|
|
1872
|
-
attempt: z.ZodObject<{
|
|
1873
|
-
number: z.ZodNumber;
|
|
1874
|
-
startedAt: z.ZodDate;
|
|
1862
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1875
1863
|
id: z.ZodString;
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
status: z.ZodString;
|
|
1879
|
-
}, "strip", z.ZodTypeAny, {
|
|
1880
|
-
number: number;
|
|
1881
|
-
status: string;
|
|
1882
|
-
id: string;
|
|
1883
|
-
startedAt: Date;
|
|
1884
|
-
backgroundWorkerId: string;
|
|
1885
|
-
backgroundWorkerTaskId: string;
|
|
1886
|
-
}, {
|
|
1887
|
-
number: number;
|
|
1888
|
-
status: string;
|
|
1889
|
-
id: string;
|
|
1890
|
-
startedAt: Date;
|
|
1891
|
-
backgroundWorkerId: string;
|
|
1892
|
-
backgroundWorkerTaskId: string;
|
|
1893
|
-
}>;
|
|
1894
|
-
run: z.ZodIntersection<z.ZodObject<{
|
|
1864
|
+
filePath: z.ZodString;
|
|
1865
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1895
1866
|
id: z.ZodString;
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
1899
|
-
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
1900
|
-
createdAt: z.ZodDate;
|
|
1901
|
-
startedAt: z.ZodDefault<z.ZodDate>;
|
|
1902
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1903
|
-
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1904
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1905
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>>>;
|
|
1906
|
-
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
1907
|
-
context: z.ZodAny;
|
|
1908
|
-
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
1909
|
-
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
1910
|
-
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
1911
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
1912
|
-
}, "strip", z.ZodTypeAny, {
|
|
1913
|
-
payload: string;
|
|
1914
|
-
id: string;
|
|
1915
|
-
payloadType: string;
|
|
1916
|
-
tags: string[];
|
|
1917
|
-
isTest: boolean;
|
|
1918
|
-
createdAt: Date;
|
|
1919
|
-
startedAt: Date;
|
|
1920
|
-
durationMs: number;
|
|
1921
|
-
costInCents: number;
|
|
1922
|
-
baseCostInCents: number;
|
|
1923
|
-
context?: any;
|
|
1924
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1925
|
-
idempotencyKey?: string | undefined;
|
|
1926
|
-
maxAttempts?: number | undefined;
|
|
1927
|
-
version?: string | undefined;
|
|
1928
|
-
maxDuration?: number | undefined;
|
|
1929
|
-
priority?: number | undefined;
|
|
1930
|
-
}, {
|
|
1931
|
-
payload: string;
|
|
1932
|
-
id: string;
|
|
1933
|
-
payloadType: string;
|
|
1934
|
-
tags: string[];
|
|
1935
|
-
createdAt: Date;
|
|
1936
|
-
context?: any;
|
|
1937
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1938
|
-
isTest?: boolean | undefined;
|
|
1939
|
-
startedAt?: Date | undefined;
|
|
1940
|
-
idempotencyKey?: string | undefined;
|
|
1941
|
-
maxAttempts?: number | undefined;
|
|
1942
|
-
version?: string | undefined;
|
|
1943
|
-
maxDuration?: number | undefined;
|
|
1944
|
-
durationMs?: number | undefined;
|
|
1945
|
-
costInCents?: number | undefined;
|
|
1946
|
-
baseCostInCents?: number | undefined;
|
|
1947
|
-
priority?: number | undefined;
|
|
1948
|
-
}>, z.ZodObject<{
|
|
1949
|
-
traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1950
|
-
}, "strip", z.ZodTypeAny, {
|
|
1951
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
1952
|
-
}, {
|
|
1953
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
1954
|
-
}>>;
|
|
1867
|
+
filePath: z.ZodString;
|
|
1868
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1955
1869
|
queue: z.ZodObject<{
|
|
1956
1870
|
id: z.ZodString;
|
|
1957
1871
|
name: z.ZodString;
|
|
@@ -2053,49 +1967,235 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2053
1967
|
name: string;
|
|
2054
1968
|
id: string;
|
|
2055
1969
|
slug: string;
|
|
2056
|
-
ref: string;
|
|
2057
|
-
}, {
|
|
1970
|
+
ref: string;
|
|
1971
|
+
}, {
|
|
1972
|
+
name: string;
|
|
1973
|
+
id: string;
|
|
1974
|
+
slug: string;
|
|
1975
|
+
ref: string;
|
|
1976
|
+
}>;
|
|
1977
|
+
machine: z.ZodObject<{
|
|
1978
|
+
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
1979
|
+
cpu: z.ZodNumber;
|
|
1980
|
+
memory: z.ZodNumber;
|
|
1981
|
+
centsPerMs: z.ZodNumber;
|
|
1982
|
+
}, "strip", z.ZodTypeAny, {
|
|
1983
|
+
cpu: number;
|
|
1984
|
+
memory: number;
|
|
1985
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1986
|
+
centsPerMs: number;
|
|
1987
|
+
}, {
|
|
1988
|
+
cpu: number;
|
|
1989
|
+
memory: number;
|
|
1990
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1991
|
+
centsPerMs: number;
|
|
1992
|
+
}>;
|
|
1993
|
+
batch: z.ZodOptional<z.ZodObject<{
|
|
1994
|
+
id: z.ZodString;
|
|
1995
|
+
}, "strip", z.ZodTypeAny, {
|
|
1996
|
+
id: string;
|
|
1997
|
+
}, {
|
|
1998
|
+
id: string;
|
|
1999
|
+
}>>;
|
|
2000
|
+
deployment: z.ZodOptional<z.ZodObject<{
|
|
2001
|
+
id: z.ZodString;
|
|
2002
|
+
shortCode: z.ZodString;
|
|
2003
|
+
version: z.ZodString;
|
|
2004
|
+
runtime: z.ZodString;
|
|
2005
|
+
runtimeVersion: z.ZodString;
|
|
2006
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
2007
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2008
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2009
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
2010
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
2012
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
2013
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
2014
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
2015
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2016
|
+
}, "strip", z.ZodTypeAny, {
|
|
2017
|
+
dirty?: boolean | undefined;
|
|
2018
|
+
commitAuthorName?: string | undefined;
|
|
2019
|
+
commitMessage?: string | undefined;
|
|
2020
|
+
commitRef?: string | undefined;
|
|
2021
|
+
commitSha?: string | undefined;
|
|
2022
|
+
remoteUrl?: string | undefined;
|
|
2023
|
+
pullRequestNumber?: number | undefined;
|
|
2024
|
+
pullRequestTitle?: string | undefined;
|
|
2025
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2026
|
+
}, {
|
|
2027
|
+
dirty?: boolean | undefined;
|
|
2028
|
+
commitAuthorName?: string | undefined;
|
|
2029
|
+
commitMessage?: string | undefined;
|
|
2030
|
+
commitRef?: string | undefined;
|
|
2031
|
+
commitSha?: string | undefined;
|
|
2032
|
+
remoteUrl?: string | undefined;
|
|
2033
|
+
pullRequestNumber?: number | undefined;
|
|
2034
|
+
pullRequestTitle?: string | undefined;
|
|
2035
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2036
|
+
}>>;
|
|
2037
|
+
}, "strip", z.ZodTypeAny, {
|
|
2038
|
+
id: string;
|
|
2039
|
+
version: string;
|
|
2040
|
+
shortCode: string;
|
|
2041
|
+
runtime: string;
|
|
2042
|
+
runtimeVersion: string;
|
|
2043
|
+
git?: {
|
|
2044
|
+
dirty?: boolean | undefined;
|
|
2045
|
+
commitAuthorName?: string | undefined;
|
|
2046
|
+
commitMessage?: string | undefined;
|
|
2047
|
+
commitRef?: string | undefined;
|
|
2048
|
+
commitSha?: string | undefined;
|
|
2049
|
+
remoteUrl?: string | undefined;
|
|
2050
|
+
pullRequestNumber?: number | undefined;
|
|
2051
|
+
pullRequestTitle?: string | undefined;
|
|
2052
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2053
|
+
} | undefined;
|
|
2054
|
+
}, {
|
|
2055
|
+
id: string;
|
|
2056
|
+
version: string;
|
|
2057
|
+
shortCode: string;
|
|
2058
|
+
runtime: string;
|
|
2059
|
+
runtimeVersion: string;
|
|
2060
|
+
git?: {
|
|
2061
|
+
dirty?: boolean | undefined;
|
|
2062
|
+
commitAuthorName?: string | undefined;
|
|
2063
|
+
commitMessage?: string | undefined;
|
|
2064
|
+
commitRef?: string | undefined;
|
|
2065
|
+
commitSha?: string | undefined;
|
|
2066
|
+
remoteUrl?: string | undefined;
|
|
2067
|
+
pullRequestNumber?: number | undefined;
|
|
2068
|
+
pullRequestTitle?: string | undefined;
|
|
2069
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2070
|
+
} | undefined;
|
|
2071
|
+
}>>;
|
|
2072
|
+
attempt: z.ZodObject<{
|
|
2073
|
+
number: z.ZodNumber;
|
|
2074
|
+
startedAt: z.ZodDate;
|
|
2075
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2076
|
+
number: z.ZodNumber;
|
|
2077
|
+
startedAt: z.ZodDate;
|
|
2078
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2079
|
+
number: z.ZodNumber;
|
|
2080
|
+
startedAt: z.ZodDate;
|
|
2081
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2082
|
+
run: z.ZodIntersection<z.ZodObject<{
|
|
2083
|
+
id: z.ZodString;
|
|
2084
|
+
payload: z.ZodString;
|
|
2085
|
+
payloadType: z.ZodString;
|
|
2086
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
2087
|
+
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
2088
|
+
createdAt: z.ZodDate;
|
|
2089
|
+
startedAt: z.ZodDefault<z.ZodDate>;
|
|
2090
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
2092
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2093
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>>>;
|
|
2094
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
2096
|
+
baseCostInCents: z.ZodOptional<z.ZodNumber>;
|
|
2097
|
+
parentTaskRunId: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
rootTaskRunId: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
2100
|
+
costInCents: z.ZodOptional<z.ZodNumber>;
|
|
2101
|
+
region: z.ZodOptional<z.ZodString>;
|
|
2102
|
+
}, "strip", z.ZodTypeAny, {
|
|
2103
|
+
payload: string;
|
|
2104
|
+
id: string;
|
|
2105
|
+
payloadType: string;
|
|
2106
|
+
tags: string[];
|
|
2107
|
+
isTest: boolean;
|
|
2108
|
+
createdAt: Date;
|
|
2109
|
+
startedAt: Date;
|
|
2110
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2111
|
+
idempotencyKey?: string | undefined;
|
|
2112
|
+
maxAttempts?: number | undefined;
|
|
2113
|
+
version?: string | undefined;
|
|
2114
|
+
maxDuration?: number | undefined;
|
|
2115
|
+
priority?: number | undefined;
|
|
2116
|
+
baseCostInCents?: number | undefined;
|
|
2117
|
+
parentTaskRunId?: string | undefined;
|
|
2118
|
+
rootTaskRunId?: string | undefined;
|
|
2119
|
+
durationMs?: number | undefined;
|
|
2120
|
+
costInCents?: number | undefined;
|
|
2121
|
+
region?: string | undefined;
|
|
2122
|
+
}, {
|
|
2123
|
+
payload: string;
|
|
2124
|
+
id: string;
|
|
2125
|
+
payloadType: string;
|
|
2126
|
+
tags: string[];
|
|
2127
|
+
createdAt: Date;
|
|
2128
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2129
|
+
isTest?: boolean | undefined;
|
|
2130
|
+
startedAt?: Date | undefined;
|
|
2131
|
+
idempotencyKey?: string | undefined;
|
|
2132
|
+
maxAttempts?: number | undefined;
|
|
2133
|
+
version?: string | undefined;
|
|
2134
|
+
maxDuration?: number | undefined;
|
|
2135
|
+
priority?: number | undefined;
|
|
2136
|
+
baseCostInCents?: number | undefined;
|
|
2137
|
+
parentTaskRunId?: string | undefined;
|
|
2138
|
+
rootTaskRunId?: string | undefined;
|
|
2139
|
+
durationMs?: number | undefined;
|
|
2140
|
+
costInCents?: number | undefined;
|
|
2141
|
+
region?: string | undefined;
|
|
2142
|
+
}>, z.ZodObject<{
|
|
2143
|
+
traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2144
|
+
}, "strip", z.ZodTypeAny, {
|
|
2145
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
2146
|
+
}, {
|
|
2147
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
2148
|
+
}>>;
|
|
2149
|
+
}, "strip", z.ZodTypeAny, {
|
|
2150
|
+
task: {
|
|
2151
|
+
id: string;
|
|
2152
|
+
filePath: string;
|
|
2153
|
+
} & {
|
|
2154
|
+
[k: string]: unknown;
|
|
2155
|
+
};
|
|
2156
|
+
queue: {
|
|
2157
|
+
name: string;
|
|
2158
|
+
id: string;
|
|
2159
|
+
};
|
|
2160
|
+
environment: {
|
|
2161
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2162
|
+
id: string;
|
|
2163
|
+
slug: string;
|
|
2164
|
+
branchName?: string | undefined;
|
|
2165
|
+
git?: {
|
|
2166
|
+
dirty?: boolean | undefined;
|
|
2167
|
+
commitAuthorName?: string | undefined;
|
|
2168
|
+
commitMessage?: string | undefined;
|
|
2169
|
+
commitRef?: string | undefined;
|
|
2170
|
+
commitSha?: string | undefined;
|
|
2171
|
+
remoteUrl?: string | undefined;
|
|
2172
|
+
pullRequestNumber?: number | undefined;
|
|
2173
|
+
pullRequestTitle?: string | undefined;
|
|
2174
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2175
|
+
} | undefined;
|
|
2176
|
+
};
|
|
2177
|
+
organization: {
|
|
2178
|
+
name: string;
|
|
2179
|
+
id: string;
|
|
2180
|
+
slug: string;
|
|
2181
|
+
};
|
|
2182
|
+
project: {
|
|
2058
2183
|
name: string;
|
|
2059
2184
|
id: string;
|
|
2060
2185
|
slug: string;
|
|
2061
2186
|
ref: string;
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
|
-
id: z.ZodString;
|
|
2065
|
-
}, "strip", z.ZodTypeAny, {
|
|
2066
|
-
id: string;
|
|
2067
|
-
}, {
|
|
2068
|
-
id: string;
|
|
2069
|
-
}>>;
|
|
2070
|
-
machine: z.ZodObject<{
|
|
2071
|
-
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
2072
|
-
cpu: z.ZodNumber;
|
|
2073
|
-
memory: z.ZodNumber;
|
|
2074
|
-
centsPerMs: z.ZodNumber;
|
|
2075
|
-
}, "strip", z.ZodTypeAny, {
|
|
2076
|
-
cpu: number;
|
|
2077
|
-
memory: number;
|
|
2078
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2079
|
-
centsPerMs: number;
|
|
2080
|
-
}, {
|
|
2187
|
+
};
|
|
2188
|
+
machine: {
|
|
2081
2189
|
cpu: number;
|
|
2082
2190
|
memory: number;
|
|
2083
2191
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2084
2192
|
centsPerMs: number;
|
|
2085
|
-
}>;
|
|
2086
|
-
}, "strip", z.ZodTypeAny, {
|
|
2087
|
-
task: {
|
|
2088
|
-
id: string;
|
|
2089
|
-
filePath: string;
|
|
2090
|
-
exportName?: string | undefined;
|
|
2091
2193
|
};
|
|
2092
2194
|
attempt: {
|
|
2093
2195
|
number: number;
|
|
2094
|
-
status: string;
|
|
2095
|
-
id: string;
|
|
2096
2196
|
startedAt: Date;
|
|
2097
|
-
|
|
2098
|
-
|
|
2197
|
+
} & {
|
|
2198
|
+
[k: string]: unknown;
|
|
2099
2199
|
};
|
|
2100
2200
|
run: {
|
|
2101
2201
|
payload: string;
|
|
@@ -2105,19 +2205,49 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2105
2205
|
isTest: boolean;
|
|
2106
2206
|
createdAt: Date;
|
|
2107
2207
|
startedAt: Date;
|
|
2108
|
-
durationMs: number;
|
|
2109
|
-
costInCents: number;
|
|
2110
|
-
baseCostInCents: number;
|
|
2111
|
-
context?: any;
|
|
2112
2208
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2113
2209
|
idempotencyKey?: string | undefined;
|
|
2114
2210
|
maxAttempts?: number | undefined;
|
|
2115
2211
|
version?: string | undefined;
|
|
2116
2212
|
maxDuration?: number | undefined;
|
|
2117
2213
|
priority?: number | undefined;
|
|
2214
|
+
baseCostInCents?: number | undefined;
|
|
2215
|
+
parentTaskRunId?: string | undefined;
|
|
2216
|
+
rootTaskRunId?: string | undefined;
|
|
2217
|
+
durationMs?: number | undefined;
|
|
2218
|
+
costInCents?: number | undefined;
|
|
2219
|
+
region?: string | undefined;
|
|
2118
2220
|
} & {
|
|
2119
2221
|
traceContext?: Record<string, unknown> | undefined;
|
|
2120
2222
|
};
|
|
2223
|
+
batch?: {
|
|
2224
|
+
id: string;
|
|
2225
|
+
} | undefined;
|
|
2226
|
+
deployment?: {
|
|
2227
|
+
id: string;
|
|
2228
|
+
version: string;
|
|
2229
|
+
shortCode: string;
|
|
2230
|
+
runtime: string;
|
|
2231
|
+
runtimeVersion: string;
|
|
2232
|
+
git?: {
|
|
2233
|
+
dirty?: boolean | undefined;
|
|
2234
|
+
commitAuthorName?: string | undefined;
|
|
2235
|
+
commitMessage?: string | undefined;
|
|
2236
|
+
commitRef?: string | undefined;
|
|
2237
|
+
commitSha?: string | undefined;
|
|
2238
|
+
remoteUrl?: string | undefined;
|
|
2239
|
+
pullRequestNumber?: number | undefined;
|
|
2240
|
+
pullRequestTitle?: string | undefined;
|
|
2241
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2242
|
+
} | undefined;
|
|
2243
|
+
} | undefined;
|
|
2244
|
+
}, {
|
|
2245
|
+
task: {
|
|
2246
|
+
id: string;
|
|
2247
|
+
filePath: string;
|
|
2248
|
+
} & {
|
|
2249
|
+
[k: string]: unknown;
|
|
2250
|
+
};
|
|
2121
2251
|
queue: {
|
|
2122
2252
|
name: string;
|
|
2123
2253
|
id: string;
|
|
@@ -2156,22 +2286,11 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2156
2286
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2157
2287
|
centsPerMs: number;
|
|
2158
2288
|
};
|
|
2159
|
-
batch?: {
|
|
2160
|
-
id: string;
|
|
2161
|
-
} | undefined;
|
|
2162
|
-
}, {
|
|
2163
|
-
task: {
|
|
2164
|
-
id: string;
|
|
2165
|
-
filePath: string;
|
|
2166
|
-
exportName?: string | undefined;
|
|
2167
|
-
};
|
|
2168
2289
|
attempt: {
|
|
2169
2290
|
number: number;
|
|
2170
|
-
status: string;
|
|
2171
|
-
id: string;
|
|
2172
2291
|
startedAt: Date;
|
|
2173
|
-
|
|
2174
|
-
|
|
2292
|
+
} & {
|
|
2293
|
+
[k: string]: unknown;
|
|
2175
2294
|
};
|
|
2176
2295
|
run: {
|
|
2177
2296
|
payload: string;
|
|
@@ -2179,7 +2298,6 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2179
2298
|
payloadType: string;
|
|
2180
2299
|
tags: string[];
|
|
2181
2300
|
createdAt: Date;
|
|
2182
|
-
context?: any;
|
|
2183
2301
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2184
2302
|
isTest?: boolean | undefined;
|
|
2185
2303
|
startedAt?: Date | undefined;
|
|
@@ -2187,13 +2305,46 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2187
2305
|
maxAttempts?: number | undefined;
|
|
2188
2306
|
version?: string | undefined;
|
|
2189
2307
|
maxDuration?: number | undefined;
|
|
2308
|
+
priority?: number | undefined;
|
|
2309
|
+
baseCostInCents?: number | undefined;
|
|
2310
|
+
parentTaskRunId?: string | undefined;
|
|
2311
|
+
rootTaskRunId?: string | undefined;
|
|
2190
2312
|
durationMs?: number | undefined;
|
|
2191
2313
|
costInCents?: number | undefined;
|
|
2192
|
-
|
|
2193
|
-
priority?: number | undefined;
|
|
2314
|
+
region?: string | undefined;
|
|
2194
2315
|
} & {
|
|
2195
2316
|
traceContext?: Record<string, unknown> | undefined;
|
|
2196
2317
|
};
|
|
2318
|
+
batch?: {
|
|
2319
|
+
id: string;
|
|
2320
|
+
} | undefined;
|
|
2321
|
+
deployment?: {
|
|
2322
|
+
id: string;
|
|
2323
|
+
version: string;
|
|
2324
|
+
shortCode: string;
|
|
2325
|
+
runtime: string;
|
|
2326
|
+
runtimeVersion: string;
|
|
2327
|
+
git?: {
|
|
2328
|
+
dirty?: boolean | undefined;
|
|
2329
|
+
commitAuthorName?: string | undefined;
|
|
2330
|
+
commitMessage?: string | undefined;
|
|
2331
|
+
commitRef?: string | undefined;
|
|
2332
|
+
commitSha?: string | undefined;
|
|
2333
|
+
remoteUrl?: string | undefined;
|
|
2334
|
+
pullRequestNumber?: number | undefined;
|
|
2335
|
+
pullRequestTitle?: string | undefined;
|
|
2336
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2337
|
+
} | undefined;
|
|
2338
|
+
} | undefined;
|
|
2339
|
+
}>;
|
|
2340
|
+
}, "strip", z.ZodTypeAny, {
|
|
2341
|
+
execution: {
|
|
2342
|
+
task: {
|
|
2343
|
+
id: string;
|
|
2344
|
+
filePath: string;
|
|
2345
|
+
} & {
|
|
2346
|
+
[k: string]: unknown;
|
|
2347
|
+
};
|
|
2197
2348
|
queue: {
|
|
2198
2349
|
name: string;
|
|
2199
2350
|
id: string;
|
|
@@ -2232,24 +2383,11 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2232
2383
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2233
2384
|
centsPerMs: number;
|
|
2234
2385
|
};
|
|
2235
|
-
batch?: {
|
|
2236
|
-
id: string;
|
|
2237
|
-
} | undefined;
|
|
2238
|
-
}>;
|
|
2239
|
-
}, "strip", z.ZodTypeAny, {
|
|
2240
|
-
execution: {
|
|
2241
|
-
task: {
|
|
2242
|
-
id: string;
|
|
2243
|
-
filePath: string;
|
|
2244
|
-
exportName?: string | undefined;
|
|
2245
|
-
};
|
|
2246
2386
|
attempt: {
|
|
2247
2387
|
number: number;
|
|
2248
|
-
status: string;
|
|
2249
|
-
id: string;
|
|
2250
2388
|
startedAt: Date;
|
|
2251
|
-
|
|
2252
|
-
|
|
2389
|
+
} & {
|
|
2390
|
+
[k: string]: unknown;
|
|
2253
2391
|
};
|
|
2254
2392
|
run: {
|
|
2255
2393
|
payload: string;
|
|
@@ -2259,19 +2397,51 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2259
2397
|
isTest: boolean;
|
|
2260
2398
|
createdAt: Date;
|
|
2261
2399
|
startedAt: Date;
|
|
2262
|
-
durationMs: number;
|
|
2263
|
-
costInCents: number;
|
|
2264
|
-
baseCostInCents: number;
|
|
2265
|
-
context?: any;
|
|
2266
2400
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2267
2401
|
idempotencyKey?: string | undefined;
|
|
2268
2402
|
maxAttempts?: number | undefined;
|
|
2269
2403
|
version?: string | undefined;
|
|
2270
2404
|
maxDuration?: number | undefined;
|
|
2271
2405
|
priority?: number | undefined;
|
|
2406
|
+
baseCostInCents?: number | undefined;
|
|
2407
|
+
parentTaskRunId?: string | undefined;
|
|
2408
|
+
rootTaskRunId?: string | undefined;
|
|
2409
|
+
durationMs?: number | undefined;
|
|
2410
|
+
costInCents?: number | undefined;
|
|
2411
|
+
region?: string | undefined;
|
|
2272
2412
|
} & {
|
|
2273
2413
|
traceContext?: Record<string, unknown> | undefined;
|
|
2274
2414
|
};
|
|
2415
|
+
batch?: {
|
|
2416
|
+
id: string;
|
|
2417
|
+
} | undefined;
|
|
2418
|
+
deployment?: {
|
|
2419
|
+
id: string;
|
|
2420
|
+
version: string;
|
|
2421
|
+
shortCode: string;
|
|
2422
|
+
runtime: string;
|
|
2423
|
+
runtimeVersion: string;
|
|
2424
|
+
git?: {
|
|
2425
|
+
dirty?: boolean | undefined;
|
|
2426
|
+
commitAuthorName?: string | undefined;
|
|
2427
|
+
commitMessage?: string | undefined;
|
|
2428
|
+
commitRef?: string | undefined;
|
|
2429
|
+
commitSha?: string | undefined;
|
|
2430
|
+
remoteUrl?: string | undefined;
|
|
2431
|
+
pullRequestNumber?: number | undefined;
|
|
2432
|
+
pullRequestTitle?: string | undefined;
|
|
2433
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2434
|
+
} | undefined;
|
|
2435
|
+
} | undefined;
|
|
2436
|
+
};
|
|
2437
|
+
}, {
|
|
2438
|
+
execution: {
|
|
2439
|
+
task: {
|
|
2440
|
+
id: string;
|
|
2441
|
+
filePath: string;
|
|
2442
|
+
} & {
|
|
2443
|
+
[k: string]: unknown;
|
|
2444
|
+
};
|
|
2275
2445
|
queue: {
|
|
2276
2446
|
name: string;
|
|
2277
2447
|
id: string;
|
|
@@ -2310,24 +2480,11 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2310
2480
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2311
2481
|
centsPerMs: number;
|
|
2312
2482
|
};
|
|
2313
|
-
batch?: {
|
|
2314
|
-
id: string;
|
|
2315
|
-
} | undefined;
|
|
2316
|
-
};
|
|
2317
|
-
}, {
|
|
2318
|
-
execution: {
|
|
2319
|
-
task: {
|
|
2320
|
-
id: string;
|
|
2321
|
-
filePath: string;
|
|
2322
|
-
exportName?: string | undefined;
|
|
2323
|
-
};
|
|
2324
2483
|
attempt: {
|
|
2325
2484
|
number: number;
|
|
2326
|
-
status: string;
|
|
2327
|
-
id: string;
|
|
2328
2485
|
startedAt: Date;
|
|
2329
|
-
|
|
2330
|
-
|
|
2486
|
+
} & {
|
|
2487
|
+
[k: string]: unknown;
|
|
2331
2488
|
};
|
|
2332
2489
|
run: {
|
|
2333
2490
|
payload: string;
|
|
@@ -2335,7 +2492,6 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2335
2492
|
payloadType: string;
|
|
2336
2493
|
tags: string[];
|
|
2337
2494
|
createdAt: Date;
|
|
2338
|
-
context?: any;
|
|
2339
2495
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2340
2496
|
isTest?: boolean | undefined;
|
|
2341
2497
|
startedAt?: Date | undefined;
|
|
@@ -2343,22 +2499,25 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2343
2499
|
maxAttempts?: number | undefined;
|
|
2344
2500
|
version?: string | undefined;
|
|
2345
2501
|
maxDuration?: number | undefined;
|
|
2502
|
+
priority?: number | undefined;
|
|
2503
|
+
baseCostInCents?: number | undefined;
|
|
2504
|
+
parentTaskRunId?: string | undefined;
|
|
2505
|
+
rootTaskRunId?: string | undefined;
|
|
2346
2506
|
durationMs?: number | undefined;
|
|
2347
2507
|
costInCents?: number | undefined;
|
|
2348
|
-
|
|
2349
|
-
priority?: number | undefined;
|
|
2508
|
+
region?: string | undefined;
|
|
2350
2509
|
} & {
|
|
2351
2510
|
traceContext?: Record<string, unknown> | undefined;
|
|
2352
2511
|
};
|
|
2353
|
-
|
|
2354
|
-
name: string;
|
|
2512
|
+
batch?: {
|
|
2355
2513
|
id: string;
|
|
2356
|
-
};
|
|
2357
|
-
|
|
2358
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
deployment?: {
|
|
2359
2516
|
id: string;
|
|
2360
|
-
|
|
2361
|
-
|
|
2517
|
+
version: string;
|
|
2518
|
+
shortCode: string;
|
|
2519
|
+
runtime: string;
|
|
2520
|
+
runtimeVersion: string;
|
|
2362
2521
|
git?: {
|
|
2363
2522
|
dirty?: boolean | undefined;
|
|
2364
2523
|
commitAuthorName?: string | undefined;
|
|
@@ -2370,26 +2529,6 @@ export declare const WorkloadRunAttemptStartResponseBody: z.ZodIntersection<z.Zo
|
|
|
2370
2529
|
pullRequestTitle?: string | undefined;
|
|
2371
2530
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2372
2531
|
} | undefined;
|
|
2373
|
-
};
|
|
2374
|
-
organization: {
|
|
2375
|
-
name: string;
|
|
2376
|
-
id: string;
|
|
2377
|
-
slug: string;
|
|
2378
|
-
};
|
|
2379
|
-
project: {
|
|
2380
|
-
name: string;
|
|
2381
|
-
id: string;
|
|
2382
|
-
slug: string;
|
|
2383
|
-
ref: string;
|
|
2384
|
-
};
|
|
2385
|
-
machine: {
|
|
2386
|
-
cpu: number;
|
|
2387
|
-
memory: number;
|
|
2388
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2389
|
-
centsPerMs: number;
|
|
2390
|
-
};
|
|
2391
|
-
batch?: {
|
|
2392
|
-
id: string;
|
|
2393
2532
|
} | undefined;
|
|
2394
2533
|
};
|
|
2395
2534
|
}>>, z.ZodObject<{
|
|
@@ -2448,15 +2587,15 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2448
2587
|
id: string;
|
|
2449
2588
|
friendlyId: string;
|
|
2450
2589
|
}>>;
|
|
2451
|
-
checkpoint: z.ZodOptional<z.ZodObject<
|
|
2590
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
2452
2591
|
type: z.ZodEnum<[import("../../index.js").CheckpointTypeEnum]>;
|
|
2453
2592
|
location: z.ZodString;
|
|
2454
2593
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2455
2594
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2456
|
-
}
|
|
2595
|
+
} & {
|
|
2457
2596
|
id: z.ZodString;
|
|
2458
2597
|
friendlyId: z.ZodString;
|
|
2459
|
-
}
|
|
2598
|
+
}, "strip", z.ZodTypeAny, {
|
|
2460
2599
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
2461
2600
|
id: string;
|
|
2462
2601
|
friendlyId: string;
|
|
@@ -2982,26 +3121,26 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
2982
3121
|
}, "strip", z.ZodTypeAny, {
|
|
2983
3122
|
id: string;
|
|
2984
3123
|
isTest: boolean;
|
|
2985
|
-
traceContext: Record<string, unknown>;
|
|
2986
3124
|
machine: {
|
|
2987
3125
|
cpu: number;
|
|
2988
3126
|
memory: number;
|
|
2989
3127
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
2990
3128
|
centsPerMs: number;
|
|
2991
3129
|
};
|
|
3130
|
+
traceContext: Record<string, unknown>;
|
|
2992
3131
|
friendlyId: string;
|
|
2993
3132
|
attemptNumber: number;
|
|
2994
3133
|
masterQueue: string;
|
|
2995
3134
|
}, {
|
|
2996
3135
|
id: string;
|
|
2997
3136
|
isTest: boolean;
|
|
2998
|
-
traceContext: Record<string, unknown>;
|
|
2999
3137
|
machine: {
|
|
3000
3138
|
cpu: number;
|
|
3001
3139
|
memory: number;
|
|
3002
3140
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3003
3141
|
centsPerMs: number;
|
|
3004
3142
|
};
|
|
3143
|
+
traceContext: Record<string, unknown>;
|
|
3005
3144
|
friendlyId: string;
|
|
3006
3145
|
attemptNumber: number;
|
|
3007
3146
|
masterQueue: string;
|
|
@@ -3032,30 +3171,35 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3032
3171
|
}>;
|
|
3033
3172
|
}, "strip", z.ZodTypeAny, {
|
|
3034
3173
|
version: "1";
|
|
3174
|
+
environment: {
|
|
3175
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3176
|
+
id: string;
|
|
3177
|
+
};
|
|
3178
|
+
organization: {
|
|
3179
|
+
id: string;
|
|
3180
|
+
};
|
|
3181
|
+
project: {
|
|
3182
|
+
id: string;
|
|
3183
|
+
};
|
|
3184
|
+
deployment: {
|
|
3185
|
+
id?: string | undefined;
|
|
3186
|
+
friendlyId?: string | undefined;
|
|
3187
|
+
imagePlatform?: string | undefined;
|
|
3188
|
+
};
|
|
3035
3189
|
run: {
|
|
3036
3190
|
id: string;
|
|
3037
3191
|
isTest: boolean;
|
|
3038
|
-
traceContext: Record<string, unknown>;
|
|
3039
3192
|
machine: {
|
|
3040
3193
|
cpu: number;
|
|
3041
3194
|
memory: number;
|
|
3042
3195
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3043
3196
|
centsPerMs: number;
|
|
3044
3197
|
};
|
|
3198
|
+
traceContext: Record<string, unknown>;
|
|
3045
3199
|
friendlyId: string;
|
|
3046
3200
|
attemptNumber: number;
|
|
3047
3201
|
masterQueue: string;
|
|
3048
3202
|
};
|
|
3049
|
-
environment: {
|
|
3050
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3051
|
-
id: string;
|
|
3052
|
-
};
|
|
3053
|
-
organization: {
|
|
3054
|
-
id: string;
|
|
3055
|
-
};
|
|
3056
|
-
project: {
|
|
3057
|
-
id: string;
|
|
3058
|
-
};
|
|
3059
3203
|
snapshot: {
|
|
3060
3204
|
id: string;
|
|
3061
3205
|
createdAt: Date;
|
|
@@ -3093,11 +3237,6 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3093
3237
|
version: string;
|
|
3094
3238
|
friendlyId: string;
|
|
3095
3239
|
};
|
|
3096
|
-
deployment: {
|
|
3097
|
-
id?: string | undefined;
|
|
3098
|
-
friendlyId?: string | undefined;
|
|
3099
|
-
imagePlatform?: string | undefined;
|
|
3100
|
-
};
|
|
3101
3240
|
checkpoint?: {
|
|
3102
3241
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
3103
3242
|
id: string;
|
|
@@ -3108,30 +3247,35 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3108
3247
|
image?: string | undefined;
|
|
3109
3248
|
}, {
|
|
3110
3249
|
version: "1";
|
|
3250
|
+
environment: {
|
|
3251
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3252
|
+
id: string;
|
|
3253
|
+
};
|
|
3254
|
+
organization: {
|
|
3255
|
+
id: string;
|
|
3256
|
+
};
|
|
3257
|
+
project: {
|
|
3258
|
+
id: string;
|
|
3259
|
+
};
|
|
3260
|
+
deployment: {
|
|
3261
|
+
id?: string | undefined;
|
|
3262
|
+
friendlyId?: string | undefined;
|
|
3263
|
+
imagePlatform?: string | undefined;
|
|
3264
|
+
};
|
|
3111
3265
|
run: {
|
|
3112
3266
|
id: string;
|
|
3113
3267
|
isTest: boolean;
|
|
3114
|
-
traceContext: Record<string, unknown>;
|
|
3115
3268
|
machine: {
|
|
3116
3269
|
cpu: number;
|
|
3117
3270
|
memory: number;
|
|
3118
3271
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3119
3272
|
centsPerMs: number;
|
|
3120
3273
|
};
|
|
3274
|
+
traceContext: Record<string, unknown>;
|
|
3121
3275
|
friendlyId: string;
|
|
3122
3276
|
attemptNumber: number;
|
|
3123
3277
|
masterQueue: string;
|
|
3124
3278
|
};
|
|
3125
|
-
environment: {
|
|
3126
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3127
|
-
id: string;
|
|
3128
|
-
};
|
|
3129
|
-
organization: {
|
|
3130
|
-
id: string;
|
|
3131
|
-
};
|
|
3132
|
-
project: {
|
|
3133
|
-
id: string;
|
|
3134
|
-
};
|
|
3135
3279
|
snapshot: {
|
|
3136
3280
|
id: string;
|
|
3137
3281
|
createdAt: Date;
|
|
@@ -3169,11 +3313,6 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
|
|
|
3169
3313
|
version: string;
|
|
3170
3314
|
friendlyId: string;
|
|
3171
3315
|
};
|
|
3172
|
-
deployment: {
|
|
3173
|
-
id?: string | undefined;
|
|
3174
|
-
friendlyId?: string | undefined;
|
|
3175
|
-
imagePlatform?: string | undefined;
|
|
3176
|
-
};
|
|
3177
3316
|
checkpoint?: {
|
|
3178
3317
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
3179
3318
|
id: string;
|
|
@@ -3232,15 +3371,15 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3232
3371
|
id: string;
|
|
3233
3372
|
friendlyId: string;
|
|
3234
3373
|
}>>;
|
|
3235
|
-
checkpoint: z.ZodOptional<z.ZodObject<
|
|
3374
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
3236
3375
|
type: z.ZodEnum<[import("../../index.js").CheckpointTypeEnum]>;
|
|
3237
3376
|
location: z.ZodString;
|
|
3238
3377
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3239
3378
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3240
|
-
}
|
|
3379
|
+
} & {
|
|
3241
3380
|
id: z.ZodString;
|
|
3242
3381
|
friendlyId: z.ZodString;
|
|
3243
|
-
}
|
|
3382
|
+
}, "strip", z.ZodTypeAny, {
|
|
3244
3383
|
type: import("../../index.js").CheckpointTypeEnum;
|
|
3245
3384
|
id: string;
|
|
3246
3385
|
friendlyId: string;
|