@holokai/holo-types 1.4.1

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 (206) hide show
  1. package/README.md +44 -0
  2. package/dist/api/index.d.ts +2 -0
  3. package/dist/api/index.d.ts.map +1 -0
  4. package/dist/api/index.js +2 -0
  5. package/dist/api/index.js.map +1 -0
  6. package/dist/api/types.d.ts +11 -0
  7. package/dist/api/types.d.ts.map +1 -0
  8. package/dist/api/types.js +2 -0
  9. package/dist/api/types.js.map +1 -0
  10. package/dist/entities/analysis.result.d.ts +8 -0
  11. package/dist/entities/analysis.result.d.ts.map +1 -0
  12. package/dist/entities/analysis.result.js +2 -0
  13. package/dist/entities/analysis.result.js.map +1 -0
  14. package/dist/entities/application.d.ts +21 -0
  15. package/dist/entities/application.d.ts.map +1 -0
  16. package/dist/entities/application.js +2 -0
  17. package/dist/entities/application.js.map +1 -0
  18. package/dist/entities/base.d.ts +8 -0
  19. package/dist/entities/base.d.ts.map +1 -0
  20. package/dist/entities/base.js +2 -0
  21. package/dist/entities/base.js.map +1 -0
  22. package/dist/entities/evaluator.d.ts +13 -0
  23. package/dist/entities/evaluator.d.ts.map +1 -0
  24. package/dist/entities/evaluator.data.d.ts +9 -0
  25. package/dist/entities/evaluator.data.d.ts.map +1 -0
  26. package/dist/entities/evaluator.data.js +2 -0
  27. package/dist/entities/evaluator.data.js.map +1 -0
  28. package/dist/entities/evaluator.js +2 -0
  29. package/dist/entities/evaluator.js.map +1 -0
  30. package/dist/entities/finish.reason.d.ts +9 -0
  31. package/dist/entities/finish.reason.d.ts.map +1 -0
  32. package/dist/entities/finish.reason.js +8 -0
  33. package/dist/entities/finish.reason.js.map +1 -0
  34. package/dist/entities/holo.token.d.ts +15 -0
  35. package/dist/entities/holo.token.d.ts.map +1 -0
  36. package/dist/entities/holo.token.js +2 -0
  37. package/dist/entities/holo.token.js.map +1 -0
  38. package/dist/entities/index.d.ts +22 -0
  39. package/dist/entities/index.d.ts.map +1 -0
  40. package/dist/entities/index.js +7 -0
  41. package/dist/entities/index.js.map +1 -0
  42. package/dist/entities/model-dictionary-alias.d.ts +15 -0
  43. package/dist/entities/model-dictionary-alias.d.ts.map +1 -0
  44. package/dist/entities/model-dictionary-alias.js +2 -0
  45. package/dist/entities/model-dictionary-alias.js.map +1 -0
  46. package/dist/entities/model-dictionary.d.ts +37 -0
  47. package/dist/entities/model-dictionary.d.ts.map +1 -0
  48. package/dist/entities/model-dictionary.js +2 -0
  49. package/dist/entities/model-dictionary.js.map +1 -0
  50. package/dist/entities/model-match.d.ts +56 -0
  51. package/dist/entities/model-match.d.ts.map +1 -0
  52. package/dist/entities/model-match.js +2 -0
  53. package/dist/entities/model-match.js.map +1 -0
  54. package/dist/entities/model.d.ts +36 -0
  55. package/dist/entities/model.d.ts.map +1 -0
  56. package/dist/entities/model.js +2 -0
  57. package/dist/entities/model.js.map +1 -0
  58. package/dist/entities/notification.d.ts +15 -0
  59. package/dist/entities/notification.d.ts.map +1 -0
  60. package/dist/entities/notification.js +2 -0
  61. package/dist/entities/notification.js.map +1 -0
  62. package/dist/entities/organization.d.ts +17 -0
  63. package/dist/entities/organization.d.ts.map +1 -0
  64. package/dist/entities/organization.js +2 -0
  65. package/dist/entities/organization.js.map +1 -0
  66. package/dist/entities/plugin.d.ts +12 -0
  67. package/dist/entities/plugin.d.ts.map +1 -0
  68. package/dist/entities/plugin.js +2 -0
  69. package/dist/entities/plugin.js.map +1 -0
  70. package/dist/entities/pricing.d.ts +78 -0
  71. package/dist/entities/pricing.d.ts.map +1 -0
  72. package/dist/entities/pricing.js +10 -0
  73. package/dist/entities/pricing.js.map +1 -0
  74. package/dist/entities/prompt.d.ts +15 -0
  75. package/dist/entities/prompt.d.ts.map +1 -0
  76. package/dist/entities/prompt.js +2 -0
  77. package/dist/entities/prompt.js.map +1 -0
  78. package/dist/entities/protocol.d.ts +18 -0
  79. package/dist/entities/protocol.d.ts.map +1 -0
  80. package/dist/entities/protocol.js +8 -0
  81. package/dist/entities/protocol.js.map +1 -0
  82. package/dist/entities/provider.d.ts +16 -0
  83. package/dist/entities/provider.d.ts.map +1 -0
  84. package/dist/entities/provider.js +2 -0
  85. package/dist/entities/provider.js.map +1 -0
  86. package/dist/entities/provider.request.d.ts +46 -0
  87. package/dist/entities/provider.request.d.ts.map +1 -0
  88. package/dist/entities/provider.request.js +2 -0
  89. package/dist/entities/provider.request.js.map +1 -0
  90. package/dist/entities/provider.response.d.ts +59 -0
  91. package/dist/entities/provider.response.d.ts.map +1 -0
  92. package/dist/entities/provider.response.js +9 -0
  93. package/dist/entities/provider.response.js.map +1 -0
  94. package/dist/entities/server.d.ts +19 -0
  95. package/dist/entities/server.d.ts.map +1 -0
  96. package/dist/entities/server.js +8 -0
  97. package/dist/entities/server.js.map +1 -0
  98. package/dist/holo/content.d.ts +81 -0
  99. package/dist/holo/content.d.ts.map +1 -0
  100. package/dist/holo/content.js +2 -0
  101. package/dist/holo/content.js.map +1 -0
  102. package/dist/holo/embed.d.ts +16 -0
  103. package/dist/holo/embed.d.ts.map +1 -0
  104. package/dist/holo/embed.js +2 -0
  105. package/dist/holo/embed.js.map +1 -0
  106. package/dist/holo/errors.d.ts +11 -0
  107. package/dist/holo/errors.d.ts.map +1 -0
  108. package/dist/holo/errors.js +10 -0
  109. package/dist/holo/errors.js.map +1 -0
  110. package/dist/holo/generate.d.ts +13 -0
  111. package/dist/holo/generate.d.ts.map +1 -0
  112. package/dist/holo/generate.js +2 -0
  113. package/dist/holo/generate.js.map +1 -0
  114. package/dist/holo/index.d.ts +12 -0
  115. package/dist/holo/index.d.ts.map +1 -0
  116. package/dist/holo/index.js +12 -0
  117. package/dist/holo/index.js.map +1 -0
  118. package/dist/holo/messages.d.ts +28 -0
  119. package/dist/holo/messages.d.ts.map +1 -0
  120. package/dist/holo/messages.js +2 -0
  121. package/dist/holo/messages.js.map +1 -0
  122. package/dist/holo/metrics.d.ts +11 -0
  123. package/dist/holo/metrics.d.ts.map +1 -0
  124. package/dist/holo/metrics.js +2 -0
  125. package/dist/holo/metrics.js.map +1 -0
  126. package/dist/holo/models.d.ts +6 -0
  127. package/dist/holo/models.d.ts.map +1 -0
  128. package/dist/holo/models.js +2 -0
  129. package/dist/holo/models.js.map +1 -0
  130. package/dist/holo/requests.d.ts +53 -0
  131. package/dist/holo/requests.d.ts.map +1 -0
  132. package/dist/holo/requests.js +2 -0
  133. package/dist/holo/requests.js.map +1 -0
  134. package/dist/holo/responses.d.ts +145 -0
  135. package/dist/holo/responses.d.ts.map +1 -0
  136. package/dist/holo/responses.js +2 -0
  137. package/dist/holo/responses.js.map +1 -0
  138. package/dist/holo/threads.d.ts +58 -0
  139. package/dist/holo/threads.d.ts.map +1 -0
  140. package/dist/holo/threads.js +2 -0
  141. package/dist/holo/threads.js.map +1 -0
  142. package/dist/holo/tools.d.ts +40 -0
  143. package/dist/holo/tools.d.ts.map +1 -0
  144. package/dist/holo/tools.js +2 -0
  145. package/dist/holo/tools.js.map +1 -0
  146. package/dist/index.d.ts +10 -0
  147. package/dist/index.d.ts.map +1 -0
  148. package/dist/index.js +10 -0
  149. package/dist/index.js.map +1 -0
  150. package/dist/logger/index.d.ts +2 -0
  151. package/dist/logger/index.d.ts.map +1 -0
  152. package/dist/logger/index.js +2 -0
  153. package/dist/logger/index.js.map +1 -0
  154. package/dist/logger/logger.d.ts +16 -0
  155. package/dist/logger/logger.d.ts.map +1 -0
  156. package/dist/logger/logger.js +2 -0
  157. package/dist/logger/logger.js.map +1 -0
  158. package/dist/notification/index.d.ts +2 -0
  159. package/dist/notification/index.d.ts.map +1 -0
  160. package/dist/notification/index.js +2 -0
  161. package/dist/notification/index.js.map +1 -0
  162. package/dist/notification/types.d.ts +57 -0
  163. package/dist/notification/types.d.ts.map +1 -0
  164. package/dist/notification/types.js +12 -0
  165. package/dist/notification/types.js.map +1 -0
  166. package/dist/plugin/index.d.ts +2 -0
  167. package/dist/plugin/index.d.ts.map +1 -0
  168. package/dist/plugin/index.js +2 -0
  169. package/dist/plugin/index.js.map +1 -0
  170. package/dist/plugin/types.d.ts +114 -0
  171. package/dist/plugin/types.d.ts.map +1 -0
  172. package/dist/plugin/types.js +17 -0
  173. package/dist/plugin/types.js.map +1 -0
  174. package/dist/provider/index.d.ts +3 -0
  175. package/dist/provider/index.d.ts.map +1 -0
  176. package/dist/provider/index.js +3 -0
  177. package/dist/provider/index.js.map +1 -0
  178. package/dist/provider/protocol.d.ts +12 -0
  179. package/dist/provider/protocol.d.ts.map +1 -0
  180. package/dist/provider/protocol.js +2 -0
  181. package/dist/provider/protocol.js.map +1 -0
  182. package/dist/provider/types.d.ts +186 -0
  183. package/dist/provider/types.d.ts.map +1 -0
  184. package/dist/provider/types.js +8 -0
  185. package/dist/provider/types.js.map +1 -0
  186. package/dist/routing/index.d.ts +2 -0
  187. package/dist/routing/index.d.ts.map +1 -0
  188. package/dist/routing/index.js +2 -0
  189. package/dist/routing/index.js.map +1 -0
  190. package/dist/routing/routes.d.ts +17 -0
  191. package/dist/routing/routes.d.ts.map +1 -0
  192. package/dist/routing/routes.js +10 -0
  193. package/dist/routing/routes.js.map +1 -0
  194. package/dist/worker/envelopes.d.ts +27 -0
  195. package/dist/worker/envelopes.d.ts.map +1 -0
  196. package/dist/worker/envelopes.js +2 -0
  197. package/dist/worker/envelopes.js.map +1 -0
  198. package/dist/worker/index.d.ts +3 -0
  199. package/dist/worker/index.d.ts.map +1 -0
  200. package/dist/worker/index.js +3 -0
  201. package/dist/worker/index.js.map +1 -0
  202. package/dist/worker/request.d.ts +42 -0
  203. package/dist/worker/request.d.ts.map +1 -0
  204. package/dist/worker/request.js +2 -0
  205. package/dist/worker/request.js.map +1 -0
  206. package/package.json +90 -0
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # @holokai/holo-types
2
+
3
+ Pure type definitions for the Holo platform. Zero runtime dependencies. Used by `@holokai/holo-sdk`, provider plugins, and the Holo application.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @holokai/holo-types
9
+ ```
10
+
11
+ ## Subpath Exports
12
+
13
+ Types are organized into subpath exports for tree-shaking and clear dependency boundaries:
14
+
15
+ | Subpath | Description | Key Types |
16
+ |---------|-------------|-----------|
17
+ | `@holokai/holo-types` | Root re-export of all types | Everything |
18
+ | `@holokai/holo-types/holo` | Holo universal format | `HoloRequest`, `HoloResponse`, `HoloMessage`, content types |
19
+ | `@holokai/holo-types/entities` | Database entities and enums | `ProviderRequest`, `ProviderResponse`, `ProtocolCapability`, pricing types |
20
+ | `@holokai/holo-types/worker` | Worker queue messages | `HoloWorkerRequest`, `WorkerResponseEnvelope`, `WorkerQueueMessage` |
21
+ | `@holokai/holo-types/notification` | Notification events | `NotificationEvent`, `NotificationStore` |
22
+ | `@holokai/holo-types/routing` | Route definitions and handlers | `RouteTree`, `RouteDefinition`, `RouteHandler` |
23
+ | `@holokai/holo-types/api` | API request/response shapes | API controller types |
24
+ | `@holokai/holo-types/provider` | Provider interfaces | `IProvider`, `IWireAdapter`, `IAuditor`, `IProviderTranslator`, `ProviderEvent` |
25
+ | `@holokai/holo-types/logger` | Logging contracts | `ILoggerFactory`, `ILogger`, `HoloLogLevel` |
26
+ | `@holokai/holo-types/plugin` | Plugin interfaces | `IProviderPlugin`, `PluginManifest`, `PluginContext`, `PluginState` |
27
+
28
+ ## Usage
29
+
30
+ ```typescript
31
+ // Import from specific subpaths
32
+ import type {HoloRequest, HoloResponse} from '@holokai/holo-types/holo';
33
+ import type {IProviderPlugin, PluginManifest} from '@holokai/holo-types/plugin';
34
+ import type {IProvider, ProviderEvent} from '@holokai/holo-types/provider';
35
+ import {ProtocolCapability} from '@holokai/holo-types/entities';
36
+ import {RouteHandler} from '@holokai/holo-types/routing';
37
+
38
+ // Or import everything from root
39
+ import type {HoloRequest, IProvider, PluginManifest} from '@holokai/holo-types';
40
+ ```
41
+
42
+ ## License
43
+
44
+ MIT
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { Application } from "../entities";
2
+ export type TokenType = 'holo_user' | 'holo_application' | 'jwt' | 'anonymous';
3
+ export interface Auth {
4
+ organizationId: string;
5
+ userId?: string;
6
+ tokenType: TokenType;
7
+ application?: Application;
8
+ applications: Application[];
9
+ clientIdentifier?: string;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,kBAAkB,GAAG,KAAK,GAAG,WAAW,CAAC;AAE/E,MAAM,WAAW,IAAI;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface AnalysisResult {
2
+ id: string;
3
+ created_at: Date;
4
+ analysis_name: string | null;
5
+ reference: Record<string, any>;
6
+ results: Record<string, any>;
7
+ }
8
+ //# sourceMappingURL=analysis.result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analysis.result.d.ts","sourceRoot":"","sources":["../../src/entities/analysis.result.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,IAAI,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=analysis.result.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analysis.result.js","sourceRoot":"","sources":["../../src/entities/analysis.result.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import { BaseEntity } from "./base";
2
+ import { Provider } from "./provider";
3
+ import { Model } from "./model";
4
+ import { Prompt } from "./prompt";
5
+ import { Evaluator } from "./evaluator";
6
+ export type AccessLevel = 'team' | 'organization' | 'anonymous';
7
+ export interface Application extends BaseEntity {
8
+ name: string;
9
+ provider_id: string;
10
+ system_prompt_id: string;
11
+ url_slug: string;
12
+ active: boolean;
13
+ organization_id: string;
14
+ access_level: AccessLevel;
15
+ provider?: Provider;
16
+ models?: Model[];
17
+ system_prompt?: Prompt;
18
+ guards?: Prompt[];
19
+ evaluators?: Evaluator[];
20
+ }
21
+ //# sourceMappingURL=application.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../src/entities/application.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,cAAc,GAAG,WAAW,CAAC;AAEhE,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;CAC5B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=application.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.js","sourceRoot":"","sources":["../../src/entities/application.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface BaseEntity {
2
+ id: string;
3
+ created_at: Date;
4
+ updated_at: Date;
5
+ created_by?: string;
6
+ last_modified_by?: string;
7
+ }
8
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/entities/base.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/entities/base.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import { BaseEntity } from "./base";
2
+ export interface Evaluator extends BaseEntity {
3
+ name: string;
4
+ description?: string | null;
5
+ prompt_id?: string | null;
6
+ parameters: Record<string, any>;
7
+ evaluator_type: string;
8
+ enabled: boolean;
9
+ available: boolean;
10
+ deleted?: boolean;
11
+ active?: boolean;
12
+ }
13
+ //# sourceMappingURL=evaluator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluator.d.ts","sourceRoot":"","sources":["../../src/entities/evaluator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,WAAW,SAAU,SAAQ,UAAU;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,9 @@
1
+ export interface EvaluatorData {
2
+ id: string;
3
+ created_at: Date;
4
+ evaluator_id: string;
5
+ llmresponse_id: string;
6
+ results: Record<string, any>;
7
+ scoring: Record<string, any>;
8
+ }
9
+ //# sourceMappingURL=evaluator.data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluator.data.d.ts","sourceRoot":"","sources":["../../src/entities/evaluator.data.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,IAAI,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=evaluator.data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluator.data.js","sourceRoot":"","sources":["../../src/entities/evaluator.data.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=evaluator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluator.js","sourceRoot":"","sources":["../../src/entities/evaluator.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export declare const FinishReason: {
2
+ readonly STOP: "stop";
3
+ readonly TOOL_CALLS: "tool_calls";
4
+ readonly LENGTH: "length";
5
+ readonly CONTENT_FILTER: "content_filter";
6
+ readonly ERROR: "error";
7
+ };
8
+ export type FinishReason = typeof FinishReason[keyof typeof FinishReason];
9
+ //# sourceMappingURL=finish.reason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finish.reason.d.ts","sourceRoot":"","sources":["../../src/entities/finish.reason.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const FinishReason = {
2
+ STOP: 'stop',
3
+ TOOL_CALLS: 'tool_calls',
4
+ LENGTH: 'length',
5
+ CONTENT_FILTER: 'content_filter',
6
+ ERROR: 'error',
7
+ };
8
+ //# sourceMappingURL=finish.reason.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finish.reason.js","sourceRoot":"","sources":["../../src/entities/finish.reason.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,cAAc,EAAE,gBAAgB;IAChC,KAAK,EAAE,OAAO;CACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { BaseEntity } from './base';
2
+ export interface HoloToken extends BaseEntity {
3
+ organization_id: string;
4
+ user_id?: string;
5
+ application_id?: string;
6
+ token_type: 'user' | 'application';
7
+ key_hash: string;
8
+ key_prefix: string;
9
+ key_suffix: string;
10
+ name?: string;
11
+ expires_at?: Date;
12
+ last_used_at?: Date;
13
+ active: boolean;
14
+ }
15
+ //# sourceMappingURL=holo.token.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holo.token.d.ts","sourceRoot":"","sources":["../../src/entities/holo.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,WAAW,SAAU,SAAQ,UAAU;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,aAAa,CAAC;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=holo.token.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"holo.token.js","sourceRoot":"","sources":["../../src/entities/holo.token.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ export * from './base';
2
+ export { Provider } from "./provider";
3
+ export { Evaluator } from "./evaluator";
4
+ export { EvaluatorData } from "./evaluator.data";
5
+ export { Model } from "./model";
6
+ export { ModelDictionary, type ModelDictionaryStatus, type ModelKind } from "./model-dictionary";
7
+ export { ModelDictionaryAlias, type ModelAliasType } from "./model-dictionary-alias";
8
+ export { type MatchStatus, type MatchMethod, type MatchCandidate, type MatchMetadata, type AmbiguousMatchMetadata, type ResolvedMatchMetadata, type ModelMatchResult, type ModelMatchOverride } from "./model-match";
9
+ export { Notification } from "./notification";
10
+ export { AnalysisResult } from "./analysis.result";
11
+ export { type ProviderResponse, type ProviderResponseView, type ProviderResponseMetadata, type ProviderResponseMetrics, ProviderResponseStatus } from "./provider.response";
12
+ export { type ProviderRequest, type ProviderAuditRequest, type ProviderRequestMetadata, type ProviderEnvelope } from "./provider.request";
13
+ export { Application, type AccessLevel } from "./application";
14
+ export { FinishReason } from "./finish.reason";
15
+ export { HoloToken } from "./holo.token";
16
+ export { Organization } from "./organization";
17
+ export { Prompt } from "./prompt";
18
+ export { type Plugin } from "./plugin";
19
+ export { type Protocol, ProtocolCapability } from "./protocol";
20
+ export { type Server, ServerType } from "./server";
21
+ export { type PricingPlan, type PricingSheet, type PricingSheetModel, type ProviderResponseCost, type CostResult, PricingSource, CostType } from "./pricing";
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAC,eAAe,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAAC,oBAAoB,EAAE,KAAK,cAAc,E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ResponseStatus } from "./provider.response";
3
+ export { FinishReason } from "./finish.reason";
4
+ export { ProtocolCapability } from "./protocol";
5
+ export { ServerType } from "./server";
6
+ export { PricingSource, CostType } from "./pricing";
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAmBvB,OAAO,EAKH,sBAAsB,EACzB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAK7C,OAAO,EAAgB,kBAAkB,EAAC,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAc,UAAU,EAAC,MAAM,UAAU,CAAC;AACjD,OAAO,EAMH,aAAa,EACb,QAAQ,EACX,MAAM,WAAW,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { BaseEntity } from "./base";
2
+ export type ModelAliasType = 'official' | 'provider_api' | 'reseller' | 'runtime' | 'display' | 'shorthand' | 'legacy' | 'heuristic';
3
+ export interface ModelDictionaryAlias extends BaseEntity {
4
+ dictionary_id: string;
5
+ alias: string;
6
+ alias_normalized: string;
7
+ alias_type: ModelAliasType;
8
+ provider_family?: string;
9
+ runtime_family?: string;
10
+ source?: string;
11
+ source_key?: string;
12
+ weight: number;
13
+ active: boolean;
14
+ }
15
+ //# sourceMappingURL=model-dictionary-alias.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-dictionary-alias.d.ts","sourceRoot":"","sources":["../../src/entities/model-dictionary-alias.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;AAErI,MAAM,WAAW,oBAAqB,SAAQ,UAAU;IACpD,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,cAAc,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=model-dictionary-alias.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-dictionary-alias.js","sourceRoot":"","sources":["../../src/entities/model-dictionary-alias.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
1
+ import { BaseEntity } from "./base";
2
+ export type ModelDictionaryStatus = 'active' | 'preview' | 'deprecated' | 'shutdown';
3
+ export type ModelKind = 'chat' | 'completion' | 'reasoning' | 'embedding' | 'image' | 'audio' | 'moderation' | 'rerank' | 'transcription' | 'tts';
4
+ export interface ModelDictionary extends BaseEntity {
5
+ canonical_id: string;
6
+ canonical_id_normalized: string;
7
+ name: string;
8
+ normalized_name?: string;
9
+ family?: string;
10
+ provider_family: string;
11
+ version_label?: string;
12
+ variant?: string;
13
+ size_label?: string;
14
+ architecture_family?: string;
15
+ description?: string;
16
+ context_length?: number;
17
+ modality?: string;
18
+ input_modalities: string[];
19
+ output_modalities: string[];
20
+ supported_parameters: string[];
21
+ default_parameters: Record<string, any>;
22
+ capabilities: Record<string, unknown>;
23
+ tokenizer?: string;
24
+ kind: ModelKind;
25
+ status: ModelDictionaryStatus;
26
+ is_open_source?: boolean;
27
+ release_date?: string;
28
+ shutdown_date?: string;
29
+ base_input_cost?: number;
30
+ base_output_cost?: number;
31
+ base_cache_read_cost?: number;
32
+ base_cache_write_cost?: number;
33
+ aliases: string[];
34
+ sources: string[];
35
+ last_synced_at?: string;
36
+ }
37
+ //# sourceMappingURL=model-dictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-dictionary.d.ts","sourceRoot":"","sources":["../../src/entities/model-dictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AAErF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,QAAQ,GAAG,eAAe,GAAG,KAAK,CAAC;AAElJ,MAAM,WAAW,eAAgB,SAAQ,UAAU;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,uBAAuB,EAAE,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=model-dictionary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-dictionary.js","sourceRoot":"","sources":["../../src/entities/model-dictionary.ts"],"names":[],"mappings":""}
@@ -0,0 +1,56 @@
1
+ import { BaseEntity } from "./base";
2
+ export type MatchStatus = 'exact' | 'heuristic' | 'manual' | 'unmatched' | 'ambiguous';
3
+ export type MatchMethod = 'canonical_id' | 'dictionary_name' | 'alias_exact' | 'alias_provider_scoped' | 'alias_runtime_scoped' | 'date_stripped' | 'revision_stripped' | 'quantization_stripped' | 'channel_stripped' | 'structured_query' | 'override' | 'none';
4
+ export interface MatchCandidate {
5
+ dictionaryId: string;
6
+ canonicalId: string;
7
+ score: number;
8
+ }
9
+ interface BaseMatchMetadata {
10
+ overrideId?: string;
11
+ aliasId?: string;
12
+ dateStripped?: boolean;
13
+ hints?: Record<string, string>;
14
+ explanation?: string;
15
+ }
16
+ export interface AmbiguousMatchMetadata extends BaseMatchMetadata {
17
+ competingCandidates: MatchCandidate[];
18
+ }
19
+ export interface ResolvedMatchMetadata extends BaseMatchMetadata {
20
+ competingCandidates?: MatchCandidate[];
21
+ }
22
+ export type MatchMetadata = AmbiguousMatchMetadata | ResolvedMatchMetadata;
23
+ interface BaseModelMatchResult {
24
+ method: MatchMethod;
25
+ confidence: number;
26
+ normalizedInput: string;
27
+ candidateIds: string[];
28
+ explanation?: string;
29
+ }
30
+ interface AmbiguousModelMatchResult extends BaseModelMatchResult {
31
+ status: 'ambiguous';
32
+ dictionaryId?: string;
33
+ canonicalId?: string;
34
+ matchMetadata: AmbiguousMatchMetadata;
35
+ }
36
+ interface ResolvedModelMatchResult extends BaseModelMatchResult {
37
+ status: 'exact' | 'heuristic' | 'manual' | 'unmatched';
38
+ dictionaryId?: string;
39
+ canonicalId?: string;
40
+ matchMetadata?: ResolvedMatchMetadata;
41
+ }
42
+ export type ModelMatchResult = AmbiguousModelMatchResult | ResolvedModelMatchResult;
43
+ export interface ModelMatchOverride extends BaseEntity {
44
+ organization_id?: string;
45
+ source_type: string;
46
+ source_key?: string;
47
+ provider_id?: string;
48
+ raw_name: string;
49
+ normalized_name: string;
50
+ dictionary_id: string;
51
+ reason?: string;
52
+ active: boolean;
53
+ created_by?: string;
54
+ }
55
+ export {};
56
+ //# sourceMappingURL=model-match.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-match.d.ts","sourceRoot":"","sources":["../../src/entities/model-match.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;AAEvF,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,iBAAiB,GAAG,aAAa,GACtE,uBAAuB,GAAG,sBAAsB,GAAG,eAAe,GAClE,mBAAmB,GAAG,uBAAuB,GAAG,kBAAkB,GAClE,kBAAkB,GAAG,UAAU,GAAG,MAAM,CAAC;AAE/C,MAAM,WAAW,cAAc;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,iBAAiB;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAA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CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=model-match.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-match.js","sourceRoot":"","sources":["../../src/entities/model-match.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ import { BaseEntity } from "./base";
2
+ import { MatchMetadata, MatchMethod, MatchStatus } from "./model-match";
3
+ export interface Model extends BaseEntity {
4
+ name: string;
5
+ access_model?: string;
6
+ provider_id: string;
7
+ organization_id: string;
8
+ version: string;
9
+ description?: string;
10
+ context_length?: number;
11
+ modality?: string;
12
+ input_modalities: string[];
13
+ output_modalities: string[];
14
+ supported_parameters: string[];
15
+ parameters: Record<string, any>;
16
+ metadata: Record<string, any>;
17
+ pricing_per_tokens?: Record<string, any>;
18
+ benchmarks?: Record<string, any>;
19
+ customization?: Record<string, any>;
20
+ enabled: boolean;
21
+ available: boolean;
22
+ deleted: boolean;
23
+ dictionary_id?: string;
24
+ raw_name?: string;
25
+ normalized_name?: string;
26
+ match_status?: MatchStatus;
27
+ match_confidence?: number;
28
+ match_method?: MatchMethod;
29
+ match_metadata?: MatchMetadata;
30
+ matched_at?: string;
31
+ source_type?: string;
32
+ source_key?: string;
33
+ family_detected?: string;
34
+ active: boolean;
35
+ }
36
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/entities/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,WAAW,EAAC,MAAM,eAAe,CAAC;AAE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CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/entities/model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ export interface Notification {
2
+ id: string;
3
+ ts: number;
4
+ organization_id: string;
5
+ app_slug: string;
6
+ user_id: string | null;
7
+ thread_id: string | null;
8
+ request_id: string | null;
9
+ branch_id: string | null;
10
+ type: string;
11
+ severity: string;
12
+ message: string;
13
+ payload: any | null;
14
+ }
15
+ //# sourceMappingURL=notification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/entities/notification.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/entities/notification.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { BaseEntity } from "./base";
2
+ export interface Organization extends BaseEntity {
3
+ name: string;
4
+ slug: string;
5
+ description?: string;
6
+ domain: string;
7
+ settings?: Record<string, any>;
8
+ subscription_tier: string;
9
+ max_users: number;
10
+ max_applications: number;
11
+ max_monthly_requests: number;
12
+ active: boolean;
13
+ timezone: string;
14
+ tenant_id?: string;
15
+ byok_enabled: boolean;
16
+ }
17
+ //# sourceMappingURL=organization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/entities/organization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC,MAAM,WAAW,YAAa,SAAQ,UAAU;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACzB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=organization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/entities/organization.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { BaseEntity } from "./base";
2
+ import { PluginType } from "../plugin";
3
+ export interface Plugin extends BaseEntity {
4
+ family: string;
5
+ name: string;
6
+ type: PluginType;
7
+ version: string;
8
+ is_default: boolean;
9
+ default_pricing_plan_id?: string;
10
+ active: boolean;
11
+ }
12
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/entities/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,UAAU,EAAC,MAAM,WAAW,CAAC;AAErC,MAAM,WAAW,MAAO,SAAQ,UAAU;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,MAAM,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/entities/plugin.ts"],"names":[],"mappings":""}