@seamapi/types 1.792.0 → 1.794.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 +337 -40
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1351 -90
- package/dist/index.cjs +337 -40
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +236 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +4 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/pending-mutations.d.ts +48 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js +20 -3
- package/lib/seam/connect/models/access-codes/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +46 -46
- package/lib/seam/connect/models/access-grants/access-method.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/batch.d.ts +378 -60
- package/lib/seam/connect/openapi.d.ts +210 -0
- package/lib/seam/connect/openapi.js +223 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +497 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +6 -0
- package/src/lib/seam/connect/models/access-codes/pending-mutations.ts +21 -3
- package/src/lib/seam/connect/openapi.ts +240 -2
- package/src/lib/seam/connect/route-types.ts +539 -0
|
@@ -1376,6 +1376,241 @@ export default {
|
|
|
1376
1376
|
nullable: true,
|
|
1377
1377
|
type: 'string',
|
|
1378
1378
|
},
|
|
1379
|
+
pending_mutations: {
|
|
1380
|
+
description:
|
|
1381
|
+
'Collection of pending mutations for the access code. Indicates changes that Seam is in the process of pushing to the device.',
|
|
1382
|
+
items: {
|
|
1383
|
+
discriminator: { propertyName: 'mutation_code' },
|
|
1384
|
+
oneOf: [
|
|
1385
|
+
{
|
|
1386
|
+
description:
|
|
1387
|
+
'Seam is in the process of setting an access code on the device.',
|
|
1388
|
+
properties: {
|
|
1389
|
+
created_at: {
|
|
1390
|
+
description:
|
|
1391
|
+
'Date and time at which the mutation was created.',
|
|
1392
|
+
format: 'date-time',
|
|
1393
|
+
type: 'string',
|
|
1394
|
+
},
|
|
1395
|
+
message: {
|
|
1396
|
+
description: 'Detailed description of the mutation.',
|
|
1397
|
+
type: 'string',
|
|
1398
|
+
},
|
|
1399
|
+
mutation_code: {
|
|
1400
|
+
description:
|
|
1401
|
+
'Mutation code to indicate that Seam is in the process of setting an access code on the device.',
|
|
1402
|
+
enum: ['creating'],
|
|
1403
|
+
type: 'string',
|
|
1404
|
+
},
|
|
1405
|
+
},
|
|
1406
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
1407
|
+
type: 'object',
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
description:
|
|
1411
|
+
'Seam is in the process of removing an access code from the device.',
|
|
1412
|
+
properties: {
|
|
1413
|
+
created_at: {
|
|
1414
|
+
description:
|
|
1415
|
+
'Date and time at which the mutation was created.',
|
|
1416
|
+
format: 'date-time',
|
|
1417
|
+
type: 'string',
|
|
1418
|
+
},
|
|
1419
|
+
message: {
|
|
1420
|
+
description: 'Detailed description of the mutation.',
|
|
1421
|
+
type: 'string',
|
|
1422
|
+
},
|
|
1423
|
+
mutation_code: {
|
|
1424
|
+
description:
|
|
1425
|
+
'Mutation code to indicate that Seam is in the process of removing an access code from the device.',
|
|
1426
|
+
enum: ['deleting'],
|
|
1427
|
+
type: 'string',
|
|
1428
|
+
},
|
|
1429
|
+
},
|
|
1430
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
1431
|
+
type: 'object',
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
description:
|
|
1435
|
+
'Seam is in the process of pushing an updated PIN code to the device.',
|
|
1436
|
+
properties: {
|
|
1437
|
+
created_at: {
|
|
1438
|
+
description:
|
|
1439
|
+
'Date and time at which the mutation was created.',
|
|
1440
|
+
format: 'date-time',
|
|
1441
|
+
type: 'string',
|
|
1442
|
+
},
|
|
1443
|
+
from: {
|
|
1444
|
+
description: 'Previous code configuration.',
|
|
1445
|
+
properties: {
|
|
1446
|
+
code: {
|
|
1447
|
+
description: 'Previous PIN code.',
|
|
1448
|
+
nullable: true,
|
|
1449
|
+
type: 'string',
|
|
1450
|
+
},
|
|
1451
|
+
},
|
|
1452
|
+
required: ['code'],
|
|
1453
|
+
type: 'object',
|
|
1454
|
+
},
|
|
1455
|
+
message: {
|
|
1456
|
+
description: 'Detailed description of the mutation.',
|
|
1457
|
+
type: 'string',
|
|
1458
|
+
},
|
|
1459
|
+
mutation_code: {
|
|
1460
|
+
description:
|
|
1461
|
+
'Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device.',
|
|
1462
|
+
enum: ['updating_code'],
|
|
1463
|
+
type: 'string',
|
|
1464
|
+
},
|
|
1465
|
+
to: {
|
|
1466
|
+
description: 'New code configuration.',
|
|
1467
|
+
properties: {
|
|
1468
|
+
code: {
|
|
1469
|
+
description: 'New PIN code.',
|
|
1470
|
+
nullable: true,
|
|
1471
|
+
type: 'string',
|
|
1472
|
+
},
|
|
1473
|
+
},
|
|
1474
|
+
required: ['code'],
|
|
1475
|
+
type: 'object',
|
|
1476
|
+
},
|
|
1477
|
+
},
|
|
1478
|
+
required: [
|
|
1479
|
+
'created_at',
|
|
1480
|
+
'message',
|
|
1481
|
+
'mutation_code',
|
|
1482
|
+
'from',
|
|
1483
|
+
'to',
|
|
1484
|
+
],
|
|
1485
|
+
type: 'object',
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
description:
|
|
1489
|
+
'Seam is in the process of pushing an updated access code name to the device.',
|
|
1490
|
+
properties: {
|
|
1491
|
+
created_at: {
|
|
1492
|
+
description:
|
|
1493
|
+
'Date and time at which the mutation was created.',
|
|
1494
|
+
format: 'date-time',
|
|
1495
|
+
type: 'string',
|
|
1496
|
+
},
|
|
1497
|
+
from: {
|
|
1498
|
+
description: 'Previous name configuration.',
|
|
1499
|
+
properties: {
|
|
1500
|
+
name: {
|
|
1501
|
+
description: 'Previous access code name.',
|
|
1502
|
+
nullable: true,
|
|
1503
|
+
type: 'string',
|
|
1504
|
+
},
|
|
1505
|
+
},
|
|
1506
|
+
required: ['name'],
|
|
1507
|
+
type: 'object',
|
|
1508
|
+
},
|
|
1509
|
+
message: {
|
|
1510
|
+
description: 'Detailed description of the mutation.',
|
|
1511
|
+
type: 'string',
|
|
1512
|
+
},
|
|
1513
|
+
mutation_code: {
|
|
1514
|
+
description:
|
|
1515
|
+
'Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device.',
|
|
1516
|
+
enum: ['updating_name'],
|
|
1517
|
+
type: 'string',
|
|
1518
|
+
},
|
|
1519
|
+
to: {
|
|
1520
|
+
description: 'New name configuration.',
|
|
1521
|
+
properties: {
|
|
1522
|
+
name: {
|
|
1523
|
+
description: 'New access code name.',
|
|
1524
|
+
nullable: true,
|
|
1525
|
+
type: 'string',
|
|
1526
|
+
},
|
|
1527
|
+
},
|
|
1528
|
+
required: ['name'],
|
|
1529
|
+
type: 'object',
|
|
1530
|
+
},
|
|
1531
|
+
},
|
|
1532
|
+
required: [
|
|
1533
|
+
'created_at',
|
|
1534
|
+
'message',
|
|
1535
|
+
'mutation_code',
|
|
1536
|
+
'from',
|
|
1537
|
+
'to',
|
|
1538
|
+
],
|
|
1539
|
+
type: 'object',
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
description:
|
|
1543
|
+
'Seam is in the process of pushing an updated time frame to the device.',
|
|
1544
|
+
properties: {
|
|
1545
|
+
created_at: {
|
|
1546
|
+
description:
|
|
1547
|
+
'Date and time at which the mutation was created.',
|
|
1548
|
+
format: 'date-time',
|
|
1549
|
+
type: 'string',
|
|
1550
|
+
},
|
|
1551
|
+
from: {
|
|
1552
|
+
description: 'Previous time frame configuration.',
|
|
1553
|
+
properties: {
|
|
1554
|
+
ends_at: {
|
|
1555
|
+
description: 'Previous end time for the access code.',
|
|
1556
|
+
format: 'date-time',
|
|
1557
|
+
nullable: true,
|
|
1558
|
+
type: 'string',
|
|
1559
|
+
},
|
|
1560
|
+
starts_at: {
|
|
1561
|
+
description:
|
|
1562
|
+
'Previous start time for the access code.',
|
|
1563
|
+
format: 'date-time',
|
|
1564
|
+
nullable: true,
|
|
1565
|
+
type: 'string',
|
|
1566
|
+
},
|
|
1567
|
+
},
|
|
1568
|
+
required: ['starts_at', 'ends_at'],
|
|
1569
|
+
type: 'object',
|
|
1570
|
+
},
|
|
1571
|
+
message: {
|
|
1572
|
+
description: 'Detailed description of the mutation.',
|
|
1573
|
+
type: 'string',
|
|
1574
|
+
},
|
|
1575
|
+
mutation_code: {
|
|
1576
|
+
description:
|
|
1577
|
+
'Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device.',
|
|
1578
|
+
enum: ['updating_time_frame'],
|
|
1579
|
+
type: 'string',
|
|
1580
|
+
},
|
|
1581
|
+
to: {
|
|
1582
|
+
description: 'New time frame configuration.',
|
|
1583
|
+
properties: {
|
|
1584
|
+
ends_at: {
|
|
1585
|
+
description: 'New end time for the access code.',
|
|
1586
|
+
format: 'date-time',
|
|
1587
|
+
nullable: true,
|
|
1588
|
+
type: 'string',
|
|
1589
|
+
},
|
|
1590
|
+
starts_at: {
|
|
1591
|
+
description: 'New start time for the access code.',
|
|
1592
|
+
format: 'date-time',
|
|
1593
|
+
nullable: true,
|
|
1594
|
+
type: 'string',
|
|
1595
|
+
},
|
|
1596
|
+
},
|
|
1597
|
+
required: ['starts_at', 'ends_at'],
|
|
1598
|
+
type: 'object',
|
|
1599
|
+
},
|
|
1600
|
+
},
|
|
1601
|
+
required: [
|
|
1602
|
+
'created_at',
|
|
1603
|
+
'message',
|
|
1604
|
+
'mutation_code',
|
|
1605
|
+
'from',
|
|
1606
|
+
'to',
|
|
1607
|
+
],
|
|
1608
|
+
type: 'object',
|
|
1609
|
+
},
|
|
1610
|
+
],
|
|
1611
|
+
},
|
|
1612
|
+
type: 'array',
|
|
1613
|
+
},
|
|
1379
1614
|
pulled_backup_access_code_id: {
|
|
1380
1615
|
description:
|
|
1381
1616
|
'Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code.',
|
|
@@ -1815,6 +2050,7 @@ export default {
|
|
|
1815
2050
|
'is_external_modification_allowed',
|
|
1816
2051
|
'is_one_time_use',
|
|
1817
2052
|
'is_offline_access_code',
|
|
2053
|
+
'pending_mutations',
|
|
1818
2054
|
],
|
|
1819
2055
|
type: 'object',
|
|
1820
2056
|
'x-route-path': '/access_codes',
|
|
@@ -78559,7 +78795,7 @@ export default {
|
|
|
78559
78795
|
'/user_identities/list_accessible_devices': {
|
|
78560
78796
|
get: {
|
|
78561
78797
|
description:
|
|
78562
|
-
'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
78798
|
+
'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.',
|
|
78563
78799
|
operationId: 'userIdentitiesListAccessibleDevicesGet',
|
|
78564
78800
|
parameters: [
|
|
78565
78801
|
{
|
|
@@ -78603,6 +78839,7 @@ export default {
|
|
|
78603
78839
|
401: { description: 'Unauthorized' },
|
|
78604
78840
|
},
|
|
78605
78841
|
security: [
|
|
78842
|
+
{ client_session: [] },
|
|
78606
78843
|
{ api_key: [] },
|
|
78607
78844
|
{ pat_with_workspace: [] },
|
|
78608
78845
|
{ console_session_with_workspace: [] },
|
|
@@ -78617,7 +78854,7 @@ export default {
|
|
|
78617
78854
|
},
|
|
78618
78855
|
post: {
|
|
78619
78856
|
description:
|
|
78620
|
-
'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
78857
|
+
'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.',
|
|
78621
78858
|
operationId: 'userIdentitiesListAccessibleDevicesPost',
|
|
78622
78859
|
requestBody: {
|
|
78623
78860
|
content: {
|
|
@@ -78666,6 +78903,7 @@ export default {
|
|
|
78666
78903
|
401: { description: 'Unauthorized' },
|
|
78667
78904
|
},
|
|
78668
78905
|
security: [
|
|
78906
|
+
{ client_session: [] },
|
|
78669
78907
|
{ api_key: [] },
|
|
78670
78908
|
{ pat_with_workspace: [] },
|
|
78671
78909
|
{ console_session_with_workspace: [] },
|