@lssm/lib.files 0.0.0-canary-20251217080011 → 0.0.0-canary-20251219202229

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 (165) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +2 -0
  3. package/dist/contracts/dist/capabilities/openbanking.js +2 -1
  4. package/dist/contracts/dist/capabilities/openbanking.js.map +1 -0
  5. package/dist/contracts/dist/contract-registry/schemas.js +2 -1
  6. package/dist/contracts/dist/contract-registry/schemas.js.map +1 -0
  7. package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
  8. package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
  9. package/dist/contracts/dist/docs/index.js +2 -6
  10. package/dist/contracts/dist/docs/meta.docs.js +30 -0
  11. package/dist/contracts/dist/docs/meta.docs.js.map +1 -0
  12. package/dist/contracts/dist/docs/presentations.js +2 -1
  13. package/dist/contracts/dist/docs/presentations.js.map +1 -0
  14. package/dist/contracts/dist/docs/registry.js +2 -1
  15. package/dist/contracts/dist/docs/registry.js.map +1 -0
  16. package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
  17. package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
  18. package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
  19. package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
  20. package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
  21. package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
  22. package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
  23. package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
  24. package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
  25. package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
  26. package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
  27. package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
  28. package/dist/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
  29. package/dist/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
  30. package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
  31. package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
  32. package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
  33. package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
  34. package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
  35. package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
  36. package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
  37. package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
  38. package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
  39. package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
  40. package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
  41. package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
  42. package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
  43. package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
  44. package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
  45. package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
  46. package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
  47. package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
  48. package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
  49. package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
  50. package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
  51. package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
  52. package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
  53. package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
  54. package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
  55. package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
  56. package/dist/contracts/dist/docs/tech-contracts.docs.js +97 -0
  57. package/dist/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
  58. package/dist/contracts/dist/events.js +2 -1
  59. package/dist/contracts/dist/events.js.map +1 -0
  60. package/dist/contracts/dist/index.js +2 -1
  61. package/dist/contracts/dist/integrations/contracts.js +65 -66
  62. package/dist/contracts/dist/integrations/contracts.js.map +1 -0
  63. package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
  64. package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
  65. package/dist/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
  66. package/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
  67. package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
  68. package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
  69. package/dist/contracts/dist/integrations/openbanking/models.js +60 -61
  70. package/dist/contracts/dist/integrations/openbanking/models.js.map +1 -0
  71. package/dist/contracts/dist/integrations/openbanking/telemetry.js +2 -1
  72. package/dist/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
  73. package/dist/contracts/dist/integrations/providers/elevenlabs.js +2 -1
  74. package/dist/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
  75. package/dist/contracts/dist/integrations/providers/gcs-storage.js +2 -1
  76. package/dist/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
  77. package/dist/contracts/dist/integrations/providers/gmail.js +2 -1
  78. package/dist/contracts/dist/integrations/providers/gmail.js.map +1 -0
  79. package/dist/contracts/dist/integrations/providers/google-calendar.js +2 -1
  80. package/dist/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
  81. package/dist/contracts/dist/integrations/providers/mistral.js +2 -1
  82. package/dist/contracts/dist/integrations/providers/mistral.js.map +1 -0
  83. package/dist/contracts/dist/integrations/providers/postmark.js +2 -1
  84. package/dist/contracts/dist/integrations/providers/postmark.js.map +1 -0
  85. package/dist/contracts/dist/integrations/providers/powens.js +2 -1
  86. package/dist/contracts/dist/integrations/providers/powens.js.map +1 -0
  87. package/dist/contracts/dist/integrations/providers/qdrant.js +2 -1
  88. package/dist/contracts/dist/integrations/providers/qdrant.js.map +1 -0
  89. package/dist/contracts/dist/integrations/providers/stripe.js +2 -1
  90. package/dist/contracts/dist/integrations/providers/stripe.js.map +1 -0
  91. package/dist/contracts/dist/integrations/providers/twilio-sms.js +2 -1
  92. package/dist/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
  93. package/dist/contracts/dist/knowledge/contracts.js +44 -45
  94. package/dist/contracts/dist/knowledge/contracts.js.map +1 -0
  95. package/dist/contracts/dist/knowledge/spaces/email-threads.js +2 -1
  96. package/dist/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
  97. package/dist/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
  98. package/dist/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
  99. package/dist/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
  100. package/dist/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
  101. package/dist/contracts/dist/knowledge/spaces/product-canon.js +2 -1
  102. package/dist/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
  103. package/dist/contracts/dist/knowledge/spaces/support-faq.js +2 -1
  104. package/dist/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
  105. package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
  106. package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
  107. package/dist/contracts/dist/llm/exporters.js +2 -1
  108. package/dist/contracts/dist/llm/exporters.js.map +1 -0
  109. package/dist/contracts/dist/onboarding-base.js +22 -23
  110. package/dist/contracts/dist/onboarding-base.js.map +1 -0
  111. package/dist/contracts/dist/ownership.js +4 -2
  112. package/dist/contracts/dist/ownership.js.map +1 -0
  113. package/dist/contracts/dist/presentations.v2.js +2 -1
  114. package/dist/contracts/dist/presentations.v2.js.map +1 -0
  115. package/dist/contracts/dist/regenerator/service.js +2 -1
  116. package/dist/contracts/dist/regenerator/service.js.map +1 -0
  117. package/dist/contracts/dist/schema/dist/index.js +3873 -6
  118. package/dist/contracts/dist/schema/dist/index.js.map +1 -0
  119. package/dist/contracts/dist/spec.js +2 -1
  120. package/dist/contracts/dist/spec.js.map +1 -0
  121. package/dist/contracts/index.d.ts +292 -291
  122. package/dist/contracts/index.d.ts.map +1 -0
  123. package/dist/contracts/index.js +115 -116
  124. package/dist/contracts/index.js.map +1 -0
  125. package/dist/docs/files.docblock.js +2 -1
  126. package/dist/docs/files.docblock.js.map +1 -0
  127. package/dist/entities/index.d.ts +135 -134
  128. package/dist/entities/index.d.ts.map +1 -0
  129. package/dist/entities/index.js +81 -81
  130. package/dist/entities/index.js.map +1 -0
  131. package/dist/events.d.ts +2 -1
  132. package/dist/events.d.ts.map +1 -0
  133. package/dist/events.js +61 -62
  134. package/dist/events.js.map +1 -0
  135. package/dist/files.feature.d.ts +2 -1
  136. package/dist/files.feature.d.ts.map +1 -0
  137. package/dist/files.feature.js +2 -1
  138. package/dist/files.feature.js.map +1 -0
  139. package/dist/schema/dist/index.js +4889 -6
  140. package/dist/schema/dist/index.js.map +1 -0
  141. package/dist/storage/index.d.ts +2 -1
  142. package/dist/storage/index.d.ts.map +1 -0
  143. package/dist/storage/index.js +2 -1
  144. package/dist/storage/index.js.map +1 -0
  145. package/package.json +7 -6
  146. package/dist/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  147. package/dist/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  148. package/dist/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  149. package/dist/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  150. package/dist/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  151. package/dist/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  152. package/dist/contracts/dist/schema/dist/EnumType.js +0 -2
  153. package/dist/contracts/dist/schema/dist/FieldType.js +0 -49
  154. package/dist/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  155. package/dist/contracts/dist/schema/dist/SchemaModel.js +0 -34
  156. package/dist/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  157. package/dist/contracts/dist/schema/dist/entity/index.js +0 -2
  158. package/dist/contracts/dist/schema/dist/entity/types.js +0 -1
  159. package/dist/schema/dist/EnumType.js +0 -2
  160. package/dist/schema/dist/FieldType.js +0 -49
  161. package/dist/schema/dist/ScalarTypeEnum.js +0 -236
  162. package/dist/schema/dist/SchemaModel.js +0 -39
  163. package/dist/schema/dist/entity/defineEntity.js +0 -236
  164. package/dist/schema/dist/entity/index.js +0 -2
  165. package/dist/schema/dist/entity/types.js +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/contracts/index.ts"],"sourcesContent":[],"mappings":";;;;cAOa,+BAAS;;UAwBpB,mBAAA,CAAA;;EAxBW,CAAA;EAwBX,IAAA,EAAA;;;;;;;;;;;;;;;;;;qBAxBoB;EAAA,CAAA;EA0BT,QAAA,EAAA;IAcX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAd2B,OAAA,EAAA;IAgBhB,IAAA,+BAoBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cApCW,sCAAgB;;UAc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-1,169 +1,167 @@
1
- import { ScalarTypeEnum } from "../schema/dist/ScalarTypeEnum.js";
2
- import { defineSchemaModel } from "../schema/dist/SchemaModel.js";
3
- import "../schema/dist/index.js";
1
+ import { E5, K5 } from "../schema/dist/index.js";
4
2
  import { defineCommand, defineQuery } from "./dist/spec.js";
5
3
  import "./dist/index.js";
6
4
 
7
5
  //#region src/contracts/index.ts
8
6
  const OWNERS = ["platform.files"];
9
- const FileModel = defineSchemaModel({
7
+ const FileModel = K5({
10
8
  name: "File",
11
9
  description: "Represents an uploaded file",
12
10
  fields: {
13
11
  id: {
14
- type: ScalarTypeEnum.String_unsecure(),
12
+ type: E5.String_unsecure(),
15
13
  isOptional: false
16
14
  },
17
15
  name: {
18
- type: ScalarTypeEnum.String_unsecure(),
16
+ type: E5.String_unsecure(),
19
17
  isOptional: false
20
18
  },
21
19
  mimeType: {
22
- type: ScalarTypeEnum.String_unsecure(),
20
+ type: E5.String_unsecure(),
23
21
  isOptional: false
24
22
  },
25
23
  size: {
26
- type: ScalarTypeEnum.Int_unsecure(),
24
+ type: E5.Int_unsecure(),
27
25
  isOptional: false
28
26
  },
29
27
  storageProvider: {
30
- type: ScalarTypeEnum.String_unsecure(),
28
+ type: E5.String_unsecure(),
31
29
  isOptional: false
32
30
  },
33
31
  storagePath: {
34
- type: ScalarTypeEnum.String_unsecure(),
32
+ type: E5.String_unsecure(),
35
33
  isOptional: false
36
34
  },
37
35
  checksum: {
38
- type: ScalarTypeEnum.String_unsecure(),
36
+ type: E5.String_unsecure(),
39
37
  isOptional: true
40
38
  },
41
39
  status: {
42
- type: ScalarTypeEnum.String_unsecure(),
40
+ type: E5.String_unsecure(),
43
41
  isOptional: false
44
42
  },
45
43
  isPublic: {
46
- type: ScalarTypeEnum.Boolean(),
44
+ type: E5.Boolean(),
47
45
  isOptional: false
48
46
  },
49
47
  ownerId: {
50
- type: ScalarTypeEnum.String_unsecure(),
48
+ type: E5.String_unsecure(),
51
49
  isOptional: false
52
50
  },
53
51
  orgId: {
54
- type: ScalarTypeEnum.String_unsecure(),
52
+ type: E5.String_unsecure(),
55
53
  isOptional: true
56
54
  },
57
55
  metadata: {
58
- type: ScalarTypeEnum.JSON(),
56
+ type: E5.JSON(),
59
57
  isOptional: true
60
58
  },
61
59
  width: {
62
- type: ScalarTypeEnum.Int_unsecure(),
60
+ type: E5.Int_unsecure(),
63
61
  isOptional: true
64
62
  },
65
63
  height: {
66
- type: ScalarTypeEnum.Int_unsecure(),
64
+ type: E5.Int_unsecure(),
67
65
  isOptional: true
68
66
  },
69
67
  createdAt: {
70
- type: ScalarTypeEnum.DateTime(),
68
+ type: E5.DateTime(),
71
69
  isOptional: false
72
70
  },
73
71
  updatedAt: {
74
- type: ScalarTypeEnum.DateTime(),
72
+ type: E5.DateTime(),
75
73
  isOptional: false
76
74
  }
77
75
  }
78
76
  });
79
- const FileVersionModel = defineSchemaModel({
77
+ const FileVersionModel = K5({
80
78
  name: "FileVersion",
81
79
  description: "Represents a file version",
82
80
  fields: {
83
81
  id: {
84
- type: ScalarTypeEnum.String_unsecure(),
82
+ type: E5.String_unsecure(),
85
83
  isOptional: false
86
84
  },
87
85
  fileId: {
88
- type: ScalarTypeEnum.String_unsecure(),
86
+ type: E5.String_unsecure(),
89
87
  isOptional: false
90
88
  },
91
89
  version: {
92
- type: ScalarTypeEnum.Int_unsecure(),
90
+ type: E5.Int_unsecure(),
93
91
  isOptional: false
94
92
  },
95
93
  size: {
96
- type: ScalarTypeEnum.Int_unsecure(),
94
+ type: E5.Int_unsecure(),
97
95
  isOptional: false
98
96
  },
99
97
  storagePath: {
100
- type: ScalarTypeEnum.String_unsecure(),
98
+ type: E5.String_unsecure(),
101
99
  isOptional: false
102
100
  },
103
101
  checksum: {
104
- type: ScalarTypeEnum.String_unsecure(),
102
+ type: E5.String_unsecure(),
105
103
  isOptional: true
106
104
  },
107
105
  comment: {
108
- type: ScalarTypeEnum.String_unsecure(),
106
+ type: E5.String_unsecure(),
109
107
  isOptional: true
110
108
  },
111
109
  createdBy: {
112
- type: ScalarTypeEnum.String_unsecure(),
110
+ type: E5.String_unsecure(),
113
111
  isOptional: false
114
112
  },
115
113
  createdAt: {
116
- type: ScalarTypeEnum.DateTime(),
114
+ type: E5.DateTime(),
117
115
  isOptional: false
118
116
  }
119
117
  }
120
118
  });
121
- const AttachmentModel = defineSchemaModel({
119
+ const AttachmentModel = K5({
122
120
  name: "Attachment",
123
121
  description: "Represents an attachment",
124
122
  fields: {
125
123
  id: {
126
- type: ScalarTypeEnum.String_unsecure(),
124
+ type: E5.String_unsecure(),
127
125
  isOptional: false
128
126
  },
129
127
  fileId: {
130
- type: ScalarTypeEnum.String_unsecure(),
128
+ type: E5.String_unsecure(),
131
129
  isOptional: false
132
130
  },
133
131
  entityType: {
134
- type: ScalarTypeEnum.String_unsecure(),
132
+ type: E5.String_unsecure(),
135
133
  isOptional: false
136
134
  },
137
135
  entityId: {
138
- type: ScalarTypeEnum.String_unsecure(),
136
+ type: E5.String_unsecure(),
139
137
  isOptional: false
140
138
  },
141
139
  attachmentType: {
142
- type: ScalarTypeEnum.String_unsecure(),
140
+ type: E5.String_unsecure(),
143
141
  isOptional: true
144
142
  },
145
143
  name: {
146
- type: ScalarTypeEnum.String_unsecure(),
144
+ type: E5.String_unsecure(),
147
145
  isOptional: true
148
146
  },
149
147
  description: {
150
- type: ScalarTypeEnum.String_unsecure(),
148
+ type: E5.String_unsecure(),
151
149
  isOptional: true
152
150
  },
153
151
  order: {
154
- type: ScalarTypeEnum.Int_unsecure(),
152
+ type: E5.Int_unsecure(),
155
153
  isOptional: false
156
154
  },
157
155
  metadata: {
158
- type: ScalarTypeEnum.JSON(),
156
+ type: E5.JSON(),
159
157
  isOptional: true
160
158
  },
161
159
  createdBy: {
162
- type: ScalarTypeEnum.String_unsecure(),
160
+ type: E5.String_unsecure(),
163
161
  isOptional: false
164
162
  },
165
163
  createdAt: {
166
- type: ScalarTypeEnum.DateTime(),
164
+ type: E5.DateTime(),
167
165
  isOptional: false
168
166
  },
169
167
  file: {
@@ -172,147 +170,147 @@ const AttachmentModel = defineSchemaModel({
172
170
  }
173
171
  }
174
172
  });
175
- const PresignedUrlModel = defineSchemaModel({
173
+ const PresignedUrlModel = K5({
176
174
  name: "PresignedUrl",
177
175
  description: "A presigned URL for file operations",
178
176
  fields: {
179
177
  url: {
180
- type: ScalarTypeEnum.String_unsecure(),
178
+ type: E5.String_unsecure(),
181
179
  isOptional: false
182
180
  },
183
181
  fields: {
184
- type: ScalarTypeEnum.JSON(),
182
+ type: E5.JSON(),
185
183
  isOptional: true
186
184
  },
187
185
  expiresAt: {
188
- type: ScalarTypeEnum.DateTime(),
186
+ type: E5.DateTime(),
189
187
  isOptional: false
190
188
  },
191
189
  fileId: {
192
- type: ScalarTypeEnum.String_unsecure(),
190
+ type: E5.String_unsecure(),
193
191
  isOptional: true
194
192
  },
195
193
  sessionId: {
196
- type: ScalarTypeEnum.String_unsecure(),
194
+ type: E5.String_unsecure(),
197
195
  isOptional: true
198
196
  }
199
197
  }
200
198
  });
201
- const UploadFileInput = defineSchemaModel({
199
+ const UploadFileInput = K5({
202
200
  name: "UploadFileInput",
203
201
  description: "Input for uploading a file",
204
202
  fields: {
205
203
  name: {
206
- type: ScalarTypeEnum.String_unsecure(),
204
+ type: E5.String_unsecure(),
207
205
  isOptional: false
208
206
  },
209
207
  mimeType: {
210
- type: ScalarTypeEnum.String_unsecure(),
208
+ type: E5.String_unsecure(),
211
209
  isOptional: false
212
210
  },
213
211
  size: {
214
- type: ScalarTypeEnum.Int_unsecure(),
212
+ type: E5.Int_unsecure(),
215
213
  isOptional: false
216
214
  },
217
215
  content: {
218
- type: ScalarTypeEnum.String_unsecure(),
216
+ type: E5.String_unsecure(),
219
217
  isOptional: false
220
218
  },
221
219
  orgId: {
222
- type: ScalarTypeEnum.String_unsecure(),
220
+ type: E5.String_unsecure(),
223
221
  isOptional: true
224
222
  },
225
223
  isPublic: {
226
- type: ScalarTypeEnum.Boolean(),
224
+ type: E5.Boolean(),
227
225
  isOptional: true
228
226
  },
229
227
  metadata: {
230
- type: ScalarTypeEnum.JSON(),
228
+ type: E5.JSON(),
231
229
  isOptional: true
232
230
  },
233
231
  tags: {
234
- type: ScalarTypeEnum.JSON(),
232
+ type: E5.JSON(),
235
233
  isOptional: true
236
234
  }
237
235
  }
238
236
  });
239
- const UpdateFileInput = defineSchemaModel({
237
+ const UpdateFileInput = K5({
240
238
  name: "UpdateFileInput",
241
239
  description: "Input for updating a file",
242
240
  fields: {
243
241
  fileId: {
244
- type: ScalarTypeEnum.String_unsecure(),
242
+ type: E5.String_unsecure(),
245
243
  isOptional: false
246
244
  },
247
245
  name: {
248
- type: ScalarTypeEnum.String_unsecure(),
246
+ type: E5.String_unsecure(),
249
247
  isOptional: true
250
248
  },
251
249
  isPublic: {
252
- type: ScalarTypeEnum.Boolean(),
250
+ type: E5.Boolean(),
253
251
  isOptional: true
254
252
  },
255
253
  metadata: {
256
- type: ScalarTypeEnum.JSON(),
254
+ type: E5.JSON(),
257
255
  isOptional: true
258
256
  },
259
257
  tags: {
260
- type: ScalarTypeEnum.JSON(),
258
+ type: E5.JSON(),
261
259
  isOptional: true
262
260
  }
263
261
  }
264
262
  });
265
- const DeleteFileInput = defineSchemaModel({
263
+ const DeleteFileInput = K5({
266
264
  name: "DeleteFileInput",
267
265
  description: "Input for deleting a file",
268
266
  fields: { fileId: {
269
- type: ScalarTypeEnum.String_unsecure(),
267
+ type: E5.String_unsecure(),
270
268
  isOptional: false
271
269
  } }
272
270
  });
273
- const GetFileInput = defineSchemaModel({
271
+ const GetFileInput = K5({
274
272
  name: "GetFileInput",
275
273
  description: "Input for getting a file",
276
274
  fields: { fileId: {
277
- type: ScalarTypeEnum.String_unsecure(),
275
+ type: E5.String_unsecure(),
278
276
  isOptional: false
279
277
  } }
280
278
  });
281
- const ListFilesInput = defineSchemaModel({
279
+ const ListFilesInput = K5({
282
280
  name: "ListFilesInput",
283
281
  description: "Input for listing files",
284
282
  fields: {
285
283
  orgId: {
286
- type: ScalarTypeEnum.String_unsecure(),
284
+ type: E5.String_unsecure(),
287
285
  isOptional: true
288
286
  },
289
287
  ownerId: {
290
- type: ScalarTypeEnum.String_unsecure(),
288
+ type: E5.String_unsecure(),
291
289
  isOptional: true
292
290
  },
293
291
  mimeType: {
294
- type: ScalarTypeEnum.String_unsecure(),
292
+ type: E5.String_unsecure(),
295
293
  isOptional: true
296
294
  },
297
295
  status: {
298
- type: ScalarTypeEnum.String_unsecure(),
296
+ type: E5.String_unsecure(),
299
297
  isOptional: true
300
298
  },
301
299
  tags: {
302
- type: ScalarTypeEnum.JSON(),
300
+ type: E5.JSON(),
303
301
  isOptional: true
304
302
  },
305
303
  limit: {
306
- type: ScalarTypeEnum.Int_unsecure(),
304
+ type: E5.Int_unsecure(),
307
305
  isOptional: true
308
306
  },
309
307
  offset: {
310
- type: ScalarTypeEnum.Int_unsecure(),
308
+ type: E5.Int_unsecure(),
311
309
  isOptional: true
312
310
  }
313
311
  }
314
312
  });
315
- const ListFilesOutput = defineSchemaModel({
313
+ const ListFilesOutput = K5({
316
314
  name: "ListFilesOutput",
317
315
  description: "Output for listing files",
318
316
  fields: {
@@ -322,62 +320,62 @@ const ListFilesOutput = defineSchemaModel({
322
320
  isOptional: false
323
321
  },
324
322
  total: {
325
- type: ScalarTypeEnum.Int_unsecure(),
323
+ type: E5.Int_unsecure(),
326
324
  isOptional: false
327
325
  }
328
326
  }
329
327
  });
330
- const GetDownloadUrlInput = defineSchemaModel({
328
+ const GetDownloadUrlInput = K5({
331
329
  name: "GetDownloadUrlInput",
332
330
  description: "Input for getting a download URL",
333
331
  fields: {
334
332
  fileId: {
335
- type: ScalarTypeEnum.String_unsecure(),
333
+ type: E5.String_unsecure(),
336
334
  isOptional: false
337
335
  },
338
336
  expiresInSeconds: {
339
- type: ScalarTypeEnum.Int_unsecure(),
337
+ type: E5.Int_unsecure(),
340
338
  isOptional: true
341
339
  }
342
340
  }
343
341
  });
344
- const CreateVersionInput = defineSchemaModel({
342
+ const CreateVersionInput = K5({
345
343
  name: "CreateVersionInput",
346
344
  description: "Input for creating a file version",
347
345
  fields: {
348
346
  fileId: {
349
- type: ScalarTypeEnum.String_unsecure(),
347
+ type: E5.String_unsecure(),
350
348
  isOptional: false
351
349
  },
352
350
  content: {
353
- type: ScalarTypeEnum.String_unsecure(),
351
+ type: E5.String_unsecure(),
354
352
  isOptional: false
355
353
  },
356
354
  comment: {
357
- type: ScalarTypeEnum.String_unsecure(),
355
+ type: E5.String_unsecure(),
358
356
  isOptional: true
359
357
  }
360
358
  }
361
359
  });
362
- const GetVersionsInput = defineSchemaModel({
360
+ const GetVersionsInput = K5({
363
361
  name: "GetVersionsInput",
364
362
  description: "Input for getting file versions",
365
363
  fields: {
366
364
  fileId: {
367
- type: ScalarTypeEnum.String_unsecure(),
365
+ type: E5.String_unsecure(),
368
366
  isOptional: false
369
367
  },
370
368
  limit: {
371
- type: ScalarTypeEnum.Int_unsecure(),
369
+ type: E5.Int_unsecure(),
372
370
  isOptional: true
373
371
  },
374
372
  offset: {
375
- type: ScalarTypeEnum.Int_unsecure(),
373
+ type: E5.Int_unsecure(),
376
374
  isOptional: true
377
375
  }
378
376
  }
379
377
  });
380
- const GetVersionsOutput = defineSchemaModel({
378
+ const GetVersionsOutput = K5({
381
379
  name: "GetVersionsOutput",
382
380
  description: "Output for getting file versions",
383
381
  fields: {
@@ -387,76 +385,76 @@ const GetVersionsOutput = defineSchemaModel({
387
385
  isOptional: false
388
386
  },
389
387
  total: {
390
- type: ScalarTypeEnum.Int_unsecure(),
388
+ type: E5.Int_unsecure(),
391
389
  isOptional: false
392
390
  }
393
391
  }
394
392
  });
395
- const AttachFileInput = defineSchemaModel({
393
+ const AttachFileInput = K5({
396
394
  name: "AttachFileInput",
397
395
  description: "Input for attaching a file to an entity",
398
396
  fields: {
399
397
  fileId: {
400
- type: ScalarTypeEnum.String_unsecure(),
398
+ type: E5.String_unsecure(),
401
399
  isOptional: false
402
400
  },
403
401
  entityType: {
404
- type: ScalarTypeEnum.String_unsecure(),
402
+ type: E5.String_unsecure(),
405
403
  isOptional: false
406
404
  },
407
405
  entityId: {
408
- type: ScalarTypeEnum.String_unsecure(),
406
+ type: E5.String_unsecure(),
409
407
  isOptional: false
410
408
  },
411
409
  attachmentType: {
412
- type: ScalarTypeEnum.String_unsecure(),
410
+ type: E5.String_unsecure(),
413
411
  isOptional: true
414
412
  },
415
413
  name: {
416
- type: ScalarTypeEnum.String_unsecure(),
414
+ type: E5.String_unsecure(),
417
415
  isOptional: true
418
416
  },
419
417
  description: {
420
- type: ScalarTypeEnum.String_unsecure(),
418
+ type: E5.String_unsecure(),
421
419
  isOptional: true
422
420
  },
423
421
  order: {
424
- type: ScalarTypeEnum.Int_unsecure(),
422
+ type: E5.Int_unsecure(),
425
423
  isOptional: true
426
424
  },
427
425
  metadata: {
428
- type: ScalarTypeEnum.JSON(),
426
+ type: E5.JSON(),
429
427
  isOptional: true
430
428
  }
431
429
  }
432
430
  });
433
- const DetachFileInput = defineSchemaModel({
431
+ const DetachFileInput = K5({
434
432
  name: "DetachFileInput",
435
433
  description: "Input for detaching a file",
436
434
  fields: { attachmentId: {
437
- type: ScalarTypeEnum.String_unsecure(),
435
+ type: E5.String_unsecure(),
438
436
  isOptional: false
439
437
  } }
440
438
  });
441
- const ListAttachmentsInput = defineSchemaModel({
439
+ const ListAttachmentsInput = K5({
442
440
  name: "ListAttachmentsInput",
443
441
  description: "Input for listing attachments",
444
442
  fields: {
445
443
  entityType: {
446
- type: ScalarTypeEnum.String_unsecure(),
444
+ type: E5.String_unsecure(),
447
445
  isOptional: false
448
446
  },
449
447
  entityId: {
450
- type: ScalarTypeEnum.String_unsecure(),
448
+ type: E5.String_unsecure(),
451
449
  isOptional: false
452
450
  },
453
451
  attachmentType: {
454
- type: ScalarTypeEnum.String_unsecure(),
452
+ type: E5.String_unsecure(),
455
453
  isOptional: true
456
454
  }
457
455
  }
458
456
  });
459
- const ListAttachmentsOutput = defineSchemaModel({
457
+ const ListAttachmentsOutput = K5({
460
458
  name: "ListAttachmentsOutput",
461
459
  description: "Output for listing attachments",
462
460
  fields: {
@@ -466,42 +464,42 @@ const ListAttachmentsOutput = defineSchemaModel({
466
464
  isOptional: false
467
465
  },
468
466
  total: {
469
- type: ScalarTypeEnum.Int_unsecure(),
467
+ type: E5.Int_unsecure(),
470
468
  isOptional: false
471
469
  }
472
470
  }
473
471
  });
474
- const CreatePresignedUrlInput = defineSchemaModel({
472
+ const CreatePresignedUrlInput = K5({
475
473
  name: "CreatePresignedUrlInput",
476
474
  description: "Input for creating a presigned upload URL",
477
475
  fields: {
478
476
  fileName: {
479
- type: ScalarTypeEnum.String_unsecure(),
477
+ type: E5.String_unsecure(),
480
478
  isOptional: false
481
479
  },
482
480
  mimeType: {
483
- type: ScalarTypeEnum.String_unsecure(),
481
+ type: E5.String_unsecure(),
484
482
  isOptional: false
485
483
  },
486
484
  size: {
487
- type: ScalarTypeEnum.Int_unsecure(),
485
+ type: E5.Int_unsecure(),
488
486
  isOptional: false
489
487
  },
490
488
  orgId: {
491
- type: ScalarTypeEnum.String_unsecure(),
489
+ type: E5.String_unsecure(),
492
490
  isOptional: true
493
491
  },
494
492
  expiresInSeconds: {
495
- type: ScalarTypeEnum.Int_unsecure(),
493
+ type: E5.Int_unsecure(),
496
494
  isOptional: true
497
495
  }
498
496
  }
499
497
  });
500
- const SuccessOutput = defineSchemaModel({
498
+ const SuccessOutput = K5({
501
499
  name: "SuccessOutput",
502
500
  description: "Generic success output",
503
501
  fields: { success: {
504
- type: ScalarTypeEnum.Boolean(),
502
+ type: E5.Boolean(),
505
503
  isOptional: false
506
504
  } }
507
505
  });
@@ -855,4 +853,5 @@ const CreatePresignedUrlContract = defineCommand({
855
853
  });
856
854
 
857
855
  //#endregion
858
- export { AttachFileContract, AttachmentModel, CreatePresignedUrlContract, CreateVersionContract, DeleteFileContract, DetachFileContract, FileModel, FileVersionModel, GetDownloadUrlContract, GetFileContract, GetVersionsContract, ListAttachmentsContract, ListFilesContract, PresignedUrlModel, UpdateFileContract, UploadFileContract };
856
+ export { AttachFileContract, AttachmentModel, CreatePresignedUrlContract, CreateVersionContract, DeleteFileContract, DetachFileContract, FileModel, FileVersionModel, GetDownloadUrlContract, GetFileContract, GetVersionsContract, ListAttachmentsContract, ListFilesContract, PresignedUrlModel, UpdateFileContract, UploadFileContract };
857
+ //# sourceMappingURL=index.js.map