@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
|
@@ -78,6 +78,22 @@ export default {
|
|
|
78
78
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
79
79
|
type: 'object',
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
description: 'No free slots available on the device.',
|
|
83
|
+
properties: {
|
|
84
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
85
|
+
error_code: {
|
|
86
|
+
description:
|
|
87
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
88
|
+
enum: ['smartthings_no_free_slots_available'],
|
|
89
|
+
type: 'string',
|
|
90
|
+
},
|
|
91
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
92
|
+
message: { type: 'string' },
|
|
93
|
+
},
|
|
94
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
95
|
+
type: 'object',
|
|
96
|
+
},
|
|
81
97
|
{
|
|
82
98
|
description: 'Failed to set code on device.',
|
|
83
99
|
properties: {
|
|
@@ -310,6 +326,22 @@ export default {
|
|
|
310
326
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
311
327
|
type: 'object',
|
|
312
328
|
},
|
|
329
|
+
{
|
|
330
|
+
description: 'August lock is temporarily offline.',
|
|
331
|
+
properties: {
|
|
332
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
333
|
+
error_code: {
|
|
334
|
+
description:
|
|
335
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
336
|
+
enum: ['august_lock_temporarily_offline'],
|
|
337
|
+
type: 'string',
|
|
338
|
+
},
|
|
339
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
340
|
+
message: { type: 'string' },
|
|
341
|
+
},
|
|
342
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
343
|
+
type: 'object',
|
|
344
|
+
},
|
|
313
345
|
{
|
|
314
346
|
description: 'Salto site user is not subscribed.',
|
|
315
347
|
properties: {
|
|
@@ -317,7 +349,7 @@ export default {
|
|
|
317
349
|
error_code: {
|
|
318
350
|
description:
|
|
319
351
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
320
|
-
enum: ['
|
|
352
|
+
enum: ['salto_ks_user_not_subscribed'],
|
|
321
353
|
type: 'string',
|
|
322
354
|
},
|
|
323
355
|
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
@@ -359,6 +391,54 @@ export default {
|
|
|
359
391
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
360
392
|
type: 'object',
|
|
361
393
|
},
|
|
394
|
+
{
|
|
395
|
+
description: 'Duplicate access code name detected.',
|
|
396
|
+
properties: {
|
|
397
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
398
|
+
error_code: {
|
|
399
|
+
description:
|
|
400
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
401
|
+
enum: ['wyze_duplicate_code_name'],
|
|
402
|
+
type: 'string',
|
|
403
|
+
},
|
|
404
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
405
|
+
message: { type: 'string' },
|
|
406
|
+
},
|
|
407
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
408
|
+
type: 'object',
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
description: 'Potential duplicate access code detected.',
|
|
412
|
+
properties: {
|
|
413
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
414
|
+
error_code: {
|
|
415
|
+
description:
|
|
416
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
417
|
+
enum: ['wyze_potential_duplicate_code'],
|
|
418
|
+
type: 'string',
|
|
419
|
+
},
|
|
420
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
421
|
+
message: { type: 'string' },
|
|
422
|
+
},
|
|
423
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
424
|
+
type: 'object',
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
description: 'No valid user level for Oracode.',
|
|
428
|
+
properties: {
|
|
429
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
430
|
+
error_code: {
|
|
431
|
+
description:
|
|
432
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
433
|
+
enum: ['dormakaba_oracode_no_valid_user_level'],
|
|
434
|
+
type: 'string',
|
|
435
|
+
},
|
|
436
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
437
|
+
message: { type: 'string' },
|
|
438
|
+
},
|
|
439
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
440
|
+
type: 'object',
|
|
441
|
+
},
|
|
362
442
|
{
|
|
363
443
|
description: 'Account is disconnected',
|
|
364
444
|
properties: {
|
|
@@ -800,14 +880,14 @@ export default {
|
|
|
800
880
|
},
|
|
801
881
|
{
|
|
802
882
|
description:
|
|
803
|
-
'
|
|
883
|
+
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
804
884
|
properties: {
|
|
805
885
|
created_at: { format: 'date-time', type: 'string' },
|
|
806
886
|
message: { type: 'string' },
|
|
807
887
|
warning_code: {
|
|
808
888
|
description:
|
|
809
889
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
810
|
-
enum: ['
|
|
890
|
+
enum: ['code_modified_external_to_seam'],
|
|
811
891
|
type: 'string',
|
|
812
892
|
},
|
|
813
893
|
},
|
|
@@ -815,15 +895,14 @@ export default {
|
|
|
815
895
|
type: 'object',
|
|
816
896
|
},
|
|
817
897
|
{
|
|
818
|
-
description:
|
|
819
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
898
|
+
description: 'Delay in setting code on device.',
|
|
820
899
|
properties: {
|
|
821
900
|
created_at: { format: 'date-time', type: 'string' },
|
|
822
901
|
message: { type: 'string' },
|
|
823
902
|
warning_code: {
|
|
824
903
|
description:
|
|
825
904
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
826
|
-
enum: ['
|
|
905
|
+
enum: ['delay_in_setting_on_device'],
|
|
827
906
|
type: 'string',
|
|
828
907
|
},
|
|
829
908
|
},
|
|
@@ -831,14 +910,14 @@ export default {
|
|
|
831
910
|
type: 'object',
|
|
832
911
|
},
|
|
833
912
|
{
|
|
834
|
-
description: 'Delay in
|
|
913
|
+
description: 'Delay in removing code from device.',
|
|
835
914
|
properties: {
|
|
836
915
|
created_at: { format: 'date-time', type: 'string' },
|
|
837
916
|
message: { type: 'string' },
|
|
838
917
|
warning_code: {
|
|
839
918
|
description:
|
|
840
919
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
841
|
-
enum: ['
|
|
920
|
+
enum: ['delay_in_removing_from_device'],
|
|
842
921
|
type: 'string',
|
|
843
922
|
},
|
|
844
923
|
},
|
|
@@ -846,14 +925,15 @@ export default {
|
|
|
846
925
|
type: 'object',
|
|
847
926
|
},
|
|
848
927
|
{
|
|
849
|
-
description:
|
|
928
|
+
description:
|
|
929
|
+
'Third party integration detected that may cause access codes to fail.',
|
|
850
930
|
properties: {
|
|
851
931
|
created_at: { format: 'date-time', type: 'string' },
|
|
852
932
|
message: { type: 'string' },
|
|
853
933
|
warning_code: {
|
|
854
934
|
description:
|
|
855
935
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
856
|
-
enum: ['
|
|
936
|
+
enum: ['third_party_integration_detected'],
|
|
857
937
|
type: 'string',
|
|
858
938
|
},
|
|
859
939
|
},
|
|
@@ -862,14 +942,14 @@ export default {
|
|
|
862
942
|
},
|
|
863
943
|
{
|
|
864
944
|
description:
|
|
865
|
-
'
|
|
945
|
+
'Access code has not yet been fully moved to the device.',
|
|
866
946
|
properties: {
|
|
867
947
|
created_at: { format: 'date-time', type: 'string' },
|
|
868
948
|
message: { type: 'string' },
|
|
869
949
|
warning_code: {
|
|
870
950
|
description:
|
|
871
951
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
872
|
-
enum: ['
|
|
952
|
+
enum: ['august_device_programming_delay'],
|
|
873
953
|
type: 'string',
|
|
874
954
|
},
|
|
875
955
|
},
|
|
@@ -877,15 +957,14 @@ export default {
|
|
|
877
957
|
type: 'object',
|
|
878
958
|
},
|
|
879
959
|
{
|
|
880
|
-
description:
|
|
881
|
-
'Access code has not yet been fully moved to the device.',
|
|
960
|
+
description: 'August lock is temporarily offline.',
|
|
882
961
|
properties: {
|
|
883
962
|
created_at: { format: 'date-time', type: 'string' },
|
|
884
963
|
message: { type: 'string' },
|
|
885
964
|
warning_code: {
|
|
886
965
|
description:
|
|
887
|
-
'Unique identifier of the type of
|
|
888
|
-
enum: ['
|
|
966
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
967
|
+
enum: ['august_lock_temporarily_offline'],
|
|
889
968
|
type: 'string',
|
|
890
969
|
},
|
|
891
970
|
},
|
|
@@ -12872,6 +12951,22 @@ export default {
|
|
|
12872
12951
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12873
12952
|
type: 'object',
|
|
12874
12953
|
},
|
|
12954
|
+
{
|
|
12955
|
+
description: 'No free slots available on the device.',
|
|
12956
|
+
properties: {
|
|
12957
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
12958
|
+
error_code: {
|
|
12959
|
+
description:
|
|
12960
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
12961
|
+
enum: ['smartthings_no_free_slots_available'],
|
|
12962
|
+
type: 'string',
|
|
12963
|
+
},
|
|
12964
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
12965
|
+
message: { type: 'string' },
|
|
12966
|
+
},
|
|
12967
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
12968
|
+
type: 'object',
|
|
12969
|
+
},
|
|
12875
12970
|
{
|
|
12876
12971
|
description: 'Failed to set code on device.',
|
|
12877
12972
|
properties: {
|
|
@@ -13104,6 +13199,22 @@ export default {
|
|
|
13104
13199
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
13105
13200
|
type: 'object',
|
|
13106
13201
|
},
|
|
13202
|
+
{
|
|
13203
|
+
description: 'August lock is temporarily offline.',
|
|
13204
|
+
properties: {
|
|
13205
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13206
|
+
error_code: {
|
|
13207
|
+
description:
|
|
13208
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13209
|
+
enum: ['august_lock_temporarily_offline'],
|
|
13210
|
+
type: 'string',
|
|
13211
|
+
},
|
|
13212
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
13213
|
+
message: { type: 'string' },
|
|
13214
|
+
},
|
|
13215
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
13216
|
+
type: 'object',
|
|
13217
|
+
},
|
|
13107
13218
|
{
|
|
13108
13219
|
description: 'Salto site user is not subscribed.',
|
|
13109
13220
|
properties: {
|
|
@@ -13111,7 +13222,7 @@ export default {
|
|
|
13111
13222
|
error_code: {
|
|
13112
13223
|
description:
|
|
13113
13224
|
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13114
|
-
enum: ['
|
|
13225
|
+
enum: ['salto_ks_user_not_subscribed'],
|
|
13115
13226
|
type: 'string',
|
|
13116
13227
|
},
|
|
13117
13228
|
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
@@ -13153,6 +13264,54 @@ export default {
|
|
|
13153
13264
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
13154
13265
|
type: 'object',
|
|
13155
13266
|
},
|
|
13267
|
+
{
|
|
13268
|
+
description: 'Duplicate access code name detected.',
|
|
13269
|
+
properties: {
|
|
13270
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13271
|
+
error_code: {
|
|
13272
|
+
description:
|
|
13273
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13274
|
+
enum: ['wyze_duplicate_code_name'],
|
|
13275
|
+
type: 'string',
|
|
13276
|
+
},
|
|
13277
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
13278
|
+
message: { type: 'string' },
|
|
13279
|
+
},
|
|
13280
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
13281
|
+
type: 'object',
|
|
13282
|
+
},
|
|
13283
|
+
{
|
|
13284
|
+
description: 'Potential duplicate access code detected.',
|
|
13285
|
+
properties: {
|
|
13286
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13287
|
+
error_code: {
|
|
13288
|
+
description:
|
|
13289
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13290
|
+
enum: ['wyze_potential_duplicate_code'],
|
|
13291
|
+
type: 'string',
|
|
13292
|
+
},
|
|
13293
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
13294
|
+
message: { type: 'string' },
|
|
13295
|
+
},
|
|
13296
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
13297
|
+
type: 'object',
|
|
13298
|
+
},
|
|
13299
|
+
{
|
|
13300
|
+
description: 'No valid user level for Oracode.',
|
|
13301
|
+
properties: {
|
|
13302
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
13303
|
+
error_code: {
|
|
13304
|
+
description:
|
|
13305
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13306
|
+
enum: ['dormakaba_oracode_no_valid_user_level'],
|
|
13307
|
+
type: 'string',
|
|
13308
|
+
},
|
|
13309
|
+
is_access_code_error: { enum: [true], type: 'boolean' },
|
|
13310
|
+
message: { type: 'string' },
|
|
13311
|
+
},
|
|
13312
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
13313
|
+
type: 'object',
|
|
13314
|
+
},
|
|
13156
13315
|
{
|
|
13157
13316
|
description: 'Account is disconnected',
|
|
13158
13317
|
properties: {
|
|
@@ -13544,14 +13703,14 @@ export default {
|
|
|
13544
13703
|
},
|
|
13545
13704
|
{
|
|
13546
13705
|
description:
|
|
13547
|
-
'
|
|
13706
|
+
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
13548
13707
|
properties: {
|
|
13549
13708
|
created_at: { format: 'date-time', type: 'string' },
|
|
13550
13709
|
message: { type: 'string' },
|
|
13551
13710
|
warning_code: {
|
|
13552
13711
|
description:
|
|
13553
13712
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13554
|
-
enum: ['
|
|
13713
|
+
enum: ['code_modified_external_to_seam'],
|
|
13555
13714
|
type: 'string',
|
|
13556
13715
|
},
|
|
13557
13716
|
},
|
|
@@ -13559,15 +13718,14 @@ export default {
|
|
|
13559
13718
|
type: 'object',
|
|
13560
13719
|
},
|
|
13561
13720
|
{
|
|
13562
|
-
description:
|
|
13563
|
-
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
13721
|
+
description: 'Delay in setting code on device.',
|
|
13564
13722
|
properties: {
|
|
13565
13723
|
created_at: { format: 'date-time', type: 'string' },
|
|
13566
13724
|
message: { type: 'string' },
|
|
13567
13725
|
warning_code: {
|
|
13568
13726
|
description:
|
|
13569
13727
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13570
|
-
enum: ['
|
|
13728
|
+
enum: ['delay_in_setting_on_device'],
|
|
13571
13729
|
type: 'string',
|
|
13572
13730
|
},
|
|
13573
13731
|
},
|
|
@@ -13575,14 +13733,14 @@ export default {
|
|
|
13575
13733
|
type: 'object',
|
|
13576
13734
|
},
|
|
13577
13735
|
{
|
|
13578
|
-
description: 'Delay in
|
|
13736
|
+
description: 'Delay in removing code from device.',
|
|
13579
13737
|
properties: {
|
|
13580
13738
|
created_at: { format: 'date-time', type: 'string' },
|
|
13581
13739
|
message: { type: 'string' },
|
|
13582
13740
|
warning_code: {
|
|
13583
13741
|
description:
|
|
13584
13742
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13585
|
-
enum: ['
|
|
13743
|
+
enum: ['delay_in_removing_from_device'],
|
|
13586
13744
|
type: 'string',
|
|
13587
13745
|
},
|
|
13588
13746
|
},
|
|
@@ -13590,14 +13748,15 @@ export default {
|
|
|
13590
13748
|
type: 'object',
|
|
13591
13749
|
},
|
|
13592
13750
|
{
|
|
13593
|
-
description:
|
|
13751
|
+
description:
|
|
13752
|
+
'Third party integration detected that may cause access codes to fail.',
|
|
13594
13753
|
properties: {
|
|
13595
13754
|
created_at: { format: 'date-time', type: 'string' },
|
|
13596
13755
|
message: { type: 'string' },
|
|
13597
13756
|
warning_code: {
|
|
13598
13757
|
description:
|
|
13599
13758
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13600
|
-
enum: ['
|
|
13759
|
+
enum: ['third_party_integration_detected'],
|
|
13601
13760
|
type: 'string',
|
|
13602
13761
|
},
|
|
13603
13762
|
},
|
|
@@ -13606,14 +13765,14 @@ export default {
|
|
|
13606
13765
|
},
|
|
13607
13766
|
{
|
|
13608
13767
|
description:
|
|
13609
|
-
'
|
|
13768
|
+
'Access code has not yet been fully moved to the device.',
|
|
13610
13769
|
properties: {
|
|
13611
13770
|
created_at: { format: 'date-time', type: 'string' },
|
|
13612
13771
|
message: { type: 'string' },
|
|
13613
13772
|
warning_code: {
|
|
13614
13773
|
description:
|
|
13615
13774
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13616
|
-
enum: ['
|
|
13775
|
+
enum: ['august_device_programming_delay'],
|
|
13617
13776
|
type: 'string',
|
|
13618
13777
|
},
|
|
13619
13778
|
},
|
|
@@ -13621,15 +13780,14 @@ export default {
|
|
|
13621
13780
|
type: 'object',
|
|
13622
13781
|
},
|
|
13623
13782
|
{
|
|
13624
|
-
description:
|
|
13625
|
-
'Access code has not yet been fully moved to the device.',
|
|
13783
|
+
description: 'August lock is temporarily offline.',
|
|
13626
13784
|
properties: {
|
|
13627
13785
|
created_at: { format: 'date-time', type: 'string' },
|
|
13628
13786
|
message: { type: 'string' },
|
|
13629
13787
|
warning_code: {
|
|
13630
13788
|
description:
|
|
13631
|
-
'Unique identifier of the type of
|
|
13632
|
-
enum: ['
|
|
13789
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13790
|
+
enum: ['august_lock_temporarily_offline'],
|
|
13633
13791
|
type: 'string',
|
|
13634
13792
|
},
|
|
13635
13793
|
},
|
|
@@ -22004,6 +22162,12 @@ export default {
|
|
|
22004
22162
|
],
|
|
22005
22163
|
type: 'string',
|
|
22006
22164
|
},
|
|
22165
|
+
unstable_location_id: {
|
|
22166
|
+
format: 'uuid',
|
|
22167
|
+
nullable: true,
|
|
22168
|
+
type: 'string',
|
|
22169
|
+
'x-undocumented': 'Experimental locations.',
|
|
22170
|
+
},
|
|
22007
22171
|
user_identifier_key: {
|
|
22008
22172
|
description:
|
|
22009
22173
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -22536,6 +22700,12 @@ export default {
|
|
|
22536
22700
|
],
|
|
22537
22701
|
type: 'string',
|
|
22538
22702
|
},
|
|
22703
|
+
unstable_location_id: {
|
|
22704
|
+
format: 'uuid',
|
|
22705
|
+
nullable: true,
|
|
22706
|
+
type: 'string',
|
|
22707
|
+
'x-undocumented': 'Experimental locations.',
|
|
22708
|
+
},
|
|
22539
22709
|
user_identifier_key: {
|
|
22540
22710
|
description:
|
|
22541
22711
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -23393,6 +23563,12 @@ export default {
|
|
|
23393
23563
|
],
|
|
23394
23564
|
type: 'string',
|
|
23395
23565
|
},
|
|
23566
|
+
unstable_location_id: {
|
|
23567
|
+
format: 'uuid',
|
|
23568
|
+
nullable: true,
|
|
23569
|
+
type: 'string',
|
|
23570
|
+
'x-undocumented': 'Experimental locations.',
|
|
23571
|
+
},
|
|
23396
23572
|
user_identifier_key: {
|
|
23397
23573
|
description:
|
|
23398
23574
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -23888,6 +24064,12 @@ export default {
|
|
|
23888
24064
|
],
|
|
23889
24065
|
type: 'string',
|
|
23890
24066
|
},
|
|
24067
|
+
unstable_location_id: {
|
|
24068
|
+
format: 'uuid',
|
|
24069
|
+
nullable: true,
|
|
24070
|
+
type: 'string',
|
|
24071
|
+
'x-undocumented': 'Experimental locations.',
|
|
24072
|
+
},
|
|
23891
24073
|
user_identifier_key: {
|
|
23892
24074
|
description:
|
|
23893
24075
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -25781,6 +25963,12 @@ export default {
|
|
|
25781
25963
|
],
|
|
25782
25964
|
type: 'string',
|
|
25783
25965
|
},
|
|
25966
|
+
unstable_location_id: {
|
|
25967
|
+
format: 'uuid',
|
|
25968
|
+
nullable: true,
|
|
25969
|
+
type: 'string',
|
|
25970
|
+
'x-undocumented': 'Experimental locations.',
|
|
25971
|
+
},
|
|
25784
25972
|
user_identifier_key: {
|
|
25785
25973
|
description:
|
|
25786
25974
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -27217,6 +27405,624 @@ export default {
|
|
|
27217
27405
|
'x-title': 'Update a Climate Preset',
|
|
27218
27406
|
},
|
|
27219
27407
|
},
|
|
27408
|
+
'/unstable_locations/add_devices': {
|
|
27409
|
+
post: {
|
|
27410
|
+
description:
|
|
27411
|
+
'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
27412
|
+
operationId: 'unstableLocationsAddDevicesPost',
|
|
27413
|
+
requestBody: {
|
|
27414
|
+
content: {
|
|
27415
|
+
'application/json': {
|
|
27416
|
+
schema: {
|
|
27417
|
+
properties: {
|
|
27418
|
+
device_ids: {
|
|
27419
|
+
items: { format: 'uuid', type: 'string' },
|
|
27420
|
+
type: 'array',
|
|
27421
|
+
},
|
|
27422
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27423
|
+
},
|
|
27424
|
+
required: ['location_id', 'device_ids'],
|
|
27425
|
+
type: 'object',
|
|
27426
|
+
},
|
|
27427
|
+
},
|
|
27428
|
+
},
|
|
27429
|
+
},
|
|
27430
|
+
responses: {
|
|
27431
|
+
200: {
|
|
27432
|
+
content: {
|
|
27433
|
+
'application/json': {
|
|
27434
|
+
schema: {
|
|
27435
|
+
properties: { ok: { type: 'boolean' } },
|
|
27436
|
+
required: ['ok'],
|
|
27437
|
+
type: 'object',
|
|
27438
|
+
},
|
|
27439
|
+
},
|
|
27440
|
+
},
|
|
27441
|
+
description: 'OK',
|
|
27442
|
+
},
|
|
27443
|
+
400: { description: 'Bad Request' },
|
|
27444
|
+
401: { description: 'Unauthorized' },
|
|
27445
|
+
},
|
|
27446
|
+
security: [
|
|
27447
|
+
{ pat_with_workspace: [] },
|
|
27448
|
+
{ console_session_with_workspace: [] },
|
|
27449
|
+
{ api_key: [] },
|
|
27450
|
+
],
|
|
27451
|
+
summary: '/unstable_locations/add_devices',
|
|
27452
|
+
tags: [],
|
|
27453
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27454
|
+
'x-fern-sdk-method-name': 'add_devices',
|
|
27455
|
+
'x-response-key': null,
|
|
27456
|
+
'x-title': 'Add Location Devices',
|
|
27457
|
+
'x-undocumented': 'Experimental locations.',
|
|
27458
|
+
},
|
|
27459
|
+
},
|
|
27460
|
+
'/unstable_locations/create': {
|
|
27461
|
+
post: {
|
|
27462
|
+
description: 'Create a new location.',
|
|
27463
|
+
operationId: 'unstableLocationsCreatePost',
|
|
27464
|
+
requestBody: {
|
|
27465
|
+
content: {
|
|
27466
|
+
'application/json': {
|
|
27467
|
+
schema: {
|
|
27468
|
+
properties: {
|
|
27469
|
+
geolocation: {
|
|
27470
|
+
properties: {
|
|
27471
|
+
latitude: { format: 'float', type: 'number' },
|
|
27472
|
+
longitude: { format: 'float', type: 'number' },
|
|
27473
|
+
},
|
|
27474
|
+
required: ['latitude', 'longitude'],
|
|
27475
|
+
type: 'object',
|
|
27476
|
+
},
|
|
27477
|
+
name: { type: 'string' },
|
|
27478
|
+
time_zone: { type: 'string' },
|
|
27479
|
+
},
|
|
27480
|
+
required: ['name'],
|
|
27481
|
+
type: 'object',
|
|
27482
|
+
},
|
|
27483
|
+
},
|
|
27484
|
+
},
|
|
27485
|
+
},
|
|
27486
|
+
responses: {
|
|
27487
|
+
200: {
|
|
27488
|
+
content: {
|
|
27489
|
+
'application/json': {
|
|
27490
|
+
schema: {
|
|
27491
|
+
properties: {
|
|
27492
|
+
location: {
|
|
27493
|
+
properties: {
|
|
27494
|
+
created_at: {
|
|
27495
|
+
description:
|
|
27496
|
+
'Date and time at which the location object was created.',
|
|
27497
|
+
format: 'date-time',
|
|
27498
|
+
type: 'string',
|
|
27499
|
+
},
|
|
27500
|
+
display_name: {
|
|
27501
|
+
description: 'Display name of the location.',
|
|
27502
|
+
type: 'string',
|
|
27503
|
+
},
|
|
27504
|
+
geolocation: {
|
|
27505
|
+
description: 'Geographical location of the location.',
|
|
27506
|
+
properties: {
|
|
27507
|
+
latitude: { format: 'float', type: 'number' },
|
|
27508
|
+
longitude: { format: 'float', type: 'number' },
|
|
27509
|
+
},
|
|
27510
|
+
required: ['latitude', 'longitude'],
|
|
27511
|
+
type: 'object',
|
|
27512
|
+
},
|
|
27513
|
+
location_id: {
|
|
27514
|
+
description: 'Unique identifier for the location.',
|
|
27515
|
+
format: 'uuid',
|
|
27516
|
+
type: 'string',
|
|
27517
|
+
},
|
|
27518
|
+
time_zone: {
|
|
27519
|
+
description: 'Time zone of the location.',
|
|
27520
|
+
type: 'string',
|
|
27521
|
+
},
|
|
27522
|
+
workspace_id: {
|
|
27523
|
+
description:
|
|
27524
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27525
|
+
format: 'uuid',
|
|
27526
|
+
type: 'string',
|
|
27527
|
+
},
|
|
27528
|
+
},
|
|
27529
|
+
required: [
|
|
27530
|
+
'location_id',
|
|
27531
|
+
'workspace_id',
|
|
27532
|
+
'display_name',
|
|
27533
|
+
'created_at',
|
|
27534
|
+
],
|
|
27535
|
+
type: 'object',
|
|
27536
|
+
},
|
|
27537
|
+
ok: { type: 'boolean' },
|
|
27538
|
+
},
|
|
27539
|
+
required: ['location', 'ok'],
|
|
27540
|
+
type: 'object',
|
|
27541
|
+
},
|
|
27542
|
+
},
|
|
27543
|
+
},
|
|
27544
|
+
description: 'OK',
|
|
27545
|
+
},
|
|
27546
|
+
400: { description: 'Bad Request' },
|
|
27547
|
+
401: { description: 'Unauthorized' },
|
|
27548
|
+
},
|
|
27549
|
+
security: [
|
|
27550
|
+
{ pat_with_workspace: [] },
|
|
27551
|
+
{ console_session_with_workspace: [] },
|
|
27552
|
+
{ api_key: [] },
|
|
27553
|
+
],
|
|
27554
|
+
summary: '/unstable_locations/create',
|
|
27555
|
+
tags: [],
|
|
27556
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27557
|
+
'x-fern-sdk-method-name': 'create',
|
|
27558
|
+
'x-fern-sdk-return-value': 'location',
|
|
27559
|
+
'x-response-key': 'location',
|
|
27560
|
+
'x-title': 'Create Location',
|
|
27561
|
+
'x-undocumented': 'Experimental locations.',
|
|
27562
|
+
},
|
|
27563
|
+
},
|
|
27564
|
+
'/unstable_locations/delete': {
|
|
27565
|
+
post: {
|
|
27566
|
+
description: 'Delete a location.',
|
|
27567
|
+
operationId: 'unstableLocationsDeletePost',
|
|
27568
|
+
requestBody: {
|
|
27569
|
+
content: {
|
|
27570
|
+
'application/json': {
|
|
27571
|
+
schema: {
|
|
27572
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
27573
|
+
required: ['location_id'],
|
|
27574
|
+
type: 'object',
|
|
27575
|
+
},
|
|
27576
|
+
},
|
|
27577
|
+
},
|
|
27578
|
+
},
|
|
27579
|
+
responses: {
|
|
27580
|
+
200: {
|
|
27581
|
+
content: {
|
|
27582
|
+
'application/json': {
|
|
27583
|
+
schema: {
|
|
27584
|
+
properties: { ok: { type: 'boolean' } },
|
|
27585
|
+
required: ['ok'],
|
|
27586
|
+
type: 'object',
|
|
27587
|
+
},
|
|
27588
|
+
},
|
|
27589
|
+
},
|
|
27590
|
+
description: 'OK',
|
|
27591
|
+
},
|
|
27592
|
+
400: { description: 'Bad Request' },
|
|
27593
|
+
401: { description: 'Unauthorized' },
|
|
27594
|
+
},
|
|
27595
|
+
security: [
|
|
27596
|
+
{ pat_with_workspace: [] },
|
|
27597
|
+
{ console_session_with_workspace: [] },
|
|
27598
|
+
{ api_key: [] },
|
|
27599
|
+
],
|
|
27600
|
+
summary: '/unstable_locations/delete',
|
|
27601
|
+
tags: [],
|
|
27602
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27603
|
+
'x-fern-sdk-method-name': 'delete',
|
|
27604
|
+
'x-response-key': null,
|
|
27605
|
+
'x-title': 'Delete Location',
|
|
27606
|
+
'x-undocumented': 'Experimental locations.',
|
|
27607
|
+
},
|
|
27608
|
+
},
|
|
27609
|
+
'/unstable_locations/get': {
|
|
27610
|
+
post: {
|
|
27611
|
+
description: 'Get a location.',
|
|
27612
|
+
operationId: 'unstableLocationsGetPost',
|
|
27613
|
+
requestBody: {
|
|
27614
|
+
content: {
|
|
27615
|
+
'application/json': {
|
|
27616
|
+
schema: {
|
|
27617
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
27618
|
+
required: ['location_id'],
|
|
27619
|
+
type: 'object',
|
|
27620
|
+
},
|
|
27621
|
+
},
|
|
27622
|
+
},
|
|
27623
|
+
},
|
|
27624
|
+
responses: {
|
|
27625
|
+
200: {
|
|
27626
|
+
content: {
|
|
27627
|
+
'application/json': {
|
|
27628
|
+
schema: {
|
|
27629
|
+
properties: {
|
|
27630
|
+
location: {
|
|
27631
|
+
properties: {
|
|
27632
|
+
created_at: {
|
|
27633
|
+
description:
|
|
27634
|
+
'Date and time at which the location object was created.',
|
|
27635
|
+
format: 'date-time',
|
|
27636
|
+
type: 'string',
|
|
27637
|
+
},
|
|
27638
|
+
display_name: {
|
|
27639
|
+
description: 'Display name of the location.',
|
|
27640
|
+
type: 'string',
|
|
27641
|
+
},
|
|
27642
|
+
geolocation: {
|
|
27643
|
+
description: 'Geographical location of the location.',
|
|
27644
|
+
properties: {
|
|
27645
|
+
latitude: { format: 'float', type: 'number' },
|
|
27646
|
+
longitude: { format: 'float', type: 'number' },
|
|
27647
|
+
},
|
|
27648
|
+
required: ['latitude', 'longitude'],
|
|
27649
|
+
type: 'object',
|
|
27650
|
+
},
|
|
27651
|
+
location_id: {
|
|
27652
|
+
description: 'Unique identifier for the location.',
|
|
27653
|
+
format: 'uuid',
|
|
27654
|
+
type: 'string',
|
|
27655
|
+
},
|
|
27656
|
+
time_zone: {
|
|
27657
|
+
description: 'Time zone of the location.',
|
|
27658
|
+
type: 'string',
|
|
27659
|
+
},
|
|
27660
|
+
workspace_id: {
|
|
27661
|
+
description:
|
|
27662
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27663
|
+
format: 'uuid',
|
|
27664
|
+
type: 'string',
|
|
27665
|
+
},
|
|
27666
|
+
},
|
|
27667
|
+
required: [
|
|
27668
|
+
'location_id',
|
|
27669
|
+
'workspace_id',
|
|
27670
|
+
'display_name',
|
|
27671
|
+
'created_at',
|
|
27672
|
+
],
|
|
27673
|
+
type: 'object',
|
|
27674
|
+
},
|
|
27675
|
+
ok: { type: 'boolean' },
|
|
27676
|
+
},
|
|
27677
|
+
required: ['location', 'ok'],
|
|
27678
|
+
type: 'object',
|
|
27679
|
+
},
|
|
27680
|
+
},
|
|
27681
|
+
},
|
|
27682
|
+
description: 'OK',
|
|
27683
|
+
},
|
|
27684
|
+
400: { description: 'Bad Request' },
|
|
27685
|
+
401: { description: 'Unauthorized' },
|
|
27686
|
+
},
|
|
27687
|
+
security: [
|
|
27688
|
+
{ pat_with_workspace: [] },
|
|
27689
|
+
{ console_session_with_workspace: [] },
|
|
27690
|
+
{ api_key: [] },
|
|
27691
|
+
],
|
|
27692
|
+
summary: '/unstable_locations/get',
|
|
27693
|
+
tags: [],
|
|
27694
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27695
|
+
'x-fern-sdk-method-name': 'get',
|
|
27696
|
+
'x-fern-sdk-return-value': 'location',
|
|
27697
|
+
'x-response-key': 'location',
|
|
27698
|
+
'x-title': 'Get Location',
|
|
27699
|
+
'x-undocumented': 'Experimental locations.',
|
|
27700
|
+
},
|
|
27701
|
+
},
|
|
27702
|
+
'/unstable_locations/list': {
|
|
27703
|
+
get: {
|
|
27704
|
+
description: 'Returns a list of all locations.',
|
|
27705
|
+
operationId: 'unstableLocationsListGet',
|
|
27706
|
+
responses: {
|
|
27707
|
+
200: {
|
|
27708
|
+
content: {
|
|
27709
|
+
'application/json': {
|
|
27710
|
+
schema: {
|
|
27711
|
+
properties: {
|
|
27712
|
+
locations: {
|
|
27713
|
+
items: {
|
|
27714
|
+
properties: {
|
|
27715
|
+
created_at: {
|
|
27716
|
+
description:
|
|
27717
|
+
'Date and time at which the location object was created.',
|
|
27718
|
+
format: 'date-time',
|
|
27719
|
+
type: 'string',
|
|
27720
|
+
},
|
|
27721
|
+
display_name: {
|
|
27722
|
+
description: 'Display name of the location.',
|
|
27723
|
+
type: 'string',
|
|
27724
|
+
},
|
|
27725
|
+
geolocation: {
|
|
27726
|
+
description:
|
|
27727
|
+
'Geographical location of the location.',
|
|
27728
|
+
properties: {
|
|
27729
|
+
latitude: { format: 'float', type: 'number' },
|
|
27730
|
+
longitude: { format: 'float', type: 'number' },
|
|
27731
|
+
},
|
|
27732
|
+
required: ['latitude', 'longitude'],
|
|
27733
|
+
type: 'object',
|
|
27734
|
+
},
|
|
27735
|
+
location_id: {
|
|
27736
|
+
description: 'Unique identifier for the location.',
|
|
27737
|
+
format: 'uuid',
|
|
27738
|
+
type: 'string',
|
|
27739
|
+
},
|
|
27740
|
+
time_zone: {
|
|
27741
|
+
description: 'Time zone of the location.',
|
|
27742
|
+
type: 'string',
|
|
27743
|
+
},
|
|
27744
|
+
workspace_id: {
|
|
27745
|
+
description:
|
|
27746
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27747
|
+
format: 'uuid',
|
|
27748
|
+
type: 'string',
|
|
27749
|
+
},
|
|
27750
|
+
},
|
|
27751
|
+
required: [
|
|
27752
|
+
'location_id',
|
|
27753
|
+
'workspace_id',
|
|
27754
|
+
'display_name',
|
|
27755
|
+
'created_at',
|
|
27756
|
+
],
|
|
27757
|
+
type: 'object',
|
|
27758
|
+
},
|
|
27759
|
+
type: 'array',
|
|
27760
|
+
},
|
|
27761
|
+
ok: { type: 'boolean' },
|
|
27762
|
+
},
|
|
27763
|
+
required: ['locations', 'ok'],
|
|
27764
|
+
type: 'object',
|
|
27765
|
+
},
|
|
27766
|
+
},
|
|
27767
|
+
},
|
|
27768
|
+
description: 'OK',
|
|
27769
|
+
},
|
|
27770
|
+
400: { description: 'Bad Request' },
|
|
27771
|
+
401: { description: 'Unauthorized' },
|
|
27772
|
+
},
|
|
27773
|
+
security: [
|
|
27774
|
+
{ pat_with_workspace: [] },
|
|
27775
|
+
{ console_session_with_workspace: [] },
|
|
27776
|
+
{ api_key: [] },
|
|
27777
|
+
],
|
|
27778
|
+
summary: '/unstable_locations/list',
|
|
27779
|
+
tags: [],
|
|
27780
|
+
'x-fern-ignore': true,
|
|
27781
|
+
'x-response-key': 'locations',
|
|
27782
|
+
'x-title': 'List Locations',
|
|
27783
|
+
'x-undocumented': 'Experimental locations.',
|
|
27784
|
+
},
|
|
27785
|
+
post: {
|
|
27786
|
+
description: 'Returns a list of all locations.',
|
|
27787
|
+
operationId: 'unstableLocationsListPost',
|
|
27788
|
+
responses: {
|
|
27789
|
+
200: {
|
|
27790
|
+
content: {
|
|
27791
|
+
'application/json': {
|
|
27792
|
+
schema: {
|
|
27793
|
+
properties: {
|
|
27794
|
+
locations: {
|
|
27795
|
+
items: {
|
|
27796
|
+
properties: {
|
|
27797
|
+
created_at: {
|
|
27798
|
+
description:
|
|
27799
|
+
'Date and time at which the location object was created.',
|
|
27800
|
+
format: 'date-time',
|
|
27801
|
+
type: 'string',
|
|
27802
|
+
},
|
|
27803
|
+
display_name: {
|
|
27804
|
+
description: 'Display name of the location.',
|
|
27805
|
+
type: 'string',
|
|
27806
|
+
},
|
|
27807
|
+
geolocation: {
|
|
27808
|
+
description:
|
|
27809
|
+
'Geographical location of the location.',
|
|
27810
|
+
properties: {
|
|
27811
|
+
latitude: { format: 'float', type: 'number' },
|
|
27812
|
+
longitude: { format: 'float', type: 'number' },
|
|
27813
|
+
},
|
|
27814
|
+
required: ['latitude', 'longitude'],
|
|
27815
|
+
type: 'object',
|
|
27816
|
+
},
|
|
27817
|
+
location_id: {
|
|
27818
|
+
description: 'Unique identifier for the location.',
|
|
27819
|
+
format: 'uuid',
|
|
27820
|
+
type: 'string',
|
|
27821
|
+
},
|
|
27822
|
+
time_zone: {
|
|
27823
|
+
description: 'Time zone of the location.',
|
|
27824
|
+
type: 'string',
|
|
27825
|
+
},
|
|
27826
|
+
workspace_id: {
|
|
27827
|
+
description:
|
|
27828
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27829
|
+
format: 'uuid',
|
|
27830
|
+
type: 'string',
|
|
27831
|
+
},
|
|
27832
|
+
},
|
|
27833
|
+
required: [
|
|
27834
|
+
'location_id',
|
|
27835
|
+
'workspace_id',
|
|
27836
|
+
'display_name',
|
|
27837
|
+
'created_at',
|
|
27838
|
+
],
|
|
27839
|
+
type: 'object',
|
|
27840
|
+
},
|
|
27841
|
+
type: 'array',
|
|
27842
|
+
},
|
|
27843
|
+
ok: { type: 'boolean' },
|
|
27844
|
+
},
|
|
27845
|
+
required: ['locations', 'ok'],
|
|
27846
|
+
type: 'object',
|
|
27847
|
+
},
|
|
27848
|
+
},
|
|
27849
|
+
},
|
|
27850
|
+
description: 'OK',
|
|
27851
|
+
},
|
|
27852
|
+
400: { description: 'Bad Request' },
|
|
27853
|
+
401: { description: 'Unauthorized' },
|
|
27854
|
+
},
|
|
27855
|
+
security: [
|
|
27856
|
+
{ pat_with_workspace: [] },
|
|
27857
|
+
{ console_session_with_workspace: [] },
|
|
27858
|
+
{ api_key: [] },
|
|
27859
|
+
],
|
|
27860
|
+
summary: '/unstable_locations/list',
|
|
27861
|
+
tags: [],
|
|
27862
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27863
|
+
'x-fern-sdk-method-name': 'list',
|
|
27864
|
+
'x-fern-sdk-return-value': 'locations',
|
|
27865
|
+
'x-response-key': 'locations',
|
|
27866
|
+
'x-title': 'List Locations',
|
|
27867
|
+
'x-undocumented': 'Experimental locations.',
|
|
27868
|
+
},
|
|
27869
|
+
},
|
|
27870
|
+
'/unstable_locations/remove_devices': {
|
|
27871
|
+
post: {
|
|
27872
|
+
description: 'Remove devices from a specific location.',
|
|
27873
|
+
operationId: 'unstableLocationsRemoveDevicesPost',
|
|
27874
|
+
requestBody: {
|
|
27875
|
+
content: {
|
|
27876
|
+
'application/json': {
|
|
27877
|
+
schema: {
|
|
27878
|
+
properties: {
|
|
27879
|
+
device_ids: {
|
|
27880
|
+
items: { format: 'uuid', type: 'string' },
|
|
27881
|
+
type: 'array',
|
|
27882
|
+
},
|
|
27883
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27884
|
+
},
|
|
27885
|
+
required: ['location_id', 'device_ids'],
|
|
27886
|
+
type: 'object',
|
|
27887
|
+
},
|
|
27888
|
+
},
|
|
27889
|
+
},
|
|
27890
|
+
},
|
|
27891
|
+
responses: {
|
|
27892
|
+
200: {
|
|
27893
|
+
content: {
|
|
27894
|
+
'application/json': {
|
|
27895
|
+
schema: {
|
|
27896
|
+
properties: { ok: { type: 'boolean' } },
|
|
27897
|
+
required: ['ok'],
|
|
27898
|
+
type: 'object',
|
|
27899
|
+
},
|
|
27900
|
+
},
|
|
27901
|
+
},
|
|
27902
|
+
description: 'OK',
|
|
27903
|
+
},
|
|
27904
|
+
400: { description: 'Bad Request' },
|
|
27905
|
+
401: { description: 'Unauthorized' },
|
|
27906
|
+
},
|
|
27907
|
+
security: [
|
|
27908
|
+
{ pat_with_workspace: [] },
|
|
27909
|
+
{ console_session_with_workspace: [] },
|
|
27910
|
+
{ api_key: [] },
|
|
27911
|
+
],
|
|
27912
|
+
summary: '/unstable_locations/remove_devices',
|
|
27913
|
+
tags: [],
|
|
27914
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27915
|
+
'x-fern-sdk-method-name': 'remove_devices',
|
|
27916
|
+
'x-response-key': null,
|
|
27917
|
+
'x-title': 'Remove Location Devices',
|
|
27918
|
+
'x-undocumented': 'Experimental locations.',
|
|
27919
|
+
},
|
|
27920
|
+
},
|
|
27921
|
+
'/unstable_locations/update': {
|
|
27922
|
+
post: {
|
|
27923
|
+
description: 'Update an existing location.',
|
|
27924
|
+
operationId: 'unstableLocationsUpdatePost',
|
|
27925
|
+
requestBody: {
|
|
27926
|
+
content: {
|
|
27927
|
+
'application/json': {
|
|
27928
|
+
schema: {
|
|
27929
|
+
properties: {
|
|
27930
|
+
geolocation: {
|
|
27931
|
+
properties: {
|
|
27932
|
+
latitude: { format: 'float', type: 'number' },
|
|
27933
|
+
longitude: { format: 'float', type: 'number' },
|
|
27934
|
+
},
|
|
27935
|
+
required: ['latitude', 'longitude'],
|
|
27936
|
+
type: 'object',
|
|
27937
|
+
},
|
|
27938
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27939
|
+
name: { type: 'string' },
|
|
27940
|
+
time_zone: { type: 'string' },
|
|
27941
|
+
},
|
|
27942
|
+
required: ['location_id'],
|
|
27943
|
+
type: 'object',
|
|
27944
|
+
},
|
|
27945
|
+
},
|
|
27946
|
+
},
|
|
27947
|
+
},
|
|
27948
|
+
responses: {
|
|
27949
|
+
200: {
|
|
27950
|
+
content: {
|
|
27951
|
+
'application/json': {
|
|
27952
|
+
schema: {
|
|
27953
|
+
properties: {
|
|
27954
|
+
location: {
|
|
27955
|
+
properties: {
|
|
27956
|
+
created_at: {
|
|
27957
|
+
description:
|
|
27958
|
+
'Date and time at which the location object was created.',
|
|
27959
|
+
format: 'date-time',
|
|
27960
|
+
type: 'string',
|
|
27961
|
+
},
|
|
27962
|
+
display_name: {
|
|
27963
|
+
description: 'Display name of the location.',
|
|
27964
|
+
type: 'string',
|
|
27965
|
+
},
|
|
27966
|
+
geolocation: {
|
|
27967
|
+
description: 'Geographical location of the location.',
|
|
27968
|
+
properties: {
|
|
27969
|
+
latitude: { format: 'float', type: 'number' },
|
|
27970
|
+
longitude: { format: 'float', type: 'number' },
|
|
27971
|
+
},
|
|
27972
|
+
required: ['latitude', 'longitude'],
|
|
27973
|
+
type: 'object',
|
|
27974
|
+
},
|
|
27975
|
+
location_id: {
|
|
27976
|
+
description: 'Unique identifier for the location.',
|
|
27977
|
+
format: 'uuid',
|
|
27978
|
+
type: 'string',
|
|
27979
|
+
},
|
|
27980
|
+
time_zone: {
|
|
27981
|
+
description: 'Time zone of the location.',
|
|
27982
|
+
type: 'string',
|
|
27983
|
+
},
|
|
27984
|
+
workspace_id: {
|
|
27985
|
+
description:
|
|
27986
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27987
|
+
format: 'uuid',
|
|
27988
|
+
type: 'string',
|
|
27989
|
+
},
|
|
27990
|
+
},
|
|
27991
|
+
required: [
|
|
27992
|
+
'location_id',
|
|
27993
|
+
'workspace_id',
|
|
27994
|
+
'display_name',
|
|
27995
|
+
'created_at',
|
|
27996
|
+
],
|
|
27997
|
+
type: 'object',
|
|
27998
|
+
},
|
|
27999
|
+
ok: { type: 'boolean' },
|
|
28000
|
+
},
|
|
28001
|
+
required: ['location', 'ok'],
|
|
28002
|
+
type: 'object',
|
|
28003
|
+
},
|
|
28004
|
+
},
|
|
28005
|
+
},
|
|
28006
|
+
description: 'OK',
|
|
28007
|
+
},
|
|
28008
|
+
400: { description: 'Bad Request' },
|
|
28009
|
+
401: { description: 'Unauthorized' },
|
|
28010
|
+
},
|
|
28011
|
+
security: [
|
|
28012
|
+
{ pat_with_workspace: [] },
|
|
28013
|
+
{ console_session_with_workspace: [] },
|
|
28014
|
+
{ api_key: [] },
|
|
28015
|
+
],
|
|
28016
|
+
summary: '/unstable_locations/update',
|
|
28017
|
+
tags: [],
|
|
28018
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
28019
|
+
'x-fern-sdk-method-name': 'update',
|
|
28020
|
+
'x-fern-sdk-return-value': 'location',
|
|
28021
|
+
'x-response-key': 'location',
|
|
28022
|
+
'x-title': 'Update Location',
|
|
28023
|
+
'x-undocumented': 'Experimental locations.',
|
|
28024
|
+
},
|
|
28025
|
+
},
|
|
27220
28026
|
'/user_identities/add_acs_user': {
|
|
27221
28027
|
post: {
|
|
27222
28028
|
description:
|