@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
@@ -1136,6 +1136,7 @@ declare const _default: {
1136
1136
  properties: {
1137
1137
  acs_credential_on_encoder: {
1138
1138
  description: string;
1139
+ nullable: boolean;
1139
1140
  properties: {
1140
1141
  card_number: {
1141
1142
  description: string;
@@ -3083,6 +3084,21 @@ declare const _default: {
3083
3084
  required: string[];
3084
3085
  type: string;
3085
3086
  };
3087
+ tado_metadata: {
3088
+ properties: {
3089
+ device_name: {
3090
+ type: string;
3091
+ };
3092
+ device_type: {
3093
+ type: string;
3094
+ };
3095
+ serial_number: {
3096
+ type: string;
3097
+ };
3098
+ };
3099
+ required: string[];
3100
+ type: string;
3101
+ };
3086
3102
  tedee_metadata: {
3087
3103
  properties: {
3088
3104
  bridge_id: {
@@ -20400,9 +20416,19 @@ declare const _default: {
20400
20416
  description: string;
20401
20417
  };
20402
20418
  };
20403
- security: {
20419
+ security: ({
20404
20420
  pat_without_workspace: never[];
20405
- }[];
20421
+ console_session?: never;
20422
+ user_session_without_workspace?: never;
20423
+ } | {
20424
+ console_session: never[];
20425
+ pat_without_workspace?: never;
20426
+ user_session_without_workspace?: never;
20427
+ } | {
20428
+ user_session_without_workspace: never[];
20429
+ pat_without_workspace?: never;
20430
+ console_session?: never;
20431
+ })[];
20406
20432
  summary: string;
20407
20433
  tags: string[];
20408
20434
  'x-fern-sdk-group-name': string[];
@@ -20565,6 +20591,7 @@ declare const _default: {
20565
20591
  user_session_without_workspace?: never;
20566
20592
  api_key?: never;
20567
20593
  client_session?: never;
20594
+ console_session?: never;
20568
20595
  } | {
20569
20596
  pat_without_workspace: never[];
20570
20597
  pat_with_workspace?: never;
@@ -20572,6 +20599,7 @@ declare const _default: {
20572
20599
  user_session_without_workspace?: never;
20573
20600
  api_key?: never;
20574
20601
  client_session?: never;
20602
+ console_session?: never;
20575
20603
  } | {
20576
20604
  user_session: never[];
20577
20605
  pat_with_workspace?: never;
@@ -20579,6 +20607,7 @@ declare const _default: {
20579
20607
  user_session_without_workspace?: never;
20580
20608
  api_key?: never;
20581
20609
  client_session?: never;
20610
+ console_session?: never;
20582
20611
  } | {
20583
20612
  user_session_without_workspace: never[];
20584
20613
  pat_with_workspace?: never;
@@ -20586,6 +20615,7 @@ declare const _default: {
20586
20615
  user_session?: never;
20587
20616
  api_key?: never;
20588
20617
  client_session?: never;
20618
+ console_session?: never;
20589
20619
  } | {
20590
20620
  api_key: never[];
20591
20621
  pat_with_workspace?: never;
@@ -20593,6 +20623,7 @@ declare const _default: {
20593
20623
  user_session?: never;
20594
20624
  user_session_without_workspace?: never;
20595
20625
  client_session?: never;
20626
+ console_session?: never;
20596
20627
  } | {
20597
20628
  client_session: never[];
20598
20629
  pat_with_workspace?: never;
@@ -20600,6 +20631,15 @@ declare const _default: {
20600
20631
  user_session?: never;
20601
20632
  user_session_without_workspace?: never;
20602
20633
  api_key?: never;
20634
+ console_session?: never;
20635
+ } | {
20636
+ console_session: never[];
20637
+ pat_with_workspace?: never;
20638
+ pat_without_workspace?: never;
20639
+ user_session?: never;
20640
+ user_session_without_workspace?: never;
20641
+ api_key?: never;
20642
+ client_session?: never;
20603
20643
  })[];
20604
20644
  summary: string;
20605
20645
  tags: string[];
@@ -20645,6 +20685,7 @@ declare const _default: {
20645
20685
  user_session_without_workspace?: never;
20646
20686
  api_key?: never;
20647
20687
  client_session?: never;
20688
+ console_session?: never;
20648
20689
  } | {
20649
20690
  pat_without_workspace: never[];
20650
20691
  pat_with_workspace?: never;
@@ -20652,6 +20693,7 @@ declare const _default: {
20652
20693
  user_session_without_workspace?: never;
20653
20694
  api_key?: never;
20654
20695
  client_session?: never;
20696
+ console_session?: never;
20655
20697
  } | {
20656
20698
  user_session: never[];
20657
20699
  pat_with_workspace?: never;
@@ -20659,6 +20701,7 @@ declare const _default: {
20659
20701
  user_session_without_workspace?: never;
20660
20702
  api_key?: never;
20661
20703
  client_session?: never;
20704
+ console_session?: never;
20662
20705
  } | {
20663
20706
  user_session_without_workspace: never[];
20664
20707
  pat_with_workspace?: never;
@@ -20666,6 +20709,7 @@ declare const _default: {
20666
20709
  user_session?: never;
20667
20710
  api_key?: never;
20668
20711
  client_session?: never;
20712
+ console_session?: never;
20669
20713
  } | {
20670
20714
  api_key: never[];
20671
20715
  pat_with_workspace?: never;
@@ -20673,6 +20717,7 @@ declare const _default: {
20673
20717
  user_session?: never;
20674
20718
  user_session_without_workspace?: never;
20675
20719
  client_session?: never;
20720
+ console_session?: never;
20676
20721
  } | {
20677
20722
  client_session: never[];
20678
20723
  pat_with_workspace?: never;
@@ -20680,6 +20725,15 @@ declare const _default: {
20680
20725
  user_session?: never;
20681
20726
  user_session_without_workspace?: never;
20682
20727
  api_key?: never;
20728
+ console_session?: never;
20729
+ } | {
20730
+ console_session: never[];
20731
+ pat_with_workspace?: never;
20732
+ pat_without_workspace?: never;
20733
+ user_session?: never;
20734
+ user_session_without_workspace?: never;
20735
+ api_key?: never;
20736
+ client_session?: never;
20683
20737
  })[];
20684
20738
  summary: string;
20685
20739
  tags: string[];
@@ -1417,6 +1417,7 @@ export default {
1417
1417
  properties: {
1418
1418
  acs_credential_on_encoder: {
1419
1419
  description: 'Snapshot of credential data read from physical encoder.',
1420
+ nullable: true,
1420
1421
  properties: {
1421
1422
  card_number: {
1422
1423
  description: 'A number or string that physically identifies this card.',
@@ -2026,7 +2027,10 @@ export default {
2026
2027
  items: {
2027
2028
  properties: {
2028
2029
  warning_code: {
2029
- enum: ['acs_credential_on_encoder_out_of_sync'],
2030
+ enum: [
2031
+ 'acs_credential_on_encoder_out_of_sync',
2032
+ 'acs_credential_on_seam_not_found',
2033
+ ],
2030
2034
  type: 'string',
2031
2035
  },
2032
2036
  warning_message: { type: 'string' },
@@ -4146,6 +4150,7 @@ export default {
4146
4150
  'ecobee_thermostat',
4147
4151
  'nest_thermostat',
4148
4152
  'honeywell_resideo_thermostat',
4153
+ 'tado_thermostat',
4149
4154
  ],
4150
4155
  type: 'string',
4151
4156
  },
@@ -4821,6 +4826,19 @@ export default {
4821
4826
  required: ['device_id', 'device_name'],
4822
4827
  type: 'object',
4823
4828
  },
4829
+ tado_metadata: {
4830
+ properties: {
4831
+ device_name: { type: 'string' },
4832
+ device_type: { type: 'string' },
4833
+ serial_number: { type: 'string' },
4834
+ },
4835
+ required: [
4836
+ 'serial_number',
4837
+ 'device_name',
4838
+ 'device_type',
4839
+ ],
4840
+ type: 'object',
4841
+ },
4824
4842
  tedee_metadata: {
4825
4843
  properties: {
4826
4844
  bridge_id: { format: 'float', type: 'number' },
@@ -5481,6 +5499,7 @@ export default {
5481
5499
  'akiles',
5482
5500
  'assa_abloy_vostio',
5483
5501
  'assa_abloy_vostio_credential_service',
5502
+ 'tado',
5484
5503
  ],
5485
5504
  type: 'string',
5486
5505
  },
@@ -6051,6 +6070,7 @@ export default {
6051
6070
  'ecobee_thermostat',
6052
6071
  'nest_thermostat',
6053
6072
  'honeywell_resideo_thermostat',
6073
+ 'tado_thermostat',
6054
6074
  ],
6055
6075
  type: 'string',
6056
6076
  },
@@ -12804,6 +12824,7 @@ export default {
12804
12824
  'akiles',
12805
12825
  'assa_abloy_vostio',
12806
12826
  'assa_abloy_vostio_credential_service',
12827
+ 'tado',
12807
12828
  'yale_access',
12808
12829
  'hid_cm',
12809
12830
  'google_nest',
@@ -13445,6 +13466,7 @@ export default {
13445
13466
  'ecobee_thermostat',
13446
13467
  'nest_thermostat',
13447
13468
  'honeywell_resideo_thermostat',
13469
+ 'tado_thermostat',
13448
13470
  ],
13449
13471
  type: 'string',
13450
13472
  },
@@ -13496,6 +13518,7 @@ export default {
13496
13518
  'ecobee_thermostat',
13497
13519
  'nest_thermostat',
13498
13520
  'honeywell_resideo_thermostat',
13521
+ 'tado_thermostat',
13499
13522
  ],
13500
13523
  type: 'string',
13501
13524
  },
@@ -13591,6 +13614,7 @@ export default {
13591
13614
  'tedee',
13592
13615
  'honeywell_resideo',
13593
13616
  'akiles',
13617
+ 'tado',
13594
13618
  ],
13595
13619
  type: 'string',
13596
13620
  },
@@ -13960,6 +13984,7 @@ export default {
13960
13984
  'ecobee_thermostat',
13961
13985
  'nest_thermostat',
13962
13986
  'honeywell_resideo_thermostat',
13987
+ 'tado_thermostat',
13963
13988
  ],
13964
13989
  type: 'string',
13965
13990
  },
@@ -14011,6 +14036,7 @@ export default {
14011
14036
  'ecobee_thermostat',
14012
14037
  'nest_thermostat',
14013
14038
  'honeywell_resideo_thermostat',
14039
+ 'tado_thermostat',
14014
14040
  ],
14015
14041
  type: 'string',
14016
14042
  },
@@ -14106,6 +14132,7 @@ export default {
14106
14132
  'tedee',
14107
14133
  'honeywell_resideo',
14108
14134
  'akiles',
14135
+ 'tado',
14109
14136
  ],
14110
14137
  type: 'string',
14111
14138
  },
@@ -14780,6 +14807,7 @@ export default {
14780
14807
  'ecobee_thermostat',
14781
14808
  'nest_thermostat',
14782
14809
  'honeywell_resideo_thermostat',
14810
+ 'tado_thermostat',
14783
14811
  ],
14784
14812
  type: 'string',
14785
14813
  },
@@ -14831,6 +14859,7 @@ export default {
14831
14859
  'ecobee_thermostat',
14832
14860
  'nest_thermostat',
14833
14861
  'honeywell_resideo_thermostat',
14862
+ 'tado_thermostat',
14834
14863
  ],
14835
14864
  type: 'string',
14836
14865
  },
@@ -14926,6 +14955,7 @@ export default {
14926
14955
  'tedee',
14927
14956
  'honeywell_resideo',
14928
14957
  'akiles',
14958
+ 'tado',
14929
14959
  ],
14930
14960
  type: 'string',
14931
14961
  },
@@ -15256,6 +15286,7 @@ export default {
15256
15286
  'ecobee_thermostat',
15257
15287
  'nest_thermostat',
15258
15288
  'honeywell_resideo_thermostat',
15289
+ 'tado_thermostat',
15259
15290
  ],
15260
15291
  type: 'string',
15261
15292
  },
@@ -15307,6 +15338,7 @@ export default {
15307
15338
  'ecobee_thermostat',
15308
15339
  'nest_thermostat',
15309
15340
  'honeywell_resideo_thermostat',
15341
+ 'tado_thermostat',
15310
15342
  ],
15311
15343
  type: 'string',
15312
15344
  },
@@ -15402,6 +15434,7 @@ export default {
15402
15434
  'tedee',
15403
15435
  'honeywell_resideo',
15404
15436
  'akiles',
15437
+ 'tado',
15405
15438
  ],
15406
15439
  type: 'string',
15407
15440
  },
@@ -16627,6 +16660,7 @@ export default {
16627
16660
  'ecobee_thermostat',
16628
16661
  'nest_thermostat',
16629
16662
  'honeywell_resideo_thermostat',
16663
+ 'tado_thermostat',
16630
16664
  ],
16631
16665
  type: 'string',
16632
16666
  },
@@ -16678,6 +16712,7 @@ export default {
16678
16712
  'ecobee_thermostat',
16679
16713
  'nest_thermostat',
16680
16714
  'honeywell_resideo_thermostat',
16715
+ 'tado_thermostat',
16681
16716
  ],
16682
16717
  type: 'string',
16683
16718
  },
@@ -16773,6 +16808,7 @@ export default {
16773
16808
  'tedee',
16774
16809
  'honeywell_resideo',
16775
16810
  'akiles',
16811
+ 'tado',
16776
16812
  ],
16777
16813
  type: 'string',
16778
16814
  },
@@ -19397,7 +19433,11 @@ export default {
19397
19433
  400: { description: 'Bad Request' },
19398
19434
  401: { description: 'Unauthorized' },
19399
19435
  },
19400
- security: [{ pat_without_workspace: [] }],
19436
+ security: [
19437
+ { pat_without_workspace: [] },
19438
+ { console_session: [] },
19439
+ { user_session_without_workspace: [] },
19440
+ ],
19401
19441
  summary: '/workspaces/create',
19402
19442
  tags: ['/workspaces'],
19403
19443
  'x-fern-sdk-group-name': ['workspaces'],
@@ -19506,6 +19546,7 @@ export default {
19506
19546
  { user_session_without_workspace: [] },
19507
19547
  { api_key: [] },
19508
19548
  { client_session: [] },
19549
+ { console_session: [] },
19509
19550
  ],
19510
19551
  summary: '/workspaces/list',
19511
19552
  tags: ['/workspaces'],
@@ -19543,6 +19584,7 @@ export default {
19543
19584
  { user_session_without_workspace: [] },
19544
19585
  { api_key: [] },
19545
19586
  { client_session: [] },
19587
+ { console_session: [] },
19546
19588
  ],
19547
19589
  summary: '/workspaces/list',
19548
19590
  tags: ['/workspaces'],