@devpad/api 2.3.4 → 2.3.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.
@@ -1,6 +1,6 @@
1
1
  import { InferSelectModel } from 'drizzle-orm';
2
2
  import { z } from 'zod';
3
- import { j as api_keys, w as project, J as todo_updates, i as action, A as ActionType, o as milestone, m as goal, B as task, l as codebase_tasks, E as task_link, y as tag, u as pipeline_run, v as pipeline_stage_event, r as pipeline_grant, t as pipeline_package, p as pipeline_analysis_template, s as pipeline_oidc_trust, k as apply_log, n as ignore_path, q as pipeline_approval, x as session, z as tag_config, D as task_event, H as task_rollup, I as task_tag, K as tracker_result, L as user } from './schema.d-DfzLWuRW.js';
3
+ import { j as api_keys, z as project, N as todo_updates, i as action, A as ActionType, r as milestone, n as goal, o as hook, p as hook_delivery, I as task, l as codebase_tasks, K as task_link, D as tag, x as pipeline_run, y as pipeline_stage_event, u as pipeline_grant, w as pipeline_package, s as pipeline_analysis_template, v as pipeline_oidc_trust, k as apply_log, m as github_webhook_event, q as ignore_path, t as pipeline_approval, B as session, E as tag_config, J as task_event, L as task_rollup, M as task_tag, O as tracker_result, Q as user } from './schema.d-CFQELmTM.js';
4
4
 
5
5
  declare const upsert_project: z.ZodObject<{
6
6
  id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -21,8 +21,8 @@ declare const upsert_project: z.ZodObject<{
21
21
  force: z.ZodOptional<z.ZodBoolean>;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  name: string;
24
- deleted: boolean;
25
24
  project_id: string;
25
+ deleted: boolean;
26
26
  description: string | null;
27
27
  specification: string | null;
28
28
  repo_url: string | null;
@@ -1199,8 +1199,8 @@ declare const apply_op: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1199
1199
  }, "strip", z.ZodTypeAny, {
1200
1200
  id?: string | null | undefined;
1201
1201
  kind?: "task" | "phase" | "approval" | undefined;
1202
- owner_id?: string | undefined;
1203
1202
  project_id?: string | null | undefined;
1203
+ owner_id?: string | undefined;
1204
1204
  description?: string | null | undefined;
1205
1205
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1206
1206
  title?: string | undefined;
@@ -1217,8 +1217,8 @@ declare const apply_op: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1217
1217
  }, {
1218
1218
  id?: string | null | undefined;
1219
1219
  kind?: "task" | "phase" | "approval" | undefined;
1220
- owner_id?: string | undefined;
1221
1220
  project_id?: string | null | undefined;
1221
+ owner_id?: string | undefined;
1222
1222
  description?: string | null | undefined;
1223
1223
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1224
1224
  title?: string | undefined;
@@ -1238,8 +1238,8 @@ declare const apply_op: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1238
1238
  data: {
1239
1239
  id?: string | null | undefined;
1240
1240
  kind?: "task" | "phase" | "approval" | undefined;
1241
- owner_id?: string | undefined;
1242
1241
  project_id?: string | null | undefined;
1242
+ owner_id?: string | undefined;
1243
1243
  description?: string | null | undefined;
1244
1244
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1245
1245
  title?: string | undefined;
@@ -1261,8 +1261,8 @@ declare const apply_op: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
1261
1261
  data: {
1262
1262
  id?: string | null | undefined;
1263
1263
  kind?: "task" | "phase" | "approval" | undefined;
1264
- owner_id?: string | undefined;
1265
1264
  project_id?: string | null | undefined;
1265
+ owner_id?: string | undefined;
1266
1266
  description?: string | null | undefined;
1267
1267
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1268
1268
  title?: string | undefined;
@@ -1632,8 +1632,8 @@ declare const apply_request: z.ZodObject<{
1632
1632
  }, "strip", z.ZodTypeAny, {
1633
1633
  id?: string | null | undefined;
1634
1634
  kind?: "task" | "phase" | "approval" | undefined;
1635
- owner_id?: string | undefined;
1636
1635
  project_id?: string | null | undefined;
1636
+ owner_id?: string | undefined;
1637
1637
  description?: string | null | undefined;
1638
1638
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1639
1639
  title?: string | undefined;
@@ -1650,8 +1650,8 @@ declare const apply_request: z.ZodObject<{
1650
1650
  }, {
1651
1651
  id?: string | null | undefined;
1652
1652
  kind?: "task" | "phase" | "approval" | undefined;
1653
- owner_id?: string | undefined;
1654
1653
  project_id?: string | null | undefined;
1654
+ owner_id?: string | undefined;
1655
1655
  description?: string | null | undefined;
1656
1656
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1657
1657
  title?: string | undefined;
@@ -1671,8 +1671,8 @@ declare const apply_request: z.ZodObject<{
1671
1671
  data: {
1672
1672
  id?: string | null | undefined;
1673
1673
  kind?: "task" | "phase" | "approval" | undefined;
1674
- owner_id?: string | undefined;
1675
1674
  project_id?: string | null | undefined;
1675
+ owner_id?: string | undefined;
1676
1676
  description?: string | null | undefined;
1677
1677
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1678
1678
  title?: string | undefined;
@@ -1694,8 +1694,8 @@ declare const apply_request: z.ZodObject<{
1694
1694
  data: {
1695
1695
  id?: string | null | undefined;
1696
1696
  kind?: "task" | "phase" | "approval" | undefined;
1697
- owner_id?: string | undefined;
1698
1697
  project_id?: string | null | undefined;
1698
+ owner_id?: string | undefined;
1699
1699
  description?: string | null | undefined;
1700
1700
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1701
1701
  title?: string | undefined;
@@ -1963,8 +1963,8 @@ declare const apply_request: z.ZodObject<{
1963
1963
  data: {
1964
1964
  id?: string | null | undefined;
1965
1965
  kind?: "task" | "phase" | "approval" | undefined;
1966
- owner_id?: string | undefined;
1967
1966
  project_id?: string | null | undefined;
1967
+ owner_id?: string | undefined;
1968
1968
  description?: string | null | undefined;
1969
1969
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
1970
1970
  title?: string | undefined;
@@ -2057,8 +2057,8 @@ declare const apply_request: z.ZodObject<{
2057
2057
  data: {
2058
2058
  id?: string | null | undefined;
2059
2059
  kind?: "task" | "phase" | "approval" | undefined;
2060
- owner_id?: string | undefined;
2061
2060
  project_id?: string | null | undefined;
2061
+ owner_id?: string | undefined;
2062
2062
  description?: string | null | undefined;
2063
2063
  visibility?: "PUBLIC" | "PRIVATE" | "HIDDEN" | "ARCHIVED" | "DRAFT" | "DELETED" | undefined;
2064
2064
  title?: string | undefined;
@@ -2239,6 +2239,291 @@ declare const task_event_payload: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2239
2239
  child_id: string;
2240
2240
  }>]>;
2241
2241
  type TaskEventPayload = z.infer<typeof task_event_payload>;
2242
+ declare const hook_selector: z.ZodObject<{
2243
+ subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval"]>>;
2244
+ tag: z.ZodOptional<z.ZodString>;
2245
+ ancestor_id: z.ZodOptional<z.ZodString>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ tag?: string | undefined;
2248
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2249
+ ancestor_id?: string | undefined;
2250
+ }, {
2251
+ tag?: string | undefined;
2252
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2253
+ ancestor_id?: string | undefined;
2254
+ }>;
2255
+ type HookSelector = z.infer<typeof hook_selector>;
2256
+ declare const hook_trigger: z.ZodObject<{
2257
+ kinds: z.ZodArray<z.ZodEnum<["task.created", "task.updated", "task.completed", "task.reopened", "task.claimed", "edge.created", "edge.removed", "node.children_all_done", "policy.fired", "node.completion_stale"]>, "many">;
2258
+ selector: z.ZodDefault<z.ZodObject<{
2259
+ subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval"]>>;
2260
+ tag: z.ZodOptional<z.ZodString>;
2261
+ ancestor_id: z.ZodOptional<z.ZodString>;
2262
+ }, "strip", z.ZodTypeAny, {
2263
+ tag?: string | undefined;
2264
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2265
+ ancestor_id?: string | undefined;
2266
+ }, {
2267
+ tag?: string | undefined;
2268
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2269
+ ancestor_id?: string | undefined;
2270
+ }>>;
2271
+ }, "strip", z.ZodTypeAny, {
2272
+ kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale")[];
2273
+ selector: {
2274
+ tag?: string | undefined;
2275
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2276
+ ancestor_id?: string | undefined;
2277
+ };
2278
+ }, {
2279
+ kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale")[];
2280
+ selector?: {
2281
+ tag?: string | undefined;
2282
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2283
+ ancestor_id?: string | undefined;
2284
+ } | undefined;
2285
+ }>;
2286
+ type HookTrigger = z.infer<typeof hook_trigger>;
2287
+ /** Write-side action union — callers submit a plaintext `secret`, never `secret_encrypted`. */
2288
+ declare const hook_action_input: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2289
+ kind: z.ZodLiteral<"webhook">;
2290
+ url: z.ZodString;
2291
+ secret: z.ZodOptional<z.ZodString>;
2292
+ }, "strip", z.ZodTypeAny, {
2293
+ kind: "webhook";
2294
+ url: string;
2295
+ secret?: string | undefined;
2296
+ }, {
2297
+ kind: "webhook";
2298
+ url: string;
2299
+ secret?: string | undefined;
2300
+ }>, z.ZodObject<{
2301
+ kind: z.ZodLiteral<"vault">;
2302
+ scope: z.ZodString;
2303
+ op: z.ZodString;
2304
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2305
+ }, "strip", z.ZodTypeAny, {
2306
+ kind: "vault";
2307
+ scope: string;
2308
+ op: string;
2309
+ args?: Record<string, unknown> | undefined;
2310
+ }, {
2311
+ kind: "vault";
2312
+ scope: string;
2313
+ op: string;
2314
+ args?: Record<string, unknown> | undefined;
2315
+ }>, z.ZodObject<{
2316
+ kind: z.ZodLiteral<"pipeline">;
2317
+ package_id: z.ZodString;
2318
+ }, "strip", z.ZodTypeAny, {
2319
+ kind: "pipeline";
2320
+ package_id: string;
2321
+ }, {
2322
+ kind: "pipeline";
2323
+ package_id: string;
2324
+ }>]>;
2325
+ type HookActionInput = z.infer<typeof hook_action_input>;
2326
+ /** Storage/dispatch-side action union — what's actually persisted in `hook.action`. */
2327
+ declare const hook_action_stored: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2328
+ kind: z.ZodLiteral<"webhook">;
2329
+ url: z.ZodString;
2330
+ secret_encrypted: z.ZodOptional<z.ZodString>;
2331
+ }, "strip", z.ZodTypeAny, {
2332
+ kind: "webhook";
2333
+ url: string;
2334
+ secret_encrypted?: string | undefined;
2335
+ }, {
2336
+ kind: "webhook";
2337
+ url: string;
2338
+ secret_encrypted?: string | undefined;
2339
+ }>, z.ZodObject<{
2340
+ kind: z.ZodLiteral<"vault">;
2341
+ scope: z.ZodString;
2342
+ op: z.ZodString;
2343
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2344
+ }, "strip", z.ZodTypeAny, {
2345
+ kind: "vault";
2346
+ scope: string;
2347
+ op: string;
2348
+ args?: Record<string, unknown> | undefined;
2349
+ }, {
2350
+ kind: "vault";
2351
+ scope: string;
2352
+ op: string;
2353
+ args?: Record<string, unknown> | undefined;
2354
+ }>, z.ZodObject<{
2355
+ kind: z.ZodLiteral<"pipeline">;
2356
+ package_id: z.ZodString;
2357
+ }, "strip", z.ZodTypeAny, {
2358
+ kind: "pipeline";
2359
+ package_id: string;
2360
+ }, {
2361
+ kind: "pipeline";
2362
+ package_id: string;
2363
+ }>]>;
2364
+ type HookActionStored = z.infer<typeof hook_action_stored>;
2365
+ /** Read-side action union — what routes return. `secret_encrypted` never leaves the registry. */
2366
+ declare const hook_action_public: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2367
+ kind: z.ZodLiteral<"webhook">;
2368
+ url: z.ZodString;
2369
+ has_secret: z.ZodBoolean;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ kind: "webhook";
2372
+ url: string;
2373
+ has_secret: boolean;
2374
+ }, {
2375
+ kind: "webhook";
2376
+ url: string;
2377
+ has_secret: boolean;
2378
+ }>, z.ZodObject<{
2379
+ kind: z.ZodLiteral<"vault">;
2380
+ scope: z.ZodString;
2381
+ op: z.ZodString;
2382
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2383
+ }, "strip", z.ZodTypeAny, {
2384
+ kind: "vault";
2385
+ scope: string;
2386
+ op: string;
2387
+ args?: Record<string, unknown> | undefined;
2388
+ }, {
2389
+ kind: "vault";
2390
+ scope: string;
2391
+ op: string;
2392
+ args?: Record<string, unknown> | undefined;
2393
+ }>, z.ZodObject<{
2394
+ kind: z.ZodLiteral<"pipeline">;
2395
+ package_id: z.ZodString;
2396
+ }, "strip", z.ZodTypeAny, {
2397
+ kind: "pipeline";
2398
+ package_id: string;
2399
+ }, {
2400
+ kind: "pipeline";
2401
+ package_id: string;
2402
+ }>]>;
2403
+ type HookActionPublic = z.infer<typeof hook_action_public>;
2404
+ declare const upsert_hook: z.ZodObject<{
2405
+ id: z.ZodOptional<z.ZodString>;
2406
+ project_id: z.ZodString;
2407
+ enabled: z.ZodDefault<z.ZodBoolean>;
2408
+ trigger: z.ZodObject<{
2409
+ kinds: z.ZodArray<z.ZodEnum<["task.created", "task.updated", "task.completed", "task.reopened", "task.claimed", "edge.created", "edge.removed", "node.children_all_done", "policy.fired", "node.completion_stale"]>, "many">;
2410
+ selector: z.ZodDefault<z.ZodObject<{
2411
+ subject_kind: z.ZodOptional<z.ZodEnum<["task", "phase", "approval"]>>;
2412
+ tag: z.ZodOptional<z.ZodString>;
2413
+ ancestor_id: z.ZodOptional<z.ZodString>;
2414
+ }, "strip", z.ZodTypeAny, {
2415
+ tag?: string | undefined;
2416
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2417
+ ancestor_id?: string | undefined;
2418
+ }, {
2419
+ tag?: string | undefined;
2420
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2421
+ ancestor_id?: string | undefined;
2422
+ }>>;
2423
+ }, "strip", z.ZodTypeAny, {
2424
+ kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale")[];
2425
+ selector: {
2426
+ tag?: string | undefined;
2427
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2428
+ ancestor_id?: string | undefined;
2429
+ };
2430
+ }, {
2431
+ kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale")[];
2432
+ selector?: {
2433
+ tag?: string | undefined;
2434
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2435
+ ancestor_id?: string | undefined;
2436
+ } | undefined;
2437
+ }>;
2438
+ action: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
2439
+ kind: z.ZodLiteral<"webhook">;
2440
+ url: z.ZodString;
2441
+ secret: z.ZodOptional<z.ZodString>;
2442
+ }, "strip", z.ZodTypeAny, {
2443
+ kind: "webhook";
2444
+ url: string;
2445
+ secret?: string | undefined;
2446
+ }, {
2447
+ kind: "webhook";
2448
+ url: string;
2449
+ secret?: string | undefined;
2450
+ }>, z.ZodObject<{
2451
+ kind: z.ZodLiteral<"vault">;
2452
+ scope: z.ZodString;
2453
+ op: z.ZodString;
2454
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2455
+ }, "strip", z.ZodTypeAny, {
2456
+ kind: "vault";
2457
+ scope: string;
2458
+ op: string;
2459
+ args?: Record<string, unknown> | undefined;
2460
+ }, {
2461
+ kind: "vault";
2462
+ scope: string;
2463
+ op: string;
2464
+ args?: Record<string, unknown> | undefined;
2465
+ }>, z.ZodObject<{
2466
+ kind: z.ZodLiteral<"pipeline">;
2467
+ package_id: z.ZodString;
2468
+ }, "strip", z.ZodTypeAny, {
2469
+ kind: "pipeline";
2470
+ package_id: string;
2471
+ }, {
2472
+ kind: "pipeline";
2473
+ package_id: string;
2474
+ }>]>;
2475
+ }, "strip", z.ZodTypeAny, {
2476
+ project_id: string;
2477
+ enabled: boolean;
2478
+ action: {
2479
+ kind: "webhook";
2480
+ url: string;
2481
+ secret?: string | undefined;
2482
+ } | {
2483
+ kind: "vault";
2484
+ scope: string;
2485
+ op: string;
2486
+ args?: Record<string, unknown> | undefined;
2487
+ } | {
2488
+ kind: "pipeline";
2489
+ package_id: string;
2490
+ };
2491
+ trigger: {
2492
+ kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale")[];
2493
+ selector: {
2494
+ tag?: string | undefined;
2495
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2496
+ ancestor_id?: string | undefined;
2497
+ };
2498
+ };
2499
+ id?: string | undefined;
2500
+ }, {
2501
+ project_id: string;
2502
+ action: {
2503
+ kind: "webhook";
2504
+ url: string;
2505
+ secret?: string | undefined;
2506
+ } | {
2507
+ kind: "vault";
2508
+ scope: string;
2509
+ op: string;
2510
+ args?: Record<string, unknown> | undefined;
2511
+ } | {
2512
+ kind: "pipeline";
2513
+ package_id: string;
2514
+ };
2515
+ trigger: {
2516
+ kinds: ("task.created" | "task.updated" | "task.completed" | "task.reopened" | "task.claimed" | "edge.created" | "edge.removed" | "node.children_all_done" | "policy.fired" | "node.completion_stale")[];
2517
+ selector?: {
2518
+ tag?: string | undefined;
2519
+ subject_kind?: "task" | "phase" | "approval" | undefined;
2520
+ ancestor_id?: string | undefined;
2521
+ } | undefined;
2522
+ };
2523
+ id?: string | undefined;
2524
+ enabled?: boolean | undefined;
2525
+ }>;
2526
+ type UpsertHook = z.infer<typeof upsert_hook>;
2242
2527
 
2243
2528
  type User = InferSelectModel<typeof user>;
2244
2529
  type Session = InferSelectModel<typeof session>;
@@ -2259,6 +2544,9 @@ type TaskLink = InferSelectModel<typeof task_link>;
2259
2544
  type TaskRollup = InferSelectModel<typeof task_rollup>;
2260
2545
  type ApplyLog = InferSelectModel<typeof apply_log>;
2261
2546
  type TaskEvent = InferSelectModel<typeof task_event>;
2547
+ type Hook = InferSelectModel<typeof hook>;
2548
+ type HookDelivery = InferSelectModel<typeof hook_delivery>;
2549
+ type GithubWebhookEvent = InferSelectModel<typeof github_webhook_event>;
2262
2550
  type PipelinePackage = InferSelectModel<typeof pipeline_package>;
2263
2551
  type PipelineRun = InferSelectModel<typeof pipeline_run>;
2264
2552
  type PipelineStageEvent = InferSelectModel<typeof pipeline_stage_event>;
@@ -2395,4 +2683,4 @@ type UpdateData = {
2395
2683
  type UpdateUser = z.infer<typeof update_user>;
2396
2684
  type ConfigSchemaType = z.infer<typeof config_schema>;
2397
2685
 
2398
- export { type UpsertGoal as $, type Action as A, type TagWithTypedColor as B, type ClaimRequest as C, type DashboardResponse as D, type ExternalRef as E, type Task as F, type GetConfigResult as G, type HistoryAction as H, type IgnorePath as I, type TaskEvent as J, type TaskEventPayload as K, type TaskLink as L, type Milestone as M, type Nullable as N, type TaskRollup as O, type PipelineAnalysisTemplate as P, type TaskTag as Q, type RolloutShapeZ as R, type SaveConfigRequest as S, TAG_COLOURS as T, type TaskView as U, type TaskWithDetails as V, type TodoUpdate as W, type TrackerResult as X, type UpdateAction as Y, type UpdateData as Z, type UpdateUser as _, type ApiKey as a, type UpsertMilestone as a0, type UpsertPipelineAnalysisTemplate as a1, type UpsertPipelineApproval as a2, type UpsertPipelineGrant as a3, type UpsertPipelineOidcTrust as a4, type UpsertPipelinePackage as a5, type UpsertPipelineRun as a6, type UpsertProject as a7, type UpsertTag as a8, type UpsertTaskLink as a9, stage_event_kind as aA, task_event_actor as aB, task_event_payload as aC, task_link_kind as aD, update_action as aE, update_user as aF, upsert_goal as aG, upsert_milestone as aH, upsert_pipeline_analysis_template as aI, upsert_pipeline_approval as aJ, upsert_pipeline_grant as aK, upsert_pipeline_oidc_trust as aL, upsert_pipeline_package as aM, upsert_pipeline_run as aN, upsert_project as aO, upsert_tag as aP, upsert_task_link as aQ, upsert_todo as aR, webhook_event_body as aS, type UpsertTodo as aa, type User as ab, type WebhookEventBody as ac, apply_op as ad, apply_request as ae, approval_decision as af, claim_request as ag, config_schema as ah, dashboard_response as ai, dashboard_window_query as aj, done_request as ak, external_ref as al, forced_atomic_reason as am, gate_descriptor as an, grant_scope as ao, insert_pipeline_stage_event as ap, pipeline_oidc_provider as aq, project_config as ar, resolved_gates as as, resolved_rollout as at, rollout_shape as au, rollout_stage as av, run_kind as aw, run_status as ax, save_config_request as ay, save_tags_request as az, type ApplyLog as b, type ApplyOp as c, type ApplyRequest as d, type CodebaseTask as e, type ConfigSchemaType as f, type DashboardWindowQuery as g, type DoneRequest as h, type Goal as i, type InsertPipelineStageEvent as j, type PipelineApproval as k, type PipelineGrant as l, type PipelineOidcTrust as m, type PipelinePackage as n, type PipelineRun as o, type PipelineStageEvent as p, type Project as q, type ProjectConfig as r, type ProjectWithTasks as s, type RunKindZ as t, type ScanStatus as u, type Session as v, type Tag as w, type TagColor as x, type TagConfig as y, type TagWithColor as z };
2686
+ export { type TaskTag as $, type Action as A, type ProjectWithTasks as B, type ClaimRequest as C, type DashboardResponse as D, type ExternalRef as E, type RunKindZ as F, type GetConfigResult as G, type HistoryAction as H, type IgnorePath as I, type ScanStatus as J, type Session as K, type Tag as L, type Milestone as M, type Nullable as N, type TagColor as O, type PipelineAnalysisTemplate as P, type TagConfig as Q, type RolloutShapeZ as R, type SaveConfigRequest as S, TAG_COLOURS as T, type TagWithColor as U, type TagWithTypedColor as V, type Task as W, type TaskEvent as X, type TaskEventPayload as Y, type TaskLink as Z, type TaskRollup as _, type ApiKey as a, upsert_pipeline_package as a$, type TaskView as a0, type TaskWithDetails as a1, type TodoUpdate as a2, type TrackerResult as a3, type UpdateAction as a4, type UpdateData as a5, type UpdateUser as a6, type UpsertGoal as a7, type UpsertHook as a8, type UpsertMilestone as a9, hook_action_stored as aA, hook_selector as aB, hook_trigger as aC, insert_pipeline_stage_event as aD, pipeline_oidc_provider as aE, project_config as aF, resolved_gates as aG, resolved_rollout as aH, rollout_shape as aI, rollout_stage as aJ, run_kind as aK, run_status as aL, save_config_request as aM, save_tags_request as aN, stage_event_kind as aO, task_event_actor as aP, task_event_payload as aQ, task_link_kind as aR, update_action as aS, update_user as aT, upsert_goal as aU, upsert_hook as aV, upsert_milestone as aW, upsert_pipeline_analysis_template as aX, upsert_pipeline_approval as aY, upsert_pipeline_grant as aZ, upsert_pipeline_oidc_trust as a_, type UpsertPipelineAnalysisTemplate as aa, type UpsertPipelineApproval as ab, type UpsertPipelineGrant as ac, type UpsertPipelineOidcTrust as ad, type UpsertPipelinePackage as ae, type UpsertPipelineRun as af, type UpsertProject as ag, type UpsertTag as ah, type UpsertTaskLink as ai, type UpsertTodo as aj, type User as ak, type WebhookEventBody as al, apply_op as am, apply_request as an, approval_decision as ao, claim_request as ap, config_schema as aq, dashboard_response as ar, dashboard_window_query as as, done_request as at, external_ref as au, forced_atomic_reason as av, gate_descriptor as aw, grant_scope as ax, hook_action_input as ay, hook_action_public as az, type ApplyLog as b, upsert_pipeline_run as b0, upsert_project as b1, upsert_tag as b2, upsert_task_link as b3, upsert_todo as b4, webhook_event_body as b5, type ApplyOp as c, type ApplyRequest as d, type CodebaseTask as e, type ConfigSchemaType as f, type DashboardWindowQuery as g, type DoneRequest as h, type GithubWebhookEvent as i, type Goal as j, type Hook as k, type HookActionInput as l, type HookActionPublic as m, type HookActionStored as n, type HookDelivery as o, type HookSelector as p, type HookTrigger as q, type InsertPipelineStageEvent as r, type PipelineApproval as s, type PipelineGrant as t, type PipelineOidcTrust as u, type PipelinePackage as v, type PipelineRun as w, type PipelineStageEvent as x, type Project as y, type ProjectConfig as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/api",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "TypeScript client library for the devpad API - project and task management made simple",
5
5
  "keywords": [
6
6
  "api",
@@ -68,7 +68,7 @@
68
68
  "zod": "^3.22.4"
69
69
  },
70
70
  "devDependencies": {
71
- "@devpad/schema": "^2.3.4",
71
+ "@devpad/schema": "^2.3.5",
72
72
  "@types/node": "^20.11.24",
73
73
  "bun-types": "latest",
74
74
  "tsup": "^8.0.0",
@@ -201,16 +201,16 @@ declare const AccessKeyRowSchema: z.ZodObject<{
201
201
  user_id: string;
202
202
  key_hash: string;
203
203
  note: string | null;
204
- enabled: boolean;
205
204
  created_at: Date;
205
+ enabled: boolean;
206
206
  }, {
207
207
  id: number;
208
208
  name: string;
209
209
  user_id: string;
210
210
  key_hash: string;
211
211
  note: string | null;
212
- enabled: boolean;
213
212
  created_at: Date;
213
+ enabled: boolean;
214
214
  }>;
215
215
  type AccessKeyRow = z.infer<typeof AccessKeyRowSchema>;
216
216
  declare const AccessKeySchema: z.ZodObject<Omit<{
@@ -226,15 +226,15 @@ declare const AccessKeySchema: z.ZodObject<Omit<{
226
226
  name: string;
227
227
  user_id: string;
228
228
  note: string | null;
229
- enabled: boolean;
230
229
  created_at: Date;
230
+ enabled: boolean;
231
231
  }, {
232
232
  id: number;
233
233
  name: string;
234
234
  user_id: string;
235
235
  note: string | null;
236
- enabled: boolean;
237
236
  created_at: Date;
237
+ enabled: boolean;
238
238
  }>;
239
239
  type AccessKey = z.infer<typeof AccessKeySchema>;
240
240
  declare const AccessKeyInsertSchema: z.ZodObject<{
@@ -251,16 +251,16 @@ declare const AccessKeyInsertSchema: z.ZodObject<{
251
251
  key_hash: string;
252
252
  id?: number | undefined;
253
253
  note?: string | null | undefined;
254
- enabled?: boolean | undefined;
255
254
  created_at?: Date | undefined;
255
+ enabled?: boolean | undefined;
256
256
  }, {
257
257
  name: string;
258
258
  user_id: string;
259
259
  key_hash: string;
260
260
  id?: number | undefined;
261
261
  note?: string | null | undefined;
262
- enabled?: boolean | undefined;
263
262
  created_at?: Date | undefined;
263
+ enabled?: boolean | undefined;
264
264
  }>;
265
265
  type AccessKeyInsert = z.infer<typeof AccessKeyInsertSchema>;
266
266
  declare const IntegrationSchema: z.ZodObject<{