@seamapi/types 1.17.2 → 1.18.1

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.
@@ -4465,13 +4465,8 @@ declare const _default: {
4465
4465
  type: string;
4466
4466
  };
4467
4467
  code: {
4468
- oneOf: ({
4469
- pattern: string;
4470
- type: string;
4471
- } | {
4472
- pattern?: never;
4473
- type?: never;
4474
- })[];
4468
+ pattern: string;
4469
+ type: string;
4475
4470
  };
4476
4471
  };
4477
4472
  required: string[];
@@ -6446,60 +6441,22 @@ declare const _default: {
6446
6441
  };
6447
6442
  };
6448
6443
  '/connect_webviews/list': {
6449
- get: {
6444
+ post: {
6450
6445
  operationId: string;
6451
- responses: {
6452
- 200: {
6453
- content: {
6454
- 'application/json': {
6455
- schema: {
6456
- properties: {
6457
- connect_webviews: {
6458
- items: {
6459
- $ref: string;
6460
- };
6461
- type: string;
6462
- };
6463
- ok: {
6464
- type: string;
6465
- };
6446
+ requestBody: {
6447
+ content: {
6448
+ 'application/json': {
6449
+ schema: {
6450
+ properties: {
6451
+ user_identifier_key: {
6452
+ type: string;
6466
6453
  };
6467
- required: string[];
6468
- type: string;
6469
6454
  };
6455
+ type: string;
6470
6456
  };
6471
6457
  };
6472
- description: string;
6473
- };
6474
- 400: {
6475
- description: string;
6476
- };
6477
- 401: {
6478
- description: string;
6479
6458
  };
6480
6459
  };
6481
- security: ({
6482
- access_token: never[];
6483
- seam_workspace: never[];
6484
- seam_client_session_token?: never;
6485
- client_session_token?: never;
6486
- } | {
6487
- seam_client_session_token: never[];
6488
- access_token?: never;
6489
- seam_workspace?: never;
6490
- client_session_token?: never;
6491
- } | {
6492
- client_session_token: never[];
6493
- access_token?: never;
6494
- seam_workspace?: never;
6495
- seam_client_session_token?: never;
6496
- })[];
6497
- summary: string;
6498
- tags: string[];
6499
- 'x-fern-ignore': boolean;
6500
- };
6501
- post: {
6502
- operationId: string;
6503
6460
  responses: {
6504
6461
  200: {
6505
6462
  content: {
@@ -9303,6 +9260,9 @@ declare const _default: {
9303
9260
  format: string;
9304
9261
  type: string;
9305
9262
  };
9263
+ user_identifier_key: {
9264
+ type: string;
9265
+ };
9306
9266
  };
9307
9267
  required: string[];
9308
9268
  type: string;
@@ -11275,7 +11235,7 @@ interface Routes {
11275
11235
  jsonBody: {};
11276
11236
  commonParams: {
11277
11237
  acs_user_id: string;
11278
- code?: string | undefined;
11238
+ code: string;
11279
11239
  };
11280
11240
  formData: {};
11281
11241
  jsonResponse: {
@@ -11744,7 +11704,9 @@ interface Routes {
11744
11704
  method: 'GET' | 'POST';
11745
11705
  queryParams: {};
11746
11706
  jsonBody: {};
11747
- commonParams: {};
11707
+ commonParams: {
11708
+ user_identifier_key?: string | undefined;
11709
+ };
11748
11710
  formData: {};
11749
11711
  jsonResponse: {
11750
11712
  connect_webviews: Array<{
@@ -13288,6 +13250,7 @@ interface Routes {
13288
13250
  jsonBody: {};
13289
13251
  commonParams: {
13290
13252
  device_id: string;
13253
+ user_identifier_key?: string | undefined;
13291
13254
  };
13292
13255
  formData: {};
13293
13256
  jsonResponse: {
@@ -4414,13 +4414,8 @@ declare const _default: {
4414
4414
  type: string;
4415
4415
  };
4416
4416
  code: {
4417
- oneOf: ({
4418
- pattern: string;
4419
- type: string;
4420
- } | {
4421
- pattern?: never;
4422
- type?: never;
4423
- })[];
4417
+ pattern: string;
4418
+ type: string;
4424
4419
  };
4425
4420
  };
4426
4421
  required: string[];
@@ -6395,60 +6390,22 @@ declare const _default: {
6395
6390
  };
6396
6391
  };
6397
6392
  '/connect_webviews/list': {
6398
- get: {
6393
+ post: {
6399
6394
  operationId: string;
6400
- responses: {
6401
- 200: {
6402
- content: {
6403
- 'application/json': {
6404
- schema: {
6405
- properties: {
6406
- connect_webviews: {
6407
- items: {
6408
- $ref: string;
6409
- };
6410
- type: string;
6411
- };
6412
- ok: {
6413
- type: string;
6414
- };
6395
+ requestBody: {
6396
+ content: {
6397
+ 'application/json': {
6398
+ schema: {
6399
+ properties: {
6400
+ user_identifier_key: {
6401
+ type: string;
6415
6402
  };
6416
- required: string[];
6417
- type: string;
6418
6403
  };
6404
+ type: string;
6419
6405
  };
6420
6406
  };
6421
- description: string;
6422
- };
6423
- 400: {
6424
- description: string;
6425
- };
6426
- 401: {
6427
- description: string;
6428
6407
  };
6429
6408
  };
6430
- security: ({
6431
- access_token: never[];
6432
- seam_workspace: never[];
6433
- seam_client_session_token?: never;
6434
- client_session_token?: never;
6435
- } | {
6436
- seam_client_session_token: never[];
6437
- access_token?: never;
6438
- seam_workspace?: never;
6439
- client_session_token?: never;
6440
- } | {
6441
- client_session_token: never[];
6442
- access_token?: never;
6443
- seam_workspace?: never;
6444
- seam_client_session_token?: never;
6445
- })[];
6446
- summary: string;
6447
- tags: string[];
6448
- 'x-fern-ignore': boolean;
6449
- };
6450
- post: {
6451
- operationId: string;
6452
6409
  responses: {
6453
6410
  200: {
6454
6411
  content: {
@@ -9252,6 +9209,9 @@ declare const _default: {
9252
9209
  format: string;
9253
9210
  type: string;
9254
9211
  };
9212
+ user_identifier_key: {
9213
+ type: string;
9214
+ };
9255
9215
  };
9256
9216
  required: string[];
9257
9217
  type: string;
@@ -3031,9 +3031,9 @@ export default {
3031
3031
  schema: {
3032
3032
  properties: {
3033
3033
  acs_user_id: { format: 'uuid', type: 'string' },
3034
- code: { oneOf: [{ pattern: '^\\d+$', type: 'string' }, {}] },
3034
+ code: { pattern: '^\\d+$', type: 'string' },
3035
3035
  },
3036
- required: ['acs_user_id'],
3036
+ required: ['acs_user_id', 'code'],
3037
3037
  type: 'object',
3038
3038
  },
3039
3039
  },
@@ -4382,41 +4382,18 @@ export default {
4382
4382
  },
4383
4383
  },
4384
4384
  '/connect_webviews/list': {
4385
- get: {
4386
- operationId: 'connectWebviewsListGet',
4387
- responses: {
4388
- 200: {
4389
- content: {
4390
- 'application/json': {
4391
- schema: {
4392
- properties: {
4393
- connect_webviews: {
4394
- items: { $ref: '#/components/schemas/connect_webview' },
4395
- type: 'array',
4396
- },
4397
- ok: { type: 'boolean' },
4398
- },
4399
- required: ['connect_webviews', 'ok'],
4400
- type: 'object',
4401
- },
4385
+ post: {
4386
+ operationId: 'connectWebviewsListPost',
4387
+ requestBody: {
4388
+ content: {
4389
+ 'application/json': {
4390
+ schema: {
4391
+ properties: { user_identifier_key: { type: 'string' } },
4392
+ type: 'object',
4402
4393
  },
4403
4394
  },
4404
- description: 'OK',
4405
4395
  },
4406
- 400: { description: 'Bad Request' },
4407
- 401: { description: 'Unauthorized' },
4408
4396
  },
4409
- security: [
4410
- { access_token: [], seam_workspace: [] },
4411
- { seam_client_session_token: [] },
4412
- { client_session_token: [] },
4413
- ],
4414
- summary: '/connect_webviews/list',
4415
- tags: ['/connect_webviews'],
4416
- 'x-fern-ignore': true,
4417
- },
4418
- post: {
4419
- operationId: 'connectWebviewsListPost',
4420
4397
  responses: {
4421
4398
  200: {
4422
4399
  content: {
@@ -6683,7 +6660,10 @@ export default {
6683
6660
  content: {
6684
6661
  'application/json': {
6685
6662
  schema: {
6686
- properties: { device_id: { format: 'uuid', type: 'string' } },
6663
+ properties: {
6664
+ device_id: { format: 'uuid', type: 'string' },
6665
+ user_identifier_key: { type: 'string' },
6666
+ },
6687
6667
  required: ['device_id'],
6688
6668
  type: 'object',
6689
6669
  },