@ourofoundation/ouro-js 3.5.0 → 3.5.2
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.
- package/dist/{chunk-BFBGVGNF.js → chunk-35CJDNHH.js} +2 -2
- package/dist/{chunk-BFBGVGNF.js.map → chunk-35CJDNHH.js.map} +1 -1
- package/dist/chunk-3UWDQLTN.js +2 -0
- package/dist/chunk-3UWDQLTN.js.map +1 -0
- package/dist/chunk-6GPIZJ4T.cjs +2 -0
- package/dist/chunk-6GPIZJ4T.cjs.map +1 -0
- package/dist/{chunk-CONKY65O.cjs → chunk-6ZJQTECB.cjs} +2 -2
- package/dist/{chunk-CONKY65O.cjs.map → chunk-6ZJQTECB.cjs.map} +1 -1
- package/dist/{chunk-XWXLCG4E.cjs → chunk-BWAEBQKV.cjs} +2 -2
- package/dist/chunk-BWAEBQKV.cjs.map +1 -0
- package/dist/chunk-F5CWCYOP.cjs +2 -0
- package/dist/chunk-F5CWCYOP.cjs.map +1 -0
- package/dist/{chunk-QT3A4ULM.cjs → chunk-FRMPLGE4.cjs} +2 -2
- package/dist/{chunk-QT3A4ULM.cjs.map → chunk-FRMPLGE4.cjs.map} +1 -1
- package/dist/{chunk-6YF2RSXS.js → chunk-G3VMEPTP.js} +2 -2
- package/dist/{chunk-6YF2RSXS.js.map → chunk-G3VMEPTP.js.map} +1 -1
- package/dist/chunk-HIXNQKVP.cjs +2 -0
- package/dist/{chunk-NEINJFFK.cjs.map → chunk-HIXNQKVP.cjs.map} +1 -1
- package/dist/chunk-IWOXGKK4.js +2 -0
- package/dist/chunk-IWOXGKK4.js.map +1 -0
- package/dist/chunk-KCVE35IO.js +2 -0
- package/dist/chunk-KCVE35IO.js.map +1 -0
- package/dist/chunk-MLTO7TMM.js +2 -0
- package/dist/chunk-MLTO7TMM.js.map +1 -0
- package/dist/chunk-OBWPO2QT.cjs +2 -0
- package/dist/chunk-OBWPO2QT.cjs.map +1 -0
- package/dist/{chunk-Z3ALIFYO.js → chunk-R2W4NEEJ.js} +2 -2
- package/dist/chunk-R2W4NEEJ.js.map +1 -0
- package/dist/{chunk-IP4OVRZB.cjs → chunk-ROMY5WNQ.cjs} +2 -2
- package/dist/chunk-ROMY5WNQ.cjs.map +1 -0
- package/dist/chunk-SR5UZ4NP.js +2 -0
- package/dist/chunk-SR5UZ4NP.js.map +1 -0
- package/dist/{chunk-JKTQY4RU.js → chunk-TYOQ32UV.js} +2 -2
- package/dist/{chunk-JKTQY4RU.js.map → chunk-TYOQ32UV.js.map} +1 -1
- package/dist/chunk-V73EW77Y.cjs +2 -0
- package/dist/chunk-V73EW77Y.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/assets.cjs +1 -1
- package/dist/schema/assets.d.cts +85 -84
- package/dist/schema/assets.d.ts +85 -84
- package/dist/schema/assets.js +1 -1
- package/dist/schema/comments.cjs +1 -1
- package/dist/schema/comments.d.cts +140 -136
- package/dist/schema/comments.d.ts +140 -136
- package/dist/schema/comments.js +1 -1
- package/dist/schema/common.d.cts +16 -16
- package/dist/schema/common.d.ts +16 -16
- package/dist/schema/conversations.cjs +1 -1
- package/dist/schema/conversations.d.cts +70 -69
- package/dist/schema/conversations.d.ts +70 -69
- package/dist/schema/conversations.js +1 -1
- package/dist/schema/datasets.cjs +1 -1
- package/dist/schema/datasets.d.cts +283 -107
- package/dist/schema/datasets.d.ts +283 -107
- package/dist/schema/datasets.js +1 -1
- package/dist/schema/files.cjs +1 -1
- package/dist/schema/files.d.cts +101 -100
- package/dist/schema/files.d.ts +101 -100
- package/dist/schema/files.js +1 -1
- package/dist/schema/notifications.d.cts +2 -2
- package/dist/schema/notifications.d.ts +2 -2
- package/dist/schema/organizations.d.cts +1 -1
- package/dist/schema/organizations.d.ts +1 -1
- package/dist/schema/posts.cjs +1 -1
- package/dist/schema/posts.d.cts +131 -129
- package/dist/schema/posts.d.ts +131 -129
- package/dist/schema/posts.js +1 -1
- package/dist/schema/quests.cjs +1 -1
- package/dist/schema/quests.d.cts +178 -177
- package/dist/schema/quests.d.ts +178 -177
- package/dist/schema/quests.js +1 -1
- package/dist/schema/services.cjs +1 -1
- package/dist/schema/services.d.cts +131 -127
- package/dist/schema/services.d.ts +131 -127
- package/dist/schema/services.js +1 -1
- package/dist/schema/teams.d.cts +18 -18
- package/dist/schema/teams.d.ts +18 -18
- package/dist/utils/quest-submission.cjs +1 -1
- package/dist/utils/quest-submission.d.cts +7 -7
- package/dist/utils/quest-submission.d.ts +7 -7
- package/dist/utils/quest-submission.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7F26V24D.js +0 -2
- package/dist/chunk-7F26V24D.js.map +0 -1
- package/dist/chunk-B4225TEG.js +0 -2
- package/dist/chunk-B4225TEG.js.map +0 -1
- package/dist/chunk-BQ5WODME.cjs +0 -2
- package/dist/chunk-BQ5WODME.cjs.map +0 -1
- package/dist/chunk-G2MXCB7Q.js +0 -2
- package/dist/chunk-G2MXCB7Q.js.map +0 -1
- package/dist/chunk-IP4OVRZB.cjs.map +0 -1
- package/dist/chunk-JW7FACNZ.cjs +0 -2
- package/dist/chunk-JW7FACNZ.cjs.map +0 -1
- package/dist/chunk-MH4A7XAY.cjs +0 -2
- package/dist/chunk-MH4A7XAY.cjs.map +0 -1
- package/dist/chunk-NEINJFFK.cjs +0 -2
- package/dist/chunk-U3F23ASS.js +0 -2
- package/dist/chunk-U3F23ASS.js.map +0 -1
- package/dist/chunk-WUC5AUUJ.cjs +0 -2
- package/dist/chunk-WUC5AUUJ.cjs.map +0 -1
- package/dist/chunk-XWXLCG4E.cjs.map +0 -1
- package/dist/chunk-Y6AKG4FJ.js +0 -2
- package/dist/chunk-Y6AKG4FJ.js.map +0 -1
- package/dist/chunk-Z3ALIFYO.js.map +0 -1
|
@@ -108,9 +108,9 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
108
108
|
none: "none";
|
|
109
109
|
}>>;
|
|
110
110
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
111
|
-
organization: "organization";
|
|
112
111
|
public: "public";
|
|
113
112
|
private: "private";
|
|
113
|
+
organization: "organization";
|
|
114
114
|
monetized: "monetized";
|
|
115
115
|
inherit: "inherit";
|
|
116
116
|
}>>;
|
|
@@ -182,9 +182,9 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
182
182
|
text: z.ZodString;
|
|
183
183
|
}, z.core.$strip>>>;
|
|
184
184
|
visibility: z.ZodEnum<{
|
|
185
|
-
organization: "organization";
|
|
186
185
|
public: "public";
|
|
187
186
|
private: "private";
|
|
187
|
+
organization: "organization";
|
|
188
188
|
monetized: "monetized";
|
|
189
189
|
inherit: "inherit";
|
|
190
190
|
}>;
|
|
@@ -210,23 +210,24 @@ declare const ServiceSchema: 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
|
+
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
222
223
|
created_at: z.ZodString;
|
|
223
224
|
last_updated: z.ZodString;
|
|
224
225
|
asset_type: z.ZodEnum<{
|
|
225
|
-
user: "user";
|
|
226
226
|
organization: "organization";
|
|
227
|
+
file: "file";
|
|
228
|
+
user: "user";
|
|
227
229
|
team: "team";
|
|
228
230
|
dataset: "dataset";
|
|
229
|
-
file: "file";
|
|
230
231
|
service: "service";
|
|
231
232
|
route: "route";
|
|
232
233
|
post: "post";
|
|
@@ -261,15 +262,15 @@ declare const ServiceSchema: z.ZodObject<{
|
|
|
261
262
|
}, z.core.$strip>;
|
|
262
263
|
declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
263
264
|
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
264
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
265
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
266
|
-
text: z.ZodString;
|
|
267
|
-
}, z.core.$strip>>>>;
|
|
268
265
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
269
266
|
none: "none";
|
|
270
267
|
"pay-to-unlock": "pay-to-unlock";
|
|
271
268
|
"pay-per-use": "pay-per-use";
|
|
272
269
|
}>>;
|
|
270
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
271
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
272
|
+
text: z.ZodString;
|
|
273
|
+
}, z.core.$strip>>>>;
|
|
273
274
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
274
275
|
license_id: z.ZodOptional<z.ZodString>;
|
|
275
276
|
price: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -294,30 +295,30 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
294
295
|
name_url_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
295
296
|
state: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
296
297
|
success: "success";
|
|
298
|
+
error: "error";
|
|
297
299
|
queued: "queued";
|
|
298
300
|
"in-progress": "in-progress";
|
|
299
301
|
"timed-out": "timed-out";
|
|
300
|
-
error: "error";
|
|
301
302
|
}>>>;
|
|
302
303
|
source: z.ZodDefault<z.ZodEnum<{
|
|
303
|
-
api: "api";
|
|
304
304
|
web: "web";
|
|
305
|
+
api: "api";
|
|
305
306
|
}>>;
|
|
306
307
|
visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
307
|
-
organization: "organization";
|
|
308
308
|
public: "public";
|
|
309
309
|
private: "private";
|
|
310
|
+
organization: "organization";
|
|
310
311
|
monetized: "monetized";
|
|
311
312
|
inherit: "inherit";
|
|
312
313
|
}>>>;
|
|
313
314
|
created_at: z.ZodDefault<z.ZodString>;
|
|
314
315
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
315
316
|
asset_type: z.ZodEnum<{
|
|
316
|
-
user: "user";
|
|
317
317
|
organization: "organization";
|
|
318
|
+
file: "file";
|
|
319
|
+
user: "user";
|
|
318
320
|
team: "team";
|
|
319
321
|
dataset: "dataset";
|
|
320
|
-
file: "file";
|
|
321
322
|
service: "service";
|
|
322
323
|
route: "route";
|
|
323
324
|
post: "post";
|
|
@@ -354,12 +355,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
354
355
|
team_id: string | null;
|
|
355
356
|
org_id: string | null;
|
|
356
357
|
name: string;
|
|
357
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
358
|
-
source: "
|
|
359
|
-
visibility: "
|
|
358
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
359
|
+
source: "web" | "api";
|
|
360
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
360
361
|
created_at: string;
|
|
361
362
|
last_updated: string;
|
|
362
|
-
asset_type: "
|
|
363
|
+
asset_type: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
|
|
363
364
|
metadata: {
|
|
364
365
|
authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
|
|
365
366
|
base_url: string;
|
|
@@ -376,11 +377,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
376
377
|
reply_to_comment_id?: string | null | undefined;
|
|
377
378
|
};
|
|
378
379
|
parent?: Record<string, any> | undefined;
|
|
380
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
379
381
|
description?: {
|
|
380
382
|
json: Record<string, any>;
|
|
381
383
|
text: string;
|
|
382
384
|
} | null | undefined;
|
|
383
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
384
385
|
parent_id?: string | null | undefined;
|
|
385
386
|
license_id?: string | undefined;
|
|
386
387
|
price?: number | null | undefined;
|
|
@@ -398,12 +399,12 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
398
399
|
team_id: string | null;
|
|
399
400
|
org_id: string | null;
|
|
400
401
|
name: string;
|
|
401
|
-
state: "success" | "queued" | "in-progress" | "timed-out"
|
|
402
|
-
source: "
|
|
403
|
-
visibility: "
|
|
402
|
+
state: "success" | "error" | "queued" | "in-progress" | "timed-out";
|
|
403
|
+
source: "web" | "api";
|
|
404
|
+
visibility: "public" | "private" | "organization" | "monetized" | "inherit";
|
|
404
405
|
created_at: string;
|
|
405
406
|
last_updated: string;
|
|
406
|
-
asset_type: "
|
|
407
|
+
asset_type: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation";
|
|
407
408
|
metadata: {
|
|
408
409
|
authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
|
|
409
410
|
base_url: string;
|
|
@@ -420,11 +421,11 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
420
421
|
reply_to_comment_id?: string | null | undefined;
|
|
421
422
|
};
|
|
422
423
|
parent?: Record<string, any> | undefined;
|
|
424
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
423
425
|
description?: {
|
|
424
426
|
json: Record<string, any>;
|
|
425
427
|
text: string;
|
|
426
428
|
} | null | undefined;
|
|
427
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
428
429
|
parent_id?: string | null | undefined;
|
|
429
430
|
license_id?: string | undefined;
|
|
430
431
|
price?: number | null | undefined;
|
|
@@ -439,12 +440,17 @@ declare const CreateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
439
440
|
name_url_slug?: string | null | undefined;
|
|
440
441
|
}>>;
|
|
441
442
|
declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
443
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
444
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
445
|
+
web: "web";
|
|
446
|
+
api: "api";
|
|
447
|
+
}>>;
|
|
442
448
|
asset_type: z.ZodOptional<z.ZodEnum<{
|
|
443
|
-
user: "user";
|
|
444
449
|
organization: "organization";
|
|
450
|
+
file: "file";
|
|
451
|
+
user: "user";
|
|
445
452
|
team: "team";
|
|
446
453
|
dataset: "dataset";
|
|
447
|
-
file: "file";
|
|
448
454
|
service: "service";
|
|
449
455
|
route: "route";
|
|
450
456
|
post: "post";
|
|
@@ -452,49 +458,13 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
452
458
|
comment: "comment";
|
|
453
459
|
conversation: "conversation";
|
|
454
460
|
}>>;
|
|
455
|
-
org_id: z.ZodOptional<z.ZodUUID>;
|
|
456
|
-
parent: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
457
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
458
|
-
authentication: z.ZodEnum<{
|
|
459
|
-
"Personal Access Token": "Personal Access Token";
|
|
460
|
-
Ouro: "Ouro";
|
|
461
|
-
None: "None";
|
|
462
|
-
"OAuth 2.0": "OAuth 2.0";
|
|
463
|
-
}>;
|
|
464
|
-
base_url: z.ZodString;
|
|
465
|
-
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
466
|
-
spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
467
|
-
spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
468
|
-
auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
469
|
-
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
470
|
-
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
471
|
-
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
472
|
-
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
473
|
-
originality: z.ZodOptional<z.ZodEnum<{
|
|
474
|
-
original: "original";
|
|
475
|
-
derivative: "derivative";
|
|
476
|
-
"third-party": "third-party";
|
|
477
|
-
}>>;
|
|
478
|
-
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
479
|
-
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
480
|
-
}, z.core.$strip>>;
|
|
481
|
-
name: z.ZodOptional<z.ZodString>;
|
|
482
|
-
team_id: z.ZodOptional<z.ZodUUID>;
|
|
483
461
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
484
|
-
organization: "organization";
|
|
485
462
|
public: "public";
|
|
486
463
|
private: "private";
|
|
464
|
+
organization: "organization";
|
|
487
465
|
monetized: "monetized";
|
|
488
466
|
inherit: "inherit";
|
|
489
467
|
}>>;
|
|
490
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
491
|
-
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
492
|
-
text: z.ZodString;
|
|
493
|
-
}, z.core.$strip>>>>;
|
|
494
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
495
|
-
api: "api";
|
|
496
|
-
web: "web";
|
|
497
|
-
}>>;
|
|
498
468
|
monetization: z.ZodOptional<z.ZodEnum<{
|
|
499
469
|
none: "none";
|
|
500
470
|
"pay-to-unlock": "pay-to-unlock";
|
|
@@ -502,11 +472,18 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
502
472
|
}>>;
|
|
503
473
|
state: z.ZodOptional<z.ZodEnum<{
|
|
504
474
|
success: "success";
|
|
475
|
+
error: "error";
|
|
505
476
|
queued: "queued";
|
|
506
477
|
"in-progress": "in-progress";
|
|
507
478
|
"timed-out": "timed-out";
|
|
508
|
-
error: "error";
|
|
509
479
|
}>>;
|
|
480
|
+
name: z.ZodOptional<z.ZodString>;
|
|
481
|
+
org_id: z.ZodOptional<z.ZodUUID>;
|
|
482
|
+
team_id: z.ZodOptional<z.ZodUUID>;
|
|
483
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
484
|
+
json: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
485
|
+
text: z.ZodString;
|
|
486
|
+
}, z.core.$strip>>>>;
|
|
510
487
|
parent_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
511
488
|
license_id: z.ZodOptional<z.ZodString>;
|
|
512
489
|
license: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -525,38 +502,47 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
525
502
|
stripe_product_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
526
503
|
stripe_price_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
527
504
|
stripe_meter_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
505
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
506
|
+
authentication: z.ZodEnum<{
|
|
507
|
+
"Personal Access Token": "Personal Access Token";
|
|
508
|
+
Ouro: "Ouro";
|
|
509
|
+
None: "None";
|
|
510
|
+
"OAuth 2.0": "OAuth 2.0";
|
|
511
|
+
}>;
|
|
512
|
+
base_url: z.ZodString;
|
|
513
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
514
|
+
spec_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
|
+
spec_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
516
|
+
auth_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
517
|
+
doi_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
518
|
+
external_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
519
|
+
paper_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
520
|
+
github_url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
521
|
+
originality: z.ZodOptional<z.ZodEnum<{
|
|
522
|
+
original: "original";
|
|
523
|
+
derivative: "derivative";
|
|
524
|
+
"third-party": "third-party";
|
|
525
|
+
}>>;
|
|
526
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
527
|
+
reply_to_comment_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
528
|
+
}, z.core.$strip>>;
|
|
528
529
|
preview: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>>;
|
|
529
530
|
last_updated: z.ZodDefault<z.ZodString>;
|
|
530
531
|
}, z.core.$strip>, z.ZodTransform<{
|
|
531
532
|
last_updated: string;
|
|
532
|
-
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
533
|
-
org_id?: string | undefined;
|
|
534
533
|
parent?: Record<string, any> | undefined;
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
spec_url?: string | null | undefined;
|
|
541
|
-
auth_url?: string | null | undefined;
|
|
542
|
-
doi_url?: string | null | undefined;
|
|
543
|
-
external_url?: string | null | undefined;
|
|
544
|
-
paper_url?: string | null | undefined;
|
|
545
|
-
github_url?: string | null | undefined;
|
|
546
|
-
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
547
|
-
source?: string | null | undefined;
|
|
548
|
-
reply_to_comment_id?: string | null | undefined;
|
|
549
|
-
} | undefined;
|
|
534
|
+
source?: "web" | "api" | undefined;
|
|
535
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
536
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
537
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
538
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
550
539
|
name?: string | undefined;
|
|
540
|
+
org_id?: string | undefined;
|
|
551
541
|
team_id?: string | undefined;
|
|
552
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
553
542
|
description?: {
|
|
554
543
|
json: Record<string, any>;
|
|
555
544
|
text: string;
|
|
556
545
|
} | null | undefined;
|
|
557
|
-
source?: "api" | "web" | undefined;
|
|
558
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
559
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
560
546
|
parent_id?: string | null | undefined;
|
|
561
547
|
license_id?: string | undefined;
|
|
562
548
|
license?: Record<string, any> | undefined;
|
|
@@ -569,12 +555,6 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
569
555
|
stripe_product_id?: string | null | undefined;
|
|
570
556
|
stripe_price_id?: string | null | undefined;
|
|
571
557
|
stripe_meter_id?: string | null | undefined;
|
|
572
|
-
preview?: Record<string, any>[] | null | undefined;
|
|
573
|
-
}, {
|
|
574
|
-
last_updated: string;
|
|
575
|
-
asset_type?: "user" | "organization" | "team" | "dataset" | "file" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
576
|
-
org_id?: string | undefined;
|
|
577
|
-
parent?: Record<string, any> | undefined;
|
|
578
558
|
metadata?: {
|
|
579
559
|
authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
|
|
580
560
|
base_url: string;
|
|
@@ -590,16 +570,22 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
590
570
|
source?: string | null | undefined;
|
|
591
571
|
reply_to_comment_id?: string | null | undefined;
|
|
592
572
|
} | undefined;
|
|
573
|
+
preview?: Record<string, any>[] | null | undefined;
|
|
574
|
+
}, {
|
|
575
|
+
last_updated: string;
|
|
576
|
+
parent?: Record<string, any> | undefined;
|
|
577
|
+
source?: "web" | "api" | undefined;
|
|
578
|
+
asset_type?: "organization" | "file" | "user" | "team" | "dataset" | "service" | "route" | "post" | "quest" | "comment" | "conversation" | undefined;
|
|
579
|
+
visibility?: "public" | "private" | "organization" | "monetized" | "inherit" | undefined;
|
|
580
|
+
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
581
|
+
state?: "success" | "error" | "queued" | "in-progress" | "timed-out" | undefined;
|
|
593
582
|
name?: string | undefined;
|
|
583
|
+
org_id?: string | undefined;
|
|
594
584
|
team_id?: string | undefined;
|
|
595
|
-
visibility?: "organization" | "public" | "private" | "monetized" | "inherit" | undefined;
|
|
596
585
|
description?: {
|
|
597
586
|
json: Record<string, any>;
|
|
598
587
|
text: string;
|
|
599
588
|
} | null | undefined;
|
|
600
|
-
source?: "api" | "web" | undefined;
|
|
601
|
-
monetization?: "none" | "pay-to-unlock" | "pay-per-use" | undefined;
|
|
602
|
-
state?: "success" | "queued" | "in-progress" | "timed-out" | "error" | undefined;
|
|
603
589
|
parent_id?: string | null | undefined;
|
|
604
590
|
license_id?: string | undefined;
|
|
605
591
|
license?: Record<string, any> | undefined;
|
|
@@ -612,6 +598,21 @@ declare const UpdateServiceSchema: z.ZodPipe<z.ZodObject<{
|
|
|
612
598
|
stripe_product_id?: string | null | undefined;
|
|
613
599
|
stripe_price_id?: string | null | undefined;
|
|
614
600
|
stripe_meter_id?: string | null | undefined;
|
|
601
|
+
metadata?: {
|
|
602
|
+
authentication: "Personal Access Token" | "Ouro" | "None" | "OAuth 2.0";
|
|
603
|
+
base_url: string;
|
|
604
|
+
version?: string | null | undefined;
|
|
605
|
+
spec_path?: string | null | undefined;
|
|
606
|
+
spec_url?: string | null | undefined;
|
|
607
|
+
auth_url?: string | null | undefined;
|
|
608
|
+
doi_url?: string | null | undefined;
|
|
609
|
+
external_url?: string | null | undefined;
|
|
610
|
+
paper_url?: string | null | undefined;
|
|
611
|
+
github_url?: string | null | undefined;
|
|
612
|
+
originality?: "original" | "derivative" | "third-party" | undefined;
|
|
613
|
+
source?: string | null | undefined;
|
|
614
|
+
reply_to_comment_id?: string | null | undefined;
|
|
615
|
+
} | undefined;
|
|
615
616
|
preview?: Record<string, any>[] | null | undefined;
|
|
616
617
|
}>>;
|
|
617
618
|
declare const ExecutionModeSchema: z.ZodEnum<{
|
|
@@ -620,8 +621,8 @@ declare const ExecutionModeSchema: z.ZodEnum<{
|
|
|
620
621
|
}>;
|
|
621
622
|
declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
|
|
622
623
|
asset_type: z.ZodEnum<{
|
|
623
|
-
dataset: "dataset";
|
|
624
624
|
file: "file";
|
|
625
|
+
dataset: "dataset";
|
|
625
626
|
post: "post";
|
|
626
627
|
}>;
|
|
627
628
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -638,8 +639,8 @@ declare const RouteInputAssetDeclarationSchema: z.ZodObject<{
|
|
|
638
639
|
}, z.core.$catchall<z.ZodAny>>;
|
|
639
640
|
declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
|
|
640
641
|
asset_type: z.ZodEnum<{
|
|
641
|
-
dataset: "dataset";
|
|
642
642
|
file: "file";
|
|
643
|
+
dataset: "dataset";
|
|
643
644
|
post: "post";
|
|
644
645
|
}>;
|
|
645
646
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -648,8 +649,8 @@ declare const RouteOutputAssetDeclarationSchema: z.ZodObject<{
|
|
|
648
649
|
}, z.core.$catchall<z.ZodAny>>;
|
|
649
650
|
declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
650
651
|
asset_type: z.ZodEnum<{
|
|
651
|
-
dataset: "dataset";
|
|
652
652
|
file: "file";
|
|
653
|
+
dataset: "dataset";
|
|
653
654
|
post: "post";
|
|
654
655
|
}>;
|
|
655
656
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -666,8 +667,8 @@ declare const RouteInputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
666
667
|
}, z.core.$catchall<z.ZodAny>>>;
|
|
667
668
|
declare const RouteOutputAssetsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
668
669
|
asset_type: z.ZodEnum<{
|
|
669
|
-
dataset: "dataset";
|
|
670
670
|
file: "file";
|
|
671
|
+
dataset: "dataset";
|
|
671
672
|
post: "post";
|
|
672
673
|
}>;
|
|
673
674
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -692,8 +693,8 @@ declare const RouteDetailSchema: z.ZodObject<{
|
|
|
692
693
|
responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
693
694
|
input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
694
695
|
asset_type: z.ZodEnum<{
|
|
695
|
-
dataset: "dataset";
|
|
696
696
|
file: "file";
|
|
697
|
+
dataset: "dataset";
|
|
697
698
|
post: "post";
|
|
698
699
|
}>;
|
|
699
700
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -709,8 +710,8 @@ declare const RouteDetailSchema: z.ZodObject<{
|
|
|
709
710
|
contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
710
711
|
}, z.core.$catchall<z.ZodAny>>>>>;
|
|
711
712
|
input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
712
|
-
dataset: "dataset";
|
|
713
713
|
file: "file";
|
|
714
|
+
dataset: "dataset";
|
|
714
715
|
post: "post";
|
|
715
716
|
}>>>;
|
|
716
717
|
input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -725,8 +726,8 @@ declare const RouteDetailSchema: z.ZodObject<{
|
|
|
725
726
|
input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
726
727
|
output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
727
728
|
asset_type: z.ZodEnum<{
|
|
728
|
-
dataset: "dataset";
|
|
729
729
|
file: "file";
|
|
730
|
+
dataset: "dataset";
|
|
730
731
|
post: "post";
|
|
731
732
|
}>;
|
|
732
733
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -734,8 +735,8 @@ declare const RouteDetailSchema: z.ZodObject<{
|
|
|
734
735
|
contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
735
736
|
}, z.core.$catchall<z.ZodAny>>>>>;
|
|
736
737
|
output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
737
|
-
dataset: "dataset";
|
|
738
738
|
file: "file";
|
|
739
|
+
dataset: "dataset";
|
|
739
740
|
post: "post";
|
|
740
741
|
}>>>;
|
|
741
742
|
output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -866,9 +867,9 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
866
867
|
none: "none";
|
|
867
868
|
}>>;
|
|
868
869
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
869
|
-
organization: "organization";
|
|
870
870
|
public: "public";
|
|
871
871
|
private: "private";
|
|
872
|
+
organization: "organization";
|
|
872
873
|
monetized: "monetized";
|
|
873
874
|
inherit: "inherit";
|
|
874
875
|
}>>;
|
|
@@ -940,9 +941,9 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
940
941
|
text: z.ZodString;
|
|
941
942
|
}, z.core.$strip>>>;
|
|
942
943
|
visibility: z.ZodEnum<{
|
|
943
|
-
organization: "organization";
|
|
944
944
|
public: "public";
|
|
945
945
|
private: "private";
|
|
946
|
+
organization: "organization";
|
|
946
947
|
monetized: "monetized";
|
|
947
948
|
inherit: "inherit";
|
|
948
949
|
}>;
|
|
@@ -981,23 +982,24 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
981
982
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
982
983
|
state: z.ZodEnum<{
|
|
983
984
|
success: "success";
|
|
985
|
+
error: "error";
|
|
984
986
|
queued: "queued";
|
|
985
987
|
"in-progress": "in-progress";
|
|
986
988
|
"timed-out": "timed-out";
|
|
987
|
-
error: "error";
|
|
988
989
|
}>;
|
|
989
990
|
source: z.ZodEnum<{
|
|
990
|
-
api: "api";
|
|
991
991
|
web: "web";
|
|
992
|
+
api: "api";
|
|
992
993
|
}>;
|
|
994
|
+
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
993
995
|
created_at: z.ZodString;
|
|
994
996
|
last_updated: z.ZodString;
|
|
995
997
|
asset_type: z.ZodEnum<{
|
|
996
|
-
user: "user";
|
|
997
998
|
organization: "organization";
|
|
999
|
+
file: "file";
|
|
1000
|
+
user: "user";
|
|
998
1001
|
team: "team";
|
|
999
1002
|
dataset: "dataset";
|
|
1000
|
-
file: "file";
|
|
1001
1003
|
service: "service";
|
|
1002
1004
|
route: "route";
|
|
1003
1005
|
post: "post";
|
|
@@ -1023,8 +1025,8 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
1023
1025
|
responses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
1024
1026
|
input_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1025
1027
|
asset_type: z.ZodEnum<{
|
|
1026
|
-
dataset: "dataset";
|
|
1027
1028
|
file: "file";
|
|
1029
|
+
dataset: "dataset";
|
|
1028
1030
|
post: "post";
|
|
1029
1031
|
}>;
|
|
1030
1032
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1040,8 +1042,8 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
1040
1042
|
contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1041
1043
|
}, z.core.$catchall<z.ZodAny>>>>>;
|
|
1042
1044
|
input_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1043
|
-
dataset: "dataset";
|
|
1044
1045
|
file: "file";
|
|
1046
|
+
dataset: "dataset";
|
|
1045
1047
|
post: "post";
|
|
1046
1048
|
}>>>;
|
|
1047
1049
|
input_filter: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -1056,8 +1058,8 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
1056
1058
|
input_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1057
1059
|
output_assets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1058
1060
|
asset_type: z.ZodEnum<{
|
|
1059
|
-
dataset: "dataset";
|
|
1060
1061
|
file: "file";
|
|
1062
|
+
dataset: "dataset";
|
|
1061
1063
|
post: "post";
|
|
1062
1064
|
}>;
|
|
1063
1065
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1065,8 +1067,8 @@ declare const RouteSchema: z.ZodObject<{
|
|
|
1065
1067
|
contains_file_extensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1066
1068
|
}, z.core.$catchall<z.ZodAny>>>>>;
|
|
1067
1069
|
output_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1068
|
-
dataset: "dataset";
|
|
1069
1070
|
file: "file";
|
|
1071
|
+
dataset: "dataset";
|
|
1070
1072
|
post: "post";
|
|
1071
1073
|
}>>>;
|
|
1072
1074
|
output_file_extension: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1207,9 +1209,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1207
1209
|
none: "none";
|
|
1208
1210
|
}>>;
|
|
1209
1211
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1210
|
-
organization: "organization";
|
|
1211
1212
|
public: "public";
|
|
1212
1213
|
private: "private";
|
|
1214
|
+
organization: "organization";
|
|
1213
1215
|
monetized: "monetized";
|
|
1214
1216
|
inherit: "inherit";
|
|
1215
1217
|
}>>;
|
|
@@ -1274,11 +1276,11 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1274
1276
|
license_id: z.ZodString;
|
|
1275
1277
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1276
1278
|
asset_type: z.ZodEnum<{
|
|
1277
|
-
user: "user";
|
|
1278
1279
|
organization: "organization";
|
|
1280
|
+
file: "file";
|
|
1281
|
+
user: "user";
|
|
1279
1282
|
team: "team";
|
|
1280
1283
|
dataset: "dataset";
|
|
1281
|
-
file: "file";
|
|
1282
1284
|
service: "service";
|
|
1283
1285
|
route: "route";
|
|
1284
1286
|
post: "post";
|
|
@@ -1294,9 +1296,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1294
1296
|
text: z.ZodString;
|
|
1295
1297
|
}, z.core.$strip>>>;
|
|
1296
1298
|
visibility: z.ZodEnum<{
|
|
1297
|
-
organization: "organization";
|
|
1298
1299
|
public: "public";
|
|
1299
1300
|
private: "private";
|
|
1301
|
+
organization: "organization";
|
|
1300
1302
|
monetized: "monetized";
|
|
1301
1303
|
inherit: "inherit";
|
|
1302
1304
|
}>;
|
|
@@ -1335,15 +1337,16 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1335
1337
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
1336
1338
|
state: z.ZodEnum<{
|
|
1337
1339
|
success: "success";
|
|
1340
|
+
error: "error";
|
|
1338
1341
|
queued: "queued";
|
|
1339
1342
|
"in-progress": "in-progress";
|
|
1340
1343
|
"timed-out": "timed-out";
|
|
1341
|
-
error: "error";
|
|
1342
1344
|
}>;
|
|
1343
1345
|
source: z.ZodEnum<{
|
|
1344
|
-
api: "api";
|
|
1345
1346
|
web: "web";
|
|
1347
|
+
api: "api";
|
|
1346
1348
|
}>;
|
|
1349
|
+
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1347
1350
|
created_at: z.ZodString;
|
|
1348
1351
|
last_updated: z.ZodString;
|
|
1349
1352
|
}, z.core.$strip>>>;
|
|
@@ -1456,9 +1459,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1456
1459
|
none: "none";
|
|
1457
1460
|
}>>;
|
|
1458
1461
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1459
|
-
organization: "organization";
|
|
1460
1462
|
public: "public";
|
|
1461
1463
|
private: "private";
|
|
1464
|
+
organization: "organization";
|
|
1462
1465
|
monetized: "monetized";
|
|
1463
1466
|
inherit: "inherit";
|
|
1464
1467
|
}>>;
|
|
@@ -1523,11 +1526,11 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1523
1526
|
license_id: z.ZodString;
|
|
1524
1527
|
license: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1525
1528
|
asset_type: z.ZodEnum<{
|
|
1526
|
-
user: "user";
|
|
1527
1529
|
organization: "organization";
|
|
1530
|
+
file: "file";
|
|
1531
|
+
user: "user";
|
|
1528
1532
|
team: "team";
|
|
1529
1533
|
dataset: "dataset";
|
|
1530
|
-
file: "file";
|
|
1531
1534
|
service: "service";
|
|
1532
1535
|
route: "route";
|
|
1533
1536
|
post: "post";
|
|
@@ -1543,9 +1546,9 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1543
1546
|
text: z.ZodString;
|
|
1544
1547
|
}, z.core.$strip>>>;
|
|
1545
1548
|
visibility: z.ZodEnum<{
|
|
1546
|
-
organization: "organization";
|
|
1547
1549
|
public: "public";
|
|
1548
1550
|
private: "private";
|
|
1551
|
+
organization: "organization";
|
|
1549
1552
|
monetized: "monetized";
|
|
1550
1553
|
inherit: "inherit";
|
|
1551
1554
|
}>;
|
|
@@ -1584,15 +1587,16 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1584
1587
|
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
|
|
1585
1588
|
state: z.ZodEnum<{
|
|
1586
1589
|
success: "success";
|
|
1590
|
+
error: "error";
|
|
1587
1591
|
queued: "queued";
|
|
1588
1592
|
"in-progress": "in-progress";
|
|
1589
1593
|
"timed-out": "timed-out";
|
|
1590
|
-
error: "error";
|
|
1591
1594
|
}>;
|
|
1592
1595
|
source: z.ZodEnum<{
|
|
1593
|
-
api: "api";
|
|
1594
1596
|
web: "web";
|
|
1597
|
+
api: "api";
|
|
1595
1598
|
}>;
|
|
1599
|
+
is_pinned_in_team: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1596
1600
|
created_at: z.ZodString;
|
|
1597
1601
|
last_updated: z.ZodString;
|
|
1598
1602
|
}, z.core.$strip>>>;
|
|
@@ -1601,10 +1605,10 @@ declare const ActionSchema: z.ZodObject<{
|
|
|
1601
1605
|
webhook_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1602
1606
|
status: z.ZodEnum<{
|
|
1603
1607
|
success: "success";
|
|
1608
|
+
error: "error";
|
|
1604
1609
|
queued: "queued";
|
|
1605
1610
|
"in-progress": "in-progress";
|
|
1606
1611
|
"timed-out": "timed-out";
|
|
1607
|
-
error: "error";
|
|
1608
1612
|
}>;
|
|
1609
1613
|
created_at: z.ZodString;
|
|
1610
1614
|
last_updated: z.ZodString;
|
package/dist/schema/services.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{k as ActionSchema,b as CreateServiceSchema,d as ExecutionModeSchema,e as RouteInputAssetDeclarationSchema,g as RouteInputAssetsSchema,i as RouteMetricsSchema,f as RouteOutputAssetDeclarationSchema,h as RouteOutputAssetsSchema,j as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'../chunk-
|
|
1
|
+
export{k as ActionSchema,b as CreateServiceSchema,d as ExecutionModeSchema,e as RouteInputAssetDeclarationSchema,g as RouteInputAssetsSchema,i as RouteMetricsSchema,f as RouteOutputAssetDeclarationSchema,h as RouteOutputAssetsSchema,j as RouteSchema,a as ServiceSchema,c as UpdateServiceSchema}from'../chunk-MLTO7TMM.js';import'../chunk-SR5UZ4NP.js';import'../chunk-CF56NFUG.js';import'../chunk-WLGOABHV.js';import'../chunk-3N56ERWF.js';import'../chunk-WRHPQNEL.js';import'../chunk-DUBPWSCA.js';//# sourceMappingURL=services.js.map
|
|
2
2
|
//# sourceMappingURL=services.js.map
|