@greatwait/contracts 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attempt-diagnostics.d.ts +1 -1
- package/dist/attempt-diagnostics.js +13 -1
- package/dist/attempt-search.d.ts +2 -0
- package/dist/billing.d.ts +46 -0
- package/dist/billing.js +29 -0
- package/dist/callback-safety.js +5 -1
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +6 -3
- package/dist/delivery.d.ts +12 -1
- package/dist/delivery.js +1 -0
- package/dist/effective-limits.d.ts +4 -4
- package/dist/endpoints.d.ts +29 -0
- package/dist/endpoints.js +32 -1
- package/dist/forecast.d.ts +2 -2
- package/dist/http-request.d.ts +12 -2
- package/dist/http-request.js +31 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.js +8 -7
- package/dist/mcp.js +1 -0
- package/dist/operational-config.d.ts +174 -22
- package/dist/operational-config.js +207 -74
- package/dist/operations.d.ts +334 -52
- package/dist/operations.js +195 -34
- package/dist/project-notifications.d.ts +35 -9
- package/dist/project-notifications.js +43 -12
- package/dist/protocol.d.ts +28 -0
- package/dist/protocol.js +23 -0
- package/dist/scheduling-records.d.ts +106 -16
- package/dist/scheduling-records.js +36 -12
- package/dist/scheduling.d.ts +155 -43
- package/dist/scheduling.js +188 -50
- package/dist/service-mode.d.ts +88 -0
- package/dist/service-mode.js +130 -0
- package/dist/tenancy.d.ts +54 -30
- package/dist/tenancy.js +35 -17
- package/dist/timing.d.ts +39 -0
- package/dist/timing.js +51 -0
- package/dist/zod-values.d.ts +1 -1
- package/dist/zod-values.js +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/zod.js +1 -1
- package/generated/v1/examples/billing.noticesdismiss.request.json +3 -0
- package/generated/v1/examples/billing.noticesdismiss.response.json +6 -0
- package/generated/v1/examples/billing.reconcile.response.json +12 -0
- package/generated/v1/examples/billing.summary.response.json +12 -0
- package/generated/v1/examples/executions.list.response.json +1 -0
- package/generated/v1/examples/limits.read.response.json +1 -1
- package/generated/v1/examples/projectnotifications.rotateSigningKey.response.json +1 -0
- package/generated/v1/examples/projects.list.response.json +0 -6
- package/generated/v1/examples/projects.read.response.json +14 -0
- package/generated/v1/examples/schedules.list.response.json +1 -3
- package/generated/v1/examples/schedules.summary.response.json +174 -0
- package/generated/v1/examples/timing.summary.response.json +33 -1
- package/generated/v1/manifest.json +79 -2
- package/generated/v1/openapi.json +4084 -2023
- package/generated/v1/policy-matrix.json +22 -1
- package/generated/v1/schemas/attempts.list.response.json +10 -0
- package/generated/v1/schemas/attempts.read.response.json +10 -0
- package/generated/v1/schemas/attempts.search.response.json +4 -0
- package/generated/v1/schemas/billing.notices.query.json +4 -0
- package/generated/v1/schemas/billing.noticesdismiss.request.json +12 -0
- package/generated/v1/schemas/billing.noticesdismiss.response.json +22 -0
- package/generated/v1/schemas/billing.reconcile.response.json +43 -0
- package/generated/v1/schemas/billing.summary.response.json +43 -0
- package/generated/v1/schemas/endpoints.list.query.json +15 -0
- package/generated/v1/schemas/executions.list.response.json +4 -0
- package/generated/v1/schemas/occurrences.list.response.json +4 -0
- package/generated/v1/schemas/occurrences.read.response.json +4 -0
- package/generated/v1/schemas/occurrences.redeliver.response.json +10 -0
- package/generated/v1/schemas/projectnotifications.read.response.json +4 -0
- package/generated/v1/schemas/projectnotifications.rotateSigningKey.response.json +4 -0
- package/generated/v1/schemas/projectnotifications.update.request.json +41 -17
- package/generated/v1/schemas/projectnotifications.update.response.json +4 -0
- package/generated/v1/schemas/projects.list.response.json +0 -27
- package/generated/v1/schemas/projects.read.response-headers.json +11 -0
- package/generated/v1/schemas/projects.read.response.json +79 -0
- package/generated/v1/schemas/schedules.archive.response.json +8 -0
- package/generated/v1/schemas/schedules.cancel.response.json +8 -0
- package/generated/v1/schemas/schedules.create.request.json +1 -1
- package/generated/v1/schemas/schedules.create.response.json +8 -0
- package/generated/v1/schemas/schedules.list.query.json +6 -0
- package/generated/v1/schemas/schedules.list.response.json +4 -0
- package/generated/v1/schemas/schedules.pause.response.json +8 -0
- package/generated/v1/schemas/schedules.read.response.json +8 -0
- package/generated/v1/schemas/schedules.replace.request.json +1 -1
- package/generated/v1/schemas/schedules.replace.response.json +8 -0
- package/generated/v1/schemas/schedules.resume.response.json +8 -0
- package/generated/v1/schemas/schedules.summary.query.json +11 -0
- package/generated/v1/schemas/schedules.summary.response.json +144 -0
- package/generated/v1/schemas/timing.summary.response.json +69 -0
- package/generated/v1/snippets/billing.noticesdismiss.json +6 -0
- package/generated/v1/snippets/projectnotifications.rotateSigningKey.json +1 -1
- package/generated/v1/snippets/projects.read.json +6 -0
- package/generated/v1/snippets/schedules.summary.json +6 -0
- package/package.json +1 -1
package/dist/operations.d.ts
CHANGED
|
@@ -767,17 +767,22 @@ export declare const OPERATIONS: readonly [{
|
|
|
767
767
|
memberIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
768
768
|
}, import("zod/v4/core").$strict>], "kind">;
|
|
769
769
|
scheduleKinds: import("zod").ZodEnum<{
|
|
770
|
+
recurring: "recurring";
|
|
770
771
|
both: "both";
|
|
771
772
|
"one-shot": "one-shot";
|
|
772
|
-
recurring: "recurring";
|
|
773
773
|
}>;
|
|
774
774
|
}, import("zod/v4/core").$strict>>;
|
|
775
|
-
statusWebhook: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
775
|
+
statusWebhook: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
776
|
+
endpoint: import("zod").ZodString;
|
|
777
|
+
events: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
778
|
+
failed: "failed";
|
|
779
|
+
}>>;
|
|
780
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
776
781
|
url: import("zod").ZodString;
|
|
777
782
|
events: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
778
783
|
failed: "failed";
|
|
779
784
|
}>>;
|
|
780
|
-
}, import("zod/v4/core").$strict>>>;
|
|
785
|
+
}, import("zod/v4/core").$strict>]>>>;
|
|
781
786
|
}, import("zod/v4/core").$strict>;
|
|
782
787
|
}, OperationDefinition & {
|
|
783
788
|
readonly id: "projectnotifications.rotateSigningKey";
|
|
@@ -1191,7 +1196,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
1191
1196
|
readonly surfaces: readonly ["api", "mock"];
|
|
1192
1197
|
}, {
|
|
1193
1198
|
readonly creates: false;
|
|
1194
|
-
readonly description: "" | "Lists the caller's callback endpoints for exactly its own project and environment
|
|
1199
|
+
readonly description: "" | "Lists the caller's callback endpoints for exactly its own project and environment, oldest first, one page at a time (default 25, at most 100): follow `nextCursor` until it is absent before counting endpoints or concluding one does not exist. Optional `text` (case-insensitive substring of the name, address or identifier), `status` and `rotation=unacknowledged` filters intersect before paging, so a match on any page is found on the first; a cursor continues only under the filters that issued it. Metadata only: no signing secret or sealed key material has a field in this shape.";
|
|
1195
1200
|
readonly example: {
|
|
1196
1201
|
data?: never;
|
|
1197
1202
|
freshness?: never;
|
|
@@ -1228,6 +1233,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
1228
1233
|
readonly query: import("zod").ZodObject<{
|
|
1229
1234
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1230
1235
|
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1236
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1237
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1238
|
+
active: "active";
|
|
1239
|
+
disabled: "disabled";
|
|
1240
|
+
}>>;
|
|
1241
|
+
rotation: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1242
|
+
unacknowledged: "unacknowledged";
|
|
1243
|
+
}>>;
|
|
1231
1244
|
}, import("zod/v4/core").$strip>;
|
|
1232
1245
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
1233
1246
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -2991,19 +3004,13 @@ export declare const OPERATIONS: readonly [{
|
|
|
2991
3004
|
readonly surfaces: readonly ["api", "mock"];
|
|
2992
3005
|
}, {
|
|
2993
3006
|
readonly creates: false;
|
|
2994
|
-
readonly description: "" | "Lists the active and archived projects in the signed-in member's organization, with the environment kinds, lifecycle state
|
|
3007
|
+
readonly description: "" | "Lists the active and archived projects in the signed-in member's organization, with the environment kinds, lifecycle state and version each one has. It carries no deletion counts: counting reads a project's whole history, so the exact counts a permanent deletion would destroy come from `projects.read`, one project at a time. Active and archived rows both occupy a plan slot; deleted projects are absent. Archived rows are management targets rather than projects work may run inside, so a picker must not offer them as switch targets. The result is a display aid rather than an authorization control — naming a project on a later request re-resolves it against the member's own organization, and a project that is not theirs answers exactly as one that does not exist.";
|
|
2995
3008
|
readonly example: {
|
|
2996
3009
|
data?: never;
|
|
2997
3010
|
total?: never;
|
|
2998
3011
|
} | {
|
|
2999
3012
|
data: {
|
|
3000
3013
|
createdAt: string;
|
|
3001
|
-
deletionCounts: {
|
|
3002
|
-
endpoints: number;
|
|
3003
|
-
keys: number;
|
|
3004
|
-
runs: number;
|
|
3005
|
-
schedules: number;
|
|
3006
|
-
};
|
|
3007
3014
|
environmentKinds: string[];
|
|
3008
3015
|
id: string;
|
|
3009
3016
|
name: string;
|
|
@@ -3025,24 +3032,18 @@ export declare const OPERATIONS: readonly [{
|
|
|
3025
3032
|
readonly problems: readonly [];
|
|
3026
3033
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3027
3034
|
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
3028
|
-
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3029
|
-
deletionCounts: import("zod").ZodObject<{
|
|
3030
|
-
endpoints: import("zod").ZodNumber;
|
|
3031
|
-
keys: import("zod").ZodNumber;
|
|
3032
|
-
runs: import("zod").ZodNumber;
|
|
3033
|
-
schedules: import("zod").ZodNumber;
|
|
3034
|
-
}, import("zod/v4/core").$strip>;
|
|
3035
|
-
environmentKinds: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3036
|
-
test: "test";
|
|
3037
|
-
live: "live";
|
|
3038
|
-
}>>;
|
|
3039
|
-
id: import("zod").ZodString;
|
|
3040
|
-
name: import("zod").ZodString;
|
|
3041
3035
|
status: import("zod").ZodEnum<{
|
|
3042
3036
|
active: "active";
|
|
3043
3037
|
archived: "archived";
|
|
3044
3038
|
}>;
|
|
3039
|
+
name: import("zod").ZodString;
|
|
3045
3040
|
version: import("zod").ZodNumber;
|
|
3041
|
+
id: import("zod").ZodString;
|
|
3042
|
+
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3043
|
+
environmentKinds: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3044
|
+
test: "test";
|
|
3045
|
+
live: "live";
|
|
3046
|
+
}>>;
|
|
3046
3047
|
}, import("zod/v4/core").$strip>>;
|
|
3047
3048
|
total: import("zod").ZodNumber;
|
|
3048
3049
|
}, import("zod/v4/core").$strip>;
|
|
@@ -3050,6 +3051,69 @@ export declare const OPERATIONS: readonly [{
|
|
|
3050
3051
|
readonly sessionAuthority: "organization";
|
|
3051
3052
|
readonly summary: "" | "List the member's projects";
|
|
3052
3053
|
readonly surfaces: readonly ["api", "mock"];
|
|
3054
|
+
}, {
|
|
3055
|
+
readonly scopes: readonly ["projects:read"];
|
|
3056
|
+
readonly sessionAuthority: "headers";
|
|
3057
|
+
readonly summary: "" | "Read a project with its deletion counts";
|
|
3058
|
+
readonly surfaces: readonly ["api", "mock"];
|
|
3059
|
+
readonly responseHeaders?: import("zod").ZodObject<{
|
|
3060
|
+
ETag: import("zod").ZodString;
|
|
3061
|
+
}, import("zod/v4/core").$strip>;
|
|
3062
|
+
readonly creates: false;
|
|
3063
|
+
readonly description: "" | "Reads one active or archived project in the signed-in member's organization, with the exact counts of the schedules, endpoints, keys and runs a permanent deletion would destroy now. Counting reads the project's whole history, which is why the list does not carry these counts and why this is the read a deletion confirmation makes. A project the member cannot see answers exactly as one that does not exist.";
|
|
3064
|
+
readonly example: {
|
|
3065
|
+
createdAt?: never;
|
|
3066
|
+
deletionCounts?: never;
|
|
3067
|
+
environmentKinds?: never;
|
|
3068
|
+
id?: never;
|
|
3069
|
+
name?: never;
|
|
3070
|
+
status?: never;
|
|
3071
|
+
version?: never;
|
|
3072
|
+
} | {
|
|
3073
|
+
createdAt: string;
|
|
3074
|
+
deletionCounts: {
|
|
3075
|
+
endpoints: number;
|
|
3076
|
+
keys: number;
|
|
3077
|
+
runs: number;
|
|
3078
|
+
schedules: number;
|
|
3079
|
+
};
|
|
3080
|
+
environmentKinds: string[];
|
|
3081
|
+
id: string;
|
|
3082
|
+
name: string;
|
|
3083
|
+
status: string;
|
|
3084
|
+
version: number;
|
|
3085
|
+
};
|
|
3086
|
+
readonly id: "projects.read";
|
|
3087
|
+
readonly idempotent: true;
|
|
3088
|
+
readonly mcp: {
|
|
3089
|
+
readonly kind: "unavailable";
|
|
3090
|
+
readonly reason: "The counted read is the deletion preview a signed-in member sees before deleting a project. Counting reads the project's whole history, so it is not offered as an agent tool; rename, archive and delete each answer with the project they changed.";
|
|
3091
|
+
};
|
|
3092
|
+
readonly method: "GET";
|
|
3093
|
+
readonly mutates: false;
|
|
3094
|
+
readonly path: "/v1/projects/{projectId}";
|
|
3095
|
+
readonly principals: readonly ["session"];
|
|
3096
|
+
readonly problems: readonly ["not_found"];
|
|
3097
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
3098
|
+
createdAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
3099
|
+
deletionCounts: import("zod").ZodObject<{
|
|
3100
|
+
endpoints: import("zod").ZodNumber;
|
|
3101
|
+
keys: import("zod").ZodNumber;
|
|
3102
|
+
runs: import("zod").ZodNumber;
|
|
3103
|
+
schedules: import("zod").ZodNumber;
|
|
3104
|
+
}, import("zod/v4/core").$strip>;
|
|
3105
|
+
environmentKinds: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
3106
|
+
test: "test";
|
|
3107
|
+
live: "live";
|
|
3108
|
+
}>>;
|
|
3109
|
+
id: import("zod").ZodString;
|
|
3110
|
+
name: import("zod").ZodString;
|
|
3111
|
+
status: import("zod").ZodEnum<{
|
|
3112
|
+
active: "active";
|
|
3113
|
+
archived: "archived";
|
|
3114
|
+
}>;
|
|
3115
|
+
version: import("zod").ZodNumber;
|
|
3116
|
+
}, import("zod/v4/core").$strip>;
|
|
3053
3117
|
}, {
|
|
3054
3118
|
readonly creates: true;
|
|
3055
3119
|
readonly description: "" | "Creates a project in the signed-in member's organization, with both of its environments. This is the first call a new customer makes: an organization has no project until somebody makes one, and every other operation on this surface acts inside one. The `test` and `live` environments are provisioned with it in a single transaction rather than asked for, so a project is never observable in a half-provisioned state. The organization comes from the verified session and is never read from the request — a member who belongs to one organization cannot create a project in another. `PROJECT_LIST_LIMIT` bounds how many an organization may hold, and it is the same ceiling the listing publishes: a create that would take an organization past a list it can no longer return is refused rather than silently truncating a later read. A name is unique within the organization, compared ignoring case and surrounding or repeated spaces; a second project with a name already taken is refused with `state_conflict`, and the refusal says nothing about any other organization's names.";
|
|
@@ -3778,8 +3842,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
3778
3842
|
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3779
3843
|
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3780
3844
|
latencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3781
|
-
realtime: "realtime";
|
|
3782
3845
|
bulk: "bulk";
|
|
3846
|
+
realtime: "realtime";
|
|
3847
|
+
auto: "auto";
|
|
3783
3848
|
}>>;
|
|
3784
3849
|
lateness: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3785
3850
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -3823,6 +3888,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
3823
3888
|
id: import("zod").ZodString;
|
|
3824
3889
|
plannedFor: import("zod").ZodString;
|
|
3825
3890
|
schedule: import("zod").ZodString;
|
|
3891
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3826
3892
|
sequence: import("zod").ZodNumber;
|
|
3827
3893
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3828
3894
|
state: import("zod").ZodEnum<{
|
|
@@ -3903,9 +3969,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
3903
3969
|
generation: import("zod").ZodNumber;
|
|
3904
3970
|
id: import("zod").ZodString;
|
|
3905
3971
|
latencyClass: import("zod").ZodEnum<{
|
|
3906
|
-
realtime: "realtime";
|
|
3907
3972
|
bulk: "bulk";
|
|
3973
|
+
realtime: "realtime";
|
|
3908
3974
|
}>;
|
|
3975
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
3976
|
+
bulk: "bulk";
|
|
3977
|
+
realtime: "realtime";
|
|
3978
|
+
auto: "auto";
|
|
3979
|
+
}>>;
|
|
3909
3980
|
lateness: import("zod").ZodObject<{
|
|
3910
3981
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3911
3982
|
policy: import("zod").ZodEnum<{
|
|
@@ -4005,6 +4076,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4005
4076
|
id: import("zod").ZodString;
|
|
4006
4077
|
plannedFor: import("zod").ZodString;
|
|
4007
4078
|
schedule: import("zod").ZodString;
|
|
4079
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4008
4080
|
sequence: import("zod").ZodNumber;
|
|
4009
4081
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4010
4082
|
state: import("zod").ZodEnum<{
|
|
@@ -4085,9 +4157,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
4085
4157
|
generation: import("zod").ZodNumber;
|
|
4086
4158
|
id: import("zod").ZodString;
|
|
4087
4159
|
latencyClass: import("zod").ZodEnum<{
|
|
4088
|
-
realtime: "realtime";
|
|
4089
4160
|
bulk: "bulk";
|
|
4161
|
+
realtime: "realtime";
|
|
4090
4162
|
}>;
|
|
4163
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4164
|
+
bulk: "bulk";
|
|
4165
|
+
realtime: "realtime";
|
|
4166
|
+
auto: "auto";
|
|
4167
|
+
}>>;
|
|
4091
4168
|
lateness: import("zod").ZodObject<{
|
|
4092
4169
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4093
4170
|
policy: import("zod").ZodEnum<{
|
|
@@ -4122,7 +4199,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4122
4199
|
}, import("zod/v4/core").$strip>;
|
|
4123
4200
|
}, {
|
|
4124
4201
|
readonly creates: false;
|
|
4125
|
-
readonly description: "" | "Lists the caller's own schedules
|
|
4202
|
+
readonly description: "" | "Lists the caller's own schedules one page at a time (default 25, at most 100); follow `nextCursor` until it is absent before counting or ranking schedules, or use schedules.summary for whole-project counts. `order=created` (the default) walks creation order and includes every unarchived schedule; `order=due` walks next-due order and includes only schedules with an occurrence on the books, so cancelled, completed and paused schedules with nothing upcoming are not in it. Giving `dueBefore` or `dueAfter` forces due order. `direction=desc` reverses either order: newest-created first, or latest-due first. Due-order paging is not stable while schedules fire: a schedule's next-due instant moves as it runs, so across pages it can appear twice or be skipped; read again from the first page, or de-duplicate by id, when exactness matters. Archived schedules are left out. Give `endpoint` to keep the page to the schedules that deliver to that endpoint, or `text`, `status`, `recurrence`, `tag` or `external_identifier` to filter; filters intersect before paging, and a cursor continues only under the order, direction and filters that issued it. Creation order examines a bounded number of schedules per page, so a page filtered by `status`, or one crossing many archived schedules, can come back short, or empty, and still carry `nextCursor`: keep following it. Every page is authoritative.";
|
|
4126
4203
|
readonly example: {
|
|
4127
4204
|
data?: never;
|
|
4128
4205
|
freshness?: never;
|
|
@@ -4145,9 +4222,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
4145
4222
|
version: number;
|
|
4146
4223
|
}[];
|
|
4147
4224
|
freshness: {
|
|
4148
|
-
asOf: string;
|
|
4149
4225
|
kind: string;
|
|
4150
|
-
lagSeconds: number;
|
|
4151
4226
|
};
|
|
4152
4227
|
nextCursor: string;
|
|
4153
4228
|
};
|
|
@@ -4170,6 +4245,10 @@ export declare const OPERATIONS: readonly [{
|
|
|
4170
4245
|
due: "due";
|
|
4171
4246
|
created: "created";
|
|
4172
4247
|
}>>;
|
|
4248
|
+
direction: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
4249
|
+
asc: "asc";
|
|
4250
|
+
desc: "desc";
|
|
4251
|
+
}>>;
|
|
4173
4252
|
external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4174
4253
|
tag: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4175
4254
|
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
@@ -4246,9 +4325,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
4246
4325
|
generation: import("zod").ZodNumber;
|
|
4247
4326
|
id: import("zod").ZodString;
|
|
4248
4327
|
latencyClass: import("zod").ZodEnum<{
|
|
4249
|
-
realtime: "realtime";
|
|
4250
4328
|
bulk: "bulk";
|
|
4329
|
+
realtime: "realtime";
|
|
4251
4330
|
}>;
|
|
4331
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
4332
|
+
bulk: "bulk";
|
|
4333
|
+
realtime: "realtime";
|
|
4334
|
+
auto: "auto";
|
|
4335
|
+
}>>;
|
|
4252
4336
|
lateness: import("zod").ZodObject<{
|
|
4253
4337
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4254
4338
|
policy: import("zod").ZodEnum<{
|
|
@@ -4293,6 +4377,97 @@ export declare const OPERATIONS: readonly [{
|
|
|
4293
4377
|
readonly sessionAuthority: "headers";
|
|
4294
4378
|
readonly summary: "" | "List schedules";
|
|
4295
4379
|
readonly surfaces: readonly ["api", "mock"];
|
|
4380
|
+
}, {
|
|
4381
|
+
readonly creates: false;
|
|
4382
|
+
readonly description: "" | "Summarizes every retained, unarchived schedule in the caller's project and environment: exact counts by status (active, paused, completed, cancelled), how many paused schedules paused themselves after repeated failures with up to five of them, and per-day created and finished counts for the last 30 days (today included, zero days included) in `timeZone` (default UTC). Use this rather than counting schedules_list pages. The answer is computed on read and reused for up to five minutes per project, environment and time zone: `freshness` is projected, with `asOf` the instant the counts were taken and `lagSeconds` their age. Counts cover retained schedules only; retention removes cancelled schedules and one-offs that ran once their history horizon passes.";
|
|
4383
|
+
readonly example: {
|
|
4384
|
+
counts?: never;
|
|
4385
|
+
days?: never;
|
|
4386
|
+
freshness?: never;
|
|
4387
|
+
pausedAfterFailures?: never;
|
|
4388
|
+
window?: never;
|
|
4389
|
+
} | {
|
|
4390
|
+
counts: {
|
|
4391
|
+
active: number;
|
|
4392
|
+
cancelled: number;
|
|
4393
|
+
completed: number;
|
|
4394
|
+
paused: number;
|
|
4395
|
+
};
|
|
4396
|
+
days: {
|
|
4397
|
+
created: number;
|
|
4398
|
+
date: string;
|
|
4399
|
+
finished: number;
|
|
4400
|
+
}[];
|
|
4401
|
+
freshness: {
|
|
4402
|
+
asOf: string;
|
|
4403
|
+
kind: string;
|
|
4404
|
+
lagSeconds: number;
|
|
4405
|
+
};
|
|
4406
|
+
pausedAfterFailures: {
|
|
4407
|
+
count: number;
|
|
4408
|
+
schedules: never[];
|
|
4409
|
+
};
|
|
4410
|
+
window: {
|
|
4411
|
+
from: string;
|
|
4412
|
+
timeZone: string;
|
|
4413
|
+
to: string;
|
|
4414
|
+
};
|
|
4415
|
+
};
|
|
4416
|
+
readonly id: "schedules.summary";
|
|
4417
|
+
readonly idempotent: true;
|
|
4418
|
+
readonly mcp: {
|
|
4419
|
+
readonly destructive: false;
|
|
4420
|
+
readonly kind: "tool";
|
|
4421
|
+
readonly openWorld: false;
|
|
4422
|
+
};
|
|
4423
|
+
readonly method: "GET";
|
|
4424
|
+
readonly mutates: false;
|
|
4425
|
+
readonly path: "/v1/schedule-summary";
|
|
4426
|
+
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
4427
|
+
readonly problems: readonly ["invalid_request"];
|
|
4428
|
+
readonly query: import("zod").ZodObject<{
|
|
4429
|
+
timeZone: import("zod").ZodDefault<import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>>;
|
|
4430
|
+
}, import("zod/v4/core").$strip>;
|
|
4431
|
+
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
4432
|
+
counts: import("zod").ZodObject<{
|
|
4433
|
+
active: import("zod").ZodNumber;
|
|
4434
|
+
paused: import("zod").ZodNumber;
|
|
4435
|
+
completed: import("zod").ZodNumber;
|
|
4436
|
+
cancelled: import("zod").ZodNumber;
|
|
4437
|
+
}, import("zod/v4/core").$strip>;
|
|
4438
|
+
pausedAfterFailures: import("zod").ZodObject<{
|
|
4439
|
+
count: import("zod").ZodNumber;
|
|
4440
|
+
schedules: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4441
|
+
id: import("zod").ZodString;
|
|
4442
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4443
|
+
autoPauseReason: import("zod").ZodObject<{
|
|
4444
|
+
failedRuns: import("zod").ZodNumber;
|
|
4445
|
+
status: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4446
|
+
diagnostic: import("zod").ZodString;
|
|
4447
|
+
pausedAt: import("zod").ZodString;
|
|
4448
|
+
}, import("zod/v4/core").$strip>;
|
|
4449
|
+
}, import("zod/v4/core").$strip>>;
|
|
4450
|
+
}, import("zod/v4/core").$strip>;
|
|
4451
|
+
days: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4452
|
+
date: import("zod").ZodString;
|
|
4453
|
+
created: import("zod").ZodNumber;
|
|
4454
|
+
finished: import("zod").ZodNumber;
|
|
4455
|
+
}, import("zod/v4/core").$strip>>;
|
|
4456
|
+
window: import("zod").ZodObject<{
|
|
4457
|
+
from: import("zod").ZodString;
|
|
4458
|
+
to: import("zod").ZodString;
|
|
4459
|
+
timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
4460
|
+
}, import("zod/v4/core").$strip>;
|
|
4461
|
+
freshness: import("zod").ZodObject<{
|
|
4462
|
+
asOf: import("zod").ZodString;
|
|
4463
|
+
kind: import("zod").ZodLiteral<"projected">;
|
|
4464
|
+
lagSeconds: import("zod").ZodNumber;
|
|
4465
|
+
}, import("zod/v4/core").$strip>;
|
|
4466
|
+
}, import("zod/v4/core").$strip>;
|
|
4467
|
+
readonly scopes: readonly ["schedules:read"];
|
|
4468
|
+
readonly sessionAuthority: "headers";
|
|
4469
|
+
readonly summary: "" | "Summarize schedules";
|
|
4470
|
+
readonly surfaces: readonly ["api", "mock"];
|
|
4296
4471
|
}, {
|
|
4297
4472
|
readonly creates: false;
|
|
4298
4473
|
readonly description: "" | "Counts the occurrences this project and environment expect to fire, in epoch-aligned time buckets, with a latency-class split on every bucket and an optional customer partition-key breakdown. A recurring series contributes every instant it fires inside the window rather than only its next one, and `nextFireCount` reports how many of a bucket's occurrences are a schedule's next firing. The answer states freshness and explicit coverage. Clients sending X-Greatwait-Accept-Partial-Forecast: true receive bounded lower-bound counts when a book reaches a row, cell or recurrence-work bound, with coverage.complete false and the exact bounds reached. Without this capability header the previous refusal behavior remains safe for clients that only read totals. Unavailable or stale sources still refuse. Coverage identifies the selected recurring schedule range but never includes destinations, payload or endpoint detail.";
|
|
@@ -4370,8 +4545,8 @@ export declare const OPERATIONS: readonly [{
|
|
|
4370
4545
|
lastGroup: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4371
4546
|
start: import("zod").ZodString;
|
|
4372
4547
|
latencyClass: import("zod").ZodEnum<{
|
|
4373
|
-
realtime: "realtime";
|
|
4374
4548
|
bulk: "bulk";
|
|
4549
|
+
realtime: "realtime";
|
|
4375
4550
|
}>;
|
|
4376
4551
|
partitionKey: import("zod").ZodString;
|
|
4377
4552
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -4448,6 +4623,18 @@ export declare const OPERATIONS: readonly [{
|
|
|
4448
4623
|
enforced: "enforced";
|
|
4449
4624
|
}>;
|
|
4450
4625
|
}, import("zod/v4/core").$strip>;
|
|
4626
|
+
attemptPrice: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4627
|
+
bulk: import("zod").ZodObject<{
|
|
4628
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
4629
|
+
microdollars: import("zod").ZodString;
|
|
4630
|
+
scale: import("zod").ZodLiteral<6>;
|
|
4631
|
+
}, import("zod/v4/core").$strip>;
|
|
4632
|
+
realtime: import("zod").ZodObject<{
|
|
4633
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
4634
|
+
microdollars: import("zod").ZodString;
|
|
4635
|
+
scale: import("zod").ZodLiteral<6>;
|
|
4636
|
+
}, import("zod/v4/core").$strip>;
|
|
4637
|
+
}, import("zod/v4/core").$strip>>;
|
|
4451
4638
|
blockingReasons: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
4452
4639
|
"billing-state-missing": "billing-state-missing";
|
|
4453
4640
|
"billing-account-closed": "billing-account-closed";
|
|
@@ -4913,9 +5100,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
4913
5100
|
restrictions: import("zod").ZodArray<import("zod").ZodString>;
|
|
4914
5101
|
}, import("zod/v4/core").$strip>;
|
|
4915
5102
|
}, import("zod/v4/core").$strip>;
|
|
4916
|
-
}, NamedOperation<"billing.notices">, NamedOperation<"billing.notificationsettings">, NamedOperation<"billing.notificationsettingsupdate">, {
|
|
5103
|
+
}, NamedOperation<"billing.notices">, NamedOperation<"billing.noticesdismiss">, NamedOperation<"billing.notificationsettings">, NamedOperation<"billing.notificationsettingsupdate">, {
|
|
4917
5104
|
readonly creates: false;
|
|
4918
|
-
readonly description: "" | "Reads the verified principal's authoritative execution-funding position, including available and reserved credit, amount owed, recurring project fees, the current UTC month's automatic-charge ceiling and its settled, pending and remaining gross authority, and bounded payment history. Manual purchases and project subscriptions are separately authorized and never consume the automatic ceiling. Pending gross charges include applicable tax; refunds never restore monthly automatic purchasing authority. Receipt and payment links are limited to supported provider-hosted HTTPS URLs.";
|
|
5105
|
+
readonly description: "" | "Reads the verified principal's authoritative execution-funding position, including available and reserved credit, amount owed, recurring project fees, the current UTC month's automatic-charge ceiling and its settled, pending and remaining gross authority, and bounded recent payment history in `paymentOperations` (billing.paymenthistory pages through the full history with a cursor). Manual purchases and project subscriptions are separately authorized and never consume the automatic ceiling. Pending gross charges include applicable tax; refunds never restore monthly automatic purchasing authority. Receipt and payment links are limited to supported provider-hosted HTTPS URLs.";
|
|
4919
5106
|
readonly id: "billing.funding";
|
|
4920
5107
|
readonly idempotent: true;
|
|
4921
5108
|
readonly mcp: {
|
|
@@ -5567,7 +5754,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
5567
5754
|
readonly surfaces: readonly ["api", "mock"];
|
|
5568
5755
|
}, {
|
|
5569
5756
|
readonly creates: false;
|
|
5570
|
-
readonly description: "" | "Lists the verified organization's project subscription charges: the payment provider's invoices for its project subscription, read by authenticated provider call, most recent first and at most 24. Execution-credit purchases are not listed here; billing.
|
|
5757
|
+
readonly description: "" | "Lists the verified organization's project subscription charges: the payment provider's invoices for its project subscription, read by authenticated provider call, most recent first and at most 24; billing.invoicehistory pages through the full history with a cursor. Execution-credit purchases are not listed here; billing.paymenthistory pages through them. Draft and zero-amount invoices are omitted. Each amount is the invoice total including tax, and the receipt link, when present, is the provider-hosted invoice page. An organization that has never been billed has an empty list; reading it creates nothing and changes nothing.";
|
|
5571
5758
|
readonly example: {
|
|
5572
5759
|
data?: never;
|
|
5573
5760
|
} | {
|
|
@@ -5805,6 +5992,18 @@ export declare const OPERATIONS: readonly [{
|
|
|
5805
5992
|
enforced: "enforced";
|
|
5806
5993
|
}>;
|
|
5807
5994
|
}, import("zod/v4/core").$strip>;
|
|
5995
|
+
attemptPrice: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
5996
|
+
bulk: import("zod").ZodObject<{
|
|
5997
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
5998
|
+
microdollars: import("zod").ZodString;
|
|
5999
|
+
scale: import("zod").ZodLiteral<6>;
|
|
6000
|
+
}, import("zod/v4/core").$strip>;
|
|
6001
|
+
realtime: import("zod").ZodObject<{
|
|
6002
|
+
currency: import("zod").ZodLiteral<"USD">;
|
|
6003
|
+
microdollars: import("zod").ZodString;
|
|
6004
|
+
scale: import("zod").ZodLiteral<6>;
|
|
6005
|
+
}, import("zod/v4/core").$strip>;
|
|
6006
|
+
}, import("zod/v4/core").$strip>>;
|
|
5808
6007
|
blockingReasons: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
5809
6008
|
"billing-state-missing": "billing-state-missing";
|
|
5810
6009
|
"billing-account-closed": "billing-account-closed";
|
|
@@ -6237,7 +6436,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6237
6436
|
revision?: never;
|
|
6238
6437
|
} | {
|
|
6239
6438
|
limits: {
|
|
6240
|
-
inlinePayloadBytes:
|
|
6439
|
+
inlinePayloadBytes: 8192;
|
|
6241
6440
|
forecastHorizonSeconds: number;
|
|
6242
6441
|
usageWindowDays: number;
|
|
6243
6442
|
};
|
|
@@ -6274,26 +6473,26 @@ export declare const OPERATIONS: readonly [{
|
|
|
6274
6473
|
inlinePayloadBytes: import("zod").ZodEnum<{
|
|
6275
6474
|
organization: "organization";
|
|
6276
6475
|
default: "default";
|
|
6277
|
-
global: "global";
|
|
6278
6476
|
deployment: "deployment";
|
|
6477
|
+
global: "global";
|
|
6279
6478
|
}>;
|
|
6280
6479
|
partitionKeyCeiling: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
6281
6480
|
organization: "organization";
|
|
6282
6481
|
default: "default";
|
|
6283
|
-
global: "global";
|
|
6284
6482
|
deployment: "deployment";
|
|
6483
|
+
global: "global";
|
|
6285
6484
|
}>>;
|
|
6286
6485
|
forecastHorizonSeconds: import("zod").ZodEnum<{
|
|
6287
6486
|
organization: "organization";
|
|
6288
6487
|
default: "default";
|
|
6289
|
-
global: "global";
|
|
6290
6488
|
deployment: "deployment";
|
|
6489
|
+
global: "global";
|
|
6291
6490
|
}>;
|
|
6292
6491
|
usageWindowDays: import("zod").ZodEnum<{
|
|
6293
6492
|
organization: "organization";
|
|
6294
6493
|
default: "default";
|
|
6295
|
-
global: "global";
|
|
6296
6494
|
deployment: "deployment";
|
|
6495
|
+
global: "global";
|
|
6297
6496
|
}>;
|
|
6298
6497
|
}, import("zod/v4/core").$strict>;
|
|
6299
6498
|
revision: import("zod").ZodObject<{
|
|
@@ -6383,8 +6582,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
6383
6582
|
readonly surfaces: readonly ["api", "mock"];
|
|
6384
6583
|
}, {
|
|
6385
6584
|
readonly creates: false;
|
|
6386
|
-
readonly description: "" | "Reads the verified principal's project timing cohort over the authoritative rolling 24-hour due-time window.
|
|
6585
|
+
readonly description: "" | "Reads the verified principal's project timing cohort over the authoritative rolling 24-hour due-time window. Policy timing-v2-service-bands judges each run from its original plannedFor against its occurrence service band's p95 first-outbound target: realtime 1,000ms, short_bulk 10,000ms, bulk 60,000ms. bandTargets contains the exact per-band counts and 95% verdicts; targets retains the 5,000ms (95%) and 15,000ms (99%) counters for legacy rows with no band only. All counters include eligible work that has not fired; customer blocks, platform blocks, skipped work and missing evidence stay visible beside the verdict. Values equal to a target meet it, and a threshold with no matured population is unknown. Delivered-sample p95 and p99 lateness are separate observations, including negative early-delivery defects. These are internal operating objectives, not a contractual SLA or service-credit promise.";
|
|
6387
6586
|
readonly example: {
|
|
6587
|
+
bandTargets?: never;
|
|
6388
6588
|
customerBlockedCount?: never;
|
|
6389
6589
|
deliveredSampleCount?: never;
|
|
6390
6590
|
freshness?: never;
|
|
@@ -6398,6 +6598,16 @@ export declare const OPERATIONS: readonly [{
|
|
|
6398
6598
|
windowEnd?: never;
|
|
6399
6599
|
windowStart?: never;
|
|
6400
6600
|
} | {
|
|
6601
|
+
bandTargets: {
|
|
6602
|
+
serviceBand: string;
|
|
6603
|
+
targetMs: number;
|
|
6604
|
+
breachCount: number;
|
|
6605
|
+
customerBlockedCount: number;
|
|
6606
|
+
eligibleOutstandingBreachCount: number;
|
|
6607
|
+
maturedCount: number;
|
|
6608
|
+
verdict: string;
|
|
6609
|
+
withinTargetCount: number;
|
|
6610
|
+
}[];
|
|
6401
6611
|
customerBlockedCount: number;
|
|
6402
6612
|
deliveredSampleCount: number;
|
|
6403
6613
|
freshness: {
|
|
@@ -6434,6 +6644,24 @@ export declare const OPERATIONS: readonly [{
|
|
|
6434
6644
|
readonly principals: readonly ["api-credential", "oauth", "session"];
|
|
6435
6645
|
readonly problems: readonly [];
|
|
6436
6646
|
readonly response: import("zod").ZodNever | import("zod").ZodObject<{
|
|
6647
|
+
bandTargets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
6648
|
+
serviceBand: import("zod").ZodEnum<{
|
|
6649
|
+
short_bulk: "short_bulk";
|
|
6650
|
+
bulk: "bulk";
|
|
6651
|
+
realtime: "realtime";
|
|
6652
|
+
}>;
|
|
6653
|
+
targetMs: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<1000>, import("zod").ZodLiteral<10000>, import("zod").ZodLiteral<60000>]>;
|
|
6654
|
+
breachCount: import("zod").ZodInt;
|
|
6655
|
+
customerBlockedCount: import("zod").ZodInt;
|
|
6656
|
+
eligibleOutstandingBreachCount: import("zod").ZodInt;
|
|
6657
|
+
maturedCount: import("zod").ZodInt;
|
|
6658
|
+
verdict: import("zod").ZodEnum<{
|
|
6659
|
+
unknown: "unknown";
|
|
6660
|
+
met: "met";
|
|
6661
|
+
missed: "missed";
|
|
6662
|
+
}>;
|
|
6663
|
+
withinTargetCount: import("zod").ZodInt;
|
|
6664
|
+
}, import("zod/v4/core").$strip>>>;
|
|
6437
6665
|
customerBlockedCount: import("zod").ZodInt;
|
|
6438
6666
|
deliveredSampleCount: import("zod").ZodInt;
|
|
6439
6667
|
freshness: import("zod").ZodObject<{
|
|
@@ -6594,6 +6822,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6594
6822
|
id: import("zod").ZodString;
|
|
6595
6823
|
plannedFor: import("zod").ZodString;
|
|
6596
6824
|
schedule: import("zod").ZodString;
|
|
6825
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6597
6826
|
sequence: import("zod").ZodNumber;
|
|
6598
6827
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6599
6828
|
state: import("zod").ZodEnum<{
|
|
@@ -6629,7 +6858,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6629
6858
|
readonly surfaces: readonly ["api", "mock"];
|
|
6630
6859
|
}, {
|
|
6631
6860
|
readonly creates: false;
|
|
6632
|
-
readonly description: "" | "Lists
|
|
6861
|
+
readonly description: "" | "Lists retained occurrences in the verified principal's project and environment one page at a time, newest first by planned instant with the occurrence identifier breaking millisecond ties; follow `nextCursor` until it is absent before counting or ranking. The `outcome` filter is applied after a bounded read, so a page can come back short, or empty, and still carry `nextCursor`: keep following it. Optional endpoint, schedule, half-open date-range and outcome filters may be combined; the endpoint is resolved through the schedules that belong to the same authority. The opaque cursor belongs to this operation and the exact normalized filters that issued it, so it cannot be replayed under another view. Every page publishes the authoritative earliest retained instant for the caller's effective plan. Each item carries its schedule's name as `scheduleName`, so a page of runs needs no schedule read per row. Each item is metadata only: callback payloads, destinations, response bodies and signing material have no field in the response.";
|
|
6633
6862
|
readonly example: {
|
|
6634
6863
|
data?: never;
|
|
6635
6864
|
freshness?: never;
|
|
@@ -6641,6 +6870,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6641
6870
|
id: string;
|
|
6642
6871
|
plannedFor: string;
|
|
6643
6872
|
schedule: string;
|
|
6873
|
+
scheduleName: string;
|
|
6644
6874
|
sequence: number;
|
|
6645
6875
|
settledAt: string;
|
|
6646
6876
|
state: string;
|
|
@@ -6703,6 +6933,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6703
6933
|
id: import("zod").ZodString;
|
|
6704
6934
|
plannedFor: import("zod").ZodString;
|
|
6705
6935
|
schedule: import("zod").ZodString;
|
|
6936
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6706
6937
|
sequence: import("zod").ZodNumber;
|
|
6707
6938
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6708
6939
|
state: import("zod").ZodEnum<{
|
|
@@ -6741,7 +6972,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6741
6972
|
readonly surfaces: readonly ["api", "mock"];
|
|
6742
6973
|
}, {
|
|
6743
6974
|
readonly creates: false;
|
|
6744
|
-
readonly description: "" | "Reads one retained occurrence from the PostgreSQL authority that owns its schedule. Trusted first-outbound timing is optional for records that predate substantiation; when present, firstAttemptLatenessMs is signed and a negative value exposes an early-delivery defect rather than being clamped to zero. Timing eligibility states whether a customer restriction excluded the occurrence from the internal target cohort. An identifier outside the verified principal's organization, project or environment is indistinguishable from an absent occurrence.";
|
|
6975
|
+
readonly description: "" | "Reads one retained occurrence from the PostgreSQL authority that owns its schedule. Trusted first-outbound timing is optional for records that predate substantiation; when present, firstAttemptLatenessMs is signed and a negative value exposes an early-delivery defect rather than being clamped to zero. Timing eligibility states whether a customer restriction excluded the occurrence from the internal target cohort. An identifier outside the verified principal's organization, project or environment is indistinguishable from an absent occurrence. timingPolicyVersion is timing-v2-service-bands when first-outbound evidence is recorded for a banded occurrence; legacy null-band occurrences retain their recorded policy (including payg-v1) and the 5,000ms/15,000ms thresholds.";
|
|
6745
6976
|
readonly example: {
|
|
6746
6977
|
freshness?: never;
|
|
6747
6978
|
occurrence?: never;
|
|
@@ -6785,6 +7016,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6785
7016
|
id: import("zod").ZodString;
|
|
6786
7017
|
plannedFor: import("zod").ZodString;
|
|
6787
7018
|
schedule: import("zod").ZodString;
|
|
7019
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6788
7020
|
sequence: import("zod").ZodNumber;
|
|
6789
7021
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6790
7022
|
state: import("zod").ZodEnum<{
|
|
@@ -6816,7 +7048,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6816
7048
|
readonly surfaces: readonly ["api", "mock"];
|
|
6817
7049
|
}, {
|
|
6818
7050
|
readonly creates: false;
|
|
6819
|
-
readonly description: "" | "Search
|
|
7051
|
+
readonly description: "" | "Search retained delivery attempts one page at a time by actual startedAt in the required UTC interval [startedFrom, startedBefore), newest first with attempt ID breaking ties; follow `nextCursor` until it is absent before counting. The `outcome` and `diagnostic` filters are applied after a bounded read, so a page can come back short, or empty, and still carry `nextCursor`: keep following it. Combine HTTP responseStatus, statusClass, attempt outcome or diagnostic, endpoint, schedule and exact host identifier/tag filters. The matched attempt outcome remains searchable after recovery; occurrence.state is its current outcome. Follow schedule and occurrence IDs to retained details and attempts.list for the complete retry chain. Only safe metadata is returned. Retention horizons describe normal plan history and attempt-detail limits; absence after expiry is not evidence that a delivery never happened. Unavailable queries fail explicitly. Cursors are bound to the verified authority and every selected filter.";
|
|
6820
7052
|
readonly example: {
|
|
6821
7053
|
data?: never;
|
|
6822
7054
|
freshness?: never;
|
|
@@ -6962,6 +7194,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
6962
7194
|
id: import("zod").ZodString;
|
|
6963
7195
|
plannedFor: import("zod").ZodString;
|
|
6964
7196
|
schedule: import("zod").ZodString;
|
|
7197
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6965
7198
|
sequence: import("zod").ZodNumber;
|
|
6966
7199
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6967
7200
|
state: import("zod").ZodEnum<{
|
|
@@ -7009,7 +7242,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
7009
7242
|
readonly surfaces: readonly ["api", "mock"];
|
|
7010
7243
|
}, {
|
|
7011
7244
|
readonly creates: false;
|
|
7012
|
-
readonly description: "" | "Lists the immutable attempts retained under one occurrence, ordered by start instant and attempt identifier so equal timestamps have a stable position. The PostgreSQL authority answers every page. Optional first-outbound fields carry trusted occurrence timing and its pinned policy; absence means unknown, never zero. Results expose only bounded outcome, response-status, duration, timing, diagnostic, remediation and redelivery-cause metadata; callback payloads, response bodies, destinations, signing material, secrets and transport traces are structurally absent.";
|
|
7245
|
+
readonly description: "" | "Lists the immutable attempts retained under one occurrence, ordered by start instant and attempt identifier so equal timestamps have a stable position. The PostgreSQL authority answers every page. Optional first-outbound fields carry trusted occurrence timing and its pinned policy; absence means unknown, never zero. Results expose only bounded outcome, response-status, duration, timing, diagnostic, remediation and redelivery-cause metadata; callback payloads, response bodies, destinations, signing material, secrets and transport traces are structurally absent. timingPolicyVersion is timing-v2-service-bands when first-outbound evidence is recorded for a banded occurrence; legacy null-band occurrences retain their recorded policy (including payg-v1) and the 5,000ms/15,000ms thresholds.";
|
|
7013
7246
|
readonly example: {
|
|
7014
7247
|
data?: never;
|
|
7015
7248
|
freshness?: never;
|
|
@@ -7122,6 +7355,12 @@ export declare const OPERATIONS: readonly [{
|
|
|
7122
7355
|
expired: "expired";
|
|
7123
7356
|
not_captured: "not_captured";
|
|
7124
7357
|
}>>;
|
|
7358
|
+
requestUnavailable: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7359
|
+
schedule_changed: "schedule_changed";
|
|
7360
|
+
endpoint_changed: "endpoint_changed";
|
|
7361
|
+
endpoint_deleted: "endpoint_deleted";
|
|
7362
|
+
payload_deleted: "payload_deleted";
|
|
7363
|
+
}>>;
|
|
7125
7364
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7126
7365
|
name: import("zod").ZodString;
|
|
7127
7366
|
value: import("zod").ZodString;
|
|
@@ -7180,7 +7419,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
7180
7419
|
readonly surfaces: readonly ["api", "mock"];
|
|
7181
7420
|
}, {
|
|
7182
7421
|
readonly creates: false;
|
|
7183
|
-
readonly description: "" | "Reads one immutable delivery attempt from its occurrence's PostgreSQL authority. Ambiguous means the receiver may have acted and is never rewritten into certainty without durable result evidence. Optional first-outbound fields come only from trusted transport evidence and absence means unknown, never zero. The bounded response omits callback payloads, response bodies, destinations, signing material, secrets and raw transport failures by construction.";
|
|
7422
|
+
readonly description: "" | "Reads one immutable delivery attempt from its occurrence's PostgreSQL authority. Ambiguous means the receiver may have acted and is never rewritten into certainty without durable result evidence. Optional first-outbound fields come only from trusted transport evidence and absence means unknown, never zero. The bounded response omits callback payloads, response bodies, destinations, signing material, secrets and raw transport failures by construction. timingPolicyVersion is timing-v2-service-bands when first-outbound evidence is recorded for a banded occurrence; legacy null-band occurrences retain their recorded policy (including payg-v1) and the 5,000ms/15,000ms thresholds.";
|
|
7184
7423
|
readonly example: {
|
|
7185
7424
|
attempt?: never;
|
|
7186
7425
|
freshness?: never;
|
|
@@ -7286,6 +7525,12 @@ export declare const OPERATIONS: readonly [{
|
|
|
7286
7525
|
expired: "expired";
|
|
7287
7526
|
not_captured: "not_captured";
|
|
7288
7527
|
}>>;
|
|
7528
|
+
requestUnavailable: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7529
|
+
schedule_changed: "schedule_changed";
|
|
7530
|
+
endpoint_changed: "endpoint_changed";
|
|
7531
|
+
endpoint_deleted: "endpoint_deleted";
|
|
7532
|
+
payload_deleted: "payload_deleted";
|
|
7533
|
+
}>>;
|
|
7289
7534
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7290
7535
|
name: import("zod").ZodString;
|
|
7291
7536
|
value: import("zod").ZodString;
|
|
@@ -7451,6 +7696,12 @@ export declare const OPERATIONS: readonly [{
|
|
|
7451
7696
|
expired: "expired";
|
|
7452
7697
|
not_captured: "not_captured";
|
|
7453
7698
|
}>>;
|
|
7699
|
+
requestUnavailable: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7700
|
+
schedule_changed: "schedule_changed";
|
|
7701
|
+
endpoint_changed: "endpoint_changed";
|
|
7702
|
+
endpoint_deleted: "endpoint_deleted";
|
|
7703
|
+
payload_deleted: "payload_deleted";
|
|
7704
|
+
}>>;
|
|
7454
7705
|
responseHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
7455
7706
|
name: import("zod").ZodString;
|
|
7456
7707
|
value: import("zod").ZodString;
|
|
@@ -7606,8 +7857,9 @@ export declare const OPERATIONS: readonly [{
|
|
|
7606
7857
|
endpoint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7607
7858
|
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7608
7859
|
latencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7609
|
-
realtime: "realtime";
|
|
7610
7860
|
bulk: "bulk";
|
|
7861
|
+
realtime: "realtime";
|
|
7862
|
+
auto: "auto";
|
|
7611
7863
|
}>>;
|
|
7612
7864
|
lateness: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7613
7865
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -7649,6 +7901,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
7649
7901
|
id: import("zod").ZodString;
|
|
7650
7902
|
plannedFor: import("zod").ZodString;
|
|
7651
7903
|
schedule: import("zod").ZodString;
|
|
7904
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7652
7905
|
sequence: import("zod").ZodNumber;
|
|
7653
7906
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7654
7907
|
state: import("zod").ZodEnum<{
|
|
@@ -7729,9 +7982,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
7729
7982
|
generation: import("zod").ZodNumber;
|
|
7730
7983
|
id: import("zod").ZodString;
|
|
7731
7984
|
latencyClass: import("zod").ZodEnum<{
|
|
7732
|
-
realtime: "realtime";
|
|
7733
7985
|
bulk: "bulk";
|
|
7986
|
+
realtime: "realtime";
|
|
7734
7987
|
}>;
|
|
7988
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7989
|
+
bulk: "bulk";
|
|
7990
|
+
realtime: "realtime";
|
|
7991
|
+
auto: "auto";
|
|
7992
|
+
}>>;
|
|
7735
7993
|
lateness: import("zod").ZodObject<{
|
|
7736
7994
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7737
7995
|
policy: import("zod").ZodEnum<{
|
|
@@ -7829,6 +8087,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
7829
8087
|
id: import("zod").ZodString;
|
|
7830
8088
|
plannedFor: import("zod").ZodString;
|
|
7831
8089
|
schedule: import("zod").ZodString;
|
|
8090
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7832
8091
|
sequence: import("zod").ZodNumber;
|
|
7833
8092
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7834
8093
|
state: import("zod").ZodEnum<{
|
|
@@ -7909,9 +8168,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
7909
8168
|
generation: import("zod").ZodNumber;
|
|
7910
8169
|
id: import("zod").ZodString;
|
|
7911
8170
|
latencyClass: import("zod").ZodEnum<{
|
|
7912
|
-
realtime: "realtime";
|
|
7913
8171
|
bulk: "bulk";
|
|
8172
|
+
realtime: "realtime";
|
|
7914
8173
|
}>;
|
|
8174
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8175
|
+
bulk: "bulk";
|
|
8176
|
+
realtime: "realtime";
|
|
8177
|
+
auto: "auto";
|
|
8178
|
+
}>>;
|
|
7915
8179
|
lateness: import("zod").ZodObject<{
|
|
7916
8180
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7917
8181
|
policy: import("zod").ZodEnum<{
|
|
@@ -8004,6 +8268,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
8004
8268
|
id: import("zod").ZodString;
|
|
8005
8269
|
plannedFor: import("zod").ZodString;
|
|
8006
8270
|
schedule: import("zod").ZodString;
|
|
8271
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8007
8272
|
sequence: import("zod").ZodNumber;
|
|
8008
8273
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8009
8274
|
state: import("zod").ZodEnum<{
|
|
@@ -8084,9 +8349,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
8084
8349
|
generation: import("zod").ZodNumber;
|
|
8085
8350
|
id: import("zod").ZodString;
|
|
8086
8351
|
latencyClass: import("zod").ZodEnum<{
|
|
8087
|
-
realtime: "realtime";
|
|
8088
8352
|
bulk: "bulk";
|
|
8353
|
+
realtime: "realtime";
|
|
8089
8354
|
}>;
|
|
8355
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8356
|
+
bulk: "bulk";
|
|
8357
|
+
realtime: "realtime";
|
|
8358
|
+
auto: "auto";
|
|
8359
|
+
}>>;
|
|
8090
8360
|
lateness: import("zod").ZodObject<{
|
|
8091
8361
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8092
8362
|
policy: import("zod").ZodEnum<{
|
|
@@ -8180,6 +8450,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
8180
8450
|
id: import("zod").ZodString;
|
|
8181
8451
|
plannedFor: import("zod").ZodString;
|
|
8182
8452
|
schedule: import("zod").ZodString;
|
|
8453
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8183
8454
|
sequence: import("zod").ZodNumber;
|
|
8184
8455
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8185
8456
|
state: import("zod").ZodEnum<{
|
|
@@ -8260,9 +8531,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
8260
8531
|
generation: import("zod").ZodNumber;
|
|
8261
8532
|
id: import("zod").ZodString;
|
|
8262
8533
|
latencyClass: import("zod").ZodEnum<{
|
|
8263
|
-
realtime: "realtime";
|
|
8264
8534
|
bulk: "bulk";
|
|
8535
|
+
realtime: "realtime";
|
|
8265
8536
|
}>;
|
|
8537
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8538
|
+
bulk: "bulk";
|
|
8539
|
+
realtime: "realtime";
|
|
8540
|
+
auto: "auto";
|
|
8541
|
+
}>>;
|
|
8266
8542
|
lateness: import("zod").ZodObject<{
|
|
8267
8543
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8268
8544
|
policy: import("zod").ZodEnum<{
|
|
@@ -8357,6 +8633,7 @@ export declare const OPERATIONS: readonly [{
|
|
|
8357
8633
|
id: import("zod").ZodString;
|
|
8358
8634
|
plannedFor: import("zod").ZodString;
|
|
8359
8635
|
schedule: import("zod").ZodString;
|
|
8636
|
+
scheduleName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8360
8637
|
sequence: import("zod").ZodNumber;
|
|
8361
8638
|
settledAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8362
8639
|
state: import("zod").ZodEnum<{
|
|
@@ -8437,9 +8714,14 @@ export declare const OPERATIONS: readonly [{
|
|
|
8437
8714
|
generation: import("zod").ZodNumber;
|
|
8438
8715
|
id: import("zod").ZodString;
|
|
8439
8716
|
latencyClass: import("zod").ZodEnum<{
|
|
8440
|
-
realtime: "realtime";
|
|
8441
8717
|
bulk: "bulk";
|
|
8718
|
+
realtime: "realtime";
|
|
8442
8719
|
}>;
|
|
8720
|
+
requestedLatencyClass: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8721
|
+
bulk: "bulk";
|
|
8722
|
+
realtime: "realtime";
|
|
8723
|
+
auto: "auto";
|
|
8724
|
+
}>>;
|
|
8443
8725
|
lateness: import("zod").ZodObject<{
|
|
8444
8726
|
maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8445
8727
|
policy: import("zod").ZodEnum<{
|