@seamapi/types 1.338.1 → 1.340.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 +40 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +121 -0
- package/lib/seam/connect/models/devices/device.d.ts +19 -0
- package/lib/seam/connect/models/devices/phone-properties.d.ts +13 -0
- package/lib/seam/connect/models/devices/phone-properties.js +5 -0
- package/lib/seam/connect/models/devices/phone-properties.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +32 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +13 -0
- package/lib/seam/connect/openapi.d.ts +44 -0
- package/lib/seam/connect/openapi.js +37 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/phone-properties.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +37 -0
- package/src/lib/seam/connect/route-types.ts +114 -0
package/dist/connect.cjs
CHANGED
|
@@ -811,6 +811,9 @@ var phone_specific_properties = zod.z.object({
|
|
|
811
811
|
is_active: zod.z.boolean()
|
|
812
812
|
})
|
|
813
813
|
)
|
|
814
|
+
}).optional(),
|
|
815
|
+
salto_space_credential_service_metadata: zod.z.object({
|
|
816
|
+
has_active_phone: zod.z.boolean()
|
|
814
817
|
}).optional()
|
|
815
818
|
});
|
|
816
819
|
|
|
@@ -9141,6 +9144,13 @@ var openapi_default = {
|
|
|
9141
9144
|
},
|
|
9142
9145
|
required: ["has_active_endpoint", "endpoints"],
|
|
9143
9146
|
type: "object"
|
|
9147
|
+
},
|
|
9148
|
+
salto_space_credential_service_metadata: {
|
|
9149
|
+
properties: {
|
|
9150
|
+
has_active_phone: { type: "boolean" }
|
|
9151
|
+
},
|
|
9152
|
+
required: ["has_active_phone"],
|
|
9153
|
+
type: "object"
|
|
9144
9154
|
}
|
|
9145
9155
|
},
|
|
9146
9156
|
type: "object"
|
|
@@ -14857,6 +14867,11 @@ var openapi_default = {
|
|
|
14857
14867
|
},
|
|
14858
14868
|
required: ["has_active_endpoint", "endpoints"],
|
|
14859
14869
|
type: "object"
|
|
14870
|
+
},
|
|
14871
|
+
salto_space_credential_service_metadata: {
|
|
14872
|
+
properties: { has_active_phone: { type: "boolean" } },
|
|
14873
|
+
required: ["has_active_phone"],
|
|
14874
|
+
type: "object"
|
|
14860
14875
|
}
|
|
14861
14876
|
},
|
|
14862
14877
|
type: "object"
|
|
@@ -17579,6 +17594,7 @@ var openapi_default = {
|
|
|
17579
17594
|
],
|
|
17580
17595
|
summary: "/access_codes/create",
|
|
17581
17596
|
tags: ["/access_codes"],
|
|
17597
|
+
"x-action-attempt-type": "CREATE_ACCESS_CODE",
|
|
17582
17598
|
"x-fern-sdk-group-name": ["access_codes"],
|
|
17583
17599
|
"x-fern-sdk-method-name": "create",
|
|
17584
17600
|
"x-fern-sdk-return-value": "access_code",
|
|
@@ -17800,6 +17816,7 @@ var openapi_default = {
|
|
|
17800
17816
|
],
|
|
17801
17817
|
summary: "/access_codes/delete",
|
|
17802
17818
|
tags: ["/access_codes"],
|
|
17819
|
+
"x-action-attempt-type": "DELETE_ACCESS_CODE",
|
|
17803
17820
|
"x-fern-sdk-group-name": ["access_codes"],
|
|
17804
17821
|
"x-fern-sdk-method-name": "delete",
|
|
17805
17822
|
"x-response-key": null
|
|
@@ -18115,6 +18132,7 @@ var openapi_default = {
|
|
|
18115
18132
|
],
|
|
18116
18133
|
summary: "/access_codes/unmanaged/convert_to_managed",
|
|
18117
18134
|
tags: ["/access_codes"],
|
|
18135
|
+
"x-action-attempt-type": "CONVERT_ACCESS_CODE_TO_MANAGED",
|
|
18118
18136
|
"x-fern-ignore": true,
|
|
18119
18137
|
"x-response-key": null
|
|
18120
18138
|
},
|
|
@@ -18161,6 +18179,7 @@ var openapi_default = {
|
|
|
18161
18179
|
],
|
|
18162
18180
|
summary: "/access_codes/unmanaged/convert_to_managed",
|
|
18163
18181
|
tags: ["/access_codes"],
|
|
18182
|
+
"x-action-attempt-type": "CONVERT_ACCESS_CODE_TO_MANAGED",
|
|
18164
18183
|
"x-fern-sdk-group-name": ["access_codes", "unmanaged"],
|
|
18165
18184
|
"x-fern-sdk-method-name": "convert_to_managed",
|
|
18166
18185
|
"x-response-key": null
|
|
@@ -18212,6 +18231,7 @@ var openapi_default = {
|
|
|
18212
18231
|
],
|
|
18213
18232
|
summary: "/access_codes/unmanaged/delete",
|
|
18214
18233
|
tags: ["/access_codes"],
|
|
18234
|
+
"x-action-attempt-type": "DELETE_ACCESS_CODE",
|
|
18215
18235
|
"x-fern-sdk-group-name": ["access_codes", "unmanaged"],
|
|
18216
18236
|
"x-fern-sdk-method-name": "delete",
|
|
18217
18237
|
"x-response-key": null
|
|
@@ -18494,6 +18514,7 @@ var openapi_default = {
|
|
|
18494
18514
|
],
|
|
18495
18515
|
summary: "/access_codes/update",
|
|
18496
18516
|
tags: ["/access_codes"],
|
|
18517
|
+
"x-action-attempt-type": "UPDATE_ACCESS_CODE",
|
|
18497
18518
|
"x-fern-ignore": true,
|
|
18498
18519
|
"x-response-key": null
|
|
18499
18520
|
},
|
|
@@ -18571,6 +18592,7 @@ var openapi_default = {
|
|
|
18571
18592
|
],
|
|
18572
18593
|
summary: "/access_codes/update",
|
|
18573
18594
|
tags: ["/access_codes"],
|
|
18595
|
+
"x-action-attempt-type": "UPDATE_ACCESS_CODE",
|
|
18574
18596
|
"x-fern-sdk-group-name": ["access_codes"],
|
|
18575
18597
|
"x-fern-sdk-method-name": "update",
|
|
18576
18598
|
"x-response-key": null
|
|
@@ -18649,6 +18671,7 @@ var openapi_default = {
|
|
|
18649
18671
|
],
|
|
18650
18672
|
summary: "/access_codes/update",
|
|
18651
18673
|
tags: ["/access_codes"],
|
|
18674
|
+
"x-action-attempt-type": "UPDATE_ACCESS_CODE",
|
|
18652
18675
|
"x-fern-ignore": true,
|
|
18653
18676
|
"x-response-key": null
|
|
18654
18677
|
}
|
|
@@ -20460,6 +20483,7 @@ var openapi_default = {
|
|
|
20460
20483
|
],
|
|
20461
20484
|
summary: "/acs/encoders/encode_credential",
|
|
20462
20485
|
tags: ["/acs"],
|
|
20486
|
+
"x-action-attempt-type": "ENCODE_CREDENTIAL",
|
|
20463
20487
|
"x-fern-sdk-group-name": ["acs", "encoders"],
|
|
20464
20488
|
"x-fern-sdk-method-name": "encode_credential",
|
|
20465
20489
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -20617,6 +20641,7 @@ var openapi_default = {
|
|
|
20617
20641
|
],
|
|
20618
20642
|
summary: "/acs/encoders/scan_credential",
|
|
20619
20643
|
tags: ["/acs"],
|
|
20644
|
+
"x-action-attempt-type": "SCAN_CREDENTIAL",
|
|
20620
20645
|
"x-fern-sdk-group-name": ["acs", "encoders"],
|
|
20621
20646
|
"x-fern-sdk-method-name": "scan_credential",
|
|
20622
20647
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -25126,6 +25151,7 @@ var openapi_default = {
|
|
|
25126
25151
|
],
|
|
25127
25152
|
summary: "/locks/lock_door",
|
|
25128
25153
|
tags: ["/locks"],
|
|
25154
|
+
"x-action-attempt-type": "LOCK_DOOR",
|
|
25129
25155
|
"x-fern-sdk-group-name": ["locks"],
|
|
25130
25156
|
"x-fern-sdk-method-name": "lock_door",
|
|
25131
25157
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -25178,6 +25204,7 @@ var openapi_default = {
|
|
|
25178
25204
|
],
|
|
25179
25205
|
summary: "/locks/unlock_door",
|
|
25180
25206
|
tags: ["/locks"],
|
|
25207
|
+
"x-action-attempt-type": "UNLOCK_DOOR",
|
|
25181
25208
|
"x-fern-sdk-group-name": ["locks"],
|
|
25182
25209
|
"x-fern-sdk-method-name": "unlock_door",
|
|
25183
25210
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -25612,6 +25639,7 @@ var openapi_default = {
|
|
|
25612
25639
|
],
|
|
25613
25640
|
summary: "/noise_sensors/noise_thresholds/create",
|
|
25614
25641
|
tags: ["/noise_sensors"],
|
|
25642
|
+
"x-action-attempt-type": "CREATE_NOISE_THRESHOLD",
|
|
25615
25643
|
"x-fern-sdk-group-name": ["noise_sensors", "noise_thresholds"],
|
|
25616
25644
|
"x-fern-sdk-method-name": "create",
|
|
25617
25645
|
"x-fern-sdk-return-value": "noise_threshold",
|
|
@@ -25664,6 +25692,7 @@ var openapi_default = {
|
|
|
25664
25692
|
],
|
|
25665
25693
|
summary: "/noise_sensors/noise_thresholds/delete",
|
|
25666
25694
|
tags: ["/noise_sensors"],
|
|
25695
|
+
"x-action-attempt-type": "DELETE_NOISE_THRESHOLD",
|
|
25667
25696
|
"x-fern-sdk-group-name": ["noise_sensors", "noise_thresholds"],
|
|
25668
25697
|
"x-fern-sdk-method-name": "delete",
|
|
25669
25698
|
"x-response-key": null
|
|
@@ -25823,6 +25852,7 @@ var openapi_default = {
|
|
|
25823
25852
|
],
|
|
25824
25853
|
summary: "/noise_sensors/noise_thresholds/update",
|
|
25825
25854
|
tags: ["/noise_sensors"],
|
|
25855
|
+
"x-action-attempt-type": "UPDATE_NOISE_THRESHOLD",
|
|
25826
25856
|
"x-fern-ignore": true,
|
|
25827
25857
|
"x-response-key": null
|
|
25828
25858
|
},
|
|
@@ -25876,6 +25906,7 @@ var openapi_default = {
|
|
|
25876
25906
|
],
|
|
25877
25907
|
summary: "/noise_sensors/noise_thresholds/update",
|
|
25878
25908
|
tags: ["/noise_sensors"],
|
|
25909
|
+
"x-action-attempt-type": "UPDATE_NOISE_THRESHOLD",
|
|
25879
25910
|
"x-fern-sdk-group-name": ["noise_sensors", "noise_thresholds"],
|
|
25880
25911
|
"x-fern-sdk-method-name": "update",
|
|
25881
25912
|
"x-response-key": null
|
|
@@ -25930,6 +25961,7 @@ var openapi_default = {
|
|
|
25930
25961
|
],
|
|
25931
25962
|
summary: "/noise_sensors/noise_thresholds/update",
|
|
25932
25963
|
tags: ["/noise_sensors"],
|
|
25964
|
+
"x-action-attempt-type": "UPDATE_NOISE_THRESHOLD",
|
|
25933
25965
|
"x-fern-ignore": true,
|
|
25934
25966
|
"x-response-key": null
|
|
25935
25967
|
}
|
|
@@ -26208,6 +26240,7 @@ var openapi_default = {
|
|
|
26208
26240
|
],
|
|
26209
26241
|
summary: "/thermostats/activate_climate_preset",
|
|
26210
26242
|
tags: ["/thermostats"],
|
|
26243
|
+
"x-action-attempt-type": "ACTIVATE_CLIMATE_PRESET",
|
|
26211
26244
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
26212
26245
|
"x-fern-sdk-method-name": "activate_climate_preset",
|
|
26213
26246
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -26280,6 +26313,7 @@ var openapi_default = {
|
|
|
26280
26313
|
],
|
|
26281
26314
|
summary: "/thermostats/cool",
|
|
26282
26315
|
tags: ["/thermostats"],
|
|
26316
|
+
"x-action-attempt-type": "SET_HVAC_MODE",
|
|
26283
26317
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
26284
26318
|
"x-fern-sdk-method-name": "cool",
|
|
26285
26319
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -26563,6 +26597,7 @@ var openapi_default = {
|
|
|
26563
26597
|
],
|
|
26564
26598
|
summary: "/thermostats/heat",
|
|
26565
26599
|
tags: ["/thermostats"],
|
|
26600
|
+
"x-action-attempt-type": "SET_HVAC_MODE",
|
|
26566
26601
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
26567
26602
|
"x-fern-sdk-method-name": "heat",
|
|
26568
26603
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -26645,6 +26680,7 @@ var openapi_default = {
|
|
|
26645
26680
|
],
|
|
26646
26681
|
summary: "/thermostats/heat_cool",
|
|
26647
26682
|
tags: ["/thermostats"],
|
|
26683
|
+
"x-action-attempt-type": "SET_HVAC_MODE",
|
|
26648
26684
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
26649
26685
|
"x-fern-sdk-method-name": "heat_cool",
|
|
26650
26686
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -26995,6 +27031,7 @@ var openapi_default = {
|
|
|
26995
27031
|
],
|
|
26996
27032
|
summary: "/thermostats/off",
|
|
26997
27033
|
tags: ["/thermostats"],
|
|
27034
|
+
"x-action-attempt-type": "SET_HVAC_MODE",
|
|
26998
27035
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
26999
27036
|
"x-fern-sdk-method-name": "off",
|
|
27000
27037
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -27527,6 +27564,7 @@ var openapi_default = {
|
|
|
27527
27564
|
],
|
|
27528
27565
|
summary: "/thermostats/set_fan_mode",
|
|
27529
27566
|
tags: ["/thermostats"],
|
|
27567
|
+
"x-action-attempt-type": "SET_FAN_MODE",
|
|
27530
27568
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
27531
27569
|
"x-fern-sdk-method-name": "set_fan_mode",
|
|
27532
27570
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -27669,6 +27707,7 @@ var openapi_default = {
|
|
|
27669
27707
|
],
|
|
27670
27708
|
summary: "/thermostats/set_hvac_mode",
|
|
27671
27709
|
tags: ["/thermostats"],
|
|
27710
|
+
"x-action-attempt-type": "SET_HVAC_MODE",
|
|
27672
27711
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
27673
27712
|
"x-fern-sdk-method-name": "set_hvac_mode",
|
|
27674
27713
|
"x-fern-sdk-return-value": "action_attempt",
|
|
@@ -29712,6 +29751,7 @@ var openapi_default = {
|
|
|
29712
29751
|
],
|
|
29713
29752
|
summary: "/workspaces/reset_sandbox",
|
|
29714
29753
|
tags: ["/workspaces"],
|
|
29754
|
+
"x-action-attempt-type": "RESET_SANDBOX_WORKSPACE",
|
|
29715
29755
|
"x-fern-sdk-group-name": ["workspaces"],
|
|
29716
29756
|
"x-fern-sdk-method-name": "reset_sandbox",
|
|
29717
29757
|
"x-fern-sdk-return-value": "action_attempt",
|