@seamapi/types 1.472.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.
package/dist/connect.cjs CHANGED
@@ -22598,53 +22598,6 @@ var openapi_default = {
22598
22598
  type: "object",
22599
22599
  "x-route-path": "/instant_keys"
22600
22600
  },
22601
- location: {
22602
- properties: {
22603
- created_at: {
22604
- description: "Date and time at which the location object was created.",
22605
- format: "date-time",
22606
- type: "string"
22607
- },
22608
- display_name: {
22609
- description: "Display name of the location.",
22610
- type: "string"
22611
- },
22612
- geolocation: {
22613
- description: "Geographical location of the location.",
22614
- properties: {
22615
- latitude: { format: "float", type: "number" },
22616
- longitude: { format: "float", type: "number" }
22617
- },
22618
- required: ["latitude", "longitude"],
22619
- type: "object"
22620
- },
22621
- location_id: {
22622
- description: "Unique identifier for the location.",
22623
- format: "uuid",
22624
- type: "string"
22625
- },
22626
- name: { description: "Name of the location.", type: "string" },
22627
- time_zone: {
22628
- description: "Time zone of the location.",
22629
- type: "string"
22630
- },
22631
- workspace_id: {
22632
- description: "Unique identifier for the Seam workspace associated with the location.",
22633
- format: "uuid",
22634
- type: "string"
22635
- }
22636
- },
22637
- required: [
22638
- "location_id",
22639
- "workspace_id",
22640
- "name",
22641
- "display_name",
22642
- "created_at"
22643
- ],
22644
- type: "object",
22645
- "x-route-path": "/unstable_locations",
22646
- "x-undocumented": "Will be removed."
22647
- },
22648
22601
  magic_link: {
22649
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.",
22650
22603
  properties: {
@@ -54583,952 +54536,6 @@ var openapi_default = {
54583
54536
  "x-title": "Update the Thermostat Weekly Program"
54584
54537
  }
54585
54538
  },
54586
- "/unstable_locations/add_acs_entrances": {
54587
- post: {
54588
- description: "Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.",
54589
- operationId: "unstableLocationsAddAcsEntrancesPost",
54590
- requestBody: {
54591
- content: {
54592
- "application/json": {
54593
- schema: {
54594
- properties: {
54595
- acs_entrance_ids: {
54596
- description: "IDs of the entrances that you want to add to the location.",
54597
- items: { format: "uuid", type: "string" },
54598
- minItems: 1,
54599
- type: "array"
54600
- },
54601
- location_id: {
54602
- description: "ID of the location to which you want to add entrances.",
54603
- format: "uuid",
54604
- type: "string"
54605
- }
54606
- },
54607
- required: ["location_id", "acs_entrance_ids"],
54608
- type: "object"
54609
- }
54610
- }
54611
- }
54612
- },
54613
- responses: {
54614
- 200: {
54615
- content: {
54616
- "application/json": {
54617
- schema: {
54618
- properties: { ok: { type: "boolean" } },
54619
- required: ["ok"],
54620
- type: "object"
54621
- }
54622
- }
54623
- },
54624
- description: "OK"
54625
- },
54626
- 400: { description: "Bad Request" },
54627
- 401: { description: "Unauthorized" }
54628
- },
54629
- security: [
54630
- { pat_with_workspace: [] },
54631
- { console_session_with_workspace: [] },
54632
- { api_key: [] }
54633
- ],
54634
- summary: "/unstable_locations/add_acs_entrances",
54635
- tags: [],
54636
- "x-fern-sdk-group-name": ["unstable_locations"],
54637
- "x-fern-sdk-method-name": "add_acs_entrances",
54638
- "x-response-key": null,
54639
- "x-title": "Add Entrances to a Location",
54640
- "x-undocumented": "Experimental locations."
54641
- },
54642
- put: {
54643
- description: "Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.",
54644
- operationId: "unstableLocationsAddAcsEntrancesPut",
54645
- requestBody: {
54646
- content: {
54647
- "application/json": {
54648
- schema: {
54649
- properties: {
54650
- acs_entrance_ids: {
54651
- description: "IDs of the entrances that you want to add to the location.",
54652
- items: { format: "uuid", type: "string" },
54653
- minItems: 1,
54654
- type: "array"
54655
- },
54656
- location_id: {
54657
- description: "ID of the location to which you want to add entrances.",
54658
- format: "uuid",
54659
- type: "string"
54660
- }
54661
- },
54662
- required: ["location_id", "acs_entrance_ids"],
54663
- type: "object"
54664
- }
54665
- }
54666
- }
54667
- },
54668
- responses: {
54669
- 200: {
54670
- content: {
54671
- "application/json": {
54672
- schema: {
54673
- properties: { ok: { type: "boolean" } },
54674
- required: ["ok"],
54675
- type: "object"
54676
- }
54677
- }
54678
- },
54679
- description: "OK"
54680
- },
54681
- 400: { description: "Bad Request" },
54682
- 401: { description: "Unauthorized" }
54683
- },
54684
- security: [
54685
- { pat_with_workspace: [] },
54686
- { console_session_with_workspace: [] },
54687
- { api_key: [] }
54688
- ],
54689
- summary: "/unstable_locations/add_acs_entrances",
54690
- tags: [],
54691
- "x-fern-sdk-group-name": ["unstable_locations"],
54692
- "x-fern-sdk-method-name": "add_acs_entrances",
54693
- "x-response-key": null,
54694
- "x-title": "Add Entrances to a Location",
54695
- "x-undocumented": "Experimental locations."
54696
- }
54697
- },
54698
- "/unstable_locations/add_devices": {
54699
- post: {
54700
- description: "Adds devices to a specific location.",
54701
- operationId: "unstableLocationsAddDevicesPost",
54702
- requestBody: {
54703
- content: {
54704
- "application/json": {
54705
- schema: {
54706
- properties: {
54707
- device_ids: {
54708
- description: "IDs of the devices that you want to add to the location.",
54709
- items: { format: "uuid", type: "string" },
54710
- minItems: 1,
54711
- type: "array"
54712
- },
54713
- location_id: {
54714
- description: "ID of the location to which you want to add devices.",
54715
- format: "uuid",
54716
- type: "string"
54717
- }
54718
- },
54719
- required: ["location_id", "device_ids"],
54720
- type: "object"
54721
- }
54722
- }
54723
- }
54724
- },
54725
- responses: {
54726
- 200: {
54727
- content: {
54728
- "application/json": {
54729
- schema: {
54730
- properties: { ok: { type: "boolean" } },
54731
- required: ["ok"],
54732
- type: "object"
54733
- }
54734
- }
54735
- },
54736
- description: "OK"
54737
- },
54738
- 400: { description: "Bad Request" },
54739
- 401: { description: "Unauthorized" }
54740
- },
54741
- security: [
54742
- { pat_with_workspace: [] },
54743
- { console_session_with_workspace: [] },
54744
- { api_key: [] }
54745
- ],
54746
- summary: "/unstable_locations/add_devices",
54747
- tags: [],
54748
- "x-fern-sdk-group-name": ["unstable_locations"],
54749
- "x-fern-sdk-method-name": "add_devices",
54750
- "x-response-key": null,
54751
- "x-title": "Add Devices to a Location",
54752
- "x-undocumented": "Experimental locations."
54753
- },
54754
- put: {
54755
- description: "Adds devices to a specific location.",
54756
- operationId: "unstableLocationsAddDevicesPut",
54757
- requestBody: {
54758
- content: {
54759
- "application/json": {
54760
- schema: {
54761
- properties: {
54762
- device_ids: {
54763
- description: "IDs of the devices that you want to add to the location.",
54764
- items: { format: "uuid", type: "string" },
54765
- minItems: 1,
54766
- type: "array"
54767
- },
54768
- location_id: {
54769
- description: "ID of the location to which you want to add devices.",
54770
- format: "uuid",
54771
- type: "string"
54772
- }
54773
- },
54774
- required: ["location_id", "device_ids"],
54775
- type: "object"
54776
- }
54777
- }
54778
- }
54779
- },
54780
- responses: {
54781
- 200: {
54782
- content: {
54783
- "application/json": {
54784
- schema: {
54785
- properties: { ok: { type: "boolean" } },
54786
- required: ["ok"],
54787
- type: "object"
54788
- }
54789
- }
54790
- },
54791
- description: "OK"
54792
- },
54793
- 400: { description: "Bad Request" },
54794
- 401: { description: "Unauthorized" }
54795
- },
54796
- security: [
54797
- { pat_with_workspace: [] },
54798
- { console_session_with_workspace: [] },
54799
- { api_key: [] }
54800
- ],
54801
- summary: "/unstable_locations/add_devices",
54802
- tags: [],
54803
- "x-fern-sdk-group-name": ["unstable_locations"],
54804
- "x-fern-sdk-method-name": "add_devices",
54805
- "x-response-key": null,
54806
- "x-title": "Add Devices to a Location",
54807
- "x-undocumented": "Experimental locations."
54808
- }
54809
- },
54810
- "/unstable_locations/create": {
54811
- post: {
54812
- description: "Creates a new location.",
54813
- operationId: "unstableLocationsCreatePost",
54814
- requestBody: {
54815
- content: {
54816
- "application/json": {
54817
- schema: {
54818
- properties: {
54819
- acs_entrance_ids: {
54820
- description: "IDs of the entrances that you want to add to the new location.",
54821
- items: { format: "uuid", type: "string" },
54822
- type: "array"
54823
- },
54824
- device_ids: {
54825
- description: "IDs of the devices that you want to add to the new location.",
54826
- items: { format: "uuid", type: "string" },
54827
- type: "array"
54828
- },
54829
- geolocation: {
54830
- description: "Geolocation of the new location.",
54831
- properties: {
54832
- latitude: { format: "float", type: "number" },
54833
- longitude: { format: "float", type: "number" }
54834
- },
54835
- required: ["latitude", "longitude"],
54836
- type: "object"
54837
- },
54838
- name: {
54839
- description: "Name of the new location.",
54840
- type: "string"
54841
- },
54842
- time_zone: {
54843
- description: "Time zone of the new location.",
54844
- type: "string"
54845
- }
54846
- },
54847
- required: ["name"],
54848
- type: "object"
54849
- }
54850
- }
54851
- }
54852
- },
54853
- responses: {
54854
- 200: {
54855
- content: {
54856
- "application/json": {
54857
- schema: {
54858
- properties: {
54859
- location: { $ref: "#/components/schemas/location" },
54860
- ok: { type: "boolean" }
54861
- },
54862
- required: ["location", "ok"],
54863
- type: "object"
54864
- }
54865
- }
54866
- },
54867
- description: "OK"
54868
- },
54869
- 400: { description: "Bad Request" },
54870
- 401: { description: "Unauthorized" }
54871
- },
54872
- security: [
54873
- { pat_with_workspace: [] },
54874
- { console_session_with_workspace: [] },
54875
- { api_key: [] }
54876
- ],
54877
- summary: "/unstable_locations/create",
54878
- tags: [],
54879
- "x-fern-sdk-group-name": ["unstable_locations"],
54880
- "x-fern-sdk-method-name": "create",
54881
- "x-fern-sdk-return-value": "location",
54882
- "x-response-key": "location",
54883
- "x-title": "Create a Location",
54884
- "x-undocumented": "Experimental locations."
54885
- }
54886
- },
54887
- "/unstable_locations/delete": {
54888
- delete: {
54889
- description: "Deletes a location.",
54890
- operationId: "unstableLocationsDeleteDelete",
54891
- requestBody: {
54892
- content: {
54893
- "application/json": {
54894
- schema: {
54895
- properties: {
54896
- location_id: {
54897
- description: "ID of the location that you want to delete.",
54898
- format: "uuid",
54899
- type: "string"
54900
- }
54901
- },
54902
- required: ["location_id"],
54903
- type: "object"
54904
- }
54905
- }
54906
- }
54907
- },
54908
- responses: {
54909
- 200: {
54910
- content: {
54911
- "application/json": {
54912
- schema: {
54913
- properties: { ok: { type: "boolean" } },
54914
- required: ["ok"],
54915
- type: "object"
54916
- }
54917
- }
54918
- },
54919
- description: "OK"
54920
- },
54921
- 400: { description: "Bad Request" },
54922
- 401: { description: "Unauthorized" }
54923
- },
54924
- security: [
54925
- { pat_with_workspace: [] },
54926
- { console_session_with_workspace: [] },
54927
- { api_key: [] }
54928
- ],
54929
- summary: "/unstable_locations/delete",
54930
- tags: [],
54931
- "x-fern-sdk-group-name": ["unstable_locations"],
54932
- "x-fern-sdk-method-name": "delete",
54933
- "x-response-key": null,
54934
- "x-title": "Delete a Location",
54935
- "x-undocumented": "Experimental locations."
54936
- },
54937
- post: {
54938
- description: "Deletes a location.",
54939
- operationId: "unstableLocationsDeletePost",
54940
- requestBody: {
54941
- content: {
54942
- "application/json": {
54943
- schema: {
54944
- properties: {
54945
- location_id: {
54946
- description: "ID of the location that you want to delete.",
54947
- format: "uuid",
54948
- type: "string"
54949
- }
54950
- },
54951
- required: ["location_id"],
54952
- type: "object"
54953
- }
54954
- }
54955
- }
54956
- },
54957
- responses: {
54958
- 200: {
54959
- content: {
54960
- "application/json": {
54961
- schema: {
54962
- properties: { ok: { type: "boolean" } },
54963
- required: ["ok"],
54964
- type: "object"
54965
- }
54966
- }
54967
- },
54968
- description: "OK"
54969
- },
54970
- 400: { description: "Bad Request" },
54971
- 401: { description: "Unauthorized" }
54972
- },
54973
- security: [
54974
- { pat_with_workspace: [] },
54975
- { console_session_with_workspace: [] },
54976
- { api_key: [] }
54977
- ],
54978
- summary: "/unstable_locations/delete",
54979
- tags: [],
54980
- "x-fern-sdk-group-name": ["unstable_locations"],
54981
- "x-fern-sdk-method-name": "delete",
54982
- "x-response-key": null,
54983
- "x-title": "Delete a Location",
54984
- "x-undocumented": "Experimental locations."
54985
- }
54986
- },
54987
- "/unstable_locations/get": {
54988
- get: {
54989
- description: "Gets a location.",
54990
- operationId: "unstableLocationsGetGet",
54991
- parameters: [
54992
- {
54993
- in: "query",
54994
- name: "location_id",
54995
- required: true,
54996
- schema: {
54997
- description: "ID of the location that you want to get.",
54998
- format: "uuid",
54999
- type: "string"
55000
- }
55001
- }
55002
- ],
55003
- responses: {
55004
- 200: {
55005
- content: {
55006
- "application/json": {
55007
- schema: {
55008
- properties: {
55009
- location: { $ref: "#/components/schemas/location" },
55010
- ok: { type: "boolean" }
55011
- },
55012
- required: ["location", "ok"],
55013
- type: "object"
55014
- }
55015
- }
55016
- },
55017
- description: "OK"
55018
- },
55019
- 400: { description: "Bad Request" },
55020
- 401: { description: "Unauthorized" }
55021
- },
55022
- security: [
55023
- { pat_with_workspace: [] },
55024
- { console_session_with_workspace: [] },
55025
- { api_key: [] }
55026
- ],
55027
- summary: "/unstable_locations/get",
55028
- tags: [],
55029
- "x-fern-sdk-group-name": ["unstable_locations"],
55030
- "x-fern-sdk-method-name": "get",
55031
- "x-fern-sdk-return-value": "location",
55032
- "x-response-key": "location",
55033
- "x-title": "Get a Location",
55034
- "x-undocumented": "Experimental locations."
55035
- },
55036
- post: {
55037
- description: "Gets a location.",
55038
- operationId: "unstableLocationsGetPost",
55039
- requestBody: {
55040
- content: {
55041
- "application/json": {
55042
- schema: {
55043
- properties: {
55044
- location_id: {
55045
- description: "ID of the location that you want to get.",
55046
- format: "uuid",
55047
- type: "string"
55048
- }
55049
- },
55050
- required: ["location_id"],
55051
- type: "object"
55052
- }
55053
- }
55054
- }
55055
- },
55056
- responses: {
55057
- 200: {
55058
- content: {
55059
- "application/json": {
55060
- schema: {
55061
- properties: {
55062
- location: { $ref: "#/components/schemas/location" },
55063
- ok: { type: "boolean" }
55064
- },
55065
- required: ["location", "ok"],
55066
- type: "object"
55067
- }
55068
- }
55069
- },
55070
- description: "OK"
55071
- },
55072
- 400: { description: "Bad Request" },
55073
- 401: { description: "Unauthorized" }
55074
- },
55075
- security: [
55076
- { pat_with_workspace: [] },
55077
- { console_session_with_workspace: [] },
55078
- { api_key: [] }
55079
- ],
55080
- summary: "/unstable_locations/get",
55081
- tags: [],
55082
- "x-fern-sdk-group-name": ["unstable_locations"],
55083
- "x-fern-sdk-method-name": "get",
55084
- "x-fern-sdk-return-value": "location",
55085
- "x-response-key": "location",
55086
- "x-title": "Get a Location",
55087
- "x-undocumented": "Experimental locations."
55088
- }
55089
- },
55090
- "/unstable_locations/list": {
55091
- get: {
55092
- description: "Returns a list of all locations.",
55093
- operationId: "unstableLocationsListGet",
55094
- responses: {
55095
- 200: {
55096
- content: {
55097
- "application/json": {
55098
- schema: {
55099
- properties: {
55100
- locations: {
55101
- items: { $ref: "#/components/schemas/location" },
55102
- type: "array"
55103
- },
55104
- ok: { type: "boolean" }
55105
- },
55106
- required: ["locations", "ok"],
55107
- type: "object"
55108
- }
55109
- }
55110
- },
55111
- description: "OK"
55112
- },
55113
- 400: { description: "Bad Request" },
55114
- 401: { description: "Unauthorized" }
55115
- },
55116
- security: [
55117
- { pat_with_workspace: [] },
55118
- { console_session_with_workspace: [] },
55119
- { api_key: [] }
55120
- ],
55121
- summary: "/unstable_locations/list",
55122
- tags: [],
55123
- "x-fern-sdk-group-name": ["unstable_locations"],
55124
- "x-fern-sdk-method-name": "list",
55125
- "x-fern-sdk-return-value": "locations",
55126
- "x-response-key": "locations",
55127
- "x-title": "List Locations",
55128
- "x-undocumented": "Experimental locations."
55129
- },
55130
- post: {
55131
- description: "Returns a list of all locations.",
55132
- operationId: "unstableLocationsListPost",
55133
- responses: {
55134
- 200: {
55135
- content: {
55136
- "application/json": {
55137
- schema: {
55138
- properties: {
55139
- locations: {
55140
- items: { $ref: "#/components/schemas/location" },
55141
- type: "array"
55142
- },
55143
- ok: { type: "boolean" }
55144
- },
55145
- required: ["locations", "ok"],
55146
- type: "object"
55147
- }
55148
- }
55149
- },
55150
- description: "OK"
55151
- },
55152
- 400: { description: "Bad Request" },
55153
- 401: { description: "Unauthorized" }
55154
- },
55155
- security: [
55156
- { pat_with_workspace: [] },
55157
- { console_session_with_workspace: [] },
55158
- { api_key: [] }
55159
- ],
55160
- summary: "/unstable_locations/list",
55161
- tags: [],
55162
- "x-fern-sdk-group-name": ["unstable_locations"],
55163
- "x-fern-sdk-method-name": "list",
55164
- "x-fern-sdk-return-value": "locations",
55165
- "x-response-key": "locations",
55166
- "x-title": "List Locations",
55167
- "x-undocumented": "Experimental locations."
55168
- }
55169
- },
55170
- "/unstable_locations/remove_acs_entrances": {
55171
- delete: {
55172
- description: "Removes entrances from a specific location.",
55173
- operationId: "unstableLocationsRemoveAcsEntrancesDelete",
55174
- parameters: [
55175
- {
55176
- in: "query",
55177
- name: "location_id",
55178
- required: true,
55179
- schema: {
55180
- description: "ID of the location from which you want to remove entrances.",
55181
- format: "uuid",
55182
- type: "string"
55183
- }
55184
- },
55185
- {
55186
- in: "query",
55187
- name: "acs_entrance_ids",
55188
- required: true,
55189
- schema: {
55190
- description: "IDs of the entrances that you want to remove from the location.",
55191
- items: { format: "uuid", type: "string" },
55192
- type: "array"
55193
- }
55194
- }
55195
- ],
55196
- responses: {
55197
- 200: {
55198
- content: {
55199
- "application/json": {
55200
- schema: {
55201
- properties: { ok: { type: "boolean" } },
55202
- required: ["ok"],
55203
- type: "object"
55204
- }
55205
- }
55206
- },
55207
- description: "OK"
55208
- },
55209
- 400: { description: "Bad Request" },
55210
- 401: { description: "Unauthorized" }
55211
- },
55212
- security: [
55213
- { pat_with_workspace: [] },
55214
- { console_session_with_workspace: [] },
55215
- { api_key: [] }
55216
- ],
55217
- summary: "/unstable_locations/remove_acs_entrances",
55218
- tags: [],
55219
- "x-fern-sdk-group-name": ["unstable_locations"],
55220
- "x-fern-sdk-method-name": "remove_acs_entrances",
55221
- "x-response-key": null,
55222
- "x-title": "Remove Entrances from a Location",
55223
- "x-undocumented": "Experimental locations."
55224
- },
55225
- post: {
55226
- description: "Removes entrances from a specific location.",
55227
- operationId: "unstableLocationsRemoveAcsEntrancesPost",
55228
- requestBody: {
55229
- content: {
55230
- "application/json": {
55231
- schema: {
55232
- properties: {
55233
- acs_entrance_ids: {
55234
- description: "IDs of the entrances that you want to remove from the location.",
55235
- items: { format: "uuid", type: "string" },
55236
- type: "array"
55237
- },
55238
- location_id: {
55239
- description: "ID of the location from which you want to remove entrances.",
55240
- format: "uuid",
55241
- type: "string"
55242
- }
55243
- },
55244
- required: ["location_id", "acs_entrance_ids"],
55245
- type: "object"
55246
- }
55247
- }
55248
- }
55249
- },
55250
- responses: {
55251
- 200: {
55252
- content: {
55253
- "application/json": {
55254
- schema: {
55255
- properties: { ok: { type: "boolean" } },
55256
- required: ["ok"],
55257
- type: "object"
55258
- }
55259
- }
55260
- },
55261
- description: "OK"
55262
- },
55263
- 400: { description: "Bad Request" },
55264
- 401: { description: "Unauthorized" }
55265
- },
55266
- security: [
55267
- { pat_with_workspace: [] },
55268
- { console_session_with_workspace: [] },
55269
- { api_key: [] }
55270
- ],
55271
- summary: "/unstable_locations/remove_acs_entrances",
55272
- tags: [],
55273
- "x-fern-sdk-group-name": ["unstable_locations"],
55274
- "x-fern-sdk-method-name": "remove_acs_entrances",
55275
- "x-response-key": null,
55276
- "x-title": "Remove Entrances from a Location",
55277
- "x-undocumented": "Experimental locations."
55278
- }
55279
- },
55280
- "/unstable_locations/remove_devices": {
55281
- delete: {
55282
- description: "Removes devices from a specific location.",
55283
- operationId: "unstableLocationsRemoveDevicesDelete",
55284
- parameters: [
55285
- {
55286
- in: "query",
55287
- name: "location_id",
55288
- required: true,
55289
- schema: {
55290
- description: "ID of the location from which you want to remove devices.",
55291
- format: "uuid",
55292
- type: "string"
55293
- }
55294
- },
55295
- {
55296
- in: "query",
55297
- name: "device_ids",
55298
- required: true,
55299
- schema: {
55300
- description: "IDs of the devices that you want to remove from the location.",
55301
- items: { format: "uuid", type: "string" },
55302
- type: "array"
55303
- }
55304
- }
55305
- ],
55306
- responses: {
55307
- 200: {
55308
- content: {
55309
- "application/json": {
55310
- schema: {
55311
- properties: { ok: { type: "boolean" } },
55312
- required: ["ok"],
55313
- type: "object"
55314
- }
55315
- }
55316
- },
55317
- description: "OK"
55318
- },
55319
- 400: { description: "Bad Request" },
55320
- 401: { description: "Unauthorized" }
55321
- },
55322
- security: [
55323
- { pat_with_workspace: [] },
55324
- { console_session_with_workspace: [] },
55325
- { api_key: [] }
55326
- ],
55327
- summary: "/unstable_locations/remove_devices",
55328
- tags: [],
55329
- "x-fern-sdk-group-name": ["unstable_locations"],
55330
- "x-fern-sdk-method-name": "remove_devices",
55331
- "x-response-key": null,
55332
- "x-title": "Remove Devices from a Location",
55333
- "x-undocumented": "Experimental locations."
55334
- },
55335
- post: {
55336
- description: "Removes devices from a specific location.",
55337
- operationId: "unstableLocationsRemoveDevicesPost",
55338
- requestBody: {
55339
- content: {
55340
- "application/json": {
55341
- schema: {
55342
- properties: {
55343
- device_ids: {
55344
- description: "IDs of the devices that you want to remove from the location.",
55345
- items: { format: "uuid", type: "string" },
55346
- type: "array"
55347
- },
55348
- location_id: {
55349
- description: "ID of the location from which you want to remove devices.",
55350
- format: "uuid",
55351
- type: "string"
55352
- }
55353
- },
55354
- required: ["location_id", "device_ids"],
55355
- type: "object"
55356
- }
55357
- }
55358
- }
55359
- },
55360
- responses: {
55361
- 200: {
55362
- content: {
55363
- "application/json": {
55364
- schema: {
55365
- properties: { ok: { type: "boolean" } },
55366
- required: ["ok"],
55367
- type: "object"
55368
- }
55369
- }
55370
- },
55371
- description: "OK"
55372
- },
55373
- 400: { description: "Bad Request" },
55374
- 401: { description: "Unauthorized" }
55375
- },
55376
- security: [
55377
- { pat_with_workspace: [] },
55378
- { console_session_with_workspace: [] },
55379
- { api_key: [] }
55380
- ],
55381
- summary: "/unstable_locations/remove_devices",
55382
- tags: [],
55383
- "x-fern-sdk-group-name": ["unstable_locations"],
55384
- "x-fern-sdk-method-name": "remove_devices",
55385
- "x-response-key": null,
55386
- "x-title": "Remove Devices from a Location",
55387
- "x-undocumented": "Experimental locations."
55388
- }
55389
- },
55390
- "/unstable_locations/update": {
55391
- patch: {
55392
- description: "Updates a location.",
55393
- operationId: "unstableLocationsUpdatePatch",
55394
- requestBody: {
55395
- content: {
55396
- "application/json": {
55397
- schema: {
55398
- properties: {
55399
- geolocation: {
55400
- description: "Geolocation of the location.",
55401
- properties: {
55402
- latitude: { format: "float", type: "number" },
55403
- longitude: { format: "float", type: "number" }
55404
- },
55405
- required: ["latitude", "longitude"],
55406
- type: "object"
55407
- },
55408
- location_id: {
55409
- description: "ID of the location that you want to update.",
55410
- format: "uuid",
55411
- type: "string"
55412
- },
55413
- name: {
55414
- description: "Name of the location.",
55415
- type: "string"
55416
- },
55417
- time_zone: {
55418
- description: "Time zone of the the location.",
55419
- type: "string"
55420
- }
55421
- },
55422
- required: ["location_id"],
55423
- type: "object"
55424
- }
55425
- }
55426
- }
55427
- },
55428
- responses: {
55429
- 200: {
55430
- content: {
55431
- "application/json": {
55432
- schema: {
55433
- properties: {
55434
- location: { $ref: "#/components/schemas/location" },
55435
- ok: { type: "boolean" }
55436
- },
55437
- required: ["location", "ok"],
55438
- type: "object"
55439
- }
55440
- }
55441
- },
55442
- description: "OK"
55443
- },
55444
- 400: { description: "Bad Request" },
55445
- 401: { description: "Unauthorized" }
55446
- },
55447
- security: [
55448
- { pat_with_workspace: [] },
55449
- { console_session_with_workspace: [] },
55450
- { api_key: [] }
55451
- ],
55452
- summary: "/unstable_locations/update",
55453
- tags: [],
55454
- "x-fern-sdk-group-name": ["unstable_locations"],
55455
- "x-fern-sdk-method-name": "update",
55456
- "x-fern-sdk-return-value": "location",
55457
- "x-response-key": "location",
55458
- "x-title": "Update a Location",
55459
- "x-undocumented": "Experimental locations."
55460
- },
55461
- post: {
55462
- description: "Updates a location.",
55463
- operationId: "unstableLocationsUpdatePost",
55464
- requestBody: {
55465
- content: {
55466
- "application/json": {
55467
- schema: {
55468
- properties: {
55469
- geolocation: {
55470
- description: "Geolocation of the location.",
55471
- properties: {
55472
- latitude: { format: "float", type: "number" },
55473
- longitude: { format: "float", type: "number" }
55474
- },
55475
- required: ["latitude", "longitude"],
55476
- type: "object"
55477
- },
55478
- location_id: {
55479
- description: "ID of the location that you want to update.",
55480
- format: "uuid",
55481
- type: "string"
55482
- },
55483
- name: {
55484
- description: "Name of the location.",
55485
- type: "string"
55486
- },
55487
- time_zone: {
55488
- description: "Time zone of the the location.",
55489
- type: "string"
55490
- }
55491
- },
55492
- required: ["location_id"],
55493
- type: "object"
55494
- }
55495
- }
55496
- }
55497
- },
55498
- responses: {
55499
- 200: {
55500
- content: {
55501
- "application/json": {
55502
- schema: {
55503
- properties: {
55504
- location: { $ref: "#/components/schemas/location" },
55505
- ok: { type: "boolean" }
55506
- },
55507
- required: ["location", "ok"],
55508
- type: "object"
55509
- }
55510
- }
55511
- },
55512
- description: "OK"
55513
- },
55514
- 400: { description: "Bad Request" },
55515
- 401: { description: "Unauthorized" }
55516
- },
55517
- security: [
55518
- { pat_with_workspace: [] },
55519
- { console_session_with_workspace: [] },
55520
- { api_key: [] }
55521
- ],
55522
- summary: "/unstable_locations/update",
55523
- tags: [],
55524
- "x-fern-sdk-group-name": ["unstable_locations"],
55525
- "x-fern-sdk-method-name": "update",
55526
- "x-fern-sdk-return-value": "location",
55527
- "x-response-key": "location",
55528
- "x-title": "Update a Location",
55529
- "x-undocumented": "Experimental locations."
55530
- }
55531
- },
55532
54539
  "/unstable_partner/building_blocks/connect_accounts": {
55533
54540
  post: {
55534
54541
  description: "Creates a new building block magic link to connect accounts.",