@meshery/schemas 0.8.78 → 0.8.80

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.
@@ -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>;
@@ -1349,6 +1352,179 @@ type UpdateCurrentItemInProgressTrackerApiArg = {
1349
1352
  };
1350
1353
  };
1351
1354
  };
1355
+ type GetTestByAbsPathApiResponse = {
1356
+ id: string;
1357
+ /** Organization ID that owns this quiz */
1358
+ orgId: string;
1359
+ /** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
1360
+ final: boolean;
1361
+ title: string;
1362
+ description: string;
1363
+ slug: string;
1364
+ relPermalink: string;
1365
+ permalink: string;
1366
+ type: string;
1367
+ section: string;
1368
+ layout: string;
1369
+ date: string;
1370
+ lastmod: string;
1371
+ draft: boolean;
1372
+ file_path: string;
1373
+ pass_percentage: number;
1374
+ time_limit: string;
1375
+ questions: {
1376
+ id: string;
1377
+ text: string;
1378
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
1379
+ marks: number;
1380
+ multiple_answers?: boolean;
1381
+ options: {
1382
+ id: string;
1383
+ text: string;
1384
+ is_correct: boolean;
1385
+ }[];
1386
+ correct_answer: string;
1387
+ }[];
1388
+ total_questions: number;
1389
+ total_marks: number;
1390
+ prerequisites: {
1391
+ id: string;
1392
+ title: string;
1393
+ relPermalink: string;
1394
+ type: string;
1395
+ }[];
1396
+ parent?: {
1397
+ id: string;
1398
+ title: string;
1399
+ relPermalink: string;
1400
+ type: string;
1401
+ };
1402
+ };
1403
+ type GetTestByAbsPathApiArg = {
1404
+ /** The absolute path of the test to retrieve */
1405
+ absPath: string;
1406
+ };
1407
+ type StartTestByIdApiResponse = {
1408
+ id: string;
1409
+ /** Organization ID that owns this quiz */
1410
+ orgId: string;
1411
+ /** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
1412
+ final: boolean;
1413
+ title: string;
1414
+ description: string;
1415
+ slug: string;
1416
+ relPermalink: string;
1417
+ permalink: string;
1418
+ type: string;
1419
+ section: string;
1420
+ layout: string;
1421
+ date: string;
1422
+ lastmod: string;
1423
+ draft: boolean;
1424
+ file_path: string;
1425
+ pass_percentage: number;
1426
+ time_limit: string;
1427
+ questions: {
1428
+ id: string;
1429
+ text: string;
1430
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
1431
+ marks: number;
1432
+ multiple_answers?: boolean;
1433
+ options: {
1434
+ id: string;
1435
+ text: string;
1436
+ is_correct: boolean;
1437
+ }[];
1438
+ correct_answer: string;
1439
+ }[];
1440
+ total_questions: number;
1441
+ total_marks: number;
1442
+ prerequisites: {
1443
+ id: string;
1444
+ title: string;
1445
+ relPermalink: string;
1446
+ type: string;
1447
+ }[];
1448
+ parent?: {
1449
+ id: string;
1450
+ title: string;
1451
+ relPermalink: string;
1452
+ type: string;
1453
+ };
1454
+ };
1455
+ type StartTestByIdApiArg = {
1456
+ body: {
1457
+ test_abs_path: string;
1458
+ registration_id: string;
1459
+ };
1460
+ };
1461
+ type GetAllTestSessionsForRegistrationApiResponse =
1462
+ /** status 200 A list of tests for the specified registration */ {
1463
+ score: number;
1464
+ passed: boolean;
1465
+ percentage_scored: number;
1466
+ total_marks: number;
1467
+ pass_percentage: number;
1468
+ correct_submissions: {
1469
+ [key: string]: boolean;
1470
+ };
1471
+ quiz: {
1472
+ id: string;
1473
+ /** Organization ID that owns this quiz */
1474
+ orgId: string;
1475
+ /** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
1476
+ final: boolean;
1477
+ title: string;
1478
+ description: string;
1479
+ slug: string;
1480
+ relPermalink: string;
1481
+ permalink: string;
1482
+ type: string;
1483
+ section: string;
1484
+ layout: string;
1485
+ date: string;
1486
+ lastmod: string;
1487
+ draft: boolean;
1488
+ file_path: string;
1489
+ pass_percentage: number;
1490
+ time_limit: string;
1491
+ questions: {
1492
+ id: string;
1493
+ text: string;
1494
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
1495
+ marks: number;
1496
+ multiple_answers?: boolean;
1497
+ options: {
1498
+ id: string;
1499
+ text: string;
1500
+ is_correct: boolean;
1501
+ }[];
1502
+ correct_answer: string;
1503
+ }[];
1504
+ total_questions: number;
1505
+ total_marks: number;
1506
+ prerequisites: {
1507
+ id: string;
1508
+ title: string;
1509
+ relPermalink: string;
1510
+ type: string;
1511
+ }[];
1512
+ parent?: {
1513
+ id: string;
1514
+ title: string;
1515
+ relPermalink: string;
1516
+ type: string;
1517
+ };
1518
+ };
1519
+ attempted_at: string;
1520
+ attempts: number;
1521
+ }[][];
1522
+ type GetAllTestSessionsForRegistrationApiArg = {
1523
+ /** The ID of the registration to retrieve tests for */
1524
+ id: string;
1525
+ /** Filter tests by absolute path */
1526
+ testAbsPath?: string;
1527
+ };
1352
1528
  type SubmitQuizApiResponse = {
1353
1529
  score: number;
1354
1530
  passed: boolean;
@@ -1411,6 +1587,8 @@ type SubmitQuizApiResponse = {
1411
1587
  };
1412
1588
  type SubmitQuizApiArg = {
1413
1589
  body: {
1590
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1591
+ test_session_id: string;
1414
1592
  quiz_abs_path: string;
1415
1593
  registration_id: string;
1416
1594
  user_id: string;
@@ -6504,6 +6682,493 @@ declare const useUpdateCurrentItemInProgressTrackerMutation: <R extends Record<s
6504
6682
  originalArgs?: UpdateCurrentItemInProgressTrackerApiArg | undefined;
6505
6683
  reset: () => void;
6506
6684
  }];
6685
+ declare const useGetTestByAbsPathQuery: <R extends Record<string, any> = ({
6686
+ data?: undefined;
6687
+ error?: undefined;
6688
+ fulfilledTimeStamp?: undefined;
6689
+ originalArgs?: undefined;
6690
+ requestId?: undefined;
6691
+ endpointName?: string | undefined;
6692
+ startedTimeStamp?: undefined;
6693
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
6694
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6695
+ isLoading: false;
6696
+ isFetching: false;
6697
+ isSuccess: false;
6698
+ isError: false;
6699
+ isUninitialized: true;
6700
+ } | {
6701
+ error?: unknown;
6702
+ fulfilledTimeStamp?: number | undefined;
6703
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6704
+ requestId?: string | undefined;
6705
+ endpointName?: string | undefined;
6706
+ startedTimeStamp?: number | undefined;
6707
+ status: _reduxjs_toolkit_query.QueryStatus;
6708
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6709
+ isUninitialized: false;
6710
+ isSuccess: false;
6711
+ isError: false;
6712
+ isLoading: true;
6713
+ isFetching: boolean;
6714
+ data: undefined;
6715
+ } | {
6716
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6717
+ requestId?: string | undefined;
6718
+ endpointName?: string | undefined;
6719
+ startedTimeStamp?: number | undefined;
6720
+ status: _reduxjs_toolkit_query.QueryStatus;
6721
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6722
+ isUninitialized: false;
6723
+ isLoading: false;
6724
+ isError: false;
6725
+ isSuccess: true;
6726
+ isFetching: true;
6727
+ error: undefined;
6728
+ data: GetTestByAbsPathApiResponse;
6729
+ fulfilledTimeStamp: number;
6730
+ } | {
6731
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6732
+ requestId?: string | undefined;
6733
+ endpointName?: string | undefined;
6734
+ startedTimeStamp?: number | undefined;
6735
+ status: _reduxjs_toolkit_query.QueryStatus;
6736
+ isUninitialized: false;
6737
+ isLoading: false;
6738
+ isError: false;
6739
+ isSuccess: true;
6740
+ isFetching: false;
6741
+ error: undefined;
6742
+ data: GetTestByAbsPathApiResponse;
6743
+ fulfilledTimeStamp: number;
6744
+ currentData: GetTestByAbsPathApiResponse;
6745
+ } | {
6746
+ data?: GetTestByAbsPathApiResponse | undefined;
6747
+ fulfilledTimeStamp?: number | undefined;
6748
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6749
+ requestId?: string | undefined;
6750
+ endpointName?: string | undefined;
6751
+ startedTimeStamp?: number | undefined;
6752
+ status: _reduxjs_toolkit_query.QueryStatus;
6753
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6754
+ isUninitialized: false;
6755
+ isLoading: false;
6756
+ isFetching: false;
6757
+ isSuccess: false;
6758
+ isError: true;
6759
+ error: unknown;
6760
+ }) & {
6761
+ status: _reduxjs_toolkit_query.QueryStatus;
6762
+ }>(arg: GetTestByAbsPathApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
6763
+ skip?: boolean | undefined;
6764
+ refetchOnMountOrArgChange?: number | boolean | undefined;
6765
+ } & {
6766
+ skip?: boolean | undefined;
6767
+ selectFromResult?: ((state: ({
6768
+ data?: undefined;
6769
+ error?: undefined;
6770
+ fulfilledTimeStamp?: undefined;
6771
+ originalArgs?: undefined;
6772
+ requestId?: undefined;
6773
+ endpointName?: string | undefined;
6774
+ startedTimeStamp?: undefined;
6775
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
6776
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6777
+ isLoading: false;
6778
+ isFetching: false;
6779
+ isSuccess: false;
6780
+ isError: false;
6781
+ isUninitialized: true;
6782
+ } | {
6783
+ error?: unknown;
6784
+ fulfilledTimeStamp?: number | undefined;
6785
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6786
+ requestId?: string | undefined;
6787
+ endpointName?: string | undefined;
6788
+ startedTimeStamp?: number | undefined;
6789
+ status: _reduxjs_toolkit_query.QueryStatus;
6790
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6791
+ isUninitialized: false;
6792
+ isSuccess: false;
6793
+ isError: false;
6794
+ isLoading: true;
6795
+ isFetching: boolean;
6796
+ data: undefined;
6797
+ } | {
6798
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6799
+ requestId?: string | undefined;
6800
+ endpointName?: string | undefined;
6801
+ startedTimeStamp?: number | undefined;
6802
+ status: _reduxjs_toolkit_query.QueryStatus;
6803
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6804
+ isUninitialized: false;
6805
+ isLoading: false;
6806
+ isError: false;
6807
+ isSuccess: true;
6808
+ isFetching: true;
6809
+ error: undefined;
6810
+ data: GetTestByAbsPathApiResponse;
6811
+ fulfilledTimeStamp: number;
6812
+ } | {
6813
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6814
+ requestId?: string | undefined;
6815
+ endpointName?: string | undefined;
6816
+ startedTimeStamp?: number | undefined;
6817
+ status: _reduxjs_toolkit_query.QueryStatus;
6818
+ isUninitialized: false;
6819
+ isLoading: false;
6820
+ isError: false;
6821
+ isSuccess: true;
6822
+ isFetching: false;
6823
+ error: undefined;
6824
+ data: GetTestByAbsPathApiResponse;
6825
+ fulfilledTimeStamp: number;
6826
+ currentData: GetTestByAbsPathApiResponse;
6827
+ } | {
6828
+ data?: GetTestByAbsPathApiResponse | undefined;
6829
+ fulfilledTimeStamp?: number | undefined;
6830
+ originalArgs?: GetTestByAbsPathApiArg | undefined;
6831
+ requestId?: string | undefined;
6832
+ endpointName?: string | undefined;
6833
+ startedTimeStamp?: number | undefined;
6834
+ status: _reduxjs_toolkit_query.QueryStatus;
6835
+ currentData?: GetTestByAbsPathApiResponse | undefined;
6836
+ isUninitialized: false;
6837
+ isLoading: false;
6838
+ isFetching: false;
6839
+ isSuccess: false;
6840
+ isError: true;
6841
+ error: unknown;
6842
+ }) & {
6843
+ status: _reduxjs_toolkit_query.QueryStatus;
6844
+ }) => R) | undefined;
6845
+ }) | undefined) => [R][R extends any ? 0 : never] & {
6846
+ 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>>;
6847
+ };
6848
+ declare const useStartTestByIdMutation: <R extends Record<string, any> = ({
6849
+ requestId?: undefined;
6850
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
6851
+ data?: undefined;
6852
+ error?: undefined;
6853
+ endpointName?: string | undefined;
6854
+ startedTimeStamp?: undefined;
6855
+ fulfilledTimeStamp?: undefined;
6856
+ } & {
6857
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
6858
+ isUninitialized: true;
6859
+ isLoading: false;
6860
+ isSuccess: false;
6861
+ isError: false;
6862
+ }) | ({
6863
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
6864
+ } & Omit<{
6865
+ requestId: string;
6866
+ data?: StartTestByIdApiResponse | undefined;
6867
+ error?: unknown;
6868
+ endpointName: string;
6869
+ startedTimeStamp: number;
6870
+ fulfilledTimeStamp?: number | undefined;
6871
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
6872
+ requestId: string;
6873
+ data?: StartTestByIdApiResponse | undefined;
6874
+ error?: unknown;
6875
+ endpointName: string;
6876
+ startedTimeStamp: number;
6877
+ fulfilledTimeStamp?: number | undefined;
6878
+ }, "data" | "fulfilledTimeStamp">> & {
6879
+ error: undefined;
6880
+ } & {
6881
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
6882
+ isUninitialized: false;
6883
+ isLoading: false;
6884
+ isSuccess: true;
6885
+ isError: false;
6886
+ }) | ({
6887
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
6888
+ } & {
6889
+ requestId: string;
6890
+ data?: StartTestByIdApiResponse | undefined;
6891
+ error?: unknown;
6892
+ endpointName: string;
6893
+ startedTimeStamp: number;
6894
+ fulfilledTimeStamp?: number | undefined;
6895
+ } & {
6896
+ data?: undefined;
6897
+ } & {
6898
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
6899
+ isUninitialized: false;
6900
+ isLoading: true;
6901
+ isSuccess: false;
6902
+ isError: false;
6903
+ }) | ({
6904
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
6905
+ } & Omit<{
6906
+ requestId: string;
6907
+ data?: StartTestByIdApiResponse | undefined;
6908
+ error?: unknown;
6909
+ endpointName: string;
6910
+ startedTimeStamp: number;
6911
+ fulfilledTimeStamp?: number | undefined;
6912
+ }, "error"> & Required<Pick<{
6913
+ requestId: string;
6914
+ data?: StartTestByIdApiResponse | undefined;
6915
+ error?: unknown;
6916
+ endpointName: string;
6917
+ startedTimeStamp: number;
6918
+ fulfilledTimeStamp?: number | undefined;
6919
+ }, "error">> & {
6920
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
6921
+ isUninitialized: false;
6922
+ isLoading: false;
6923
+ isSuccess: false;
6924
+ isError: true;
6925
+ })>(options?: {
6926
+ selectFromResult?: ((state: ({
6927
+ requestId?: undefined;
6928
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
6929
+ data?: undefined;
6930
+ error?: undefined;
6931
+ endpointName?: string | undefined;
6932
+ startedTimeStamp?: undefined;
6933
+ fulfilledTimeStamp?: undefined;
6934
+ } & {
6935
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
6936
+ isUninitialized: true;
6937
+ isLoading: false;
6938
+ isSuccess: false;
6939
+ isError: false;
6940
+ }) | ({
6941
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
6942
+ } & Omit<{
6943
+ requestId: string;
6944
+ data?: StartTestByIdApiResponse | undefined;
6945
+ error?: unknown;
6946
+ endpointName: string;
6947
+ startedTimeStamp: number;
6948
+ fulfilledTimeStamp?: number | undefined;
6949
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
6950
+ requestId: string;
6951
+ data?: StartTestByIdApiResponse | undefined;
6952
+ error?: unknown;
6953
+ endpointName: string;
6954
+ startedTimeStamp: number;
6955
+ fulfilledTimeStamp?: number | undefined;
6956
+ }, "data" | "fulfilledTimeStamp">> & {
6957
+ error: undefined;
6958
+ } & {
6959
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
6960
+ isUninitialized: false;
6961
+ isLoading: false;
6962
+ isSuccess: true;
6963
+ isError: false;
6964
+ }) | ({
6965
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
6966
+ } & {
6967
+ requestId: string;
6968
+ data?: StartTestByIdApiResponse | undefined;
6969
+ error?: unknown;
6970
+ endpointName: string;
6971
+ startedTimeStamp: number;
6972
+ fulfilledTimeStamp?: number | undefined;
6973
+ } & {
6974
+ data?: undefined;
6975
+ } & {
6976
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
6977
+ isUninitialized: false;
6978
+ isLoading: true;
6979
+ isSuccess: false;
6980
+ isError: false;
6981
+ }) | ({
6982
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
6983
+ } & Omit<{
6984
+ requestId: string;
6985
+ data?: StartTestByIdApiResponse | undefined;
6986
+ error?: unknown;
6987
+ endpointName: string;
6988
+ startedTimeStamp: number;
6989
+ fulfilledTimeStamp?: number | undefined;
6990
+ }, "error"> & Required<Pick<{
6991
+ requestId: string;
6992
+ data?: StartTestByIdApiResponse | undefined;
6993
+ error?: unknown;
6994
+ endpointName: string;
6995
+ startedTimeStamp: number;
6996
+ fulfilledTimeStamp?: number | undefined;
6997
+ }, "error">> & {
6998
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
6999
+ isUninitialized: false;
7000
+ isLoading: false;
7001
+ isSuccess: false;
7002
+ isError: true;
7003
+ })) => R) | undefined;
7004
+ fixedCacheKey?: string | undefined;
7005
+ } | 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> & {
7006
+ originalArgs?: StartTestByIdApiArg | undefined;
7007
+ reset: () => void;
7008
+ }];
7009
+ declare const useGetAllTestSessionsForRegistrationQuery: <R extends Record<string, any> = ({
7010
+ data?: undefined;
7011
+ error?: undefined;
7012
+ fulfilledTimeStamp?: undefined;
7013
+ originalArgs?: undefined;
7014
+ requestId?: undefined;
7015
+ endpointName?: string | undefined;
7016
+ startedTimeStamp?: undefined;
7017
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
7018
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7019
+ isLoading: false;
7020
+ isFetching: false;
7021
+ isSuccess: false;
7022
+ isError: false;
7023
+ isUninitialized: true;
7024
+ } | {
7025
+ error?: unknown;
7026
+ fulfilledTimeStamp?: number | undefined;
7027
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7028
+ requestId?: string | undefined;
7029
+ endpointName?: string | undefined;
7030
+ startedTimeStamp?: number | undefined;
7031
+ status: _reduxjs_toolkit_query.QueryStatus;
7032
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7033
+ isUninitialized: false;
7034
+ isSuccess: false;
7035
+ isError: false;
7036
+ isLoading: true;
7037
+ isFetching: boolean;
7038
+ data: undefined;
7039
+ } | {
7040
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7041
+ requestId?: string | undefined;
7042
+ endpointName?: string | undefined;
7043
+ startedTimeStamp?: number | undefined;
7044
+ status: _reduxjs_toolkit_query.QueryStatus;
7045
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7046
+ isUninitialized: false;
7047
+ isLoading: false;
7048
+ isError: false;
7049
+ isSuccess: true;
7050
+ isFetching: true;
7051
+ error: undefined;
7052
+ data: GetAllTestSessionsForRegistrationApiResponse;
7053
+ fulfilledTimeStamp: number;
7054
+ } | {
7055
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7056
+ requestId?: string | undefined;
7057
+ endpointName?: string | undefined;
7058
+ startedTimeStamp?: number | undefined;
7059
+ status: _reduxjs_toolkit_query.QueryStatus;
7060
+ isUninitialized: false;
7061
+ isLoading: false;
7062
+ isError: false;
7063
+ isSuccess: true;
7064
+ isFetching: false;
7065
+ error: undefined;
7066
+ data: GetAllTestSessionsForRegistrationApiResponse;
7067
+ fulfilledTimeStamp: number;
7068
+ currentData: GetAllTestSessionsForRegistrationApiResponse;
7069
+ } | {
7070
+ data?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7071
+ fulfilledTimeStamp?: number | undefined;
7072
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7073
+ requestId?: string | undefined;
7074
+ endpointName?: string | undefined;
7075
+ startedTimeStamp?: number | undefined;
7076
+ status: _reduxjs_toolkit_query.QueryStatus;
7077
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7078
+ isUninitialized: false;
7079
+ isLoading: false;
7080
+ isFetching: false;
7081
+ isSuccess: false;
7082
+ isError: true;
7083
+ error: unknown;
7084
+ }) & {
7085
+ status: _reduxjs_toolkit_query.QueryStatus;
7086
+ }>(arg: GetAllTestSessionsForRegistrationApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
7087
+ skip?: boolean | undefined;
7088
+ refetchOnMountOrArgChange?: number | boolean | undefined;
7089
+ } & {
7090
+ skip?: boolean | undefined;
7091
+ selectFromResult?: ((state: ({
7092
+ data?: undefined;
7093
+ error?: undefined;
7094
+ fulfilledTimeStamp?: undefined;
7095
+ originalArgs?: undefined;
7096
+ requestId?: undefined;
7097
+ endpointName?: string | undefined;
7098
+ startedTimeStamp?: undefined;
7099
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
7100
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7101
+ isLoading: false;
7102
+ isFetching: false;
7103
+ isSuccess: false;
7104
+ isError: false;
7105
+ isUninitialized: true;
7106
+ } | {
7107
+ error?: unknown;
7108
+ fulfilledTimeStamp?: number | undefined;
7109
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7110
+ requestId?: string | undefined;
7111
+ endpointName?: string | undefined;
7112
+ startedTimeStamp?: number | undefined;
7113
+ status: _reduxjs_toolkit_query.QueryStatus;
7114
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7115
+ isUninitialized: false;
7116
+ isSuccess: false;
7117
+ isError: false;
7118
+ isLoading: true;
7119
+ isFetching: boolean;
7120
+ data: undefined;
7121
+ } | {
7122
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7123
+ requestId?: string | undefined;
7124
+ endpointName?: string | undefined;
7125
+ startedTimeStamp?: number | undefined;
7126
+ status: _reduxjs_toolkit_query.QueryStatus;
7127
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7128
+ isUninitialized: false;
7129
+ isLoading: false;
7130
+ isError: false;
7131
+ isSuccess: true;
7132
+ isFetching: true;
7133
+ error: undefined;
7134
+ data: GetAllTestSessionsForRegistrationApiResponse;
7135
+ fulfilledTimeStamp: number;
7136
+ } | {
7137
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7138
+ requestId?: string | undefined;
7139
+ endpointName?: string | undefined;
7140
+ startedTimeStamp?: number | undefined;
7141
+ status: _reduxjs_toolkit_query.QueryStatus;
7142
+ isUninitialized: false;
7143
+ isLoading: false;
7144
+ isError: false;
7145
+ isSuccess: true;
7146
+ isFetching: false;
7147
+ error: undefined;
7148
+ data: GetAllTestSessionsForRegistrationApiResponse;
7149
+ fulfilledTimeStamp: number;
7150
+ currentData: GetAllTestSessionsForRegistrationApiResponse;
7151
+ } | {
7152
+ data?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7153
+ fulfilledTimeStamp?: number | undefined;
7154
+ originalArgs?: GetAllTestSessionsForRegistrationApiArg | undefined;
7155
+ requestId?: string | undefined;
7156
+ endpointName?: string | undefined;
7157
+ startedTimeStamp?: number | undefined;
7158
+ status: _reduxjs_toolkit_query.QueryStatus;
7159
+ currentData?: GetAllTestSessionsForRegistrationApiResponse | undefined;
7160
+ isUninitialized: false;
7161
+ isLoading: false;
7162
+ isFetching: false;
7163
+ isSuccess: false;
7164
+ isError: true;
7165
+ error: unknown;
7166
+ }) & {
7167
+ status: _reduxjs_toolkit_query.QueryStatus;
7168
+ }) => R) | undefined;
7169
+ }) | undefined) => [R][R extends any ? 0 : never] & {
7170
+ 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>>;
7171
+ };
6507
7172
  declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
6508
7173
  requestId?: undefined;
6509
7174
  status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
@@ -8610,4 +9275,4 @@ declare const useCreateOrUpdateBadgeMutation: <R extends Record<string, any> = (
8610
9275
  reset: () => void;
8611
9276
  }];
8612
9277
 
8613
- 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 };
9278
+ 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 };