diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index f39fbbe7..6391a7d2 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -3229,6 +3229,87 @@ export default { 'x-fern-sdk-method-name': 'list', }, }, + '/acs/credential_provisioning_automations/launch': { + post: { + operationId: 'acsCredentialProvisioningAutomationsLaunchPost', + requestBody: { + content: { + 'application/json': { + schema: { + properties: { + acs_credential_pool_id: { format: 'uuid', type: 'string' }, + create_credential_manager_user: { type: 'boolean' }, + credential_manager_acs_system_id: { + format: 'uuid', + type: 'string', + }, + credential_manager_acs_user_id: { + format: 'uuid', + type: 'string', + }, + user_identity_id: { format: 'uuid', type: 'string' }, + }, + required: [ + 'user_identity_id', + 'credential_manager_acs_system_id', + ], + type: 'object', + }, + }, + }, + }, + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { + acs_credential_provisioning_automation: { + properties: { + acs_credential_provisioning_automation_id: { + format: 'uuid', + type: 'string', + }, + created_at: { format: 'date-time', type: 'string' }, + credential_manager_acs_system_id: { + format: 'uuid', + type: 'string', + }, + user_identity_id: { format: 'uuid', type: 'string' }, + workspace_id: { format: 'uuid', type: 'string' }, + }, + required: [ + 'acs_credential_provisioning_automation_id', + 'credential_manager_acs_system_id', + 'user_identity_id', + 'created_at', + 'workspace_id', + ], + type: 'object', + }, + ok: { type: 'boolean' }, + }, + required: ['acs_credential_provisioning_automation', 'ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [ + { access_token: [], seam_workspace: [] }, + { seam_client_session_token: [] }, + { client_session_token: [] }, + ], + summary: '/acs/credential_provisioning_automations/launch', + tags: [], + 'x-fern-sdk-group-name': ['acs', 'credential_provisioning_automations'], + 'x-fern-sdk-method-name': 'launch', + }, + }, '/acs/credentials/assign': { patch: { operationId: 'acsCredentialsAssignPatch', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index ac2c561f..b9ccbaff 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -776,6 +776,29 @@ export interface Routes { }> } } + '/acs/credential_provisioning_automations/launch': { + route: '/acs/credential_provisioning_automations/launch' + method: 'POST' + queryParams: {} + jsonBody: {} + commonParams: { + user_identity_id: string + credential_manager_acs_system_id: string + acs_credential_pool_id?: string | undefined + create_credential_manager_user?: boolean | undefined + credential_manager_acs_user_id?: string | undefined + } + formData: {} + jsonResponse: { + acs_credential_provisioning_automation: { + acs_credential_provisioning_automation_id: string + credential_manager_acs_system_id: string + user_identity_id: string + created_at: string + workspace_id: string + } + } + } '/acs/credentials/assign': { route: '/acs/credentials/assign' method: 'PATCH' | 'POST' diff --git a/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts b/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts new file mode 100644 index 00000000..dc0dbb0d --- /dev/null +++ b/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts @@ -0,0 +1,13 @@ +import { z } from 'zod' + +export const acs_credential_provisioning_automation = z.object({ + acs_credential_provisioning_automation_id: z.string().uuid(), + credential_manager_acs_system_id: z.string().uuid(), + user_identity_id: z.string().uuid(), + created_at: z.string().datetime(), + workspace_id: z.string().uuid(), +}) + +export type AcsCredentialProvisioningAutomation = z.output< + typeof acs_credential_provisioning_automation +> diff --git a/src/lib/seam/connect/unstable/models/acs/index.ts b/src/lib/seam/connect/unstable/models/acs/index.ts index 60e3915a..10b4f3de 100644 --- a/src/lib/seam/connect/unstable/models/acs/index.ts +++ b/src/lib/seam/connect/unstable/models/acs/index.ts @@ -1,6 +1,7 @@ export * from './access_group.js' export * from './credential.js' export * from './credential_pool.js' +export * from './credential_provisioning_automation.js' export * from './entrance.js' export * from './system.js' export * from './user.js' diff --git a/src/lib/seam/connect/unstable/schemas.ts b/src/lib/seam/connect/unstable/schemas.ts index ae256b4d..af09e1ee 100644 --- a/src/lib/seam/connect/unstable/schemas.ts +++ b/src/lib/seam/connect/unstable/schemas.ts @@ -6,6 +6,7 @@ export { acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, + acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type,