@seamapi/types 1.364.0 → 1.366.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 (60) hide show
  1. package/dist/connect.cjs +1007 -4
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2441 -178
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-access-group.js +1 -2
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-credential.js +1 -2
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +1 -1
  12. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/{acs-user.d.ts → acs-users/acs-user.d.ts} +540 -18
  15. package/lib/seam/connect/models/acs/{acs-user.js → acs-users/acs-user.js} +10 -4
  16. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -0
  17. package/lib/seam/connect/models/acs/acs-users/index.d.ts +2 -0
  18. package/lib/seam/connect/models/acs/acs-users/index.js +3 -0
  19. package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -0
  20. package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +176 -0
  21. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +42 -0
  22. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -0
  23. package/lib/seam/connect/models/acs/index.d.ts +1 -1
  24. package/lib/seam/connect/models/acs/index.js +1 -1
  25. package/lib/seam/connect/models/acs/index.js.map +1 -1
  26. package/lib/seam/connect/models/connected-accounts/connected-account.js +1 -2
  27. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  28. package/lib/seam/connect/models/devices/device.js +1 -2
  29. package/lib/seam/connect/models/devices/device.js.map +1 -1
  30. package/lib/seam/connect/models/index.d.ts +1 -0
  31. package/lib/seam/connect/models/index.js +1 -0
  32. package/lib/seam/connect/models/index.js.map +1 -1
  33. package/lib/seam/connect/models/locations/index.d.ts +1 -0
  34. package/lib/seam/connect/models/locations/index.js +2 -0
  35. package/lib/seam/connect/models/locations/index.js.map +1 -0
  36. package/lib/seam/connect/models/locations/location.d.ts +49 -0
  37. package/lib/seam/connect/models/locations/location.js +25 -0
  38. package/lib/seam/connect/models/locations/location.js.map +1 -0
  39. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  40. package/lib/seam/connect/openapi.d.ts +1271 -36
  41. package/lib/seam/connect/openapi.js +955 -0
  42. package/lib/seam/connect/openapi.js.map +1 -1
  43. package/lib/seam/connect/route-types.d.ts +506 -0
  44. package/package.json +1 -1
  45. package/src/lib/seam/connect/internal/schemas.ts +2 -0
  46. package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -2
  47. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -2
  48. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
  49. package/src/lib/seam/connect/models/acs/{acs-user.ts → acs-users/acs-user.ts} +10 -4
  50. package/src/lib/seam/connect/models/acs/acs-users/index.ts +2 -0
  51. package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +56 -0
  52. package/src/lib/seam/connect/models/acs/index.ts +1 -1
  53. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +1 -2
  54. package/src/lib/seam/connect/models/devices/device.ts +1 -2
  55. package/src/lib/seam/connect/models/index.ts +1 -0
  56. package/src/lib/seam/connect/models/locations/index.ts +1 -0
  57. package/src/lib/seam/connect/models/locations/location.ts +30 -0
  58. package/src/lib/seam/connect/openapi.ts +976 -0
  59. package/src/lib/seam/connect/route-types.ts +567 -0
  60. package/lib/seam/connect/models/acs/acs-user.js.map +0 -1
@@ -2439,6 +2439,170 @@ export default {
2439
2439
  type: 'string',
2440
2440
  'x-undocumented': 'Only used internally.',
2441
2441
  },
2442
+ pending_modifications: {
2443
+ items: {
2444
+ discriminator: { propertyName: 'modification_code' },
2445
+ oneOf: [
2446
+ {
2447
+ properties: {
2448
+ created_at: { format: 'date-time', type: 'string' },
2449
+ modification_code: { enum: ['profile'], type: 'string' },
2450
+ modified_from: {
2451
+ properties: {
2452
+ email_address: {
2453
+ format: 'email',
2454
+ nullable: true,
2455
+ type: 'string',
2456
+ },
2457
+ full_name: { nullable: true, type: 'string' },
2458
+ phone_number: { nullable: true, type: 'string' },
2459
+ },
2460
+ type: 'object',
2461
+ },
2462
+ modified_to: {
2463
+ properties: {
2464
+ email_address: {
2465
+ format: 'email',
2466
+ nullable: true,
2467
+ type: 'string',
2468
+ },
2469
+ full_name: { nullable: true, type: 'string' },
2470
+ phone_number: { nullable: true, type: 'string' },
2471
+ },
2472
+ type: 'object',
2473
+ },
2474
+ },
2475
+ required: [
2476
+ 'created_at',
2477
+ 'modification_code',
2478
+ 'modified_from',
2479
+ 'modified_to',
2480
+ ],
2481
+ type: 'object',
2482
+ },
2483
+ {
2484
+ properties: {
2485
+ created_at: { format: 'date-time', type: 'string' },
2486
+ modification_code: {
2487
+ enum: ['access_schedule'],
2488
+ type: 'string',
2489
+ },
2490
+ modified_from: {
2491
+ properties: {
2492
+ ends_at: {
2493
+ description:
2494
+ "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2495
+ format: 'date-time',
2496
+ nullable: true,
2497
+ type: 'string',
2498
+ },
2499
+ starts_at: {
2500
+ description:
2501
+ "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2502
+ format: 'date-time',
2503
+ type: 'string',
2504
+ },
2505
+ },
2506
+ required: ['starts_at', 'ends_at'],
2507
+ type: 'object',
2508
+ },
2509
+ modified_to: {
2510
+ properties: {
2511
+ ends_at: {
2512
+ description:
2513
+ "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2514
+ format: 'date-time',
2515
+ nullable: true,
2516
+ type: 'string',
2517
+ },
2518
+ starts_at: {
2519
+ description:
2520
+ "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
2521
+ format: 'date-time',
2522
+ type: 'string',
2523
+ },
2524
+ },
2525
+ required: ['starts_at', 'ends_at'],
2526
+ type: 'object',
2527
+ },
2528
+ },
2529
+ required: [
2530
+ 'created_at',
2531
+ 'modification_code',
2532
+ 'modified_from',
2533
+ 'modified_to',
2534
+ ],
2535
+ type: 'object',
2536
+ },
2537
+ {
2538
+ properties: {
2539
+ created_at: { format: 'date-time', type: 'string' },
2540
+ modification_code: {
2541
+ enum: ['suspension_state'],
2542
+ type: 'string',
2543
+ },
2544
+ modified_from: {
2545
+ properties: { is_suspended: { type: 'boolean' } },
2546
+ required: ['is_suspended'],
2547
+ type: 'object',
2548
+ },
2549
+ modified_to: {
2550
+ properties: { is_suspended: { type: 'boolean' } },
2551
+ required: ['is_suspended'],
2552
+ type: 'object',
2553
+ },
2554
+ },
2555
+ required: [
2556
+ 'created_at',
2557
+ 'modification_code',
2558
+ 'modified_from',
2559
+ 'modified_to',
2560
+ ],
2561
+ type: 'object',
2562
+ },
2563
+ {
2564
+ properties: {
2565
+ created_at: { format: 'date-time', type: 'string' },
2566
+ modification_code: {
2567
+ enum: ['acs_access_group_membership'],
2568
+ type: 'string',
2569
+ },
2570
+ modified_from: {
2571
+ properties: {
2572
+ acs_access_group_id: {
2573
+ format: 'uuid',
2574
+ nullable: true,
2575
+ type: 'string',
2576
+ },
2577
+ },
2578
+ required: ['acs_access_group_id'],
2579
+ type: 'object',
2580
+ },
2581
+ modified_to: {
2582
+ properties: {
2583
+ acs_access_group_id: {
2584
+ format: 'uuid',
2585
+ nullable: true,
2586
+ type: 'string',
2587
+ },
2588
+ },
2589
+ required: ['acs_access_group_id'],
2590
+ type: 'object',
2591
+ },
2592
+ },
2593
+ required: [
2594
+ 'created_at',
2595
+ 'modification_code',
2596
+ 'modified_from',
2597
+ 'modified_to',
2598
+ ],
2599
+ type: 'object',
2600
+ },
2601
+ ],
2602
+ },
2603
+ type: 'array',
2604
+ 'x-undocumented': 'Experimental.',
2605
+ },
2442
2606
  phone_number: {
2443
2607
  description:
2444
2608
  'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
@@ -14559,6 +14723,170 @@ export default {
14559
14723
  type: 'string',
14560
14724
  'x-undocumented': 'Only used internally.',
14561
14725
  },
14726
+ pending_modifications: {
14727
+ items: {
14728
+ discriminator: { propertyName: 'modification_code' },
14729
+ oneOf: [
14730
+ {
14731
+ properties: {
14732
+ created_at: { format: 'date-time', type: 'string' },
14733
+ modification_code: { enum: ['profile'], type: 'string' },
14734
+ modified_from: {
14735
+ properties: {
14736
+ email_address: {
14737
+ format: 'email',
14738
+ nullable: true,
14739
+ type: 'string',
14740
+ },
14741
+ full_name: { nullable: true, type: 'string' },
14742
+ phone_number: { nullable: true, type: 'string' },
14743
+ },
14744
+ type: 'object',
14745
+ },
14746
+ modified_to: {
14747
+ properties: {
14748
+ email_address: {
14749
+ format: 'email',
14750
+ nullable: true,
14751
+ type: 'string',
14752
+ },
14753
+ full_name: { nullable: true, type: 'string' },
14754
+ phone_number: { nullable: true, type: 'string' },
14755
+ },
14756
+ type: 'object',
14757
+ },
14758
+ },
14759
+ required: [
14760
+ 'created_at',
14761
+ 'modification_code',
14762
+ 'modified_from',
14763
+ 'modified_to',
14764
+ ],
14765
+ type: 'object',
14766
+ },
14767
+ {
14768
+ properties: {
14769
+ created_at: { format: 'date-time', type: 'string' },
14770
+ modification_code: {
14771
+ enum: ['access_schedule'],
14772
+ type: 'string',
14773
+ },
14774
+ modified_from: {
14775
+ properties: {
14776
+ ends_at: {
14777
+ description:
14778
+ "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14779
+ format: 'date-time',
14780
+ nullable: true,
14781
+ type: 'string',
14782
+ },
14783
+ starts_at: {
14784
+ description:
14785
+ "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14786
+ format: 'date-time',
14787
+ type: 'string',
14788
+ },
14789
+ },
14790
+ required: ['starts_at', 'ends_at'],
14791
+ type: 'object',
14792
+ },
14793
+ modified_to: {
14794
+ properties: {
14795
+ ends_at: {
14796
+ description:
14797
+ "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14798
+ format: 'date-time',
14799
+ nullable: true,
14800
+ type: 'string',
14801
+ },
14802
+ starts_at: {
14803
+ description:
14804
+ "Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
14805
+ format: 'date-time',
14806
+ type: 'string',
14807
+ },
14808
+ },
14809
+ required: ['starts_at', 'ends_at'],
14810
+ type: 'object',
14811
+ },
14812
+ },
14813
+ required: [
14814
+ 'created_at',
14815
+ 'modification_code',
14816
+ 'modified_from',
14817
+ 'modified_to',
14818
+ ],
14819
+ type: 'object',
14820
+ },
14821
+ {
14822
+ properties: {
14823
+ created_at: { format: 'date-time', type: 'string' },
14824
+ modification_code: {
14825
+ enum: ['suspension_state'],
14826
+ type: 'string',
14827
+ },
14828
+ modified_from: {
14829
+ properties: { is_suspended: { type: 'boolean' } },
14830
+ required: ['is_suspended'],
14831
+ type: 'object',
14832
+ },
14833
+ modified_to: {
14834
+ properties: { is_suspended: { type: 'boolean' } },
14835
+ required: ['is_suspended'],
14836
+ type: 'object',
14837
+ },
14838
+ },
14839
+ required: [
14840
+ 'created_at',
14841
+ 'modification_code',
14842
+ 'modified_from',
14843
+ 'modified_to',
14844
+ ],
14845
+ type: 'object',
14846
+ },
14847
+ {
14848
+ properties: {
14849
+ created_at: { format: 'date-time', type: 'string' },
14850
+ modification_code: {
14851
+ enum: ['acs_access_group_membership'],
14852
+ type: 'string',
14853
+ },
14854
+ modified_from: {
14855
+ properties: {
14856
+ acs_access_group_id: {
14857
+ format: 'uuid',
14858
+ nullable: true,
14859
+ type: 'string',
14860
+ },
14861
+ },
14862
+ required: ['acs_access_group_id'],
14863
+ type: 'object',
14864
+ },
14865
+ modified_to: {
14866
+ properties: {
14867
+ acs_access_group_id: {
14868
+ format: 'uuid',
14869
+ nullable: true,
14870
+ type: 'string',
14871
+ },
14872
+ },
14873
+ required: ['acs_access_group_id'],
14874
+ type: 'object',
14875
+ },
14876
+ },
14877
+ required: [
14878
+ 'created_at',
14879
+ 'modification_code',
14880
+ 'modified_from',
14881
+ 'modified_to',
14882
+ ],
14883
+ type: 'object',
14884
+ },
14885
+ ],
14886
+ },
14887
+ type: 'array',
14888
+ 'x-undocumented': 'Experimental.',
14889
+ },
14562
14890
  phone_number: {
14563
14891
  description:
14564
14892
  'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
@@ -22162,6 +22490,12 @@ export default {
22162
22490
  ],
22163
22491
  type: 'string',
22164
22492
  },
22493
+ unstable_location_id: {
22494
+ format: 'uuid',
22495
+ nullable: true,
22496
+ type: 'string',
22497
+ 'x-undocumented': 'Experimental locations.',
22498
+ },
22165
22499
  user_identifier_key: {
22166
22500
  description:
22167
22501
  'Your own internal user ID for the user by which to filter devices.',
@@ -22694,6 +23028,12 @@ export default {
22694
23028
  ],
22695
23029
  type: 'string',
22696
23030
  },
23031
+ unstable_location_id: {
23032
+ format: 'uuid',
23033
+ nullable: true,
23034
+ type: 'string',
23035
+ 'x-undocumented': 'Experimental locations.',
23036
+ },
22697
23037
  user_identifier_key: {
22698
23038
  description:
22699
23039
  'Your own internal user ID for the user by which to filter devices.',
@@ -23551,6 +23891,12 @@ export default {
23551
23891
  ],
23552
23892
  type: 'string',
23553
23893
  },
23894
+ unstable_location_id: {
23895
+ format: 'uuid',
23896
+ nullable: true,
23897
+ type: 'string',
23898
+ 'x-undocumented': 'Experimental locations.',
23899
+ },
23554
23900
  user_identifier_key: {
23555
23901
  description:
23556
23902
  'Your own internal user ID for the user by which to filter devices.',
@@ -24046,6 +24392,12 @@ export default {
24046
24392
  ],
24047
24393
  type: 'string',
24048
24394
  },
24395
+ unstable_location_id: {
24396
+ format: 'uuid',
24397
+ nullable: true,
24398
+ type: 'string',
24399
+ 'x-undocumented': 'Experimental locations.',
24400
+ },
24049
24401
  user_identifier_key: {
24050
24402
  description:
24051
24403
  'Your own internal user ID for the user by which to filter devices.',
@@ -25939,6 +26291,12 @@ export default {
25939
26291
  ],
25940
26292
  type: 'string',
25941
26293
  },
26294
+ unstable_location_id: {
26295
+ format: 'uuid',
26296
+ nullable: true,
26297
+ type: 'string',
26298
+ 'x-undocumented': 'Experimental locations.',
26299
+ },
25942
26300
  user_identifier_key: {
25943
26301
  description:
25944
26302
  'Your own internal user ID for the user by which to filter devices.',
@@ -27375,6 +27733,624 @@ export default {
27375
27733
  'x-title': 'Update a Climate Preset',
27376
27734
  },
27377
27735
  },
27736
+ '/unstable_locations/add_devices': {
27737
+ post: {
27738
+ description:
27739
+ 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
27740
+ operationId: 'unstableLocationsAddDevicesPost',
27741
+ requestBody: {
27742
+ content: {
27743
+ 'application/json': {
27744
+ schema: {
27745
+ properties: {
27746
+ device_ids: {
27747
+ items: { format: 'uuid', type: 'string' },
27748
+ type: 'array',
27749
+ },
27750
+ location_id: { format: 'uuid', type: 'string' },
27751
+ },
27752
+ required: ['location_id', 'device_ids'],
27753
+ type: 'object',
27754
+ },
27755
+ },
27756
+ },
27757
+ },
27758
+ responses: {
27759
+ 200: {
27760
+ content: {
27761
+ 'application/json': {
27762
+ schema: {
27763
+ properties: { ok: { type: 'boolean' } },
27764
+ required: ['ok'],
27765
+ type: 'object',
27766
+ },
27767
+ },
27768
+ },
27769
+ description: 'OK',
27770
+ },
27771
+ 400: { description: 'Bad Request' },
27772
+ 401: { description: 'Unauthorized' },
27773
+ },
27774
+ security: [
27775
+ { pat_with_workspace: [] },
27776
+ { console_session_with_workspace: [] },
27777
+ { api_key: [] },
27778
+ ],
27779
+ summary: '/unstable_locations/add_devices',
27780
+ tags: [],
27781
+ 'x-fern-sdk-group-name': ['unstable_locations'],
27782
+ 'x-fern-sdk-method-name': 'add_devices',
27783
+ 'x-response-key': null,
27784
+ 'x-title': 'Add Location Devices',
27785
+ 'x-undocumented': 'Experimental locations.',
27786
+ },
27787
+ },
27788
+ '/unstable_locations/create': {
27789
+ post: {
27790
+ description: 'Create a new location.',
27791
+ operationId: 'unstableLocationsCreatePost',
27792
+ requestBody: {
27793
+ content: {
27794
+ 'application/json': {
27795
+ schema: {
27796
+ properties: {
27797
+ geolocation: {
27798
+ properties: {
27799
+ latitude: { format: 'float', type: 'number' },
27800
+ longitude: { format: 'float', type: 'number' },
27801
+ },
27802
+ required: ['latitude', 'longitude'],
27803
+ type: 'object',
27804
+ },
27805
+ name: { type: 'string' },
27806
+ time_zone: { type: 'string' },
27807
+ },
27808
+ required: ['name'],
27809
+ type: 'object',
27810
+ },
27811
+ },
27812
+ },
27813
+ },
27814
+ responses: {
27815
+ 200: {
27816
+ content: {
27817
+ 'application/json': {
27818
+ schema: {
27819
+ properties: {
27820
+ location: {
27821
+ properties: {
27822
+ created_at: {
27823
+ description:
27824
+ 'Date and time at which the location object was created.',
27825
+ format: 'date-time',
27826
+ type: 'string',
27827
+ },
27828
+ display_name: {
27829
+ description: 'Display name of the location.',
27830
+ type: 'string',
27831
+ },
27832
+ geolocation: {
27833
+ description: 'Geographical location of the location.',
27834
+ properties: {
27835
+ latitude: { format: 'float', type: 'number' },
27836
+ longitude: { format: 'float', type: 'number' },
27837
+ },
27838
+ required: ['latitude', 'longitude'],
27839
+ type: 'object',
27840
+ },
27841
+ location_id: {
27842
+ description: 'Unique identifier for the location.',
27843
+ format: 'uuid',
27844
+ type: 'string',
27845
+ },
27846
+ time_zone: {
27847
+ description: 'Time zone of the location.',
27848
+ type: 'string',
27849
+ },
27850
+ workspace_id: {
27851
+ description:
27852
+ 'Unique identifier for the Seam workspace associated with the location.',
27853
+ format: 'uuid',
27854
+ type: 'string',
27855
+ },
27856
+ },
27857
+ required: [
27858
+ 'location_id',
27859
+ 'workspace_id',
27860
+ 'display_name',
27861
+ 'created_at',
27862
+ ],
27863
+ type: 'object',
27864
+ },
27865
+ ok: { type: 'boolean' },
27866
+ },
27867
+ required: ['location', 'ok'],
27868
+ type: 'object',
27869
+ },
27870
+ },
27871
+ },
27872
+ description: 'OK',
27873
+ },
27874
+ 400: { description: 'Bad Request' },
27875
+ 401: { description: 'Unauthorized' },
27876
+ },
27877
+ security: [
27878
+ { pat_with_workspace: [] },
27879
+ { console_session_with_workspace: [] },
27880
+ { api_key: [] },
27881
+ ],
27882
+ summary: '/unstable_locations/create',
27883
+ tags: [],
27884
+ 'x-fern-sdk-group-name': ['unstable_locations'],
27885
+ 'x-fern-sdk-method-name': 'create',
27886
+ 'x-fern-sdk-return-value': 'location',
27887
+ 'x-response-key': 'location',
27888
+ 'x-title': 'Create Location',
27889
+ 'x-undocumented': 'Experimental locations.',
27890
+ },
27891
+ },
27892
+ '/unstable_locations/delete': {
27893
+ post: {
27894
+ description: 'Delete a location.',
27895
+ operationId: 'unstableLocationsDeletePost',
27896
+ requestBody: {
27897
+ content: {
27898
+ 'application/json': {
27899
+ schema: {
27900
+ properties: { location_id: { format: 'uuid', type: 'string' } },
27901
+ required: ['location_id'],
27902
+ type: 'object',
27903
+ },
27904
+ },
27905
+ },
27906
+ },
27907
+ responses: {
27908
+ 200: {
27909
+ content: {
27910
+ 'application/json': {
27911
+ schema: {
27912
+ properties: { ok: { type: 'boolean' } },
27913
+ required: ['ok'],
27914
+ type: 'object',
27915
+ },
27916
+ },
27917
+ },
27918
+ description: 'OK',
27919
+ },
27920
+ 400: { description: 'Bad Request' },
27921
+ 401: { description: 'Unauthorized' },
27922
+ },
27923
+ security: [
27924
+ { pat_with_workspace: [] },
27925
+ { console_session_with_workspace: [] },
27926
+ { api_key: [] },
27927
+ ],
27928
+ summary: '/unstable_locations/delete',
27929
+ tags: [],
27930
+ 'x-fern-sdk-group-name': ['unstable_locations'],
27931
+ 'x-fern-sdk-method-name': 'delete',
27932
+ 'x-response-key': null,
27933
+ 'x-title': 'Delete Location',
27934
+ 'x-undocumented': 'Experimental locations.',
27935
+ },
27936
+ },
27937
+ '/unstable_locations/get': {
27938
+ post: {
27939
+ description: 'Get a location.',
27940
+ operationId: 'unstableLocationsGetPost',
27941
+ requestBody: {
27942
+ content: {
27943
+ 'application/json': {
27944
+ schema: {
27945
+ properties: { location_id: { format: 'uuid', type: 'string' } },
27946
+ required: ['location_id'],
27947
+ type: 'object',
27948
+ },
27949
+ },
27950
+ },
27951
+ },
27952
+ responses: {
27953
+ 200: {
27954
+ content: {
27955
+ 'application/json': {
27956
+ schema: {
27957
+ properties: {
27958
+ location: {
27959
+ properties: {
27960
+ created_at: {
27961
+ description:
27962
+ 'Date and time at which the location object was created.',
27963
+ format: 'date-time',
27964
+ type: 'string',
27965
+ },
27966
+ display_name: {
27967
+ description: 'Display name of the location.',
27968
+ type: 'string',
27969
+ },
27970
+ geolocation: {
27971
+ description: 'Geographical location of the location.',
27972
+ properties: {
27973
+ latitude: { format: 'float', type: 'number' },
27974
+ longitude: { format: 'float', type: 'number' },
27975
+ },
27976
+ required: ['latitude', 'longitude'],
27977
+ type: 'object',
27978
+ },
27979
+ location_id: {
27980
+ description: 'Unique identifier for the location.',
27981
+ format: 'uuid',
27982
+ type: 'string',
27983
+ },
27984
+ time_zone: {
27985
+ description: 'Time zone of the location.',
27986
+ type: 'string',
27987
+ },
27988
+ workspace_id: {
27989
+ description:
27990
+ 'Unique identifier for the Seam workspace associated with the location.',
27991
+ format: 'uuid',
27992
+ type: 'string',
27993
+ },
27994
+ },
27995
+ required: [
27996
+ 'location_id',
27997
+ 'workspace_id',
27998
+ 'display_name',
27999
+ 'created_at',
28000
+ ],
28001
+ type: 'object',
28002
+ },
28003
+ ok: { type: 'boolean' },
28004
+ },
28005
+ required: ['location', 'ok'],
28006
+ type: 'object',
28007
+ },
28008
+ },
28009
+ },
28010
+ description: 'OK',
28011
+ },
28012
+ 400: { description: 'Bad Request' },
28013
+ 401: { description: 'Unauthorized' },
28014
+ },
28015
+ security: [
28016
+ { pat_with_workspace: [] },
28017
+ { console_session_with_workspace: [] },
28018
+ { api_key: [] },
28019
+ ],
28020
+ summary: '/unstable_locations/get',
28021
+ tags: [],
28022
+ 'x-fern-sdk-group-name': ['unstable_locations'],
28023
+ 'x-fern-sdk-method-name': 'get',
28024
+ 'x-fern-sdk-return-value': 'location',
28025
+ 'x-response-key': 'location',
28026
+ 'x-title': 'Get Location',
28027
+ 'x-undocumented': 'Experimental locations.',
28028
+ },
28029
+ },
28030
+ '/unstable_locations/list': {
28031
+ get: {
28032
+ description: 'Returns a list of all locations.',
28033
+ operationId: 'unstableLocationsListGet',
28034
+ responses: {
28035
+ 200: {
28036
+ content: {
28037
+ 'application/json': {
28038
+ schema: {
28039
+ properties: {
28040
+ locations: {
28041
+ items: {
28042
+ properties: {
28043
+ created_at: {
28044
+ description:
28045
+ 'Date and time at which the location object was created.',
28046
+ format: 'date-time',
28047
+ type: 'string',
28048
+ },
28049
+ display_name: {
28050
+ description: 'Display name of the location.',
28051
+ type: 'string',
28052
+ },
28053
+ geolocation: {
28054
+ description:
28055
+ 'Geographical location of the location.',
28056
+ properties: {
28057
+ latitude: { format: 'float', type: 'number' },
28058
+ longitude: { format: 'float', type: 'number' },
28059
+ },
28060
+ required: ['latitude', 'longitude'],
28061
+ type: 'object',
28062
+ },
28063
+ location_id: {
28064
+ description: 'Unique identifier for the location.',
28065
+ format: 'uuid',
28066
+ type: 'string',
28067
+ },
28068
+ time_zone: {
28069
+ description: 'Time zone of the location.',
28070
+ type: 'string',
28071
+ },
28072
+ workspace_id: {
28073
+ description:
28074
+ 'Unique identifier for the Seam workspace associated with the location.',
28075
+ format: 'uuid',
28076
+ type: 'string',
28077
+ },
28078
+ },
28079
+ required: [
28080
+ 'location_id',
28081
+ 'workspace_id',
28082
+ 'display_name',
28083
+ 'created_at',
28084
+ ],
28085
+ type: 'object',
28086
+ },
28087
+ type: 'array',
28088
+ },
28089
+ ok: { type: 'boolean' },
28090
+ },
28091
+ required: ['locations', 'ok'],
28092
+ type: 'object',
28093
+ },
28094
+ },
28095
+ },
28096
+ description: 'OK',
28097
+ },
28098
+ 400: { description: 'Bad Request' },
28099
+ 401: { description: 'Unauthorized' },
28100
+ },
28101
+ security: [
28102
+ { pat_with_workspace: [] },
28103
+ { console_session_with_workspace: [] },
28104
+ { api_key: [] },
28105
+ ],
28106
+ summary: '/unstable_locations/list',
28107
+ tags: [],
28108
+ 'x-fern-ignore': true,
28109
+ 'x-response-key': 'locations',
28110
+ 'x-title': 'List Locations',
28111
+ 'x-undocumented': 'Experimental locations.',
28112
+ },
28113
+ post: {
28114
+ description: 'Returns a list of all locations.',
28115
+ operationId: 'unstableLocationsListPost',
28116
+ responses: {
28117
+ 200: {
28118
+ content: {
28119
+ 'application/json': {
28120
+ schema: {
28121
+ properties: {
28122
+ locations: {
28123
+ items: {
28124
+ properties: {
28125
+ created_at: {
28126
+ description:
28127
+ 'Date and time at which the location object was created.',
28128
+ format: 'date-time',
28129
+ type: 'string',
28130
+ },
28131
+ display_name: {
28132
+ description: 'Display name of the location.',
28133
+ type: 'string',
28134
+ },
28135
+ geolocation: {
28136
+ description:
28137
+ 'Geographical location of the location.',
28138
+ properties: {
28139
+ latitude: { format: 'float', type: 'number' },
28140
+ longitude: { format: 'float', type: 'number' },
28141
+ },
28142
+ required: ['latitude', 'longitude'],
28143
+ type: 'object',
28144
+ },
28145
+ location_id: {
28146
+ description: 'Unique identifier for the location.',
28147
+ format: 'uuid',
28148
+ type: 'string',
28149
+ },
28150
+ time_zone: {
28151
+ description: 'Time zone of the location.',
28152
+ type: 'string',
28153
+ },
28154
+ workspace_id: {
28155
+ description:
28156
+ 'Unique identifier for the Seam workspace associated with the location.',
28157
+ format: 'uuid',
28158
+ type: 'string',
28159
+ },
28160
+ },
28161
+ required: [
28162
+ 'location_id',
28163
+ 'workspace_id',
28164
+ 'display_name',
28165
+ 'created_at',
28166
+ ],
28167
+ type: 'object',
28168
+ },
28169
+ type: 'array',
28170
+ },
28171
+ ok: { type: 'boolean' },
28172
+ },
28173
+ required: ['locations', 'ok'],
28174
+ type: 'object',
28175
+ },
28176
+ },
28177
+ },
28178
+ description: 'OK',
28179
+ },
28180
+ 400: { description: 'Bad Request' },
28181
+ 401: { description: 'Unauthorized' },
28182
+ },
28183
+ security: [
28184
+ { pat_with_workspace: [] },
28185
+ { console_session_with_workspace: [] },
28186
+ { api_key: [] },
28187
+ ],
28188
+ summary: '/unstable_locations/list',
28189
+ tags: [],
28190
+ 'x-fern-sdk-group-name': ['unstable_locations'],
28191
+ 'x-fern-sdk-method-name': 'list',
28192
+ 'x-fern-sdk-return-value': 'locations',
28193
+ 'x-response-key': 'locations',
28194
+ 'x-title': 'List Locations',
28195
+ 'x-undocumented': 'Experimental locations.',
28196
+ },
28197
+ },
28198
+ '/unstable_locations/remove_devices': {
28199
+ post: {
28200
+ description: 'Remove devices from a specific location.',
28201
+ operationId: 'unstableLocationsRemoveDevicesPost',
28202
+ requestBody: {
28203
+ content: {
28204
+ 'application/json': {
28205
+ schema: {
28206
+ properties: {
28207
+ device_ids: {
28208
+ items: { format: 'uuid', type: 'string' },
28209
+ type: 'array',
28210
+ },
28211
+ location_id: { format: 'uuid', type: 'string' },
28212
+ },
28213
+ required: ['location_id', 'device_ids'],
28214
+ type: 'object',
28215
+ },
28216
+ },
28217
+ },
28218
+ },
28219
+ responses: {
28220
+ 200: {
28221
+ content: {
28222
+ 'application/json': {
28223
+ schema: {
28224
+ properties: { ok: { type: 'boolean' } },
28225
+ required: ['ok'],
28226
+ type: 'object',
28227
+ },
28228
+ },
28229
+ },
28230
+ description: 'OK',
28231
+ },
28232
+ 400: { description: 'Bad Request' },
28233
+ 401: { description: 'Unauthorized' },
28234
+ },
28235
+ security: [
28236
+ { pat_with_workspace: [] },
28237
+ { console_session_with_workspace: [] },
28238
+ { api_key: [] },
28239
+ ],
28240
+ summary: '/unstable_locations/remove_devices',
28241
+ tags: [],
28242
+ 'x-fern-sdk-group-name': ['unstable_locations'],
28243
+ 'x-fern-sdk-method-name': 'remove_devices',
28244
+ 'x-response-key': null,
28245
+ 'x-title': 'Remove Location Devices',
28246
+ 'x-undocumented': 'Experimental locations.',
28247
+ },
28248
+ },
28249
+ '/unstable_locations/update': {
28250
+ post: {
28251
+ description: 'Update an existing location.',
28252
+ operationId: 'unstableLocationsUpdatePost',
28253
+ requestBody: {
28254
+ content: {
28255
+ 'application/json': {
28256
+ schema: {
28257
+ properties: {
28258
+ geolocation: {
28259
+ properties: {
28260
+ latitude: { format: 'float', type: 'number' },
28261
+ longitude: { format: 'float', type: 'number' },
28262
+ },
28263
+ required: ['latitude', 'longitude'],
28264
+ type: 'object',
28265
+ },
28266
+ location_id: { format: 'uuid', type: 'string' },
28267
+ name: { type: 'string' },
28268
+ time_zone: { type: 'string' },
28269
+ },
28270
+ required: ['location_id'],
28271
+ type: 'object',
28272
+ },
28273
+ },
28274
+ },
28275
+ },
28276
+ responses: {
28277
+ 200: {
28278
+ content: {
28279
+ 'application/json': {
28280
+ schema: {
28281
+ properties: {
28282
+ location: {
28283
+ properties: {
28284
+ created_at: {
28285
+ description:
28286
+ 'Date and time at which the location object was created.',
28287
+ format: 'date-time',
28288
+ type: 'string',
28289
+ },
28290
+ display_name: {
28291
+ description: 'Display name of the location.',
28292
+ type: 'string',
28293
+ },
28294
+ geolocation: {
28295
+ description: 'Geographical location of the location.',
28296
+ properties: {
28297
+ latitude: { format: 'float', type: 'number' },
28298
+ longitude: { format: 'float', type: 'number' },
28299
+ },
28300
+ required: ['latitude', 'longitude'],
28301
+ type: 'object',
28302
+ },
28303
+ location_id: {
28304
+ description: 'Unique identifier for the location.',
28305
+ format: 'uuid',
28306
+ type: 'string',
28307
+ },
28308
+ time_zone: {
28309
+ description: 'Time zone of the location.',
28310
+ type: 'string',
28311
+ },
28312
+ workspace_id: {
28313
+ description:
28314
+ 'Unique identifier for the Seam workspace associated with the location.',
28315
+ format: 'uuid',
28316
+ type: 'string',
28317
+ },
28318
+ },
28319
+ required: [
28320
+ 'location_id',
28321
+ 'workspace_id',
28322
+ 'display_name',
28323
+ 'created_at',
28324
+ ],
28325
+ type: 'object',
28326
+ },
28327
+ ok: { type: 'boolean' },
28328
+ },
28329
+ required: ['location', 'ok'],
28330
+ type: 'object',
28331
+ },
28332
+ },
28333
+ },
28334
+ description: 'OK',
28335
+ },
28336
+ 400: { description: 'Bad Request' },
28337
+ 401: { description: 'Unauthorized' },
28338
+ },
28339
+ security: [
28340
+ { pat_with_workspace: [] },
28341
+ { console_session_with_workspace: [] },
28342
+ { api_key: [] },
28343
+ ],
28344
+ summary: '/unstable_locations/update',
28345
+ tags: [],
28346
+ 'x-fern-sdk-group-name': ['unstable_locations'],
28347
+ 'x-fern-sdk-method-name': 'update',
28348
+ 'x-fern-sdk-return-value': 'location',
28349
+ 'x-response-key': 'location',
28350
+ 'x-title': 'Update Location',
28351
+ 'x-undocumented': 'Experimental locations.',
28352
+ },
28353
+ },
27378
28354
  '/user_identities/add_acs_user': {
27379
28355
  post: {
27380
28356
  description: