@seamapi/types 1.554.0 → 1.555.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.
@@ -1687,6 +1687,37 @@ export default {
1687
1687
  format: 'uuid',
1688
1688
  type: 'string',
1689
1689
  },
1690
+ warnings: {
1691
+ description: 'Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
1692
+ items: {
1693
+ description: 'Warning associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).',
1694
+ discriminator: { propertyName: 'warning_code' },
1695
+ oneOf: [
1696
+ {
1697
+ description: 'Indicates that the [access grant](https://docs.seam.co/latest/capability-guides/access-grants) is being deleted.',
1698
+ properties: {
1699
+ created_at: {
1700
+ description: 'Date and time at which Seam created the warning.',
1701
+ format: 'date-time',
1702
+ type: 'string',
1703
+ },
1704
+ message: {
1705
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1706
+ type: 'string',
1707
+ },
1708
+ warning_code: {
1709
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1710
+ enum: ['being_deleted'],
1711
+ type: 'string',
1712
+ },
1713
+ },
1714
+ required: ['created_at', 'message', 'warning_code'],
1715
+ type: 'object',
1716
+ },
1717
+ ],
1718
+ },
1719
+ type: 'array',
1720
+ },
1690
1721
  workspace_id: {
1691
1722
  description: 'ID of the Seam workspace associated with the Access Grant.',
1692
1723
  format: 'uuid',
@@ -1706,6 +1737,7 @@ export default {
1706
1737
  'created_at',
1707
1738
  'starts_at',
1708
1739
  'ends_at',
1740
+ 'warnings',
1709
1741
  ],
1710
1742
  type: 'object',
1711
1743
  'x-draft': 'Early access.',
@@ -1766,6 +1798,37 @@ export default {
1766
1798
  enum: ['code', 'card', 'mobile_key'],
1767
1799
  type: 'string',
1768
1800
  },
1801
+ warnings: {
1802
+ description: 'Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).',
1803
+ items: {
1804
+ description: 'Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).',
1805
+ discriminator: { propertyName: 'warning_code' },
1806
+ oneOf: [
1807
+ {
1808
+ description: 'Indicates that the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) is being deleted.',
1809
+ properties: {
1810
+ created_at: {
1811
+ description: 'Date and time at which Seam created the warning.',
1812
+ format: 'date-time',
1813
+ type: 'string',
1814
+ },
1815
+ message: {
1816
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1817
+ type: 'string',
1818
+ },
1819
+ warning_code: {
1820
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1821
+ enum: ['being_deleted'],
1822
+ type: 'string',
1823
+ },
1824
+ },
1825
+ required: ['created_at', 'message', 'warning_code'],
1826
+ type: 'object',
1827
+ },
1828
+ ],
1829
+ },
1830
+ type: 'array',
1831
+ },
1769
1832
  workspace_id: {
1770
1833
  description: 'ID of the Seam workspace associated with the access method.',
1771
1834
  format: 'uuid',
@@ -1780,6 +1843,7 @@ export default {
1780
1843
  'created_at',
1781
1844
  'issued_at',
1782
1845
  'is_issued',
1846
+ 'warnings',
1783
1847
  ],
1784
1848
  type: 'object',
1785
1849
  'x-draft': 'Early access.',