@smarter.sh/api 0.0.0-stage → 1.0.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.
- package/LICENSE.txt +671 -0
- package/README.md +193 -2
- package/dist/client.d.ts +146 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +178 -0
- package/dist/client.js.map +1 -0
- package/dist/core/config.d.ts +148 -0
- package/dist/core/config.d.ts.map +1 -0
- package/dist/core/config.js +212 -0
- package/dist/core/config.js.map +1 -0
- package/dist/core/errors.d.ts +189 -0
- package/dist/core/errors.d.ts.map +1 -0
- package/dist/core/errors.js +187 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/http.d.ts +207 -0
- package/dist/core/http.d.ts.map +1 -0
- package/dist/core/http.js +456 -0
- package/dist/core/http.js.map +1 -0
- package/dist/core/log.d.ts +62 -0
- package/dist/core/log.d.ts.map +1 -0
- package/dist/core/log.js +68 -0
- package/dist/core/log.js.map +1 -0
- package/dist/core/sse.d.ts +38 -0
- package/dist/core/sse.d.ts.map +1 -0
- package/dist/core/sse.js +79 -0
- package/dist/core/sse.js.map +1 -0
- package/dist/core/typing.d.ts +21 -0
- package/dist/core/typing.d.ts.map +1 -0
- package/dist/core/typing.js +13 -0
- package/dist/core/typing.js.map +1 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +51 -0
- package/dist/index.js.map +1 -0
- package/dist/models/account.d.ts +112 -0
- package/dist/models/account.d.ts.map +1 -0
- package/dist/models/account.js +55 -0
- package/dist/models/account.js.map +1 -0
- package/dist/models/base.d.ts +99 -0
- package/dist/models/base.d.ts.map +1 -0
- package/dist/models/base.js +111 -0
- package/dist/models/base.js.map +1 -0
- package/dist/models/chat.d.ts +2243 -0
- package/dist/models/chat.d.ts.map +1 -0
- package/dist/models/chat.js +451 -0
- package/dist/models/chat.js.map +1 -0
- package/dist/models/guardrail.d.ts +109 -0
- package/dist/models/guardrail.d.ts.map +1 -0
- package/dist/models/guardrail.js +68 -0
- package/dist/models/guardrail.js.map +1 -0
- package/dist/models/journal.d.ts +159 -0
- package/dist/models/journal.d.ts.map +1 -0
- package/dist/models/journal.js +115 -0
- package/dist/models/journal.js.map +1 -0
- package/dist/models/llmclient.d.ts +183 -0
- package/dist/models/llmclient.d.ts.map +1 -0
- package/dist/models/llmclient.js +105 -0
- package/dist/models/llmclient.js.map +1 -0
- package/dist/models/llmhost.d.ts +121 -0
- package/dist/models/llmhost.d.ts.map +1 -0
- package/dist/models/llmhost.js +79 -0
- package/dist/models/llmhost.js.map +1 -0
- package/dist/models/manifest.d.ts +211 -0
- package/dist/models/manifest.d.ts.map +1 -0
- package/dist/models/manifest.js +290 -0
- package/dist/models/manifest.js.map +1 -0
- package/dist/models/mcpclient.d.ts +99 -0
- package/dist/models/mcpclient.d.ts.map +1 -0
- package/dist/models/mcpclient.js +65 -0
- package/dist/models/mcpclient.js.map +1 -0
- package/dist/models/misc.d.ts +232 -0
- package/dist/models/misc.d.ts.map +1 -0
- package/dist/models/misc.js +110 -0
- package/dist/models/misc.js.map +1 -0
- package/dist/models/platform.d.ts +88 -0
- package/dist/models/platform.d.ts.map +1 -0
- package/dist/models/platform.js +35 -0
- package/dist/models/platform.js.map +1 -0
- package/dist/models/plugin.d.ts +36 -0
- package/dist/models/plugin.d.ts.map +1 -0
- package/dist/models/plugin.js +16 -0
- package/dist/models/plugin.js.map +1 -0
- package/dist/models/react.d.ts +104 -0
- package/dist/models/react.d.ts.map +1 -0
- package/dist/models/react.js +136 -0
- package/dist/models/react.js.map +1 -0
- package/dist/models/sam/account.d.ts +155 -0
- package/dist/models/sam/account.d.ts.map +1 -0
- package/dist/models/sam/account.js +7 -0
- package/dist/models/sam/account.js.map +1 -0
- package/dist/models/sam/apiconnection.d.ts +147 -0
- package/dist/models/sam/apiconnection.d.ts.map +1 -0
- package/dist/models/sam/apiconnection.js +7 -0
- package/dist/models/sam/apiconnection.js.map +1 -0
- package/dist/models/sam/apiplugin.d.ts +278 -0
- package/dist/models/sam/apiplugin.d.ts.map +1 -0
- package/dist/models/sam/apiplugin.js +7 -0
- package/dist/models/sam/apiplugin.js.map +1 -0
- package/dist/models/sam/budget.d.ts +219 -0
- package/dist/models/sam/budget.d.ts.map +1 -0
- package/dist/models/sam/budget.js +7 -0
- package/dist/models/sam/budget.js.map +1 -0
- package/dist/models/sam/customdomain.d.ts +139 -0
- package/dist/models/sam/customdomain.d.ts.map +1 -0
- package/dist/models/sam/customdomain.js +7 -0
- package/dist/models/sam/customdomain.js.map +1 -0
- package/dist/models/sam/guardrail.d.ts +222 -0
- package/dist/models/sam/guardrail.d.ts.map +1 -0
- package/dist/models/sam/guardrail.js +7 -0
- package/dist/models/sam/guardrail.js.map +1 -0
- package/dist/models/sam/imagesearchplugin.d.ts +235 -0
- package/dist/models/sam/imagesearchplugin.d.ts.map +1 -0
- package/dist/models/sam/imagesearchplugin.js +7 -0
- package/dist/models/sam/imagesearchplugin.js.map +1 -0
- package/dist/models/sam/index.d.ts +104 -0
- package/dist/models/sam/index.d.ts.map +1 -0
- package/dist/models/sam/index.js +50 -0
- package/dist/models/sam/index.js.map +1 -0
- package/dist/models/sam/llmclient.d.ts +490 -0
- package/dist/models/sam/llmclient.d.ts.map +1 -0
- package/dist/models/sam/llmclient.js +7 -0
- package/dist/models/sam/llmclient.js.map +1 -0
- package/dist/models/sam/llmhost.d.ts +429 -0
- package/dist/models/sam/llmhost.d.ts.map +1 -0
- package/dist/models/sam/llmhost.js +7 -0
- package/dist/models/sam/llmhost.js.map +1 -0
- package/dist/models/sam/llmhostcompute.d.ts +221 -0
- package/dist/models/sam/llmhostcompute.d.ts.map +1 -0
- package/dist/models/sam/llmhostcompute.js +7 -0
- package/dist/models/sam/llmhostcompute.js.map +1 -0
- package/dist/models/sam/mcpclient.d.ts +195 -0
- package/dist/models/sam/mcpclient.d.ts.map +1 -0
- package/dist/models/sam/mcpclient.js +7 -0
- package/dist/models/sam/mcpclient.js.map +1 -0
- package/dist/models/sam/orchestrator.d.ts +163 -0
- package/dist/models/sam/orchestrator.d.ts.map +1 -0
- package/dist/models/sam/orchestrator.js +7 -0
- package/dist/models/sam/orchestrator.js.map +1 -0
- package/dist/models/sam/plugin.d.ts +163 -0
- package/dist/models/sam/plugin.d.ts.map +1 -0
- package/dist/models/sam/plugin.js +7 -0
- package/dist/models/sam/plugin.js.map +1 -0
- package/dist/models/sam/prompt.d.ts +116 -0
- package/dist/models/sam/prompt.d.ts.map +1 -0
- package/dist/models/sam/prompt.js +7 -0
- package/dist/models/sam/prompt.js.map +1 -0
- package/dist/models/sam/provider.d.ts +195 -0
- package/dist/models/sam/provider.d.ts.map +1 -0
- package/dist/models/sam/provider.js +7 -0
- package/dist/models/sam/provider.js.map +1 -0
- package/dist/models/sam/proxy.d.ts +163 -0
- package/dist/models/sam/proxy.d.ts.map +1 -0
- package/dist/models/sam/proxy.js +7 -0
- package/dist/models/sam/proxy.js.map +1 -0
- package/dist/models/sam/schemas.d.ts +8 -0
- package/dist/models/sam/schemas.d.ts.map +1 -0
- package/dist/models/sam/schemas.js +6059 -0
- package/dist/models/sam/schemas.js.map +1 -0
- package/dist/models/sam/secret.d.ts +123 -0
- package/dist/models/sam/secret.d.ts.map +1 -0
- package/dist/models/sam/secret.js +7 -0
- package/dist/models/sam/secret.js.map +1 -0
- package/dist/models/sam/skillplugin.d.ts +181 -0
- package/dist/models/sam/skillplugin.d.ts.map +1 -0
- package/dist/models/sam/skillplugin.js +7 -0
- package/dist/models/sam/skillplugin.js.map +1 -0
- package/dist/models/sam/smarterauthtoken.d.ts +115 -0
- package/dist/models/sam/smarterauthtoken.d.ts.map +1 -0
- package/dist/models/sam/smarterauthtoken.js +7 -0
- package/dist/models/sam/smarterauthtoken.js.map +1 -0
- package/dist/models/sam/sqlconnection.d.ts +187 -0
- package/dist/models/sam/sqlconnection.d.ts.map +1 -0
- package/dist/models/sam/sqlconnection.js +7 -0
- package/dist/models/sam/sqlconnection.js.map +1 -0
- package/dist/models/sam/sqlplugin.d.ts +232 -0
- package/dist/models/sam/sqlplugin.d.ts.map +1 -0
- package/dist/models/sam/sqlplugin.js +7 -0
- package/dist/models/sam/sqlplugin.js.map +1 -0
- package/dist/models/sam/user.d.ts +135 -0
- package/dist/models/sam/user.d.ts.map +1 -0
- package/dist/models/sam/user.js +7 -0
- package/dist/models/sam/user.js.map +1 -0
- package/dist/models/sam/vectorsearch.d.ts +150 -0
- package/dist/models/sam/vectorsearch.d.ts.map +1 -0
- package/dist/models/sam/vectorsearch.js +7 -0
- package/dist/models/sam/vectorsearch.js.map +1 -0
- package/dist/models/sam/vectorstore.d.ts +291 -0
- package/dist/models/sam/vectorstore.d.ts.map +1 -0
- package/dist/models/sam/vectorstore.js +7 -0
- package/dist/models/sam/vectorstore.js.map +1 -0
- package/dist/models/sam/websearchplugin.d.ts +229 -0
- package/dist/models/sam/websearchplugin.d.ts.map +1 -0
- package/dist/models/sam/websearchplugin.js +7 -0
- package/dist/models/sam/websearchplugin.js.map +1 -0
- package/dist/models/vectorstore.d.ts +165 -0
- package/dist/models/vectorstore.d.ts.map +1 -0
- package/dist/models/vectorstore.js +90 -0
- package/dist/models/vectorstore.js.map +1 -0
- package/dist/resources/accounts.d.ts +107 -0
- package/dist/resources/accounts.d.ts.map +1 -0
- package/dist/resources/accounts.js +84 -0
- package/dist/resources/accounts.js.map +1 -0
- package/dist/resources/base.d.ts +127 -0
- package/dist/resources/base.d.ts.map +1 -0
- package/dist/resources/base.js +139 -0
- package/dist/resources/base.js.map +1 -0
- package/dist/resources/catalog.d.ts +209 -0
- package/dist/resources/catalog.d.ts.map +1 -0
- package/dist/resources/catalog.js +124 -0
- package/dist/resources/catalog.js.map +1 -0
- package/dist/resources/guardrails.d.ts +82 -0
- package/dist/resources/guardrails.d.ts.map +1 -0
- package/dist/resources/guardrails.js +46 -0
- package/dist/resources/guardrails.js.map +1 -0
- package/dist/resources/history.d.ts +97 -0
- package/dist/resources/history.d.ts.map +1 -0
- package/dist/resources/history.js +109 -0
- package/dist/resources/history.js.map +1 -0
- package/dist/resources/llmclients.d.ts +348 -0
- package/dist/resources/llmclients.d.ts.map +1 -0
- package/dist/resources/llmclients.js +367 -0
- package/dist/resources/llmclients.js.map +1 -0
- package/dist/resources/llmhosts.d.ts +146 -0
- package/dist/resources/llmhosts.d.ts.map +1 -0
- package/dist/resources/llmhosts.js +128 -0
- package/dist/resources/llmhosts.js.map +1 -0
- package/dist/resources/manifests.d.ts +153 -0
- package/dist/resources/manifests.d.ts.map +1 -0
- package/dist/resources/manifests.js +203 -0
- package/dist/resources/manifests.js.map +1 -0
- package/dist/resources/mcpclients.d.ts +90 -0
- package/dist/resources/mcpclients.d.ts.map +1 -0
- package/dist/resources/mcpclients.js +57 -0
- package/dist/resources/mcpclients.js.map +1 -0
- package/dist/resources/providers.d.ts +33 -0
- package/dist/resources/providers.d.ts.map +1 -0
- package/dist/resources/providers.js +39 -0
- package/dist/resources/providers.js.map +1 -0
- package/dist/resources/proxies.d.ts +61 -0
- package/dist/resources/proxies.d.ts.map +1 -0
- package/dist/resources/proxies.js +57 -0
- package/dist/resources/proxies.js.map +1 -0
- package/dist/resources/vectorstores.d.ts +194 -0
- package/dist/resources/vectorstores.d.ts.map +1 -0
- package/dist/resources/vectorstores.js +200 -0
- package/dist/resources/vectorstores.js.map +1 -0
- package/dist/version.d.ts +3 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/package.json +81 -4
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The SAM type of the `SkillPlugin` 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 - Skill Connection Model.
|
|
8
|
+
*/
|
|
9
|
+
export interface SAMSkillPlugin {
|
|
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: SAMPluginCommonMetadata;
|
|
19
|
+
spec: SAMSkillPluginSpec;
|
|
20
|
+
/**
|
|
21
|
+
* Plugin.status[obj]: Optional, Read-only. Stateful status information about the Plugin.
|
|
22
|
+
*/
|
|
23
|
+
status?: SAMPluginCommonStatus | null;
|
|
24
|
+
[k: string]: unknown | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Plugin.metadata[obj]: Required, the Plugin metadata.
|
|
28
|
+
*/
|
|
29
|
+
export interface SAMPluginCommonMetadata {
|
|
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 class of the plugin. one of: ['api', 'imagesearch', 'skill', 'sql', 'static', 'websearch']
|
|
46
|
+
*/
|
|
47
|
+
pluginClass: string;
|
|
48
|
+
/**
|
|
49
|
+
* The tags of the manifest. Used for generic resource categorization and search. Example: ['tag1', 'tag2']
|
|
50
|
+
*/
|
|
51
|
+
tags?: string[] | null;
|
|
52
|
+
/**
|
|
53
|
+
* The semantic version of the manifest. Example: 0.1.0
|
|
54
|
+
*/
|
|
55
|
+
version: string | null;
|
|
56
|
+
[k: string]: unknown | undefined;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* SkillPlugin.spec[obj]: Required, the SkillPlugin specification.
|
|
60
|
+
*/
|
|
61
|
+
export interface SAMSkillPluginSpec {
|
|
62
|
+
prompt: SAMPluginCommonSpecPrompt;
|
|
63
|
+
selector: SAMPluginCommonSpecSelector;
|
|
64
|
+
skillData: SkillData;
|
|
65
|
+
[k: string]: unknown | undefined;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Plugin.spec.prompt[obj]: the LLM prompt engineering to apply to the Plugin
|
|
69
|
+
*/
|
|
70
|
+
export interface SAMPluginCommonSpecPrompt {
|
|
71
|
+
/**
|
|
72
|
+
* Plugin.spec.prompt.maxTokens[int]. Optional. The maxTokens of the Plugin. Defaults to 2048. The maximum number of tokens the LLM should generate in the prompt response.
|
|
73
|
+
*/
|
|
74
|
+
maxTokens?: number;
|
|
75
|
+
/**
|
|
76
|
+
* Plugin.spec.prompt.model[str] Optional. The model of the Plugin. Defaults to gpt-6-luna. Must be one of: ['chat-latest', 'gpt-4.1', 'gpt-4.1-2025-04-14', 'gpt-4.1-mini', 'gpt-4.1-mini-2025-04-14', 'gpt-4o', 'gpt-4o-2024-08-06', 'gpt-4o-2024-11-20', 'gpt-4o-mini', 'gpt-4o-mini-2024-07-18', 'gpt-5-search-api', 'gpt-5-search-api-2025-10-14', 'gpt-5.2', 'gpt-5.2-2025-12-11', 'gpt-5.4', 'gpt-5.4-2026-03-05', 'gpt-5.4-mini', 'gpt-5.4-mini-2026-03-17', 'gpt-5.5', 'gpt-5.5-2026-04-23', 'gpt-5.6-luna', 'gpt-5.6-sol', 'gpt-5.6-terra', 'gpt-6-astra', 'gpt-6-luna', 'gpt-6-sol', 'gpt-6.1-sol']
|
|
77
|
+
*/
|
|
78
|
+
model?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Plugin.spec.prompt.provider[str]. Optional. The provider of the LLM. Defaults to openai. The provider is the vendor name for the LLM service that will be used to generate the prompt response.
|
|
81
|
+
*/
|
|
82
|
+
provider?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Plugin.spec.prompt.systemRole[str]. Required. The system role that the Plugin will use for the LLM text completion prompt. Be verbose and specific. Ensure that systemRole accurately conveys to the LLM how you want it to use the Plugin data that is returned. The maximum length is 32768 characters.
|
|
85
|
+
*/
|
|
86
|
+
systemRole: string;
|
|
87
|
+
/**
|
|
88
|
+
* Plugin.spec.prompt.temperature[float] Optional. The temperature of the Plugin. Defaults to 1.0. Should be between 0 and 1.0. The higher the temperature, the more creative the response. The lower the temperature, the more predictable the response.
|
|
89
|
+
*/
|
|
90
|
+
temperature?: number;
|
|
91
|
+
[k: string]: unknown | undefined;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Plugin.spec.selector[obj]: the selector logic to use for the Plugin
|
|
95
|
+
*/
|
|
96
|
+
export interface SAMPluginCommonSpecSelector {
|
|
97
|
+
/**
|
|
98
|
+
* Plugin.spec.selector.directive[str]: Required. the kind of selector directive to use for the Plugin. Must be one of: ['search_terms', 'always', 'llm']
|
|
99
|
+
*/
|
|
100
|
+
directive: string;
|
|
101
|
+
/**
|
|
102
|
+
* Plugin.spec.selector.searchTerms[list]. Optional. The keyword search terms to use when the Plugin directive is 'search_terms'. Keywords are most effective when constrained to 1 or 2 words each and lists are limited to a few dozen items.
|
|
103
|
+
*/
|
|
104
|
+
searchTerms?: string[] | null;
|
|
105
|
+
[k: string]: unknown | undefined;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* SkillPlugin.spec.skillData[obj]: the Agent Skill that the SkillPlugin provides to the LLM.
|
|
109
|
+
*/
|
|
110
|
+
export interface SkillData {
|
|
111
|
+
/**
|
|
112
|
+
* SkillPlugin.spec.resources[obj]: the skill's bundled files, e.g. references/, scripts/ and assets/, keyed by their path relative to the skill root, as SKILL.md refers to them. Only valid with 'skill'.
|
|
113
|
+
*/
|
|
114
|
+
resources?: {
|
|
115
|
+
[k: string]: string | null | undefined;
|
|
116
|
+
} | null;
|
|
117
|
+
/**
|
|
118
|
+
* SkillPlugin.spec.skill[str]: the verbatim contents of a SKILL.md file: YAML frontmatter, containing at least 'name' and 'description', followed by Markdown instructions. Use a YAML literal block scalar (|) to preserve the Markdown exactly. See https://agentskills.io/specification
|
|
119
|
+
*/
|
|
120
|
+
skill?: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* SkillPlugin.spec.source[obj]: the remote location of the skill, in lieu of 'skill'.
|
|
123
|
+
*/
|
|
124
|
+
source?: SkillSource | null;
|
|
125
|
+
[k: string]: unknown | undefined;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Smarter API - SkillPlugin.spec.skillData.source: the remote location of a skill.
|
|
129
|
+
*/
|
|
130
|
+
export interface SkillSource {
|
|
131
|
+
/**
|
|
132
|
+
* SkillPlugin.spec.source.url[str]: the https URL of the skill. Either a GitHub URL of a skill directory (e.g. https://github.com/anthropics/skills/tree/main/skills/pdf) or of a SKILL.md file, or any https URL of a SKILL.md file. The skill and its bundled files are retrieved when the manifest is applied.
|
|
133
|
+
*/
|
|
134
|
+
url: string;
|
|
135
|
+
[k: string]: unknown | undefined;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Smarter API Plugin Manifest - Status class.
|
|
139
|
+
*/
|
|
140
|
+
export interface SAMPluginCommonStatus {
|
|
141
|
+
/**
|
|
142
|
+
* Plugin.status.account_number: The account owner of this Plugin. Read only.
|
|
143
|
+
*/
|
|
144
|
+
accountNumber: string;
|
|
145
|
+
/**
|
|
146
|
+
* The date in which this resource was created. Read only.
|
|
147
|
+
*/
|
|
148
|
+
created: string;
|
|
149
|
+
/**
|
|
150
|
+
* 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.
|
|
151
|
+
*/
|
|
152
|
+
dependencies?: SAMDependency[] | null;
|
|
153
|
+
/**
|
|
154
|
+
* The date in which this resource was most recently changed. Read only.
|
|
155
|
+
*/
|
|
156
|
+
modified: string;
|
|
157
|
+
/**
|
|
158
|
+
* recordLocator[String]: An optional identifier used to locate the resource record associated with this manifest. Read only.
|
|
159
|
+
*/
|
|
160
|
+
recordLocator: string;
|
|
161
|
+
/**
|
|
162
|
+
* Plugin.status.account_number: The Smarter user who created this Plugin. Read only.
|
|
163
|
+
*/
|
|
164
|
+
username: string;
|
|
165
|
+
[k: string]: unknown | undefined;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* A resource that depends on the resource that a manifest describes.
|
|
169
|
+
*/
|
|
170
|
+
export interface SAMDependency {
|
|
171
|
+
/**
|
|
172
|
+
* kind[String]: The SAM kind of the resource that depends on this resource, e.g. LLMClient. Read only.
|
|
173
|
+
*/
|
|
174
|
+
kind: string;
|
|
175
|
+
/**
|
|
176
|
+
* name[String]: The name of the resource that depends on this resource. Read only.
|
|
177
|
+
*/
|
|
178
|
+
name: string;
|
|
179
|
+
[k: string]: unknown | undefined;
|
|
180
|
+
}
|
|
181
|
+
//# sourceMappingURL=skillplugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skillplugin.d.ts","sourceRoot":"","sources":["../../../src/models/sam/skillplugin.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,uBAAuB,CAAC;IAClC,IAAI,EAAE,kBAAkB,CAAC;IACzB;;OAEG;IACH,MAAM,CA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oot":"","sources":["../../../src/models/sam/skillplugin.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The SAM type of the `SmarterAuthToken` 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 - SmarterAuthToken
|
|
8
|
+
*/
|
|
9
|
+
export interface SAMSmarterAuthToken {
|
|
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: SAMSmarterAuthTokenMetadata;
|
|
19
|
+
spec: SAMSmarterAuthTokenSpec;
|
|
20
|
+
/**
|
|
21
|
+
* SmarterAuthToken.status[obj]: Optional, Read-only. Stateful status information about the SmarterAuthToken.
|
|
22
|
+
*/
|
|
23
|
+
status?: SAMSmarterAuthTokenStatus | null;
|
|
24
|
+
[k: string]: unknown | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* SmarterAuthToken.metadata[obj]: Required, the SmarterAuthToken metadata.
|
|
28
|
+
*/
|
|
29
|
+
export interface SAMSmarterAuthTokenMetadata {
|
|
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
|
+
* SmarterAuthToken.spec[obj]: Required, the SmarterAuthToken specification.
|
|
56
|
+
*/
|
|
57
|
+
export interface SAMSmarterAuthTokenSpec {
|
|
58
|
+
config: SAMSmarterAuthTokenSpecConfig;
|
|
59
|
+
[k: string]: unknown | undefined;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* SmarterAuthToken.spec.config[object]. The configuration for the SmarterAuthToken.
|
|
63
|
+
*/
|
|
64
|
+
export interface SAMSmarterAuthTokenSpecConfig {
|
|
65
|
+
/**
|
|
66
|
+
* SmarterAuthToken.spec.configuration.isActive[bool]. Required. Whether the SmarterAuthToken is activated.
|
|
67
|
+
*/
|
|
68
|
+
isActive?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* SmarterAuthToken.spec.configuration.username[str]. The Smarter username to which this SmarterAuthToken is attached.
|
|
71
|
+
*/
|
|
72
|
+
username: string;
|
|
73
|
+
[k: string]: unknown | undefined;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Smarter API SmarterAuthToken Manifest - Status class.
|
|
77
|
+
*/
|
|
78
|
+
export interface SAMSmarterAuthTokenStatus {
|
|
79
|
+
/**
|
|
80
|
+
* The date in which this resource was created. Read only.
|
|
81
|
+
*/
|
|
82
|
+
created: string;
|
|
83
|
+
/**
|
|
84
|
+
* 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.
|
|
85
|
+
*/
|
|
86
|
+
dependencies?: SAMDependency[] | null;
|
|
87
|
+
/**
|
|
88
|
+
* SmarterAuthToken.status.modified: The date in which this SmarterAuthToken was most recently used for authentication. Read only.
|
|
89
|
+
*/
|
|
90
|
+
lastUsedAt?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* The date in which this resource was most recently changed. Read only.
|
|
93
|
+
*/
|
|
94
|
+
modified: string;
|
|
95
|
+
/**
|
|
96
|
+
* recordLocator[String]: An optional identifier used to locate the resource record associated with this manifest. Read only.
|
|
97
|
+
*/
|
|
98
|
+
recordLocator: string;
|
|
99
|
+
[k: string]: unknown | undefined;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* A resource that depends on the resource that a manifest describes.
|
|
103
|
+
*/
|
|
104
|
+
export interface SAMDependency {
|
|
105
|
+
/**
|
|
106
|
+
* kind[String]: The SAM kind of the resource that depends on this resource, e.g. LLMClient. Read only.
|
|
107
|
+
*/
|
|
108
|
+
kind: string;
|
|
109
|
+
/**
|
|
110
|
+
* name[String]: The name of the resource that depends on this resource. Read only.
|
|
111
|
+
*/
|
|
112
|
+
name: string;
|
|
113
|
+
[k: string]: unknown | undefined;
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=smarterauthtoken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smarterauthtoken.d.ts","sourceRoot":"","sources":["../../../src/models/sam/smarterauthtoken.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAA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IAC3B;;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 @@
|
|
|
1
|
+
{"version":3,"file":"smarterauthtoken.js","sourceRoot":"","sources":["../../../src/models/sam/smarterauthtoken.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The SAM type of the `SqlConnection` 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 - SqlConnection Model
|
|
8
|
+
*/
|
|
9
|
+
export interface SAMSqlConnection {
|
|
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: SAMConnectionCommonMetadata;
|
|
19
|
+
spec: SAMSqlConnectionSpec;
|
|
20
|
+
/**
|
|
21
|
+
* SqlConnection.status[obj]: Optional, Read-only. Stateful status information about the SqlConnection.
|
|
22
|
+
*/
|
|
23
|
+
status?: SAMConnectionCommonStatus | null;
|
|
24
|
+
[k: string]: unknown | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* SqlConnection.metadata[obj]: Required, the SqlConnection metadata.
|
|
28
|
+
*/
|
|
29
|
+
export interface SAMConnectionCommonMetadata {
|
|
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
|
+
* SqlConnection.spec[obj]: Required, the SqlConnection specification.
|
|
56
|
+
*/
|
|
57
|
+
export interface SAMSqlConnectionSpec {
|
|
58
|
+
connection: Connection;
|
|
59
|
+
[k: string]: unknown | undefined;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* SqlConnection.spec.selector[obj]: the selector logic to use for the SqlConnection
|
|
63
|
+
*/
|
|
64
|
+
export interface Connection {
|
|
65
|
+
/**
|
|
66
|
+
* The authentication method to use for the connection. Example: 'Standard TCP/IP', 'Standard TCP/IP over SSH', 'LDAP User/Password'.
|
|
67
|
+
*/
|
|
68
|
+
authenticationMethod?: string;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the database to connect to. Examples: 'sales' or 'mydb'.
|
|
71
|
+
*/
|
|
72
|
+
database: string;
|
|
73
|
+
/**
|
|
74
|
+
* A valid SQL database engine. Common db_engines: ['django.db.backends.postgresql', 'django.db.backends.mysql', 'django.db.backends.oracle', 'django.db.backends.sqlite3', 'django.db.backends.mssql', 'django.db.backends.sybase']
|
|
75
|
+
*/
|
|
76
|
+
dbEngine: string;
|
|
77
|
+
/**
|
|
78
|
+
* The remote host of the SQL connection. Should be a valid internet domain name. Example: 'localhost' or 'mysql.mycompany.com'.
|
|
79
|
+
*/
|
|
80
|
+
hostname: string;
|
|
81
|
+
/**
|
|
82
|
+
* The maximum number of connections to allow beyond the pool size.
|
|
83
|
+
*/
|
|
84
|
+
maxOverflow?: number;
|
|
85
|
+
/**
|
|
86
|
+
* The password.
|
|
87
|
+
*/
|
|
88
|
+
password?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* The size of the connection pool.
|
|
91
|
+
*/
|
|
92
|
+
poolSize?: number;
|
|
93
|
+
/**
|
|
94
|
+
* The port of the SQL connection. Default values are assigned based on the dbEngine.
|
|
95
|
+
*/
|
|
96
|
+
port?: number | null;
|
|
97
|
+
/**
|
|
98
|
+
* The remote host of the SQL proxy connection. Should be a valid internet domain name.
|
|
99
|
+
*/
|
|
100
|
+
proxyHost?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* The password for the proxy connection.
|
|
103
|
+
*/
|
|
104
|
+
proxyPassword?: string | null;
|
|
105
|
+
/**
|
|
106
|
+
* The port of the SQL proxy connection.
|
|
107
|
+
*/
|
|
108
|
+
proxyPort?: number | null;
|
|
109
|
+
/**
|
|
110
|
+
* The username for the proxy connection.
|
|
111
|
+
*/
|
|
112
|
+
proxyUsername?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* The known_hosts file content for verifying SSH connections.
|
|
115
|
+
*/
|
|
116
|
+
sshKnownHosts?: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* The Certificate Authority (CA) certificate for verifying the server.
|
|
119
|
+
*/
|
|
120
|
+
sslCa?: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* The SSL certificate for the connection, if required.
|
|
123
|
+
*/
|
|
124
|
+
sslCert?: string | null;
|
|
125
|
+
/**
|
|
126
|
+
* The SSL key for the connection, if required.
|
|
127
|
+
*/
|
|
128
|
+
sslKey?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* The timeout for the database connection in seconds. Default is 30 seconds.
|
|
131
|
+
*/
|
|
132
|
+
timeout?: number;
|
|
133
|
+
/**
|
|
134
|
+
* Whether to use SSL/TLS for the connection.
|
|
135
|
+
*/
|
|
136
|
+
useSsl?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* The database username.
|
|
139
|
+
*/
|
|
140
|
+
username?: string | null;
|
|
141
|
+
[k: string]: unknown | undefined;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Smarter API Connection Manifest - Status class.
|
|
145
|
+
*/
|
|
146
|
+
export interface SAMConnectionCommonStatus {
|
|
147
|
+
/**
|
|
148
|
+
* Connection.status.account_number: The account owner of this Connection. Read only.
|
|
149
|
+
*/
|
|
150
|
+
account_number: string;
|
|
151
|
+
/**
|
|
152
|
+
* The date in which this resource was created. Read only.
|
|
153
|
+
*/
|
|
154
|
+
created: string;
|
|
155
|
+
/**
|
|
156
|
+
* 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.
|
|
157
|
+
*/
|
|
158
|
+
dependencies?: SAMDependency[] | null;
|
|
159
|
+
/**
|
|
160
|
+
* The date in which this resource was most recently changed. Read only.
|
|
161
|
+
*/
|
|
162
|
+
modified: string;
|
|
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
|
+
* Connection.status.username: The Smarter user who created this Connection. Read only.
|
|
169
|
+
*/
|
|
170
|
+
username: string;
|
|
171
|
+
[k: string]: unknown | undefined;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* A resource that depends on the resource that a manifest describes.
|
|
175
|
+
*/
|
|
176
|
+
export interface SAMDependency {
|
|
177
|
+
/**
|
|
178
|
+
* kind[String]: The SAM kind of the resource that depends on this resource, e.g. LLMClient. Read only.
|
|
179
|
+
*/
|
|
180
|
+
kind: string;
|
|
181
|
+
/**
|
|
182
|
+
* name[String]: The name of the resource that depends on this resource. Read only.
|
|
183
|
+
*/
|
|
184
|
+
name: string;
|
|
185
|
+
[k: string]: unknown | undefined;
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=sqlconnection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlconnection.d.ts","sourceRoot":"","sources":["../../../src/models/sam/sqlconnection.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,2BAA2B,CAAC;IACtC,IAAI,EAAE,oBAAoB,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;IAC1C,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;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,IAA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;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;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;;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 @@
|
|
|
1
|
+
{"version":3,"file":"sqlconnection.js","sourceRoot":"","sources":["../../../src/models/sam/sqlconnection.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|