@greatwait/contracts 0.2.3 → 0.3.1
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/attempt-search.d.ts +235 -0
- package/dist/attempt-search.js +101 -0
- package/dist/authority.js +9 -9
- package/dist/billing.d.ts +4 -4
- package/dist/bulk-operations.d.ts +1832 -0
- package/dist/bulk-operations.js +610 -0
- package/dist/configuration-bounds.d.ts +12 -0
- package/dist/configuration-bounds.js +12 -0
- package/dist/configuration.d.ts +75 -0
- package/dist/configuration.js +242 -0
- package/dist/data-export.d.ts +3 -3
- package/dist/delivery.d.ts +1 -0
- package/dist/delivery.js +1 -0
- package/dist/effective-limits.d.ts +4 -4
- package/dist/endpoints.js +25 -25
- package/dist/execution-selection.d.ts +48 -0
- package/dist/execution-selection.js +21 -0
- package/dist/http-request.d.ts +1 -1
- package/dist/http-request.js +25 -23
- package/dist/identifiers.d.ts +2 -0
- package/dist/identifiers.js +21 -19
- package/dist/identity.d.ts +3 -3
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/occurrence-states.d.ts +14 -0
- package/dist/occurrence-states.js +13 -0
- package/dist/operational-config.js +7 -6
- package/dist/operations.d.ts +573 -89
- package/dist/operations.js +67 -0
- package/dist/protocol.d.ts +19 -5
- package/dist/protocol.js +47 -40
- package/dist/schedule-selection.d.ts +28 -0
- package/dist/schedule-selection.js +48 -0
- package/dist/scheduling-records.d.ts +20 -20
- package/dist/scheduling.d.ts +109 -63
- package/dist/scheduling.js +101 -117
- package/dist/signatures.d.ts +6 -6
- package/dist/signatures.js +24 -24
- package/dist/stored-http.d.ts +18 -0
- package/dist/stored-http.js +106 -0
- package/dist/test-sink.d.ts +6 -6
- package/dist/time.js +7 -7
- package/dist/usage.d.ts +3 -3
- package/generated/v1/examples/attempts.search.response.json +42 -0
- package/generated/v1/examples/bulk.cancel.request.json +3 -0
- package/generated/v1/examples/bulk.cancel.response.json +59 -0
- package/generated/v1/examples/bulk.confirm.request.json +5 -0
- package/generated/v1/examples/bulk.confirm.response.json +59 -0
- package/generated/v1/examples/bulk.items.response.json +3 -0
- package/generated/v1/examples/bulk.list.response.json +63 -0
- package/generated/v1/examples/bulk.pause.request.json +3 -0
- package/generated/v1/examples/bulk.pause.response.json +59 -0
- package/generated/v1/examples/bulk.preview.request.json +12 -0
- package/generated/v1/examples/bulk.preview.response.json +59 -0
- package/generated/v1/examples/bulk.read.response.json +59 -0
- package/generated/v1/examples/bulk.resume.request.json +3 -0
- package/generated/v1/examples/bulk.resume.response.json +59 -0
- package/generated/v1/manifest.json +243 -1
- package/generated/v1/openapi.json +21569 -2418
- package/generated/v1/policy-matrix.json +63 -0
- package/generated/v1/schemas/attempts.search.query.json +96 -0
- package/generated/v1/schemas/attempts.search.response.json +271 -0
- package/generated/v1/schemas/bulk.cancel.request.json +13 -0
- package/generated/v1/schemas/bulk.cancel.response.json +1717 -0
- package/generated/v1/schemas/bulk.confirm.request-headers.json +13 -0
- package/generated/v1/schemas/bulk.confirm.request.json +19 -0
- package/generated/v1/schemas/bulk.confirm.response.json +1717 -0
- package/generated/v1/schemas/bulk.items.query.json +29 -0
- package/generated/v1/schemas/bulk.items.response.json +194 -0
- package/generated/v1/schemas/bulk.list.query.json +32 -0
- package/generated/v1/schemas/bulk.list.response.json +1789 -0
- package/generated/v1/schemas/bulk.pause.request.json +13 -0
- package/generated/v1/schemas/bulk.pause.response.json +1717 -0
- package/generated/v1/schemas/bulk.preview.request.json +1218 -0
- package/generated/v1/schemas/bulk.preview.response.json +1717 -0
- package/generated/v1/schemas/bulk.read.response.json +1717 -0
- package/generated/v1/schemas/bulk.resume.request.json +13 -0
- package/generated/v1/schemas/bulk.resume.response.json +1717 -0
- package/generated/v1/schemas/executions.list.query.json +33 -12
- package/generated/v1/schemas/schedules.list.query.json +32 -3
- package/generated/v1/snippets/attempts.search.json +6 -0
- package/generated/v1/snippets/bulk.cancel.json +6 -0
- package/generated/v1/snippets/bulk.confirm.json +6 -0
- package/generated/v1/snippets/bulk.items.json +6 -0
- package/generated/v1/snippets/bulk.list.json +6 -0
- package/generated/v1/snippets/bulk.pause.json +6 -0
- package/generated/v1/snippets/bulk.preview.json +6 -0
- package/generated/v1/snippets/bulk.read.json +6 -0
- package/generated/v1/snippets/bulk.resume.json +6 -0
- package/package.json +1 -1
package/dist/scheduling.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type OccurrenceState } from "./occurrence-states.js";
|
|
1
2
|
import { z } from "./zod.js";
|
|
2
3
|
import { type CursorBinding } from "./protocol.js";
|
|
3
4
|
import type { FieldError } from "./problems.js";
|
|
@@ -36,9 +37,9 @@ import { type CallbackTrigger, type ResponseClass } from "./signatures.js";
|
|
|
36
37
|
*/
|
|
37
38
|
export declare const SCHEDULE_STATUSES: readonly ["active", "paused", "cancelled", "completed"];
|
|
38
39
|
export declare const scheduleStatusSchema: import("zod").ZodEnum<{
|
|
39
|
-
paused: "paused";
|
|
40
|
-
active: "active";
|
|
41
40
|
cancelled: "cancelled";
|
|
41
|
+
active: "active";
|
|
42
|
+
paused: "paused";
|
|
42
43
|
completed: "completed";
|
|
43
44
|
}>;
|
|
44
45
|
export type ScheduleStatus = z.infer<typeof scheduleStatusSchema>;
|
|
@@ -346,19 +347,7 @@ export type PartitionKey = z.infer<typeof partitionKeySchema>;
|
|
|
346
347
|
* not `cancelled`: a customer who cancelled something and a customer whose
|
|
347
348
|
* occurrence went stale need different explanations.
|
|
348
349
|
*/
|
|
349
|
-
export
|
|
350
|
-
export declare const occurrenceStateSchema: import("zod").ZodEnum<{
|
|
351
|
-
succeeded: "succeeded";
|
|
352
|
-
ambiguous: "ambiguous";
|
|
353
|
-
due: "due";
|
|
354
|
-
cancelled: "cancelled";
|
|
355
|
-
planned: "planned";
|
|
356
|
-
dispatching: "dispatching";
|
|
357
|
-
retry_wait: "retry_wait";
|
|
358
|
-
terminal_failed: "terminal_failed";
|
|
359
|
-
skipped_stale: "skipped_stale";
|
|
360
|
-
}>;
|
|
361
|
-
export type OccurrenceState = z.infer<typeof occurrenceStateSchema>;
|
|
350
|
+
export { OCCURRENCE_STATES, occurrenceStateSchema, type OccurrenceState, } from "./occurrence-states.js";
|
|
362
351
|
/**
|
|
363
352
|
* One project-wide walk over retained occurrences, newest first.
|
|
364
353
|
*
|
|
@@ -370,23 +359,35 @@ export type OccurrenceState = z.infer<typeof occurrenceStateSchema>;
|
|
|
370
359
|
export declare const projectOccurrenceListRequestSchema: import("zod").ZodObject<{
|
|
371
360
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
372
361
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
373
|
-
endpoint: import("zod").ZodOptional<import("zod").ZodString
|
|
362
|
+
endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
|
|
363
|
+
schedule: import("zod").ZodOptional<import("zod").ZodString>;
|
|
374
364
|
external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
375
365
|
tag: import("zod").ZodOptional<import("zod").ZodString>;
|
|
366
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
367
|
+
cancelled: "cancelled";
|
|
368
|
+
active: "active";
|
|
369
|
+
paused: "paused";
|
|
370
|
+
completed: "completed";
|
|
371
|
+
}>>;
|
|
372
|
+
recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
373
|
+
at: "at";
|
|
374
|
+
every: "every";
|
|
375
|
+
cron: "cron";
|
|
376
|
+
}>>;
|
|
377
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
376
378
|
from: import("zod").ZodOptional<import("zod").ZodString>;
|
|
379
|
+
to: import("zod").ZodOptional<import("zod").ZodString>;
|
|
377
380
|
outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
378
|
-
succeeded: "succeeded";
|
|
379
|
-
ambiguous: "ambiguous";
|
|
380
|
-
due: "due";
|
|
381
|
-
cancelled: "cancelled";
|
|
382
381
|
planned: "planned";
|
|
382
|
+
due: "due";
|
|
383
383
|
dispatching: "dispatching";
|
|
384
384
|
retry_wait: "retry_wait";
|
|
385
|
+
ambiguous: "ambiguous";
|
|
386
|
+
succeeded: "succeeded";
|
|
385
387
|
terminal_failed: "terminal_failed";
|
|
388
|
+
cancelled: "cancelled";
|
|
386
389
|
skipped_stale: "skipped_stale";
|
|
387
390
|
}>>;
|
|
388
|
-
schedule: import("zod").ZodOptional<import("zod").ZodString>;
|
|
389
|
-
to: import("zod").ZodOptional<import("zod").ZodString>;
|
|
390
391
|
}, import("zod/v4/core").$strip>;
|
|
391
392
|
export type ProjectOccurrenceListRequest = z.infer<typeof projectOccurrenceListRequestSchema>;
|
|
392
393
|
export type ProjectOccurrenceListRequestParse = {
|
|
@@ -427,8 +428,8 @@ export declare function isTerminalOccurrenceState(state: OccurrenceState): boole
|
|
|
427
428
|
*/
|
|
428
429
|
export declare const ATTEMPT_STATES: readonly ["succeeded", "retryable_failure", "terminal_failure", "ambiguous"];
|
|
429
430
|
export declare const attemptStateSchema: import("zod").ZodEnum<{
|
|
430
|
-
succeeded: "succeeded";
|
|
431
431
|
ambiguous: "ambiguous";
|
|
432
|
+
succeeded: "succeeded";
|
|
432
433
|
retryable_failure: "retryable_failure";
|
|
433
434
|
terminal_failure: "terminal_failure";
|
|
434
435
|
}>;
|
|
@@ -803,9 +804,9 @@ export declare const scheduleSchema: import("zod").ZodObject<{
|
|
|
803
804
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
804
805
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
805
806
|
status: import("zod").ZodEnum<{
|
|
806
|
-
paused: "paused";
|
|
807
|
-
active: "active";
|
|
808
807
|
cancelled: "cancelled";
|
|
808
|
+
active: "active";
|
|
809
|
+
paused: "paused";
|
|
809
810
|
completed: "completed";
|
|
810
811
|
}>;
|
|
811
812
|
updatedAt: import("zod").ZodString;
|
|
@@ -905,9 +906,9 @@ export declare const schedulePageSchema: import("zod").ZodObject<{
|
|
|
905
906
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
906
907
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
907
908
|
status: import("zod").ZodEnum<{
|
|
908
|
-
paused: "paused";
|
|
909
|
-
active: "active";
|
|
910
909
|
cancelled: "cancelled";
|
|
910
|
+
active: "active";
|
|
911
|
+
paused: "paused";
|
|
911
912
|
completed: "completed";
|
|
912
913
|
}>;
|
|
913
914
|
updatedAt: import("zod").ZodString;
|
|
@@ -939,14 +940,14 @@ export declare const occurrenceSchema: import("zod").ZodObject<{
|
|
|
939
940
|
sequence: import("zod").ZodNumber;
|
|
940
941
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
941
942
|
state: import("zod").ZodEnum<{
|
|
942
|
-
succeeded: "succeeded";
|
|
943
|
-
ambiguous: "ambiguous";
|
|
944
|
-
due: "due";
|
|
945
|
-
cancelled: "cancelled";
|
|
946
943
|
planned: "planned";
|
|
944
|
+
due: "due";
|
|
947
945
|
dispatching: "dispatching";
|
|
948
946
|
retry_wait: "retry_wait";
|
|
947
|
+
ambiguous: "ambiguous";
|
|
948
|
+
succeeded: "succeeded";
|
|
949
949
|
terminal_failed: "terminal_failed";
|
|
950
|
+
cancelled: "cancelled";
|
|
950
951
|
skipped_stale: "skipped_stale";
|
|
951
952
|
}>;
|
|
952
953
|
firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1013,8 +1014,8 @@ export type AttemptFailureSnippet = z.infer<typeof attemptFailureSnippetSchema>;
|
|
|
1013
1014
|
export declare const attemptCapturedBodySchema: import("zod").ZodObject<{
|
|
1014
1015
|
contentType: import("zod").ZodString;
|
|
1015
1016
|
encoding: import("zod").ZodEnum<{
|
|
1016
|
-
utf8: "utf8";
|
|
1017
1017
|
base64: "base64";
|
|
1018
|
+
utf8: "utf8";
|
|
1018
1019
|
}>;
|
|
1019
1020
|
content: import("zod").ZodString;
|
|
1020
1021
|
capturedBytes: import("zod").ZodInt;
|
|
@@ -1038,8 +1039,8 @@ export declare const attemptResponseSchema: import("zod").ZodObject<{
|
|
|
1038
1039
|
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1039
1040
|
contentType: import("zod").ZodString;
|
|
1040
1041
|
encoding: import("zod").ZodEnum<{
|
|
1041
|
-
utf8: "utf8";
|
|
1042
1042
|
base64: "base64";
|
|
1043
|
+
utf8: "utf8";
|
|
1043
1044
|
}>;
|
|
1044
1045
|
content: import("zod").ZodString;
|
|
1045
1046
|
capturedBytes: import("zod").ZodInt;
|
|
@@ -1064,6 +1065,51 @@ export declare const attemptRequestSchema: import("zod").ZodObject<{
|
|
|
1064
1065
|
body: import("zod").ZodString;
|
|
1065
1066
|
}, import("zod/v4/core").$strip>;
|
|
1066
1067
|
export type AttemptRequest = z.infer<typeof attemptRequestSchema>;
|
|
1068
|
+
/** Shared validators for attempt search summaries and full attempt details. */
|
|
1069
|
+
export declare const attemptSearchSummaryShape: {
|
|
1070
|
+
attemptNumber: import("zod").ZodNumber;
|
|
1071
|
+
classifiedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1072
|
+
diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1073
|
+
rate_limited: "rate_limited";
|
|
1074
|
+
completion_timed_out: "completion_timed_out";
|
|
1075
|
+
delivered: "delivered";
|
|
1076
|
+
duplicate_inflight: "duplicate_inflight";
|
|
1077
|
+
endpoint_unavailable: "endpoint_unavailable";
|
|
1078
|
+
endpoint_unsafe: "endpoint_unsafe";
|
|
1079
|
+
http_refused: "http_refused";
|
|
1080
|
+
http_retryable: "http_retryable";
|
|
1081
|
+
http_terminal: "http_terminal";
|
|
1082
|
+
identity_conflict: "identity_conflict";
|
|
1083
|
+
network_ambiguous: "network_ambiguous";
|
|
1084
|
+
payload_unavailable: "payload_unavailable";
|
|
1085
|
+
}>>;
|
|
1086
|
+
durationMs: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1087
|
+
id: import("zod").ZodString;
|
|
1088
|
+
occurrence: import("zod").ZodString;
|
|
1089
|
+
remediation: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1090
|
+
none: "none";
|
|
1091
|
+
review_retry_policy: "review_retry_policy";
|
|
1092
|
+
inspect_receiver: "inspect_receiver";
|
|
1093
|
+
review_endpoint: "review_endpoint";
|
|
1094
|
+
replace_payload: "replace_payload";
|
|
1095
|
+
contact_support: "contact_support";
|
|
1096
|
+
review_before_redelivery: "review_before_redelivery";
|
|
1097
|
+
}>>;
|
|
1098
|
+
responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1099
|
+
startedAt: import("zod").ZodString;
|
|
1100
|
+
state: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1101
|
+
ambiguous: "ambiguous";
|
|
1102
|
+
succeeded: "succeeded";
|
|
1103
|
+
retryable_failure: "retryable_failure";
|
|
1104
|
+
terminal_failure: "terminal_failure";
|
|
1105
|
+
}>>;
|
|
1106
|
+
trigger: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1107
|
+
kind: import("zod").ZodLiteral<"automatic">;
|
|
1108
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1109
|
+
kind: import("zod").ZodLiteral<"redelivery">;
|
|
1110
|
+
sourceAttemptId: import("zod").ZodString;
|
|
1111
|
+
}, import("zod/v4/core").$strip>], "kind">;
|
|
1112
|
+
};
|
|
1067
1113
|
export declare const attemptSchema: import("zod").ZodObject<{
|
|
1068
1114
|
id: import("zod").ZodString;
|
|
1069
1115
|
localReceiptRecoveries: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1098,8 +1144,8 @@ export declare const attemptSchema: import("zod").ZodObject<{
|
|
|
1098
1144
|
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1099
1145
|
contentType: import("zod").ZodString;
|
|
1100
1146
|
encoding: import("zod").ZodEnum<{
|
|
1101
|
-
utf8: "utf8";
|
|
1102
1147
|
base64: "base64";
|
|
1148
|
+
utf8: "utf8";
|
|
1103
1149
|
}>;
|
|
1104
1150
|
content: import("zod").ZodString;
|
|
1105
1151
|
capturedBytes: import("zod").ZodInt;
|
|
@@ -1134,8 +1180,8 @@ export declare const attemptSchema: import("zod").ZodObject<{
|
|
|
1134
1180
|
responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1135
1181
|
startedAt: import("zod").ZodString;
|
|
1136
1182
|
state: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1137
|
-
succeeded: "succeeded";
|
|
1138
1183
|
ambiguous: "ambiguous";
|
|
1184
|
+
succeeded: "succeeded";
|
|
1139
1185
|
retryable_failure: "retryable_failure";
|
|
1140
1186
|
terminal_failure: "terminal_failure";
|
|
1141
1187
|
}>>;
|
|
@@ -1185,14 +1231,14 @@ export declare const occurrencePageSchema: import("zod").ZodObject<{
|
|
|
1185
1231
|
sequence: import("zod").ZodNumber;
|
|
1186
1232
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1187
1233
|
state: import("zod").ZodEnum<{
|
|
1188
|
-
succeeded: "succeeded";
|
|
1189
|
-
ambiguous: "ambiguous";
|
|
1190
|
-
due: "due";
|
|
1191
|
-
cancelled: "cancelled";
|
|
1192
1234
|
planned: "planned";
|
|
1235
|
+
due: "due";
|
|
1193
1236
|
dispatching: "dispatching";
|
|
1194
1237
|
retry_wait: "retry_wait";
|
|
1238
|
+
ambiguous: "ambiguous";
|
|
1239
|
+
succeeded: "succeeded";
|
|
1195
1240
|
terminal_failed: "terminal_failed";
|
|
1241
|
+
cancelled: "cancelled";
|
|
1196
1242
|
skipped_stale: "skipped_stale";
|
|
1197
1243
|
}>;
|
|
1198
1244
|
firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1222,14 +1268,14 @@ export declare const projectOccurrencePageSchema: import("zod").ZodObject<{
|
|
|
1222
1268
|
sequence: import("zod").ZodNumber;
|
|
1223
1269
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1224
1270
|
state: import("zod").ZodEnum<{
|
|
1225
|
-
succeeded: "succeeded";
|
|
1226
|
-
ambiguous: "ambiguous";
|
|
1227
|
-
due: "due";
|
|
1228
|
-
cancelled: "cancelled";
|
|
1229
1271
|
planned: "planned";
|
|
1272
|
+
due: "due";
|
|
1230
1273
|
dispatching: "dispatching";
|
|
1231
1274
|
retry_wait: "retry_wait";
|
|
1275
|
+
ambiguous: "ambiguous";
|
|
1276
|
+
succeeded: "succeeded";
|
|
1232
1277
|
terminal_failed: "terminal_failed";
|
|
1278
|
+
cancelled: "cancelled";
|
|
1233
1279
|
skipped_stale: "skipped_stale";
|
|
1234
1280
|
}>;
|
|
1235
1281
|
firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1265,14 +1311,14 @@ export declare const occurrenceViewSchema: import("zod").ZodObject<{
|
|
|
1265
1311
|
sequence: import("zod").ZodNumber;
|
|
1266
1312
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1267
1313
|
state: import("zod").ZodEnum<{
|
|
1268
|
-
succeeded: "succeeded";
|
|
1269
|
-
ambiguous: "ambiguous";
|
|
1270
|
-
due: "due";
|
|
1271
|
-
cancelled: "cancelled";
|
|
1272
1314
|
planned: "planned";
|
|
1315
|
+
due: "due";
|
|
1273
1316
|
dispatching: "dispatching";
|
|
1274
1317
|
retry_wait: "retry_wait";
|
|
1318
|
+
ambiguous: "ambiguous";
|
|
1319
|
+
succeeded: "succeeded";
|
|
1275
1320
|
terminal_failed: "terminal_failed";
|
|
1321
|
+
cancelled: "cancelled";
|
|
1276
1322
|
skipped_stale: "skipped_stale";
|
|
1277
1323
|
}>;
|
|
1278
1324
|
firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1324,8 +1370,8 @@ export declare const attemptPageSchema: import("zod").ZodObject<{
|
|
|
1324
1370
|
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1325
1371
|
contentType: import("zod").ZodString;
|
|
1326
1372
|
encoding: import("zod").ZodEnum<{
|
|
1327
|
-
utf8: "utf8";
|
|
1328
1373
|
base64: "base64";
|
|
1374
|
+
utf8: "utf8";
|
|
1329
1375
|
}>;
|
|
1330
1376
|
content: import("zod").ZodString;
|
|
1331
1377
|
capturedBytes: import("zod").ZodInt;
|
|
@@ -1360,8 +1406,8 @@ export declare const attemptPageSchema: import("zod").ZodObject<{
|
|
|
1360
1406
|
responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1361
1407
|
startedAt: import("zod").ZodString;
|
|
1362
1408
|
state: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1363
|
-
succeeded: "succeeded";
|
|
1364
1409
|
ambiguous: "ambiguous";
|
|
1410
|
+
succeeded: "succeeded";
|
|
1365
1411
|
retryable_failure: "retryable_failure";
|
|
1366
1412
|
terminal_failure: "terminal_failure";
|
|
1367
1413
|
}>>;
|
|
@@ -1442,8 +1488,8 @@ export declare const attemptViewSchema: import("zod").ZodObject<{
|
|
|
1442
1488
|
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1443
1489
|
contentType: import("zod").ZodString;
|
|
1444
1490
|
encoding: import("zod").ZodEnum<{
|
|
1445
|
-
utf8: "utf8";
|
|
1446
1491
|
base64: "base64";
|
|
1492
|
+
utf8: "utf8";
|
|
1447
1493
|
}>;
|
|
1448
1494
|
content: import("zod").ZodString;
|
|
1449
1495
|
capturedBytes: import("zod").ZodInt;
|
|
@@ -1478,8 +1524,8 @@ export declare const attemptViewSchema: import("zod").ZodObject<{
|
|
|
1478
1524
|
responseStatus: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1479
1525
|
startedAt: import("zod").ZodString;
|
|
1480
1526
|
state: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1481
|
-
succeeded: "succeeded";
|
|
1482
1527
|
ambiguous: "ambiguous";
|
|
1528
|
+
succeeded: "succeeded";
|
|
1483
1529
|
retryable_failure: "retryable_failure";
|
|
1484
1530
|
terminal_failure: "terminal_failure";
|
|
1485
1531
|
}>>;
|
|
@@ -1540,14 +1586,14 @@ export declare const scheduleViewSchema: import("zod").ZodObject<{
|
|
|
1540
1586
|
sequence: import("zod").ZodNumber;
|
|
1541
1587
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1542
1588
|
state: import("zod").ZodEnum<{
|
|
1543
|
-
succeeded: "succeeded";
|
|
1544
|
-
ambiguous: "ambiguous";
|
|
1545
|
-
due: "due";
|
|
1546
|
-
cancelled: "cancelled";
|
|
1547
1589
|
planned: "planned";
|
|
1590
|
+
due: "due";
|
|
1548
1591
|
dispatching: "dispatching";
|
|
1549
1592
|
retry_wait: "retry_wait";
|
|
1593
|
+
ambiguous: "ambiguous";
|
|
1594
|
+
succeeded: "succeeded";
|
|
1550
1595
|
terminal_failed: "terminal_failed";
|
|
1596
|
+
cancelled: "cancelled";
|
|
1551
1597
|
skipped_stale: "skipped_stale";
|
|
1552
1598
|
}>;
|
|
1553
1599
|
firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1643,9 +1689,9 @@ export declare const scheduleViewSchema: import("zod").ZodObject<{
|
|
|
1643
1689
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
1644
1690
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
1645
1691
|
status: import("zod").ZodEnum<{
|
|
1646
|
-
paused: "paused";
|
|
1647
|
-
active: "active";
|
|
1648
1692
|
cancelled: "cancelled";
|
|
1693
|
+
active: "active";
|
|
1694
|
+
paused: "paused";
|
|
1649
1695
|
completed: "completed";
|
|
1650
1696
|
}>;
|
|
1651
1697
|
updatedAt: import("zod").ZodString;
|
|
@@ -1668,14 +1714,14 @@ export declare const scheduleWrittenViewSchema: import("zod").ZodObject<{
|
|
|
1668
1714
|
sequence: import("zod").ZodNumber;
|
|
1669
1715
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1670
1716
|
state: import("zod").ZodEnum<{
|
|
1671
|
-
succeeded: "succeeded";
|
|
1672
|
-
ambiguous: "ambiguous";
|
|
1673
|
-
due: "due";
|
|
1674
|
-
cancelled: "cancelled";
|
|
1675
1717
|
planned: "planned";
|
|
1718
|
+
due: "due";
|
|
1676
1719
|
dispatching: "dispatching";
|
|
1677
1720
|
retry_wait: "retry_wait";
|
|
1721
|
+
ambiguous: "ambiguous";
|
|
1722
|
+
succeeded: "succeeded";
|
|
1678
1723
|
terminal_failed: "terminal_failed";
|
|
1724
|
+
cancelled: "cancelled";
|
|
1679
1725
|
skipped_stale: "skipped_stale";
|
|
1680
1726
|
}>;
|
|
1681
1727
|
firstAttemptLatenessMs: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -1771,9 +1817,9 @@ export declare const scheduleWrittenViewSchema: import("zod").ZodObject<{
|
|
|
1771
1817
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
1772
1818
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
1773
1819
|
status: import("zod").ZodEnum<{
|
|
1774
|
-
paused: "paused";
|
|
1775
|
-
active: "active";
|
|
1776
1820
|
cancelled: "cancelled";
|
|
1821
|
+
active: "active";
|
|
1822
|
+
paused: "paused";
|
|
1777
1823
|
completed: "completed";
|
|
1778
1824
|
}>;
|
|
1779
1825
|
updatedAt: import("zod").ZodString;
|