@blezgo/api-sdk 0.1.3 → 0.1.5

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 (138) hide show
  1. package/dist/account/generated.d.ts +153 -153
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +57 -57
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +104 -104
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +85 -85
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +89 -89
  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 +52 -52
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +43 -43
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +15 -15
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +116 -116
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +168 -168
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +116 -116
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +30 -30
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +37 -37
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +157 -157
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +30 -30
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +107 -107
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +231 -231
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +44 -44
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +14 -14
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +60 -60
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +527 -527
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +60 -60
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +348 -348
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +96 -96
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +124 -124
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +15 -15
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +15 -15
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +24 -24
  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 +111 -111
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +105 -105
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +27 -27
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +117 -117
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +15 -15
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +15 -15
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +85 -85
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +295 -295
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +191 -191
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +261 -261
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +15 -15
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +116 -116
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +21 -21
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +548 -548
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +15 -15
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +349 -349
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +41 -41
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +398 -398
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +333 -333
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +81 -81
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +178 -178
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +63 -63
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +218 -218
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +96 -96
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +957 -957
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +370 -370
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +533 -533
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +15 -15
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1426 -1426
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +127 -127
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +528 -528
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +56 -56
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +509 -509
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +50 -50
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +29 -29
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +80 -80
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +76 -70
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +336 -336
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
  138. package/test-commit.txt +1 -0
@@ -1570,61 +1570,6 @@ 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
- };
1612
- /**
1613
- * RevertVersionRequest
1614
- * @description Request model for reverting to a version
1615
- */
1616
- RevertVersionRequest: {
1617
- /**
1618
- * Version Number
1619
- * @description Version number to revert to
1620
- */
1621
- version_number: number;
1622
- /**
1623
- * Change Summary
1624
- * @description Reason for reverting
1625
- */
1626
- change_summary?: string | null;
1627
- };
1628
1573
  /**
1629
1574
  * TagContentRequest
1630
1575
  * @description Request model for tagging content
@@ -1642,127 +1587,121 @@ export interface components {
1642
1587
  tag_ids: string[];
1643
1588
  };
1644
1589
  /**
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
- };
1672
- /**
1673
- * UpdateCollectionRequest
1674
- * @description Request model for updating a collection
1675
- */
1676
- UpdateCollectionRequest: {
1677
- /** Collection Name */
1678
- collection_name?: string | null;
1679
- /** Description */
1680
- description?: string | null;
1681
- /** Cover Image Url */
1682
- cover_image_url?: string | null;
1683
- /** Color */
1684
- color?: string | null;
1685
- /** Visibility */
1686
- visibility?: string | null;
1687
- /** Is Featured */
1688
- is_featured?: boolean | null;
1689
- };
1690
- /**
1691
- * CreateTagRequest
1692
- * @description Request model for creating a tag
1590
+ * CreateAssetRequest
1591
+ * @description Request model for creating content asset
1693
1592
  */
1694
- app__models__content_models__CreateTagRequest: {
1695
- /** Tag Name */
1696
- tag_name: string;
1697
- /** Description */
1698
- description?: string | null;
1593
+ CreateAssetRequest: {
1699
1594
  /**
1700
- * Color
1701
- * @description Hex color code
1702
- * @default #3B82F6
1595
+ * Content Id
1596
+ * @description Content external ID (cnt_xxx) - NULL for orphaned assets
1703
1597
  */
1704
- color: string;
1705
- /** Icon */
1706
- icon?: string | null;
1707
- };
1708
- /**
1709
- * CreateFolderRequest
1710
- * @description Request model for creating a folder
1711
- */
1712
- CreateFolderRequest: {
1598
+ content_id?: string | null;
1713
1599
  /**
1714
- * Parent Id
1715
- * @description Parent folder ID (fld_xxx). NULL for root-level
1600
+ * Asset Name
1601
+ * @description Display name for the asset
1716
1602
  */
1717
- parent_id?: string | null;
1603
+ asset_name: string;
1718
1604
  /**
1719
- * Folder Name
1720
- * @description Folder name
1605
+ * Asset Type
1606
+ * @description Asset type: image, video, audio, document, archive
1721
1607
  */
1722
- folder_name: string;
1608
+ asset_type: string;
1723
1609
  /**
1724
- * Description
1725
- * @description Folder description
1610
+ * Mime Type
1611
+ * @description MIME type (e.g., image/jpeg)
1726
1612
  */
1727
- description?: string | null;
1613
+ mime_type: string;
1728
1614
  /**
1729
- * Folder Type
1730
- * @description Folder type: custom, media, documents
1615
+ * File Extension
1616
+ * @description File extension (e.g., .jpg)
1731
1617
  */
1732
- folder_type?: string | null;
1618
+ file_extension: string;
1733
1619
  /**
1734
- * Metadata
1735
- * @description Custom metadata
1620
+ * File Size
1621
+ * @description File size in bytes
1736
1622
  */
1737
- metadata?: {
1738
- [key: string]: unknown;
1739
- } | null;
1740
- };
1741
- /**
1742
- * CheckPermissionRequest
1743
- * @description Request model for checking a specific permission
1744
- */
1745
- CheckPermissionRequest: {
1623
+ file_size: number;
1746
1624
  /**
1747
- * Resource Type
1748
- * @description Resource type: folder, content
1625
+ * Original Filename
1626
+ * @description Original uploaded filename
1749
1627
  */
1750
- resource_type: string;
1628
+ original_filename: string;
1751
1629
  /**
1752
- * Resource Id
1753
- * @description Resource external ID
1630
+ * Storage Path
1631
+ * @description S3/storage path
1754
1632
  */
1755
- resource_id: string;
1633
+ storage_path: string;
1756
1634
  /**
1757
- * Permission Level
1758
- * @description Required permission level
1635
+ * Storage Provider
1636
+ * @description Storage provider: s3, local, cdn
1637
+ * @default s3
1759
1638
  */
1760
- permission_level: string;
1639
+ storage_provider: string;
1761
1640
  /**
1762
- * User Id
1763
- * @description User to check (defaults to current user)
1641
+ * Public Url
1642
+ * @description Public/CDN URL
1764
1643
  */
1765
- user_id?: number | null;
1644
+ public_url?: string | null;
1645
+ /**
1646
+ * Checksum
1647
+ * @description MD5/SHA256 hash
1648
+ */
1649
+ checksum?: string | null;
1650
+ /**
1651
+ * Width
1652
+ * @description Image/video width in pixels
1653
+ */
1654
+ width?: number | null;
1655
+ /**
1656
+ * Height
1657
+ * @description Image/video height in pixels
1658
+ */
1659
+ height?: number | null;
1660
+ /**
1661
+ * Duration Seconds
1662
+ * @description Duration for video/audio
1663
+ */
1664
+ duration_seconds?: number | null;
1665
+ /**
1666
+ * Exif Data
1667
+ * @description EXIF metadata for images
1668
+ */
1669
+ exif_data?: {
1670
+ [key: string]: unknown;
1671
+ } | null;
1672
+ /**
1673
+ * Extracted Metadata
1674
+ * @description Other extracted metadata
1675
+ */
1676
+ extracted_metadata?: {
1677
+ [key: string]: unknown;
1678
+ } | null;
1679
+ /**
1680
+ * Extra Metadata
1681
+ * @description Additional metadata
1682
+ */
1683
+ extra_metadata?: {
1684
+ [key: string]: unknown;
1685
+ } | null;
1686
+ };
1687
+ /**
1688
+ * UpdateFolderRequest
1689
+ * @description Request model for updating a folder
1690
+ */
1691
+ UpdateFolderRequest: {
1692
+ /** Folder Name */
1693
+ folder_name?: string | null;
1694
+ /** Description */
1695
+ description?: string | null;
1696
+ /** Metadata */
1697
+ metadata?: {
1698
+ [key: string]: unknown;
1699
+ } | null;
1700
+ /**
1701
+ * Parent Id
1702
+ * @description Move to new parent
1703
+ */
1704
+ parent_id?: string | null;
1766
1705
  };
1767
1706
  /**
1768
1707
  * CreateReactionRequest
@@ -1781,10 +1720,10 @@ export interface components {
1781
1720
  reaction_type: string;
1782
1721
  };
1783
1722
  /**
1784
- * GrantPermissionRequest
1785
- * @description Request model for granting a permission
1723
+ * CheckPermissionRequest
1724
+ * @description Request model for checking a specific permission
1786
1725
  */
1787
- GrantPermissionRequest: {
1726
+ CheckPermissionRequest: {
1788
1727
  /**
1789
1728
  * Resource Type
1790
1729
  * @description Resource type: folder, content
@@ -1792,41 +1731,19 @@ export interface components {
1792
1731
  resource_type: string;
1793
1732
  /**
1794
1733
  * Resource Id
1795
- * @description Resource external ID (fld_xxx or cnt_xxx)
1734
+ * @description Resource external ID
1796
1735
  */
1797
1736
  resource_id: string;
1798
- /**
1799
- * Principal Type
1800
- * @description Principal type: user, role, team, public
1801
- */
1802
- principal_type: string;
1803
- /**
1804
- * Principal Id
1805
- * @description ID of user/role/team (NULL for public)
1806
- */
1807
- principal_id?: number | null;
1808
1737
  /**
1809
1738
  * Permission Level
1810
- * @description Permission level: view, edit, delete, admin
1739
+ * @description Required permission level
1811
1740
  */
1812
1741
  permission_level: string;
1813
1742
  /**
1814
- * Can Share
1815
- * @description Can grant access to others
1816
- * @default false
1817
- */
1818
- can_share: boolean;
1819
- /**
1820
- * Can Download
1821
- * @description Can download files
1822
- * @default false
1823
- */
1824
- can_download: boolean;
1825
- /**
1826
- * Expires At
1827
- * @description Optional expiration date
1743
+ * User Id
1744
+ * @description User to check (defaults to current user)
1828
1745
  */
1829
- expires_at?: string | null;
1746
+ user_id?: number | null;
1830
1747
  };
1831
1748
  Extensions: {
1832
1749
  /** @example GENERIC_ERROR */
@@ -1837,188 +1754,170 @@ export interface components {
1837
1754
  /** @example Detailed debug information */
1838
1755
  debug?: string | null;
1839
1756
  };
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"];
1854
- };
1855
1757
  /**
1856
- * CreateVariantRequest
1857
- * @description Request model for creating asset variant
1758
+ * CreateTagRequest
1759
+ * @description Request model for creating a tag
1858
1760
  */
1859
- CreateVariantRequest: {
1761
+ CreateTagRequest: {
1762
+ /** Tag Name */
1763
+ tag_name: string;
1764
+ /** Description */
1765
+ description?: string | null;
1860
1766
  /**
1861
- * Asset Id
1862
- * @description Asset external ID (ast_xxx)
1767
+ * Color
1768
+ * @description Hex color code
1769
+ * @default #3B82F6
1863
1770
  */
1864
- asset_id: string;
1771
+ color: string;
1772
+ /** Icon */
1773
+ icon?: string | null;
1774
+ };
1775
+ /**
1776
+ * UpdatePermissionRequest
1777
+ * @description Request model for updating a permission
1778
+ */
1779
+ UpdatePermissionRequest: {
1865
1780
  /**
1866
- * Variant Name
1867
- * @description thumbnail, small, medium, large, compressed
1781
+ * Permission Level
1782
+ * @description New permission level
1868
1783
  */
1869
- variant_name: string;
1784
+ permission_level?: string | null;
1785
+ /** Can Share */
1786
+ can_share?: boolean | null;
1787
+ /** Can Download */
1788
+ can_download?: boolean | null;
1789
+ /** Expires At */
1790
+ expires_at?: string | null;
1791
+ };
1792
+ /**
1793
+ * CreateAssetFromUploadRequest
1794
+ * @description Request model for creating asset from upload
1795
+ */
1796
+ CreateAssetFromUploadRequest: {
1870
1797
  /**
1871
- * Variant Type
1872
- * @description resize, crop, compress, convert
1798
+ * Upload Id
1799
+ * @description Upload ID
1873
1800
  */
1874
- variant_type: string;
1801
+ upload_id: string;
1802
+ /** File Name */
1803
+ file_name: string;
1804
+ /** File Size */
1805
+ file_size: number;
1875
1806
  /** Mime Type */
1876
1807
  mime_type: string;
1877
- /**
1878
- * File Size
1879
- * @description Variant file size in bytes
1880
- */
1881
- file_size: number;
1882
1808
  /** Storage Path */
1883
1809
  storage_path: string;
1884
1810
  /** Public Url */
1885
1811
  public_url?: string | null;
1886
- /**
1887
- * Width
1888
- * @description Variant width
1889
- */
1812
+ /** Checksum Md5 */
1813
+ checksum_md5?: string | null;
1814
+ /** Width */
1890
1815
  width?: number | null;
1891
- /**
1892
- * Height
1893
- * @description Variant height
1894
- */
1816
+ /** Height */
1895
1817
  height?: number | null;
1818
+ /** Duration */
1819
+ duration?: number | null;
1896
1820
  /**
1897
- * Quality
1898
- * @description Compression quality 1-100
1899
- */
1900
- quality?: number | null;
1901
- /**
1902
- * Transformation Params
1903
- * @description Transformation parameters used
1821
+ * Content Id
1822
+ * @description Content external ID to link to
1904
1823
  */
1905
- transformation_params?: {
1906
- [key: string]: unknown;
1907
- } | null;
1908
- };
1909
- /** Body_updateContentVersionLabel */
1910
- Body_updateContentVersionLabel: {
1911
- /** Version Label */
1912
- version_label: string;
1824
+ content_id?: string | null;
1913
1825
  };
1914
1826
  /**
1915
- * CreateAssetRequest
1916
- * @description Request model for creating content asset
1827
+ * RevertVersionRequest
1828
+ * @description Request model for reverting to a version
1917
1829
  */
1918
- CreateAssetRequest: {
1830
+ RevertVersionRequest: {
1919
1831
  /**
1920
- * Content Id
1921
- * @description Content external ID (cnt_xxx) - NULL for orphaned assets
1832
+ * Version Number
1833
+ * @description Version number to revert to
1922
1834
  */
1923
- content_id?: string | null;
1835
+ version_number: number;
1924
1836
  /**
1925
- * Asset Name
1926
- * @description Display name for the asset
1837
+ * Change Summary
1838
+ * @description Reason for reverting
1927
1839
  */
1928
- asset_name: string;
1840
+ change_summary?: string | null;
1841
+ };
1842
+ /**
1843
+ * CreateCategoryRequest
1844
+ * @description Request model for creating a category
1845
+ */
1846
+ app__models__content_models__CreateCategoryRequest: {
1929
1847
  /**
1930
- * Asset Type
1931
- * @description Asset type: image, video, audio, document, archive
1848
+ * Parent Id
1849
+ * @description Parent category ID (cat_xxx)
1932
1850
  */
1933
- asset_type: string;
1851
+ parent_id?: string | null;
1852
+ /** Category Name */
1853
+ category_name: string;
1854
+ /** Description */
1855
+ description?: string | null;
1856
+ /** Icon */
1857
+ icon?: string | null;
1934
1858
  /**
1935
- * Mime Type
1936
- * @description MIME type (e.g., image/jpeg)
1859
+ * Color
1860
+ * @default #6B7280
1937
1861
  */
1938
- mime_type: string;
1862
+ color: string;
1863
+ /** Cover Image Url */
1864
+ cover_image_url?: string | null;
1939
1865
  /**
1940
- * File Extension
1941
- * @description File extension (e.g., .jpg)
1866
+ * Display Order
1867
+ * @default 0
1942
1868
  */
1943
- file_extension: string;
1869
+ display_order: number;
1870
+ /** Seo Title */
1871
+ seo_title?: string | null;
1872
+ /** Seo Description */
1873
+ seo_description?: string | null;
1874
+ /** Seo Keywords */
1875
+ seo_keywords?: string | null;
1876
+ };
1877
+ /**
1878
+ * UploadCallbackRequest
1879
+ * @description Request model for upload completion callback
1880
+ */
1881
+ UploadCallbackRequest: {
1944
1882
  /**
1945
- * File Size
1946
- * @description File size in bytes
1883
+ * Upload Id
1884
+ * @description Upload ID from upload service
1947
1885
  */
1886
+ upload_id: string;
1887
+ /** File Name */
1888
+ file_name: string;
1889
+ /** File Size */
1948
1890
  file_size: number;
1949
- /**
1950
- * Original Filename
1951
- * @description Original uploaded filename
1952
- */
1953
- original_filename: string;
1954
- /**
1955
- * Storage Path
1956
- * @description S3/storage path
1957
- */
1891
+ /** Mime Type */
1892
+ mime_type: string;
1893
+ /** Storage Path */
1958
1894
  storage_path: string;
1959
- /**
1960
- * Storage Provider
1961
- * @description Storage provider: s3, local, cdn
1962
- * @default s3
1963
- */
1964
- storage_provider: string;
1965
- /**
1966
- * Public Url
1967
- * @description Public/CDN URL
1968
- */
1895
+ /** Public Url */
1969
1896
  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
- */
1897
+ /** Checksum Md5 */
1898
+ checksum_md5?: string | null;
1899
+ /** Width */
1979
1900
  width?: number | null;
1980
- /**
1981
- * Height
1982
- * @description Image/video height in pixels
1983
- */
1901
+ /** Height */
1984
1902
  height?: number | null;
1903
+ /** Duration */
1904
+ duration?: number | null;
1985
1905
  /**
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
1906
+ * Upload For
1907
+ * @default content_asset
2007
1908
  */
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: {
1909
+ upload_for: string;
2017
1910
  /**
2018
- * Content Id
2019
- * @description Content external ID (cnt_xxx)
1911
+ * Reference Id
1912
+ * @description Content ID to link to
2020
1913
  */
2021
- content_id: string;
1914
+ reference_id?: string | null;
1915
+ };
1916
+ InvalidParam: {
1917
+ /** @example items[0].quantity */
1918
+ field?: string;
1919
+ /** @example Input should be greater than or equal to 1 */
1920
+ error?: string;
2022
1921
  };
2023
1922
  /**
2024
1923
  * CreateContentRequest
@@ -2090,6 +1989,74 @@ export interface components {
2090
1989
  /** Search Keywords */
2091
1990
  search_keywords?: string | null;
2092
1991
  };
1992
+ ErrorResponse: {
1993
+ /** @example about:blank */
1994
+ type?: string;
1995
+ /** @example GENERIC_ERROR */
1996
+ code?: string;
1997
+ /** @example Client Error */
1998
+ title?: string;
1999
+ /** @example 400 */
2000
+ status?: number;
2001
+ /** @example An error occurred */
2002
+ detail?: string;
2003
+ /** @example /v1/cart/items */
2004
+ instance?: string;
2005
+ extensions?: components["schemas"]["Extensions"];
2006
+ };
2007
+ /**
2008
+ * UpdateCommentRequest
2009
+ * @description Request model for updating comment
2010
+ */
2011
+ UpdateCommentRequest: {
2012
+ /**
2013
+ * Comment Text
2014
+ * @description Updated comment text
2015
+ */
2016
+ comment_text: string;
2017
+ };
2018
+ /**
2019
+ * UpdateAssetRequest
2020
+ * @description Request model for updating asset
2021
+ */
2022
+ UpdateAssetRequest: {
2023
+ /** Asset Name */
2024
+ asset_name?: string | null;
2025
+ /** Public Url */
2026
+ public_url?: string | null;
2027
+ /**
2028
+ * Processing Status
2029
+ * @description pending, processing, completed, failed
2030
+ */
2031
+ processing_status?: string | null;
2032
+ /**
2033
+ * Processing Error
2034
+ * @description Error details if processing failed
2035
+ */
2036
+ processing_error?: string | null;
2037
+ /**
2038
+ * Is Optimized
2039
+ * @description Whether asset has been optimized
2040
+ */
2041
+ is_optimized?: boolean | null;
2042
+ /**
2043
+ * Optimized Size
2044
+ * @description Size after optimization
2045
+ */
2046
+ optimized_size?: number | null;
2047
+ /**
2048
+ * Status
2049
+ * @description active, archived, deleted
2050
+ */
2051
+ status?: string | null;
2052
+ /**
2053
+ * Extra Metadata
2054
+ * @description Additional metadata
2055
+ */
2056
+ extra_metadata?: {
2057
+ [key: string]: unknown;
2058
+ } | null;
2059
+ };
2093
2060
  /**
2094
2061
  * CreateCommentRequest
2095
2062
  * @description Request model for creating comment
@@ -2116,6 +2083,71 @@ export interface components {
2116
2083
  */
2117
2084
  mentioned_users?: number[] | null;
2118
2085
  };
2086
+ /** Body_updateContentVersionLabel */
2087
+ Body_updateContentVersionLabel: {
2088
+ /** Version Label */
2089
+ version_label: string;
2090
+ };
2091
+ /**
2092
+ * UpdateTagRequest
2093
+ * @description Request model for updating a tag
2094
+ */
2095
+ UpdateTagRequest: {
2096
+ /** Tag Name */
2097
+ tag_name?: string | null;
2098
+ /** Description */
2099
+ description?: string | null;
2100
+ /** Color */
2101
+ color?: string | null;
2102
+ /** Icon */
2103
+ icon?: string | null;
2104
+ };
2105
+ /**
2106
+ * UpdateCategoryRequest
2107
+ * @description Request model for updating a category
2108
+ */
2109
+ app__models__content_models__UpdateCategoryRequest: {
2110
+ /** Category Name */
2111
+ category_name?: string | null;
2112
+ /** Description */
2113
+ description?: string | null;
2114
+ /** Parent Id */
2115
+ parent_id?: string | null;
2116
+ /** Icon */
2117
+ icon?: string | null;
2118
+ /** Color */
2119
+ color?: string | null;
2120
+ /** Cover Image Url */
2121
+ cover_image_url?: string | null;
2122
+ /** Display Order */
2123
+ display_order?: number | null;
2124
+ /** Status */
2125
+ status?: string | null;
2126
+ /** Seo Title */
2127
+ seo_title?: string | null;
2128
+ /** Seo Description */
2129
+ seo_description?: string | null;
2130
+ /** Seo Keywords */
2131
+ seo_keywords?: string | null;
2132
+ };
2133
+ /**
2134
+ * AddToCollectionRequest
2135
+ * @description Request model for adding content to collection
2136
+ */
2137
+ AddToCollectionRequest: {
2138
+ /**
2139
+ * Content Ids
2140
+ * @description Content IDs to add (cnt_xxx)
2141
+ */
2142
+ content_ids: string[];
2143
+ /**
2144
+ * Notes
2145
+ * @description Optional notes per content ID
2146
+ */
2147
+ notes?: {
2148
+ [key: string]: string;
2149
+ } | null;
2150
+ };
2119
2151
  /**
2120
2152
  * CreateVersionRequest
2121
2153
  * @description Request model for creating content version
@@ -2139,67 +2171,52 @@ export interface components {
2139
2171
  change_type: string;
2140
2172
  };
2141
2173
  /**
2142
- * UpdateContentRequest
2143
- * @description Request model for updating content item
2174
+ * GrantPermissionRequest
2175
+ * @description Request model for granting a permission
2144
2176
  */
2145
- UpdateContentRequest: {
2146
- /** Title */
2147
- title?: string | null;
2148
- /** Description */
2149
- description?: string | null;
2177
+ GrantPermissionRequest: {
2150
2178
  /**
2151
- * Folder Id
2152
- * @description Move to new folder
2179
+ * Resource Type
2180
+ * @description Resource type: folder, content
2153
2181
  */
2154
- folder_id?: string | null;
2182
+ resource_type: string;
2155
2183
  /**
2156
- * Status
2157
- * @description Change status
2184
+ * Resource Id
2185
+ * @description Resource external ID (fld_xxx or cnt_xxx)
2158
2186
  */
2159
- status?: string | null;
2160
- /** Language */
2161
- language?: string | null;
2162
- /** Is Public */
2163
- is_public?: boolean | null;
2164
- /** Is Downloadable */
2165
- is_downloadable?: boolean | null;
2166
- /** Is Embeddable */
2167
- is_embeddable?: boolean | null;
2168
- /** Metadata */
2169
- metadata?: {
2170
- [key: string]: unknown;
2171
- } | null;
2172
- /** Search Keywords */
2173
- search_keywords?: string | null;
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;
2187
+ resource_id: string;
2186
2188
  /**
2187
- * Color
2188
- * @default #8B5CF6
2189
+ * Principal Type
2190
+ * @description Principal type: user, role, team, public
2189
2191
  */
2190
- color: string;
2192
+ principal_type: string;
2191
2193
  /**
2192
- * Collection Type
2193
- * @description manual, smart, featured
2194
- * @default manual
2194
+ * Principal Id
2195
+ * @description ID of user/role/team (NULL for public)
2195
2196
  */
2196
- collection_type: string;
2197
+ principal_id?: number | null;
2197
2198
  /**
2198
- * Visibility
2199
- * @description private, public, organization
2200
- * @default private
2199
+ * Permission Level
2200
+ * @description Permission level: view, edit, delete, admin
2201
2201
  */
2202
- visibility: string;
2202
+ permission_level: string;
2203
+ /**
2204
+ * Can Share
2205
+ * @description Can grant access to others
2206
+ * @default false
2207
+ */
2208
+ can_share: boolean;
2209
+ /**
2210
+ * Can Download
2211
+ * @description Can download files
2212
+ * @default false
2213
+ */
2214
+ can_download: boolean;
2215
+ /**
2216
+ * Expires At
2217
+ * @description Optional expiration date
2218
+ */
2219
+ expires_at?: string | null;
2203
2220
  };
2204
2221
  /**
2205
2222
  * @example {
@@ -2229,21 +2246,67 @@ export interface components {
2229
2246
  error?: components["schemas"]["ErrorResponse"];
2230
2247
  };
2231
2248
  /**
2232
- * UpdateCommentRequest
2233
- * @description Request model for updating comment
2249
+ * UpdateContentRequest
2250
+ * @description Request model for updating content item
2251
+ */
2252
+ UpdateContentRequest: {
2253
+ /** Title */
2254
+ title?: string | null;
2255
+ /** Description */
2256
+ description?: string | null;
2257
+ /**
2258
+ * Folder Id
2259
+ * @description Move to new folder
2260
+ */
2261
+ folder_id?: string | null;
2262
+ /**
2263
+ * Status
2264
+ * @description Change status
2265
+ */
2266
+ status?: string | null;
2267
+ /** Language */
2268
+ language?: string | null;
2269
+ /** Is Public */
2270
+ is_public?: boolean | null;
2271
+ /** Is Downloadable */
2272
+ is_downloadable?: boolean | null;
2273
+ /** Is Embeddable */
2274
+ is_embeddable?: boolean | null;
2275
+ /** Metadata */
2276
+ metadata?: {
2277
+ [key: string]: unknown;
2278
+ } | null;
2279
+ /** Search Keywords */
2280
+ search_keywords?: string | null;
2281
+ };
2282
+ /**
2283
+ * CreateCollectionRequest
2284
+ * @description Request model for creating a collection
2234
2285
  */
2235
- UpdateCommentRequest: {
2286
+ CreateCollectionRequest: {
2287
+ /** Collection Name */
2288
+ collection_name: string;
2289
+ /** Description */
2290
+ description?: string | null;
2291
+ /** Cover Image Url */
2292
+ cover_image_url?: string | null;
2236
2293
  /**
2237
- * Comment Text
2238
- * @description Updated comment text
2294
+ * Color
2295
+ * @default #8B5CF6
2239
2296
  */
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;
2297
+ color: string;
2298
+ /**
2299
+ * Collection Type
2300
+ * @description manual, smart, featured
2301
+ * @default manual
2302
+ */
2303
+ collection_type: string;
2304
+ /**
2305
+ * Visibility
2306
+ * @description private, public, organization
2307
+ * @default private
2308
+ */
2309
+ visibility: string;
2247
2310
  };
2248
2311
  /**
2249
2312
  * CreateCommentReactionRequest
@@ -2262,183 +2325,120 @@ export interface components {
2262
2325
  reaction_type: string;
2263
2326
  };
2264
2327
  /**
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
2328
+ * UpdateCollectionRequest
2329
+ * @description Request model for updating a collection
2284
2330
  */
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;
2331
+ UpdateCollectionRequest: {
2332
+ /** Collection Name */
2333
+ collection_name?: string | null;
2334
+ /** Description */
2335
+ description?: string | null;
2336
+ /** Cover Image Url */
2337
+ cover_image_url?: string | null;
2338
+ /** Color */
2339
+ color?: string | null;
2340
+ /** Visibility */
2341
+ visibility?: string | null;
2342
+ /** Is Featured */
2343
+ is_featured?: boolean | null;
2298
2344
  };
2299
2345
  /**
2300
- * UpdateAssetRequest
2301
- * @description Request model for updating asset
2346
+ * CreateFolderRequest
2347
+ * @description Request model for creating a folder
2302
2348
  */
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;
2349
+ CreateFolderRequest: {
2313
2350
  /**
2314
- * Processing Error
2315
- * @description Error details if processing failed
2351
+ * Parent Id
2352
+ * @description Parent folder ID (fld_xxx). NULL for root-level
2316
2353
  */
2317
- processing_error?: string | null;
2354
+ parent_id?: string | null;
2318
2355
  /**
2319
- * Is Optimized
2320
- * @description Whether asset has been optimized
2356
+ * Folder Name
2357
+ * @description Folder name
2321
2358
  */
2322
- is_optimized?: boolean | null;
2359
+ folder_name: string;
2323
2360
  /**
2324
- * Optimized Size
2325
- * @description Size after optimization
2361
+ * Description
2362
+ * @description Folder description
2326
2363
  */
2327
- optimized_size?: number | null;
2364
+ description?: string | null;
2328
2365
  /**
2329
- * Status
2330
- * @description active, archived, deleted
2366
+ * Folder Type
2367
+ * @description Folder type: custom, media, documents
2331
2368
  */
2332
- status?: string | null;
2369
+ folder_type?: string | null;
2333
2370
  /**
2334
- * Extra Metadata
2335
- * @description Additional metadata
2371
+ * Metadata
2372
+ * @description Custom metadata
2336
2373
  */
2337
- extra_metadata?: {
2374
+ metadata?: {
2338
2375
  [key: string]: unknown;
2339
2376
  } | null;
2340
2377
  };
2341
2378
  /**
2342
- * CreateAssetFromUploadRequest
2343
- * @description Request model for creating asset from upload
2379
+ * CreateVariantRequest
2380
+ * @description Request model for creating asset variant
2344
2381
  */
2345
- CreateAssetFromUploadRequest: {
2382
+ CreateVariantRequest: {
2346
2383
  /**
2347
- * Upload Id
2348
- * @description Upload ID
2384
+ * Asset Id
2385
+ * @description Asset external ID (ast_xxx)
2349
2386
  */
2350
- upload_id: string;
2351
- /** File Name */
2352
- file_name: string;
2353
- /** File Size */
2354
- file_size: number;
2387
+ asset_id: string;
2388
+ /**
2389
+ * Variant Name
2390
+ * @description thumbnail, small, medium, large, compressed
2391
+ */
2392
+ variant_name: string;
2393
+ /**
2394
+ * Variant Type
2395
+ * @description resize, crop, compress, convert
2396
+ */
2397
+ variant_type: string;
2355
2398
  /** Mime Type */
2356
2399
  mime_type: string;
2400
+ /**
2401
+ * File Size
2402
+ * @description Variant file size in bytes
2403
+ */
2404
+ file_size: number;
2357
2405
  /** Storage Path */
2358
2406
  storage_path: string;
2359
2407
  /** Public Url */
2360
2408
  public_url?: string | null;
2361
- /** Checksum Md5 */
2362
- checksum_md5?: string | null;
2363
- /** Width */
2409
+ /**
2410
+ * Width
2411
+ * @description Variant width
2412
+ */
2364
2413
  width?: number | null;
2365
- /** Height */
2414
+ /**
2415
+ * Height
2416
+ * @description Variant height
2417
+ */
2366
2418
  height?: number | null;
2367
- /** Duration */
2368
- duration?: number | null;
2369
2419
  /**
2370
- * Content Id
2371
- * @description Content external ID to link to
2420
+ * Quality
2421
+ * @description Compression quality 1-100
2372
2422
  */
2373
- content_id?: string | null;
2374
- };
2375
- /**
2376
- * UpdateFolderRequest
2377
- * @description Request model for updating a folder
2378
- */
2379
- UpdateFolderRequest: {
2380
- /** Folder Name */
2381
- folder_name?: string | null;
2382
- /** Description */
2383
- description?: string | null;
2384
- /** Metadata */
2385
- metadata?: {
2386
- [key: string]: unknown;
2387
- } | null;
2423
+ quality?: number | null;
2388
2424
  /**
2389
- * Parent Id
2390
- * @description Move to new parent
2425
+ * Transformation Params
2426
+ * @description Transformation parameters used
2391
2427
  */
2392
- parent_id?: string | null;
2393
- };
2394
- /**
2395
- * UpdateTagRequest
2396
- * @description Request model for updating a tag
2397
- */
2398
- UpdateTagRequest: {
2399
- /** Tag Name */
2400
- tag_name?: string | null;
2401
- /** Description */
2402
- description?: string | null;
2403
- /** Color */
2404
- color?: string | null;
2405
- /** Icon */
2406
- icon?: string | null;
2428
+ transformation_params?: {
2429
+ [key: string]: unknown;
2430
+ } | null;
2407
2431
  };
2408
2432
  /**
2409
- * CreateCategoryRequest
2410
- * @description Request model for creating a category
2433
+ * LinkAssetRequest
2434
+ * @description Request model for linking asset to content
2411
2435
  */
2412
- app__models__content_models__CreateCategoryRequest: {
2413
- /**
2414
- * Parent Id
2415
- * @description Parent category ID (cat_xxx)
2416
- */
2417
- parent_id?: string | null;
2418
- /** Category Name */
2419
- category_name: string;
2420
- /** Description */
2421
- description?: string | null;
2422
- /** Icon */
2423
- icon?: string | null;
2424
- /**
2425
- * Color
2426
- * @default #6B7280
2427
- */
2428
- color: string;
2429
- /** Cover Image Url */
2430
- cover_image_url?: string | null;
2436
+ LinkAssetRequest: {
2431
2437
  /**
2432
- * Display Order
2433
- * @default 0
2438
+ * Content Id
2439
+ * @description Content external ID (cnt_xxx)
2434
2440
  */
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;
2441
+ content_id: string;
2442
2442
  };
2443
2443
  /**
2444
2444
  * CreateShareRequest
@@ -5796,7 +5796,7 @@ export interface operations {
5796
5796
  };
5797
5797
  requestBody: {
5798
5798
  content: {
5799
- "application/json": components["schemas"]["app__models__content_models__CreateTagRequest"];
5799
+ "application/json": components["schemas"]["CreateTagRequest"];
5800
5800
  };
5801
5801
  };
5802
5802
  responses: {