@seamapi/types 1.1038.0 → 1.1039.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88495,6 +88495,29 @@ export type Routes = {
88495
88495
  jsonResponse: {};
88496
88496
  maxDuration: undefined;
88497
88497
  };
88498
+ '/seam/wizard/v1/session': {
88499
+ route: '/seam/wizard/v1/session';
88500
+ method: 'POST';
88501
+ queryParams: {};
88502
+ jsonBody: {};
88503
+ commonParams: {};
88504
+ formData: {};
88505
+ jsonResponse: {
88506
+ wizard_session: {
88507
+ token: string;
88508
+ expires_at: string;
88509
+ onboarding: {
88510
+ org_type: string | null;
88511
+ primary_goal: string | null;
88512
+ use_case: string | null;
88513
+ build_target: string | null;
88514
+ embed_customer_portal: boolean | null;
88515
+ device_categories: string[] | null;
88516
+ } | null;
88517
+ };
88518
+ };
88519
+ maxDuration: undefined;
88520
+ };
88498
88521
  '/spaces/add_acs_entrances': {
88499
88522
  route: '/spaces/add_acs_entrances';
88500
88523
  method: 'POST' | 'PUT';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1038.0",
3
+ "version": "1.1039.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -80355,6 +80355,80 @@ const openapi: OpenAPISpec = {
80355
80355
  'x-undocumented': 'Internal endpoint for inbound provider webhooks',
80356
80356
  },
80357
80357
  },
80358
+ '/seam/wizard/v1/session': {
80359
+ post: {
80360
+ description:
80361
+ "Exchanges a Seam API key for a short-lived wizard inference token. The Seam\nWizard CLI calls this once, then sends the returned token as the bearer to the\ninference proxy. The session also carries the workspace org's Console-collected\nonboarding answers (or null) so the CLI can pre-fill its integration plan.",
80362
+ operationId: 'seamWizardV1SessionPost',
80363
+ requestBody: {
80364
+ content: {
80365
+ 'application/json': { schema: { properties: {}, type: 'object' } },
80366
+ },
80367
+ },
80368
+ responses: {
80369
+ '200': {
80370
+ content: {
80371
+ 'application/json': {
80372
+ schema: {
80373
+ properties: {
80374
+ ok: { type: 'boolean' },
80375
+ wizard_session: {
80376
+ properties: {
80377
+ expires_at: { type: 'string' },
80378
+ onboarding: {
80379
+ nullable: true,
80380
+ properties: {
80381
+ build_target: { nullable: true, type: 'string' },
80382
+ device_categories: {
80383
+ items: { type: 'string' },
80384
+ nullable: true,
80385
+ type: 'array',
80386
+ },
80387
+ embed_customer_portal: {
80388
+ nullable: true,
80389
+ type: 'boolean',
80390
+ },
80391
+ org_type: { nullable: true, type: 'string' },
80392
+ primary_goal: { nullable: true, type: 'string' },
80393
+ use_case: { nullable: true, type: 'string' },
80394
+ },
80395
+ required: [
80396
+ 'org_type',
80397
+ 'primary_goal',
80398
+ 'use_case',
80399
+ 'build_target',
80400
+ 'embed_customer_portal',
80401
+ 'device_categories',
80402
+ ],
80403
+ type: 'object',
80404
+ },
80405
+ token: { type: 'string' },
80406
+ },
80407
+ required: ['token', 'expires_at', 'onboarding'],
80408
+ type: 'object',
80409
+ },
80410
+ },
80411
+ required: ['wizard_session', 'ok'],
80412
+ type: 'object',
80413
+ },
80414
+ },
80415
+ },
80416
+ description: 'OK',
80417
+ },
80418
+ '400': { description: 'Bad Request' },
80419
+ '401': { description: 'Unauthorized' },
80420
+ },
80421
+ security: [{ api_key: [] }, { pat_with_workspace: [] }],
80422
+ summary: '/seam/wizard/v1/session',
80423
+ tags: [],
80424
+ 'x-fern-sdk-group-name': ['seam', 'wizard', 'v1'],
80425
+ 'x-fern-sdk-method-name': 'session',
80426
+ 'x-fern-sdk-return-value': 'wizard_session',
80427
+ 'x-response-key': 'wizard_session',
80428
+ 'x-title': 'Create a Wizard Session',
80429
+ 'x-undocumented': 'Seam Wizard CLI only.',
80430
+ },
80431
+ },
80358
80432
  '/spaces/add_acs_entrances': {
80359
80433
  post: {
80360
80434
  description:
@@ -106071,6 +106071,29 @@ export type Routes = {
106071
106071
  jsonResponse: {}
106072
106072
  maxDuration: undefined
106073
106073
  }
106074
+ '/seam/wizard/v1/session': {
106075
+ route: '/seam/wizard/v1/session'
106076
+ method: 'POST'
106077
+ queryParams: {}
106078
+ jsonBody: {}
106079
+ commonParams: {}
106080
+ formData: {}
106081
+ jsonResponse: {
106082
+ wizard_session: {
106083
+ token: string
106084
+ expires_at: string
106085
+ onboarding: {
106086
+ org_type: string | null
106087
+ primary_goal: string | null
106088
+ use_case: string | null
106089
+ build_target: string | null
106090
+ embed_customer_portal: boolean | null
106091
+ device_categories: string[] | null
106092
+ } | null
106093
+ }
106094
+ }
106095
+ maxDuration: undefined
106096
+ }
106074
106097
  '/spaces/add_acs_entrances': {
106075
106098
  route: '/spaces/add_acs_entrances'
106076
106099
  method: 'POST' | 'PUT'