@seamapi/types 1.848.0 → 1.850.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
@@ -2010,7 +2010,8 @@ var DEVICE_PROVIDERS = {
2010
2010
  RING: "ring",
2011
2011
  ICAL: "ical",
2012
2012
  LODGIFY: "lodgify",
2013
- HOSTAWAY: "hostaway"
2013
+ HOSTAWAY: "hostaway",
2014
+ ACUITY_SCHEDULING: "acuity_scheduling"
2014
2015
  };
2015
2016
  var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
2016
2017
  var PROVIDER_CATEGORY_MAP = {
@@ -2083,7 +2084,7 @@ var PROVIDER_CATEGORY_MAP = {
2083
2084
  "hotek"
2084
2085
  ],
2085
2086
  cameras: ["ring"],
2086
- connectors: ["ical", "lodgify", "hostaway"],
2087
+ connectors: ["ical", "lodgify", "hostaway", "acuity_scheduling"],
2087
2088
  internal_beta: ALL_DEVICE_PROVIDERS
2088
2089
  };
2089
2090
  var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
@@ -3899,6 +3900,11 @@ var salto_ks_certification_expired = common_acs_system_error.extend({
3899
3900
  }).describe(
3900
3901
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
3901
3902
  );
3903
+ var provider_service_unavailable2 = common_acs_system_error.extend({
3904
+ error_code: zod.z.literal("provider_service_unavailable").describe(error_code_description7)
3905
+ }).describe(
3906
+ "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again."
3907
+ );
3902
3908
  var acs_system_error = zod.z.discriminatedUnion("error_code", [
3903
3909
  seam_bridge_disconnected,
3904
3910
  bridge_disconnected2,
@@ -3906,7 +3912,8 @@ var acs_system_error = zod.z.discriminatedUnion("error_code", [
3906
3912
  salto_ks_subscription_limit_exceeded3,
3907
3913
  acs_system_disconnected,
3908
3914
  account_disconnected3,
3909
- salto_ks_certification_expired
3915
+ salto_ks_certification_expired,
3916
+ provider_service_unavailable2
3910
3917
  ]).describe(
3911
3918
  "Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
3912
3919
  );
@@ -3917,7 +3924,8 @@ zod.z.object({
3917
3924
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded3.optional().nullable(),
3918
3925
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
3919
3926
  account_disconnected: account_disconnected3.optional().nullable(),
3920
- salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
3927
+ salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable(),
3928
+ provider_service_unavailable: provider_service_unavailable2.optional().nullable()
3921
3929
  });
3922
3930
  var common_acs_system_warning = zod.z.object({
3923
3931
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
@@ -11352,6 +11360,27 @@ var openapi = {
11352
11360
  },
11353
11361
  required: ["created_at", "message", "error_code"],
11354
11362
  type: "object"
11363
+ },
11364
+ {
11365
+ description: "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
11366
+ properties: {
11367
+ created_at: {
11368
+ description: "Date and time at which Seam created the error.",
11369
+ format: "date-time",
11370
+ type: "string"
11371
+ },
11372
+ error_code: {
11373
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
11374
+ enum: ["provider_service_unavailable"],
11375
+ type: "string"
11376
+ },
11377
+ message: {
11378
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11379
+ type: "string"
11380
+ }
11381
+ },
11382
+ required: ["created_at", "message", "error_code"],
11383
+ type: "object"
11355
11384
  }
11356
11385
  ]
11357
11386
  },
@@ -21109,7 +21138,8 @@ var openapi = {
21109
21138
  "ring",
21110
21139
  "ical",
21111
21140
  "lodgify",
21112
- "hostaway"
21141
+ "hostaway",
21142
+ "acuity_scheduling"
21113
21143
  ],
21114
21144
  type: "string"
21115
21145
  },
@@ -52261,6 +52291,7 @@ var openapi = {
52261
52291
  "ical",
52262
52292
  "lodgify",
52263
52293
  "hostaway",
52294
+ "acuity_scheduling",
52264
52295
  "yale_access",
52265
52296
  "hid_cm",
52266
52297
  "google_nest"
@@ -56225,7 +56256,8 @@ var openapi = {
56225
56256
  "ring",
56226
56257
  "ical",
56227
56258
  "lodgify",
56228
- "hostaway"
56259
+ "hostaway",
56260
+ "acuity_scheduling"
56229
56261
  ],
56230
56262
  type: "string"
56231
56263
  }
@@ -56718,7 +56750,8 @@ var openapi = {
56718
56750
  "ring",
56719
56751
  "ical",
56720
56752
  "lodgify",
56721
- "hostaway"
56753
+ "hostaway",
56754
+ "acuity_scheduling"
56722
56755
  ],
56723
56756
  type: "string"
56724
56757
  },
@@ -58520,7 +58553,8 @@ var openapi = {
58520
58553
  "ring",
58521
58554
  "ical",
58522
58555
  "lodgify",
58523
- "hostaway"
58556
+ "hostaway",
58557
+ "acuity_scheduling"
58524
58558
  ],
58525
58559
  type: "string"
58526
58560
  }
@@ -59012,7 +59046,8 @@ var openapi = {
59012
59046
  "ring",
59013
59047
  "ical",
59014
59048
  "lodgify",
59015
- "hostaway"
59049
+ "hostaway",
59050
+ "acuity_scheduling"
59016
59051
  ],
59017
59052
  type: "string"
59018
59053
  },
@@ -67383,7 +67418,8 @@ var openapi = {
67383
67418
  "zonal",
67384
67419
  "ical",
67385
67420
  "lodgify",
67386
- "hostaway"
67421
+ "hostaway",
67422
+ "acuity_scheduling"
67387
67423
  ],
67388
67424
  type: "string"
67389
67425
  },