@seamapi/types 1.318.1 → 1.319.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.
@@ -10184,7 +10184,7 @@ export interface Routes {
10184
10184
  };
10185
10185
  '/client_sessions/get_or_create': {
10186
10186
  route: '/client_sessions/get_or_create';
10187
- method: 'POST' | 'PUT';
10187
+ method: 'POST';
10188
10188
  queryParams: {};
10189
10189
  jsonBody: {
10190
10190
  user_identifier_key?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.318.1",
3
+ "version": "1.319.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -10700,6 +10700,11 @@ export default {
10700
10700
  scheme: 'bearer',
10701
10701
  type: 'http',
10702
10702
  },
10703
+ publishable_key: {
10704
+ in: 'header',
10705
+ name: 'seam-publishable-key',
10706
+ type: 'apiKey',
10707
+ },
10703
10708
  seam_client_session_token: {
10704
10709
  in: 'header',
10705
10710
  name: 'seam-client-session-token',
@@ -17169,6 +17174,12 @@ export default {
17169
17174
  400: { description: 'Bad Request' },
17170
17175
  401: { description: 'Unauthorized' },
17171
17176
  },
17177
+ security: [
17178
+ { publishable_key: [] },
17179
+ { api_key: [] },
17180
+ { pat_with_workspace: [] },
17181
+ { console_session_with_workspace: [] },
17182
+ ],
17172
17183
  summary: '/client_sessions/create',
17173
17184
  tags: ['/client_sessions'],
17174
17185
  'x-fern-sdk-group-name': ['client_sessions'],
@@ -17224,6 +17235,12 @@ export default {
17224
17235
  400: { description: 'Bad Request' },
17225
17236
  401: { description: 'Unauthorized' },
17226
17237
  },
17238
+ security: [
17239
+ { publishable_key: [] },
17240
+ { api_key: [] },
17241
+ { pat_with_workspace: [] },
17242
+ { console_session_with_workspace: [] },
17243
+ ],
17227
17244
  summary: '/client_sessions/create',
17228
17245
  tags: ['/client_sessions'],
17229
17246
  'x-fern-ignore': true,
@@ -17374,6 +17391,12 @@ export default {
17374
17391
  400: { description: 'Bad Request' },
17375
17392
  401: { description: 'Unauthorized' },
17376
17393
  },
17394
+ security: [
17395
+ { publishable_key: [] },
17396
+ { api_key: [] },
17397
+ { pat_with_workspace: [] },
17398
+ { console_session_with_workspace: [] },
17399
+ ],
17377
17400
  summary: '/client_sessions/get_or_create',
17378
17401
  tags: ['/client_sessions'],
17379
17402
  'x-fern-sdk-group-name': ['client_sessions'],
@@ -17381,59 +17404,6 @@ export default {
17381
17404
  'x-fern-sdk-return-value': 'client_session',
17382
17405
  'x-response-key': 'client_session',
17383
17406
  },
17384
- put: {
17385
- operationId: 'clientSessionsGetOrCreatePut',
17386
- requestBody: {
17387
- content: {
17388
- 'application/json': {
17389
- schema: {
17390
- properties: {
17391
- connect_webview_ids: {
17392
- items: { type: 'string' },
17393
- type: 'array',
17394
- },
17395
- connected_account_ids: {
17396
- items: { type: 'string' },
17397
- type: 'array',
17398
- },
17399
- expires_at: { format: 'date-time', type: 'string' },
17400
- user_identifier_key: { minLength: 1, type: 'string' },
17401
- user_identity_ids: {
17402
- items: { type: 'string' },
17403
- type: 'array',
17404
- },
17405
- },
17406
- type: 'object',
17407
- },
17408
- },
17409
- },
17410
- },
17411
- responses: {
17412
- 200: {
17413
- content: {
17414
- 'application/json': {
17415
- schema: {
17416
- properties: {
17417
- client_session: {
17418
- $ref: '#/components/schemas/client_session',
17419
- },
17420
- ok: { type: 'boolean' },
17421
- },
17422
- required: ['client_session', 'ok'],
17423
- type: 'object',
17424
- },
17425
- },
17426
- },
17427
- description: 'OK',
17428
- },
17429
- 400: { description: 'Bad Request' },
17430
- 401: { description: 'Unauthorized' },
17431
- },
17432
- summary: '/client_sessions/get_or_create',
17433
- tags: ['/client_sessions'],
17434
- 'x-fern-ignore': true,
17435
- 'x-response-key': 'client_session',
17436
- },
17437
17407
  },
17438
17408
  '/client_sessions/grant_access': {
17439
17409
  patch: {
@@ -11963,7 +11963,7 @@ export interface Routes {
11963
11963
  }
11964
11964
  '/client_sessions/get_or_create': {
11965
11965
  route: '/client_sessions/get_or_create'
11966
- method: 'POST' | 'PUT'
11966
+ method: 'POST'
11967
11967
  queryParams: {}
11968
11968
  jsonBody: {
11969
11969
  user_identifier_key?: string | undefined