@seamapi/types 1.283.0 → 1.284.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 (31) hide show
  1. package/dist/connect.cjs +81 -13
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +335 -78
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
  5. package/lib/seam/connect/models/acs/acs-system.js +2 -0
  6. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +62 -2
  8. package/lib/seam/connect/models/action-attempts/common.d.ts +19 -0
  9. package/lib/seam/connect/models/action-attempts/common.js +10 -0
  10. package/lib/seam/connect/models/action-attempts/common.js.map +1 -1
  11. package/lib/seam/connect/models/action-attempts/encode-card.d.ts +30 -0
  12. package/lib/seam/connect/models/action-attempts/encode-card.js +2 -1
  13. package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/scan-card.d.ts +32 -2
  15. package/lib/seam/connect/models/action-attempts/scan-card.js +6 -2
  16. package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -1
  18. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  19. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  20. package/lib/seam/connect/openapi.d.ts +15 -60
  21. package/lib/seam/connect/openapi.js +56 -6
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +250 -10
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -0
  26. package/src/lib/seam/connect/models/action-attempts/common.ts +11 -0
  27. package/src/lib/seam/connect/models/action-attempts/encode-card.ts +2 -0
  28. package/src/lib/seam/connect/models/action-attempts/scan-card.ts +7 -1
  29. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
  30. package/src/lib/seam/connect/openapi.ts +56 -6
  31. package/src/lib/seam/connect/route-types.ts +440 -80
@@ -713,7 +713,9 @@ export default {
713
713
  'assa_abloy_credential_service',
714
714
  'latch_building',
715
715
  'dormakaba_community',
716
+ 'legic_connect',
716
717
  'assa_abloy_vostio',
718
+ 'vostio_credential_service',
717
719
  ],
718
720
  type: 'string',
719
721
  },
@@ -746,7 +748,9 @@ export default {
746
748
  'assa_abloy_credential_service',
747
749
  'latch_building',
748
750
  'dormakaba_community',
751
+ 'legic_connect',
749
752
  'assa_abloy_vostio',
753
+ 'vostio_credential_service',
750
754
  ],
751
755
  type: 'string',
752
756
  'x-deprecated': 'Use `external_type`.',
@@ -1713,12 +1717,35 @@ export default {
1713
1717
  },
1714
1718
  action_type: { enum: ['SCAN_CARD'], type: 'string' },
1715
1719
  error: {
1716
- properties: {
1717
- message: { type: 'string' },
1718
- type: { enum: ['no_card_on_encoder'], type: 'string' },
1719
- },
1720
- required: ['type', 'message'],
1721
- type: 'object',
1720
+ oneOf: [
1721
+ {
1722
+ properties: {
1723
+ message: { type: 'string' },
1724
+ type: { enum: ['uncategorized_error'], type: 'string' },
1725
+ },
1726
+ required: ['type', 'message'],
1727
+ type: 'object',
1728
+ },
1729
+ {
1730
+ properties: {
1731
+ message: { type: 'string' },
1732
+ type: {
1733
+ enum: ['action_attempt_expired'],
1734
+ type: 'string',
1735
+ },
1736
+ },
1737
+ required: ['type', 'message'],
1738
+ type: 'object',
1739
+ },
1740
+ {
1741
+ properties: {
1742
+ message: { type: 'string' },
1743
+ type: { enum: ['no_card_on_encoder'], type: 'string' },
1744
+ },
1745
+ required: ['type', 'message'],
1746
+ type: 'object',
1747
+ },
1748
+ ],
1722
1749
  },
1723
1750
  result: { nullable: true },
1724
1751
  status: { enum: ['error'], type: 'string' },
@@ -2112,6 +2139,25 @@ export default {
2112
2139
  action_type: { enum: ['ENCODE_CARD'], type: 'string' },
2113
2140
  error: {
2114
2141
  oneOf: [
2142
+ {
2143
+ properties: {
2144
+ message: { type: 'string' },
2145
+ type: { enum: ['uncategorized_error'], type: 'string' },
2146
+ },
2147
+ required: ['type', 'message'],
2148
+ type: 'object',
2149
+ },
2150
+ {
2151
+ properties: {
2152
+ message: { type: 'string' },
2153
+ type: {
2154
+ enum: ['action_attempt_expired'],
2155
+ type: 'string',
2156
+ },
2157
+ },
2158
+ required: ['type', 'message'],
2159
+ type: 'object',
2160
+ },
2115
2161
  {
2116
2162
  properties: {
2117
2163
  message: { type: 'string' },
@@ -4655,6 +4701,7 @@ export default {
4655
4701
  device_provider_name: {
4656
4702
  enum: [
4657
4703
  'dormakaba_community',
4704
+ 'legic_connect',
4658
4705
  'akuvox',
4659
4706
  'august',
4660
4707
  'avigilon_alta',
@@ -4694,6 +4741,7 @@ export default {
4694
4741
  'latch',
4695
4742
  'akiles',
4696
4743
  'assa_abloy_vostio',
4744
+ 'vostio_credential_service',
4697
4745
  ],
4698
4746
  type: 'string',
4699
4747
  },
@@ -11495,6 +11543,7 @@ export default {
11495
11543
  items: {
11496
11544
  enum: [
11497
11545
  'dormakaba_community',
11546
+ 'legic_connect',
11498
11547
  'akuvox',
11499
11548
  'august',
11500
11549
  'avigilon_alta',
@@ -11534,6 +11583,7 @@ export default {
11534
11583
  'latch',
11535
11584
  'akiles',
11536
11585
  'assa_abloy_vostio',
11586
+ 'vostio_credential_service',
11537
11587
  'yale_access',
11538
11588
  'hid_cm',
11539
11589
  'google_nest',