@objectstack/spec 0.3.3 → 0.4.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 (304) hide show
  1. package/dist/ai/conversation.zod.d.ts +14 -14
  2. package/dist/ai/cost.zod.d.ts +112 -112
  3. package/dist/ai/model-registry.zod.d.ts +44 -44
  4. package/dist/ai/nlq.zod.d.ts +2 -2
  5. package/dist/ai/orchestration.zod.d.ts +6 -6
  6. package/dist/ai/predictive.zod.d.ts +8 -8
  7. package/dist/ai/rag-pipeline.zod.d.ts +62 -62
  8. package/dist/api/contract.zod.d.ts +92 -92
  9. package/dist/api/discovery.zod.d.ts +2 -2
  10. package/dist/api/index.d.ts +2 -0
  11. package/dist/api/index.d.ts.map +1 -1
  12. package/dist/api/index.js +2 -0
  13. package/dist/api/odata.zod.d.ts +482 -0
  14. package/dist/api/odata.zod.d.ts.map +1 -0
  15. package/dist/api/odata.zod.js +401 -0
  16. package/dist/api/router.zod.d.ts +4 -4
  17. package/dist/auth/config.zod.d.ts +21 -21
  18. package/dist/auth/index.d.ts +1 -0
  19. package/dist/auth/index.d.ts.map +1 -1
  20. package/dist/auth/index.js +1 -0
  21. package/dist/auth/organization.zod.d.ts +2 -2
  22. package/dist/auth/role.zod.d.ts +14 -0
  23. package/dist/auth/role.zod.d.ts.map +1 -1
  24. package/dist/auth/role.zod.js +16 -1
  25. package/dist/auth/scim.zod.d.ts +2732 -0
  26. package/dist/auth/scim.zod.d.ts.map +1 -0
  27. package/dist/auth/scim.zod.js +811 -0
  28. package/dist/automation/approval.zod.d.ts +643 -0
  29. package/dist/automation/approval.zod.d.ts.map +1 -0
  30. package/dist/automation/approval.zod.js +84 -0
  31. package/dist/automation/connector.zod.d.ts +1284 -0
  32. package/dist/automation/connector.zod.d.ts.map +1 -0
  33. package/dist/automation/connector.zod.js +500 -0
  34. package/dist/automation/etl.zod.d.ts +623 -0
  35. package/dist/automation/etl.zod.d.ts.map +1 -0
  36. package/dist/automation/etl.zod.js +359 -0
  37. package/dist/automation/flow.zod.d.ts +6 -6
  38. package/dist/automation/index.d.ts +4 -0
  39. package/dist/automation/index.d.ts.map +1 -1
  40. package/dist/automation/index.js +4 -0
  41. package/dist/automation/sync.zod.d.ts +854 -0
  42. package/dist/automation/sync.zod.d.ts.map +1 -0
  43. package/dist/automation/sync.zod.js +444 -0
  44. package/dist/automation/webhook.zod.d.ts +24 -1
  45. package/dist/automation/webhook.zod.d.ts.map +1 -1
  46. package/dist/automation/webhook.zod.js +27 -3
  47. package/dist/automation/workflow.zod.d.ts +14 -0
  48. package/dist/automation/workflow.zod.d.ts.map +1 -1
  49. package/dist/automation/workflow.zod.js +16 -1
  50. package/dist/data/field.zod.d.ts +338 -8
  51. package/dist/data/field.zod.d.ts.map +1 -1
  52. package/dist/data/field.zod.js +100 -16
  53. package/dist/data/mapping.zod.d.ts +22 -10
  54. package/dist/data/mapping.zod.d.ts.map +1 -1
  55. package/dist/data/mapping.zod.js +16 -3
  56. package/dist/data/object.zod.d.ts +116 -22
  57. package/dist/data/object.zod.d.ts.map +1 -1
  58. package/dist/data/object.zod.js +4 -4
  59. package/dist/data/validation.zod.d.ts +18 -18
  60. package/dist/hub/composer.zod.d.ts +43 -1940
  61. package/dist/hub/composer.zod.d.ts.map +1 -1
  62. package/dist/hub/composer.zod.js +1 -1
  63. package/dist/hub/license.zod.d.ts +2 -2
  64. package/dist/hub/marketplace.zod.d.ts +6 -6
  65. package/dist/index.d.ts +2 -2
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +6 -3
  68. package/dist/permission/index.d.ts +7 -5
  69. package/dist/permission/index.d.ts.map +1 -1
  70. package/dist/permission/index.js +7 -5
  71. package/dist/permission/permission.zod.d.ts +14 -0
  72. package/dist/permission/permission.zod.d.ts.map +1 -1
  73. package/dist/permission/permission.zod.js +16 -1
  74. package/dist/permission/rls.zod.d.ts +605 -0
  75. package/dist/permission/rls.zod.d.ts.map +1 -0
  76. package/dist/permission/rls.zod.js +615 -0
  77. package/dist/permission/territory.zod.d.ts +13 -0
  78. package/dist/permission/territory.zod.d.ts.map +1 -1
  79. package/dist/permission/territory.zod.js +15 -1
  80. package/dist/shared/identifiers.zod.d.ts +87 -0
  81. package/dist/shared/identifiers.zod.d.ts.map +1 -0
  82. package/dist/shared/identifiers.zod.js +101 -0
  83. package/dist/shared/index.d.ts +6 -0
  84. package/dist/shared/index.d.ts.map +1 -0
  85. package/dist/{driver → shared}/index.js +5 -4
  86. package/dist/stack.zod.d.ts +19869 -0
  87. package/dist/stack.zod.d.ts.map +1 -0
  88. package/dist/stack.zod.js +248 -0
  89. package/dist/system/audit.zod.d.ts +12 -12
  90. package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
  91. package/dist/{driver → system}/datasource.zod.d.ts +2 -2
  92. package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
  93. package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
  94. package/dist/system/driver/mongo.zod.d.ts.map +1 -0
  95. package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
  96. package/dist/system/driver/postgres.zod.d.ts.map +1 -0
  97. package/dist/{driver → system}/driver.zod.d.ts +14 -14
  98. package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
  99. package/dist/system/events.zod.d.ts +15 -12
  100. package/dist/system/events.zod.d.ts.map +1 -1
  101. package/dist/system/events.zod.js +5 -1
  102. package/dist/system/feature.zod.d.ts +131 -0
  103. package/dist/system/feature.zod.d.ts.map +1 -0
  104. package/dist/system/feature.zod.js +45 -0
  105. package/dist/system/index.d.ts +10 -0
  106. package/dist/system/index.d.ts.map +1 -1
  107. package/dist/system/index.js +12 -0
  108. package/dist/system/job.zod.d.ts +8 -8
  109. package/dist/{kernel → system}/logger.zod.d.ts +4 -4
  110. package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
  111. package/dist/system/manifest.zod.d.ts +518 -0
  112. package/dist/system/manifest.zod.d.ts.map +1 -0
  113. package/dist/{kernel → system}/manifest.zod.js +8 -17
  114. package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
  115. package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
  116. package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
  117. package/dist/ui/action.zod.d.ts +35 -10
  118. package/dist/ui/action.zod.d.ts.map +1 -1
  119. package/dist/ui/action.zod.js +30 -1
  120. package/dist/ui/app.zod.d.ts +23 -8
  121. package/dist/ui/app.zod.d.ts.map +1 -1
  122. package/dist/ui/app.zod.js +32 -4
  123. package/dist/ui/block.zod.d.ts +265 -0
  124. package/dist/ui/block.zod.d.ts.map +1 -0
  125. package/dist/ui/block.zod.js +90 -0
  126. package/dist/ui/component.zod.d.ts +265 -0
  127. package/dist/ui/component.zod.d.ts.map +1 -0
  128. package/dist/ui/component.zod.js +90 -0
  129. package/dist/ui/dashboard.zod.d.ts +15 -15
  130. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  131. package/dist/ui/dashboard.zod.js +18 -8
  132. package/dist/ui/index.d.ts +1 -0
  133. package/dist/ui/index.d.ts.map +1 -1
  134. package/dist/ui/index.js +1 -0
  135. package/dist/ui/page.zod.d.ts +21 -3
  136. package/dist/ui/page.zod.d.ts.map +1 -1
  137. package/dist/ui/page.zod.js +37 -4
  138. package/dist/ui/report.zod.d.ts +7 -7
  139. package/dist/ui/view.zod.d.ts +252 -240
  140. package/dist/ui/view.zod.d.ts.map +1 -1
  141. package/dist/ui/view.zod.js +32 -3
  142. package/dist/ui/widget.zod.d.ts +673 -5
  143. package/dist/ui/widget.zod.d.ts.map +1 -1
  144. package/dist/ui/widget.zod.js +294 -1
  145. package/json-schema/api/ODataError.json +65 -0
  146. package/json-schema/api/ODataFilterFunction.json +39 -0
  147. package/json-schema/api/ODataFilterOperator.json +24 -0
  148. package/json-schema/api/ODataMetadata.json +115 -0
  149. package/json-schema/api/ODataQuery.json +89 -0
  150. package/json-schema/api/ODataResponse.json +37 -0
  151. package/json-schema/auth/Role.json +3 -2
  152. package/json-schema/auth/SCIMAddress.json +50 -0
  153. package/json-schema/auth/SCIMEmail.json +38 -0
  154. package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
  155. package/json-schema/auth/SCIMError.json +52 -0
  156. package/json-schema/auth/SCIMGroup.json +102 -0
  157. package/json-schema/auth/SCIMGroupReference.json +36 -0
  158. package/json-schema/auth/SCIMListResponse.json +606 -0
  159. package/json-schema/auth/SCIMMemberReference.json +36 -0
  160. package/json-schema/auth/SCIMMeta.json +35 -0
  161. package/json-schema/auth/SCIMName.json +36 -0
  162. package/json-schema/auth/SCIMPatchOperation.json +31 -0
  163. package/json-schema/auth/SCIMPatchRequest.json +56 -0
  164. package/json-schema/auth/SCIMPhoneNumber.json +40 -0
  165. package/json-schema/auth/SCIMUser.json +462 -0
  166. package/json-schema/automation/ApprovalAction.json +35 -0
  167. package/json-schema/automation/ApprovalActionType.json +15 -0
  168. package/json-schema/automation/ApprovalProcess.json +326 -0
  169. package/json-schema/automation/ApprovalStep.json +147 -0
  170. package/json-schema/automation/ApproverType.json +16 -0
  171. package/json-schema/automation/AuthField.json +73 -0
  172. package/json-schema/automation/Authentication.json +159 -0
  173. package/json-schema/automation/AuthenticationType.json +18 -0
  174. package/json-schema/automation/ConflictResolution.json +16 -0
  175. package/json-schema/automation/Connector.json +440 -0
  176. package/json-schema/automation/ConnectorCategory.json +26 -0
  177. package/json-schema/automation/ConnectorInstance.json +69 -0
  178. package/json-schema/automation/ConnectorOperation.json +117 -0
  179. package/json-schema/automation/ConnectorTrigger.json +54 -0
  180. package/json-schema/automation/DataDestinationConfig.json +89 -0
  181. package/json-schema/automation/DataSourceConfig.json +34 -0
  182. package/json-schema/automation/DataSyncConfig.json +355 -0
  183. package/json-schema/automation/ETLDestination.json +57 -0
  184. package/json-schema/automation/ETLEndpointType.json +19 -0
  185. package/json-schema/automation/ETLPipeline.json +252 -0
  186. package/json-schema/automation/ETLPipelineRun.json +107 -0
  187. package/json-schema/automation/ETLRunStatus.json +17 -0
  188. package/json-schema/automation/ETLSource.json +60 -0
  189. package/json-schema/automation/ETLSyncMode.json +14 -0
  190. package/json-schema/automation/ETLTransformation.json +46 -0
  191. package/json-schema/automation/ETLTransformationType.json +21 -0
  192. package/json-schema/automation/FieldMapping.json +36 -0
  193. package/json-schema/automation/OAuth2Config.json +43 -0
  194. package/json-schema/automation/OperationParameter.json +59 -0
  195. package/json-schema/automation/OperationType.json +17 -0
  196. package/json-schema/automation/SyncDirection.json +14 -0
  197. package/json-schema/automation/SyncExecutionResult.json +135 -0
  198. package/json-schema/automation/SyncExecutionStatus.json +17 -0
  199. package/json-schema/automation/SyncMode.json +14 -0
  200. package/json-schema/automation/Webhook.json +3 -1
  201. package/json-schema/automation/WebhookReceiver.json +3 -1
  202. package/json-schema/automation/WorkflowRule.json +3 -2
  203. package/json-schema/data/Field.json +62 -4
  204. package/json-schema/data/FieldType.json +12 -2
  205. package/json-schema/data/Object.json +62 -4
  206. package/json-schema/data/SelectOption.json +4 -2
  207. package/json-schema/data/VectorConfig.json +51 -0
  208. package/json-schema/hub/ComposerResponse.json +4 -2163
  209. package/json-schema/permission/PermissionSet.json +3 -1
  210. package/json-schema/permission/RLSConfig.json +59 -0
  211. package/json-schema/permission/RLSEvaluationResult.json +40 -0
  212. package/json-schema/permission/RLSOperation.json +16 -0
  213. package/json-schema/permission/RLSUserContext.json +51 -0
  214. package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
  215. package/json-schema/permission/Territory.json +3 -1
  216. package/json-schema/shared/EventName.json +12 -0
  217. package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
  218. package/json-schema/shared/SystemIdentifier.json +12 -0
  219. package/json-schema/system/Event.json +3 -2
  220. package/json-schema/system/FeatureFlag.json +87 -0
  221. package/json-schema/system/FeatureStrategy.json +16 -0
  222. package/json-schema/system/Manifest.json +398 -0
  223. package/json-schema/ui/Action.json +25 -4
  224. package/json-schema/ui/ActionParam.json +12 -2
  225. package/json-schema/ui/App.json +18 -7
  226. package/json-schema/ui/ChartType.json +9 -1
  227. package/json-schema/ui/Dashboard.json +9 -1
  228. package/json-schema/ui/DashboardNavItem.json +3 -1
  229. package/json-schema/ui/DashboardWidget.json +9 -1
  230. package/json-schema/ui/FieldWidgetProps.json +62 -4
  231. package/json-schema/ui/FormView.json +4 -1
  232. package/json-schema/ui/GroupNavItem.json +3 -1
  233. package/json-schema/ui/ListView.json +7 -1
  234. package/json-schema/ui/NavigationItem.json +15 -5
  235. package/json-schema/ui/ObjectNavItem.json +3 -1
  236. package/json-schema/ui/Page.json +36 -4
  237. package/json-schema/ui/PageCardProps.json +32 -0
  238. package/json-schema/ui/PageComponent.json +33 -3
  239. package/json-schema/ui/PageComponentType.json +32 -0
  240. package/json-schema/ui/PageHeaderProps.json +39 -0
  241. package/json-schema/ui/PageNavItem.json +3 -1
  242. package/json-schema/ui/PageRegion.json +33 -3
  243. package/json-schema/ui/PageTabsProps.json +55 -0
  244. package/json-schema/ui/RecordDetailsProps.json +37 -0
  245. package/json-schema/ui/RecordHighlightsProps.json +24 -0
  246. package/json-schema/ui/RecordRelatedListProps.json +39 -0
  247. package/json-schema/ui/UrlNavItem.json +3 -1
  248. package/json-schema/ui/View.json +22 -4
  249. package/json-schema/ui/WidgetEvent.json +42 -0
  250. package/json-schema/ui/WidgetLifecycle.json +40 -0
  251. package/json-schema/ui/WidgetManifest.json +262 -0
  252. package/json-schema/ui/WidgetProperty.json +58 -0
  253. package/package.json +1 -1
  254. package/prompts/architecture.md +5 -5
  255. package/prompts/create-new-project.md +85 -0
  256. package/dist/driver/index.d.ts +0 -5
  257. package/dist/driver/index.d.ts.map +0 -1
  258. package/dist/driver/mongo.zod.d.ts.map +0 -1
  259. package/dist/driver/postgres.zod.d.ts.map +0 -1
  260. package/dist/kernel/index.d.ts +0 -12
  261. package/dist/kernel/index.d.ts.map +0 -1
  262. package/dist/kernel/index.js +0 -27
  263. package/dist/kernel/manifest.zod.d.ts +0 -2153
  264. package/dist/kernel/manifest.zod.d.ts.map +0 -1
  265. package/json-schema/kernel/Manifest.json +0 -2557
  266. /package/dist/{kernel → system}/context.zod.d.ts +0 -0
  267. /package/dist/{kernel → system}/context.zod.js +0 -0
  268. /package/dist/{driver → system}/datasource.zod.js +0 -0
  269. /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
  270. /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
  271. /package/dist/{driver → system}/driver.zod.js +0 -0
  272. /package/dist/{kernel → system}/logger.zod.js +0 -0
  273. /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
  274. /package/dist/{kernel → system}/plugin.zod.js +0 -0
  275. /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
  276. /package/json-schema/{driver → system}/Datasource.json +0 -0
  277. /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
  278. /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
  279. /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
  280. /package/json-schema/{driver → system}/DriverInterface.json +0 -0
  281. /package/json-schema/{driver → system}/DriverOptions.json +0 -0
  282. /package/json-schema/{driver → system}/DriverType.json +0 -0
  283. /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
  284. /package/json-schema/{kernel → system}/I18nContext.json +0 -0
  285. /package/json-schema/{kernel → system}/KernelContext.json +0 -0
  286. /package/json-schema/{kernel → system}/LogEntry.json +0 -0
  287. /package/json-schema/{kernel → system}/LogFormat.json +0 -0
  288. /package/json-schema/{kernel → system}/LogLevel.json +0 -0
  289. /package/json-schema/{kernel → system}/Logger.json +0 -0
  290. /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
  291. /package/json-schema/{driver → system}/MongoConfig.json +0 -0
  292. /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
  293. /package/json-schema/{kernel → system}/Plugin.json +0 -0
  294. /package/json-schema/{kernel → system}/PluginContext.json +0 -0
  295. /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
  296. /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
  297. /package/json-schema/{kernel → system}/Router.json +0 -0
  298. /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
  299. /package/json-schema/{kernel → system}/Scheduler.json +0 -0
  300. /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
  301. /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
  302. /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
  303. /package/json-schema/{kernel → system}/StorageScope.json +0 -0
  304. /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
@@ -0,0 +1,401 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OData = exports.ODataMetadataSchema = exports.ODataErrorSchema = exports.ODataResponseSchema = exports.ODataFilterFunctionSchema = exports.ODataFilterOperatorSchema = exports.ODataQuerySchema = void 0;
4
+ const zod_1 = require("zod");
5
+ /**
6
+ * OData v4 Protocol Support
7
+ *
8
+ * Open Data Protocol (OData) v4 is an industry-standard protocol for building
9
+ * and consuming RESTful APIs. It provides a uniform way to expose, structure,
10
+ * query, and manipulate data.
11
+ *
12
+ * ## Overview
13
+ *
14
+ * OData v4 provides standardized URL conventions for querying data including:
15
+ * - $select: Choose which fields to return
16
+ * - $filter: Filter results with complex expressions
17
+ * - $orderby: Sort results
18
+ * - $top/$skip: Pagination
19
+ * - $expand: Include related entities
20
+ * - $count: Get total count
21
+ *
22
+ * ## Use Cases
23
+ *
24
+ * 1. **Enterprise Integration**
25
+ * - Integrate with Microsoft Dynamics 365
26
+ * - Connect to SharePoint Online
27
+ * - SAP OData services
28
+ *
29
+ * 2. **API Standardization**
30
+ * - Provide consistent query interface
31
+ * - Standard pagination and filtering
32
+ * - Industry-recognized protocol
33
+ *
34
+ * 3. **External Data Sources**
35
+ * - Connect to OData-compliant systems
36
+ * - Federated queries
37
+ * - Data virtualization
38
+ *
39
+ * @see https://www.odata.org/documentation/
40
+ * @see https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html
41
+ *
42
+ * @example OData Query
43
+ * ```
44
+ * GET /api/odata/customers?
45
+ * $select=name,email&
46
+ * $filter=country eq 'US' and revenue gt 100000&
47
+ * $orderby=revenue desc&
48
+ * $top=10&
49
+ * $skip=20&
50
+ * $expand=orders&
51
+ * $count=true
52
+ * ```
53
+ *
54
+ * @example Programmatic Use
55
+ * ```typescript
56
+ * const query: ODataQuery = {
57
+ * select: ['name', 'email'],
58
+ * filter: "country eq 'US' and revenue gt 100000",
59
+ * orderby: 'revenue desc',
60
+ * top: 10,
61
+ * skip: 20,
62
+ * expand: ['orders'],
63
+ * count: true
64
+ * }
65
+ * ```
66
+ */
67
+ /**
68
+ * OData Query Options Schema
69
+ *
70
+ * System query options defined by OData v4 specification.
71
+ * These are URL query parameters that control the query execution.
72
+ *
73
+ * @see https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#sec_SystemQueryOptions
74
+ */
75
+ exports.ODataQuerySchema = zod_1.z.object({
76
+ /**
77
+ * $select - Select specific fields to return
78
+ *
79
+ * Comma-separated list of field names to include in the response.
80
+ * Reduces payload size and improves performance.
81
+ *
82
+ * @example "name,email,phone"
83
+ * @example "id,customer/name" - With navigation path
84
+ */
85
+ $select: zod_1.z.union([
86
+ zod_1.z.string(), // "name,email"
87
+ zod_1.z.array(zod_1.z.string()), // ["name", "email"]
88
+ ]).optional().describe('Fields to select'),
89
+ /**
90
+ * $filter - Filter results with conditions
91
+ *
92
+ * OData filter expression using comparison operators, logical operators,
93
+ * and functions.
94
+ *
95
+ * Comparison: eq, ne, lt, le, gt, ge
96
+ * Logical: and, or, not
97
+ * Functions: contains, startswith, endswith, length, indexof, substring, etc.
98
+ *
99
+ * @example "age gt 18"
100
+ * @example "country eq 'US' and revenue gt 100000"
101
+ * @example "contains(name, 'Smith')"
102
+ * @example "startswith(email, 'admin') and isActive eq true"
103
+ */
104
+ $filter: zod_1.z.string().optional().describe('Filter expression (OData filter syntax)'),
105
+ /**
106
+ * $orderby - Sort results
107
+ *
108
+ * Comma-separated list of fields with optional asc/desc.
109
+ * Default is ascending.
110
+ *
111
+ * @example "name"
112
+ * @example "revenue desc"
113
+ * @example "country asc, revenue desc"
114
+ */
115
+ $orderby: zod_1.z.union([
116
+ zod_1.z.string(), // "name desc"
117
+ zod_1.z.array(zod_1.z.string()), // ["name desc", "email asc"]
118
+ ]).optional().describe('Sort order'),
119
+ /**
120
+ * $top - Limit number of results
121
+ *
122
+ * Maximum number of results to return.
123
+ * Equivalent to SQL LIMIT or FETCH FIRST.
124
+ *
125
+ * @example 10
126
+ * @example 100
127
+ */
128
+ $top: zod_1.z.number().int().min(0).optional().describe('Max results to return'),
129
+ /**
130
+ * $skip - Skip results for pagination
131
+ *
132
+ * Number of results to skip before returning results.
133
+ * Equivalent to SQL OFFSET.
134
+ *
135
+ * @example 20
136
+ * @example 100
137
+ */
138
+ $skip: zod_1.z.number().int().min(0).optional().describe('Results to skip'),
139
+ /**
140
+ * $expand - Include related entities
141
+ *
142
+ * Comma-separated list of navigation properties to expand.
143
+ * Loads related data in the same request.
144
+ *
145
+ * @example "orders"
146
+ * @example "customer,products"
147
+ * @example "orders($select=id,total)" - With nested query options
148
+ */
149
+ $expand: zod_1.z.union([
150
+ zod_1.z.string(), // "orders"
151
+ zod_1.z.array(zod_1.z.string()), // ["orders", "customer"]
152
+ ]).optional().describe('Navigation properties to expand'),
153
+ /**
154
+ * $count - Include total count
155
+ *
156
+ * When true, includes totalResults count in response.
157
+ * Useful for pagination UI.
158
+ *
159
+ * @example true
160
+ */
161
+ $count: zod_1.z.boolean().optional().describe('Include total count'),
162
+ /**
163
+ * $search - Full-text search
164
+ *
165
+ * Free-text search expression.
166
+ * Search implementation is service-specific.
167
+ *
168
+ * @example "John Smith"
169
+ * @example "urgent AND support"
170
+ */
171
+ $search: zod_1.z.string().optional().describe('Search expression'),
172
+ /**
173
+ * $format - Response format
174
+ *
175
+ * Preferred response format.
176
+ *
177
+ * @example "json"
178
+ * @example "xml"
179
+ */
180
+ $format: zod_1.z.enum(['json', 'xml', 'atom']).optional().describe('Response format'),
181
+ /**
182
+ * $apply - Data aggregation
183
+ *
184
+ * Aggregation transformations (groupby, aggregate, etc.)
185
+ * Part of OData aggregation extension.
186
+ *
187
+ * @example "groupby((country),aggregate(revenue with sum as totalRevenue))"
188
+ */
189
+ $apply: zod_1.z.string().optional().describe('Aggregation expression'),
190
+ });
191
+ /**
192
+ * OData Filter Operator
193
+ *
194
+ * Standard comparison and logical operators in OData filter expressions.
195
+ */
196
+ exports.ODataFilterOperatorSchema = zod_1.z.enum([
197
+ // Comparison Operators
198
+ 'eq', // Equal to
199
+ 'ne', // Not equal to
200
+ 'lt', // Less than
201
+ 'le', // Less than or equal to
202
+ 'gt', // Greater than
203
+ 'ge', // Greater than or equal to
204
+ // Logical Operators
205
+ 'and', // Logical AND
206
+ 'or', // Logical OR
207
+ 'not', // Logical NOT
208
+ // Grouping
209
+ '(', // Left parenthesis
210
+ ')', // Right parenthesis
211
+ // Other
212
+ 'in', // Value in list
213
+ 'has', // Has flag (for enum flags)
214
+ ]);
215
+ /**
216
+ * OData Filter Function
217
+ *
218
+ * Standard functions available in OData filter expressions.
219
+ */
220
+ exports.ODataFilterFunctionSchema = zod_1.z.enum([
221
+ // String Functions
222
+ 'contains', // contains(field, 'value')
223
+ 'startswith', // startswith(field, 'value')
224
+ 'endswith', // endswith(field, 'value')
225
+ 'length', // length(field)
226
+ 'indexof', // indexof(field, 'substring')
227
+ 'substring', // substring(field, start, length)
228
+ 'tolower', // tolower(field)
229
+ 'toupper', // toupper(field)
230
+ 'trim', // trim(field)
231
+ 'concat', // concat(field1, field2)
232
+ // Date/Time Functions
233
+ 'year', // year(dateField)
234
+ 'month', // month(dateField)
235
+ 'day', // day(dateField)
236
+ 'hour', // hour(datetimeField)
237
+ 'minute', // minute(datetimeField)
238
+ 'second', // second(datetimeField)
239
+ 'date', // date(datetimeField)
240
+ 'time', // time(datetimeField)
241
+ 'now', // now()
242
+ 'maxdatetime', // maxdatetime()
243
+ 'mindatetime', // mindatetime()
244
+ // Math Functions
245
+ 'round', // round(numField)
246
+ 'floor', // floor(numField)
247
+ 'ceiling', // ceiling(numField)
248
+ // Type Functions
249
+ 'cast', // cast(field, 'Edm.String')
250
+ 'isof', // isof(field, 'Type')
251
+ // Collection Functions
252
+ 'any', // collection/any(d:d/prop eq value)
253
+ 'all', // collection/all(d:d/prop eq value)
254
+ ]);
255
+ /**
256
+ * OData Response Schema
257
+ *
258
+ * Standard OData JSON response format.
259
+ */
260
+ exports.ODataResponseSchema = zod_1.z.object({
261
+ /**
262
+ * OData context URL
263
+ * Describes the payload structure
264
+ */
265
+ '@odata.context': zod_1.z.string().url().optional().describe('Metadata context URL'),
266
+ /**
267
+ * Total count (when $count=true)
268
+ */
269
+ '@odata.count': zod_1.z.number().int().optional().describe('Total results count'),
270
+ /**
271
+ * Next link for pagination
272
+ */
273
+ '@odata.nextLink': zod_1.z.string().url().optional().describe('Next page URL'),
274
+ /**
275
+ * Result array
276
+ */
277
+ value: zod_1.z.array(zod_1.z.record(zod_1.z.any())).describe('Results array'),
278
+ });
279
+ /**
280
+ * OData Error Response Schema
281
+ *
282
+ * Standard OData error format.
283
+ */
284
+ exports.ODataErrorSchema = zod_1.z.object({
285
+ error: zod_1.z.object({
286
+ /**
287
+ * Error code
288
+ */
289
+ code: zod_1.z.string().describe('Error code'),
290
+ /**
291
+ * Error message
292
+ */
293
+ message: zod_1.z.string().describe('Error message'),
294
+ /**
295
+ * Target of the error (field name, etc.)
296
+ */
297
+ target: zod_1.z.string().optional().describe('Error target'),
298
+ /**
299
+ * Additional error details
300
+ */
301
+ details: zod_1.z.array(zod_1.z.object({
302
+ code: zod_1.z.string(),
303
+ message: zod_1.z.string(),
304
+ target: zod_1.z.string().optional(),
305
+ })).optional().describe('Error details'),
306
+ /**
307
+ * Inner error for debugging
308
+ */
309
+ innererror: zod_1.z.record(zod_1.z.any()).optional().describe('Inner error details'),
310
+ }),
311
+ });
312
+ /**
313
+ * OData Metadata Configuration
314
+ *
315
+ * Configuration for OData metadata endpoint ($metadata).
316
+ */
317
+ exports.ODataMetadataSchema = zod_1.z.object({
318
+ /**
319
+ * Service namespace
320
+ */
321
+ namespace: zod_1.z.string().describe('Service namespace'),
322
+ /**
323
+ * Entity types to expose
324
+ */
325
+ entityTypes: zod_1.z.array(zod_1.z.object({
326
+ name: zod_1.z.string().describe('Entity type name'),
327
+ key: zod_1.z.array(zod_1.z.string()).describe('Key fields'),
328
+ properties: zod_1.z.array(zod_1.z.object({
329
+ name: zod_1.z.string(),
330
+ type: zod_1.z.string().describe('OData type (Edm.String, Edm.Int32, etc.)'),
331
+ nullable: zod_1.z.boolean().default(true),
332
+ })),
333
+ navigationProperties: zod_1.z.array(zod_1.z.object({
334
+ name: zod_1.z.string(),
335
+ type: zod_1.z.string(),
336
+ partner: zod_1.z.string().optional(),
337
+ })).optional(),
338
+ })).describe('Entity types'),
339
+ /**
340
+ * Entity sets
341
+ */
342
+ entitySets: zod_1.z.array(zod_1.z.object({
343
+ name: zod_1.z.string().describe('Entity set name'),
344
+ entityType: zod_1.z.string().describe('Entity type'),
345
+ })).describe('Entity sets'),
346
+ });
347
+ /**
348
+ * Helper functions for OData operations
349
+ */
350
+ exports.OData = {
351
+ /**
352
+ * Build OData query URL
353
+ */
354
+ buildUrl: (baseUrl, query) => {
355
+ const params = new URLSearchParams();
356
+ if (query.$select) {
357
+ params.append('$select', Array.isArray(query.$select) ? query.$select.join(',') : query.$select);
358
+ }
359
+ if (query.$filter) {
360
+ params.append('$filter', query.$filter);
361
+ }
362
+ if (query.$orderby) {
363
+ params.append('$orderby', Array.isArray(query.$orderby) ? query.$orderby.join(',') : query.$orderby);
364
+ }
365
+ if (query.$top !== undefined) {
366
+ params.append('$top', query.$top.toString());
367
+ }
368
+ if (query.$skip !== undefined) {
369
+ params.append('$skip', query.$skip.toString());
370
+ }
371
+ if (query.$expand) {
372
+ params.append('$expand', Array.isArray(query.$expand) ? query.$expand.join(',') : query.$expand);
373
+ }
374
+ if (query.$count !== undefined) {
375
+ params.append('$count', query.$count.toString());
376
+ }
377
+ if (query.$search) {
378
+ params.append('$search', query.$search);
379
+ }
380
+ if (query.$format) {
381
+ params.append('$format', query.$format);
382
+ }
383
+ if (query.$apply) {
384
+ params.append('$apply', query.$apply);
385
+ }
386
+ const queryString = params.toString();
387
+ return queryString ? `${baseUrl}?${queryString}` : baseUrl;
388
+ },
389
+ /**
390
+ * Create a simple filter expression
391
+ */
392
+ filter: {
393
+ eq: (field, value) => `${field} eq ${typeof value === 'string' ? `'${value}'` : value}`,
394
+ ne: (field, value) => `${field} ne ${typeof value === 'string' ? `'${value}'` : value}`,
395
+ gt: (field, value) => `${field} gt ${value}`,
396
+ lt: (field, value) => `${field} lt ${value}`,
397
+ contains: (field, value) => `contains(${field}, '${value}')`,
398
+ and: (...expressions) => expressions.join(' and '),
399
+ or: (...expressions) => expressions.join(' or '),
400
+ },
401
+ };
@@ -51,13 +51,13 @@ export declare const RouteDefinitionSchema: z.ZodObject<{
51
51
  path: string;
52
52
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
53
53
  handler: string;
54
- public: boolean;
55
54
  category: "api" | "system" | "webhook" | "plugin" | "auth" | "static";
55
+ public: boolean;
56
56
  summary?: string | undefined;
57
57
  description?: string | undefined;
58
58
  timeout?: number | undefined;
59
- rateLimit?: string | undefined;
60
59
  permissions?: string[] | undefined;
60
+ rateLimit?: string | undefined;
61
61
  }, {
62
62
  path: string;
63
63
  method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
@@ -65,10 +65,10 @@ export declare const RouteDefinitionSchema: z.ZodObject<{
65
65
  summary?: string | undefined;
66
66
  description?: string | undefined;
67
67
  timeout?: number | undefined;
68
+ category?: "api" | "system" | "webhook" | "plugin" | "auth" | "static" | undefined;
69
+ permissions?: string[] | undefined;
68
70
  public?: boolean | undefined;
69
71
  rateLimit?: string | undefined;
70
- permissions?: string[] | undefined;
71
- category?: "api" | "system" | "webhook" | "plugin" | "auth" | "static" | undefined;
72
72
  }>;
73
73
  export type RouteDefinition = z.infer<typeof RouteDefinitionSchema>;
74
74
  /**
@@ -28,8 +28,8 @@ export declare const OAuthProviderSchema: z.ZodObject<{
28
28
  displayName: z.ZodOptional<z.ZodString>;
29
29
  icon: z.ZodOptional<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
32
31
  enabled: boolean;
32
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
33
33
  clientId: string;
34
34
  clientSecret: string;
35
35
  icon?: string | undefined;
@@ -311,8 +311,8 @@ export declare const SAMLConfigSchema: z.ZodObject<{
311
311
  displayName: z.ZodOptional<z.ZodString>;
312
312
  icon: z.ZodOptional<z.ZodString>;
313
313
  }, "strip", z.ZodTypeAny, {
314
- cert: string;
315
314
  enabled: boolean;
315
+ cert: string;
316
316
  issuer: string;
317
317
  entryPoint: string;
318
318
  signatureAlgorithm: "sha256" | "sha512";
@@ -409,8 +409,8 @@ export declare const EnterpriseAuthConfigSchema: z.ZodObject<{
409
409
  displayName: z.ZodOptional<z.ZodString>;
410
410
  icon: z.ZodOptional<z.ZodString>;
411
411
  }, "strip", z.ZodTypeAny, {
412
- cert: string;
413
412
  enabled: boolean;
413
+ cert: string;
414
414
  issuer: string;
415
415
  entryPoint: string;
416
416
  signatureAlgorithm: "sha256" | "sha512";
@@ -470,8 +470,8 @@ export declare const EnterpriseAuthConfigSchema: z.ZodObject<{
470
470
  attributeMapping?: Record<string, string> | undefined;
471
471
  } | undefined;
472
472
  saml?: {
473
- cert: string;
474
473
  enabled: boolean;
474
+ cert: string;
475
475
  issuer: string;
476
476
  entryPoint: string;
477
477
  signatureAlgorithm: "sha256" | "sha512";
@@ -823,8 +823,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
823
823
  displayName: z.ZodOptional<z.ZodString>;
824
824
  icon: z.ZodOptional<z.ZodString>;
825
825
  }, "strip", z.ZodTypeAny, {
826
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
827
826
  enabled: boolean;
827
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
828
828
  clientId: string;
829
829
  clientSecret: string;
830
830
  icon?: string | undefined;
@@ -843,8 +843,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
843
843
  }>, "many">;
844
844
  }, "strip", z.ZodTypeAny, {
845
845
  providers: {
846
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
847
846
  enabled: boolean;
847
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
848
848
  clientId: string;
849
849
  clientSecret: string;
850
850
  icon?: string | undefined;
@@ -1048,8 +1048,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
1048
1048
  displayName: z.ZodOptional<z.ZodString>;
1049
1049
  icon: z.ZodOptional<z.ZodString>;
1050
1050
  }, "strip", z.ZodTypeAny, {
1051
- cert: string;
1052
1051
  enabled: boolean;
1052
+ cert: string;
1053
1053
  issuer: string;
1054
1054
  entryPoint: string;
1055
1055
  signatureAlgorithm: "sha256" | "sha512";
@@ -1109,8 +1109,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
1109
1109
  attributeMapping?: Record<string, string> | undefined;
1110
1110
  } | undefined;
1111
1111
  saml?: {
1112
- cert: string;
1113
1112
  enabled: boolean;
1113
+ cert: string;
1114
1114
  issuer: string;
1115
1115
  entryPoint: string;
1116
1116
  signatureAlgorithm: "sha256" | "sha512";
@@ -1442,8 +1442,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
1442
1442
  cookieHttpOnly: boolean;
1443
1443
  cookieDomain?: string | undefined;
1444
1444
  };
1445
- driver: string;
1446
1445
  secret: string;
1446
+ driver: string;
1447
1447
  strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
1448
1448
  baseUrl: string;
1449
1449
  rateLimit: {
@@ -1493,8 +1493,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
1493
1493
  } | undefined;
1494
1494
  oauth?: {
1495
1495
  providers: {
1496
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
1497
1496
  enabled: boolean;
1497
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
1498
1498
  clientId: string;
1499
1499
  clientSecret: string;
1500
1500
  icon?: string | undefined;
@@ -1523,8 +1523,8 @@ export declare const AuthConfigSchema: z.ZodObject<{
1523
1523
  attributeMapping?: Record<string, string> | undefined;
1524
1524
  } | undefined;
1525
1525
  saml?: {
1526
- cert: string;
1527
1526
  enabled: boolean;
1527
+ cert: string;
1528
1528
  issuer: string;
1529
1529
  entryPoint: string;
1530
1530
  signatureAlgorithm: "sha256" | "sha512";
@@ -1946,8 +1946,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
1946
1946
  displayName: z.ZodOptional<z.ZodString>;
1947
1947
  icon: z.ZodOptional<z.ZodString>;
1948
1948
  }, "strip", z.ZodTypeAny, {
1949
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
1950
1949
  enabled: boolean;
1950
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
1951
1951
  clientId: string;
1952
1952
  clientSecret: string;
1953
1953
  icon?: string | undefined;
@@ -1966,8 +1966,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
1966
1966
  }>, "many">;
1967
1967
  }, "strip", z.ZodTypeAny, {
1968
1968
  providers: {
1969
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
1970
1969
  enabled: boolean;
1970
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
1971
1971
  clientId: string;
1972
1972
  clientSecret: string;
1973
1973
  icon?: string | undefined;
@@ -2171,8 +2171,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2171
2171
  displayName: z.ZodOptional<z.ZodString>;
2172
2172
  icon: z.ZodOptional<z.ZodString>;
2173
2173
  }, "strip", z.ZodTypeAny, {
2174
- cert: string;
2175
2174
  enabled: boolean;
2175
+ cert: string;
2176
2176
  issuer: string;
2177
2177
  entryPoint: string;
2178
2178
  signatureAlgorithm: "sha256" | "sha512";
@@ -2232,8 +2232,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2232
2232
  attributeMapping?: Record<string, string> | undefined;
2233
2233
  } | undefined;
2234
2234
  saml?: {
2235
- cert: string;
2236
2235
  enabled: boolean;
2236
+ cert: string;
2237
2237
  issuer: string;
2238
2238
  entryPoint: string;
2239
2239
  signatureAlgorithm: "sha256" | "sha512";
@@ -2565,8 +2565,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2565
2565
  cookieHttpOnly: boolean;
2566
2566
  cookieDomain?: string | undefined;
2567
2567
  };
2568
- driver: string;
2569
2568
  secret: string;
2569
+ driver: string;
2570
2570
  strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
2571
2571
  baseUrl: string;
2572
2572
  rateLimit: {
@@ -2616,8 +2616,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2616
2616
  } | undefined;
2617
2617
  oauth?: {
2618
2618
  providers: {
2619
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
2620
2619
  enabled: boolean;
2620
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
2621
2621
  clientId: string;
2622
2622
  clientSecret: string;
2623
2623
  icon?: string | undefined;
@@ -2646,8 +2646,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2646
2646
  attributeMapping?: Record<string, string> | undefined;
2647
2647
  } | undefined;
2648
2648
  saml?: {
2649
- cert: string;
2650
2649
  enabled: boolean;
2650
+ cert: string;
2651
2651
  issuer: string;
2652
2652
  entryPoint: string;
2653
2653
  signatureAlgorithm: "sha256" | "sha512";
@@ -2946,8 +2946,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2946
2946
  cookieHttpOnly: boolean;
2947
2947
  cookieDomain?: string | undefined;
2948
2948
  };
2949
- driver: string;
2950
2949
  secret: string;
2950
+ driver: string;
2951
2951
  strategies: ("email_password" | "magic_link" | "oauth" | "passkey" | "otp" | "anonymous")[];
2952
2952
  baseUrl: string;
2953
2953
  rateLimit: {
@@ -2997,8 +2997,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
2997
2997
  } | undefined;
2998
2998
  oauth?: {
2999
2999
  providers: {
3000
- provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
3001
3000
  enabled: boolean;
3001
+ provider: "custom" | "google" | "github" | "facebook" | "twitter" | "linkedin" | "microsoft" | "apple" | "discord" | "gitlab";
3002
3002
  clientId: string;
3003
3003
  clientSecret: string;
3004
3004
  icon?: string | undefined;
@@ -3027,8 +3027,8 @@ export declare const StandardAuthProviderSchema: z.ZodObject<{
3027
3027
  attributeMapping?: Record<string, string> | undefined;
3028
3028
  } | undefined;
3029
3029
  saml?: {
3030
- cert: string;
3031
3030
  enabled: boolean;
3031
+ cert: string;
3032
3032
  issuer: string;
3033
3033
  entryPoint: string;
3034
3034
  signatureAlgorithm: "sha256" | "sha512";
@@ -4,4 +4,5 @@ export * from './policy.zod';
4
4
  export * from './protocol';
5
5
  export * from './role.zod';
6
6
  export * from './organization.zod';
7
+ export * from './scim.zod';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC"}
@@ -20,3 +20,4 @@ __exportStar(require("./policy.zod"), exports);
20
20
  __exportStar(require("./protocol"), exports);
21
21
  __exportStar(require("./role.zod"), exports);
22
22
  __exportStar(require("./organization.zod"), exports);
23
+ __exportStar(require("./scim.zod"), exports);
@@ -159,18 +159,18 @@ export declare const InvitationSchema: z.ZodObject<{
159
159
  email: string;
160
160
  id: string;
161
161
  role: string;
162
+ expiresAt: Date;
162
163
  createdAt: Date;
163
164
  updatedAt: Date;
164
- expiresAt: Date;
165
165
  organizationId: string;
166
166
  inviterId: string;
167
167
  }, {
168
168
  email: string;
169
169
  id: string;
170
170
  role: string;
171
+ expiresAt: Date;
171
172
  createdAt: Date;
172
173
  updatedAt: Date;
173
- expiresAt: Date;
174
174
  organizationId: string;
175
175
  inviterId: string;
176
176
  status?: "pending" | "accepted" | "rejected" | "expired" | undefined;