@seamapi/types 1.261.0 → 1.262.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 +18 -19
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +115 -73
- package/lib/seam/connect/models/acs/acs-credential.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-credential.js +2 -2
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/read-card.js +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +60 -18
- package/lib/seam/connect/openapi.js +15 -15
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +38 -38
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -2
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +15 -15
- package/src/lib/seam/connect/route-types.ts +38 -38
package/dist/connect.cjs
CHANGED
|
@@ -1178,8 +1178,8 @@ var common_acs_credential = zod.z.object({
|
|
|
1178
1178
|
display_name: zod.z.string().min(1),
|
|
1179
1179
|
code: zod.z.string().optional().nullable(),
|
|
1180
1180
|
card_number: zod.z.string().optional().nullable(),
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
is_issued: zod.z.boolean().optional(),
|
|
1182
|
+
issued_at: zod.z.string().datetime().optional().nullable(),
|
|
1183
1183
|
access_method: acs_credential_access_method_type,
|
|
1184
1184
|
external_type: acs_credential_external_type.optional(),
|
|
1185
1185
|
external_type_display_name: zod.z.string().optional(),
|
|
@@ -1700,8 +1700,7 @@ var lock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
1700
1700
|
]);
|
|
1701
1701
|
var action_type4 = zod.z.literal("READ_CARD");
|
|
1702
1702
|
var error5 = zod.z.object({
|
|
1703
|
-
type: zod.z.
|
|
1704
|
-
// TODO This should be typed properly with the possible errors
|
|
1703
|
+
type: zod.z.literal("no_card_on_encoder"),
|
|
1705
1704
|
message: zod.z.string()
|
|
1706
1705
|
});
|
|
1707
1706
|
var result5 = zod.z.object({
|
|
@@ -2731,7 +2730,6 @@ var openapi_default = {
|
|
|
2731
2730
|
code: { nullable: true, type: "string" },
|
|
2732
2731
|
created_at: { format: "date-time", type: "string" },
|
|
2733
2732
|
display_name: { minLength: 1, type: "string" },
|
|
2734
|
-
encoded_at: { format: "date-time", nullable: true, type: "string" },
|
|
2735
2733
|
ends_at: { type: "string" },
|
|
2736
2734
|
errors: {
|
|
2737
2735
|
items: {
|
|
@@ -2755,10 +2753,11 @@ var openapi_default = {
|
|
|
2755
2753
|
type: "string"
|
|
2756
2754
|
},
|
|
2757
2755
|
external_type_display_name: { type: "string" },
|
|
2758
|
-
|
|
2756
|
+
is_issued: { type: "boolean" },
|
|
2759
2757
|
is_latest_desired_state_synced_with_provider: { type: "boolean" },
|
|
2760
2758
|
is_managed: { enum: [true], type: "boolean" },
|
|
2761
2759
|
is_multi_phone_sync_credential: { type: "boolean" },
|
|
2760
|
+
issued_at: { format: "date-time", nullable: true, type: "string" },
|
|
2762
2761
|
latest_desired_state_synced_with_provider_at: {
|
|
2763
2762
|
format: "date-time",
|
|
2764
2763
|
type: "string"
|
|
@@ -3704,7 +3703,7 @@ var openapi_default = {
|
|
|
3704
3703
|
error: {
|
|
3705
3704
|
properties: {
|
|
3706
3705
|
message: { type: "string" },
|
|
3707
|
-
type: { type: "string" }
|
|
3706
|
+
type: { enum: ["no_card_on_encoder"], type: "string" }
|
|
3708
3707
|
},
|
|
3709
3708
|
required: ["type", "message"],
|
|
3710
3709
|
type: "object"
|
|
@@ -9423,11 +9422,6 @@ var openapi_default = {
|
|
|
9423
9422
|
code: { nullable: true, type: "string" },
|
|
9424
9423
|
created_at: { format: "date-time", type: "string" },
|
|
9425
9424
|
display_name: { minLength: 1, type: "string" },
|
|
9426
|
-
encoded_at: {
|
|
9427
|
-
format: "date-time",
|
|
9428
|
-
nullable: true,
|
|
9429
|
-
type: "string"
|
|
9430
|
-
},
|
|
9431
9425
|
ends_at: { type: "string" },
|
|
9432
9426
|
errors: {
|
|
9433
9427
|
items: {
|
|
@@ -9451,12 +9445,17 @@ var openapi_default = {
|
|
|
9451
9445
|
type: "string"
|
|
9452
9446
|
},
|
|
9453
9447
|
external_type_display_name: { type: "string" },
|
|
9454
|
-
|
|
9448
|
+
is_issued: { type: "boolean" },
|
|
9455
9449
|
is_latest_desired_state_synced_with_provider: {
|
|
9456
9450
|
type: "boolean"
|
|
9457
9451
|
},
|
|
9458
9452
|
is_managed: { enum: [false], type: "boolean" },
|
|
9459
9453
|
is_multi_phone_sync_credential: { type: "boolean" },
|
|
9454
|
+
issued_at: {
|
|
9455
|
+
format: "date-time",
|
|
9456
|
+
nullable: true,
|
|
9457
|
+
type: "string"
|
|
9458
|
+
},
|
|
9460
9459
|
latest_desired_state_synced_with_provider_at: {
|
|
9461
9460
|
format: "date-time",
|
|
9462
9461
|
type: "string"
|
|
@@ -9608,11 +9607,6 @@ var openapi_default = {
|
|
|
9608
9607
|
code: { nullable: true, type: "string" },
|
|
9609
9608
|
created_at: { format: "date-time", type: "string" },
|
|
9610
9609
|
display_name: { minLength: 1, type: "string" },
|
|
9611
|
-
encoded_at: {
|
|
9612
|
-
format: "date-time",
|
|
9613
|
-
nullable: true,
|
|
9614
|
-
type: "string"
|
|
9615
|
-
},
|
|
9616
9610
|
ends_at: { type: "string" },
|
|
9617
9611
|
errors: {
|
|
9618
9612
|
items: {
|
|
@@ -9636,12 +9630,17 @@ var openapi_default = {
|
|
|
9636
9630
|
type: "string"
|
|
9637
9631
|
},
|
|
9638
9632
|
external_type_display_name: { type: "string" },
|
|
9639
|
-
|
|
9633
|
+
is_issued: { type: "boolean" },
|
|
9640
9634
|
is_latest_desired_state_synced_with_provider: {
|
|
9641
9635
|
type: "boolean"
|
|
9642
9636
|
},
|
|
9643
9637
|
is_managed: { enum: [false], type: "boolean" },
|
|
9644
9638
|
is_multi_phone_sync_credential: { type: "boolean" },
|
|
9639
|
+
issued_at: {
|
|
9640
|
+
format: "date-time",
|
|
9641
|
+
nullable: true,
|
|
9642
|
+
type: "string"
|
|
9643
|
+
},
|
|
9645
9644
|
latest_desired_state_synced_with_provider_at: {
|
|
9646
9645
|
format: "date-time",
|
|
9647
9646
|
type: "string"
|