diff --git a/mcp/ai-sdk/package.json b/mcp/ai-sdk/package.json index 8c7e705e..fc3659d3 100644 --- a/mcp/ai-sdk/package.json +++ b/mcp/ai-sdk/package.json @@ -35,7 +35,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-session": "^3.0.1", "@metorial/mcp-sdk-utils": "^3.0.1", "zod": "^3.22.4" diff --git a/mcp/anthropic/package.json b/mcp/anthropic/package.json index 8d3b878d..3a0d600f 100644 --- a/mcp/anthropic/package.json +++ b/mcp/anthropic/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "@metorial/openai-compatible": "^3.0.1" diff --git a/mcp/deepseek/package.json b/mcp/deepseek/package.json index 2c8d1008..16c8558a 100644 --- a/mcp/deepseek/package.json +++ b/mcp/deepseek/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "@metorial/openai-compatible": "^3.0.1" diff --git a/mcp/google/package.json b/mcp/google/package.json index 894314eb..0b66495a 100644 --- a/mcp/google/package.json +++ b/mcp/google/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "@metorial/openai-compatible": "^3.0.1" diff --git a/mcp/langchain/package.json b/mcp/langchain/package.json index 88af50cd..87105d8f 100644 --- a/mcp/langchain/package.json +++ b/mcp/langchain/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "zod": "^3.22.4" diff --git a/mcp/mcp-session/package.json b/mcp/mcp-session/package.json index 359d58a5..062a5f78 100644 --- a/mcp/mcp-session/package.json +++ b/mcp/mcp-session/package.json @@ -30,8 +30,8 @@ ], "dependencies": { "@metorial/json-schema": "^3.0.0", - "@metorial/core": "^3.0.1", - "@metorial/generated": "^3.0.0", + "@metorial/core": "^3.0.2", + "@metorial/generated": "^3.0.2", "@metorial/util-endpoint": "^3.0.0", "@modelcontextprotocol/sdk": "^1.12.1", "eventsource-parser": "^3.0.0" diff --git a/mcp/mistral/package.json b/mcp/mistral/package.json index 8bd156d1..54c274a8 100644 --- a/mcp/mistral/package.json +++ b/mcp/mistral/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1" }, diff --git a/mcp/openai-compatible/package.json b/mcp/openai-compatible/package.json index b6ec1007..8742a832 100644 --- a/mcp/openai-compatible/package.json +++ b/mcp/openai-compatible/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1" }, diff --git a/mcp/openai/package.json b/mcp/openai/package.json index 181b68e0..94261994 100644 --- a/mcp/openai/package.json +++ b/mcp/openai/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "@metorial/openai-compatible": "^3.0.1" diff --git a/mcp/togetherai/package.json b/mcp/togetherai/package.json index b5a80c5a..b85d8536 100644 --- a/mcp/togetherai/package.json +++ b/mcp/togetherai/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "@metorial/openai-compatible": "^3.0.1" diff --git a/mcp/xai/package.json b/mcp/xai/package.json index ec9c928e..c718ef42 100644 --- a/mcp/xai/package.json +++ b/mcp/xai/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-sdk-utils": "^3.0.1", "@metorial/mcp-session": "^3.0.1", "@metorial/openai-compatible": "^3.0.1" diff --git a/packages/mcp-sdk-utils/package.json b/packages/mcp-sdk-utils/package.json index 22d0ed23..ab850f2e 100644 --- a/packages/mcp-sdk-utils/package.json +++ b/packages/mcp-sdk-utils/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-session": "^3.0.1" }, "peerDependencies": { diff --git a/sdk/core/package.json b/sdk/core/package.json index 0ab3368f..5007aa05 100644 --- a/sdk/core/package.json +++ b/sdk/core/package.json @@ -1,6 +1,6 @@ { "name": "@metorial/core", - "version": "3.0.1", + "version": "3.0.2", "author": "Metorial Inc.", "license": "MIT", "type": "module", @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/generated": "^3.0.0", + "@metorial/generated": "^3.0.2", "@metorial/util-endpoint": "^3.0.0" }, "devDependencies": { @@ -39,4 +39,4 @@ "typescript": "^5.1.6", "vitest": "^0.34.6" } -} \ No newline at end of file +} diff --git a/sdk/gen/package.json b/sdk/gen/package.json index e4eaf3cb..c43bce28 100644 --- a/sdk/gen/package.json +++ b/sdk/gen/package.json @@ -1,6 +1,6 @@ { "name": "@metorial/generated", - "version": "3.0.0", + "version": "3.0.2", "author": "Metorial Inc.", "license": "MIT", "type": "module", diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers.ts index 8e382d90..31343c6f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers.ts @@ -6,6 +6,7 @@ import { import { mapDashboardInstanceCustomProvidersCreateBody, mapDashboardInstanceCustomProvidersCreateOutput, + mapDashboardInstanceCustomProvidersGetEnvOutput, mapDashboardInstanceCustomProvidersGetOutput, mapDashboardInstanceCustomProvidersListOutput, mapDashboardInstanceCustomProvidersListQuery, @@ -13,6 +14,7 @@ import { mapDashboardInstanceCustomProvidersUpdateOutput, type DashboardInstanceCustomProvidersCreateBody, type DashboardInstanceCustomProvidersCreateOutput, + type DashboardInstanceCustomProvidersGetEnvOutput, type DashboardInstanceCustomProvidersGetOutput, type DashboardInstanceCustomProvidersListOutput, type DashboardInstanceCustomProvidersListQuery, @@ -104,6 +106,33 @@ export class MetorialCustomProvidersEndpoint { ); } + /** + * @name Get custom provider environment + * @description Retrieves the environment variables for a specific custom provider by ID. + * + * @param `customProviderId` - string + * @param `opts` - { headers?: Record } + * @returns DashboardInstanceCustomProvidersGetEnvOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + getEnv( + customProviderId: string, + opts?: { headers?: Record } + ): Promise { + let path = `custom-providers/${customProviderId}/env`; + + let request = { + path, + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._get(request).transform( + mapDashboardInstanceCustomProvidersGetEnvOutput + ); + } + /** * @name Create custom provider * @description Creates a new custom provider. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers_versions.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers_versions.ts index 0fc451b1..089e7a02 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers_versions.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers_versions.ts @@ -6,11 +6,13 @@ import { import { mapDashboardInstanceCustomProvidersVersionsCreateBody, mapDashboardInstanceCustomProvidersVersionsCreateOutput, + mapDashboardInstanceCustomProvidersVersionsGetEnvOutput, mapDashboardInstanceCustomProvidersVersionsGetOutput, mapDashboardInstanceCustomProvidersVersionsListOutput, mapDashboardInstanceCustomProvidersVersionsListQuery, type DashboardInstanceCustomProvidersVersionsCreateBody, type DashboardInstanceCustomProvidersVersionsCreateOutput, + type DashboardInstanceCustomProvidersVersionsGetEnvOutput, type DashboardInstanceCustomProvidersVersionsGetOutput, type DashboardInstanceCustomProvidersVersionsListOutput, type DashboardInstanceCustomProvidersVersionsListQuery @@ -102,6 +104,33 @@ export class MetorialCustomProvidersVersionsEndpoint { ); } + /** + * @name Get custom provider version environment + * @description Retrieves the environment variables for a specific version of a custom provider. + * + * @param `customProviderVersionId` - string + * @param `opts` - { headers?: Record } + * @returns DashboardInstanceCustomProvidersVersionsGetEnvOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + getEnv( + customProviderVersionId: string, + opts?: { headers?: Record } + ): Promise { + let path = `custom-provider-versions/${customProviderVersionId}/env`; + + let request = { + path, + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._get(request).transform( + mapDashboardInstanceCustomProvidersVersionsGetEnvOutput + ); + } + /** * @name Create custom provider version * @description Creates a new version for a custom provider. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers.ts index 749b5e12..a3b56ef4 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers.ts @@ -6,6 +6,7 @@ import { import { mapDashboardInstanceCustomProvidersCreateBody, mapDashboardInstanceCustomProvidersCreateOutput, + mapDashboardInstanceCustomProvidersGetEnvOutput, mapDashboardInstanceCustomProvidersGetOutput, mapDashboardInstanceCustomProvidersListOutput, mapDashboardInstanceCustomProvidersListQuery, @@ -13,6 +14,7 @@ import { mapDashboardInstanceCustomProvidersUpdateOutput, type DashboardInstanceCustomProvidersCreateBody, type DashboardInstanceCustomProvidersCreateOutput, + type DashboardInstanceCustomProvidersGetEnvOutput, type DashboardInstanceCustomProvidersGetOutput, type DashboardInstanceCustomProvidersListOutput, type DashboardInstanceCustomProvidersListQuery, @@ -108,6 +110,35 @@ export class MetorialDashboardInstanceCustomProvidersEndpoint { ); } + /** + * @name Get custom provider environment + * @description Retrieves the environment variables for a specific custom provider by ID. + * + * @param `instanceId` - string + * @param `customProviderId` - string + * @param `opts` - { headers?: Record } + * @returns DashboardInstanceCustomProvidersGetEnvOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + getEnv( + instanceId: string, + customProviderId: string, + opts?: { headers?: Record } + ): Promise { + let path = `dashboard/instances/${instanceId}/custom-providers/${customProviderId}/env`; + + let request = { + path, + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._get(request).transform( + mapDashboardInstanceCustomProvidersGetEnvOutput + ); + } + /** * @name Create custom provider * @description Creates a new custom provider. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers_versions.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers_versions.ts index 277eeba9..82680584 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers_versions.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_custom-providers_versions.ts @@ -6,11 +6,13 @@ import { import { mapDashboardInstanceCustomProvidersVersionsCreateBody, mapDashboardInstanceCustomProvidersVersionsCreateOutput, + mapDashboardInstanceCustomProvidersVersionsGetEnvOutput, mapDashboardInstanceCustomProvidersVersionsGetOutput, mapDashboardInstanceCustomProvidersVersionsListOutput, mapDashboardInstanceCustomProvidersVersionsListQuery, type DashboardInstanceCustomProvidersVersionsCreateBody, type DashboardInstanceCustomProvidersVersionsCreateOutput, + type DashboardInstanceCustomProvidersVersionsGetEnvOutput, type DashboardInstanceCustomProvidersVersionsGetOutput, type DashboardInstanceCustomProvidersVersionsListOutput, type DashboardInstanceCustomProvidersVersionsListQuery @@ -106,6 +108,35 @@ export class MetorialDashboardInstanceCustomProvidersVersionsEndpoint { ); } + /** + * @name Get custom provider version environment + * @description Retrieves the environment variables for a specific version of a custom provider. + * + * @param `instanceId` - string + * @param `customProviderVersionId` - string + * @param `opts` - { headers?: Record } + * @returns DashboardInstanceCustomProvidersVersionsGetEnvOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + getEnv( + instanceId: string, + customProviderVersionId: string, + opts?: { headers?: Record } + ): Promise { + let path = `dashboard/instances/${instanceId}/custom-provider-versions/${customProviderVersionId}/env`; + + let request = { + path, + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._get(request).transform( + mapDashboardInstanceCustomProvidersVersionsGetEnvOutput + ); + } + /** * @name Create custom provider version * @description Creates a new version for a custom provider. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_portals_consumer-profiles.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_portals_consumer-profiles.ts index 7db52730..7c96ac59 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_portals_consumer-profiles.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/dashboard_instance_portals_consumer-profiles.ts @@ -6,6 +6,8 @@ import { import { mapDashboardInstancePortalsConsumerProfilesAssignGroupsBody, mapDashboardInstancePortalsConsumerProfilesAssignGroupsOutput, + mapDashboardInstancePortalsConsumerProfilesCreateBody, + mapDashboardInstancePortalsConsumerProfilesCreateOutput, mapDashboardInstancePortalsConsumerProfilesGetOutput, mapDashboardInstancePortalsConsumerProfilesListOutput, mapDashboardInstancePortalsConsumerProfilesListQuery, @@ -13,6 +15,8 @@ import { mapDashboardInstancePortalsConsumerProfilesUnassignGroupsOutput, type DashboardInstancePortalsConsumerProfilesAssignGroupsBody, type DashboardInstancePortalsConsumerProfilesAssignGroupsOutput, + type DashboardInstancePortalsConsumerProfilesCreateBody, + type DashboardInstancePortalsConsumerProfilesCreateOutput, type DashboardInstancePortalsConsumerProfilesGetOutput, type DashboardInstancePortalsConsumerProfilesListOutput, type DashboardInstancePortalsConsumerProfilesListQuery, @@ -114,6 +118,40 @@ export class MetorialDashboardInstancePortalsConsumerProfilesEndpoint { ); } + /** + * @name Create portal consumer profile + * @description Creates a new portal consumer profile. + * + * @param `instanceId` - string + * @param `portalId` - string + * @param `body` - DashboardInstancePortalsConsumerProfilesCreateBody + * @param `opts` - { headers?: Record } + * @returns DashboardInstancePortalsConsumerProfilesCreateOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + create( + instanceId: string, + portalId: string, + body: DashboardInstancePortalsConsumerProfilesCreateBody, + opts?: { headers?: Record } + ): Promise { + let path = `dashboard/instances/${instanceId}/portals/${portalId}/consumer-profile`; + + let request = { + path, + body: mapDashboardInstancePortalsConsumerProfilesCreateBody.transformTo( + body + ), + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._post(request).transform( + mapDashboardInstancePortalsConsumerProfilesCreateOutput + ); + } + /** * @name Assign portal consumer profile groups * @description Assigns one or more groups to a portal consumer profile. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers.ts index e8bb91e2..8afd2758 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers.ts @@ -6,6 +6,7 @@ import { import { mapDashboardInstanceCustomProvidersCreateBody, mapDashboardInstanceCustomProvidersCreateOutput, + mapDashboardInstanceCustomProvidersGetEnvOutput, mapDashboardInstanceCustomProvidersGetOutput, mapDashboardInstanceCustomProvidersListOutput, mapDashboardInstanceCustomProvidersListQuery, @@ -13,6 +14,7 @@ import { mapDashboardInstanceCustomProvidersUpdateOutput, type DashboardInstanceCustomProvidersCreateBody, type DashboardInstanceCustomProvidersCreateOutput, + type DashboardInstanceCustomProvidersGetEnvOutput, type DashboardInstanceCustomProvidersGetOutput, type DashboardInstanceCustomProvidersListOutput, type DashboardInstanceCustomProvidersListQuery, @@ -108,6 +110,35 @@ export class MetorialManagementInstanceCustomProvidersEndpoint { ); } + /** + * @name Get custom provider environment + * @description Retrieves the environment variables for a specific custom provider by ID. + * + * @param `instanceId` - string + * @param `customProviderId` - string + * @param `opts` - { headers?: Record } + * @returns DashboardInstanceCustomProvidersGetEnvOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + getEnv( + instanceId: string, + customProviderId: string, + opts?: { headers?: Record } + ): Promise { + let path = `instances/${instanceId}/custom-providers/${customProviderId}/env`; + + let request = { + path, + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._get(request).transform( + mapDashboardInstanceCustomProvidersGetEnvOutput + ); + } + /** * @name Create custom provider * @description Creates a new custom provider. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers_versions.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers_versions.ts index 9104814b..485abc18 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers_versions.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_custom-providers_versions.ts @@ -6,11 +6,13 @@ import { import { mapDashboardInstanceCustomProvidersVersionsCreateBody, mapDashboardInstanceCustomProvidersVersionsCreateOutput, + mapDashboardInstanceCustomProvidersVersionsGetEnvOutput, mapDashboardInstanceCustomProvidersVersionsGetOutput, mapDashboardInstanceCustomProvidersVersionsListOutput, mapDashboardInstanceCustomProvidersVersionsListQuery, type DashboardInstanceCustomProvidersVersionsCreateBody, type DashboardInstanceCustomProvidersVersionsCreateOutput, + type DashboardInstanceCustomProvidersVersionsGetEnvOutput, type DashboardInstanceCustomProvidersVersionsGetOutput, type DashboardInstanceCustomProvidersVersionsListOutput, type DashboardInstanceCustomProvidersVersionsListQuery @@ -106,6 +108,35 @@ export class MetorialManagementInstanceCustomProvidersVersionsEndpoint { ); } + /** + * @name Get custom provider version environment + * @description Retrieves the environment variables for a specific version of a custom provider. + * + * @param `instanceId` - string + * @param `customProviderVersionId` - string + * @param `opts` - { headers?: Record } + * @returns DashboardInstanceCustomProvidersVersionsGetEnvOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + getEnv( + instanceId: string, + customProviderVersionId: string, + opts?: { headers?: Record } + ): Promise { + let path = `instances/${instanceId}/custom-provider-versions/${customProviderVersionId}/env`; + + let request = { + path, + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._get(request).transform( + mapDashboardInstanceCustomProvidersVersionsGetEnvOutput + ); + } + /** * @name Create custom provider version * @description Creates a new version for a custom provider. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_portals_consumer-profiles.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_portals_consumer-profiles.ts index fb5c6838..365ed215 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_portals_consumer-profiles.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/management_instance_portals_consumer-profiles.ts @@ -6,6 +6,8 @@ import { import { mapDashboardInstancePortalsConsumerProfilesAssignGroupsBody, mapDashboardInstancePortalsConsumerProfilesAssignGroupsOutput, + mapDashboardInstancePortalsConsumerProfilesCreateBody, + mapDashboardInstancePortalsConsumerProfilesCreateOutput, mapDashboardInstancePortalsConsumerProfilesGetOutput, mapDashboardInstancePortalsConsumerProfilesListOutput, mapDashboardInstancePortalsConsumerProfilesListQuery, @@ -13,6 +15,8 @@ import { mapDashboardInstancePortalsConsumerProfilesUnassignGroupsOutput, type DashboardInstancePortalsConsumerProfilesAssignGroupsBody, type DashboardInstancePortalsConsumerProfilesAssignGroupsOutput, + type DashboardInstancePortalsConsumerProfilesCreateBody, + type DashboardInstancePortalsConsumerProfilesCreateOutput, type DashboardInstancePortalsConsumerProfilesGetOutput, type DashboardInstancePortalsConsumerProfilesListOutput, type DashboardInstancePortalsConsumerProfilesListQuery, @@ -114,6 +118,40 @@ export class MetorialManagementInstancePortalsConsumerProfilesEndpoint { ); } + /** + * @name Create portal consumer profile + * @description Creates a new portal consumer profile. + * + * @param `instanceId` - string + * @param `portalId` - string + * @param `body` - DashboardInstancePortalsConsumerProfilesCreateBody + * @param `opts` - { headers?: Record } + * @returns DashboardInstancePortalsConsumerProfilesCreateOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + create( + instanceId: string, + portalId: string, + body: DashboardInstancePortalsConsumerProfilesCreateBody, + opts?: { headers?: Record } + ): Promise { + let path = `instances/${instanceId}/portals/${portalId}/consumer-profile`; + + let request = { + path, + body: mapDashboardInstancePortalsConsumerProfilesCreateBody.transformTo( + body + ), + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._post(request).transform( + mapDashboardInstancePortalsConsumerProfilesCreateOutput + ); + } + /** * @name Assign portal consumer profile groups * @description Assigns one or more groups to a portal consumer profile. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/portals_consumer-profiles.ts b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/portals_consumer-profiles.ts index 8e2993fa..c18d46ec 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/portals_consumer-profiles.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/endpoints/portals_consumer-profiles.ts @@ -6,6 +6,8 @@ import { import { mapDashboardInstancePortalsConsumerProfilesAssignGroupsBody, mapDashboardInstancePortalsConsumerProfilesAssignGroupsOutput, + mapDashboardInstancePortalsConsumerProfilesCreateBody, + mapDashboardInstancePortalsConsumerProfilesCreateOutput, mapDashboardInstancePortalsConsumerProfilesGetOutput, mapDashboardInstancePortalsConsumerProfilesListOutput, mapDashboardInstancePortalsConsumerProfilesListQuery, @@ -13,6 +15,8 @@ import { mapDashboardInstancePortalsConsumerProfilesUnassignGroupsOutput, type DashboardInstancePortalsConsumerProfilesAssignGroupsBody, type DashboardInstancePortalsConsumerProfilesAssignGroupsOutput, + type DashboardInstancePortalsConsumerProfilesCreateBody, + type DashboardInstancePortalsConsumerProfilesCreateOutput, type DashboardInstancePortalsConsumerProfilesGetOutput, type DashboardInstancePortalsConsumerProfilesListOutput, type DashboardInstancePortalsConsumerProfilesListQuery, @@ -110,6 +114,38 @@ export class MetorialPortalsConsumerProfilesEndpoint { ); } + /** + * @name Create portal consumer profile + * @description Creates a new portal consumer profile. + * + * @param `portalId` - string + * @param `body` - DashboardInstancePortalsConsumerProfilesCreateBody + * @param `opts` - { headers?: Record } + * @returns DashboardInstancePortalsConsumerProfilesCreateOutput + * @see https://metorial.com/api + * @see https://metorial.com/docs + */ + create( + portalId: string, + body: DashboardInstancePortalsConsumerProfilesCreateBody, + opts?: { headers?: Record } + ): Promise { + let path = `portals/${portalId}/consumer-profile`; + + let request = { + path, + body: mapDashboardInstancePortalsConsumerProfilesCreateBody.transformTo( + body + ), + + ...(opts?.headers ? { headers: opts.headers } : {}) + } as any; + + return this._post(request).transform( + mapDashboardInstancePortalsConsumerProfilesCreateOutput + ); + } + /** * @name Assign portal consumer profile groups * @description Assigns one or more groups to a portal consumer profile. diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get-env.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get-env.ts new file mode 100644 index 00000000..a8a78fd3 --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/get-env.ts @@ -0,0 +1,13 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type CustomProvidersGetEnvOutput = { + object: 'custom_provider.env'; + env: Record | null; +}; + +export let mapCustomProvidersGetEnvOutput = + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + env: mtMap.objectField('env', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/index.ts index 99f66170..3431ea03 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/index.ts @@ -2,6 +2,7 @@ export * from './commits'; export * from './create'; export * from './deployments'; export * from './environments'; +export * from './get-env'; export * from './get'; export * from './list'; export * from './update'; diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get-env.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get-env.ts new file mode 100644 index 00000000..53b01cde --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/get-env.ts @@ -0,0 +1,13 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type CustomProvidersVersionsGetEnvOutput = { + object: 'custom_provider.env'; + env: Record | null; +}; + +export let mapCustomProvidersVersionsGetEnvOutput = + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + env: mtMap.objectField('env', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/index.ts index 5dd428ca..aee14ec3 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/custom-providers/versions/index.ts @@ -1,3 +1,4 @@ export * from './create'; +export * from './get-env'; export * from './get'; export * from './list'; \ No newline at end of file diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get-env.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get-env.ts new file mode 100644 index 00000000..0fbc969c --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/get-env.ts @@ -0,0 +1,13 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type DashboardInstanceCustomProvidersGetEnvOutput = { + object: 'custom_provider.env'; + env: Record | null; +}; + +export let mapDashboardInstanceCustomProvidersGetEnvOutput = + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + env: mtMap.objectField('env', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/index.ts index 99f66170..3431ea03 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/index.ts @@ -2,6 +2,7 @@ export * from './commits'; export * from './create'; export * from './deployments'; export * from './environments'; +export * from './get-env'; export * from './get'; export * from './list'; export * from './update'; diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get-env.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get-env.ts new file mode 100644 index 00000000..0f6ab9f0 --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/get-env.ts @@ -0,0 +1,13 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type DashboardInstanceCustomProvidersVersionsGetEnvOutput = { + object: 'custom_provider.env'; + env: Record | null; +}; + +export let mapDashboardInstanceCustomProvidersVersionsGetEnvOutput = + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + env: mtMap.objectField('env', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/index.ts index 5dd428ca..aee14ec3 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/custom-providers/versions/index.ts @@ -1,3 +1,4 @@ export * from './create'; +export * from './get-env'; export * from './get'; export * from './list'; \ No newline at end of file diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session-template.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session-template.ts index abeb2b2e..9bb561a7 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session-template.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session-template.ts @@ -10,6 +10,8 @@ export type DashboardInstanceIntegrationsInstanceGroupsCreateSessionTemplateOutp metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -77,6 +79,11 @@ export let mapDashboardInstanceIntegrationsInstanceGroupsCreateSessionTemplateOu 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session.ts index a2a27b25..4751317d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instance-groups/create-session.ts @@ -69,6 +69,8 @@ export type DashboardInstanceIntegrationsInstanceGroupsCreateSessionOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapDashboardInstanceIntegrationsInstanceGroupsCreateSessionOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session-template.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session-template.ts index 957ebb72..154af161 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session-template.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session-template.ts @@ -10,6 +10,8 @@ export type DashboardInstanceIntegrationsInstancesCreateSessionTemplateOutput = metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -77,6 +79,11 @@ export let mapDashboardInstanceIntegrationsInstancesCreateSessionTemplateOutput 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session.ts index 69ea1241..8a899ce8 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/integrations/instances/create-session.ts @@ -69,6 +69,8 @@ export type DashboardInstanceIntegrationsInstancesCreateSessionOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapDashboardInstanceIntegrationsInstancesCreateSessionOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/create.ts new file mode 100644 index 00000000..be3a1cfa --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/create.ts @@ -0,0 +1,96 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type DashboardInstancePortalsConsumerProfilesCreateOutput = { + object: 'consumer.profile'; + id: string; + name: string; + email: string; + imageUrl: string; + consumerId: string; + status: 'active' | 'invited'; + createdAt: Date; + updatedAt: Date; +} & { + groups: + | { + object: 'consumer.profile.group_assignment'; + group: { + object: 'consumer.group'; + id: string; + status: 'active' | 'archived' | 'deleted'; + name: string; + description: string | null; + isDefault: boolean; + ssoGroupIds: string[]; + createdAt: Date; + updatedAt: Date; + }; + assignedVia: 'default' | 'manual' | 'sso' | 'user'; + }[] + | null; +}; + +export let mapDashboardInstancePortalsConsumerProfilesCreateOutput = + mtMap.union([ + mtMap.unionOption( + 'object', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + id: mtMap.objectField('id', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()), + email: mtMap.objectField('email', mtMap.passthrough()), + imageUrl: mtMap.objectField('image_url', mtMap.passthrough()), + consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), + status: mtMap.objectField('status', mtMap.passthrough()), + createdAt: mtMap.objectField('created_at', mtMap.date()), + updatedAt: mtMap.objectField('updated_at', mtMap.date()), + groups: mtMap.objectField( + 'groups', + mtMap.array( + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + group: mtMap.objectField( + 'group', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + id: mtMap.objectField('id', mtMap.passthrough()), + status: mtMap.objectField('status', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()), + description: mtMap.objectField( + 'description', + mtMap.passthrough() + ), + isDefault: mtMap.objectField( + 'is_default', + mtMap.passthrough() + ), + ssoGroupIds: mtMap.objectField( + 'sso_group_ids', + mtMap.array(mtMap.passthrough()) + ), + createdAt: mtMap.objectField('created_at', mtMap.date()), + updatedAt: mtMap.objectField('updated_at', mtMap.date()) + }) + ), + assignedVia: mtMap.objectField( + 'assigned_via', + mtMap.passthrough() + ) + }) + ) + ) + }) + ) + ]); + +export type DashboardInstancePortalsConsumerProfilesCreateBody = { + email: string; + name: string; +}; + +export let mapDashboardInstancePortalsConsumerProfilesCreateBody = + mtMap.object({ + email: mtMap.objectField('email', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/index.ts index a20b9b24..968b472d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/consumer-profiles/index.ts @@ -1,4 +1,5 @@ export * from './assign-groups'; +export * from './create'; export * from './get'; export * from './list'; export * from './unassign-groups'; \ No newline at end of file diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/create.ts index dfc11bc6..488d14f9 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/create.ts @@ -17,7 +17,11 @@ export type DashboardInstancePortalsCreateOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapDashboardInstancePortalsCreateOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/delete.ts index 9820773b..7db86da0 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/delete.ts @@ -17,7 +17,11 @@ export type DashboardInstancePortalsDeleteOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapDashboardInstancePortalsDeleteOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/get.ts index 1deb9021..843e91c5 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/get.ts @@ -17,7 +17,11 @@ export type DashboardInstancePortalsGetOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapDashboardInstancePortalsGetOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/list.ts index 177917b7..2ecc7461 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/list.ts @@ -18,7 +18,11 @@ export type DashboardInstancePortalsListOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -73,6 +77,14 @@ export let mapDashboardInstancePortalsListOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ + url: mtMap.objectField('url', mtMap.passthrough()) + }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/update.ts index 47636a8f..4d929b13 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/portals/update.ts @@ -17,7 +17,11 @@ export type DashboardInstancePortalsUpdateOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapDashboardInstancePortalsUpdateOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/create.ts index 42ed39a0..dffc8191 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/create.ts @@ -9,6 +9,8 @@ export type DashboardInstanceSessionTemplatesCreateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapDashboardInstanceSessionTemplatesCreateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/delete.ts index b87af339..0a354fb9 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/delete.ts @@ -9,6 +9,8 @@ export type DashboardInstanceSessionTemplatesDeleteOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapDashboardInstanceSessionTemplatesDeleteOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/get.ts index 04797d36..e107bf9a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/get.ts @@ -9,6 +9,8 @@ export type DashboardInstanceSessionTemplatesGetOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapDashboardInstanceSessionTemplatesGetOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/list.ts index 16164db0..a5e671b1 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/list.ts @@ -10,6 +10,8 @@ export type DashboardInstanceSessionTemplatesListOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -82,6 +84,11 @@ export let mapDashboardInstanceSessionTemplatesListOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/update.ts index 1123a57d..83f99b13 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/session-templates/update.ts @@ -9,6 +9,8 @@ export type DashboardInstanceSessionTemplatesUpdateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapDashboardInstanceSessionTemplatesUpdateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/get.ts index 778061ac..041f55ed 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/get.ts @@ -27,6 +27,8 @@ export type DashboardInstanceSessionsConnectionsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -98,6 +100,8 @@ export let mapDashboardInstanceSessionsConnectionsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/list.ts index 26a270a3..73cae28f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/connections/list.ts @@ -28,6 +28,8 @@ export type DashboardInstanceSessionsConnectionsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -114,6 +116,11 @@ export let mapDashboardInstanceSessionsConnectionsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/create.ts index 96333cd2..ecb8e06a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/create.ts @@ -69,6 +69,8 @@ export type DashboardInstanceSessionsCreateOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapDashboardInstanceSessionsCreateOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/delete.ts index 6e1c2dac..9a96d907 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/delete.ts @@ -69,6 +69,8 @@ export type DashboardInstanceSessionsDeleteOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapDashboardInstanceSessionsDeleteOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/get.ts index 372de7b9..ee1a9e9e 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/get.ts @@ -44,6 +44,8 @@ export type DashboardInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -123,6 +125,8 @@ export type DashboardInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -139,6 +143,8 @@ export type DashboardInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -196,6 +202,8 @@ export type DashboardInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -212,6 +220,8 @@ export type DashboardInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -335,6 +345,11 @@ export let mapDashboardInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -497,6 +512,14 @@ export let mapDashboardInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -546,6 +569,14 @@ export let mapDashboardInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -682,6 +713,11 @@ export let mapDashboardInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -722,6 +758,11 @@ export let mapDashboardInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/list.ts index 1e10937c..3db24418 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/events/list.ts @@ -45,6 +45,8 @@ export type DashboardInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -124,6 +126,8 @@ export type DashboardInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +144,8 @@ export type DashboardInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -200,6 +206,8 @@ export type DashboardInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -216,6 +224,8 @@ export type DashboardInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -351,6 +361,14 @@ export let mapDashboardInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -540,6 +558,14 @@ export let mapDashboardInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -592,6 +618,14 @@ export let mapDashboardInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -749,6 +783,14 @@ export let mapDashboardInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -798,6 +840,14 @@ export let mapDashboardInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/get.ts index dce48b36..2a74dee4 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/get.ts @@ -69,6 +69,8 @@ export type DashboardInstanceSessionsGetOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapDashboardInstanceSessionsGetOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/list.ts index 68c97c7c..c5837f86 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/list.ts @@ -70,6 +70,8 @@ export type DashboardInstanceSessionsListOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }[]; @@ -256,6 +258,11 @@ export let mapDashboardInstanceSessionsListOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/get.ts index 860afc04..6e010d9f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/get.ts @@ -57,6 +57,8 @@ export type DashboardInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -73,6 +75,8 @@ export type DashboardInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -124,6 +128,8 @@ export type DashboardInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +146,8 @@ export type DashboardInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -277,6 +285,11 @@ export let mapDashboardInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -317,6 +330,11 @@ export let mapDashboardInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -438,6 +456,8 @@ export let mapDashboardInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -475,6 +495,8 @@ export let mapDashboardInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/list.ts index 0fc95c3a..f6a08020 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/messages/list.ts @@ -58,6 +58,8 @@ export type DashboardInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -74,6 +76,8 @@ export type DashboardInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -131,6 +135,8 @@ export type DashboardInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -147,6 +153,8 @@ export type DashboardInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -302,6 +310,14 @@ export let mapDashboardInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -351,6 +367,14 @@ export let mapDashboardInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -490,6 +514,11 @@ export let mapDashboardInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -530,6 +559,11 @@ export let mapDashboardInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/get.ts index c218384b..51d68d36 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/get.ts @@ -12,6 +12,8 @@ export type DashboardInstanceSessionsParticipantsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -42,6 +44,8 @@ export let mapDashboardInstanceSessionsParticipantsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/list.ts index da1101f8..e759f262 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/participants/list.ts @@ -13,6 +13,8 @@ export type DashboardInstanceSessionsParticipantsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -52,6 +54,11 @@ export let mapDashboardInstanceSessionsParticipantsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/update.ts index 58c024b7..0b6eea65 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/sessions/update.ts @@ -69,6 +69,8 @@ export type DashboardInstanceSessionsUpdateOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapDashboardInstanceSessionsUpdateOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/create.ts index dad2ae4c..c6d34b24 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/create.ts @@ -25,6 +25,8 @@ export type DashboardInstanceToolCallsCreateOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -41,6 +43,8 @@ export type DashboardInstanceToolCallsCreateOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -127,6 +131,8 @@ export let mapDashboardInstanceToolCallsCreateOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -164,6 +170,8 @@ export let mapDashboardInstanceToolCallsCreateOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/get.ts index 02a317ad..143862d4 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/get.ts @@ -25,6 +25,8 @@ export type DashboardInstanceToolCallsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -41,6 +43,8 @@ export type DashboardInstanceToolCallsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -127,6 +131,8 @@ export let mapDashboardInstanceToolCallsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -164,6 +170,8 @@ export let mapDashboardInstanceToolCallsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/list.ts index 4fd13467..ed12fb57 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/dashboard/instance/tool-calls/list.ts @@ -26,6 +26,8 @@ export type DashboardInstanceToolCallsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -42,6 +44,8 @@ export type DashboardInstanceToolCallsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +144,11 @@ export let mapDashboardInstanceToolCallsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -180,6 +189,11 @@ export let mapDashboardInstanceToolCallsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session-template.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session-template.ts index c603ee0f..88f96941 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session-template.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session-template.ts @@ -9,6 +9,8 @@ export type IntegrationsInstanceGroupsCreateSessionTemplateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapIntegrationsInstanceGroupsCreateSessionTemplateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session.ts index f6501b49..e79fecfb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instance-groups/create-session.ts @@ -69,6 +69,8 @@ export type IntegrationsInstanceGroupsCreateSessionOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapIntegrationsInstanceGroupsCreateSessionOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session-template.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session-template.ts index 1e8c4e06..daa0736f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session-template.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session-template.ts @@ -9,6 +9,8 @@ export type IntegrationsInstancesCreateSessionTemplateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapIntegrationsInstancesCreateSessionTemplateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session.ts index 5d87b4aa..76224aa0 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/integrations/instances/create-session.ts @@ -69,6 +69,8 @@ export type IntegrationsInstancesCreateSessionOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapIntegrationsInstancesCreateSessionOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get-env.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get-env.ts new file mode 100644 index 00000000..dfa4f234 --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/get-env.ts @@ -0,0 +1,13 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type ManagementInstanceCustomProvidersGetEnvOutput = { + object: 'custom_provider.env'; + env: Record | null; +}; + +export let mapManagementInstanceCustomProvidersGetEnvOutput = + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + env: mtMap.objectField('env', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/index.ts index 99f66170..3431ea03 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/index.ts @@ -2,6 +2,7 @@ export * from './commits'; export * from './create'; export * from './deployments'; export * from './environments'; +export * from './get-env'; export * from './get'; export * from './list'; export * from './update'; diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get-env.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get-env.ts new file mode 100644 index 00000000..af7a874b --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/get-env.ts @@ -0,0 +1,13 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type ManagementInstanceCustomProvidersVersionsGetEnvOutput = { + object: 'custom_provider.env'; + env: Record | null; +}; + +export let mapManagementInstanceCustomProvidersVersionsGetEnvOutput = + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + env: mtMap.objectField('env', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/index.ts index 5dd428ca..aee14ec3 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/custom-providers/versions/index.ts @@ -1,3 +1,4 @@ export * from './create'; +export * from './get-env'; export * from './get'; export * from './list'; \ No newline at end of file diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session-template.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session-template.ts index 5a63fc83..f6ffbb16 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session-template.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session-template.ts @@ -10,6 +10,8 @@ export type ManagementInstanceIntegrationsInstanceGroupsCreateSessionTemplateOut metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -77,6 +79,11 @@ export let mapManagementInstanceIntegrationsInstanceGroupsCreateSessionTemplateO 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session.ts index a30e69cc..0f528923 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instance-groups/create-session.ts @@ -69,6 +69,8 @@ export type ManagementInstanceIntegrationsInstanceGroupsCreateSessionOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -232,6 +234,11 @@ export let mapManagementInstanceIntegrationsInstanceGroupsCreateSessionOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) } diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session-template.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session-template.ts index c0c9c26b..56503c4f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session-template.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session-template.ts @@ -10,6 +10,8 @@ export type ManagementInstanceIntegrationsInstancesCreateSessionTemplateOutput = metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -77,6 +79,11 @@ export let mapManagementInstanceIntegrationsInstancesCreateSessionTemplateOutput 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session.ts index 35e25387..2319ea02 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/integrations/instances/create-session.ts @@ -69,6 +69,8 @@ export type ManagementInstanceIntegrationsInstancesCreateSessionOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapManagementInstanceIntegrationsInstancesCreateSessionOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/create.ts new file mode 100644 index 00000000..75eea197 --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/create.ts @@ -0,0 +1,96 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type ManagementInstancePortalsConsumerProfilesCreateOutput = { + object: 'consumer.profile'; + id: string; + name: string; + email: string; + imageUrl: string; + consumerId: string; + status: 'active' | 'invited'; + createdAt: Date; + updatedAt: Date; +} & { + groups: + | { + object: 'consumer.profile.group_assignment'; + group: { + object: 'consumer.group'; + id: string; + status: 'active' | 'archived' | 'deleted'; + name: string; + description: string | null; + isDefault: boolean; + ssoGroupIds: string[]; + createdAt: Date; + updatedAt: Date; + }; + assignedVia: 'default' | 'manual' | 'sso' | 'user'; + }[] + | null; +}; + +export let mapManagementInstancePortalsConsumerProfilesCreateOutput = + mtMap.union([ + mtMap.unionOption( + 'object', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + id: mtMap.objectField('id', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()), + email: mtMap.objectField('email', mtMap.passthrough()), + imageUrl: mtMap.objectField('image_url', mtMap.passthrough()), + consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), + status: mtMap.objectField('status', mtMap.passthrough()), + createdAt: mtMap.objectField('created_at', mtMap.date()), + updatedAt: mtMap.objectField('updated_at', mtMap.date()), + groups: mtMap.objectField( + 'groups', + mtMap.array( + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + group: mtMap.objectField( + 'group', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + id: mtMap.objectField('id', mtMap.passthrough()), + status: mtMap.objectField('status', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()), + description: mtMap.objectField( + 'description', + mtMap.passthrough() + ), + isDefault: mtMap.objectField( + 'is_default', + mtMap.passthrough() + ), + ssoGroupIds: mtMap.objectField( + 'sso_group_ids', + mtMap.array(mtMap.passthrough()) + ), + createdAt: mtMap.objectField('created_at', mtMap.date()), + updatedAt: mtMap.objectField('updated_at', mtMap.date()) + }) + ), + assignedVia: mtMap.objectField( + 'assigned_via', + mtMap.passthrough() + ) + }) + ) + ) + }) + ) + ]); + +export type ManagementInstancePortalsConsumerProfilesCreateBody = { + email: string; + name: string; +}; + +export let mapManagementInstancePortalsConsumerProfilesCreateBody = + mtMap.object({ + email: mtMap.objectField('email', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/index.ts index a20b9b24..968b472d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/consumer-profiles/index.ts @@ -1,4 +1,5 @@ export * from './assign-groups'; +export * from './create'; export * from './get'; export * from './list'; export * from './unassign-groups'; \ No newline at end of file diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/create.ts index e1a84262..3866f557 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/create.ts @@ -17,7 +17,11 @@ export type ManagementInstancePortalsCreateOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapManagementInstancePortalsCreateOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/delete.ts index 5c1245c0..67ce9517 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/delete.ts @@ -17,7 +17,11 @@ export type ManagementInstancePortalsDeleteOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapManagementInstancePortalsDeleteOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/get.ts index d3bedcad..3b2f953d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/get.ts @@ -17,7 +17,11 @@ export type ManagementInstancePortalsGetOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapManagementInstancePortalsGetOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/list.ts index 49c379c9..62bc32a4 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/list.ts @@ -18,7 +18,11 @@ export type ManagementInstancePortalsListOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -73,6 +77,14 @@ export let mapManagementInstancePortalsListOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ + url: mtMap.objectField('url', mtMap.passthrough()) + }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/update.ts index 90b90a8f..e49a7e3a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/portals/update.ts @@ -17,7 +17,11 @@ export type ManagementInstancePortalsUpdateOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -63,6 +67,12 @@ export let mapManagementInstancePortalsUpdateOutput = sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/create.ts index 149956f9..67828740 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/create.ts @@ -9,6 +9,8 @@ export type ManagementInstanceSessionTemplatesCreateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapManagementInstanceSessionTemplatesCreateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/delete.ts index 7889e9b8..097362ab 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/delete.ts @@ -9,6 +9,8 @@ export type ManagementInstanceSessionTemplatesDeleteOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapManagementInstanceSessionTemplatesDeleteOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/get.ts index 74b0aaf0..6bad363f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/get.ts @@ -9,6 +9,8 @@ export type ManagementInstanceSessionTemplatesGetOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapManagementInstanceSessionTemplatesGetOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/list.ts index 40dc7c7c..5afeb077 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/list.ts @@ -10,6 +10,8 @@ export type ManagementInstanceSessionTemplatesListOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -82,6 +84,11 @@ export let mapManagementInstanceSessionTemplatesListOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/update.ts index c0c79493..7ec29d8d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/session-templates/update.ts @@ -9,6 +9,8 @@ export type ManagementInstanceSessionTemplatesUpdateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapManagementInstanceSessionTemplatesUpdateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/get.ts index 9ef2076f..d38bb5cb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/get.ts @@ -27,6 +27,8 @@ export type ManagementInstanceSessionsConnectionsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -98,6 +100,8 @@ export let mapManagementInstanceSessionsConnectionsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/list.ts index 51cb1a8f..4e584487 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/connections/list.ts @@ -28,6 +28,8 @@ export type ManagementInstanceSessionsConnectionsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -114,6 +116,11 @@ export let mapManagementInstanceSessionsConnectionsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/create.ts index 2c30b5bd..61485b3f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/create.ts @@ -69,6 +69,8 @@ export type ManagementInstanceSessionsCreateOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapManagementInstanceSessionsCreateOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/delete.ts index 7815ff62..4b0febdd 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/delete.ts @@ -69,6 +69,8 @@ export type ManagementInstanceSessionsDeleteOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapManagementInstanceSessionsDeleteOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/get.ts index 11f76973..7564e7c2 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/get.ts @@ -44,6 +44,8 @@ export type ManagementInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -123,6 +125,8 @@ export type ManagementInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -139,6 +143,8 @@ export type ManagementInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -196,6 +202,8 @@ export type ManagementInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -212,6 +220,8 @@ export type ManagementInstanceSessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -335,6 +345,11 @@ export let mapManagementInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -497,6 +512,14 @@ export let mapManagementInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -546,6 +569,14 @@ export let mapManagementInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -682,6 +713,11 @@ export let mapManagementInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -722,6 +758,11 @@ export let mapManagementInstanceSessionsEventsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/list.ts index fddcff00..d8d5f727 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/events/list.ts @@ -45,6 +45,8 @@ export type ManagementInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -124,6 +126,8 @@ export type ManagementInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +144,8 @@ export type ManagementInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -200,6 +206,8 @@ export type ManagementInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -216,6 +224,8 @@ export type ManagementInstanceSessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -351,6 +361,14 @@ export let mapManagementInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -540,6 +558,14 @@ export let mapManagementInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -592,6 +618,14 @@ export let mapManagementInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -749,6 +783,14 @@ export let mapManagementInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -798,6 +840,14 @@ export let mapManagementInstanceSessionsEventsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/get.ts index 03eeb3a3..8e34a817 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/get.ts @@ -69,6 +69,8 @@ export type ManagementInstanceSessionsGetOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapManagementInstanceSessionsGetOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/list.ts index 327ddfb6..5f780a36 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/list.ts @@ -70,6 +70,8 @@ export type ManagementInstanceSessionsListOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }[]; @@ -256,6 +258,11 @@ export let mapManagementInstanceSessionsListOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/get.ts index 161a0dfb..c3d74b83 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/get.ts @@ -57,6 +57,8 @@ export type ManagementInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -73,6 +75,8 @@ export type ManagementInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -124,6 +128,8 @@ export type ManagementInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +146,8 @@ export type ManagementInstanceSessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -277,6 +285,11 @@ export let mapManagementInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -317,6 +330,11 @@ export let mapManagementInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -438,6 +456,8 @@ export let mapManagementInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -475,6 +495,8 @@ export let mapManagementInstanceSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/list.ts index 6da1b2b9..14468e96 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/messages/list.ts @@ -58,6 +58,8 @@ export type ManagementInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -74,6 +76,8 @@ export type ManagementInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -131,6 +135,8 @@ export type ManagementInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -147,6 +153,8 @@ export type ManagementInstanceSessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -302,6 +310,14 @@ export let mapManagementInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -351,6 +367,14 @@ export let mapManagementInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -490,6 +514,11 @@ export let mapManagementInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -530,6 +559,11 @@ export let mapManagementInstanceSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/get.ts index bee578ca..80c4f91c 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/get.ts @@ -12,6 +12,8 @@ export type ManagementInstanceSessionsParticipantsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -42,6 +44,8 @@ export let mapManagementInstanceSessionsParticipantsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/list.ts index 7b5bc31f..cd2d9ae4 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/participants/list.ts @@ -13,6 +13,8 @@ export type ManagementInstanceSessionsParticipantsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -52,6 +54,11 @@ export let mapManagementInstanceSessionsParticipantsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/update.ts index 564f49c8..26e2a2f8 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/sessions/update.ts @@ -69,6 +69,8 @@ export type ManagementInstanceSessionsUpdateOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -222,6 +224,11 @@ export let mapManagementInstanceSessionsUpdateOutput = ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/create.ts index a305264b..1b61b264 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/create.ts @@ -25,6 +25,8 @@ export type ManagementInstanceToolCallsCreateOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -41,6 +43,8 @@ export type ManagementInstanceToolCallsCreateOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -127,6 +131,8 @@ export let mapManagementInstanceToolCallsCreateOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -164,6 +170,8 @@ export let mapManagementInstanceToolCallsCreateOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/get.ts index da58c093..b2224017 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/get.ts @@ -25,6 +25,8 @@ export type ManagementInstanceToolCallsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -41,6 +43,8 @@ export type ManagementInstanceToolCallsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -127,6 +131,8 @@ export let mapManagementInstanceToolCallsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -164,6 +170,8 @@ export let mapManagementInstanceToolCallsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/list.ts index 33f2a439..195de149 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/management/instance/tool-calls/list.ts @@ -26,6 +26,8 @@ export type ManagementInstanceToolCallsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -42,6 +44,8 @@ export type ManagementInstanceToolCallsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +144,11 @@ export let mapManagementInstanceToolCallsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -180,6 +189,11 @@ export let mapManagementInstanceToolCallsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/create.ts new file mode 100644 index 00000000..4c2979bd --- /dev/null +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/create.ts @@ -0,0 +1,86 @@ +import { mtMap } from '@metorial/util-resource-mapper'; + +export type PortalsConsumerProfilesCreateOutput = { + object: 'consumer.profile'; + id: string; + name: string; + email: string; + imageUrl: string; + consumerId: string; + status: 'active' | 'invited'; + createdAt: Date; + updatedAt: Date; +} & { + groups: + | { + object: 'consumer.profile.group_assignment'; + group: { + object: 'consumer.group'; + id: string; + status: 'active' | 'archived' | 'deleted'; + name: string; + description: string | null; + isDefault: boolean; + ssoGroupIds: string[]; + createdAt: Date; + updatedAt: Date; + }; + assignedVia: 'default' | 'manual' | 'sso' | 'user'; + }[] + | null; +}; + +export let mapPortalsConsumerProfilesCreateOutput = mtMap.union([ + mtMap.unionOption( + 'object', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + id: mtMap.objectField('id', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()), + email: mtMap.objectField('email', mtMap.passthrough()), + imageUrl: mtMap.objectField('image_url', mtMap.passthrough()), + consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), + status: mtMap.objectField('status', mtMap.passthrough()), + createdAt: mtMap.objectField('created_at', mtMap.date()), + updatedAt: mtMap.objectField('updated_at', mtMap.date()), + groups: mtMap.objectField( + 'groups', + mtMap.array( + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + group: mtMap.objectField( + 'group', + mtMap.object({ + object: mtMap.objectField('object', mtMap.passthrough()), + id: mtMap.objectField('id', mtMap.passthrough()), + status: mtMap.objectField('status', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()), + description: mtMap.objectField( + 'description', + mtMap.passthrough() + ), + isDefault: mtMap.objectField('is_default', mtMap.passthrough()), + ssoGroupIds: mtMap.objectField( + 'sso_group_ids', + mtMap.array(mtMap.passthrough()) + ), + createdAt: mtMap.objectField('created_at', mtMap.date()), + updatedAt: mtMap.objectField('updated_at', mtMap.date()) + }) + ), + assignedVia: mtMap.objectField('assigned_via', mtMap.passthrough()) + }) + ) + ) + }) + ) +]); + +export type PortalsConsumerProfilesCreateBody = { email: string; name: string }; + +export let mapPortalsConsumerProfilesCreateBody = + mtMap.object({ + email: mtMap.objectField('email', mtMap.passthrough()), + name: mtMap.objectField('name', mtMap.passthrough()) + }); + diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/index.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/index.ts index a20b9b24..968b472d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/index.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/consumer-profiles/index.ts @@ -1,4 +1,5 @@ export * from './assign-groups'; +export * from './create'; export * from './get'; export * from './list'; export * from './unassign-groups'; \ No newline at end of file diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/create.ts index a19b3a06..2e2e6b55 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/create.ts @@ -17,7 +17,11 @@ export type PortalsCreateOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -62,6 +66,12 @@ export let mapPortalsCreateOutput = mtMap.object({ sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/delete.ts index 1ab1ec5a..803e7e6d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/delete.ts @@ -17,7 +17,11 @@ export type PortalsDeleteOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -62,6 +66,12 @@ export let mapPortalsDeleteOutput = mtMap.object({ sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/get.ts index 3fe5d841..4eb9c06d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/get.ts @@ -17,7 +17,11 @@ export type PortalsGetOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -62,6 +66,12 @@ export let mapPortalsGetOutput = mtMap.object({ sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/list.ts index 348be077..536f405d 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/list.ts @@ -18,7 +18,11 @@ export type PortalsListOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -72,6 +76,14 @@ export let mapPortalsListOutput = mtMap.object({ sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ + url: mtMap.objectField('url', mtMap.passthrough()) + }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/update.ts index 145e7667..a5c9a827 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/portals/update.ts @@ -17,7 +17,11 @@ export type PortalsUpdateOutput = { allowedFileExtensions: string[]; allowNonStandardDirectories: boolean; }; - auth: { object: 'portal.auth'; sessionExpiryTimeInSeconds: number }; + auth: { + object: 'portal.auth'; + sessionExpiryTimeInSeconds: number; + allowedRedirectUrlFilters: { url: string }[]; + }; urls: { type: 'default'; url: string }[]; createdAt: Date; updatedAt: Date; @@ -62,6 +66,12 @@ export let mapPortalsUpdateOutput = mtMap.object({ sessionExpiryTimeInSeconds: mtMap.objectField( 'session_expiry_time_in_seconds', mtMap.passthrough() + ), + allowedRedirectUrlFilters: mtMap.objectField( + 'allowed_redirect_url_filters', + mtMap.array( + mtMap.object({ url: mtMap.objectField('url', mtMap.passthrough()) }) + ) ) }) ), diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/create.ts index 753df476..73e3b980 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/create.ts @@ -9,6 +9,8 @@ export type SessionTemplatesCreateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapSessionTemplatesCreateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/delete.ts index e041e363..12a229eb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/delete.ts @@ -9,6 +9,8 @@ export type SessionTemplatesDeleteOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapSessionTemplatesDeleteOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/get.ts index c058b72c..f007f699 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/get.ts @@ -9,6 +9,8 @@ export type SessionTemplatesGetOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapSessionTemplatesGetOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/list.ts index 03090005..3c8d8c44 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/list.ts @@ -10,6 +10,8 @@ export type SessionTemplatesListOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -82,6 +84,11 @@ export let mapSessionTemplatesListOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/update.ts index a59c80c5..2f597344 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/session-templates/update.ts @@ -9,6 +9,8 @@ export type SessionTemplatesUpdateOutput = { metadata: Record | null; integrationInstanceId: string | null; integrationInstanceGroupId: string | null; + identityActorId: string | null; + identityId: string | null; providers: { object: 'session.template.provider'; id: string; @@ -75,6 +77,11 @@ export let mapSessionTemplatesUpdateOutput = 'integration_instance_group_id', mtMap.passthrough() ), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), providers: mtMap.objectField( 'providers', mtMap.array( diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/get.ts index 1d85fdf8..329c3754 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/get.ts @@ -27,6 +27,8 @@ export type SessionsConnectionsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -98,6 +100,8 @@ export let mapSessionsConnectionsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/list.ts index aa8539ab..0e742202 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/connections/list.ts @@ -28,6 +28,8 @@ export type SessionsConnectionsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -114,6 +116,11 @@ export let mapSessionsConnectionsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/create.ts index 7f90c645..37c303a0 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/create.ts @@ -69,6 +69,8 @@ export type SessionsCreateOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -212,6 +214,8 @@ export let mapSessionsCreateOutput = mtMap.object({ ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField('identity_actor_id', mtMap.passthrough()), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/delete.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/delete.ts index 9e3c1da0..66ed190a 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/delete.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/delete.ts @@ -69,6 +69,8 @@ export type SessionsDeleteOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -212,6 +214,8 @@ export let mapSessionsDeleteOutput = mtMap.object({ ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField('identity_actor_id', mtMap.passthrough()), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/get.ts index 748c1f7d..1455f296 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/get.ts @@ -44,6 +44,8 @@ export type SessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -123,6 +125,8 @@ export type SessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -139,6 +143,8 @@ export type SessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -196,6 +202,8 @@ export type SessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -212,6 +220,8 @@ export type SessionsEventsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -328,6 +338,11 @@ export let mapSessionsEventsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -478,6 +493,11 @@ export let mapSessionsEventsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -518,6 +538,11 @@ export let mapSessionsEventsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -642,6 +667,11 @@ export let mapSessionsEventsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -679,6 +709,11 @@ export let mapSessionsEventsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/list.ts index 7db01c78..b6d351cb 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/events/list.ts @@ -45,6 +45,8 @@ export type SessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -124,6 +126,8 @@ export type SessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +144,8 @@ export type SessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -200,6 +206,8 @@ export type SessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -216,6 +224,8 @@ export type SessionsEventsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -351,6 +361,14 @@ export let mapSessionsEventsListOutput = mtMap.object( 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -540,6 +558,14 @@ export let mapSessionsEventsListOutput = mtMap.object( 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -592,6 +618,14 @@ export let mapSessionsEventsListOutput = mtMap.object( 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -749,6 +783,14 @@ export let mapSessionsEventsListOutput = mtMap.object( 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -798,6 +840,14 @@ export let mapSessionsEventsListOutput = mtMap.object( 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/get.ts index 54293aeb..56581a64 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/get.ts @@ -69,6 +69,8 @@ export type SessionsGetOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -212,6 +214,8 @@ export let mapSessionsGetOutput = mtMap.object({ ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField('identity_actor_id', mtMap.passthrough()), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/list.ts index 9836300a..dc05b6a9 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/list.ts @@ -70,6 +70,8 @@ export type SessionsListOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }[]; @@ -243,6 +245,11 @@ export let mapSessionsListOutput = mtMap.object({ ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField( + 'identity_actor_id', + mtMap.passthrough() + ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/get.ts index 44538e25..53066d16 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/get.ts @@ -57,6 +57,8 @@ export type SessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -73,6 +75,8 @@ export type SessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -124,6 +128,8 @@ export type SessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -140,6 +146,8 @@ export type SessionsMessagesGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -277,6 +285,11 @@ export let mapSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -317,6 +330,11 @@ export let mapSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -438,6 +456,8 @@ export let mapSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -475,6 +495,8 @@ export let mapSessionsMessagesGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/list.ts index ea726b6b..801bb9bd 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/messages/list.ts @@ -58,6 +58,8 @@ export type SessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -74,6 +76,8 @@ export type SessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -131,6 +135,8 @@ export type SessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -147,6 +153,8 @@ export type SessionsMessagesListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -302,6 +310,14 @@ export let mapSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -351,6 +367,14 @@ export let mapSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField( + 'identity_id', + mtMap.passthrough() + ), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -490,6 +514,11 @@ export let mapSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -530,6 +559,11 @@ export let mapSessionsMessagesListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/get.ts index 1931bd96..21367729 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/get.ts @@ -12,6 +12,8 @@ export type SessionsParticipantsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -42,6 +44,8 @@ export let mapSessionsParticipantsGetOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/list.ts index 6e970ede..c5f0fddf 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/participants/list.ts @@ -13,6 +13,8 @@ export type SessionsParticipantsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -52,6 +54,11 @@ export let mapSessionsParticipantsListOutput = 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/update.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/update.ts index 8b693554..373374b5 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/update.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/sessions/update.ts @@ -69,6 +69,8 @@ export type SessionsUpdateOutput = { fromTemplatesIds: string[]; hasErrors: boolean; hasWarnings: boolean; + identityActorId: string | null; + identityId: string | null; createdAt: Date; updatedAt: Date; }; @@ -212,6 +214,8 @@ export let mapSessionsUpdateOutput = mtMap.object({ ), hasErrors: mtMap.objectField('has_errors', mtMap.passthrough()), hasWarnings: mtMap.objectField('has_warnings', mtMap.passthrough()), + identityActorId: mtMap.objectField('identity_actor_id', mtMap.passthrough()), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()), updatedAt: mtMap.objectField('updated_at', mtMap.date()) }); diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/create.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/create.ts index a111992a..9e9a230f 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/create.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/create.ts @@ -25,6 +25,8 @@ export type ToolCallsCreateOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -41,6 +43,8 @@ export type ToolCallsCreateOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -123,6 +127,8 @@ export let mapToolCallsCreateOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) @@ -154,6 +160,8 @@ export let mapToolCallsCreateOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/get.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/get.ts index 5abc879f..75ddc8ed 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/get.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/get.ts @@ -25,6 +25,8 @@ export type ToolCallsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -41,6 +43,8 @@ export type ToolCallsGetOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -123,6 +127,8 @@ export let mapToolCallsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) @@ -154,6 +160,8 @@ export let mapToolCallsGetOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField('agent_actor_id', mtMap.passthrough()), agentClientId: mtMap.objectField('agent_client_id', mtMap.passthrough()), consumerId: mtMap.objectField('consumer_id', mtMap.passthrough()), createdAt: mtMap.objectField('created_at', mtMap.date()) diff --git a/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/list.ts b/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/list.ts index 521cac04..884315f7 100644 --- a/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/list.ts +++ b/sdk/gen/src/mt_2026_01_01_magnetar/resources/tool-calls/list.ts @@ -26,6 +26,8 @@ export type ToolCallsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -42,6 +44,8 @@ export type ToolCallsListOutput = { agentId: string | null; agentInstanceId: string | null; identityActorId: string | null; + identityId: string | null; + agentActorId: string | null; agentClientId: string | null; consumerId: string | null; createdAt: Date; @@ -139,6 +143,11 @@ export let mapToolCallsListOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() @@ -179,6 +188,11 @@ export let mapToolCallsListOutput = mtMap.object({ 'identity_actor_id', mtMap.passthrough() ), + identityId: mtMap.objectField('identity_id', mtMap.passthrough()), + agentActorId: mtMap.objectField( + 'agent_actor_id', + mtMap.passthrough() + ), agentClientId: mtMap.objectField( 'agent_client_id', mtMap.passthrough() diff --git a/sdk/sdk/package.json b/sdk/sdk/package.json index 7402a292..bd1bf585 100644 --- a/sdk/sdk/package.json +++ b/sdk/sdk/package.json @@ -29,7 +29,7 @@ "dist" ], "dependencies": { - "@metorial/core": "^3.0.1", + "@metorial/core": "^3.0.2", "@metorial/mcp-session": "^3.0.1", "@metorial/util-endpoint": "^3.0.0", "@metorial/anthropic": "^3.0.1",