@seamapi/types 1.887.0 → 1.888.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.
package/dist/connect.cjs CHANGED
@@ -700,13 +700,19 @@ var provider_service_unavailable = common_connected_account_warning.extend({
700
700
  }).describe(
701
701
  "Indicates that the connected account's provider service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again."
702
702
  );
703
+ var setup_required = common_connected_account_warning.extend({
704
+ warning_code: zod.z.literal("setup_required").describe(warning_code_description)
705
+ }).describe(
706
+ "Indicates that the connected account requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup."
707
+ );
703
708
  var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
704
709
  scheduled_maintenance_window,
705
710
  unknown_issue_with_connected_account,
706
711
  salto_ks_subscription_limit_almost_reached,
707
712
  account_reauthorization_requested,
708
713
  being_deleted,
709
- provider_service_unavailable
714
+ provider_service_unavailable,
715
+ setup_required
710
716
  ]).describe("Warning associated with the connected account.");
711
717
  zod.z.object({
712
718
  scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
@@ -714,7 +720,8 @@ zod.z.object({
714
720
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional(),
715
721
  account_reauthorization_requested: account_reauthorization_requested.nullable().optional(),
716
722
  being_deleted: being_deleted.nullable().optional(),
717
- provider_service_unavailable: provider_service_unavailable.nullable().optional()
723
+ provider_service_unavailable: provider_service_unavailable.nullable().optional(),
724
+ setup_required: setup_required.nullable().optional()
718
725
  });
719
726
  var connected_account = zod.z.object({
720
727
  connected_account_id: zod.z.string().uuid().describe("ID of the connected account."),
@@ -4171,15 +4178,22 @@ var time_zone_does_not_match_location = common_acs_system_warning.extend({
4171
4178
  }).describe(
4172
4179
  "Indicates the [access control system](https://docs.seam.co/low-level-apis/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details)."
4173
4180
  );
4181
+ var setup_required2 = common_acs_system_warning.extend({
4182
+ warning_code: zod.z.literal("setup_required").describe(warning_code_description9)
4183
+ }).describe(
4184
+ "Indicates that the access control system requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup."
4185
+ );
4174
4186
  var acs_system_warning = zod.z.discriminatedUnion("warning_code", [
4175
4187
  salto_ks_subscription_limit_almost_reached3,
4176
- time_zone_does_not_match_location
4188
+ time_zone_does_not_match_location,
4189
+ setup_required2
4177
4190
  ]).describe(
4178
4191
  "Warning associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems)."
4179
4192
  );
4180
4193
  zod.z.object({
4181
4194
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached3.optional().nullable(),
4182
- time_zone_does_not_match_location: time_zone_does_not_match_location.optional().nullable()
4195
+ time_zone_does_not_match_location: time_zone_does_not_match_location.optional().nullable(),
4196
+ setup_required: setup_required2.optional().nullable()
4183
4197
  });
4184
4198
  var acs_system = zod.z.object({
4185
4199
  default_credential_manager_acs_system_id: zod.z.string().uuid().nullable().optional().describe(
@@ -12021,6 +12035,27 @@ var openapi = {
12021
12035
  },
12022
12036
  required: ["created_at", "message", "warning_code"],
12023
12037
  type: "object"
12038
+ },
12039
+ {
12040
+ description: "Indicates that the access control system requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.",
12041
+ properties: {
12042
+ created_at: {
12043
+ description: "Date and time at which Seam created the warning.",
12044
+ format: "date-time",
12045
+ type: "string"
12046
+ },
12047
+ message: {
12048
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
12049
+ type: "string"
12050
+ },
12051
+ warning_code: {
12052
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
12053
+ enum: ["setup_required"],
12054
+ type: "string"
12055
+ }
12056
+ },
12057
+ required: ["created_at", "message", "warning_code"],
12058
+ type: "object"
12024
12059
  }
12025
12060
  ]
12026
12061
  },
@@ -18739,6 +18774,27 @@ var openapi = {
18739
18774
  },
18740
18775
  required: ["created_at", "message", "warning_code"],
18741
18776
  type: "object"
18777
+ },
18778
+ {
18779
+ description: "Indicates that the connected account requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.",
18780
+ properties: {
18781
+ created_at: {
18782
+ description: "Date and time at which Seam created the warning.",
18783
+ format: "date-time",
18784
+ type: "string"
18785
+ },
18786
+ message: {
18787
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
18788
+ type: "string"
18789
+ },
18790
+ warning_code: {
18791
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
18792
+ enum: ["setup_required"],
18793
+ type: "string"
18794
+ }
18795
+ },
18796
+ required: ["created_at", "message", "warning_code"],
18797
+ type: "object"
18742
18798
  }
18743
18799
  ]
18744
18800
  },