@meshery/schemas 0.8.55 → 0.8.57

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.
@@ -27,6 +27,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
27
27
  submitQuiz: _reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, SubmitQuizApiResponse, "api", unknown>;
28
28
  getAcademyAdminSummary: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>;
29
29
  getAcademyAdminRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyAdminRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyAdminRegistrationsApiResponse, "api", unknown>;
30
+ getCertificateById: _reduxjs_toolkit_query.QueryDefinition<GetCertificateByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetCertificateByIdApiResponse, "api", unknown>;
30
31
  }, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
31
32
 
32
33
  type ImportDesignApiResponse = {
@@ -448,10 +449,31 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
448
449
  svg: string;
449
450
  };
450
451
  certificate?: {
452
+ /** Unique identifier for the certificate */
453
+ id: string;
454
+ /** UUID of the organization that issued the certificate */
455
+ org_id: string;
456
+ /** ID of the recipient (user) who received the certificate */
457
+ recipient_id: string;
458
+ /** Name of the recipient (user) who received the certificate */
459
+ recipient_name: string;
451
460
  /** Title of the certificate */
452
461
  title: string;
453
462
  /** Description of the certificate */
454
463
  description: string;
464
+ /** List of issuing authorities for the certificate */
465
+ issuing_authorities: {
466
+ /** Name of the issuing authority */
467
+ name: string;
468
+ /** Role of the issuing authority */
469
+ role?: string;
470
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
471
+ signature_url?: string;
472
+ }[];
473
+ /** Date when the certificate was issued */
474
+ issued_date: string;
475
+ /** Date when the certificate expires (optional) */
476
+ expiration_date?: string;
455
477
  };
456
478
  /** List of children items in the top-level curricula */
457
479
  children?: {
@@ -497,6 +519,34 @@ type RegisterToAcademyContentApiResponse = {
497
519
  created_at: string;
498
520
  /** Timestamp when the resource was deleted. */
499
521
  deleted_at?: string;
522
+ /** Issued certificate for completing the curricula under registration */
523
+ certificate: {
524
+ /** Unique identifier for the certificate */
525
+ id: string;
526
+ /** UUID of the organization that issued the certificate */
527
+ org_id: string;
528
+ /** ID of the recipient (user) who received the certificate */
529
+ recipient_id: string;
530
+ /** Name of the recipient (user) who received the certificate */
531
+ recipient_name: string;
532
+ /** Title of the certificate */
533
+ title: string;
534
+ /** Description of the certificate */
535
+ description: string;
536
+ /** List of issuing authorities for the certificate */
537
+ issuing_authorities: {
538
+ /** Name of the issuing authority */
539
+ name: string;
540
+ /** Role of the issuing authority */
541
+ role?: string;
542
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
543
+ signature_url?: string;
544
+ }[];
545
+ /** Date when the certificate was issued */
546
+ issued_date: string;
547
+ /** Date when the certificate expires (optional) */
548
+ expiration_date?: string;
549
+ };
500
550
  /** Additional metadata about the registration */
501
551
  metadata: {
502
552
  [key: string]: any;
@@ -527,6 +577,34 @@ type GetApiAcademyRegistrationsByContentIdApiResponse =
527
577
  created_at: string;
528
578
  /** Timestamp when the resource was deleted. */
529
579
  deleted_at?: string;
580
+ /** Issued certificate for completing the curricula under registration */
581
+ certificate: {
582
+ /** Unique identifier for the certificate */
583
+ id: string;
584
+ /** UUID of the organization that issued the certificate */
585
+ org_id: string;
586
+ /** ID of the recipient (user) who received the certificate */
587
+ recipient_id: string;
588
+ /** Name of the recipient (user) who received the certificate */
589
+ recipient_name: string;
590
+ /** Title of the certificate */
591
+ title: string;
592
+ /** Description of the certificate */
593
+ description: string;
594
+ /** List of issuing authorities for the certificate */
595
+ issuing_authorities: {
596
+ /** Name of the issuing authority */
597
+ name: string;
598
+ /** Role of the issuing authority */
599
+ role?: string;
600
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
601
+ signature_url?: string;
602
+ }[];
603
+ /** Date when the certificate was issued */
604
+ issued_date: string;
605
+ /** Date when the certificate expires (optional) */
606
+ expiration_date?: string;
607
+ };
530
608
  /** Additional metadata about the registration */
531
609
  metadata: {
532
610
  [key: string]: any;
@@ -726,35 +804,35 @@ type GetAcademyAdminSummaryApiResponse =
726
804
  /** status 200 A list of content with total count and registration metrics */ object;
727
805
  type GetAcademyAdminSummaryApiArg = void;
728
806
  type GetAcademyAdminRegistrationsApiResponse = {
729
- data?: {
807
+ data: {
730
808
  /** Title of the curricula */
731
- curricula_title?: string;
809
+ curricula_title: string;
732
810
  /** Type of the curricula */
733
- curricula_type?: "learning-path" | "challenge" | "certification";
811
+ curricula_type: "learning-path" | "challenge" | "certification";
734
812
  /** Permalink of the curricula */
735
- curricula_permalink?: string;
813
+ curricula_permalink: string;
736
814
  /** Unique ID of the registration */
737
- registration_id?: string;
815
+ registration_id: string;
738
816
  /** Registration status */
739
- status?: "registered" | "completed" | "failed" | "withdrawn";
817
+ status: "registered" | "completed" | "failed" | "withdrawn";
740
818
  /** When the registration was created */
741
819
  created_at?: string;
742
820
  /** ID of the user */
743
- user_id?: string;
821
+ user_id: string;
744
822
  /** First name of the user */
745
- user_first_name?: string;
823
+ user_first_name: string;
746
824
  /** Last name of the user */
747
- user_last_name?: string;
825
+ user_last_name: string;
748
826
  /** Email of the user */
749
- user_email?: string;
827
+ user_email: string;
750
828
  /** Avatar URL of the user */
751
- user_avatar_url?: string;
829
+ user_avatar_url: string;
752
830
  /** Total count for pagination */
753
- total_count?: number;
831
+ total_count: number;
754
832
  }[];
755
- total_count?: number;
756
- page_size?: number;
757
- page?: number;
833
+ total_count: number;
834
+ page_size: number;
835
+ page: number;
758
836
  };
759
837
  type GetAcademyAdminRegistrationsApiArg = {
760
838
  /** Number of results per page */
@@ -766,6 +844,37 @@ type GetAcademyAdminRegistrationsApiArg = {
766
844
  /** Filter by registration status */
767
845
  status?: string[];
768
846
  };
847
+ type GetCertificateByIdApiResponse = {
848
+ /** Unique identifier for the certificate */
849
+ id: string;
850
+ /** UUID of the organization that issued the certificate */
851
+ org_id: string;
852
+ /** ID of the recipient (user) who received the certificate */
853
+ recipient_id: string;
854
+ /** Name of the recipient (user) who received the certificate */
855
+ recipient_name: string;
856
+ /** Title of the certificate */
857
+ title: string;
858
+ /** Description of the certificate */
859
+ description: string;
860
+ /** List of issuing authorities for the certificate */
861
+ issuing_authorities: {
862
+ /** Name of the issuing authority */
863
+ name: string;
864
+ /** Role of the issuing authority */
865
+ role?: string;
866
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
867
+ signature_url?: string;
868
+ }[];
869
+ /** Date when the certificate was issued */
870
+ issued_date: string;
871
+ /** Date when the certificate expires (optional) */
872
+ expiration_date?: string;
873
+ };
874
+ type GetCertificateByIdApiArg = {
875
+ /** The ID of the certificate to retrieve */
876
+ certificateId: string;
877
+ };
769
878
  declare const useImportDesignMutation: <R extends Record<string, any> = ({
770
879
  requestId?: undefined;
771
880
  status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
@@ -4817,5 +4926,168 @@ declare const useGetAcademyAdminRegistrationsQuery: <R extends Record<string, an
4817
4926
  }) | undefined) => [R][R extends any ? 0 : never] & {
4818
4927
  refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetAcademyAdminRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyAdminRegistrationsApiResponse, "api", unknown>>;
4819
4928
  };
4929
+ declare const useGetCertificateByIdQuery: <R extends Record<string, any> = ({
4930
+ data?: undefined;
4931
+ error?: undefined;
4932
+ fulfilledTimeStamp?: undefined;
4933
+ originalArgs?: undefined;
4934
+ requestId?: undefined;
4935
+ endpointName?: string | undefined;
4936
+ startedTimeStamp?: undefined;
4937
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4938
+ currentData?: GetCertificateByIdApiResponse | undefined;
4939
+ isLoading: false;
4940
+ isFetching: false;
4941
+ isSuccess: false;
4942
+ isError: false;
4943
+ isUninitialized: true;
4944
+ } | {
4945
+ error?: unknown;
4946
+ fulfilledTimeStamp?: number | undefined;
4947
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4948
+ requestId?: string | undefined;
4949
+ endpointName?: string | undefined;
4950
+ startedTimeStamp?: number | undefined;
4951
+ status: _reduxjs_toolkit_query.QueryStatus;
4952
+ currentData?: GetCertificateByIdApiResponse | undefined;
4953
+ isUninitialized: false;
4954
+ isSuccess: false;
4955
+ isError: false;
4956
+ isLoading: true;
4957
+ isFetching: boolean;
4958
+ data: undefined;
4959
+ } | {
4960
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4961
+ requestId?: string | undefined;
4962
+ endpointName?: string | undefined;
4963
+ startedTimeStamp?: number | undefined;
4964
+ status: _reduxjs_toolkit_query.QueryStatus;
4965
+ currentData?: GetCertificateByIdApiResponse | undefined;
4966
+ isUninitialized: false;
4967
+ isLoading: false;
4968
+ isError: false;
4969
+ isSuccess: true;
4970
+ isFetching: true;
4971
+ error: undefined;
4972
+ data: GetCertificateByIdApiResponse;
4973
+ fulfilledTimeStamp: number;
4974
+ } | {
4975
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4976
+ requestId?: string | undefined;
4977
+ endpointName?: string | undefined;
4978
+ startedTimeStamp?: number | undefined;
4979
+ status: _reduxjs_toolkit_query.QueryStatus;
4980
+ isUninitialized: false;
4981
+ isLoading: false;
4982
+ isError: false;
4983
+ isSuccess: true;
4984
+ isFetching: false;
4985
+ error: undefined;
4986
+ data: GetCertificateByIdApiResponse;
4987
+ fulfilledTimeStamp: number;
4988
+ currentData: GetCertificateByIdApiResponse;
4989
+ } | {
4990
+ data?: GetCertificateByIdApiResponse | undefined;
4991
+ fulfilledTimeStamp?: number | undefined;
4992
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4993
+ requestId?: string | undefined;
4994
+ endpointName?: string | undefined;
4995
+ startedTimeStamp?: number | undefined;
4996
+ status: _reduxjs_toolkit_query.QueryStatus;
4997
+ currentData?: GetCertificateByIdApiResponse | undefined;
4998
+ isUninitialized: false;
4999
+ isLoading: false;
5000
+ isFetching: false;
5001
+ isSuccess: false;
5002
+ isError: true;
5003
+ error: unknown;
5004
+ }) & {
5005
+ status: _reduxjs_toolkit_query.QueryStatus;
5006
+ }>(arg: GetCertificateByIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
5007
+ skip?: boolean | undefined;
5008
+ refetchOnMountOrArgChange?: number | boolean | undefined;
5009
+ } & {
5010
+ skip?: boolean | undefined;
5011
+ selectFromResult?: ((state: ({
5012
+ data?: undefined;
5013
+ error?: undefined;
5014
+ fulfilledTimeStamp?: undefined;
5015
+ originalArgs?: undefined;
5016
+ requestId?: undefined;
5017
+ endpointName?: string | undefined;
5018
+ startedTimeStamp?: undefined;
5019
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5020
+ currentData?: GetCertificateByIdApiResponse | undefined;
5021
+ isLoading: false;
5022
+ isFetching: false;
5023
+ isSuccess: false;
5024
+ isError: false;
5025
+ isUninitialized: true;
5026
+ } | {
5027
+ error?: unknown;
5028
+ fulfilledTimeStamp?: number | undefined;
5029
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5030
+ requestId?: string | undefined;
5031
+ endpointName?: string | undefined;
5032
+ startedTimeStamp?: number | undefined;
5033
+ status: _reduxjs_toolkit_query.QueryStatus;
5034
+ currentData?: GetCertificateByIdApiResponse | undefined;
5035
+ isUninitialized: false;
5036
+ isSuccess: false;
5037
+ isError: false;
5038
+ isLoading: true;
5039
+ isFetching: boolean;
5040
+ data: undefined;
5041
+ } | {
5042
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5043
+ requestId?: string | undefined;
5044
+ endpointName?: string | undefined;
5045
+ startedTimeStamp?: number | undefined;
5046
+ status: _reduxjs_toolkit_query.QueryStatus;
5047
+ currentData?: GetCertificateByIdApiResponse | undefined;
5048
+ isUninitialized: false;
5049
+ isLoading: false;
5050
+ isError: false;
5051
+ isSuccess: true;
5052
+ isFetching: true;
5053
+ error: undefined;
5054
+ data: GetCertificateByIdApiResponse;
5055
+ fulfilledTimeStamp: number;
5056
+ } | {
5057
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5058
+ requestId?: string | undefined;
5059
+ endpointName?: string | undefined;
5060
+ startedTimeStamp?: number | undefined;
5061
+ status: _reduxjs_toolkit_query.QueryStatus;
5062
+ isUninitialized: false;
5063
+ isLoading: false;
5064
+ isError: false;
5065
+ isSuccess: true;
5066
+ isFetching: false;
5067
+ error: undefined;
5068
+ data: GetCertificateByIdApiResponse;
5069
+ fulfilledTimeStamp: number;
5070
+ currentData: GetCertificateByIdApiResponse;
5071
+ } | {
5072
+ data?: GetCertificateByIdApiResponse | undefined;
5073
+ fulfilledTimeStamp?: number | undefined;
5074
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5075
+ requestId?: string | undefined;
5076
+ endpointName?: string | undefined;
5077
+ startedTimeStamp?: number | undefined;
5078
+ status: _reduxjs_toolkit_query.QueryStatus;
5079
+ currentData?: GetCertificateByIdApiResponse | undefined;
5080
+ isUninitialized: false;
5081
+ isLoading: false;
5082
+ isFetching: false;
5083
+ isSuccess: false;
5084
+ isError: true;
5085
+ error: unknown;
5086
+ }) & {
5087
+ status: _reduxjs_toolkit_query.QueryStatus;
5088
+ }) => R) | undefined;
5089
+ }) | undefined) => [R][R extends any ? 0 : never] & {
5090
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetCertificateByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetCertificateByIdApiResponse, "api", unknown>>;
5091
+ };
4820
5092
 
4821
- export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, 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 GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
5093
+ export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, 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 GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
@@ -27,6 +27,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
27
27
  submitQuiz: _reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, SubmitQuizApiResponse, "api", unknown>;
28
28
  getAcademyAdminSummary: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>;
29
29
  getAcademyAdminRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyAdminRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyAdminRegistrationsApiResponse, "api", unknown>;
30
+ getCertificateById: _reduxjs_toolkit_query.QueryDefinition<GetCertificateByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetCertificateByIdApiResponse, "api", unknown>;
30
31
  }, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
31
32
 
32
33
  type ImportDesignApiResponse = {
@@ -448,10 +449,31 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
448
449
  svg: string;
449
450
  };
450
451
  certificate?: {
452
+ /** Unique identifier for the certificate */
453
+ id: string;
454
+ /** UUID of the organization that issued the certificate */
455
+ org_id: string;
456
+ /** ID of the recipient (user) who received the certificate */
457
+ recipient_id: string;
458
+ /** Name of the recipient (user) who received the certificate */
459
+ recipient_name: string;
451
460
  /** Title of the certificate */
452
461
  title: string;
453
462
  /** Description of the certificate */
454
463
  description: string;
464
+ /** List of issuing authorities for the certificate */
465
+ issuing_authorities: {
466
+ /** Name of the issuing authority */
467
+ name: string;
468
+ /** Role of the issuing authority */
469
+ role?: string;
470
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
471
+ signature_url?: string;
472
+ }[];
473
+ /** Date when the certificate was issued */
474
+ issued_date: string;
475
+ /** Date when the certificate expires (optional) */
476
+ expiration_date?: string;
455
477
  };
456
478
  /** List of children items in the top-level curricula */
457
479
  children?: {
@@ -497,6 +519,34 @@ type RegisterToAcademyContentApiResponse = {
497
519
  created_at: string;
498
520
  /** Timestamp when the resource was deleted. */
499
521
  deleted_at?: string;
522
+ /** Issued certificate for completing the curricula under registration */
523
+ certificate: {
524
+ /** Unique identifier for the certificate */
525
+ id: string;
526
+ /** UUID of the organization that issued the certificate */
527
+ org_id: string;
528
+ /** ID of the recipient (user) who received the certificate */
529
+ recipient_id: string;
530
+ /** Name of the recipient (user) who received the certificate */
531
+ recipient_name: string;
532
+ /** Title of the certificate */
533
+ title: string;
534
+ /** Description of the certificate */
535
+ description: string;
536
+ /** List of issuing authorities for the certificate */
537
+ issuing_authorities: {
538
+ /** Name of the issuing authority */
539
+ name: string;
540
+ /** Role of the issuing authority */
541
+ role?: string;
542
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
543
+ signature_url?: string;
544
+ }[];
545
+ /** Date when the certificate was issued */
546
+ issued_date: string;
547
+ /** Date when the certificate expires (optional) */
548
+ expiration_date?: string;
549
+ };
500
550
  /** Additional metadata about the registration */
501
551
  metadata: {
502
552
  [key: string]: any;
@@ -527,6 +577,34 @@ type GetApiAcademyRegistrationsByContentIdApiResponse =
527
577
  created_at: string;
528
578
  /** Timestamp when the resource was deleted. */
529
579
  deleted_at?: string;
580
+ /** Issued certificate for completing the curricula under registration */
581
+ certificate: {
582
+ /** Unique identifier for the certificate */
583
+ id: string;
584
+ /** UUID of the organization that issued the certificate */
585
+ org_id: string;
586
+ /** ID of the recipient (user) who received the certificate */
587
+ recipient_id: string;
588
+ /** Name of the recipient (user) who received the certificate */
589
+ recipient_name: string;
590
+ /** Title of the certificate */
591
+ title: string;
592
+ /** Description of the certificate */
593
+ description: string;
594
+ /** List of issuing authorities for the certificate */
595
+ issuing_authorities: {
596
+ /** Name of the issuing authority */
597
+ name: string;
598
+ /** Role of the issuing authority */
599
+ role?: string;
600
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
601
+ signature_url?: string;
602
+ }[];
603
+ /** Date when the certificate was issued */
604
+ issued_date: string;
605
+ /** Date when the certificate expires (optional) */
606
+ expiration_date?: string;
607
+ };
530
608
  /** Additional metadata about the registration */
531
609
  metadata: {
532
610
  [key: string]: any;
@@ -726,35 +804,35 @@ type GetAcademyAdminSummaryApiResponse =
726
804
  /** status 200 A list of content with total count and registration metrics */ object;
727
805
  type GetAcademyAdminSummaryApiArg = void;
728
806
  type GetAcademyAdminRegistrationsApiResponse = {
729
- data?: {
807
+ data: {
730
808
  /** Title of the curricula */
731
- curricula_title?: string;
809
+ curricula_title: string;
732
810
  /** Type of the curricula */
733
- curricula_type?: "learning-path" | "challenge" | "certification";
811
+ curricula_type: "learning-path" | "challenge" | "certification";
734
812
  /** Permalink of the curricula */
735
- curricula_permalink?: string;
813
+ curricula_permalink: string;
736
814
  /** Unique ID of the registration */
737
- registration_id?: string;
815
+ registration_id: string;
738
816
  /** Registration status */
739
- status?: "registered" | "completed" | "failed" | "withdrawn";
817
+ status: "registered" | "completed" | "failed" | "withdrawn";
740
818
  /** When the registration was created */
741
819
  created_at?: string;
742
820
  /** ID of the user */
743
- user_id?: string;
821
+ user_id: string;
744
822
  /** First name of the user */
745
- user_first_name?: string;
823
+ user_first_name: string;
746
824
  /** Last name of the user */
747
- user_last_name?: string;
825
+ user_last_name: string;
748
826
  /** Email of the user */
749
- user_email?: string;
827
+ user_email: string;
750
828
  /** Avatar URL of the user */
751
- user_avatar_url?: string;
829
+ user_avatar_url: string;
752
830
  /** Total count for pagination */
753
- total_count?: number;
831
+ total_count: number;
754
832
  }[];
755
- total_count?: number;
756
- page_size?: number;
757
- page?: number;
833
+ total_count: number;
834
+ page_size: number;
835
+ page: number;
758
836
  };
759
837
  type GetAcademyAdminRegistrationsApiArg = {
760
838
  /** Number of results per page */
@@ -766,6 +844,37 @@ type GetAcademyAdminRegistrationsApiArg = {
766
844
  /** Filter by registration status */
767
845
  status?: string[];
768
846
  };
847
+ type GetCertificateByIdApiResponse = {
848
+ /** Unique identifier for the certificate */
849
+ id: string;
850
+ /** UUID of the organization that issued the certificate */
851
+ org_id: string;
852
+ /** ID of the recipient (user) who received the certificate */
853
+ recipient_id: string;
854
+ /** Name of the recipient (user) who received the certificate */
855
+ recipient_name: string;
856
+ /** Title of the certificate */
857
+ title: string;
858
+ /** Description of the certificate */
859
+ description: string;
860
+ /** List of issuing authorities for the certificate */
861
+ issuing_authorities: {
862
+ /** Name of the issuing authority */
863
+ name: string;
864
+ /** Role of the issuing authority */
865
+ role?: string;
866
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
867
+ signature_url?: string;
868
+ }[];
869
+ /** Date when the certificate was issued */
870
+ issued_date: string;
871
+ /** Date when the certificate expires (optional) */
872
+ expiration_date?: string;
873
+ };
874
+ type GetCertificateByIdApiArg = {
875
+ /** The ID of the certificate to retrieve */
876
+ certificateId: string;
877
+ };
769
878
  declare const useImportDesignMutation: <R extends Record<string, any> = ({
770
879
  requestId?: undefined;
771
880
  status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
@@ -4817,5 +4926,168 @@ declare const useGetAcademyAdminRegistrationsQuery: <R extends Record<string, an
4817
4926
  }) | undefined) => [R][R extends any ? 0 : never] & {
4818
4927
  refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetAcademyAdminRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyAdminRegistrationsApiResponse, "api", unknown>>;
4819
4928
  };
4929
+ declare const useGetCertificateByIdQuery: <R extends Record<string, any> = ({
4930
+ data?: undefined;
4931
+ error?: undefined;
4932
+ fulfilledTimeStamp?: undefined;
4933
+ originalArgs?: undefined;
4934
+ requestId?: undefined;
4935
+ endpointName?: string | undefined;
4936
+ startedTimeStamp?: undefined;
4937
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
4938
+ currentData?: GetCertificateByIdApiResponse | undefined;
4939
+ isLoading: false;
4940
+ isFetching: false;
4941
+ isSuccess: false;
4942
+ isError: false;
4943
+ isUninitialized: true;
4944
+ } | {
4945
+ error?: unknown;
4946
+ fulfilledTimeStamp?: number | undefined;
4947
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4948
+ requestId?: string | undefined;
4949
+ endpointName?: string | undefined;
4950
+ startedTimeStamp?: number | undefined;
4951
+ status: _reduxjs_toolkit_query.QueryStatus;
4952
+ currentData?: GetCertificateByIdApiResponse | undefined;
4953
+ isUninitialized: false;
4954
+ isSuccess: false;
4955
+ isError: false;
4956
+ isLoading: true;
4957
+ isFetching: boolean;
4958
+ data: undefined;
4959
+ } | {
4960
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4961
+ requestId?: string | undefined;
4962
+ endpointName?: string | undefined;
4963
+ startedTimeStamp?: number | undefined;
4964
+ status: _reduxjs_toolkit_query.QueryStatus;
4965
+ currentData?: GetCertificateByIdApiResponse | undefined;
4966
+ isUninitialized: false;
4967
+ isLoading: false;
4968
+ isError: false;
4969
+ isSuccess: true;
4970
+ isFetching: true;
4971
+ error: undefined;
4972
+ data: GetCertificateByIdApiResponse;
4973
+ fulfilledTimeStamp: number;
4974
+ } | {
4975
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4976
+ requestId?: string | undefined;
4977
+ endpointName?: string | undefined;
4978
+ startedTimeStamp?: number | undefined;
4979
+ status: _reduxjs_toolkit_query.QueryStatus;
4980
+ isUninitialized: false;
4981
+ isLoading: false;
4982
+ isError: false;
4983
+ isSuccess: true;
4984
+ isFetching: false;
4985
+ error: undefined;
4986
+ data: GetCertificateByIdApiResponse;
4987
+ fulfilledTimeStamp: number;
4988
+ currentData: GetCertificateByIdApiResponse;
4989
+ } | {
4990
+ data?: GetCertificateByIdApiResponse | undefined;
4991
+ fulfilledTimeStamp?: number | undefined;
4992
+ originalArgs?: GetCertificateByIdApiArg | undefined;
4993
+ requestId?: string | undefined;
4994
+ endpointName?: string | undefined;
4995
+ startedTimeStamp?: number | undefined;
4996
+ status: _reduxjs_toolkit_query.QueryStatus;
4997
+ currentData?: GetCertificateByIdApiResponse | undefined;
4998
+ isUninitialized: false;
4999
+ isLoading: false;
5000
+ isFetching: false;
5001
+ isSuccess: false;
5002
+ isError: true;
5003
+ error: unknown;
5004
+ }) & {
5005
+ status: _reduxjs_toolkit_query.QueryStatus;
5006
+ }>(arg: GetCertificateByIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
5007
+ skip?: boolean | undefined;
5008
+ refetchOnMountOrArgChange?: number | boolean | undefined;
5009
+ } & {
5010
+ skip?: boolean | undefined;
5011
+ selectFromResult?: ((state: ({
5012
+ data?: undefined;
5013
+ error?: undefined;
5014
+ fulfilledTimeStamp?: undefined;
5015
+ originalArgs?: undefined;
5016
+ requestId?: undefined;
5017
+ endpointName?: string | undefined;
5018
+ startedTimeStamp?: undefined;
5019
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5020
+ currentData?: GetCertificateByIdApiResponse | undefined;
5021
+ isLoading: false;
5022
+ isFetching: false;
5023
+ isSuccess: false;
5024
+ isError: false;
5025
+ isUninitialized: true;
5026
+ } | {
5027
+ error?: unknown;
5028
+ fulfilledTimeStamp?: number | undefined;
5029
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5030
+ requestId?: string | undefined;
5031
+ endpointName?: string | undefined;
5032
+ startedTimeStamp?: number | undefined;
5033
+ status: _reduxjs_toolkit_query.QueryStatus;
5034
+ currentData?: GetCertificateByIdApiResponse | undefined;
5035
+ isUninitialized: false;
5036
+ isSuccess: false;
5037
+ isError: false;
5038
+ isLoading: true;
5039
+ isFetching: boolean;
5040
+ data: undefined;
5041
+ } | {
5042
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5043
+ requestId?: string | undefined;
5044
+ endpointName?: string | undefined;
5045
+ startedTimeStamp?: number | undefined;
5046
+ status: _reduxjs_toolkit_query.QueryStatus;
5047
+ currentData?: GetCertificateByIdApiResponse | undefined;
5048
+ isUninitialized: false;
5049
+ isLoading: false;
5050
+ isError: false;
5051
+ isSuccess: true;
5052
+ isFetching: true;
5053
+ error: undefined;
5054
+ data: GetCertificateByIdApiResponse;
5055
+ fulfilledTimeStamp: number;
5056
+ } | {
5057
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5058
+ requestId?: string | undefined;
5059
+ endpointName?: string | undefined;
5060
+ startedTimeStamp?: number | undefined;
5061
+ status: _reduxjs_toolkit_query.QueryStatus;
5062
+ isUninitialized: false;
5063
+ isLoading: false;
5064
+ isError: false;
5065
+ isSuccess: true;
5066
+ isFetching: false;
5067
+ error: undefined;
5068
+ data: GetCertificateByIdApiResponse;
5069
+ fulfilledTimeStamp: number;
5070
+ currentData: GetCertificateByIdApiResponse;
5071
+ } | {
5072
+ data?: GetCertificateByIdApiResponse | undefined;
5073
+ fulfilledTimeStamp?: number | undefined;
5074
+ originalArgs?: GetCertificateByIdApiArg | undefined;
5075
+ requestId?: string | undefined;
5076
+ endpointName?: string | undefined;
5077
+ startedTimeStamp?: number | undefined;
5078
+ status: _reduxjs_toolkit_query.QueryStatus;
5079
+ currentData?: GetCertificateByIdApiResponse | undefined;
5080
+ isUninitialized: false;
5081
+ isLoading: false;
5082
+ isFetching: false;
5083
+ isSuccess: false;
5084
+ isError: true;
5085
+ error: unknown;
5086
+ }) & {
5087
+ status: _reduxjs_toolkit_query.QueryStatus;
5088
+ }) => R) | undefined;
5089
+ }) | undefined) => [R][R extends any ? 0 : never] & {
5090
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetCertificateByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetCertificateByIdApiResponse, "api", unknown>>;
5091
+ };
4820
5092
 
4821
- export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, 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 GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
5093
+ export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, 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 GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
package/dist/cloudApi.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var react=require('@reduxjs/toolkit/query/react');var p="Layer5-Current-Orgid";var o=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=react.createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"})}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:G,useGetApiWorkspacesQuery:x,usePostApiWorkspacesMutation:P,useGetApiWorkspacesByIdQuery:C,usePutApiWorkspacesByIdMutation:E,useDeleteApiWorkspacesByIdMutation:T,useCreateEnvironmentMutation:B,useGetEnvironmentsQuery:z,useGetMyAcademyCirriculaQuery:D,useGetAcademyCirriculaQuery:v,useGetApiAcademyByTypeAndOrgIdSlugQuery:W,useRegisterToAcademyContentMutation:O,useGetApiAcademyRegistrationsByContentIdQuery:w,useUpdateCurrentItemInProgressTrackerMutation:f,useSubmitQuizMutation:q,useGetAcademyAdminSummaryQuery:M,useGetAcademyAdminRegistrationsQuery:Q}=d;exports.cloudApi=d;exports.useCreateEnvironmentMutation=B;exports.useDeleteApiWorkspacesByIdMutation=T;exports.useGetAcademyAdminRegistrationsQuery=Q;exports.useGetAcademyAdminSummaryQuery=M;exports.useGetAcademyCirriculaQuery=v;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=W;exports.useGetApiAcademyRegistrationsByContentIdQuery=w;exports.useGetApiWorkspacesByIdQuery=C;exports.useGetApiWorkspacesQuery=x;exports.useGetEnvironmentsQuery=z;exports.useGetFeaturesByOrganizationQuery=G;exports.useGetFeaturesQuery=S;exports.useGetMyAcademyCirriculaQuery=D;exports.useGetPlansQuery=h;exports.useGetSubscriptionsQuery=b;exports.useImportDesignMutation=A;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=I;exports.usePostApiEntitlementSubscriptionsCreateMutation=R;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=k;exports.usePostApiWorkspacesMutation=P;exports.usePutApiWorkspacesByIdMutation=E;exports.useRegisterMeshmodelsMutation=_;exports.useRegisterToAcademyContentMutation=O;exports.useSubmitQuizMutation=q;exports.useUpdateCurrentItemInProgressTrackerMutation=f;
1
+ 'use strict';var react=require('@reduxjs/toolkit/query/react');var p="Layer5-Current-Orgid";var o=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=react.createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"})}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}})}),getCertificateById:t.query({query:e=>({url:`/api/academy/certificates/${e.certificateId}`})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:x,useGetApiWorkspacesQuery:G,usePostApiWorkspacesMutation:C,useGetApiWorkspacesByIdQuery:P,usePutApiWorkspacesByIdMutation:B,useDeleteApiWorkspacesByIdMutation:E,useCreateEnvironmentMutation:T,useGetEnvironmentsQuery:z,useGetMyAcademyCirriculaQuery:f,useGetAcademyCirriculaQuery:D,useGetApiAcademyByTypeAndOrgIdSlugQuery:v,useRegisterToAcademyContentMutation:W,useGetApiAcademyRegistrationsByContentIdQuery:O,useUpdateCurrentItemInProgressTrackerMutation:w,useSubmitQuizMutation:q,useGetAcademyAdminSummaryQuery:M,useGetAcademyAdminRegistrationsQuery:Q,useGetCertificateByIdQuery:F}=d;exports.cloudApi=d;exports.useCreateEnvironmentMutation=T;exports.useDeleteApiWorkspacesByIdMutation=E;exports.useGetAcademyAdminRegistrationsQuery=Q;exports.useGetAcademyAdminSummaryQuery=M;exports.useGetAcademyCirriculaQuery=D;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=v;exports.useGetApiAcademyRegistrationsByContentIdQuery=O;exports.useGetApiWorkspacesByIdQuery=P;exports.useGetApiWorkspacesQuery=G;exports.useGetCertificateByIdQuery=F;exports.useGetEnvironmentsQuery=z;exports.useGetFeaturesByOrganizationQuery=x;exports.useGetFeaturesQuery=S;exports.useGetMyAcademyCirriculaQuery=f;exports.useGetPlansQuery=h;exports.useGetSubscriptionsQuery=b;exports.useImportDesignMutation=A;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=I;exports.usePostApiEntitlementSubscriptionsCreateMutation=R;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=k;exports.usePostApiWorkspacesMutation=C;exports.usePutApiWorkspacesByIdMutation=B;exports.useRegisterMeshmodelsMutation=_;exports.useRegisterToAcademyContentMutation=W;exports.useSubmitQuizMutation=q;exports.useUpdateCurrentItemInProgressTrackerMutation=w;
package/dist/cloudApi.mjs CHANGED
@@ -1 +1 @@
1
- import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var p="Layer5-Current-Orgid";var o=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"})}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:G,useGetApiWorkspacesQuery:x,usePostApiWorkspacesMutation:P,useGetApiWorkspacesByIdQuery:C,usePutApiWorkspacesByIdMutation:E,useDeleteApiWorkspacesByIdMutation:T,useCreateEnvironmentMutation:B,useGetEnvironmentsQuery:z,useGetMyAcademyCirriculaQuery:D,useGetAcademyCirriculaQuery:v,useGetApiAcademyByTypeAndOrgIdSlugQuery:W,useRegisterToAcademyContentMutation:O,useGetApiAcademyRegistrationsByContentIdQuery:w,useUpdateCurrentItemInProgressTrackerMutation:f,useSubmitQuizMutation:q,useGetAcademyAdminSummaryQuery:M,useGetAcademyAdminRegistrationsQuery:Q}=d;export{d as cloudApi,B as useCreateEnvironmentMutation,T as useDeleteApiWorkspacesByIdMutation,Q as useGetAcademyAdminRegistrationsQuery,M as useGetAcademyAdminSummaryQuery,v as useGetAcademyCirriculaQuery,W as useGetApiAcademyByTypeAndOrgIdSlugQuery,w as useGetApiAcademyRegistrationsByContentIdQuery,C as useGetApiWorkspacesByIdQuery,x as useGetApiWorkspacesQuery,z as useGetEnvironmentsQuery,G as useGetFeaturesByOrganizationQuery,S as useGetFeaturesQuery,D as useGetMyAcademyCirriculaQuery,h as useGetPlansQuery,b as useGetSubscriptionsQuery,A as useImportDesignMutation,I as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,R as usePostApiEntitlementSubscriptionsCreateMutation,k as usePostApiEntitlementSubscriptionsWebhooksMutation,P as usePostApiWorkspacesMutation,E as usePutApiWorkspacesByIdMutation,_ as useRegisterMeshmodelsMutation,O as useRegisterToAcademyContentMutation,q as useSubmitQuizMutation,f as useUpdateCurrentItemInProgressTrackerMutation};
1
+ import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var p="Layer5-Current-Orgid";var o=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"})}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}})}),getCertificateById:t.query({query:e=>({url:`/api/academy/certificates/${e.certificateId}`})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:x,useGetApiWorkspacesQuery:G,usePostApiWorkspacesMutation:C,useGetApiWorkspacesByIdQuery:P,usePutApiWorkspacesByIdMutation:B,useDeleteApiWorkspacesByIdMutation:E,useCreateEnvironmentMutation:T,useGetEnvironmentsQuery:z,useGetMyAcademyCirriculaQuery:f,useGetAcademyCirriculaQuery:D,useGetApiAcademyByTypeAndOrgIdSlugQuery:v,useRegisterToAcademyContentMutation:W,useGetApiAcademyRegistrationsByContentIdQuery:O,useUpdateCurrentItemInProgressTrackerMutation:w,useSubmitQuizMutation:q,useGetAcademyAdminSummaryQuery:M,useGetAcademyAdminRegistrationsQuery:Q,useGetCertificateByIdQuery:F}=d;export{d as cloudApi,T as useCreateEnvironmentMutation,E as useDeleteApiWorkspacesByIdMutation,Q as useGetAcademyAdminRegistrationsQuery,M as useGetAcademyAdminSummaryQuery,D as useGetAcademyCirriculaQuery,v as useGetApiAcademyByTypeAndOrgIdSlugQuery,O as useGetApiAcademyRegistrationsByContentIdQuery,P as useGetApiWorkspacesByIdQuery,G as useGetApiWorkspacesQuery,F as useGetCertificateByIdQuery,z as useGetEnvironmentsQuery,x as useGetFeaturesByOrganizationQuery,S as useGetFeaturesQuery,f as useGetMyAcademyCirriculaQuery,h as useGetPlansQuery,b as useGetSubscriptionsQuery,A as useImportDesignMutation,I as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,R as usePostApiEntitlementSubscriptionsCreateMutation,k as usePostApiEntitlementSubscriptionsWebhooksMutation,C as usePostApiWorkspacesMutation,B as usePutApiWorkspacesByIdMutation,_ as useRegisterMeshmodelsMutation,W as useRegisterToAcademyContentMutation,q as useSubmitQuizMutation,w as useUpdateCurrentItemInProgressTrackerMutation};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshery/schemas",
3
- "version": "0.8.55",
3
+ "version": "0.8.57",
4
4
  "description": "<p style=\"text-align:center;\" align=\"center\"><a href=\"https://meshery.io\"><picture> <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-light-text-side.svg\"> <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\"> <img src=\"https://raw.githubusercontent.com/meshery/meshery/master/.github/assets/images/readme/meshery-logo-dark-text-side.svg\" alt=\"Meshery Logo\" width=\"70%\" /></picture></a><br /><br /></p> <p align=\"center\"> <a href=\"https://hub.docker.com/r/meshery/meshery\" alt=\"Docker pulls\"> <img src=\"https://img.shields.io/docker/pulls/meshery/meshery.svg\" /></a> <a href=\"https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+org%meshery+org%3Ameshery+org%3Aservice-mesh-performance+org%3Aservice-mesh-patterns+org%3A+label%3A%22help+wanted%22+\" alt=\"GitHub issues by-label\"> <img src=\"https://img.shields.io/github/issues/meshery/meshery/help%20wanted.svg?color=informational\" /></a> <a href=\"https://github.com/meshery/meshery/blob/master/LICENSE\" alt=\"LICENSE\"> <img src=\"https://img.shields.io/github/license/meshery/meshery?color=brightgreen\" /></a> <a href=\"https://artifacthub.io/packages/helm/meshery/meshery\" alt=\"Artifact Hub Meshery\"> <img src=\"https://img.shields.io/endpoint?color=brightgreen&label=Helm%20Chart&style=plastic&url=https%3A%2F%2Fartifacthub.io%2Fbadge%2Frepository%2Fartifact-hub\" /></a> <a href=\"https://goreportcard.com/report/github.com/meshery/meshery\" alt=\"Go Report Card\"> <img src=\"https://goreportcard.com/badge/github.com/meshery/meshery\" /></a> <a href=\"https://github.com/meshery/meshery/actions\" alt=\"Build Status\"> <img src=\"https://img.shields.io/github/actions/workflow/status/meshery/meshery/release-drafter.yml\" /></a> <a href=\"https://bestpractices.coreinfrastructure.org/projects/3564\" alt=\"CLI Best Practices\"> <img src=\"https://bestpractices.coreinfrastructure.org/projects/3564/badge\" /></a> <a href=\"http://discuss.meshery.io\" alt=\"Discuss Users\"> <img src=\"https://img.shields.io/discourse/users?label=discuss&logo=discourse&server=https%3A%2F%2Fdiscuss.meshery.io\" /></a> <a href=\"https://slack.meshery.io\" alt=\"Join Slack\"> <img src=\"https://img.shields.io/badge/Slack-@meshery.svg?logo=slack\" /></a> <a href=\"https://twitter.com/intent/follow?screen_name=mesheryio\" alt=\"Twitter Follow\"> <img src=\"https://img.shields.io/twitter/follow/mesheryio.svg?label=Follow+Meshery&style=social\" /></a> <a href=\"https://github.com/meshery/meshery/releases\" alt=\"Meshery Downloads\"> <img src=\"https://img.shields.io/github/downloads/meshery/meshery/total\" /></a> <!-- <a href=\"https://app.fossa.com/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery?ref=badge_shield\" alt=\"License Scan Report\"> <img src=\"https://app.fossa.com/api/projects/git%2Bgithub.com%2Fmeshery%2Fmeshery.svg?type=shield\"/></a> --> </p>",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",