@seamapi/types 1.842.0 → 1.844.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.
@@ -6379,6 +6379,20 @@ declare const acs_entrance: z.ZodObject<{
6379
6379
  message: string;
6380
6380
  error_code: string;
6381
6381
  }>, "many">;
6382
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
6383
+ created_at: z.ZodString;
6384
+ message: z.ZodString;
6385
+ } & {
6386
+ warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
6387
+ }, "strip", z.ZodTypeAny, {
6388
+ message: string;
6389
+ created_at: string;
6390
+ warning_code: "salto_ks_entrance_access_code_support_removed";
6391
+ }, {
6392
+ message: string;
6393
+ created_at: string;
6394
+ warning_code: "salto_ks_entrance_access_code_support_removed";
6395
+ }>]>, "many">;
6382
6396
  latch_metadata: z.ZodOptional<z.ZodObject<{
6383
6397
  accessibility_type: z.ZodString;
6384
6398
  door_name: z.ZodString;
@@ -6571,6 +6585,11 @@ declare const acs_entrance: z.ZodObject<{
6571
6585
  error_code: string;
6572
6586
  }[];
6573
6587
  connected_account_id: string;
6588
+ warnings: {
6589
+ message: string;
6590
+ created_at: string;
6591
+ warning_code: "salto_ks_entrance_access_code_support_removed";
6592
+ }[];
6574
6593
  space_ids: string[];
6575
6594
  acs_entrance_id: string;
6576
6595
  acs_system_id: string;
@@ -6651,6 +6670,11 @@ declare const acs_entrance: z.ZodObject<{
6651
6670
  error_code: string;
6652
6671
  }[];
6653
6672
  connected_account_id: string;
6673
+ warnings: {
6674
+ message: string;
6675
+ created_at: string;
6676
+ warning_code: "salto_ks_entrance_access_code_support_removed";
6677
+ }[];
6654
6678
  space_ids: string[];
6655
6679
  acs_entrance_id: string;
6656
6680
  acs_system_id: string;
@@ -17814,6 +17838,20 @@ declare const batch: z.ZodObject<{
17814
17838
  message: string;
17815
17839
  error_code: string;
17816
17840
  }>, "many">;
17841
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
17842
+ created_at: z.ZodString;
17843
+ message: z.ZodString;
17844
+ } & {
17845
+ warning_code: z.ZodLiteral<"salto_ks_entrance_access_code_support_removed">;
17846
+ }, "strip", z.ZodTypeAny, {
17847
+ message: string;
17848
+ created_at: string;
17849
+ warning_code: "salto_ks_entrance_access_code_support_removed";
17850
+ }, {
17851
+ message: string;
17852
+ created_at: string;
17853
+ warning_code: "salto_ks_entrance_access_code_support_removed";
17854
+ }>]>, "many">;
17817
17855
  latch_metadata: z.ZodOptional<z.ZodObject<{
17818
17856
  accessibility_type: z.ZodString;
17819
17857
  door_name: z.ZodString;
@@ -18006,6 +18044,11 @@ declare const batch: z.ZodObject<{
18006
18044
  error_code: string;
18007
18045
  }[];
18008
18046
  connected_account_id: string;
18047
+ warnings: {
18048
+ message: string;
18049
+ created_at: string;
18050
+ warning_code: "salto_ks_entrance_access_code_support_removed";
18051
+ }[];
18009
18052
  space_ids: string[];
18010
18053
  acs_entrance_id: string;
18011
18054
  acs_system_id: string;
@@ -18086,6 +18129,11 @@ declare const batch: z.ZodObject<{
18086
18129
  error_code: string;
18087
18130
  }[];
18088
18131
  connected_account_id: string;
18132
+ warnings: {
18133
+ message: string;
18134
+ created_at: string;
18135
+ warning_code: "salto_ks_entrance_access_code_support_removed";
18136
+ }[];
18089
18137
  space_ids: string[];
18090
18138
  acs_entrance_id: string;
18091
18139
  acs_system_id: string;
@@ -39630,6 +39678,11 @@ declare const batch: z.ZodObject<{
39630
39678
  error_code: string;
39631
39679
  }[];
39632
39680
  connected_account_id: string;
39681
+ warnings: {
39682
+ message: string;
39683
+ created_at: string;
39684
+ warning_code: "salto_ks_entrance_access_code_support_removed";
39685
+ }[];
39633
39686
  space_ids: string[];
39634
39687
  acs_entrance_id: string;
39635
39688
  acs_system_id: string;
@@ -44633,6 +44686,11 @@ declare const batch: z.ZodObject<{
44633
44686
  error_code: string;
44634
44687
  }[];
44635
44688
  connected_account_id: string;
44689
+ warnings: {
44690
+ message: string;
44691
+ created_at: string;
44692
+ warning_code: "salto_ks_entrance_access_code_support_removed";
44693
+ }[];
44636
44694
  space_ids: string[];
44637
44695
  acs_entrance_id: string;
44638
44696
  acs_system_id: string;
@@ -77097,6 +77155,15 @@ type Routes = {
77097
77155
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77098
77156
  message: string;
77099
77157
  }[];
77158
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
77159
+ warnings: {
77160
+ /** Date and time at which Seam created the warning. */
77161
+ created_at: string;
77162
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
77163
+ message: string;
77164
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
77165
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
77166
+ }[];
77100
77167
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
77101
77168
  latch_metadata?: {
77102
77169
  /** Accessibility type in the Latch access system. */
@@ -81560,6 +81627,15 @@ type Routes = {
81560
81627
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81561
81628
  message: string;
81562
81629
  }[];
81630
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
81631
+ warnings: {
81632
+ /** Date and time at which Seam created the warning. */
81633
+ created_at: string;
81634
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
81635
+ message: string;
81636
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
81637
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
81638
+ }[];
81563
81639
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
81564
81640
  latch_metadata?: {
81565
81641
  /** Accessibility type in the Latch access system. */
@@ -82971,6 +83047,15 @@ type Routes = {
82971
83047
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82972
83048
  message: string;
82973
83049
  }[];
83050
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
83051
+ warnings: {
83052
+ /** Date and time at which Seam created the warning. */
83053
+ created_at: string;
83054
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83055
+ message: string;
83056
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83057
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
83058
+ }[];
82974
83059
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
82975
83060
  latch_metadata?: {
82976
83061
  /** Accessibility type in the Latch access system. */
@@ -84683,6 +84768,15 @@ type Routes = {
84683
84768
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84684
84769
  message: string;
84685
84770
  }[];
84771
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
84772
+ warnings: {
84773
+ /** Date and time at which Seam created the warning. */
84774
+ created_at: string;
84775
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
84776
+ message: string;
84777
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
84778
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
84779
+ }[];
84686
84780
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
84687
84781
  latch_metadata?: {
84688
84782
  /** Accessibility type in the Latch access system. */
@@ -88336,6 +88430,15 @@ type Routes = {
88336
88430
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
88337
88431
  message: string;
88338
88432
  }[];
88433
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
88434
+ warnings: {
88435
+ /** Date and time at which Seam created the warning. */
88436
+ created_at: string;
88437
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88438
+ message: string;
88439
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88440
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
88441
+ }[];
88339
88442
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
88340
88443
  latch_metadata?: {
88341
88444
  /** Accessibility type in the Latch access system. */
@@ -88534,6 +88637,15 @@ type Routes = {
88534
88637
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
88535
88638
  message: string;
88536
88639
  }[];
88640
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
88641
+ warnings: {
88642
+ /** Date and time at which Seam created the warning. */
88643
+ created_at: string;
88644
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
88645
+ message: string;
88646
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
88647
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
88648
+ }[];
88537
88649
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
88538
88650
  latch_metadata?: {
88539
88651
  /** Accessibility type in the Latch access system. */
@@ -91526,6 +91638,15 @@ type Routes = {
91526
91638
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
91527
91639
  message: string;
91528
91640
  }[];
91641
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
91642
+ warnings: {
91643
+ /** Date and time at which Seam created the warning. */
91644
+ created_at: string;
91645
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
91646
+ message: string;
91647
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
91648
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
91649
+ }[];
91529
91650
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
91530
91651
  latch_metadata?: {
91531
91652
  /** Accessibility type in the Latch access system. */
@@ -128364,6 +128485,24 @@ type Routes = {
128364
128485
  };
128365
128486
  maxDuration: undefined;
128366
128487
  };
128488
+ '/seam/customer/v1/connectors/external_sites/list': {
128489
+ route: '/seam/customer/v1/connectors/external_sites/list';
128490
+ method: 'GET' | 'POST';
128491
+ queryParams: {};
128492
+ jsonBody: {};
128493
+ commonParams: {
128494
+ /** ID of the connected account to list external sites for */
128495
+ connected_account_id: string;
128496
+ };
128497
+ formData: {};
128498
+ jsonResponse: {
128499
+ external_sites: {
128500
+ key: string;
128501
+ name: string;
128502
+ }[];
128503
+ };
128504
+ maxDuration: undefined;
128505
+ };
128367
128506
  '/seam/customer/v1/connectors/ical/validate-config': {
128368
128507
  route: '/seam/customer/v1/connectors/ical/validate-config';
128369
128508
  method: 'POST';
@@ -133190,6 +133329,15 @@ type Routes = {
133190
133329
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
133191
133330
  message: string;
133192
133331
  }[];
133332
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
133333
+ warnings: {
133334
+ /** Date and time at which Seam created the warning. */
133335
+ created_at: string;
133336
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
133337
+ message: string;
133338
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
133339
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
133340
+ }[];
133193
133341
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
133194
133342
  latch_metadata?: {
133195
133343
  /** Accessibility type in the Latch access system. */
@@ -135008,6 +135156,15 @@ type Routes = {
135008
135156
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
135009
135157
  message: string;
135010
135158
  }[];
135159
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
135160
+ warnings: {
135161
+ /** Date and time at which Seam created the warning. */
135162
+ created_at: string;
135163
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
135164
+ message: string;
135165
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
135166
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
135167
+ }[];
135011
135168
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
135012
135169
  latch_metadata?: {
135013
135170
  /** Accessibility type in the Latch access system. */
@@ -155624,6 +155781,15 @@ type Routes = {
155624
155781
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
155625
155782
  message: string;
155626
155783
  }[];
155784
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
155785
+ warnings: {
155786
+ /** Date and time at which Seam created the warning. */
155787
+ created_at: string;
155788
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
155789
+ message: string;
155790
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
155791
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
155792
+ }[];
155627
155793
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
155628
155794
  latch_metadata?: {
155629
155795
  /** Accessibility type in the Latch access system. */
@@ -158102,6 +158268,15 @@ type Routes = {
158102
158268
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
158103
158269
  message: string;
158104
158270
  }[];
158271
+ /** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
158272
+ warnings: {
158273
+ /** Date and time at which Seam created the warning. */
158274
+ created_at: string;
158275
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
158276
+ message: string;
158277
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
158278
+ warning_code: 'salto_ks_entrance_access_code_support_removed';
158279
+ }[];
158105
158280
  /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
158106
158281
  latch_metadata?: {
158107
158282
  /** Accessibility type in the Latch access system. */
package/dist/index.cjs CHANGED
@@ -3708,6 +3708,26 @@ var acs_entrance_avigilon_alta_metadata = zod.z.object({
3708
3708
  }).describe("Avigilon Alta-specific metadata associated with the entrance.");
3709
3709
 
3710
3710
  // src/lib/seam/connect/models/acs/acs-entrance.ts
3711
+ var warning_code_description8 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
3712
+ var common_acs_entrance_warning = zod.z.object({
3713
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
3714
+ message: zod.z.string().describe(
3715
+ "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
3716
+ )
3717
+ });
3718
+ var salto_ks_entrance_access_code_support_removed = common_acs_entrance_warning.extend({
3719
+ warning_code: zod.z.literal("salto_ks_entrance_access_code_support_removed").describe(warning_code_description8)
3720
+ }).describe(
3721
+ "Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps."
3722
+ );
3723
+ var acs_entrance_warning = zod.z.discriminatedUnion("warning_code", [
3724
+ salto_ks_entrance_access_code_support_removed
3725
+ ]).describe(
3726
+ "Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
3727
+ );
3728
+ zod.z.object({
3729
+ salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable()
3730
+ });
3711
3731
  var acs_entrance_capability_flags = zod.z.object({
3712
3732
  can_unlock_with_mobile_key: zod.z.boolean().optional().describe(
3713
3733
  "Indicates whether the ACS entrance can be unlocked with mobile key credentials."
@@ -3754,6 +3774,9 @@ var acs_entrance = zod.z.object({
3754
3774
  ).describe(
3755
3775
  "Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
3756
3776
  ),
3777
+ warnings: zod.z.array(acs_entrance_warning).describe(
3778
+ "Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
3779
+ ),
3757
3780
  latch_metadata: acs_entrance_latch_metadata.optional().describe(
3758
3781
  "Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
3759
3782
  ),
@@ -3825,7 +3848,7 @@ var common_acs_system_error = zod.z.object({
3825
3848
  )
3826
3849
  });
3827
3850
  var error_code_description7 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3828
- var warning_code_description8 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
3851
+ var warning_code_description9 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
3829
3852
  var seam_bridge_disconnected = common_acs_system_error.extend({
3830
3853
  error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description7)
3831
3854
  }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
@@ -3888,12 +3911,12 @@ var common_acs_system_warning = zod.z.object({
3888
3911
  )
3889
3912
  });
3890
3913
  var salto_ks_subscription_limit_almost_reached3 = common_acs_system_warning.extend({
3891
- warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description8)
3914
+ warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description9)
3892
3915
  }).describe(
3893
3916
  "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site to rectify the issue."
3894
3917
  );
3895
3918
  var time_zone_does_not_match_location = common_acs_system_warning.extend({
3896
- warning_code: zod.z.literal("time_zone_does_not_match_location").describe(warning_code_description8),
3919
+ warning_code: zod.z.literal("time_zone_does_not_match_location").describe(warning_code_description9),
3897
3920
  misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
3898
3921
  `
3899
3922
  ---
@@ -5114,7 +5137,7 @@ var common_event = zod.z.object({
5114
5137
  occurred_at: zod.z.string().datetime().describe("Date and time at which the event occurred.")
5115
5138
  });
5116
5139
  var error_code_description8 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
5117
- var warning_code_description9 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
5140
+ var warning_code_description10 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
5118
5141
  var common_event_error = zod.z.object({
5119
5142
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
5120
5143
  message: zod.z.string().describe(
@@ -5127,7 +5150,7 @@ var common_event_warning = zod.z.object({
5127
5150
  message: zod.z.string().describe(
5128
5151
  "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
5129
5152
  ),
5130
- warning_code: zod.z.string().describe(warning_code_description9)
5153
+ warning_code: zod.z.string().describe(warning_code_description10)
5131
5154
  });
5132
5155
 
5133
5156
  // src/lib/seam/connect/models/events/access-codes.ts
@@ -11059,6 +11082,37 @@ var openapi = {
11059
11082
  },
11060
11083
  required: ["door_name", "door_category"],
11061
11084
  type: "object"
11085
+ },
11086
+ warnings: {
11087
+ description: "Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
11088
+ items: {
11089
+ description: "Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
11090
+ discriminator: { propertyName: "warning_code" },
11091
+ oneOf: [
11092
+ {
11093
+ description: "Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
11094
+ properties: {
11095
+ created_at: {
11096
+ description: "Date and time at which Seam created the warning.",
11097
+ format: "date-time",
11098
+ type: "string"
11099
+ },
11100
+ message: {
11101
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11102
+ type: "string"
11103
+ },
11104
+ warning_code: {
11105
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
11106
+ enum: ["salto_ks_entrance_access_code_support_removed"],
11107
+ type: "string"
11108
+ }
11109
+ },
11110
+ required: ["created_at", "message", "warning_code"],
11111
+ type: "object"
11112
+ }
11113
+ ]
11114
+ },
11115
+ type: "array"
11062
11116
  }
11063
11117
  },
11064
11118
  required: [
@@ -11068,7 +11122,8 @@ var openapi = {
11068
11122
  "created_at",
11069
11123
  "display_name",
11070
11124
  "connected_account_id",
11071
- "errors"
11125
+ "errors",
11126
+ "warnings"
11072
11127
  ],
11073
11128
  type: "object",
11074
11129
  "x-route-path": "/acs/entrances"
@@ -29819,6 +29874,43 @@ var openapi = {
29819
29874
  },
29820
29875
  required: ["door_name", "door_category"],
29821
29876
  type: "object"
29877
+ },
29878
+ warnings: {
29879
+ description: "Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
29880
+ items: {
29881
+ description: "Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
29882
+ discriminator: { propertyName: "warning_code" },
29883
+ oneOf: [
29884
+ {
29885
+ description: "Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
29886
+ properties: {
29887
+ created_at: {
29888
+ description: "Date and time at which Seam created the warning.",
29889
+ format: "date-time",
29890
+ type: "string"
29891
+ },
29892
+ message: {
29893
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
29894
+ type: "string"
29895
+ },
29896
+ warning_code: {
29897
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
29898
+ enum: [
29899
+ "salto_ks_entrance_access_code_support_removed"
29900
+ ],
29901
+ type: "string"
29902
+ }
29903
+ },
29904
+ required: [
29905
+ "created_at",
29906
+ "message",
29907
+ "warning_code"
29908
+ ],
29909
+ type: "object"
29910
+ }
29911
+ ]
29912
+ },
29913
+ type: "array"
29822
29914
  }
29823
29915
  },
29824
29916
  required: [
@@ -29828,7 +29920,8 @@ var openapi = {
29828
29920
  "created_at",
29829
29921
  "display_name",
29830
29922
  "connected_account_id",
29831
- "errors"
29923
+ "errors",
29924
+ "warnings"
29832
29925
  ],
29833
29926
  type: "object",
29834
29927
  "x-route-path": "/acs/entrances"
@@ -67350,6 +67443,133 @@ var openapi = {
67350
67443
  "x-undocumented": "Internal endpoint for Console."
67351
67444
  }
67352
67445
  },
67446
+ "/seam/customer/v1/connectors/external_sites/list": {
67447
+ get: {
67448
+ description: "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
67449
+ operationId: "seamCustomerV1ConnectorsExternalSitesListGet",
67450
+ parameters: [
67451
+ {
67452
+ in: "query",
67453
+ name: "connected_account_id",
67454
+ required: true,
67455
+ schema: {
67456
+ description: "ID of the connected account to list external sites for",
67457
+ format: "uuid",
67458
+ type: "string"
67459
+ }
67460
+ }
67461
+ ],
67462
+ responses: {
67463
+ 200: {
67464
+ content: {
67465
+ "application/json": {
67466
+ schema: {
67467
+ properties: {
67468
+ external_sites: {
67469
+ items: {
67470
+ properties: {
67471
+ key: { type: "string" },
67472
+ name: { type: "string" }
67473
+ },
67474
+ required: ["key", "name"],
67475
+ type: "object"
67476
+ },
67477
+ type: "array"
67478
+ },
67479
+ ok: { type: "boolean" }
67480
+ },
67481
+ required: ["external_sites", "ok"],
67482
+ type: "object"
67483
+ }
67484
+ }
67485
+ },
67486
+ description: "OK"
67487
+ },
67488
+ 400: { description: "Bad Request" },
67489
+ 401: { description: "Unauthorized" }
67490
+ },
67491
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
67492
+ summary: "/seam/customer/v1/connectors/external_sites/list",
67493
+ tags: [],
67494
+ "x-fern-sdk-group-name": [
67495
+ "seam",
67496
+ "customer",
67497
+ "v1",
67498
+ "connectors",
67499
+ "external_sites"
67500
+ ],
67501
+ "x-fern-sdk-method-name": "list",
67502
+ "x-fern-sdk-return-value": "external_sites",
67503
+ "x-response-key": "external_sites",
67504
+ "x-title": "List External Sites for a Connected Account",
67505
+ "x-undocumented": "Internal endpoint for Console."
67506
+ },
67507
+ post: {
67508
+ description: "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
67509
+ operationId: "seamCustomerV1ConnectorsExternalSitesListPost",
67510
+ requestBody: {
67511
+ content: {
67512
+ "application/json": {
67513
+ schema: {
67514
+ properties: {
67515
+ connected_account_id: {
67516
+ description: "ID of the connected account to list external sites for",
67517
+ format: "uuid",
67518
+ type: "string"
67519
+ }
67520
+ },
67521
+ required: ["connected_account_id"],
67522
+ type: "object"
67523
+ }
67524
+ }
67525
+ }
67526
+ },
67527
+ responses: {
67528
+ 200: {
67529
+ content: {
67530
+ "application/json": {
67531
+ schema: {
67532
+ properties: {
67533
+ external_sites: {
67534
+ items: {
67535
+ properties: {
67536
+ key: { type: "string" },
67537
+ name: { type: "string" }
67538
+ },
67539
+ required: ["key", "name"],
67540
+ type: "object"
67541
+ },
67542
+ type: "array"
67543
+ },
67544
+ ok: { type: "boolean" }
67545
+ },
67546
+ required: ["external_sites", "ok"],
67547
+ type: "object"
67548
+ }
67549
+ }
67550
+ },
67551
+ description: "OK"
67552
+ },
67553
+ 400: { description: "Bad Request" },
67554
+ 401: { description: "Unauthorized" }
67555
+ },
67556
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
67557
+ summary: "/seam/customer/v1/connectors/external_sites/list",
67558
+ tags: [],
67559
+ "x-fern-sdk-group-name": [
67560
+ "seam",
67561
+ "customer",
67562
+ "v1",
67563
+ "connectors",
67564
+ "external_sites"
67565
+ ],
67566
+ "x-fern-sdk-method-name": "list",
67567
+ "x-fern-sdk-return-value": "external_sites",
67568
+ "x-response-key": "external_sites",
67569
+ "x-title": "List External Sites for a Connected Account",
67570
+ "x-undocumented": "Internal endpoint for Console."
67571
+ }
67572
+ },
67353
67573
  "/seam/customer/v1/connectors/ical/validate-config": {
67354
67574
  post: {
67355
67575
  description: "Fetches a sample iCal feed and validates the config against it,\nreturning the parsed reservations so the caller can verify\nextraction is correct.",