@greatwait/contracts 0.1.0-alpha.6 → 0.1.0-alpha.8
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/README.md +1 -1
- package/dist/attempt-diagnostics.d.ts +8 -0
- package/dist/attempt-diagnostics.js +68 -0
- package/dist/billing.d.ts +12 -10
- package/dist/billing.js +14 -4
- package/dist/delivery.d.ts +17 -40
- package/dist/delivery.js +12 -37
- package/dist/effective-limits.d.ts +4 -4
- package/dist/endpoints.d.ts +6 -6
- package/dist/first-value-journey.js +4 -4
- package/dist/identity.d.ts +3 -3
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/members.d.ts +4 -4
- package/dist/operations.d.ts +338 -103
- package/dist/operations.js +3 -1
- package/dist/policy.d.ts +5 -4
- package/dist/policy.js +5 -4
- package/dist/project-notifications.d.ts +238 -0
- package/dist/project-notifications.js +236 -0
- package/dist/scheduling-records.d.ts +112 -8
- package/dist/scheduling.d.ts +253 -22
- package/dist/scheduling.js +51 -9
- package/dist/signatures.d.ts +1 -1
- package/dist/test-sink.d.ts +27 -41
- package/dist/test-sink.js +12 -31
- package/dist/workspace.d.ts +4 -4
- package/generated/v1/callback-receiver.json +4 -4
- package/generated/v1/examples/projectnotifications.read.response.json +12 -0
- package/generated/v1/examples/projectnotifications.rotateSigningKey.request.json +3 -0
- package/generated/v1/examples/projectnotifications.rotateSigningKey.response.json +25 -0
- package/generated/v1/examples/projectnotifications.update.request.json +10 -0
- package/generated/v1/examples/projectnotifications.update.response.json +12 -0
- package/generated/v1/examples/statusdeliveries.list.response.json +3 -0
- package/generated/v1/first-value-journey.json +4 -4
- package/generated/v1/manifest.json +110 -1
- package/generated/v1/openapi.json +3655 -333
- package/generated/v1/policy-matrix.json +28 -0
- package/generated/v1/schemas/attempts.list.response.json +105 -0
- package/generated/v1/schemas/attempts.read.response.json +105 -0
- package/generated/v1/schemas/billing.notices.response.json +17 -6
- package/generated/v1/schemas/billing.purchase.request.json +4 -0
- package/generated/v1/schemas/occurrences.redeliver.response.json +105 -0
- package/generated/v1/schemas/projectnotifications.read.response.json +101 -0
- package/generated/v1/schemas/projectnotifications.rotateSigningKey.request.json +13 -0
- package/generated/v1/schemas/projectnotifications.rotateSigningKey.response.json +119 -0
- package/generated/v1/schemas/projectnotifications.update.request-headers.json +13 -0
- package/generated/v1/schemas/projectnotifications.update.request.json +90 -0
- package/generated/v1/schemas/projectnotifications.update.response.json +101 -0
- package/generated/v1/schemas/schedules.archive.response.json +50 -0
- package/generated/v1/schemas/schedules.cancel.response.json +50 -0
- package/generated/v1/schemas/schedules.create.request.json +14 -0
- package/generated/v1/schemas/schedules.create.response.json +50 -0
- package/generated/v1/schemas/schedules.list.response.json +50 -0
- package/generated/v1/schemas/schedules.pause.response.json +50 -0
- package/generated/v1/schemas/schedules.read.response.json +50 -0
- package/generated/v1/schemas/schedules.replace.request.json +14 -0
- package/generated/v1/schemas/schedules.replace.response.json +50 -0
- package/generated/v1/schemas/schedules.resume.response.json +50 -0
- package/generated/v1/schemas/statusdeliveries.list.query.json +16 -0
- package/generated/v1/schemas/statusdeliveries.list.response.json +82 -0
- package/generated/v1/snippets/projectnotifications.read.json +6 -0
- package/generated/v1/snippets/projectnotifications.rotateSigningKey.json +6 -0
- package/generated/v1/snippets/projectnotifications.update.json +6 -0
- package/generated/v1/snippets/statusdeliveries.list.json +6 -0
- package/package.json +1 -1
|
@@ -51,6 +51,14 @@ export declare const portableScheduleRecordSchema: import("zod").ZodObject<{
|
|
|
51
51
|
project: import("zod").ZodString;
|
|
52
52
|
}, import("zod/v4/core").$strict>;
|
|
53
53
|
retentionClass: import("zod").ZodString;
|
|
54
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
55
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
56
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
57
|
+
failedRuns: import("zod").ZodNumber;
|
|
58
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
59
|
+
diagnostic: import("zod").ZodString;
|
|
60
|
+
pausedAt: import("zod").ZodString;
|
|
61
|
+
}, import("zod/v4/core").$strip>>>;
|
|
54
62
|
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
55
63
|
method: import("zod").ZodEnum<{
|
|
56
64
|
POST: "POST";
|
|
@@ -122,10 +130,10 @@ export declare const portableScheduleRecordSchema: import("zod").ZodObject<{
|
|
|
122
130
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
123
131
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
124
132
|
status: import("zod").ZodEnum<{
|
|
125
|
-
active: "active";
|
|
126
|
-
completed: "completed";
|
|
127
133
|
paused: "paused";
|
|
134
|
+
active: "active";
|
|
128
135
|
cancelled: "cancelled";
|
|
136
|
+
completed: "completed";
|
|
129
137
|
}>;
|
|
130
138
|
updatedAt: import("zod").ZodString;
|
|
131
139
|
version: import("zod").ZodNumber;
|
|
@@ -162,9 +170,9 @@ export declare const portableOccurrenceRecordSchema: import("zod").ZodObject<{
|
|
|
162
170
|
sequence: import("zod").ZodNumber;
|
|
163
171
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
164
172
|
state: import("zod").ZodEnum<{
|
|
165
|
-
due: "due";
|
|
166
173
|
succeeded: "succeeded";
|
|
167
174
|
ambiguous: "ambiguous";
|
|
175
|
+
due: "due";
|
|
168
176
|
cancelled: "cancelled";
|
|
169
177
|
planned: "planned";
|
|
170
178
|
dispatching: "dispatching";
|
|
@@ -215,6 +223,50 @@ export declare const portableAttemptRecordSchema: import("zod").ZodObject<{
|
|
|
215
223
|
text: import("zod").ZodString;
|
|
216
224
|
truncated: import("zod").ZodBoolean;
|
|
217
225
|
}, import("zod/v4/core").$strip>>;
|
|
226
|
+
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
227
|
+
statusText: import("zod").ZodString;
|
|
228
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
229
|
+
name: import("zod").ZodString;
|
|
230
|
+
value: import("zod").ZodString;
|
|
231
|
+
}, import("zod/v4/core").$strip>>;
|
|
232
|
+
bodyState: import("zod").ZodEnum<{
|
|
233
|
+
captured: "captured";
|
|
234
|
+
empty: "empty";
|
|
235
|
+
expired: "expired";
|
|
236
|
+
not_captured: "not_captured";
|
|
237
|
+
}>;
|
|
238
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
239
|
+
contentType: import("zod").ZodString;
|
|
240
|
+
encoding: import("zod").ZodEnum<{
|
|
241
|
+
utf8: "utf8";
|
|
242
|
+
base64: "base64";
|
|
243
|
+
}>;
|
|
244
|
+
content: import("zod").ZodString;
|
|
245
|
+
capturedBytes: import("zod").ZodInt;
|
|
246
|
+
originalBytes: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
247
|
+
truncated: import("zod").ZodBoolean;
|
|
248
|
+
redacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
249
|
+
incomplete: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
250
|
+
}, import("zod/v4/core").$strip>>;
|
|
251
|
+
}, import("zod/v4/core").$strip>>;
|
|
252
|
+
request: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
253
|
+
method: import("zod").ZodEnum<{
|
|
254
|
+
POST: "POST";
|
|
255
|
+
PUT: "PUT";
|
|
256
|
+
GET: "GET";
|
|
257
|
+
}>;
|
|
258
|
+
url: import("zod").ZodString;
|
|
259
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
260
|
+
name: import("zod").ZodString;
|
|
261
|
+
value: import("zod").ZodString;
|
|
262
|
+
}, import("zod/v4/core").$strip>>;
|
|
263
|
+
body: import("zod").ZodString;
|
|
264
|
+
}, import("zod/v4/core").$strip>>;
|
|
265
|
+
requestState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
266
|
+
captured: "captured";
|
|
267
|
+
expired: "expired";
|
|
268
|
+
not_captured: "not_captured";
|
|
269
|
+
}>>;
|
|
218
270
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
219
271
|
name: import("zod").ZodString;
|
|
220
272
|
value: import("zod").ZodString;
|
|
@@ -247,8 +299,8 @@ export declare const portableAttemptRecordSchema: import("zod").ZodObject<{
|
|
|
247
299
|
delivery: import("zod").ZodString;
|
|
248
300
|
diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
249
301
|
rate_limited: "rate_limited";
|
|
250
|
-
delivered: "delivered";
|
|
251
302
|
completion_timed_out: "completion_timed_out";
|
|
303
|
+
delivered: "delivered";
|
|
252
304
|
duplicate_inflight: "duplicate_inflight";
|
|
253
305
|
endpoint_unavailable: "endpoint_unavailable";
|
|
254
306
|
endpoint_unsafe: "endpoint_unsafe";
|
|
@@ -359,6 +411,50 @@ export declare const portableSchedulingRecordSetSchema: import("zod").ZodObject<
|
|
|
359
411
|
text: import("zod").ZodString;
|
|
360
412
|
truncated: import("zod").ZodBoolean;
|
|
361
413
|
}, import("zod/v4/core").$strip>>;
|
|
414
|
+
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
415
|
+
statusText: import("zod").ZodString;
|
|
416
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
417
|
+
name: import("zod").ZodString;
|
|
418
|
+
value: import("zod").ZodString;
|
|
419
|
+
}, import("zod/v4/core").$strip>>;
|
|
420
|
+
bodyState: import("zod").ZodEnum<{
|
|
421
|
+
captured: "captured";
|
|
422
|
+
empty: "empty";
|
|
423
|
+
expired: "expired";
|
|
424
|
+
not_captured: "not_captured";
|
|
425
|
+
}>;
|
|
426
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
427
|
+
contentType: import("zod").ZodString;
|
|
428
|
+
encoding: import("zod").ZodEnum<{
|
|
429
|
+
utf8: "utf8";
|
|
430
|
+
base64: "base64";
|
|
431
|
+
}>;
|
|
432
|
+
content: import("zod").ZodString;
|
|
433
|
+
capturedBytes: import("zod").ZodInt;
|
|
434
|
+
originalBytes: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
435
|
+
truncated: import("zod").ZodBoolean;
|
|
436
|
+
redacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
437
|
+
incomplete: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
438
|
+
}, import("zod/v4/core").$strip>>;
|
|
439
|
+
}, import("zod/v4/core").$strip>>;
|
|
440
|
+
request: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
441
|
+
method: import("zod").ZodEnum<{
|
|
442
|
+
POST: "POST";
|
|
443
|
+
PUT: "PUT";
|
|
444
|
+
GET: "GET";
|
|
445
|
+
}>;
|
|
446
|
+
url: import("zod").ZodString;
|
|
447
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
448
|
+
name: import("zod").ZodString;
|
|
449
|
+
value: import("zod").ZodString;
|
|
450
|
+
}, import("zod/v4/core").$strip>>;
|
|
451
|
+
body: import("zod").ZodString;
|
|
452
|
+
}, import("zod/v4/core").$strip>>;
|
|
453
|
+
requestState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
454
|
+
captured: "captured";
|
|
455
|
+
expired: "expired";
|
|
456
|
+
not_captured: "not_captured";
|
|
457
|
+
}>>;
|
|
362
458
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
363
459
|
name: import("zod").ZodString;
|
|
364
460
|
value: import("zod").ZodString;
|
|
@@ -391,8 +487,8 @@ export declare const portableSchedulingRecordSetSchema: import("zod").ZodObject<
|
|
|
391
487
|
delivery: import("zod").ZodString;
|
|
392
488
|
diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
393
489
|
rate_limited: "rate_limited";
|
|
394
|
-
delivered: "delivered";
|
|
395
490
|
completion_timed_out: "completion_timed_out";
|
|
491
|
+
delivered: "delivered";
|
|
396
492
|
duplicate_inflight: "duplicate_inflight";
|
|
397
493
|
endpoint_unavailable: "endpoint_unavailable";
|
|
398
494
|
endpoint_unsafe: "endpoint_unsafe";
|
|
@@ -467,9 +563,9 @@ export declare const portableSchedulingRecordSetSchema: import("zod").ZodObject<
|
|
|
467
563
|
sequence: import("zod").ZodNumber;
|
|
468
564
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
469
565
|
state: import("zod").ZodEnum<{
|
|
470
|
-
due: "due";
|
|
471
566
|
succeeded: "succeeded";
|
|
472
567
|
ambiguous: "ambiguous";
|
|
568
|
+
due: "due";
|
|
473
569
|
cancelled: "cancelled";
|
|
474
570
|
planned: "planned";
|
|
475
571
|
dispatching: "dispatching";
|
|
@@ -596,6 +692,14 @@ export declare const portableSchedulingRecordSetSchema: import("zod").ZodObject<
|
|
|
596
692
|
project: import("zod").ZodString;
|
|
597
693
|
}, import("zod/v4/core").$strict>;
|
|
598
694
|
retentionClass: import("zod").ZodString;
|
|
695
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
696
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
697
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
698
|
+
failedRuns: import("zod").ZodNumber;
|
|
699
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
700
|
+
diagnostic: import("zod").ZodString;
|
|
701
|
+
pausedAt: import("zod").ZodString;
|
|
702
|
+
}, import("zod/v4/core").$strip>>>;
|
|
599
703
|
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
600
704
|
method: import("zod").ZodEnum<{
|
|
601
705
|
POST: "POST";
|
|
@@ -667,10 +771,10 @@ export declare const portableSchedulingRecordSetSchema: import("zod").ZodObject<
|
|
|
667
771
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
668
772
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
669
773
|
status: import("zod").ZodEnum<{
|
|
670
|
-
active: "active";
|
|
671
|
-
completed: "completed";
|
|
672
774
|
paused: "paused";
|
|
775
|
+
active: "active";
|
|
673
776
|
cancelled: "cancelled";
|
|
777
|
+
completed: "completed";
|
|
674
778
|
}>;
|
|
675
779
|
updatedAt: import("zod").ZodString;
|
|
676
780
|
version: import("zod").ZodNumber;
|