@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
@@ -2189,6 +2189,166 @@ export default {
2189
2189
  type: 'string',
2190
2190
  'x-undocumented': 'Only used internally.',
2191
2191
  },
2192
+ pending_modifications: {
2193
+ items: {
2194
+ discriminator: { propertyName: 'modification_code' },
2195
+ oneOf: [
2196
+ {
2197
+ properties: {
2198
+ created_at: { format: 'date-time', type: 'string' },
2199
+ modification_code: { enum: ['profile'], type: 'string' },
2200
+ modified_from: {
2201
+ properties: {
2202
+ email_address: {
2203
+ format: 'email',
2204
+ nullable: true,
2205
+ type: 'string',
2206
+ },
2207
+ full_name: { nullable: true, type: 'string' },
2208
+ phone_number: { nullable: true, type: 'string' },
2209
+ },
2210
+ type: 'object',
2211
+ },
2212
+ modified_to: {
2213
+ properties: {
2214
+ email_address: {
2215
+ format: 'email',
2216
+ nullable: true,
2217
+ type: 'string',
2218
+ },
2219
+ full_name: { nullable: true, type: 'string' },
2220
+ phone_number: { nullable: true, type: 'string' },
2221
+ },
2222
+ type: 'object',
2223
+ },
2224
+ },
2225
+ required: [
2226
+ 'created_at',
2227
+ 'modification_code',
2228
+ 'modified_from',
2229
+ 'modified_to',
2230
+ ],
2231
+ type: 'object',
2232
+ },
2233
+ {
2234
+ properties: {
2235
+ created_at: { format: 'date-time', type: 'string' },
2236
+ modification_code: {
2237
+ enum: ['access_schedule'],
2238
+ type: 'string',
2239
+ },
2240
+ modified_from: {
2241
+ properties: {
2242
+ ends_at: {
2243
+ description: "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.",
2244
+ format: 'date-time',
2245
+ nullable: true,
2246
+ type: 'string',
2247
+ },
2248
+ starts_at: {
2249
+ description: "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.",
2250
+ format: 'date-time',
2251
+ type: 'string',
2252
+ },
2253
+ },
2254
+ required: ['starts_at', 'ends_at'],
2255
+ type: 'object',
2256
+ },
2257
+ modified_to: {
2258
+ properties: {
2259
+ ends_at: {
2260
+ description: "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.",
2261
+ format: 'date-time',
2262
+ nullable: true,
2263
+ type: 'string',
2264
+ },
2265
+ starts_at: {
2266
+ description: "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.",
2267
+ format: 'date-time',
2268
+ type: 'string',
2269
+ },
2270
+ },
2271
+ required: ['starts_at', 'ends_at'],
2272
+ type: 'object',
2273
+ },
2274
+ },
2275
+ required: [
2276
+ 'created_at',
2277
+ 'modification_code',
2278
+ 'modified_from',
2279
+ 'modified_to',
2280
+ ],
2281
+ type: 'object',
2282
+ },
2283
+ {
2284
+ properties: {
2285
+ created_at: { format: 'date-time', type: 'string' },
2286
+ modification_code: {
2287
+ enum: ['suspension_state'],
2288
+ type: 'string',
2289
+ },
2290
+ modified_from: {
2291
+ properties: { is_suspended: { type: 'boolean' } },
2292
+ required: ['is_suspended'],
2293
+ type: 'object',
2294
+ },
2295
+ modified_to: {
2296
+ properties: { is_suspended: { type: 'boolean' } },
2297
+ required: ['is_suspended'],
2298
+ type: 'object',
2299
+ },
2300
+ },
2301
+ required: [
2302
+ 'created_at',
2303
+ 'modification_code',
2304
+ 'modified_from',
2305
+ 'modified_to',
2306
+ ],
2307
+ type: 'object',
2308
+ },
2309
+ {
2310
+ properties: {
2311
+ created_at: { format: 'date-time', type: 'string' },
2312
+ modification_code: {
2313
+ enum: ['acs_access_group_membership'],
2314
+ type: 'string',
2315
+ },
2316
+ modified_from: {
2317
+ properties: {
2318
+ acs_access_group_id: {
2319
+ format: 'uuid',
2320
+ nullable: true,
2321
+ type: 'string',
2322
+ },
2323
+ },
2324
+ required: ['acs_access_group_id'],
2325
+ type: 'object',
2326
+ },
2327
+ modified_to: {
2328
+ properties: {
2329
+ acs_access_group_id: {
2330
+ format: 'uuid',
2331
+ nullable: true,
2332
+ type: 'string',
2333
+ },
2334
+ },
2335
+ required: ['acs_access_group_id'],
2336
+ type: 'object',
2337
+ },
2338
+ },
2339
+ required: [
2340
+ 'created_at',
2341
+ 'modification_code',
2342
+ 'modified_from',
2343
+ 'modified_to',
2344
+ ],
2345
+ type: 'object',
2346
+ },
2347
+ ],
2348
+ },
2349
+ type: 'array',
2350
+ 'x-undocumented': 'Experimental.',
2351
+ },
2192
2352
  phone_number: {
2193
2353
  description: 'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
2194
2354
  type: 'string',
@@ -13409,6 +13569,166 @@ export default {
13409
13569
  type: 'string',
13410
13570
  'x-undocumented': 'Only used internally.',
13411
13571
  },
13572
+ pending_modifications: {
13573
+ items: {
13574
+ discriminator: { propertyName: 'modification_code' },
13575
+ oneOf: [
13576
+ {
13577
+ properties: {
13578
+ created_at: { format: 'date-time', type: 'string' },
13579
+ modification_code: { enum: ['profile'], type: 'string' },
13580
+ modified_from: {
13581
+ properties: {
13582
+ email_address: {
13583
+ format: 'email',
13584
+ nullable: true,
13585
+ type: 'string',
13586
+ },
13587
+ full_name: { nullable: true, type: 'string' },
13588
+ phone_number: { nullable: true, type: 'string' },
13589
+ },
13590
+ type: 'object',
13591
+ },
13592
+ modified_to: {
13593
+ properties: {
13594
+ email_address: {
13595
+ format: 'email',
13596
+ nullable: true,
13597
+ type: 'string',
13598
+ },
13599
+ full_name: { nullable: true, type: 'string' },
13600
+ phone_number: { nullable: true, type: 'string' },
13601
+ },
13602
+ type: 'object',
13603
+ },
13604
+ },
13605
+ required: [
13606
+ 'created_at',
13607
+ 'modification_code',
13608
+ 'modified_from',
13609
+ 'modified_to',
13610
+ ],
13611
+ type: 'object',
13612
+ },
13613
+ {
13614
+ properties: {
13615
+ created_at: { format: 'date-time', type: 'string' },
13616
+ modification_code: {
13617
+ enum: ['access_schedule'],
13618
+ type: 'string',
13619
+ },
13620
+ modified_from: {
13621
+ properties: {
13622
+ ends_at: {
13623
+ description: "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.",
13624
+ format: 'date-time',
13625
+ nullable: true,
13626
+ type: 'string',
13627
+ },
13628
+ starts_at: {
13629
+ description: "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.",
13630
+ format: 'date-time',
13631
+ type: 'string',
13632
+ },
13633
+ },
13634
+ required: ['starts_at', 'ends_at'],
13635
+ type: 'object',
13636
+ },
13637
+ modified_to: {
13638
+ properties: {
13639
+ ends_at: {
13640
+ description: "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.",
13641
+ format: 'date-time',
13642
+ nullable: true,
13643
+ type: 'string',
13644
+ },
13645
+ starts_at: {
13646
+ description: "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.",
13647
+ format: 'date-time',
13648
+ type: 'string',
13649
+ },
13650
+ },
13651
+ required: ['starts_at', 'ends_at'],
13652
+ type: 'object',
13653
+ },
13654
+ },
13655
+ required: [
13656
+ 'created_at',
13657
+ 'modification_code',
13658
+ 'modified_from',
13659
+ 'modified_to',
13660
+ ],
13661
+ type: 'object',
13662
+ },
13663
+ {
13664
+ properties: {
13665
+ created_at: { format: 'date-time', type: 'string' },
13666
+ modification_code: {
13667
+ enum: ['suspension_state'],
13668
+ type: 'string',
13669
+ },
13670
+ modified_from: {
13671
+ properties: { is_suspended: { type: 'boolean' } },
13672
+ required: ['is_suspended'],
13673
+ type: 'object',
13674
+ },
13675
+ modified_to: {
13676
+ properties: { is_suspended: { type: 'boolean' } },
13677
+ required: ['is_suspended'],
13678
+ type: 'object',
13679
+ },
13680
+ },
13681
+ required: [
13682
+ 'created_at',
13683
+ 'modification_code',
13684
+ 'modified_from',
13685
+ 'modified_to',
13686
+ ],
13687
+ type: 'object',
13688
+ },
13689
+ {
13690
+ properties: {
13691
+ created_at: { format: 'date-time', type: 'string' },
13692
+ modification_code: {
13693
+ enum: ['acs_access_group_membership'],
13694
+ type: 'string',
13695
+ },
13696
+ modified_from: {
13697
+ properties: {
13698
+ acs_access_group_id: {
13699
+ format: 'uuid',
13700
+ nullable: true,
13701
+ type: 'string',
13702
+ },
13703
+ },
13704
+ required: ['acs_access_group_id'],
13705
+ type: 'object',
13706
+ },
13707
+ modified_to: {
13708
+ properties: {
13709
+ acs_access_group_id: {
13710
+ format: 'uuid',
13711
+ nullable: true,
13712
+ type: 'string',
13713
+ },
13714
+ },
13715
+ required: ['acs_access_group_id'],
13716
+ type: 'object',
13717
+ },
13718
+ },
13719
+ required: [
13720
+ 'created_at',
13721
+ 'modification_code',
13722
+ 'modified_from',
13723
+ 'modified_to',
13724
+ ],
13725
+ type: 'object',
13726
+ },
13727
+ ],
13728
+ },
13729
+ type: 'array',
13730
+ 'x-undocumented': 'Experimental.',
13731
+ },
13412
13732
  phone_number: {
13413
13733
  description: 'Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).',
13414
13734
  type: 'string',
@@ -20786,6 +21106,12 @@ export default {
20786
21106
  ],
20787
21107
  type: 'string',
20788
21108
  },
21109
+ unstable_location_id: {
21110
+ format: 'uuid',
21111
+ nullable: true,
21112
+ type: 'string',
21113
+ 'x-undocumented': 'Experimental locations.',
21114
+ },
20789
21115
  user_identifier_key: {
20790
21116
  description: 'Your own internal user ID for the user by which to filter devices.',
20791
21117
  type: 'string',
@@ -21309,6 +21635,12 @@ export default {
21309
21635
  ],
21310
21636
  type: 'string',
21311
21637
  },
21638
+ unstable_location_id: {
21639
+ format: 'uuid',
21640
+ nullable: true,
21641
+ type: 'string',
21642
+ 'x-undocumented': 'Experimental locations.',
21643
+ },
21312
21644
  user_identifier_key: {
21313
21645
  description: 'Your own internal user ID for the user by which to filter devices.',
21314
21646
  type: 'string',
@@ -22157,6 +22489,12 @@ export default {
22157
22489
  ],
22158
22490
  type: 'string',
22159
22491
  },
22492
+ unstable_location_id: {
22493
+ format: 'uuid',
22494
+ nullable: true,
22495
+ type: 'string',
22496
+ 'x-undocumented': 'Experimental locations.',
22497
+ },
22160
22498
  user_identifier_key: {
22161
22499
  description: 'Your own internal user ID for the user by which to filter devices.',
22162
22500
  type: 'string',
@@ -22643,6 +22981,12 @@ export default {
22643
22981
  ],
22644
22982
  type: 'string',
22645
22983
  },
22984
+ unstable_location_id: {
22985
+ format: 'uuid',
22986
+ nullable: true,
22987
+ type: 'string',
22988
+ 'x-undocumented': 'Experimental locations.',
22989
+ },
22646
22990
  user_identifier_key: {
22647
22991
  description: 'Your own internal user ID for the user by which to filter devices.',
22648
22992
  type: 'string',
@@ -24473,6 +24817,12 @@ export default {
24473
24817
  ],
24474
24818
  type: 'string',
24475
24819
  },
24820
+ unstable_location_id: {
24821
+ format: 'uuid',
24822
+ nullable: true,
24823
+ type: 'string',
24824
+ 'x-undocumented': 'Experimental locations.',
24825
+ },
24476
24826
  user_identifier_key: {
24477
24827
  description: 'Your own internal user ID for the user by which to filter devices.',
24478
24828
  type: 'string',
@@ -25821,6 +26171,611 @@ export default {
25821
26171
  'x-title': 'Update a Climate Preset',
25822
26172
  },
25823
26173
  },
26174
+ '/unstable_locations/add_devices': {
26175
+ post: {
26176
+ description: 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
26177
+ operationId: 'unstableLocationsAddDevicesPost',
26178
+ requestBody: {
26179
+ content: {
26180
+ 'application/json': {
26181
+ schema: {
26182
+ properties: {
26183
+ device_ids: {
26184
+ items: { format: 'uuid', type: 'string' },
26185
+ type: 'array',
26186
+ },
26187
+ location_id: { format: 'uuid', type: 'string' },
26188
+ },
26189
+ required: ['location_id', 'device_ids'],
26190
+ type: 'object',
26191
+ },
26192
+ },
26193
+ },
26194
+ },
26195
+ responses: {
26196
+ 200: {
26197
+ content: {
26198
+ 'application/json': {
26199
+ schema: {
26200
+ properties: { ok: { type: 'boolean' } },
26201
+ required: ['ok'],
26202
+ type: 'object',
26203
+ },
26204
+ },
26205
+ },
26206
+ description: 'OK',
26207
+ },
26208
+ 400: { description: 'Bad Request' },
26209
+ 401: { description: 'Unauthorized' },
26210
+ },
26211
+ security: [
26212
+ { pat_with_workspace: [] },
26213
+ { console_session_with_workspace: [] },
26214
+ { api_key: [] },
26215
+ ],
26216
+ summary: '/unstable_locations/add_devices',
26217
+ tags: [],
26218
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26219
+ 'x-fern-sdk-method-name': 'add_devices',
26220
+ 'x-response-key': null,
26221
+ 'x-title': 'Add Location Devices',
26222
+ 'x-undocumented': 'Experimental locations.',
26223
+ },
26224
+ },
26225
+ '/unstable_locations/create': {
26226
+ post: {
26227
+ description: 'Create a new location.',
26228
+ operationId: 'unstableLocationsCreatePost',
26229
+ requestBody: {
26230
+ content: {
26231
+ 'application/json': {
26232
+ schema: {
26233
+ properties: {
26234
+ geolocation: {
26235
+ properties: {
26236
+ latitude: { format: 'float', type: 'number' },
26237
+ longitude: { format: 'float', type: 'number' },
26238
+ },
26239
+ required: ['latitude', 'longitude'],
26240
+ type: 'object',
26241
+ },
26242
+ name: { type: 'string' },
26243
+ time_zone: { type: 'string' },
26244
+ },
26245
+ required: ['name'],
26246
+ type: 'object',
26247
+ },
26248
+ },
26249
+ },
26250
+ },
26251
+ responses: {
26252
+ 200: {
26253
+ content: {
26254
+ 'application/json': {
26255
+ schema: {
26256
+ properties: {
26257
+ location: {
26258
+ properties: {
26259
+ created_at: {
26260
+ description: 'Date and time at which the location object was created.',
26261
+ format: 'date-time',
26262
+ type: 'string',
26263
+ },
26264
+ display_name: {
26265
+ description: 'Display name of the location.',
26266
+ type: 'string',
26267
+ },
26268
+ geolocation: {
26269
+ description: 'Geographical location of the location.',
26270
+ properties: {
26271
+ latitude: { format: 'float', type: 'number' },
26272
+ longitude: { format: 'float', type: 'number' },
26273
+ },
26274
+ required: ['latitude', 'longitude'],
26275
+ type: 'object',
26276
+ },
26277
+ location_id: {
26278
+ description: 'Unique identifier for the location.',
26279
+ format: 'uuid',
26280
+ type: 'string',
26281
+ },
26282
+ time_zone: {
26283
+ description: 'Time zone of the location.',
26284
+ type: 'string',
26285
+ },
26286
+ workspace_id: {
26287
+ description: 'Unique identifier for the Seam workspace associated with the location.',
26288
+ format: 'uuid',
26289
+ type: 'string',
26290
+ },
26291
+ },
26292
+ required: [
26293
+ 'location_id',
26294
+ 'workspace_id',
26295
+ 'display_name',
26296
+ 'created_at',
26297
+ ],
26298
+ type: 'object',
26299
+ },
26300
+ ok: { type: 'boolean' },
26301
+ },
26302
+ required: ['location', 'ok'],
26303
+ type: 'object',
26304
+ },
26305
+ },
26306
+ },
26307
+ description: 'OK',
26308
+ },
26309
+ 400: { description: 'Bad Request' },
26310
+ 401: { description: 'Unauthorized' },
26311
+ },
26312
+ security: [
26313
+ { pat_with_workspace: [] },
26314
+ { console_session_with_workspace: [] },
26315
+ { api_key: [] },
26316
+ ],
26317
+ summary: '/unstable_locations/create',
26318
+ tags: [],
26319
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26320
+ 'x-fern-sdk-method-name': 'create',
26321
+ 'x-fern-sdk-return-value': 'location',
26322
+ 'x-response-key': 'location',
26323
+ 'x-title': 'Create Location',
26324
+ 'x-undocumented': 'Experimental locations.',
26325
+ },
26326
+ },
26327
+ '/unstable_locations/delete': {
26328
+ post: {
26329
+ description: 'Delete a location.',
26330
+ operationId: 'unstableLocationsDeletePost',
26331
+ requestBody: {
26332
+ content: {
26333
+ 'application/json': {
26334
+ schema: {
26335
+ properties: { location_id: { format: 'uuid', type: 'string' } },
26336
+ required: ['location_id'],
26337
+ type: 'object',
26338
+ },
26339
+ },
26340
+ },
26341
+ },
26342
+ responses: {
26343
+ 200: {
26344
+ content: {
26345
+ 'application/json': {
26346
+ schema: {
26347
+ properties: { ok: { type: 'boolean' } },
26348
+ required: ['ok'],
26349
+ type: 'object',
26350
+ },
26351
+ },
26352
+ },
26353
+ description: 'OK',
26354
+ },
26355
+ 400: { description: 'Bad Request' },
26356
+ 401: { description: 'Unauthorized' },
26357
+ },
26358
+ security: [
26359
+ { pat_with_workspace: [] },
26360
+ { console_session_with_workspace: [] },
26361
+ { api_key: [] },
26362
+ ],
26363
+ summary: '/unstable_locations/delete',
26364
+ tags: [],
26365
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26366
+ 'x-fern-sdk-method-name': 'delete',
26367
+ 'x-response-key': null,
26368
+ 'x-title': 'Delete Location',
26369
+ 'x-undocumented': 'Experimental locations.',
26370
+ },
26371
+ },
26372
+ '/unstable_locations/get': {
26373
+ post: {
26374
+ description: 'Get a location.',
26375
+ operationId: 'unstableLocationsGetPost',
26376
+ requestBody: {
26377
+ content: {
26378
+ 'application/json': {
26379
+ schema: {
26380
+ properties: { location_id: { format: 'uuid', type: 'string' } },
26381
+ required: ['location_id'],
26382
+ type: 'object',
26383
+ },
26384
+ },
26385
+ },
26386
+ },
26387
+ responses: {
26388
+ 200: {
26389
+ content: {
26390
+ 'application/json': {
26391
+ schema: {
26392
+ properties: {
26393
+ location: {
26394
+ properties: {
26395
+ created_at: {
26396
+ description: 'Date and time at which the location object was created.',
26397
+ format: 'date-time',
26398
+ type: 'string',
26399
+ },
26400
+ display_name: {
26401
+ description: 'Display name of the location.',
26402
+ type: 'string',
26403
+ },
26404
+ geolocation: {
26405
+ description: 'Geographical location of the location.',
26406
+ properties: {
26407
+ latitude: { format: 'float', type: 'number' },
26408
+ longitude: { format: 'float', type: 'number' },
26409
+ },
26410
+ required: ['latitude', 'longitude'],
26411
+ type: 'object',
26412
+ },
26413
+ location_id: {
26414
+ description: 'Unique identifier for the location.',
26415
+ format: 'uuid',
26416
+ type: 'string',
26417
+ },
26418
+ time_zone: {
26419
+ description: 'Time zone of the location.',
26420
+ type: 'string',
26421
+ },
26422
+ workspace_id: {
26423
+ description: 'Unique identifier for the Seam workspace associated with the location.',
26424
+ format: 'uuid',
26425
+ type: 'string',
26426
+ },
26427
+ },
26428
+ required: [
26429
+ 'location_id',
26430
+ 'workspace_id',
26431
+ 'display_name',
26432
+ 'created_at',
26433
+ ],
26434
+ type: 'object',
26435
+ },
26436
+ ok: { type: 'boolean' },
26437
+ },
26438
+ required: ['location', 'ok'],
26439
+ type: 'object',
26440
+ },
26441
+ },
26442
+ },
26443
+ description: 'OK',
26444
+ },
26445
+ 400: { description: 'Bad Request' },
26446
+ 401: { description: 'Unauthorized' },
26447
+ },
26448
+ security: [
26449
+ { pat_with_workspace: [] },
26450
+ { console_session_with_workspace: [] },
26451
+ { api_key: [] },
26452
+ ],
26453
+ summary: '/unstable_locations/get',
26454
+ tags: [],
26455
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26456
+ 'x-fern-sdk-method-name': 'get',
26457
+ 'x-fern-sdk-return-value': 'location',
26458
+ 'x-response-key': 'location',
26459
+ 'x-title': 'Get Location',
26460
+ 'x-undocumented': 'Experimental locations.',
26461
+ },
26462
+ },
26463
+ '/unstable_locations/list': {
26464
+ get: {
26465
+ description: 'Returns a list of all locations.',
26466
+ operationId: 'unstableLocationsListGet',
26467
+ responses: {
26468
+ 200: {
26469
+ content: {
26470
+ 'application/json': {
26471
+ schema: {
26472
+ properties: {
26473
+ locations: {
26474
+ items: {
26475
+ properties: {
26476
+ created_at: {
26477
+ description: 'Date and time at which the location object was created.',
26478
+ format: 'date-time',
26479
+ type: 'string',
26480
+ },
26481
+ display_name: {
26482
+ description: 'Display name of the location.',
26483
+ type: 'string',
26484
+ },
26485
+ geolocation: {
26486
+ description: 'Geographical location of the location.',
26487
+ properties: {
26488
+ latitude: { format: 'float', type: 'number' },
26489
+ longitude: { format: 'float', type: 'number' },
26490
+ },
26491
+ required: ['latitude', 'longitude'],
26492
+ type: 'object',
26493
+ },
26494
+ location_id: {
26495
+ description: 'Unique identifier for the location.',
26496
+ format: 'uuid',
26497
+ type: 'string',
26498
+ },
26499
+ time_zone: {
26500
+ description: 'Time zone of the location.',
26501
+ type: 'string',
26502
+ },
26503
+ workspace_id: {
26504
+ description: 'Unique identifier for the Seam workspace associated with the location.',
26505
+ format: 'uuid',
26506
+ type: 'string',
26507
+ },
26508
+ },
26509
+ required: [
26510
+ 'location_id',
26511
+ 'workspace_id',
26512
+ 'display_name',
26513
+ 'created_at',
26514
+ ],
26515
+ type: 'object',
26516
+ },
26517
+ type: 'array',
26518
+ },
26519
+ ok: { type: 'boolean' },
26520
+ },
26521
+ required: ['locations', 'ok'],
26522
+ type: 'object',
26523
+ },
26524
+ },
26525
+ },
26526
+ description: 'OK',
26527
+ },
26528
+ 400: { description: 'Bad Request' },
26529
+ 401: { description: 'Unauthorized' },
26530
+ },
26531
+ security: [
26532
+ { pat_with_workspace: [] },
26533
+ { console_session_with_workspace: [] },
26534
+ { api_key: [] },
26535
+ ],
26536
+ summary: '/unstable_locations/list',
26537
+ tags: [],
26538
+ 'x-fern-ignore': true,
26539
+ 'x-response-key': 'locations',
26540
+ 'x-title': 'List Locations',
26541
+ 'x-undocumented': 'Experimental locations.',
26542
+ },
26543
+ post: {
26544
+ description: 'Returns a list of all locations.',
26545
+ operationId: 'unstableLocationsListPost',
26546
+ responses: {
26547
+ 200: {
26548
+ content: {
26549
+ 'application/json': {
26550
+ schema: {
26551
+ properties: {
26552
+ locations: {
26553
+ items: {
26554
+ properties: {
26555
+ created_at: {
26556
+ description: 'Date and time at which the location object was created.',
26557
+ format: 'date-time',
26558
+ type: 'string',
26559
+ },
26560
+ display_name: {
26561
+ description: 'Display name of the location.',
26562
+ type: 'string',
26563
+ },
26564
+ geolocation: {
26565
+ description: 'Geographical location of the location.',
26566
+ properties: {
26567
+ latitude: { format: 'float', type: 'number' },
26568
+ longitude: { format: 'float', type: 'number' },
26569
+ },
26570
+ required: ['latitude', 'longitude'],
26571
+ type: 'object',
26572
+ },
26573
+ location_id: {
26574
+ description: 'Unique identifier for the location.',
26575
+ format: 'uuid',
26576
+ type: 'string',
26577
+ },
26578
+ time_zone: {
26579
+ description: 'Time zone of the location.',
26580
+ type: 'string',
26581
+ },
26582
+ workspace_id: {
26583
+ description: 'Unique identifier for the Seam workspace associated with the location.',
26584
+ format: 'uuid',
26585
+ type: 'string',
26586
+ },
26587
+ },
26588
+ required: [
26589
+ 'location_id',
26590
+ 'workspace_id',
26591
+ 'display_name',
26592
+ 'created_at',
26593
+ ],
26594
+ type: 'object',
26595
+ },
26596
+ type: 'array',
26597
+ },
26598
+ ok: { type: 'boolean' },
26599
+ },
26600
+ required: ['locations', 'ok'],
26601
+ type: 'object',
26602
+ },
26603
+ },
26604
+ },
26605
+ description: 'OK',
26606
+ },
26607
+ 400: { description: 'Bad Request' },
26608
+ 401: { description: 'Unauthorized' },
26609
+ },
26610
+ security: [
26611
+ { pat_with_workspace: [] },
26612
+ { console_session_with_workspace: [] },
26613
+ { api_key: [] },
26614
+ ],
26615
+ summary: '/unstable_locations/list',
26616
+ tags: [],
26617
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26618
+ 'x-fern-sdk-method-name': 'list',
26619
+ 'x-fern-sdk-return-value': 'locations',
26620
+ 'x-response-key': 'locations',
26621
+ 'x-title': 'List Locations',
26622
+ 'x-undocumented': 'Experimental locations.',
26623
+ },
26624
+ },
26625
+ '/unstable_locations/remove_devices': {
26626
+ post: {
26627
+ description: 'Remove devices from a specific location.',
26628
+ operationId: 'unstableLocationsRemoveDevicesPost',
26629
+ requestBody: {
26630
+ content: {
26631
+ 'application/json': {
26632
+ schema: {
26633
+ properties: {
26634
+ device_ids: {
26635
+ items: { format: 'uuid', type: 'string' },
26636
+ type: 'array',
26637
+ },
26638
+ location_id: { format: 'uuid', type: 'string' },
26639
+ },
26640
+ required: ['location_id', 'device_ids'],
26641
+ type: 'object',
26642
+ },
26643
+ },
26644
+ },
26645
+ },
26646
+ responses: {
26647
+ 200: {
26648
+ content: {
26649
+ 'application/json': {
26650
+ schema: {
26651
+ properties: { ok: { type: 'boolean' } },
26652
+ required: ['ok'],
26653
+ type: 'object',
26654
+ },
26655
+ },
26656
+ },
26657
+ description: 'OK',
26658
+ },
26659
+ 400: { description: 'Bad Request' },
26660
+ 401: { description: 'Unauthorized' },
26661
+ },
26662
+ security: [
26663
+ { pat_with_workspace: [] },
26664
+ { console_session_with_workspace: [] },
26665
+ { api_key: [] },
26666
+ ],
26667
+ summary: '/unstable_locations/remove_devices',
26668
+ tags: [],
26669
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26670
+ 'x-fern-sdk-method-name': 'remove_devices',
26671
+ 'x-response-key': null,
26672
+ 'x-title': 'Remove Location Devices',
26673
+ 'x-undocumented': 'Experimental locations.',
26674
+ },
26675
+ },
26676
+ '/unstable_locations/update': {
26677
+ post: {
26678
+ description: 'Update an existing location.',
26679
+ operationId: 'unstableLocationsUpdatePost',
26680
+ requestBody: {
26681
+ content: {
26682
+ 'application/json': {
26683
+ schema: {
26684
+ properties: {
26685
+ geolocation: {
26686
+ properties: {
26687
+ latitude: { format: 'float', type: 'number' },
26688
+ longitude: { format: 'float', type: 'number' },
26689
+ },
26690
+ required: ['latitude', 'longitude'],
26691
+ type: 'object',
26692
+ },
26693
+ location_id: { format: 'uuid', type: 'string' },
26694
+ name: { type: 'string' },
26695
+ time_zone: { type: 'string' },
26696
+ },
26697
+ required: ['location_id'],
26698
+ type: 'object',
26699
+ },
26700
+ },
26701
+ },
26702
+ },
26703
+ responses: {
26704
+ 200: {
26705
+ content: {
26706
+ 'application/json': {
26707
+ schema: {
26708
+ properties: {
26709
+ location: {
26710
+ properties: {
26711
+ created_at: {
26712
+ description: 'Date and time at which the location object was created.',
26713
+ format: 'date-time',
26714
+ type: 'string',
26715
+ },
26716
+ display_name: {
26717
+ description: 'Display name of the location.',
26718
+ type: 'string',
26719
+ },
26720
+ geolocation: {
26721
+ description: 'Geographical location of the location.',
26722
+ properties: {
26723
+ latitude: { format: 'float', type: 'number' },
26724
+ longitude: { format: 'float', type: 'number' },
26725
+ },
26726
+ required: ['latitude', 'longitude'],
26727
+ type: 'object',
26728
+ },
26729
+ location_id: {
26730
+ description: 'Unique identifier for the location.',
26731
+ format: 'uuid',
26732
+ type: 'string',
26733
+ },
26734
+ time_zone: {
26735
+ description: 'Time zone of the location.',
26736
+ type: 'string',
26737
+ },
26738
+ workspace_id: {
26739
+ description: 'Unique identifier for the Seam workspace associated with the location.',
26740
+ format: 'uuid',
26741
+ type: 'string',
26742
+ },
26743
+ },
26744
+ required: [
26745
+ 'location_id',
26746
+ 'workspace_id',
26747
+ 'display_name',
26748
+ 'created_at',
26749
+ ],
26750
+ type: 'object',
26751
+ },
26752
+ ok: { type: 'boolean' },
26753
+ },
26754
+ required: ['location', 'ok'],
26755
+ type: 'object',
26756
+ },
26757
+ },
26758
+ },
26759
+ description: 'OK',
26760
+ },
26761
+ 400: { description: 'Bad Request' },
26762
+ 401: { description: 'Unauthorized' },
26763
+ },
26764
+ security: [
26765
+ { pat_with_workspace: [] },
26766
+ { console_session_with_workspace: [] },
26767
+ { api_key: [] },
26768
+ ],
26769
+ summary: '/unstable_locations/update',
26770
+ tags: [],
26771
+ 'x-fern-sdk-group-name': ['unstable_locations'],
26772
+ 'x-fern-sdk-method-name': 'update',
26773
+ 'x-fern-sdk-return-value': 'location',
26774
+ 'x-response-key': 'location',
26775
+ 'x-title': 'Update Location',
26776
+ 'x-undocumented': 'Experimental locations.',
26777
+ },
26778
+ },
25824
26779
  '/user_identities/add_acs_user': {
25825
26780
  post: {
25826
26781
  description: 'Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',