@spacefast/common 0.0.5 → 0.0.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.
Files changed (183) hide show
  1. package/brand-assets/spacefast-favicon.svg +16 -0
  2. package/brand-assets/spacefast-sf-full-bleed.svg +13 -0
  3. package/brand-assets/spacefast-wordmark.svg +5 -0
  4. package/dist/agents/connect-targets.d.ts +138 -0
  5. package/dist/agents/connect-targets.js +243 -0
  6. package/dist/brand-assets-build.d.ts +26 -0
  7. package/dist/brand-assets-build.js +81 -0
  8. package/dist/brand-assets.d.ts +42 -0
  9. package/dist/brand-assets.js +30 -0
  10. package/dist/brand.d.ts +1 -0
  11. package/dist/brand.js +5 -0
  12. package/dist/config/domains.d.ts +12 -6
  13. package/dist/config/domains.js +30 -38
  14. package/dist/contracts/access.d.ts +967 -124
  15. package/dist/contracts/access.js +804 -148
  16. package/dist/contracts/activity.d.ts +1 -1
  17. package/dist/contracts/activity.js +28 -2
  18. package/dist/contracts/annotations.d.ts +2 -4
  19. package/dist/contracts/api-keys.d.ts +126 -4
  20. package/dist/contracts/api-keys.js +74 -6
  21. package/dist/contracts/archives.d.ts +8 -2
  22. package/dist/contracts/archives.js +11 -4
  23. package/dist/contracts/billing.d.ts +0 -9
  24. package/dist/contracts/builds.d.ts +65 -21
  25. package/dist/contracts/builds.js +29 -0
  26. package/dist/contracts/common.d.ts +2 -0
  27. package/dist/contracts/common.js +4 -0
  28. package/dist/contracts/continuation.d.ts +0 -3
  29. package/dist/contracts/countries.d.ts +2 -0
  30. package/dist/contracts/countries.js +261 -0
  31. package/dist/contracts/deployments.d.ts +34 -34
  32. package/dist/contracts/device-auth.d.ts +4 -11
  33. package/dist/contracts/device-auth.js +4 -0
  34. package/dist/contracts/docs.d.ts +119 -0
  35. package/dist/contracts/docs.js +51 -0
  36. package/dist/contracts/domains.d.ts +96 -54
  37. package/dist/contracts/domains.js +26 -4
  38. package/dist/contracts/enums.d.ts +15 -16
  39. package/dist/contracts/enums.js +26 -14
  40. package/dist/contracts/error-code-meta.d.ts +184 -0
  41. package/dist/contracts/error-code-meta.js +124 -10
  42. package/dist/contracts/error-codes.d.ts +1 -1
  43. package/dist/contracts/error-codes.js +42 -0
  44. package/dist/contracts/events.d.ts +1 -1
  45. package/dist/contracts/feature-lifecycle-core.d.ts +36 -0
  46. package/dist/contracts/feature-lifecycle-core.js +220 -0
  47. package/dist/contracts/feature-lifecycle.d.ts +7 -0
  48. package/dist/contracts/feature-lifecycle.js +31 -0
  49. package/dist/contracts/features.d.ts +76 -6
  50. package/dist/contracts/features.js +178 -13
  51. package/dist/contracts/generated-feature-launch-entries.d.ts +2 -0
  52. package/dist/contracts/generated-feature-launch-entries.js +518 -0
  53. package/dist/contracts/git.d.ts +2 -8
  54. package/dist/contracts/ids.d.ts +9 -0
  55. package/dist/contracts/ids.js +13 -0
  56. package/dist/contracts/mcp.d.ts +8 -10
  57. package/dist/contracts/me.js +1 -1
  58. package/dist/contracts/oauth-resources.d.ts +19 -8
  59. package/dist/contracts/oauth-resources.js +44 -13
  60. package/dist/contracts/operations.d.ts +161 -1
  61. package/dist/contracts/operations.js +49 -1
  62. package/dist/contracts/platform.d.ts +6 -102
  63. package/dist/contracts/platform.js +6 -50
  64. package/dist/contracts/publishes.d.ts +130 -0
  65. package/dist/contracts/publishes.js +145 -0
  66. package/dist/contracts/push-new.d.ts +4 -4
  67. package/dist/contracts/quotas.d.ts +2 -0
  68. package/dist/contracts/quotas.js +8 -0
  69. package/dist/contracts/repository-connections.d.ts +9 -8
  70. package/dist/contracts/repository-connections.js +13 -0
  71. package/dist/contracts/resources.d.ts +99 -13
  72. package/dist/contracts/resources.js +36 -4
  73. package/dist/contracts/routes.d.ts +0 -2
  74. package/dist/contracts/runtime-api.d.ts +363 -39
  75. package/dist/contracts/runtime-api.js +276 -6
  76. package/dist/contracts/sf-config-v1.d.ts +75 -0
  77. package/dist/contracts/sf-config-v1.js +6 -0
  78. package/dist/contracts/sites.d.ts +19 -2
  79. package/dist/contracts/sites.js +21 -0
  80. package/dist/contracts/space-config.d.ts +201 -2
  81. package/dist/contracts/space-config.js +135 -5
  82. package/dist/contracts/spaces.d.ts +376 -196
  83. package/dist/contracts/spaces.js +62 -10
  84. package/dist/contracts/superadmin-emails.d.ts +4 -2
  85. package/dist/contracts/superadmin-emails.js +8 -0
  86. package/dist/contracts/superadmin-queues.d.ts +26 -26
  87. package/dist/contracts/superadmin-spaces.d.ts +172 -42
  88. package/dist/contracts/superadmin-tenants.d.ts +6 -6
  89. package/dist/contracts/superadmin-tenants.js +6 -11
  90. package/dist/contracts/superadmin.d.ts +6 -93
  91. package/dist/contracts/superadmin.js +6 -14
  92. package/dist/contracts/tags.d.ts +10 -9
  93. package/dist/contracts/tags.js +2 -1
  94. package/dist/contracts/teams.d.ts +26 -30
  95. package/dist/contracts/teams.js +11 -17
  96. package/dist/contracts/theme-json.d.ts +30 -0
  97. package/dist/contracts/theme-json.js +48 -0
  98. package/dist/contracts/variables.d.ts +0 -2
  99. package/dist/contracts/variables.js +0 -5
  100. package/dist/contracts/webhooks.d.ts +2 -0
  101. package/dist/contracts/webhooks.js +1 -1
  102. package/dist/contracts/zero.d.ts +5 -10
  103. package/dist/docs/agent-prose.d.ts +43 -3
  104. package/dist/docs/agent-prose.js +146 -7
  105. package/dist/docs/agent-setup.d.ts +51 -0
  106. package/dist/docs/agent-setup.js +211 -14
  107. package/dist/docs/agent-solutions.d.ts +5 -5
  108. package/dist/docs/agent-solutions.js +2 -2
  109. package/dist/docs/catalog.d.ts +650 -0
  110. package/dist/docs/catalog.js +758 -0
  111. package/dist/docs/error-docs.d.ts +0 -2
  112. package/dist/docs/error-docs.js +189 -35
  113. package/dist/docs/index-build.d.ts +17 -0
  114. package/dist/docs/index-build.js +24 -0
  115. package/dist/docs/search.d.ts +54 -0
  116. package/dist/docs/search.js +96 -0
  117. package/dist/docs/skill-distribution.d.ts +5 -3
  118. package/dist/docs/skill-distribution.js +8 -8
  119. package/dist/slug-policy/blocklist.d.ts +4 -0
  120. package/dist/slug-policy/blocklist.js +122 -0
  121. package/dist/slug-policy/index.d.ts +17 -0
  122. package/dist/slug-policy/index.js +86 -0
  123. package/dist/utils/access-match.d.ts +39 -0
  124. package/dist/utils/access-match.js +296 -0
  125. package/dist/utils/auth-redirect.d.ts +3 -1
  126. package/dist/utils/auth-redirect.js +21 -1
  127. package/dist/utils/build-settings.d.ts +6 -0
  128. package/dist/utils/build-settings.js +429 -46
  129. package/dist/utils/claim-token.d.ts +8 -0
  130. package/dist/utils/claim-token.js +23 -2
  131. package/dist/utils/concurrency.d.ts +1 -0
  132. package/dist/utils/concurrency.js +22 -0
  133. package/dist/utils/content-type.d.ts +1 -0
  134. package/dist/utils/content-type.js +1 -1
  135. package/dist/utils/credential-policy.d.ts +54 -0
  136. package/dist/utils/{access-policy.js → credential-policy.js} +28 -2
  137. package/dist/utils/email.d.ts +1 -0
  138. package/dist/utils/email.js +3 -0
  139. package/dist/utils/gate-theme.d.ts +61 -0
  140. package/dist/utils/gate-theme.js +217 -0
  141. package/dist/utils/git-repository.d.ts +0 -1
  142. package/dist/utils/git-repository.js +0 -3
  143. package/dist/utils/id-hints.d.ts +8 -0
  144. package/dist/utils/id-hints.js +61 -0
  145. package/dist/utils/local-space-state.d.ts +91 -0
  146. package/dist/utils/local-space-state.js +251 -0
  147. package/dist/utils/oauth-signed-query.d.ts +8 -0
  148. package/dist/utils/oauth-signed-query.js +26 -0
  149. package/dist/utils/publish-detection.d.ts +0 -8
  150. package/dist/utils/publish-detection.js +0 -93
  151. package/dist/utils/publish-policy.d.ts +6 -5
  152. package/dist/utils/publish-policy.js +71 -7
  153. package/dist/utils/query-keys.d.ts +16 -4
  154. package/dist/utils/query-keys.js +31 -4
  155. package/dist/utils/runtime-paths.d.ts +0 -1
  156. package/dist/utils/runtime-paths.js +0 -1
  157. package/dist/utils/runtime-upload-batch.d.ts +18 -0
  158. package/dist/utils/runtime-upload-batch.js +90 -0
  159. package/dist/utils/runtime-upload.d.ts +2 -0
  160. package/dist/utils/runtime-upload.js +5 -0
  161. package/dist/utils/sf-config-v1.d.ts +2 -0
  162. package/dist/utils/sf-config-v1.js +542 -0
  163. package/dist/utils/space-config.d.ts +4 -0
  164. package/dist/utils/space-config.js +10 -1
  165. package/dist/utils/space-theme.d.ts +2 -0
  166. package/dist/utils/space-theme.js +9 -0
  167. package/dist/utils/static-runtime-policy.d.ts +0 -21
  168. package/dist/utils/static-runtime-policy.js +19 -103
  169. package/dist/utils/upload-session.d.ts +1 -1
  170. package/dist/utils/wpcom-auth-redirects.d.ts +32 -2
  171. package/dist/utils/wpcom-auth-redirects.js +26 -10
  172. package/dist/vocabulary.d.ts +130 -30
  173. package/dist/vocabulary.js +77 -36
  174. package/package.json +35 -1
  175. package/dist/contracts/account.d.ts +0 -28
  176. package/dist/contracts/account.js +0 -54
  177. package/dist/contracts/intercom.d.ts +0 -6
  178. package/dist/contracts/intercom.js +0 -5
  179. package/dist/contracts/telemetry.d.ts +0 -2
  180. package/dist/contracts/telemetry.js +0 -1
  181. package/dist/utils/access-policy.d.ts +0 -39
  182. package/dist/utils/error-display.d.ts +0 -7
  183. package/dist/utils/error-display.js +0 -42
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  import { AsyncOperationSchema, baseDiagnosticSchema, CursorPaginationSchema, cursorListQuerySchema, } from "./common.js";
3
3
  import { versionStatus, spaceStatus } from "./enums.js";
4
4
  import { conventionFilesSchema, uploadInstructionsSchema, manifestFileSchema } from "./internal.js";
5
- import { ChannelPointerSchema, VersionSchema, PublishSourceSchema, SpaceSchema, } from "./resources.js";
6
- import { spaceConfigSchema } from "./space-config.js";
5
+ import { ChannelPointerSchema, VersionSchema, PublishSourceSchema, SpaceSchema, spaceSettingsDigestSchema, } from "./resources.js";
6
+ import { spaceConfigSchema, spacePlacementConfigSchema } from "./space-config.js";
7
7
  import { principalIdSchema } from "./transfers.js";
8
8
  import { zeroRuntimeKindSchema } from "./zero.js";
9
9
  export const AnonymousSpaceAccessSchema = z.object({
@@ -14,7 +14,7 @@ export const AnonymousSpaceAccessSchema = z.object({
14
14
  claimUrl: z
15
15
  .string()
16
16
  .nullable()
17
- .describe("Browser-only claim link in `/claim#five-word-token` form. The fragment is a human handoff capability; API clients send the same token as bearer auth."),
17
+ .describe("Browser-only claim link in `/claim#nonce` form. The fragment is a human handoff capability; API clients use the claim token as bearer auth for publish/update/status/exchange."),
18
18
  expiresAt: z
19
19
  .string()
20
20
  .datetime()
@@ -67,13 +67,22 @@ export const spaceCreateSchema = z
67
67
  })
68
68
  .optional()
69
69
  .default({});
70
- export const spacePatchSchema = z.object({
70
+ export const spacePatchSchema = z
71
+ .object({
71
72
  title: z.string().min(1).max(255).optional(),
72
73
  config: spaceConfigSchema
73
74
  .nullable()
74
75
  .optional()
75
76
  .describe("Replaces the stored SpaceConfig overlay; null clears it."),
77
+ baseSettingsDigest: spaceSettingsDigestSchema
78
+ .optional()
79
+ .describe("Optimistic-concurrency base for versioned settings (title/config): the `settingsDigest` read from the Space resource when the form was loaded. When provided and the space's current settings digest no longer matches, the PATCH fails with 409 publish_base_changed and changes nothing."),
80
+ force: z
81
+ .boolean()
82
+ .optional()
83
+ .describe("With baseSettingsDigest: acknowledge a changed base and overwrite anyway. The forced overwrite is recorded in the space activity feed. Never the default."),
76
84
  dataLocation: z.string().min(1).optional(),
85
+ placement: spacePlacementConfigSchema.optional(),
77
86
  noindex: z
78
87
  .boolean()
79
88
  .optional()
@@ -85,13 +94,22 @@ export const spacePatchSchema = z.object({
85
94
  .nullable()
86
95
  .optional()
87
96
  .describe("Sets (string) or removes (null) space password protection."),
97
+ })
98
+ .superRefine((value, ctx) => {
99
+ if (value.force === true && value.baseSettingsDigest === undefined) {
100
+ ctx.addIssue({
101
+ code: z.ZodIssueCode.custom,
102
+ message: "force requires baseSettingsDigest.",
103
+ path: ["force"],
104
+ });
105
+ }
88
106
  });
89
107
  export const spaceClaimSchema = z
90
108
  .object({
91
109
  claimToken: z
92
110
  .string()
93
111
  .min(1)
94
- .describe("One-time claim token returned at anonymous creation. Browser claim links carry it as a URL fragment; API claim requests send it as bearer auth."),
112
+ .describe("One-time claim token returned at anonymous creation. API clients send it as bearer auth; browser claim links carry a separate nonce fragment."),
95
113
  teamId: z
96
114
  .string()
97
115
  .min(1)
@@ -102,6 +120,10 @@ export const spaceClaimSchema = z
102
120
  .min(1)
103
121
  .optional()
104
122
  .describe("Alias of teamId; must match when both are provided."),
123
+ agentContinuation: z
124
+ .boolean()
125
+ .optional()
126
+ .describe("Keep the publishing agent authorized after the claim (default false unless explicitly granted): the claim token demotes to a one-time voucher exchangeable for a durable publish access token."),
105
127
  })
106
128
  .superRefine((value, ctx) => {
107
129
  if (value.teamId && value.targetTeamId && value.teamId !== value.targetTeamId) {
@@ -114,6 +136,18 @@ export const spaceClaimSchema = z
114
136
  });
115
137
  export const anonymousClaimAssignSchema = z.object({
116
138
  teamId: z.string().min(1).optional(),
139
+ nonce: z.string().min(1).optional().describe("Browser claim nonce from the claim URL fragment."),
140
+ agentContinuation: z
141
+ .boolean()
142
+ .optional()
143
+ .describe("Keep the publishing agent authorized after the claim (default false unless explicitly granted): the claim token demotes to a one-time voucher exchangeable for a durable publish access token."),
144
+ });
145
+ export const anonymousClaimResolveSchema = z.object({
146
+ nonce: z.string().min(1).optional().describe("Browser claim nonce from the claim URL fragment."),
147
+ agentContinuation: z
148
+ .boolean()
149
+ .optional()
150
+ .describe("Applied when the resolve auto-claims (signed-in user with exactly one writable team). Defaults to false unless explicitly granted."),
117
151
  });
118
152
  export const anonymousClaimTeamSchema = z.object({
119
153
  id: z.string(),
@@ -150,13 +184,32 @@ export const anonymousClaimStatusResponseSchema = z.object({
150
184
  ref: z.string().nullable(),
151
185
  number: z.number().int().positive().nullable(),
152
186
  status: VersionSchema.shape.status,
153
- immutableUrl: z.string(),
187
+ immutableUrl: z.string().nullable(),
154
188
  manifestHash: z.string().nullable(),
155
189
  }),
156
190
  claim: z.object({
157
191
  state: z.enum(["unclaimed", "claimed"]),
158
192
  url: z.string().nullable(),
159
193
  expiresAt: z.string().datetime().nullable(),
194
+ continuation: z
195
+ .enum(["available", "used", "unavailable"])
196
+ .optional()
197
+ .describe("Present once the space is claimed: whether this claim token can still be exchanged once for a durable access token (POST /v1/anonymous-claim/exchange)."),
198
+ }),
199
+ });
200
+ export const anonymousClaimExchangeResponseSchema = z.object({
201
+ space: z.object({
202
+ id: z.string(),
203
+ slug: z.string(),
204
+ liveUrl: z.string().nullable(),
205
+ }),
206
+ credential: z.object({
207
+ accessToken: z
208
+ .string()
209
+ .describe("Durable publish access token minted by the one-time exchange. Shown exactly once — store it (e.g. .spacefast/state.json) and never print it."),
210
+ accessTokenId: z.string(),
211
+ label: z.string().nullable(),
212
+ teamId: z.string(),
160
213
  }),
161
214
  });
162
215
  export const spaceClaimReminderSchema = z.object({
@@ -185,6 +238,9 @@ export const spaceVersionCreateSchema = z
185
238
  .max(64_000)
186
239
  .optional()
187
240
  .describe("Bounded build transcript for deploys that ran a local build before publishing."),
241
+ conventionFiles: conventionFilesSchema
242
+ .optional()
243
+ .describe("Routing convention contents used when deciding whether this publish is unchanged. The same values are supplied again when the version is finalized."),
188
244
  files: z
189
245
  .array(manifestFileSchema)
190
246
  .optional()
@@ -261,9 +317,6 @@ export const spaceVersionFileIndexSchema = z.object({
261
317
  byHash: z.record(z.string(), spaceVersionFileIndexEntrySchema),
262
318
  byPath: z.record(z.string(), spaceVersionFileIndexEntrySchema),
263
319
  });
264
- export const spaceVersionFilesQuerySchema = z.object({
265
- q: z.string().trim().min(1).max(255).optional(),
266
- });
267
320
  export const spaceVersionFilesSearchSchema = z.object({
268
321
  query: z.string().nullable(),
269
322
  total: z.number().int().nonnegative(),
@@ -556,7 +609,6 @@ export const spaceVersionResumeResponseSchema = z.object({
556
609
  .default([])
557
610
  .describe("Manifest paths ignored by the server because the current plan does not allow them."),
558
611
  });
559
- export const spaceVersionRefreshResponseSchema = spaceVersionResumeResponseSchema;
560
612
  // Promote body (spec "Explicit version routes"): `{ channel? }` defaulting to
561
613
  // "live". Channels beyond live arrive additively; non-live names reject with
562
614
  // `channel_unsupported` until then. Rollback is promoting an older ready
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const superadminEmailStatusValues: readonly ["all", "scheduled", "sent", "delivered", "bounced", "dropped", "complained", "opened", "clicked", "failed"];
3
- export declare const superadminEmailCategoryValues: readonly ["transactional", "announcements", "offers", "system"];
3
+ export declare const superadminEmailCategoryValues: readonly ["transactional", "announcements", "offers", "system", "invites"];
4
4
  export declare const superadminEmailListQuerySchema: z.ZodObject<{
5
5
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6
6
  offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -8,10 +8,10 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
8
8
  all: "all";
9
9
  failed: "failed";
10
10
  delivered: "delivered";
11
+ dropped: "dropped";
11
12
  scheduled: "scheduled";
12
13
  sent: "sent";
13
14
  bounced: "bounced";
14
- dropped: "dropped";
15
15
  complained: "complained";
16
16
  opened: "opened";
17
17
  clicked: "clicked";
@@ -25,6 +25,7 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
25
25
  transactional: "transactional";
26
26
  announcements: "announcements";
27
27
  offers: "offers";
28
+ invites: "invites";
28
29
  }>>;
29
30
  timeRange: z.ZodDefault<z.ZodEnum<{
30
31
  now: "now";
@@ -46,6 +47,7 @@ export declare const superadminEmailSendSchema: z.ZodObject<{
46
47
  transactional: "transactional";
47
48
  announcements: "announcements";
48
49
  offers: "offers";
50
+ invites: "invites";
49
51
  }>>;
50
52
  type: z.ZodDefault<z.ZodString>;
51
53
  props: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -13,11 +13,19 @@ export const superadminEmailStatusValues = [
13
13
  "clicked",
14
14
  "failed",
15
15
  ];
16
+ // "invites" is the invite/request sending stream (access-plan X-25): mail
17
+ // carrying sender-authored content to arbitrary non-user addresses is
18
+ // attacker-adjacent, so it is categorized apart from transactional mail —
19
+ // burned reputation on the invite stream must never take down password
20
+ // resets. Stream-level isolation at the provider (a separate SES
21
+ // configuration set / sending identity) is an infra follow-up; the category
22
+ // is the seam it keys off.
16
23
  export const superadminEmailCategoryValues = [
17
24
  "transactional",
18
25
  "announcements",
19
26
  "offers",
20
27
  "system",
28
+ "invites",
21
29
  ];
22
30
  export const superadminEmailListQuerySchema = z.object({
23
31
  limit: z.coerce.number().int().min(1).max(100).default(25),
@@ -5,20 +5,20 @@ export declare const superadminBullmqJobStateSchema: z.ZodEnum<{
5
5
  active: "active";
6
6
  failed: "failed";
7
7
  completed: "completed";
8
+ waiting: "waiting";
8
9
  delayed: "delayed";
10
+ paused: "paused";
9
11
  prioritized: "prioritized";
10
- waiting: "waiting";
11
12
  "waiting-children": "waiting-children";
12
- paused: "paused";
13
13
  }>;
14
14
  export declare const superadminBullmqQueueCleanStateSchema: z.ZodEnum<{
15
15
  active: "active";
16
16
  failed: "failed";
17
17
  completed: "completed";
18
- delayed: "delayed";
19
- prioritized: "prioritized";
20
18
  waiting: "waiting";
19
+ delayed: "delayed";
21
20
  paused: "paused";
21
+ prioritized: "prioritized";
22
22
  }>;
23
23
  export declare const SuperadminBullmqQueueSchema: z.ZodObject<{
24
24
  name: z.ZodString;
@@ -83,11 +83,11 @@ export declare const SuperadminBullmqJobSchema: z.ZodObject<{
83
83
  active: "active";
84
84
  failed: "failed";
85
85
  completed: "completed";
86
+ waiting: "waiting";
86
87
  delayed: "delayed";
88
+ paused: "paused";
87
89
  prioritized: "prioritized";
88
- waiting: "waiting";
89
90
  "waiting-children": "waiting-children";
90
- paused: "paused";
91
91
  }>;
92
92
  attemptsMade: z.ZodNumber;
93
93
  timestamp: z.ZodNumber;
@@ -103,11 +103,11 @@ export declare const SuperadminBullmqFleetJobSchema: z.ZodObject<{
103
103
  active: "active";
104
104
  failed: "failed";
105
105
  completed: "completed";
106
+ waiting: "waiting";
106
107
  delayed: "delayed";
108
+ paused: "paused";
107
109
  prioritized: "prioritized";
108
- waiting: "waiting";
109
110
  "waiting-children": "waiting-children";
110
- paused: "paused";
111
111
  }>;
112
112
  attemptsMade: z.ZodNumber;
113
113
  timestamp: z.ZodNumber;
@@ -126,11 +126,11 @@ export declare const superadminBullmqJobListQuerySchema: z.ZodObject<{
126
126
  active: "active";
127
127
  failed: "failed";
128
128
  completed: "completed";
129
+ waiting: "waiting";
129
130
  delayed: "delayed";
131
+ paused: "paused";
130
132
  prioritized: "prioritized";
131
- waiting: "waiting";
132
133
  "waiting-children": "waiting-children";
133
- paused: "paused";
134
134
  }>]>>;
135
135
  }, z.core.$strip>;
136
136
  export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
@@ -143,11 +143,11 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
143
143
  active: "active";
144
144
  failed: "failed";
145
145
  completed: "completed";
146
+ waiting: "waiting";
146
147
  delayed: "delayed";
148
+ paused: "paused";
147
149
  prioritized: "prioritized";
148
- waiting: "waiting";
149
150
  "waiting-children": "waiting-children";
150
- paused: "paused";
151
151
  }>]>;
152
152
  asc: z.ZodBoolean;
153
153
  jobId: z.ZodNullable<z.ZodString>;
@@ -160,11 +160,11 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
160
160
  active: "active";
161
161
  failed: "failed";
162
162
  completed: "completed";
163
+ waiting: "waiting";
163
164
  delayed: "delayed";
165
+ paused: "paused";
164
166
  prioritized: "prioritized";
165
- waiting: "waiting";
166
167
  "waiting-children": "waiting-children";
167
- paused: "paused";
168
168
  }>;
169
169
  attemptsMade: z.ZodNumber;
170
170
  timestamp: z.ZodNumber;
@@ -180,11 +180,11 @@ export declare const superadminBullmqFleetJobListQuerySchema: z.ZodObject<{
180
180
  active: "active";
181
181
  failed: "failed";
182
182
  completed: "completed";
183
+ waiting: "waiting";
183
184
  delayed: "delayed";
185
+ paused: "paused";
184
186
  prioritized: "prioritized";
185
- waiting: "waiting";
186
187
  "waiting-children": "waiting-children";
187
- paused: "paused";
188
188
  }>]>>;
189
189
  offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
190
190
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -202,11 +202,11 @@ export declare const SuperadminBullmqFleetJobListSchema: z.ZodObject<{
202
202
  active: "active";
203
203
  failed: "failed";
204
204
  completed: "completed";
205
+ waiting: "waiting";
205
206
  delayed: "delayed";
207
+ paused: "paused";
206
208
  prioritized: "prioritized";
207
- waiting: "waiting";
208
209
  "waiting-children": "waiting-children";
209
- paused: "paused";
210
210
  }>]>;
211
211
  asc: z.ZodBoolean;
212
212
  search: z.ZodNullable<z.ZodString>;
@@ -220,11 +220,11 @@ export declare const SuperadminBullmqFleetJobListSchema: z.ZodObject<{
220
220
  active: "active";
221
221
  failed: "failed";
222
222
  completed: "completed";
223
+ waiting: "waiting";
223
224
  delayed: "delayed";
225
+ paused: "paused";
224
226
  prioritized: "prioritized";
225
- waiting: "waiting";
226
227
  "waiting-children": "waiting-children";
227
- paused: "paused";
228
228
  }>;
229
229
  attemptsMade: z.ZodNumber;
230
230
  timestamp: z.ZodNumber;
@@ -244,11 +244,11 @@ export declare const SuperadminBullmqJobDetailSchema: z.ZodObject<{
244
244
  active: "active";
245
245
  failed: "failed";
246
246
  completed: "completed";
247
+ waiting: "waiting";
247
248
  delayed: "delayed";
249
+ paused: "paused";
248
250
  prioritized: "prioritized";
249
- waiting: "waiting";
250
251
  "waiting-children": "waiting-children";
251
- paused: "paused";
252
252
  }>;
253
253
  attemptsMade: z.ZodNumber;
254
254
  attemptsConfigured: z.ZodNullable<z.ZodNumber>;
@@ -295,10 +295,10 @@ export declare const superadminBullmqQueueCleanSchema: z.ZodObject<{
295
295
  active: "active";
296
296
  failed: "failed";
297
297
  completed: "completed";
298
- delayed: "delayed";
299
- prioritized: "prioritized";
300
298
  waiting: "waiting";
299
+ delayed: "delayed";
301
300
  paused: "paused";
301
+ prioritized: "prioritized";
302
302
  }>>;
303
303
  graceMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
304
304
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -330,10 +330,10 @@ export declare const superadminBullmqQueueActionBodySchema: z.ZodUnion<readonly
330
330
  active: "active";
331
331
  failed: "failed";
332
332
  completed: "completed";
333
- delayed: "delayed";
334
- prioritized: "prioritized";
335
333
  waiting: "waiting";
334
+ delayed: "delayed";
336
335
  paused: "paused";
336
+ prioritized: "prioritized";
337
337
  }>>;
338
338
  graceMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
339
339
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;