@buildinternet/releases-api-types 0.58.3 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/README.md +14 -6
  2. package/dist/api-types.d.ts +1168 -0
  3. package/dist/api-types.d.ts.map +1 -0
  4. package/dist/api-types.js +134 -0
  5. package/dist/schemas/account-profile.d.ts +29 -0
  6. package/dist/schemas/account-profile.d.ts.map +1 -0
  7. package/dist/schemas/account-profile.js +24 -0
  8. package/dist/schemas/ai-models.d.ts +67 -0
  9. package/dist/schemas/ai-models.d.ts.map +1 -0
  10. package/{src/schemas/ai-models.ts → dist/schemas/ai-models.js} +25 -31
  11. package/dist/schemas/api-keys.d.ts +71 -0
  12. package/dist/schemas/api-keys.d.ts.map +1 -0
  13. package/dist/schemas/api-keys.js +32 -0
  14. package/dist/schemas/classifications.d.ts +134 -0
  15. package/dist/schemas/classifications.d.ts.map +1 -0
  16. package/dist/schemas/classifications.js +96 -0
  17. package/dist/schemas/collections.d.ts +605 -0
  18. package/dist/schemas/collections.d.ts.map +1 -0
  19. package/dist/schemas/collections.js +320 -0
  20. package/dist/schemas/datasets.d.ts +34 -0
  21. package/dist/schemas/datasets.d.ts.map +1 -0
  22. package/dist/schemas/datasets.js +11 -0
  23. package/dist/schemas/errors.d.ts +43 -0
  24. package/dist/schemas/errors.d.ts.map +1 -0
  25. package/dist/schemas/errors.js +61 -0
  26. package/dist/schemas/feedback.d.ts +134 -0
  27. package/dist/schemas/feedback.d.ts.map +1 -0
  28. package/dist/schemas/feedback.js +76 -0
  29. package/dist/schemas/follows.d.ts +154 -0
  30. package/dist/schemas/follows.d.ts.map +1 -0
  31. package/dist/schemas/follows.js +42 -0
  32. package/dist/schemas/listing.d.ts +374 -0
  33. package/dist/schemas/listing.d.ts.map +1 -0
  34. package/dist/schemas/listing.js +175 -0
  35. package/dist/schemas/lookups.d.ts +285 -0
  36. package/dist/schemas/lookups.d.ts.map +1 -0
  37. package/{src/schemas/lookups.ts → dist/schemas/lookups.js} +67 -80
  38. package/dist/schemas/marketing-classifier.d.ts +32 -0
  39. package/dist/schemas/marketing-classifier.d.ts.map +1 -0
  40. package/{src/schemas/marketing-classifier.ts → dist/schemas/marketing-classifier.js} +14 -18
  41. package/dist/schemas/orgs.d.ts +950 -0
  42. package/dist/schemas/orgs.d.ts.map +1 -0
  43. package/dist/schemas/orgs.js +473 -0
  44. package/dist/schemas/overviews.d.ts +205 -0
  45. package/dist/schemas/overviews.d.ts.map +1 -0
  46. package/{src/schemas/overviews.ts → dist/schemas/overviews.js} +41 -54
  47. package/dist/schemas/products.d.ts +595 -0
  48. package/dist/schemas/products.d.ts.map +1 -0
  49. package/{src/schemas/products.ts → dist/schemas/products.js} +113 -136
  50. package/dist/schemas/publish-tokens.d.ts +55 -0
  51. package/dist/schemas/publish-tokens.d.ts.map +1 -0
  52. package/{src/schemas/publish-tokens.ts → dist/schemas/publish-tokens.js} +18 -29
  53. package/dist/schemas/recommendations.d.ts +52 -0
  54. package/dist/schemas/recommendations.d.ts.map +1 -0
  55. package/dist/schemas/recommendations.js +58 -0
  56. package/dist/schemas/related.d.ts +331 -0
  57. package/dist/schemas/related.d.ts.map +1 -0
  58. package/dist/schemas/related.js +115 -0
  59. package/dist/schemas/releases.d.ts +623 -0
  60. package/dist/schemas/releases.d.ts.map +1 -0
  61. package/dist/schemas/releases.js +414 -0
  62. package/dist/schemas/resolve.d.ts +259 -0
  63. package/dist/schemas/resolve.d.ts.map +1 -0
  64. package/{src/schemas/resolve.ts → dist/schemas/resolve.js} +2 -5
  65. package/dist/schemas/search.d.ts +475 -0
  66. package/dist/schemas/search.d.ts.map +1 -0
  67. package/dist/schemas/search.js +258 -0
  68. package/dist/schemas/semantic-alert-summary.d.ts +54 -0
  69. package/dist/schemas/semantic-alert-summary.d.ts.map +1 -0
  70. package/dist/schemas/semantic-alert-summary.js +57 -0
  71. package/dist/schemas/semantic-alerts.d.ts +41 -0
  72. package/dist/schemas/semantic-alerts.d.ts.map +1 -0
  73. package/dist/schemas/semantic-alerts.js +42 -0
  74. package/dist/schemas/shared.d.ts +247 -0
  75. package/dist/schemas/shared.d.ts.map +1 -0
  76. package/dist/schemas/shared.js +248 -0
  77. package/dist/schemas/site-notice.d.ts +35 -0
  78. package/dist/schemas/site-notice.d.ts.map +1 -0
  79. package/{src/schemas/site-notice.ts → dist/schemas/site-notice.js} +14 -18
  80. package/dist/schemas/sitemap.d.ts +97 -0
  81. package/dist/schemas/sitemap.d.ts.map +1 -0
  82. package/dist/schemas/sitemap.js +107 -0
  83. package/dist/schemas/sources.d.ts +1145 -0
  84. package/dist/schemas/sources.d.ts.map +1 -0
  85. package/dist/schemas/sources.js +645 -0
  86. package/dist/schemas/stats.d.ts +82 -0
  87. package/dist/schemas/stats.d.ts.map +1 -0
  88. package/dist/schemas/stats.js +59 -0
  89. package/dist/schemas/taxonomy.d.ts +344 -0
  90. package/dist/schemas/taxonomy.d.ts.map +1 -0
  91. package/{src/schemas/taxonomy.ts → dist/schemas/taxonomy.js} +47 -58
  92. package/dist/schemas/webhooks.d.ts +618 -0
  93. package/dist/schemas/webhooks.d.ts.map +1 -0
  94. package/dist/schemas/webhooks.js +191 -0
  95. package/dist/schemas/well-known.d.ts +302 -0
  96. package/dist/schemas/well-known.d.ts.map +1 -0
  97. package/dist/schemas/well-known.js +192 -0
  98. package/dist/schemas/workspace-integrations.d.ts +27 -0
  99. package/dist/schemas/workspace-integrations.d.ts.map +1 -0
  100. package/dist/schemas/workspace-integrations.js +22 -0
  101. package/package.json +16 -4
  102. package/src/api-types.ts +0 -2223
  103. package/src/schemas/account-profile.ts +0 -28
  104. package/src/schemas/ai-models.test.ts +0 -29
  105. package/src/schemas/classifications.ts +0 -109
  106. package/src/schemas/collections.ts +0 -346
  107. package/src/schemas/errors.test.ts +0 -55
  108. package/src/schemas/errors.ts +0 -81
  109. package/src/schemas/feedback.ts +0 -56
  110. package/src/schemas/listing.ts +0 -226
  111. package/src/schemas/orgs.ts +0 -533
  112. package/src/schemas/recommendations.ts +0 -39
  113. package/src/schemas/related.ts +0 -126
  114. package/src/schemas/releases.ts +0 -436
  115. package/src/schemas/search.ts +0 -274
  116. package/src/schemas/semantic-alert-summary.ts +0 -65
  117. package/src/schemas/shared.notice.test.ts +0 -36
  118. package/src/schemas/shared.ts +0 -267
  119. package/src/schemas/site-notice.test.ts +0 -67
  120. package/src/schemas/sitemap.ts +0 -114
  121. package/src/schemas/sources.ts +0 -674
  122. package/src/schemas/stats.ts +0 -62
  123. package/src/schemas/well-known.test.ts +0 -264
  124. package/src/schemas/well-known.ts +0 -252
  125. package/src/schemas/workspace-integrations.ts +0 -26
@@ -0,0 +1,950 @@
1
+ import { z } from "zod";
2
+ export declare const OrgListItemSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ slug: z.ZodString;
5
+ name: z.ZodString;
6
+ domain: z.ZodNullable<z.ZodString>;
7
+ description: z.ZodNullable<z.ZodString>;
8
+ category: z.ZodNullable<z.ZodEnum<{
9
+ ai: "ai";
10
+ cloud: "cloud";
11
+ commerce: "commerce";
12
+ crm: "crm";
13
+ database: "database";
14
+ design: "design";
15
+ "developer-tools": "developer-tools";
16
+ devops: "devops";
17
+ finance: "finance";
18
+ framework: "framework";
19
+ infrastructure: "infrastructure";
20
+ observability: "observability";
21
+ productivity: "productivity";
22
+ security: "security";
23
+ }>>;
24
+ avatarUrl: z.ZodNullable<z.ZodString>;
25
+ featured: z.ZodBoolean;
26
+ status: z.ZodOptional<z.ZodEnum<{
27
+ stub: "stub";
28
+ tracked: "tracked";
29
+ }>>;
30
+ sourceCount: z.ZodNumber;
31
+ releaseCount: z.ZodNumber;
32
+ recentReleaseCount: z.ZodNumber;
33
+ lastActivity: z.ZodNullable<z.ZodString>;
34
+ topProducts: z.ZodArray<z.ZodString>;
35
+ aliasDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ sparkline: z.ZodArray<z.ZodNumber>;
37
+ trackingRequestedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$strip>;
39
+ /**
40
+ * Per-request side-channel for the orgs list (#746). `emptyOrgCount` is the
41
+ * number of orgs that match the same `q` filter but have zero indexed
42
+ * releases — used to label a "Show empty orgs" toggle without a second
43
+ * round-trip. The value is scoped by the search term but independent of
44
+ * `?includeEmpty=` so the toggle CTA can render a count whether the current
45
+ * response included empty orgs or not.
46
+ */
47
+ export declare const OrgListMetaSchema: z.ZodObject<{
48
+ emptyOrgCount: z.ZodNumber;
49
+ }, z.core.$strip>;
50
+ /**
51
+ * `meta` is optional on the wire so older workers / pinned clients mid-deploy
52
+ * don't trip the schema check. New clients can treat missing as
53
+ * `emptyOrgCount: 0` (the toggle just won't render a count).
54
+ */
55
+ export declare const OrgListResponseSchema: z.ZodObject<{
56
+ items: z.ZodArray<z.ZodObject<{
57
+ id: z.ZodString;
58
+ slug: z.ZodString;
59
+ name: z.ZodString;
60
+ domain: z.ZodNullable<z.ZodString>;
61
+ description: z.ZodNullable<z.ZodString>;
62
+ category: z.ZodNullable<z.ZodEnum<{
63
+ ai: "ai";
64
+ cloud: "cloud";
65
+ commerce: "commerce";
66
+ crm: "crm";
67
+ database: "database";
68
+ design: "design";
69
+ "developer-tools": "developer-tools";
70
+ devops: "devops";
71
+ finance: "finance";
72
+ framework: "framework";
73
+ infrastructure: "infrastructure";
74
+ observability: "observability";
75
+ productivity: "productivity";
76
+ security: "security";
77
+ }>>;
78
+ avatarUrl: z.ZodNullable<z.ZodString>;
79
+ featured: z.ZodBoolean;
80
+ status: z.ZodOptional<z.ZodEnum<{
81
+ stub: "stub";
82
+ tracked: "tracked";
83
+ }>>;
84
+ sourceCount: z.ZodNumber;
85
+ releaseCount: z.ZodNumber;
86
+ recentReleaseCount: z.ZodNumber;
87
+ lastActivity: z.ZodNullable<z.ZodString>;
88
+ topProducts: z.ZodArray<z.ZodString>;
89
+ aliasDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ sparkline: z.ZodArray<z.ZodNumber>;
91
+ trackingRequestedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
+ }, z.core.$strip>>;
93
+ pagination: z.ZodObject<{
94
+ page: z.ZodNumber;
95
+ pageSize: z.ZodNumber;
96
+ returned: z.ZodNumber;
97
+ totalItems: z.ZodOptional<z.ZodNumber>;
98
+ totalPages: z.ZodOptional<z.ZodNumber>;
99
+ hasMore: z.ZodBoolean;
100
+ }, z.core.$strip>;
101
+ meta: z.ZodOptional<z.ZodObject<{
102
+ emptyOrgCount: z.ZodNumber;
103
+ }, z.core.$strip>>;
104
+ }, z.core.$strip>;
105
+ export declare const OrgAccountItemSchema: z.ZodObject<{
106
+ platform: z.ZodString;
107
+ handle: z.ZodString;
108
+ }, z.core.$strip>;
109
+ export declare const OrgAccountsListResponseSchema: z.ZodObject<{
110
+ items: z.ZodArray<z.ZodObject<{
111
+ platform: z.ZodString;
112
+ handle: z.ZodString;
113
+ }, z.core.$strip>>;
114
+ pagination: z.ZodObject<{
115
+ page: z.ZodNumber;
116
+ pageSize: z.ZodNumber;
117
+ returned: z.ZodNumber;
118
+ totalItems: z.ZodOptional<z.ZodNumber>;
119
+ totalPages: z.ZodOptional<z.ZodNumber>;
120
+ hasMore: z.ZodBoolean;
121
+ }, z.core.$strip>;
122
+ }, z.core.$strip>;
123
+ /**
124
+ * Response shape for `GET /v1/orgs/:slug/accounts`. Returns the paginated list
125
+ * by default; with `?platform=<name>` returns a single matching account or
126
+ * `null` when no row matches. The dual shape is preserved for compatibility
127
+ * with the OSS CLI which calls `?platform=` and expects a single row.
128
+ */
129
+ export declare const OrgAccountsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
130
+ items: z.ZodArray<z.ZodObject<{
131
+ platform: z.ZodString;
132
+ handle: z.ZodString;
133
+ }, z.core.$strip>>;
134
+ pagination: z.ZodObject<{
135
+ page: z.ZodNumber;
136
+ pageSize: z.ZodNumber;
137
+ returned: z.ZodNumber;
138
+ totalItems: z.ZodOptional<z.ZodNumber>;
139
+ totalPages: z.ZodOptional<z.ZodNumber>;
140
+ hasMore: z.ZodBoolean;
141
+ }, z.core.$strip>;
142
+ }, z.core.$strip>, z.ZodObject<{
143
+ platform: z.ZodString;
144
+ handle: z.ZodString;
145
+ }, z.core.$strip>, z.ZodNull]>;
146
+ export declare const OrgTagsResponseSchema: z.ZodObject<{
147
+ items: z.ZodArray<z.ZodString>;
148
+ pagination: z.ZodObject<{
149
+ page: z.ZodNumber;
150
+ pageSize: z.ZodNumber;
151
+ returned: z.ZodNumber;
152
+ totalItems: z.ZodOptional<z.ZodNumber>;
153
+ totalPages: z.ZodOptional<z.ZodNumber>;
154
+ hasMore: z.ZodBoolean;
155
+ }, z.core.$strip>;
156
+ }, z.core.$strip>;
157
+ /**
158
+ * Body accepted by `POST /v1/orgs`. `category` is a non-empty string at the
159
+ * wire boundary so callers can pass either a canonical slug or one of its
160
+ * configured aliases (resolved server-side via `resolveCategoryInput`).
161
+ * Responses always carry the canonical slug. Empty strings are rejected so
162
+ * the truthy-guard around `resolveCategoryInput` in the handler can't be
163
+ * bypassed into persisting an invalid `""` value.
164
+ */
165
+ export declare const CreateOrgBodySchema: z.ZodObject<{
166
+ name: z.ZodString;
167
+ slug: z.ZodOptional<z.ZodString>;
168
+ domain: z.ZodOptional<z.ZodString>;
169
+ description: z.ZodOptional<z.ZodString>;
170
+ category: z.ZodOptional<z.ZodString>;
171
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
+ autoGenerateContent: z.ZodOptional<z.ZodBoolean>;
173
+ }, z.core.$strip>;
174
+ /**
175
+ * Body accepted by `PATCH /v1/orgs/:slug`. Same alias-allowed string rule
176
+ * as create, plus `null` to explicitly clear the overlay. Empty strings
177
+ * stay rejected so callers must pick between a slug/alias or `null`.
178
+ */
179
+ export declare const UpdateOrgBodySchema: z.ZodObject<{
180
+ name: z.ZodOptional<z.ZodString>;
181
+ slug: z.ZodOptional<z.ZodString>;
182
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
187
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
+ fetchPaused: z.ZodOptional<z.ZodBoolean>;
189
+ isHidden: z.ZodOptional<z.ZodBoolean>;
190
+ autoGenerateContent: z.ZodOptional<z.ZodBoolean>;
191
+ overviewCadenceDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ featured: z.ZodOptional<z.ZodBoolean>;
193
+ discovery: z.ZodOptional<z.ZodEnum<{
194
+ agent: "agent";
195
+ curated: "curated";
196
+ on_demand: "on_demand";
197
+ }>>;
198
+ notice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
199
+ message: z.ZodString;
200
+ linkText: z.ZodOptional<z.ZodString>;
201
+ coordinate: z.ZodOptional<z.ZodString>;
202
+ href: z.ZodOptional<z.ZodURL>;
203
+ }, z.core.$strip>>>;
204
+ }, z.core.$strip>;
205
+ /** Body for `POST /v1/orgs/:slug/avatar` — the remote image to mirror to R2 (#1406). */
206
+ export declare const SetOrgAvatarBodySchema: z.ZodObject<{
207
+ sourceUrl: z.ZodURL;
208
+ }, z.core.$strip>;
209
+ /** Response for `POST /v1/orgs/:slug/avatar` — the mirrored avatar's public URL + dims. */
210
+ export declare const SetOrgAvatarResponseSchema: z.ZodObject<{
211
+ avatarUrl: z.ZodString;
212
+ key: z.ZodString;
213
+ width: z.ZodNumber;
214
+ height: z.ZodNumber;
215
+ }, z.core.$strip>;
216
+ /**
217
+ * Combined product + source catalog for `GET /v1/orgs/:slug/catalog`.
218
+ * `entryType` discriminates between the two row shapes (`"product"` vs
219
+ * `"source"`). `kind` carries the entity taxonomy (platform/sdk/mobile/…).
220
+ * Products carry `category` and `description`; sources carry `type` and
221
+ * `productId`.
222
+ */
223
+ export declare const OrgCatalogItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
224
+ entryType: z.ZodLiteral<"product">;
225
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
226
+ desktop: "desktop";
227
+ docs: "docs";
228
+ integration: "integration";
229
+ mobile: "mobile";
230
+ platform: "platform";
231
+ sdk: "sdk";
232
+ tool: "tool";
233
+ }>>>;
234
+ id: z.ZodString;
235
+ slug: z.ZodString;
236
+ name: z.ZodString;
237
+ url: z.ZodNullable<z.ZodString>;
238
+ description: z.ZodNullable<z.ZodString>;
239
+ category: z.ZodNullable<z.ZodEnum<{
240
+ ai: "ai";
241
+ cloud: "cloud";
242
+ commerce: "commerce";
243
+ crm: "crm";
244
+ database: "database";
245
+ design: "design";
246
+ "developer-tools": "developer-tools";
247
+ devops: "devops";
248
+ finance: "finance";
249
+ framework: "framework";
250
+ infrastructure: "infrastructure";
251
+ observability: "observability";
252
+ productivity: "productivity";
253
+ security: "security";
254
+ }>>;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ entryType: z.ZodLiteral<"source">;
257
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
258
+ desktop: "desktop";
259
+ docs: "docs";
260
+ integration: "integration";
261
+ mobile: "mobile";
262
+ platform: "platform";
263
+ sdk: "sdk";
264
+ tool: "tool";
265
+ }>>>;
266
+ id: z.ZodString;
267
+ slug: z.ZodString;
268
+ name: z.ZodString;
269
+ type: z.ZodString;
270
+ url: z.ZodString;
271
+ productId: z.ZodNullable<z.ZodString>;
272
+ }, z.core.$strip>], "entryType">;
273
+ export declare const OrgCatalogResponseSchema: z.ZodObject<{
274
+ org: z.ZodObject<{
275
+ id: z.ZodString;
276
+ slug: z.ZodString;
277
+ name: z.ZodString;
278
+ }, z.core.$strip>;
279
+ items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
280
+ entryType: z.ZodLiteral<"product">;
281
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
282
+ desktop: "desktop";
283
+ docs: "docs";
284
+ integration: "integration";
285
+ mobile: "mobile";
286
+ platform: "platform";
287
+ sdk: "sdk";
288
+ tool: "tool";
289
+ }>>>;
290
+ id: z.ZodString;
291
+ slug: z.ZodString;
292
+ name: z.ZodString;
293
+ url: z.ZodNullable<z.ZodString>;
294
+ description: z.ZodNullable<z.ZodString>;
295
+ category: z.ZodNullable<z.ZodEnum<{
296
+ ai: "ai";
297
+ cloud: "cloud";
298
+ commerce: "commerce";
299
+ crm: "crm";
300
+ database: "database";
301
+ design: "design";
302
+ "developer-tools": "developer-tools";
303
+ devops: "devops";
304
+ finance: "finance";
305
+ framework: "framework";
306
+ infrastructure: "infrastructure";
307
+ observability: "observability";
308
+ productivity: "productivity";
309
+ security: "security";
310
+ }>>;
311
+ }, z.core.$strip>, z.ZodObject<{
312
+ entryType: z.ZodLiteral<"source">;
313
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
314
+ desktop: "desktop";
315
+ docs: "docs";
316
+ integration: "integration";
317
+ mobile: "mobile";
318
+ platform: "platform";
319
+ sdk: "sdk";
320
+ tool: "tool";
321
+ }>>>;
322
+ id: z.ZodString;
323
+ slug: z.ZodString;
324
+ name: z.ZodString;
325
+ type: z.ZodString;
326
+ url: z.ZodString;
327
+ productId: z.ZodNullable<z.ZodString>;
328
+ }, z.core.$strip>], "entryType">>;
329
+ }, z.core.$strip>;
330
+ /**
331
+ * List of collections the org belongs to, returned by
332
+ * `GET /v1/orgs/:slug/collections`. Each item follows the same shape as
333
+ * `CollectionListItem` on `GET /v1/collections` — `previewMembers` is
334
+ * omitted here because the context (one org's collections) makes inline
335
+ * member previews redundant.
336
+ */
337
+ export declare const OrgCollectionsResponseSchema: z.ZodArray<z.ZodObject<{
338
+ slug: z.ZodString;
339
+ name: z.ZodString;
340
+ description: z.ZodNullable<z.ZodString>;
341
+ memberCount: z.ZodNumber;
342
+ isFeatured: z.ZodBoolean;
343
+ previewMembers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
344
+ slug: z.ZodString;
345
+ name: z.ZodString;
346
+ domain: z.ZodNullable<z.ZodString>;
347
+ avatarUrl: z.ZodNullable<z.ZodString>;
348
+ githubHandle: z.ZodNullable<z.ZodString>;
349
+ description: z.ZodNullable<z.ZodString>;
350
+ kind: z.ZodLiteral<"org">;
351
+ }, z.core.$strip>, z.ZodObject<{
352
+ slug: z.ZodString;
353
+ name: z.ZodString;
354
+ description: z.ZodNullable<z.ZodString>;
355
+ org: z.ZodObject<{
356
+ slug: z.ZodString;
357
+ name: z.ZodString;
358
+ domain: z.ZodNullable<z.ZodString>;
359
+ avatarUrl: z.ZodNullable<z.ZodString>;
360
+ githubHandle: z.ZodNullable<z.ZodString>;
361
+ }, z.core.$strip>;
362
+ kind: z.ZodLiteral<"product">;
363
+ }, z.core.$strip>], "kind">>>;
364
+ previewOrgs: z.ZodOptional<z.ZodArray<z.ZodObject<{
365
+ slug: z.ZodString;
366
+ name: z.ZodString;
367
+ domain: z.ZodNullable<z.ZodString>;
368
+ avatarUrl: z.ZodNullable<z.ZodString>;
369
+ githubHandle: z.ZodNullable<z.ZodString>;
370
+ description: z.ZodNullable<z.ZodString>;
371
+ }, z.core.$strip>>>;
372
+ }, z.core.$strip>>;
373
+ /**
374
+ * Body accepted by `POST /v1/orgs/:slug/accounts`.
375
+ * Both `platform` and `handle` are required.
376
+ */
377
+ export declare const AddOrgAccountBodySchema: z.ZodObject<{
378
+ platform: z.ZodString;
379
+ handle: z.ZodString;
380
+ }, z.core.$strip>;
381
+ export declare const IgnoredUrlItemSchema: z.ZodObject<{
382
+ id: z.ZodString;
383
+ url: z.ZodString;
384
+ orgId: z.ZodString;
385
+ reason: z.ZodNullable<z.ZodString>;
386
+ ignoredAt: z.ZodString;
387
+ }, z.core.$strip>;
388
+ export declare const OrgIgnoredUrlsListResponseSchema: z.ZodObject<{
389
+ items: z.ZodArray<z.ZodObject<{
390
+ id: z.ZodString;
391
+ url: z.ZodString;
392
+ orgId: z.ZodString;
393
+ reason: z.ZodNullable<z.ZodString>;
394
+ ignoredAt: z.ZodString;
395
+ }, z.core.$strip>>;
396
+ pagination: z.ZodObject<{
397
+ page: z.ZodNumber;
398
+ pageSize: z.ZodNumber;
399
+ returned: z.ZodNumber;
400
+ totalItems: z.ZodOptional<z.ZodNumber>;
401
+ totalPages: z.ZodOptional<z.ZodNumber>;
402
+ hasMore: z.ZodBoolean;
403
+ }, z.core.$strip>;
404
+ }, z.core.$strip>;
405
+ /**
406
+ * Response shape for `GET /v1/orgs/:slug/ignored-urls`. Returns the paginated
407
+ * list by default; with `?url=<encoded>&single=1` returns the matching single
408
+ * row or `null` when not present.
409
+ */
410
+ export declare const OrgIgnoredUrlsResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
411
+ items: z.ZodArray<z.ZodObject<{
412
+ id: z.ZodString;
413
+ url: z.ZodString;
414
+ orgId: z.ZodString;
415
+ reason: z.ZodNullable<z.ZodString>;
416
+ ignoredAt: z.ZodString;
417
+ }, z.core.$strip>>;
418
+ pagination: z.ZodObject<{
419
+ page: z.ZodNumber;
420
+ pageSize: z.ZodNumber;
421
+ returned: z.ZodNumber;
422
+ totalItems: z.ZodOptional<z.ZodNumber>;
423
+ totalPages: z.ZodOptional<z.ZodNumber>;
424
+ hasMore: z.ZodBoolean;
425
+ }, z.core.$strip>;
426
+ }, z.core.$strip>, z.ZodObject<{
427
+ id: z.ZodString;
428
+ url: z.ZodString;
429
+ orgId: z.ZodString;
430
+ reason: z.ZodNullable<z.ZodString>;
431
+ ignoredAt: z.ZodString;
432
+ }, z.core.$strip>, z.ZodNull]>;
433
+ /**
434
+ * Body accepted by `POST /v1/orgs/:slug/ignored-urls`.
435
+ * `reason` is optional.
436
+ */
437
+ export declare const AddIgnoredUrlBodySchema: z.ZodObject<{
438
+ url: z.ZodString;
439
+ reason: z.ZodOptional<z.ZodString>;
440
+ }, z.core.$strip>;
441
+ /** Response shape for `POST /v1/orgs/:slug/ignored-urls`. */
442
+ export declare const AddIgnoredUrlResponseSchema: z.ZodObject<{
443
+ ignored: z.ZodLiteral<true>;
444
+ }, z.core.$strip>;
445
+ /** Response shape for `DELETE /v1/orgs/:slug/ignored-urls/:url`. */
446
+ export declare const DeleteIgnoredUrlResponseSchema: z.ZodObject<{
447
+ deleted: z.ZodLiteral<true>;
448
+ }, z.core.$strip>;
449
+ /** Body accepted by `PUT` and `DELETE` `/v1/orgs/:slug/tags`. */
450
+ export declare const OrgTagsBodySchema: z.ZodObject<{
451
+ tags: z.ZodArray<z.ZodString>;
452
+ }, z.core.$strip>;
453
+ /** Response shape returned by `PUT` and `DELETE` `/v1/orgs/:slug/tags`. */
454
+ export declare const OrgTagsMutationResponseSchema: z.ZodObject<{
455
+ ok: z.ZodLiteral<true>;
456
+ }, z.core.$strip>;
457
+ /** Body accepted by `POST /v1/tags`. */
458
+ export declare const CreateTagBodySchema: z.ZodObject<{
459
+ name: z.ZodString;
460
+ }, z.core.$strip>;
461
+ /** Row returned by `POST /v1/tags` (201 on create, 200 if already exists). */
462
+ export declare const TagRowSchema: z.ZodObject<{
463
+ id: z.ZodString;
464
+ name: z.ZodString;
465
+ slug: z.ZodString;
466
+ createdAt: z.ZodString;
467
+ }, z.core.$strip>;
468
+ /**
469
+ * Response shape for `GET /v1/orgs/:slug/activity`. Returns per-source
470
+ * weekly release buckets plus an aggregate rollup — used for timeline
471
+ * visualization in the web org detail page.
472
+ */
473
+ export declare const OrgActivityResponseSchema: z.ZodObject<{
474
+ org: z.ZodObject<{
475
+ slug: z.ZodString;
476
+ name: z.ZodString;
477
+ }, z.core.$strip>;
478
+ range: z.ZodObject<{
479
+ from: z.ZodString;
480
+ to: z.ZodString;
481
+ }, z.core.$strip>;
482
+ sources: z.ZodArray<z.ZodObject<{
483
+ slug: z.ZodString;
484
+ name: z.ZodString;
485
+ releaseCount: z.ZodNumber;
486
+ avgReleasesPerWeek: z.ZodNumber;
487
+ earliestVersion: z.ZodNullable<z.ZodString>;
488
+ latestVersion: z.ZodNullable<z.ZodString>;
489
+ latestDate: z.ZodNullable<z.ZodString>;
490
+ weeklyBuckets: z.ZodArray<z.ZodObject<{
491
+ weekStart: z.ZodString;
492
+ count: z.ZodNumber;
493
+ earliestVersion: z.ZodNullable<z.ZodString>;
494
+ latestVersion: z.ZodNullable<z.ZodString>;
495
+ }, z.core.$strip>>;
496
+ }, z.core.$strip>>;
497
+ aggregateWeekly: z.ZodArray<z.ZodObject<{
498
+ weekStart: z.ZodString;
499
+ count: z.ZodNumber;
500
+ }, z.core.$strip>>;
501
+ }, z.core.$strip>;
502
+ /**
503
+ * Response shape for `GET /v1/orgs/:slug/heatmap`. Returns daily release
504
+ * counts for the trailing 365 days — used for contribution-graph
505
+ * visualization in the web org detail page.
506
+ */
507
+ export declare const OrgHeatmapResponseSchema: z.ZodObject<{
508
+ org: z.ZodObject<{
509
+ slug: z.ZodString;
510
+ name: z.ZodString;
511
+ }, z.core.$strip>;
512
+ range: z.ZodObject<{
513
+ from: z.ZodString;
514
+ to: z.ZodString;
515
+ }, z.core.$strip>;
516
+ dailyCounts: z.ZodArray<z.ZodObject<{
517
+ date: z.ZodString;
518
+ count: z.ZodNumber;
519
+ }, z.core.$strip>>;
520
+ total: z.ZodNumber;
521
+ }, z.core.$strip>;
522
+ /**
523
+ * Response shape for `GET /v1/orgs/:slug/sparklines`. Returns 30-day daily
524
+ * release counts per source and per product, plus an aggregate rollup.
525
+ */
526
+ export declare const OrgSparklinesResponseSchema: z.ZodObject<{
527
+ org: z.ZodObject<{
528
+ slug: z.ZodString;
529
+ name: z.ZodString;
530
+ }, z.core.$strip>;
531
+ range: z.ZodObject<{
532
+ from: z.ZodString;
533
+ to: z.ZodString;
534
+ }, z.core.$strip>;
535
+ aggregate: z.ZodArray<z.ZodNumber>;
536
+ sources: z.ZodArray<z.ZodObject<{
537
+ slug: z.ZodString;
538
+ name: z.ZodString;
539
+ sparkline: z.ZodArray<z.ZodNumber>;
540
+ }, z.core.$strip>>;
541
+ products: z.ZodArray<z.ZodObject<{
542
+ slug: z.ZodString;
543
+ name: z.ZodString;
544
+ sparkline: z.ZodArray<z.ZodNumber>;
545
+ }, z.core.$strip>>;
546
+ }, z.core.$strip>;
547
+ /**
548
+ * Release feed item on `GET /v1/orgs/:slug/releases`. Extends `ReleaseItem`
549
+ * with a `source` block identifying the originating source within the org.
550
+ * `id` is always present here, unlike the shared `ReleaseItem`.
551
+ */
552
+ export declare const OrgReleaseItemSchema: z.ZodObject<{
553
+ version: z.ZodNullable<z.ZodString>;
554
+ title: z.ZodString;
555
+ summary: z.ZodString;
556
+ content: z.ZodOptional<z.ZodString>;
557
+ publishedAt: z.ZodNullable<z.ZodString>;
558
+ fetchedAt: z.ZodOptional<z.ZodString>;
559
+ url: z.ZodNullable<z.ZodString>;
560
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
561
+ type: z.ZodEnum<{
562
+ gif: "gif";
563
+ image: "image";
564
+ video: "video";
565
+ }>;
566
+ url: z.ZodString;
567
+ alt: z.ZodOptional<z.ZodString>;
568
+ r2Key: z.ZodOptional<z.ZodString>;
569
+ r2Url: z.ZodOptional<z.ZodString>;
570
+ linkUrl: z.ZodOptional<z.ZodString>;
571
+ }, z.core.$strip>>>;
572
+ type: z.ZodOptional<z.ZodEnum<{
573
+ feature: "feature";
574
+ rollup: "rollup";
575
+ }>>;
576
+ prerelease: z.ZodOptional<z.ZodBoolean>;
577
+ titleGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
+ titleShort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
579
+ breaking: z.ZodOptional<z.ZodEnum<{
580
+ major: "major";
581
+ minor: "minor";
582
+ none: "none";
583
+ unknown: "unknown";
584
+ }>>;
585
+ importance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
586
+ coverageCount: z.ZodOptional<z.ZodNumber>;
587
+ contentChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
588
+ contentTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
589
+ composition: z.ZodOptional<z.ZodNullable<z.ZodObject<{
590
+ bugs: z.ZodNumber;
591
+ features: z.ZodNumber;
592
+ enhancements: z.ZodNumber;
593
+ }, z.core.$strip>>>;
594
+ id: z.ZodString;
595
+ source: z.ZodObject<{
596
+ slug: z.ZodString;
597
+ name: z.ZodString;
598
+ type: z.ZodString;
599
+ appStore: z.ZodOptional<z.ZodObject<{
600
+ platform: z.ZodEnum<{
601
+ ios: "ios";
602
+ macos: "macos";
603
+ }>;
604
+ iconUrl: z.ZodNullable<z.ZodString>;
605
+ }, z.core.$strip>>;
606
+ video: z.ZodOptional<z.ZodObject<{
607
+ provider: z.ZodEnum<{
608
+ vimeo: "vimeo";
609
+ wistia: "wistia";
610
+ youtube: "youtube";
611
+ }>;
612
+ }, z.core.$strip>>;
613
+ }, z.core.$strip>;
614
+ product: z.ZodOptional<z.ZodNullable<z.ZodObject<{
615
+ slug: z.ZodString;
616
+ name: z.ZodString;
617
+ }, z.core.$strip>>>;
618
+ groupSlug: z.ZodOptional<z.ZodString>;
619
+ groupName: z.ZodOptional<z.ZodString>;
620
+ }, z.core.$strip>;
621
+ /** Cursor pagination shape for the org releases feed. */
622
+ export declare const OrgFeedPaginationSchema: z.ZodObject<{
623
+ nextCursor: z.ZodNullable<z.ZodString>;
624
+ limit: z.ZodNumber;
625
+ }, z.core.$strip>;
626
+ /**
627
+ * Response shape for `GET /v1/orgs/:slug/releases`.
628
+ * Cursor-paginated; `nextCursor` is `null` when this is the last page.
629
+ */
630
+ export declare const OrgReleasesFeedResponseSchema: z.ZodObject<{
631
+ releases: z.ZodArray<z.ZodObject<{
632
+ version: z.ZodNullable<z.ZodString>;
633
+ title: z.ZodString;
634
+ summary: z.ZodString;
635
+ content: z.ZodOptional<z.ZodString>;
636
+ publishedAt: z.ZodNullable<z.ZodString>;
637
+ fetchedAt: z.ZodOptional<z.ZodString>;
638
+ url: z.ZodNullable<z.ZodString>;
639
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
640
+ type: z.ZodEnum<{
641
+ gif: "gif";
642
+ image: "image";
643
+ video: "video";
644
+ }>;
645
+ url: z.ZodString;
646
+ alt: z.ZodOptional<z.ZodString>;
647
+ r2Key: z.ZodOptional<z.ZodString>;
648
+ r2Url: z.ZodOptional<z.ZodString>;
649
+ linkUrl: z.ZodOptional<z.ZodString>;
650
+ }, z.core.$strip>>>;
651
+ type: z.ZodOptional<z.ZodEnum<{
652
+ feature: "feature";
653
+ rollup: "rollup";
654
+ }>>;
655
+ prerelease: z.ZodOptional<z.ZodBoolean>;
656
+ titleGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
+ titleShort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
658
+ breaking: z.ZodOptional<z.ZodEnum<{
659
+ major: "major";
660
+ minor: "minor";
661
+ none: "none";
662
+ unknown: "unknown";
663
+ }>>;
664
+ importance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
665
+ coverageCount: z.ZodOptional<z.ZodNumber>;
666
+ contentChars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
667
+ contentTokens: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
668
+ composition: z.ZodOptional<z.ZodNullable<z.ZodObject<{
669
+ bugs: z.ZodNumber;
670
+ features: z.ZodNumber;
671
+ enhancements: z.ZodNumber;
672
+ }, z.core.$strip>>>;
673
+ id: z.ZodString;
674
+ source: z.ZodObject<{
675
+ slug: z.ZodString;
676
+ name: z.ZodString;
677
+ type: z.ZodString;
678
+ appStore: z.ZodOptional<z.ZodObject<{
679
+ platform: z.ZodEnum<{
680
+ ios: "ios";
681
+ macos: "macos";
682
+ }>;
683
+ iconUrl: z.ZodNullable<z.ZodString>;
684
+ }, z.core.$strip>>;
685
+ video: z.ZodOptional<z.ZodObject<{
686
+ provider: z.ZodEnum<{
687
+ vimeo: "vimeo";
688
+ wistia: "wistia";
689
+ youtube: "youtube";
690
+ }>;
691
+ }, z.core.$strip>>;
692
+ }, z.core.$strip>;
693
+ product: z.ZodOptional<z.ZodNullable<z.ZodObject<{
694
+ slug: z.ZodString;
695
+ name: z.ZodString;
696
+ }, z.core.$strip>>>;
697
+ groupSlug: z.ZodOptional<z.ZodString>;
698
+ groupName: z.ZodOptional<z.ZodString>;
699
+ }, z.core.$strip>>;
700
+ pagination: z.ZodObject<{
701
+ nextCursor: z.ZodNullable<z.ZodString>;
702
+ limit: z.ZodNumber;
703
+ }, z.core.$strip>;
704
+ }, z.core.$strip>;
705
+ /**
706
+ * Row returned by `GET /v1/orgs/:slug/recent-releases`. This is the full
707
+ * `releasesVisible` row with `sourceName` and `sourceSlug` joined from
708
+ * `sourcesVisible` — intended for summarization / grouping by agents.
709
+ * Many fields are nullable because they may not be populated at ingest time.
710
+ */
711
+ export declare const OrgRecentReleaseItemSchema: z.ZodObject<{
712
+ id: z.ZodString;
713
+ sourceId: z.ZodString;
714
+ version: z.ZodNullable<z.ZodString>;
715
+ type: z.ZodOptional<z.ZodString>;
716
+ title: z.ZodString;
717
+ content: z.ZodString;
718
+ summary: z.ZodNullable<z.ZodString>;
719
+ titleGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
720
+ titleShort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
721
+ breaking: z.ZodOptional<z.ZodEnum<{
722
+ major: "major";
723
+ minor: "minor";
724
+ none: "none";
725
+ unknown: "unknown";
726
+ }>>;
727
+ importance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
728
+ url: z.ZodNullable<z.ZodString>;
729
+ contentHash: z.ZodNullable<z.ZodString>;
730
+ metadata: z.ZodNullable<z.ZodString>;
731
+ media: z.ZodNullable<z.ZodString>;
732
+ publishedAt: z.ZodNullable<z.ZodString>;
733
+ suppressed: z.ZodOptional<z.ZodNumber>;
734
+ suppressedReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
735
+ fetchedAt: z.ZodOptional<z.ZodString>;
736
+ embeddedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
737
+ sourceName: z.ZodString;
738
+ sourceSlug: z.ZodString;
739
+ }, z.core.$strip>;
740
+ export declare const OrgRecentReleasesResponseSchema: z.ZodArray<z.ZodObject<{
741
+ id: z.ZodString;
742
+ sourceId: z.ZodString;
743
+ version: z.ZodNullable<z.ZodString>;
744
+ type: z.ZodOptional<z.ZodString>;
745
+ title: z.ZodString;
746
+ content: z.ZodString;
747
+ summary: z.ZodNullable<z.ZodString>;
748
+ titleGenerated: z.ZodOptional<z.ZodNullable<z.ZodString>>;
749
+ titleShort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
750
+ breaking: z.ZodOptional<z.ZodEnum<{
751
+ major: "major";
752
+ minor: "minor";
753
+ none: "none";
754
+ unknown: "unknown";
755
+ }>>;
756
+ importance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
757
+ url: z.ZodNullable<z.ZodString>;
758
+ contentHash: z.ZodNullable<z.ZodString>;
759
+ metadata: z.ZodNullable<z.ZodString>;
760
+ media: z.ZodNullable<z.ZodString>;
761
+ publishedAt: z.ZodNullable<z.ZodString>;
762
+ suppressed: z.ZodOptional<z.ZodNumber>;
763
+ suppressedReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
+ fetchedAt: z.ZodOptional<z.ZodString>;
765
+ embeddedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
766
+ sourceName: z.ZodString;
767
+ sourceSlug: z.ZodString;
768
+ }, z.core.$strip>>;
769
+ /** Response returned by `DELETE /v1/orgs/:slug/accounts/:platform/:handle`. */
770
+ export declare const DeleteOrgAccountResponseSchema: z.ZodObject<{
771
+ deleted: z.ZodLiteral<true>;
772
+ }, z.core.$strip>;
773
+ export declare const OrgDetailSchema: z.ZodObject<{
774
+ id: z.ZodString;
775
+ slug: z.ZodString;
776
+ name: z.ZodString;
777
+ domain: z.ZodNullable<z.ZodString>;
778
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
+ category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
780
+ ai: "ai";
781
+ cloud: "cloud";
782
+ commerce: "commerce";
783
+ crm: "crm";
784
+ database: "database";
785
+ design: "design";
786
+ "developer-tools": "developer-tools";
787
+ devops: "devops";
788
+ finance: "finance";
789
+ framework: "framework";
790
+ infrastructure: "infrastructure";
791
+ observability: "observability";
792
+ productivity: "productivity";
793
+ security: "security";
794
+ }>>>;
795
+ avatarUrl: z.ZodNullable<z.ZodString>;
796
+ isHidden: z.ZodOptional<z.ZodBoolean>;
797
+ autoGenerateContent: z.ZodOptional<z.ZodBoolean>;
798
+ overviewCadenceDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
799
+ featured: z.ZodOptional<z.ZodBoolean>;
800
+ fetchPaused: z.ZodOptional<z.ZodBoolean>;
801
+ discovery: z.ZodOptional<z.ZodEnum<{
802
+ agent: "agent";
803
+ curated: "curated";
804
+ on_demand: "on_demand";
805
+ }>>;
806
+ status: z.ZodOptional<z.ZodEnum<{
807
+ stub: "stub";
808
+ tracked: "tracked";
809
+ }>>;
810
+ locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
811
+ url: z.ZodOptional<z.ZodString>;
812
+ feed: z.ZodOptional<z.ZodString>;
813
+ github: z.ZodOptional<z.ZodString>;
814
+ appstore: z.ZodOptional<z.ZodString>;
815
+ file: z.ZodOptional<z.ZodString>;
816
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
817
+ canonical: z.ZodBoolean;
818
+ basis: z.ZodEnum<{
819
+ curator: "curator";
820
+ declared: "declared";
821
+ detected: "detected";
822
+ generated: "generated";
823
+ }>;
824
+ productId: z.ZodNullable<z.ZodString>;
825
+ sourceId: z.ZodNullable<z.ZodString>;
826
+ publish: z.ZodOptional<z.ZodLiteral<"push">>;
827
+ path: z.ZodOptional<z.ZodString>;
828
+ }, z.core.$strip>>>;
829
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
830
+ sourceCount: z.ZodNumber;
831
+ releaseCount: z.ZodNumber;
832
+ releasesLast30Days: z.ZodNumber;
833
+ avgReleasesPerWeek: z.ZodNumber;
834
+ lastFetchedAt: z.ZodNullable<z.ZodString>;
835
+ lastPolledAt: z.ZodNullable<z.ZodString>;
836
+ trackingSince: z.ZodString;
837
+ createdAt: z.ZodOptional<z.ZodString>;
838
+ updatedAt: z.ZodOptional<z.ZodString>;
839
+ aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
840
+ accounts: z.ZodArray<z.ZodObject<{
841
+ platform: z.ZodString;
842
+ handle: z.ZodString;
843
+ }, z.core.$strip>>;
844
+ products: z.ZodArray<z.ZodObject<{
845
+ id: z.ZodString;
846
+ name: z.ZodString;
847
+ slug: z.ZodString;
848
+ url: z.ZodNullable<z.ZodString>;
849
+ description: z.ZodNullable<z.ZodString>;
850
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
851
+ desktop: "desktop";
852
+ docs: "docs";
853
+ integration: "integration";
854
+ mobile: "mobile";
855
+ platform: "platform";
856
+ sdk: "sdk";
857
+ tool: "tool";
858
+ }>>>;
859
+ createdAt: z.ZodString;
860
+ sourceCount: z.ZodNumber;
861
+ releaseCount: z.ZodNumber;
862
+ }, z.core.$strip>>;
863
+ sources: z.ZodArray<z.ZodObject<{
864
+ id: z.ZodOptional<z.ZodString>;
865
+ slug: z.ZodString;
866
+ name: z.ZodString;
867
+ type: z.ZodEnum<{
868
+ agent: "agent";
869
+ appstore: "appstore";
870
+ feed: "feed";
871
+ github: "github";
872
+ scrape: "scrape";
873
+ video: "video";
874
+ }>;
875
+ url: z.ZodOptional<z.ZodString>;
876
+ orgSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
877
+ releaseCount: z.ZodNumber;
878
+ latestVersion: z.ZodNullable<z.ZodString>;
879
+ latestDate: z.ZodNullable<z.ZodString>;
880
+ latestAddedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
881
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
882
+ isHidden: z.ZodOptional<z.ZodBoolean>;
883
+ discovery: z.ZodOptional<z.ZodEnum<{
884
+ agent: "agent";
885
+ curated: "curated";
886
+ on_demand: "on_demand";
887
+ }>>;
888
+ fetchPriority: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
889
+ low: "low";
890
+ normal: "normal";
891
+ paused: "paused";
892
+ }>>>;
893
+ lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
+ lastPolledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
895
+ changeDetectedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
+ consecutiveNoChange: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
897
+ consecutiveErrors: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
898
+ nextFetchAfter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
899
+ medianGapDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
900
+ lastRetieredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
901
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
902
+ productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
903
+ productSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
904
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
905
+ desktop: "desktop";
906
+ docs: "docs";
907
+ integration: "integration";
908
+ mobile: "mobile";
909
+ platform: "platform";
910
+ sdk: "sdk";
911
+ tool: "tool";
912
+ }>>>;
913
+ stars: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
914
+ starsFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
915
+ }, z.core.$strip>>;
916
+ overview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
917
+ scope: z.ZodEnum<{
918
+ org: "org";
919
+ product: "product";
920
+ }>;
921
+ orgSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ productSlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
923
+ content: z.ZodString;
924
+ releaseCount: z.ZodNumber;
925
+ lastContributingReleaseAt: z.ZodNullable<z.ZodString>;
926
+ generatedAt: z.ZodString;
927
+ updatedAt: z.ZodString;
928
+ citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
929
+ sourceUrl: z.ZodString;
930
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
931
+ releaseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
932
+ releaseWebUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
933
+ startIndex: z.ZodOptional<z.ZodNumber>;
934
+ endIndex: z.ZodOptional<z.ZodNumber>;
935
+ citedText: z.ZodOptional<z.ZodString>;
936
+ }, z.core.$strip>>>;
937
+ }, z.core.$strip>>>;
938
+ playbook: z.ZodOptional<z.ZodNullable<z.ZodObject<{
939
+ scope: z.ZodLiteral<"playbook">;
940
+ content: z.ZodString;
941
+ updatedAt: z.ZodString;
942
+ }, z.core.$strip>>>;
943
+ notice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
944
+ message: z.ZodString;
945
+ linkText: z.ZodOptional<z.ZodString>;
946
+ coordinate: z.ZodOptional<z.ZodString>;
947
+ href: z.ZodOptional<z.ZodURL>;
948
+ }, z.core.$strip>>>;
949
+ }, z.core.$strip>;
950
+ //# sourceMappingURL=orgs.d.ts.map