@blezgo/api-sdk 0.1.4 → 0.1.6

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 +230 -230
  2. package/dist/account/generated.d.ts.map +1 -1
  3. package/dist/activity/generated.d.ts +46 -46
  4. package/dist/activity/generated.d.ts.map +1 -1
  5. package/dist/addon/generated.d.ts +101 -101
  6. package/dist/addon/generated.d.ts.map +1 -1
  7. package/dist/admin/generated.d.ts +122 -122
  8. package/dist/admin/generated.d.ts.map +1 -1
  9. package/dist/affiliate/generated.d.ts +82 -82
  10. package/dist/affiliate/generated.d.ts.map +1 -1
  11. package/dist/analytics/generated.d.ts +21 -21
  12. package/dist/analytics/generated.d.ts.map +1 -1
  13. package/dist/announcements/generated.d.ts +119 -119
  14. package/dist/announcements/generated.d.ts.map +1 -1
  15. package/dist/apikeys/generated.d.ts +129 -129
  16. package/dist/apikeys/generated.d.ts.map +1 -1
  17. package/dist/assistance/generated.d.ts +21 -21
  18. package/dist/assistance/generated.d.ts.map +1 -1
  19. package/dist/authentication/generated.d.ts +83 -83
  20. package/dist/authentication/generated.d.ts.map +1 -1
  21. package/dist/blog/generated.d.ts +212 -212
  22. package/dist/blog/generated.d.ts.map +1 -1
  23. package/dist/bundle/generated.d.ts +185 -185
  24. package/dist/bundle/generated.d.ts.map +1 -1
  25. package/dist/cache/generated.d.ts +27 -27
  26. package/dist/cache/generated.d.ts.map +1 -1
  27. package/dist/calendar/generated.d.ts +54 -54
  28. package/dist/calendar/generated.d.ts.map +1 -1
  29. package/dist/campaigns/generated.d.ts +206 -206
  30. package/dist/campaigns/generated.d.ts.map +1 -1
  31. package/dist/cart/generated.d.ts +42 -42
  32. package/dist/cart/generated.d.ts.map +1 -1
  33. package/dist/changelog/generated.d.ts +101 -101
  34. package/dist/changelog/generated.d.ts.map +1 -1
  35. package/dist/channel/generated.d.ts +213 -213
  36. package/dist/channel/generated.d.ts.map +1 -1
  37. package/dist/company/generated.d.ts +57 -57
  38. package/dist/company/generated.d.ts.map +1 -1
  39. package/dist/conference/generated.d.ts +109 -109
  40. package/dist/conference/generated.d.ts.map +1 -1
  41. package/dist/config/generated.d.ts +55 -55
  42. package/dist/config/generated.d.ts.map +1 -1
  43. package/dist/content/generated.d.ts +613 -613
  44. package/dist/content/generated.d.ts.map +1 -1
  45. package/dist/cookies/generated.d.ts +71 -71
  46. package/dist/cookies/generated.d.ts.map +1 -1
  47. package/dist/courses/generated.d.ts +453 -453
  48. package/dist/courses/generated.d.ts.map +1 -1
  49. package/dist/custom/generated.d.ts +78 -78
  50. package/dist/custom/generated.d.ts.map +1 -1
  51. package/dist/dashboard/generated.d.ts +138 -138
  52. package/dist/dashboard/generated.d.ts.map +1 -1
  53. package/dist/elasticsearch/generated.d.ts +21 -21
  54. package/dist/elasticsearch/generated.d.ts.map +1 -1
  55. package/dist/enrollments/generated.d.ts +21 -21
  56. package/dist/enrollments/generated.d.ts.map +1 -1
  57. package/dist/errors/generated.d.ts +54 -54
  58. package/dist/errors/generated.d.ts.map +1 -1
  59. package/dist/eventconfig/generated.d.ts +53 -53
  60. package/dist/eventconfig/generated.d.ts.map +1 -1
  61. package/dist/funnels/generated.d.ts +117 -117
  62. package/dist/funnels/generated.d.ts.map +1 -1
  63. package/dist/gamification/generated.d.ts +177 -177
  64. package/dist/gamification/generated.d.ts.map +1 -1
  65. package/dist/impersonation/generated.d.ts +52 -52
  66. package/dist/impersonation/generated.d.ts.map +1 -1
  67. package/dist/inbox/generated.d.ts +122 -122
  68. package/dist/inbox/generated.d.ts.map +1 -1
  69. package/dist/internal/generated.d.ts +21 -21
  70. package/dist/internal/generated.d.ts.map +1 -1
  71. package/dist/internationalization/generated.d.ts +21 -21
  72. package/dist/internationalization/generated.d.ts.map +1 -1
  73. package/dist/invitations/generated.d.ts +156 -156
  74. package/dist/invitations/generated.d.ts.map +1 -1
  75. package/dist/meetings/generated.d.ts +372 -372
  76. package/dist/meetings/generated.d.ts.map +1 -1
  77. package/dist/metas/generated.d.ts +199 -199
  78. package/dist/metas/generated.d.ts.map +1 -1
  79. package/dist/notification/generated.d.ts +356 -356
  80. package/dist/notification/generated.d.ts.map +1 -1
  81. package/dist/notifications/generated.d.ts +21 -21
  82. package/dist/notifications/generated.d.ts.map +1 -1
  83. package/dist/onboarding/generated.d.ts +77 -77
  84. package/dist/onboarding/generated.d.ts.map +1 -1
  85. package/dist/packages/generated.d.ts +59 -59
  86. package/dist/packages/generated.d.ts.map +1 -1
  87. package/dist/payments/generated.d.ts +523 -523
  88. package/dist/payments/generated.d.ts.map +1 -1
  89. package/dist/payouts/generated.d.ts +21 -21
  90. package/dist/payouts/generated.d.ts.map +1 -1
  91. package/dist/plans/generated.d.ts +323 -323
  92. package/dist/plans/generated.d.ts.map +1 -1
  93. package/dist/pricing/generated.d.ts +38 -38
  94. package/dist/pricing/generated.d.ts.map +1 -1
  95. package/dist/products/generated.d.ts +443 -443
  96. package/dist/products/generated.d.ts.map +1 -1
  97. package/dist/profile/generated.d.ts +354 -354
  98. package/dist/profile/generated.d.ts.map +1 -1
  99. package/dist/reasons/generated.d.ts +101 -101
  100. package/dist/reasons/generated.d.ts.map +1 -1
  101. package/dist/registration/generated.d.ts +171 -171
  102. package/dist/registration/generated.d.ts.map +1 -1
  103. package/dist/reviews/generated.d.ts +57 -57
  104. package/dist/reviews/generated.d.ts.map +1 -1
  105. package/dist/role/generated.d.ts +191 -191
  106. package/dist/role/generated.d.ts.map +1 -1
  107. package/dist/scheduling/generated.d.ts +103 -103
  108. package/dist/scheduling/generated.d.ts.map +1 -1
  109. package/dist/services/generated.d.ts +1017 -1017
  110. package/dist/services/generated.d.ts.map +1 -1
  111. package/dist/sessions/generated.d.ts +362 -362
  112. package/dist/sessions/generated.d.ts.map +1 -1
  113. package/dist/spaces/generated.d.ts +600 -600
  114. package/dist/spaces/generated.d.ts.map +1 -1
  115. package/dist/storefront/generated.d.ts +21 -21
  116. package/dist/storefront/generated.d.ts.map +1 -1
  117. package/dist/support/generated.d.ts +1403 -1403
  118. package/dist/support/generated.d.ts.map +1 -1
  119. package/dist/sync/generated.d.ts +182 -182
  120. package/dist/sync/generated.d.ts.map +1 -1
  121. package/dist/tenant/generated.d.ts +737 -737
  122. package/dist/tenant/generated.d.ts.map +1 -1
  123. package/dist/testimonials/generated.d.ts +50 -50
  124. package/dist/testimonials/generated.d.ts.map +1 -1
  125. package/dist/tests/generated.d.ts +472 -472
  126. package/dist/tests/generated.d.ts.map +1 -1
  127. package/dist/tokens/generated.d.ts +54 -54
  128. package/dist/tokens/generated.d.ts.map +1 -1
  129. package/dist/uploads/generated.d.ts +69 -69
  130. package/dist/uploads/generated.d.ts.map +1 -1
  131. package/dist/upsell/generated.d.ts +130 -130
  132. package/dist/upsell/generated.d.ts.map +1 -1
  133. package/dist/user/generated.d.ts +72 -72
  134. package/dist/user/generated.d.ts.map +1 -1
  135. package/dist/webinars/generated.d.ts +329 -329
  136. package/dist/webinars/generated.d.ts.map +1 -1
  137. package/package.json +1 -1
@@ -1217,156 +1217,28 @@ export type webhooks = Record<string, never>;
1217
1217
  export interface components {
1218
1218
  schemas: {
1219
1219
  /**
1220
- * ProductType
1221
- * @description Product types supported (11 active types)
1222
- * @enum {string}
1223
- */
1224
- ProductType: "course" | "package" | "session" | "webinar" | "bundle" | "meeting" | "open_class" | "plan" | "test" | "appointment" | "limit_minutes";
1225
- InvalidParam: {
1226
- /** @example items[0].quantity */
1227
- field?: string;
1228
- /** @example Input should be greater than or equal to 1 */
1229
- error?: string;
1230
- };
1231
- /**
1232
- * VariantImageInput
1233
- * @description Image data for variant creation.
1234
- */
1235
- VariantImageInput: {
1236
- /**
1237
- * Image Url
1238
- * @description Image URL
1239
- */
1240
- image_url: string;
1241
- /**
1242
- * Image Type
1243
- * @description primary, gallery, thumbnail
1244
- * @default primary
1245
- */
1246
- image_type: string;
1247
- /**
1248
- * Display Order
1249
- * @description Display order
1250
- * @default 100
1251
- */
1252
- display_order: number;
1253
- };
1254
- /**
1255
- * @example {
1256
- * "status": "success",
1257
- * "message": "Operation successful",
1258
- * "message_code": "api_suc_20001",
1259
- * "data": {},
1260
- * "metadata": {
1261
- * "timestamp": "2026-03-26T10:00:00.000Z",
1262
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
1263
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
1264
- * "version": "v1",
1265
- * "executionTime": 42,
1266
- * "language": "en-US"
1267
- * }
1268
- * }
1269
- */
1270
- StandardResponse: {
1271
- /** @example success */
1272
- status?: string;
1273
- data?: Record<string, never> | null;
1274
- /** @example Operation successful */
1275
- message?: string | null;
1276
- /** @example api_suc_20001 */
1277
- message_code?: string | null;
1278
- metadata?: Record<string, never> | null;
1279
- error?: components["schemas"]["ErrorResponse"];
1280
- };
1281
- /**
1282
- * AddBundleItemRequest
1283
- * @example {
1284
- * "discount_percentage": 10,
1285
- * "display_order": 0,
1286
- * "is_required": true,
1287
- * "is_visible": true,
1288
- * "item_product_id": 456,
1289
- * "quantity": 1
1290
- * }
1220
+ * VariantInventoryInput
1221
+ * @description Inventory data for variant creation.
1291
1222
  */
1292
- AddBundleItemRequest: {
1293
- /**
1294
- * Item Product Id
1295
- * @example 456
1296
- */
1297
- item_product_id: number;
1298
- /**
1299
- * Quantity
1300
- * @default 1
1301
- * @example 1
1302
- */
1303
- quantity: number;
1304
- /**
1305
- * Discount Percentage
1306
- * @description Discount % (0-100)
1307
- * @example 10
1308
- */
1309
- discount_percentage?: number | null;
1310
- /**
1311
- * Override Price
1312
- * @description Override price for this item
1313
- * @example 49.99
1314
- */
1315
- override_price?: number | null;
1316
- /**
1317
- * Is Required
1318
- * @default true
1319
- * @example true
1320
- */
1321
- is_required: boolean;
1223
+ VariantInventoryInput: {
1322
1224
  /**
1323
- * Is Visible
1225
+ * Track Inventory
1226
+ * @description Track stock for this variant
1324
1227
  * @default true
1325
- * @example true
1326
- */
1327
- is_visible: boolean;
1328
- /**
1329
- * Display Order
1330
- * @default 0
1331
- * @example 0
1332
- */
1333
- display_order: number;
1334
- };
1335
- /**
1336
- * InventoryAdjustmentRequest
1337
- * @description Request model for inventory adjustment.
1338
- */
1339
- InventoryAdjustmentRequest: {
1340
- /**
1341
- * Adjustment Type
1342
- * @description add, subtract, or set
1343
1228
  */
1344
- adjustment_type: string;
1229
+ track_inventory: boolean;
1345
1230
  /**
1346
- * Quantity
1347
- * @description Quantity to add/subtract/set
1231
+ * Stock Quantity
1232
+ * @description Initial stock quantity
1348
1233
  */
1349
- quantity: number;
1234
+ stock_quantity?: number | null;
1350
1235
  /**
1351
- * Reason
1352
- * @description Reason for adjustment
1236
+ * Allow Backorder
1237
+ * @description Allow orders when out of stock
1238
+ * @default false
1353
1239
  */
1354
- reason?: string | null;
1355
- };
1356
- Extensions: {
1357
- /** @example GENERIC_ERROR */
1358
- message_code?: string;
1359
- /** @example [] */
1360
- invalid_params?: components["schemas"]["InvalidParam"][];
1361
- extra_data?: Record<string, never> | null;
1362
- /** @example Detailed debug information */
1363
- debug?: string | null;
1240
+ allow_backorder: boolean;
1364
1241
  };
1365
- /**
1366
- * ProductPriceType
1367
- * @enum {string}
1368
- */
1369
- ProductPriceType: "free" | "subscription" | "onetime" | "emi";
1370
1242
  /**
1371
1243
  * SeoUpsertRequest
1372
1244
  * @description Unified SEO upsert schema for all entity types (space, product, service, ...).
@@ -1580,91 +1452,38 @@ export interface components {
1580
1452
  }[] | null;
1581
1453
  };
1582
1454
  /**
1583
- * VariantCreateRequest
1584
- * @description Request model for creating a product variant.
1455
+ * CreateTagRequest
1456
+ * @example {
1457
+ * "color": "#3776AB",
1458
+ * "description": "Programming language tag for Python courses",
1459
+ * "tag_name": "Python Programming",
1460
+ * "tag_type": "skill"
1461
+ * }
1585
1462
  */
1586
- VariantCreateRequest: {
1587
- /**
1588
- * Name
1589
- * @description Variant display name: '24 inch Black'
1590
- */
1591
- name: string;
1592
- /**
1593
- * Sku
1594
- * @description Stock Keeping Unit (unique)
1595
- */
1596
- sku?: string | null;
1597
- /**
1598
- * Barcode
1599
- * @description EAN, UPC, ISBN, etc.
1600
- */
1601
- barcode?: string | null;
1602
- /**
1603
- * Attributes
1604
- * @description Variant attributes: {'size': '24 inch', 'color': 'black'}
1605
- * @example {
1606
- * "color": "black",
1607
- * "size": "24 inch"
1608
- * }
1609
- */
1610
- attributes?: {
1611
- [key: string]: unknown;
1612
- } | null;
1613
- /**
1614
- * Is Default
1615
- * @description Set as default variant for product
1616
- * @default false
1617
- */
1618
- is_default: boolean;
1619
- /** @description Inventory settings */
1620
- inventory?: components["schemas"]["VariantInventoryInput"] | null;
1621
- /** @description Pricing for this variant */
1622
- pricing?: components["schemas"]["VariantPricingInput"] | null;
1623
- /**
1624
- * Images
1625
- * @description Variant-specific images
1626
- */
1627
- images?: components["schemas"]["VariantImageInput"][] | null;
1628
- /**
1629
- * Weight
1630
- * @description Weight in kg
1631
- */
1632
- weight?: number | string | null;
1633
- /**
1634
- * Length
1635
- * @description Length in cm
1636
- */
1637
- length?: number | string | null;
1463
+ CreateTagRequest: {
1638
1464
  /**
1639
- * Width
1640
- * @description Width in cm
1465
+ * Tag Name
1466
+ * @example Python Programming
1641
1467
  */
1642
- width?: number | string | null;
1468
+ tag_name: string;
1643
1469
  /**
1644
- * Height
1645
- * @description Height in cm
1470
+ * Tag Type
1471
+ * @description category, topic, skill, difficulty
1472
+ * @example skill
1646
1473
  */
1647
- height?: number | string | null;
1474
+ tag_type?: string | null;
1648
1475
  /**
1649
- * Display Order
1650
- * @description Display order
1651
- * @default 100
1476
+ * Description
1477
+ * @example Programming language tag for Python courses
1652
1478
  */
1653
- display_order: number;
1479
+ description?: string | null;
1654
1480
  /**
1655
- * Metadata
1656
- * @description Flexible metadata: {'batch_id': 123, 'instructor_id': 456}
1481
+ * Color
1482
+ * @description HEX color code
1483
+ * @example #3776AB
1657
1484
  */
1658
- metadata?: {
1659
- [key: string]: unknown;
1660
- } | null;
1485
+ color?: string | null;
1661
1486
  };
1662
- /**
1663
- * Locale
1664
- * @description Supported locales (language-country format)
1665
- * @enum {string}
1666
- */
1667
- Locale: "en-US" | "es-PR" | "es-ES" | "fr-FR" | "pt-BR" | "de-DE" | "it-IT" | "ja-JP" | "zh-CN";
1668
1487
  /** ProductPriceUpdateRequest */
1669
1488
  ProductPriceUpdateRequest: {
1670
1489
  /** Amount */
@@ -1683,9 +1502,343 @@ export interface components {
1683
1502
  is_active?: boolean | null;
1684
1503
  };
1685
1504
  /**
1686
- * ProductCreateRequest
1687
- * @description Create new product (base record only)
1688
- * Identity (title, description, images) managed separately via ProductIdentity endpoints
1505
+ * VariantPricingInput
1506
+ * @description Pricing data for variant creation.
1507
+ */
1508
+ VariantPricingInput: {
1509
+ /**
1510
+ * Amount
1511
+ * @description Price amount
1512
+ */
1513
+ amount: number | string;
1514
+ /**
1515
+ * Currency
1516
+ * @description Currency code
1517
+ * @default USD
1518
+ */
1519
+ currency: string;
1520
+ /**
1521
+ * Interval
1522
+ * @description one_time, daily, weekly, monthly, yearly
1523
+ * @default one_time
1524
+ */
1525
+ interval: string;
1526
+ /**
1527
+ * Interval Count
1528
+ * @description Billing frequency
1529
+ * @default 1
1530
+ */
1531
+ interval_count: number;
1532
+ /**
1533
+ * Is Active
1534
+ * @description Is pricing active
1535
+ * @default true
1536
+ */
1537
+ is_active: boolean;
1538
+ };
1539
+ /**
1540
+ * AddBundleItemRequest
1541
+ * @example {
1542
+ * "discount_percentage": 10,
1543
+ * "display_order": 0,
1544
+ * "is_required": true,
1545
+ * "is_visible": true,
1546
+ * "item_product_id": 456,
1547
+ * "quantity": 1
1548
+ * }
1549
+ */
1550
+ AddBundleItemRequest: {
1551
+ /**
1552
+ * Item Product Id
1553
+ * @example 456
1554
+ */
1555
+ item_product_id: number;
1556
+ /**
1557
+ * Quantity
1558
+ * @default 1
1559
+ * @example 1
1560
+ */
1561
+ quantity: number;
1562
+ /**
1563
+ * Discount Percentage
1564
+ * @description Discount % (0-100)
1565
+ * @example 10
1566
+ */
1567
+ discount_percentage?: number | null;
1568
+ /**
1569
+ * Override Price
1570
+ * @description Override price for this item
1571
+ * @example 49.99
1572
+ */
1573
+ override_price?: number | null;
1574
+ /**
1575
+ * Is Required
1576
+ * @default true
1577
+ * @example true
1578
+ */
1579
+ is_required: boolean;
1580
+ /**
1581
+ * Is Visible
1582
+ * @default true
1583
+ * @example true
1584
+ */
1585
+ is_visible: boolean;
1586
+ /**
1587
+ * Display Order
1588
+ * @default 0
1589
+ * @example 0
1590
+ */
1591
+ display_order: number;
1592
+ };
1593
+ /**
1594
+ * ProductInterval
1595
+ * @enum {string}
1596
+ */
1597
+ ProductInterval: "day" | "week" | "month" | "year";
1598
+ /**
1599
+ * VariantCreateRequest
1600
+ * @description Request model for creating a product variant.
1601
+ */
1602
+ VariantCreateRequest: {
1603
+ /**
1604
+ * Name
1605
+ * @description Variant display name: '24 inch Black'
1606
+ */
1607
+ name: string;
1608
+ /**
1609
+ * Sku
1610
+ * @description Stock Keeping Unit (unique)
1611
+ */
1612
+ sku?: string | null;
1613
+ /**
1614
+ * Barcode
1615
+ * @description EAN, UPC, ISBN, etc.
1616
+ */
1617
+ barcode?: string | null;
1618
+ /**
1619
+ * Attributes
1620
+ * @description Variant attributes: {'size': '24 inch', 'color': 'black'}
1621
+ * @example {
1622
+ * "color": "black",
1623
+ * "size": "24 inch"
1624
+ * }
1625
+ */
1626
+ attributes?: {
1627
+ [key: string]: unknown;
1628
+ } | null;
1629
+ /**
1630
+ * Is Default
1631
+ * @description Set as default variant for product
1632
+ * @default false
1633
+ */
1634
+ is_default: boolean;
1635
+ /** @description Inventory settings */
1636
+ inventory?: components["schemas"]["VariantInventoryInput"] | null;
1637
+ /** @description Pricing for this variant */
1638
+ pricing?: components["schemas"]["VariantPricingInput"] | null;
1639
+ /**
1640
+ * Images
1641
+ * @description Variant-specific images
1642
+ */
1643
+ images?: components["schemas"]["VariantImageInput"][] | null;
1644
+ /**
1645
+ * Weight
1646
+ * @description Weight in kg
1647
+ */
1648
+ weight?: number | string | null;
1649
+ /**
1650
+ * Length
1651
+ * @description Length in cm
1652
+ */
1653
+ length?: number | string | null;
1654
+ /**
1655
+ * Width
1656
+ * @description Width in cm
1657
+ */
1658
+ width?: number | string | null;
1659
+ /**
1660
+ * Height
1661
+ * @description Height in cm
1662
+ */
1663
+ height?: number | string | null;
1664
+ /**
1665
+ * Display Order
1666
+ * @description Display order
1667
+ * @default 100
1668
+ */
1669
+ display_order: number;
1670
+ /**
1671
+ * Metadata
1672
+ * @description Flexible metadata: {'batch_id': 123, 'instructor_id': 456}
1673
+ */
1674
+ metadata?: {
1675
+ [key: string]: unknown;
1676
+ } | null;
1677
+ };
1678
+ /**
1679
+ * InventoryAdjustmentRequest
1680
+ * @description Request model for inventory adjustment.
1681
+ */
1682
+ InventoryAdjustmentRequest: {
1683
+ /**
1684
+ * Adjustment Type
1685
+ * @description add, subtract, or set
1686
+ */
1687
+ adjustment_type: string;
1688
+ /**
1689
+ * Quantity
1690
+ * @description Quantity to add/subtract/set
1691
+ */
1692
+ quantity: number;
1693
+ /**
1694
+ * Reason
1695
+ * @description Reason for adjustment
1696
+ */
1697
+ reason?: string | null;
1698
+ };
1699
+ /**
1700
+ * VariantStatus
1701
+ * @description Variant status enum.
1702
+ * @enum {string}
1703
+ */
1704
+ VariantStatus: "active" | "inactive" | "out_of_stock" | "discontinued";
1705
+ /**
1706
+ * VariantImageInput
1707
+ * @description Image data for variant creation.
1708
+ */
1709
+ VariantImageInput: {
1710
+ /**
1711
+ * Image Url
1712
+ * @description Image URL
1713
+ */
1714
+ image_url: string;
1715
+ /**
1716
+ * Image Type
1717
+ * @description primary, gallery, thumbnail
1718
+ * @default primary
1719
+ */
1720
+ image_type: string;
1721
+ /**
1722
+ * Display Order
1723
+ * @description Display order
1724
+ * @default 100
1725
+ */
1726
+ display_order: number;
1727
+ };
1728
+ /**
1729
+ * ProductPriceType
1730
+ * @enum {string}
1731
+ */
1732
+ ProductPriceType: "free" | "subscription" | "onetime" | "emi";
1733
+ /**
1734
+ * ProductIdentityCreateRequest
1735
+ * @description Create localized product content
1736
+ */
1737
+ ProductIdentityCreateRequest: {
1738
+ /**
1739
+ * @description Locale (language-country format)
1740
+ * @example en-US
1741
+ */
1742
+ locale: components["schemas"]["Locale"];
1743
+ /**
1744
+ * Title
1745
+ * @example Python Programming Course
1746
+ */
1747
+ title: string;
1748
+ /**
1749
+ * Subtitle
1750
+ * @example Master Python in 30 days
1751
+ */
1752
+ subtitle?: string | null;
1753
+ /**
1754
+ * Description
1755
+ * @example Comprehensive Python course covering basics to advanced topics
1756
+ */
1757
+ description?: string | null;
1758
+ /**
1759
+ * Short Description
1760
+ * @example Learn Python from scratch with hands-on projects
1761
+ */
1762
+ short_description?: string | null;
1763
+ };
1764
+ /** Body_createProductImageUpload */
1765
+ Body_createProductImageUpload: {
1766
+ /**
1767
+ * Image File
1768
+ * Format: binary
1769
+ */
1770
+ image_file: string;
1771
+ };
1772
+ /**
1773
+ * Locale
1774
+ * @description Supported locales (language-country format)
1775
+ * @enum {string}
1776
+ */
1777
+ Locale: "en-US" | "es-PR" | "es-ES" | "fr-FR" | "pt-BR" | "de-DE" | "it-IT" | "ja-JP" | "zh-CN";
1778
+ /**
1779
+ * VariantUpdateRequest
1780
+ * @description Request model for updating a variant.
1781
+ */
1782
+ VariantUpdateRequest: {
1783
+ /** Name */
1784
+ name?: string | null;
1785
+ /** Sku */
1786
+ sku?: string | null;
1787
+ /** Barcode */
1788
+ barcode?: string | null;
1789
+ /** Attributes */
1790
+ attributes?: {
1791
+ [key: string]: unknown;
1792
+ } | null;
1793
+ /** Is Default */
1794
+ is_default?: boolean | null;
1795
+ status?: components["schemas"]["VariantStatus"] | null;
1796
+ /** Display Order */
1797
+ display_order?: number | null;
1798
+ /** Metadata */
1799
+ metadata?: {
1800
+ [key: string]: unknown;
1801
+ } | null;
1802
+ /** Track Inventory */
1803
+ track_inventory?: boolean | null;
1804
+ /** Stock Quantity */
1805
+ stock_quantity?: number | null;
1806
+ /** Allow Backorder */
1807
+ allow_backorder?: boolean | null;
1808
+ /** Weight */
1809
+ weight?: number | string | null;
1810
+ /** Length */
1811
+ length?: number | string | null;
1812
+ /** Width */
1813
+ width?: number | string | null;
1814
+ /** Height */
1815
+ height?: number | string | null;
1816
+ };
1817
+ /**
1818
+ * ProductType
1819
+ * @description Product types supported (11 active types)
1820
+ * @enum {string}
1821
+ */
1822
+ ProductType: "course" | "package" | "session" | "webinar" | "bundle" | "meeting" | "open_class" | "plan" | "test" | "appointment" | "limit_minutes";
1823
+ ErrorResponse: {
1824
+ /** @example about:blank */
1825
+ type?: string;
1826
+ /** @example GENERIC_ERROR */
1827
+ code?: string;
1828
+ /** @example Client Error */
1829
+ title?: string;
1830
+ /** @example 400 */
1831
+ status?: number;
1832
+ /** @example An error occurred */
1833
+ detail?: string;
1834
+ /** @example /v1/cart/items */
1835
+ instance?: string;
1836
+ extensions?: components["schemas"]["Extensions"];
1837
+ };
1838
+ /**
1839
+ * ProductCreateRequest
1840
+ * @description Create new product (base record only)
1841
+ * Identity (title, description, images) managed separately via ProductIdentity endpoints
1689
1842
  */
1690
1843
  ProductCreateRequest: {
1691
1844
  /**
@@ -1752,6 +1905,27 @@ export interface components {
1752
1905
  */
1753
1906
  description?: string | null;
1754
1907
  };
1908
+ /**
1909
+ * ProductStatus
1910
+ * @description Product status values (Phase 1 - VARCHAR)
1911
+ * @enum {string}
1912
+ */
1913
+ ProductStatus: "draft" | "published" | "archived" | "review_required" | "deleted";
1914
+ Extensions: {
1915
+ /** @example GENERIC_ERROR */
1916
+ message_code?: string;
1917
+ /** @example [] */
1918
+ invalid_params?: components["schemas"]["InvalidParam"][];
1919
+ extra_data?: Record<string, never> | null;
1920
+ /** @example Detailed debug information */
1921
+ debug?: string | null;
1922
+ };
1923
+ InvalidParam: {
1924
+ /** @example items[0].quantity */
1925
+ field?: string;
1926
+ /** @example Input should be greater than or equal to 1 */
1927
+ error?: string;
1928
+ };
1755
1929
  /**
1756
1930
  * ProductUpdateRequest
1757
1931
  * @description Update existing product (base record only)
@@ -1790,42 +1964,62 @@ export interface components {
1790
1964
  * Description
1791
1965
  * @description DEPRECATED: Use ProductIdentity instead
1792
1966
  */
1793
- description?: string | null;
1794
- };
1795
- /**
1796
- * VariantPricingInput
1797
- * @description Pricing data for variant creation.
1798
- */
1799
- VariantPricingInput: {
1800
- /**
1801
- * Amount
1802
- * @description Price amount
1803
- */
1804
- amount: number | string;
1805
- /**
1806
- * Currency
1807
- * @description Currency code
1808
- * @default USD
1809
- */
1810
- currency: string;
1967
+ description?: string | null;
1968
+ };
1969
+ /**
1970
+ * AddTagToProductRequest
1971
+ * @example {
1972
+ * "display_order": 0,
1973
+ * "tag_id": 5
1974
+ * }
1975
+ */
1976
+ AddTagToProductRequest: {
1811
1977
  /**
1812
- * Interval
1813
- * @description one_time, daily, weekly, monthly, yearly
1814
- * @default one_time
1978
+ * Tag Id
1979
+ * @example 5
1815
1980
  */
1816
- interval: string;
1981
+ tag_id: number;
1817
1982
  /**
1818
- * Interval Count
1819
- * @description Billing frequency
1820
- * @default 1
1983
+ * Display Order
1984
+ * @default 0
1985
+ * @example 0
1821
1986
  */
1822
- interval_count: number;
1987
+ display_order: number;
1988
+ };
1989
+ /** Body_createProductImage */
1990
+ Body_createProductImage: {
1823
1991
  /**
1824
- * Is Active
1825
- * @description Is pricing active
1826
- * @default true
1992
+ * File
1993
+ * Format: binary
1827
1994
  */
1828
- is_active: boolean;
1995
+ file: string;
1996
+ };
1997
+ /**
1998
+ * @example {
1999
+ * "status": "success",
2000
+ * "message": "Operation successful",
2001
+ * "message_code": "api_suc_20001",
2002
+ * "data": {},
2003
+ * "metadata": {
2004
+ * "timestamp": "2026-03-26T10:00:00.000Z",
2005
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2006
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2007
+ * "version": "v1",
2008
+ * "executionTime": 42,
2009
+ * "language": "en-US"
2010
+ * }
2011
+ * }
2012
+ */
2013
+ StandardResponse: {
2014
+ /** @example success */
2015
+ status?: string;
2016
+ data?: Record<string, never> | null;
2017
+ /** @example Operation successful */
2018
+ message?: string | null;
2019
+ /** @example api_suc_20001 */
2020
+ message_code?: string | null;
2021
+ metadata?: Record<string, never> | null;
2022
+ error?: components["schemas"]["ErrorResponse"];
1829
2023
  };
1830
2024
  /** ProductPriceRequest */
1831
2025
  ProductPriceRequest: {
@@ -1896,205 +2090,11 @@ export interface components {
1896
2090
  */
1897
2091
  requires_payment_method_upfront: boolean;
1898
2092
  };
1899
- /**
1900
- * ProductStatus
1901
- * @description Product status values (Phase 1 - VARCHAR)
1902
- * @enum {string}
1903
- */
1904
- ProductStatus: "draft" | "published" | "archived" | "review_required" | "deleted";
1905
- /**
1906
- * VariantUpdateRequest
1907
- * @description Request model for updating a variant.
1908
- */
1909
- VariantUpdateRequest: {
1910
- /** Name */
1911
- name?: string | null;
1912
- /** Sku */
1913
- sku?: string | null;
1914
- /** Barcode */
1915
- barcode?: string | null;
1916
- /** Attributes */
1917
- attributes?: {
1918
- [key: string]: unknown;
1919
- } | null;
1920
- /** Is Default */
1921
- is_default?: boolean | null;
1922
- status?: components["schemas"]["VariantStatus"] | null;
1923
- /** Display Order */
1924
- display_order?: number | null;
1925
- /** Metadata */
1926
- metadata?: {
1927
- [key: string]: unknown;
1928
- } | null;
1929
- /** Track Inventory */
1930
- track_inventory?: boolean | null;
1931
- /** Stock Quantity */
1932
- stock_quantity?: number | null;
1933
- /** Allow Backorder */
1934
- allow_backorder?: boolean | null;
1935
- /** Weight */
1936
- weight?: number | string | null;
1937
- /** Length */
1938
- length?: number | string | null;
1939
- /** Width */
1940
- width?: number | string | null;
1941
- /** Height */
1942
- height?: number | string | null;
1943
- };
1944
- /**
1945
- * ProductInterval
1946
- * @enum {string}
1947
- */
1948
- ProductInterval: "day" | "week" | "month" | "year";
1949
- /** Body_createProductImageUpload */
1950
- Body_createProductImageUpload: {
1951
- /**
1952
- * Image File
1953
- * Format: binary
1954
- */
1955
- image_file: string;
1956
- };
1957
- /** Body_createProductImage */
1958
- Body_createProductImage: {
1959
- /**
1960
- * File
1961
- * Format: binary
1962
- */
1963
- file: string;
1964
- };
1965
- /**
1966
- * CreateTagRequest
1967
- * @example {
1968
- * "color": "#3776AB",
1969
- * "description": "Programming language tag for Python courses",
1970
- * "tag_name": "Python Programming",
1971
- * "tag_type": "skill"
1972
- * }
1973
- */
1974
- CreateTagRequest: {
1975
- /**
1976
- * Tag Name
1977
- * @example Python Programming
1978
- */
1979
- tag_name: string;
1980
- /**
1981
- * Tag Type
1982
- * @description category, topic, skill, difficulty
1983
- * @example skill
1984
- */
1985
- tag_type?: string | null;
1986
- /**
1987
- * Description
1988
- * @example Programming language tag for Python courses
1989
- */
1990
- description?: string | null;
1991
- /**
1992
- * Color
1993
- * @description HEX color code
1994
- * @example #3776AB
1995
- */
1996
- color?: string | null;
1997
- };
1998
- /**
1999
- * ProductIdentityCreateRequest
2000
- * @description Create localized product content
2001
- */
2002
- ProductIdentityCreateRequest: {
2003
- /**
2004
- * @description Locale (language-country format)
2005
- * @example en-US
2006
- */
2007
- locale: components["schemas"]["Locale"];
2008
- /**
2009
- * Title
2010
- * @example Python Programming Course
2011
- */
2012
- title: string;
2013
- /**
2014
- * Subtitle
2015
- * @example Master Python in 30 days
2016
- */
2017
- subtitle?: string | null;
2018
- /**
2019
- * Description
2020
- * @example Comprehensive Python course covering basics to advanced topics
2021
- */
2022
- description?: string | null;
2023
- /**
2024
- * Short Description
2025
- * @example Learn Python from scratch with hands-on projects
2026
- */
2027
- short_description?: string | null;
2028
- };
2029
- ErrorResponse: {
2030
- /** @example about:blank */
2031
- type?: string;
2032
- /** @example GENERIC_ERROR */
2033
- code?: string;
2034
- /** @example Client Error */
2035
- title?: string;
2036
- /** @example 400 */
2037
- status?: number;
2038
- /** @example An error occurred */
2039
- detail?: string;
2040
- /** @example /v1/cart/items */
2041
- instance?: string;
2042
- extensions?: components["schemas"]["Extensions"];
2043
- };
2044
2093
  /**
2045
2094
  * ProductCurrency
2046
2095
  * @enum {string}
2047
2096
  */
2048
2097
  ProductCurrency: "USD" | "INR" | "EUR" | "GBP";
2049
- /**
2050
- * VariantStatus
2051
- * @description Variant status enum.
2052
- * @enum {string}
2053
- */
2054
- VariantStatus: "active" | "inactive" | "out_of_stock" | "discontinued";
2055
- /**
2056
- * AddTagToProductRequest
2057
- * @example {
2058
- * "display_order": 0,
2059
- * "tag_id": 5
2060
- * }
2061
- */
2062
- AddTagToProductRequest: {
2063
- /**
2064
- * Tag Id
2065
- * @example 5
2066
- */
2067
- tag_id: number;
2068
- /**
2069
- * Display Order
2070
- * @default 0
2071
- * @example 0
2072
- */
2073
- display_order: number;
2074
- };
2075
- /**
2076
- * VariantInventoryInput
2077
- * @description Inventory data for variant creation.
2078
- */
2079
- VariantInventoryInput: {
2080
- /**
2081
- * Track Inventory
2082
- * @description Track stock for this variant
2083
- * @default true
2084
- */
2085
- track_inventory: boolean;
2086
- /**
2087
- * Stock Quantity
2088
- * @description Initial stock quantity
2089
- */
2090
- stock_quantity?: number | null;
2091
- /**
2092
- * Allow Backorder
2093
- * @description Allow orders when out of stock
2094
- * @default false
2095
- */
2096
- allow_backorder: boolean;
2097
- };
2098
2098
  };
2099
2099
  responses: never;
2100
2100
  parameters: never;