@seamapi/types 1.798.0 → 1.800.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/index.cjs CHANGED
@@ -1976,7 +1976,8 @@ var DEVICE_PROVIDERS = {
1976
1976
  KORELOCK: "korelock",
1977
1977
  DORMAKABA_AMBIANCE: "dormakaba_ambiance",
1978
1978
  ULTRALOQ: "ultraloq",
1979
- RING: "ring"
1979
+ RING: "ring",
1980
+ ICAL: "ical"
1980
1981
  };
1981
1982
  var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
1982
1983
  var PROVIDER_CATEGORY_MAP = {
@@ -2046,6 +2047,7 @@ var PROVIDER_CATEGORY_MAP = {
2046
2047
  "hotek"
2047
2048
  ],
2048
2049
  cameras: ["ring"],
2050
+ connectors: ["ical"],
2049
2051
  internal_beta: ALL_DEVICE_PROVIDERS
2050
2052
  };
2051
2053
  var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
@@ -2719,8 +2721,18 @@ var underprovisioned_access = common_access_grant_warning.extend({
2719
2721
  }).describe(
2720
2722
  "Indicates that the access grant should have access to more locations than it currently does. Access methods are being created for the missing locations."
2721
2723
  );
2724
+ var overprovisioned_failed_device = zod.z.object({
2725
+ device_id: zod.z.string().uuid().describe("Device whose access code could not be revoked."),
2726
+ error_code: zod.z.string().describe(
2727
+ "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`)."
2728
+ ),
2729
+ message: zod.z.string().describe("Human-readable description of why revocation failed.")
2730
+ });
2722
2731
  var overprovisioned_access = common_access_grant_warning.extend({
2723
- warning_code: zod.z.literal("overprovisioned_access").describe(warning_code_description4)
2732
+ warning_code: zod.z.literal("overprovisioned_access").describe(warning_code_description4),
2733
+ failed_devices: zod.z.array(overprovisioned_failed_device).optional().describe(
2734
+ "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget)."
2735
+ )
2724
2736
  }).describe(
2725
2737
  "Indicates that the access grant has access to locations it should not have. Access methods are being removed from the extra locations."
2726
2738
  );
@@ -8967,6 +8979,29 @@ var openapi_default = {
8967
8979
  format: "date-time",
8968
8980
  type: "string"
8969
8981
  },
8982
+ failed_devices: {
8983
+ description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
8984
+ items: {
8985
+ properties: {
8986
+ device_id: {
8987
+ description: "Device whose access code could not be revoked.",
8988
+ format: "uuid",
8989
+ type: "string"
8990
+ },
8991
+ error_code: {
8992
+ description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
8993
+ type: "string"
8994
+ },
8995
+ message: {
8996
+ description: "Human-readable description of why revocation failed.",
8997
+ type: "string"
8998
+ }
8999
+ },
9000
+ required: ["device_id", "error_code", "message"],
9001
+ type: "object"
9002
+ },
9003
+ type: "array"
9004
+ },
8970
9005
  message: {
8971
9006
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8972
9007
  type: "string"
@@ -20546,7 +20581,8 @@ var openapi_default = {
20546
20581
  "korelock",
20547
20582
  "dormakaba_ambiance",
20548
20583
  "ultraloq",
20549
- "ring"
20584
+ "ring",
20585
+ "ical"
20550
20586
  ],
20551
20587
  type: "string"
20552
20588
  },
@@ -20561,7 +20597,8 @@ var openapi_default = {
20561
20597
  "thermostats",
20562
20598
  "noise_sensors",
20563
20599
  "access_control_systems",
20564
- "cameras"
20600
+ "cameras",
20601
+ "connectors"
20565
20602
  ],
20566
20603
  type: "string"
20567
20604
  },
@@ -39197,6 +39234,33 @@ var openapi_default = {
39197
39234
  format: "date-time",
39198
39235
  type: "string"
39199
39236
  },
39237
+ failed_devices: {
39238
+ description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
39239
+ items: {
39240
+ properties: {
39241
+ device_id: {
39242
+ description: "Device whose access code could not be revoked.",
39243
+ format: "uuid",
39244
+ type: "string"
39245
+ },
39246
+ error_code: {
39247
+ description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
39248
+ type: "string"
39249
+ },
39250
+ message: {
39251
+ description: "Human-readable description of why revocation failed.",
39252
+ type: "string"
39253
+ }
39254
+ },
39255
+ required: [
39256
+ "device_id",
39257
+ "error_code",
39258
+ "message"
39259
+ ],
39260
+ type: "object"
39261
+ },
39262
+ type: "array"
39263
+ },
39200
39264
  message: {
39201
39265
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
39202
39266
  type: "string"
@@ -39752,6 +39816,33 @@ var openapi_default = {
39752
39816
  format: "date-time",
39753
39817
  type: "string"
39754
39818
  },
39819
+ failed_devices: {
39820
+ description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
39821
+ items: {
39822
+ properties: {
39823
+ device_id: {
39824
+ description: "Device whose access code could not be revoked.",
39825
+ format: "uuid",
39826
+ type: "string"
39827
+ },
39828
+ error_code: {
39829
+ description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
39830
+ type: "string"
39831
+ },
39832
+ message: {
39833
+ description: "Human-readable description of why revocation failed.",
39834
+ type: "string"
39835
+ }
39836
+ },
39837
+ required: [
39838
+ "device_id",
39839
+ "error_code",
39840
+ "message"
39841
+ ],
39842
+ type: "object"
39843
+ },
39844
+ type: "array"
39845
+ },
39755
39846
  message: {
39756
39847
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
39757
39848
  type: "string"
@@ -40349,6 +40440,33 @@ var openapi_default = {
40349
40440
  format: "date-time",
40350
40441
  type: "string"
40351
40442
  },
40443
+ failed_devices: {
40444
+ description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
40445
+ items: {
40446
+ properties: {
40447
+ device_id: {
40448
+ description: "Device whose access code could not be revoked.",
40449
+ format: "uuid",
40450
+ type: "string"
40451
+ },
40452
+ error_code: {
40453
+ description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
40454
+ type: "string"
40455
+ },
40456
+ message: {
40457
+ description: "Human-readable description of why revocation failed.",
40458
+ type: "string"
40459
+ }
40460
+ },
40461
+ required: [
40462
+ "device_id",
40463
+ "error_code",
40464
+ "message"
40465
+ ],
40466
+ type: "object"
40467
+ },
40468
+ type: "array"
40469
+ },
40352
40470
  message: {
40353
40471
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
40354
40472
  type: "string"
@@ -40932,6 +41050,33 @@ var openapi_default = {
40932
41050
  format: "date-time",
40933
41051
  type: "string"
40934
41052
  },
41053
+ failed_devices: {
41054
+ description: "Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget).",
41055
+ items: {
41056
+ properties: {
41057
+ device_id: {
41058
+ description: "Device whose access code could not be revoked.",
41059
+ format: "uuid",
41060
+ type: "string"
41061
+ },
41062
+ error_code: {
41063
+ description: "Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`).",
41064
+ type: "string"
41065
+ },
41066
+ message: {
41067
+ description: "Human-readable description of why revocation failed.",
41068
+ type: "string"
41069
+ }
41070
+ },
41071
+ required: [
41072
+ "device_id",
41073
+ "error_code",
41074
+ "message"
41075
+ ],
41076
+ type: "object"
41077
+ },
41078
+ type: "array"
41079
+ },
40935
41080
  message: {
40936
41081
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
40937
41082
  type: "string"
@@ -51150,6 +51295,7 @@ var openapi_default = {
51150
51295
  "dormakaba_ambiance",
51151
51296
  "ultraloq",
51152
51297
  "ring",
51298
+ "ical",
51153
51299
  "yale_access",
51154
51300
  "hid_cm",
51155
51301
  "google_nest"
@@ -51206,6 +51352,7 @@ var openapi_default = {
51206
51352
  "noise_sensors",
51207
51353
  "access_control_systems",
51208
51354
  "cameras",
51355
+ "connectors",
51209
51356
  "internal_beta"
51210
51357
  ],
51211
51358
  type: "string"
@@ -55093,7 +55240,8 @@ var openapi_default = {
55093
55240
  "smartthings",
55094
55241
  "tado",
55095
55242
  "ultraloq",
55096
- "ring"
55243
+ "ring",
55244
+ "ical"
55097
55245
  ],
55098
55246
  type: "string"
55099
55247
  }
@@ -55583,7 +55731,8 @@ var openapi_default = {
55583
55731
  "smartthings",
55584
55732
  "tado",
55585
55733
  "ultraloq",
55586
- "ring"
55734
+ "ring",
55735
+ "ical"
55587
55736
  ],
55588
55737
  type: "string"
55589
55738
  },
@@ -55675,7 +55824,8 @@ var openapi_default = {
55675
55824
  "thermostats",
55676
55825
  "noise_sensors",
55677
55826
  "access_control_systems",
55678
- "cameras"
55827
+ "cameras",
55828
+ "connectors"
55679
55829
  ],
55680
55830
  type: "string"
55681
55831
  }
@@ -55734,7 +55884,8 @@ var openapi_default = {
55734
55884
  "thermostats",
55735
55885
  "noise_sensors",
55736
55886
  "access_control_systems",
55737
- "cameras"
55887
+ "cameras",
55888
+ "connectors"
55738
55889
  ],
55739
55890
  type: "string"
55740
55891
  }
@@ -57380,7 +57531,8 @@ var openapi_default = {
57380
57531
  "smartthings",
57381
57532
  "tado",
57382
57533
  "ultraloq",
57383
- "ring"
57534
+ "ring",
57535
+ "ical"
57384
57536
  ],
57385
57537
  type: "string"
57386
57538
  }
@@ -57869,7 +58021,8 @@ var openapi_default = {
57869
58021
  "smartthings",
57870
58022
  "tado",
57871
58023
  "ultraloq",
57872
- "ring"
58024
+ "ring",
58025
+ "ical"
57873
58026
  ],
57874
58027
  type: "string"
57875
58028
  },