@tscircuit/fake-snippets 0.0.120 → 0.0.121

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 (131) hide show
  1. package/.github/workflows/bun-pver-release.yml +29 -4
  2. package/dist/assets/404-CnNkOMw-.js +1 -0
  3. package/dist/assets/Analytics-DIw7l2gi.js +84 -0
  4. package/dist/assets/BuildsList-CeqVVhbz.js +1 -0
  5. package/dist/assets/CodeAndPreview-Dycd0s15.js +722 -0
  6. package/dist/assets/DownloadButtonAndMenu-OIUhbKkj.js +194 -0
  7. package/dist/assets/FileSaver.min-BDsOlqKl.js +1 -0
  8. package/dist/assets/Footer-DU-HdqGk.js +1 -0
  9. package/dist/assets/GithubAvatarWithFallback-CQhrBiKP.js +6 -0
  10. package/dist/assets/Header-CI4GZVOv.js +1 -0
  11. package/dist/assets/Header2-CrMDmo3P.js +5 -0
  12. package/dist/assets/NotFound-DaXtEPsC.js +1 -0
  13. package/dist/assets/OrganizationCard-Bs2dw-AL.js +1 -0
  14. package/dist/assets/PackageBreadcrumb-DpOpPbGc.js +6 -0
  15. package/dist/assets/PackageCard-ejE2dLlA.js +16 -0
  16. package/dist/assets/PackageSearchResults-BI3Rtmr2.js +1 -0
  17. package/dist/assets/ProfileRouter-4xNgtXr5.js +6 -0
  18. package/dist/assets/alert-dialog-DrOB4Tui.js +1 -0
  19. package/dist/assets/authorize-D-5R3QHA.js +16 -0
  20. package/dist/assets/badge-Bk-k6kyg.js +1 -0
  21. package/dist/assets/card-CzXDit7x.js +1 -0
  22. package/dist/assets/circle-alert-Du9-4of0.js +6 -0
  23. package/dist/assets/circle-check-big-KaRyRsht.js +6 -0
  24. package/dist/assets/cpu-BnvjzmIA.js +6 -0
  25. package/dist/assets/create-organization-BHNFvE7B.js +1 -0
  26. package/dist/assets/dashboard-DDH4V91X.js +11 -0
  27. package/dist/assets/datasheet-DqKtWt-O.js +1 -0
  28. package/dist/assets/datasheets-4W6pEMf3.js +1 -0
  29. package/dist/assets/dev-login-CbHdDthp.js +1 -0
  30. package/dist/assets/editor-bqg9Yv91.js +1 -0
  31. package/dist/assets/editor_example_1-1000w.webp +0 -0
  32. package/dist/assets/editor_example_1-1200w.webp +0 -0
  33. package/dist/assets/editor_example_1-1600w.webp +0 -0
  34. package/dist/assets/editor_example_1-2000w.webp +0 -0
  35. package/dist/assets/editor_example_1-400w.webp +0 -0
  36. package/dist/assets/editor_example_1-600w.webp +0 -0
  37. package/dist/assets/editor_example_1-800w.webp +0 -0
  38. package/dist/assets/editor_example_1_more_square-1000w.webp +0 -0
  39. package/dist/assets/editor_example_1_more_square-1200w.webp +0 -0
  40. package/dist/assets/editor_example_1_more_square-1600w.webp +0 -0
  41. package/dist/assets/editor_example_1_more_square-2000w.webp +0 -0
  42. package/dist/assets/editor_example_1_more_square-400w.webp +0 -0
  43. package/dist/assets/editor_example_1_more_square-600w.webp +0 -0
  44. package/dist/assets/editor_example_1_more_square-800w.webp +0 -0
  45. package/dist/assets/editor_example_2-1000w.webp +0 -0
  46. package/dist/assets/editor_example_2-1200w.webp +0 -0
  47. package/dist/assets/editor_example_2-1600w.webp +0 -0
  48. package/dist/assets/editor_example_2-2000w.webp +0 -0
  49. package/dist/assets/editor_example_2-400w.webp +0 -0
  50. package/dist/assets/editor_example_2-600w.webp +0 -0
  51. package/dist/assets/editor_example_2-800w.webp +0 -0
  52. package/dist/assets/example_schematic-1000w.webp +0 -0
  53. package/dist/assets/example_schematic-1200w.webp +0 -0
  54. package/dist/assets/example_schematic-1600w.webp +0 -0
  55. package/dist/assets/example_schematic-2000w.webp +0 -0
  56. package/dist/assets/example_schematic-400w.webp +0 -0
  57. package/dist/assets/example_schematic-600w.webp +0 -0
  58. package/dist/assets/example_schematic-800w.webp +0 -0
  59. package/dist/assets/eye-B_NMTTT7.js +6 -0
  60. package/dist/assets/fallback-image.svg +1 -0
  61. package/dist/assets/favicon-BwEjZKGP.ico +0 -0
  62. package/dist/assets/formatTimeAgo-CawXna5h.js +6 -0
  63. package/dist/assets/github-DjKGjbX1.js +6 -0
  64. package/dist/assets/github-dark-DHJKELXO.js +1 -0
  65. package/dist/assets/github-light-DAi9KRSo.js +1 -0
  66. package/dist/assets/hash-DfKYpqTm.js +6 -0
  67. package/dist/assets/index-B17tE1vy.js +1 -0
  68. package/dist/assets/index-BQPj88OW.js +6051 -0
  69. package/dist/assets/index-DvNLZBaq.js +6 -0
  70. package/dist/assets/keyboard-4b_qLHIF.js +11 -0
  71. package/dist/assets/label-CTudXc4q.js +1 -0
  72. package/dist/assets/landing-Cjvvx-9q.js +11 -0
  73. package/dist/assets/latest-DMk4BmXW.js +1 -0
  74. package/dist/assets/layers-BJ1iwaVM.js +6 -0
  75. package/dist/assets/load-prettier-DgbV1Jgu.js +1 -0
  76. package/dist/assets/lock-BOZRJdUv.js +6 -0
  77. package/dist/assets/main-DPEM9abA.js +26 -0
  78. package/dist/assets/main-MTKdI4FA.css +1 -0
  79. package/dist/assets/my-orders-B7lEyNR9.js +1 -0
  80. package/dist/assets/organization-settings-rNvhYFgZ.js +6 -0
  81. package/dist/assets/package-editor-T4WIRP49.js +1 -0
  82. package/dist/assets/pen-D54fxNRf.js +6 -0
  83. package/dist/assets/plus-KkE_6Dq2.js +6 -0
  84. package/dist/assets/preview-release-DWhKHFWp.js +1 -0
  85. package/dist/assets/quickstart-WF3HR9Dc.js +1 -0
  86. package/dist/assets/refresh-cw-aWASTRku.js +6 -0
  87. package/dist/assets/release-builds-COa5ndHa.js +1 -0
  88. package/dist/assets/release-detail-iclJPUO-.js +6 -0
  89. package/dist/assets/releases-Clsyp-7n.js +1 -0
  90. package/dist/assets/role-badge-BGF_IMlO.js +16 -0
  91. package/dist/assets/search-CwH23pAU.js +1 -0
  92. package/dist/assets/select-BN8AF1J7.js +1 -0
  93. package/dist/assets/settings-B2bMEtS4.js +6 -0
  94. package/dist/assets/skeleton-DLAS40-y.js +1 -0
  95. package/dist/assets/svg-to-png-BX4YEHCP-JcDm8Hc5.js +1 -0
  96. package/dist/assets/svg-to-png-BX4YEHCP-pNo9Afg8.js +1 -0
  97. package/dist/assets/tabs-Ce0NFuwd.js +1 -0
  98. package/dist/assets/timeAgo-VY0F2EV9.js +10 -0
  99. package/dist/assets/tooltip-C1pwvC0K.js +11 -0
  100. package/dist/assets/trash-2-BW3eClHz.js +6 -0
  101. package/dist/assets/trending-C8246HGf.js +1 -0
  102. package/dist/assets/triangle-alert-BMIBEO1D.js +6 -0
  103. package/dist/assets/tsx-COt5Ahok.js +1 -0
  104. package/dist/assets/use-create-datasheet-B7TDsTUt.js +1 -0
  105. package/dist/assets/use-delete-package-DLKtoTOj.js +1 -0
  106. package/dist/assets/use-download-zip-CAOKjGXW.js +1 -0
  107. package/dist/assets/use-list-user-orgs-CgJIT7N4.js +1 -0
  108. package/dist/assets/use-organization-XwYYTFck.js +1 -0
  109. package/dist/assets/use-package-builds-Bx8rfxi1.js +1 -0
  110. package/dist/assets/use-package-by-package-name-1s1Pcarw.js +1 -0
  111. package/dist/assets/use-package-files-CmmWVuGn.js +1 -0
  112. package/dist/assets/use-package-release-by-id-or-version-BuuXcSZq.js +1 -0
  113. package/dist/assets/use-package-release-images-BMaZtvmk.js +1 -0
  114. package/dist/assets/use-packages-base-api-url-DA1hucM7.js +1 -0
  115. package/dist/assets/useQueries-BJ7Ue7HV.js +1 -0
  116. package/dist/assets/user-settings-BqO5FkMf.js +1 -0
  117. package/dist/assets/view-package-C-OvJr_Q.js +165 -0
  118. package/dist/assets/vitesse-light-CVO1_9PV.js +1 -0
  119. package/dist/assets/wasm-CG6Dc4jp.js +1 -0
  120. package/dist/index.html +127 -0
  121. package/dist/landing.html +34 -0
  122. package/dist/robots.txt +9 -0
  123. package/dist/sitemap.xml +118 -0
  124. package/dist/stats.html +4949 -0
  125. package/package.json +1 -1
  126. package/dist/bundle.js +0 -9288
  127. package/dist/index.d.ts +0 -2190
  128. package/dist/index.js +0 -3826
  129. package/dist/schema.d.ts +0 -3142
  130. package/dist/schema.js +0 -454
  131. package/fake-snippets-api/bun.lockb +0 -0
package/dist/schema.d.ts DELETED
@@ -1,3142 +0,0 @@
1
- import { z } from 'zod';
2
-
3
- declare const errorSchema: z.ZodObject<{
4
- error_code: z.ZodString;
5
- message: z.ZodString;
6
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7
- error_code: z.ZodString;
8
- message: z.ZodString;
9
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10
- error_code: z.ZodString;
11
- message: z.ZodString;
12
- }, z.ZodTypeAny, "passthrough">>;
13
- declare const errorResponseSchema: z.ZodObject<{
14
- error: z.ZodObject<{
15
- error_code: z.ZodString;
16
- message: z.ZodString;
17
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
18
- error_code: z.ZodString;
19
- message: z.ZodString;
20
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
21
- error_code: z.ZodString;
22
- message: z.ZodString;
23
- }, z.ZodTypeAny, "passthrough">>;
24
- }, "strip", z.ZodTypeAny, {
25
- error: {
26
- error_code: string;
27
- message: string;
28
- } & {
29
- [k: string]: unknown;
30
- };
31
- }, {
32
- error: {
33
- error_code: string;
34
- message: string;
35
- } & {
36
- [k: string]: unknown;
37
- };
38
- }>;
39
- declare const snippetSchema: z.ZodObject<{
40
- snippet_id: z.ZodString;
41
- package_release_id: z.ZodString;
42
- name: z.ZodString;
43
- unscoped_name: z.ZodString;
44
- owner_name: z.ZodString;
45
- is_starred: z.ZodDefault<z.ZodBoolean>;
46
- code: z.ZodString;
47
- dts: z.ZodOptional<z.ZodString>;
48
- compiled_js: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
- circuit_json: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
50
- manual_edits_json_content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
51
- created_at: z.ZodString;
52
- updated_at: z.ZodString;
53
- starred_at: z.ZodOptional<z.ZodString>;
54
- snippet_type: z.ZodEnum<["board", "package", "model", "footprint"]>;
55
- description: z.ZodOptional<z.ZodString>;
56
- version: z.ZodDefault<z.ZodString>;
57
- star_count: z.ZodDefault<z.ZodNumber>;
58
- is_private: z.ZodDefault<z.ZodBoolean>;
59
- is_public: z.ZodDefault<z.ZodBoolean>;
60
- is_unlisted: z.ZodDefault<z.ZodBoolean>;
61
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
- }, "strip", z.ZodTypeAny, {
63
- code: string;
64
- snippet_id: string;
65
- package_release_id: string;
66
- name: string;
67
- unscoped_name: string;
68
- owner_name: string;
69
- is_starred: boolean;
70
- created_at: string;
71
- updated_at: string;
72
- snippet_type: "board" | "package" | "model" | "footprint";
73
- version: string;
74
- star_count: number;
75
- is_private: boolean;
76
- is_public: boolean;
77
- is_unlisted: boolean;
78
- dts?: string | undefined;
79
- compiled_js?: string | null | undefined;
80
- circuit_json?: Record<string, any>[] | null | undefined;
81
- manual_edits_json_content?: string | null | undefined;
82
- starred_at?: string | undefined;
83
- description?: string | undefined;
84
- tags?: string[] | undefined;
85
- }, {
86
- code: string;
87
- snippet_id: string;
88
- package_release_id: string;
89
- name: string;
90
- unscoped_name: string;
91
- owner_name: string;
92
- created_at: string;
93
- updated_at: string;
94
- snippet_type: "board" | "package" | "model" | "footprint";
95
- is_starred?: boolean | undefined;
96
- dts?: string | undefined;
97
- compiled_js?: string | null | undefined;
98
- circuit_json?: Record<string, any>[] | null | undefined;
99
- manual_edits_json_content?: string | null | undefined;
100
- starred_at?: string | undefined;
101
- description?: string | undefined;
102
- version?: string | undefined;
103
- star_count?: number | undefined;
104
- is_private?: boolean | undefined;
105
- is_public?: boolean | undefined;
106
- is_unlisted?: boolean | undefined;
107
- tags?: string[] | undefined;
108
- }>;
109
- type Snippet = z.infer<typeof snippetSchema>;
110
- declare const sessionSchema: z.ZodObject<{
111
- session_id: z.ZodString;
112
- account_id: z.ZodString;
113
- expires_at: z.ZodString;
114
- is_cli_session: z.ZodBoolean;
115
- }, "strip", z.ZodTypeAny, {
116
- session_id: string;
117
- account_id: string;
118
- expires_at: string;
119
- is_cli_session: boolean;
120
- }, {
121
- session_id: string;
122
- account_id: string;
123
- expires_at: string;
124
- is_cli_session: boolean;
125
- }>;
126
- type Session = z.infer<typeof sessionSchema>;
127
- declare const loginPageSchema: z.ZodObject<{
128
- login_page_id: z.ZodString;
129
- login_page_auth_token: z.ZodString;
130
- was_login_successful: z.ZodBoolean;
131
- has_been_used_to_create_session: z.ZodBoolean;
132
- created_at: z.ZodString;
133
- expires_at: z.ZodString;
134
- }, "strip", z.ZodTypeAny, {
135
- created_at: string;
136
- expires_at: string;
137
- login_page_id: string;
138
- login_page_auth_token: string;
139
- was_login_successful: boolean;
140
- has_been_used_to_create_session: boolean;
141
- }, {
142
- created_at: string;
143
- expires_at: string;
144
- login_page_id: string;
145
- login_page_auth_token: string;
146
- was_login_successful: boolean;
147
- has_been_used_to_create_session: boolean;
148
- }>;
149
- type LoginPage = z.infer<typeof loginPageSchema>;
150
- declare const shippingInfoSchema: z.ZodObject<{
151
- firstName: z.ZodString;
152
- lastName: z.ZodString;
153
- companyName: z.ZodOptional<z.ZodString>;
154
- address: z.ZodString;
155
- apartment: z.ZodOptional<z.ZodString>;
156
- city: z.ZodString;
157
- state: z.ZodString;
158
- zipCode: z.ZodString;
159
- country: z.ZodString;
160
- phone: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- firstName: string;
163
- lastName: string;
164
- address: string;
165
- city: string;
166
- state: string;
167
- zipCode: string;
168
- country: string;
169
- phone: string;
170
- companyName?: string | undefined;
171
- apartment?: string | undefined;
172
- }, {
173
- firstName: string;
174
- lastName: string;
175
- address: string;
176
- city: string;
177
- state: string;
178
- zipCode: string;
179
- country: string;
180
- phone: string;
181
- companyName?: string | undefined;
182
- apartment?: string | undefined;
183
- }>;
184
- declare const accountSchema: z.ZodObject<{
185
- account_id: z.ZodString;
186
- github_username: z.ZodString;
187
- shippingInfo: z.ZodOptional<z.ZodObject<{
188
- firstName: z.ZodString;
189
- lastName: z.ZodString;
190
- companyName: z.ZodOptional<z.ZodString>;
191
- address: z.ZodString;
192
- apartment: z.ZodOptional<z.ZodString>;
193
- city: z.ZodString;
194
- state: z.ZodString;
195
- zipCode: z.ZodString;
196
- country: z.ZodString;
197
- phone: z.ZodString;
198
- }, "strip", z.ZodTypeAny, {
199
- firstName: string;
200
- lastName: string;
201
- address: string;
202
- city: string;
203
- state: string;
204
- zipCode: string;
205
- country: string;
206
- phone: string;
207
- companyName?: string | undefined;
208
- apartment?: string | undefined;
209
- }, {
210
- firstName: string;
211
- lastName: string;
212
- address: string;
213
- city: string;
214
- state: string;
215
- zipCode: string;
216
- country: string;
217
- phone: string;
218
- companyName?: string | undefined;
219
- apartment?: string | undefined;
220
- }>>;
221
- personal_org_id: z.ZodOptional<z.ZodString>;
222
- is_tscircuit_staff: z.ZodDefault<z.ZodBoolean>;
223
- }, "strip", z.ZodTypeAny, {
224
- account_id: string;
225
- github_username: string;
226
- is_tscircuit_staff: boolean;
227
- shippingInfo?: {
228
- firstName: string;
229
- lastName: string;
230
- address: string;
231
- city: string;
232
- state: string;
233
- zipCode: string;
234
- country: string;
235
- phone: string;
236
- companyName?: string | undefined;
237
- apartment?: string | undefined;
238
- } | undefined;
239
- personal_org_id?: string | undefined;
240
- }, {
241
- account_id: string;
242
- github_username: string;
243
- shippingInfo?: {
244
- firstName: string;
245
- lastName: string;
246
- address: string;
247
- city: string;
248
- state: string;
249
- zipCode: string;
250
- country: string;
251
- phone: string;
252
- companyName?: string | undefined;
253
- apartment?: string | undefined;
254
- } | undefined;
255
- personal_org_id?: string | undefined;
256
- is_tscircuit_staff?: boolean | undefined;
257
- }>;
258
- type Account = z.infer<typeof accountSchema>;
259
- declare const orderSchema: z.ZodObject<{
260
- order_id: z.ZodString;
261
- account_id: z.ZodNullable<z.ZodString>;
262
- is_running: z.ZodBoolean;
263
- is_started: z.ZodBoolean;
264
- is_finished: z.ZodBoolean;
265
- error: z.ZodNullable<z.ZodObject<{
266
- error_code: z.ZodString;
267
- message: z.ZodString;
268
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
269
- error_code: z.ZodString;
270
- message: z.ZodString;
271
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
272
- error_code: z.ZodString;
273
- message: z.ZodString;
274
- }, z.ZodTypeAny, "passthrough">>>;
275
- has_error: z.ZodBoolean;
276
- created_at: z.ZodString;
277
- started_at: z.ZodNullable<z.ZodString>;
278
- completed_at: z.ZodNullable<z.ZodString>;
279
- circuit_json: z.ZodAny;
280
- }, "strip", z.ZodTypeAny, {
281
- error: z.objectOutputType<{
282
- error_code: z.ZodString;
283
- message: z.ZodString;
284
- }, z.ZodTypeAny, "passthrough"> | null;
285
- created_at: string;
286
- account_id: string | null;
287
- order_id: string;
288
- is_running: boolean;
289
- is_started: boolean;
290
- is_finished: boolean;
291
- has_error: boolean;
292
- started_at: string | null;
293
- completed_at: string | null;
294
- circuit_json?: any;
295
- }, {
296
- error: z.objectInputType<{
297
- error_code: z.ZodString;
298
- message: z.ZodString;
299
- }, z.ZodTypeAny, "passthrough"> | null;
300
- created_at: string;
301
- account_id: string | null;
302
- order_id: string;
303
- is_running: boolean;
304
- is_started: boolean;
305
- is_finished: boolean;
306
- has_error: boolean;
307
- started_at: string | null;
308
- completed_at: string | null;
309
- circuit_json?: any;
310
- }>;
311
- type Order = z.infer<typeof orderSchema>;
312
- declare const orderFileSchema: z.ZodObject<{
313
- order_file_id: z.ZodString;
314
- order_id: z.ZodString;
315
- is_gerbers_zip: z.ZodBoolean;
316
- content_type: z.ZodString;
317
- for_provider: z.ZodNullable<z.ZodString>;
318
- uploaded_at: z.ZodString;
319
- content_text: z.ZodNullable<z.ZodString>;
320
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
321
- }, "strip", z.ZodTypeAny, {
322
- order_id: string;
323
- order_file_id: string;
324
- is_gerbers_zip: boolean;
325
- content_type: string;
326
- for_provider: string | null;
327
- uploaded_at: string;
328
- content_text: string | null;
329
- content_bytes: Uint8Array<ArrayBuffer> | null;
330
- }, {
331
- order_id: string;
332
- order_file_id: string;
333
- is_gerbers_zip: boolean;
334
- content_type: string;
335
- for_provider: string | null;
336
- uploaded_at: string;
337
- content_text: string | null;
338
- content_bytes: Uint8Array<ArrayBuffer> | null;
339
- }>;
340
- type OrderFile = z.infer<typeof orderFileSchema>;
341
- declare const bugReportSchema: z.ZodObject<{
342
- bug_report_id: z.ZodString;
343
- reporter_account_id: z.ZodString;
344
- text: z.ZodNullable<z.ZodString>;
345
- is_auto_deleted: z.ZodDefault<z.ZodBoolean>;
346
- delete_at: z.ZodNullable<z.ZodString>;
347
- created_at: z.ZodString;
348
- file_count: z.ZodNumber;
349
- }, "strip", z.ZodTypeAny, {
350
- created_at: string;
351
- bug_report_id: string;
352
- reporter_account_id: string;
353
- text: string | null;
354
- is_auto_deleted: boolean;
355
- delete_at: string | null;
356
- file_count: number;
357
- }, {
358
- created_at: string;
359
- bug_report_id: string;
360
- reporter_account_id: string;
361
- text: string | null;
362
- delete_at: string | null;
363
- file_count: number;
364
- is_auto_deleted?: boolean | undefined;
365
- }>;
366
- type BugReport = z.infer<typeof bugReportSchema>;
367
- declare const bugReportFileSchema: z.ZodObject<{
368
- bug_report_file_id: z.ZodString;
369
- bug_report_id: z.ZodString;
370
- file_path: z.ZodString;
371
- content_mimetype: z.ZodString;
372
- is_text: z.ZodBoolean;
373
- created_at: z.ZodString;
374
- content_text: z.ZodNullable<z.ZodString>;
375
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
376
- }, "strip", z.ZodTypeAny, {
377
- created_at: string;
378
- content_text: string | null;
379
- content_bytes: Uint8Array<ArrayBuffer> | null;
380
- bug_report_id: string;
381
- bug_report_file_id: string;
382
- file_path: string;
383
- content_mimetype: string;
384
- is_text: boolean;
385
- }, {
386
- created_at: string;
387
- content_text: string | null;
388
- content_bytes: Uint8Array<ArrayBuffer> | null;
389
- bug_report_id: string;
390
- bug_report_file_id: string;
391
- file_path: string;
392
- content_mimetype: string;
393
- is_text: boolean;
394
- }>;
395
- declare const bugReportFileResponseSchema: z.ZodObject<Omit<{
396
- bug_report_file_id: z.ZodString;
397
- bug_report_id: z.ZodString;
398
- file_path: z.ZodString;
399
- content_mimetype: z.ZodString;
400
- is_text: z.ZodBoolean;
401
- created_at: z.ZodString;
402
- content_text: z.ZodNullable<z.ZodString>;
403
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
404
- }, "content_text" | "content_bytes">, "strip", z.ZodTypeAny, {
405
- created_at: string;
406
- bug_report_id: string;
407
- bug_report_file_id: string;
408
- file_path: string;
409
- content_mimetype: string;
410
- is_text: boolean;
411
- }, {
412
- created_at: string;
413
- bug_report_id: string;
414
- bug_report_file_id: string;
415
- file_path: string;
416
- content_mimetype: string;
417
- is_text: boolean;
418
- }>;
419
- type BugReportFile = z.infer<typeof bugReportFileSchema>;
420
- declare const shippingOptionSchema: z.ZodObject<{
421
- carrier: z.ZodString;
422
- service: z.ZodString;
423
- cost: z.ZodNumber;
424
- }, "strip", z.ZodTypeAny, {
425
- carrier: string;
426
- service: string;
427
- cost: number;
428
- }, {
429
- carrier: string;
430
- service: string;
431
- cost: number;
432
- }>;
433
- type ShippingOption = z.infer<typeof shippingOptionSchema>;
434
- declare const quotedComponentSchema: z.ZodObject<{
435
- manufacturer_part_number: z.ZodNullable<z.ZodString>;
436
- supplier_part_number: z.ZodNullable<z.ZodString>;
437
- quantity: z.ZodDefault<z.ZodNumber>;
438
- unit_price: z.ZodDefault<z.ZodNumber>;
439
- total_price: z.ZodDefault<z.ZodNumber>;
440
- available: z.ZodDefault<z.ZodBoolean>;
441
- }, "strip", z.ZodTypeAny, {
442
- manufacturer_part_number: string | null;
443
- supplier_part_number: string | null;
444
- quantity: number;
445
- unit_price: number;
446
- total_price: number;
447
- available: boolean;
448
- }, {
449
- manufacturer_part_number: string | null;
450
- supplier_part_number: string | null;
451
- quantity?: number | undefined;
452
- unit_price?: number | undefined;
453
- total_price?: number | undefined;
454
- available?: boolean | undefined;
455
- }>;
456
- type QuotedComponent = z.infer<typeof quotedComponentSchema>;
457
- declare const orderQuoteSchema: z.ZodObject<{
458
- order_quote_id: z.ZodString;
459
- account_id: z.ZodNullable<z.ZodString>;
460
- package_release_id: z.ZodNullable<z.ZodString>;
461
- is_completed: z.ZodDefault<z.ZodBoolean>;
462
- is_processing: z.ZodDefault<z.ZodBoolean>;
463
- vendor_name: z.ZodString;
464
- error: z.ZodNullable<z.ZodObject<{
465
- error_code: z.ZodString;
466
- message: z.ZodString;
467
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
468
- error_code: z.ZodString;
469
- message: z.ZodString;
470
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
471
- error_code: z.ZodString;
472
- message: z.ZodString;
473
- }, z.ZodTypeAny, "passthrough">>>;
474
- has_error: z.ZodDefault<z.ZodBoolean>;
475
- created_at: z.ZodString;
476
- updated_at: z.ZodString;
477
- completed_at: z.ZodNullable<z.ZodString>;
478
- quoted_components: z.ZodNullable<z.ZodArray<z.ZodObject<{
479
- manufacturer_part_number: z.ZodNullable<z.ZodString>;
480
- supplier_part_number: z.ZodNullable<z.ZodString>;
481
- quantity: z.ZodDefault<z.ZodNumber>;
482
- unit_price: z.ZodDefault<z.ZodNumber>;
483
- total_price: z.ZodDefault<z.ZodNumber>;
484
- available: z.ZodDefault<z.ZodBoolean>;
485
- }, "strip", z.ZodTypeAny, {
486
- manufacturer_part_number: string | null;
487
- supplier_part_number: string | null;
488
- quantity: number;
489
- unit_price: number;
490
- total_price: number;
491
- available: boolean;
492
- }, {
493
- manufacturer_part_number: string | null;
494
- supplier_part_number: string | null;
495
- quantity?: number | undefined;
496
- unit_price?: number | undefined;
497
- total_price?: number | undefined;
498
- available?: boolean | undefined;
499
- }>, "many">>;
500
- bare_pcb_cost: z.ZodDefault<z.ZodNumber>;
501
- shipping_options: z.ZodArray<z.ZodObject<{
502
- carrier: z.ZodString;
503
- service: z.ZodString;
504
- cost: z.ZodNumber;
505
- }, "strip", z.ZodTypeAny, {
506
- carrier: string;
507
- service: string;
508
- cost: number;
509
- }, {
510
- carrier: string;
511
- service: string;
512
- cost: number;
513
- }>, "many">;
514
- total_cost_without_shipping: z.ZodDefault<z.ZodNumber>;
515
- }, "strip", z.ZodTypeAny, {
516
- error: z.objectOutputType<{
517
- error_code: z.ZodString;
518
- message: z.ZodString;
519
- }, z.ZodTypeAny, "passthrough"> | null;
520
- package_release_id: string | null;
521
- created_at: string;
522
- updated_at: string;
523
- account_id: string | null;
524
- has_error: boolean;
525
- completed_at: string | null;
526
- order_quote_id: string;
527
- is_completed: boolean;
528
- is_processing: boolean;
529
- vendor_name: string;
530
- quoted_components: {
531
- manufacturer_part_number: string | null;
532
- supplier_part_number: string | null;
533
- quantity: number;
534
- unit_price: number;
535
- total_price: number;
536
- available: boolean;
537
- }[] | null;
538
- bare_pcb_cost: number;
539
- shipping_options: {
540
- carrier: string;
541
- service: string;
542
- cost: number;
543
- }[];
544
- total_cost_without_shipping: number;
545
- }, {
546
- error: z.objectInputType<{
547
- error_code: z.ZodString;
548
- message: z.ZodString;
549
- }, z.ZodTypeAny, "passthrough"> | null;
550
- package_release_id: string | null;
551
- created_at: string;
552
- updated_at: string;
553
- account_id: string | null;
554
- completed_at: string | null;
555
- order_quote_id: string;
556
- vendor_name: string;
557
- quoted_components: {
558
- manufacturer_part_number: string | null;
559
- supplier_part_number: string | null;
560
- quantity?: number | undefined;
561
- unit_price?: number | undefined;
562
- total_price?: number | undefined;
563
- available?: boolean | undefined;
564
- }[] | null;
565
- shipping_options: {
566
- carrier: string;
567
- service: string;
568
- cost: number;
569
- }[];
570
- has_error?: boolean | undefined;
571
- is_completed?: boolean | undefined;
572
- is_processing?: boolean | undefined;
573
- bare_pcb_cost?: number | undefined;
574
- total_cost_without_shipping?: number | undefined;
575
- }>;
576
- type OrderQuote = z.infer<typeof orderQuoteSchema>;
577
- declare const aiReviewSchema: z.ZodObject<{
578
- ai_review_id: z.ZodString;
579
- package_release_id: z.ZodOptional<z.ZodString>;
580
- ai_review_text: z.ZodNullable<z.ZodString>;
581
- start_processing_at: z.ZodNullable<z.ZodString>;
582
- finished_processing_at: z.ZodNullable<z.ZodString>;
583
- processing_error: z.ZodNullable<z.ZodAny>;
584
- created_at: z.ZodString;
585
- display_status: z.ZodEnum<["pending", "completed", "failed"]>;
586
- }, "strip", z.ZodTypeAny, {
587
- created_at: string;
588
- ai_review_id: string;
589
- ai_review_text: string | null;
590
- start_processing_at: string | null;
591
- finished_processing_at: string | null;
592
- display_status: "pending" | "completed" | "failed";
593
- package_release_id?: string | undefined;
594
- processing_error?: any;
595
- }, {
596
- created_at: string;
597
- ai_review_id: string;
598
- ai_review_text: string | null;
599
- start_processing_at: string | null;
600
- finished_processing_at: string | null;
601
- display_status: "pending" | "completed" | "failed";
602
- package_release_id?: string | undefined;
603
- processing_error?: any;
604
- }>;
605
- type AiReview = z.infer<typeof aiReviewSchema>;
606
- declare const datasheetPinInformationSchema: z.ZodObject<{
607
- pin_number: z.ZodString;
608
- name: z.ZodString;
609
- description: z.ZodString;
610
- capabilities: z.ZodArray<z.ZodString, "many">;
611
- }, "strip", z.ZodTypeAny, {
612
- name: string;
613
- description: string;
614
- pin_number: string;
615
- capabilities: string[];
616
- }, {
617
- name: string;
618
- description: string;
619
- pin_number: string;
620
- capabilities: string[];
621
- }>;
622
- declare const datasheetSchema: z.ZodObject<{
623
- datasheet_id: z.ZodString;
624
- chip_name: z.ZodString;
625
- created_at: z.ZodString;
626
- pin_information: z.ZodNullable<z.ZodArray<z.ZodObject<{
627
- pin_number: z.ZodString;
628
- name: z.ZodString;
629
- description: z.ZodString;
630
- capabilities: z.ZodArray<z.ZodString, "many">;
631
- }, "strip", z.ZodTypeAny, {
632
- name: string;
633
- description: string;
634
- pin_number: string;
635
- capabilities: string[];
636
- }, {
637
- name: string;
638
- description: string;
639
- pin_number: string;
640
- capabilities: string[];
641
- }>, "many">>;
642
- datasheet_pdf_urls: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
643
- ai_description: z.ZodNullable<z.ZodString>;
644
- }, "strip", z.ZodTypeAny, {
645
- created_at: string;
646
- datasheet_id: string;
647
- chip_name: string;
648
- pin_information: {
649
- name: string;
650
- description: string;
651
- pin_number: string;
652
- capabilities: string[];
653
- }[] | null;
654
- datasheet_pdf_urls: string[] | null;
655
- ai_description: string | null;
656
- }, {
657
- created_at: string;
658
- datasheet_id: string;
659
- chip_name: string;
660
- pin_information: {
661
- name: string;
662
- description: string;
663
- pin_number: string;
664
- capabilities: string[];
665
- }[] | null;
666
- datasheet_pdf_urls: string[] | null;
667
- ai_description: string | null;
668
- }>;
669
- type Datasheet = z.infer<typeof datasheetSchema>;
670
- declare const githubInstallationSchema: z.ZodObject<{
671
- github_installation_id: z.ZodString;
672
- account_id: z.ZodString;
673
- installation_id: z.ZodString;
674
- github_username: z.ZodString;
675
- created_at: z.ZodString;
676
- updated_at: z.ZodString;
677
- is_active: z.ZodDefault<z.ZodBoolean>;
678
- access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
679
- access_token_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
680
- }, "strip", z.ZodTypeAny, {
681
- created_at: string;
682
- updated_at: string;
683
- account_id: string;
684
- github_username: string;
685
- github_installation_id: string;
686
- installation_id: string;
687
- is_active: boolean;
688
- access_token?: string | null | undefined;
689
- access_token_expires_at?: string | null | undefined;
690
- }, {
691
- created_at: string;
692
- updated_at: string;
693
- account_id: string;
694
- github_username: string;
695
- github_installation_id: string;
696
- installation_id: string;
697
- is_active?: boolean | undefined;
698
- access_token?: string | null | undefined;
699
- access_token_expires_at?: string | null | undefined;
700
- }>;
701
- type GithubInstallation = z.infer<typeof githubInstallationSchema>;
702
- declare const accountSnippetSchema: z.ZodObject<{
703
- account_id: z.ZodString;
704
- snippet_id: z.ZodString;
705
- has_starred: z.ZodBoolean;
706
- created_at: z.ZodString;
707
- updated_at: z.ZodString;
708
- }, "strip", z.ZodTypeAny, {
709
- snippet_id: string;
710
- created_at: string;
711
- updated_at: string;
712
- account_id: string;
713
- has_starred: boolean;
714
- }, {
715
- snippet_id: string;
716
- created_at: string;
717
- updated_at: string;
718
- account_id: string;
719
- has_starred: boolean;
720
- }>;
721
- type AccountSnippet = z.infer<typeof accountSnippetSchema>;
722
- declare const accountPackageSchema: z.ZodObject<{
723
- account_package_id: z.ZodString;
724
- account_id: z.ZodString;
725
- package_id: z.ZodString;
726
- is_starred: z.ZodBoolean;
727
- created_at: z.ZodString;
728
- updated_at: z.ZodString;
729
- }, "strip", z.ZodTypeAny, {
730
- is_starred: boolean;
731
- created_at: string;
732
- updated_at: string;
733
- account_id: string;
734
- account_package_id: string;
735
- package_id: string;
736
- }, {
737
- is_starred: boolean;
738
- created_at: string;
739
- updated_at: string;
740
- account_id: string;
741
- account_package_id: string;
742
- package_id: string;
743
- }>;
744
- type AccountPackage = z.infer<typeof accountPackageSchema>;
745
- declare const packageReleaseSchema: z.ZodObject<{
746
- package_release_id: z.ZodString;
747
- package_id: z.ZodString;
748
- version: z.ZodNullable<z.ZodString>;
749
- is_locked: z.ZodBoolean;
750
- is_latest: z.ZodBoolean;
751
- created_at: z.ZodString;
752
- commit_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
753
- license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
755
- circuit_json_build_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
- has_transpiled: z.ZodDefault<z.ZodBoolean>;
757
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
- fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
759
- display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
760
- total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
761
- transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
762
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
763
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
765
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
766
- transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
767
- circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
768
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
769
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
770
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
771
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
772
- circuit_json_build_is_stale: z.ZodDefault<z.ZodBoolean>;
773
- image_generation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
774
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
775
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
776
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
777
- image_generation_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
778
- image_generation_is_stale: z.ZodDefault<z.ZodBoolean>;
779
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
780
- image_generation_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
781
- ai_review_text: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
782
- ai_review_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
783
- ai_review_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
784
- ai_review_error: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
785
- ai_review_logs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
786
- ai_review_requested: z.ZodDefault<z.ZodBoolean>;
787
- is_pr_preview: z.ZodDefault<z.ZodBoolean>;
788
- github_pr_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
789
- latest_package_build_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
790
- branch_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
791
- commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
792
- commit_author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
793
- pcb_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
794
- sch_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
795
- cad_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
796
- }, "strip", z.ZodTypeAny, {
797
- package_release_id: string;
798
- created_at: string;
799
- version: string | null;
800
- display_status: "error" | "pending" | "building" | "complete";
801
- package_id: string;
802
- is_locked: boolean;
803
- is_latest: boolean;
804
- has_transpiled: boolean;
805
- transpilation_display_status: "error" | "pending" | "building" | "complete";
806
- transpilation_in_progress: boolean;
807
- transpilation_logs: any[];
808
- transpilation_is_stale: boolean;
809
- circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
810
- circuit_json_build_in_progress: boolean;
811
- circuit_json_build_logs: any[];
812
- circuit_json_build_is_stale: boolean;
813
- image_generation_display_status: "error" | "pending" | "building" | "complete";
814
- image_generation_in_progress: boolean;
815
- image_generation_logs: any[] | null;
816
- image_generation_is_stale: boolean;
817
- ai_review_requested: boolean;
818
- is_pr_preview: boolean;
819
- pcb_preview_image_url: string | null;
820
- sch_preview_image_url: string | null;
821
- cad_preview_image_url: string | null;
822
- ai_review_text?: string | null | undefined;
823
- commit_sha?: string | null | undefined;
824
- license?: string | null | undefined;
825
- circuit_json_build_error?: string | null | undefined;
826
- circuit_json_build_error_last_updated_at?: string | null | undefined;
827
- transpilation_error?: string | null | undefined;
828
- fs_sha?: string | null | undefined;
829
- total_build_duration_ms?: number | null | undefined;
830
- transpilation_started_at?: string | null | undefined;
831
- transpilation_completed_at?: string | null | undefined;
832
- circuit_json_build_started_at?: string | null | undefined;
833
- circuit_json_build_completed_at?: string | null | undefined;
834
- image_generation_started_at?: string | null | undefined;
835
- image_generation_completed_at?: string | null | undefined;
836
- image_generation_error?: string | null | undefined;
837
- image_generation_error_last_updated_at?: string | null | undefined;
838
- ai_review_started_at?: string | null | undefined;
839
- ai_review_completed_at?: string | null | undefined;
840
- ai_review_error?: any;
841
- ai_review_logs?: any[] | null | undefined;
842
- github_pr_number?: number | null | undefined;
843
- latest_package_build_id?: string | null | undefined;
844
- branch_name?: string | null | undefined;
845
- commit_message?: string | null | undefined;
846
- commit_author?: string | null | undefined;
847
- }, {
848
- package_release_id: string;
849
- created_at: string;
850
- version: string | null;
851
- package_id: string;
852
- is_locked: boolean;
853
- is_latest: boolean;
854
- ai_review_text?: string | null | undefined;
855
- display_status?: "error" | "pending" | "building" | "complete" | undefined;
856
- commit_sha?: string | null | undefined;
857
- license?: string | null | undefined;
858
- circuit_json_build_error?: string | null | undefined;
859
- circuit_json_build_error_last_updated_at?: string | null | undefined;
860
- has_transpiled?: boolean | undefined;
861
- transpilation_error?: string | null | undefined;
862
- fs_sha?: string | null | undefined;
863
- total_build_duration_ms?: number | null | undefined;
864
- transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
865
- transpilation_in_progress?: boolean | undefined;
866
- transpilation_started_at?: string | null | undefined;
867
- transpilation_completed_at?: string | null | undefined;
868
- transpilation_logs?: any[] | undefined;
869
- transpilation_is_stale?: boolean | undefined;
870
- circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
871
- circuit_json_build_in_progress?: boolean | undefined;
872
- circuit_json_build_started_at?: string | null | undefined;
873
- circuit_json_build_completed_at?: string | null | undefined;
874
- circuit_json_build_logs?: any[] | undefined;
875
- circuit_json_build_is_stale?: boolean | undefined;
876
- image_generation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
877
- image_generation_in_progress?: boolean | undefined;
878
- image_generation_started_at?: string | null | undefined;
879
- image_generation_completed_at?: string | null | undefined;
880
- image_generation_logs?: any[] | null | undefined;
881
- image_generation_is_stale?: boolean | undefined;
882
- image_generation_error?: string | null | undefined;
883
- image_generation_error_last_updated_at?: string | null | undefined;
884
- ai_review_started_at?: string | null | undefined;
885
- ai_review_completed_at?: string | null | undefined;
886
- ai_review_error?: any;
887
- ai_review_logs?: any[] | null | undefined;
888
- ai_review_requested?: boolean | undefined;
889
- is_pr_preview?: boolean | undefined;
890
- github_pr_number?: number | null | undefined;
891
- latest_package_build_id?: string | null | undefined;
892
- branch_name?: string | null | undefined;
893
- commit_message?: string | null | undefined;
894
- commit_author?: string | null | undefined;
895
- pcb_preview_image_url?: string | null | undefined;
896
- sch_preview_image_url?: string | null | undefined;
897
- cad_preview_image_url?: string | null | undefined;
898
- }>;
899
- type PackageRelease = z.infer<typeof packageReleaseSchema>;
900
- declare const packageFileSchema: z.ZodObject<{
901
- package_file_id: z.ZodString;
902
- package_release_id: z.ZodString;
903
- file_path: z.ZodString;
904
- content_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
- created_at: z.ZodString;
906
- content_mimetype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
- is_release_tarball: z.ZodOptional<z.ZodBoolean>;
908
- npm_pack_output: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
909
- }, "strip", z.ZodTypeAny, {
910
- package_release_id: string;
911
- created_at: string;
912
- file_path: string;
913
- package_file_id: string;
914
- content_text?: string | null | undefined;
915
- content_mimetype?: string | null | undefined;
916
- is_release_tarball?: boolean | undefined;
917
- npm_pack_output?: any;
918
- }, {
919
- package_release_id: string;
920
- created_at: string;
921
- file_path: string;
922
- package_file_id: string;
923
- content_text?: string | null | undefined;
924
- content_mimetype?: string | null | undefined;
925
- is_release_tarball?: boolean | undefined;
926
- npm_pack_output?: any;
927
- }>;
928
- type PackageFile = z.infer<typeof packageFileSchema>;
929
- declare const packageSchema: z.ZodObject<{
930
- package_id: z.ZodString;
931
- creator_account_id: z.ZodString;
932
- owner_org_id: z.ZodString;
933
- owner_github_username: z.ZodNullable<z.ZodString>;
934
- github_repo_full_name: z.ZodNullable<z.ZodString>;
935
- name: z.ZodString;
936
- unscoped_name: z.ZodString;
937
- description: z.ZodNullable<z.ZodString>;
938
- created_at: z.ZodString;
939
- updated_at: z.ZodString;
940
- is_snippet: z.ZodDefault<z.ZodBoolean>;
941
- is_board: z.ZodDefault<z.ZodBoolean>;
942
- is_package: z.ZodDefault<z.ZodBoolean>;
943
- is_model: z.ZodDefault<z.ZodBoolean>;
944
- is_footprint: z.ZodDefault<z.ZodBoolean>;
945
- is_private: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
946
- is_public: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
947
- is_unlisted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
948
- is_source_from_github: z.ZodDefault<z.ZodBoolean>;
949
- snippet_type: z.ZodOptional<z.ZodEnum<["board", "package", "model", "footprint"]>>;
950
- latest_package_release_id: z.ZodNullable<z.ZodString>;
951
- latest_version: z.ZodNullable<z.ZodString>;
952
- license: z.ZodNullable<z.ZodString>;
953
- website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
954
- star_count: z.ZodDefault<z.ZodNumber>;
955
- ai_description: z.ZodNullable<z.ZodString>;
956
- latest_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
- ai_usage_instructions: z.ZodNullable<z.ZodString>;
958
- latest_package_release_fs_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
959
- default_view: z.ZodOptional<z.ZodDefault<z.ZodEnum<["files", "3d", "pcb", "schematic"]>>>;
960
- allow_pr_previews: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
961
- is_starred: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
962
- latest_pcb_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
963
- latest_sch_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
964
- latest_cad_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
965
- }, "strip", z.ZodTypeAny, {
966
- name: string;
967
- unscoped_name: string;
968
- created_at: string;
969
- updated_at: string;
970
- description: string | null;
971
- star_count: number;
972
- is_private: boolean | null;
973
- is_public: boolean | null;
974
- is_unlisted: boolean | null;
975
- ai_description: string | null;
976
- package_id: string;
977
- license: string | null;
978
- creator_account_id: string;
979
- owner_org_id: string;
980
- owner_github_username: string | null;
981
- github_repo_full_name: string | null;
982
- is_snippet: boolean;
983
- is_board: boolean;
984
- is_package: boolean;
985
- is_model: boolean;
986
- is_footprint: boolean;
987
- is_source_from_github: boolean;
988
- latest_package_release_id: string | null;
989
- latest_version: string | null;
990
- website: string | null;
991
- ai_usage_instructions: string | null;
992
- latest_package_release_fs_sha: string | null;
993
- is_starred?: boolean | undefined;
994
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
995
- latest_license?: string | null | undefined;
996
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
997
- allow_pr_previews?: boolean | undefined;
998
- latest_pcb_preview_image_url?: string | null | undefined;
999
- latest_sch_preview_image_url?: string | null | undefined;
1000
- latest_cad_preview_image_url?: string | null | undefined;
1001
- }, {
1002
- name: string;
1003
- unscoped_name: string;
1004
- created_at: string;
1005
- updated_at: string;
1006
- description: string | null;
1007
- ai_description: string | null;
1008
- package_id: string;
1009
- license: string | null;
1010
- creator_account_id: string;
1011
- owner_org_id: string;
1012
- owner_github_username: string | null;
1013
- github_repo_full_name: string | null;
1014
- latest_package_release_id: string | null;
1015
- latest_version: string | null;
1016
- ai_usage_instructions: string | null;
1017
- is_starred?: boolean | undefined;
1018
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
1019
- star_count?: number | undefined;
1020
- is_private?: boolean | null | undefined;
1021
- is_public?: boolean | null | undefined;
1022
- is_unlisted?: boolean | null | undefined;
1023
- is_snippet?: boolean | undefined;
1024
- is_board?: boolean | undefined;
1025
- is_package?: boolean | undefined;
1026
- is_model?: boolean | undefined;
1027
- is_footprint?: boolean | undefined;
1028
- is_source_from_github?: boolean | undefined;
1029
- website?: string | null | undefined;
1030
- latest_license?: string | null | undefined;
1031
- latest_package_release_fs_sha?: string | null | undefined;
1032
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
1033
- allow_pr_previews?: boolean | undefined;
1034
- latest_pcb_preview_image_url?: string | null | undefined;
1035
- latest_sch_preview_image_url?: string | null | undefined;
1036
- latest_cad_preview_image_url?: string | null | undefined;
1037
- }>;
1038
- type Package = z.infer<typeof packageSchema>;
1039
- declare const jlcpcbOrderStateSchema: z.ZodObject<{
1040
- jlcpcb_order_state_id: z.ZodString;
1041
- order_id: z.ZodString;
1042
- are_gerbers_uploaded: z.ZodDefault<z.ZodBoolean>;
1043
- is_gerber_analyzed: z.ZodDefault<z.ZodBoolean>;
1044
- are_initial_costs_calculated: z.ZodDefault<z.ZodBoolean>;
1045
- is_pcb_added_to_cart: z.ZodDefault<z.ZodBoolean>;
1046
- is_bom_uploaded: z.ZodDefault<z.ZodBoolean>;
1047
- is_pnp_uploaded: z.ZodDefault<z.ZodBoolean>;
1048
- is_bom_pnp_analyzed: z.ZodDefault<z.ZodBoolean>;
1049
- is_bom_parsing_complete: z.ZodDefault<z.ZodBoolean>;
1050
- are_components_available: z.ZodDefault<z.ZodBoolean>;
1051
- is_patch_map_generated: z.ZodDefault<z.ZodBoolean>;
1052
- is_json_merge_file_created: z.ZodDefault<z.ZodBoolean>;
1053
- is_dfm_result_generated: z.ZodDefault<z.ZodBoolean>;
1054
- are_files_downloaded: z.ZodDefault<z.ZodBoolean>;
1055
- are_product_categories_fetched: z.ZodDefault<z.ZodBoolean>;
1056
- are_final_costs_calculated: z.ZodDefault<z.ZodBoolean>;
1057
- is_json_merge_file_updated: z.ZodDefault<z.ZodBoolean>;
1058
- is_added_to_cart: z.ZodDefault<z.ZodBoolean>;
1059
- uploaded_gerber_metadata: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
1060
- gerber_analysis: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
1061
- created_at: z.ZodString;
1062
- are_gerbers_generated: z.ZodDefault<z.ZodBoolean>;
1063
- current_step: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1064
- }, "strip", z.ZodTypeAny, {
1065
- created_at: string;
1066
- order_id: string;
1067
- jlcpcb_order_state_id: string;
1068
- are_gerbers_uploaded: boolean;
1069
- is_gerber_analyzed: boolean;
1070
- are_initial_costs_calculated: boolean;
1071
- is_pcb_added_to_cart: boolean;
1072
- is_bom_uploaded: boolean;
1073
- is_pnp_uploaded: boolean;
1074
- is_bom_pnp_analyzed: boolean;
1075
- is_bom_parsing_complete: boolean;
1076
- are_components_available: boolean;
1077
- is_patch_map_generated: boolean;
1078
- is_json_merge_file_created: boolean;
1079
- is_dfm_result_generated: boolean;
1080
- are_files_downloaded: boolean;
1081
- are_product_categories_fetched: boolean;
1082
- are_final_costs_calculated: boolean;
1083
- is_json_merge_file_updated: boolean;
1084
- is_added_to_cart: boolean;
1085
- are_gerbers_generated: boolean;
1086
- current_step: string | null;
1087
- uploaded_gerber_metadata?: any;
1088
- gerber_analysis?: any;
1089
- }, {
1090
- created_at: string;
1091
- order_id: string;
1092
- jlcpcb_order_state_id: string;
1093
- are_gerbers_uploaded?: boolean | undefined;
1094
- is_gerber_analyzed?: boolean | undefined;
1095
- are_initial_costs_calculated?: boolean | undefined;
1096
- is_pcb_added_to_cart?: boolean | undefined;
1097
- is_bom_uploaded?: boolean | undefined;
1098
- is_pnp_uploaded?: boolean | undefined;
1099
- is_bom_pnp_analyzed?: boolean | undefined;
1100
- is_bom_parsing_complete?: boolean | undefined;
1101
- are_components_available?: boolean | undefined;
1102
- is_patch_map_generated?: boolean | undefined;
1103
- is_json_merge_file_created?: boolean | undefined;
1104
- is_dfm_result_generated?: boolean | undefined;
1105
- are_files_downloaded?: boolean | undefined;
1106
- are_product_categories_fetched?: boolean | undefined;
1107
- are_final_costs_calculated?: boolean | undefined;
1108
- is_json_merge_file_updated?: boolean | undefined;
1109
- is_added_to_cart?: boolean | undefined;
1110
- uploaded_gerber_metadata?: any;
1111
- gerber_analysis?: any;
1112
- are_gerbers_generated?: boolean | undefined;
1113
- current_step?: string | null | undefined;
1114
- }>;
1115
- type JlcpcbOrderState = z.infer<typeof jlcpcbOrderStateSchema>;
1116
- declare const jlcpcbOrderStepRunSchema: z.ZodObject<{
1117
- jlcpcb_order_step_run_id: z.ZodString;
1118
- is_running: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1119
- step_function_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1120
- jlcpcb_order_state_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1121
- error_message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1122
- created_at: z.ZodString;
1123
- }, "strip", z.ZodTypeAny, {
1124
- created_at: string;
1125
- is_running: boolean | null;
1126
- jlcpcb_order_state_id: string | null;
1127
- jlcpcb_order_step_run_id: string;
1128
- step_function_name: string | null;
1129
- error_message: string | null;
1130
- }, {
1131
- created_at: string;
1132
- jlcpcb_order_step_run_id: string;
1133
- is_running?: boolean | null | undefined;
1134
- jlcpcb_order_state_id?: string | null | undefined;
1135
- step_function_name?: string | null | undefined;
1136
- error_message?: string | null | undefined;
1137
- }>;
1138
- type JlcpcbOrderStepRun = z.infer<typeof jlcpcbOrderStepRunSchema>;
1139
- declare const packageBuildSchema: z.ZodObject<{
1140
- package_build_id: z.ZodString;
1141
- package_release_id: z.ZodString;
1142
- created_at: z.ZodString;
1143
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
1144
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1145
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1146
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1147
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
1149
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1150
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1151
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1152
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1153
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
1154
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1156
- image_generation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1157
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158
- build_in_progress: z.ZodDefault<z.ZodBoolean>;
1159
- build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1160
- build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1161
- build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1162
- build_error_last_updated_at: z.ZodString;
1163
- preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
- build_logs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
- }, "strip", z.ZodTypeAny, {
1166
- package_release_id: string;
1167
- created_at: string;
1168
- transpilation_in_progress: boolean;
1169
- transpilation_logs: any[];
1170
- circuit_json_build_in_progress: boolean;
1171
- circuit_json_build_logs: any[];
1172
- image_generation_in_progress: boolean;
1173
- image_generation_logs: any[];
1174
- package_build_id: string;
1175
- build_in_progress: boolean;
1176
- build_error_last_updated_at: string;
1177
- circuit_json_build_error?: string | null | undefined;
1178
- transpilation_error?: string | null | undefined;
1179
- transpilation_started_at?: string | null | undefined;
1180
- transpilation_completed_at?: string | null | undefined;
1181
- circuit_json_build_started_at?: string | null | undefined;
1182
- circuit_json_build_completed_at?: string | null | undefined;
1183
- image_generation_started_at?: string | null | undefined;
1184
- image_generation_completed_at?: string | null | undefined;
1185
- image_generation_error?: string | null | undefined;
1186
- build_started_at?: string | null | undefined;
1187
- build_completed_at?: string | null | undefined;
1188
- build_error?: string | null | undefined;
1189
- preview_url?: string | null | undefined;
1190
- build_logs?: string | null | undefined;
1191
- }, {
1192
- package_release_id: string;
1193
- created_at: string;
1194
- package_build_id: string;
1195
- build_error_last_updated_at: string;
1196
- circuit_json_build_error?: string | null | undefined;
1197
- transpilation_error?: string | null | undefined;
1198
- transpilation_in_progress?: boolean | undefined;
1199
- transpilation_started_at?: string | null | undefined;
1200
- transpilation_completed_at?: string | null | undefined;
1201
- transpilation_logs?: any[] | undefined;
1202
- circuit_json_build_in_progress?: boolean | undefined;
1203
- circuit_json_build_started_at?: string | null | undefined;
1204
- circuit_json_build_completed_at?: string | null | undefined;
1205
- circuit_json_build_logs?: any[] | undefined;
1206
- image_generation_in_progress?: boolean | undefined;
1207
- image_generation_started_at?: string | null | undefined;
1208
- image_generation_completed_at?: string | null | undefined;
1209
- image_generation_logs?: any[] | undefined;
1210
- image_generation_error?: string | null | undefined;
1211
- build_in_progress?: boolean | undefined;
1212
- build_started_at?: string | null | undefined;
1213
- build_completed_at?: string | null | undefined;
1214
- build_error?: string | null | undefined;
1215
- preview_url?: string | null | undefined;
1216
- build_logs?: string | null | undefined;
1217
- }>;
1218
- type PackageBuild = z.infer<typeof packageBuildSchema>;
1219
- declare const orgSchema: z.ZodObject<{
1220
- org_id: z.ZodString;
1221
- github_handle: z.ZodOptional<z.ZodString>;
1222
- owner_account_id: z.ZodString;
1223
- is_personal_org: z.ZodDefault<z.ZodBoolean>;
1224
- created_at: z.ZodString;
1225
- org_display_name: z.ZodOptional<z.ZodString>;
1226
- org_name: z.ZodString;
1227
- }, "strip", z.ZodTypeAny, {
1228
- created_at: string;
1229
- org_id: string;
1230
- owner_account_id: string;
1231
- is_personal_org: boolean;
1232
- org_name: string;
1233
- github_handle?: string | undefined;
1234
- org_display_name?: string | undefined;
1235
- }, {
1236
- created_at: string;
1237
- org_id: string;
1238
- owner_account_id: string;
1239
- org_name: string;
1240
- github_handle?: string | undefined;
1241
- is_personal_org?: boolean | undefined;
1242
- org_display_name?: string | undefined;
1243
- }>;
1244
- type Organization = z.infer<typeof orgSchema>;
1245
- declare const orgAccountSchema: z.ZodObject<{
1246
- org_account_id: z.ZodString;
1247
- org_id: z.ZodString;
1248
- account_id: z.ZodString;
1249
- is_owner: z.ZodDefault<z.ZodBoolean>;
1250
- created_at: z.ZodString;
1251
- }, "strip", z.ZodTypeAny, {
1252
- created_at: string;
1253
- account_id: string;
1254
- org_id: string;
1255
- org_account_id: string;
1256
- is_owner: boolean;
1257
- }, {
1258
- created_at: string;
1259
- account_id: string;
1260
- org_id: string;
1261
- org_account_id: string;
1262
- is_owner?: boolean | undefined;
1263
- }>;
1264
- type OrgAccount = z.infer<typeof orgAccountSchema>;
1265
- declare const userPermissionsSchema: z.ZodObject<{
1266
- can_manage_org: z.ZodOptional<z.ZodBoolean>;
1267
- can_manage_package: z.ZodOptional<z.ZodBoolean>;
1268
- }, "strip", z.ZodTypeAny, {
1269
- can_manage_org?: boolean | undefined;
1270
- can_manage_package?: boolean | undefined;
1271
- }, {
1272
- can_manage_org?: boolean | undefined;
1273
- can_manage_package?: boolean | undefined;
1274
- }>;
1275
- type UserPermissions = z.infer<typeof userPermissionsSchema>;
1276
- declare const publicOrgSchema: z.ZodObject<{
1277
- org_id: z.ZodString;
1278
- owner_account_id: z.ZodString;
1279
- name: z.ZodNullable<z.ZodString>;
1280
- member_count: z.ZodNumber;
1281
- is_personal_org: z.ZodBoolean;
1282
- display_name: z.ZodOptional<z.ZodString>;
1283
- package_count: z.ZodNumber;
1284
- github_handle: z.ZodOptional<z.ZodString>;
1285
- created_at: z.ZodString;
1286
- user_permissions: z.ZodOptional<z.ZodObject<{
1287
- can_manage_org: z.ZodOptional<z.ZodBoolean>;
1288
- can_manage_package: z.ZodOptional<z.ZodBoolean>;
1289
- }, "strip", z.ZodTypeAny, {
1290
- can_manage_org?: boolean | undefined;
1291
- can_manage_package?: boolean | undefined;
1292
- }, {
1293
- can_manage_org?: boolean | undefined;
1294
- can_manage_package?: boolean | undefined;
1295
- }>>;
1296
- }, "strip", z.ZodTypeAny, {
1297
- name: string | null;
1298
- created_at: string;
1299
- org_id: string;
1300
- owner_account_id: string;
1301
- is_personal_org: boolean;
1302
- member_count: number;
1303
- package_count: number;
1304
- github_handle?: string | undefined;
1305
- display_name?: string | undefined;
1306
- user_permissions?: {
1307
- can_manage_org?: boolean | undefined;
1308
- can_manage_package?: boolean | undefined;
1309
- } | undefined;
1310
- }, {
1311
- name: string | null;
1312
- created_at: string;
1313
- org_id: string;
1314
- owner_account_id: string;
1315
- is_personal_org: boolean;
1316
- member_count: number;
1317
- package_count: number;
1318
- github_handle?: string | undefined;
1319
- display_name?: string | undefined;
1320
- user_permissions?: {
1321
- can_manage_org?: boolean | undefined;
1322
- can_manage_package?: boolean | undefined;
1323
- } | undefined;
1324
- }>;
1325
- type PublicOrgSchema = z.infer<typeof publicOrgSchema>;
1326
- declare const databaseSchema: z.ZodObject<{
1327
- idCounter: z.ZodDefault<z.ZodNumber>;
1328
- snippets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1329
- snippet_id: z.ZodString;
1330
- package_release_id: z.ZodString;
1331
- name: z.ZodString;
1332
- unscoped_name: z.ZodString;
1333
- owner_name: z.ZodString;
1334
- is_starred: z.ZodDefault<z.ZodBoolean>;
1335
- code: z.ZodString;
1336
- dts: z.ZodOptional<z.ZodString>;
1337
- compiled_js: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1338
- circuit_json: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
1339
- manual_edits_json_content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1340
- created_at: z.ZodString;
1341
- updated_at: z.ZodString;
1342
- starred_at: z.ZodOptional<z.ZodString>;
1343
- snippet_type: z.ZodEnum<["board", "package", "model", "footprint"]>;
1344
- description: z.ZodOptional<z.ZodString>;
1345
- version: z.ZodDefault<z.ZodString>;
1346
- star_count: z.ZodDefault<z.ZodNumber>;
1347
- is_private: z.ZodDefault<z.ZodBoolean>;
1348
- is_public: z.ZodDefault<z.ZodBoolean>;
1349
- is_unlisted: z.ZodDefault<z.ZodBoolean>;
1350
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1351
- }, "strip", z.ZodTypeAny, {
1352
- code: string;
1353
- snippet_id: string;
1354
- package_release_id: string;
1355
- name: string;
1356
- unscoped_name: string;
1357
- owner_name: string;
1358
- is_starred: boolean;
1359
- created_at: string;
1360
- updated_at: string;
1361
- snippet_type: "board" | "package" | "model" | "footprint";
1362
- version: string;
1363
- star_count: number;
1364
- is_private: boolean;
1365
- is_public: boolean;
1366
- is_unlisted: boolean;
1367
- dts?: string | undefined;
1368
- compiled_js?: string | null | undefined;
1369
- circuit_json?: Record<string, any>[] | null | undefined;
1370
- manual_edits_json_content?: string | null | undefined;
1371
- starred_at?: string | undefined;
1372
- description?: string | undefined;
1373
- tags?: string[] | undefined;
1374
- }, {
1375
- code: string;
1376
- snippet_id: string;
1377
- package_release_id: string;
1378
- name: string;
1379
- unscoped_name: string;
1380
- owner_name: string;
1381
- created_at: string;
1382
- updated_at: string;
1383
- snippet_type: "board" | "package" | "model" | "footprint";
1384
- is_starred?: boolean | undefined;
1385
- dts?: string | undefined;
1386
- compiled_js?: string | null | undefined;
1387
- circuit_json?: Record<string, any>[] | null | undefined;
1388
- manual_edits_json_content?: string | null | undefined;
1389
- starred_at?: string | undefined;
1390
- description?: string | undefined;
1391
- version?: string | undefined;
1392
- star_count?: number | undefined;
1393
- is_private?: boolean | undefined;
1394
- is_public?: boolean | undefined;
1395
- is_unlisted?: boolean | undefined;
1396
- tags?: string[] | undefined;
1397
- }>, "many">>;
1398
- packageReleases: z.ZodDefault<z.ZodArray<z.ZodObject<{
1399
- package_release_id: z.ZodString;
1400
- package_id: z.ZodString;
1401
- version: z.ZodNullable<z.ZodString>;
1402
- is_locked: z.ZodBoolean;
1403
- is_latest: z.ZodBoolean;
1404
- created_at: z.ZodString;
1405
- commit_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1406
- license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1408
- circuit_json_build_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1409
- has_transpiled: z.ZodDefault<z.ZodBoolean>;
1410
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1411
- fs_sha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1412
- display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1413
- total_build_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1414
- transpilation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1415
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
1416
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1417
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1418
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1419
- transpilation_is_stale: z.ZodDefault<z.ZodBoolean>;
1420
- circuit_json_build_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1421
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
1422
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1423
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
1425
- circuit_json_build_is_stale: z.ZodDefault<z.ZodBoolean>;
1426
- image_generation_display_status: z.ZodDefault<z.ZodEnum<["pending", "building", "complete", "error"]>>;
1427
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
1428
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1429
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1430
- image_generation_logs: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodAny, "many">>>;
1431
- image_generation_is_stale: z.ZodDefault<z.ZodBoolean>;
1432
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1433
- image_generation_error_last_updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
- ai_review_text: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1435
- ai_review_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1436
- ai_review_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1437
- ai_review_error: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
1438
- ai_review_logs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
1439
- ai_review_requested: z.ZodDefault<z.ZodBoolean>;
1440
- is_pr_preview: z.ZodDefault<z.ZodBoolean>;
1441
- github_pr_number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1442
- latest_package_build_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
- branch_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1444
- commit_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
- commit_author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1446
- pcb_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1447
- sch_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1448
- cad_preview_image_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1449
- }, "strip", z.ZodTypeAny, {
1450
- package_release_id: string;
1451
- created_at: string;
1452
- version: string | null;
1453
- display_status: "error" | "pending" | "building" | "complete";
1454
- package_id: string;
1455
- is_locked: boolean;
1456
- is_latest: boolean;
1457
- has_transpiled: boolean;
1458
- transpilation_display_status: "error" | "pending" | "building" | "complete";
1459
- transpilation_in_progress: boolean;
1460
- transpilation_logs: any[];
1461
- transpilation_is_stale: boolean;
1462
- circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
1463
- circuit_json_build_in_progress: boolean;
1464
- circuit_json_build_logs: any[];
1465
- circuit_json_build_is_stale: boolean;
1466
- image_generation_display_status: "error" | "pending" | "building" | "complete";
1467
- image_generation_in_progress: boolean;
1468
- image_generation_logs: any[] | null;
1469
- image_generation_is_stale: boolean;
1470
- ai_review_requested: boolean;
1471
- is_pr_preview: boolean;
1472
- pcb_preview_image_url: string | null;
1473
- sch_preview_image_url: string | null;
1474
- cad_preview_image_url: string | null;
1475
- ai_review_text?: string | null | undefined;
1476
- commit_sha?: string | null | undefined;
1477
- license?: string | null | undefined;
1478
- circuit_json_build_error?: string | null | undefined;
1479
- circuit_json_build_error_last_updated_at?: string | null | undefined;
1480
- transpilation_error?: string | null | undefined;
1481
- fs_sha?: string | null | undefined;
1482
- total_build_duration_ms?: number | null | undefined;
1483
- transpilation_started_at?: string | null | undefined;
1484
- transpilation_completed_at?: string | null | undefined;
1485
- circuit_json_build_started_at?: string | null | undefined;
1486
- circuit_json_build_completed_at?: string | null | undefined;
1487
- image_generation_started_at?: string | null | undefined;
1488
- image_generation_completed_at?: string | null | undefined;
1489
- image_generation_error?: string | null | undefined;
1490
- image_generation_error_last_updated_at?: string | null | undefined;
1491
- ai_review_started_at?: string | null | undefined;
1492
- ai_review_completed_at?: string | null | undefined;
1493
- ai_review_error?: any;
1494
- ai_review_logs?: any[] | null | undefined;
1495
- github_pr_number?: number | null | undefined;
1496
- latest_package_build_id?: string | null | undefined;
1497
- branch_name?: string | null | undefined;
1498
- commit_message?: string | null | undefined;
1499
- commit_author?: string | null | undefined;
1500
- }, {
1501
- package_release_id: string;
1502
- created_at: string;
1503
- version: string | null;
1504
- package_id: string;
1505
- is_locked: boolean;
1506
- is_latest: boolean;
1507
- ai_review_text?: string | null | undefined;
1508
- display_status?: "error" | "pending" | "building" | "complete" | undefined;
1509
- commit_sha?: string | null | undefined;
1510
- license?: string | null | undefined;
1511
- circuit_json_build_error?: string | null | undefined;
1512
- circuit_json_build_error_last_updated_at?: string | null | undefined;
1513
- has_transpiled?: boolean | undefined;
1514
- transpilation_error?: string | null | undefined;
1515
- fs_sha?: string | null | undefined;
1516
- total_build_duration_ms?: number | null | undefined;
1517
- transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1518
- transpilation_in_progress?: boolean | undefined;
1519
- transpilation_started_at?: string | null | undefined;
1520
- transpilation_completed_at?: string | null | undefined;
1521
- transpilation_logs?: any[] | undefined;
1522
- transpilation_is_stale?: boolean | undefined;
1523
- circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1524
- circuit_json_build_in_progress?: boolean | undefined;
1525
- circuit_json_build_started_at?: string | null | undefined;
1526
- circuit_json_build_completed_at?: string | null | undefined;
1527
- circuit_json_build_logs?: any[] | undefined;
1528
- circuit_json_build_is_stale?: boolean | undefined;
1529
- image_generation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
1530
- image_generation_in_progress?: boolean | undefined;
1531
- image_generation_started_at?: string | null | undefined;
1532
- image_generation_completed_at?: string | null | undefined;
1533
- image_generation_logs?: any[] | null | undefined;
1534
- image_generation_is_stale?: boolean | undefined;
1535
- image_generation_error?: string | null | undefined;
1536
- image_generation_error_last_updated_at?: string | null | undefined;
1537
- ai_review_started_at?: string | null | undefined;
1538
- ai_review_completed_at?: string | null | undefined;
1539
- ai_review_error?: any;
1540
- ai_review_logs?: any[] | null | undefined;
1541
- ai_review_requested?: boolean | undefined;
1542
- is_pr_preview?: boolean | undefined;
1543
- github_pr_number?: number | null | undefined;
1544
- latest_package_build_id?: string | null | undefined;
1545
- branch_name?: string | null | undefined;
1546
- commit_message?: string | null | undefined;
1547
- commit_author?: string | null | undefined;
1548
- pcb_preview_image_url?: string | null | undefined;
1549
- sch_preview_image_url?: string | null | undefined;
1550
- cad_preview_image_url?: string | null | undefined;
1551
- }>, "many">>;
1552
- packageFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
1553
- package_file_id: z.ZodString;
1554
- package_release_id: z.ZodString;
1555
- file_path: z.ZodString;
1556
- content_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1557
- created_at: z.ZodString;
1558
- content_mimetype: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1559
- is_release_tarball: z.ZodOptional<z.ZodBoolean>;
1560
- npm_pack_output: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
1561
- }, "strip", z.ZodTypeAny, {
1562
- package_release_id: string;
1563
- created_at: string;
1564
- file_path: string;
1565
- package_file_id: string;
1566
- content_text?: string | null | undefined;
1567
- content_mimetype?: string | null | undefined;
1568
- is_release_tarball?: boolean | undefined;
1569
- npm_pack_output?: any;
1570
- }, {
1571
- package_release_id: string;
1572
- created_at: string;
1573
- file_path: string;
1574
- package_file_id: string;
1575
- content_text?: string | null | undefined;
1576
- content_mimetype?: string | null | undefined;
1577
- is_release_tarball?: boolean | undefined;
1578
- npm_pack_output?: any;
1579
- }>, "many">>;
1580
- sessions: z.ZodDefault<z.ZodArray<z.ZodObject<{
1581
- session_id: z.ZodString;
1582
- account_id: z.ZodString;
1583
- expires_at: z.ZodString;
1584
- is_cli_session: z.ZodBoolean;
1585
- }, "strip", z.ZodTypeAny, {
1586
- session_id: string;
1587
- account_id: string;
1588
- expires_at: string;
1589
- is_cli_session: boolean;
1590
- }, {
1591
- session_id: string;
1592
- account_id: string;
1593
- expires_at: string;
1594
- is_cli_session: boolean;
1595
- }>, "many">>;
1596
- loginPages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1597
- login_page_id: z.ZodString;
1598
- login_page_auth_token: z.ZodString;
1599
- was_login_successful: z.ZodBoolean;
1600
- has_been_used_to_create_session: z.ZodBoolean;
1601
- created_at: z.ZodString;
1602
- expires_at: z.ZodString;
1603
- }, "strip", z.ZodTypeAny, {
1604
- created_at: string;
1605
- expires_at: string;
1606
- login_page_id: string;
1607
- login_page_auth_token: string;
1608
- was_login_successful: boolean;
1609
- has_been_used_to_create_session: boolean;
1610
- }, {
1611
- created_at: string;
1612
- expires_at: string;
1613
- login_page_id: string;
1614
- login_page_auth_token: string;
1615
- was_login_successful: boolean;
1616
- has_been_used_to_create_session: boolean;
1617
- }>, "many">>;
1618
- accounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1619
- account_id: z.ZodString;
1620
- github_username: z.ZodString;
1621
- shippingInfo: z.ZodOptional<z.ZodObject<{
1622
- firstName: z.ZodString;
1623
- lastName: z.ZodString;
1624
- companyName: z.ZodOptional<z.ZodString>;
1625
- address: z.ZodString;
1626
- apartment: z.ZodOptional<z.ZodString>;
1627
- city: z.ZodString;
1628
- state: z.ZodString;
1629
- zipCode: z.ZodString;
1630
- country: z.ZodString;
1631
- phone: z.ZodString;
1632
- }, "strip", z.ZodTypeAny, {
1633
- firstName: string;
1634
- lastName: string;
1635
- address: string;
1636
- city: string;
1637
- state: string;
1638
- zipCode: string;
1639
- country: string;
1640
- phone: string;
1641
- companyName?: string | undefined;
1642
- apartment?: string | undefined;
1643
- }, {
1644
- firstName: string;
1645
- lastName: string;
1646
- address: string;
1647
- city: string;
1648
- state: string;
1649
- zipCode: string;
1650
- country: string;
1651
- phone: string;
1652
- companyName?: string | undefined;
1653
- apartment?: string | undefined;
1654
- }>>;
1655
- personal_org_id: z.ZodOptional<z.ZodString>;
1656
- is_tscircuit_staff: z.ZodDefault<z.ZodBoolean>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- account_id: string;
1659
- github_username: string;
1660
- is_tscircuit_staff: boolean;
1661
- shippingInfo?: {
1662
- firstName: string;
1663
- lastName: string;
1664
- address: string;
1665
- city: string;
1666
- state: string;
1667
- zipCode: string;
1668
- country: string;
1669
- phone: string;
1670
- companyName?: string | undefined;
1671
- apartment?: string | undefined;
1672
- } | undefined;
1673
- personal_org_id?: string | undefined;
1674
- }, {
1675
- account_id: string;
1676
- github_username: string;
1677
- shippingInfo?: {
1678
- firstName: string;
1679
- lastName: string;
1680
- address: string;
1681
- city: string;
1682
- state: string;
1683
- zipCode: string;
1684
- country: string;
1685
- phone: string;
1686
- companyName?: string | undefined;
1687
- apartment?: string | undefined;
1688
- } | undefined;
1689
- personal_org_id?: string | undefined;
1690
- is_tscircuit_staff?: boolean | undefined;
1691
- }>, "many">>;
1692
- packages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1693
- package_id: z.ZodString;
1694
- creator_account_id: z.ZodString;
1695
- owner_org_id: z.ZodString;
1696
- owner_github_username: z.ZodNullable<z.ZodString>;
1697
- github_repo_full_name: z.ZodNullable<z.ZodString>;
1698
- name: z.ZodString;
1699
- unscoped_name: z.ZodString;
1700
- description: z.ZodNullable<z.ZodString>;
1701
- created_at: z.ZodString;
1702
- updated_at: z.ZodString;
1703
- is_snippet: z.ZodDefault<z.ZodBoolean>;
1704
- is_board: z.ZodDefault<z.ZodBoolean>;
1705
- is_package: z.ZodDefault<z.ZodBoolean>;
1706
- is_model: z.ZodDefault<z.ZodBoolean>;
1707
- is_footprint: z.ZodDefault<z.ZodBoolean>;
1708
- is_private: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1709
- is_public: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1710
- is_unlisted: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1711
- is_source_from_github: z.ZodDefault<z.ZodBoolean>;
1712
- snippet_type: z.ZodOptional<z.ZodEnum<["board", "package", "model", "footprint"]>>;
1713
- latest_package_release_id: z.ZodNullable<z.ZodString>;
1714
- latest_version: z.ZodNullable<z.ZodString>;
1715
- license: z.ZodNullable<z.ZodString>;
1716
- website: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1717
- star_count: z.ZodDefault<z.ZodNumber>;
1718
- ai_description: z.ZodNullable<z.ZodString>;
1719
- latest_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1720
- ai_usage_instructions: z.ZodNullable<z.ZodString>;
1721
- latest_package_release_fs_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1722
- default_view: z.ZodOptional<z.ZodDefault<z.ZodEnum<["files", "3d", "pcb", "schematic"]>>>;
1723
- allow_pr_previews: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1724
- is_starred: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1725
- latest_pcb_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1726
- latest_sch_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1727
- latest_cad_preview_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1728
- }, "strip", z.ZodTypeAny, {
1729
- name: string;
1730
- unscoped_name: string;
1731
- created_at: string;
1732
- updated_at: string;
1733
- description: string | null;
1734
- star_count: number;
1735
- is_private: boolean | null;
1736
- is_public: boolean | null;
1737
- is_unlisted: boolean | null;
1738
- ai_description: string | null;
1739
- package_id: string;
1740
- license: string | null;
1741
- creator_account_id: string;
1742
- owner_org_id: string;
1743
- owner_github_username: string | null;
1744
- github_repo_full_name: string | null;
1745
- is_snippet: boolean;
1746
- is_board: boolean;
1747
- is_package: boolean;
1748
- is_model: boolean;
1749
- is_footprint: boolean;
1750
- is_source_from_github: boolean;
1751
- latest_package_release_id: string | null;
1752
- latest_version: string | null;
1753
- website: string | null;
1754
- ai_usage_instructions: string | null;
1755
- latest_package_release_fs_sha: string | null;
1756
- is_starred?: boolean | undefined;
1757
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
1758
- latest_license?: string | null | undefined;
1759
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
1760
- allow_pr_previews?: boolean | undefined;
1761
- latest_pcb_preview_image_url?: string | null | undefined;
1762
- latest_sch_preview_image_url?: string | null | undefined;
1763
- latest_cad_preview_image_url?: string | null | undefined;
1764
- }, {
1765
- name: string;
1766
- unscoped_name: string;
1767
- created_at: string;
1768
- updated_at: string;
1769
- description: string | null;
1770
- ai_description: string | null;
1771
- package_id: string;
1772
- license: string | null;
1773
- creator_account_id: string;
1774
- owner_org_id: string;
1775
- owner_github_username: string | null;
1776
- github_repo_full_name: string | null;
1777
- latest_package_release_id: string | null;
1778
- latest_version: string | null;
1779
- ai_usage_instructions: string | null;
1780
- is_starred?: boolean | undefined;
1781
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
1782
- star_count?: number | undefined;
1783
- is_private?: boolean | null | undefined;
1784
- is_public?: boolean | null | undefined;
1785
- is_unlisted?: boolean | null | undefined;
1786
- is_snippet?: boolean | undefined;
1787
- is_board?: boolean | undefined;
1788
- is_package?: boolean | undefined;
1789
- is_model?: boolean | undefined;
1790
- is_footprint?: boolean | undefined;
1791
- is_source_from_github?: boolean | undefined;
1792
- website?: string | null | undefined;
1793
- latest_license?: string | null | undefined;
1794
- latest_package_release_fs_sha?: string | null | undefined;
1795
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
1796
- allow_pr_previews?: boolean | undefined;
1797
- latest_pcb_preview_image_url?: string | null | undefined;
1798
- latest_sch_preview_image_url?: string | null | undefined;
1799
- latest_cad_preview_image_url?: string | null | undefined;
1800
- }>, "many">>;
1801
- orders: z.ZodDefault<z.ZodArray<z.ZodObject<{
1802
- order_id: z.ZodString;
1803
- account_id: z.ZodNullable<z.ZodString>;
1804
- is_running: z.ZodBoolean;
1805
- is_started: z.ZodBoolean;
1806
- is_finished: z.ZodBoolean;
1807
- error: z.ZodNullable<z.ZodObject<{
1808
- error_code: z.ZodString;
1809
- message: z.ZodString;
1810
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1811
- error_code: z.ZodString;
1812
- message: z.ZodString;
1813
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1814
- error_code: z.ZodString;
1815
- message: z.ZodString;
1816
- }, z.ZodTypeAny, "passthrough">>>;
1817
- has_error: z.ZodBoolean;
1818
- created_at: z.ZodString;
1819
- started_at: z.ZodNullable<z.ZodString>;
1820
- completed_at: z.ZodNullable<z.ZodString>;
1821
- circuit_json: z.ZodAny;
1822
- }, "strip", z.ZodTypeAny, {
1823
- error: z.objectOutputType<{
1824
- error_code: z.ZodString;
1825
- message: z.ZodString;
1826
- }, z.ZodTypeAny, "passthrough"> | null;
1827
- created_at: string;
1828
- account_id: string | null;
1829
- order_id: string;
1830
- is_running: boolean;
1831
- is_started: boolean;
1832
- is_finished: boolean;
1833
- has_error: boolean;
1834
- started_at: string | null;
1835
- completed_at: string | null;
1836
- circuit_json?: any;
1837
- }, {
1838
- error: z.objectInputType<{
1839
- error_code: z.ZodString;
1840
- message: z.ZodString;
1841
- }, z.ZodTypeAny, "passthrough"> | null;
1842
- created_at: string;
1843
- account_id: string | null;
1844
- order_id: string;
1845
- is_running: boolean;
1846
- is_started: boolean;
1847
- is_finished: boolean;
1848
- has_error: boolean;
1849
- started_at: string | null;
1850
- completed_at: string | null;
1851
- circuit_json?: any;
1852
- }>, "many">>;
1853
- organizations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1854
- org_id: z.ZodString;
1855
- github_handle: z.ZodOptional<z.ZodString>;
1856
- owner_account_id: z.ZodString;
1857
- is_personal_org: z.ZodDefault<z.ZodBoolean>;
1858
- created_at: z.ZodString;
1859
- org_display_name: z.ZodOptional<z.ZodString>;
1860
- org_name: z.ZodString;
1861
- }, "strip", z.ZodTypeAny, {
1862
- created_at: string;
1863
- org_id: string;
1864
- owner_account_id: string;
1865
- is_personal_org: boolean;
1866
- org_name: string;
1867
- github_handle?: string | undefined;
1868
- org_display_name?: string | undefined;
1869
- }, {
1870
- created_at: string;
1871
- org_id: string;
1872
- owner_account_id: string;
1873
- org_name: string;
1874
- github_handle?: string | undefined;
1875
- is_personal_org?: boolean | undefined;
1876
- org_display_name?: string | undefined;
1877
- }>, "many">>;
1878
- orgAccounts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1879
- org_account_id: z.ZodString;
1880
- org_id: z.ZodString;
1881
- account_id: z.ZodString;
1882
- is_owner: z.ZodDefault<z.ZodBoolean>;
1883
- created_at: z.ZodString;
1884
- }, "strip", z.ZodTypeAny, {
1885
- created_at: string;
1886
- account_id: string;
1887
- org_id: string;
1888
- org_account_id: string;
1889
- is_owner: boolean;
1890
- }, {
1891
- created_at: string;
1892
- account_id: string;
1893
- org_id: string;
1894
- org_account_id: string;
1895
- is_owner?: boolean | undefined;
1896
- }>, "many">>;
1897
- orderFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
1898
- order_file_id: z.ZodString;
1899
- order_id: z.ZodString;
1900
- is_gerbers_zip: z.ZodBoolean;
1901
- content_type: z.ZodString;
1902
- for_provider: z.ZodNullable<z.ZodString>;
1903
- uploaded_at: z.ZodString;
1904
- content_text: z.ZodNullable<z.ZodString>;
1905
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
1906
- }, "strip", z.ZodTypeAny, {
1907
- order_id: string;
1908
- order_file_id: string;
1909
- is_gerbers_zip: boolean;
1910
- content_type: string;
1911
- for_provider: string | null;
1912
- uploaded_at: string;
1913
- content_text: string | null;
1914
- content_bytes: Uint8Array<ArrayBuffer> | null;
1915
- }, {
1916
- order_id: string;
1917
- order_file_id: string;
1918
- is_gerbers_zip: boolean;
1919
- content_type: string;
1920
- for_provider: string | null;
1921
- uploaded_at: string;
1922
- content_text: string | null;
1923
- content_bytes: Uint8Array<ArrayBuffer> | null;
1924
- }>, "many">>;
1925
- accountSnippets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1926
- account_id: z.ZodString;
1927
- snippet_id: z.ZodString;
1928
- has_starred: z.ZodBoolean;
1929
- created_at: z.ZodString;
1930
- updated_at: z.ZodString;
1931
- }, "strip", z.ZodTypeAny, {
1932
- snippet_id: string;
1933
- created_at: string;
1934
- updated_at: string;
1935
- account_id: string;
1936
- has_starred: boolean;
1937
- }, {
1938
- snippet_id: string;
1939
- created_at: string;
1940
- updated_at: string;
1941
- account_id: string;
1942
- has_starred: boolean;
1943
- }>, "many">>;
1944
- accountPackages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1945
- account_package_id: z.ZodString;
1946
- account_id: z.ZodString;
1947
- package_id: z.ZodString;
1948
- is_starred: z.ZodBoolean;
1949
- created_at: z.ZodString;
1950
- updated_at: z.ZodString;
1951
- }, "strip", z.ZodTypeAny, {
1952
- is_starred: boolean;
1953
- created_at: string;
1954
- updated_at: string;
1955
- account_id: string;
1956
- account_package_id: string;
1957
- package_id: string;
1958
- }, {
1959
- is_starred: boolean;
1960
- created_at: string;
1961
- updated_at: string;
1962
- account_id: string;
1963
- account_package_id: string;
1964
- package_id: string;
1965
- }>, "many">>;
1966
- jlcpcbOrderState: z.ZodDefault<z.ZodArray<z.ZodObject<{
1967
- jlcpcb_order_state_id: z.ZodString;
1968
- order_id: z.ZodString;
1969
- are_gerbers_uploaded: z.ZodDefault<z.ZodBoolean>;
1970
- is_gerber_analyzed: z.ZodDefault<z.ZodBoolean>;
1971
- are_initial_costs_calculated: z.ZodDefault<z.ZodBoolean>;
1972
- is_pcb_added_to_cart: z.ZodDefault<z.ZodBoolean>;
1973
- is_bom_uploaded: z.ZodDefault<z.ZodBoolean>;
1974
- is_pnp_uploaded: z.ZodDefault<z.ZodBoolean>;
1975
- is_bom_pnp_analyzed: z.ZodDefault<z.ZodBoolean>;
1976
- is_bom_parsing_complete: z.ZodDefault<z.ZodBoolean>;
1977
- are_components_available: z.ZodDefault<z.ZodBoolean>;
1978
- is_patch_map_generated: z.ZodDefault<z.ZodBoolean>;
1979
- is_json_merge_file_created: z.ZodDefault<z.ZodBoolean>;
1980
- is_dfm_result_generated: z.ZodDefault<z.ZodBoolean>;
1981
- are_files_downloaded: z.ZodDefault<z.ZodBoolean>;
1982
- are_product_categories_fetched: z.ZodDefault<z.ZodBoolean>;
1983
- are_final_costs_calculated: z.ZodDefault<z.ZodBoolean>;
1984
- is_json_merge_file_updated: z.ZodDefault<z.ZodBoolean>;
1985
- is_added_to_cart: z.ZodDefault<z.ZodBoolean>;
1986
- uploaded_gerber_metadata: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
1987
- gerber_analysis: z.ZodDefault<z.ZodNullable<z.ZodAny>>;
1988
- created_at: z.ZodString;
1989
- are_gerbers_generated: z.ZodDefault<z.ZodBoolean>;
1990
- current_step: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1991
- }, "strip", z.ZodTypeAny, {
1992
- created_at: string;
1993
- order_id: string;
1994
- jlcpcb_order_state_id: string;
1995
- are_gerbers_uploaded: boolean;
1996
- is_gerber_analyzed: boolean;
1997
- are_initial_costs_calculated: boolean;
1998
- is_pcb_added_to_cart: boolean;
1999
- is_bom_uploaded: boolean;
2000
- is_pnp_uploaded: boolean;
2001
- is_bom_pnp_analyzed: boolean;
2002
- is_bom_parsing_complete: boolean;
2003
- are_components_available: boolean;
2004
- is_patch_map_generated: boolean;
2005
- is_json_merge_file_created: boolean;
2006
- is_dfm_result_generated: boolean;
2007
- are_files_downloaded: boolean;
2008
- are_product_categories_fetched: boolean;
2009
- are_final_costs_calculated: boolean;
2010
- is_json_merge_file_updated: boolean;
2011
- is_added_to_cart: boolean;
2012
- are_gerbers_generated: boolean;
2013
- current_step: string | null;
2014
- uploaded_gerber_metadata?: any;
2015
- gerber_analysis?: any;
2016
- }, {
2017
- created_at: string;
2018
- order_id: string;
2019
- jlcpcb_order_state_id: string;
2020
- are_gerbers_uploaded?: boolean | undefined;
2021
- is_gerber_analyzed?: boolean | undefined;
2022
- are_initial_costs_calculated?: boolean | undefined;
2023
- is_pcb_added_to_cart?: boolean | undefined;
2024
- is_bom_uploaded?: boolean | undefined;
2025
- is_pnp_uploaded?: boolean | undefined;
2026
- is_bom_pnp_analyzed?: boolean | undefined;
2027
- is_bom_parsing_complete?: boolean | undefined;
2028
- are_components_available?: boolean | undefined;
2029
- is_patch_map_generated?: boolean | undefined;
2030
- is_json_merge_file_created?: boolean | undefined;
2031
- is_dfm_result_generated?: boolean | undefined;
2032
- are_files_downloaded?: boolean | undefined;
2033
- are_product_categories_fetched?: boolean | undefined;
2034
- are_final_costs_calculated?: boolean | undefined;
2035
- is_json_merge_file_updated?: boolean | undefined;
2036
- is_added_to_cart?: boolean | undefined;
2037
- uploaded_gerber_metadata?: any;
2038
- gerber_analysis?: any;
2039
- are_gerbers_generated?: boolean | undefined;
2040
- current_step?: string | null | undefined;
2041
- }>, "many">>;
2042
- jlcpcbOrderStepRuns: z.ZodDefault<z.ZodArray<z.ZodObject<{
2043
- jlcpcb_order_step_run_id: z.ZodString;
2044
- is_running: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
2045
- step_function_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2046
- jlcpcb_order_state_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2047
- error_message: z.ZodDefault<z.ZodNullable<z.ZodString>>;
2048
- created_at: z.ZodString;
2049
- }, "strip", z.ZodTypeAny, {
2050
- created_at: string;
2051
- is_running: boolean | null;
2052
- jlcpcb_order_state_id: string | null;
2053
- jlcpcb_order_step_run_id: string;
2054
- step_function_name: string | null;
2055
- error_message: string | null;
2056
- }, {
2057
- created_at: string;
2058
- jlcpcb_order_step_run_id: string;
2059
- is_running?: boolean | null | undefined;
2060
- jlcpcb_order_state_id?: string | null | undefined;
2061
- step_function_name?: string | null | undefined;
2062
- error_message?: string | null | undefined;
2063
- }>, "many">>;
2064
- orderQuotes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2065
- order_quote_id: z.ZodString;
2066
- account_id: z.ZodNullable<z.ZodString>;
2067
- package_release_id: z.ZodNullable<z.ZodString>;
2068
- is_completed: z.ZodDefault<z.ZodBoolean>;
2069
- is_processing: z.ZodDefault<z.ZodBoolean>;
2070
- vendor_name: z.ZodString;
2071
- error: z.ZodNullable<z.ZodObject<{
2072
- error_code: z.ZodString;
2073
- message: z.ZodString;
2074
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2075
- error_code: z.ZodString;
2076
- message: z.ZodString;
2077
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2078
- error_code: z.ZodString;
2079
- message: z.ZodString;
2080
- }, z.ZodTypeAny, "passthrough">>>;
2081
- has_error: z.ZodDefault<z.ZodBoolean>;
2082
- created_at: z.ZodString;
2083
- updated_at: z.ZodString;
2084
- completed_at: z.ZodNullable<z.ZodString>;
2085
- quoted_components: z.ZodNullable<z.ZodArray<z.ZodObject<{
2086
- manufacturer_part_number: z.ZodNullable<z.ZodString>;
2087
- supplier_part_number: z.ZodNullable<z.ZodString>;
2088
- quantity: z.ZodDefault<z.ZodNumber>;
2089
- unit_price: z.ZodDefault<z.ZodNumber>;
2090
- total_price: z.ZodDefault<z.ZodNumber>;
2091
- available: z.ZodDefault<z.ZodBoolean>;
2092
- }, "strip", z.ZodTypeAny, {
2093
- manufacturer_part_number: string | null;
2094
- supplier_part_number: string | null;
2095
- quantity: number;
2096
- unit_price: number;
2097
- total_price: number;
2098
- available: boolean;
2099
- }, {
2100
- manufacturer_part_number: string | null;
2101
- supplier_part_number: string | null;
2102
- quantity?: number | undefined;
2103
- unit_price?: number | undefined;
2104
- total_price?: number | undefined;
2105
- available?: boolean | undefined;
2106
- }>, "many">>;
2107
- bare_pcb_cost: z.ZodDefault<z.ZodNumber>;
2108
- shipping_options: z.ZodArray<z.ZodObject<{
2109
- carrier: z.ZodString;
2110
- service: z.ZodString;
2111
- cost: z.ZodNumber;
2112
- }, "strip", z.ZodTypeAny, {
2113
- carrier: string;
2114
- service: string;
2115
- cost: number;
2116
- }, {
2117
- carrier: string;
2118
- service: string;
2119
- cost: number;
2120
- }>, "many">;
2121
- total_cost_without_shipping: z.ZodDefault<z.ZodNumber>;
2122
- }, "strip", z.ZodTypeAny, {
2123
- error: z.objectOutputType<{
2124
- error_code: z.ZodString;
2125
- message: z.ZodString;
2126
- }, z.ZodTypeAny, "passthrough"> | null;
2127
- package_release_id: string | null;
2128
- created_at: string;
2129
- updated_at: string;
2130
- account_id: string | null;
2131
- has_error: boolean;
2132
- completed_at: string | null;
2133
- order_quote_id: string;
2134
- is_completed: boolean;
2135
- is_processing: boolean;
2136
- vendor_name: string;
2137
- quoted_components: {
2138
- manufacturer_part_number: string | null;
2139
- supplier_part_number: string | null;
2140
- quantity: number;
2141
- unit_price: number;
2142
- total_price: number;
2143
- available: boolean;
2144
- }[] | null;
2145
- bare_pcb_cost: number;
2146
- shipping_options: {
2147
- carrier: string;
2148
- service: string;
2149
- cost: number;
2150
- }[];
2151
- total_cost_without_shipping: number;
2152
- }, {
2153
- error: z.objectInputType<{
2154
- error_code: z.ZodString;
2155
- message: z.ZodString;
2156
- }, z.ZodTypeAny, "passthrough"> | null;
2157
- package_release_id: string | null;
2158
- created_at: string;
2159
- updated_at: string;
2160
- account_id: string | null;
2161
- completed_at: string | null;
2162
- order_quote_id: string;
2163
- vendor_name: string;
2164
- quoted_components: {
2165
- manufacturer_part_number: string | null;
2166
- supplier_part_number: string | null;
2167
- quantity?: number | undefined;
2168
- unit_price?: number | undefined;
2169
- total_price?: number | undefined;
2170
- available?: boolean | undefined;
2171
- }[] | null;
2172
- shipping_options: {
2173
- carrier: string;
2174
- service: string;
2175
- cost: number;
2176
- }[];
2177
- has_error?: boolean | undefined;
2178
- is_completed?: boolean | undefined;
2179
- is_processing?: boolean | undefined;
2180
- bare_pcb_cost?: number | undefined;
2181
- total_cost_without_shipping?: number | undefined;
2182
- }>, "many">>;
2183
- aiReviews: z.ZodDefault<z.ZodArray<z.ZodObject<{
2184
- ai_review_id: z.ZodString;
2185
- package_release_id: z.ZodOptional<z.ZodString>;
2186
- ai_review_text: z.ZodNullable<z.ZodString>;
2187
- start_processing_at: z.ZodNullable<z.ZodString>;
2188
- finished_processing_at: z.ZodNullable<z.ZodString>;
2189
- processing_error: z.ZodNullable<z.ZodAny>;
2190
- created_at: z.ZodString;
2191
- display_status: z.ZodEnum<["pending", "completed", "failed"]>;
2192
- }, "strip", z.ZodTypeAny, {
2193
- created_at: string;
2194
- ai_review_id: string;
2195
- ai_review_text: string | null;
2196
- start_processing_at: string | null;
2197
- finished_processing_at: string | null;
2198
- display_status: "pending" | "completed" | "failed";
2199
- package_release_id?: string | undefined;
2200
- processing_error?: any;
2201
- }, {
2202
- created_at: string;
2203
- ai_review_id: string;
2204
- ai_review_text: string | null;
2205
- start_processing_at: string | null;
2206
- finished_processing_at: string | null;
2207
- display_status: "pending" | "completed" | "failed";
2208
- package_release_id?: string | undefined;
2209
- processing_error?: any;
2210
- }>, "many">>;
2211
- datasheets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2212
- datasheet_id: z.ZodString;
2213
- chip_name: z.ZodString;
2214
- created_at: z.ZodString;
2215
- pin_information: z.ZodNullable<z.ZodArray<z.ZodObject<{
2216
- pin_number: z.ZodString;
2217
- name: z.ZodString;
2218
- description: z.ZodString;
2219
- capabilities: z.ZodArray<z.ZodString, "many">;
2220
- }, "strip", z.ZodTypeAny, {
2221
- name: string;
2222
- description: string;
2223
- pin_number: string;
2224
- capabilities: string[];
2225
- }, {
2226
- name: string;
2227
- description: string;
2228
- pin_number: string;
2229
- capabilities: string[];
2230
- }>, "many">>;
2231
- datasheet_pdf_urls: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
2232
- ai_description: z.ZodNullable<z.ZodString>;
2233
- }, "strip", z.ZodTypeAny, {
2234
- created_at: string;
2235
- datasheet_id: string;
2236
- chip_name: string;
2237
- pin_information: {
2238
- name: string;
2239
- description: string;
2240
- pin_number: string;
2241
- capabilities: string[];
2242
- }[] | null;
2243
- datasheet_pdf_urls: string[] | null;
2244
- ai_description: string | null;
2245
- }, {
2246
- created_at: string;
2247
- datasheet_id: string;
2248
- chip_name: string;
2249
- pin_information: {
2250
- name: string;
2251
- description: string;
2252
- pin_number: string;
2253
- capabilities: string[];
2254
- }[] | null;
2255
- datasheet_pdf_urls: string[] | null;
2256
- ai_description: string | null;
2257
- }>, "many">>;
2258
- githubInstallations: z.ZodDefault<z.ZodArray<z.ZodObject<{
2259
- github_installation_id: z.ZodString;
2260
- account_id: z.ZodString;
2261
- installation_id: z.ZodString;
2262
- github_username: z.ZodString;
2263
- created_at: z.ZodString;
2264
- updated_at: z.ZodString;
2265
- is_active: z.ZodDefault<z.ZodBoolean>;
2266
- access_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2267
- access_token_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2268
- }, "strip", z.ZodTypeAny, {
2269
- created_at: string;
2270
- updated_at: string;
2271
- account_id: string;
2272
- github_username: string;
2273
- github_installation_id: string;
2274
- installation_id: string;
2275
- is_active: boolean;
2276
- access_token?: string | null | undefined;
2277
- access_token_expires_at?: string | null | undefined;
2278
- }, {
2279
- created_at: string;
2280
- updated_at: string;
2281
- account_id: string;
2282
- github_username: string;
2283
- github_installation_id: string;
2284
- installation_id: string;
2285
- is_active?: boolean | undefined;
2286
- access_token?: string | null | undefined;
2287
- access_token_expires_at?: string | null | undefined;
2288
- }>, "many">>;
2289
- packageBuilds: z.ZodDefault<z.ZodArray<z.ZodObject<{
2290
- package_build_id: z.ZodString;
2291
- package_release_id: z.ZodString;
2292
- created_at: z.ZodString;
2293
- transpilation_in_progress: z.ZodDefault<z.ZodBoolean>;
2294
- transpilation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2295
- transpilation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2296
- transpilation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
2297
- transpilation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
- circuit_json_build_in_progress: z.ZodDefault<z.ZodBoolean>;
2299
- circuit_json_build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2300
- circuit_json_build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2301
- circuit_json_build_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
2302
- circuit_json_build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2303
- image_generation_in_progress: z.ZodDefault<z.ZodBoolean>;
2304
- image_generation_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2305
- image_generation_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2306
- image_generation_logs: z.ZodDefault<z.ZodArray<z.ZodAny, "many">>;
2307
- image_generation_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2308
- build_in_progress: z.ZodDefault<z.ZodBoolean>;
2309
- build_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2310
- build_completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2311
- build_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2312
- build_error_last_updated_at: z.ZodString;
2313
- preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2314
- build_logs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2315
- }, "strip", z.ZodTypeAny, {
2316
- package_release_id: string;
2317
- created_at: string;
2318
- transpilation_in_progress: boolean;
2319
- transpilation_logs: any[];
2320
- circuit_json_build_in_progress: boolean;
2321
- circuit_json_build_logs: any[];
2322
- image_generation_in_progress: boolean;
2323
- image_generation_logs: any[];
2324
- package_build_id: string;
2325
- build_in_progress: boolean;
2326
- build_error_last_updated_at: string;
2327
- circuit_json_build_error?: string | null | undefined;
2328
- transpilation_error?: string | null | undefined;
2329
- transpilation_started_at?: string | null | undefined;
2330
- transpilation_completed_at?: string | null | undefined;
2331
- circuit_json_build_started_at?: string | null | undefined;
2332
- circuit_json_build_completed_at?: string | null | undefined;
2333
- image_generation_started_at?: string | null | undefined;
2334
- image_generation_completed_at?: string | null | undefined;
2335
- image_generation_error?: string | null | undefined;
2336
- build_started_at?: string | null | undefined;
2337
- build_completed_at?: string | null | undefined;
2338
- build_error?: string | null | undefined;
2339
- preview_url?: string | null | undefined;
2340
- build_logs?: string | null | undefined;
2341
- }, {
2342
- package_release_id: string;
2343
- created_at: string;
2344
- package_build_id: string;
2345
- build_error_last_updated_at: string;
2346
- circuit_json_build_error?: string | null | undefined;
2347
- transpilation_error?: string | null | undefined;
2348
- transpilation_in_progress?: boolean | undefined;
2349
- transpilation_started_at?: string | null | undefined;
2350
- transpilation_completed_at?: string | null | undefined;
2351
- transpilation_logs?: any[] | undefined;
2352
- circuit_json_build_in_progress?: boolean | undefined;
2353
- circuit_json_build_started_at?: string | null | undefined;
2354
- circuit_json_build_completed_at?: string | null | undefined;
2355
- circuit_json_build_logs?: any[] | undefined;
2356
- image_generation_in_progress?: boolean | undefined;
2357
- image_generation_started_at?: string | null | undefined;
2358
- image_generation_completed_at?: string | null | undefined;
2359
- image_generation_logs?: any[] | undefined;
2360
- image_generation_error?: string | null | undefined;
2361
- build_in_progress?: boolean | undefined;
2362
- build_started_at?: string | null | undefined;
2363
- build_completed_at?: string | null | undefined;
2364
- build_error?: string | null | undefined;
2365
- preview_url?: string | null | undefined;
2366
- build_logs?: string | null | undefined;
2367
- }>, "many">>;
2368
- bugReports: z.ZodDefault<z.ZodArray<z.ZodObject<{
2369
- bug_report_id: z.ZodString;
2370
- reporter_account_id: z.ZodString;
2371
- text: z.ZodNullable<z.ZodString>;
2372
- is_auto_deleted: z.ZodDefault<z.ZodBoolean>;
2373
- delete_at: z.ZodNullable<z.ZodString>;
2374
- created_at: z.ZodString;
2375
- file_count: z.ZodNumber;
2376
- }, "strip", z.ZodTypeAny, {
2377
- created_at: string;
2378
- bug_report_id: string;
2379
- reporter_account_id: string;
2380
- text: string | null;
2381
- is_auto_deleted: boolean;
2382
- delete_at: string | null;
2383
- file_count: number;
2384
- }, {
2385
- created_at: string;
2386
- bug_report_id: string;
2387
- reporter_account_id: string;
2388
- text: string | null;
2389
- delete_at: string | null;
2390
- file_count: number;
2391
- is_auto_deleted?: boolean | undefined;
2392
- }>, "many">>;
2393
- bugReportFiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
2394
- bug_report_file_id: z.ZodString;
2395
- bug_report_id: z.ZodString;
2396
- file_path: z.ZodString;
2397
- content_mimetype: z.ZodString;
2398
- is_text: z.ZodBoolean;
2399
- created_at: z.ZodString;
2400
- content_text: z.ZodNullable<z.ZodString>;
2401
- content_bytes: z.ZodNullable<z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>>;
2402
- }, "strip", z.ZodTypeAny, {
2403
- created_at: string;
2404
- content_text: string | null;
2405
- content_bytes: Uint8Array<ArrayBuffer> | null;
2406
- bug_report_id: string;
2407
- bug_report_file_id: string;
2408
- file_path: string;
2409
- content_mimetype: string;
2410
- is_text: boolean;
2411
- }, {
2412
- created_at: string;
2413
- content_text: string | null;
2414
- content_bytes: Uint8Array<ArrayBuffer> | null;
2415
- bug_report_id: string;
2416
- bug_report_file_id: string;
2417
- file_path: string;
2418
- content_mimetype: string;
2419
- is_text: boolean;
2420
- }>, "many">>;
2421
- }, "strip", z.ZodTypeAny, {
2422
- idCounter: number;
2423
- snippets: {
2424
- code: string;
2425
- snippet_id: string;
2426
- package_release_id: string;
2427
- name: string;
2428
- unscoped_name: string;
2429
- owner_name: string;
2430
- is_starred: boolean;
2431
- created_at: string;
2432
- updated_at: string;
2433
- snippet_type: "board" | "package" | "model" | "footprint";
2434
- version: string;
2435
- star_count: number;
2436
- is_private: boolean;
2437
- is_public: boolean;
2438
- is_unlisted: boolean;
2439
- dts?: string | undefined;
2440
- compiled_js?: string | null | undefined;
2441
- circuit_json?: Record<string, any>[] | null | undefined;
2442
- manual_edits_json_content?: string | null | undefined;
2443
- starred_at?: string | undefined;
2444
- description?: string | undefined;
2445
- tags?: string[] | undefined;
2446
- }[];
2447
- packageReleases: {
2448
- package_release_id: string;
2449
- created_at: string;
2450
- version: string | null;
2451
- display_status: "error" | "pending" | "building" | "complete";
2452
- package_id: string;
2453
- is_locked: boolean;
2454
- is_latest: boolean;
2455
- has_transpiled: boolean;
2456
- transpilation_display_status: "error" | "pending" | "building" | "complete";
2457
- transpilation_in_progress: boolean;
2458
- transpilation_logs: any[];
2459
- transpilation_is_stale: boolean;
2460
- circuit_json_build_display_status: "error" | "pending" | "building" | "complete";
2461
- circuit_json_build_in_progress: boolean;
2462
- circuit_json_build_logs: any[];
2463
- circuit_json_build_is_stale: boolean;
2464
- image_generation_display_status: "error" | "pending" | "building" | "complete";
2465
- image_generation_in_progress: boolean;
2466
- image_generation_logs: any[] | null;
2467
- image_generation_is_stale: boolean;
2468
- ai_review_requested: boolean;
2469
- is_pr_preview: boolean;
2470
- pcb_preview_image_url: string | null;
2471
- sch_preview_image_url: string | null;
2472
- cad_preview_image_url: string | null;
2473
- ai_review_text?: string | null | undefined;
2474
- commit_sha?: string | null | undefined;
2475
- license?: string | null | undefined;
2476
- circuit_json_build_error?: string | null | undefined;
2477
- circuit_json_build_error_last_updated_at?: string | null | undefined;
2478
- transpilation_error?: string | null | undefined;
2479
- fs_sha?: string | null | undefined;
2480
- total_build_duration_ms?: number | null | undefined;
2481
- transpilation_started_at?: string | null | undefined;
2482
- transpilation_completed_at?: string | null | undefined;
2483
- circuit_json_build_started_at?: string | null | undefined;
2484
- circuit_json_build_completed_at?: string | null | undefined;
2485
- image_generation_started_at?: string | null | undefined;
2486
- image_generation_completed_at?: string | null | undefined;
2487
- image_generation_error?: string | null | undefined;
2488
- image_generation_error_last_updated_at?: string | null | undefined;
2489
- ai_review_started_at?: string | null | undefined;
2490
- ai_review_completed_at?: string | null | undefined;
2491
- ai_review_error?: any;
2492
- ai_review_logs?: any[] | null | undefined;
2493
- github_pr_number?: number | null | undefined;
2494
- latest_package_build_id?: string | null | undefined;
2495
- branch_name?: string | null | undefined;
2496
- commit_message?: string | null | undefined;
2497
- commit_author?: string | null | undefined;
2498
- }[];
2499
- packageFiles: {
2500
- package_release_id: string;
2501
- created_at: string;
2502
- file_path: string;
2503
- package_file_id: string;
2504
- content_text?: string | null | undefined;
2505
- content_mimetype?: string | null | undefined;
2506
- is_release_tarball?: boolean | undefined;
2507
- npm_pack_output?: any;
2508
- }[];
2509
- sessions: {
2510
- session_id: string;
2511
- account_id: string;
2512
- expires_at: string;
2513
- is_cli_session: boolean;
2514
- }[];
2515
- loginPages: {
2516
- created_at: string;
2517
- expires_at: string;
2518
- login_page_id: string;
2519
- login_page_auth_token: string;
2520
- was_login_successful: boolean;
2521
- has_been_used_to_create_session: boolean;
2522
- }[];
2523
- accounts: {
2524
- account_id: string;
2525
- github_username: string;
2526
- is_tscircuit_staff: boolean;
2527
- shippingInfo?: {
2528
- firstName: string;
2529
- lastName: string;
2530
- address: string;
2531
- city: string;
2532
- state: string;
2533
- zipCode: string;
2534
- country: string;
2535
- phone: string;
2536
- companyName?: string | undefined;
2537
- apartment?: string | undefined;
2538
- } | undefined;
2539
- personal_org_id?: string | undefined;
2540
- }[];
2541
- packages: {
2542
- name: string;
2543
- unscoped_name: string;
2544
- created_at: string;
2545
- updated_at: string;
2546
- description: string | null;
2547
- star_count: number;
2548
- is_private: boolean | null;
2549
- is_public: boolean | null;
2550
- is_unlisted: boolean | null;
2551
- ai_description: string | null;
2552
- package_id: string;
2553
- license: string | null;
2554
- creator_account_id: string;
2555
- owner_org_id: string;
2556
- owner_github_username: string | null;
2557
- github_repo_full_name: string | null;
2558
- is_snippet: boolean;
2559
- is_board: boolean;
2560
- is_package: boolean;
2561
- is_model: boolean;
2562
- is_footprint: boolean;
2563
- is_source_from_github: boolean;
2564
- latest_package_release_id: string | null;
2565
- latest_version: string | null;
2566
- website: string | null;
2567
- ai_usage_instructions: string | null;
2568
- latest_package_release_fs_sha: string | null;
2569
- is_starred?: boolean | undefined;
2570
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
2571
- latest_license?: string | null | undefined;
2572
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
2573
- allow_pr_previews?: boolean | undefined;
2574
- latest_pcb_preview_image_url?: string | null | undefined;
2575
- latest_sch_preview_image_url?: string | null | undefined;
2576
- latest_cad_preview_image_url?: string | null | undefined;
2577
- }[];
2578
- orders: {
2579
- error: z.objectOutputType<{
2580
- error_code: z.ZodString;
2581
- message: z.ZodString;
2582
- }, z.ZodTypeAny, "passthrough"> | null;
2583
- created_at: string;
2584
- account_id: string | null;
2585
- order_id: string;
2586
- is_running: boolean;
2587
- is_started: boolean;
2588
- is_finished: boolean;
2589
- has_error: boolean;
2590
- started_at: string | null;
2591
- completed_at: string | null;
2592
- circuit_json?: any;
2593
- }[];
2594
- organizations: {
2595
- created_at: string;
2596
- org_id: string;
2597
- owner_account_id: string;
2598
- is_personal_org: boolean;
2599
- org_name: string;
2600
- github_handle?: string | undefined;
2601
- org_display_name?: string | undefined;
2602
- }[];
2603
- orgAccounts: {
2604
- created_at: string;
2605
- account_id: string;
2606
- org_id: string;
2607
- org_account_id: string;
2608
- is_owner: boolean;
2609
- }[];
2610
- orderFiles: {
2611
- order_id: string;
2612
- order_file_id: string;
2613
- is_gerbers_zip: boolean;
2614
- content_type: string;
2615
- for_provider: string | null;
2616
- uploaded_at: string;
2617
- content_text: string | null;
2618
- content_bytes: Uint8Array<ArrayBuffer> | null;
2619
- }[];
2620
- accountSnippets: {
2621
- snippet_id: string;
2622
- created_at: string;
2623
- updated_at: string;
2624
- account_id: string;
2625
- has_starred: boolean;
2626
- }[];
2627
- accountPackages: {
2628
- is_starred: boolean;
2629
- created_at: string;
2630
- updated_at: string;
2631
- account_id: string;
2632
- account_package_id: string;
2633
- package_id: string;
2634
- }[];
2635
- jlcpcbOrderState: {
2636
- created_at: string;
2637
- order_id: string;
2638
- jlcpcb_order_state_id: string;
2639
- are_gerbers_uploaded: boolean;
2640
- is_gerber_analyzed: boolean;
2641
- are_initial_costs_calculated: boolean;
2642
- is_pcb_added_to_cart: boolean;
2643
- is_bom_uploaded: boolean;
2644
- is_pnp_uploaded: boolean;
2645
- is_bom_pnp_analyzed: boolean;
2646
- is_bom_parsing_complete: boolean;
2647
- are_components_available: boolean;
2648
- is_patch_map_generated: boolean;
2649
- is_json_merge_file_created: boolean;
2650
- is_dfm_result_generated: boolean;
2651
- are_files_downloaded: boolean;
2652
- are_product_categories_fetched: boolean;
2653
- are_final_costs_calculated: boolean;
2654
- is_json_merge_file_updated: boolean;
2655
- is_added_to_cart: boolean;
2656
- are_gerbers_generated: boolean;
2657
- current_step: string | null;
2658
- uploaded_gerber_metadata?: any;
2659
- gerber_analysis?: any;
2660
- }[];
2661
- jlcpcbOrderStepRuns: {
2662
- created_at: string;
2663
- is_running: boolean | null;
2664
- jlcpcb_order_state_id: string | null;
2665
- jlcpcb_order_step_run_id: string;
2666
- step_function_name: string | null;
2667
- error_message: string | null;
2668
- }[];
2669
- orderQuotes: {
2670
- error: z.objectOutputType<{
2671
- error_code: z.ZodString;
2672
- message: z.ZodString;
2673
- }, z.ZodTypeAny, "passthrough"> | null;
2674
- package_release_id: string | null;
2675
- created_at: string;
2676
- updated_at: string;
2677
- account_id: string | null;
2678
- has_error: boolean;
2679
- completed_at: string | null;
2680
- order_quote_id: string;
2681
- is_completed: boolean;
2682
- is_processing: boolean;
2683
- vendor_name: string;
2684
- quoted_components: {
2685
- manufacturer_part_number: string | null;
2686
- supplier_part_number: string | null;
2687
- quantity: number;
2688
- unit_price: number;
2689
- total_price: number;
2690
- available: boolean;
2691
- }[] | null;
2692
- bare_pcb_cost: number;
2693
- shipping_options: {
2694
- carrier: string;
2695
- service: string;
2696
- cost: number;
2697
- }[];
2698
- total_cost_without_shipping: number;
2699
- }[];
2700
- aiReviews: {
2701
- created_at: string;
2702
- ai_review_id: string;
2703
- ai_review_text: string | null;
2704
- start_processing_at: string | null;
2705
- finished_processing_at: string | null;
2706
- display_status: "pending" | "completed" | "failed";
2707
- package_release_id?: string | undefined;
2708
- processing_error?: any;
2709
- }[];
2710
- datasheets: {
2711
- created_at: string;
2712
- datasheet_id: string;
2713
- chip_name: string;
2714
- pin_information: {
2715
- name: string;
2716
- description: string;
2717
- pin_number: string;
2718
- capabilities: string[];
2719
- }[] | null;
2720
- datasheet_pdf_urls: string[] | null;
2721
- ai_description: string | null;
2722
- }[];
2723
- githubInstallations: {
2724
- created_at: string;
2725
- updated_at: string;
2726
- account_id: string;
2727
- github_username: string;
2728
- github_installation_id: string;
2729
- installation_id: string;
2730
- is_active: boolean;
2731
- access_token?: string | null | undefined;
2732
- access_token_expires_at?: string | null | undefined;
2733
- }[];
2734
- packageBuilds: {
2735
- package_release_id: string;
2736
- created_at: string;
2737
- transpilation_in_progress: boolean;
2738
- transpilation_logs: any[];
2739
- circuit_json_build_in_progress: boolean;
2740
- circuit_json_build_logs: any[];
2741
- image_generation_in_progress: boolean;
2742
- image_generation_logs: any[];
2743
- package_build_id: string;
2744
- build_in_progress: boolean;
2745
- build_error_last_updated_at: string;
2746
- circuit_json_build_error?: string | null | undefined;
2747
- transpilation_error?: string | null | undefined;
2748
- transpilation_started_at?: string | null | undefined;
2749
- transpilation_completed_at?: string | null | undefined;
2750
- circuit_json_build_started_at?: string | null | undefined;
2751
- circuit_json_build_completed_at?: string | null | undefined;
2752
- image_generation_started_at?: string | null | undefined;
2753
- image_generation_completed_at?: string | null | undefined;
2754
- image_generation_error?: string | null | undefined;
2755
- build_started_at?: string | null | undefined;
2756
- build_completed_at?: string | null | undefined;
2757
- build_error?: string | null | undefined;
2758
- preview_url?: string | null | undefined;
2759
- build_logs?: string | null | undefined;
2760
- }[];
2761
- bugReports: {
2762
- created_at: string;
2763
- bug_report_id: string;
2764
- reporter_account_id: string;
2765
- text: string | null;
2766
- is_auto_deleted: boolean;
2767
- delete_at: string | null;
2768
- file_count: number;
2769
- }[];
2770
- bugReportFiles: {
2771
- created_at: string;
2772
- content_text: string | null;
2773
- content_bytes: Uint8Array<ArrayBuffer> | null;
2774
- bug_report_id: string;
2775
- bug_report_file_id: string;
2776
- file_path: string;
2777
- content_mimetype: string;
2778
- is_text: boolean;
2779
- }[];
2780
- }, {
2781
- idCounter?: number | undefined;
2782
- snippets?: {
2783
- code: string;
2784
- snippet_id: string;
2785
- package_release_id: string;
2786
- name: string;
2787
- unscoped_name: string;
2788
- owner_name: string;
2789
- created_at: string;
2790
- updated_at: string;
2791
- snippet_type: "board" | "package" | "model" | "footprint";
2792
- is_starred?: boolean | undefined;
2793
- dts?: string | undefined;
2794
- compiled_js?: string | null | undefined;
2795
- circuit_json?: Record<string, any>[] | null | undefined;
2796
- manual_edits_json_content?: string | null | undefined;
2797
- starred_at?: string | undefined;
2798
- description?: string | undefined;
2799
- version?: string | undefined;
2800
- star_count?: number | undefined;
2801
- is_private?: boolean | undefined;
2802
- is_public?: boolean | undefined;
2803
- is_unlisted?: boolean | undefined;
2804
- tags?: string[] | undefined;
2805
- }[] | undefined;
2806
- packageReleases?: {
2807
- package_release_id: string;
2808
- created_at: string;
2809
- version: string | null;
2810
- package_id: string;
2811
- is_locked: boolean;
2812
- is_latest: boolean;
2813
- ai_review_text?: string | null | undefined;
2814
- display_status?: "error" | "pending" | "building" | "complete" | undefined;
2815
- commit_sha?: string | null | undefined;
2816
- license?: string | null | undefined;
2817
- circuit_json_build_error?: string | null | undefined;
2818
- circuit_json_build_error_last_updated_at?: string | null | undefined;
2819
- has_transpiled?: boolean | undefined;
2820
- transpilation_error?: string | null | undefined;
2821
- fs_sha?: string | null | undefined;
2822
- total_build_duration_ms?: number | null | undefined;
2823
- transpilation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2824
- transpilation_in_progress?: boolean | undefined;
2825
- transpilation_started_at?: string | null | undefined;
2826
- transpilation_completed_at?: string | null | undefined;
2827
- transpilation_logs?: any[] | undefined;
2828
- transpilation_is_stale?: boolean | undefined;
2829
- circuit_json_build_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2830
- circuit_json_build_in_progress?: boolean | undefined;
2831
- circuit_json_build_started_at?: string | null | undefined;
2832
- circuit_json_build_completed_at?: string | null | undefined;
2833
- circuit_json_build_logs?: any[] | undefined;
2834
- circuit_json_build_is_stale?: boolean | undefined;
2835
- image_generation_display_status?: "error" | "pending" | "building" | "complete" | undefined;
2836
- image_generation_in_progress?: boolean | undefined;
2837
- image_generation_started_at?: string | null | undefined;
2838
- image_generation_completed_at?: string | null | undefined;
2839
- image_generation_logs?: any[] | null | undefined;
2840
- image_generation_is_stale?: boolean | undefined;
2841
- image_generation_error?: string | null | undefined;
2842
- image_generation_error_last_updated_at?: string | null | undefined;
2843
- ai_review_started_at?: string | null | undefined;
2844
- ai_review_completed_at?: string | null | undefined;
2845
- ai_review_error?: any;
2846
- ai_review_logs?: any[] | null | undefined;
2847
- ai_review_requested?: boolean | undefined;
2848
- is_pr_preview?: boolean | undefined;
2849
- github_pr_number?: number | null | undefined;
2850
- latest_package_build_id?: string | null | undefined;
2851
- branch_name?: string | null | undefined;
2852
- commit_message?: string | null | undefined;
2853
- commit_author?: string | null | undefined;
2854
- pcb_preview_image_url?: string | null | undefined;
2855
- sch_preview_image_url?: string | null | undefined;
2856
- cad_preview_image_url?: string | null | undefined;
2857
- }[] | undefined;
2858
- packageFiles?: {
2859
- package_release_id: string;
2860
- created_at: string;
2861
- file_path: string;
2862
- package_file_id: string;
2863
- content_text?: string | null | undefined;
2864
- content_mimetype?: string | null | undefined;
2865
- is_release_tarball?: boolean | undefined;
2866
- npm_pack_output?: any;
2867
- }[] | undefined;
2868
- sessions?: {
2869
- session_id: string;
2870
- account_id: string;
2871
- expires_at: string;
2872
- is_cli_session: boolean;
2873
- }[] | undefined;
2874
- loginPages?: {
2875
- created_at: string;
2876
- expires_at: string;
2877
- login_page_id: string;
2878
- login_page_auth_token: string;
2879
- was_login_successful: boolean;
2880
- has_been_used_to_create_session: boolean;
2881
- }[] | undefined;
2882
- accounts?: {
2883
- account_id: string;
2884
- github_username: string;
2885
- shippingInfo?: {
2886
- firstName: string;
2887
- lastName: string;
2888
- address: string;
2889
- city: string;
2890
- state: string;
2891
- zipCode: string;
2892
- country: string;
2893
- phone: string;
2894
- companyName?: string | undefined;
2895
- apartment?: string | undefined;
2896
- } | undefined;
2897
- personal_org_id?: string | undefined;
2898
- is_tscircuit_staff?: boolean | undefined;
2899
- }[] | undefined;
2900
- packages?: {
2901
- name: string;
2902
- unscoped_name: string;
2903
- created_at: string;
2904
- updated_at: string;
2905
- description: string | null;
2906
- ai_description: string | null;
2907
- package_id: string;
2908
- license: string | null;
2909
- creator_account_id: string;
2910
- owner_org_id: string;
2911
- owner_github_username: string | null;
2912
- github_repo_full_name: string | null;
2913
- latest_package_release_id: string | null;
2914
- latest_version: string | null;
2915
- ai_usage_instructions: string | null;
2916
- is_starred?: boolean | undefined;
2917
- snippet_type?: "board" | "package" | "model" | "footprint" | undefined;
2918
- star_count?: number | undefined;
2919
- is_private?: boolean | null | undefined;
2920
- is_public?: boolean | null | undefined;
2921
- is_unlisted?: boolean | null | undefined;
2922
- is_snippet?: boolean | undefined;
2923
- is_board?: boolean | undefined;
2924
- is_package?: boolean | undefined;
2925
- is_model?: boolean | undefined;
2926
- is_footprint?: boolean | undefined;
2927
- is_source_from_github?: boolean | undefined;
2928
- website?: string | null | undefined;
2929
- latest_license?: string | null | undefined;
2930
- latest_package_release_fs_sha?: string | null | undefined;
2931
- default_view?: "files" | "3d" | "pcb" | "schematic" | undefined;
2932
- allow_pr_previews?: boolean | undefined;
2933
- latest_pcb_preview_image_url?: string | null | undefined;
2934
- latest_sch_preview_image_url?: string | null | undefined;
2935
- latest_cad_preview_image_url?: string | null | undefined;
2936
- }[] | undefined;
2937
- orders?: {
2938
- error: z.objectInputType<{
2939
- error_code: z.ZodString;
2940
- message: z.ZodString;
2941
- }, z.ZodTypeAny, "passthrough"> | null;
2942
- created_at: string;
2943
- account_id: string | null;
2944
- order_id: string;
2945
- is_running: boolean;
2946
- is_started: boolean;
2947
- is_finished: boolean;
2948
- has_error: boolean;
2949
- started_at: string | null;
2950
- completed_at: string | null;
2951
- circuit_json?: any;
2952
- }[] | undefined;
2953
- organizations?: {
2954
- created_at: string;
2955
- org_id: string;
2956
- owner_account_id: string;
2957
- org_name: string;
2958
- github_handle?: string | undefined;
2959
- is_personal_org?: boolean | undefined;
2960
- org_display_name?: string | undefined;
2961
- }[] | undefined;
2962
- orgAccounts?: {
2963
- created_at: string;
2964
- account_id: string;
2965
- org_id: string;
2966
- org_account_id: string;
2967
- is_owner?: boolean | undefined;
2968
- }[] | undefined;
2969
- orderFiles?: {
2970
- order_id: string;
2971
- order_file_id: string;
2972
- is_gerbers_zip: boolean;
2973
- content_type: string;
2974
- for_provider: string | null;
2975
- uploaded_at: string;
2976
- content_text: string | null;
2977
- content_bytes: Uint8Array<ArrayBuffer> | null;
2978
- }[] | undefined;
2979
- accountSnippets?: {
2980
- snippet_id: string;
2981
- created_at: string;
2982
- updated_at: string;
2983
- account_id: string;
2984
- has_starred: boolean;
2985
- }[] | undefined;
2986
- accountPackages?: {
2987
- is_starred: boolean;
2988
- created_at: string;
2989
- updated_at: string;
2990
- account_id: string;
2991
- account_package_id: string;
2992
- package_id: string;
2993
- }[] | undefined;
2994
- jlcpcbOrderState?: {
2995
- created_at: string;
2996
- order_id: string;
2997
- jlcpcb_order_state_id: string;
2998
- are_gerbers_uploaded?: boolean | undefined;
2999
- is_gerber_analyzed?: boolean | undefined;
3000
- are_initial_costs_calculated?: boolean | undefined;
3001
- is_pcb_added_to_cart?: boolean | undefined;
3002
- is_bom_uploaded?: boolean | undefined;
3003
- is_pnp_uploaded?: boolean | undefined;
3004
- is_bom_pnp_analyzed?: boolean | undefined;
3005
- is_bom_parsing_complete?: boolean | undefined;
3006
- are_components_available?: boolean | undefined;
3007
- is_patch_map_generated?: boolean | undefined;
3008
- is_json_merge_file_created?: boolean | undefined;
3009
- is_dfm_result_generated?: boolean | undefined;
3010
- are_files_downloaded?: boolean | undefined;
3011
- are_product_categories_fetched?: boolean | undefined;
3012
- are_final_costs_calculated?: boolean | undefined;
3013
- is_json_merge_file_updated?: boolean | undefined;
3014
- is_added_to_cart?: boolean | undefined;
3015
- uploaded_gerber_metadata?: any;
3016
- gerber_analysis?: any;
3017
- are_gerbers_generated?: boolean | undefined;
3018
- current_step?: string | null | undefined;
3019
- }[] | undefined;
3020
- jlcpcbOrderStepRuns?: {
3021
- created_at: string;
3022
- jlcpcb_order_step_run_id: string;
3023
- is_running?: boolean | null | undefined;
3024
- jlcpcb_order_state_id?: string | null | undefined;
3025
- step_function_name?: string | null | undefined;
3026
- error_message?: string | null | undefined;
3027
- }[] | undefined;
3028
- orderQuotes?: {
3029
- error: z.objectInputType<{
3030
- error_code: z.ZodString;
3031
- message: z.ZodString;
3032
- }, z.ZodTypeAny, "passthrough"> | null;
3033
- package_release_id: string | null;
3034
- created_at: string;
3035
- updated_at: string;
3036
- account_id: string | null;
3037
- completed_at: string | null;
3038
- order_quote_id: string;
3039
- vendor_name: string;
3040
- quoted_components: {
3041
- manufacturer_part_number: string | null;
3042
- supplier_part_number: string | null;
3043
- quantity?: number | undefined;
3044
- unit_price?: number | undefined;
3045
- total_price?: number | undefined;
3046
- available?: boolean | undefined;
3047
- }[] | null;
3048
- shipping_options: {
3049
- carrier: string;
3050
- service: string;
3051
- cost: number;
3052
- }[];
3053
- has_error?: boolean | undefined;
3054
- is_completed?: boolean | undefined;
3055
- is_processing?: boolean | undefined;
3056
- bare_pcb_cost?: number | undefined;
3057
- total_cost_without_shipping?: number | undefined;
3058
- }[] | undefined;
3059
- aiReviews?: {
3060
- created_at: string;
3061
- ai_review_id: string;
3062
- ai_review_text: string | null;
3063
- start_processing_at: string | null;
3064
- finished_processing_at: string | null;
3065
- display_status: "pending" | "completed" | "failed";
3066
- package_release_id?: string | undefined;
3067
- processing_error?: any;
3068
- }[] | undefined;
3069
- datasheets?: {
3070
- created_at: string;
3071
- datasheet_id: string;
3072
- chip_name: string;
3073
- pin_information: {
3074
- name: string;
3075
- description: string;
3076
- pin_number: string;
3077
- capabilities: string[];
3078
- }[] | null;
3079
- datasheet_pdf_urls: string[] | null;
3080
- ai_description: string | null;
3081
- }[] | undefined;
3082
- githubInstallations?: {
3083
- created_at: string;
3084
- updated_at: string;
3085
- account_id: string;
3086
- github_username: string;
3087
- github_installation_id: string;
3088
- installation_id: string;
3089
- is_active?: boolean | undefined;
3090
- access_token?: string | null | undefined;
3091
- access_token_expires_at?: string | null | undefined;
3092
- }[] | undefined;
3093
- packageBuilds?: {
3094
- package_release_id: string;
3095
- created_at: string;
3096
- package_build_id: string;
3097
- build_error_last_updated_at: string;
3098
- circuit_json_build_error?: string | null | undefined;
3099
- transpilation_error?: string | null | undefined;
3100
- transpilation_in_progress?: boolean | undefined;
3101
- transpilation_started_at?: string | null | undefined;
3102
- transpilation_completed_at?: string | null | undefined;
3103
- transpilation_logs?: any[] | undefined;
3104
- circuit_json_build_in_progress?: boolean | undefined;
3105
- circuit_json_build_started_at?: string | null | undefined;
3106
- circuit_json_build_completed_at?: string | null | undefined;
3107
- circuit_json_build_logs?: any[] | undefined;
3108
- image_generation_in_progress?: boolean | undefined;
3109
- image_generation_started_at?: string | null | undefined;
3110
- image_generation_completed_at?: string | null | undefined;
3111
- image_generation_logs?: any[] | undefined;
3112
- image_generation_error?: string | null | undefined;
3113
- build_in_progress?: boolean | undefined;
3114
- build_started_at?: string | null | undefined;
3115
- build_completed_at?: string | null | undefined;
3116
- build_error?: string | null | undefined;
3117
- preview_url?: string | null | undefined;
3118
- build_logs?: string | null | undefined;
3119
- }[] | undefined;
3120
- bugReports?: {
3121
- created_at: string;
3122
- bug_report_id: string;
3123
- reporter_account_id: string;
3124
- text: string | null;
3125
- delete_at: string | null;
3126
- file_count: number;
3127
- is_auto_deleted?: boolean | undefined;
3128
- }[] | undefined;
3129
- bugReportFiles?: {
3130
- created_at: string;
3131
- content_text: string | null;
3132
- content_bytes: Uint8Array<ArrayBuffer> | null;
3133
- bug_report_id: string;
3134
- bug_report_file_id: string;
3135
- file_path: string;
3136
- content_mimetype: string;
3137
- is_text: boolean;
3138
- }[] | undefined;
3139
- }>;
3140
- type DatabaseSchema = z.infer<typeof databaseSchema>;
3141
-
3142
- export { type Account, type AccountPackage, type AccountSnippet, type AiReview, type BugReport, type BugReportFile, type DatabaseSchema, type Datasheet, type GithubInstallation, type JlcpcbOrderState, type JlcpcbOrderStepRun, type LoginPage, type Order, type OrderFile, type OrderQuote, type OrgAccount, type Organization, type Package, type PackageBuild, type PackageFile, type PackageRelease, type PublicOrgSchema, type QuotedComponent, type Session, type ShippingOption, type Snippet, type UserPermissions, accountPackageSchema, accountSchema, accountSnippetSchema, aiReviewSchema, bugReportFileResponseSchema, bugReportFileSchema, bugReportSchema, databaseSchema, datasheetPinInformationSchema, datasheetSchema, errorResponseSchema, errorSchema, githubInstallationSchema, jlcpcbOrderStateSchema, jlcpcbOrderStepRunSchema, loginPageSchema, orderFileSchema, orderQuoteSchema, orderSchema, orgAccountSchema, orgSchema, packageBuildSchema, packageFileSchema, packageReleaseSchema, packageSchema, publicOrgSchema, quotedComponentSchema, sessionSchema, shippingInfoSchema, snippetSchema, userPermissionsSchema };