@casual-simulation/aux-records 3.8.1 → 3.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/AIChatInterface.d.ts +7 -43
  2. package/AIChatInterface.js +8 -6
  3. package/AIChatInterface.js.map +1 -1
  4. package/AIController.js +44 -49
  5. package/AIController.js.map +1 -1
  6. package/AIOpenAIRealtimeInterface.d.ts +1 -1
  7. package/AnthropicAIChatInterface.js +4 -4
  8. package/AnthropicAIChatInterface.js.map +1 -1
  9. package/AuthController.d.ts +78 -10
  10. package/AuthController.js +230 -166
  11. package/AuthController.js.map +1 -1
  12. package/AuthStore.d.ts +317 -4
  13. package/BigIntPatch.d.ts +1 -0
  14. package/BigIntPatch.js +24 -0
  15. package/BigIntPatch.js.map +1 -0
  16. package/BlockadeLabsGenerateSkyboxInterface.js +4 -4
  17. package/BlockadeLabsGenerateSkyboxInterface.js.map +1 -1
  18. package/CachingConfigStore.d.ts +8 -1
  19. package/CachingConfigStore.js +50 -0
  20. package/CachingConfigStore.js.map +1 -1
  21. package/ComIdConfig.d.ts +132 -86
  22. package/ComIdConfig.js +5 -5
  23. package/ComIdConfig.js.map +1 -1
  24. package/ConfigurationStore.d.ts +1393 -3
  25. package/ConfigurationStore.js +49 -0
  26. package/ConfigurationStore.js.map +1 -1
  27. package/DataRecordsController.js +28 -28
  28. package/DataRecordsController.js.map +1 -1
  29. package/EventRecordsController.js +9 -9
  30. package/EventRecordsController.js.map +1 -1
  31. package/FileRecordsController.js +18 -17
  32. package/FileRecordsController.js.map +1 -1
  33. package/GoogleAIChatInterface.js +4 -4
  34. package/GoogleAIChatInterface.js.map +1 -1
  35. package/HttpTestUtils.d.ts +48 -0
  36. package/HttpTestUtils.js +256 -0
  37. package/HttpTestUtils.js.map +1 -0
  38. package/LivekitController.js +2 -2
  39. package/LivekitController.js.map +1 -1
  40. package/LoomController.js +3 -4
  41. package/LoomController.js.map +1 -1
  42. package/MemoryStore.d.ts +60 -7
  43. package/MemoryStore.js +427 -59
  44. package/MemoryStore.js.map +1 -1
  45. package/MetricsStore.d.ts +11 -0
  46. package/ModerationConfiguration.d.ts +11 -85
  47. package/ModerationConfiguration.js +17 -17
  48. package/ModerationConfiguration.js.map +1 -1
  49. package/ModerationController.js +9 -11
  50. package/ModerationController.js.map +1 -1
  51. package/OpenAIChatInterface.js +8 -13
  52. package/OpenAIChatInterface.js.map +1 -1
  53. package/OpenAIImageInterface.js +4 -5
  54. package/OpenAIImageInterface.js.map +1 -1
  55. package/PolicyController.js +66 -73
  56. package/PolicyController.js.map +1 -1
  57. package/PolicyStore.d.ts +59 -33
  58. package/PolicyStore.js +35 -1
  59. package/PolicyStore.js.map +1 -1
  60. package/PrivoClient.d.ts +3 -1
  61. package/PrivoClient.js +2 -4
  62. package/PrivoClient.js.map +1 -1
  63. package/PrivoConfiguration.d.ts +6 -72
  64. package/PrivoConfiguration.js +30 -31
  65. package/PrivoConfiguration.js.map +1 -1
  66. package/README.md +276 -2
  67. package/RateLimitController.js +2 -2
  68. package/RateLimitController.js.map +1 -1
  69. package/RecordsClient.d.ts +3 -1
  70. package/RecordsClient.js +6 -6
  71. package/RecordsClient.js.map +1 -1
  72. package/RecordsController.d.ts +145 -3
  73. package/RecordsController.js +399 -61
  74. package/RecordsController.js.map +1 -1
  75. package/RecordsServer.d.ts +1932 -1109
  76. package/RecordsStore.d.ts +99 -14
  77. package/RecordsStore.js +8 -10
  78. package/RecordsStore.js.map +1 -1
  79. package/ServerConfig.d.ts +698 -9867
  80. package/ServerConfig.js +457 -377
  81. package/ServerConfig.js.map +1 -1
  82. package/SloydInterface.js +1 -1
  83. package/SloydInterface.js.map +1 -1
  84. package/StabilityAIImageInterface.js +6 -9
  85. package/StabilityAIImageInterface.js.map +1 -1
  86. package/StripeInterface.d.ts +431 -287
  87. package/StripeInterface.js +21 -1
  88. package/StripeInterface.js.map +1 -1
  89. package/SubscriptionConfigBuilder.d.ts +10 -1
  90. package/SubscriptionConfigBuilder.js +72 -41
  91. package/SubscriptionConfigBuilder.js.map +1 -1
  92. package/SubscriptionConfiguration.d.ts +606 -6334
  93. package/SubscriptionConfiguration.js +460 -277
  94. package/SubscriptionConfiguration.js.map +1 -1
  95. package/SubscriptionController.d.ts +677 -4
  96. package/SubscriptionController.js +2986 -186
  97. package/SubscriptionController.js.map +1 -1
  98. package/SystemNotificationMessenger.d.ts +14 -70
  99. package/SystemNotificationMessenger.js +17 -20
  100. package/SystemNotificationMessenger.js.map +1 -1
  101. package/TestUtils.d.ts +18 -3
  102. package/TestUtils.js +84 -8
  103. package/TestUtils.js.map +1 -1
  104. package/TypeUtils.d.ts +991 -0
  105. package/TypeUtils.js +2 -0
  106. package/TypeUtils.js.map +1 -0
  107. package/Utils.d.ts +59 -0
  108. package/Utils.js +507 -3
  109. package/Utils.js.map +1 -1
  110. package/Validations.d.ts +24 -108
  111. package/Validations.js +62 -45
  112. package/Validations.js.map +1 -1
  113. package/ViewTemplateRenderer.d.ts +39 -0
  114. package/ViewTemplateRenderer.js +19 -0
  115. package/ViewTemplateRenderer.js.map +1 -0
  116. package/contracts/ContractRecordsController.d.ts +58 -0
  117. package/contracts/ContractRecordsController.js +144 -0
  118. package/contracts/ContractRecordsController.js.map +1 -0
  119. package/contracts/ContractRecordsStore.d.ts +285 -0
  120. package/contracts/ContractRecordsStore.js +19 -0
  121. package/contracts/ContractRecordsStore.js.map +1 -0
  122. package/contracts/MemoryContractRecordsStore.d.ts +27 -0
  123. package/contracts/MemoryContractRecordsStore.js +124 -0
  124. package/contracts/MemoryContractRecordsStore.js.map +1 -0
  125. package/contracts/index.d.ts +4 -0
  126. package/contracts/index.js +21 -0
  127. package/contracts/index.js.map +1 -0
  128. package/crud/CrudHelpers.d.ts +25 -26
  129. package/crud/CrudHelpers.js +1 -1
  130. package/crud/CrudHelpers.js.map +1 -1
  131. package/crud/CrudRecordsController.js +13 -16
  132. package/crud/CrudRecordsController.js.map +1 -1
  133. package/crud/CrudRecordsControllerTests.d.ts +2 -2
  134. package/crud/CrudRecordsControllerTests.js +605 -580
  135. package/crud/CrudRecordsControllerTests.js.map +1 -1
  136. package/crud/MemoryCrudRecordsStore.js +1 -2
  137. package/crud/MemoryCrudRecordsStore.js.map +1 -1
  138. package/crud/sub/MemorySubCrudRecordsStore.js +4 -6
  139. package/crud/sub/MemorySubCrudRecordsStore.js.map +1 -1
  140. package/crud/sub/SubCrudRecordsController.js +8 -8
  141. package/crud/sub/SubCrudRecordsController.js.map +1 -1
  142. package/database/DatabaseRecordsController.js +1 -2
  143. package/database/DatabaseRecordsController.js.map +1 -1
  144. package/database/SqliteDatabaseInterface.js +1 -2
  145. package/database/SqliteDatabaseInterface.js.map +1 -1
  146. package/dns/DNSDomainNameValidator.d.ts +11 -0
  147. package/dns/DNSDomainNameValidator.js +59 -0
  148. package/dns/DNSDomainNameValidator.js.map +1 -0
  149. package/dns/DomainNameValidator.d.ts +36 -0
  150. package/dns/DomainNameValidator.js +19 -0
  151. package/dns/DomainNameValidator.js.map +1 -0
  152. package/dns/index.d.ts +3 -0
  153. package/dns/index.js +20 -0
  154. package/dns/index.js.map +1 -0
  155. package/financial/FinancialController.d.ts +272 -0
  156. package/financial/FinancialController.js +762 -0
  157. package/financial/FinancialController.js.map +1 -0
  158. package/financial/FinancialInterface.d.ts +352 -0
  159. package/financial/FinancialInterface.js +642 -0
  160. package/financial/FinancialInterface.js.map +1 -0
  161. package/financial/FinancialStore.d.ts +186 -0
  162. package/financial/FinancialStore.js +19 -0
  163. package/financial/FinancialStore.js.map +1 -0
  164. package/financial/MemoryFinancialInterface.d.ts +23 -0
  165. package/financial/MemoryFinancialInterface.js +592 -0
  166. package/financial/MemoryFinancialInterface.js.map +1 -0
  167. package/financial/TigerBeetleFinancialInterface.d.ts +46 -0
  168. package/financial/TigerBeetleFinancialInterface.js +109 -0
  169. package/financial/TigerBeetleFinancialInterface.js.map +1 -0
  170. package/financial/TigerBeetleTestUtils.d.ts +40 -0
  171. package/financial/TigerBeetleTestUtils.js +185 -0
  172. package/financial/TigerBeetleTestUtils.js.map +1 -0
  173. package/financial/Types.d.ts +1 -0
  174. package/financial/Types.js +801 -0
  175. package/financial/Types.js.map +1 -0
  176. package/financial/index.d.ts +6 -0
  177. package/financial/index.js +24 -0
  178. package/financial/index.js.map +1 -0
  179. package/index.d.ts +4 -0
  180. package/index.js +3 -0
  181. package/index.js.map +1 -1
  182. package/notifications/NotificationRecordsController.js +14 -14
  183. package/notifications/NotificationRecordsController.js.map +1 -1
  184. package/notifications/WebPushInterface.d.ts +24 -155
  185. package/notifications/WebPushInterface.js +2 -2
  186. package/notifications/WebPushInterface.js.map +1 -1
  187. package/package.json +72 -70
  188. package/packages/version/MemoryPackageVersionRecordsStore.js +12 -15
  189. package/packages/version/MemoryPackageVersionRecordsStore.js.map +1 -1
  190. package/packages/version/PackageVersionRecordsController.d.ts +19 -0
  191. package/packages/version/PackageVersionRecordsController.js +102 -22
  192. package/packages/version/PackageVersionRecordsController.js.map +1 -1
  193. package/packages/version/PackageVersionRecordsStore.js +6 -8
  194. package/packages/version/PackageVersionRecordsStore.js.map +1 -1
  195. package/purchasable-items/MemoryPurchasableItemRecordsStore.d.ts +7 -0
  196. package/purchasable-items/MemoryPurchasableItemRecordsStore.js +33 -0
  197. package/purchasable-items/MemoryPurchasableItemRecordsStore.js.map +1 -0
  198. package/purchasable-items/PurchasableItemRecordsController.d.ts +16 -0
  199. package/purchasable-items/PurchasableItemRecordsController.js +72 -0
  200. package/purchasable-items/PurchasableItemRecordsController.js.map +1 -0
  201. package/purchasable-items/PurchasableItemRecordsStore.d.ts +66 -0
  202. package/purchasable-items/PurchasableItemRecordsStore.js +2 -0
  203. package/purchasable-items/PurchasableItemRecordsStore.js.map +1 -0
  204. package/purchasable-items/index.d.ts +4 -0
  205. package/purchasable-items/index.js +21 -0
  206. package/purchasable-items/index.js.map +1 -0
  207. package/queue/MemoryQueue.js +1 -1
  208. package/queue/MemoryQueue.js.map +1 -1
  209. package/search/MemorySearchInterface.js +1 -2
  210. package/search/MemorySearchInterface.js.map +1 -1
  211. package/search/SearchRecordsController.d.ts +66 -244
  212. package/search/SearchRecordsController.js +35 -36
  213. package/search/SearchRecordsController.js.map +1 -1
  214. package/search/SearchSyncProcessor.d.ts +7 -83
  215. package/search/TypesenseSearchInterface.js +8 -11
  216. package/search/TypesenseSearchInterface.js.map +1 -1
  217. package/tracing/TracingDecorators.js +5 -8
  218. package/tracing/TracingDecorators.js.map +1 -1
  219. package/webhooks/WebhookEnvironment.d.ts +36 -560
  220. package/webhooks/WebhookEnvironment.js +1 -1
  221. package/webhooks/WebhookEnvironment.js.map +1 -1
  222. package/webhooks/WebhookRecordsController.js +14 -16
  223. package/webhooks/WebhookRecordsController.js.map +1 -1
  224. package/websockets/MemoryLockStore.d.ts +18 -0
  225. package/websockets/MemoryLockStore.js +2 -0
  226. package/websockets/MemoryLockStore.js.map +1 -0
  227. package/websockets/MemoryTempInstRecordsStore.js +15 -27
  228. package/websockets/MemoryTempInstRecordsStore.js.map +1 -1
  229. package/websockets/MemoryWebsocketConnectionStore.js +6 -8
  230. package/websockets/MemoryWebsocketConnectionStore.js.map +1 -1
  231. package/websockets/MemoryWebsocketMessenger.js +1 -2
  232. package/websockets/MemoryWebsocketMessenger.js.map +1 -1
  233. package/websockets/SplitInstRecordsStore.js +2 -2
  234. package/websockets/SplitInstRecordsStore.js.map +1 -1
  235. package/websockets/WebsocketController.d.ts +5 -0
  236. package/websockets/WebsocketController.js +122 -83
  237. package/websockets/WebsocketController.js.map +1 -1
  238. package/RecordsServer.js +0 -6435
  239. package/RecordsServer.js.map +0 -1
@@ -5,89 +5,13 @@ import { z } from 'zod';
5
5
  */
6
6
  export declare const STORED_AUX_VERSION_1_SCHEMA: z.ZodObject<{
7
7
  version: z.ZodLiteral<1>;
8
- state: z.ZodObject<{}, "strip", z.ZodObject<{
8
+ state: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
9
9
  id: z.ZodString;
10
10
  space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
12
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
13
- }, "strip", z.ZodTypeAny, {
14
- id?: string;
15
- space?: string;
16
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
17
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
18
- }, {
19
- id?: string;
20
- space?: string;
21
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
22
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
23
- }>, z.objectOutputType<{}, z.ZodObject<{
24
- id: z.ZodString;
25
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
26
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
27
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
28
- }, "strip", z.ZodTypeAny, {
29
- id?: string;
30
- space?: string;
31
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
32
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
33
- }, {
34
- id?: string;
35
- space?: string;
36
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
37
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
38
- }>, "strip">, z.objectInputType<{}, z.ZodObject<{
39
- id: z.ZodString;
40
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
41
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
42
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
43
- }, "strip", z.ZodTypeAny, {
44
- id?: string;
45
- space?: string;
46
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
47
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
48
- }, {
49
- id?: string;
50
- space?: string;
51
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
52
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
53
- }>, "strip">>;
54
- }, "strip", z.ZodTypeAny, {
55
- version?: 1;
56
- state?: z.objectOutputType<{}, z.ZodObject<{
57
- id: z.ZodString;
58
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
59
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
60
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
61
- }, "strip", z.ZodTypeAny, {
62
- id?: string;
63
- space?: string;
64
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
65
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
66
- }, {
67
- id?: string;
68
- space?: string;
69
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
70
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
71
- }>, "strip">;
72
- }, {
73
- version?: 1;
74
- state?: z.objectInputType<{}, z.ZodObject<{
75
- id: z.ZodString;
76
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
78
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
79
- }, "strip", z.ZodTypeAny, {
80
- id?: string;
81
- space?: string;
82
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
83
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
84
- }, {
85
- id?: string;
86
- space?: string;
87
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
88
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
89
- }>, "strip">;
90
- }>;
11
+ tags: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
12
+ masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>>>>;
13
+ }, z.core.$strip>>>;
14
+ }, z.core.$strip>;
91
15
  /**
92
16
  * The schema for version 2 stored AUX data.
93
17
  */
@@ -97,323 +21,49 @@ export declare const STORED_AUX_VERSION_2_SCHEMA: z.ZodObject<{
97
21
  id: z.ZodNumber;
98
22
  update: z.ZodString;
99
23
  timestamp: z.ZodNumber;
100
- }, "strip", z.ZodTypeAny, {
101
- id?: number;
102
- update?: string;
103
- timestamp?: number;
104
- }, {
105
- id?: number;
106
- update?: string;
107
- timestamp?: number;
108
- }>, "many">;
109
- }, "strip", z.ZodTypeAny, {
110
- version?: 2;
111
- updates?: {
112
- id?: number;
113
- update?: string;
114
- timestamp?: number;
115
- }[];
116
- }, {
117
- version?: 2;
118
- updates?: {
119
- id?: number;
120
- update?: string;
121
- timestamp?: number;
122
- }[];
123
- }>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>;
124
26
  /**
125
27
  * The schema for stored AUX data.
126
28
  */
127
- export declare const STORED_AUX_SCHEMA: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
29
+ export declare const STORED_AUX_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
128
30
  version: z.ZodLiteral<1>;
129
- state: z.ZodObject<{}, "strip", z.ZodObject<{
130
- id: z.ZodString;
131
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
132
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
133
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
134
- }, "strip", z.ZodTypeAny, {
135
- id?: string;
136
- space?: string;
137
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
138
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
139
- }, {
140
- id?: string;
141
- space?: string;
142
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
143
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
144
- }>, z.objectOutputType<{}, z.ZodObject<{
145
- id: z.ZodString;
146
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
148
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
149
- }, "strip", z.ZodTypeAny, {
150
- id?: string;
151
- space?: string;
152
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
153
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
154
- }, {
155
- id?: string;
156
- space?: string;
157
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
158
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
159
- }>, "strip">, z.objectInputType<{}, z.ZodObject<{
160
- id: z.ZodString;
161
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
162
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
163
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
164
- }, "strip", z.ZodTypeAny, {
165
- id?: string;
166
- space?: string;
167
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
168
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
169
- }, {
170
- id?: string;
171
- space?: string;
172
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
173
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
174
- }>, "strip">>;
175
- }, "strip", z.ZodTypeAny, {
176
- version?: 1;
177
- state?: z.objectOutputType<{}, z.ZodObject<{
31
+ state: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
178
32
  id: z.ZodString;
179
33
  space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
180
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
181
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
182
- }, "strip", z.ZodTypeAny, {
183
- id?: string;
184
- space?: string;
185
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
186
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
187
- }, {
188
- id?: string;
189
- space?: string;
190
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
191
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
192
- }>, "strip">;
193
- }, {
194
- version?: 1;
195
- state?: z.objectInputType<{}, z.ZodObject<{
196
- id: z.ZodString;
197
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
198
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
199
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
200
- }, "strip", z.ZodTypeAny, {
201
- id?: string;
202
- space?: string;
203
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
204
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
205
- }, {
206
- id?: string;
207
- space?: string;
208
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
209
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
210
- }>, "strip">;
211
- }>, z.ZodObject<{
34
+ tags: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
35
+ masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>>>>;
36
+ }, z.core.$strip>>>;
37
+ }, z.core.$strip>, z.ZodObject<{
212
38
  version: z.ZodLiteral<2>;
213
39
  updates: z.ZodArray<z.ZodObject<{
214
40
  id: z.ZodNumber;
215
41
  update: z.ZodString;
216
42
  timestamp: z.ZodNumber;
217
- }, "strip", z.ZodTypeAny, {
218
- id?: number;
219
- update?: string;
220
- timestamp?: number;
221
- }, {
222
- id?: number;
223
- update?: string;
224
- timestamp?: number;
225
- }>, "many">;
226
- }, "strip", z.ZodTypeAny, {
227
- version?: 2;
228
- updates?: {
229
- id?: number;
230
- update?: string;
231
- timestamp?: number;
232
- }[];
233
- }, {
234
- version?: 2;
235
- updates?: {
236
- id?: number;
237
- update?: string;
238
- timestamp?: number;
239
- }[];
240
- }>]>;
43
+ }, z.core.$strip>>;
44
+ }, z.core.$strip>], "version">;
241
45
  /**
242
46
  * The schema for a webhook aux state.
243
47
  */
244
48
  export declare const WEBHOOK_AUX_STATE_SCHEMA: z.ZodObject<{
245
49
  type: z.ZodLiteral<"aux">;
246
- state: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
50
+ state: z.ZodDiscriminatedUnion<[z.ZodObject<{
247
51
  version: z.ZodLiteral<1>;
248
- state: z.ZodObject<{}, "strip", z.ZodObject<{
249
- id: z.ZodString;
250
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
251
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
252
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
253
- }, "strip", z.ZodTypeAny, {
254
- id?: string;
255
- space?: string;
256
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
257
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
258
- }, {
259
- id?: string;
260
- space?: string;
261
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
262
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
263
- }>, z.objectOutputType<{}, z.ZodObject<{
264
- id: z.ZodString;
265
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
266
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
267
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
268
- }, "strip", z.ZodTypeAny, {
269
- id?: string;
270
- space?: string;
271
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
272
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
273
- }, {
274
- id?: string;
275
- space?: string;
276
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
277
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
278
- }>, "strip">, z.objectInputType<{}, z.ZodObject<{
279
- id: z.ZodString;
280
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
281
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
282
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
283
- }, "strip", z.ZodTypeAny, {
284
- id?: string;
285
- space?: string;
286
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
287
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
288
- }, {
289
- id?: string;
290
- space?: string;
291
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
292
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
293
- }>, "strip">>;
294
- }, "strip", z.ZodTypeAny, {
295
- version?: 1;
296
- state?: z.objectOutputType<{}, z.ZodObject<{
52
+ state: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
297
53
  id: z.ZodString;
298
54
  space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
299
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
300
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
301
- }, "strip", z.ZodTypeAny, {
302
- id?: string;
303
- space?: string;
304
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
305
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
306
- }, {
307
- id?: string;
308
- space?: string;
309
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
310
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
311
- }>, "strip">;
312
- }, {
313
- version?: 1;
314
- state?: z.objectInputType<{}, z.ZodObject<{
315
- id: z.ZodString;
316
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
317
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
318
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
319
- }, "strip", z.ZodTypeAny, {
320
- id?: string;
321
- space?: string;
322
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
323
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
324
- }, {
325
- id?: string;
326
- space?: string;
327
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
328
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
329
- }>, "strip">;
330
- }>, z.ZodObject<{
55
+ tags: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
56
+ masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>>>>;
57
+ }, z.core.$strip>>>;
58
+ }, z.core.$strip>, z.ZodObject<{
331
59
  version: z.ZodLiteral<2>;
332
60
  updates: z.ZodArray<z.ZodObject<{
333
61
  id: z.ZodNumber;
334
62
  update: z.ZodString;
335
63
  timestamp: z.ZodNumber;
336
- }, "strip", z.ZodTypeAny, {
337
- id?: number;
338
- update?: string;
339
- timestamp?: number;
340
- }, {
341
- id?: number;
342
- update?: string;
343
- timestamp?: number;
344
- }>, "many">;
345
- }, "strip", z.ZodTypeAny, {
346
- version?: 2;
347
- updates?: {
348
- id?: number;
349
- update?: string;
350
- timestamp?: number;
351
- }[];
352
- }, {
353
- version?: 2;
354
- updates?: {
355
- id?: number;
356
- update?: string;
357
- timestamp?: number;
358
- }[];
359
- }>]>;
360
- }, "strip", z.ZodTypeAny, {
361
- type?: "aux";
362
- state?: {
363
- version?: 1;
364
- state?: z.objectOutputType<{}, z.ZodObject<{
365
- id: z.ZodString;
366
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
367
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
368
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
369
- }, "strip", z.ZodTypeAny, {
370
- id?: string;
371
- space?: string;
372
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
373
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
374
- }, {
375
- id?: string;
376
- space?: string;
377
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
378
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
379
- }>, "strip">;
380
- } | {
381
- version?: 2;
382
- updates?: {
383
- id?: number;
384
- update?: string;
385
- timestamp?: number;
386
- }[];
387
- };
388
- }, {
389
- type?: "aux";
390
- state?: {
391
- version?: 1;
392
- state?: z.objectInputType<{}, z.ZodObject<{
393
- id: z.ZodString;
394
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
395
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
396
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
397
- }, "strip", z.ZodTypeAny, {
398
- id?: string;
399
- space?: string;
400
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
401
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
402
- }, {
403
- id?: string;
404
- space?: string;
405
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
406
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
407
- }>, "strip">;
408
- } | {
409
- version?: 2;
410
- updates?: {
411
- id?: number;
412
- update?: string;
413
- timestamp?: number;
414
- }[];
415
- };
416
- }>;
64
+ }, z.core.$strip>>;
65
+ }, z.core.$strip>], "version">;
66
+ }, z.core.$strip>;
417
67
  /**
418
68
  * The schema for a webhook URL state.
419
69
  */
@@ -422,208 +72,34 @@ export declare const WEBHOOK_URL_STATE_SCHEMA: z.ZodObject<{
422
72
  requestUrl: z.ZodString;
423
73
  requestMethod: z.ZodString;
424
74
  requestHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
425
- }, "strip", z.ZodTypeAny, {
426
- type?: "url";
427
- requestUrl?: string;
428
- requestMethod?: string;
429
- requestHeaders?: Record<string, string>;
430
- }, {
431
- type?: "url";
432
- requestUrl?: string;
433
- requestMethod?: string;
434
- requestHeaders?: Record<string, string>;
435
- }>;
75
+ }, z.core.$strip>;
436
76
  /**
437
77
  * The schema for a webhook state.
438
78
  */
439
- export declare const WEBHOOK_STATE_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
79
+ export declare const WEBHOOK_STATE_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
440
80
  type: z.ZodLiteral<"aux">;
441
- state: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
81
+ state: z.ZodDiscriminatedUnion<[z.ZodObject<{
442
82
  version: z.ZodLiteral<1>;
443
- state: z.ZodObject<{}, "strip", z.ZodObject<{
444
- id: z.ZodString;
445
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
446
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
447
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
448
- }, "strip", z.ZodTypeAny, {
449
- id?: string;
450
- space?: string;
451
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
452
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
453
- }, {
454
- id?: string;
455
- space?: string;
456
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
457
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
458
- }>, z.objectOutputType<{}, z.ZodObject<{
459
- id: z.ZodString;
460
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
461
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
462
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
463
- }, "strip", z.ZodTypeAny, {
464
- id?: string;
465
- space?: string;
466
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
467
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
468
- }, {
469
- id?: string;
470
- space?: string;
471
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
472
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
473
- }>, "strip">, z.objectInputType<{}, z.ZodObject<{
474
- id: z.ZodString;
475
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
476
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
477
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
478
- }, "strip", z.ZodTypeAny, {
479
- id?: string;
480
- space?: string;
481
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
482
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
483
- }, {
484
- id?: string;
485
- space?: string;
486
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
487
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
488
- }>, "strip">>;
489
- }, "strip", z.ZodTypeAny, {
490
- version?: 1;
491
- state?: z.objectOutputType<{}, z.ZodObject<{
83
+ state: z.ZodObject<{}, z.core.$catchall<z.ZodObject<{
492
84
  id: z.ZodString;
493
85
  space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
494
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
495
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
496
- }, "strip", z.ZodTypeAny, {
497
- id?: string;
498
- space?: string;
499
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
500
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
501
- }, {
502
- id?: string;
503
- space?: string;
504
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
505
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
506
- }>, "strip">;
507
- }, {
508
- version?: 1;
509
- state?: z.objectInputType<{}, z.ZodObject<{
510
- id: z.ZodString;
511
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
512
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
513
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
514
- }, "strip", z.ZodTypeAny, {
515
- id?: string;
516
- space?: string;
517
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
518
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
519
- }, {
520
- id?: string;
521
- space?: string;
522
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
523
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
524
- }>, "strip">;
525
- }>, z.ZodObject<{
86
+ tags: z.ZodObject<{}, z.core.$catchall<z.ZodAny>>;
87
+ masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodObject<{}, z.core.$catchall<z.ZodAny>>>>>>;
88
+ }, z.core.$strip>>>;
89
+ }, z.core.$strip>, z.ZodObject<{
526
90
  version: z.ZodLiteral<2>;
527
91
  updates: z.ZodArray<z.ZodObject<{
528
92
  id: z.ZodNumber;
529
93
  update: z.ZodString;
530
94
  timestamp: z.ZodNumber;
531
- }, "strip", z.ZodTypeAny, {
532
- id?: number;
533
- update?: string;
534
- timestamp?: number;
535
- }, {
536
- id?: number;
537
- update?: string;
538
- timestamp?: number;
539
- }>, "many">;
540
- }, "strip", z.ZodTypeAny, {
541
- version?: 2;
542
- updates?: {
543
- id?: number;
544
- update?: string;
545
- timestamp?: number;
546
- }[];
547
- }, {
548
- version?: 2;
549
- updates?: {
550
- id?: number;
551
- update?: string;
552
- timestamp?: number;
553
- }[];
554
- }>]>;
555
- }, "strip", z.ZodTypeAny, {
556
- type?: "aux";
557
- state?: {
558
- version?: 1;
559
- state?: z.objectOutputType<{}, z.ZodObject<{
560
- id: z.ZodString;
561
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
562
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
563
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
564
- }, "strip", z.ZodTypeAny, {
565
- id?: string;
566
- space?: string;
567
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
568
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
569
- }, {
570
- id?: string;
571
- space?: string;
572
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
573
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
574
- }>, "strip">;
575
- } | {
576
- version?: 2;
577
- updates?: {
578
- id?: number;
579
- update?: string;
580
- timestamp?: number;
581
- }[];
582
- };
583
- }, {
584
- type?: "aux";
585
- state?: {
586
- version?: 1;
587
- state?: z.objectInputType<{}, z.ZodObject<{
588
- id: z.ZodString;
589
- space: z.ZodNullable<z.ZodOptional<z.ZodString>>;
590
- tags: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
591
- masks: z.ZodNullable<z.ZodOptional<z.ZodObject<{}, "strip", z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">, z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">>>>;
592
- }, "strip", z.ZodTypeAny, {
593
- id?: string;
594
- space?: string;
595
- tags?: z.objectOutputType<{}, z.ZodAny, "strip">;
596
- masks?: z.objectOutputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
597
- }, {
598
- id?: string;
599
- space?: string;
600
- tags?: z.objectInputType<{}, z.ZodAny, "strip">;
601
- masks?: z.objectInputType<{}, z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>, "strip">;
602
- }>, "strip">;
603
- } | {
604
- version?: 2;
605
- updates?: {
606
- id?: number;
607
- update?: string;
608
- timestamp?: number;
609
- }[];
610
- };
611
- }>, z.ZodObject<{
95
+ }, z.core.$strip>>;
96
+ }, z.core.$strip>], "version">;
97
+ }, z.core.$strip>, z.ZodObject<{
612
98
  type: z.ZodLiteral<"url">;
613
99
  requestUrl: z.ZodString;
614
100
  requestMethod: z.ZodString;
615
101
  requestHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
616
- }, "strip", z.ZodTypeAny, {
617
- type?: "url";
618
- requestUrl?: string;
619
- requestMethod?: string;
620
- requestHeaders?: Record<string, string>;
621
- }, {
622
- type?: "url";
623
- requestUrl?: string;
624
- requestMethod?: string;
625
- requestHeaders?: Record<string, string>;
626
- }>]>;
102
+ }, z.core.$strip>], "type">;
627
103
  /**
628
104
  * Defines an interface for objects that represent a webhook environment.
629
105
  * That is, they provide a way to call into the environment that the webhook is running in and shut it down.