@seamapi/types 1.344.2 → 1.345.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 +157 -30
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +242 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +26 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +8 -0
- 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 +16 -0
- package/lib/seam/connect/models/devices/phone-properties.js +18 -8
- package/lib/seam/connect/models/devices/phone-properties.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.js +4 -1
- package/lib/seam/connect/models/devices/phone.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +39 -0
- package/lib/seam/connect/openapi.js +139 -20
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +161 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +9 -0
- package/src/lib/seam/connect/models/devices/phone-properties.ts +24 -10
- package/src/lib/seam/connect/models/devices/phone.ts +4 -1
- package/src/lib/seam/connect/openapi.ts +174 -20
- package/src/lib/seam/connect/route-types.ts +170 -1
|
@@ -688,6 +688,21 @@ export default {
|
|
|
688
688
|
required: ['message', 'warning_code'],
|
|
689
689
|
type: 'object',
|
|
690
690
|
},
|
|
691
|
+
{
|
|
692
|
+
description:
|
|
693
|
+
'Lock is in Office Mode. Access Codes will not unlock doors.',
|
|
694
|
+
properties: {
|
|
695
|
+
message: { type: 'string' },
|
|
696
|
+
warning_code: {
|
|
697
|
+
description:
|
|
698
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
699
|
+
enum: ['salto_office_mode'],
|
|
700
|
+
type: 'string',
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
required: ['message', 'warning_code'],
|
|
704
|
+
type: 'object',
|
|
705
|
+
},
|
|
691
706
|
{
|
|
692
707
|
description:
|
|
693
708
|
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
@@ -5889,26 +5904,48 @@ export default {
|
|
|
5889
5904
|
{
|
|
5890
5905
|
properties: {
|
|
5891
5906
|
assa_abloy_credential_service_metadata: {
|
|
5907
|
+
description:
|
|
5908
|
+
'ASSA ABLOY Credential Service metadata for the phone.',
|
|
5892
5909
|
properties: {
|
|
5893
5910
|
endpoints: {
|
|
5911
|
+
description:
|
|
5912
|
+
'Endpoints associated with the phone.',
|
|
5894
5913
|
items: {
|
|
5895
5914
|
properties: {
|
|
5896
|
-
endpoint_id: {
|
|
5897
|
-
|
|
5915
|
+
endpoint_id: {
|
|
5916
|
+
description:
|
|
5917
|
+
'ID of the associated endpoint.',
|
|
5918
|
+
type: 'string',
|
|
5919
|
+
},
|
|
5920
|
+
is_active: {
|
|
5921
|
+
description:
|
|
5922
|
+
'Indicated whether the endpoint is active.',
|
|
5923
|
+
type: 'boolean',
|
|
5924
|
+
},
|
|
5898
5925
|
},
|
|
5899
5926
|
required: ['endpoint_id', 'is_active'],
|
|
5900
5927
|
type: 'object',
|
|
5901
5928
|
},
|
|
5902
5929
|
type: 'array',
|
|
5903
5930
|
},
|
|
5904
|
-
has_active_endpoint: {
|
|
5931
|
+
has_active_endpoint: {
|
|
5932
|
+
description:
|
|
5933
|
+
'Indicates whether the credential service has active endpoints associated with the phone.',
|
|
5934
|
+
type: 'boolean',
|
|
5935
|
+
},
|
|
5905
5936
|
},
|
|
5906
5937
|
required: ['has_active_endpoint', 'endpoints'],
|
|
5907
5938
|
type: 'object',
|
|
5908
5939
|
},
|
|
5909
5940
|
salto_space_credential_service_metadata: {
|
|
5941
|
+
description:
|
|
5942
|
+
'Salto Space credential service metadata for the phone.',
|
|
5910
5943
|
properties: {
|
|
5911
|
-
has_active_phone: {
|
|
5944
|
+
has_active_phone: {
|
|
5945
|
+
description:
|
|
5946
|
+
'Indicates whether the credential service has an active associated phone.',
|
|
5947
|
+
type: 'boolean',
|
|
5948
|
+
},
|
|
5912
5949
|
},
|
|
5913
5950
|
required: ['has_active_phone'],
|
|
5914
5951
|
type: 'object',
|
|
@@ -11756,6 +11793,7 @@ export default {
|
|
|
11756
11793
|
'x-route-path': '/noise_sensors/noise_thresholds',
|
|
11757
11794
|
},
|
|
11758
11795
|
phone: {
|
|
11796
|
+
description: 'Properties of the phone.',
|
|
11759
11797
|
properties: {
|
|
11760
11798
|
can_hvac_cool: { type: 'boolean' },
|
|
11761
11799
|
can_hvac_heat: { type: 'boolean' },
|
|
@@ -11801,7 +11839,11 @@ export default {
|
|
|
11801
11839
|
format: 'uuid',
|
|
11802
11840
|
type: 'string',
|
|
11803
11841
|
},
|
|
11804
|
-
device_type: {
|
|
11842
|
+
device_type: {
|
|
11843
|
+
description: 'Type of phone.',
|
|
11844
|
+
enum: ['android_phone', 'ios_phone'],
|
|
11845
|
+
type: 'string',
|
|
11846
|
+
},
|
|
11805
11847
|
display_name: {
|
|
11806
11848
|
description:
|
|
11807
11849
|
'Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
|
|
@@ -12069,25 +12111,47 @@ export default {
|
|
|
12069
12111
|
properties: {
|
|
12070
12112
|
properties: {
|
|
12071
12113
|
assa_abloy_credential_service_metadata: {
|
|
12114
|
+
description:
|
|
12115
|
+
'ASSA ABLOY Credential Service metadata for the phone.',
|
|
12072
12116
|
properties: {
|
|
12073
12117
|
endpoints: {
|
|
12118
|
+
description: 'Endpoints associated with the phone.',
|
|
12074
12119
|
items: {
|
|
12075
12120
|
properties: {
|
|
12076
|
-
endpoint_id: {
|
|
12077
|
-
|
|
12121
|
+
endpoint_id: {
|
|
12122
|
+
description: 'ID of the associated endpoint.',
|
|
12123
|
+
type: 'string',
|
|
12124
|
+
},
|
|
12125
|
+
is_active: {
|
|
12126
|
+
description:
|
|
12127
|
+
'Indicated whether the endpoint is active.',
|
|
12128
|
+
type: 'boolean',
|
|
12129
|
+
},
|
|
12078
12130
|
},
|
|
12079
12131
|
required: ['endpoint_id', 'is_active'],
|
|
12080
12132
|
type: 'object',
|
|
12081
12133
|
},
|
|
12082
12134
|
type: 'array',
|
|
12083
12135
|
},
|
|
12084
|
-
has_active_endpoint: {
|
|
12136
|
+
has_active_endpoint: {
|
|
12137
|
+
description:
|
|
12138
|
+
'Indicates whether the credential service has active endpoints associated with the phone.',
|
|
12139
|
+
type: 'boolean',
|
|
12140
|
+
},
|
|
12085
12141
|
},
|
|
12086
12142
|
required: ['has_active_endpoint', 'endpoints'],
|
|
12087
12143
|
type: 'object',
|
|
12088
12144
|
},
|
|
12089
12145
|
salto_space_credential_service_metadata: {
|
|
12090
|
-
|
|
12146
|
+
description:
|
|
12147
|
+
'Salto Space credential service metadata for the phone.',
|
|
12148
|
+
properties: {
|
|
12149
|
+
has_active_phone: {
|
|
12150
|
+
description:
|
|
12151
|
+
'Indicates whether the credential service has an active associated phone.',
|
|
12152
|
+
type: 'boolean',
|
|
12153
|
+
},
|
|
12154
|
+
},
|
|
12091
12155
|
required: ['has_active_phone'],
|
|
12092
12156
|
type: 'object',
|
|
12093
12157
|
},
|
|
@@ -13079,6 +13143,21 @@ export default {
|
|
|
13079
13143
|
required: ['message', 'warning_code'],
|
|
13080
13144
|
type: 'object',
|
|
13081
13145
|
},
|
|
13146
|
+
{
|
|
13147
|
+
description:
|
|
13148
|
+
'Lock is in Office Mode. Access Codes will not unlock doors.',
|
|
13149
|
+
properties: {
|
|
13150
|
+
message: { type: 'string' },
|
|
13151
|
+
warning_code: {
|
|
13152
|
+
description:
|
|
13153
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13154
|
+
enum: ['salto_office_mode'],
|
|
13155
|
+
type: 'string',
|
|
13156
|
+
},
|
|
13157
|
+
},
|
|
13158
|
+
required: ['message', 'warning_code'],
|
|
13159
|
+
type: 'object',
|
|
13160
|
+
},
|
|
13082
13161
|
{
|
|
13083
13162
|
description:
|
|
13084
13163
|
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
@@ -23509,12 +23588,19 @@ export default {
|
|
|
23509
23588
|
},
|
|
23510
23589
|
'/phones/deactivate': {
|
|
23511
23590
|
post: {
|
|
23591
|
+
description:
|
|
23592
|
+
'Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/latest/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process).',
|
|
23512
23593
|
operationId: 'phonesDeactivatePost',
|
|
23513
23594
|
requestBody: {
|
|
23514
23595
|
content: {
|
|
23515
23596
|
'application/json': {
|
|
23516
23597
|
schema: {
|
|
23517
|
-
properties: {
|
|
23598
|
+
properties: {
|
|
23599
|
+
device_id: {
|
|
23600
|
+
description: 'Device ID of the desired phone.',
|
|
23601
|
+
type: 'string',
|
|
23602
|
+
},
|
|
23603
|
+
},
|
|
23518
23604
|
required: ['device_id'],
|
|
23519
23605
|
type: 'object',
|
|
23520
23606
|
},
|
|
@@ -23548,18 +23634,31 @@ export default {
|
|
|
23548
23634
|
'x-fern-sdk-group-name': ['phones'],
|
|
23549
23635
|
'x-fern-sdk-method-name': 'deactivate',
|
|
23550
23636
|
'x-response-key': null,
|
|
23637
|
+
'x-title': 'Deactivate a Phone',
|
|
23551
23638
|
},
|
|
23552
23639
|
},
|
|
23553
23640
|
'/phones/list': {
|
|
23554
23641
|
post: {
|
|
23642
|
+
description:
|
|
23643
|
+
'Returns a list of all phones. To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.',
|
|
23555
23644
|
operationId: 'phonesListPost',
|
|
23556
23645
|
requestBody: {
|
|
23557
23646
|
content: {
|
|
23558
23647
|
'application/json': {
|
|
23559
23648
|
schema: {
|
|
23560
23649
|
properties: {
|
|
23561
|
-
acs_credential_id: {
|
|
23562
|
-
|
|
23650
|
+
acs_credential_id: {
|
|
23651
|
+
description:
|
|
23652
|
+
'ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) by which to filter the list of returned phones.',
|
|
23653
|
+
format: 'uuid',
|
|
23654
|
+
type: 'string',
|
|
23655
|
+
},
|
|
23656
|
+
owner_user_identity_id: {
|
|
23657
|
+
description:
|
|
23658
|
+
'ID of the user identity that represents the owner by which to filter the list of returned phones.',
|
|
23659
|
+
format: 'uuid',
|
|
23660
|
+
type: 'string',
|
|
23661
|
+
},
|
|
23563
23662
|
},
|
|
23564
23663
|
type: 'object',
|
|
23565
23664
|
},
|
|
@@ -23599,10 +23698,13 @@ export default {
|
|
|
23599
23698
|
'x-fern-sdk-method-name': 'list',
|
|
23600
23699
|
'x-fern-sdk-return-value': 'phones',
|
|
23601
23700
|
'x-response-key': 'phones',
|
|
23701
|
+
'x-title': 'List Phones',
|
|
23602
23702
|
},
|
|
23603
23703
|
},
|
|
23604
23704
|
'/phones/simulate/create_sandbox_phone': {
|
|
23605
23705
|
post: {
|
|
23706
|
+
description:
|
|
23707
|
+
'Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). For more information, see [Creating a Simulated Phone for a User Identity](https://docs.seam.co/latest/capability-guides/mobile-access/developing-in-a-sandbox-workspace#creating-a-simulated-phone-for-a-user-identity).',
|
|
23606
23708
|
operationId: 'phonesSimulateCreateSandboxPhonePost',
|
|
23607
23709
|
requestBody: {
|
|
23608
23710
|
content: {
|
|
@@ -23611,42 +23713,93 @@ export default {
|
|
|
23611
23713
|
properties: {
|
|
23612
23714
|
assa_abloy_metadata: {
|
|
23613
23715
|
default: {},
|
|
23716
|
+
description:
|
|
23717
|
+
'ASSA ABLOY metadata to associate with the simulated phone.',
|
|
23614
23718
|
properties: {
|
|
23615
|
-
application_version: {
|
|
23616
|
-
|
|
23617
|
-
|
|
23618
|
-
|
|
23619
|
-
|
|
23719
|
+
application_version: {
|
|
23720
|
+
default: '1.0.0',
|
|
23721
|
+
description:
|
|
23722
|
+
'Application version that you want to use for the simulated phone.',
|
|
23723
|
+
type: 'string',
|
|
23724
|
+
},
|
|
23725
|
+
ble_capability: {
|
|
23726
|
+
default: true,
|
|
23727
|
+
description:
|
|
23728
|
+
'Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.',
|
|
23729
|
+
type: 'boolean',
|
|
23730
|
+
},
|
|
23731
|
+
hce_capability: {
|
|
23732
|
+
default: false,
|
|
23733
|
+
description:
|
|
23734
|
+
'Indicates whether the simulated phone should have host card emulation (HCE) capability.',
|
|
23735
|
+
type: 'boolean',
|
|
23736
|
+
},
|
|
23737
|
+
nfc_capability: {
|
|
23738
|
+
default: false,
|
|
23739
|
+
description:
|
|
23740
|
+
'Indicates whether the simulated phone should have near-field communication (NFC) capability.',
|
|
23741
|
+
type: 'boolean',
|
|
23742
|
+
},
|
|
23743
|
+
seos_applet_version: {
|
|
23744
|
+
default: '1.0.0',
|
|
23745
|
+
description:
|
|
23746
|
+
'SEOS applet version that you want to use for the simulated phone.',
|
|
23747
|
+
type: 'string',
|
|
23748
|
+
},
|
|
23620
23749
|
seos_tsm_endpoint_id: {
|
|
23621
23750
|
default: 1,
|
|
23751
|
+
description:
|
|
23752
|
+
'ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.',
|
|
23622
23753
|
format: 'float',
|
|
23623
23754
|
type: 'number',
|
|
23624
23755
|
},
|
|
23625
23756
|
},
|
|
23626
23757
|
type: 'object',
|
|
23627
23758
|
},
|
|
23628
|
-
custom_sdk_installation_id: {
|
|
23759
|
+
custom_sdk_installation_id: {
|
|
23760
|
+
description:
|
|
23761
|
+
'ID of the custom SDK installation to use for the simulated phone.',
|
|
23762
|
+
type: 'string',
|
|
23763
|
+
},
|
|
23629
23764
|
phone_metadata: {
|
|
23630
23765
|
default: {},
|
|
23766
|
+
description:
|
|
23767
|
+
'Metadata to associate with the simulated phone.',
|
|
23631
23768
|
properties: {
|
|
23632
23769
|
device_manufacturer: {
|
|
23633
23770
|
default: 'Samsung',
|
|
23771
|
+
description:
|
|
23772
|
+
'Manufacturer that you want to use for the simulated phone.',
|
|
23634
23773
|
type: 'string',
|
|
23635
23774
|
},
|
|
23636
23775
|
device_model: {
|
|
23637
23776
|
default: 'Samsung Galaxy S10',
|
|
23777
|
+
description:
|
|
23778
|
+
'Device model that you want to use for the simulated phone.',
|
|
23638
23779
|
type: 'string',
|
|
23639
23780
|
},
|
|
23640
23781
|
operating_system: {
|
|
23641
23782
|
default: 'android',
|
|
23783
|
+
description:
|
|
23784
|
+
'Mobile operating system that you want to use for the simulated phone.',
|
|
23642
23785
|
enum: ['android', 'ios'],
|
|
23643
23786
|
type: 'string',
|
|
23644
23787
|
},
|
|
23645
|
-
os_version: {
|
|
23788
|
+
os_version: {
|
|
23789
|
+
default: '10',
|
|
23790
|
+
description:
|
|
23791
|
+
'Mobile operating system version that you want to use for the simulated phone.',
|
|
23792
|
+
type: 'string',
|
|
23793
|
+
},
|
|
23646
23794
|
},
|
|
23647
23795
|
type: 'object',
|
|
23648
23796
|
},
|
|
23649
|
-
user_identity_id: {
|
|
23797
|
+
user_identity_id: {
|
|
23798
|
+
description:
|
|
23799
|
+
'ID of the user identity to associate with the simulated phone.',
|
|
23800
|
+
format: 'uuid',
|
|
23801
|
+
type: 'string',
|
|
23802
|
+
},
|
|
23650
23803
|
},
|
|
23651
23804
|
required: ['user_identity_id'],
|
|
23652
23805
|
type: 'object',
|
|
@@ -23684,6 +23837,7 @@ export default {
|
|
|
23684
23837
|
'x-fern-sdk-method-name': 'create_sandbox_phone',
|
|
23685
23838
|
'x-fern-sdk-return-value': 'phone',
|
|
23686
23839
|
'x-response-key': 'phone',
|
|
23840
|
+
'x-title': 'Create a Sandbox Phone',
|
|
23687
23841
|
},
|
|
23688
23842
|
},
|
|
23689
23843
|
'/thermostats/activate_climate_preset': {
|