@seamapi/types 1.422.1 → 1.423.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.
- package/dist/connect.cjs +18 -175
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +78 -233
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +6 -3
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +9 -4
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +8 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +6 -3
- package/lib/seam/connect/openapi.d.ts +10 -212
- package/lib/seam/connect/openapi.js +9 -173
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +54 -15
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +9 -4
- package/src/lib/seam/connect/openapi.ts +11 -190
- package/src/lib/seam/connect/route-types.ts +54 -15
|
@@ -10250,7 +10250,7 @@ export default {
|
|
|
10250
10250
|
{
|
|
10251
10251
|
properties: {
|
|
10252
10252
|
active_thermostat_schedule: {
|
|
10253
|
-
|
|
10253
|
+
deprecated: true,
|
|
10254
10254
|
description: 'Active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
10255
10255
|
nullable: true,
|
|
10256
10256
|
properties: {
|
|
@@ -10335,9 +10335,17 @@ export default {
|
|
|
10335
10335
|
'errors',
|
|
10336
10336
|
],
|
|
10337
10337
|
type: 'object',
|
|
10338
|
+
'x-deprecated': 'Use `active_thermostat_schedule_id` with `/thermostats/schedules/get` instead.',
|
|
10338
10339
|
'x-property-group-key': 'thermostats',
|
|
10339
10340
|
'x-route-path': '/thermostats/schedules',
|
|
10340
10341
|
},
|
|
10342
|
+
active_thermostat_schedule_id: {
|
|
10343
|
+
description: 'ID of the active [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
|
|
10344
|
+
format: 'uuid',
|
|
10345
|
+
nullable: true,
|
|
10346
|
+
type: 'string',
|
|
10347
|
+
'x-property-group-key': 'thermostats',
|
|
10348
|
+
},
|
|
10341
10349
|
available_climate_presets: {
|
|
10342
10350
|
description: 'Available [climate presets](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.',
|
|
10343
10351
|
items: {
|
|
@@ -10576,7 +10584,6 @@ export default {
|
|
|
10576
10584
|
'x-property-group-key': 'thermostats',
|
|
10577
10585
|
},
|
|
10578
10586
|
fallback_climate_preset_key: {
|
|
10579
|
-
default: null,
|
|
10580
10587
|
description: 'Key of the [fallback climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.',
|
|
10581
10588
|
minLength: 1,
|
|
10582
10589
|
nullable: true,
|
|
@@ -35087,55 +35094,6 @@ export default {
|
|
|
35087
35094
|
},
|
|
35088
35095
|
},
|
|
35089
35096
|
'/devices/simulate/remove': {
|
|
35090
|
-
delete: {
|
|
35091
|
-
description: 'Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).',
|
|
35092
|
-
operationId: 'devicesSimulateRemoveDelete',
|
|
35093
|
-
requestBody: {
|
|
35094
|
-
content: {
|
|
35095
|
-
'application/json': {
|
|
35096
|
-
schema: {
|
|
35097
|
-
properties: {
|
|
35098
|
-
device_id: {
|
|
35099
|
-
description: 'ID of the device that you want to simulate removing from Seam.',
|
|
35100
|
-
format: 'uuid',
|
|
35101
|
-
type: 'string',
|
|
35102
|
-
},
|
|
35103
|
-
},
|
|
35104
|
-
required: ['device_id'],
|
|
35105
|
-
type: 'object',
|
|
35106
|
-
},
|
|
35107
|
-
},
|
|
35108
|
-
},
|
|
35109
|
-
},
|
|
35110
|
-
responses: {
|
|
35111
|
-
200: {
|
|
35112
|
-
content: {
|
|
35113
|
-
'application/json': {
|
|
35114
|
-
schema: {
|
|
35115
|
-
properties: { ok: { type: 'boolean' } },
|
|
35116
|
-
required: ['ok'],
|
|
35117
|
-
type: 'object',
|
|
35118
|
-
},
|
|
35119
|
-
},
|
|
35120
|
-
},
|
|
35121
|
-
description: 'OK',
|
|
35122
|
-
},
|
|
35123
|
-
400: { description: 'Bad Request' },
|
|
35124
|
-
401: { description: 'Unauthorized' },
|
|
35125
|
-
},
|
|
35126
|
-
security: [
|
|
35127
|
-
{ api_key: [] },
|
|
35128
|
-
{ pat_with_workspace: [] },
|
|
35129
|
-
{ console_session_with_workspace: [] },
|
|
35130
|
-
{ client_session_with_customer: [] },
|
|
35131
|
-
],
|
|
35132
|
-
summary: '/devices/simulate/remove',
|
|
35133
|
-
tags: ['/devices'],
|
|
35134
|
-
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
35135
|
-
'x-fern-sdk-method-name': 'remove',
|
|
35136
|
-
'x-response-key': null,
|
|
35137
|
-
'x-title': 'Simulate Device Removal',
|
|
35138
|
-
},
|
|
35139
35097
|
post: {
|
|
35140
35098
|
description: 'Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).',
|
|
35141
35099
|
operationId: 'devicesSimulateRemovePost',
|
|
@@ -39775,128 +39733,6 @@ export default {
|
|
|
39775
39733
|
},
|
|
39776
39734
|
},
|
|
39777
39735
|
'/phones/simulate/create_sandbox_phone': {
|
|
39778
|
-
get: {
|
|
39779
|
-
description: 'Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [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).',
|
|
39780
|
-
operationId: 'phonesSimulateCreateSandboxPhoneGet',
|
|
39781
|
-
requestBody: {
|
|
39782
|
-
content: {
|
|
39783
|
-
'application/json': {
|
|
39784
|
-
schema: {
|
|
39785
|
-
properties: {
|
|
39786
|
-
assa_abloy_metadata: {
|
|
39787
|
-
default: {},
|
|
39788
|
-
description: 'ASSA ABLOY metadata that you want to associate with the simulated phone.',
|
|
39789
|
-
properties: {
|
|
39790
|
-
application_version: {
|
|
39791
|
-
default: '1.0.0',
|
|
39792
|
-
description: 'Application version that you want to use for the simulated phone.',
|
|
39793
|
-
type: 'string',
|
|
39794
|
-
},
|
|
39795
|
-
ble_capability: {
|
|
39796
|
-
default: true,
|
|
39797
|
-
description: 'Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.',
|
|
39798
|
-
type: 'boolean',
|
|
39799
|
-
},
|
|
39800
|
-
hce_capability: {
|
|
39801
|
-
default: false,
|
|
39802
|
-
description: 'Indicates whether the simulated phone should have host card emulation (HCE) capability.',
|
|
39803
|
-
type: 'boolean',
|
|
39804
|
-
},
|
|
39805
|
-
nfc_capability: {
|
|
39806
|
-
default: false,
|
|
39807
|
-
description: 'Indicates whether the simulated phone should have near-field communication (NFC) capability.',
|
|
39808
|
-
type: 'boolean',
|
|
39809
|
-
},
|
|
39810
|
-
seos_applet_version: {
|
|
39811
|
-
default: '1.0.0',
|
|
39812
|
-
description: 'SEOS applet version that you want to use for the simulated phone.',
|
|
39813
|
-
type: 'string',
|
|
39814
|
-
},
|
|
39815
|
-
seos_tsm_endpoint_id: {
|
|
39816
|
-
default: 1,
|
|
39817
|
-
description: 'ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.',
|
|
39818
|
-
format: 'float',
|
|
39819
|
-
type: 'number',
|
|
39820
|
-
},
|
|
39821
|
-
},
|
|
39822
|
-
type: 'object',
|
|
39823
|
-
},
|
|
39824
|
-
custom_sdk_installation_id: {
|
|
39825
|
-
description: 'ID of the custom SDK installation that you want to use for the simulated phone.',
|
|
39826
|
-
type: 'string',
|
|
39827
|
-
},
|
|
39828
|
-
phone_metadata: {
|
|
39829
|
-
default: {},
|
|
39830
|
-
description: 'Metadata that you want to associate with the simulated phone.',
|
|
39831
|
-
properties: {
|
|
39832
|
-
device_manufacturer: {
|
|
39833
|
-
default: 'Samsung',
|
|
39834
|
-
description: 'Manufacturer that you want to use for the simulated phone.',
|
|
39835
|
-
type: 'string',
|
|
39836
|
-
},
|
|
39837
|
-
device_model: {
|
|
39838
|
-
default: 'Samsung Galaxy S10',
|
|
39839
|
-
description: 'Device model that you want to use for the simulated phone.',
|
|
39840
|
-
type: 'string',
|
|
39841
|
-
},
|
|
39842
|
-
operating_system: {
|
|
39843
|
-
default: 'android',
|
|
39844
|
-
description: 'Mobile operating system that you want to use for the simulated phone.',
|
|
39845
|
-
enum: ['android', 'ios'],
|
|
39846
|
-
type: 'string',
|
|
39847
|
-
},
|
|
39848
|
-
os_version: {
|
|
39849
|
-
default: '10',
|
|
39850
|
-
description: 'Mobile operating system version that you want to use for the simulated phone.',
|
|
39851
|
-
type: 'string',
|
|
39852
|
-
},
|
|
39853
|
-
},
|
|
39854
|
-
type: 'object',
|
|
39855
|
-
},
|
|
39856
|
-
user_identity_id: {
|
|
39857
|
-
description: 'ID of the user identity that you want to associate with the simulated phone.',
|
|
39858
|
-
format: 'uuid',
|
|
39859
|
-
type: 'string',
|
|
39860
|
-
},
|
|
39861
|
-
},
|
|
39862
|
-
required: ['user_identity_id'],
|
|
39863
|
-
type: 'object',
|
|
39864
|
-
},
|
|
39865
|
-
},
|
|
39866
|
-
},
|
|
39867
|
-
},
|
|
39868
|
-
responses: {
|
|
39869
|
-
200: {
|
|
39870
|
-
content: {
|
|
39871
|
-
'application/json': {
|
|
39872
|
-
schema: {
|
|
39873
|
-
properties: {
|
|
39874
|
-
ok: { type: 'boolean' },
|
|
39875
|
-
phone: { $ref: '#/components/schemas/phone' },
|
|
39876
|
-
},
|
|
39877
|
-
required: ['phone', 'ok'],
|
|
39878
|
-
type: 'object',
|
|
39879
|
-
},
|
|
39880
|
-
},
|
|
39881
|
-
},
|
|
39882
|
-
description: 'OK',
|
|
39883
|
-
},
|
|
39884
|
-
400: { description: 'Bad Request' },
|
|
39885
|
-
401: { description: 'Unauthorized' },
|
|
39886
|
-
},
|
|
39887
|
-
security: [
|
|
39888
|
-
{ api_key: [] },
|
|
39889
|
-
{ pat_with_workspace: [] },
|
|
39890
|
-
{ console_session_with_workspace: [] },
|
|
39891
|
-
],
|
|
39892
|
-
summary: '/phones/simulate/create_sandbox_phone',
|
|
39893
|
-
tags: ['/phones'],
|
|
39894
|
-
'x-fern-sdk-group-name': ['phones', 'simulate'],
|
|
39895
|
-
'x-fern-sdk-method-name': 'create_sandbox_phone',
|
|
39896
|
-
'x-fern-sdk-return-value': 'phone',
|
|
39897
|
-
'x-response-key': 'phone',
|
|
39898
|
-
'x-title': 'Create a Sandbox Phone',
|
|
39899
|
-
},
|
|
39900
39736
|
post: {
|
|
39901
39737
|
description: 'Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [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).',
|
|
39902
39738
|
operationId: 'phonesSimulateCreateSandboxPhonePost',
|