@seamapi/types 1.471.0 → 1.473.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 (39) hide show
  1. package/dist/connect.cjs +32 -993
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +388 -1812
  4. package/dist/index.cjs +32 -993
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +13 -0
  7. package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.d.ts +9 -0
  10. package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js +9 -0
  11. package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js.map +1 -0
  12. package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
  13. package/lib/seam/connect/models/acs/metadata/index.js +1 -0
  14. package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
  15. package/lib/seam/connect/models/batch.d.ts +95 -0
  16. package/lib/seam/connect/models/index.d.ts +0 -1
  17. package/lib/seam/connect/models/index.js +0 -1
  18. package/lib/seam/connect/models/index.js.map +1 -1
  19. package/lib/seam/connect/models/phones/phone-session.d.ts +56 -0
  20. package/lib/seam/connect/openapi.d.ts +22 -1312
  21. package/lib/seam/connect/openapi.js +22 -993
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +50 -216
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/internal/schemas.ts +0 -2
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  27. package/src/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.ts +17 -0
  28. package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
  29. package/src/lib/seam/connect/models/index.ts +0 -1
  30. package/src/lib/seam/connect/openapi.ts +26 -1015
  31. package/src/lib/seam/connect/route-types.ts +70 -228
  32. package/lib/seam/connect/models/locations/index.d.ts +0 -1
  33. package/lib/seam/connect/models/locations/index.js +0 -2
  34. package/lib/seam/connect/models/locations/index.js.map +0 -1
  35. package/lib/seam/connect/models/locations/location.d.ts +0 -52
  36. package/lib/seam/connect/models/locations/location.js +0 -31
  37. package/lib/seam/connect/models/locations/location.js.map +0 -1
  38. package/src/lib/seam/connect/models/locations/index.ts +0 -1
  39. package/src/lib/seam/connect/models/locations/location.ts +0 -36
package/dist/index.cjs CHANGED
@@ -2369,6 +2369,13 @@ var acs_credential_vostio_metadata = zod.z.object({
2369
2369
  }).describe(
2370
2370
  "ASSA ABLOY Vostio-specific metadata associated with the credential."
2371
2371
  );
2372
+ var acs_entrance_dormakaba_ambiance_metadata = zod.z.object({
2373
+ access_point_name: zod.z.string().describe(
2374
+ "Name of the access point in the dormakaba Ambiance access system."
2375
+ )
2376
+ }).describe(
2377
+ "dormakaba Ambiance-specific metadata associated with the entrance."
2378
+ );
2372
2379
  var acs_entrance_dormakaba_community_metadata = zod.z.object({
2373
2380
  access_point_name: zod.z.string().describe(
2374
2381
  "Name of the access point in the dormakaba Community access system."
@@ -2783,6 +2790,9 @@ var acs_entrance = zod.z.object({
2783
2790
  ),
2784
2791
  salto_space_metadata: acs_entrance_salto_space_metadata.optional().describe(
2785
2792
  "Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
2793
+ ),
2794
+ dormakaba_ambiance_metadata: acs_entrance_dormakaba_ambiance_metadata.optional().describe(
2795
+ "dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
2786
2796
  )
2787
2797
  }).merge(acs_entrance_capability_flags).describe(`
2788
2798
  ---
@@ -7826,6 +7836,17 @@ var openapi_default = {
7826
7836
  description: "Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
7827
7837
  type: "string"
7828
7838
  },
7839
+ dormakaba_ambiance_metadata: {
7840
+ description: "dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
7841
+ properties: {
7842
+ access_point_name: {
7843
+ description: "Name of the access point in the dormakaba Ambiance access system.",
7844
+ type: "string"
7845
+ }
7846
+ },
7847
+ required: ["access_point_name"],
7848
+ type: "object"
7849
+ },
7829
7850
  dormakaba_community_metadata: {
7830
7851
  description: "dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
7831
7852
  properties: {
@@ -22577,53 +22598,6 @@ var openapi_default = {
22577
22598
  type: "object",
22578
22599
  "x-route-path": "/instant_keys"
22579
22600
  },
22580
- location: {
22581
- properties: {
22582
- created_at: {
22583
- description: "Date and time at which the location object was created.",
22584
- format: "date-time",
22585
- type: "string"
22586
- },
22587
- display_name: {
22588
- description: "Display name of the location.",
22589
- type: "string"
22590
- },
22591
- geolocation: {
22592
- description: "Geographical location of the location.",
22593
- properties: {
22594
- latitude: { format: "float", type: "number" },
22595
- longitude: { format: "float", type: "number" }
22596
- },
22597
- required: ["latitude", "longitude"],
22598
- type: "object"
22599
- },
22600
- location_id: {
22601
- description: "Unique identifier for the location.",
22602
- format: "uuid",
22603
- type: "string"
22604
- },
22605
- name: { description: "Name of the location.", type: "string" },
22606
- time_zone: {
22607
- description: "Time zone of the location.",
22608
- type: "string"
22609
- },
22610
- workspace_id: {
22611
- description: "Unique identifier for the Seam workspace associated with the location.",
22612
- format: "uuid",
22613
- type: "string"
22614
- }
22615
- },
22616
- required: [
22617
- "location_id",
22618
- "workspace_id",
22619
- "name",
22620
- "display_name",
22621
- "created_at"
22622
- ],
22623
- type: "object",
22624
- "x-route-path": "/unstable_locations",
22625
- "x-undocumented": "Will be removed."
22626
- },
22627
22601
  magic_link: {
22628
22602
  description: "Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product\u2014either by sharing a link with users or embedding a view in an iframe.\n\nWith Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.\n\nSeam hosts these flows, handling everything from account connection and device mapping to full-featured device control.",
22629
22603
  properties: {
@@ -22988,6 +22962,17 @@ var openapi_default = {
22988
22962
  description: "Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
22989
22963
  type: "string"
22990
22964
  },
22965
+ dormakaba_ambiance_metadata: {
22966
+ description: "dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
22967
+ properties: {
22968
+ access_point_name: {
22969
+ description: "Name of the access point in the dormakaba Ambiance access system.",
22970
+ type: "string"
22971
+ }
22972
+ },
22973
+ required: ["access_point_name"],
22974
+ type: "object"
22975
+ },
22991
22976
  dormakaba_community_metadata: {
22992
22977
  description: "dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
22993
22978
  properties: {
@@ -54551,952 +54536,6 @@ var openapi_default = {
54551
54536
  "x-title": "Update the Thermostat Weekly Program"
54552
54537
  }
54553
54538
  },
54554
- "/unstable_locations/add_acs_entrances": {
54555
- post: {
54556
- description: "Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.",
54557
- operationId: "unstableLocationsAddAcsEntrancesPost",
54558
- requestBody: {
54559
- content: {
54560
- "application/json": {
54561
- schema: {
54562
- properties: {
54563
- acs_entrance_ids: {
54564
- description: "IDs of the entrances that you want to add to the location.",
54565
- items: { format: "uuid", type: "string" },
54566
- minItems: 1,
54567
- type: "array"
54568
- },
54569
- location_id: {
54570
- description: "ID of the location to which you want to add entrances.",
54571
- format: "uuid",
54572
- type: "string"
54573
- }
54574
- },
54575
- required: ["location_id", "acs_entrance_ids"],
54576
- type: "object"
54577
- }
54578
- }
54579
- }
54580
- },
54581
- responses: {
54582
- 200: {
54583
- content: {
54584
- "application/json": {
54585
- schema: {
54586
- properties: { ok: { type: "boolean" } },
54587
- required: ["ok"],
54588
- type: "object"
54589
- }
54590
- }
54591
- },
54592
- description: "OK"
54593
- },
54594
- 400: { description: "Bad Request" },
54595
- 401: { description: "Unauthorized" }
54596
- },
54597
- security: [
54598
- { pat_with_workspace: [] },
54599
- { console_session_with_workspace: [] },
54600
- { api_key: [] }
54601
- ],
54602
- summary: "/unstable_locations/add_acs_entrances",
54603
- tags: [],
54604
- "x-fern-sdk-group-name": ["unstable_locations"],
54605
- "x-fern-sdk-method-name": "add_acs_entrances",
54606
- "x-response-key": null,
54607
- "x-title": "Add Entrances to a Location",
54608
- "x-undocumented": "Experimental locations."
54609
- },
54610
- put: {
54611
- description: "Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.",
54612
- operationId: "unstableLocationsAddAcsEntrancesPut",
54613
- requestBody: {
54614
- content: {
54615
- "application/json": {
54616
- schema: {
54617
- properties: {
54618
- acs_entrance_ids: {
54619
- description: "IDs of the entrances that you want to add to the location.",
54620
- items: { format: "uuid", type: "string" },
54621
- minItems: 1,
54622
- type: "array"
54623
- },
54624
- location_id: {
54625
- description: "ID of the location to which you want to add entrances.",
54626
- format: "uuid",
54627
- type: "string"
54628
- }
54629
- },
54630
- required: ["location_id", "acs_entrance_ids"],
54631
- type: "object"
54632
- }
54633
- }
54634
- }
54635
- },
54636
- responses: {
54637
- 200: {
54638
- content: {
54639
- "application/json": {
54640
- schema: {
54641
- properties: { ok: { type: "boolean" } },
54642
- required: ["ok"],
54643
- type: "object"
54644
- }
54645
- }
54646
- },
54647
- description: "OK"
54648
- },
54649
- 400: { description: "Bad Request" },
54650
- 401: { description: "Unauthorized" }
54651
- },
54652
- security: [
54653
- { pat_with_workspace: [] },
54654
- { console_session_with_workspace: [] },
54655
- { api_key: [] }
54656
- ],
54657
- summary: "/unstable_locations/add_acs_entrances",
54658
- tags: [],
54659
- "x-fern-sdk-group-name": ["unstable_locations"],
54660
- "x-fern-sdk-method-name": "add_acs_entrances",
54661
- "x-response-key": null,
54662
- "x-title": "Add Entrances to a Location",
54663
- "x-undocumented": "Experimental locations."
54664
- }
54665
- },
54666
- "/unstable_locations/add_devices": {
54667
- post: {
54668
- description: "Adds devices to a specific location.",
54669
- operationId: "unstableLocationsAddDevicesPost",
54670
- requestBody: {
54671
- content: {
54672
- "application/json": {
54673
- schema: {
54674
- properties: {
54675
- device_ids: {
54676
- description: "IDs of the devices that you want to add to the location.",
54677
- items: { format: "uuid", type: "string" },
54678
- minItems: 1,
54679
- type: "array"
54680
- },
54681
- location_id: {
54682
- description: "ID of the location to which you want to add devices.",
54683
- format: "uuid",
54684
- type: "string"
54685
- }
54686
- },
54687
- required: ["location_id", "device_ids"],
54688
- type: "object"
54689
- }
54690
- }
54691
- }
54692
- },
54693
- responses: {
54694
- 200: {
54695
- content: {
54696
- "application/json": {
54697
- schema: {
54698
- properties: { ok: { type: "boolean" } },
54699
- required: ["ok"],
54700
- type: "object"
54701
- }
54702
- }
54703
- },
54704
- description: "OK"
54705
- },
54706
- 400: { description: "Bad Request" },
54707
- 401: { description: "Unauthorized" }
54708
- },
54709
- security: [
54710
- { pat_with_workspace: [] },
54711
- { console_session_with_workspace: [] },
54712
- { api_key: [] }
54713
- ],
54714
- summary: "/unstable_locations/add_devices",
54715
- tags: [],
54716
- "x-fern-sdk-group-name": ["unstable_locations"],
54717
- "x-fern-sdk-method-name": "add_devices",
54718
- "x-response-key": null,
54719
- "x-title": "Add Devices to a Location",
54720
- "x-undocumented": "Experimental locations."
54721
- },
54722
- put: {
54723
- description: "Adds devices to a specific location.",
54724
- operationId: "unstableLocationsAddDevicesPut",
54725
- requestBody: {
54726
- content: {
54727
- "application/json": {
54728
- schema: {
54729
- properties: {
54730
- device_ids: {
54731
- description: "IDs of the devices that you want to add to the location.",
54732
- items: { format: "uuid", type: "string" },
54733
- minItems: 1,
54734
- type: "array"
54735
- },
54736
- location_id: {
54737
- description: "ID of the location to which you want to add devices.",
54738
- format: "uuid",
54739
- type: "string"
54740
- }
54741
- },
54742
- required: ["location_id", "device_ids"],
54743
- type: "object"
54744
- }
54745
- }
54746
- }
54747
- },
54748
- responses: {
54749
- 200: {
54750
- content: {
54751
- "application/json": {
54752
- schema: {
54753
- properties: { ok: { type: "boolean" } },
54754
- required: ["ok"],
54755
- type: "object"
54756
- }
54757
- }
54758
- },
54759
- description: "OK"
54760
- },
54761
- 400: { description: "Bad Request" },
54762
- 401: { description: "Unauthorized" }
54763
- },
54764
- security: [
54765
- { pat_with_workspace: [] },
54766
- { console_session_with_workspace: [] },
54767
- { api_key: [] }
54768
- ],
54769
- summary: "/unstable_locations/add_devices",
54770
- tags: [],
54771
- "x-fern-sdk-group-name": ["unstable_locations"],
54772
- "x-fern-sdk-method-name": "add_devices",
54773
- "x-response-key": null,
54774
- "x-title": "Add Devices to a Location",
54775
- "x-undocumented": "Experimental locations."
54776
- }
54777
- },
54778
- "/unstable_locations/create": {
54779
- post: {
54780
- description: "Creates a new location.",
54781
- operationId: "unstableLocationsCreatePost",
54782
- requestBody: {
54783
- content: {
54784
- "application/json": {
54785
- schema: {
54786
- properties: {
54787
- acs_entrance_ids: {
54788
- description: "IDs of the entrances that you want to add to the new location.",
54789
- items: { format: "uuid", type: "string" },
54790
- type: "array"
54791
- },
54792
- device_ids: {
54793
- description: "IDs of the devices that you want to add to the new location.",
54794
- items: { format: "uuid", type: "string" },
54795
- type: "array"
54796
- },
54797
- geolocation: {
54798
- description: "Geolocation of the new location.",
54799
- properties: {
54800
- latitude: { format: "float", type: "number" },
54801
- longitude: { format: "float", type: "number" }
54802
- },
54803
- required: ["latitude", "longitude"],
54804
- type: "object"
54805
- },
54806
- name: {
54807
- description: "Name of the new location.",
54808
- type: "string"
54809
- },
54810
- time_zone: {
54811
- description: "Time zone of the new location.",
54812
- type: "string"
54813
- }
54814
- },
54815
- required: ["name"],
54816
- type: "object"
54817
- }
54818
- }
54819
- }
54820
- },
54821
- responses: {
54822
- 200: {
54823
- content: {
54824
- "application/json": {
54825
- schema: {
54826
- properties: {
54827
- location: { $ref: "#/components/schemas/location" },
54828
- ok: { type: "boolean" }
54829
- },
54830
- required: ["location", "ok"],
54831
- type: "object"
54832
- }
54833
- }
54834
- },
54835
- description: "OK"
54836
- },
54837
- 400: { description: "Bad Request" },
54838
- 401: { description: "Unauthorized" }
54839
- },
54840
- security: [
54841
- { pat_with_workspace: [] },
54842
- { console_session_with_workspace: [] },
54843
- { api_key: [] }
54844
- ],
54845
- summary: "/unstable_locations/create",
54846
- tags: [],
54847
- "x-fern-sdk-group-name": ["unstable_locations"],
54848
- "x-fern-sdk-method-name": "create",
54849
- "x-fern-sdk-return-value": "location",
54850
- "x-response-key": "location",
54851
- "x-title": "Create a Location",
54852
- "x-undocumented": "Experimental locations."
54853
- }
54854
- },
54855
- "/unstable_locations/delete": {
54856
- delete: {
54857
- description: "Deletes a location.",
54858
- operationId: "unstableLocationsDeleteDelete",
54859
- requestBody: {
54860
- content: {
54861
- "application/json": {
54862
- schema: {
54863
- properties: {
54864
- location_id: {
54865
- description: "ID of the location that you want to delete.",
54866
- format: "uuid",
54867
- type: "string"
54868
- }
54869
- },
54870
- required: ["location_id"],
54871
- type: "object"
54872
- }
54873
- }
54874
- }
54875
- },
54876
- responses: {
54877
- 200: {
54878
- content: {
54879
- "application/json": {
54880
- schema: {
54881
- properties: { ok: { type: "boolean" } },
54882
- required: ["ok"],
54883
- type: "object"
54884
- }
54885
- }
54886
- },
54887
- description: "OK"
54888
- },
54889
- 400: { description: "Bad Request" },
54890
- 401: { description: "Unauthorized" }
54891
- },
54892
- security: [
54893
- { pat_with_workspace: [] },
54894
- { console_session_with_workspace: [] },
54895
- { api_key: [] }
54896
- ],
54897
- summary: "/unstable_locations/delete",
54898
- tags: [],
54899
- "x-fern-sdk-group-name": ["unstable_locations"],
54900
- "x-fern-sdk-method-name": "delete",
54901
- "x-response-key": null,
54902
- "x-title": "Delete a Location",
54903
- "x-undocumented": "Experimental locations."
54904
- },
54905
- post: {
54906
- description: "Deletes a location.",
54907
- operationId: "unstableLocationsDeletePost",
54908
- requestBody: {
54909
- content: {
54910
- "application/json": {
54911
- schema: {
54912
- properties: {
54913
- location_id: {
54914
- description: "ID of the location that you want to delete.",
54915
- format: "uuid",
54916
- type: "string"
54917
- }
54918
- },
54919
- required: ["location_id"],
54920
- type: "object"
54921
- }
54922
- }
54923
- }
54924
- },
54925
- responses: {
54926
- 200: {
54927
- content: {
54928
- "application/json": {
54929
- schema: {
54930
- properties: { ok: { type: "boolean" } },
54931
- required: ["ok"],
54932
- type: "object"
54933
- }
54934
- }
54935
- },
54936
- description: "OK"
54937
- },
54938
- 400: { description: "Bad Request" },
54939
- 401: { description: "Unauthorized" }
54940
- },
54941
- security: [
54942
- { pat_with_workspace: [] },
54943
- { console_session_with_workspace: [] },
54944
- { api_key: [] }
54945
- ],
54946
- summary: "/unstable_locations/delete",
54947
- tags: [],
54948
- "x-fern-sdk-group-name": ["unstable_locations"],
54949
- "x-fern-sdk-method-name": "delete",
54950
- "x-response-key": null,
54951
- "x-title": "Delete a Location",
54952
- "x-undocumented": "Experimental locations."
54953
- }
54954
- },
54955
- "/unstable_locations/get": {
54956
- get: {
54957
- description: "Gets a location.",
54958
- operationId: "unstableLocationsGetGet",
54959
- parameters: [
54960
- {
54961
- in: "query",
54962
- name: "location_id",
54963
- required: true,
54964
- schema: {
54965
- description: "ID of the location that you want to get.",
54966
- format: "uuid",
54967
- type: "string"
54968
- }
54969
- }
54970
- ],
54971
- responses: {
54972
- 200: {
54973
- content: {
54974
- "application/json": {
54975
- schema: {
54976
- properties: {
54977
- location: { $ref: "#/components/schemas/location" },
54978
- ok: { type: "boolean" }
54979
- },
54980
- required: ["location", "ok"],
54981
- type: "object"
54982
- }
54983
- }
54984
- },
54985
- description: "OK"
54986
- },
54987
- 400: { description: "Bad Request" },
54988
- 401: { description: "Unauthorized" }
54989
- },
54990
- security: [
54991
- { pat_with_workspace: [] },
54992
- { console_session_with_workspace: [] },
54993
- { api_key: [] }
54994
- ],
54995
- summary: "/unstable_locations/get",
54996
- tags: [],
54997
- "x-fern-sdk-group-name": ["unstable_locations"],
54998
- "x-fern-sdk-method-name": "get",
54999
- "x-fern-sdk-return-value": "location",
55000
- "x-response-key": "location",
55001
- "x-title": "Get a Location",
55002
- "x-undocumented": "Experimental locations."
55003
- },
55004
- post: {
55005
- description: "Gets a location.",
55006
- operationId: "unstableLocationsGetPost",
55007
- requestBody: {
55008
- content: {
55009
- "application/json": {
55010
- schema: {
55011
- properties: {
55012
- location_id: {
55013
- description: "ID of the location that you want to get.",
55014
- format: "uuid",
55015
- type: "string"
55016
- }
55017
- },
55018
- required: ["location_id"],
55019
- type: "object"
55020
- }
55021
- }
55022
- }
55023
- },
55024
- responses: {
55025
- 200: {
55026
- content: {
55027
- "application/json": {
55028
- schema: {
55029
- properties: {
55030
- location: { $ref: "#/components/schemas/location" },
55031
- ok: { type: "boolean" }
55032
- },
55033
- required: ["location", "ok"],
55034
- type: "object"
55035
- }
55036
- }
55037
- },
55038
- description: "OK"
55039
- },
55040
- 400: { description: "Bad Request" },
55041
- 401: { description: "Unauthorized" }
55042
- },
55043
- security: [
55044
- { pat_with_workspace: [] },
55045
- { console_session_with_workspace: [] },
55046
- { api_key: [] }
55047
- ],
55048
- summary: "/unstable_locations/get",
55049
- tags: [],
55050
- "x-fern-sdk-group-name": ["unstable_locations"],
55051
- "x-fern-sdk-method-name": "get",
55052
- "x-fern-sdk-return-value": "location",
55053
- "x-response-key": "location",
55054
- "x-title": "Get a Location",
55055
- "x-undocumented": "Experimental locations."
55056
- }
55057
- },
55058
- "/unstable_locations/list": {
55059
- get: {
55060
- description: "Returns a list of all locations.",
55061
- operationId: "unstableLocationsListGet",
55062
- responses: {
55063
- 200: {
55064
- content: {
55065
- "application/json": {
55066
- schema: {
55067
- properties: {
55068
- locations: {
55069
- items: { $ref: "#/components/schemas/location" },
55070
- type: "array"
55071
- },
55072
- ok: { type: "boolean" }
55073
- },
55074
- required: ["locations", "ok"],
55075
- type: "object"
55076
- }
55077
- }
55078
- },
55079
- description: "OK"
55080
- },
55081
- 400: { description: "Bad Request" },
55082
- 401: { description: "Unauthorized" }
55083
- },
55084
- security: [
55085
- { pat_with_workspace: [] },
55086
- { console_session_with_workspace: [] },
55087
- { api_key: [] }
55088
- ],
55089
- summary: "/unstable_locations/list",
55090
- tags: [],
55091
- "x-fern-sdk-group-name": ["unstable_locations"],
55092
- "x-fern-sdk-method-name": "list",
55093
- "x-fern-sdk-return-value": "locations",
55094
- "x-response-key": "locations",
55095
- "x-title": "List Locations",
55096
- "x-undocumented": "Experimental locations."
55097
- },
55098
- post: {
55099
- description: "Returns a list of all locations.",
55100
- operationId: "unstableLocationsListPost",
55101
- responses: {
55102
- 200: {
55103
- content: {
55104
- "application/json": {
55105
- schema: {
55106
- properties: {
55107
- locations: {
55108
- items: { $ref: "#/components/schemas/location" },
55109
- type: "array"
55110
- },
55111
- ok: { type: "boolean" }
55112
- },
55113
- required: ["locations", "ok"],
55114
- type: "object"
55115
- }
55116
- }
55117
- },
55118
- description: "OK"
55119
- },
55120
- 400: { description: "Bad Request" },
55121
- 401: { description: "Unauthorized" }
55122
- },
55123
- security: [
55124
- { pat_with_workspace: [] },
55125
- { console_session_with_workspace: [] },
55126
- { api_key: [] }
55127
- ],
55128
- summary: "/unstable_locations/list",
55129
- tags: [],
55130
- "x-fern-sdk-group-name": ["unstable_locations"],
55131
- "x-fern-sdk-method-name": "list",
55132
- "x-fern-sdk-return-value": "locations",
55133
- "x-response-key": "locations",
55134
- "x-title": "List Locations",
55135
- "x-undocumented": "Experimental locations."
55136
- }
55137
- },
55138
- "/unstable_locations/remove_acs_entrances": {
55139
- delete: {
55140
- description: "Removes entrances from a specific location.",
55141
- operationId: "unstableLocationsRemoveAcsEntrancesDelete",
55142
- parameters: [
55143
- {
55144
- in: "query",
55145
- name: "location_id",
55146
- required: true,
55147
- schema: {
55148
- description: "ID of the location from which you want to remove entrances.",
55149
- format: "uuid",
55150
- type: "string"
55151
- }
55152
- },
55153
- {
55154
- in: "query",
55155
- name: "acs_entrance_ids",
55156
- required: true,
55157
- schema: {
55158
- description: "IDs of the entrances that you want to remove from the location.",
55159
- items: { format: "uuid", type: "string" },
55160
- type: "array"
55161
- }
55162
- }
55163
- ],
55164
- responses: {
55165
- 200: {
55166
- content: {
55167
- "application/json": {
55168
- schema: {
55169
- properties: { ok: { type: "boolean" } },
55170
- required: ["ok"],
55171
- type: "object"
55172
- }
55173
- }
55174
- },
55175
- description: "OK"
55176
- },
55177
- 400: { description: "Bad Request" },
55178
- 401: { description: "Unauthorized" }
55179
- },
55180
- security: [
55181
- { pat_with_workspace: [] },
55182
- { console_session_with_workspace: [] },
55183
- { api_key: [] }
55184
- ],
55185
- summary: "/unstable_locations/remove_acs_entrances",
55186
- tags: [],
55187
- "x-fern-sdk-group-name": ["unstable_locations"],
55188
- "x-fern-sdk-method-name": "remove_acs_entrances",
55189
- "x-response-key": null,
55190
- "x-title": "Remove Entrances from a Location",
55191
- "x-undocumented": "Experimental locations."
55192
- },
55193
- post: {
55194
- description: "Removes entrances from a specific location.",
55195
- operationId: "unstableLocationsRemoveAcsEntrancesPost",
55196
- requestBody: {
55197
- content: {
55198
- "application/json": {
55199
- schema: {
55200
- properties: {
55201
- acs_entrance_ids: {
55202
- description: "IDs of the entrances that you want to remove from the location.",
55203
- items: { format: "uuid", type: "string" },
55204
- type: "array"
55205
- },
55206
- location_id: {
55207
- description: "ID of the location from which you want to remove entrances.",
55208
- format: "uuid",
55209
- type: "string"
55210
- }
55211
- },
55212
- required: ["location_id", "acs_entrance_ids"],
55213
- type: "object"
55214
- }
55215
- }
55216
- }
55217
- },
55218
- responses: {
55219
- 200: {
55220
- content: {
55221
- "application/json": {
55222
- schema: {
55223
- properties: { ok: { type: "boolean" } },
55224
- required: ["ok"],
55225
- type: "object"
55226
- }
55227
- }
55228
- },
55229
- description: "OK"
55230
- },
55231
- 400: { description: "Bad Request" },
55232
- 401: { description: "Unauthorized" }
55233
- },
55234
- security: [
55235
- { pat_with_workspace: [] },
55236
- { console_session_with_workspace: [] },
55237
- { api_key: [] }
55238
- ],
55239
- summary: "/unstable_locations/remove_acs_entrances",
55240
- tags: [],
55241
- "x-fern-sdk-group-name": ["unstable_locations"],
55242
- "x-fern-sdk-method-name": "remove_acs_entrances",
55243
- "x-response-key": null,
55244
- "x-title": "Remove Entrances from a Location",
55245
- "x-undocumented": "Experimental locations."
55246
- }
55247
- },
55248
- "/unstable_locations/remove_devices": {
55249
- delete: {
55250
- description: "Removes devices from a specific location.",
55251
- operationId: "unstableLocationsRemoveDevicesDelete",
55252
- parameters: [
55253
- {
55254
- in: "query",
55255
- name: "location_id",
55256
- required: true,
55257
- schema: {
55258
- description: "ID of the location from which you want to remove devices.",
55259
- format: "uuid",
55260
- type: "string"
55261
- }
55262
- },
55263
- {
55264
- in: "query",
55265
- name: "device_ids",
55266
- required: true,
55267
- schema: {
55268
- description: "IDs of the devices that you want to remove from the location.",
55269
- items: { format: "uuid", type: "string" },
55270
- type: "array"
55271
- }
55272
- }
55273
- ],
55274
- responses: {
55275
- 200: {
55276
- content: {
55277
- "application/json": {
55278
- schema: {
55279
- properties: { ok: { type: "boolean" } },
55280
- required: ["ok"],
55281
- type: "object"
55282
- }
55283
- }
55284
- },
55285
- description: "OK"
55286
- },
55287
- 400: { description: "Bad Request" },
55288
- 401: { description: "Unauthorized" }
55289
- },
55290
- security: [
55291
- { pat_with_workspace: [] },
55292
- { console_session_with_workspace: [] },
55293
- { api_key: [] }
55294
- ],
55295
- summary: "/unstable_locations/remove_devices",
55296
- tags: [],
55297
- "x-fern-sdk-group-name": ["unstable_locations"],
55298
- "x-fern-sdk-method-name": "remove_devices",
55299
- "x-response-key": null,
55300
- "x-title": "Remove Devices from a Location",
55301
- "x-undocumented": "Experimental locations."
55302
- },
55303
- post: {
55304
- description: "Removes devices from a specific location.",
55305
- operationId: "unstableLocationsRemoveDevicesPost",
55306
- requestBody: {
55307
- content: {
55308
- "application/json": {
55309
- schema: {
55310
- properties: {
55311
- device_ids: {
55312
- description: "IDs of the devices that you want to remove from the location.",
55313
- items: { format: "uuid", type: "string" },
55314
- type: "array"
55315
- },
55316
- location_id: {
55317
- description: "ID of the location from which you want to remove devices.",
55318
- format: "uuid",
55319
- type: "string"
55320
- }
55321
- },
55322
- required: ["location_id", "device_ids"],
55323
- type: "object"
55324
- }
55325
- }
55326
- }
55327
- },
55328
- responses: {
55329
- 200: {
55330
- content: {
55331
- "application/json": {
55332
- schema: {
55333
- properties: { ok: { type: "boolean" } },
55334
- required: ["ok"],
55335
- type: "object"
55336
- }
55337
- }
55338
- },
55339
- description: "OK"
55340
- },
55341
- 400: { description: "Bad Request" },
55342
- 401: { description: "Unauthorized" }
55343
- },
55344
- security: [
55345
- { pat_with_workspace: [] },
55346
- { console_session_with_workspace: [] },
55347
- { api_key: [] }
55348
- ],
55349
- summary: "/unstable_locations/remove_devices",
55350
- tags: [],
55351
- "x-fern-sdk-group-name": ["unstable_locations"],
55352
- "x-fern-sdk-method-name": "remove_devices",
55353
- "x-response-key": null,
55354
- "x-title": "Remove Devices from a Location",
55355
- "x-undocumented": "Experimental locations."
55356
- }
55357
- },
55358
- "/unstable_locations/update": {
55359
- patch: {
55360
- description: "Updates a location.",
55361
- operationId: "unstableLocationsUpdatePatch",
55362
- requestBody: {
55363
- content: {
55364
- "application/json": {
55365
- schema: {
55366
- properties: {
55367
- geolocation: {
55368
- description: "Geolocation of the location.",
55369
- properties: {
55370
- latitude: { format: "float", type: "number" },
55371
- longitude: { format: "float", type: "number" }
55372
- },
55373
- required: ["latitude", "longitude"],
55374
- type: "object"
55375
- },
55376
- location_id: {
55377
- description: "ID of the location that you want to update.",
55378
- format: "uuid",
55379
- type: "string"
55380
- },
55381
- name: {
55382
- description: "Name of the location.",
55383
- type: "string"
55384
- },
55385
- time_zone: {
55386
- description: "Time zone of the the location.",
55387
- type: "string"
55388
- }
55389
- },
55390
- required: ["location_id"],
55391
- type: "object"
55392
- }
55393
- }
55394
- }
55395
- },
55396
- responses: {
55397
- 200: {
55398
- content: {
55399
- "application/json": {
55400
- schema: {
55401
- properties: {
55402
- location: { $ref: "#/components/schemas/location" },
55403
- ok: { type: "boolean" }
55404
- },
55405
- required: ["location", "ok"],
55406
- type: "object"
55407
- }
55408
- }
55409
- },
55410
- description: "OK"
55411
- },
55412
- 400: { description: "Bad Request" },
55413
- 401: { description: "Unauthorized" }
55414
- },
55415
- security: [
55416
- { pat_with_workspace: [] },
55417
- { console_session_with_workspace: [] },
55418
- { api_key: [] }
55419
- ],
55420
- summary: "/unstable_locations/update",
55421
- tags: [],
55422
- "x-fern-sdk-group-name": ["unstable_locations"],
55423
- "x-fern-sdk-method-name": "update",
55424
- "x-fern-sdk-return-value": "location",
55425
- "x-response-key": "location",
55426
- "x-title": "Update a Location",
55427
- "x-undocumented": "Experimental locations."
55428
- },
55429
- post: {
55430
- description: "Updates a location.",
55431
- operationId: "unstableLocationsUpdatePost",
55432
- requestBody: {
55433
- content: {
55434
- "application/json": {
55435
- schema: {
55436
- properties: {
55437
- geolocation: {
55438
- description: "Geolocation of the location.",
55439
- properties: {
55440
- latitude: { format: "float", type: "number" },
55441
- longitude: { format: "float", type: "number" }
55442
- },
55443
- required: ["latitude", "longitude"],
55444
- type: "object"
55445
- },
55446
- location_id: {
55447
- description: "ID of the location that you want to update.",
55448
- format: "uuid",
55449
- type: "string"
55450
- },
55451
- name: {
55452
- description: "Name of the location.",
55453
- type: "string"
55454
- },
55455
- time_zone: {
55456
- description: "Time zone of the the location.",
55457
- type: "string"
55458
- }
55459
- },
55460
- required: ["location_id"],
55461
- type: "object"
55462
- }
55463
- }
55464
- }
55465
- },
55466
- responses: {
55467
- 200: {
55468
- content: {
55469
- "application/json": {
55470
- schema: {
55471
- properties: {
55472
- location: { $ref: "#/components/schemas/location" },
55473
- ok: { type: "boolean" }
55474
- },
55475
- required: ["location", "ok"],
55476
- type: "object"
55477
- }
55478
- }
55479
- },
55480
- description: "OK"
55481
- },
55482
- 400: { description: "Bad Request" },
55483
- 401: { description: "Unauthorized" }
55484
- },
55485
- security: [
55486
- { pat_with_workspace: [] },
55487
- { console_session_with_workspace: [] },
55488
- { api_key: [] }
55489
- ],
55490
- summary: "/unstable_locations/update",
55491
- tags: [],
55492
- "x-fern-sdk-group-name": ["unstable_locations"],
55493
- "x-fern-sdk-method-name": "update",
55494
- "x-fern-sdk-return-value": "location",
55495
- "x-response-key": "location",
55496
- "x-title": "Update a Location",
55497
- "x-undocumented": "Experimental locations."
55498
- }
55499
- },
55500
54539
  "/unstable_partner/building_blocks/connect_accounts": {
55501
54540
  post: {
55502
54541
  description: "Creates a new building block magic link to connect accounts.",