@seamapi/types 1.344.3 → 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 +127 -30
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +164 -1
- 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 +113 -20
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +125 -1
- package/package.json +1 -1
- 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 +144 -20
- package/src/lib/seam/connect/route-types.ts +125 -1
|
@@ -5904,26 +5904,48 @@ export default {
|
|
|
5904
5904
|
{
|
|
5905
5905
|
properties: {
|
|
5906
5906
|
assa_abloy_credential_service_metadata: {
|
|
5907
|
+
description:
|
|
5908
|
+
'ASSA ABLOY Credential Service metadata for the phone.',
|
|
5907
5909
|
properties: {
|
|
5908
5910
|
endpoints: {
|
|
5911
|
+
description:
|
|
5912
|
+
'Endpoints associated with the phone.',
|
|
5909
5913
|
items: {
|
|
5910
5914
|
properties: {
|
|
5911
|
-
endpoint_id: {
|
|
5912
|
-
|
|
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
|
+
},
|
|
5913
5925
|
},
|
|
5914
5926
|
required: ['endpoint_id', 'is_active'],
|
|
5915
5927
|
type: 'object',
|
|
5916
5928
|
},
|
|
5917
5929
|
type: 'array',
|
|
5918
5930
|
},
|
|
5919
|
-
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
|
+
},
|
|
5920
5936
|
},
|
|
5921
5937
|
required: ['has_active_endpoint', 'endpoints'],
|
|
5922
5938
|
type: 'object',
|
|
5923
5939
|
},
|
|
5924
5940
|
salto_space_credential_service_metadata: {
|
|
5941
|
+
description:
|
|
5942
|
+
'Salto Space credential service metadata for the phone.',
|
|
5925
5943
|
properties: {
|
|
5926
|
-
has_active_phone: {
|
|
5944
|
+
has_active_phone: {
|
|
5945
|
+
description:
|
|
5946
|
+
'Indicates whether the credential service has an active associated phone.',
|
|
5947
|
+
type: 'boolean',
|
|
5948
|
+
},
|
|
5927
5949
|
},
|
|
5928
5950
|
required: ['has_active_phone'],
|
|
5929
5951
|
type: 'object',
|
|
@@ -11771,6 +11793,7 @@ export default {
|
|
|
11771
11793
|
'x-route-path': '/noise_sensors/noise_thresholds',
|
|
11772
11794
|
},
|
|
11773
11795
|
phone: {
|
|
11796
|
+
description: 'Properties of the phone.',
|
|
11774
11797
|
properties: {
|
|
11775
11798
|
can_hvac_cool: { type: 'boolean' },
|
|
11776
11799
|
can_hvac_heat: { type: 'boolean' },
|
|
@@ -11816,7 +11839,11 @@ export default {
|
|
|
11816
11839
|
format: 'uuid',
|
|
11817
11840
|
type: 'string',
|
|
11818
11841
|
},
|
|
11819
|
-
device_type: {
|
|
11842
|
+
device_type: {
|
|
11843
|
+
description: 'Type of phone.',
|
|
11844
|
+
enum: ['android_phone', 'ios_phone'],
|
|
11845
|
+
type: 'string',
|
|
11846
|
+
},
|
|
11820
11847
|
display_name: {
|
|
11821
11848
|
description:
|
|
11822
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.',
|
|
@@ -12084,25 +12111,47 @@ export default {
|
|
|
12084
12111
|
properties: {
|
|
12085
12112
|
properties: {
|
|
12086
12113
|
assa_abloy_credential_service_metadata: {
|
|
12114
|
+
description:
|
|
12115
|
+
'ASSA ABLOY Credential Service metadata for the phone.',
|
|
12087
12116
|
properties: {
|
|
12088
12117
|
endpoints: {
|
|
12118
|
+
description: 'Endpoints associated with the phone.',
|
|
12089
12119
|
items: {
|
|
12090
12120
|
properties: {
|
|
12091
|
-
endpoint_id: {
|
|
12092
|
-
|
|
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
|
+
},
|
|
12093
12130
|
},
|
|
12094
12131
|
required: ['endpoint_id', 'is_active'],
|
|
12095
12132
|
type: 'object',
|
|
12096
12133
|
},
|
|
12097
12134
|
type: 'array',
|
|
12098
12135
|
},
|
|
12099
|
-
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
|
+
},
|
|
12100
12141
|
},
|
|
12101
12142
|
required: ['has_active_endpoint', 'endpoints'],
|
|
12102
12143
|
type: 'object',
|
|
12103
12144
|
},
|
|
12104
12145
|
salto_space_credential_service_metadata: {
|
|
12105
|
-
|
|
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
|
+
},
|
|
12106
12155
|
required: ['has_active_phone'],
|
|
12107
12156
|
type: 'object',
|
|
12108
12157
|
},
|
|
@@ -23539,12 +23588,19 @@ export default {
|
|
|
23539
23588
|
},
|
|
23540
23589
|
'/phones/deactivate': {
|
|
23541
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).',
|
|
23542
23593
|
operationId: 'phonesDeactivatePost',
|
|
23543
23594
|
requestBody: {
|
|
23544
23595
|
content: {
|
|
23545
23596
|
'application/json': {
|
|
23546
23597
|
schema: {
|
|
23547
|
-
properties: {
|
|
23598
|
+
properties: {
|
|
23599
|
+
device_id: {
|
|
23600
|
+
description: 'Device ID of the desired phone.',
|
|
23601
|
+
type: 'string',
|
|
23602
|
+
},
|
|
23603
|
+
},
|
|
23548
23604
|
required: ['device_id'],
|
|
23549
23605
|
type: 'object',
|
|
23550
23606
|
},
|
|
@@ -23578,18 +23634,31 @@ export default {
|
|
|
23578
23634
|
'x-fern-sdk-group-name': ['phones'],
|
|
23579
23635
|
'x-fern-sdk-method-name': 'deactivate',
|
|
23580
23636
|
'x-response-key': null,
|
|
23637
|
+
'x-title': 'Deactivate a Phone',
|
|
23581
23638
|
},
|
|
23582
23639
|
},
|
|
23583
23640
|
'/phones/list': {
|
|
23584
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.',
|
|
23585
23644
|
operationId: 'phonesListPost',
|
|
23586
23645
|
requestBody: {
|
|
23587
23646
|
content: {
|
|
23588
23647
|
'application/json': {
|
|
23589
23648
|
schema: {
|
|
23590
23649
|
properties: {
|
|
23591
|
-
acs_credential_id: {
|
|
23592
|
-
|
|
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
|
+
},
|
|
23593
23662
|
},
|
|
23594
23663
|
type: 'object',
|
|
23595
23664
|
},
|
|
@@ -23629,10 +23698,13 @@ export default {
|
|
|
23629
23698
|
'x-fern-sdk-method-name': 'list',
|
|
23630
23699
|
'x-fern-sdk-return-value': 'phones',
|
|
23631
23700
|
'x-response-key': 'phones',
|
|
23701
|
+
'x-title': 'List Phones',
|
|
23632
23702
|
},
|
|
23633
23703
|
},
|
|
23634
23704
|
'/phones/simulate/create_sandbox_phone': {
|
|
23635
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).',
|
|
23636
23708
|
operationId: 'phonesSimulateCreateSandboxPhonePost',
|
|
23637
23709
|
requestBody: {
|
|
23638
23710
|
content: {
|
|
@@ -23641,42 +23713,93 @@ export default {
|
|
|
23641
23713
|
properties: {
|
|
23642
23714
|
assa_abloy_metadata: {
|
|
23643
23715
|
default: {},
|
|
23716
|
+
description:
|
|
23717
|
+
'ASSA ABLOY metadata to associate with the simulated phone.',
|
|
23644
23718
|
properties: {
|
|
23645
|
-
application_version: {
|
|
23646
|
-
|
|
23647
|
-
|
|
23648
|
-
|
|
23649
|
-
|
|
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
|
+
},
|
|
23650
23749
|
seos_tsm_endpoint_id: {
|
|
23651
23750
|
default: 1,
|
|
23751
|
+
description:
|
|
23752
|
+
'ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.',
|
|
23652
23753
|
format: 'float',
|
|
23653
23754
|
type: 'number',
|
|
23654
23755
|
},
|
|
23655
23756
|
},
|
|
23656
23757
|
type: 'object',
|
|
23657
23758
|
},
|
|
23658
|
-
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
|
+
},
|
|
23659
23764
|
phone_metadata: {
|
|
23660
23765
|
default: {},
|
|
23766
|
+
description:
|
|
23767
|
+
'Metadata to associate with the simulated phone.',
|
|
23661
23768
|
properties: {
|
|
23662
23769
|
device_manufacturer: {
|
|
23663
23770
|
default: 'Samsung',
|
|
23771
|
+
description:
|
|
23772
|
+
'Manufacturer that you want to use for the simulated phone.',
|
|
23664
23773
|
type: 'string',
|
|
23665
23774
|
},
|
|
23666
23775
|
device_model: {
|
|
23667
23776
|
default: 'Samsung Galaxy S10',
|
|
23777
|
+
description:
|
|
23778
|
+
'Device model that you want to use for the simulated phone.',
|
|
23668
23779
|
type: 'string',
|
|
23669
23780
|
},
|
|
23670
23781
|
operating_system: {
|
|
23671
23782
|
default: 'android',
|
|
23783
|
+
description:
|
|
23784
|
+
'Mobile operating system that you want to use for the simulated phone.',
|
|
23672
23785
|
enum: ['android', 'ios'],
|
|
23673
23786
|
type: 'string',
|
|
23674
23787
|
},
|
|
23675
|
-
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
|
+
},
|
|
23676
23794
|
},
|
|
23677
23795
|
type: 'object',
|
|
23678
23796
|
},
|
|
23679
|
-
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
|
+
},
|
|
23680
23803
|
},
|
|
23681
23804
|
required: ['user_identity_id'],
|
|
23682
23805
|
type: 'object',
|
|
@@ -23714,6 +23837,7 @@ export default {
|
|
|
23714
23837
|
'x-fern-sdk-method-name': 'create_sandbox_phone',
|
|
23715
23838
|
'x-fern-sdk-return-value': 'phone',
|
|
23716
23839
|
'x-response-key': 'phone',
|
|
23840
|
+
'x-title': 'Create a Sandbox Phone',
|
|
23717
23841
|
},
|
|
23718
23842
|
},
|
|
23719
23843
|
'/thermostats/activate_climate_preset': {
|