@meshery/schemas 0.8.79 → 0.8.81
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/cloudApi.d.mts +681 -190
- package/dist/cloudApi.d.ts +681 -190
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -32,6 +32,9 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
|
|
|
32
32
|
getAcademyCurriculaById: _reduxjs_toolkit_query.QueryDefinition<GetAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetAcademyCurriculaByIdApiResponse, "api", unknown>;
|
|
33
33
|
getApiAcademyRegistrationsByContentId: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>;
|
|
34
34
|
updateCurrentItemInProgressTracker: _reduxjs_toolkit_query.MutationDefinition<UpdateCurrentItemInProgressTrackerApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateCurrentItemInProgressTrackerApiResponse, "api", unknown>;
|
|
35
|
+
getTestByAbsPath: _reduxjs_toolkit_query.QueryDefinition<GetTestByAbsPathApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetTestByAbsPathApiResponse, "api", unknown>;
|
|
36
|
+
startTestById: _reduxjs_toolkit_query.MutationDefinition<StartTestByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", StartTestByIdApiResponse, "api", unknown>;
|
|
37
|
+
getAllTestSessionsForRegistration: _reduxjs_toolkit_query.QueryDefinition<GetAllTestSessionsForRegistrationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetAllTestSessionsForRegistrationApiResponse, "api", unknown>;
|
|
35
38
|
submitQuiz: _reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", SubmitQuizApiResponse, "api", unknown>;
|
|
36
39
|
getAcademyAdminSummary: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", object, "api", unknown>;
|
|
37
40
|
getAcademyAdminRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyAdminRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetAcademyAdminRegistrationsApiResponse, "api", unknown>;
|
|
@@ -791,69 +794,6 @@ type RegisterToAcademyContentApiResponse = {
|
|
|
791
794
|
/** Date when the certificate expires (optional) */
|
|
792
795
|
expiration_date?: string;
|
|
793
796
|
};
|
|
794
|
-
/** Test submissions made by the user (map of test IDs to Submissions) */
|
|
795
|
-
test_submissions: {
|
|
796
|
-
[key: string]: {
|
|
797
|
-
score: number;
|
|
798
|
-
passed: boolean;
|
|
799
|
-
percentage_scored: number;
|
|
800
|
-
total_marks: number;
|
|
801
|
-
pass_percentage: number;
|
|
802
|
-
correct_submissions: {
|
|
803
|
-
[key: string]: boolean;
|
|
804
|
-
};
|
|
805
|
-
quiz: {
|
|
806
|
-
id: string;
|
|
807
|
-
/** Organization ID that owns this quiz */
|
|
808
|
-
orgId: string;
|
|
809
|
-
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
810
|
-
final: boolean;
|
|
811
|
-
title: string;
|
|
812
|
-
description: string;
|
|
813
|
-
slug: string;
|
|
814
|
-
relPermalink: string;
|
|
815
|
-
permalink: string;
|
|
816
|
-
type: string;
|
|
817
|
-
section: string;
|
|
818
|
-
layout: string;
|
|
819
|
-
date: string;
|
|
820
|
-
lastmod: string;
|
|
821
|
-
draft: boolean;
|
|
822
|
-
file_path: string;
|
|
823
|
-
pass_percentage: number;
|
|
824
|
-
time_limit: string;
|
|
825
|
-
questions: {
|
|
826
|
-
id: string;
|
|
827
|
-
text: string;
|
|
828
|
-
type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
|
|
829
|
-
marks: number;
|
|
830
|
-
multiple_answers?: boolean;
|
|
831
|
-
options: {
|
|
832
|
-
id: string;
|
|
833
|
-
text: string;
|
|
834
|
-
is_correct: boolean;
|
|
835
|
-
}[];
|
|
836
|
-
correct_answer: string;
|
|
837
|
-
}[];
|
|
838
|
-
total_questions: number;
|
|
839
|
-
total_marks: number;
|
|
840
|
-
prerequisites: {
|
|
841
|
-
id: string;
|
|
842
|
-
title: string;
|
|
843
|
-
relPermalink: string;
|
|
844
|
-
type: string;
|
|
845
|
-
}[];
|
|
846
|
-
parent?: {
|
|
847
|
-
id: string;
|
|
848
|
-
title: string;
|
|
849
|
-
relPermalink: string;
|
|
850
|
-
type: string;
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
attempted_at: string;
|
|
854
|
-
attempts: number;
|
|
855
|
-
}[];
|
|
856
|
-
};
|
|
857
797
|
/** Additional metadata about the registration */
|
|
858
798
|
metadata: {
|
|
859
799
|
[key: string]: any;
|
|
@@ -911,69 +851,6 @@ type WithdrawFromAcademyContentApiResponse = {
|
|
|
911
851
|
/** Date when the certificate expires (optional) */
|
|
912
852
|
expiration_date?: string;
|
|
913
853
|
};
|
|
914
|
-
/** Test submissions made by the user (map of test IDs to Submissions) */
|
|
915
|
-
test_submissions: {
|
|
916
|
-
[key: string]: {
|
|
917
|
-
score: number;
|
|
918
|
-
passed: boolean;
|
|
919
|
-
percentage_scored: number;
|
|
920
|
-
total_marks: number;
|
|
921
|
-
pass_percentage: number;
|
|
922
|
-
correct_submissions: {
|
|
923
|
-
[key: string]: boolean;
|
|
924
|
-
};
|
|
925
|
-
quiz: {
|
|
926
|
-
id: string;
|
|
927
|
-
/** Organization ID that owns this quiz */
|
|
928
|
-
orgId: string;
|
|
929
|
-
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
930
|
-
final: boolean;
|
|
931
|
-
title: string;
|
|
932
|
-
description: string;
|
|
933
|
-
slug: string;
|
|
934
|
-
relPermalink: string;
|
|
935
|
-
permalink: string;
|
|
936
|
-
type: string;
|
|
937
|
-
section: string;
|
|
938
|
-
layout: string;
|
|
939
|
-
date: string;
|
|
940
|
-
lastmod: string;
|
|
941
|
-
draft: boolean;
|
|
942
|
-
file_path: string;
|
|
943
|
-
pass_percentage: number;
|
|
944
|
-
time_limit: string;
|
|
945
|
-
questions: {
|
|
946
|
-
id: string;
|
|
947
|
-
text: string;
|
|
948
|
-
type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
|
|
949
|
-
marks: number;
|
|
950
|
-
multiple_answers?: boolean;
|
|
951
|
-
options: {
|
|
952
|
-
id: string;
|
|
953
|
-
text: string;
|
|
954
|
-
is_correct: boolean;
|
|
955
|
-
}[];
|
|
956
|
-
correct_answer: string;
|
|
957
|
-
}[];
|
|
958
|
-
total_questions: number;
|
|
959
|
-
total_marks: number;
|
|
960
|
-
prerequisites: {
|
|
961
|
-
id: string;
|
|
962
|
-
title: string;
|
|
963
|
-
relPermalink: string;
|
|
964
|
-
type: string;
|
|
965
|
-
}[];
|
|
966
|
-
parent?: {
|
|
967
|
-
id: string;
|
|
968
|
-
title: string;
|
|
969
|
-
relPermalink: string;
|
|
970
|
-
type: string;
|
|
971
|
-
};
|
|
972
|
-
};
|
|
973
|
-
attempted_at: string;
|
|
974
|
-
attempts: number;
|
|
975
|
-
}[];
|
|
976
|
-
};
|
|
977
854
|
/** Additional metadata about the registration */
|
|
978
855
|
metadata: {
|
|
979
856
|
[key: string]: any;
|
|
@@ -1354,69 +1231,6 @@ type GetApiAcademyRegistrationsByContentIdApiResponse =
|
|
|
1354
1231
|
/** Date when the certificate expires (optional) */
|
|
1355
1232
|
expiration_date?: string;
|
|
1356
1233
|
};
|
|
1357
|
-
/** Test submissions made by the user (map of test IDs to Submissions) */
|
|
1358
|
-
test_submissions: {
|
|
1359
|
-
[key: string]: {
|
|
1360
|
-
score: number;
|
|
1361
|
-
passed: boolean;
|
|
1362
|
-
percentage_scored: number;
|
|
1363
|
-
total_marks: number;
|
|
1364
|
-
pass_percentage: number;
|
|
1365
|
-
correct_submissions: {
|
|
1366
|
-
[key: string]: boolean;
|
|
1367
|
-
};
|
|
1368
|
-
quiz: {
|
|
1369
|
-
id: string;
|
|
1370
|
-
/** Organization ID that owns this quiz */
|
|
1371
|
-
orgId: string;
|
|
1372
|
-
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
1373
|
-
final: boolean;
|
|
1374
|
-
title: string;
|
|
1375
|
-
description: string;
|
|
1376
|
-
slug: string;
|
|
1377
|
-
relPermalink: string;
|
|
1378
|
-
permalink: string;
|
|
1379
|
-
type: string;
|
|
1380
|
-
section: string;
|
|
1381
|
-
layout: string;
|
|
1382
|
-
date: string;
|
|
1383
|
-
lastmod: string;
|
|
1384
|
-
draft: boolean;
|
|
1385
|
-
file_path: string;
|
|
1386
|
-
pass_percentage: number;
|
|
1387
|
-
time_limit: string;
|
|
1388
|
-
questions: {
|
|
1389
|
-
id: string;
|
|
1390
|
-
text: string;
|
|
1391
|
-
type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
|
|
1392
|
-
marks: number;
|
|
1393
|
-
multiple_answers?: boolean;
|
|
1394
|
-
options: {
|
|
1395
|
-
id: string;
|
|
1396
|
-
text: string;
|
|
1397
|
-
is_correct: boolean;
|
|
1398
|
-
}[];
|
|
1399
|
-
correct_answer: string;
|
|
1400
|
-
}[];
|
|
1401
|
-
total_questions: number;
|
|
1402
|
-
total_marks: number;
|
|
1403
|
-
prerequisites: {
|
|
1404
|
-
id: string;
|
|
1405
|
-
title: string;
|
|
1406
|
-
relPermalink: string;
|
|
1407
|
-
type: string;
|
|
1408
|
-
}[];
|
|
1409
|
-
parent?: {
|
|
1410
|
-
id: string;
|
|
1411
|
-
title: string;
|
|
1412
|
-
relPermalink: string;
|
|
1413
|
-
type: string;
|
|
1414
|
-
};
|
|
1415
|
-
};
|
|
1416
|
-
attempted_at: string;
|
|
1417
|
-
attempts: number;
|
|
1418
|
-
}[];
|
|
1419
|
-
};
|
|
1420
1234
|
/** Additional metadata about the registration */
|
|
1421
1235
|
metadata: {
|
|
1422
1236
|
[key: string]: any;
|
|
@@ -1468,7 +1282,10 @@ type UpdateCurrentItemInProgressTrackerApiResponse =
|
|
|
1468
1282
|
draft: boolean;
|
|
1469
1283
|
file_path: string;
|
|
1470
1284
|
pass_percentage: number;
|
|
1285
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
1471
1286
|
time_limit: string;
|
|
1287
|
+
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
1288
|
+
max_attempts: number;
|
|
1472
1289
|
questions: {
|
|
1473
1290
|
id: string;
|
|
1474
1291
|
text: string;
|
|
@@ -1538,6 +1355,188 @@ type UpdateCurrentItemInProgressTrackerApiArg = {
|
|
|
1538
1355
|
};
|
|
1539
1356
|
};
|
|
1540
1357
|
};
|
|
1358
|
+
type GetTestByAbsPathApiResponse = {
|
|
1359
|
+
id: string;
|
|
1360
|
+
/** Organization ID that owns this quiz */
|
|
1361
|
+
orgId: string;
|
|
1362
|
+
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
1363
|
+
final: boolean;
|
|
1364
|
+
title: string;
|
|
1365
|
+
description: string;
|
|
1366
|
+
slug: string;
|
|
1367
|
+
relPermalink: string;
|
|
1368
|
+
permalink: string;
|
|
1369
|
+
type: string;
|
|
1370
|
+
section: string;
|
|
1371
|
+
layout: string;
|
|
1372
|
+
date: string;
|
|
1373
|
+
lastmod: string;
|
|
1374
|
+
draft: boolean;
|
|
1375
|
+
file_path: string;
|
|
1376
|
+
pass_percentage: number;
|
|
1377
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
1378
|
+
time_limit: string;
|
|
1379
|
+
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
1380
|
+
max_attempts: number;
|
|
1381
|
+
questions: {
|
|
1382
|
+
id: string;
|
|
1383
|
+
text: string;
|
|
1384
|
+
type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
|
|
1385
|
+
marks: number;
|
|
1386
|
+
multiple_answers?: boolean;
|
|
1387
|
+
options: {
|
|
1388
|
+
id: string;
|
|
1389
|
+
text: string;
|
|
1390
|
+
is_correct: boolean;
|
|
1391
|
+
}[];
|
|
1392
|
+
correct_answer: string;
|
|
1393
|
+
}[];
|
|
1394
|
+
total_questions: number;
|
|
1395
|
+
total_marks: number;
|
|
1396
|
+
prerequisites: {
|
|
1397
|
+
id: string;
|
|
1398
|
+
title: string;
|
|
1399
|
+
relPermalink: string;
|
|
1400
|
+
type: string;
|
|
1401
|
+
}[];
|
|
1402
|
+
parent?: {
|
|
1403
|
+
id: string;
|
|
1404
|
+
title: string;
|
|
1405
|
+
relPermalink: string;
|
|
1406
|
+
type: string;
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
type GetTestByAbsPathApiArg = {
|
|
1410
|
+
/** The absolute path of the test to retrieve */
|
|
1411
|
+
absPath: string;
|
|
1412
|
+
};
|
|
1413
|
+
type StartTestByIdApiResponse = {
|
|
1414
|
+
id: string;
|
|
1415
|
+
/** Organization ID that owns this quiz */
|
|
1416
|
+
orgId: string;
|
|
1417
|
+
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
1418
|
+
final: boolean;
|
|
1419
|
+
title: string;
|
|
1420
|
+
description: string;
|
|
1421
|
+
slug: string;
|
|
1422
|
+
relPermalink: string;
|
|
1423
|
+
permalink: string;
|
|
1424
|
+
type: string;
|
|
1425
|
+
section: string;
|
|
1426
|
+
layout: string;
|
|
1427
|
+
date: string;
|
|
1428
|
+
lastmod: string;
|
|
1429
|
+
draft: boolean;
|
|
1430
|
+
file_path: string;
|
|
1431
|
+
pass_percentage: number;
|
|
1432
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
1433
|
+
time_limit: string;
|
|
1434
|
+
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
1435
|
+
max_attempts: number;
|
|
1436
|
+
questions: {
|
|
1437
|
+
id: string;
|
|
1438
|
+
text: string;
|
|
1439
|
+
type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
|
|
1440
|
+
marks: number;
|
|
1441
|
+
multiple_answers?: boolean;
|
|
1442
|
+
options: {
|
|
1443
|
+
id: string;
|
|
1444
|
+
text: string;
|
|
1445
|
+
is_correct: boolean;
|
|
1446
|
+
}[];
|
|
1447
|
+
correct_answer: string;
|
|
1448
|
+
}[];
|
|
1449
|
+
total_questions: number;
|
|
1450
|
+
total_marks: number;
|
|
1451
|
+
prerequisites: {
|
|
1452
|
+
id: string;
|
|
1453
|
+
title: string;
|
|
1454
|
+
relPermalink: string;
|
|
1455
|
+
type: string;
|
|
1456
|
+
}[];
|
|
1457
|
+
parent?: {
|
|
1458
|
+
id: string;
|
|
1459
|
+
title: string;
|
|
1460
|
+
relPermalink: string;
|
|
1461
|
+
type: string;
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1464
|
+
type StartTestByIdApiArg = {
|
|
1465
|
+
body: {
|
|
1466
|
+
test_abs_path: string;
|
|
1467
|
+
registration_id: string;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
type GetAllTestSessionsForRegistrationApiResponse =
|
|
1471
|
+
/** status 200 A list of tests for the specified registration */ {
|
|
1472
|
+
score: number;
|
|
1473
|
+
passed: boolean;
|
|
1474
|
+
percentage_scored: number;
|
|
1475
|
+
total_marks: number;
|
|
1476
|
+
pass_percentage: number;
|
|
1477
|
+
correct_submissions: {
|
|
1478
|
+
[key: string]: boolean;
|
|
1479
|
+
};
|
|
1480
|
+
quiz: {
|
|
1481
|
+
id: string;
|
|
1482
|
+
/** Organization ID that owns this quiz */
|
|
1483
|
+
orgId: string;
|
|
1484
|
+
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
1485
|
+
final: boolean;
|
|
1486
|
+
title: string;
|
|
1487
|
+
description: string;
|
|
1488
|
+
slug: string;
|
|
1489
|
+
relPermalink: string;
|
|
1490
|
+
permalink: string;
|
|
1491
|
+
type: string;
|
|
1492
|
+
section: string;
|
|
1493
|
+
layout: string;
|
|
1494
|
+
date: string;
|
|
1495
|
+
lastmod: string;
|
|
1496
|
+
draft: boolean;
|
|
1497
|
+
file_path: string;
|
|
1498
|
+
pass_percentage: number;
|
|
1499
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
1500
|
+
time_limit: string;
|
|
1501
|
+
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
1502
|
+
max_attempts: number;
|
|
1503
|
+
questions: {
|
|
1504
|
+
id: string;
|
|
1505
|
+
text: string;
|
|
1506
|
+
type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
|
|
1507
|
+
marks: number;
|
|
1508
|
+
multiple_answers?: boolean;
|
|
1509
|
+
options: {
|
|
1510
|
+
id: string;
|
|
1511
|
+
text: string;
|
|
1512
|
+
is_correct: boolean;
|
|
1513
|
+
}[];
|
|
1514
|
+
correct_answer: string;
|
|
1515
|
+
}[];
|
|
1516
|
+
total_questions: number;
|
|
1517
|
+
total_marks: number;
|
|
1518
|
+
prerequisites: {
|
|
1519
|
+
id: string;
|
|
1520
|
+
title: string;
|
|
1521
|
+
relPermalink: string;
|
|
1522
|
+
type: string;
|
|
1523
|
+
}[];
|
|
1524
|
+
parent?: {
|
|
1525
|
+
id: string;
|
|
1526
|
+
title: string;
|
|
1527
|
+
relPermalink: string;
|
|
1528
|
+
type: string;
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
attempted_at: string;
|
|
1532
|
+
attempts: number;
|
|
1533
|
+
}[][];
|
|
1534
|
+
type GetAllTestSessionsForRegistrationApiArg = {
|
|
1535
|
+
/** The ID of the registration to retrieve tests for */
|
|
1536
|
+
id: string;
|
|
1537
|
+
/** Filter tests by absolute path */
|
|
1538
|
+
testAbsPath?: string;
|
|
1539
|
+
};
|
|
1541
1540
|
type SubmitQuizApiResponse = {
|
|
1542
1541
|
score: number;
|
|
1543
1542
|
passed: boolean;
|
|
@@ -1566,7 +1565,10 @@ type SubmitQuizApiResponse = {
|
|
|
1566
1565
|
draft: boolean;
|
|
1567
1566
|
file_path: string;
|
|
1568
1567
|
pass_percentage: number;
|
|
1568
|
+
/** Time limit for the quiz in minutes. A value of 0 indicates no time limit. */
|
|
1569
1569
|
time_limit: string;
|
|
1570
|
+
/** Maximum number of attempts allowed for the quiz. A value of 0 indicates unlimited attempts. */
|
|
1571
|
+
max_attempts: number;
|
|
1570
1572
|
questions: {
|
|
1571
1573
|
id: string;
|
|
1572
1574
|
text: string;
|
|
@@ -1600,6 +1602,8 @@ type SubmitQuizApiResponse = {
|
|
|
1600
1602
|
};
|
|
1601
1603
|
type SubmitQuizApiArg = {
|
|
1602
1604
|
body: {
|
|
1605
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
1606
|
+
test_session_id: string;
|
|
1603
1607
|
quiz_abs_path: string;
|
|
1604
1608
|
registration_id: string;
|
|
1605
1609
|
user_id: string;
|
|
@@ -6693,6 +6697,493 @@ declare const useUpdateCurrentItemInProgressTrackerMutation: <R extends Record<s
|
|
|
6693
6697
|
originalArgs?: UpdateCurrentItemInProgressTrackerApiArg | undefined;
|
|
6694
6698
|
reset: () => void;
|
|
6695
6699
|
}];
|
|
6700
|
+
declare const useGetTestByAbsPathQuery: <R extends Record<string, any> = ({
|
|
6701
|
+
data?: undefined;
|
|
6702
|
+
error?: undefined;
|
|
6703
|
+
fulfilledTimeStamp?: undefined;
|
|
6704
|
+
originalArgs?: undefined;
|
|
6705
|
+
requestId?: undefined;
|
|
6706
|
+
endpointName?: string | undefined;
|
|
6707
|
+
startedTimeStamp?: undefined;
|
|
6708
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
6709
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6710
|
+
isLoading: false;
|
|
6711
|
+
isFetching: false;
|
|
6712
|
+
isSuccess: false;
|
|
6713
|
+
isError: false;
|
|
6714
|
+
isUninitialized: true;
|
|
6715
|
+
} | {
|
|
6716
|
+
error?: unknown;
|
|
6717
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6718
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6719
|
+
requestId?: string | undefined;
|
|
6720
|
+
endpointName?: string | undefined;
|
|
6721
|
+
startedTimeStamp?: number | undefined;
|
|
6722
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6723
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6724
|
+
isUninitialized: false;
|
|
6725
|
+
isSuccess: false;
|
|
6726
|
+
isError: false;
|
|
6727
|
+
isLoading: true;
|
|
6728
|
+
isFetching: boolean;
|
|
6729
|
+
data: undefined;
|
|
6730
|
+
} | {
|
|
6731
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6732
|
+
requestId?: string | undefined;
|
|
6733
|
+
endpointName?: string | undefined;
|
|
6734
|
+
startedTimeStamp?: number | undefined;
|
|
6735
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6736
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6737
|
+
isUninitialized: false;
|
|
6738
|
+
isLoading: false;
|
|
6739
|
+
isError: false;
|
|
6740
|
+
isSuccess: true;
|
|
6741
|
+
isFetching: true;
|
|
6742
|
+
error: undefined;
|
|
6743
|
+
data: GetTestByAbsPathApiResponse;
|
|
6744
|
+
fulfilledTimeStamp: number;
|
|
6745
|
+
} | {
|
|
6746
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6747
|
+
requestId?: string | undefined;
|
|
6748
|
+
endpointName?: string | undefined;
|
|
6749
|
+
startedTimeStamp?: number | undefined;
|
|
6750
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6751
|
+
isUninitialized: false;
|
|
6752
|
+
isLoading: false;
|
|
6753
|
+
isError: false;
|
|
6754
|
+
isSuccess: true;
|
|
6755
|
+
isFetching: false;
|
|
6756
|
+
error: undefined;
|
|
6757
|
+
data: GetTestByAbsPathApiResponse;
|
|
6758
|
+
fulfilledTimeStamp: number;
|
|
6759
|
+
currentData: GetTestByAbsPathApiResponse;
|
|
6760
|
+
} | {
|
|
6761
|
+
data?: GetTestByAbsPathApiResponse | undefined;
|
|
6762
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6763
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6764
|
+
requestId?: string | undefined;
|
|
6765
|
+
endpointName?: string | undefined;
|
|
6766
|
+
startedTimeStamp?: number | undefined;
|
|
6767
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6768
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6769
|
+
isUninitialized: false;
|
|
6770
|
+
isLoading: false;
|
|
6771
|
+
isFetching: false;
|
|
6772
|
+
isSuccess: false;
|
|
6773
|
+
isError: true;
|
|
6774
|
+
error: unknown;
|
|
6775
|
+
}) & {
|
|
6776
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6777
|
+
}>(arg: GetTestByAbsPathApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
6778
|
+
skip?: boolean | undefined;
|
|
6779
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
6780
|
+
} & {
|
|
6781
|
+
skip?: boolean | undefined;
|
|
6782
|
+
selectFromResult?: ((state: ({
|
|
6783
|
+
data?: undefined;
|
|
6784
|
+
error?: undefined;
|
|
6785
|
+
fulfilledTimeStamp?: undefined;
|
|
6786
|
+
originalArgs?: undefined;
|
|
6787
|
+
requestId?: undefined;
|
|
6788
|
+
endpointName?: string | undefined;
|
|
6789
|
+
startedTimeStamp?: undefined;
|
|
6790
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
6791
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6792
|
+
isLoading: false;
|
|
6793
|
+
isFetching: false;
|
|
6794
|
+
isSuccess: false;
|
|
6795
|
+
isError: false;
|
|
6796
|
+
isUninitialized: true;
|
|
6797
|
+
} | {
|
|
6798
|
+
error?: unknown;
|
|
6799
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6800
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6801
|
+
requestId?: string | undefined;
|
|
6802
|
+
endpointName?: string | undefined;
|
|
6803
|
+
startedTimeStamp?: number | undefined;
|
|
6804
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6805
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6806
|
+
isUninitialized: false;
|
|
6807
|
+
isSuccess: false;
|
|
6808
|
+
isError: false;
|
|
6809
|
+
isLoading: true;
|
|
6810
|
+
isFetching: boolean;
|
|
6811
|
+
data: undefined;
|
|
6812
|
+
} | {
|
|
6813
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6814
|
+
requestId?: string | undefined;
|
|
6815
|
+
endpointName?: string | undefined;
|
|
6816
|
+
startedTimeStamp?: number | undefined;
|
|
6817
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6818
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6819
|
+
isUninitialized: false;
|
|
6820
|
+
isLoading: false;
|
|
6821
|
+
isError: false;
|
|
6822
|
+
isSuccess: true;
|
|
6823
|
+
isFetching: true;
|
|
6824
|
+
error: undefined;
|
|
6825
|
+
data: GetTestByAbsPathApiResponse;
|
|
6826
|
+
fulfilledTimeStamp: number;
|
|
6827
|
+
} | {
|
|
6828
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6829
|
+
requestId?: string | undefined;
|
|
6830
|
+
endpointName?: string | undefined;
|
|
6831
|
+
startedTimeStamp?: number | undefined;
|
|
6832
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6833
|
+
isUninitialized: false;
|
|
6834
|
+
isLoading: false;
|
|
6835
|
+
isError: false;
|
|
6836
|
+
isSuccess: true;
|
|
6837
|
+
isFetching: false;
|
|
6838
|
+
error: undefined;
|
|
6839
|
+
data: GetTestByAbsPathApiResponse;
|
|
6840
|
+
fulfilledTimeStamp: number;
|
|
6841
|
+
currentData: GetTestByAbsPathApiResponse;
|
|
6842
|
+
} | {
|
|
6843
|
+
data?: GetTestByAbsPathApiResponse | undefined;
|
|
6844
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6845
|
+
originalArgs?: GetTestByAbsPathApiArg | undefined;
|
|
6846
|
+
requestId?: string | undefined;
|
|
6847
|
+
endpointName?: string | undefined;
|
|
6848
|
+
startedTimeStamp?: number | undefined;
|
|
6849
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6850
|
+
currentData?: GetTestByAbsPathApiResponse | undefined;
|
|
6851
|
+
isUninitialized: false;
|
|
6852
|
+
isLoading: false;
|
|
6853
|
+
isFetching: false;
|
|
6854
|
+
isSuccess: false;
|
|
6855
|
+
isError: true;
|
|
6856
|
+
error: unknown;
|
|
6857
|
+
}) & {
|
|
6858
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
6859
|
+
}) => R) | undefined;
|
|
6860
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
6861
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetTestByAbsPathApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetTestByAbsPathApiResponse, "api", unknown>>;
|
|
6862
|
+
};
|
|
6863
|
+
declare const useStartTestByIdMutation: <R extends Record<string, any> = ({
|
|
6864
|
+
requestId?: undefined;
|
|
6865
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
6866
|
+
data?: undefined;
|
|
6867
|
+
error?: undefined;
|
|
6868
|
+
endpointName?: string | undefined;
|
|
6869
|
+
startedTimeStamp?: undefined;
|
|
6870
|
+
fulfilledTimeStamp?: undefined;
|
|
6871
|
+
} & {
|
|
6872
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
6873
|
+
isUninitialized: true;
|
|
6874
|
+
isLoading: false;
|
|
6875
|
+
isSuccess: false;
|
|
6876
|
+
isError: false;
|
|
6877
|
+
}) | ({
|
|
6878
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
6879
|
+
} & Omit<{
|
|
6880
|
+
requestId: string;
|
|
6881
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6882
|
+
error?: unknown;
|
|
6883
|
+
endpointName: string;
|
|
6884
|
+
startedTimeStamp: number;
|
|
6885
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6886
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
6887
|
+
requestId: string;
|
|
6888
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6889
|
+
error?: unknown;
|
|
6890
|
+
endpointName: string;
|
|
6891
|
+
startedTimeStamp: number;
|
|
6892
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6893
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
6894
|
+
error: undefined;
|
|
6895
|
+
} & {
|
|
6896
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
6897
|
+
isUninitialized: false;
|
|
6898
|
+
isLoading: false;
|
|
6899
|
+
isSuccess: true;
|
|
6900
|
+
isError: false;
|
|
6901
|
+
}) | ({
|
|
6902
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
6903
|
+
} & {
|
|
6904
|
+
requestId: string;
|
|
6905
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6906
|
+
error?: unknown;
|
|
6907
|
+
endpointName: string;
|
|
6908
|
+
startedTimeStamp: number;
|
|
6909
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6910
|
+
} & {
|
|
6911
|
+
data?: undefined;
|
|
6912
|
+
} & {
|
|
6913
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
6914
|
+
isUninitialized: false;
|
|
6915
|
+
isLoading: true;
|
|
6916
|
+
isSuccess: false;
|
|
6917
|
+
isError: false;
|
|
6918
|
+
}) | ({
|
|
6919
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
6920
|
+
} & Omit<{
|
|
6921
|
+
requestId: string;
|
|
6922
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6923
|
+
error?: unknown;
|
|
6924
|
+
endpointName: string;
|
|
6925
|
+
startedTimeStamp: number;
|
|
6926
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6927
|
+
}, "error"> & Required<Pick<{
|
|
6928
|
+
requestId: string;
|
|
6929
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6930
|
+
error?: unknown;
|
|
6931
|
+
endpointName: string;
|
|
6932
|
+
startedTimeStamp: number;
|
|
6933
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6934
|
+
}, "error">> & {
|
|
6935
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
6936
|
+
isUninitialized: false;
|
|
6937
|
+
isLoading: false;
|
|
6938
|
+
isSuccess: false;
|
|
6939
|
+
isError: true;
|
|
6940
|
+
})>(options?: {
|
|
6941
|
+
selectFromResult?: ((state: ({
|
|
6942
|
+
requestId?: undefined;
|
|
6943
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
6944
|
+
data?: undefined;
|
|
6945
|
+
error?: undefined;
|
|
6946
|
+
endpointName?: string | undefined;
|
|
6947
|
+
startedTimeStamp?: undefined;
|
|
6948
|
+
fulfilledTimeStamp?: undefined;
|
|
6949
|
+
} & {
|
|
6950
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
6951
|
+
isUninitialized: true;
|
|
6952
|
+
isLoading: false;
|
|
6953
|
+
isSuccess: false;
|
|
6954
|
+
isError: false;
|
|
6955
|
+
}) | ({
|
|
6956
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
6957
|
+
} & Omit<{
|
|
6958
|
+
requestId: string;
|
|
6959
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6960
|
+
error?: unknown;
|
|
6961
|
+
endpointName: string;
|
|
6962
|
+
startedTimeStamp: number;
|
|
6963
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6964
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
6965
|
+
requestId: string;
|
|
6966
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6967
|
+
error?: unknown;
|
|
6968
|
+
endpointName: string;
|
|
6969
|
+
startedTimeStamp: number;
|
|
6970
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6971
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
6972
|
+
error: undefined;
|
|
6973
|
+
} & {
|
|
6974
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
6975
|
+
isUninitialized: false;
|
|
6976
|
+
isLoading: false;
|
|
6977
|
+
isSuccess: true;
|
|
6978
|
+
isError: false;
|
|
6979
|
+
}) | ({
|
|
6980
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
6981
|
+
} & {
|
|
6982
|
+
requestId: string;
|
|
6983
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
6984
|
+
error?: unknown;
|
|
6985
|
+
endpointName: string;
|
|
6986
|
+
startedTimeStamp: number;
|
|
6987
|
+
fulfilledTimeStamp?: number | undefined;
|
|
6988
|
+
} & {
|
|
6989
|
+
data?: undefined;
|
|
6990
|
+
} & {
|
|
6991
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
6992
|
+
isUninitialized: false;
|
|
6993
|
+
isLoading: true;
|
|
6994
|
+
isSuccess: false;
|
|
6995
|
+
isError: false;
|
|
6996
|
+
}) | ({
|
|
6997
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
6998
|
+
} & Omit<{
|
|
6999
|
+
requestId: string;
|
|
7000
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
7001
|
+
error?: unknown;
|
|
7002
|
+
endpointName: string;
|
|
7003
|
+
startedTimeStamp: number;
|
|
7004
|
+
fulfilledTimeStamp?: number | undefined;
|
|
7005
|
+
}, "error"> & Required<Pick<{
|
|
7006
|
+
requestId: string;
|
|
7007
|
+
data?: StartTestByIdApiResponse | undefined;
|
|
7008
|
+
error?: unknown;
|
|
7009
|
+
endpointName: string;
|
|
7010
|
+
startedTimeStamp: number;
|
|
7011
|
+
fulfilledTimeStamp?: number | undefined;
|
|
7012
|
+
}, "error">> & {
|
|
7013
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
7014
|
+
isUninitialized: false;
|
|
7015
|
+
isLoading: false;
|
|
7016
|
+
isSuccess: false;
|
|
7017
|
+
isError: true;
|
|
7018
|
+
})) => R) | undefined;
|
|
7019
|
+
fixedCacheKey?: string | undefined;
|
|
7020
|
+
} | undefined) => readonly [(arg: StartTestByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<StartTestByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", StartTestByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
7021
|
+
originalArgs?: StartTestByIdApiArg | undefined;
|
|
7022
|
+
reset: () => void;
|
|
7023
|
+
}];
|
|
7024
|
+
declare const useGetAllTestSessionsForRegistrationQuery: <R extends Record<string, any> = ({
|
|
7025
|
+
data?: undefined;
|
|
7026
|
+
error?: undefined;
|
|
7027
|
+
fulfilledTimeStamp?: undefined;
|
|
7028
|
+
originalArgs?: undefined;
|
|
7029
|
+
requestId?: undefined;
|
|
7030
|
+
endpointName?: string | undefined;
|
|
7031
|
+
startedTimeStamp?: undefined;
|
|
7032
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7033
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7034
|
+
isLoading: false;
|
|
7035
|
+
isFetching: false;
|
|
7036
|
+
isSuccess: false;
|
|
7037
|
+
isError: false;
|
|
7038
|
+
isUninitialized: true;
|
|
7039
|
+
} | {
|
|
7040
|
+
error?: unknown;
|
|
7041
|
+
fulfilledTimeStamp?: number | undefined;
|
|
7042
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7043
|
+
requestId?: string | undefined;
|
|
7044
|
+
endpointName?: string | undefined;
|
|
7045
|
+
startedTimeStamp?: number | undefined;
|
|
7046
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7047
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7048
|
+
isUninitialized: false;
|
|
7049
|
+
isSuccess: false;
|
|
7050
|
+
isError: false;
|
|
7051
|
+
isLoading: true;
|
|
7052
|
+
isFetching: boolean;
|
|
7053
|
+
data: undefined;
|
|
7054
|
+
} | {
|
|
7055
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7056
|
+
requestId?: string | undefined;
|
|
7057
|
+
endpointName?: string | undefined;
|
|
7058
|
+
startedTimeStamp?: number | undefined;
|
|
7059
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7060
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7061
|
+
isUninitialized: false;
|
|
7062
|
+
isLoading: false;
|
|
7063
|
+
isError: false;
|
|
7064
|
+
isSuccess: true;
|
|
7065
|
+
isFetching: true;
|
|
7066
|
+
error: undefined;
|
|
7067
|
+
data: GetAllTestSessionsForRegistrationApiResponse;
|
|
7068
|
+
fulfilledTimeStamp: number;
|
|
7069
|
+
} | {
|
|
7070
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7071
|
+
requestId?: string | undefined;
|
|
7072
|
+
endpointName?: string | undefined;
|
|
7073
|
+
startedTimeStamp?: number | undefined;
|
|
7074
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7075
|
+
isUninitialized: false;
|
|
7076
|
+
isLoading: false;
|
|
7077
|
+
isError: false;
|
|
7078
|
+
isSuccess: true;
|
|
7079
|
+
isFetching: false;
|
|
7080
|
+
error: undefined;
|
|
7081
|
+
data: GetAllTestSessionsForRegistrationApiResponse;
|
|
7082
|
+
fulfilledTimeStamp: number;
|
|
7083
|
+
currentData: GetAllTestSessionsForRegistrationApiResponse;
|
|
7084
|
+
} | {
|
|
7085
|
+
data?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7086
|
+
fulfilledTimeStamp?: number | undefined;
|
|
7087
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7088
|
+
requestId?: string | undefined;
|
|
7089
|
+
endpointName?: string | undefined;
|
|
7090
|
+
startedTimeStamp?: number | undefined;
|
|
7091
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7092
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7093
|
+
isUninitialized: false;
|
|
7094
|
+
isLoading: false;
|
|
7095
|
+
isFetching: false;
|
|
7096
|
+
isSuccess: false;
|
|
7097
|
+
isError: true;
|
|
7098
|
+
error: unknown;
|
|
7099
|
+
}) & {
|
|
7100
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7101
|
+
}>(arg: GetAllTestSessionsForRegistrationApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
7102
|
+
skip?: boolean | undefined;
|
|
7103
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
7104
|
+
} & {
|
|
7105
|
+
skip?: boolean | undefined;
|
|
7106
|
+
selectFromResult?: ((state: ({
|
|
7107
|
+
data?: undefined;
|
|
7108
|
+
error?: undefined;
|
|
7109
|
+
fulfilledTimeStamp?: undefined;
|
|
7110
|
+
originalArgs?: undefined;
|
|
7111
|
+
requestId?: undefined;
|
|
7112
|
+
endpointName?: string | undefined;
|
|
7113
|
+
startedTimeStamp?: undefined;
|
|
7114
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
7115
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7116
|
+
isLoading: false;
|
|
7117
|
+
isFetching: false;
|
|
7118
|
+
isSuccess: false;
|
|
7119
|
+
isError: false;
|
|
7120
|
+
isUninitialized: true;
|
|
7121
|
+
} | {
|
|
7122
|
+
error?: unknown;
|
|
7123
|
+
fulfilledTimeStamp?: number | undefined;
|
|
7124
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7125
|
+
requestId?: string | undefined;
|
|
7126
|
+
endpointName?: string | undefined;
|
|
7127
|
+
startedTimeStamp?: number | undefined;
|
|
7128
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7129
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7130
|
+
isUninitialized: false;
|
|
7131
|
+
isSuccess: false;
|
|
7132
|
+
isError: false;
|
|
7133
|
+
isLoading: true;
|
|
7134
|
+
isFetching: boolean;
|
|
7135
|
+
data: undefined;
|
|
7136
|
+
} | {
|
|
7137
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7138
|
+
requestId?: string | undefined;
|
|
7139
|
+
endpointName?: string | undefined;
|
|
7140
|
+
startedTimeStamp?: number | undefined;
|
|
7141
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7142
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7143
|
+
isUninitialized: false;
|
|
7144
|
+
isLoading: false;
|
|
7145
|
+
isError: false;
|
|
7146
|
+
isSuccess: true;
|
|
7147
|
+
isFetching: true;
|
|
7148
|
+
error: undefined;
|
|
7149
|
+
data: GetAllTestSessionsForRegistrationApiResponse;
|
|
7150
|
+
fulfilledTimeStamp: number;
|
|
7151
|
+
} | {
|
|
7152
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7153
|
+
requestId?: string | undefined;
|
|
7154
|
+
endpointName?: string | undefined;
|
|
7155
|
+
startedTimeStamp?: number | undefined;
|
|
7156
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7157
|
+
isUninitialized: false;
|
|
7158
|
+
isLoading: false;
|
|
7159
|
+
isError: false;
|
|
7160
|
+
isSuccess: true;
|
|
7161
|
+
isFetching: false;
|
|
7162
|
+
error: undefined;
|
|
7163
|
+
data: GetAllTestSessionsForRegistrationApiResponse;
|
|
7164
|
+
fulfilledTimeStamp: number;
|
|
7165
|
+
currentData: GetAllTestSessionsForRegistrationApiResponse;
|
|
7166
|
+
} | {
|
|
7167
|
+
data?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7168
|
+
fulfilledTimeStamp?: number | undefined;
|
|
7169
|
+
originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
|
|
7170
|
+
requestId?: string | undefined;
|
|
7171
|
+
endpointName?: string | undefined;
|
|
7172
|
+
startedTimeStamp?: number | undefined;
|
|
7173
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7174
|
+
currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
|
|
7175
|
+
isUninitialized: false;
|
|
7176
|
+
isLoading: false;
|
|
7177
|
+
isFetching: false;
|
|
7178
|
+
isSuccess: false;
|
|
7179
|
+
isError: true;
|
|
7180
|
+
error: unknown;
|
|
7181
|
+
}) & {
|
|
7182
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
7183
|
+
}) => R) | undefined;
|
|
7184
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
7185
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetAllTestSessionsForRegistrationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetAllTestSessionsForRegistrationApiResponse, "api", unknown>>;
|
|
7186
|
+
};
|
|
6696
7187
|
declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
|
|
6697
7188
|
requestId?: undefined;
|
|
6698
7189
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
@@ -8799,4 +9290,4 @@ declare const useCreateOrUpdateBadgeMutation: <R extends Record<string, any> = (
|
|
|
8799
9290
|
reset: () => void;
|
|
8800
9291
|
}];
|
|
8801
9292
|
|
|
8802
|
-
export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, type DeleteAcademyCurriculaByIdApiArg, type DeleteAcademyCurriculaByIdApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type DeleteBadgeByIdApiArg, type DeleteBadgeByIdApiResponse, type DeleteInvitationApiArg, type DeleteInvitationApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetAcademyCurriculaByIdApiArg, type GetAcademyCurriculaByIdApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetBadgeByIdApiArg, type GetBadgeByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationApiArg, type GetInvitationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateAcademyCurriculaByIdApiArg, type UpdateAcademyCurriculaByIdApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, type WithdrawFromAcademyContentApiArg, type WithdrawFromAcademyContentApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteAcademyCurriculaByIdMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetAcademyCurriculaByIdQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation, useWithdrawFromAcademyContentMutation };
|
|
9293
|
+
export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, type DeleteAcademyCurriculaByIdApiArg, type DeleteAcademyCurriculaByIdApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type DeleteBadgeByIdApiArg, type DeleteBadgeByIdApiResponse, type DeleteInvitationApiArg, type DeleteInvitationApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetAcademyCurriculaByIdApiArg, type GetAcademyCurriculaByIdApiResponse, type GetAllTestSessionsForRegistrationApiArg, type GetAllTestSessionsForRegistrationApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetBadgeByIdApiArg, type GetBadgeByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationApiArg, type GetInvitationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type GetTestByAbsPathApiArg, type GetTestByAbsPathApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type StartTestByIdApiArg, type StartTestByIdApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateAcademyCurriculaByIdApiArg, type UpdateAcademyCurriculaByIdApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, type WithdrawFromAcademyContentApiArg, type WithdrawFromAcademyContentApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteAcademyCurriculaByIdMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetAcademyCurriculaByIdQuery, useGetAllTestSessionsForRegistrationQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useGetTestByAbsPathQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useStartTestByIdMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation, useWithdrawFromAcademyContentMutation };
|