@seamapi/types 1.287.3 → 1.288.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 +56 -60
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +206 -189
- package/lib/seam/connect/models/acs/acs-system.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-system.js +1 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/{encode-credential.d.ts → encode-card.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{encode-credential.js → encode-card.js} +6 -6
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/{scan-credential.d.ts → scan-card.d.ts} +11 -11
- package/lib/seam/connect/models/action-attempts/{scan-credential.js → scan-card.js} +7 -7
- package/lib/seam/connect/models/action-attempts/scan-card.js.map +1 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +21 -6
- package/lib/seam/connect/openapi.js +41 -45
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +160 -158
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
- package/src/lib/seam/connect/models/action-attempts/{encode-credential.ts → encode-card.ts} +6 -8
- package/src/lib/seam/connect/models/action-attempts/{scan-credential.ts → scan-card.ts} +7 -9
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +42 -50
- package/src/lib/seam/connect/route-types.ts +162 -158
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +0 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +0 -1
|
@@ -7735,6 +7735,25 @@ declare const _default: {
|
|
|
7735
7735
|
};
|
|
7736
7736
|
type: string;
|
|
7737
7737
|
};
|
|
7738
|
+
assa_abloy_vostio_metadata: {
|
|
7739
|
+
description: string;
|
|
7740
|
+
properties: {
|
|
7741
|
+
join_all_guest_acs_entrances: {
|
|
7742
|
+
type: string;
|
|
7743
|
+
};
|
|
7744
|
+
override_all_guest_acs_entrances: {
|
|
7745
|
+
type: string;
|
|
7746
|
+
};
|
|
7747
|
+
override_guest_acs_entrance_ids: {
|
|
7748
|
+
items: {
|
|
7749
|
+
format: string;
|
|
7750
|
+
type: string;
|
|
7751
|
+
};
|
|
7752
|
+
type: string;
|
|
7753
|
+
};
|
|
7754
|
+
};
|
|
7755
|
+
type: string;
|
|
7756
|
+
};
|
|
7738
7757
|
code: {
|
|
7739
7758
|
description: string;
|
|
7740
7759
|
pattern: string;
|
|
@@ -9045,7 +9064,7 @@ declare const _default: {
|
|
|
9045
9064
|
'x-title': string;
|
|
9046
9065
|
};
|
|
9047
9066
|
};
|
|
9048
|
-
'/acs/encoders/
|
|
9067
|
+
'/acs/encoders/encode_card': {
|
|
9049
9068
|
post: {
|
|
9050
9069
|
operationId: string;
|
|
9051
9070
|
requestBody: {
|
|
@@ -9054,12 +9073,10 @@ declare const _default: {
|
|
|
9054
9073
|
schema: {
|
|
9055
9074
|
properties: {
|
|
9056
9075
|
acs_credential_id: {
|
|
9057
|
-
description: string;
|
|
9058
9076
|
format: string;
|
|
9059
9077
|
type: string;
|
|
9060
9078
|
};
|
|
9061
9079
|
device_id: {
|
|
9062
|
-
description: string;
|
|
9063
9080
|
format: string;
|
|
9064
9081
|
type: string;
|
|
9065
9082
|
};
|
|
@@ -9243,7 +9260,7 @@ declare const _default: {
|
|
|
9243
9260
|
'x-undocumented': string;
|
|
9244
9261
|
};
|
|
9245
9262
|
};
|
|
9246
|
-
'/acs/encoders/
|
|
9263
|
+
'/acs/encoders/scan_card': {
|
|
9247
9264
|
post: {
|
|
9248
9265
|
operationId: string;
|
|
9249
9266
|
requestBody: {
|
|
@@ -9252,12 +9269,10 @@ declare const _default: {
|
|
|
9252
9269
|
schema: {
|
|
9253
9270
|
properties: {
|
|
9254
9271
|
acs_system_id: {
|
|
9255
|
-
description: string;
|
|
9256
9272
|
format: string;
|
|
9257
9273
|
type: string;
|
|
9258
9274
|
};
|
|
9259
9275
|
device_id: {
|
|
9260
|
-
description: string;
|
|
9261
9276
|
format: string;
|
|
9262
9277
|
type: string;
|
|
9263
9278
|
};
|
|
@@ -730,7 +730,7 @@ export default {
|
|
|
730
730
|
'dormakaba_community',
|
|
731
731
|
'legic_connect',
|
|
732
732
|
'assa_abloy_vostio',
|
|
733
|
-
'
|
|
733
|
+
'assa_abloy_vostio_credential_service',
|
|
734
734
|
],
|
|
735
735
|
type: 'string',
|
|
736
736
|
},
|
|
@@ -765,7 +765,7 @@ export default {
|
|
|
765
765
|
'dormakaba_community',
|
|
766
766
|
'legic_connect',
|
|
767
767
|
'assa_abloy_vostio',
|
|
768
|
-
'
|
|
768
|
+
'assa_abloy_vostio_credential_service',
|
|
769
769
|
],
|
|
770
770
|
type: 'string',
|
|
771
771
|
'x-deprecated': 'Use `external_type`.',
|
|
@@ -1260,7 +1260,7 @@ export default {
|
|
|
1260
1260
|
type: 'object',
|
|
1261
1261
|
},
|
|
1262
1262
|
{
|
|
1263
|
-
description: 'Reading
|
|
1263
|
+
description: 'Reading card data from physical encoder.',
|
|
1264
1264
|
properties: {
|
|
1265
1265
|
action_attempt_id: {
|
|
1266
1266
|
description: 'The ID of the action attempt.',
|
|
@@ -1268,7 +1268,7 @@ export default {
|
|
|
1268
1268
|
type: 'string',
|
|
1269
1269
|
'x-title': 'Action Attempt ID',
|
|
1270
1270
|
},
|
|
1271
|
-
action_type: { enum: ['
|
|
1271
|
+
action_type: { enum: ['SCAN_CARD'], type: 'string' },
|
|
1272
1272
|
error: { nullable: true },
|
|
1273
1273
|
result: { nullable: true },
|
|
1274
1274
|
status: { enum: ['pending'], type: 'string' },
|
|
@@ -1283,7 +1283,7 @@ export default {
|
|
|
1283
1283
|
type: 'object',
|
|
1284
1284
|
},
|
|
1285
1285
|
{
|
|
1286
|
-
description: 'Reading
|
|
1286
|
+
description: 'Reading card data from physical encoder succeeded.',
|
|
1287
1287
|
properties: {
|
|
1288
1288
|
action_attempt_id: {
|
|
1289
1289
|
description: 'The ID of the action attempt.',
|
|
@@ -1291,12 +1291,12 @@ export default {
|
|
|
1291
1291
|
type: 'string',
|
|
1292
1292
|
'x-title': 'Action Attempt ID',
|
|
1293
1293
|
},
|
|
1294
|
-
action_type: { enum: ['
|
|
1294
|
+
action_type: { enum: ['SCAN_CARD'], type: 'string' },
|
|
1295
1295
|
error: { nullable: true },
|
|
1296
1296
|
result: {
|
|
1297
1297
|
properties: {
|
|
1298
1298
|
acs_credential_on_encoder: {
|
|
1299
|
-
description: 'Snapshot of
|
|
1299
|
+
description: 'Snapshot of the card data read from the physical encoder.',
|
|
1300
1300
|
properties: {
|
|
1301
1301
|
card_number: {
|
|
1302
1302
|
description: 'A number or string that physically identifies this card.',
|
|
@@ -1730,7 +1730,7 @@ export default {
|
|
|
1730
1730
|
type: 'object',
|
|
1731
1731
|
},
|
|
1732
1732
|
{
|
|
1733
|
-
description: 'Reading
|
|
1733
|
+
description: 'Reading card data from physical encoder failed.',
|
|
1734
1734
|
properties: {
|
|
1735
1735
|
action_attempt_id: {
|
|
1736
1736
|
description: 'The ID of the action attempt.',
|
|
@@ -1738,7 +1738,7 @@ export default {
|
|
|
1738
1738
|
type: 'string',
|
|
1739
1739
|
'x-title': 'Action Attempt ID',
|
|
1740
1740
|
},
|
|
1741
|
-
action_type: { enum: ['
|
|
1741
|
+
action_type: { enum: ['SCAN_CARD'], type: 'string' },
|
|
1742
1742
|
error: {
|
|
1743
1743
|
oneOf: [
|
|
1744
1744
|
{
|
|
@@ -1783,7 +1783,7 @@ export default {
|
|
|
1783
1783
|
type: 'object',
|
|
1784
1784
|
},
|
|
1785
1785
|
{
|
|
1786
|
-
description: 'Encoding
|
|
1786
|
+
description: 'Encoding card data from physical encoder.',
|
|
1787
1787
|
properties: {
|
|
1788
1788
|
action_attempt_id: {
|
|
1789
1789
|
description: 'The ID of the action attempt.',
|
|
@@ -1791,7 +1791,7 @@ export default {
|
|
|
1791
1791
|
type: 'string',
|
|
1792
1792
|
'x-title': 'Action Attempt ID',
|
|
1793
1793
|
},
|
|
1794
|
-
action_type: { enum: ['
|
|
1794
|
+
action_type: { enum: ['ENCODE_CARD'], type: 'string' },
|
|
1795
1795
|
error: { nullable: true },
|
|
1796
1796
|
result: { nullable: true },
|
|
1797
1797
|
status: { enum: ['pending'], type: 'string' },
|
|
@@ -1806,7 +1806,7 @@ export default {
|
|
|
1806
1806
|
type: 'object',
|
|
1807
1807
|
},
|
|
1808
1808
|
{
|
|
1809
|
-
description: 'Encoding
|
|
1809
|
+
description: 'Encoding card data from physical encoder succeeded.',
|
|
1810
1810
|
properties: {
|
|
1811
1811
|
action_attempt_id: {
|
|
1812
1812
|
description: 'The ID of the action attempt.',
|
|
@@ -1814,7 +1814,7 @@ export default {
|
|
|
1814
1814
|
type: 'string',
|
|
1815
1815
|
'x-title': 'Action Attempt ID',
|
|
1816
1816
|
},
|
|
1817
|
-
action_type: { enum: ['
|
|
1817
|
+
action_type: { enum: ['ENCODE_CARD'], type: 'string' },
|
|
1818
1818
|
error: { nullable: true },
|
|
1819
1819
|
result: {
|
|
1820
1820
|
description: 'Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.',
|
|
@@ -2151,7 +2151,7 @@ export default {
|
|
|
2151
2151
|
type: 'object',
|
|
2152
2152
|
},
|
|
2153
2153
|
{
|
|
2154
|
-
description: 'Encoding
|
|
2154
|
+
description: 'Encoding card data from physical encoder failed.',
|
|
2155
2155
|
properties: {
|
|
2156
2156
|
action_attempt_id: {
|
|
2157
2157
|
description: 'The ID of the action attempt.',
|
|
@@ -2159,7 +2159,7 @@ export default {
|
|
|
2159
2159
|
type: 'string',
|
|
2160
2160
|
'x-title': 'Action Attempt ID',
|
|
2161
2161
|
},
|
|
2162
|
-
action_type: { enum: ['
|
|
2162
|
+
action_type: { enum: ['ENCODE_CARD'], type: 'string' },
|
|
2163
2163
|
error: {
|
|
2164
2164
|
oneOf: [
|
|
2165
2165
|
{
|
|
@@ -4773,7 +4773,7 @@ export default {
|
|
|
4773
4773
|
'latch',
|
|
4774
4774
|
'akiles',
|
|
4775
4775
|
'assa_abloy_vostio',
|
|
4776
|
-
'
|
|
4776
|
+
'assa_abloy_vostio_credential_service',
|
|
4777
4777
|
],
|
|
4778
4778
|
type: 'string',
|
|
4779
4779
|
},
|
|
@@ -7761,6 +7761,18 @@ export default {
|
|
|
7761
7761
|
items: { format: 'uuid', type: 'string' },
|
|
7762
7762
|
type: 'array',
|
|
7763
7763
|
},
|
|
7764
|
+
assa_abloy_vostio_metadata: {
|
|
7765
|
+
description: 'Vostio-specific metadata for the new credential.',
|
|
7766
|
+
properties: {
|
|
7767
|
+
join_all_guest_acs_entrances: { type: 'boolean' },
|
|
7768
|
+
override_all_guest_acs_entrances: { type: 'boolean' },
|
|
7769
|
+
override_guest_acs_entrance_ids: {
|
|
7770
|
+
items: { format: 'uuid', type: 'string' },
|
|
7771
|
+
type: 'array',
|
|
7772
|
+
},
|
|
7773
|
+
},
|
|
7774
|
+
type: 'object',
|
|
7775
|
+
},
|
|
7764
7776
|
code: {
|
|
7765
7777
|
description: 'Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable [device or system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview).',
|
|
7766
7778
|
pattern: '^\\d+$',
|
|
@@ -8859,24 +8871,16 @@ export default {
|
|
|
8859
8871
|
'x-title': 'Update a Credential',
|
|
8860
8872
|
},
|
|
8861
8873
|
},
|
|
8862
|
-
'/acs/encoders/
|
|
8874
|
+
'/acs/encoders/encode_card': {
|
|
8863
8875
|
post: {
|
|
8864
|
-
operationId: '
|
|
8876
|
+
operationId: 'acsEncodersEncodeCardPost',
|
|
8865
8877
|
requestBody: {
|
|
8866
8878
|
content: {
|
|
8867
8879
|
'application/json': {
|
|
8868
8880
|
schema: {
|
|
8869
8881
|
properties: {
|
|
8870
|
-
acs_credential_id: {
|
|
8871
|
-
|
|
8872
|
-
format: 'uuid',
|
|
8873
|
-
type: 'string',
|
|
8874
|
-
},
|
|
8875
|
-
device_id: {
|
|
8876
|
-
description: 'ID of the encoder to use for the encoding.',
|
|
8877
|
-
format: 'uuid',
|
|
8878
|
-
type: 'string',
|
|
8879
|
-
},
|
|
8882
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
8883
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
8880
8884
|
},
|
|
8881
8885
|
required: ['device_id', 'acs_credential_id'],
|
|
8882
8886
|
type: 'object',
|
|
@@ -8910,10 +8914,10 @@ export default {
|
|
|
8910
8914
|
{ console_session: [] },
|
|
8911
8915
|
{ api_key: [] },
|
|
8912
8916
|
],
|
|
8913
|
-
summary: '/acs/encoders/
|
|
8917
|
+
summary: '/acs/encoders/encode_card',
|
|
8914
8918
|
tags: ['/acs'],
|
|
8915
8919
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
8916
|
-
'x-fern-sdk-method-name': '
|
|
8920
|
+
'x-fern-sdk-method-name': 'encode_card',
|
|
8917
8921
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
8918
8922
|
'x-response-key': 'action_attempt',
|
|
8919
8923
|
'x-undocumented': 'Encoding a card is currently unimplemented.',
|
|
@@ -9005,24 +9009,16 @@ export default {
|
|
|
9005
9009
|
'x-undocumented': 'Encoders are in alpha.',
|
|
9006
9010
|
},
|
|
9007
9011
|
},
|
|
9008
|
-
'/acs/encoders/
|
|
9012
|
+
'/acs/encoders/scan_card': {
|
|
9009
9013
|
post: {
|
|
9010
|
-
operationId: '
|
|
9014
|
+
operationId: 'acsEncodersScanCardPost',
|
|
9011
9015
|
requestBody: {
|
|
9012
9016
|
content: {
|
|
9013
9017
|
'application/json': {
|
|
9014
9018
|
schema: {
|
|
9015
9019
|
properties: {
|
|
9016
|
-
acs_system_id: {
|
|
9017
|
-
|
|
9018
|
-
format: 'uuid',
|
|
9019
|
-
type: 'string',
|
|
9020
|
-
},
|
|
9021
|
-
device_id: {
|
|
9022
|
-
description: 'ID of the encoder to use for the scan.',
|
|
9023
|
-
format: 'uuid',
|
|
9024
|
-
type: 'string',
|
|
9025
|
-
},
|
|
9020
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
9021
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
9026
9022
|
},
|
|
9027
9023
|
required: ['acs_system_id', 'device_id'],
|
|
9028
9024
|
type: 'object',
|
|
@@ -9056,10 +9052,10 @@ export default {
|
|
|
9056
9052
|
{ console_session: [] },
|
|
9057
9053
|
{ api_key: [] },
|
|
9058
9054
|
],
|
|
9059
|
-
summary: '/acs/encoders/
|
|
9055
|
+
summary: '/acs/encoders/scan_card',
|
|
9060
9056
|
tags: ['/acs'],
|
|
9061
9057
|
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
9062
|
-
'x-fern-sdk-method-name': '
|
|
9058
|
+
'x-fern-sdk-method-name': 'scan_card',
|
|
9063
9059
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
9064
9060
|
'x-response-key': 'action_attempt',
|
|
9065
9061
|
'x-undocumented': 'Reading a card is currently unimplemented.',
|
|
@@ -11642,7 +11638,7 @@ export default {
|
|
|
11642
11638
|
'latch',
|
|
11643
11639
|
'akiles',
|
|
11644
11640
|
'assa_abloy_vostio',
|
|
11645
|
-
'
|
|
11641
|
+
'assa_abloy_vostio_credential_service',
|
|
11646
11642
|
'yale_access',
|
|
11647
11643
|
'hid_cm',
|
|
11648
11644
|
'google_nest',
|