@blezgo/api-sdk 0.1.4 → 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 (137) hide show
  1. package/dist/account/generated.d.ts +193 -193
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +82 -82
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +96 -96
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +85 -85
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +87 -87
  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 +34 -34
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +99 -99
  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 +74 -74
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +144 -144
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +177 -177
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +37 -37
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +69 -69
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +215 -215
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +57 -57
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +103 -103
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +221 -221
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +35 -35
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +155 -155
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +44 -44
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +500 -500
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +89 -89
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +350 -350
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +70 -70
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +185 -185
  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 +15 -15
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +95 -95
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +131 -131
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +144 -144
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +60 -60
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +133 -133
  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 +124 -124
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +213 -213
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +169 -169
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +411 -411
  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 +96 -96
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +78 -78
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +530 -530
  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 +281 -281
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +97 -97
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +491 -491
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +265 -265
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +100 -100
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +140 -140
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +67 -67
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +216 -216
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +118 -118
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +819 -819
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +236 -236
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +423 -423
  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 +1605 -1605
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +156 -156
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +435 -435
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +60 -60
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +415 -415
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +48 -48
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +56 -56
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +86 -86
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +99 -99
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +185 -185
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -1307,364 +1307,217 @@ export type webhooks = Record<string, never>;
1307
1307
  export interface components {
1308
1308
  schemas: {
1309
1309
  /**
1310
- * StaticContentSchema
1311
- * @description Static content configuration
1312
- */
1313
- StaticContentSchema: {
1314
- /** Html */
1315
- html?: string | null;
1316
- /** Markdown */
1317
- markdown?: string | null;
1318
- /**
1319
- * Content Source
1320
- * @description custom, cms, external
1321
- * @default custom
1322
- */
1323
- content_source: string;
1324
- };
1325
- InvalidParam: {
1326
- /** @example items[0].quantity */
1327
- field?: string;
1328
- /** @example Input should be greater than or equal to 1 */
1329
- error?: string;
1330
- };
1331
- /**
1332
- * @example {
1333
- * "status": "success",
1334
- * "message": "Operation successful",
1335
- * "message_code": "api_suc_20001",
1336
- * "data": {},
1337
- * "metadata": {
1338
- * "timestamp": "2026-03-26T10:00:00.000Z",
1339
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
1340
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
1341
- * "version": "v1",
1342
- * "executionTime": 42,
1343
- * "language": "en-US"
1344
- * }
1345
- * }
1346
- */
1347
- StandardResponse: {
1348
- /** @example success */
1349
- status?: string;
1350
- data?: Record<string, never> | null;
1351
- /** @example Operation successful */
1352
- message?: string | null;
1353
- /** @example api_suc_20001 */
1354
- message_code?: string | null;
1355
- metadata?: Record<string, never> | null;
1356
- error?: components["schemas"]["ErrorResponse"];
1357
- };
1358
- /**
1359
- * SortConfigSchema
1360
- * @description Sort configuration for listing pages
1310
+ * DisplayConfigSchema
1311
+ * @description Display configuration for listing pages
1361
1312
  */
1362
- SortConfigSchema: {
1363
- /**
1364
- * Enabled
1365
- * @description Enable sorting
1366
- * @default true
1367
- */
1368
- enabled: boolean;
1313
+ DisplayConfigSchema: {
1369
1314
  /**
1370
- * Default
1371
- * @description Default sort option
1372
- * @default rating_desc
1315
+ * Card Style
1316
+ * @description Card display style
1317
+ * @default style1
1373
1318
  */
1374
- default: string;
1319
+ card_style: string;
1375
1320
  /**
1376
- * Options
1377
- * @description Available sort options
1321
+ * Records Per Page
1322
+ * @description Records per page
1323
+ * @default 20
1378
1324
  */
1379
- options?: string[];
1380
- };
1381
- /**
1382
- * SpaceCloneRequest
1383
- * @description Clone an existing space
1384
- */
1385
- SpaceCloneRequest: {
1325
+ records_per_page: number;
1386
1326
  /**
1387
- * Title
1388
- * @description Title for the cloned space
1327
+ * Records On Lg
1328
+ * @description Columns on large screens
1329
+ * @default 4
1389
1330
  */
1390
- title: string;
1331
+ records_on_lg: number;
1391
1332
  /**
1392
- * Clone Content
1393
- * @description Clone content configuration
1394
- * @default true
1333
+ * Records On Md
1334
+ * @description Columns on medium screens
1335
+ * @default 3
1395
1336
  */
1396
- clone_content: boolean;
1337
+ records_on_md: number;
1397
1338
  /**
1398
- * Clone Template Data
1399
- * @description Clone template data
1400
- * @default true
1339
+ * Records On Sm
1340
+ * @description Columns on small screens
1341
+ * @default 2
1401
1342
  */
1402
- clone_template_data: boolean;
1343
+ records_on_sm: number;
1403
1344
  /**
1404
- * Clone Url Rule
1405
- * @description Clone URL rule (usually false - need new URL)
1406
- * @default false
1345
+ * Records On Xs
1346
+ * @description Columns on extra small screens
1347
+ * @default 1
1407
1348
  */
1408
- clone_url_rule: boolean;
1349
+ records_on_xs: number;
1409
1350
  };
1410
1351
  /**
1411
- * SpaceCreateRequest
1412
- * @description Create a new space
1413
- * @example {
1414
- * "description": "Main marketplace for all courses",
1415
- * "entity_type": "course",
1416
- * "es_context": "courses",
1417
- * "es_doc_type": "entity",
1418
- * "page_type": "listing",
1419
- * "show_footer": true,
1420
- * "show_header": true,
1421
- * "space_module": "course",
1422
- * "title": "Course Marketplace",
1423
- * "url_type": "static",
1424
- * "visibility": "public"
1425
- * }
1352
+ * ConnectedSpacesSchema
1353
+ * @description Connected spaces for forms
1426
1354
  */
1427
- SpaceCreateRequest: {
1428
- /**
1429
- * Title
1430
- * @description Space title
1431
- */
1432
- title: string;
1433
- /**
1434
- * Description
1435
- * @description Space description
1436
- */
1437
- description?: string | null;
1438
- /**
1439
- * Page Type
1440
- * @description listing or landing — the visual page pattern
1441
- * @enum {string}
1442
- */
1443
- page_type: "listing" | "landing";
1444
- /**
1445
- * Space Module
1446
- * @description signup, signin, forgot_password, course, session, webinar, meeting, teacher, bundle, checkout, profile, dashboard, custom
1447
- */
1448
- space_module: string;
1449
- /**
1450
- * Entity Type
1451
- * @description course, session, webinar, meeting, teacher, bundle
1452
- */
1453
- entity_type?: string | null;
1355
+ ConnectedSpacesSchema: {
1454
1356
  /**
1455
- * Es Doc Type
1456
- * @description entity, configuration
1357
+ * Register Link
1358
+ * @description External ID of register space
1457
1359
  */
1458
- es_doc_type?: string | null;
1360
+ register_link?: string | null;
1459
1361
  /**
1460
- * Es Context
1461
- * @description Plural form: courses, sessions, etc.
1362
+ * Forgot Password
1363
+ * @description External ID of forgot password space
1462
1364
  */
1463
- es_context?: string | null;
1365
+ forgot_password?: string | null;
1464
1366
  /**
1465
- * Url Type
1466
- * @description static or dynamic
1467
- * @enum {string}
1367
+ * Success Redirect
1368
+ * @description External ID of redirect space after success
1468
1369
  */
1469
- url_type: "static" | "dynamic";
1370
+ success_redirect?: string | null;
1371
+ };
1372
+ /**
1373
+ * FormConfigSchema
1374
+ * @description Form configuration for login/register pages
1375
+ */
1376
+ FormConfigSchema: {
1470
1377
  /**
1471
- * Show Header
1472
- * @description Show header
1473
- * @default true
1378
+ * Allowed Login Methods
1379
+ * @description email, mobile, google, facebook, linkedin, apple, twitter
1474
1380
  */
1475
- show_header: boolean;
1381
+ allowed_login_methods?: string[] | null;
1476
1382
  /**
1477
- * Show Footer
1478
- * @description Show footer
1383
+ * Password Visibility
1384
+ * @description Allow password visibility toggle
1479
1385
  * @default true
1480
1386
  */
1481
- show_footer: boolean;
1387
+ password_visibility: boolean;
1482
1388
  /**
1483
- * Show Sidebar
1484
- * @description Show sidebar
1485
- * @default false
1389
+ * Recaptcha
1390
+ * @description v2, v3, or null
1486
1391
  */
1487
- show_sidebar: boolean;
1392
+ recaptcha?: string | null;
1488
1393
  /**
1489
- * Visibility
1490
- * @description public, private, hidden, unlisted
1491
- * @default public
1394
+ * Max Failed Attempts
1395
+ * @default 3
1492
1396
  */
1493
- visibility: string;
1397
+ max_failed_attempts: number;
1494
1398
  /**
1495
- * Requires Auth
1496
- * @description Requires authentication
1497
- * @default false
1399
+ * Lockout Duration Minutes
1400
+ * @default 5
1498
1401
  */
1499
- requires_auth: boolean;
1402
+ lockout_duration_minutes: number;
1500
1403
  /**
1501
1404
  * Allowed Roles
1502
- * @description ["admin","instructor"] or null for all
1503
- */
1504
- allowed_roles?: string[] | null;
1505
- /**
1506
- * Service Id
1507
- * @description Service ID
1508
- */
1509
- service_id?: number | null;
1510
- /**
1511
- * Is Master Space
1512
- * @description Is this a master/default space
1513
- * @default false
1514
- */
1515
- is_master_space: boolean;
1516
- /**
1517
- * Connected Space Id
1518
- * @description Connected space ID
1519
- * @default 0
1405
+ * @description Role IDs allowed to use this form
1520
1406
  */
1521
- connected_space_id: number;
1522
- };
1523
- Extensions: {
1524
- /** @example GENERIC_ERROR */
1525
- message_code?: string;
1526
- /** @example [] */
1527
- invalid_params?: components["schemas"]["InvalidParam"][];
1528
- extra_data?: Record<string, never> | null;
1529
- /** @example Detailed debug information */
1530
- debug?: string | null;
1531
- };
1532
- /**
1533
- * SpaceUpdateRequest
1534
- * @description Update an existing space
1535
- */
1536
- SpaceUpdateRequest: {
1537
- /** Title */
1538
- title?: string | null;
1539
- /** Description */
1540
- description?: string | null;
1541
- /** Layout Type */
1542
- layout_type?: string | null;
1543
- /** Show Header */
1544
- show_header?: boolean | null;
1545
- /** Show Footer */
1546
- show_footer?: boolean | null;
1547
- /** Show Sidebar */
1548
- show_sidebar?: boolean | null;
1549
- /** Visibility */
1550
- visibility?: string | null;
1551
- /** Requires Auth */
1552
- requires_auth?: boolean | null;
1553
- /** Allowed Roles */
1554
- allowed_roles?: string[] | null;
1407
+ allowed_roles?: number[] | null;
1408
+ connected_spaces?: components["schemas"]["ConnectedSpacesSchema"] | null;
1409
+ /** Custom Fields */
1410
+ custom_fields?: {
1411
+ [key: string]: unknown;
1412
+ } | null;
1555
1413
  };
1556
1414
  /**
1557
- * ConnectedSpacesSchema
1558
- * @description Connected spaces for forms
1415
+ * SortConfigSchema
1416
+ * @description Sort configuration for listing pages
1559
1417
  */
1560
- ConnectedSpacesSchema: {
1418
+ SortConfigSchema: {
1561
1419
  /**
1562
- * Register Link
1563
- * @description External ID of register space
1420
+ * Enabled
1421
+ * @description Enable sorting
1422
+ * @default true
1564
1423
  */
1565
- register_link?: string | null;
1424
+ enabled: boolean;
1566
1425
  /**
1567
- * Forgot Password
1568
- * @description External ID of forgot password space
1426
+ * Default
1427
+ * @description Default sort option
1428
+ * @default rating_desc
1569
1429
  */
1570
- forgot_password?: string | null;
1430
+ default: string;
1571
1431
  /**
1572
- * Success Redirect
1573
- * @description External ID of redirect space after success
1432
+ * Options
1433
+ * @description Available sort options
1574
1434
  */
1575
- success_redirect?: string | null;
1435
+ options?: string[];
1576
1436
  };
1577
1437
  /**
1578
- * UrlRuleCreateRequest
1579
- * @description Create URL rule for a space
1438
+ * ContentConfigCreateRequest
1439
+ * @description Create content configuration for a space
1580
1440
  * @example {
1581
- * "domain": "www.mysite.com",
1582
- * "level1_type": "custom_text",
1583
- * "level1_value": "course",
1584
- * "level2_type": "title",
1585
- * "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
+ * }
1586
1475
  * }
1587
1476
  */
1588
- UrlRuleCreateRequest: {
1589
- /**
1590
- * Domain
1591
- * @description Domain from tenant_domains_tbl
1592
- */
1593
- domain: string;
1594
- /**
1595
- * Base Path
1596
- * @description Optional prefix like /en or /us
1597
- */
1598
- base_path?: string | null;
1599
- /**
1600
- * Url Type
1601
- * @description static or dynamic
1602
- */
1603
- url_type: string;
1604
- /**
1605
- * Static Path
1606
- * @description /login or /marketplace/courses
1607
- */
1608
- static_path?: string | null;
1477
+ ContentConfigCreateRequest: {
1609
1478
  /**
1610
- * Level1 Type
1611
- * @description custom_text, title, firstname-lastname, role, country, etc
1479
+ * Entity Selection Mode
1480
+ * @description all, specific, criteria
1612
1481
  */
1613
- level1_type?: string | null;
1482
+ entity_selection_mode?: string | null;
1614
1483
  /**
1615
- * Level1 Value
1616
- * @description Fixed text if custom_text
1484
+ * Entity Ids
1485
+ * @description Specific entity IDs
1617
1486
  */
1618
- level1_value?: string | null;
1619
- /** Level2 Type */
1620
- level2_type?: string | null;
1621
- /** Level2 Value */
1622
- level2_value?: string | null;
1623
- /** Level3 Type */
1624
- level3_type?: string | null;
1625
- /** Level3 Value */
1626
- level3_value?: string | null;
1627
- /** Level4 Type */
1628
- level4_type?: string | null;
1629
- /** Level4 Value */
1630
- level4_value?: string | null;
1487
+ entity_ids?: number[] | null;
1488
+ entity_criteria?: components["schemas"]["EntityCriteriaSchema"] | null;
1489
+ display_config?: components["schemas"]["DisplayConfigSchema"] | null;
1490
+ filter_config?: components["schemas"]["FilterConfigSchema"] | null;
1491
+ sort_config?: components["schemas"]["SortConfigSchema"] | null;
1492
+ form_config?: components["schemas"]["FormConfigSchema"] | null;
1493
+ static_content?: components["schemas"]["StaticContentSchema"] | null;
1631
1494
  };
1632
1495
  /**
1633
- * EntityCriteriaSchema
1634
- * @description Entity selection criteria
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
+ * }
1635
1510
  */
1636
- EntityCriteriaSchema: {
1637
- /** Category Ids */
1638
- category_ids?: number[] | null;
1639
- /** Subject Ids */
1640
- subject_ids?: number[] | null;
1641
- /** Country Codes */
1642
- country_codes?: string[] | null;
1643
- /** Price Min */
1644
- price_min?: number | null;
1645
- /** Price Max */
1646
- price_max?: number | null;
1647
- /** Rating Min */
1648
- rating_min?: number | null;
1649
- /** Language */
1650
- language?: string | null;
1651
- /** Custom Filters */
1652
- custom_filters?: {
1653
- [key: string]: unknown;
1654
- } | null;
1655
- };
1656
- /** Body_createSpacePublication */
1657
- Body_createSpacePublication: {
1658
- /**
1659
- * Version Label
1660
- * @description Version label (e.g., v1.0)
1661
- */
1662
- version_label?: string | null;
1663
- /**
1664
- * Change Notes
1665
- * @description Change notes for this version
1666
- */
1667
- change_notes?: string | null;
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"];
1668
1521
  };
1669
1522
  /**
1670
1523
  * SeoUpsertRequest
@@ -1878,160 +1731,213 @@ export interface components {
1878
1731
  [key: string]: string;
1879
1732
  }[] | null;
1880
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
+ };
1881
1743
  /**
1882
- * TemplateDataUpdateRequest
1883
- * @description Update template section data
1744
+ * TemplateAssignRequest
1745
+ * @description Assign a template to a space
1884
1746
  */
1885
- TemplateDataUpdateRequest: {
1747
+ TemplateAssignRequest: {
1886
1748
  /**
1887
- * Section Content
1888
- * @description Updated section configuration
1749
+ * Template Id
1750
+ * @description External ID of template: tpl_xxx
1889
1751
  */
1890
- section_content: {
1891
- [key: string]: unknown;
1892
- };
1752
+ template_id: string;
1893
1753
  };
1894
1754
  /**
1895
- * ContentConfigCreateRequest
1896
- * @description Create content configuration for a space
1755
+ * SpaceCreateRequest
1756
+ * @description Create a new space
1897
1757
  * @example {
1898
- * "display_config": {
1899
- * "card_style": "style1",
1900
- * "records_on_lg": 4,
1901
- * "records_per_page": 20
1902
- * },
1903
- * "entity_criteria": {
1904
- * "category_ids": [
1905
- * 1,
1906
- * 2,
1907
- * 3
1908
- * ],
1909
- * "price_max": 100,
1910
- * "price_min": 0,
1911
- * "rating_min": 4
1912
- * },
1913
- * "entity_selection_mode": "criteria",
1914
- * "filter_config": {
1915
- * "available_filters": [
1916
- * "category",
1917
- * "price",
1918
- * "rating"
1919
- * ],
1920
- * "enabled": true,
1921
- * "position": "left"
1922
- * },
1923
- * "sort_config": {
1924
- * "default": "rating_desc",
1925
- * "enabled": true,
1926
- * "options": [
1927
- * "price_asc",
1928
- * "price_desc",
1929
- * "rating_desc"
1930
- * ]
1931
- * }
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"
1932
1769
  * }
1933
1770
  */
1934
- ContentConfigCreateRequest: {
1771
+ SpaceCreateRequest: {
1935
1772
  /**
1936
- * Entity Selection Mode
1937
- * @description all, specific, criteria
1773
+ * Title
1774
+ * @description Space title
1938
1775
  */
1939
- entity_selection_mode?: string | null;
1776
+ title: string;
1940
1777
  /**
1941
- * Entity Ids
1942
- * @description Specific entity IDs
1778
+ * Description
1779
+ * @description Space description
1943
1780
  */
1944
- entity_ids?: number[] | null;
1945
- entity_criteria?: components["schemas"]["EntityCriteriaSchema"] | null;
1946
- display_config?: components["schemas"]["DisplayConfigSchema"] | null;
1947
- filter_config?: components["schemas"]["FilterConfigSchema"] | null;
1948
- sort_config?: components["schemas"]["SortConfigSchema"] | null;
1949
- form_config?: components["schemas"]["FormConfigSchema"] | null;
1950
- static_content?: components["schemas"]["StaticContentSchema"] | null;
1951
- };
1952
- /**
1953
- * DisplayConfigSchema
1954
- * @description Display configuration for listing pages
1955
- */
1956
- DisplayConfigSchema: {
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;
1957
1820
  /**
1958
- * Card Style
1959
- * @description Card display style
1960
- * @default style1
1821
+ * Show Footer
1822
+ * @description Show footer
1823
+ * @default true
1961
1824
  */
1962
- card_style: string;
1825
+ show_footer: boolean;
1963
1826
  /**
1964
- * Records Per Page
1965
- * @description Records per page
1966
- * @default 20
1827
+ * Show Sidebar
1828
+ * @description Show sidebar
1829
+ * @default false
1967
1830
  */
1968
- records_per_page: number;
1831
+ show_sidebar: boolean;
1969
1832
  /**
1970
- * Records On Lg
1971
- * @description Columns on large screens
1972
- * @default 4
1833
+ * Visibility
1834
+ * @description public, private, hidden, unlisted
1835
+ * @default public
1973
1836
  */
1974
- records_on_lg: number;
1837
+ visibility: string;
1975
1838
  /**
1976
- * Records On Md
1977
- * @description Columns on medium screens
1978
- * @default 3
1839
+ * Requires Auth
1840
+ * @description Requires authentication
1841
+ * @default false
1979
1842
  */
1980
- records_on_md: number;
1843
+ requires_auth: boolean;
1981
1844
  /**
1982
- * Records On Sm
1983
- * @description Columns on small screens
1984
- * @default 2
1845
+ * Allowed Roles
1846
+ * @description ["admin","instructor"] or null for all
1985
1847
  */
1986
- records_on_sm: number;
1848
+ allowed_roles?: string[] | null;
1987
1849
  /**
1988
- * Records On Xs
1989
- * @description Columns on extra small screens
1990
- * @default 1
1850
+ * Service Id
1851
+ * @description Service ID
1991
1852
  */
1992
- records_on_xs: number;
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;
1860
+ /**
1861
+ * Connected Space Id
1862
+ * @description Connected space ID
1863
+ * @default 0
1864
+ */
1865
+ connected_space_id: number;
1993
1866
  };
1994
1867
  /**
1995
- * FormConfigSchema
1996
- * @description Form configuration for login/register pages
1868
+ * SpaceUpdateRequest
1869
+ * @description Update an existing space
1997
1870
  */
1998
- FormConfigSchema: {
1999
- /**
2000
- * Allowed Login Methods
2001
- * @description email, mobile, google, facebook, linkedin, apple, twitter
2002
- */
2003
- allowed_login_methods?: string[] | null;
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;
2004
1900
  /**
2005
- * Password Visibility
2006
- * @description Allow password visibility toggle
2007
- * @default true
1901
+ * Content Source
1902
+ * @description custom, cms, external
1903
+ * @default custom
2008
1904
  */
2009
- password_visibility: boolean;
1905
+ content_source: string;
1906
+ };
1907
+ /**
1908
+ * SpaceCloneRequest
1909
+ * @description Clone an existing space
1910
+ */
1911
+ SpaceCloneRequest: {
2010
1912
  /**
2011
- * Recaptcha
2012
- * @description v2, v3, or null
1913
+ * Title
1914
+ * @description Title for the cloned space
2013
1915
  */
2014
- recaptcha?: string | null;
1916
+ title: string;
2015
1917
  /**
2016
- * Max Failed Attempts
2017
- * @default 3
1918
+ * Clone Content
1919
+ * @description Clone content configuration
1920
+ * @default true
2018
1921
  */
2019
- max_failed_attempts: number;
1922
+ clone_content: boolean;
2020
1923
  /**
2021
- * Lockout Duration Minutes
2022
- * @default 5
1924
+ * Clone Template Data
1925
+ * @description Clone template data
1926
+ * @default true
2023
1927
  */
2024
- lockout_duration_minutes: number;
1928
+ clone_template_data: boolean;
2025
1929
  /**
2026
- * Allowed Roles
2027
- * @description Role IDs allowed to use this form
1930
+ * Clone Url Rule
1931
+ * @description Clone URL rule (usually false - need new URL)
1932
+ * @default false
2028
1933
  */
2029
- allowed_roles?: number[] | null;
2030
- connected_spaces?: components["schemas"]["ConnectedSpacesSchema"] | null;
2031
- /** Custom Fields */
2032
- custom_fields?: {
2033
- [key: string]: unknown;
2034
- } | 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;
2035
1941
  };
2036
1942
  ErrorResponse: {
2037
1943
  /** @example about:blank */
@@ -2048,6 +1954,85 @@ export interface components {
2048
1954
  instance?: string;
2049
1955
  extensions?: components["schemas"]["Extensions"];
2050
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: {
1969
+ /**
1970
+ * Domain
1971
+ * @description Domain from tenant_domains_tbl
1972
+ */
1973
+ domain: string;
1974
+ /**
1975
+ * Base Path
1976
+ * @description Optional prefix like /en or /us
1977
+ */
1978
+ base_path?: string | null;
1979
+ /**
1980
+ * Url Type
1981
+ * @description static or dynamic
1982
+ */
1983
+ url_type: string;
1984
+ /**
1985
+ * Static Path
1986
+ * @description /login or /marketplace/courses
1987
+ */
1988
+ static_path?: string | null;
1989
+ /**
1990
+ * Level1 Type
1991
+ * @description custom_text, title, firstname-lastname, role, country, etc
1992
+ */
1993
+ level1_type?: string | null;
1994
+ /**
1995
+ * Level1 Value
1996
+ * @description Fixed text if custom_text
1997
+ */
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
+ };
2051
2036
  /**
2052
2037
  * FilterConfigSchema
2053
2038
  * @description Filter configuration for listing pages
@@ -2077,16 +2062,31 @@ export interface components {
2077
2062
  */
2078
2063
  keyword_search: boolean;
2079
2064
  };
2065
+ /** Body_createSpacePublication */
2066
+ Body_createSpacePublication: {
2067
+ /**
2068
+ * Version Label
2069
+ * @description Version label (e.g., v1.0)
2070
+ */
2071
+ version_label?: string | null;
2072
+ /**
2073
+ * Change Notes
2074
+ * @description Change notes for this version
2075
+ */
2076
+ change_notes?: string | null;
2077
+ };
2080
2078
  /**
2081
- * TemplateAssignRequest
2082
- * @description Assign a template to a space
2079
+ * TemplateDataUpdateRequest
2080
+ * @description Update template section data
2083
2081
  */
2084
- TemplateAssignRequest: {
2082
+ TemplateDataUpdateRequest: {
2085
2083
  /**
2086
- * Template Id
2087
- * @description External ID of template: tpl_xxx
2084
+ * Section Content
2085
+ * @description Updated section configuration
2088
2086
  */
2089
- template_id: string;
2087
+ section_content: {
2088
+ [key: string]: unknown;
2089
+ };
2090
2090
  };
2091
2091
  };
2092
2092
  responses: never;