@meshery/schemas 0.0.3-4 → 0.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 +592 -1
- package/dist/cloudApi.d.ts +592 -1
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/dist/mesheryApi.d.mts +431 -232
- package/dist/mesheryApi.d.ts +431 -232
- package/dist/mesheryApi.js +1 -1
- package/dist/mesheryApi.mjs +1 -1
- package/package.json +3 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -19,7 +19,10 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
|
|
|
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
21
|
getApiAcademyLearningPaths: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyLearningPathsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyLearningPathsApiResponse, "api", unknown>;
|
|
22
|
+
getApiAcademyByTypeAndOrgIdSlug: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>;
|
|
22
23
|
getApiAcademyChallenges: _reduxjs_toolkit_query.QueryDefinition<GetApiAcademyChallengesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyChallengesApiResponse, "api", unknown>;
|
|
24
|
+
getAcademyRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyRegistrationsApiResponse, "api", unknown>;
|
|
25
|
+
registerToAcademyContent: _reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, RegisterToAcademyContentApiResponse, "api", unknown>;
|
|
23
26
|
}, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
|
|
24
27
|
|
|
25
28
|
type ImportDesignApiResponse = {
|
|
@@ -378,6 +381,10 @@ type GetApiAcademyLearningPathsApiResponse = {
|
|
|
378
381
|
/** Total number of learning paths */
|
|
379
382
|
total: number;
|
|
380
383
|
data: {
|
|
384
|
+
/** Id of the learning path */
|
|
385
|
+
id: string;
|
|
386
|
+
/** slug of the learning path */
|
|
387
|
+
slug: string;
|
|
381
388
|
/** Title of the learning path */
|
|
382
389
|
title: string;
|
|
383
390
|
/** Description of the learning path */
|
|
@@ -409,10 +416,48 @@ type GetApiAcademyLearningPathsApiArg = {
|
|
|
409
416
|
/** Search learning paths by title */
|
|
410
417
|
search?: string;
|
|
411
418
|
};
|
|
419
|
+
type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
|
|
420
|
+
/** Id of the learning path */
|
|
421
|
+
id: string;
|
|
422
|
+
/** slug of the learning path */
|
|
423
|
+
slug: string;
|
|
424
|
+
/** Title of the learning path */
|
|
425
|
+
title: string;
|
|
426
|
+
/** Description of the learning path */
|
|
427
|
+
description: string;
|
|
428
|
+
/** Optional banner image */
|
|
429
|
+
banner?: string | null;
|
|
430
|
+
/** Canonical URL for the learning path */
|
|
431
|
+
permalink: string;
|
|
432
|
+
/** Organization ID that owns this learning path */
|
|
433
|
+
orgId: string;
|
|
434
|
+
/** List of courses in this learning path */
|
|
435
|
+
courses?: {
|
|
436
|
+
/** Title of the course */
|
|
437
|
+
title: string;
|
|
438
|
+
/** URL to the course content */
|
|
439
|
+
permalink: string;
|
|
440
|
+
/** Course description */
|
|
441
|
+
description?: string;
|
|
442
|
+
/** Order of the course in the list */
|
|
443
|
+
weight?: number;
|
|
444
|
+
/** Optional banner image */
|
|
445
|
+
banner?: string | null;
|
|
446
|
+
}[];
|
|
447
|
+
};
|
|
448
|
+
type GetApiAcademyByTypeAndOrgIdSlugApiArg = {
|
|
449
|
+
type: string;
|
|
450
|
+
orgId: string;
|
|
451
|
+
slug: string;
|
|
452
|
+
};
|
|
412
453
|
type GetApiAcademyChallengesApiResponse = {
|
|
413
454
|
/** Total number of learning paths */
|
|
414
455
|
total: number;
|
|
415
456
|
data: {
|
|
457
|
+
/** Id of the learning path */
|
|
458
|
+
id: string;
|
|
459
|
+
/** slug of the learning path */
|
|
460
|
+
slug: string;
|
|
416
461
|
/** Title of the learning path */
|
|
417
462
|
title: string;
|
|
418
463
|
/** Description of the learning path */
|
|
@@ -444,6 +489,65 @@ type GetApiAcademyChallengesApiArg = {
|
|
|
444
489
|
/** Search learning paths by title */
|
|
445
490
|
search?: string;
|
|
446
491
|
};
|
|
492
|
+
type GetAcademyRegistrationsApiResponse = {
|
|
493
|
+
/** Total number of learning paths */
|
|
494
|
+
total: number;
|
|
495
|
+
data: {
|
|
496
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
497
|
+
ID: string;
|
|
498
|
+
/** ID of the organization */
|
|
499
|
+
org_id: string;
|
|
500
|
+
/** ID of the course content */
|
|
501
|
+
content_id: string;
|
|
502
|
+
/** ID of the user (foreign key to User) */
|
|
503
|
+
user_id: string;
|
|
504
|
+
/** Status of the user's course registration */
|
|
505
|
+
status: "registered" | "in_progress" | "completed" | "failed" | "withdrawn";
|
|
506
|
+
/** When the registration was updated */
|
|
507
|
+
updated_at: string;
|
|
508
|
+
/** When the registration was created */
|
|
509
|
+
created_at: string;
|
|
510
|
+
/** Timestamp when the resource was deleted. */
|
|
511
|
+
deleted_at?: string;
|
|
512
|
+
/** Additional metadata about the registration */
|
|
513
|
+
metadata: {
|
|
514
|
+
[key: string]: any;
|
|
515
|
+
};
|
|
516
|
+
}[];
|
|
517
|
+
};
|
|
518
|
+
type GetAcademyRegistrationsApiArg = {
|
|
519
|
+
/** filter by status */
|
|
520
|
+
status: string;
|
|
521
|
+
};
|
|
522
|
+
type RegisterToAcademyContentApiResponse = {
|
|
523
|
+
/** A Universally Unique Identifier used to uniquely identify entities in Meshery. The UUID core definition is used across different schemas. */
|
|
524
|
+
ID: string;
|
|
525
|
+
/** ID of the organization */
|
|
526
|
+
org_id: string;
|
|
527
|
+
/** ID of the course content */
|
|
528
|
+
content_id: string;
|
|
529
|
+
/** ID of the user (foreign key to User) */
|
|
530
|
+
user_id: string;
|
|
531
|
+
/** Status of the user's course registration */
|
|
532
|
+
status: "registered" | "in_progress" | "completed" | "failed" | "withdrawn";
|
|
533
|
+
/** When the registration was updated */
|
|
534
|
+
updated_at: string;
|
|
535
|
+
/** When the registration was created */
|
|
536
|
+
created_at: string;
|
|
537
|
+
/** Timestamp when the resource was deleted. */
|
|
538
|
+
deleted_at?: string;
|
|
539
|
+
/** Additional metadata about the registration */
|
|
540
|
+
metadata: {
|
|
541
|
+
[key: string]: any;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
type RegisterToAcademyContentApiArg = {
|
|
545
|
+
body: {
|
|
546
|
+
/** ID of the academy content to register for */
|
|
547
|
+
content_id: string;
|
|
548
|
+
content_type?: "learning-path" | "challenge";
|
|
549
|
+
};
|
|
550
|
+
};
|
|
447
551
|
declare const useImportDesignMutation: <R extends Record<string, any> = ({
|
|
448
552
|
requestId?: undefined;
|
|
449
553
|
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
@@ -3197,6 +3301,169 @@ declare const useGetApiAcademyLearningPathsQuery: <R extends Record<string, any>
|
|
|
3197
3301
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3198
3302
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyLearningPathsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyLearningPathsApiResponse, "api", unknown>>;
|
|
3199
3303
|
};
|
|
3304
|
+
declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string, any> = ({
|
|
3305
|
+
data?: undefined;
|
|
3306
|
+
error?: undefined;
|
|
3307
|
+
fulfilledTimeStamp?: undefined;
|
|
3308
|
+
originalArgs?: undefined;
|
|
3309
|
+
requestId?: undefined;
|
|
3310
|
+
endpointName?: string | undefined;
|
|
3311
|
+
startedTimeStamp?: undefined;
|
|
3312
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3313
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3314
|
+
isLoading: false;
|
|
3315
|
+
isFetching: false;
|
|
3316
|
+
isSuccess: false;
|
|
3317
|
+
isError: false;
|
|
3318
|
+
isUninitialized: true;
|
|
3319
|
+
} | {
|
|
3320
|
+
error?: unknown;
|
|
3321
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3322
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3323
|
+
requestId?: string | undefined;
|
|
3324
|
+
endpointName?: string | undefined;
|
|
3325
|
+
startedTimeStamp?: number | undefined;
|
|
3326
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3327
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3328
|
+
isUninitialized: false;
|
|
3329
|
+
isSuccess: false;
|
|
3330
|
+
isError: false;
|
|
3331
|
+
isLoading: true;
|
|
3332
|
+
isFetching: boolean;
|
|
3333
|
+
data: undefined;
|
|
3334
|
+
} | {
|
|
3335
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3336
|
+
requestId?: string | undefined;
|
|
3337
|
+
endpointName?: string | undefined;
|
|
3338
|
+
startedTimeStamp?: number | undefined;
|
|
3339
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3340
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3341
|
+
isUninitialized: false;
|
|
3342
|
+
isLoading: false;
|
|
3343
|
+
isError: false;
|
|
3344
|
+
isSuccess: true;
|
|
3345
|
+
isFetching: true;
|
|
3346
|
+
error: undefined;
|
|
3347
|
+
data: GetApiAcademyByTypeAndOrgIdSlugApiResponse;
|
|
3348
|
+
fulfilledTimeStamp: number;
|
|
3349
|
+
} | {
|
|
3350
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3351
|
+
requestId?: string | undefined;
|
|
3352
|
+
endpointName?: string | undefined;
|
|
3353
|
+
startedTimeStamp?: number | undefined;
|
|
3354
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3355
|
+
isUninitialized: false;
|
|
3356
|
+
isLoading: false;
|
|
3357
|
+
isError: false;
|
|
3358
|
+
isSuccess: true;
|
|
3359
|
+
isFetching: false;
|
|
3360
|
+
error: undefined;
|
|
3361
|
+
data: GetApiAcademyByTypeAndOrgIdSlugApiResponse;
|
|
3362
|
+
fulfilledTimeStamp: number;
|
|
3363
|
+
currentData: GetApiAcademyByTypeAndOrgIdSlugApiResponse;
|
|
3364
|
+
} | {
|
|
3365
|
+
data?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3366
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3367
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3368
|
+
requestId?: string | undefined;
|
|
3369
|
+
endpointName?: string | undefined;
|
|
3370
|
+
startedTimeStamp?: number | undefined;
|
|
3371
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3372
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3373
|
+
isUninitialized: false;
|
|
3374
|
+
isLoading: false;
|
|
3375
|
+
isFetching: false;
|
|
3376
|
+
isSuccess: false;
|
|
3377
|
+
isError: true;
|
|
3378
|
+
error: unknown;
|
|
3379
|
+
}) & {
|
|
3380
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3381
|
+
}>(arg: GetApiAcademyByTypeAndOrgIdSlugApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3382
|
+
skip?: boolean | undefined;
|
|
3383
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3384
|
+
} & {
|
|
3385
|
+
skip?: boolean | undefined;
|
|
3386
|
+
selectFromResult?: ((state: ({
|
|
3387
|
+
data?: undefined;
|
|
3388
|
+
error?: undefined;
|
|
3389
|
+
fulfilledTimeStamp?: undefined;
|
|
3390
|
+
originalArgs?: undefined;
|
|
3391
|
+
requestId?: undefined;
|
|
3392
|
+
endpointName?: string | undefined;
|
|
3393
|
+
startedTimeStamp?: undefined;
|
|
3394
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3395
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3396
|
+
isLoading: false;
|
|
3397
|
+
isFetching: false;
|
|
3398
|
+
isSuccess: false;
|
|
3399
|
+
isError: false;
|
|
3400
|
+
isUninitialized: true;
|
|
3401
|
+
} | {
|
|
3402
|
+
error?: unknown;
|
|
3403
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3404
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3405
|
+
requestId?: string | undefined;
|
|
3406
|
+
endpointName?: string | undefined;
|
|
3407
|
+
startedTimeStamp?: number | undefined;
|
|
3408
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3409
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3410
|
+
isUninitialized: false;
|
|
3411
|
+
isSuccess: false;
|
|
3412
|
+
isError: false;
|
|
3413
|
+
isLoading: true;
|
|
3414
|
+
isFetching: boolean;
|
|
3415
|
+
data: undefined;
|
|
3416
|
+
} | {
|
|
3417
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3418
|
+
requestId?: string | undefined;
|
|
3419
|
+
endpointName?: string | undefined;
|
|
3420
|
+
startedTimeStamp?: number | undefined;
|
|
3421
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3422
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3423
|
+
isUninitialized: false;
|
|
3424
|
+
isLoading: false;
|
|
3425
|
+
isError: false;
|
|
3426
|
+
isSuccess: true;
|
|
3427
|
+
isFetching: true;
|
|
3428
|
+
error: undefined;
|
|
3429
|
+
data: GetApiAcademyByTypeAndOrgIdSlugApiResponse;
|
|
3430
|
+
fulfilledTimeStamp: number;
|
|
3431
|
+
} | {
|
|
3432
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3433
|
+
requestId?: string | undefined;
|
|
3434
|
+
endpointName?: string | undefined;
|
|
3435
|
+
startedTimeStamp?: number | undefined;
|
|
3436
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3437
|
+
isUninitialized: false;
|
|
3438
|
+
isLoading: false;
|
|
3439
|
+
isError: false;
|
|
3440
|
+
isSuccess: true;
|
|
3441
|
+
isFetching: false;
|
|
3442
|
+
error: undefined;
|
|
3443
|
+
data: GetApiAcademyByTypeAndOrgIdSlugApiResponse;
|
|
3444
|
+
fulfilledTimeStamp: number;
|
|
3445
|
+
currentData: GetApiAcademyByTypeAndOrgIdSlugApiResponse;
|
|
3446
|
+
} | {
|
|
3447
|
+
data?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3448
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3449
|
+
originalArgs?: GetApiAcademyByTypeAndOrgIdSlugApiArg | undefined;
|
|
3450
|
+
requestId?: string | undefined;
|
|
3451
|
+
endpointName?: string | undefined;
|
|
3452
|
+
startedTimeStamp?: number | undefined;
|
|
3453
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3454
|
+
currentData?: GetApiAcademyByTypeAndOrgIdSlugApiResponse | undefined;
|
|
3455
|
+
isUninitialized: false;
|
|
3456
|
+
isLoading: false;
|
|
3457
|
+
isFetching: false;
|
|
3458
|
+
isSuccess: false;
|
|
3459
|
+
isError: true;
|
|
3460
|
+
error: unknown;
|
|
3461
|
+
}) & {
|
|
3462
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3463
|
+
}) => R) | undefined;
|
|
3464
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3465
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyByTypeAndOrgIdSlugApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyByTypeAndOrgIdSlugApiResponse, "api", unknown>>;
|
|
3466
|
+
};
|
|
3200
3467
|
declare const useGetApiAcademyChallengesQuery: <R extends Record<string, any> = ({
|
|
3201
3468
|
data?: undefined;
|
|
3202
3469
|
error?: undefined;
|
|
@@ -3360,5 +3627,329 @@ declare const useGetApiAcademyChallengesQuery: <R extends Record<string, any> =
|
|
|
3360
3627
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3361
3628
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiAcademyChallengesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiAcademyChallengesApiResponse, "api", unknown>>;
|
|
3362
3629
|
};
|
|
3630
|
+
declare const useGetAcademyRegistrationsQuery: <R extends Record<string, any> = ({
|
|
3631
|
+
data?: undefined;
|
|
3632
|
+
error?: undefined;
|
|
3633
|
+
fulfilledTimeStamp?: undefined;
|
|
3634
|
+
originalArgs?: undefined;
|
|
3635
|
+
requestId?: undefined;
|
|
3636
|
+
endpointName?: string | undefined;
|
|
3637
|
+
startedTimeStamp?: undefined;
|
|
3638
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3639
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3640
|
+
isLoading: false;
|
|
3641
|
+
isFetching: false;
|
|
3642
|
+
isSuccess: false;
|
|
3643
|
+
isError: false;
|
|
3644
|
+
isUninitialized: true;
|
|
3645
|
+
} | {
|
|
3646
|
+
error?: unknown;
|
|
3647
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3648
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3649
|
+
requestId?: string | undefined;
|
|
3650
|
+
endpointName?: string | undefined;
|
|
3651
|
+
startedTimeStamp?: number | undefined;
|
|
3652
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3653
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3654
|
+
isUninitialized: false;
|
|
3655
|
+
isSuccess: false;
|
|
3656
|
+
isError: false;
|
|
3657
|
+
isLoading: true;
|
|
3658
|
+
isFetching: boolean;
|
|
3659
|
+
data: undefined;
|
|
3660
|
+
} | {
|
|
3661
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3662
|
+
requestId?: string | undefined;
|
|
3663
|
+
endpointName?: string | undefined;
|
|
3664
|
+
startedTimeStamp?: number | undefined;
|
|
3665
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3666
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3667
|
+
isUninitialized: false;
|
|
3668
|
+
isLoading: false;
|
|
3669
|
+
isError: false;
|
|
3670
|
+
isSuccess: true;
|
|
3671
|
+
isFetching: true;
|
|
3672
|
+
error: undefined;
|
|
3673
|
+
data: GetAcademyRegistrationsApiResponse;
|
|
3674
|
+
fulfilledTimeStamp: number;
|
|
3675
|
+
} | {
|
|
3676
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3677
|
+
requestId?: string | undefined;
|
|
3678
|
+
endpointName?: string | undefined;
|
|
3679
|
+
startedTimeStamp?: number | undefined;
|
|
3680
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3681
|
+
isUninitialized: false;
|
|
3682
|
+
isLoading: false;
|
|
3683
|
+
isError: false;
|
|
3684
|
+
isSuccess: true;
|
|
3685
|
+
isFetching: false;
|
|
3686
|
+
error: undefined;
|
|
3687
|
+
data: GetAcademyRegistrationsApiResponse;
|
|
3688
|
+
fulfilledTimeStamp: number;
|
|
3689
|
+
currentData: GetAcademyRegistrationsApiResponse;
|
|
3690
|
+
} | {
|
|
3691
|
+
data?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3692
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3693
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3694
|
+
requestId?: string | undefined;
|
|
3695
|
+
endpointName?: string | undefined;
|
|
3696
|
+
startedTimeStamp?: number | undefined;
|
|
3697
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3698
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3699
|
+
isUninitialized: false;
|
|
3700
|
+
isLoading: false;
|
|
3701
|
+
isFetching: false;
|
|
3702
|
+
isSuccess: false;
|
|
3703
|
+
isError: true;
|
|
3704
|
+
error: unknown;
|
|
3705
|
+
}) & {
|
|
3706
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3707
|
+
}>(arg: GetAcademyRegistrationsApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3708
|
+
skip?: boolean | undefined;
|
|
3709
|
+
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
3710
|
+
} & {
|
|
3711
|
+
skip?: boolean | undefined;
|
|
3712
|
+
selectFromResult?: ((state: ({
|
|
3713
|
+
data?: undefined;
|
|
3714
|
+
error?: undefined;
|
|
3715
|
+
fulfilledTimeStamp?: undefined;
|
|
3716
|
+
originalArgs?: undefined;
|
|
3717
|
+
requestId?: undefined;
|
|
3718
|
+
endpointName?: string | undefined;
|
|
3719
|
+
startedTimeStamp?: undefined;
|
|
3720
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3721
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3722
|
+
isLoading: false;
|
|
3723
|
+
isFetching: false;
|
|
3724
|
+
isSuccess: false;
|
|
3725
|
+
isError: false;
|
|
3726
|
+
isUninitialized: true;
|
|
3727
|
+
} | {
|
|
3728
|
+
error?: unknown;
|
|
3729
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3730
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3731
|
+
requestId?: string | undefined;
|
|
3732
|
+
endpointName?: string | undefined;
|
|
3733
|
+
startedTimeStamp?: number | undefined;
|
|
3734
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3735
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3736
|
+
isUninitialized: false;
|
|
3737
|
+
isSuccess: false;
|
|
3738
|
+
isError: false;
|
|
3739
|
+
isLoading: true;
|
|
3740
|
+
isFetching: boolean;
|
|
3741
|
+
data: undefined;
|
|
3742
|
+
} | {
|
|
3743
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3744
|
+
requestId?: string | undefined;
|
|
3745
|
+
endpointName?: string | undefined;
|
|
3746
|
+
startedTimeStamp?: number | undefined;
|
|
3747
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3748
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3749
|
+
isUninitialized: false;
|
|
3750
|
+
isLoading: false;
|
|
3751
|
+
isError: false;
|
|
3752
|
+
isSuccess: true;
|
|
3753
|
+
isFetching: true;
|
|
3754
|
+
error: undefined;
|
|
3755
|
+
data: GetAcademyRegistrationsApiResponse;
|
|
3756
|
+
fulfilledTimeStamp: number;
|
|
3757
|
+
} | {
|
|
3758
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3759
|
+
requestId?: string | undefined;
|
|
3760
|
+
endpointName?: string | undefined;
|
|
3761
|
+
startedTimeStamp?: number | undefined;
|
|
3762
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3763
|
+
isUninitialized: false;
|
|
3764
|
+
isLoading: false;
|
|
3765
|
+
isError: false;
|
|
3766
|
+
isSuccess: true;
|
|
3767
|
+
isFetching: false;
|
|
3768
|
+
error: undefined;
|
|
3769
|
+
data: GetAcademyRegistrationsApiResponse;
|
|
3770
|
+
fulfilledTimeStamp: number;
|
|
3771
|
+
currentData: GetAcademyRegistrationsApiResponse;
|
|
3772
|
+
} | {
|
|
3773
|
+
data?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3774
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3775
|
+
originalArgs?: GetAcademyRegistrationsApiArg | undefined;
|
|
3776
|
+
requestId?: string | undefined;
|
|
3777
|
+
endpointName?: string | undefined;
|
|
3778
|
+
startedTimeStamp?: number | undefined;
|
|
3779
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3780
|
+
currentData?: GetAcademyRegistrationsApiResponse | undefined;
|
|
3781
|
+
isUninitialized: false;
|
|
3782
|
+
isLoading: false;
|
|
3783
|
+
isFetching: false;
|
|
3784
|
+
isSuccess: false;
|
|
3785
|
+
isError: true;
|
|
3786
|
+
error: unknown;
|
|
3787
|
+
}) & {
|
|
3788
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3789
|
+
}) => R) | undefined;
|
|
3790
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3791
|
+
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetAcademyRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyRegistrationsApiResponse, "api", unknown>>;
|
|
3792
|
+
};
|
|
3793
|
+
declare const useRegisterToAcademyContentMutation: <R extends Record<string, any> = ({
|
|
3794
|
+
requestId?: undefined;
|
|
3795
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3796
|
+
data?: undefined;
|
|
3797
|
+
error?: undefined;
|
|
3798
|
+
endpointName?: string | undefined;
|
|
3799
|
+
startedTimeStamp?: undefined;
|
|
3800
|
+
fulfilledTimeStamp?: undefined;
|
|
3801
|
+
} & {
|
|
3802
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3803
|
+
isUninitialized: true;
|
|
3804
|
+
isLoading: false;
|
|
3805
|
+
isSuccess: false;
|
|
3806
|
+
isError: false;
|
|
3807
|
+
}) | ({
|
|
3808
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
3809
|
+
} & Omit<{
|
|
3810
|
+
requestId: string;
|
|
3811
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3812
|
+
error?: unknown;
|
|
3813
|
+
endpointName: string;
|
|
3814
|
+
startedTimeStamp: number;
|
|
3815
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3816
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
3817
|
+
requestId: string;
|
|
3818
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3819
|
+
error?: unknown;
|
|
3820
|
+
endpointName: string;
|
|
3821
|
+
startedTimeStamp: number;
|
|
3822
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3823
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
3824
|
+
error: undefined;
|
|
3825
|
+
} & {
|
|
3826
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
3827
|
+
isUninitialized: false;
|
|
3828
|
+
isLoading: false;
|
|
3829
|
+
isSuccess: true;
|
|
3830
|
+
isError: false;
|
|
3831
|
+
}) | ({
|
|
3832
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
3833
|
+
} & {
|
|
3834
|
+
requestId: string;
|
|
3835
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3836
|
+
error?: unknown;
|
|
3837
|
+
endpointName: string;
|
|
3838
|
+
startedTimeStamp: number;
|
|
3839
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3840
|
+
} & {
|
|
3841
|
+
data?: undefined;
|
|
3842
|
+
} & {
|
|
3843
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
3844
|
+
isUninitialized: false;
|
|
3845
|
+
isLoading: true;
|
|
3846
|
+
isSuccess: false;
|
|
3847
|
+
isError: false;
|
|
3848
|
+
}) | ({
|
|
3849
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
3850
|
+
} & Omit<{
|
|
3851
|
+
requestId: string;
|
|
3852
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3853
|
+
error?: unknown;
|
|
3854
|
+
endpointName: string;
|
|
3855
|
+
startedTimeStamp: number;
|
|
3856
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3857
|
+
}, "error"> & Required<Pick<{
|
|
3858
|
+
requestId: string;
|
|
3859
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3860
|
+
error?: unknown;
|
|
3861
|
+
endpointName: string;
|
|
3862
|
+
startedTimeStamp: number;
|
|
3863
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3864
|
+
}, "error">> & {
|
|
3865
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
3866
|
+
isUninitialized: false;
|
|
3867
|
+
isLoading: false;
|
|
3868
|
+
isSuccess: false;
|
|
3869
|
+
isError: true;
|
|
3870
|
+
})>(options?: {
|
|
3871
|
+
selectFromResult?: ((state: ({
|
|
3872
|
+
requestId?: undefined;
|
|
3873
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3874
|
+
data?: undefined;
|
|
3875
|
+
error?: undefined;
|
|
3876
|
+
endpointName?: string | undefined;
|
|
3877
|
+
startedTimeStamp?: undefined;
|
|
3878
|
+
fulfilledTimeStamp?: undefined;
|
|
3879
|
+
} & {
|
|
3880
|
+
status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
|
|
3881
|
+
isUninitialized: true;
|
|
3882
|
+
isLoading: false;
|
|
3883
|
+
isSuccess: false;
|
|
3884
|
+
isError: false;
|
|
3885
|
+
}) | ({
|
|
3886
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
3887
|
+
} & Omit<{
|
|
3888
|
+
requestId: string;
|
|
3889
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3890
|
+
error?: unknown;
|
|
3891
|
+
endpointName: string;
|
|
3892
|
+
startedTimeStamp: number;
|
|
3893
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3894
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
3895
|
+
requestId: string;
|
|
3896
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3897
|
+
error?: unknown;
|
|
3898
|
+
endpointName: string;
|
|
3899
|
+
startedTimeStamp: number;
|
|
3900
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3901
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
3902
|
+
error: undefined;
|
|
3903
|
+
} & {
|
|
3904
|
+
status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
|
|
3905
|
+
isUninitialized: false;
|
|
3906
|
+
isLoading: false;
|
|
3907
|
+
isSuccess: true;
|
|
3908
|
+
isError: false;
|
|
3909
|
+
}) | ({
|
|
3910
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
3911
|
+
} & {
|
|
3912
|
+
requestId: string;
|
|
3913
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3914
|
+
error?: unknown;
|
|
3915
|
+
endpointName: string;
|
|
3916
|
+
startedTimeStamp: number;
|
|
3917
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3918
|
+
} & {
|
|
3919
|
+
data?: undefined;
|
|
3920
|
+
} & {
|
|
3921
|
+
status: _reduxjs_toolkit_query.QueryStatus.pending;
|
|
3922
|
+
isUninitialized: false;
|
|
3923
|
+
isLoading: true;
|
|
3924
|
+
isSuccess: false;
|
|
3925
|
+
isError: false;
|
|
3926
|
+
}) | ({
|
|
3927
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
3928
|
+
} & Omit<{
|
|
3929
|
+
requestId: string;
|
|
3930
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3931
|
+
error?: unknown;
|
|
3932
|
+
endpointName: string;
|
|
3933
|
+
startedTimeStamp: number;
|
|
3934
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3935
|
+
}, "error"> & Required<Pick<{
|
|
3936
|
+
requestId: string;
|
|
3937
|
+
data?: RegisterToAcademyContentApiResponse | undefined;
|
|
3938
|
+
error?: unknown;
|
|
3939
|
+
endpointName: string;
|
|
3940
|
+
startedTimeStamp: number;
|
|
3941
|
+
fulfilledTimeStamp?: number | undefined;
|
|
3942
|
+
}, "error">> & {
|
|
3943
|
+
status: _reduxjs_toolkit_query.QueryStatus.rejected;
|
|
3944
|
+
isUninitialized: false;
|
|
3945
|
+
isLoading: false;
|
|
3946
|
+
isSuccess: false;
|
|
3947
|
+
isError: true;
|
|
3948
|
+
})) => R) | undefined;
|
|
3949
|
+
fixedCacheKey?: string | undefined;
|
|
3950
|
+
} | undefined) => readonly [(arg: RegisterToAcademyContentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterToAcademyContentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, RegisterToAcademyContentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
|
|
3951
|
+
originalArgs?: RegisterToAcademyContentApiArg | undefined;
|
|
3952
|
+
reset: () => void;
|
|
3953
|
+
}];
|
|
3363
3954
|
|
|
3364
|
-
export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, 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, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetApiAcademyChallengesQuery, useGetApiAcademyLearningPathsQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation };
|
|
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 };
|