@seamapi/types 1.600.0 → 1.602.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.
Files changed (32) hide show
  1. package/dist/connect.cjs +88 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +493 -77
  4. package/dist/index.cjs +88 -22
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +30 -0
  7. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +15 -0
  8. package/lib/seam/connect/models/action-attempts/encode-credential.js +11 -0
  9. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +15 -0
  11. package/lib/seam/connect/models/action-attempts/scan-credential.js +11 -0
  12. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
  13. package/lib/seam/connect/models/batch.d.ts +174 -35
  14. package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
  15. package/lib/seam/connect/models/devices/device-metadata.js +3 -2
  16. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  18. package/lib/seam/connect/models/devices/device-type.js +1 -0
  19. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device.d.ts +10 -3
  21. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +8 -3
  22. package/lib/seam/connect/openapi.d.ts +4 -0
  23. package/lib/seam/connect/openapi.js +53 -3
  24. package/lib/seam/connect/openapi.js.map +1 -1
  25. package/lib/seam/connect/route-types.d.ts +375 -61
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +14 -0
  28. package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +14 -0
  29. package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -2
  30. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  31. package/src/lib/seam/connect/openapi.ts +59 -3
  32. package/src/lib/seam/connect/route-types.ts +431 -34
package/dist/index.cjs CHANGED
@@ -1061,8 +1061,9 @@ var device_metadata = zod.z.object({
1061
1061
  has_photo: zod.z.boolean().describe(`Whether the KeyNest device has a photo.`)
1062
1062
  }).partial().describe(`Metadata for a KeyNest device.`),
1063
1063
  ultraloq_metadata: zod.z.object({
1064
- device_id: zod.z.string().describe(`Device ID for a Ultraloq device.`)
1065
- }).describe(`Metadata for a Ultraloq device.`)
1064
+ device_id: zod.z.string().describe(`Device ID for an Ultraloq device.`),
1065
+ device_name: zod.z.string().describe(`Device name for an Ultraloq device.`)
1066
+ }).describe(`Metadata for an Ultraloq device.`)
1066
1067
  }).partial().describe(`
1067
1068
  ---
1068
1069
  property_group_key: provider_metadata
@@ -1096,7 +1097,8 @@ var LOCK_DEVICE_TYPE = {
1096
1097
  FOUR_SUITES_DOOR: "four_suites_door",
1097
1098
  DORMAKABA_ORACODE_DOOR: "dormakaba_oracode_door",
1098
1099
  TEDEE_LOCK: "tedee_lock",
1099
- AKILES_LOCK: "akiles_lock"
1100
+ AKILES_LOCK: "akiles_lock",
1101
+ ULTRALOQ_LOCK: "ultraloq_lock"
1100
1102
  };
1101
1103
  var lock_device_type = zod.z.enum(
1102
1104
  Object.values(LOCK_DEVICE_TYPE)
@@ -3741,11 +3743,18 @@ var credential_cannot_be_reissued = zod.z.object({
3741
3743
  }).describe(
3742
3744
  "Error to indicate that the affected credential cannot be reissued."
3743
3745
  );
3746
+ var no_card_on_encoder_error = zod.z.object({
3747
+ type: zod.z.literal("no_card_on_encoder").describe("Error type to indicate that there is no card on the encoder."),
3748
+ message: zod.z.string().describe(
3749
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3750
+ )
3751
+ }).describe("Error to indicate that there is no card on the encoder.");
3744
3752
  var error3 = zod.z.union([
3745
3753
  ...common_action_attempt_errors,
3746
3754
  no_credential_on_encoder_error,
3747
3755
  incompatible_card_format_error,
3748
- credential_cannot_be_reissued
3756
+ credential_cannot_be_reissued,
3757
+ no_card_on_encoder_error
3749
3758
  ]);
3750
3759
  var result3 = acs_credential.or(unmanaged_acs_credential).describe(
3751
3760
  "Result of an encoding attempt. If the attempt was successful, includes the credential data that was encoded onto the card."
@@ -3842,9 +3851,16 @@ var no_credential_on_encoder_error2 = zod.z.object({
3842
3851
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3843
3852
  )
3844
3853
  }).describe("Error to indicate that there is no credential on the encoder.");
3854
+ var no_card_on_encoder_error2 = zod.z.object({
3855
+ type: zod.z.literal("no_card_on_encoder").describe("Error type to indicate that there is no card on the encoder."),
3856
+ message: zod.z.string().describe(
3857
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3858
+ )
3859
+ }).describe("Error to indicate that there is no card on the encoder.");
3845
3860
  var error7 = zod.z.union([
3846
3861
  ...common_action_attempt_errors,
3847
- no_credential_on_encoder_error2
3862
+ no_credential_on_encoder_error2,
3863
+ no_card_on_encoder_error2
3848
3864
  ]);
3849
3865
  var warning = zod.z.object({
3850
3866
  warning_code: zod.z.union([
@@ -10707,6 +10723,22 @@ var openapi_default = {
10707
10723
  },
10708
10724
  required: ["type", "message"],
10709
10725
  type: "object"
10726
+ },
10727
+ {
10728
+ description: "Error to indicate that there is no card on the encoder.",
10729
+ properties: {
10730
+ message: {
10731
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
10732
+ type: "string"
10733
+ },
10734
+ type: {
10735
+ description: "Error type to indicate that there is no card on the encoder.",
10736
+ enum: ["no_card_on_encoder"],
10737
+ type: "string"
10738
+ }
10739
+ },
10740
+ required: ["type", "message"],
10741
+ type: "object"
10710
10742
  }
10711
10743
  ]
10712
10744
  },
@@ -11661,6 +11693,22 @@ var openapi_default = {
11661
11693
  },
11662
11694
  required: ["type", "message"],
11663
11695
  type: "object"
11696
+ },
11697
+ {
11698
+ description: "Error to indicate that there is no card on the encoder.",
11699
+ properties: {
11700
+ message: {
11701
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11702
+ type: "string"
11703
+ },
11704
+ type: {
11705
+ description: "Error type to indicate that there is no card on the encoder.",
11706
+ enum: ["no_card_on_encoder"],
11707
+ type: "string"
11708
+ }
11709
+ },
11710
+ required: ["type", "message"],
11711
+ type: "object"
11664
11712
  }
11665
11713
  ]
11666
11714
  },
@@ -14071,7 +14119,8 @@ var openapi_default = {
14071
14119
  "four_suites_door",
14072
14120
  "dormakaba_oracode_door",
14073
14121
  "tedee_lock",
14074
- "akiles_lock"
14122
+ "akiles_lock",
14123
+ "ultraloq_lock"
14075
14124
  ],
14076
14125
  type: "string"
14077
14126
  },
@@ -15947,14 +15996,18 @@ var openapi_default = {
15947
15996
  type: "object"
15948
15997
  },
15949
15998
  ultraloq_metadata: {
15950
- description: "Metadata for a Ultraloq device.",
15999
+ description: "Metadata for an Ultraloq device.",
15951
16000
  properties: {
15952
16001
  device_id: {
15953
- description: "Device ID for a Ultraloq device.",
16002
+ description: "Device ID for an Ultraloq device.",
16003
+ type: "string"
16004
+ },
16005
+ device_name: {
16006
+ description: "Device name for an Ultraloq device.",
15954
16007
  type: "string"
15955
16008
  }
15956
16009
  },
15957
- required: ["device_id"],
16010
+ required: ["device_id", "device_name"],
15958
16011
  type: "object"
15959
16012
  },
15960
16013
  visionline_metadata: {
@@ -27324,7 +27377,8 @@ var openapi_default = {
27324
27377
  "four_suites_door",
27325
27378
  "dormakaba_oracode_door",
27326
27379
  "tedee_lock",
27327
- "akiles_lock"
27380
+ "akiles_lock",
27381
+ "ultraloq_lock"
27328
27382
  ],
27329
27383
  type: "string"
27330
27384
  },
@@ -44951,7 +45005,8 @@ var openapi_default = {
44951
45005
  "four_suites_door",
44952
45006
  "dormakaba_oracode_door",
44953
45007
  "tedee_lock",
44954
- "akiles_lock"
45008
+ "akiles_lock",
45009
+ "ultraloq_lock"
44955
45010
  ],
44956
45011
  type: "string"
44957
45012
  },
@@ -45021,7 +45076,8 @@ var openapi_default = {
45021
45076
  "four_suites_door",
45022
45077
  "dormakaba_oracode_door",
45023
45078
  "tedee_lock",
45024
- "akiles_lock"
45079
+ "akiles_lock",
45080
+ "ultraloq_lock"
45025
45081
  ],
45026
45082
  type: "string"
45027
45083
  },
@@ -45372,7 +45428,8 @@ var openapi_default = {
45372
45428
  "four_suites_door",
45373
45429
  "dormakaba_oracode_door",
45374
45430
  "tedee_lock",
45375
- "akiles_lock"
45431
+ "akiles_lock",
45432
+ "ultraloq_lock"
45376
45433
  ],
45377
45434
  type: "string"
45378
45435
  },
@@ -45438,7 +45495,8 @@ var openapi_default = {
45438
45495
  "four_suites_door",
45439
45496
  "dormakaba_oracode_door",
45440
45497
  "tedee_lock",
45441
- "akiles_lock"
45498
+ "akiles_lock",
45499
+ "ultraloq_lock"
45442
45500
  ],
45443
45501
  type: "string"
45444
45502
  },
@@ -46263,7 +46321,8 @@ var openapi_default = {
46263
46321
  "four_suites_door",
46264
46322
  "dormakaba_oracode_door",
46265
46323
  "tedee_lock",
46266
- "akiles_lock"
46324
+ "akiles_lock",
46325
+ "ultraloq_lock"
46267
46326
  ],
46268
46327
  type: "string"
46269
46328
  },
@@ -46333,7 +46392,8 @@ var openapi_default = {
46333
46392
  "four_suites_door",
46334
46393
  "dormakaba_oracode_door",
46335
46394
  "tedee_lock",
46336
- "akiles_lock"
46395
+ "akiles_lock",
46396
+ "ultraloq_lock"
46337
46397
  ],
46338
46398
  type: "string"
46339
46399
  },
@@ -46682,7 +46742,8 @@ var openapi_default = {
46682
46742
  "four_suites_door",
46683
46743
  "dormakaba_oracode_door",
46684
46744
  "tedee_lock",
46685
- "akiles_lock"
46745
+ "akiles_lock",
46746
+ "ultraloq_lock"
46686
46747
  ],
46687
46748
  type: "string"
46688
46749
  },
@@ -46748,7 +46809,8 @@ var openapi_default = {
46748
46809
  "four_suites_door",
46749
46810
  "dormakaba_oracode_door",
46750
46811
  "tedee_lock",
46751
- "akiles_lock"
46812
+ "akiles_lock",
46813
+ "ultraloq_lock"
46752
46814
  ],
46753
46815
  type: "string"
46754
46816
  },
@@ -48595,7 +48657,8 @@ var openapi_default = {
48595
48657
  "four_suites_door",
48596
48658
  "dormakaba_oracode_door",
48597
48659
  "tedee_lock",
48598
- "akiles_lock"
48660
+ "akiles_lock",
48661
+ "ultraloq_lock"
48599
48662
  ],
48600
48663
  type: "string"
48601
48664
  }
@@ -48634,7 +48697,8 @@ var openapi_default = {
48634
48697
  "four_suites_door",
48635
48698
  "dormakaba_oracode_door",
48636
48699
  "tedee_lock",
48637
- "akiles_lock"
48700
+ "akiles_lock",
48701
+ "ultraloq_lock"
48638
48702
  ],
48639
48703
  type: "string"
48640
48704
  },
@@ -48943,7 +49007,8 @@ var openapi_default = {
48943
49007
  "four_suites_door",
48944
49008
  "dormakaba_oracode_door",
48945
49009
  "tedee_lock",
48946
- "akiles_lock"
49010
+ "akiles_lock",
49011
+ "ultraloq_lock"
48947
49012
  ],
48948
49013
  type: "string"
48949
49014
  },
@@ -48978,7 +49043,8 @@ var openapi_default = {
48978
49043
  "four_suites_door",
48979
49044
  "dormakaba_oracode_door",
48980
49045
  "tedee_lock",
48981
- "akiles_lock"
49046
+ "akiles_lock",
49047
+ "ultraloq_lock"
48982
49048
  ],
48983
49049
  type: "string"
48984
49050
  },