@seamapi/types 1.320.0 → 1.321.1
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 +140 -33
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +315 -188
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +105 -13
- package/lib/seam/connect/models/acs/acs-access-group.js +28 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +22 -22
- package/lib/seam/connect/models/acs/acs-credential.js +4 -4
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -10
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +0 -6
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +0 -2
- package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +32 -32
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +14 -14
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +75 -12
- package/lib/seam/connect/openapi.js +101 -12
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +138 -112
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +45 -0
- package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -4
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -2
- package/src/lib/seam/connect/openapi.ts +114 -12
- package/src/lib/seam/connect/route-types.ts +138 -104
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
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
1310
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
|
|
1293
1311
|
}).describe("Indicates that this credential is being deleted.");
|
|
1294
|
-
var
|
|
1295
|
-
warning_code: zod.z.literal("
|
|
1312
|
+
var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
|
|
1313
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_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
|
);
|
|
@@ -1301,14 +1319,14 @@ var acs_credential_warning = zod.z.union([
|
|
|
1301
1319
|
schedule_externally_modified,
|
|
1302
1320
|
schedule_modified,
|
|
1303
1321
|
being_deleted,
|
|
1304
|
-
|
|
1322
|
+
unknown_issue_with_acs_credential
|
|
1305
1323
|
]).describe("Warning associated with the `acs_credential`.");
|
|
1306
1324
|
zod.z.object({
|
|
1307
1325
|
waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
|
|
1308
1326
|
schedule_externally_modified: schedule_externally_modified.optional().nullable(),
|
|
1309
1327
|
schedule_modified: schedule_modified.optional().nullable(),
|
|
1310
1328
|
being_deleted: being_deleted.optional().nullable(),
|
|
1311
|
-
|
|
1329
|
+
unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable()
|
|
1312
1330
|
});
|
|
1313
1331
|
var common_acs_credential = zod.z.object({
|
|
1314
1332
|
acs_credential_id: zod.z.string().uuid().describe("ID of the credential."),
|
|
@@ -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"
|
|
@@ -3321,7 +3367,7 @@ var openapi_default = {
|
|
|
3321
3367
|
},
|
|
3322
3368
|
warning_code: {
|
|
3323
3369
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
3324
|
-
enum: ["
|
|
3370
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
3325
3371
|
type: "string"
|
|
3326
3372
|
}
|
|
3327
3373
|
},
|
|
@@ -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"
|
|
@@ -4679,7 +4720,9 @@ var openapi_default = {
|
|
|
4679
4720
|
},
|
|
4680
4721
|
warning_code: {
|
|
4681
4722
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
4682
|
-
enum: [
|
|
4723
|
+
enum: [
|
|
4724
|
+
"unknown_issue_with_acs_credential"
|
|
4725
|
+
],
|
|
4683
4726
|
type: "string"
|
|
4684
4727
|
}
|
|
4685
4728
|
},
|
|
@@ -4966,7 +5009,9 @@ var openapi_default = {
|
|
|
4966
5009
|
},
|
|
4967
5010
|
warning_code: {
|
|
4968
5011
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
4969
|
-
enum: [
|
|
5012
|
+
enum: [
|
|
5013
|
+
"unknown_issue_with_acs_credential"
|
|
5014
|
+
],
|
|
4970
5015
|
type: "string"
|
|
4971
5016
|
}
|
|
4972
5017
|
},
|
|
@@ -5384,7 +5429,7 @@ var openapi_default = {
|
|
|
5384
5429
|
},
|
|
5385
5430
|
warning_code: {
|
|
5386
5431
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5387
|
-
enum: ["
|
|
5432
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
5388
5433
|
type: "string"
|
|
5389
5434
|
}
|
|
5390
5435
|
},
|
|
@@ -5671,7 +5716,7 @@ var openapi_default = {
|
|
|
5671
5716
|
},
|
|
5672
5717
|
warning_code: {
|
|
5673
5718
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
5674
|
-
enum: ["
|
|
5719
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
5675
5720
|
type: "string"
|
|
5676
5721
|
}
|
|
5677
5722
|
},
|
|
@@ -14666,7 +14711,8 @@ var openapi_default = {
|
|
|
14666
14711
|
"pti_access_level",
|
|
14667
14712
|
"salto_ks_access_group",
|
|
14668
14713
|
"brivo_group",
|
|
14669
|
-
"salto_space_group"
|
|
14714
|
+
"salto_space_group",
|
|
14715
|
+
"dormakaba_community_access_group"
|
|
14670
14716
|
],
|
|
14671
14717
|
type: "string",
|
|
14672
14718
|
"x-deprecated": "Use `external_type`."
|
|
@@ -14699,7 +14745,8 @@ var openapi_default = {
|
|
|
14699
14745
|
"pti_access_level",
|
|
14700
14746
|
"salto_ks_access_group",
|
|
14701
14747
|
"brivo_group",
|
|
14702
|
-
"salto_space_group"
|
|
14748
|
+
"salto_space_group",
|
|
14749
|
+
"dormakaba_community_access_group"
|
|
14703
14750
|
],
|
|
14704
14751
|
type: "string"
|
|
14705
14752
|
},
|
|
@@ -14712,6 +14759,31 @@ var openapi_default = {
|
|
|
14712
14759
|
description: "Name of the access group.",
|
|
14713
14760
|
type: "string"
|
|
14714
14761
|
},
|
|
14762
|
+
warnings: {
|
|
14763
|
+
description: "Warnings associated with the `acs_access_group`.",
|
|
14764
|
+
items: {
|
|
14765
|
+
description: "Warning associated with the `acs_access_group`.",
|
|
14766
|
+
properties: {
|
|
14767
|
+
created_at: {
|
|
14768
|
+
description: "Date and time at which Seam created the warning.",
|
|
14769
|
+
format: "date-time",
|
|
14770
|
+
type: "string"
|
|
14771
|
+
},
|
|
14772
|
+
message: {
|
|
14773
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
14774
|
+
type: "string"
|
|
14775
|
+
},
|
|
14776
|
+
warning_code: {
|
|
14777
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14778
|
+
enum: ["unknown_issue_with_acs_access_group"],
|
|
14779
|
+
type: "string"
|
|
14780
|
+
}
|
|
14781
|
+
},
|
|
14782
|
+
required: ["created_at", "message", "warning_code"],
|
|
14783
|
+
type: "object"
|
|
14784
|
+
},
|
|
14785
|
+
type: "array"
|
|
14786
|
+
},
|
|
14715
14787
|
workspace_id: {
|
|
14716
14788
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
|
|
14717
14789
|
format: "uuid",
|
|
@@ -14729,6 +14801,7 @@ var openapi_default = {
|
|
|
14729
14801
|
"external_type",
|
|
14730
14802
|
"external_type_display_name",
|
|
14731
14803
|
"created_at",
|
|
14804
|
+
"warnings",
|
|
14732
14805
|
"is_managed"
|
|
14733
14806
|
],
|
|
14734
14807
|
type: "object"
|
|
@@ -14800,7 +14873,8 @@ var openapi_default = {
|
|
|
14800
14873
|
"pti_access_level",
|
|
14801
14874
|
"salto_ks_access_group",
|
|
14802
14875
|
"brivo_group",
|
|
14803
|
-
"salto_space_group"
|
|
14876
|
+
"salto_space_group",
|
|
14877
|
+
"dormakaba_community_access_group"
|
|
14804
14878
|
],
|
|
14805
14879
|
type: "string",
|
|
14806
14880
|
"x-deprecated": "Use `external_type`."
|
|
@@ -14833,7 +14907,8 @@ var openapi_default = {
|
|
|
14833
14907
|
"pti_access_level",
|
|
14834
14908
|
"salto_ks_access_group",
|
|
14835
14909
|
"brivo_group",
|
|
14836
|
-
"salto_space_group"
|
|
14910
|
+
"salto_space_group",
|
|
14911
|
+
"dormakaba_community_access_group"
|
|
14837
14912
|
],
|
|
14838
14913
|
type: "string"
|
|
14839
14914
|
},
|
|
@@ -14846,6 +14921,35 @@ var openapi_default = {
|
|
|
14846
14921
|
description: "Name of the access group.",
|
|
14847
14922
|
type: "string"
|
|
14848
14923
|
},
|
|
14924
|
+
warnings: {
|
|
14925
|
+
description: "Warnings associated with the `acs_access_group`.",
|
|
14926
|
+
items: {
|
|
14927
|
+
description: "Warning associated with the `acs_access_group`.",
|
|
14928
|
+
properties: {
|
|
14929
|
+
created_at: {
|
|
14930
|
+
description: "Date and time at which Seam created the warning.",
|
|
14931
|
+
format: "date-time",
|
|
14932
|
+
type: "string"
|
|
14933
|
+
},
|
|
14934
|
+
message: {
|
|
14935
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
14936
|
+
type: "string"
|
|
14937
|
+
},
|
|
14938
|
+
warning_code: {
|
|
14939
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14940
|
+
enum: ["unknown_issue_with_acs_access_group"],
|
|
14941
|
+
type: "string"
|
|
14942
|
+
}
|
|
14943
|
+
},
|
|
14944
|
+
required: [
|
|
14945
|
+
"created_at",
|
|
14946
|
+
"message",
|
|
14947
|
+
"warning_code"
|
|
14948
|
+
],
|
|
14949
|
+
type: "object"
|
|
14950
|
+
},
|
|
14951
|
+
type: "array"
|
|
14952
|
+
},
|
|
14849
14953
|
workspace_id: {
|
|
14850
14954
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
|
|
14851
14955
|
format: "uuid",
|
|
@@ -14863,6 +14967,7 @@ var openapi_default = {
|
|
|
14863
14967
|
"external_type",
|
|
14864
14968
|
"external_type_display_name",
|
|
14865
14969
|
"created_at",
|
|
14970
|
+
"warnings",
|
|
14866
14971
|
"is_managed"
|
|
14867
14972
|
],
|
|
14868
14973
|
type: "object"
|
|
@@ -16031,7 +16136,7 @@ var openapi_default = {
|
|
|
16031
16136
|
},
|
|
16032
16137
|
warning_code: {
|
|
16033
16138
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
16034
|
-
enum: ["
|
|
16139
|
+
enum: ["unknown_issue_with_acs_credential"],
|
|
16035
16140
|
type: "string"
|
|
16036
16141
|
}
|
|
16037
16142
|
},
|
|
@@ -16415,7 +16520,9 @@ var openapi_default = {
|
|
|
16415
16520
|
},
|
|
16416
16521
|
warning_code: {
|
|
16417
16522
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
16418
|
-
enum: [
|
|
16523
|
+
enum: [
|
|
16524
|
+
"unknown_issue_with_acs_credential"
|
|
16525
|
+
],
|
|
16419
16526
|
type: "string"
|
|
16420
16527
|
}
|
|
16421
16528
|
},
|