@seamapi/types 1.384.0 → 1.386.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 +629 -150
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4211 -445
- 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/models/colors.d.ts +2 -0
- package/lib/seam/connect/models/colors.js +8 -0
- package/lib/seam/connect/models/colors.js.map +1 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +277 -0
- package/lib/seam/connect/models/events/access-grants.js +60 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -0
- package/lib/seam/connect/models/events/access-methods.d.ts +146 -0
- package/lib/seam/connect/models/events/access-methods.js +35 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -0
- package/lib/seam/connect/models/workspaces/workspace.d.ts +33 -0
- package/lib/seam/connect/models/workspaces/workspace.js +8 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +523 -225
- package/lib/seam/connect/openapi.js +592 -171
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3477 -198
- package/package.json +2 -2
- 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/models/colors.ts +9 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +92 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +51 -0
- package/src/lib/seam/connect/models/workspaces/workspace.ts +9 -0
- package/src/lib/seam/connect/openapi.ts +615 -175
- package/src/lib/seam/connect/route-types.ts +3793 -36
|
@@ -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: {
|
|
@@ -17367,6 +17563,16 @@ export default {
|
|
|
17367
17563
|
type: 'string',
|
|
17368
17564
|
'x-deprecated': 'use company_name',
|
|
17369
17565
|
},
|
|
17566
|
+
connect_webview_customization: {
|
|
17567
|
+
properties: {
|
|
17568
|
+
inviter_logo_url: { type: 'string' },
|
|
17569
|
+
logo_shape: { enum: ['circle', 'square'], type: 'string' },
|
|
17570
|
+
primary_button_color: { type: 'string' },
|
|
17571
|
+
primary_button_text_color: { type: 'string' },
|
|
17572
|
+
success_message: { type: 'string' },
|
|
17573
|
+
},
|
|
17574
|
+
type: 'object',
|
|
17575
|
+
},
|
|
17370
17576
|
is_sandbox: { type: 'boolean' },
|
|
17371
17577
|
is_suspended: {
|
|
17372
17578
|
description:
|
|
@@ -17381,6 +17587,7 @@ export default {
|
|
|
17381
17587
|
'name',
|
|
17382
17588
|
'company_name',
|
|
17383
17589
|
'is_sandbox',
|
|
17590
|
+
'connect_webview_customization',
|
|
17384
17591
|
'is_suspended',
|
|
17385
17592
|
'connect_partner_name',
|
|
17386
17593
|
],
|
|
@@ -24706,18 +24913,15 @@ export default {
|
|
|
24706
24913
|
'x-response-key': 'device_providers',
|
|
24707
24914
|
},
|
|
24708
24915
|
},
|
|
24709
|
-
'/devices/simulate/
|
|
24916
|
+
'/devices/simulate/connect': {
|
|
24710
24917
|
post: {
|
|
24711
|
-
operationId: '
|
|
24918
|
+
operationId: 'devicesSimulateConnectPost',
|
|
24712
24919
|
requestBody: {
|
|
24713
24920
|
content: {
|
|
24714
24921
|
'application/json': {
|
|
24715
24922
|
schema: {
|
|
24716
|
-
properties: {
|
|
24717
|
-
|
|
24718
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
24719
|
-
},
|
|
24720
|
-
required: ['device_id', 'access_code_id'],
|
|
24923
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
24924
|
+
required: ['device_id'],
|
|
24721
24925
|
type: 'object',
|
|
24722
24926
|
},
|
|
24723
24927
|
},
|
|
@@ -24744,26 +24948,22 @@ export default {
|
|
|
24744
24948
|
{ pat_with_workspace: [] },
|
|
24745
24949
|
{ console_session_with_workspace: [] },
|
|
24746
24950
|
],
|
|
24747
|
-
summary: '/devices/simulate/
|
|
24951
|
+
summary: '/devices/simulate/connect',
|
|
24748
24952
|
tags: ['/devices'],
|
|
24749
24953
|
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
24750
|
-
'x-fern-sdk-method-name': '
|
|
24954
|
+
'x-fern-sdk-method-name': 'connect',
|
|
24751
24955
|
'x-response-key': null,
|
|
24752
|
-
'x-undocumented': 'Unreleased.',
|
|
24753
24956
|
},
|
|
24754
24957
|
},
|
|
24755
|
-
'/devices/simulate/
|
|
24958
|
+
'/devices/simulate/disconnect': {
|
|
24756
24959
|
post: {
|
|
24757
|
-
operationId: '
|
|
24960
|
+
operationId: 'devicesSimulateDisconnectPost',
|
|
24758
24961
|
requestBody: {
|
|
24759
24962
|
content: {
|
|
24760
24963
|
'application/json': {
|
|
24761
24964
|
schema: {
|
|
24762
|
-
properties: {
|
|
24763
|
-
|
|
24764
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
24765
|
-
},
|
|
24766
|
-
required: ['device_id', 'access_code_id'],
|
|
24965
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
24966
|
+
required: ['device_id'],
|
|
24767
24967
|
type: 'object',
|
|
24768
24968
|
},
|
|
24769
24969
|
},
|
|
@@ -24790,17 +24990,16 @@ export default {
|
|
|
24790
24990
|
{ pat_with_workspace: [] },
|
|
24791
24991
|
{ console_session_with_workspace: [] },
|
|
24792
24992
|
],
|
|
24793
|
-
summary: '/devices/simulate/
|
|
24993
|
+
summary: '/devices/simulate/disconnect',
|
|
24794
24994
|
tags: ['/devices'],
|
|
24795
24995
|
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
24796
|
-
'x-fern-sdk-method-name': '
|
|
24996
|
+
'x-fern-sdk-method-name': 'disconnect',
|
|
24797
24997
|
'x-response-key': null,
|
|
24798
|
-
'x-undocumented': 'Unreleased.',
|
|
24799
24998
|
},
|
|
24800
24999
|
},
|
|
24801
|
-
'/devices/simulate/
|
|
25000
|
+
'/devices/simulate/remove': {
|
|
24802
25001
|
post: {
|
|
24803
|
-
operationId: '
|
|
25002
|
+
operationId: 'devicesSimulateRemovePost',
|
|
24804
25003
|
requestBody: {
|
|
24805
25004
|
content: {
|
|
24806
25005
|
'application/json': {
|
|
@@ -24833,22 +25032,24 @@ export default {
|
|
|
24833
25032
|
{ pat_with_workspace: [] },
|
|
24834
25033
|
{ console_session_with_workspace: [] },
|
|
24835
25034
|
],
|
|
24836
|
-
summary: '/devices/simulate/
|
|
25035
|
+
summary: '/devices/simulate/remove',
|
|
24837
25036
|
tags: ['/devices'],
|
|
24838
25037
|
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
24839
|
-
'x-fern-sdk-method-name': '
|
|
25038
|
+
'x-fern-sdk-method-name': 'remove',
|
|
24840
25039
|
'x-response-key': null,
|
|
24841
25040
|
},
|
|
24842
25041
|
},
|
|
24843
|
-
'/devices/
|
|
25042
|
+
'/devices/unmanaged/get': {
|
|
24844
25043
|
post: {
|
|
24845
|
-
operationId: '
|
|
25044
|
+
operationId: 'devicesUnmanagedGetPost',
|
|
24846
25045
|
requestBody: {
|
|
24847
25046
|
content: {
|
|
24848
25047
|
'application/json': {
|
|
24849
25048
|
schema: {
|
|
24850
|
-
properties: {
|
|
24851
|
-
|
|
25049
|
+
properties: {
|
|
25050
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
25051
|
+
name: { type: 'string' },
|
|
25052
|
+
},
|
|
24852
25053
|
type: 'object',
|
|
24853
25054
|
},
|
|
24854
25055
|
},
|
|
@@ -24859,8 +25060,11 @@ export default {
|
|
|
24859
25060
|
content: {
|
|
24860
25061
|
'application/json': {
|
|
24861
25062
|
schema: {
|
|
24862
|
-
properties: {
|
|
24863
|
-
|
|
25063
|
+
properties: {
|
|
25064
|
+
device: { $ref: '#/components/schemas/unmanaged_device' },
|
|
25065
|
+
ok: { type: 'boolean' },
|
|
25066
|
+
},
|
|
25067
|
+
required: ['device', 'ok'],
|
|
24864
25068
|
type: 'object',
|
|
24865
25069
|
},
|
|
24866
25070
|
},
|
|
@@ -24871,111 +25075,22 @@ export default {
|
|
|
24871
25075
|
401: { description: 'Unauthorized' },
|
|
24872
25076
|
},
|
|
24873
25077
|
security: [
|
|
24874
|
-
{
|
|
25078
|
+
{ client_session: [] },
|
|
24875
25079
|
{ pat_with_workspace: [] },
|
|
24876
25080
|
{ console_session_with_workspace: [] },
|
|
25081
|
+
{ api_key: [] },
|
|
24877
25082
|
],
|
|
24878
|
-
summary: '/devices/
|
|
25083
|
+
summary: '/devices/unmanaged/get',
|
|
24879
25084
|
tags: ['/devices'],
|
|
24880
|
-
'x-fern-sdk-group-name': ['devices', '
|
|
24881
|
-
'x-fern-sdk-method-name': '
|
|
24882
|
-
'x-
|
|
25085
|
+
'x-fern-sdk-group-name': ['devices', 'unmanaged'],
|
|
25086
|
+
'x-fern-sdk-method-name': 'get',
|
|
25087
|
+
'x-fern-sdk-return-value': 'device',
|
|
25088
|
+
'x-response-key': 'device',
|
|
24883
25089
|
},
|
|
24884
25090
|
},
|
|
24885
|
-
'/devices/
|
|
25091
|
+
'/devices/unmanaged/list': {
|
|
24886
25092
|
post: {
|
|
24887
|
-
operationId: '
|
|
24888
|
-
requestBody: {
|
|
24889
|
-
content: {
|
|
24890
|
-
'application/json': {
|
|
24891
|
-
schema: {
|
|
24892
|
-
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
24893
|
-
required: ['device_id'],
|
|
24894
|
-
type: 'object',
|
|
24895
|
-
},
|
|
24896
|
-
},
|
|
24897
|
-
},
|
|
24898
|
-
},
|
|
24899
|
-
responses: {
|
|
24900
|
-
200: {
|
|
24901
|
-
content: {
|
|
24902
|
-
'application/json': {
|
|
24903
|
-
schema: {
|
|
24904
|
-
properties: { ok: { type: 'boolean' } },
|
|
24905
|
-
required: ['ok'],
|
|
24906
|
-
type: 'object',
|
|
24907
|
-
},
|
|
24908
|
-
},
|
|
24909
|
-
},
|
|
24910
|
-
description: 'OK',
|
|
24911
|
-
},
|
|
24912
|
-
400: { description: 'Bad Request' },
|
|
24913
|
-
401: { description: 'Unauthorized' },
|
|
24914
|
-
},
|
|
24915
|
-
security: [
|
|
24916
|
-
{ api_key: [] },
|
|
24917
|
-
{ pat_with_workspace: [] },
|
|
24918
|
-
{ console_session_with_workspace: [] },
|
|
24919
|
-
],
|
|
24920
|
-
summary: '/devices/simulate/remove',
|
|
24921
|
-
tags: ['/devices'],
|
|
24922
|
-
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
24923
|
-
'x-fern-sdk-method-name': 'remove',
|
|
24924
|
-
'x-response-key': null,
|
|
24925
|
-
},
|
|
24926
|
-
},
|
|
24927
|
-
'/devices/unmanaged/get': {
|
|
24928
|
-
post: {
|
|
24929
|
-
operationId: 'devicesUnmanagedGetPost',
|
|
24930
|
-
requestBody: {
|
|
24931
|
-
content: {
|
|
24932
|
-
'application/json': {
|
|
24933
|
-
schema: {
|
|
24934
|
-
properties: {
|
|
24935
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
24936
|
-
name: { type: 'string' },
|
|
24937
|
-
},
|
|
24938
|
-
type: 'object',
|
|
24939
|
-
},
|
|
24940
|
-
},
|
|
24941
|
-
},
|
|
24942
|
-
},
|
|
24943
|
-
responses: {
|
|
24944
|
-
200: {
|
|
24945
|
-
content: {
|
|
24946
|
-
'application/json': {
|
|
24947
|
-
schema: {
|
|
24948
|
-
properties: {
|
|
24949
|
-
device: { $ref: '#/components/schemas/unmanaged_device' },
|
|
24950
|
-
ok: { type: 'boolean' },
|
|
24951
|
-
},
|
|
24952
|
-
required: ['device', 'ok'],
|
|
24953
|
-
type: 'object',
|
|
24954
|
-
},
|
|
24955
|
-
},
|
|
24956
|
-
},
|
|
24957
|
-
description: 'OK',
|
|
24958
|
-
},
|
|
24959
|
-
400: { description: 'Bad Request' },
|
|
24960
|
-
401: { description: 'Unauthorized' },
|
|
24961
|
-
},
|
|
24962
|
-
security: [
|
|
24963
|
-
{ client_session: [] },
|
|
24964
|
-
{ pat_with_workspace: [] },
|
|
24965
|
-
{ console_session_with_workspace: [] },
|
|
24966
|
-
{ api_key: [] },
|
|
24967
|
-
],
|
|
24968
|
-
summary: '/devices/unmanaged/get',
|
|
24969
|
-
tags: ['/devices'],
|
|
24970
|
-
'x-fern-sdk-group-name': ['devices', 'unmanaged'],
|
|
24971
|
-
'x-fern-sdk-method-name': 'get',
|
|
24972
|
-
'x-fern-sdk-return-value': 'device',
|
|
24973
|
-
'x-response-key': 'device',
|
|
24974
|
-
},
|
|
24975
|
-
},
|
|
24976
|
-
'/devices/unmanaged/list': {
|
|
24977
|
-
post: {
|
|
24978
|
-
operationId: 'devicesUnmanagedListPost',
|
|
25093
|
+
operationId: 'devicesUnmanagedListPost',
|
|
24979
25094
|
requestBody: {
|
|
24980
25095
|
content: {
|
|
24981
25096
|
'application/json': {
|
|
@@ -26149,6 +26264,109 @@ export default {
|
|
|
26149
26264
|
'x-response-key': 'action_attempt',
|
|
26150
26265
|
},
|
|
26151
26266
|
},
|
|
26267
|
+
'/locks/simulate/keypad_code_entry': {
|
|
26268
|
+
post: {
|
|
26269
|
+
operationId: 'locksSimulateKeypadCodeEntryPost',
|
|
26270
|
+
requestBody: {
|
|
26271
|
+
content: {
|
|
26272
|
+
'application/json': {
|
|
26273
|
+
schema: {
|
|
26274
|
+
properties: {
|
|
26275
|
+
code: { type: 'string' },
|
|
26276
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
26277
|
+
},
|
|
26278
|
+
required: ['device_id', 'code'],
|
|
26279
|
+
type: 'object',
|
|
26280
|
+
},
|
|
26281
|
+
},
|
|
26282
|
+
},
|
|
26283
|
+
},
|
|
26284
|
+
responses: {
|
|
26285
|
+
200: {
|
|
26286
|
+
content: {
|
|
26287
|
+
'application/json': {
|
|
26288
|
+
schema: {
|
|
26289
|
+
properties: {
|
|
26290
|
+
action_attempt: {
|
|
26291
|
+
$ref: '#/components/schemas/action_attempt',
|
|
26292
|
+
},
|
|
26293
|
+
ok: { type: 'boolean' },
|
|
26294
|
+
},
|
|
26295
|
+
required: ['action_attempt', 'ok'],
|
|
26296
|
+
type: 'object',
|
|
26297
|
+
},
|
|
26298
|
+
},
|
|
26299
|
+
},
|
|
26300
|
+
description: 'OK',
|
|
26301
|
+
},
|
|
26302
|
+
400: { description: 'Bad Request' },
|
|
26303
|
+
401: { description: 'Unauthorized' },
|
|
26304
|
+
},
|
|
26305
|
+
security: [
|
|
26306
|
+
{ api_key: [] },
|
|
26307
|
+
{ pat_with_workspace: [] },
|
|
26308
|
+
{ console_session_with_workspace: [] },
|
|
26309
|
+
],
|
|
26310
|
+
summary: '/locks/simulate/keypad_code_entry',
|
|
26311
|
+
tags: ['/locks'],
|
|
26312
|
+
'x-action-attempt-type': 'SIMULATE_KEYPAD_CODE_ENTRY',
|
|
26313
|
+
'x-fern-sdk-group-name': ['locks', 'simulate'],
|
|
26314
|
+
'x-fern-sdk-method-name': 'keypad_code_entry',
|
|
26315
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
26316
|
+
'x-response-key': 'action_attempt',
|
|
26317
|
+
'x-undocumented': 'Unreleased.',
|
|
26318
|
+
},
|
|
26319
|
+
},
|
|
26320
|
+
'/locks/simulate/manual_lock_via_keypad': {
|
|
26321
|
+
post: {
|
|
26322
|
+
operationId: 'locksSimulateManualLockViaKeypadPost',
|
|
26323
|
+
requestBody: {
|
|
26324
|
+
content: {
|
|
26325
|
+
'application/json': {
|
|
26326
|
+
schema: {
|
|
26327
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
26328
|
+
required: ['device_id'],
|
|
26329
|
+
type: 'object',
|
|
26330
|
+
},
|
|
26331
|
+
},
|
|
26332
|
+
},
|
|
26333
|
+
},
|
|
26334
|
+
responses: {
|
|
26335
|
+
200: {
|
|
26336
|
+
content: {
|
|
26337
|
+
'application/json': {
|
|
26338
|
+
schema: {
|
|
26339
|
+
properties: {
|
|
26340
|
+
action_attempt: {
|
|
26341
|
+
$ref: '#/components/schemas/action_attempt',
|
|
26342
|
+
},
|
|
26343
|
+
ok: { type: 'boolean' },
|
|
26344
|
+
},
|
|
26345
|
+
required: ['action_attempt', 'ok'],
|
|
26346
|
+
type: 'object',
|
|
26347
|
+
},
|
|
26348
|
+
},
|
|
26349
|
+
},
|
|
26350
|
+
description: 'OK',
|
|
26351
|
+
},
|
|
26352
|
+
400: { description: 'Bad Request' },
|
|
26353
|
+
401: { description: 'Unauthorized' },
|
|
26354
|
+
},
|
|
26355
|
+
security: [
|
|
26356
|
+
{ api_key: [] },
|
|
26357
|
+
{ pat_with_workspace: [] },
|
|
26358
|
+
{ console_session_with_workspace: [] },
|
|
26359
|
+
],
|
|
26360
|
+
summary: '/locks/simulate/manual_lock_via_keypad',
|
|
26361
|
+
tags: ['/locks'],
|
|
26362
|
+
'x-action-attempt-type': 'SIMULATE_MANUAL_LOCK_VIA_KEYPAD',
|
|
26363
|
+
'x-fern-sdk-group-name': ['locks', 'simulate'],
|
|
26364
|
+
'x-fern-sdk-method-name': 'manual_lock_via_keypad',
|
|
26365
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
26366
|
+
'x-response-key': 'action_attempt',
|
|
26367
|
+
'x-undocumented': 'Unreleased.',
|
|
26368
|
+
},
|
|
26369
|
+
},
|
|
26152
26370
|
'/locks/unlock_door': {
|
|
26153
26371
|
post: {
|
|
26154
26372
|
operationId: 'locksUnlockDoorPost',
|
|
@@ -28308,6 +28526,64 @@ export default {
|
|
|
28308
28526
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
28309
28527
|
},
|
|
28310
28528
|
},
|
|
28529
|
+
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
28530
|
+
post: {
|
|
28531
|
+
description:
|
|
28532
|
+
'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.',
|
|
28533
|
+
operationId: 'seamInstantKeyV1ClientSessionsExchangeShortCodePost',
|
|
28534
|
+
requestBody: {
|
|
28535
|
+
content: {
|
|
28536
|
+
'application/json': {
|
|
28537
|
+
schema: {
|
|
28538
|
+
properties: {
|
|
28539
|
+
short_code: {
|
|
28540
|
+
description:
|
|
28541
|
+
'The short code to exchange for a client session token',
|
|
28542
|
+
type: 'string',
|
|
28543
|
+
},
|
|
28544
|
+
},
|
|
28545
|
+
required: ['short_code'],
|
|
28546
|
+
type: 'object',
|
|
28547
|
+
},
|
|
28548
|
+
},
|
|
28549
|
+
},
|
|
28550
|
+
},
|
|
28551
|
+
responses: {
|
|
28552
|
+
200: {
|
|
28553
|
+
content: {
|
|
28554
|
+
'application/json': {
|
|
28555
|
+
schema: {
|
|
28556
|
+
properties: {
|
|
28557
|
+
client_session: {
|
|
28558
|
+
$ref: '#/components/schemas/client_session',
|
|
28559
|
+
},
|
|
28560
|
+
ok: { type: 'boolean' },
|
|
28561
|
+
},
|
|
28562
|
+
required: ['client_session', 'ok'],
|
|
28563
|
+
type: 'object',
|
|
28564
|
+
},
|
|
28565
|
+
},
|
|
28566
|
+
},
|
|
28567
|
+
description: 'OK',
|
|
28568
|
+
},
|
|
28569
|
+
400: { description: 'Bad Request' },
|
|
28570
|
+
401: { description: 'Unauthorized' },
|
|
28571
|
+
},
|
|
28572
|
+
security: [{ certified_client: [] }],
|
|
28573
|
+
summary: '/seam/instant_key/v1/client_sessions/exchange_short_code',
|
|
28574
|
+
tags: ['/client_sessions'],
|
|
28575
|
+
'x-fern-sdk-group-name': [
|
|
28576
|
+
'seam',
|
|
28577
|
+
'instant_key',
|
|
28578
|
+
'v1',
|
|
28579
|
+
'client_sessions',
|
|
28580
|
+
],
|
|
28581
|
+
'x-fern-sdk-method-name': 'exchange_short_code',
|
|
28582
|
+
'x-fern-sdk-return-value': 'client_session',
|
|
28583
|
+
'x-response-key': 'client_session',
|
|
28584
|
+
'x-title': 'Exchange Instant Key Short Code',
|
|
28585
|
+
},
|
|
28586
|
+
},
|
|
28311
28587
|
'/thermostats/activate_climate_preset': {
|
|
28312
28588
|
post: {
|
|
28313
28589
|
description:
|
|
@@ -30470,21 +30746,6 @@ export default {
|
|
|
30470
30746
|
},
|
|
30471
30747
|
{
|
|
30472
30748
|
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
30749
|
ends_at: {
|
|
30489
30750
|
description:
|
|
30490
30751
|
'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 +30770,10 @@ export default {
|
|
|
30509
30770
|
items: { format: 'uuid', type: 'string' },
|
|
30510
30771
|
type: 'array',
|
|
30511
30772
|
},
|
|
30773
|
+
name: {
|
|
30774
|
+
description: 'Name of the location.',
|
|
30775
|
+
type: 'string',
|
|
30776
|
+
},
|
|
30512
30777
|
},
|
|
30513
30778
|
type: 'object',
|
|
30514
30779
|
},
|
|
@@ -30518,6 +30783,21 @@ export default {
|
|
|
30518
30783
|
items: { format: 'uuid', type: 'string' },
|
|
30519
30784
|
type: 'array',
|
|
30520
30785
|
},
|
|
30786
|
+
requested_access_methods: {
|
|
30787
|
+
items: {
|
|
30788
|
+
properties: {
|
|
30789
|
+
mode: {
|
|
30790
|
+
description:
|
|
30791
|
+
'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
|
|
30792
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
30793
|
+
type: 'string',
|
|
30794
|
+
},
|
|
30795
|
+
},
|
|
30796
|
+
required: ['mode'],
|
|
30797
|
+
type: 'object',
|
|
30798
|
+
},
|
|
30799
|
+
type: 'array',
|
|
30800
|
+
},
|
|
30521
30801
|
starts_at: {
|
|
30522
30802
|
description:
|
|
30523
30803
|
'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 +30805,7 @@ export default {
|
|
|
30525
30805
|
type: 'string',
|
|
30526
30806
|
},
|
|
30527
30807
|
},
|
|
30528
|
-
required: ['
|
|
30808
|
+
required: ['requested_access_methods'],
|
|
30529
30809
|
type: 'object',
|
|
30530
30810
|
},
|
|
30531
30811
|
],
|
|
@@ -30546,6 +30826,12 @@ export default {
|
|
|
30546
30826
|
format: 'uuid',
|
|
30547
30827
|
type: 'string',
|
|
30548
30828
|
},
|
|
30829
|
+
access_method_ids: {
|
|
30830
|
+
description:
|
|
30831
|
+
'IDs of the access methods that were created for this access grant.',
|
|
30832
|
+
items: { format: 'uuid', type: 'string' },
|
|
30833
|
+
type: 'array',
|
|
30834
|
+
},
|
|
30549
30835
|
created_at: {
|
|
30550
30836
|
description:
|
|
30551
30837
|
'Date and time at which the access grant was created.',
|
|
@@ -30567,6 +30853,12 @@ export default {
|
|
|
30567
30853
|
'Access methods that the user requested for this access grant.',
|
|
30568
30854
|
items: {
|
|
30569
30855
|
properties: {
|
|
30856
|
+
created_access_method_ids: {
|
|
30857
|
+
description:
|
|
30858
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
30859
|
+
items: { format: 'uuid', type: 'string' },
|
|
30860
|
+
type: 'array',
|
|
30861
|
+
},
|
|
30570
30862
|
created_at: {
|
|
30571
30863
|
description:
|
|
30572
30864
|
'Date and time at which the requested access method was added to this access grant.',
|
|
@@ -30584,18 +30876,12 @@ export default {
|
|
|
30584
30876
|
enum: ['code', 'card', 'mobile_key'],
|
|
30585
30877
|
type: 'string',
|
|
30586
30878
|
},
|
|
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
30879
|
},
|
|
30594
30880
|
required: [
|
|
30595
30881
|
'display_name',
|
|
30596
30882
|
'mode',
|
|
30597
30883
|
'created_at',
|
|
30598
|
-
'
|
|
30884
|
+
'created_access_method_ids',
|
|
30599
30885
|
],
|
|
30600
30886
|
type: 'object',
|
|
30601
30887
|
'x-undocumented': 'Unreleased.',
|
|
@@ -30621,6 +30907,7 @@ export default {
|
|
|
30621
30907
|
'user_identity_id',
|
|
30622
30908
|
'location_ids',
|
|
30623
30909
|
'requested_access_methods',
|
|
30910
|
+
'access_method_ids',
|
|
30624
30911
|
'display_name',
|
|
30625
30912
|
'created_at',
|
|
30626
30913
|
],
|
|
@@ -30688,6 +30975,12 @@ export default {
|
|
|
30688
30975
|
format: 'uuid',
|
|
30689
30976
|
type: 'string',
|
|
30690
30977
|
},
|
|
30978
|
+
access_method_ids: {
|
|
30979
|
+
description:
|
|
30980
|
+
'IDs of the access methods that were created for this access grant.',
|
|
30981
|
+
items: { format: 'uuid', type: 'string' },
|
|
30982
|
+
type: 'array',
|
|
30983
|
+
},
|
|
30691
30984
|
created_at: {
|
|
30692
30985
|
description:
|
|
30693
30986
|
'Date and time at which the access grant was created.',
|
|
@@ -30709,6 +31002,12 @@ export default {
|
|
|
30709
31002
|
'Access methods that the user requested for this access grant.',
|
|
30710
31003
|
items: {
|
|
30711
31004
|
properties: {
|
|
31005
|
+
created_access_method_ids: {
|
|
31006
|
+
description:
|
|
31007
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
31008
|
+
items: { format: 'uuid', type: 'string' },
|
|
31009
|
+
type: 'array',
|
|
31010
|
+
},
|
|
30712
31011
|
created_at: {
|
|
30713
31012
|
description:
|
|
30714
31013
|
'Date and time at which the requested access method was added to this access grant.',
|
|
@@ -30726,18 +31025,12 @@ export default {
|
|
|
30726
31025
|
enum: ['code', 'card', 'mobile_key'],
|
|
30727
31026
|
type: 'string',
|
|
30728
31027
|
},
|
|
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
31028
|
},
|
|
30736
31029
|
required: [
|
|
30737
31030
|
'display_name',
|
|
30738
31031
|
'mode',
|
|
30739
31032
|
'created_at',
|
|
30740
|
-
'
|
|
31033
|
+
'created_access_method_ids',
|
|
30741
31034
|
],
|
|
30742
31035
|
type: 'object',
|
|
30743
31036
|
'x-undocumented': 'Unreleased.',
|
|
@@ -30763,6 +31056,7 @@ export default {
|
|
|
30763
31056
|
'user_identity_id',
|
|
30764
31057
|
'location_ids',
|
|
30765
31058
|
'requested_access_methods',
|
|
31059
|
+
'access_method_ids',
|
|
30766
31060
|
'display_name',
|
|
30767
31061
|
'created_at',
|
|
30768
31062
|
],
|
|
@@ -30849,6 +31143,12 @@ export default {
|
|
|
30849
31143
|
format: 'uuid',
|
|
30850
31144
|
type: 'string',
|
|
30851
31145
|
},
|
|
31146
|
+
access_method_ids: {
|
|
31147
|
+
description:
|
|
31148
|
+
'IDs of the access methods that were created for this access grant.',
|
|
31149
|
+
items: { format: 'uuid', type: 'string' },
|
|
31150
|
+
type: 'array',
|
|
31151
|
+
},
|
|
30852
31152
|
created_at: {
|
|
30853
31153
|
description:
|
|
30854
31154
|
'Date and time at which the access grant was created.',
|
|
@@ -30870,6 +31170,12 @@ export default {
|
|
|
30870
31170
|
'Access methods that the user requested for this access grant.',
|
|
30871
31171
|
items: {
|
|
30872
31172
|
properties: {
|
|
31173
|
+
created_access_method_ids: {
|
|
31174
|
+
description:
|
|
31175
|
+
'IDs of the access methods that were created for this requested access method.',
|
|
31176
|
+
items: { format: 'uuid', type: 'string' },
|
|
31177
|
+
type: 'array',
|
|
31178
|
+
},
|
|
30873
31179
|
created_at: {
|
|
30874
31180
|
description:
|
|
30875
31181
|
'Date and time at which the requested access method was added to this access grant.',
|
|
@@ -30887,18 +31193,12 @@ export default {
|
|
|
30887
31193
|
enum: ['code', 'card', 'mobile_key'],
|
|
30888
31194
|
type: 'string',
|
|
30889
31195
|
},
|
|
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
31196
|
},
|
|
30897
31197
|
required: [
|
|
30898
31198
|
'display_name',
|
|
30899
31199
|
'mode',
|
|
30900
31200
|
'created_at',
|
|
30901
|
-
'
|
|
31201
|
+
'created_access_method_ids',
|
|
30902
31202
|
],
|
|
30903
31203
|
type: 'object',
|
|
30904
31204
|
'x-undocumented': 'Unreleased.',
|
|
@@ -30924,6 +31224,7 @@ export default {
|
|
|
30924
31224
|
'user_identity_id',
|
|
30925
31225
|
'location_ids',
|
|
30926
31226
|
'requested_access_methods',
|
|
31227
|
+
'access_method_ids',
|
|
30927
31228
|
'display_name',
|
|
30928
31229
|
'created_at',
|
|
30929
31230
|
],
|
|
@@ -30959,10 +31260,11 @@ export default {
|
|
|
30959
31260
|
'x-undocumented': 'Unreleased.',
|
|
30960
31261
|
},
|
|
30961
31262
|
},
|
|
30962
|
-
'/
|
|
31263
|
+
'/unstable_access_methods/list': {
|
|
30963
31264
|
post: {
|
|
30964
|
-
description:
|
|
30965
|
-
|
|
31265
|
+
description:
|
|
31266
|
+
'List all access methods, usually filtered by access grant.',
|
|
31267
|
+
operationId: 'unstableAccessMethodsListPost',
|
|
30966
31268
|
requestBody: {
|
|
30967
31269
|
content: {
|
|
30968
31270
|
'application/json': {
|
|
@@ -31055,13 +31357,13 @@ export default {
|
|
|
31055
31357
|
{ console_session_with_workspace: [] },
|
|
31056
31358
|
{ api_key: [] },
|
|
31057
31359
|
],
|
|
31058
|
-
summary: '/
|
|
31360
|
+
summary: '/unstable_access_methods/list',
|
|
31059
31361
|
tags: [],
|
|
31060
|
-
'x-fern-sdk-group-name': ['
|
|
31061
|
-
'x-fern-sdk-method-name': '
|
|
31362
|
+
'x-fern-sdk-group-name': ['unstable_access_methods'],
|
|
31363
|
+
'x-fern-sdk-method-name': 'list',
|
|
31062
31364
|
'x-fern-sdk-return-value': 'access_methods',
|
|
31063
31365
|
'x-response-key': 'access_methods',
|
|
31064
|
-
'x-title': '
|
|
31366
|
+
'x-title': 'List Access Methods',
|
|
31065
31367
|
'x-undocumented': 'Unreleased.',
|
|
31066
31368
|
},
|
|
31067
31369
|
},
|
|
@@ -32390,6 +32692,13 @@ export default {
|
|
|
32390
32692
|
'application/json': {
|
|
32391
32693
|
schema: {
|
|
32392
32694
|
properties: {
|
|
32695
|
+
max_use_count: {
|
|
32696
|
+
default: 1,
|
|
32697
|
+
description:
|
|
32698
|
+
'The maximum number of times the instant key can be used. Defaults to 1.',
|
|
32699
|
+
format: 'float',
|
|
32700
|
+
type: 'number',
|
|
32701
|
+
},
|
|
32393
32702
|
user_identity_id: {
|
|
32394
32703
|
description:
|
|
32395
32704
|
'ID of the user identity for which you want to generate an instant key.',
|
|
@@ -33412,15 +33721,49 @@ export default {
|
|
|
33412
33721
|
type: 'string',
|
|
33413
33722
|
'x-deprecated': 'use company_name',
|
|
33414
33723
|
},
|
|
33724
|
+
connect_webview_customization: {
|
|
33725
|
+
properties: {
|
|
33726
|
+
logo_shape: {
|
|
33727
|
+
enum: ['circle', 'square'],
|
|
33728
|
+
nullable: true,
|
|
33729
|
+
type: 'string',
|
|
33730
|
+
},
|
|
33731
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
33732
|
+
primary_button_text_color: {
|
|
33733
|
+
nullable: true,
|
|
33734
|
+
type: 'string',
|
|
33735
|
+
},
|
|
33736
|
+
success_message: { nullable: true, type: 'string' },
|
|
33737
|
+
},
|
|
33738
|
+
type: 'object',
|
|
33739
|
+
},
|
|
33415
33740
|
is_sandbox: { default: false, type: 'boolean' },
|
|
33416
33741
|
name: { type: 'string' },
|
|
33417
33742
|
webview_logo_shape: {
|
|
33743
|
+
deprecated: true,
|
|
33418
33744
|
enum: ['circle', 'square'],
|
|
33419
33745
|
type: 'string',
|
|
33746
|
+
'x-deprecated':
|
|
33747
|
+
'Use `connect_webview_customization.webview_logo_shape` instead.',
|
|
33748
|
+
},
|
|
33749
|
+
webview_primary_button_color: {
|
|
33750
|
+
deprecated: true,
|
|
33751
|
+
type: 'string',
|
|
33752
|
+
'x-deprecated':
|
|
33753
|
+
'Use `connect_webview_customization.webview_primary_button_color` instead.',
|
|
33754
|
+
},
|
|
33755
|
+
webview_primary_button_text_color: {
|
|
33756
|
+
deprecated: true,
|
|
33757
|
+
type: 'string',
|
|
33758
|
+
'x-deprecated':
|
|
33759
|
+
'Use `connect_webview_customization.webview_primary_button_text_color` instead.',
|
|
33760
|
+
},
|
|
33761
|
+
webview_success_message: {
|
|
33762
|
+
deprecated: true,
|
|
33763
|
+
type: 'string',
|
|
33764
|
+
'x-deprecated':
|
|
33765
|
+
'Use `connect_webview_customization.webview_success_message` instead.',
|
|
33420
33766
|
},
|
|
33421
|
-
webview_primary_button_color: { type: 'string' },
|
|
33422
|
-
webview_primary_button_text_color: { type: 'string' },
|
|
33423
|
-
webview_success_message: { type: 'string' },
|
|
33424
33767
|
},
|
|
33425
33768
|
required: ['name'],
|
|
33426
33769
|
type: 'object',
|
|
@@ -33644,6 +33987,103 @@ export default {
|
|
|
33644
33987
|
'x-response-key': 'action_attempt',
|
|
33645
33988
|
},
|
|
33646
33989
|
},
|
|
33990
|
+
'/workspaces/update': {
|
|
33991
|
+
patch: {
|
|
33992
|
+
operationId: 'workspacesUpdatePatch',
|
|
33993
|
+
requestBody: {
|
|
33994
|
+
content: {
|
|
33995
|
+
'application/json': {
|
|
33996
|
+
schema: {
|
|
33997
|
+
properties: {
|
|
33998
|
+
connect_partner_name: { type: 'string' },
|
|
33999
|
+
connect_webview_customization: {
|
|
34000
|
+
properties: {
|
|
34001
|
+
logo_shape: {
|
|
34002
|
+
enum: ['circle', 'square'],
|
|
34003
|
+
nullable: true,
|
|
34004
|
+
type: 'string',
|
|
34005
|
+
},
|
|
34006
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
34007
|
+
primary_button_text_color: {
|
|
34008
|
+
nullable: true,
|
|
34009
|
+
type: 'string',
|
|
34010
|
+
},
|
|
34011
|
+
success_message: { nullable: true, type: 'string' },
|
|
34012
|
+
},
|
|
34013
|
+
type: 'object',
|
|
34014
|
+
},
|
|
34015
|
+
is_suspended: { type: 'boolean' },
|
|
34016
|
+
name: { type: 'string' },
|
|
34017
|
+
},
|
|
34018
|
+
type: 'object',
|
|
34019
|
+
},
|
|
34020
|
+
},
|
|
34021
|
+
},
|
|
34022
|
+
},
|
|
34023
|
+
responses: {
|
|
34024
|
+
200: { description: 'OK' },
|
|
34025
|
+
400: { description: 'Bad Request' },
|
|
34026
|
+
401: { description: 'Unauthorized' },
|
|
34027
|
+
},
|
|
34028
|
+
security: [
|
|
34029
|
+
{ api_key: [] },
|
|
34030
|
+
{ console_session_with_workspace: [] },
|
|
34031
|
+
{ pat_with_workspace: [] },
|
|
34032
|
+
],
|
|
34033
|
+
summary: '/workspaces/update',
|
|
34034
|
+
tags: ['/workspaces'],
|
|
34035
|
+
'x-fern-ignore': true,
|
|
34036
|
+
'x-response-key': null,
|
|
34037
|
+
},
|
|
34038
|
+
post: {
|
|
34039
|
+
operationId: 'workspacesUpdatePost',
|
|
34040
|
+
requestBody: {
|
|
34041
|
+
content: {
|
|
34042
|
+
'application/json': {
|
|
34043
|
+
schema: {
|
|
34044
|
+
properties: {
|
|
34045
|
+
connect_partner_name: { type: 'string' },
|
|
34046
|
+
connect_webview_customization: {
|
|
34047
|
+
properties: {
|
|
34048
|
+
logo_shape: {
|
|
34049
|
+
enum: ['circle', 'square'],
|
|
34050
|
+
nullable: true,
|
|
34051
|
+
type: 'string',
|
|
34052
|
+
},
|
|
34053
|
+
primary_button_color: { nullable: true, type: 'string' },
|
|
34054
|
+
primary_button_text_color: {
|
|
34055
|
+
nullable: true,
|
|
34056
|
+
type: 'string',
|
|
34057
|
+
},
|
|
34058
|
+
success_message: { nullable: true, type: 'string' },
|
|
34059
|
+
},
|
|
34060
|
+
type: 'object',
|
|
34061
|
+
},
|
|
34062
|
+
is_suspended: { type: 'boolean' },
|
|
34063
|
+
name: { type: 'string' },
|
|
34064
|
+
},
|
|
34065
|
+
type: 'object',
|
|
34066
|
+
},
|
|
34067
|
+
},
|
|
34068
|
+
},
|
|
34069
|
+
},
|
|
34070
|
+
responses: {
|
|
34071
|
+
200: { description: 'OK' },
|
|
34072
|
+
400: { description: 'Bad Request' },
|
|
34073
|
+
401: { description: 'Unauthorized' },
|
|
34074
|
+
},
|
|
34075
|
+
security: [
|
|
34076
|
+
{ api_key: [] },
|
|
34077
|
+
{ console_session_with_workspace: [] },
|
|
34078
|
+
{ pat_with_workspace: [] },
|
|
34079
|
+
],
|
|
34080
|
+
summary: '/workspaces/update',
|
|
34081
|
+
tags: ['/workspaces'],
|
|
34082
|
+
'x-fern-sdk-group-name': ['workspaces'],
|
|
34083
|
+
'x-fern-sdk-method-name': 'update',
|
|
34084
|
+
'x-response-key': null,
|
|
34085
|
+
},
|
|
34086
|
+
},
|
|
33647
34087
|
},
|
|
33648
34088
|
servers: [{ url: 'https://connect.getseam.com' }],
|
|
33649
34089
|
tags: [
|