@seamapi/types 1.344.3 → 1.345.1

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.
@@ -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: { type: 'string' },
5912
- is_active: { type: 'boolean' },
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: { type: 'boolean' },
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: { type: 'boolean' },
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: { enum: ['android_phone', 'ios_phone'], type: 'string' },
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: { type: 'string' },
12092
- is_active: { type: 'boolean' },
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: { type: 'boolean' },
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
- properties: { has_active_phone: { type: 'boolean' } },
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
  },
@@ -12372,16 +12421,6 @@ export default {
12372
12421
  type: 'object',
12373
12422
  'x-route-path': '/phones',
12374
12423
  },
12375
- service_health: {
12376
- properties: {
12377
- description: { type: 'string' },
12378
- service: { type: 'string' },
12379
- status: { enum: ['healthy', 'degraded', 'down'], type: 'string' },
12380
- },
12381
- required: ['service', 'status', 'description'],
12382
- type: 'object',
12383
- 'x-route-path': '/health',
12384
- },
12385
12424
  thermostat_schedule: {
12386
12425
  description:
12387
12426
  'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
@@ -23539,12 +23578,19 @@ export default {
23539
23578
  },
23540
23579
  '/phones/deactivate': {
23541
23580
  post: {
23581
+ description:
23582
+ '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
23583
  operationId: 'phonesDeactivatePost',
23543
23584
  requestBody: {
23544
23585
  content: {
23545
23586
  'application/json': {
23546
23587
  schema: {
23547
- properties: { device_id: { type: 'string' } },
23588
+ properties: {
23589
+ device_id: {
23590
+ description: 'Device ID of the desired phone.',
23591
+ type: 'string',
23592
+ },
23593
+ },
23548
23594
  required: ['device_id'],
23549
23595
  type: 'object',
23550
23596
  },
@@ -23578,18 +23624,31 @@ export default {
23578
23624
  'x-fern-sdk-group-name': ['phones'],
23579
23625
  'x-fern-sdk-method-name': 'deactivate',
23580
23626
  'x-response-key': null,
23627
+ 'x-title': 'Deactivate a Phone',
23581
23628
  },
23582
23629
  },
23583
23630
  '/phones/list': {
23584
23631
  post: {
23632
+ description:
23633
+ '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
23634
  operationId: 'phonesListPost',
23586
23635
  requestBody: {
23587
23636
  content: {
23588
23637
  'application/json': {
23589
23638
  schema: {
23590
23639
  properties: {
23591
- acs_credential_id: { format: 'uuid', type: 'string' },
23592
- owner_user_identity_id: { format: 'uuid', type: 'string' },
23640
+ acs_credential_id: {
23641
+ description:
23642
+ 'ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) by which to filter the list of returned phones.',
23643
+ format: 'uuid',
23644
+ type: 'string',
23645
+ },
23646
+ owner_user_identity_id: {
23647
+ description:
23648
+ 'ID of the user identity that represents the owner by which to filter the list of returned phones.',
23649
+ format: 'uuid',
23650
+ type: 'string',
23651
+ },
23593
23652
  },
23594
23653
  type: 'object',
23595
23654
  },
@@ -23629,10 +23688,13 @@ export default {
23629
23688
  'x-fern-sdk-method-name': 'list',
23630
23689
  'x-fern-sdk-return-value': 'phones',
23631
23690
  'x-response-key': 'phones',
23691
+ 'x-title': 'List Phones',
23632
23692
  },
23633
23693
  },
23634
23694
  '/phones/simulate/create_sandbox_phone': {
23635
23695
  post: {
23696
+ description:
23697
+ '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
23698
  operationId: 'phonesSimulateCreateSandboxPhonePost',
23637
23699
  requestBody: {
23638
23700
  content: {
@@ -23641,42 +23703,93 @@ export default {
23641
23703
  properties: {
23642
23704
  assa_abloy_metadata: {
23643
23705
  default: {},
23706
+ description:
23707
+ 'ASSA ABLOY metadata to associate with the simulated phone.',
23644
23708
  properties: {
23645
- application_version: { default: '1.0.0', type: 'string' },
23646
- ble_capability: { default: true, type: 'boolean' },
23647
- hce_capability: { default: false, type: 'boolean' },
23648
- nfc_capability: { default: false, type: 'boolean' },
23649
- seos_applet_version: { default: '1.0.0', type: 'string' },
23709
+ application_version: {
23710
+ default: '1.0.0',
23711
+ description:
23712
+ 'Application version that you want to use for the simulated phone.',
23713
+ type: 'string',
23714
+ },
23715
+ ble_capability: {
23716
+ default: true,
23717
+ description:
23718
+ 'Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.',
23719
+ type: 'boolean',
23720
+ },
23721
+ hce_capability: {
23722
+ default: false,
23723
+ description:
23724
+ 'Indicates whether the simulated phone should have host card emulation (HCE) capability.',
23725
+ type: 'boolean',
23726
+ },
23727
+ nfc_capability: {
23728
+ default: false,
23729
+ description:
23730
+ 'Indicates whether the simulated phone should have near-field communication (NFC) capability.',
23731
+ type: 'boolean',
23732
+ },
23733
+ seos_applet_version: {
23734
+ default: '1.0.0',
23735
+ description:
23736
+ 'SEOS applet version that you want to use for the simulated phone.',
23737
+ type: 'string',
23738
+ },
23650
23739
  seos_tsm_endpoint_id: {
23651
23740
  default: 1,
23741
+ description:
23742
+ 'ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.',
23652
23743
  format: 'float',
23653
23744
  type: 'number',
23654
23745
  },
23655
23746
  },
23656
23747
  type: 'object',
23657
23748
  },
23658
- custom_sdk_installation_id: { type: 'string' },
23749
+ custom_sdk_installation_id: {
23750
+ description:
23751
+ 'ID of the custom SDK installation to use for the simulated phone.',
23752
+ type: 'string',
23753
+ },
23659
23754
  phone_metadata: {
23660
23755
  default: {},
23756
+ description:
23757
+ 'Metadata to associate with the simulated phone.',
23661
23758
  properties: {
23662
23759
  device_manufacturer: {
23663
23760
  default: 'Samsung',
23761
+ description:
23762
+ 'Manufacturer that you want to use for the simulated phone.',
23664
23763
  type: 'string',
23665
23764
  },
23666
23765
  device_model: {
23667
23766
  default: 'Samsung Galaxy S10',
23767
+ description:
23768
+ 'Device model that you want to use for the simulated phone.',
23668
23769
  type: 'string',
23669
23770
  },
23670
23771
  operating_system: {
23671
23772
  default: 'android',
23773
+ description:
23774
+ 'Mobile operating system that you want to use for the simulated phone.',
23672
23775
  enum: ['android', 'ios'],
23673
23776
  type: 'string',
23674
23777
  },
23675
- os_version: { default: '10', type: 'string' },
23778
+ os_version: {
23779
+ default: '10',
23780
+ description:
23781
+ 'Mobile operating system version that you want to use for the simulated phone.',
23782
+ type: 'string',
23783
+ },
23676
23784
  },
23677
23785
  type: 'object',
23678
23786
  },
23679
- user_identity_id: { format: 'uuid', type: 'string' },
23787
+ user_identity_id: {
23788
+ description:
23789
+ 'ID of the user identity to associate with the simulated phone.',
23790
+ format: 'uuid',
23791
+ type: 'string',
23792
+ },
23680
23793
  },
23681
23794
  required: ['user_identity_id'],
23682
23795
  type: 'object',
@@ -23714,6 +23827,7 @@ export default {
23714
23827
  'x-fern-sdk-method-name': 'create_sandbox_phone',
23715
23828
  'x-fern-sdk-return-value': 'phone',
23716
23829
  'x-response-key': 'phone',
23830
+ 'x-title': 'Create a Sandbox Phone',
23717
23831
  },
23718
23832
  },
23719
23833
  '/thermostats/activate_climate_preset': {