@seamapi/types 1.768.0 → 1.769.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 +106 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +744 -0
- package/dist/index.cjs +106 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +60 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +30 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js +22 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +30 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js +22 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +84 -0
- package/lib/seam/connect/openapi.js +64 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +600 -0
- package/package.json +3 -3
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +34 -0
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +34 -0
- package/src/lib/seam/connect/openapi.ts +76 -0
- package/src/lib/seam/connect/route-types.ts +720 -0
package/dist/connect.cjs
CHANGED
|
@@ -4355,12 +4355,32 @@ var encoder_not_online_error = zod.z.object({
|
|
|
4355
4355
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4356
4356
|
)
|
|
4357
4357
|
}).describe("Error to indicate that the encoder is not online.");
|
|
4358
|
+
var encoder_timeout_error = zod.z.object({
|
|
4359
|
+
type: zod.z.literal("encoder_timeout_error").describe(
|
|
4360
|
+
"Error type to indicate that communication with the encoder timed out."
|
|
4361
|
+
),
|
|
4362
|
+
message: zod.z.string().describe(
|
|
4363
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4364
|
+
)
|
|
4365
|
+
}).describe("Error to indicate that communication with the encoder timed out.");
|
|
4366
|
+
var bridge_disconnected_error = zod.z.object({
|
|
4367
|
+
type: zod.z.literal("bridge_disconnected").describe(
|
|
4368
|
+
"Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system."
|
|
4369
|
+
),
|
|
4370
|
+
message: zod.z.string().describe(
|
|
4371
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4372
|
+
)
|
|
4373
|
+
}).describe(
|
|
4374
|
+
"Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system."
|
|
4375
|
+
);
|
|
4358
4376
|
var error4 = zod.z.union([
|
|
4359
4377
|
...common_action_attempt_errors,
|
|
4360
4378
|
no_credential_on_encoder_error,
|
|
4361
4379
|
incompatible_card_format_error,
|
|
4362
4380
|
credential_cannot_be_reissued,
|
|
4363
|
-
encoder_not_online_error
|
|
4381
|
+
encoder_not_online_error,
|
|
4382
|
+
encoder_timeout_error,
|
|
4383
|
+
bridge_disconnected_error
|
|
4364
4384
|
]);
|
|
4365
4385
|
var result4 = acs_credential.or(unmanaged_acs_credential).describe(
|
|
4366
4386
|
"Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
|
|
@@ -4467,10 +4487,30 @@ var encoder_not_online_error2 = zod.z.object({
|
|
|
4467
4487
|
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4468
4488
|
)
|
|
4469
4489
|
}).describe("Error to indicate that the encoder is not online.");
|
|
4490
|
+
var encoder_timeout_error2 = zod.z.object({
|
|
4491
|
+
type: zod.z.literal("encoder_timeout_error").describe(
|
|
4492
|
+
"Error type to indicate that communication with the encoder timed out."
|
|
4493
|
+
),
|
|
4494
|
+
message: zod.z.string().describe(
|
|
4495
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4496
|
+
)
|
|
4497
|
+
}).describe("Error to indicate that communication with the encoder timed out.");
|
|
4498
|
+
var bridge_disconnected_error2 = zod.z.object({
|
|
4499
|
+
type: zod.z.literal("bridge_disconnected").describe(
|
|
4500
|
+
"Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system."
|
|
4501
|
+
),
|
|
4502
|
+
message: zod.z.string().describe(
|
|
4503
|
+
"Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
|
|
4504
|
+
)
|
|
4505
|
+
}).describe(
|
|
4506
|
+
"Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system."
|
|
4507
|
+
);
|
|
4470
4508
|
var error8 = zod.z.union([
|
|
4471
4509
|
...common_action_attempt_errors,
|
|
4472
4510
|
no_credential_on_encoder_error2,
|
|
4473
|
-
encoder_not_online_error2
|
|
4511
|
+
encoder_not_online_error2,
|
|
4512
|
+
encoder_timeout_error2,
|
|
4513
|
+
bridge_disconnected_error2
|
|
4474
4514
|
]);
|
|
4475
4515
|
var warning = zod.z.object({
|
|
4476
4516
|
warning_code: zod.z.union([
|
|
@@ -12665,6 +12705,38 @@ var openapi_default = {
|
|
|
12665
12705
|
},
|
|
12666
12706
|
required: ["type", "message"],
|
|
12667
12707
|
type: "object"
|
|
12708
|
+
},
|
|
12709
|
+
{
|
|
12710
|
+
description: "Error to indicate that communication with the encoder timed out.",
|
|
12711
|
+
properties: {
|
|
12712
|
+
message: {
|
|
12713
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
12714
|
+
type: "string"
|
|
12715
|
+
},
|
|
12716
|
+
type: {
|
|
12717
|
+
description: "Error type to indicate that communication with the encoder timed out.",
|
|
12718
|
+
enum: ["encoder_timeout_error"],
|
|
12719
|
+
type: "string"
|
|
12720
|
+
}
|
|
12721
|
+
},
|
|
12722
|
+
required: ["type", "message"],
|
|
12723
|
+
type: "object"
|
|
12724
|
+
},
|
|
12725
|
+
{
|
|
12726
|
+
description: "Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system.",
|
|
12727
|
+
properties: {
|
|
12728
|
+
message: {
|
|
12729
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
12730
|
+
type: "string"
|
|
12731
|
+
},
|
|
12732
|
+
type: {
|
|
12733
|
+
description: "Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.",
|
|
12734
|
+
enum: ["bridge_disconnected"],
|
|
12735
|
+
type: "string"
|
|
12736
|
+
}
|
|
12737
|
+
},
|
|
12738
|
+
required: ["type", "message"],
|
|
12739
|
+
type: "object"
|
|
12668
12740
|
}
|
|
12669
12741
|
]
|
|
12670
12742
|
},
|
|
@@ -13637,6 +13709,38 @@ var openapi_default = {
|
|
|
13637
13709
|
},
|
|
13638
13710
|
required: ["type", "message"],
|
|
13639
13711
|
type: "object"
|
|
13712
|
+
},
|
|
13713
|
+
{
|
|
13714
|
+
description: "Error to indicate that communication with the encoder timed out.",
|
|
13715
|
+
properties: {
|
|
13716
|
+
message: {
|
|
13717
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
13718
|
+
type: "string"
|
|
13719
|
+
},
|
|
13720
|
+
type: {
|
|
13721
|
+
description: "Error type to indicate that communication with the encoder timed out.",
|
|
13722
|
+
enum: ["encoder_timeout_error"],
|
|
13723
|
+
type: "string"
|
|
13724
|
+
}
|
|
13725
|
+
},
|
|
13726
|
+
required: ["type", "message"],
|
|
13727
|
+
type: "object"
|
|
13728
|
+
},
|
|
13729
|
+
{
|
|
13730
|
+
description: "Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system.",
|
|
13731
|
+
properties: {
|
|
13732
|
+
message: {
|
|
13733
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
13734
|
+
type: "string"
|
|
13735
|
+
},
|
|
13736
|
+
type: {
|
|
13737
|
+
description: "Error type to indicate that the Seam Bridge is disconnected or cannot reach the access control system.",
|
|
13738
|
+
enum: ["bridge_disconnected"],
|
|
13739
|
+
type: "string"
|
|
13740
|
+
}
|
|
13741
|
+
},
|
|
13742
|
+
required: ["type", "message"],
|
|
13743
|
+
type: "object"
|
|
13640
13744
|
}
|
|
13641
13745
|
]
|
|
13642
13746
|
},
|