@seamapi/types 1.363.1 → 1.365.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 +855 -45
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2125 -542
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +464 -109
- package/lib/seam/connect/models/access-codes/managed-access-code.js +74 -17
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +156 -26
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -2
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js +1 -2
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-user.js +1 -2
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +1 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +1 -2
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/locations/index.d.ts +1 -0
- package/lib/seam/connect/models/locations/index.js +2 -0
- package/lib/seam/connect/models/locations/index.js.map +1 -0
- package/lib/seam/connect/models/locations/location.d.ts +49 -0
- package/lib/seam/connect/models/locations/location.js +25 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +803 -0
- package/lib/seam/connect/openapi.js +813 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +494 -54
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +80 -19
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-user.ts +1 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +1 -2
- package/src/lib/seam/connect/models/devices/device.ts +1 -2
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/locations/index.ts +1 -0
- package/src/lib/seam/connect/models/locations/location.ts +30 -0
- package/src/lib/seam/connect/openapi.ts +838 -32
- package/src/lib/seam/connect/route-types.ts +560 -63
|
@@ -71,6 +71,21 @@ export default {
|
|
|
71
71
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
72
72
|
type: 'object',
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
description: 'No free slots available on the device.',
|
|
76
|
+
properties: {
|
|
77
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
78
|
+
error_code: {
|
|
79
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
80
|
+
enum: ['smartthings_no_free_slots_available'],
|
|
81
|
+
type: 'string',
|
|
82
|
+
},
|
|
83
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
84
|
+
message: { type: 'string' },
|
|
85
|
+
},
|
|
86
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
87
|
+
type: 'object',
|
|
88
|
+
},
|
|
74
89
|
{
|
|
75
90
|
description: 'Failed to set code on device.',
|
|
76
91
|
properties: {
|
|
@@ -283,13 +298,28 @@ export default {
|
|
|
283
298
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
284
299
|
type: 'object',
|
|
285
300
|
},
|
|
301
|
+
{
|
|
302
|
+
description: 'August lock is temporarily offline.',
|
|
303
|
+
properties: {
|
|
304
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
305
|
+
error_code: {
|
|
306
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
307
|
+
enum: ['august_lock_temporarily_offline'],
|
|
308
|
+
type: 'string',
|
|
309
|
+
},
|
|
310
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
311
|
+
message: { type: 'string' },
|
|
312
|
+
},
|
|
313
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
314
|
+
type: 'object',
|
|
315
|
+
},
|
|
286
316
|
{
|
|
287
317
|
description: 'Salto site user is not subscribed.',
|
|
288
318
|
properties: {
|
|
289
319
|
created_at: { format: 'date-time', type: 'string' },
|
|
290
320
|
error_code: {
|
|
291
321
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
292
|
-
enum: ['
|
|
322
|
+
enum: ['salto_ks_user_not_subscribed'],
|
|
293
323
|
type: 'string',
|
|
294
324
|
},
|
|
295
325
|
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
@@ -328,6 +358,51 @@ export default {
|
|
|
328
358
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
329
359
|
type: 'object',
|
|
330
360
|
},
|
|
361
|
+
{
|
|
362
|
+
description: 'Duplicate access code name detected.',
|
|
363
|
+
properties: {
|
|
364
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
365
|
+
error_code: {
|
|
366
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
367
|
+
enum: ['wyze_duplicate_code_name'],
|
|
368
|
+
type: 'string',
|
|
369
|
+
},
|
|
370
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
371
|
+
message: { type: 'string' },
|
|
372
|
+
},
|
|
373
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
374
|
+
type: 'object',
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
description: 'Potential duplicate access code detected.',
|
|
378
|
+
properties: {
|
|
379
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
380
|
+
error_code: {
|
|
381
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
382
|
+
enum: ['wyze_potential_duplicate_code'],
|
|
383
|
+
type: 'string',
|
|
384
|
+
},
|
|
385
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
386
|
+
message: { type: 'string' },
|
|
387
|
+
},
|
|
388
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
389
|
+
type: 'object',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
description: 'No valid user level for Oracode.',
|
|
393
|
+
properties: {
|
|
394
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
395
|
+
error_code: {
|
|
396
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
397
|
+
enum: ['dormakaba_oracode_no_valid_user_level'],
|
|
398
|
+
type: 'string',
|
|
399
|
+
},
|
|
400
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
401
|
+
message: { type: 'string' },
|
|
402
|
+
},
|
|
403
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
404
|
+
type: 'object',
|
|
405
|
+
},
|
|
331
406
|
{
|
|
332
407
|
description: 'Account is disconnected',
|
|
333
408
|
properties: {
|
|
@@ -737,13 +812,13 @@ export default {
|
|
|
737
812
|
type: 'object',
|
|
738
813
|
},
|
|
739
814
|
{
|
|
740
|
-
description: '
|
|
815
|
+
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
741
816
|
properties: {
|
|
742
817
|
created_at: { format: 'date-time', type: 'string' },
|
|
743
818
|
message: { type: 'string' },
|
|
744
819
|
warning_code: {
|
|
745
820
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
746
|
-
enum: ['
|
|
821
|
+
enum: ['code_modified_external_to_seam'],
|
|
747
822
|
type: 'string',
|
|
748
823
|
},
|
|
749
824
|
},
|
|
@@ -751,13 +826,13 @@ export default {
|
|
|
751
826
|
type: 'object',
|
|
752
827
|
},
|
|
753
828
|
{
|
|
754
|
-
description: '
|
|
829
|
+
description: 'Delay in setting code on device.',
|
|
755
830
|
properties: {
|
|
756
831
|
created_at: { format: 'date-time', type: 'string' },
|
|
757
832
|
message: { type: 'string' },
|
|
758
833
|
warning_code: {
|
|
759
834
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
760
|
-
enum: ['
|
|
835
|
+
enum: ['delay_in_setting_on_device'],
|
|
761
836
|
type: 'string',
|
|
762
837
|
},
|
|
763
838
|
},
|
|
@@ -765,13 +840,13 @@ export default {
|
|
|
765
840
|
type: 'object',
|
|
766
841
|
},
|
|
767
842
|
{
|
|
768
|
-
description: 'Delay in
|
|
843
|
+
description: 'Delay in removing code from device.',
|
|
769
844
|
properties: {
|
|
770
845
|
created_at: { format: 'date-time', type: 'string' },
|
|
771
846
|
message: { type: 'string' },
|
|
772
847
|
warning_code: {
|
|
773
848
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
774
|
-
enum: ['
|
|
849
|
+
enum: ['delay_in_removing_from_device'],
|
|
775
850
|
type: 'string',
|
|
776
851
|
},
|
|
777
852
|
},
|
|
@@ -779,13 +854,13 @@ export default {
|
|
|
779
854
|
type: 'object',
|
|
780
855
|
},
|
|
781
856
|
{
|
|
782
|
-
description: '
|
|
857
|
+
description: 'Third party integration detected that may cause access codes to fail.',
|
|
783
858
|
properties: {
|
|
784
859
|
created_at: { format: 'date-time', type: 'string' },
|
|
785
860
|
message: { type: 'string' },
|
|
786
861
|
warning_code: {
|
|
787
862
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
788
|
-
enum: ['
|
|
863
|
+
enum: ['third_party_integration_detected'],
|
|
789
864
|
type: 'string',
|
|
790
865
|
},
|
|
791
866
|
},
|
|
@@ -793,13 +868,13 @@ export default {
|
|
|
793
868
|
type: 'object',
|
|
794
869
|
},
|
|
795
870
|
{
|
|
796
|
-
description: '
|
|
871
|
+
description: 'Access code has not yet been fully moved to the device.',
|
|
797
872
|
properties: {
|
|
798
873
|
created_at: { format: 'date-time', type: 'string' },
|
|
799
874
|
message: { type: 'string' },
|
|
800
875
|
warning_code: {
|
|
801
876
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
802
|
-
enum: ['
|
|
877
|
+
enum: ['august_device_programming_delay'],
|
|
803
878
|
type: 'string',
|
|
804
879
|
},
|
|
805
880
|
},
|
|
@@ -807,13 +882,13 @@ export default {
|
|
|
807
882
|
type: 'object',
|
|
808
883
|
},
|
|
809
884
|
{
|
|
810
|
-
description: '
|
|
885
|
+
description: 'August lock is temporarily offline.',
|
|
811
886
|
properties: {
|
|
812
887
|
created_at: { format: 'date-time', type: 'string' },
|
|
813
888
|
message: { type: 'string' },
|
|
814
889
|
warning_code: {
|
|
815
|
-
description: 'Unique identifier of the type of
|
|
816
|
-
enum: ['
|
|
890
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
891
|
+
enum: ['august_lock_temporarily_offline'],
|
|
817
892
|
type: 'string',
|
|
818
893
|
},
|
|
819
894
|
},
|
|
@@ -11879,6 +11954,21 @@ export default {
|
|
|
11879
11954
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
11880
11955
|
type: 'object',
|
|
11881
11956
|
},
|
|
11957
|
+
{
|
|
11958
|
+
description: 'No free slots available on the device.',
|
|
11959
|
+
properties: {
|
|
11960
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
11961
|
+
error_code: {
|
|
11962
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
11963
|
+
enum: ['smartthings_no_free_slots_available'],
|
|
11964
|
+
type: 'string',
|
|
11965
|
+
},
|
|
11966
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
11967
|
+
message: { type: 'string' },
|
|
11968
|
+
},
|
|
11969
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
11970
|
+
type: 'object',
|
|
11971
|
+
},
|
|
11882
11972
|
{
|
|
11883
11973
|
description: 'Failed to set code on device.',
|
|
11884
11974
|
properties: {
|
|
@@ -12091,13 +12181,28 @@ export default {
|
|
|
12091
12181
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12092
12182
|
type: 'object',
|
|
12093
12183
|
},
|
|
12184
|
+
{
|
|
12185
|
+
description: 'August lock is temporarily offline.',
|
|
12186
|
+
properties: {
|
|
12187
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
12188
|
+
error_code: {
|
|
12189
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12190
|
+
enum: ['august_lock_temporarily_offline'],
|
|
12191
|
+
type: 'string',
|
|
12192
|
+
},
|
|
12193
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
12194
|
+
message: { type: 'string' },
|
|
12195
|
+
},
|
|
12196
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12197
|
+
type: 'object',
|
|
12198
|
+
},
|
|
12094
12199
|
{
|
|
12095
12200
|
description: 'Salto site user is not subscribed.',
|
|
12096
12201
|
properties: {
|
|
12097
12202
|
created_at: { format: 'date-time', type: 'string' },
|
|
12098
12203
|
error_code: {
|
|
12099
12204
|
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12100
|
-
enum: ['
|
|
12205
|
+
enum: ['salto_ks_user_not_subscribed'],
|
|
12101
12206
|
type: 'string',
|
|
12102
12207
|
},
|
|
12103
12208
|
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
@@ -12136,6 +12241,51 @@ export default {
|
|
|
12136
12241
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12137
12242
|
type: 'object',
|
|
12138
12243
|
},
|
|
12244
|
+
{
|
|
12245
|
+
description: 'Duplicate access code name detected.',
|
|
12246
|
+
properties: {
|
|
12247
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
12248
|
+
error_code: {
|
|
12249
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12250
|
+
enum: ['wyze_duplicate_code_name'],
|
|
12251
|
+
type: 'string',
|
|
12252
|
+
},
|
|
12253
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
12254
|
+
message: { type: 'string' },
|
|
12255
|
+
},
|
|
12256
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12257
|
+
type: 'object',
|
|
12258
|
+
},
|
|
12259
|
+
{
|
|
12260
|
+
description: 'Potential duplicate access code detected.',
|
|
12261
|
+
properties: {
|
|
12262
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
12263
|
+
error_code: {
|
|
12264
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12265
|
+
enum: ['wyze_potential_duplicate_code'],
|
|
12266
|
+
type: 'string',
|
|
12267
|
+
},
|
|
12268
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
12269
|
+
message: { type: 'string' },
|
|
12270
|
+
},
|
|
12271
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12272
|
+
type: 'object',
|
|
12273
|
+
},
|
|
12274
|
+
{
|
|
12275
|
+
description: 'No valid user level for Oracode.',
|
|
12276
|
+
properties: {
|
|
12277
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
12278
|
+
error_code: {
|
|
12279
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12280
|
+
enum: ['dormakaba_oracode_no_valid_user_level'],
|
|
12281
|
+
type: 'string',
|
|
12282
|
+
},
|
|
12283
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
12284
|
+
message: { type: 'string' },
|
|
12285
|
+
},
|
|
12286
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12287
|
+
type: 'object',
|
|
12288
|
+
},
|
|
12139
12289
|
{
|
|
12140
12290
|
description: 'Account is disconnected',
|
|
12141
12291
|
properties: {
|
|
@@ -12503,13 +12653,13 @@ export default {
|
|
|
12503
12653
|
type: 'object',
|
|
12504
12654
|
},
|
|
12505
12655
|
{
|
|
12506
|
-
description: '
|
|
12656
|
+
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
12507
12657
|
properties: {
|
|
12508
12658
|
created_at: { format: 'date-time', type: 'string' },
|
|
12509
12659
|
message: { type: 'string' },
|
|
12510
12660
|
warning_code: {
|
|
12511
12661
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12512
|
-
enum: ['
|
|
12662
|
+
enum: ['code_modified_external_to_seam'],
|
|
12513
12663
|
type: 'string',
|
|
12514
12664
|
},
|
|
12515
12665
|
},
|
|
@@ -12517,13 +12667,13 @@ export default {
|
|
|
12517
12667
|
type: 'object',
|
|
12518
12668
|
},
|
|
12519
12669
|
{
|
|
12520
|
-
description: '
|
|
12670
|
+
description: 'Delay in setting code on device.',
|
|
12521
12671
|
properties: {
|
|
12522
12672
|
created_at: { format: 'date-time', type: 'string' },
|
|
12523
12673
|
message: { type: 'string' },
|
|
12524
12674
|
warning_code: {
|
|
12525
12675
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12526
|
-
enum: ['
|
|
12676
|
+
enum: ['delay_in_setting_on_device'],
|
|
12527
12677
|
type: 'string',
|
|
12528
12678
|
},
|
|
12529
12679
|
},
|
|
@@ -12531,13 +12681,13 @@ export default {
|
|
|
12531
12681
|
type: 'object',
|
|
12532
12682
|
},
|
|
12533
12683
|
{
|
|
12534
|
-
description: 'Delay in
|
|
12684
|
+
description: 'Delay in removing code from device.',
|
|
12535
12685
|
properties: {
|
|
12536
12686
|
created_at: { format: 'date-time', type: 'string' },
|
|
12537
12687
|
message: { type: 'string' },
|
|
12538
12688
|
warning_code: {
|
|
12539
12689
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12540
|
-
enum: ['
|
|
12690
|
+
enum: ['delay_in_removing_from_device'],
|
|
12541
12691
|
type: 'string',
|
|
12542
12692
|
},
|
|
12543
12693
|
},
|
|
@@ -12545,13 +12695,13 @@ export default {
|
|
|
12545
12695
|
type: 'object',
|
|
12546
12696
|
},
|
|
12547
12697
|
{
|
|
12548
|
-
description: '
|
|
12698
|
+
description: 'Third party integration detected that may cause access codes to fail.',
|
|
12549
12699
|
properties: {
|
|
12550
12700
|
created_at: { format: 'date-time', type: 'string' },
|
|
12551
12701
|
message: { type: 'string' },
|
|
12552
12702
|
warning_code: {
|
|
12553
12703
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12554
|
-
enum: ['
|
|
12704
|
+
enum: ['third_party_integration_detected'],
|
|
12555
12705
|
type: 'string',
|
|
12556
12706
|
},
|
|
12557
12707
|
},
|
|
@@ -12559,13 +12709,13 @@ export default {
|
|
|
12559
12709
|
type: 'object',
|
|
12560
12710
|
},
|
|
12561
12711
|
{
|
|
12562
|
-
description: '
|
|
12712
|
+
description: 'Access code has not yet been fully moved to the device.',
|
|
12563
12713
|
properties: {
|
|
12564
12714
|
created_at: { format: 'date-time', type: 'string' },
|
|
12565
12715
|
message: { type: 'string' },
|
|
12566
12716
|
warning_code: {
|
|
12567
12717
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12568
|
-
enum: ['
|
|
12718
|
+
enum: ['august_device_programming_delay'],
|
|
12569
12719
|
type: 'string',
|
|
12570
12720
|
},
|
|
12571
12721
|
},
|
|
@@ -12573,13 +12723,13 @@ export default {
|
|
|
12573
12723
|
type: 'object',
|
|
12574
12724
|
},
|
|
12575
12725
|
{
|
|
12576
|
-
description: '
|
|
12726
|
+
description: 'August lock is temporarily offline.',
|
|
12577
12727
|
properties: {
|
|
12578
12728
|
created_at: { format: 'date-time', type: 'string' },
|
|
12579
12729
|
message: { type: 'string' },
|
|
12580
12730
|
warning_code: {
|
|
12581
|
-
description: 'Unique identifier of the type of
|
|
12582
|
-
enum: ['
|
|
12731
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12732
|
+
enum: ['august_lock_temporarily_offline'],
|
|
12583
12733
|
type: 'string',
|
|
12584
12734
|
},
|
|
12585
12735
|
},
|
|
@@ -20636,6 +20786,12 @@ export default {
|
|
|
20636
20786
|
],
|
|
20637
20787
|
type: 'string',
|
|
20638
20788
|
},
|
|
20789
|
+
unstable_location_id: {
|
|
20790
|
+
format: 'uuid',
|
|
20791
|
+
nullable: true,
|
|
20792
|
+
type: 'string',
|
|
20793
|
+
'x-undocumented': 'Experimental locations.',
|
|
20794
|
+
},
|
|
20639
20795
|
user_identifier_key: {
|
|
20640
20796
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
20641
20797
|
type: 'string',
|
|
@@ -21159,6 +21315,12 @@ export default {
|
|
|
21159
21315
|
],
|
|
21160
21316
|
type: 'string',
|
|
21161
21317
|
},
|
|
21318
|
+
unstable_location_id: {
|
|
21319
|
+
format: 'uuid',
|
|
21320
|
+
nullable: true,
|
|
21321
|
+
type: 'string',
|
|
21322
|
+
'x-undocumented': 'Experimental locations.',
|
|
21323
|
+
},
|
|
21162
21324
|
user_identifier_key: {
|
|
21163
21325
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
21164
21326
|
type: 'string',
|
|
@@ -22007,6 +22169,12 @@ export default {
|
|
|
22007
22169
|
],
|
|
22008
22170
|
type: 'string',
|
|
22009
22171
|
},
|
|
22172
|
+
unstable_location_id: {
|
|
22173
|
+
format: 'uuid',
|
|
22174
|
+
nullable: true,
|
|
22175
|
+
type: 'string',
|
|
22176
|
+
'x-undocumented': 'Experimental locations.',
|
|
22177
|
+
},
|
|
22010
22178
|
user_identifier_key: {
|
|
22011
22179
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
22012
22180
|
type: 'string',
|
|
@@ -22493,6 +22661,12 @@ export default {
|
|
|
22493
22661
|
],
|
|
22494
22662
|
type: 'string',
|
|
22495
22663
|
},
|
|
22664
|
+
unstable_location_id: {
|
|
22665
|
+
format: 'uuid',
|
|
22666
|
+
nullable: true,
|
|
22667
|
+
type: 'string',
|
|
22668
|
+
'x-undocumented': 'Experimental locations.',
|
|
22669
|
+
},
|
|
22496
22670
|
user_identifier_key: {
|
|
22497
22671
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
22498
22672
|
type: 'string',
|
|
@@ -24323,6 +24497,12 @@ export default {
|
|
|
24323
24497
|
],
|
|
24324
24498
|
type: 'string',
|
|
24325
24499
|
},
|
|
24500
|
+
unstable_location_id: {
|
|
24501
|
+
format: 'uuid',
|
|
24502
|
+
nullable: true,
|
|
24503
|
+
type: 'string',
|
|
24504
|
+
'x-undocumented': 'Experimental locations.',
|
|
24505
|
+
},
|
|
24326
24506
|
user_identifier_key: {
|
|
24327
24507
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
24328
24508
|
type: 'string',
|
|
@@ -25671,6 +25851,611 @@ export default {
|
|
|
25671
25851
|
'x-title': 'Update a Climate Preset',
|
|
25672
25852
|
},
|
|
25673
25853
|
},
|
|
25854
|
+
'/unstable_locations/add_devices': {
|
|
25855
|
+
post: {
|
|
25856
|
+
description: 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
25857
|
+
operationId: 'unstableLocationsAddDevicesPost',
|
|
25858
|
+
requestBody: {
|
|
25859
|
+
content: {
|
|
25860
|
+
'application/json': {
|
|
25861
|
+
schema: {
|
|
25862
|
+
properties: {
|
|
25863
|
+
device_ids: {
|
|
25864
|
+
items: { format: 'uuid', type: 'string' },
|
|
25865
|
+
type: 'array',
|
|
25866
|
+
},
|
|
25867
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
25868
|
+
},
|
|
25869
|
+
required: ['location_id', 'device_ids'],
|
|
25870
|
+
type: 'object',
|
|
25871
|
+
},
|
|
25872
|
+
},
|
|
25873
|
+
},
|
|
25874
|
+
},
|
|
25875
|
+
responses: {
|
|
25876
|
+
200: {
|
|
25877
|
+
content: {
|
|
25878
|
+
'application/json': {
|
|
25879
|
+
schema: {
|
|
25880
|
+
properties: { ok: { type: 'boolean' } },
|
|
25881
|
+
required: ['ok'],
|
|
25882
|
+
type: 'object',
|
|
25883
|
+
},
|
|
25884
|
+
},
|
|
25885
|
+
},
|
|
25886
|
+
description: 'OK',
|
|
25887
|
+
},
|
|
25888
|
+
400: { description: 'Bad Request' },
|
|
25889
|
+
401: { description: 'Unauthorized' },
|
|
25890
|
+
},
|
|
25891
|
+
security: [
|
|
25892
|
+
{ pat_with_workspace: [] },
|
|
25893
|
+
{ console_session_with_workspace: [] },
|
|
25894
|
+
{ api_key: [] },
|
|
25895
|
+
],
|
|
25896
|
+
summary: '/unstable_locations/add_devices',
|
|
25897
|
+
tags: [],
|
|
25898
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
25899
|
+
'x-fern-sdk-method-name': 'add_devices',
|
|
25900
|
+
'x-response-key': null,
|
|
25901
|
+
'x-title': 'Add Location Devices',
|
|
25902
|
+
'x-undocumented': 'Experimental locations.',
|
|
25903
|
+
},
|
|
25904
|
+
},
|
|
25905
|
+
'/unstable_locations/create': {
|
|
25906
|
+
post: {
|
|
25907
|
+
description: 'Create a new location.',
|
|
25908
|
+
operationId: 'unstableLocationsCreatePost',
|
|
25909
|
+
requestBody: {
|
|
25910
|
+
content: {
|
|
25911
|
+
'application/json': {
|
|
25912
|
+
schema: {
|
|
25913
|
+
properties: {
|
|
25914
|
+
geolocation: {
|
|
25915
|
+
properties: {
|
|
25916
|
+
latitude: { format: 'float', type: 'number' },
|
|
25917
|
+
longitude: { format: 'float', type: 'number' },
|
|
25918
|
+
},
|
|
25919
|
+
required: ['latitude', 'longitude'],
|
|
25920
|
+
type: 'object',
|
|
25921
|
+
},
|
|
25922
|
+
name: { type: 'string' },
|
|
25923
|
+
time_zone: { type: 'string' },
|
|
25924
|
+
},
|
|
25925
|
+
required: ['name'],
|
|
25926
|
+
type: 'object',
|
|
25927
|
+
},
|
|
25928
|
+
},
|
|
25929
|
+
},
|
|
25930
|
+
},
|
|
25931
|
+
responses: {
|
|
25932
|
+
200: {
|
|
25933
|
+
content: {
|
|
25934
|
+
'application/json': {
|
|
25935
|
+
schema: {
|
|
25936
|
+
properties: {
|
|
25937
|
+
location: {
|
|
25938
|
+
properties: {
|
|
25939
|
+
created_at: {
|
|
25940
|
+
description: 'Date and time at which the location object was created.',
|
|
25941
|
+
format: 'date-time',
|
|
25942
|
+
type: 'string',
|
|
25943
|
+
},
|
|
25944
|
+
display_name: {
|
|
25945
|
+
description: 'Display name of the location.',
|
|
25946
|
+
type: 'string',
|
|
25947
|
+
},
|
|
25948
|
+
geolocation: {
|
|
25949
|
+
description: 'Geographical location of the location.',
|
|
25950
|
+
properties: {
|
|
25951
|
+
latitude: { format: 'float', type: 'number' },
|
|
25952
|
+
longitude: { format: 'float', type: 'number' },
|
|
25953
|
+
},
|
|
25954
|
+
required: ['latitude', 'longitude'],
|
|
25955
|
+
type: 'object',
|
|
25956
|
+
},
|
|
25957
|
+
location_id: {
|
|
25958
|
+
description: 'Unique identifier for the location.',
|
|
25959
|
+
format: 'uuid',
|
|
25960
|
+
type: 'string',
|
|
25961
|
+
},
|
|
25962
|
+
time_zone: {
|
|
25963
|
+
description: 'Time zone of the location.',
|
|
25964
|
+
type: 'string',
|
|
25965
|
+
},
|
|
25966
|
+
workspace_id: {
|
|
25967
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
25968
|
+
format: 'uuid',
|
|
25969
|
+
type: 'string',
|
|
25970
|
+
},
|
|
25971
|
+
},
|
|
25972
|
+
required: [
|
|
25973
|
+
'location_id',
|
|
25974
|
+
'workspace_id',
|
|
25975
|
+
'display_name',
|
|
25976
|
+
'created_at',
|
|
25977
|
+
],
|
|
25978
|
+
type: 'object',
|
|
25979
|
+
},
|
|
25980
|
+
ok: { type: 'boolean' },
|
|
25981
|
+
},
|
|
25982
|
+
required: ['location', 'ok'],
|
|
25983
|
+
type: 'object',
|
|
25984
|
+
},
|
|
25985
|
+
},
|
|
25986
|
+
},
|
|
25987
|
+
description: 'OK',
|
|
25988
|
+
},
|
|
25989
|
+
400: { description: 'Bad Request' },
|
|
25990
|
+
401: { description: 'Unauthorized' },
|
|
25991
|
+
},
|
|
25992
|
+
security: [
|
|
25993
|
+
{ pat_with_workspace: [] },
|
|
25994
|
+
{ console_session_with_workspace: [] },
|
|
25995
|
+
{ api_key: [] },
|
|
25996
|
+
],
|
|
25997
|
+
summary: '/unstable_locations/create',
|
|
25998
|
+
tags: [],
|
|
25999
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26000
|
+
'x-fern-sdk-method-name': 'create',
|
|
26001
|
+
'x-fern-sdk-return-value': 'location',
|
|
26002
|
+
'x-response-key': 'location',
|
|
26003
|
+
'x-title': 'Create Location',
|
|
26004
|
+
'x-undocumented': 'Experimental locations.',
|
|
26005
|
+
},
|
|
26006
|
+
},
|
|
26007
|
+
'/unstable_locations/delete': {
|
|
26008
|
+
post: {
|
|
26009
|
+
description: 'Delete a location.',
|
|
26010
|
+
operationId: 'unstableLocationsDeletePost',
|
|
26011
|
+
requestBody: {
|
|
26012
|
+
content: {
|
|
26013
|
+
'application/json': {
|
|
26014
|
+
schema: {
|
|
26015
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
26016
|
+
required: ['location_id'],
|
|
26017
|
+
type: 'object',
|
|
26018
|
+
},
|
|
26019
|
+
},
|
|
26020
|
+
},
|
|
26021
|
+
},
|
|
26022
|
+
responses: {
|
|
26023
|
+
200: {
|
|
26024
|
+
content: {
|
|
26025
|
+
'application/json': {
|
|
26026
|
+
schema: {
|
|
26027
|
+
properties: { ok: { type: 'boolean' } },
|
|
26028
|
+
required: ['ok'],
|
|
26029
|
+
type: 'object',
|
|
26030
|
+
},
|
|
26031
|
+
},
|
|
26032
|
+
},
|
|
26033
|
+
description: 'OK',
|
|
26034
|
+
},
|
|
26035
|
+
400: { description: 'Bad Request' },
|
|
26036
|
+
401: { description: 'Unauthorized' },
|
|
26037
|
+
},
|
|
26038
|
+
security: [
|
|
26039
|
+
{ pat_with_workspace: [] },
|
|
26040
|
+
{ console_session_with_workspace: [] },
|
|
26041
|
+
{ api_key: [] },
|
|
26042
|
+
],
|
|
26043
|
+
summary: '/unstable_locations/delete',
|
|
26044
|
+
tags: [],
|
|
26045
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26046
|
+
'x-fern-sdk-method-name': 'delete',
|
|
26047
|
+
'x-response-key': null,
|
|
26048
|
+
'x-title': 'Delete Location',
|
|
26049
|
+
'x-undocumented': 'Experimental locations.',
|
|
26050
|
+
},
|
|
26051
|
+
},
|
|
26052
|
+
'/unstable_locations/get': {
|
|
26053
|
+
post: {
|
|
26054
|
+
description: 'Get a location.',
|
|
26055
|
+
operationId: 'unstableLocationsGetPost',
|
|
26056
|
+
requestBody: {
|
|
26057
|
+
content: {
|
|
26058
|
+
'application/json': {
|
|
26059
|
+
schema: {
|
|
26060
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
26061
|
+
required: ['location_id'],
|
|
26062
|
+
type: 'object',
|
|
26063
|
+
},
|
|
26064
|
+
},
|
|
26065
|
+
},
|
|
26066
|
+
},
|
|
26067
|
+
responses: {
|
|
26068
|
+
200: {
|
|
26069
|
+
content: {
|
|
26070
|
+
'application/json': {
|
|
26071
|
+
schema: {
|
|
26072
|
+
properties: {
|
|
26073
|
+
location: {
|
|
26074
|
+
properties: {
|
|
26075
|
+
created_at: {
|
|
26076
|
+
description: 'Date and time at which the location object was created.',
|
|
26077
|
+
format: 'date-time',
|
|
26078
|
+
type: 'string',
|
|
26079
|
+
},
|
|
26080
|
+
display_name: {
|
|
26081
|
+
description: 'Display name of the location.',
|
|
26082
|
+
type: 'string',
|
|
26083
|
+
},
|
|
26084
|
+
geolocation: {
|
|
26085
|
+
description: 'Geographical location of the location.',
|
|
26086
|
+
properties: {
|
|
26087
|
+
latitude: { format: 'float', type: 'number' },
|
|
26088
|
+
longitude: { format: 'float', type: 'number' },
|
|
26089
|
+
},
|
|
26090
|
+
required: ['latitude', 'longitude'],
|
|
26091
|
+
type: 'object',
|
|
26092
|
+
},
|
|
26093
|
+
location_id: {
|
|
26094
|
+
description: 'Unique identifier for the location.',
|
|
26095
|
+
format: 'uuid',
|
|
26096
|
+
type: 'string',
|
|
26097
|
+
},
|
|
26098
|
+
time_zone: {
|
|
26099
|
+
description: 'Time zone of the location.',
|
|
26100
|
+
type: 'string',
|
|
26101
|
+
},
|
|
26102
|
+
workspace_id: {
|
|
26103
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26104
|
+
format: 'uuid',
|
|
26105
|
+
type: 'string',
|
|
26106
|
+
},
|
|
26107
|
+
},
|
|
26108
|
+
required: [
|
|
26109
|
+
'location_id',
|
|
26110
|
+
'workspace_id',
|
|
26111
|
+
'display_name',
|
|
26112
|
+
'created_at',
|
|
26113
|
+
],
|
|
26114
|
+
type: 'object',
|
|
26115
|
+
},
|
|
26116
|
+
ok: { type: 'boolean' },
|
|
26117
|
+
},
|
|
26118
|
+
required: ['location', 'ok'],
|
|
26119
|
+
type: 'object',
|
|
26120
|
+
},
|
|
26121
|
+
},
|
|
26122
|
+
},
|
|
26123
|
+
description: 'OK',
|
|
26124
|
+
},
|
|
26125
|
+
400: { description: 'Bad Request' },
|
|
26126
|
+
401: { description: 'Unauthorized' },
|
|
26127
|
+
},
|
|
26128
|
+
security: [
|
|
26129
|
+
{ pat_with_workspace: [] },
|
|
26130
|
+
{ console_session_with_workspace: [] },
|
|
26131
|
+
{ api_key: [] },
|
|
26132
|
+
],
|
|
26133
|
+
summary: '/unstable_locations/get',
|
|
26134
|
+
tags: [],
|
|
26135
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26136
|
+
'x-fern-sdk-method-name': 'get',
|
|
26137
|
+
'x-fern-sdk-return-value': 'location',
|
|
26138
|
+
'x-response-key': 'location',
|
|
26139
|
+
'x-title': 'Get Location',
|
|
26140
|
+
'x-undocumented': 'Experimental locations.',
|
|
26141
|
+
},
|
|
26142
|
+
},
|
|
26143
|
+
'/unstable_locations/list': {
|
|
26144
|
+
get: {
|
|
26145
|
+
description: 'Returns a list of all locations.',
|
|
26146
|
+
operationId: 'unstableLocationsListGet',
|
|
26147
|
+
responses: {
|
|
26148
|
+
200: {
|
|
26149
|
+
content: {
|
|
26150
|
+
'application/json': {
|
|
26151
|
+
schema: {
|
|
26152
|
+
properties: {
|
|
26153
|
+
locations: {
|
|
26154
|
+
items: {
|
|
26155
|
+
properties: {
|
|
26156
|
+
created_at: {
|
|
26157
|
+
description: 'Date and time at which the location object was created.',
|
|
26158
|
+
format: 'date-time',
|
|
26159
|
+
type: 'string',
|
|
26160
|
+
},
|
|
26161
|
+
display_name: {
|
|
26162
|
+
description: 'Display name of the location.',
|
|
26163
|
+
type: 'string',
|
|
26164
|
+
},
|
|
26165
|
+
geolocation: {
|
|
26166
|
+
description: 'Geographical location of the location.',
|
|
26167
|
+
properties: {
|
|
26168
|
+
latitude: { format: 'float', type: 'number' },
|
|
26169
|
+
longitude: { format: 'float', type: 'number' },
|
|
26170
|
+
},
|
|
26171
|
+
required: ['latitude', 'longitude'],
|
|
26172
|
+
type: 'object',
|
|
26173
|
+
},
|
|
26174
|
+
location_id: {
|
|
26175
|
+
description: 'Unique identifier for the location.',
|
|
26176
|
+
format: 'uuid',
|
|
26177
|
+
type: 'string',
|
|
26178
|
+
},
|
|
26179
|
+
time_zone: {
|
|
26180
|
+
description: 'Time zone of the location.',
|
|
26181
|
+
type: 'string',
|
|
26182
|
+
},
|
|
26183
|
+
workspace_id: {
|
|
26184
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26185
|
+
format: 'uuid',
|
|
26186
|
+
type: 'string',
|
|
26187
|
+
},
|
|
26188
|
+
},
|
|
26189
|
+
required: [
|
|
26190
|
+
'location_id',
|
|
26191
|
+
'workspace_id',
|
|
26192
|
+
'display_name',
|
|
26193
|
+
'created_at',
|
|
26194
|
+
],
|
|
26195
|
+
type: 'object',
|
|
26196
|
+
},
|
|
26197
|
+
type: 'array',
|
|
26198
|
+
},
|
|
26199
|
+
ok: { type: 'boolean' },
|
|
26200
|
+
},
|
|
26201
|
+
required: ['locations', '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/list',
|
|
26217
|
+
tags: [],
|
|
26218
|
+
'x-fern-ignore': true,
|
|
26219
|
+
'x-response-key': 'locations',
|
|
26220
|
+
'x-title': 'List Locations',
|
|
26221
|
+
'x-undocumented': 'Experimental locations.',
|
|
26222
|
+
},
|
|
26223
|
+
post: {
|
|
26224
|
+
description: 'Returns a list of all locations.',
|
|
26225
|
+
operationId: 'unstableLocationsListPost',
|
|
26226
|
+
responses: {
|
|
26227
|
+
200: {
|
|
26228
|
+
content: {
|
|
26229
|
+
'application/json': {
|
|
26230
|
+
schema: {
|
|
26231
|
+
properties: {
|
|
26232
|
+
locations: {
|
|
26233
|
+
items: {
|
|
26234
|
+
properties: {
|
|
26235
|
+
created_at: {
|
|
26236
|
+
description: 'Date and time at which the location object was created.',
|
|
26237
|
+
format: 'date-time',
|
|
26238
|
+
type: 'string',
|
|
26239
|
+
},
|
|
26240
|
+
display_name: {
|
|
26241
|
+
description: 'Display name of the location.',
|
|
26242
|
+
type: 'string',
|
|
26243
|
+
},
|
|
26244
|
+
geolocation: {
|
|
26245
|
+
description: 'Geographical location of the location.',
|
|
26246
|
+
properties: {
|
|
26247
|
+
latitude: { format: 'float', type: 'number' },
|
|
26248
|
+
longitude: { format: 'float', type: 'number' },
|
|
26249
|
+
},
|
|
26250
|
+
required: ['latitude', 'longitude'],
|
|
26251
|
+
type: 'object',
|
|
26252
|
+
},
|
|
26253
|
+
location_id: {
|
|
26254
|
+
description: 'Unique identifier for the location.',
|
|
26255
|
+
format: 'uuid',
|
|
26256
|
+
type: 'string',
|
|
26257
|
+
},
|
|
26258
|
+
time_zone: {
|
|
26259
|
+
description: 'Time zone of the location.',
|
|
26260
|
+
type: 'string',
|
|
26261
|
+
},
|
|
26262
|
+
workspace_id: {
|
|
26263
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26264
|
+
format: 'uuid',
|
|
26265
|
+
type: 'string',
|
|
26266
|
+
},
|
|
26267
|
+
},
|
|
26268
|
+
required: [
|
|
26269
|
+
'location_id',
|
|
26270
|
+
'workspace_id',
|
|
26271
|
+
'display_name',
|
|
26272
|
+
'created_at',
|
|
26273
|
+
],
|
|
26274
|
+
type: 'object',
|
|
26275
|
+
},
|
|
26276
|
+
type: 'array',
|
|
26277
|
+
},
|
|
26278
|
+
ok: { type: 'boolean' },
|
|
26279
|
+
},
|
|
26280
|
+
required: ['locations', 'ok'],
|
|
26281
|
+
type: 'object',
|
|
26282
|
+
},
|
|
26283
|
+
},
|
|
26284
|
+
},
|
|
26285
|
+
description: 'OK',
|
|
26286
|
+
},
|
|
26287
|
+
400: { description: 'Bad Request' },
|
|
26288
|
+
401: { description: 'Unauthorized' },
|
|
26289
|
+
},
|
|
26290
|
+
security: [
|
|
26291
|
+
{ pat_with_workspace: [] },
|
|
26292
|
+
{ console_session_with_workspace: [] },
|
|
26293
|
+
{ api_key: [] },
|
|
26294
|
+
],
|
|
26295
|
+
summary: '/unstable_locations/list',
|
|
26296
|
+
tags: [],
|
|
26297
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26298
|
+
'x-fern-sdk-method-name': 'list',
|
|
26299
|
+
'x-fern-sdk-return-value': 'locations',
|
|
26300
|
+
'x-response-key': 'locations',
|
|
26301
|
+
'x-title': 'List Locations',
|
|
26302
|
+
'x-undocumented': 'Experimental locations.',
|
|
26303
|
+
},
|
|
26304
|
+
},
|
|
26305
|
+
'/unstable_locations/remove_devices': {
|
|
26306
|
+
post: {
|
|
26307
|
+
description: 'Remove devices from a specific location.',
|
|
26308
|
+
operationId: 'unstableLocationsRemoveDevicesPost',
|
|
26309
|
+
requestBody: {
|
|
26310
|
+
content: {
|
|
26311
|
+
'application/json': {
|
|
26312
|
+
schema: {
|
|
26313
|
+
properties: {
|
|
26314
|
+
device_ids: {
|
|
26315
|
+
items: { format: 'uuid', type: 'string' },
|
|
26316
|
+
type: 'array',
|
|
26317
|
+
},
|
|
26318
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
26319
|
+
},
|
|
26320
|
+
required: ['location_id', 'device_ids'],
|
|
26321
|
+
type: 'object',
|
|
26322
|
+
},
|
|
26323
|
+
},
|
|
26324
|
+
},
|
|
26325
|
+
},
|
|
26326
|
+
responses: {
|
|
26327
|
+
200: {
|
|
26328
|
+
content: {
|
|
26329
|
+
'application/json': {
|
|
26330
|
+
schema: {
|
|
26331
|
+
properties: { ok: { type: 'boolean' } },
|
|
26332
|
+
required: ['ok'],
|
|
26333
|
+
type: 'object',
|
|
26334
|
+
},
|
|
26335
|
+
},
|
|
26336
|
+
},
|
|
26337
|
+
description: 'OK',
|
|
26338
|
+
},
|
|
26339
|
+
400: { description: 'Bad Request' },
|
|
26340
|
+
401: { description: 'Unauthorized' },
|
|
26341
|
+
},
|
|
26342
|
+
security: [
|
|
26343
|
+
{ pat_with_workspace: [] },
|
|
26344
|
+
{ console_session_with_workspace: [] },
|
|
26345
|
+
{ api_key: [] },
|
|
26346
|
+
],
|
|
26347
|
+
summary: '/unstable_locations/remove_devices',
|
|
26348
|
+
tags: [],
|
|
26349
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26350
|
+
'x-fern-sdk-method-name': 'remove_devices',
|
|
26351
|
+
'x-response-key': null,
|
|
26352
|
+
'x-title': 'Remove Location Devices',
|
|
26353
|
+
'x-undocumented': 'Experimental locations.',
|
|
26354
|
+
},
|
|
26355
|
+
},
|
|
26356
|
+
'/unstable_locations/update': {
|
|
26357
|
+
post: {
|
|
26358
|
+
description: 'Update an existing location.',
|
|
26359
|
+
operationId: 'unstableLocationsUpdatePost',
|
|
26360
|
+
requestBody: {
|
|
26361
|
+
content: {
|
|
26362
|
+
'application/json': {
|
|
26363
|
+
schema: {
|
|
26364
|
+
properties: {
|
|
26365
|
+
geolocation: {
|
|
26366
|
+
properties: {
|
|
26367
|
+
latitude: { format: 'float', type: 'number' },
|
|
26368
|
+
longitude: { format: 'float', type: 'number' },
|
|
26369
|
+
},
|
|
26370
|
+
required: ['latitude', 'longitude'],
|
|
26371
|
+
type: 'object',
|
|
26372
|
+
},
|
|
26373
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
26374
|
+
name: { type: 'string' },
|
|
26375
|
+
time_zone: { type: 'string' },
|
|
26376
|
+
},
|
|
26377
|
+
required: ['location_id'],
|
|
26378
|
+
type: 'object',
|
|
26379
|
+
},
|
|
26380
|
+
},
|
|
26381
|
+
},
|
|
26382
|
+
},
|
|
26383
|
+
responses: {
|
|
26384
|
+
200: {
|
|
26385
|
+
content: {
|
|
26386
|
+
'application/json': {
|
|
26387
|
+
schema: {
|
|
26388
|
+
properties: {
|
|
26389
|
+
location: {
|
|
26390
|
+
properties: {
|
|
26391
|
+
created_at: {
|
|
26392
|
+
description: 'Date and time at which the location object was created.',
|
|
26393
|
+
format: 'date-time',
|
|
26394
|
+
type: 'string',
|
|
26395
|
+
},
|
|
26396
|
+
display_name: {
|
|
26397
|
+
description: 'Display name of the location.',
|
|
26398
|
+
type: 'string',
|
|
26399
|
+
},
|
|
26400
|
+
geolocation: {
|
|
26401
|
+
description: 'Geographical location of the location.',
|
|
26402
|
+
properties: {
|
|
26403
|
+
latitude: { format: 'float', type: 'number' },
|
|
26404
|
+
longitude: { format: 'float', type: 'number' },
|
|
26405
|
+
},
|
|
26406
|
+
required: ['latitude', 'longitude'],
|
|
26407
|
+
type: 'object',
|
|
26408
|
+
},
|
|
26409
|
+
location_id: {
|
|
26410
|
+
description: 'Unique identifier for the location.',
|
|
26411
|
+
format: 'uuid',
|
|
26412
|
+
type: 'string',
|
|
26413
|
+
},
|
|
26414
|
+
time_zone: {
|
|
26415
|
+
description: 'Time zone of the location.',
|
|
26416
|
+
type: 'string',
|
|
26417
|
+
},
|
|
26418
|
+
workspace_id: {
|
|
26419
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26420
|
+
format: 'uuid',
|
|
26421
|
+
type: 'string',
|
|
26422
|
+
},
|
|
26423
|
+
},
|
|
26424
|
+
required: [
|
|
26425
|
+
'location_id',
|
|
26426
|
+
'workspace_id',
|
|
26427
|
+
'display_name',
|
|
26428
|
+
'created_at',
|
|
26429
|
+
],
|
|
26430
|
+
type: 'object',
|
|
26431
|
+
},
|
|
26432
|
+
ok: { type: 'boolean' },
|
|
26433
|
+
},
|
|
26434
|
+
required: ['location', 'ok'],
|
|
26435
|
+
type: 'object',
|
|
26436
|
+
},
|
|
26437
|
+
},
|
|
26438
|
+
},
|
|
26439
|
+
description: 'OK',
|
|
26440
|
+
},
|
|
26441
|
+
400: { description: 'Bad Request' },
|
|
26442
|
+
401: { description: 'Unauthorized' },
|
|
26443
|
+
},
|
|
26444
|
+
security: [
|
|
26445
|
+
{ pat_with_workspace: [] },
|
|
26446
|
+
{ console_session_with_workspace: [] },
|
|
26447
|
+
{ api_key: [] },
|
|
26448
|
+
],
|
|
26449
|
+
summary: '/unstable_locations/update',
|
|
26450
|
+
tags: [],
|
|
26451
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26452
|
+
'x-fern-sdk-method-name': 'update',
|
|
26453
|
+
'x-fern-sdk-return-value': 'location',
|
|
26454
|
+
'x-response-key': 'location',
|
|
26455
|
+
'x-title': 'Update Location',
|
|
26456
|
+
'x-undocumented': 'Experimental locations.',
|
|
26457
|
+
},
|
|
26458
|
+
},
|
|
25674
26459
|
'/user_identities/add_acs_user': {
|
|
25675
26460
|
post: {
|
|
25676
26461
|
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).',
|