@osstack/protocol 0.15.0 → 0.22.0

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.
Files changed (73) hide show
  1. package/dist/attention.d.ts +863 -0
  2. package/dist/attention.d.ts.map +1 -0
  3. package/dist/attention.js +112 -0
  4. package/dist/attention.js.map +1 -0
  5. package/dist/autonomy.d.ts +14 -14
  6. package/dist/delivery-contract.d.ts +734 -0
  7. package/dist/delivery-contract.d.ts.map +1 -0
  8. package/dist/delivery-contract.js +111 -0
  9. package/dist/delivery-contract.js.map +1 -0
  10. package/dist/envelope.d.ts +42 -42
  11. package/dist/event.d.ts +4 -4
  12. package/dist/follow-up-delivery.d.ts +1831 -0
  13. package/dist/follow-up-delivery.d.ts.map +1 -0
  14. package/dist/follow-up-delivery.js +174 -0
  15. package/dist/follow-up-delivery.js.map +1 -0
  16. package/dist/follow-up.d.ts +1100 -0
  17. package/dist/follow-up.d.ts.map +1 -0
  18. package/dist/follow-up.js +28 -0
  19. package/dist/follow-up.js.map +1 -0
  20. package/dist/generate.d.ts +1 -0
  21. package/dist/generate.d.ts.map +1 -1
  22. package/dist/generate.js +61 -1
  23. package/dist/generate.js.map +1 -1
  24. package/dist/graph-checkpoint.d.ts +409 -0
  25. package/dist/graph-checkpoint.d.ts.map +1 -0
  26. package/dist/graph-checkpoint.js +91 -0
  27. package/dist/graph-checkpoint.js.map +1 -0
  28. package/dist/graph-worker.d.ts +1663 -0
  29. package/dist/graph-worker.d.ts.map +1 -0
  30. package/dist/graph-worker.js +152 -0
  31. package/dist/graph-worker.js.map +1 -0
  32. package/dist/graph.d.ts +13169 -0
  33. package/dist/graph.d.ts.map +1 -0
  34. package/dist/graph.js +427 -0
  35. package/dist/graph.js.map +1 -0
  36. package/dist/index.d.ts +11 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +11 -2
  39. package/dist/index.js.map +1 -1
  40. package/dist/policy.d.ts +10 -10
  41. package/dist/run.d.ts +4 -4
  42. package/dist/session-continuation-grant.d.ts +414 -0
  43. package/dist/session-continuation-grant.d.ts.map +1 -0
  44. package/dist/session-continuation-grant.js +59 -0
  45. package/dist/session-continuation-grant.js.map +1 -0
  46. package/dist/session-continuation.d.ts +129 -0
  47. package/dist/session-continuation.d.ts.map +1 -0
  48. package/dist/session-continuation.js +30 -0
  49. package/dist/session-continuation.js.map +1 -0
  50. package/dist/task.d.ts +2 -2
  51. package/package.json +11 -10
  52. package/schemas/attention-inbox.schema.json +271 -0
  53. package/schemas/attention-status.schema.json +434 -0
  54. package/schemas/continuation-grant-body.schema.json +189 -0
  55. package/schemas/continuation-output-check.schema.json +65 -0
  56. package/schemas/delivery-contract-v2.schema.json +238 -0
  57. package/schemas/delivery-verification-receipt-v2.schema.json +223 -0
  58. package/schemas/follow-up-create-params.schema.json +78 -0
  59. package/schemas/follow-up-draft-params.schema.json +39 -0
  60. package/schemas/follow-up-list-params.schema.json +42 -0
  61. package/schemas/follow-up-list-result.schema.json +241 -0
  62. package/schemas/follow-up-mutation-result.schema.json +361 -0
  63. package/schemas/follow-up-obligation.schema.json +343 -0
  64. package/schemas/follow-up-resolve-params.schema.json +53 -0
  65. package/schemas/frozen-delivery-contract-v2.schema.json +258 -0
  66. package/schemas/graph-checkpoint-request.schema.json +222 -0
  67. package/schemas/graph-checkpoint-response.schema.json +258 -0
  68. package/schemas/graph-worker.schema.json +546 -0
  69. package/schemas/graph.schema.json +1798 -0
  70. package/schemas/session-continuation-request.schema.json +62 -0
  71. package/schemas/session-decision.schema.json +107 -0
  72. package/schemas/signed-continuation-grant.schema.json +209 -0
  73. package/LICENSE +0 -21
@@ -0,0 +1,1831 @@
1
+ import { z } from "zod";
2
+ export declare const FollowUpDeliveryTarget: z.ZodObject<{
3
+ destination_ref: z.ZodString;
4
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
5
+ provider_id: z.ZodLiteral<"github_comment">;
6
+ account_id: z.ZodString;
7
+ host: z.ZodLiteral<"github.com">;
8
+ owner: z.ZodString;
9
+ repository: z.ZodString;
10
+ issue_number: z.ZodNumber;
11
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
12
+ actor_node_id: z.ZodEffects<z.ZodString, string, string>;
13
+ }, "strict", z.ZodTypeAny, {
14
+ owner: string;
15
+ repo_path: string;
16
+ repository: string;
17
+ destination_ref: string;
18
+ provider_id: "github_comment";
19
+ account_id: string;
20
+ host: "github.com";
21
+ issue_number: number;
22
+ target_node_id: string;
23
+ actor_node_id: string;
24
+ }, {
25
+ owner: string;
26
+ repo_path: string;
27
+ repository: string;
28
+ destination_ref: string;
29
+ provider_id: "github_comment";
30
+ account_id: string;
31
+ host: "github.com";
32
+ issue_number: number;
33
+ target_node_id: string;
34
+ actor_node_id: string;
35
+ }>;
36
+ export type FollowUpDeliveryTarget = z.infer<typeof FollowUpDeliveryTarget>;
37
+ export declare const FollowUpDeliverySubject: z.ZodObject<{
38
+ attempt_id: z.ZodString;
39
+ provider_id: z.ZodLiteral<"github_comment">;
40
+ account_id: z.ZodString;
41
+ destination_digest: z.ZodString;
42
+ body_sha256: z.ZodString;
43
+ envelope_digest: z.ZodString;
44
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
45
+ default_tenant: z.ZodLiteral<true>;
46
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
47
+ }, "strict", z.ZodTypeAny, {
48
+ repo_path: string;
49
+ provider_id: "github_comment";
50
+ account_id: string;
51
+ domain: "osstack.follow-up-delivery.v1";
52
+ attempt_id: string;
53
+ destination_digest: string;
54
+ body_sha256: string;
55
+ envelope_digest: string;
56
+ default_tenant: true;
57
+ }, {
58
+ repo_path: string;
59
+ provider_id: "github_comment";
60
+ account_id: string;
61
+ domain: "osstack.follow-up-delivery.v1";
62
+ attempt_id: string;
63
+ destination_digest: string;
64
+ body_sha256: string;
65
+ envelope_digest: string;
66
+ default_tenant: true;
67
+ }>;
68
+ export declare const FollowUpDeliveryGrantBody: z.ZodEffects<z.ZodObject<{
69
+ attempt_id: z.ZodString;
70
+ provider_id: z.ZodLiteral<"github_comment">;
71
+ account_id: z.ZodString;
72
+ destination_digest: z.ZodString;
73
+ body_sha256: z.ZodString;
74
+ envelope_digest: z.ZodString;
75
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
76
+ default_tenant: z.ZodLiteral<true>;
77
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
78
+ } & {
79
+ grant_id: z.ZodString;
80
+ issued_at_ms: z.ZodNumber;
81
+ expires_at_ms: z.ZodNumber;
82
+ max_calls: z.ZodLiteral<1>;
83
+ }, "strict", z.ZodTypeAny, {
84
+ grant_id: string;
85
+ repo_path: string;
86
+ provider_id: "github_comment";
87
+ account_id: string;
88
+ domain: "osstack.follow-up-delivery.v1";
89
+ attempt_id: string;
90
+ destination_digest: string;
91
+ body_sha256: string;
92
+ envelope_digest: string;
93
+ default_tenant: true;
94
+ issued_at_ms: number;
95
+ expires_at_ms: number;
96
+ max_calls: 1;
97
+ }, {
98
+ grant_id: string;
99
+ repo_path: string;
100
+ provider_id: "github_comment";
101
+ account_id: string;
102
+ domain: "osstack.follow-up-delivery.v1";
103
+ attempt_id: string;
104
+ destination_digest: string;
105
+ body_sha256: string;
106
+ envelope_digest: string;
107
+ default_tenant: true;
108
+ issued_at_ms: number;
109
+ expires_at_ms: number;
110
+ max_calls: 1;
111
+ }>, {
112
+ grant_id: string;
113
+ repo_path: string;
114
+ provider_id: "github_comment";
115
+ account_id: string;
116
+ domain: "osstack.follow-up-delivery.v1";
117
+ attempt_id: string;
118
+ destination_digest: string;
119
+ body_sha256: string;
120
+ envelope_digest: string;
121
+ default_tenant: true;
122
+ issued_at_ms: number;
123
+ expires_at_ms: number;
124
+ max_calls: 1;
125
+ }, {
126
+ grant_id: string;
127
+ repo_path: string;
128
+ provider_id: "github_comment";
129
+ account_id: string;
130
+ domain: "osstack.follow-up-delivery.v1";
131
+ attempt_id: string;
132
+ destination_digest: string;
133
+ body_sha256: string;
134
+ envelope_digest: string;
135
+ default_tenant: true;
136
+ issued_at_ms: number;
137
+ expires_at_ms: number;
138
+ max_calls: 1;
139
+ }>;
140
+ export declare const SignedFollowUpDeliveryGrant: z.ZodObject<{
141
+ body: z.ZodEffects<z.ZodObject<{
142
+ attempt_id: z.ZodString;
143
+ provider_id: z.ZodLiteral<"github_comment">;
144
+ account_id: z.ZodString;
145
+ destination_digest: z.ZodString;
146
+ body_sha256: z.ZodString;
147
+ envelope_digest: z.ZodString;
148
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
149
+ default_tenant: z.ZodLiteral<true>;
150
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
151
+ } & {
152
+ grant_id: z.ZodString;
153
+ issued_at_ms: z.ZodNumber;
154
+ expires_at_ms: z.ZodNumber;
155
+ max_calls: z.ZodLiteral<1>;
156
+ }, "strict", z.ZodTypeAny, {
157
+ grant_id: string;
158
+ repo_path: string;
159
+ provider_id: "github_comment";
160
+ account_id: string;
161
+ domain: "osstack.follow-up-delivery.v1";
162
+ attempt_id: string;
163
+ destination_digest: string;
164
+ body_sha256: string;
165
+ envelope_digest: string;
166
+ default_tenant: true;
167
+ issued_at_ms: number;
168
+ expires_at_ms: number;
169
+ max_calls: 1;
170
+ }, {
171
+ grant_id: string;
172
+ repo_path: string;
173
+ provider_id: "github_comment";
174
+ account_id: string;
175
+ domain: "osstack.follow-up-delivery.v1";
176
+ attempt_id: string;
177
+ destination_digest: string;
178
+ body_sha256: string;
179
+ envelope_digest: string;
180
+ default_tenant: true;
181
+ issued_at_ms: number;
182
+ expires_at_ms: number;
183
+ max_calls: 1;
184
+ }>, {
185
+ grant_id: string;
186
+ repo_path: string;
187
+ provider_id: "github_comment";
188
+ account_id: string;
189
+ domain: "osstack.follow-up-delivery.v1";
190
+ attempt_id: string;
191
+ destination_digest: string;
192
+ body_sha256: string;
193
+ envelope_digest: string;
194
+ default_tenant: true;
195
+ issued_at_ms: number;
196
+ expires_at_ms: number;
197
+ max_calls: 1;
198
+ }, {
199
+ grant_id: string;
200
+ repo_path: string;
201
+ provider_id: "github_comment";
202
+ account_id: string;
203
+ domain: "osstack.follow-up-delivery.v1";
204
+ attempt_id: string;
205
+ destination_digest: string;
206
+ body_sha256: string;
207
+ envelope_digest: string;
208
+ default_tenant: true;
209
+ issued_at_ms: number;
210
+ expires_at_ms: number;
211
+ max_calls: 1;
212
+ }>;
213
+ key_id: z.ZodString;
214
+ signature: z.ZodString;
215
+ }, "strict", z.ZodTypeAny, {
216
+ key_id: string;
217
+ signature: string;
218
+ body: {
219
+ grant_id: string;
220
+ repo_path: string;
221
+ provider_id: "github_comment";
222
+ account_id: string;
223
+ domain: "osstack.follow-up-delivery.v1";
224
+ attempt_id: string;
225
+ destination_digest: string;
226
+ body_sha256: string;
227
+ envelope_digest: string;
228
+ default_tenant: true;
229
+ issued_at_ms: number;
230
+ expires_at_ms: number;
231
+ max_calls: 1;
232
+ };
233
+ }, {
234
+ key_id: string;
235
+ signature: string;
236
+ body: {
237
+ grant_id: string;
238
+ repo_path: string;
239
+ provider_id: "github_comment";
240
+ account_id: string;
241
+ domain: "osstack.follow-up-delivery.v1";
242
+ attempt_id: string;
243
+ destination_digest: string;
244
+ body_sha256: string;
245
+ envelope_digest: string;
246
+ default_tenant: true;
247
+ issued_at_ms: number;
248
+ expires_at_ms: number;
249
+ max_calls: 1;
250
+ };
251
+ }>;
252
+ export type SignedFollowUpDeliveryGrant = z.infer<typeof SignedFollowUpDeliveryGrant>;
253
+ export declare const FollowUpDeliveryEnvelope: z.ZodObject<{
254
+ attempt_id: z.ZodString;
255
+ obligation_id: z.ZodString;
256
+ obligation_revision: z.ZodNumber;
257
+ destination: z.ZodObject<{
258
+ destination_ref: z.ZodString;
259
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
260
+ provider_id: z.ZodLiteral<"github_comment">;
261
+ account_id: z.ZodString;
262
+ host: z.ZodLiteral<"github.com">;
263
+ owner: z.ZodString;
264
+ repository: z.ZodString;
265
+ issue_number: z.ZodNumber;
266
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
267
+ actor_node_id: z.ZodEffects<z.ZodString, string, string>;
268
+ }, "strict", z.ZodTypeAny, {
269
+ owner: string;
270
+ repo_path: string;
271
+ repository: string;
272
+ destination_ref: string;
273
+ provider_id: "github_comment";
274
+ account_id: string;
275
+ host: "github.com";
276
+ issue_number: number;
277
+ target_node_id: string;
278
+ actor_node_id: string;
279
+ }, {
280
+ owner: string;
281
+ repo_path: string;
282
+ repository: string;
283
+ destination_ref: string;
284
+ provider_id: "github_comment";
285
+ account_id: string;
286
+ host: "github.com";
287
+ issue_number: number;
288
+ target_node_id: string;
289
+ actor_node_id: string;
290
+ }>;
291
+ destination_digest: z.ZodString;
292
+ body: z.ZodEffects<z.ZodString, string, string>;
293
+ body_sha256: z.ZodString;
294
+ envelope_digest: z.ZodString;
295
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
296
+ default_tenant: z.ZodLiteral<true>;
297
+ }, "strict", z.ZodTypeAny, {
298
+ repo_path: string;
299
+ attempt_id: string;
300
+ destination_digest: string;
301
+ body_sha256: string;
302
+ envelope_digest: string;
303
+ default_tenant: true;
304
+ body: string;
305
+ obligation_id: string;
306
+ obligation_revision: number;
307
+ destination: {
308
+ owner: string;
309
+ repo_path: string;
310
+ repository: string;
311
+ destination_ref: string;
312
+ provider_id: "github_comment";
313
+ account_id: string;
314
+ host: "github.com";
315
+ issue_number: number;
316
+ target_node_id: string;
317
+ actor_node_id: string;
318
+ };
319
+ }, {
320
+ repo_path: string;
321
+ attempt_id: string;
322
+ destination_digest: string;
323
+ body_sha256: string;
324
+ envelope_digest: string;
325
+ default_tenant: true;
326
+ body: string;
327
+ obligation_id: string;
328
+ obligation_revision: number;
329
+ destination: {
330
+ owner: string;
331
+ repo_path: string;
332
+ repository: string;
333
+ destination_ref: string;
334
+ provider_id: "github_comment";
335
+ account_id: string;
336
+ host: "github.com";
337
+ issue_number: number;
338
+ target_node_id: string;
339
+ actor_node_id: string;
340
+ };
341
+ }>;
342
+ export type FollowUpDeliveryEnvelope = z.infer<typeof FollowUpDeliveryEnvelope>;
343
+ export declare const FollowUpDeliveryReceipt: z.ZodObject<{
344
+ provider_id: z.ZodLiteral<"github_comment">;
345
+ account_id: z.ZodString;
346
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
347
+ author_node_id: z.ZodEffects<z.ZodString, string, string>;
348
+ destination_digest: z.ZodString;
349
+ body_sha256: z.ZodString;
350
+ attempt_id: z.ZodString;
351
+ provider_message_id: z.ZodEffects<z.ZodString, string, string>;
352
+ provider_request_id: z.ZodEffects<z.ZodString, string, string>;
353
+ }, "strict", z.ZodTypeAny, {
354
+ provider_id: "github_comment";
355
+ account_id: string;
356
+ target_node_id: string;
357
+ attempt_id: string;
358
+ destination_digest: string;
359
+ body_sha256: string;
360
+ author_node_id: string;
361
+ provider_message_id: string;
362
+ provider_request_id: string;
363
+ }, {
364
+ provider_id: "github_comment";
365
+ account_id: string;
366
+ target_node_id: string;
367
+ attempt_id: string;
368
+ destination_digest: string;
369
+ body_sha256: string;
370
+ author_node_id: string;
371
+ provider_message_id: string;
372
+ provider_request_id: string;
373
+ }>;
374
+ export type FollowUpDeliveryReceipt = z.infer<typeof FollowUpDeliveryReceipt>;
375
+ export declare const FollowUpDeliveryState: z.ZodEnum<["prepared", "started", "delivered", "delivery_unknown", "definitely_not_sent"]>;
376
+ export declare const FollowUpDeliveryPrepareParams: z.ZodObject<{
377
+ obligation_id: z.ZodString;
378
+ expected_obligation_revision: z.ZodNumber;
379
+ destination_ref: z.ZodString;
380
+ body: z.ZodEffects<z.ZodString, string, string>;
381
+ idempotency_key: z.ZodEffects<z.ZodString, string, string>;
382
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
383
+ default_tenant: z.ZodLiteral<true>;
384
+ }, "strict", z.ZodTypeAny, {
385
+ repo_path: string;
386
+ idempotency_key: string;
387
+ destination_ref: string;
388
+ default_tenant: true;
389
+ body: string;
390
+ obligation_id: string;
391
+ expected_obligation_revision: number;
392
+ }, {
393
+ repo_path: string;
394
+ idempotency_key: string;
395
+ destination_ref: string;
396
+ default_tenant: true;
397
+ body: string;
398
+ obligation_id: string;
399
+ expected_obligation_revision: number;
400
+ }>;
401
+ export declare const FollowUpDeliveryActionParams: z.ZodObject<{
402
+ attempt_id: z.ZodString;
403
+ expected_revision: z.ZodNumber;
404
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
405
+ default_tenant: z.ZodLiteral<true>;
406
+ }, "strict", z.ZodTypeAny, {
407
+ repo_path: string;
408
+ attempt_id: string;
409
+ default_tenant: true;
410
+ expected_revision: number;
411
+ }, {
412
+ repo_path: string;
413
+ attempt_id: string;
414
+ default_tenant: true;
415
+ expected_revision: number;
416
+ }>;
417
+ export declare const FollowUpDeliveryAuthorizeParams: z.ZodObject<{
418
+ grant: z.ZodObject<{
419
+ body: z.ZodEffects<z.ZodObject<{
420
+ attempt_id: z.ZodString;
421
+ provider_id: z.ZodLiteral<"github_comment">;
422
+ account_id: z.ZodString;
423
+ destination_digest: z.ZodString;
424
+ body_sha256: z.ZodString;
425
+ envelope_digest: z.ZodString;
426
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
427
+ default_tenant: z.ZodLiteral<true>;
428
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
429
+ } & {
430
+ grant_id: z.ZodString;
431
+ issued_at_ms: z.ZodNumber;
432
+ expires_at_ms: z.ZodNumber;
433
+ max_calls: z.ZodLiteral<1>;
434
+ }, "strict", z.ZodTypeAny, {
435
+ grant_id: string;
436
+ repo_path: string;
437
+ provider_id: "github_comment";
438
+ account_id: string;
439
+ domain: "osstack.follow-up-delivery.v1";
440
+ attempt_id: string;
441
+ destination_digest: string;
442
+ body_sha256: string;
443
+ envelope_digest: string;
444
+ default_tenant: true;
445
+ issued_at_ms: number;
446
+ expires_at_ms: number;
447
+ max_calls: 1;
448
+ }, {
449
+ grant_id: string;
450
+ repo_path: string;
451
+ provider_id: "github_comment";
452
+ account_id: string;
453
+ domain: "osstack.follow-up-delivery.v1";
454
+ attempt_id: string;
455
+ destination_digest: string;
456
+ body_sha256: string;
457
+ envelope_digest: string;
458
+ default_tenant: true;
459
+ issued_at_ms: number;
460
+ expires_at_ms: number;
461
+ max_calls: 1;
462
+ }>, {
463
+ grant_id: string;
464
+ repo_path: string;
465
+ provider_id: "github_comment";
466
+ account_id: string;
467
+ domain: "osstack.follow-up-delivery.v1";
468
+ attempt_id: string;
469
+ destination_digest: string;
470
+ body_sha256: string;
471
+ envelope_digest: string;
472
+ default_tenant: true;
473
+ issued_at_ms: number;
474
+ expires_at_ms: number;
475
+ max_calls: 1;
476
+ }, {
477
+ grant_id: string;
478
+ repo_path: string;
479
+ provider_id: "github_comment";
480
+ account_id: string;
481
+ domain: "osstack.follow-up-delivery.v1";
482
+ attempt_id: string;
483
+ destination_digest: string;
484
+ body_sha256: string;
485
+ envelope_digest: string;
486
+ default_tenant: true;
487
+ issued_at_ms: number;
488
+ expires_at_ms: number;
489
+ max_calls: 1;
490
+ }>;
491
+ key_id: z.ZodString;
492
+ signature: z.ZodString;
493
+ }, "strict", z.ZodTypeAny, {
494
+ key_id: string;
495
+ signature: string;
496
+ body: {
497
+ grant_id: string;
498
+ repo_path: string;
499
+ provider_id: "github_comment";
500
+ account_id: string;
501
+ domain: "osstack.follow-up-delivery.v1";
502
+ attempt_id: string;
503
+ destination_digest: string;
504
+ body_sha256: string;
505
+ envelope_digest: string;
506
+ default_tenant: true;
507
+ issued_at_ms: number;
508
+ expires_at_ms: number;
509
+ max_calls: 1;
510
+ };
511
+ }, {
512
+ key_id: string;
513
+ signature: string;
514
+ body: {
515
+ grant_id: string;
516
+ repo_path: string;
517
+ provider_id: "github_comment";
518
+ account_id: string;
519
+ domain: "osstack.follow-up-delivery.v1";
520
+ attempt_id: string;
521
+ destination_digest: string;
522
+ body_sha256: string;
523
+ envelope_digest: string;
524
+ default_tenant: true;
525
+ issued_at_ms: number;
526
+ expires_at_ms: number;
527
+ max_calls: 1;
528
+ };
529
+ }>;
530
+ attempt_id: z.ZodString;
531
+ expected_revision: z.ZodNumber;
532
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
533
+ default_tenant: z.ZodLiteral<true>;
534
+ }, "strict", z.ZodTypeAny, {
535
+ repo_path: string;
536
+ attempt_id: string;
537
+ default_tenant: true;
538
+ expected_revision: number;
539
+ grant: {
540
+ key_id: string;
541
+ signature: string;
542
+ body: {
543
+ grant_id: string;
544
+ repo_path: string;
545
+ provider_id: "github_comment";
546
+ account_id: string;
547
+ domain: "osstack.follow-up-delivery.v1";
548
+ attempt_id: string;
549
+ destination_digest: string;
550
+ body_sha256: string;
551
+ envelope_digest: string;
552
+ default_tenant: true;
553
+ issued_at_ms: number;
554
+ expires_at_ms: number;
555
+ max_calls: 1;
556
+ };
557
+ };
558
+ }, {
559
+ repo_path: string;
560
+ attempt_id: string;
561
+ default_tenant: true;
562
+ expected_revision: number;
563
+ grant: {
564
+ key_id: string;
565
+ signature: string;
566
+ body: {
567
+ grant_id: string;
568
+ repo_path: string;
569
+ provider_id: "github_comment";
570
+ account_id: string;
571
+ domain: "osstack.follow-up-delivery.v1";
572
+ attempt_id: string;
573
+ destination_digest: string;
574
+ body_sha256: string;
575
+ envelope_digest: string;
576
+ default_tenant: true;
577
+ issued_at_ms: number;
578
+ expires_at_ms: number;
579
+ max_calls: 1;
580
+ };
581
+ };
582
+ }>;
583
+ export declare const FollowUpDeliveryRevokeParams: z.ZodObject<{
584
+ reason: z.ZodEffects<z.ZodString, string, string>;
585
+ attempt_id: z.ZodString;
586
+ expected_revision: z.ZodNumber;
587
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
588
+ default_tenant: z.ZodLiteral<true>;
589
+ }, "strict", z.ZodTypeAny, {
590
+ reason: string;
591
+ repo_path: string;
592
+ attempt_id: string;
593
+ default_tenant: true;
594
+ expected_revision: number;
595
+ }, {
596
+ reason: string;
597
+ repo_path: string;
598
+ attempt_id: string;
599
+ default_tenant: true;
600
+ expected_revision: number;
601
+ }>;
602
+ export declare const FollowUpDeliveryInspectParams: z.ZodObject<{
603
+ attempt_id: z.ZodString;
604
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
605
+ default_tenant: z.ZodLiteral<true>;
606
+ }, "strict", z.ZodTypeAny, {
607
+ repo_path: string;
608
+ attempt_id: string;
609
+ default_tenant: true;
610
+ }, {
611
+ repo_path: string;
612
+ attempt_id: string;
613
+ default_tenant: true;
614
+ }>;
615
+ export declare const FollowUpDeliveryListParams: z.ZodObject<{
616
+ limit: z.ZodDefault<z.ZodNumber>;
617
+ after_id: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
618
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
619
+ default_tenant: z.ZodLiteral<true>;
620
+ }, "strict", z.ZodTypeAny, {
621
+ repo_path: string;
622
+ default_tenant: true;
623
+ limit: number;
624
+ after_id?: string | undefined;
625
+ }, {
626
+ repo_path: string;
627
+ default_tenant: true;
628
+ limit?: number | undefined;
629
+ after_id?: string | undefined;
630
+ }>;
631
+ export declare const FollowUpDeliveryAttempt: z.ZodObject<{
632
+ attempt_id: z.ZodString;
633
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
634
+ default_tenant: z.ZodLiteral<true>;
635
+ obligation_id: z.ZodString;
636
+ obligation_revision: z.ZodNumber;
637
+ state: z.ZodEnum<["prepared", "started", "delivered", "delivery_unknown", "definitely_not_sent"]>;
638
+ revision: z.ZodNumber;
639
+ created_at_ms: z.ZodNumber;
640
+ updated_at_ms: z.ZodNumber;
641
+ envelope: z.ZodObject<{
642
+ attempt_id: z.ZodString;
643
+ obligation_id: z.ZodString;
644
+ obligation_revision: z.ZodNumber;
645
+ destination: z.ZodObject<{
646
+ destination_ref: z.ZodString;
647
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
648
+ provider_id: z.ZodLiteral<"github_comment">;
649
+ account_id: z.ZodString;
650
+ host: z.ZodLiteral<"github.com">;
651
+ owner: z.ZodString;
652
+ repository: z.ZodString;
653
+ issue_number: z.ZodNumber;
654
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
655
+ actor_node_id: z.ZodEffects<z.ZodString, string, string>;
656
+ }, "strict", z.ZodTypeAny, {
657
+ owner: string;
658
+ repo_path: string;
659
+ repository: string;
660
+ destination_ref: string;
661
+ provider_id: "github_comment";
662
+ account_id: string;
663
+ host: "github.com";
664
+ issue_number: number;
665
+ target_node_id: string;
666
+ actor_node_id: string;
667
+ }, {
668
+ owner: string;
669
+ repo_path: string;
670
+ repository: string;
671
+ destination_ref: string;
672
+ provider_id: "github_comment";
673
+ account_id: string;
674
+ host: "github.com";
675
+ issue_number: number;
676
+ target_node_id: string;
677
+ actor_node_id: string;
678
+ }>;
679
+ destination_digest: z.ZodString;
680
+ body: z.ZodEffects<z.ZodString, string, string>;
681
+ body_sha256: z.ZodString;
682
+ envelope_digest: z.ZodString;
683
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
684
+ default_tenant: z.ZodLiteral<true>;
685
+ }, "strict", z.ZodTypeAny, {
686
+ repo_path: string;
687
+ attempt_id: string;
688
+ destination_digest: string;
689
+ body_sha256: string;
690
+ envelope_digest: string;
691
+ default_tenant: true;
692
+ body: string;
693
+ obligation_id: string;
694
+ obligation_revision: number;
695
+ destination: {
696
+ owner: string;
697
+ repo_path: string;
698
+ repository: string;
699
+ destination_ref: string;
700
+ provider_id: "github_comment";
701
+ account_id: string;
702
+ host: "github.com";
703
+ issue_number: number;
704
+ target_node_id: string;
705
+ actor_node_id: string;
706
+ };
707
+ }, {
708
+ repo_path: string;
709
+ attempt_id: string;
710
+ destination_digest: string;
711
+ body_sha256: string;
712
+ envelope_digest: string;
713
+ default_tenant: true;
714
+ body: string;
715
+ obligation_id: string;
716
+ obligation_revision: number;
717
+ destination: {
718
+ owner: string;
719
+ repo_path: string;
720
+ repository: string;
721
+ destination_ref: string;
722
+ provider_id: "github_comment";
723
+ account_id: string;
724
+ host: "github.com";
725
+ issue_number: number;
726
+ target_node_id: string;
727
+ actor_node_id: string;
728
+ };
729
+ }>;
730
+ authorization_subject: z.ZodObject<{
731
+ attempt_id: z.ZodString;
732
+ provider_id: z.ZodLiteral<"github_comment">;
733
+ account_id: z.ZodString;
734
+ destination_digest: z.ZodString;
735
+ body_sha256: z.ZodString;
736
+ envelope_digest: z.ZodString;
737
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
738
+ default_tenant: z.ZodLiteral<true>;
739
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
740
+ }, "strict", z.ZodTypeAny, {
741
+ repo_path: string;
742
+ provider_id: "github_comment";
743
+ account_id: string;
744
+ domain: "osstack.follow-up-delivery.v1";
745
+ attempt_id: string;
746
+ destination_digest: string;
747
+ body_sha256: string;
748
+ envelope_digest: string;
749
+ default_tenant: true;
750
+ }, {
751
+ repo_path: string;
752
+ provider_id: "github_comment";
753
+ account_id: string;
754
+ domain: "osstack.follow-up-delivery.v1";
755
+ attempt_id: string;
756
+ destination_digest: string;
757
+ body_sha256: string;
758
+ envelope_digest: string;
759
+ default_tenant: true;
760
+ }>;
761
+ authorization_status: z.ZodEnum<["missing", "active", "consumed", "revoked"]>;
762
+ qualification: z.ZodEnum<["qualification_pending", "test_only", "sandbox_qualified", "production_qualified"]>;
763
+ receipt: z.ZodNullable<z.ZodObject<{
764
+ provider_id: z.ZodLiteral<"github_comment">;
765
+ account_id: z.ZodString;
766
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
767
+ author_node_id: z.ZodEffects<z.ZodString, string, string>;
768
+ destination_digest: z.ZodString;
769
+ body_sha256: z.ZodString;
770
+ attempt_id: z.ZodString;
771
+ provider_message_id: z.ZodEffects<z.ZodString, string, string>;
772
+ provider_request_id: z.ZodEffects<z.ZodString, string, string>;
773
+ }, "strict", z.ZodTypeAny, {
774
+ provider_id: "github_comment";
775
+ account_id: string;
776
+ target_node_id: string;
777
+ attempt_id: string;
778
+ destination_digest: string;
779
+ body_sha256: string;
780
+ author_node_id: string;
781
+ provider_message_id: string;
782
+ provider_request_id: string;
783
+ }, {
784
+ provider_id: "github_comment";
785
+ account_id: string;
786
+ target_node_id: string;
787
+ attempt_id: string;
788
+ destination_digest: string;
789
+ body_sha256: string;
790
+ author_node_id: string;
791
+ provider_message_id: string;
792
+ provider_request_id: string;
793
+ }>>;
794
+ receipt_sha256: z.ZodNullable<z.ZodString>;
795
+ reason: z.ZodNullable<z.ZodString>;
796
+ delivery_uncertain: z.ZodBoolean;
797
+ promise_fulfillment: z.ZodLiteral<"independent_local_obligation">;
798
+ }, "strict", z.ZodTypeAny, {
799
+ reason: string | null;
800
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
801
+ repo_path: string;
802
+ revision: number;
803
+ attempt_id: string;
804
+ default_tenant: true;
805
+ obligation_id: string;
806
+ obligation_revision: number;
807
+ created_at_ms: number;
808
+ updated_at_ms: number;
809
+ envelope: {
810
+ repo_path: string;
811
+ attempt_id: string;
812
+ destination_digest: string;
813
+ body_sha256: string;
814
+ envelope_digest: string;
815
+ default_tenant: true;
816
+ body: string;
817
+ obligation_id: string;
818
+ obligation_revision: number;
819
+ destination: {
820
+ owner: string;
821
+ repo_path: string;
822
+ repository: string;
823
+ destination_ref: string;
824
+ provider_id: "github_comment";
825
+ account_id: string;
826
+ host: "github.com";
827
+ issue_number: number;
828
+ target_node_id: string;
829
+ actor_node_id: string;
830
+ };
831
+ };
832
+ authorization_subject: {
833
+ repo_path: string;
834
+ provider_id: "github_comment";
835
+ account_id: string;
836
+ domain: "osstack.follow-up-delivery.v1";
837
+ attempt_id: string;
838
+ destination_digest: string;
839
+ body_sha256: string;
840
+ envelope_digest: string;
841
+ default_tenant: true;
842
+ };
843
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
844
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
845
+ receipt: {
846
+ provider_id: "github_comment";
847
+ account_id: string;
848
+ target_node_id: string;
849
+ attempt_id: string;
850
+ destination_digest: string;
851
+ body_sha256: string;
852
+ author_node_id: string;
853
+ provider_message_id: string;
854
+ provider_request_id: string;
855
+ } | null;
856
+ receipt_sha256: string | null;
857
+ delivery_uncertain: boolean;
858
+ promise_fulfillment: "independent_local_obligation";
859
+ }, {
860
+ reason: string | null;
861
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
862
+ repo_path: string;
863
+ revision: number;
864
+ attempt_id: string;
865
+ default_tenant: true;
866
+ obligation_id: string;
867
+ obligation_revision: number;
868
+ created_at_ms: number;
869
+ updated_at_ms: number;
870
+ envelope: {
871
+ repo_path: string;
872
+ attempt_id: string;
873
+ destination_digest: string;
874
+ body_sha256: string;
875
+ envelope_digest: string;
876
+ default_tenant: true;
877
+ body: string;
878
+ obligation_id: string;
879
+ obligation_revision: number;
880
+ destination: {
881
+ owner: string;
882
+ repo_path: string;
883
+ repository: string;
884
+ destination_ref: string;
885
+ provider_id: "github_comment";
886
+ account_id: string;
887
+ host: "github.com";
888
+ issue_number: number;
889
+ target_node_id: string;
890
+ actor_node_id: string;
891
+ };
892
+ };
893
+ authorization_subject: {
894
+ repo_path: string;
895
+ provider_id: "github_comment";
896
+ account_id: string;
897
+ domain: "osstack.follow-up-delivery.v1";
898
+ attempt_id: string;
899
+ destination_digest: string;
900
+ body_sha256: string;
901
+ envelope_digest: string;
902
+ default_tenant: true;
903
+ };
904
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
905
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
906
+ receipt: {
907
+ provider_id: "github_comment";
908
+ account_id: string;
909
+ target_node_id: string;
910
+ attempt_id: string;
911
+ destination_digest: string;
912
+ body_sha256: string;
913
+ author_node_id: string;
914
+ provider_message_id: string;
915
+ provider_request_id: string;
916
+ } | null;
917
+ receipt_sha256: string | null;
918
+ delivery_uncertain: boolean;
919
+ promise_fulfillment: "independent_local_obligation";
920
+ }>;
921
+ export type FollowUpDeliveryAttempt = z.infer<typeof FollowUpDeliveryAttempt>;
922
+ export declare const FollowUpDeliveryResult: z.ZodObject<{
923
+ schema_version: z.ZodLiteral<1>;
924
+ outcome: z.ZodEnum<["prepared", "authorized", "revoked", "delivered", "delivery_unknown", "in_flight", "qualification_pending", "unchanged"]>;
925
+ attempt: z.ZodObject<{
926
+ attempt_id: z.ZodString;
927
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
928
+ default_tenant: z.ZodLiteral<true>;
929
+ obligation_id: z.ZodString;
930
+ obligation_revision: z.ZodNumber;
931
+ state: z.ZodEnum<["prepared", "started", "delivered", "delivery_unknown", "definitely_not_sent"]>;
932
+ revision: z.ZodNumber;
933
+ created_at_ms: z.ZodNumber;
934
+ updated_at_ms: z.ZodNumber;
935
+ envelope: z.ZodObject<{
936
+ attempt_id: z.ZodString;
937
+ obligation_id: z.ZodString;
938
+ obligation_revision: z.ZodNumber;
939
+ destination: z.ZodObject<{
940
+ destination_ref: z.ZodString;
941
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
942
+ provider_id: z.ZodLiteral<"github_comment">;
943
+ account_id: z.ZodString;
944
+ host: z.ZodLiteral<"github.com">;
945
+ owner: z.ZodString;
946
+ repository: z.ZodString;
947
+ issue_number: z.ZodNumber;
948
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
949
+ actor_node_id: z.ZodEffects<z.ZodString, string, string>;
950
+ }, "strict", z.ZodTypeAny, {
951
+ owner: string;
952
+ repo_path: string;
953
+ repository: string;
954
+ destination_ref: string;
955
+ provider_id: "github_comment";
956
+ account_id: string;
957
+ host: "github.com";
958
+ issue_number: number;
959
+ target_node_id: string;
960
+ actor_node_id: string;
961
+ }, {
962
+ owner: string;
963
+ repo_path: string;
964
+ repository: string;
965
+ destination_ref: string;
966
+ provider_id: "github_comment";
967
+ account_id: string;
968
+ host: "github.com";
969
+ issue_number: number;
970
+ target_node_id: string;
971
+ actor_node_id: string;
972
+ }>;
973
+ destination_digest: z.ZodString;
974
+ body: z.ZodEffects<z.ZodString, string, string>;
975
+ body_sha256: z.ZodString;
976
+ envelope_digest: z.ZodString;
977
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
978
+ default_tenant: z.ZodLiteral<true>;
979
+ }, "strict", z.ZodTypeAny, {
980
+ repo_path: string;
981
+ attempt_id: string;
982
+ destination_digest: string;
983
+ body_sha256: string;
984
+ envelope_digest: string;
985
+ default_tenant: true;
986
+ body: string;
987
+ obligation_id: string;
988
+ obligation_revision: number;
989
+ destination: {
990
+ owner: string;
991
+ repo_path: string;
992
+ repository: string;
993
+ destination_ref: string;
994
+ provider_id: "github_comment";
995
+ account_id: string;
996
+ host: "github.com";
997
+ issue_number: number;
998
+ target_node_id: string;
999
+ actor_node_id: string;
1000
+ };
1001
+ }, {
1002
+ repo_path: string;
1003
+ attempt_id: string;
1004
+ destination_digest: string;
1005
+ body_sha256: string;
1006
+ envelope_digest: string;
1007
+ default_tenant: true;
1008
+ body: string;
1009
+ obligation_id: string;
1010
+ obligation_revision: number;
1011
+ destination: {
1012
+ owner: string;
1013
+ repo_path: string;
1014
+ repository: string;
1015
+ destination_ref: string;
1016
+ provider_id: "github_comment";
1017
+ account_id: string;
1018
+ host: "github.com";
1019
+ issue_number: number;
1020
+ target_node_id: string;
1021
+ actor_node_id: string;
1022
+ };
1023
+ }>;
1024
+ authorization_subject: z.ZodObject<{
1025
+ attempt_id: z.ZodString;
1026
+ provider_id: z.ZodLiteral<"github_comment">;
1027
+ account_id: z.ZodString;
1028
+ destination_digest: z.ZodString;
1029
+ body_sha256: z.ZodString;
1030
+ envelope_digest: z.ZodString;
1031
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1032
+ default_tenant: z.ZodLiteral<true>;
1033
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
1034
+ }, "strict", z.ZodTypeAny, {
1035
+ repo_path: string;
1036
+ provider_id: "github_comment";
1037
+ account_id: string;
1038
+ domain: "osstack.follow-up-delivery.v1";
1039
+ attempt_id: string;
1040
+ destination_digest: string;
1041
+ body_sha256: string;
1042
+ envelope_digest: string;
1043
+ default_tenant: true;
1044
+ }, {
1045
+ repo_path: string;
1046
+ provider_id: "github_comment";
1047
+ account_id: string;
1048
+ domain: "osstack.follow-up-delivery.v1";
1049
+ attempt_id: string;
1050
+ destination_digest: string;
1051
+ body_sha256: string;
1052
+ envelope_digest: string;
1053
+ default_tenant: true;
1054
+ }>;
1055
+ authorization_status: z.ZodEnum<["missing", "active", "consumed", "revoked"]>;
1056
+ qualification: z.ZodEnum<["qualification_pending", "test_only", "sandbox_qualified", "production_qualified"]>;
1057
+ receipt: z.ZodNullable<z.ZodObject<{
1058
+ provider_id: z.ZodLiteral<"github_comment">;
1059
+ account_id: z.ZodString;
1060
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
1061
+ author_node_id: z.ZodEffects<z.ZodString, string, string>;
1062
+ destination_digest: z.ZodString;
1063
+ body_sha256: z.ZodString;
1064
+ attempt_id: z.ZodString;
1065
+ provider_message_id: z.ZodEffects<z.ZodString, string, string>;
1066
+ provider_request_id: z.ZodEffects<z.ZodString, string, string>;
1067
+ }, "strict", z.ZodTypeAny, {
1068
+ provider_id: "github_comment";
1069
+ account_id: string;
1070
+ target_node_id: string;
1071
+ attempt_id: string;
1072
+ destination_digest: string;
1073
+ body_sha256: string;
1074
+ author_node_id: string;
1075
+ provider_message_id: string;
1076
+ provider_request_id: string;
1077
+ }, {
1078
+ provider_id: "github_comment";
1079
+ account_id: string;
1080
+ target_node_id: string;
1081
+ attempt_id: string;
1082
+ destination_digest: string;
1083
+ body_sha256: string;
1084
+ author_node_id: string;
1085
+ provider_message_id: string;
1086
+ provider_request_id: string;
1087
+ }>>;
1088
+ receipt_sha256: z.ZodNullable<z.ZodString>;
1089
+ reason: z.ZodNullable<z.ZodString>;
1090
+ delivery_uncertain: z.ZodBoolean;
1091
+ promise_fulfillment: z.ZodLiteral<"independent_local_obligation">;
1092
+ }, "strict", z.ZodTypeAny, {
1093
+ reason: string | null;
1094
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1095
+ repo_path: string;
1096
+ revision: number;
1097
+ attempt_id: string;
1098
+ default_tenant: true;
1099
+ obligation_id: string;
1100
+ obligation_revision: number;
1101
+ created_at_ms: number;
1102
+ updated_at_ms: number;
1103
+ envelope: {
1104
+ repo_path: string;
1105
+ attempt_id: string;
1106
+ destination_digest: string;
1107
+ body_sha256: string;
1108
+ envelope_digest: string;
1109
+ default_tenant: true;
1110
+ body: string;
1111
+ obligation_id: string;
1112
+ obligation_revision: number;
1113
+ destination: {
1114
+ owner: string;
1115
+ repo_path: string;
1116
+ repository: string;
1117
+ destination_ref: string;
1118
+ provider_id: "github_comment";
1119
+ account_id: string;
1120
+ host: "github.com";
1121
+ issue_number: number;
1122
+ target_node_id: string;
1123
+ actor_node_id: string;
1124
+ };
1125
+ };
1126
+ authorization_subject: {
1127
+ repo_path: string;
1128
+ provider_id: "github_comment";
1129
+ account_id: string;
1130
+ domain: "osstack.follow-up-delivery.v1";
1131
+ attempt_id: string;
1132
+ destination_digest: string;
1133
+ body_sha256: string;
1134
+ envelope_digest: string;
1135
+ default_tenant: true;
1136
+ };
1137
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1138
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1139
+ receipt: {
1140
+ provider_id: "github_comment";
1141
+ account_id: string;
1142
+ target_node_id: string;
1143
+ attempt_id: string;
1144
+ destination_digest: string;
1145
+ body_sha256: string;
1146
+ author_node_id: string;
1147
+ provider_message_id: string;
1148
+ provider_request_id: string;
1149
+ } | null;
1150
+ receipt_sha256: string | null;
1151
+ delivery_uncertain: boolean;
1152
+ promise_fulfillment: "independent_local_obligation";
1153
+ }, {
1154
+ reason: string | null;
1155
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1156
+ repo_path: string;
1157
+ revision: number;
1158
+ attempt_id: string;
1159
+ default_tenant: true;
1160
+ obligation_id: string;
1161
+ obligation_revision: number;
1162
+ created_at_ms: number;
1163
+ updated_at_ms: number;
1164
+ envelope: {
1165
+ repo_path: string;
1166
+ attempt_id: string;
1167
+ destination_digest: string;
1168
+ body_sha256: string;
1169
+ envelope_digest: string;
1170
+ default_tenant: true;
1171
+ body: string;
1172
+ obligation_id: string;
1173
+ obligation_revision: number;
1174
+ destination: {
1175
+ owner: string;
1176
+ repo_path: string;
1177
+ repository: string;
1178
+ destination_ref: string;
1179
+ provider_id: "github_comment";
1180
+ account_id: string;
1181
+ host: "github.com";
1182
+ issue_number: number;
1183
+ target_node_id: string;
1184
+ actor_node_id: string;
1185
+ };
1186
+ };
1187
+ authorization_subject: {
1188
+ repo_path: string;
1189
+ provider_id: "github_comment";
1190
+ account_id: string;
1191
+ domain: "osstack.follow-up-delivery.v1";
1192
+ attempt_id: string;
1193
+ destination_digest: string;
1194
+ body_sha256: string;
1195
+ envelope_digest: string;
1196
+ default_tenant: true;
1197
+ };
1198
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1199
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1200
+ receipt: {
1201
+ provider_id: "github_comment";
1202
+ account_id: string;
1203
+ target_node_id: string;
1204
+ attempt_id: string;
1205
+ destination_digest: string;
1206
+ body_sha256: string;
1207
+ author_node_id: string;
1208
+ provider_message_id: string;
1209
+ provider_request_id: string;
1210
+ } | null;
1211
+ receipt_sha256: string | null;
1212
+ delivery_uncertain: boolean;
1213
+ promise_fulfillment: "independent_local_obligation";
1214
+ }>;
1215
+ duplicate: z.ZodBoolean;
1216
+ }, "strict", z.ZodTypeAny, {
1217
+ schema_version: 1;
1218
+ outcome: "prepared" | "delivered" | "delivery_unknown" | "revoked" | "qualification_pending" | "authorized" | "in_flight" | "unchanged";
1219
+ attempt: {
1220
+ reason: string | null;
1221
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1222
+ repo_path: string;
1223
+ revision: number;
1224
+ attempt_id: string;
1225
+ default_tenant: true;
1226
+ obligation_id: string;
1227
+ obligation_revision: number;
1228
+ created_at_ms: number;
1229
+ updated_at_ms: number;
1230
+ envelope: {
1231
+ repo_path: string;
1232
+ attempt_id: string;
1233
+ destination_digest: string;
1234
+ body_sha256: string;
1235
+ envelope_digest: string;
1236
+ default_tenant: true;
1237
+ body: string;
1238
+ obligation_id: string;
1239
+ obligation_revision: number;
1240
+ destination: {
1241
+ owner: string;
1242
+ repo_path: string;
1243
+ repository: string;
1244
+ destination_ref: string;
1245
+ provider_id: "github_comment";
1246
+ account_id: string;
1247
+ host: "github.com";
1248
+ issue_number: number;
1249
+ target_node_id: string;
1250
+ actor_node_id: string;
1251
+ };
1252
+ };
1253
+ authorization_subject: {
1254
+ repo_path: string;
1255
+ provider_id: "github_comment";
1256
+ account_id: string;
1257
+ domain: "osstack.follow-up-delivery.v1";
1258
+ attempt_id: string;
1259
+ destination_digest: string;
1260
+ body_sha256: string;
1261
+ envelope_digest: string;
1262
+ default_tenant: true;
1263
+ };
1264
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1265
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1266
+ receipt: {
1267
+ provider_id: "github_comment";
1268
+ account_id: string;
1269
+ target_node_id: string;
1270
+ attempt_id: string;
1271
+ destination_digest: string;
1272
+ body_sha256: string;
1273
+ author_node_id: string;
1274
+ provider_message_id: string;
1275
+ provider_request_id: string;
1276
+ } | null;
1277
+ receipt_sha256: string | null;
1278
+ delivery_uncertain: boolean;
1279
+ promise_fulfillment: "independent_local_obligation";
1280
+ };
1281
+ duplicate: boolean;
1282
+ }, {
1283
+ schema_version: 1;
1284
+ outcome: "prepared" | "delivered" | "delivery_unknown" | "revoked" | "qualification_pending" | "authorized" | "in_flight" | "unchanged";
1285
+ attempt: {
1286
+ reason: string | null;
1287
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1288
+ repo_path: string;
1289
+ revision: number;
1290
+ attempt_id: string;
1291
+ default_tenant: true;
1292
+ obligation_id: string;
1293
+ obligation_revision: number;
1294
+ created_at_ms: number;
1295
+ updated_at_ms: number;
1296
+ envelope: {
1297
+ repo_path: string;
1298
+ attempt_id: string;
1299
+ destination_digest: string;
1300
+ body_sha256: string;
1301
+ envelope_digest: string;
1302
+ default_tenant: true;
1303
+ body: string;
1304
+ obligation_id: string;
1305
+ obligation_revision: number;
1306
+ destination: {
1307
+ owner: string;
1308
+ repo_path: string;
1309
+ repository: string;
1310
+ destination_ref: string;
1311
+ provider_id: "github_comment";
1312
+ account_id: string;
1313
+ host: "github.com";
1314
+ issue_number: number;
1315
+ target_node_id: string;
1316
+ actor_node_id: string;
1317
+ };
1318
+ };
1319
+ authorization_subject: {
1320
+ repo_path: string;
1321
+ provider_id: "github_comment";
1322
+ account_id: string;
1323
+ domain: "osstack.follow-up-delivery.v1";
1324
+ attempt_id: string;
1325
+ destination_digest: string;
1326
+ body_sha256: string;
1327
+ envelope_digest: string;
1328
+ default_tenant: true;
1329
+ };
1330
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1331
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1332
+ receipt: {
1333
+ provider_id: "github_comment";
1334
+ account_id: string;
1335
+ target_node_id: string;
1336
+ attempt_id: string;
1337
+ destination_digest: string;
1338
+ body_sha256: string;
1339
+ author_node_id: string;
1340
+ provider_message_id: string;
1341
+ provider_request_id: string;
1342
+ } | null;
1343
+ receipt_sha256: string | null;
1344
+ delivery_uncertain: boolean;
1345
+ promise_fulfillment: "independent_local_obligation";
1346
+ };
1347
+ duplicate: boolean;
1348
+ }>;
1349
+ export type FollowUpDeliveryResult = z.infer<typeof FollowUpDeliveryResult>;
1350
+ export declare const FollowUpDeliveryListItem: z.ZodObject<Omit<{
1351
+ attempt_id: z.ZodString;
1352
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1353
+ default_tenant: z.ZodLiteral<true>;
1354
+ obligation_id: z.ZodString;
1355
+ obligation_revision: z.ZodNumber;
1356
+ state: z.ZodEnum<["prepared", "started", "delivered", "delivery_unknown", "definitely_not_sent"]>;
1357
+ revision: z.ZodNumber;
1358
+ created_at_ms: z.ZodNumber;
1359
+ updated_at_ms: z.ZodNumber;
1360
+ envelope: z.ZodObject<{
1361
+ attempt_id: z.ZodString;
1362
+ obligation_id: z.ZodString;
1363
+ obligation_revision: z.ZodNumber;
1364
+ destination: z.ZodObject<{
1365
+ destination_ref: z.ZodString;
1366
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1367
+ provider_id: z.ZodLiteral<"github_comment">;
1368
+ account_id: z.ZodString;
1369
+ host: z.ZodLiteral<"github.com">;
1370
+ owner: z.ZodString;
1371
+ repository: z.ZodString;
1372
+ issue_number: z.ZodNumber;
1373
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
1374
+ actor_node_id: z.ZodEffects<z.ZodString, string, string>;
1375
+ }, "strict", z.ZodTypeAny, {
1376
+ owner: string;
1377
+ repo_path: string;
1378
+ repository: string;
1379
+ destination_ref: string;
1380
+ provider_id: "github_comment";
1381
+ account_id: string;
1382
+ host: "github.com";
1383
+ issue_number: number;
1384
+ target_node_id: string;
1385
+ actor_node_id: string;
1386
+ }, {
1387
+ owner: string;
1388
+ repo_path: string;
1389
+ repository: string;
1390
+ destination_ref: string;
1391
+ provider_id: "github_comment";
1392
+ account_id: string;
1393
+ host: "github.com";
1394
+ issue_number: number;
1395
+ target_node_id: string;
1396
+ actor_node_id: string;
1397
+ }>;
1398
+ destination_digest: z.ZodString;
1399
+ body: z.ZodEffects<z.ZodString, string, string>;
1400
+ body_sha256: z.ZodString;
1401
+ envelope_digest: z.ZodString;
1402
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1403
+ default_tenant: z.ZodLiteral<true>;
1404
+ }, "strict", z.ZodTypeAny, {
1405
+ repo_path: string;
1406
+ attempt_id: string;
1407
+ destination_digest: string;
1408
+ body_sha256: string;
1409
+ envelope_digest: string;
1410
+ default_tenant: true;
1411
+ body: string;
1412
+ obligation_id: string;
1413
+ obligation_revision: number;
1414
+ destination: {
1415
+ owner: string;
1416
+ repo_path: string;
1417
+ repository: string;
1418
+ destination_ref: string;
1419
+ provider_id: "github_comment";
1420
+ account_id: string;
1421
+ host: "github.com";
1422
+ issue_number: number;
1423
+ target_node_id: string;
1424
+ actor_node_id: string;
1425
+ };
1426
+ }, {
1427
+ repo_path: string;
1428
+ attempt_id: string;
1429
+ destination_digest: string;
1430
+ body_sha256: string;
1431
+ envelope_digest: string;
1432
+ default_tenant: true;
1433
+ body: string;
1434
+ obligation_id: string;
1435
+ obligation_revision: number;
1436
+ destination: {
1437
+ owner: string;
1438
+ repo_path: string;
1439
+ repository: string;
1440
+ destination_ref: string;
1441
+ provider_id: "github_comment";
1442
+ account_id: string;
1443
+ host: "github.com";
1444
+ issue_number: number;
1445
+ target_node_id: string;
1446
+ actor_node_id: string;
1447
+ };
1448
+ }>;
1449
+ authorization_subject: z.ZodObject<{
1450
+ attempt_id: z.ZodString;
1451
+ provider_id: z.ZodLiteral<"github_comment">;
1452
+ account_id: z.ZodString;
1453
+ destination_digest: z.ZodString;
1454
+ body_sha256: z.ZodString;
1455
+ envelope_digest: z.ZodString;
1456
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1457
+ default_tenant: z.ZodLiteral<true>;
1458
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
1459
+ }, "strict", z.ZodTypeAny, {
1460
+ repo_path: string;
1461
+ provider_id: "github_comment";
1462
+ account_id: string;
1463
+ domain: "osstack.follow-up-delivery.v1";
1464
+ attempt_id: string;
1465
+ destination_digest: string;
1466
+ body_sha256: string;
1467
+ envelope_digest: string;
1468
+ default_tenant: true;
1469
+ }, {
1470
+ repo_path: string;
1471
+ provider_id: "github_comment";
1472
+ account_id: string;
1473
+ domain: "osstack.follow-up-delivery.v1";
1474
+ attempt_id: string;
1475
+ destination_digest: string;
1476
+ body_sha256: string;
1477
+ envelope_digest: string;
1478
+ default_tenant: true;
1479
+ }>;
1480
+ authorization_status: z.ZodEnum<["missing", "active", "consumed", "revoked"]>;
1481
+ qualification: z.ZodEnum<["qualification_pending", "test_only", "sandbox_qualified", "production_qualified"]>;
1482
+ receipt: z.ZodNullable<z.ZodObject<{
1483
+ provider_id: z.ZodLiteral<"github_comment">;
1484
+ account_id: z.ZodString;
1485
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
1486
+ author_node_id: z.ZodEffects<z.ZodString, string, string>;
1487
+ destination_digest: z.ZodString;
1488
+ body_sha256: z.ZodString;
1489
+ attempt_id: z.ZodString;
1490
+ provider_message_id: z.ZodEffects<z.ZodString, string, string>;
1491
+ provider_request_id: z.ZodEffects<z.ZodString, string, string>;
1492
+ }, "strict", z.ZodTypeAny, {
1493
+ provider_id: "github_comment";
1494
+ account_id: string;
1495
+ target_node_id: string;
1496
+ attempt_id: string;
1497
+ destination_digest: string;
1498
+ body_sha256: string;
1499
+ author_node_id: string;
1500
+ provider_message_id: string;
1501
+ provider_request_id: string;
1502
+ }, {
1503
+ provider_id: "github_comment";
1504
+ account_id: string;
1505
+ target_node_id: string;
1506
+ attempt_id: string;
1507
+ destination_digest: string;
1508
+ body_sha256: string;
1509
+ author_node_id: string;
1510
+ provider_message_id: string;
1511
+ provider_request_id: string;
1512
+ }>>;
1513
+ receipt_sha256: z.ZodNullable<z.ZodString>;
1514
+ reason: z.ZodNullable<z.ZodString>;
1515
+ delivery_uncertain: z.ZodBoolean;
1516
+ promise_fulfillment: z.ZodLiteral<"independent_local_obligation">;
1517
+ }, "envelope" | "authorization_subject" | "receipt"> & {
1518
+ destination_ref: z.ZodString;
1519
+ body_sha256: z.ZodString;
1520
+ }, "strict", z.ZodTypeAny, {
1521
+ reason: string | null;
1522
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1523
+ repo_path: string;
1524
+ revision: number;
1525
+ destination_ref: string;
1526
+ attempt_id: string;
1527
+ body_sha256: string;
1528
+ default_tenant: true;
1529
+ obligation_id: string;
1530
+ obligation_revision: number;
1531
+ created_at_ms: number;
1532
+ updated_at_ms: number;
1533
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1534
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1535
+ receipt_sha256: string | null;
1536
+ delivery_uncertain: boolean;
1537
+ promise_fulfillment: "independent_local_obligation";
1538
+ }, {
1539
+ reason: string | null;
1540
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1541
+ repo_path: string;
1542
+ revision: number;
1543
+ destination_ref: string;
1544
+ attempt_id: string;
1545
+ body_sha256: string;
1546
+ default_tenant: true;
1547
+ obligation_id: string;
1548
+ obligation_revision: number;
1549
+ created_at_ms: number;
1550
+ updated_at_ms: number;
1551
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1552
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1553
+ receipt_sha256: string | null;
1554
+ delivery_uncertain: boolean;
1555
+ promise_fulfillment: "independent_local_obligation";
1556
+ }>;
1557
+ export declare const FollowUpDeliveryListResult: z.ZodObject<{
1558
+ schema_version: z.ZodLiteral<1>;
1559
+ scope: z.ZodObject<{
1560
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1561
+ default_tenant: z.ZodLiteral<true>;
1562
+ }, "strict", z.ZodTypeAny, {
1563
+ repo_path: string;
1564
+ default_tenant: true;
1565
+ }, {
1566
+ repo_path: string;
1567
+ default_tenant: true;
1568
+ }>;
1569
+ attempts: z.ZodArray<z.ZodObject<Omit<{
1570
+ attempt_id: z.ZodString;
1571
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1572
+ default_tenant: z.ZodLiteral<true>;
1573
+ obligation_id: z.ZodString;
1574
+ obligation_revision: z.ZodNumber;
1575
+ state: z.ZodEnum<["prepared", "started", "delivered", "delivery_unknown", "definitely_not_sent"]>;
1576
+ revision: z.ZodNumber;
1577
+ created_at_ms: z.ZodNumber;
1578
+ updated_at_ms: z.ZodNumber;
1579
+ envelope: z.ZodObject<{
1580
+ attempt_id: z.ZodString;
1581
+ obligation_id: z.ZodString;
1582
+ obligation_revision: z.ZodNumber;
1583
+ destination: z.ZodObject<{
1584
+ destination_ref: z.ZodString;
1585
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1586
+ provider_id: z.ZodLiteral<"github_comment">;
1587
+ account_id: z.ZodString;
1588
+ host: z.ZodLiteral<"github.com">;
1589
+ owner: z.ZodString;
1590
+ repository: z.ZodString;
1591
+ issue_number: z.ZodNumber;
1592
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
1593
+ actor_node_id: z.ZodEffects<z.ZodString, string, string>;
1594
+ }, "strict", z.ZodTypeAny, {
1595
+ owner: string;
1596
+ repo_path: string;
1597
+ repository: string;
1598
+ destination_ref: string;
1599
+ provider_id: "github_comment";
1600
+ account_id: string;
1601
+ host: "github.com";
1602
+ issue_number: number;
1603
+ target_node_id: string;
1604
+ actor_node_id: string;
1605
+ }, {
1606
+ owner: string;
1607
+ repo_path: string;
1608
+ repository: string;
1609
+ destination_ref: string;
1610
+ provider_id: "github_comment";
1611
+ account_id: string;
1612
+ host: "github.com";
1613
+ issue_number: number;
1614
+ target_node_id: string;
1615
+ actor_node_id: string;
1616
+ }>;
1617
+ destination_digest: z.ZodString;
1618
+ body: z.ZodEffects<z.ZodString, string, string>;
1619
+ body_sha256: z.ZodString;
1620
+ envelope_digest: z.ZodString;
1621
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1622
+ default_tenant: z.ZodLiteral<true>;
1623
+ }, "strict", z.ZodTypeAny, {
1624
+ repo_path: string;
1625
+ attempt_id: string;
1626
+ destination_digest: string;
1627
+ body_sha256: string;
1628
+ envelope_digest: string;
1629
+ default_tenant: true;
1630
+ body: string;
1631
+ obligation_id: string;
1632
+ obligation_revision: number;
1633
+ destination: {
1634
+ owner: string;
1635
+ repo_path: string;
1636
+ repository: string;
1637
+ destination_ref: string;
1638
+ provider_id: "github_comment";
1639
+ account_id: string;
1640
+ host: "github.com";
1641
+ issue_number: number;
1642
+ target_node_id: string;
1643
+ actor_node_id: string;
1644
+ };
1645
+ }, {
1646
+ repo_path: string;
1647
+ attempt_id: string;
1648
+ destination_digest: string;
1649
+ body_sha256: string;
1650
+ envelope_digest: string;
1651
+ default_tenant: true;
1652
+ body: string;
1653
+ obligation_id: string;
1654
+ obligation_revision: number;
1655
+ destination: {
1656
+ owner: string;
1657
+ repo_path: string;
1658
+ repository: string;
1659
+ destination_ref: string;
1660
+ provider_id: "github_comment";
1661
+ account_id: string;
1662
+ host: "github.com";
1663
+ issue_number: number;
1664
+ target_node_id: string;
1665
+ actor_node_id: string;
1666
+ };
1667
+ }>;
1668
+ authorization_subject: z.ZodObject<{
1669
+ attempt_id: z.ZodString;
1670
+ provider_id: z.ZodLiteral<"github_comment">;
1671
+ account_id: z.ZodString;
1672
+ destination_digest: z.ZodString;
1673
+ body_sha256: z.ZodString;
1674
+ envelope_digest: z.ZodString;
1675
+ repo_path: z.ZodEffects<z.ZodString, string, string>;
1676
+ default_tenant: z.ZodLiteral<true>;
1677
+ domain: z.ZodLiteral<"osstack.follow-up-delivery.v1">;
1678
+ }, "strict", z.ZodTypeAny, {
1679
+ repo_path: string;
1680
+ provider_id: "github_comment";
1681
+ account_id: string;
1682
+ domain: "osstack.follow-up-delivery.v1";
1683
+ attempt_id: string;
1684
+ destination_digest: string;
1685
+ body_sha256: string;
1686
+ envelope_digest: string;
1687
+ default_tenant: true;
1688
+ }, {
1689
+ repo_path: string;
1690
+ provider_id: "github_comment";
1691
+ account_id: string;
1692
+ domain: "osstack.follow-up-delivery.v1";
1693
+ attempt_id: string;
1694
+ destination_digest: string;
1695
+ body_sha256: string;
1696
+ envelope_digest: string;
1697
+ default_tenant: true;
1698
+ }>;
1699
+ authorization_status: z.ZodEnum<["missing", "active", "consumed", "revoked"]>;
1700
+ qualification: z.ZodEnum<["qualification_pending", "test_only", "sandbox_qualified", "production_qualified"]>;
1701
+ receipt: z.ZodNullable<z.ZodObject<{
1702
+ provider_id: z.ZodLiteral<"github_comment">;
1703
+ account_id: z.ZodString;
1704
+ target_node_id: z.ZodEffects<z.ZodString, string, string>;
1705
+ author_node_id: z.ZodEffects<z.ZodString, string, string>;
1706
+ destination_digest: z.ZodString;
1707
+ body_sha256: z.ZodString;
1708
+ attempt_id: z.ZodString;
1709
+ provider_message_id: z.ZodEffects<z.ZodString, string, string>;
1710
+ provider_request_id: z.ZodEffects<z.ZodString, string, string>;
1711
+ }, "strict", z.ZodTypeAny, {
1712
+ provider_id: "github_comment";
1713
+ account_id: string;
1714
+ target_node_id: string;
1715
+ attempt_id: string;
1716
+ destination_digest: string;
1717
+ body_sha256: string;
1718
+ author_node_id: string;
1719
+ provider_message_id: string;
1720
+ provider_request_id: string;
1721
+ }, {
1722
+ provider_id: "github_comment";
1723
+ account_id: string;
1724
+ target_node_id: string;
1725
+ attempt_id: string;
1726
+ destination_digest: string;
1727
+ body_sha256: string;
1728
+ author_node_id: string;
1729
+ provider_message_id: string;
1730
+ provider_request_id: string;
1731
+ }>>;
1732
+ receipt_sha256: z.ZodNullable<z.ZodString>;
1733
+ reason: z.ZodNullable<z.ZodString>;
1734
+ delivery_uncertain: z.ZodBoolean;
1735
+ promise_fulfillment: z.ZodLiteral<"independent_local_obligation">;
1736
+ }, "envelope" | "authorization_subject" | "receipt"> & {
1737
+ destination_ref: z.ZodString;
1738
+ body_sha256: z.ZodString;
1739
+ }, "strict", z.ZodTypeAny, {
1740
+ reason: string | null;
1741
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1742
+ repo_path: string;
1743
+ revision: number;
1744
+ destination_ref: string;
1745
+ attempt_id: string;
1746
+ body_sha256: string;
1747
+ default_tenant: true;
1748
+ obligation_id: string;
1749
+ obligation_revision: number;
1750
+ created_at_ms: number;
1751
+ updated_at_ms: number;
1752
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1753
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1754
+ receipt_sha256: string | null;
1755
+ delivery_uncertain: boolean;
1756
+ promise_fulfillment: "independent_local_obligation";
1757
+ }, {
1758
+ reason: string | null;
1759
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1760
+ repo_path: string;
1761
+ revision: number;
1762
+ destination_ref: string;
1763
+ attempt_id: string;
1764
+ body_sha256: string;
1765
+ default_tenant: true;
1766
+ obligation_id: string;
1767
+ obligation_revision: number;
1768
+ created_at_ms: number;
1769
+ updated_at_ms: number;
1770
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1771
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1772
+ receipt_sha256: string | null;
1773
+ delivery_uncertain: boolean;
1774
+ promise_fulfillment: "independent_local_obligation";
1775
+ }>, "many">;
1776
+ next_after_id: z.ZodNullable<z.ZodString>;
1777
+ }, "strict", z.ZodTypeAny, {
1778
+ schema_version: 1;
1779
+ scope: {
1780
+ repo_path: string;
1781
+ default_tenant: true;
1782
+ };
1783
+ attempts: {
1784
+ reason: string | null;
1785
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1786
+ repo_path: string;
1787
+ revision: number;
1788
+ destination_ref: string;
1789
+ attempt_id: string;
1790
+ body_sha256: string;
1791
+ default_tenant: true;
1792
+ obligation_id: string;
1793
+ obligation_revision: number;
1794
+ created_at_ms: number;
1795
+ updated_at_ms: number;
1796
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1797
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1798
+ receipt_sha256: string | null;
1799
+ delivery_uncertain: boolean;
1800
+ promise_fulfillment: "independent_local_obligation";
1801
+ }[];
1802
+ next_after_id: string | null;
1803
+ }, {
1804
+ schema_version: 1;
1805
+ scope: {
1806
+ repo_path: string;
1807
+ default_tenant: true;
1808
+ };
1809
+ attempts: {
1810
+ reason: string | null;
1811
+ state: "prepared" | "started" | "delivered" | "delivery_unknown" | "definitely_not_sent";
1812
+ repo_path: string;
1813
+ revision: number;
1814
+ destination_ref: string;
1815
+ attempt_id: string;
1816
+ body_sha256: string;
1817
+ default_tenant: true;
1818
+ obligation_id: string;
1819
+ obligation_revision: number;
1820
+ created_at_ms: number;
1821
+ updated_at_ms: number;
1822
+ authorization_status: "missing" | "active" | "consumed" | "revoked";
1823
+ qualification: "qualification_pending" | "test_only" | "sandbox_qualified" | "production_qualified";
1824
+ receipt_sha256: string | null;
1825
+ delivery_uncertain: boolean;
1826
+ promise_fulfillment: "independent_local_obligation";
1827
+ }[];
1828
+ next_after_id: string | null;
1829
+ }>;
1830
+ export type FollowUpDeliveryListResult = z.infer<typeof FollowUpDeliveryListResult>;
1831
+ //# sourceMappingURL=follow-up-delivery.d.ts.map