@truefoundry/trueforge-sdk 0.1.4-rc.2 → 0.2.0-rc.4
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 +27 -1
- package/dist/cjs/api/resources/internal/client/Client.js +141 -2
- 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 +3 -0
- package/dist/cjs/api/resources/internal/resources/index.js +7 -4
- package/dist/cjs/api/resources/internal/resources/schedules/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/internal/resources/schedules/client/Client.js +144 -0
- package/dist/cjs/api/resources/internal/resources/schedules/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/internal/resources/schedules/client/index.js +17 -0
- package/dist/cjs/api/resources/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.d.ts +10 -0
- package/dist/cjs/api/resources/internal/resources/schedules/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/internal/resources/schedules/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/internal/resources/schedules/exports.d.ts +2 -0
- package/dist/cjs/api/resources/internal/resources/schedules/exports.js +21 -0
- package/dist/cjs/api/resources/internal/resources/schedules/index.d.ts +1 -0
- package/dist/cjs/api/resources/internal/resources/schedules/index.js +17 -0
- 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/ListRunsSchedulesRequest.js +3 -0
- 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/resources/internal/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/internal/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/internal/resources/schedules/client/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/client/index.js +17 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.js +41 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/client/requests/index.js +5 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/internal/resources/schedules/index.js +17 -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 +27 -1
- package/dist/esm/api/resources/internal/client/Client.mjs +106 -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 +3 -0
- package/dist/esm/api/resources/internal/resources/index.mjs +3 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/Client.mjs +107 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/index.d.mts +1 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/index.mjs +1 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.d.mts +10 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/internal/resources/schedules/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/internal/resources/schedules/exports.d.mts +2 -0
- package/dist/esm/api/resources/internal/resources/schedules/exports.mjs +3 -0
- package/dist/esm/api/resources/internal/resources/schedules/index.d.mts +1 -0
- package/dist/esm/api/resources/internal/resources/schedules/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/ListRunsSchedulesRequest.mjs +2 -0
- 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/resources/internal/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/internal/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/client/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/client/index.mjs +1 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.d.mts +9 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.mjs +5 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/client/requests/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/client/requests/index.mjs +1 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/index.d.mts +1 -0
- package/dist/esm/serialization/resources/internal/resources/schedules/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 +23 -12
- package/reference.md +276 -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/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.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/internal/resources/schedules/client/requests/ExecuteScheduleRunRequest.mjs} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
|
+
import { CatalogSkillType } from "./CatalogSkillType.js";
|
|
4
5
|
import { ResourceName } from "./ResourceName.js";
|
|
5
|
-
import { SkillType } from "./SkillType.js";
|
|
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
|
}
|
|
@@ -36,13 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.CatalogSkill = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const CatalogSkillType_js_1 = require("./CatalogSkillType.js");
|
|
39
40
|
const ResourceName_js_1 = require("./ResourceName.js");
|
|
40
|
-
const SkillType_js_1 = require("./SkillType.js");
|
|
41
41
|
exports.CatalogSkill = core.serialization.object({
|
|
42
42
|
description: core.serialization.string(),
|
|
43
43
|
name: ResourceName_js_1.ResourceName,
|
|
44
44
|
path: core.serialization.string().optional(),
|
|
45
45
|
ref: core.serialization.string(),
|
|
46
|
-
type:
|
|
46
|
+
type: CatalogSkillType_js_1.CatalogSkillType,
|
|
47
47
|
url: core.serialization.string(),
|
|
48
48
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
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
|
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.CatalogSkillType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.CatalogSkillType = core.serialization.stringLiteral("git");
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
|
-
import { ResourceName } from "./ResourceName.js";
|
|
5
4
|
import { SkillManifest } from "./SkillManifest.js";
|
|
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
|
}
|
|
@@ -36,9 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ConfiguredSkill = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const ResourceName_js_1 = require("./ResourceName.js");
|
|
40
39
|
const SkillManifest_js_1 = require("./SkillManifest.js");
|
|
41
40
|
exports.ConfiguredSkill = core.serialization.object({
|
|
42
41
|
manifest: SkillManifest_js_1.SkillManifest,
|
|
43
|
-
name:
|
|
42
|
+
name: core.serialization.string(),
|
|
44
43
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { AvailableMcpServer } from "./AvailableMcpServer.js";
|
|
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,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.GetAvailableMcpServerResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const AvailableMcpServer_js_1 = require("./AvailableMcpServer.js");
|
|
40
|
+
exports.GetAvailableMcpServerResponse = core.serialization.object({
|
|
41
|
+
data: AvailableMcpServer_js_1.AvailableMcpServer,
|
|
42
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { ResourceName } from "./ResourceName.js";
|
|
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,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.GitSkill = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const ResourceName_js_1 = require("./ResourceName.js");
|
|
40
|
+
exports.GitSkill = core.serialization.object({
|
|
41
|
+
description: core.serialization.string(),
|
|
42
|
+
name: ResourceName_js_1.ResourceName,
|
|
43
|
+
path: core.serialization.string().optional(),
|
|
44
|
+
ref: core.serialization.string(),
|
|
45
|
+
type: core.serialization.stringLiteral("git"),
|
|
46
|
+
url: core.serialization.string(),
|
|
47
|
+
});
|
|
@@ -2,11 +2,9 @@ import type * as TrueForge from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { AvailableMcpServer } from "./AvailableMcpServer.js";
|
|
5
|
-
import { TokenPagination } from "./TokenPagination.js";
|
|
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
|
}
|
|
@@ -37,8 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListAvailableMcpServersResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const AvailableMcpServer_js_1 = require("./AvailableMcpServer.js");
|
|
40
|
-
const TokenPagination_js_1 = require("./TokenPagination.js");
|
|
41
40
|
exports.ListAvailableMcpServersResponse = core.serialization.object({
|
|
42
41
|
data: core.serialization.list(AvailableMcpServer_js_1.AvailableMcpServer),
|
|
43
|
-
pagination: TokenPagination_js_1.TokenPagination,
|
|
44
42
|
});
|
|
@@ -2,11 +2,9 @@ import type * as TrueForge from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { ConfiguredMcpServer } from "./ConfiguredMcpServer.js";
|
|
5
|
-
import { TokenPagination } from "./TokenPagination.js";
|
|
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
|
}
|
|
@@ -37,8 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListMcpServersResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const ConfiguredMcpServer_js_1 = require("./ConfiguredMcpServer.js");
|
|
40
|
-
const TokenPagination_js_1 = require("./TokenPagination.js");
|
|
41
40
|
exports.ListMcpServersResponse = core.serialization.object({
|
|
42
41
|
data: core.serialization.list(ConfiguredMcpServer_js_1.ConfiguredMcpServer),
|
|
43
|
-
pagination: TokenPagination_js_1.TokenPagination,
|
|
44
42
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { ResourcePermission } from "./ResourcePermission.js";
|
|
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,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListPermissionsResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const ResourcePermission_js_1 = require("./ResourcePermission.js");
|
|
40
|
+
exports.ListPermissionsResponse = core.serialization.object({
|
|
41
|
+
data: core.serialization.record(core.serialization.string(), core.serialization.list(ResourcePermission_js_1.ResourcePermission)),
|
|
42
|
+
});
|
|
@@ -2,9 +2,11 @@ import type * as TrueForge from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { ScheduleRun } from "./ScheduleRun.js";
|
|
5
|
+
import { TokenPagination } from "./TokenPagination.js";
|
|
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
|
}
|
|
@@ -37,6 +37,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ListScheduleRunsResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const ScheduleRun_js_1 = require("./ScheduleRun.js");
|
|
40
|
+
const TokenPagination_js_1 = require("./TokenPagination.js");
|
|
40
41
|
exports.ListScheduleRunsResponse = core.serialization.object({
|
|
41
42
|
data: core.serialization.list(ScheduleRun_js_1.ScheduleRun),
|
|
43
|
+
pagination: TokenPagination_js_1.TokenPagination,
|
|
42
44
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { SkillVersion } from "./SkillVersion.js";
|
|
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,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListSkillVersionsResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
const SkillVersion_js_1 = require("./SkillVersion.js");
|
|
40
|
+
exports.ListSkillVersionsResponse = core.serialization.object({
|
|
41
|
+
data: core.serialization.list(SkillVersion_js_1.SkillVersion),
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
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,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.PermissionResourceType = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.PermissionResourceType = core.serialization.enum_(["agent", "schedule", "session"]);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ResourcePermission = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.ResourcePermission = core.serialization.enum_(["USE", "MANAGE", "DELETE"]);
|
|
@@ -43,6 +43,7 @@ exports.ScheduleRun = core.serialization.object({
|
|
|
43
43
|
createdBySubject: core.serialization.property("created_by_subject", CreatedBySubject_js_1.CreatedBySubject),
|
|
44
44
|
id: core.serialization.string(),
|
|
45
45
|
name: core.serialization.string(),
|
|
46
|
+
reason: core.serialization.string().nullable(),
|
|
46
47
|
scheduleId: core.serialization.property("schedule_id", core.serialization.string()),
|
|
47
48
|
scheduledFor: core.serialization.property("scheduled_for", core.serialization.date()),
|
|
48
49
|
status: ScheduleRunStatus_js_1.ScheduleRunStatus,
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import type * as TrueForge from "../../api/index.js";
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export declare const SkillManifest: core.serialization.
|
|
4
|
+
import { GitSkill } from "./GitSkill.js";
|
|
5
|
+
import { TrueFoundryRegistrySkill } from "./TrueFoundryRegistrySkill.js";
|
|
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
|
}
|
|
@@ -36,13 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SkillManifest = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
const
|
|
40
|
-
const
|
|
41
|
-
exports.SkillManifest = core.serialization.
|
|
42
|
-
description: core.serialization.string(),
|
|
43
|
-
name: ResourceName_js_1.ResourceName,
|
|
44
|
-
path: core.serialization.string().optional(),
|
|
45
|
-
ref: core.serialization.string(),
|
|
46
|
-
type: SkillType_js_1.SkillType,
|
|
47
|
-
url: core.serialization.string(),
|
|
48
|
-
});
|
|
39
|
+
const GitSkill_js_1 = require("./GitSkill.js");
|
|
40
|
+
const TrueFoundryRegistrySkill_js_1 = require("./TrueFoundryRegistrySkill.js");
|
|
41
|
+
exports.SkillManifest = core.serialization.undiscriminatedUnion([GitSkill_js_1.GitSkill, TrueFoundryRegistrySkill_js_1.TrueFoundryRegistrySkill]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
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,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SkillVersion = void 0;
|
|
38
|
+
const core = __importStar(require("../../core/index.js"));
|
|
39
|
+
exports.SkillVersion = core.serialization.object({
|
|
40
|
+
description: core.serialization.string(),
|
|
41
|
+
displayName: core.serialization.property("display_name", core.serialization.string()),
|
|
42
|
+
name: core.serialization.string(),
|
|
43
|
+
version: core.serialization.number(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as TrueForge from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
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
|
+
}
|