@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.
@@ -246,7 +246,7 @@ export default {
246
246
  },
247
247
  email_address: { format: 'email', type: 'string' },
248
248
  external_type: {
249
- enum: ['pti_user', 'brivo_user', 'hid_cm_user'],
249
+ enum: ['pti_user', 'brivo_user', 'hid_cm_user', 'salto_site_user'],
250
250
  type: 'string',
251
251
  },
252
252
  external_type_display_name: { type: 'string' },
@@ -368,6 +368,11 @@ export default {
368
368
  cooling_set_point_fahrenheit: { type: 'number' },
369
369
  created_at: { format: 'date-time', type: 'string' },
370
370
  device_id: { type: 'string' },
371
+ errors: {
372
+ description:
373
+ '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.',
374
+ nullable: true,
375
+ },
371
376
  heating_set_point_celsius: { type: 'number' },
372
377
  heating_set_point_fahrenheit: { type: 'number' },
373
378
  hvac_mode_setting: {
@@ -464,6 +469,7 @@ export default {
464
469
  properties: {
465
470
  account_type: { type: 'string' },
466
471
  account_type_display_name: { type: 'string' },
472
+ automatically_manage_new_devices: { type: 'boolean' },
467
473
  connected_account_id: { format: 'uuid', type: 'string' },
468
474
  created_at: { format: 'date-time', type: 'string' },
469
475
  custom_metadata: {
@@ -491,7 +497,10 @@ export default {
491
497
  },
492
498
  warnings: { nullable: true },
493
499
  },
494
- required: ['account_type_display_name'],
500
+ required: [
501
+ 'account_type_display_name',
502
+ 'automatically_manage_new_devices',
503
+ ],
495
504
  type: 'object',
496
505
  },
497
506
  device: {
@@ -1171,6 +1180,11 @@ export default {
1171
1180
  type: 'string',
1172
1181
  },
1173
1182
  device_id: { type: 'string' },
1183
+ errors: {
1184
+ description:
1185
+ '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.',
1186
+ nullable: true,
1187
+ },
1174
1188
  heating_set_point_celsius: { type: 'number' },
1175
1189
  heating_set_point_fahrenheit: { type: 'number' },
1176
1190
  hvac_mode_setting: {
@@ -1309,6 +1323,11 @@ export default {
1309
1323
  type: 'string',
1310
1324
  },
1311
1325
  device_id: { type: 'string' },
1326
+ errors: {
1327
+ description:
1328
+ '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.',
1329
+ nullable: true,
1330
+ },
1312
1331
  heating_set_point_celsius: { type: 'number' },
1313
1332
  heating_set_point_fahrenheit: { type: 'number' },
1314
1333
  hvac_mode_setting: {
@@ -1439,6 +1458,11 @@ export default {
1439
1458
  type: 'string',
1440
1459
  },
1441
1460
  device_id: { type: 'string' },
1461
+ errors: {
1462
+ description:
1463
+ '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.',
1464
+ nullable: true,
1465
+ },
1442
1466
  heating_set_point_celsius: { type: 'number' },
1443
1467
  heating_set_point_fahrenheit: { type: 'number' },
1444
1468
  hvac_mode_setting: {
@@ -2029,9 +2053,10 @@ export default {
2029
2053
  401: { description: 'Unauthorized' },
2030
2054
  },
2031
2055
  security: [
2032
- { access_token: [], seam_workspace: [] },
2033
- { seam_client_session_token: [] },
2034
- { client_session_token: [] },
2056
+ { client_session: [] },
2057
+ { pat_with_workspace: [] },
2058
+ { console_session: [] },
2059
+ { api_key: [] },
2035
2060
  ],
2036
2061
  summary: '/access_codes/create',
2037
2062
  tags: ['/access_codes'],
@@ -2111,9 +2136,10 @@ export default {
2111
2136
  401: { description: 'Unauthorized' },
2112
2137
  },
2113
2138
  security: [
2114
- { access_token: [], seam_workspace: [] },
2115
- { seam_client_session_token: [] },
2116
- { client_session_token: [] },
2139
+ { client_session: [] },
2140
+ { pat_with_workspace: [] },
2141
+ { console_session: [] },
2142
+ { api_key: [] },
2117
2143
  ],
2118
2144
  summary: '/access_codes/create_multiple',
2119
2145
  tags: ['/access_codes'],
@@ -2191,9 +2217,10 @@ export default {
2191
2217
  401: { description: 'Unauthorized' },
2192
2218
  },
2193
2219
  security: [
2194
- { access_token: [], seam_workspace: [] },
2195
- { seam_client_session_token: [] },
2196
- { client_session_token: [] },
2220
+ { client_session: [] },
2221
+ { pat_with_workspace: [] },
2222
+ { console_session: [] },
2223
+ { api_key: [] },
2197
2224
  ],
2198
2225
  summary: '/access_codes/create_multiple',
2199
2226
  tags: ['/access_codes'],
@@ -2240,9 +2267,10 @@ export default {
2240
2267
  401: { description: 'Unauthorized' },
2241
2268
  },
2242
2269
  security: [
2243
- { access_token: [], seam_workspace: [] },
2244
- { seam_client_session_token: [] },
2245
- { client_session_token: [] },
2270
+ { client_session: [] },
2271
+ { pat_with_workspace: [] },
2272
+ { console_session: [] },
2273
+ { api_key: [] },
2246
2274
  ],
2247
2275
  summary: '/access_codes/delete',
2248
2276
  tags: ['/access_codes'],
@@ -2287,9 +2315,10 @@ export default {
2287
2315
  401: { description: 'Unauthorized' },
2288
2316
  },
2289
2317
  security: [
2290
- { access_token: [], seam_workspace: [] },
2291
- { seam_client_session_token: [] },
2292
- { client_session_token: [] },
2318
+ { client_session: [] },
2319
+ { pat_with_workspace: [] },
2320
+ { console_session: [] },
2321
+ { api_key: [] },
2293
2322
  ],
2294
2323
  summary: '/access_codes/generate_code',
2295
2324
  tags: ['/access_codes'],
@@ -2390,9 +2419,10 @@ export default {
2390
2419
  401: { description: 'Unauthorized' },
2391
2420
  },
2392
2421
  security: [
2393
- { access_token: [], seam_workspace: [] },
2394
- { seam_client_session_token: [] },
2395
- { client_session_token: [] },
2422
+ { client_session: [] },
2423
+ { pat_with_workspace: [] },
2424
+ { console_session: [] },
2425
+ { api_key: [] },
2396
2426
  ],
2397
2427
  summary: '/access_codes/list',
2398
2428
  tags: ['/access_codes'],
@@ -2439,9 +2469,10 @@ export default {
2439
2469
  401: { description: 'Unauthorized' },
2440
2470
  },
2441
2471
  security: [
2442
- { access_token: [], seam_workspace: [] },
2443
- { seam_client_session_token: [] },
2444
- { client_session_token: [] },
2472
+ { client_session: [] },
2473
+ { pat_with_workspace: [] },
2474
+ { console_session: [] },
2475
+ { api_key: [] },
2445
2476
  ],
2446
2477
  summary: '/access_codes/pull_backup_access_code',
2447
2478
  tags: ['/access_codes'],
@@ -2495,9 +2526,10 @@ export default {
2495
2526
  401: { description: 'Unauthorized' },
2496
2527
  },
2497
2528
  security: [
2498
- { access_token: [], seam_workspace: [] },
2499
- { seam_client_session_token: [] },
2500
- { client_session_token: [] },
2529
+ { client_session: [] },
2530
+ { pat_with_workspace: [] },
2531
+ { console_session: [] },
2532
+ { api_key: [] },
2501
2533
  ],
2502
2534
  summary: '/access_codes/simulate/create_unmanaged_access_code',
2503
2535
  tags: ['/access_codes'],
@@ -2543,9 +2575,10 @@ export default {
2543
2575
  401: { description: 'Unauthorized' },
2544
2576
  },
2545
2577
  security: [
2546
- { access_token: [], seam_workspace: [] },
2547
- { seam_client_session_token: [] },
2548
- { client_session_token: [] },
2578
+ { client_session: [] },
2579
+ { pat_with_workspace: [] },
2580
+ { console_session: [] },
2581
+ { api_key: [] },
2549
2582
  ],
2550
2583
  summary: '/access_codes/unmanaged/convert_to_managed',
2551
2584
  tags: ['/access_codes'],
@@ -2587,9 +2620,10 @@ export default {
2587
2620
  401: { description: 'Unauthorized' },
2588
2621
  },
2589
2622
  security: [
2590
- { access_token: [], seam_workspace: [] },
2591
- { seam_client_session_token: [] },
2592
- { client_session_token: [] },
2623
+ { client_session: [] },
2624
+ { pat_with_workspace: [] },
2625
+ { console_session: [] },
2626
+ { api_key: [] },
2593
2627
  ],
2594
2628
  summary: '/access_codes/unmanaged/convert_to_managed',
2595
2629
  tags: ['/access_codes'],
@@ -2636,9 +2670,10 @@ export default {
2636
2670
  401: { description: 'Unauthorized' },
2637
2671
  },
2638
2672
  security: [
2639
- { access_token: [], seam_workspace: [] },
2640
- { seam_client_session_token: [] },
2641
- { client_session_token: [] },
2673
+ { client_session: [] },
2674
+ { pat_with_workspace: [] },
2675
+ { console_session: [] },
2676
+ { api_key: [] },
2642
2677
  ],
2643
2678
  summary: '/access_codes/unmanaged/delete',
2644
2679
  tags: ['/access_codes'],
@@ -2686,9 +2721,10 @@ export default {
2686
2721
  401: { description: 'Unauthorized' },
2687
2722
  },
2688
2723
  security: [
2689
- { access_token: [], seam_workspace: [] },
2690
- { seam_client_session_token: [] },
2691
- { client_session_token: [] },
2724
+ { client_session: [] },
2725
+ { pat_with_workspace: [] },
2726
+ { console_session: [] },
2727
+ { api_key: [] },
2692
2728
  ],
2693
2729
  summary: '/access_codes/unmanaged/get',
2694
2730
  tags: ['/access_codes'],
@@ -2739,9 +2775,10 @@ export default {
2739
2775
  401: { description: 'Unauthorized' },
2740
2776
  },
2741
2777
  security: [
2742
- { access_token: [], seam_workspace: [] },
2743
- { seam_client_session_token: [] },
2744
- { client_session_token: [] },
2778
+ { client_session: [] },
2779
+ { pat_with_workspace: [] },
2780
+ { console_session: [] },
2781
+ { api_key: [] },
2745
2782
  ],
2746
2783
  summary: '/access_codes/unmanaged/list',
2747
2784
  tags: ['/access_codes'],
@@ -2787,9 +2824,10 @@ export default {
2787
2824
  401: { description: 'Unauthorized' },
2788
2825
  },
2789
2826
  security: [
2790
- { access_token: [], seam_workspace: [] },
2791
- { seam_client_session_token: [] },
2792
- { client_session_token: [] },
2827
+ { client_session: [] },
2828
+ { pat_with_workspace: [] },
2829
+ { console_session: [] },
2830
+ { api_key: [] },
2793
2831
  ],
2794
2832
  summary: '/access_codes/unmanaged/update',
2795
2833
  tags: ['/access_codes'],
@@ -2831,9 +2869,10 @@ export default {
2831
2869
  401: { description: 'Unauthorized' },
2832
2870
  },
2833
2871
  security: [
2834
- { access_token: [], seam_workspace: [] },
2835
- { seam_client_session_token: [] },
2836
- { client_session_token: [] },
2872
+ { client_session: [] },
2873
+ { pat_with_workspace: [] },
2874
+ { console_session: [] },
2875
+ { api_key: [] },
2837
2876
  ],
2838
2877
  summary: '/access_codes/unmanaged/update',
2839
2878
  tags: ['/access_codes'],
@@ -2907,9 +2946,10 @@ export default {
2907
2946
  401: { description: 'Unauthorized' },
2908
2947
  },
2909
2948
  security: [
2910
- { access_token: [], seam_workspace: [] },
2911
- { seam_client_session_token: [] },
2912
- { client_session_token: [] },
2949
+ { client_session: [] },
2950
+ { pat_with_workspace: [] },
2951
+ { console_session: [] },
2952
+ { api_key: [] },
2913
2953
  ],
2914
2954
  summary: '/access_codes/update',
2915
2955
  tags: ['/access_codes'],
@@ -2980,9 +3020,10 @@ export default {
2980
3020
  401: { description: 'Unauthorized' },
2981
3021
  },
2982
3022
  security: [
2983
- { access_token: [], seam_workspace: [] },
2984
- { seam_client_session_token: [] },
2985
- { client_session_token: [] },
3023
+ { client_session: [] },
3024
+ { pat_with_workspace: [] },
3025
+ { console_session: [] },
3026
+ { api_key: [] },
2986
3027
  ],
2987
3028
  summary: '/access_codes/update',
2988
3029
  tags: ['/access_codes'],
@@ -3055,9 +3096,10 @@ export default {
3055
3096
  401: { description: 'Unauthorized' },
3056
3097
  },
3057
3098
  security: [
3058
- { access_token: [], seam_workspace: [] },
3059
- { seam_client_session_token: [] },
3060
- { client_session_token: [] },
3099
+ { client_session: [] },
3100
+ { pat_with_workspace: [] },
3101
+ { console_session: [] },
3102
+ { api_key: [] },
3061
3103
  ],
3062
3104
  summary: '/access_codes/update',
3063
3105
  tags: ['/access_codes'],
@@ -3098,9 +3140,10 @@ export default {
3098
3140
  401: { description: 'Unauthorized' },
3099
3141
  },
3100
3142
  security: [
3101
- { access_token: [], seam_workspace: [] },
3102
- { seam_client_session_token: [] },
3103
- { client_session_token: [] },
3143
+ { client_session: [] },
3144
+ { pat_with_workspace: [] },
3145
+ { console_session: [] },
3146
+ { api_key: [] },
3104
3147
  ],
3105
3148
  summary: '/acs/access_groups/add_user',
3106
3149
  tags: [],
@@ -3140,9 +3183,10 @@ export default {
3140
3183
  401: { description: 'Unauthorized' },
3141
3184
  },
3142
3185
  security: [
3143
- { access_token: [], seam_workspace: [] },
3144
- { seam_client_session_token: [] },
3145
- { client_session_token: [] },
3186
+ { client_session: [] },
3187
+ { pat_with_workspace: [] },
3188
+ { console_session: [] },
3189
+ { api_key: [] },
3146
3190
  ],
3147
3191
  summary: '/acs/access_groups/add_user',
3148
3192
  tags: [],
@@ -3187,9 +3231,10 @@ export default {
3187
3231
  401: { description: 'Unauthorized' },
3188
3232
  },
3189
3233
  security: [
3190
- { access_token: [], seam_workspace: [] },
3191
- { seam_client_session_token: [] },
3192
- { client_session_token: [] },
3234
+ { client_session: [] },
3235
+ { pat_with_workspace: [] },
3236
+ { console_session: [] },
3237
+ { api_key: [] },
3193
3238
  ],
3194
3239
  summary: '/acs/access_groups/get',
3195
3240
  tags: [],
@@ -3285,9 +3330,10 @@ export default {
3285
3330
  401: { description: 'Unauthorized' },
3286
3331
  },
3287
3332
  security: [
3288
- { access_token: [], seam_workspace: [] },
3289
- { seam_client_session_token: [] },
3290
- { client_session_token: [] },
3333
+ { client_session: [] },
3334
+ { pat_with_workspace: [] },
3335
+ { console_session: [] },
3336
+ { api_key: [] },
3291
3337
  ],
3292
3338
  summary: '/acs/access_groups/list_users',
3293
3339
  tags: [],
@@ -6101,6 +6147,56 @@ export default {
6101
6147
  'x-fern-sdk-return-value': 'connected_accounts',
6102
6148
  },
6103
6149
  },
6150
+ '/connected_accounts/update': {
6151
+ post: {
6152
+ operationId: 'connectedAccountsUpdatePost',
6153
+ requestBody: {
6154
+ content: {
6155
+ 'application/json': {
6156
+ schema: {
6157
+ properties: {
6158
+ automatically_manage_new_devices: { type: 'boolean' },
6159
+ connected_account_id: { format: 'uuid', type: 'string' },
6160
+ },
6161
+ required: ['connected_account_id'],
6162
+ type: 'object',
6163
+ },
6164
+ },
6165
+ },
6166
+ },
6167
+ responses: {
6168
+ 200: {
6169
+ content: {
6170
+ 'application/json': {
6171
+ schema: {
6172
+ properties: {
6173
+ connected_account: {
6174
+ $ref: '#/components/schemas/connected_account',
6175
+ },
6176
+ ok: { type: 'boolean' },
6177
+ },
6178
+ required: ['connected_account', 'ok'],
6179
+ type: 'object',
6180
+ },
6181
+ },
6182
+ },
6183
+ description: 'OK',
6184
+ },
6185
+ 400: { description: 'Bad Request' },
6186
+ 401: { description: 'Unauthorized' },
6187
+ },
6188
+ security: [
6189
+ { pat_with_workspace: [] },
6190
+ { console_session: [] },
6191
+ { api_key: [] },
6192
+ ],
6193
+ summary: '/connected_accounts/update',
6194
+ tags: ['/connected_accounts'],
6195
+ 'x-fern-sdk-group-name': ['connected_accounts'],
6196
+ 'x-fern-sdk-method-name': 'update',
6197
+ 'x-fern-sdk-return-value': 'connected_account',
6198
+ },
6199
+ },
6104
6200
  '/devices/delete': {
6105
6201
  post: {
6106
6202
  operationId: 'devicesDeletePost',