@seamapi/types 1.320.0 → 1.321.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
@@ -1162,8 +1162,27 @@ var acs_access_group_external_type = zod.z.enum([
1162
1162
  "pti_access_level",
1163
1163
  "salto_ks_access_group",
1164
1164
  "brivo_group",
1165
- "salto_space_group"
1165
+ "salto_space_group",
1166
+ "dormakaba_community_access_group"
1166
1167
  ]);
1168
+ var common_acs_access_group_warning = zod.z.object({
1169
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
1170
+ message: zod.z.string().describe(
1171
+ "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
1172
+ )
1173
+ });
1174
+ var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1175
+ var unknown_issue_with_acs_access_group = common_acs_access_group_warning.extend({
1176
+ warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(warning_code_description2)
1177
+ }).describe(
1178
+ "An unknown issue occurred while syncing the state of this access group with the provider. This issue may affect the proper functioning of this access group."
1179
+ );
1180
+ var acs_access_group_warning = unknown_issue_with_acs_access_group.describe(
1181
+ "Warning associated with the `acs_access_group`."
1182
+ );
1183
+ zod.z.object({
1184
+ unknown_issue_with_acs_access_group: unknown_issue_with_acs_access_group.optional().nullable()
1185
+ });
1167
1186
  var common_acs_access_group = zod.z.object({
1168
1187
  acs_access_group_id: zod.z.string().uuid().describe("ID of the access group."),
1169
1188
  acs_system_id: zod.z.string().uuid().describe(
@@ -1190,7 +1209,8 @@ var common_acs_access_group = zod.z.object({
1190
1209
  external_type_display_name: zod.z.string().describe(
1191
1210
  "Display name that corresponds to the brand-specific terminology for the access group type."
1192
1211
  ),
1193
- created_at: zod.z.string().datetime().describe("Date and time at which the access group was created.")
1212
+ created_at: zod.z.string().datetime().describe("Date and time at which the access group was created."),
1213
+ warnings: zod.z.array(acs_access_group_warning).describe("Warnings associated with the `acs_access_group`.")
1194
1214
  });
1195
1215
  var acs_access_group = common_acs_access_group.extend({
1196
1216
  is_managed: zod.z.literal(true)
@@ -1208,9 +1228,7 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
1208
1228
  });
1209
1229
  var acs_entrance_dormakaba_community_metadata = zod.z.object({
1210
1230
  access_point_name: zod.z.string(),
1211
- common_area_number: zod.z.number().optional(),
1212
- inner_access_points_names: zod.z.array(zod.z.string()).optional(),
1213
- lease_ids: zod.z.array(zod.z.string()).optional()
1231
+ common_area_number: zod.z.number().optional()
1214
1232
  });
1215
1233
  var acs_entrance_latch_metadata = zod.z.object({
1216
1234
  accessibility_type: zod.z.string(),
@@ -1274,25 +1292,25 @@ var common_acs_credential_warning = zod.z.object({
1274
1292
  "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
1275
1293
  )
1276
1294
  });
1277
- var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1295
+ var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1278
1296
  var waiting_to_be_issued = common_acs_credential_warning.extend({
1279
- warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description2)
1297
+ warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description3)
1280
1298
  }).describe("Indicates that the credential is waiting to be issued.");
1281
1299
  var schedule_externally_modified = common_acs_credential_warning.extend({
1282
- warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description2)
1300
+ warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description3)
1283
1301
  }).describe(
1284
1302
  "Indicates that the schedule of one of the credential's children was modified externally."
1285
1303
  );
1286
1304
  var schedule_modified = common_acs_credential_warning.extend({
1287
- warning_code: zod.z.literal("schedule_modified").describe(warning_code_description2)
1305
+ warning_code: zod.z.literal("schedule_modified").describe(warning_code_description3)
1288
1306
  }).describe(
1289
1307
  "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
1290
1308
  );
1291
1309
  var being_deleted = common_acs_credential_warning.extend({
1292
- warning_code: zod.z.literal("being_deleted").describe(warning_code_description2)
1310
+ warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
1293
1311
  }).describe("Indicates that this credential is being deleted.");
1294
1312
  var unknown_issue_with_credential = common_acs_credential_warning.extend({
1295
- warning_code: zod.z.literal("unknown_issue_with_credential").describe(warning_code_description2)
1313
+ warning_code: zod.z.literal("unknown_issue_with_credential").describe(warning_code_description3)
1296
1314
  }).describe(
1297
1315
  "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
1298
1316
  );
@@ -3030,7 +3048,8 @@ var openapi_default = {
3030
3048
  "pti_access_level",
3031
3049
  "salto_ks_access_group",
3032
3050
  "brivo_group",
3033
- "salto_space_group"
3051
+ "salto_space_group",
3052
+ "dormakaba_community_access_group"
3034
3053
  ],
3035
3054
  type: "string",
3036
3055
  "x-deprecated": "Use `external_type`."
@@ -3063,7 +3082,8 @@ var openapi_default = {
3063
3082
  "pti_access_level",
3064
3083
  "salto_ks_access_group",
3065
3084
  "brivo_group",
3066
- "salto_space_group"
3085
+ "salto_space_group",
3086
+ "dormakaba_community_access_group"
3067
3087
  ],
3068
3088
  type: "string"
3069
3089
  },
@@ -3073,6 +3093,31 @@ var openapi_default = {
3073
3093
  },
3074
3094
  is_managed: { enum: [true], type: "boolean" },
3075
3095
  name: { description: "Name of the access group.", type: "string" },
3096
+ warnings: {
3097
+ description: "Warnings associated with the `acs_access_group`.",
3098
+ items: {
3099
+ description: "Warning associated with the `acs_access_group`.",
3100
+ properties: {
3101
+ created_at: {
3102
+ description: "Date and time at which Seam created the warning.",
3103
+ format: "date-time",
3104
+ type: "string"
3105
+ },
3106
+ message: {
3107
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3108
+ type: "string"
3109
+ },
3110
+ warning_code: {
3111
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
3112
+ enum: ["unknown_issue_with_acs_access_group"],
3113
+ type: "string"
3114
+ }
3115
+ },
3116
+ required: ["created_at", "message", "warning_code"],
3117
+ type: "object"
3118
+ },
3119
+ type: "array"
3120
+ },
3076
3121
  workspace_id: {
3077
3122
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
3078
3123
  format: "uuid",
@@ -3090,6 +3135,7 @@ var openapi_default = {
3090
3135
  "external_type",
3091
3136
  "external_type_display_name",
3092
3137
  "created_at",
3138
+ "warnings",
3093
3139
  "is_managed"
3094
3140
  ],
3095
3141
  type: "object"
@@ -3431,12 +3477,7 @@ var openapi_default = {
3431
3477
  dormakaba_community_metadata: {
3432
3478
  properties: {
3433
3479
  access_point_name: { type: "string" },
3434
- common_area_number: { format: "float", type: "number" },
3435
- inner_access_points_names: {
3436
- items: { type: "string" },
3437
- type: "array"
3438
- },
3439
- lease_ids: { items: { type: "string" }, type: "array" }
3480
+ common_area_number: { format: "float", type: "number" }
3440
3481
  },
3441
3482
  required: ["access_point_name"],
3442
3483
  type: "object"
@@ -14666,7 +14707,8 @@ var openapi_default = {
14666
14707
  "pti_access_level",
14667
14708
  "salto_ks_access_group",
14668
14709
  "brivo_group",
14669
- "salto_space_group"
14710
+ "salto_space_group",
14711
+ "dormakaba_community_access_group"
14670
14712
  ],
14671
14713
  type: "string",
14672
14714
  "x-deprecated": "Use `external_type`."
@@ -14699,7 +14741,8 @@ var openapi_default = {
14699
14741
  "pti_access_level",
14700
14742
  "salto_ks_access_group",
14701
14743
  "brivo_group",
14702
- "salto_space_group"
14744
+ "salto_space_group",
14745
+ "dormakaba_community_access_group"
14703
14746
  ],
14704
14747
  type: "string"
14705
14748
  },
@@ -14712,6 +14755,31 @@ var openapi_default = {
14712
14755
  description: "Name of the access group.",
14713
14756
  type: "string"
14714
14757
  },
14758
+ warnings: {
14759
+ description: "Warnings associated with the `acs_access_group`.",
14760
+ items: {
14761
+ description: "Warning associated with the `acs_access_group`.",
14762
+ properties: {
14763
+ created_at: {
14764
+ description: "Date and time at which Seam created the warning.",
14765
+ format: "date-time",
14766
+ type: "string"
14767
+ },
14768
+ message: {
14769
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
14770
+ type: "string"
14771
+ },
14772
+ warning_code: {
14773
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14774
+ enum: ["unknown_issue_with_acs_access_group"],
14775
+ type: "string"
14776
+ }
14777
+ },
14778
+ required: ["created_at", "message", "warning_code"],
14779
+ type: "object"
14780
+ },
14781
+ type: "array"
14782
+ },
14715
14783
  workspace_id: {
14716
14784
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
14717
14785
  format: "uuid",
@@ -14729,6 +14797,7 @@ var openapi_default = {
14729
14797
  "external_type",
14730
14798
  "external_type_display_name",
14731
14799
  "created_at",
14800
+ "warnings",
14732
14801
  "is_managed"
14733
14802
  ],
14734
14803
  type: "object"
@@ -14800,7 +14869,8 @@ var openapi_default = {
14800
14869
  "pti_access_level",
14801
14870
  "salto_ks_access_group",
14802
14871
  "brivo_group",
14803
- "salto_space_group"
14872
+ "salto_space_group",
14873
+ "dormakaba_community_access_group"
14804
14874
  ],
14805
14875
  type: "string",
14806
14876
  "x-deprecated": "Use `external_type`."
@@ -14833,7 +14903,8 @@ var openapi_default = {
14833
14903
  "pti_access_level",
14834
14904
  "salto_ks_access_group",
14835
14905
  "brivo_group",
14836
- "salto_space_group"
14906
+ "salto_space_group",
14907
+ "dormakaba_community_access_group"
14837
14908
  ],
14838
14909
  type: "string"
14839
14910
  },
@@ -14846,6 +14917,35 @@ var openapi_default = {
14846
14917
  description: "Name of the access group.",
14847
14918
  type: "string"
14848
14919
  },
14920
+ warnings: {
14921
+ description: "Warnings associated with the `acs_access_group`.",
14922
+ items: {
14923
+ description: "Warning associated with the `acs_access_group`.",
14924
+ properties: {
14925
+ created_at: {
14926
+ description: "Date and time at which Seam created the warning.",
14927
+ format: "date-time",
14928
+ type: "string"
14929
+ },
14930
+ message: {
14931
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
14932
+ type: "string"
14933
+ },
14934
+ warning_code: {
14935
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14936
+ enum: ["unknown_issue_with_acs_access_group"],
14937
+ type: "string"
14938
+ }
14939
+ },
14940
+ required: [
14941
+ "created_at",
14942
+ "message",
14943
+ "warning_code"
14944
+ ],
14945
+ type: "object"
14946
+ },
14947
+ type: "array"
14948
+ },
14849
14949
  workspace_id: {
14850
14950
  description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
14851
14951
  format: "uuid",
@@ -14863,6 +14963,7 @@ var openapi_default = {
14863
14963
  "external_type",
14864
14964
  "external_type_display_name",
14865
14965
  "created_at",
14966
+ "warnings",
14866
14967
  "is_managed"
14867
14968
  ],
14868
14969
  type: "object"