@meshery/schemas 0.8.59 → 0.8.60

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.
@@ -28,6 +28,8 @@ declare const injectedRtkApi: _reduxjs_toolkit_query.Api<(args: any, api: any, e
28
28
  getAcademyAdminSummary: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, object, "api", unknown>;
29
29
  getAcademyAdminRegistrations: _reduxjs_toolkit_query.QueryDefinition<GetAcademyAdminRegistrationsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetAcademyAdminRegistrationsApiResponse, "api", unknown>;
30
30
  getCertificateById: _reduxjs_toolkit_query.QueryDefinition<GetCertificateByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetCertificateByIdApiResponse, "api", unknown>;
31
+ getInvitations: _reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetInvitationsApiResponse, "api", unknown>;
32
+ createInvitation: _reduxjs_toolkit_query.MutationDefinition<CreateInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, CreateInvitationApiResponse, "api", unknown>;
31
33
  }, "api", never, typeof _reduxjs_toolkit_query.coreModuleName | typeof _reduxjs_toolkit_dist_query_react.reactHooksModuleName>;
32
34
 
33
35
  type ImportDesignApiResponse = {
@@ -875,6 +877,101 @@ type GetCertificateByIdApiArg = {
875
877
  /** The ID of the certificate to retrieve */
876
878
  certificateId: string;
877
879
  };
880
+ type GetInvitationsApiResponse = {
881
+ /** List of invitations */
882
+ Data?: {
883
+ /** Unique identifier for the invitation , is also used as the invitation code */
884
+ id: any;
885
+ /** Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
886
+ isDefault?: boolean;
887
+ /** Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
888
+ name: string;
889
+ /** Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
890
+ description: string;
891
+ emails: string[];
892
+ /** ID of the organization to which the user is invited */
893
+ orgId: string;
894
+ /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
895
+ expiresAt: string;
896
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
897
+ quota: number;
898
+ /** List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
899
+ acceptedBy: string[];
900
+ roles: string[];
901
+ teams: string[];
902
+ /** Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later. */
903
+ status: "enabled" | "disabled";
904
+ /** Timestamp when the invitation was created */
905
+ createdAt: string;
906
+ /** Timestamp when the invitation was last updated */
907
+ updatedAt: string;
908
+ /** Timestamp when the invitation was deleted, if applicable */
909
+ deletedAt: string;
910
+ }[];
911
+ /** Total number of invitations available */
912
+ TotalCount?: number;
913
+ };
914
+ type GetInvitationsApiArg = void;
915
+ type CreateInvitationApiResponse = {
916
+ /** Unique identifier for the invitation , is also used as the invitation code */
917
+ id: any;
918
+ /** Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
919
+ isDefault?: boolean;
920
+ /** Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
921
+ name: string;
922
+ /** Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
923
+ description: string;
924
+ emails: string[];
925
+ /** ID of the organization to which the user is invited */
926
+ orgId: string;
927
+ /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
928
+ expiresAt: string;
929
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
930
+ quota: number;
931
+ /** List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
932
+ acceptedBy: string[];
933
+ roles: string[];
934
+ teams: string[];
935
+ /** Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later. */
936
+ status: "enabled" | "disabled";
937
+ /** Timestamp when the invitation was created */
938
+ createdAt: string;
939
+ /** Timestamp when the invitation was last updated */
940
+ updatedAt: string;
941
+ /** Timestamp when the invitation was deleted, if applicable */
942
+ deletedAt: string;
943
+ };
944
+ type CreateInvitationApiArg = {
945
+ body: {
946
+ /** Unique identifier for the invitation , is also used as the invitation code */
947
+ id: any;
948
+ /** Indicates whether the invitation is a default invitation (open invite), which can be used to assign users when signing up from fqdn or custom domain, a organization can only have one default invitation */
949
+ isDefault?: boolean;
950
+ /** Name of the invitation, which can be used to identify the invitation, required and cant be empty string, */
951
+ name: string;
952
+ /** Description of the invitation, which can be used to provide additional information about the invitation, null or empty string means the invitation does not have a description */
953
+ description: string;
954
+ emails: string[];
955
+ /** ID of the organization to which the user is invited */
956
+ orgId: string;
957
+ /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
958
+ expiresAt: string;
959
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
960
+ quota: number;
961
+ /** List of user ids that have already accepted the invitation, null or empty string means the invitation has not been used yet */
962
+ acceptedBy: string[];
963
+ roles: string[];
964
+ teams: string[];
965
+ /** Status of the invitation, where enabled means the invitation is active and can be used, disabled means the invitation is no longer valid and is temporarily inactive, disabled invitations can be re-enabled later. */
966
+ status: "enabled" | "disabled";
967
+ /** Timestamp when the invitation was created */
968
+ createdAt: string;
969
+ /** Timestamp when the invitation was last updated */
970
+ updatedAt: string;
971
+ /** Timestamp when the invitation was deleted, if applicable */
972
+ deletedAt: string;
973
+ };
974
+ };
878
975
  declare const useImportDesignMutation: <R extends Record<string, any> = ({
879
976
  requestId?: undefined;
880
977
  status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
@@ -1031,9 +1128,10 @@ declare const useImportDesignMutation: <R extends Record<string, any> = ({
1031
1128
  isSuccess: false;
1032
1129
  isError: true;
1033
1130
  })) => R) | undefined;
1034
- fixedCacheKey?: string | undefined;
1131
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
1035
1132
  } | undefined) => readonly [(arg: ImportDesignApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<ImportDesignApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, ImportDesignApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1036
1133
  originalArgs?: ImportDesignApiArg | undefined;
1134
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
1037
1135
  reset: () => void;
1038
1136
  }];
1039
1137
  declare const useRegisterMeshmodelsMutation: <R extends Record<string, any> = ({
@@ -1192,9 +1290,10 @@ declare const useRegisterMeshmodelsMutation: <R extends Record<string, any> = ({
1192
1290
  isSuccess: false;
1193
1291
  isError: true;
1194
1292
  })) => R) | undefined;
1195
- fixedCacheKey?: string | undefined;
1293
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
1196
1294
  } | undefined) => readonly [(arg: RegisterMeshmodelsApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<RegisterMeshmodelsApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, RegisterMeshmodelsApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1197
1295
  originalArgs?: RegisterMeshmodelsApiArg | undefined;
1296
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
1198
1297
  reset: () => void;
1199
1298
  }];
1200
1299
  declare const useGetSubscriptionsQuery: <R extends Record<string, any> = ({
@@ -1516,9 +1615,10 @@ declare const usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation:
1516
1615
  isSuccess: false;
1517
1616
  isError: true;
1518
1617
  })) => R) | undefined;
1519
- fixedCacheKey?: string | undefined;
1618
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
1520
1619
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1521
1620
  originalArgs?: PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg | undefined;
1621
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
1522
1622
  reset: () => void;
1523
1623
  }];
1524
1624
  declare const usePostApiEntitlementSubscriptionsCreateMutation: <R extends Record<string, any> = ({
@@ -1677,9 +1777,10 @@ declare const usePostApiEntitlementSubscriptionsCreateMutation: <R extends Recor
1677
1777
  isSuccess: false;
1678
1778
  isError: true;
1679
1779
  })) => R) | undefined;
1680
- fixedCacheKey?: string | undefined;
1780
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
1681
1781
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsCreateApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsCreateApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, PostApiEntitlementSubscriptionsCreateApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1682
1782
  originalArgs?: PostApiEntitlementSubscriptionsCreateApiArg | undefined;
1783
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
1683
1784
  reset: () => void;
1684
1785
  }];
1685
1786
  declare const usePostApiEntitlementSubscriptionsWebhooksMutation: <R extends Record<string, any> = ({
@@ -1838,9 +1939,10 @@ declare const usePostApiEntitlementSubscriptionsWebhooksMutation: <R extends Rec
1838
1939
  isSuccess: false;
1839
1940
  isError: true;
1840
1941
  })) => R) | undefined;
1841
- fixedCacheKey?: string | undefined;
1942
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
1842
1943
  } | undefined) => readonly [(arg: PostApiEntitlementSubscriptionsWebhooksApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiEntitlementSubscriptionsWebhooksApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
1843
1944
  originalArgs?: PostApiEntitlementSubscriptionsWebhooksApiArg | undefined;
1945
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
1844
1946
  reset: () => void;
1845
1947
  }];
1846
1948
  declare const useGetPlansQuery: <R extends Record<string, any> = ({
@@ -2651,9 +2753,10 @@ declare const usePostApiWorkspacesMutation: <R extends Record<string, any> = ({
2651
2753
  isSuccess: false;
2652
2754
  isError: true;
2653
2755
  })) => R) | undefined;
2654
- fixedCacheKey?: string | undefined;
2756
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
2655
2757
  } | undefined) => readonly [(arg: PostApiWorkspacesApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PostApiWorkspacesApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, PostApiWorkspacesApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2656
2758
  originalArgs?: PostApiWorkspacesApiArg | undefined;
2759
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
2657
2760
  reset: () => void;
2658
2761
  }];
2659
2762
  declare const useGetApiWorkspacesByIdQuery: <R extends Record<string, any> = ({
@@ -2975,9 +3078,10 @@ declare const usePutApiWorkspacesByIdMutation: <R extends Record<string, any> =
2975
3078
  isSuccess: false;
2976
3079
  isError: true;
2977
3080
  })) => R) | undefined;
2978
- fixedCacheKey?: string | undefined;
3081
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
2979
3082
  } | undefined) => readonly [(arg: PutApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<PutApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, PutApiWorkspacesByIdApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
2980
3083
  originalArgs?: PutApiWorkspacesByIdApiArg | undefined;
3084
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
2981
3085
  reset: () => void;
2982
3086
  }];
2983
3087
  declare const useDeleteApiWorkspacesByIdMutation: <R extends Record<string, any> = ({
@@ -3136,9 +3240,10 @@ declare const useDeleteApiWorkspacesByIdMutation: <R extends Record<string, any>
3136
3240
  isSuccess: false;
3137
3241
  isError: true;
3138
3242
  })) => R) | undefined;
3139
- fixedCacheKey?: string | undefined;
3243
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
3140
3244
  } | undefined) => readonly [(arg: DeleteApiWorkspacesByIdApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<DeleteApiWorkspacesByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, unknown, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3141
3245
  originalArgs?: DeleteApiWorkspacesByIdApiArg | undefined;
3246
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
3142
3247
  reset: () => void;
3143
3248
  }];
3144
3249
  declare const useCreateEnvironmentMutation: <R extends Record<string, any> = ({
@@ -3297,9 +3402,10 @@ declare const useCreateEnvironmentMutation: <R extends Record<string, any> = ({
3297
3402
  isSuccess: false;
3298
3403
  isError: true;
3299
3404
  })) => R) | undefined;
3300
- fixedCacheKey?: string | undefined;
3405
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
3301
3406
  } | undefined) => readonly [(arg: CreateEnvironmentApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateEnvironmentApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, CreateEnvironmentApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
3302
3407
  originalArgs?: CreateEnvironmentApiArg | undefined;
3408
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
3303
3409
  reset: () => void;
3304
3410
  }];
3305
3411
  declare const useGetEnvironmentsQuery: <R extends Record<string, any> = ({
@@ -4110,9 +4216,10 @@ declare const useRegisterToAcademyContentMutation: <R extends Record<string, any
4110
4216
  isSuccess: false;
4111
4217
  isError: true;
4112
4218
  })) => R) | undefined;
4113
- fixedCacheKey?: string | undefined;
4219
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
4114
4220
  } | 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> & {
4115
4221
  originalArgs?: RegisterToAcademyContentApiArg | undefined;
4222
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
4116
4223
  reset: () => void;
4117
4224
  }];
4118
4225
  declare const useGetApiAcademyRegistrationsByContentIdQuery: <R extends Record<string, any> = ({
@@ -4434,9 +4541,10 @@ declare const useUpdateCurrentItemInProgressTrackerMutation: <R extends Record<s
4434
4541
  isSuccess: false;
4435
4542
  isError: true;
4436
4543
  })) => R) | undefined;
4437
- fixedCacheKey?: string | undefined;
4544
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
4438
4545
  } | undefined) => readonly [(arg: UpdateCurrentItemInProgressTrackerApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<UpdateCurrentItemInProgressTrackerApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, UpdateCurrentItemInProgressTrackerApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4439
4546
  originalArgs?: UpdateCurrentItemInProgressTrackerApiArg | undefined;
4547
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
4440
4548
  reset: () => void;
4441
4549
  }];
4442
4550
  declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
@@ -4595,9 +4703,10 @@ declare const useSubmitQuizMutation: <R extends Record<string, any> = ({
4595
4703
  isSuccess: false;
4596
4704
  isError: true;
4597
4705
  })) => R) | undefined;
4598
- fixedCacheKey?: string | undefined;
4706
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
4599
4707
  } | undefined) => readonly [(arg: SubmitQuizApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<SubmitQuizApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, SubmitQuizApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
4600
4708
  originalArgs?: SubmitQuizApiArg | undefined;
4709
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
4601
4710
  reset: () => void;
4602
4711
  }];
4603
4712
  declare const useGetAcademyAdminSummaryQuery: <R extends Record<string, any> = ({
@@ -5089,5 +5198,330 @@ declare const useGetCertificateByIdQuery: <R extends Record<string, any> = ({
5089
5198
  }) | undefined) => [R][R extends any ? 0 : never] & {
5090
5199
  refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<GetCertificateByIdApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetCertificateByIdApiResponse, "api", unknown>>;
5091
5200
  };
5201
+ declare const useGetInvitationsQuery: <R extends Record<string, any> = ({
5202
+ data?: undefined;
5203
+ error?: undefined;
5204
+ fulfilledTimeStamp?: undefined;
5205
+ originalArgs?: undefined;
5206
+ requestId?: undefined;
5207
+ endpointName?: string | undefined;
5208
+ startedTimeStamp?: undefined;
5209
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5210
+ currentData?: GetInvitationsApiResponse | undefined;
5211
+ isLoading: false;
5212
+ isFetching: false;
5213
+ isSuccess: false;
5214
+ isError: false;
5215
+ isUninitialized: true;
5216
+ } | {
5217
+ error?: unknown;
5218
+ fulfilledTimeStamp?: number | undefined;
5219
+ originalArgs?: void | undefined;
5220
+ requestId?: string | undefined;
5221
+ endpointName?: string | undefined;
5222
+ startedTimeStamp?: number | undefined;
5223
+ status: _reduxjs_toolkit_query.QueryStatus;
5224
+ currentData?: GetInvitationsApiResponse | undefined;
5225
+ isUninitialized: false;
5226
+ isSuccess: false;
5227
+ isError: false;
5228
+ isLoading: true;
5229
+ isFetching: boolean;
5230
+ data: undefined;
5231
+ } | {
5232
+ originalArgs?: void | undefined;
5233
+ requestId?: string | undefined;
5234
+ endpointName?: string | undefined;
5235
+ startedTimeStamp?: number | undefined;
5236
+ status: _reduxjs_toolkit_query.QueryStatus;
5237
+ currentData?: GetInvitationsApiResponse | undefined;
5238
+ isUninitialized: false;
5239
+ isLoading: false;
5240
+ isError: false;
5241
+ isSuccess: true;
5242
+ isFetching: true;
5243
+ error: undefined;
5244
+ data: GetInvitationsApiResponse;
5245
+ fulfilledTimeStamp: number;
5246
+ } | {
5247
+ originalArgs?: void | undefined;
5248
+ requestId?: string | undefined;
5249
+ endpointName?: string | undefined;
5250
+ startedTimeStamp?: number | undefined;
5251
+ status: _reduxjs_toolkit_query.QueryStatus;
5252
+ isUninitialized: false;
5253
+ isLoading: false;
5254
+ isError: false;
5255
+ isSuccess: true;
5256
+ isFetching: false;
5257
+ error: undefined;
5258
+ data: GetInvitationsApiResponse;
5259
+ fulfilledTimeStamp: number;
5260
+ currentData: GetInvitationsApiResponse;
5261
+ } | {
5262
+ data?: GetInvitationsApiResponse | undefined;
5263
+ fulfilledTimeStamp?: number | undefined;
5264
+ originalArgs?: void | undefined;
5265
+ requestId?: string | undefined;
5266
+ endpointName?: string | undefined;
5267
+ startedTimeStamp?: number | undefined;
5268
+ status: _reduxjs_toolkit_query.QueryStatus;
5269
+ currentData?: GetInvitationsApiResponse | undefined;
5270
+ isUninitialized: false;
5271
+ isLoading: false;
5272
+ isFetching: false;
5273
+ isSuccess: false;
5274
+ isError: true;
5275
+ error: unknown;
5276
+ }) & {
5277
+ status: _reduxjs_toolkit_query.QueryStatus;
5278
+ }>(arg: void | typeof _reduxjs_toolkit_query.skipToken, options?: (_reduxjs_toolkit_query.SubscriptionOptions & {
5279
+ skip?: boolean | undefined;
5280
+ refetchOnMountOrArgChange?: number | boolean | undefined;
5281
+ } & {
5282
+ skip?: boolean | undefined;
5283
+ selectFromResult?: ((state: ({
5284
+ data?: undefined;
5285
+ error?: undefined;
5286
+ fulfilledTimeStamp?: undefined;
5287
+ originalArgs?: undefined;
5288
+ requestId?: undefined;
5289
+ endpointName?: string | undefined;
5290
+ startedTimeStamp?: undefined;
5291
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5292
+ currentData?: GetInvitationsApiResponse | undefined;
5293
+ isLoading: false;
5294
+ isFetching: false;
5295
+ isSuccess: false;
5296
+ isError: false;
5297
+ isUninitialized: true;
5298
+ } | {
5299
+ error?: unknown;
5300
+ fulfilledTimeStamp?: number | undefined;
5301
+ originalArgs?: void | undefined;
5302
+ requestId?: string | undefined;
5303
+ endpointName?: string | undefined;
5304
+ startedTimeStamp?: number | undefined;
5305
+ status: _reduxjs_toolkit_query.QueryStatus;
5306
+ currentData?: GetInvitationsApiResponse | undefined;
5307
+ isUninitialized: false;
5308
+ isSuccess: false;
5309
+ isError: false;
5310
+ isLoading: true;
5311
+ isFetching: boolean;
5312
+ data: undefined;
5313
+ } | {
5314
+ originalArgs?: void | undefined;
5315
+ requestId?: string | undefined;
5316
+ endpointName?: string | undefined;
5317
+ startedTimeStamp?: number | undefined;
5318
+ status: _reduxjs_toolkit_query.QueryStatus;
5319
+ currentData?: GetInvitationsApiResponse | undefined;
5320
+ isUninitialized: false;
5321
+ isLoading: false;
5322
+ isError: false;
5323
+ isSuccess: true;
5324
+ isFetching: true;
5325
+ error: undefined;
5326
+ data: GetInvitationsApiResponse;
5327
+ fulfilledTimeStamp: number;
5328
+ } | {
5329
+ originalArgs?: void | undefined;
5330
+ requestId?: string | undefined;
5331
+ endpointName?: string | undefined;
5332
+ startedTimeStamp?: number | undefined;
5333
+ status: _reduxjs_toolkit_query.QueryStatus;
5334
+ isUninitialized: false;
5335
+ isLoading: false;
5336
+ isError: false;
5337
+ isSuccess: true;
5338
+ isFetching: false;
5339
+ error: undefined;
5340
+ data: GetInvitationsApiResponse;
5341
+ fulfilledTimeStamp: number;
5342
+ currentData: GetInvitationsApiResponse;
5343
+ } | {
5344
+ data?: GetInvitationsApiResponse | undefined;
5345
+ fulfilledTimeStamp?: number | undefined;
5346
+ originalArgs?: void | undefined;
5347
+ requestId?: string | undefined;
5348
+ endpointName?: string | undefined;
5349
+ startedTimeStamp?: number | undefined;
5350
+ status: _reduxjs_toolkit_query.QueryStatus;
5351
+ currentData?: GetInvitationsApiResponse | undefined;
5352
+ isUninitialized: false;
5353
+ isLoading: false;
5354
+ isFetching: false;
5355
+ isSuccess: false;
5356
+ isError: true;
5357
+ error: unknown;
5358
+ }) & {
5359
+ status: _reduxjs_toolkit_query.QueryStatus;
5360
+ }) => R) | undefined;
5361
+ }) | undefined) => [R][R extends any ? 0 : never] & {
5362
+ refetch: () => _reduxjs_toolkit_query.QueryActionCreatorResult<_reduxjs_toolkit_query.QueryDefinition<void, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, GetInvitationsApiResponse, "api", unknown>>;
5363
+ };
5364
+ declare const useCreateInvitationMutation: <R extends Record<string, any> = ({
5365
+ requestId?: undefined;
5366
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5367
+ data?: undefined;
5368
+ error?: undefined;
5369
+ endpointName?: string | undefined;
5370
+ startedTimeStamp?: undefined;
5371
+ fulfilledTimeStamp?: undefined;
5372
+ } & {
5373
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5374
+ isUninitialized: true;
5375
+ isLoading: false;
5376
+ isSuccess: false;
5377
+ isError: false;
5378
+ }) | ({
5379
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5380
+ } & Omit<{
5381
+ requestId: string;
5382
+ data?: CreateInvitationApiResponse | undefined;
5383
+ error?: unknown;
5384
+ endpointName: string;
5385
+ startedTimeStamp: number;
5386
+ fulfilledTimeStamp?: number | undefined;
5387
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5388
+ requestId: string;
5389
+ data?: CreateInvitationApiResponse | undefined;
5390
+ error?: unknown;
5391
+ endpointName: string;
5392
+ startedTimeStamp: number;
5393
+ fulfilledTimeStamp?: number | undefined;
5394
+ }, "data" | "fulfilledTimeStamp">> & {
5395
+ error: undefined;
5396
+ } & {
5397
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5398
+ isUninitialized: false;
5399
+ isLoading: false;
5400
+ isSuccess: true;
5401
+ isError: false;
5402
+ }) | ({
5403
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5404
+ } & {
5405
+ requestId: string;
5406
+ data?: CreateInvitationApiResponse | undefined;
5407
+ error?: unknown;
5408
+ endpointName: string;
5409
+ startedTimeStamp: number;
5410
+ fulfilledTimeStamp?: number | undefined;
5411
+ } & {
5412
+ data?: undefined;
5413
+ } & {
5414
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5415
+ isUninitialized: false;
5416
+ isLoading: true;
5417
+ isSuccess: false;
5418
+ isError: false;
5419
+ }) | ({
5420
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5421
+ } & Omit<{
5422
+ requestId: string;
5423
+ data?: CreateInvitationApiResponse | undefined;
5424
+ error?: unknown;
5425
+ endpointName: string;
5426
+ startedTimeStamp: number;
5427
+ fulfilledTimeStamp?: number | undefined;
5428
+ }, "error"> & Required<Pick<{
5429
+ requestId: string;
5430
+ data?: CreateInvitationApiResponse | undefined;
5431
+ error?: unknown;
5432
+ endpointName: string;
5433
+ startedTimeStamp: number;
5434
+ fulfilledTimeStamp?: number | undefined;
5435
+ }, "error">> & {
5436
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5437
+ isUninitialized: false;
5438
+ isLoading: false;
5439
+ isSuccess: false;
5440
+ isError: true;
5441
+ })>(options?: {
5442
+ selectFromResult?: ((state: ({
5443
+ requestId?: undefined;
5444
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5445
+ data?: undefined;
5446
+ error?: undefined;
5447
+ endpointName?: string | undefined;
5448
+ startedTimeStamp?: undefined;
5449
+ fulfilledTimeStamp?: undefined;
5450
+ } & {
5451
+ status: _reduxjs_toolkit_query.QueryStatus.uninitialized;
5452
+ isUninitialized: true;
5453
+ isLoading: false;
5454
+ isSuccess: false;
5455
+ isError: false;
5456
+ }) | ({
5457
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5458
+ } & Omit<{
5459
+ requestId: string;
5460
+ data?: CreateInvitationApiResponse | undefined;
5461
+ error?: unknown;
5462
+ endpointName: string;
5463
+ startedTimeStamp: number;
5464
+ fulfilledTimeStamp?: number | undefined;
5465
+ }, "data" | "fulfilledTimeStamp"> & Required<Pick<{
5466
+ requestId: string;
5467
+ data?: CreateInvitationApiResponse | undefined;
5468
+ error?: unknown;
5469
+ endpointName: string;
5470
+ startedTimeStamp: number;
5471
+ fulfilledTimeStamp?: number | undefined;
5472
+ }, "data" | "fulfilledTimeStamp">> & {
5473
+ error: undefined;
5474
+ } & {
5475
+ status: _reduxjs_toolkit_query.QueryStatus.fulfilled;
5476
+ isUninitialized: false;
5477
+ isLoading: false;
5478
+ isSuccess: true;
5479
+ isError: false;
5480
+ }) | ({
5481
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5482
+ } & {
5483
+ requestId: string;
5484
+ data?: CreateInvitationApiResponse | undefined;
5485
+ error?: unknown;
5486
+ endpointName: string;
5487
+ startedTimeStamp: number;
5488
+ fulfilledTimeStamp?: number | undefined;
5489
+ } & {
5490
+ data?: undefined;
5491
+ } & {
5492
+ status: _reduxjs_toolkit_query.QueryStatus.pending;
5493
+ isUninitialized: false;
5494
+ isLoading: true;
5495
+ isSuccess: false;
5496
+ isError: false;
5497
+ }) | ({
5498
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5499
+ } & Omit<{
5500
+ requestId: string;
5501
+ data?: CreateInvitationApiResponse | undefined;
5502
+ error?: unknown;
5503
+ endpointName: string;
5504
+ startedTimeStamp: number;
5505
+ fulfilledTimeStamp?: number | undefined;
5506
+ }, "error"> & Required<Pick<{
5507
+ requestId: string;
5508
+ data?: CreateInvitationApiResponse | undefined;
5509
+ error?: unknown;
5510
+ endpointName: string;
5511
+ startedTimeStamp: number;
5512
+ fulfilledTimeStamp?: number | undefined;
5513
+ }, "error">> & {
5514
+ status: _reduxjs_toolkit_query.QueryStatus.rejected;
5515
+ isUninitialized: false;
5516
+ isLoading: false;
5517
+ isSuccess: false;
5518
+ isError: true;
5519
+ })) => R) | undefined;
5520
+ fixedCacheKey?: string | undefined; /** Timestamp when the invitation expires, if applicable , null or empty string means the invitation does not expire */
5521
+ } | undefined) => readonly [(arg: CreateInvitationApiArg) => _reduxjs_toolkit_query.MutationActionCreatorResult<_reduxjs_toolkit_query.MutationDefinition<CreateInvitationApiArg, (args: any, api: any, extraOptions: any) => Promise<_reduxjs_toolkit_query.QueryReturnValue<unknown, unknown, {}>>, never, CreateInvitationApiResponse, "api", unknown>>, _reduxjs_toolkit_query.TSHelpersNoInfer<R> & {
5522
+ originalArgs?: CreateInvitationApiArg | undefined;
5523
+ /** Quota for the invitation, which can be used to limit the number of users that can accept the invitation, null or empty string means the invitation does not have a quota */
5524
+ reset: () => void;
5525
+ }];
5092
5526
 
5093
- export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };
5527
+ export { type CreateEnvironmentApiArg, type CreateEnvironmentApiResponse, type CreateInvitationApiArg, type CreateInvitationApiResponse, type DeleteApiWorkspacesByIdApiArg, type DeleteApiWorkspacesByIdApiResponse, type GetAcademyAdminRegistrationsApiArg, type GetAcademyAdminRegistrationsApiResponse, type GetAcademyAdminSummaryApiArg, type GetAcademyAdminSummaryApiResponse, type GetAcademyCirriculaApiArg, type GetAcademyCirriculaApiResponse, type GetApiAcademyByTypeAndOrgIdSlugApiArg, type GetApiAcademyByTypeAndOrgIdSlugApiResponse, type GetApiAcademyRegistrationsByContentIdApiArg, type GetApiAcademyRegistrationsByContentIdApiResponse, type GetApiWorkspacesApiArg, type GetApiWorkspacesApiResponse, type GetApiWorkspacesByIdApiArg, type GetApiWorkspacesByIdApiResponse, type GetCertificateByIdApiArg, type GetCertificateByIdApiResponse, type GetEnvironmentsApiArg, type GetEnvironmentsApiResponse, type GetFeaturesApiArg, type GetFeaturesApiResponse, type GetFeaturesByOrganizationApiArg, type GetFeaturesByOrganizationApiResponse, type GetInvitationsApiArg, type GetInvitationsApiResponse, type GetMyAcademyCirriculaApiArg, type GetMyAcademyCirriculaApiResponse, type GetPlansApiArg, type GetPlansApiResponse, type GetSubscriptionsApiArg, type GetSubscriptionsApiResponse, type ImportDesignApiArg, type ImportDesignApiResponse, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiArg, type PostApiEntitlementSubscriptionsBySubscriptionIdCancelApiResponse, type PostApiEntitlementSubscriptionsCreateApiArg, type PostApiEntitlementSubscriptionsCreateApiResponse, type PostApiEntitlementSubscriptionsWebhooksApiArg, type PostApiEntitlementSubscriptionsWebhooksApiResponse, type PostApiWorkspacesApiArg, type PostApiWorkspacesApiResponse, type PutApiWorkspacesByIdApiArg, type PutApiWorkspacesByIdApiResponse, type RegisterMeshmodelsApiArg, type RegisterMeshmodelsApiResponse, type RegisterToAcademyContentApiArg, type RegisterToAcademyContentApiResponse, type SubmitQuizApiArg, type SubmitQuizApiResponse, type UpdateCurrentItemInProgressTrackerApiArg, type UpdateCurrentItemInProgressTrackerApiResponse, injectedRtkApi as cloudApi, useCreateEnvironmentMutation, useCreateInvitationMutation, useDeleteApiWorkspacesByIdMutation, useGetAcademyAdminRegistrationsQuery, useGetAcademyAdminSummaryQuery, useGetAcademyCirriculaQuery, useGetApiAcademyByTypeAndOrgIdSlugQuery, useGetApiAcademyRegistrationsByContentIdQuery, useGetApiWorkspacesByIdQuery, useGetApiWorkspacesQuery, useGetCertificateByIdQuery, useGetEnvironmentsQuery, useGetFeaturesByOrganizationQuery, useGetFeaturesQuery, useGetInvitationsQuery, useGetMyAcademyCirriculaQuery, useGetPlansQuery, useGetSubscriptionsQuery, useImportDesignMutation, usePostApiEntitlementSubscriptionsBySubscriptionIdCancelMutation, usePostApiEntitlementSubscriptionsCreateMutation, usePostApiEntitlementSubscriptionsWebhooksMutation, usePostApiWorkspacesMutation, usePutApiWorkspacesByIdMutation, useRegisterMeshmodelsMutation, useRegisterToAcademyContentMutation, useSubmitQuizMutation, useUpdateCurrentItemInProgressTrackerMutation };