@adminide-stack/core 3.1.4-alpha.93 → 5.0.1-alpha.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.
@@ -755,6 +755,7 @@ export type IContext = {
|
|
755
755
|
teamName?: Maybe<Scalars['String']>;
|
756
756
|
teamResource?: Maybe<Scalars['URI']>;
|
757
757
|
teamUri?: Maybe<Scalars['URI']>;
|
758
|
+
userId?: Maybe<Scalars['String']>;
|
758
759
|
};
|
759
760
|
export declare enum IContextServiceAction {
|
760
761
|
OnResourceCreated = "onResourceCreated",
|
@@ -1411,6 +1412,7 @@ export type IMutation = {
|
|
1411
1412
|
resetUserPassword?: Maybe<Scalars['Boolean']>;
|
1412
1413
|
sendEmailVerificationToken?: Maybe<Scalars['Boolean']>;
|
1413
1414
|
sendOrganizationInvitation?: Maybe<Scalars['Boolean']>;
|
1415
|
+
sendPhoneOTP: Scalars['Boolean'];
|
1414
1416
|
sendUserPasswordResetEmail?: Maybe<Scalars['Boolean']>;
|
1415
1417
|
setSettingsValueByResource?: Maybe<Scalars['Boolean']>;
|
1416
1418
|
/** Triggers onUserLoggedIn events */
|
@@ -1431,6 +1433,7 @@ export type IMutation = {
|
|
1431
1433
|
updateUserAccount?: Maybe<Scalars['Boolean']>;
|
1432
1434
|
validatePasswordResetOtp?: Maybe<Scalars['Boolean']>;
|
1433
1435
|
validateUserEmailVerificationToken?: Maybe<Scalars['Boolean']>;
|
1436
|
+
verifyPhoneOtp: Scalars['Boolean'];
|
1434
1437
|
};
|
1435
1438
|
export type IMutationAcceptOrganizationInvitationArgs = {
|
1436
1439
|
id: Scalars['ID'];
|
@@ -1569,6 +1572,9 @@ export type IMutationSendEmailVerificationTokenArgs = {
|
|
1569
1572
|
export type IMutationSendOrganizationInvitationArgs = {
|
1570
1573
|
request?: Maybe<IOrganizationInvitationRequest>;
|
1571
1574
|
};
|
1575
|
+
export type IMutationSendPhoneOtpArgs = {
|
1576
|
+
phoneNumber: IPhoneNumberInput;
|
1577
|
+
};
|
1572
1578
|
export type IMutationSendUserPasswordResetEmailArgs = {
|
1573
1579
|
email: Scalars['String'];
|
1574
1580
|
};
|
@@ -1667,6 +1673,10 @@ export type IMutationValidatePasswordResetOtpArgs = {
|
|
1667
1673
|
export type IMutationValidateUserEmailVerificationTokenArgs = {
|
1668
1674
|
code: Scalars['String'];
|
1669
1675
|
};
|
1676
|
+
export type IMutationVerifyPhoneOtpArgs = {
|
1677
|
+
phoneNumber: IPhoneNumberInput;
|
1678
|
+
otp: Scalars['String'];
|
1679
|
+
};
|
1670
1680
|
/** An object with an ID. */
|
1671
1681
|
export type INode = {
|
1672
1682
|
/** The ID of the node. */
|
@@ -2400,6 +2410,7 @@ export type IQueryGetIntegrationConfigurationArgs = {
|
|
2400
2410
|
export type IQueryGetOrgInvitationMembersArgs = {
|
2401
2411
|
offset?: Maybe<Scalars['Int']>;
|
2402
2412
|
limit?: Maybe<Scalars['Int']>;
|
2413
|
+
orgName?: Maybe<Scalars['String']>;
|
2403
2414
|
};
|
2404
2415
|
export type IQueryGetOrgTeamInvitationsArgs = {
|
2405
2416
|
teamId?: Maybe<Scalars['String']>;
|
@@ -2422,6 +2433,7 @@ export type IQueryGetOrganizationInvitationArgs = {
|
|
2422
2433
|
export type IQueryGetOrganizationMembersArgs = {
|
2423
2434
|
offset?: Maybe<Scalars['Int']>;
|
2424
2435
|
limit?: Maybe<Scalars['Int']>;
|
2436
|
+
orgName?: Maybe<Scalars['String']>;
|
2425
2437
|
};
|
2426
2438
|
export type IQueryGetOrganizationResourceContextArgs = {
|
2427
2439
|
orgId?: Maybe<Scalars['String']>;
|
@@ -3326,6 +3338,12 @@ export type IResetUserPasswordMutationVariables = Exact<{
|
|
3326
3338
|
export type IResetUserPasswordMutation = ({
|
3327
3339
|
__typename?: 'Mutation';
|
3328
3340
|
} & Pick<IMutation, 'resetUserPassword'>);
|
3341
|
+
export type ISendPhoneOtpMutationVariables = Exact<{
|
3342
|
+
phoneNumber: IPhoneNumberInput;
|
3343
|
+
}>;
|
3344
|
+
export type ISendPhoneOtpMutation = ({
|
3345
|
+
__typename?: 'Mutation';
|
3346
|
+
} & Pick<IMutation, 'sendPhoneOTP'>);
|
3329
3347
|
export type ISendUserPasswordResetEmailMutationVariables = Exact<{
|
3330
3348
|
email: Scalars['String'];
|
3331
3349
|
}>;
|
@@ -3408,6 +3426,13 @@ export type IValidateUserEmailVerificationMutationVariables = Exact<{
|
|
3408
3426
|
export type IValidateUserEmailVerificationMutation = ({
|
3409
3427
|
__typename?: 'Mutation';
|
3410
3428
|
} & Pick<IMutation, 'validateUserEmailVerificationToken'>);
|
3429
|
+
export type IVerifyPhoneOtpMutationVariables = Exact<{
|
3430
|
+
phoneNumber: IPhoneNumberInput;
|
3431
|
+
otp: Scalars['String'];
|
3432
|
+
}>;
|
3433
|
+
export type IVerifyPhoneOtpMutation = ({
|
3434
|
+
__typename?: 'Mutation';
|
3435
|
+
} & Pick<IMutation, 'verifyPhoneOtp'>);
|
3411
3436
|
export type IGetUserOrganizationsListQueryVariables = Exact<{
|
3412
3437
|
[key: string]: never;
|
3413
3438
|
}>;
|
@@ -3469,6 +3494,7 @@ export type IGetManageableOrganizationsQuery = ({
|
|
3469
3494
|
export type IGetOrgInvitationMembersQueryVariables = Exact<{
|
3470
3495
|
offset?: Maybe<Scalars['Int']>;
|
3471
3496
|
limit?: Maybe<Scalars['Int']>;
|
3497
|
+
orgName?: Maybe<Scalars['String']>;
|
3472
3498
|
}>;
|
3473
3499
|
export type IGetOrgInvitationMembersQuery = ({
|
3474
3500
|
__typename?: 'Query';
|
@@ -3635,6 +3661,7 @@ export type IGetUserOrganizationsWithRoleQuery = ({
|
|
3635
3661
|
export type IGetOrganizationMembersQueryVariables = Exact<{
|
3636
3662
|
offset?: Maybe<Scalars['Int']>;
|
3637
3663
|
limit?: Maybe<Scalars['Int']>;
|
3664
|
+
orgName?: Maybe<Scalars['String']>;
|
3638
3665
|
}>;
|
3639
3666
|
export type IGetOrganizationMembersQuery = ({
|
3640
3667
|
__typename?: 'Query';
|
@@ -3952,6 +3979,9 @@ export type IOrgContextFragment = ({
|
|
3952
3979
|
export type IOrganizationUserFragment = ({
|
3953
3980
|
__typename?: 'OrgUser';
|
3954
3981
|
} & Pick<IOrgUser, 'role' | 'orgName' | 'isSelf'>);
|
3982
|
+
export type IOrgUserIdContextFragment = ({
|
3983
|
+
__typename?: 'Context';
|
3984
|
+
} & Pick<IContext, 'orgName' | 'orgUri' | 'userId'>);
|
3955
3985
|
type IResourceData_ExternalResourceData_Fragment = ({
|
3956
3986
|
__typename?: 'ExternalResourceData';
|
3957
3987
|
} & Pick<IExternalResourceData, 'uri' | 'name' | 'index'>);
|
@@ -4845,6 +4875,7 @@ export declare const MachineConfigurationFragmentDoc: DocumentNode;
|
|
4845
4875
|
export declare const OrgNameInContextFragmentDoc: DocumentNode;
|
4846
4876
|
export declare const OrgContextFragmentDoc: DocumentNode;
|
4847
4877
|
export declare const OrganizationUserFragmentDoc: DocumentNode;
|
4878
|
+
export declare const OrgUserIdContextFragmentDoc: DocumentNode;
|
4848
4879
|
export declare const ResourceUserRoleFragmentDoc: DocumentNode;
|
4849
4880
|
export declare const RoleTargetFragmentDoc: DocumentNode;
|
4850
4881
|
export declare const TeamNameInContextFragmentDoc: DocumentNode;
|
@@ -5254,6 +5285,30 @@ export declare function useResetUserPasswordMutation(baseOptions?: Apollo.Mutati
|
|
5254
5285
|
export type ResetUserPasswordMutationHookResult = ReturnType<typeof useResetUserPasswordMutation>;
|
5255
5286
|
export type ResetUserPasswordMutationResult = Apollo.MutationResult<IResetUserPasswordMutation>;
|
5256
5287
|
export type ResetUserPasswordMutationOptions = Apollo.BaseMutationOptions<IResetUserPasswordMutation, IResetUserPasswordMutationVariables>;
|
5288
|
+
export declare const SendPhoneOtpDocument: DocumentNode;
|
5289
|
+
/**
|
5290
|
+
* __useSendPhoneOtpMutation__
|
5291
|
+
*
|
5292
|
+
* To run a mutation, you first call `useSendPhoneOtpMutation` within a React component and pass it any options that fit your needs.
|
5293
|
+
* When your component renders, `useSendPhoneOtpMutation` returns a tuple that includes:
|
5294
|
+
* - A mutate function that you can call at any time to execute the mutation
|
5295
|
+
* - An object with fields that represent the current status of the mutation's execution
|
5296
|
+
*
|
5297
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
5298
|
+
*
|
5299
|
+
* @example
|
5300
|
+
* const [sendPhoneOtpMutation, { data, loading, error }] = useSendPhoneOtpMutation({
|
5301
|
+
* variables: {
|
5302
|
+
* phoneNumber: // value for 'phoneNumber'
|
5303
|
+
* },
|
5304
|
+
* });
|
5305
|
+
*/
|
5306
|
+
export declare function useSendPhoneOtpMutation(baseOptions?: Apollo.MutationHookOptions<ISendPhoneOtpMutation, ISendPhoneOtpMutationVariables>): Apollo.MutationTuple<ISendPhoneOtpMutation, Exact<{
|
5307
|
+
phoneNumber: IPhoneNumberInput;
|
5308
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
5309
|
+
export type SendPhoneOtpMutationHookResult = ReturnType<typeof useSendPhoneOtpMutation>;
|
5310
|
+
export type SendPhoneOtpMutationResult = Apollo.MutationResult<ISendPhoneOtpMutation>;
|
5311
|
+
export type SendPhoneOtpMutationOptions = Apollo.BaseMutationOptions<ISendPhoneOtpMutation, ISendPhoneOtpMutationVariables>;
|
5257
5312
|
export declare const SendUserPasswordResetEmailDocument: DocumentNode;
|
5258
5313
|
/**
|
5259
5314
|
* __useSendUserPasswordResetEmailMutation__
|
@@ -5486,6 +5541,32 @@ export declare function useValidateUserEmailVerificationMutation(baseOptions?: A
|
|
5486
5541
|
export type ValidateUserEmailVerificationMutationHookResult = ReturnType<typeof useValidateUserEmailVerificationMutation>;
|
5487
5542
|
export type ValidateUserEmailVerificationMutationResult = Apollo.MutationResult<IValidateUserEmailVerificationMutation>;
|
5488
5543
|
export type ValidateUserEmailVerificationMutationOptions = Apollo.BaseMutationOptions<IValidateUserEmailVerificationMutation, IValidateUserEmailVerificationMutationVariables>;
|
5544
|
+
export declare const VerifyPhoneOtpDocument: DocumentNode;
|
5545
|
+
/**
|
5546
|
+
* __useVerifyPhoneOtpMutation__
|
5547
|
+
*
|
5548
|
+
* To run a mutation, you first call `useVerifyPhoneOtpMutation` within a React component and pass it any options that fit your needs.
|
5549
|
+
* When your component renders, `useVerifyPhoneOtpMutation` returns a tuple that includes:
|
5550
|
+
* - A mutate function that you can call at any time to execute the mutation
|
5551
|
+
* - An object with fields that represent the current status of the mutation's execution
|
5552
|
+
*
|
5553
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
5554
|
+
*
|
5555
|
+
* @example
|
5556
|
+
* const [verifyPhoneOtpMutation, { data, loading, error }] = useVerifyPhoneOtpMutation({
|
5557
|
+
* variables: {
|
5558
|
+
* phoneNumber: // value for 'phoneNumber'
|
5559
|
+
* otp: // value for 'otp'
|
5560
|
+
* },
|
5561
|
+
* });
|
5562
|
+
*/
|
5563
|
+
export declare function useVerifyPhoneOtpMutation(baseOptions?: Apollo.MutationHookOptions<IVerifyPhoneOtpMutation, IVerifyPhoneOtpMutationVariables>): Apollo.MutationTuple<IVerifyPhoneOtpMutation, Exact<{
|
5564
|
+
phoneNumber: IPhoneNumberInput;
|
5565
|
+
otp: string;
|
5566
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
5567
|
+
export type VerifyPhoneOtpMutationHookResult = ReturnType<typeof useVerifyPhoneOtpMutation>;
|
5568
|
+
export type VerifyPhoneOtpMutationResult = Apollo.MutationResult<IVerifyPhoneOtpMutation>;
|
5569
|
+
export type VerifyPhoneOtpMutationOptions = Apollo.BaseMutationOptions<IVerifyPhoneOtpMutation, IVerifyPhoneOtpMutationVariables>;
|
5489
5570
|
export declare const GetUserOrganizationsListDocument: DocumentNode;
|
5490
5571
|
/**
|
5491
5572
|
* __useGetUserOrganizationsListQuery__
|
@@ -5629,16 +5710,19 @@ export declare const GetOrgInvitationMembersDocument: DocumentNode;
|
|
5629
5710
|
* variables: {
|
5630
5711
|
* offset: // value for 'offset'
|
5631
5712
|
* limit: // value for 'limit'
|
5713
|
+
* orgName: // value for 'orgName'
|
5632
5714
|
* },
|
5633
5715
|
* });
|
5634
5716
|
*/
|
5635
5717
|
export declare function useGetOrgInvitationMembersQuery(baseOptions?: Apollo.QueryHookOptions<IGetOrgInvitationMembersQuery, IGetOrgInvitationMembersQueryVariables>): Apollo.QueryResult<IGetOrgInvitationMembersQuery, Exact<{
|
5636
5718
|
offset?: number;
|
5637
5719
|
limit?: number;
|
5720
|
+
orgName?: string;
|
5638
5721
|
}>>;
|
5639
5722
|
export declare function useGetOrgInvitationMembersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetOrgInvitationMembersQuery, IGetOrgInvitationMembersQueryVariables>): Apollo.LazyQueryResultTuple<IGetOrgInvitationMembersQuery, Exact<{
|
5640
5723
|
offset?: number;
|
5641
5724
|
limit?: number;
|
5725
|
+
orgName?: string;
|
5642
5726
|
}>>;
|
5643
5727
|
export type GetOrgInvitationMembersQueryHookResult = ReturnType<typeof useGetOrgInvitationMembersQuery>;
|
5644
5728
|
export type GetOrgInvitationMembersLazyQueryHookResult = ReturnType<typeof useGetOrgInvitationMembersLazyQuery>;
|
@@ -5979,16 +6063,19 @@ export declare const GetOrganizationMembersDocument: DocumentNode;
|
|
5979
6063
|
* variables: {
|
5980
6064
|
* offset: // value for 'offset'
|
5981
6065
|
* limit: // value for 'limit'
|
6066
|
+
* orgName: // value for 'orgName'
|
5982
6067
|
* },
|
5983
6068
|
* });
|
5984
6069
|
*/
|
5985
6070
|
export declare function useGetOrganizationMembersQuery(baseOptions?: Apollo.QueryHookOptions<IGetOrganizationMembersQuery, IGetOrganizationMembersQueryVariables>): Apollo.QueryResult<IGetOrganizationMembersQuery, Exact<{
|
5986
6071
|
offset?: number;
|
5987
6072
|
limit?: number;
|
6073
|
+
orgName?: string;
|
5988
6074
|
}>>;
|
5989
6075
|
export declare function useGetOrganizationMembersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetOrganizationMembersQuery, IGetOrganizationMembersQueryVariables>): Apollo.LazyQueryResultTuple<IGetOrganizationMembersQuery, Exact<{
|
5990
6076
|
offset?: number;
|
5991
6077
|
limit?: number;
|
6078
|
+
orgName?: string;
|
5992
6079
|
}>>;
|
5993
6080
|
export type GetOrganizationMembersQueryHookResult = ReturnType<typeof useGetOrganizationMembersQuery>;
|
5994
6081
|
export type GetOrganizationMembersLazyQueryHookResult = ReturnType<typeof useGetOrganizationMembersLazyQuery>;
|
@@ -8400,6 +8487,7 @@ export type IContextResolvers<ContextType = MyContext, ParentType extends IResol
|
|
8400
8487
|
teamName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
8401
8488
|
teamResource?: Resolver<Maybe<IResolversTypes['URI']>, ParentType, ContextType>;
|
8402
8489
|
teamUri?: Resolver<Maybe<IResolversTypes['URI']>, ParentType, ContextType>;
|
8490
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
8403
8491
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
8404
8492
|
};
|
8405
8493
|
export type IContributionRolesResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['ContributionRoles'] = IResolversParentTypes['ContributionRoles']> = {
|
@@ -8824,6 +8912,7 @@ export type IMutationResolvers<ContextType = MyContext, ParentType extends IReso
|
|
8824
8912
|
resetUserPassword?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationResetUserPasswordArgs, 'input'>>;
|
8825
8913
|
sendEmailVerificationToken?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendEmailVerificationTokenArgs, 'email'>>;
|
8826
8914
|
sendOrganizationInvitation?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendOrganizationInvitationArgs, never>>;
|
8915
|
+
sendPhoneOTP?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSendPhoneOtpArgs, 'phoneNumber'>>;
|
8827
8916
|
sendUserPasswordResetEmail?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSendUserPasswordResetEmailArgs, 'email'>>;
|
8828
8917
|
setSettingsValueByResource?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationSetSettingsValueByResourceArgs, never>>;
|
8829
8918
|
updateAuth0UserPassword?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationUpdateAuth0UserPasswordArgs, never>>;
|
@@ -8843,6 +8932,7 @@ export type IMutationResolvers<ContextType = MyContext, ParentType extends IReso
|
|
8843
8932
|
updateUserAccount?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationUpdateUserAccountArgs, never>>;
|
8844
8933
|
validatePasswordResetOtp?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationValidatePasswordResetOtpArgs, 'email' | 'code'>>;
|
8845
8934
|
validateUserEmailVerificationToken?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationValidateUserEmailVerificationTokenArgs, 'code'>>;
|
8935
|
+
verifyPhoneOtp?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationVerifyPhoneOtpArgs, 'phoneNumber' | 'otp'>>;
|
8846
8936
|
};
|
8847
8937
|
export type INodeResolvers<ContextType = MyContext, ParentType extends IResolversParentTypes['Node'] = IResolversParentTypes['Node']> = {
|
8848
8938
|
__resolveType: TypeResolveFn<'AccessToken' | 'ApiExternalAccount' | 'ApiManagement' | 'UserAccount', ParentType, ContextType>;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DefaultSettingFragmentDoc = exports.ConfigurationUpdateEventFragmentDoc = exports.UserCreationEventFragmentDoc = exports.OrgUserFragmentDoc = exports.AllContextFragmentDoc = exports.IVisibility = exports.IUserServiceAction = exports.IUserOrderBy = exports.IUserBroadcasterAction = exports.ITokenTypesEnum = exports.ITeamServiceAction = exports.ISortEnum = exports.ISettingValueType = exports.IRouteParams = exports.IRole = exports.IResourceAuthority = exports.IRegistryExtensions = exports.IPreDefinedRole = exports.IPortalLanguage = exports.IPermissionType = exports.IPermissionResource = exports.IPermissionAction = exports.IOrganizationServiceAction = exports.IOrganizationContextPubSubEvents = exports.IOrgainizationInvitationRole = exports.IOrgUserRole = exports.IMoleculerServiceName = exports.IMenuPosition = exports.IMailTemplateId = exports.IInviteStatus = exports.IIntegrationWorkflowServiceAction = exports.IGlobalLanguages = exports.IGlobalCurrencies = exports.IEditPresentationTypes = exports.IDeviceInfoPlatform = exports.IContextServiceAction = exports.ConfigurationTarget = exports.IConfigurationServiceAction = exports.ConfigurationScope = exports.IConfigurationContributionNames = exports.IConfigFragmentName = exports.IConfigCollectionName = exports.IClientTypes = exports.IClientContainerService = exports.IClientCacheTypeNames = exports.ICacheControlScope = exports.IAuthErrorCodes = exports.IApplicationRoles = exports.IApplicationBillingPlanPolicy = exports.IAccountServiceAction = void 0;
|
4
|
-
exports.
|
5
|
-
exports.
|
6
|
-
exports.
|
7
|
-
exports.
|
8
|
-
exports.
|
9
|
-
exports.useViewerSettingsLazyQuery = exports.useViewerSettingsQuery = exports.ViewerSettingsDocument = exports.useOrganizationResourceContextLazyQuery = exports.useOrganizationResourceContextQuery = exports.OrganizationResourceContextDocument = exports.useGetConfigurationDataLazyQuery = exports.useGetConfigurationDataQuery = exports.GetConfigurationDataDocument = exports.useUpdateRoleValueMutation = exports.UpdateRoleValueDocument = exports.useUpdatePolicyValueMutation = exports.UpdatePolicyValueDocument = exports.useUpdateOrganizationContextUpdateResourcesMutation = exports.UpdateOrganizationContextUpdateResourcesDocument = exports.useUpdateOrganizationContextRemoveResourcesMutation = exports.UpdateOrganizationContextRemoveResourcesDocument = exports.useUpdateOrganizationContextAddResourcesMutation = exports.UpdateOrganizationContextAddResourcesDocument = exports.useUpdateConfigurationValueMutation = exports.UpdateConfigurationValueDocument = exports.useUpdateConfigurationValueByUriMutation = exports.UpdateConfigurationValueByUriDocument = exports.useSubscribeToPolicyUpdateSubscription = exports.SubscribeToPolicyUpdateDocument = exports.useSubscribeToPermissionUpdateSubscription = exports.SubscribeToPermissionUpdateDocument = exports.useSubscribeToOrganizationContextSubscription = exports.SubscribeToOrganizationContextDocument = exports.useSubscribeToConfigurationUpdateSubscription = exports.SubscribeToConfigurationUpdateDocument = exports.useGetUserWithDefaultConfigurationLazyQuery = exports.useGetUserWithDefaultConfigurationQuery = exports.GetUserWithDefaultConfigurationDocument = exports.useGetOrgWithResourcesConfigurationLazyQuery = exports.useGetOrgWithResourcesConfigurationQuery = exports.GetOrgWithResourcesConfigurationDocument = exports.useGetRoleLazyQuery = void 0;
|
4
|
+
exports.useResetUserPasswordMutation = exports.ResetUserPasswordDocument = exports.useResendOrganizationInvitationMutation = exports.ResendOrganizationInvitationDocument = exports.useRemoveTeamMemberMutation = exports.RemoveTeamMemberDocument = exports.useRemoveTeamMutation = exports.RemoveTeamDocument = exports.useRemoveOrganizationMutation = exports.RemoveOrganizationDocument = exports.useRemoveOrgMemberMutation = exports.RemoveOrgMemberDocument = exports.useRegisterAccountUserMutation = exports.RegisterAccountUserDocument = exports.useDeleteUserAccountMutation = exports.DeleteUserAccountDocument = exports.useDeclineOrganizationInvitationMutation = exports.DeclineOrganizationInvitationDocument = exports.useCreateTeamMutation = exports.CreateTeamDocument = exports.useCreateOrganizationMutation = exports.CreateOrganizationDocument = exports.useChangeOrgMemberRoleMutation = exports.ChangeOrgMemberRoleDocument = exports.useChangeMemberRoleMutation = exports.ChangeMemberRoleDocument = exports.useAddTeamMembersMutation = exports.AddTeamMembersDocument = exports.useAccountOnBoardingMutation = exports.AccountOnBoardingDocument = exports.useAcceptOrganizationInvitationMutation = exports.AcceptOrganizationInvitationDocument = exports.OrganizationDataFragmentDoc = exports.ConfigurationModelFragmentDoc = exports.AccountBillingPreferencesFragmentDoc = exports.TeamWithOrgOnContextFragmentDoc = exports.TeamContextFragmentDoc = exports.TeamNameInContextFragmentDoc = exports.RoleTargetFragmentDoc = exports.ResourceUserRoleFragmentDoc = exports.OrgUserIdContextFragmentDoc = exports.OrganizationUserFragmentDoc = exports.OrgContextFragmentDoc = exports.OrgNameInContextFragmentDoc = exports.MachineConfigurationFragmentDoc = exports.DefaultContextFragmentDoc = exports.ContextConfigurationFragmentDoc = exports.ResourceDataFragmentDoc = exports.ConfigurationFragmentDoc = exports.OverWriteRoleValueFragmentDoc = void 0;
|
5
|
+
exports.GetOrganizationMembersWithNameDocument = exports.useGetOrgUserLazyQuery = exports.useGetOrgUserQuery = exports.GetOrgUserDocument = exports.useGetOrgTeamInvitationsLazyQuery = exports.useGetOrgTeamInvitationsQuery = exports.GetOrgTeamInvitationsDocument = exports.useGetOrganizationInvitationLazyQuery = exports.useGetOrganizationInvitationQuery = exports.GetOrganizationInvitationDocument = exports.useGetOrgInvitationMembersLazyQuery = exports.useGetOrgInvitationMembersQuery = exports.GetOrgInvitationMembersDocument = exports.useGetManageableOrganizationsLazyQuery = exports.useGetManageableOrganizationsQuery = exports.GetManageableOrganizationsDocument = exports.useGetAllCountriesLazyQuery = exports.useGetAllCountriesQuery = exports.GetAllCountriesDocument = exports.useGetAccountsLazyQuery = exports.useGetAccountsQuery = exports.GetAccountsDocument = exports.useDecodeOrganizationInvitationLazyQuery = exports.useDecodeOrganizationInvitationQuery = exports.DecodeOrganizationInvitationDocument = exports.useGetUserOrganizationsListLazyQuery = exports.useGetUserOrganizationsListQuery = exports.GetUserOrganizationsListDocument = exports.useVerifyPhoneOtpMutation = exports.VerifyPhoneOtpDocument = exports.useValidateUserEmailVerificationMutation = exports.ValidateUserEmailVerificationDocument = exports.useValidatePasswordResetOtpMutation = exports.ValidatePasswordResetOtpDocument = exports.useUpdateUserAccountMutation = exports.UpdateUserAccountDocument = exports.useUpdateTeamConfigurationMutation = exports.UpdateTeamConfigurationDocument = exports.useUpdateOrganizationMutation = exports.UpdateOrganizationDocument = exports.useUpdateOrgMemberTeamsMutation = exports.UpdateOrgMemberTeamsDocument = exports.useSendOrganizationInvitationMutation = exports.SendOrganizationInvitationDocument = exports.useSendEmailVerificationMutation = exports.SendEmailVerificationDocument = exports.useSendUserPasswordResetEmailMutation = exports.SendUserPasswordResetEmailDocument = exports.useSendPhoneOtpMutation = exports.SendPhoneOtpDocument = void 0;
|
6
|
+
exports.useGetOrgMembersWithRolesUnsecuredLazyQuery = exports.useGetOrgMembersWithRolesUnsecuredQuery = exports.GetOrgMembersWithRolesUnsecuredDocument = exports.useGetAccountsApplicationPoliciesLazyQuery = exports.useGetAccountsApplicationPoliciesQuery = exports.GetAccountsApplicationPoliciesDocument = exports.useGetAccountsViewerSettingsLazyQuery = exports.useGetAccountsViewerSettingsQuery = exports.GetAccountsViewerSettingsDocument = exports.useGetViewerSettingsLazyQuery = exports.useGetViewerSettingsQuery = exports.GetViewerSettingsDocument = exports.useTeamsLazyQuery = exports.useTeamsQuery = exports.TeamsDocument = exports.useTeamLazyQuery = exports.useTeamQuery = exports.TeamDocument = exports.useOrganizationsLazyQuery = exports.useOrganizationsQuery = exports.OrganizationsDocument = exports.useGetOrganizationMembersLazyQuery = exports.useGetOrganizationMembersQuery = exports.GetOrganizationMembersDocument = exports.useGetUserOrganizationsWithRoleLazyQuery = exports.useGetUserOrganizationsWithRoleQuery = exports.GetUserOrganizationsWithRoleDocument = exports.useGetUserOrganizationsLazyQuery = exports.useGetUserOrganizationsQuery = exports.GetUserOrganizationsDocument = exports.useGetUserTokenDetailsLazyQuery = exports.useGetUserTokenDetailsQuery = exports.GetUserTokenDetailsDocument = exports.useGetUserAccountByAuth0IdLazyQuery = exports.useGetUserAccountByAuth0IdQuery = exports.GetUserAccountByAuth0IdDocument = exports.useGetUserAccountLazyQuery = exports.useGetUserAccountQuery = exports.GetUserAccountDocument = exports.useGetTeamByNameLazyQuery = exports.useGetTeamByNameQuery = exports.GetTeamByNameDocument = exports.useGetTeamLazyQuery = exports.useGetTeamQuery = exports.GetTeamDocument = exports.useGetOrganizationTeamsLazyQuery = exports.useGetOrganizationTeamsQuery = exports.GetOrganizationTeamsDocument = exports.useGetOrganizationMembersWithNameLazyQuery = exports.useGetOrganizationMembersWithNameQuery = void 0;
|
7
|
+
exports.GetDefaultRoleDocument = exports.useGetDefaultPolicySettingsLazyQuery = exports.useGetDefaultPolicySettingsQuery = exports.GetDefaultPolicySettingsDocument = exports.useGetDefaultPermissionsLazyQuery = exports.useGetDefaultPermissionsQuery = exports.GetDefaultPermissionsDocument = exports.useGetDefaultApplicationPermissionsLazyQuery = exports.useGetDefaultApplicationPermissionsQuery = exports.GetDefaultApplicationPermissionsDocument = exports.useGetContextPropertyLazyQuery = exports.useGetContextPropertyQuery = exports.GetContextPropertyDocument = exports.useGetConfigurationTargetLazyQuery = exports.useGetConfigurationTargetQuery = exports.GetConfigurationTargetDocument = exports.useDefaultResolveSettingsLazyQuery = exports.useDefaultResolveSettingsQuery = exports.DefaultResolveSettingsDocument = exports.useGetApplicationRoleLazyQuery = exports.useGetApplicationRoleQuery = exports.GetApplicationRoleDocument = exports.useGetApplicationPolicyLazyQuery = exports.useGetApplicationPolicyQuery = exports.GetApplicationPolicyDocument = exports.useUpdateConfigurationMutation = exports.UpdateConfigurationDocument = exports.useReassignConfigurationMutation = exports.ReassignConfigurationDocument = exports.useInitializeTeamInContextMutation = exports.InitializeTeamInContextDocument = exports.useInitializeOrgNameInContextMutation = exports.InitializeOrgNameInContextDocument = exports.useInitiateConfigurationValueMutation = exports.InitiateConfigurationValueDocument = exports.useChangeOrganizationMutation = exports.ChangeOrganizationDocument = exports.useAddResourceToContextMutation = exports.AddResourceToContextDocument = exports.useAddContributionRoleMutation = exports.AddContributionRoleDocument = exports.useFilterIntegrationConfigurationLazyQuery = exports.useFilterIntegrationConfigurationQuery = exports.FilterIntegrationConfigurationDocument = exports.useGetUsersLazyQuery = exports.useGetUsersQuery = exports.GetUsersDocument = exports.useGetOrgMembersWithRolesLazyQuery = exports.useGetOrgMembersWithRolesQuery = exports.GetOrgMembersWithRolesDocument = void 0;
|
8
|
+
exports.useGetOrgContextLazyQuery = exports.useGetOrgContextQuery = exports.GetOrgContextDocument = exports.useGetContributionRolesLazyQuery = exports.useGetContributionRolesQuery = exports.GetContributionRolesDocument = exports.useDefaultSettingsLazyQuery = exports.useDefaultSettingsQuery = exports.DefaultSettingsDocument = exports.useGetUserConfigurationLazyQuery = exports.useGetUserConfigurationQuery = exports.GetUserConfigurationDocument = exports.useGetResourcesConfigurationLazyQuery = exports.useGetResourcesConfigurationQuery = exports.GetResourcesConfigurationDocument = exports.useResolveConfigurationLazyQuery = exports.useResolveConfigurationQuery = exports.ResolveConfigurationDocument = exports.useGetOrgWithResourcesRoleLazyQuery = exports.useGetOrgWithResourcesRoleQuery = exports.GetOrgWithResourcesRoleDocument = exports.useGetOrgWithResourcesPolicyLazyQuery = exports.useGetOrgWithResourcesPolicyQuery = exports.GetOrgWithResourcesPolicyDocument = exports.useGetOrgRoleLazyQuery = exports.useGetOrgRoleQuery = exports.GetOrgRoleDocument = exports.useGetOrgPolicyLazyQuery = exports.useGetOrgPolicyQuery = exports.GetOrgPolicyDocument = exports.useGetOrgConfigurationLazyQuery = exports.useGetOrgConfigurationQuery = exports.GetOrgConfigurationDocument = exports.useOpenPreferencesSettingsLazyQuery = exports.useOpenPreferencesSettingsQuery = exports.OpenPreferencesSettingsDocument = exports.useGetUserRoleLazyQuery = exports.useGetUserRoleQuery = exports.GetUserRoleDocument = exports.useGetUserAccessRoleLazyQuery = exports.useGetUserAccessRoleQuery = exports.GetUserAccessRoleDocument = exports.useGetTeamNameFromContextLazyQuery = exports.useGetTeamNameFromContextQuery = exports.GetTeamNameFromContextDocument = exports.useGetTeamContextLazyQuery = exports.useGetTeamContextQuery = exports.GetTeamContextDocument = exports.useGetDefaultRoleLazyQuery = exports.useGetDefaultRoleQuery = void 0;
|
9
|
+
exports.useViewerSettingsLazyQuery = exports.useViewerSettingsQuery = exports.ViewerSettingsDocument = exports.useOrganizationResourceContextLazyQuery = exports.useOrganizationResourceContextQuery = exports.OrganizationResourceContextDocument = exports.useGetConfigurationDataLazyQuery = exports.useGetConfigurationDataQuery = exports.GetConfigurationDataDocument = exports.useUpdateRoleValueMutation = exports.UpdateRoleValueDocument = exports.useUpdatePolicyValueMutation = exports.UpdatePolicyValueDocument = exports.useUpdateOrganizationContextUpdateResourcesMutation = exports.UpdateOrganizationContextUpdateResourcesDocument = exports.useUpdateOrganizationContextRemoveResourcesMutation = exports.UpdateOrganizationContextRemoveResourcesDocument = exports.useUpdateOrganizationContextAddResourcesMutation = exports.UpdateOrganizationContextAddResourcesDocument = exports.useUpdateConfigurationValueMutation = exports.UpdateConfigurationValueDocument = exports.useUpdateConfigurationValueByUriMutation = exports.UpdateConfigurationValueByUriDocument = exports.useSubscribeToPolicyUpdateSubscription = exports.SubscribeToPolicyUpdateDocument = exports.useSubscribeToPermissionUpdateSubscription = exports.SubscribeToPermissionUpdateDocument = exports.useSubscribeToOrganizationContextSubscription = exports.SubscribeToOrganizationContextDocument = exports.useSubscribeToConfigurationUpdateSubscription = exports.SubscribeToConfigurationUpdateDocument = exports.useGetUserWithDefaultConfigurationLazyQuery = exports.useGetUserWithDefaultConfigurationQuery = exports.GetUserWithDefaultConfigurationDocument = exports.useGetOrgWithResourcesConfigurationLazyQuery = exports.useGetOrgWithResourcesConfigurationQuery = exports.GetOrgWithResourcesConfigurationDocument = exports.useGetRoleLazyQuery = exports.useGetRoleQuery = exports.GetRoleDocument = exports.useGetOrgNameFromContextLazyQuery = exports.useGetOrgNameFromContextQuery = exports.GetOrgNameFromContextDocument = void 0;
|
10
10
|
const configuration_1 = require("../configuration");
|
11
11
|
Object.defineProperty(exports, "ConfigurationScope", { enumerable: true, get: function () { return configuration_1.ConfigurationScope; } });
|
12
12
|
const configuration_2 = require("../configuration");
|
@@ -491,6 +491,7 @@ exports.MachineConfigurationFragmentDoc = { "kind": "Document", "definitions": [
|
|
491
491
|
exports.OrgNameInContextFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrgNameInContext" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Context" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }] } }] };
|
492
492
|
exports.OrgContextFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrgContext" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Context" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgUri" } }] } }] };
|
493
493
|
exports.OrganizationUserFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrganizationUser" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "IOrgUser" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSelf" } }] } }] };
|
494
|
+
exports.OrgUserIdContextFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrgUserIdContext" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Context" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgUri" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }] } }] };
|
494
495
|
exports.ResourceUserRoleFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ResourceUserRole" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ResourceUser" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSelf" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }] } }] };
|
495
496
|
exports.RoleTargetFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "RoleTarget" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ContributionRoles" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "target" } }] } }] };
|
496
497
|
exports.TeamNameInContextFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "TeamNameInContext" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Context" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "teamName" } }] } }] };
|
@@ -875,6 +876,29 @@ function useResetUserPasswordMutation(baseOptions) {
|
|
875
876
|
return Apollo.useMutation(exports.ResetUserPasswordDocument, options);
|
876
877
|
}
|
877
878
|
exports.useResetUserPasswordMutation = useResetUserPasswordMutation;
|
879
|
+
exports.SendPhoneOtpDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendPhoneOTP" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "phoneNumber" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PhoneNumberInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendPhoneOTP" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "phoneNumber" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "phoneNumber" } } }] }] } }] };
|
880
|
+
/**
|
881
|
+
* __useSendPhoneOtpMutation__
|
882
|
+
*
|
883
|
+
* To run a mutation, you first call `useSendPhoneOtpMutation` within a React component and pass it any options that fit your needs.
|
884
|
+
* When your component renders, `useSendPhoneOtpMutation` returns a tuple that includes:
|
885
|
+
* - A mutate function that you can call at any time to execute the mutation
|
886
|
+
* - An object with fields that represent the current status of the mutation's execution
|
887
|
+
*
|
888
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
889
|
+
*
|
890
|
+
* @example
|
891
|
+
* const [sendPhoneOtpMutation, { data, loading, error }] = useSendPhoneOtpMutation({
|
892
|
+
* variables: {
|
893
|
+
* phoneNumber: // value for 'phoneNumber'
|
894
|
+
* },
|
895
|
+
* });
|
896
|
+
*/
|
897
|
+
function useSendPhoneOtpMutation(baseOptions) {
|
898
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
899
|
+
return Apollo.useMutation(exports.SendPhoneOtpDocument, options);
|
900
|
+
}
|
901
|
+
exports.useSendPhoneOtpMutation = useSendPhoneOtpMutation;
|
878
902
|
exports.SendUserPasswordResetEmailDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendUserPasswordResetEmail" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "email" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendUserPasswordResetEmail" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "email" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "email" } } }] }] } }] };
|
879
903
|
/**
|
880
904
|
* __useSendUserPasswordResetEmailMutation__
|
@@ -1090,6 +1114,30 @@ function useValidateUserEmailVerificationMutation(baseOptions) {
|
|
1090
1114
|
return Apollo.useMutation(exports.ValidateUserEmailVerificationDocument, options);
|
1091
1115
|
}
|
1092
1116
|
exports.useValidateUserEmailVerificationMutation = useValidateUserEmailVerificationMutation;
|
1117
|
+
exports.VerifyPhoneOtpDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "verifyPhoneOtp" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "phoneNumber" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "PhoneNumberInput" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "otp" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "verifyPhoneOtp" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "phoneNumber" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "phoneNumber" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "otp" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "otp" } } }] }] } }] };
|
1118
|
+
/**
|
1119
|
+
* __useVerifyPhoneOtpMutation__
|
1120
|
+
*
|
1121
|
+
* To run a mutation, you first call `useVerifyPhoneOtpMutation` within a React component and pass it any options that fit your needs.
|
1122
|
+
* When your component renders, `useVerifyPhoneOtpMutation` returns a tuple that includes:
|
1123
|
+
* - A mutate function that you can call at any time to execute the mutation
|
1124
|
+
* - An object with fields that represent the current status of the mutation's execution
|
1125
|
+
*
|
1126
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
1127
|
+
*
|
1128
|
+
* @example
|
1129
|
+
* const [verifyPhoneOtpMutation, { data, loading, error }] = useVerifyPhoneOtpMutation({
|
1130
|
+
* variables: {
|
1131
|
+
* phoneNumber: // value for 'phoneNumber'
|
1132
|
+
* otp: // value for 'otp'
|
1133
|
+
* },
|
1134
|
+
* });
|
1135
|
+
*/
|
1136
|
+
function useVerifyPhoneOtpMutation(baseOptions) {
|
1137
|
+
const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
|
1138
|
+
return Apollo.useMutation(exports.VerifyPhoneOtpDocument, options);
|
1139
|
+
}
|
1140
|
+
exports.useVerifyPhoneOtpMutation = useVerifyPhoneOtpMutation;
|
1093
1141
|
exports.GetUserOrganizationsListDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetUserOrganizationsList" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getUserOrganizations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isBillingLeader" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgMembers" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "OrgUser" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inactive" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "OrgUser" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "OrgUser" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSelf" } }] } }] };
|
1094
1142
|
/**
|
1095
1143
|
* __useGetUserOrganizationsListQuery__
|
@@ -1223,7 +1271,7 @@ function useGetManageableOrganizationsLazyQuery(baseOptions) {
|
|
1223
1271
|
return Apollo.useLazyQuery(exports.GetManageableOrganizationsDocument, options);
|
1224
1272
|
}
|
1225
1273
|
exports.useGetManageableOrganizationsLazyQuery = useGetManageableOrganizationsLazyQuery;
|
1226
|
-
exports.GetOrgInvitationMembersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetOrgInvitationMembers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getOrgInvitationMembers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "teamName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "teamId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inviteLink" } }] } }] } }] } }] };
|
1274
|
+
exports.GetOrgInvitationMembersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetOrgInvitationMembers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getOrgInvitationMembers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orgName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "teamName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "teamId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "inviteLink" } }] } }] } }] } }] };
|
1227
1275
|
/**
|
1228
1276
|
* __useGetOrgInvitationMembersQuery__
|
1229
1277
|
*
|
@@ -1238,6 +1286,7 @@ exports.GetOrgInvitationMembersDocument = { "kind": "Document", "definitions": [
|
|
1238
1286
|
* variables: {
|
1239
1287
|
* offset: // value for 'offset'
|
1240
1288
|
* limit: // value for 'limit'
|
1289
|
+
* orgName: // value for 'orgName'
|
1241
1290
|
* },
|
1242
1291
|
* });
|
1243
1292
|
*/
|
@@ -1578,7 +1627,7 @@ function useGetUserOrganizationsWithRoleLazyQuery(baseOptions) {
|
|
1578
1627
|
return Apollo.useLazyQuery(exports.GetUserOrganizationsWithRoleDocument, options);
|
1579
1628
|
}
|
1580
1629
|
exports.useGetUserOrganizationsWithRoleLazyQuery = useGetUserOrganizationsWithRoleLazyQuery;
|
1581
|
-
exports.GetOrganizationMembersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetOrganizationMembers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getOrganizationMembers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSelf" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "teamNames" } }, { "kind": "Field", "name": { "kind": "Name", "value": "crossCheckEmail" } }, { "kind": "Field", "name": { "kind": "Name", "value": "user" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "familyName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "givenName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "username" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }] } }] } }] } }] } }] };
|
1630
|
+
exports.GetOrganizationMembersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetOrganizationMembers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "getOrganizationMembers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "orgName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgName" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "data" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSelf" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }, { "kind": "Field", "name": { "kind": "Name", "value": "teamNames" } }, { "kind": "Field", "name": { "kind": "Name", "value": "crossCheckEmail" } }, { "kind": "Field", "name": { "kind": "Name", "value": "user" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "familyName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "givenName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "username" } }, { "kind": "Field", "name": { "kind": "Name", "value": "alias" } }, { "kind": "Field", "name": { "kind": "Name", "value": "email" } }] } }] } }] } }] } }] };
|
1582
1631
|
/**
|
1583
1632
|
* __useGetOrganizationMembersQuery__
|
1584
1633
|
*
|
@@ -1593,6 +1642,7 @@ exports.GetOrganizationMembersDocument = { "kind": "Document", "definitions": [{
|
|
1593
1642
|
* variables: {
|
1594
1643
|
* offset: // value for 'offset'
|
1595
1644
|
* limit: // value for 'limit'
|
1645
|
+
* orgName: // value for 'orgName'
|
1596
1646
|
* },
|
1597
1647
|
* });
|
1598
1648
|
*/
|