@seamapi/types 1.60.0 → 1.61.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 +160 -68
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +561 -269
- package/lib/seam/connect/openapi.d.ts +462 -264
- package/lib/seam/connect/openapi.js +160 -68
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +99 -5
- package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
- package/lib/seam/connect/unstable/models/acs/user.js +1 -0
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +15 -0
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.d.ts +33 -0
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.js +3 -0
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +27 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +164 -68
- package/src/lib/seam/connect/route-types.ts +123 -5
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -0
- package/src/lib/seam/connect/unstable/models/capability-properties/thermostat.ts +5 -0
package/dist/connect.cjs
CHANGED
|
@@ -276,7 +276,7 @@ var openapi_default = {
|
|
|
276
276
|
},
|
|
277
277
|
email_address: { format: "email", type: "string" },
|
|
278
278
|
external_type: {
|
|
279
|
-
enum: ["pti_user", "brivo_user", "hid_cm_user"],
|
|
279
|
+
enum: ["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"],
|
|
280
280
|
type: "string"
|
|
281
281
|
},
|
|
282
282
|
external_type_display_name: { type: "string" },
|
|
@@ -398,6 +398,10 @@ var openapi_default = {
|
|
|
398
398
|
cooling_set_point_fahrenheit: { type: "number" },
|
|
399
399
|
created_at: { format: "date-time", type: "string" },
|
|
400
400
|
device_id: { type: "string" },
|
|
401
|
+
errors: {
|
|
402
|
+
description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
|
|
403
|
+
nullable: true
|
|
404
|
+
},
|
|
401
405
|
heating_set_point_celsius: { type: "number" },
|
|
402
406
|
heating_set_point_fahrenheit: { type: "number" },
|
|
403
407
|
hvac_mode_setting: {
|
|
@@ -494,6 +498,7 @@ var openapi_default = {
|
|
|
494
498
|
properties: {
|
|
495
499
|
account_type: { type: "string" },
|
|
496
500
|
account_type_display_name: { type: "string" },
|
|
501
|
+
automatically_manage_new_devices: { type: "boolean" },
|
|
497
502
|
connected_account_id: { format: "uuid", type: "string" },
|
|
498
503
|
created_at: { format: "date-time", type: "string" },
|
|
499
504
|
custom_metadata: {
|
|
@@ -521,7 +526,10 @@ var openapi_default = {
|
|
|
521
526
|
},
|
|
522
527
|
warnings: { nullable: true }
|
|
523
528
|
},
|
|
524
|
-
required: [
|
|
529
|
+
required: [
|
|
530
|
+
"account_type_display_name",
|
|
531
|
+
"automatically_manage_new_devices"
|
|
532
|
+
],
|
|
525
533
|
type: "object"
|
|
526
534
|
},
|
|
527
535
|
device: {
|
|
@@ -1185,6 +1193,10 @@ var openapi_default = {
|
|
|
1185
1193
|
type: "string"
|
|
1186
1194
|
},
|
|
1187
1195
|
device_id: { type: "string" },
|
|
1196
|
+
errors: {
|
|
1197
|
+
description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
|
|
1198
|
+
nullable: true
|
|
1199
|
+
},
|
|
1188
1200
|
heating_set_point_celsius: { type: "number" },
|
|
1189
1201
|
heating_set_point_fahrenheit: { type: "number" },
|
|
1190
1202
|
hvac_mode_setting: {
|
|
@@ -1323,6 +1335,10 @@ var openapi_default = {
|
|
|
1323
1335
|
type: "string"
|
|
1324
1336
|
},
|
|
1325
1337
|
device_id: { type: "string" },
|
|
1338
|
+
errors: {
|
|
1339
|
+
description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
|
|
1340
|
+
nullable: true
|
|
1341
|
+
},
|
|
1326
1342
|
heating_set_point_celsius: { type: "number" },
|
|
1327
1343
|
heating_set_point_fahrenheit: { type: "number" },
|
|
1328
1344
|
hvac_mode_setting: {
|
|
@@ -1453,6 +1469,10 @@ var openapi_default = {
|
|
|
1453
1469
|
type: "string"
|
|
1454
1470
|
},
|
|
1455
1471
|
device_id: { type: "string" },
|
|
1472
|
+
errors: {
|
|
1473
|
+
description: 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
|
|
1474
|
+
nullable: true
|
|
1475
|
+
},
|
|
1456
1476
|
heating_set_point_celsius: { type: "number" },
|
|
1457
1477
|
heating_set_point_fahrenheit: { type: "number" },
|
|
1458
1478
|
hvac_mode_setting: {
|
|
@@ -2025,9 +2045,10 @@ var openapi_default = {
|
|
|
2025
2045
|
401: { description: "Unauthorized" }
|
|
2026
2046
|
},
|
|
2027
2047
|
security: [
|
|
2028
|
-
{
|
|
2029
|
-
{
|
|
2030
|
-
{
|
|
2048
|
+
{ client_session: [] },
|
|
2049
|
+
{ pat_with_workspace: [] },
|
|
2050
|
+
{ console_session: [] },
|
|
2051
|
+
{ api_key: [] }
|
|
2031
2052
|
],
|
|
2032
2053
|
summary: "/access_codes/create",
|
|
2033
2054
|
tags: ["/access_codes"],
|
|
@@ -2107,9 +2128,10 @@ var openapi_default = {
|
|
|
2107
2128
|
401: { description: "Unauthorized" }
|
|
2108
2129
|
},
|
|
2109
2130
|
security: [
|
|
2110
|
-
{
|
|
2111
|
-
{
|
|
2112
|
-
{
|
|
2131
|
+
{ client_session: [] },
|
|
2132
|
+
{ pat_with_workspace: [] },
|
|
2133
|
+
{ console_session: [] },
|
|
2134
|
+
{ api_key: [] }
|
|
2113
2135
|
],
|
|
2114
2136
|
summary: "/access_codes/create_multiple",
|
|
2115
2137
|
tags: ["/access_codes"],
|
|
@@ -2187,9 +2209,10 @@ var openapi_default = {
|
|
|
2187
2209
|
401: { description: "Unauthorized" }
|
|
2188
2210
|
},
|
|
2189
2211
|
security: [
|
|
2190
|
-
{
|
|
2191
|
-
{
|
|
2192
|
-
{
|
|
2212
|
+
{ client_session: [] },
|
|
2213
|
+
{ pat_with_workspace: [] },
|
|
2214
|
+
{ console_session: [] },
|
|
2215
|
+
{ api_key: [] }
|
|
2193
2216
|
],
|
|
2194
2217
|
summary: "/access_codes/create_multiple",
|
|
2195
2218
|
tags: ["/access_codes"],
|
|
@@ -2236,9 +2259,10 @@ var openapi_default = {
|
|
|
2236
2259
|
401: { description: "Unauthorized" }
|
|
2237
2260
|
},
|
|
2238
2261
|
security: [
|
|
2239
|
-
{
|
|
2240
|
-
{
|
|
2241
|
-
{
|
|
2262
|
+
{ client_session: [] },
|
|
2263
|
+
{ pat_with_workspace: [] },
|
|
2264
|
+
{ console_session: [] },
|
|
2265
|
+
{ api_key: [] }
|
|
2242
2266
|
],
|
|
2243
2267
|
summary: "/access_codes/delete",
|
|
2244
2268
|
tags: ["/access_codes"],
|
|
@@ -2283,9 +2307,10 @@ var openapi_default = {
|
|
|
2283
2307
|
401: { description: "Unauthorized" }
|
|
2284
2308
|
},
|
|
2285
2309
|
security: [
|
|
2286
|
-
{
|
|
2287
|
-
{
|
|
2288
|
-
{
|
|
2310
|
+
{ client_session: [] },
|
|
2311
|
+
{ pat_with_workspace: [] },
|
|
2312
|
+
{ console_session: [] },
|
|
2313
|
+
{ api_key: [] }
|
|
2289
2314
|
],
|
|
2290
2315
|
summary: "/access_codes/generate_code",
|
|
2291
2316
|
tags: ["/access_codes"],
|
|
@@ -2386,9 +2411,10 @@ var openapi_default = {
|
|
|
2386
2411
|
401: { description: "Unauthorized" }
|
|
2387
2412
|
},
|
|
2388
2413
|
security: [
|
|
2389
|
-
{
|
|
2390
|
-
{
|
|
2391
|
-
{
|
|
2414
|
+
{ client_session: [] },
|
|
2415
|
+
{ pat_with_workspace: [] },
|
|
2416
|
+
{ console_session: [] },
|
|
2417
|
+
{ api_key: [] }
|
|
2392
2418
|
],
|
|
2393
2419
|
summary: "/access_codes/list",
|
|
2394
2420
|
tags: ["/access_codes"],
|
|
@@ -2435,9 +2461,10 @@ var openapi_default = {
|
|
|
2435
2461
|
401: { description: "Unauthorized" }
|
|
2436
2462
|
},
|
|
2437
2463
|
security: [
|
|
2438
|
-
{
|
|
2439
|
-
{
|
|
2440
|
-
{
|
|
2464
|
+
{ client_session: [] },
|
|
2465
|
+
{ pat_with_workspace: [] },
|
|
2466
|
+
{ console_session: [] },
|
|
2467
|
+
{ api_key: [] }
|
|
2441
2468
|
],
|
|
2442
2469
|
summary: "/access_codes/pull_backup_access_code",
|
|
2443
2470
|
tags: ["/access_codes"],
|
|
@@ -2491,9 +2518,10 @@ var openapi_default = {
|
|
|
2491
2518
|
401: { description: "Unauthorized" }
|
|
2492
2519
|
},
|
|
2493
2520
|
security: [
|
|
2494
|
-
{
|
|
2495
|
-
{
|
|
2496
|
-
{
|
|
2521
|
+
{ client_session: [] },
|
|
2522
|
+
{ pat_with_workspace: [] },
|
|
2523
|
+
{ console_session: [] },
|
|
2524
|
+
{ api_key: [] }
|
|
2497
2525
|
],
|
|
2498
2526
|
summary: "/access_codes/simulate/create_unmanaged_access_code",
|
|
2499
2527
|
tags: ["/access_codes"],
|
|
@@ -2539,9 +2567,10 @@ var openapi_default = {
|
|
|
2539
2567
|
401: { description: "Unauthorized" }
|
|
2540
2568
|
},
|
|
2541
2569
|
security: [
|
|
2542
|
-
{
|
|
2543
|
-
{
|
|
2544
|
-
{
|
|
2570
|
+
{ client_session: [] },
|
|
2571
|
+
{ pat_with_workspace: [] },
|
|
2572
|
+
{ console_session: [] },
|
|
2573
|
+
{ api_key: [] }
|
|
2545
2574
|
],
|
|
2546
2575
|
summary: "/access_codes/unmanaged/convert_to_managed",
|
|
2547
2576
|
tags: ["/access_codes"],
|
|
@@ -2583,9 +2612,10 @@ var openapi_default = {
|
|
|
2583
2612
|
401: { description: "Unauthorized" }
|
|
2584
2613
|
},
|
|
2585
2614
|
security: [
|
|
2586
|
-
{
|
|
2587
|
-
{
|
|
2588
|
-
{
|
|
2615
|
+
{ client_session: [] },
|
|
2616
|
+
{ pat_with_workspace: [] },
|
|
2617
|
+
{ console_session: [] },
|
|
2618
|
+
{ api_key: [] }
|
|
2589
2619
|
],
|
|
2590
2620
|
summary: "/access_codes/unmanaged/convert_to_managed",
|
|
2591
2621
|
tags: ["/access_codes"],
|
|
@@ -2632,9 +2662,10 @@ var openapi_default = {
|
|
|
2632
2662
|
401: { description: "Unauthorized" }
|
|
2633
2663
|
},
|
|
2634
2664
|
security: [
|
|
2635
|
-
{
|
|
2636
|
-
{
|
|
2637
|
-
{
|
|
2665
|
+
{ client_session: [] },
|
|
2666
|
+
{ pat_with_workspace: [] },
|
|
2667
|
+
{ console_session: [] },
|
|
2668
|
+
{ api_key: [] }
|
|
2638
2669
|
],
|
|
2639
2670
|
summary: "/access_codes/unmanaged/delete",
|
|
2640
2671
|
tags: ["/access_codes"],
|
|
@@ -2682,9 +2713,10 @@ var openapi_default = {
|
|
|
2682
2713
|
401: { description: "Unauthorized" }
|
|
2683
2714
|
},
|
|
2684
2715
|
security: [
|
|
2685
|
-
{
|
|
2686
|
-
{
|
|
2687
|
-
{
|
|
2716
|
+
{ client_session: [] },
|
|
2717
|
+
{ pat_with_workspace: [] },
|
|
2718
|
+
{ console_session: [] },
|
|
2719
|
+
{ api_key: [] }
|
|
2688
2720
|
],
|
|
2689
2721
|
summary: "/access_codes/unmanaged/get",
|
|
2690
2722
|
tags: ["/access_codes"],
|
|
@@ -2735,9 +2767,10 @@ var openapi_default = {
|
|
|
2735
2767
|
401: { description: "Unauthorized" }
|
|
2736
2768
|
},
|
|
2737
2769
|
security: [
|
|
2738
|
-
{
|
|
2739
|
-
{
|
|
2740
|
-
{
|
|
2770
|
+
{ client_session: [] },
|
|
2771
|
+
{ pat_with_workspace: [] },
|
|
2772
|
+
{ console_session: [] },
|
|
2773
|
+
{ api_key: [] }
|
|
2741
2774
|
],
|
|
2742
2775
|
summary: "/access_codes/unmanaged/list",
|
|
2743
2776
|
tags: ["/access_codes"],
|
|
@@ -2783,9 +2816,10 @@ var openapi_default = {
|
|
|
2783
2816
|
401: { description: "Unauthorized" }
|
|
2784
2817
|
},
|
|
2785
2818
|
security: [
|
|
2786
|
-
{
|
|
2787
|
-
{
|
|
2788
|
-
{
|
|
2819
|
+
{ client_session: [] },
|
|
2820
|
+
{ pat_with_workspace: [] },
|
|
2821
|
+
{ console_session: [] },
|
|
2822
|
+
{ api_key: [] }
|
|
2789
2823
|
],
|
|
2790
2824
|
summary: "/access_codes/unmanaged/update",
|
|
2791
2825
|
tags: ["/access_codes"],
|
|
@@ -2827,9 +2861,10 @@ var openapi_default = {
|
|
|
2827
2861
|
401: { description: "Unauthorized" }
|
|
2828
2862
|
},
|
|
2829
2863
|
security: [
|
|
2830
|
-
{
|
|
2831
|
-
{
|
|
2832
|
-
{
|
|
2864
|
+
{ client_session: [] },
|
|
2865
|
+
{ pat_with_workspace: [] },
|
|
2866
|
+
{ console_session: [] },
|
|
2867
|
+
{ api_key: [] }
|
|
2833
2868
|
],
|
|
2834
2869
|
summary: "/access_codes/unmanaged/update",
|
|
2835
2870
|
tags: ["/access_codes"],
|
|
@@ -2903,9 +2938,10 @@ var openapi_default = {
|
|
|
2903
2938
|
401: { description: "Unauthorized" }
|
|
2904
2939
|
},
|
|
2905
2940
|
security: [
|
|
2906
|
-
{
|
|
2907
|
-
{
|
|
2908
|
-
{
|
|
2941
|
+
{ client_session: [] },
|
|
2942
|
+
{ pat_with_workspace: [] },
|
|
2943
|
+
{ console_session: [] },
|
|
2944
|
+
{ api_key: [] }
|
|
2909
2945
|
],
|
|
2910
2946
|
summary: "/access_codes/update",
|
|
2911
2947
|
tags: ["/access_codes"],
|
|
@@ -2976,9 +3012,10 @@ var openapi_default = {
|
|
|
2976
3012
|
401: { description: "Unauthorized" }
|
|
2977
3013
|
},
|
|
2978
3014
|
security: [
|
|
2979
|
-
{
|
|
2980
|
-
{
|
|
2981
|
-
{
|
|
3015
|
+
{ client_session: [] },
|
|
3016
|
+
{ pat_with_workspace: [] },
|
|
3017
|
+
{ console_session: [] },
|
|
3018
|
+
{ api_key: [] }
|
|
2982
3019
|
],
|
|
2983
3020
|
summary: "/access_codes/update",
|
|
2984
3021
|
tags: ["/access_codes"],
|
|
@@ -3051,9 +3088,10 @@ var openapi_default = {
|
|
|
3051
3088
|
401: { description: "Unauthorized" }
|
|
3052
3089
|
},
|
|
3053
3090
|
security: [
|
|
3054
|
-
{
|
|
3055
|
-
{
|
|
3056
|
-
{
|
|
3091
|
+
{ client_session: [] },
|
|
3092
|
+
{ pat_with_workspace: [] },
|
|
3093
|
+
{ console_session: [] },
|
|
3094
|
+
{ api_key: [] }
|
|
3057
3095
|
],
|
|
3058
3096
|
summary: "/access_codes/update",
|
|
3059
3097
|
tags: ["/access_codes"],
|
|
@@ -3094,9 +3132,10 @@ var openapi_default = {
|
|
|
3094
3132
|
401: { description: "Unauthorized" }
|
|
3095
3133
|
},
|
|
3096
3134
|
security: [
|
|
3097
|
-
{
|
|
3098
|
-
{
|
|
3099
|
-
{
|
|
3135
|
+
{ client_session: [] },
|
|
3136
|
+
{ pat_with_workspace: [] },
|
|
3137
|
+
{ console_session: [] },
|
|
3138
|
+
{ api_key: [] }
|
|
3100
3139
|
],
|
|
3101
3140
|
summary: "/acs/access_groups/add_user",
|
|
3102
3141
|
tags: [],
|
|
@@ -3136,9 +3175,10 @@ var openapi_default = {
|
|
|
3136
3175
|
401: { description: "Unauthorized" }
|
|
3137
3176
|
},
|
|
3138
3177
|
security: [
|
|
3139
|
-
{
|
|
3140
|
-
{
|
|
3141
|
-
{
|
|
3178
|
+
{ client_session: [] },
|
|
3179
|
+
{ pat_with_workspace: [] },
|
|
3180
|
+
{ console_session: [] },
|
|
3181
|
+
{ api_key: [] }
|
|
3142
3182
|
],
|
|
3143
3183
|
summary: "/acs/access_groups/add_user",
|
|
3144
3184
|
tags: [],
|
|
@@ -3183,9 +3223,10 @@ var openapi_default = {
|
|
|
3183
3223
|
401: { description: "Unauthorized" }
|
|
3184
3224
|
},
|
|
3185
3225
|
security: [
|
|
3186
|
-
{
|
|
3187
|
-
{
|
|
3188
|
-
{
|
|
3226
|
+
{ client_session: [] },
|
|
3227
|
+
{ pat_with_workspace: [] },
|
|
3228
|
+
{ console_session: [] },
|
|
3229
|
+
{ api_key: [] }
|
|
3189
3230
|
],
|
|
3190
3231
|
summary: "/acs/access_groups/get",
|
|
3191
3232
|
tags: [],
|
|
@@ -3281,9 +3322,10 @@ var openapi_default = {
|
|
|
3281
3322
|
401: { description: "Unauthorized" }
|
|
3282
3323
|
},
|
|
3283
3324
|
security: [
|
|
3284
|
-
{
|
|
3285
|
-
{
|
|
3286
|
-
{
|
|
3325
|
+
{ client_session: [] },
|
|
3326
|
+
{ pat_with_workspace: [] },
|
|
3327
|
+
{ console_session: [] },
|
|
3328
|
+
{ api_key: [] }
|
|
3287
3329
|
],
|
|
3288
3330
|
summary: "/acs/access_groups/list_users",
|
|
3289
3331
|
tags: [],
|
|
@@ -6097,6 +6139,56 @@ var openapi_default = {
|
|
|
6097
6139
|
"x-fern-sdk-return-value": "connected_accounts"
|
|
6098
6140
|
}
|
|
6099
6141
|
},
|
|
6142
|
+
"/connected_accounts/update": {
|
|
6143
|
+
post: {
|
|
6144
|
+
operationId: "connectedAccountsUpdatePost",
|
|
6145
|
+
requestBody: {
|
|
6146
|
+
content: {
|
|
6147
|
+
"application/json": {
|
|
6148
|
+
schema: {
|
|
6149
|
+
properties: {
|
|
6150
|
+
automatically_manage_new_devices: { type: "boolean" },
|
|
6151
|
+
connected_account_id: { format: "uuid", type: "string" }
|
|
6152
|
+
},
|
|
6153
|
+
required: ["connected_account_id"],
|
|
6154
|
+
type: "object"
|
|
6155
|
+
}
|
|
6156
|
+
}
|
|
6157
|
+
}
|
|
6158
|
+
},
|
|
6159
|
+
responses: {
|
|
6160
|
+
200: {
|
|
6161
|
+
content: {
|
|
6162
|
+
"application/json": {
|
|
6163
|
+
schema: {
|
|
6164
|
+
properties: {
|
|
6165
|
+
connected_account: {
|
|
6166
|
+
$ref: "#/components/schemas/connected_account"
|
|
6167
|
+
},
|
|
6168
|
+
ok: { type: "boolean" }
|
|
6169
|
+
},
|
|
6170
|
+
required: ["connected_account", "ok"],
|
|
6171
|
+
type: "object"
|
|
6172
|
+
}
|
|
6173
|
+
}
|
|
6174
|
+
},
|
|
6175
|
+
description: "OK"
|
|
6176
|
+
},
|
|
6177
|
+
400: { description: "Bad Request" },
|
|
6178
|
+
401: { description: "Unauthorized" }
|
|
6179
|
+
},
|
|
6180
|
+
security: [
|
|
6181
|
+
{ pat_with_workspace: [] },
|
|
6182
|
+
{ console_session: [] },
|
|
6183
|
+
{ api_key: [] }
|
|
6184
|
+
],
|
|
6185
|
+
summary: "/connected_accounts/update",
|
|
6186
|
+
tags: ["/connected_accounts"],
|
|
6187
|
+
"x-fern-sdk-group-name": ["connected_accounts"],
|
|
6188
|
+
"x-fern-sdk-method-name": "update",
|
|
6189
|
+
"x-fern-sdk-return-value": "connected_account"
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
6100
6192
|
"/devices/delete": {
|
|
6101
6193
|
post: {
|
|
6102
6194
|
operationId: "devicesDeletePost",
|