@adminiumjs/manifest 0.3.78 → 0.3.80

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 (136) 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 +11 -2
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +11 -2
  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/entitlement.d.ts +104 -0
  45. package/dist/leave/entitlement.d.ts.map +1 -0
  46. package/dist/leave/entitlement.js +59 -0
  47. package/dist/leave/entitlement.js.map +1 -0
  48. package/dist/leave/floors.d.ts +27 -0
  49. package/dist/leave/floors.d.ts.map +1 -0
  50. package/dist/leave/floors.js +37 -0
  51. package/dist/leave/floors.js.map +1 -0
  52. package/dist/leave/index.d.ts +22 -0
  53. package/dist/leave/index.d.ts.map +1 -0
  54. package/dist/leave/index.js +23 -0
  55. package/dist/leave/index.js.map +1 -0
  56. package/dist/leave/notice-gate.d.ts +41 -0
  57. package/dist/leave/notice-gate.d.ts.map +1 -0
  58. package/dist/leave/notice-gate.js +27 -0
  59. package/dist/leave/notice-gate.js.map +1 -0
  60. package/dist/leave/preset-england-wales.d.ts +10 -0
  61. package/dist/leave/preset-england-wales.d.ts.map +1 -0
  62. package/dist/leave/preset-england-wales.js +67 -0
  63. package/dist/leave/preset-england-wales.js.map +1 -0
  64. package/dist/leave/preset-germany.d.ts +30 -0
  65. package/dist/leave/preset-germany.d.ts.map +1 -0
  66. package/dist/leave/preset-germany.js +92 -0
  67. package/dist/leave/preset-germany.js.map +1 -0
  68. package/dist/leave/preset-us.d.ts +8 -0
  69. package/dist/leave/preset-us.d.ts.map +1 -0
  70. package/dist/leave/preset-us.js +48 -0
  71. package/dist/leave/preset-us.js.map +1 -0
  72. package/dist/leave/replay.d.ts +126 -0
  73. package/dist/leave/replay.d.ts.map +1 -0
  74. package/dist/leave/replay.js +158 -0
  75. package/dist/leave/replay.js.map +1 -0
  76. package/dist/leave/state.d.ts +64 -0
  77. package/dist/leave/state.d.ts.map +1 -0
  78. package/dist/leave/state.js +74 -0
  79. package/dist/leave/state.js.map +1 -0
  80. package/dist/leave/told.d.ts +32 -0
  81. package/dist/leave/told.d.ts.map +1 -0
  82. package/dist/leave/told.js +32 -0
  83. package/dist/leave/told.js.map +1 -0
  84. package/dist/leave/units.d.ts +21 -0
  85. package/dist/leave/units.d.ts.map +1 -0
  86. package/dist/leave/units.js +21 -0
  87. package/dist/leave/units.js.map +1 -0
  88. package/dist/leave-shape.d.ts +324 -0
  89. package/dist/leave-shape.d.ts.map +1 -0
  90. package/dist/leave-shape.js +164 -0
  91. package/dist/leave-shape.js.map +1 -0
  92. package/dist/leave-word.d.ts +86 -0
  93. package/dist/leave-word.d.ts.map +1 -0
  94. package/dist/leave-word.js +235 -0
  95. package/dist/leave-word.js.map +1 -0
  96. package/dist/outbox.d.ts +2 -0
  97. package/dist/outbox.d.ts.map +1 -1
  98. package/dist/outbox.js +5 -0
  99. package/dist/outbox.js.map +1 -1
  100. package/dist/person-import.d.ts +98 -0
  101. package/dist/person-import.d.ts.map +1 -0
  102. package/dist/person-import.js +270 -0
  103. package/dist/person-import.js.map +1 -0
  104. package/dist/public-access.d.ts +5 -0
  105. package/dist/public-access.d.ts.map +1 -1
  106. package/dist/public-access.js +68 -0
  107. package/dist/public-access.js.map +1 -1
  108. package/dist/record-classes.d.ts +99 -0
  109. package/dist/record-classes.d.ts.map +1 -0
  110. package/dist/record-classes.js +123 -0
  111. package/dist/record-classes.js.map +1 -0
  112. package/dist/removal.d.ts +1 -0
  113. package/dist/removal.d.ts.map +1 -1
  114. package/dist/removal.js +2 -0
  115. package/dist/removal.js.map +1 -1
  116. package/dist/roles.d.ts +23 -1
  117. package/dist/roles.d.ts.map +1 -1
  118. package/dist/roles.js +34 -5
  119. package/dist/roles.js.map +1 -1
  120. package/dist/schema.d.ts +601 -0
  121. package/dist/schema.d.ts.map +1 -1
  122. package/dist/schema.js +174 -14
  123. package/dist/schema.js.map +1 -1
  124. package/dist/staff-accounts.d.ts +102 -0
  125. package/dist/staff-accounts.d.ts.map +1 -0
  126. package/dist/staff-accounts.js +179 -0
  127. package/dist/staff-accounts.js.map +1 -0
  128. package/dist/validate.d.ts +10 -0
  129. package/dist/validate.d.ts.map +1 -1
  130. package/dist/validate.js +31 -0
  131. package/dist/validate.js.map +1 -1
  132. package/dist/words.d.ts +1 -1
  133. package/dist/words.d.ts.map +1 -1
  134. package/dist/words.js +80 -0
  135. package/dist/words.js.map +1 -1
  136. 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,39 @@ 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
+ }, z.core.$strict>>;
2158
2209
  connectedAccounts: z.ZodOptional<z.ZodObject<{
2159
2210
  from: z.ZodArray<z.ZodString>;
2160
2211
  address: z.ZodOptional<z.ZodString>;
@@ -2686,6 +2737,7 @@ export declare const requiredTableSchema: z.ZodObject<{
2686
2737
  team: "team";
2687
2738
  anyone: "anyone";
2688
2739
  }>>;
2740
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
2689
2741
  }, z.core.$strict>, z.ZodObject<{
2690
2742
  through: z.ZodObject<{
2691
2743
  table: z.ZodString;
@@ -2707,6 +2759,20 @@ export declare const requiredTableSchema: z.ZodObject<{
2707
2759
  via: z.ZodString;
2708
2760
  }, z.core.$strict>]>>>;
2709
2761
  private: z.ZodOptional<z.ZodLiteral<true>>;
2762
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
2763
+ readLog: z.ZodOptional<z.ZodObject<{
2764
+ subject: z.ZodString;
2765
+ }, z.core.$strict>>;
2766
+ fromTemplate: z.ZodOptional<z.ZodObject<{
2767
+ column: z.ZodString;
2768
+ tasks: z.ZodString;
2769
+ children: z.ZodString;
2770
+ copy: z.ZodArray<z.ZodString>;
2771
+ }, z.core.$strict>>;
2772
+ expiryNotice: z.ZodOptional<z.ZodObject<{
2773
+ column: z.ZodString;
2774
+ days: z.ZodNumber;
2775
+ }, z.core.$strict>>;
2710
2776
  appGrants: z.ZodOptional<z.ZodObject<{
2711
2777
  actions: z.ZodArray<z.ZodEnum<{
2712
2778
  read: "read";
@@ -2881,6 +2947,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
2881
2947
  always: "always";
2882
2948
  }>>;
2883
2949
  follow: z.ZodOptional<z.ZodLiteral<true>>;
2950
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
2884
2951
  }, z.core.$strict>>;
2885
2952
  default: z.ZodOptional<z.ZodObject<{
2886
2953
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -3157,6 +3224,9 @@ export declare const requiredSchemaSchema: z.ZodObject<{
3157
3224
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
3158
3225
  strict: z.ZodOptional<z.ZodLiteral<true>>;
3159
3226
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
3227
+ follows: z.ZodOptional<z.ZodObject<{
3228
+ unless: z.ZodOptional<z.ZodString>;
3229
+ }, z.core.$strict>>;
3160
3230
  }, z.core.$strict>>;
3161
3231
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
3162
3232
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -3302,6 +3372,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
3302
3372
  }, z.core.$strict>]>>;
3303
3373
  by: z.ZodOptional<z.ZodString>;
3304
3374
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
3375
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
3305
3376
  }, z.core.$strict>>>;
3306
3377
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
3307
3378
  }, z.core.$strict>>;
@@ -3488,6 +3559,39 @@ export declare const requiredSchemaSchema: z.ZodObject<{
3488
3559
  closes: z.ZodOptional<z.ZodString>;
3489
3560
  }, z.core.$strict>>;
3490
3561
  }, z.core.$strict>>;
3562
+ leave: z.ZodOptional<z.ZodObject<{
3563
+ version: z.ZodLiteral<1>;
3564
+ tables: z.ZodObject<{
3565
+ patterns: z.ZodString;
3566
+ entries: z.ZodString;
3567
+ days: z.ZodString;
3568
+ groups: z.ZodString;
3569
+ limits: z.ZodString;
3570
+ people: z.ZodString;
3571
+ employment: z.ZodString;
3572
+ terms: z.ZodString;
3573
+ patternDays: z.ZodString;
3574
+ positions: z.ZodString;
3575
+ locations: z.ZodString;
3576
+ years: z.ZodString;
3577
+ types: z.ZodString;
3578
+ policies: z.ZodString;
3579
+ blocked: z.ZodString;
3580
+ sick: z.ZodString;
3581
+ notes: z.ZodString;
3582
+ leaveDays: z.ZodString;
3583
+ charges: z.ZodString;
3584
+ lots: z.ZodString;
3585
+ balances: z.ZodString;
3586
+ events: z.ZodString;
3587
+ notices: z.ZodString;
3588
+ covers: z.ZodString;
3589
+ runs: z.ZodString;
3590
+ runLines: z.ZodString;
3591
+ expiry: z.ZodString;
3592
+ }, z.core.$strict>;
3593
+ sampleAsOf: z.ZodOptional<z.ZodString>;
3594
+ }, z.core.$strict>>;
3491
3595
  connectedAccounts: z.ZodOptional<z.ZodObject<{
3492
3596
  from: z.ZodArray<z.ZodString>;
3493
3597
  address: z.ZodOptional<z.ZodString>;
@@ -4019,6 +4123,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
4019
4123
  team: "team";
4020
4124
  anyone: "anyone";
4021
4125
  }>>;
4126
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
4022
4127
  }, z.core.$strict>, z.ZodObject<{
4023
4128
  through: z.ZodObject<{
4024
4129
  table: z.ZodString;
@@ -4040,6 +4145,20 @@ export declare const requiredSchemaSchema: z.ZodObject<{
4040
4145
  via: z.ZodString;
4041
4146
  }, z.core.$strict>]>>>;
4042
4147
  private: z.ZodOptional<z.ZodLiteral<true>>;
4148
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
4149
+ readLog: z.ZodOptional<z.ZodObject<{
4150
+ subject: z.ZodString;
4151
+ }, z.core.$strict>>;
4152
+ fromTemplate: z.ZodOptional<z.ZodObject<{
4153
+ column: z.ZodString;
4154
+ tasks: z.ZodString;
4155
+ children: z.ZodString;
4156
+ copy: z.ZodArray<z.ZodString>;
4157
+ }, z.core.$strict>>;
4158
+ expiryNotice: z.ZodOptional<z.ZodObject<{
4159
+ column: z.ZodString;
4160
+ days: z.ZodNumber;
4161
+ }, z.core.$strict>>;
4043
4162
  appGrants: z.ZodOptional<z.ZodObject<{
4044
4163
  actions: z.ZodArray<z.ZodEnum<{
4045
4164
  read: "read";
@@ -4197,6 +4316,7 @@ export declare const shapePartSchema: z.ZodObject<{
4197
4316
  always: "always";
4198
4317
  }>>;
4199
4318
  follow: z.ZodOptional<z.ZodLiteral<true>>;
4319
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
4200
4320
  }, z.core.$strict>>;
4201
4321
  default: z.ZodOptional<z.ZodObject<{
4202
4322
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -4473,6 +4593,9 @@ export declare const shapePartSchema: z.ZodObject<{
4473
4593
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
4474
4594
  strict: z.ZodOptional<z.ZodLiteral<true>>;
4475
4595
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
4596
+ follows: z.ZodOptional<z.ZodObject<{
4597
+ unless: z.ZodOptional<z.ZodString>;
4598
+ }, z.core.$strict>>;
4476
4599
  }, z.core.$strict>>;
4477
4600
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
4478
4601
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -4618,6 +4741,7 @@ export declare const shapePartSchema: z.ZodObject<{
4618
4741
  }, z.core.$strict>]>>;
4619
4742
  by: z.ZodOptional<z.ZodString>;
4620
4743
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
4744
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
4621
4745
  }, z.core.$strict>>>;
4622
4746
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
4623
4747
  }, z.core.$strict>>;
@@ -5200,6 +5324,7 @@ export declare const shapeDefinitionSchema: z.ZodObject<{
5200
5324
  always: "always";
5201
5325
  }>>;
5202
5326
  follow: z.ZodOptional<z.ZodLiteral<true>>;
5327
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
5203
5328
  }, z.core.$strict>>;
5204
5329
  default: z.ZodOptional<z.ZodObject<{
5205
5330
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -5476,6 +5601,9 @@ export declare const shapeDefinitionSchema: z.ZodObject<{
5476
5601
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
5477
5602
  strict: z.ZodOptional<z.ZodLiteral<true>>;
5478
5603
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
5604
+ follows: z.ZodOptional<z.ZodObject<{
5605
+ unless: z.ZodOptional<z.ZodString>;
5606
+ }, z.core.$strict>>;
5479
5607
  }, z.core.$strict>>;
5480
5608
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
5481
5609
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -5621,6 +5749,7 @@ export declare const shapeDefinitionSchema: z.ZodObject<{
5621
5749
  }, z.core.$strict>]>>;
5622
5750
  by: z.ZodOptional<z.ZodString>;
5623
5751
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
5752
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
5624
5753
  }, z.core.$strict>>>;
5625
5754
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
5626
5755
  }, z.core.$strict>>;
@@ -6740,6 +6869,21 @@ export declare const roleSchema: z.ZodObject<{
6740
6869
  cloneFrom: z.ZodOptional<z.ZodString>;
6741
6870
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
6742
6871
  screensOnly: z.ZodOptional<z.ZodBoolean>;
6872
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
6873
+ "before-start": "before-start";
6874
+ "from-start": "from-start";
6875
+ }>>;
6876
+ followsFrom: z.ZodOptional<z.ZodObject<{
6877
+ table: z.ZodString;
6878
+ column: z.ZodString;
6879
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
6880
+ column: z.ZodString;
6881
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
6882
+ }, z.core.$strict>, z.ZodObject<{
6883
+ column: z.ZodString;
6884
+ isNull: z.ZodBoolean;
6885
+ }, z.core.$strict>]>>;
6886
+ }, z.core.$strict>>;
6743
6887
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6744
6888
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
6745
6889
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -7277,6 +7421,32 @@ export declare function settingReferences(m: {
7277
7421
  table: string;
7278
7422
  column: string;
7279
7423
  }[];
7424
+ /** What {@link oneRowTables} and the settings check read of a manifest: loose, so the server can ask a stored one. */
7425
+ type OneRowManifest = {
7426
+ requiredSchema: {
7427
+ tables: readonly RequiredTableShape[];
7428
+ };
7429
+ publicAccess?: readonly unknown[] | undefined;
7430
+ publicKeys?: unknown;
7431
+ outbox?: {
7432
+ settings?: {
7433
+ table: string;
7434
+ } | undefined;
7435
+ } | undefined;
7436
+ addOn?: {
7437
+ settingsTable?: string | undefined;
7438
+ } | undefined;
7439
+ };
7440
+ /**
7441
+ * The tables a manifest keeps to ONE row, by its own refs: its settings table
7442
+ * (`outbox.settings.table`), an add-on's `settingsTable`, and every other
7443
+ * table one of its settings is read from (which the check below lets through
7444
+ * only when it stands alone). A second row in any of them makes the readers
7445
+ * disagree on which row is "the" settings, so the server refuses a create
7446
+ * there while the table holds a row (`crud/write-service.ts`). A table the
7447
+ * manifest does not declare is left out.
7448
+ */
7449
+ export declare function oneRowTables(m: OneRowManifest): string[];
7280
7450
  /**
7281
7451
  * Advice about a capped balance worked out from a formula (`balance.of` a
7282
7452
  * total of subtotal and tax): a write that changes what the formula reads is
@@ -7311,6 +7481,7 @@ export interface RequiredTableShape {
7311
7481
  capacity?: Capacity | undefined;
7312
7482
  booking?: z.infer<typeof bookingSchema> | undefined;
7313
7483
  occupies?: z.infer<typeof occupiesSchema> | undefined;
7484
+ leave?: z.infer<typeof leaveSchema> | undefined;
7314
7485
  connectedAccounts?: ConnectedAccountsRule | undefined;
7315
7486
  states?: States | undefined;
7316
7487
  builtOn?: string | undefined;
@@ -7320,6 +7491,12 @@ export interface RequiredTableShape {
7320
7491
  review?: z.infer<typeof reviewSchema> | undefined;
7321
7492
  belongs?: z.infer<typeof belongsSchema> | undefined;
7322
7493
  private?: true | undefined;
7494
+ access?: 'named' | undefined;
7495
+ readLog?: {
7496
+ subject: string;
7497
+ } | undefined;
7498
+ fromTemplate?: FromTemplate | undefined;
7499
+ expiryNotice?: ExpiryNotice | undefined;
7323
7500
  module?: string | undefined;
7324
7501
  }
7325
7502
  /**
@@ -7577,6 +7754,79 @@ export declare const appManifestSchema: z.ZodObject<{
7577
7754
  }, z.core.$strict>>;
7578
7755
  }, z.core.$strict>>;
7579
7756
  }, z.core.$strict>>;
7757
+ staffAccounts: z.ZodOptional<z.ZodObject<{
7758
+ table: z.ZodString;
7759
+ identity: z.ZodString;
7760
+ address: z.ZodOptional<z.ZodString>;
7761
+ start: z.ZodOptional<z.ZodObject<{
7762
+ table: z.ZodString;
7763
+ via: z.ZodString;
7764
+ column: z.ZodString;
7765
+ }, z.core.$strict>>;
7766
+ zone: z.ZodOptional<z.ZodObject<{
7767
+ via: z.ZodString;
7768
+ table: z.ZodString;
7769
+ column: z.ZodString;
7770
+ }, z.core.$strict>>;
7771
+ }, z.core.$strict>>;
7772
+ personImport: z.ZodOptional<z.ZodObject<{
7773
+ root: z.ZodString;
7774
+ keys: z.ZodArray<z.ZodString>;
7775
+ self: z.ZodObject<{
7776
+ column: z.ZodString;
7777
+ header: z.ZodString;
7778
+ }, z.core.$strict>;
7779
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
7780
+ table: z.ZodString;
7781
+ via: z.ZodString;
7782
+ firstFrom: z.ZodOptional<z.ZodString>;
7783
+ }, z.core.$strict>>>;
7784
+ find: z.ZodOptional<z.ZodArray<z.ZodObject<{
7785
+ column: z.ZodString;
7786
+ table: z.ZodString;
7787
+ by: z.ZodString;
7788
+ in: z.ZodOptional<z.ZodString>;
7789
+ }, z.core.$strict>>>;
7790
+ findOrCreate: z.ZodOptional<z.ZodArray<z.ZodObject<{
7791
+ column: z.ZodString;
7792
+ table: z.ZodString;
7793
+ by: z.ZodString;
7794
+ in: z.ZodOptional<z.ZodString>;
7795
+ within: z.ZodOptional<z.ZodObject<{
7796
+ column: z.ZodString;
7797
+ table: z.ZodString;
7798
+ by: z.ZodString;
7799
+ }, z.core.$strict>>;
7800
+ }, z.core.$strict>>>;
7801
+ }, z.core.$strict>>;
7802
+ recordClasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
7803
+ key: z.ZodString;
7804
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
7805
+ what: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7806
+ tables: z.ZodArray<z.ZodString>;
7807
+ person: z.ZodRecord<z.ZodString, z.ZodString>;
7808
+ keep: z.ZodObject<{
7809
+ n: z.ZodNumber;
7810
+ unit: z.ZodEnum<{
7811
+ days: "days";
7812
+ years: "years";
7813
+ months: "months";
7814
+ }>;
7815
+ from: z.ZodArray<z.ZodString>;
7816
+ }, z.core.$strict>;
7817
+ then: z.ZodEnum<{
7818
+ delete: "delete";
7819
+ empty: "empty";
7820
+ bundle: "bundle";
7821
+ }>;
7822
+ empties: z.ZodOptional<z.ZodArray<z.ZodString>>;
7823
+ law: z.ZodOptional<z.ZodEnum<{
7824
+ tax: "tax";
7825
+ health: "health";
7826
+ contract: "contract";
7827
+ safety: "safety";
7828
+ }>>;
7829
+ }, z.core.$strict>>>;
7580
7830
  provenance: z.ZodOptional<z.ZodObject<{
7581
7831
  lineage: z.ZodString;
7582
7832
  savedAt: z.ZodISODateTime;
@@ -7645,6 +7895,7 @@ export declare const appManifestSchema: z.ZodObject<{
7645
7895
  "sign-in-code": "sign-in-code";
7646
7896
  "email-changed": "email-changed";
7647
7897
  "email-change-confirm": "email-change-confirm";
7898
+ "person-link-confirm": "person-link-confirm";
7648
7899
  "sign-in-link": "sign-in-link";
7649
7900
  "details-deleted": "details-deleted";
7650
7901
  "payment-link": "payment-link";
@@ -7926,6 +8177,21 @@ export declare const appManifestSchema: z.ZodObject<{
7926
8177
  cloneFrom: z.ZodOptional<z.ZodString>;
7927
8178
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
7928
8179
  screensOnly: z.ZodOptional<z.ZodBoolean>;
8180
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
8181
+ "before-start": "before-start";
8182
+ "from-start": "from-start";
8183
+ }>>;
8184
+ followsFrom: z.ZodOptional<z.ZodObject<{
8185
+ table: z.ZodString;
8186
+ column: z.ZodString;
8187
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
8188
+ column: z.ZodString;
8189
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
8190
+ }, z.core.$strict>, z.ZodObject<{
8191
+ column: z.ZodString;
8192
+ isNull: z.ZodBoolean;
8193
+ }, z.core.$strict>]>>;
8194
+ }, z.core.$strict>>;
7929
8195
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
7930
8196
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
7931
8197
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -8749,6 +9015,7 @@ export declare const appManifestSchema: z.ZodObject<{
8749
9015
  approvedBy: z.ZodOptional<z.ZodString>;
8750
9016
  effectAt: z.ZodOptional<z.ZodString>;
8751
9017
  effectError: z.ZodOptional<z.ZodString>;
9018
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
8752
9019
  repeatKey: z.ZodOptional<z.ZodString>;
8753
9020
  was: z.ZodOptional<z.ZodString>;
8754
9021
  textReason: z.ZodOptional<z.ZodString>;
@@ -10758,6 +11025,7 @@ export declare const appManifestSchema: z.ZodObject<{
10758
11025
  always: "always";
10759
11026
  }>>;
10760
11027
  follow: z.ZodOptional<z.ZodLiteral<true>>;
11028
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
10761
11029
  }, z.core.$strict>>;
10762
11030
  default: z.ZodOptional<z.ZodObject<{
10763
11031
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -11034,6 +11302,9 @@ export declare const appManifestSchema: z.ZodObject<{
11034
11302
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
11035
11303
  strict: z.ZodOptional<z.ZodLiteral<true>>;
11036
11304
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
11305
+ follows: z.ZodOptional<z.ZodObject<{
11306
+ unless: z.ZodOptional<z.ZodString>;
11307
+ }, z.core.$strict>>;
11037
11308
  }, z.core.$strict>>;
11038
11309
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
11039
11310
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -11179,6 +11450,7 @@ export declare const appManifestSchema: z.ZodObject<{
11179
11450
  }, z.core.$strict>]>>;
11180
11451
  by: z.ZodOptional<z.ZodString>;
11181
11452
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
11453
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
11182
11454
  }, z.core.$strict>>>;
11183
11455
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
11184
11456
  }, z.core.$strict>>;
@@ -11365,6 +11637,39 @@ export declare const appManifestSchema: z.ZodObject<{
11365
11637
  closes: z.ZodOptional<z.ZodString>;
11366
11638
  }, z.core.$strict>>;
11367
11639
  }, z.core.$strict>>;
11640
+ leave: z.ZodOptional<z.ZodObject<{
11641
+ version: z.ZodLiteral<1>;
11642
+ tables: z.ZodObject<{
11643
+ patterns: z.ZodString;
11644
+ entries: z.ZodString;
11645
+ days: z.ZodString;
11646
+ groups: z.ZodString;
11647
+ limits: z.ZodString;
11648
+ people: z.ZodString;
11649
+ employment: z.ZodString;
11650
+ terms: z.ZodString;
11651
+ patternDays: z.ZodString;
11652
+ positions: z.ZodString;
11653
+ locations: z.ZodString;
11654
+ years: z.ZodString;
11655
+ types: z.ZodString;
11656
+ policies: z.ZodString;
11657
+ blocked: z.ZodString;
11658
+ sick: z.ZodString;
11659
+ notes: z.ZodString;
11660
+ leaveDays: z.ZodString;
11661
+ charges: z.ZodString;
11662
+ lots: z.ZodString;
11663
+ balances: z.ZodString;
11664
+ events: z.ZodString;
11665
+ notices: z.ZodString;
11666
+ covers: z.ZodString;
11667
+ runs: z.ZodString;
11668
+ runLines: z.ZodString;
11669
+ expiry: z.ZodString;
11670
+ }, z.core.$strict>;
11671
+ sampleAsOf: z.ZodOptional<z.ZodString>;
11672
+ }, z.core.$strict>>;
11368
11673
  connectedAccounts: z.ZodOptional<z.ZodObject<{
11369
11674
  from: z.ZodArray<z.ZodString>;
11370
11675
  address: z.ZodOptional<z.ZodString>;
@@ -11896,6 +12201,7 @@ export declare const appManifestSchema: z.ZodObject<{
11896
12201
  team: "team";
11897
12202
  anyone: "anyone";
11898
12203
  }>>;
12204
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
11899
12205
  }, z.core.$strict>, z.ZodObject<{
11900
12206
  through: z.ZodObject<{
11901
12207
  table: z.ZodString;
@@ -11917,6 +12223,20 @@ export declare const appManifestSchema: z.ZodObject<{
11917
12223
  via: z.ZodString;
11918
12224
  }, z.core.$strict>]>>>;
11919
12225
  private: z.ZodOptional<z.ZodLiteral<true>>;
12226
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
12227
+ readLog: z.ZodOptional<z.ZodObject<{
12228
+ subject: z.ZodString;
12229
+ }, z.core.$strict>>;
12230
+ fromTemplate: z.ZodOptional<z.ZodObject<{
12231
+ column: z.ZodString;
12232
+ tasks: z.ZodString;
12233
+ children: z.ZodString;
12234
+ copy: z.ZodArray<z.ZodString>;
12235
+ }, z.core.$strict>>;
12236
+ expiryNotice: z.ZodOptional<z.ZodObject<{
12237
+ column: z.ZodString;
12238
+ days: z.ZodNumber;
12239
+ }, z.core.$strict>>;
11920
12240
  appGrants: z.ZodOptional<z.ZodObject<{
11921
12241
  actions: z.ZodArray<z.ZodEnum<{
11922
12242
  read: "read";
@@ -12163,6 +12483,21 @@ export declare const addOnManifestSchema: z.ZodObject<{
12163
12483
  cloneFrom: z.ZodOptional<z.ZodString>;
12164
12484
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
12165
12485
  screensOnly: z.ZodOptional<z.ZodBoolean>;
12486
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
12487
+ "before-start": "before-start";
12488
+ "from-start": "from-start";
12489
+ }>>;
12490
+ followsFrom: z.ZodOptional<z.ZodObject<{
12491
+ table: z.ZodString;
12492
+ column: z.ZodString;
12493
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
12494
+ column: z.ZodString;
12495
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
12496
+ }, z.core.$strict>, z.ZodObject<{
12497
+ column: z.ZodString;
12498
+ isNull: z.ZodBoolean;
12499
+ }, z.core.$strict>]>>;
12500
+ }, z.core.$strict>>;
12166
12501
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12167
12502
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
12168
12503
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -12986,6 +13321,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
12986
13321
  approvedBy: z.ZodOptional<z.ZodString>;
12987
13322
  effectAt: z.ZodOptional<z.ZodString>;
12988
13323
  effectError: z.ZodOptional<z.ZodString>;
13324
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
12989
13325
  repeatKey: z.ZodOptional<z.ZodString>;
12990
13326
  was: z.ZodOptional<z.ZodString>;
12991
13327
  textReason: z.ZodOptional<z.ZodString>;
@@ -15405,6 +15741,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
15405
15741
  always: "always";
15406
15742
  }>>;
15407
15743
  follow: z.ZodOptional<z.ZodLiteral<true>>;
15744
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
15408
15745
  }, z.core.$strict>>;
15409
15746
  default: z.ZodOptional<z.ZodObject<{
15410
15747
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -15681,6 +16018,9 @@ export declare const addOnManifestSchema: z.ZodObject<{
15681
16018
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
15682
16019
  strict: z.ZodOptional<z.ZodLiteral<true>>;
15683
16020
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
16021
+ follows: z.ZodOptional<z.ZodObject<{
16022
+ unless: z.ZodOptional<z.ZodString>;
16023
+ }, z.core.$strict>>;
15684
16024
  }, z.core.$strict>>;
15685
16025
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
15686
16026
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -15826,6 +16166,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
15826
16166
  }, z.core.$strict>]>>;
15827
16167
  by: z.ZodOptional<z.ZodString>;
15828
16168
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
16169
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
15829
16170
  }, z.core.$strict>>>;
15830
16171
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
15831
16172
  }, z.core.$strict>>;
@@ -16012,6 +16353,39 @@ export declare const addOnManifestSchema: z.ZodObject<{
16012
16353
  closes: z.ZodOptional<z.ZodString>;
16013
16354
  }, z.core.$strict>>;
16014
16355
  }, z.core.$strict>>;
16356
+ leave: z.ZodOptional<z.ZodObject<{
16357
+ version: z.ZodLiteral<1>;
16358
+ tables: z.ZodObject<{
16359
+ patterns: z.ZodString;
16360
+ entries: z.ZodString;
16361
+ days: z.ZodString;
16362
+ groups: z.ZodString;
16363
+ limits: z.ZodString;
16364
+ people: z.ZodString;
16365
+ employment: z.ZodString;
16366
+ terms: z.ZodString;
16367
+ patternDays: z.ZodString;
16368
+ positions: z.ZodString;
16369
+ locations: z.ZodString;
16370
+ years: z.ZodString;
16371
+ types: z.ZodString;
16372
+ policies: z.ZodString;
16373
+ blocked: z.ZodString;
16374
+ sick: z.ZodString;
16375
+ notes: z.ZodString;
16376
+ leaveDays: z.ZodString;
16377
+ charges: z.ZodString;
16378
+ lots: z.ZodString;
16379
+ balances: z.ZodString;
16380
+ events: z.ZodString;
16381
+ notices: z.ZodString;
16382
+ covers: z.ZodString;
16383
+ runs: z.ZodString;
16384
+ runLines: z.ZodString;
16385
+ expiry: z.ZodString;
16386
+ }, z.core.$strict>;
16387
+ sampleAsOf: z.ZodOptional<z.ZodString>;
16388
+ }, z.core.$strict>>;
16015
16389
  connectedAccounts: z.ZodOptional<z.ZodObject<{
16016
16390
  from: z.ZodArray<z.ZodString>;
16017
16391
  address: z.ZodOptional<z.ZodString>;
@@ -16543,6 +16917,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
16543
16917
  team: "team";
16544
16918
  anyone: "anyone";
16545
16919
  }>>;
16920
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
16546
16921
  }, z.core.$strict>, z.ZodObject<{
16547
16922
  through: z.ZodObject<{
16548
16923
  table: z.ZodString;
@@ -16564,6 +16939,20 @@ export declare const addOnManifestSchema: z.ZodObject<{
16564
16939
  via: z.ZodString;
16565
16940
  }, z.core.$strict>]>>>;
16566
16941
  private: z.ZodOptional<z.ZodLiteral<true>>;
16942
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
16943
+ readLog: z.ZodOptional<z.ZodObject<{
16944
+ subject: z.ZodString;
16945
+ }, z.core.$strict>>;
16946
+ fromTemplate: z.ZodOptional<z.ZodObject<{
16947
+ column: z.ZodString;
16948
+ tasks: z.ZodString;
16949
+ children: z.ZodString;
16950
+ copy: z.ZodArray<z.ZodString>;
16951
+ }, z.core.$strict>>;
16952
+ expiryNotice: z.ZodOptional<z.ZodObject<{
16953
+ column: z.ZodString;
16954
+ days: z.ZodNumber;
16955
+ }, z.core.$strict>>;
16567
16956
  appGrants: z.ZodOptional<z.ZodObject<{
16568
16957
  actions: z.ZodArray<z.ZodEnum<{
16569
16958
  read: "read";
@@ -17024,6 +17413,79 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
17024
17413
  }, z.core.$strict>>;
17025
17414
  }, z.core.$strict>>;
17026
17415
  }, z.core.$strict>>;
17416
+ staffAccounts: z.ZodOptional<z.ZodObject<{
17417
+ table: z.ZodString;
17418
+ identity: z.ZodString;
17419
+ address: z.ZodOptional<z.ZodString>;
17420
+ start: z.ZodOptional<z.ZodObject<{
17421
+ table: z.ZodString;
17422
+ via: z.ZodString;
17423
+ column: z.ZodString;
17424
+ }, z.core.$strict>>;
17425
+ zone: z.ZodOptional<z.ZodObject<{
17426
+ via: z.ZodString;
17427
+ table: z.ZodString;
17428
+ column: z.ZodString;
17429
+ }, z.core.$strict>>;
17430
+ }, z.core.$strict>>;
17431
+ personImport: z.ZodOptional<z.ZodObject<{
17432
+ root: z.ZodString;
17433
+ keys: z.ZodArray<z.ZodString>;
17434
+ self: z.ZodObject<{
17435
+ column: z.ZodString;
17436
+ header: z.ZodString;
17437
+ }, z.core.$strict>;
17438
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
17439
+ table: z.ZodString;
17440
+ via: z.ZodString;
17441
+ firstFrom: z.ZodOptional<z.ZodString>;
17442
+ }, z.core.$strict>>>;
17443
+ find: z.ZodOptional<z.ZodArray<z.ZodObject<{
17444
+ column: z.ZodString;
17445
+ table: z.ZodString;
17446
+ by: z.ZodString;
17447
+ in: z.ZodOptional<z.ZodString>;
17448
+ }, z.core.$strict>>>;
17449
+ findOrCreate: z.ZodOptional<z.ZodArray<z.ZodObject<{
17450
+ column: z.ZodString;
17451
+ table: z.ZodString;
17452
+ by: z.ZodString;
17453
+ in: z.ZodOptional<z.ZodString>;
17454
+ within: z.ZodOptional<z.ZodObject<{
17455
+ column: z.ZodString;
17456
+ table: z.ZodString;
17457
+ by: z.ZodString;
17458
+ }, z.core.$strict>>;
17459
+ }, z.core.$strict>>>;
17460
+ }, z.core.$strict>>;
17461
+ recordClasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
17462
+ key: z.ZodString;
17463
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
17464
+ what: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17465
+ tables: z.ZodArray<z.ZodString>;
17466
+ person: z.ZodRecord<z.ZodString, z.ZodString>;
17467
+ keep: z.ZodObject<{
17468
+ n: z.ZodNumber;
17469
+ unit: z.ZodEnum<{
17470
+ days: "days";
17471
+ years: "years";
17472
+ months: "months";
17473
+ }>;
17474
+ from: z.ZodArray<z.ZodString>;
17475
+ }, z.core.$strict>;
17476
+ then: z.ZodEnum<{
17477
+ delete: "delete";
17478
+ empty: "empty";
17479
+ bundle: "bundle";
17480
+ }>;
17481
+ empties: z.ZodOptional<z.ZodArray<z.ZodString>>;
17482
+ law: z.ZodOptional<z.ZodEnum<{
17483
+ tax: "tax";
17484
+ health: "health";
17485
+ contract: "contract";
17486
+ safety: "safety";
17487
+ }>>;
17488
+ }, z.core.$strict>>>;
17027
17489
  provenance: z.ZodOptional<z.ZodObject<{
17028
17490
  lineage: z.ZodString;
17029
17491
  savedAt: z.ZodISODateTime;
@@ -17092,6 +17554,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
17092
17554
  "sign-in-code": "sign-in-code";
17093
17555
  "email-changed": "email-changed";
17094
17556
  "email-change-confirm": "email-change-confirm";
17557
+ "person-link-confirm": "person-link-confirm";
17095
17558
  "sign-in-link": "sign-in-link";
17096
17559
  "details-deleted": "details-deleted";
17097
17560
  "payment-link": "payment-link";
@@ -17373,6 +17836,21 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
17373
17836
  cloneFrom: z.ZodOptional<z.ZodString>;
17374
17837
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
17375
17838
  screensOnly: z.ZodOptional<z.ZodBoolean>;
17839
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
17840
+ "before-start": "before-start";
17841
+ "from-start": "from-start";
17842
+ }>>;
17843
+ followsFrom: z.ZodOptional<z.ZodObject<{
17844
+ table: z.ZodString;
17845
+ column: z.ZodString;
17846
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
17847
+ column: z.ZodString;
17848
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
17849
+ }, z.core.$strict>, z.ZodObject<{
17850
+ column: z.ZodString;
17851
+ isNull: z.ZodBoolean;
17852
+ }, z.core.$strict>]>>;
17853
+ }, z.core.$strict>>;
17376
17854
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
17377
17855
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
17378
17856
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -18196,6 +18674,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
18196
18674
  approvedBy: z.ZodOptional<z.ZodString>;
18197
18675
  effectAt: z.ZodOptional<z.ZodString>;
18198
18676
  effectError: z.ZodOptional<z.ZodString>;
18677
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
18199
18678
  repeatKey: z.ZodOptional<z.ZodString>;
18200
18679
  was: z.ZodOptional<z.ZodString>;
18201
18680
  textReason: z.ZodOptional<z.ZodString>;
@@ -20205,6 +20684,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20205
20684
  always: "always";
20206
20685
  }>>;
20207
20686
  follow: z.ZodOptional<z.ZodLiteral<true>>;
20687
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
20208
20688
  }, z.core.$strict>>;
20209
20689
  default: z.ZodOptional<z.ZodObject<{
20210
20690
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -20481,6 +20961,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20481
20961
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
20482
20962
  strict: z.ZodOptional<z.ZodLiteral<true>>;
20483
20963
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
20964
+ follows: z.ZodOptional<z.ZodObject<{
20965
+ unless: z.ZodOptional<z.ZodString>;
20966
+ }, z.core.$strict>>;
20484
20967
  }, z.core.$strict>>;
20485
20968
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
20486
20969
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -20626,6 +21109,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20626
21109
  }, z.core.$strict>]>>;
20627
21110
  by: z.ZodOptional<z.ZodString>;
20628
21111
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
21112
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
20629
21113
  }, z.core.$strict>>>;
20630
21114
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
20631
21115
  }, z.core.$strict>>;
@@ -20812,6 +21296,39 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
20812
21296
  closes: z.ZodOptional<z.ZodString>;
20813
21297
  }, z.core.$strict>>;
20814
21298
  }, z.core.$strict>>;
21299
+ leave: z.ZodOptional<z.ZodObject<{
21300
+ version: z.ZodLiteral<1>;
21301
+ tables: z.ZodObject<{
21302
+ patterns: z.ZodString;
21303
+ entries: z.ZodString;
21304
+ days: z.ZodString;
21305
+ groups: z.ZodString;
21306
+ limits: z.ZodString;
21307
+ people: z.ZodString;
21308
+ employment: z.ZodString;
21309
+ terms: z.ZodString;
21310
+ patternDays: z.ZodString;
21311
+ positions: z.ZodString;
21312
+ locations: z.ZodString;
21313
+ years: z.ZodString;
21314
+ types: z.ZodString;
21315
+ policies: z.ZodString;
21316
+ blocked: z.ZodString;
21317
+ sick: z.ZodString;
21318
+ notes: z.ZodString;
21319
+ leaveDays: z.ZodString;
21320
+ charges: z.ZodString;
21321
+ lots: z.ZodString;
21322
+ balances: z.ZodString;
21323
+ events: z.ZodString;
21324
+ notices: z.ZodString;
21325
+ covers: z.ZodString;
21326
+ runs: z.ZodString;
21327
+ runLines: z.ZodString;
21328
+ expiry: z.ZodString;
21329
+ }, z.core.$strict>;
21330
+ sampleAsOf: z.ZodOptional<z.ZodString>;
21331
+ }, z.core.$strict>>;
20815
21332
  connectedAccounts: z.ZodOptional<z.ZodObject<{
20816
21333
  from: z.ZodArray<z.ZodString>;
20817
21334
  address: z.ZodOptional<z.ZodString>;
@@ -21343,6 +21860,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
21343
21860
  team: "team";
21344
21861
  anyone: "anyone";
21345
21862
  }>>;
21863
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
21346
21864
  }, z.core.$strict>, z.ZodObject<{
21347
21865
  through: z.ZodObject<{
21348
21866
  table: z.ZodString;
@@ -21364,6 +21882,20 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
21364
21882
  via: z.ZodString;
21365
21883
  }, z.core.$strict>]>>>;
21366
21884
  private: z.ZodOptional<z.ZodLiteral<true>>;
21885
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
21886
+ readLog: z.ZodOptional<z.ZodObject<{
21887
+ subject: z.ZodString;
21888
+ }, z.core.$strict>>;
21889
+ fromTemplate: z.ZodOptional<z.ZodObject<{
21890
+ column: z.ZodString;
21891
+ tasks: z.ZodString;
21892
+ children: z.ZodString;
21893
+ copy: z.ZodArray<z.ZodString>;
21894
+ }, z.core.$strict>>;
21895
+ expiryNotice: z.ZodOptional<z.ZodObject<{
21896
+ column: z.ZodString;
21897
+ days: z.ZodNumber;
21898
+ }, z.core.$strict>>;
21367
21899
  appGrants: z.ZodOptional<z.ZodObject<{
21368
21900
  actions: z.ZodArray<z.ZodEnum<{
21369
21901
  read: "read";
@@ -21591,6 +22123,21 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
21591
22123
  cloneFrom: z.ZodOptional<z.ZodString>;
21592
22124
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
21593
22125
  screensOnly: z.ZodOptional<z.ZodBoolean>;
22126
+ invitedByApp: z.ZodOptional<z.ZodEnum<{
22127
+ "before-start": "before-start";
22128
+ "from-start": "from-start";
22129
+ }>>;
22130
+ followsFrom: z.ZodOptional<z.ZodObject<{
22131
+ table: z.ZodString;
22132
+ column: z.ZodString;
22133
+ while: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
22134
+ column: z.ZodString;
22135
+ in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
22136
+ }, z.core.$strict>, z.ZodObject<{
22137
+ column: z.ZodString;
22138
+ isNull: z.ZodBoolean;
22139
+ }, z.core.$strict>]>>;
22140
+ }, z.core.$strict>>;
21594
22141
  limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
21595
22142
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
21596
22143
  writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
@@ -22414,6 +22961,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
22414
22961
  approvedBy: z.ZodOptional<z.ZodString>;
22415
22962
  effectAt: z.ZodOptional<z.ZodString>;
22416
22963
  effectError: z.ZodOptional<z.ZodString>;
22964
+ relayAcceptedAt: z.ZodOptional<z.ZodString>;
22417
22965
  repeatKey: z.ZodOptional<z.ZodString>;
22418
22966
  was: z.ZodOptional<z.ZodString>;
22419
22967
  textReason: z.ZodOptional<z.ZodString>;
@@ -24833,6 +25381,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
24833
25381
  always: "always";
24834
25382
  }>>;
24835
25383
  follow: z.ZodOptional<z.ZodLiteral<true>>;
25384
+ clearsWithLink: z.ZodOptional<z.ZodLiteral<true>>;
24836
25385
  }, z.core.$strict>>;
24837
25386
  default: z.ZodOptional<z.ZodObject<{
24838
25387
  from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
@@ -25109,6 +25658,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25109
25658
  clearOnBack: z.ZodOptional<z.ZodLiteral<true>>;
25110
25659
  strict: z.ZodOptional<z.ZodLiteral<true>>;
25111
25660
  notEarlier: z.ZodOptional<z.ZodLiteral<true>>;
25661
+ follows: z.ZodOptional<z.ZodObject<{
25662
+ unless: z.ZodOptional<z.ZodString>;
25663
+ }, z.core.$strict>>;
25112
25664
  }, z.core.$strict>>;
25113
25665
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
25114
25666
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -25254,6 +25806,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25254
25806
  }, z.core.$strict>]>>;
25255
25807
  by: z.ZodOptional<z.ZodString>;
25256
25808
  notBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
25809
+ notLoop: z.ZodOptional<z.ZodLiteral<true>>;
25257
25810
  }, z.core.$strict>>>;
25258
25811
  history: z.ZodOptional<z.ZodLiteral<"audit">>;
25259
25812
  }, z.core.$strict>>;
@@ -25440,6 +25993,39 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25440
25993
  closes: z.ZodOptional<z.ZodString>;
25441
25994
  }, z.core.$strict>>;
25442
25995
  }, z.core.$strict>>;
25996
+ leave: z.ZodOptional<z.ZodObject<{
25997
+ version: z.ZodLiteral<1>;
25998
+ tables: z.ZodObject<{
25999
+ patterns: z.ZodString;
26000
+ entries: z.ZodString;
26001
+ days: z.ZodString;
26002
+ groups: z.ZodString;
26003
+ limits: z.ZodString;
26004
+ people: z.ZodString;
26005
+ employment: z.ZodString;
26006
+ terms: z.ZodString;
26007
+ patternDays: z.ZodString;
26008
+ positions: z.ZodString;
26009
+ locations: z.ZodString;
26010
+ years: z.ZodString;
26011
+ types: z.ZodString;
26012
+ policies: z.ZodString;
26013
+ blocked: z.ZodString;
26014
+ sick: z.ZodString;
26015
+ notes: z.ZodString;
26016
+ leaveDays: z.ZodString;
26017
+ charges: z.ZodString;
26018
+ lots: z.ZodString;
26019
+ balances: z.ZodString;
26020
+ events: z.ZodString;
26021
+ notices: z.ZodString;
26022
+ covers: z.ZodString;
26023
+ runs: z.ZodString;
26024
+ runLines: z.ZodString;
26025
+ expiry: z.ZodString;
26026
+ }, z.core.$strict>;
26027
+ sampleAsOf: z.ZodOptional<z.ZodString>;
26028
+ }, z.core.$strict>>;
25443
26029
  connectedAccounts: z.ZodOptional<z.ZodObject<{
25444
26030
  from: z.ZodArray<z.ZodString>;
25445
26031
  address: z.ZodOptional<z.ZodString>;
@@ -25971,6 +26557,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25971
26557
  team: "team";
25972
26558
  anyone: "anyone";
25973
26559
  }>>;
26560
+ identity: z.ZodOptional<z.ZodLiteral<true>>;
25974
26561
  }, z.core.$strict>, z.ZodObject<{
25975
26562
  through: z.ZodObject<{
25976
26563
  table: z.ZodString;
@@ -25992,6 +26579,20 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
25992
26579
  via: z.ZodString;
25993
26580
  }, z.core.$strict>]>>>;
25994
26581
  private: z.ZodOptional<z.ZodLiteral<true>>;
26582
+ access: z.ZodOptional<z.ZodLiteral<"named">>;
26583
+ readLog: z.ZodOptional<z.ZodObject<{
26584
+ subject: z.ZodString;
26585
+ }, z.core.$strict>>;
26586
+ fromTemplate: z.ZodOptional<z.ZodObject<{
26587
+ column: z.ZodString;
26588
+ tasks: z.ZodString;
26589
+ children: z.ZodString;
26590
+ copy: z.ZodArray<z.ZodString>;
26591
+ }, z.core.$strict>>;
26592
+ expiryNotice: z.ZodOptional<z.ZodObject<{
26593
+ column: z.ZodString;
26594
+ days: z.ZodNumber;
26595
+ }, z.core.$strict>>;
25995
26596
  appGrants: z.ZodOptional<z.ZodObject<{
25996
26597
  actions: z.ZodArray<z.ZodEnum<{
25997
26598
  read: "read";