@seamapi/types 1.305.0 → 1.307.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 (30) hide show
  1. package/dist/connect.cjs +78 -28
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +271 -95
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +13 -13
  5. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +13 -13
  6. package/lib/seam/connect/models/action-attempts/scan-credential.js +7 -2
  7. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
  8. package/lib/seam/connect/models/devices/device-metadata.d.ts +23 -0
  9. package/lib/seam/connect/models/devices/device-metadata.js +5 -0
  10. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  11. package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
  12. package/lib/seam/connect/models/devices/device-provider.js +1 -0
  13. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  15. package/lib/seam/connect/models/devices/device-type.js +1 -0
  16. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device.d.ts +36 -3
  18. package/lib/seam/connect/models/devices/phone.d.ts +24 -1
  19. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -3
  20. package/lib/seam/connect/openapi.d.ts +56 -2
  21. package/lib/seam/connect/openapi.js +44 -2
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +139 -74
  24. package/package.json +2 -2
  25. package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +7 -4
  26. package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
  27. package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
  28. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  29. package/src/lib/seam/connect/openapi.ts +44 -2
  30. package/src/lib/seam/connect/route-types.ts +207 -42
package/dist/connect.cjs CHANGED
@@ -705,6 +705,11 @@ var device_metadata = zod.z.object({
705
705
  }),
706
706
  assa_abloy_vostio_metadata: zod.z.object({
707
707
  encoder_name: zod.z.string()
708
+ }),
709
+ tado_metadata: zod.z.object({
710
+ serial_number: zod.z.string(),
711
+ device_name: zod.z.string(),
712
+ device_type: zod.z.string()
708
713
  })
709
714
  }).partial();
710
715
  var LOCK_DEVICE_TYPE = {
@@ -749,7 +754,8 @@ var noise_sensor_device_type = zod.z.enum(
749
754
  var THERMOSTAT_DEVICE_TYPE = {
750
755
  ECOBEE_THERMOSTAT: "ecobee_thermostat",
751
756
  NEST_THERMOSTAT: "nest_thermostat",
752
- HONEYWELL_RESIDEO_THERMOSTAT: "honeywell_resideo_thermostat"
757
+ HONEYWELL_RESIDEO_THERMOSTAT: "honeywell_resideo_thermostat",
758
+ TADO_THERMOSTAT: "tado_thermostat"
753
759
  };
754
760
  var thermostat_device_type = zod.z.enum(
755
761
  Object.values(THERMOSTAT_DEVICE_TYPE)
@@ -959,7 +965,8 @@ var DEVICE_PROVIDERS = {
959
965
  LATCH: "latch",
960
966
  AKILES: "akiles",
961
967
  VOSTIO: "assa_abloy_vostio",
962
- ASSA_ABLOY_VOSTIO_CREDENTIAL_SERVICE: "assa_abloy_vostio_credential_service"
968
+ ASSA_ABLOY_VOSTIO_CREDENTIAL_SERVICE: "assa_abloy_vostio_credential_service",
969
+ TADO: "tado"
963
970
  };
964
971
  var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
965
972
  var PROVIDER_CATEGORY_MAP = {
@@ -1977,14 +1984,15 @@ var error6 = zod.z.union([
1977
1984
  no_card_on_encoder_error2
1978
1985
  ]);
1979
1986
  var warning = zod.z.object({
1980
- warning_code: zod.z.literal("acs_credential_on_encoder_out_of_sync"),
1987
+ warning_code: zod.z.union([
1988
+ zod.z.literal("acs_credential_on_encoder_out_of_sync"),
1989
+ zod.z.literal("acs_credential_on_seam_not_found")
1990
+ ]),
1981
1991
  warning_message: zod.z.string()
1982
1992
  });
1983
1993
  var acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
1984
1994
  var result6 = zod.z.object({
1985
- acs_credential_on_encoder: acs_credential_on_encoder.describe(
1986
- "Snapshot of credential data read from physical encoder."
1987
- ),
1995
+ acs_credential_on_encoder: acs_credential_on_encoder.nullable().describe("Snapshot of credential data read from physical encoder."),
1988
1996
  acs_credential_on_seam: acs_credential_on_seam.nullable().describe("Matching acs_credential currently encoded on this card."),
1989
1997
  warnings: zod.z.array(warning)
1990
1998
  });
@@ -4284,6 +4292,7 @@ var openapi_default = {
4284
4292
  properties: {
4285
4293
  acs_credential_on_encoder: {
4286
4294
  description: "Snapshot of credential data read from physical encoder.",
4295
+ nullable: true,
4287
4296
  properties: {
4288
4297
  card_number: {
4289
4298
  description: "A number or string that physically identifies this card.",
@@ -4893,7 +4902,10 @@ var openapi_default = {
4893
4902
  items: {
4894
4903
  properties: {
4895
4904
  warning_code: {
4896
- enum: ["acs_credential_on_encoder_out_of_sync"],
4905
+ enum: [
4906
+ "acs_credential_on_encoder_out_of_sync",
4907
+ "acs_credential_on_seam_not_found"
4908
+ ],
4897
4909
  type: "string"
4898
4910
  },
4899
4911
  warning_message: { type: "string" }
@@ -7012,7 +7024,8 @@ var openapi_default = {
7012
7024
  enum: [
7013
7025
  "ecobee_thermostat",
7014
7026
  "nest_thermostat",
7015
- "honeywell_resideo_thermostat"
7027
+ "honeywell_resideo_thermostat",
7028
+ "tado_thermostat"
7016
7029
  ],
7017
7030
  type: "string"
7018
7031
  },
@@ -7688,6 +7701,19 @@ var openapi_default = {
7688
7701
  required: ["device_id", "device_name"],
7689
7702
  type: "object"
7690
7703
  },
7704
+ tado_metadata: {
7705
+ properties: {
7706
+ device_name: { type: "string" },
7707
+ device_type: { type: "string" },
7708
+ serial_number: { type: "string" }
7709
+ },
7710
+ required: [
7711
+ "serial_number",
7712
+ "device_name",
7713
+ "device_type"
7714
+ ],
7715
+ type: "object"
7716
+ },
7691
7717
  tedee_metadata: {
7692
7718
  properties: {
7693
7719
  bridge_id: { format: "float", type: "number" },
@@ -8347,7 +8373,8 @@ var openapi_default = {
8347
8373
  "latch",
8348
8374
  "akiles",
8349
8375
  "assa_abloy_vostio",
8350
- "assa_abloy_vostio_credential_service"
8376
+ "assa_abloy_vostio_credential_service",
8377
+ "tado"
8351
8378
  ],
8352
8379
  type: "string"
8353
8380
  },
@@ -8917,7 +8944,8 @@ var openapi_default = {
8917
8944
  enum: [
8918
8945
  "ecobee_thermostat",
8919
8946
  "nest_thermostat",
8920
- "honeywell_resideo_thermostat"
8947
+ "honeywell_resideo_thermostat",
8948
+ "tado_thermostat"
8921
8949
  ],
8922
8950
  type: "string"
8923
8951
  },
@@ -15671,6 +15699,7 @@ var openapi_default = {
15671
15699
  "akiles",
15672
15700
  "assa_abloy_vostio",
15673
15701
  "assa_abloy_vostio_credential_service",
15702
+ "tado",
15674
15703
  "yale_access",
15675
15704
  "hid_cm",
15676
15705
  "google_nest"
@@ -16311,7 +16340,8 @@ var openapi_default = {
16311
16340
  enum: [
16312
16341
  "ecobee_thermostat",
16313
16342
  "nest_thermostat",
16314
- "honeywell_resideo_thermostat"
16343
+ "honeywell_resideo_thermostat",
16344
+ "tado_thermostat"
16315
16345
  ],
16316
16346
  type: "string"
16317
16347
  },
@@ -16362,7 +16392,8 @@ var openapi_default = {
16362
16392
  enum: [
16363
16393
  "ecobee_thermostat",
16364
16394
  "nest_thermostat",
16365
- "honeywell_resideo_thermostat"
16395
+ "honeywell_resideo_thermostat",
16396
+ "tado_thermostat"
16366
16397
  ],
16367
16398
  type: "string"
16368
16399
  },
@@ -16457,7 +16488,8 @@ var openapi_default = {
16457
16488
  "dormakaba_oracode",
16458
16489
  "tedee",
16459
16490
  "honeywell_resideo",
16460
- "akiles"
16491
+ "akiles",
16492
+ "tado"
16461
16493
  ],
16462
16494
  type: "string"
16463
16495
  },
@@ -16826,7 +16858,8 @@ var openapi_default = {
16826
16858
  enum: [
16827
16859
  "ecobee_thermostat",
16828
16860
  "nest_thermostat",
16829
- "honeywell_resideo_thermostat"
16861
+ "honeywell_resideo_thermostat",
16862
+ "tado_thermostat"
16830
16863
  ],
16831
16864
  type: "string"
16832
16865
  },
@@ -16877,7 +16910,8 @@ var openapi_default = {
16877
16910
  enum: [
16878
16911
  "ecobee_thermostat",
16879
16912
  "nest_thermostat",
16880
- "honeywell_resideo_thermostat"
16913
+ "honeywell_resideo_thermostat",
16914
+ "tado_thermostat"
16881
16915
  ],
16882
16916
  type: "string"
16883
16917
  },
@@ -16972,7 +17006,8 @@ var openapi_default = {
16972
17006
  "dormakaba_oracode",
16973
17007
  "tedee",
16974
17008
  "honeywell_resideo",
16975
- "akiles"
17009
+ "akiles",
17010
+ "tado"
16976
17011
  ],
16977
17012
  type: "string"
16978
17013
  },
@@ -17646,7 +17681,8 @@ var openapi_default = {
17646
17681
  enum: [
17647
17682
  "ecobee_thermostat",
17648
17683
  "nest_thermostat",
17649
- "honeywell_resideo_thermostat"
17684
+ "honeywell_resideo_thermostat",
17685
+ "tado_thermostat"
17650
17686
  ],
17651
17687
  type: "string"
17652
17688
  },
@@ -17697,7 +17733,8 @@ var openapi_default = {
17697
17733
  enum: [
17698
17734
  "ecobee_thermostat",
17699
17735
  "nest_thermostat",
17700
- "honeywell_resideo_thermostat"
17736
+ "honeywell_resideo_thermostat",
17737
+ "tado_thermostat"
17701
17738
  ],
17702
17739
  type: "string"
17703
17740
  },
@@ -17792,7 +17829,8 @@ var openapi_default = {
17792
17829
  "dormakaba_oracode",
17793
17830
  "tedee",
17794
17831
  "honeywell_resideo",
17795
- "akiles"
17832
+ "akiles",
17833
+ "tado"
17796
17834
  ],
17797
17835
  type: "string"
17798
17836
  },
@@ -18122,7 +18160,8 @@ var openapi_default = {
18122
18160
  enum: [
18123
18161
  "ecobee_thermostat",
18124
18162
  "nest_thermostat",
18125
- "honeywell_resideo_thermostat"
18163
+ "honeywell_resideo_thermostat",
18164
+ "tado_thermostat"
18126
18165
  ],
18127
18166
  type: "string"
18128
18167
  },
@@ -18173,7 +18212,8 @@ var openapi_default = {
18173
18212
  enum: [
18174
18213
  "ecobee_thermostat",
18175
18214
  "nest_thermostat",
18176
- "honeywell_resideo_thermostat"
18215
+ "honeywell_resideo_thermostat",
18216
+ "tado_thermostat"
18177
18217
  ],
18178
18218
  type: "string"
18179
18219
  },
@@ -18268,7 +18308,8 @@ var openapi_default = {
18268
18308
  "dormakaba_oracode",
18269
18309
  "tedee",
18270
18310
  "honeywell_resideo",
18271
- "akiles"
18311
+ "akiles",
18312
+ "tado"
18272
18313
  ],
18273
18314
  type: "string"
18274
18315
  },
@@ -19493,7 +19534,8 @@ var openapi_default = {
19493
19534
  enum: [
19494
19535
  "ecobee_thermostat",
19495
19536
  "nest_thermostat",
19496
- "honeywell_resideo_thermostat"
19537
+ "honeywell_resideo_thermostat",
19538
+ "tado_thermostat"
19497
19539
  ],
19498
19540
  type: "string"
19499
19541
  },
@@ -19544,7 +19586,8 @@ var openapi_default = {
19544
19586
  enum: [
19545
19587
  "ecobee_thermostat",
19546
19588
  "nest_thermostat",
19547
- "honeywell_resideo_thermostat"
19589
+ "honeywell_resideo_thermostat",
19590
+ "tado_thermostat"
19548
19591
  ],
19549
19592
  type: "string"
19550
19593
  },
@@ -19639,7 +19682,8 @@ var openapi_default = {
19639
19682
  "dormakaba_oracode",
19640
19683
  "tedee",
19641
19684
  "honeywell_resideo",
19642
- "akiles"
19685
+ "akiles",
19686
+ "tado"
19643
19687
  ],
19644
19688
  type: "string"
19645
19689
  },
@@ -22264,7 +22308,11 @@ var openapi_default = {
22264
22308
  400: { description: "Bad Request" },
22265
22309
  401: { description: "Unauthorized" }
22266
22310
  },
22267
- security: [{ pat_without_workspace: [] }],
22311
+ security: [
22312
+ { pat_without_workspace: [] },
22313
+ { console_session: [] },
22314
+ { user_session_without_workspace: [] }
22315
+ ],
22268
22316
  summary: "/workspaces/create",
22269
22317
  tags: ["/workspaces"],
22270
22318
  "x-fern-sdk-group-name": ["workspaces"],
@@ -22372,7 +22420,8 @@ var openapi_default = {
22372
22420
  { user_session: [] },
22373
22421
  { user_session_without_workspace: [] },
22374
22422
  { api_key: [] },
22375
- { client_session: [] }
22423
+ { client_session: [] },
22424
+ { console_session: [] }
22376
22425
  ],
22377
22426
  summary: "/workspaces/list",
22378
22427
  tags: ["/workspaces"],
@@ -22409,7 +22458,8 @@ var openapi_default = {
22409
22458
  { user_session: [] },
22410
22459
  { user_session_without_workspace: [] },
22411
22460
  { api_key: [] },
22412
- { client_session: [] }
22461
+ { client_session: [] },
22462
+ { console_session: [] }
22413
22463
  ],
22414
22464
  summary: "/workspaces/list",
22415
22465
  tags: ["/workspaces"],