@truefoundry/trueforge-sdk 0.1.4-rc.2 → 0.2.0-rc.3
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/README.md +3 -3
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +2 -2
- package/dist/cjs/Client.js +4 -4
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +2 -0
- package/dist/cjs/api/resources/internal/client/Client.d.ts +24 -1
- package/dist/cjs/api/resources/internal/client/Client.js +134 -0
- package/dist/cjs/api/resources/internal/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/internal/client/index.js +15 -0
- package/dist/cjs/api/resources/internal/client/requests/ListPermissionsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/internal/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/internal/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/internal/resources/agents/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/internal/resources/agents/client/Client.js +14 -5
- package/dist/cjs/api/resources/internal/resources/agents/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/internal/resources/agents/client/index.js +15 -0
- package/dist/cjs/api/resources/internal/resources/agents/client/requests/GetCodeSnippetsAgentsRequest.d.ts +8 -0
- package/dist/cjs/api/resources/internal/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/internal/resources/agents/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/internal/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/internal/resources/index.js +4 -3
- package/dist/cjs/api/resources/mcpServers/client/Client.d.ts +19 -4
- package/dist/cjs/api/resources/mcpServers/client/Client.js +117 -72
- package/dist/cjs/api/resources/mcpServers/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/schedules/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/schedules/client/Client.js +80 -51
- package/dist/cjs/api/resources/{mcpServers/client/requests/ListMcpServersRequest.d.ts → schedules/client/requests/ListRunsSchedulesRequest.d.ts} +2 -2
- package/dist/cjs/api/resources/schedules/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/sessions/client/requests/DownloadSandboxFileSessionsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/settings/resources/mcpServers/client/Client.d.ts +3 -4
- package/dist/cjs/api/resources/settings/resources/mcpServers/client/Client.js +52 -81
- package/dist/cjs/api/resources/settings/resources/mcpServers/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/settings/resources/skills/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/settings/resources/skills/client/Client.js +18 -0
- package/dist/cjs/api/resources/skills/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/skills/client/Client.js +75 -0
- package/dist/cjs/api/resources/skills/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/skills/client/index.js +15 -0
- package/dist/cjs/api/resources/skills/client/requests/ListVersionsSkillsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/skills/client/requests/ListVersionsSkillsRequest.js +3 -0
- package/dist/cjs/api/resources/skills/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/skills/client/requests/index.js +2 -0
- package/dist/cjs/api/types/AgentCodeSnippets.d.ts +1 -1
- package/dist/cjs/api/types/AgentSpec.d.ts +1 -1
- package/dist/cjs/api/types/AvailableSkill.d.ts +4 -2
- package/dist/cjs/api/types/CatalogSkill.d.ts +1 -1
- package/dist/cjs/api/types/CatalogSkillType.d.ts +1 -0
- package/dist/cjs/api/types/CatalogSkillType.js +3 -0
- package/dist/cjs/api/types/ConfiguredSkill.d.ts +1 -1
- package/dist/cjs/api/types/GetAvailableMcpServerResponse.d.ts +4 -0
- package/dist/cjs/api/types/GetAvailableMcpServerResponse.js +3 -0
- package/dist/cjs/api/types/GitSkill.d.ts +13 -0
- package/dist/cjs/api/types/GitSkill.js +3 -0
- package/dist/cjs/api/types/ListAvailableMcpServersResponse.d.ts +0 -1
- package/dist/cjs/api/types/ListMcpServersResponse.d.ts +0 -1
- package/dist/cjs/api/types/ListPermissionsResponse.d.ts +5 -0
- package/dist/cjs/api/types/ListPermissionsResponse.js +3 -0
- package/dist/cjs/api/types/ListScheduleRunsResponse.d.ts +1 -0
- package/dist/cjs/api/types/ListSkillVersionsResponse.d.ts +4 -0
- package/dist/cjs/api/types/ListSkillVersionsResponse.js +3 -0
- package/dist/cjs/api/types/PermissionResourceType.d.ts +7 -0
- package/dist/cjs/api/types/PermissionResourceType.js +10 -0
- package/dist/cjs/api/types/ResourcePermission.d.ts +7 -0
- package/dist/cjs/api/types/ResourcePermission.js +10 -0
- package/dist/cjs/api/types/ScheduleRun.d.ts +1 -0
- package/dist/cjs/api/types/Skill.d.ts +3 -1
- package/dist/cjs/api/types/SkillManifest.d.ts +1 -12
- package/dist/cjs/api/types/SkillVersion.d.ts +7 -0
- package/dist/cjs/api/types/SkillVersion.js +3 -0
- package/dist/cjs/api/types/TrueFoundryRegistrySkill.d.ts +10 -0
- package/dist/cjs/api/types/TrueFoundryRegistrySkill.js +3 -0
- package/dist/cjs/api/types/index.d.ts +9 -1
- package/dist/cjs/api/types/index.js +9 -1
- package/dist/cjs/serialization/resources/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/index.js +1 -0
- package/dist/cjs/serialization/resources/internal/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internal/client/index.js +17 -0
- package/dist/cjs/serialization/resources/internal/client/requests/ListPermissionsRequest.d.ts +11 -0
- package/dist/cjs/serialization/resources/internal/client/requests/ListPermissionsRequest.js +43 -0
- package/dist/cjs/serialization/resources/internal/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internal/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/internal/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internal/index.js +1 -0
- package/dist/cjs/serialization/types/AvailableSkill.d.ts +2 -2
- package/dist/cjs/serialization/types/AvailableSkill.js +2 -2
- package/dist/cjs/serialization/types/CatalogSkill.d.ts +2 -2
- package/dist/cjs/serialization/types/CatalogSkill.js +2 -2
- package/dist/cjs/serialization/types/{SkillType.d.ts → CatalogSkillType.d.ts} +2 -2
- package/dist/cjs/serialization/types/{SkillType.js → CatalogSkillType.js} +2 -2
- package/dist/cjs/serialization/types/ConfiguredSkill.d.ts +1 -2
- package/dist/cjs/serialization/types/ConfiguredSkill.js +1 -2
- package/dist/cjs/serialization/types/GetAvailableMcpServerResponse.d.ts +10 -0
- package/dist/cjs/serialization/types/GetAvailableMcpServerResponse.js +42 -0
- package/dist/cjs/serialization/types/GitSkill.d.ts +15 -0
- package/dist/cjs/serialization/types/GitSkill.js +47 -0
- package/dist/cjs/serialization/types/ListAvailableMcpServersResponse.d.ts +0 -2
- package/dist/cjs/serialization/types/ListAvailableMcpServersResponse.js +0 -2
- package/dist/cjs/serialization/types/ListMcpServersResponse.d.ts +0 -2
- package/dist/cjs/serialization/types/ListMcpServersResponse.js +0 -2
- package/dist/cjs/serialization/types/ListPermissionsResponse.d.ts +10 -0
- package/dist/cjs/serialization/types/ListPermissionsResponse.js +42 -0
- package/dist/cjs/serialization/types/ListScheduleRunsResponse.d.ts +2 -0
- package/dist/cjs/serialization/types/ListScheduleRunsResponse.js +2 -0
- package/dist/cjs/serialization/types/ListSkillVersionsResponse.d.ts +10 -0
- package/dist/cjs/serialization/types/ListSkillVersionsResponse.js +42 -0
- package/dist/cjs/serialization/types/PermissionResourceType.d.ts +7 -0
- package/dist/cjs/serialization/types/PermissionResourceType.js +39 -0
- package/dist/cjs/serialization/types/ResourcePermission.d.ts +7 -0
- package/dist/cjs/serialization/types/ResourcePermission.js +39 -0
- package/dist/cjs/serialization/types/ScheduleRun.d.ts +1 -0
- package/dist/cjs/serialization/types/ScheduleRun.js +1 -0
- package/dist/cjs/serialization/types/Skill.d.ts +1 -0
- package/dist/cjs/serialization/types/Skill.js +1 -0
- package/dist/cjs/serialization/types/SkillManifest.d.ts +4 -11
- package/dist/cjs/serialization/types/SkillManifest.js +3 -10
- package/dist/cjs/serialization/types/SkillVersion.d.ts +12 -0
- package/dist/cjs/serialization/types/SkillVersion.js +44 -0
- package/dist/cjs/serialization/types/TrueFoundryRegistrySkill.d.ts +14 -0
- package/dist/cjs/serialization/types/TrueFoundryRegistrySkill.js +46 -0
- package/dist/cjs/serialization/types/index.d.ts +9 -1
- package/dist/cjs/serialization/types/index.js +9 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +2 -2
- package/dist/esm/Client.mjs +4 -4
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/internal/client/Client.d.mts +24 -1
- package/dist/esm/api/resources/internal/client/Client.mjs +101 -0
- package/dist/esm/api/resources/internal/client/index.d.mts +1 -1
- package/dist/esm/api/resources/internal/client/index.mjs +1 -1
- package/dist/esm/api/resources/internal/client/requests/ListPermissionsRequest.d.mts +13 -0
- package/dist/esm/api/resources/internal/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/internal/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/internal/resources/agents/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/internal/resources/agents/client/Client.mjs +14 -5
- package/dist/esm/api/resources/internal/resources/agents/client/index.d.mts +1 -1
- package/dist/esm/api/resources/internal/resources/agents/client/index.mjs +1 -1
- package/dist/esm/api/resources/internal/resources/agents/client/requests/GetCodeSnippetsAgentsRequest.d.mts +8 -0
- package/dist/esm/api/resources/internal/resources/agents/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/internal/resources/agents/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/internal/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/internal/resources/index.mjs +1 -0
- package/dist/esm/api/resources/mcpServers/client/Client.d.mts +19 -4
- package/dist/esm/api/resources/mcpServers/client/Client.mjs +117 -72
- package/dist/esm/api/resources/mcpServers/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/schedules/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/schedules/client/Client.mjs +80 -51
- package/dist/esm/api/resources/{settings/resources/mcpServers/client/requests/ListMcpServersRequest.d.mts → schedules/client/requests/ListRunsSchedulesRequest.d.mts} +2 -2
- package/dist/esm/api/resources/schedules/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/sessions/client/requests/DownloadSandboxFileSessionsRequest.d.mts +1 -1
- package/dist/esm/api/resources/settings/resources/mcpServers/client/Client.d.mts +3 -4
- package/dist/esm/api/resources/settings/resources/mcpServers/client/Client.mjs +52 -81
- package/dist/esm/api/resources/settings/resources/mcpServers/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/settings/resources/skills/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/settings/resources/skills/client/Client.mjs +18 -0
- package/dist/esm/api/resources/skills/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/skills/client/Client.mjs +75 -0
- package/dist/esm/api/resources/skills/client/index.d.mts +1 -1
- package/dist/esm/api/resources/skills/client/index.mjs +1 -1
- package/dist/esm/api/resources/skills/client/requests/ListVersionsSkillsRequest.d.mts +10 -0
- package/dist/esm/api/resources/skills/client/requests/ListVersionsSkillsRequest.mjs +2 -0
- package/dist/esm/api/resources/skills/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/skills/client/requests/index.mjs +1 -0
- package/dist/esm/api/types/AgentCodeSnippets.d.mts +1 -1
- package/dist/esm/api/types/AgentSpec.d.mts +1 -1
- package/dist/esm/api/types/AvailableSkill.d.mts +4 -2
- package/dist/esm/api/types/CatalogSkill.d.mts +1 -1
- package/dist/esm/api/types/CatalogSkillType.d.mts +1 -0
- package/dist/esm/api/types/CatalogSkillType.mjs +2 -0
- package/dist/esm/api/types/ConfiguredSkill.d.mts +1 -1
- package/dist/esm/api/types/GetAvailableMcpServerResponse.d.mts +4 -0
- package/dist/esm/api/types/GetAvailableMcpServerResponse.mjs +2 -0
- package/dist/esm/api/types/GitSkill.d.mts +13 -0
- package/dist/esm/api/types/GitSkill.mjs +2 -0
- package/dist/esm/api/types/ListAvailableMcpServersResponse.d.mts +0 -1
- package/dist/esm/api/types/ListMcpServersResponse.d.mts +0 -1
- package/dist/esm/api/types/ListPermissionsResponse.d.mts +5 -0
- package/dist/esm/api/types/ListPermissionsResponse.mjs +2 -0
- package/dist/esm/api/types/ListScheduleRunsResponse.d.mts +1 -0
- package/dist/esm/api/types/ListSkillVersionsResponse.d.mts +4 -0
- package/dist/esm/api/types/ListSkillVersionsResponse.mjs +2 -0
- package/dist/esm/api/types/PermissionResourceType.d.mts +7 -0
- package/dist/esm/api/types/PermissionResourceType.mjs +7 -0
- package/dist/esm/api/types/ResourcePermission.d.mts +7 -0
- package/dist/esm/api/types/ResourcePermission.mjs +7 -0
- package/dist/esm/api/types/ScheduleRun.d.mts +1 -0
- package/dist/esm/api/types/Skill.d.mts +3 -1
- package/dist/esm/api/types/SkillManifest.d.mts +1 -12
- package/dist/esm/api/types/SkillVersion.d.mts +7 -0
- package/dist/esm/api/types/SkillVersion.mjs +2 -0
- package/dist/esm/api/types/TrueFoundryRegistrySkill.d.mts +10 -0
- package/dist/esm/api/types/TrueFoundryRegistrySkill.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +9 -1
- package/dist/esm/api/types/index.mjs +9 -1
- package/dist/esm/serialization/resources/index.d.mts +1 -0
- package/dist/esm/serialization/resources/index.mjs +1 -0
- package/dist/esm/serialization/resources/internal/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internal/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/internal/client/requests/ListPermissionsRequest.d.mts +11 -0
- package/dist/esm/serialization/resources/internal/client/requests/ListPermissionsRequest.mjs +7 -0
- package/dist/esm/serialization/resources/internal/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internal/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/internal/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internal/index.mjs +1 -0
- package/dist/esm/serialization/types/AvailableSkill.d.mts +2 -2
- package/dist/esm/serialization/types/AvailableSkill.mjs +2 -2
- package/dist/esm/serialization/types/CatalogSkill.d.mts +2 -2
- package/dist/esm/serialization/types/CatalogSkill.mjs +2 -2
- package/dist/esm/serialization/types/{SkillType.d.mts → CatalogSkillType.d.mts} +2 -2
- package/dist/esm/serialization/types/{SkillType.mjs → CatalogSkillType.mjs} +1 -1
- package/dist/esm/serialization/types/ConfiguredSkill.d.mts +1 -2
- package/dist/esm/serialization/types/ConfiguredSkill.mjs +1 -2
- package/dist/esm/serialization/types/GetAvailableMcpServerResponse.d.mts +10 -0
- package/dist/esm/serialization/types/GetAvailableMcpServerResponse.mjs +6 -0
- package/dist/esm/serialization/types/GitSkill.d.mts +15 -0
- package/dist/esm/serialization/types/GitSkill.mjs +11 -0
- package/dist/esm/serialization/types/ListAvailableMcpServersResponse.d.mts +0 -2
- package/dist/esm/serialization/types/ListAvailableMcpServersResponse.mjs +0 -2
- package/dist/esm/serialization/types/ListMcpServersResponse.d.mts +0 -2
- package/dist/esm/serialization/types/ListMcpServersResponse.mjs +0 -2
- package/dist/esm/serialization/types/ListPermissionsResponse.d.mts +10 -0
- package/dist/esm/serialization/types/ListPermissionsResponse.mjs +6 -0
- package/dist/esm/serialization/types/ListScheduleRunsResponse.d.mts +2 -0
- package/dist/esm/serialization/types/ListScheduleRunsResponse.mjs +2 -0
- package/dist/esm/serialization/types/ListSkillVersionsResponse.d.mts +10 -0
- package/dist/esm/serialization/types/ListSkillVersionsResponse.mjs +6 -0
- package/dist/esm/serialization/types/PermissionResourceType.d.mts +7 -0
- package/dist/esm/serialization/types/PermissionResourceType.mjs +3 -0
- package/dist/esm/serialization/types/ResourcePermission.d.mts +7 -0
- package/dist/esm/serialization/types/ResourcePermission.mjs +3 -0
- package/dist/esm/serialization/types/ScheduleRun.d.mts +1 -0
- package/dist/esm/serialization/types/ScheduleRun.mjs +1 -0
- package/dist/esm/serialization/types/Skill.d.mts +1 -0
- package/dist/esm/serialization/types/Skill.mjs +1 -0
- package/dist/esm/serialization/types/SkillManifest.d.mts +4 -11
- package/dist/esm/serialization/types/SkillManifest.mjs +3 -10
- package/dist/esm/serialization/types/SkillVersion.d.mts +12 -0
- package/dist/esm/serialization/types/SkillVersion.mjs +8 -0
- package/dist/esm/serialization/types/TrueFoundryRegistrySkill.d.mts +14 -0
- package/dist/esm/serialization/types/TrueFoundryRegistrySkill.mjs +10 -0
- package/dist/esm/serialization/types/index.d.mts +9 -1
- package/dist/esm/serialization/types/index.mjs +9 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -12
- package/reference.md +210 -15
- package/dist/cjs/api/resources/settings/resources/mcpServers/client/requests/ListMcpServersRequest.d.ts +0 -10
- package/dist/cjs/api/types/SkillType.d.ts +0 -1
- package/dist/esm/api/resources/mcpServers/client/requests/ListMcpServersRequest.d.mts +0 -10
- package/dist/esm/api/types/SkillType.d.mts +0 -1
- /package/dist/cjs/api/resources/{mcpServers/client/requests/ListMcpServersRequest.js → internal/client/requests/ListPermissionsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{settings/resources/mcpServers/client/requests/ListMcpServersRequest.js → internal/resources/agents/client/requests/GetCodeSnippetsAgentsRequest.js} +0 -0
- /package/dist/cjs/api/{types/SkillType.js → resources/schedules/client/requests/ListRunsSchedulesRequest.js} +0 -0
- /package/dist/esm/api/resources/{mcpServers/client/requests/ListMcpServersRequest.mjs → internal/client/requests/ListPermissionsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{settings/resources/mcpServers/client/requests/ListMcpServersRequest.mjs → internal/resources/agents/client/requests/GetCodeSnippetsAgentsRequest.mjs} +0 -0
- /package/dist/esm/api/{types/SkillType.mjs → resources/schedules/client/requests/ListRunsSchedulesRequest.mjs} +0 -0
|
@@ -27,6 +27,7 @@ export * from "./CatalogModel.mjs";
|
|
|
27
27
|
export * from "./CatalogModelProvider.mjs";
|
|
28
28
|
export * from "./CatalogSandboxProvider.mjs";
|
|
29
29
|
export * from "./CatalogSkill.mjs";
|
|
30
|
+
export * from "./CatalogSkillType.mjs";
|
|
30
31
|
export * from "./CatalogWellKnownModelProvider.mjs";
|
|
31
32
|
export * from "./CatalogWellKnownModelProviderType.mjs";
|
|
32
33
|
export * from "./ChatCompletionChunkDeltaToolCall.mjs";
|
|
@@ -58,6 +59,7 @@ export * from "./FireworksModelProvider.mjs";
|
|
|
58
59
|
export * from "./GenerativeUiConfig.mjs";
|
|
59
60
|
export * from "./GetAgentCodeSnippetsResponse.mjs";
|
|
60
61
|
export * from "./GetAgentResponse.mjs";
|
|
62
|
+
export * from "./GetAvailableMcpServerResponse.mjs";
|
|
61
63
|
export * from "./GetCapabilitiesResponse.mjs";
|
|
62
64
|
export * from "./GetMcpServerCatalogResponse.mjs";
|
|
63
65
|
export * from "./GetMcpServerResponse.mjs";
|
|
@@ -75,6 +77,7 @@ export * from "./GetSessionResponse.mjs";
|
|
|
75
77
|
export * from "./GetSkillCatalogResponse.mjs";
|
|
76
78
|
export * from "./GetSkillResponse.mjs";
|
|
77
79
|
export * from "./GetTurnResponse.mjs";
|
|
80
|
+
export * from "./GitSkill.mjs";
|
|
78
81
|
export * from "./GoogleGeminiModelProvider.mjs";
|
|
79
82
|
export * from "./InitialUserMessage.mjs";
|
|
80
83
|
export * from "./InputTokensCompactionTrigger.mjs";
|
|
@@ -86,12 +89,14 @@ export * from "./ListAvailableSkillsResponse.mjs";
|
|
|
86
89
|
export * from "./ListMcpServersResponse.mjs";
|
|
87
90
|
export * from "./ListMcpServerToolsResponse.mjs";
|
|
88
91
|
export * from "./ListModelProvidersResponse.mjs";
|
|
92
|
+
export * from "./ListPermissionsResponse.mjs";
|
|
89
93
|
export * from "./ListScheduleRunsResponse.mjs";
|
|
90
94
|
export * from "./ListSchedulesResponse.mjs";
|
|
91
95
|
export * from "./ListSessionEventsResponse.mjs";
|
|
92
96
|
export * from "./ListSessionsOrder.mjs";
|
|
93
97
|
export * from "./ListSessionsResponse.mjs";
|
|
94
98
|
export * from "./ListSkillsResponse.mjs";
|
|
99
|
+
export * from "./ListSkillVersionsResponse.mjs";
|
|
95
100
|
export * from "./ListTurnEventsOrder.mjs";
|
|
96
101
|
export * from "./ListTurnEventsResponse.mjs";
|
|
97
102
|
export * from "./ListTurnsResponse.mjs";
|
|
@@ -130,12 +135,14 @@ export * from "./ModelProviderAuth.mjs";
|
|
|
130
135
|
export * from "./ModelProviderManifest.mjs";
|
|
131
136
|
export * from "./MoonshotModelProvider.mjs";
|
|
132
137
|
export * from "./OpenAiModelProvider.mjs";
|
|
138
|
+
export * from "./PermissionResourceType.mjs";
|
|
133
139
|
export * from "./PreviousTurnIdInput.mjs";
|
|
134
140
|
export * from "./RawToolCall.mjs";
|
|
135
141
|
export * from "./ReasoningEffort.mjs";
|
|
136
142
|
export * from "./RequestErrorResponse.mjs";
|
|
137
143
|
export * from "./RequestErrorResponseError.mjs";
|
|
138
144
|
export * from "./ResourceName.mjs";
|
|
145
|
+
export * from "./ResourcePermission.mjs";
|
|
139
146
|
export * from "./ResponseFormat.mjs";
|
|
140
147
|
export * from "./ResponseFormatJsonObject.mjs";
|
|
141
148
|
export * from "./ResponseFormatJsonSchema.mjs";
|
|
@@ -179,7 +186,7 @@ export * from "./SettingsCapability.mjs";
|
|
|
179
186
|
export * from "./Skill.mjs";
|
|
180
187
|
export * from "./SkillCapability.mjs";
|
|
181
188
|
export * from "./SkillManifest.mjs";
|
|
182
|
-
export * from "./
|
|
189
|
+
export * from "./SkillVersion.mjs";
|
|
183
190
|
export * from "./TextContent.mjs";
|
|
184
191
|
export * from "./ThreadCreatedEvent.mjs";
|
|
185
192
|
export * from "./ThreadDoneEvent.mjs";
|
|
@@ -196,6 +203,7 @@ export * from "./ToolInfo.mjs";
|
|
|
196
203
|
export * from "./ToolResponseEvent.mjs";
|
|
197
204
|
export * from "./ToolResponseRequiredEvent.mjs";
|
|
198
205
|
export * from "./TrueFoundryModelProvider.mjs";
|
|
206
|
+
export * from "./TrueFoundryRegistrySkill.mjs";
|
|
199
207
|
export * from "./TrueFoundrySystemToolInfo.mjs";
|
|
200
208
|
export * from "./Turn.mjs";
|
|
201
209
|
export * from "./TurnCreatedEvent.mjs";
|
|
@@ -27,6 +27,7 @@ export * from "./CatalogModel.mjs";
|
|
|
27
27
|
export * from "./CatalogModelProvider.mjs";
|
|
28
28
|
export * from "./CatalogSandboxProvider.mjs";
|
|
29
29
|
export * from "./CatalogSkill.mjs";
|
|
30
|
+
export * from "./CatalogSkillType.mjs";
|
|
30
31
|
export * from "./CatalogWellKnownModelProvider.mjs";
|
|
31
32
|
export * from "./CatalogWellKnownModelProviderType.mjs";
|
|
32
33
|
export * from "./ChatCompletionChunkDeltaToolCall.mjs";
|
|
@@ -58,6 +59,7 @@ export * from "./FireworksModelProvider.mjs";
|
|
|
58
59
|
export * from "./GenerativeUiConfig.mjs";
|
|
59
60
|
export * from "./GetAgentCodeSnippetsResponse.mjs";
|
|
60
61
|
export * from "./GetAgentResponse.mjs";
|
|
62
|
+
export * from "./GetAvailableMcpServerResponse.mjs";
|
|
61
63
|
export * from "./GetCapabilitiesResponse.mjs";
|
|
62
64
|
export * from "./GetMcpServerCatalogResponse.mjs";
|
|
63
65
|
export * from "./GetMcpServerResponse.mjs";
|
|
@@ -75,6 +77,7 @@ export * from "./GetSessionResponse.mjs";
|
|
|
75
77
|
export * from "./GetSkillCatalogResponse.mjs";
|
|
76
78
|
export * from "./GetSkillResponse.mjs";
|
|
77
79
|
export * from "./GetTurnResponse.mjs";
|
|
80
|
+
export * from "./GitSkill.mjs";
|
|
78
81
|
export * from "./GoogleGeminiModelProvider.mjs";
|
|
79
82
|
export * from "./InitialUserMessage.mjs";
|
|
80
83
|
export * from "./InputTokensCompactionTrigger.mjs";
|
|
@@ -86,12 +89,14 @@ export * from "./ListAvailableSkillsResponse.mjs";
|
|
|
86
89
|
export * from "./ListMcpServersResponse.mjs";
|
|
87
90
|
export * from "./ListMcpServerToolsResponse.mjs";
|
|
88
91
|
export * from "./ListModelProvidersResponse.mjs";
|
|
92
|
+
export * from "./ListPermissionsResponse.mjs";
|
|
89
93
|
export * from "./ListScheduleRunsResponse.mjs";
|
|
90
94
|
export * from "./ListSchedulesResponse.mjs";
|
|
91
95
|
export * from "./ListSessionEventsResponse.mjs";
|
|
92
96
|
export * from "./ListSessionsOrder.mjs";
|
|
93
97
|
export * from "./ListSessionsResponse.mjs";
|
|
94
98
|
export * from "./ListSkillsResponse.mjs";
|
|
99
|
+
export * from "./ListSkillVersionsResponse.mjs";
|
|
95
100
|
export * from "./ListTurnEventsOrder.mjs";
|
|
96
101
|
export * from "./ListTurnEventsResponse.mjs";
|
|
97
102
|
export * from "./ListTurnsResponse.mjs";
|
|
@@ -130,12 +135,14 @@ export * from "./ModelProviderAuth.mjs";
|
|
|
130
135
|
export * from "./ModelProviderManifest.mjs";
|
|
131
136
|
export * from "./MoonshotModelProvider.mjs";
|
|
132
137
|
export * from "./OpenAiModelProvider.mjs";
|
|
138
|
+
export * from "./PermissionResourceType.mjs";
|
|
133
139
|
export * from "./PreviousTurnIdInput.mjs";
|
|
134
140
|
export * from "./RawToolCall.mjs";
|
|
135
141
|
export * from "./ReasoningEffort.mjs";
|
|
136
142
|
export * from "./RequestErrorResponse.mjs";
|
|
137
143
|
export * from "./RequestErrorResponseError.mjs";
|
|
138
144
|
export * from "./ResourceName.mjs";
|
|
145
|
+
export * from "./ResourcePermission.mjs";
|
|
139
146
|
export * from "./ResponseFormat.mjs";
|
|
140
147
|
export * from "./ResponseFormatJsonObject.mjs";
|
|
141
148
|
export * from "./ResponseFormatJsonSchema.mjs";
|
|
@@ -179,7 +186,7 @@ export * from "./SettingsCapability.mjs";
|
|
|
179
186
|
export * from "./Skill.mjs";
|
|
180
187
|
export * from "./SkillCapability.mjs";
|
|
181
188
|
export * from "./SkillManifest.mjs";
|
|
182
|
-
export * from "./
|
|
189
|
+
export * from "./SkillVersion.mjs";
|
|
183
190
|
export * from "./TextContent.mjs";
|
|
184
191
|
export * from "./ThreadCreatedEvent.mjs";
|
|
185
192
|
export * from "./ThreadDoneEvent.mjs";
|
|
@@ -196,6 +203,7 @@ export * from "./ToolInfo.mjs";
|
|
|
196
203
|
export * from "./ToolResponseEvent.mjs";
|
|
197
204
|
export * from "./ToolResponseRequiredEvent.mjs";
|
|
198
205
|
export * from "./TrueFoundryModelProvider.mjs";
|
|
206
|
+
export * from "./TrueFoundryRegistrySkill.mjs";
|
|
199
207
|
export * from "./TrueFoundrySystemToolInfo.mjs";
|
|
200
208
|
export * from "./Turn.mjs";
|
|
201
209
|
export * from "./TurnCreatedEvent.mjs";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./agents/client/requests/index.mjs";
|
|
2
2
|
export * as agents from "./agents/index.mjs";
|
|
3
|
+
export * from "./internal/client/requests/index.mjs";
|
|
3
4
|
export * as internal from "./internal/index.mjs";
|
|
4
5
|
export * from "./schedules/client/requests/index.mjs";
|
|
5
6
|
export * as schedules from "./schedules/index.mjs";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./agents/client/requests/index.mjs";
|
|
2
2
|
export * as agents from "./agents/index.mjs";
|
|
3
|
+
export * from "./internal/client/requests/index.mjs";
|
|
3
4
|
export * as internal from "./internal/index.mjs";
|
|
4
5
|
export * from "./schedules/client/requests/index.mjs";
|
|
5
6
|
export * as schedules from "./schedules/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
package/dist/esm/serialization/resources/internal/client/requests/ListPermissionsRequest.d.mts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as TrueForge from "../../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../../index.mjs";
|
|
4
|
+
import { PermissionResourceType } from "../../../../types/PermissionResourceType.mjs";
|
|
5
|
+
export declare const ListPermissionsRequest: core.serialization.Schema<serializers.ListPermissionsRequest.Raw, TrueForge.ListPermissionsRequest>;
|
|
6
|
+
export declare namespace ListPermissionsRequest {
|
|
7
|
+
interface Raw {
|
|
8
|
+
resource_ids: string[];
|
|
9
|
+
resource_type: PermissionResourceType.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import { PermissionResourceType } from "../../../../types/PermissionResourceType.mjs";
|
|
4
|
+
export const ListPermissionsRequest = core.serialization.object({
|
|
5
|
+
resourceIds: core.serialization.property("resource_ids", core.serialization.list(core.serialization.string())),
|
|
6
|
+
resourceType: core.serialization.property("resource_type", PermissionResourceType),
|
|
7
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ListPermissionsRequest } from "./ListPermissionsRequest.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ListPermissionsRequest } from "./ListPermissionsRequest.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { ResourceName } from "./ResourceName.mjs";
|
|
5
4
|
export declare const AvailableSkill: core.serialization.ObjectSchema<serializers.AvailableSkill.Raw, TrueForge.AvailableSkill>;
|
|
6
5
|
export declare namespace AvailableSkill {
|
|
7
6
|
interface Raw {
|
|
8
7
|
description: string;
|
|
9
|
-
|
|
8
|
+
metadata?: Record<string, string> | null;
|
|
9
|
+
name: string;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { ResourceName } from "./ResourceName.mjs";
|
|
4
3
|
export const AvailableSkill = core.serialization.object({
|
|
5
4
|
description: core.serialization.string(),
|
|
6
|
-
|
|
5
|
+
metadata: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
6
|
+
name: core.serialization.string(),
|
|
7
7
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { CatalogSkillType } from "./CatalogSkillType.mjs";
|
|
4
5
|
import { ResourceName } from "./ResourceName.mjs";
|
|
5
|
-
import { SkillType } from "./SkillType.mjs";
|
|
6
6
|
export declare const CatalogSkill: core.serialization.ObjectSchema<serializers.CatalogSkill.Raw, TrueForge.CatalogSkill>;
|
|
7
7
|
export declare namespace CatalogSkill {
|
|
8
8
|
interface Raw {
|
|
@@ -10,7 +10,7 @@ export declare namespace CatalogSkill {
|
|
|
10
10
|
name: ResourceName.Raw;
|
|
11
11
|
path?: string | null;
|
|
12
12
|
ref: string;
|
|
13
|
-
type:
|
|
13
|
+
type: CatalogSkillType.Raw;
|
|
14
14
|
url: string;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { CatalogSkillType } from "./CatalogSkillType.mjs";
|
|
3
4
|
import { ResourceName } from "./ResourceName.mjs";
|
|
4
|
-
import { SkillType } from "./SkillType.mjs";
|
|
5
5
|
export const CatalogSkill = core.serialization.object({
|
|
6
6
|
description: core.serialization.string(),
|
|
7
7
|
name: ResourceName,
|
|
8
8
|
path: core.serialization.string().optional(),
|
|
9
9
|
ref: core.serialization.string(),
|
|
10
|
-
type:
|
|
10
|
+
type: CatalogSkillType,
|
|
11
11
|
url: core.serialization.string(),
|
|
12
12
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
export declare const
|
|
5
|
-
export declare namespace
|
|
4
|
+
export declare const CatalogSkillType: core.serialization.Schema<serializers.CatalogSkillType.Raw, TrueForge.CatalogSkillType>;
|
|
5
|
+
export declare namespace CatalogSkillType {
|
|
6
6
|
type Raw = "git";
|
|
7
7
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
import { ResourceName } from "./ResourceName.mjs";
|
|
5
4
|
import { SkillManifest } from "./SkillManifest.mjs";
|
|
6
5
|
export declare const ConfiguredSkill: core.serialization.ObjectSchema<serializers.ConfiguredSkill.Raw, TrueForge.ConfiguredSkill>;
|
|
7
6
|
export declare namespace ConfiguredSkill {
|
|
8
7
|
interface Raw {
|
|
9
8
|
manifest: SkillManifest.Raw;
|
|
10
|
-
name:
|
|
9
|
+
name: string;
|
|
11
10
|
}
|
|
12
11
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
import { ResourceName } from "./ResourceName.mjs";
|
|
4
3
|
import { SkillManifest } from "./SkillManifest.mjs";
|
|
5
4
|
export const ConfiguredSkill = core.serialization.object({
|
|
6
5
|
manifest: SkillManifest,
|
|
7
|
-
name:
|
|
6
|
+
name: core.serialization.string(),
|
|
8
7
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { AvailableMcpServer } from "./AvailableMcpServer.mjs";
|
|
5
|
+
export declare const GetAvailableMcpServerResponse: core.serialization.ObjectSchema<serializers.GetAvailableMcpServerResponse.Raw, TrueForge.GetAvailableMcpServerResponse>;
|
|
6
|
+
export declare namespace GetAvailableMcpServerResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: AvailableMcpServer.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { AvailableMcpServer } from "./AvailableMcpServer.mjs";
|
|
4
|
+
export const GetAvailableMcpServerResponse = core.serialization.object({
|
|
5
|
+
data: AvailableMcpServer,
|
|
6
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { ResourceName } from "./ResourceName.mjs";
|
|
5
|
+
export declare const GitSkill: core.serialization.ObjectSchema<serializers.GitSkill.Raw, TrueForge.GitSkill>;
|
|
6
|
+
export declare namespace GitSkill {
|
|
7
|
+
interface Raw {
|
|
8
|
+
description: string;
|
|
9
|
+
name: ResourceName.Raw;
|
|
10
|
+
path?: string | null;
|
|
11
|
+
ref: string;
|
|
12
|
+
type: "git";
|
|
13
|
+
url: string;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { ResourceName } from "./ResourceName.mjs";
|
|
4
|
+
export const GitSkill = core.serialization.object({
|
|
5
|
+
description: core.serialization.string(),
|
|
6
|
+
name: ResourceName,
|
|
7
|
+
path: core.serialization.string().optional(),
|
|
8
|
+
ref: core.serialization.string(),
|
|
9
|
+
type: core.serialization.stringLiteral("git"),
|
|
10
|
+
url: core.serialization.string(),
|
|
11
|
+
});
|
|
@@ -2,11 +2,9 @@ import type * as TrueForge from "../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { AvailableMcpServer } from "./AvailableMcpServer.mjs";
|
|
5
|
-
import { TokenPagination } from "./TokenPagination.mjs";
|
|
6
5
|
export declare const ListAvailableMcpServersResponse: core.serialization.ObjectSchema<serializers.ListAvailableMcpServersResponse.Raw, TrueForge.ListAvailableMcpServersResponse>;
|
|
7
6
|
export declare namespace ListAvailableMcpServersResponse {
|
|
8
7
|
interface Raw {
|
|
9
8
|
data: AvailableMcpServer.Raw[];
|
|
10
|
-
pagination: TokenPagination.Raw;
|
|
11
9
|
}
|
|
12
10
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { AvailableMcpServer } from "./AvailableMcpServer.mjs";
|
|
4
|
-
import { TokenPagination } from "./TokenPagination.mjs";
|
|
5
4
|
export const ListAvailableMcpServersResponse = core.serialization.object({
|
|
6
5
|
data: core.serialization.list(AvailableMcpServer),
|
|
7
|
-
pagination: TokenPagination,
|
|
8
6
|
});
|
|
@@ -2,11 +2,9 @@ import type * as TrueForge from "../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { ConfiguredMcpServer } from "./ConfiguredMcpServer.mjs";
|
|
5
|
-
import { TokenPagination } from "./TokenPagination.mjs";
|
|
6
5
|
export declare const ListMcpServersResponse: core.serialization.ObjectSchema<serializers.ListMcpServersResponse.Raw, TrueForge.ListMcpServersResponse>;
|
|
7
6
|
export declare namespace ListMcpServersResponse {
|
|
8
7
|
interface Raw {
|
|
9
8
|
data: ConfiguredMcpServer.Raw[];
|
|
10
|
-
pagination: TokenPagination.Raw;
|
|
11
9
|
}
|
|
12
10
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { ConfiguredMcpServer } from "./ConfiguredMcpServer.mjs";
|
|
4
|
-
import { TokenPagination } from "./TokenPagination.mjs";
|
|
5
4
|
export const ListMcpServersResponse = core.serialization.object({
|
|
6
5
|
data: core.serialization.list(ConfiguredMcpServer),
|
|
7
|
-
pagination: TokenPagination,
|
|
8
6
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { ResourcePermission } from "./ResourcePermission.mjs";
|
|
5
|
+
export declare const ListPermissionsResponse: core.serialization.ObjectSchema<serializers.ListPermissionsResponse.Raw, TrueForge.ListPermissionsResponse>;
|
|
6
|
+
export declare namespace ListPermissionsResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: Record<string, ResourcePermission.Raw[]>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { ResourcePermission } from "./ResourcePermission.mjs";
|
|
4
|
+
export const ListPermissionsResponse = core.serialization.object({
|
|
5
|
+
data: core.serialization.record(core.serialization.string(), core.serialization.list(ResourcePermission)),
|
|
6
|
+
});
|
|
@@ -2,9 +2,11 @@ import type * as TrueForge from "../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { ScheduleRun } from "./ScheduleRun.mjs";
|
|
5
|
+
import { TokenPagination } from "./TokenPagination.mjs";
|
|
5
6
|
export declare const ListScheduleRunsResponse: core.serialization.ObjectSchema<serializers.ListScheduleRunsResponse.Raw, TrueForge.ListScheduleRunsResponse>;
|
|
6
7
|
export declare namespace ListScheduleRunsResponse {
|
|
7
8
|
interface Raw {
|
|
8
9
|
data: ScheduleRun.Raw[];
|
|
10
|
+
pagination: TokenPagination.Raw;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { ScheduleRun } from "./ScheduleRun.mjs";
|
|
4
|
+
import { TokenPagination } from "./TokenPagination.mjs";
|
|
4
5
|
export const ListScheduleRunsResponse = core.serialization.object({
|
|
5
6
|
data: core.serialization.list(ScheduleRun),
|
|
7
|
+
pagination: TokenPagination,
|
|
6
8
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { SkillVersion } from "./SkillVersion.mjs";
|
|
5
|
+
export declare const ListSkillVersionsResponse: core.serialization.ObjectSchema<serializers.ListSkillVersionsResponse.Raw, TrueForge.ListSkillVersionsResponse>;
|
|
6
|
+
export declare namespace ListSkillVersionsResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: SkillVersion.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import { SkillVersion } from "./SkillVersion.mjs";
|
|
4
|
+
export const ListSkillVersionsResponse = core.serialization.object({
|
|
5
|
+
data: core.serialization.list(SkillVersion),
|
|
6
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const PermissionResourceType: core.serialization.Schema<serializers.PermissionResourceType.Raw, TrueForge.PermissionResourceType>;
|
|
5
|
+
export declare namespace PermissionResourceType {
|
|
6
|
+
type Raw = "agent" | "schedule" | "session";
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const ResourcePermission: core.serialization.Schema<serializers.ResourcePermission.Raw, TrueForge.ResourcePermission>;
|
|
5
|
+
export declare namespace ResourcePermission {
|
|
6
|
+
type Raw = "USE" | "MANAGE" | "DELETE";
|
|
7
|
+
}
|
|
@@ -7,6 +7,7 @@ export const ScheduleRun = core.serialization.object({
|
|
|
7
7
|
createdBySubject: core.serialization.property("created_by_subject", CreatedBySubject),
|
|
8
8
|
id: core.serialization.string(),
|
|
9
9
|
name: core.serialization.string(),
|
|
10
|
+
reason: core.serialization.string().nullable(),
|
|
10
11
|
scheduleId: core.serialization.property("schedule_id", core.serialization.string()),
|
|
11
12
|
scheduledFor: core.serialization.property("scheduled_for", core.serialization.date()),
|
|
12
13
|
status: ScheduleRunStatus,
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.mjs";
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export declare const SkillManifest: core.serialization.
|
|
4
|
+
import { GitSkill } from "./GitSkill.mjs";
|
|
5
|
+
import { TrueFoundryRegistrySkill } from "./TrueFoundryRegistrySkill.mjs";
|
|
6
|
+
export declare const SkillManifest: core.serialization.Schema<serializers.SkillManifest.Raw, TrueForge.SkillManifest>;
|
|
7
7
|
export declare namespace SkillManifest {
|
|
8
|
-
|
|
9
|
-
description: string;
|
|
10
|
-
name: ResourceName.Raw;
|
|
11
|
-
path?: string | null;
|
|
12
|
-
ref: string;
|
|
13
|
-
type: SkillType.Raw;
|
|
14
|
-
url: string;
|
|
15
|
-
}
|
|
8
|
+
type Raw = GitSkill.Raw | TrueFoundryRegistrySkill.Raw;
|
|
16
9
|
}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export const SkillManifest = core.serialization.
|
|
6
|
-
description: core.serialization.string(),
|
|
7
|
-
name: ResourceName,
|
|
8
|
-
path: core.serialization.string().optional(),
|
|
9
|
-
ref: core.serialization.string(),
|
|
10
|
-
type: SkillType,
|
|
11
|
-
url: core.serialization.string(),
|
|
12
|
-
});
|
|
3
|
+
import { GitSkill } from "./GitSkill.mjs";
|
|
4
|
+
import { TrueFoundryRegistrySkill } from "./TrueFoundryRegistrySkill.mjs";
|
|
5
|
+
export const SkillManifest = core.serialization.undiscriminatedUnion([GitSkill, TrueFoundryRegistrySkill]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const SkillVersion: core.serialization.ObjectSchema<serializers.SkillVersion.Raw, TrueForge.SkillVersion>;
|
|
5
|
+
export declare namespace SkillVersion {
|
|
6
|
+
interface Raw {
|
|
7
|
+
description: string;
|
|
8
|
+
display_name: string;
|
|
9
|
+
name: string;
|
|
10
|
+
version: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
export const SkillVersion = core.serialization.object({
|
|
4
|
+
description: core.serialization.string(),
|
|
5
|
+
displayName: core.serialization.property("display_name", core.serialization.string()),
|
|
6
|
+
name: core.serialization.string(),
|
|
7
|
+
version: core.serialization.number(),
|
|
8
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.mjs";
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
export declare const TrueFoundryRegistrySkill: core.serialization.ObjectSchema<serializers.TrueFoundryRegistrySkill.Raw, TrueForge.TrueFoundryRegistrySkill>;
|
|
5
|
+
export declare namespace TrueFoundryRegistrySkill {
|
|
6
|
+
interface Raw {
|
|
7
|
+
description: string;
|
|
8
|
+
display_name: string;
|
|
9
|
+
name: string;
|
|
10
|
+
repository_name: string;
|
|
11
|
+
type: "truefoundry";
|
|
12
|
+
version: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../core/index.mjs";
|
|
3
|
+
export const TrueFoundryRegistrySkill = core.serialization.object({
|
|
4
|
+
description: core.serialization.string(),
|
|
5
|
+
displayName: core.serialization.property("display_name", core.serialization.string()),
|
|
6
|
+
name: core.serialization.string(),
|
|
7
|
+
repositoryName: core.serialization.property("repository_name", core.serialization.string()),
|
|
8
|
+
type: core.serialization.stringLiteral("truefoundry"),
|
|
9
|
+
version: core.serialization.number(),
|
|
10
|
+
});
|