@seamapi/types 1.319.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 +160 -32
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +253 -68
- 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 +14 -0
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- 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/connected-accounts/connected-account.d.ts +45 -8
- package/lib/seam/connect/models/connected-accounts/connected-account.js +17 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +103 -20
- package/lib/seam/connect/openapi.js +112 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +56 -18
- 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 +1 -1
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -3
- package/src/lib/seam/connect/openapi.ts +127 -11
- package/src/lib/seam/connect/route-types.ts +77 -22
package/dist/connect.cjs
CHANGED
|
@@ -56,15 +56,24 @@ var common_connected_account_error = zod.z.object({
|
|
|
56
56
|
message: zod.z.string(),
|
|
57
57
|
is_connected_account_error: zod.z.literal(true)
|
|
58
58
|
});
|
|
59
|
+
var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
59
60
|
var common_connected_account_warning = zod.z.object({
|
|
60
61
|
message: zod.z.string()
|
|
61
62
|
});
|
|
62
63
|
var connected_account_error = common_connected_account_error.extend({
|
|
63
64
|
error_code: zod.z.string()
|
|
64
65
|
});
|
|
65
|
-
var
|
|
66
|
-
warning_code: zod.z.
|
|
67
|
-
})
|
|
66
|
+
var unknown_issue_with_connected_account = common_connected_account_warning.extend({
|
|
67
|
+
warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
|
|
68
|
+
}).describe(
|
|
69
|
+
"An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account."
|
|
70
|
+
);
|
|
71
|
+
var connected_account_warning = zod.z.union([
|
|
72
|
+
common_connected_account_warning.extend({
|
|
73
|
+
warning_code: zod.z.string()
|
|
74
|
+
}),
|
|
75
|
+
unknown_issue_with_connected_account
|
|
76
|
+
]).describe("Warning associated with the `connected_account`.");
|
|
68
77
|
var connected_account = zod.z.object({
|
|
69
78
|
connected_account_id: zod.z.string().uuid().optional(),
|
|
70
79
|
created_at: zod.z.string().datetime().optional(),
|
|
@@ -1153,8 +1162,27 @@ var acs_access_group_external_type = zod.z.enum([
|
|
|
1153
1162
|
"pti_access_level",
|
|
1154
1163
|
"salto_ks_access_group",
|
|
1155
1164
|
"brivo_group",
|
|
1156
|
-
"salto_space_group"
|
|
1165
|
+
"salto_space_group",
|
|
1166
|
+
"dormakaba_community_access_group"
|
|
1157
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
|
+
});
|
|
1158
1186
|
var common_acs_access_group = zod.z.object({
|
|
1159
1187
|
acs_access_group_id: zod.z.string().uuid().describe("ID of the access group."),
|
|
1160
1188
|
acs_system_id: zod.z.string().uuid().describe(
|
|
@@ -1181,7 +1209,8 @@ var common_acs_access_group = zod.z.object({
|
|
|
1181
1209
|
external_type_display_name: zod.z.string().describe(
|
|
1182
1210
|
"Display name that corresponds to the brand-specific terminology for the access group type."
|
|
1183
1211
|
),
|
|
1184
|
-
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`.")
|
|
1185
1214
|
});
|
|
1186
1215
|
var acs_access_group = common_acs_access_group.extend({
|
|
1187
1216
|
is_managed: zod.z.literal(true)
|
|
@@ -1199,9 +1228,7 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
|
|
|
1199
1228
|
});
|
|
1200
1229
|
var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
1201
1230
|
access_point_name: zod.z.string(),
|
|
1202
|
-
common_area_number: zod.z.number().optional()
|
|
1203
|
-
inner_access_points_names: zod.z.array(zod.z.string()).optional(),
|
|
1204
|
-
lease_ids: zod.z.array(zod.z.string()).optional()
|
|
1231
|
+
common_area_number: zod.z.number().optional()
|
|
1205
1232
|
});
|
|
1206
1233
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
1207
1234
|
accessibility_type: zod.z.string(),
|
|
@@ -1265,25 +1292,25 @@ var common_acs_credential_warning = zod.z.object({
|
|
|
1265
1292
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
1266
1293
|
)
|
|
1267
1294
|
});
|
|
1268
|
-
var
|
|
1295
|
+
var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
1269
1296
|
var waiting_to_be_issued = common_acs_credential_warning.extend({
|
|
1270
|
-
warning_code: zod.z.literal("waiting_to_be_issued").describe(
|
|
1297
|
+
warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description3)
|
|
1271
1298
|
}).describe("Indicates that the credential is waiting to be issued.");
|
|
1272
1299
|
var schedule_externally_modified = common_acs_credential_warning.extend({
|
|
1273
|
-
warning_code: zod.z.literal("schedule_externally_modified").describe(
|
|
1300
|
+
warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description3)
|
|
1274
1301
|
}).describe(
|
|
1275
1302
|
"Indicates that the schedule of one of the credential's children was modified externally."
|
|
1276
1303
|
);
|
|
1277
1304
|
var schedule_modified = common_acs_credential_warning.extend({
|
|
1278
|
-
warning_code: zod.z.literal("schedule_modified").describe(
|
|
1305
|
+
warning_code: zod.z.literal("schedule_modified").describe(warning_code_description3)
|
|
1279
1306
|
}).describe(
|
|
1280
1307
|
"Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
|
|
1281
1308
|
);
|
|
1282
1309
|
var being_deleted = common_acs_credential_warning.extend({
|
|
1283
|
-
warning_code: zod.z.literal("being_deleted").describe(
|
|
1310
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description3)
|
|
1284
1311
|
}).describe("Indicates that this credential is being deleted.");
|
|
1285
1312
|
var unknown_issue_with_credential = common_acs_credential_warning.extend({
|
|
1286
|
-
warning_code: zod.z.literal("unknown_issue_with_credential").describe(
|
|
1313
|
+
warning_code: zod.z.literal("unknown_issue_with_credential").describe(warning_code_description3)
|
|
1287
1314
|
}).describe(
|
|
1288
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."
|
|
1289
1316
|
);
|
|
@@ -3021,7 +3048,8 @@ var openapi_default = {
|
|
|
3021
3048
|
"pti_access_level",
|
|
3022
3049
|
"salto_ks_access_group",
|
|
3023
3050
|
"brivo_group",
|
|
3024
|
-
"salto_space_group"
|
|
3051
|
+
"salto_space_group",
|
|
3052
|
+
"dormakaba_community_access_group"
|
|
3025
3053
|
],
|
|
3026
3054
|
type: "string",
|
|
3027
3055
|
"x-deprecated": "Use `external_type`."
|
|
@@ -3054,7 +3082,8 @@ var openapi_default = {
|
|
|
3054
3082
|
"pti_access_level",
|
|
3055
3083
|
"salto_ks_access_group",
|
|
3056
3084
|
"brivo_group",
|
|
3057
|
-
"salto_space_group"
|
|
3085
|
+
"salto_space_group",
|
|
3086
|
+
"dormakaba_community_access_group"
|
|
3058
3087
|
],
|
|
3059
3088
|
type: "string"
|
|
3060
3089
|
},
|
|
@@ -3064,6 +3093,31 @@ var openapi_default = {
|
|
|
3064
3093
|
},
|
|
3065
3094
|
is_managed: { enum: [true], type: "boolean" },
|
|
3066
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
|
+
},
|
|
3067
3121
|
workspace_id: {
|
|
3068
3122
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
|
|
3069
3123
|
format: "uuid",
|
|
@@ -3081,6 +3135,7 @@ var openapi_default = {
|
|
|
3081
3135
|
"external_type",
|
|
3082
3136
|
"external_type_display_name",
|
|
3083
3137
|
"created_at",
|
|
3138
|
+
"warnings",
|
|
3084
3139
|
"is_managed"
|
|
3085
3140
|
],
|
|
3086
3141
|
type: "object"
|
|
@@ -3422,12 +3477,7 @@ var openapi_default = {
|
|
|
3422
3477
|
dormakaba_community_metadata: {
|
|
3423
3478
|
properties: {
|
|
3424
3479
|
access_point_name: { type: "string" },
|
|
3425
|
-
common_area_number: { format: "float", type: "number" }
|
|
3426
|
-
inner_access_points_names: {
|
|
3427
|
-
items: { type: "string" },
|
|
3428
|
-
type: "array"
|
|
3429
|
-
},
|
|
3430
|
-
lease_ids: { items: { type: "string" }, type: "array" }
|
|
3480
|
+
common_area_number: { format: "float", type: "number" }
|
|
3431
3481
|
},
|
|
3432
3482
|
required: ["access_point_name"],
|
|
3433
3483
|
type: "object"
|
|
@@ -6762,12 +6812,30 @@ var openapi_default = {
|
|
|
6762
6812
|
},
|
|
6763
6813
|
warnings: {
|
|
6764
6814
|
items: {
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6815
|
+
description: "Warning associated with the `connected_account`.",
|
|
6816
|
+
oneOf: [
|
|
6817
|
+
{
|
|
6818
|
+
properties: {
|
|
6819
|
+
message: { type: "string" },
|
|
6820
|
+
warning_code: { type: "string" }
|
|
6821
|
+
},
|
|
6822
|
+
required: ["message", "warning_code"],
|
|
6823
|
+
type: "object"
|
|
6824
|
+
},
|
|
6825
|
+
{
|
|
6826
|
+
description: "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.",
|
|
6827
|
+
properties: {
|
|
6828
|
+
message: { type: "string" },
|
|
6829
|
+
warning_code: {
|
|
6830
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
6831
|
+
enum: ["unknown_issue_with_connected_account"],
|
|
6832
|
+
type: "string"
|
|
6833
|
+
}
|
|
6834
|
+
},
|
|
6835
|
+
required: ["message", "warning_code"],
|
|
6836
|
+
type: "object"
|
|
6837
|
+
}
|
|
6838
|
+
]
|
|
6771
6839
|
},
|
|
6772
6840
|
type: "array"
|
|
6773
6841
|
}
|
|
@@ -14639,7 +14707,8 @@ var openapi_default = {
|
|
|
14639
14707
|
"pti_access_level",
|
|
14640
14708
|
"salto_ks_access_group",
|
|
14641
14709
|
"brivo_group",
|
|
14642
|
-
"salto_space_group"
|
|
14710
|
+
"salto_space_group",
|
|
14711
|
+
"dormakaba_community_access_group"
|
|
14643
14712
|
],
|
|
14644
14713
|
type: "string",
|
|
14645
14714
|
"x-deprecated": "Use `external_type`."
|
|
@@ -14672,7 +14741,8 @@ var openapi_default = {
|
|
|
14672
14741
|
"pti_access_level",
|
|
14673
14742
|
"salto_ks_access_group",
|
|
14674
14743
|
"brivo_group",
|
|
14675
|
-
"salto_space_group"
|
|
14744
|
+
"salto_space_group",
|
|
14745
|
+
"dormakaba_community_access_group"
|
|
14676
14746
|
],
|
|
14677
14747
|
type: "string"
|
|
14678
14748
|
},
|
|
@@ -14685,6 +14755,31 @@ var openapi_default = {
|
|
|
14685
14755
|
description: "Name of the access group.",
|
|
14686
14756
|
type: "string"
|
|
14687
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
|
+
},
|
|
14688
14783
|
workspace_id: {
|
|
14689
14784
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
|
|
14690
14785
|
format: "uuid",
|
|
@@ -14702,6 +14797,7 @@ var openapi_default = {
|
|
|
14702
14797
|
"external_type",
|
|
14703
14798
|
"external_type_display_name",
|
|
14704
14799
|
"created_at",
|
|
14800
|
+
"warnings",
|
|
14705
14801
|
"is_managed"
|
|
14706
14802
|
],
|
|
14707
14803
|
type: "object"
|
|
@@ -14773,7 +14869,8 @@ var openapi_default = {
|
|
|
14773
14869
|
"pti_access_level",
|
|
14774
14870
|
"salto_ks_access_group",
|
|
14775
14871
|
"brivo_group",
|
|
14776
|
-
"salto_space_group"
|
|
14872
|
+
"salto_space_group",
|
|
14873
|
+
"dormakaba_community_access_group"
|
|
14777
14874
|
],
|
|
14778
14875
|
type: "string",
|
|
14779
14876
|
"x-deprecated": "Use `external_type`."
|
|
@@ -14806,7 +14903,8 @@ var openapi_default = {
|
|
|
14806
14903
|
"pti_access_level",
|
|
14807
14904
|
"salto_ks_access_group",
|
|
14808
14905
|
"brivo_group",
|
|
14809
|
-
"salto_space_group"
|
|
14906
|
+
"salto_space_group",
|
|
14907
|
+
"dormakaba_community_access_group"
|
|
14810
14908
|
],
|
|
14811
14909
|
type: "string"
|
|
14812
14910
|
},
|
|
@@ -14819,6 +14917,35 @@ var openapi_default = {
|
|
|
14819
14917
|
description: "Name of the access group.",
|
|
14820
14918
|
type: "string"
|
|
14821
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
|
+
},
|
|
14822
14949
|
workspace_id: {
|
|
14823
14950
|
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group.",
|
|
14824
14951
|
format: "uuid",
|
|
@@ -14836,6 +14963,7 @@ var openapi_default = {
|
|
|
14836
14963
|
"external_type",
|
|
14837
14964
|
"external_type_display_name",
|
|
14838
14965
|
"created_at",
|
|
14966
|
+
"warnings",
|
|
14839
14967
|
"is_managed"
|
|
14840
14968
|
],
|
|
14841
14969
|
type: "object"
|