@grantjs/schema 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generated/resolvers.ts +17 -0
- package/src/generated/schema-types.ts +14 -0
- package/src/schema/auth/inputs/email-verification-proof.graphql +5 -0
- package/src/schema/auth/inputs/login.graphql +1 -0
- package/src/schema/auth/inputs/register.graphql +1 -0
- package/src/schema/auth/types/email-verification-proof-type.graphql +3 -0
- package/src/schema/organization-invitations/inputs/create-organization-invitation.graphql +1 -0
- package/src/schema/organization-invitations/inputs/update-organization-invitation.graphql +1 -0
package/package.json
CHANGED
|
@@ -562,6 +562,7 @@ export type CreateOrganizationInput = {
|
|
|
562
562
|
|
|
563
563
|
export type CreateOrganizationInvitationInput = {
|
|
564
564
|
email: Scalars['String']['input'];
|
|
565
|
+
emailVerificationProofTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
565
566
|
expiresAt: Scalars['Date']['input'];
|
|
566
567
|
invitedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
567
568
|
invitedBy: Scalars['ID']['input'];
|
|
@@ -705,6 +706,16 @@ export type DeleteUserSessionInput = {
|
|
|
705
706
|
id: Scalars['ID']['input'];
|
|
706
707
|
};
|
|
707
708
|
|
|
709
|
+
export type EmailVerificationProofInput = {
|
|
710
|
+
emailProofToken: Scalars['String']['input'];
|
|
711
|
+
token: Scalars['String']['input'];
|
|
712
|
+
type: EmailVerificationProofType;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
export enum EmailVerificationProofType {
|
|
716
|
+
OrganizationInvitation = 'ORGANIZATION_INVITATION',
|
|
717
|
+
}
|
|
718
|
+
|
|
708
719
|
export type ExchangeApiKeyInput = {
|
|
709
720
|
clientId: Scalars['String']['input'];
|
|
710
721
|
clientSecret: Scalars['String']['input'];
|
|
@@ -862,6 +873,7 @@ export type IsAuthorizedPermissionInput = {
|
|
|
862
873
|
};
|
|
863
874
|
|
|
864
875
|
export type LoginInput = {
|
|
876
|
+
emailVerificationProof?: InputMaybe<EmailVerificationProofInput>;
|
|
865
877
|
provider: UserAuthenticationMethodProvider;
|
|
866
878
|
providerData: Scalars['JSON']['input'];
|
|
867
879
|
providerId: Scalars['String']['input'];
|
|
@@ -2374,6 +2386,7 @@ export type RefreshSessionResponse = {
|
|
|
2374
2386
|
};
|
|
2375
2387
|
|
|
2376
2388
|
export type RegisterInput = {
|
|
2389
|
+
emailVerificationProof?: InputMaybe<EmailVerificationProofInput>;
|
|
2377
2390
|
provider: UserAuthenticationMethodProvider;
|
|
2378
2391
|
providerData: Scalars['JSON']['input'];
|
|
2379
2392
|
providerId: Scalars['String']['input'];
|
|
@@ -3046,6 +3059,7 @@ export type UpdateOrganizationInput = {
|
|
|
3046
3059
|
|
|
3047
3060
|
export type UpdateOrganizationInvitationInput = {
|
|
3048
3061
|
acceptedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3062
|
+
emailVerificationProofTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
3049
3063
|
expiresAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3050
3064
|
invitedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3051
3065
|
status?: InputMaybe<OrganizationInvitationStatus>;
|
|
@@ -3750,6 +3764,8 @@ export type ResolversTypes = ResolversObject<{
|
|
|
3750
3764
|
DeleteMyAccountsInput: DeleteMyAccountsInput;
|
|
3751
3765
|
DeleteUserAuthenticationMethodInput: DeleteUserAuthenticationMethodInput;
|
|
3752
3766
|
DeleteUserSessionInput: DeleteUserSessionInput;
|
|
3767
|
+
EmailVerificationProofInput: EmailVerificationProofInput;
|
|
3768
|
+
EmailVerificationProofType: EmailVerificationProofType;
|
|
3753
3769
|
ExchangeApiKeyInput: ExchangeApiKeyInput;
|
|
3754
3770
|
ExchangeApiKeyResult: ResolverTypeWrapper<ExchangeApiKeyResult>;
|
|
3755
3771
|
GenerateMyMfaRecoveryCodesInput: GenerateMyMfaRecoveryCodesInput;
|
|
@@ -4107,6 +4123,7 @@ export type ResolversParentTypes = ResolversObject<{
|
|
|
4107
4123
|
DeleteMyAccountsInput: DeleteMyAccountsInput;
|
|
4108
4124
|
DeleteUserAuthenticationMethodInput: DeleteUserAuthenticationMethodInput;
|
|
4109
4125
|
DeleteUserSessionInput: DeleteUserSessionInput;
|
|
4126
|
+
EmailVerificationProofInput: EmailVerificationProofInput;
|
|
4110
4127
|
ExchangeApiKeyInput: ExchangeApiKeyInput;
|
|
4111
4128
|
ExchangeApiKeyResult: ExchangeApiKeyResult;
|
|
4112
4129
|
GenerateMyMfaRecoveryCodesInput: GenerateMyMfaRecoveryCodesInput;
|
|
@@ -560,6 +560,7 @@ export type CreateOrganizationInput = {
|
|
|
560
560
|
|
|
561
561
|
export type CreateOrganizationInvitationInput = {
|
|
562
562
|
email: Scalars['String']['input'];
|
|
563
|
+
emailVerificationProofTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
563
564
|
expiresAt: Scalars['Date']['input'];
|
|
564
565
|
invitedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
565
566
|
invitedBy: Scalars['ID']['input'];
|
|
@@ -703,6 +704,16 @@ export type DeleteUserSessionInput = {
|
|
|
703
704
|
id: Scalars['ID']['input'];
|
|
704
705
|
};
|
|
705
706
|
|
|
707
|
+
export type EmailVerificationProofInput = {
|
|
708
|
+
emailProofToken: Scalars['String']['input'];
|
|
709
|
+
token: Scalars['String']['input'];
|
|
710
|
+
type: EmailVerificationProofType;
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
export enum EmailVerificationProofType {
|
|
714
|
+
OrganizationInvitation = 'ORGANIZATION_INVITATION',
|
|
715
|
+
}
|
|
716
|
+
|
|
706
717
|
export type ExchangeApiKeyInput = {
|
|
707
718
|
clientId: Scalars['String']['input'];
|
|
708
719
|
clientSecret: Scalars['String']['input'];
|
|
@@ -860,6 +871,7 @@ export type IsAuthorizedPermissionInput = {
|
|
|
860
871
|
};
|
|
861
872
|
|
|
862
873
|
export type LoginInput = {
|
|
874
|
+
emailVerificationProof?: InputMaybe<EmailVerificationProofInput>;
|
|
863
875
|
provider: UserAuthenticationMethodProvider;
|
|
864
876
|
providerData: Scalars['JSON']['input'];
|
|
865
877
|
providerId: Scalars['String']['input'];
|
|
@@ -2372,6 +2384,7 @@ export type RefreshSessionResponse = {
|
|
|
2372
2384
|
};
|
|
2373
2385
|
|
|
2374
2386
|
export type RegisterInput = {
|
|
2387
|
+
emailVerificationProof?: InputMaybe<EmailVerificationProofInput>;
|
|
2375
2388
|
provider: UserAuthenticationMethodProvider;
|
|
2376
2389
|
providerData: Scalars['JSON']['input'];
|
|
2377
2390
|
providerId: Scalars['String']['input'];
|
|
@@ -3044,6 +3057,7 @@ export type UpdateOrganizationInput = {
|
|
|
3044
3057
|
|
|
3045
3058
|
export type UpdateOrganizationInvitationInput = {
|
|
3046
3059
|
acceptedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3060
|
+
emailVerificationProofTokenHash?: InputMaybe<Scalars['String']['input']>;
|
|
3047
3061
|
expiresAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3048
3062
|
invitedAt?: InputMaybe<Scalars['Date']['input']>;
|
|
3049
3063
|
status?: InputMaybe<OrganizationInvitationStatus>;
|