@meshery/schemas 0.8.53 → 0.8.54
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.
- package/dist/cloudApi.d.mts +172 -1
- package/dist/cloudApi.d.ts +172 -1
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/mesheryApi.d.mts +82 -82
- package/dist/mesheryApi.d.ts +82 -82
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -25,6 +25,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
|
|
|
25
25
|
getApiAcademyRegistrationsByContentId: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>;
|
|
26
26
|
updateCurrentItemInProgressTracker: _reduxjs_toolkit_query.MutationDefinition<UpdateCurrentItemInProgressTrackerApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, UpdateCurrentItemInProgressTrackerApiResponse, "api", unknown>;
|
|
27
27
|
submitQuiz: _reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, SubmitQuizApiResponse, "api", unknown>;
|
|
28
|
+
getAcademyAdminSummary: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>;
|
|
28
29
|
}, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
|
|
29
30
|
|
|
30
31
|
type ImportDesignApiResponse = {
|
|
@@ -559,6 +560,8 @@ type UpdateCurrentItemInProgressTrackerApiResponse =
|
|
|
559
560
|
};
|
|
560
561
|
quiz: {
|
|
561
562
|
id: string;
|
|
563
|
+
/** Organization ID that owns this quiz */
|
|
564
|
+
orgId: string;
|
|
562
565
|
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
563
566
|
final: boolean;
|
|
564
567
|
title: string;
|
|
@@ -655,6 +658,8 @@ type SubmitQuizApiResponse = {
|
|
|
655
658
|
};
|
|
656
659
|
quiz: {
|
|
657
660
|
id: string;
|
|
661
|
+
/** Organization ID that owns this quiz */
|
|
662
|
+
orgId: string;
|
|
658
663
|
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
659
664
|
final: boolean;
|
|
660
665
|
title: string;
|
|
@@ -716,6 +721,9 @@ type SubmitQuizApiArg = {
|
|
|
716
721
|
}[];
|
|
717
722
|
};
|
|
718
723
|
};
|
|
724
|
+
type GetAcademyAdminSummaryApiResponse =
|
|
725
|
+
/** status 200 A list of content with total count and registration metrics */ object;
|
|
726
|
+
type GetAcademyAdminSummaryApiArg = void;
|
|
719
727
|
declare const useImportDesignMutation: <R extends Record<string, any> = ({
|
|
720
728
|
requestId?: undefined;
|
|
721
729
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
@@ -4441,5 +4449,168 @@ declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
|
|
|
4441
4449
|
originalArgs?: SubmitQuizApiArg | undefined;
|
|
4442
4450
|
reset: () => void;
|
|
4443
4451
|
}];
|
|
4452
|
+
declare const useGetAcademyAdminSummaryQuery: <R extends Record<string, any> = ({
|
|
4453
|
+
data?: undefined;
|
|
4454
|
+
error?: undefined;
|
|
4455
|
+
fulfilledTimeStamp?: undefined;
|
|
4456
|
+
originalArgs?: undefined;
|
|
4457
|
+
requestId?: undefined;
|
|
4458
|
+
endpointName?: string | undefined;
|
|
4459
|
+
startedTimeStamp?: undefined;
|
|
4460
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4461
|
+
currentData?: object | undefined;
|
|
4462
|
+
isLoading: false;
|
|
4463
|
+
isFetching: false;
|
|
4464
|
+
isSuccess: false;
|
|
4465
|
+
isError: false;
|
|
4466
|
+
isUninitialized: true;
|
|
4467
|
+
} | {
|
|
4468
|
+
error?: unknown;
|
|
4469
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4470
|
+
originalArgs?: void | undefined;
|
|
4471
|
+
requestId?: string | undefined;
|
|
4472
|
+
endpointName?: string | undefined;
|
|
4473
|
+
startedTimeStamp?: number | undefined;
|
|
4474
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4475
|
+
currentData?: object | undefined;
|
|
4476
|
+
isUninitialized: false;
|
|
4477
|
+
isSuccess: false;
|
|
4478
|
+
isError: false;
|
|
4479
|
+
isLoading: true;
|
|
4480
|
+
isFetching: boolean;
|
|
4481
|
+
data: undefined;
|
|
4482
|
+
} | {
|
|
4483
|
+
originalArgs?: void | undefined;
|
|
4484
|
+
requestId?: string | undefined;
|
|
4485
|
+
endpointName?: string | undefined;
|
|
4486
|
+
startedTimeStamp?: number | undefined;
|
|
4487
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4488
|
+
currentData?: object | undefined;
|
|
4489
|
+
isUninitialized: false;
|
|
4490
|
+
isLoading: false;
|
|
4491
|
+
isError: false;
|
|
4492
|
+
isSuccess: true;
|
|
4493
|
+
isFetching: true;
|
|
4494
|
+
error: undefined;
|
|
4495
|
+
data: object;
|
|
4496
|
+
fulfilledTimeStamp: number;
|
|
4497
|
+
} | {
|
|
4498
|
+
originalArgs?: void | undefined;
|
|
4499
|
+
requestId?: string | undefined;
|
|
4500
|
+
endpointName?: string | undefined;
|
|
4501
|
+
startedTimeStamp?: number | undefined;
|
|
4502
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4503
|
+
isUninitialized: false;
|
|
4504
|
+
isLoading: false;
|
|
4505
|
+
isError: false;
|
|
4506
|
+
isSuccess: true;
|
|
4507
|
+
isFetching: false;
|
|
4508
|
+
error: undefined;
|
|
4509
|
+
data: object;
|
|
4510
|
+
fulfilledTimeStamp: number;
|
|
4511
|
+
currentData: object;
|
|
4512
|
+
} | {
|
|
4513
|
+
data?: object | undefined;
|
|
4514
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4515
|
+
originalArgs?: void | undefined;
|
|
4516
|
+
requestId?: string | undefined;
|
|
4517
|
+
endpointName?: string | undefined;
|
|
4518
|
+
startedTimeStamp?: number | undefined;
|
|
4519
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4520
|
+
currentData?: object | undefined;
|
|
4521
|
+
isUninitialized: false;
|
|
4522
|
+
isLoading: false;
|
|
4523
|
+
isFetching: false;
|
|
4524
|
+
isSuccess: false;
|
|
4525
|
+
isError: true;
|
|
4526
|
+
error: unknown;
|
|
4527
|
+
}) & {
|
|
4528
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4529
|
+
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
4530
|
+
skip?: boolean | undefined;
|
|
4531
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
4532
|
+
} & {
|
|
4533
|
+
skip?: boolean | undefined;
|
|
4534
|
+
selectFromResult?: ((state: ({
|
|
4535
|
+
data?: undefined;
|
|
4536
|
+
error?: undefined;
|
|
4537
|
+
fulfilledTimeStamp?: undefined;
|
|
4538
|
+
originalArgs?: undefined;
|
|
4539
|
+
requestId?: undefined;
|
|
4540
|
+
endpointName?: string | undefined;
|
|
4541
|
+
startedTimeStamp?: undefined;
|
|
4542
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4543
|
+
currentData?: object | undefined;
|
|
4544
|
+
isLoading: false;
|
|
4545
|
+
isFetching: false;
|
|
4546
|
+
isSuccess: false;
|
|
4547
|
+
isError: false;
|
|
4548
|
+
isUninitialized: true;
|
|
4549
|
+
} | {
|
|
4550
|
+
error?: unknown;
|
|
4551
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4552
|
+
originalArgs?: void | undefined;
|
|
4553
|
+
requestId?: string | undefined;
|
|
4554
|
+
endpointName?: string | undefined;
|
|
4555
|
+
startedTimeStamp?: number | undefined;
|
|
4556
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4557
|
+
currentData?: object | undefined;
|
|
4558
|
+
isUninitialized: false;
|
|
4559
|
+
isSuccess: false;
|
|
4560
|
+
isError: false;
|
|
4561
|
+
isLoading: true;
|
|
4562
|
+
isFetching: boolean;
|
|
4563
|
+
data: undefined;
|
|
4564
|
+
} | {
|
|
4565
|
+
originalArgs?: void | undefined;
|
|
4566
|
+
requestId?: string | undefined;
|
|
4567
|
+
endpointName?: string | undefined;
|
|
4568
|
+
startedTimeStamp?: number | undefined;
|
|
4569
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4570
|
+
currentData?: object | undefined;
|
|
4571
|
+
isUninitialized: false;
|
|
4572
|
+
isLoading: false;
|
|
4573
|
+
isError: false;
|
|
4574
|
+
isSuccess: true;
|
|
4575
|
+
isFetching: true;
|
|
4576
|
+
error: undefined;
|
|
4577
|
+
data: object;
|
|
4578
|
+
fulfilledTimeStamp: number;
|
|
4579
|
+
} | {
|
|
4580
|
+
originalArgs?: void | undefined;
|
|
4581
|
+
requestId?: string | undefined;
|
|
4582
|
+
endpointName?: string | undefined;
|
|
4583
|
+
startedTimeStamp?: number | undefined;
|
|
4584
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4585
|
+
isUninitialized: false;
|
|
4586
|
+
isLoading: false;
|
|
4587
|
+
isError: false;
|
|
4588
|
+
isSuccess: true;
|
|
4589
|
+
isFetching: false;
|
|
4590
|
+
error: undefined;
|
|
4591
|
+
data: object;
|
|
4592
|
+
fulfilledTimeStamp: number;
|
|
4593
|
+
currentData: object;
|
|
4594
|
+
} | {
|
|
4595
|
+
data?: object | undefined;
|
|
4596
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4597
|
+
originalArgs?: void | undefined;
|
|
4598
|
+
requestId?: string | undefined;
|
|
4599
|
+
endpointName?: string | undefined;
|
|
4600
|
+
startedTimeStamp?: number | undefined;
|
|
4601
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4602
|
+
currentData?: object | undefined;
|
|
4603
|
+
isUninitialized: false;
|
|
4604
|
+
isLoading: false;
|
|
4605
|
+
isFetching: false;
|
|
4606
|
+
isSuccess: false;
|
|
4607
|
+
isError: true;
|
|
4608
|
+
error: unknown;
|
|
4609
|
+
}) & {
|
|
4610
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4611
|
+
}) => R) | undefined;
|
|
4612
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
4613
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>>;
|
|
4614
|
+
};
|
|
4444
4615
|
|
|
4445
|
-
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
|
|
4616
|
+
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
|
package/dist/cloudApi.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
|
|
|
25
25
|
getApiAcademyRegistrationsByContentId: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>;
|
|
26
26
|
updateCurrentItemInProgressTracker: _reduxjs_toolkit_query.MutationDefinition<UpdateCurrentItemInProgressTrackerApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, UpdateCurrentItemInProgressTrackerApiResponse, "api", unknown>;
|
|
27
27
|
submitQuiz: _reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, SubmitQuizApiResponse, "api", unknown>;
|
|
28
|
+
getAcademyAdminSummary: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>;
|
|
28
29
|
}, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
|
|
29
30
|
|
|
30
31
|
type ImportDesignApiResponse = {
|
|
@@ -559,6 +560,8 @@ type UpdateCurrentItemInProgressTrackerApiResponse =
|
|
|
559
560
|
};
|
|
560
561
|
quiz: {
|
|
561
562
|
id: string;
|
|
563
|
+
/** Organization ID that owns this quiz */
|
|
564
|
+
orgId: string;
|
|
562
565
|
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
563
566
|
final: boolean;
|
|
564
567
|
title: string;
|
|
@@ -655,6 +658,8 @@ type SubmitQuizApiResponse = {
|
|
|
655
658
|
};
|
|
656
659
|
quiz: {
|
|
657
660
|
id: string;
|
|
661
|
+
/** Organization ID that owns this quiz */
|
|
662
|
+
orgId: string;
|
|
658
663
|
/** Indicates if the quiz is final . i.e this quiz will used to evaluate the completion of parent section eg course , module , learning path */
|
|
659
664
|
final: boolean;
|
|
660
665
|
title: string;
|
|
@@ -716,6 +721,9 @@ type SubmitQuizApiArg = {
|
|
|
716
721
|
}[];
|
|
717
722
|
};
|
|
718
723
|
};
|
|
724
|
+
type GetAcademyAdminSummaryApiResponse =
|
|
725
|
+
/** status 200 A list of content with total count and registration metrics */ object;
|
|
726
|
+
type GetAcademyAdminSummaryApiArg = void;
|
|
719
727
|
declare const useImportDesignMutation: <R extends Record<string, any> = ({
|
|
720
728
|
requestId?: undefined;
|
|
721
729
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
@@ -4441,5 +4449,168 @@ declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
|
|
|
4441
4449
|
originalArgs?: SubmitQuizApiArg | undefined;
|
|
4442
4450
|
reset: () => void;
|
|
4443
4451
|
}];
|
|
4452
|
+
declare const useGetAcademyAdminSummaryQuery: <R extends Record<string, any> = ({
|
|
4453
|
+
data?: undefined;
|
|
4454
|
+
error?: undefined;
|
|
4455
|
+
fulfilledTimeStamp?: undefined;
|
|
4456
|
+
originalArgs?: undefined;
|
|
4457
|
+
requestId?: undefined;
|
|
4458
|
+
endpointName?: string | undefined;
|
|
4459
|
+
startedTimeStamp?: undefined;
|
|
4460
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4461
|
+
currentData?: object | undefined;
|
|
4462
|
+
isLoading: false;
|
|
4463
|
+
isFetching: false;
|
|
4464
|
+
isSuccess: false;
|
|
4465
|
+
isError: false;
|
|
4466
|
+
isUninitialized: true;
|
|
4467
|
+
} | {
|
|
4468
|
+
error?: unknown;
|
|
4469
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4470
|
+
originalArgs?: void | undefined;
|
|
4471
|
+
requestId?: string | undefined;
|
|
4472
|
+
endpointName?: string | undefined;
|
|
4473
|
+
startedTimeStamp?: number | undefined;
|
|
4474
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4475
|
+
currentData?: object | undefined;
|
|
4476
|
+
isUninitialized: false;
|
|
4477
|
+
isSuccess: false;
|
|
4478
|
+
isError: false;
|
|
4479
|
+
isLoading: true;
|
|
4480
|
+
isFetching: boolean;
|
|
4481
|
+
data: undefined;
|
|
4482
|
+
} | {
|
|
4483
|
+
originalArgs?: void | undefined;
|
|
4484
|
+
requestId?: string | undefined;
|
|
4485
|
+
endpointName?: string | undefined;
|
|
4486
|
+
startedTimeStamp?: number | undefined;
|
|
4487
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4488
|
+
currentData?: object | undefined;
|
|
4489
|
+
isUninitialized: false;
|
|
4490
|
+
isLoading: false;
|
|
4491
|
+
isError: false;
|
|
4492
|
+
isSuccess: true;
|
|
4493
|
+
isFetching: true;
|
|
4494
|
+
error: undefined;
|
|
4495
|
+
data: object;
|
|
4496
|
+
fulfilledTimeStamp: number;
|
|
4497
|
+
} | {
|
|
4498
|
+
originalArgs?: void | undefined;
|
|
4499
|
+
requestId?: string | undefined;
|
|
4500
|
+
endpointName?: string | undefined;
|
|
4501
|
+
startedTimeStamp?: number | undefined;
|
|
4502
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4503
|
+
isUninitialized: false;
|
|
4504
|
+
isLoading: false;
|
|
4505
|
+
isError: false;
|
|
4506
|
+
isSuccess: true;
|
|
4507
|
+
isFetching: false;
|
|
4508
|
+
error: undefined;
|
|
4509
|
+
data: object;
|
|
4510
|
+
fulfilledTimeStamp: number;
|
|
4511
|
+
currentData: object;
|
|
4512
|
+
} | {
|
|
4513
|
+
data?: object | undefined;
|
|
4514
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4515
|
+
originalArgs?: void | undefined;
|
|
4516
|
+
requestId?: string | undefined;
|
|
4517
|
+
endpointName?: string | undefined;
|
|
4518
|
+
startedTimeStamp?: number | undefined;
|
|
4519
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4520
|
+
currentData?: object | undefined;
|
|
4521
|
+
isUninitialized: false;
|
|
4522
|
+
isLoading: false;
|
|
4523
|
+
isFetching: false;
|
|
4524
|
+
isSuccess: false;
|
|
4525
|
+
isError: true;
|
|
4526
|
+
error: unknown;
|
|
4527
|
+
}) & {
|
|
4528
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4529
|
+
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
4530
|
+
skip?: boolean | undefined;
|
|
4531
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
4532
|
+
} & {
|
|
4533
|
+
skip?: boolean | undefined;
|
|
4534
|
+
selectFromResult?: ((state: ({
|
|
4535
|
+
data?: undefined;
|
|
4536
|
+
error?: undefined;
|
|
4537
|
+
fulfilledTimeStamp?: undefined;
|
|
4538
|
+
originalArgs?: undefined;
|
|
4539
|
+
requestId?: undefined;
|
|
4540
|
+
endpointName?: string | undefined;
|
|
4541
|
+
startedTimeStamp?: undefined;
|
|
4542
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4543
|
+
currentData?: object | undefined;
|
|
4544
|
+
isLoading: false;
|
|
4545
|
+
isFetching: false;
|
|
4546
|
+
isSuccess: false;
|
|
4547
|
+
isError: false;
|
|
4548
|
+
isUninitialized: true;
|
|
4549
|
+
} | {
|
|
4550
|
+
error?: unknown;
|
|
4551
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4552
|
+
originalArgs?: void | undefined;
|
|
4553
|
+
requestId?: string | undefined;
|
|
4554
|
+
endpointName?: string | undefined;
|
|
4555
|
+
startedTimeStamp?: number | undefined;
|
|
4556
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4557
|
+
currentData?: object | undefined;
|
|
4558
|
+
isUninitialized: false;
|
|
4559
|
+
isSuccess: false;
|
|
4560
|
+
isError: false;
|
|
4561
|
+
isLoading: true;
|
|
4562
|
+
isFetching: boolean;
|
|
4563
|
+
data: undefined;
|
|
4564
|
+
} | {
|
|
4565
|
+
originalArgs?: void | undefined;
|
|
4566
|
+
requestId?: string | undefined;
|
|
4567
|
+
endpointName?: string | undefined;
|
|
4568
|
+
startedTimeStamp?: number | undefined;
|
|
4569
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4570
|
+
currentData?: object | undefined;
|
|
4571
|
+
isUninitialized: false;
|
|
4572
|
+
isLoading: false;
|
|
4573
|
+
isError: false;
|
|
4574
|
+
isSuccess: true;
|
|
4575
|
+
isFetching: true;
|
|
4576
|
+
error: undefined;
|
|
4577
|
+
data: object;
|
|
4578
|
+
fulfilledTimeStamp: number;
|
|
4579
|
+
} | {
|
|
4580
|
+
originalArgs?: void | undefined;
|
|
4581
|
+
requestId?: string | undefined;
|
|
4582
|
+
endpointName?: string | undefined;
|
|
4583
|
+
startedTimeStamp?: number | undefined;
|
|
4584
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4585
|
+
isUninitialized: false;
|
|
4586
|
+
isLoading: false;
|
|
4587
|
+
isError: false;
|
|
4588
|
+
isSuccess: true;
|
|
4589
|
+
isFetching: false;
|
|
4590
|
+
error: undefined;
|
|
4591
|
+
data: object;
|
|
4592
|
+
fulfilledTimeStamp: number;
|
|
4593
|
+
currentData: object;
|
|
4594
|
+
} | {
|
|
4595
|
+
data?: object | undefined;
|
|
4596
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4597
|
+
originalArgs?: void | undefined;
|
|
4598
|
+
requestId?: string | undefined;
|
|
4599
|
+
endpointName?: string | undefined;
|
|
4600
|
+
startedTimeStamp?: number | undefined;
|
|
4601
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4602
|
+
currentData?: object | undefined;
|
|
4603
|
+
isUninitialized: false;
|
|
4604
|
+
isLoading: false;
|
|
4605
|
+
isFetching: false;
|
|
4606
|
+
isSuccess: false;
|
|
4607
|
+
isError: true;
|
|
4608
|
+
error: unknown;
|
|
4609
|
+
}) & {
|
|
4610
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4611
|
+
}) => R) | undefined;
|
|
4612
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
4613
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>>;
|
|
4614
|
+
};
|
|
4444
4615
|
|
|
4445
|
-
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
|
|
4616
|
+
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
|
package/dist/cloudApi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('@reduxjs/toolkit/query/react');var p="Layer5-Current-Orgid";var o=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=react.createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:R,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:P,useGetApiWorkspacesQuery:x,usePostApiWorkspacesMutation:
|
|
1
|
+
'use strict';var react=require('@reduxjs/toolkit/query/react');var p="Layer5-Current-Orgid";var o=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=react.createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});react.createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:react.fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:R,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:P,useGetApiWorkspacesQuery:x,usePostApiWorkspacesMutation:G,useGetApiWorkspacesByIdQuery:C,usePutApiWorkspacesByIdMutation:E,useDeleteApiWorkspacesByIdMutation:T,useCreateEnvironmentMutation:B,useGetEnvironmentsQuery:z,useGetMyAcademyCirriculaQuery:D,useGetAcademyCirriculaQuery:W,useGetApiAcademyByTypeAndOrgIdSlugQuery:v,useRegisterToAcademyContentMutation:O,useGetApiAcademyRegistrationsByContentIdQuery:w,useUpdateCurrentItemInProgressTrackerMutation:f,useSubmitQuizMutation:q,useGetAcademyAdminSummaryQuery:M}=d;exports.cloudApi=d;exports.useCreateEnvironmentMutation=B;exports.useDeleteApiWorkspacesByIdMutation=T;exports.useGetAcademyAdminSummaryQuery=M;exports.useGetAcademyCirriculaQuery=W;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=v;exports.useGetApiAcademyRegistrationsByContentIdQuery=w;exports.useGetApiWorkspacesByIdQuery=C;exports.useGetApiWorkspacesQuery=x;exports.useGetEnvironmentsQuery=z;exports.useGetFeaturesByOrganizationQuery=P;exports.useGetFeaturesQuery=S;exports.useGetMyAcademyCirriculaQuery=D;exports.useGetPlansQuery=h;exports.useGetSubscriptionsQuery=b;exports.useImportDesignMutation=A;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=I;exports.usePostApiEntitlementSubscriptionsCreateMutation=k;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=R;exports.usePostApiWorkspacesMutation=G;exports.usePutApiWorkspacesByIdMutation=E;exports.useRegisterMeshmodelsMutation=_;exports.useRegisterToAcademyContentMutation=O;exports.useSubmitQuizMutation=q;exports.useUpdateCurrentItemInProgressTrackerMutation=f;
|
package/dist/cloudApi.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var p="Layer5-Current-Orgid";var o=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:R,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:P,useGetApiWorkspacesQuery:x,usePostApiWorkspacesMutation:
|
|
1
|
+
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var p="Layer5-Current-Orgid";var o=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(p,i==null?void 0:i.id),t}}),g=async(t,e,r)=>await o(t,e,r),a=createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=a.injectEndpoints({endpoints:t=>({importDesign:t.mutation({query:e=>({url:"/api/pattern/import",method:"POST",body:e.body})}),registerMeshmodels:t.mutation({query:e=>({url:"/api/meshmodels/register",method:"POST",body:e.body})}),getSubscriptions:t.query({query:e=>({url:"/api/entitlement/subscriptions",params:{page:e.page,pagesize:e.pagesize,order:e.order,status:e.status}})}),postApiEntitlementSubscriptionsBySubscriptionIdCancel:t.mutation({query:e=>({url:`/api/entitlement/subscriptions/${e.subscriptionId}/cancel`,method:"POST"})}),postApiEntitlementSubscriptionsCreate:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/create",method:"POST",body:e.body})}),postApiEntitlementSubscriptionsWebhooks:t.mutation({query:e=>({url:"/api/entitlement/subscriptions/webhooks",method:"POST",body:e.body})}),getPlans:t.query({query:()=>({url:"/api/entitlement/plans"})}),getFeatures:t.query({query:()=>({url:"/api/entitlement/features"})}),getFeaturesByOrganization:t.query({query:e=>({url:`/api/entitlement/subscriptions/organizations/${e.organizationId}/features`})}),getApiWorkspaces:t.query({query:()=>({url:"/api/workspaces"})}),postApiWorkspaces:t.mutation({query:e=>({url:"/api/workspaces",method:"POST",body:e.body})}),getApiWorkspacesById:t.query({query:e=>({url:`/api/workspaces/${e.id}`})}),putApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"PUT",body:e.body})}),deleteApiWorkspacesById:t.mutation({query:e=>({url:`/api/workspaces/${e.id}`,method:"DELETE"})}),createEnvironment:t.mutation({query:e=>({url:"/api/environments",method:"POST",body:e.body})}),getEnvironments:t.query({query:e=>({url:"/api/environments",params:{search:e.search,order:e.order,page:e.page,pagesize:e.pagesize,orgID:e.orgId}})}),getMyAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula/registered",params:{contentType:e.contentType,orgId:e.orgId}})}),getAcademyCirricula:t.query({query:e=>({url:"/api/academy/cirricula",params:{contentType:e.contentType,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})}),updateCurrentItemInProgressTracker:t.mutation({query:e=>({url:`/api/academy/registrations/${e.registrationId}/progress-tracker/update-current-item`,method:"POST",body:e.body})}),submitQuiz:t.mutation({query:e=>({url:"/api/academy/quiz/submit",method:"POST",body:e.body})}),getAcademyAdminSummary:t.query({query:()=>({url:"/api/academy/admin/summary"})})}),overrideExisting:false});var {useImportDesignMutation:A,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:k,usePostApiEntitlementSubscriptionsWebhooksMutation:R,useGetPlansQuery:h,useGetFeaturesQuery:S,useGetFeaturesByOrganizationQuery:P,useGetApiWorkspacesQuery:x,usePostApiWorkspacesMutation:G,useGetApiWorkspacesByIdQuery:C,usePutApiWorkspacesByIdMutation:E,useDeleteApiWorkspacesByIdMutation:T,useCreateEnvironmentMutation:B,useGetEnvironmentsQuery:z,useGetMyAcademyCirriculaQuery:D,useGetAcademyCirriculaQuery:W,useGetApiAcademyByTypeAndOrgIdSlugQuery:v,useRegisterToAcademyContentMutation:O,useGetApiAcademyRegistrationsByContentIdQuery:w,useUpdateCurrentItemInProgressTrackerMutation:f,useSubmitQuizMutation:q,useGetAcademyAdminSummaryQuery:M}=d;export{d as cloudApi,B as useCreateEnvironmentMutation,T as useDeleteApiWorkspacesByIdMutation,M as useGetAcademyAdminSummaryQuery,W as useGetAcademyCirriculaQuery,v as useGetApiAcademyByTypeAndOrgIdSlugQuery,w as useGetApiAcademyRegistrationsByContentIdQuery,C as useGetApiWorkspacesByIdQuery,x as useGetApiWorkspacesQuery,z as useGetEnvironmentsQuery,P as useGetFeaturesByOrganizationQuery,S as useGetFeaturesQuery,D as useGetMyAcademyCirriculaQuery,h as useGetPlansQuery,b as useGetSubscriptionsQuery,A as useImportDesignMutation,I as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,k as usePostApiEntitlementSubscriptionsCreateMutation,R as usePostApiEntitlementSubscriptionsWebhooksMutation,G as usePostApiWorkspacesMutation,E as usePutApiWorkspacesByIdMutation,_ as useRegisterMeshmodelsMutation,O as useRegisterToAcademyContentMutation,q as useSubmitQuizMutation,f as useUpdateCurrentItemInProgressTrackerMutation};
|