@seamapi/types 1.81.0 → 1.83.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.
Files changed (35) hide show
  1. package/dist/connect.cjs +84 -23
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +183 -37
  4. package/lib/seam/connect/openapi.d.ts +133 -26
  5. package/lib/seam/connect/openapi.js +82 -18
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +46 -7
  8. package/lib/seam/connect/stable/models/connect-webview.d.ts +3 -3
  9. package/lib/seam/connect/stable/models/custom-metadata.d.ts +1 -1
  10. package/lib/seam/connect/stable/models/custom-metadata.js +1 -1
  11. package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -1
  12. package/lib/seam/connect/unstable/models/acs/user.d.ts +9 -0
  13. package/lib/seam/connect/unstable/models/acs/user.js +4 -9
  14. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  15. package/lib/seam/connect/unstable/models/index.d.ts +1 -0
  16. package/lib/seam/connect/unstable/models/index.js +1 -0
  17. package/lib/seam/connect/unstable/models/index.js.map +1 -1
  18. package/lib/seam/connect/unstable/models/phone-number.d.ts +2 -0
  19. package/lib/seam/connect/unstable/models/phone-number.js +11 -0
  20. package/lib/seam/connect/unstable/models/phone-number.js.map +1 -0
  21. package/lib/seam/connect/unstable/models/user-identity.d.ts +3 -0
  22. package/lib/seam/connect/unstable/models/user-identity.js +2 -0
  23. package/lib/seam/connect/unstable/models/user-identity.js.map +1 -1
  24. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  25. package/lib/seam/connect/unstable/schemas.js +1 -1
  26. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/openapi.ts +82 -18
  29. package/src/lib/seam/connect/route-types.ts +46 -15
  30. package/src/lib/seam/connect/stable/models/custom-metadata.ts +1 -4
  31. package/src/lib/seam/connect/unstable/models/acs/user.ts +4 -13
  32. package/src/lib/seam/connect/unstable/models/index.ts +1 -0
  33. package/src/lib/seam/connect/unstable/models/phone-number.ts +14 -0
  34. package/src/lib/seam/connect/unstable/models/user-identity.ts +3 -0
  35. package/src/lib/seam/connect/unstable/schemas.ts +1 -0
@@ -251,6 +251,15 @@ declare const _default: {
251
251
  nullable: boolean;
252
252
  type: string;
253
253
  };
254
+ user_identity_email_address: {
255
+ type: string;
256
+ };
257
+ user_identity_id: {
258
+ type: string;
259
+ };
260
+ user_identity_phone_number: {
261
+ type: string;
262
+ };
254
263
  workspace_id: {
255
264
  format: string;
256
265
  type: string;
@@ -506,20 +515,10 @@ declare const _default: {
506
515
  };
507
516
  custom_metadata: {
508
517
  additionalProperties: {
509
- nullable: boolean;
510
518
  oneOf: ({
511
519
  maxLength: number;
512
520
  type: string;
513
- format?: never;
514
- nullable?: never;
515
- } | {
516
- type: string;
517
- maxLength?: never;
518
- format?: never;
519
- nullable?: never;
520
521
  } | {
521
- format: string;
522
- nullable: boolean;
523
522
  type: string;
524
523
  maxLength?: never;
525
524
  })[];
@@ -587,15 +586,12 @@ declare const _default: {
587
586
  };
588
587
  custom_metadata: {
589
588
  additionalProperties: {
590
- nullable: boolean;
591
589
  oneOf: ({
590
+ maxLength: number;
592
591
  type: string;
593
- format?: never;
594
- nullable?: never;
595
592
  } | {
596
- format: string;
597
- nullable: boolean;
598
593
  type: string;
594
+ maxLength?: never;
599
595
  })[];
600
596
  };
601
597
  type: string;
@@ -8416,10 +8412,17 @@ declare const _default: {
8416
8412
  format: string;
8417
8413
  type: string;
8418
8414
  };
8415
+ user_identity_email_address: {
8416
+ type: string;
8417
+ };
8419
8418
  user_identity_id: {
8420
8419
  format: string;
8421
8420
  type: string;
8422
8421
  };
8422
+ user_identity_phone_number: {
8423
+ nullable: boolean;
8424
+ type: string;
8425
+ };
8423
8426
  };
8424
8427
  type: string;
8425
8428
  };
@@ -8483,6 +8486,100 @@ declare const _default: {
8483
8486
  'x-fern-sdk-method-name': string;
8484
8487
  };
8485
8488
  };
8489
+ '/acs/users/list_accessible_entrances': {
8490
+ post: {
8491
+ operationId: string;
8492
+ requestBody: {
8493
+ content: {
8494
+ 'application/json': {
8495
+ schema: {
8496
+ properties: {
8497
+ acs_user_id: {
8498
+ format: string;
8499
+ type: string;
8500
+ };
8501
+ };
8502
+ required: string[];
8503
+ type: string;
8504
+ };
8505
+ };
8506
+ };
8507
+ };
8508
+ responses: {
8509
+ 200: {
8510
+ content: {
8511
+ 'application/json': {
8512
+ schema: {
8513
+ properties: {
8514
+ acs_entrances: {
8515
+ items: {
8516
+ properties: {
8517
+ acs_entrance_id: {
8518
+ format: string;
8519
+ type: string;
8520
+ };
8521
+ acs_system_id: {
8522
+ format: string;
8523
+ type: string;
8524
+ };
8525
+ created_at: {
8526
+ format: string;
8527
+ type: string;
8528
+ };
8529
+ display_name: {
8530
+ type: string;
8531
+ };
8532
+ };
8533
+ required: string[];
8534
+ type: string;
8535
+ };
8536
+ type: string;
8537
+ };
8538
+ ok: {
8539
+ type: string;
8540
+ };
8541
+ };
8542
+ required: string[];
8543
+ type: string;
8544
+ };
8545
+ };
8546
+ };
8547
+ description: string;
8548
+ };
8549
+ 400: {
8550
+ description: string;
8551
+ };
8552
+ 401: {
8553
+ description: string;
8554
+ };
8555
+ };
8556
+ security: ({
8557
+ client_session: never[];
8558
+ pat_with_workspace?: never;
8559
+ console_session?: never;
8560
+ api_key?: never;
8561
+ } | {
8562
+ pat_with_workspace: never[];
8563
+ client_session?: never;
8564
+ console_session?: never;
8565
+ api_key?: never;
8566
+ } | {
8567
+ console_session: never[];
8568
+ client_session?: never;
8569
+ pat_with_workspace?: never;
8570
+ api_key?: never;
8571
+ } | {
8572
+ api_key: never[];
8573
+ client_session?: never;
8574
+ pat_with_workspace?: never;
8575
+ console_session?: never;
8576
+ })[];
8577
+ summary: string;
8578
+ tags: string[];
8579
+ 'x-fern-sdk-group-name': string[];
8580
+ 'x-fern-sdk-method-name': string;
8581
+ };
8582
+ };
8486
8583
  '/acs/users/remove_from_access_group': {
8487
8584
  post: {
8488
8585
  operationId: string;
@@ -9769,20 +9866,10 @@ declare const _default: {
9769
9866
  };
9770
9867
  custom_metadata: {
9771
9868
  additionalProperties: {
9772
- nullable: boolean;
9773
9869
  oneOf: ({
9774
9870
  maxLength: number;
9775
9871
  type: string;
9776
- format?: never;
9777
- nullable?: never;
9778
- } | {
9779
- type: string;
9780
- maxLength?: never;
9781
- format?: never;
9782
- nullable?: never;
9783
9872
  } | {
9784
- format: string;
9785
- nullable: boolean;
9786
9873
  type: string;
9787
9874
  maxLength?: never;
9788
9875
  })[];
@@ -14610,6 +14697,10 @@ declare const _default: {
14610
14697
  nullable: boolean;
14611
14698
  type: string;
14612
14699
  };
14700
+ phone_number: {
14701
+ nullable: boolean;
14702
+ type: string;
14703
+ };
14613
14704
  user_identity_key: {
14614
14705
  minLength: number;
14615
14706
  nullable: boolean;
@@ -14650,6 +14741,10 @@ declare const _default: {
14650
14741
  nullable: boolean;
14651
14742
  type: string;
14652
14743
  };
14744
+ phone_number: {
14745
+ nullable: boolean;
14746
+ type: string;
14747
+ };
14653
14748
  user_identity_id: {
14654
14749
  format: string;
14655
14750
  type: string;
@@ -15020,6 +15115,10 @@ declare const _default: {
15020
15115
  nullable: boolean;
15021
15116
  type: string;
15022
15117
  };
15118
+ phone_number: {
15119
+ nullable: boolean;
15120
+ type: string;
15121
+ };
15023
15122
  user_identity_id: {
15024
15123
  format: string;
15025
15124
  type: string;
@@ -15242,6 +15341,10 @@ declare const _default: {
15242
15341
  nullable: boolean;
15243
15342
  type: string;
15244
15343
  };
15344
+ phone_number: {
15345
+ nullable: boolean;
15346
+ type: string;
15347
+ };
15245
15348
  user_identity_id: {
15246
15349
  format: string;
15247
15350
  type: string;
@@ -15333,6 +15436,10 @@ declare const _default: {
15333
15436
  nullable: boolean;
15334
15437
  type: string;
15335
15438
  };
15439
+ phone_number: {
15440
+ nullable: boolean;
15441
+ type: string;
15442
+ };
15336
15443
  user_identity_id: {
15337
15444
  format: string;
15338
15445
  type: string;
@@ -15537,7 +15644,7 @@ declare const _default: {
15537
15644
  console_session?: never;
15538
15645
  })[];
15539
15646
  summary: string;
15540
- tags: never[];
15647
+ tags: string[];
15541
15648
  'x-fern-sdk-group-name': string[];
15542
15649
  'x-fern-sdk-method-name': string;
15543
15650
  };
@@ -250,6 +250,9 @@ export default {
250
250
  hid_acs_system_id: { format: 'uuid', type: 'string' },
251
251
  is_suspended: { type: 'boolean' },
252
252
  phone_number: { nullable: true, type: 'string' },
253
+ user_identity_email_address: { type: 'string' },
254
+ user_identity_id: { type: 'string' },
255
+ user_identity_phone_number: { type: 'string' },
253
256
  workspace_id: { format: 'uuid', type: 'string' },
254
257
  },
255
258
  required: [
@@ -405,13 +408,7 @@ export default {
405
408
  created_at: { format: 'date-time', type: 'string' },
406
409
  custom_metadata: {
407
410
  additionalProperties: {
408
- nullable: true,
409
- oneOf: [
410
- { maxLength: 500, type: 'string' },
411
- { type: 'number' },
412
- { format: 'null', nullable: true, type: 'string' },
413
- { type: 'boolean' },
414
- ],
411
+ oneOf: [{ maxLength: 500, type: 'string' }, { type: 'boolean' }],
415
412
  },
416
413
  type: 'object',
417
414
  },
@@ -467,13 +464,7 @@ export default {
467
464
  created_at: { format: 'date-time', type: 'string' },
468
465
  custom_metadata: {
469
466
  additionalProperties: {
470
- nullable: true,
471
- oneOf: [
472
- { type: 'string' },
473
- { type: 'number' },
474
- { type: 'boolean' },
475
- { format: 'null', nullable: true, type: 'string' },
476
- ],
467
+ oneOf: [{ maxLength: 500, type: 'string' }, { type: 'boolean' }],
477
468
  },
478
469
  type: 'object',
479
470
  },
@@ -6256,7 +6247,12 @@ export default {
6256
6247
  schema: {
6257
6248
  properties: {
6258
6249
  acs_system_id: { format: 'uuid', type: 'string' },
6250
+ user_identity_email_address: { type: 'string' },
6259
6251
  user_identity_id: { format: 'uuid', type: 'string' },
6252
+ user_identity_phone_number: {
6253
+ nullable: true,
6254
+ type: 'string',
6255
+ },
6260
6256
  },
6261
6257
  type: 'object',
6262
6258
  },
@@ -6297,6 +6293,68 @@ export default {
6297
6293
  'x-fern-sdk-method-name': 'list',
6298
6294
  },
6299
6295
  },
6296
+ '/acs/users/list_accessible_entrances': {
6297
+ post: {
6298
+ operationId: 'acsUsersListAccessibleEntrancesPost',
6299
+ requestBody: {
6300
+ content: {
6301
+ 'application/json': {
6302
+ schema: {
6303
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
6304
+ required: ['acs_user_id'],
6305
+ type: 'object',
6306
+ },
6307
+ },
6308
+ },
6309
+ },
6310
+ responses: {
6311
+ 200: {
6312
+ content: {
6313
+ 'application/json': {
6314
+ schema: {
6315
+ properties: {
6316
+ acs_entrances: {
6317
+ items: {
6318
+ properties: {
6319
+ acs_entrance_id: { format: 'uuid', type: 'string' },
6320
+ acs_system_id: { format: 'uuid', type: 'string' },
6321
+ created_at: { format: 'date-time', type: 'string' },
6322
+ display_name: { type: 'string' },
6323
+ },
6324
+ required: [
6325
+ 'acs_entrance_id',
6326
+ 'display_name',
6327
+ 'acs_system_id',
6328
+ 'created_at',
6329
+ ],
6330
+ type: 'object',
6331
+ },
6332
+ type: 'array',
6333
+ },
6334
+ ok: { type: 'boolean' },
6335
+ },
6336
+ required: ['acs_entrances', 'ok'],
6337
+ type: 'object',
6338
+ },
6339
+ },
6340
+ },
6341
+ description: 'OK',
6342
+ },
6343
+ 400: { description: 'Bad Request' },
6344
+ 401: { description: 'Unauthorized' },
6345
+ },
6346
+ security: [
6347
+ { client_session: [] },
6348
+ { pat_with_workspace: [] },
6349
+ { console_session: [] },
6350
+ { api_key: [] },
6351
+ ],
6352
+ summary: '/acs/users/list_accessible_entrances',
6353
+ tags: ['/acs'],
6354
+ 'x-fern-sdk-group-name': ['acs', 'users'],
6355
+ 'x-fern-sdk-method-name': 'list_accessible_entrances',
6356
+ },
6357
+ },
6300
6358
  '/acs/users/remove_from_access_group': {
6301
6359
  post: {
6302
6360
  operationId: 'acsUsersRemoveFromAccessGroupPost',
@@ -7223,11 +7281,8 @@ export default {
7223
7281
  automatically_manage_new_devices: { type: 'boolean' },
7224
7282
  custom_metadata: {
7225
7283
  additionalProperties: {
7226
- nullable: true,
7227
7284
  oneOf: [
7228
7285
  { maxLength: 500, type: 'string' },
7229
- { type: 'number' },
7230
- { format: 'null', nullable: true, type: 'string' },
7231
7286
  { type: 'boolean' },
7232
7287
  ],
7233
7288
  },
@@ -10989,6 +11044,7 @@ export default {
10989
11044
  type: 'string',
10990
11045
  },
10991
11046
  full_name: { minLength: 1, nullable: true, type: 'string' },
11047
+ phone_number: { nullable: true, type: 'string' },
10992
11048
  user_identity_key: {
10993
11049
  minLength: 1,
10994
11050
  nullable: true,
@@ -11021,6 +11077,7 @@ export default {
11021
11077
  nullable: true,
11022
11078
  type: 'string',
11023
11079
  },
11080
+ phone_number: { nullable: true, type: 'string' },
11024
11081
  user_identity_id: { format: 'uuid', type: 'string' },
11025
11082
  user_identity_key: {
11026
11083
  minLength: 1,
@@ -11033,6 +11090,7 @@ export default {
11033
11090
  'user_identity_id',
11034
11091
  'user_identity_key',
11035
11092
  'email_address',
11093
+ 'phone_number',
11036
11094
  'display_name',
11037
11095
  'full_name',
11038
11096
  'created_at',
@@ -11295,6 +11353,7 @@ export default {
11295
11353
  nullable: true,
11296
11354
  type: 'string',
11297
11355
  },
11356
+ phone_number: { nullable: true, type: 'string' },
11298
11357
  user_identity_id: { format: 'uuid', type: 'string' },
11299
11358
  user_identity_key: {
11300
11359
  minLength: 1,
@@ -11307,6 +11366,7 @@ export default {
11307
11366
  'user_identity_id',
11308
11367
  'user_identity_key',
11309
11368
  'email_address',
11369
+ 'phone_number',
11310
11370
  'display_name',
11311
11371
  'full_name',
11312
11372
  'created_at',
@@ -11446,6 +11506,7 @@ export default {
11446
11506
  nullable: true,
11447
11507
  type: 'string',
11448
11508
  },
11509
+ phone_number: { nullable: true, type: 'string' },
11449
11510
  user_identity_id: { format: 'uuid', type: 'string' },
11450
11511
  user_identity_key: {
11451
11512
  minLength: 1,
@@ -11458,6 +11519,7 @@ export default {
11458
11519
  'user_identity_id',
11459
11520
  'user_identity_key',
11460
11521
  'email_address',
11522
+ 'phone_number',
11461
11523
  'display_name',
11462
11524
  'full_name',
11463
11525
  'created_at',
@@ -11512,6 +11574,7 @@ export default {
11512
11574
  nullable: true,
11513
11575
  type: 'string',
11514
11576
  },
11577
+ phone_number: { nullable: true, type: 'string' },
11515
11578
  user_identity_id: { format: 'uuid', type: 'string' },
11516
11579
  user_identity_key: {
11517
11580
  minLength: 1,
@@ -11524,6 +11587,7 @@ export default {
11524
11587
  'user_identity_id',
11525
11588
  'user_identity_key',
11526
11589
  'email_address',
11590
+ 'phone_number',
11527
11591
  'display_name',
11528
11592
  'full_name',
11529
11593
  'created_at',
@@ -11651,7 +11715,7 @@ export default {
11651
11715
  { api_key: [] },
11652
11716
  ],
11653
11717
  summary: '/user_identities/list_acs_systems',
11654
- tags: [],
11718
+ tags: ['/user_identities'],
11655
11719
  'x-fern-sdk-group-name': ['user_identities'],
11656
11720
  'x-fern-sdk-method-name': 'list_acs_systems',
11657
11721
  },