@meshery/schemas 0.8.56 → 0.8.58

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;
@@ -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;
@@ -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 };