@greatwait/contracts 0.1.0-alpha.5 → 0.1.0-alpha.7
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/authority.d.ts +4 -1
- package/dist/authority.js +1 -0
- package/dist/billing.d.ts +11 -10
- package/dist/billing.js +7 -4
- package/dist/data-export.d.ts +2 -0
- package/dist/delivery.d.ts +43 -40
- package/dist/delivery.js +14 -37
- package/dist/effective-limits.d.ts +4 -4
- package/dist/endpoints.d.ts +173 -5
- package/dist/endpoints.js +72 -1
- package/dist/first-value-journey.js +4 -4
- package/dist/http-request.d.ts +193 -0
- package/dist/http-request.js +305 -0
- package/dist/identity.d.ts +7 -7
- package/dist/index.d.ts +6 -3
- package/dist/index.js +5 -2
- package/dist/mcp.d.ts +2 -1
- package/dist/members.d.ts +141 -0
- package/dist/members.js +223 -0
- package/dist/oauth.d.ts +7 -0
- package/dist/operation-definitions.d.ts +20 -4
- package/dist/operation-definitions.js +9 -1
- package/dist/operations.d.ts +999 -135
- package/dist/operations.js +83 -10
- package/dist/organization-lifecycle.d.ts +10 -0
- package/dist/policy.js +5 -2
- package/dist/scheduling-records.d.ts +332 -8
- package/dist/scheduling-records.js +5 -0
- package/dist/scheduling.d.ts +485 -18
- package/dist/scheduling.js +77 -5
- package/dist/secrets.d.ts +7 -0
- package/dist/signatures.d.ts +1 -1
- package/dist/tenancy.d.ts +1 -1
- package/dist/tenancy.js +1 -1
- package/dist/test-sink.d.ts +27 -41
- package/dist/test-sink.js +12 -31
- package/dist/zod-values.d.ts +2 -2
- package/dist/zod-values.js +1 -1
- package/generated/v1/callback-receiver.json +4 -4
- package/generated/v1/examples/endpoints.ensure.request.json +3 -0
- package/generated/v1/examples/endpoints.ensure.response.json +20 -0
- package/generated/v1/examples/invitations.create.request.json +5 -0
- package/generated/v1/examples/invitations.create.response.json +7 -0
- package/generated/v1/examples/invitations.list.response.json +11 -0
- package/generated/v1/examples/invitations.resend.request.json +1 -0
- package/generated/v1/examples/invitations.resend.response.json +4 -0
- package/generated/v1/examples/invitations.revoke.request.json +3 -0
- package/generated/v1/examples/invitations.revoke.response.json +4 -0
- package/generated/v1/examples/members.list.response.json +13 -0
- package/generated/v1/examples/members.remove.request.json +3 -0
- package/generated/v1/examples/members.remove.response.json +4 -0
- package/generated/v1/examples/members.role.request.json +3 -0
- package/generated/v1/examples/members.role.response.json +4 -0
- package/generated/v1/examples/projectmembers.add.request.json +1 -0
- package/generated/v1/examples/projectmembers.add.response.json +4 -0
- package/generated/v1/examples/projectmembers.remove.request.json +3 -0
- package/generated/v1/examples/projectmembers.remove.response.json +4 -0
- package/generated/v1/first-value-journey.json +4 -4
- package/generated/v1/manifest.json +284 -0
- package/generated/v1/openapi.json +9387 -1021
- package/generated/v1/policy-matrix.json +72 -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 +16 -6
- package/generated/v1/schemas/context.read.response.json +1 -0
- package/generated/v1/schemas/credentials.connection.response.json +1 -0
- package/generated/v1/schemas/credentials.create.request.json +1 -0
- package/generated/v1/schemas/credentials.create.response.json +1 -0
- package/generated/v1/schemas/credentials.list.response.json +1 -0
- package/generated/v1/schemas/credentials.revoke.response.json +1 -0
- package/generated/v1/schemas/credentials.rotate.response.json +2 -0
- package/generated/v1/schemas/endpoints.acknowledgeSigningKeyRotation.response.json +59 -0
- package/generated/v1/schemas/endpoints.create.request.json +74 -0
- package/generated/v1/schemas/endpoints.create.response.json +59 -0
- package/generated/v1/schemas/endpoints.disable.response.json +59 -0
- package/generated/v1/schemas/endpoints.enable.response.json +59 -0
- package/generated/v1/schemas/endpoints.ensure.request.json +91 -0
- package/generated/v1/schemas/endpoints.ensure.response.json +169 -0
- package/generated/v1/schemas/endpoints.list.response.json +59 -0
- package/generated/v1/schemas/endpoints.read.response.json +59 -0
- package/generated/v1/schemas/endpoints.rotateSigningKey.response.json +59 -0
- package/generated/v1/schemas/endpoints.update.request.json +74 -0
- package/generated/v1/schemas/endpoints.update.response.json +59 -0
- package/generated/v1/schemas/grants.list.response.json +1 -0
- package/generated/v1/schemas/grants.revoke.response.json +1 -0
- package/generated/v1/schemas/invitations.create.request-headers.json +13 -0
- package/generated/v1/schemas/invitations.create.request.json +24 -0
- package/generated/v1/schemas/invitations.create.response.json +31 -0
- package/generated/v1/schemas/invitations.list.response.json +40 -0
- package/generated/v1/schemas/invitations.resend.request-headers.json +13 -0
- package/generated/v1/schemas/invitations.resend.request.json +6 -0
- package/generated/v1/schemas/invitations.resend.response.json +27 -0
- package/generated/v1/schemas/invitations.revoke.request-headers.json +13 -0
- package/generated/v1/schemas/invitations.revoke.request.json +12 -0
- package/generated/v1/schemas/invitations.revoke.response.json +27 -0
- package/generated/v1/schemas/members.list.response.json +53 -0
- package/generated/v1/schemas/members.remove.request-headers.json +13 -0
- package/generated/v1/schemas/members.remove.request.json +12 -0
- package/generated/v1/schemas/members.remove.response.json +27 -0
- package/generated/v1/schemas/members.role.request-headers.json +13 -0
- package/generated/v1/schemas/members.role.request.json +12 -0
- package/generated/v1/schemas/members.role.response.json +27 -0
- package/generated/v1/schemas/occurrences.redeliver.response.json +105 -0
- package/generated/v1/schemas/projectmembers.add.request-headers.json +13 -0
- package/generated/v1/schemas/projectmembers.add.request.json +6 -0
- package/generated/v1/schemas/projectmembers.add.response.json +27 -0
- package/generated/v1/schemas/projectmembers.remove.request-headers.json +13 -0
- package/generated/v1/schemas/projectmembers.remove.request.json +12 -0
- package/generated/v1/schemas/projectmembers.remove.response.json +27 -0
- package/generated/v1/schemas/schedules.archive.response.json +188 -1
- package/generated/v1/schemas/schedules.cancel.response.json +188 -1
- package/generated/v1/schemas/schedules.create.request.json +164 -1
- package/generated/v1/schemas/schedules.create.response.json +206 -1
- package/generated/v1/schemas/schedules.list.response.json +188 -1
- package/generated/v1/schemas/schedules.pause.response.json +188 -1
- package/generated/v1/schemas/schedules.read.response.json +188 -1
- package/generated/v1/schemas/schedules.replace.request.json +164 -1
- package/generated/v1/schemas/schedules.replace.response.json +206 -1
- package/generated/v1/schemas/schedules.resume.response.json +188 -1
- package/generated/v1/snippets/endpoints.create.json +1 -1
- package/generated/v1/snippets/endpoints.ensure.json +6 -0
- package/generated/v1/snippets/invitations.create.json +6 -0
- package/generated/v1/snippets/invitations.list.json +6 -0
- package/generated/v1/snippets/invitations.resend.json +6 -0
- package/generated/v1/snippets/invitations.revoke.json +6 -0
- package/generated/v1/snippets/journey/create-destination.json +1 -1
- package/generated/v1/snippets/members.list.json +6 -0
- package/generated/v1/snippets/members.remove.json +6 -0
- package/generated/v1/snippets/members.role.json +6 -0
- package/generated/v1/snippets/projectmembers.add.json +6 -0
- package/generated/v1/snippets/projectmembers.remove.json +6 -0
- package/package.json +1 -1
package/dist/operations.d.ts
CHANGED
|
@@ -161,6 +161,15 @@ export interface OperationDefinition {
|
|
|
161
161
|
* scopes every call needs. Generators publish them for consent clients.
|
|
162
162
|
*/
|
|
163
163
|
readonly conditionalScopes?: readonly Scope[];
|
|
164
|
+
/**
|
|
165
|
+
* When `conditionalScopes` apply, as the clause the published description
|
|
166
|
+
* ends with ("… is required as well when …"). Absent means the original
|
|
167
|
+
* case: a target the caller did not create. W9-44 added the second case — a
|
|
168
|
+
* schedule write naming a `url` with no endpoint behind it — and a document
|
|
169
|
+
* describing it with the credential wording would send an integrator
|
|
170
|
+
* looking for somebody else's resource.
|
|
171
|
+
*/
|
|
172
|
+
readonly conditionalScopesWhen?: string;
|
|
164
173
|
/** Problem codes this operation may return, beyond the universal ones. */
|
|
165
174
|
readonly problems: readonly ProblemCode[];
|
|
166
175
|
/**
|
|
@@ -303,7 +312,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
303
312
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
304
313
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
305
314
|
}, import("zod/v4/core").$strip>;
|
|
306
|
-
readonly response: import("zod").ZodObject<{
|
|
315
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
307
316
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
308
317
|
createdAt: import("zod").ZodString;
|
|
309
318
|
credit: import("zod").ZodObject<{
|
|
@@ -318,16 +327,16 @@ export declare const OPERATIONS: readonly [{
|
|
|
318
327
|
}, import("zod/v4/core").$strip>>;
|
|
319
328
|
id: import("zod").ZodString;
|
|
320
329
|
kind: import("zod").ZodEnum<{
|
|
321
|
-
manual: "manual";
|
|
322
330
|
automatic: "automatic";
|
|
331
|
+
manual: "manual";
|
|
323
332
|
}>;
|
|
324
333
|
paymentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
325
334
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
326
335
|
receiptUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
327
336
|
state: import("zod").ZodEnum<{
|
|
337
|
+
failed: "failed";
|
|
328
338
|
pending: "pending";
|
|
329
339
|
paid: "paid";
|
|
330
|
-
failed: "failed";
|
|
331
340
|
"authentication-required": "authentication-required";
|
|
332
341
|
"action-required": "action-required";
|
|
333
342
|
canceled: "canceled";
|
|
@@ -354,7 +363,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
354
363
|
lagSeconds: import("zod").ZodNumber;
|
|
355
364
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
356
365
|
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
357
|
-
}, import("zod/v4/core").$strict
|
|
366
|
+
}, import("zod/v4/core").$strict>;
|
|
358
367
|
readonly scopes: readonly ["usage:read"];
|
|
359
368
|
readonly sessionAuthority: "headers";
|
|
360
369
|
readonly summary: "" | "Page execution-credit payments";
|
|
@@ -387,7 +396,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
387
396
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
388
397
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
389
398
|
}, import("zod/v4/core").$strip>;
|
|
390
|
-
readonly response: import("zod").ZodObject<{
|
|
399
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
391
400
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
392
401
|
id: import("zod").ZodString;
|
|
393
402
|
createdAt: import("zod").ZodString;
|
|
@@ -412,25 +421,87 @@ export declare const OPERATIONS: readonly [{
|
|
|
412
421
|
lagSeconds: import("zod").ZodNumber;
|
|
413
422
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
414
423
|
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
415
|
-
}, import("zod/v4/core").$strict
|
|
424
|
+
}, import("zod/v4/core").$strict>;
|
|
416
425
|
readonly scopes: readonly ["usage:read"];
|
|
417
426
|
readonly sessionAuthority: "headers";
|
|
418
427
|
readonly summary: "" | "Page project subscription invoices";
|
|
419
428
|
readonly surfaces: readonly ["api", "mock"];
|
|
420
429
|
}, OperationDefinition & {
|
|
421
430
|
readonly id: "exports.create";
|
|
431
|
+
} & {
|
|
432
|
+
readonly request: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
422
433
|
}, OperationDefinition & {
|
|
423
434
|
readonly id: "exports.read";
|
|
424
435
|
}, OperationDefinition & {
|
|
425
436
|
readonly id: "exports.part";
|
|
426
437
|
}, OperationDefinition & {
|
|
427
438
|
readonly id: "exports.cancel";
|
|
439
|
+
}, OperationDefinition & {
|
|
440
|
+
readonly id: "members.list";
|
|
441
|
+
}, OperationDefinition & {
|
|
442
|
+
readonly id: "invitations.list";
|
|
443
|
+
}, OperationDefinition & {
|
|
444
|
+
readonly id: "invitations.create";
|
|
445
|
+
} & {
|
|
446
|
+
readonly request: import("zod").ZodObject<{
|
|
447
|
+
email: import("zod").ZodString;
|
|
448
|
+
role: import("zod").ZodEnum<{
|
|
449
|
+
admin: "admin";
|
|
450
|
+
member: "member";
|
|
451
|
+
}>;
|
|
452
|
+
projects: import("zod").ZodArray<import("zod").ZodString>;
|
|
453
|
+
}, import("zod/v4/core").$strict>;
|
|
454
|
+
}, OperationDefinition & {
|
|
455
|
+
readonly id: "invitations.resend";
|
|
456
|
+
} & {
|
|
457
|
+
readonly request: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
458
|
+
}, OperationDefinition & {
|
|
459
|
+
readonly id: "invitations.revoke";
|
|
460
|
+
} & {
|
|
461
|
+
readonly request: import("zod").ZodObject<{
|
|
462
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
463
|
+
}, import("zod/v4/core").$strict>;
|
|
464
|
+
}, OperationDefinition & {
|
|
465
|
+
readonly id: "members.role";
|
|
466
|
+
} & {
|
|
467
|
+
readonly request: import("zod").ZodObject<{
|
|
468
|
+
role: import("zod").ZodEnum<{
|
|
469
|
+
admin: "admin";
|
|
470
|
+
member: "member";
|
|
471
|
+
}>;
|
|
472
|
+
}, import("zod/v4/core").$strict>;
|
|
473
|
+
}, OperationDefinition & {
|
|
474
|
+
readonly id: "members.remove";
|
|
475
|
+
} & {
|
|
476
|
+
readonly request: import("zod").ZodObject<{
|
|
477
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
478
|
+
}, import("zod/v4/core").$strict>;
|
|
479
|
+
}, OperationDefinition & {
|
|
480
|
+
readonly id: "projectmembers.add";
|
|
481
|
+
} & {
|
|
482
|
+
readonly request: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
483
|
+
}, OperationDefinition & {
|
|
484
|
+
readonly id: "projectmembers.remove";
|
|
485
|
+
} & {
|
|
486
|
+
readonly request: import("zod").ZodObject<{
|
|
487
|
+
confirmed: import("zod").ZodLiteral<true>;
|
|
488
|
+
}, import("zod/v4/core").$strict>;
|
|
428
489
|
}, OperationDefinition & {
|
|
429
490
|
readonly id: "organizations.lifecycle";
|
|
430
491
|
}, OperationDefinition & {
|
|
431
492
|
readonly id: "organizations.close";
|
|
493
|
+
} & {
|
|
494
|
+
readonly request: import("zod").ZodObject<{
|
|
495
|
+
expectedGeneration: import("zod").ZodNumber;
|
|
496
|
+
immediate: import("zod").ZodBoolean;
|
|
497
|
+
confirmation: import("zod").ZodLiteral<"delete organization">;
|
|
498
|
+
}, import("zod/v4/core").$strict>;
|
|
432
499
|
}, OperationDefinition & {
|
|
433
500
|
readonly id: "organizations.restore";
|
|
501
|
+
} & {
|
|
502
|
+
readonly request: import("zod").ZodObject<{
|
|
503
|
+
expectedGeneration: import("zod").ZodNumber;
|
|
504
|
+
}, import("zod/v4/core").$strict>;
|
|
434
505
|
}, {
|
|
435
506
|
readonly creates: false;
|
|
436
507
|
readonly description: "" | "Reports the service, environment, and build the request reached. Unauthenticated: it carries no customer data and is used by canaries and deployment smoke checks.";
|
|
@@ -585,7 +656,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
585
656
|
readonly surfaces: readonly ["mock"];
|
|
586
657
|
}, {
|
|
587
658
|
readonly creates: true;
|
|
588
|
-
readonly description: "" | "Creates a reusable callback endpoint in the caller's project and environment. The destination must be HTTPS on effective port 443, contain no URL credentials or fragment, and resolve only to public unicast addresses. The endpoint is active and usable the moment it exists; there is nothing to verify. A disabled endpoint is never delivered to, and a schedule write naming one answers not_found, because disabling is terminal rather than a state to recover from. The per-endpoint secret is returned to this call and to no other call an API credential or an OAuth token can make; a signed-in member can read it again through endpoints.revealSigningSecret. There is no endpoint-count ceiling. Disabled endpoints remain readable for audit; request and DNS inspection admission bound creation work and reads are paged.";
|
|
659
|
+
readonly description: "" | "Creates a reusable callback endpoint in the caller's project and environment. The destination must be HTTPS on effective port 443, contain no URL credentials or fragment, and resolve only to public unicast addresses. The endpoint is active and usable the moment it exists; there is nothing to verify. A disabled endpoint is never delivered to, and a schedule write naming one answers not_found, because disabling is terminal rather than a state to recover from. The per-endpoint secret is returned to this call and to no other call an API credential or an OAuth token can make; a signed-in member can read it again through endpoints.revealSigningSecret. There is no endpoint-count ceiling. Disabled endpoints remain readable for audit; request and DNS inspection admission bound creation work and reads are paged. Optional `headers` set reusable defaults. Ordinary values remain readable; `secret: true` encrypts a write-only value that is never returned. Header edits use explicit `set`, `keep`, and `remove` actions.";
|
|
589
660
|
readonly example: {
|
|
590
661
|
createdAt?: never;
|
|
591
662
|
environmentKind?: never;
|
|
@@ -619,7 +690,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
619
690
|
readonly idempotent: false;
|
|
620
691
|
readonly mcp: {
|
|
621
692
|
readonly kind: "unavailable";
|
|
622
|
-
readonly reason: "Creation returns a one-time endpoint signing secret, and MCP has no negotiated secure-result channel that can keep it out of ordinary tool history.";
|
|
693
|
+
readonly reason: "Creation returns a one-time endpoint signing secret, and MCP has no negotiated secure-result channel that can keep it out of ordinary tool history. Agents use endpoints_ensure, or schedules_create with a `url`, which create an endpoint without returning its secret.";
|
|
623
694
|
};
|
|
624
695
|
readonly method: "POST";
|
|
625
696
|
readonly mutates: true;
|
|
@@ -627,6 +698,21 @@ export declare const OPERATIONS: readonly [{
|
|
|
627
698
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
628
699
|
readonly problems: readonly ["state_conflict", "invalid_request", "plan_limit_reached", "rate_limited"];
|
|
629
700
|
readonly request: import("zod").ZodObject<{
|
|
701
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
702
|
+
action: import("zod").ZodLiteral<"set">;
|
|
703
|
+
name: import("zod").ZodString;
|
|
704
|
+
value: import("zod").ZodString;
|
|
705
|
+
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
706
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
707
|
+
action: import("zod").ZodLiteral<"keep">;
|
|
708
|
+
name: import("zod").ZodString;
|
|
709
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
710
|
+
action: import("zod").ZodLiteral<"remove">;
|
|
711
|
+
name: import("zod").ZodString;
|
|
712
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
713
|
+
action: import("zod").ZodLiteral<"suppress">;
|
|
714
|
+
name: import("zod").ZodString;
|
|
715
|
+
}, import("zod/v4/core").$strict>], "action">>>;
|
|
630
716
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
631
717
|
url: import("zod").ZodString;
|
|
632
718
|
}, import("zod/v4/core").$strip>;
|
|
@@ -636,6 +722,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
636
722
|
url: string;
|
|
637
723
|
};
|
|
638
724
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
725
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
726
|
+
name: import("zod").ZodString;
|
|
727
|
+
secret: import("zod").ZodLiteral<false>;
|
|
728
|
+
value: import("zod").ZodString;
|
|
729
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
730
|
+
name: import("zod").ZodString;
|
|
731
|
+
secret: import("zod").ZodLiteral<true>;
|
|
732
|
+
configured: import("zod").ZodLiteral<true>;
|
|
733
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
734
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
735
|
+
name: import("zod").ZodString;
|
|
736
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
737
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
639
738
|
createdAt: import("zod").ZodString;
|
|
640
739
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
641
740
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -654,8 +753,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
654
753
|
}, import("zod/v4/core").$strip>>;
|
|
655
754
|
}, import("zod/v4/core").$strip>;
|
|
656
755
|
status: import("zod").ZodEnum<{
|
|
657
|
-
disabled: "disabled";
|
|
658
756
|
active: "active";
|
|
757
|
+
disabled: "disabled";
|
|
659
758
|
}>;
|
|
660
759
|
updatedAt: import("zod").ZodString;
|
|
661
760
|
url: import("zod").ZodString;
|
|
@@ -668,6 +767,127 @@ export declare const OPERATIONS: readonly [{
|
|
|
668
767
|
readonly sessionAuthority: "headers";
|
|
669
768
|
readonly summary: "" | "Create a callback endpoint";
|
|
670
769
|
readonly surfaces: readonly ["api", "mock"];
|
|
770
|
+
}, {
|
|
771
|
+
readonly creates: false;
|
|
772
|
+
readonly description: "" | "Finds or creates the callback endpoint at a URL in the caller's project and environment, without returning its signing secret. With no `name`, an existing endpoint that is not disabled at exactly this address is returned unchanged, preferring the one named after its URL; with a `name`, the endpoint must also carry that name. Otherwise one is created under the same rules as endpoints.create — HTTPS on effective port 443, no URL credentials or fragment, resolving only to public unicast addresses — and `created` is true. Optional `headers` apply only to an endpoint this call creates. Sent when the endpoint already exists, they are accepted if they are exactly its ordinary headers — what a retry of the creating call sends — and otherwise refused as `state_conflict` naming it; endpoints.update changes them. A secret value cannot be compared, so a call carrying one is refused for an endpoint that already exists. The result is metadata only: `signingSecret` says that the secret is not returned and where a signed-in member reveals it (`revealUrl`, the endpoint's dashboard page). Every callback is signed with that secret whether or not the receiver checks it. This is the endpoint operation agents use over MCP; endpoints.create, which returns the secret once, is withheld there.";
|
|
773
|
+
readonly example: {
|
|
774
|
+
created?: never;
|
|
775
|
+
createdAt?: never;
|
|
776
|
+
environmentKind?: never;
|
|
777
|
+
id?: never;
|
|
778
|
+
name?: never;
|
|
779
|
+
project?: never;
|
|
780
|
+
signingKeys?: never;
|
|
781
|
+
signingSecret?: never;
|
|
782
|
+
status?: never;
|
|
783
|
+
updatedAt?: never;
|
|
784
|
+
url?: never;
|
|
785
|
+
version?: never;
|
|
786
|
+
} | {
|
|
787
|
+
created: boolean;
|
|
788
|
+
createdAt: string;
|
|
789
|
+
environmentKind: string;
|
|
790
|
+
id: string;
|
|
791
|
+
name: string;
|
|
792
|
+
project: string;
|
|
793
|
+
signingKeys: {
|
|
794
|
+
current: string;
|
|
795
|
+
};
|
|
796
|
+
signingSecret: {
|
|
797
|
+
guidance: string;
|
|
798
|
+
returned: boolean;
|
|
799
|
+
revealUrl: string;
|
|
800
|
+
};
|
|
801
|
+
status: string;
|
|
802
|
+
updatedAt: string;
|
|
803
|
+
url: string;
|
|
804
|
+
version: number;
|
|
805
|
+
};
|
|
806
|
+
readonly id: "endpoints.ensure";
|
|
807
|
+
readonly idempotent: true;
|
|
808
|
+
readonly mcp: {
|
|
809
|
+
readonly destructive: false;
|
|
810
|
+
readonly kind: "tool";
|
|
811
|
+
readonly openWorld: true;
|
|
812
|
+
};
|
|
813
|
+
readonly method: "POST";
|
|
814
|
+
readonly mutates: true;
|
|
815
|
+
readonly path: "/v1/endpoints/ensure";
|
|
816
|
+
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
817
|
+
readonly problems: readonly ["state_conflict", "invalid_request", "plan_limit_reached", "rate_limited"];
|
|
818
|
+
readonly request: import("zod").ZodObject<{
|
|
819
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
820
|
+
action: import("zod").ZodLiteral<"set">;
|
|
821
|
+
name: import("zod").ZodString;
|
|
822
|
+
value: import("zod").ZodString;
|
|
823
|
+
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
824
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
825
|
+
action: import("zod").ZodLiteral<"keep">;
|
|
826
|
+
name: import("zod").ZodString;
|
|
827
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
828
|
+
action: import("zod").ZodLiteral<"remove">;
|
|
829
|
+
name: import("zod").ZodString;
|
|
830
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
831
|
+
action: import("zod").ZodLiteral<"suppress">;
|
|
832
|
+
name: import("zod").ZodString;
|
|
833
|
+
}, import("zod/v4/core").$strict>], "action">>>;
|
|
834
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
835
|
+
url: import("zod").ZodString;
|
|
836
|
+
}, import("zod/v4/core").$strip>;
|
|
837
|
+
readonly requestExample: {
|
|
838
|
+
url?: never;
|
|
839
|
+
} | {
|
|
840
|
+
url: string;
|
|
841
|
+
};
|
|
842
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
843
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
844
|
+
name: import("zod").ZodString;
|
|
845
|
+
secret: import("zod").ZodLiteral<false>;
|
|
846
|
+
value: import("zod").ZodString;
|
|
847
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
848
|
+
name: import("zod").ZodString;
|
|
849
|
+
secret: import("zod").ZodLiteral<true>;
|
|
850
|
+
configured: import("zod").ZodLiteral<true>;
|
|
851
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
852
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
853
|
+
name: import("zod").ZodString;
|
|
854
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
855
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
856
|
+
createdAt: import("zod").ZodString;
|
|
857
|
+
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
858
|
+
environmentKind: import("zod").ZodEnum<{
|
|
859
|
+
test: "test";
|
|
860
|
+
live: "live";
|
|
861
|
+
}>;
|
|
862
|
+
id: import("zod").ZodString;
|
|
863
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
864
|
+
project: import("zod").ZodString;
|
|
865
|
+
signingKeys: import("zod").ZodObject<{
|
|
866
|
+
current: import("zod").ZodString;
|
|
867
|
+
next: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
868
|
+
acknowledgedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
869
|
+
id: import("zod").ZodString;
|
|
870
|
+
overlapEndsAt: import("zod").ZodString;
|
|
871
|
+
}, import("zod/v4/core").$strip>>;
|
|
872
|
+
}, import("zod/v4/core").$strip>;
|
|
873
|
+
status: import("zod").ZodEnum<{
|
|
874
|
+
active: "active";
|
|
875
|
+
disabled: "disabled";
|
|
876
|
+
}>;
|
|
877
|
+
updatedAt: import("zod").ZodString;
|
|
878
|
+
url: import("zod").ZodString;
|
|
879
|
+
version: import("zod").ZodNumber;
|
|
880
|
+
created: import("zod").ZodBoolean;
|
|
881
|
+
signingSecret: import("zod").ZodObject<{
|
|
882
|
+
guidance: import("zod").ZodString;
|
|
883
|
+
returned: import("zod").ZodLiteral<false>;
|
|
884
|
+
revealUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
885
|
+
}, import("zod/v4/core").$strip>;
|
|
886
|
+
}, import("zod/v4/core").$strip>;
|
|
887
|
+
readonly scopes: readonly ["endpoints:write"];
|
|
888
|
+
readonly sessionAuthority: "headers";
|
|
889
|
+
readonly summary: "" | "Find or create a callback endpoint by URL";
|
|
890
|
+
readonly surfaces: readonly ["api", "mock"];
|
|
671
891
|
}, {
|
|
672
892
|
readonly creates: false;
|
|
673
893
|
readonly description: "" | "Lists the caller's callback endpoints for exactly its own project and environment. The result is authoritative and metadata-only: no signing secret or sealed key material has a field in this shape.";
|
|
@@ -710,6 +930,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
710
930
|
}, import("zod/v4/core").$strip>;
|
|
711
931
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
712
932
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
933
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
934
|
+
name: import("zod").ZodString;
|
|
935
|
+
secret: import("zod").ZodLiteral<false>;
|
|
936
|
+
value: import("zod").ZodString;
|
|
937
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
938
|
+
name: import("zod").ZodString;
|
|
939
|
+
secret: import("zod").ZodLiteral<true>;
|
|
940
|
+
configured: import("zod").ZodLiteral<true>;
|
|
941
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
942
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
943
|
+
name: import("zod").ZodString;
|
|
944
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
945
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
713
946
|
createdAt: import("zod").ZodString;
|
|
714
947
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
715
948
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -728,8 +961,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
728
961
|
}, import("zod/v4/core").$strip>>;
|
|
729
962
|
}, import("zod/v4/core").$strip>;
|
|
730
963
|
status: import("zod").ZodEnum<{
|
|
731
|
-
disabled: "disabled";
|
|
732
964
|
active: "active";
|
|
965
|
+
disabled: "disabled";
|
|
733
966
|
}>;
|
|
734
967
|
updatedAt: import("zod").ZodString;
|
|
735
968
|
url: import("zod").ZodString;
|
|
@@ -796,6 +1029,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
796
1029
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
797
1030
|
readonly problems: readonly ["invalid_request", "not_found"];
|
|
798
1031
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1032
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1033
|
+
name: import("zod").ZodString;
|
|
1034
|
+
secret: import("zod").ZodLiteral<false>;
|
|
1035
|
+
value: import("zod").ZodString;
|
|
1036
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1037
|
+
name: import("zod").ZodString;
|
|
1038
|
+
secret: import("zod").ZodLiteral<true>;
|
|
1039
|
+
configured: import("zod").ZodLiteral<true>;
|
|
1040
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
1041
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1042
|
+
name: import("zod").ZodString;
|
|
1043
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
1044
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
799
1045
|
createdAt: import("zod").ZodString;
|
|
800
1046
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
801
1047
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -814,8 +1060,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
814
1060
|
}, import("zod/v4/core").$strip>>;
|
|
815
1061
|
}, import("zod/v4/core").$strip>;
|
|
816
1062
|
status: import("zod").ZodEnum<{
|
|
817
|
-
disabled: "disabled";
|
|
818
1063
|
active: "active";
|
|
1064
|
+
disabled: "disabled";
|
|
819
1065
|
}>;
|
|
820
1066
|
updatedAt: import("zod").ZodString;
|
|
821
1067
|
url: import("zod").ZodString;
|
|
@@ -830,7 +1076,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
830
1076
|
ETag: import("zod").ZodString;
|
|
831
1077
|
}, import("zod/v4/core").$strip>;
|
|
832
1078
|
readonly creates: false;
|
|
833
|
-
readonly description: "" | "Replaces an endpoint's destination after applying the complete URL and DNS policy, and renames it when a name is given.
|
|
1079
|
+
readonly description: "" | "Replaces an endpoint's destination after applying the complete URL and DNS policy, and renames it when a name is given. Optional `headers` patch endpoint defaults with `set`, `keep`, or `remove`; omitted headers preserve them. A secret value can be retained, replaced (including an empty string), or removed, but cannot be revealed. Header and destination edits apply to newly admitted attempts, including retries; recovery of the same admitted attempt keeps its snapshot. Disabled endpoints cannot be updated. Send If-Match with the version the endpoint was read at to be refused rather than overwrite a destination somebody else changed in the meantime.";
|
|
834
1080
|
readonly example: {
|
|
835
1081
|
createdAt?: never;
|
|
836
1082
|
environmentKind?: never;
|
|
@@ -867,6 +1113,21 @@ export declare const OPERATIONS: readonly [{
|
|
|
867
1113
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
868
1114
|
readonly problems: readonly ["invalid_request", "not_found", "rate_limited", "state_conflict", "version_conflict"];
|
|
869
1115
|
readonly request: import("zod").ZodObject<{
|
|
1116
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1117
|
+
action: import("zod").ZodLiteral<"set">;
|
|
1118
|
+
name: import("zod").ZodString;
|
|
1119
|
+
value: import("zod").ZodString;
|
|
1120
|
+
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1121
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1122
|
+
action: import("zod").ZodLiteral<"keep">;
|
|
1123
|
+
name: import("zod").ZodString;
|
|
1124
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1125
|
+
action: import("zod").ZodLiteral<"remove">;
|
|
1126
|
+
name: import("zod").ZodString;
|
|
1127
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1128
|
+
action: import("zod").ZodLiteral<"suppress">;
|
|
1129
|
+
name: import("zod").ZodString;
|
|
1130
|
+
}, import("zod/v4/core").$strict>], "action">>>;
|
|
870
1131
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
871
1132
|
url: import("zod").ZodString;
|
|
872
1133
|
}, import("zod/v4/core").$strip>;
|
|
@@ -879,6 +1140,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
879
1140
|
"If-Match": import("zod").ZodOptional<import("zod").ZodString>;
|
|
880
1141
|
}, import("zod/v4/core").$strip>;
|
|
881
1142
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1143
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1144
|
+
name: import("zod").ZodString;
|
|
1145
|
+
secret: import("zod").ZodLiteral<false>;
|
|
1146
|
+
value: import("zod").ZodString;
|
|
1147
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1148
|
+
name: import("zod").ZodString;
|
|
1149
|
+
secret: import("zod").ZodLiteral<true>;
|
|
1150
|
+
configured: import("zod").ZodLiteral<true>;
|
|
1151
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
1152
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1153
|
+
name: import("zod").ZodString;
|
|
1154
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
1155
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
882
1156
|
createdAt: import("zod").ZodString;
|
|
883
1157
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
884
1158
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -897,8 +1171,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
897
1171
|
}, import("zod/v4/core").$strip>>;
|
|
898
1172
|
}, import("zod/v4/core").$strip>;
|
|
899
1173
|
status: import("zod").ZodEnum<{
|
|
900
|
-
disabled: "disabled";
|
|
901
1174
|
active: "active";
|
|
1175
|
+
disabled: "disabled";
|
|
902
1176
|
}>;
|
|
903
1177
|
updatedAt: import("zod").ZodString;
|
|
904
1178
|
url: import("zod").ZodString;
|
|
@@ -965,6 +1239,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
965
1239
|
}, import("zod/v4/core").$strip>;
|
|
966
1240
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
967
1241
|
endpoint: import("zod").ZodObject<{
|
|
1242
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1243
|
+
name: import("zod").ZodString;
|
|
1244
|
+
secret: import("zod").ZodLiteral<false>;
|
|
1245
|
+
value: import("zod").ZodString;
|
|
1246
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1247
|
+
name: import("zod").ZodString;
|
|
1248
|
+
secret: import("zod").ZodLiteral<true>;
|
|
1249
|
+
configured: import("zod").ZodLiteral<true>;
|
|
1250
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
1251
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1252
|
+
name: import("zod").ZodString;
|
|
1253
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
1254
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
968
1255
|
createdAt: import("zod").ZodString;
|
|
969
1256
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
970
1257
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -983,8 +1270,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
983
1270
|
}, import("zod/v4/core").$strip>>;
|
|
984
1271
|
}, import("zod/v4/core").$strip>;
|
|
985
1272
|
status: import("zod").ZodEnum<{
|
|
986
|
-
disabled: "disabled";
|
|
987
1273
|
active: "active";
|
|
1274
|
+
disabled: "disabled";
|
|
988
1275
|
}>;
|
|
989
1276
|
updatedAt: import("zod").ZodString;
|
|
990
1277
|
url: import("zod").ZodString;
|
|
@@ -1047,6 +1334,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
1047
1334
|
"If-Match": import("zod").ZodString;
|
|
1048
1335
|
}, import("zod/v4/core").$strip>;
|
|
1049
1336
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1337
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1338
|
+
name: import("zod").ZodString;
|
|
1339
|
+
secret: import("zod").ZodLiteral<false>;
|
|
1340
|
+
value: import("zod").ZodString;
|
|
1341
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1342
|
+
name: import("zod").ZodString;
|
|
1343
|
+
secret: import("zod").ZodLiteral<true>;
|
|
1344
|
+
configured: import("zod").ZodLiteral<true>;
|
|
1345
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
1346
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1347
|
+
name: import("zod").ZodString;
|
|
1348
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
1349
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
1050
1350
|
createdAt: import("zod").ZodString;
|
|
1051
1351
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1052
1352
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -1065,8 +1365,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1065
1365
|
}, import("zod/v4/core").$strip>>;
|
|
1066
1366
|
}, import("zod/v4/core").$strip>;
|
|
1067
1367
|
status: import("zod").ZodEnum<{
|
|
1068
|
-
disabled: "disabled";
|
|
1069
1368
|
active: "active";
|
|
1369
|
+
disabled: "disabled";
|
|
1070
1370
|
}>;
|
|
1071
1371
|
updatedAt: import("zod").ZodString;
|
|
1072
1372
|
url: import("zod").ZodString;
|
|
@@ -1160,6 +1460,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
1160
1460
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
1161
1461
|
readonly problems: readonly ["invalid_request", "not_found"];
|
|
1162
1462
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1463
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1464
|
+
name: import("zod").ZodString;
|
|
1465
|
+
secret: import("zod").ZodLiteral<false>;
|
|
1466
|
+
value: import("zod").ZodString;
|
|
1467
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1468
|
+
name: import("zod").ZodString;
|
|
1469
|
+
secret: import("zod").ZodLiteral<true>;
|
|
1470
|
+
configured: import("zod").ZodLiteral<true>;
|
|
1471
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
1472
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1473
|
+
name: import("zod").ZodString;
|
|
1474
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
1475
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
1163
1476
|
createdAt: import("zod").ZodString;
|
|
1164
1477
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1165
1478
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -1178,8 +1491,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1178
1491
|
}, import("zod/v4/core").$strip>>;
|
|
1179
1492
|
}, import("zod/v4/core").$strip>;
|
|
1180
1493
|
status: import("zod").ZodEnum<{
|
|
1181
|
-
disabled: "disabled";
|
|
1182
1494
|
active: "active";
|
|
1495
|
+
disabled: "disabled";
|
|
1183
1496
|
}>;
|
|
1184
1497
|
updatedAt: import("zod").ZodString;
|
|
1185
1498
|
url: import("zod").ZodString;
|
|
@@ -1233,6 +1546,19 @@ export declare const OPERATIONS: readonly [{
|
|
|
1233
1546
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
1234
1547
|
readonly problems: readonly ["invalid_request", "not_found", "state_conflict"];
|
|
1235
1548
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1549
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
1550
|
+
name: import("zod").ZodString;
|
|
1551
|
+
secret: import("zod").ZodLiteral<false>;
|
|
1552
|
+
value: import("zod").ZodString;
|
|
1553
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1554
|
+
name: import("zod").ZodString;
|
|
1555
|
+
secret: import("zod").ZodLiteral<true>;
|
|
1556
|
+
configured: import("zod").ZodLiteral<true>;
|
|
1557
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
1558
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1559
|
+
name: import("zod").ZodString;
|
|
1560
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
1561
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
1236
1562
|
createdAt: import("zod").ZodString;
|
|
1237
1563
|
disabledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1238
1564
|
environmentKind: import("zod").ZodEnum<{
|
|
@@ -1251,8 +1577,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1251
1577
|
}, import("zod/v4/core").$strip>>;
|
|
1252
1578
|
}, import("zod/v4/core").$strip>;
|
|
1253
1579
|
status: import("zod").ZodEnum<{
|
|
1254
|
-
disabled: "disabled";
|
|
1255
1580
|
active: "active";
|
|
1581
|
+
disabled: "disabled";
|
|
1256
1582
|
}>;
|
|
1257
1583
|
updatedAt: import("zod").ZodString;
|
|
1258
1584
|
url: import("zod").ZodString;
|
|
@@ -1301,8 +1627,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1301
1627
|
endpoint: import("zod").ZodString;
|
|
1302
1628
|
program: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1303
1629
|
behavior: import("zod").ZodEnum<{
|
|
1304
|
-
rate_limited: "rate_limited";
|
|
1305
1630
|
success: "success";
|
|
1631
|
+
rate_limited: "rate_limited";
|
|
1306
1632
|
server_error: "server_error";
|
|
1307
1633
|
client_error: "client_error";
|
|
1308
1634
|
defer_abandon: "defer_abandon";
|
|
@@ -1320,8 +1646,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1320
1646
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1321
1647
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1322
1648
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1323
|
-
rate_limited: "rate_limited";
|
|
1324
1649
|
success: "success";
|
|
1650
|
+
rate_limited: "rate_limited";
|
|
1325
1651
|
server_error: "server_error";
|
|
1326
1652
|
client_error: "client_error";
|
|
1327
1653
|
defer_abandon: "defer_abandon";
|
|
@@ -1354,8 +1680,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1354
1680
|
id: import("zod").ZodString;
|
|
1355
1681
|
program: import("zod").ZodObject<{
|
|
1356
1682
|
behavior: import("zod").ZodEnum<{
|
|
1357
|
-
rate_limited: "rate_limited";
|
|
1358
1683
|
success: "success";
|
|
1684
|
+
rate_limited: "rate_limited";
|
|
1359
1685
|
server_error: "server_error";
|
|
1360
1686
|
client_error: "client_error";
|
|
1361
1687
|
defer_abandon: "defer_abandon";
|
|
@@ -1373,8 +1699,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1373
1699
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1374
1700
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1375
1701
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1376
|
-
rate_limited: "rate_limited";
|
|
1377
1702
|
success: "success";
|
|
1703
|
+
rate_limited: "rate_limited";
|
|
1378
1704
|
server_error: "server_error";
|
|
1379
1705
|
client_error: "client_error";
|
|
1380
1706
|
defer_abandon: "defer_abandon";
|
|
@@ -1445,8 +1771,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1445
1771
|
id: import("zod").ZodString;
|
|
1446
1772
|
program: import("zod").ZodObject<{
|
|
1447
1773
|
behavior: import("zod").ZodEnum<{
|
|
1448
|
-
rate_limited: "rate_limited";
|
|
1449
1774
|
success: "success";
|
|
1775
|
+
rate_limited: "rate_limited";
|
|
1450
1776
|
server_error: "server_error";
|
|
1451
1777
|
client_error: "client_error";
|
|
1452
1778
|
defer_abandon: "defer_abandon";
|
|
@@ -1464,8 +1790,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1464
1790
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1465
1791
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1466
1792
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1467
|
-
rate_limited: "rate_limited";
|
|
1468
1793
|
success: "success";
|
|
1794
|
+
rate_limited: "rate_limited";
|
|
1469
1795
|
server_error: "server_error";
|
|
1470
1796
|
client_error: "client_error";
|
|
1471
1797
|
defer_abandon: "defer_abandon";
|
|
@@ -1543,8 +1869,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1543
1869
|
id: import("zod").ZodString;
|
|
1544
1870
|
program: import("zod").ZodObject<{
|
|
1545
1871
|
behavior: import("zod").ZodEnum<{
|
|
1546
|
-
rate_limited: "rate_limited";
|
|
1547
1872
|
success: "success";
|
|
1873
|
+
rate_limited: "rate_limited";
|
|
1548
1874
|
server_error: "server_error";
|
|
1549
1875
|
client_error: "client_error";
|
|
1550
1876
|
defer_abandon: "defer_abandon";
|
|
@@ -1562,8 +1888,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1562
1888
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1563
1889
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1564
1890
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1565
|
-
rate_limited: "rate_limited";
|
|
1566
1891
|
success: "success";
|
|
1892
|
+
rate_limited: "rate_limited";
|
|
1567
1893
|
server_error: "server_error";
|
|
1568
1894
|
client_error: "client_error";
|
|
1569
1895
|
defer_abandon: "defer_abandon";
|
|
@@ -1625,8 +1951,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1625
1951
|
readonly problems: readonly ["invalid_request", "not_found", "state_conflict"];
|
|
1626
1952
|
readonly request: import("zod").ZodObject<{
|
|
1627
1953
|
behavior: import("zod").ZodEnum<{
|
|
1628
|
-
rate_limited: "rate_limited";
|
|
1629
1954
|
success: "success";
|
|
1955
|
+
rate_limited: "rate_limited";
|
|
1630
1956
|
server_error: "server_error";
|
|
1631
1957
|
client_error: "client_error";
|
|
1632
1958
|
defer_abandon: "defer_abandon";
|
|
@@ -1644,8 +1970,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1644
1970
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1645
1971
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1646
1972
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1647
|
-
rate_limited: "rate_limited";
|
|
1648
1973
|
success: "success";
|
|
1974
|
+
rate_limited: "rate_limited";
|
|
1649
1975
|
server_error: "server_error";
|
|
1650
1976
|
client_error: "client_error";
|
|
1651
1977
|
defer_abandon: "defer_abandon";
|
|
@@ -1671,8 +1997,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1671
1997
|
id: import("zod").ZodString;
|
|
1672
1998
|
program: import("zod").ZodObject<{
|
|
1673
1999
|
behavior: import("zod").ZodEnum<{
|
|
1674
|
-
rate_limited: "rate_limited";
|
|
1675
2000
|
success: "success";
|
|
2001
|
+
rate_limited: "rate_limited";
|
|
1676
2002
|
server_error: "server_error";
|
|
1677
2003
|
client_error: "client_error";
|
|
1678
2004
|
defer_abandon: "defer_abandon";
|
|
@@ -1690,8 +2016,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1690
2016
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1691
2017
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1692
2018
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1693
|
-
rate_limited: "rate_limited";
|
|
1694
2019
|
success: "success";
|
|
2020
|
+
rate_limited: "rate_limited";
|
|
1695
2021
|
server_error: "server_error";
|
|
1696
2022
|
client_error: "client_error";
|
|
1697
2023
|
defer_abandon: "defer_abandon";
|
|
@@ -1755,8 +2081,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1755
2081
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1756
2082
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1757
2083
|
behavior: import("zod").ZodEnum<{
|
|
1758
|
-
rate_limited: "rate_limited";
|
|
1759
2084
|
success: "success";
|
|
2085
|
+
rate_limited: "rate_limited";
|
|
1760
2086
|
server_error: "server_error";
|
|
1761
2087
|
client_error: "client_error";
|
|
1762
2088
|
defer_abandon: "defer_abandon";
|
|
@@ -1851,8 +2177,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1851
2177
|
readonly problems: readonly ["invalid_request", "not_found", "state_conflict"];
|
|
1852
2178
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1853
2179
|
behavior: import("zod").ZodEnum<{
|
|
1854
|
-
rate_limited: "rate_limited";
|
|
1855
2180
|
success: "success";
|
|
2181
|
+
rate_limited: "rate_limited";
|
|
1856
2182
|
server_error: "server_error";
|
|
1857
2183
|
client_error: "client_error";
|
|
1858
2184
|
defer_abandon: "defer_abandon";
|
|
@@ -1941,8 +2267,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1941
2267
|
id: import("zod").ZodString;
|
|
1942
2268
|
program: import("zod").ZodObject<{
|
|
1943
2269
|
behavior: import("zod").ZodEnum<{
|
|
1944
|
-
rate_limited: "rate_limited";
|
|
1945
2270
|
success: "success";
|
|
2271
|
+
rate_limited: "rate_limited";
|
|
1946
2272
|
server_error: "server_error";
|
|
1947
2273
|
client_error: "client_error";
|
|
1948
2274
|
defer_abandon: "defer_abandon";
|
|
@@ -1960,8 +2286,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
1960
2286
|
retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1961
2287
|
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1962
2288
|
then: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1963
|
-
rate_limited: "rate_limited";
|
|
1964
2289
|
success: "success";
|
|
2290
|
+
rate_limited: "rate_limited";
|
|
1965
2291
|
server_error: "server_error";
|
|
1966
2292
|
client_error: "client_error";
|
|
1967
2293
|
defer_abandon: "defer_abandon";
|
|
@@ -2064,7 +2390,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2064
2390
|
readonly path: "/v1/context";
|
|
2065
2391
|
readonly principals: readonly ["api-credential", "oauth"];
|
|
2066
2392
|
readonly problems: readonly [];
|
|
2067
|
-
readonly response: import("zod").ZodObject<{
|
|
2393
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
2068
2394
|
environmentKind: import("zod").ZodEnum<{
|
|
2069
2395
|
test: "test";
|
|
2070
2396
|
live: "live";
|
|
@@ -2075,6 +2401,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2075
2401
|
}>;
|
|
2076
2402
|
project: import("zod").ZodString;
|
|
2077
2403
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2404
|
+
"members:manage": "members:manage";
|
|
2078
2405
|
"credentials:administer": "credentials:administer";
|
|
2079
2406
|
"billing:write": "billing:write";
|
|
2080
2407
|
"credentials:read": "credentials:read";
|
|
@@ -2093,7 +2420,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2093
2420
|
"schedules:write": "schedules:write";
|
|
2094
2421
|
"usage:read": "usage:read";
|
|
2095
2422
|
}>>;
|
|
2096
|
-
}, import("zod/v4/core").$strip
|
|
2423
|
+
}, import("zod/v4/core").$strip>;
|
|
2097
2424
|
readonly scopes: readonly [];
|
|
2098
2425
|
readonly summary: "" | "Read this credential's authority";
|
|
2099
2426
|
readonly surfaces: readonly ["api", "mock"];
|
|
@@ -2137,6 +2464,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2137
2464
|
}>;
|
|
2138
2465
|
project: import("zod").ZodString;
|
|
2139
2466
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2467
|
+
"members:manage": "members:manage";
|
|
2140
2468
|
"credentials:administer": "credentials:administer";
|
|
2141
2469
|
"billing:write": "billing:write";
|
|
2142
2470
|
"credentials:read": "credentials:read";
|
|
@@ -2180,6 +2508,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2180
2508
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2181
2509
|
supersededBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2182
2510
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2511
|
+
"members:manage": "members:manage";
|
|
2183
2512
|
"credentials:administer": "credentials:administer";
|
|
2184
2513
|
"billing:write": "billing:write";
|
|
2185
2514
|
"credentials:read": "credentials:read";
|
|
@@ -2259,6 +2588,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2259
2588
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2260
2589
|
supersededBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2261
2590
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2591
|
+
"members:manage": "members:manage";
|
|
2262
2592
|
"credentials:administer": "credentials:administer";
|
|
2263
2593
|
"billing:write": "billing:write";
|
|
2264
2594
|
"credentials:read": "credentials:read";
|
|
@@ -2328,6 +2658,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2328
2658
|
endpoint: import("zod").ZodString;
|
|
2329
2659
|
id: import("zod").ZodString;
|
|
2330
2660
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
2661
|
+
"members:manage": "members:manage";
|
|
2331
2662
|
"credentials:administer": "credentials:administer";
|
|
2332
2663
|
"billing:write": "billing:write";
|
|
2333
2664
|
"credentials:read": "credentials:read";
|
|
@@ -2347,9 +2678,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
2347
2678
|
"usage:read": "usage:read";
|
|
2348
2679
|
}>>;
|
|
2349
2680
|
state: import("zod").ZodEnum<{
|
|
2681
|
+
expired: "expired";
|
|
2350
2682
|
revoked: "revoked";
|
|
2351
2683
|
usable: "usable";
|
|
2352
|
-
expired: "expired";
|
|
2353
2684
|
}>;
|
|
2354
2685
|
tools: import("zod").ZodArray<import("zod").ZodString>;
|
|
2355
2686
|
}, import("zod/v4/core").$strip>;
|
|
@@ -2732,6 +3063,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2732
3063
|
}>>;
|
|
2733
3064
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2734
3065
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3066
|
+
"members:manage": "members:manage";
|
|
2735
3067
|
"credentials:administer": "credentials:administer";
|
|
2736
3068
|
"billing:write": "billing:write";
|
|
2737
3069
|
"credentials:read": "credentials:read";
|
|
@@ -2814,6 +3146,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2814
3146
|
}>>;
|
|
2815
3147
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2816
3148
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3149
|
+
"members:manage": "members:manage";
|
|
2817
3150
|
"credentials:administer": "credentials:administer";
|
|
2818
3151
|
"billing:write": "billing:write";
|
|
2819
3152
|
"credentials:read": "credentials:read";
|
|
@@ -2907,6 +3240,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2907
3240
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2908
3241
|
supersededBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2909
3242
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3243
|
+
"members:manage": "members:manage";
|
|
2910
3244
|
"credentials:administer": "credentials:administer";
|
|
2911
3245
|
"billing:write": "billing:write";
|
|
2912
3246
|
"credentials:read": "credentials:read";
|
|
@@ -2943,6 +3277,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
2943
3277
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2944
3278
|
supersededBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2945
3279
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3280
|
+
"members:manage": "members:manage";
|
|
2946
3281
|
"credentials:administer": "credentials:administer";
|
|
2947
3282
|
"billing:write": "billing:write";
|
|
2948
3283
|
"credentials:read": "credentials:read";
|
|
@@ -3012,6 +3347,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3012
3347
|
revokedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3013
3348
|
supersededBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3014
3349
|
scopes: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3350
|
+
"members:manage": "members:manage";
|
|
3015
3351
|
"credentials:administer": "credentials:administer";
|
|
3016
3352
|
"billing:write": "billing:write";
|
|
3017
3353
|
"credentials:read": "credentials:read";
|
|
@@ -3046,7 +3382,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3046
3382
|
"Idempotency-Replayed": import("zod").ZodOptional<import("zod").ZodLiteral<"true">>;
|
|
3047
3383
|
}, import("zod/v4/core").$strip>;
|
|
3048
3384
|
readonly creates: true;
|
|
3049
|
-
readonly description: "" | "Creates a schedule and returns it together with its first planned occurrence. Give exactly one of `at`, `delaySeconds`, `everySeconds` and `cron`. An optional `partitionKey` selects a fairness lane inside this project and environment; it is fixed after create. Add a verified `endpoint` to deliver each occurrence there;
|
|
3385
|
+
readonly description: "" | "Creates a schedule and returns it together with its first planned occurrence. Give exactly one of `at`, `delaySeconds`, `everySeconds` and `cron`. An optional `partitionKey` selects a fairness lane inside this project and environment; it is fixed after create. Add a verified `endpoint` to deliver each occurrence there. Instead of `endpoint`, give a `url`: the service uses this project and environment's existing endpoint at exactly that address, or creates one silently. Its signing secret is never returned; the response's `endpointSigningSecret` says where a signed-in member reveals it. Reusing an endpoint needs only `schedules:write`; creating one also needs `endpoints:write`, and without it the request is refused as `scope_missing`. Optional JSON `data` is encrypted before PostgreSQL persistence, placed in the signed callback, and returned as given by a schedule read. Optional `http` selects POST (default), PUT, or bodyless GET and schedule header overrides. Omitted HTTP settings preserve the signed structured envelope; `body: { mode: 'json', value: ... }` sends that JSON directly without interpolation. Ordinary headers remain readable and secret values are encrypted and write-only. Schedule headers override endpoint defaults case-insensitively, with `suppress` to omit an inherited header and `remove` to resume inheritance. Product signing, content and transport headers are reserved. Raw JSON and GET carry asynchronous completion details in reserved Callback-Completion headers. `at` and `delaySeconds` fire once; a delay is converted to an absolute instant when the request is accepted, so a schedule created either way reads back the same afterwards. `everySeconds` is a fixed duration and its first occurrence falls one interval after acceptance — it stays the same length across a daylight-saving change, and takes no timezone for that reason. `cron` is a wall clock: it is read against the IANA `timeZone` sent with it, `UTC` when none is, and the first occurrence is the first instant the expression names after acceptance. Where the clocks go forward and the wall time named does not exist that day, the occurrence falls at the first instant after the gap; where they go back and it happens twice, it falls once, at the earlier of the two. A recurring schedule is materialized one occurrence at a time: the next one is planned once the current one is due, so a read always shows one occurrence still to come. `lateness.policy` decides what happens when an occurrence reaches its first attempt after its planned instant: `skipAhead` never carries a recurring arrival across its next scheduled instant (and a shorter custom window may retire it earlier), while `catchUp` admits one arrival within `maxStalenessSeconds` even after later recurrence instants passed. A one-shot has no next recurrence, so either explicit policy uses its window and the default is `catchUp` with 24 hours; recurring schedules default to `skipAhead`, and a `catchUp` without an override has a one-interval window. A retry already in progress is exempt because it arrived and failed; its retry and give-up policy still decide the outcome. The organization, project and environment come from the verified principal; a body cannot name them, and the endpoint must belong to the same tuple, so a credential issued for one project can only ever create schedules in that project. Send an `Idempotency-Key` to make a retry safe: the identical request returns the schedule that key already created, marked `Idempotency-Replayed: true`, and creates nothing further; the same key with a different request is refused `idempotency_key_reused`. A replay reports the schedule **as it stands now**, not a frozen copy of the first response — if it was paused in between, the replay says so.";
|
|
3050
3386
|
readonly example: {
|
|
3051
3387
|
occurrence?: never;
|
|
3052
3388
|
schedule?: never;
|
|
@@ -3088,9 +3424,40 @@ export declare const OPERATIONS: readonly [{
|
|
|
3088
3424
|
readonly method: "POST";
|
|
3089
3425
|
readonly mutates: true;
|
|
3090
3426
|
readonly path: "/v1/schedules";
|
|
3427
|
+
readonly conditionalScopes: readonly ["endpoints:write"];
|
|
3428
|
+
readonly conditionalScopesWhen: "the request names a `url` this project and environment has no endpoint at yet";
|
|
3091
3429
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
3092
|
-
readonly problems: readonly ["idempotency_key_reused", "invalid_request", "not_found", "plan_limit_reached", "service_unavailable", "state_conflict"];
|
|
3430
|
+
readonly problems: readonly ["idempotency_key_reused", "invalid_request", "not_found", "plan_limit_reached", "rate_limited", "scope_missing", "service_unavailable", "state_conflict"];
|
|
3093
3431
|
readonly request: import("zod").ZodObject<{
|
|
3432
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
3433
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3434
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3435
|
+
POST: "POST";
|
|
3436
|
+
PUT: "PUT";
|
|
3437
|
+
GET: "GET";
|
|
3438
|
+
}>>;
|
|
3439
|
+
body: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3440
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
3441
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3442
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
3443
|
+
value: import("zod").ZodJSONSchema;
|
|
3444
|
+
}, import("zod/v4/core").$strict>], "mode">>;
|
|
3445
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3446
|
+
action: import("zod").ZodLiteral<"set">;
|
|
3447
|
+
name: import("zod").ZodString;
|
|
3448
|
+
value: import("zod").ZodString;
|
|
3449
|
+
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3450
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3451
|
+
action: import("zod").ZodLiteral<"keep">;
|
|
3452
|
+
name: import("zod").ZodString;
|
|
3453
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3454
|
+
action: import("zod").ZodLiteral<"remove">;
|
|
3455
|
+
name: import("zod").ZodString;
|
|
3456
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3457
|
+
action: import("zod").ZodLiteral<"suppress">;
|
|
3458
|
+
name: import("zod").ZodString;
|
|
3459
|
+
}, import("zod/v4/core").$strict>], "action">>>;
|
|
3460
|
+
}, import("zod/v4/core").$strict>>;
|
|
3094
3461
|
at: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3095
3462
|
cron: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3096
3463
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
@@ -3108,6 +3475,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3108
3475
|
}, import("zod/v4/core").$strict>>;
|
|
3109
3476
|
everySeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3110
3477
|
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3478
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3111
3479
|
latencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3112
3480
|
realtime: "realtime";
|
|
3113
3481
|
bulk: "bulk";
|
|
@@ -3146,7 +3514,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3146
3514
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
3147
3515
|
"Idempotency-Key": import("zod").ZodOptional<import("zod").ZodString>;
|
|
3148
3516
|
}, import("zod/v4/core").$strip>;
|
|
3149
|
-
readonly response: import("zod").ZodObject<{
|
|
3517
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3150
3518
|
occurrence: import("zod").ZodObject<{
|
|
3151
3519
|
generation: import("zod").ZodNumber;
|
|
3152
3520
|
id: import("zod").ZodString;
|
|
@@ -3155,9 +3523,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
3155
3523
|
sequence: import("zod").ZodNumber;
|
|
3156
3524
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3157
3525
|
state: import("zod").ZodEnum<{
|
|
3158
|
-
due: "due";
|
|
3159
3526
|
succeeded: "succeeded";
|
|
3160
3527
|
ambiguous: "ambiguous";
|
|
3528
|
+
due: "due";
|
|
3161
3529
|
cancelled: "cancelled";
|
|
3162
3530
|
planned: "planned";
|
|
3163
3531
|
dispatching: "dispatching";
|
|
@@ -3177,6 +3545,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
3177
3545
|
attemptCount: import("zod").ZodNumber;
|
|
3178
3546
|
}, import("zod/v4/core").$strip>;
|
|
3179
3547
|
schedule: import("zod").ZodObject<{
|
|
3548
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
3549
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3550
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3551
|
+
failedRuns: import("zod").ZodNumber;
|
|
3552
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3553
|
+
diagnostic: import("zod").ZodString;
|
|
3554
|
+
pausedAt: import("zod").ZodString;
|
|
3555
|
+
}, import("zod/v4/core").$strip>>>;
|
|
3556
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3557
|
+
method: import("zod").ZodEnum<{
|
|
3558
|
+
POST: "POST";
|
|
3559
|
+
PUT: "PUT";
|
|
3560
|
+
GET: "GET";
|
|
3561
|
+
}>;
|
|
3562
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3563
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
3564
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3565
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
3566
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3567
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
3568
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
3569
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
3570
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3571
|
+
name: import("zod").ZodString;
|
|
3572
|
+
secret: import("zod").ZodLiteral<false>;
|
|
3573
|
+
value: import("zod").ZodString;
|
|
3574
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3575
|
+
name: import("zod").ZodString;
|
|
3576
|
+
secret: import("zod").ZodLiteral<true>;
|
|
3577
|
+
configured: import("zod").ZodLiteral<true>;
|
|
3578
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
3579
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3580
|
+
name: import("zod").ZodString;
|
|
3581
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
3582
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
3583
|
+
}, import("zod/v4/core").$strict>>;
|
|
3180
3584
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3181
3585
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
3182
3586
|
createdAt: import("zod").ZodString;
|
|
@@ -3220,15 +3624,20 @@ export declare const OPERATIONS: readonly [{
|
|
|
3220
3624
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
3221
3625
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
3222
3626
|
status: import("zod").ZodEnum<{
|
|
3223
|
-
active: "active";
|
|
3224
|
-
completed: "completed";
|
|
3225
3627
|
paused: "paused";
|
|
3628
|
+
active: "active";
|
|
3226
3629
|
cancelled: "cancelled";
|
|
3630
|
+
completed: "completed";
|
|
3227
3631
|
}>;
|
|
3228
3632
|
updatedAt: import("zod").ZodString;
|
|
3229
3633
|
version: import("zod").ZodNumber;
|
|
3230
3634
|
}, import("zod/v4/core").$strip>;
|
|
3231
|
-
|
|
3635
|
+
endpointSigningSecret: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3636
|
+
guidance: import("zod").ZodString;
|
|
3637
|
+
returned: import("zod").ZodLiteral<false>;
|
|
3638
|
+
revealUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3639
|
+
}, import("zod/v4/core").$strip>>;
|
|
3640
|
+
}, import("zod/v4/core").$strip>;
|
|
3232
3641
|
}, {
|
|
3233
3642
|
readonly scopes: readonly ["schedules:read"];
|
|
3234
3643
|
readonly sessionAuthority: "headers";
|
|
@@ -3238,7 +3647,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3238
3647
|
ETag: import("zod").ZodString;
|
|
3239
3648
|
}, import("zod/v4/core").$strip>;
|
|
3240
3649
|
readonly creates: false;
|
|
3241
|
-
readonly description: "" | "Reads one schedule and its next occurrence from the partition that owns it. A schedule belonging to another organization, project or environment answers not_found rather than a refusal that would confirm it exists. The response carries the schedule's version as a strong ETag; send it back in `If-Match` to make a later write conditional on nothing having changed in between. The response carries the schedule's `data` when it has one, exactly as it was given; the listing leaves it off.";
|
|
3650
|
+
readonly description: "" | "Reads one schedule and its next occurrence from the partition that owns it. A schedule belonging to another organization, project or environment answers not_found rather than a refusal that would confirm it exists. The response carries the schedule's version as a strong ETag; send it back in `If-Match` to make a later write conditional on nothing having changed in between. The response carries the schedule's `data` when it has one, exactly as it was given; the listing leaves it off. Detail reads also include the custom JSON body; listings and mutation responses omit its content. HTTP settings expose ordinary values and configured secret markers, never secret values.";
|
|
3242
3651
|
readonly example: {
|
|
3243
3652
|
occurrence?: never;
|
|
3244
3653
|
schedule?: never;
|
|
@@ -3285,7 +3694,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3285
3694
|
readonly path: "/v1/schedules/{scheduleId}";
|
|
3286
3695
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
3287
3696
|
readonly problems: readonly ["invalid_request", "not_found"];
|
|
3288
|
-
readonly response: import("zod").ZodObject<{
|
|
3697
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3289
3698
|
occurrence: import("zod").ZodObject<{
|
|
3290
3699
|
generation: import("zod").ZodNumber;
|
|
3291
3700
|
id: import("zod").ZodString;
|
|
@@ -3294,9 +3703,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
3294
3703
|
sequence: import("zod").ZodNumber;
|
|
3295
3704
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3296
3705
|
state: import("zod").ZodEnum<{
|
|
3297
|
-
due: "due";
|
|
3298
3706
|
succeeded: "succeeded";
|
|
3299
3707
|
ambiguous: "ambiguous";
|
|
3708
|
+
due: "due";
|
|
3300
3709
|
cancelled: "cancelled";
|
|
3301
3710
|
planned: "planned";
|
|
3302
3711
|
dispatching: "dispatching";
|
|
@@ -3316,6 +3725,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
3316
3725
|
attemptCount: import("zod").ZodNumber;
|
|
3317
3726
|
}, import("zod/v4/core").$strip>;
|
|
3318
3727
|
schedule: import("zod").ZodObject<{
|
|
3728
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
3729
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3730
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3731
|
+
failedRuns: import("zod").ZodNumber;
|
|
3732
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3733
|
+
diagnostic: import("zod").ZodString;
|
|
3734
|
+
pausedAt: import("zod").ZodString;
|
|
3735
|
+
}, import("zod/v4/core").$strip>>>;
|
|
3736
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3737
|
+
method: import("zod").ZodEnum<{
|
|
3738
|
+
POST: "POST";
|
|
3739
|
+
PUT: "PUT";
|
|
3740
|
+
GET: "GET";
|
|
3741
|
+
}>;
|
|
3742
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3743
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
3744
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3745
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
3746
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3747
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
3748
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
3749
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
3750
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3751
|
+
name: import("zod").ZodString;
|
|
3752
|
+
secret: import("zod").ZodLiteral<false>;
|
|
3753
|
+
value: import("zod").ZodString;
|
|
3754
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3755
|
+
name: import("zod").ZodString;
|
|
3756
|
+
secret: import("zod").ZodLiteral<true>;
|
|
3757
|
+
configured: import("zod").ZodLiteral<true>;
|
|
3758
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
3759
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3760
|
+
name: import("zod").ZodString;
|
|
3761
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
3762
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
3763
|
+
}, import("zod/v4/core").$strict>>;
|
|
3319
3764
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3320
3765
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
3321
3766
|
createdAt: import("zod").ZodString;
|
|
@@ -3359,15 +3804,15 @@ export declare const OPERATIONS: readonly [{
|
|
|
3359
3804
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
3360
3805
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
3361
3806
|
status: import("zod").ZodEnum<{
|
|
3362
|
-
active: "active";
|
|
3363
|
-
completed: "completed";
|
|
3364
3807
|
paused: "paused";
|
|
3808
|
+
active: "active";
|
|
3365
3809
|
cancelled: "cancelled";
|
|
3810
|
+
completed: "completed";
|
|
3366
3811
|
}>;
|
|
3367
3812
|
updatedAt: import("zod").ZodString;
|
|
3368
3813
|
version: import("zod").ZodNumber;
|
|
3369
3814
|
}, import("zod/v4/core").$strip>;
|
|
3370
|
-
}, import("zod/v4/core").$strip
|
|
3815
|
+
}, import("zod/v4/core").$strip>;
|
|
3371
3816
|
}, {
|
|
3372
3817
|
readonly creates: false;
|
|
3373
3818
|
readonly description: "" | "Lists the caller's own schedules, oldest first, one page at a time. Archived schedules are left out: archiving is how a schedule leaves the working set, and a listing that still carried them would make the operation pointless. Give `endpoint` to keep the page to the schedules that deliver to that endpoint — the way back from a destination to everything pointed at it, which is what somebody who disabled or is about to move an endpoint needs to see. Items are schedules rather than schedules-with-occurrences, because a cross-partition listing is served from a projection that holds a summary; read a schedule to get its authoritative next occurrence. Every page states whether it is authoritative or projected.";
|
|
@@ -3421,8 +3866,44 @@ export declare const OPERATIONS: readonly [{
|
|
|
3421
3866
|
due: "due";
|
|
3422
3867
|
}>>;
|
|
3423
3868
|
}, import("zod/v4/core").$strip>;
|
|
3424
|
-
readonly response: import("zod").ZodObject<{
|
|
3869
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3425
3870
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3871
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
3872
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3873
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
3874
|
+
failedRuns: import("zod").ZodNumber;
|
|
3875
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3876
|
+
diagnostic: import("zod").ZodString;
|
|
3877
|
+
pausedAt: import("zod").ZodString;
|
|
3878
|
+
}, import("zod/v4/core").$strip>>>;
|
|
3879
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3880
|
+
method: import("zod").ZodEnum<{
|
|
3881
|
+
POST: "POST";
|
|
3882
|
+
PUT: "PUT";
|
|
3883
|
+
GET: "GET";
|
|
3884
|
+
}>;
|
|
3885
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
3886
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
3887
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3888
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
3889
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3890
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
3891
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
3892
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
3893
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
3894
|
+
name: import("zod").ZodString;
|
|
3895
|
+
secret: import("zod").ZodLiteral<false>;
|
|
3896
|
+
value: import("zod").ZodString;
|
|
3897
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3898
|
+
name: import("zod").ZodString;
|
|
3899
|
+
secret: import("zod").ZodLiteral<true>;
|
|
3900
|
+
configured: import("zod").ZodLiteral<true>;
|
|
3901
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
3902
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
3903
|
+
name: import("zod").ZodString;
|
|
3904
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
3905
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
3906
|
+
}, import("zod/v4/core").$strict>>;
|
|
3426
3907
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3427
3908
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
3428
3909
|
createdAt: import("zod").ZodString;
|
|
@@ -3466,10 +3947,10 @@ export declare const OPERATIONS: readonly [{
|
|
|
3466
3947
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
3467
3948
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
3468
3949
|
status: import("zod").ZodEnum<{
|
|
3469
|
-
active: "active";
|
|
3470
|
-
completed: "completed";
|
|
3471
3950
|
paused: "paused";
|
|
3951
|
+
active: "active";
|
|
3472
3952
|
cancelled: "cancelled";
|
|
3953
|
+
completed: "completed";
|
|
3473
3954
|
}>;
|
|
3474
3955
|
updatedAt: import("zod").ZodString;
|
|
3475
3956
|
version: import("zod").ZodNumber;
|
|
@@ -3482,7 +3963,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3482
3963
|
lagSeconds: import("zod").ZodNumber;
|
|
3483
3964
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
3484
3965
|
nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3485
|
-
}, import("zod/v4/core").$strip
|
|
3966
|
+
}, import("zod/v4/core").$strip>;
|
|
3486
3967
|
readonly scopes: readonly ["schedules:read"];
|
|
3487
3968
|
readonly sessionAuthority: "headers";
|
|
3488
3969
|
readonly summary: "" | "List schedules";
|
|
@@ -3633,7 +4114,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3633
4114
|
readonly path: "/v1/billing/summary";
|
|
3634
4115
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
3635
4116
|
readonly problems: readonly ["billing_not_ready", "service_unavailable"];
|
|
3636
|
-
readonly response: import("zod").ZodObject<{
|
|
4117
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3637
4118
|
activation: import("zod").ZodObject<{
|
|
3638
4119
|
boundary: import("zod").ZodString;
|
|
3639
4120
|
mode: import("zod").ZodEnum<{
|
|
@@ -3761,7 +4242,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3761
4242
|
pending: import("zod").ZodBoolean;
|
|
3762
4243
|
priceVersion: import("zod").ZodString;
|
|
3763
4244
|
trialExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3764
|
-
}, import("zod/v4/core").$strip
|
|
4245
|
+
}, import("zod/v4/core").$strip>;
|
|
3765
4246
|
readonly scopes: readonly ["usage:read"];
|
|
3766
4247
|
readonly sessionAuthority: "headers";
|
|
3767
4248
|
readonly summary: "" | "Read exact execution-credit state";
|
|
@@ -3818,7 +4299,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3818
4299
|
scale: number;
|
|
3819
4300
|
};
|
|
3820
4301
|
};
|
|
3821
|
-
readonly response: import("zod").ZodObject<{
|
|
4302
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3822
4303
|
credit: import("zod").ZodObject<{
|
|
3823
4304
|
currency: import("zod").ZodLiteral<"USD">;
|
|
3824
4305
|
microdollars: import("zod").ZodString;
|
|
@@ -3830,7 +4311,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3830
4311
|
quote: import("zod").ZodString;
|
|
3831
4312
|
tax: import("zod").ZodLiteral<null>;
|
|
3832
4313
|
taxStatus: import("zod").ZodLiteral<"calculated-at-checkout">;
|
|
3833
|
-
}, import("zod/v4/core").$strict
|
|
4314
|
+
}, import("zod/v4/core").$strict>;
|
|
3834
4315
|
readonly scopes: readonly ["billing:write"];
|
|
3835
4316
|
readonly sessionAuthority: "headers";
|
|
3836
4317
|
readonly summary: "" | "Preview manual execution funding";
|
|
@@ -4008,7 +4489,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4008
4489
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
4009
4490
|
"Idempotency-Key": import("zod").ZodString;
|
|
4010
4491
|
}, import("zod/v4/core").$strip>;
|
|
4011
|
-
readonly response: import("zod").ZodObject<{
|
|
4492
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4012
4493
|
amount: import("zod").ZodObject<{
|
|
4013
4494
|
currency: import("zod").ZodLiteral<"USD">;
|
|
4014
4495
|
microdollars: import("zod").ZodString;
|
|
@@ -4018,7 +4499,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4018
4499
|
paymentOperation: import("zod").ZodString;
|
|
4019
4500
|
requestedAt: import("zod").ZodString;
|
|
4020
4501
|
state: import("zod").ZodLiteral<"operator-review-pending">;
|
|
4021
|
-
}, import("zod/v4/core").$strict
|
|
4502
|
+
}, import("zod/v4/core").$strict>;
|
|
4022
4503
|
}, {
|
|
4023
4504
|
readonly scopes: readonly ["billing:write"];
|
|
4024
4505
|
readonly summary: "" | "Complete or decline a refund reservation";
|
|
@@ -4086,7 +4567,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4086
4567
|
readonly scopes: readonly ["usage:read"];
|
|
4087
4568
|
readonly sessionAuthority: "headers";
|
|
4088
4569
|
readonly surfaces: readonly ["api", "mock"];
|
|
4089
|
-
readonly response: import("zod").ZodObject<{
|
|
4570
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4090
4571
|
includedProject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4091
4572
|
desiredRevision: import("zod").ZodNumber;
|
|
4092
4573
|
effectiveRevision: import("zod").ZodNumber;
|
|
@@ -4123,7 +4604,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4123
4604
|
paymentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4124
4605
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4125
4606
|
}, import("zod/v4/core").$strip>>;
|
|
4126
|
-
}, import("zod/v4/core").$strip
|
|
4607
|
+
}, import("zod/v4/core").$strip>;
|
|
4127
4608
|
readonly example: {};
|
|
4128
4609
|
readonly summary: "" | "Read named project billing access";
|
|
4129
4610
|
readonly problems: readonly ["service_unavailable", "state_conflict", "not_found", "revision_conflict", "test_to_live_escalation"];
|
|
@@ -4145,7 +4626,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4145
4626
|
readonly sessionAuthority: "headers";
|
|
4146
4627
|
readonly surfaces: readonly ["api", "mock"];
|
|
4147
4628
|
readonly environments: readonly ["live"];
|
|
4148
|
-
readonly response: import("zod").ZodObject<{
|
|
4629
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4149
4630
|
action: import("zod").ZodEnum<{
|
|
4150
4631
|
add: "add";
|
|
4151
4632
|
cancel: "cancel";
|
|
@@ -4168,7 +4649,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4168
4649
|
}, import("zod/v4/core").$strip>;
|
|
4169
4650
|
effectiveAt: import("zod").ZodString;
|
|
4170
4651
|
formerIncludedWillBlock: import("zod").ZodBoolean;
|
|
4171
|
-
}, import("zod/v4/core").$strict
|
|
4652
|
+
}, import("zod/v4/core").$strict>;
|
|
4172
4653
|
readonly example: {};
|
|
4173
4654
|
readonly summary: "" | "Preview a named project billing change";
|
|
4174
4655
|
readonly problems: readonly ["service_unavailable", "state_conflict", "not_found", "revision_conflict", "test_to_live_escalation"];
|
|
@@ -4206,7 +4687,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4206
4687
|
readonly sessionAuthority: "headers";
|
|
4207
4688
|
readonly surfaces: readonly ["api", "mock"];
|
|
4208
4689
|
readonly environments: readonly ["live"];
|
|
4209
|
-
readonly response: import("zod").ZodObject<{
|
|
4690
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4210
4691
|
includedProject: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4211
4692
|
desiredRevision: import("zod").ZodNumber;
|
|
4212
4693
|
effectiveRevision: import("zod").ZodNumber;
|
|
@@ -4243,7 +4724,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4243
4724
|
paymentUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4244
4725
|
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4245
4726
|
}, import("zod/v4/core").$strip>>;
|
|
4246
|
-
}, import("zod/v4/core").$strip
|
|
4727
|
+
}, import("zod/v4/core").$strip>;
|
|
4247
4728
|
readonly example: {};
|
|
4248
4729
|
readonly summary: "" | "Confirm a quoted project billing change";
|
|
4249
4730
|
readonly problems: readonly ["service_unavailable", "idempotency_key_reused", "state_conflict", "not_found", "revision_conflict", "test_to_live_escalation"];
|
|
@@ -4282,9 +4763,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
4282
4763
|
readonly sessionAuthority: "headers";
|
|
4283
4764
|
readonly surfaces: readonly ["api", "mock"];
|
|
4284
4765
|
readonly environments: readonly ["live"];
|
|
4285
|
-
readonly response: import("zod").ZodObject<{
|
|
4766
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4286
4767
|
url: import("zod").ZodString;
|
|
4287
|
-
}, import("zod/v4/core").$strip
|
|
4768
|
+
}, import("zod/v4/core").$strip>;
|
|
4288
4769
|
readonly example: {
|
|
4289
4770
|
url?: never;
|
|
4290
4771
|
} | {
|
|
@@ -4326,7 +4807,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4326
4807
|
readonly path: "/v1/billing/payment-method";
|
|
4327
4808
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
4328
4809
|
readonly problems: readonly ["service_unavailable"];
|
|
4329
|
-
readonly response: import("zod").ZodObject<{
|
|
4810
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4330
4811
|
card: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4331
4812
|
brand: import("zod").ZodString;
|
|
4332
4813
|
last4: import("zod").ZodString;
|
|
@@ -4349,7 +4830,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4349
4830
|
label: import("zod").ZodString;
|
|
4350
4831
|
providerType: import("zod").ZodString;
|
|
4351
4832
|
}, import("zod/v4/core").$strict>], "type">>;
|
|
4352
|
-
}, import("zod/v4/core").$strict
|
|
4833
|
+
}, import("zod/v4/core").$strict>;
|
|
4353
4834
|
readonly scopes: readonly ["usage:read"];
|
|
4354
4835
|
readonly sessionAuthority: "headers";
|
|
4355
4836
|
readonly summary: "" | "Read the saved payment method";
|
|
@@ -4384,7 +4865,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4384
4865
|
readonly path: "/v1/billing/invoices";
|
|
4385
4866
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
4386
4867
|
readonly problems: readonly ["service_unavailable"];
|
|
4387
|
-
readonly response: import("zod").ZodObject<{
|
|
4868
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4388
4869
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4389
4870
|
id: import("zod").ZodString;
|
|
4390
4871
|
createdAt: import("zod").ZodString;
|
|
@@ -4401,7 +4882,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4401
4882
|
}>;
|
|
4402
4883
|
receiptUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4403
4884
|
}, import("zod/v4/core").$strict>>;
|
|
4404
|
-
}, import("zod/v4/core").$strict
|
|
4885
|
+
}, import("zod/v4/core").$strict>;
|
|
4405
4886
|
readonly scopes: readonly ["usage:read"];
|
|
4406
4887
|
readonly sessionAuthority: "headers";
|
|
4407
4888
|
readonly summary: "" | "List project subscription charges";
|
|
@@ -4431,9 +4912,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
4431
4912
|
returnUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4432
4913
|
}, import("zod/v4/core").$strict>;
|
|
4433
4914
|
readonly requestExample: {};
|
|
4434
|
-
readonly response: import("zod").ZodObject<{
|
|
4915
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4435
4916
|
url: import("zod").ZodString;
|
|
4436
|
-
}, import("zod/v4/core").$strip
|
|
4917
|
+
}, import("zod/v4/core").$strip>;
|
|
4437
4918
|
readonly scopes: readonly ["billing:write"];
|
|
4438
4919
|
readonly sessionAuthority: "headers";
|
|
4439
4920
|
readonly summary: "" | "Start saving a payment method";
|
|
@@ -4481,7 +4962,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4481
4962
|
} | {
|
|
4482
4963
|
checkoutSession: string;
|
|
4483
4964
|
};
|
|
4484
|
-
readonly response: import("zod").ZodObject<{
|
|
4965
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4485
4966
|
card: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4486
4967
|
brand: import("zod").ZodString;
|
|
4487
4968
|
last4: import("zod").ZodString;
|
|
@@ -4504,7 +4985,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4504
4985
|
label: import("zod").ZodString;
|
|
4505
4986
|
providerType: import("zod").ZodString;
|
|
4506
4987
|
}, import("zod/v4/core").$strict>], "type">>;
|
|
4507
|
-
}, import("zod/v4/core").$strict
|
|
4988
|
+
}, import("zod/v4/core").$strict>;
|
|
4508
4989
|
readonly scopes: readonly ["billing:write"];
|
|
4509
4990
|
readonly sessionAuthority: "headers";
|
|
4510
4991
|
readonly summary: "" | "Confirm a saved payment method";
|
|
@@ -4540,7 +5021,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4540
5021
|
} | {
|
|
4541
5022
|
confirmed: boolean;
|
|
4542
5023
|
};
|
|
4543
|
-
readonly response: import("zod").ZodObject<{
|
|
5024
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4544
5025
|
card: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
4545
5026
|
brand: import("zod").ZodString;
|
|
4546
5027
|
last4: import("zod").ZodString;
|
|
@@ -4563,7 +5044,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4563
5044
|
label: import("zod").ZodString;
|
|
4564
5045
|
providerType: import("zod").ZodString;
|
|
4565
5046
|
}, import("zod/v4/core").$strict>], "type">>;
|
|
4566
|
-
}, import("zod/v4/core").$strict
|
|
5047
|
+
}, import("zod/v4/core").$strict>;
|
|
4567
5048
|
readonly scopes: readonly ["billing:write"];
|
|
4568
5049
|
readonly sessionAuthority: "headers";
|
|
4569
5050
|
readonly summary: "" | "Remove the saved payment method";
|
|
@@ -4585,7 +5066,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4585
5066
|
readonly path: "/v1/billing/reconcile";
|
|
4586
5067
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
4587
5068
|
readonly problems: readonly ["billing_not_ready", "service_unavailable", "test_to_live_escalation"];
|
|
4588
|
-
readonly response: import("zod").ZodObject<{
|
|
5069
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4589
5070
|
activation: import("zod").ZodObject<{
|
|
4590
5071
|
boundary: import("zod").ZodString;
|
|
4591
5072
|
mode: import("zod").ZodEnum<{
|
|
@@ -4713,7 +5194,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4713
5194
|
pending: import("zod").ZodBoolean;
|
|
4714
5195
|
priceVersion: import("zod").ZodString;
|
|
4715
5196
|
trialExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4716
|
-
}, import("zod/v4/core").$strip
|
|
5197
|
+
}, import("zod/v4/core").$strip>;
|
|
4717
5198
|
readonly scopes: readonly ["billing:write"];
|
|
4718
5199
|
readonly sessionAuthority: "headers";
|
|
4719
5200
|
readonly summary: "" | "Advance one pending billing policy";
|
|
@@ -4799,7 +5280,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4799
5280
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
4800
5281
|
"Idempotency-Key": import("zod").ZodString;
|
|
4801
5282
|
}, import("zod/v4/core").$strip>;
|
|
4802
|
-
readonly response: import("zod").ZodObject<{
|
|
5283
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4803
5284
|
budgetPolicy: import("zod").ZodObject<{
|
|
4804
5285
|
desired: import("zod").ZodObject<{
|
|
4805
5286
|
advisoryBudget: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
@@ -4820,7 +5301,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4820
5301
|
freshness: import("zod").ZodObject<{
|
|
4821
5302
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
4822
5303
|
}, import("zod/v4/core").$strip>;
|
|
4823
|
-
}, import("zod/v4/core").$strip
|
|
5304
|
+
}, import("zod/v4/core").$strip>;
|
|
4824
5305
|
}, {
|
|
4825
5306
|
readonly creates: false;
|
|
4826
5307
|
readonly description: "" | "Lists the verified principal's organization ledger in immutable sequence order. Each entry is one exact signed microdollar fact with safe attempt, lot, payment-operation and event references. Raw callback data, card data, internal causal keys and ledger detail have no field in the response. The opaque cursor is bound to the principal's organization, project and environment and cannot widen authority.";
|
|
@@ -4865,7 +5346,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4865
5346
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4866
5347
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
4867
5348
|
}, import("zod/v4/core").$strip>;
|
|
4868
|
-
readonly response: import("zod").ZodObject<{
|
|
5349
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4869
5350
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4870
5351
|
amount: import("zod").ZodObject<{
|
|
4871
5352
|
currency: import("zod").ZodLiteral<"USD">;
|
|
@@ -4926,7 +5407,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4926
5407
|
freshness: import("zod").ZodObject<{
|
|
4927
5408
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
4928
5409
|
}, import("zod/v4/core").$strip>;
|
|
4929
|
-
}, import("zod/v4/core").$strip
|
|
5410
|
+
}, import("zod/v4/core").$strip>;
|
|
4930
5411
|
readonly scopes: readonly ["usage:read"];
|
|
4931
5412
|
readonly sessionAuthority: "headers";
|
|
4932
5413
|
readonly summary: "" | "List immutable billing entries";
|
|
@@ -4966,7 +5447,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4966
5447
|
readonly path: "/v1/limits";
|
|
4967
5448
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
4968
5449
|
readonly problems: readonly ["service_unavailable"];
|
|
4969
|
-
readonly response: import("zod").ZodObject<{
|
|
5450
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4970
5451
|
limits: import("zod").ZodObject<{
|
|
4971
5452
|
inlinePayloadBytes: import("zod").ZodNumber;
|
|
4972
5453
|
partitionKeyCeiling: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -4975,26 +5456,26 @@ export declare const OPERATIONS: readonly [{
|
|
|
4975
5456
|
}, import("zod/v4/core").$strict>;
|
|
4976
5457
|
provenance: import("zod").ZodObject<{
|
|
4977
5458
|
inlinePayloadBytes: import("zod").ZodEnum<{
|
|
4978
|
-
organization: "organization";
|
|
4979
5459
|
default: "default";
|
|
5460
|
+
organization: "organization";
|
|
4980
5461
|
global: "global";
|
|
4981
5462
|
deployment: "deployment";
|
|
4982
5463
|
}>;
|
|
4983
5464
|
partitionKeyCeiling: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4984
|
-
organization: "organization";
|
|
4985
5465
|
default: "default";
|
|
5466
|
+
organization: "organization";
|
|
4986
5467
|
global: "global";
|
|
4987
5468
|
deployment: "deployment";
|
|
4988
5469
|
}>>;
|
|
4989
5470
|
forecastHorizonSeconds: import("zod").ZodEnum<{
|
|
4990
|
-
organization: "organization";
|
|
4991
5471
|
default: "default";
|
|
5472
|
+
organization: "organization";
|
|
4992
5473
|
global: "global";
|
|
4993
5474
|
deployment: "deployment";
|
|
4994
5475
|
}>;
|
|
4995
5476
|
usageWindowDays: import("zod").ZodEnum<{
|
|
4996
|
-
organization: "organization";
|
|
4997
5477
|
default: "default";
|
|
5478
|
+
organization: "organization";
|
|
4998
5479
|
global: "global";
|
|
4999
5480
|
deployment: "deployment";
|
|
5000
5481
|
}>;
|
|
@@ -5003,7 +5484,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5003
5484
|
global: import("zod").ZodNumber;
|
|
5004
5485
|
organization: import("zod").ZodNumber;
|
|
5005
5486
|
}, import("zod/v4/core").$strict>;
|
|
5006
|
-
}, import("zod/v4/core").$strict
|
|
5487
|
+
}, import("zod/v4/core").$strict>;
|
|
5007
5488
|
readonly scopes: readonly ["schedules:read"];
|
|
5008
5489
|
readonly sessionAuthority: "headers";
|
|
5009
5490
|
readonly summary: "" | "Read effective customer limits";
|
|
@@ -5291,7 +5772,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5291
5772
|
newest: "newest";
|
|
5292
5773
|
}>>;
|
|
5293
5774
|
}, import("zod/v4/core").$strip>;
|
|
5294
|
-
readonly response: import("zod").ZodObject<{
|
|
5775
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5295
5776
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5296
5777
|
generation: import("zod").ZodNumber;
|
|
5297
5778
|
id: import("zod").ZodString;
|
|
@@ -5300,9 +5781,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
5300
5781
|
sequence: import("zod").ZodNumber;
|
|
5301
5782
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5302
5783
|
state: import("zod").ZodEnum<{
|
|
5303
|
-
due: "due";
|
|
5304
5784
|
succeeded: "succeeded";
|
|
5305
5785
|
ambiguous: "ambiguous";
|
|
5786
|
+
due: "due";
|
|
5306
5787
|
cancelled: "cancelled";
|
|
5307
5788
|
planned: "planned";
|
|
5308
5789
|
dispatching: "dispatching";
|
|
@@ -5325,7 +5806,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5325
5806
|
freshness: import("zod").ZodObject<{
|
|
5326
5807
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
5327
5808
|
}, import("zod/v4/core").$strip>;
|
|
5328
|
-
}, import("zod/v4/core").$strip
|
|
5809
|
+
}, import("zod/v4/core").$strip>;
|
|
5329
5810
|
readonly scopes: readonly ["occurrences:read"];
|
|
5330
5811
|
readonly sessionAuthority: "headers";
|
|
5331
5812
|
readonly summary: "" | "List retained occurrences";
|
|
@@ -5373,9 +5854,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
5373
5854
|
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5374
5855
|
from: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5375
5856
|
outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
5376
|
-
due: "due";
|
|
5377
5857
|
succeeded: "succeeded";
|
|
5378
5858
|
ambiguous: "ambiguous";
|
|
5859
|
+
due: "due";
|
|
5379
5860
|
cancelled: "cancelled";
|
|
5380
5861
|
planned: "planned";
|
|
5381
5862
|
dispatching: "dispatching";
|
|
@@ -5386,7 +5867,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5386
5867
|
schedule: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5387
5868
|
to: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5388
5869
|
}, import("zod/v4/core").$strip>;
|
|
5389
|
-
readonly response: import("zod").ZodObject<{
|
|
5870
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5390
5871
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5391
5872
|
generation: import("zod").ZodNumber;
|
|
5392
5873
|
id: import("zod").ZodString;
|
|
@@ -5395,9 +5876,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
5395
5876
|
sequence: import("zod").ZodNumber;
|
|
5396
5877
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5397
5878
|
state: import("zod").ZodEnum<{
|
|
5398
|
-
due: "due";
|
|
5399
5879
|
succeeded: "succeeded";
|
|
5400
5880
|
ambiguous: "ambiguous";
|
|
5881
|
+
due: "due";
|
|
5401
5882
|
cancelled: "cancelled";
|
|
5402
5883
|
planned: "planned";
|
|
5403
5884
|
dispatching: "dispatching";
|
|
@@ -5423,7 +5904,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5423
5904
|
retention: import("zod").ZodObject<{
|
|
5424
5905
|
from: import("zod").ZodString;
|
|
5425
5906
|
}, import("zod/v4/core").$strip>;
|
|
5426
|
-
}, import("zod/v4/core").$strip
|
|
5907
|
+
}, import("zod/v4/core").$strip>;
|
|
5427
5908
|
readonly scopes: readonly ["occurrences:read"];
|
|
5428
5909
|
readonly sessionAuthority: "headers";
|
|
5429
5910
|
readonly summary: "" | "List project executions";
|
|
@@ -5465,7 +5946,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5465
5946
|
readonly path: "/v1/schedules/{scheduleId}/occurrences/{occurrenceId}";
|
|
5466
5947
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
5467
5948
|
readonly problems: readonly ["invalid_request", "not_found"];
|
|
5468
|
-
readonly response: import("zod").ZodObject<{
|
|
5949
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5469
5950
|
freshness: import("zod").ZodObject<{
|
|
5470
5951
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
5471
5952
|
}, import("zod/v4/core").$strip>;
|
|
@@ -5477,9 +5958,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
5477
5958
|
sequence: import("zod").ZodNumber;
|
|
5478
5959
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5479
5960
|
state: import("zod").ZodEnum<{
|
|
5480
|
-
due: "due";
|
|
5481
5961
|
succeeded: "succeeded";
|
|
5482
5962
|
ambiguous: "ambiguous";
|
|
5963
|
+
due: "due";
|
|
5483
5964
|
cancelled: "cancelled";
|
|
5484
5965
|
planned: "planned";
|
|
5485
5966
|
dispatching: "dispatching";
|
|
@@ -5498,7 +5979,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5498
5979
|
timingPolicyVersion: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5499
5980
|
attemptCount: import("zod").ZodNumber;
|
|
5500
5981
|
}, import("zod/v4/core").$strip>;
|
|
5501
|
-
}, import("zod/v4/core").$strip
|
|
5982
|
+
}, import("zod/v4/core").$strip>;
|
|
5502
5983
|
readonly scopes: readonly ["occurrences:read"];
|
|
5503
5984
|
readonly sessionAuthority: "headers";
|
|
5504
5985
|
readonly summary: "" | "Read an occurrence";
|
|
@@ -5554,7 +6035,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5554
6035
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5555
6036
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
5556
6037
|
}, import("zod/v4/core").$strip>;
|
|
5557
|
-
readonly response: import("zod").ZodObject<{
|
|
6038
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5558
6039
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5559
6040
|
id: import("zod").ZodString;
|
|
5560
6041
|
localReceiptRecoveries: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -5574,6 +6055,50 @@ export declare const OPERATIONS: readonly [{
|
|
|
5574
6055
|
text: import("zod").ZodString;
|
|
5575
6056
|
truncated: import("zod").ZodBoolean;
|
|
5576
6057
|
}, import("zod/v4/core").$strip>>;
|
|
6058
|
+
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6059
|
+
statusText: import("zod").ZodString;
|
|
6060
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6061
|
+
name: import("zod").ZodString;
|
|
6062
|
+
value: import("zod").ZodString;
|
|
6063
|
+
}, import("zod/v4/core").$strip>>;
|
|
6064
|
+
bodyState: import("zod").ZodEnum<{
|
|
6065
|
+
captured: "captured";
|
|
6066
|
+
empty: "empty";
|
|
6067
|
+
expired: "expired";
|
|
6068
|
+
not_captured: "not_captured";
|
|
6069
|
+
}>;
|
|
6070
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6071
|
+
contentType: import("zod").ZodString;
|
|
6072
|
+
encoding: import("zod").ZodEnum<{
|
|
6073
|
+
utf8: "utf8";
|
|
6074
|
+
base64: "base64";
|
|
6075
|
+
}>;
|
|
6076
|
+
content: import("zod").ZodString;
|
|
6077
|
+
capturedBytes: import("zod").ZodInt;
|
|
6078
|
+
originalBytes: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
6079
|
+
truncated: import("zod").ZodBoolean;
|
|
6080
|
+
redacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6081
|
+
incomplete: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6082
|
+
}, import("zod/v4/core").$strip>>;
|
|
6083
|
+
}, import("zod/v4/core").$strip>>;
|
|
6084
|
+
request: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6085
|
+
method: import("zod").ZodEnum<{
|
|
6086
|
+
POST: "POST";
|
|
6087
|
+
PUT: "PUT";
|
|
6088
|
+
GET: "GET";
|
|
6089
|
+
}>;
|
|
6090
|
+
url: import("zod").ZodString;
|
|
6091
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6092
|
+
name: import("zod").ZodString;
|
|
6093
|
+
value: import("zod").ZodString;
|
|
6094
|
+
}, import("zod/v4/core").$strip>>;
|
|
6095
|
+
body: import("zod").ZodString;
|
|
6096
|
+
}, import("zod/v4/core").$strip>>;
|
|
6097
|
+
requestState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
6098
|
+
captured: "captured";
|
|
6099
|
+
expired: "expired";
|
|
6100
|
+
not_captured: "not_captured";
|
|
6101
|
+
}>>;
|
|
5577
6102
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5578
6103
|
name: import("zod").ZodString;
|
|
5579
6104
|
value: import("zod").ZodString;
|
|
@@ -5606,8 +6131,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
5606
6131
|
delivery: import("zod").ZodString;
|
|
5607
6132
|
diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
5608
6133
|
rate_limited: "rate_limited";
|
|
5609
|
-
delivered: "delivered";
|
|
5610
6134
|
completion_timed_out: "completion_timed_out";
|
|
6135
|
+
delivered: "delivered";
|
|
5611
6136
|
duplicate_inflight: "duplicate_inflight";
|
|
5612
6137
|
endpoint_unavailable: "endpoint_unavailable";
|
|
5613
6138
|
endpoint_unsafe: "endpoint_unsafe";
|
|
@@ -5625,7 +6150,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5625
6150
|
freshness: import("zod").ZodObject<{
|
|
5626
6151
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
5627
6152
|
}, import("zod/v4/core").$strip>;
|
|
5628
|
-
}, import("zod/v4/core").$strip
|
|
6153
|
+
}, import("zod/v4/core").$strip>;
|
|
5629
6154
|
readonly scopes: readonly ["occurrences:read"];
|
|
5630
6155
|
readonly sessionAuthority: "headers";
|
|
5631
6156
|
readonly summary: "" | "List delivery attempts";
|
|
@@ -5674,7 +6199,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5674
6199
|
readonly path: "/v1/schedules/{scheduleId}/occurrences/{occurrenceId}/attempts/{attemptId}";
|
|
5675
6200
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
5676
6201
|
readonly problems: readonly ["invalid_request", "not_found"];
|
|
5677
|
-
readonly response: import("zod").ZodObject<{
|
|
6202
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5678
6203
|
attempt: import("zod").ZodObject<{
|
|
5679
6204
|
id: import("zod").ZodString;
|
|
5680
6205
|
localReceiptRecoveries: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -5694,6 +6219,50 @@ export declare const OPERATIONS: readonly [{
|
|
|
5694
6219
|
text: import("zod").ZodString;
|
|
5695
6220
|
truncated: import("zod").ZodBoolean;
|
|
5696
6221
|
}, import("zod/v4/core").$strip>>;
|
|
6222
|
+
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6223
|
+
statusText: import("zod").ZodString;
|
|
6224
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6225
|
+
name: import("zod").ZodString;
|
|
6226
|
+
value: import("zod").ZodString;
|
|
6227
|
+
}, import("zod/v4/core").$strip>>;
|
|
6228
|
+
bodyState: import("zod").ZodEnum<{
|
|
6229
|
+
captured: "captured";
|
|
6230
|
+
empty: "empty";
|
|
6231
|
+
expired: "expired";
|
|
6232
|
+
not_captured: "not_captured";
|
|
6233
|
+
}>;
|
|
6234
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6235
|
+
contentType: import("zod").ZodString;
|
|
6236
|
+
encoding: import("zod").ZodEnum<{
|
|
6237
|
+
utf8: "utf8";
|
|
6238
|
+
base64: "base64";
|
|
6239
|
+
}>;
|
|
6240
|
+
content: import("zod").ZodString;
|
|
6241
|
+
capturedBytes: import("zod").ZodInt;
|
|
6242
|
+
originalBytes: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
6243
|
+
truncated: import("zod").ZodBoolean;
|
|
6244
|
+
redacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6245
|
+
incomplete: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6246
|
+
}, import("zod/v4/core").$strip>>;
|
|
6247
|
+
}, import("zod/v4/core").$strip>>;
|
|
6248
|
+
request: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6249
|
+
method: import("zod").ZodEnum<{
|
|
6250
|
+
POST: "POST";
|
|
6251
|
+
PUT: "PUT";
|
|
6252
|
+
GET: "GET";
|
|
6253
|
+
}>;
|
|
6254
|
+
url: import("zod").ZodString;
|
|
6255
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6256
|
+
name: import("zod").ZodString;
|
|
6257
|
+
value: import("zod").ZodString;
|
|
6258
|
+
}, import("zod/v4/core").$strip>>;
|
|
6259
|
+
body: import("zod").ZodString;
|
|
6260
|
+
}, import("zod/v4/core").$strip>>;
|
|
6261
|
+
requestState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
6262
|
+
captured: "captured";
|
|
6263
|
+
expired: "expired";
|
|
6264
|
+
not_captured: "not_captured";
|
|
6265
|
+
}>>;
|
|
5697
6266
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5698
6267
|
name: import("zod").ZodString;
|
|
5699
6268
|
value: import("zod").ZodString;
|
|
@@ -5726,8 +6295,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
5726
6295
|
delivery: import("zod").ZodString;
|
|
5727
6296
|
diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
5728
6297
|
rate_limited: "rate_limited";
|
|
5729
|
-
delivered: "delivered";
|
|
5730
6298
|
completion_timed_out: "completion_timed_out";
|
|
6299
|
+
delivered: "delivered";
|
|
5731
6300
|
duplicate_inflight: "duplicate_inflight";
|
|
5732
6301
|
endpoint_unavailable: "endpoint_unavailable";
|
|
5733
6302
|
endpoint_unsafe: "endpoint_unsafe";
|
|
@@ -5744,7 +6313,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5744
6313
|
freshness: import("zod").ZodObject<{
|
|
5745
6314
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
5746
6315
|
}, import("zod/v4/core").$strip>;
|
|
5747
|
-
}, import("zod/v4/core").$strip
|
|
6316
|
+
}, import("zod/v4/core").$strip>;
|
|
5748
6317
|
readonly scopes: readonly ["occurrences:read"];
|
|
5749
6318
|
readonly sessionAuthority: "headers";
|
|
5750
6319
|
readonly summary: "" | "Read a delivery attempt";
|
|
@@ -5795,7 +6364,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5795
6364
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
5796
6365
|
"Idempotency-Key": import("zod").ZodString;
|
|
5797
6366
|
}, import("zod/v4/core").$strip>;
|
|
5798
|
-
readonly response: import("zod").ZodObject<{
|
|
6367
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5799
6368
|
attempt: import("zod").ZodObject<{
|
|
5800
6369
|
id: import("zod").ZodString;
|
|
5801
6370
|
localReceiptRecoveries: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
@@ -5815,6 +6384,50 @@ export declare const OPERATIONS: readonly [{
|
|
|
5815
6384
|
text: import("zod").ZodString;
|
|
5816
6385
|
truncated: import("zod").ZodBoolean;
|
|
5817
6386
|
}, import("zod/v4/core").$strip>>;
|
|
6387
|
+
response: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6388
|
+
statusText: import("zod").ZodString;
|
|
6389
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6390
|
+
name: import("zod").ZodString;
|
|
6391
|
+
value: import("zod").ZodString;
|
|
6392
|
+
}, import("zod/v4/core").$strip>>;
|
|
6393
|
+
bodyState: import("zod").ZodEnum<{
|
|
6394
|
+
captured: "captured";
|
|
6395
|
+
empty: "empty";
|
|
6396
|
+
expired: "expired";
|
|
6397
|
+
not_captured: "not_captured";
|
|
6398
|
+
}>;
|
|
6399
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6400
|
+
contentType: import("zod").ZodString;
|
|
6401
|
+
encoding: import("zod").ZodEnum<{
|
|
6402
|
+
utf8: "utf8";
|
|
6403
|
+
base64: "base64";
|
|
6404
|
+
}>;
|
|
6405
|
+
content: import("zod").ZodString;
|
|
6406
|
+
capturedBytes: import("zod").ZodInt;
|
|
6407
|
+
originalBytes: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
6408
|
+
truncated: import("zod").ZodBoolean;
|
|
6409
|
+
redacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6410
|
+
incomplete: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6411
|
+
}, import("zod/v4/core").$strip>>;
|
|
6412
|
+
}, import("zod/v4/core").$strip>>;
|
|
6413
|
+
request: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6414
|
+
method: import("zod").ZodEnum<{
|
|
6415
|
+
POST: "POST";
|
|
6416
|
+
PUT: "PUT";
|
|
6417
|
+
GET: "GET";
|
|
6418
|
+
}>;
|
|
6419
|
+
url: import("zod").ZodString;
|
|
6420
|
+
headers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
6421
|
+
name: import("zod").ZodString;
|
|
6422
|
+
value: import("zod").ZodString;
|
|
6423
|
+
}, import("zod/v4/core").$strip>>;
|
|
6424
|
+
body: import("zod").ZodString;
|
|
6425
|
+
}, import("zod/v4/core").$strip>>;
|
|
6426
|
+
requestState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
6427
|
+
captured: "captured";
|
|
6428
|
+
expired: "expired";
|
|
6429
|
+
not_captured: "not_captured";
|
|
6430
|
+
}>>;
|
|
5818
6431
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
5819
6432
|
name: import("zod").ZodString;
|
|
5820
6433
|
value: import("zod").ZodString;
|
|
@@ -5847,8 +6460,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
5847
6460
|
delivery: import("zod").ZodString;
|
|
5848
6461
|
diagnostic: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
5849
6462
|
rate_limited: "rate_limited";
|
|
5850
|
-
delivered: "delivered";
|
|
5851
6463
|
completion_timed_out: "completion_timed_out";
|
|
6464
|
+
delivered: "delivered";
|
|
5852
6465
|
duplicate_inflight: "duplicate_inflight";
|
|
5853
6466
|
endpoint_unavailable: "endpoint_unavailable";
|
|
5854
6467
|
endpoint_unsafe: "endpoint_unsafe";
|
|
@@ -5865,7 +6478,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5865
6478
|
freshness: import("zod").ZodObject<{
|
|
5866
6479
|
kind: import("zod").ZodLiteral<"authoritative">;
|
|
5867
6480
|
}, import("zod/v4/core").$strip>;
|
|
5868
|
-
}, import("zod/v4/core").$strip
|
|
6481
|
+
}, import("zod/v4/core").$strip>;
|
|
5869
6482
|
}, {
|
|
5870
6483
|
readonly scopes: readonly ["schedules:write"];
|
|
5871
6484
|
readonly sessionAuthority: "headers";
|
|
@@ -5875,7 +6488,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5875
6488
|
ETag: import("zod").ZodString;
|
|
5876
6489
|
}, import("zod/v4/core").$strip>;
|
|
5877
6490
|
readonly creates: false;
|
|
5878
|
-
readonly description: "" | "Replaces a schedule's definition, starting a new generation. Takes the same four ways of saying when as a create, so a one-shot can be replaced by a recurring definition and the other way round. An omitted callback endpoint/data pair preserves the stored callback; sending `data` alone replaces the encrypted data for the current endpoint, and sending `endpoint` selects a verified endpoint in the same authority tuple. The occurrence planned under the old definition is settled `skipped_stale` and can never fire unless it was already in flight, in which case its immutable attempt is allowed to settle honestly; a fresh occurrence is planned under the new definition, and the old definition's series stops advancing. `lateness` is resolved afresh against the replacement recurrence: omit it for that kind's default, or state `skipAhead`, `catchUp`, and an optional `maxStalenessSeconds` override. The policy applies only before an occurrence's first attempt; a retry already in progress remains on its retry and give-up ladder. Send `If-Match` with the version you read to make this conditional; without it the replace is unconditional and the last writer wins. A cancelled or completed schedule cannot be replaced. `partitionKey` is fixed when the schedule is created: omit it to preserve the stored value or echo that exact value in a GET → modify → PUT flow. Adding, changing, or clearing it is refused as `invalid_request` with `/partitionKey` identified. `latencyClass` remains derived from the replacement recurrence when the caller omits it.";
|
|
6491
|
+
readonly description: "" | "Replaces a schedule's definition, starting a new generation. Takes the same four ways of saying when as a create, so a one-shot can be replaced by a recurring definition and the other way round. An omitted callback endpoint/data pair preserves the stored callback; sending `data` alone replaces the encrypted data for the current endpoint, and sending `endpoint` selects a verified endpoint in the same authority tuple. Sending `url` instead selects the endpoint at that address in the same tuple, creating one silently when there is none; creating needs `endpoints:write` as well, and the response's `endpointSigningSecret` says where its signing secret is revealed. Omitted `http` preserves HTTP settings. Its headers are a patch: `set` replaces a value, `keep` retains a configured value, `suppress` omits an endpoint default, and `remove` resumes inheritance. Explicit GET with no body clears a saved custom template; POST/PUT with `body: { mode: 'envelope' }` restores the structured callback. The occurrence planned under the old definition is settled `skipped_stale` and can never fire unless it was already in flight, in which case its immutable attempt is allowed to settle honestly; a fresh occurrence is planned under the new definition, and the old definition's series stops advancing. `lateness` is resolved afresh against the replacement recurrence: omit it for that kind's default, or state `skipAhead`, `catchUp`, and an optional `maxStalenessSeconds` override. The policy applies only before an occurrence's first attempt; a retry already in progress remains on its retry and give-up ladder. Send `If-Match` with the version you read to make this conditional; without it the replace is unconditional and the last writer wins. A cancelled or completed schedule cannot be replaced. `partitionKey` is fixed when the schedule is created: omit it to preserve the stored value or echo that exact value in a GET → modify → PUT flow. Adding, changing, or clearing it is refused as `invalid_request` with `/partitionKey` identified. `latencyClass` remains derived from the replacement recurrence when the caller omits it.";
|
|
5879
6492
|
readonly example: {
|
|
5880
6493
|
occurrence?: never;
|
|
5881
6494
|
schedule?: never;
|
|
@@ -5917,9 +6530,40 @@ export declare const OPERATIONS: readonly [{
|
|
|
5917
6530
|
readonly method: "PUT";
|
|
5918
6531
|
readonly mutates: true;
|
|
5919
6532
|
readonly path: "/v1/schedules/{scheduleId}";
|
|
6533
|
+
readonly conditionalScopes: readonly ["endpoints:write"];
|
|
6534
|
+
readonly conditionalScopesWhen: "the request names a `url` this project and environment has no endpoint at yet";
|
|
5920
6535
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
5921
|
-
readonly problems: readonly ["invalid_request", "not_found", "plan_limit_reached", "service_unavailable", "state_conflict", "version_conflict"];
|
|
6536
|
+
readonly problems: readonly ["invalid_request", "not_found", "plan_limit_reached", "rate_limited", "scope_missing", "service_unavailable", "state_conflict", "version_conflict"];
|
|
5922
6537
|
readonly request: import("zod").ZodObject<{
|
|
6538
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
6539
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6540
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
6541
|
+
POST: "POST";
|
|
6542
|
+
PUT: "PUT";
|
|
6543
|
+
GET: "GET";
|
|
6544
|
+
}>>;
|
|
6545
|
+
body: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
6546
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
6547
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6548
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
6549
|
+
value: import("zod").ZodJSONSchema;
|
|
6550
|
+
}, import("zod/v4/core").$strict>], "mode">>;
|
|
6551
|
+
headers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
6552
|
+
action: import("zod").ZodLiteral<"set">;
|
|
6553
|
+
name: import("zod").ZodString;
|
|
6554
|
+
value: import("zod").ZodString;
|
|
6555
|
+
secret: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6556
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6557
|
+
action: import("zod").ZodLiteral<"keep">;
|
|
6558
|
+
name: import("zod").ZodString;
|
|
6559
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6560
|
+
action: import("zod").ZodLiteral<"remove">;
|
|
6561
|
+
name: import("zod").ZodString;
|
|
6562
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6563
|
+
action: import("zod").ZodLiteral<"suppress">;
|
|
6564
|
+
name: import("zod").ZodString;
|
|
6565
|
+
}, import("zod/v4/core").$strict>], "action">>>;
|
|
6566
|
+
}, import("zod/v4/core").$strict>>;
|
|
5923
6567
|
at: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5924
6568
|
cron: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5925
6569
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
@@ -5937,6 +6581,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5937
6581
|
}, import("zod/v4/core").$strict>>;
|
|
5938
6582
|
everySeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5939
6583
|
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6584
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5940
6585
|
latencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
5941
6586
|
realtime: "realtime";
|
|
5942
6587
|
bulk: "bulk";
|
|
@@ -5973,7 +6618,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5973
6618
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
5974
6619
|
"If-Match": import("zod").ZodOptional<import("zod").ZodString>;
|
|
5975
6620
|
}, import("zod/v4/core").$strip>;
|
|
5976
|
-
readonly response: import("zod").ZodObject<{
|
|
6621
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
5977
6622
|
occurrence: import("zod").ZodObject<{
|
|
5978
6623
|
generation: import("zod").ZodNumber;
|
|
5979
6624
|
id: import("zod").ZodString;
|
|
@@ -5982,9 +6627,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
5982
6627
|
sequence: import("zod").ZodNumber;
|
|
5983
6628
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5984
6629
|
state: import("zod").ZodEnum<{
|
|
5985
|
-
due: "due";
|
|
5986
6630
|
succeeded: "succeeded";
|
|
5987
6631
|
ambiguous: "ambiguous";
|
|
6632
|
+
due: "due";
|
|
5988
6633
|
cancelled: "cancelled";
|
|
5989
6634
|
planned: "planned";
|
|
5990
6635
|
dispatching: "dispatching";
|
|
@@ -6004,6 +6649,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
6004
6649
|
attemptCount: import("zod").ZodNumber;
|
|
6005
6650
|
}, import("zod/v4/core").$strip>;
|
|
6006
6651
|
schedule: import("zod").ZodObject<{
|
|
6652
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
6653
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6654
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
6655
|
+
failedRuns: import("zod").ZodNumber;
|
|
6656
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6657
|
+
diagnostic: import("zod").ZodString;
|
|
6658
|
+
pausedAt: import("zod").ZodString;
|
|
6659
|
+
}, import("zod/v4/core").$strip>>>;
|
|
6660
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6661
|
+
method: import("zod").ZodEnum<{
|
|
6662
|
+
POST: "POST";
|
|
6663
|
+
PUT: "PUT";
|
|
6664
|
+
GET: "GET";
|
|
6665
|
+
}>;
|
|
6666
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
6667
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
6668
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6669
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
6670
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6671
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
6672
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6673
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
6674
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
6675
|
+
name: import("zod").ZodString;
|
|
6676
|
+
secret: import("zod").ZodLiteral<false>;
|
|
6677
|
+
value: import("zod").ZodString;
|
|
6678
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6679
|
+
name: import("zod").ZodString;
|
|
6680
|
+
secret: import("zod").ZodLiteral<true>;
|
|
6681
|
+
configured: import("zod").ZodLiteral<true>;
|
|
6682
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
6683
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6684
|
+
name: import("zod").ZodString;
|
|
6685
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
6686
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
6687
|
+
}, import("zod/v4/core").$strict>>;
|
|
6007
6688
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6008
6689
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6009
6690
|
createdAt: import("zod").ZodString;
|
|
@@ -6047,15 +6728,20 @@ export declare const OPERATIONS: readonly [{
|
|
|
6047
6728
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
6048
6729
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
6049
6730
|
status: import("zod").ZodEnum<{
|
|
6050
|
-
active: "active";
|
|
6051
|
-
completed: "completed";
|
|
6052
6731
|
paused: "paused";
|
|
6732
|
+
active: "active";
|
|
6053
6733
|
cancelled: "cancelled";
|
|
6734
|
+
completed: "completed";
|
|
6054
6735
|
}>;
|
|
6055
6736
|
updatedAt: import("zod").ZodString;
|
|
6056
6737
|
version: import("zod").ZodNumber;
|
|
6057
6738
|
}, import("zod/v4/core").$strip>;
|
|
6058
|
-
|
|
6739
|
+
endpointSigningSecret: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6740
|
+
guidance: import("zod").ZodString;
|
|
6741
|
+
returned: import("zod").ZodLiteral<false>;
|
|
6742
|
+
revealUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6743
|
+
}, import("zod/v4/core").$strip>>;
|
|
6744
|
+
}, import("zod/v4/core").$strip>;
|
|
6059
6745
|
}, {
|
|
6060
6746
|
readonly scopes: readonly ["schedules:write"];
|
|
6061
6747
|
readonly sessionAuthority: "headers";
|
|
@@ -6110,7 +6796,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6110
6796
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
6111
6797
|
"If-Match": import("zod").ZodOptional<import("zod").ZodString>;
|
|
6112
6798
|
}, import("zod/v4/core").$strip>;
|
|
6113
|
-
readonly response: import("zod").ZodObject<{
|
|
6799
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
6114
6800
|
occurrence: import("zod").ZodObject<{
|
|
6115
6801
|
generation: import("zod").ZodNumber;
|
|
6116
6802
|
id: import("zod").ZodString;
|
|
@@ -6119,9 +6805,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
6119
6805
|
sequence: import("zod").ZodNumber;
|
|
6120
6806
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6121
6807
|
state: import("zod").ZodEnum<{
|
|
6122
|
-
due: "due";
|
|
6123
6808
|
succeeded: "succeeded";
|
|
6124
6809
|
ambiguous: "ambiguous";
|
|
6810
|
+
due: "due";
|
|
6125
6811
|
cancelled: "cancelled";
|
|
6126
6812
|
planned: "planned";
|
|
6127
6813
|
dispatching: "dispatching";
|
|
@@ -6141,6 +6827,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
6141
6827
|
attemptCount: import("zod").ZodNumber;
|
|
6142
6828
|
}, import("zod/v4/core").$strip>;
|
|
6143
6829
|
schedule: import("zod").ZodObject<{
|
|
6830
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
6831
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6832
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
6833
|
+
failedRuns: import("zod").ZodNumber;
|
|
6834
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
6835
|
+
diagnostic: import("zod").ZodString;
|
|
6836
|
+
pausedAt: import("zod").ZodString;
|
|
6837
|
+
}, import("zod/v4/core").$strip>>>;
|
|
6838
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
6839
|
+
method: import("zod").ZodEnum<{
|
|
6840
|
+
POST: "POST";
|
|
6841
|
+
PUT: "PUT";
|
|
6842
|
+
GET: "GET";
|
|
6843
|
+
}>;
|
|
6844
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
6845
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
6846
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6847
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
6848
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6849
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
6850
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6851
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
6852
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
6853
|
+
name: import("zod").ZodString;
|
|
6854
|
+
secret: import("zod").ZodLiteral<false>;
|
|
6855
|
+
value: import("zod").ZodString;
|
|
6856
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6857
|
+
name: import("zod").ZodString;
|
|
6858
|
+
secret: import("zod").ZodLiteral<true>;
|
|
6859
|
+
configured: import("zod").ZodLiteral<true>;
|
|
6860
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
6861
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
6862
|
+
name: import("zod").ZodString;
|
|
6863
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
6864
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
6865
|
+
}, import("zod/v4/core").$strict>>;
|
|
6144
6866
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6145
6867
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6146
6868
|
createdAt: import("zod").ZodString;
|
|
@@ -6184,15 +6906,15 @@ export declare const OPERATIONS: readonly [{
|
|
|
6184
6906
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
6185
6907
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
6186
6908
|
status: import("zod").ZodEnum<{
|
|
6187
|
-
active: "active";
|
|
6188
|
-
completed: "completed";
|
|
6189
6909
|
paused: "paused";
|
|
6910
|
+
active: "active";
|
|
6190
6911
|
cancelled: "cancelled";
|
|
6912
|
+
completed: "completed";
|
|
6191
6913
|
}>;
|
|
6192
6914
|
updatedAt: import("zod").ZodString;
|
|
6193
6915
|
version: import("zod").ZodNumber;
|
|
6194
6916
|
}, import("zod/v4/core").$strip>;
|
|
6195
|
-
}, import("zod/v4/core").$strip
|
|
6917
|
+
}, import("zod/v4/core").$strip>;
|
|
6196
6918
|
}, {
|
|
6197
6919
|
readonly scopes: readonly ["schedules:write"];
|
|
6198
6920
|
readonly sessionAuthority: "headers";
|
|
@@ -6247,7 +6969,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6247
6969
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
6248
6970
|
"If-Match": import("zod").ZodOptional<import("zod").ZodString>;
|
|
6249
6971
|
}, import("zod/v4/core").$strip>;
|
|
6250
|
-
readonly response: import("zod").ZodObject<{
|
|
6972
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
6251
6973
|
occurrence: import("zod").ZodObject<{
|
|
6252
6974
|
generation: import("zod").ZodNumber;
|
|
6253
6975
|
id: import("zod").ZodString;
|
|
@@ -6256,9 +6978,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
6256
6978
|
sequence: import("zod").ZodNumber;
|
|
6257
6979
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6258
6980
|
state: import("zod").ZodEnum<{
|
|
6259
|
-
due: "due";
|
|
6260
6981
|
succeeded: "succeeded";
|
|
6261
6982
|
ambiguous: "ambiguous";
|
|
6983
|
+
due: "due";
|
|
6262
6984
|
cancelled: "cancelled";
|
|
6263
6985
|
planned: "planned";
|
|
6264
6986
|
dispatching: "dispatching";
|
|
@@ -6278,6 +7000,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
6278
7000
|
attemptCount: import("zod").ZodNumber;
|
|
6279
7001
|
}, import("zod/v4/core").$strip>;
|
|
6280
7002
|
schedule: import("zod").ZodObject<{
|
|
7003
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
7004
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7005
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
7006
|
+
failedRuns: import("zod").ZodNumber;
|
|
7007
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7008
|
+
diagnostic: import("zod").ZodString;
|
|
7009
|
+
pausedAt: import("zod").ZodString;
|
|
7010
|
+
}, import("zod/v4/core").$strip>>>;
|
|
7011
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7012
|
+
method: import("zod").ZodEnum<{
|
|
7013
|
+
POST: "POST";
|
|
7014
|
+
PUT: "PUT";
|
|
7015
|
+
GET: "GET";
|
|
7016
|
+
}>;
|
|
7017
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
7018
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
7019
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7020
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
7021
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7022
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
7023
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
7024
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
7025
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
7026
|
+
name: import("zod").ZodString;
|
|
7027
|
+
secret: import("zod").ZodLiteral<false>;
|
|
7028
|
+
value: import("zod").ZodString;
|
|
7029
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7030
|
+
name: import("zod").ZodString;
|
|
7031
|
+
secret: import("zod").ZodLiteral<true>;
|
|
7032
|
+
configured: import("zod").ZodLiteral<true>;
|
|
7033
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
7034
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7035
|
+
name: import("zod").ZodString;
|
|
7036
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
7037
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
7038
|
+
}, import("zod/v4/core").$strict>>;
|
|
6281
7039
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6282
7040
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6283
7041
|
createdAt: import("zod").ZodString;
|
|
@@ -6321,15 +7079,15 @@ export declare const OPERATIONS: readonly [{
|
|
|
6321
7079
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
6322
7080
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
6323
7081
|
status: import("zod").ZodEnum<{
|
|
6324
|
-
active: "active";
|
|
6325
|
-
completed: "completed";
|
|
6326
7082
|
paused: "paused";
|
|
7083
|
+
active: "active";
|
|
6327
7084
|
cancelled: "cancelled";
|
|
7085
|
+
completed: "completed";
|
|
6328
7086
|
}>;
|
|
6329
7087
|
updatedAt: import("zod").ZodString;
|
|
6330
7088
|
version: import("zod").ZodNumber;
|
|
6331
7089
|
}, import("zod/v4/core").$strip>;
|
|
6332
|
-
}, import("zod/v4/core").$strip
|
|
7090
|
+
}, import("zod/v4/core").$strip>;
|
|
6333
7091
|
}, {
|
|
6334
7092
|
readonly scopes: readonly ["schedules:write"];
|
|
6335
7093
|
readonly sessionAuthority: "headers";
|
|
@@ -6385,7 +7143,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6385
7143
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
6386
7144
|
"If-Match": import("zod").ZodOptional<import("zod").ZodString>;
|
|
6387
7145
|
}, import("zod/v4/core").$strip>;
|
|
6388
|
-
readonly response: import("zod").ZodObject<{
|
|
7146
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
6389
7147
|
occurrence: import("zod").ZodObject<{
|
|
6390
7148
|
generation: import("zod").ZodNumber;
|
|
6391
7149
|
id: import("zod").ZodString;
|
|
@@ -6394,9 +7152,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
6394
7152
|
sequence: import("zod").ZodNumber;
|
|
6395
7153
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6396
7154
|
state: import("zod").ZodEnum<{
|
|
6397
|
-
due: "due";
|
|
6398
7155
|
succeeded: "succeeded";
|
|
6399
7156
|
ambiguous: "ambiguous";
|
|
7157
|
+
due: "due";
|
|
6400
7158
|
cancelled: "cancelled";
|
|
6401
7159
|
planned: "planned";
|
|
6402
7160
|
dispatching: "dispatching";
|
|
@@ -6416,6 +7174,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
6416
7174
|
attemptCount: import("zod").ZodNumber;
|
|
6417
7175
|
}, import("zod/v4/core").$strip>;
|
|
6418
7176
|
schedule: import("zod").ZodObject<{
|
|
7177
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
7178
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7179
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
7180
|
+
failedRuns: import("zod").ZodNumber;
|
|
7181
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7182
|
+
diagnostic: import("zod").ZodString;
|
|
7183
|
+
pausedAt: import("zod").ZodString;
|
|
7184
|
+
}, import("zod/v4/core").$strip>>>;
|
|
7185
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7186
|
+
method: import("zod").ZodEnum<{
|
|
7187
|
+
POST: "POST";
|
|
7188
|
+
PUT: "PUT";
|
|
7189
|
+
GET: "GET";
|
|
7190
|
+
}>;
|
|
7191
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
7192
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
7193
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7194
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
7195
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7196
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
7197
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
7198
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
7199
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
7200
|
+
name: import("zod").ZodString;
|
|
7201
|
+
secret: import("zod").ZodLiteral<false>;
|
|
7202
|
+
value: import("zod").ZodString;
|
|
7203
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7204
|
+
name: import("zod").ZodString;
|
|
7205
|
+
secret: import("zod").ZodLiteral<true>;
|
|
7206
|
+
configured: import("zod").ZodLiteral<true>;
|
|
7207
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
7208
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7209
|
+
name: import("zod").ZodString;
|
|
7210
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
7211
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
7212
|
+
}, import("zod/v4/core").$strict>>;
|
|
6419
7213
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6420
7214
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6421
7215
|
createdAt: import("zod").ZodString;
|
|
@@ -6459,15 +7253,15 @@ export declare const OPERATIONS: readonly [{
|
|
|
6459
7253
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
6460
7254
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
6461
7255
|
status: import("zod").ZodEnum<{
|
|
6462
|
-
active: "active";
|
|
6463
|
-
completed: "completed";
|
|
6464
7256
|
paused: "paused";
|
|
7257
|
+
active: "active";
|
|
6465
7258
|
cancelled: "cancelled";
|
|
7259
|
+
completed: "completed";
|
|
6466
7260
|
}>;
|
|
6467
7261
|
updatedAt: import("zod").ZodString;
|
|
6468
7262
|
version: import("zod").ZodNumber;
|
|
6469
7263
|
}, import("zod/v4/core").$strip>;
|
|
6470
|
-
}, import("zod/v4/core").$strip
|
|
7264
|
+
}, import("zod/v4/core").$strip>;
|
|
6471
7265
|
}, {
|
|
6472
7266
|
readonly scopes: readonly ["schedules:write"];
|
|
6473
7267
|
readonly sessionAuthority: "headers";
|
|
@@ -6524,7 +7318,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6524
7318
|
readonly requestHeaders: import("zod").ZodObject<{
|
|
6525
7319
|
"If-Match": import("zod").ZodOptional<import("zod").ZodString>;
|
|
6526
7320
|
}, import("zod/v4/core").$strip>;
|
|
6527
|
-
readonly response: import("zod").ZodObject<{
|
|
7321
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
6528
7322
|
occurrence: import("zod").ZodObject<{
|
|
6529
7323
|
generation: import("zod").ZodNumber;
|
|
6530
7324
|
id: import("zod").ZodString;
|
|
@@ -6533,9 +7327,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
6533
7327
|
sequence: import("zod").ZodNumber;
|
|
6534
7328
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6535
7329
|
state: import("zod").ZodEnum<{
|
|
6536
|
-
due: "due";
|
|
6537
7330
|
succeeded: "succeeded";
|
|
6538
7331
|
ambiguous: "ambiguous";
|
|
7332
|
+
due: "due";
|
|
6539
7333
|
cancelled: "cancelled";
|
|
6540
7334
|
planned: "planned";
|
|
6541
7335
|
dispatching: "dispatching";
|
|
@@ -6555,6 +7349,42 @@ export declare const OPERATIONS: readonly [{
|
|
|
6555
7349
|
attemptCount: import("zod").ZodNumber;
|
|
6556
7350
|
}, import("zod/v4/core").$strip>;
|
|
6557
7351
|
schedule: import("zod").ZodObject<{
|
|
7352
|
+
autoPauseAfterFailures: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<"never">]>>;
|
|
7353
|
+
consecutiveFailedRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7354
|
+
autoPauseReason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
7355
|
+
failedRuns: import("zod").ZodNumber;
|
|
7356
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7357
|
+
diagnostic: import("zod").ZodString;
|
|
7358
|
+
pausedAt: import("zod").ZodString;
|
|
7359
|
+
}, import("zod/v4/core").$strip>>>;
|
|
7360
|
+
http: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7361
|
+
method: import("zod").ZodEnum<{
|
|
7362
|
+
POST: "POST";
|
|
7363
|
+
PUT: "PUT";
|
|
7364
|
+
GET: "GET";
|
|
7365
|
+
}>;
|
|
7366
|
+
body: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
7367
|
+
mode: import("zod").ZodLiteral<"envelope">;
|
|
7368
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7369
|
+
mode: import("zod").ZodLiteral<"none">;
|
|
7370
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7371
|
+
mode: import("zod").ZodLiteral<"json">;
|
|
7372
|
+
value: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
7373
|
+
}, import("zod/v4/core").$strict>], "mode">;
|
|
7374
|
+
headers: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
7375
|
+
name: import("zod").ZodString;
|
|
7376
|
+
secret: import("zod").ZodLiteral<false>;
|
|
7377
|
+
value: import("zod").ZodString;
|
|
7378
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7379
|
+
name: import("zod").ZodString;
|
|
7380
|
+
secret: import("zod").ZodLiteral<true>;
|
|
7381
|
+
configured: import("zod").ZodLiteral<true>;
|
|
7382
|
+
value: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
7383
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
7384
|
+
name: import("zod").ZodString;
|
|
7385
|
+
suppressed: import("zod").ZodLiteral<true>;
|
|
7386
|
+
}, import("zod/v4/core").$strict>]>>;
|
|
7387
|
+
}, import("zod/v4/core").$strict>>;
|
|
6558
7388
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6559
7389
|
data: import("zod").ZodOptional<import("zod").ZodJSONSchema>;
|
|
6560
7390
|
createdAt: import("zod").ZodString;
|
|
@@ -6598,15 +7428,15 @@ export declare const OPERATIONS: readonly [{
|
|
|
6598
7428
|
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
6599
7429
|
}, import("zod/v4/core").$strip>], "kind">;
|
|
6600
7430
|
status: import("zod").ZodEnum<{
|
|
6601
|
-
active: "active";
|
|
6602
|
-
completed: "completed";
|
|
6603
7431
|
paused: "paused";
|
|
7432
|
+
active: "active";
|
|
6604
7433
|
cancelled: "cancelled";
|
|
7434
|
+
completed: "completed";
|
|
6605
7435
|
}>;
|
|
6606
7436
|
updatedAt: import("zod").ZodString;
|
|
6607
7437
|
version: import("zod").ZodNumber;
|
|
6608
7438
|
}, import("zod/v4/core").$strip>;
|
|
6609
|
-
}, import("zod/v4/core").$strip
|
|
7439
|
+
}, import("zod/v4/core").$strip>;
|
|
6610
7440
|
}];
|
|
6611
7441
|
/**
|
|
6612
7442
|
* Every declared operation id, as a literal union.
|
|
@@ -6617,6 +7447,40 @@ export declare const OPERATIONS: readonly [{
|
|
|
6617
7447
|
* list and the implementation can drift together while the test still passes.
|
|
6618
7448
|
*/
|
|
6619
7449
|
export type OperationId = (typeof OPERATIONS)[number]["id"];
|
|
7450
|
+
/**
|
|
7451
|
+
* The body a caller sends to an operation, as its request schema accepts it.
|
|
7452
|
+
*
|
|
7453
|
+
* What the generated client types each builder's `body` with (W9-46). Until
|
|
7454
|
+
* then every body was `unknown`, so a field the API had accepted for weeks —
|
|
7455
|
+
* `url` on `schedules.create` — compiled exactly as well as a misspelling of
|
|
7456
|
+
* it, and the published package could not tell a TypeScript reader either was
|
|
7457
|
+
* wrong. The schema's *input* rather than its output: a caller writes what the
|
|
7458
|
+
* schema parses, before defaults and transforms.
|
|
7459
|
+
*/
|
|
7460
|
+
export type OperationRequestBody<TId extends OperationId> = [
|
|
7461
|
+
OperationEntry<TId>
|
|
7462
|
+
] extends [never] ? unknown : OperationEntry<TId> extends {
|
|
7463
|
+
readonly request: infer TSchema extends z.ZodTypeAny;
|
|
7464
|
+
} ? ReadonlyInput<z.input<TSchema>> : unknown;
|
|
7465
|
+
/**
|
|
7466
|
+
* A request body as a caller may hold it: readonly at every depth.
|
|
7467
|
+
*
|
|
7468
|
+
* A builder only reads what it is handed, and a caller keeping its settings in
|
|
7469
|
+
* `readonly` arrays (the dashboard's header changes do) should not have to copy
|
|
7470
|
+
* them to satisfy a type that promises nothing about mutation.
|
|
7471
|
+
*/
|
|
7472
|
+
type ReadonlyInput<T> = T extends readonly (infer TItem)[] ? readonly ReadonlyInput<TItem>[] : T extends object ? {
|
|
7473
|
+
readonly [TKey in keyof T]: ReadonlyInput<T[TKey]>;
|
|
7474
|
+
} : T;
|
|
7475
|
+
/**
|
|
7476
|
+
* One registry entry, by id — `never` for an entry contributed by a module
|
|
7477
|
+
* that declares its operations as plain `OperationDefinition`s, whose `id` is
|
|
7478
|
+
* `string`. Those bodies stay `unknown` rather than collapsing to `never`,
|
|
7479
|
+
* which would make the operation uncallable.
|
|
7480
|
+
*/
|
|
7481
|
+
type OperationEntry<TId extends OperationId> = Extract<(typeof OPERATIONS)[number], {
|
|
7482
|
+
readonly id: TId;
|
|
7483
|
+
}>;
|
|
6620
7484
|
/**
|
|
6621
7485
|
* Headers the contract mock uses to expose state a body cannot carry.
|
|
6622
7486
|
*
|