@meshery/schemas 0.1.0 → 0.1.1-0
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 +385 -12
- package/dist/cloudApi.d.ts +385 -12
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -18,11 +18,13 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
|
|
|
18
18
|
deleteApiWorkspacesById: _reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>;
|
|
19
19
|
createEnvironment: _reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, CreateEnvironmentApiResponse, "api", unknown>;
|
|
20
20
|
getEnvironments: _reduxjs_toolkit_query.QueryDefinition<GetEnvironmentsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetEnvironmentsApiResponse, "api", unknown>;
|
|
21
|
+
getApiAcademyContent: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>;
|
|
21
22
|
getApiAcademyLearningPaths: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyLearningPathsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyLearningPathsApiResponse, "api", unknown>;
|
|
22
23
|
getApiAcademyByTypeAndOrgIdSlug: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>;
|
|
23
24
|
getApiAcademyChallenges: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyChallengesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyChallengesApiResponse, "api", unknown>;
|
|
24
25
|
getAcademyRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyRegistrationsApiResponse, "api", unknown>;
|
|
25
26
|
registerToAcademyContent: _reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, RegisterToAcademyContentApiResponse, "api", unknown>;
|
|
27
|
+
getApiAcademyRegistrationsByContentId: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>;
|
|
26
28
|
}, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
|
|
27
29
|
|
|
28
30
|
type ImportDesignApiResponse = {
|
|
@@ -377,6 +379,19 @@ type GetEnvironmentsApiArg = {
|
|
|
377
379
|
/** User's organization ID */
|
|
378
380
|
orgId: string;
|
|
379
381
|
};
|
|
382
|
+
type GetApiAcademyContentApiResponse = unknown;
|
|
383
|
+
type GetApiAcademyContentApiArg = {
|
|
384
|
+
/** Filter content by content types */
|
|
385
|
+
contentType?: string[];
|
|
386
|
+
/** Filter content by organization IDs */
|
|
387
|
+
orgsId?: string[];
|
|
388
|
+
/** Filter content by categories */
|
|
389
|
+
category?: string[];
|
|
390
|
+
/** Filter by registration status */
|
|
391
|
+
status?: string[];
|
|
392
|
+
/** Search content by title */
|
|
393
|
+
search?: string;
|
|
394
|
+
};
|
|
380
395
|
type GetApiAcademyLearningPathsApiResponse = {
|
|
381
396
|
/** Total number of learning paths */
|
|
382
397
|
total: number;
|
|
@@ -385,6 +400,7 @@ type GetApiAcademyLearningPathsApiResponse = {
|
|
|
385
400
|
id: string;
|
|
386
401
|
/** slug of the learning path */
|
|
387
402
|
slug: string;
|
|
403
|
+
type?: "learning-path" | "challenge";
|
|
388
404
|
/** Title of the learning path */
|
|
389
405
|
title: string;
|
|
390
406
|
/** Description of the learning path */
|
|
@@ -421,6 +437,7 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
|
|
|
421
437
|
id: string;
|
|
422
438
|
/** slug of the learning path */
|
|
423
439
|
slug: string;
|
|
440
|
+
type?: "learning-path" | "challenge";
|
|
424
441
|
/** Title of the learning path */
|
|
425
442
|
title: string;
|
|
426
443
|
/** Description of the learning path */
|
|
@@ -458,6 +475,7 @@ type GetApiAcademyChallengesApiResponse = {
|
|
|
458
475
|
id: string;
|
|
459
476
|
/** slug of the learning path */
|
|
460
477
|
slug: string;
|
|
478
|
+
type?: "learning-path" | "challenge";
|
|
461
479
|
/** Title of the learning path */
|
|
462
480
|
title: string;
|
|
463
481
|
/** Description of the learning path */
|
|
@@ -548,6 +566,35 @@ type RegisterToAcademyContentApiArg = {
|
|
|
548
566
|
content_type?: "learning-path" | "challenge";
|
|
549
567
|
};
|
|
550
568
|
};
|
|
569
|
+
type GetApiAcademyRegistrationsByContentIdApiResponse =
|
|
570
|
+
/** status 200 Registration data for the specified content */ {
|
|
571
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
572
|
+
ID: string;
|
|
573
|
+
/** ID of the organization */
|
|
574
|
+
org_id: string;
|
|
575
|
+
/** ID of the course content */
|
|
576
|
+
content_id: string;
|
|
577
|
+
/** ID of the user (foreign key to User) */
|
|
578
|
+
user_id: string;
|
|
579
|
+
/** Status of the user's course registration */
|
|
580
|
+
status: "registered" | "in_progress" | "completed" | "failed" | "withdrawn";
|
|
581
|
+
/** When the registration was updated */
|
|
582
|
+
updated_at: string;
|
|
583
|
+
/** When the registration was created */
|
|
584
|
+
created_at: string;
|
|
585
|
+
/** Timestamp when the resource was deleted. */
|
|
586
|
+
deleted_at?: string;
|
|
587
|
+
/** Additional metadata about the registration */
|
|
588
|
+
metadata: {
|
|
589
|
+
[key: string]: any;
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
type GetApiAcademyRegistrationsByContentIdApiArg = {
|
|
593
|
+
/** The ID of the content to retrieve registration data for */
|
|
594
|
+
contentId: string;
|
|
595
|
+
/** Filter registrations by status (e.g., registered, completed) */
|
|
596
|
+
status?: string;
|
|
597
|
+
};
|
|
551
598
|
declare const useImportDesignMutation: <R extends Record<string, any> = ({
|
|
552
599
|
requestId?: undefined;
|
|
553
600
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
@@ -951,7 +998,7 @@ declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
|
|
|
951
998
|
skip?: boolean | undefined;
|
|
952
999
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
953
1000
|
} & {
|
|
954
|
-
skip?: boolean | undefined;
|
|
1001
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
955
1002
|
selectFromResult?: ((state: ({
|
|
956
1003
|
data?: undefined;
|
|
957
1004
|
error?: undefined;
|
|
@@ -1597,7 +1644,7 @@ declare const useGetPlansQuery: <R extends Record<string, any> = ({
|
|
|
1597
1644
|
skip?: boolean | undefined;
|
|
1598
1645
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
1599
1646
|
} & {
|
|
1600
|
-
skip?: boolean | undefined;
|
|
1647
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
1601
1648
|
selectFromResult?: ((state: ({
|
|
1602
1649
|
data?: undefined;
|
|
1603
1650
|
error?: undefined;
|
|
@@ -1760,7 +1807,7 @@ declare const useGetFeaturesQuery: <R extends Record<string, any> = ({
|
|
|
1760
1807
|
skip?: boolean | undefined;
|
|
1761
1808
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
1762
1809
|
} & {
|
|
1763
|
-
skip?: boolean | undefined;
|
|
1810
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
1764
1811
|
selectFromResult?: ((state: ({
|
|
1765
1812
|
data?: undefined;
|
|
1766
1813
|
error?: undefined;
|
|
@@ -1923,7 +1970,7 @@ declare const useGetFeaturesByOrganizationQuery: <R extends Record<string, any>
|
|
|
1923
1970
|
skip?: boolean | undefined;
|
|
1924
1971
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
1925
1972
|
} & {
|
|
1926
|
-
skip?: boolean | undefined;
|
|
1973
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
1927
1974
|
selectFromResult?: ((state: ({
|
|
1928
1975
|
data?: undefined;
|
|
1929
1976
|
error?: undefined;
|
|
@@ -2086,7 +2133,7 @@ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
|
|
|
2086
2133
|
skip?: boolean | undefined;
|
|
2087
2134
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
2088
2135
|
} & {
|
|
2089
|
-
skip?: boolean | undefined;
|
|
2136
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
2090
2137
|
selectFromResult?: ((state: ({
|
|
2091
2138
|
data?: undefined;
|
|
2092
2139
|
error?: undefined;
|
|
@@ -2410,7 +2457,7 @@ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
|
|
|
2410
2457
|
skip?: boolean | undefined;
|
|
2411
2458
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
2412
2459
|
} & {
|
|
2413
|
-
skip?: boolean | undefined;
|
|
2460
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
2414
2461
|
selectFromResult?: ((state: ({
|
|
2415
2462
|
data?: undefined;
|
|
2416
2463
|
error?: undefined;
|
|
@@ -3056,7 +3103,7 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3056
3103
|
skip?: boolean | undefined;
|
|
3057
3104
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3058
3105
|
} & {
|
|
3059
|
-
skip?: boolean | undefined;
|
|
3106
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3060
3107
|
selectFromResult?: ((state: ({
|
|
3061
3108
|
data?: undefined;
|
|
3062
3109
|
error?: undefined;
|
|
@@ -3138,6 +3185,169 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3138
3185
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3139
3186
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetEnvironmentsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetEnvironmentsApiResponse, "api", unknown>>;
|
|
3140
3187
|
};
|
|
3188
|
+
declare const useGetApiAcademyContentQuery: <R extends Record<string, any> = ({
|
|
3189
|
+
data?: undefined;
|
|
3190
|
+
error?: undefined;
|
|
3191
|
+
fulfilledTimeStamp?: undefined;
|
|
3192
|
+
originalArgs?: undefined;
|
|
3193
|
+
requestId?: undefined;
|
|
3194
|
+
endpointName?: string | undefined;
|
|
3195
|
+
startedTimeStamp?: undefined;
|
|
3196
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3197
|
+
currentData?: unknown;
|
|
3198
|
+
isLoading: false;
|
|
3199
|
+
isFetching: false;
|
|
3200
|
+
isSuccess: false;
|
|
3201
|
+
isError: false;
|
|
3202
|
+
isUninitialized: true;
|
|
3203
|
+
} | {
|
|
3204
|
+
error?: unknown;
|
|
3205
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3206
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3207
|
+
requestId?: string | undefined;
|
|
3208
|
+
endpointName?: string | undefined;
|
|
3209
|
+
startedTimeStamp?: number | undefined;
|
|
3210
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3211
|
+
currentData?: unknown;
|
|
3212
|
+
isUninitialized: false;
|
|
3213
|
+
isSuccess: false;
|
|
3214
|
+
isError: false;
|
|
3215
|
+
isLoading: true;
|
|
3216
|
+
isFetching: boolean;
|
|
3217
|
+
data: undefined;
|
|
3218
|
+
} | {
|
|
3219
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3220
|
+
requestId?: string | undefined;
|
|
3221
|
+
endpointName?: string | undefined;
|
|
3222
|
+
startedTimeStamp?: number | undefined;
|
|
3223
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3224
|
+
currentData?: unknown;
|
|
3225
|
+
isUninitialized: false;
|
|
3226
|
+
isLoading: false;
|
|
3227
|
+
isError: false;
|
|
3228
|
+
isSuccess: true;
|
|
3229
|
+
isFetching: true;
|
|
3230
|
+
error: undefined;
|
|
3231
|
+
data: unknown;
|
|
3232
|
+
fulfilledTimeStamp: number;
|
|
3233
|
+
} | {
|
|
3234
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3235
|
+
requestId?: string | undefined;
|
|
3236
|
+
endpointName?: string | undefined;
|
|
3237
|
+
startedTimeStamp?: number | undefined;
|
|
3238
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3239
|
+
isUninitialized: false;
|
|
3240
|
+
isLoading: false;
|
|
3241
|
+
isError: false;
|
|
3242
|
+
isSuccess: true;
|
|
3243
|
+
isFetching: false;
|
|
3244
|
+
error: undefined;
|
|
3245
|
+
data: unknown;
|
|
3246
|
+
fulfilledTimeStamp: number;
|
|
3247
|
+
currentData: unknown;
|
|
3248
|
+
} | {
|
|
3249
|
+
data?: unknown;
|
|
3250
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3251
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3252
|
+
requestId?: string | undefined;
|
|
3253
|
+
endpointName?: string | undefined;
|
|
3254
|
+
startedTimeStamp?: number | undefined;
|
|
3255
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3256
|
+
currentData?: unknown;
|
|
3257
|
+
isUninitialized: false;
|
|
3258
|
+
isLoading: false;
|
|
3259
|
+
isFetching: false;
|
|
3260
|
+
isSuccess: false;
|
|
3261
|
+
isError: true;
|
|
3262
|
+
error: unknown;
|
|
3263
|
+
}) & {
|
|
3264
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3265
|
+
}>(arg: GetApiAcademyContentApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3266
|
+
skip?: boolean | undefined;
|
|
3267
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3268
|
+
} & {
|
|
3269
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3270
|
+
selectFromResult?: ((state: ({
|
|
3271
|
+
data?: undefined;
|
|
3272
|
+
error?: undefined;
|
|
3273
|
+
fulfilledTimeStamp?: undefined;
|
|
3274
|
+
originalArgs?: undefined;
|
|
3275
|
+
requestId?: undefined;
|
|
3276
|
+
endpointName?: string | undefined;
|
|
3277
|
+
startedTimeStamp?: undefined;
|
|
3278
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3279
|
+
currentData?: unknown;
|
|
3280
|
+
isLoading: false;
|
|
3281
|
+
isFetching: false;
|
|
3282
|
+
isSuccess: false;
|
|
3283
|
+
isError: false;
|
|
3284
|
+
isUninitialized: true;
|
|
3285
|
+
} | {
|
|
3286
|
+
error?: unknown;
|
|
3287
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3288
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3289
|
+
requestId?: string | undefined;
|
|
3290
|
+
endpointName?: string | undefined;
|
|
3291
|
+
startedTimeStamp?: number | undefined;
|
|
3292
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3293
|
+
currentData?: unknown;
|
|
3294
|
+
isUninitialized: false;
|
|
3295
|
+
isSuccess: false;
|
|
3296
|
+
isError: false;
|
|
3297
|
+
isLoading: true;
|
|
3298
|
+
isFetching: boolean;
|
|
3299
|
+
data: undefined;
|
|
3300
|
+
} | {
|
|
3301
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3302
|
+
requestId?: string | undefined;
|
|
3303
|
+
endpointName?: string | undefined;
|
|
3304
|
+
startedTimeStamp?: number | undefined;
|
|
3305
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3306
|
+
currentData?: unknown;
|
|
3307
|
+
isUninitialized: false;
|
|
3308
|
+
isLoading: false;
|
|
3309
|
+
isError: false;
|
|
3310
|
+
isSuccess: true;
|
|
3311
|
+
isFetching: true;
|
|
3312
|
+
error: undefined;
|
|
3313
|
+
data: unknown;
|
|
3314
|
+
fulfilledTimeStamp: number;
|
|
3315
|
+
} | {
|
|
3316
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3317
|
+
requestId?: string | undefined;
|
|
3318
|
+
endpointName?: string | undefined;
|
|
3319
|
+
startedTimeStamp?: number | undefined;
|
|
3320
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3321
|
+
isUninitialized: false;
|
|
3322
|
+
isLoading: false;
|
|
3323
|
+
isError: false;
|
|
3324
|
+
isSuccess: true;
|
|
3325
|
+
isFetching: false;
|
|
3326
|
+
error: undefined;
|
|
3327
|
+
data: unknown;
|
|
3328
|
+
fulfilledTimeStamp: number;
|
|
3329
|
+
currentData: unknown;
|
|
3330
|
+
} | {
|
|
3331
|
+
data?: unknown;
|
|
3332
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3333
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3334
|
+
requestId?: string | undefined;
|
|
3335
|
+
endpointName?: string | undefined;
|
|
3336
|
+
startedTimeStamp?: number | undefined;
|
|
3337
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3338
|
+
currentData?: unknown;
|
|
3339
|
+
isUninitialized: false;
|
|
3340
|
+
isLoading: false;
|
|
3341
|
+
isFetching: false;
|
|
3342
|
+
isSuccess: false;
|
|
3343
|
+
isError: true;
|
|
3344
|
+
error: unknown;
|
|
3345
|
+
}) & {
|
|
3346
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3347
|
+
}) => R) | undefined;
|
|
3348
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3349
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>>;
|
|
3350
|
+
};
|
|
3141
3351
|
declare const useGetApiAcademyLearningPathsQuery: <R extends Record<string, any> = ({
|
|
3142
3352
|
data?: undefined;
|
|
3143
3353
|
error?: undefined;
|
|
@@ -3219,7 +3429,7 @@ declare const useGetApiAcademyLearningPathsQuery: <R extends Record<string, any>
|
|
|
3219
3429
|
skip?: boolean | undefined;
|
|
3220
3430
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3221
3431
|
} & {
|
|
3222
|
-
skip?: boolean | undefined;
|
|
3432
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3223
3433
|
selectFromResult?: ((state: ({
|
|
3224
3434
|
data?: undefined;
|
|
3225
3435
|
error?: undefined;
|
|
@@ -3382,7 +3592,7 @@ declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string,
|
|
|
3382
3592
|
skip?: boolean | undefined;
|
|
3383
3593
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3384
3594
|
} & {
|
|
3385
|
-
skip?: boolean | undefined;
|
|
3595
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3386
3596
|
selectFromResult?: ((state: ({
|
|
3387
3597
|
data?: undefined;
|
|
3388
3598
|
error?: undefined;
|
|
@@ -3545,7 +3755,7 @@ declare const useGetApiAcademyChallengesQuery: <R extends Record<string, any> =
|
|
|
3545
3755
|
skip?: boolean | undefined;
|
|
3546
3756
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3547
3757
|
} & {
|
|
3548
|
-
skip?: boolean | undefined;
|
|
3758
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3549
3759
|
selectFromResult?: ((state: ({
|
|
3550
3760
|
data?: undefined;
|
|
3551
3761
|
error?: undefined;
|
|
@@ -3708,7 +3918,7 @@ declare const useGetAcademyRegistrationsQuery: <R extends Record<string, any> =
|
|
|
3708
3918
|
skip?: boolean | undefined;
|
|
3709
3919
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3710
3920
|
} & {
|
|
3711
|
-
skip?: boolean | undefined;
|
|
3921
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3712
3922
|
selectFromResult?: ((state: ({
|
|
3713
3923
|
data?: undefined;
|
|
3714
3924
|
error?: undefined;
|
|
@@ -3951,5 +4161,168 @@ declare const useRegisterToAcademyContentMutation: <R extends Record<string, any
|
|
|
3951
4161
|
originalArgs?: RegisterToAcademyContentApiArg | undefined;
|
|
3952
4162
|
reset: () => void;
|
|
3953
4163
|
}];
|
|
4164
|
+
declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<string, any> = ({
|
|
4165
|
+
data?: undefined;
|
|
4166
|
+
error?: undefined;
|
|
4167
|
+
fulfilledTimeStamp?: undefined;
|
|
4168
|
+
originalArgs?: undefined;
|
|
4169
|
+
requestId?: undefined;
|
|
4170
|
+
endpointName?: string | undefined;
|
|
4171
|
+
startedTimeStamp?: undefined;
|
|
4172
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4173
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4174
|
+
isLoading: false;
|
|
4175
|
+
isFetching: false;
|
|
4176
|
+
isSuccess: false;
|
|
4177
|
+
isError: false;
|
|
4178
|
+
isUninitialized: true;
|
|
4179
|
+
} | {
|
|
4180
|
+
error?: unknown;
|
|
4181
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4182
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4183
|
+
requestId?: string | undefined;
|
|
4184
|
+
endpointName?: string | undefined;
|
|
4185
|
+
startedTimeStamp?: number | undefined;
|
|
4186
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4187
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4188
|
+
isUninitialized: false;
|
|
4189
|
+
isSuccess: false;
|
|
4190
|
+
isError: false;
|
|
4191
|
+
isLoading: true;
|
|
4192
|
+
isFetching: boolean;
|
|
4193
|
+
data: undefined;
|
|
4194
|
+
} | {
|
|
4195
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4196
|
+
requestId?: string | undefined;
|
|
4197
|
+
endpointName?: string | undefined;
|
|
4198
|
+
startedTimeStamp?: number | undefined;
|
|
4199
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4200
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4201
|
+
isUninitialized: false;
|
|
4202
|
+
isLoading: false;
|
|
4203
|
+
isError: false;
|
|
4204
|
+
isSuccess: true;
|
|
4205
|
+
isFetching: true;
|
|
4206
|
+
error: undefined;
|
|
4207
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4208
|
+
fulfilledTimeStamp: number;
|
|
4209
|
+
} | {
|
|
4210
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4211
|
+
requestId?: string | undefined;
|
|
4212
|
+
endpointName?: string | undefined;
|
|
4213
|
+
startedTimeStamp?: number | undefined;
|
|
4214
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4215
|
+
isUninitialized: false;
|
|
4216
|
+
isLoading: false;
|
|
4217
|
+
isError: false;
|
|
4218
|
+
isSuccess: true;
|
|
4219
|
+
isFetching: false;
|
|
4220
|
+
error: undefined;
|
|
4221
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4222
|
+
fulfilledTimeStamp: number;
|
|
4223
|
+
currentData: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4224
|
+
} | {
|
|
4225
|
+
data?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4226
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4227
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4228
|
+
requestId?: string | undefined;
|
|
4229
|
+
endpointName?: string | undefined;
|
|
4230
|
+
startedTimeStamp?: number | undefined;
|
|
4231
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4232
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4233
|
+
isUninitialized: false;
|
|
4234
|
+
isLoading: false;
|
|
4235
|
+
isFetching: false;
|
|
4236
|
+
isSuccess: false;
|
|
4237
|
+
isError: true;
|
|
4238
|
+
error: unknown;
|
|
4239
|
+
}) & {
|
|
4240
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4241
|
+
}>(arg: GetApiAcademyRegistrationsByContentIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
4242
|
+
skip?: boolean | undefined;
|
|
4243
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
4244
|
+
} & {
|
|
4245
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
4246
|
+
selectFromResult?: ((state: ({
|
|
4247
|
+
data?: undefined;
|
|
4248
|
+
error?: undefined;
|
|
4249
|
+
fulfilledTimeStamp?: undefined;
|
|
4250
|
+
originalArgs?: undefined;
|
|
4251
|
+
requestId?: undefined;
|
|
4252
|
+
endpointName?: string | undefined;
|
|
4253
|
+
startedTimeStamp?: undefined;
|
|
4254
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4255
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4256
|
+
isLoading: false;
|
|
4257
|
+
isFetching: false;
|
|
4258
|
+
isSuccess: false;
|
|
4259
|
+
isError: false;
|
|
4260
|
+
isUninitialized: true;
|
|
4261
|
+
} | {
|
|
4262
|
+
error?: unknown;
|
|
4263
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4264
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4265
|
+
requestId?: string | undefined;
|
|
4266
|
+
endpointName?: string | undefined;
|
|
4267
|
+
startedTimeStamp?: number | undefined;
|
|
4268
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4269
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4270
|
+
isUninitialized: false;
|
|
4271
|
+
isSuccess: false;
|
|
4272
|
+
isError: false;
|
|
4273
|
+
isLoading: true;
|
|
4274
|
+
isFetching: boolean;
|
|
4275
|
+
data: undefined;
|
|
4276
|
+
} | {
|
|
4277
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4278
|
+
requestId?: string | undefined;
|
|
4279
|
+
endpointName?: string | undefined;
|
|
4280
|
+
startedTimeStamp?: number | undefined;
|
|
4281
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4282
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4283
|
+
isUninitialized: false;
|
|
4284
|
+
isLoading: false;
|
|
4285
|
+
isError: false;
|
|
4286
|
+
isSuccess: true;
|
|
4287
|
+
isFetching: true;
|
|
4288
|
+
error: undefined;
|
|
4289
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4290
|
+
fulfilledTimeStamp: number;
|
|
4291
|
+
} | {
|
|
4292
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4293
|
+
requestId?: string | undefined;
|
|
4294
|
+
endpointName?: string | undefined;
|
|
4295
|
+
startedTimeStamp?: number | undefined;
|
|
4296
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4297
|
+
isUninitialized: false;
|
|
4298
|
+
isLoading: false;
|
|
4299
|
+
isError: false;
|
|
4300
|
+
isSuccess: true;
|
|
4301
|
+
isFetching: false;
|
|
4302
|
+
error: undefined;
|
|
4303
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4304
|
+
fulfilledTimeStamp: number;
|
|
4305
|
+
currentData: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4306
|
+
} | {
|
|
4307
|
+
data?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4308
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4309
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4310
|
+
requestId?: string | undefined;
|
|
4311
|
+
endpointName?: string | undefined;
|
|
4312
|
+
startedTimeStamp?: number | undefined;
|
|
4313
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4314
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4315
|
+
isUninitialized: false;
|
|
4316
|
+
isLoading: false;
|
|
4317
|
+
isFetching: false;
|
|
4318
|
+
isSuccess: false;
|
|
4319
|
+
isError: true;
|
|
4320
|
+
error: unknown;
|
|
4321
|
+
}) & {
|
|
4322
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4323
|
+
}) => R) | undefined;
|
|
4324
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
4325
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>>;
|
|
4326
|
+
};
|
|
3954
4327
|
|
|
3955
|
-
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyRegistrationsApiArg, type GetAcademyRegistrationsApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyChallengesApiArg, type GetApiAcademyChallengesApiResponse, type GetApiAcademyLearningPathsApiArg, type GetApiAcademyLearningPathsApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyRegistrationsQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyChallengesQuery, useGetApiAcademyLearningPathsQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation };
|
|
4328
|
+
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyRegistrationsApiArg, type GetAcademyRegistrationsApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyChallengesApiArg, type GetApiAcademyChallengesApiResponse, type GetApiAcademyContentApiArg, type GetApiAcademyContentApiResponse, type GetApiAcademyLearningPathsApiArg, type GetApiAcademyLearningPathsApiResponse, 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 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyRegistrationsQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyChallengesQuery, useGetApiAcademyContentQuery, useGetApiAcademyLearningPathsQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation };
|
package/dist/cloudApi.d.ts
CHANGED
|
@@ -18,11 +18,13 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
|
|
|
18
18
|
deleteApiWorkspacesById: _reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>;
|
|
19
19
|
createEnvironment: _reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, CreateEnvironmentApiResponse, "api", unknown>;
|
|
20
20
|
getEnvironments: _reduxjs_toolkit_query.QueryDefinition<GetEnvironmentsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetEnvironmentsApiResponse, "api", unknown>;
|
|
21
|
+
getApiAcademyContent: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>;
|
|
21
22
|
getApiAcademyLearningPaths: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyLearningPathsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyLearningPathsApiResponse, "api", unknown>;
|
|
22
23
|
getApiAcademyByTypeAndOrgIdSlug: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>;
|
|
23
24
|
getApiAcademyChallenges: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyChallengesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyChallengesApiResponse, "api", unknown>;
|
|
24
25
|
getAcademyRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyRegistrationsApiResponse, "api", unknown>;
|
|
25
26
|
registerToAcademyContent: _reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, RegisterToAcademyContentApiResponse, "api", unknown>;
|
|
27
|
+
getApiAcademyRegistrationsByContentId: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>;
|
|
26
28
|
}, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
|
|
27
29
|
|
|
28
30
|
type ImportDesignApiResponse = {
|
|
@@ -377,6 +379,19 @@ type GetEnvironmentsApiArg = {
|
|
|
377
379
|
/** User's organization ID */
|
|
378
380
|
orgId: string;
|
|
379
381
|
};
|
|
382
|
+
type GetApiAcademyContentApiResponse = unknown;
|
|
383
|
+
type GetApiAcademyContentApiArg = {
|
|
384
|
+
/** Filter content by content types */
|
|
385
|
+
contentType?: string[];
|
|
386
|
+
/** Filter content by organization IDs */
|
|
387
|
+
orgsId?: string[];
|
|
388
|
+
/** Filter content by categories */
|
|
389
|
+
category?: string[];
|
|
390
|
+
/** Filter by registration status */
|
|
391
|
+
status?: string[];
|
|
392
|
+
/** Search content by title */
|
|
393
|
+
search?: string;
|
|
394
|
+
};
|
|
380
395
|
type GetApiAcademyLearningPathsApiResponse = {
|
|
381
396
|
/** Total number of learning paths */
|
|
382
397
|
total: number;
|
|
@@ -385,6 +400,7 @@ type GetApiAcademyLearningPathsApiResponse = {
|
|
|
385
400
|
id: string;
|
|
386
401
|
/** slug of the learning path */
|
|
387
402
|
slug: string;
|
|
403
|
+
type?: "learning-path" | "challenge";
|
|
388
404
|
/** Title of the learning path */
|
|
389
405
|
title: string;
|
|
390
406
|
/** Description of the learning path */
|
|
@@ -421,6 +437,7 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
|
|
|
421
437
|
id: string;
|
|
422
438
|
/** slug of the learning path */
|
|
423
439
|
slug: string;
|
|
440
|
+
type?: "learning-path" | "challenge";
|
|
424
441
|
/** Title of the learning path */
|
|
425
442
|
title: string;
|
|
426
443
|
/** Description of the learning path */
|
|
@@ -458,6 +475,7 @@ type GetApiAcademyChallengesApiResponse = {
|
|
|
458
475
|
id: string;
|
|
459
476
|
/** slug of the learning path */
|
|
460
477
|
slug: string;
|
|
478
|
+
type?: "learning-path" | "challenge";
|
|
461
479
|
/** Title of the learning path */
|
|
462
480
|
title: string;
|
|
463
481
|
/** Description of the learning path */
|
|
@@ -548,6 +566,35 @@ type RegisterToAcademyContentApiArg = {
|
|
|
548
566
|
content_type?: "learning-path" | "challenge";
|
|
549
567
|
};
|
|
550
568
|
};
|
|
569
|
+
type GetApiAcademyRegistrationsByContentIdApiResponse =
|
|
570
|
+
/** status 200 Registration data for the specified content */ {
|
|
571
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
572
|
+
ID: string;
|
|
573
|
+
/** ID of the organization */
|
|
574
|
+
org_id: string;
|
|
575
|
+
/** ID of the course content */
|
|
576
|
+
content_id: string;
|
|
577
|
+
/** ID of the user (foreign key to User) */
|
|
578
|
+
user_id: string;
|
|
579
|
+
/** Status of the user's course registration */
|
|
580
|
+
status: "registered" | "in_progress" | "completed" | "failed" | "withdrawn";
|
|
581
|
+
/** When the registration was updated */
|
|
582
|
+
updated_at: string;
|
|
583
|
+
/** When the registration was created */
|
|
584
|
+
created_at: string;
|
|
585
|
+
/** Timestamp when the resource was deleted. */
|
|
586
|
+
deleted_at?: string;
|
|
587
|
+
/** Additional metadata about the registration */
|
|
588
|
+
metadata: {
|
|
589
|
+
[key: string]: any;
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
type GetApiAcademyRegistrationsByContentIdApiArg = {
|
|
593
|
+
/** The ID of the content to retrieve registration data for */
|
|
594
|
+
contentId: string;
|
|
595
|
+
/** Filter registrations by status (e.g., registered, completed) */
|
|
596
|
+
status?: string;
|
|
597
|
+
};
|
|
551
598
|
declare const useImportDesignMutation: <R extends Record<string, any> = ({
|
|
552
599
|
requestId?: undefined;
|
|
553
600
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
@@ -951,7 +998,7 @@ declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
|
|
|
951
998
|
skip?: boolean | undefined;
|
|
952
999
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
953
1000
|
} & {
|
|
954
|
-
skip?: boolean | undefined;
|
|
1001
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
955
1002
|
selectFromResult?: ((state: ({
|
|
956
1003
|
data?: undefined;
|
|
957
1004
|
error?: undefined;
|
|
@@ -1597,7 +1644,7 @@ declare const useGetPlansQuery: <R extends Record<string, any> = ({
|
|
|
1597
1644
|
skip?: boolean | undefined;
|
|
1598
1645
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
1599
1646
|
} & {
|
|
1600
|
-
skip?: boolean | undefined;
|
|
1647
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
1601
1648
|
selectFromResult?: ((state: ({
|
|
1602
1649
|
data?: undefined;
|
|
1603
1650
|
error?: undefined;
|
|
@@ -1760,7 +1807,7 @@ declare const useGetFeaturesQuery: <R extends Record<string, any> = ({
|
|
|
1760
1807
|
skip?: boolean | undefined;
|
|
1761
1808
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
1762
1809
|
} & {
|
|
1763
|
-
skip?: boolean | undefined;
|
|
1810
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
1764
1811
|
selectFromResult?: ((state: ({
|
|
1765
1812
|
data?: undefined;
|
|
1766
1813
|
error?: undefined;
|
|
@@ -1923,7 +1970,7 @@ declare const useGetFeaturesByOrganizationQuery: <R extends Record<string, any>
|
|
|
1923
1970
|
skip?: boolean | undefined;
|
|
1924
1971
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
1925
1972
|
} & {
|
|
1926
|
-
skip?: boolean | undefined;
|
|
1973
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
1927
1974
|
selectFromResult?: ((state: ({
|
|
1928
1975
|
data?: undefined;
|
|
1929
1976
|
error?: undefined;
|
|
@@ -2086,7 +2133,7 @@ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
|
|
|
2086
2133
|
skip?: boolean | undefined;
|
|
2087
2134
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
2088
2135
|
} & {
|
|
2089
|
-
skip?: boolean | undefined;
|
|
2136
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
2090
2137
|
selectFromResult?: ((state: ({
|
|
2091
2138
|
data?: undefined;
|
|
2092
2139
|
error?: undefined;
|
|
@@ -2410,7 +2457,7 @@ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
|
|
|
2410
2457
|
skip?: boolean | undefined;
|
|
2411
2458
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
2412
2459
|
} & {
|
|
2413
|
-
skip?: boolean | undefined;
|
|
2460
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
2414
2461
|
selectFromResult?: ((state: ({
|
|
2415
2462
|
data?: undefined;
|
|
2416
2463
|
error?: undefined;
|
|
@@ -3056,7 +3103,7 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3056
3103
|
skip?: boolean | undefined;
|
|
3057
3104
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3058
3105
|
} & {
|
|
3059
|
-
skip?: boolean | undefined;
|
|
3106
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3060
3107
|
selectFromResult?: ((state: ({
|
|
3061
3108
|
data?: undefined;
|
|
3062
3109
|
error?: undefined;
|
|
@@ -3138,6 +3185,169 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3138
3185
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3139
3186
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetEnvironmentsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetEnvironmentsApiResponse, "api", unknown>>;
|
|
3140
3187
|
};
|
|
3188
|
+
declare const useGetApiAcademyContentQuery: <R extends Record<string, any> = ({
|
|
3189
|
+
data?: undefined;
|
|
3190
|
+
error?: undefined;
|
|
3191
|
+
fulfilledTimeStamp?: undefined;
|
|
3192
|
+
originalArgs?: undefined;
|
|
3193
|
+
requestId?: undefined;
|
|
3194
|
+
endpointName?: string | undefined;
|
|
3195
|
+
startedTimeStamp?: undefined;
|
|
3196
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3197
|
+
currentData?: unknown;
|
|
3198
|
+
isLoading: false;
|
|
3199
|
+
isFetching: false;
|
|
3200
|
+
isSuccess: false;
|
|
3201
|
+
isError: false;
|
|
3202
|
+
isUninitialized: true;
|
|
3203
|
+
} | {
|
|
3204
|
+
error?: unknown;
|
|
3205
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3206
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3207
|
+
requestId?: string | undefined;
|
|
3208
|
+
endpointName?: string | undefined;
|
|
3209
|
+
startedTimeStamp?: number | undefined;
|
|
3210
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3211
|
+
currentData?: unknown;
|
|
3212
|
+
isUninitialized: false;
|
|
3213
|
+
isSuccess: false;
|
|
3214
|
+
isError: false;
|
|
3215
|
+
isLoading: true;
|
|
3216
|
+
isFetching: boolean;
|
|
3217
|
+
data: undefined;
|
|
3218
|
+
} | {
|
|
3219
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3220
|
+
requestId?: string | undefined;
|
|
3221
|
+
endpointName?: string | undefined;
|
|
3222
|
+
startedTimeStamp?: number | undefined;
|
|
3223
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3224
|
+
currentData?: unknown;
|
|
3225
|
+
isUninitialized: false;
|
|
3226
|
+
isLoading: false;
|
|
3227
|
+
isError: false;
|
|
3228
|
+
isSuccess: true;
|
|
3229
|
+
isFetching: true;
|
|
3230
|
+
error: undefined;
|
|
3231
|
+
data: unknown;
|
|
3232
|
+
fulfilledTimeStamp: number;
|
|
3233
|
+
} | {
|
|
3234
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3235
|
+
requestId?: string | undefined;
|
|
3236
|
+
endpointName?: string | undefined;
|
|
3237
|
+
startedTimeStamp?: number | undefined;
|
|
3238
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3239
|
+
isUninitialized: false;
|
|
3240
|
+
isLoading: false;
|
|
3241
|
+
isError: false;
|
|
3242
|
+
isSuccess: true;
|
|
3243
|
+
isFetching: false;
|
|
3244
|
+
error: undefined;
|
|
3245
|
+
data: unknown;
|
|
3246
|
+
fulfilledTimeStamp: number;
|
|
3247
|
+
currentData: unknown;
|
|
3248
|
+
} | {
|
|
3249
|
+
data?: unknown;
|
|
3250
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3251
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3252
|
+
requestId?: string | undefined;
|
|
3253
|
+
endpointName?: string | undefined;
|
|
3254
|
+
startedTimeStamp?: number | undefined;
|
|
3255
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3256
|
+
currentData?: unknown;
|
|
3257
|
+
isUninitialized: false;
|
|
3258
|
+
isLoading: false;
|
|
3259
|
+
isFetching: false;
|
|
3260
|
+
isSuccess: false;
|
|
3261
|
+
isError: true;
|
|
3262
|
+
error: unknown;
|
|
3263
|
+
}) & {
|
|
3264
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3265
|
+
}>(arg: GetApiAcademyContentApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3266
|
+
skip?: boolean | undefined;
|
|
3267
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3268
|
+
} & {
|
|
3269
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3270
|
+
selectFromResult?: ((state: ({
|
|
3271
|
+
data?: undefined;
|
|
3272
|
+
error?: undefined;
|
|
3273
|
+
fulfilledTimeStamp?: undefined;
|
|
3274
|
+
originalArgs?: undefined;
|
|
3275
|
+
requestId?: undefined;
|
|
3276
|
+
endpointName?: string | undefined;
|
|
3277
|
+
startedTimeStamp?: undefined;
|
|
3278
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3279
|
+
currentData?: unknown;
|
|
3280
|
+
isLoading: false;
|
|
3281
|
+
isFetching: false;
|
|
3282
|
+
isSuccess: false;
|
|
3283
|
+
isError: false;
|
|
3284
|
+
isUninitialized: true;
|
|
3285
|
+
} | {
|
|
3286
|
+
error?: unknown;
|
|
3287
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3288
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3289
|
+
requestId?: string | undefined;
|
|
3290
|
+
endpointName?: string | undefined;
|
|
3291
|
+
startedTimeStamp?: number | undefined;
|
|
3292
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3293
|
+
currentData?: unknown;
|
|
3294
|
+
isUninitialized: false;
|
|
3295
|
+
isSuccess: false;
|
|
3296
|
+
isError: false;
|
|
3297
|
+
isLoading: true;
|
|
3298
|
+
isFetching: boolean;
|
|
3299
|
+
data: undefined;
|
|
3300
|
+
} | {
|
|
3301
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3302
|
+
requestId?: string | undefined;
|
|
3303
|
+
endpointName?: string | undefined;
|
|
3304
|
+
startedTimeStamp?: number | undefined;
|
|
3305
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3306
|
+
currentData?: unknown;
|
|
3307
|
+
isUninitialized: false;
|
|
3308
|
+
isLoading: false;
|
|
3309
|
+
isError: false;
|
|
3310
|
+
isSuccess: true;
|
|
3311
|
+
isFetching: true;
|
|
3312
|
+
error: undefined;
|
|
3313
|
+
data: unknown;
|
|
3314
|
+
fulfilledTimeStamp: number;
|
|
3315
|
+
} | {
|
|
3316
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3317
|
+
requestId?: string | undefined;
|
|
3318
|
+
endpointName?: string | undefined;
|
|
3319
|
+
startedTimeStamp?: number | undefined;
|
|
3320
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3321
|
+
isUninitialized: false;
|
|
3322
|
+
isLoading: false;
|
|
3323
|
+
isError: false;
|
|
3324
|
+
isSuccess: true;
|
|
3325
|
+
isFetching: false;
|
|
3326
|
+
error: undefined;
|
|
3327
|
+
data: unknown;
|
|
3328
|
+
fulfilledTimeStamp: number;
|
|
3329
|
+
currentData: unknown;
|
|
3330
|
+
} | {
|
|
3331
|
+
data?: unknown;
|
|
3332
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3333
|
+
originalArgs?: GetApiAcademyContentApiArg | undefined;
|
|
3334
|
+
requestId?: string | undefined;
|
|
3335
|
+
endpointName?: string | undefined;
|
|
3336
|
+
startedTimeStamp?: number | undefined;
|
|
3337
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3338
|
+
currentData?: unknown;
|
|
3339
|
+
isUninitialized: false;
|
|
3340
|
+
isLoading: false;
|
|
3341
|
+
isFetching: false;
|
|
3342
|
+
isSuccess: false;
|
|
3343
|
+
isError: true;
|
|
3344
|
+
error: unknown;
|
|
3345
|
+
}) & {
|
|
3346
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3347
|
+
}) => R) | undefined;
|
|
3348
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3349
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>>;
|
|
3350
|
+
};
|
|
3141
3351
|
declare const useGetApiAcademyLearningPathsQuery: <R extends Record<string, any> = ({
|
|
3142
3352
|
data?: undefined;
|
|
3143
3353
|
error?: undefined;
|
|
@@ -3219,7 +3429,7 @@ declare const useGetApiAcademyLearningPathsQuery: <R extends Record<string, any>
|
|
|
3219
3429
|
skip?: boolean | undefined;
|
|
3220
3430
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3221
3431
|
} & {
|
|
3222
|
-
skip?: boolean | undefined;
|
|
3432
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3223
3433
|
selectFromResult?: ((state: ({
|
|
3224
3434
|
data?: undefined;
|
|
3225
3435
|
error?: undefined;
|
|
@@ -3382,7 +3592,7 @@ declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string,
|
|
|
3382
3592
|
skip?: boolean | undefined;
|
|
3383
3593
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3384
3594
|
} & {
|
|
3385
|
-
skip?: boolean | undefined;
|
|
3595
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3386
3596
|
selectFromResult?: ((state: ({
|
|
3387
3597
|
data?: undefined;
|
|
3388
3598
|
error?: undefined;
|
|
@@ -3545,7 +3755,7 @@ declare const useGetApiAcademyChallengesQuery: <R extends Record<string, any> =
|
|
|
3545
3755
|
skip?: boolean | undefined;
|
|
3546
3756
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3547
3757
|
} & {
|
|
3548
|
-
skip?: boolean | undefined;
|
|
3758
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3549
3759
|
selectFromResult?: ((state: ({
|
|
3550
3760
|
data?: undefined;
|
|
3551
3761
|
error?: undefined;
|
|
@@ -3708,7 +3918,7 @@ declare const useGetAcademyRegistrationsQuery: <R extends Record<string, any> =
|
|
|
3708
3918
|
skip?: boolean | undefined;
|
|
3709
3919
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3710
3920
|
} & {
|
|
3711
|
-
skip?: boolean | undefined;
|
|
3921
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
3712
3922
|
selectFromResult?: ((state: ({
|
|
3713
3923
|
data?: undefined;
|
|
3714
3924
|
error?: undefined;
|
|
@@ -3951,5 +4161,168 @@ declare const useRegisterToAcademyContentMutation: <R extends Record<string, any
|
|
|
3951
4161
|
originalArgs?: RegisterToAcademyContentApiArg | undefined;
|
|
3952
4162
|
reset: () => void;
|
|
3953
4163
|
}];
|
|
4164
|
+
declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<string, any> = ({
|
|
4165
|
+
data?: undefined;
|
|
4166
|
+
error?: undefined;
|
|
4167
|
+
fulfilledTimeStamp?: undefined;
|
|
4168
|
+
originalArgs?: undefined;
|
|
4169
|
+
requestId?: undefined;
|
|
4170
|
+
endpointName?: string | undefined;
|
|
4171
|
+
startedTimeStamp?: undefined;
|
|
4172
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4173
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4174
|
+
isLoading: false;
|
|
4175
|
+
isFetching: false;
|
|
4176
|
+
isSuccess: false;
|
|
4177
|
+
isError: false;
|
|
4178
|
+
isUninitialized: true;
|
|
4179
|
+
} | {
|
|
4180
|
+
error?: unknown;
|
|
4181
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4182
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4183
|
+
requestId?: string | undefined;
|
|
4184
|
+
endpointName?: string | undefined;
|
|
4185
|
+
startedTimeStamp?: number | undefined;
|
|
4186
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4187
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4188
|
+
isUninitialized: false;
|
|
4189
|
+
isSuccess: false;
|
|
4190
|
+
isError: false;
|
|
4191
|
+
isLoading: true;
|
|
4192
|
+
isFetching: boolean;
|
|
4193
|
+
data: undefined;
|
|
4194
|
+
} | {
|
|
4195
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4196
|
+
requestId?: string | undefined;
|
|
4197
|
+
endpointName?: string | undefined;
|
|
4198
|
+
startedTimeStamp?: number | undefined;
|
|
4199
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4200
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4201
|
+
isUninitialized: false;
|
|
4202
|
+
isLoading: false;
|
|
4203
|
+
isError: false;
|
|
4204
|
+
isSuccess: true;
|
|
4205
|
+
isFetching: true;
|
|
4206
|
+
error: undefined;
|
|
4207
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4208
|
+
fulfilledTimeStamp: number;
|
|
4209
|
+
} | {
|
|
4210
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4211
|
+
requestId?: string | undefined;
|
|
4212
|
+
endpointName?: string | undefined;
|
|
4213
|
+
startedTimeStamp?: number | undefined;
|
|
4214
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4215
|
+
isUninitialized: false;
|
|
4216
|
+
isLoading: false;
|
|
4217
|
+
isError: false;
|
|
4218
|
+
isSuccess: true;
|
|
4219
|
+
isFetching: false;
|
|
4220
|
+
error: undefined;
|
|
4221
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4222
|
+
fulfilledTimeStamp: number;
|
|
4223
|
+
currentData: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4224
|
+
} | {
|
|
4225
|
+
data?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4226
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4227
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4228
|
+
requestId?: string | undefined;
|
|
4229
|
+
endpointName?: string | undefined;
|
|
4230
|
+
startedTimeStamp?: number | undefined;
|
|
4231
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4232
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4233
|
+
isUninitialized: false;
|
|
4234
|
+
isLoading: false;
|
|
4235
|
+
isFetching: false;
|
|
4236
|
+
isSuccess: false;
|
|
4237
|
+
isError: true;
|
|
4238
|
+
error: unknown;
|
|
4239
|
+
}) & {
|
|
4240
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4241
|
+
}>(arg: GetApiAcademyRegistrationsByContentIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
4242
|
+
skip?: boolean | undefined;
|
|
4243
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
4244
|
+
} & {
|
|
4245
|
+
skip?: boolean | undefined; /** Workspaces serve as a virtual space for your team-based work, allows you to control access and more, Provide a detailed description to clarify the purpose of this workspace. Remember you can changes description of workspace after it's creations too. Learn more about workspaces [here](https://docs.meshery.io/concepts/logical/workspaces) */
|
|
4246
|
+
selectFromResult?: ((state: ({
|
|
4247
|
+
data?: undefined;
|
|
4248
|
+
error?: undefined;
|
|
4249
|
+
fulfilledTimeStamp?: undefined;
|
|
4250
|
+
originalArgs?: undefined;
|
|
4251
|
+
requestId?: undefined;
|
|
4252
|
+
endpointName?: string | undefined;
|
|
4253
|
+
startedTimeStamp?: undefined;
|
|
4254
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
4255
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4256
|
+
isLoading: false;
|
|
4257
|
+
isFetching: false;
|
|
4258
|
+
isSuccess: false;
|
|
4259
|
+
isError: false;
|
|
4260
|
+
isUninitialized: true;
|
|
4261
|
+
} | {
|
|
4262
|
+
error?: unknown;
|
|
4263
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4264
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4265
|
+
requestId?: string | undefined;
|
|
4266
|
+
endpointName?: string | undefined;
|
|
4267
|
+
startedTimeStamp?: number | undefined;
|
|
4268
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4269
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4270
|
+
isUninitialized: false;
|
|
4271
|
+
isSuccess: false;
|
|
4272
|
+
isError: false;
|
|
4273
|
+
isLoading: true;
|
|
4274
|
+
isFetching: boolean;
|
|
4275
|
+
data: undefined;
|
|
4276
|
+
} | {
|
|
4277
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4278
|
+
requestId?: string | undefined;
|
|
4279
|
+
endpointName?: string | undefined;
|
|
4280
|
+
startedTimeStamp?: number | undefined;
|
|
4281
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4282
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4283
|
+
isUninitialized: false;
|
|
4284
|
+
isLoading: false;
|
|
4285
|
+
isError: false;
|
|
4286
|
+
isSuccess: true;
|
|
4287
|
+
isFetching: true;
|
|
4288
|
+
error: undefined;
|
|
4289
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4290
|
+
fulfilledTimeStamp: number;
|
|
4291
|
+
} | {
|
|
4292
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4293
|
+
requestId?: string | undefined;
|
|
4294
|
+
endpointName?: string | undefined;
|
|
4295
|
+
startedTimeStamp?: number | undefined;
|
|
4296
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4297
|
+
isUninitialized: false;
|
|
4298
|
+
isLoading: false;
|
|
4299
|
+
isError: false;
|
|
4300
|
+
isSuccess: true;
|
|
4301
|
+
isFetching: false;
|
|
4302
|
+
error: undefined;
|
|
4303
|
+
data: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4304
|
+
fulfilledTimeStamp: number;
|
|
4305
|
+
currentData: GetApiAcademyRegistrationsByContentIdApiResponse;
|
|
4306
|
+
} | {
|
|
4307
|
+
data?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4308
|
+
fulfilledTimeStamp?: number | undefined;
|
|
4309
|
+
originalArgs?: GetApiAcademyRegistrationsByContentIdApiArg | undefined;
|
|
4310
|
+
requestId?: string | undefined;
|
|
4311
|
+
endpointName?: string | undefined;
|
|
4312
|
+
startedTimeStamp?: number | undefined;
|
|
4313
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4314
|
+
currentData?: GetApiAcademyRegistrationsByContentIdApiResponse | undefined;
|
|
4315
|
+
isUninitialized: false;
|
|
4316
|
+
isLoading: false;
|
|
4317
|
+
isFetching: false;
|
|
4318
|
+
isSuccess: false;
|
|
4319
|
+
isError: true;
|
|
4320
|
+
error: unknown;
|
|
4321
|
+
}) & {
|
|
4322
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
4323
|
+
}) => R) | undefined;
|
|
4324
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
4325
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyRegistrationsByContentIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyRegistrationsByContentIdApiResponse, "api", unknown>>;
|
|
4326
|
+
};
|
|
3954
4327
|
|
|
3955
|
-
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyRegistrationsApiArg, type GetAcademyRegistrationsApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyChallengesApiArg, type GetApiAcademyChallengesApiResponse, type GetApiAcademyLearningPathsApiArg, type GetApiAcademyLearningPathsApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyRegistrationsQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyChallengesQuery, useGetApiAcademyLearningPathsQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation };
|
|
4328
|
+
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyRegistrationsApiArg, type GetAcademyRegistrationsApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyChallengesApiArg, type GetApiAcademyChallengesApiResponse, type GetApiAcademyContentApiArg, type GetApiAcademyContentApiResponse, type GetApiAcademyLearningPathsApiArg, type GetApiAcademyLearningPathsApiResponse, 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 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyRegistrationsQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyChallengesQuery, useGetApiAcademyContentQuery, useGetApiAcademyLearningPathsQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation };
|
package/dist/cloudApi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('@reduxjs/toolkit/query/react');var a="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(a,i==null?void 0:i.id),t}}),g=async(t,e,
|
|
1
|
+
'use strict';var react=require('@reduxjs/toolkit/query/react');var a="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(a,i==null?void 0:i.id),t}}),g=async(t,e,n)=>await o(t,e,n),p=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=p.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}})}),getApiAcademyContent:t.query({query:e=>({url:"/api/academy/content",params:{contentType:e.contentType,orgsId:e.orgsId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyLearningPaths:t.query({query:e=>({url:"/api/academy/learning-paths",params:{org_id:e.orgId,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),getApiAcademyChallenges:t.query({query:e=>({url:"/api/academy/challenges",params:{org_id:e.orgId,search:e.search}})}),getAcademyRegistrations:t.query({query:e=>({url:"/api/academy/registrations/hello",params:{status:e.status}})}),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}})})}),overrideExisting:false});var {useImportDesignMutation:l,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:h,useGetPlansQuery:G,useGetFeaturesQuery:k,useGetFeaturesByOrganizationQuery:S,useGetApiWorkspacesQuery:E,usePostApiWorkspacesMutation:x,useGetApiWorkspacesByIdQuery:P,usePutApiWorkspacesByIdMutation:B,useDeleteApiWorkspacesByIdMutation:C,useCreateEnvironmentMutation:D,useGetEnvironmentsQuery:T,useGetApiAcademyContentQuery:W,useGetApiAcademyLearningPathsQuery:O,useGetApiAcademyByTypeAndOrgIdSlugQuery:z,useGetApiAcademyChallengesQuery:v,useGetAcademyRegistrationsQuery:w,useRegisterToAcademyContentMutation:q,useGetApiAcademyRegistrationsByContentIdQuery:F}=d;exports.cloudApi=d;exports.useCreateEnvironmentMutation=D;exports.useDeleteApiWorkspacesByIdMutation=C;exports.useGetAcademyRegistrationsQuery=w;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=z;exports.useGetApiAcademyChallengesQuery=v;exports.useGetApiAcademyContentQuery=W;exports.useGetApiAcademyLearningPathsQuery=O;exports.useGetApiAcademyRegistrationsByContentIdQuery=F;exports.useGetApiWorkspacesByIdQuery=P;exports.useGetApiWorkspacesQuery=E;exports.useGetEnvironmentsQuery=T;exports.useGetFeaturesByOrganizationQuery=S;exports.useGetFeaturesQuery=k;exports.useGetPlansQuery=G;exports.useGetSubscriptionsQuery=b;exports.useImportDesignMutation=l;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=I;exports.usePostApiEntitlementSubscriptionsCreateMutation=R;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=h;exports.usePostApiWorkspacesMutation=x;exports.usePutApiWorkspacesByIdMutation=B;exports.useRegisterMeshmodelsMutation=_;exports.useRegisterToAcademyContentMutation=q;
|
package/dist/cloudApi.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var a="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(a,i==null?void 0:i.id),t}}),g=async(t,e,
|
|
1
|
+
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var a="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(a,i==null?void 0:i.id),t}}),g=async(t,e,n)=>await o(t,e,n),p=createApi({baseQuery:g,tagTypes:[],endpoints:t=>({})});createApi({reducerPath:"mesheryRtkSchemasApi",baseQuery:fetchBaseQuery({baseUrl:process.env.RTK_MESHERY_ENDPOINT_PREFIX,credentials:"include"}),endpoints:()=>({})});var d=p.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}})}),getApiAcademyContent:t.query({query:e=>({url:"/api/academy/content",params:{contentType:e.contentType,orgsId:e.orgsId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyLearningPaths:t.query({query:e=>({url:"/api/academy/learning-paths",params:{org_id:e.orgId,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),getApiAcademyChallenges:t.query({query:e=>({url:"/api/academy/challenges",params:{org_id:e.orgId,search:e.search}})}),getAcademyRegistrations:t.query({query:e=>({url:"/api/academy/registrations/hello",params:{status:e.status}})}),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}})})}),overrideExisting:false});var {useImportDesignMutation:l,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:h,useGetPlansQuery:G,useGetFeaturesQuery:k,useGetFeaturesByOrganizationQuery:S,useGetApiWorkspacesQuery:E,usePostApiWorkspacesMutation:x,useGetApiWorkspacesByIdQuery:P,usePutApiWorkspacesByIdMutation:B,useDeleteApiWorkspacesByIdMutation:C,useCreateEnvironmentMutation:D,useGetEnvironmentsQuery:T,useGetApiAcademyContentQuery:W,useGetApiAcademyLearningPathsQuery:O,useGetApiAcademyByTypeAndOrgIdSlugQuery:z,useGetApiAcademyChallengesQuery:v,useGetAcademyRegistrationsQuery:w,useRegisterToAcademyContentMutation:q,useGetApiAcademyRegistrationsByContentIdQuery:F}=d;export{d as cloudApi,D as useCreateEnvironmentMutation,C as useDeleteApiWorkspacesByIdMutation,w as useGetAcademyRegistrationsQuery,z as useGetApiAcademyByTypeAndOrgIdSlugQuery,v as useGetApiAcademyChallengesQuery,W as useGetApiAcademyContentQuery,O as useGetApiAcademyLearningPathsQuery,F as useGetApiAcademyRegistrationsByContentIdQuery,P as useGetApiWorkspacesByIdQuery,E as useGetApiWorkspacesQuery,T as useGetEnvironmentsQuery,S as useGetFeaturesByOrganizationQuery,k as useGetFeaturesQuery,G as useGetPlansQuery,b as useGetSubscriptionsQuery,l as useImportDesignMutation,I as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,R as usePostApiEntitlementSubscriptionsCreateMutation,h as usePostApiEntitlementSubscriptionsWebhooksMutation,x as usePostApiWorkspacesMutation,B as usePutApiWorkspacesByIdMutation,_ as useRegisterMeshmodelsMutation,q as useRegisterToAcademyContentMutation};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshery/schemas",
|
|
3
|
-
"version": "0.1.0",
|
|
3
|
+
"version": "0.1.1-0",
|
|
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",
|