busabase-sdk 0.9.2 → 0.9.3

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 (3) hide show
  1. package/dist/index.d.ts +1088 -3
  2. package/dist/index.js +222 -77
  3. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -5,7 +5,6 @@ import * as zod from 'zod';
5
5
  import { z } from 'zod';
6
6
  import * as _orpc_client from '@orpc/client';
7
7
  import * as _orpc_shared from '@orpc/shared';
8
- export { CreatableNodeType } from 'busabase-contract/domains';
9
8
 
10
9
  /**
11
10
  * Node-type registry. Each node type is its own module (./folder, ./base,
@@ -210,6 +209,11 @@ declare const BUILTIN_NODE_TYPES: readonly [{
210
209
  }];
211
210
  type BuiltinDefinition = (typeof BUILTIN_NODE_TYPES)[number];
212
211
  type NodeType = BuiltinDefinition["type"];
212
+ type CreatableNodeType = Extract<BuiltinDefinition, {
213
+ capabilities: {
214
+ creatable: true;
215
+ };
216
+ }>["type"];
213
217
  type GenericOperationKind = (typeof GENERIC_NODE_OPERATIONS)[number]["kind"];
214
218
  type RegisteredOperationKind = BuiltinDefinition["operations"][number]["kind"];
215
219
  type OperationKind = GenericOperationKind | RegisteredOperationKind;
@@ -424,6 +428,7 @@ declare const cloudContract: {
424
428
  select: "select";
425
429
  multiselect: "multiselect";
426
430
  url: "url";
431
+ embed: "embed";
427
432
  phone: "phone";
428
433
  created_time: "created_time";
429
434
  updated_time: "updated_time";
@@ -457,6 +462,15 @@ declare const cloudContract: {
457
462
  code: z.ZodOptional<z.ZodObject<{
458
463
  language: z.ZodOptional<z.ZodString>;
459
464
  }, z.core.$strip>>;
465
+ embed: z.ZodOptional<z.ZodObject<{
466
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
467
+ "16:9": "16:9";
468
+ "4:3": "4:3";
469
+ "1:1": "1:1";
470
+ }>>;
471
+ height: z.ZodOptional<z.ZodNumber>;
472
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
473
+ }, z.core.$strip>>;
460
474
  inverseFieldId: z.ZodOptional<z.ZodString>;
461
475
  multiple: z.ZodOptional<z.ZodBoolean>;
462
476
  number: z.ZodOptional<z.ZodObject<{
@@ -563,6 +577,7 @@ declare const cloudContract: {
563
577
  select: "select";
564
578
  multiselect: "multiselect";
565
579
  url: "url";
580
+ embed: "embed";
566
581
  phone: "phone";
567
582
  created_time: "created_time";
568
583
  updated_time: "updated_time";
@@ -597,6 +612,15 @@ declare const cloudContract: {
597
612
  code: z.ZodOptional<z.ZodObject<{
598
613
  language: z.ZodOptional<z.ZodString>;
599
614
  }, z.core.$strip>>;
615
+ embed: z.ZodOptional<z.ZodObject<{
616
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
617
+ "16:9": "16:9";
618
+ "4:3": "4:3";
619
+ "1:1": "1:1";
620
+ }>>;
621
+ height: z.ZodOptional<z.ZodNumber>;
622
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
623
+ }, z.core.$strip>>;
600
624
  inverseFieldId: z.ZodOptional<z.ZodString>;
601
625
  multiple: z.ZodOptional<z.ZodBoolean>;
602
626
  number: z.ZodOptional<z.ZodObject<{
@@ -1114,6 +1138,7 @@ declare const cloudContract: {
1114
1138
  select: "select";
1115
1139
  multiselect: "multiselect";
1116
1140
  url: "url";
1141
+ embed: "embed";
1117
1142
  phone: "phone";
1118
1143
  created_time: "created_time";
1119
1144
  updated_time: "updated_time";
@@ -1148,6 +1173,15 @@ declare const cloudContract: {
1148
1173
  code: z.ZodOptional<z.ZodObject<{
1149
1174
  language: z.ZodOptional<z.ZodString>;
1150
1175
  }, z.core.$strip>>;
1176
+ embed: z.ZodOptional<z.ZodObject<{
1177
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
1178
+ "16:9": "16:9";
1179
+ "4:3": "4:3";
1180
+ "1:1": "1:1";
1181
+ }>>;
1182
+ height: z.ZodOptional<z.ZodNumber>;
1183
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1184
+ }, z.core.$strip>>;
1151
1185
  inverseFieldId: z.ZodOptional<z.ZodString>;
1152
1186
  multiple: z.ZodOptional<z.ZodBoolean>;
1153
1187
  number: z.ZodOptional<z.ZodObject<{
@@ -1506,6 +1540,7 @@ declare const cloudContract: {
1506
1540
  select: "select";
1507
1541
  multiselect: "multiselect";
1508
1542
  url: "url";
1543
+ embed: "embed";
1509
1544
  phone: "phone";
1510
1545
  created_time: "created_time";
1511
1546
  updated_time: "updated_time";
@@ -1540,6 +1575,15 @@ declare const cloudContract: {
1540
1575
  code: z.ZodOptional<z.ZodObject<{
1541
1576
  language: z.ZodOptional<z.ZodString>;
1542
1577
  }, z.core.$strip>>;
1578
+ embed: z.ZodOptional<z.ZodObject<{
1579
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
1580
+ "16:9": "16:9";
1581
+ "4:3": "4:3";
1582
+ "1:1": "1:1";
1583
+ }>>;
1584
+ height: z.ZodOptional<z.ZodNumber>;
1585
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1586
+ }, z.core.$strip>>;
1543
1587
  inverseFieldId: z.ZodOptional<z.ZodString>;
1544
1588
  multiple: z.ZodOptional<z.ZodBoolean>;
1545
1589
  number: z.ZodOptional<z.ZodObject<{
@@ -1595,6 +1639,7 @@ declare const cloudContract: {
1595
1639
  select: "select";
1596
1640
  multiselect: "multiselect";
1597
1641
  url: "url";
1642
+ embed: "embed";
1598
1643
  phone: "phone";
1599
1644
  created_time: "created_time";
1600
1645
  updated_time: "updated_time";
@@ -1629,6 +1674,15 @@ declare const cloudContract: {
1629
1674
  code: z.ZodOptional<z.ZodObject<{
1630
1675
  language: z.ZodOptional<z.ZodString>;
1631
1676
  }, z.core.$strip>>;
1677
+ embed: z.ZodOptional<z.ZodObject<{
1678
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
1679
+ "16:9": "16:9";
1680
+ "4:3": "4:3";
1681
+ "1:1": "1:1";
1682
+ }>>;
1683
+ height: z.ZodOptional<z.ZodNumber>;
1684
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1685
+ }, z.core.$strip>>;
1632
1686
  inverseFieldId: z.ZodOptional<z.ZodString>;
1633
1687
  multiple: z.ZodOptional<z.ZodBoolean>;
1634
1688
  number: z.ZodOptional<z.ZodObject<{
@@ -1686,6 +1740,7 @@ declare const cloudContract: {
1686
1740
  select: "select";
1687
1741
  multiselect: "multiselect";
1688
1742
  url: "url";
1743
+ embed: "embed";
1689
1744
  phone: "phone";
1690
1745
  created_time: "created_time";
1691
1746
  updated_time: "updated_time";
@@ -1720,6 +1775,15 @@ declare const cloudContract: {
1720
1775
  code: z.ZodOptional<z.ZodObject<{
1721
1776
  language: z.ZodOptional<z.ZodString>;
1722
1777
  }, z.core.$strip>>;
1778
+ embed: z.ZodOptional<z.ZodObject<{
1779
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
1780
+ "16:9": "16:9";
1781
+ "4:3": "4:3";
1782
+ "1:1": "1:1";
1783
+ }>>;
1784
+ height: z.ZodOptional<z.ZodNumber>;
1785
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1786
+ }, z.core.$strip>>;
1723
1787
  inverseFieldId: z.ZodOptional<z.ZodString>;
1724
1788
  multiple: z.ZodOptional<z.ZodBoolean>;
1725
1789
  number: z.ZodOptional<z.ZodObject<{
@@ -1766,6 +1830,7 @@ declare const cloudContract: {
1766
1830
  select: "select";
1767
1831
  multiselect: "multiselect";
1768
1832
  url: "url";
1833
+ embed: "embed";
1769
1834
  phone: "phone";
1770
1835
  created_time: "created_time";
1771
1836
  updated_time: "updated_time";
@@ -1800,6 +1865,15 @@ declare const cloudContract: {
1800
1865
  code: z.ZodOptional<z.ZodObject<{
1801
1866
  language: z.ZodOptional<z.ZodString>;
1802
1867
  }, z.core.$strip>>;
1868
+ embed: z.ZodOptional<z.ZodObject<{
1869
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
1870
+ "16:9": "16:9";
1871
+ "4:3": "4:3";
1872
+ "1:1": "1:1";
1873
+ }>>;
1874
+ height: z.ZodOptional<z.ZodNumber>;
1875
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1876
+ }, z.core.$strip>>;
1803
1877
  inverseFieldId: z.ZodOptional<z.ZodString>;
1804
1878
  multiple: z.ZodOptional<z.ZodBoolean>;
1805
1879
  number: z.ZodOptional<z.ZodObject<{
@@ -1975,6 +2049,7 @@ declare const cloudContract: {
1975
2049
  select: "select";
1976
2050
  multiselect: "multiselect";
1977
2051
  url: "url";
2052
+ embed: "embed";
1978
2053
  phone: "phone";
1979
2054
  created_time: "created_time";
1980
2055
  updated_time: "updated_time";
@@ -2009,6 +2084,15 @@ declare const cloudContract: {
2009
2084
  code: z.ZodOptional<z.ZodObject<{
2010
2085
  language: z.ZodOptional<z.ZodString>;
2011
2086
  }, z.core.$strip>>;
2087
+ embed: z.ZodOptional<z.ZodObject<{
2088
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
2089
+ "16:9": "16:9";
2090
+ "4:3": "4:3";
2091
+ "1:1": "1:1";
2092
+ }>>;
2093
+ height: z.ZodOptional<z.ZodNumber>;
2094
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2095
+ }, z.core.$strip>>;
2012
2096
  inverseFieldId: z.ZodOptional<z.ZodString>;
2013
2097
  multiple: z.ZodOptional<z.ZodBoolean>;
2014
2098
  number: z.ZodOptional<z.ZodObject<{
@@ -2108,6 +2192,7 @@ declare const cloudContract: {
2108
2192
  select: "select";
2109
2193
  multiselect: "multiselect";
2110
2194
  url: "url";
2195
+ embed: "embed";
2111
2196
  phone: "phone";
2112
2197
  created_time: "created_time";
2113
2198
  updated_time: "updated_time";
@@ -2141,6 +2226,15 @@ declare const cloudContract: {
2141
2226
  code: z.ZodOptional<z.ZodObject<{
2142
2227
  language: z.ZodOptional<z.ZodString>;
2143
2228
  }, z.core.$strip>>;
2229
+ embed: z.ZodOptional<z.ZodObject<{
2230
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
2231
+ "16:9": "16:9";
2232
+ "4:3": "4:3";
2233
+ "1:1": "1:1";
2234
+ }>>;
2235
+ height: z.ZodOptional<z.ZodNumber>;
2236
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2237
+ }, z.core.$strip>>;
2144
2238
  inverseFieldId: z.ZodOptional<z.ZodString>;
2145
2239
  multiple: z.ZodOptional<z.ZodBoolean>;
2146
2240
  number: z.ZodOptional<z.ZodObject<{
@@ -2195,6 +2289,7 @@ declare const cloudContract: {
2195
2289
  select: "select";
2196
2290
  multiselect: "multiselect";
2197
2291
  url: "url";
2292
+ embed: "embed";
2198
2293
  phone: "phone";
2199
2294
  created_time: "created_time";
2200
2295
  updated_time: "updated_time";
@@ -2229,6 +2324,15 @@ declare const cloudContract: {
2229
2324
  code: z.ZodOptional<z.ZodObject<{
2230
2325
  language: z.ZodOptional<z.ZodString>;
2231
2326
  }, z.core.$strip>>;
2327
+ embed: z.ZodOptional<z.ZodObject<{
2328
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
2329
+ "16:9": "16:9";
2330
+ "4:3": "4:3";
2331
+ "1:1": "1:1";
2332
+ }>>;
2333
+ height: z.ZodOptional<z.ZodNumber>;
2334
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2335
+ }, z.core.$strip>>;
2232
2336
  inverseFieldId: z.ZodOptional<z.ZodString>;
2233
2337
  multiple: z.ZodOptional<z.ZodBoolean>;
2234
2338
  number: z.ZodOptional<z.ZodObject<{
@@ -2322,6 +2426,7 @@ declare const cloudContract: {
2322
2426
  select: "select";
2323
2427
  multiselect: "multiselect";
2324
2428
  url: "url";
2429
+ embed: "embed";
2325
2430
  phone: "phone";
2326
2431
  created_time: "created_time";
2327
2432
  updated_time: "updated_time";
@@ -2356,6 +2461,15 @@ declare const cloudContract: {
2356
2461
  code: z.ZodOptional<z.ZodObject<{
2357
2462
  language: z.ZodOptional<z.ZodString>;
2358
2463
  }, z.core.$strip>>;
2464
+ embed: z.ZodOptional<z.ZodObject<{
2465
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
2466
+ "16:9": "16:9";
2467
+ "4:3": "4:3";
2468
+ "1:1": "1:1";
2469
+ }>>;
2470
+ height: z.ZodOptional<z.ZodNumber>;
2471
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2472
+ }, z.core.$strip>>;
2359
2473
  inverseFieldId: z.ZodOptional<z.ZodString>;
2360
2474
  multiple: z.ZodOptional<z.ZodBoolean>;
2361
2475
  number: z.ZodOptional<z.ZodObject<{
@@ -2695,6 +2809,7 @@ declare const cloudContract: {
2695
2809
  select: "select";
2696
2810
  multiselect: "multiselect";
2697
2811
  url: "url";
2812
+ embed: "embed";
2698
2813
  phone: "phone";
2699
2814
  created_time: "created_time";
2700
2815
  updated_time: "updated_time";
@@ -2729,6 +2844,15 @@ declare const cloudContract: {
2729
2844
  code: z.ZodOptional<z.ZodObject<{
2730
2845
  language: z.ZodOptional<z.ZodString>;
2731
2846
  }, z.core.$strip>>;
2847
+ embed: z.ZodOptional<z.ZodObject<{
2848
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
2849
+ "16:9": "16:9";
2850
+ "4:3": "4:3";
2851
+ "1:1": "1:1";
2852
+ }>>;
2853
+ height: z.ZodOptional<z.ZodNumber>;
2854
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2855
+ }, z.core.$strip>>;
2732
2856
  inverseFieldId: z.ZodOptional<z.ZodString>;
2733
2857
  multiple: z.ZodOptional<z.ZodBoolean>;
2734
2858
  number: z.ZodOptional<z.ZodObject<{
@@ -3017,6 +3141,7 @@ declare const cloudContract: {
3017
3141
  select: "select";
3018
3142
  multiselect: "multiselect";
3019
3143
  url: "url";
3144
+ embed: "embed";
3020
3145
  phone: "phone";
3021
3146
  created_time: "created_time";
3022
3147
  updated_time: "updated_time";
@@ -3050,6 +3175,15 @@ declare const cloudContract: {
3050
3175
  code: z.ZodOptional<z.ZodObject<{
3051
3176
  language: z.ZodOptional<z.ZodString>;
3052
3177
  }, z.core.$strip>>;
3178
+ embed: z.ZodOptional<z.ZodObject<{
3179
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
3180
+ "16:9": "16:9";
3181
+ "4:3": "4:3";
3182
+ "1:1": "1:1";
3183
+ }>>;
3184
+ height: z.ZodOptional<z.ZodNumber>;
3185
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3186
+ }, z.core.$strip>>;
3053
3187
  inverseFieldId: z.ZodOptional<z.ZodString>;
3054
3188
  multiple: z.ZodOptional<z.ZodBoolean>;
3055
3189
  number: z.ZodOptional<z.ZodObject<{
@@ -3104,6 +3238,7 @@ declare const cloudContract: {
3104
3238
  select: "select";
3105
3239
  multiselect: "multiselect";
3106
3240
  url: "url";
3241
+ embed: "embed";
3107
3242
  phone: "phone";
3108
3243
  created_time: "created_time";
3109
3244
  updated_time: "updated_time";
@@ -3138,6 +3273,15 @@ declare const cloudContract: {
3138
3273
  code: z.ZodOptional<z.ZodObject<{
3139
3274
  language: z.ZodOptional<z.ZodString>;
3140
3275
  }, z.core.$strip>>;
3276
+ embed: z.ZodOptional<z.ZodObject<{
3277
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
3278
+ "16:9": "16:9";
3279
+ "4:3": "4:3";
3280
+ "1:1": "1:1";
3281
+ }>>;
3282
+ height: z.ZodOptional<z.ZodNumber>;
3283
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3284
+ }, z.core.$strip>>;
3141
3285
  inverseFieldId: z.ZodOptional<z.ZodString>;
3142
3286
  multiple: z.ZodOptional<z.ZodBoolean>;
3143
3287
  number: z.ZodOptional<z.ZodObject<{
@@ -3180,6 +3324,7 @@ declare const cloudContract: {
3180
3324
  select: "select";
3181
3325
  multiselect: "multiselect";
3182
3326
  url: "url";
3327
+ embed: "embed";
3183
3328
  phone: "phone";
3184
3329
  created_time: "created_time";
3185
3330
  updated_time: "updated_time";
@@ -3213,6 +3358,15 @@ declare const cloudContract: {
3213
3358
  code: z.ZodOptional<z.ZodObject<{
3214
3359
  language: z.ZodOptional<z.ZodString>;
3215
3360
  }, z.core.$strip>>;
3361
+ embed: z.ZodOptional<z.ZodObject<{
3362
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
3363
+ "16:9": "16:9";
3364
+ "4:3": "4:3";
3365
+ "1:1": "1:1";
3366
+ }>>;
3367
+ height: z.ZodOptional<z.ZodNumber>;
3368
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3369
+ }, z.core.$strip>>;
3216
3370
  inverseFieldId: z.ZodOptional<z.ZodString>;
3217
3371
  multiple: z.ZodOptional<z.ZodBoolean>;
3218
3372
  number: z.ZodOptional<z.ZodObject<{
@@ -3302,6 +3456,7 @@ declare const cloudContract: {
3302
3456
  select: "select";
3303
3457
  multiselect: "multiselect";
3304
3458
  url: "url";
3459
+ embed: "embed";
3305
3460
  phone: "phone";
3306
3461
  created_time: "created_time";
3307
3462
  updated_time: "updated_time";
@@ -3336,6 +3491,15 @@ declare const cloudContract: {
3336
3491
  code: z.ZodOptional<z.ZodObject<{
3337
3492
  language: z.ZodOptional<z.ZodString>;
3338
3493
  }, z.core.$strip>>;
3494
+ embed: z.ZodOptional<z.ZodObject<{
3495
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
3496
+ "16:9": "16:9";
3497
+ "4:3": "4:3";
3498
+ "1:1": "1:1";
3499
+ }>>;
3500
+ height: z.ZodOptional<z.ZodNumber>;
3501
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3502
+ }, z.core.$strip>>;
3339
3503
  inverseFieldId: z.ZodOptional<z.ZodString>;
3340
3504
  multiple: z.ZodOptional<z.ZodBoolean>;
3341
3505
  number: z.ZodOptional<z.ZodObject<{
@@ -3701,6 +3865,7 @@ declare const cloudContract: {
3701
3865
  select: "select";
3702
3866
  multiselect: "multiselect";
3703
3867
  url: "url";
3868
+ embed: "embed";
3704
3869
  phone: "phone";
3705
3870
  created_time: "created_time";
3706
3871
  updated_time: "updated_time";
@@ -3735,6 +3900,15 @@ declare const cloudContract: {
3735
3900
  code: z.ZodOptional<z.ZodObject<{
3736
3901
  language: z.ZodOptional<z.ZodString>;
3737
3902
  }, z.core.$strip>>;
3903
+ embed: z.ZodOptional<z.ZodObject<{
3904
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
3905
+ "16:9": "16:9";
3906
+ "4:3": "4:3";
3907
+ "1:1": "1:1";
3908
+ }>>;
3909
+ height: z.ZodOptional<z.ZodNumber>;
3910
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3911
+ }, z.core.$strip>>;
3738
3912
  inverseFieldId: z.ZodOptional<z.ZodString>;
3739
3913
  multiple: z.ZodOptional<z.ZodBoolean>;
3740
3914
  number: z.ZodOptional<z.ZodObject<{
@@ -4074,6 +4248,7 @@ declare const cloudContract: {
4074
4248
  select: "select";
4075
4249
  multiselect: "multiselect";
4076
4250
  url: "url";
4251
+ embed: "embed";
4077
4252
  phone: "phone";
4078
4253
  created_time: "created_time";
4079
4254
  updated_time: "updated_time";
@@ -4108,6 +4283,15 @@ declare const cloudContract: {
4108
4283
  code: z.ZodOptional<z.ZodObject<{
4109
4284
  language: z.ZodOptional<z.ZodString>;
4110
4285
  }, z.core.$strip>>;
4286
+ embed: z.ZodOptional<z.ZodObject<{
4287
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
4288
+ "16:9": "16:9";
4289
+ "4:3": "4:3";
4290
+ "1:1": "1:1";
4291
+ }>>;
4292
+ height: z.ZodOptional<z.ZodNumber>;
4293
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4294
+ }, z.core.$strip>>;
4111
4295
  inverseFieldId: z.ZodOptional<z.ZodString>;
4112
4296
  multiple: z.ZodOptional<z.ZodBoolean>;
4113
4297
  number: z.ZodOptional<z.ZodObject<{
@@ -4404,6 +4588,15 @@ declare const cloudContract: {
4404
4588
  code: z.ZodOptional<z.ZodObject<{
4405
4589
  language: z.ZodOptional<z.ZodString>;
4406
4590
  }, z.core.$strip>>;
4591
+ embed: z.ZodOptional<z.ZodObject<{
4592
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
4593
+ "16:9": "16:9";
4594
+ "4:3": "4:3";
4595
+ "1:1": "1:1";
4596
+ }>>;
4597
+ height: z.ZodOptional<z.ZodNumber>;
4598
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4599
+ }, z.core.$strip>>;
4407
4600
  inverseFieldId: z.ZodOptional<z.ZodString>;
4408
4601
  multiple: z.ZodOptional<z.ZodBoolean>;
4409
4602
  number: z.ZodOptional<z.ZodObject<{
@@ -4494,6 +4687,7 @@ declare const cloudContract: {
4494
4687
  select: "select";
4495
4688
  multiselect: "multiselect";
4496
4689
  url: "url";
4690
+ embed: "embed";
4497
4691
  phone: "phone";
4498
4692
  created_time: "created_time";
4499
4693
  updated_time: "updated_time";
@@ -4528,6 +4722,15 @@ declare const cloudContract: {
4528
4722
  code: z.ZodOptional<z.ZodObject<{
4529
4723
  language: z.ZodOptional<z.ZodString>;
4530
4724
  }, z.core.$strip>>;
4725
+ embed: z.ZodOptional<z.ZodObject<{
4726
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
4727
+ "16:9": "16:9";
4728
+ "4:3": "4:3";
4729
+ "1:1": "1:1";
4730
+ }>>;
4731
+ height: z.ZodOptional<z.ZodNumber>;
4732
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4733
+ }, z.core.$strip>>;
4531
4734
  inverseFieldId: z.ZodOptional<z.ZodString>;
4532
4735
  multiple: z.ZodOptional<z.ZodBoolean>;
4533
4736
  number: z.ZodOptional<z.ZodObject<{
@@ -4805,6 +5008,7 @@ declare const cloudContract: {
4805
5008
  select: "select";
4806
5009
  multiselect: "multiselect";
4807
5010
  url: "url";
5011
+ embed: "embed";
4808
5012
  phone: "phone";
4809
5013
  created_time: "created_time";
4810
5014
  updated_time: "updated_time";
@@ -4843,6 +5047,7 @@ declare const cloudContract: {
4843
5047
  select: "select";
4844
5048
  multiselect: "multiselect";
4845
5049
  url: "url";
5050
+ embed: "embed";
4846
5051
  phone: "phone";
4847
5052
  created_time: "created_time";
4848
5053
  updated_time: "updated_time";
@@ -4935,6 +5140,7 @@ declare const cloudContract: {
4935
5140
  select: "select";
4936
5141
  multiselect: "multiselect";
4937
5142
  url: "url";
5143
+ embed: "embed";
4938
5144
  phone: "phone";
4939
5145
  created_time: "created_time";
4940
5146
  updated_time: "updated_time";
@@ -4969,6 +5175,15 @@ declare const cloudContract: {
4969
5175
  code: z.ZodOptional<z.ZodObject<{
4970
5176
  language: z.ZodOptional<z.ZodString>;
4971
5177
  }, z.core.$strip>>;
5178
+ embed: z.ZodOptional<z.ZodObject<{
5179
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
5180
+ "16:9": "16:9";
5181
+ "4:3": "4:3";
5182
+ "1:1": "1:1";
5183
+ }>>;
5184
+ height: z.ZodOptional<z.ZodNumber>;
5185
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
5186
+ }, z.core.$strip>>;
4972
5187
  inverseFieldId: z.ZodOptional<z.ZodString>;
4973
5188
  multiple: z.ZodOptional<z.ZodBoolean>;
4974
5189
  number: z.ZodOptional<z.ZodObject<{
@@ -5308,6 +5523,7 @@ declare const cloudContract: {
5308
5523
  select: "select";
5309
5524
  multiselect: "multiselect";
5310
5525
  url: "url";
5526
+ embed: "embed";
5311
5527
  phone: "phone";
5312
5528
  created_time: "created_time";
5313
5529
  updated_time: "updated_time";
@@ -5342,6 +5558,15 @@ declare const cloudContract: {
5342
5558
  code: z.ZodOptional<z.ZodObject<{
5343
5559
  language: z.ZodOptional<z.ZodString>;
5344
5560
  }, z.core.$strip>>;
5561
+ embed: z.ZodOptional<z.ZodObject<{
5562
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
5563
+ "16:9": "16:9";
5564
+ "4:3": "4:3";
5565
+ "1:1": "1:1";
5566
+ }>>;
5567
+ height: z.ZodOptional<z.ZodNumber>;
5568
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
5569
+ }, z.core.$strip>>;
5345
5570
  inverseFieldId: z.ZodOptional<z.ZodString>;
5346
5571
  multiple: z.ZodOptional<z.ZodBoolean>;
5347
5572
  number: z.ZodOptional<z.ZodObject<{
@@ -5680,6 +5905,7 @@ declare const cloudContract: {
5680
5905
  select: "select";
5681
5906
  multiselect: "multiselect";
5682
5907
  url: "url";
5908
+ embed: "embed";
5683
5909
  phone: "phone";
5684
5910
  created_time: "created_time";
5685
5911
  updated_time: "updated_time";
@@ -5714,6 +5940,15 @@ declare const cloudContract: {
5714
5940
  code: z.ZodOptional<z.ZodObject<{
5715
5941
  language: z.ZodOptional<z.ZodString>;
5716
5942
  }, z.core.$strip>>;
5943
+ embed: z.ZodOptional<z.ZodObject<{
5944
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
5945
+ "16:9": "16:9";
5946
+ "4:3": "4:3";
5947
+ "1:1": "1:1";
5948
+ }>>;
5949
+ height: z.ZodOptional<z.ZodNumber>;
5950
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
5951
+ }, z.core.$strip>>;
5717
5952
  inverseFieldId: z.ZodOptional<z.ZodString>;
5718
5953
  multiple: z.ZodOptional<z.ZodBoolean>;
5719
5954
  number: z.ZodOptional<z.ZodObject<{
@@ -6052,6 +6287,7 @@ declare const cloudContract: {
6052
6287
  select: "select";
6053
6288
  multiselect: "multiselect";
6054
6289
  url: "url";
6290
+ embed: "embed";
6055
6291
  phone: "phone";
6056
6292
  created_time: "created_time";
6057
6293
  updated_time: "updated_time";
@@ -6086,6 +6322,15 @@ declare const cloudContract: {
6086
6322
  code: z.ZodOptional<z.ZodObject<{
6087
6323
  language: z.ZodOptional<z.ZodString>;
6088
6324
  }, z.core.$strip>>;
6325
+ embed: z.ZodOptional<z.ZodObject<{
6326
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
6327
+ "16:9": "16:9";
6328
+ "4:3": "4:3";
6329
+ "1:1": "1:1";
6330
+ }>>;
6331
+ height: z.ZodOptional<z.ZodNumber>;
6332
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
6333
+ }, z.core.$strip>>;
6089
6334
  inverseFieldId: z.ZodOptional<z.ZodString>;
6090
6335
  multiple: z.ZodOptional<z.ZodBoolean>;
6091
6336
  number: z.ZodOptional<z.ZodObject<{
@@ -6425,6 +6670,7 @@ declare const cloudContract: {
6425
6670
  select: "select";
6426
6671
  multiselect: "multiselect";
6427
6672
  url: "url";
6673
+ embed: "embed";
6428
6674
  phone: "phone";
6429
6675
  created_time: "created_time";
6430
6676
  updated_time: "updated_time";
@@ -6459,6 +6705,15 @@ declare const cloudContract: {
6459
6705
  code: z.ZodOptional<z.ZodObject<{
6460
6706
  language: z.ZodOptional<z.ZodString>;
6461
6707
  }, z.core.$strip>>;
6708
+ embed: z.ZodOptional<z.ZodObject<{
6709
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
6710
+ "16:9": "16:9";
6711
+ "4:3": "4:3";
6712
+ "1:1": "1:1";
6713
+ }>>;
6714
+ height: z.ZodOptional<z.ZodNumber>;
6715
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
6716
+ }, z.core.$strip>>;
6462
6717
  inverseFieldId: z.ZodOptional<z.ZodString>;
6463
6718
  multiple: z.ZodOptional<z.ZodBoolean>;
6464
6719
  number: z.ZodOptional<z.ZodObject<{
@@ -6942,6 +7197,7 @@ declare const cloudContract: {
6942
7197
  select: "select";
6943
7198
  multiselect: "multiselect";
6944
7199
  url: "url";
7200
+ embed: "embed";
6945
7201
  phone: "phone";
6946
7202
  created_time: "created_time";
6947
7203
  updated_time: "updated_time";
@@ -6976,6 +7232,15 @@ declare const cloudContract: {
6976
7232
  code: z.ZodOptional<z.ZodObject<{
6977
7233
  language: z.ZodOptional<z.ZodString>;
6978
7234
  }, z.core.$strip>>;
7235
+ embed: z.ZodOptional<z.ZodObject<{
7236
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
7237
+ "16:9": "16:9";
7238
+ "4:3": "4:3";
7239
+ "1:1": "1:1";
7240
+ }>>;
7241
+ height: z.ZodOptional<z.ZodNumber>;
7242
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
7243
+ }, z.core.$strip>>;
6979
7244
  inverseFieldId: z.ZodOptional<z.ZodString>;
6980
7245
  multiple: z.ZodOptional<z.ZodBoolean>;
6981
7246
  number: z.ZodOptional<z.ZodObject<{
@@ -7459,6 +7724,7 @@ declare const cloudContract: {
7459
7724
  select: "select";
7460
7725
  multiselect: "multiselect";
7461
7726
  url: "url";
7727
+ embed: "embed";
7462
7728
  phone: "phone";
7463
7729
  created_time: "created_time";
7464
7730
  updated_time: "updated_time";
@@ -7493,6 +7759,15 @@ declare const cloudContract: {
7493
7759
  code: z.ZodOptional<z.ZodObject<{
7494
7760
  language: z.ZodOptional<z.ZodString>;
7495
7761
  }, z.core.$strip>>;
7762
+ embed: z.ZodOptional<z.ZodObject<{
7763
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
7764
+ "16:9": "16:9";
7765
+ "4:3": "4:3";
7766
+ "1:1": "1:1";
7767
+ }>>;
7768
+ height: z.ZodOptional<z.ZodNumber>;
7769
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
7770
+ }, z.core.$strip>>;
7496
7771
  inverseFieldId: z.ZodOptional<z.ZodString>;
7497
7772
  multiple: z.ZodOptional<z.ZodBoolean>;
7498
7773
  number: z.ZodOptional<z.ZodObject<{
@@ -7935,6 +8210,7 @@ declare const cloudContract: {
7935
8210
  select: "select";
7936
8211
  multiselect: "multiselect";
7937
8212
  url: "url";
8213
+ embed: "embed";
7938
8214
  phone: "phone";
7939
8215
  created_time: "created_time";
7940
8216
  updated_time: "updated_time";
@@ -7969,6 +8245,15 @@ declare const cloudContract: {
7969
8245
  code: z.ZodOptional<z.ZodObject<{
7970
8246
  language: z.ZodOptional<z.ZodString>;
7971
8247
  }, z.core.$strip>>;
8248
+ embed: z.ZodOptional<z.ZodObject<{
8249
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
8250
+ "16:9": "16:9";
8251
+ "4:3": "4:3";
8252
+ "1:1": "1:1";
8253
+ }>>;
8254
+ height: z.ZodOptional<z.ZodNumber>;
8255
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
8256
+ }, z.core.$strip>>;
7972
8257
  inverseFieldId: z.ZodOptional<z.ZodString>;
7973
8258
  multiple: z.ZodOptional<z.ZodBoolean>;
7974
8259
  number: z.ZodOptional<z.ZodObject<{
@@ -8458,6 +8743,7 @@ declare const cloudContract: {
8458
8743
  select: "select";
8459
8744
  multiselect: "multiselect";
8460
8745
  url: "url";
8746
+ embed: "embed";
8461
8747
  phone: "phone";
8462
8748
  created_time: "created_time";
8463
8749
  updated_time: "updated_time";
@@ -8492,6 +8778,15 @@ declare const cloudContract: {
8492
8778
  code: z.ZodOptional<z.ZodObject<{
8493
8779
  language: z.ZodOptional<z.ZodString>;
8494
8780
  }, z.core.$strip>>;
8781
+ embed: z.ZodOptional<z.ZodObject<{
8782
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
8783
+ "16:9": "16:9";
8784
+ "4:3": "4:3";
8785
+ "1:1": "1:1";
8786
+ }>>;
8787
+ height: z.ZodOptional<z.ZodNumber>;
8788
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
8789
+ }, z.core.$strip>>;
8495
8790
  inverseFieldId: z.ZodOptional<z.ZodString>;
8496
8791
  multiple: z.ZodOptional<z.ZodBoolean>;
8497
8792
  number: z.ZodOptional<z.ZodObject<{
@@ -8753,6 +9048,408 @@ declare const cloudContract: {
8753
9048
  createdAt: z.ZodString;
8754
9049
  }, z.core.$strip>>;
8755
9050
  }, z.core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
9051
+ listPaged: _orpc_contract.ContractProcedure<z.ZodDefault<z.ZodOptional<z.ZodObject<{
9052
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
9053
+ cursor: z.ZodOptional<z.ZodString>;
9054
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
9055
+ in_review: "in_review";
9056
+ changes_requested: "changes_requested";
9057
+ approved: "approved";
9058
+ rejected: "rejected";
9059
+ merged: "merged";
9060
+ abandoned: "abandoned";
9061
+ conflict: "conflict";
9062
+ }>>>;
9063
+ mine: z.ZodOptional<z.ZodBoolean>;
9064
+ }, z.core.$strip>>>, z.ZodObject<{
9065
+ changeRequests: z.ZodArray<z.ZodObject<{
9066
+ id: z.ZodString;
9067
+ baseId: z.ZodNullable<z.ZodString>;
9068
+ targetType: z.ZodEnum<{
9069
+ base: "base";
9070
+ node: "node";
9071
+ }>;
9072
+ nodeId: z.ZodNullable<z.ZodString>;
9073
+ status: z.ZodEnum<{
9074
+ in_review: "in_review";
9075
+ changes_requested: "changes_requested";
9076
+ approved: "approved";
9077
+ rejected: "rejected";
9078
+ merged: "merged";
9079
+ abandoned: "abandoned";
9080
+ conflict: "conflict";
9081
+ }>;
9082
+ submittedBy: z.ZodString;
9083
+ submittedByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
9084
+ id: z.ZodString;
9085
+ name: z.ZodNullable<z.ZodString>;
9086
+ email: z.ZodNullable<z.ZodString>;
9087
+ image: z.ZodNullable<z.ZodString>;
9088
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9089
+ }, z.core.$strip>>>>;
9090
+ sourceMeta: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9091
+ reviewPolicySnapshot: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9092
+ mergeSummary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9093
+ rejectedReason: z.ZodNullable<z.ZodString>;
9094
+ reviewedAt: z.ZodNullable<z.ZodString>;
9095
+ mergedAt: z.ZodNullable<z.ZodString>;
9096
+ createdAt: z.ZodString;
9097
+ updatedAt: z.ZodString;
9098
+ base: z.ZodNullable<z.ZodObject<{
9099
+ id: z.ZodString;
9100
+ nodeId: z.ZodString;
9101
+ slug: z.ZodString;
9102
+ name: z.ZodString;
9103
+ description: z.ZodString;
9104
+ reviewPolicy: z.ZodObject<{
9105
+ kind: z.ZodLiteral<"single">;
9106
+ requiredApprovals: z.ZodNumber;
9107
+ }, z.core.$strip>;
9108
+ createdAt: z.ZodString;
9109
+ fields: z.ZodArray<z.ZodObject<{
9110
+ id: z.ZodString;
9111
+ baseId: z.ZodString;
9112
+ slug: z.ZodString;
9113
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
9114
+ en: "en";
9115
+ "zh-CN": "zh-CN";
9116
+ "zh-TW": "zh-TW";
9117
+ ja: "ja";
9118
+ ko: "ko";
9119
+ de: "de";
9120
+ fr: "fr";
9121
+ es: "es";
9122
+ pt: "pt";
9123
+ }> & z.core.$partial, z.ZodString>]>;
9124
+ type: z.ZodEnum<{
9125
+ number: "number";
9126
+ email: "email";
9127
+ date: "date";
9128
+ text: "text";
9129
+ longtext: "longtext";
9130
+ markdown: "markdown";
9131
+ html: "html";
9132
+ attachment: "attachment";
9133
+ relation: "relation";
9134
+ checkbox: "checkbox";
9135
+ select: "select";
9136
+ multiselect: "multiselect";
9137
+ url: "url";
9138
+ embed: "embed";
9139
+ phone: "phone";
9140
+ created_time: "created_time";
9141
+ updated_time: "updated_time";
9142
+ created_by: "created_by";
9143
+ updated_by: "updated_by";
9144
+ auto_number: "auto_number";
9145
+ ai_summary: "ai_summary";
9146
+ ai_tags: "ai_tags";
9147
+ code: "code";
9148
+ json: "json";
9149
+ yaml: "yaml";
9150
+ }>;
9151
+ required: z.ZodBoolean;
9152
+ position: z.ZodNumber;
9153
+ options: z.ZodDefault<z.ZodObject<{
9154
+ ai: z.ZodOptional<z.ZodObject<{
9155
+ model: z.ZodOptional<z.ZodString>;
9156
+ prompt: z.ZodOptional<z.ZodString>;
9157
+ reviewRequired: z.ZodOptional<z.ZodBoolean>;
9158
+ sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
9159
+ }, z.core.$strip>>;
9160
+ attachment: z.ZodOptional<z.ZodObject<{
9161
+ maxFiles: z.ZodOptional<z.ZodNumber>;
9162
+ allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
9163
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
9164
+ }, z.core.$strip>>;
9165
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
9166
+ color: z.ZodOptional<z.ZodString>;
9167
+ id: z.ZodString;
9168
+ name: z.ZodString;
9169
+ }, z.core.$strip>>>;
9170
+ code: z.ZodOptional<z.ZodObject<{
9171
+ language: z.ZodOptional<z.ZodString>;
9172
+ }, z.core.$strip>>;
9173
+ embed: z.ZodOptional<z.ZodObject<{
9174
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
9175
+ "16:9": "16:9";
9176
+ "4:3": "4:3";
9177
+ "1:1": "1:1";
9178
+ }>>;
9179
+ height: z.ZodOptional<z.ZodNumber>;
9180
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
9181
+ }, z.core.$strip>>;
9182
+ inverseFieldId: z.ZodOptional<z.ZodString>;
9183
+ multiple: z.ZodOptional<z.ZodBoolean>;
9184
+ number: z.ZodOptional<z.ZodObject<{
9185
+ format: z.ZodOptional<z.ZodEnum<{
9186
+ plain: "plain";
9187
+ currency: "currency";
9188
+ }>>;
9189
+ currency: z.ZodOptional<z.ZodString>;
9190
+ locale: z.ZodOptional<z.ZodString>;
9191
+ }, z.core.$strip>>;
9192
+ targetBaseId: z.ZodOptional<z.ZodString>;
9193
+ targetBaseSlug: z.ZodOptional<z.ZodString>;
9194
+ }, z.core.$strip>>;
9195
+ }, z.core.$strip>>;
9196
+ }, z.core.$strip>>;
9197
+ node: z.ZodNullable<z.ZodType<NodeOutput, unknown, z.core.$ZodTypeInternals<NodeOutput, unknown>>>;
9198
+ operations: z.ZodArray<z.ZodObject<{
9199
+ id: z.ZodString;
9200
+ changeRequestId: z.ZodString;
9201
+ baseId: z.ZodNullable<z.ZodString>;
9202
+ targetType: z.ZodEnum<{
9203
+ base: "base";
9204
+ node: "node";
9205
+ }>;
9206
+ nodeId: z.ZodNullable<z.ZodString>;
9207
+ operation: z.ZodEnum<{
9208
+ [x: `${string}_file_create`]: `${string}_file_create`;
9209
+ [x: `${string}_file_update`]: `${string}_file_update`;
9210
+ [x: `${string}_file_delete`]: `${string}_file_delete`;
9211
+ [x: `${string}_metadata_update`]: `${string}_metadata_update`;
9212
+ record_create: "record_create";
9213
+ record_update: "record_update";
9214
+ record_delete: "record_delete";
9215
+ record_variant: "record_variant";
9216
+ view_create: "view_create";
9217
+ view_update: "view_update";
9218
+ view_delete: "view_delete";
9219
+ view_restore: "view_restore";
9220
+ base_add_field: "base_add_field";
9221
+ base_delete_field: "base_delete_field";
9222
+ base_update_field: "base_update_field";
9223
+ base_convert_field: "base_convert_field";
9224
+ base_reorder_fields: "base_reorder_fields";
9225
+ base_restore_field: "base_restore_field";
9226
+ base_archive: "base_archive";
9227
+ base_restore: "base_restore";
9228
+ record_restore: "record_restore";
9229
+ doc_update: "doc_update";
9230
+ node_create: "node_create";
9231
+ node_rename: "node_rename";
9232
+ node_delete: "node_delete";
9233
+ node_restore: "node_restore";
9234
+ node_move: "node_move";
9235
+ }>;
9236
+ status: z.ZodEnum<{
9237
+ merged: "merged";
9238
+ pending: "pending";
9239
+ archived: "archived";
9240
+ failed: "failed";
9241
+ }>;
9242
+ targetRecordId: z.ZodNullable<z.ZodString>;
9243
+ targetViewId: z.ZodNullable<z.ZodString>;
9244
+ filePath: z.ZodNullable<z.ZodString>;
9245
+ sourceRecordId: z.ZodNullable<z.ZodString>;
9246
+ sourceCommitId: z.ZodNullable<z.ZodString>;
9247
+ baseCommitId: z.ZodNullable<z.ZodString>;
9248
+ headCommitId: z.ZodString;
9249
+ deleteMode: z.ZodEnum<{
9250
+ archive: "archive";
9251
+ }>;
9252
+ mergedRecordId: z.ZodNullable<z.ZodString>;
9253
+ mergedViewId: z.ZodNullable<z.ZodString>;
9254
+ position: z.ZodNumber;
9255
+ createdAt: z.ZodString;
9256
+ updatedAt: z.ZodString;
9257
+ headCommit: z.ZodObject<{
9258
+ id: z.ZodString;
9259
+ baseId: z.ZodNullable<z.ZodString>;
9260
+ targetType: z.ZodEnum<{
9261
+ base: "base";
9262
+ node: "node";
9263
+ }>;
9264
+ nodeId: z.ZodNullable<z.ZodString>;
9265
+ operationId: z.ZodNullable<z.ZodString>;
9266
+ parentCommitId: z.ZodNullable<z.ZodString>;
9267
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9268
+ operation: z.ZodEnum<{
9269
+ [x: `${string}_file_create`]: `${string}_file_create`;
9270
+ [x: `${string}_file_update`]: `${string}_file_update`;
9271
+ [x: `${string}_file_delete`]: `${string}_file_delete`;
9272
+ [x: `${string}_metadata_update`]: `${string}_metadata_update`;
9273
+ record_create: "record_create";
9274
+ record_update: "record_update";
9275
+ record_delete: "record_delete";
9276
+ record_variant: "record_variant";
9277
+ view_create: "view_create";
9278
+ view_update: "view_update";
9279
+ view_delete: "view_delete";
9280
+ view_restore: "view_restore";
9281
+ base_add_field: "base_add_field";
9282
+ base_delete_field: "base_delete_field";
9283
+ base_update_field: "base_update_field";
9284
+ base_convert_field: "base_convert_field";
9285
+ base_reorder_fields: "base_reorder_fields";
9286
+ base_restore_field: "base_restore_field";
9287
+ base_archive: "base_archive";
9288
+ base_restore: "base_restore";
9289
+ record_restore: "record_restore";
9290
+ doc_update: "doc_update";
9291
+ node_create: "node_create";
9292
+ node_rename: "node_rename";
9293
+ node_delete: "node_delete";
9294
+ node_restore: "node_restore";
9295
+ node_move: "node_move";
9296
+ }>;
9297
+ message: z.ZodString;
9298
+ author: z.ZodString;
9299
+ authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
9300
+ id: z.ZodString;
9301
+ name: z.ZodNullable<z.ZodString>;
9302
+ email: z.ZodNullable<z.ZodString>;
9303
+ image: z.ZodNullable<z.ZodString>;
9304
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9305
+ }, z.core.$strip>>>>;
9306
+ createdAt: z.ZodString;
9307
+ }, z.core.$strip>;
9308
+ baseFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9309
+ }, z.core.$strip>>;
9310
+ primaryOperation: z.ZodNullable<z.ZodObject<{
9311
+ id: z.ZodString;
9312
+ changeRequestId: z.ZodString;
9313
+ baseId: z.ZodNullable<z.ZodString>;
9314
+ targetType: z.ZodEnum<{
9315
+ base: "base";
9316
+ node: "node";
9317
+ }>;
9318
+ nodeId: z.ZodNullable<z.ZodString>;
9319
+ operation: z.ZodEnum<{
9320
+ [x: `${string}_file_create`]: `${string}_file_create`;
9321
+ [x: `${string}_file_update`]: `${string}_file_update`;
9322
+ [x: `${string}_file_delete`]: `${string}_file_delete`;
9323
+ [x: `${string}_metadata_update`]: `${string}_metadata_update`;
9324
+ record_create: "record_create";
9325
+ record_update: "record_update";
9326
+ record_delete: "record_delete";
9327
+ record_variant: "record_variant";
9328
+ view_create: "view_create";
9329
+ view_update: "view_update";
9330
+ view_delete: "view_delete";
9331
+ view_restore: "view_restore";
9332
+ base_add_field: "base_add_field";
9333
+ base_delete_field: "base_delete_field";
9334
+ base_update_field: "base_update_field";
9335
+ base_convert_field: "base_convert_field";
9336
+ base_reorder_fields: "base_reorder_fields";
9337
+ base_restore_field: "base_restore_field";
9338
+ base_archive: "base_archive";
9339
+ base_restore: "base_restore";
9340
+ record_restore: "record_restore";
9341
+ doc_update: "doc_update";
9342
+ node_create: "node_create";
9343
+ node_rename: "node_rename";
9344
+ node_delete: "node_delete";
9345
+ node_restore: "node_restore";
9346
+ node_move: "node_move";
9347
+ }>;
9348
+ status: z.ZodEnum<{
9349
+ merged: "merged";
9350
+ pending: "pending";
9351
+ archived: "archived";
9352
+ failed: "failed";
9353
+ }>;
9354
+ targetRecordId: z.ZodNullable<z.ZodString>;
9355
+ targetViewId: z.ZodNullable<z.ZodString>;
9356
+ filePath: z.ZodNullable<z.ZodString>;
9357
+ sourceRecordId: z.ZodNullable<z.ZodString>;
9358
+ sourceCommitId: z.ZodNullable<z.ZodString>;
9359
+ baseCommitId: z.ZodNullable<z.ZodString>;
9360
+ headCommitId: z.ZodString;
9361
+ deleteMode: z.ZodEnum<{
9362
+ archive: "archive";
9363
+ }>;
9364
+ mergedRecordId: z.ZodNullable<z.ZodString>;
9365
+ mergedViewId: z.ZodNullable<z.ZodString>;
9366
+ position: z.ZodNumber;
9367
+ createdAt: z.ZodString;
9368
+ updatedAt: z.ZodString;
9369
+ headCommit: z.ZodObject<{
9370
+ id: z.ZodString;
9371
+ baseId: z.ZodNullable<z.ZodString>;
9372
+ targetType: z.ZodEnum<{
9373
+ base: "base";
9374
+ node: "node";
9375
+ }>;
9376
+ nodeId: z.ZodNullable<z.ZodString>;
9377
+ operationId: z.ZodNullable<z.ZodString>;
9378
+ parentCommitId: z.ZodNullable<z.ZodString>;
9379
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9380
+ operation: z.ZodEnum<{
9381
+ [x: `${string}_file_create`]: `${string}_file_create`;
9382
+ [x: `${string}_file_update`]: `${string}_file_update`;
9383
+ [x: `${string}_file_delete`]: `${string}_file_delete`;
9384
+ [x: `${string}_metadata_update`]: `${string}_metadata_update`;
9385
+ record_create: "record_create";
9386
+ record_update: "record_update";
9387
+ record_delete: "record_delete";
9388
+ record_variant: "record_variant";
9389
+ view_create: "view_create";
9390
+ view_update: "view_update";
9391
+ view_delete: "view_delete";
9392
+ view_restore: "view_restore";
9393
+ base_add_field: "base_add_field";
9394
+ base_delete_field: "base_delete_field";
9395
+ base_update_field: "base_update_field";
9396
+ base_convert_field: "base_convert_field";
9397
+ base_reorder_fields: "base_reorder_fields";
9398
+ base_restore_field: "base_restore_field";
9399
+ base_archive: "base_archive";
9400
+ base_restore: "base_restore";
9401
+ record_restore: "record_restore";
9402
+ doc_update: "doc_update";
9403
+ node_create: "node_create";
9404
+ node_rename: "node_rename";
9405
+ node_delete: "node_delete";
9406
+ node_restore: "node_restore";
9407
+ node_move: "node_move";
9408
+ }>;
9409
+ message: z.ZodString;
9410
+ author: z.ZodString;
9411
+ authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
9412
+ id: z.ZodString;
9413
+ name: z.ZodNullable<z.ZodString>;
9414
+ email: z.ZodNullable<z.ZodString>;
9415
+ image: z.ZodNullable<z.ZodString>;
9416
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9417
+ }, z.core.$strip>>>>;
9418
+ createdAt: z.ZodString;
9419
+ }, z.core.$strip>;
9420
+ baseFields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9421
+ }, z.core.$strip>>;
9422
+ operationCount: z.ZodNumber;
9423
+ reviews: z.ZodArray<z.ZodObject<{
9424
+ id: z.ZodString;
9425
+ changeRequestId: z.ZodString;
9426
+ reviewerId: z.ZodString;
9427
+ reviewer: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
9428
+ id: z.ZodString;
9429
+ name: z.ZodNullable<z.ZodString>;
9430
+ email: z.ZodNullable<z.ZodString>;
9431
+ image: z.ZodNullable<z.ZodString>;
9432
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9433
+ }, z.core.$strip>>>>;
9434
+ verdict: z.ZodEnum<{
9435
+ approved: "approved";
9436
+ rejected: "rejected";
9437
+ }>;
9438
+ reason: z.ZodNullable<z.ZodString>;
9439
+ visibleOperationHeads: z.ZodRecord<z.ZodString, z.ZodString>;
9440
+ createdAt: z.ZodString;
9441
+ }, z.core.$strip>>;
9442
+ }, z.core.$strip>>;
9443
+ nextCursor: z.ZodNullable<z.ZodString>;
9444
+ }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
9445
+ counts: _orpc_contract.ContractProcedure<_orpc_contract.Schema<unknown, unknown>, z.ZodObject<{
9446
+ review: z.ZodNumber;
9447
+ changes: z.ZodNumber;
9448
+ created: z.ZodNumber;
9449
+ approved: z.ZodNumber;
9450
+ merged: z.ZodNumber;
9451
+ rejected: z.ZodNumber;
9452
+ }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
8756
9453
  get: _orpc_contract.ContractProcedure<z.ZodObject<{
8757
9454
  changeRequestId: z.ZodString;
8758
9455
  }, z.core.$strip>, z.ZodObject<{
@@ -8828,6 +9525,7 @@ declare const cloudContract: {
8828
9525
  select: "select";
8829
9526
  multiselect: "multiselect";
8830
9527
  url: "url";
9528
+ embed: "embed";
8831
9529
  phone: "phone";
8832
9530
  created_time: "created_time";
8833
9531
  updated_time: "updated_time";
@@ -8862,6 +9560,15 @@ declare const cloudContract: {
8862
9560
  code: z.ZodOptional<z.ZodObject<{
8863
9561
  language: z.ZodOptional<z.ZodString>;
8864
9562
  }, z.core.$strip>>;
9563
+ embed: z.ZodOptional<z.ZodObject<{
9564
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
9565
+ "16:9": "16:9";
9566
+ "4:3": "4:3";
9567
+ "1:1": "1:1";
9568
+ }>>;
9569
+ height: z.ZodOptional<z.ZodNumber>;
9570
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
9571
+ }, z.core.$strip>>;
8865
9572
  inverseFieldId: z.ZodOptional<z.ZodString>;
8866
9573
  multiple: z.ZodOptional<z.ZodBoolean>;
8867
9574
  number: z.ZodOptional<z.ZodObject<{
@@ -9203,6 +9910,7 @@ declare const cloudContract: {
9203
9910
  select: "select";
9204
9911
  multiselect: "multiselect";
9205
9912
  url: "url";
9913
+ embed: "embed";
9206
9914
  phone: "phone";
9207
9915
  created_time: "created_time";
9208
9916
  updated_time: "updated_time";
@@ -9237,6 +9945,15 @@ declare const cloudContract: {
9237
9945
  code: z.ZodOptional<z.ZodObject<{
9238
9946
  language: z.ZodOptional<z.ZodString>;
9239
9947
  }, z.core.$strip>>;
9948
+ embed: z.ZodOptional<z.ZodObject<{
9949
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
9950
+ "16:9": "16:9";
9951
+ "4:3": "4:3";
9952
+ "1:1": "1:1";
9953
+ }>>;
9954
+ height: z.ZodOptional<z.ZodNumber>;
9955
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
9956
+ }, z.core.$strip>>;
9240
9957
  inverseFieldId: z.ZodOptional<z.ZodString>;
9241
9958
  multiple: z.ZodOptional<z.ZodBoolean>;
9242
9959
  number: z.ZodOptional<z.ZodObject<{
@@ -9589,6 +10306,7 @@ declare const cloudContract: {
9589
10306
  select: "select";
9590
10307
  multiselect: "multiselect";
9591
10308
  url: "url";
10309
+ embed: "embed";
9592
10310
  phone: "phone";
9593
10311
  created_time: "created_time";
9594
10312
  updated_time: "updated_time";
@@ -9623,6 +10341,15 @@ declare const cloudContract: {
9623
10341
  code: z.ZodOptional<z.ZodObject<{
9624
10342
  language: z.ZodOptional<z.ZodString>;
9625
10343
  }, z.core.$strip>>;
10344
+ embed: z.ZodOptional<z.ZodObject<{
10345
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
10346
+ "16:9": "16:9";
10347
+ "4:3": "4:3";
10348
+ "1:1": "1:1";
10349
+ }>>;
10350
+ height: z.ZodOptional<z.ZodNumber>;
10351
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
10352
+ }, z.core.$strip>>;
9626
10353
  inverseFieldId: z.ZodOptional<z.ZodString>;
9627
10354
  multiple: z.ZodOptional<z.ZodBoolean>;
9628
10355
  number: z.ZodOptional<z.ZodObject<{
@@ -9960,6 +10687,7 @@ declare const cloudContract: {
9960
10687
  select: "select";
9961
10688
  multiselect: "multiselect";
9962
10689
  url: "url";
10690
+ embed: "embed";
9963
10691
  phone: "phone";
9964
10692
  created_time: "created_time";
9965
10693
  updated_time: "updated_time";
@@ -9994,6 +10722,15 @@ declare const cloudContract: {
9994
10722
  code: z.ZodOptional<z.ZodObject<{
9995
10723
  language: z.ZodOptional<z.ZodString>;
9996
10724
  }, z.core.$strip>>;
10725
+ embed: z.ZodOptional<z.ZodObject<{
10726
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
10727
+ "16:9": "16:9";
10728
+ "4:3": "4:3";
10729
+ "1:1": "1:1";
10730
+ }>>;
10731
+ height: z.ZodOptional<z.ZodNumber>;
10732
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
10733
+ }, z.core.$strip>>;
9997
10734
  inverseFieldId: z.ZodOptional<z.ZodString>;
9998
10735
  multiple: z.ZodOptional<z.ZodBoolean>;
9999
10736
  number: z.ZodOptional<z.ZodObject<{
@@ -10316,6 +11053,7 @@ declare const cloudContract: {
10316
11053
  select: "select";
10317
11054
  multiselect: "multiselect";
10318
11055
  url: "url";
11056
+ embed: "embed";
10319
11057
  phone: "phone";
10320
11058
  created_time: "created_time";
10321
11059
  updated_time: "updated_time";
@@ -10350,6 +11088,15 @@ declare const cloudContract: {
10350
11088
  code: z.ZodOptional<z.ZodObject<{
10351
11089
  language: z.ZodOptional<z.ZodString>;
10352
11090
  }, z.core.$strip>>;
11091
+ embed: z.ZodOptional<z.ZodObject<{
11092
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
11093
+ "16:9": "16:9";
11094
+ "4:3": "4:3";
11095
+ "1:1": "1:1";
11096
+ }>>;
11097
+ height: z.ZodOptional<z.ZodNumber>;
11098
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
11099
+ }, z.core.$strip>>;
10353
11100
  inverseFieldId: z.ZodOptional<z.ZodString>;
10354
11101
  multiple: z.ZodOptional<z.ZodBoolean>;
10355
11102
  number: z.ZodOptional<z.ZodObject<{
@@ -10556,6 +11303,7 @@ declare const cloudContract: {
10556
11303
  select: "select";
10557
11304
  multiselect: "multiselect";
10558
11305
  url: "url";
11306
+ embed: "embed";
10559
11307
  phone: "phone";
10560
11308
  created_time: "created_time";
10561
11309
  updated_time: "updated_time";
@@ -10590,6 +11338,15 @@ declare const cloudContract: {
10590
11338
  code: z.ZodOptional<z.ZodObject<{
10591
11339
  language: z.ZodOptional<z.ZodString>;
10592
11340
  }, z.core.$strip>>;
11341
+ embed: z.ZodOptional<z.ZodObject<{
11342
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
11343
+ "16:9": "16:9";
11344
+ "4:3": "4:3";
11345
+ "1:1": "1:1";
11346
+ }>>;
11347
+ height: z.ZodOptional<z.ZodNumber>;
11348
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
11349
+ }, z.core.$strip>>;
10593
11350
  inverseFieldId: z.ZodOptional<z.ZodString>;
10594
11351
  multiple: z.ZodOptional<z.ZodBoolean>;
10595
11352
  number: z.ZodOptional<z.ZodObject<{
@@ -10916,6 +11673,7 @@ declare const cloudContract: {
10916
11673
  select: "select";
10917
11674
  multiselect: "multiselect";
10918
11675
  url: "url";
11676
+ embed: "embed";
10919
11677
  phone: "phone";
10920
11678
  created_time: "created_time";
10921
11679
  updated_time: "updated_time";
@@ -10950,6 +11708,15 @@ declare const cloudContract: {
10950
11708
  code: z.ZodOptional<z.ZodObject<{
10951
11709
  language: z.ZodOptional<z.ZodString>;
10952
11710
  }, z.core.$strip>>;
11711
+ embed: z.ZodOptional<z.ZodObject<{
11712
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
11713
+ "16:9": "16:9";
11714
+ "4:3": "4:3";
11715
+ "1:1": "1:1";
11716
+ }>>;
11717
+ height: z.ZodOptional<z.ZodNumber>;
11718
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
11719
+ }, z.core.$strip>>;
10953
11720
  inverseFieldId: z.ZodOptional<z.ZodString>;
10954
11721
  multiple: z.ZodOptional<z.ZodBoolean>;
10955
11722
  number: z.ZodOptional<z.ZodObject<{
@@ -11021,6 +11788,27 @@ declare const cloudContract: {
11021
11788
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
11022
11789
  baseId: z.ZodOptional<z.ZodString>;
11023
11790
  cursor: z.ZodOptional<z.ZodString>;
11791
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
11792
+ fieldSlug: z.ZodString;
11793
+ fieldType: z.ZodOptional<z.ZodString>;
11794
+ operator: z.ZodEnum<{
11795
+ contains: "contains";
11796
+ equals: "equals";
11797
+ not_empty: "not_empty";
11798
+ is_empty: "is_empty";
11799
+ is_true: "is_true";
11800
+ is_false: "is_false";
11801
+ }>;
11802
+ value: z.ZodOptional<z.ZodUnknown>;
11803
+ }, z.core.$strip>>>;
11804
+ sort: z.ZodOptional<z.ZodObject<{
11805
+ fieldSlug: z.ZodString;
11806
+ fieldType: z.ZodOptional<z.ZodString>;
11807
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
11808
+ asc: "asc";
11809
+ desc: "desc";
11810
+ }>>>;
11811
+ }, z.core.$strip>>;
11024
11812
  }, z.core.$strip>>>, z.ZodObject<{
11025
11813
  records: z.ZodArray<z.ZodObject<{
11026
11814
  id: z.ZodString;
@@ -11083,6 +11871,7 @@ declare const cloudContract: {
11083
11871
  select: "select";
11084
11872
  multiselect: "multiselect";
11085
11873
  url: "url";
11874
+ embed: "embed";
11086
11875
  phone: "phone";
11087
11876
  created_time: "created_time";
11088
11877
  updated_time: "updated_time";
@@ -11117,6 +11906,15 @@ declare const cloudContract: {
11117
11906
  code: z.ZodOptional<z.ZodObject<{
11118
11907
  language: z.ZodOptional<z.ZodString>;
11119
11908
  }, z.core.$strip>>;
11909
+ embed: z.ZodOptional<z.ZodObject<{
11910
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
11911
+ "16:9": "16:9";
11912
+ "4:3": "4:3";
11913
+ "1:1": "1:1";
11914
+ }>>;
11915
+ height: z.ZodOptional<z.ZodNumber>;
11916
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
11917
+ }, z.core.$strip>>;
11120
11918
  inverseFieldId: z.ZodOptional<z.ZodString>;
11121
11919
  multiple: z.ZodOptional<z.ZodBoolean>;
11122
11920
  number: z.ZodOptional<z.ZodObject<{
@@ -11186,6 +11984,11 @@ declare const cloudContract: {
11186
11984
  }, z.core.$strip>>;
11187
11985
  nextCursor: z.ZodNullable<z.ZodString>;
11188
11986
  }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
11987
+ count: _orpc_contract.ContractProcedure<z.ZodDefault<z.ZodOptional<z.ZodObject<{
11988
+ baseId: z.ZodOptional<z.ZodString>;
11989
+ }, z.core.$strip>>>, z.ZodObject<{
11990
+ total: z.ZodNumber;
11991
+ }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
11189
11992
  get: _orpc_contract.ContractProcedure<z.ZodObject<{
11190
11993
  recordId: z.ZodString;
11191
11994
  }, z.core.$strip>, z.ZodObject<{
@@ -11249,6 +12052,7 @@ declare const cloudContract: {
11249
12052
  select: "select";
11250
12053
  multiselect: "multiselect";
11251
12054
  url: "url";
12055
+ embed: "embed";
11252
12056
  phone: "phone";
11253
12057
  created_time: "created_time";
11254
12058
  updated_time: "updated_time";
@@ -11283,6 +12087,15 @@ declare const cloudContract: {
11283
12087
  code: z.ZodOptional<z.ZodObject<{
11284
12088
  language: z.ZodOptional<z.ZodString>;
11285
12089
  }, z.core.$strip>>;
12090
+ embed: z.ZodOptional<z.ZodObject<{
12091
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
12092
+ "16:9": "16:9";
12093
+ "4:3": "4:3";
12094
+ "1:1": "1:1";
12095
+ }>>;
12096
+ height: z.ZodOptional<z.ZodNumber>;
12097
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
12098
+ }, z.core.$strip>>;
11286
12099
  inverseFieldId: z.ZodOptional<z.ZodString>;
11287
12100
  multiple: z.ZodOptional<z.ZodBoolean>;
11288
12101
  number: z.ZodOptional<z.ZodObject<{
@@ -11416,6 +12229,7 @@ declare const cloudContract: {
11416
12229
  select: "select";
11417
12230
  multiselect: "multiselect";
11418
12231
  url: "url";
12232
+ embed: "embed";
11419
12233
  phone: "phone";
11420
12234
  created_time: "created_time";
11421
12235
  updated_time: "updated_time";
@@ -11450,6 +12264,15 @@ declare const cloudContract: {
11450
12264
  code: z.ZodOptional<z.ZodObject<{
11451
12265
  language: z.ZodOptional<z.ZodString>;
11452
12266
  }, z.core.$strip>>;
12267
+ embed: z.ZodOptional<z.ZodObject<{
12268
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
12269
+ "16:9": "16:9";
12270
+ "4:3": "4:3";
12271
+ "1:1": "1:1";
12272
+ }>>;
12273
+ height: z.ZodOptional<z.ZodNumber>;
12274
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
12275
+ }, z.core.$strip>>;
11453
12276
  inverseFieldId: z.ZodOptional<z.ZodString>;
11454
12277
  multiple: z.ZodOptional<z.ZodBoolean>;
11455
12278
  number: z.ZodOptional<z.ZodObject<{
@@ -11596,6 +12419,7 @@ declare const cloudContract: {
11596
12419
  select: "select";
11597
12420
  multiselect: "multiselect";
11598
12421
  url: "url";
12422
+ embed: "embed";
11599
12423
  phone: "phone";
11600
12424
  created_time: "created_time";
11601
12425
  updated_time: "updated_time";
@@ -11630,6 +12454,15 @@ declare const cloudContract: {
11630
12454
  code: z.ZodOptional<z.ZodObject<{
11631
12455
  language: z.ZodOptional<z.ZodString>;
11632
12456
  }, z.core.$strip>>;
12457
+ embed: z.ZodOptional<z.ZodObject<{
12458
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
12459
+ "16:9": "16:9";
12460
+ "4:3": "4:3";
12461
+ "1:1": "1:1";
12462
+ }>>;
12463
+ height: z.ZodOptional<z.ZodNumber>;
12464
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
12465
+ }, z.core.$strip>>;
11633
12466
  inverseFieldId: z.ZodOptional<z.ZodString>;
11634
12467
  multiple: z.ZodOptional<z.ZodBoolean>;
11635
12468
  number: z.ZodOptional<z.ZodObject<{
@@ -11971,6 +12804,7 @@ declare const cloudContract: {
11971
12804
  select: "select";
11972
12805
  multiselect: "multiselect";
11973
12806
  url: "url";
12807
+ embed: "embed";
11974
12808
  phone: "phone";
11975
12809
  created_time: "created_time";
11976
12810
  updated_time: "updated_time";
@@ -12005,6 +12839,15 @@ declare const cloudContract: {
12005
12839
  code: z.ZodOptional<z.ZodObject<{
12006
12840
  language: z.ZodOptional<z.ZodString>;
12007
12841
  }, z.core.$strip>>;
12842
+ embed: z.ZodOptional<z.ZodObject<{
12843
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
12844
+ "16:9": "16:9";
12845
+ "4:3": "4:3";
12846
+ "1:1": "1:1";
12847
+ }>>;
12848
+ height: z.ZodOptional<z.ZodNumber>;
12849
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
12850
+ }, z.core.$strip>>;
12008
12851
  inverseFieldId: z.ZodOptional<z.ZodString>;
12009
12852
  multiple: z.ZodOptional<z.ZodBoolean>;
12010
12853
  number: z.ZodOptional<z.ZodObject<{
@@ -12341,6 +13184,7 @@ declare const cloudContract: {
12341
13184
  select: "select";
12342
13185
  multiselect: "multiselect";
12343
13186
  url: "url";
13187
+ embed: "embed";
12344
13188
  phone: "phone";
12345
13189
  created_time: "created_time";
12346
13190
  updated_time: "updated_time";
@@ -12375,6 +13219,15 @@ declare const cloudContract: {
12375
13219
  code: z.ZodOptional<z.ZodObject<{
12376
13220
  language: z.ZodOptional<z.ZodString>;
12377
13221
  }, z.core.$strip>>;
13222
+ embed: z.ZodOptional<z.ZodObject<{
13223
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
13224
+ "16:9": "16:9";
13225
+ "4:3": "4:3";
13226
+ "1:1": "1:1";
13227
+ }>>;
13228
+ height: z.ZodOptional<z.ZodNumber>;
13229
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
13230
+ }, z.core.$strip>>;
12378
13231
  inverseFieldId: z.ZodOptional<z.ZodString>;
12379
13232
  multiple: z.ZodOptional<z.ZodBoolean>;
12380
13233
  number: z.ZodOptional<z.ZodObject<{
@@ -12713,6 +13566,7 @@ declare const cloudContract: {
12713
13566
  select: "select";
12714
13567
  multiselect: "multiselect";
12715
13568
  url: "url";
13569
+ embed: "embed";
12716
13570
  phone: "phone";
12717
13571
  created_time: "created_time";
12718
13572
  updated_time: "updated_time";
@@ -12747,6 +13601,15 @@ declare const cloudContract: {
12747
13601
  code: z.ZodOptional<z.ZodObject<{
12748
13602
  language: z.ZodOptional<z.ZodString>;
12749
13603
  }, z.core.$strip>>;
13604
+ embed: z.ZodOptional<z.ZodObject<{
13605
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
13606
+ "16:9": "16:9";
13607
+ "4:3": "4:3";
13608
+ "1:1": "1:1";
13609
+ }>>;
13610
+ height: z.ZodOptional<z.ZodNumber>;
13611
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
13612
+ }, z.core.$strip>>;
12750
13613
  inverseFieldId: z.ZodOptional<z.ZodString>;
12751
13614
  multiple: z.ZodOptional<z.ZodBoolean>;
12752
13615
  number: z.ZodOptional<z.ZodObject<{
@@ -13128,6 +13991,7 @@ declare const cloudContract: {
13128
13991
  select: "select";
13129
13992
  multiselect: "multiselect";
13130
13993
  url: "url";
13994
+ embed: "embed";
13131
13995
  phone: "phone";
13132
13996
  created_time: "created_time";
13133
13997
  updated_time: "updated_time";
@@ -13162,6 +14026,15 @@ declare const cloudContract: {
13162
14026
  code: z.ZodOptional<z.ZodObject<{
13163
14027
  language: z.ZodOptional<z.ZodString>;
13164
14028
  }, z.core.$strip>>;
14029
+ embed: z.ZodOptional<z.ZodObject<{
14030
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
14031
+ "16:9": "16:9";
14032
+ "4:3": "4:3";
14033
+ "1:1": "1:1";
14034
+ }>>;
14035
+ height: z.ZodOptional<z.ZodNumber>;
14036
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
14037
+ }, z.core.$strip>>;
13165
14038
  inverseFieldId: z.ZodOptional<z.ZodString>;
13166
14039
  multiple: z.ZodOptional<z.ZodBoolean>;
13167
14040
  number: z.ZodOptional<z.ZodObject<{
@@ -13500,6 +14373,7 @@ declare const cloudContract: {
13500
14373
  select: "select";
13501
14374
  multiselect: "multiselect";
13502
14375
  url: "url";
14376
+ embed: "embed";
13503
14377
  phone: "phone";
13504
14378
  created_time: "created_time";
13505
14379
  updated_time: "updated_time";
@@ -13534,6 +14408,15 @@ declare const cloudContract: {
13534
14408
  code: z.ZodOptional<z.ZodObject<{
13535
14409
  language: z.ZodOptional<z.ZodString>;
13536
14410
  }, z.core.$strip>>;
14411
+ embed: z.ZodOptional<z.ZodObject<{
14412
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
14413
+ "16:9": "16:9";
14414
+ "4:3": "4:3";
14415
+ "1:1": "1:1";
14416
+ }>>;
14417
+ height: z.ZodOptional<z.ZodNumber>;
14418
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
14419
+ }, z.core.$strip>>;
13537
14420
  inverseFieldId: z.ZodOptional<z.ZodString>;
13538
14421
  multiple: z.ZodOptional<z.ZodBoolean>;
13539
14422
  number: z.ZodOptional<z.ZodObject<{
@@ -13872,6 +14755,7 @@ declare const cloudContract: {
13872
14755
  select: "select";
13873
14756
  multiselect: "multiselect";
13874
14757
  url: "url";
14758
+ embed: "embed";
13875
14759
  phone: "phone";
13876
14760
  created_time: "created_time";
13877
14761
  updated_time: "updated_time";
@@ -13906,6 +14790,15 @@ declare const cloudContract: {
13906
14790
  code: z.ZodOptional<z.ZodObject<{
13907
14791
  language: z.ZodOptional<z.ZodString>;
13908
14792
  }, z.core.$strip>>;
14793
+ embed: z.ZodOptional<z.ZodObject<{
14794
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
14795
+ "16:9": "16:9";
14796
+ "4:3": "4:3";
14797
+ "1:1": "1:1";
14798
+ }>>;
14799
+ height: z.ZodOptional<z.ZodNumber>;
14800
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
14801
+ }, z.core.$strip>>;
13909
14802
  inverseFieldId: z.ZodOptional<z.ZodString>;
13910
14803
  multiple: z.ZodOptional<z.ZodBoolean>;
13911
14804
  number: z.ZodOptional<z.ZodObject<{
@@ -14323,6 +15216,11 @@ interface BaseFieldVO {
14323
15216
  code?: {
14324
15217
  language?: string;
14325
15218
  };
15219
+ embed?: {
15220
+ aspectRatio?: "16:9" | "4:3" | "1:1";
15221
+ height?: number;
15222
+ providers?: string[];
15223
+ };
14326
15224
  inverseFieldId?: string;
14327
15225
  multiple?: boolean;
14328
15226
  targetBaseId?: string;
@@ -14546,7 +15444,178 @@ declare const FileNodeVOSchema: z.ZodObject<{
14546
15444
  }, z.core.$strip>;
14547
15445
  type FileNodeVO = z.infer<typeof FileNodeVOSchema>;
14548
15446
 
14549
- type FieldType = "text" | "longtext" | "markdown" | "html" | "attachment" | "relation" | "number" | "date" | "checkbox" | "select" | "multiselect" | "url" | "email" | "phone" | "created_time" | "updated_time" | "created_by" | "updated_by" | "auto_number" | "ai_summary" | "ai_tags" | "code" | "json" | "yaml";
15447
+ declare const VaultItemKindSchema: z.ZodEnum<{
15448
+ secret: "secret";
15449
+ variable: "variable";
15450
+ }>;
15451
+ type VaultItemKind = z.infer<typeof VaultItemKindSchema>;
15452
+ declare const VaultScopeTypeSchema: z.ZodEnum<{
15453
+ base: "base";
15454
+ workspace: "workspace";
15455
+ personal: "personal";
15456
+ agent: "agent";
15457
+ tool: "tool";
15458
+ api_key: "api_key";
15459
+ }>;
15460
+ type VaultScopeType = z.infer<typeof VaultScopeTypeSchema>;
15461
+ declare const VaultEnvironmentSchema: z.ZodEnum<{
15462
+ local: "local";
15463
+ development: "development";
15464
+ staging: "staging";
15465
+ production: "production";
15466
+ }>;
15467
+ type VaultEnvironment = z.infer<typeof VaultEnvironmentSchema>;
15468
+ declare const VaultAccessPolicySchema: z.ZodObject<{
15469
+ runtime: z.ZodDefault<z.ZodBoolean>;
15470
+ reveal: z.ZodDefault<z.ZodBoolean>;
15471
+ edit: z.ZodDefault<z.ZodBoolean>;
15472
+ share: z.ZodDefault<z.ZodBoolean>;
15473
+ }, z.core.$strip>;
15474
+ type VaultAccessPolicy = z.infer<typeof VaultAccessPolicySchema>;
15475
+ declare const VaultItemInputSchema: z.ZodObject<{
15476
+ id: z.ZodOptional<z.ZodString>;
15477
+ kind: z.ZodEnum<{
15478
+ secret: "secret";
15479
+ variable: "variable";
15480
+ }>;
15481
+ key: z.ZodString;
15482
+ value: z.ZodString;
15483
+ scopeType: z.ZodDefault<z.ZodEnum<{
15484
+ base: "base";
15485
+ workspace: "workspace";
15486
+ personal: "personal";
15487
+ agent: "agent";
15488
+ tool: "tool";
15489
+ api_key: "api_key";
15490
+ }>>;
15491
+ scopeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15492
+ environment: z.ZodDefault<z.ZodEnum<{
15493
+ local: "local";
15494
+ development: "development";
15495
+ staging: "staging";
15496
+ production: "production";
15497
+ }>>;
15498
+ description: z.ZodDefault<z.ZodString>;
15499
+ access: z.ZodDefault<z.ZodObject<{
15500
+ runtime: z.ZodDefault<z.ZodBoolean>;
15501
+ reveal: z.ZodDefault<z.ZodBoolean>;
15502
+ edit: z.ZodDefault<z.ZodBoolean>;
15503
+ share: z.ZodDefault<z.ZodBoolean>;
15504
+ }, z.core.$strip>>;
15505
+ }, z.core.$strip>;
15506
+ type VaultItemInput = z.infer<typeof VaultItemInputSchema>;
15507
+ declare const UpdateVaultSettingsInputSchema: z.ZodObject<{
15508
+ items: z.ZodArray<z.ZodObject<{
15509
+ id: z.ZodOptional<z.ZodString>;
15510
+ kind: z.ZodEnum<{
15511
+ secret: "secret";
15512
+ variable: "variable";
15513
+ }>;
15514
+ key: z.ZodString;
15515
+ value: z.ZodString;
15516
+ scopeType: z.ZodDefault<z.ZodEnum<{
15517
+ base: "base";
15518
+ workspace: "workspace";
15519
+ personal: "personal";
15520
+ agent: "agent";
15521
+ tool: "tool";
15522
+ api_key: "api_key";
15523
+ }>>;
15524
+ scopeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15525
+ environment: z.ZodDefault<z.ZodEnum<{
15526
+ local: "local";
15527
+ development: "development";
15528
+ staging: "staging";
15529
+ production: "production";
15530
+ }>>;
15531
+ description: z.ZodDefault<z.ZodString>;
15532
+ access: z.ZodDefault<z.ZodObject<{
15533
+ runtime: z.ZodDefault<z.ZodBoolean>;
15534
+ reveal: z.ZodDefault<z.ZodBoolean>;
15535
+ edit: z.ZodDefault<z.ZodBoolean>;
15536
+ share: z.ZodDefault<z.ZodBoolean>;
15537
+ }, z.core.$strip>>;
15538
+ }, z.core.$strip>>;
15539
+ }, z.core.$strip>;
15540
+ type UpdateVaultSettingsDTO = z.infer<typeof UpdateVaultSettingsInputSchema>;
15541
+ declare const VaultItemVOSchema: z.ZodObject<{
15542
+ kind: z.ZodEnum<{
15543
+ secret: "secret";
15544
+ variable: "variable";
15545
+ }>;
15546
+ key: z.ZodString;
15547
+ value: z.ZodString;
15548
+ scopeType: z.ZodDefault<z.ZodEnum<{
15549
+ base: "base";
15550
+ workspace: "workspace";
15551
+ personal: "personal";
15552
+ agent: "agent";
15553
+ tool: "tool";
15554
+ api_key: "api_key";
15555
+ }>>;
15556
+ environment: z.ZodDefault<z.ZodEnum<{
15557
+ local: "local";
15558
+ development: "development";
15559
+ staging: "staging";
15560
+ production: "production";
15561
+ }>>;
15562
+ description: z.ZodDefault<z.ZodString>;
15563
+ access: z.ZodDefault<z.ZodObject<{
15564
+ runtime: z.ZodDefault<z.ZodBoolean>;
15565
+ reveal: z.ZodDefault<z.ZodBoolean>;
15566
+ edit: z.ZodDefault<z.ZodBoolean>;
15567
+ share: z.ZodDefault<z.ZodBoolean>;
15568
+ }, z.core.$strip>>;
15569
+ id: z.ZodString;
15570
+ scopeId: z.ZodNullable<z.ZodString>;
15571
+ updatedAt: z.ZodString;
15572
+ createdAt: z.ZodString;
15573
+ lastUsedAt: z.ZodNullable<z.ZodString>;
15574
+ }, z.core.$strip>;
15575
+ type VaultItemVO = z.infer<typeof VaultItemVOSchema>;
15576
+ declare const VaultSettingsVOSchema: z.ZodObject<{
15577
+ ownerId: z.ZodNullable<z.ZodString>;
15578
+ items: z.ZodArray<z.ZodObject<{
15579
+ kind: z.ZodEnum<{
15580
+ secret: "secret";
15581
+ variable: "variable";
15582
+ }>;
15583
+ key: z.ZodString;
15584
+ value: z.ZodString;
15585
+ scopeType: z.ZodDefault<z.ZodEnum<{
15586
+ base: "base";
15587
+ workspace: "workspace";
15588
+ personal: "personal";
15589
+ agent: "agent";
15590
+ tool: "tool";
15591
+ api_key: "api_key";
15592
+ }>>;
15593
+ environment: z.ZodDefault<z.ZodEnum<{
15594
+ local: "local";
15595
+ development: "development";
15596
+ staging: "staging";
15597
+ production: "production";
15598
+ }>>;
15599
+ description: z.ZodDefault<z.ZodString>;
15600
+ access: z.ZodDefault<z.ZodObject<{
15601
+ runtime: z.ZodDefault<z.ZodBoolean>;
15602
+ reveal: z.ZodDefault<z.ZodBoolean>;
15603
+ edit: z.ZodDefault<z.ZodBoolean>;
15604
+ share: z.ZodDefault<z.ZodBoolean>;
15605
+ }, z.core.$strip>>;
15606
+ id: z.ZodString;
15607
+ scopeId: z.ZodNullable<z.ZodString>;
15608
+ updatedAt: z.ZodString;
15609
+ createdAt: z.ZodString;
15610
+ lastUsedAt: z.ZodNullable<z.ZodString>;
15611
+ }, z.core.$strip>>;
15612
+ updatedAt: z.ZodNullable<z.ZodString>;
15613
+ }, z.core.$strip>;
15614
+ type VaultSettingsVO = z.infer<typeof VaultSettingsVOSchema>;
15615
+ declare const VaultRuntimeEnvSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
15616
+ type VaultRuntimeEnv = z.infer<typeof VaultRuntimeEnvSchema>;
15617
+
15618
+ type FieldType = "text" | "longtext" | "markdown" | "html" | "attachment" | "relation" | "number" | "date" | "checkbox" | "select" | "multiselect" | "url" | "embed" | "email" | "phone" | "created_time" | "updated_time" | "created_by" | "updated_by" | "auto_number" | "ai_summary" | "ai_tags" | "code" | "json" | "yaml";
14550
15619
 
14551
15620
  type ChangeRequestStatus = "in_review" | "changes_requested" | "approved" | "rejected" | "merged" | "abandoned" | "conflict";
14552
15621
  type OperationStatus = "pending" | "merged" | "archived" | "failed";
@@ -14643,6 +15712,22 @@ interface ChangeRequestVO {
14643
15712
  operationCount: number;
14644
15713
  reviews: ReviewVO[];
14645
15714
  }
15715
+ interface ChangeRequestBatchResultVO {
15716
+ results: Array<{
15717
+ changeRequestId: string;
15718
+ ok: boolean;
15719
+ status?: string;
15720
+ error?: string;
15721
+ }>;
15722
+ }
15723
+ interface ChangeRequestCountsVO {
15724
+ review: number;
15725
+ changes: number;
15726
+ created: number;
15727
+ approved: number;
15728
+ merged: number;
15729
+ rejected: number;
15730
+ }
14646
15731
 
14647
15732
  interface ReviewVO {
14648
15733
  id: string;
@@ -14787,4 +15872,4 @@ declare class Busabase {
14787
15872
  }>>>>;
14788
15873
  }
14789
15874
 
14790
- export { type AgentTaskVO, type AssetAttachmentRef, type AssetDetailVO, type AssetUsageVO, type AssetVO, type AttachmentRef, type AuditAction, type AuditEventVO, type BaseFieldVO, type BaseVO, Busabase, type BusabaseClient, type BusabaseConfig, type ChangeRequestStatus, type ChangeRequestTargetType, type ChangeRequestVO, type CloudContract, type CommentSubjectType, type CommentVO, type CommitVO, DEFAULT_BASE_URL, type FileTreeFileVO as DriveFileVO, type FileTreeReadFileVO as DriveReadFileVO, type FileTreeNodeVO as DriveVO, type FieldType, type FileNodeMetadata, type FileNodeVO, type FileTreeFileVO, type FileTreeNodeVO, type FileTreeReadFileVO, type NodeType, type NodeVO, type OperationKind, type OperationStatus, type OperationVO, type RecordLinkVO, type RecordVO, type ResolvedConfig, type ReviewVO, type ReviewVerdict, type SearchResponseVO, type SearchResultKind, type SearchResultVO, type FileTreeFileVO as SkillFileVO, type FileTreeReadFileVO as SkillReadFileVO, type FileTreeNodeVO as SkillVO, type UserRefVO, type ViewConfigVO, type ViewFilterOperator, type ViewFilterVO, type ViewSortVO, type ViewVO, cloudContract, createBusabaseClient, normalizeBaseUrl, resolveConfig };
15875
+ export { type AgentTaskVO, type AssetAttachmentRef, type AssetDetailVO, type AssetUsageVO, type AssetVO, type AttachmentRef, type AuditAction, type AuditEventVO, type BaseFieldVO, type BaseVO, Busabase, type BusabaseClient, type BusabaseConfig, type ChangeRequestBatchResultVO, type ChangeRequestCountsVO, type ChangeRequestStatus, type ChangeRequestTargetType, type ChangeRequestVO, type CloudContract, type CommentSubjectType, type CommentVO, type CommitVO, type CreatableNodeType, DEFAULT_BASE_URL, type FileTreeFileVO as DriveFileVO, type FileTreeReadFileVO as DriveReadFileVO, type FileTreeNodeVO as DriveVO, type FieldType, type FileNodeMetadata, type FileNodeVO, type FileTreeFileVO, type FileTreeNodeVO, type FileTreeReadFileVO, type NodeType, type NodeVO, type OperationKind, type OperationStatus, type OperationVO, type RecordLinkVO, type RecordVO, type ResolvedConfig, type ReviewVO, type ReviewVerdict, type SearchResponseVO, type SearchResultKind, type SearchResultVO, type FileTreeFileVO as SkillFileVO, type FileTreeReadFileVO as SkillReadFileVO, type FileTreeNodeVO as SkillVO, type UpdateVaultSettingsDTO, type UserRefVO, type VaultAccessPolicy, type VaultEnvironment, type VaultItemInput, type VaultItemKind, type VaultItemVO, type VaultRuntimeEnv, type VaultScopeType, type VaultSettingsVO, type ViewConfigVO, type ViewFilterOperator, type ViewFilterVO, type ViewSortVO, type ViewVO, cloudContract, createBusabaseClient, normalizeBaseUrl, resolveConfig };