@seamapi/types 1.834.0 → 1.836.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
@@ -695,19 +695,26 @@ var being_deleted = common_connected_account_warning.extend({
695
695
  }).describe(
696
696
  "Indicates that the connected account is currently being deleted. All devices, access codes, and other resources associated with this account are in the process of being removed from Seam."
697
697
  );
698
+ var provider_service_unavailable = common_connected_account_warning.extend({
699
+ warning_code: zod.z.literal("provider_service_unavailable").describe(warning_code_description)
700
+ }).describe(
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
+ );
698
703
  var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
699
704
  scheduled_maintenance_window,
700
705
  unknown_issue_with_connected_account,
701
706
  salto_ks_subscription_limit_almost_reached,
702
707
  account_reauthorization_requested,
703
- being_deleted
708
+ being_deleted,
709
+ provider_service_unavailable
704
710
  ]).describe("Warning associated with the connected account.");
705
711
  zod.z.object({
706
712
  scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
707
713
  unknown_issue_with_connected_account: unknown_issue_with_connected_account.nullable().optional(),
708
714
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional(),
709
715
  account_reauthorization_requested: account_reauthorization_requested.nullable().optional(),
710
- being_deleted: being_deleted.nullable().optional()
716
+ being_deleted: being_deleted.nullable().optional(),
717
+ provider_service_unavailable: provider_service_unavailable.nullable().optional()
711
718
  });
712
719
  var connected_account = zod.z.object({
713
720
  connected_account_id: zod.z.string().uuid().describe("ID of the connected account."),
@@ -17017,6 +17024,27 @@ var openapi = {
17017
17024
  },
17018
17025
  required: ["created_at", "message", "warning_code"],
17019
17026
  type: "object"
17027
+ },
17028
+ {
17029
+ description: "Indicates that the connected account's provider service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
17030
+ properties: {
17031
+ created_at: {
17032
+ description: "Date and time at which Seam created the warning.",
17033
+ format: "date-time",
17034
+ type: "string"
17035
+ },
17036
+ message: {
17037
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
17038
+ type: "string"
17039
+ },
17040
+ warning_code: {
17041
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
17042
+ enum: ["provider_service_unavailable"],
17043
+ type: "string"
17044
+ }
17045
+ },
17046
+ required: ["created_at", "message", "warning_code"],
17047
+ type: "object"
17020
17048
  }
17021
17049
  ]
17022
17050
  },
@@ -74683,6 +74711,15 @@ var openapi = {
74683
74711
  in: "query",
74684
74712
  name: "collection_key",
74685
74713
  schema: { description: "Collection key.", type: "string" }
74714
+ },
74715
+ {
74716
+ in: "query",
74717
+ name: "connected_account_id",
74718
+ schema: {
74719
+ description: "Connected account to scope auto-mapping to. Filters partner resources by the matching connector and limits available devices/entrances to this account.",
74720
+ format: "uuid",
74721
+ type: "string"
74722
+ }
74686
74723
  }
74687
74724
  ],
74688
74725
  responses: {
@@ -74798,6 +74835,11 @@ var openapi = {
74798
74835
  description: "Collection key.",
74799
74836
  type: "string"
74800
74837
  },
74838
+ connected_account_id: {
74839
+ description: "Connected account to scope auto-mapping to. Filters partner resources by the matching connector and limits available devices/entrances to this account.",
74840
+ format: "uuid",
74841
+ type: "string"
74842
+ },
74801
74843
  customer_key: {
74802
74844
  description: "Customer key for which to auto-map spaces.",
74803
74845
  type: "string"