@seamapi/types 1.259.1 → 1.261.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 CHANGED
@@ -1215,10 +1215,10 @@ var unmanaged_acs_credential = common_acs_credential.merge(
1215
1215
  })
1216
1216
  );
1217
1217
  var acs_entrance = zod.z.object({
1218
- acs_system_id: zod.z.string().uuid(),
1219
- acs_entrance_id: zod.z.string().uuid(),
1220
- created_at: zod.z.string().datetime(),
1221
- display_name: zod.z.string(),
1218
+ acs_system_id: zod.z.string().uuid().describe("ID of the access control system that contains the entrance."),
1219
+ acs_entrance_id: zod.z.string().uuid().describe("ID of the entrance."),
1220
+ created_at: zod.z.string().datetime().describe("Date and time at which the entrance was created."),
1221
+ display_name: zod.z.string().describe("Display name for the entrance."),
1222
1222
  errors: zod.z.array(
1223
1223
  zod.z.object({
1224
1224
  error_code: zod.z.string(),
@@ -1669,7 +1669,7 @@ var error3 = zod.z.object({
1669
1669
  });
1670
1670
  var result3 = zod.z.object({
1671
1671
  acs_credential_id: zod.z.string().uuid().nullable().describe("Matching acs_credential currently encoded on this card."),
1672
- card_number: zod.z.string().nullable().describe("A number or sting that physically identifies this card.")
1672
+ card_number: zod.z.string().nullable().describe("A number or string that physically identifies this card.")
1673
1673
  // TODO visionline_metadata: visionline_credential_metadata,
1674
1674
  });
1675
1675
  var encode_card_action_attempt = zod.z.discriminatedUnion("status", [
@@ -1705,8 +1705,12 @@ var error5 = zod.z.object({
1705
1705
  message: zod.z.string()
1706
1706
  });
1707
1707
  var result5 = zod.z.object({
1708
- acs_credential_id: zod.z.string().uuid().nullable().describe("Matching acs_credential currently encoded on this card."),
1709
- card_number: zod.z.string().nullable().describe("A number or sting that physically identifies this card.")
1708
+ // TODO acs_credential_id: z
1709
+ // .string()
1710
+ // .uuid()
1711
+ // .nullable()
1712
+ // .describe("Matching acs_credential currently encoded on this card."),
1713
+ card_number: zod.z.string().nullable().describe("A number or string that physically identifies this card.")
1710
1714
  // TODO visionline_metadata: visionline_credential_metadata,
1711
1715
  });
1712
1716
  var read_card_action_attempt = zod.z.discriminatedUnion("status", [
@@ -2853,10 +2857,25 @@ var openapi_default = {
2853
2857
  },
2854
2858
  acs_entrance: {
2855
2859
  properties: {
2856
- acs_entrance_id: { format: "uuid", type: "string" },
2857
- acs_system_id: { format: "uuid", type: "string" },
2858
- created_at: { format: "date-time", type: "string" },
2859
- display_name: { type: "string" },
2860
+ acs_entrance_id: {
2861
+ description: "ID of the entrance.",
2862
+ format: "uuid",
2863
+ type: "string"
2864
+ },
2865
+ acs_system_id: {
2866
+ description: "ID of the access control system that contains the entrance.",
2867
+ format: "uuid",
2868
+ type: "string"
2869
+ },
2870
+ created_at: {
2871
+ description: "Date and time at which the entrance was created.",
2872
+ format: "date-time",
2873
+ type: "string"
2874
+ },
2875
+ display_name: {
2876
+ description: "Display name for the entrance.",
2877
+ type: "string"
2878
+ },
2860
2879
  errors: {
2861
2880
  items: {
2862
2881
  properties: {
@@ -3652,19 +3671,13 @@ var openapi_default = {
3652
3671
  error: { nullable: true },
3653
3672
  result: {
3654
3673
  properties: {
3655
- acs_credential_id: {
3656
- description: "Matching acs_credential currently encoded on this card.",
3657
- format: "uuid",
3658
- nullable: true,
3659
- type: "string"
3660
- },
3661
3674
  card_number: {
3662
- description: "A number or sting that physically identifies this card.",
3675
+ description: "A number or string that physically identifies this card.",
3663
3676
  nullable: true,
3664
3677
  type: "string"
3665
3678
  }
3666
3679
  },
3667
- required: ["acs_credential_id", "card_number"],
3680
+ required: ["card_number"],
3668
3681
  type: "object"
3669
3682
  },
3670
3683
  status: { enum: ["success"], type: "string" }
@@ -3751,7 +3764,7 @@ var openapi_default = {
3751
3764
  type: "string"
3752
3765
  },
3753
3766
  card_number: {
3754
- description: "A number or sting that physically identifies this card.",
3767
+ description: "A number or string that physically identifies this card.",
3755
3768
  nullable: true,
3756
3769
  type: "string"
3757
3770
  }
@@ -9978,9 +9991,10 @@ var openapi_default = {
9978
9991
  },
9979
9992
  {
9980
9993
  properties: {
9994
+ acs_system_id: { format: "uuid", type: "string" },
9981
9995
  device_id: { format: "uuid", type: "string" }
9982
9996
  },
9983
- required: ["device_id"],
9997
+ required: ["acs_system_id", "device_id"],
9984
9998
  type: "object"
9985
9999
  }
9986
10000
  ]