@greatwait/contracts 0.2.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/attempt-search.d.ts +235 -0
  2. package/dist/attempt-search.js +101 -0
  3. package/dist/authority.js +9 -9
  4. package/dist/billing.d.ts +4 -4
  5. package/dist/bulk-operations.d.ts +1832 -0
  6. package/dist/bulk-operations.js +610 -0
  7. package/dist/configuration-bounds.d.ts +12 -0
  8. package/dist/configuration-bounds.js +12 -0
  9. package/dist/configuration.d.ts +75 -0
  10. package/dist/configuration.js +242 -0
  11. package/dist/data-export.d.ts +3 -3
  12. package/dist/delivery.d.ts +1 -0
  13. package/dist/delivery.js +1 -0
  14. package/dist/effective-limits.d.ts +4 -4
  15. package/dist/endpoints.js +25 -25
  16. package/dist/execution-selection.d.ts +48 -0
  17. package/dist/execution-selection.js +21 -0
  18. package/dist/http-request.d.ts +1 -1
  19. package/dist/http-request.js +25 -23
  20. package/dist/identifiers.d.ts +2 -0
  21. package/dist/identifiers.js +21 -19
  22. package/dist/identity.d.ts +3 -3
  23. package/dist/index.d.ts +5 -0
  24. package/dist/index.js +5 -0
  25. package/dist/occurrence-states.d.ts +14 -0
  26. package/dist/occurrence-states.js +13 -0
  27. package/dist/operational-config.js +7 -6
  28. package/dist/operations.d.ts +573 -89
  29. package/dist/operations.js +67 -0
  30. package/dist/protocol.d.ts +19 -5
  31. package/dist/protocol.js +47 -40
  32. package/dist/schedule-selection.d.ts +28 -0
  33. package/dist/schedule-selection.js +48 -0
  34. package/dist/scheduling-records.d.ts +20 -20
  35. package/dist/scheduling.d.ts +109 -63
  36. package/dist/scheduling.js +101 -117
  37. package/dist/signatures.d.ts +6 -6
  38. package/dist/signatures.js +24 -24
  39. package/dist/stored-http.d.ts +18 -0
  40. package/dist/stored-http.js +106 -0
  41. package/dist/test-sink.d.ts +6 -6
  42. package/dist/time.js +7 -7
  43. package/dist/usage.d.ts +3 -3
  44. package/generated/v1/examples/attempts.search.response.json +42 -0
  45. package/generated/v1/examples/bulk.cancel.request.json +3 -0
  46. package/generated/v1/examples/bulk.cancel.response.json +59 -0
  47. package/generated/v1/examples/bulk.confirm.request.json +5 -0
  48. package/generated/v1/examples/bulk.confirm.response.json +59 -0
  49. package/generated/v1/examples/bulk.items.response.json +3 -0
  50. package/generated/v1/examples/bulk.list.response.json +63 -0
  51. package/generated/v1/examples/bulk.pause.request.json +3 -0
  52. package/generated/v1/examples/bulk.pause.response.json +59 -0
  53. package/generated/v1/examples/bulk.preview.request.json +12 -0
  54. package/generated/v1/examples/bulk.preview.response.json +59 -0
  55. package/generated/v1/examples/bulk.read.response.json +59 -0
  56. package/generated/v1/examples/bulk.resume.request.json +3 -0
  57. package/generated/v1/examples/bulk.resume.response.json +59 -0
  58. package/generated/v1/manifest.json +243 -1
  59. package/generated/v1/openapi.json +21569 -2418
  60. package/generated/v1/policy-matrix.json +63 -0
  61. package/generated/v1/schemas/attempts.search.query.json +96 -0
  62. package/generated/v1/schemas/attempts.search.response.json +271 -0
  63. package/generated/v1/schemas/bulk.cancel.request.json +13 -0
  64. package/generated/v1/schemas/bulk.cancel.response.json +1717 -0
  65. package/generated/v1/schemas/bulk.confirm.request-headers.json +13 -0
  66. package/generated/v1/schemas/bulk.confirm.request.json +19 -0
  67. package/generated/v1/schemas/bulk.confirm.response.json +1717 -0
  68. package/generated/v1/schemas/bulk.items.query.json +29 -0
  69. package/generated/v1/schemas/bulk.items.response.json +194 -0
  70. package/generated/v1/schemas/bulk.list.query.json +32 -0
  71. package/generated/v1/schemas/bulk.list.response.json +1789 -0
  72. package/generated/v1/schemas/bulk.pause.request.json +13 -0
  73. package/generated/v1/schemas/bulk.pause.response.json +1717 -0
  74. package/generated/v1/schemas/bulk.preview.request.json +1218 -0
  75. package/generated/v1/schemas/bulk.preview.response.json +1717 -0
  76. package/generated/v1/schemas/bulk.read.response.json +1717 -0
  77. package/generated/v1/schemas/bulk.resume.request.json +13 -0
  78. package/generated/v1/schemas/bulk.resume.response.json +1717 -0
  79. package/generated/v1/schemas/executions.list.query.json +33 -12
  80. package/generated/v1/schemas/schedules.list.query.json +32 -3
  81. package/generated/v1/snippets/attempts.search.json +6 -0
  82. package/generated/v1/snippets/bulk.cancel.json +6 -0
  83. package/generated/v1/snippets/bulk.confirm.json +6 -0
  84. package/generated/v1/snippets/bulk.items.json +6 -0
  85. package/generated/v1/snippets/bulk.list.json +6 -0
  86. package/generated/v1/snippets/bulk.pause.json +6 -0
  87. package/generated/v1/snippets/bulk.preview.json +6 -0
  88. package/generated/v1/snippets/bulk.read.json +6 -0
  89. package/generated/v1/snippets/bulk.resume.json +6 -0
  90. package/package.json +1 -1
@@ -31,7 +31,7 @@ export function reservedHttpHeaderReason(name) {
31
31
  return "reserved for transport";
32
32
  return undefined;
33
33
  }
34
- export const httpHeaderNameSchema = z
34
+ export const httpHeaderNameSchema = /* @__PURE__ */ (() => z
35
35
  .string()
36
36
  .min(1)
37
37
  .superRefine((name, ctx) => {
@@ -48,8 +48,8 @@ export const httpHeaderNameSchema = z
48
48
  const reason = reservedHttpHeaderReason(name);
49
49
  if (reason !== undefined)
50
50
  ctx.addIssue({ code: "custom", message: `${name}: ${reason}` });
51
- });
52
- export const httpHeaderValueSchema = z.string().superRefine((value, ctx) => {
51
+ }))();
52
+ export const httpHeaderValueSchema = /* @__PURE__ */ (() => z.string().superRefine((value, ctx) => {
53
53
  if (Array.from(value).some((character) => {
54
54
  const point = character.codePointAt(0);
55
55
  return point < 32 || (point >= 127 && point <= 159) || point > 255;
@@ -64,8 +64,8 @@ export const httpHeaderValueSchema = z.string().superRefine((value, ctx) => {
64
64
  code: "custom",
65
65
  message: "header value exceeds 8192 bytes",
66
66
  });
67
- });
68
- export const headerChangeSchema = z.discriminatedUnion("action", [
67
+ }))();
68
+ export const headerChangeSchema = /* @__PURE__ */ (() => z.discriminatedUnion("action", [
69
69
  z
70
70
  .object({
71
71
  action: z.literal("set"),
@@ -74,15 +74,17 @@ export const headerChangeSchema = z.discriminatedUnion("action", [
74
74
  secret: z.boolean().optional(),
75
75
  })
76
76
  .strict(),
77
- z.object({ action: z.literal("keep"), name: httpHeaderNameSchema }).strict(),
77
+ z
78
+ .object({ action: z.literal("keep"), name: httpHeaderNameSchema })
79
+ .strict(),
78
80
  z
79
81
  .object({ action: z.literal("remove"), name: httpHeaderNameSchema })
80
82
  .strict(),
81
83
  z
82
84
  .object({ action: z.literal("suppress"), name: httpHeaderNameSchema })
83
85
  .strict(),
84
- ]);
85
- export const headerChangesSchema = z
86
+ ]))();
87
+ export const headerChangesSchema = /* @__PURE__ */ (() => z
86
88
  .array(headerChangeSchema)
87
89
  .max(HTTP_HEADER_BOUNDS.count * 2)
88
90
  .superRefine((rows, ctx) => {
@@ -113,8 +115,8 @@ export const headerChangesSchema = z
113
115
  code: "custom",
114
116
  message: "headers exceed 16384 total bytes",
115
117
  });
116
- });
117
- export const endpointHeaderChangesSchema = headerChangesSchema.superRefine((rows, ctx) => {
118
+ }))();
119
+ export const endpointHeaderChangesSchema = /* @__PURE__ */ (() => headerChangesSchema.superRefine((rows, ctx) => {
118
120
  rows.forEach((row, index) => {
119
121
  if (row.action === "suppress")
120
122
  ctx.addIssue({
@@ -123,8 +125,8 @@ export const endpointHeaderChangesSchema = headerChangesSchema.superRefine((rows
123
125
  message: "only a schedule can suppress an inherited header",
124
126
  });
125
127
  });
126
- });
127
- export const publicHttpHeaderSchema = z.union([
128
+ }))();
129
+ export const publicHttpHeaderSchema = /* @__PURE__ */ (() => z.union([
128
130
  z
129
131
  .object({
130
132
  name: httpHeaderNameSchema,
@@ -144,8 +146,8 @@ export const publicHttpHeaderSchema = z.union([
144
146
  z
145
147
  .object({ name: httpHeaderNameSchema, suppressed: z.literal(true) })
146
148
  .strict(),
147
- ]);
148
- export const httpRequestSchema = z
149
+ ]))();
150
+ export const httpRequestSchema = /* @__PURE__ */ (() => z
149
151
  .object({
150
152
  method: z.enum(HTTP_METHODS).optional(),
151
153
  body: z
@@ -164,8 +166,8 @@ export const httpRequestSchema = z
164
166
  path: ["body"],
165
167
  message: "GET must be bodyless; omit body",
166
168
  });
167
- });
168
- export const publicHttpRequestSchema = z
169
+ }))();
170
+ export const publicHttpRequestSchema = /* @__PURE__ */ (() => z
169
171
  .object({
170
172
  method: z.enum(HTTP_METHODS),
171
173
  body: z.discriminatedUnion("mode", [
@@ -177,9 +179,9 @@ export const publicHttpRequestSchema = z
177
179
  ]),
178
180
  headers: z.array(publicHttpHeaderSchema),
179
181
  })
180
- .strict();
182
+ .strict())();
181
183
  /** Internal portability schema: ciphertext remains sealed across backend exports. */
182
- const sealedHttpValueSchema = z
184
+ const sealedHttpValueSchema = /* @__PURE__ */ (() => z
183
185
  .object({
184
186
  keyId: z.literal("v1"),
185
187
  nonce: z.string().regex(/^[A-Za-z0-9_-]{16}$/u),
@@ -189,7 +191,7 @@ const sealedHttpValueSchema = z
189
191
  .max(100000)
190
192
  .regex(/^[A-Za-z0-9_-]+$/u),
191
193
  })
192
- .strict();
194
+ .strict())();
193
195
  function decodedCipherBytes(value) {
194
196
  try {
195
197
  const padding = "=".repeat((4 - (value.length % 4)) % 4);
@@ -204,7 +206,7 @@ function decodedCipherBytes(value) {
204
206
  return undefined;
205
207
  }
206
208
  }
207
- export const storedHttpHeaderSchema = z
209
+ export const storedHttpHeaderSchema = /* @__PURE__ */ (() => z
208
210
  .union([
209
211
  z
210
212
  .object({
@@ -253,8 +255,8 @@ export const storedHttpHeaderSchema = z
253
255
  path: ["valueBytes"],
254
256
  message: "header byte count must match value",
255
257
  });
256
- });
257
- export const storedHttpRequestSchema = z
258
+ }))();
259
+ export const storedHttpRequestSchema = /* @__PURE__ */ (() => z
258
260
  .object({
259
261
  method: z.enum(HTTP_METHODS),
260
262
  bodyMode: z.enum(["envelope", "json", "none"]),
@@ -302,4 +304,4 @@ export const storedHttpRequestSchema = z
302
304
  path: ["headers"],
303
305
  message: "stored headers exceed 16384 total bytes",
304
306
  });
305
- });
307
+ }))();
@@ -17,6 +17,7 @@ export declare const ID_PREFIXES: {
17
17
  readonly apiCredential: "ak";
18
18
  readonly apiCredentialEvent: "ake";
19
19
  readonly attempt: "att";
20
+ readonly bulkJob: "bjo";
20
21
  readonly authorizationRequest: "oar";
21
22
  readonly callbackSigningKey: "csk";
22
23
  readonly delivery: "dlv";
@@ -49,6 +50,7 @@ export declare const oauthGrantIdSchema: import("zod").ZodString;
49
50
  export declare const oauthGrantEventIdSchema: import("zod").ZodString;
50
51
  export declare const scheduleIdSchema: import("zod").ZodString;
51
52
  export declare const occurrenceIdSchema: import("zod").ZodString;
53
+ export declare const bulkJobIdSchema: import("zod").ZodString;
52
54
  export declare const attemptIdSchema: import("zod").ZodString;
53
55
  export declare const deliveryIdSchema: import("zod").ZodString;
54
56
  export declare const endpointIdSchema: import("zod").ZodString;
@@ -21,6 +21,7 @@ export const ID_PREFIXES = {
21
21
  // would make an identifier ambiguous about which stream it belongs to.
22
22
  apiCredentialEvent: "ake",
23
23
  attempt: "att",
24
+ bulkJob: "bjo",
24
25
  // A pending OAuth authorization, alive only between the client's redirect and
25
26
  // the member's answer. It is an identifier rather than an opaque blob because
26
27
  // the consent screen has to fetch it by name, and a blob in a URL is a blob
@@ -64,30 +65,31 @@ export function idPattern(resource) {
64
65
  return new RegExp(`^${ID_PREFIXES[resource]}_${SUFFIX}$`, "u");
65
66
  }
66
67
  /** Any well-formed public identifier, whatever it names. */
67
- export const ANY_ID_PATTERN = new RegExp(`^(?:${Object.values(ID_PREFIXES).join("|")})_${SUFFIX}$`, "u");
68
+ export const ANY_ID_PATTERN = /* @__PURE__ */ (() => new RegExp(`^(?:${Object.values(ID_PREFIXES).join("|")})_${SUFFIX}$`, "u"))();
68
69
  export function idSchema(resource) {
69
70
  return z
70
71
  .string()
71
72
  .regex(idPattern(resource), `must be a ${resource} identifier: "${ID_PREFIXES[resource]}_" followed by 26 Crockford base32 characters`);
72
73
  }
73
- export const apiCredentialIdSchema = idSchema("apiCredential");
74
- export const apiCredentialEventIdSchema = idSchema("apiCredentialEvent");
75
- export const authorizationRequestIdSchema = idSchema("authorizationRequest");
76
- export const callbackSigningKeyIdSchema = idSchema("callbackSigningKey");
77
- export const oauthClientIdSchema = idSchema("oauthClient");
78
- export const oauthGrantIdSchema = idSchema("oauthGrant");
79
- export const oauthGrantEventIdSchema = idSchema("oauthGrantEvent");
80
- export const scheduleIdSchema = idSchema("schedule");
81
- export const occurrenceIdSchema = idSchema("occurrence");
82
- export const attemptIdSchema = idSchema("attempt");
83
- export const deliveryIdSchema = idSchema("delivery");
84
- export const endpointIdSchema = idSchema("endpoint");
85
- export const organizationIdSchema = idSchema("organization");
86
- export const projectIdSchema = idSchema("project");
87
- export const environmentIdSchema = idSchema("environment");
88
- export const eventIdSchema = idSchema("event");
89
- export const testSinkIdSchema = idSchema("testSink");
90
- export const testSinkDeliveryIdSchema = idSchema("testSinkDelivery");
74
+ export const apiCredentialIdSchema = /* @__PURE__ */ (() => idSchema("apiCredential"))();
75
+ export const apiCredentialEventIdSchema = /* @__PURE__ */ (() => idSchema("apiCredentialEvent"))();
76
+ export const authorizationRequestIdSchema = /* @__PURE__ */ (() => idSchema("authorizationRequest"))();
77
+ export const callbackSigningKeyIdSchema = /* @__PURE__ */ (() => idSchema("callbackSigningKey"))();
78
+ export const oauthClientIdSchema = /* @__PURE__ */ (() => idSchema("oauthClient"))();
79
+ export const oauthGrantIdSchema = /* @__PURE__ */ (() => idSchema("oauthGrant"))();
80
+ export const oauthGrantEventIdSchema = /* @__PURE__ */ (() => idSchema("oauthGrantEvent"))();
81
+ export const scheduleIdSchema = /* @__PURE__ */ (() => idSchema("schedule"))();
82
+ export const occurrenceIdSchema = /* @__PURE__ */ (() => idSchema("occurrence"))();
83
+ export const bulkJobIdSchema = /* @__PURE__ */ (() => idSchema("bulkJob"))();
84
+ export const attemptIdSchema = /* @__PURE__ */ (() => idSchema("attempt"))();
85
+ export const deliveryIdSchema = /* @__PURE__ */ (() => idSchema("delivery"))();
86
+ export const endpointIdSchema = /* @__PURE__ */ (() => idSchema("endpoint"))();
87
+ export const organizationIdSchema = /* @__PURE__ */ (() => idSchema("organization"))();
88
+ export const projectIdSchema = /* @__PURE__ */ (() => idSchema("project"))();
89
+ export const environmentIdSchema = /* @__PURE__ */ (() => idSchema("environment"))();
90
+ export const eventIdSchema = /* @__PURE__ */ (() => idSchema("event"))();
91
+ export const testSinkIdSchema = /* @__PURE__ */ (() => idSchema("testSink"))();
92
+ export const testSinkDeliveryIdSchema = /* @__PURE__ */ (() => idSchema("testSinkDelivery"))();
91
93
  /**
92
94
  * The alphabet the pattern above accepts, in order.
93
95
  *
@@ -71,8 +71,8 @@ export type MembershipRole = z.infer<typeof membershipRoleSchema>;
71
71
  */
72
72
  export declare const MEMBERSHIP_STATUSES: readonly ["active", "suspended", "removed"];
73
73
  export declare const membershipStatusSchema: import("zod").ZodEnum<{
74
- removed: "removed";
75
74
  active: "active";
75
+ removed: "removed";
76
76
  suspended: "suspended";
77
77
  }>;
78
78
  export type MembershipStatus = z.infer<typeof membershipStatusSchema>;
@@ -105,8 +105,8 @@ export declare const membershipSchema: import("zod").ZodObject<{
105
105
  billing: "billing";
106
106
  }>;
107
107
  status: import("zod").ZodEnum<{
108
- removed: "removed";
109
108
  active: "active";
109
+ removed: "removed";
110
110
  suspended: "suspended";
111
111
  }>;
112
112
  user: import("zod").ZodString;
@@ -147,8 +147,8 @@ export declare const membershipChangeSchema: import("zod").ZodObject<{
147
147
  billing: "billing";
148
148
  }>;
149
149
  status: import("zod").ZodEnum<{
150
- removed: "removed";
151
150
  active: "active";
151
+ removed: "removed";
152
152
  suspended: "suspended";
153
153
  }>;
154
154
  user: import("zod").ZodString;
package/dist/index.d.ts CHANGED
@@ -35,3 +35,8 @@ export * from "./http-request.js";
35
35
  export { sanitizedDiagnosticText, diagnosticBodyText, responseBodySentence, requestCaptureSentence, attemptStatusGuidance, } from "./attempt-diagnostics.js";
36
36
  export { PROJECT_NOTIFICATION_OPERATIONS, notificationEmailRecipientsSchema, notificationEmailSettingsSchema, statusWebhookEventSchema, statusWebhookConfigurationSchema, projectNotificationSettingsSchema, projectNotificationSettingsUpdateRequestSchema, statusSigningKeyRequestSchema, statusSigningKeyCreatedSchema, statusWebhookPayloadSchema, statusWebhookDeliverySchema, statusWebhookDeliveryPageSchema, type ProjectNotificationSettings, type ProjectNotificationSettingsUpdateRequest, type StatusSigningKeyCreated, type StatusWebhookEvent, type StatusWebhookPayload, type StatusWebhookDelivery, type StatusWebhookDeliveryPage, } from "./project-notifications.js";
37
37
  export { externalIdentifierSchema, scheduleTagSchema, scheduleTagsSchema, } from "./host-correlation.js";
38
+ export { scheduleSelectionSchema, normalizeScheduleSelection, type ScheduleSelection, } from "./schedule-selection.js";
39
+ export * from "./bulk-operations.js";
40
+ export { executionSelectionSchema, normalizeExecutionSelection, type ExecutionSelection, } from "./execution-selection.js";
41
+ export { bulkJobIdSchema } from "./identifiers.js";
42
+ export * from "./attempt-search.js";
package/dist/index.js CHANGED
@@ -35,3 +35,8 @@ export * from "./http-request.js";
35
35
  export { sanitizedDiagnosticText, diagnosticBodyText, responseBodySentence, requestCaptureSentence, attemptStatusGuidance, } from "./attempt-diagnostics.js";
36
36
  export { PROJECT_NOTIFICATION_OPERATIONS, notificationEmailRecipientsSchema, notificationEmailSettingsSchema, statusWebhookEventSchema, statusWebhookConfigurationSchema, projectNotificationSettingsSchema, projectNotificationSettingsUpdateRequestSchema, statusSigningKeyRequestSchema, statusSigningKeyCreatedSchema, statusWebhookPayloadSchema, statusWebhookDeliverySchema, statusWebhookDeliveryPageSchema, } from "./project-notifications.js";
37
37
  export { externalIdentifierSchema, scheduleTagSchema, scheduleTagsSchema, } from "./host-correlation.js";
38
+ export { scheduleSelectionSchema, normalizeScheduleSelection, } from "./schedule-selection.js";
39
+ export * from "./bulk-operations.js";
40
+ export { executionSelectionSchema, normalizeExecutionSelection, } from "./execution-selection.js";
41
+ export { bulkJobIdSchema } from "./identifiers.js";
42
+ export * from "./attempt-search.js";
@@ -0,0 +1,14 @@
1
+ import { z } from "./zod.js";
2
+ export declare const OCCURRENCE_STATES: readonly ["planned", "due", "dispatching", "retry_wait", "ambiguous", "succeeded", "terminal_failed", "cancelled", "skipped_stale"];
3
+ export declare const occurrenceStateSchema: import("zod").ZodEnum<{
4
+ planned: "planned";
5
+ due: "due";
6
+ dispatching: "dispatching";
7
+ retry_wait: "retry_wait";
8
+ ambiguous: "ambiguous";
9
+ succeeded: "succeeded";
10
+ terminal_failed: "terminal_failed";
11
+ cancelled: "cancelled";
12
+ skipped_stale: "skipped_stale";
13
+ }>;
14
+ export type OccurrenceState = z.infer<typeof occurrenceStateSchema>;
@@ -0,0 +1,13 @@
1
+ import { z } from "./zod.js";
2
+ export const OCCURRENCE_STATES = [
3
+ "planned",
4
+ "due",
5
+ "dispatching",
6
+ "retry_wait",
7
+ "ambiguous",
8
+ "succeeded",
9
+ "terminal_failed",
10
+ "cancelled",
11
+ "skipped_stale",
12
+ ];
13
+ export const occurrenceStateSchema = z.enum(OCCURRENCE_STATES);
@@ -85,7 +85,7 @@ export const OPERATIONAL_TIMING = Object.freeze({
85
85
  forecastRefreshMaximumMs: 300_000,
86
86
  forecastCoverageSlackMs: 120_000,
87
87
  });
88
- export const OPERATIONAL_TIMING_ENFORCEMENT = Object.freeze({
88
+ export const OPERATIONAL_TIMING_ENFORCEMENT = /* @__PURE__ */ (() => Object.freeze({
89
89
  forecastRefreshFloorMs: [
90
90
  "packages/contracts/src/forecast.ts#OPERATIONAL_TIMING.forecastRefreshFloorMs",
91
91
  "packages/scheduling/src/partition-forecast.ts#OPERATIONAL_TIMING.forecastRefreshFloorMs",
@@ -160,7 +160,6 @@ export const OPERATIONAL_TIMING_ENFORCEMENT = Object.freeze({
160
160
  ],
161
161
  hostFullRetryMs: [
162
162
  "packages/application/src/dialer.ts#DEFAULT_HOST_FULL_RETRY_MS",
163
- "packages/postgres-scheduling/src/postgres-repository.ts#CLAIM_SEND_HOST_FULL_RETRY_MS",
164
163
  ],
165
164
  deliveryRetryBaseMs: [
166
165
  "packages/application/src/schedule-series.ts#RETRY_BASE_MS",
@@ -217,7 +216,9 @@ export const OPERATIONAL_TIMING_ENFORCEMENT = Object.freeze({
217
216
  "apps/api/src/detached-signal.ts#TIMER_SIGNAL_RETRY_DELAYS_MS",
218
217
  ],
219
218
  dispatchWarmHorizonMs: ["apps/api/src/worker.ts#DISPATCH_WARM_HORIZON_MS"],
220
- sdkAutoRetryCount: ["packages/api-client/src/client.ts#SDK_AUTO_RETRY_LIMIT"],
219
+ sdkAutoRetryCount: [
220
+ "packages/api-client/src/client.ts#SDK_AUTO_RETRY_LIMIT",
221
+ ],
221
222
  sdkAutoRetryBaseMs: [
222
223
  "packages/api-client/src/client.ts#SDK_AUTO_RETRY_BASE_DELAY_MS",
223
224
  ],
@@ -322,9 +323,9 @@ export const OPERATIONAL_TIMING_ENFORCEMENT = Object.freeze({
322
323
  projectBillingConflictRetryCount: [
323
324
  "packages/application/src/project-billing.ts#OPERATIONAL_TIMING.projectBillingConflictRetryCount",
324
325
  ],
325
- });
326
+ }))();
326
327
  /** Catalog metadata derives its defaults from the numeric owner above. */
327
- export const OPERATIONAL_TIMING_CATALOG = Object.freeze(Object.keys(OPERATIONAL_TIMING).map((key) => Object.freeze({
328
+ export const OPERATIONAL_TIMING_CATALOG = /* @__PURE__ */ (() => Object.freeze(Object.keys(OPERATIONAL_TIMING).map((key) => Object.freeze({
328
329
  key: `operational.${key}`,
329
330
  default: OPERATIONAL_TIMING[key],
330
331
  unit: key.endsWith("Seconds")
@@ -338,4 +339,4 @@ export const OPERATIONAL_TIMING_CATALOG = Object.freeze(Object.keys(OPERATIONAL_
338
339
  changeProcedure: "Reviewed deployment; preserve callback, retry, funding and receipt compatibility",
339
340
  rationale: "Retain the existing measured or copied operating policy; the enforcement owner documents its evidence",
340
341
  enforcement: OPERATIONAL_TIMING_ENFORCEMENT[key],
341
- })));
342
+ }))))();