@meshery/schemas 0.1.1-4 → 0.1.1-5
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 +24 -20
- package/dist/cloudApi.d.ts +24 -20
- package/dist/cloudApi.js +1 -1
- package/dist/cloudApi.mjs +1 -1
- package/package.json +1 -1
package/dist/cloudApi.d.mts
CHANGED
|
@@ -380,6 +380,10 @@ type GetApiAcademyContentApiResponse = unknown;
|
|
|
380
380
|
type GetApiAcademyContentApiArg = {
|
|
381
381
|
/** Filter content by content types */
|
|
382
382
|
contentType?: string[];
|
|
383
|
+
/** Filter content by visibility (public/private) */
|
|
384
|
+
visibility?: string[];
|
|
385
|
+
/** Filter content by difficulty level */
|
|
386
|
+
level?: string[];
|
|
383
387
|
/** Filter content by organization IDs */
|
|
384
388
|
orgId?: string[];
|
|
385
389
|
/** Filter content by categories */
|
|
@@ -919,7 +923,7 @@ declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
|
|
|
919
923
|
isError: true;
|
|
920
924
|
error: unknown;
|
|
921
925
|
}) & {
|
|
922
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
926
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
923
927
|
}>(arg: GetSubscriptionsApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
924
928
|
skip?: boolean | undefined;
|
|
925
929
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1001,7 +1005,7 @@ declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
|
|
|
1001
1005
|
isError: true;
|
|
1002
1006
|
error: unknown;
|
|
1003
1007
|
}) & {
|
|
1004
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1008
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1005
1009
|
}) => R) | undefined;
|
|
1006
1010
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1007
1011
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetSubscriptionsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetSubscriptionsApiResponse, "api", unknown>>;
|
|
@@ -1565,7 +1569,7 @@ declare const useGetPlansQuery: <R extends Record<string, any> = ({
|
|
|
1565
1569
|
isError: true;
|
|
1566
1570
|
error: unknown;
|
|
1567
1571
|
}) & {
|
|
1568
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1572
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1569
1573
|
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1570
1574
|
skip?: boolean | undefined;
|
|
1571
1575
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1647,7 +1651,7 @@ declare const useGetPlansQuery: <R extends Record<string, any> = ({
|
|
|
1647
1651
|
isError: true;
|
|
1648
1652
|
error: unknown;
|
|
1649
1653
|
}) & {
|
|
1650
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1654
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1651
1655
|
}) => R) | undefined;
|
|
1652
1656
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1653
1657
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetPlansApiResponse, "api", unknown>>;
|
|
@@ -1728,7 +1732,7 @@ declare const useGetFeaturesQuery: <R extends Record<string, any> = ({
|
|
|
1728
1732
|
isError: true;
|
|
1729
1733
|
error: unknown;
|
|
1730
1734
|
}) & {
|
|
1731
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1735
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1732
1736
|
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1733
1737
|
skip?: boolean | undefined;
|
|
1734
1738
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1810,7 +1814,7 @@ declare const useGetFeaturesQuery: <R extends Record<string, any> = ({
|
|
|
1810
1814
|
isError: true;
|
|
1811
1815
|
error: unknown;
|
|
1812
1816
|
}) & {
|
|
1813
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1817
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1814
1818
|
}) => R) | undefined;
|
|
1815
1819
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1816
1820
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetFeaturesApiResponse, "api", unknown>>;
|
|
@@ -1891,7 +1895,7 @@ declare const useGetFeaturesByOrganizationQuery: <R extends Record<string, any>
|
|
|
1891
1895
|
isError: true;
|
|
1892
1896
|
error: unknown;
|
|
1893
1897
|
}) & {
|
|
1894
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1898
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1895
1899
|
}>(arg: GetFeaturesByOrganizationApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1896
1900
|
skip?: boolean | undefined;
|
|
1897
1901
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1973,7 +1977,7 @@ declare const useGetFeaturesByOrganizationQuery: <R extends Record<string, any>
|
|
|
1973
1977
|
isError: true;
|
|
1974
1978
|
error: unknown;
|
|
1975
1979
|
}) & {
|
|
1976
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1980
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1977
1981
|
}) => R) | undefined;
|
|
1978
1982
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1979
1983
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetFeaturesByOrganizationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetFeaturesByOrganizationApiResponse, "api", unknown>>;
|
|
@@ -2054,7 +2058,7 @@ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
|
|
|
2054
2058
|
isError: true;
|
|
2055
2059
|
error: unknown;
|
|
2056
2060
|
}) & {
|
|
2057
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2061
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2058
2062
|
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
2059
2063
|
skip?: boolean | undefined;
|
|
2060
2064
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -2136,7 +2140,7 @@ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
|
|
|
2136
2140
|
isError: true;
|
|
2137
2141
|
error: unknown;
|
|
2138
2142
|
}) & {
|
|
2139
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2143
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2140
2144
|
}) => R) | undefined;
|
|
2141
2145
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
2142
2146
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiWorkspacesApiResponse, "api", unknown>>;
|
|
@@ -2378,7 +2382,7 @@ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
|
|
|
2378
2382
|
isError: true;
|
|
2379
2383
|
error: unknown;
|
|
2380
2384
|
}) & {
|
|
2381
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2385
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2382
2386
|
}>(arg: GetApiWorkspacesByIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
2383
2387
|
skip?: boolean | undefined;
|
|
2384
2388
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -2460,7 +2464,7 @@ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
|
|
|
2460
2464
|
isError: true;
|
|
2461
2465
|
error: unknown;
|
|
2462
2466
|
}) & {
|
|
2463
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2467
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2464
2468
|
}) => R) | undefined;
|
|
2465
2469
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
2466
2470
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiWorkspacesByIdApiResponse, "api", unknown>>;
|
|
@@ -3024,7 +3028,7 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3024
3028
|
isError: true;
|
|
3025
3029
|
error: unknown;
|
|
3026
3030
|
}) & {
|
|
3027
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3031
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3028
3032
|
}>(arg: GetEnvironmentsApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3029
3033
|
skip?: boolean | undefined;
|
|
3030
3034
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3106,7 +3110,7 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3106
3110
|
isError: true;
|
|
3107
3111
|
error: unknown;
|
|
3108
3112
|
}) & {
|
|
3109
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3113
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3110
3114
|
}) => R) | undefined;
|
|
3111
3115
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3112
3116
|
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>>;
|
|
@@ -3187,7 +3191,7 @@ declare const useGetApiAcademyContentQuery: <R extends Record<string, any> = ({
|
|
|
3187
3191
|
isError: true;
|
|
3188
3192
|
error: unknown;
|
|
3189
3193
|
}) & {
|
|
3190
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3194
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3191
3195
|
}>(arg: GetApiAcademyContentApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3192
3196
|
skip?: boolean | undefined;
|
|
3193
3197
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3269,7 +3273,7 @@ declare const useGetApiAcademyContentQuery: <R extends Record<string, any> = ({
|
|
|
3269
3273
|
isError: true;
|
|
3270
3274
|
error: unknown;
|
|
3271
3275
|
}) & {
|
|
3272
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3276
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3273
3277
|
}) => R) | undefined;
|
|
3274
3278
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3275
3279
|
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,7 +3354,7 @@ declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string,
|
|
|
3350
3354
|
isError: true;
|
|
3351
3355
|
error: unknown;
|
|
3352
3356
|
}) & {
|
|
3353
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3357
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3354
3358
|
}>(arg: GetApiAcademyByTypeAndOrgIdSlugApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3355
3359
|
skip?: boolean | undefined;
|
|
3356
3360
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3432,7 +3436,7 @@ declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string,
|
|
|
3432
3436
|
isError: true;
|
|
3433
3437
|
error: unknown;
|
|
3434
3438
|
}) & {
|
|
3435
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3439
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3436
3440
|
}) => R) | undefined;
|
|
3437
3441
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3438
3442
|
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>>;
|
|
@@ -3674,7 +3678,7 @@ declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<s
|
|
|
3674
3678
|
isError: true;
|
|
3675
3679
|
error: unknown;
|
|
3676
3680
|
}) & {
|
|
3677
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3681
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3678
3682
|
}>(arg: GetApiAcademyRegistrationsByContentIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3679
3683
|
skip?: boolean | undefined;
|
|
3680
3684
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3756,7 +3760,7 @@ declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<s
|
|
|
3756
3760
|
isError: true;
|
|
3757
3761
|
error: unknown;
|
|
3758
3762
|
}) & {
|
|
3759
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3763
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3760
3764
|
}) => R) | undefined;
|
|
3761
3765
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3762
3766
|
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>>;
|
package/dist/cloudApi.d.ts
CHANGED
|
@@ -380,6 +380,10 @@ type GetApiAcademyContentApiResponse = unknown;
|
|
|
380
380
|
type GetApiAcademyContentApiArg = {
|
|
381
381
|
/** Filter content by content types */
|
|
382
382
|
contentType?: string[];
|
|
383
|
+
/** Filter content by visibility (public/private) */
|
|
384
|
+
visibility?: string[];
|
|
385
|
+
/** Filter content by difficulty level */
|
|
386
|
+
level?: string[];
|
|
383
387
|
/** Filter content by organization IDs */
|
|
384
388
|
orgId?: string[];
|
|
385
389
|
/** Filter content by categories */
|
|
@@ -919,7 +923,7 @@ declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
|
|
|
919
923
|
isError: true;
|
|
920
924
|
error: unknown;
|
|
921
925
|
}) & {
|
|
922
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
926
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
923
927
|
}>(arg: GetSubscriptionsApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
924
928
|
skip?: boolean | undefined;
|
|
925
929
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1001,7 +1005,7 @@ declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
|
|
|
1001
1005
|
isError: true;
|
|
1002
1006
|
error: unknown;
|
|
1003
1007
|
}) & {
|
|
1004
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1008
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1005
1009
|
}) => R) | undefined;
|
|
1006
1010
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1007
1011
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetSubscriptionsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetSubscriptionsApiResponse, "api", unknown>>;
|
|
@@ -1565,7 +1569,7 @@ declare const useGetPlansQuery: <R extends Record<string, any> = ({
|
|
|
1565
1569
|
isError: true;
|
|
1566
1570
|
error: unknown;
|
|
1567
1571
|
}) & {
|
|
1568
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1572
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1569
1573
|
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1570
1574
|
skip?: boolean | undefined;
|
|
1571
1575
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1647,7 +1651,7 @@ declare const useGetPlansQuery: <R extends Record<string, any> = ({
|
|
|
1647
1651
|
isError: true;
|
|
1648
1652
|
error: unknown;
|
|
1649
1653
|
}) & {
|
|
1650
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1654
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1651
1655
|
}) => R) | undefined;
|
|
1652
1656
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1653
1657
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetPlansApiResponse, "api", unknown>>;
|
|
@@ -1728,7 +1732,7 @@ declare const useGetFeaturesQuery: <R extends Record<string, any> = ({
|
|
|
1728
1732
|
isError: true;
|
|
1729
1733
|
error: unknown;
|
|
1730
1734
|
}) & {
|
|
1731
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1735
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1732
1736
|
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1733
1737
|
skip?: boolean | undefined;
|
|
1734
1738
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1810,7 +1814,7 @@ declare const useGetFeaturesQuery: <R extends Record<string, any> = ({
|
|
|
1810
1814
|
isError: true;
|
|
1811
1815
|
error: unknown;
|
|
1812
1816
|
}) & {
|
|
1813
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1817
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1814
1818
|
}) => R) | undefined;
|
|
1815
1819
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1816
1820
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetFeaturesApiResponse, "api", unknown>>;
|
|
@@ -1891,7 +1895,7 @@ declare const useGetFeaturesByOrganizationQuery: <R extends Record<string, any>
|
|
|
1891
1895
|
isError: true;
|
|
1892
1896
|
error: unknown;
|
|
1893
1897
|
}) & {
|
|
1894
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1898
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1895
1899
|
}>(arg: GetFeaturesByOrganizationApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
1896
1900
|
skip?: boolean | undefined;
|
|
1897
1901
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -1973,7 +1977,7 @@ declare const useGetFeaturesByOrganizationQuery: <R extends Record<string, any>
|
|
|
1973
1977
|
isError: true;
|
|
1974
1978
|
error: unknown;
|
|
1975
1979
|
}) & {
|
|
1976
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1980
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
1977
1981
|
}) => R) | undefined;
|
|
1978
1982
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
1979
1983
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetFeaturesByOrganizationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetFeaturesByOrganizationApiResponse, "api", unknown>>;
|
|
@@ -2054,7 +2058,7 @@ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
|
|
|
2054
2058
|
isError: true;
|
|
2055
2059
|
error: unknown;
|
|
2056
2060
|
}) & {
|
|
2057
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2061
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2058
2062
|
}>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
2059
2063
|
skip?: boolean | undefined;
|
|
2060
2064
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -2136,7 +2140,7 @@ declare const useGetApiWorkspacesQuery: <R extends Record<string, any> = ({
|
|
|
2136
2140
|
isError: true;
|
|
2137
2141
|
error: unknown;
|
|
2138
2142
|
}) & {
|
|
2139
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2143
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2140
2144
|
}) => R) | undefined;
|
|
2141
2145
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
2142
2146
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiWorkspacesApiResponse, "api", unknown>>;
|
|
@@ -2378,7 +2382,7 @@ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
|
|
|
2378
2382
|
isError: true;
|
|
2379
2383
|
error: unknown;
|
|
2380
2384
|
}) & {
|
|
2381
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2385
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2382
2386
|
}>(arg: GetApiWorkspacesByIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
2383
2387
|
skip?: boolean | undefined;
|
|
2384
2388
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -2460,7 +2464,7 @@ declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
|
|
|
2460
2464
|
isError: true;
|
|
2461
2465
|
error: unknown;
|
|
2462
2466
|
}) & {
|
|
2463
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2467
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
2464
2468
|
}) => R) | undefined;
|
|
2465
2469
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
2466
2470
|
refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetApiWorkspacesByIdApiResponse, "api", unknown>>;
|
|
@@ -3024,7 +3028,7 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3024
3028
|
isError: true;
|
|
3025
3029
|
error: unknown;
|
|
3026
3030
|
}) & {
|
|
3027
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3031
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3028
3032
|
}>(arg: GetEnvironmentsApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3029
3033
|
skip?: boolean | undefined;
|
|
3030
3034
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3106,7 +3110,7 @@ declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
|
|
|
3106
3110
|
isError: true;
|
|
3107
3111
|
error: unknown;
|
|
3108
3112
|
}) & {
|
|
3109
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3113
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3110
3114
|
}) => R) | undefined;
|
|
3111
3115
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3112
3116
|
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>>;
|
|
@@ -3187,7 +3191,7 @@ declare const useGetApiAcademyContentQuery: <R extends Record<string, any> = ({
|
|
|
3187
3191
|
isError: true;
|
|
3188
3192
|
error: unknown;
|
|
3189
3193
|
}) & {
|
|
3190
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3194
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3191
3195
|
}>(arg: GetApiAcademyContentApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3192
3196
|
skip?: boolean | undefined;
|
|
3193
3197
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3269,7 +3273,7 @@ declare const useGetApiAcademyContentQuery: <R extends Record<string, any> = ({
|
|
|
3269
3273
|
isError: true;
|
|
3270
3274
|
error: unknown;
|
|
3271
3275
|
}) & {
|
|
3272
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3276
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3273
3277
|
}) => R) | undefined;
|
|
3274
3278
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3275
3279
|
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,7 +3354,7 @@ declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string,
|
|
|
3350
3354
|
isError: true;
|
|
3351
3355
|
error: unknown;
|
|
3352
3356
|
}) & {
|
|
3353
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3357
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3354
3358
|
}>(arg: GetApiAcademyByTypeAndOrgIdSlugApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3355
3359
|
skip?: boolean | undefined;
|
|
3356
3360
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3432,7 +3436,7 @@ declare const useGetApiAcademyByTypeAndOrgIdSlugQuery: <R extends Record<string,
|
|
|
3432
3436
|
isError: true;
|
|
3433
3437
|
error: unknown;
|
|
3434
3438
|
}) & {
|
|
3435
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3439
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3436
3440
|
}) => R) | undefined;
|
|
3437
3441
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3438
3442
|
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>>;
|
|
@@ -3674,7 +3678,7 @@ declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<s
|
|
|
3674
3678
|
isError: true;
|
|
3675
3679
|
error: unknown;
|
|
3676
3680
|
}) & {
|
|
3677
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3681
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3678
3682
|
}>(arg: GetApiAcademyRegistrationsByContentIdApiArg | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
|
|
3679
3683
|
skip?: boolean | undefined;
|
|
3680
3684
|
refetchOnMountOrArgChange?: number | boolean | undefined;
|
|
@@ -3756,7 +3760,7 @@ declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<s
|
|
|
3756
3760
|
isError: true;
|
|
3757
3761
|
error: unknown;
|
|
3758
3762
|
}) & {
|
|
3759
|
-
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3763
|
+
status: _reduxjs_toolkit_query.QueryStatus;
|
|
3760
3764
|
}) => R) | undefined;
|
|
3761
3765
|
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
3762
3766
|
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>>;
|
package/dist/cloudApi.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var react=require('@reduxjs/toolkit/query/react');var o="Layer5-Current-Orgid";var a=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(o,i==null?void 0:i.id),t}}),g=async(t,e,n)=>await a(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,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})})}),overrideExisting:false});var {useImportDesignMutation:l,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:S,useGetFeaturesQuery:E,useGetFeaturesByOrganizationQuery:h,useGetApiWorkspacesQuery:B,usePostApiWorkspacesMutation:x,useGetApiWorkspacesByIdQuery:G,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:C,useCreateEnvironmentMutation:D,useGetEnvironmentsQuery:T,useGetApiAcademyContentQuery:W,useGetApiAcademyByTypeAndOrgIdSlugQuery:
|
|
1
|
+
'use strict';var react=require('@reduxjs/toolkit/query/react');var o="Layer5-Current-Orgid";var a=react.fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(o,i==null?void 0:i.id),t}}),g=async(t,e,n)=>await a(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,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})})}),overrideExisting:false});var {useImportDesignMutation:l,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:S,useGetFeaturesQuery:E,useGetFeaturesByOrganizationQuery:h,useGetApiWorkspacesQuery:B,usePostApiWorkspacesMutation:x,useGetApiWorkspacesByIdQuery:G,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:C,useCreateEnvironmentMutation:D,useGetEnvironmentsQuery:T,useGetApiAcademyContentQuery:W,useGetApiAcademyByTypeAndOrgIdSlugQuery:v,useRegisterToAcademyContentMutation:O,useGetApiAcademyRegistrationsByContentIdQuery:z}=d;exports.cloudApi=d;exports.useCreateEnvironmentMutation=D;exports.useDeleteApiWorkspacesByIdMutation=C;exports.useGetApiAcademyByTypeAndOrgIdSlugQuery=v;exports.useGetApiAcademyContentQuery=W;exports.useGetApiAcademyRegistrationsByContentIdQuery=z;exports.useGetApiWorkspacesByIdQuery=G;exports.useGetApiWorkspacesQuery=B;exports.useGetEnvironmentsQuery=T;exports.useGetFeaturesByOrganizationQuery=h;exports.useGetFeaturesQuery=E;exports.useGetPlansQuery=S;exports.useGetSubscriptionsQuery=b;exports.useImportDesignMutation=l;exports.usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation=I;exports.usePostApiEntitlementSubscriptionsCreateMutation=R;exports.usePostApiEntitlementSubscriptionsWebhooksMutation=k;exports.usePostApiWorkspacesMutation=x;exports.usePutApiWorkspacesByIdMutation=P;exports.useRegisterMeshmodelsMutation=_;exports.useRegisterToAcademyContentMutation=O;
|
package/dist/cloudApi.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var o="Layer5-Current-Orgid";var a=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(o,i==null?void 0:i.id),t}}),g=async(t,e,n)=>await a(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,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})})}),overrideExisting:false});var {useImportDesignMutation:l,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:S,useGetFeaturesQuery:E,useGetFeaturesByOrganizationQuery:h,useGetApiWorkspacesQuery:B,usePostApiWorkspacesMutation:x,useGetApiWorkspacesByIdQuery:G,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:C,useCreateEnvironmentMutation:D,useGetEnvironmentsQuery:T,useGetApiAcademyContentQuery:W,useGetApiAcademyByTypeAndOrgIdSlugQuery:
|
|
1
|
+
import {fetchBaseQuery,createApi}from'@reduxjs/toolkit/query/react';var o="Layer5-Current-Orgid";var a=fetchBaseQuery({baseUrl:process.env.RTK_CLOUD_ENDPOINT_PREFIX,credentials:"include",prepareHeaders:(t,{getState:e})=>{let i=e().organization.value;return t.set(o,i==null?void 0:i.id),t}}),g=async(t,e,n)=>await a(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,visibility:e.visibility,level:e.level,orgId:e.orgId,category:e.category,status:e.status,search:e.search}})}),getApiAcademyByTypeAndOrgIdSlug:t.query({query:e=>({url:`/api/academy/${e.type}/${e.orgId}/${e.slug}`})}),registerToAcademyContent:t.mutation({query:e=>({url:"/api/academy/register",method:"POST",body:e.body})}),getApiAcademyRegistrationsByContentId:t.query({query:e=>({url:`/api/academy/registrations/${e.contentId}`,params:{status:e.status}})})}),overrideExisting:false});var {useImportDesignMutation:l,useRegisterMeshmodelsMutation:_,useGetSubscriptionsQuery:b,usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:I,usePostApiEntitlementSubscriptionsCreateMutation:R,usePostApiEntitlementSubscriptionsWebhooksMutation:k,useGetPlansQuery:S,useGetFeaturesQuery:E,useGetFeaturesByOrganizationQuery:h,useGetApiWorkspacesQuery:B,usePostApiWorkspacesMutation:x,useGetApiWorkspacesByIdQuery:G,usePutApiWorkspacesByIdMutation:P,useDeleteApiWorkspacesByIdMutation:C,useCreateEnvironmentMutation:D,useGetEnvironmentsQuery:T,useGetApiAcademyContentQuery:W,useGetApiAcademyByTypeAndOrgIdSlugQuery:v,useRegisterToAcademyContentMutation:O,useGetApiAcademyRegistrationsByContentIdQuery:z}=d;export{d as cloudApi,D as useCreateEnvironmentMutation,C as useDeleteApiWorkspacesByIdMutation,v as useGetApiAcademyByTypeAndOrgIdSlugQuery,W as useGetApiAcademyContentQuery,z as useGetApiAcademyRegistrationsByContentIdQuery,G as useGetApiWorkspacesByIdQuery,B as useGetApiWorkspacesQuery,T as useGetEnvironmentsQuery,h as useGetFeaturesByOrganizationQuery,E as useGetFeaturesQuery,S as useGetPlansQuery,b as useGetSubscriptionsQuery,l as useImportDesignMutation,I as usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation,R as usePostApiEntitlementSubscriptionsCreateMutation,k as usePostApiEntitlementSubscriptionsWebhooksMutation,x as usePostApiWorkspacesMutation,P as usePutApiWorkspacesByIdMutation,_ as useRegisterMeshmodelsMutation,O as useRegisterToAcademyContentMutation};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshery/schemas",
|
|
3
|
-
"version": "0.1.1-
|
|
3
|
+
"version": "0.1.1-5",
|
|
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",
|