@smarter.sh/api 0.0.0-stage → 1.0.2-alpha.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 (251) hide show
  1. package/LICENSE.txt +671 -0
  2. package/README.md +193 -2
  3. package/dist/client.d.ts +146 -0
  4. package/dist/client.d.ts.map +1 -0
  5. package/dist/client.js +178 -0
  6. package/dist/client.js.map +1 -0
  7. package/dist/core/config.d.ts +148 -0
  8. package/dist/core/config.d.ts.map +1 -0
  9. package/dist/core/config.js +212 -0
  10. package/dist/core/config.js.map +1 -0
  11. package/dist/core/errors.d.ts +189 -0
  12. package/dist/core/errors.d.ts.map +1 -0
  13. package/dist/core/errors.js +187 -0
  14. package/dist/core/errors.js.map +1 -0
  15. package/dist/core/http.d.ts +207 -0
  16. package/dist/core/http.d.ts.map +1 -0
  17. package/dist/core/http.js +456 -0
  18. package/dist/core/http.js.map +1 -0
  19. package/dist/core/log.d.ts +62 -0
  20. package/dist/core/log.d.ts.map +1 -0
  21. package/dist/core/log.js +68 -0
  22. package/dist/core/log.js.map +1 -0
  23. package/dist/core/sse.d.ts +38 -0
  24. package/dist/core/sse.d.ts.map +1 -0
  25. package/dist/core/sse.js +79 -0
  26. package/dist/core/sse.js.map +1 -0
  27. package/dist/core/typing.d.ts +21 -0
  28. package/dist/core/typing.d.ts.map +1 -0
  29. package/dist/core/typing.js +13 -0
  30. package/dist/core/typing.js.map +1 -0
  31. package/dist/index.d.ts +51 -0
  32. package/dist/index.d.ts.map +1 -0
  33. package/dist/index.js +51 -0
  34. package/dist/index.js.map +1 -0
  35. package/dist/models/account.d.ts +112 -0
  36. package/dist/models/account.d.ts.map +1 -0
  37. package/dist/models/account.js +55 -0
  38. package/dist/models/account.js.map +1 -0
  39. package/dist/models/base.d.ts +99 -0
  40. package/dist/models/base.d.ts.map +1 -0
  41. package/dist/models/base.js +111 -0
  42. package/dist/models/base.js.map +1 -0
  43. package/dist/models/chat.d.ts +2243 -0
  44. package/dist/models/chat.d.ts.map +1 -0
  45. package/dist/models/chat.js +451 -0
  46. package/dist/models/chat.js.map +1 -0
  47. package/dist/models/guardrail.d.ts +109 -0
  48. package/dist/models/guardrail.d.ts.map +1 -0
  49. package/dist/models/guardrail.js +68 -0
  50. package/dist/models/guardrail.js.map +1 -0
  51. package/dist/models/journal.d.ts +159 -0
  52. package/dist/models/journal.d.ts.map +1 -0
  53. package/dist/models/journal.js +115 -0
  54. package/dist/models/journal.js.map +1 -0
  55. package/dist/models/llmclient.d.ts +183 -0
  56. package/dist/models/llmclient.d.ts.map +1 -0
  57. package/dist/models/llmclient.js +105 -0
  58. package/dist/models/llmclient.js.map +1 -0
  59. package/dist/models/llmhost.d.ts +121 -0
  60. package/dist/models/llmhost.d.ts.map +1 -0
  61. package/dist/models/llmhost.js +79 -0
  62. package/dist/models/llmhost.js.map +1 -0
  63. package/dist/models/manifest.d.ts +211 -0
  64. package/dist/models/manifest.d.ts.map +1 -0
  65. package/dist/models/manifest.js +290 -0
  66. package/dist/models/manifest.js.map +1 -0
  67. package/dist/models/mcpclient.d.ts +99 -0
  68. package/dist/models/mcpclient.d.ts.map +1 -0
  69. package/dist/models/mcpclient.js +65 -0
  70. package/dist/models/mcpclient.js.map +1 -0
  71. package/dist/models/misc.d.ts +232 -0
  72. package/dist/models/misc.d.ts.map +1 -0
  73. package/dist/models/misc.js +110 -0
  74. package/dist/models/misc.js.map +1 -0
  75. package/dist/models/platform.d.ts +88 -0
  76. package/dist/models/platform.d.ts.map +1 -0
  77. package/dist/models/platform.js +35 -0
  78. package/dist/models/platform.js.map +1 -0
  79. package/dist/models/plugin.d.ts +36 -0
  80. package/dist/models/plugin.d.ts.map +1 -0
  81. package/dist/models/plugin.js +16 -0
  82. package/dist/models/plugin.js.map +1 -0
  83. package/dist/models/react.d.ts +104 -0
  84. package/dist/models/react.d.ts.map +1 -0
  85. package/dist/models/react.js +136 -0
  86. package/dist/models/react.js.map +1 -0
  87. package/dist/models/sam/account.d.ts +155 -0
  88. package/dist/models/sam/account.d.ts.map +1 -0
  89. package/dist/models/sam/account.js +7 -0
  90. package/dist/models/sam/account.js.map +1 -0
  91. package/dist/models/sam/apiconnection.d.ts +147 -0
  92. package/dist/models/sam/apiconnection.d.ts.map +1 -0
  93. package/dist/models/sam/apiconnection.js +7 -0
  94. package/dist/models/sam/apiconnection.js.map +1 -0
  95. package/dist/models/sam/apiplugin.d.ts +278 -0
  96. package/dist/models/sam/apiplugin.d.ts.map +1 -0
  97. package/dist/models/sam/apiplugin.js +7 -0
  98. package/dist/models/sam/apiplugin.js.map +1 -0
  99. package/dist/models/sam/budget.d.ts +219 -0
  100. package/dist/models/sam/budget.d.ts.map +1 -0
  101. package/dist/models/sam/budget.js +7 -0
  102. package/dist/models/sam/budget.js.map +1 -0
  103. package/dist/models/sam/customdomain.d.ts +139 -0
  104. package/dist/models/sam/customdomain.d.ts.map +1 -0
  105. package/dist/models/sam/customdomain.js +7 -0
  106. package/dist/models/sam/customdomain.js.map +1 -0
  107. package/dist/models/sam/guardrail.d.ts +222 -0
  108. package/dist/models/sam/guardrail.d.ts.map +1 -0
  109. package/dist/models/sam/guardrail.js +7 -0
  110. package/dist/models/sam/guardrail.js.map +1 -0
  111. package/dist/models/sam/imagesearchplugin.d.ts +235 -0
  112. package/dist/models/sam/imagesearchplugin.d.ts.map +1 -0
  113. package/dist/models/sam/imagesearchplugin.js +7 -0
  114. package/dist/models/sam/imagesearchplugin.js.map +1 -0
  115. package/dist/models/sam/index.d.ts +104 -0
  116. package/dist/models/sam/index.d.ts.map +1 -0
  117. package/dist/models/sam/index.js +50 -0
  118. package/dist/models/sam/index.js.map +1 -0
  119. package/dist/models/sam/llmclient.d.ts +490 -0
  120. package/dist/models/sam/llmclient.d.ts.map +1 -0
  121. package/dist/models/sam/llmclient.js +7 -0
  122. package/dist/models/sam/llmclient.js.map +1 -0
  123. package/dist/models/sam/llmhost.d.ts +429 -0
  124. package/dist/models/sam/llmhost.d.ts.map +1 -0
  125. package/dist/models/sam/llmhost.js +7 -0
  126. package/dist/models/sam/llmhost.js.map +1 -0
  127. package/dist/models/sam/llmhostcompute.d.ts +221 -0
  128. package/dist/models/sam/llmhostcompute.d.ts.map +1 -0
  129. package/dist/models/sam/llmhostcompute.js +7 -0
  130. package/dist/models/sam/llmhostcompute.js.map +1 -0
  131. package/dist/models/sam/mcpclient.d.ts +195 -0
  132. package/dist/models/sam/mcpclient.d.ts.map +1 -0
  133. package/dist/models/sam/mcpclient.js +7 -0
  134. package/dist/models/sam/mcpclient.js.map +1 -0
  135. package/dist/models/sam/orchestrator.d.ts +163 -0
  136. package/dist/models/sam/orchestrator.d.ts.map +1 -0
  137. package/dist/models/sam/orchestrator.js +7 -0
  138. package/dist/models/sam/orchestrator.js.map +1 -0
  139. package/dist/models/sam/plugin.d.ts +163 -0
  140. package/dist/models/sam/plugin.d.ts.map +1 -0
  141. package/dist/models/sam/plugin.js +7 -0
  142. package/dist/models/sam/plugin.js.map +1 -0
  143. package/dist/models/sam/prompt.d.ts +116 -0
  144. package/dist/models/sam/prompt.d.ts.map +1 -0
  145. package/dist/models/sam/prompt.js +7 -0
  146. package/dist/models/sam/prompt.js.map +1 -0
  147. package/dist/models/sam/provider.d.ts +195 -0
  148. package/dist/models/sam/provider.d.ts.map +1 -0
  149. package/dist/models/sam/provider.js +7 -0
  150. package/dist/models/sam/provider.js.map +1 -0
  151. package/dist/models/sam/proxy.d.ts +163 -0
  152. package/dist/models/sam/proxy.d.ts.map +1 -0
  153. package/dist/models/sam/proxy.js +7 -0
  154. package/dist/models/sam/proxy.js.map +1 -0
  155. package/dist/models/sam/schemas.d.ts +8 -0
  156. package/dist/models/sam/schemas.d.ts.map +1 -0
  157. package/dist/models/sam/schemas.js +6059 -0
  158. package/dist/models/sam/schemas.js.map +1 -0
  159. package/dist/models/sam/secret.d.ts +123 -0
  160. package/dist/models/sam/secret.d.ts.map +1 -0
  161. package/dist/models/sam/secret.js +7 -0
  162. package/dist/models/sam/secret.js.map +1 -0
  163. package/dist/models/sam/skillplugin.d.ts +181 -0
  164. package/dist/models/sam/skillplugin.d.ts.map +1 -0
  165. package/dist/models/sam/skillplugin.js +7 -0
  166. package/dist/models/sam/skillplugin.js.map +1 -0
  167. package/dist/models/sam/smarterauthtoken.d.ts +115 -0
  168. package/dist/models/sam/smarterauthtoken.d.ts.map +1 -0
  169. package/dist/models/sam/smarterauthtoken.js +7 -0
  170. package/dist/models/sam/smarterauthtoken.js.map +1 -0
  171. package/dist/models/sam/sqlconnection.d.ts +187 -0
  172. package/dist/models/sam/sqlconnection.d.ts.map +1 -0
  173. package/dist/models/sam/sqlconnection.js +7 -0
  174. package/dist/models/sam/sqlconnection.js.map +1 -0
  175. package/dist/models/sam/sqlplugin.d.ts +232 -0
  176. package/dist/models/sam/sqlplugin.d.ts.map +1 -0
  177. package/dist/models/sam/sqlplugin.js +7 -0
  178. package/dist/models/sam/sqlplugin.js.map +1 -0
  179. package/dist/models/sam/user.d.ts +135 -0
  180. package/dist/models/sam/user.d.ts.map +1 -0
  181. package/dist/models/sam/user.js +7 -0
  182. package/dist/models/sam/user.js.map +1 -0
  183. package/dist/models/sam/vectorsearch.d.ts +150 -0
  184. package/dist/models/sam/vectorsearch.d.ts.map +1 -0
  185. package/dist/models/sam/vectorsearch.js +7 -0
  186. package/dist/models/sam/vectorsearch.js.map +1 -0
  187. package/dist/models/sam/vectorstore.d.ts +291 -0
  188. package/dist/models/sam/vectorstore.d.ts.map +1 -0
  189. package/dist/models/sam/vectorstore.js +7 -0
  190. package/dist/models/sam/vectorstore.js.map +1 -0
  191. package/dist/models/sam/websearchplugin.d.ts +229 -0
  192. package/dist/models/sam/websearchplugin.d.ts.map +1 -0
  193. package/dist/models/sam/websearchplugin.js +7 -0
  194. package/dist/models/sam/websearchplugin.js.map +1 -0
  195. package/dist/models/vectorstore.d.ts +165 -0
  196. package/dist/models/vectorstore.d.ts.map +1 -0
  197. package/dist/models/vectorstore.js +90 -0
  198. package/dist/models/vectorstore.js.map +1 -0
  199. package/dist/resources/accounts.d.ts +107 -0
  200. package/dist/resources/accounts.d.ts.map +1 -0
  201. package/dist/resources/accounts.js +84 -0
  202. package/dist/resources/accounts.js.map +1 -0
  203. package/dist/resources/base.d.ts +127 -0
  204. package/dist/resources/base.d.ts.map +1 -0
  205. package/dist/resources/base.js +139 -0
  206. package/dist/resources/base.js.map +1 -0
  207. package/dist/resources/catalog.d.ts +209 -0
  208. package/dist/resources/catalog.d.ts.map +1 -0
  209. package/dist/resources/catalog.js +124 -0
  210. package/dist/resources/catalog.js.map +1 -0
  211. package/dist/resources/guardrails.d.ts +82 -0
  212. package/dist/resources/guardrails.d.ts.map +1 -0
  213. package/dist/resources/guardrails.js +46 -0
  214. package/dist/resources/guardrails.js.map +1 -0
  215. package/dist/resources/history.d.ts +97 -0
  216. package/dist/resources/history.d.ts.map +1 -0
  217. package/dist/resources/history.js +109 -0
  218. package/dist/resources/history.js.map +1 -0
  219. package/dist/resources/llmclients.d.ts +348 -0
  220. package/dist/resources/llmclients.d.ts.map +1 -0
  221. package/dist/resources/llmclients.js +367 -0
  222. package/dist/resources/llmclients.js.map +1 -0
  223. package/dist/resources/llmhosts.d.ts +146 -0
  224. package/dist/resources/llmhosts.d.ts.map +1 -0
  225. package/dist/resources/llmhosts.js +128 -0
  226. package/dist/resources/llmhosts.js.map +1 -0
  227. package/dist/resources/manifests.d.ts +153 -0
  228. package/dist/resources/manifests.d.ts.map +1 -0
  229. package/dist/resources/manifests.js +203 -0
  230. package/dist/resources/manifests.js.map +1 -0
  231. package/dist/resources/mcpclients.d.ts +90 -0
  232. package/dist/resources/mcpclients.d.ts.map +1 -0
  233. package/dist/resources/mcpclients.js +57 -0
  234. package/dist/resources/mcpclients.js.map +1 -0
  235. package/dist/resources/providers.d.ts +33 -0
  236. package/dist/resources/providers.d.ts.map +1 -0
  237. package/dist/resources/providers.js +39 -0
  238. package/dist/resources/providers.js.map +1 -0
  239. package/dist/resources/proxies.d.ts +61 -0
  240. package/dist/resources/proxies.d.ts.map +1 -0
  241. package/dist/resources/proxies.js +57 -0
  242. package/dist/resources/proxies.js.map +1 -0
  243. package/dist/resources/vectorstores.d.ts +194 -0
  244. package/dist/resources/vectorstores.d.ts.map +1 -0
  245. package/dist/resources/vectorstores.js +200 -0
  246. package/dist/resources/vectorstores.js.map +1 -0
  247. package/dist/version.d.ts +3 -0
  248. package/dist/version.d.ts.map +1 -0
  249. package/dist/version.js +5 -0
  250. package/dist/version.js.map +1 -0
  251. package/package.json +81 -4
@@ -0,0 +1,116 @@
1
+ /**
2
+ * The SAM type of the `Prompt` kind, generated from the Smarter platform's JSON Schema.
3
+ *
4
+ * Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
5
+ */
6
+ /**
7
+ * Smarter API Manifest - Prompt.
8
+ */
9
+ export interface SAMPrompt {
10
+ /**
11
+ * apiVersion[String]: Required. The API version of the AbstractSAMBase.
12
+ */
13
+ apiVersion: string;
14
+ /**
15
+ * kind[String]: Required. The kind of resource described by the manifest.
16
+ */
17
+ kind: string;
18
+ metadata: SAMPromptMetadata;
19
+ spec: SAMPromptSpecConfig;
20
+ /**
21
+ * Prompt.status[obj]: Optional, Read-only. Stateful status information about the Prompt.
22
+ */
23
+ status?: SAMPromptStatus | null;
24
+ [k: string]: unknown | undefined;
25
+ }
26
+ /**
27
+ * Prompt.metadata[obj]: Required, the Prompt metadata.
28
+ */
29
+ export interface SAMPromptMetadata {
30
+ /**
31
+ * Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter platform. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
32
+ */
33
+ annotations?: {
34
+ [k: string]: string | undefined;
35
+ } | null;
36
+ /**
37
+ * The description for this resource. Be brief. Keep it under 255 characters.
38
+ */
39
+ description: string | null;
40
+ /**
41
+ * The camelCase name of the manifest resource
42
+ */
43
+ name: string;
44
+ /**
45
+ * The tags of the manifest. Used for generic resource categorization and search. Example: ['tag1', 'tag2']
46
+ */
47
+ tags?: string[] | null;
48
+ /**
49
+ * The semantic version of the manifest. Example: 0.1.0
50
+ */
51
+ version: string | null;
52
+ [k: string]: unknown | undefined;
53
+ }
54
+ /**
55
+ * Prompt.spec[obj]: Required, the Prompt specification.
56
+ */
57
+ export interface SAMPromptSpecConfig {
58
+ /**
59
+ * Prompt.spec.configuration.ipAddress[str]. Read only. The IP address of the client that started the chat session.
60
+ */
61
+ ipAddress?: string | null;
62
+ /**
63
+ * Prompt.spec.configuration.llmclient[str]. Read only. The name of the LLMClient of the chat session.
64
+ */
65
+ llmclient?: string | null;
66
+ /**
67
+ * Prompt.spec.configuration.sessionKey[str]. Read only. The session key of the Prompt's chat session.
68
+ */
69
+ sessionKey?: string | null;
70
+ /**
71
+ * Prompt.spec.configuration.url[str]. Read only. The url at which the chat session was started.
72
+ */
73
+ url?: string | null;
74
+ /**
75
+ * Prompt.spec.configuration.userAgent[str]. Read only. The user agent of the client that started the chat session.
76
+ */
77
+ userAgent?: string | null;
78
+ [k: string]: unknown | undefined;
79
+ }
80
+ /**
81
+ * Smarter API Prompt Manifest - Status class.
82
+ */
83
+ export interface SAMPromptStatus {
84
+ /**
85
+ * The date in which this resource was created. Read only.
86
+ */
87
+ created: string;
88
+ /**
89
+ * dependencies[List]: The resources that depend on this resource, and that must be deleted, or stop referring to it, before it can be deleted. Lists only the resources that you can read. Read only.
90
+ */
91
+ dependencies?: SAMDependency[] | null;
92
+ /**
93
+ * The date in which this resource was most recently changed. Read only.
94
+ */
95
+ modified: string;
96
+ /**
97
+ * recordLocator[String]: An optional identifier used to locate the resource record associated with this manifest. Read only.
98
+ */
99
+ recordLocator: string;
100
+ [k: string]: unknown | undefined;
101
+ }
102
+ /**
103
+ * A resource that depends on the resource that a manifest describes.
104
+ */
105
+ export interface SAMDependency {
106
+ /**
107
+ * kind[String]: The SAM kind of the resource that depends on this resource, e.g. LLMClient. Read only.
108
+ */
109
+ kind: string;
110
+ /**
111
+ * name[String]: The name of the resource that depends on this resource. Read only.
112
+ */
113
+ name: string;
114
+ [k: string]: unknown | undefined;
115
+ }
116
+ //# sourceMappingURL=prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../src/models/sam/prompt.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,IAAI,EAAE,mBAAmB,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;KACjC,GAAG,IAAI,CAAC;IACT;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The SAM type of the `Prompt` kind, generated from the Smarter platform's JSON Schema.
3
+ *
4
+ * Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=prompt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../../src/models/sam/prompt.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,195 @@
1
+ /**
2
+ * The SAM type of the `Provider` kind, generated from the Smarter platform's JSON Schema.
3
+ *
4
+ * Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
5
+ */
6
+ /**
7
+ * Smarter API Manifest - Account
8
+ */
9
+ export interface SAMProvider {
10
+ /**
11
+ * apiVersion[String]: Required. The API version of the AbstractSAMBase.
12
+ */
13
+ apiVersion: string;
14
+ /**
15
+ * kind[String]: Required. The kind of resource described by the manifest.
16
+ */
17
+ kind: string;
18
+ metadata: SAMProviderMetadata;
19
+ spec: SAMProviderSpec;
20
+ /**
21
+ * Provider.status[obj]: Optional, Read-only. Stateful status information about the Provider.
22
+ */
23
+ status?: SAMProviderStatus | null;
24
+ [k: string]: unknown | undefined;
25
+ }
26
+ /**
27
+ * Provider.metadata[obj]: Required, the Provider metadata.
28
+ */
29
+ export interface SAMProviderMetadata {
30
+ /**
31
+ * Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter platform. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
32
+ */
33
+ annotations?: {
34
+ [k: string]: string | undefined;
35
+ } | null;
36
+ /**
37
+ * The description for this resource. Be brief. Keep it under 255 characters.
38
+ */
39
+ description: string | null;
40
+ /**
41
+ * The camelCase name of the manifest resource
42
+ */
43
+ name: string;
44
+ /**
45
+ * The tags of the manifest. Used for generic resource categorization and search. Example: ['tag1', 'tag2']
46
+ */
47
+ tags?: string[] | null;
48
+ /**
49
+ * The semantic version of the manifest. Example: 0.1.0
50
+ */
51
+ version: string | null;
52
+ [k: string]: unknown | undefined;
53
+ }
54
+ /**
55
+ * Provider.spec[obj]: Required, the Provider specification.
56
+ */
57
+ export interface SAMProviderSpec {
58
+ provider: SAMProviderSpecProvider;
59
+ [k: string]: unknown | undefined;
60
+ }
61
+ /**
62
+ * Provider.spec.selector[obj]: the spec for the Provider
63
+ */
64
+ export interface SAMProviderSpecProvider {
65
+ /**
66
+ * The name of the Smarter Secret containing the API key to use for verification tests.
67
+ */
68
+ api_key?: string | null;
69
+ /**
70
+ * The base URL for the Provider's API.
71
+ */
72
+ base_url?: string | null;
73
+ /**
74
+ * The URL path to test connectivity with the Provider's API.
75
+ */
76
+ connectivity_test_path?: string | null;
77
+ /**
78
+ * The contact email of the Provider.
79
+ */
80
+ contact_email?: string | null;
81
+ /**
82
+ * A brief description of the Provider.
83
+ */
84
+ description?: string | null;
85
+ /**
86
+ * The documentation URL of the Provider.
87
+ */
88
+ docs_url?: string | null;
89
+ /**
90
+ * The logo of the Provider.
91
+ */
92
+ logo?: string | null;
93
+ /**
94
+ * The name of the Provider. Case sensitive. Must be unique and not empty, with no leading or trailing whitespace and no special characters. examples: 'OpenAI', 'GoogleAI', 'MetaAI'.
95
+ */
96
+ name: string;
97
+ /**
98
+ * The privacy policy URL of the Provider.
99
+ */
100
+ privacy_policy_url?: string | null;
101
+ /**
102
+ * The support email of the Provider.
103
+ */
104
+ support_email?: string | null;
105
+ /**
106
+ * The terms of service URL of the Provider.
107
+ */
108
+ terms_of_service_url?: string | null;
109
+ /**
110
+ * The website_url URL of the Provider.
111
+ */
112
+ website_url?: string | null;
113
+ [k: string]: unknown | undefined;
114
+ }
115
+ /**
116
+ * Smarter API Provider Manifest - Status class.
117
+ */
118
+ export interface SAMProviderStatus {
119
+ /**
120
+ * Provider.status.can_activate: Indicates whether this Provider can be activated. Read only.
121
+ */
122
+ can_activate?: boolean;
123
+ /**
124
+ * Provider.status.contact_email_verified: The date in which the contact email for this Provider was verified. Read only.
125
+ */
126
+ contact_email_verified?: string | null;
127
+ /**
128
+ * The date in which this resource was created. Read only.
129
+ */
130
+ created: string;
131
+ /**
132
+ * dependencies[List]: The resources that depend on this resource, and that must be deleted, or stop referring to it, before it can be deleted. Lists only the resources that you can read. Read only.
133
+ */
134
+ dependencies?: SAMDependency[] | null;
135
+ /**
136
+ * Provider.status.is_active: Indicates whether this Provider is currently active. Read only.
137
+ */
138
+ is_active: boolean;
139
+ /**
140
+ * Provider.status.is_deprecated: Indicates whether this Provider is deprecated. Read only.
141
+ */
142
+ is_deprecated: boolean;
143
+ /**
144
+ * Provider.status.is_flagged: Indicates whether this Provider has been flagged for review. Read only.
145
+ */
146
+ is_flagged: boolean;
147
+ /**
148
+ * Provider.status.is_suspended: Indicates whether this Provider is currently suspended. Read only.
149
+ */
150
+ is_suspended: boolean;
151
+ /**
152
+ * Provider.status.is_verified: Indicates whether this Provider has been verified. Read only.
153
+ */
154
+ is_verified: boolean;
155
+ /**
156
+ * The date in which this resource was most recently changed. Read only.
157
+ */
158
+ modified: string;
159
+ /**
160
+ * Provider.status.ownership_requested: The Smarter user that has requested ownership of this Provider. Read only.
161
+ */
162
+ ownership_requested?: string | null;
163
+ /**
164
+ * recordLocator[String]: An optional identifier used to locate the resource record associated with this manifest. Read only.
165
+ */
166
+ recordLocator: string;
167
+ /**
168
+ * Provider.status.support_email_verified: The date in which the support email for this Provider was verified. Read only.
169
+ */
170
+ support_email_verified?: string | null;
171
+ /**
172
+ * Provider.status.tos_accepted_at: The date in which the Terms of Service for this Provider were accepted. Read only.
173
+ */
174
+ tos_accepted_at?: string | null;
175
+ /**
176
+ * Provider.status.tos_accepted_by: The Smarter user that accepted the Terms of Service for this Provider. Read only.
177
+ */
178
+ tos_accepted_by?: string | null;
179
+ [k: string]: unknown | undefined;
180
+ }
181
+ /**
182
+ * A resource that depends on the resource that a manifest describes.
183
+ */
184
+ export interface SAMDependency {
185
+ /**
186
+ * kind[String]: The SAM kind of the resource that depends on this resource, e.g. LLMClient. Read only.
187
+ */
188
+ kind: string;
189
+ /**
190
+ * name[String]: The name of the resource that depends on this resource. Read only.
191
+ */
192
+ name: string;
193
+ [k: string]: unknown | undefined;
194
+ }
195
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.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EG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The SAM type of the `Provider` kind, generated from the Smarter platform's JSON Schema.
3
+ *
4
+ * Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/models/sam/provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,163 @@
1
+ /**
2
+ * The SAM type of the `Proxy` kind, generated from the Smarter platform's JSON Schema.
3
+ *
4
+ * Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
5
+ */
6
+ /**
7
+ * Smarter API Manifest - Proxy.
8
+ */
9
+ export interface SAMProxy {
10
+ /**
11
+ * apiVersion[String]: Required. The API version of the AbstractSAMBase.
12
+ */
13
+ apiVersion: string;
14
+ /**
15
+ * kind[String]: Required. The kind of resource described by the manifest.
16
+ */
17
+ kind: string;
18
+ metadata: SAMProxyMetadata;
19
+ spec: SAMProxySpec;
20
+ /**
21
+ * Proxy.status[obj]: Optional, Read-only. Stateful status information about the Proxy.
22
+ */
23
+ status?: SAMProxyStatus | null;
24
+ [k: string]: unknown | undefined;
25
+ }
26
+ /**
27
+ * Proxy.metadata[obj]: Required, the Proxy metadata.
28
+ */
29
+ export interface SAMProxyMetadata {
30
+ /**
31
+ * Annotations, as in Kubernetes: a map of keys to string values that clients and integrations attach to a resource for their own purposes, e.g. to associate it with a resource in another system. A key is an optional DNS-subdomain prefix that names its owner, then a slash and a name of one or more slash-separated segments, e.g. 'acme.com/crm-account-id'. The prefix 'smarter.sh' and its subdomains are reserved for the Smarter platform. Values are strings: unquoted YAML scalars such as true, 42 or dates are converted to strings, and structured data belongs in a JSON string. All annotations together are limited to 256 KiB. The list of one-key maps of older manifests, e.g. [{'acme.com/crm-account-id': 'A-10042'}], is also accepted.
32
+ */
33
+ annotations?: {
34
+ [k: string]: string | undefined;
35
+ } | null;
36
+ /**
37
+ * The description for this resource. Be brief. Keep it under 255 characters.
38
+ */
39
+ description: string | null;
40
+ /**
41
+ * The camelCase name of the manifest resource
42
+ */
43
+ name: string;
44
+ /**
45
+ * The tags of the manifest. Used for generic resource categorization and search. Example: ['tag1', 'tag2']
46
+ */
47
+ tags?: string[] | null;
48
+ /**
49
+ * The semantic version of the manifest. Example: 0.1.0
50
+ */
51
+ version: string | null;
52
+ [k: string]: unknown | undefined;
53
+ }
54
+ /**
55
+ * Proxy.spec[obj]: Required, the Proxy specification.
56
+ */
57
+ export interface SAMProxySpec {
58
+ /**
59
+ * Proxy.spec.allowedPaths[list]: glob patterns of the paths, relative to baseUrl, that callers may use, e.g. chat/completions or models/*. Empty allows every path.
60
+ */
61
+ allowedPaths?: string[];
62
+ /**
63
+ * Proxy.spec.apiKey[str]: the name of the Secret that contains the provider's API key. It must belong to, or be shared with, the manifest's owner. Defaults to the Provider's API key.
64
+ */
65
+ apiKey?: string | null;
66
+ auth?: SAMProxySpecAuth;
67
+ /**
68
+ * Proxy.spec.baseUrl[str]: the base URL of the provider's API, e.g. https://api.openai.com/v1/. Defaults to the Provider's base URL.
69
+ */
70
+ baseUrl?: string | null;
71
+ /**
72
+ * Proxy.spec.headers[dict]: other HTTP headers that are added to every request, e.g. anthropic-version. They replace the caller's headers of the same name.
73
+ */
74
+ headers?: {
75
+ [k: string]: string | undefined;
76
+ };
77
+ /**
78
+ * Proxy.spec.isActive[bool]: inactive Proxy refuse every request.
79
+ */
80
+ isActive?: boolean;
81
+ /**
82
+ * Proxy.spec.provider[str]: the name of the Provider whose API the Proxy forwards to, e.g. openai. It must belong to, or be shared with, the manifest's owner.
83
+ */
84
+ provider: string;
85
+ /**
86
+ * Proxy.spec.timeout[int]: the most seconds to wait for the provider's response.
87
+ */
88
+ timeout?: number;
89
+ [k: string]: unknown | undefined;
90
+ }
91
+ /**
92
+ * Proxy.spec.auth[object]: how the provider expects its API key. Defaults to Authorization: Bearer.
93
+ */
94
+ export interface SAMProxySpecAuth {
95
+ /**
96
+ * Proxy.spec.auth.header[str]: the HTTP header in which the provider expects its API key, e.g. Authorization (OpenAI), x-api-key (Anthropic) or x-goog-api-key (Google Gemini).
97
+ */
98
+ header?: string;
99
+ /**
100
+ * Proxy.spec.auth.scheme[str]: the prefix of the API key in the header, e.g. Bearer. Empty or null for none, e.g. for x-api-key.
101
+ */
102
+ scheme?: string | null;
103
+ [k: string]: unknown | undefined;
104
+ }
105
+ /**
106
+ * Smarter API Proxy Manifest - Status class.
107
+ *
108
+ * Read only. Besides ownership, it reports where the Proxy is, and where it forwards to.
109
+ */
110
+ export interface SAMProxyStatus {
111
+ /**
112
+ * Proxy.status.accountNumber: The account owner of this Proxy. Read only.
113
+ */
114
+ accountNumber: string;
115
+ /**
116
+ * Proxy.status.apiKeySecret: The name of the Secret whose API key is added to requests: spec.apiKey, else the Provider's. None if there is none. Read only.
117
+ */
118
+ apiKeySecret?: string | null;
119
+ /**
120
+ * The date in which this resource was created. Read only.
121
+ */
122
+ created: string;
123
+ /**
124
+ * dependencies[List]: The resources that depend on this resource, and that must be deleted, or stop referring to it, before it can be deleted. Lists only the resources that you can read. Read only.
125
+ */
126
+ dependencies?: SAMDependency[] | null;
127
+ /**
128
+ * The date in which this resource was most recently changed. Read only.
129
+ */
130
+ modified: string;
131
+ /**
132
+ * recordLocator[String]: An optional identifier used to locate the resource record associated with this manifest. Read only.
133
+ */
134
+ recordLocator: string;
135
+ /**
136
+ * Proxy.status.upstreamUrl: The base URL of the provider's API, to which requests are forwarded: spec.baseUrl, else the Provider's. Read only.
137
+ */
138
+ upstreamUrl?: string | null;
139
+ /**
140
+ * Proxy.status.url: The URL of the Proxy's passthrough endpoint, to use as the base URL of the provider's SDK. Read only.
141
+ */
142
+ url?: string | null;
143
+ /**
144
+ * Proxy.status.username: The Smarter user who created this Proxy. Read only.
145
+ */
146
+ username: string;
147
+ [k: string]: unknown | undefined;
148
+ }
149
+ /**
150
+ * A resource that depends on the resource that a manifest describes.
151
+ */
152
+ export interface SAMDependency {
153
+ /**
154
+ * kind[String]: The SAM kind of the resource that depends on this resource, e.g. LLMClient. Read only.
155
+ */
156
+ kind: string;
157
+ /**
158
+ * name[String]: The name of the resource that depends on this resource. Read only.
159
+ */
160
+ name: string;
161
+ [k: string]: unknown | undefined;
162
+ }
163
+ //# sourceMappingURL=proxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../../src/models/sam/proxy.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;KACjC,GAAG,IAAI,CAAC;IACT;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IAC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AAC;IACtC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The SAM type of the `Proxy` kind, generated from the Smarter platform's JSON Schema.
3
+ *
4
+ * Do not edit: run `make sam-models`. See `src/models/sam/index.ts`.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=proxy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proxy.js","sourceRoot":"","sources":["../../../src/models/sam/proxy.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The tolerant JSON Schema of every SAM kind: the platform's schema without `additionalProperties: false`.
3
+ *
4
+ * Do not edit: run `make sam-models`.
5
+ */
6
+ /** The JSON Schema of each kind, by its manifest `kind`. */
7
+ export declare const SAM_SCHEMAS: Readonly<Record<string, object>>;
8
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/models/sam/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,4DAA4D;AAC5D,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA01MxD,CAAC"}