@seamapi/types 1.310.0 → 1.311.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.
Files changed (30) hide show
  1. package/dist/connect.cjs +37 -396
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +12 -2330
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -312
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +0 -8
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/openapi.d.ts +6 -0
  8. package/lib/seam/connect/openapi.js +23 -311
  9. package/lib/seam/connect/openapi.js.map +1 -1
  10. package/lib/seam/connect/route-types.d.ts +18 -2030
  11. package/package.json +1 -1
  12. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +0 -8
  13. package/src/lib/seam/connect/openapi.ts +28 -311
  14. package/src/lib/seam/connect/route-types.ts +6 -2270
  15. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +0 -80
  16. package/lib/seam/connect/models/action-attempts/set-cool.js +0 -25
  17. package/lib/seam/connect/models/action-attempts/set-cool.js.map +0 -1
  18. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +0 -80
  19. package/lib/seam/connect/models/action-attempts/set-heat-cool.js +0 -25
  20. package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +0 -1
  21. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +0 -80
  22. package/lib/seam/connect/models/action-attempts/set-heat.js +0 -25
  23. package/lib/seam/connect/models/action-attempts/set-heat.js.map +0 -1
  24. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +0 -80
  25. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +0 -25
  26. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +0 -1
  27. package/src/lib/seam/connect/models/action-attempts/set-cool.ts +0 -33
  28. package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +0 -33
  29. package/src/lib/seam/connect/models/action-attempts/set-heat.ts +0 -33
  30. package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +0 -36
@@ -2218,240 +2218,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
2218
2218
  status: z.ZodLiteral<"pending">;
2219
2219
  result: z.ZodNull;
2220
2220
  error: z.ZodNull;
2221
- }>, {
2222
- action_type: z.ZodLiteral<"SET_COOL">;
2223
- }>, "strip", z.ZodTypeAny, {
2224
- error: null;
2225
- status: "pending";
2226
- action_attempt_id: string;
2227
- result: null;
2228
- action_type: "SET_COOL";
2229
- }, {
2230
- error: null;
2231
- status: "pending";
2232
- action_attempt_id: string;
2233
- result: null;
2234
- action_type: "SET_COOL";
2235
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2236
- action_attempt_id: z.ZodString;
2237
- status: z.ZodEnum<["pending", "success", "error"]>;
2238
- }, {
2239
- status: z.ZodLiteral<"success">;
2240
- error: z.ZodNull;
2241
- }>, {
2242
- action_type: z.ZodLiteral<"SET_COOL">;
2243
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2244
- }>, "strip", z.ZodTypeAny, {
2245
- error: null;
2246
- status: "success";
2247
- action_attempt_id: string;
2248
- result: {};
2249
- action_type: "SET_COOL";
2250
- }, {
2251
- error: null;
2252
- status: "success";
2253
- action_attempt_id: string;
2254
- result: {};
2255
- action_type: "SET_COOL";
2256
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2257
- action_attempt_id: z.ZodString;
2258
- status: z.ZodEnum<["pending", "success", "error"]>;
2259
- }, {
2260
- status: z.ZodLiteral<"error">;
2261
- result: z.ZodNull;
2262
- }>, {
2263
- action_type: z.ZodLiteral<"SET_COOL">;
2264
- error: z.ZodObject<{
2265
- type: z.ZodString;
2266
- message: z.ZodString;
2267
- }, "strip", z.ZodTypeAny, {
2268
- type: string;
2269
- message: string;
2270
- }, {
2271
- type: string;
2272
- message: string;
2273
- }>;
2274
- }>, "strip", z.ZodTypeAny, {
2275
- error: {
2276
- type: string;
2277
- message: string;
2278
- };
2279
- status: "error";
2280
- action_attempt_id: string;
2281
- result: null;
2282
- action_type: "SET_COOL";
2283
- }, {
2284
- error: {
2285
- type: string;
2286
- message: string;
2287
- };
2288
- status: "error";
2289
- action_attempt_id: string;
2290
- result: null;
2291
- action_type: "SET_COOL";
2292
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2293
- action_attempt_id: z.ZodString;
2294
- status: z.ZodEnum<["pending", "success", "error"]>;
2295
- }, {
2296
- status: z.ZodLiteral<"pending">;
2297
- result: z.ZodNull;
2298
- error: z.ZodNull;
2299
- }>, {
2300
- action_type: z.ZodLiteral<"SET_HEAT">;
2301
- }>, "strip", z.ZodTypeAny, {
2302
- error: null;
2303
- status: "pending";
2304
- action_attempt_id: string;
2305
- result: null;
2306
- action_type: "SET_HEAT";
2307
- }, {
2308
- error: null;
2309
- status: "pending";
2310
- action_attempt_id: string;
2311
- result: null;
2312
- action_type: "SET_HEAT";
2313
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2314
- action_attempt_id: z.ZodString;
2315
- status: z.ZodEnum<["pending", "success", "error"]>;
2316
- }, {
2317
- status: z.ZodLiteral<"success">;
2318
- error: z.ZodNull;
2319
- }>, {
2320
- action_type: z.ZodLiteral<"SET_HEAT">;
2321
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2322
- }>, "strip", z.ZodTypeAny, {
2323
- error: null;
2324
- status: "success";
2325
- action_attempt_id: string;
2326
- result: {};
2327
- action_type: "SET_HEAT";
2328
- }, {
2329
- error: null;
2330
- status: "success";
2331
- action_attempt_id: string;
2332
- result: {};
2333
- action_type: "SET_HEAT";
2334
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2335
- action_attempt_id: z.ZodString;
2336
- status: z.ZodEnum<["pending", "success", "error"]>;
2337
- }, {
2338
- status: z.ZodLiteral<"error">;
2339
- result: z.ZodNull;
2340
- }>, {
2341
- action_type: z.ZodLiteral<"SET_HEAT">;
2342
- error: z.ZodObject<{
2343
- type: z.ZodString;
2344
- message: z.ZodString;
2345
- }, "strip", z.ZodTypeAny, {
2346
- type: string;
2347
- message: string;
2348
- }, {
2349
- type: string;
2350
- message: string;
2351
- }>;
2352
- }>, "strip", z.ZodTypeAny, {
2353
- error: {
2354
- type: string;
2355
- message: string;
2356
- };
2357
- status: "error";
2358
- action_attempt_id: string;
2359
- result: null;
2360
- action_type: "SET_HEAT";
2361
- }, {
2362
- error: {
2363
- type: string;
2364
- message: string;
2365
- };
2366
- status: "error";
2367
- action_attempt_id: string;
2368
- result: null;
2369
- action_type: "SET_HEAT";
2370
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2371
- action_attempt_id: z.ZodString;
2372
- status: z.ZodEnum<["pending", "success", "error"]>;
2373
- }, {
2374
- status: z.ZodLiteral<"pending">;
2375
- result: z.ZodNull;
2376
- error: z.ZodNull;
2377
- }>, {
2378
- action_type: z.ZodLiteral<"SET_HEAT_COOL">;
2379
- }>, "strip", z.ZodTypeAny, {
2380
- error: null;
2381
- status: "pending";
2382
- action_attempt_id: string;
2383
- result: null;
2384
- action_type: "SET_HEAT_COOL";
2385
- }, {
2386
- error: null;
2387
- status: "pending";
2388
- action_attempt_id: string;
2389
- result: null;
2390
- action_type: "SET_HEAT_COOL";
2391
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2392
- action_attempt_id: z.ZodString;
2393
- status: z.ZodEnum<["pending", "success", "error"]>;
2394
- }, {
2395
- status: z.ZodLiteral<"success">;
2396
- error: z.ZodNull;
2397
- }>, {
2398
- action_type: z.ZodLiteral<"SET_HEAT_COOL">;
2399
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2400
- }>, "strip", z.ZodTypeAny, {
2401
- error: null;
2402
- status: "success";
2403
- action_attempt_id: string;
2404
- result: {};
2405
- action_type: "SET_HEAT_COOL";
2406
- }, {
2407
- error: null;
2408
- status: "success";
2409
- action_attempt_id: string;
2410
- result: {};
2411
- action_type: "SET_HEAT_COOL";
2412
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2413
- action_attempt_id: z.ZodString;
2414
- status: z.ZodEnum<["pending", "success", "error"]>;
2415
- }, {
2416
- status: z.ZodLiteral<"error">;
2417
- result: z.ZodNull;
2418
- }>, {
2419
- action_type: z.ZodLiteral<"SET_HEAT_COOL">;
2420
- error: z.ZodObject<{
2421
- type: z.ZodString;
2422
- message: z.ZodString;
2423
- }, "strip", z.ZodTypeAny, {
2424
- type: string;
2425
- message: string;
2426
- }, {
2427
- type: string;
2428
- message: string;
2429
- }>;
2430
- }>, "strip", z.ZodTypeAny, {
2431
- error: {
2432
- type: string;
2433
- message: string;
2434
- };
2435
- status: "error";
2436
- action_attempt_id: string;
2437
- result: null;
2438
- action_type: "SET_HEAT_COOL";
2439
- }, {
2440
- error: {
2441
- type: string;
2442
- message: string;
2443
- };
2444
- status: "error";
2445
- action_attempt_id: string;
2446
- result: null;
2447
- action_type: "SET_HEAT_COOL";
2448
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2449
- action_attempt_id: z.ZodString;
2450
- status: z.ZodEnum<["pending", "success", "error"]>;
2451
- }, {
2452
- status: z.ZodLiteral<"pending">;
2453
- result: z.ZodNull;
2454
- error: z.ZodNull;
2455
2221
  }>, {
2456
2222
  action_type: z.ZodLiteral<"SET_FAN_MODE">;
2457
2223
  }>, "strip", z.ZodTypeAny, {
@@ -2530,84 +2296,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
2530
2296
  status: z.ZodLiteral<"pending">;
2531
2297
  result: z.ZodNull;
2532
2298
  error: z.ZodNull;
2533
- }>, {
2534
- action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
2535
- }>, "strip", z.ZodTypeAny, {
2536
- error: null;
2537
- status: "pending";
2538
- action_attempt_id: string;
2539
- result: null;
2540
- action_type: "SET_THERMOSTAT_OFF";
2541
- }, {
2542
- error: null;
2543
- status: "pending";
2544
- action_attempt_id: string;
2545
- result: null;
2546
- action_type: "SET_THERMOSTAT_OFF";
2547
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2548
- action_attempt_id: z.ZodString;
2549
- status: z.ZodEnum<["pending", "success", "error"]>;
2550
- }, {
2551
- status: z.ZodLiteral<"success">;
2552
- error: z.ZodNull;
2553
- }>, {
2554
- action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
2555
- result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2556
- }>, "strip", z.ZodTypeAny, {
2557
- error: null;
2558
- status: "success";
2559
- action_attempt_id: string;
2560
- result: {};
2561
- action_type: "SET_THERMOSTAT_OFF";
2562
- }, {
2563
- error: null;
2564
- status: "success";
2565
- action_attempt_id: string;
2566
- result: {};
2567
- action_type: "SET_THERMOSTAT_OFF";
2568
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2569
- action_attempt_id: z.ZodString;
2570
- status: z.ZodEnum<["pending", "success", "error"]>;
2571
- }, {
2572
- status: z.ZodLiteral<"error">;
2573
- result: z.ZodNull;
2574
- }>, {
2575
- action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
2576
- error: z.ZodObject<{
2577
- type: z.ZodString;
2578
- message: z.ZodString;
2579
- }, "strip", z.ZodTypeAny, {
2580
- type: string;
2581
- message: string;
2582
- }, {
2583
- type: string;
2584
- message: string;
2585
- }>;
2586
- }>, "strip", z.ZodTypeAny, {
2587
- error: {
2588
- type: string;
2589
- message: string;
2590
- };
2591
- status: "error";
2592
- action_attempt_id: string;
2593
- result: null;
2594
- action_type: "SET_THERMOSTAT_OFF";
2595
- }, {
2596
- error: {
2597
- type: string;
2598
- message: string;
2599
- };
2600
- status: "error";
2601
- action_attempt_id: string;
2602
- result: null;
2603
- action_type: "SET_THERMOSTAT_OFF";
2604
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2605
- action_attempt_id: z.ZodString;
2606
- status: z.ZodEnum<["pending", "success", "error"]>;
2607
- }, {
2608
- status: z.ZodLiteral<"pending">;
2609
- result: z.ZodNull;
2610
- error: z.ZodNull;
2611
2299
  }>, {
2612
2300
  action_type: z.ZodLiteral<"SET_HVAC_MODE">;
2613
2301
  }>, "strip", z.ZodTypeAny, {
@@ -5,12 +5,8 @@ import { encode_credential_action_attempt } from './encode-credential.js';
5
5
  import { lock_door_action_attempt } from './lock-door.js';
6
6
  import { reset_sandbox_workspace_action_attempt } from './reset-sandbox-workspace.js';
7
7
  import { scan_credential_action_attempt } from './scan-credential.js';
8
- import { set_cool_action_attempt } from './set-cool.js';
9
8
  import { set_fan_mode_action_attempt } from './set-fan-mode.js';
10
- import { set_heat_action_attempt } from './set-heat.js';
11
- import { set_heat_cool_action_attempt } from './set-heat-cool.js';
12
9
  import { set_hvac_mode_action_attempt } from './set-hvac-mode.js';
13
- import { set_thermostat_off_action_attempt } from './set-thermostat-off.js';
14
10
  import { unlock_door_action_attempt } from './unlock-door.js';
15
11
  export const action_attempt = z.union([
16
12
  ...lock_door_action_attempt.options,
@@ -18,11 +14,7 @@ export const action_attempt = z.union([
18
14
  ...scan_credential_action_attempt.options,
19
15
  ...encode_credential_action_attempt.options,
20
16
  ...reset_sandbox_workspace_action_attempt.options,
21
- ...set_cool_action_attempt.options,
22
- ...set_heat_action_attempt.options,
23
- ...set_heat_cool_action_attempt.options,
24
17
  ...set_fan_mode_action_attempt.options,
25
- ...set_thermostat_off_action_attempt.options,
26
18
  ...set_hvac_mode_action_attempt.options,
27
19
  ...activate_climate_preset_action_attempt.options,
28
20
  ...deprecated_action_attempts,
@@ -1 +1 @@
1
- {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":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,CAAA"}
1
+ {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
@@ -16518,7 +16518,10 @@ declare const _default: {
16518
16518
  };
16519
16519
  manual_override_allowed: {
16520
16520
  default: boolean;
16521
+ deprecated: boolean;
16522
+ description: string;
16521
16523
  type: string;
16524
+ 'x-deprecated': string;
16522
16525
  };
16523
16526
  name: {
16524
16527
  default: null;
@@ -17202,6 +17205,7 @@ declare const _default: {
17202
17205
  };
17203
17206
  is_override_allowed: {
17204
17207
  default: boolean;
17208
+ description: string;
17205
17209
  type: string;
17206
17210
  };
17207
17211
  max_override_period_minutes: {
@@ -17537,6 +17541,7 @@ declare const _default: {
17537
17541
  type: string;
17538
17542
  };
17539
17543
  is_override_allowed: {
17544
+ description: string;
17540
17545
  type: string;
17541
17546
  };
17542
17547
  max_override_period_minutes: {
@@ -17632,6 +17637,7 @@ declare const _default: {
17632
17637
  type: string;
17633
17638
  };
17634
17639
  is_override_allowed: {
17640
+ description: string;
17635
17641
  type: string;
17636
17642
  };
17637
17643
  max_override_period_minutes: {