@objectstack/spec 0.7.1 → 0.7.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 (91) hide show
  1. package/dist/ai/agent-action.zod.d.ts +8 -8
  2. package/dist/ai/model-registry.zod.d.ts +6 -6
  3. package/dist/ai/orchestration.zod.d.ts +6 -6
  4. package/dist/ai/predictive.zod.d.ts +2 -2
  5. package/dist/ai/rag-pipeline.zod.d.ts +2 -2
  6. package/dist/api/batch.zod.d.ts +81 -8
  7. package/dist/api/batch.zod.d.ts.map +1 -1
  8. package/dist/api/batch.zod.js +14 -1
  9. package/dist/api/graphql.zod.d.ts +224 -224
  10. package/dist/api/odata.zod.d.ts +379 -0
  11. package/dist/api/odata.zod.d.ts.map +1 -1
  12. package/dist/api/odata.zod.js +14 -1
  13. package/dist/api/protocol.zod.d.ts +18 -18
  14. package/dist/api/realtime.zod.d.ts +133 -0
  15. package/dist/api/realtime.zod.d.ts.map +1 -1
  16. package/dist/api/realtime.zod.js +14 -1
  17. package/dist/api/websocket.zod.d.ts +2 -2
  18. package/dist/auth/config.zod.d.ts +12 -12
  19. package/dist/auth/identity.zod.d.ts +3 -3
  20. package/dist/automation/approval.zod.d.ts +16 -16
  21. package/dist/automation/etl.zod.d.ts +2 -2
  22. package/dist/automation/sync.zod.d.ts +4 -4
  23. package/dist/automation/webhook.zod.d.ts +2 -2
  24. package/dist/automation/workflow.zod.d.ts +28 -28
  25. package/dist/data/object.zod.d.ts.map +1 -1
  26. package/dist/data/object.zod.js +3 -1
  27. package/dist/hub/composer.zod.d.ts +9 -8
  28. package/dist/hub/composer.zod.d.ts.map +1 -1
  29. package/dist/hub/marketplace.zod.d.ts +1 -0
  30. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  31. package/dist/hub/plugin-registry.zod.d.ts +9 -9
  32. package/dist/hub/space.zod.d.ts +5 -4
  33. package/dist/hub/space.zod.d.ts.map +1 -1
  34. package/dist/integration/connector/database.zod.d.ts +33 -33
  35. package/dist/integration/connector/file-storage.zod.d.ts +52 -52
  36. package/dist/integration/connector/message-queue.zod.d.ts +43 -43
  37. package/dist/integration/connector/saas.zod.d.ts +31 -30
  38. package/dist/integration/connector/saas.zod.d.ts.map +1 -1
  39. package/dist/integration/connector.zod.d.ts +34 -34
  40. package/dist/stack.zod.d.ts +78 -78
  41. package/dist/system/change-management.zod.d.ts +2 -2
  42. package/dist/system/collaboration.zod.d.ts +6 -6
  43. package/dist/system/events.zod.d.ts +2536 -0
  44. package/dist/system/events.zod.d.ts.map +1 -1
  45. package/dist/system/events.zod.js +582 -1
  46. package/dist/system/http-server.zod.d.ts +2 -2
  47. package/dist/system/index.d.ts +1 -0
  48. package/dist/system/index.d.ts.map +1 -1
  49. package/dist/system/index.js +1 -0
  50. package/dist/system/job.zod.d.ts +3 -2
  51. package/dist/system/job.zod.d.ts.map +1 -1
  52. package/dist/system/logging.zod.d.ts +10 -10
  53. package/dist/system/manifest.zod.d.ts +6 -6
  54. package/dist/system/message-queue.zod.d.ts +10 -10
  55. package/dist/system/metadata-loader.zod.d.ts +3 -3
  56. package/dist/system/notification.zod.d.ts +12 -12
  57. package/dist/system/plugin-capability.zod.d.ts +6 -6
  58. package/dist/system/startup-orchestrator.zod.d.ts +2 -2
  59. package/dist/system/worker.zod.d.ts +1458 -0
  60. package/dist/system/worker.zod.d.ts.map +1 -0
  61. package/dist/system/worker.zod.js +479 -0
  62. package/json-schema/api/BatchConfig.json +51 -0
  63. package/json-schema/api/ODataConfig.json +132 -0
  64. package/json-schema/api/RealtimeConfig.json +90 -0
  65. package/json-schema/data/Object.json +4 -1
  66. package/json-schema/system/BatchProgress.json +72 -0
  67. package/json-schema/system/BatchTask.json +63 -0
  68. package/json-schema/system/DeadLetterQueueEntry.json +137 -0
  69. package/json-schema/system/Event.json +24 -0
  70. package/json-schema/system/EventBusConfig.json +552 -0
  71. package/json-schema/system/EventHandler.json +34 -0
  72. package/json-schema/system/EventLogEntry.json +153 -0
  73. package/json-schema/system/EventMessageQueueConfig.json +79 -0
  74. package/json-schema/system/EventMetadata.json +20 -0
  75. package/json-schema/system/EventPersistence.json +11 -0
  76. package/json-schema/system/EventPriority.json +16 -0
  77. package/json-schema/system/EventQueueConfig.json +67 -0
  78. package/json-schema/system/EventReplayConfig.json +50 -0
  79. package/json-schema/system/EventSourcingConfig.json +65 -0
  80. package/json-schema/system/EventTypeDefinition.json +45 -0
  81. package/json-schema/system/EventWebhookConfig.json +119 -0
  82. package/json-schema/system/QueueConfig.json +133 -0
  83. package/json-schema/system/RealTimeNotificationConfig.json +85 -0
  84. package/json-schema/system/Task.json +145 -0
  85. package/json-schema/system/TaskExecutionResult.json +85 -0
  86. package/json-schema/system/TaskPriority.json +16 -0
  87. package/json-schema/system/TaskRetryPolicy.json +46 -0
  88. package/json-schema/system/TaskStatus.json +19 -0
  89. package/json-schema/system/WorkerConfig.json +188 -0
  90. package/json-schema/system/WorkerStats.json +90 -0
  91. package/package.json +9 -1
@@ -132,4 +132,137 @@ export declare const RealtimeEventSchema: z.ZodObject<{
132
132
  action?: "created" | "deleted" | "updated" | undefined;
133
133
  }>;
134
134
  export type RealtimeEvent = z.infer<typeof RealtimeEventSchema>;
135
+ /**
136
+ * Realtime Configuration Schema
137
+ *
138
+ * Configuration for enabling realtime data synchronization.
139
+ */
140
+ export declare const RealtimeConfigSchema: z.ZodObject<{
141
+ /** Enable realtime sync */
142
+ enabled: z.ZodDefault<z.ZodBoolean>;
143
+ /** Transport protocol */
144
+ transport: z.ZodDefault<z.ZodEnum<["websocket", "sse", "polling"]>>;
145
+ /** Default subscriptions */
146
+ subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
147
+ id: z.ZodString;
148
+ events: z.ZodArray<z.ZodObject<{
149
+ type: z.ZodEnum<["record.created", "record.updated", "record.deleted", "field.changed"]>;
150
+ object: z.ZodOptional<z.ZodString>;
151
+ filters: z.ZodOptional<z.ZodAny>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
154
+ object?: string | undefined;
155
+ filters?: any;
156
+ }, {
157
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
158
+ object?: string | undefined;
159
+ filters?: any;
160
+ }>, "many">;
161
+ transport: z.ZodEnum<["websocket", "sse", "polling"]>;
162
+ channel: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ events: {
165
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
166
+ object?: string | undefined;
167
+ filters?: any;
168
+ }[];
169
+ id: string;
170
+ transport: "websocket" | "sse" | "polling";
171
+ channel?: string | undefined;
172
+ }, {
173
+ events: {
174
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
175
+ object?: string | undefined;
176
+ filters?: any;
177
+ }[];
178
+ id: string;
179
+ transport: "websocket" | "sse" | "polling";
180
+ channel?: string | undefined;
181
+ }>, "many">>;
182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
183
+ /** Enable realtime sync */
184
+ enabled: z.ZodDefault<z.ZodBoolean>;
185
+ /** Transport protocol */
186
+ transport: z.ZodDefault<z.ZodEnum<["websocket", "sse", "polling"]>>;
187
+ /** Default subscriptions */
188
+ subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
189
+ id: z.ZodString;
190
+ events: z.ZodArray<z.ZodObject<{
191
+ type: z.ZodEnum<["record.created", "record.updated", "record.deleted", "field.changed"]>;
192
+ object: z.ZodOptional<z.ZodString>;
193
+ filters: z.ZodOptional<z.ZodAny>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
196
+ object?: string | undefined;
197
+ filters?: any;
198
+ }, {
199
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
200
+ object?: string | undefined;
201
+ filters?: any;
202
+ }>, "many">;
203
+ transport: z.ZodEnum<["websocket", "sse", "polling"]>;
204
+ channel: z.ZodOptional<z.ZodString>;
205
+ }, "strip", z.ZodTypeAny, {
206
+ events: {
207
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
208
+ object?: string | undefined;
209
+ filters?: any;
210
+ }[];
211
+ id: string;
212
+ transport: "websocket" | "sse" | "polling";
213
+ channel?: string | undefined;
214
+ }, {
215
+ events: {
216
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
217
+ object?: string | undefined;
218
+ filters?: any;
219
+ }[];
220
+ id: string;
221
+ transport: "websocket" | "sse" | "polling";
222
+ channel?: string | undefined;
223
+ }>, "many">>;
224
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
225
+ /** Enable realtime sync */
226
+ enabled: z.ZodDefault<z.ZodBoolean>;
227
+ /** Transport protocol */
228
+ transport: z.ZodDefault<z.ZodEnum<["websocket", "sse", "polling"]>>;
229
+ /** Default subscriptions */
230
+ subscriptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
231
+ id: z.ZodString;
232
+ events: z.ZodArray<z.ZodObject<{
233
+ type: z.ZodEnum<["record.created", "record.updated", "record.deleted", "field.changed"]>;
234
+ object: z.ZodOptional<z.ZodString>;
235
+ filters: z.ZodOptional<z.ZodAny>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
238
+ object?: string | undefined;
239
+ filters?: any;
240
+ }, {
241
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
242
+ object?: string | undefined;
243
+ filters?: any;
244
+ }>, "many">;
245
+ transport: z.ZodEnum<["websocket", "sse", "polling"]>;
246
+ channel: z.ZodOptional<z.ZodString>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ events: {
249
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
250
+ object?: string | undefined;
251
+ filters?: any;
252
+ }[];
253
+ id: string;
254
+ transport: "websocket" | "sse" | "polling";
255
+ channel?: string | undefined;
256
+ }, {
257
+ events: {
258
+ type: "record.created" | "record.updated" | "record.deleted" | "field.changed";
259
+ object?: string | undefined;
260
+ filters?: any;
261
+ }[];
262
+ id: string;
263
+ transport: "websocket" | "sse" | "polling";
264
+ channel?: string | undefined;
265
+ }>, "many">>;
266
+ }, z.ZodTypeAny, "passthrough">>;
267
+ export type RealtimeConfig = z.infer<typeof RealtimeConfigSchema>;
135
268
  //# sourceMappingURL=realtime.zod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"realtime.zod.d.ts","sourceRoot":"","sources":["../../src/api/realtime.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,iBAAiB,4CAI5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,oFAK5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAIlC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,cAAc,0CAIzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,cAAc,8CAIzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"realtime.zod.d.ts","sourceRoot":"","sources":["../../src/api/realtime.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;GAGG;AACH,eAAO,MAAM,iBAAiB,4CAI5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,oFAK5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;EAIlC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,cAAc,0CAIzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,cAAc,8CAIzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;IAC/B,2BAA2B;;IAG3B,yBAAyB;;IAGzB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAN5B,2BAA2B;;IAG3B,yBAAyB;;IAGzB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAN5B,2BAA2B;;IAG3B,yBAAyB;;IAGzB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAEd,CAAC;AAEjB,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RealtimeEventSchema = exports.RealtimeAction = exports.PresenceSchema = exports.PresenceStatus = exports.SubscriptionSchema = exports.SubscriptionEventSchema = exports.RealtimeEventType = exports.TransportProtocol = void 0;
3
+ exports.RealtimeConfigSchema = exports.RealtimeEventSchema = exports.RealtimeAction = exports.PresenceSchema = exports.PresenceStatus = exports.SubscriptionSchema = exports.SubscriptionEventSchema = exports.RealtimeEventType = exports.TransportProtocol = void 0;
4
4
  const zod_1 = require("zod");
5
5
  /**
6
6
  * Transport Protocol Enum
@@ -81,3 +81,16 @@ exports.RealtimeEventSchema = zod_1.z.object({
81
81
  timestamp: zod_1.z.string().datetime().describe('ISO 8601 datetime when event occurred'),
82
82
  userId: zod_1.z.string().optional().describe('User who triggered the event'),
83
83
  });
84
+ /**
85
+ * Realtime Configuration Schema
86
+ *
87
+ * Configuration for enabling realtime data synchronization.
88
+ */
89
+ exports.RealtimeConfigSchema = zod_1.z.object({
90
+ /** Enable realtime sync */
91
+ enabled: zod_1.z.boolean().default(true).describe('Enable realtime synchronization'),
92
+ /** Transport protocol */
93
+ transport: exports.TransportProtocol.default('websocket').describe('Transport protocol'),
94
+ /** Default subscriptions */
95
+ subscriptions: zod_1.z.array(exports.SubscriptionSchema).optional().describe('Default subscriptions'),
96
+ }).passthrough(); // Allow additional properties
@@ -29,11 +29,11 @@ export declare const EventFilterCondition: z.ZodObject<{
29
29
  value: z.ZodOptional<z.ZodAny>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  field: string;
32
- operator: "regex" | "lt" | "lte" | "gt" | "gte" | "eq" | "ne" | "in" | "nin" | "contains" | "startsWith" | "endsWith" | "exists";
32
+ operator: "regex" | "startsWith" | "endsWith" | "lt" | "lte" | "gt" | "gte" | "eq" | "ne" | "in" | "nin" | "contains" | "exists";
33
33
  value?: any;
34
34
  }, {
35
35
  field: string;
36
- operator: "regex" | "lt" | "lte" | "gt" | "gte" | "eq" | "ne" | "in" | "nin" | "contains" | "startsWith" | "endsWith" | "exists";
36
+ operator: "regex" | "startsWith" | "endsWith" | "lt" | "lte" | "gt" | "gte" | "eq" | "ne" | "in" | "nin" | "contains" | "exists";
37
37
  value?: any;
38
38
  }>;
39
39
  export type EventFilterCondition = z.infer<typeof EventFilterCondition>;
@@ -890,8 +890,8 @@ export declare const UserFieldMappingSchema: z.ZodObject<{
890
890
  name: string;
891
891
  id: string;
892
892
  createdAt: string;
893
- emailVerified: string;
894
893
  updatedAt: string;
894
+ emailVerified: string;
895
895
  image?: string | undefined;
896
896
  }, {
897
897
  email?: string | undefined;
@@ -899,8 +899,8 @@ export declare const UserFieldMappingSchema: z.ZodObject<{
899
899
  name?: string | undefined;
900
900
  id?: string | undefined;
901
901
  createdAt?: string | undefined;
902
- emailVerified?: string | undefined;
903
902
  updatedAt?: string | undefined;
903
+ emailVerified?: string | undefined;
904
904
  }>;
905
905
  export type UserFieldMapping = z.infer<typeof UserFieldMappingSchema>;
906
906
  /**
@@ -1529,8 +1529,8 @@ export declare const ApplicationAuthConfigSchema: z.ZodObject<{
1529
1529
  name: string;
1530
1530
  id: string;
1531
1531
  createdAt: string;
1532
- emailVerified: string;
1533
1532
  updatedAt: string;
1533
+ emailVerified: string;
1534
1534
  image?: string | undefined;
1535
1535
  }, {
1536
1536
  email?: string | undefined;
@@ -1538,8 +1538,8 @@ export declare const ApplicationAuthConfigSchema: z.ZodObject<{
1538
1538
  name?: string | undefined;
1539
1539
  id?: string | undefined;
1540
1540
  createdAt?: string | undefined;
1541
- emailVerified?: string | undefined;
1542
1541
  updatedAt?: string | undefined;
1542
+ emailVerified?: string | undefined;
1543
1543
  }>>;
1544
1544
  /**
1545
1545
  * Database adapter configuration
@@ -1820,8 +1820,8 @@ export declare const ApplicationAuthConfigSchema: z.ZodObject<{
1820
1820
  name: string;
1821
1821
  id: string;
1822
1822
  createdAt: string;
1823
- emailVerified: string;
1824
1823
  updatedAt: string;
1824
+ emailVerified: string;
1825
1825
  image?: string | undefined;
1826
1826
  };
1827
1827
  plugins: {
@@ -2114,8 +2114,8 @@ export declare const ApplicationAuthConfigSchema: z.ZodObject<{
2114
2114
  name?: string | undefined;
2115
2115
  id?: string | undefined;
2116
2116
  createdAt?: string | undefined;
2117
- emailVerified?: string | undefined;
2118
2117
  updatedAt?: string | undefined;
2118
+ emailVerified?: string | undefined;
2119
2119
  } | undefined;
2120
2120
  mapping?: {
2121
2121
  session?: Record<string, string> | undefined;
@@ -2652,8 +2652,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2652
2652
  name: string;
2653
2653
  id: string;
2654
2654
  createdAt: string;
2655
- emailVerified: string;
2656
2655
  updatedAt: string;
2656
+ emailVerified: string;
2657
2657
  image?: string | undefined;
2658
2658
  }, {
2659
2659
  email?: string | undefined;
@@ -2661,8 +2661,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2661
2661
  name?: string | undefined;
2662
2662
  id?: string | undefined;
2663
2663
  createdAt?: string | undefined;
2664
- emailVerified?: string | undefined;
2665
2664
  updatedAt?: string | undefined;
2665
+ emailVerified?: string | undefined;
2666
2666
  }>>;
2667
2667
  /**
2668
2668
  * Database adapter configuration
@@ -2943,8 +2943,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2943
2943
  name: string;
2944
2944
  id: string;
2945
2945
  createdAt: string;
2946
- emailVerified: string;
2947
2946
  updatedAt: string;
2947
+ emailVerified: string;
2948
2948
  image?: string | undefined;
2949
2949
  };
2950
2950
  plugins: {
@@ -3237,8 +3237,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
3237
3237
  name?: string | undefined;
3238
3238
  id?: string | undefined;
3239
3239
  createdAt?: string | undefined;
3240
- emailVerified?: string | undefined;
3241
3240
  updatedAt?: string | undefined;
3241
+ emailVerified?: string | undefined;
3242
3242
  } | undefined;
3243
3243
  mapping?: {
3244
3244
  session?: Record<string, string> | undefined;
@@ -3324,8 +3324,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
3324
3324
  name: string;
3325
3325
  id: string;
3326
3326
  createdAt: string;
3327
- emailVerified: string;
3328
3327
  updatedAt: string;
3328
+ emailVerified: string;
3329
3329
  image?: string | undefined;
3330
3330
  };
3331
3331
  plugins: {
@@ -3621,8 +3621,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
3621
3621
  name?: string | undefined;
3622
3622
  id?: string | undefined;
3623
3623
  createdAt?: string | undefined;
3624
- emailVerified?: string | undefined;
3625
3624
  updatedAt?: string | undefined;
3625
+ emailVerified?: string | undefined;
3626
3626
  } | undefined;
3627
3627
  mapping?: {
3628
3628
  session?: Record<string, string> | undefined;
@@ -45,8 +45,8 @@ export declare const UserSchema: z.ZodObject<{
45
45
  email: string;
46
46
  id: string;
47
47
  createdAt: Date;
48
- emailVerified: boolean;
49
48
  updatedAt: Date;
49
+ emailVerified: boolean;
50
50
  image?: string | undefined;
51
51
  name?: string | undefined;
52
52
  }, {
@@ -202,8 +202,8 @@ export declare const SessionSchema: z.ZodObject<{
202
202
  id: string;
203
203
  userId: string;
204
204
  createdAt: Date;
205
- sessionToken: string;
206
205
  updatedAt: Date;
206
+ sessionToken: string;
207
207
  expires: Date;
208
208
  ipAddress?: string | undefined;
209
209
  userAgent?: string | undefined;
@@ -213,8 +213,8 @@ export declare const SessionSchema: z.ZodObject<{
213
213
  id: string;
214
214
  userId: string;
215
215
  createdAt: Date;
216
- sessionToken: string;
217
216
  updatedAt: Date;
217
+ sessionToken: string;
218
218
  expires: Date;
219
219
  ipAddress?: string | undefined;
220
220
  userAgent?: string | undefined;
@@ -39,10 +39,10 @@ export declare const ApprovalStepSchema: z.ZodObject<{
39
39
  value: z.ZodString;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  value: string;
42
- type: "field" | "role" | "user" | "manager" | "queue";
42
+ type: "field" | "role" | "user" | "queue" | "manager";
43
43
  }, {
44
44
  value: string;
45
- type: "field" | "role" | "user" | "manager" | "queue";
45
+ type: "field" | "role" | "user" | "queue" | "manager";
46
46
  }>, "many">;
47
47
  /** Approval Logic */
48
48
  behavior: z.ZodDefault<z.ZodEnum<["first_response", "unanimous"]>>;
@@ -80,7 +80,7 @@ export declare const ApprovalStepSchema: z.ZodObject<{
80
80
  name: string;
81
81
  approvers: {
82
82
  value: string;
83
- type: "field" | "role" | "user" | "manager" | "queue";
83
+ type: "field" | "role" | "user" | "queue" | "manager";
84
84
  }[];
85
85
  behavior: "first_response" | "unanimous";
86
86
  rejectionBehavior: "reject_process" | "back_to_previous";
@@ -101,7 +101,7 @@ export declare const ApprovalStepSchema: z.ZodObject<{
101
101
  name: string;
102
102
  approvers: {
103
103
  value: string;
104
- type: "field" | "role" | "user" | "manager" | "queue";
104
+ type: "field" | "role" | "user" | "queue" | "manager";
105
105
  }[];
106
106
  description?: string | undefined;
107
107
  entryCriteria?: string | undefined;
@@ -147,10 +147,10 @@ export declare const ApprovalProcessSchema: z.ZodObject<{
147
147
  value: z.ZodString;
148
148
  }, "strip", z.ZodTypeAny, {
149
149
  value: string;
150
- type: "field" | "role" | "user" | "manager" | "queue";
150
+ type: "field" | "role" | "user" | "queue" | "manager";
151
151
  }, {
152
152
  value: string;
153
- type: "field" | "role" | "user" | "manager" | "queue";
153
+ type: "field" | "role" | "user" | "queue" | "manager";
154
154
  }>, "many">;
155
155
  /** Approval Logic */
156
156
  behavior: z.ZodDefault<z.ZodEnum<["first_response", "unanimous"]>>;
@@ -188,7 +188,7 @@ export declare const ApprovalProcessSchema: z.ZodObject<{
188
188
  name: string;
189
189
  approvers: {
190
190
  value: string;
191
- type: "field" | "role" | "user" | "manager" | "queue";
191
+ type: "field" | "role" | "user" | "queue" | "manager";
192
192
  }[];
193
193
  behavior: "first_response" | "unanimous";
194
194
  rejectionBehavior: "reject_process" | "back_to_previous";
@@ -209,7 +209,7 @@ export declare const ApprovalProcessSchema: z.ZodObject<{
209
209
  name: string;
210
210
  approvers: {
211
211
  value: string;
212
- type: "field" | "role" | "user" | "manager" | "queue";
212
+ type: "field" | "role" | "user" | "queue" | "manager";
213
213
  }[];
214
214
  description?: string | undefined;
215
215
  entryCriteria?: string | undefined;
@@ -289,7 +289,7 @@ export declare const ApprovalProcessSchema: z.ZodObject<{
289
289
  name: string;
290
290
  approvers: {
291
291
  value: string;
292
- type: "field" | "role" | "user" | "manager" | "queue";
292
+ type: "field" | "role" | "user" | "queue" | "manager";
293
293
  }[];
294
294
  behavior: "first_response" | "unanimous";
295
295
  rejectionBehavior: "reject_process" | "back_to_previous";
@@ -338,7 +338,7 @@ export declare const ApprovalProcessSchema: z.ZodObject<{
338
338
  name: string;
339
339
  approvers: {
340
340
  value: string;
341
- type: "field" | "role" | "user" | "manager" | "queue";
341
+ type: "field" | "role" | "user" | "queue" | "manager";
342
342
  }[];
343
343
  description?: string | undefined;
344
344
  entryCriteria?: string | undefined;
@@ -403,10 +403,10 @@ export declare const ApprovalProcess: z.ZodObject<{
403
403
  value: z.ZodString;
404
404
  }, "strip", z.ZodTypeAny, {
405
405
  value: string;
406
- type: "field" | "role" | "user" | "manager" | "queue";
406
+ type: "field" | "role" | "user" | "queue" | "manager";
407
407
  }, {
408
408
  value: string;
409
- type: "field" | "role" | "user" | "manager" | "queue";
409
+ type: "field" | "role" | "user" | "queue" | "manager";
410
410
  }>, "many">;
411
411
  /** Approval Logic */
412
412
  behavior: z.ZodDefault<z.ZodEnum<["first_response", "unanimous"]>>;
@@ -444,7 +444,7 @@ export declare const ApprovalProcess: z.ZodObject<{
444
444
  name: string;
445
445
  approvers: {
446
446
  value: string;
447
- type: "field" | "role" | "user" | "manager" | "queue";
447
+ type: "field" | "role" | "user" | "queue" | "manager";
448
448
  }[];
449
449
  behavior: "first_response" | "unanimous";
450
450
  rejectionBehavior: "reject_process" | "back_to_previous";
@@ -465,7 +465,7 @@ export declare const ApprovalProcess: z.ZodObject<{
465
465
  name: string;
466
466
  approvers: {
467
467
  value: string;
468
- type: "field" | "role" | "user" | "manager" | "queue";
468
+ type: "field" | "role" | "user" | "queue" | "manager";
469
469
  }[];
470
470
  description?: string | undefined;
471
471
  entryCriteria?: string | undefined;
@@ -545,7 +545,7 @@ export declare const ApprovalProcess: z.ZodObject<{
545
545
  name: string;
546
546
  approvers: {
547
547
  value: string;
548
- type: "field" | "role" | "user" | "manager" | "queue";
548
+ type: "field" | "role" | "user" | "queue" | "manager";
549
549
  }[];
550
550
  behavior: "first_response" | "unanimous";
551
551
  rejectionBehavior: "reject_process" | "back_to_previous";
@@ -594,7 +594,7 @@ export declare const ApprovalProcess: z.ZodObject<{
594
594
  name: string;
595
595
  approvers: {
596
596
  value: string;
597
- type: "field" | "role" | "user" | "manager" | "queue";
597
+ type: "field" | "role" | "user" | "queue" | "manager";
598
598
  }[];
599
599
  description?: string | undefined;
600
600
  entryCriteria?: string | undefined;
@@ -588,7 +588,7 @@ export declare const ETLPipelineRunSchema: z.ZodObject<{
588
588
  */
589
589
  logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
590
590
  }, "strip", z.ZodTypeAny, {
591
- status: "timeout" | "running" | "failed" | "cancelled" | "pending" | "succeeded";
591
+ status: "timeout" | "pending" | "failed" | "running" | "cancelled" | "succeeded";
592
592
  id: string;
593
593
  startedAt: string;
594
594
  pipelineName: string;
@@ -607,7 +607,7 @@ export declare const ETLPipelineRunSchema: z.ZodObject<{
607
607
  bytesProcessed: number;
608
608
  } | undefined;
609
609
  }, {
610
- status: "timeout" | "running" | "failed" | "cancelled" | "pending" | "succeeded";
610
+ status: "timeout" | "pending" | "failed" | "running" | "cancelled" | "succeeded";
611
611
  id: string;
612
612
  startedAt: string;
613
613
  pipelineName: string;
@@ -775,7 +775,7 @@ export declare const DataSyncConfigSchema: z.ZodObject<{
775
775
  batchSize: number;
776
776
  direction: "push" | "pull" | "bidirectional";
777
777
  conflictResolution: "merge" | "manual" | "source_wins" | "destination_wins" | "latest_wins";
778
- syncMode: "full" | "incremental" | "realtime";
778
+ syncMode: "full" | "realtime" | "incremental";
779
779
  validation?: {
780
780
  custom?: {
781
781
  message: string;
@@ -876,7 +876,7 @@ export declare const DataSyncConfigSchema: z.ZodObject<{
876
876
  retainLogsForDays?: number | undefined;
877
877
  trackChanges?: boolean | undefined;
878
878
  } | undefined;
879
- syncMode?: "full" | "incremental" | "realtime" | undefined;
879
+ syncMode?: "full" | "realtime" | "incremental" | undefined;
880
880
  changeTrackingField?: string | undefined;
881
881
  errorHandling?: {
882
882
  onValidationError?: "log" | "skip" | "fail" | undefined;
@@ -980,7 +980,7 @@ export declare const SyncExecutionResultSchema: z.ZodObject<{
980
980
  */
981
981
  logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
982
982
  }, "strip", z.ZodTypeAny, {
983
- status: "partial" | "running" | "failed" | "completed" | "cancelled" | "pending";
983
+ status: "partial" | "pending" | "completed" | "failed" | "running" | "cancelled";
984
984
  id: string;
985
985
  startedAt: string;
986
986
  syncName: string;
@@ -1004,7 +1004,7 @@ export declare const SyncExecutionResultSchema: z.ZodObject<{
1004
1004
  conflictsResolved: number;
1005
1005
  } | undefined;
1006
1006
  }, {
1007
- status: "partial" | "running" | "failed" | "completed" | "cancelled" | "pending";
1007
+ status: "partial" | "pending" | "completed" | "failed" | "running" | "cancelled";
1008
1008
  id: string;
1009
1009
  startedAt: string;
1010
1010
  syncName: string;
@@ -103,8 +103,8 @@ export declare const WebhookSchema: z.ZodObject<{
103
103
  url: string;
104
104
  name: string;
105
105
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
106
- includeSession: boolean;
107
106
  timeoutMs: number;
107
+ includeSession: boolean;
108
108
  isActive: boolean;
109
109
  object?: string | undefined;
110
110
  tags?: string[] | undefined;
@@ -140,6 +140,7 @@ export declare const WebhookSchema: z.ZodObject<{
140
140
  } | undefined;
141
141
  body?: any;
142
142
  secret?: string | undefined;
143
+ timeoutMs?: number | undefined;
143
144
  retryPolicy?: {
144
145
  maxRetries?: number | undefined;
145
146
  backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
@@ -149,7 +150,6 @@ export declare const WebhookSchema: z.ZodObject<{
149
150
  triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
150
151
  payloadFields?: string[] | undefined;
151
152
  includeSession?: boolean | undefined;
152
- timeoutMs?: number | undefined;
153
153
  isActive?: boolean | undefined;
154
154
  }>;
155
155
  /**