@adminiumjs/manifest 0.3.79 → 0.3.81

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 (144) hide show
  1. package/dist/change-guards.d.ts +2 -0
  2. package/dist/change-guards.d.ts.map +1 -1
  3. package/dist/change-guards.js +7 -2
  4. package/dist/change-guards.js.map +1 -1
  5. package/dist/compose.d.ts.map +1 -1
  6. package/dist/compose.js +3 -0
  7. package/dist/compose.js.map +1 -1
  8. package/dist/expiry-notice.d.ts +68 -0
  9. package/dist/expiry-notice.d.ts.map +1 -0
  10. package/dist/expiry-notice.js +75 -0
  11. package/dist/expiry-notice.js.map +1 -0
  12. package/dist/from-template.d.ts +52 -0
  13. package/dist/from-template.d.ts.map +1 -0
  14. package/dist/from-template.js +89 -0
  15. package/dist/from-template.js.map +1 -0
  16. package/dist/index.d.ts +10 -1
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +10 -1
  19. package/dist/index.js.map +1 -1
  20. package/dist/instance.d.ts +2 -1
  21. package/dist/instance.d.ts.map +1 -1
  22. package/dist/instance.js +1 -0
  23. package/dist/instance.js.map +1 -1
  24. package/dist/leave/away.d.ts +67 -0
  25. package/dist/leave/away.d.ts.map +1 -0
  26. package/dist/leave/away.js +74 -0
  27. package/dist/leave/away.js.map +1 -0
  28. package/dist/leave/civil.d.ts +35 -0
  29. package/dist/leave/civil.d.ts.map +1 -0
  30. package/dist/leave/civil.js +75 -0
  31. package/dist/leave/civil.js.map +1 -0
  32. package/dist/leave/close-line.d.ts +91 -0
  33. package/dist/leave/close-line.d.ts.map +1 -0
  34. package/dist/leave/close-line.js +90 -0
  35. package/dist/leave/close-line.js.map +1 -0
  36. package/dist/leave/count.d.ts +82 -0
  37. package/dist/leave/count.d.ts.map +1 -0
  38. package/dist/leave/count.js +129 -0
  39. package/dist/leave/count.js.map +1 -0
  40. package/dist/leave/deciders.d.ts +81 -0
  41. package/dist/leave/deciders.d.ts.map +1 -0
  42. package/dist/leave/deciders.js +158 -0
  43. package/dist/leave/deciders.js.map +1 -0
  44. package/dist/leave/earning-year.d.ts +34 -0
  45. package/dist/leave/earning-year.d.ts.map +1 -0
  46. package/dist/leave/earning-year.js +113 -0
  47. package/dist/leave/earning-year.js.map +1 -0
  48. package/dist/leave/entitlement.d.ts +104 -0
  49. package/dist/leave/entitlement.d.ts.map +1 -0
  50. package/dist/leave/entitlement.js +59 -0
  51. package/dist/leave/entitlement.js.map +1 -0
  52. package/dist/leave/floors.d.ts +33 -0
  53. package/dist/leave/floors.d.ts.map +1 -0
  54. package/dist/leave/floors.js +55 -0
  55. package/dist/leave/floors.js.map +1 -0
  56. package/dist/leave/index.d.ts +26 -0
  57. package/dist/leave/index.d.ts.map +1 -0
  58. package/dist/leave/index.js +27 -0
  59. package/dist/leave/index.js.map +1 -0
  60. package/dist/leave/notice-gate.d.ts +41 -0
  61. package/dist/leave/notice-gate.d.ts.map +1 -0
  62. package/dist/leave/notice-gate.js +27 -0
  63. package/dist/leave/notice-gate.js.map +1 -0
  64. package/dist/leave/preset-czechia.d.ts +10 -0
  65. package/dist/leave/preset-czechia.d.ts.map +1 -0
  66. package/dist/leave/preset-czechia.js +69 -0
  67. package/dist/leave/preset-czechia.js.map +1 -0
  68. package/dist/leave/preset-denmark.d.ts +24 -0
  69. package/dist/leave/preset-denmark.d.ts.map +1 -0
  70. package/dist/leave/preset-denmark.js +31 -0
  71. package/dist/leave/preset-denmark.js.map +1 -0
  72. package/dist/leave/preset-england-wales.d.ts +10 -0
  73. package/dist/leave/preset-england-wales.d.ts.map +1 -0
  74. package/dist/leave/preset-england-wales.js +67 -0
  75. package/dist/leave/preset-england-wales.js.map +1 -0
  76. package/dist/leave/preset-france.d.ts +30 -0
  77. package/dist/leave/preset-france.d.ts.map +1 -0
  78. package/dist/leave/preset-france.js +31 -0
  79. package/dist/leave/preset-france.js.map +1 -0
  80. package/dist/leave/preset-germany.d.ts +30 -0
  81. package/dist/leave/preset-germany.d.ts.map +1 -0
  82. package/dist/leave/preset-germany.js +92 -0
  83. package/dist/leave/preset-germany.js.map +1 -0
  84. package/dist/leave/preset-us.d.ts +8 -0
  85. package/dist/leave/preset-us.d.ts.map +1 -0
  86. package/dist/leave/preset-us.js +48 -0
  87. package/dist/leave/preset-us.js.map +1 -0
  88. package/dist/leave/replay.d.ts +126 -0
  89. package/dist/leave/replay.d.ts.map +1 -0
  90. package/dist/leave/replay.js +158 -0
  91. package/dist/leave/replay.js.map +1 -0
  92. package/dist/leave/state.d.ts +64 -0
  93. package/dist/leave/state.d.ts.map +1 -0
  94. package/dist/leave/state.js +74 -0
  95. package/dist/leave/state.js.map +1 -0
  96. package/dist/leave/told.d.ts +37 -0
  97. package/dist/leave/told.d.ts.map +1 -0
  98. package/dist/leave/told.js +32 -0
  99. package/dist/leave/told.js.map +1 -0
  100. package/dist/leave/units.d.ts +21 -0
  101. package/dist/leave/units.d.ts.map +1 -0
  102. package/dist/leave/units.js +21 -0
  103. package/dist/leave/units.js.map +1 -0
  104. package/dist/leave-shape.d.ts +326 -0
  105. package/dist/leave-shape.d.ts.map +1 -0
  106. package/dist/leave-shape.js +166 -0
  107. package/dist/leave-shape.js.map +1 -0
  108. package/dist/leave-word.d.ts +90 -0
  109. package/dist/leave-word.d.ts.map +1 -0
  110. package/dist/leave-word.js +255 -0
  111. package/dist/leave-word.js.map +1 -0
  112. package/dist/outbox.d.ts +2 -0
  113. package/dist/outbox.d.ts.map +1 -1
  114. package/dist/outbox.js +5 -0
  115. package/dist/outbox.js.map +1 -1
  116. package/dist/person-import.d.ts +98 -0
  117. package/dist/person-import.d.ts.map +1 -0
  118. package/dist/person-import.js +270 -0
  119. package/dist/person-import.js.map +1 -0
  120. package/dist/record-classes.d.ts +99 -0
  121. package/dist/record-classes.d.ts.map +1 -0
  122. package/dist/record-classes.js +123 -0
  123. package/dist/record-classes.js.map +1 -0
  124. package/dist/removal.d.ts +1 -0
  125. package/dist/removal.d.ts.map +1 -1
  126. package/dist/removal.js +2 -0
  127. package/dist/removal.js.map +1 -1
  128. package/dist/roles.d.ts +23 -1
  129. package/dist/roles.d.ts.map +1 -1
  130. package/dist/roles.js +34 -5
  131. package/dist/roles.js.map +1 -1
  132. package/dist/schema.d.ts +625 -0
  133. package/dist/schema.d.ts.map +1 -1
  134. package/dist/schema.js +134 -14
  135. package/dist/schema.js.map +1 -1
  136. package/dist/staff-accounts.d.ts +102 -0
  137. package/dist/staff-accounts.d.ts.map +1 -0
  138. package/dist/staff-accounts.js +179 -0
  139. package/dist/staff-accounts.js.map +1 -0
  140. package/dist/words.d.ts +1 -1
  141. package/dist/words.d.ts.map +1 -1
  142. package/dist/words.js +85 -0
  143. package/dist/words.js.map +1 -1
  144. package/package.json +2 -2
package/dist/schema.d.ts CHANGED
@@ -12,6 +12,7 @@ import { z } from 'zod';
12
12
  import { type AddOnNeeds } from './add-ons.js';
13
13
  import { bookingSchema } from './booking.js';
14
14
  import { type ConnectedAccountsRule } from './connected-accounts.js';
15
+ import { leaveSchema } from './leave-word.js';
15
16
  import { occupiesSchema } from './occupies.js';
16
17
  import { capacitySchema, type Capacity } from './capacity.js';
17
18
  import { type AppDocument } from './documents.js';
@@ -25,6 +26,8 @@ import { labelsSchema } from './refs.js';
25
26
  import { compareSemver } from './semver.js';
26
27
  import { textTemplateSchema } from './text-messages.js';
27
28
  import { type PublicTextConsent } from './people.js';
29
+ import { type FromTemplate } from './from-template.js';
30
+ import { type ExpiryNotice } from './expiry-notice.js';
28
31
  import { type ManifestAutomation } from './automations.js';
29
32
  import { adjustSchema, type Adjuster } from './adjust.js';
30
33
  import { checkSchema, type Checker } from './check.js';
@@ -473,6 +476,7 @@ export declare const columnRulesSchema: z.ZodObject<{
473
476
  always: "always";
474
477
  }>>;
475
478
  follow: z.ZodOptional<z.ZodLiteral<true>>;
479
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
476
480
  }, z.core.$strict>>;
477
481
  default: z.ZodOptional<z.ZodObject<{
478
482
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -749,6 +753,9 @@ export declare const columnRulesSchema: z.ZodObject<{
749
753
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
750
754
  strict: z.ZodOptional<z.ZodLiteral<true>>;
751
755
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
756
+ follows: z.ZodOptional<z.ZodObject<{
757
+ unless: z.ZodOptional<z.ZodString>;
758
+ }, z.core.$strict>>;
752
759
  }, z.core.$strict>>;
753
760
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
754
761
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -894,6 +901,7 @@ export declare const columnRulesSchema: z.ZodObject<{
894
901
  }, z.core.$strict>]>>;
895
902
  by: z.ZodOptional<z.ZodString>;
896
903
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
904
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
897
905
  }, z.core.$strict>>>;
898
906
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
899
907
  }, z.core.$strict>;
@@ -1028,6 +1036,7 @@ export declare const requiredColumnSchema: z.ZodObject<{
1028
1036
  always: "always";
1029
1037
  }>>;
1030
1038
  follow: z.ZodOptional<z.ZodLiteral<true>>;
1039
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
1031
1040
  }, z.core.$strict>>;
1032
1041
  default: z.ZodOptional<z.ZodObject<{
1033
1042
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -1304,6 +1313,9 @@ export declare const requiredColumnSchema: z.ZodObject<{
1304
1313
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
1305
1314
  strict: z.ZodOptional<z.ZodLiteral<true>>;
1306
1315
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
1316
+ follows: z.ZodOptional<z.ZodObject<{
1317
+ unless: z.ZodOptional<z.ZodString>;
1318
+ }, z.core.$strict>>;
1307
1319
  }, z.core.$strict>>;
1308
1320
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
1309
1321
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -1449,6 +1461,7 @@ export declare const requiredColumnSchema: z.ZodObject<{
1449
1461
  }, z.core.$strict>]>>;
1450
1462
  by: z.ZodOptional<z.ZodString>;
1451
1463
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1464
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
1452
1465
  }, z.core.$strict>>>;
1453
1466
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
1454
1467
  }, z.core.$strict>>;
@@ -1548,6 +1561,7 @@ export declare const requiredTableSchema: z.ZodObject<{
1548
1561
  always: "always";
1549
1562
  }>>;
1550
1563
  follow: z.ZodOptional<z.ZodLiteral<true>>;
1564
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
1551
1565
  }, z.core.$strict>>;
1552
1566
  default: z.ZodOptional<z.ZodObject<{
1553
1567
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -1824,6 +1838,9 @@ export declare const requiredTableSchema: z.ZodObject<{
1824
1838
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
1825
1839
  strict: z.ZodOptional<z.ZodLiteral<true>>;
1826
1840
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
1841
+ follows: z.ZodOptional<z.ZodObject<{
1842
+ unless: z.ZodOptional<z.ZodString>;
1843
+ }, z.core.$strict>>;
1827
1844
  }, z.core.$strict>>;
1828
1845
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
1829
1846
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -1969,6 +1986,7 @@ export declare const requiredTableSchema: z.ZodObject<{
1969
1986
  }, z.core.$strict>]>>;
1970
1987
  by: z.ZodOptional<z.ZodString>;
1971
1988
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
1989
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
1972
1990
  }, z.core.$strict>>>;
1973
1991
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
1974
1992
  }, z.core.$strict>>;
@@ -2155,6 +2173,43 @@ export declare const requiredTableSchema: z.ZodObject<{
2155
2173
  closes: z.ZodOptional<z.ZodString>;
2156
2174
  }, z.core.$strict>>;
2157
2175
  }, z.core.$strict>>;
2176
+ leave: z.ZodOptional<z.ZodObject<{
2177
+ version: z.ZodLiteral<1>;
2178
+ tables: z.ZodObject<{
2179
+ patterns: z.ZodString;
2180
+ entries: z.ZodString;
2181
+ days: z.ZodString;
2182
+ groups: z.ZodString;
2183
+ limits: z.ZodString;
2184
+ people: z.ZodString;
2185
+ employment: z.ZodString;
2186
+ terms: z.ZodString;
2187
+ patternDays: z.ZodString;
2188
+ positions: z.ZodString;
2189
+ locations: z.ZodString;
2190
+ years: z.ZodString;
2191
+ types: z.ZodString;
2192
+ policies: z.ZodString;
2193
+ blocked: z.ZodString;
2194
+ sick: z.ZodString;
2195
+ notes: z.ZodString;
2196
+ leaveDays: z.ZodString;
2197
+ charges: z.ZodString;
2198
+ lots: z.ZodString;
2199
+ balances: z.ZodString;
2200
+ events: z.ZodString;
2201
+ notices: z.ZodString;
2202
+ covers: z.ZodString;
2203
+ runs: z.ZodString;
2204
+ runLines: z.ZodString;
2205
+ expiry: z.ZodString;
2206
+ }, z.core.$strict>;
2207
+ sampleAsOf: z.ZodOptional<z.ZodString>;
2208
+ absenceByTeam: z.ZodOptional<z.ZodObject<{
2209
+ table: z.ZodString;
2210
+ column: z.ZodString;
2211
+ }, z.core.$strict>>;
2212
+ }, z.core.$strict>>;
2158
2213
  connectedAccounts: z.ZodOptional<z.ZodObject<{
2159
2214
  from: z.ZodArray<z.ZodString>;
2160
2215
  address: z.ZodOptional<z.ZodString>;
@@ -2686,6 +2741,7 @@ export declare const requiredTableSchema: z.ZodObject<{
2686
2741
  team: "team";
2687
2742
  anyone: "anyone";
2688
2743
  }>>;
2744
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
2689
2745
  }, z.core.$strict>, z.ZodObject<{
2690
2746
  through: z.ZodObject<{
2691
2747
  table: z.ZodString;
@@ -2707,6 +2763,20 @@ export declare const requiredTableSchema: z.ZodObject<{
2707
2763
  via: z.ZodString;
2708
2764
  }, z.core.$strict>]>>>;
2709
2765
  private: z.ZodOptional<z.ZodLiteral<true>>;
2766
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
2767
+ readLog: z.ZodOptional<z.ZodObject<{
2768
+ subject: z.ZodString;
2769
+ }, z.core.$strict>>;
2770
+ fromTemplate: z.ZodOptional<z.ZodObject<{
2771
+ column: z.ZodString;
2772
+ tasks: z.ZodString;
2773
+ children: z.ZodString;
2774
+ copy: z.ZodArray<z.ZodString>;
2775
+ }, z.core.$strict>>;
2776
+ expiryNotice: z.ZodOptional<z.ZodObject<{
2777
+ column: z.ZodString;
2778
+ days: z.ZodNumber;
2779
+ }, z.core.$strict>>;
2710
2780
  appGrants: z.ZodOptional<z.ZodObject<{
2711
2781
  actions: z.ZodArray<z.ZodEnum<{
2712
2782
  read: "read";
@@ -2881,6 +2951,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
2881
2951
  always: "always";
2882
2952
  }>>;
2883
2953
  follow: z.ZodOptional<z.ZodLiteral<true>>;
2954
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
2884
2955
  }, z.core.$strict>>;
2885
2956
  default: z.ZodOptional<z.ZodObject<{
2886
2957
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -3157,6 +3228,9 @@ export declare const requiredSchemaSchema: z.ZodObject<{
3157
3228
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
3158
3229
  strict: z.ZodOptional<z.ZodLiteral<true>>;
3159
3230
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
3231
+ follows: z.ZodOptional<z.ZodObject<{
3232
+ unless: z.ZodOptional<z.ZodString>;
3233
+ }, z.core.$strict>>;
3160
3234
  }, z.core.$strict>>;
3161
3235
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
3162
3236
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -3302,6 +3376,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
3302
3376
  }, z.core.$strict>]>>;
3303
3377
  by: z.ZodOptional<z.ZodString>;
3304
3378
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3379
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
3305
3380
  }, z.core.$strict>>>;
3306
3381
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
3307
3382
  }, z.core.$strict>>;
@@ -3488,6 +3563,43 @@ export declare const requiredSchemaSchema: z.ZodObject<{
3488
3563
  closes: z.ZodOptional<z.ZodString>;
3489
3564
  }, z.core.$strict>>;
3490
3565
  }, z.core.$strict>>;
3566
+ leave: z.ZodOptional<z.ZodObject<{
3567
+ version: z.ZodLiteral<1>;
3568
+ tables: z.ZodObject<{
3569
+ patterns: z.ZodString;
3570
+ entries: z.ZodString;
3571
+ days: z.ZodString;
3572
+ groups: z.ZodString;
3573
+ limits: z.ZodString;
3574
+ people: z.ZodString;
3575
+ employment: z.ZodString;
3576
+ terms: z.ZodString;
3577
+ patternDays: z.ZodString;
3578
+ positions: z.ZodString;
3579
+ locations: z.ZodString;
3580
+ years: z.ZodString;
3581
+ types: z.ZodString;
3582
+ policies: z.ZodString;
3583
+ blocked: z.ZodString;
3584
+ sick: z.ZodString;
3585
+ notes: z.ZodString;
3586
+ leaveDays: z.ZodString;
3587
+ charges: z.ZodString;
3588
+ lots: z.ZodString;
3589
+ balances: z.ZodString;
3590
+ events: z.ZodString;
3591
+ notices: z.ZodString;
3592
+ covers: z.ZodString;
3593
+ runs: z.ZodString;
3594
+ runLines: z.ZodString;
3595
+ expiry: z.ZodString;
3596
+ }, z.core.$strict>;
3597
+ sampleAsOf: z.ZodOptional<z.ZodString>;
3598
+ absenceByTeam: z.ZodOptional<z.ZodObject<{
3599
+ table: z.ZodString;
3600
+ column: z.ZodString;
3601
+ }, z.core.$strict>>;
3602
+ }, z.core.$strict>>;
3491
3603
  connectedAccounts: z.ZodOptional<z.ZodObject<{
3492
3604
  from: z.ZodArray<z.ZodString>;
3493
3605
  address: z.ZodOptional<z.ZodString>;
@@ -4019,6 +4131,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
4019
4131
  team: "team";
4020
4132
  anyone: "anyone";
4021
4133
  }>>;
4134
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
4022
4135
  }, z.core.$strict>, z.ZodObject<{
4023
4136
  through: z.ZodObject<{
4024
4137
  table: z.ZodString;
@@ -4040,6 +4153,20 @@ export declare const requiredSchemaSchema: z.ZodObject<{
4040
4153
  via: z.ZodString;
4041
4154
  }, z.core.$strict>]>>>;
4042
4155
  private: z.ZodOptional<z.ZodLiteral<true>>;
4156
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
4157
+ readLog: z.ZodOptional<z.ZodObject<{
4158
+ subject: z.ZodString;
4159
+ }, z.core.$strict>>;
4160
+ fromTemplate: z.ZodOptional<z.ZodObject<{
4161
+ column: z.ZodString;
4162
+ tasks: z.ZodString;
4163
+ children: z.ZodString;
4164
+ copy: z.ZodArray<z.ZodString>;
4165
+ }, z.core.$strict>>;
4166
+ expiryNotice: z.ZodOptional<z.ZodObject<{
4167
+ column: z.ZodString;
4168
+ days: z.ZodNumber;
4169
+ }, z.core.$strict>>;
4043
4170
  appGrants: z.ZodOptional<z.ZodObject<{
4044
4171
  actions: z.ZodArray<z.ZodEnum<{
4045
4172
  read: "read";
@@ -4197,6 +4324,7 @@ export declare const shapePartSchema: z.ZodObject<{
4197
4324
  always: "always";
4198
4325
  }>>;
4199
4326
  follow: z.ZodOptional<z.ZodLiteral<true>>;
4327
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
4200
4328
  }, z.core.$strict>>;
4201
4329
  default: z.ZodOptional<z.ZodObject<{
4202
4330
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -4473,6 +4601,9 @@ export declare const shapePartSchema: z.ZodObject<{
4473
4601
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
4474
4602
  strict: z.ZodOptional<z.ZodLiteral<true>>;
4475
4603
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
4604
+ follows: z.ZodOptional<z.ZodObject<{
4605
+ unless: z.ZodOptional<z.ZodString>;
4606
+ }, z.core.$strict>>;
4476
4607
  }, z.core.$strict>>;
4477
4608
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
4478
4609
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -4618,6 +4749,7 @@ export declare const shapePartSchema: z.ZodObject<{
4618
4749
  }, z.core.$strict>]>>;
4619
4750
  by: z.ZodOptional<z.ZodString>;
4620
4751
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
4752
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
4621
4753
  }, z.core.$strict>>>;
4622
4754
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
4623
4755
  }, z.core.$strict>>;
@@ -5200,6 +5332,7 @@ export declare const shapeDefinitionSchema: z.ZodObject<{
5200
5332
  always: "always";
5201
5333
  }>>;
5202
5334
  follow: z.ZodOptional<z.ZodLiteral<true>>;
5335
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
5203
5336
  }, z.core.$strict>>;
5204
5337
  default: z.ZodOptional<z.ZodObject<{
5205
5338
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -5476,6 +5609,9 @@ export declare const shapeDefinitionSchema: z.ZodObject<{
5476
5609
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
5477
5610
  strict: z.ZodOptional<z.ZodLiteral<true>>;
5478
5611
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
5612
+ follows: z.ZodOptional<z.ZodObject<{
5613
+ unless: z.ZodOptional<z.ZodString>;
5614
+ }, z.core.$strict>>;
5479
5615
  }, z.core.$strict>>;
5480
5616
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
5481
5617
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -5621,6 +5757,7 @@ export declare const shapeDefinitionSchema: z.ZodObject<{
5621
5757
  }, z.core.$strict>]>>;
5622
5758
  by: z.ZodOptional<z.ZodString>;
5623
5759
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
5760
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
5624
5761
  }, z.core.$strict>>>;
5625
5762
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
5626
5763
  }, z.core.$strict>>;
@@ -6740,6 +6877,21 @@ export declare const roleSchema: z.ZodObject<{
6740
6877
  cloneFrom: z.ZodOptional<z.ZodString>;
6741
6878
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
6742
6879
  screensOnly: z.ZodOptional<z.ZodBoolean>;
6880
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
6881
+ "before-start": "before-start";
6882
+ "from-start": "from-start";
6883
+ }>>;
6884
+ followsFrom: z.ZodOptional<z.ZodObject<{
6885
+ table: z.ZodString;
6886
+ column: z.ZodString;
6887
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
6888
+ column: z.ZodString;
6889
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6890
+ }, z.core.$strict>, z.ZodObject<{
6891
+ column: z.ZodString;
6892
+ isNull: z.ZodBoolean;
6893
+ }, z.core.$strict>]>>;
6894
+ }, z.core.$strict>>;
6743
6895
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6744
6896
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
6745
6897
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -7277,6 +7429,32 @@ export declare function settingReferences(m: {
7277
7429
  table: string;
7278
7430
  column: string;
7279
7431
  }[];
7432
+ /** What {@link oneRowTables} and the settings check read of a manifest: loose, so the server can ask a stored one. */
7433
+ type OneRowManifest = {
7434
+ requiredSchema: {
7435
+ tables: readonly RequiredTableShape[];
7436
+ };
7437
+ publicAccess?: readonly unknown[] | undefined;
7438
+ publicKeys?: unknown;
7439
+ outbox?: {
7440
+ settings?: {
7441
+ table: string;
7442
+ } | undefined;
7443
+ } | undefined;
7444
+ addOn?: {
7445
+ settingsTable?: string | undefined;
7446
+ } | undefined;
7447
+ };
7448
+ /**
7449
+ * The tables a manifest keeps to ONE row, by its own refs: its settings table
7450
+ * (`outbox.settings.table`), an add-on's `settingsTable`, and every other
7451
+ * table one of its settings is read from (which the check below lets through
7452
+ * only when it stands alone). A second row in any of them makes the readers
7453
+ * disagree on which row is "the" settings, so the server refuses a create
7454
+ * there while the table holds a row (`crud/write-service.ts`). A table the
7455
+ * manifest does not declare is left out.
7456
+ */
7457
+ export declare function oneRowTables(m: OneRowManifest): string[];
7280
7458
  /**
7281
7459
  * Advice about a capped balance worked out from a formula (`balance.of` a
7282
7460
  * total of subtotal and tax): a write that changes what the formula reads is
@@ -7311,6 +7489,7 @@ export interface RequiredTableShape {
7311
7489
  capacity?: Capacity | undefined;
7312
7490
  booking?: z.infer<typeof bookingSchema> | undefined;
7313
7491
  occupies?: z.infer<typeof occupiesSchema> | undefined;
7492
+ leave?: z.infer<typeof leaveSchema> | undefined;
7314
7493
  connectedAccounts?: ConnectedAccountsRule | undefined;
7315
7494
  states?: States | undefined;
7316
7495
  builtOn?: string | undefined;
@@ -7320,6 +7499,12 @@ export interface RequiredTableShape {
7320
7499
  review?: z.infer<typeof reviewSchema> | undefined;
7321
7500
  belongs?: z.infer<typeof belongsSchema> | undefined;
7322
7501
  private?: true | undefined;
7502
+ access?: 'named' | undefined;
7503
+ readLog?: {
7504
+ subject: string;
7505
+ } | undefined;
7506
+ fromTemplate?: FromTemplate | undefined;
7507
+ expiryNotice?: ExpiryNotice | undefined;
7323
7508
  module?: string | undefined;
7324
7509
  }
7325
7510
  /**
@@ -7577,6 +7762,79 @@ export declare const appManifestSchema: z.ZodObject<{
7577
7762
  }, z.core.$strict>>;
7578
7763
  }, z.core.$strict>>;
7579
7764
  }, z.core.$strict>>;
7765
+ staffAccounts: z.ZodOptional<z.ZodObject<{
7766
+ table: z.ZodString;
7767
+ identity: z.ZodString;
7768
+ address: z.ZodOptional<z.ZodString>;
7769
+ start: z.ZodOptional<z.ZodObject<{
7770
+ table: z.ZodString;
7771
+ via: z.ZodString;
7772
+ column: z.ZodString;
7773
+ }, z.core.$strict>>;
7774
+ zone: z.ZodOptional<z.ZodObject<{
7775
+ via: z.ZodString;
7776
+ table: z.ZodString;
7777
+ column: z.ZodString;
7778
+ }, z.core.$strict>>;
7779
+ }, z.core.$strict>>;
7780
+ personImport: z.ZodOptional<z.ZodObject<{
7781
+ root: z.ZodString;
7782
+ keys: z.ZodArray<z.ZodString>;
7783
+ self: z.ZodObject<{
7784
+ column: z.ZodString;
7785
+ header: z.ZodString;
7786
+ }, z.core.$strict>;
7787
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7788
+ table: z.ZodString;
7789
+ via: z.ZodString;
7790
+ firstFrom: z.ZodOptional<z.ZodString>;
7791
+ }, z.core.$strict>>>;
7792
+ find: z.ZodOptional<z.ZodArray<z.ZodObject<{
7793
+ column: z.ZodString;
7794
+ table: z.ZodString;
7795
+ by: z.ZodString;
7796
+ in: z.ZodOptional<z.ZodString>;
7797
+ }, z.core.$strict>>>;
7798
+ findOrCreate: z.ZodOptional<z.ZodArray<z.ZodObject<{
7799
+ column: z.ZodString;
7800
+ table: z.ZodString;
7801
+ by: z.ZodString;
7802
+ in: z.ZodOptional<z.ZodString>;
7803
+ within: z.ZodOptional<z.ZodObject<{
7804
+ column: z.ZodString;
7805
+ table: z.ZodString;
7806
+ by: z.ZodString;
7807
+ }, z.core.$strict>>;
7808
+ }, z.core.$strict>>>;
7809
+ }, z.core.$strict>>;
7810
+ recordClasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
7811
+ key: z.ZodString;
7812
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
7813
+ what: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7814
+ tables: z.ZodArray<z.ZodString>;
7815
+ person: z.ZodRecord<z.ZodString, z.ZodString>;
7816
+ keep: z.ZodObject<{
7817
+ n: z.ZodNumber;
7818
+ unit: z.ZodEnum<{
7819
+ days: "days";
7820
+ years: "years";
7821
+ months: "months";
7822
+ }>;
7823
+ from: z.ZodArray<z.ZodString>;
7824
+ }, z.core.$strict>;
7825
+ then: z.ZodEnum<{
7826
+ delete: "delete";
7827
+ empty: "empty";
7828
+ bundle: "bundle";
7829
+ }>;
7830
+ empties: z.ZodOptional<z.ZodArray<z.ZodString>>;
7831
+ law: z.ZodOptional<z.ZodEnum<{
7832
+ tax: "tax";
7833
+ health: "health";
7834
+ contract: "contract";
7835
+ safety: "safety";
7836
+ }>>;
7837
+ }, z.core.$strict>>>;
7580
7838
  provenance: z.ZodOptional<z.ZodObject<{
7581
7839
  lineage: z.ZodString;
7582
7840
  savedAt: z.ZodISODateTime;
@@ -7645,6 +7903,7 @@ export declare const appManifestSchema: z.ZodObject<{
7645
7903
  "sign-in-code": "sign-in-code";
7646
7904
  "email-changed": "email-changed";
7647
7905
  "email-change-confirm": "email-change-confirm";
7906
+ "person-link-confirm": "person-link-confirm";
7648
7907
  "sign-in-link": "sign-in-link";
7649
7908
  "details-deleted": "details-deleted";
7650
7909
  "payment-link": "payment-link";
@@ -7926,6 +8185,21 @@ export declare const appManifestSchema: z.ZodObject<{
7926
8185
  cloneFrom: z.ZodOptional<z.ZodString>;
7927
8186
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
7928
8187
  screensOnly: z.ZodOptional<z.ZodBoolean>;
8188
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
8189
+ "before-start": "before-start";
8190
+ "from-start": "from-start";
8191
+ }>>;
8192
+ followsFrom: z.ZodOptional<z.ZodObject<{
8193
+ table: z.ZodString;
8194
+ column: z.ZodString;
8195
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
8196
+ column: z.ZodString;
8197
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8198
+ }, z.core.$strict>, z.ZodObject<{
8199
+ column: z.ZodString;
8200
+ isNull: z.ZodBoolean;
8201
+ }, z.core.$strict>]>>;
8202
+ }, z.core.$strict>>;
7929
8203
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7930
8204
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
7931
8205
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -8749,6 +9023,7 @@ export declare const appManifestSchema: z.ZodObject<{
8749
9023
  approvedBy: z.ZodOptional<z.ZodString>;
8750
9024
  effectAt: z.ZodOptional<z.ZodString>;
8751
9025
  effectError: z.ZodOptional<z.ZodString>;
9026
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
8752
9027
  repeatKey: z.ZodOptional<z.ZodString>;
8753
9028
  was: z.ZodOptional<z.ZodString>;
8754
9029
  textReason: z.ZodOptional<z.ZodString>;
@@ -10758,6 +11033,7 @@ export declare const appManifestSchema: z.ZodObject<{
10758
11033
  always: "always";
10759
11034
  }>>;
10760
11035
  follow: z.ZodOptional<z.ZodLiteral<true>>;
11036
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
10761
11037
  }, z.core.$strict>>;
10762
11038
  default: z.ZodOptional<z.ZodObject<{
10763
11039
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -11034,6 +11310,9 @@ export declare const appManifestSchema: z.ZodObject<{
11034
11310
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
11035
11311
  strict: z.ZodOptional<z.ZodLiteral<true>>;
11036
11312
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
11313
+ follows: z.ZodOptional<z.ZodObject<{
11314
+ unless: z.ZodOptional<z.ZodString>;
11315
+ }, z.core.$strict>>;
11037
11316
  }, z.core.$strict>>;
11038
11317
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
11039
11318
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -11179,6 +11458,7 @@ export declare const appManifestSchema: z.ZodObject<{
11179
11458
  }, z.core.$strict>]>>;
11180
11459
  by: z.ZodOptional<z.ZodString>;
11181
11460
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
11461
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
11182
11462
  }, z.core.$strict>>>;
11183
11463
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
11184
11464
  }, z.core.$strict>>;
@@ -11365,6 +11645,43 @@ export declare const appManifestSchema: z.ZodObject<{
11365
11645
  closes: z.ZodOptional<z.ZodString>;
11366
11646
  }, z.core.$strict>>;
11367
11647
  }, z.core.$strict>>;
11648
+ leave: z.ZodOptional<z.ZodObject<{
11649
+ version: z.ZodLiteral<1>;
11650
+ tables: z.ZodObject<{
11651
+ patterns: z.ZodString;
11652
+ entries: z.ZodString;
11653
+ days: z.ZodString;
11654
+ groups: z.ZodString;
11655
+ limits: z.ZodString;
11656
+ people: z.ZodString;
11657
+ employment: z.ZodString;
11658
+ terms: z.ZodString;
11659
+ patternDays: z.ZodString;
11660
+ positions: z.ZodString;
11661
+ locations: z.ZodString;
11662
+ years: z.ZodString;
11663
+ types: z.ZodString;
11664
+ policies: z.ZodString;
11665
+ blocked: z.ZodString;
11666
+ sick: z.ZodString;
11667
+ notes: z.ZodString;
11668
+ leaveDays: z.ZodString;
11669
+ charges: z.ZodString;
11670
+ lots: z.ZodString;
11671
+ balances: z.ZodString;
11672
+ events: z.ZodString;
11673
+ notices: z.ZodString;
11674
+ covers: z.ZodString;
11675
+ runs: z.ZodString;
11676
+ runLines: z.ZodString;
11677
+ expiry: z.ZodString;
11678
+ }, z.core.$strict>;
11679
+ sampleAsOf: z.ZodOptional<z.ZodString>;
11680
+ absenceByTeam: z.ZodOptional<z.ZodObject<{
11681
+ table: z.ZodString;
11682
+ column: z.ZodString;
11683
+ }, z.core.$strict>>;
11684
+ }, z.core.$strict>>;
11368
11685
  connectedAccounts: z.ZodOptional<z.ZodObject<{
11369
11686
  from: z.ZodArray<z.ZodString>;
11370
11687
  address: z.ZodOptional<z.ZodString>;
@@ -11896,6 +12213,7 @@ export declare const appManifestSchema: z.ZodObject<{
11896
12213
  team: "team";
11897
12214
  anyone: "anyone";
11898
12215
  }>>;
12216
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
11899
12217
  }, z.core.$strict>, z.ZodObject<{
11900
12218
  through: z.ZodObject<{
11901
12219
  table: z.ZodString;
@@ -11917,6 +12235,20 @@ export declare const appManifestSchema: z.ZodObject<{
11917
12235
  via: z.ZodString;
11918
12236
  }, z.core.$strict>]>>>;
11919
12237
  private: z.ZodOptional<z.ZodLiteral<true>>;
12238
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
12239
+ readLog: z.ZodOptional<z.ZodObject<{
12240
+ subject: z.ZodString;
12241
+ }, z.core.$strict>>;
12242
+ fromTemplate: z.ZodOptional<z.ZodObject<{
12243
+ column: z.ZodString;
12244
+ tasks: z.ZodString;
12245
+ children: z.ZodString;
12246
+ copy: z.ZodArray<z.ZodString>;
12247
+ }, z.core.$strict>>;
12248
+ expiryNotice: z.ZodOptional<z.ZodObject<{
12249
+ column: z.ZodString;
12250
+ days: z.ZodNumber;
12251
+ }, z.core.$strict>>;
11920
12252
  appGrants: z.ZodOptional<z.ZodObject<{
11921
12253
  actions: z.ZodArray<z.ZodEnum<{
11922
12254
  read: "read";
@@ -12163,6 +12495,21 @@ export declare const addOnManifestSchema: z.ZodObject<{
12163
12495
  cloneFrom: z.ZodOptional<z.ZodString>;
12164
12496
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
12165
12497
  screensOnly: z.ZodOptional<z.ZodBoolean>;
12498
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
12499
+ "before-start": "before-start";
12500
+ "from-start": "from-start";
12501
+ }>>;
12502
+ followsFrom: z.ZodOptional<z.ZodObject<{
12503
+ table: z.ZodString;
12504
+ column: z.ZodString;
12505
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
12506
+ column: z.ZodString;
12507
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
12508
+ }, z.core.$strict>, z.ZodObject<{
12509
+ column: z.ZodString;
12510
+ isNull: z.ZodBoolean;
12511
+ }, z.core.$strict>]>>;
12512
+ }, z.core.$strict>>;
12166
12513
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12167
12514
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
12168
12515
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -12986,6 +13333,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
12986
13333
  approvedBy: z.ZodOptional<z.ZodString>;
12987
13334
  effectAt: z.ZodOptional<z.ZodString>;
12988
13335
  effectError: z.ZodOptional<z.ZodString>;
13336
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
12989
13337
  repeatKey: z.ZodOptional<z.ZodString>;
12990
13338
  was: z.ZodOptional<z.ZodString>;
12991
13339
  textReason: z.ZodOptional<z.ZodString>;
@@ -15405,6 +15753,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
15405
15753
  always: "always";
15406
15754
  }>>;
15407
15755
  follow: z.ZodOptional<z.ZodLiteral<true>>;
15756
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
15408
15757
  }, z.core.$strict>>;
15409
15758
  default: z.ZodOptional<z.ZodObject<{
15410
15759
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -15681,6 +16030,9 @@ export declare const addOnManifestSchema: z.ZodObject<{
15681
16030
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
15682
16031
  strict: z.ZodOptional<z.ZodLiteral<true>>;
15683
16032
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
16033
+ follows: z.ZodOptional<z.ZodObject<{
16034
+ unless: z.ZodOptional<z.ZodString>;
16035
+ }, z.core.$strict>>;
15684
16036
  }, z.core.$strict>>;
15685
16037
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
15686
16038
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -15826,6 +16178,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
15826
16178
  }, z.core.$strict>]>>;
15827
16179
  by: z.ZodOptional<z.ZodString>;
15828
16180
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
16181
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
15829
16182
  }, z.core.$strict>>>;
15830
16183
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
15831
16184
  }, z.core.$strict>>;
@@ -16012,6 +16365,43 @@ export declare const addOnManifestSchema: z.ZodObject<{
16012
16365
  closes: z.ZodOptional<z.ZodString>;
16013
16366
  }, z.core.$strict>>;
16014
16367
  }, z.core.$strict>>;
16368
+ leave: z.ZodOptional<z.ZodObject<{
16369
+ version: z.ZodLiteral<1>;
16370
+ tables: z.ZodObject<{
16371
+ patterns: z.ZodString;
16372
+ entries: z.ZodString;
16373
+ days: z.ZodString;
16374
+ groups: z.ZodString;
16375
+ limits: z.ZodString;
16376
+ people: z.ZodString;
16377
+ employment: z.ZodString;
16378
+ terms: z.ZodString;
16379
+ patternDays: z.ZodString;
16380
+ positions: z.ZodString;
16381
+ locations: z.ZodString;
16382
+ years: z.ZodString;
16383
+ types: z.ZodString;
16384
+ policies: z.ZodString;
16385
+ blocked: z.ZodString;
16386
+ sick: z.ZodString;
16387
+ notes: z.ZodString;
16388
+ leaveDays: z.ZodString;
16389
+ charges: z.ZodString;
16390
+ lots: z.ZodString;
16391
+ balances: z.ZodString;
16392
+ events: z.ZodString;
16393
+ notices: z.ZodString;
16394
+ covers: z.ZodString;
16395
+ runs: z.ZodString;
16396
+ runLines: z.ZodString;
16397
+ expiry: z.ZodString;
16398
+ }, z.core.$strict>;
16399
+ sampleAsOf: z.ZodOptional<z.ZodString>;
16400
+ absenceByTeam: z.ZodOptional<z.ZodObject<{
16401
+ table: z.ZodString;
16402
+ column: z.ZodString;
16403
+ }, z.core.$strict>>;
16404
+ }, z.core.$strict>>;
16015
16405
  connectedAccounts: z.ZodOptional<z.ZodObject<{
16016
16406
  from: z.ZodArray<z.ZodString>;
16017
16407
  address: z.ZodOptional<z.ZodString>;
@@ -16543,6 +16933,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
16543
16933
  team: "team";
16544
16934
  anyone: "anyone";
16545
16935
  }>>;
16936
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
16546
16937
  }, z.core.$strict>, z.ZodObject<{
16547
16938
  through: z.ZodObject<{
16548
16939
  table: z.ZodString;
@@ -16564,6 +16955,20 @@ export declare const addOnManifestSchema: z.ZodObject<{
16564
16955
  via: z.ZodString;
16565
16956
  }, z.core.$strict>]>>>;
16566
16957
  private: z.ZodOptional<z.ZodLiteral<true>>;
16958
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
16959
+ readLog: z.ZodOptional<z.ZodObject<{
16960
+ subject: z.ZodString;
16961
+ }, z.core.$strict>>;
16962
+ fromTemplate: z.ZodOptional<z.ZodObject<{
16963
+ column: z.ZodString;
16964
+ tasks: z.ZodString;
16965
+ children: z.ZodString;
16966
+ copy: z.ZodArray<z.ZodString>;
16967
+ }, z.core.$strict>>;
16968
+ expiryNotice: z.ZodOptional<z.ZodObject<{
16969
+ column: z.ZodString;
16970
+ days: z.ZodNumber;
16971
+ }, z.core.$strict>>;
16567
16972
  appGrants: z.ZodOptional<z.ZodObject<{
16568
16973
  actions: z.ZodArray<z.ZodEnum<{
16569
16974
  read: "read";
@@ -17024,6 +17429,79 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
17024
17429
  }, z.core.$strict>>;
17025
17430
  }, z.core.$strict>>;
17026
17431
  }, z.core.$strict>>;
17432
+ staffAccounts: z.ZodOptional<z.ZodObject<{
17433
+ table: z.ZodString;
17434
+ identity: z.ZodString;
17435
+ address: z.ZodOptional<z.ZodString>;
17436
+ start: z.ZodOptional<z.ZodObject<{
17437
+ table: z.ZodString;
17438
+ via: z.ZodString;
17439
+ column: z.ZodString;
17440
+ }, z.core.$strict>>;
17441
+ zone: z.ZodOptional<z.ZodObject<{
17442
+ via: z.ZodString;
17443
+ table: z.ZodString;
17444
+ column: z.ZodString;
17445
+ }, z.core.$strict>>;
17446
+ }, z.core.$strict>>;
17447
+ personImport: z.ZodOptional<z.ZodObject<{
17448
+ root: z.ZodString;
17449
+ keys: z.ZodArray<z.ZodString>;
17450
+ self: z.ZodObject<{
17451
+ column: z.ZodString;
17452
+ header: z.ZodString;
17453
+ }, z.core.$strict>;
17454
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
17455
+ table: z.ZodString;
17456
+ via: z.ZodString;
17457
+ firstFrom: z.ZodOptional<z.ZodString>;
17458
+ }, z.core.$strict>>>;
17459
+ find: z.ZodOptional<z.ZodArray<z.ZodObject<{
17460
+ column: z.ZodString;
17461
+ table: z.ZodString;
17462
+ by: z.ZodString;
17463
+ in: z.ZodOptional<z.ZodString>;
17464
+ }, z.core.$strict>>>;
17465
+ findOrCreate: z.ZodOptional<z.ZodArray<z.ZodObject<{
17466
+ column: z.ZodString;
17467
+ table: z.ZodString;
17468
+ by: z.ZodString;
17469
+ in: z.ZodOptional<z.ZodString>;
17470
+ within: z.ZodOptional<z.ZodObject<{
17471
+ column: z.ZodString;
17472
+ table: z.ZodString;
17473
+ by: z.ZodString;
17474
+ }, z.core.$strict>>;
17475
+ }, z.core.$strict>>>;
17476
+ }, z.core.$strict>>;
17477
+ recordClasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
17478
+ key: z.ZodString;
17479
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
17480
+ what: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17481
+ tables: z.ZodArray<z.ZodString>;
17482
+ person: z.ZodRecord<z.ZodString, z.ZodString>;
17483
+ keep: z.ZodObject<{
17484
+ n: z.ZodNumber;
17485
+ unit: z.ZodEnum<{
17486
+ days: "days";
17487
+ years: "years";
17488
+ months: "months";
17489
+ }>;
17490
+ from: z.ZodArray<z.ZodString>;
17491
+ }, z.core.$strict>;
17492
+ then: z.ZodEnum<{
17493
+ delete: "delete";
17494
+ empty: "empty";
17495
+ bundle: "bundle";
17496
+ }>;
17497
+ empties: z.ZodOptional<z.ZodArray<z.ZodString>>;
17498
+ law: z.ZodOptional<z.ZodEnum<{
17499
+ tax: "tax";
17500
+ health: "health";
17501
+ contract: "contract";
17502
+ safety: "safety";
17503
+ }>>;
17504
+ }, z.core.$strict>>>;
17027
17505
  provenance: z.ZodOptional<z.ZodObject<{
17028
17506
  lineage: z.ZodString;
17029
17507
  savedAt: z.ZodISODateTime;
@@ -17092,6 +17570,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
17092
17570
  "sign-in-code": "sign-in-code";
17093
17571
  "email-changed": "email-changed";
17094
17572
  "email-change-confirm": "email-change-confirm";
17573
+ "person-link-confirm": "person-link-confirm";
17095
17574
  "sign-in-link": "sign-in-link";
17096
17575
  "details-deleted": "details-deleted";
17097
17576
  "payment-link": "payment-link";
@@ -17373,6 +17852,21 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
17373
17852
  cloneFrom: z.ZodOptional<z.ZodString>;
17374
17853
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
17375
17854
  screensOnly: z.ZodOptional<z.ZodBoolean>;
17855
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
17856
+ "before-start": "before-start";
17857
+ "from-start": "from-start";
17858
+ }>>;
17859
+ followsFrom: z.ZodOptional<z.ZodObject<{
17860
+ table: z.ZodString;
17861
+ column: z.ZodString;
17862
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
17863
+ column: z.ZodString;
17864
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
17865
+ }, z.core.$strict>, z.ZodObject<{
17866
+ column: z.ZodString;
17867
+ isNull: z.ZodBoolean;
17868
+ }, z.core.$strict>]>>;
17869
+ }, z.core.$strict>>;
17376
17870
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17377
17871
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
17378
17872
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -18196,6 +18690,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
18196
18690
  approvedBy: z.ZodOptional<z.ZodString>;
18197
18691
  effectAt: z.ZodOptional<z.ZodString>;
18198
18692
  effectError: z.ZodOptional<z.ZodString>;
18693
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
18199
18694
  repeatKey: z.ZodOptional<z.ZodString>;
18200
18695
  was: z.ZodOptional<z.ZodString>;
18201
18696
  textReason: z.ZodOptional<z.ZodString>;
@@ -20205,6 +20700,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20205
20700
  always: "always";
20206
20701
  }>>;
20207
20702
  follow: z.ZodOptional<z.ZodLiteral<true>>;
20703
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
20208
20704
  }, z.core.$strict>>;
20209
20705
  default: z.ZodOptional<z.ZodObject<{
20210
20706
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -20481,6 +20977,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20481
20977
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
20482
20978
  strict: z.ZodOptional<z.ZodLiteral<true>>;
20483
20979
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
20980
+ follows: z.ZodOptional<z.ZodObject<{
20981
+ unless: z.ZodOptional<z.ZodString>;
20982
+ }, z.core.$strict>>;
20484
20983
  }, z.core.$strict>>;
20485
20984
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
20486
20985
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -20626,6 +21125,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20626
21125
  }, z.core.$strict>]>>;
20627
21126
  by: z.ZodOptional<z.ZodString>;
20628
21127
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
21128
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
20629
21129
  }, z.core.$strict>>>;
20630
21130
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
20631
21131
  }, z.core.$strict>>;
@@ -20812,6 +21312,43 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20812
21312
  closes: z.ZodOptional<z.ZodString>;
20813
21313
  }, z.core.$strict>>;
20814
21314
  }, z.core.$strict>>;
21315
+ leave: z.ZodOptional<z.ZodObject<{
21316
+ version: z.ZodLiteral<1>;
21317
+ tables: z.ZodObject<{
21318
+ patterns: z.ZodString;
21319
+ entries: z.ZodString;
21320
+ days: z.ZodString;
21321
+ groups: z.ZodString;
21322
+ limits: z.ZodString;
21323
+ people: z.ZodString;
21324
+ employment: z.ZodString;
21325
+ terms: z.ZodString;
21326
+ patternDays: z.ZodString;
21327
+ positions: z.ZodString;
21328
+ locations: z.ZodString;
21329
+ years: z.ZodString;
21330
+ types: z.ZodString;
21331
+ policies: z.ZodString;
21332
+ blocked: z.ZodString;
21333
+ sick: z.ZodString;
21334
+ notes: z.ZodString;
21335
+ leaveDays: z.ZodString;
21336
+ charges: z.ZodString;
21337
+ lots: z.ZodString;
21338
+ balances: z.ZodString;
21339
+ events: z.ZodString;
21340
+ notices: z.ZodString;
21341
+ covers: z.ZodString;
21342
+ runs: z.ZodString;
21343
+ runLines: z.ZodString;
21344
+ expiry: z.ZodString;
21345
+ }, z.core.$strict>;
21346
+ sampleAsOf: z.ZodOptional<z.ZodString>;
21347
+ absenceByTeam: z.ZodOptional<z.ZodObject<{
21348
+ table: z.ZodString;
21349
+ column: z.ZodString;
21350
+ }, z.core.$strict>>;
21351
+ }, z.core.$strict>>;
20815
21352
  connectedAccounts: z.ZodOptional<z.ZodObject<{
20816
21353
  from: z.ZodArray<z.ZodString>;
20817
21354
  address: z.ZodOptional<z.ZodString>;
@@ -21343,6 +21880,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
21343
21880
  team: "team";
21344
21881
  anyone: "anyone";
21345
21882
  }>>;
21883
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
21346
21884
  }, z.core.$strict>, z.ZodObject<{
21347
21885
  through: z.ZodObject<{
21348
21886
  table: z.ZodString;
@@ -21364,6 +21902,20 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
21364
21902
  via: z.ZodString;
21365
21903
  }, z.core.$strict>]>>>;
21366
21904
  private: z.ZodOptional<z.ZodLiteral<true>>;
21905
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
21906
+ readLog: z.ZodOptional<z.ZodObject<{
21907
+ subject: z.ZodString;
21908
+ }, z.core.$strict>>;
21909
+ fromTemplate: z.ZodOptional<z.ZodObject<{
21910
+ column: z.ZodString;
21911
+ tasks: z.ZodString;
21912
+ children: z.ZodString;
21913
+ copy: z.ZodArray<z.ZodString>;
21914
+ }, z.core.$strict>>;
21915
+ expiryNotice: z.ZodOptional<z.ZodObject<{
21916
+ column: z.ZodString;
21917
+ days: z.ZodNumber;
21918
+ }, z.core.$strict>>;
21367
21919
  appGrants: z.ZodOptional<z.ZodObject<{
21368
21920
  actions: z.ZodArray<z.ZodEnum<{
21369
21921
  read: "read";
@@ -21591,6 +22143,21 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
21591
22143
  cloneFrom: z.ZodOptional<z.ZodString>;
21592
22144
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
21593
22145
  screensOnly: z.ZodOptional<z.ZodBoolean>;
22146
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
22147
+ "before-start": "before-start";
22148
+ "from-start": "from-start";
22149
+ }>>;
22150
+ followsFrom: z.ZodOptional<z.ZodObject<{
22151
+ table: z.ZodString;
22152
+ column: z.ZodString;
22153
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
22154
+ column: z.ZodString;
22155
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
22156
+ }, z.core.$strict>, z.ZodObject<{
22157
+ column: z.ZodString;
22158
+ isNull: z.ZodBoolean;
22159
+ }, z.core.$strict>]>>;
22160
+ }, z.core.$strict>>;
21594
22161
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
21595
22162
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
21596
22163
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -22414,6 +22981,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
22414
22981
  approvedBy: z.ZodOptional<z.ZodString>;
22415
22982
  effectAt: z.ZodOptional<z.ZodString>;
22416
22983
  effectError: z.ZodOptional<z.ZodString>;
22984
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
22417
22985
  repeatKey: z.ZodOptional<z.ZodString>;
22418
22986
  was: z.ZodOptional<z.ZodString>;
22419
22987
  textReason: z.ZodOptional<z.ZodString>;
@@ -24833,6 +25401,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
24833
25401
  always: "always";
24834
25402
  }>>;
24835
25403
  follow: z.ZodOptional<z.ZodLiteral<true>>;
25404
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
24836
25405
  }, z.core.$strict>>;
24837
25406
  default: z.ZodOptional<z.ZodObject<{
24838
25407
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -25109,6 +25678,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25109
25678
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
25110
25679
  strict: z.ZodOptional<z.ZodLiteral<true>>;
25111
25680
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
25681
+ follows: z.ZodOptional<z.ZodObject<{
25682
+ unless: z.ZodOptional<z.ZodString>;
25683
+ }, z.core.$strict>>;
25112
25684
  }, z.core.$strict>>;
25113
25685
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
25114
25686
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -25254,6 +25826,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25254
25826
  }, z.core.$strict>]>>;
25255
25827
  by: z.ZodOptional<z.ZodString>;
25256
25828
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
25829
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
25257
25830
  }, z.core.$strict>>>;
25258
25831
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
25259
25832
  }, z.core.$strict>>;
@@ -25440,6 +26013,43 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25440
26013
  closes: z.ZodOptional<z.ZodString>;
25441
26014
  }, z.core.$strict>>;
25442
26015
  }, z.core.$strict>>;
26016
+ leave: z.ZodOptional<z.ZodObject<{
26017
+ version: z.ZodLiteral<1>;
26018
+ tables: z.ZodObject<{
26019
+ patterns: z.ZodString;
26020
+ entries: z.ZodString;
26021
+ days: z.ZodString;
26022
+ groups: z.ZodString;
26023
+ limits: z.ZodString;
26024
+ people: z.ZodString;
26025
+ employment: z.ZodString;
26026
+ terms: z.ZodString;
26027
+ patternDays: z.ZodString;
26028
+ positions: z.ZodString;
26029
+ locations: z.ZodString;
26030
+ years: z.ZodString;
26031
+ types: z.ZodString;
26032
+ policies: z.ZodString;
26033
+ blocked: z.ZodString;
26034
+ sick: z.ZodString;
26035
+ notes: z.ZodString;
26036
+ leaveDays: z.ZodString;
26037
+ charges: z.ZodString;
26038
+ lots: z.ZodString;
26039
+ balances: z.ZodString;
26040
+ events: z.ZodString;
26041
+ notices: z.ZodString;
26042
+ covers: z.ZodString;
26043
+ runs: z.ZodString;
26044
+ runLines: z.ZodString;
26045
+ expiry: z.ZodString;
26046
+ }, z.core.$strict>;
26047
+ sampleAsOf: z.ZodOptional<z.ZodString>;
26048
+ absenceByTeam: z.ZodOptional<z.ZodObject<{
26049
+ table: z.ZodString;
26050
+ column: z.ZodString;
26051
+ }, z.core.$strict>>;
26052
+ }, z.core.$strict>>;
25443
26053
  connectedAccounts: z.ZodOptional<z.ZodObject<{
25444
26054
  from: z.ZodArray<z.ZodString>;
25445
26055
  address: z.ZodOptional<z.ZodString>;
@@ -25971,6 +26581,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25971
26581
  team: "team";
25972
26582
  anyone: "anyone";
25973
26583
  }>>;
26584
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
25974
26585
  }, z.core.$strict>, z.ZodObject<{
25975
26586
  through: z.ZodObject<{
25976
26587
  table: z.ZodString;
@@ -25992,6 +26603,20 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25992
26603
  via: z.ZodString;
25993
26604
  }, z.core.$strict>]>>>;
25994
26605
  private: z.ZodOptional<z.ZodLiteral<true>>;
26606
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
26607
+ readLog: z.ZodOptional<z.ZodObject<{
26608
+ subject: z.ZodString;
26609
+ }, z.core.$strict>>;
26610
+ fromTemplate: z.ZodOptional<z.ZodObject<{
26611
+ column: z.ZodString;
26612
+ tasks: z.ZodString;
26613
+ children: z.ZodString;
26614
+ copy: z.ZodArray<z.ZodString>;
26615
+ }, z.core.$strict>>;
26616
+ expiryNotice: z.ZodOptional<z.ZodObject<{
26617
+ column: z.ZodString;
26618
+ days: z.ZodNumber;
26619
+ }, z.core.$strict>>;
25995
26620
  appGrants: z.ZodOptional<z.ZodObject<{
25996
26621
  actions: z.ZodArray<z.ZodEnum<{
25997
26622
  read: "read";