@blezgo/api-sdk 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/generated.d.ts +183 -183
- package/dist/account/generated.d.ts.map +1 -1
- package/dist/activity/generated.d.ts +82 -82
- package/dist/activity/generated.d.ts.map +1 -1
- package/dist/addon/generated.d.ts +88 -88
- package/dist/addon/generated.d.ts.map +1 -1
- package/dist/admin/generated.d.ts +42 -42
- package/dist/admin/generated.d.ts.map +1 -1
- package/dist/affiliate/generated.d.ts +97 -98
- package/dist/affiliate/generated.d.ts.map +1 -1
- package/dist/analytics/generated.d.ts +27 -27
- package/dist/analytics/generated.d.ts.map +1 -1
- package/dist/announcements/generated.d.ts +118 -118
- package/dist/announcements/generated.d.ts.map +1 -1
- package/dist/apikeys/generated.d.ts +46 -46
- package/dist/apikeys/generated.d.ts.map +1 -1
- package/dist/assistance/generated.d.ts +24 -24
- package/dist/assistance/generated.d.ts.map +1 -1
- package/dist/authentication/generated.d.ts +73 -73
- package/dist/authentication/generated.d.ts.map +1 -1
- package/dist/blog/generated.d.ts +142 -142
- package/dist/blog/generated.d.ts.map +1 -1
- package/dist/bundle/generated.d.ts +124 -124
- package/dist/bundle/generated.d.ts.map +1 -1
- package/dist/cache/generated.d.ts +32 -32
- package/dist/cache/generated.d.ts.map +1 -1
- package/dist/calendar/generated.d.ts +59 -59
- package/dist/calendar/generated.d.ts.map +1 -1
- package/dist/campaigns/generated.d.ts +151 -151
- package/dist/campaigns/generated.d.ts.map +1 -1
- package/dist/cart/generated.d.ts +41 -41
- package/dist/cart/generated.d.ts.map +1 -1
- package/dist/changelog/generated.d.ts +90 -90
- package/dist/changelog/generated.d.ts.map +1 -1
- package/dist/channel/generated.d.ts +256 -256
- package/dist/channel/generated.d.ts.map +1 -1
- package/dist/company/generated.d.ts +73 -73
- package/dist/company/generated.d.ts.map +1 -1
- package/dist/conference/generated.d.ts +160 -160
- package/dist/conference/generated.d.ts.map +1 -1
- package/dist/config/generated.d.ts +57 -57
- package/dist/config/generated.d.ts.map +1 -1
- package/dist/content/generated.d.ts +620 -620
- package/dist/content/generated.d.ts.map +1 -1
- package/dist/cookies/generated.d.ts +85 -85
- package/dist/cookies/generated.d.ts.map +1 -1
- package/dist/courses/generated.d.ts +381 -381
- package/dist/courses/generated.d.ts.map +1 -1
- package/dist/custom/generated.d.ts +103 -103
- package/dist/custom/generated.d.ts.map +1 -1
- package/dist/dashboard/generated.d.ts +148 -148
- package/dist/dashboard/generated.d.ts.map +1 -1
- package/dist/elasticsearch/generated.d.ts +37 -37
- package/dist/elasticsearch/generated.d.ts.map +1 -1
- package/dist/enrollments/generated.d.ts +21 -21
- package/dist/enrollments/generated.d.ts.map +1 -1
- package/dist/errors/generated.d.ts +21 -21
- package/dist/errors/generated.d.ts.map +1 -1
- package/dist/eventconfig/generated.d.ts +88 -88
- package/dist/eventconfig/generated.d.ts.map +1 -1
- package/dist/funnels/generated.d.ts +124 -125
- package/dist/funnels/generated.d.ts.map +1 -1
- package/dist/gamification/generated.d.ts +151 -151
- package/dist/gamification/generated.d.ts.map +1 -1
- package/dist/impersonation/generated.d.ts +33 -33
- package/dist/impersonation/generated.d.ts.map +1 -1
- package/dist/inbox/generated.d.ts +154 -154
- package/dist/inbox/generated.d.ts.map +1 -1
- package/dist/internal/generated.d.ts +21 -21
- package/dist/internal/generated.d.ts.map +1 -1
- package/dist/internationalization/generated.d.ts +23 -23
- package/dist/internationalization/generated.d.ts.map +1 -1
- package/dist/invitations/generated.d.ts +107 -107
- package/dist/invitations/generated.d.ts.map +1 -1
- package/dist/meetings/generated.d.ts +332 -332
- package/dist/meetings/generated.d.ts.map +1 -1
- package/dist/metas/generated.d.ts +200 -200
- package/dist/metas/generated.d.ts.map +1 -1
- package/dist/notification/generated.d.ts +279 -279
- package/dist/notification/generated.d.ts.map +1 -1
- package/dist/notifications/generated.d.ts +21 -21
- package/dist/notifications/generated.d.ts.map +1 -1
- package/dist/onboarding/generated.d.ts +95 -95
- package/dist/onboarding/generated.d.ts.map +1 -1
- package/dist/packages/generated.d.ts +77 -77
- package/dist/packages/generated.d.ts.map +1 -1
- package/dist/payments/generated.d.ts +628 -631
- package/dist/payments/generated.d.ts.map +1 -1
- package/dist/payouts/generated.d.ts +21 -21
- package/dist/payouts/generated.d.ts.map +1 -1
- package/dist/plans/generated.d.ts +405 -405
- package/dist/plans/generated.d.ts.map +1 -1
- package/dist/pricing/generated.d.ts +75 -75
- package/dist/pricing/generated.d.ts.map +1 -1
- package/dist/products/generated.d.ts +420 -420
- package/dist/products/generated.d.ts.map +1 -1
- package/dist/profile/generated.d.ts +310 -310
- package/dist/profile/generated.d.ts.map +1 -1
- package/dist/reasons/generated.d.ts +64 -64
- package/dist/reasons/generated.d.ts.map +1 -1
- package/dist/registration/generated.d.ts +163 -163
- package/dist/registration/generated.d.ts.map +1 -1
- package/dist/reviews/generated.d.ts +47 -47
- package/dist/reviews/generated.d.ts.map +1 -1
- package/dist/role/generated.d.ts +944 -446
- package/dist/role/generated.d.ts.map +1 -1
- package/dist/scheduling/generated.d.ts +76 -76
- package/dist/scheduling/generated.d.ts.map +1 -1
- package/dist/services/generated.d.ts +1119 -1119
- package/dist/services/generated.d.ts.map +1 -1
- package/dist/sessions/generated.d.ts +313 -313
- package/dist/sessions/generated.d.ts.map +1 -1
- package/dist/spaces/generated.d.ts +340 -340
- package/dist/spaces/generated.d.ts.map +1 -1
- package/dist/storefront/generated.d.ts +21 -21
- package/dist/storefront/generated.d.ts.map +1 -1
- package/dist/support/generated.d.ts +1624 -1624
- package/dist/support/generated.d.ts.map +1 -1
- package/dist/sync/generated.d.ts +176 -176
- package/dist/sync/generated.d.ts.map +1 -1
- package/dist/tenant/generated.d.ts +487 -487
- package/dist/tenant/generated.d.ts.map +1 -1
- package/dist/testimonials/generated.d.ts +86 -86
- package/dist/testimonials/generated.d.ts.map +1 -1
- package/dist/tests/generated.d.ts +456 -456
- package/dist/tests/generated.d.ts.map +1 -1
- package/dist/tokens/generated.d.ts +54 -54
- package/dist/tokens/generated.d.ts.map +1 -1
- package/dist/uploads/generated.d.ts +65 -65
- package/dist/uploads/generated.d.ts.map +1 -1
- package/dist/upsell/generated.d.ts +105 -105
- package/dist/upsell/generated.d.ts.map +1 -1
- package/dist/user/generated.d.ts +272 -527
- package/dist/user/generated.d.ts.map +1 -1
- package/dist/webinars/generated.d.ts +260 -260
- package/dist/webinars/generated.d.ts.map +1 -1
- package/package.json +1 -1
- package/test-commit.txt +1 -0
|
@@ -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;
|
|
@@ -1571,20 +1571,53 @@ export type webhooks = Record<string, never>;
|
|
|
1571
1571
|
export interface components {
|
|
1572
1572
|
schemas: {
|
|
1573
1573
|
/**
|
|
1574
|
-
*
|
|
1575
|
-
* @description Request model for
|
|
1574
|
+
* UpdateTagRequest
|
|
1575
|
+
* @description Request model for updating a tag
|
|
1576
1576
|
*/
|
|
1577
|
-
|
|
1577
|
+
UpdateTagRequest: {
|
|
1578
|
+
/** Tag Name */
|
|
1579
|
+
tag_name?: string | null;
|
|
1580
|
+
/** Description */
|
|
1581
|
+
description?: string | null;
|
|
1582
|
+
/** Color */
|
|
1583
|
+
color?: string | null;
|
|
1584
|
+
/** Icon */
|
|
1585
|
+
icon?: string | null;
|
|
1586
|
+
};
|
|
1587
|
+
/**
|
|
1588
|
+
* CreateCategoryRequest
|
|
1589
|
+
* @description Request model for creating a category
|
|
1590
|
+
*/
|
|
1591
|
+
app__models__content_models__CreateCategoryRequest: {
|
|
1578
1592
|
/**
|
|
1579
|
-
*
|
|
1580
|
-
* @description
|
|
1593
|
+
* Parent Id
|
|
1594
|
+
* @description Parent category ID (cat_xxx)
|
|
1581
1595
|
*/
|
|
1582
|
-
|
|
1596
|
+
parent_id?: string | null;
|
|
1597
|
+
/** Category Name */
|
|
1598
|
+
category_name: string;
|
|
1599
|
+
/** Description */
|
|
1600
|
+
description?: string | null;
|
|
1601
|
+
/** Icon */
|
|
1602
|
+
icon?: string | null;
|
|
1583
1603
|
/**
|
|
1584
|
-
*
|
|
1585
|
-
* @
|
|
1604
|
+
* Color
|
|
1605
|
+
* @default #6B7280
|
|
1586
1606
|
*/
|
|
1587
|
-
|
|
1607
|
+
color: string;
|
|
1608
|
+
/** Cover Image Url */
|
|
1609
|
+
cover_image_url?: string | null;
|
|
1610
|
+
/**
|
|
1611
|
+
* Display Order
|
|
1612
|
+
* @default 0
|
|
1613
|
+
*/
|
|
1614
|
+
display_order: number;
|
|
1615
|
+
/** Seo Title */
|
|
1616
|
+
seo_title?: string | null;
|
|
1617
|
+
/** Seo Description */
|
|
1618
|
+
seo_description?: string | null;
|
|
1619
|
+
/** Seo Keywords */
|
|
1620
|
+
seo_keywords?: string | null;
|
|
1588
1621
|
};
|
|
1589
1622
|
/**
|
|
1590
1623
|
* UpdateCollectionRequest
|
|
@@ -1605,105 +1638,114 @@ export interface components {
|
|
|
1605
1638
|
is_featured?: boolean | null;
|
|
1606
1639
|
};
|
|
1607
1640
|
/**
|
|
1608
|
-
*
|
|
1609
|
-
* @description Request model for creating a
|
|
1641
|
+
* CreateCollectionRequest
|
|
1642
|
+
* @description Request model for creating a collection
|
|
1610
1643
|
*/
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
|
|
1644
|
+
CreateCollectionRequest: {
|
|
1645
|
+
/** Collection Name */
|
|
1646
|
+
collection_name: string;
|
|
1614
1647
|
/** Description */
|
|
1615
1648
|
description?: string | null;
|
|
1649
|
+
/** Cover Image Url */
|
|
1650
|
+
cover_image_url?: string | null;
|
|
1616
1651
|
/**
|
|
1617
1652
|
* Color
|
|
1618
|
-
* @
|
|
1619
|
-
* @default #3B82F6
|
|
1653
|
+
* @default #8B5CF6
|
|
1620
1654
|
*/
|
|
1621
1655
|
color: string;
|
|
1622
|
-
/**
|
|
1623
|
-
|
|
1656
|
+
/**
|
|
1657
|
+
* Collection Type
|
|
1658
|
+
* @description manual, smart, featured
|
|
1659
|
+
* @default manual
|
|
1660
|
+
*/
|
|
1661
|
+
collection_type: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* Visibility
|
|
1664
|
+
* @description private, public, organization
|
|
1665
|
+
* @default private
|
|
1666
|
+
*/
|
|
1667
|
+
visibility: string;
|
|
1624
1668
|
};
|
|
1625
|
-
|
|
1626
|
-
/** @example
|
|
1627
|
-
|
|
1628
|
-
/** @example
|
|
1629
|
-
|
|
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"];
|
|
1669
|
+
InvalidParam: {
|
|
1670
|
+
/** @example items[0].quantity */
|
|
1671
|
+
field?: string;
|
|
1672
|
+
/** @example Input should be greater than or equal to 1 */
|
|
1673
|
+
error?: string;
|
|
1639
1674
|
};
|
|
1640
1675
|
/**
|
|
1641
|
-
*
|
|
1642
|
-
*
|
|
1676
|
+
* @example {
|
|
1677
|
+
* "status": "success",
|
|
1678
|
+
* "message": "Operation successful",
|
|
1679
|
+
* "message_code": "api_suc_20001",
|
|
1680
|
+
* "data": {},
|
|
1681
|
+
* "metadata": {
|
|
1682
|
+
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
1683
|
+
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
1684
|
+
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
1685
|
+
* "version": "v1",
|
|
1686
|
+
* "executionTime": 42,
|
|
1687
|
+
* "language": "en-US"
|
|
1688
|
+
* }
|
|
1689
|
+
* }
|
|
1643
1690
|
*/
|
|
1644
|
-
|
|
1645
|
-
/**
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1691
|
+
StandardResponse: {
|
|
1692
|
+
/** @example success */
|
|
1693
|
+
status?: string;
|
|
1694
|
+
data?: Record<string, never> | null;
|
|
1695
|
+
/** @example Operation successful */
|
|
1696
|
+
message?: string | null;
|
|
1697
|
+
/** @example api_suc_20001 */
|
|
1698
|
+
message_code?: string | null;
|
|
1699
|
+
metadata?: Record<string, never> | null;
|
|
1700
|
+
error?: components["schemas"]["ErrorResponse"];
|
|
1653
1701
|
};
|
|
1654
1702
|
/**
|
|
1655
|
-
*
|
|
1656
|
-
* @description Request model for
|
|
1703
|
+
* GrantPermissionRequest
|
|
1704
|
+
* @description Request model for granting a permission
|
|
1657
1705
|
*/
|
|
1658
|
-
|
|
1706
|
+
GrantPermissionRequest: {
|
|
1659
1707
|
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @description
|
|
1708
|
+
* Resource Type
|
|
1709
|
+
* @description Resource type: folder, content
|
|
1662
1710
|
*/
|
|
1663
|
-
|
|
1711
|
+
resource_type: string;
|
|
1664
1712
|
/**
|
|
1665
|
-
*
|
|
1666
|
-
* @description
|
|
1713
|
+
* Resource Id
|
|
1714
|
+
* @description Resource external ID (fld_xxx or cnt_xxx)
|
|
1667
1715
|
*/
|
|
1668
|
-
|
|
1716
|
+
resource_id: string;
|
|
1669
1717
|
/**
|
|
1670
|
-
*
|
|
1671
|
-
* @description
|
|
1718
|
+
* Principal Type
|
|
1719
|
+
* @description Principal type: user, role, team, public
|
|
1672
1720
|
*/
|
|
1673
|
-
|
|
1674
|
-
/** Mime Type */
|
|
1675
|
-
mime_type: string;
|
|
1721
|
+
principal_type: string;
|
|
1676
1722
|
/**
|
|
1677
|
-
*
|
|
1678
|
-
* @description
|
|
1723
|
+
* Principal Id
|
|
1724
|
+
* @description ID of user/role/team (NULL for public)
|
|
1679
1725
|
*/
|
|
1680
|
-
|
|
1681
|
-
/** Storage Path */
|
|
1682
|
-
storage_path: string;
|
|
1683
|
-
/** Public Url */
|
|
1684
|
-
public_url?: string | null;
|
|
1726
|
+
principal_id?: number | null;
|
|
1685
1727
|
/**
|
|
1686
|
-
*
|
|
1687
|
-
* @description
|
|
1728
|
+
* Permission Level
|
|
1729
|
+
* @description Permission level: view, edit, delete, admin
|
|
1688
1730
|
*/
|
|
1689
|
-
|
|
1731
|
+
permission_level: string;
|
|
1690
1732
|
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @description
|
|
1733
|
+
* Can Share
|
|
1734
|
+
* @description Can grant access to others
|
|
1735
|
+
* @default false
|
|
1693
1736
|
*/
|
|
1694
|
-
|
|
1737
|
+
can_share: boolean;
|
|
1695
1738
|
/**
|
|
1696
|
-
*
|
|
1697
|
-
* @description
|
|
1739
|
+
* Can Download
|
|
1740
|
+
* @description Can download files
|
|
1741
|
+
* @default false
|
|
1698
1742
|
*/
|
|
1699
|
-
|
|
1743
|
+
can_download: boolean;
|
|
1700
1744
|
/**
|
|
1701
|
-
*
|
|
1702
|
-
* @description
|
|
1745
|
+
* Expires At
|
|
1746
|
+
* @description Optional expiration date
|
|
1703
1747
|
*/
|
|
1704
|
-
|
|
1705
|
-
[key: string]: unknown;
|
|
1706
|
-
} | null;
|
|
1748
|
+
expires_at?: string | null;
|
|
1707
1749
|
};
|
|
1708
1750
|
/**
|
|
1709
1751
|
* UpdateAssetRequest
|
|
@@ -1748,42 +1790,113 @@ export interface components {
|
|
|
1748
1790
|
} | null;
|
|
1749
1791
|
};
|
|
1750
1792
|
/**
|
|
1751
|
-
*
|
|
1752
|
-
* @description Request model for
|
|
1793
|
+
* UpdateCommentRequest
|
|
1794
|
+
* @description Request model for updating comment
|
|
1753
1795
|
*/
|
|
1754
|
-
|
|
1796
|
+
UpdateCommentRequest: {
|
|
1755
1797
|
/**
|
|
1756
|
-
*
|
|
1757
|
-
* @description
|
|
1798
|
+
* Comment Text
|
|
1799
|
+
* @description Updated comment text
|
|
1758
1800
|
*/
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Reaction Type
|
|
1762
|
-
* @description like, love, helpful, insightful, celebrate
|
|
1763
|
-
*/
|
|
1764
|
-
reaction_type: string;
|
|
1801
|
+
comment_text: string;
|
|
1765
1802
|
};
|
|
1766
1803
|
/**
|
|
1767
|
-
*
|
|
1768
|
-
* @description Request model for
|
|
1804
|
+
* CreateAssetRequest
|
|
1805
|
+
* @description Request model for creating content asset
|
|
1769
1806
|
*/
|
|
1770
|
-
|
|
1807
|
+
CreateAssetRequest: {
|
|
1771
1808
|
/**
|
|
1772
|
-
*
|
|
1773
|
-
* @description
|
|
1809
|
+
* Content Id
|
|
1810
|
+
* @description Content external ID (cnt_xxx) - NULL for orphaned assets
|
|
1774
1811
|
*/
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1812
|
+
content_id?: string | null;
|
|
1813
|
+
/**
|
|
1814
|
+
* Asset Name
|
|
1815
|
+
* @description Display name for the asset
|
|
1816
|
+
*/
|
|
1817
|
+
asset_name: string;
|
|
1818
|
+
/**
|
|
1819
|
+
* Asset Type
|
|
1820
|
+
* @description Asset type: image, video, audio, document, archive
|
|
1821
|
+
*/
|
|
1822
|
+
asset_type: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* Mime Type
|
|
1825
|
+
* @description MIME type (e.g., image/jpeg)
|
|
1826
|
+
*/
|
|
1827
|
+
mime_type: string;
|
|
1828
|
+
/**
|
|
1829
|
+
* File Extension
|
|
1830
|
+
* @description File extension (e.g., .jpg)
|
|
1831
|
+
*/
|
|
1832
|
+
file_extension: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* File Size
|
|
1835
|
+
* @description File size in bytes
|
|
1836
|
+
*/
|
|
1837
|
+
file_size: number;
|
|
1838
|
+
/**
|
|
1839
|
+
* Original Filename
|
|
1840
|
+
* @description Original uploaded filename
|
|
1841
|
+
*/
|
|
1842
|
+
original_filename: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* Storage Path
|
|
1845
|
+
* @description S3/storage path
|
|
1846
|
+
*/
|
|
1847
|
+
storage_path: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* Storage Provider
|
|
1850
|
+
* @description Storage provider: s3, local, cdn
|
|
1851
|
+
* @default s3
|
|
1852
|
+
*/
|
|
1853
|
+
storage_provider: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Public Url
|
|
1856
|
+
* @description Public/CDN URL
|
|
1857
|
+
*/
|
|
1858
|
+
public_url?: string | null;
|
|
1859
|
+
/**
|
|
1860
|
+
* Checksum
|
|
1861
|
+
* @description MD5/SHA256 hash
|
|
1862
|
+
*/
|
|
1863
|
+
checksum?: string | null;
|
|
1864
|
+
/**
|
|
1865
|
+
* Width
|
|
1866
|
+
* @description Image/video width in pixels
|
|
1867
|
+
*/
|
|
1868
|
+
width?: number | null;
|
|
1869
|
+
/**
|
|
1870
|
+
* Height
|
|
1871
|
+
* @description Image/video height in pixels
|
|
1872
|
+
*/
|
|
1873
|
+
height?: number | null;
|
|
1874
|
+
/**
|
|
1875
|
+
* Duration Seconds
|
|
1876
|
+
* @description Duration for video/audio
|
|
1877
|
+
*/
|
|
1878
|
+
duration_seconds?: number | null;
|
|
1879
|
+
/**
|
|
1880
|
+
* Exif Data
|
|
1881
|
+
* @description EXIF metadata for images
|
|
1882
|
+
*/
|
|
1883
|
+
exif_data?: {
|
|
1884
|
+
[key: string]: unknown;
|
|
1885
|
+
} | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* Extracted Metadata
|
|
1888
|
+
* @description Other extracted metadata
|
|
1889
|
+
*/
|
|
1890
|
+
extracted_metadata?: {
|
|
1891
|
+
[key: string]: unknown;
|
|
1892
|
+
} | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* Extra Metadata
|
|
1895
|
+
* @description Additional metadata
|
|
1896
|
+
*/
|
|
1897
|
+
extra_metadata?: {
|
|
1898
|
+
[key: string]: unknown;
|
|
1899
|
+
} | null;
|
|
1787
1900
|
};
|
|
1788
1901
|
/**
|
|
1789
1902
|
* UploadCallbackRequest
|
|
@@ -1825,160 +1938,166 @@ export interface components {
|
|
|
1825
1938
|
reference_id?: string | null;
|
|
1826
1939
|
};
|
|
1827
1940
|
/**
|
|
1828
|
-
*
|
|
1829
|
-
* @description Request model for creating
|
|
1941
|
+
* CreateContentRequest
|
|
1942
|
+
* @description Request model for creating content item (metadata only in Phase 1)
|
|
1830
1943
|
*/
|
|
1831
|
-
|
|
1944
|
+
CreateContentRequest: {
|
|
1832
1945
|
/**
|
|
1833
|
-
*
|
|
1834
|
-
* @description
|
|
1946
|
+
* Folder Id
|
|
1947
|
+
* @description Folder ID (fld_xxx)
|
|
1835
1948
|
*/
|
|
1836
|
-
|
|
1837
|
-
/** Category Name */
|
|
1838
|
-
category_name: string;
|
|
1839
|
-
/** Description */
|
|
1840
|
-
description?: string | null;
|
|
1841
|
-
/** Icon */
|
|
1842
|
-
icon?: string | null;
|
|
1949
|
+
folder_id?: string | null;
|
|
1843
1950
|
/**
|
|
1844
|
-
*
|
|
1845
|
-
* @
|
|
1951
|
+
* Content Type
|
|
1952
|
+
* @description Type: image, video, pdf, html, markdown, embed, json
|
|
1846
1953
|
*/
|
|
1847
|
-
|
|
1848
|
-
/** Cover Image Url */
|
|
1849
|
-
cover_image_url?: string | null;
|
|
1954
|
+
content_type: string;
|
|
1850
1955
|
/**
|
|
1851
|
-
*
|
|
1852
|
-
* @
|
|
1956
|
+
* Content Class
|
|
1957
|
+
* @description Class: file, authored, embedded, structured
|
|
1853
1958
|
*/
|
|
1854
|
-
|
|
1855
|
-
/**
|
|
1856
|
-
|
|
1857
|
-
/**
|
|
1858
|
-
|
|
1859
|
-
/** Seo Keywords */
|
|
1860
|
-
seo_keywords?: string | null;
|
|
1861
|
-
};
|
|
1862
|
-
/**
|
|
1863
|
-
* CreateFolderRequest
|
|
1864
|
-
* @description Request model for creating a folder
|
|
1865
|
-
*/
|
|
1866
|
-
CreateFolderRequest: {
|
|
1959
|
+
content_class: string;
|
|
1960
|
+
/** Title */
|
|
1961
|
+
title: string;
|
|
1962
|
+
/** Description */
|
|
1963
|
+
description?: string | null;
|
|
1867
1964
|
/**
|
|
1868
|
-
*
|
|
1869
|
-
* @description
|
|
1965
|
+
* Language
|
|
1966
|
+
* @description Locale: en-US, es-ES, fr-FR
|
|
1967
|
+
* @default en-US
|
|
1870
1968
|
*/
|
|
1871
|
-
|
|
1969
|
+
language: string;
|
|
1872
1970
|
/**
|
|
1873
|
-
*
|
|
1874
|
-
* @description
|
|
1971
|
+
* Status
|
|
1972
|
+
* @description Status: draft, published, archived
|
|
1973
|
+
* @default draft
|
|
1875
1974
|
*/
|
|
1876
|
-
|
|
1975
|
+
status: string;
|
|
1976
|
+
/** Mime Type */
|
|
1977
|
+
mime_type?: string | null;
|
|
1978
|
+
/** File Size */
|
|
1979
|
+
file_size?: number | null;
|
|
1980
|
+
/** Storage Path */
|
|
1981
|
+
storage_path?: string | null;
|
|
1982
|
+
/** Duration Seconds */
|
|
1983
|
+
duration_seconds?: number | null;
|
|
1984
|
+
/** Width */
|
|
1985
|
+
width?: number | null;
|
|
1986
|
+
/** Height */
|
|
1987
|
+
height?: number | null;
|
|
1877
1988
|
/**
|
|
1878
|
-
*
|
|
1879
|
-
* @
|
|
1989
|
+
* Is Public
|
|
1990
|
+
* @default false
|
|
1880
1991
|
*/
|
|
1881
|
-
|
|
1992
|
+
is_public: boolean;
|
|
1882
1993
|
/**
|
|
1883
|
-
*
|
|
1884
|
-
* @
|
|
1994
|
+
* Is Downloadable
|
|
1995
|
+
* @default true
|
|
1885
1996
|
*/
|
|
1886
|
-
|
|
1997
|
+
is_downloadable: boolean;
|
|
1887
1998
|
/**
|
|
1888
|
-
*
|
|
1889
|
-
* @
|
|
1999
|
+
* Is Embeddable
|
|
2000
|
+
* @default false
|
|
1890
2001
|
*/
|
|
2002
|
+
is_embeddable: boolean;
|
|
2003
|
+
/** Metadata */
|
|
1891
2004
|
metadata?: {
|
|
1892
2005
|
[key: string]: unknown;
|
|
1893
2006
|
} | null;
|
|
2007
|
+
/** Search Keywords */
|
|
2008
|
+
search_keywords?: string | null;
|
|
2009
|
+
};
|
|
2010
|
+
Extensions: {
|
|
2011
|
+
/** @example GENERIC_ERROR */
|
|
2012
|
+
message_code?: string;
|
|
2013
|
+
/** @example [] */
|
|
2014
|
+
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
2015
|
+
extra_data?: Record<string, never> | null;
|
|
2016
|
+
/** @example Detailed debug information */
|
|
2017
|
+
debug?: string | null;
|
|
1894
2018
|
};
|
|
1895
2019
|
/**
|
|
1896
|
-
*
|
|
1897
|
-
* @description Request model for
|
|
2020
|
+
* UpdateCategoryRequest
|
|
2021
|
+
* @description Request model for updating a category
|
|
1898
2022
|
*/
|
|
1899
|
-
|
|
1900
|
-
/**
|
|
1901
|
-
|
|
2023
|
+
UpdateCategoryRequest: {
|
|
2024
|
+
/** Category Name */
|
|
2025
|
+
category_name?: string | null;
|
|
1902
2026
|
/** Description */
|
|
1903
2027
|
description?: string | null;
|
|
2028
|
+
/** Parent Id */
|
|
2029
|
+
parent_id?: string | null;
|
|
2030
|
+
/** Icon */
|
|
2031
|
+
icon?: string | null;
|
|
2032
|
+
/** Color */
|
|
2033
|
+
color?: string | null;
|
|
1904
2034
|
/** Cover Image Url */
|
|
1905
2035
|
cover_image_url?: string | null;
|
|
1906
|
-
/**
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
collection_type: string;
|
|
1917
|
-
/**
|
|
1918
|
-
* Visibility
|
|
1919
|
-
* @description private, public, organization
|
|
1920
|
-
* @default private
|
|
1921
|
-
*/
|
|
1922
|
-
visibility: string;
|
|
2036
|
+
/** Display Order */
|
|
2037
|
+
display_order?: number | null;
|
|
2038
|
+
/** Status */
|
|
2039
|
+
status?: string | null;
|
|
2040
|
+
/** Seo Title */
|
|
2041
|
+
seo_title?: string | null;
|
|
2042
|
+
/** Seo Description */
|
|
2043
|
+
seo_description?: string | null;
|
|
2044
|
+
/** Seo Keywords */
|
|
2045
|
+
seo_keywords?: string | null;
|
|
1923
2046
|
};
|
|
1924
2047
|
/**
|
|
1925
|
-
*
|
|
1926
|
-
* @description Request model for creating
|
|
2048
|
+
* CreateAssetFromUploadRequest
|
|
2049
|
+
* @description Request model for creating asset from upload
|
|
1927
2050
|
*/
|
|
1928
|
-
|
|
1929
|
-
/**
|
|
1930
|
-
* Content Id
|
|
1931
|
-
* @description Content external ID (cnt_xxx)
|
|
1932
|
-
*/
|
|
1933
|
-
content_id: string;
|
|
1934
|
-
/**
|
|
1935
|
-
* Share Type
|
|
1936
|
-
* @description user, team, public, link
|
|
1937
|
-
*/
|
|
1938
|
-
share_type: string;
|
|
1939
|
-
/**
|
|
1940
|
-
* Shared With User Id
|
|
1941
|
-
* @description User ID if share_type=user
|
|
1942
|
-
*/
|
|
1943
|
-
shared_with_user_id?: number | null;
|
|
1944
|
-
/**
|
|
1945
|
-
* Shared With Team Id
|
|
1946
|
-
* @description Team ID if share_type=team
|
|
1947
|
-
*/
|
|
1948
|
-
shared_with_team_id?: number | null;
|
|
1949
|
-
/**
|
|
1950
|
-
* Permission Level
|
|
1951
|
-
* @description view, comment, edit
|
|
1952
|
-
* @default view
|
|
1953
|
-
*/
|
|
1954
|
-
permission_level: string;
|
|
1955
|
-
/**
|
|
1956
|
-
* Can Reshare
|
|
1957
|
-
* @description Allow resharing
|
|
1958
|
-
* @default false
|
|
1959
|
-
*/
|
|
1960
|
-
can_reshare: boolean;
|
|
2051
|
+
CreateAssetFromUploadRequest: {
|
|
1961
2052
|
/**
|
|
1962
|
-
*
|
|
1963
|
-
* @description
|
|
1964
|
-
* @default true
|
|
2053
|
+
* Upload Id
|
|
2054
|
+
* @description Upload ID
|
|
1965
2055
|
*/
|
|
1966
|
-
|
|
2056
|
+
upload_id: string;
|
|
2057
|
+
/** File Name */
|
|
2058
|
+
file_name: string;
|
|
2059
|
+
/** File Size */
|
|
2060
|
+
file_size: number;
|
|
2061
|
+
/** Mime Type */
|
|
2062
|
+
mime_type: string;
|
|
2063
|
+
/** Storage Path */
|
|
2064
|
+
storage_path: string;
|
|
2065
|
+
/** Public Url */
|
|
2066
|
+
public_url?: string | null;
|
|
2067
|
+
/** Checksum Md5 */
|
|
2068
|
+
checksum_md5?: string | null;
|
|
2069
|
+
/** Width */
|
|
2070
|
+
width?: number | null;
|
|
2071
|
+
/** Height */
|
|
2072
|
+
height?: number | null;
|
|
2073
|
+
/** Duration */
|
|
2074
|
+
duration?: number | null;
|
|
1967
2075
|
/**
|
|
1968
|
-
*
|
|
1969
|
-
* @description
|
|
2076
|
+
* Content Id
|
|
2077
|
+
* @description Content external ID to link to
|
|
1970
2078
|
*/
|
|
1971
|
-
|
|
2079
|
+
content_id?: string | null;
|
|
2080
|
+
};
|
|
2081
|
+
/** Body_updateContentVersionLabel */
|
|
2082
|
+
Body_updateContentVersionLabel: {
|
|
2083
|
+
/** Version Label */
|
|
2084
|
+
version_label: string;
|
|
2085
|
+
};
|
|
2086
|
+
/**
|
|
2087
|
+
* CreateCommentReactionRequest
|
|
2088
|
+
* @description Request model for creating comment reaction
|
|
2089
|
+
*/
|
|
2090
|
+
CreateCommentReactionRequest: {
|
|
1972
2091
|
/**
|
|
1973
|
-
*
|
|
1974
|
-
* @description
|
|
2092
|
+
* Comment Id
|
|
2093
|
+
* @description Comment external ID (cmt_xxx)
|
|
1975
2094
|
*/
|
|
1976
|
-
|
|
2095
|
+
comment_id: string;
|
|
1977
2096
|
/**
|
|
1978
|
-
*
|
|
1979
|
-
* @description
|
|
2097
|
+
* Reaction Type
|
|
2098
|
+
* @description like, helpful, insightful
|
|
1980
2099
|
*/
|
|
1981
|
-
|
|
2100
|
+
reaction_type: string;
|
|
1982
2101
|
};
|
|
1983
2102
|
/**
|
|
1984
2103
|
* AddToCollectionRequest
|
|
@@ -1998,40 +2117,22 @@ export interface components {
|
|
|
1998
2117
|
[key: string]: string;
|
|
1999
2118
|
} | null;
|
|
2000
2119
|
};
|
|
2001
|
-
Extensions: {
|
|
2002
|
-
/** @example GENERIC_ERROR */
|
|
2003
|
-
message_code?: string;
|
|
2004
|
-
/** @example [] */
|
|
2005
|
-
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
2006
|
-
extra_data?: Record<string, never> | null;
|
|
2007
|
-
/** @example Detailed debug information */
|
|
2008
|
-
debug?: string | null;
|
|
2009
|
-
};
|
|
2010
2120
|
/**
|
|
2011
|
-
*
|
|
2012
|
-
* @description Request model for
|
|
2121
|
+
* UpdatePermissionRequest
|
|
2122
|
+
* @description Request model for updating a permission
|
|
2013
2123
|
*/
|
|
2014
|
-
|
|
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;
|
|
2124
|
+
UpdatePermissionRequest: {
|
|
2030
2125
|
/**
|
|
2031
|
-
*
|
|
2032
|
-
* @description
|
|
2126
|
+
* Permission Level
|
|
2127
|
+
* @description New permission level
|
|
2033
2128
|
*/
|
|
2034
|
-
|
|
2129
|
+
permission_level?: string | null;
|
|
2130
|
+
/** Can Share */
|
|
2131
|
+
can_share?: boolean | null;
|
|
2132
|
+
/** Can Download */
|
|
2133
|
+
can_download?: boolean | null;
|
|
2134
|
+
/** Expires At */
|
|
2135
|
+
expires_at?: string | null;
|
|
2035
2136
|
};
|
|
2036
2137
|
/**
|
|
2037
2138
|
* CreateVersionRequest
|
|
@@ -2056,60 +2157,56 @@ export interface components {
|
|
|
2056
2157
|
change_type: string;
|
|
2057
2158
|
};
|
|
2058
2159
|
/**
|
|
2059
|
-
*
|
|
2060
|
-
* @description Request model for
|
|
2160
|
+
* UpdateFolderRequest
|
|
2161
|
+
* @description Request model for updating a folder
|
|
2061
2162
|
*/
|
|
2062
|
-
|
|
2063
|
-
/**
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
file_size: number;
|
|
2072
|
-
/** Mime Type */
|
|
2073
|
-
mime_type: string;
|
|
2074
|
-
/** Storage Path */
|
|
2075
|
-
storage_path: string;
|
|
2076
|
-
/** Public Url */
|
|
2077
|
-
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;
|
|
2163
|
+
UpdateFolderRequest: {
|
|
2164
|
+
/** Folder Name */
|
|
2165
|
+
folder_name?: string | null;
|
|
2166
|
+
/** Description */
|
|
2167
|
+
description?: string | null;
|
|
2168
|
+
/** Metadata */
|
|
2169
|
+
metadata?: {
|
|
2170
|
+
[key: string]: unknown;
|
|
2171
|
+
} | null;
|
|
2086
2172
|
/**
|
|
2087
|
-
*
|
|
2088
|
-
* @description
|
|
2173
|
+
* Parent Id
|
|
2174
|
+
* @description Move to new parent
|
|
2089
2175
|
*/
|
|
2090
|
-
|
|
2176
|
+
parent_id?: string | null;
|
|
2091
2177
|
};
|
|
2092
2178
|
/**
|
|
2093
|
-
*
|
|
2094
|
-
* @description Request model for
|
|
2179
|
+
* CreateFolderRequest
|
|
2180
|
+
* @description Request model for creating a folder
|
|
2095
2181
|
*/
|
|
2096
|
-
|
|
2182
|
+
CreateFolderRequest: {
|
|
2097
2183
|
/**
|
|
2098
|
-
*
|
|
2099
|
-
* @description
|
|
2184
|
+
* Parent Id
|
|
2185
|
+
* @description Parent folder ID (fld_xxx). NULL for root-level
|
|
2100
2186
|
*/
|
|
2101
|
-
|
|
2187
|
+
parent_id?: string | null;
|
|
2102
2188
|
/**
|
|
2103
|
-
*
|
|
2104
|
-
* @description
|
|
2189
|
+
* Folder Name
|
|
2190
|
+
* @description Folder name
|
|
2191
|
+
*/
|
|
2192
|
+
folder_name: string;
|
|
2193
|
+
/**
|
|
2194
|
+
* Description
|
|
2195
|
+
* @description Folder description
|
|
2196
|
+
*/
|
|
2197
|
+
description?: string | null;
|
|
2198
|
+
/**
|
|
2199
|
+
* Folder Type
|
|
2200
|
+
* @description Folder type: custom, media, documents
|
|
2201
|
+
*/
|
|
2202
|
+
folder_type?: string | null;
|
|
2203
|
+
/**
|
|
2204
|
+
* Metadata
|
|
2205
|
+
* @description Custom metadata
|
|
2105
2206
|
*/
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
/** @example items[0].quantity */
|
|
2110
|
-
field?: string;
|
|
2111
|
-
/** @example Input should be greater than or equal to 1 */
|
|
2112
|
-
error?: string;
|
|
2207
|
+
metadata?: {
|
|
2208
|
+
[key: string]: unknown;
|
|
2209
|
+
} | null;
|
|
2113
2210
|
};
|
|
2114
2211
|
/**
|
|
2115
2212
|
* CheckPermissionRequest
|
|
@@ -2138,130 +2235,20 @@ export interface components {
|
|
|
2138
2235
|
user_id?: number | null;
|
|
2139
2236
|
};
|
|
2140
2237
|
/**
|
|
2141
|
-
*
|
|
2142
|
-
* @description Request model for
|
|
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;
|
|
2167
|
-
};
|
|
2168
|
-
/**
|
|
2169
|
-
* CreateAssetRequest
|
|
2170
|
-
* @description Request model for creating content asset
|
|
2238
|
+
* CreateReactionRequest
|
|
2239
|
+
* @description Request model for creating reaction
|
|
2171
2240
|
*/
|
|
2172
|
-
|
|
2241
|
+
CreateReactionRequest: {
|
|
2173
2242
|
/**
|
|
2174
2243
|
* Content Id
|
|
2175
|
-
* @description Content external ID (cnt_xxx)
|
|
2176
|
-
*/
|
|
2177
|
-
content_id?: string | null;
|
|
2178
|
-
/**
|
|
2179
|
-
* Asset Name
|
|
2180
|
-
* @description Display name for the asset
|
|
2181
|
-
*/
|
|
2182
|
-
asset_name: string;
|
|
2183
|
-
/**
|
|
2184
|
-
* Asset Type
|
|
2185
|
-
* @description Asset type: image, video, audio, document, archive
|
|
2186
|
-
*/
|
|
2187
|
-
asset_type: string;
|
|
2188
|
-
/**
|
|
2189
|
-
* Mime Type
|
|
2190
|
-
* @description MIME type (e.g., image/jpeg)
|
|
2191
|
-
*/
|
|
2192
|
-
mime_type: string;
|
|
2193
|
-
/**
|
|
2194
|
-
* File Extension
|
|
2195
|
-
* @description File extension (e.g., .jpg)
|
|
2196
|
-
*/
|
|
2197
|
-
file_extension: string;
|
|
2198
|
-
/**
|
|
2199
|
-
* File Size
|
|
2200
|
-
* @description File size in bytes
|
|
2201
|
-
*/
|
|
2202
|
-
file_size: number;
|
|
2203
|
-
/**
|
|
2204
|
-
* Original Filename
|
|
2205
|
-
* @description Original uploaded filename
|
|
2206
|
-
*/
|
|
2207
|
-
original_filename: string;
|
|
2208
|
-
/**
|
|
2209
|
-
* Storage Path
|
|
2210
|
-
* @description S3/storage path
|
|
2211
|
-
*/
|
|
2212
|
-
storage_path: string;
|
|
2213
|
-
/**
|
|
2214
|
-
* Storage Provider
|
|
2215
|
-
* @description Storage provider: s3, local, cdn
|
|
2216
|
-
* @default s3
|
|
2217
|
-
*/
|
|
2218
|
-
storage_provider: string;
|
|
2219
|
-
/**
|
|
2220
|
-
* Public Url
|
|
2221
|
-
* @description Public/CDN URL
|
|
2222
|
-
*/
|
|
2223
|
-
public_url?: string | null;
|
|
2224
|
-
/**
|
|
2225
|
-
* Checksum
|
|
2226
|
-
* @description MD5/SHA256 hash
|
|
2227
|
-
*/
|
|
2228
|
-
checksum?: string | null;
|
|
2229
|
-
/**
|
|
2230
|
-
* Width
|
|
2231
|
-
* @description Image/video width in pixels
|
|
2232
|
-
*/
|
|
2233
|
-
width?: number | null;
|
|
2234
|
-
/**
|
|
2235
|
-
* Height
|
|
2236
|
-
* @description Image/video height in pixels
|
|
2237
|
-
*/
|
|
2238
|
-
height?: number | null;
|
|
2239
|
-
/**
|
|
2240
|
-
* Duration Seconds
|
|
2241
|
-
* @description Duration for video/audio
|
|
2242
|
-
*/
|
|
2243
|
-
duration_seconds?: number | null;
|
|
2244
|
-
/**
|
|
2245
|
-
* Exif Data
|
|
2246
|
-
* @description EXIF metadata for images
|
|
2247
|
-
*/
|
|
2248
|
-
exif_data?: {
|
|
2249
|
-
[key: string]: unknown;
|
|
2250
|
-
} | null;
|
|
2251
|
-
/**
|
|
2252
|
-
* Extracted Metadata
|
|
2253
|
-
* @description Other extracted metadata
|
|
2244
|
+
* @description Content external ID (cnt_xxx)
|
|
2254
2245
|
*/
|
|
2255
|
-
|
|
2256
|
-
[key: string]: unknown;
|
|
2257
|
-
} | null;
|
|
2246
|
+
content_id: string;
|
|
2258
2247
|
/**
|
|
2259
|
-
*
|
|
2260
|
-
* @description
|
|
2248
|
+
* Reaction Type
|
|
2249
|
+
* @description like, love, helpful, insightful, celebrate
|
|
2261
2250
|
*/
|
|
2262
|
-
|
|
2263
|
-
[key: string]: unknown;
|
|
2264
|
-
} | null;
|
|
2251
|
+
reaction_type: string;
|
|
2265
2252
|
};
|
|
2266
2253
|
/**
|
|
2267
2254
|
* UpdateContentRequest
|
|
@@ -2298,120 +2285,22 @@ export interface components {
|
|
|
2298
2285
|
search_keywords?: string | null;
|
|
2299
2286
|
};
|
|
2300
2287
|
/**
|
|
2301
|
-
*
|
|
2302
|
-
* @description Request model for
|
|
2303
|
-
*/
|
|
2304
|
-
UpdateCommentRequest: {
|
|
2305
|
-
/**
|
|
2306
|
-
* Comment Text
|
|
2307
|
-
* @description Updated comment text
|
|
2308
|
-
*/
|
|
2309
|
-
comment_text: string;
|
|
2310
|
-
};
|
|
2311
|
-
/**
|
|
2312
|
-
* UpdateFolderRequest
|
|
2313
|
-
* @description Request model for updating a folder
|
|
2314
|
-
*/
|
|
2315
|
-
UpdateFolderRequest: {
|
|
2316
|
-
/** Folder Name */
|
|
2317
|
-
folder_name?: string | null;
|
|
2318
|
-
/** Description */
|
|
2319
|
-
description?: string | null;
|
|
2320
|
-
/** Metadata */
|
|
2321
|
-
metadata?: {
|
|
2322
|
-
[key: string]: unknown;
|
|
2323
|
-
} | null;
|
|
2324
|
-
/**
|
|
2325
|
-
* Parent Id
|
|
2326
|
-
* @description Move to new parent
|
|
2327
|
-
*/
|
|
2328
|
-
parent_id?: string | null;
|
|
2329
|
-
};
|
|
2330
|
-
/**
|
|
2331
|
-
* CreateContentRequest
|
|
2332
|
-
* @description Request model for creating content item (metadata only in Phase 1)
|
|
2288
|
+
* CreateTagRequest
|
|
2289
|
+
* @description Request model for creating a tag
|
|
2333
2290
|
*/
|
|
2334
|
-
|
|
2335
|
-
/**
|
|
2336
|
-
|
|
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;
|
|
2291
|
+
app__models__content_models__CreateTagRequest: {
|
|
2292
|
+
/** Tag Name */
|
|
2293
|
+
tag_name: string;
|
|
2352
2294
|
/** Description */
|
|
2353
2295
|
description?: string | null;
|
|
2354
2296
|
/**
|
|
2355
|
-
*
|
|
2356
|
-
* @description
|
|
2357
|
-
* @default
|
|
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;
|
|
2399
|
-
};
|
|
2400
|
-
/**
|
|
2401
|
-
* CreateCommentReactionRequest
|
|
2402
|
-
* @description Request model for creating comment reaction
|
|
2403
|
-
*/
|
|
2404
|
-
CreateCommentReactionRequest: {
|
|
2405
|
-
/**
|
|
2406
|
-
* Comment Id
|
|
2407
|
-
* @description Comment external ID (cmt_xxx)
|
|
2408
|
-
*/
|
|
2409
|
-
comment_id: string;
|
|
2410
|
-
/**
|
|
2411
|
-
* Reaction Type
|
|
2412
|
-
* @description like, helpful, insightful
|
|
2297
|
+
* Color
|
|
2298
|
+
* @description Hex color code
|
|
2299
|
+
* @default #3B82F6
|
|
2413
2300
|
*/
|
|
2414
|
-
|
|
2301
|
+
color: string;
|
|
2302
|
+
/** Icon */
|
|
2303
|
+
icon?: string | null;
|
|
2415
2304
|
};
|
|
2416
2305
|
/**
|
|
2417
2306
|
* LinkAssetRequest
|
|
@@ -2425,79 +2314,190 @@ export interface components {
|
|
|
2425
2314
|
content_id: string;
|
|
2426
2315
|
};
|
|
2427
2316
|
/**
|
|
2428
|
-
*
|
|
2429
|
-
*
|
|
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
|
-
* }
|
|
2317
|
+
* TagContentRequest
|
|
2318
|
+
* @description Request model for tagging content
|
|
2442
2319
|
*/
|
|
2443
|
-
|
|
2444
|
-
/**
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
/**
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2320
|
+
TagContentRequest: {
|
|
2321
|
+
/**
|
|
2322
|
+
* Content Id
|
|
2323
|
+
* @description Content external ID (cnt_xxx)
|
|
2324
|
+
*/
|
|
2325
|
+
content_id: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* Tag Ids
|
|
2328
|
+
* @description List of tag IDs to apply
|
|
2329
|
+
*/
|
|
2330
|
+
tag_ids: string[];
|
|
2453
2331
|
};
|
|
2454
2332
|
/**
|
|
2455
|
-
*
|
|
2456
|
-
* @description Request model for
|
|
2333
|
+
* CreateShareRequest
|
|
2334
|
+
* @description Request model for creating share
|
|
2457
2335
|
*/
|
|
2458
|
-
|
|
2336
|
+
CreateShareRequest: {
|
|
2459
2337
|
/**
|
|
2460
|
-
*
|
|
2461
|
-
* @description
|
|
2338
|
+
* Content Id
|
|
2339
|
+
* @description Content external ID (cnt_xxx)
|
|
2462
2340
|
*/
|
|
2463
|
-
|
|
2341
|
+
content_id: string;
|
|
2464
2342
|
/**
|
|
2465
|
-
*
|
|
2466
|
-
* @description
|
|
2343
|
+
* Share Type
|
|
2344
|
+
* @description user, team, public, link
|
|
2467
2345
|
*/
|
|
2468
|
-
|
|
2346
|
+
share_type: string;
|
|
2469
2347
|
/**
|
|
2470
|
-
*
|
|
2471
|
-
* @description
|
|
2348
|
+
* Shared With User Id
|
|
2349
|
+
* @description User ID if share_type=user
|
|
2472
2350
|
*/
|
|
2473
|
-
|
|
2351
|
+
shared_with_user_id?: number | null;
|
|
2474
2352
|
/**
|
|
2475
|
-
*
|
|
2476
|
-
* @description ID
|
|
2353
|
+
* Shared With Team Id
|
|
2354
|
+
* @description Team ID if share_type=team
|
|
2477
2355
|
*/
|
|
2478
|
-
|
|
2356
|
+
shared_with_team_id?: number | null;
|
|
2479
2357
|
/**
|
|
2480
2358
|
* Permission Level
|
|
2481
|
-
* @description
|
|
2359
|
+
* @description view, comment, edit
|
|
2360
|
+
* @default view
|
|
2482
2361
|
*/
|
|
2483
2362
|
permission_level: string;
|
|
2484
2363
|
/**
|
|
2485
|
-
* Can
|
|
2486
|
-
* @description
|
|
2364
|
+
* Can Reshare
|
|
2365
|
+
* @description Allow resharing
|
|
2487
2366
|
* @default false
|
|
2488
2367
|
*/
|
|
2489
|
-
|
|
2368
|
+
can_reshare: boolean;
|
|
2490
2369
|
/**
|
|
2491
2370
|
* Can Download
|
|
2492
|
-
* @description
|
|
2493
|
-
* @default
|
|
2371
|
+
* @description Allow downloading
|
|
2372
|
+
* @default true
|
|
2494
2373
|
*/
|
|
2495
2374
|
can_download: boolean;
|
|
2496
2375
|
/**
|
|
2497
2376
|
* Expires At
|
|
2498
|
-
* @description Optional expiration
|
|
2377
|
+
* @description Optional expiration
|
|
2499
2378
|
*/
|
|
2500
2379
|
expires_at?: string | null;
|
|
2380
|
+
/**
|
|
2381
|
+
* Password
|
|
2382
|
+
* @description Optional password for link sharing
|
|
2383
|
+
*/
|
|
2384
|
+
password?: string | null;
|
|
2385
|
+
/**
|
|
2386
|
+
* Max Uses
|
|
2387
|
+
* @description Max uses (NULL = unlimited)
|
|
2388
|
+
*/
|
|
2389
|
+
max_uses?: number | null;
|
|
2390
|
+
};
|
|
2391
|
+
/**
|
|
2392
|
+
* CreateVariantRequest
|
|
2393
|
+
* @description Request model for creating asset variant
|
|
2394
|
+
*/
|
|
2395
|
+
CreateVariantRequest: {
|
|
2396
|
+
/**
|
|
2397
|
+
* Asset Id
|
|
2398
|
+
* @description Asset external ID (ast_xxx)
|
|
2399
|
+
*/
|
|
2400
|
+
asset_id: string;
|
|
2401
|
+
/**
|
|
2402
|
+
* Variant Name
|
|
2403
|
+
* @description thumbnail, small, medium, large, compressed
|
|
2404
|
+
*/
|
|
2405
|
+
variant_name: string;
|
|
2406
|
+
/**
|
|
2407
|
+
* Variant Type
|
|
2408
|
+
* @description resize, crop, compress, convert
|
|
2409
|
+
*/
|
|
2410
|
+
variant_type: string;
|
|
2411
|
+
/** Mime Type */
|
|
2412
|
+
mime_type: string;
|
|
2413
|
+
/**
|
|
2414
|
+
* File Size
|
|
2415
|
+
* @description Variant file size in bytes
|
|
2416
|
+
*/
|
|
2417
|
+
file_size: number;
|
|
2418
|
+
/** Storage Path */
|
|
2419
|
+
storage_path: string;
|
|
2420
|
+
/** Public Url */
|
|
2421
|
+
public_url?: string | null;
|
|
2422
|
+
/**
|
|
2423
|
+
* Width
|
|
2424
|
+
* @description Variant width
|
|
2425
|
+
*/
|
|
2426
|
+
width?: number | null;
|
|
2427
|
+
/**
|
|
2428
|
+
* Height
|
|
2429
|
+
* @description Variant height
|
|
2430
|
+
*/
|
|
2431
|
+
height?: number | null;
|
|
2432
|
+
/**
|
|
2433
|
+
* Quality
|
|
2434
|
+
* @description Compression quality 1-100
|
|
2435
|
+
*/
|
|
2436
|
+
quality?: number | null;
|
|
2437
|
+
/**
|
|
2438
|
+
* Transformation Params
|
|
2439
|
+
* @description Transformation parameters used
|
|
2440
|
+
*/
|
|
2441
|
+
transformation_params?: {
|
|
2442
|
+
[key: string]: unknown;
|
|
2443
|
+
} | null;
|
|
2444
|
+
};
|
|
2445
|
+
/**
|
|
2446
|
+
* CreateCommentRequest
|
|
2447
|
+
* @description Request model for creating comment
|
|
2448
|
+
*/
|
|
2449
|
+
app__models__content_models__CreateCommentRequest: {
|
|
2450
|
+
/**
|
|
2451
|
+
* Content Id
|
|
2452
|
+
* @description Content external ID (cnt_xxx)
|
|
2453
|
+
*/
|
|
2454
|
+
content_id: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* Parent Comment Id
|
|
2457
|
+
* @description Parent comment ID for nested comments (cmt_xxx)
|
|
2458
|
+
*/
|
|
2459
|
+
parent_comment_id?: string | null;
|
|
2460
|
+
/**
|
|
2461
|
+
* Comment Text
|
|
2462
|
+
* @description Comment text content
|
|
2463
|
+
*/
|
|
2464
|
+
comment_text: string;
|
|
2465
|
+
/**
|
|
2466
|
+
* Mentioned Users
|
|
2467
|
+
* @description List of user IDs mentioned in comment
|
|
2468
|
+
*/
|
|
2469
|
+
mentioned_users?: number[] | null;
|
|
2470
|
+
};
|
|
2471
|
+
ErrorResponse: {
|
|
2472
|
+
/** @example about:blank */
|
|
2473
|
+
type?: string;
|
|
2474
|
+
/** @example GENERIC_ERROR */
|
|
2475
|
+
code?: string;
|
|
2476
|
+
/** @example Client Error */
|
|
2477
|
+
title?: string;
|
|
2478
|
+
/** @example 400 */
|
|
2479
|
+
status?: number;
|
|
2480
|
+
/** @example An error occurred */
|
|
2481
|
+
detail?: string;
|
|
2482
|
+
/** @example /v1/cart/items */
|
|
2483
|
+
instance?: string;
|
|
2484
|
+
extensions?: components["schemas"]["Extensions"];
|
|
2485
|
+
};
|
|
2486
|
+
/**
|
|
2487
|
+
* RevertVersionRequest
|
|
2488
|
+
* @description Request model for reverting to a version
|
|
2489
|
+
*/
|
|
2490
|
+
RevertVersionRequest: {
|
|
2491
|
+
/**
|
|
2492
|
+
* Version Number
|
|
2493
|
+
* @description Version number to revert to
|
|
2494
|
+
*/
|
|
2495
|
+
version_number: number;
|
|
2496
|
+
/**
|
|
2497
|
+
* Change Summary
|
|
2498
|
+
* @description Reason for reverting
|
|
2499
|
+
*/
|
|
2500
|
+
change_summary?: string | null;
|
|
2501
2501
|
};
|
|
2502
2502
|
};
|
|
2503
2503
|
responses: never;
|
|
@@ -11305,16 +11305,18 @@ export interface operations {
|
|
|
11305
11305
|
};
|
|
11306
11306
|
};
|
|
11307
11307
|
};
|
|
11308
|
-
|
|
11308
|
+
listOrphanedContentAssets: {
|
|
11309
11309
|
parameters: {
|
|
11310
|
-
query?:
|
|
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
|
-
|
|
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
|
-
|
|
11714
|
+
deleteContentAsset: {
|
|
11716
11715
|
parameters: {
|
|
11717
|
-
query?:
|
|
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
|
-
|
|
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
|
|
11925
|
+
path: {
|
|
11926
|
+
/** @description Asset external ID (ast_xxx) */
|
|
11927
|
+
asset_id: string;
|
|
11928
|
+
};
|
|
11933
11929
|
cookie?: never;
|
|
11934
11930
|
};
|
|
11935
|
-
requestBody
|
|
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"]["
|
|
13561
|
+
"application/json": components["schemas"]["app__models__content_models__CreateCommentRequest"];
|
|
13562
13562
|
};
|
|
13563
13563
|
};
|
|
13564
13564
|
responses: {
|