@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
|
@@ -229,7 +229,7 @@ export default {
|
|
|
229
229
|
},
|
|
230
230
|
email_address: { format: 'email', type: 'string' },
|
|
231
231
|
external_type: {
|
|
232
|
-
enum: ['pti_user', 'brivo_user', 'hid_cm_user'],
|
|
232
|
+
enum: ['pti_user', 'brivo_user', 'hid_cm_user', 'salto_site_user'],
|
|
233
233
|
type: 'string',
|
|
234
234
|
},
|
|
235
235
|
external_type_display_name: { type: 'string' },
|
|
@@ -351,6 +351,10 @@ export default {
|
|
|
351
351
|
cooling_set_point_fahrenheit: { type: 'number' },
|
|
352
352
|
created_at: { format: 'date-time', type: 'string' },
|
|
353
353
|
device_id: { type: 'string' },
|
|
354
|
+
errors: {
|
|
355
|
+
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.',
|
|
356
|
+
nullable: true,
|
|
357
|
+
},
|
|
354
358
|
heating_set_point_celsius: { type: 'number' },
|
|
355
359
|
heating_set_point_fahrenheit: { type: 'number' },
|
|
356
360
|
hvac_mode_setting: {
|
|
@@ -447,6 +451,7 @@ export default {
|
|
|
447
451
|
properties: {
|
|
448
452
|
account_type: { type: 'string' },
|
|
449
453
|
account_type_display_name: { type: 'string' },
|
|
454
|
+
automatically_manage_new_devices: { type: 'boolean' },
|
|
450
455
|
connected_account_id: { format: 'uuid', type: 'string' },
|
|
451
456
|
created_at: { format: 'date-time', type: 'string' },
|
|
452
457
|
custom_metadata: {
|
|
@@ -474,7 +479,10 @@ export default {
|
|
|
474
479
|
},
|
|
475
480
|
warnings: { nullable: true },
|
|
476
481
|
},
|
|
477
|
-
required: [
|
|
482
|
+
required: [
|
|
483
|
+
'account_type_display_name',
|
|
484
|
+
'automatically_manage_new_devices',
|
|
485
|
+
],
|
|
478
486
|
type: 'object',
|
|
479
487
|
},
|
|
480
488
|
device: {
|
|
@@ -1138,6 +1146,10 @@ export default {
|
|
|
1138
1146
|
type: 'string',
|
|
1139
1147
|
},
|
|
1140
1148
|
device_id: { type: 'string' },
|
|
1149
|
+
errors: {
|
|
1150
|
+
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.',
|
|
1151
|
+
nullable: true,
|
|
1152
|
+
},
|
|
1141
1153
|
heating_set_point_celsius: { type: 'number' },
|
|
1142
1154
|
heating_set_point_fahrenheit: { type: 'number' },
|
|
1143
1155
|
hvac_mode_setting: {
|
|
@@ -1276,6 +1288,10 @@ export default {
|
|
|
1276
1288
|
type: 'string',
|
|
1277
1289
|
},
|
|
1278
1290
|
device_id: { type: 'string' },
|
|
1291
|
+
errors: {
|
|
1292
|
+
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.',
|
|
1293
|
+
nullable: true,
|
|
1294
|
+
},
|
|
1279
1295
|
heating_set_point_celsius: { type: 'number' },
|
|
1280
1296
|
heating_set_point_fahrenheit: { type: 'number' },
|
|
1281
1297
|
hvac_mode_setting: {
|
|
@@ -1406,6 +1422,10 @@ export default {
|
|
|
1406
1422
|
type: 'string',
|
|
1407
1423
|
},
|
|
1408
1424
|
device_id: { type: 'string' },
|
|
1425
|
+
errors: {
|
|
1426
|
+
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.',
|
|
1427
|
+
nullable: true,
|
|
1428
|
+
},
|
|
1409
1429
|
heating_set_point_celsius: { type: 'number' },
|
|
1410
1430
|
heating_set_point_fahrenheit: { type: 'number' },
|
|
1411
1431
|
hvac_mode_setting: {
|
|
@@ -1978,9 +1998,10 @@ export default {
|
|
|
1978
1998
|
401: { description: 'Unauthorized' },
|
|
1979
1999
|
},
|
|
1980
2000
|
security: [
|
|
1981
|
-
{
|
|
1982
|
-
{
|
|
1983
|
-
{
|
|
2001
|
+
{ client_session: [] },
|
|
2002
|
+
{ pat_with_workspace: [] },
|
|
2003
|
+
{ console_session: [] },
|
|
2004
|
+
{ api_key: [] },
|
|
1984
2005
|
],
|
|
1985
2006
|
summary: '/access_codes/create',
|
|
1986
2007
|
tags: ['/access_codes'],
|
|
@@ -2060,9 +2081,10 @@ export default {
|
|
|
2060
2081
|
401: { description: 'Unauthorized' },
|
|
2061
2082
|
},
|
|
2062
2083
|
security: [
|
|
2063
|
-
{
|
|
2064
|
-
{
|
|
2065
|
-
{
|
|
2084
|
+
{ client_session: [] },
|
|
2085
|
+
{ pat_with_workspace: [] },
|
|
2086
|
+
{ console_session: [] },
|
|
2087
|
+
{ api_key: [] },
|
|
2066
2088
|
],
|
|
2067
2089
|
summary: '/access_codes/create_multiple',
|
|
2068
2090
|
tags: ['/access_codes'],
|
|
@@ -2140,9 +2162,10 @@ export default {
|
|
|
2140
2162
|
401: { description: 'Unauthorized' },
|
|
2141
2163
|
},
|
|
2142
2164
|
security: [
|
|
2143
|
-
{
|
|
2144
|
-
{
|
|
2145
|
-
{
|
|
2165
|
+
{ client_session: [] },
|
|
2166
|
+
{ pat_with_workspace: [] },
|
|
2167
|
+
{ console_session: [] },
|
|
2168
|
+
{ api_key: [] },
|
|
2146
2169
|
],
|
|
2147
2170
|
summary: '/access_codes/create_multiple',
|
|
2148
2171
|
tags: ['/access_codes'],
|
|
@@ -2189,9 +2212,10 @@ export default {
|
|
|
2189
2212
|
401: { description: 'Unauthorized' },
|
|
2190
2213
|
},
|
|
2191
2214
|
security: [
|
|
2192
|
-
{
|
|
2193
|
-
{
|
|
2194
|
-
{
|
|
2215
|
+
{ client_session: [] },
|
|
2216
|
+
{ pat_with_workspace: [] },
|
|
2217
|
+
{ console_session: [] },
|
|
2218
|
+
{ api_key: [] },
|
|
2195
2219
|
],
|
|
2196
2220
|
summary: '/access_codes/delete',
|
|
2197
2221
|
tags: ['/access_codes'],
|
|
@@ -2236,9 +2260,10 @@ export default {
|
|
|
2236
2260
|
401: { description: 'Unauthorized' },
|
|
2237
2261
|
},
|
|
2238
2262
|
security: [
|
|
2239
|
-
{
|
|
2240
|
-
{
|
|
2241
|
-
{
|
|
2263
|
+
{ client_session: [] },
|
|
2264
|
+
{ pat_with_workspace: [] },
|
|
2265
|
+
{ console_session: [] },
|
|
2266
|
+
{ api_key: [] },
|
|
2242
2267
|
],
|
|
2243
2268
|
summary: '/access_codes/generate_code',
|
|
2244
2269
|
tags: ['/access_codes'],
|
|
@@ -2339,9 +2364,10 @@ export default {
|
|
|
2339
2364
|
401: { description: 'Unauthorized' },
|
|
2340
2365
|
},
|
|
2341
2366
|
security: [
|
|
2342
|
-
{
|
|
2343
|
-
{
|
|
2344
|
-
{
|
|
2367
|
+
{ client_session: [] },
|
|
2368
|
+
{ pat_with_workspace: [] },
|
|
2369
|
+
{ console_session: [] },
|
|
2370
|
+
{ api_key: [] },
|
|
2345
2371
|
],
|
|
2346
2372
|
summary: '/access_codes/list',
|
|
2347
2373
|
tags: ['/access_codes'],
|
|
@@ -2388,9 +2414,10 @@ export default {
|
|
|
2388
2414
|
401: { description: 'Unauthorized' },
|
|
2389
2415
|
},
|
|
2390
2416
|
security: [
|
|
2391
|
-
{
|
|
2392
|
-
{
|
|
2393
|
-
{
|
|
2417
|
+
{ client_session: [] },
|
|
2418
|
+
{ pat_with_workspace: [] },
|
|
2419
|
+
{ console_session: [] },
|
|
2420
|
+
{ api_key: [] },
|
|
2394
2421
|
],
|
|
2395
2422
|
summary: '/access_codes/pull_backup_access_code',
|
|
2396
2423
|
tags: ['/access_codes'],
|
|
@@ -2444,9 +2471,10 @@ export default {
|
|
|
2444
2471
|
401: { description: 'Unauthorized' },
|
|
2445
2472
|
},
|
|
2446
2473
|
security: [
|
|
2447
|
-
{
|
|
2448
|
-
{
|
|
2449
|
-
{
|
|
2474
|
+
{ client_session: [] },
|
|
2475
|
+
{ pat_with_workspace: [] },
|
|
2476
|
+
{ console_session: [] },
|
|
2477
|
+
{ api_key: [] },
|
|
2450
2478
|
],
|
|
2451
2479
|
summary: '/access_codes/simulate/create_unmanaged_access_code',
|
|
2452
2480
|
tags: ['/access_codes'],
|
|
@@ -2492,9 +2520,10 @@ export default {
|
|
|
2492
2520
|
401: { description: 'Unauthorized' },
|
|
2493
2521
|
},
|
|
2494
2522
|
security: [
|
|
2495
|
-
{
|
|
2496
|
-
{
|
|
2497
|
-
{
|
|
2523
|
+
{ client_session: [] },
|
|
2524
|
+
{ pat_with_workspace: [] },
|
|
2525
|
+
{ console_session: [] },
|
|
2526
|
+
{ api_key: [] },
|
|
2498
2527
|
],
|
|
2499
2528
|
summary: '/access_codes/unmanaged/convert_to_managed',
|
|
2500
2529
|
tags: ['/access_codes'],
|
|
@@ -2536,9 +2565,10 @@ export default {
|
|
|
2536
2565
|
401: { description: 'Unauthorized' },
|
|
2537
2566
|
},
|
|
2538
2567
|
security: [
|
|
2539
|
-
{
|
|
2540
|
-
{
|
|
2541
|
-
{
|
|
2568
|
+
{ client_session: [] },
|
|
2569
|
+
{ pat_with_workspace: [] },
|
|
2570
|
+
{ console_session: [] },
|
|
2571
|
+
{ api_key: [] },
|
|
2542
2572
|
],
|
|
2543
2573
|
summary: '/access_codes/unmanaged/convert_to_managed',
|
|
2544
2574
|
tags: ['/access_codes'],
|
|
@@ -2585,9 +2615,10 @@ export default {
|
|
|
2585
2615
|
401: { description: 'Unauthorized' },
|
|
2586
2616
|
},
|
|
2587
2617
|
security: [
|
|
2588
|
-
{
|
|
2589
|
-
{
|
|
2590
|
-
{
|
|
2618
|
+
{ client_session: [] },
|
|
2619
|
+
{ pat_with_workspace: [] },
|
|
2620
|
+
{ console_session: [] },
|
|
2621
|
+
{ api_key: [] },
|
|
2591
2622
|
],
|
|
2592
2623
|
summary: '/access_codes/unmanaged/delete',
|
|
2593
2624
|
tags: ['/access_codes'],
|
|
@@ -2635,9 +2666,10 @@ export default {
|
|
|
2635
2666
|
401: { description: 'Unauthorized' },
|
|
2636
2667
|
},
|
|
2637
2668
|
security: [
|
|
2638
|
-
{
|
|
2639
|
-
{
|
|
2640
|
-
{
|
|
2669
|
+
{ client_session: [] },
|
|
2670
|
+
{ pat_with_workspace: [] },
|
|
2671
|
+
{ console_session: [] },
|
|
2672
|
+
{ api_key: [] },
|
|
2641
2673
|
],
|
|
2642
2674
|
summary: '/access_codes/unmanaged/get',
|
|
2643
2675
|
tags: ['/access_codes'],
|
|
@@ -2688,9 +2720,10 @@ export default {
|
|
|
2688
2720
|
401: { description: 'Unauthorized' },
|
|
2689
2721
|
},
|
|
2690
2722
|
security: [
|
|
2691
|
-
{
|
|
2692
|
-
{
|
|
2693
|
-
{
|
|
2723
|
+
{ client_session: [] },
|
|
2724
|
+
{ pat_with_workspace: [] },
|
|
2725
|
+
{ console_session: [] },
|
|
2726
|
+
{ api_key: [] },
|
|
2694
2727
|
],
|
|
2695
2728
|
summary: '/access_codes/unmanaged/list',
|
|
2696
2729
|
tags: ['/access_codes'],
|
|
@@ -2736,9 +2769,10 @@ export default {
|
|
|
2736
2769
|
401: { description: 'Unauthorized' },
|
|
2737
2770
|
},
|
|
2738
2771
|
security: [
|
|
2739
|
-
{
|
|
2740
|
-
{
|
|
2741
|
-
{
|
|
2772
|
+
{ client_session: [] },
|
|
2773
|
+
{ pat_with_workspace: [] },
|
|
2774
|
+
{ console_session: [] },
|
|
2775
|
+
{ api_key: [] },
|
|
2742
2776
|
],
|
|
2743
2777
|
summary: '/access_codes/unmanaged/update',
|
|
2744
2778
|
tags: ['/access_codes'],
|
|
@@ -2780,9 +2814,10 @@ export default {
|
|
|
2780
2814
|
401: { description: 'Unauthorized' },
|
|
2781
2815
|
},
|
|
2782
2816
|
security: [
|
|
2783
|
-
{
|
|
2784
|
-
{
|
|
2785
|
-
{
|
|
2817
|
+
{ client_session: [] },
|
|
2818
|
+
{ pat_with_workspace: [] },
|
|
2819
|
+
{ console_session: [] },
|
|
2820
|
+
{ api_key: [] },
|
|
2786
2821
|
],
|
|
2787
2822
|
summary: '/access_codes/unmanaged/update',
|
|
2788
2823
|
tags: ['/access_codes'],
|
|
@@ -2856,9 +2891,10 @@ export default {
|
|
|
2856
2891
|
401: { description: 'Unauthorized' },
|
|
2857
2892
|
},
|
|
2858
2893
|
security: [
|
|
2859
|
-
{
|
|
2860
|
-
{
|
|
2861
|
-
{
|
|
2894
|
+
{ client_session: [] },
|
|
2895
|
+
{ pat_with_workspace: [] },
|
|
2896
|
+
{ console_session: [] },
|
|
2897
|
+
{ api_key: [] },
|
|
2862
2898
|
],
|
|
2863
2899
|
summary: '/access_codes/update',
|
|
2864
2900
|
tags: ['/access_codes'],
|
|
@@ -2929,9 +2965,10 @@ export default {
|
|
|
2929
2965
|
401: { description: 'Unauthorized' },
|
|
2930
2966
|
},
|
|
2931
2967
|
security: [
|
|
2932
|
-
{
|
|
2933
|
-
{
|
|
2934
|
-
{
|
|
2968
|
+
{ client_session: [] },
|
|
2969
|
+
{ pat_with_workspace: [] },
|
|
2970
|
+
{ console_session: [] },
|
|
2971
|
+
{ api_key: [] },
|
|
2935
2972
|
],
|
|
2936
2973
|
summary: '/access_codes/update',
|
|
2937
2974
|
tags: ['/access_codes'],
|
|
@@ -3004,9 +3041,10 @@ export default {
|
|
|
3004
3041
|
401: { description: 'Unauthorized' },
|
|
3005
3042
|
},
|
|
3006
3043
|
security: [
|
|
3007
|
-
{
|
|
3008
|
-
{
|
|
3009
|
-
{
|
|
3044
|
+
{ client_session: [] },
|
|
3045
|
+
{ pat_with_workspace: [] },
|
|
3046
|
+
{ console_session: [] },
|
|
3047
|
+
{ api_key: [] },
|
|
3010
3048
|
],
|
|
3011
3049
|
summary: '/access_codes/update',
|
|
3012
3050
|
tags: ['/access_codes'],
|
|
@@ -3047,9 +3085,10 @@ export default {
|
|
|
3047
3085
|
401: { description: 'Unauthorized' },
|
|
3048
3086
|
},
|
|
3049
3087
|
security: [
|
|
3050
|
-
{
|
|
3051
|
-
{
|
|
3052
|
-
{
|
|
3088
|
+
{ client_session: [] },
|
|
3089
|
+
{ pat_with_workspace: [] },
|
|
3090
|
+
{ console_session: [] },
|
|
3091
|
+
{ api_key: [] },
|
|
3053
3092
|
],
|
|
3054
3093
|
summary: '/acs/access_groups/add_user',
|
|
3055
3094
|
tags: [],
|
|
@@ -3089,9 +3128,10 @@ export default {
|
|
|
3089
3128
|
401: { description: 'Unauthorized' },
|
|
3090
3129
|
},
|
|
3091
3130
|
security: [
|
|
3092
|
-
{
|
|
3093
|
-
{
|
|
3094
|
-
{
|
|
3131
|
+
{ client_session: [] },
|
|
3132
|
+
{ pat_with_workspace: [] },
|
|
3133
|
+
{ console_session: [] },
|
|
3134
|
+
{ api_key: [] },
|
|
3095
3135
|
],
|
|
3096
3136
|
summary: '/acs/access_groups/add_user',
|
|
3097
3137
|
tags: [],
|
|
@@ -3136,9 +3176,10 @@ export default {
|
|
|
3136
3176
|
401: { description: 'Unauthorized' },
|
|
3137
3177
|
},
|
|
3138
3178
|
security: [
|
|
3139
|
-
{
|
|
3140
|
-
{
|
|
3141
|
-
{
|
|
3179
|
+
{ client_session: [] },
|
|
3180
|
+
{ pat_with_workspace: [] },
|
|
3181
|
+
{ console_session: [] },
|
|
3182
|
+
{ api_key: [] },
|
|
3142
3183
|
],
|
|
3143
3184
|
summary: '/acs/access_groups/get',
|
|
3144
3185
|
tags: [],
|
|
@@ -3234,9 +3275,10 @@ export default {
|
|
|
3234
3275
|
401: { description: 'Unauthorized' },
|
|
3235
3276
|
},
|
|
3236
3277
|
security: [
|
|
3237
|
-
{
|
|
3238
|
-
{
|
|
3239
|
-
{
|
|
3278
|
+
{ client_session: [] },
|
|
3279
|
+
{ pat_with_workspace: [] },
|
|
3280
|
+
{ console_session: [] },
|
|
3281
|
+
{ api_key: [] },
|
|
3240
3282
|
],
|
|
3241
3283
|
summary: '/acs/access_groups/list_users',
|
|
3242
3284
|
tags: [],
|
|
@@ -6050,6 +6092,56 @@ export default {
|
|
|
6050
6092
|
'x-fern-sdk-return-value': 'connected_accounts',
|
|
6051
6093
|
},
|
|
6052
6094
|
},
|
|
6095
|
+
'/connected_accounts/update': {
|
|
6096
|
+
post: {
|
|
6097
|
+
operationId: 'connectedAccountsUpdatePost',
|
|
6098
|
+
requestBody: {
|
|
6099
|
+
content: {
|
|
6100
|
+
'application/json': {
|
|
6101
|
+
schema: {
|
|
6102
|
+
properties: {
|
|
6103
|
+
automatically_manage_new_devices: { type: 'boolean' },
|
|
6104
|
+
connected_account_id: { format: 'uuid', type: 'string' },
|
|
6105
|
+
},
|
|
6106
|
+
required: ['connected_account_id'],
|
|
6107
|
+
type: 'object',
|
|
6108
|
+
},
|
|
6109
|
+
},
|
|
6110
|
+
},
|
|
6111
|
+
},
|
|
6112
|
+
responses: {
|
|
6113
|
+
200: {
|
|
6114
|
+
content: {
|
|
6115
|
+
'application/json': {
|
|
6116
|
+
schema: {
|
|
6117
|
+
properties: {
|
|
6118
|
+
connected_account: {
|
|
6119
|
+
$ref: '#/components/schemas/connected_account',
|
|
6120
|
+
},
|
|
6121
|
+
ok: { type: 'boolean' },
|
|
6122
|
+
},
|
|
6123
|
+
required: ['connected_account', 'ok'],
|
|
6124
|
+
type: 'object',
|
|
6125
|
+
},
|
|
6126
|
+
},
|
|
6127
|
+
},
|
|
6128
|
+
description: 'OK',
|
|
6129
|
+
},
|
|
6130
|
+
400: { description: 'Bad Request' },
|
|
6131
|
+
401: { description: 'Unauthorized' },
|
|
6132
|
+
},
|
|
6133
|
+
security: [
|
|
6134
|
+
{ pat_with_workspace: [] },
|
|
6135
|
+
{ console_session: [] },
|
|
6136
|
+
{ api_key: [] },
|
|
6137
|
+
],
|
|
6138
|
+
summary: '/connected_accounts/update',
|
|
6139
|
+
tags: ['/connected_accounts'],
|
|
6140
|
+
'x-fern-sdk-group-name': ['connected_accounts'],
|
|
6141
|
+
'x-fern-sdk-method-name': 'update',
|
|
6142
|
+
'x-fern-sdk-return-value': 'connected_account',
|
|
6143
|
+
},
|
|
6144
|
+
},
|
|
6053
6145
|
'/devices/delete': {
|
|
6054
6146
|
post: {
|
|
6055
6147
|
operationId: 'devicesDeletePost',
|