@seamapi/types 1.254.0 → 1.256.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 +273 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1314 -0
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +23 -2
- package/lib/seam/connect/models/acs/metadata/salto.js +8 -1
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +96 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js +36 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +114 -0
- package/lib/seam/connect/openapi.js +177 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1086 -27
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +10 -3
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +46 -0
- package/src/lib/seam/connect/openapi.ts +179 -0
- package/src/lib/seam/connect/route-types.ts +1195 -13
|
@@ -388,6 +388,29 @@ export default {
|
|
|
388
388
|
],
|
|
389
389
|
type: 'object',
|
|
390
390
|
},
|
|
391
|
+
salto_ks_metadata: {
|
|
392
|
+
properties: {
|
|
393
|
+
battery_level: { type: 'string' },
|
|
394
|
+
door_name: { type: 'string' },
|
|
395
|
+
intrusion_alarm: { type: 'boolean' },
|
|
396
|
+
left_open_alarm: { type: 'boolean' },
|
|
397
|
+
lock_type: { type: 'string' },
|
|
398
|
+
locked_state: { type: 'string' },
|
|
399
|
+
online: { type: 'boolean' },
|
|
400
|
+
privacy_mode: { type: 'boolean' },
|
|
401
|
+
},
|
|
402
|
+
required: [
|
|
403
|
+
'door_name',
|
|
404
|
+
'locked_state',
|
|
405
|
+
'lock_type',
|
|
406
|
+
'online',
|
|
407
|
+
'battery_level',
|
|
408
|
+
'left_open_alarm',
|
|
409
|
+
'intrusion_alarm',
|
|
410
|
+
'privacy_mode',
|
|
411
|
+
],
|
|
412
|
+
type: 'object',
|
|
413
|
+
},
|
|
391
414
|
visionline_metadata: {
|
|
392
415
|
properties: {
|
|
393
416
|
door_category: {
|
|
@@ -1190,6 +1213,98 @@ export default {
|
|
|
1190
1213
|
],
|
|
1191
1214
|
type: 'object',
|
|
1192
1215
|
},
|
|
1216
|
+
{
|
|
1217
|
+
description: 'Encoding card data from physical encoder.',
|
|
1218
|
+
properties: {
|
|
1219
|
+
action_attempt_id: {
|
|
1220
|
+
description: 'The ID of the action attempt.',
|
|
1221
|
+
format: 'uuid',
|
|
1222
|
+
type: 'string',
|
|
1223
|
+
'x-title': 'Action Attempt ID',
|
|
1224
|
+
},
|
|
1225
|
+
action_type: { enum: ['ENCODE_CARD'], type: 'string' },
|
|
1226
|
+
error: { nullable: true },
|
|
1227
|
+
result: { nullable: true },
|
|
1228
|
+
status: { enum: ['pending'], type: 'string' },
|
|
1229
|
+
},
|
|
1230
|
+
required: [
|
|
1231
|
+
'action_attempt_id',
|
|
1232
|
+
'status',
|
|
1233
|
+
'result',
|
|
1234
|
+
'error',
|
|
1235
|
+
'action_type',
|
|
1236
|
+
],
|
|
1237
|
+
type: 'object',
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
description: 'Encoding card data from physical encoder succeeded.',
|
|
1241
|
+
properties: {
|
|
1242
|
+
action_attempt_id: {
|
|
1243
|
+
description: 'The ID of the action attempt.',
|
|
1244
|
+
format: 'uuid',
|
|
1245
|
+
type: 'string',
|
|
1246
|
+
'x-title': 'Action Attempt ID',
|
|
1247
|
+
},
|
|
1248
|
+
action_type: { enum: ['ENCODE_CARD'], type: 'string' },
|
|
1249
|
+
error: { nullable: true },
|
|
1250
|
+
result: {
|
|
1251
|
+
properties: {
|
|
1252
|
+
acs_credential_id: {
|
|
1253
|
+
description: 'Matching acs_credential currently encoded on this card.',
|
|
1254
|
+
format: 'uuid',
|
|
1255
|
+
nullable: true,
|
|
1256
|
+
type: 'string',
|
|
1257
|
+
},
|
|
1258
|
+
card_number: {
|
|
1259
|
+
description: 'A number or sting that physically identifies this card.',
|
|
1260
|
+
nullable: true,
|
|
1261
|
+
type: 'string',
|
|
1262
|
+
},
|
|
1263
|
+
},
|
|
1264
|
+
required: ['acs_credential_id', 'card_number'],
|
|
1265
|
+
type: 'object',
|
|
1266
|
+
},
|
|
1267
|
+
status: { enum: ['success'], type: 'string' },
|
|
1268
|
+
},
|
|
1269
|
+
required: [
|
|
1270
|
+
'action_attempt_id',
|
|
1271
|
+
'status',
|
|
1272
|
+
'error',
|
|
1273
|
+
'action_type',
|
|
1274
|
+
'result',
|
|
1275
|
+
],
|
|
1276
|
+
type: 'object',
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
description: 'Encoding card data from physical encoder failed.',
|
|
1280
|
+
properties: {
|
|
1281
|
+
action_attempt_id: {
|
|
1282
|
+
description: 'The ID of the action attempt.',
|
|
1283
|
+
format: 'uuid',
|
|
1284
|
+
type: 'string',
|
|
1285
|
+
'x-title': 'Action Attempt ID',
|
|
1286
|
+
},
|
|
1287
|
+
action_type: { enum: ['ENCODE_CARD'], type: 'string' },
|
|
1288
|
+
error: {
|
|
1289
|
+
properties: {
|
|
1290
|
+
message: { type: 'string' },
|
|
1291
|
+
type: { type: 'string' },
|
|
1292
|
+
},
|
|
1293
|
+
required: ['type', 'message'],
|
|
1294
|
+
type: 'object',
|
|
1295
|
+
},
|
|
1296
|
+
result: { nullable: true },
|
|
1297
|
+
status: { enum: ['error'], type: 'string' },
|
|
1298
|
+
},
|
|
1299
|
+
required: [
|
|
1300
|
+
'action_attempt_id',
|
|
1301
|
+
'status',
|
|
1302
|
+
'result',
|
|
1303
|
+
'action_type',
|
|
1304
|
+
'error',
|
|
1305
|
+
],
|
|
1306
|
+
type: 'object',
|
|
1307
|
+
},
|
|
1193
1308
|
{
|
|
1194
1309
|
description: 'Resetting sandbox workspace.',
|
|
1195
1310
|
properties: {
|
|
@@ -7219,6 +7334,68 @@ export default {
|
|
|
7219
7334
|
'x-fern-sdk-method-name': 'update',
|
|
7220
7335
|
},
|
|
7221
7336
|
},
|
|
7337
|
+
'/acs/encoders/encode_card': {
|
|
7338
|
+
post: {
|
|
7339
|
+
operationId: 'acsEncodersEncodeCardPost',
|
|
7340
|
+
requestBody: {
|
|
7341
|
+
content: {
|
|
7342
|
+
'application/json': {
|
|
7343
|
+
schema: {
|
|
7344
|
+
oneOf: [
|
|
7345
|
+
{
|
|
7346
|
+
properties: {
|
|
7347
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7348
|
+
device_name: { type: 'string' },
|
|
7349
|
+
},
|
|
7350
|
+
required: ['acs_system_id', 'device_name'],
|
|
7351
|
+
type: 'object',
|
|
7352
|
+
},
|
|
7353
|
+
{
|
|
7354
|
+
properties: {
|
|
7355
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
7356
|
+
},
|
|
7357
|
+
required: ['device_id'],
|
|
7358
|
+
type: 'object',
|
|
7359
|
+
},
|
|
7360
|
+
],
|
|
7361
|
+
},
|
|
7362
|
+
},
|
|
7363
|
+
},
|
|
7364
|
+
},
|
|
7365
|
+
responses: {
|
|
7366
|
+
200: {
|
|
7367
|
+
content: {
|
|
7368
|
+
'application/json': {
|
|
7369
|
+
schema: {
|
|
7370
|
+
properties: {
|
|
7371
|
+
action_attempt: {
|
|
7372
|
+
$ref: '#/components/schemas/action_attempt',
|
|
7373
|
+
},
|
|
7374
|
+
ok: { type: 'boolean' },
|
|
7375
|
+
},
|
|
7376
|
+
required: ['action_attempt', 'ok'],
|
|
7377
|
+
type: 'object',
|
|
7378
|
+
},
|
|
7379
|
+
},
|
|
7380
|
+
},
|
|
7381
|
+
description: 'OK',
|
|
7382
|
+
},
|
|
7383
|
+
400: { description: 'Bad Request' },
|
|
7384
|
+
401: { description: 'Unauthorized' },
|
|
7385
|
+
},
|
|
7386
|
+
security: [
|
|
7387
|
+
{ pat_with_workspace: [] },
|
|
7388
|
+
{ console_session: [] },
|
|
7389
|
+
{ api_key: [] },
|
|
7390
|
+
],
|
|
7391
|
+
summary: '/acs/encoders/encode_card',
|
|
7392
|
+
tags: ['/acs'],
|
|
7393
|
+
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
7394
|
+
'x-fern-sdk-method-name': 'encode_card',
|
|
7395
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
7396
|
+
'x-undocumented': 'Encoding a card is currently unimplemented.',
|
|
7397
|
+
},
|
|
7398
|
+
},
|
|
7222
7399
|
'/acs/encoders/read_card': {
|
|
7223
7400
|
post: {
|
|
7224
7401
|
operationId: 'acsEncodersReadCardPost',
|