@seamapi/types 1.793.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.
@@ -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',