@blezgo/api-sdk 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/generated.d.ts +153 -153
- package/dist/account/generated.d.ts.map +1 -1
- package/dist/activity/generated.d.ts +57 -57
- package/dist/activity/generated.d.ts.map +1 -1
- package/dist/addon/generated.d.ts +104 -104
- package/dist/addon/generated.d.ts.map +1 -1
- package/dist/admin/generated.d.ts +85 -85
- package/dist/admin/generated.d.ts.map +1 -1
- package/dist/affiliate/generated.d.ts +89 -89
- package/dist/affiliate/generated.d.ts.map +1 -1
- package/dist/analytics/generated.d.ts +15 -15
- package/dist/analytics/generated.d.ts.map +1 -1
- package/dist/announcements/generated.d.ts +52 -52
- package/dist/announcements/generated.d.ts.map +1 -1
- package/dist/apikeys/generated.d.ts +43 -43
- package/dist/apikeys/generated.d.ts.map +1 -1
- package/dist/assistance/generated.d.ts +15 -15
- package/dist/assistance/generated.d.ts.map +1 -1
- package/dist/authentication/generated.d.ts +116 -116
- package/dist/authentication/generated.d.ts.map +1 -1
- package/dist/blog/generated.d.ts +168 -168
- package/dist/blog/generated.d.ts.map +1 -1
- package/dist/bundle/generated.d.ts +116 -116
- package/dist/bundle/generated.d.ts.map +1 -1
- package/dist/cache/generated.d.ts +30 -30
- package/dist/cache/generated.d.ts.map +1 -1
- package/dist/calendar/generated.d.ts +37 -37
- package/dist/calendar/generated.d.ts.map +1 -1
- package/dist/campaigns/generated.d.ts +157 -157
- package/dist/campaigns/generated.d.ts.map +1 -1
- package/dist/cart/generated.d.ts +30 -30
- package/dist/cart/generated.d.ts.map +1 -1
- package/dist/changelog/generated.d.ts +107 -107
- package/dist/changelog/generated.d.ts.map +1 -1
- package/dist/channel/generated.d.ts +231 -231
- package/dist/channel/generated.d.ts.map +1 -1
- package/dist/company/generated.d.ts +44 -44
- package/dist/company/generated.d.ts.map +1 -1
- package/dist/conference/generated.d.ts +14 -14
- package/dist/conference/generated.d.ts.map +1 -1
- package/dist/config/generated.d.ts +60 -60
- package/dist/config/generated.d.ts.map +1 -1
- package/dist/content/generated.d.ts +527 -527
- package/dist/content/generated.d.ts.map +1 -1
- package/dist/cookies/generated.d.ts +60 -60
- package/dist/cookies/generated.d.ts.map +1 -1
- package/dist/courses/generated.d.ts +348 -348
- package/dist/courses/generated.d.ts.map +1 -1
- package/dist/custom/generated.d.ts +96 -96
- package/dist/custom/generated.d.ts.map +1 -1
- package/dist/dashboard/generated.d.ts +124 -124
- package/dist/dashboard/generated.d.ts.map +1 -1
- package/dist/elasticsearch/generated.d.ts +15 -15
- package/dist/elasticsearch/generated.d.ts.map +1 -1
- package/dist/enrollments/generated.d.ts +15 -15
- package/dist/enrollments/generated.d.ts.map +1 -1
- package/dist/errors/generated.d.ts +24 -24
- package/dist/errors/generated.d.ts.map +1 -1
- package/dist/eventconfig/generated.d.ts +103 -103
- package/dist/eventconfig/generated.d.ts.map +1 -1
- package/dist/funnels/generated.d.ts +111 -111
- package/dist/funnels/generated.d.ts.map +1 -1
- package/dist/gamification/generated.d.ts +105 -105
- package/dist/gamification/generated.d.ts.map +1 -1
- package/dist/impersonation/generated.d.ts +27 -27
- package/dist/impersonation/generated.d.ts.map +1 -1
- package/dist/inbox/generated.d.ts +117 -117
- package/dist/inbox/generated.d.ts.map +1 -1
- package/dist/internal/generated.d.ts +15 -15
- package/dist/internal/generated.d.ts.map +1 -1
- package/dist/internationalization/generated.d.ts +15 -15
- package/dist/internationalization/generated.d.ts.map +1 -1
- package/dist/invitations/generated.d.ts +85 -85
- package/dist/invitations/generated.d.ts.map +1 -1
- package/dist/meetings/generated.d.ts +295 -295
- package/dist/meetings/generated.d.ts.map +1 -1
- package/dist/metas/generated.d.ts +191 -191
- package/dist/metas/generated.d.ts.map +1 -1
- package/dist/notification/generated.d.ts +261 -261
- package/dist/notification/generated.d.ts.map +1 -1
- package/dist/notifications/generated.d.ts +15 -15
- package/dist/notifications/generated.d.ts.map +1 -1
- package/dist/onboarding/generated.d.ts +116 -116
- package/dist/onboarding/generated.d.ts.map +1 -1
- package/dist/packages/generated.d.ts +21 -21
- package/dist/packages/generated.d.ts.map +1 -1
- package/dist/payments/generated.d.ts +548 -548
- package/dist/payments/generated.d.ts.map +1 -1
- package/dist/payouts/generated.d.ts +15 -15
- package/dist/payouts/generated.d.ts.map +1 -1
- package/dist/plans/generated.d.ts +349 -349
- package/dist/plans/generated.d.ts.map +1 -1
- package/dist/pricing/generated.d.ts +41 -41
- package/dist/pricing/generated.d.ts.map +1 -1
- package/dist/products/generated.d.ts +398 -398
- package/dist/products/generated.d.ts.map +1 -1
- package/dist/profile/generated.d.ts +333 -333
- package/dist/profile/generated.d.ts.map +1 -1
- package/dist/reasons/generated.d.ts +81 -81
- package/dist/reasons/generated.d.ts.map +1 -1
- package/dist/registration/generated.d.ts +178 -178
- package/dist/registration/generated.d.ts.map +1 -1
- package/dist/reviews/generated.d.ts +63 -63
- package/dist/reviews/generated.d.ts.map +1 -1
- package/dist/role/generated.d.ts +218 -218
- package/dist/role/generated.d.ts.map +1 -1
- package/dist/scheduling/generated.d.ts +96 -96
- package/dist/scheduling/generated.d.ts.map +1 -1
- package/dist/services/generated.d.ts +957 -957
- package/dist/services/generated.d.ts.map +1 -1
- package/dist/sessions/generated.d.ts +370 -370
- package/dist/sessions/generated.d.ts.map +1 -1
- package/dist/spaces/generated.d.ts +533 -533
- package/dist/spaces/generated.d.ts.map +1 -1
- package/dist/storefront/generated.d.ts +15 -15
- package/dist/storefront/generated.d.ts.map +1 -1
- package/dist/support/generated.d.ts +1426 -1426
- package/dist/support/generated.d.ts.map +1 -1
- package/dist/sync/generated.d.ts +127 -127
- package/dist/sync/generated.d.ts.map +1 -1
- package/dist/tenant/generated.d.ts +528 -528
- package/dist/tenant/generated.d.ts.map +1 -1
- package/dist/testimonials/generated.d.ts +56 -56
- package/dist/testimonials/generated.d.ts.map +1 -1
- package/dist/tests/generated.d.ts +509 -509
- package/dist/tests/generated.d.ts.map +1 -1
- package/dist/tokens/generated.d.ts +50 -50
- package/dist/tokens/generated.d.ts.map +1 -1
- package/dist/uploads/generated.d.ts +29 -29
- package/dist/uploads/generated.d.ts.map +1 -1
- package/dist/upsell/generated.d.ts +80 -80
- package/dist/upsell/generated.d.ts.map +1 -1
- package/dist/user/generated.d.ts +76 -70
- package/dist/user/generated.d.ts.map +1 -1
- package/dist/webinars/generated.d.ts +336 -336
- package/dist/webinars/generated.d.ts.map +1 -1
- package/package.json +1 -1
- package/test-commit.txt +1 -0
|
@@ -1216,80 +1216,6 @@ export interface paths {
|
|
|
1216
1216
|
export type webhooks = Record<string, never>;
|
|
1217
1217
|
export interface components {
|
|
1218
1218
|
schemas: {
|
|
1219
|
-
/**
|
|
1220
|
-
* ProductIdentityCreateRequest
|
|
1221
|
-
* @description Create localized product content
|
|
1222
|
-
*/
|
|
1223
|
-
ProductIdentityCreateRequest: {
|
|
1224
|
-
/**
|
|
1225
|
-
* @description Locale (language-country format)
|
|
1226
|
-
* @example en-US
|
|
1227
|
-
*/
|
|
1228
|
-
locale: components["schemas"]["Locale"];
|
|
1229
|
-
/**
|
|
1230
|
-
* Title
|
|
1231
|
-
* @example Python Programming Course
|
|
1232
|
-
*/
|
|
1233
|
-
title: string;
|
|
1234
|
-
/**
|
|
1235
|
-
* Subtitle
|
|
1236
|
-
* @example Master Python in 30 days
|
|
1237
|
-
*/
|
|
1238
|
-
subtitle?: string | null;
|
|
1239
|
-
/**
|
|
1240
|
-
* Description
|
|
1241
|
-
* @example Comprehensive Python course covering basics to advanced topics
|
|
1242
|
-
*/
|
|
1243
|
-
description?: string | null;
|
|
1244
|
-
/**
|
|
1245
|
-
* Short Description
|
|
1246
|
-
* @example Learn Python from scratch with hands-on projects
|
|
1247
|
-
*/
|
|
1248
|
-
short_description?: string | null;
|
|
1249
|
-
};
|
|
1250
|
-
/**
|
|
1251
|
-
* Locale
|
|
1252
|
-
* @description Supported locales (language-country format)
|
|
1253
|
-
* @enum {string}
|
|
1254
|
-
*/
|
|
1255
|
-
Locale: "en-US" | "es-PR" | "es-ES" | "fr-FR" | "pt-BR" | "de-DE" | "it-IT" | "ja-JP" | "zh-CN";
|
|
1256
|
-
/**
|
|
1257
|
-
* AddTagToProductRequest
|
|
1258
|
-
* @example {
|
|
1259
|
-
* "display_order": 0,
|
|
1260
|
-
* "tag_id": 5
|
|
1261
|
-
* }
|
|
1262
|
-
*/
|
|
1263
|
-
AddTagToProductRequest: {
|
|
1264
|
-
/**
|
|
1265
|
-
* Tag Id
|
|
1266
|
-
* @example 5
|
|
1267
|
-
*/
|
|
1268
|
-
tag_id: number;
|
|
1269
|
-
/**
|
|
1270
|
-
* Display Order
|
|
1271
|
-
* @default 0
|
|
1272
|
-
* @example 0
|
|
1273
|
-
*/
|
|
1274
|
-
display_order: number;
|
|
1275
|
-
};
|
|
1276
|
-
/**
|
|
1277
|
-
* ProductCurrency
|
|
1278
|
-
* @enum {string}
|
|
1279
|
-
*/
|
|
1280
|
-
ProductCurrency: "USD" | "INR" | "EUR" | "GBP";
|
|
1281
|
-
/**
|
|
1282
|
-
* VariantStatus
|
|
1283
|
-
* @description Variant status enum.
|
|
1284
|
-
* @enum {string}
|
|
1285
|
-
*/
|
|
1286
|
-
VariantStatus: "active" | "inactive" | "out_of_stock" | "discontinued";
|
|
1287
|
-
/**
|
|
1288
|
-
* ProductStatus
|
|
1289
|
-
* @description Product status values (Phase 1 - VARCHAR)
|
|
1290
|
-
* @enum {string}
|
|
1291
|
-
*/
|
|
1292
|
-
ProductStatus: "draft" | "published" | "archived" | "review_required" | "deleted";
|
|
1293
1219
|
/**
|
|
1294
1220
|
* AddBundleItemRequest
|
|
1295
1221
|
* @example {
|
|
@@ -1344,83 +1270,6 @@ export interface components {
|
|
|
1344
1270
|
*/
|
|
1345
1271
|
display_order: number;
|
|
1346
1272
|
};
|
|
1347
|
-
/**
|
|
1348
|
-
* ProductInterval
|
|
1349
|
-
* @enum {string}
|
|
1350
|
-
*/
|
|
1351
|
-
ProductInterval: "day" | "week" | "month" | "year";
|
|
1352
|
-
/** Body_createProductImageUpload */
|
|
1353
|
-
Body_createProductImageUpload: {
|
|
1354
|
-
/**
|
|
1355
|
-
* Image File
|
|
1356
|
-
* Format: binary
|
|
1357
|
-
*/
|
|
1358
|
-
image_file: string;
|
|
1359
|
-
};
|
|
1360
|
-
Extensions: {
|
|
1361
|
-
/** @example GENERIC_ERROR */
|
|
1362
|
-
message_code?: string;
|
|
1363
|
-
/** @example [] */
|
|
1364
|
-
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
1365
|
-
extra_data?: Record<string, never> | null;
|
|
1366
|
-
/** @example Detailed debug information */
|
|
1367
|
-
debug?: string | null;
|
|
1368
|
-
};
|
|
1369
|
-
ErrorResponse: {
|
|
1370
|
-
/** @example about:blank */
|
|
1371
|
-
type?: string;
|
|
1372
|
-
/** @example GENERIC_ERROR */
|
|
1373
|
-
code?: string;
|
|
1374
|
-
/** @example Client Error */
|
|
1375
|
-
title?: string;
|
|
1376
|
-
/** @example 400 */
|
|
1377
|
-
status?: number;
|
|
1378
|
-
/** @example An error occurred */
|
|
1379
|
-
detail?: string;
|
|
1380
|
-
/** @example /v1/cart/items */
|
|
1381
|
-
instance?: string;
|
|
1382
|
-
extensions?: components["schemas"]["Extensions"];
|
|
1383
|
-
};
|
|
1384
|
-
/**
|
|
1385
|
-
* ProductUpdateRequest
|
|
1386
|
-
* @description Update existing product (base record only)
|
|
1387
|
-
*/
|
|
1388
|
-
ProductUpdateRequest: {
|
|
1389
|
-
/**
|
|
1390
|
-
* Company Id
|
|
1391
|
-
* @description Company ID
|
|
1392
|
-
*/
|
|
1393
|
-
company_id?: number | null;
|
|
1394
|
-
/** @description Product type (rarely changed) */
|
|
1395
|
-
product_type?: components["schemas"]["ProductType"] | null;
|
|
1396
|
-
/** @description Product status */
|
|
1397
|
-
status?: components["schemas"]["ProductStatus"] | null;
|
|
1398
|
-
/**
|
|
1399
|
-
* Featured
|
|
1400
|
-
* @description Featured flag
|
|
1401
|
-
*/
|
|
1402
|
-
featured?: boolean | null;
|
|
1403
|
-
/**
|
|
1404
|
-
* Is Digital
|
|
1405
|
-
* @description Digital product flag
|
|
1406
|
-
*/
|
|
1407
|
-
is_digital?: boolean | null;
|
|
1408
|
-
/**
|
|
1409
|
-
* Is Active
|
|
1410
|
-
* @description Active status
|
|
1411
|
-
*/
|
|
1412
|
-
is_active?: boolean | null;
|
|
1413
|
-
/**
|
|
1414
|
-
* Title
|
|
1415
|
-
* @description DEPRECATED: Use ProductIdentity instead
|
|
1416
|
-
*/
|
|
1417
|
-
title?: string | null;
|
|
1418
|
-
/**
|
|
1419
|
-
* Description
|
|
1420
|
-
* @description DEPRECATED: Use ProductIdentity instead
|
|
1421
|
-
*/
|
|
1422
|
-
description?: string | null;
|
|
1423
|
-
};
|
|
1424
1273
|
/**
|
|
1425
1274
|
* VariantInventoryInput
|
|
1426
1275
|
* @description Inventory data for variant creation.
|
|
@@ -1445,88 +1294,11 @@ export interface components {
|
|
|
1445
1294
|
allow_backorder: boolean;
|
|
1446
1295
|
};
|
|
1447
1296
|
/**
|
|
1448
|
-
*
|
|
1449
|
-
* @description
|
|
1450
|
-
|
|
1451
|
-
VariantUpdateRequest: {
|
|
1452
|
-
/** Name */
|
|
1453
|
-
name?: string | null;
|
|
1454
|
-
/** Sku */
|
|
1455
|
-
sku?: string | null;
|
|
1456
|
-
/** Barcode */
|
|
1457
|
-
barcode?: string | null;
|
|
1458
|
-
/** Attributes */
|
|
1459
|
-
attributes?: {
|
|
1460
|
-
[key: string]: unknown;
|
|
1461
|
-
} | null;
|
|
1462
|
-
/** Is Default */
|
|
1463
|
-
is_default?: boolean | null;
|
|
1464
|
-
status?: components["schemas"]["VariantStatus"] | null;
|
|
1465
|
-
/** Display Order */
|
|
1466
|
-
display_order?: number | null;
|
|
1467
|
-
/** Metadata */
|
|
1468
|
-
metadata?: {
|
|
1469
|
-
[key: string]: unknown;
|
|
1470
|
-
} | null;
|
|
1471
|
-
/** Track Inventory */
|
|
1472
|
-
track_inventory?: boolean | null;
|
|
1473
|
-
/** Stock Quantity */
|
|
1474
|
-
stock_quantity?: number | null;
|
|
1475
|
-
/** Allow Backorder */
|
|
1476
|
-
allow_backorder?: boolean | null;
|
|
1477
|
-
/** Weight */
|
|
1478
|
-
weight?: number | string | null;
|
|
1479
|
-
/** Length */
|
|
1480
|
-
length?: number | string | null;
|
|
1481
|
-
/** Width */
|
|
1482
|
-
width?: number | string | null;
|
|
1483
|
-
/** Height */
|
|
1484
|
-
height?: number | string | null;
|
|
1485
|
-
};
|
|
1486
|
-
/**
|
|
1487
|
-
* @example {
|
|
1488
|
-
* "status": "success",
|
|
1489
|
-
* "message": "Operation successful",
|
|
1490
|
-
* "message_code": "api_suc_20001",
|
|
1491
|
-
* "data": {},
|
|
1492
|
-
* "metadata": {
|
|
1493
|
-
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
1494
|
-
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
1495
|
-
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
1496
|
-
* "version": "v1",
|
|
1497
|
-
* "executionTime": 42,
|
|
1498
|
-
* "language": "en-US"
|
|
1499
|
-
* }
|
|
1500
|
-
* }
|
|
1297
|
+
* ProductType
|
|
1298
|
+
* @description Product types supported (11 active types)
|
|
1299
|
+
* @enum {string}
|
|
1501
1300
|
*/
|
|
1502
|
-
|
|
1503
|
-
/** @example success */
|
|
1504
|
-
status?: string;
|
|
1505
|
-
data?: Record<string, never> | null;
|
|
1506
|
-
/** @example Operation successful */
|
|
1507
|
-
message?: string | null;
|
|
1508
|
-
/** @example api_suc_20001 */
|
|
1509
|
-
message_code?: string | null;
|
|
1510
|
-
metadata?: Record<string, never> | null;
|
|
1511
|
-
error?: components["schemas"]["ErrorResponse"];
|
|
1512
|
-
};
|
|
1513
|
-
/** ProductPriceUpdateRequest */
|
|
1514
|
-
ProductPriceUpdateRequest: {
|
|
1515
|
-
/** Amount */
|
|
1516
|
-
amount?: number | null;
|
|
1517
|
-
currency?: components["schemas"]["ProductCurrency"] | null;
|
|
1518
|
-
interval?: components["schemas"]["ProductInterval"] | null;
|
|
1519
|
-
/** Interval Count */
|
|
1520
|
-
interval_count?: number | null;
|
|
1521
|
-
/** Trial Period Days */
|
|
1522
|
-
trial_period_days?: number | null;
|
|
1523
|
-
/** Initial Amount */
|
|
1524
|
-
initial_amount?: number | null;
|
|
1525
|
-
/** Compare Price */
|
|
1526
|
-
compare_price?: number | null;
|
|
1527
|
-
/** Is Active */
|
|
1528
|
-
is_active?: boolean | null;
|
|
1529
|
-
};
|
|
1301
|
+
ProductType: "course" | "package" | "session" | "webinar" | "bundle" | "meeting" | "open_class" | "plan" | "test" | "appointment" | "limit_minutes";
|
|
1530
1302
|
/**
|
|
1531
1303
|
* VariantCreateRequest
|
|
1532
1304
|
* @description Request model for creating a product variant.
|
|
@@ -1607,170 +1379,127 @@ export interface components {
|
|
|
1607
1379
|
[key: string]: unknown;
|
|
1608
1380
|
} | null;
|
|
1609
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;
|
|
1390
|
+
};
|
|
1610
1391
|
/**
|
|
1611
|
-
*
|
|
1612
|
-
* @description
|
|
1392
|
+
* VariantImageInput
|
|
1393
|
+
* @description Image data for variant creation.
|
|
1613
1394
|
*/
|
|
1614
|
-
|
|
1395
|
+
VariantImageInput: {
|
|
1615
1396
|
/**
|
|
1616
|
-
*
|
|
1617
|
-
* @description
|
|
1397
|
+
* Image Url
|
|
1398
|
+
* @description Image URL
|
|
1618
1399
|
*/
|
|
1619
|
-
|
|
1400
|
+
image_url: string;
|
|
1620
1401
|
/**
|
|
1621
|
-
*
|
|
1622
|
-
* @description
|
|
1402
|
+
* Image Type
|
|
1403
|
+
* @description primary, gallery, thumbnail
|
|
1404
|
+
* @default primary
|
|
1623
1405
|
*/
|
|
1624
|
-
|
|
1406
|
+
image_type: string;
|
|
1625
1407
|
/**
|
|
1626
|
-
*
|
|
1627
|
-
* @description
|
|
1408
|
+
* Display Order
|
|
1409
|
+
* @description Display order
|
|
1410
|
+
* @default 100
|
|
1628
1411
|
*/
|
|
1629
|
-
|
|
1412
|
+
display_order: number;
|
|
1630
1413
|
};
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
* Amount
|
|
1643
|
-
* @example 52
|
|
1644
|
-
*/
|
|
1645
|
-
amount: number;
|
|
1646
|
-
/** @example USD */
|
|
1647
|
-
currency: components["schemas"]["ProductCurrency"];
|
|
1648
|
-
/**
|
|
1649
|
-
* Gateway
|
|
1650
|
-
* @example stripe
|
|
1651
|
-
*/
|
|
1652
|
-
gateway?: string | null;
|
|
1653
|
-
/**
|
|
1654
|
-
* Is Live
|
|
1655
|
-
* @default false
|
|
1656
|
-
* @example false
|
|
1657
|
-
*/
|
|
1658
|
-
is_live: boolean;
|
|
1659
|
-
/** @example month */
|
|
1660
|
-
interval?: components["schemas"]["ProductInterval"] | null;
|
|
1661
|
-
/**
|
|
1662
|
-
* Interval Count
|
|
1663
|
-
* @example 1
|
|
1664
|
-
*/
|
|
1665
|
-
interval_count?: number | null;
|
|
1666
|
-
/**
|
|
1667
|
-
* Trial Period Days
|
|
1668
|
-
* @default 0
|
|
1669
|
-
* @example 0
|
|
1670
|
-
*/
|
|
1671
|
-
trial_period_days: number | null;
|
|
1672
|
-
/**
|
|
1673
|
-
* Initial Amount
|
|
1674
|
-
* @example 0
|
|
1675
|
-
*/
|
|
1676
|
-
initial_amount?: number | null;
|
|
1677
|
-
/**
|
|
1678
|
-
* Compare Price
|
|
1679
|
-
* @example 0
|
|
1680
|
-
*/
|
|
1681
|
-
compare_price?: number | null;
|
|
1682
|
-
/**
|
|
1683
|
-
* Object Id
|
|
1684
|
-
* @example 0
|
|
1685
|
-
*/
|
|
1686
|
-
object_id?: number | null;
|
|
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: {
|
|
1687
1425
|
/**
|
|
1688
|
-
*
|
|
1689
|
-
* @
|
|
1426
|
+
* Adjustment Type
|
|
1427
|
+
* @description add, subtract, or set
|
|
1690
1428
|
*/
|
|
1691
|
-
|
|
1429
|
+
adjustment_type: string;
|
|
1692
1430
|
/**
|
|
1693
|
-
*
|
|
1694
|
-
* @description
|
|
1695
|
-
* @default false
|
|
1696
|
-
* @example false
|
|
1431
|
+
* Quantity
|
|
1432
|
+
* @description Quantity to add/subtract/set
|
|
1697
1433
|
*/
|
|
1698
|
-
|
|
1699
|
-
};
|
|
1700
|
-
/** Body_createProductImage */
|
|
1701
|
-
Body_createProductImage: {
|
|
1434
|
+
quantity: number;
|
|
1702
1435
|
/**
|
|
1703
|
-
*
|
|
1704
|
-
*
|
|
1436
|
+
* Reason
|
|
1437
|
+
* @description Reason for adjustment
|
|
1705
1438
|
*/
|
|
1706
|
-
|
|
1439
|
+
reason?: string | null;
|
|
1707
1440
|
};
|
|
1441
|
+
/**
|
|
1442
|
+
* ProductStatus
|
|
1443
|
+
* @description Product status values (Phase 1 - VARCHAR)
|
|
1444
|
+
* @enum {string}
|
|
1445
|
+
*/
|
|
1446
|
+
ProductStatus: "draft" | "published" | "archived" | "review_required" | "deleted";
|
|
1708
1447
|
/**
|
|
1709
1448
|
* ProductPriceType
|
|
1710
1449
|
* @enum {string}
|
|
1711
1450
|
*/
|
|
1712
1451
|
ProductPriceType: "free" | "subscription" | "onetime" | "emi";
|
|
1713
|
-
|
|
1714
|
-
/** @example
|
|
1715
|
-
|
|
1716
|
-
/** @example
|
|
1717
|
-
|
|
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"];
|
|
1718
1466
|
};
|
|
1719
1467
|
/**
|
|
1720
|
-
*
|
|
1721
|
-
* @
|
|
1722
|
-
*
|
|
1723
|
-
* "description": "Programming language tag for Python courses",
|
|
1724
|
-
* "tag_name": "Python Programming",
|
|
1725
|
-
* "tag_type": "skill"
|
|
1726
|
-
* }
|
|
1468
|
+
* VariantStatus
|
|
1469
|
+
* @description Variant status enum.
|
|
1470
|
+
* @enum {string}
|
|
1727
1471
|
*/
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
/**
|
|
1735
|
-
* Tag Type
|
|
1736
|
-
* @description category, topic, skill, difficulty
|
|
1737
|
-
* @example skill
|
|
1738
|
-
*/
|
|
1739
|
-
tag_type?: string | null;
|
|
1472
|
+
VariantStatus: "active" | "inactive" | "out_of_stock" | "discontinued";
|
|
1473
|
+
/**
|
|
1474
|
+
* ProductIdentityCreateRequest
|
|
1475
|
+
* @description Create localized product content
|
|
1476
|
+
*/
|
|
1477
|
+
ProductIdentityCreateRequest: {
|
|
1740
1478
|
/**
|
|
1741
|
-
*
|
|
1742
|
-
* @example
|
|
1479
|
+
* @description Locale (language-country format)
|
|
1480
|
+
* @example en-US
|
|
1743
1481
|
*/
|
|
1744
|
-
|
|
1482
|
+
locale: components["schemas"]["Locale"];
|
|
1745
1483
|
/**
|
|
1746
|
-
*
|
|
1747
|
-
* @
|
|
1748
|
-
* @example #3776AB
|
|
1484
|
+
* Title
|
|
1485
|
+
* @example Python Programming Course
|
|
1749
1486
|
*/
|
|
1750
|
-
|
|
1751
|
-
};
|
|
1752
|
-
/**
|
|
1753
|
-
* VariantImageInput
|
|
1754
|
-
* @description Image data for variant creation.
|
|
1755
|
-
*/
|
|
1756
|
-
VariantImageInput: {
|
|
1487
|
+
title: string;
|
|
1757
1488
|
/**
|
|
1758
|
-
*
|
|
1759
|
-
* @
|
|
1489
|
+
* Subtitle
|
|
1490
|
+
* @example Master Python in 30 days
|
|
1760
1491
|
*/
|
|
1761
|
-
|
|
1492
|
+
subtitle?: string | null;
|
|
1762
1493
|
/**
|
|
1763
|
-
*
|
|
1764
|
-
* @
|
|
1765
|
-
* @default primary
|
|
1494
|
+
* Description
|
|
1495
|
+
* @example Comprehensive Python course covering basics to advanced topics
|
|
1766
1496
|
*/
|
|
1767
|
-
|
|
1497
|
+
description?: string | null;
|
|
1768
1498
|
/**
|
|
1769
|
-
*
|
|
1770
|
-
* @
|
|
1771
|
-
* @default 100
|
|
1499
|
+
* Short Description
|
|
1500
|
+
* @example Learn Python from scratch with hands-on projects
|
|
1772
1501
|
*/
|
|
1773
|
-
|
|
1502
|
+
short_description?: string | null;
|
|
1774
1503
|
};
|
|
1775
1504
|
/**
|
|
1776
1505
|
* ProductCreateRequest
|
|
@@ -1843,46 +1572,141 @@ export interface components {
|
|
|
1843
1572
|
description?: string | null;
|
|
1844
1573
|
};
|
|
1845
1574
|
/**
|
|
1846
|
-
*
|
|
1847
|
-
* @description
|
|
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
|
+
};
|
|
1636
|
+
/**
|
|
1637
|
+
* @example {
|
|
1638
|
+
* "status": "success",
|
|
1639
|
+
* "message": "Operation successful",
|
|
1640
|
+
* "message_code": "api_suc_20001",
|
|
1641
|
+
* "data": {},
|
|
1642
|
+
* "metadata": {
|
|
1643
|
+
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
1644
|
+
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
1645
|
+
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
1646
|
+
* "version": "v1",
|
|
1647
|
+
* "executionTime": 42,
|
|
1648
|
+
* "language": "en-US"
|
|
1649
|
+
* }
|
|
1650
|
+
* }
|
|
1651
|
+
*/
|
|
1652
|
+
StandardResponse: {
|
|
1653
|
+
/** @example success */
|
|
1654
|
+
status?: string;
|
|
1655
|
+
data?: Record<string, never> | null;
|
|
1656
|
+
/** @example Operation successful */
|
|
1657
|
+
message?: string | null;
|
|
1658
|
+
/** @example api_suc_20001 */
|
|
1659
|
+
message_code?: string | null;
|
|
1660
|
+
metadata?: Record<string, never> | null;
|
|
1661
|
+
error?: components["schemas"]["ErrorResponse"];
|
|
1662
|
+
};
|
|
1663
|
+
/**
|
|
1664
|
+
* VariantUpdateRequest
|
|
1665
|
+
* @description Request model for updating a variant.
|
|
1848
1666
|
*/
|
|
1849
|
-
|
|
1850
|
-
/**
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
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;
|
|
1701
|
+
};
|
|
1702
|
+
/** Body_createProductImage */
|
|
1703
|
+
Body_createProductImage: {
|
|
1873
1704
|
/**
|
|
1874
|
-
*
|
|
1875
|
-
*
|
|
1876
|
-
* @default true
|
|
1705
|
+
* File
|
|
1706
|
+
* Format: binary
|
|
1877
1707
|
*/
|
|
1878
|
-
|
|
1708
|
+
file: string;
|
|
1879
1709
|
};
|
|
1880
|
-
/**
|
|
1881
|
-
* ProductType
|
|
1882
|
-
* @description Product types supported (11 active types)
|
|
1883
|
-
* @enum {string}
|
|
1884
|
-
*/
|
|
1885
|
-
ProductType: "course" | "package" | "session" | "webinar" | "bundle" | "meeting" | "open_class" | "plan" | "test" | "appointment" | "limit_minutes";
|
|
1886
1710
|
/**
|
|
1887
1711
|
* SeoUpsertRequest
|
|
1888
1712
|
* @description Unified SEO upsert schema for all entity types (space, product, service, ...).
|
|
@@ -2095,6 +1919,182 @@ export interface components {
|
|
|
2095
1919
|
[key: string]: string;
|
|
2096
1920
|
}[] | null;
|
|
2097
1921
|
};
|
|
1922
|
+
/**
|
|
1923
|
+
* VariantPricingInput
|
|
1924
|
+
* @description Pricing data for variant creation.
|
|
1925
|
+
*/
|
|
1926
|
+
VariantPricingInput: {
|
|
1927
|
+
/**
|
|
1928
|
+
* Amount
|
|
1929
|
+
* @description Price amount
|
|
1930
|
+
*/
|
|
1931
|
+
amount: number | string;
|
|
1932
|
+
/**
|
|
1933
|
+
* Currency
|
|
1934
|
+
* @description Currency code
|
|
1935
|
+
* @default USD
|
|
1936
|
+
*/
|
|
1937
|
+
currency: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* Interval
|
|
1940
|
+
* @description one_time, daily, weekly, monthly, yearly
|
|
1941
|
+
* @default one_time
|
|
1942
|
+
*/
|
|
1943
|
+
interval: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* Interval Count
|
|
1946
|
+
* @description Billing frequency
|
|
1947
|
+
* @default 1
|
|
1948
|
+
*/
|
|
1949
|
+
interval_count: number;
|
|
1950
|
+
/**
|
|
1951
|
+
* Is Active
|
|
1952
|
+
* @description Is pricing active
|
|
1953
|
+
* @default true
|
|
1954
|
+
*/
|
|
1955
|
+
is_active: boolean;
|
|
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
|
+
};
|
|
1971
|
+
/** ProductPriceRequest */
|
|
1972
|
+
ProductPriceRequest: {
|
|
1973
|
+
/**
|
|
1974
|
+
* Company Id
|
|
1975
|
+
* @description Company ID for gateway configuration
|
|
1976
|
+
* @example 1
|
|
1977
|
+
*/
|
|
1978
|
+
company_id: number;
|
|
1979
|
+
/** @example subscription */
|
|
1980
|
+
price_type: components["schemas"]["ProductPriceType"];
|
|
1981
|
+
/**
|
|
1982
|
+
* Amount
|
|
1983
|
+
* @example 52
|
|
1984
|
+
*/
|
|
1985
|
+
amount: number;
|
|
1986
|
+
/** @example USD */
|
|
1987
|
+
currency: components["schemas"]["ProductCurrency"];
|
|
1988
|
+
/**
|
|
1989
|
+
* Gateway
|
|
1990
|
+
* @example stripe
|
|
1991
|
+
*/
|
|
1992
|
+
gateway?: string | null;
|
|
1993
|
+
/**
|
|
1994
|
+
* Is Live
|
|
1995
|
+
* @default false
|
|
1996
|
+
* @example false
|
|
1997
|
+
*/
|
|
1998
|
+
is_live: boolean;
|
|
1999
|
+
/** @example month */
|
|
2000
|
+
interval?: components["schemas"]["ProductInterval"] | null;
|
|
2001
|
+
/**
|
|
2002
|
+
* Interval Count
|
|
2003
|
+
* @example 1
|
|
2004
|
+
*/
|
|
2005
|
+
interval_count?: number | null;
|
|
2006
|
+
/**
|
|
2007
|
+
* Trial Period Days
|
|
2008
|
+
* @default 0
|
|
2009
|
+
* @example 0
|
|
2010
|
+
*/
|
|
2011
|
+
trial_period_days: number | null;
|
|
2012
|
+
/**
|
|
2013
|
+
* Initial Amount
|
|
2014
|
+
* @example 0
|
|
2015
|
+
*/
|
|
2016
|
+
initial_amount?: number | null;
|
|
2017
|
+
/**
|
|
2018
|
+
* Compare Price
|
|
2019
|
+
* @example 0
|
|
2020
|
+
*/
|
|
2021
|
+
compare_price?: number | null;
|
|
2022
|
+
/**
|
|
2023
|
+
* Object Id
|
|
2024
|
+
* @example 0
|
|
2025
|
+
*/
|
|
2026
|
+
object_id?: number | null;
|
|
2027
|
+
/**
|
|
2028
|
+
* Module Id
|
|
2029
|
+
* @example 0
|
|
2030
|
+
*/
|
|
2031
|
+
module_id?: number | null;
|
|
2032
|
+
/**
|
|
2033
|
+
* Requires Payment Method Upfront
|
|
2034
|
+
* @description False=Gateway-managed trial (send trial to gateway), True=App-managed trial (don't send trial to gateway)
|
|
2035
|
+
* @default false
|
|
2036
|
+
* @example false
|
|
2037
|
+
*/
|
|
2038
|
+
requires_payment_method_upfront: boolean;
|
|
2039
|
+
};
|
|
2040
|
+
/**
|
|
2041
|
+
* AddTagToProductRequest
|
|
2042
|
+
* @example {
|
|
2043
|
+
* "display_order": 0,
|
|
2044
|
+
* "tag_id": 5
|
|
2045
|
+
* }
|
|
2046
|
+
*/
|
|
2047
|
+
AddTagToProductRequest: {
|
|
2048
|
+
/**
|
|
2049
|
+
* Tag Id
|
|
2050
|
+
* @example 5
|
|
2051
|
+
*/
|
|
2052
|
+
tag_id: number;
|
|
2053
|
+
/**
|
|
2054
|
+
* Display Order
|
|
2055
|
+
* @default 0
|
|
2056
|
+
* @example 0
|
|
2057
|
+
*/
|
|
2058
|
+
display_order: number;
|
|
2059
|
+
};
|
|
2060
|
+
/**
|
|
2061
|
+
* ProductCurrency
|
|
2062
|
+
* @enum {string}
|
|
2063
|
+
*/
|
|
2064
|
+
ProductCurrency: "USD" | "INR" | "EUR" | "GBP";
|
|
2065
|
+
/**
|
|
2066
|
+
* CreateTagRequest
|
|
2067
|
+
* @example {
|
|
2068
|
+
* "color": "#3776AB",
|
|
2069
|
+
* "description": "Programming language tag for Python courses",
|
|
2070
|
+
* "tag_name": "Python Programming",
|
|
2071
|
+
* "tag_type": "skill"
|
|
2072
|
+
* }
|
|
2073
|
+
*/
|
|
2074
|
+
app__routes__products__product_phase2_routes__CreateTagRequest: {
|
|
2075
|
+
/**
|
|
2076
|
+
* Tag Name
|
|
2077
|
+
* @example Python Programming
|
|
2078
|
+
*/
|
|
2079
|
+
tag_name: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Tag Type
|
|
2082
|
+
* @description category, topic, skill, difficulty
|
|
2083
|
+
* @example skill
|
|
2084
|
+
*/
|
|
2085
|
+
tag_type?: string | null;
|
|
2086
|
+
/**
|
|
2087
|
+
* Description
|
|
2088
|
+
* @example Programming language tag for Python courses
|
|
2089
|
+
*/
|
|
2090
|
+
description?: string | null;
|
|
2091
|
+
/**
|
|
2092
|
+
* Color
|
|
2093
|
+
* @description HEX color code
|
|
2094
|
+
* @example #3776AB
|
|
2095
|
+
*/
|
|
2096
|
+
color?: string | null;
|
|
2097
|
+
};
|
|
2098
2098
|
};
|
|
2099
2099
|
responses: never;
|
|
2100
2100
|
parameters: never;
|