@seamapi/types 1.751.0 → 1.753.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 +76 -53
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +193 -149
- package/dist/index.cjs +76 -53
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -0
- package/lib/seam/connect/models/access-grants/access-method.js +4 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +42 -42
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +37 -37
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +9 -9
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +63 -58
- package/lib/seam/connect/openapi.d.ts +20 -0
- package/lib/seam/connect/openapi.js +62 -42
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +65 -49
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +14 -14
- package/src/lib/seam/connect/openapi.ts +73 -48
- package/src/lib/seam/connect/route-types.ts +72 -56
package/dist/index.cjs
CHANGED
|
@@ -2808,6 +2808,9 @@ var access_method = zod.z.object({
|
|
|
2808
2808
|
is_encoding_required: zod.z.boolean().optional().describe(
|
|
2809
2809
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2810
2810
|
),
|
|
2811
|
+
is_ready_for_encoding: zod.z.boolean().optional().describe(
|
|
2812
|
+
"Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued."
|
|
2813
|
+
),
|
|
2811
2814
|
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
2812
2815
|
warnings: zod.z.array(access_method_warning).describe(
|
|
2813
2816
|
"Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
@@ -2916,6 +2919,13 @@ var updating_entrance_membership = common_pending_mutation3.extend({
|
|
|
2916
2919
|
}).describe(
|
|
2917
2920
|
"Seam is in the process of pushing an entrance membership update to the integrated access system."
|
|
2918
2921
|
);
|
|
2922
|
+
var deferring_deletion = common_pending_mutation3.extend({
|
|
2923
|
+
mutation_code: zod.z.literal("deferring_deletion").describe(
|
|
2924
|
+
"Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires."
|
|
2925
|
+
)
|
|
2926
|
+
}).describe(
|
|
2927
|
+
"This access group is scheduled for automatic deletion when its access window expires."
|
|
2928
|
+
);
|
|
2919
2929
|
var deferring_user_membership_update = common_pending_mutation3.extend({
|
|
2920
2930
|
mutation_code: zod.z.literal("deferring_user_membership_update").describe(
|
|
2921
2931
|
"Mutation code to indicate that a scheduled user membership change is pending for this access group."
|
|
@@ -2927,35 +2937,28 @@ var deferring_user_membership_update = common_pending_mutation3.extend({
|
|
|
2927
2937
|
}).describe(
|
|
2928
2938
|
"A scheduled user membership change is pending for this access group."
|
|
2929
2939
|
);
|
|
2930
|
-
var deferring_deletion = common_pending_mutation3.extend({
|
|
2931
|
-
mutation_code: zod.z.literal("deferring_deletion").describe(
|
|
2932
|
-
"Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes."
|
|
2933
|
-
)
|
|
2934
|
-
}).describe(
|
|
2935
|
-
"This access group is scheduled for automatic deletion when its access window expires."
|
|
2936
|
-
);
|
|
2937
2940
|
var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
|
|
2938
2941
|
"mutation_code",
|
|
2939
2942
|
[
|
|
2940
2943
|
creating,
|
|
2941
2944
|
deleting,
|
|
2945
|
+
deferring_deletion,
|
|
2942
2946
|
updating_group_information,
|
|
2943
2947
|
updating_access_schedule,
|
|
2944
2948
|
updating_user_membership,
|
|
2945
2949
|
updating_entrance_membership,
|
|
2946
|
-
deferring_user_membership_update
|
|
2947
|
-
deferring_deletion
|
|
2950
|
+
deferring_user_membership_update
|
|
2948
2951
|
]
|
|
2949
2952
|
);
|
|
2950
2953
|
zod.z.object({
|
|
2951
2954
|
creating: creating.optional().nullable(),
|
|
2952
2955
|
deleting: deleting.optional().nullable(),
|
|
2956
|
+
deferring_deletion: deferring_deletion.optional().nullable(),
|
|
2953
2957
|
updating_name: updating_group_information.optional().nullable(),
|
|
2954
2958
|
updating_access_schedule: updating_access_schedule.optional().nullable(),
|
|
2955
2959
|
updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
|
|
2956
2960
|
updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable(),
|
|
2957
|
-
deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
|
|
2958
|
-
deferring_deletion: deferring_deletion.optional().nullable()
|
|
2961
|
+
deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
|
|
2959
2962
|
});
|
|
2960
2963
|
|
|
2961
2964
|
// src/lib/seam/connect/models/acs/acs-access-group.ts
|
|
@@ -8641,6 +8644,10 @@ var openapi_default = {
|
|
|
8641
8644
|
description: "Indicates whether the access method has been issued.",
|
|
8642
8645
|
type: "boolean"
|
|
8643
8646
|
},
|
|
8647
|
+
is_ready_for_encoding: {
|
|
8648
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
8649
|
+
type: "boolean"
|
|
8650
|
+
},
|
|
8644
8651
|
issued_at: {
|
|
8645
8652
|
description: "Date and time at which the access method was issued.",
|
|
8646
8653
|
format: "date-time",
|
|
@@ -9054,6 +9061,27 @@ var openapi_default = {
|
|
|
9054
9061
|
required: ["created_at", "message", "mutation_code"],
|
|
9055
9062
|
type: "object"
|
|
9056
9063
|
},
|
|
9064
|
+
{
|
|
9065
|
+
description: "This access group is scheduled for automatic deletion when its access window expires.",
|
|
9066
|
+
properties: {
|
|
9067
|
+
created_at: {
|
|
9068
|
+
description: "Date and time at which the mutation was created.",
|
|
9069
|
+
format: "date-time",
|
|
9070
|
+
type: "string"
|
|
9071
|
+
},
|
|
9072
|
+
message: {
|
|
9073
|
+
description: "Detailed description of the mutation.",
|
|
9074
|
+
type: "string"
|
|
9075
|
+
},
|
|
9076
|
+
mutation_code: {
|
|
9077
|
+
description: "Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires.",
|
|
9078
|
+
enum: ["deferring_deletion"],
|
|
9079
|
+
type: "string"
|
|
9080
|
+
}
|
|
9081
|
+
},
|
|
9082
|
+
required: ["created_at", "message", "mutation_code"],
|
|
9083
|
+
type: "object"
|
|
9084
|
+
},
|
|
9057
9085
|
{
|
|
9058
9086
|
description: "Seam is in the process of pushing an access group information update to the integrated access system.",
|
|
9059
9087
|
properties: {
|
|
@@ -9310,27 +9338,6 @@ var openapi_default = {
|
|
|
9310
9338
|
"variant"
|
|
9311
9339
|
],
|
|
9312
9340
|
type: "object"
|
|
9313
|
-
},
|
|
9314
|
-
{
|
|
9315
|
-
description: "This access group is scheduled for automatic deletion when its access window expires.",
|
|
9316
|
-
properties: {
|
|
9317
|
-
created_at: {
|
|
9318
|
-
description: "Date and time at which the mutation was created.",
|
|
9319
|
-
format: "date-time",
|
|
9320
|
-
type: "string"
|
|
9321
|
-
},
|
|
9322
|
-
message: {
|
|
9323
|
-
description: "Detailed description of the mutation.",
|
|
9324
|
-
type: "string"
|
|
9325
|
-
},
|
|
9326
|
-
mutation_code: {
|
|
9327
|
-
description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
|
|
9328
|
-
enum: ["deferring_deletion"],
|
|
9329
|
-
type: "string"
|
|
9330
|
-
}
|
|
9331
|
-
},
|
|
9332
|
-
required: ["created_at", "message", "mutation_code"],
|
|
9333
|
-
type: "object"
|
|
9334
9341
|
}
|
|
9335
9342
|
]
|
|
9336
9343
|
},
|
|
@@ -30989,6 +30996,27 @@ var openapi_default = {
|
|
|
30989
30996
|
required: ["created_at", "message", "mutation_code"],
|
|
30990
30997
|
type: "object"
|
|
30991
30998
|
},
|
|
30999
|
+
{
|
|
31000
|
+
description: "This access group is scheduled for automatic deletion when its access window expires.",
|
|
31001
|
+
properties: {
|
|
31002
|
+
created_at: {
|
|
31003
|
+
description: "Date and time at which the mutation was created.",
|
|
31004
|
+
format: "date-time",
|
|
31005
|
+
type: "string"
|
|
31006
|
+
},
|
|
31007
|
+
message: {
|
|
31008
|
+
description: "Detailed description of the mutation.",
|
|
31009
|
+
type: "string"
|
|
31010
|
+
},
|
|
31011
|
+
mutation_code: {
|
|
31012
|
+
description: "Mutation code to indicate that this access group is scheduled for automatic deletion when its access window expires.",
|
|
31013
|
+
enum: ["deferring_deletion"],
|
|
31014
|
+
type: "string"
|
|
31015
|
+
}
|
|
31016
|
+
},
|
|
31017
|
+
required: ["created_at", "message", "mutation_code"],
|
|
31018
|
+
type: "object"
|
|
31019
|
+
},
|
|
30992
31020
|
{
|
|
30993
31021
|
description: "Seam is in the process of pushing an access group information update to the integrated access system.",
|
|
30994
31022
|
properties: {
|
|
@@ -31245,27 +31273,6 @@ var openapi_default = {
|
|
|
31245
31273
|
"variant"
|
|
31246
31274
|
],
|
|
31247
31275
|
type: "object"
|
|
31248
|
-
},
|
|
31249
|
-
{
|
|
31250
|
-
description: "This access group is scheduled for automatic deletion when its access window expires.",
|
|
31251
|
-
properties: {
|
|
31252
|
-
created_at: {
|
|
31253
|
-
description: "Date and time at which the mutation was created.",
|
|
31254
|
-
format: "date-time",
|
|
31255
|
-
type: "string"
|
|
31256
|
-
},
|
|
31257
|
-
message: {
|
|
31258
|
-
description: "Detailed description of the mutation.",
|
|
31259
|
-
type: "string"
|
|
31260
|
-
},
|
|
31261
|
-
mutation_code: {
|
|
31262
|
-
description: "Mutation code to indicate that this access group is scheduled for deletion when its ends_at time passes.",
|
|
31263
|
-
enum: ["deferring_deletion"],
|
|
31264
|
-
type: "string"
|
|
31265
|
-
}
|
|
31266
|
-
},
|
|
31267
|
-
required: ["created_at", "message", "mutation_code"],
|
|
31268
|
-
type: "object"
|
|
31269
31276
|
}
|
|
31270
31277
|
]
|
|
31271
31278
|
},
|
|
@@ -41150,6 +41157,10 @@ var openapi_default = {
|
|
|
41150
41157
|
description: "Indicates whether the access method has been issued.",
|
|
41151
41158
|
type: "boolean"
|
|
41152
41159
|
},
|
|
41160
|
+
is_ready_for_encoding: {
|
|
41161
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
41162
|
+
type: "boolean"
|
|
41163
|
+
},
|
|
41153
41164
|
issued_at: {
|
|
41154
41165
|
description: "Date and time at which the access method was issued.",
|
|
41155
41166
|
format: "date-time",
|
|
@@ -41542,6 +41553,10 @@ var openapi_default = {
|
|
|
41542
41553
|
description: "Indicates whether the access method has been issued.",
|
|
41543
41554
|
type: "boolean"
|
|
41544
41555
|
},
|
|
41556
|
+
is_ready_for_encoding: {
|
|
41557
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
41558
|
+
type: "boolean"
|
|
41559
|
+
},
|
|
41545
41560
|
issued_at: {
|
|
41546
41561
|
description: "Date and time at which the access method was issued.",
|
|
41547
41562
|
format: "date-time",
|
|
@@ -41962,6 +41977,10 @@ var openapi_default = {
|
|
|
41962
41977
|
description: "Indicates whether the access method has been issued.",
|
|
41963
41978
|
type: "boolean"
|
|
41964
41979
|
},
|
|
41980
|
+
is_ready_for_encoding: {
|
|
41981
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
41982
|
+
type: "boolean"
|
|
41983
|
+
},
|
|
41965
41984
|
issued_at: {
|
|
41966
41985
|
description: "Date and time at which the access method was issued.",
|
|
41967
41986
|
format: "date-time",
|
|
@@ -42372,6 +42391,10 @@ var openapi_default = {
|
|
|
42372
42391
|
description: "Indicates whether the access method has been issued.",
|
|
42373
42392
|
type: "boolean"
|
|
42374
42393
|
},
|
|
42394
|
+
is_ready_for_encoding: {
|
|
42395
|
+
description: "Indicates whether the access method is ready to be encoded. This is true when the credential has been created and the card has not yet been issued.",
|
|
42396
|
+
type: "boolean"
|
|
42397
|
+
},
|
|
42375
42398
|
issued_at: {
|
|
42376
42399
|
description: "Date and time at which the access method was issued.",
|
|
42377
42400
|
format: "date-time",
|