@meshery/schemas 0.8.77 → 0.8.78

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.
@@ -26,6 +26,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
26
26
  getAcademyCirricula: _reduxjs_toolkit_query.QueryDefinition<GetAcademyCirriculaApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>;
27
27
  getApiAcademyByTypeAndOrgIdSlug: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>;
28
28
  registerToAcademyContent: _reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", RegisterToAcademyContentApiResponse, "api", unknown>;
29
+ withdrawFromAcademyContent: _reduxjs_toolkit_query.MutationDefinition<WithdrawFromAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", WithdrawFromAcademyContentApiResponse, "api", unknown>;
29
30
  updateAcademyCurriculaById: _reduxjs_toolkit_query.MutationDefinition<UpdateAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateAcademyCurriculaByIdApiResponse, "api", unknown>;
30
31
  deleteAcademyCurriculaById: _reduxjs_toolkit_query.MutationDefinition<DeleteAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>;
31
32
  getAcademyCurriculaById: _reduxjs_toolkit_query.QueryDefinition<GetAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetAcademyCurriculaByIdApiResponse, "api", unknown>;
@@ -802,6 +803,60 @@ type RegisterToAcademyContentApiArg = {
802
803
  content_type?: "learning-path" | "challenge" | "certification";
803
804
  };
804
805
  };
806
+ type WithdrawFromAcademyContentApiResponse = {
807
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
808
+ id: string;
809
+ /** ID of the organization */
810
+ org_id: string;
811
+ /** ID of the course content */
812
+ content_id: string;
813
+ /** ID of the user (foreign key to User) */
814
+ user_id: string;
815
+ /** Status of the user's course registration */
816
+ status: "registered" | "completed" | "failed" | "withdrawn";
817
+ /** When the registration was updated */
818
+ updated_at: string;
819
+ /** When the registration was created */
820
+ created_at: string;
821
+ /** Timestamp when the resource was deleted. */
822
+ deleted_at?: string;
823
+ /** Issued certificate for completing the curricula under registration */
824
+ certificate: {
825
+ /** Unique identifier for the certificate */
826
+ id: string;
827
+ /** UUID of the organization that issued the certificate */
828
+ org_id: string;
829
+ /** ID of the recipient (user) who received the certificate */
830
+ recipient_id: string;
831
+ /** Name of the recipient (user) who received the certificate */
832
+ recipient_name: string;
833
+ /** Title of the certificate */
834
+ title: string;
835
+ /** Description of the certificate */
836
+ description: string;
837
+ /** List of issuing authorities for the certificate */
838
+ issuing_authorities: {
839
+ /** Name of the issuing authority */
840
+ name: string;
841
+ /** Role of the issuing authority */
842
+ role?: string;
843
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
844
+ signature_url?: string;
845
+ }[];
846
+ /** Date when the certificate was issued */
847
+ issued_date: string;
848
+ /** Date when the certificate expires (optional) */
849
+ expiration_date?: string;
850
+ };
851
+ /** Additional metadata about the registration */
852
+ metadata: {
853
+ [key: string]: any;
854
+ };
855
+ };
856
+ type WithdrawFromAcademyContentApiArg = {
857
+ /** The ID of the curricula */
858
+ id: string;
859
+ };
805
860
  type UpdateAcademyCurriculaByIdApiResponse = /** status 200 updated the curricula */ {
806
861
  /** Id of the cirricula */
807
862
  id: string;
@@ -1912,7 +1967,7 @@ declare const useImportDesignMutation: <R extends Record<string, any> = ({
1912
1967
  isSuccess: false;
1913
1968
  isError: true;
1914
1969
  })) => R) | undefined;
1915
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
1970
+ fixedCacheKey?: string | undefined;
1916
1971
  } | undefined) => readonly [(arg: ImportDesignApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<ImportDesignApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", ImportDesignApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1917
1972
  originalArgs?: ImportDesignApiArg | undefined;
1918
1973
  reset: () => void;
@@ -2073,7 +2128,7 @@ declare const useRegisterMeshmodelsMutation: <R extends Record<string, any> = ({
2073
2128
  isSuccess: false;
2074
2129
  isError: true;
2075
2130
  })) => R) | undefined;
2076
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2131
+ fixedCacheKey?: string | undefined;
2077
2132
  } | undefined) => readonly [(arg: RegisterMeshmodelsApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterMeshmodelsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", RegisterMeshmodelsApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2078
2133
  originalArgs?: RegisterMeshmodelsApiArg | undefined;
2079
2134
  reset: () => void;
@@ -2397,7 +2452,7 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:
2397
2452
  isSuccess: false;
2398
2453
  isError: true;
2399
2454
  })) => R) | undefined;
2400
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2455
+ fixedCacheKey?: string | undefined;
2401
2456
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2402
2457
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg | undefined;
2403
2458
  reset: () => void;
@@ -2558,7 +2613,7 @@ declare const usePostApiEntitlementSubscriptionsCreateMutation: <R extends Recor
2558
2613
  isSuccess: false;
2559
2614
  isError: true;
2560
2615
  })) => R) | undefined;
2561
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2616
+ fixedCacheKey?: string | undefined;
2562
2617
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsCreateApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsCreateApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiEntitlementSubscriptionsCreateApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2563
2618
  originalArgs?: PostApiEntitlementSubscriptionsCreateApiArg | undefined;
2564
2619
  reset: () => void;
@@ -2719,7 +2774,7 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation:
2719
2774
  isSuccess: false;
2720
2775
  isError: true;
2721
2776
  })) => R) | undefined;
2722
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2777
+ fixedCacheKey?: string | undefined;
2723
2778
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2724
2779
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg | undefined;
2725
2780
  reset: () => void;
@@ -2880,7 +2935,7 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMu
2880
2935
  isSuccess: false;
2881
2936
  isError: true;
2882
2937
  })) => R) | undefined;
2883
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2938
+ fixedCacheKey?: string | undefined;
2884
2939
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", object, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2885
2940
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg | undefined;
2886
2941
  reset: () => void;
@@ -3041,7 +3096,7 @@ declare const usePostApiEntitlementSubscriptionsWebhooksMutation: <R extends Rec
3041
3096
  isSuccess: false;
3042
3097
  isError: true;
3043
3098
  })) => R) | undefined;
3044
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
3099
+ fixedCacheKey?: string | undefined;
3045
3100
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsWebhooksApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsWebhooksApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3046
3101
  originalArgs?: PostApiEntitlementSubscriptionsWebhooksApiArg | undefined;
3047
3102
  reset: () => void;
@@ -3854,7 +3909,7 @@ declare const usePostApiWorkspacesMutation: <R extends Record<string, any> = ({
3854
3909
  isSuccess: false;
3855
3910
  isError: true;
3856
3911
  })) => R) | undefined;
3857
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
3912
+ fixedCacheKey?: string | undefined;
3858
3913
  } | undefined) => readonly [(arg: PostApiWorkspacesApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiWorkspacesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiWorkspacesApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3859
3914
  originalArgs?: PostApiWorkspacesApiArg | undefined;
3860
3915
  reset: () => void;
@@ -4178,7 +4233,7 @@ declare const usePutApiWorkspacesByIdMutation: <R extends Record<string, any> =
4178
4233
  isSuccess: false;
4179
4234
  isError: true;
4180
4235
  })) => R) | undefined;
4181
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
4236
+ fixedCacheKey?: string | undefined;
4182
4237
  } | undefined) => readonly [(arg: PutApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PutApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PutApiWorkspacesByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4183
4238
  originalArgs?: PutApiWorkspacesByIdApiArg | undefined;
4184
4239
  reset: () => void;
@@ -4339,7 +4394,7 @@ declare const useDeleteApiWorkspacesByIdMutation: <R extends Record<string, any>
4339
4394
  isSuccess: false;
4340
4395
  isError: true;
4341
4396
  })) => R) | undefined;
4342
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
4397
+ fixedCacheKey?: string | undefined;
4343
4398
  } | undefined) => readonly [(arg: DeleteApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4344
4399
  originalArgs?: DeleteApiWorkspacesByIdApiArg | undefined;
4345
4400
  reset: () => void;
@@ -4500,7 +4555,7 @@ declare const useCreateEnvironmentMutation: <R extends Record<string, any> = ({
4500
4555
  isSuccess: false;
4501
4556
  isError: true;
4502
4557
  })) => R) | undefined;
4503
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
4558
+ fixedCacheKey?: string | undefined;
4504
4559
  } | undefined) => readonly [(arg: CreateEnvironmentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateEnvironmentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4505
4560
  originalArgs?: CreateEnvironmentApiArg | undefined;
4506
4561
  reset: () => void;
@@ -4987,7 +5042,7 @@ declare const useCreateAcademyCurriculaMutation: <R extends Record<string, any>
4987
5042
  isSuccess: false;
4988
5043
  isError: true;
4989
5044
  })) => R) | undefined;
4990
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
5045
+ fixedCacheKey?: string | undefined;
4991
5046
  } | undefined) => readonly [(arg: CreateAcademyCurriculaApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateAcademyCurriculaApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateAcademyCurriculaApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4992
5047
  originalArgs?: CreateAcademyCurriculaApiArg | undefined;
4993
5048
  reset: () => void;
@@ -5474,11 +5529,172 @@ declare const useRegisterToAcademyContentMutation: <R extends Record<string, any
5474
5529
  isSuccess: false;
5475
5530
  isError: true;
5476
5531
  })) => R) | undefined;
5477
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
5532
+ fixedCacheKey?: string | undefined;
5478
5533
  } | undefined) => readonly [(arg: RegisterToAcademyContentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", RegisterToAcademyContentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5479
5534
  originalArgs?: RegisterToAcademyContentApiArg | undefined;
5480
5535
  reset: () => void;
5481
5536
  }];
5537
+ declare const useWithdrawFromAcademyContentMutation: <R extends Record<string, any> = ({
5538
+ requestId?: undefined;
5539
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5540
+ data?: undefined;
5541
+ error?: undefined;
5542
+ endpointName?: string | undefined;
5543
+ startedTimeStamp?: undefined;
5544
+ fulfilledTimeStamp?: undefined;
5545
+ } & {
5546
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5547
+ isUninitialized: true;
5548
+ isLoading: false;
5549
+ isSuccess: false;
5550
+ isError: false;
5551
+ }) | ({
5552
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5553
+ } & Omit<{
5554
+ requestId: string;
5555
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5556
+ error?: unknown;
5557
+ endpointName: string;
5558
+ startedTimeStamp: number;
5559
+ fulfilledTimeStamp?: number | undefined;
5560
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5561
+ requestId: string;
5562
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5563
+ error?: unknown;
5564
+ endpointName: string;
5565
+ startedTimeStamp: number;
5566
+ fulfilledTimeStamp?: number | undefined;
5567
+ }, "data" | "fulfilledTimeStamp">> & {
5568
+ error: undefined;
5569
+ } & {
5570
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5571
+ isUninitialized: false;
5572
+ isLoading: false;
5573
+ isSuccess: true;
5574
+ isError: false;
5575
+ }) | ({
5576
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5577
+ } & {
5578
+ requestId: string;
5579
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5580
+ error?: unknown;
5581
+ endpointName: string;
5582
+ startedTimeStamp: number;
5583
+ fulfilledTimeStamp?: number | undefined;
5584
+ } & {
5585
+ data?: undefined;
5586
+ } & {
5587
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5588
+ isUninitialized: false;
5589
+ isLoading: true;
5590
+ isSuccess: false;
5591
+ isError: false;
5592
+ }) | ({
5593
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5594
+ } & Omit<{
5595
+ requestId: string;
5596
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5597
+ error?: unknown;
5598
+ endpointName: string;
5599
+ startedTimeStamp: number;
5600
+ fulfilledTimeStamp?: number | undefined;
5601
+ }, "error"> & Required<Pick<{
5602
+ requestId: string;
5603
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5604
+ error?: unknown;
5605
+ endpointName: string;
5606
+ startedTimeStamp: number;
5607
+ fulfilledTimeStamp?: number | undefined;
5608
+ }, "error">> & {
5609
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5610
+ isUninitialized: false;
5611
+ isLoading: false;
5612
+ isSuccess: false;
5613
+ isError: true;
5614
+ })>(options?: {
5615
+ selectFromResult?: ((state: ({
5616
+ requestId?: undefined;
5617
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5618
+ data?: undefined;
5619
+ error?: undefined;
5620
+ endpointName?: string | undefined;
5621
+ startedTimeStamp?: undefined;
5622
+ fulfilledTimeStamp?: undefined;
5623
+ } & {
5624
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5625
+ isUninitialized: true;
5626
+ isLoading: false;
5627
+ isSuccess: false;
5628
+ isError: false;
5629
+ }) | ({
5630
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5631
+ } & Omit<{
5632
+ requestId: string;
5633
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5634
+ error?: unknown;
5635
+ endpointName: string;
5636
+ startedTimeStamp: number;
5637
+ fulfilledTimeStamp?: number | undefined;
5638
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5639
+ requestId: string;
5640
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5641
+ error?: unknown;
5642
+ endpointName: string;
5643
+ startedTimeStamp: number;
5644
+ fulfilledTimeStamp?: number | undefined;
5645
+ }, "data" | "fulfilledTimeStamp">> & {
5646
+ error: undefined;
5647
+ } & {
5648
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5649
+ isUninitialized: false;
5650
+ isLoading: false;
5651
+ isSuccess: true;
5652
+ isError: false;
5653
+ }) | ({
5654
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5655
+ } & {
5656
+ requestId: string;
5657
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5658
+ error?: unknown;
5659
+ endpointName: string;
5660
+ startedTimeStamp: number;
5661
+ fulfilledTimeStamp?: number | undefined;
5662
+ } & {
5663
+ data?: undefined;
5664
+ } & {
5665
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5666
+ isUninitialized: false;
5667
+ isLoading: true;
5668
+ isSuccess: false;
5669
+ isError: false;
5670
+ }) | ({
5671
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5672
+ } & Omit<{
5673
+ requestId: string;
5674
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5675
+ error?: unknown;
5676
+ endpointName: string;
5677
+ startedTimeStamp: number;
5678
+ fulfilledTimeStamp?: number | undefined;
5679
+ }, "error"> & Required<Pick<{
5680
+ requestId: string;
5681
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5682
+ error?: unknown;
5683
+ endpointName: string;
5684
+ startedTimeStamp: number;
5685
+ fulfilledTimeStamp?: number | undefined;
5686
+ }, "error">> & {
5687
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5688
+ isUninitialized: false;
5689
+ isLoading: false;
5690
+ isSuccess: false;
5691
+ isError: true;
5692
+ })) => R) | undefined;
5693
+ fixedCacheKey?: string | undefined;
5694
+ } | undefined) => readonly [(arg: WithdrawFromAcademyContentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<WithdrawFromAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", WithdrawFromAcademyContentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5695
+ originalArgs?: WithdrawFromAcademyContentApiArg | undefined;
5696
+ reset: () => void;
5697
+ }];
5482
5698
  declare const useUpdateAcademyCurriculaByIdMutation: <R extends Record<string, any> = ({
5483
5699
  requestId?: undefined;
5484
5700
  status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
@@ -5635,7 +5851,7 @@ declare const useUpdateAcademyCurriculaByIdMutation: <R extends Record<string, a
5635
5851
  isSuccess: false;
5636
5852
  isError: true;
5637
5853
  })) => R) | undefined;
5638
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
5854
+ fixedCacheKey?: string | undefined;
5639
5855
  } | undefined) => readonly [(arg: UpdateAcademyCurriculaByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateAcademyCurriculaByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5640
5856
  originalArgs?: UpdateAcademyCurriculaByIdApiArg | undefined;
5641
5857
  reset: () => void;
@@ -5796,7 +6012,7 @@ declare const useDeleteAcademyCurriculaByIdMutation: <R extends Record<string, a
5796
6012
  isSuccess: false;
5797
6013
  isError: true;
5798
6014
  })) => R) | undefined;
5799
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
6015
+ fixedCacheKey?: string | undefined;
5800
6016
  } | undefined) => readonly [(arg: DeleteAcademyCurriculaByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5801
6017
  originalArgs?: DeleteAcademyCurriculaByIdApiArg | undefined;
5802
6018
  reset: () => void;
@@ -6283,7 +6499,7 @@ declare const useUpdateCurrentItemInProgressTrackerMutation: <R extends Record<s
6283
6499
  isSuccess: false;
6284
6500
  isError: true;
6285
6501
  })) => R) | undefined;
6286
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
6502
+ fixedCacheKey?: string | undefined;
6287
6503
  } | undefined) => readonly [(arg: UpdateCurrentItemInProgressTrackerApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateCurrentItemInProgressTrackerApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateCurrentItemInProgressTrackerApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
6288
6504
  originalArgs?: UpdateCurrentItemInProgressTrackerApiArg | undefined;
6289
6505
  reset: () => void;
@@ -6444,7 +6660,7 @@ declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
6444
6660
  isSuccess: false;
6445
6661
  isError: true;
6446
6662
  })) => R) | undefined;
6447
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
6663
+ fixedCacheKey?: string | undefined;
6448
6664
  } | undefined) => readonly [(arg: SubmitQuizApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", SubmitQuizApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
6449
6665
  originalArgs?: SubmitQuizApiArg | undefined;
6450
6666
  reset: () => void;
@@ -7257,7 +7473,7 @@ declare const useDeleteInvitationMutation: <R extends Record<string, any> = ({
7257
7473
  isSuccess: false;
7258
7474
  isError: true;
7259
7475
  })) => R) | undefined;
7260
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
7476
+ fixedCacheKey?: string | undefined;
7261
7477
  } | undefined) => readonly [(arg: DeleteInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7262
7478
  originalArgs?: DeleteInvitationApiArg | undefined;
7263
7479
  reset: () => void;
@@ -7418,7 +7634,7 @@ declare const useUpdateInvitationMutation: <R extends Record<string, any> = ({
7418
7634
  isSuccess: false;
7419
7635
  isError: true;
7420
7636
  })) => R) | undefined;
7421
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
7637
+ fixedCacheKey?: string | undefined;
7422
7638
  } | undefined) => readonly [(arg: UpdateInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7423
7639
  originalArgs?: UpdateInvitationApiArg | undefined;
7424
7640
  reset: () => void;
@@ -7742,7 +7958,7 @@ declare const useCreateInvitationMutation: <R extends Record<string, any> = ({
7742
7958
  isSuccess: false;
7743
7959
  isError: true;
7744
7960
  })) => R) | undefined;
7745
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
7961
+ fixedCacheKey?: string | undefined;
7746
7962
  } | undefined) => readonly [(arg: CreateInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7747
7963
  originalArgs?: CreateInvitationApiArg | undefined;
7748
7964
  reset: () => void;
@@ -7903,7 +8119,7 @@ declare const useAcceptInvitationMutation: <R extends Record<string, any> = ({
7903
8119
  isSuccess: false;
7904
8120
  isError: true;
7905
8121
  })) => R) | undefined;
7906
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
8122
+ fixedCacheKey?: string | undefined;
7907
8123
  } | undefined) => readonly [(arg: AcceptInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<AcceptInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", AcceptInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7908
8124
  originalArgs?: AcceptInvitationApiArg | undefined;
7909
8125
  reset: () => void;
@@ -8064,7 +8280,7 @@ declare const useDeleteBadgeByIdMutation: <R extends Record<string, any> = ({
8064
8280
  isSuccess: false;
8065
8281
  isError: true;
8066
8282
  })) => R) | undefined;
8067
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
8283
+ fixedCacheKey?: string | undefined;
8068
8284
  } | undefined) => readonly [(arg: DeleteBadgeByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteBadgeByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
8069
8285
  originalArgs?: DeleteBadgeByIdApiArg | undefined;
8070
8286
  reset: () => void;
@@ -8388,10 +8604,10 @@ declare const useCreateOrUpdateBadgeMutation: <R extends Record<string, any> = (
8388
8604
  isSuccess: false;
8389
8605
  isError: true;
8390
8606
  })) => R) | undefined;
8391
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
8607
+ fixedCacheKey?: string | undefined;
8392
8608
  } | undefined) => readonly [(arg: CreateOrUpdateBadgeApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateOrUpdateBadgeApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateOrUpdateBadgeApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
8393
8609
  originalArgs?: CreateOrUpdateBadgeApiArg | undefined;
8394
8610
  reset: () => void;
8395
8611
  }];
8396
8612
 
8397
- export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, type DeleteAcademyCurriculaByIdApiArg, type DeleteAcademyCurriculaByIdApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type DeleteBadgeByIdApiArg, type DeleteBadgeByIdApiResponse, type DeleteInvitationApiArg, type DeleteInvitationApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetAcademyCurriculaByIdApiArg, type GetAcademyCurriculaByIdApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetBadgeByIdApiArg, type GetBadgeByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationApiArg, type GetInvitationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateAcademyCurriculaByIdApiArg, type UpdateAcademyCurriculaByIdApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteAcademyCurriculaByIdMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetAcademyCurriculaByIdQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation };
8613
+ export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, type DeleteAcademyCurriculaByIdApiArg, type DeleteAcademyCurriculaByIdApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type DeleteBadgeByIdApiArg, type DeleteBadgeByIdApiResponse, type DeleteInvitationApiArg, type DeleteInvitationApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetAcademyCurriculaByIdApiArg, type GetAcademyCurriculaByIdApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetBadgeByIdApiArg, type GetBadgeByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationApiArg, type GetInvitationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateAcademyCurriculaByIdApiArg, type UpdateAcademyCurriculaByIdApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, type WithdrawFromAcademyContentApiArg, type WithdrawFromAcademyContentApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteAcademyCurriculaByIdMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetAcademyCurriculaByIdQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation, useWithdrawFromAcademyContentMutation };
@@ -26,6 +26,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
26
26
  getAcademyCirricula: _reduxjs_toolkit_query.QueryDefinition<GetAcademyCirriculaApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>;
27
27
  getApiAcademyByTypeAndOrgIdSlug: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>;
28
28
  registerToAcademyContent: _reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", RegisterToAcademyContentApiResponse, "api", unknown>;
29
+ withdrawFromAcademyContent: _reduxjs_toolkit_query.MutationDefinition<WithdrawFromAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", WithdrawFromAcademyContentApiResponse, "api", unknown>;
29
30
  updateAcademyCurriculaById: _reduxjs_toolkit_query.MutationDefinition<UpdateAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateAcademyCurriculaByIdApiResponse, "api", unknown>;
30
31
  deleteAcademyCurriculaById: _reduxjs_toolkit_query.MutationDefinition<DeleteAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>;
31
32
  getAcademyCurriculaById: _reduxjs_toolkit_query.QueryDefinition<GetAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", GetAcademyCurriculaByIdApiResponse, "api", unknown>;
@@ -802,6 +803,60 @@ type RegisterToAcademyContentApiArg = {
802
803
  content_type?: "learning-path" | "challenge" | "certification";
803
804
  };
804
805
  };
806
+ type WithdrawFromAcademyContentApiResponse = {
807
+ /** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
808
+ id: string;
809
+ /** ID of the organization */
810
+ org_id: string;
811
+ /** ID of the course content */
812
+ content_id: string;
813
+ /** ID of the user (foreign key to User) */
814
+ user_id: string;
815
+ /** Status of the user's course registration */
816
+ status: "registered" | "completed" | "failed" | "withdrawn";
817
+ /** When the registration was updated */
818
+ updated_at: string;
819
+ /** When the registration was created */
820
+ created_at: string;
821
+ /** Timestamp when the resource was deleted. */
822
+ deleted_at?: string;
823
+ /** Issued certificate for completing the curricula under registration */
824
+ certificate: {
825
+ /** Unique identifier for the certificate */
826
+ id: string;
827
+ /** UUID of the organization that issued the certificate */
828
+ org_id: string;
829
+ /** ID of the recipient (user) who received the certificate */
830
+ recipient_id: string;
831
+ /** Name of the recipient (user) who received the certificate */
832
+ recipient_name: string;
833
+ /** Title of the certificate */
834
+ title: string;
835
+ /** Description of the certificate */
836
+ description: string;
837
+ /** List of issuing authorities for the certificate */
838
+ issuing_authorities: {
839
+ /** Name of the issuing authority */
840
+ name: string;
841
+ /** Role of the issuing authority */
842
+ role?: string;
843
+ /** URL to the signature image of the issuing authority should be a publicly accessible URL and transparent PNG or SVG format */
844
+ signature_url?: string;
845
+ }[];
846
+ /** Date when the certificate was issued */
847
+ issued_date: string;
848
+ /** Date when the certificate expires (optional) */
849
+ expiration_date?: string;
850
+ };
851
+ /** Additional metadata about the registration */
852
+ metadata: {
853
+ [key: string]: any;
854
+ };
855
+ };
856
+ type WithdrawFromAcademyContentApiArg = {
857
+ /** The ID of the curricula */
858
+ id: string;
859
+ };
805
860
  type UpdateAcademyCurriculaByIdApiResponse = /** status 200 updated the curricula */ {
806
861
  /** Id of the cirricula */
807
862
  id: string;
@@ -1912,7 +1967,7 @@ declare const useImportDesignMutation: <R extends Record<string, any> = ({
1912
1967
  isSuccess: false;
1913
1968
  isError: true;
1914
1969
  })) => R) | undefined;
1915
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
1970
+ fixedCacheKey?: string | undefined;
1916
1971
  } | undefined) => readonly [(arg: ImportDesignApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<ImportDesignApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", ImportDesignApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1917
1972
  originalArgs?: ImportDesignApiArg | undefined;
1918
1973
  reset: () => void;
@@ -2073,7 +2128,7 @@ declare const useRegisterMeshmodelsMutation: <R extends Record<string, any> = ({
2073
2128
  isSuccess: false;
2074
2129
  isError: true;
2075
2130
  })) => R) | undefined;
2076
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2131
+ fixedCacheKey?: string | undefined;
2077
2132
  } | undefined) => readonly [(arg: RegisterMeshmodelsApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterMeshmodelsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", RegisterMeshmodelsApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2078
2133
  originalArgs?: RegisterMeshmodelsApiArg | undefined;
2079
2134
  reset: () => void;
@@ -2397,7 +2452,7 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:
2397
2452
  isSuccess: false;
2398
2453
  isError: true;
2399
2454
  })) => R) | undefined;
2400
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2455
+ fixedCacheKey?: string | undefined;
2401
2456
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2402
2457
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg | undefined;
2403
2458
  reset: () => void;
@@ -2558,7 +2613,7 @@ declare const usePostApiEntitlementSubscriptionsCreateMutation: <R extends Recor
2558
2613
  isSuccess: false;
2559
2614
  isError: true;
2560
2615
  })) => R) | undefined;
2561
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2616
+ fixedCacheKey?: string | undefined;
2562
2617
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsCreateApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsCreateApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiEntitlementSubscriptionsCreateApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2563
2618
  originalArgs?: PostApiEntitlementSubscriptionsCreateApiArg | undefined;
2564
2619
  reset: () => void;
@@ -2719,7 +2774,7 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation:
2719
2774
  isSuccess: false;
2720
2775
  isError: true;
2721
2776
  })) => R) | undefined;
2722
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2777
+ fixedCacheKey?: string | undefined;
2723
2778
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2724
2779
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg | undefined;
2725
2780
  reset: () => void;
@@ -2880,7 +2935,7 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMu
2880
2935
  isSuccess: false;
2881
2936
  isError: true;
2882
2937
  })) => R) | undefined;
2883
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
2938
+ fixedCacheKey?: string | undefined;
2884
2939
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", object, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2885
2940
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg | undefined;
2886
2941
  reset: () => void;
@@ -3041,7 +3096,7 @@ declare const usePostApiEntitlementSubscriptionsWebhooksMutation: <R extends Rec
3041
3096
  isSuccess: false;
3042
3097
  isError: true;
3043
3098
  })) => R) | undefined;
3044
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
3099
+ fixedCacheKey?: string | undefined;
3045
3100
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsWebhooksApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsWebhooksApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3046
3101
  originalArgs?: PostApiEntitlementSubscriptionsWebhooksApiArg | undefined;
3047
3102
  reset: () => void;
@@ -3854,7 +3909,7 @@ declare const usePostApiWorkspacesMutation: <R extends Record<string, any> = ({
3854
3909
  isSuccess: false;
3855
3910
  isError: true;
3856
3911
  })) => R) | undefined;
3857
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
3912
+ fixedCacheKey?: string | undefined;
3858
3913
  } | undefined) => readonly [(arg: PostApiWorkspacesApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiWorkspacesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PostApiWorkspacesApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3859
3914
  originalArgs?: PostApiWorkspacesApiArg | undefined;
3860
3915
  reset: () => void;
@@ -4178,7 +4233,7 @@ declare const usePutApiWorkspacesByIdMutation: <R extends Record<string, any> =
4178
4233
  isSuccess: false;
4179
4234
  isError: true;
4180
4235
  })) => R) | undefined;
4181
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
4236
+ fixedCacheKey?: string | undefined;
4182
4237
  } | undefined) => readonly [(arg: PutApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PutApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", PutApiWorkspacesByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4183
4238
  originalArgs?: PutApiWorkspacesByIdApiArg | undefined;
4184
4239
  reset: () => void;
@@ -4339,7 +4394,7 @@ declare const useDeleteApiWorkspacesByIdMutation: <R extends Record<string, any>
4339
4394
  isSuccess: false;
4340
4395
  isError: true;
4341
4396
  })) => R) | undefined;
4342
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
4397
+ fixedCacheKey?: string | undefined;
4343
4398
  } | undefined) => readonly [(arg: DeleteApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4344
4399
  originalArgs?: DeleteApiWorkspacesByIdApiArg | undefined;
4345
4400
  reset: () => void;
@@ -4500,7 +4555,7 @@ declare const useCreateEnvironmentMutation: <R extends Record<string, any> = ({
4500
4555
  isSuccess: false;
4501
4556
  isError: true;
4502
4557
  })) => R) | undefined;
4503
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
4558
+ fixedCacheKey?: string | undefined;
4504
4559
  } | undefined) => readonly [(arg: CreateEnvironmentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateEnvironmentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4505
4560
  originalArgs?: CreateEnvironmentApiArg | undefined;
4506
4561
  reset: () => void;
@@ -4987,7 +5042,7 @@ declare const useCreateAcademyCurriculaMutation: <R extends Record<string, any>
4987
5042
  isSuccess: false;
4988
5043
  isError: true;
4989
5044
  })) => R) | undefined;
4990
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
5045
+ fixedCacheKey?: string | undefined;
4991
5046
  } | undefined) => readonly [(arg: CreateAcademyCurriculaApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateAcademyCurriculaApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateAcademyCurriculaApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4992
5047
  originalArgs?: CreateAcademyCurriculaApiArg | undefined;
4993
5048
  reset: () => void;
@@ -5474,11 +5529,172 @@ declare const useRegisterToAcademyContentMutation: <R extends Record<string, any
5474
5529
  isSuccess: false;
5475
5530
  isError: true;
5476
5531
  })) => R) | undefined;
5477
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
5532
+ fixedCacheKey?: string | undefined;
5478
5533
  } | undefined) => readonly [(arg: RegisterToAcademyContentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", RegisterToAcademyContentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5479
5534
  originalArgs?: RegisterToAcademyContentApiArg | undefined;
5480
5535
  reset: () => void;
5481
5536
  }];
5537
+ declare const useWithdrawFromAcademyContentMutation: <R extends Record<string, any> = ({
5538
+ requestId?: undefined;
5539
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5540
+ data?: undefined;
5541
+ error?: undefined;
5542
+ endpointName?: string | undefined;
5543
+ startedTimeStamp?: undefined;
5544
+ fulfilledTimeStamp?: undefined;
5545
+ } & {
5546
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5547
+ isUninitialized: true;
5548
+ isLoading: false;
5549
+ isSuccess: false;
5550
+ isError: false;
5551
+ }) | ({
5552
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5553
+ } & Omit<{
5554
+ requestId: string;
5555
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5556
+ error?: unknown;
5557
+ endpointName: string;
5558
+ startedTimeStamp: number;
5559
+ fulfilledTimeStamp?: number | undefined;
5560
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5561
+ requestId: string;
5562
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5563
+ error?: unknown;
5564
+ endpointName: string;
5565
+ startedTimeStamp: number;
5566
+ fulfilledTimeStamp?: number | undefined;
5567
+ }, "data" | "fulfilledTimeStamp">> & {
5568
+ error: undefined;
5569
+ } & {
5570
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5571
+ isUninitialized: false;
5572
+ isLoading: false;
5573
+ isSuccess: true;
5574
+ isError: false;
5575
+ }) | ({
5576
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5577
+ } & {
5578
+ requestId: string;
5579
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5580
+ error?: unknown;
5581
+ endpointName: string;
5582
+ startedTimeStamp: number;
5583
+ fulfilledTimeStamp?: number | undefined;
5584
+ } & {
5585
+ data?: undefined;
5586
+ } & {
5587
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5588
+ isUninitialized: false;
5589
+ isLoading: true;
5590
+ isSuccess: false;
5591
+ isError: false;
5592
+ }) | ({
5593
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5594
+ } & Omit<{
5595
+ requestId: string;
5596
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5597
+ error?: unknown;
5598
+ endpointName: string;
5599
+ startedTimeStamp: number;
5600
+ fulfilledTimeStamp?: number | undefined;
5601
+ }, "error"> & Required<Pick<{
5602
+ requestId: string;
5603
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5604
+ error?: unknown;
5605
+ endpointName: string;
5606
+ startedTimeStamp: number;
5607
+ fulfilledTimeStamp?: number | undefined;
5608
+ }, "error">> & {
5609
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5610
+ isUninitialized: false;
5611
+ isLoading: false;
5612
+ isSuccess: false;
5613
+ isError: true;
5614
+ })>(options?: {
5615
+ selectFromResult?: ((state: ({
5616
+ requestId?: undefined;
5617
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5618
+ data?: undefined;
5619
+ error?: undefined;
5620
+ endpointName?: string | undefined;
5621
+ startedTimeStamp?: undefined;
5622
+ fulfilledTimeStamp?: undefined;
5623
+ } & {
5624
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5625
+ isUninitialized: true;
5626
+ isLoading: false;
5627
+ isSuccess: false;
5628
+ isError: false;
5629
+ }) | ({
5630
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5631
+ } & Omit<{
5632
+ requestId: string;
5633
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5634
+ error?: unknown;
5635
+ endpointName: string;
5636
+ startedTimeStamp: number;
5637
+ fulfilledTimeStamp?: number | undefined;
5638
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5639
+ requestId: string;
5640
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5641
+ error?: unknown;
5642
+ endpointName: string;
5643
+ startedTimeStamp: number;
5644
+ fulfilledTimeStamp?: number | undefined;
5645
+ }, "data" | "fulfilledTimeStamp">> & {
5646
+ error: undefined;
5647
+ } & {
5648
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5649
+ isUninitialized: false;
5650
+ isLoading: false;
5651
+ isSuccess: true;
5652
+ isError: false;
5653
+ }) | ({
5654
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5655
+ } & {
5656
+ requestId: string;
5657
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5658
+ error?: unknown;
5659
+ endpointName: string;
5660
+ startedTimeStamp: number;
5661
+ fulfilledTimeStamp?: number | undefined;
5662
+ } & {
5663
+ data?: undefined;
5664
+ } & {
5665
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5666
+ isUninitialized: false;
5667
+ isLoading: true;
5668
+ isSuccess: false;
5669
+ isError: false;
5670
+ }) | ({
5671
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5672
+ } & Omit<{
5673
+ requestId: string;
5674
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5675
+ error?: unknown;
5676
+ endpointName: string;
5677
+ startedTimeStamp: number;
5678
+ fulfilledTimeStamp?: number | undefined;
5679
+ }, "error"> & Required<Pick<{
5680
+ requestId: string;
5681
+ data?: WithdrawFromAcademyContentApiResponse | undefined;
5682
+ error?: unknown;
5683
+ endpointName: string;
5684
+ startedTimeStamp: number;
5685
+ fulfilledTimeStamp?: number | undefined;
5686
+ }, "error">> & {
5687
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5688
+ isUninitialized: false;
5689
+ isLoading: false;
5690
+ isSuccess: false;
5691
+ isError: true;
5692
+ })) => R) | undefined;
5693
+ fixedCacheKey?: string | undefined;
5694
+ } | undefined) => readonly [(arg: WithdrawFromAcademyContentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<WithdrawFromAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", WithdrawFromAcademyContentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5695
+ originalArgs?: WithdrawFromAcademyContentApiArg | undefined;
5696
+ reset: () => void;
5697
+ }];
5482
5698
  declare const useUpdateAcademyCurriculaByIdMutation: <R extends Record<string, any> = ({
5483
5699
  requestId?: undefined;
5484
5700
  status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
@@ -5635,7 +5851,7 @@ declare const useUpdateAcademyCurriculaByIdMutation: <R extends Record<string, a
5635
5851
  isSuccess: false;
5636
5852
  isError: true;
5637
5853
  })) => R) | undefined;
5638
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
5854
+ fixedCacheKey?: string | undefined;
5639
5855
  } | undefined) => readonly [(arg: UpdateAcademyCurriculaByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateAcademyCurriculaByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5640
5856
  originalArgs?: UpdateAcademyCurriculaByIdApiArg | undefined;
5641
5857
  reset: () => void;
@@ -5796,7 +6012,7 @@ declare const useDeleteAcademyCurriculaByIdMutation: <R extends Record<string, a
5796
6012
  isSuccess: false;
5797
6013
  isError: true;
5798
6014
  })) => R) | undefined;
5799
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
6015
+ fixedCacheKey?: string | undefined;
5800
6016
  } | undefined) => readonly [(arg: DeleteAcademyCurriculaByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteAcademyCurriculaByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5801
6017
  originalArgs?: DeleteAcademyCurriculaByIdApiArg | undefined;
5802
6018
  reset: () => void;
@@ -6283,7 +6499,7 @@ declare const useUpdateCurrentItemInProgressTrackerMutation: <R extends Record<s
6283
6499
  isSuccess: false;
6284
6500
  isError: true;
6285
6501
  })) => R) | undefined;
6286
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
6502
+ fixedCacheKey?: string | undefined;
6287
6503
  } | undefined) => readonly [(arg: UpdateCurrentItemInProgressTrackerApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateCurrentItemInProgressTrackerApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateCurrentItemInProgressTrackerApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
6288
6504
  originalArgs?: UpdateCurrentItemInProgressTrackerApiArg | undefined;
6289
6505
  reset: () => void;
@@ -6444,7 +6660,7 @@ declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
6444
6660
  isSuccess: false;
6445
6661
  isError: true;
6446
6662
  })) => R) | undefined;
6447
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
6663
+ fixedCacheKey?: string | undefined;
6448
6664
  } | undefined) => readonly [(arg: SubmitQuizApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", SubmitQuizApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
6449
6665
  originalArgs?: SubmitQuizApiArg | undefined;
6450
6666
  reset: () => void;
@@ -7257,7 +7473,7 @@ declare const useDeleteInvitationMutation: <R extends Record<string, any> = ({
7257
7473
  isSuccess: false;
7258
7474
  isError: true;
7259
7475
  })) => R) | undefined;
7260
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
7476
+ fixedCacheKey?: string | undefined;
7261
7477
  } | undefined) => readonly [(arg: DeleteInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7262
7478
  originalArgs?: DeleteInvitationApiArg | undefined;
7263
7479
  reset: () => void;
@@ -7418,7 +7634,7 @@ declare const useUpdateInvitationMutation: <R extends Record<string, any> = ({
7418
7634
  isSuccess: false;
7419
7635
  isError: true;
7420
7636
  })) => R) | undefined;
7421
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
7637
+ fixedCacheKey?: string | undefined;
7422
7638
  } | undefined) => readonly [(arg: UpdateInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", UpdateInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7423
7639
  originalArgs?: UpdateInvitationApiArg | undefined;
7424
7640
  reset: () => void;
@@ -7742,7 +7958,7 @@ declare const useCreateInvitationMutation: <R extends Record<string, any> = ({
7742
7958
  isSuccess: false;
7743
7959
  isError: true;
7744
7960
  })) => R) | undefined;
7745
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
7961
+ fixedCacheKey?: string | undefined;
7746
7962
  } | undefined) => readonly [(arg: CreateInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7747
7963
  originalArgs?: CreateInvitationApiArg | undefined;
7748
7964
  reset: () => void;
@@ -7903,7 +8119,7 @@ declare const useAcceptInvitationMutation: <R extends Record<string, any> = ({
7903
8119
  isSuccess: false;
7904
8120
  isError: true;
7905
8121
  })) => R) | undefined;
7906
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
8122
+ fixedCacheKey?: string | undefined;
7907
8123
  } | undefined) => readonly [(arg: AcceptInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<AcceptInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", AcceptInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
7908
8124
  originalArgs?: AcceptInvitationApiArg | undefined;
7909
8125
  reset: () => void;
@@ -8064,7 +8280,7 @@ declare const useDeleteBadgeByIdMutation: <R extends Record<string, any> = ({
8064
8280
  isSuccess: false;
8065
8281
  isError: true;
8066
8282
  })) => R) | undefined;
8067
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
8283
+ fixedCacheKey?: string | undefined;
8068
8284
  } | undefined) => readonly [(arg: DeleteBadgeByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteBadgeByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
8069
8285
  originalArgs?: DeleteBadgeByIdApiArg | undefined;
8070
8286
  reset: () => void;
@@ -8388,10 +8604,10 @@ declare const useCreateOrUpdateBadgeMutation: <R extends Record<string, any> = (
8388
8604
  isSuccess: false;
8389
8605
  isError: true;
8390
8606
  })) => R) | undefined;
8391
- fixedCacheKey?: string | undefined; /** When the cirricula was last updated */
8607
+ fixedCacheKey?: string | undefined;
8392
8608
  } | undefined) => readonly [(arg: CreateOrUpdateBadgeApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateOrUpdateBadgeApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, "design_other" | "model_other" | "subscription_subscription" | "subscription_other" | "plan_Plans" | "feature_Features" | "workspace_workspaces" | "environment_environments" | "Academy_API_Academy" | "Academy_API_other" | "invitation_Invitation" | "badge_Badge", CreateOrUpdateBadgeApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
8393
8609
  originalArgs?: CreateOrUpdateBadgeApiArg | undefined;
8394
8610
  reset: () => void;
8395
8611
  }];
8396
8612
 
8397
- export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, type DeleteAcademyCurriculaByIdApiArg, type DeleteAcademyCurriculaByIdApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type DeleteBadgeByIdApiArg, type DeleteBadgeByIdApiResponse, type DeleteInvitationApiArg, type DeleteInvitationApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetAcademyCurriculaByIdApiArg, type GetAcademyCurriculaByIdApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetBadgeByIdApiArg, type GetBadgeByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationApiArg, type GetInvitationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateAcademyCurriculaByIdApiArg, type UpdateAcademyCurriculaByIdApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteAcademyCurriculaByIdMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetAcademyCurriculaByIdQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation };
8613
+ export { type AcceptInvitationApiArg, type AcceptInvitationApiResponse, type CreateAcademyCurriculaApiArg, type CreateAcademyCurriculaApiResponse, type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type CreateOrUpdateBadgeApiArg, type CreateOrUpdateBadgeApiResponse, type DeleteAcademyCurriculaByIdApiArg, type DeleteAcademyCurriculaByIdApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type DeleteBadgeByIdApiArg, type DeleteBadgeByIdApiResponse, type DeleteInvitationApiArg, type DeleteInvitationApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetAcademyCurriculaByIdApiArg, type GetAcademyCurriculaByIdApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetBadgeByIdApiArg, type GetBadgeByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationApiArg, type GetInvitationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradeApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateAcademyCurriculaByIdApiArg, type UpdateAcademyCurriculaByIdApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, type UpdateInvitationApiArg, type UpdateInvitationApiResponse, type WithdrawFromAcademyContentApiArg, type WithdrawFromAcademyContentApiResponse, addTagTypes, injectedRtkApi as cloudApi, useAcceptInvitationMutation, useCreateAcademyCurriculaMutation, useCreateEnvironmentMutation, useCreateInvitationMutation, useCreateOrUpdateBadgeMutation, useDeleteAcademyCurriculaByIdMutation, useDeleteApiWorkspacesByIdMutation, useDeleteBadgeByIdMutation, useDeleteInvitationMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetAcademyCurriculaByIdQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetBadgeByIdQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateAcademyCurriculaByIdMutation, useUpdateCurrentItemInProgressTrackerMutation, useUpdateInvitationMutation, useWithdrawFromAcademyContentMutation };
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=["design_other","model_other","subscription_subscription","subscription_other","plan_Plans","feature_Features","workspace_workspaces","environment_environments","Academy_API_Academy","Academy_API_other","invitation_Invitation","badge_Badge"],c=a.enhanceEndpoints({addTagTypes:d}).injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body}),invalidatesTags:["design_other"]}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body}),invalidatesTags:["model_other"]}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}}),providesTags:["subscription_subscription"]}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgrade:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgrade`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgradePreview:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgradePreview`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"}),providesTags:["plan_Plans"]}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"}),providesTags:["feature_Features"]}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`}),providesTags:["feature_Features"]}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body}),invalidatesTags:["environment_environments"]}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}}),providesTags:["environment_environments"]}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}}),providesTags:["Academy_API_Academy"]}),createAcademyCurricula:t.mutation({query:e=>({url:"/api/academy/curricula",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),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,sort:e.sort,order:e.order,pagesize:e.pagesize,page:e.page}}),providesTags:["Academy_API_Academy"]}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`}),providesTags:["Academy_API_other"]}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),updateAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),deleteAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"DELETE"}),invalidatesTags:["Academy_API_Academy"]}),getAcademyCurriculaById:t.query({query:e=>({url:`/api/academy/curricula/${e.id}`}),providesTags:["Academy_API_Academy"]}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}}),providesTags:["Academy_API_Academy"]}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"}),providesTags:["Academy_API_Academy"]}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}}),providesTags:["Academy_API_Academy"]}),getCertificateById:t.query({query:e=>({url:`/api/academy/certificates/${e.certificateId}`}),providesTags:["Academy_API_Academy"]}),getInvitation:t.query({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`}),providesTags:["invitation_Invitation"]}),deleteInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"DELETE"}),invalidatesTags:["invitation_Invitation"]}),updateInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"PUT",body:e.body}),invalidatesTags:["invitation_Invitation"]}),getInvitations:t.query({query:()=>({url:"/api/organizations/invitations"}),providesTags:["invitation_Invitation"]}),createInvitation:t.mutation({query:e=>({url:"/api/organizations/invitations",method:"POST",body:e.body}),invalidatesTags:["invitation_Invitation"]}),acceptInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}/accept`,method:"POST"}),invalidatesTags:["invitation_Invitation"]}),deleteBadgeById:t.mutation({query:e=>({url:`/api/organizations/badges/${e.id}`,method:"DELETE"}),invalidatesTags:["badge_Badge"]}),getBadgeById:t.query({query:e=>({url:`/api/organizations/badges/${e.id}`}),providesTags:["badge_Badge"]}),createOrUpdateBadge:t.mutation({query:e=>({url:"/api/organizations/badges",method:"POST",body:e.body}),invalidatesTags:["badge_Badge"]})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:b,useGetSubscriptionsQuery:I,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:v,usePostApiEntitlementSubscriptionsCreateMutation:h,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation:R,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:B,useGetPlansQuery:x,useGetFeaturesQuery:T,useGetFeaturesByOrganizationQuery:P,useGetApiWorkspacesQuery:C,usePostApiWorkspacesMutation:S,useGetApiWorkspacesByIdQuery:G,usePutApiWorkspacesByIdMutation:w,useDeleteApiWorkspacesByIdMutation:E,useCreateEnvironmentMutation:f,useGetEnvironmentsQuery:D,useGetMyAcademyCirriculaQuery:z,useCreateAcademyCurriculaMutation:q,useGetAcademyCirriculaQuery:O,useGetApiAcademyByTypeAndOrgIdSlugQuery:U,useRegisterToAcademyContentMutation:W,useUpdateAcademyCurriculaByIdMutation:M,useDeleteAcademyCurriculaByIdMutation:Q,useGetAcademyCurriculaByIdQuery:F,useGetApiAcademyRegistrationsByContentIdQuery:$,useUpdateCurrentItemInProgressTrackerMutation:j,useSubmitQuizMutation:L,useGetAcademyAdminSummaryQuery:N,useGetAcademyAdminRegistrationsQuery:H,useGetCertificateByIdQuery:Y,useGetInvitationQuery:K,useDeleteInvitationMutation:V,useUpdateInvitationMutation:X,useGetInvitationsQuery:J,useCreateInvitationMutation:Z,useAcceptInvitationMutation:ee,useDeleteBadgeByIdMutation:te,useGetBadgeByIdQuery:ie,useCreateOrUpdateBadgeMutation:re}=c;exports.addTagTypes=d;exports.cloudApi=c;exports.useAcceptInvitationMutation=ee;exports.useCreateAcademyCurriculaMutation=q;exports.useCreateEnvironmentMutation=f;exports.useCreateInvitationMutation=Z;exports.useCreateOrUpdateBadgeMutation=re;exports.useDeleteAcademyCurriculaByIdMutation=Q;exports.useDeleteApiWorkspacesByIdMutation=E;exports.useDeleteBadgeByIdMutation=te;exports.useDeleteInvitationMutation=V;exports.useGetAcademyAdminRegistrationsQuery=H;exports.useGetAcademyAdminSummaryQuery=N;exports.useGetAcademyCirriculaQuery=O;exports.useGetAcademyCurriculaByIdQuery=F;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=U;exports.useGetApiAcademyRegistrationsByContentIdQuery=$;exports.useGetApiWorkspacesByIdQuery=G;exports.useGetApiWorkspacesQuery=C;exports.useGetBadgeByIdQuery=ie;exports.useGetCertificateByIdQuery=Y;exports.useGetEnvironmentsQuery=D;exports.useGetFeaturesByOrganizationQuery=P;exports.useGetFeaturesQuery=T;exports.useGetInvitationQuery=K;exports.useGetInvitationsQuery=J;exports.useGetMyAcademyCirriculaQuery=z;exports.useGetPlansQuery=x;exports.useGetSubscriptionsQuery=I;exports.useImportDesignMutation=A;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=v;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation=R;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation=k;exports.usePostApiEntitlementSubscriptionsCreateMutation=h;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=B;exports.usePostApiWorkspacesMutation=S;exports.usePutApiWorkspacesByIdMutation=w;exports.useRegisterMeshmodelsMutation=b;exports.useRegisterToAcademyContentMutation=W;exports.useSubmitQuizMutation=L;exports.useUpdateAcademyCurriculaByIdMutation=M;exports.useUpdateCurrentItemInProgressTrackerMutation=j;exports.useUpdateInvitationMutation=X;
1
+ 'use strict';var react=require('@reduxjs/toolkit/query/react');var o="Layer5-Current-Orgid";var p=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(o,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await p(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=["design_other","model_other","subscription_subscription","subscription_other","plan_Plans","feature_Features","workspace_workspaces","environment_environments","Academy_API_Academy","Academy_API_other","invitation_Invitation","badge_Badge"],c=a.enhanceEndpoints({addTagTypes:d}).injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body}),invalidatesTags:["design_other"]}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body}),invalidatesTags:["model_other"]}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}}),providesTags:["subscription_subscription"]}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgrade:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgrade`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgradePreview:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgradePreview`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"}),providesTags:["plan_Plans"]}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"}),providesTags:["feature_Features"]}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`}),providesTags:["feature_Features"]}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body}),invalidatesTags:["environment_environments"]}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}}),providesTags:["environment_environments"]}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}}),providesTags:["Academy_API_Academy"]}),createAcademyCurricula:t.mutation({query:e=>({url:"/api/academy/curricula",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),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,sort:e.sort,order:e.order,pagesize:e.pagesize,page:e.page}}),providesTags:["Academy_API_Academy"]}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`}),providesTags:["Academy_API_other"]}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),withdrawFromAcademyContent:t.mutation({query:e=>({url:`/api/academy/curricula/registrations/${e.id}/withdraw`,method:"POST"}),invalidatesTags:["Academy_API_Academy"]}),updateAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),deleteAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"DELETE"}),invalidatesTags:["Academy_API_Academy"]}),getAcademyCurriculaById:t.query({query:e=>({url:`/api/academy/curricula/${e.id}`}),providesTags:["Academy_API_Academy"]}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}}),providesTags:["Academy_API_Academy"]}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"}),providesTags:["Academy_API_Academy"]}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}}),providesTags:["Academy_API_Academy"]}),getCertificateById:t.query({query:e=>({url:`/api/academy/certificates/${e.certificateId}`}),providesTags:["Academy_API_Academy"]}),getInvitation:t.query({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`}),providesTags:["invitation_Invitation"]}),deleteInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"DELETE"}),invalidatesTags:["invitation_Invitation"]}),updateInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"PUT",body:e.body}),invalidatesTags:["invitation_Invitation"]}),getInvitations:t.query({query:()=>({url:"/api/organizations/invitations"}),providesTags:["invitation_Invitation"]}),createInvitation:t.mutation({query:e=>({url:"/api/organizations/invitations",method:"POST",body:e.body}),invalidatesTags:["invitation_Invitation"]}),acceptInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}/accept`,method:"POST"}),invalidatesTags:["invitation_Invitation"]}),deleteBadgeById:t.mutation({query:e=>({url:`/api/organizations/badges/${e.id}`,method:"DELETE"}),invalidatesTags:["badge_Badge"]}),getBadgeById:t.query({query:e=>({url:`/api/organizations/badges/${e.id}`}),providesTags:["badge_Badge"]}),createOrUpdateBadge:t.mutation({query:e=>({url:"/api/organizations/badges",method:"POST",body:e.body}),invalidatesTags:["badge_Badge"]})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:b,useGetSubscriptionsQuery:I,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:v,usePostApiEntitlementSubscriptionsCreateMutation:h,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation:R,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:B,useGetPlansQuery:x,useGetFeaturesQuery:T,useGetFeaturesByOrganizationQuery:C,useGetApiWorkspacesQuery:P,usePostApiWorkspacesMutation:S,useGetApiWorkspacesByIdQuery:w,usePutApiWorkspacesByIdMutation:G,useDeleteApiWorkspacesByIdMutation:E,useCreateEnvironmentMutation:f,useGetEnvironmentsQuery:D,useGetMyAcademyCirriculaQuery:z,useCreateAcademyCurriculaMutation:q,useGetAcademyCirriculaQuery:O,useGetApiAcademyByTypeAndOrgIdSlugQuery:U,useRegisterToAcademyContentMutation:W,useWithdrawFromAcademyContentMutation:M,useUpdateAcademyCurriculaByIdMutation:F,useDeleteAcademyCurriculaByIdMutation:Q,useGetAcademyCurriculaByIdQuery:$,useGetApiAcademyRegistrationsByContentIdQuery:j,useUpdateCurrentItemInProgressTrackerMutation:L,useSubmitQuizMutation:N,useGetAcademyAdminSummaryQuery:H,useGetAcademyAdminRegistrationsQuery:Y,useGetCertificateByIdQuery:K,useGetInvitationQuery:V,useDeleteInvitationMutation:X,useUpdateInvitationMutation:J,useGetInvitationsQuery:Z,useCreateInvitationMutation:ee,useAcceptInvitationMutation:te,useDeleteBadgeByIdMutation:ie,useGetBadgeByIdQuery:re,useCreateOrUpdateBadgeMutation:ne}=c;exports.addTagTypes=d;exports.cloudApi=c;exports.useAcceptInvitationMutation=te;exports.useCreateAcademyCurriculaMutation=q;exports.useCreateEnvironmentMutation=f;exports.useCreateInvitationMutation=ee;exports.useCreateOrUpdateBadgeMutation=ne;exports.useDeleteAcademyCurriculaByIdMutation=Q;exports.useDeleteApiWorkspacesByIdMutation=E;exports.useDeleteBadgeByIdMutation=ie;exports.useDeleteInvitationMutation=X;exports.useGetAcademyAdminRegistrationsQuery=Y;exports.useGetAcademyAdminSummaryQuery=H;exports.useGetAcademyCirriculaQuery=O;exports.useGetAcademyCurriculaByIdQuery=$;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=U;exports.useGetApiAcademyRegistrationsByContentIdQuery=j;exports.useGetApiWorkspacesByIdQuery=w;exports.useGetApiWorkspacesQuery=P;exports.useGetBadgeByIdQuery=re;exports.useGetCertificateByIdQuery=K;exports.useGetEnvironmentsQuery=D;exports.useGetFeaturesByOrganizationQuery=C;exports.useGetFeaturesQuery=T;exports.useGetInvitationQuery=V;exports.useGetInvitationsQuery=Z;exports.useGetMyAcademyCirriculaQuery=z;exports.useGetPlansQuery=x;exports.useGetSubscriptionsQuery=I;exports.useImportDesignMutation=A;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=v;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation=R;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation=k;exports.usePostApiEntitlementSubscriptionsCreateMutation=h;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=B;exports.usePostApiWorkspacesMutation=S;exports.usePutApiWorkspacesByIdMutation=G;exports.useRegisterMeshmodelsMutation=b;exports.useRegisterToAcademyContentMutation=W;exports.useSubmitQuizMutation=N;exports.useUpdateAcademyCurriculaByIdMutation=F;exports.useUpdateCurrentItemInProgressTrackerMutation=L;exports.useUpdateInvitationMutation=J;exports.useWithdrawFromAcademyContentMutation=M;
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=["design_other","model_other","subscription_subscription","subscription_other","plan_Plans","feature_Features","workspace_workspaces","environment_environments","Academy_API_Academy","Academy_API_other","invitation_Invitation","badge_Badge"],c=a.enhanceEndpoints({addTagTypes:d}).injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body}),invalidatesTags:["design_other"]}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body}),invalidatesTags:["model_other"]}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}}),providesTags:["subscription_subscription"]}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgrade:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgrade`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgradePreview:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgradePreview`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"}),providesTags:["plan_Plans"]}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"}),providesTags:["feature_Features"]}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`}),providesTags:["feature_Features"]}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body}),invalidatesTags:["environment_environments"]}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}}),providesTags:["environment_environments"]}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}}),providesTags:["Academy_API_Academy"]}),createAcademyCurricula:t.mutation({query:e=>({url:"/api/academy/curricula",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),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,sort:e.sort,order:e.order,pagesize:e.pagesize,page:e.page}}),providesTags:["Academy_API_Academy"]}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`}),providesTags:["Academy_API_other"]}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),updateAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),deleteAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"DELETE"}),invalidatesTags:["Academy_API_Academy"]}),getAcademyCurriculaById:t.query({query:e=>({url:`/api/academy/curricula/${e.id}`}),providesTags:["Academy_API_Academy"]}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}}),providesTags:["Academy_API_Academy"]}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"}),providesTags:["Academy_API_Academy"]}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}}),providesTags:["Academy_API_Academy"]}),getCertificateById:t.query({query:e=>({url:`/api/academy/certificates/${e.certificateId}`}),providesTags:["Academy_API_Academy"]}),getInvitation:t.query({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`}),providesTags:["invitation_Invitation"]}),deleteInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"DELETE"}),invalidatesTags:["invitation_Invitation"]}),updateInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"PUT",body:e.body}),invalidatesTags:["invitation_Invitation"]}),getInvitations:t.query({query:()=>({url:"/api/organizations/invitations"}),providesTags:["invitation_Invitation"]}),createInvitation:t.mutation({query:e=>({url:"/api/organizations/invitations",method:"POST",body:e.body}),invalidatesTags:["invitation_Invitation"]}),acceptInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}/accept`,method:"POST"}),invalidatesTags:["invitation_Invitation"]}),deleteBadgeById:t.mutation({query:e=>({url:`/api/organizations/badges/${e.id}`,method:"DELETE"}),invalidatesTags:["badge_Badge"]}),getBadgeById:t.query({query:e=>({url:`/api/organizations/badges/${e.id}`}),providesTags:["badge_Badge"]}),createOrUpdateBadge:t.mutation({query:e=>({url:"/api/organizations/badges",method:"POST",body:e.body}),invalidatesTags:["badge_Badge"]})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:b,useGetSubscriptionsQuery:I,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:v,usePostApiEntitlementSubscriptionsCreateMutation:h,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation:R,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:B,useGetPlansQuery:x,useGetFeaturesQuery:T,useGetFeaturesByOrganizationQuery:P,useGetApiWorkspacesQuery:C,usePostApiWorkspacesMutation:S,useGetApiWorkspacesByIdQuery:G,usePutApiWorkspacesByIdMutation:w,useDeleteApiWorkspacesByIdMutation:E,useCreateEnvironmentMutation:f,useGetEnvironmentsQuery:D,useGetMyAcademyCirriculaQuery:z,useCreateAcademyCurriculaMutation:q,useGetAcademyCirriculaQuery:O,useGetApiAcademyByTypeAndOrgIdSlugQuery:U,useRegisterToAcademyContentMutation:W,useUpdateAcademyCurriculaByIdMutation:M,useDeleteAcademyCurriculaByIdMutation:Q,useGetAcademyCurriculaByIdQuery:F,useGetApiAcademyRegistrationsByContentIdQuery:$,useUpdateCurrentItemInProgressTrackerMutation:j,useSubmitQuizMutation:L,useGetAcademyAdminSummaryQuery:N,useGetAcademyAdminRegistrationsQuery:H,useGetCertificateByIdQuery:Y,useGetInvitationQuery:K,useDeleteInvitationMutation:V,useUpdateInvitationMutation:X,useGetInvitationsQuery:J,useCreateInvitationMutation:Z,useAcceptInvitationMutation:ee,useDeleteBadgeByIdMutation:te,useGetBadgeByIdQuery:ie,useCreateOrUpdateBadgeMutation:re}=c;export{d as addTagTypes,c as cloudApi,ee as useAcceptInvitationMutation,q as useCreateAcademyCurriculaMutation,f as useCreateEnvironmentMutation,Z as useCreateInvitationMutation,re as useCreateOrUpdateBadgeMutation,Q as useDeleteAcademyCurriculaByIdMutation,E as useDeleteApiWorkspacesByIdMutation,te as useDeleteBadgeByIdMutation,V as useDeleteInvitationMutation,H as useGetAcademyAdminRegistrationsQuery,N as useGetAcademyAdminSummaryQuery,O as useGetAcademyCirriculaQuery,F as useGetAcademyCurriculaByIdQuery,U as useGetApiAcademyByTypeAndOrgIdSlugQuery,$ as useGetApiAcademyRegistrationsByContentIdQuery,G as useGetApiWorkspacesByIdQuery,C as useGetApiWorkspacesQuery,ie as useGetBadgeByIdQuery,Y as useGetCertificateByIdQuery,D as useGetEnvironmentsQuery,P as useGetFeaturesByOrganizationQuery,T as useGetFeaturesQuery,K as useGetInvitationQuery,J as useGetInvitationsQuery,z as useGetMyAcademyCirriculaQuery,x as useGetPlansQuery,I as useGetSubscriptionsQuery,A as useImportDesignMutation,v as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,R as usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation,k as usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation,h as usePostApiEntitlementSubscriptionsCreateMutation,B as usePostApiEntitlementSubscriptionsWebhooksMutation,S as usePostApiWorkspacesMutation,w as usePutApiWorkspacesByIdMutation,b as useRegisterMeshmodelsMutation,W as useRegisterToAcademyContentMutation,L as useSubmitQuizMutation,M as useUpdateAcademyCurriculaByIdMutation,j as useUpdateCurrentItemInProgressTrackerMutation,X as useUpdateInvitationMutation};
1
+ import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var o="Layer5-Current-Orgid";var p=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(o,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await p(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=["design_other","model_other","subscription_subscription","subscription_other","plan_Plans","feature_Features","workspace_workspaces","environment_environments","Academy_API_Academy","Academy_API_other","invitation_Invitation","badge_Badge"],c=a.enhanceEndpoints({addTagTypes:d}).injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body}),invalidatesTags:["design_other"]}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body}),invalidatesTags:["model_other"]}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}}),providesTags:["subscription_subscription"]}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgrade:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgrade`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsBySubscriptionIdUpgradePreview:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/upgradePreview`,method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body}),invalidatesTags:["subscription_other"]}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"}),providesTags:["plan_Plans"]}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"}),providesTags:["feature_Features"]}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`}),providesTags:["feature_Features"]}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"}),providesTags:["workspace_workspaces"]}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body}),invalidatesTags:["workspace_workspaces"]}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`}),providesTags:["workspace_workspaces"]}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["workspace_workspaces"]}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"}),invalidatesTags:["workspace_workspaces"]}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body}),invalidatesTags:["environment_environments"]}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}}),providesTags:["environment_environments"]}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}}),providesTags:["Academy_API_Academy"]}),createAcademyCurricula:t.mutation({query:e=>({url:"/api/academy/curricula",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),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,sort:e.sort,order:e.order,pagesize:e.pagesize,page:e.page}}),providesTags:["Academy_API_Academy"]}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`}),providesTags:["Academy_API_other"]}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),withdrawFromAcademyContent:t.mutation({query:e=>({url:`/api/academy/curricula/registrations/${e.id}/withdraw`,method:"POST"}),invalidatesTags:["Academy_API_Academy"]}),updateAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"PUT",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),deleteAcademyCurriculaById:t.mutation({query:e=>({url:`/api/academy/curricula/${e.id}`,method:"DELETE"}),invalidatesTags:["Academy_API_Academy"]}),getAcademyCurriculaById:t.query({query:e=>({url:`/api/academy/curricula/${e.id}`}),providesTags:["Academy_API_Academy"]}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}}),providesTags:["Academy_API_Academy"]}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body}),invalidatesTags:["Academy_API_Academy"]}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"}),providesTags:["Academy_API_Academy"]}),getAcademyAdminRegistrations:t.query({query:e=>({url:"/api/academy/admin/registrations",params:{pagesize:e.pagesize,page:e.page,content_type:e.contentType,status:e.status}}),providesTags:["Academy_API_Academy"]}),getCertificateById:t.query({query:e=>({url:`/api/academy/certificates/${e.certificateId}`}),providesTags:["Academy_API_Academy"]}),getInvitation:t.query({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`}),providesTags:["invitation_Invitation"]}),deleteInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"DELETE"}),invalidatesTags:["invitation_Invitation"]}),updateInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}`,method:"PUT",body:e.body}),invalidatesTags:["invitation_Invitation"]}),getInvitations:t.query({query:()=>({url:"/api/organizations/invitations"}),providesTags:["invitation_Invitation"]}),createInvitation:t.mutation({query:e=>({url:"/api/organizations/invitations",method:"POST",body:e.body}),invalidatesTags:["invitation_Invitation"]}),acceptInvitation:t.mutation({query:e=>({url:`/api/organizations/invitations/${e.invitationId}/accept`,method:"POST"}),invalidatesTags:["invitation_Invitation"]}),deleteBadgeById:t.mutation({query:e=>({url:`/api/organizations/badges/${e.id}`,method:"DELETE"}),invalidatesTags:["badge_Badge"]}),getBadgeById:t.query({query:e=>({url:`/api/organizations/badges/${e.id}`}),providesTags:["badge_Badge"]}),createOrUpdateBadge:t.mutation({query:e=>({url:"/api/organizations/badges",method:"POST",body:e.body}),invalidatesTags:["badge_Badge"]})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:b,useGetSubscriptionsQuery:I,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:v,usePostApiEntitlementSubscriptionsCreateMutation:h,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation:R,usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:B,useGetPlansQuery:x,useGetFeaturesQuery:T,useGetFeaturesByOrganizationQuery:C,useGetApiWorkspacesQuery:P,usePostApiWorkspacesMutation:S,useGetApiWorkspacesByIdQuery:w,usePutApiWorkspacesByIdMutation:G,useDeleteApiWorkspacesByIdMutation:E,useCreateEnvironmentMutation:f,useGetEnvironmentsQuery:D,useGetMyAcademyCirriculaQuery:z,useCreateAcademyCurriculaMutation:q,useGetAcademyCirriculaQuery:O,useGetApiAcademyByTypeAndOrgIdSlugQuery:U,useRegisterToAcademyContentMutation:W,useWithdrawFromAcademyContentMutation:M,useUpdateAcademyCurriculaByIdMutation:F,useDeleteAcademyCurriculaByIdMutation:Q,useGetAcademyCurriculaByIdQuery:$,useGetApiAcademyRegistrationsByContentIdQuery:j,useUpdateCurrentItemInProgressTrackerMutation:L,useSubmitQuizMutation:N,useGetAcademyAdminSummaryQuery:H,useGetAcademyAdminRegistrationsQuery:Y,useGetCertificateByIdQuery:K,useGetInvitationQuery:V,useDeleteInvitationMutation:X,useUpdateInvitationMutation:J,useGetInvitationsQuery:Z,useCreateInvitationMutation:ee,useAcceptInvitationMutation:te,useDeleteBadgeByIdMutation:ie,useGetBadgeByIdQuery:re,useCreateOrUpdateBadgeMutation:ne}=c;export{d as addTagTypes,c as cloudApi,te as useAcceptInvitationMutation,q as useCreateAcademyCurriculaMutation,f as useCreateEnvironmentMutation,ee as useCreateInvitationMutation,ne as useCreateOrUpdateBadgeMutation,Q as useDeleteAcademyCurriculaByIdMutation,E as useDeleteApiWorkspacesByIdMutation,ie as useDeleteBadgeByIdMutation,X as useDeleteInvitationMutation,Y as useGetAcademyAdminRegistrationsQuery,H as useGetAcademyAdminSummaryQuery,O as useGetAcademyCirriculaQuery,$ as useGetAcademyCurriculaByIdQuery,U as useGetApiAcademyByTypeAndOrgIdSlugQuery,j as useGetApiAcademyRegistrationsByContentIdQuery,w as useGetApiWorkspacesByIdQuery,P as useGetApiWorkspacesQuery,re as useGetBadgeByIdQuery,K as useGetCertificateByIdQuery,D as useGetEnvironmentsQuery,C as useGetFeaturesByOrganizationQuery,T as useGetFeaturesQuery,V as useGetInvitationQuery,Z as useGetInvitationsQuery,z as useGetMyAcademyCirriculaQuery,x as useGetPlansQuery,I as useGetSubscriptionsQuery,A as useImportDesignMutation,v as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,R as usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradeMutation,k as usePostApiEntitlementSubscriptionsBySubscriptionIdUpgradePreviewMutation,h as usePostApiEntitlementSubscriptionsCreateMutation,B as usePostApiEntitlementSubscriptionsWebhooksMutation,S as usePostApiWorkspacesMutation,G as usePutApiWorkspacesByIdMutation,b as useRegisterMeshmodelsMutation,W as useRegisterToAcademyContentMutation,N as useSubmitQuizMutation,F as useUpdateAcademyCurriculaByIdMutation,L as useUpdateCurrentItemInProgressTrackerMutation,J as useUpdateInvitationMutation,M as useWithdrawFromAcademyContentMutation};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshery/schemas",
3
- "version": "0.8.77",
3
+ "version": "0.8.78",
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",