@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.
- package/dist/account/generated.d.ts +230 -230
- package/dist/account/generated.d.ts.map +1 -1
- package/dist/activity/generated.d.ts +46 -46
- package/dist/activity/generated.d.ts.map +1 -1
- package/dist/addon/generated.d.ts +101 -101
- package/dist/addon/generated.d.ts.map +1 -1
- package/dist/admin/generated.d.ts +122 -122
- package/dist/admin/generated.d.ts.map +1 -1
- package/dist/affiliate/generated.d.ts +82 -82
- package/dist/affiliate/generated.d.ts.map +1 -1
- package/dist/analytics/generated.d.ts +21 -21
- package/dist/analytics/generated.d.ts.map +1 -1
- package/dist/announcements/generated.d.ts +119 -119
- package/dist/announcements/generated.d.ts.map +1 -1
- package/dist/apikeys/generated.d.ts +129 -129
- package/dist/apikeys/generated.d.ts.map +1 -1
- package/dist/assistance/generated.d.ts +21 -21
- package/dist/assistance/generated.d.ts.map +1 -1
- package/dist/authentication/generated.d.ts +83 -83
- package/dist/authentication/generated.d.ts.map +1 -1
- package/dist/blog/generated.d.ts +212 -212
- package/dist/blog/generated.d.ts.map +1 -1
- package/dist/bundle/generated.d.ts +185 -185
- package/dist/bundle/generated.d.ts.map +1 -1
- package/dist/cache/generated.d.ts +27 -27
- package/dist/cache/generated.d.ts.map +1 -1
- package/dist/calendar/generated.d.ts +54 -54
- package/dist/calendar/generated.d.ts.map +1 -1
- package/dist/campaigns/generated.d.ts +206 -206
- package/dist/campaigns/generated.d.ts.map +1 -1
- package/dist/cart/generated.d.ts +42 -42
- package/dist/cart/generated.d.ts.map +1 -1
- package/dist/changelog/generated.d.ts +101 -101
- package/dist/changelog/generated.d.ts.map +1 -1
- package/dist/channel/generated.d.ts +213 -213
- package/dist/channel/generated.d.ts.map +1 -1
- package/dist/company/generated.d.ts +57 -57
- package/dist/company/generated.d.ts.map +1 -1
- package/dist/conference/generated.d.ts +109 -109
- package/dist/conference/generated.d.ts.map +1 -1
- package/dist/config/generated.d.ts +55 -55
- package/dist/config/generated.d.ts.map +1 -1
- package/dist/content/generated.d.ts +613 -613
- package/dist/content/generated.d.ts.map +1 -1
- package/dist/cookies/generated.d.ts +71 -71
- package/dist/cookies/generated.d.ts.map +1 -1
- package/dist/courses/generated.d.ts +453 -453
- package/dist/courses/generated.d.ts.map +1 -1
- package/dist/custom/generated.d.ts +78 -78
- package/dist/custom/generated.d.ts.map +1 -1
- package/dist/dashboard/generated.d.ts +138 -138
- package/dist/dashboard/generated.d.ts.map +1 -1
- package/dist/elasticsearch/generated.d.ts +21 -21
- package/dist/elasticsearch/generated.d.ts.map +1 -1
- package/dist/enrollments/generated.d.ts +21 -21
- package/dist/enrollments/generated.d.ts.map +1 -1
- package/dist/errors/generated.d.ts +54 -54
- package/dist/errors/generated.d.ts.map +1 -1
- package/dist/eventconfig/generated.d.ts +53 -53
- package/dist/eventconfig/generated.d.ts.map +1 -1
- package/dist/funnels/generated.d.ts +117 -117
- package/dist/funnels/generated.d.ts.map +1 -1
- package/dist/gamification/generated.d.ts +177 -177
- package/dist/gamification/generated.d.ts.map +1 -1
- package/dist/impersonation/generated.d.ts +52 -52
- package/dist/impersonation/generated.d.ts.map +1 -1
- package/dist/inbox/generated.d.ts +122 -122
- package/dist/inbox/generated.d.ts.map +1 -1
- package/dist/internal/generated.d.ts +21 -21
- package/dist/internal/generated.d.ts.map +1 -1
- package/dist/internationalization/generated.d.ts +21 -21
- package/dist/internationalization/generated.d.ts.map +1 -1
- package/dist/invitations/generated.d.ts +156 -156
- package/dist/invitations/generated.d.ts.map +1 -1
- package/dist/meetings/generated.d.ts +372 -372
- package/dist/meetings/generated.d.ts.map +1 -1
- package/dist/metas/generated.d.ts +199 -199
- package/dist/metas/generated.d.ts.map +1 -1
- package/dist/notification/generated.d.ts +356 -356
- package/dist/notification/generated.d.ts.map +1 -1
- package/dist/notifications/generated.d.ts +21 -21
- package/dist/notifications/generated.d.ts.map +1 -1
- package/dist/onboarding/generated.d.ts +77 -77
- package/dist/onboarding/generated.d.ts.map +1 -1
- package/dist/packages/generated.d.ts +59 -59
- package/dist/packages/generated.d.ts.map +1 -1
- package/dist/payments/generated.d.ts +523 -523
- package/dist/payments/generated.d.ts.map +1 -1
- package/dist/payouts/generated.d.ts +21 -21
- package/dist/payouts/generated.d.ts.map +1 -1
- package/dist/plans/generated.d.ts +323 -323
- package/dist/plans/generated.d.ts.map +1 -1
- package/dist/pricing/generated.d.ts +38 -38
- package/dist/pricing/generated.d.ts.map +1 -1
- package/dist/products/generated.d.ts +443 -443
- package/dist/products/generated.d.ts.map +1 -1
- package/dist/profile/generated.d.ts +354 -354
- package/dist/profile/generated.d.ts.map +1 -1
- package/dist/reasons/generated.d.ts +101 -101
- package/dist/reasons/generated.d.ts.map +1 -1
- package/dist/registration/generated.d.ts +171 -171
- package/dist/registration/generated.d.ts.map +1 -1
- package/dist/reviews/generated.d.ts +57 -57
- package/dist/reviews/generated.d.ts.map +1 -1
- package/dist/role/generated.d.ts +191 -191
- package/dist/role/generated.d.ts.map +1 -1
- package/dist/scheduling/generated.d.ts +103 -103
- package/dist/scheduling/generated.d.ts.map +1 -1
- package/dist/services/generated.d.ts +1017 -1017
- package/dist/services/generated.d.ts.map +1 -1
- package/dist/sessions/generated.d.ts +362 -362
- package/dist/sessions/generated.d.ts.map +1 -1
- package/dist/spaces/generated.d.ts +600 -600
- package/dist/spaces/generated.d.ts.map +1 -1
- package/dist/storefront/generated.d.ts +21 -21
- package/dist/storefront/generated.d.ts.map +1 -1
- package/dist/support/generated.d.ts +1403 -1403
- package/dist/support/generated.d.ts.map +1 -1
- package/dist/sync/generated.d.ts +182 -182
- package/dist/sync/generated.d.ts.map +1 -1
- package/dist/tenant/generated.d.ts +737 -737
- package/dist/tenant/generated.d.ts.map +1 -1
- package/dist/testimonials/generated.d.ts +50 -50
- package/dist/testimonials/generated.d.ts.map +1 -1
- package/dist/tests/generated.d.ts +472 -472
- package/dist/tests/generated.d.ts.map +1 -1
- package/dist/tokens/generated.d.ts +54 -54
- package/dist/tokens/generated.d.ts.map +1 -1
- package/dist/uploads/generated.d.ts +69 -69
- package/dist/uploads/generated.d.ts.map +1 -1
- package/dist/upsell/generated.d.ts +130 -130
- package/dist/upsell/generated.d.ts.map +1 -1
- package/dist/user/generated.d.ts +72 -72
- package/dist/user/generated.d.ts.map +1 -1
- package/dist/webinars/generated.d.ts +329 -329
- package/dist/webinars/generated.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -871,166 +871,17 @@ export type webhooks = Record<string, never>;
|
|
|
871
871
|
export interface components {
|
|
872
872
|
schemas: {
|
|
873
873
|
/**
|
|
874
|
-
*
|
|
875
|
-
* @description
|
|
876
|
-
*/
|
|
877
|
-
VariantItem: {
|
|
878
|
-
/**
|
|
879
|
-
* Name
|
|
880
|
-
* @description Variant display name
|
|
881
|
-
*/
|
|
882
|
-
name: string;
|
|
883
|
-
/**
|
|
884
|
-
* Sku
|
|
885
|
-
* @description Stock Keeping Unit
|
|
886
|
-
*/
|
|
887
|
-
sku?: string | null;
|
|
888
|
-
/**
|
|
889
|
-
* Attributes
|
|
890
|
-
* @description Custom attributes
|
|
891
|
-
*/
|
|
892
|
-
attributes?: {
|
|
893
|
-
[key: string]: unknown;
|
|
894
|
-
} | null;
|
|
895
|
-
/**
|
|
896
|
-
* Is Default
|
|
897
|
-
* @description Set as default variant
|
|
898
|
-
* @default false
|
|
899
|
-
*/
|
|
900
|
-
is_default: boolean;
|
|
901
|
-
/**
|
|
902
|
-
* Track Inventory
|
|
903
|
-
* @description Track stock for this variant
|
|
904
|
-
* @default false
|
|
905
|
-
*/
|
|
906
|
-
track_inventory: boolean;
|
|
907
|
-
/**
|
|
908
|
-
* Stock Quantity
|
|
909
|
-
* @description Initial stock
|
|
910
|
-
*/
|
|
911
|
-
stock_quantity?: number | null;
|
|
912
|
-
/**
|
|
913
|
-
* Allow Backorder
|
|
914
|
-
* @description Allow orders when out of stock
|
|
915
|
-
* @default false
|
|
916
|
-
*/
|
|
917
|
-
allow_backorder: boolean;
|
|
918
|
-
/**
|
|
919
|
-
* Weight
|
|
920
|
-
* @description Weight in kg
|
|
921
|
-
*/
|
|
922
|
-
weight?: number | null;
|
|
923
|
-
/**
|
|
924
|
-
* Length
|
|
925
|
-
* @description Length in cm
|
|
926
|
-
*/
|
|
927
|
-
length?: number | null;
|
|
928
|
-
/**
|
|
929
|
-
* Width
|
|
930
|
-
* @description Width in cm
|
|
931
|
-
*/
|
|
932
|
-
width?: number | null;
|
|
933
|
-
/**
|
|
934
|
-
* Height
|
|
935
|
-
* @description Height in cm
|
|
936
|
-
*/
|
|
937
|
-
height?: number | null;
|
|
938
|
-
/**
|
|
939
|
-
* Display Order
|
|
940
|
-
* @description Display order
|
|
941
|
-
* @default 100
|
|
942
|
-
*/
|
|
943
|
-
display_order: number;
|
|
944
|
-
/**
|
|
945
|
-
* Metadata
|
|
946
|
-
* @description Flexible metadata
|
|
947
|
-
*/
|
|
948
|
-
metadata?: {
|
|
949
|
-
[key: string]: unknown;
|
|
950
|
-
} | null;
|
|
951
|
-
};
|
|
952
|
-
/**
|
|
953
|
-
* TestCreateRequest
|
|
954
|
-
* @description Request model for creating a test
|
|
874
|
+
* PricingSection
|
|
875
|
+
* @description Pricing configuration (optional - can have product price, variant prices, or both)
|
|
955
876
|
*/
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
|
|
959
|
-
* @description External product ID (prod_xxx)
|
|
960
|
-
*/
|
|
961
|
-
product_id: string;
|
|
962
|
-
/**
|
|
963
|
-
* Title
|
|
964
|
-
* @description Test title
|
|
965
|
-
*/
|
|
966
|
-
title: string;
|
|
967
|
-
/**
|
|
968
|
-
* Description
|
|
969
|
-
* @description Test description
|
|
970
|
-
*/
|
|
971
|
-
description?: string | null;
|
|
972
|
-
/**
|
|
973
|
-
* Total Marks
|
|
974
|
-
* @description Total marks for test
|
|
975
|
-
* @default 0
|
|
976
|
-
*/
|
|
977
|
-
total_marks: number;
|
|
978
|
-
/**
|
|
979
|
-
* Passing Marks
|
|
980
|
-
* @description Minimum passing marks
|
|
981
|
-
*/
|
|
982
|
-
passing_marks?: number | null;
|
|
983
|
-
/**
|
|
984
|
-
* Has Time Limit
|
|
985
|
-
* @description Whether test has time limit
|
|
986
|
-
* @default true
|
|
987
|
-
*/
|
|
988
|
-
has_time_limit: boolean;
|
|
989
|
-
/**
|
|
990
|
-
* Duration Minutes
|
|
991
|
-
* @description Test duration in minutes
|
|
992
|
-
*/
|
|
993
|
-
duration_minutes?: number | null;
|
|
994
|
-
/**
|
|
995
|
-
* Max Attempts
|
|
996
|
-
* @description Maximum attempts allowed
|
|
997
|
-
*/
|
|
998
|
-
max_attempts?: number | null;
|
|
999
|
-
/**
|
|
1000
|
-
* Randomize Questions
|
|
1001
|
-
* @description Randomize question order
|
|
1002
|
-
* @default false
|
|
1003
|
-
*/
|
|
1004
|
-
randomize_questions: boolean;
|
|
1005
|
-
/**
|
|
1006
|
-
* Randomize Options
|
|
1007
|
-
* @description Randomize option order (MCQs)
|
|
1008
|
-
* @default false
|
|
1009
|
-
*/
|
|
1010
|
-
randomize_options: boolean;
|
|
1011
|
-
/**
|
|
1012
|
-
* Enable Proctoring
|
|
1013
|
-
* @description Enable proctoring features
|
|
1014
|
-
* @default false
|
|
1015
|
-
*/
|
|
1016
|
-
enable_proctoring: boolean;
|
|
1017
|
-
/**
|
|
1018
|
-
* Enable Browser Lockdown
|
|
1019
|
-
* @description Enable browser lockdown
|
|
1020
|
-
* @default false
|
|
1021
|
-
*/
|
|
1022
|
-
enable_browser_lockdown: boolean;
|
|
877
|
+
PricingSection: {
|
|
878
|
+
/** @description Base product price (no variant) */
|
|
879
|
+
product_price?: components["schemas"]["ProductPrice"] | null;
|
|
1023
880
|
/**
|
|
1024
|
-
*
|
|
1025
|
-
* @description
|
|
881
|
+
* Variant Prices
|
|
882
|
+
* @description Variant-specific prices
|
|
1026
883
|
*/
|
|
1027
|
-
|
|
1028
|
-
};
|
|
1029
|
-
InvalidParam: {
|
|
1030
|
-
/** @example items[0].quantity */
|
|
1031
|
-
field?: string;
|
|
1032
|
-
/** @example Input should be greater than or equal to 1 */
|
|
1033
|
-
error?: string;
|
|
884
|
+
variant_prices?: components["schemas"]["VariantPrice"][] | null;
|
|
1034
885
|
};
|
|
1035
886
|
/**
|
|
1036
887
|
* TestSection
|
|
@@ -1197,33 +1048,6 @@ export interface components {
|
|
|
1197
1048
|
*/
|
|
1198
1049
|
is_published: boolean;
|
|
1199
1050
|
};
|
|
1200
|
-
/**
|
|
1201
|
-
* @example {
|
|
1202
|
-
* "status": "success",
|
|
1203
|
-
* "message": "Operation successful",
|
|
1204
|
-
* "message_code": "api_suc_20001",
|
|
1205
|
-
* "data": {},
|
|
1206
|
-
* "metadata": {
|
|
1207
|
-
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
1208
|
-
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
1209
|
-
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
1210
|
-
* "version": "v1",
|
|
1211
|
-
* "executionTime": 42,
|
|
1212
|
-
* "language": "en-US"
|
|
1213
|
-
* }
|
|
1214
|
-
* }
|
|
1215
|
-
*/
|
|
1216
|
-
StandardResponse: {
|
|
1217
|
-
/** @example success */
|
|
1218
|
-
status?: string;
|
|
1219
|
-
data?: Record<string, never> | null;
|
|
1220
|
-
/** @example Operation successful */
|
|
1221
|
-
message?: string | null;
|
|
1222
|
-
/** @example api_suc_20001 */
|
|
1223
|
-
message_code?: string | null;
|
|
1224
|
-
metadata?: Record<string, never> | null;
|
|
1225
|
-
error?: components["schemas"]["ErrorResponse"];
|
|
1226
|
-
};
|
|
1227
1051
|
/**
|
|
1228
1052
|
* AnswerSubmitRequest
|
|
1229
1053
|
* @description Request model for submitting an answer
|
|
@@ -1251,138 +1075,158 @@ export interface components {
|
|
|
1251
1075
|
answer_code?: string | null;
|
|
1252
1076
|
};
|
|
1253
1077
|
/**
|
|
1254
|
-
*
|
|
1255
|
-
* @description
|
|
1078
|
+
* MediaSection
|
|
1079
|
+
* @description Product media files - direct media data
|
|
1256
1080
|
*/
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* Marks Awarded
|
|
1260
|
-
* @description Marks awarded
|
|
1261
|
-
*/
|
|
1262
|
-
marks_awarded: number;
|
|
1081
|
+
MediaSection: {
|
|
1263
1082
|
/**
|
|
1264
|
-
*
|
|
1265
|
-
* @description
|
|
1083
|
+
* Media Items
|
|
1084
|
+
* @description List of media files to attach to product
|
|
1266
1085
|
*/
|
|
1267
|
-
|
|
1086
|
+
media_items?: components["schemas"]["MediaItem"][] | null;
|
|
1268
1087
|
};
|
|
1269
1088
|
/**
|
|
1270
|
-
*
|
|
1271
|
-
* @description
|
|
1089
|
+
* ProductSection
|
|
1090
|
+
* @description Base product fields (maps to product_tbl)
|
|
1272
1091
|
*/
|
|
1273
|
-
|
|
1092
|
+
ProductSection: {
|
|
1274
1093
|
/**
|
|
1275
|
-
*
|
|
1276
|
-
* @description
|
|
1094
|
+
* Visibility
|
|
1095
|
+
* @description public, private, hidden, unlisted
|
|
1096
|
+
* @default public
|
|
1277
1097
|
*/
|
|
1278
|
-
|
|
1098
|
+
visibility: string;
|
|
1279
1099
|
/**
|
|
1280
|
-
*
|
|
1281
|
-
* @description
|
|
1100
|
+
* Is Digital
|
|
1101
|
+
* @description Digital product flag
|
|
1102
|
+
* @default true
|
|
1282
1103
|
*/
|
|
1283
|
-
|
|
1104
|
+
is_digital: boolean;
|
|
1284
1105
|
/**
|
|
1285
|
-
*
|
|
1286
|
-
* @description
|
|
1106
|
+
* Company Id
|
|
1107
|
+
* @description Multi-company support
|
|
1287
1108
|
*/
|
|
1288
|
-
|
|
1109
|
+
company_id?: number | null;
|
|
1289
1110
|
/**
|
|
1290
|
-
*
|
|
1291
|
-
* @description
|
|
1111
|
+
* Status
|
|
1112
|
+
* @description draft, published, archived, review_required, deleted
|
|
1113
|
+
* @default draft
|
|
1292
1114
|
*/
|
|
1293
|
-
|
|
1115
|
+
status: string;
|
|
1294
1116
|
/**
|
|
1295
|
-
*
|
|
1296
|
-
* @description
|
|
1117
|
+
* Is Org Level
|
|
1118
|
+
* @description Org-level vs user-created product
|
|
1119
|
+
* @default true
|
|
1297
1120
|
*/
|
|
1298
|
-
|
|
1121
|
+
is_org_level: boolean;
|
|
1299
1122
|
/**
|
|
1300
|
-
*
|
|
1301
|
-
* @description
|
|
1123
|
+
* Staff Id
|
|
1124
|
+
* @description Staff/instructor delivering product
|
|
1302
1125
|
*/
|
|
1303
|
-
|
|
1126
|
+
staff_id?: number | null;
|
|
1304
1127
|
/**
|
|
1305
|
-
*
|
|
1306
|
-
* @description
|
|
1128
|
+
* Owner Id
|
|
1129
|
+
* @description Owner of the product
|
|
1307
1130
|
*/
|
|
1308
|
-
|
|
1131
|
+
owner_id?: number | null;
|
|
1309
1132
|
/**
|
|
1310
|
-
*
|
|
1311
|
-
* @description
|
|
1133
|
+
* Featured
|
|
1134
|
+
* @description Featured product flag
|
|
1135
|
+
* @default false
|
|
1312
1136
|
*/
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1137
|
+
featured: boolean;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* TestCreateRequest
|
|
1141
|
+
* @description Request model for creating a test
|
|
1142
|
+
*/
|
|
1143
|
+
TestCreateRequest: {
|
|
1316
1144
|
/**
|
|
1317
|
-
*
|
|
1318
|
-
* @description
|
|
1145
|
+
* Product Id
|
|
1146
|
+
* @description External product ID (prod_xxx)
|
|
1319
1147
|
*/
|
|
1320
|
-
|
|
1148
|
+
product_id: string;
|
|
1321
1149
|
/**
|
|
1322
|
-
*
|
|
1323
|
-
* @description
|
|
1324
|
-
* @default en-US
|
|
1150
|
+
* Title
|
|
1151
|
+
* @description Test title
|
|
1325
1152
|
*/
|
|
1326
|
-
|
|
1153
|
+
title: string;
|
|
1327
1154
|
/**
|
|
1328
|
-
*
|
|
1329
|
-
* @description
|
|
1155
|
+
* Description
|
|
1156
|
+
* @description Test description
|
|
1157
|
+
*/
|
|
1158
|
+
description?: string | null;
|
|
1159
|
+
/**
|
|
1160
|
+
* Total Marks
|
|
1161
|
+
* @description Total marks for test
|
|
1330
1162
|
* @default 0
|
|
1331
1163
|
*/
|
|
1332
|
-
|
|
1164
|
+
total_marks: number;
|
|
1333
1165
|
/**
|
|
1334
|
-
*
|
|
1335
|
-
* @description
|
|
1336
|
-
* @default false
|
|
1166
|
+
* Passing Marks
|
|
1167
|
+
* @description Minimum passing marks
|
|
1337
1168
|
*/
|
|
1338
|
-
|
|
1339
|
-
};
|
|
1340
|
-
/**
|
|
1341
|
-
* QuestionOptionCreate
|
|
1342
|
-
* @description Option for MCQ questions
|
|
1343
|
-
*/
|
|
1344
|
-
QuestionOptionCreate: {
|
|
1169
|
+
passing_marks?: number | null;
|
|
1345
1170
|
/**
|
|
1346
|
-
*
|
|
1347
|
-
* @description
|
|
1171
|
+
* Has Time Limit
|
|
1172
|
+
* @description Whether test has time limit
|
|
1173
|
+
* @default true
|
|
1348
1174
|
*/
|
|
1349
|
-
|
|
1175
|
+
has_time_limit: boolean;
|
|
1350
1176
|
/**
|
|
1351
|
-
*
|
|
1352
|
-
* @description
|
|
1177
|
+
* Duration Minutes
|
|
1178
|
+
* @description Test duration in minutes
|
|
1179
|
+
*/
|
|
1180
|
+
duration_minutes?: number | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Max Attempts
|
|
1183
|
+
* @description Maximum attempts allowed
|
|
1184
|
+
*/
|
|
1185
|
+
max_attempts?: number | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* Randomize Questions
|
|
1188
|
+
* @description Randomize question order
|
|
1353
1189
|
* @default false
|
|
1354
1190
|
*/
|
|
1355
|
-
|
|
1191
|
+
randomize_questions: boolean;
|
|
1356
1192
|
/**
|
|
1357
|
-
*
|
|
1358
|
-
* @description
|
|
1193
|
+
* Randomize Options
|
|
1194
|
+
* @description Randomize option order (MCQs)
|
|
1195
|
+
* @default false
|
|
1359
1196
|
*/
|
|
1360
|
-
|
|
1197
|
+
randomize_options: boolean;
|
|
1361
1198
|
/**
|
|
1362
|
-
*
|
|
1363
|
-
* @description
|
|
1199
|
+
* Enable Proctoring
|
|
1200
|
+
* @description Enable proctoring features
|
|
1201
|
+
* @default false
|
|
1364
1202
|
*/
|
|
1365
|
-
|
|
1366
|
-
};
|
|
1367
|
-
/**
|
|
1368
|
-
* MediaSection
|
|
1369
|
-
* @description Product media files - direct media data
|
|
1370
|
-
*/
|
|
1371
|
-
MediaSection: {
|
|
1203
|
+
enable_proctoring: boolean;
|
|
1372
1204
|
/**
|
|
1373
|
-
*
|
|
1374
|
-
* @description
|
|
1205
|
+
* Enable Browser Lockdown
|
|
1206
|
+
* @description Enable browser lockdown
|
|
1207
|
+
* @default false
|
|
1375
1208
|
*/
|
|
1376
|
-
|
|
1209
|
+
enable_browser_lockdown: boolean;
|
|
1210
|
+
/**
|
|
1211
|
+
* Company Id
|
|
1212
|
+
* @description Company ID
|
|
1213
|
+
*/
|
|
1214
|
+
company_id?: number | null;
|
|
1377
1215
|
};
|
|
1378
|
-
|
|
1216
|
+
ErrorResponse: {
|
|
1217
|
+
/** @example about:blank */
|
|
1218
|
+
type?: string;
|
|
1379
1219
|
/** @example GENERIC_ERROR */
|
|
1380
|
-
|
|
1381
|
-
/** @example
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1220
|
+
code?: string;
|
|
1221
|
+
/** @example Client Error */
|
|
1222
|
+
title?: string;
|
|
1223
|
+
/** @example 400 */
|
|
1224
|
+
status?: number;
|
|
1225
|
+
/** @example An error occurred */
|
|
1226
|
+
detail?: string;
|
|
1227
|
+
/** @example /v1/cart/items */
|
|
1228
|
+
instance?: string;
|
|
1229
|
+
extensions?: components["schemas"]["Extensions"];
|
|
1386
1230
|
};
|
|
1387
1231
|
/**
|
|
1388
1232
|
* TestCreateRequest
|
|
@@ -1413,7 +1257,7 @@ export interface components {
|
|
|
1413
1257
|
* }
|
|
1414
1258
|
* }
|
|
1415
1259
|
*/
|
|
1416
|
-
|
|
1260
|
+
app__models__products__test_models__TestCreateRequest: {
|
|
1417
1261
|
/** @description Base product configuration */
|
|
1418
1262
|
product: components["schemas"]["ProductSection"];
|
|
1419
1263
|
/** @description Localized content (title, description) */
|
|
@@ -1436,130 +1280,280 @@ export interface components {
|
|
|
1436
1280
|
test: components["schemas"]["TestSection"];
|
|
1437
1281
|
};
|
|
1438
1282
|
/**
|
|
1439
|
-
*
|
|
1440
|
-
* @description
|
|
1283
|
+
* QuestionOptionCreate
|
|
1284
|
+
* @description Option for MCQ questions
|
|
1441
1285
|
*/
|
|
1442
|
-
|
|
1286
|
+
QuestionOptionCreate: {
|
|
1443
1287
|
/**
|
|
1444
|
-
*
|
|
1445
|
-
* @description
|
|
1446
|
-
* @default en-US
|
|
1288
|
+
* Option Text
|
|
1289
|
+
* @description Option text
|
|
1447
1290
|
*/
|
|
1448
|
-
|
|
1291
|
+
option_text: string;
|
|
1449
1292
|
/**
|
|
1450
|
-
*
|
|
1451
|
-
* @description
|
|
1293
|
+
* Is Correct
|
|
1294
|
+
* @description Whether this is correct answer
|
|
1295
|
+
* @default false
|
|
1452
1296
|
*/
|
|
1453
|
-
|
|
1297
|
+
is_correct: boolean;
|
|
1454
1298
|
/**
|
|
1455
|
-
*
|
|
1456
|
-
* @description
|
|
1299
|
+
* Display Order
|
|
1300
|
+
* @description Display order
|
|
1457
1301
|
*/
|
|
1458
|
-
|
|
1302
|
+
display_order?: number | null;
|
|
1459
1303
|
/**
|
|
1460
|
-
*
|
|
1461
|
-
* @description
|
|
1304
|
+
* Explanation
|
|
1305
|
+
* @description Explanation for this option
|
|
1462
1306
|
*/
|
|
1307
|
+
explanation?: string | null;
|
|
1308
|
+
};
|
|
1309
|
+
/**
|
|
1310
|
+
* TestUpdateRequest
|
|
1311
|
+
* @description Request model for updating a test
|
|
1312
|
+
*/
|
|
1313
|
+
TestUpdateRequest: {
|
|
1314
|
+
/** Title */
|
|
1315
|
+
title?: string | null;
|
|
1316
|
+
/** Description */
|
|
1463
1317
|
description?: string | null;
|
|
1318
|
+
/** Total Marks */
|
|
1319
|
+
total_marks?: number | null;
|
|
1320
|
+
/** Passing Marks */
|
|
1321
|
+
passing_marks?: number | null;
|
|
1322
|
+
/** Has Time Limit */
|
|
1323
|
+
has_time_limit?: boolean | null;
|
|
1324
|
+
/** Duration Minutes */
|
|
1325
|
+
duration_minutes?: number | null;
|
|
1326
|
+
/** Max Attempts */
|
|
1327
|
+
max_attempts?: number | null;
|
|
1328
|
+
/** Randomize Questions */
|
|
1329
|
+
randomize_questions?: boolean | null;
|
|
1330
|
+
/** Randomize Options */
|
|
1331
|
+
randomize_options?: boolean | null;
|
|
1332
|
+
/** Enable Proctoring */
|
|
1333
|
+
enable_proctoring?: boolean | null;
|
|
1334
|
+
/** Enable Browser Lockdown */
|
|
1335
|
+
enable_browser_lockdown?: boolean | null;
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* MediaItem
|
|
1339
|
+
* @description Single media file item
|
|
1340
|
+
*/
|
|
1341
|
+
MediaItem: {
|
|
1464
1342
|
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @description
|
|
1343
|
+
* Media Type
|
|
1344
|
+
* @description logo, banner, promo_video, gallery_image, gallery_video, swatch
|
|
1467
1345
|
*/
|
|
1468
|
-
|
|
1346
|
+
media_type: string;
|
|
1347
|
+
/**
|
|
1348
|
+
* File Path
|
|
1349
|
+
* @description Path to media file on storage (S3, CDN, local)
|
|
1350
|
+
*/
|
|
1351
|
+
file_path: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* File Name
|
|
1354
|
+
* @description Original filename
|
|
1355
|
+
*/
|
|
1356
|
+
file_name: string;
|
|
1357
|
+
/**
|
|
1358
|
+
* File Size
|
|
1359
|
+
* @description File size in bytes
|
|
1360
|
+
*/
|
|
1361
|
+
file_size?: number | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* Mime Type
|
|
1364
|
+
* @description MIME type (image/png, video/mp4, etc.)
|
|
1365
|
+
*/
|
|
1366
|
+
mime_type?: string | null;
|
|
1367
|
+
/**
|
|
1368
|
+
* Width
|
|
1369
|
+
* @description Width in pixels (for images/videos)
|
|
1370
|
+
*/
|
|
1371
|
+
width?: number | null;
|
|
1372
|
+
/**
|
|
1373
|
+
* Height
|
|
1374
|
+
* @description Height in pixels (for images/videos)
|
|
1375
|
+
*/
|
|
1376
|
+
height?: number | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* Responsive Versions
|
|
1379
|
+
* @description JSON with thumbnail, small, medium, large, xlarge, original paths
|
|
1380
|
+
*/
|
|
1381
|
+
responsive_versions?: {
|
|
1382
|
+
[key: string]: string;
|
|
1383
|
+
} | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* Alt Text
|
|
1386
|
+
* @description Alt text for SEO/accessibility
|
|
1387
|
+
*/
|
|
1388
|
+
alt_text?: string | null;
|
|
1389
|
+
/**
|
|
1390
|
+
* Locale
|
|
1391
|
+
* @description Media locale (en-US, es-PR, etc.)
|
|
1392
|
+
* @default en-US
|
|
1393
|
+
*/
|
|
1394
|
+
locale: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* Display Order
|
|
1397
|
+
* @description Display order
|
|
1398
|
+
* @default 0
|
|
1399
|
+
*/
|
|
1400
|
+
display_order: number;
|
|
1401
|
+
/**
|
|
1402
|
+
* Is Primary
|
|
1403
|
+
* @description Mark as primary media
|
|
1404
|
+
* @default false
|
|
1405
|
+
*/
|
|
1406
|
+
is_primary: boolean;
|
|
1407
|
+
};
|
|
1408
|
+
Extensions: {
|
|
1409
|
+
/** @example GENERIC_ERROR */
|
|
1410
|
+
message_code?: string;
|
|
1411
|
+
/** @example [] */
|
|
1412
|
+
invalid_params?: components["schemas"]["InvalidParam"][];
|
|
1413
|
+
extra_data?: Record<string, never> | null;
|
|
1414
|
+
/** @example Detailed debug information */
|
|
1415
|
+
debug?: string | null;
|
|
1469
1416
|
};
|
|
1470
1417
|
/**
|
|
1471
|
-
*
|
|
1472
|
-
* @description
|
|
1418
|
+
* VariantPrice
|
|
1419
|
+
* @description Variant-specific pricing (maps to product_pricings_tbl with variant_id set)
|
|
1473
1420
|
*/
|
|
1474
|
-
|
|
1421
|
+
VariantPrice: {
|
|
1475
1422
|
/**
|
|
1476
|
-
*
|
|
1477
|
-
* @description
|
|
1423
|
+
* Variant Index
|
|
1424
|
+
* @description Index in variants array (0-based)
|
|
1478
1425
|
*/
|
|
1479
|
-
|
|
1426
|
+
variant_index: number;
|
|
1480
1427
|
/**
|
|
1481
|
-
*
|
|
1482
|
-
* @description
|
|
1428
|
+
* Price Type
|
|
1429
|
+
* @description free, one_time, subscription, monthly_plan
|
|
1483
1430
|
*/
|
|
1484
|
-
|
|
1431
|
+
price_type: string;
|
|
1485
1432
|
/**
|
|
1486
|
-
*
|
|
1487
|
-
* @description
|
|
1488
|
-
* @default 1
|
|
1433
|
+
* Currency
|
|
1434
|
+
* @description Currency code
|
|
1489
1435
|
*/
|
|
1490
|
-
|
|
1436
|
+
currency: string;
|
|
1491
1437
|
/**
|
|
1492
|
-
*
|
|
1493
|
-
* @description
|
|
1494
|
-
* @default 0
|
|
1438
|
+
* Amount
|
|
1439
|
+
* @description Price amount
|
|
1495
1440
|
*/
|
|
1496
|
-
|
|
1441
|
+
amount: number;
|
|
1497
1442
|
/**
|
|
1498
|
-
*
|
|
1499
|
-
* @description
|
|
1443
|
+
* Compare At Amount
|
|
1444
|
+
* @description Original/strike-through price
|
|
1500
1445
|
*/
|
|
1501
|
-
|
|
1446
|
+
compare_at_amount?: number | null;
|
|
1502
1447
|
/**
|
|
1503
|
-
*
|
|
1504
|
-
* @description
|
|
1448
|
+
* Interval
|
|
1449
|
+
* @description day, week, month, year
|
|
1505
1450
|
*/
|
|
1506
|
-
|
|
1451
|
+
interval?: string | null;
|
|
1507
1452
|
/**
|
|
1508
|
-
*
|
|
1509
|
-
* @description
|
|
1453
|
+
* Interval Count
|
|
1454
|
+
* @description Number of intervals
|
|
1510
1455
|
*/
|
|
1511
|
-
|
|
1456
|
+
interval_count?: number | null;
|
|
1512
1457
|
/**
|
|
1513
|
-
*
|
|
1514
|
-
* @description
|
|
1458
|
+
* Trial Period Days
|
|
1459
|
+
* @description Free trial days
|
|
1515
1460
|
*/
|
|
1516
|
-
|
|
1461
|
+
trial_period_days?: number | null;
|
|
1517
1462
|
/**
|
|
1518
|
-
*
|
|
1519
|
-
* @description
|
|
1463
|
+
* Initial Amount
|
|
1464
|
+
* @description First payment amount
|
|
1520
1465
|
*/
|
|
1521
|
-
|
|
1466
|
+
initial_amount?: number | null;
|
|
1522
1467
|
/**
|
|
1523
|
-
*
|
|
1524
|
-
* @description
|
|
1468
|
+
* Gateway
|
|
1469
|
+
* @description stripe, razorpay, paypal, etc.
|
|
1525
1470
|
*/
|
|
1526
|
-
|
|
1471
|
+
gateway?: string | null;
|
|
1527
1472
|
/**
|
|
1528
|
-
*
|
|
1529
|
-
* @description
|
|
1473
|
+
* Requires Payment Method Upfront
|
|
1474
|
+
* @description Require payment method before trial
|
|
1475
|
+
* @default true
|
|
1530
1476
|
*/
|
|
1531
|
-
|
|
1477
|
+
requires_payment_method_upfront: boolean;
|
|
1478
|
+
};
|
|
1479
|
+
/**
|
|
1480
|
+
* VariantItem
|
|
1481
|
+
* @description Product variant (maps to product_variants_tbl)
|
|
1482
|
+
*/
|
|
1483
|
+
VariantItem: {
|
|
1484
|
+
/**
|
|
1485
|
+
* Name
|
|
1486
|
+
* @description Variant display name
|
|
1487
|
+
*/
|
|
1488
|
+
name: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* Sku
|
|
1491
|
+
* @description Stock Keeping Unit
|
|
1492
|
+
*/
|
|
1493
|
+
sku?: string | null;
|
|
1494
|
+
/**
|
|
1495
|
+
* Attributes
|
|
1496
|
+
* @description Custom attributes
|
|
1497
|
+
*/
|
|
1498
|
+
attributes?: {
|
|
1532
1499
|
[key: string]: unknown;
|
|
1533
1500
|
} | null;
|
|
1534
1501
|
/**
|
|
1535
|
-
*
|
|
1536
|
-
* @description
|
|
1502
|
+
* Is Default
|
|
1503
|
+
* @description Set as default variant
|
|
1504
|
+
* @default false
|
|
1537
1505
|
*/
|
|
1538
|
-
|
|
1506
|
+
is_default: boolean;
|
|
1539
1507
|
/**
|
|
1540
|
-
*
|
|
1541
|
-
* @description
|
|
1508
|
+
* Track Inventory
|
|
1509
|
+
* @description Track stock for this variant
|
|
1510
|
+
* @default false
|
|
1542
1511
|
*/
|
|
1543
|
-
|
|
1512
|
+
track_inventory: boolean;
|
|
1544
1513
|
/**
|
|
1545
|
-
*
|
|
1546
|
-
* @description
|
|
1514
|
+
* Stock Quantity
|
|
1515
|
+
* @description Initial stock
|
|
1547
1516
|
*/
|
|
1548
|
-
|
|
1517
|
+
stock_quantity?: number | null;
|
|
1549
1518
|
/**
|
|
1550
|
-
*
|
|
1551
|
-
* @description
|
|
1519
|
+
* Allow Backorder
|
|
1520
|
+
* @description Allow orders when out of stock
|
|
1521
|
+
* @default false
|
|
1552
1522
|
*/
|
|
1553
|
-
|
|
1554
|
-
[key: string]: unknown;
|
|
1555
|
-
}[] | null;
|
|
1523
|
+
allow_backorder: boolean;
|
|
1556
1524
|
/**
|
|
1557
|
-
*
|
|
1558
|
-
* @description
|
|
1525
|
+
* Weight
|
|
1526
|
+
* @description Weight in kg
|
|
1559
1527
|
*/
|
|
1560
|
-
|
|
1528
|
+
weight?: number | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* Length
|
|
1531
|
+
* @description Length in cm
|
|
1532
|
+
*/
|
|
1533
|
+
length?: number | null;
|
|
1534
|
+
/**
|
|
1535
|
+
* Width
|
|
1536
|
+
* @description Width in cm
|
|
1537
|
+
*/
|
|
1538
|
+
width?: number | null;
|
|
1539
|
+
/**
|
|
1540
|
+
* Height
|
|
1541
|
+
* @description Height in cm
|
|
1542
|
+
*/
|
|
1543
|
+
height?: number | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Display Order
|
|
1546
|
+
* @description Display order
|
|
1547
|
+
* @default 100
|
|
1548
|
+
*/
|
|
1549
|
+
display_order: number;
|
|
1550
|
+
/**
|
|
1551
|
+
* Metadata
|
|
1552
|
+
* @description Flexible metadata
|
|
1553
|
+
*/
|
|
1554
|
+
metadata?: {
|
|
1561
1555
|
[key: string]: unknown;
|
|
1562
|
-
}
|
|
1556
|
+
} | null;
|
|
1563
1557
|
};
|
|
1564
1558
|
/**
|
|
1565
1559
|
* ProductPrice
|
|
@@ -1618,174 +1612,180 @@ export interface components {
|
|
|
1618
1612
|
*/
|
|
1619
1613
|
requires_payment_method_upfront: boolean;
|
|
1620
1614
|
};
|
|
1615
|
+
InvalidParam: {
|
|
1616
|
+
/** @example items[0].quantity */
|
|
1617
|
+
field?: string;
|
|
1618
|
+
/** @example Input should be greater than or equal to 1 */
|
|
1619
|
+
error?: string;
|
|
1620
|
+
};
|
|
1621
1621
|
/**
|
|
1622
|
-
*
|
|
1623
|
-
* @description
|
|
1622
|
+
* QuestionCreateRequest
|
|
1623
|
+
* @description Request model for creating a question
|
|
1624
1624
|
*/
|
|
1625
|
-
|
|
1626
|
-
/**
|
|
1627
|
-
* Variant Index
|
|
1628
|
-
* @description Index in variants array (0-based)
|
|
1629
|
-
*/
|
|
1630
|
-
variant_index: number;
|
|
1625
|
+
QuestionCreateRequest: {
|
|
1631
1626
|
/**
|
|
1632
|
-
*
|
|
1633
|
-
* @description
|
|
1627
|
+
* Question Text
|
|
1628
|
+
* @description Question text
|
|
1634
1629
|
*/
|
|
1635
|
-
|
|
1630
|
+
question_text: string;
|
|
1636
1631
|
/**
|
|
1637
|
-
*
|
|
1638
|
-
* @description
|
|
1632
|
+
* Question Type
|
|
1633
|
+
* @description Question type: mcq_single, mcq_multiple, true_false, fill_blank, essay, code, matching, ordering
|
|
1639
1634
|
*/
|
|
1640
|
-
|
|
1635
|
+
question_type: string;
|
|
1641
1636
|
/**
|
|
1642
|
-
*
|
|
1643
|
-
* @description
|
|
1637
|
+
* Default Marks
|
|
1638
|
+
* @description Marks for correct answer
|
|
1639
|
+
* @default 1
|
|
1644
1640
|
*/
|
|
1645
|
-
|
|
1641
|
+
default_marks: number;
|
|
1646
1642
|
/**
|
|
1647
|
-
*
|
|
1648
|
-
* @description
|
|
1643
|
+
* Negative Marks
|
|
1644
|
+
* @description Marks deducted for wrong answer
|
|
1645
|
+
* @default 0
|
|
1649
1646
|
*/
|
|
1650
|
-
|
|
1647
|
+
negative_marks: number;
|
|
1651
1648
|
/**
|
|
1652
|
-
*
|
|
1653
|
-
* @description
|
|
1649
|
+
* Difficulty Level
|
|
1650
|
+
* @description Difficulty: easy, medium, hard
|
|
1654
1651
|
*/
|
|
1655
|
-
|
|
1652
|
+
difficulty_level?: string | null;
|
|
1656
1653
|
/**
|
|
1657
|
-
*
|
|
1658
|
-
* @description
|
|
1654
|
+
* Category Id
|
|
1655
|
+
* @description Question category ID
|
|
1659
1656
|
*/
|
|
1660
|
-
|
|
1657
|
+
category_id?: number | null;
|
|
1661
1658
|
/**
|
|
1662
|
-
*
|
|
1663
|
-
* @description
|
|
1659
|
+
* Tags
|
|
1660
|
+
* @description List of tags
|
|
1664
1661
|
*/
|
|
1665
|
-
|
|
1662
|
+
tags?: string[] | null;
|
|
1666
1663
|
/**
|
|
1667
|
-
*
|
|
1668
|
-
* @description
|
|
1664
|
+
* Company Id
|
|
1665
|
+
* @description Company ID
|
|
1669
1666
|
*/
|
|
1670
|
-
|
|
1667
|
+
company_id?: number | null;
|
|
1671
1668
|
/**
|
|
1672
|
-
*
|
|
1673
|
-
* @description
|
|
1669
|
+
* Options
|
|
1670
|
+
* @description Options for MCQ questions
|
|
1674
1671
|
*/
|
|
1675
|
-
|
|
1672
|
+
options?: components["schemas"]["QuestionOptionCreate"][] | null;
|
|
1676
1673
|
/**
|
|
1677
|
-
*
|
|
1678
|
-
* @description
|
|
1679
|
-
* @default true
|
|
1674
|
+
* Code Language
|
|
1675
|
+
* @description Programming language (python, javascript, java, etc.)
|
|
1680
1676
|
*/
|
|
1681
|
-
|
|
1682
|
-
};
|
|
1683
|
-
ErrorResponse: {
|
|
1684
|
-
/** @example about:blank */
|
|
1685
|
-
type?: string;
|
|
1686
|
-
/** @example GENERIC_ERROR */
|
|
1687
|
-
code?: string;
|
|
1688
|
-
/** @example Client Error */
|
|
1689
|
-
title?: string;
|
|
1690
|
-
/** @example 400 */
|
|
1691
|
-
status?: number;
|
|
1692
|
-
/** @example An error occurred */
|
|
1693
|
-
detail?: string;
|
|
1694
|
-
/** @example /v1/cart/items */
|
|
1695
|
-
instance?: string;
|
|
1696
|
-
extensions?: components["schemas"]["Extensions"];
|
|
1697
|
-
};
|
|
1698
|
-
/**
|
|
1699
|
-
* ProductSection
|
|
1700
|
-
* @description Base product fields (maps to product_tbl)
|
|
1701
|
-
*/
|
|
1702
|
-
ProductSection: {
|
|
1677
|
+
code_language?: string | null;
|
|
1703
1678
|
/**
|
|
1704
|
-
*
|
|
1705
|
-
* @description
|
|
1706
|
-
* @default public
|
|
1679
|
+
* Code Test Cases
|
|
1680
|
+
* @description Test cases for code evaluation
|
|
1707
1681
|
*/
|
|
1708
|
-
|
|
1682
|
+
code_test_cases?: {
|
|
1683
|
+
[key: string]: unknown;
|
|
1684
|
+
} | null;
|
|
1709
1685
|
/**
|
|
1710
|
-
*
|
|
1711
|
-
* @description
|
|
1712
|
-
* @default true
|
|
1686
|
+
* Code Time Limit Ms
|
|
1687
|
+
* @description Time limit in milliseconds
|
|
1713
1688
|
*/
|
|
1714
|
-
|
|
1689
|
+
code_time_limit_ms?: number | null;
|
|
1715
1690
|
/**
|
|
1716
|
-
*
|
|
1717
|
-
* @description
|
|
1691
|
+
* Code Memory Limit Kb
|
|
1692
|
+
* @description Memory limit in KB
|
|
1718
1693
|
*/
|
|
1719
|
-
|
|
1694
|
+
code_memory_limit_kb?: number | null;
|
|
1720
1695
|
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @description
|
|
1723
|
-
* @default draft
|
|
1696
|
+
* Code Starter Code
|
|
1697
|
+
* @description Starter code template
|
|
1724
1698
|
*/
|
|
1725
|
-
|
|
1699
|
+
code_starter_code?: string | null;
|
|
1726
1700
|
/**
|
|
1727
|
-
*
|
|
1728
|
-
* @description
|
|
1729
|
-
* @default true
|
|
1701
|
+
* Matching Pairs
|
|
1702
|
+
* @description Matching pairs data
|
|
1730
1703
|
*/
|
|
1731
|
-
|
|
1704
|
+
matching_pairs?: {
|
|
1705
|
+
[key: string]: unknown;
|
|
1706
|
+
}[] | null;
|
|
1732
1707
|
/**
|
|
1733
|
-
*
|
|
1734
|
-
* @description
|
|
1708
|
+
* Ordering Items
|
|
1709
|
+
* @description Ordering items data
|
|
1735
1710
|
*/
|
|
1736
|
-
|
|
1711
|
+
ordering_items?: {
|
|
1712
|
+
[key: string]: unknown;
|
|
1713
|
+
}[] | null;
|
|
1714
|
+
};
|
|
1715
|
+
/**
|
|
1716
|
+
* ManualGradingSubmitRequest
|
|
1717
|
+
* @description Request model for submitting manual grading
|
|
1718
|
+
*/
|
|
1719
|
+
ManualGradingSubmitRequest: {
|
|
1737
1720
|
/**
|
|
1738
|
-
*
|
|
1739
|
-
* @description
|
|
1721
|
+
* Marks Awarded
|
|
1722
|
+
* @description Marks awarded
|
|
1740
1723
|
*/
|
|
1741
|
-
|
|
1724
|
+
marks_awarded: number;
|
|
1742
1725
|
/**
|
|
1743
|
-
*
|
|
1744
|
-
* @description
|
|
1745
|
-
* @default false
|
|
1726
|
+
* Grader Feedback
|
|
1727
|
+
* @description Grader feedback
|
|
1746
1728
|
*/
|
|
1747
|
-
|
|
1729
|
+
grader_feedback?: string | null;
|
|
1748
1730
|
};
|
|
1749
1731
|
/**
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1732
|
+
* @example {
|
|
1733
|
+
* "status": "success",
|
|
1734
|
+
* "message": "Operation successful",
|
|
1735
|
+
* "message_code": "api_suc_20001",
|
|
1736
|
+
* "data": {},
|
|
1737
|
+
* "metadata": {
|
|
1738
|
+
* "timestamp": "2026-03-26T10:00:00.000Z",
|
|
1739
|
+
* "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
|
|
1740
|
+
* "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
|
|
1741
|
+
* "version": "v1",
|
|
1742
|
+
* "executionTime": 42,
|
|
1743
|
+
* "language": "en-US"
|
|
1744
|
+
* }
|
|
1745
|
+
* }
|
|
1752
1746
|
*/
|
|
1753
|
-
|
|
1754
|
-
/** @
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1747
|
+
StandardResponse: {
|
|
1748
|
+
/** @example success */
|
|
1749
|
+
status?: string;
|
|
1750
|
+
data?: Record<string, never> | null;
|
|
1751
|
+
/** @example Operation successful */
|
|
1752
|
+
message?: string | null;
|
|
1753
|
+
/** @example api_suc_20001 */
|
|
1754
|
+
message_code?: string | null;
|
|
1755
|
+
metadata?: Record<string, never> | null;
|
|
1756
|
+
error?: components["schemas"]["ErrorResponse"];
|
|
1761
1757
|
};
|
|
1762
1758
|
/**
|
|
1763
|
-
*
|
|
1764
|
-
* @description
|
|
1759
|
+
* IdentitySection
|
|
1760
|
+
* @description Localized product content (maps to product_identity_tbl)
|
|
1765
1761
|
*/
|
|
1766
|
-
|
|
1767
|
-
/**
|
|
1768
|
-
|
|
1769
|
-
|
|
1762
|
+
IdentitySection: {
|
|
1763
|
+
/**
|
|
1764
|
+
* Locale
|
|
1765
|
+
* @description Locale: en-US, es-PR, fr-FR, pt-BR, etc.
|
|
1766
|
+
* @default en-US
|
|
1767
|
+
*/
|
|
1768
|
+
locale: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* Title
|
|
1771
|
+
* @description Product title
|
|
1772
|
+
*/
|
|
1773
|
+
title: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* Subtitle
|
|
1776
|
+
* @description Product subtitle
|
|
1777
|
+
*/
|
|
1778
|
+
subtitle?: string | null;
|
|
1779
|
+
/**
|
|
1780
|
+
* Description
|
|
1781
|
+
* @description Full product description
|
|
1782
|
+
*/
|
|
1770
1783
|
description?: string | null;
|
|
1771
|
-
/**
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
has_time_limit?: boolean | null;
|
|
1777
|
-
/** Duration Minutes */
|
|
1778
|
-
duration_minutes?: number | null;
|
|
1779
|
-
/** Max Attempts */
|
|
1780
|
-
max_attempts?: number | null;
|
|
1781
|
-
/** Randomize Questions */
|
|
1782
|
-
randomize_questions?: boolean | null;
|
|
1783
|
-
/** Randomize Options */
|
|
1784
|
-
randomize_options?: boolean | null;
|
|
1785
|
-
/** Enable Proctoring */
|
|
1786
|
-
enable_proctoring?: boolean | null;
|
|
1787
|
-
/** Enable Browser Lockdown */
|
|
1788
|
-
enable_browser_lockdown?: boolean | null;
|
|
1784
|
+
/**
|
|
1785
|
+
* Short Description
|
|
1786
|
+
* @description Short description for listings/previews
|
|
1787
|
+
*/
|
|
1788
|
+
short_description?: string | null;
|
|
1789
1789
|
};
|
|
1790
1790
|
};
|
|
1791
1791
|
responses: never;
|
|
@@ -1807,7 +1807,7 @@ export interface operations {
|
|
|
1807
1807
|
};
|
|
1808
1808
|
requestBody: {
|
|
1809
1809
|
content: {
|
|
1810
|
-
"application/json": components["schemas"]["
|
|
1810
|
+
"application/json": components["schemas"]["app__models__products__test_models__TestCreateRequest"];
|
|
1811
1811
|
};
|
|
1812
1812
|
};
|
|
1813
1813
|
responses: {
|
|
@@ -2220,7 +2220,7 @@ export interface operations {
|
|
|
2220
2220
|
};
|
|
2221
2221
|
requestBody: {
|
|
2222
2222
|
content: {
|
|
2223
|
-
"application/json": components["schemas"]["
|
|
2223
|
+
"application/json": components["schemas"]["TestCreateRequest"];
|
|
2224
2224
|
};
|
|
2225
2225
|
};
|
|
2226
2226
|
responses: {
|