@seamapi/types 1.384.0 → 1.385.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 +456 -137
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1668 -208
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -5
- package/lib/seam/connect/models/access-grants/access-grant.js +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
- package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +156 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js +28 -0
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js +28 -0
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +266 -175
- package/lib/seam/connect/openapi.js +408 -132
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1246 -33
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -0
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +4 -2
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
- package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +39 -0
- package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +37 -0
- package/src/lib/seam/connect/openapi.ts +426 -136
- package/src/lib/seam/connect/route-types.ts +1372 -33
|
@@ -5845,6 +5845,202 @@ export default {
|
|
|
5845
5845
|
],
|
|
5846
5846
|
type: 'object',
|
|
5847
5847
|
},
|
|
5848
|
+
{
|
|
5849
|
+
description: 'Simulating keypad code entry.',
|
|
5850
|
+
properties: {
|
|
5851
|
+
action_attempt_id: {
|
|
5852
|
+
description: 'ID of the action attempt.',
|
|
5853
|
+
format: 'uuid',
|
|
5854
|
+
type: 'string',
|
|
5855
|
+
},
|
|
5856
|
+
action_type: {
|
|
5857
|
+
enum: ['SIMULATE_KEYPAD_CODE_ENTRY'],
|
|
5858
|
+
type: 'string',
|
|
5859
|
+
},
|
|
5860
|
+
error: {
|
|
5861
|
+
description:
|
|
5862
|
+
'Errors associated with the action attempt. Null for pending action attempts.',
|
|
5863
|
+
nullable: true,
|
|
5864
|
+
},
|
|
5865
|
+
result: {
|
|
5866
|
+
description:
|
|
5867
|
+
'Result of the action attempt. Null for pending action attempts.',
|
|
5868
|
+
nullable: true,
|
|
5869
|
+
},
|
|
5870
|
+
status: { enum: ['pending'], type: 'string' },
|
|
5871
|
+
},
|
|
5872
|
+
required: [
|
|
5873
|
+
'action_attempt_id',
|
|
5874
|
+
'status',
|
|
5875
|
+
'result',
|
|
5876
|
+
'error',
|
|
5877
|
+
'action_type',
|
|
5878
|
+
],
|
|
5879
|
+
type: 'object',
|
|
5880
|
+
},
|
|
5881
|
+
{
|
|
5882
|
+
description: 'Simulating keypad code entry succeeded.',
|
|
5883
|
+
properties: {
|
|
5884
|
+
action_attempt_id: {
|
|
5885
|
+
description: 'ID of the action attempt.',
|
|
5886
|
+
format: 'uuid',
|
|
5887
|
+
type: 'string',
|
|
5888
|
+
},
|
|
5889
|
+
action_type: {
|
|
5890
|
+
enum: ['SIMULATE_KEYPAD_CODE_ENTRY'],
|
|
5891
|
+
type: 'string',
|
|
5892
|
+
},
|
|
5893
|
+
error: {
|
|
5894
|
+
description:
|
|
5895
|
+
'Errors associated with the action attempt. Null for successful action attempts.',
|
|
5896
|
+
nullable: true,
|
|
5897
|
+
},
|
|
5898
|
+
result: { properties: {}, type: 'object' },
|
|
5899
|
+
status: { enum: ['success'], type: 'string' },
|
|
5900
|
+
},
|
|
5901
|
+
required: [
|
|
5902
|
+
'action_attempt_id',
|
|
5903
|
+
'status',
|
|
5904
|
+
'error',
|
|
5905
|
+
'action_type',
|
|
5906
|
+
'result',
|
|
5907
|
+
],
|
|
5908
|
+
type: 'object',
|
|
5909
|
+
},
|
|
5910
|
+
{
|
|
5911
|
+
description: 'Simulating keypad code entry failed.',
|
|
5912
|
+
properties: {
|
|
5913
|
+
action_attempt_id: {
|
|
5914
|
+
description: 'ID of the action attempt.',
|
|
5915
|
+
format: 'uuid',
|
|
5916
|
+
type: 'string',
|
|
5917
|
+
},
|
|
5918
|
+
action_type: {
|
|
5919
|
+
enum: ['SIMULATE_KEYPAD_CODE_ENTRY'],
|
|
5920
|
+
type: 'string',
|
|
5921
|
+
},
|
|
5922
|
+
error: {
|
|
5923
|
+
properties: {
|
|
5924
|
+
message: { type: 'string' },
|
|
5925
|
+
type: { type: 'string' },
|
|
5926
|
+
},
|
|
5927
|
+
required: ['type', 'message'],
|
|
5928
|
+
type: 'object',
|
|
5929
|
+
},
|
|
5930
|
+
result: {
|
|
5931
|
+
description:
|
|
5932
|
+
'Result of the action attempt. Null for failed action attempts.',
|
|
5933
|
+
nullable: true,
|
|
5934
|
+
},
|
|
5935
|
+
status: { enum: ['error'], type: 'string' },
|
|
5936
|
+
},
|
|
5937
|
+
required: [
|
|
5938
|
+
'action_attempt_id',
|
|
5939
|
+
'status',
|
|
5940
|
+
'result',
|
|
5941
|
+
'action_type',
|
|
5942
|
+
'error',
|
|
5943
|
+
],
|
|
5944
|
+
type: 'object',
|
|
5945
|
+
},
|
|
5946
|
+
{
|
|
5947
|
+
description: 'Simulating manual lock via keypad.',
|
|
5948
|
+
properties: {
|
|
5949
|
+
action_attempt_id: {
|
|
5950
|
+
description: 'ID of the action attempt.',
|
|
5951
|
+
format: 'uuid',
|
|
5952
|
+
type: 'string',
|
|
5953
|
+
},
|
|
5954
|
+
action_type: {
|
|
5955
|
+
enum: ['SIMULATE_MANUAL_LOCK_VIA_KEYPAD'],
|
|
5956
|
+
type: 'string',
|
|
5957
|
+
},
|
|
5958
|
+
error: {
|
|
5959
|
+
description:
|
|
5960
|
+
'Errors associated with the action attempt. Null for pending action attempts.',
|
|
5961
|
+
nullable: true,
|
|
5962
|
+
},
|
|
5963
|
+
result: {
|
|
5964
|
+
description:
|
|
5965
|
+
'Result of the action attempt. Null for pending action attempts.',
|
|
5966
|
+
nullable: true,
|
|
5967
|
+
},
|
|
5968
|
+
status: { enum: ['pending'], type: 'string' },
|
|
5969
|
+
},
|
|
5970
|
+
required: [
|
|
5971
|
+
'action_attempt_id',
|
|
5972
|
+
'status',
|
|
5973
|
+
'result',
|
|
5974
|
+
'error',
|
|
5975
|
+
'action_type',
|
|
5976
|
+
],
|
|
5977
|
+
type: 'object',
|
|
5978
|
+
},
|
|
5979
|
+
{
|
|
5980
|
+
description: 'Simulating manual lock via keypad succeeded.',
|
|
5981
|
+
properties: {
|
|
5982
|
+
action_attempt_id: {
|
|
5983
|
+
description: 'ID of the action attempt.',
|
|
5984
|
+
format: 'uuid',
|
|
5985
|
+
type: 'string',
|
|
5986
|
+
},
|
|
5987
|
+
action_type: {
|
|
5988
|
+
enum: ['SIMULATE_MANUAL_LOCK_VIA_KEYPAD'],
|
|
5989
|
+
type: 'string',
|
|
5990
|
+
},
|
|
5991
|
+
error: {
|
|
5992
|
+
description:
|
|
5993
|
+
'Errors associated with the action attempt. Null for successful action attempts.',
|
|
5994
|
+
nullable: true,
|
|
5995
|
+
},
|
|
5996
|
+
result: { properties: {}, type: 'object' },
|
|
5997
|
+
status: { enum: ['success'], type: 'string' },
|
|
5998
|
+
},
|
|
5999
|
+
required: [
|
|
6000
|
+
'action_attempt_id',
|
|
6001
|
+
'status',
|
|
6002
|
+
'error',
|
|
6003
|
+
'action_type',
|
|
6004
|
+
'result',
|
|
6005
|
+
],
|
|
6006
|
+
type: 'object',
|
|
6007
|
+
},
|
|
6008
|
+
{
|
|
6009
|
+
description: 'Simulating manual lock via keypad failed.',
|
|
6010
|
+
properties: {
|
|
6011
|
+
action_attempt_id: {
|
|
6012
|
+
description: 'ID of the action attempt.',
|
|
6013
|
+
format: 'uuid',
|
|
6014
|
+
type: 'string',
|
|
6015
|
+
},
|
|
6016
|
+
action_type: {
|
|
6017
|
+
enum: ['SIMULATE_MANUAL_LOCK_VIA_KEYPAD'],
|
|
6018
|
+
type: 'string',
|
|
6019
|
+
},
|
|
6020
|
+
error: {
|
|
6021
|
+
properties: {
|
|
6022
|
+
message: { type: 'string' },
|
|
6023
|
+
type: { type: 'string' },
|
|
6024
|
+
},
|
|
6025
|
+
required: ['type', 'message'],
|
|
6026
|
+
type: 'object',
|
|
6027
|
+
},
|
|
6028
|
+
result: {
|
|
6029
|
+
description:
|
|
6030
|
+
'Result of the action attempt. Null for failed action attempts.',
|
|
6031
|
+
nullable: true,
|
|
6032
|
+
},
|
|
6033
|
+
status: { enum: ['error'], type: 'string' },
|
|
6034
|
+
},
|
|
6035
|
+
required: [
|
|
6036
|
+
'action_attempt_id',
|
|
6037
|
+
'status',
|
|
6038
|
+
'result',
|
|
6039
|
+
'action_type',
|
|
6040
|
+
'error',
|
|
6041
|
+
],
|
|
6042
|
+
type: 'object',
|
|
6043
|
+
},
|
|
5848
6044
|
{
|
|
5849
6045
|
properties: {
|
|
5850
6046
|
action_attempt_id: {
|
|
@@ -24706,98 +24902,6 @@ export default {
|
|
|
24706
24902
|
'x-response-key': 'device_providers',
|
|
24707
24903
|
},
|
|
24708
24904
|
},
|
|
24709
|
-
'/devices/simulate/access_code_lock': {
|
|
24710
|
-
post: {
|
|
24711
|
-
operationId: 'devicesSimulateAccessCodeLockPost',
|
|
24712
|
-
requestBody: {
|
|
24713
|
-
content: {
|
|
24714
|
-
'application/json': {
|
|
24715
|
-
schema: {
|
|
24716
|
-
properties: {
|
|
24717
|
-
access_code_id: { format: 'uuid', type: 'string' },
|
|
24718
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
24719
|
-
},
|
|
24720
|
-
required: ['device_id', 'access_code_id'],
|
|
24721
|
-
type: 'object',
|
|
24722
|
-
},
|
|
24723
|
-
},
|
|
24724
|
-
},
|
|
24725
|
-
},
|
|
24726
|
-
responses: {
|
|
24727
|
-
200: {
|
|
24728
|
-
content: {
|
|
24729
|
-
'application/json': {
|
|
24730
|
-
schema: {
|
|
24731
|
-
properties: { ok: { type: 'boolean' } },
|
|
24732
|
-
required: ['ok'],
|
|
24733
|
-
type: 'object',
|
|
24734
|
-
},
|
|
24735
|
-
},
|
|
24736
|
-
},
|
|
24737
|
-
description: 'OK',
|
|
24738
|
-
},
|
|
24739
|
-
400: { description: 'Bad Request' },
|
|
24740
|
-
401: { description: 'Unauthorized' },
|
|
24741
|
-
},
|
|
24742
|
-
security: [
|
|
24743
|
-
{ api_key: [] },
|
|
24744
|
-
{ pat_with_workspace: [] },
|
|
24745
|
-
{ console_session_with_workspace: [] },
|
|
24746
|
-
],
|
|
24747
|
-
summary: '/devices/simulate/access_code_lock',
|
|
24748
|
-
tags: ['/devices'],
|
|
24749
|
-
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
24750
|
-
'x-fern-sdk-method-name': 'access_code_lock',
|
|
24751
|
-
'x-response-key': null,
|
|
24752
|
-
'x-undocumented': 'Unreleased.',
|
|
24753
|
-
},
|
|
24754
|
-
},
|
|
24755
|
-
'/devices/simulate/access_code_unlock': {
|
|
24756
|
-
post: {
|
|
24757
|
-
operationId: 'devicesSimulateAccessCodeUnlockPost',
|
|
24758
|
-
requestBody: {
|
|
24759
|
-
content: {
|
|
24760
|
-
'application/json': {
|
|
24761
|
-
schema: {
|
|
24762
|
-
properties: {
|
|
24763
|
-
access_code_id: { format: 'uuid', type: 'string' },
|
|
24764
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
24765
|
-
},
|
|
24766
|
-
required: ['device_id', 'access_code_id'],
|
|
24767
|
-
type: 'object',
|
|
24768
|
-
},
|
|
24769
|
-
},
|
|
24770
|
-
},
|
|
24771
|
-
},
|
|
24772
|
-
responses: {
|
|
24773
|
-
200: {
|
|
24774
|
-
content: {
|
|
24775
|
-
'application/json': {
|
|
24776
|
-
schema: {
|
|
24777
|
-
properties: { ok: { type: 'boolean' } },
|
|
24778
|
-
required: ['ok'],
|
|
24779
|
-
type: 'object',
|
|
24780
|
-
},
|
|
24781
|
-
},
|
|
24782
|
-
},
|
|
24783
|
-
description: 'OK',
|
|
24784
|
-
},
|
|
24785
|
-
400: { description: 'Bad Request' },
|
|
24786
|
-
401: { description: 'Unauthorized' },
|
|
24787
|
-
},
|
|
24788
|
-
security: [
|
|
24789
|
-
{ api_key: [] },
|
|
24790
|
-
{ pat_with_workspace: [] },
|
|
24791
|
-
{ console_session_with_workspace: [] },
|
|
24792
|
-
],
|
|
24793
|
-
summary: '/devices/simulate/access_code_unlock',
|
|
24794
|
-
tags: ['/devices'],
|
|
24795
|
-
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
24796
|
-
'x-fern-sdk-method-name': 'access_code_unlock',
|
|
24797
|
-
'x-response-key': null,
|
|
24798
|
-
'x-undocumented': 'Unreleased.',
|
|
24799
|
-
},
|
|
24800
|
-
},
|
|
24801
24905
|
'/devices/simulate/connect': {
|
|
24802
24906
|
post: {
|
|
24803
24907
|
operationId: 'devicesSimulateConnectPost',
|
|
@@ -26149,6 +26253,108 @@ export default {
|
|
|
26149
26253
|
'x-response-key': 'action_attempt',
|
|
26150
26254
|
},
|
|
26151
26255
|
},
|
|
26256
|
+
'/locks/simulate/keypad_code_entry': {
|
|
26257
|
+
post: {
|
|
26258
|
+
operationId: 'locksSimulateKeypadCodeEntryPost',
|
|
26259
|
+
requestBody: {
|
|
26260
|
+
content: {
|
|
26261
|
+
'application/json': {
|
|
26262
|
+
schema: {
|
|
26263
|
+
properties: {
|
|
26264
|
+
code: { type: 'string' },
|
|
26265
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
26266
|
+
},
|
|
26267
|
+
required: ['device_id', 'code'],
|
|
26268
|
+
type: 'object',
|
|
26269
|
+
},
|
|
26270
|
+
},
|
|
26271
|
+
},
|
|
26272
|
+
},
|
|
26273
|
+
responses: {
|
|
26274
|
+
200: {
|
|
26275
|
+
content: {
|
|
26276
|
+
'application/json': {
|
|
26277
|
+
schema: {
|
|
26278
|
+
properties: {
|
|
26279
|
+
action_attempt: {
|
|
26280
|
+
$ref: '#/components/schemas/access_code',
|
|
26281
|
+
},
|
|
26282
|
+
ok: { type: 'boolean' },
|
|
26283
|
+
},
|
|
26284
|
+
required: ['ok'],
|
|
26285
|
+
type: 'object',
|
|
26286
|
+
},
|
|
26287
|
+
},
|
|
26288
|
+
},
|
|
26289
|
+
description: 'OK',
|
|
26290
|
+
},
|
|
26291
|
+
400: { description: 'Bad Request' },
|
|
26292
|
+
401: { description: 'Unauthorized' },
|
|
26293
|
+
},
|
|
26294
|
+
security: [
|
|
26295
|
+
{ api_key: [] },
|
|
26296
|
+
{ pat_with_workspace: [] },
|
|
26297
|
+
{ console_session_with_workspace: [] },
|
|
26298
|
+
],
|
|
26299
|
+
summary: '/locks/simulate/keypad_code_entry',
|
|
26300
|
+
tags: ['/locks'],
|
|
26301
|
+
'x-action-attempt-type': 'SIMULATE_KEYPAD_CODE_ENTRY',
|
|
26302
|
+
'x-fern-sdk-group-name': ['locks', 'simulate'],
|
|
26303
|
+
'x-fern-sdk-method-name': 'keypad_code_entry',
|
|
26304
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
26305
|
+
'x-response-key': 'action_attempt',
|
|
26306
|
+
'x-undocumented': 'Unreleased.',
|
|
26307
|
+
},
|
|
26308
|
+
},
|
|
26309
|
+
'/locks/simulate/manual_lock_via_keypad': {
|
|
26310
|
+
post: {
|
|
26311
|
+
operationId: 'locksSimulateManualLockViaKeypadPost',
|
|
26312
|
+
requestBody: {
|
|
26313
|
+
content: {
|
|
26314
|
+
'application/json': {
|
|
26315
|
+
schema: {
|
|
26316
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
26317
|
+
required: ['device_id'],
|
|
26318
|
+
type: 'object',
|
|
26319
|
+
},
|
|
26320
|
+
},
|
|
26321
|
+
},
|
|
26322
|
+
},
|
|
26323
|
+
responses: {
|
|
26324
|
+
200: {
|
|
26325
|
+
content: {
|
|
26326
|
+
'application/json': {
|
|
26327
|
+
schema: {
|
|
26328
|
+
properties: {
|
|
26329
|
+
action_attempt: {
|
|
26330
|
+
$ref: '#/components/schemas/access_code',
|
|
26331
|
+
},
|
|
26332
|
+
ok: { type: 'boolean' },
|
|
26333
|
+
},
|
|
26334
|
+
required: ['ok'],
|
|
26335
|
+
type: 'object',
|
|
26336
|
+
},
|
|
26337
|
+
},
|
|
26338
|
+
},
|
|
26339
|
+
description: 'OK',
|
|
26340
|
+
},
|
|
26341
|
+
400: { description: 'Bad Request' },
|
|
26342
|
+
401: { description: 'Unauthorized' },
|
|
26343
|
+
},
|
|
26344
|
+
security: [
|
|
26345
|
+
{ api_key: [] },
|
|
26346
|
+
{ pat_with_workspace: [] },
|
|
26347
|
+
{ console_session_with_workspace: [] },
|
|
26348
|
+
],
|
|
26349
|
+
summary: '/locks/simulate/manual_lock_via_keypad',
|
|
26350
|
+
tags: ['/locks'],
|
|
26351
|
+
'x-action-attempt-type': 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD',
|
|
26352
|
+
'x-fern-sdk-group-name': ['locks', 'simulate'],
|
|
26353
|
+
'x-fern-sdk-method-name': 'manual_lock_via_keypad',
|
|
26354
|
+
'x-response-key': null,
|
|
26355
|
+
'x-undocumented': 'Unreleased.',
|
|
26356
|
+
},
|
|
26357
|
+
},
|
|
26152
26358
|
'/locks/unlock_door': {
|
|
26153
26359
|
post: {
|
|
26154
26360
|
operationId: 'locksUnlockDoorPost',
|
|
@@ -28308,6 +28514,64 @@ export default {
|
|
|
28308
28514
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
28309
28515
|
},
|
|
28310
28516
|
},
|
|
28517
|
+
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
28518
|
+
post: {
|
|
28519
|
+
description:
|
|
28520
|
+
'Exchanges a short code for a Client Session Token (CST).\nThis endpoint is used by mobile apps to securely retrieve a client session token \nusing a short code obtained from an instant key URL.',
|
|
28521
|
+
operationId: 'seamInstantKeyV1ClientSessionsExchangeShortCodePost',
|
|
28522
|
+
requestBody: {
|
|
28523
|
+
content: {
|
|
28524
|
+
'application/json': {
|
|
28525
|
+
schema: {
|
|
28526
|
+
properties: {
|
|
28527
|
+
short_code: {
|
|
28528
|
+
description:
|
|
28529
|
+
'The short code to exchange for a client session token',
|
|
28530
|
+
type: 'string',
|
|
28531
|
+
},
|
|
28532
|
+
},
|
|
28533
|
+
required: ['short_code'],
|
|
28534
|
+
type: 'object',
|
|
28535
|
+
},
|
|
28536
|
+
},
|
|
28537
|
+
},
|
|
28538
|
+
},
|
|
28539
|
+
responses: {
|
|
28540
|
+
200: {
|
|
28541
|
+
content: {
|
|
28542
|
+
'application/json': {
|
|
28543
|
+
schema: {
|
|
28544
|
+
properties: {
|
|
28545
|
+
client_session: {
|
|
28546
|
+
$ref: '#/components/schemas/client_session',
|
|
28547
|
+
},
|
|
28548
|
+
ok: { type: 'boolean' },
|
|
28549
|
+
},
|
|
28550
|
+
required: ['client_session', 'ok'],
|
|
28551
|
+
type: 'object',
|
|
28552
|
+
},
|
|
28553
|
+
},
|
|
28554
|
+
},
|
|
28555
|
+
description: 'OK',
|
|
28556
|
+
},
|
|
28557
|
+
400: { description: 'Bad Request' },
|
|
28558
|
+
401: { description: 'Unauthorized' },
|
|
28559
|
+
},
|
|
28560
|
+
security: [{ certified_client: [] }],
|
|
28561
|
+
summary: '/seam/instant_key/v1/client_sessions/exchange_short_code',
|
|
28562
|
+
tags: ['/client_sessions'],
|
|
28563
|
+
'x-fern-sdk-group-name': [
|
|
28564
|
+
'seam',
|
|
28565
|
+
'instant_key',
|
|
28566
|
+
'v1',
|
|
28567
|
+
'client_sessions',
|
|
28568
|
+
],
|
|
28569
|
+
'x-fern-sdk-method-name': 'exchange_short_code',
|
|
28570
|
+
'x-fern-sdk-return-value': 'client_session',
|
|
28571
|
+
'x-response-key': 'client_session',
|
|
28572
|
+
'x-title': 'Exchange Instant Key Short Code',
|
|
28573
|
+
},
|
|
28574
|
+
},
|
|
28311
28575
|
'/thermostats/activate_climate_preset': {
|
|
28312
28576
|
post: {
|
|
28313
28577
|
description:
|
|
@@ -30470,21 +30734,6 @@ export default {
|
|
|
30470
30734
|
},
|
|
30471
30735
|
{
|
|
30472
30736
|
properties: {
|
|
30473
|
-
desired_access_methods: {
|
|
30474
|
-
items: {
|
|
30475
|
-
properties: {
|
|
30476
|
-
mode: {
|
|
30477
|
-
description:
|
|
30478
|
-
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30479
|
-
enum: ['code', 'card', 'mobile_key'],
|
|
30480
|
-
type: 'string',
|
|
30481
|
-
},
|
|
30482
|
-
},
|
|
30483
|
-
required: ['mode'],
|
|
30484
|
-
type: 'object',
|
|
30485
|
-
},
|
|
30486
|
-
type: 'array',
|
|
30487
|
-
},
|
|
30488
30737
|
ends_at: {
|
|
30489
30738
|
description:
|
|
30490
30739
|
'Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
|
|
@@ -30509,6 +30758,10 @@ export default {
|
|
|
30509
30758
|
items: { format: 'uuid', type: 'string' },
|
|
30510
30759
|
type: 'array',
|
|
30511
30760
|
},
|
|
30761
|
+
name: {
|
|
30762
|
+
description: 'Name of the location.',
|
|
30763
|
+
type: 'string',
|
|
30764
|
+
},
|
|
30512
30765
|
},
|
|
30513
30766
|
type: 'object',
|
|
30514
30767
|
},
|
|
@@ -30518,6 +30771,21 @@ export default {
|
|
|
30518
30771
|
items: { format: 'uuid', type: 'string' },
|
|
30519
30772
|
type: 'array',
|
|
30520
30773
|
},
|
|
30774
|
+
requested_access_methods: {
|
|
30775
|
+
items: {
|
|
30776
|
+
properties: {
|
|
30777
|
+
mode: {
|
|
30778
|
+
description:
|
|
30779
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30780
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
30781
|
+
type: 'string',
|
|
30782
|
+
},
|
|
30783
|
+
},
|
|
30784
|
+
required: ['mode'],
|
|
30785
|
+
type: 'object',
|
|
30786
|
+
},
|
|
30787
|
+
type: 'array',
|
|
30788
|
+
},
|
|
30521
30789
|
starts_at: {
|
|
30522
30790
|
description:
|
|
30523
30791
|
'Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
@@ -30525,7 +30793,7 @@ export default {
|
|
|
30525
30793
|
type: 'string',
|
|
30526
30794
|
},
|
|
30527
30795
|
},
|
|
30528
|
-
required: ['
|
|
30796
|
+
required: ['requested_access_methods'],
|
|
30529
30797
|
type: 'object',
|
|
30530
30798
|
},
|
|
30531
30799
|
],
|
|
@@ -30546,6 +30814,12 @@ export default {
|
|
|
30546
30814
|
format: 'uuid',
|
|
30547
30815
|
type: 'string',
|
|
30548
30816
|
},
|
|
30817
|
+
access_method_ids: {
|
|
30818
|
+
description:
|
|
30819
|
+
'IDs of the access methods that were created for this access grant.',
|
|
30820
|
+
items: { format: 'uuid', type: 'string' },
|
|
30821
|
+
type: 'array',
|
|
30822
|
+
},
|
|
30549
30823
|
created_at: {
|
|
30550
30824
|
description:
|
|
30551
30825
|
'Date and time at which the access grant was created.',
|
|
@@ -30567,6 +30841,12 @@ export default {
|
|
|
30567
30841
|
'Access methods that the user requested for this access grant.',
|
|
30568
30842
|
items: {
|
|
30569
30843
|
properties: {
|
|
30844
|
+
created_access_method_ids: {
|
|
30845
|
+
description:
|
|
30846
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
30847
|
+
items: { format: 'uuid', type: 'string' },
|
|
30848
|
+
type: 'array',
|
|
30849
|
+
},
|
|
30570
30850
|
created_at: {
|
|
30571
30851
|
description:
|
|
30572
30852
|
'Date and time at which the requested access method was added to this access grant.',
|
|
@@ -30584,18 +30864,12 @@ export default {
|
|
|
30584
30864
|
enum: ['code', 'card', 'mobile_key'],
|
|
30585
30865
|
type: 'string',
|
|
30586
30866
|
},
|
|
30587
|
-
provisioned_access_method_ids: {
|
|
30588
|
-
description:
|
|
30589
|
-
'IDs of the locations to which access is being given.',
|
|
30590
|
-
items: { format: 'uuid', type: 'string' },
|
|
30591
|
-
type: 'array',
|
|
30592
|
-
},
|
|
30593
30867
|
},
|
|
30594
30868
|
required: [
|
|
30595
30869
|
'display_name',
|
|
30596
30870
|
'mode',
|
|
30597
30871
|
'created_at',
|
|
30598
|
-
'
|
|
30872
|
+
'created_access_method_ids',
|
|
30599
30873
|
],
|
|
30600
30874
|
type: 'object',
|
|
30601
30875
|
'x-undocumented': 'Unreleased.',
|
|
@@ -30621,6 +30895,7 @@ export default {
|
|
|
30621
30895
|
'user_identity_id',
|
|
30622
30896
|
'location_ids',
|
|
30623
30897
|
'requested_access_methods',
|
|
30898
|
+
'access_method_ids',
|
|
30624
30899
|
'display_name',
|
|
30625
30900
|
'created_at',
|
|
30626
30901
|
],
|
|
@@ -30688,6 +30963,12 @@ export default {
|
|
|
30688
30963
|
format: 'uuid',
|
|
30689
30964
|
type: 'string',
|
|
30690
30965
|
},
|
|
30966
|
+
access_method_ids: {
|
|
30967
|
+
description:
|
|
30968
|
+
'IDs of the access methods that were created for this access grant.',
|
|
30969
|
+
items: { format: 'uuid', type: 'string' },
|
|
30970
|
+
type: 'array',
|
|
30971
|
+
},
|
|
30691
30972
|
created_at: {
|
|
30692
30973
|
description:
|
|
30693
30974
|
'Date and time at which the access grant was created.',
|
|
@@ -30709,6 +30990,12 @@ export default {
|
|
|
30709
30990
|
'Access methods that the user requested for this access grant.',
|
|
30710
30991
|
items: {
|
|
30711
30992
|
properties: {
|
|
30993
|
+
created_access_method_ids: {
|
|
30994
|
+
description:
|
|
30995
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
30996
|
+
items: { format: 'uuid', type: 'string' },
|
|
30997
|
+
type: 'array',
|
|
30998
|
+
},
|
|
30712
30999
|
created_at: {
|
|
30713
31000
|
description:
|
|
30714
31001
|
'Date and time at which the requested access method was added to this access grant.',
|
|
@@ -30726,18 +31013,12 @@ export default {
|
|
|
30726
31013
|
enum: ['code', 'card', 'mobile_key'],
|
|
30727
31014
|
type: 'string',
|
|
30728
31015
|
},
|
|
30729
|
-
provisioned_access_method_ids: {
|
|
30730
|
-
description:
|
|
30731
|
-
'IDs of the locations to which access is being given.',
|
|
30732
|
-
items: { format: 'uuid', type: 'string' },
|
|
30733
|
-
type: 'array',
|
|
30734
|
-
},
|
|
30735
31016
|
},
|
|
30736
31017
|
required: [
|
|
30737
31018
|
'display_name',
|
|
30738
31019
|
'mode',
|
|
30739
31020
|
'created_at',
|
|
30740
|
-
'
|
|
31021
|
+
'created_access_method_ids',
|
|
30741
31022
|
],
|
|
30742
31023
|
type: 'object',
|
|
30743
31024
|
'x-undocumented': 'Unreleased.',
|
|
@@ -30763,6 +31044,7 @@ export default {
|
|
|
30763
31044
|
'user_identity_id',
|
|
30764
31045
|
'location_ids',
|
|
30765
31046
|
'requested_access_methods',
|
|
31047
|
+
'access_method_ids',
|
|
30766
31048
|
'display_name',
|
|
30767
31049
|
'created_at',
|
|
30768
31050
|
],
|
|
@@ -30849,6 +31131,12 @@ export default {
|
|
|
30849
31131
|
format: 'uuid',
|
|
30850
31132
|
type: 'string',
|
|
30851
31133
|
},
|
|
31134
|
+
access_method_ids: {
|
|
31135
|
+
description:
|
|
31136
|
+
'IDs of the access methods that were created for this access grant.',
|
|
31137
|
+
items: { format: 'uuid', type: 'string' },
|
|
31138
|
+
type: 'array',
|
|
31139
|
+
},
|
|
30852
31140
|
created_at: {
|
|
30853
31141
|
description:
|
|
30854
31142
|
'Date and time at which the access grant was created.',
|
|
@@ -30870,6 +31158,12 @@ export default {
|
|
|
30870
31158
|
'Access methods that the user requested for this access grant.',
|
|
30871
31159
|
items: {
|
|
30872
31160
|
properties: {
|
|
31161
|
+
created_access_method_ids: {
|
|
31162
|
+
description:
|
|
31163
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
31164
|
+
items: { format: 'uuid', type: 'string' },
|
|
31165
|
+
type: 'array',
|
|
31166
|
+
},
|
|
30873
31167
|
created_at: {
|
|
30874
31168
|
description:
|
|
30875
31169
|
'Date and time at which the requested access method was added to this access grant.',
|
|
@@ -30887,18 +31181,12 @@ export default {
|
|
|
30887
31181
|
enum: ['code', 'card', 'mobile_key'],
|
|
30888
31182
|
type: 'string',
|
|
30889
31183
|
},
|
|
30890
|
-
provisioned_access_method_ids: {
|
|
30891
|
-
description:
|
|
30892
|
-
'IDs of the locations to which access is being given.',
|
|
30893
|
-
items: { format: 'uuid', type: 'string' },
|
|
30894
|
-
type: 'array',
|
|
30895
|
-
},
|
|
30896
31184
|
},
|
|
30897
31185
|
required: [
|
|
30898
31186
|
'display_name',
|
|
30899
31187
|
'mode',
|
|
30900
31188
|
'created_at',
|
|
30901
|
-
'
|
|
31189
|
+
'created_access_method_ids',
|
|
30902
31190
|
],
|
|
30903
31191
|
type: 'object',
|
|
30904
31192
|
'x-undocumented': 'Unreleased.',
|
|
@@ -30924,6 +31212,7 @@ export default {
|
|
|
30924
31212
|
'user_identity_id',
|
|
30925
31213
|
'location_ids',
|
|
30926
31214
|
'requested_access_methods',
|
|
31215
|
+
'access_method_ids',
|
|
30927
31216
|
'display_name',
|
|
30928
31217
|
'created_at',
|
|
30929
31218
|
],
|
|
@@ -30959,10 +31248,11 @@ export default {
|
|
|
30959
31248
|
'x-undocumented': 'Unreleased.',
|
|
30960
31249
|
},
|
|
30961
31250
|
},
|
|
30962
|
-
'/
|
|
31251
|
+
'/unstable_access_methods/list': {
|
|
30963
31252
|
post: {
|
|
30964
|
-
description:
|
|
30965
|
-
|
|
31253
|
+
description:
|
|
31254
|
+
'List all access methods, usually filtered by access grant.',
|
|
31255
|
+
operationId: 'unstableAccessMethodsListPost',
|
|
30966
31256
|
requestBody: {
|
|
30967
31257
|
content: {
|
|
30968
31258
|
'application/json': {
|
|
@@ -31055,13 +31345,13 @@ export default {
|
|
|
31055
31345
|
{ console_session_with_workspace: [] },
|
|
31056
31346
|
{ api_key: [] },
|
|
31057
31347
|
],
|
|
31058
|
-
summary: '/
|
|
31348
|
+
summary: '/unstable_access_methods/list',
|
|
31059
31349
|
tags: [],
|
|
31060
|
-
'x-fern-sdk-group-name': ['
|
|
31061
|
-
'x-fern-sdk-method-name': '
|
|
31350
|
+
'x-fern-sdk-group-name': ['unstable_access_methods'],
|
|
31351
|
+
'x-fern-sdk-method-name': 'list',
|
|
31062
31352
|
'x-fern-sdk-return-value': 'access_methods',
|
|
31063
31353
|
'x-response-key': 'access_methods',
|
|
31064
|
-
'x-title': '
|
|
31354
|
+
'x-title': 'List Access Methods',
|
|
31065
31355
|
'x-undocumented': 'Unreleased.',
|
|
31066
31356
|
},
|
|
31067
31357
|
},
|