@blezgo/api-sdk 0.1.2 → 0.1.3

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.
Files changed (137) hide show
  1. package/dist/account/generated.d.ts +193 -193
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +64 -64
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +96 -96
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +120 -120
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +84 -85
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +15 -15
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +100 -100
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +100 -100
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +12 -12
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +95 -95
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +169 -169
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +168 -168
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +38 -38
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +38 -38
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +196 -196
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +9 -9
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +88 -88
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +252 -252
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +58 -58
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +30 -30
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +25 -25
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +658 -658
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +46 -46
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +250 -250
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +70 -70
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +202 -202
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +25 -25
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +9 -9
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +30 -30
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +103 -103
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +94 -95
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +103 -103
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +77 -77
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +99 -99
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +9 -9
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +11 -11
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +131 -131
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +251 -251
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +183 -183
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +379 -379
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +9 -9
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +124 -124
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +59 -59
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +555 -558
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +9 -9
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +227 -227
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +34 -34
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +610 -610
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +286 -286
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +32 -32
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +164 -164
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +51 -51
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +899 -401
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +156 -156
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +1028 -1028
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +247 -247
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +419 -419
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +9 -9
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1510 -1510
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +179 -179
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +537 -537
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +79 -79
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +343 -343
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +37 -37
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +33 -33
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +82 -82
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +280 -541
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +183 -183
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -1021,6 +1021,29 @@ export interface paths {
1021
1021
  patch?: never;
1022
1022
  trace?: never;
1023
1023
  };
1024
+ "/v1/content/assets/orphaned": {
1025
+ parameters: {
1026
+ query?: never;
1027
+ header?: never;
1028
+ path?: never;
1029
+ cookie?: never;
1030
+ };
1031
+ /**
1032
+ * List Orphaned Assets
1033
+ * @description List orphaned assets
1034
+ *
1035
+ * Returns assets that are not linked to any content item.
1036
+ * These can be linked later or cleaned up.
1037
+ */
1038
+ get: operations["listOrphanedContentAssets"];
1039
+ put?: never;
1040
+ post?: never;
1041
+ delete?: never;
1042
+ options?: never;
1043
+ head?: never;
1044
+ patch?: never;
1045
+ trace?: never;
1046
+ };
1024
1047
  "/v1/content/assets/{asset_id}": {
1025
1048
  parameters: {
1026
1049
  query?: never;
@@ -1055,29 +1078,6 @@ export interface paths {
1055
1078
  patch: operations["updateContentAsset"];
1056
1079
  trace?: never;
1057
1080
  };
1058
- "/v1/content/assets/orphaned": {
1059
- parameters: {
1060
- query?: never;
1061
- header?: never;
1062
- path?: never;
1063
- cookie?: never;
1064
- };
1065
- /**
1066
- * List Orphaned Assets
1067
- * @description List orphaned assets
1068
- *
1069
- * Returns assets that are not linked to any content item.
1070
- * These can be linked later or cleaned up.
1071
- */
1072
- get: operations["listOrphanedContentAssets"];
1073
- put?: never;
1074
- post?: never;
1075
- delete?: never;
1076
- options?: never;
1077
- head?: never;
1078
- patch?: never;
1079
- trace?: never;
1080
- };
1081
1081
  "/v1/content/assets/{asset_id}/content-links": {
1082
1082
  parameters: {
1083
1083
  query?: never;
@@ -1570,6 +1570,45 @@ export interface paths {
1570
1570
  export type webhooks = Record<string, never>;
1571
1571
  export interface components {
1572
1572
  schemas: {
1573
+ /**
1574
+ * UploadCallbackRequest
1575
+ * @description Request model for upload completion callback
1576
+ */
1577
+ UploadCallbackRequest: {
1578
+ /**
1579
+ * Upload Id
1580
+ * @description Upload ID from upload service
1581
+ */
1582
+ upload_id: string;
1583
+ /** File Name */
1584
+ file_name: string;
1585
+ /** File Size */
1586
+ file_size: number;
1587
+ /** Mime Type */
1588
+ mime_type: string;
1589
+ /** Storage Path */
1590
+ storage_path: string;
1591
+ /** Public Url */
1592
+ public_url?: string | null;
1593
+ /** Checksum Md5 */
1594
+ checksum_md5?: string | null;
1595
+ /** Width */
1596
+ width?: number | null;
1597
+ /** Height */
1598
+ height?: number | null;
1599
+ /** Duration */
1600
+ duration?: number | null;
1601
+ /**
1602
+ * Upload For
1603
+ * @default content_asset
1604
+ */
1605
+ upload_for: string;
1606
+ /**
1607
+ * Reference Id
1608
+ * @description Content ID to link to
1609
+ */
1610
+ reference_id?: string | null;
1611
+ };
1573
1612
  /**
1574
1613
  * RevertVersionRequest
1575
1614
  * @description Request model for reverting to a version
@@ -1586,6 +1625,50 @@ export interface components {
1586
1625
  */
1587
1626
  change_summary?: string | null;
1588
1627
  };
1628
+ /**
1629
+ * TagContentRequest
1630
+ * @description Request model for tagging content
1631
+ */
1632
+ TagContentRequest: {
1633
+ /**
1634
+ * Content Id
1635
+ * @description Content external ID (cnt_xxx)
1636
+ */
1637
+ content_id: string;
1638
+ /**
1639
+ * Tag Ids
1640
+ * @description List of tag IDs to apply
1641
+ */
1642
+ tag_ids: string[];
1643
+ };
1644
+ /**
1645
+ * UpdateCategoryRequest
1646
+ * @description Request model for updating a category
1647
+ */
1648
+ app__models__content_models__UpdateCategoryRequest: {
1649
+ /** Category Name */
1650
+ category_name?: string | null;
1651
+ /** Description */
1652
+ description?: string | null;
1653
+ /** Parent Id */
1654
+ parent_id?: string | null;
1655
+ /** Icon */
1656
+ icon?: string | null;
1657
+ /** Color */
1658
+ color?: string | null;
1659
+ /** Cover Image Url */
1660
+ cover_image_url?: string | null;
1661
+ /** Display Order */
1662
+ display_order?: number | null;
1663
+ /** Status */
1664
+ status?: string | null;
1665
+ /** Seo Title */
1666
+ seo_title?: string | null;
1667
+ /** Seo Description */
1668
+ seo_description?: string | null;
1669
+ /** Seo Keywords */
1670
+ seo_keywords?: string | null;
1671
+ };
1589
1672
  /**
1590
1673
  * UpdateCollectionRequest
1591
1674
  * @description Request model for updating a collection
@@ -1622,136 +1705,70 @@ export interface components {
1622
1705
  /** Icon */
1623
1706
  icon?: string | null;
1624
1707
  };
1625
- ErrorResponse: {
1626
- /** @example about:blank */
1627
- type?: string;
1628
- /** @example GENERIC_ERROR */
1629
- code?: string;
1630
- /** @example Client Error */
1631
- title?: string;
1632
- /** @example 400 */
1633
- status?: number;
1634
- /** @example An error occurred */
1635
- detail?: string;
1636
- /** @example /v1/cart/items */
1637
- instance?: string;
1638
- extensions?: components["schemas"]["Extensions"];
1639
- };
1640
- /**
1641
- * UpdateTagRequest
1642
- * @description Request model for updating a tag
1643
- */
1644
- UpdateTagRequest: {
1645
- /** Tag Name */
1646
- tag_name?: string | null;
1647
- /** Description */
1648
- description?: string | null;
1649
- /** Color */
1650
- color?: string | null;
1651
- /** Icon */
1652
- icon?: string | null;
1653
- };
1654
1708
  /**
1655
- * CreateVariantRequest
1656
- * @description Request model for creating asset variant
1709
+ * CreateFolderRequest
1710
+ * @description Request model for creating a folder
1657
1711
  */
1658
- CreateVariantRequest: {
1659
- /**
1660
- * Asset Id
1661
- * @description Asset external ID (ast_xxx)
1662
- */
1663
- asset_id: string;
1664
- /**
1665
- * Variant Name
1666
- * @description thumbnail, small, medium, large, compressed
1667
- */
1668
- variant_name: string;
1669
- /**
1670
- * Variant Type
1671
- * @description resize, crop, compress, convert
1672
- */
1673
- variant_type: string;
1674
- /** Mime Type */
1675
- mime_type: string;
1712
+ CreateFolderRequest: {
1676
1713
  /**
1677
- * File Size
1678
- * @description Variant file size in bytes
1714
+ * Parent Id
1715
+ * @description Parent folder ID (fld_xxx). NULL for root-level
1679
1716
  */
1680
- file_size: number;
1681
- /** Storage Path */
1682
- storage_path: string;
1683
- /** Public Url */
1684
- public_url?: string | null;
1717
+ parent_id?: string | null;
1685
1718
  /**
1686
- * Width
1687
- * @description Variant width
1719
+ * Folder Name
1720
+ * @description Folder name
1688
1721
  */
1689
- width?: number | null;
1722
+ folder_name: string;
1690
1723
  /**
1691
- * Height
1692
- * @description Variant height
1724
+ * Description
1725
+ * @description Folder description
1693
1726
  */
1694
- height?: number | null;
1727
+ description?: string | null;
1695
1728
  /**
1696
- * Quality
1697
- * @description Compression quality 1-100
1729
+ * Folder Type
1730
+ * @description Folder type: custom, media, documents
1698
1731
  */
1699
- quality?: number | null;
1732
+ folder_type?: string | null;
1700
1733
  /**
1701
- * Transformation Params
1702
- * @description Transformation parameters used
1734
+ * Metadata
1735
+ * @description Custom metadata
1703
1736
  */
1704
- transformation_params?: {
1737
+ metadata?: {
1705
1738
  [key: string]: unknown;
1706
1739
  } | null;
1707
1740
  };
1708
1741
  /**
1709
- * UpdateAssetRequest
1710
- * @description Request model for updating asset
1742
+ * CheckPermissionRequest
1743
+ * @description Request model for checking a specific permission
1711
1744
  */
1712
- UpdateAssetRequest: {
1713
- /** Asset Name */
1714
- asset_name?: string | null;
1715
- /** Public Url */
1716
- public_url?: string | null;
1745
+ CheckPermissionRequest: {
1717
1746
  /**
1718
- * Processing Status
1719
- * @description pending, processing, completed, failed
1747
+ * Resource Type
1748
+ * @description Resource type: folder, content
1720
1749
  */
1721
- processing_status?: string | null;
1750
+ resource_type: string;
1722
1751
  /**
1723
- * Processing Error
1724
- * @description Error details if processing failed
1752
+ * Resource Id
1753
+ * @description Resource external ID
1725
1754
  */
1726
- processing_error?: string | null;
1755
+ resource_id: string;
1727
1756
  /**
1728
- * Is Optimized
1729
- * @description Whether asset has been optimized
1757
+ * Permission Level
1758
+ * @description Required permission level
1730
1759
  */
1731
- is_optimized?: boolean | null;
1760
+ permission_level: string;
1732
1761
  /**
1733
- * Optimized Size
1734
- * @description Size after optimization
1762
+ * User Id
1763
+ * @description User to check (defaults to current user)
1735
1764
  */
1736
- optimized_size?: number | null;
1737
- /**
1738
- * Status
1739
- * @description active, archived, deleted
1740
- */
1741
- status?: string | null;
1742
- /**
1743
- * Extra Metadata
1744
- * @description Additional metadata
1745
- */
1746
- extra_metadata?: {
1747
- [key: string]: unknown;
1748
- } | null;
1749
- };
1750
- /**
1751
- * CreateReactionRequest
1752
- * @description Request model for creating reaction
1753
- */
1754
- CreateReactionRequest: {
1765
+ user_id?: number | null;
1766
+ };
1767
+ /**
1768
+ * CreateReactionRequest
1769
+ * @description Request model for creating reaction
1770
+ */
1771
+ CreateReactionRequest: {
1755
1772
  /**
1756
1773
  * Content Id
1757
1774
  * @description Content external ID (cnt_xxx)
@@ -1764,239 +1781,52 @@ export interface components {
1764
1781
  reaction_type: string;
1765
1782
  };
1766
1783
  /**
1767
- * UpdatePermissionRequest
1768
- * @description Request model for updating a permission
1769
- */
1770
- UpdatePermissionRequest: {
1771
- /**
1772
- * Permission Level
1773
- * @description New permission level
1774
- */
1775
- permission_level?: string | null;
1776
- /** Can Share */
1777
- can_share?: boolean | null;
1778
- /** Can Download */
1779
- can_download?: boolean | null;
1780
- /** Expires At */
1781
- expires_at?: string | null;
1782
- };
1783
- /** Body_updateContentVersionLabel */
1784
- Body_updateContentVersionLabel: {
1785
- /** Version Label */
1786
- version_label: string;
1787
- };
1788
- /**
1789
- * UploadCallbackRequest
1790
- * @description Request model for upload completion callback
1791
- */
1792
- UploadCallbackRequest: {
1793
- /**
1794
- * Upload Id
1795
- * @description Upload ID from upload service
1796
- */
1797
- upload_id: string;
1798
- /** File Name */
1799
- file_name: string;
1800
- /** File Size */
1801
- file_size: number;
1802
- /** Mime Type */
1803
- mime_type: string;
1804
- /** Storage Path */
1805
- storage_path: string;
1806
- /** Public Url */
1807
- public_url?: string | null;
1808
- /** Checksum Md5 */
1809
- checksum_md5?: string | null;
1810
- /** Width */
1811
- width?: number | null;
1812
- /** Height */
1813
- height?: number | null;
1814
- /** Duration */
1815
- duration?: number | null;
1816
- /**
1817
- * Upload For
1818
- * @default content_asset
1819
- */
1820
- upload_for: string;
1821
- /**
1822
- * Reference Id
1823
- * @description Content ID to link to
1824
- */
1825
- reference_id?: string | null;
1826
- };
1827
- /**
1828
- * CreateCategoryRequest
1829
- * @description Request model for creating a category
1830
- */
1831
- app__models__content_models__CreateCategoryRequest: {
1832
- /**
1833
- * Parent Id
1834
- * @description Parent category ID (cat_xxx)
1835
- */
1836
- parent_id?: string | null;
1837
- /** Category Name */
1838
- category_name: string;
1839
- /** Description */
1840
- description?: string | null;
1841
- /** Icon */
1842
- icon?: string | null;
1843
- /**
1844
- * Color
1845
- * @default #6B7280
1846
- */
1847
- color: string;
1848
- /** Cover Image Url */
1849
- cover_image_url?: string | null;
1850
- /**
1851
- * Display Order
1852
- * @default 0
1853
- */
1854
- display_order: number;
1855
- /** Seo Title */
1856
- seo_title?: string | null;
1857
- /** Seo Description */
1858
- seo_description?: string | null;
1859
- /** Seo Keywords */
1860
- seo_keywords?: string | null;
1861
- };
1862
- /**
1863
- * CreateFolderRequest
1864
- * @description Request model for creating a folder
1865
- */
1866
- CreateFolderRequest: {
1867
- /**
1868
- * Parent Id
1869
- * @description Parent folder ID (fld_xxx). NULL for root-level
1870
- */
1871
- parent_id?: string | null;
1872
- /**
1873
- * Folder Name
1874
- * @description Folder name
1875
- */
1876
- folder_name: string;
1877
- /**
1878
- * Description
1879
- * @description Folder description
1880
- */
1881
- description?: string | null;
1882
- /**
1883
- * Folder Type
1884
- * @description Folder type: custom, media, documents
1885
- */
1886
- folder_type?: string | null;
1887
- /**
1888
- * Metadata
1889
- * @description Custom metadata
1890
- */
1891
- metadata?: {
1892
- [key: string]: unknown;
1893
- } | null;
1894
- };
1895
- /**
1896
- * CreateCollectionRequest
1897
- * @description Request model for creating a collection
1898
- */
1899
- CreateCollectionRequest: {
1900
- /** Collection Name */
1901
- collection_name: string;
1902
- /** Description */
1903
- description?: string | null;
1904
- /** Cover Image Url */
1905
- cover_image_url?: string | null;
1906
- /**
1907
- * Color
1908
- * @default #8B5CF6
1909
- */
1910
- color: string;
1911
- /**
1912
- * Collection Type
1913
- * @description manual, smart, featured
1914
- * @default manual
1915
- */
1916
- collection_type: string;
1917
- /**
1918
- * Visibility
1919
- * @description private, public, organization
1920
- * @default private
1921
- */
1922
- visibility: string;
1923
- };
1924
- /**
1925
- * CreateShareRequest
1926
- * @description Request model for creating share
1784
+ * GrantPermissionRequest
1785
+ * @description Request model for granting a permission
1927
1786
  */
1928
- CreateShareRequest: {
1787
+ GrantPermissionRequest: {
1929
1788
  /**
1930
- * Content Id
1931
- * @description Content external ID (cnt_xxx)
1789
+ * Resource Type
1790
+ * @description Resource type: folder, content
1932
1791
  */
1933
- content_id: string;
1792
+ resource_type: string;
1934
1793
  /**
1935
- * Share Type
1936
- * @description user, team, public, link
1794
+ * Resource Id
1795
+ * @description Resource external ID (fld_xxx or cnt_xxx)
1937
1796
  */
1938
- share_type: string;
1797
+ resource_id: string;
1939
1798
  /**
1940
- * Shared With User Id
1941
- * @description User ID if share_type=user
1799
+ * Principal Type
1800
+ * @description Principal type: user, role, team, public
1942
1801
  */
1943
- shared_with_user_id?: number | null;
1802
+ principal_type: string;
1944
1803
  /**
1945
- * Shared With Team Id
1946
- * @description Team ID if share_type=team
1804
+ * Principal Id
1805
+ * @description ID of user/role/team (NULL for public)
1947
1806
  */
1948
- shared_with_team_id?: number | null;
1807
+ principal_id?: number | null;
1949
1808
  /**
1950
1809
  * Permission Level
1951
- * @description view, comment, edit
1952
- * @default view
1810
+ * @description Permission level: view, edit, delete, admin
1953
1811
  */
1954
1812
  permission_level: string;
1955
1813
  /**
1956
- * Can Reshare
1957
- * @description Allow resharing
1814
+ * Can Share
1815
+ * @description Can grant access to others
1958
1816
  * @default false
1959
1817
  */
1960
- can_reshare: boolean;
1818
+ can_share: boolean;
1961
1819
  /**
1962
1820
  * Can Download
1963
- * @description Allow downloading
1964
- * @default true
1821
+ * @description Can download files
1822
+ * @default false
1965
1823
  */
1966
1824
  can_download: boolean;
1967
1825
  /**
1968
1826
  * Expires At
1969
- * @description Optional expiration
1827
+ * @description Optional expiration date
1970
1828
  */
1971
1829
  expires_at?: string | null;
1972
- /**
1973
- * Password
1974
- * @description Optional password for link sharing
1975
- */
1976
- password?: string | null;
1977
- /**
1978
- * Max Uses
1979
- * @description Max uses (NULL = unlimited)
1980
- */
1981
- max_uses?: number | null;
1982
- };
1983
- /**
1984
- * AddToCollectionRequest
1985
- * @description Request model for adding content to collection
1986
- */
1987
- AddToCollectionRequest: {
1988
- /**
1989
- * Content Ids
1990
- * @description Content IDs to add (cnt_xxx)
1991
- */
1992
- content_ids: string[];
1993
- /**
1994
- * Notes
1995
- * @description Optional notes per content ID
1996
- */
1997
- notes?: {
1998
- [key: string]: string;
1999
- } | null;
2000
1830
  };
2001
1831
  Extensions: {
2002
1832
  /** @example GENERIC_ERROR */
@@ -2007,163 +1837,79 @@ export interface components {
2007
1837
  /** @example Detailed debug information */
2008
1838
  debug?: string | null;
2009
1839
  };
2010
- /**
2011
- * CreateCommentRequest
2012
- * @description Request model for creating comment
2013
- */
2014
- CreateCommentRequest: {
2015
- /**
2016
- * Content Id
2017
- * @description Content external ID (cnt_xxx)
2018
- */
2019
- content_id: string;
2020
- /**
2021
- * Parent Comment Id
2022
- * @description Parent comment ID for nested comments (cmt_xxx)
2023
- */
2024
- parent_comment_id?: string | null;
2025
- /**
2026
- * Comment Text
2027
- * @description Comment text content
2028
- */
2029
- comment_text: string;
2030
- /**
2031
- * Mentioned Users
2032
- * @description List of user IDs mentioned in comment
2033
- */
2034
- mentioned_users?: number[] | null;
1840
+ ErrorResponse: {
1841
+ /** @example about:blank */
1842
+ type?: string;
1843
+ /** @example GENERIC_ERROR */
1844
+ code?: string;
1845
+ /** @example Client Error */
1846
+ title?: string;
1847
+ /** @example 400 */
1848
+ status?: number;
1849
+ /** @example An error occurred */
1850
+ detail?: string;
1851
+ /** @example /v1/cart/items */
1852
+ instance?: string;
1853
+ extensions?: components["schemas"]["Extensions"];
2035
1854
  };
2036
1855
  /**
2037
- * CreateVersionRequest
2038
- * @description Request model for creating content version
1856
+ * CreateVariantRequest
1857
+ * @description Request model for creating asset variant
2039
1858
  */
2040
- CreateVersionRequest: {
1859
+ CreateVariantRequest: {
2041
1860
  /**
2042
- * Content Id
2043
- * @description Content external ID (cnt_xxx)
1861
+ * Asset Id
1862
+ * @description Asset external ID (ast_xxx)
2044
1863
  */
2045
- content_id: string;
1864
+ asset_id: string;
2046
1865
  /**
2047
- * Change Summary
2048
- * @description Summary of changes in this version
1866
+ * Variant Name
1867
+ * @description thumbnail, small, medium, large, compressed
2049
1868
  */
2050
- change_summary?: string | null;
1869
+ variant_name: string;
2051
1870
  /**
2052
- * Change Type
2053
- * @description Type of change: major, minor, patch, draft
2054
- * @default minor
1871
+ * Variant Type
1872
+ * @description resize, crop, compress, convert
2055
1873
  */
2056
- change_type: string;
2057
- };
2058
- /**
2059
- * CreateAssetFromUploadRequest
2060
- * @description Request model for creating asset from upload
2061
- */
2062
- CreateAssetFromUploadRequest: {
1874
+ variant_type: string;
1875
+ /** Mime Type */
1876
+ mime_type: string;
2063
1877
  /**
2064
- * Upload Id
2065
- * @description Upload ID
1878
+ * File Size
1879
+ * @description Variant file size in bytes
2066
1880
  */
2067
- upload_id: string;
2068
- /** File Name */
2069
- file_name: string;
2070
- /** File Size */
2071
1881
  file_size: number;
2072
- /** Mime Type */
2073
- mime_type: string;
2074
1882
  /** Storage Path */
2075
1883
  storage_path: string;
2076
1884
  /** Public Url */
2077
1885
  public_url?: string | null;
2078
- /** Checksum Md5 */
2079
- checksum_md5?: string | null;
2080
- /** Width */
2081
- width?: number | null;
2082
- /** Height */
2083
- height?: number | null;
2084
- /** Duration */
2085
- duration?: number | null;
2086
- /**
2087
- * Content Id
2088
- * @description Content external ID to link to
2089
- */
2090
- content_id?: string | null;
2091
- };
2092
- /**
2093
- * TagContentRequest
2094
- * @description Request model for tagging content
2095
- */
2096
- TagContentRequest: {
2097
- /**
2098
- * Content Id
2099
- * @description Content external ID (cnt_xxx)
2100
- */
2101
- content_id: string;
2102
- /**
2103
- * Tag Ids
2104
- * @description List of tag IDs to apply
2105
- */
2106
- tag_ids: string[];
2107
- };
2108
- InvalidParam: {
2109
- /** @example items[0].quantity */
2110
- field?: string;
2111
- /** @example Input should be greater than or equal to 1 */
2112
- error?: string;
2113
- };
2114
- /**
2115
- * CheckPermissionRequest
2116
- * @description Request model for checking a specific permission
2117
- */
2118
- CheckPermissionRequest: {
2119
1886
  /**
2120
- * Resource Type
2121
- * @description Resource type: folder, content
1887
+ * Width
1888
+ * @description Variant width
2122
1889
  */
2123
- resource_type: string;
1890
+ width?: number | null;
2124
1891
  /**
2125
- * Resource Id
2126
- * @description Resource external ID
1892
+ * Height
1893
+ * @description Variant height
2127
1894
  */
2128
- resource_id: string;
1895
+ height?: number | null;
2129
1896
  /**
2130
- * Permission Level
2131
- * @description Required permission level
1897
+ * Quality
1898
+ * @description Compression quality 1-100
2132
1899
  */
2133
- permission_level: string;
1900
+ quality?: number | null;
2134
1901
  /**
2135
- * User Id
2136
- * @description User to check (defaults to current user)
1902
+ * Transformation Params
1903
+ * @description Transformation parameters used
2137
1904
  */
2138
- user_id?: number | null;
1905
+ transformation_params?: {
1906
+ [key: string]: unknown;
1907
+ } | null;
2139
1908
  };
2140
- /**
2141
- * UpdateCategoryRequest
2142
- * @description Request model for updating a category
2143
- */
2144
- UpdateCategoryRequest: {
2145
- /** Category Name */
2146
- category_name?: string | null;
2147
- /** Description */
2148
- description?: string | null;
2149
- /** Parent Id */
2150
- parent_id?: string | null;
2151
- /** Icon */
2152
- icon?: string | null;
2153
- /** Color */
2154
- color?: string | null;
2155
- /** Cover Image Url */
2156
- cover_image_url?: string | null;
2157
- /** Display Order */
2158
- display_order?: number | null;
2159
- /** Status */
2160
- status?: string | null;
2161
- /** Seo Title */
2162
- seo_title?: string | null;
2163
- /** Seo Description */
2164
- seo_description?: string | null;
2165
- /** Seo Keywords */
2166
- seo_keywords?: string | null;
1909
+ /** Body_updateContentVersionLabel */
1910
+ Body_updateContentVersionLabel: {
1911
+ /** Version Label */
1912
+ version_label: string;
2167
1913
  };
2168
1914
  /**
2169
1915
  * CreateAssetRequest
@@ -2220,48 +1966,177 @@ export interface components {
2220
1966
  * Public Url
2221
1967
  * @description Public/CDN URL
2222
1968
  */
2223
- public_url?: string | null;
1969
+ public_url?: string | null;
1970
+ /**
1971
+ * Checksum
1972
+ * @description MD5/SHA256 hash
1973
+ */
1974
+ checksum?: string | null;
1975
+ /**
1976
+ * Width
1977
+ * @description Image/video width in pixels
1978
+ */
1979
+ width?: number | null;
1980
+ /**
1981
+ * Height
1982
+ * @description Image/video height in pixels
1983
+ */
1984
+ height?: number | null;
1985
+ /**
1986
+ * Duration Seconds
1987
+ * @description Duration for video/audio
1988
+ */
1989
+ duration_seconds?: number | null;
1990
+ /**
1991
+ * Exif Data
1992
+ * @description EXIF metadata for images
1993
+ */
1994
+ exif_data?: {
1995
+ [key: string]: unknown;
1996
+ } | null;
1997
+ /**
1998
+ * Extracted Metadata
1999
+ * @description Other extracted metadata
2000
+ */
2001
+ extracted_metadata?: {
2002
+ [key: string]: unknown;
2003
+ } | null;
2004
+ /**
2005
+ * Extra Metadata
2006
+ * @description Additional metadata
2007
+ */
2008
+ extra_metadata?: {
2009
+ [key: string]: unknown;
2010
+ } | null;
2011
+ };
2012
+ /**
2013
+ * LinkAssetRequest
2014
+ * @description Request model for linking asset to content
2015
+ */
2016
+ LinkAssetRequest: {
2017
+ /**
2018
+ * Content Id
2019
+ * @description Content external ID (cnt_xxx)
2020
+ */
2021
+ content_id: string;
2022
+ };
2023
+ /**
2024
+ * CreateContentRequest
2025
+ * @description Request model for creating content item (metadata only in Phase 1)
2026
+ */
2027
+ CreateContentRequest: {
2028
+ /**
2029
+ * Folder Id
2030
+ * @description Folder ID (fld_xxx)
2031
+ */
2032
+ folder_id?: string | null;
2033
+ /**
2034
+ * Content Type
2035
+ * @description Type: image, video, pdf, html, markdown, embed, json
2036
+ */
2037
+ content_type: string;
2038
+ /**
2039
+ * Content Class
2040
+ * @description Class: file, authored, embedded, structured
2041
+ */
2042
+ content_class: string;
2043
+ /** Title */
2044
+ title: string;
2045
+ /** Description */
2046
+ description?: string | null;
2047
+ /**
2048
+ * Language
2049
+ * @description Locale: en-US, es-ES, fr-FR
2050
+ * @default en-US
2051
+ */
2052
+ language: string;
2053
+ /**
2054
+ * Status
2055
+ * @description Status: draft, published, archived
2056
+ * @default draft
2057
+ */
2058
+ status: string;
2059
+ /** Mime Type */
2060
+ mime_type?: string | null;
2061
+ /** File Size */
2062
+ file_size?: number | null;
2063
+ /** Storage Path */
2064
+ storage_path?: string | null;
2065
+ /** Duration Seconds */
2066
+ duration_seconds?: number | null;
2067
+ /** Width */
2068
+ width?: number | null;
2069
+ /** Height */
2070
+ height?: number | null;
2071
+ /**
2072
+ * Is Public
2073
+ * @default false
2074
+ */
2075
+ is_public: boolean;
2076
+ /**
2077
+ * Is Downloadable
2078
+ * @default true
2079
+ */
2080
+ is_downloadable: boolean;
2081
+ /**
2082
+ * Is Embeddable
2083
+ * @default false
2084
+ */
2085
+ is_embeddable: boolean;
2086
+ /** Metadata */
2087
+ metadata?: {
2088
+ [key: string]: unknown;
2089
+ } | null;
2090
+ /** Search Keywords */
2091
+ search_keywords?: string | null;
2092
+ };
2093
+ /**
2094
+ * CreateCommentRequest
2095
+ * @description Request model for creating comment
2096
+ */
2097
+ app__models__content_models__CreateCommentRequest: {
2224
2098
  /**
2225
- * Checksum
2226
- * @description MD5/SHA256 hash
2099
+ * Content Id
2100
+ * @description Content external ID (cnt_xxx)
2227
2101
  */
2228
- checksum?: string | null;
2102
+ content_id: string;
2229
2103
  /**
2230
- * Width
2231
- * @description Image/video width in pixels
2104
+ * Parent Comment Id
2105
+ * @description Parent comment ID for nested comments (cmt_xxx)
2232
2106
  */
2233
- width?: number | null;
2107
+ parent_comment_id?: string | null;
2234
2108
  /**
2235
- * Height
2236
- * @description Image/video height in pixels
2109
+ * Comment Text
2110
+ * @description Comment text content
2237
2111
  */
2238
- height?: number | null;
2112
+ comment_text: string;
2239
2113
  /**
2240
- * Duration Seconds
2241
- * @description Duration for video/audio
2114
+ * Mentioned Users
2115
+ * @description List of user IDs mentioned in comment
2242
2116
  */
2243
- duration_seconds?: number | null;
2117
+ mentioned_users?: number[] | null;
2118
+ };
2119
+ /**
2120
+ * CreateVersionRequest
2121
+ * @description Request model for creating content version
2122
+ */
2123
+ CreateVersionRequest: {
2244
2124
  /**
2245
- * Exif Data
2246
- * @description EXIF metadata for images
2125
+ * Content Id
2126
+ * @description Content external ID (cnt_xxx)
2247
2127
  */
2248
- exif_data?: {
2249
- [key: string]: unknown;
2250
- } | null;
2128
+ content_id: string;
2251
2129
  /**
2252
- * Extracted Metadata
2253
- * @description Other extracted metadata
2130
+ * Change Summary
2131
+ * @description Summary of changes in this version
2254
2132
  */
2255
- extracted_metadata?: {
2256
- [key: string]: unknown;
2257
- } | null;
2133
+ change_summary?: string | null;
2258
2134
  /**
2259
- * Extra Metadata
2260
- * @description Additional metadata
2135
+ * Change Type
2136
+ * @description Type of change: major, minor, patch, draft
2137
+ * @default minor
2261
2138
  */
2262
- extra_metadata?: {
2263
- [key: string]: unknown;
2264
- } | null;
2139
+ change_type: string;
2265
2140
  };
2266
2141
  /**
2267
2142
  * UpdateContentRequest
@@ -2297,6 +2172,62 @@ export interface components {
2297
2172
  /** Search Keywords */
2298
2173
  search_keywords?: string | null;
2299
2174
  };
2175
+ /**
2176
+ * CreateCollectionRequest
2177
+ * @description Request model for creating a collection
2178
+ */
2179
+ CreateCollectionRequest: {
2180
+ /** Collection Name */
2181
+ collection_name: string;
2182
+ /** Description */
2183
+ description?: string | null;
2184
+ /** Cover Image Url */
2185
+ cover_image_url?: string | null;
2186
+ /**
2187
+ * Color
2188
+ * @default #8B5CF6
2189
+ */
2190
+ color: string;
2191
+ /**
2192
+ * Collection Type
2193
+ * @description manual, smart, featured
2194
+ * @default manual
2195
+ */
2196
+ collection_type: string;
2197
+ /**
2198
+ * Visibility
2199
+ * @description private, public, organization
2200
+ * @default private
2201
+ */
2202
+ visibility: string;
2203
+ };
2204
+ /**
2205
+ * @example {
2206
+ * "status": "success",
2207
+ * "message": "Operation successful",
2208
+ * "message_code": "api_suc_20001",
2209
+ * "data": {},
2210
+ * "metadata": {
2211
+ * "timestamp": "2026-03-26T10:00:00.000Z",
2212
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2213
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2214
+ * "version": "v1",
2215
+ * "executionTime": 42,
2216
+ * "language": "en-US"
2217
+ * }
2218
+ * }
2219
+ */
2220
+ StandardResponse: {
2221
+ /** @example success */
2222
+ status?: string;
2223
+ data?: Record<string, never> | null;
2224
+ /** @example Operation successful */
2225
+ message?: string | null;
2226
+ /** @example api_suc_20001 */
2227
+ message_code?: string | null;
2228
+ metadata?: Record<string, never> | null;
2229
+ error?: components["schemas"]["ErrorResponse"];
2230
+ };
2300
2231
  /**
2301
2232
  * UpdateCommentRequest
2302
2233
  * @description Request model for updating comment
@@ -2306,7 +2237,140 @@ export interface components {
2306
2237
  * Comment Text
2307
2238
  * @description Updated comment text
2308
2239
  */
2309
- comment_text: string;
2240
+ comment_text: string;
2241
+ };
2242
+ InvalidParam: {
2243
+ /** @example items[0].quantity */
2244
+ field?: string;
2245
+ /** @example Input should be greater than or equal to 1 */
2246
+ error?: string;
2247
+ };
2248
+ /**
2249
+ * CreateCommentReactionRequest
2250
+ * @description Request model for creating comment reaction
2251
+ */
2252
+ CreateCommentReactionRequest: {
2253
+ /**
2254
+ * Comment Id
2255
+ * @description Comment external ID (cmt_xxx)
2256
+ */
2257
+ comment_id: string;
2258
+ /**
2259
+ * Reaction Type
2260
+ * @description like, helpful, insightful
2261
+ */
2262
+ reaction_type: string;
2263
+ };
2264
+ /**
2265
+ * UpdatePermissionRequest
2266
+ * @description Request model for updating a permission
2267
+ */
2268
+ UpdatePermissionRequest: {
2269
+ /**
2270
+ * Permission Level
2271
+ * @description New permission level
2272
+ */
2273
+ permission_level?: string | null;
2274
+ /** Can Share */
2275
+ can_share?: boolean | null;
2276
+ /** Can Download */
2277
+ can_download?: boolean | null;
2278
+ /** Expires At */
2279
+ expires_at?: string | null;
2280
+ };
2281
+ /**
2282
+ * AddToCollectionRequest
2283
+ * @description Request model for adding content to collection
2284
+ */
2285
+ AddToCollectionRequest: {
2286
+ /**
2287
+ * Content Ids
2288
+ * @description Content IDs to add (cnt_xxx)
2289
+ */
2290
+ content_ids: string[];
2291
+ /**
2292
+ * Notes
2293
+ * @description Optional notes per content ID
2294
+ */
2295
+ notes?: {
2296
+ [key: string]: string;
2297
+ } | null;
2298
+ };
2299
+ /**
2300
+ * UpdateAssetRequest
2301
+ * @description Request model for updating asset
2302
+ */
2303
+ UpdateAssetRequest: {
2304
+ /** Asset Name */
2305
+ asset_name?: string | null;
2306
+ /** Public Url */
2307
+ public_url?: string | null;
2308
+ /**
2309
+ * Processing Status
2310
+ * @description pending, processing, completed, failed
2311
+ */
2312
+ processing_status?: string | null;
2313
+ /**
2314
+ * Processing Error
2315
+ * @description Error details if processing failed
2316
+ */
2317
+ processing_error?: string | null;
2318
+ /**
2319
+ * Is Optimized
2320
+ * @description Whether asset has been optimized
2321
+ */
2322
+ is_optimized?: boolean | null;
2323
+ /**
2324
+ * Optimized Size
2325
+ * @description Size after optimization
2326
+ */
2327
+ optimized_size?: number | null;
2328
+ /**
2329
+ * Status
2330
+ * @description active, archived, deleted
2331
+ */
2332
+ status?: string | null;
2333
+ /**
2334
+ * Extra Metadata
2335
+ * @description Additional metadata
2336
+ */
2337
+ extra_metadata?: {
2338
+ [key: string]: unknown;
2339
+ } | null;
2340
+ };
2341
+ /**
2342
+ * CreateAssetFromUploadRequest
2343
+ * @description Request model for creating asset from upload
2344
+ */
2345
+ CreateAssetFromUploadRequest: {
2346
+ /**
2347
+ * Upload Id
2348
+ * @description Upload ID
2349
+ */
2350
+ upload_id: string;
2351
+ /** File Name */
2352
+ file_name: string;
2353
+ /** File Size */
2354
+ file_size: number;
2355
+ /** Mime Type */
2356
+ mime_type: string;
2357
+ /** Storage Path */
2358
+ storage_path: string;
2359
+ /** Public Url */
2360
+ public_url?: string | null;
2361
+ /** Checksum Md5 */
2362
+ checksum_md5?: string | null;
2363
+ /** Width */
2364
+ width?: number | null;
2365
+ /** Height */
2366
+ height?: number | null;
2367
+ /** Duration */
2368
+ duration?: number | null;
2369
+ /**
2370
+ * Content Id
2371
+ * @description Content external ID to link to
2372
+ */
2373
+ content_id?: string | null;
2310
2374
  };
2311
2375
  /**
2312
2376
  * UpdateFolderRequest
@@ -2328,176 +2392,112 @@ export interface components {
2328
2392
  parent_id?: string | null;
2329
2393
  };
2330
2394
  /**
2331
- * CreateContentRequest
2332
- * @description Request model for creating content item (metadata only in Phase 1)
2395
+ * UpdateTagRequest
2396
+ * @description Request model for updating a tag
2333
2397
  */
2334
- CreateContentRequest: {
2335
- /**
2336
- * Folder Id
2337
- * @description Folder ID (fld_xxx)
2338
- */
2339
- folder_id?: string | null;
2340
- /**
2341
- * Content Type
2342
- * @description Type: image, video, pdf, html, markdown, embed, json
2343
- */
2344
- content_type: string;
2345
- /**
2346
- * Content Class
2347
- * @description Class: file, authored, embedded, structured
2348
- */
2349
- content_class: string;
2350
- /** Title */
2351
- title: string;
2398
+ UpdateTagRequest: {
2399
+ /** Tag Name */
2400
+ tag_name?: string | null;
2352
2401
  /** Description */
2353
2402
  description?: string | null;
2354
- /**
2355
- * Language
2356
- * @description Locale: en-US, es-ES, fr-FR
2357
- * @default en-US
2358
- */
2359
- language: string;
2360
- /**
2361
- * Status
2362
- * @description Status: draft, published, archived
2363
- * @default draft
2364
- */
2365
- status: string;
2366
- /** Mime Type */
2367
- mime_type?: string | null;
2368
- /** File Size */
2369
- file_size?: number | null;
2370
- /** Storage Path */
2371
- storage_path?: string | null;
2372
- /** Duration Seconds */
2373
- duration_seconds?: number | null;
2374
- /** Width */
2375
- width?: number | null;
2376
- /** Height */
2377
- height?: number | null;
2378
- /**
2379
- * Is Public
2380
- * @default false
2381
- */
2382
- is_public: boolean;
2383
- /**
2384
- * Is Downloadable
2385
- * @default true
2386
- */
2387
- is_downloadable: boolean;
2388
- /**
2389
- * Is Embeddable
2390
- * @default false
2391
- */
2392
- is_embeddable: boolean;
2393
- /** Metadata */
2394
- metadata?: {
2395
- [key: string]: unknown;
2396
- } | null;
2397
- /** Search Keywords */
2398
- search_keywords?: string | null;
2403
+ /** Color */
2404
+ color?: string | null;
2405
+ /** Icon */
2406
+ icon?: string | null;
2399
2407
  };
2400
2408
  /**
2401
- * CreateCommentReactionRequest
2402
- * @description Request model for creating comment reaction
2409
+ * CreateCategoryRequest
2410
+ * @description Request model for creating a category
2403
2411
  */
2404
- CreateCommentReactionRequest: {
2412
+ app__models__content_models__CreateCategoryRequest: {
2405
2413
  /**
2406
- * Comment Id
2407
- * @description Comment external ID (cmt_xxx)
2414
+ * Parent Id
2415
+ * @description Parent category ID (cat_xxx)
2408
2416
  */
2409
- comment_id: string;
2417
+ parent_id?: string | null;
2418
+ /** Category Name */
2419
+ category_name: string;
2420
+ /** Description */
2421
+ description?: string | null;
2422
+ /** Icon */
2423
+ icon?: string | null;
2410
2424
  /**
2411
- * Reaction Type
2412
- * @description like, helpful, insightful
2425
+ * Color
2426
+ * @default #6B7280
2413
2427
  */
2414
- reaction_type: string;
2428
+ color: string;
2429
+ /** Cover Image Url */
2430
+ cover_image_url?: string | null;
2431
+ /**
2432
+ * Display Order
2433
+ * @default 0
2434
+ */
2435
+ display_order: number;
2436
+ /** Seo Title */
2437
+ seo_title?: string | null;
2438
+ /** Seo Description */
2439
+ seo_description?: string | null;
2440
+ /** Seo Keywords */
2441
+ seo_keywords?: string | null;
2415
2442
  };
2416
2443
  /**
2417
- * LinkAssetRequest
2418
- * @description Request model for linking asset to content
2444
+ * CreateShareRequest
2445
+ * @description Request model for creating share
2419
2446
  */
2420
- LinkAssetRequest: {
2447
+ CreateShareRequest: {
2421
2448
  /**
2422
2449
  * Content Id
2423
2450
  * @description Content external ID (cnt_xxx)
2424
2451
  */
2425
2452
  content_id: string;
2426
- };
2427
- /**
2428
- * @example {
2429
- * "status": "success",
2430
- * "message": "Operation successful",
2431
- * "message_code": "api_suc_20001",
2432
- * "data": {},
2433
- * "metadata": {
2434
- * "timestamp": "2026-03-26T10:00:00.000Z",
2435
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2436
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2437
- * "version": "v1",
2438
- * "executionTime": 42,
2439
- * "language": "en-US"
2440
- * }
2441
- * }
2442
- */
2443
- StandardResponse: {
2444
- /** @example success */
2445
- status?: string;
2446
- data?: Record<string, never> | null;
2447
- /** @example Operation successful */
2448
- message?: string | null;
2449
- /** @example api_suc_20001 */
2450
- message_code?: string | null;
2451
- metadata?: Record<string, never> | null;
2452
- error?: components["schemas"]["ErrorResponse"];
2453
- };
2454
- /**
2455
- * GrantPermissionRequest
2456
- * @description Request model for granting a permission
2457
- */
2458
- GrantPermissionRequest: {
2459
- /**
2460
- * Resource Type
2461
- * @description Resource type: folder, content
2462
- */
2463
- resource_type: string;
2464
2453
  /**
2465
- * Resource Id
2466
- * @description Resource external ID (fld_xxx or cnt_xxx)
2454
+ * Share Type
2455
+ * @description user, team, public, link
2467
2456
  */
2468
- resource_id: string;
2457
+ share_type: string;
2469
2458
  /**
2470
- * Principal Type
2471
- * @description Principal type: user, role, team, public
2459
+ * Shared With User Id
2460
+ * @description User ID if share_type=user
2472
2461
  */
2473
- principal_type: string;
2462
+ shared_with_user_id?: number | null;
2474
2463
  /**
2475
- * Principal Id
2476
- * @description ID of user/role/team (NULL for public)
2464
+ * Shared With Team Id
2465
+ * @description Team ID if share_type=team
2477
2466
  */
2478
- principal_id?: number | null;
2467
+ shared_with_team_id?: number | null;
2479
2468
  /**
2480
2469
  * Permission Level
2481
- * @description Permission level: view, edit, delete, admin
2470
+ * @description view, comment, edit
2471
+ * @default view
2482
2472
  */
2483
2473
  permission_level: string;
2484
2474
  /**
2485
- * Can Share
2486
- * @description Can grant access to others
2475
+ * Can Reshare
2476
+ * @description Allow resharing
2487
2477
  * @default false
2488
2478
  */
2489
- can_share: boolean;
2479
+ can_reshare: boolean;
2490
2480
  /**
2491
2481
  * Can Download
2492
- * @description Can download files
2493
- * @default false
2482
+ * @description Allow downloading
2483
+ * @default true
2494
2484
  */
2495
2485
  can_download: boolean;
2496
2486
  /**
2497
2487
  * Expires At
2498
- * @description Optional expiration date
2488
+ * @description Optional expiration
2499
2489
  */
2500
2490
  expires_at?: string | null;
2491
+ /**
2492
+ * Password
2493
+ * @description Optional password for link sharing
2494
+ */
2495
+ password?: string | null;
2496
+ /**
2497
+ * Max Uses
2498
+ * @description Max uses (NULL = unlimited)
2499
+ */
2500
+ max_uses?: number | null;
2501
2501
  };
2502
2502
  };
2503
2503
  responses: never;
@@ -7839,7 +7839,7 @@ export interface operations {
7839
7839
  };
7840
7840
  requestBody: {
7841
7841
  content: {
7842
- "application/json": components["schemas"]["UpdateCategoryRequest"];
7842
+ "application/json": components["schemas"]["app__models__content_models__UpdateCategoryRequest"];
7843
7843
  };
7844
7844
  };
7845
7845
  responses: {
@@ -11305,16 +11305,18 @@ export interface operations {
11305
11305
  };
11306
11306
  };
11307
11307
  };
11308
- getContentAsset: {
11308
+ listOrphanedContentAssets: {
11309
11309
  parameters: {
11310
- query?: never;
11310
+ query?: {
11311
+ /** @description Page number (1-based) */
11312
+ page?: number;
11313
+ /** @description Items per page (1–100, default 50) */
11314
+ limit?: number;
11315
+ };
11311
11316
  header?: {
11312
11317
  authorization?: string | null;
11313
11318
  };
11314
- path: {
11315
- /** @description Asset external ID (ast_xxx) */
11316
- asset_id: string;
11317
- };
11319
+ path?: never;
11318
11320
  cookie?: never;
11319
11321
  };
11320
11322
  requestBody?: never;
@@ -11507,12 +11509,9 @@ export interface operations {
11507
11509
  };
11508
11510
  };
11509
11511
  };
11510
- deleteContentAsset: {
11512
+ getContentAsset: {
11511
11513
  parameters: {
11512
- query?: {
11513
- /** @description Permanently delete (default: soft delete) */
11514
- hard_delete?: boolean;
11515
- };
11514
+ query?: never;
11516
11515
  header?: {
11517
11516
  authorization?: string | null;
11518
11517
  };
@@ -11712,9 +11711,12 @@ export interface operations {
11712
11711
  };
11713
11712
  };
11714
11713
  };
11715
- updateContentAsset: {
11714
+ deleteContentAsset: {
11716
11715
  parameters: {
11717
- query?: never;
11716
+ query?: {
11717
+ /** @description Permanently delete (default: soft delete) */
11718
+ hard_delete?: boolean;
11719
+ };
11718
11720
  header?: {
11719
11721
  authorization?: string | null;
11720
11722
  };
@@ -11724,11 +11726,7 @@ export interface operations {
11724
11726
  };
11725
11727
  cookie?: never;
11726
11728
  };
11727
- requestBody: {
11728
- content: {
11729
- "application/json": components["schemas"]["UpdateAssetRequest"];
11730
- };
11731
- };
11729
+ requestBody?: never;
11732
11730
  responses: {
11733
11731
  /** @description Successful Response */
11734
11732
  200: {
@@ -11918,21 +11916,23 @@ export interface operations {
11918
11916
  };
11919
11917
  };
11920
11918
  };
11921
- listOrphanedContentAssets: {
11919
+ updateContentAsset: {
11922
11920
  parameters: {
11923
- query?: {
11924
- /** @description Page number (1-based) */
11925
- page?: number;
11926
- /** @description Items per page (1–100, default 50) */
11927
- limit?: number;
11928
- };
11921
+ query?: never;
11929
11922
  header?: {
11930
11923
  authorization?: string | null;
11931
11924
  };
11932
- path?: never;
11925
+ path: {
11926
+ /** @description Asset external ID (ast_xxx) */
11927
+ asset_id: string;
11928
+ };
11933
11929
  cookie?: never;
11934
11930
  };
11935
- requestBody?: never;
11931
+ requestBody: {
11932
+ content: {
11933
+ "application/json": components["schemas"]["UpdateAssetRequest"];
11934
+ };
11935
+ };
11936
11936
  responses: {
11937
11937
  /** @description Successful Response */
11938
11938
  200: {
@@ -13558,7 +13558,7 @@ export interface operations {
13558
13558
  };
13559
13559
  requestBody: {
13560
13560
  content: {
13561
- "application/json": components["schemas"]["CreateCommentRequest"];
13561
+ "application/json": components["schemas"]["app__models__content_models__CreateCommentRequest"];
13562
13562
  };
13563
13563
  };
13564
13564
  responses: {