@seamapi/types 1.260.0 → 1.261.1

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
@@ -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
- is_encoded: zod.z.boolean().optional(),
1182
- encoded_at: zod.z.string().datetime().optional().nullable(),
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(),
@@ -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", [
@@ -2727,7 +2731,6 @@ var openapi_default = {
2727
2731
  code: { nullable: true, type: "string" },
2728
2732
  created_at: { format: "date-time", type: "string" },
2729
2733
  display_name: { minLength: 1, type: "string" },
2730
- encoded_at: { format: "date-time", nullable: true, type: "string" },
2731
2734
  ends_at: { type: "string" },
2732
2735
  errors: {
2733
2736
  items: {
@@ -2751,10 +2754,11 @@ var openapi_default = {
2751
2754
  type: "string"
2752
2755
  },
2753
2756
  external_type_display_name: { type: "string" },
2754
- is_encoded: { type: "boolean" },
2757
+ is_issued: { type: "boolean" },
2755
2758
  is_latest_desired_state_synced_with_provider: { type: "boolean" },
2756
2759
  is_managed: { enum: [true], type: "boolean" },
2757
2760
  is_multi_phone_sync_credential: { type: "boolean" },
2761
+ issued_at: { format: "date-time", nullable: true, type: "string" },
2758
2762
  latest_desired_state_synced_with_provider_at: {
2759
2763
  format: "date-time",
2760
2764
  type: "string"
@@ -3667,19 +3671,13 @@ var openapi_default = {
3667
3671
  error: { nullable: true },
3668
3672
  result: {
3669
3673
  properties: {
3670
- acs_credential_id: {
3671
- description: "Matching acs_credential currently encoded on this card.",
3672
- format: "uuid",
3673
- nullable: true,
3674
- type: "string"
3675
- },
3676
3674
  card_number: {
3677
- description: "A number or sting that physically identifies this card.",
3675
+ description: "A number or string that physically identifies this card.",
3678
3676
  nullable: true,
3679
3677
  type: "string"
3680
3678
  }
3681
3679
  },
3682
- required: ["acs_credential_id", "card_number"],
3680
+ required: ["card_number"],
3683
3681
  type: "object"
3684
3682
  },
3685
3683
  status: { enum: ["success"], type: "string" }
@@ -3766,7 +3764,7 @@ var openapi_default = {
3766
3764
  type: "string"
3767
3765
  },
3768
3766
  card_number: {
3769
- description: "A number or sting that physically identifies this card.",
3767
+ description: "A number or string that physically identifies this card.",
3770
3768
  nullable: true,
3771
3769
  type: "string"
3772
3770
  }
@@ -9425,11 +9423,6 @@ var openapi_default = {
9425
9423
  code: { nullable: true, type: "string" },
9426
9424
  created_at: { format: "date-time", type: "string" },
9427
9425
  display_name: { minLength: 1, type: "string" },
9428
- encoded_at: {
9429
- format: "date-time",
9430
- nullable: true,
9431
- type: "string"
9432
- },
9433
9426
  ends_at: { type: "string" },
9434
9427
  errors: {
9435
9428
  items: {
@@ -9453,12 +9446,17 @@ var openapi_default = {
9453
9446
  type: "string"
9454
9447
  },
9455
9448
  external_type_display_name: { type: "string" },
9456
- is_encoded: { type: "boolean" },
9449
+ is_issued: { type: "boolean" },
9457
9450
  is_latest_desired_state_synced_with_provider: {
9458
9451
  type: "boolean"
9459
9452
  },
9460
9453
  is_managed: { enum: [false], type: "boolean" },
9461
9454
  is_multi_phone_sync_credential: { type: "boolean" },
9455
+ issued_at: {
9456
+ format: "date-time",
9457
+ nullable: true,
9458
+ type: "string"
9459
+ },
9462
9460
  latest_desired_state_synced_with_provider_at: {
9463
9461
  format: "date-time",
9464
9462
  type: "string"
@@ -9610,11 +9608,6 @@ var openapi_default = {
9610
9608
  code: { nullable: true, type: "string" },
9611
9609
  created_at: { format: "date-time", type: "string" },
9612
9610
  display_name: { minLength: 1, type: "string" },
9613
- encoded_at: {
9614
- format: "date-time",
9615
- nullable: true,
9616
- type: "string"
9617
- },
9618
9611
  ends_at: { type: "string" },
9619
9612
  errors: {
9620
9613
  items: {
@@ -9638,12 +9631,17 @@ var openapi_default = {
9638
9631
  type: "string"
9639
9632
  },
9640
9633
  external_type_display_name: { type: "string" },
9641
- is_encoded: { type: "boolean" },
9634
+ is_issued: { type: "boolean" },
9642
9635
  is_latest_desired_state_synced_with_provider: {
9643
9636
  type: "boolean"
9644
9637
  },
9645
9638
  is_managed: { enum: [false], type: "boolean" },
9646
9639
  is_multi_phone_sync_credential: { type: "boolean" },
9640
+ issued_at: {
9641
+ format: "date-time",
9642
+ nullable: true,
9643
+ type: "string"
9644
+ },
9647
9645
  latest_desired_state_synced_with_provider_at: {
9648
9646
  format: "date-time",
9649
9647
  type: "string"
@@ -9993,9 +9991,10 @@ var openapi_default = {
9993
9991
  },
9994
9992
  {
9995
9993
  properties: {
9994
+ acs_system_id: { format: "uuid", type: "string" },
9996
9995
  device_id: { format: "uuid", type: "string" }
9997
9996
  },
9998
- required: ["device_id"],
9997
+ required: ["acs_system_id", "device_id"],
9999
9998
  type: "object"
10000
9999
  }
10001
10000
  ]