@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
@@ -1307,141 +1307,67 @@ export type webhooks = Record<string, never>;
1307
1307
  export interface components {
1308
1308
  schemas: {
1309
1309
  /**
1310
- * SpaceUpdateRequest
1311
- * @description Update an existing space
1312
- */
1313
- SpaceUpdateRequest: {
1314
- /** Title */
1315
- title?: string | null;
1316
- /** Description */
1317
- description?: string | null;
1318
- /** Layout Type */
1319
- layout_type?: string | null;
1320
- /** Show Header */
1321
- show_header?: boolean | null;
1322
- /** Show Footer */
1323
- show_footer?: boolean | null;
1324
- /** Show Sidebar */
1325
- show_sidebar?: boolean | null;
1326
- /** Visibility */
1327
- visibility?: string | null;
1328
- /** Requires Auth */
1329
- requires_auth?: boolean | null;
1330
- /** Allowed Roles */
1331
- allowed_roles?: string[] | null;
1332
- };
1333
- /**
1334
- * SpaceCreateRequest
1335
- * @description Create a new space
1336
- * @example {
1337
- * "description": "Main marketplace for all courses",
1338
- * "entity_type": "course",
1339
- * "es_context": "courses",
1340
- * "es_doc_type": "entity",
1341
- * "page_type": "listing",
1342
- * "show_footer": true,
1343
- * "show_header": true,
1344
- * "space_module": "course",
1345
- * "title": "Course Marketplace",
1346
- * "url_type": "static",
1347
- * "visibility": "public"
1348
- * }
1310
+ * DisplayConfigSchema
1311
+ * @description Display configuration for listing pages
1349
1312
  */
1350
- SpaceCreateRequest: {
1351
- /**
1352
- * Title
1353
- * @description Space title
1354
- */
1355
- title: string;
1356
- /**
1357
- * Description
1358
- * @description Space description
1359
- */
1360
- description?: string | null;
1361
- /**
1362
- * Page Type
1363
- * @description listing or landing — the visual page pattern
1364
- * @enum {string}
1365
- */
1366
- page_type: "listing" | "landing";
1367
- /**
1368
- * Space Module
1369
- * @description signup, signin, forgot_password, course, session, webinar, meeting, teacher, bundle, checkout, profile, dashboard, custom
1370
- */
1371
- space_module: string;
1372
- /**
1373
- * Entity Type
1374
- * @description course, session, webinar, meeting, teacher, bundle
1375
- */
1376
- entity_type?: string | null;
1377
- /**
1378
- * Es Doc Type
1379
- * @description entity, configuration
1380
- */
1381
- es_doc_type?: string | null;
1382
- /**
1383
- * Es Context
1384
- * @description Plural form: courses, sessions, etc.
1385
- */
1386
- es_context?: string | null;
1387
- /**
1388
- * Url Type
1389
- * @description static or dynamic
1390
- * @enum {string}
1391
- */
1392
- url_type: "static" | "dynamic";
1313
+ DisplayConfigSchema: {
1393
1314
  /**
1394
- * Show Header
1395
- * @description Show header
1396
- * @default true
1315
+ * Card Style
1316
+ * @description Card display style
1317
+ * @default style1
1397
1318
  */
1398
- show_header: boolean;
1319
+ card_style: string;
1399
1320
  /**
1400
- * Show Footer
1401
- * @description Show footer
1402
- * @default true
1321
+ * Records Per Page
1322
+ * @description Records per page
1323
+ * @default 20
1403
1324
  */
1404
- show_footer: boolean;
1325
+ records_per_page: number;
1405
1326
  /**
1406
- * Show Sidebar
1407
- * @description Show sidebar
1408
- * @default false
1327
+ * Records On Lg
1328
+ * @description Columns on large screens
1329
+ * @default 4
1409
1330
  */
1410
- show_sidebar: boolean;
1331
+ records_on_lg: number;
1411
1332
  /**
1412
- * Visibility
1413
- * @description public, private, hidden, unlisted
1414
- * @default public
1333
+ * Records On Md
1334
+ * @description Columns on medium screens
1335
+ * @default 3
1415
1336
  */
1416
- visibility: string;
1337
+ records_on_md: number;
1417
1338
  /**
1418
- * Requires Auth
1419
- * @description Requires authentication
1420
- * @default false
1339
+ * Records On Sm
1340
+ * @description Columns on small screens
1341
+ * @default 2
1421
1342
  */
1422
- requires_auth: boolean;
1343
+ records_on_sm: number;
1423
1344
  /**
1424
- * Allowed Roles
1425
- * @description ["admin","instructor"] or null for all
1345
+ * Records On Xs
1346
+ * @description Columns on extra small screens
1347
+ * @default 1
1426
1348
  */
1427
- allowed_roles?: string[] | null;
1349
+ records_on_xs: number;
1350
+ };
1351
+ /**
1352
+ * ConnectedSpacesSchema
1353
+ * @description Connected spaces for forms
1354
+ */
1355
+ ConnectedSpacesSchema: {
1428
1356
  /**
1429
- * Service Id
1430
- * @description Service ID
1357
+ * Register Link
1358
+ * @description External ID of register space
1431
1359
  */
1432
- service_id?: number | null;
1360
+ register_link?: string | null;
1433
1361
  /**
1434
- * Is Master Space
1435
- * @description Is this a master/default space
1436
- * @default false
1362
+ * Forgot Password
1363
+ * @description External ID of forgot password space
1437
1364
  */
1438
- is_master_space: boolean;
1365
+ forgot_password?: string | null;
1439
1366
  /**
1440
- * Connected Space Id
1441
- * @description Connected space ID
1442
- * @default 0
1367
+ * Success Redirect
1368
+ * @description External ID of redirect space after success
1443
1369
  */
1444
- connected_space_id: number;
1370
+ success_redirect?: string | null;
1445
1371
  };
1446
1372
  /**
1447
1373
  * FormConfigSchema
@@ -1485,33 +1411,6 @@ export interface components {
1485
1411
  [key: string]: unknown;
1486
1412
  } | null;
1487
1413
  };
1488
- /**
1489
- * @example {
1490
- * "status": "success",
1491
- * "message": "Operation successful",
1492
- * "message_code": "api_suc_20001",
1493
- * "data": {},
1494
- * "metadata": {
1495
- * "timestamp": "2026-03-26T10:00:00.000Z",
1496
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
1497
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
1498
- * "version": "v1",
1499
- * "executionTime": 42,
1500
- * "language": "en-US"
1501
- * }
1502
- * }
1503
- */
1504
- StandardResponse: {
1505
- /** @example success */
1506
- status?: string;
1507
- data?: Record<string, never> | null;
1508
- /** @example Operation successful */
1509
- message?: string | null;
1510
- /** @example api_suc_20001 */
1511
- message_code?: string | null;
1512
- metadata?: Record<string, never> | null;
1513
- error?: components["schemas"]["ErrorResponse"];
1514
- };
1515
1414
  /**
1516
1415
  * SortConfigSchema
1517
1416
  * @description Sort configuration for listing pages
@@ -1536,345 +1435,89 @@ export interface components {
1536
1435
  options?: string[];
1537
1436
  };
1538
1437
  /**
1539
- * UrlRuleCreateRequest
1540
- * @description Create URL rule for a space
1438
+ * ContentConfigCreateRequest
1439
+ * @description Create content configuration for a space
1541
1440
  * @example {
1542
- * "domain": "www.mysite.com",
1543
- * "level1_type": "custom_text",
1544
- * "level1_value": "course",
1545
- * "level2_type": "title",
1546
- * "url_type": "dynamic"
1441
+ * "display_config": {
1442
+ * "card_style": "style1",
1443
+ * "records_on_lg": 4,
1444
+ * "records_per_page": 20
1445
+ * },
1446
+ * "entity_criteria": {
1447
+ * "category_ids": [
1448
+ * 1,
1449
+ * 2,
1450
+ * 3
1451
+ * ],
1452
+ * "price_max": 100,
1453
+ * "price_min": 0,
1454
+ * "rating_min": 4
1455
+ * },
1456
+ * "entity_selection_mode": "criteria",
1457
+ * "filter_config": {
1458
+ * "available_filters": [
1459
+ * "category",
1460
+ * "price",
1461
+ * "rating"
1462
+ * ],
1463
+ * "enabled": true,
1464
+ * "position": "left"
1465
+ * },
1466
+ * "sort_config": {
1467
+ * "default": "rating_desc",
1468
+ * "enabled": true,
1469
+ * "options": [
1470
+ * "price_asc",
1471
+ * "price_desc",
1472
+ * "rating_desc"
1473
+ * ]
1474
+ * }
1547
1475
  * }
1548
1476
  */
1549
- UrlRuleCreateRequest: {
1550
- /**
1551
- * Domain
1552
- * @description Domain from tenant_domains_tbl
1553
- */
1554
- domain: string;
1555
- /**
1556
- * Base Path
1557
- * @description Optional prefix like /en or /us
1558
- */
1559
- base_path?: string | null;
1560
- /**
1561
- * Url Type
1562
- * @description static or dynamic
1563
- */
1564
- url_type: string;
1477
+ ContentConfigCreateRequest: {
1565
1478
  /**
1566
- * Static Path
1567
- * @description /login or /marketplace/courses
1479
+ * Entity Selection Mode
1480
+ * @description all, specific, criteria
1568
1481
  */
1569
- static_path?: string | null;
1482
+ entity_selection_mode?: string | null;
1570
1483
  /**
1571
- * Level1 Type
1572
- * @description custom_text, title, firstname-lastname, role, country, etc
1573
- */
1574
- level1_type?: string | null;
1575
- /**
1576
- * Level1 Value
1577
- * @description Fixed text if custom_text
1578
- */
1579
- level1_value?: string | null;
1580
- /** Level2 Type */
1581
- level2_type?: string | null;
1582
- /** Level2 Value */
1583
- level2_value?: string | null;
1584
- /** Level3 Type */
1585
- level3_type?: string | null;
1586
- /** Level3 Value */
1587
- level3_value?: string | null;
1588
- /** Level4 Type */
1589
- level4_type?: string | null;
1590
- /** Level4 Value */
1591
- level4_value?: string | null;
1592
- };
1593
- InvalidParam: {
1594
- /** @example items[0].quantity */
1595
- field?: string;
1596
- /** @example Input should be greater than or equal to 1 */
1597
- error?: string;
1598
- };
1599
- /**
1600
- * TemplateAssignRequest
1601
- * @description Assign a template to a space
1602
- */
1603
- TemplateAssignRequest: {
1604
- /**
1605
- * Template Id
1606
- * @description External ID of template: tpl_xxx
1607
- */
1608
- template_id: string;
1609
- };
1610
- /**
1611
- * TemplateDataUpdateRequest
1612
- * @description Update template section data
1613
- */
1614
- TemplateDataUpdateRequest: {
1615
- /**
1616
- * Section Content
1617
- * @description Updated section configuration
1618
- */
1619
- section_content: {
1620
- [key: string]: unknown;
1621
- };
1622
- };
1623
- /**
1624
- * ContentConfigCreateRequest
1625
- * @description Create content configuration for a space
1626
- * @example {
1627
- * "display_config": {
1628
- * "card_style": "style1",
1629
- * "records_on_lg": 4,
1630
- * "records_per_page": 20
1631
- * },
1632
- * "entity_criteria": {
1633
- * "category_ids": [
1634
- * 1,
1635
- * 2,
1636
- * 3
1637
- * ],
1638
- * "price_max": 100,
1639
- * "price_min": 0,
1640
- * "rating_min": 4
1641
- * },
1642
- * "entity_selection_mode": "criteria",
1643
- * "filter_config": {
1644
- * "available_filters": [
1645
- * "category",
1646
- * "price",
1647
- * "rating"
1648
- * ],
1649
- * "enabled": true,
1650
- * "position": "left"
1651
- * },
1652
- * "sort_config": {
1653
- * "default": "rating_desc",
1654
- * "enabled": true,
1655
- * "options": [
1656
- * "price_asc",
1657
- * "price_desc",
1658
- * "rating_desc"
1659
- * ]
1660
- * }
1661
- * }
1662
- */
1663
- ContentConfigCreateRequest: {
1664
- /**
1665
- * Entity Selection Mode
1666
- * @description all, specific, criteria
1667
- */
1668
- entity_selection_mode?: string | null;
1669
- /**
1670
- * Entity Ids
1671
- * @description Specific entity IDs
1484
+ * Entity Ids
1485
+ * @description Specific entity IDs
1672
1486
  */
1673
1487
  entity_ids?: number[] | null;
1674
1488
  entity_criteria?: components["schemas"]["EntityCriteriaSchema"] | null;
1675
1489
  display_config?: components["schemas"]["DisplayConfigSchema"] | null;
1676
1490
  filter_config?: components["schemas"]["FilterConfigSchema"] | null;
1677
1491
  sort_config?: components["schemas"]["SortConfigSchema"] | null;
1678
- form_config?: components["schemas"]["FormConfigSchema"] | null;
1679
- static_content?: components["schemas"]["StaticContentSchema"] | null;
1680
- };
1681
- /**
1682
- * ConnectedSpacesSchema
1683
- * @description Connected spaces for forms
1684
- */
1685
- ConnectedSpacesSchema: {
1686
- /**
1687
- * Register Link
1688
- * @description External ID of register space
1689
- */
1690
- register_link?: string | null;
1691
- /**
1692
- * Forgot Password
1693
- * @description External ID of forgot password space
1694
- */
1695
- forgot_password?: string | null;
1696
- /**
1697
- * Success Redirect
1698
- * @description External ID of redirect space after success
1699
- */
1700
- success_redirect?: string | null;
1701
- };
1702
- /**
1703
- * SpaceCloneRequest
1704
- * @description Clone an existing space
1705
- */
1706
- SpaceCloneRequest: {
1707
- /**
1708
- * Title
1709
- * @description Title for the cloned space
1710
- */
1711
- title: string;
1712
- /**
1713
- * Clone Content
1714
- * @description Clone content configuration
1715
- * @default true
1716
- */
1717
- clone_content: boolean;
1718
- /**
1719
- * Clone Template Data
1720
- * @description Clone template data
1721
- * @default true
1722
- */
1723
- clone_template_data: boolean;
1724
- /**
1725
- * Clone Url Rule
1726
- * @description Clone URL rule (usually false - need new URL)
1727
- * @default false
1728
- */
1729
- clone_url_rule: boolean;
1730
- };
1731
- Extensions: {
1732
- /** @example GENERIC_ERROR */
1733
- message_code?: string;
1734
- /** @example [] */
1735
- invalid_params?: components["schemas"]["InvalidParam"][];
1736
- extra_data?: Record<string, never> | null;
1737
- /** @example Detailed debug information */
1738
- debug?: string | null;
1739
- };
1740
- ErrorResponse: {
1741
- /** @example about:blank */
1742
- type?: string;
1743
- /** @example GENERIC_ERROR */
1744
- code?: string;
1745
- /** @example Client Error */
1746
- title?: string;
1747
- /** @example 400 */
1748
- status?: number;
1749
- /** @example An error occurred */
1750
- detail?: string;
1751
- /** @example /v1/cart/items */
1752
- instance?: string;
1753
- extensions?: components["schemas"]["Extensions"];
1754
- };
1755
- /**
1756
- * FilterConfigSchema
1757
- * @description Filter configuration for listing pages
1758
- */
1759
- FilterConfigSchema: {
1760
- /**
1761
- * Enabled
1762
- * @description Enable filters
1763
- * @default true
1764
- */
1765
- enabled: boolean;
1766
- /**
1767
- * Position
1768
- * @description left, top, right
1769
- * @default left
1770
- */
1771
- position: string;
1772
- /**
1773
- * Available Filters
1774
- * @description List of enabled filters: category, subject, price, rating, country, etc
1775
- */
1776
- available_filters?: string[];
1777
- /**
1778
- * Keyword Search
1779
- * @description Enable keyword search
1780
- * @default true
1781
- */
1782
- keyword_search: boolean;
1783
- };
1784
- /**
1785
- * EntityCriteriaSchema
1786
- * @description Entity selection criteria
1787
- */
1788
- EntityCriteriaSchema: {
1789
- /** Category Ids */
1790
- category_ids?: number[] | null;
1791
- /** Subject Ids */
1792
- subject_ids?: number[] | null;
1793
- /** Country Codes */
1794
- country_codes?: string[] | null;
1795
- /** Price Min */
1796
- price_min?: number | null;
1797
- /** Price Max */
1798
- price_max?: number | null;
1799
- /** Rating Min */
1800
- rating_min?: number | null;
1801
- /** Language */
1802
- language?: string | null;
1803
- /** Custom Filters */
1804
- custom_filters?: {
1805
- [key: string]: unknown;
1806
- } | null;
1807
- };
1808
- /**
1809
- * StaticContentSchema
1810
- * @description Static content configuration
1811
- */
1812
- StaticContentSchema: {
1813
- /** Html */
1814
- html?: string | null;
1815
- /** Markdown */
1816
- markdown?: string | null;
1817
- /**
1818
- * Content Source
1819
- * @description custom, cms, external
1820
- * @default custom
1821
- */
1822
- content_source: string;
1823
- };
1824
- /**
1825
- * DisplayConfigSchema
1826
- * @description Display configuration for listing pages
1827
- */
1828
- DisplayConfigSchema: {
1829
- /**
1830
- * Card Style
1831
- * @description Card display style
1832
- * @default style1
1833
- */
1834
- card_style: string;
1835
- /**
1836
- * Records Per Page
1837
- * @description Records per page
1838
- * @default 20
1839
- */
1840
- records_per_page: number;
1841
- /**
1842
- * Records On Lg
1843
- * @description Columns on large screens
1844
- * @default 4
1845
- */
1846
- records_on_lg: number;
1847
- /**
1848
- * Records On Md
1849
- * @description Columns on medium screens
1850
- * @default 3
1851
- */
1852
- records_on_md: number;
1853
- /**
1854
- * Records On Sm
1855
- * @description Columns on small screens
1856
- * @default 2
1857
- */
1858
- records_on_sm: number;
1859
- /**
1860
- * Records On Xs
1861
- * @description Columns on extra small screens
1862
- * @default 1
1863
- */
1864
- records_on_xs: number;
1865
- };
1866
- /** Body_createSpacePublication */
1867
- Body_createSpacePublication: {
1868
- /**
1869
- * Version Label
1870
- * @description Version label (e.g., v1.0)
1871
- */
1872
- version_label?: string | null;
1873
- /**
1874
- * Change Notes
1875
- * @description Change notes for this version
1876
- */
1877
- change_notes?: string | null;
1492
+ form_config?: components["schemas"]["FormConfigSchema"] | null;
1493
+ static_content?: components["schemas"]["StaticContentSchema"] | null;
1494
+ };
1495
+ /**
1496
+ * @example {
1497
+ * "status": "success",
1498
+ * "message": "Operation successful",
1499
+ * "message_code": "api_suc_20001",
1500
+ * "data": {},
1501
+ * "metadata": {
1502
+ * "timestamp": "2026-03-26T10:00:00.000Z",
1503
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
1504
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
1505
+ * "version": "v1",
1506
+ * "executionTime": 42,
1507
+ * "language": "en-US"
1508
+ * }
1509
+ * }
1510
+ */
1511
+ StandardResponse: {
1512
+ /** @example success */
1513
+ status?: string;
1514
+ data?: Record<string, never> | null;
1515
+ /** @example Operation successful */
1516
+ message?: string | null;
1517
+ /** @example api_suc_20001 */
1518
+ message_code?: string | null;
1519
+ metadata?: Record<string, never> | null;
1520
+ error?: components["schemas"]["ErrorResponse"];
1878
1521
  };
1879
1522
  /**
1880
1523
  * SeoUpsertRequest
@@ -1986,107 +1629,464 @@ export interface components {
1986
1629
  * Twitter Title
1987
1630
  * @description twitter:title — overrides og_title for Twitter/X. Keep ≤70 chars.
1988
1631
  */
1989
- twitter_title?: string | null;
1632
+ twitter_title?: string | null;
1633
+ /**
1634
+ * Twitter Description
1635
+ * @description twitter:description — overrides og_description for Twitter/X.
1636
+ */
1637
+ twitter_description?: string | null;
1638
+ /**
1639
+ * Twitter Image
1640
+ * @description twitter:image — full URL (http/https). Overrides og_image for Twitter/X. Min 144×144 px, max 4096×4096 px.
1641
+ */
1642
+ twitter_image?: string | null;
1643
+ /**
1644
+ * Canonical Url
1645
+ * @description <link rel='canonical'>. Full URL (http/https). Set when this page has duplicate content at another URL.
1646
+ */
1647
+ canonical_url?: string | null;
1648
+ /**
1649
+ * Robots
1650
+ * @description <meta name='robots'>. Comma-separated directives. Simple: index, noindex, follow, nofollow, noarchive, nosnippet, noimageindex, none, all, notranslate, noodp. Parametric: max-snippet:-1, max-snippet:150, max-image-preview:none|standard|large, max-video-preview:-1, max-video-preview:30, unavailable_after:<date>. Examples: 'index,follow' | 'noindex,nofollow' | 'index,follow,max-snippet:-1,max-image-preview:large'.
1651
+ */
1652
+ robots?: string | null;
1653
+ /**
1654
+ * Meta Title
1655
+ * @description <title> and <meta name='title'>. Keep ≤60 chars for Google display.
1656
+ */
1657
+ meta_title?: string | null;
1658
+ /**
1659
+ * Meta Description
1660
+ * @description <meta name='description'>. Keep ≤160 chars for Google display.
1661
+ */
1662
+ meta_description?: string | null;
1663
+ /**
1664
+ * Meta Keywords
1665
+ * @description Comma-separated keywords. Low weight for Google, used for internal search.
1666
+ */
1667
+ meta_keywords?: string | null;
1668
+ /**
1669
+ * Og Image Width
1670
+ * @description og:image:width in pixels. Recommended: 1200.
1671
+ */
1672
+ og_image_width?: number | null;
1673
+ /**
1674
+ * Og Image Height
1675
+ * @description og:image:height in pixels. Recommended: 630.
1676
+ */
1677
+ og_image_height?: number | null;
1678
+ /**
1679
+ * Og Image Alt
1680
+ * @description og:image:alt — alt text for the OG image.
1681
+ */
1682
+ og_image_alt?: string | null;
1683
+ /**
1684
+ * Og Url
1685
+ * @description og:url — canonical URL used by social platforms.
1686
+ */
1687
+ og_url?: string | null;
1688
+ /**
1689
+ * Og Site Name
1690
+ * @description og:site_name — your platform name shown in the link preview card.
1691
+ */
1692
+ og_site_name?: string | null;
1693
+ /**
1694
+ * Og Locale
1695
+ * @description og:locale — language in underscore format: en_US, es_ES, fr_FR.
1696
+ */
1697
+ og_locale?: string | null;
1698
+ /**
1699
+ * Twitter Image Alt
1700
+ * @description twitter:image:alt — alt text for the Twitter card image.
1701
+ */
1702
+ twitter_image_alt?: string | null;
1703
+ /**
1704
+ * Twitter Site
1705
+ * @description twitter:site — your Twitter/X account handle. Must start with '@'.
1706
+ */
1707
+ twitter_site?: string | null;
1708
+ /**
1709
+ * Twitter Creator
1710
+ * @description twitter:creator — author's Twitter/X handle. Must start with '@'.
1711
+ */
1712
+ twitter_creator?: string | null;
1713
+ /**
1714
+ * Is Indexable
1715
+ * @description System-level indexing override. False → page is treated as noindex regardless of the robots field. True → robots field is authoritative.
1716
+ * @default true
1717
+ */
1718
+ is_indexable: boolean;
1719
+ /**
1720
+ * Structured Data
1721
+ * @description Schema.org JSON-LD object for Google rich results.
1722
+ */
1723
+ structured_data?: {
1724
+ [key: string]: unknown;
1725
+ } | null;
1726
+ /**
1727
+ * Alternate Languages
1728
+ * @description hreflang list: [{"lang":"en-US","url":"https://..."},{"lang":"x-default","url":"..."}]. Always include x-default.
1729
+ */
1730
+ alternate_languages?: {
1731
+ [key: string]: string;
1732
+ }[] | null;
1733
+ };
1734
+ Extensions: {
1735
+ /** @example GENERIC_ERROR */
1736
+ message_code?: string;
1737
+ /** @example [] */
1738
+ invalid_params?: components["schemas"]["InvalidParam"][];
1739
+ extra_data?: Record<string, never> | null;
1740
+ /** @example Detailed debug information */
1741
+ debug?: string | null;
1742
+ };
1743
+ /**
1744
+ * TemplateAssignRequest
1745
+ * @description Assign a template to a space
1746
+ */
1747
+ TemplateAssignRequest: {
1748
+ /**
1749
+ * Template Id
1750
+ * @description External ID of template: tpl_xxx
1751
+ */
1752
+ template_id: string;
1753
+ };
1754
+ /**
1755
+ * SpaceCreateRequest
1756
+ * @description Create a new space
1757
+ * @example {
1758
+ * "description": "Main marketplace for all courses",
1759
+ * "entity_type": "course",
1760
+ * "es_context": "courses",
1761
+ * "es_doc_type": "entity",
1762
+ * "page_type": "listing",
1763
+ * "show_footer": true,
1764
+ * "show_header": true,
1765
+ * "space_module": "course",
1766
+ * "title": "Course Marketplace",
1767
+ * "url_type": "static",
1768
+ * "visibility": "public"
1769
+ * }
1770
+ */
1771
+ SpaceCreateRequest: {
1772
+ /**
1773
+ * Title
1774
+ * @description Space title
1775
+ */
1776
+ title: string;
1777
+ /**
1778
+ * Description
1779
+ * @description Space description
1780
+ */
1781
+ description?: string | null;
1782
+ /**
1783
+ * Page Type
1784
+ * @description listing or landing — the visual page pattern
1785
+ * @enum {string}
1786
+ */
1787
+ page_type: "listing" | "landing";
1788
+ /**
1789
+ * Space Module
1790
+ * @description signup, signin, forgot_password, course, session, webinar, meeting, teacher, bundle, checkout, profile, dashboard, custom
1791
+ */
1792
+ space_module: string;
1793
+ /**
1794
+ * Entity Type
1795
+ * @description course, session, webinar, meeting, teacher, bundle
1796
+ */
1797
+ entity_type?: string | null;
1798
+ /**
1799
+ * Es Doc Type
1800
+ * @description entity, configuration
1801
+ */
1802
+ es_doc_type?: string | null;
1803
+ /**
1804
+ * Es Context
1805
+ * @description Plural form: courses, sessions, etc.
1806
+ */
1807
+ es_context?: string | null;
1808
+ /**
1809
+ * Url Type
1810
+ * @description static or dynamic
1811
+ * @enum {string}
1812
+ */
1813
+ url_type: "static" | "dynamic";
1814
+ /**
1815
+ * Show Header
1816
+ * @description Show header
1817
+ * @default true
1818
+ */
1819
+ show_header: boolean;
1820
+ /**
1821
+ * Show Footer
1822
+ * @description Show footer
1823
+ * @default true
1824
+ */
1825
+ show_footer: boolean;
1826
+ /**
1827
+ * Show Sidebar
1828
+ * @description Show sidebar
1829
+ * @default false
1830
+ */
1831
+ show_sidebar: boolean;
1832
+ /**
1833
+ * Visibility
1834
+ * @description public, private, hidden, unlisted
1835
+ * @default public
1836
+ */
1837
+ visibility: string;
1838
+ /**
1839
+ * Requires Auth
1840
+ * @description Requires authentication
1841
+ * @default false
1842
+ */
1843
+ requires_auth: boolean;
1844
+ /**
1845
+ * Allowed Roles
1846
+ * @description ["admin","instructor"] or null for all
1847
+ */
1848
+ allowed_roles?: string[] | null;
1849
+ /**
1850
+ * Service Id
1851
+ * @description Service ID
1852
+ */
1853
+ service_id?: number | null;
1854
+ /**
1855
+ * Is Master Space
1856
+ * @description Is this a master/default space
1857
+ * @default false
1858
+ */
1859
+ is_master_space: boolean;
1990
1860
  /**
1991
- * Twitter Description
1992
- * @description twitter:description overrides og_description for Twitter/X.
1861
+ * Connected Space Id
1862
+ * @description Connected space ID
1863
+ * @default 0
1993
1864
  */
1994
- twitter_description?: string | null;
1865
+ connected_space_id: number;
1866
+ };
1867
+ /**
1868
+ * SpaceUpdateRequest
1869
+ * @description Update an existing space
1870
+ */
1871
+ SpaceUpdateRequest: {
1872
+ /** Title */
1873
+ title?: string | null;
1874
+ /** Description */
1875
+ description?: string | null;
1876
+ /** Layout Type */
1877
+ layout_type?: string | null;
1878
+ /** Show Header */
1879
+ show_header?: boolean | null;
1880
+ /** Show Footer */
1881
+ show_footer?: boolean | null;
1882
+ /** Show Sidebar */
1883
+ show_sidebar?: boolean | null;
1884
+ /** Visibility */
1885
+ visibility?: string | null;
1886
+ /** Requires Auth */
1887
+ requires_auth?: boolean | null;
1888
+ /** Allowed Roles */
1889
+ allowed_roles?: string[] | null;
1890
+ };
1891
+ /**
1892
+ * StaticContentSchema
1893
+ * @description Static content configuration
1894
+ */
1895
+ StaticContentSchema: {
1896
+ /** Html */
1897
+ html?: string | null;
1898
+ /** Markdown */
1899
+ markdown?: string | null;
1995
1900
  /**
1996
- * Twitter Image
1997
- * @description twitter:image — full URL (http/https). Overrides og_image for Twitter/X. Min 144×144 px, max 4096×4096 px.
1901
+ * Content Source
1902
+ * @description custom, cms, external
1903
+ * @default custom
1998
1904
  */
1999
- twitter_image?: string | null;
1905
+ content_source: string;
1906
+ };
1907
+ /**
1908
+ * SpaceCloneRequest
1909
+ * @description Clone an existing space
1910
+ */
1911
+ SpaceCloneRequest: {
2000
1912
  /**
2001
- * Canonical Url
2002
- * @description <link rel='canonical'>. Full URL (http/https). Set when this page has duplicate content at another URL.
1913
+ * Title
1914
+ * @description Title for the cloned space
2003
1915
  */
2004
- canonical_url?: string | null;
1916
+ title: string;
2005
1917
  /**
2006
- * Robots
2007
- * @description <meta name='robots'>. Comma-separated directives. Simple: index, noindex, follow, nofollow, noarchive, nosnippet, noimageindex, none, all, notranslate, noodp. Parametric: max-snippet:-1, max-snippet:150, max-image-preview:none|standard|large, max-video-preview:-1, max-video-preview:30, unavailable_after:<date>. Examples: 'index,follow' | 'noindex,nofollow' | 'index,follow,max-snippet:-1,max-image-preview:large'.
1918
+ * Clone Content
1919
+ * @description Clone content configuration
1920
+ * @default true
2008
1921
  */
2009
- robots?: string | null;
1922
+ clone_content: boolean;
2010
1923
  /**
2011
- * Meta Title
2012
- * @description <title> and <meta name='title'>. Keep ≤60 chars for Google display.
1924
+ * Clone Template Data
1925
+ * @description Clone template data
1926
+ * @default true
2013
1927
  */
2014
- meta_title?: string | null;
1928
+ clone_template_data: boolean;
2015
1929
  /**
2016
- * Meta Description
2017
- * @description <meta name='description'>. Keep ≤160 chars for Google display.
1930
+ * Clone Url Rule
1931
+ * @description Clone URL rule (usually false - need new URL)
1932
+ * @default false
2018
1933
  */
2019
- meta_description?: string | null;
1934
+ clone_url_rule: boolean;
1935
+ };
1936
+ InvalidParam: {
1937
+ /** @example items[0].quantity */
1938
+ field?: string;
1939
+ /** @example Input should be greater than or equal to 1 */
1940
+ error?: string;
1941
+ };
1942
+ ErrorResponse: {
1943
+ /** @example about:blank */
1944
+ type?: string;
1945
+ /** @example GENERIC_ERROR */
1946
+ code?: string;
1947
+ /** @example Client Error */
1948
+ title?: string;
1949
+ /** @example 400 */
1950
+ status?: number;
1951
+ /** @example An error occurred */
1952
+ detail?: string;
1953
+ /** @example /v1/cart/items */
1954
+ instance?: string;
1955
+ extensions?: components["schemas"]["Extensions"];
1956
+ };
1957
+ /**
1958
+ * UrlRuleCreateRequest
1959
+ * @description Create URL rule for a space
1960
+ * @example {
1961
+ * "domain": "www.mysite.com",
1962
+ * "level1_type": "custom_text",
1963
+ * "level1_value": "course",
1964
+ * "level2_type": "title",
1965
+ * "url_type": "dynamic"
1966
+ * }
1967
+ */
1968
+ UrlRuleCreateRequest: {
2020
1969
  /**
2021
- * Meta Keywords
2022
- * @description Comma-separated keywords. Low weight for Google, used for internal search.
1970
+ * Domain
1971
+ * @description Domain from tenant_domains_tbl
2023
1972
  */
2024
- meta_keywords?: string | null;
1973
+ domain: string;
2025
1974
  /**
2026
- * Og Image Width
2027
- * @description og:image:width in pixels. Recommended: 1200.
1975
+ * Base Path
1976
+ * @description Optional prefix like /en or /us
2028
1977
  */
2029
- og_image_width?: number | null;
1978
+ base_path?: string | null;
2030
1979
  /**
2031
- * Og Image Height
2032
- * @description og:image:height in pixels. Recommended: 630.
1980
+ * Url Type
1981
+ * @description static or dynamic
2033
1982
  */
2034
- og_image_height?: number | null;
1983
+ url_type: string;
2035
1984
  /**
2036
- * Og Image Alt
2037
- * @description og:image:alt alt text for the OG image.
1985
+ * Static Path
1986
+ * @description /login or /marketplace/courses
2038
1987
  */
2039
- og_image_alt?: string | null;
1988
+ static_path?: string | null;
2040
1989
  /**
2041
- * Og Url
2042
- * @description og:url canonical URL used by social platforms.
1990
+ * Level1 Type
1991
+ * @description custom_text, title, firstname-lastname, role, country, etc
2043
1992
  */
2044
- og_url?: string | null;
1993
+ level1_type?: string | null;
2045
1994
  /**
2046
- * Og Site Name
2047
- * @description og:site_name your platform name shown in the link preview card.
1995
+ * Level1 Value
1996
+ * @description Fixed text if custom_text
2048
1997
  */
2049
- og_site_name?: string | null;
1998
+ level1_value?: string | null;
1999
+ /** Level2 Type */
2000
+ level2_type?: string | null;
2001
+ /** Level2 Value */
2002
+ level2_value?: string | null;
2003
+ /** Level3 Type */
2004
+ level3_type?: string | null;
2005
+ /** Level3 Value */
2006
+ level3_value?: string | null;
2007
+ /** Level4 Type */
2008
+ level4_type?: string | null;
2009
+ /** Level4 Value */
2010
+ level4_value?: string | null;
2011
+ };
2012
+ /**
2013
+ * EntityCriteriaSchema
2014
+ * @description Entity selection criteria
2015
+ */
2016
+ EntityCriteriaSchema: {
2017
+ /** Category Ids */
2018
+ category_ids?: number[] | null;
2019
+ /** Subject Ids */
2020
+ subject_ids?: number[] | null;
2021
+ /** Country Codes */
2022
+ country_codes?: string[] | null;
2023
+ /** Price Min */
2024
+ price_min?: number | null;
2025
+ /** Price Max */
2026
+ price_max?: number | null;
2027
+ /** Rating Min */
2028
+ rating_min?: number | null;
2029
+ /** Language */
2030
+ language?: string | null;
2031
+ /** Custom Filters */
2032
+ custom_filters?: {
2033
+ [key: string]: unknown;
2034
+ } | null;
2035
+ };
2036
+ /**
2037
+ * FilterConfigSchema
2038
+ * @description Filter configuration for listing pages
2039
+ */
2040
+ FilterConfigSchema: {
2050
2041
  /**
2051
- * Og Locale
2052
- * @description og:locale — language in underscore format: en_US, es_ES, fr_FR.
2042
+ * Enabled
2043
+ * @description Enable filters
2044
+ * @default true
2053
2045
  */
2054
- og_locale?: string | null;
2046
+ enabled: boolean;
2055
2047
  /**
2056
- * Twitter Image Alt
2057
- * @description twitter:image:alt alt text for the Twitter card image.
2048
+ * Position
2049
+ * @description left, top, right
2050
+ * @default left
2058
2051
  */
2059
- twitter_image_alt?: string | null;
2052
+ position: string;
2060
2053
  /**
2061
- * Twitter Site
2062
- * @description twitter:site your Twitter/X account handle. Must start with '@'.
2054
+ * Available Filters
2055
+ * @description List of enabled filters: category, subject, price, rating, country, etc
2063
2056
  */
2064
- twitter_site?: string | null;
2057
+ available_filters?: string[];
2065
2058
  /**
2066
- * Twitter Creator
2067
- * @description twitter:creator author's Twitter/X handle. Must start with '@'.
2059
+ * Keyword Search
2060
+ * @description Enable keyword search
2061
+ * @default true
2068
2062
  */
2069
- twitter_creator?: string | null;
2063
+ keyword_search: boolean;
2064
+ };
2065
+ /** Body_createSpacePublication */
2066
+ Body_createSpacePublication: {
2070
2067
  /**
2071
- * Is Indexable
2072
- * @description System-level indexing override. False → page is treated as noindex regardless of the robots field. True → robots field is authoritative.
2073
- * @default true
2068
+ * Version Label
2069
+ * @description Version label (e.g., v1.0)
2074
2070
  */
2075
- is_indexable: boolean;
2071
+ version_label?: string | null;
2076
2072
  /**
2077
- * Structured Data
2078
- * @description Schema.org JSON-LD object for Google rich results.
2073
+ * Change Notes
2074
+ * @description Change notes for this version
2079
2075
  */
2080
- structured_data?: {
2081
- [key: string]: unknown;
2082
- } | null;
2076
+ change_notes?: string | null;
2077
+ };
2078
+ /**
2079
+ * TemplateDataUpdateRequest
2080
+ * @description Update template section data
2081
+ */
2082
+ TemplateDataUpdateRequest: {
2083
2083
  /**
2084
- * Alternate Languages
2085
- * @description hreflang list: [{"lang":"en-US","url":"https://..."},{"lang":"x-default","url":"..."}]. Always include x-default.
2084
+ * Section Content
2085
+ * @description Updated section configuration
2086
2086
  */
2087
- alternate_languages?: {
2088
- [key: string]: string;
2089
- }[] | null;
2087
+ section_content: {
2088
+ [key: string]: unknown;
2089
+ };
2090
2090
  };
2091
2091
  };
2092
2092
  responses: never;