@meshery/schemas 0.8.73 → 0.8.75

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.
@@ -24,6 +24,9 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
24
24
  getAcademyCirricula: _reduxjs_toolkit_query.QueryDefinition<GetAcademyCirriculaApiArg, (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", unknown, "api", unknown>;
25
25
  getApiAcademyByTypeAndOrgIdSlug: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (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", GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>;
26
26
  registerToAcademyContent: _reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (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", RegisterToAcademyContentApiResponse, "api", unknown>;
27
+ updateAcademyCurriculaById: _reduxjs_toolkit_query.MutationDefinition<UpdateAcademyCurriculaByIdApiArg, (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", UpdateAcademyCurriculaByIdApiResponse, "api", unknown>;
28
+ deleteAcademyCurriculaById: _reduxjs_toolkit_query.MutationDefinition<DeleteAcademyCurriculaByIdApiArg, (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", unknown, "api", unknown>;
29
+ 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>;
27
30
  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>;
28
31
  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>;
29
32
  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>;
@@ -446,26 +449,6 @@ type CreateAcademyCurriculaApiResponse = {
446
449
  banner?: string | null;
447
450
  /** Canonical URL for the learning path */
448
451
  permalink: string;
449
- badge?: {
450
- /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
451
- id: string;
452
- /** The ID of the organization in which this badge is available . */
453
- org_id: string;
454
- /** unique identifier for the badge ( auto generated ) */
455
- label: string;
456
- /** Concise descriptor for the badge or certificate. */
457
- name: string;
458
- /** A description of the milestone achieved, often including criteria for receiving this recognition. */
459
- description: string;
460
- /** URL to the badge image */
461
- image_url: string;
462
- /** Timestamp when the resource was created. */
463
- created_at: string;
464
- /** Timestamp when the resource was updated. */
465
- updated_at: string;
466
- /** Timestamp when the resource was deleted, if applicable */
467
- deleted_at: string;
468
- };
469
452
  certificate?: {
470
453
  /** Unique identifier for the certificate */
471
454
  id: string;
@@ -543,26 +526,6 @@ type CreateAcademyCurriculaApiArg = {
543
526
  banner?: string | null;
544
527
  /** Canonical URL for the learning path */
545
528
  permalink: string;
546
- badge?: {
547
- /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
548
- id: string;
549
- /** The ID of the organization in which this badge is available . */
550
- org_id: string;
551
- /** unique identifier for the badge ( auto generated ) */
552
- label: string;
553
- /** Concise descriptor for the badge or certificate. */
554
- name: string;
555
- /** A description of the milestone achieved, often including criteria for receiving this recognition. */
556
- description: string;
557
- /** URL to the badge image */
558
- image_url: string;
559
- /** Timestamp when the resource was created. */
560
- created_at: string;
561
- /** Timestamp when the resource was updated. */
562
- updated_at: string;
563
- /** Timestamp when the resource was deleted, if applicable */
564
- deleted_at: string;
565
- };
566
529
  certificate?: {
567
530
  /** Unique identifier for the certificate */
568
531
  id: string;
@@ -629,6 +592,14 @@ type GetAcademyCirriculaApiArg = {
629
592
  status?: string[];
630
593
  /** Search content by title */
631
594
  search?: string;
595
+ /** Sort results by a specific field (e.g., title, createdAt) */
596
+ sort?: string;
597
+ /** Order of sorting (asc or desc) */
598
+ order?: "asc" | "desc";
599
+ /** Number of results per page */
600
+ pagesize?: number;
601
+ /** Page number */
602
+ page?: number;
632
603
  };
633
604
  type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
634
605
  /** Id of the cirricula */
@@ -666,26 +637,6 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
666
637
  banner?: string | null;
667
638
  /** Canonical URL for the learning path */
668
639
  permalink: string;
669
- badge?: {
670
- /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
671
- id: string;
672
- /** The ID of the organization in which this badge is available . */
673
- org_id: string;
674
- /** unique identifier for the badge ( auto generated ) */
675
- label: string;
676
- /** Concise descriptor for the badge or certificate. */
677
- name: string;
678
- /** A description of the milestone achieved, often including criteria for receiving this recognition. */
679
- description: string;
680
- /** URL to the badge image */
681
- image_url: string;
682
- /** Timestamp when the resource was created. */
683
- created_at: string;
684
- /** Timestamp when the resource was updated. */
685
- updated_at: string;
686
- /** Timestamp when the resource was deleted, if applicable */
687
- deleted_at: string;
688
- };
689
640
  certificate?: {
690
641
  /** Unique identifier for the certificate */
691
642
  id: string;
@@ -797,91 +748,416 @@ type RegisterToAcademyContentApiArg = {
797
748
  content_type?: "learning-path" | "challenge" | "certification";
798
749
  };
799
750
  };
800
- type GetApiAcademyRegistrationsByContentIdApiResponse =
801
- /** status 200 Registration data for the specified content */ {
802
- /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
751
+ type UpdateAcademyCurriculaByIdApiResponse = /** status 200 updated the curricula */ {
752
+ /** Id of the cirricula */
803
753
  id: string;
804
- /** ID of the organization */
805
- org_id: string;
806
- /** ID of the course content */
807
- content_id: string;
808
- /** ID of the user (foreign key to User) */
809
- user_id: string;
810
- /** Status of the user's course registration */
811
- status: "registered" | "completed" | "failed" | "withdrawn";
812
- /** When the registration was updated */
813
- updated_at: string;
814
- /** When the registration was created */
815
- created_at: string;
754
+ type: "learning-path" | "challenge" | "certification";
755
+ /** Organization ID that owns this learning path */
756
+ orgId: string;
757
+ /** Visibility of the cirricula */
758
+ visibility: "public" | "private";
759
+ /** Status of the cirricula */
760
+ status: "ready" | "archived" | "not_ready";
761
+ /** slug of the cirricula */
762
+ slug: string;
763
+ /** Level of the cirricula */
764
+ level: "beginner" | "intermediate" | "advanced";
765
+ /** ID of the badge to be awarded on completion of this curricula */
766
+ badge_id?: string;
767
+ /** ID of the invite associated with this cirricula */
768
+ invite_id?: string;
769
+ /** ID of the workspace to which this cirricula belongs */
770
+ workspace_id?: string;
771
+ /** When the cirricula item was created */
772
+ createdAt: string;
773
+ /** When the cirricula was last updated */
774
+ updatedAt: string;
816
775
  /** Timestamp when the resource was deleted. */
817
- deleted_at?: string;
818
- /** Issued certificate for completing the curricula under registration */
819
- certificate: {
820
- /** Unique identifier for the certificate */
821
- id: string;
822
- /** UUID of the organization that issued the certificate */
823
- org_id: string;
824
- /** ID of the recipient (user) who received the certificate */
825
- recipient_id: string;
826
- /** Name of the recipient (user) who received the certificate */
827
- recipient_name: string;
828
- /** Title of the certificate */
776
+ deletedAt: string;
777
+ /** Additional metadata about the cirricula */
778
+ metadata: {
779
+ /** Title of the learning path */
829
780
  title: string;
830
- /** Description of the certificate */
781
+ /** Description of the learning path */
831
782
  description: string;
832
- /** List of issuing authorities for the certificate */
833
- issuing_authorities: {
834
- /** Name of the issuing authority */
835
- name: string;
836
- /** Role of the issuing authority */
837
- role?: string;
838
- /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
839
- signature_url?: string;
783
+ /** Filename of the banner image, which should be placed in the same directory as the _index.md file */
784
+ banner?: string | null;
785
+ /** Canonical URL for the learning path */
786
+ permalink: string;
787
+ certificate?: {
788
+ /** Unique identifier for the certificate */
789
+ id: string;
790
+ /** UUID of the organization that issued the certificate */
791
+ org_id: string;
792
+ /** ID of the recipient (user) who received the certificate */
793
+ recipient_id: string;
794
+ /** Name of the recipient (user) who received the certificate */
795
+ recipient_name: string;
796
+ /** Title of the certificate */
797
+ title: string;
798
+ /** Description of the certificate */
799
+ description: string;
800
+ /** List of issuing authorities for the certificate */
801
+ issuing_authorities: {
802
+ /** Name of the issuing authority */
803
+ name: string;
804
+ /** Role of the issuing authority */
805
+ role?: string;
806
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
807
+ signature_url?: string;
808
+ }[];
809
+ /** Date when the certificate was issued */
810
+ issued_date: string;
811
+ /** Date when the certificate expires (optional) */
812
+ expiration_date?: string;
813
+ };
814
+ /** List of children items in the top-level curricula */
815
+ children?: {
816
+ /** Unique identifier for the course */
817
+ id: string;
818
+ /** Title of the course */
819
+ title: string;
820
+ /** URL to the course content */
821
+ permalink: string;
822
+ /** Course description */
823
+ description: string;
824
+ /** A numeric value to determine the display order. A smaller number appears first. If not specified, items will be sorted alphabetically by title. */
825
+ weight?: number;
826
+ /** Filename of the banner image, which should be placed in the same directory as the _index.md file */
827
+ banner?: string | null;
828
+ /** Type of the content (e.g., learning-path, challenge, certification) */
829
+ type?: "learning-path" | "challenge" | "certification";
830
+ /** List of child nodes (sub-courses or modules) */
831
+ children?: object[];
840
832
  }[];
841
- /** Date when the certificate was issued */
842
- issued_date: string;
843
- /** Date when the certificate expires (optional) */
844
- expiration_date?: string;
845
- };
846
- /** Additional metadata about the registration */
847
- metadata: {
848
833
  [key: string]: any;
849
834
  };
835
+ } & {
836
+ RegistrationCount: number;
837
+ Invitation?: {
838
+ /** Unique identifier for the invitation , is also used as the invitation code */
839
+ id: string;
840
+ /** ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes */
841
+ owner_id: string;
842
+ /** Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
843
+ is_default?: boolean;
844
+ /** Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
845
+ name: string;
846
+ /** Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
847
+ description: string;
848
+ emails: string[];
849
+ /** ID of the organization to which the user is invited */
850
+ org_id: string;
851
+ /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
852
+ expires_at?: string;
853
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
854
+ quota?: number;
855
+ /** List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
856
+ accepted_by: string[];
857
+ roles: string[];
858
+ teams: string[];
859
+ /** Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later. */
860
+ status: "enabled" | "disabled";
861
+ /** Timestamp when the invitation was created */
862
+ created_at: string;
863
+ /** Timestamp when the invitation was last updated */
864
+ updated_at: string;
865
+ /** Timestamp when the invitation was deleted, if applicable */
866
+ deleted_at: string;
867
+ };
850
868
  };
851
- type GetApiAcademyRegistrationsByContentIdApiArg = {
852
- /** The ID of the content to retrieve registration data for */
853
- contentId: string;
854
- /** Filter registrations by status (e.g., registered, completed) */
855
- status?: string;
856
- };
857
- type UpdateCurrentItemInProgressTrackerApiResponse =
858
- /** status 200 Successfully updated the progress tracker */ {
859
- message?: string;
860
- progress_tracker?: {
861
- current_item: {
862
- [key: string]: {
869
+ type UpdateAcademyCurriculaByIdApiArg = {
870
+ /** The ID of the curricula */
871
+ id: string;
872
+ body: {
873
+ /** Type of the curricula */
874
+ type: "learning-path" | "challenge" | "certification";
875
+ /** Title of the curricula */
876
+ title: string;
877
+ /** Organization ID that owns this curricula */
878
+ orgId: string;
879
+ /** ID of the workspace to which this cirricula belongs */
880
+ workspace_id: string;
881
+ /** ID of the badge to be awarded on completion of this curricula */
882
+ badge_id?: string;
883
+ /** ID of the team associated with this curricula */
884
+ team_id: string;
885
+ /** Expiry time for curricula access */
886
+ access_expires_at?: string;
887
+ /** Current access status of the curricula */
888
+ access_status: "enabled" | "disabled";
889
+ /** Additional metadata about the cirricula */
890
+ metadata: {
891
+ /** Title of the learning path */
892
+ title: string;
893
+ /** Description of the learning path */
894
+ description: string;
895
+ /** Filename of the banner image, which should be placed in the same directory as the _index.md file */
896
+ banner?: string | null;
897
+ /** Canonical URL for the learning path */
898
+ permalink: string;
899
+ certificate?: {
900
+ /** Unique identifier for the certificate */
863
901
  id: string;
864
- last_opened: string;
865
- content_type: "learning-path" | "challenge" | "certification";
902
+ /** UUID of the organization that issued the certificate */
903
+ org_id: string;
904
+ /** ID of the recipient (user) who received the certificate */
905
+ recipient_id: string;
906
+ /** Name of the recipient (user) who received the certificate */
907
+ recipient_name: string;
908
+ /** Title of the certificate */
909
+ title: string;
910
+ /** Description of the certificate */
911
+ description: string;
912
+ /** List of issuing authorities for the certificate */
913
+ issuing_authorities: {
914
+ /** Name of the issuing authority */
915
+ name: string;
916
+ /** Role of the issuing authority */
917
+ role?: string;
918
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
919
+ signature_url?: string;
920
+ }[];
921
+ /** Date when the certificate was issued */
922
+ issued_date: string;
923
+ /** Date when the certificate expires (optional) */
924
+ expiration_date?: string;
866
925
  };
867
- };
868
- grades: {
869
- [key: string]: {
870
- score: number;
871
- passed: boolean;
872
- percentage_scored: number;
873
- total_marks: number;
874
- pass_percentage: number;
875
- correct_submissions: {
876
- [key: string]: boolean;
877
- };
878
- quiz: {
879
- id: string;
880
- /** Organization ID that owns this quiz */
881
- orgId: string;
882
- /** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
883
- final: boolean;
884
- title: string;
926
+ /** List of children items in the top-level curricula */
927
+ children?: {
928
+ /** Unique identifier for the course */
929
+ id: string;
930
+ /** Title of the course */
931
+ title: string;
932
+ /** URL to the course content */
933
+ permalink: string;
934
+ /** Course description */
935
+ description: string;
936
+ /** A numeric value to determine the display order. A smaller number appears first. If not specified, items will be sorted alphabetically by title. */
937
+ weight?: number;
938
+ /** Filename of the banner image, which should be placed in the same directory as the _index.md file */
939
+ banner?: string | null;
940
+ /** Type of the content (e.g., learning-path, challenge, certification) */
941
+ type?: "learning-path" | "challenge" | "certification";
942
+ /** List of child nodes (sub-courses or modules) */
943
+ children?: object[];
944
+ }[];
945
+ [key: string]: any;
946
+ };
947
+ };
948
+ };
949
+ type DeleteAcademyCurriculaByIdApiResponse = unknown;
950
+ type DeleteAcademyCurriculaByIdApiArg = {
951
+ /** The ID of the curricula */
952
+ id: string;
953
+ };
954
+ type GetAcademyCurriculaByIdApiResponse = /** status 200 A single curricula */ {
955
+ /** Id of the cirricula */
956
+ id: string;
957
+ type: "learning-path" | "challenge" | "certification";
958
+ /** Organization ID that owns this learning path */
959
+ orgId: string;
960
+ /** Visibility of the cirricula */
961
+ visibility: "public" | "private";
962
+ /** Status of the cirricula */
963
+ status: "ready" | "archived" | "not_ready";
964
+ /** slug of the cirricula */
965
+ slug: string;
966
+ /** Level of the cirricula */
967
+ level: "beginner" | "intermediate" | "advanced";
968
+ /** ID of the badge to be awarded on completion of this curricula */
969
+ badge_id?: string;
970
+ /** ID of the invite associated with this cirricula */
971
+ invite_id?: string;
972
+ /** ID of the workspace to which this cirricula belongs */
973
+ workspace_id?: string;
974
+ /** When the cirricula item was created */
975
+ createdAt: string;
976
+ /** When the cirricula was last updated */
977
+ updatedAt: string;
978
+ /** Timestamp when the resource was deleted. */
979
+ deletedAt: string;
980
+ /** Additional metadata about the cirricula */
981
+ metadata: {
982
+ /** Title of the learning path */
983
+ title: string;
984
+ /** Description of the learning path */
985
+ description: string;
986
+ /** Filename of the banner image, which should be placed in the same directory as the _index.md file */
987
+ banner?: string | null;
988
+ /** Canonical URL for the learning path */
989
+ permalink: string;
990
+ certificate?: {
991
+ /** Unique identifier for the certificate */
992
+ id: string;
993
+ /** UUID of the organization that issued the certificate */
994
+ org_id: string;
995
+ /** ID of the recipient (user) who received the certificate */
996
+ recipient_id: string;
997
+ /** Name of the recipient (user) who received the certificate */
998
+ recipient_name: string;
999
+ /** Title of the certificate */
1000
+ title: string;
1001
+ /** Description of the certificate */
1002
+ description: string;
1003
+ /** List of issuing authorities for the certificate */
1004
+ issuing_authorities: {
1005
+ /** Name of the issuing authority */
1006
+ name: string;
1007
+ /** Role of the issuing authority */
1008
+ role?: string;
1009
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
1010
+ signature_url?: string;
1011
+ }[];
1012
+ /** Date when the certificate was issued */
1013
+ issued_date: string;
1014
+ /** Date when the certificate expires (optional) */
1015
+ expiration_date?: string;
1016
+ };
1017
+ /** List of children items in the top-level curricula */
1018
+ children?: {
1019
+ /** Unique identifier for the course */
1020
+ id: string;
1021
+ /** Title of the course */
1022
+ title: string;
1023
+ /** URL to the course content */
1024
+ permalink: string;
1025
+ /** Course description */
1026
+ description: string;
1027
+ /** A numeric value to determine the display order. A smaller number appears first. If not specified, items will be sorted alphabetically by title. */
1028
+ weight?: number;
1029
+ /** Filename of the banner image, which should be placed in the same directory as the _index.md file */
1030
+ banner?: string | null;
1031
+ /** Type of the content (e.g., learning-path, challenge, certification) */
1032
+ type?: "learning-path" | "challenge" | "certification";
1033
+ /** List of child nodes (sub-courses or modules) */
1034
+ children?: object[];
1035
+ }[];
1036
+ [key: string]: any;
1037
+ };
1038
+ } & {
1039
+ RegistrationCount: number;
1040
+ Invitation?: {
1041
+ /** Unique identifier for the invitation , is also used as the invitation code */
1042
+ id: string;
1043
+ /** ID of the user who created the invitation, this is used to track who created the invitation and can be used for auditing purposes */
1044
+ owner_id: string;
1045
+ /** Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
1046
+ is_default?: boolean;
1047
+ /** Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
1048
+ name: string;
1049
+ /** Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
1050
+ description: string;
1051
+ emails: string[];
1052
+ /** ID of the organization to which the user is invited */
1053
+ org_id: string;
1054
+ /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
1055
+ expires_at?: string;
1056
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
1057
+ quota?: number;
1058
+ /** List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
1059
+ accepted_by: string[];
1060
+ roles: string[];
1061
+ teams: string[];
1062
+ /** Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later. */
1063
+ status: "enabled" | "disabled";
1064
+ /** Timestamp when the invitation was created */
1065
+ created_at: string;
1066
+ /** Timestamp when the invitation was last updated */
1067
+ updated_at: string;
1068
+ /** Timestamp when the invitation was deleted, if applicable */
1069
+ deleted_at: string;
1070
+ };
1071
+ };
1072
+ type GetAcademyCurriculaByIdApiArg = {
1073
+ /** The ID of the curricula */
1074
+ id: string;
1075
+ };
1076
+ type GetApiAcademyRegistrationsByContentIdApiResponse =
1077
+ /** status 200 Registration data for the specified content */ {
1078
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
1079
+ id: string;
1080
+ /** ID of the organization */
1081
+ org_id: string;
1082
+ /** ID of the course content */
1083
+ content_id: string;
1084
+ /** ID of the user (foreign key to User) */
1085
+ user_id: string;
1086
+ /** Status of the user's course registration */
1087
+ status: "registered" | "completed" | "failed" | "withdrawn";
1088
+ /** When the registration was updated */
1089
+ updated_at: string;
1090
+ /** When the registration was created */
1091
+ created_at: string;
1092
+ /** Timestamp when the resource was deleted. */
1093
+ deleted_at?: string;
1094
+ /** Issued certificate for completing the curricula under registration */
1095
+ certificate: {
1096
+ /** Unique identifier for the certificate */
1097
+ id: string;
1098
+ /** UUID of the organization that issued the certificate */
1099
+ org_id: string;
1100
+ /** ID of the recipient (user) who received the certificate */
1101
+ recipient_id: string;
1102
+ /** Name of the recipient (user) who received the certificate */
1103
+ recipient_name: string;
1104
+ /** Title of the certificate */
1105
+ title: string;
1106
+ /** Description of the certificate */
1107
+ description: string;
1108
+ /** List of issuing authorities for the certificate */
1109
+ issuing_authorities: {
1110
+ /** Name of the issuing authority */
1111
+ name: string;
1112
+ /** Role of the issuing authority */
1113
+ role?: string;
1114
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
1115
+ signature_url?: string;
1116
+ }[];
1117
+ /** Date when the certificate was issued */
1118
+ issued_date: string;
1119
+ /** Date when the certificate expires (optional) */
1120
+ expiration_date?: string;
1121
+ };
1122
+ /** Additional metadata about the registration */
1123
+ metadata: {
1124
+ [key: string]: any;
1125
+ };
1126
+ };
1127
+ type GetApiAcademyRegistrationsByContentIdApiArg = {
1128
+ /** The ID of the content to retrieve registration data for */
1129
+ contentId: string;
1130
+ /** Filter registrations by status (e.g., registered, completed) */
1131
+ status?: string;
1132
+ };
1133
+ type UpdateCurrentItemInProgressTrackerApiResponse =
1134
+ /** status 200 Successfully updated the progress tracker */ {
1135
+ message?: string;
1136
+ progress_tracker?: {
1137
+ current_item: {
1138
+ [key: string]: {
1139
+ id: string;
1140
+ last_opened: string;
1141
+ content_type: "learning-path" | "challenge" | "certification";
1142
+ };
1143
+ };
1144
+ grades: {
1145
+ [key: string]: {
1146
+ score: number;
1147
+ passed: boolean;
1148
+ percentage_scored: number;
1149
+ total_marks: number;
1150
+ pass_percentage: number;
1151
+ correct_submissions: {
1152
+ [key: string]: boolean;
1153
+ };
1154
+ quiz: {
1155
+ id: string;
1156
+ /** Organization ID that owns this quiz */
1157
+ orgId: string;
1158
+ /** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
1159
+ final: boolean;
1160
+ title: string;
885
1161
  description: string;
886
1162
  slug: string;
887
1163
  relPermalink: string;
@@ -4827,6 +5103,491 @@ declare const useRegisterToAcademyContentMutation: <R extends Record<string, any
4827
5103
  originalArgs?: RegisterToAcademyContentApiArg | undefined;
4828
5104
  reset: () => void;
4829
5105
  }];
5106
+ declare const useUpdateAcademyCurriculaByIdMutation: <R extends Record<string, any> = ({
5107
+ requestId?: undefined;
5108
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5109
+ data?: undefined;
5110
+ error?: undefined;
5111
+ endpointName?: string | undefined;
5112
+ startedTimeStamp?: undefined;
5113
+ fulfilledTimeStamp?: undefined;
5114
+ } & {
5115
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5116
+ isUninitialized: true;
5117
+ isLoading: false;
5118
+ isSuccess: false;
5119
+ isError: false;
5120
+ }) | ({
5121
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5122
+ } & Omit<{
5123
+ requestId: string;
5124
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5125
+ error?: unknown;
5126
+ endpointName: string;
5127
+ startedTimeStamp: number;
5128
+ fulfilledTimeStamp?: number | undefined;
5129
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5130
+ requestId: string;
5131
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5132
+ error?: unknown;
5133
+ endpointName: string;
5134
+ startedTimeStamp: number;
5135
+ fulfilledTimeStamp?: number | undefined;
5136
+ }, "data" | "fulfilledTimeStamp">> & {
5137
+ error: undefined;
5138
+ } & {
5139
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5140
+ isUninitialized: false;
5141
+ isLoading: false;
5142
+ isSuccess: true;
5143
+ isError: false;
5144
+ }) | ({
5145
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5146
+ } & {
5147
+ requestId: string;
5148
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5149
+ error?: unknown;
5150
+ endpointName: string;
5151
+ startedTimeStamp: number;
5152
+ fulfilledTimeStamp?: number | undefined;
5153
+ } & {
5154
+ data?: undefined;
5155
+ } & {
5156
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5157
+ isUninitialized: false;
5158
+ isLoading: true;
5159
+ isSuccess: false;
5160
+ isError: false;
5161
+ }) | ({
5162
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5163
+ } & Omit<{
5164
+ requestId: string;
5165
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5166
+ error?: unknown;
5167
+ endpointName: string;
5168
+ startedTimeStamp: number;
5169
+ fulfilledTimeStamp?: number | undefined;
5170
+ }, "error"> & Required<Pick<{
5171
+ requestId: string;
5172
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5173
+ error?: unknown;
5174
+ endpointName: string;
5175
+ startedTimeStamp: number;
5176
+ fulfilledTimeStamp?: number | undefined;
5177
+ }, "error">> & {
5178
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5179
+ isUninitialized: false;
5180
+ isLoading: false;
5181
+ isSuccess: false;
5182
+ isError: true;
5183
+ })>(options?: {
5184
+ selectFromResult?: ((state: ({
5185
+ requestId?: undefined;
5186
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5187
+ data?: undefined;
5188
+ error?: undefined;
5189
+ endpointName?: string | undefined;
5190
+ startedTimeStamp?: undefined;
5191
+ fulfilledTimeStamp?: undefined;
5192
+ } & {
5193
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5194
+ isUninitialized: true;
5195
+ isLoading: false;
5196
+ isSuccess: false;
5197
+ isError: false;
5198
+ }) | ({
5199
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5200
+ } & Omit<{
5201
+ requestId: string;
5202
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5203
+ error?: unknown;
5204
+ endpointName: string;
5205
+ startedTimeStamp: number;
5206
+ fulfilledTimeStamp?: number | undefined;
5207
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5208
+ requestId: string;
5209
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5210
+ error?: unknown;
5211
+ endpointName: string;
5212
+ startedTimeStamp: number;
5213
+ fulfilledTimeStamp?: number | undefined;
5214
+ }, "data" | "fulfilledTimeStamp">> & {
5215
+ error: undefined;
5216
+ } & {
5217
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5218
+ isUninitialized: false;
5219
+ isLoading: false;
5220
+ isSuccess: true;
5221
+ isError: false;
5222
+ }) | ({
5223
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5224
+ } & {
5225
+ requestId: string;
5226
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5227
+ error?: unknown;
5228
+ endpointName: string;
5229
+ startedTimeStamp: number;
5230
+ fulfilledTimeStamp?: number | undefined;
5231
+ } & {
5232
+ data?: undefined;
5233
+ } & {
5234
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5235
+ isUninitialized: false;
5236
+ isLoading: true;
5237
+ isSuccess: false;
5238
+ isError: false;
5239
+ }) | ({
5240
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5241
+ } & Omit<{
5242
+ requestId: string;
5243
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5244
+ error?: unknown;
5245
+ endpointName: string;
5246
+ startedTimeStamp: number;
5247
+ fulfilledTimeStamp?: number | undefined;
5248
+ }, "error"> & Required<Pick<{
5249
+ requestId: string;
5250
+ data?: UpdateAcademyCurriculaByIdApiResponse | undefined;
5251
+ error?: unknown;
5252
+ endpointName: string;
5253
+ startedTimeStamp: number;
5254
+ fulfilledTimeStamp?: number | undefined;
5255
+ }, "error">> & {
5256
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5257
+ isUninitialized: false;
5258
+ isLoading: false;
5259
+ isSuccess: false;
5260
+ isError: true;
5261
+ })) => R) | undefined;
5262
+ fixedCacheKey?: string | undefined;
5263
+ } | undefined) => readonly [(arg: UpdateAcademyCurriculaByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateAcademyCurriculaByIdApiArg, (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", UpdateAcademyCurriculaByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5264
+ originalArgs?: UpdateAcademyCurriculaByIdApiArg | undefined;
5265
+ reset: () => void;
5266
+ }];
5267
+ declare const useDeleteAcademyCurriculaByIdMutation: <R extends Record<string, any> = ({
5268
+ requestId?: undefined;
5269
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5270
+ data?: undefined;
5271
+ error?: undefined;
5272
+ endpointName?: string | undefined;
5273
+ startedTimeStamp?: undefined;
5274
+ fulfilledTimeStamp?: undefined;
5275
+ } & {
5276
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5277
+ isUninitialized: true;
5278
+ isLoading: false;
5279
+ isSuccess: false;
5280
+ isError: false;
5281
+ }) | ({
5282
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5283
+ } & Omit<{
5284
+ requestId: string;
5285
+ data?: unknown;
5286
+ error?: unknown;
5287
+ endpointName: string;
5288
+ startedTimeStamp: number;
5289
+ fulfilledTimeStamp?: number | undefined;
5290
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5291
+ requestId: string;
5292
+ data?: unknown;
5293
+ error?: unknown;
5294
+ endpointName: string;
5295
+ startedTimeStamp: number;
5296
+ fulfilledTimeStamp?: number | undefined;
5297
+ }, "data" | "fulfilledTimeStamp">> & {
5298
+ error: undefined;
5299
+ } & {
5300
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5301
+ isUninitialized: false;
5302
+ isLoading: false;
5303
+ isSuccess: true;
5304
+ isError: false;
5305
+ }) | ({
5306
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5307
+ } & {
5308
+ requestId: string;
5309
+ data?: unknown;
5310
+ error?: unknown;
5311
+ endpointName: string;
5312
+ startedTimeStamp: number;
5313
+ fulfilledTimeStamp?: number | undefined;
5314
+ } & {
5315
+ data?: undefined;
5316
+ } & {
5317
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5318
+ isUninitialized: false;
5319
+ isLoading: true;
5320
+ isSuccess: false;
5321
+ isError: false;
5322
+ }) | ({
5323
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5324
+ } & Omit<{
5325
+ requestId: string;
5326
+ data?: unknown;
5327
+ error?: unknown;
5328
+ endpointName: string;
5329
+ startedTimeStamp: number;
5330
+ fulfilledTimeStamp?: number | undefined;
5331
+ }, "error"> & Required<Pick<{
5332
+ requestId: string;
5333
+ data?: unknown;
5334
+ error?: unknown;
5335
+ endpointName: string;
5336
+ startedTimeStamp: number;
5337
+ fulfilledTimeStamp?: number | undefined;
5338
+ }, "error">> & {
5339
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5340
+ isUninitialized: false;
5341
+ isLoading: false;
5342
+ isSuccess: false;
5343
+ isError: true;
5344
+ })>(options?: {
5345
+ selectFromResult?: ((state: ({
5346
+ requestId?: undefined;
5347
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5348
+ data?: undefined;
5349
+ error?: undefined;
5350
+ endpointName?: string | undefined;
5351
+ startedTimeStamp?: undefined;
5352
+ fulfilledTimeStamp?: undefined;
5353
+ } & {
5354
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5355
+ isUninitialized: true;
5356
+ isLoading: false;
5357
+ isSuccess: false;
5358
+ isError: false;
5359
+ }) | ({
5360
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5361
+ } & Omit<{
5362
+ requestId: string;
5363
+ data?: unknown;
5364
+ error?: unknown;
5365
+ endpointName: string;
5366
+ startedTimeStamp: number;
5367
+ fulfilledTimeStamp?: number | undefined;
5368
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5369
+ requestId: string;
5370
+ data?: unknown;
5371
+ error?: unknown;
5372
+ endpointName: string;
5373
+ startedTimeStamp: number;
5374
+ fulfilledTimeStamp?: number | undefined;
5375
+ }, "data" | "fulfilledTimeStamp">> & {
5376
+ error: undefined;
5377
+ } & {
5378
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5379
+ isUninitialized: false;
5380
+ isLoading: false;
5381
+ isSuccess: true;
5382
+ isError: false;
5383
+ }) | ({
5384
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5385
+ } & {
5386
+ requestId: string;
5387
+ data?: unknown;
5388
+ error?: unknown;
5389
+ endpointName: string;
5390
+ startedTimeStamp: number;
5391
+ fulfilledTimeStamp?: number | undefined;
5392
+ } & {
5393
+ data?: undefined;
5394
+ } & {
5395
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5396
+ isUninitialized: false;
5397
+ isLoading: true;
5398
+ isSuccess: false;
5399
+ isError: false;
5400
+ }) | ({
5401
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5402
+ } & Omit<{
5403
+ requestId: string;
5404
+ data?: unknown;
5405
+ error?: unknown;
5406
+ endpointName: string;
5407
+ startedTimeStamp: number;
5408
+ fulfilledTimeStamp?: number | undefined;
5409
+ }, "error"> & Required<Pick<{
5410
+ requestId: string;
5411
+ data?: unknown;
5412
+ error?: unknown;
5413
+ endpointName: string;
5414
+ startedTimeStamp: number;
5415
+ fulfilledTimeStamp?: number | undefined;
5416
+ }, "error">> & {
5417
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5418
+ isUninitialized: false;
5419
+ isLoading: false;
5420
+ isSuccess: false;
5421
+ isError: true;
5422
+ })) => R) | undefined;
5423
+ fixedCacheKey?: string | undefined;
5424
+ } | undefined) => readonly [(arg: DeleteAcademyCurriculaByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteAcademyCurriculaByIdApiArg, (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", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5425
+ originalArgs?: DeleteAcademyCurriculaByIdApiArg | undefined;
5426
+ reset: () => void;
5427
+ }];
5428
+ declare const useGetAcademyCurriculaByIdQuery: <R extends Record<string, any> = ({
5429
+ data?: undefined;
5430
+ error?: undefined;
5431
+ fulfilledTimeStamp?: undefined;
5432
+ originalArgs?: undefined;
5433
+ requestId?: undefined;
5434
+ endpointName?: string | undefined;
5435
+ startedTimeStamp?: undefined;
5436
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5437
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5438
+ isLoading: false;
5439
+ isFetching: false;
5440
+ isSuccess: false;
5441
+ isError: false;
5442
+ isUninitialized: true;
5443
+ } | {
5444
+ error?: unknown;
5445
+ fulfilledTimeStamp?: number | undefined;
5446
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5447
+ requestId?: string | undefined;
5448
+ endpointName?: string | undefined;
5449
+ startedTimeStamp?: number | undefined;
5450
+ status: _reduxjs_toolkit_query.QueryStatus;
5451
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5452
+ isUninitialized: false;
5453
+ isSuccess: false;
5454
+ isError: false;
5455
+ isLoading: true;
5456
+ isFetching: boolean;
5457
+ data: undefined;
5458
+ } | {
5459
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5460
+ requestId?: string | undefined;
5461
+ endpointName?: string | undefined;
5462
+ startedTimeStamp?: number | undefined;
5463
+ status: _reduxjs_toolkit_query.QueryStatus;
5464
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5465
+ isUninitialized: false;
5466
+ isLoading: false;
5467
+ isError: false;
5468
+ isSuccess: true;
5469
+ isFetching: true;
5470
+ error: undefined;
5471
+ data: GetAcademyCurriculaByIdApiResponse;
5472
+ fulfilledTimeStamp: number;
5473
+ } | {
5474
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5475
+ requestId?: string | undefined;
5476
+ endpointName?: string | undefined;
5477
+ startedTimeStamp?: number | undefined;
5478
+ status: _reduxjs_toolkit_query.QueryStatus;
5479
+ isUninitialized: false;
5480
+ isLoading: false;
5481
+ isError: false;
5482
+ isSuccess: true;
5483
+ isFetching: false;
5484
+ error: undefined;
5485
+ data: GetAcademyCurriculaByIdApiResponse;
5486
+ fulfilledTimeStamp: number;
5487
+ currentData: GetAcademyCurriculaByIdApiResponse;
5488
+ } | {
5489
+ data?: GetAcademyCurriculaByIdApiResponse | undefined;
5490
+ fulfilledTimeStamp?: number | undefined;
5491
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5492
+ requestId?: string | undefined;
5493
+ endpointName?: string | undefined;
5494
+ startedTimeStamp?: number | undefined;
5495
+ status: _reduxjs_toolkit_query.QueryStatus;
5496
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5497
+ isUninitialized: false;
5498
+ isLoading: false;
5499
+ isFetching: false;
5500
+ isSuccess: false;
5501
+ isError: true;
5502
+ error: unknown;
5503
+ }) & {
5504
+ status: _reduxjs_toolkit_query.QueryStatus;
5505
+ }>(arg: GetAcademyCurriculaByIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
5506
+ skip?: boolean | undefined;
5507
+ refetchOnMountOrArgChange?: number | boolean | undefined;
5508
+ } & {
5509
+ skip?: boolean | undefined;
5510
+ selectFromResult?: ((state: ({
5511
+ data?: undefined;
5512
+ error?: undefined;
5513
+ fulfilledTimeStamp?: undefined;
5514
+ originalArgs?: undefined;
5515
+ requestId?: undefined;
5516
+ endpointName?: string | undefined;
5517
+ startedTimeStamp?: undefined;
5518
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5519
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5520
+ isLoading: false;
5521
+ isFetching: false;
5522
+ isSuccess: false;
5523
+ isError: false;
5524
+ isUninitialized: true;
5525
+ } | {
5526
+ error?: unknown;
5527
+ fulfilledTimeStamp?: number | undefined;
5528
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5529
+ requestId?: string | undefined;
5530
+ endpointName?: string | undefined;
5531
+ startedTimeStamp?: number | undefined;
5532
+ status: _reduxjs_toolkit_query.QueryStatus;
5533
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5534
+ isUninitialized: false;
5535
+ isSuccess: false;
5536
+ isError: false;
5537
+ isLoading: true;
5538
+ isFetching: boolean;
5539
+ data: undefined;
5540
+ } | {
5541
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5542
+ requestId?: string | undefined;
5543
+ endpointName?: string | undefined;
5544
+ startedTimeStamp?: number | undefined;
5545
+ status: _reduxjs_toolkit_query.QueryStatus;
5546
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5547
+ isUninitialized: false;
5548
+ isLoading: false;
5549
+ isError: false;
5550
+ isSuccess: true;
5551
+ isFetching: true;
5552
+ error: undefined;
5553
+ data: GetAcademyCurriculaByIdApiResponse;
5554
+ fulfilledTimeStamp: number;
5555
+ } | {
5556
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5557
+ requestId?: string | undefined;
5558
+ endpointName?: string | undefined;
5559
+ startedTimeStamp?: number | undefined;
5560
+ status: _reduxjs_toolkit_query.QueryStatus;
5561
+ isUninitialized: false;
5562
+ isLoading: false;
5563
+ isError: false;
5564
+ isSuccess: true;
5565
+ isFetching: false;
5566
+ error: undefined;
5567
+ data: GetAcademyCurriculaByIdApiResponse;
5568
+ fulfilledTimeStamp: number;
5569
+ currentData: GetAcademyCurriculaByIdApiResponse;
5570
+ } | {
5571
+ data?: GetAcademyCurriculaByIdApiResponse | undefined;
5572
+ fulfilledTimeStamp?: number | undefined;
5573
+ originalArgs?: GetAcademyCurriculaByIdApiArg | undefined;
5574
+ requestId?: string | undefined;
5575
+ endpointName?: string | undefined;
5576
+ startedTimeStamp?: number | undefined;
5577
+ status: _reduxjs_toolkit_query.QueryStatus;
5578
+ currentData?: GetAcademyCurriculaByIdApiResponse | undefined;
5579
+ isUninitialized: false;
5580
+ isLoading: false;
5581
+ isFetching: false;
5582
+ isSuccess: false;
5583
+ isError: true;
5584
+ error: unknown;
5585
+ }) & {
5586
+ status: _reduxjs_toolkit_query.QueryStatus;
5587
+ }) => R) | undefined;
5588
+ }) | undefined) => [R][R extends any ? 0 : never] & {
5589
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_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>>;
5590
+ };
4830
5591
  declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<string, any> = ({
4831
5592
  data?: undefined;
4832
5593
  error?: undefined;
@@ -7257,4 +8018,4 @@ declare const useCreateOrUpdateBadgeMutation: <R extends Record<string, any> = (
7257
8018
  reset: () => void;
7258
8019
  }];
7259
8020
 
7260
- export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, 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 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 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 UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation };
8021
+ 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 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, 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, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation };