Introduce pkg/mail.Addr

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2025-12-12 15:32:46 +01:00
parent cab9d6f2ed
commit c0b2a5702d
85 changed files with 842 additions and 646 deletions

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<31b0b8ac2c59ccf3addd4508d56bd166>>
* @generated SignedSource<<b1826b0f39e35064b4f2c8bc9691f63a>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -12,7 +12,7 @@ import { ConcreteRequest } from 'relay-runtime';
export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER";
export type InviteUserInput = {
createPeople: boolean;
email: string;
email: any;
fullName: string;
organizationId: string;
role: MembershipRole;
@@ -27,7 +27,7 @@ export type InviteUserDialogMutation$data = {
readonly node: {
readonly acceptedAt: any | null | undefined;
readonly createdAt: any;
readonly email: string;
readonly email: any;
readonly expiresAt: any;
readonly fullName: string;
readonly id: string;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<9b84adc0253186c6f0a5f47837d83d7f>>
* @generated SignedSource<<f9018169cee4d71768fca395e5dd59a9>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,7 +11,7 @@
import { ConcreteRequest } from 'relay-runtime';
export type BulkExportDocumentsInput = {
documentIds: ReadonlyArray<string>;
watermarkEmail?: string | null | undefined;
watermarkEmail?: any | null | undefined;
withSignatures: boolean;
withWatermark: boolean;
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<e263259b92f7b1fe14bca5fca49b20bf>>
* @generated SignedSource<<5175c19e84ee71ec4a3e9e35e515991e>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -15,14 +15,14 @@ export type PeopleGraphNodeQuery$variables = {
};
export type PeopleGraphNodeQuery$data = {
readonly node: {
readonly additionalEmailAddresses?: ReadonlyArray<string>;
readonly additionalEmailAddresses?: ReadonlyArray<any>;
readonly contractEndDate?: any | null | undefined;
readonly contractStartDate?: any | null | undefined;
readonly fullName?: string;
readonly id?: string;
readonly kind?: PeopleKind;
readonly position?: string | null | undefined;
readonly primaryEmailAddress?: string;
readonly primaryEmailAddress?: any;
};
};
export type PeopleGraphNodeQuery = {

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<940911e0b7ae1ffe53a31f98216dcfe6>>
* @generated SignedSource<<336b3e8036d321c95981b2d15c0b41b9>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -17,14 +17,14 @@ export type PeopleGraphPaginatedFragment$data = {
readonly __id: string;
readonly edges: ReadonlyArray<{
readonly node: {
readonly additionalEmailAddresses: ReadonlyArray<string>;
readonly additionalEmailAddresses: ReadonlyArray<any>;
readonly contractEndDate: any | null | undefined;
readonly contractStartDate: any | null | undefined;
readonly fullName: string;
readonly id: string;
readonly kind: PeopleKind;
readonly position: string | null | undefined;
readonly primaryEmailAddress: string;
readonly primaryEmailAddress: any;
};
}>;
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<3b196ff5779051fcd1ed9cca6b7be112>>
* @generated SignedSource<<8d8fcf4db72f5417db8a4f32129a687a>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -23,7 +23,7 @@ export type PeopleGraphQuery$data = {
readonly node: {
readonly fullName: string;
readonly id: string;
readonly primaryEmailAddress: string;
readonly primaryEmailAddress: any;
};
}>;
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<a91a49863ad5c692ae869d3bcc0584cb>>
* @generated SignedSource<<904f3388abab4e5e84dddf0528530a46>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,14 +11,14 @@
import { ConcreteRequest } from 'relay-runtime';
export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
export type UpdatePeopleInput = {
additionalEmailAddresses?: ReadonlyArray<string> | null | undefined;
additionalEmailAddresses?: ReadonlyArray<any> | null | undefined;
contractEndDate?: any | null | undefined;
contractStartDate?: any | null | undefined;
fullName?: string | null | undefined;
id: string;
kind?: PeopleKind | null | undefined;
position?: string | null | undefined;
primaryEmailAddress?: string | null | undefined;
primaryEmailAddress?: any | null | undefined;
};
export type PeopleGraphUpdateMutation$variables = {
input: UpdatePeopleInput;
@@ -26,14 +26,14 @@ export type PeopleGraphUpdateMutation$variables = {
export type PeopleGraphUpdateMutation$data = {
readonly updatePeople: {
readonly people: {
readonly additionalEmailAddresses: ReadonlyArray<string>;
readonly additionalEmailAddresses: ReadonlyArray<any>;
readonly contractEndDate: any | null | undefined;
readonly contractStartDate: any | null | undefined;
readonly fullName: string;
readonly id: string;
readonly kind: PeopleKind;
readonly position: string | null | undefined;
readonly primaryEmailAddress: string;
readonly primaryEmailAddress: any;
};
};
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<271260153dc611541b234266fbdd0c74>>
* @generated SignedSource<<213636cdb170859b30c372b29ddbf752>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,7 +11,7 @@
import { ConcreteRequest } from 'relay-runtime';
export type CreateTrustCenterAccessInput = {
active: boolean;
email: string;
email: any;
name: string;
trustCenterId: string;
};
@@ -27,7 +27,7 @@ export type TrustCenterAccessGraphCreateMutation$data = {
readonly active: boolean;
readonly activeCount: number;
readonly createdAt: any;
readonly email: string;
readonly email: any;
readonly hasAcceptedNonDisclosureAgreement: boolean;
readonly id: string;
readonly lastTokenExpiresAt: any | null | undefined;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<4d6afeeeed479773202c8516eeb63620>>
* @generated SignedSource<<3c70b46fb46bf10a48eb06a5e76c1d75>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -31,7 +31,7 @@ export type TrustCenterAccessGraphUpdateMutation$data = {
readonly active: boolean;
readonly activeCount: number;
readonly createdAt: any;
readonly email: string;
readonly email: any;
readonly hasAcceptedNonDisclosureAgreement: boolean;
readonly id: string;
readonly lastTokenExpiresAt: any | null | undefined;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<a3da155281753945ab0645a04f0b74fb>>
* @generated SignedSource<<5b0e12ba40232dd4328c0fd766513fb2>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -19,7 +19,7 @@ export type TrustCenterAccessGraph_accesses$data = {
readonly active: boolean;
readonly activeCount: number;
readonly createdAt: any;
readonly email: string;
readonly email: any;
readonly hasAcceptedNonDisclosureAgreement: boolean;
readonly id: string;
readonly lastTokenExpiresAt: any | null | undefined;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<626f9dd0bec23ddd103042d53539363a>>
* @generated SignedSource<<abb20ee18aca56681898a0390db03bfc>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -21,7 +21,7 @@ export type EmployeeLayoutQuery$data = {
readonly viewer: {
readonly id: string;
readonly user: {
readonly email: string;
readonly email: any;
readonly fullName: string;
};
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<b7983d3d3c089aa0efebaab639de76fb>>
* @generated SignedSource<<5e4ec3cfaeb52bc478d496e37349880c>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -21,7 +21,7 @@ export type MainLayoutQuery$data = {
readonly viewer: {
readonly id: string;
readonly user: {
readonly email: string;
readonly email: any;
readonly fullName: string;
};
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<f860e097afe4111c629ecf78d873a84e>>
* @generated SignedSource<<3a082179d9ea9d47824b7ee925418b95>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,7 +11,7 @@
import { ConcreteRequest } from 'relay-runtime';
export type ExportDocumentVersionPDFInput = {
documentVersionId: string;
watermarkEmail?: string | null | undefined;
watermarkEmail?: any | null | undefined;
withSignatures: boolean;
withWatermark: boolean;
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<c1a6e41382db3951401d70c039c49f01>>
* @generated SignedSource<<b5ef7f2a5ceb3688743c82362f625a55>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -13,7 +13,7 @@ export type DocumentDetailPageUserEmailQuery$variables = Record<PropertyKey, nev
export type DocumentDetailPageUserEmailQuery$data = {
readonly viewer: {
readonly user: {
readonly email: string;
readonly email: any;
};
};
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<7ff59bf602dca8eafe0a671cb7e95aad>>
* @generated SignedSource<<959a59c16a4d27856820501f80379429>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -13,7 +13,7 @@ export type DocumentsPageUserEmailQuery$variables = Record<PropertyKey, never>;
export type DocumentsPageUserEmailQuery$data = {
readonly viewer: {
readonly user: {
readonly email: string;
readonly email: any;
};
};
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<e3ddbde4beb849447cb819f8991245a7>>
* @generated SignedSource<<7d45f232043aa77c8e1e4ae7f8f330db>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -17,7 +17,7 @@ export type DocumentSignaturesTab_signature$data = {
readonly signedAt: any | null | undefined;
readonly signedBy: {
readonly fullName: string;
readonly primaryEmailAddress: string;
readonly primaryEmailAddress: any;
};
readonly state: DocumentVersionSignatureState;
readonly " $fragmentType": "DocumentSignaturesTab_signature";

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<328e9d55b6661d3330cb961426393d6f>>
* @generated SignedSource<<807a8f8c5c320dadd6b9672ef48583f2>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -22,7 +22,7 @@ export type DocumentSignaturesTab_version$data = {
readonly signedBy: {
readonly fullName: string;
readonly id: string;
readonly primaryEmailAddress: string;
readonly primaryEmailAddress: any;
};
readonly state: DocumentVersionSignatureState;
readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_signature">;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<cf446d4f8991b5ff332b3d81174c3247>>
* @generated SignedSource<<22054346a606e1ce4a26b02218f87af9>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,14 +11,14 @@
import { ConcreteRequest } from 'relay-runtime';
export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
export type CreatePeopleInput = {
additionalEmailAddresses?: ReadonlyArray<string> | null | undefined;
additionalEmailAddresses?: ReadonlyArray<any> | null | undefined;
contractEndDate?: any | null | undefined;
contractStartDate?: any | null | undefined;
fullName: string;
kind: PeopleKind;
organizationId: string;
position?: string | null | undefined;
primaryEmailAddress: string;
primaryEmailAddress: any;
};
export type CreatePeopleDialogMutation$variables = {
connections: ReadonlyArray<string>;
@@ -28,12 +28,12 @@ export type CreatePeopleDialogMutation$data = {
readonly createPeople: {
readonly peopleEdge: {
readonly node: {
readonly additionalEmailAddresses: ReadonlyArray<string>;
readonly additionalEmailAddresses: ReadonlyArray<any>;
readonly fullName: string;
readonly id: string;
readonly kind: PeopleKind;
readonly position: string | null | undefined;
readonly primaryEmailAddress: string;
readonly primaryEmailAddress: any;
};
};
};

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<dd7d5d34935f87fcfb658ca6cfc5e794>>
* @generated SignedSource<<e3763975ef1132c3e2f909019b6cd98c>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -20,7 +20,7 @@ export type MembersSettingsTabInvitationsFragment$data = {
readonly node: {
readonly acceptedAt: any | null | undefined;
readonly createdAt: any;
readonly email: string;
readonly email: any;
readonly expiresAt: any;
readonly fullName: string;
readonly id: string;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<c3bf3676d3f8688315fc342efcf54547>>
* @generated SignedSource<<21ae595420b0098920e8d7f28834c7af>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -20,7 +20,7 @@ export type MembersSettingsTabMembershipsFragment$data = {
readonly node: {
readonly authMethod: UserAuthMethod;
readonly createdAt: any;
readonly emailAddress: string;
readonly emailAddress: any;
readonly fullName: string;
readonly id: string;
readonly role: MembershipRole;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<843a80b3503ff276081e69b558dcce81>>
* @generated SignedSource<<ac1551146f55ada33ee647ca3985d467>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,7 +11,7 @@
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type CreateVendorContactInput = {
email?: string | null | undefined;
email?: any | null | undefined;
fullName?: string | null | undefined;
phone?: string | null | undefined;
role?: string | null | undefined;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<d22f20fafedcdddc50cd21917a8a5c28>>
* @generated SignedSource<<00c307339357baa16c237c563b8f32bd>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -11,7 +11,7 @@
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type UpdateVendorContactInput = {
email?: string | null | undefined;
email?: any | null | undefined;
fullName?: string | null | undefined;
id: string;
phone?: string | null | undefined;

View File

@@ -1,5 +1,5 @@
/**
* @generated SignedSource<<28eef433ba6749a95468492e8ac9d1a6>>
* @generated SignedSource<<8020981cbf1e1b2b59c3ae9027973b17>>
* @lightSyntaxTransform
* @nogrep
*/
@@ -12,7 +12,7 @@ import { ReaderFragment } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type VendorContactsTabFragment_contact$data = {
readonly createdAt: any;
readonly email: string | null | undefined;
readonly email: any | null | undefined;
readonly fullName: string | null | undefined;
readonly id: string;
readonly phone: string | null | undefined;