Skip to content

Commit c3e6026

Browse files
authored
feat: Sync with Seam API via 05ffba40e4a33de413a4a0cf35be80ccbf423921 (#2561)
1 parent dc3b61d commit c3e6026

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

src/lib/seam/connect/models/phones/phone-session.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export const phone_session = z.object({
3131
user_identity: user_identity.describe('User identity.'),
3232

3333
workspace_id: z.string().describe('Workspace ID.'),
34+
35+
is_sandbox_workspace: z
36+
.boolean()
37+
.describe('Whether the workspace is in sandbox mode.'),
3438
}).describe(`
3539
---
3640
route_path: /seam/mobile_sdk/v1/phone_sessions

src/lib/seam/connect/openapi.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20133,6 +20133,10 @@ export default {
2013320133
phone_session: {
2013420134
description: 'Represents a mobile phone session.',
2013520135
properties: {
20136+
is_sandbox_workspace: {
20137+
description: 'Whether the workspace is in sandbox mode.',
20138+
type: 'boolean',
20139+
},
2013620140
provider_sessions: {
2013720141
description: 'Phone provider sessions.',
2013820142
items: {
@@ -21168,7 +21172,12 @@ export default {
2116821172
},
2116921173
workspace_id: { description: 'Workspace ID.', type: 'string' },
2117021174
},
21171-
required: ['provider_sessions', 'user_identity', 'workspace_id'],
21175+
required: [
21176+
'provider_sessions',
21177+
'user_identity',
21178+
'workspace_id',
21179+
'is_sandbox_workspace',
21180+
],
2117221181
type: 'object',
2117321182
'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
2117421183
'x-undocumented': 'Seam Mobile SDK only.',

src/lib/seam/connect/route-types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66087,6 +66087,8 @@ export type Routes = {
6608766087
}
6608866088
/** Workspace ID. */
6608966089
workspace_id: string
66090+
/** Whether the workspace is in sandbox mode. */
66091+
is_sandbox_workspace: boolean
6609066092
}
6609166093
}
6609266094
maxDuration: undefined

0 commit comments

Comments
 (0)