@seamapi/types 1.253.1 → 1.255.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.
Files changed (27) hide show
  1. package/dist/connect.cjs +268 -69
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1324 -2
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +96 -0
  8. package/lib/seam/connect/models/action-attempts/encode-card.js +36 -0
  9. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
  10. package/lib/seam/connect/models/events/devices.d.ts +91 -1
  11. package/lib/seam/connect/models/events/devices.js +5 -2
  12. package/lib/seam/connect/models/events/devices.js.map +1 -1
  13. package/lib/seam/connect/models/events/seam-event.d.ts +86 -0
  14. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +29 -0
  15. package/lib/seam/connect/models/thermostats/climate-preset.js +8 -0
  16. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  17. package/lib/seam/connect/openapi.d.ts +116 -0
  18. package/lib/seam/connect/openapi.js +167 -0
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +1056 -29
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  23. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +46 -0
  24. package/src/lib/seam/connect/models/events/devices.ts +5 -2
  25. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +11 -0
  26. package/src/lib/seam/connect/openapi.ts +169 -0
  27. package/src/lib/seam/connect/route-types.ts +1157 -13
@@ -1729,6 +1729,99 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1729
1729
  status: z.ZodLiteral<"pending">;
1730
1730
  result: z.ZodNull;
1731
1731
  error: z.ZodNull;
1732
+ }>, {
1733
+ action_type: z.ZodLiteral<"ENCODE_CARD">;
1734
+ }>, "strip", z.ZodTypeAny, {
1735
+ status: "pending";
1736
+ action_attempt_id: string;
1737
+ error: null;
1738
+ result: null;
1739
+ action_type: "ENCODE_CARD";
1740
+ }, {
1741
+ status: "pending";
1742
+ action_attempt_id: string;
1743
+ error: null;
1744
+ result: null;
1745
+ action_type: "ENCODE_CARD";
1746
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1747
+ action_attempt_id: z.ZodString;
1748
+ status: z.ZodEnum<["pending", "success", "error"]>;
1749
+ }, {
1750
+ status: z.ZodLiteral<"success">;
1751
+ error: z.ZodNull;
1752
+ }>, {
1753
+ action_type: z.ZodLiteral<"ENCODE_CARD">;
1754
+ result: z.ZodObject<{
1755
+ acs_credential_id: z.ZodNullable<z.ZodString>;
1756
+ card_number: z.ZodNullable<z.ZodString>;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ acs_credential_id: string | null;
1759
+ card_number: string | null;
1760
+ }, {
1761
+ acs_credential_id: string | null;
1762
+ card_number: string | null;
1763
+ }>;
1764
+ }>, "strip", z.ZodTypeAny, {
1765
+ status: "success";
1766
+ action_attempt_id: string;
1767
+ error: null;
1768
+ result: {
1769
+ acs_credential_id: string | null;
1770
+ card_number: string | null;
1771
+ };
1772
+ action_type: "ENCODE_CARD";
1773
+ }, {
1774
+ status: "success";
1775
+ action_attempt_id: string;
1776
+ error: null;
1777
+ result: {
1778
+ acs_credential_id: string | null;
1779
+ card_number: string | null;
1780
+ };
1781
+ action_type: "ENCODE_CARD";
1782
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1783
+ action_attempt_id: z.ZodString;
1784
+ status: z.ZodEnum<["pending", "success", "error"]>;
1785
+ }, {
1786
+ status: z.ZodLiteral<"error">;
1787
+ result: z.ZodNull;
1788
+ }>, {
1789
+ action_type: z.ZodLiteral<"ENCODE_CARD">;
1790
+ error: z.ZodObject<{
1791
+ type: z.ZodString;
1792
+ message: z.ZodString;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ message: string;
1795
+ type: string;
1796
+ }, {
1797
+ message: string;
1798
+ type: string;
1799
+ }>;
1800
+ }>, "strip", z.ZodTypeAny, {
1801
+ status: "error";
1802
+ action_attempt_id: string;
1803
+ error: {
1804
+ message: string;
1805
+ type: string;
1806
+ };
1807
+ result: null;
1808
+ action_type: "ENCODE_CARD";
1809
+ }, {
1810
+ status: "error";
1811
+ action_attempt_id: string;
1812
+ error: {
1813
+ message: string;
1814
+ type: string;
1815
+ };
1816
+ result: null;
1817
+ action_type: "ENCODE_CARD";
1818
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1819
+ action_attempt_id: z.ZodString;
1820
+ status: z.ZodEnum<["pending", "success", "error"]>;
1821
+ }, {
1822
+ status: z.ZodLiteral<"pending">;
1823
+ result: z.ZodNull;
1824
+ error: z.ZodNull;
1732
1825
  }>, {
1733
1826
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
1734
1827
  }>, "strip", z.ZodTypeAny, {
@@ -9265,6 +9358,92 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
9265
9358
  workspace_id: z.ZodString;
9266
9359
  created_at: z.ZodString;
9267
9360
  occurred_at: z.ZodString;
9361
+ }, {
9362
+ device_id: z.ZodString;
9363
+ connected_account_id: z.ZodString;
9364
+ }>, {
9365
+ event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
9366
+ thermostat_schedule_id: z.ZodNullable<z.ZodString>;
9367
+ climate_preset_key: z.ZodString;
9368
+ is_fallback_climate_preset: z.ZodBoolean;
9369
+ }>, "strip", z.ZodTypeAny, {
9370
+ connected_account_id: string;
9371
+ created_at: string;
9372
+ climate_preset_key: string;
9373
+ thermostat_schedule_id: string | null;
9374
+ device_id: string;
9375
+ workspace_id: string;
9376
+ event_id: string;
9377
+ occurred_at: string;
9378
+ event_type: "thermostat.climate_preset_activated";
9379
+ is_fallback_climate_preset: boolean;
9380
+ }, {
9381
+ connected_account_id: string;
9382
+ created_at: string;
9383
+ climate_preset_key: string;
9384
+ thermostat_schedule_id: string | null;
9385
+ device_id: string;
9386
+ workspace_id: string;
9387
+ event_id: string;
9388
+ occurred_at: string;
9389
+ event_type: "thermostat.climate_preset_activated";
9390
+ is_fallback_climate_preset: boolean;
9391
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
9392
+ event_id: z.ZodString;
9393
+ workspace_id: z.ZodString;
9394
+ created_at: z.ZodString;
9395
+ occurred_at: z.ZodString;
9396
+ }, {
9397
+ device_id: z.ZodString;
9398
+ connected_account_id: z.ZodString;
9399
+ }>, {
9400
+ event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
9401
+ }>, Pick<{
9402
+ climate_preset_key: z.ZodOptional<z.ZodString>;
9403
+ can_edit: z.ZodOptional<z.ZodBoolean>;
9404
+ can_delete: z.ZodOptional<z.ZodBoolean>;
9405
+ name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
9406
+ display_name: z.ZodOptional<z.ZodString>;
9407
+ fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
9408
+ hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
9409
+ cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
9410
+ heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
9411
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
9412
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
9413
+ manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
9414
+ }, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
9415
+ connected_account_id: string;
9416
+ created_at: string;
9417
+ device_id: string;
9418
+ workspace_id: string;
9419
+ event_id: string;
9420
+ occurred_at: string;
9421
+ event_type: "thermostat.manually_adjusted";
9422
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
9423
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
9424
+ cooling_set_point_celsius?: number | undefined;
9425
+ heating_set_point_celsius?: number | undefined;
9426
+ cooling_set_point_fahrenheit?: number | undefined;
9427
+ heating_set_point_fahrenheit?: number | undefined;
9428
+ }, {
9429
+ connected_account_id: string;
9430
+ created_at: string;
9431
+ device_id: string;
9432
+ workspace_id: string;
9433
+ event_id: string;
9434
+ occurred_at: string;
9435
+ event_type: "thermostat.manually_adjusted";
9436
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
9437
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
9438
+ cooling_set_point_celsius?: number | undefined;
9439
+ heating_set_point_celsius?: number | undefined;
9440
+ cooling_set_point_fahrenheit?: number | undefined;
9441
+ heating_set_point_fahrenheit?: number | undefined;
9442
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
9443
+ event_id: z.ZodString;
9444
+ workspace_id: z.ZodString;
9445
+ created_at: z.ZodString;
9446
+ occurred_at: z.ZodString;
9268
9447
  }, {
9269
9448
  enrollment_automation_id: z.ZodString;
9270
9449
  }>, {
@@ -12408,6 +12587,17 @@ declare const _default: {
12408
12587
  format: string;
12409
12588
  type: string;
12410
12589
  };
12590
+ climate_preset_key: {
12591
+ type: string;
12592
+ };
12593
+ cooling_set_point_celsius: {
12594
+ format: string;
12595
+ type: string;
12596
+ };
12597
+ cooling_set_point_fahrenheit: {
12598
+ format: string;
12599
+ type: string;
12600
+ };
12411
12601
  created_at: {
12412
12602
  format: string;
12413
12603
  type: string;
@@ -12430,10 +12620,31 @@ declare const _default: {
12430
12620
  event_type: {
12431
12621
  type: string;
12432
12622
  };
12623
+ fan_mode_setting: {
12624
+ type: string;
12625
+ };
12626
+ heating_set_point_celsius: {
12627
+ format: string;
12628
+ type: string;
12629
+ };
12630
+ heating_set_point_fahrenheit: {
12631
+ format: string;
12632
+ type: string;
12633
+ };
12634
+ hvac_mode_setting: {
12635
+ type: string;
12636
+ };
12637
+ is_fallback_climate_preset: {
12638
+ type: string;
12639
+ };
12433
12640
  occurred_at: {
12434
12641
  format: string;
12435
12642
  type: string;
12436
12643
  };
12644
+ thermostat_schedule_id: {
12645
+ format: string;
12646
+ type: string;
12647
+ };
12437
12648
  workspace_id: {
12438
12649
  format: string;
12439
12650
  type: string;
@@ -17336,6 +17547,90 @@ declare const _default: {
17336
17547
  'x-fern-sdk-method-name': string;
17337
17548
  };
17338
17549
  };
17550
+ '/acs/encoders/encode_card': {
17551
+ post: {
17552
+ operationId: string;
17553
+ requestBody: {
17554
+ content: {
17555
+ 'application/json': {
17556
+ schema: {
17557
+ oneOf: ({
17558
+ properties: {
17559
+ acs_system_id: {
17560
+ format: string;
17561
+ type: string;
17562
+ };
17563
+ device_name: {
17564
+ type: string;
17565
+ };
17566
+ device_id?: never;
17567
+ };
17568
+ required: string[];
17569
+ type: string;
17570
+ } | {
17571
+ properties: {
17572
+ device_id: {
17573
+ format: string;
17574
+ type: string;
17575
+ };
17576
+ acs_system_id?: never;
17577
+ device_name?: never;
17578
+ };
17579
+ required: string[];
17580
+ type: string;
17581
+ })[];
17582
+ };
17583
+ };
17584
+ };
17585
+ };
17586
+ responses: {
17587
+ 200: {
17588
+ content: {
17589
+ 'application/json': {
17590
+ schema: {
17591
+ properties: {
17592
+ action_attempt: {
17593
+ $ref: string;
17594
+ };
17595
+ ok: {
17596
+ type: string;
17597
+ };
17598
+ };
17599
+ required: string[];
17600
+ type: string;
17601
+ };
17602
+ };
17603
+ };
17604
+ description: string;
17605
+ };
17606
+ 400: {
17607
+ description: string;
17608
+ };
17609
+ 401: {
17610
+ description: string;
17611
+ };
17612
+ };
17613
+ security: ({
17614
+ pat_with_workspace: never[];
17615
+ console_session?: never;
17616
+ api_key?: never;
17617
+ } | {
17618
+ console_session: never[];
17619
+ pat_with_workspace?: never;
17620
+ api_key?: never;
17621
+ } | {
17622
+ api_key: never[];
17623
+ pat_with_workspace?: never;
17624
+ console_session?: never;
17625
+ })[];
17626
+ summary: string;
17627
+ tags: string[];
17628
+ 'x-fern-sdk-group-name': string[];
17629
+ 'x-fern-sdk-method-name': string;
17630
+ 'x-fern-sdk-return-value': string;
17631
+ 'x-undocumented': string;
17632
+ };
17633
+ };
17339
17634
  '/acs/encoders/read_card': {
17340
17635
  post: {
17341
17636
  operationId: string;
@@ -27820,6 +28115,35 @@ interface Routes {
27820
28115
  type: string;
27821
28116
  message: string;
27822
28117
  };
28118
+ } | {
28119
+ /** The ID of the action attempt. */
28120
+ action_attempt_id: string;
28121
+ status: 'pending';
28122
+ result: null;
28123
+ error: null;
28124
+ action_type: 'ENCODE_CARD';
28125
+ } | {
28126
+ /** The ID of the action attempt. */
28127
+ action_attempt_id: string;
28128
+ status: 'success';
28129
+ error: null;
28130
+ action_type: 'ENCODE_CARD';
28131
+ result: {
28132
+ /** Matching acs_credential currently encoded on this card. */
28133
+ acs_credential_id: string | null;
28134
+ /** A number or sting that physically identifies this card. */
28135
+ card_number: string | null;
28136
+ };
28137
+ } | {
28138
+ /** The ID of the action attempt. */
28139
+ action_attempt_id: string;
28140
+ status: 'error';
28141
+ result: null;
28142
+ action_type: 'ENCODE_CARD';
28143
+ error: {
28144
+ type: string;
28145
+ message: string;
28146
+ };
27823
28147
  } | {
27824
28148
  /** The ID of the action attempt. */
27825
28149
  action_attempt_id: string;
@@ -28397,6 +28721,35 @@ interface Routes {
28397
28721
  type: string;
28398
28722
  message: string;
28399
28723
  };
28724
+ } | {
28725
+ /** The ID of the action attempt. */
28726
+ action_attempt_id: string;
28727
+ status: 'pending';
28728
+ result: null;
28729
+ error: null;
28730
+ action_type: 'ENCODE_CARD';
28731
+ } | {
28732
+ /** The ID of the action attempt. */
28733
+ action_attempt_id: string;
28734
+ status: 'success';
28735
+ error: null;
28736
+ action_type: 'ENCODE_CARD';
28737
+ result: {
28738
+ /** Matching acs_credential currently encoded on this card. */
28739
+ acs_credential_id: string | null;
28740
+ /** A number or sting that physically identifies this card. */
28741
+ card_number: string | null;
28742
+ };
28743
+ } | {
28744
+ /** The ID of the action attempt. */
28745
+ action_attempt_id: string;
28746
+ status: 'error';
28747
+ result: null;
28748
+ action_type: 'ENCODE_CARD';
28749
+ error: {
28750
+ type: string;
28751
+ message: string;
28752
+ };
28400
28753
  } | {
28401
28754
  /** The ID of the action attempt. */
28402
28755
  action_attempt_id: string;
@@ -29131,6 +29484,35 @@ interface Routes {
29131
29484
  type: string;
29132
29485
  message: string;
29133
29486
  };
29487
+ } | {
29488
+ /** The ID of the action attempt. */
29489
+ action_attempt_id: string;
29490
+ status: 'pending';
29491
+ result: null;
29492
+ error: null;
29493
+ action_type: 'ENCODE_CARD';
29494
+ } | {
29495
+ /** The ID of the action attempt. */
29496
+ action_attempt_id: string;
29497
+ status: 'success';
29498
+ error: null;
29499
+ action_type: 'ENCODE_CARD';
29500
+ result: {
29501
+ /** Matching acs_credential currently encoded on this card. */
29502
+ acs_credential_id: string | null;
29503
+ /** A number or sting that physically identifies this card. */
29504
+ card_number: string | null;
29505
+ };
29506
+ } | {
29507
+ /** The ID of the action attempt. */
29508
+ action_attempt_id: string;
29509
+ status: 'error';
29510
+ result: null;
29511
+ action_type: 'ENCODE_CARD';
29512
+ error: {
29513
+ type: string;
29514
+ message: string;
29515
+ };
29134
29516
  } | {
29135
29517
  /** The ID of the action attempt. */
29136
29518
  action_attempt_id: string;
@@ -29695,6 +30077,35 @@ interface Routes {
29695
30077
  type: string;
29696
30078
  message: string;
29697
30079
  };
30080
+ } | {
30081
+ /** The ID of the action attempt. */
30082
+ action_attempt_id: string;
30083
+ status: 'pending';
30084
+ result: null;
30085
+ error: null;
30086
+ action_type: 'ENCODE_CARD';
30087
+ } | {
30088
+ /** The ID of the action attempt. */
30089
+ action_attempt_id: string;
30090
+ status: 'success';
30091
+ error: null;
30092
+ action_type: 'ENCODE_CARD';
30093
+ result: {
30094
+ /** Matching acs_credential currently encoded on this card. */
30095
+ acs_credential_id: string | null;
30096
+ /** A number or sting that physically identifies this card. */
30097
+ card_number: string | null;
30098
+ };
30099
+ } | {
30100
+ /** The ID of the action attempt. */
30101
+ action_attempt_id: string;
30102
+ status: 'error';
30103
+ result: null;
30104
+ action_type: 'ENCODE_CARD';
30105
+ error: {
30106
+ type: string;
30107
+ message: string;
30108
+ };
29698
30109
  } | {
29699
30110
  /** The ID of the action attempt. */
29700
30111
  action_attempt_id: string;
@@ -30858,6 +31269,464 @@ interface Routes {
30858
31269
  };
30859
31270
  };
30860
31271
  };
31272
+ '/acs/encoders/encode_card': {
31273
+ route: '/acs/encoders/encode_card';
31274
+ method: 'POST';
31275
+ queryParams: {};
31276
+ jsonBody: {};
31277
+ commonParams: {
31278
+ acs_system_id: string;
31279
+ device_name: string;
31280
+ } | {
31281
+ device_id: string;
31282
+ };
31283
+ formData: {};
31284
+ jsonResponse: {
31285
+ action_attempt: {
31286
+ /** The ID of the action attempt. */
31287
+ action_attempt_id: string;
31288
+ status: 'pending';
31289
+ result: null;
31290
+ error: null;
31291
+ action_type: 'LOCK_DOOR';
31292
+ } | {
31293
+ /** The ID of the action attempt. */
31294
+ action_attempt_id: string;
31295
+ status: 'success';
31296
+ error: null;
31297
+ action_type: 'LOCK_DOOR';
31298
+ result: {};
31299
+ } | {
31300
+ /** The ID of the action attempt. */
31301
+ action_attempt_id: string;
31302
+ status: 'error';
31303
+ result: null;
31304
+ action_type: 'LOCK_DOOR';
31305
+ error: {
31306
+ type: string;
31307
+ message: string;
31308
+ };
31309
+ } | {
31310
+ /** The ID of the action attempt. */
31311
+ action_attempt_id: string;
31312
+ status: 'pending';
31313
+ result: null;
31314
+ error: null;
31315
+ action_type: 'UNLOCK_DOOR';
31316
+ } | {
31317
+ /** The ID of the action attempt. */
31318
+ action_attempt_id: string;
31319
+ status: 'success';
31320
+ error: null;
31321
+ action_type: 'UNLOCK_DOOR';
31322
+ result: {};
31323
+ } | {
31324
+ /** The ID of the action attempt. */
31325
+ action_attempt_id: string;
31326
+ status: 'error';
31327
+ result: null;
31328
+ action_type: 'UNLOCK_DOOR';
31329
+ error: {
31330
+ type: string;
31331
+ message: string;
31332
+ };
31333
+ } | {
31334
+ /** The ID of the action attempt. */
31335
+ action_attempt_id: string;
31336
+ status: 'pending';
31337
+ result: null;
31338
+ error: null;
31339
+ action_type: 'READ_CARD';
31340
+ } | {
31341
+ /** The ID of the action attempt. */
31342
+ action_attempt_id: string;
31343
+ status: 'success';
31344
+ error: null;
31345
+ action_type: 'READ_CARD';
31346
+ result: {
31347
+ /** Matching acs_credential currently encoded on this card. */
31348
+ acs_credential_id: string | null;
31349
+ /** A number or sting that physically identifies this card. */
31350
+ card_number: string | null;
31351
+ };
31352
+ } | {
31353
+ /** The ID of the action attempt. */
31354
+ action_attempt_id: string;
31355
+ status: 'error';
31356
+ result: null;
31357
+ action_type: 'READ_CARD';
31358
+ error: {
31359
+ type: string;
31360
+ message: string;
31361
+ };
31362
+ } | {
31363
+ /** The ID of the action attempt. */
31364
+ action_attempt_id: string;
31365
+ status: 'pending';
31366
+ result: null;
31367
+ error: null;
31368
+ action_type: 'ENCODE_CARD';
31369
+ } | {
31370
+ /** The ID of the action attempt. */
31371
+ action_attempt_id: string;
31372
+ status: 'success';
31373
+ error: null;
31374
+ action_type: 'ENCODE_CARD';
31375
+ result: {
31376
+ /** Matching acs_credential currently encoded on this card. */
31377
+ acs_credential_id: string | null;
31378
+ /** A number or sting that physically identifies this card. */
31379
+ card_number: string | null;
31380
+ };
31381
+ } | {
31382
+ /** The ID of the action attempt. */
31383
+ action_attempt_id: string;
31384
+ status: 'error';
31385
+ result: null;
31386
+ action_type: 'ENCODE_CARD';
31387
+ error: {
31388
+ type: string;
31389
+ message: string;
31390
+ };
31391
+ } | {
31392
+ /** The ID of the action attempt. */
31393
+ action_attempt_id: string;
31394
+ status: 'pending';
31395
+ result: null;
31396
+ error: null;
31397
+ action_type: 'RESET_SANDBOX_WORKSPACE';
31398
+ } | {
31399
+ /** The ID of the action attempt. */
31400
+ action_attempt_id: string;
31401
+ status: 'success';
31402
+ error: null;
31403
+ action_type: 'RESET_SANDBOX_WORKSPACE';
31404
+ result: {};
31405
+ } | {
31406
+ /** The ID of the action attempt. */
31407
+ action_attempt_id: string;
31408
+ status: 'error';
31409
+ result: null;
31410
+ action_type: 'RESET_SANDBOX_WORKSPACE';
31411
+ error: {
31412
+ type: string;
31413
+ message: string;
31414
+ };
31415
+ } | {
31416
+ /** The ID of the action attempt. */
31417
+ action_attempt_id: string;
31418
+ status: 'pending';
31419
+ result: null;
31420
+ error: null;
31421
+ action_type: 'SET_COOL';
31422
+ } | {
31423
+ /** The ID of the action attempt. */
31424
+ action_attempt_id: string;
31425
+ status: 'success';
31426
+ error: null;
31427
+ action_type: 'SET_COOL';
31428
+ result: {};
31429
+ } | {
31430
+ /** The ID of the action attempt. */
31431
+ action_attempt_id: string;
31432
+ status: 'error';
31433
+ result: null;
31434
+ action_type: 'SET_COOL';
31435
+ error: {
31436
+ type: string;
31437
+ message: string;
31438
+ };
31439
+ } | {
31440
+ /** The ID of the action attempt. */
31441
+ action_attempt_id: string;
31442
+ status: 'pending';
31443
+ result: null;
31444
+ error: null;
31445
+ action_type: 'SET_HEAT';
31446
+ } | {
31447
+ /** The ID of the action attempt. */
31448
+ action_attempt_id: string;
31449
+ status: 'success';
31450
+ error: null;
31451
+ action_type: 'SET_HEAT';
31452
+ result: {};
31453
+ } | {
31454
+ /** The ID of the action attempt. */
31455
+ action_attempt_id: string;
31456
+ status: 'error';
31457
+ result: null;
31458
+ action_type: 'SET_HEAT';
31459
+ error: {
31460
+ type: string;
31461
+ message: string;
31462
+ };
31463
+ } | {
31464
+ /** The ID of the action attempt. */
31465
+ action_attempt_id: string;
31466
+ status: 'pending';
31467
+ result: null;
31468
+ error: null;
31469
+ action_type: 'SET_HEAT_COOL';
31470
+ } | {
31471
+ /** The ID of the action attempt. */
31472
+ action_attempt_id: string;
31473
+ status: 'success';
31474
+ error: null;
31475
+ action_type: 'SET_HEAT_COOL';
31476
+ result: {};
31477
+ } | {
31478
+ /** The ID of the action attempt. */
31479
+ action_attempt_id: string;
31480
+ status: 'error';
31481
+ result: null;
31482
+ action_type: 'SET_HEAT_COOL';
31483
+ error: {
31484
+ type: string;
31485
+ message: string;
31486
+ };
31487
+ } | {
31488
+ /** The ID of the action attempt. */
31489
+ action_attempt_id: string;
31490
+ status: 'pending';
31491
+ result: null;
31492
+ error: null;
31493
+ action_type: 'SET_FAN_MODE';
31494
+ } | {
31495
+ /** The ID of the action attempt. */
31496
+ action_attempt_id: string;
31497
+ status: 'success';
31498
+ error: null;
31499
+ action_type: 'SET_FAN_MODE';
31500
+ result: {};
31501
+ } | {
31502
+ /** The ID of the action attempt. */
31503
+ action_attempt_id: string;
31504
+ status: 'error';
31505
+ result: null;
31506
+ action_type: 'SET_FAN_MODE';
31507
+ error: {
31508
+ type: string;
31509
+ message: string;
31510
+ };
31511
+ } | {
31512
+ /** The ID of the action attempt. */
31513
+ action_attempt_id: string;
31514
+ status: 'pending';
31515
+ result: null;
31516
+ error: null;
31517
+ action_type: 'SET_THERMOSTAT_OFF';
31518
+ } | {
31519
+ /** The ID of the action attempt. */
31520
+ action_attempt_id: string;
31521
+ status: 'success';
31522
+ error: null;
31523
+ action_type: 'SET_THERMOSTAT_OFF';
31524
+ result: {};
31525
+ } | {
31526
+ /** The ID of the action attempt. */
31527
+ action_attempt_id: string;
31528
+ status: 'error';
31529
+ result: null;
31530
+ action_type: 'SET_THERMOSTAT_OFF';
31531
+ error: {
31532
+ type: string;
31533
+ message: string;
31534
+ };
31535
+ } | {
31536
+ /** The ID of the action attempt. */
31537
+ action_attempt_id: string;
31538
+ status: 'pending';
31539
+ result: null;
31540
+ error: null;
31541
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
31542
+ } | {
31543
+ /** The ID of the action attempt. */
31544
+ action_attempt_id: string;
31545
+ status: 'success';
31546
+ error: null;
31547
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
31548
+ result: {};
31549
+ } | {
31550
+ /** The ID of the action attempt. */
31551
+ action_attempt_id: string;
31552
+ status: 'error';
31553
+ result: null;
31554
+ action_type: 'ACTIVATE_CLIMATE_PRESET';
31555
+ error: {
31556
+ type: string;
31557
+ message: string;
31558
+ };
31559
+ } | {
31560
+ /** The ID of the action attempt. */
31561
+ action_attempt_id: string;
31562
+ status: 'pending';
31563
+ result: null;
31564
+ error: null;
31565
+ action_type: 'SYNC_ACCESS_CODES';
31566
+ } | {
31567
+ /** The ID of the action attempt. */
31568
+ action_attempt_id: string;
31569
+ status: 'success';
31570
+ error: null;
31571
+ action_type: 'SYNC_ACCESS_CODES';
31572
+ result?: any;
31573
+ } | {
31574
+ /** The ID of the action attempt. */
31575
+ action_attempt_id: string;
31576
+ status: 'error';
31577
+ result: null;
31578
+ action_type: 'SYNC_ACCESS_CODES';
31579
+ error: {
31580
+ type: string;
31581
+ message: string;
31582
+ };
31583
+ } | {
31584
+ /** The ID of the action attempt. */
31585
+ action_attempt_id: string;
31586
+ status: 'pending';
31587
+ result: null;
31588
+ error: null;
31589
+ action_type: 'CREATE_ACCESS_CODE';
31590
+ } | {
31591
+ /** The ID of the action attempt. */
31592
+ action_attempt_id: string;
31593
+ status: 'success';
31594
+ error: null;
31595
+ action_type: 'CREATE_ACCESS_CODE';
31596
+ result?: any;
31597
+ } | {
31598
+ /** The ID of the action attempt. */
31599
+ action_attempt_id: string;
31600
+ status: 'error';
31601
+ result: null;
31602
+ action_type: 'CREATE_ACCESS_CODE';
31603
+ error: {
31604
+ type: string;
31605
+ message: string;
31606
+ };
31607
+ } | {
31608
+ /** The ID of the action attempt. */
31609
+ action_attempt_id: string;
31610
+ status: 'pending';
31611
+ result: null;
31612
+ error: null;
31613
+ action_type: 'DELETE_ACCESS_CODE';
31614
+ } | {
31615
+ /** The ID of the action attempt. */
31616
+ action_attempt_id: string;
31617
+ status: 'success';
31618
+ error: null;
31619
+ action_type: 'DELETE_ACCESS_CODE';
31620
+ result?: any;
31621
+ } | {
31622
+ /** The ID of the action attempt. */
31623
+ action_attempt_id: string;
31624
+ status: 'error';
31625
+ result: null;
31626
+ action_type: 'DELETE_ACCESS_CODE';
31627
+ error: {
31628
+ type: string;
31629
+ message: string;
31630
+ };
31631
+ } | {
31632
+ /** The ID of the action attempt. */
31633
+ action_attempt_id: string;
31634
+ status: 'pending';
31635
+ result: null;
31636
+ error: null;
31637
+ action_type: 'UPDATE_ACCESS_CODE';
31638
+ } | {
31639
+ /** The ID of the action attempt. */
31640
+ action_attempt_id: string;
31641
+ status: 'success';
31642
+ error: null;
31643
+ action_type: 'UPDATE_ACCESS_CODE';
31644
+ result?: any;
31645
+ } | {
31646
+ /** The ID of the action attempt. */
31647
+ action_attempt_id: string;
31648
+ status: 'error';
31649
+ result: null;
31650
+ action_type: 'UPDATE_ACCESS_CODE';
31651
+ error: {
31652
+ type: string;
31653
+ message: string;
31654
+ };
31655
+ } | {
31656
+ /** The ID of the action attempt. */
31657
+ action_attempt_id: string;
31658
+ status: 'pending';
31659
+ result: null;
31660
+ error: null;
31661
+ action_type: 'CREATE_NOISE_THRESHOLD';
31662
+ } | {
31663
+ /** The ID of the action attempt. */
31664
+ action_attempt_id: string;
31665
+ status: 'success';
31666
+ error: null;
31667
+ action_type: 'CREATE_NOISE_THRESHOLD';
31668
+ result?: any;
31669
+ } | {
31670
+ /** The ID of the action attempt. */
31671
+ action_attempt_id: string;
31672
+ status: 'error';
31673
+ result: null;
31674
+ action_type: 'CREATE_NOISE_THRESHOLD';
31675
+ error: {
31676
+ type: string;
31677
+ message: string;
31678
+ };
31679
+ } | {
31680
+ /** The ID of the action attempt. */
31681
+ action_attempt_id: string;
31682
+ status: 'pending';
31683
+ result: null;
31684
+ error: null;
31685
+ action_type: 'DELETE_NOISE_THRESHOLD';
31686
+ } | {
31687
+ /** The ID of the action attempt. */
31688
+ action_attempt_id: string;
31689
+ status: 'success';
31690
+ error: null;
31691
+ action_type: 'DELETE_NOISE_THRESHOLD';
31692
+ result?: any;
31693
+ } | {
31694
+ /** The ID of the action attempt. */
31695
+ action_attempt_id: string;
31696
+ status: 'error';
31697
+ result: null;
31698
+ action_type: 'DELETE_NOISE_THRESHOLD';
31699
+ error: {
31700
+ type: string;
31701
+ message: string;
31702
+ };
31703
+ } | {
31704
+ /** The ID of the action attempt. */
31705
+ action_attempt_id: string;
31706
+ status: 'pending';
31707
+ result: null;
31708
+ error: null;
31709
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31710
+ } | {
31711
+ /** The ID of the action attempt. */
31712
+ action_attempt_id: string;
31713
+ status: 'success';
31714
+ error: null;
31715
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31716
+ result?: any;
31717
+ } | {
31718
+ /** The ID of the action attempt. */
31719
+ action_attempt_id: string;
31720
+ status: 'error';
31721
+ result: null;
31722
+ action_type: 'UPDATE_NOISE_THRESHOLD';
31723
+ error: {
31724
+ type: string;
31725
+ message: string;
31726
+ };
31727
+ };
31728
+ };
31729
+ };
30861
31730
  '/acs/encoders/read_card': {
30862
31731
  route: '/acs/encoders/read_card';
30863
31732
  method: 'POST';
@@ -30948,6 +31817,35 @@ interface Routes {
30948
31817
  type: string;
30949
31818
  message: string;
30950
31819
  };
31820
+ } | {
31821
+ /** The ID of the action attempt. */
31822
+ action_attempt_id: string;
31823
+ status: 'pending';
31824
+ result: null;
31825
+ error: null;
31826
+ action_type: 'ENCODE_CARD';
31827
+ } | {
31828
+ /** The ID of the action attempt. */
31829
+ action_attempt_id: string;
31830
+ status: 'success';
31831
+ error: null;
31832
+ action_type: 'ENCODE_CARD';
31833
+ result: {
31834
+ /** Matching acs_credential currently encoded on this card. */
31835
+ acs_credential_id: string | null;
31836
+ /** A number or sting that physically identifies this card. */
31837
+ card_number: string | null;
31838
+ };
31839
+ } | {
31840
+ /** The ID of the action attempt. */
31841
+ action_attempt_id: string;
31842
+ status: 'error';
31843
+ result: null;
31844
+ action_type: 'ENCODE_CARD';
31845
+ error: {
31846
+ type: string;
31847
+ message: string;
31848
+ };
30951
31849
  } | {
30952
31850
  /** The ID of the action attempt. */
30953
31851
  action_attempt_id: string;
@@ -32489,6 +33387,35 @@ interface Routes {
32489
33387
  type: string;
32490
33388
  message: string;
32491
33389
  };
33390
+ } | {
33391
+ /** The ID of the action attempt. */
33392
+ action_attempt_id: string;
33393
+ status: 'pending';
33394
+ result: null;
33395
+ error: null;
33396
+ action_type: 'ENCODE_CARD';
33397
+ } | {
33398
+ /** The ID of the action attempt. */
33399
+ action_attempt_id: string;
33400
+ status: 'success';
33401
+ error: null;
33402
+ action_type: 'ENCODE_CARD';
33403
+ result: {
33404
+ /** Matching acs_credential currently encoded on this card. */
33405
+ acs_credential_id: string | null;
33406
+ /** A number or sting that physically identifies this card. */
33407
+ card_number: string | null;
33408
+ };
33409
+ } | {
33410
+ /** The ID of the action attempt. */
33411
+ action_attempt_id: string;
33412
+ status: 'error';
33413
+ result: null;
33414
+ action_type: 'ENCODE_CARD';
33415
+ error: {
33416
+ type: string;
33417
+ message: string;
33418
+ };
32492
33419
  } | {
32493
33420
  /** The ID of the action attempt. */
32494
33421
  action_attempt_id: string;
@@ -32915,6 +33842,35 @@ interface Routes {
32915
33842
  type: string;
32916
33843
  message: string;
32917
33844
  };
33845
+ } | {
33846
+ /** The ID of the action attempt. */
33847
+ action_attempt_id: string;
33848
+ status: 'pending';
33849
+ result: null;
33850
+ error: null;
33851
+ action_type: 'ENCODE_CARD';
33852
+ } | {
33853
+ /** The ID of the action attempt. */
33854
+ action_attempt_id: string;
33855
+ status: 'success';
33856
+ error: null;
33857
+ action_type: 'ENCODE_CARD';
33858
+ result: {
33859
+ /** Matching acs_credential currently encoded on this card. */
33860
+ acs_credential_id: string | null;
33861
+ /** A number or sting that physically identifies this card. */
33862
+ card_number: string | null;
33863
+ };
33864
+ } | {
33865
+ /** The ID of the action attempt. */
33866
+ action_attempt_id: string;
33867
+ status: 'error';
33868
+ result: null;
33869
+ action_type: 'ENCODE_CARD';
33870
+ error: {
33871
+ type: string;
33872
+ message: string;
33873
+ };
32918
33874
  } | {
32919
33875
  /** The ID of the action attempt. */
32920
33876
  action_attempt_id: string;
@@ -34938,6 +35894,15 @@ interface Routes {
34938
35894
  created_at: string;
34939
35895
  occurred_at: string;
34940
35896
  event_description: string;
35897
+ thermostat_schedule_id?: string | undefined;
35898
+ is_fallback_climate_preset?: boolean | undefined;
35899
+ climate_preset_key?: string | undefined;
35900
+ hvac_mode_setting?: string | undefined;
35901
+ fan_mode_setting?: string | undefined;
35902
+ cooling_set_point_celsius?: number | undefined;
35903
+ heating_set_point_celsius?: number | undefined;
35904
+ cooling_set_point_fahrenheit?: number | undefined;
35905
+ heating_set_point_fahrenheit?: number | undefined;
34941
35906
  } | undefined;
34942
35907
  message?: string | undefined;
34943
35908
  };
@@ -34954,8 +35919,8 @@ interface Routes {
34954
35919
  device_ids?: string[] | undefined;
34955
35920
  access_code_id?: string | undefined;
34956
35921
  access_code_ids?: string[] | undefined;
34957
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
34958
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
35922
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
35923
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
34959
35924
  connected_account_id?: string | undefined;
34960
35925
  connect_webview_id?: string | undefined;
34961
35926
  limit?: number;
@@ -34976,6 +35941,15 @@ interface Routes {
34976
35941
  created_at: string;
34977
35942
  occurred_at: string;
34978
35943
  event_description: string;
35944
+ thermostat_schedule_id?: string | undefined;
35945
+ is_fallback_climate_preset?: boolean | undefined;
35946
+ climate_preset_key?: string | undefined;
35947
+ hvac_mode_setting?: string | undefined;
35948
+ fan_mode_setting?: string | undefined;
35949
+ cooling_set_point_celsius?: number | undefined;
35950
+ heating_set_point_celsius?: number | undefined;
35951
+ cooling_set_point_fahrenheit?: number | undefined;
35952
+ heating_set_point_fahrenheit?: number | undefined;
34979
35953
  }>;
34980
35954
  };
34981
35955
  };
@@ -36845,6 +37819,35 @@ interface Routes {
36845
37819
  type: string;
36846
37820
  message: string;
36847
37821
  };
37822
+ } | {
37823
+ /** The ID of the action attempt. */
37824
+ action_attempt_id: string;
37825
+ status: 'pending';
37826
+ result: null;
37827
+ error: null;
37828
+ action_type: 'ENCODE_CARD';
37829
+ } | {
37830
+ /** The ID of the action attempt. */
37831
+ action_attempt_id: string;
37832
+ status: 'success';
37833
+ error: null;
37834
+ action_type: 'ENCODE_CARD';
37835
+ result: {
37836
+ /** Matching acs_credential currently encoded on this card. */
37837
+ acs_credential_id: string | null;
37838
+ /** A number or sting that physically identifies this card. */
37839
+ card_number: string | null;
37840
+ };
37841
+ } | {
37842
+ /** The ID of the action attempt. */
37843
+ action_attempt_id: string;
37844
+ status: 'error';
37845
+ result: null;
37846
+ action_type: 'ENCODE_CARD';
37847
+ error: {
37848
+ type: string;
37849
+ message: string;
37850
+ };
36848
37851
  } | {
36849
37852
  /** The ID of the action attempt. */
36850
37853
  action_attempt_id: string;
@@ -37272,6 +38275,35 @@ interface Routes {
37272
38275
  type: string;
37273
38276
  message: string;
37274
38277
  };
38278
+ } | {
38279
+ /** The ID of the action attempt. */
38280
+ action_attempt_id: string;
38281
+ status: 'pending';
38282
+ result: null;
38283
+ error: null;
38284
+ action_type: 'ENCODE_CARD';
38285
+ } | {
38286
+ /** The ID of the action attempt. */
38287
+ action_attempt_id: string;
38288
+ status: 'success';
38289
+ error: null;
38290
+ action_type: 'ENCODE_CARD';
38291
+ result: {
38292
+ /** Matching acs_credential currently encoded on this card. */
38293
+ acs_credential_id: string | null;
38294
+ /** A number or sting that physically identifies this card. */
38295
+ card_number: string | null;
38296
+ };
38297
+ } | {
38298
+ /** The ID of the action attempt. */
38299
+ action_attempt_id: string;
38300
+ status: 'error';
38301
+ result: null;
38302
+ action_type: 'ENCODE_CARD';
38303
+ error: {
38304
+ type: string;
38305
+ message: string;
38306
+ };
37275
38307
  } | {
37276
38308
  /** The ID of the action attempt. */
37277
38309
  action_attempt_id: string;
@@ -38633,6 +39665,35 @@ interface Routes {
38633
39665
  type: string;
38634
39666
  message: string;
38635
39667
  };
39668
+ } | {
39669
+ /** The ID of the action attempt. */
39670
+ action_attempt_id: string;
39671
+ status: 'pending';
39672
+ result: null;
39673
+ error: null;
39674
+ action_type: 'ENCODE_CARD';
39675
+ } | {
39676
+ /** The ID of the action attempt. */
39677
+ action_attempt_id: string;
39678
+ status: 'success';
39679
+ error: null;
39680
+ action_type: 'ENCODE_CARD';
39681
+ result: {
39682
+ /** Matching acs_credential currently encoded on this card. */
39683
+ acs_credential_id: string | null;
39684
+ /** A number or sting that physically identifies this card. */
39685
+ card_number: string | null;
39686
+ };
39687
+ } | {
39688
+ /** The ID of the action attempt. */
39689
+ action_attempt_id: string;
39690
+ status: 'error';
39691
+ result: null;
39692
+ action_type: 'ENCODE_CARD';
39693
+ error: {
39694
+ type: string;
39695
+ message: string;
39696
+ };
38636
39697
  } | {
38637
39698
  /** The ID of the action attempt. */
38638
39699
  action_attempt_id: string;
@@ -39070,6 +40131,35 @@ interface Routes {
39070
40131
  type: string;
39071
40132
  message: string;
39072
40133
  };
40134
+ } | {
40135
+ /** The ID of the action attempt. */
40136
+ action_attempt_id: string;
40137
+ status: 'pending';
40138
+ result: null;
40139
+ error: null;
40140
+ action_type: 'ENCODE_CARD';
40141
+ } | {
40142
+ /** The ID of the action attempt. */
40143
+ action_attempt_id: string;
40144
+ status: 'success';
40145
+ error: null;
40146
+ action_type: 'ENCODE_CARD';
40147
+ result: {
40148
+ /** Matching acs_credential currently encoded on this card. */
40149
+ acs_credential_id: string | null;
40150
+ /** A number or sting that physically identifies this card. */
40151
+ card_number: string | null;
40152
+ };
40153
+ } | {
40154
+ /** The ID of the action attempt. */
40155
+ action_attempt_id: string;
40156
+ status: 'error';
40157
+ result: null;
40158
+ action_type: 'ENCODE_CARD';
40159
+ error: {
40160
+ type: string;
40161
+ message: string;
40162
+ };
39073
40163
  } | {
39074
40164
  /** The ID of the action attempt. */
39075
40165
  action_attempt_id: string;
@@ -39546,6 +40636,35 @@ interface Routes {
39546
40636
  type: string;
39547
40637
  message: string;
39548
40638
  };
40639
+ } | {
40640
+ /** The ID of the action attempt. */
40641
+ action_attempt_id: string;
40642
+ status: 'pending';
40643
+ result: null;
40644
+ error: null;
40645
+ action_type: 'ENCODE_CARD';
40646
+ } | {
40647
+ /** The ID of the action attempt. */
40648
+ action_attempt_id: string;
40649
+ status: 'success';
40650
+ error: null;
40651
+ action_type: 'ENCODE_CARD';
40652
+ result: {
40653
+ /** Matching acs_credential currently encoded on this card. */
40654
+ acs_credential_id: string | null;
40655
+ /** A number or sting that physically identifies this card. */
40656
+ card_number: string | null;
40657
+ };
40658
+ } | {
40659
+ /** The ID of the action attempt. */
40660
+ action_attempt_id: string;
40661
+ status: 'error';
40662
+ result: null;
40663
+ action_type: 'ENCODE_CARD';
40664
+ error: {
40665
+ type: string;
40666
+ message: string;
40667
+ };
39549
40668
  } | {
39550
40669
  /** The ID of the action attempt. */
39551
40670
  action_attempt_id: string;
@@ -40155,6 +41274,35 @@ interface Routes {
40155
41274
  type: string;
40156
41275
  message: string;
40157
41276
  };
41277
+ } | {
41278
+ /** The ID of the action attempt. */
41279
+ action_attempt_id: string;
41280
+ status: 'pending';
41281
+ result: null;
41282
+ error: null;
41283
+ action_type: 'ENCODE_CARD';
41284
+ } | {
41285
+ /** The ID of the action attempt. */
41286
+ action_attempt_id: string;
41287
+ status: 'success';
41288
+ error: null;
41289
+ action_type: 'ENCODE_CARD';
41290
+ result: {
41291
+ /** Matching acs_credential currently encoded on this card. */
41292
+ acs_credential_id: string | null;
41293
+ /** A number or sting that physically identifies this card. */
41294
+ card_number: string | null;
41295
+ };
41296
+ } | {
41297
+ /** The ID of the action attempt. */
41298
+ action_attempt_id: string;
41299
+ status: 'error';
41300
+ result: null;
41301
+ action_type: 'ENCODE_CARD';
41302
+ error: {
41303
+ type: string;
41304
+ message: string;
41305
+ };
40158
41306
  } | {
40159
41307
  /** The ID of the action attempt. */
40160
41308
  action_attempt_id: string;
@@ -40584,6 +41732,35 @@ interface Routes {
40584
41732
  type: string;
40585
41733
  message: string;
40586
41734
  };
41735
+ } | {
41736
+ /** The ID of the action attempt. */
41737
+ action_attempt_id: string;
41738
+ status: 'pending';
41739
+ result: null;
41740
+ error: null;
41741
+ action_type: 'ENCODE_CARD';
41742
+ } | {
41743
+ /** The ID of the action attempt. */
41744
+ action_attempt_id: string;
41745
+ status: 'success';
41746
+ error: null;
41747
+ action_type: 'ENCODE_CARD';
41748
+ result: {
41749
+ /** Matching acs_credential currently encoded on this card. */
41750
+ acs_credential_id: string | null;
41751
+ /** A number or sting that physically identifies this card. */
41752
+ card_number: string | null;
41753
+ };
41754
+ } | {
41755
+ /** The ID of the action attempt. */
41756
+ action_attempt_id: string;
41757
+ status: 'error';
41758
+ result: null;
41759
+ action_type: 'ENCODE_CARD';
41760
+ error: {
41761
+ type: string;
41762
+ message: string;
41763
+ };
40587
41764
  } | {
40588
41765
  /** The ID of the action attempt. */
40589
41766
  action_attempt_id: string;
@@ -41508,6 +42685,35 @@ interface Routes {
41508
42685
  type: string;
41509
42686
  message: string;
41510
42687
  };
42688
+ } | {
42689
+ /** The ID of the action attempt. */
42690
+ action_attempt_id: string;
42691
+ status: 'pending';
42692
+ result: null;
42693
+ error: null;
42694
+ action_type: 'ENCODE_CARD';
42695
+ } | {
42696
+ /** The ID of the action attempt. */
42697
+ action_attempt_id: string;
42698
+ status: 'success';
42699
+ error: null;
42700
+ action_type: 'ENCODE_CARD';
42701
+ result: {
42702
+ /** Matching acs_credential currently encoded on this card. */
42703
+ acs_credential_id: string | null;
42704
+ /** A number or sting that physically identifies this card. */
42705
+ card_number: string | null;
42706
+ };
42707
+ } | {
42708
+ /** The ID of the action attempt. */
42709
+ action_attempt_id: string;
42710
+ status: 'error';
42711
+ result: null;
42712
+ action_type: 'ENCODE_CARD';
42713
+ error: {
42714
+ type: string;
42715
+ message: string;
42716
+ };
41511
42717
  } | {
41512
42718
  /** The ID of the action attempt. */
41513
42719
  action_attempt_id: string;
@@ -41939,6 +43145,35 @@ interface Routes {
41939
43145
  type: string;
41940
43146
  message: string;
41941
43147
  };
43148
+ } | {
43149
+ /** The ID of the action attempt. */
43150
+ action_attempt_id: string;
43151
+ status: 'pending';
43152
+ result: null;
43153
+ error: null;
43154
+ action_type: 'ENCODE_CARD';
43155
+ } | {
43156
+ /** The ID of the action attempt. */
43157
+ action_attempt_id: string;
43158
+ status: 'success';
43159
+ error: null;
43160
+ action_type: 'ENCODE_CARD';
43161
+ result: {
43162
+ /** Matching acs_credential currently encoded on this card. */
43163
+ acs_credential_id: string | null;
43164
+ /** A number or sting that physically identifies this card. */
43165
+ card_number: string | null;
43166
+ };
43167
+ } | {
43168
+ /** The ID of the action attempt. */
43169
+ action_attempt_id: string;
43170
+ status: 'error';
43171
+ result: null;
43172
+ action_type: 'ENCODE_CARD';
43173
+ error: {
43174
+ type: string;
43175
+ message: string;
43176
+ };
41942
43177
  } | {
41943
43178
  /** The ID of the action attempt. */
41944
43179
  action_attempt_id: string;
@@ -42826,6 +44061,35 @@ interface Routes {
42826
44061
  type: string;
42827
44062
  message: string;
42828
44063
  };
44064
+ } | {
44065
+ /** The ID of the action attempt. */
44066
+ action_attempt_id: string;
44067
+ status: 'pending';
44068
+ result: null;
44069
+ error: null;
44070
+ action_type: 'ENCODE_CARD';
44071
+ } | {
44072
+ /** The ID of the action attempt. */
44073
+ action_attempt_id: string;
44074
+ status: 'success';
44075
+ error: null;
44076
+ action_type: 'ENCODE_CARD';
44077
+ result: {
44078
+ /** Matching acs_credential currently encoded on this card. */
44079
+ acs_credential_id: string | null;
44080
+ /** A number or sting that physically identifies this card. */
44081
+ card_number: string | null;
44082
+ };
44083
+ } | {
44084
+ /** The ID of the action attempt. */
44085
+ action_attempt_id: string;
44086
+ status: 'error';
44087
+ result: null;
44088
+ action_type: 'ENCODE_CARD';
44089
+ error: {
44090
+ type: string;
44091
+ message: string;
44092
+ };
42829
44093
  } | {
42830
44094
  /** The ID of the action attempt. */
42831
44095
  action_attempt_id: string;
@@ -43374,6 +44638,35 @@ interface Routes {
43374
44638
  type: string;
43375
44639
  message: string;
43376
44640
  };
44641
+ } | {
44642
+ /** The ID of the action attempt. */
44643
+ action_attempt_id: string;
44644
+ status: 'pending';
44645
+ result: null;
44646
+ error: null;
44647
+ action_type: 'ENCODE_CARD';
44648
+ } | {
44649
+ /** The ID of the action attempt. */
44650
+ action_attempt_id: string;
44651
+ status: 'success';
44652
+ error: null;
44653
+ action_type: 'ENCODE_CARD';
44654
+ result: {
44655
+ /** Matching acs_credential currently encoded on this card. */
44656
+ acs_credential_id: string | null;
44657
+ /** A number or sting that physically identifies this card. */
44658
+ card_number: string | null;
44659
+ };
44660
+ } | {
44661
+ /** The ID of the action attempt. */
44662
+ action_attempt_id: string;
44663
+ status: 'error';
44664
+ result: null;
44665
+ action_type: 'ENCODE_CARD';
44666
+ error: {
44667
+ type: string;
44668
+ message: string;
44669
+ };
43377
44670
  } | {
43378
44671
  /** The ID of the action attempt. */
43379
44672
  action_attempt_id: string;
@@ -45262,6 +46555,35 @@ interface Routes {
45262
46555
  type: string;
45263
46556
  message: string;
45264
46557
  };
46558
+ } | {
46559
+ /** The ID of the action attempt. */
46560
+ action_attempt_id: string;
46561
+ status: 'pending';
46562
+ result: null;
46563
+ error: null;
46564
+ action_type: 'ENCODE_CARD';
46565
+ } | {
46566
+ /** The ID of the action attempt. */
46567
+ action_attempt_id: string;
46568
+ status: 'success';
46569
+ error: null;
46570
+ action_type: 'ENCODE_CARD';
46571
+ result: {
46572
+ /** Matching acs_credential currently encoded on this card. */
46573
+ acs_credential_id: string | null;
46574
+ /** A number or sting that physically identifies this card. */
46575
+ card_number: string | null;
46576
+ };
46577
+ } | {
46578
+ /** The ID of the action attempt. */
46579
+ action_attempt_id: string;
46580
+ status: 'error';
46581
+ result: null;
46582
+ action_type: 'ENCODE_CARD';
46583
+ error: {
46584
+ type: string;
46585
+ message: string;
46586
+ };
45265
46587
  } | {
45266
46588
  /** The ID of the action attempt. */
45267
46589
  action_attempt_id: string;