@ourofoundation/ouro-js 3.2.4 → 3.2.5

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 (49) hide show
  1. package/dist/chunk-5V7HPXUK.js +2 -0
  2. package/dist/chunk-5V7HPXUK.js.map +1 -0
  3. package/dist/chunk-D7S2GB7Z.cjs +2 -0
  4. package/dist/chunk-D7S2GB7Z.cjs.map +1 -0
  5. package/dist/chunk-EY4OFSDP.js +2 -0
  6. package/dist/chunk-EY4OFSDP.js.map +1 -0
  7. package/dist/chunk-MOEVC3KD.cjs +2 -0
  8. package/dist/chunk-MOEVC3KD.cjs.map +1 -0
  9. package/dist/index.cjs +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/schema/assets.d.cts +77 -77
  12. package/dist/schema/assets.d.ts +77 -77
  13. package/dist/schema/blueprints.d.cts +12 -12
  14. package/dist/schema/blueprints.d.ts +12 -12
  15. package/dist/schema/comments.d.cts +73 -73
  16. package/dist/schema/comments.d.ts +73 -73
  17. package/dist/schema/common.d.cts +9 -9
  18. package/dist/schema/common.d.ts +9 -9
  19. package/dist/schema/conversations.d.cts +62 -62
  20. package/dist/schema/conversations.d.ts +62 -62
  21. package/dist/schema/datasets.d.cts +97 -97
  22. package/dist/schema/datasets.d.ts +97 -97
  23. package/dist/schema/files.d.cts +91 -91
  24. package/dist/schema/files.d.ts +91 -91
  25. package/dist/schema/notifications.d.cts +1 -1
  26. package/dist/schema/notifications.d.ts +1 -1
  27. package/dist/schema/posts.d.cts +110 -110
  28. package/dist/schema/posts.d.ts +110 -110
  29. package/dist/schema/replications.d.cts +12 -12
  30. package/dist/schema/replications.d.ts +12 -12
  31. package/dist/schema/services.cjs +1 -1
  32. package/dist/schema/services.d.cts +106 -101
  33. package/dist/schema/services.d.ts +106 -101
  34. package/dist/schema/services.js +1 -1
  35. package/dist/schema/teams.d.cts +15 -15
  36. package/dist/schema/teams.d.ts +15 -15
  37. package/dist/utils/navigate.cjs +1 -1
  38. package/dist/utils/navigate.d.cts +2 -2
  39. package/dist/utils/navigate.d.ts +2 -2
  40. package/dist/utils/navigate.js +1 -1
  41. package/package.json +1 -1
  42. package/dist/chunk-6RGIIOOP.js +0 -2
  43. package/dist/chunk-6RGIIOOP.js.map +0 -1
  44. package/dist/chunk-DHQJ2FCF.cjs +0 -2
  45. package/dist/chunk-DHQJ2FCF.cjs.map +0 -1
  46. package/dist/chunk-FNW6DDNP.cjs +0 -2
  47. package/dist/chunk-FNW6DDNP.cjs.map +0 -1
  48. package/dist/chunk-XMYZV7TD.js +0 -2
  49. package/dist/chunk-XMYZV7TD.js.map +0 -1
@@ -194,11 +194,11 @@ declare const AssetSchema: z.ZodObject<{
194
194
  license_id: z.ZodString;
195
195
  license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
196
196
  asset_type: z.ZodEnum<{
197
+ file: "file";
197
198
  user: "user";
198
199
  organization: "organization";
199
200
  team: "team";
200
201
  dataset: "dataset";
201
- file: "file";
202
202
  service: "service";
203
203
  route: "route";
204
204
  post: "post";
@@ -257,25 +257,26 @@ declare const AssetSchema: z.ZodObject<{
257
257
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
258
258
  state: z.ZodEnum<{
259
259
  success: "success";
260
+ error: "error";
260
261
  queued: "queued";
261
262
  "in-progress": "in-progress";
262
263
  "timed-out": "timed-out";
263
- error: "error";
264
264
  }>;
265
265
  source: z.ZodEnum<{
266
- api: "api";
267
266
  web: "web";
267
+ api: "api";
268
268
  }>;
269
269
  created_at: z.ZodString;
270
270
  last_updated: z.ZodString;
271
271
  }, z.core.$strip>;
272
272
  declare const CreateAssetSchema: z.ZodObject<{
273
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
273
274
  asset_type: z.ZodOptional<z.ZodEnum<{
275
+ file: "file";
274
276
  user: "user";
275
277
  organization: "organization";
276
278
  team: "team";
277
279
  dataset: "dataset";
278
- file: "file";
279
280
  service: "service";
280
281
  route: "route";
281
282
  post: "post";
@@ -285,29 +286,15 @@ declare const CreateAssetSchema: z.ZodObject<{
285
286
  blueprint: "blueprint";
286
287
  replication: "replication";
287
288
  }>>;
288
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
289
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
290
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
291
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
294
- originality: z.ZodEnum<{
295
- original: "original";
296
- derivative: "derivative";
297
- "third-party": "third-party";
298
- }>;
299
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
- reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
301
- }, z.core.$strip>>>>;
302
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
303
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
304
- text: z.ZodString;
305
- }, z.core.$strip>>>>;
306
289
  monetization: z.ZodOptional<z.ZodEnum<{
307
290
  none: "none";
308
291
  "pay-to-unlock": "pay-to-unlock";
309
292
  "pay-per-use": "pay-per-use";
310
293
  }>>;
294
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
295
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
296
+ text: z.ZodString;
297
+ }, z.core.$strip>>>>;
311
298
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
312
299
  license_id: z.ZodOptional<z.ZodString>;
313
300
  price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
@@ -324,6 +311,19 @@ declare const CreateAssetSchema: z.ZodObject<{
324
311
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
325
312
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
326
313
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
314
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
315
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
+ originality: z.ZodEnum<{
320
+ original: "original";
321
+ derivative: "derivative";
322
+ "third-party": "third-party";
323
+ }>;
324
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
+ reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ }, z.core.$strip>>>>;
327
327
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
328
328
  id: z.ZodDefault<z.ZodUUID>;
329
329
  team_id: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
@@ -332,14 +332,14 @@ declare const CreateAssetSchema: z.ZodObject<{
332
332
  name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
333
  state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
334
334
  success: "success";
335
+ error: "error";
335
336
  queued: "queued";
336
337
  "in-progress": "in-progress";
337
338
  "timed-out": "timed-out";
338
- error: "error";
339
339
  }>>>;
340
340
  source: z.ZodDefault<z.ZodEnum<{
341
- api: "api";
342
341
  web: "web";
342
+ api: "api";
343
343
  }>>;
344
344
  visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
345
345
  organization: "organization";
@@ -352,12 +352,17 @@ declare const CreateAssetSchema: z.ZodObject<{
352
352
  last_updated: z.ZodDefault<z.ZodString>;
353
353
  }, z.core.$strip>;
354
354
  declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
355
+ parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
356
+ source: z.ZodOptional<z.ZodEnum<{
357
+ web: "web";
358
+ api: "api";
359
+ }>>;
355
360
  asset_type: z.ZodOptional<z.ZodEnum<{
361
+ file: "file";
356
362
  user: "user";
357
363
  organization: "organization";
358
364
  team: "team";
359
365
  dataset: "dataset";
360
- file: "file";
361
366
  service: "service";
362
367
  route: "route";
363
368
  post: "post";
@@ -367,24 +372,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
367
372
  blueprint: "blueprint";
368
373
  replication: "replication";
369
374
  }>>;
370
- org_id: z.ZodOptional<z.ZodUUID>;
371
- parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
372
- metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
373
- doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
374
- external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
- paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
376
- github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
377
- originality: z.ZodEnum<{
378
- original: "original";
379
- derivative: "derivative";
380
- "third-party": "third-party";
381
- }>;
382
- source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
383
- reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
384
- }, z.core.$strip>>>>;
385
- last_updated: z.ZodOptional<z.ZodString>;
386
- name: z.ZodOptional<z.ZodString>;
387
- team_id: z.ZodOptional<z.ZodUUID>;
388
375
  visibility: z.ZodOptional<z.ZodEnum<{
389
376
  organization: "organization";
390
377
  public: "public";
@@ -392,14 +379,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
392
379
  monetized: "monetized";
393
380
  inherit: "inherit";
394
381
  }>>;
395
- description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
396
- json: z.ZodRecord<z.ZodString, z.ZodAny>;
397
- text: z.ZodString;
398
- }, z.core.$strip>>>>;
399
- source: z.ZodOptional<z.ZodEnum<{
400
- api: "api";
401
- web: "web";
402
- }>>;
403
382
  monetization: z.ZodOptional<z.ZodEnum<{
404
383
  none: "none";
405
384
  "pay-to-unlock": "pay-to-unlock";
@@ -407,11 +386,18 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
407
386
  }>>;
408
387
  state: z.ZodOptional<z.ZodEnum<{
409
388
  success: "success";
389
+ error: "error";
410
390
  queued: "queued";
411
391
  "in-progress": "in-progress";
412
392
  "timed-out": "timed-out";
413
- error: "error";
414
393
  }>>;
394
+ name: z.ZodOptional<z.ZodString>;
395
+ org_id: z.ZodOptional<z.ZodUUID>;
396
+ team_id: z.ZodOptional<z.ZodUUID>;
397
+ description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
398
+ json: z.ZodRecord<z.ZodString, z.ZodAny>;
399
+ text: z.ZodString;
400
+ }, z.core.$strip>>>>;
415
401
  parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
416
402
  license_id: z.ZodOptional<z.ZodString>;
417
403
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -430,31 +416,35 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
430
416
  stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
431
417
  stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
432
418
  stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
419
+ metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
420
+ doi_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ external_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ paper_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ originality: z.ZodEnum<{
425
+ original: "original";
426
+ derivative: "derivative";
427
+ "third-party": "third-party";
428
+ }>;
429
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
430
+ reply_to_comment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ }, z.core.$strip>>>>;
433
432
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
433
+ last_updated: z.ZodOptional<z.ZodString>;
434
434
  }, z.core.$strip>, z.ZodTransform<{
435
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
436
- org_id?: string | undefined;
437
435
  parent?: Record<string, any> | undefined;
438
- metadata?: {
439
- originality: "original" | "derivative" | "third-party";
440
- doi_url?: string | null | undefined;
441
- external_url?: string | null | undefined;
442
- paper_url?: string | null | undefined;
443
- github_url?: string | null | undefined;
444
- source?: string | null | undefined;
445
- reply_to_comment_id?: string | null | undefined;
446
- } | null | undefined;
447
- last_updated?: string | undefined;
436
+ source?: "web" | "api" | undefined;
437
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
438
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
439
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
440
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
448
441
  name?: string | undefined;
442
+ org_id?: string | undefined;
449
443
  team_id?: string | undefined;
450
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
451
444
  description?: {
452
445
  json: Record<string, any>;
453
446
  text: string;
454
447
  } | null | undefined;
455
- source?: "api" | "web" | undefined;
456
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
457
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
458
448
  parent_id?: string | null | undefined;
459
449
  license_id?: string | undefined;
460
450
  license?: Record<string, any> | undefined;
@@ -467,11 +457,6 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
467
457
  stripe_product_id?: string | null | undefined;
468
458
  stripe_price_id?: string | null | undefined;
469
459
  stripe_meter_id?: string | null | undefined;
470
- preview?: Record<string, any>[] | null | undefined;
471
- }, {
472
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
473
- org_id?: string | undefined;
474
- parent?: Record<string, any> | undefined;
475
460
  metadata?: {
476
461
  originality: "original" | "derivative" | "third-party";
477
462
  doi_url?: string | null | undefined;
@@ -481,17 +466,22 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
481
466
  source?: string | null | undefined;
482
467
  reply_to_comment_id?: string | null | undefined;
483
468
  } | null | undefined;
469
+ preview?: Record<string, any>[] | null | undefined;
484
470
  last_updated?: string | undefined;
471
+ }, {
472
+ parent?: Record<string, any> | undefined;
473
+ source?: "web" | "api" | undefined;
474
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
475
+ visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
476
+ monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
477
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
485
478
  name?: string | undefined;
479
+ org_id?: string | undefined;
486
480
  team_id?: string | undefined;
487
- visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
488
481
  description?: {
489
482
  json: Record<string, any>;
490
483
  text: string;
491
484
  } | null | undefined;
492
- source?: "api" | "web" | undefined;
493
- monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
494
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
495
485
  parent_id?: string | null | undefined;
496
486
  license_id?: string | undefined;
497
487
  license?: Record<string, any> | undefined;
@@ -504,7 +494,17 @@ declare const UpdateAssetSchema: z.ZodPipe<z.ZodObject<{
504
494
  stripe_product_id?: string | null | undefined;
505
495
  stripe_price_id?: string | null | undefined;
506
496
  stripe_meter_id?: string | null | undefined;
497
+ metadata?: {
498
+ originality: "original" | "derivative" | "third-party";
499
+ doi_url?: string | null | undefined;
500
+ external_url?: string | null | undefined;
501
+ paper_url?: string | null | undefined;
502
+ github_url?: string | null | undefined;
503
+ source?: string | null | undefined;
504
+ reply_to_comment_id?: string | null | undefined;
505
+ } | null | undefined;
507
506
  preview?: Record<string, any>[] | null | undefined;
507
+ last_updated?: string | undefined;
508
508
  }>>;
509
509
 
510
510
  type AssetMetadata = z.infer<typeof AssetMetadataSchema>;
@@ -210,23 +210,23 @@ declare const BlueprintSchema: z.ZodObject<{
210
210
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
211
211
  state: z.ZodEnum<{
212
212
  success: "success";
213
+ error: "error";
213
214
  queued: "queued";
214
215
  "in-progress": "in-progress";
215
216
  "timed-out": "timed-out";
216
- error: "error";
217
217
  }>;
218
218
  source: z.ZodEnum<{
219
- api: "api";
220
219
  web: "web";
220
+ api: "api";
221
221
  }>;
222
222
  created_at: z.ZodString;
223
223
  last_updated: z.ZodString;
224
224
  asset_type: z.ZodEnum<{
225
+ file: "file";
225
226
  user: "user";
226
227
  organization: "organization";
227
228
  team: "team";
228
229
  dataset: "dataset";
229
- file: "file";
230
230
  service: "service";
231
231
  route: "route";
232
232
  post: "post";
@@ -424,11 +424,11 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
424
424
  license_id: z.ZodOptional<z.ZodString>;
425
425
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
426
426
  asset_type: z.ZodOptional<z.ZodEnum<{
427
+ file: "file";
427
428
  user: "user";
428
429
  organization: "organization";
429
430
  team: "team";
430
431
  dataset: "dataset";
431
- file: "file";
432
432
  service: "service";
433
433
  route: "route";
434
434
  post: "post";
@@ -473,14 +473,14 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
473
473
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
474
474
  state: z.ZodOptional<z.ZodEnum<{
475
475
  success: "success";
476
+ error: "error";
476
477
  queued: "queued";
477
478
  "in-progress": "in-progress";
478
479
  "timed-out": "timed-out";
479
- error: "error";
480
480
  }>>;
481
481
  source: z.ZodOptional<z.ZodEnum<{
482
- api: "api";
483
482
  web: "web";
483
+ api: "api";
484
484
  }>>;
485
485
  created_at: z.ZodOptional<z.ZodString>;
486
486
  last_updated: z.ZodOptional<z.ZodString>;
@@ -621,7 +621,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
621
621
  parent?: Record<string, any> | undefined;
622
622
  license_id?: string | undefined;
623
623
  license?: Record<string, any> | undefined;
624
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
624
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
625
625
  name?: string | undefined;
626
626
  slug?: string | null | undefined;
627
627
  description?: {
@@ -639,8 +639,8 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
639
639
  stripe_price_id?: string | null | undefined;
640
640
  stripe_meter_id?: string | null | undefined;
641
641
  preview?: Record<string, any>[] | null | undefined;
642
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
643
- source?: "api" | "web" | undefined;
642
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
643
+ source?: "web" | "api" | undefined;
644
644
  created_at?: string | undefined;
645
645
  last_updated?: string | undefined;
646
646
  }, {
@@ -761,7 +761,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
761
761
  parent?: Record<string, any> | undefined;
762
762
  license_id?: string | undefined;
763
763
  license?: Record<string, any> | undefined;
764
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
764
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
765
765
  name?: string | undefined;
766
766
  slug?: string | null | undefined;
767
767
  description?: {
@@ -779,8 +779,8 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
779
779
  stripe_price_id?: string | null | undefined;
780
780
  stripe_meter_id?: string | null | undefined;
781
781
  preview?: Record<string, any>[] | null | undefined;
782
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
783
- source?: "api" | "web" | undefined;
782
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
783
+ source?: "web" | "api" | undefined;
784
784
  created_at?: string | undefined;
785
785
  last_updated?: string | undefined;
786
786
  }>>;
@@ -210,23 +210,23 @@ declare const BlueprintSchema: z.ZodObject<{
210
210
  preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
211
211
  state: z.ZodEnum<{
212
212
  success: "success";
213
+ error: "error";
213
214
  queued: "queued";
214
215
  "in-progress": "in-progress";
215
216
  "timed-out": "timed-out";
216
- error: "error";
217
217
  }>;
218
218
  source: z.ZodEnum<{
219
- api: "api";
220
219
  web: "web";
220
+ api: "api";
221
221
  }>;
222
222
  created_at: z.ZodString;
223
223
  last_updated: z.ZodString;
224
224
  asset_type: z.ZodEnum<{
225
+ file: "file";
225
226
  user: "user";
226
227
  organization: "organization";
227
228
  team: "team";
228
229
  dataset: "dataset";
229
- file: "file";
230
230
  service: "service";
231
231
  route: "route";
232
232
  post: "post";
@@ -424,11 +424,11 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
424
424
  license_id: z.ZodOptional<z.ZodString>;
425
425
  license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
426
426
  asset_type: z.ZodOptional<z.ZodEnum<{
427
+ file: "file";
427
428
  user: "user";
428
429
  organization: "organization";
429
430
  team: "team";
430
431
  dataset: "dataset";
431
- file: "file";
432
432
  service: "service";
433
433
  route: "route";
434
434
  post: "post";
@@ -473,14 +473,14 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
473
473
  preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
474
474
  state: z.ZodOptional<z.ZodEnum<{
475
475
  success: "success";
476
+ error: "error";
476
477
  queued: "queued";
477
478
  "in-progress": "in-progress";
478
479
  "timed-out": "timed-out";
479
- error: "error";
480
480
  }>>;
481
481
  source: z.ZodOptional<z.ZodEnum<{
482
- api: "api";
483
482
  web: "web";
483
+ api: "api";
484
484
  }>>;
485
485
  created_at: z.ZodOptional<z.ZodString>;
486
486
  last_updated: z.ZodOptional<z.ZodString>;
@@ -621,7 +621,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
621
621
  parent?: Record<string, any> | undefined;
622
622
  license_id?: string | undefined;
623
623
  license?: Record<string, any> | undefined;
624
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
624
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
625
625
  name?: string | undefined;
626
626
  slug?: string | null | undefined;
627
627
  description?: {
@@ -639,8 +639,8 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
639
639
  stripe_price_id?: string | null | undefined;
640
640
  stripe_meter_id?: string | null | undefined;
641
641
  preview?: Record<string, any>[] | null | undefined;
642
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
643
- source?: "api" | "web" | undefined;
642
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
643
+ source?: "web" | "api" | undefined;
644
644
  created_at?: string | undefined;
645
645
  last_updated?: string | undefined;
646
646
  }, {
@@ -761,7 +761,7 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
761
761
  parent?: Record<string, any> | undefined;
762
762
  license_id?: string | undefined;
763
763
  license?: Record<string, any> | undefined;
764
- asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
764
+ asset_type?: "file" | "user" | "organization" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | "blueprint" | "replication" | undefined;
765
765
  name?: string | undefined;
766
766
  slug?: string | null | undefined;
767
767
  description?: {
@@ -779,8 +779,8 @@ declare const CreateBlueprintSchema: z.ZodPipe<z.ZodObject<{
779
779
  stripe_price_id?: string | null | undefined;
780
780
  stripe_meter_id?: string | null | undefined;
781
781
  preview?: Record<string, any>[] | null | undefined;
782
- state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
783
- source?: "api" | "web" | undefined;
782
+ state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
783
+ source?: "web" | "api" | undefined;
784
784
  created_at?: string | undefined;
785
785
  last_updated?: string | undefined;
786
786
  }>>;