@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
@@ -1216,17 +1216,177 @@ export interface paths {
1216
1216
  export type webhooks = Record<string, never>;
1217
1217
  export interface components {
1218
1218
  schemas: {
1219
+ /**
1220
+ * AddBundleItemRequest
1221
+ * @example {
1222
+ * "discount_percentage": 10,
1223
+ * "display_order": 0,
1224
+ * "is_required": true,
1225
+ * "is_visible": true,
1226
+ * "item_product_id": 456,
1227
+ * "quantity": 1
1228
+ * }
1229
+ */
1230
+ AddBundleItemRequest: {
1231
+ /**
1232
+ * Item Product Id
1233
+ * @example 456
1234
+ */
1235
+ item_product_id: number;
1236
+ /**
1237
+ * Quantity
1238
+ * @default 1
1239
+ * @example 1
1240
+ */
1241
+ quantity: number;
1242
+ /**
1243
+ * Discount Percentage
1244
+ * @description Discount % (0-100)
1245
+ * @example 10
1246
+ */
1247
+ discount_percentage?: number | null;
1248
+ /**
1249
+ * Override Price
1250
+ * @description Override price for this item
1251
+ * @example 49.99
1252
+ */
1253
+ override_price?: number | null;
1254
+ /**
1255
+ * Is Required
1256
+ * @default true
1257
+ * @example true
1258
+ */
1259
+ is_required: boolean;
1260
+ /**
1261
+ * Is Visible
1262
+ * @default true
1263
+ * @example true
1264
+ */
1265
+ is_visible: boolean;
1266
+ /**
1267
+ * Display Order
1268
+ * @default 0
1269
+ * @example 0
1270
+ */
1271
+ display_order: number;
1272
+ };
1273
+ /**
1274
+ * VariantInventoryInput
1275
+ * @description Inventory data for variant creation.
1276
+ */
1277
+ VariantInventoryInput: {
1278
+ /**
1279
+ * Track Inventory
1280
+ * @description Track stock for this variant
1281
+ * @default true
1282
+ */
1283
+ track_inventory: boolean;
1284
+ /**
1285
+ * Stock Quantity
1286
+ * @description Initial stock quantity
1287
+ */
1288
+ stock_quantity?: number | null;
1289
+ /**
1290
+ * Allow Backorder
1291
+ * @description Allow orders when out of stock
1292
+ * @default false
1293
+ */
1294
+ allow_backorder: boolean;
1295
+ };
1219
1296
  /**
1220
1297
  * ProductType
1221
1298
  * @description Product types supported (11 active types)
1222
1299
  * @enum {string}
1223
1300
  */
1224
1301
  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;
1302
+ /**
1303
+ * VariantCreateRequest
1304
+ * @description Request model for creating a product variant.
1305
+ */
1306
+ VariantCreateRequest: {
1307
+ /**
1308
+ * Name
1309
+ * @description Variant display name: '24 inch Black'
1310
+ */
1311
+ name: string;
1312
+ /**
1313
+ * Sku
1314
+ * @description Stock Keeping Unit (unique)
1315
+ */
1316
+ sku?: string | null;
1317
+ /**
1318
+ * Barcode
1319
+ * @description EAN, UPC, ISBN, etc.
1320
+ */
1321
+ barcode?: string | null;
1322
+ /**
1323
+ * Attributes
1324
+ * @description Variant attributes: {'size': '24 inch', 'color': 'black'}
1325
+ * @example {
1326
+ * "color": "black",
1327
+ * "size": "24 inch"
1328
+ * }
1329
+ */
1330
+ attributes?: {
1331
+ [key: string]: unknown;
1332
+ } | null;
1333
+ /**
1334
+ * Is Default
1335
+ * @description Set as default variant for product
1336
+ * @default false
1337
+ */
1338
+ is_default: boolean;
1339
+ /** @description Inventory settings */
1340
+ inventory?: components["schemas"]["VariantInventoryInput"] | null;
1341
+ /** @description Pricing for this variant */
1342
+ pricing?: components["schemas"]["VariantPricingInput"] | null;
1343
+ /**
1344
+ * Images
1345
+ * @description Variant-specific images
1346
+ */
1347
+ images?: components["schemas"]["VariantImageInput"][] | null;
1348
+ /**
1349
+ * Weight
1350
+ * @description Weight in kg
1351
+ */
1352
+ weight?: number | string | null;
1353
+ /**
1354
+ * Length
1355
+ * @description Length in cm
1356
+ */
1357
+ length?: number | string | null;
1358
+ /**
1359
+ * Width
1360
+ * @description Width in cm
1361
+ */
1362
+ width?: number | string | null;
1363
+ /**
1364
+ * Height
1365
+ * @description Height in cm
1366
+ */
1367
+ height?: number | string | null;
1368
+ /**
1369
+ * Display Order
1370
+ * @description Display order
1371
+ * @default 100
1372
+ */
1373
+ display_order: number;
1374
+ /**
1375
+ * Metadata
1376
+ * @description Flexible metadata: {'batch_id': 123, 'instructor_id': 456}
1377
+ */
1378
+ metadata?: {
1379
+ [key: string]: unknown;
1380
+ } | null;
1381
+ };
1382
+ Extensions: {
1383
+ /** @example GENERIC_ERROR */
1384
+ message_code?: string;
1385
+ /** @example [] */
1386
+ invalid_params?: components["schemas"]["InvalidParam"][];
1387
+ extra_data?: Record<string, never> | null;
1388
+ /** @example Detailed debug information */
1389
+ debug?: string | null;
1230
1390
  };
1231
1391
  /**
1232
1392
  * VariantImageInput
@@ -1251,6 +1411,228 @@ export interface components {
1251
1411
  */
1252
1412
  display_order: number;
1253
1413
  };
1414
+ InvalidParam: {
1415
+ /** @example items[0].quantity */
1416
+ field?: string;
1417
+ /** @example Input should be greater than or equal to 1 */
1418
+ error?: string;
1419
+ };
1420
+ /**
1421
+ * InventoryAdjustmentRequest
1422
+ * @description Request model for inventory adjustment.
1423
+ */
1424
+ InventoryAdjustmentRequest: {
1425
+ /**
1426
+ * Adjustment Type
1427
+ * @description add, subtract, or set
1428
+ */
1429
+ adjustment_type: string;
1430
+ /**
1431
+ * Quantity
1432
+ * @description Quantity to add/subtract/set
1433
+ */
1434
+ quantity: number;
1435
+ /**
1436
+ * Reason
1437
+ * @description Reason for adjustment
1438
+ */
1439
+ reason?: string | null;
1440
+ };
1441
+ /**
1442
+ * ProductStatus
1443
+ * @description Product status values (Phase 1 - VARCHAR)
1444
+ * @enum {string}
1445
+ */
1446
+ ProductStatus: "draft" | "published" | "archived" | "review_required" | "deleted";
1447
+ /**
1448
+ * ProductPriceType
1449
+ * @enum {string}
1450
+ */
1451
+ ProductPriceType: "free" | "subscription" | "onetime" | "emi";
1452
+ ErrorResponse: {
1453
+ /** @example about:blank */
1454
+ type?: string;
1455
+ /** @example GENERIC_ERROR */
1456
+ code?: string;
1457
+ /** @example Client Error */
1458
+ title?: string;
1459
+ /** @example 400 */
1460
+ status?: number;
1461
+ /** @example An error occurred */
1462
+ detail?: string;
1463
+ /** @example /v1/cart/items */
1464
+ instance?: string;
1465
+ extensions?: components["schemas"]["Extensions"];
1466
+ };
1467
+ /**
1468
+ * VariantStatus
1469
+ * @description Variant status enum.
1470
+ * @enum {string}
1471
+ */
1472
+ VariantStatus: "active" | "inactive" | "out_of_stock" | "discontinued";
1473
+ /**
1474
+ * ProductIdentityCreateRequest
1475
+ * @description Create localized product content
1476
+ */
1477
+ ProductIdentityCreateRequest: {
1478
+ /**
1479
+ * @description Locale (language-country format)
1480
+ * @example en-US
1481
+ */
1482
+ locale: components["schemas"]["Locale"];
1483
+ /**
1484
+ * Title
1485
+ * @example Python Programming Course
1486
+ */
1487
+ title: string;
1488
+ /**
1489
+ * Subtitle
1490
+ * @example Master Python in 30 days
1491
+ */
1492
+ subtitle?: string | null;
1493
+ /**
1494
+ * Description
1495
+ * @example Comprehensive Python course covering basics to advanced topics
1496
+ */
1497
+ description?: string | null;
1498
+ /**
1499
+ * Short Description
1500
+ * @example Learn Python from scratch with hands-on projects
1501
+ */
1502
+ short_description?: string | null;
1503
+ };
1504
+ /**
1505
+ * ProductCreateRequest
1506
+ * @description Create new product (base record only)
1507
+ * Identity (title, description, images) managed separately via ProductIdentity endpoints
1508
+ */
1509
+ ProductCreateRequest: {
1510
+ /**
1511
+ * Company Id
1512
+ * @description Company ID for multi-company orgs
1513
+ * @example 1
1514
+ */
1515
+ company_id?: number | null;
1516
+ /**
1517
+ * @description Product type
1518
+ * @example course
1519
+ */
1520
+ product_type: components["schemas"]["ProductType"];
1521
+ /**
1522
+ * Featured
1523
+ * @description Featured product flag
1524
+ * @default false
1525
+ * @example false
1526
+ */
1527
+ featured: boolean;
1528
+ /**
1529
+ * Is Digital
1530
+ * @description Digital product (default: True)
1531
+ * @default true
1532
+ * @example true
1533
+ */
1534
+ is_digital: boolean;
1535
+ /**
1536
+ * Visibility
1537
+ * @description Visibility: public, private, hidden, unlisted
1538
+ * @default public
1539
+ * @example public
1540
+ */
1541
+ visibility: string | null;
1542
+ /**
1543
+ * Is Org Level
1544
+ * @description Organization-level product (True) vs user-created (False)
1545
+ * @default true
1546
+ * @example true
1547
+ */
1548
+ is_org_level: boolean | null;
1549
+ /**
1550
+ * Staff Id
1551
+ * @description Staff/instructor who delivers this product
1552
+ * @example 5
1553
+ */
1554
+ staff_id?: number | null;
1555
+ /**
1556
+ * Owner Id
1557
+ * @description Owner of the product (user who created/owns it)
1558
+ * @example 10
1559
+ */
1560
+ owner_id?: number | null;
1561
+ /**
1562
+ * Title
1563
+ * @description DEPRECATED: Use ProductIdentity instead
1564
+ * @example Python Programming
1565
+ */
1566
+ title?: string | null;
1567
+ /**
1568
+ * Description
1569
+ * @description DEPRECATED: Use ProductIdentity instead
1570
+ * @example Learn Python from scratch
1571
+ */
1572
+ description?: string | null;
1573
+ };
1574
+ /**
1575
+ * ProductUpdateRequest
1576
+ * @description Update existing product (base record only)
1577
+ */
1578
+ ProductUpdateRequest: {
1579
+ /**
1580
+ * Company Id
1581
+ * @description Company ID
1582
+ */
1583
+ company_id?: number | null;
1584
+ /** @description Product type (rarely changed) */
1585
+ product_type?: components["schemas"]["ProductType"] | null;
1586
+ /** @description Product status */
1587
+ status?: components["schemas"]["ProductStatus"] | null;
1588
+ /**
1589
+ * Featured
1590
+ * @description Featured flag
1591
+ */
1592
+ featured?: boolean | null;
1593
+ /**
1594
+ * Is Digital
1595
+ * @description Digital product flag
1596
+ */
1597
+ is_digital?: boolean | null;
1598
+ /**
1599
+ * Is Active
1600
+ * @description Active status
1601
+ */
1602
+ is_active?: boolean | null;
1603
+ /**
1604
+ * Title
1605
+ * @description DEPRECATED: Use ProductIdentity instead
1606
+ */
1607
+ title?: string | null;
1608
+ /**
1609
+ * Description
1610
+ * @description DEPRECATED: Use ProductIdentity instead
1611
+ */
1612
+ description?: string | null;
1613
+ };
1614
+ /**
1615
+ * ProductInterval
1616
+ * @enum {string}
1617
+ */
1618
+ ProductInterval: "day" | "week" | "month" | "year";
1619
+ /** ProductPriceUpdateRequest */
1620
+ ProductPriceUpdateRequest: {
1621
+ /** Amount */
1622
+ amount?: number | null;
1623
+ currency?: components["schemas"]["ProductCurrency"] | null;
1624
+ interval?: components["schemas"]["ProductInterval"] | null;
1625
+ /** Interval Count */
1626
+ interval_count?: number | null;
1627
+ /** Trial Period Days */
1628
+ trial_period_days?: number | null;
1629
+ /** Initial Amount */
1630
+ initial_amount?: number | null;
1631
+ /** Compare Price */
1632
+ compare_price?: number | null;
1633
+ /** Is Active */
1634
+ is_active?: boolean | null;
1635
+ };
1254
1636
  /**
1255
1637
  * @example {
1256
1638
  * "status": "success",
@@ -1279,94 +1661,52 @@ export interface components {
1279
1661
  error?: components["schemas"]["ErrorResponse"];
1280
1662
  };
1281
1663
  /**
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
- * }
1664
+ * VariantUpdateRequest
1665
+ * @description Request model for updating a variant.
1291
1666
  */
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;
1322
- /**
1323
- * Is Visible
1324
- * @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;
1667
+ VariantUpdateRequest: {
1668
+ /** Name */
1669
+ name?: string | null;
1670
+ /** Sku */
1671
+ sku?: string | null;
1672
+ /** Barcode */
1673
+ barcode?: string | null;
1674
+ /** Attributes */
1675
+ attributes?: {
1676
+ [key: string]: unknown;
1677
+ } | null;
1678
+ /** Is Default */
1679
+ is_default?: boolean | null;
1680
+ status?: components["schemas"]["VariantStatus"] | null;
1681
+ /** Display Order */
1682
+ display_order?: number | null;
1683
+ /** Metadata */
1684
+ metadata?: {
1685
+ [key: string]: unknown;
1686
+ } | null;
1687
+ /** Track Inventory */
1688
+ track_inventory?: boolean | null;
1689
+ /** Stock Quantity */
1690
+ stock_quantity?: number | null;
1691
+ /** Allow Backorder */
1692
+ allow_backorder?: boolean | null;
1693
+ /** Weight */
1694
+ weight?: number | string | null;
1695
+ /** Length */
1696
+ length?: number | string | null;
1697
+ /** Width */
1698
+ width?: number | string | null;
1699
+ /** Height */
1700
+ height?: number | string | null;
1334
1701
  };
1335
- /**
1336
- * InventoryAdjustmentRequest
1337
- * @description Request model for inventory adjustment.
1338
- */
1339
- InventoryAdjustmentRequest: {
1340
- /**
1341
- * Adjustment Type
1342
- * @description add, subtract, or set
1343
- */
1344
- adjustment_type: string;
1345
- /**
1346
- * Quantity
1347
- * @description Quantity to add/subtract/set
1348
- */
1349
- quantity: number;
1702
+ /** Body_createProductImage */
1703
+ Body_createProductImage: {
1350
1704
  /**
1351
- * Reason
1352
- * @description Reason for adjustment
1705
+ * File
1706
+ * Format: binary
1353
1707
  */
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;
1708
+ file: string;
1364
1709
  };
1365
- /**
1366
- * ProductPriceType
1367
- * @enum {string}
1368
- */
1369
- ProductPriceType: "free" | "subscription" | "onetime" | "emi";
1370
1710
  /**
1371
1711
  * SeoUpsertRequest
1372
1712
  * @description Unified SEO upsert schema for all entity types (space, product, service, ...).
@@ -1534,263 +1874,50 @@ export interface components {
1534
1874
  */
1535
1875
  og_url?: string | null;
1536
1876
  /**
1537
- * Og Site Name
1538
- * @description og:site_name — your platform name shown in the link preview card.
1539
- */
1540
- og_site_name?: string | null;
1541
- /**
1542
- * Og Locale
1543
- * @description og:locale — language in underscore format: en_US, es_ES, fr_FR.
1544
- */
1545
- og_locale?: string | null;
1546
- /**
1547
- * Twitter Image Alt
1548
- * @description twitter:image:alt — alt text for the Twitter card image.
1549
- */
1550
- twitter_image_alt?: string | null;
1551
- /**
1552
- * Twitter Site
1553
- * @description twitter:site — your Twitter/X account handle. Must start with '@'.
1554
- */
1555
- twitter_site?: string | null;
1556
- /**
1557
- * Twitter Creator
1558
- * @description twitter:creator — author's Twitter/X handle. Must start with '@'.
1559
- */
1560
- twitter_creator?: string | null;
1561
- /**
1562
- * Is Indexable
1563
- * @description System-level indexing override. False → page is treated as noindex regardless of the robots field. True → robots field is authoritative.
1564
- * @default true
1565
- */
1566
- is_indexable: boolean;
1567
- /**
1568
- * Structured Data
1569
- * @description Schema.org JSON-LD object for Google rich results.
1570
- */
1571
- structured_data?: {
1572
- [key: string]: unknown;
1573
- } | null;
1574
- /**
1575
- * Alternate Languages
1576
- * @description hreflang list: [{"lang":"en-US","url":"https://..."},{"lang":"x-default","url":"..."}]. Always include x-default.
1577
- */
1578
- alternate_languages?: {
1579
- [key: string]: string;
1580
- }[] | null;
1581
- };
1582
- /**
1583
- * VariantCreateRequest
1584
- * @description Request model for creating a product variant.
1585
- */
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;
1638
- /**
1639
- * Width
1640
- * @description Width in cm
1641
- */
1642
- width?: number | string | null;
1643
- /**
1644
- * Height
1645
- * @description Height in cm
1646
- */
1647
- height?: number | string | null;
1648
- /**
1649
- * Display Order
1650
- * @description Display order
1651
- * @default 100
1652
- */
1653
- display_order: number;
1654
- /**
1655
- * Metadata
1656
- * @description Flexible metadata: {'batch_id': 123, 'instructor_id': 456}
1657
- */
1658
- metadata?: {
1659
- [key: string]: unknown;
1660
- } | null;
1661
- };
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
- /** ProductPriceUpdateRequest */
1669
- ProductPriceUpdateRequest: {
1670
- /** Amount */
1671
- amount?: number | null;
1672
- currency?: components["schemas"]["ProductCurrency"] | null;
1673
- interval?: components["schemas"]["ProductInterval"] | null;
1674
- /** Interval Count */
1675
- interval_count?: number | null;
1676
- /** Trial Period Days */
1677
- trial_period_days?: number | null;
1678
- /** Initial Amount */
1679
- initial_amount?: number | null;
1680
- /** Compare Price */
1681
- compare_price?: number | null;
1682
- /** Is Active */
1683
- is_active?: boolean | null;
1684
- };
1685
- /**
1686
- * ProductCreateRequest
1687
- * @description Create new product (base record only)
1688
- * Identity (title, description, images) managed separately via ProductIdentity endpoints
1689
- */
1690
- ProductCreateRequest: {
1691
- /**
1692
- * Company Id
1693
- * @description Company ID for multi-company orgs
1694
- * @example 1
1695
- */
1696
- company_id?: number | null;
1697
- /**
1698
- * @description Product type
1699
- * @example course
1700
- */
1701
- product_type: components["schemas"]["ProductType"];
1702
- /**
1703
- * Featured
1704
- * @description Featured product flag
1705
- * @default false
1706
- * @example false
1707
- */
1708
- featured: boolean;
1709
- /**
1710
- * Is Digital
1711
- * @description Digital product (default: True)
1712
- * @default true
1713
- * @example true
1714
- */
1715
- is_digital: boolean;
1716
- /**
1717
- * Visibility
1718
- * @description Visibility: public, private, hidden, unlisted
1719
- * @default public
1720
- * @example public
1721
- */
1722
- visibility: string | null;
1723
- /**
1724
- * Is Org Level
1725
- * @description Organization-level product (True) vs user-created (False)
1726
- * @default true
1727
- * @example true
1728
- */
1729
- is_org_level: boolean | null;
1730
- /**
1731
- * Staff Id
1732
- * @description Staff/instructor who delivers this product
1733
- * @example 5
1734
- */
1735
- staff_id?: number | null;
1736
- /**
1737
- * Owner Id
1738
- * @description Owner of the product (user who created/owns it)
1739
- * @example 10
1740
- */
1741
- owner_id?: number | null;
1742
- /**
1743
- * Title
1744
- * @description DEPRECATED: Use ProductIdentity instead
1745
- * @example Python Programming
1877
+ * Og Site Name
1878
+ * @description og:site_name — your platform name shown in the link preview card.
1746
1879
  */
1747
- title?: string | null;
1880
+ og_site_name?: string | null;
1748
1881
  /**
1749
- * Description
1750
- * @description DEPRECATED: Use ProductIdentity instead
1751
- * @example Learn Python from scratch
1882
+ * Og Locale
1883
+ * @description og:locale language in underscore format: en_US, es_ES, fr_FR.
1752
1884
  */
1753
- description?: string | null;
1754
- };
1755
- /**
1756
- * ProductUpdateRequest
1757
- * @description Update existing product (base record only)
1758
- */
1759
- ProductUpdateRequest: {
1885
+ og_locale?: string | null;
1760
1886
  /**
1761
- * Company Id
1762
- * @description Company ID
1887
+ * Twitter Image Alt
1888
+ * @description twitter:image:alt — alt text for the Twitter card image.
1763
1889
  */
1764
- company_id?: number | null;
1765
- /** @description Product type (rarely changed) */
1766
- product_type?: components["schemas"]["ProductType"] | null;
1767
- /** @description Product status */
1768
- status?: components["schemas"]["ProductStatus"] | null;
1890
+ twitter_image_alt?: string | null;
1769
1891
  /**
1770
- * Featured
1771
- * @description Featured flag
1892
+ * Twitter Site
1893
+ * @description twitter:site — your Twitter/X account handle. Must start with '@'.
1772
1894
  */
1773
- featured?: boolean | null;
1895
+ twitter_site?: string | null;
1774
1896
  /**
1775
- * Is Digital
1776
- * @description Digital product flag
1897
+ * Twitter Creator
1898
+ * @description twitter:creator author's Twitter/X handle. Must start with '@'.
1777
1899
  */
1778
- is_digital?: boolean | null;
1900
+ twitter_creator?: string | null;
1779
1901
  /**
1780
- * Is Active
1781
- * @description Active status
1902
+ * Is Indexable
1903
+ * @description System-level indexing override. False → page is treated as noindex regardless of the robots field. True → robots field is authoritative.
1904
+ * @default true
1782
1905
  */
1783
- is_active?: boolean | null;
1906
+ is_indexable: boolean;
1784
1907
  /**
1785
- * Title
1786
- * @description DEPRECATED: Use ProductIdentity instead
1908
+ * Structured Data
1909
+ * @description Schema.org JSON-LD object for Google rich results.
1787
1910
  */
1788
- title?: string | null;
1911
+ structured_data?: {
1912
+ [key: string]: unknown;
1913
+ } | null;
1789
1914
  /**
1790
- * Description
1791
- * @description DEPRECATED: Use ProductIdentity instead
1915
+ * Alternate Languages
1916
+ * @description hreflang list: [{"lang":"en-US","url":"https://..."},{"lang":"x-default","url":"..."}]. Always include x-default.
1792
1917
  */
1793
- description?: string | null;
1918
+ alternate_languages?: {
1919
+ [key: string]: string;
1920
+ }[] | null;
1794
1921
  };
1795
1922
  /**
1796
1923
  * VariantPricingInput
@@ -1827,6 +1954,20 @@ export interface components {
1827
1954
  */
1828
1955
  is_active: boolean;
1829
1956
  };
1957
+ /**
1958
+ * Locale
1959
+ * @description Supported locales (language-country format)
1960
+ * @enum {string}
1961
+ */
1962
+ Locale: "en-US" | "es-PR" | "es-ES" | "fr-FR" | "pt-BR" | "de-DE" | "it-IT" | "ja-JP" | "zh-CN";
1963
+ /** Body_createProductImageUpload */
1964
+ Body_createProductImageUpload: {
1965
+ /**
1966
+ * Image File
1967
+ * Format: binary
1968
+ */
1969
+ image_file: string;
1970
+ };
1830
1971
  /** ProductPriceRequest */
1831
1972
  ProductPriceRequest: {
1832
1973
  /**
@@ -1897,71 +2038,30 @@ export interface components {
1897
2038
  requires_payment_method_upfront: boolean;
1898
2039
  };
1899
2040
  /**
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}
2041
+ * AddTagToProductRequest
2042
+ * @example {
2043
+ * "display_order": 0,
2044
+ * "tag_id": 5
2045
+ * }
1947
2046
  */
1948
- ProductInterval: "day" | "week" | "month" | "year";
1949
- /** Body_createProductImageUpload */
1950
- Body_createProductImageUpload: {
2047
+ AddTagToProductRequest: {
1951
2048
  /**
1952
- * Image File
1953
- * Format: binary
2049
+ * Tag Id
2050
+ * @example 5
1954
2051
  */
1955
- image_file: string;
1956
- };
1957
- /** Body_createProductImage */
1958
- Body_createProductImage: {
2052
+ tag_id: number;
1959
2053
  /**
1960
- * File
1961
- * Format: binary
2054
+ * Display Order
2055
+ * @default 0
2056
+ * @example 0
1962
2057
  */
1963
- file: string;
2058
+ display_order: number;
1964
2059
  };
2060
+ /**
2061
+ * ProductCurrency
2062
+ * @enum {string}
2063
+ */
2064
+ ProductCurrency: "USD" | "INR" | "EUR" | "GBP";
1965
2065
  /**
1966
2066
  * CreateTagRequest
1967
2067
  * @example {
@@ -1971,7 +2071,7 @@ export interface components {
1971
2071
  * "tag_type": "skill"
1972
2072
  * }
1973
2073
  */
1974
- CreateTagRequest: {
2074
+ app__routes__products__product_phase2_routes__CreateTagRequest: {
1975
2075
  /**
1976
2076
  * Tag Name
1977
2077
  * @example Python Programming
@@ -1995,106 +2095,6 @@ export interface components {
1995
2095
  */
1996
2096
  color?: string | null;
1997
2097
  };
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
- /**
2045
- * ProductCurrency
2046
- * @enum {string}
2047
- */
2048
- 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;
@@ -7865,7 +7865,7 @@ export interface operations {
7865
7865
  };
7866
7866
  requestBody: {
7867
7867
  content: {
7868
- "application/json": components["schemas"]["CreateTagRequest"];
7868
+ "application/json": components["schemas"]["app__routes__products__product_phase2_routes__CreateTagRequest"];
7869
7869
  };
7870
7870
  };
7871
7871
  responses: {