diff --git a/specifyweb/frontend/js_src/lib/components/DataModel/schemaOverrides.ts b/specifyweb/frontend/js_src/lib/components/DataModel/schemaOverrides.ts index 971f4f33524..5dcc590fb60 100644 --- a/specifyweb/frontend/js_src/lib/components/DataModel/schemaOverrides.ts +++ b/specifyweb/frontend/js_src/lib/components/DataModel/schemaOverrides.ts @@ -93,6 +93,8 @@ const tableOverwrites: Partial> = { TaxonTreeDefItem: 'system', TectonicUnitTreeDef: 'system', TectonicUnitTreeDefItem: 'system', + DrainageTreeDef: 'system', + DrainageTreeDefItem: 'system', }; // These field overrides apply to entire front-end @@ -161,6 +163,12 @@ const globalFieldOverrides: { acceptedTectonicUnit: { visibility: 'readOnly' }, fullName: { visibility: 'readOnly' }, }, + Drainage: { + parent: { visibility: 'required' }, + isAccepted: { visibility: 'readOnly' }, + acceptedDrainage: { visibility: 'readOnly' }, + fullName: { visibility: 'readOnly' }, + }, Storage: { parent: { visibility: 'required' }, isAccepted: { visibility: 'readOnly' }, @@ -207,6 +215,12 @@ const globalFieldOverrides: { LithoStratTreeDefItem: { fullNameSeparator: { whiteSpaceSensitive: true }, }, + DrainageTreeDef: { + fullNameDirection: { visibility: 'readOnly' }, + }, + DrainageTreeDefItem: { + fullNameSeparator: { whiteSpaceSensitive: true }, + }, }; /* diff --git a/specifyweb/frontend/js_src/lib/components/DataModel/types.ts b/specifyweb/frontend/js_src/lib/components/DataModel/types.ts index 07ff83cdde8..149012ef08c 100644 --- a/specifyweb/frontend/js_src/lib/components/DataModel/types.ts +++ b/specifyweb/frontend/js_src/lib/components/DataModel/types.ts @@ -21,6796 +21,4 @@ /* Autogenerated code: */ import type { RA, RR } from '../../utils/types'; -export type Tables = { - readonly Accession: Accession; - readonly AccessionAgent: AccessionAgent; - readonly AccessionAttachment: AccessionAttachment; - readonly AccessionAuthorization: AccessionAuthorization; - readonly AccessionCitation: AccessionCitation; - readonly Address: Address; - readonly AddressOfRecord: AddressOfRecord; - readonly Agent: Agent; - readonly AgentAttachment: AgentAttachment; - readonly AgentGeography: AgentGeography; - readonly AgentIdentifier: AgentIdentifier; - readonly AgentSpecialty: AgentSpecialty; - readonly AgentVariant: AgentVariant; - readonly Appraisal: Appraisal; - readonly Attachment: Attachment; - readonly AttachmentImageAttribute: AttachmentImageAttribute; - readonly AttachmentMetadata: AttachmentMetadata; - readonly AttachmentTag: AttachmentTag; - readonly AttributeDef: AttributeDef; - readonly Author: Author; - readonly AutoNumberingScheme: AutoNumberingScheme; - readonly Borrow: Borrow; - readonly BorrowAgent: BorrowAgent; - readonly BorrowAttachment: BorrowAttachment; - readonly BorrowMaterial: BorrowMaterial; - readonly BorrowReturnMaterial: BorrowReturnMaterial; - readonly CollectingEvent: CollectingEvent; - readonly CollectingEventAttachment: CollectingEventAttachment; - readonly CollectingEventAttr: CollectingEventAttr; - readonly CollectingEventAttribute: CollectingEventAttribute; - readonly CollectingEventAuthorization: CollectingEventAuthorization; - readonly CollectingTrip: CollectingTrip; - readonly CollectingTripAttachment: CollectingTripAttachment; - readonly CollectingTripAttribute: CollectingTripAttribute; - readonly CollectingTripAuthorization: CollectingTripAuthorization; - readonly Collection: Collection; - readonly CollectionObject: CollectionObject; - readonly CollectionObjectAttachment: CollectionObjectAttachment; - readonly CollectionObjectAttr: CollectionObjectAttr; - readonly CollectionObjectAttribute: CollectionObjectAttribute; - readonly CollectionObjectCitation: CollectionObjectCitation; - readonly CollectionObjectProperty: CollectionObjectProperty; - readonly CollectionRelType: CollectionRelType; - readonly CollectionRelationship: CollectionRelationship; - readonly Collector: Collector; - readonly CommonNameTx: CommonNameTx; - readonly CommonNameTxCitation: CommonNameTxCitation; - readonly ConservDescription: ConservDescription; - readonly ConservDescriptionAttachment: ConservDescriptionAttachment; - readonly ConservEvent: ConservEvent; - readonly ConservEventAttachment: ConservEventAttachment; - readonly Container: Container; - readonly DNAPrimer: DNAPrimer; - readonly DNASequence: DNASequence; - readonly DNASequenceAttachment: DNASequenceAttachment; - readonly DNASequencingRun: DNASequencingRun; - readonly DNASequencingRunAttachment: DNASequencingRunAttachment; - readonly DNASequencingRunCitation: DNASequencingRunCitation; - readonly DataType: DataType; - readonly Deaccession: Deaccession; - readonly DeaccessionAgent: DeaccessionAgent; - readonly DeaccessionAttachment: DeaccessionAttachment; - readonly Determination: Determination; - readonly DeterminationCitation: DeterminationCitation; - readonly Determiner: Determiner; - readonly Discipline: Discipline; - readonly Disposal: Disposal; - readonly DisposalAgent: DisposalAgent; - readonly DisposalAttachment: DisposalAttachment; - readonly DisposalPreparation: DisposalPreparation; - readonly Division: Division; - readonly ExchangeIn: ExchangeIn; - readonly ExchangeInAttachment: ExchangeInAttachment; - readonly ExchangeInPrep: ExchangeInPrep; - readonly ExchangeOut: ExchangeOut; - readonly ExchangeOutAttachment: ExchangeOutAttachment; - readonly ExchangeOutPrep: ExchangeOutPrep; - readonly Exsiccata: Exsiccata; - readonly ExsiccataItem: ExsiccataItem; - readonly Extractor: Extractor; - readonly FieldNotebook: FieldNotebook; - readonly FieldNotebookAttachment: FieldNotebookAttachment; - readonly FieldNotebookPage: FieldNotebookPage; - readonly FieldNotebookPageAttachment: FieldNotebookPageAttachment; - readonly FieldNotebookPageSet: FieldNotebookPageSet; - readonly FieldNotebookPageSetAttachment: FieldNotebookPageSetAttachment; - readonly FundingAgent: FundingAgent; - readonly GeoCoordDetail: GeoCoordDetail; - readonly Geography: Geography; - readonly GeographyTreeDef: GeographyTreeDef; - readonly GeographyTreeDefItem: GeographyTreeDefItem; - readonly GeologicTimePeriod: GeologicTimePeriod; - readonly GeologicTimePeriodTreeDef: GeologicTimePeriodTreeDef; - readonly GeologicTimePeriodTreeDefItem: GeologicTimePeriodTreeDefItem; - readonly Gift: Gift; - readonly GiftAgent: GiftAgent; - readonly GiftAttachment: GiftAttachment; - readonly GiftPreparation: GiftPreparation; - readonly GroupPerson: GroupPerson; - readonly InfoRequest: InfoRequest; - readonly Institution: Institution; - readonly InstitutionNetwork: InstitutionNetwork; - readonly Journal: Journal; - readonly LatLonPolygon: LatLonPolygon; - readonly LatLonPolygonPnt: LatLonPolygonPnt; - readonly LithoStrat: LithoStrat; - readonly LithoStratTreeDef: LithoStratTreeDef; - readonly LithoStratTreeDefItem: LithoStratTreeDefItem; - readonly Loan: Loan; - readonly LoanAgent: LoanAgent; - readonly LoanAttachment: LoanAttachment; - readonly LoanPreparation: LoanPreparation; - readonly LoanReturnPreparation: LoanReturnPreparation; - readonly Locality: Locality; - readonly LocalityAttachment: LocalityAttachment; - readonly LocalityCitation: LocalityCitation; - readonly LocalityDetail: LocalityDetail; - readonly LocalityNameAlias: LocalityNameAlias; - readonly MaterialSample: MaterialSample; - readonly MorphBankView: MorphBankView; - readonly OtherIdentifier: OtherIdentifier; - readonly PaleoContext: PaleoContext; - readonly PcrPerson: PcrPerson; - readonly Permit: Permit; - readonly PermitAttachment: PermitAttachment; - readonly PickList: PickList; - readonly PickListItem: PickListItem; - readonly PrepType: PrepType; - readonly Preparation: Preparation; - readonly PreparationAttachment: PreparationAttachment; - readonly PreparationAttr: PreparationAttr; - readonly PreparationAttribute: PreparationAttribute; - readonly PreparationProperty: PreparationProperty; - readonly Project: Project; - readonly RecordSet: RecordSet; - readonly RecordSetItem: RecordSetItem; - readonly ReferenceWork: ReferenceWork; - readonly ReferenceWorkAttachment: ReferenceWorkAttachment; - readonly RepositoryAgreement: RepositoryAgreement; - readonly RepositoryAgreementAttachment: RepositoryAgreementAttachment; - readonly Shipment: Shipment; - readonly SpAppResource: SpAppResource; - readonly SpAppResourceData: SpAppResourceData; - readonly SpAppResourceDir: SpAppResourceDir; - readonly SpAuditLog: SpAuditLog; - readonly SpAuditLogField: SpAuditLogField; - readonly SpExportSchema: SpExportSchema; - readonly SpExportSchemaItem: SpExportSchemaItem; - readonly SpExportSchemaItemMapping: SpExportSchemaItemMapping; - readonly SpExportSchemaMapping: SpExportSchemaMapping; - readonly SpFieldValueDefault: SpFieldValueDefault; - readonly SpLocaleContainer: SpLocaleContainer; - readonly SpLocaleContainerItem: SpLocaleContainerItem; - readonly SpLocaleItemStr: SpLocaleItemStr; - readonly SpPermission: SpPermission; - readonly SpPrincipal: SpPrincipal; - readonly SpQuery: SpQuery; - readonly SpQueryField: SpQueryField; - readonly SpReport: SpReport; - readonly SpSymbiotaInstance: SpSymbiotaInstance; - readonly SpTaskSemaphore: SpTaskSemaphore; - readonly SpVersion: SpVersion; - readonly SpViewSetObj: SpViewSetObj; - readonly SpVisualQuery: SpVisualQuery; - readonly SpecifyUser: SpecifyUser; - readonly Storage: Storage; - readonly StorageAttachment: StorageAttachment; - readonly StorageTreeDef: StorageTreeDef; - readonly StorageTreeDefItem: StorageTreeDefItem; - readonly Taxon: Taxon; - readonly TaxonAttachment: TaxonAttachment; - readonly TaxonAttribute: TaxonAttribute; - readonly TaxonCitation: TaxonCitation; - readonly TaxonTreeDef: TaxonTreeDef; - readonly TaxonTreeDefItem: TaxonTreeDefItem; - readonly TreatmentEvent: TreatmentEvent; - readonly TreatmentEventAttachment: TreatmentEventAttachment; - readonly VoucherRelationship: VoucherRelationship; - readonly Workbench: Workbench; - readonly WorkbenchDataItem: WorkbenchDataItem; - readonly WorkbenchRow: WorkbenchRow; - readonly WorkbenchRowExportedRelationship: WorkbenchRowExportedRelationship; - readonly WorkbenchRowImage: WorkbenchRowImage; - readonly WorkbenchTemplate: WorkbenchTemplate; - readonly WorkbenchTemplateMappingItem: WorkbenchTemplateMappingItem; - readonly Spuserexternalid: Spuserexternalid; - readonly Spattachmentdataset: Spattachmentdataset; - readonly UniquenessRule: UniquenessRule; - readonly UniquenessRuleField: UniquenessRuleField; - readonly Message: Message; - readonly Spmerging: Spmerging; - readonly LocalityUpdate: LocalityUpdate; - readonly LocalityUpdateRowResult: LocalityUpdateRowResult; - readonly UserPolicy: UserPolicy; - readonly Role: Role; - readonly LibraryRole: LibraryRole; - readonly UserRole: UserRole; - readonly RolePolicy: RolePolicy; - readonly LibraryRolePolicy: LibraryRolePolicy; - readonly Spdataset: Spdataset; - readonly CollectionObjectType: CollectionObjectType; - readonly CollectionObjectGroup: CollectionObjectGroup; - readonly CollectionObjectGroupJoin: CollectionObjectGroupJoin; - readonly CollectionObjectGroupType: CollectionObjectGroupType; - readonly AbsoluteAge: AbsoluteAge; - readonly RelativeAge: RelativeAge; - readonly AbsoluteAgeAttachment: AbsoluteAgeAttachment; - readonly RelativeAgeAttachment: RelativeAgeAttachment; - readonly AbsoluteAgeCitation: AbsoluteAgeCitation; - readonly RelativeAgeCitation: RelativeAgeCitation; - readonly TectonicUnitTreeDef: TectonicUnitTreeDef; - readonly TectonicUnitTreeDefItem: TectonicUnitTreeDefItem; - readonly TectonicUnit: TectonicUnit; -}; -export type Accession = { - readonly tableName: 'Accession'; - readonly fields: { - readonly accessionNumber: string; - readonly accessionCondition: string | null; - readonly dateAccessioned: string | null; - readonly actualTotalCountAmt: number | null; - readonly collectionObjectCount: number | null; - readonly dateAcknowledged: string | null; - readonly remarks: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly preparationCount: number | null; - readonly dateReceived: string | null; - readonly status: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly totalCountAmt: number | null; - readonly totalValue: number | null; - readonly type: string | null; - readonly verbatimDate: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly division: Division; - readonly modifiedByAgent: Agent | null; - readonly repositoryAgreement: RepositoryAgreement | null; - }; - readonly toManyDependent: { - readonly accessionAgents: RA; - readonly accessionAttachments: RA; - readonly accessionAuthorizations: RA; - }; - readonly toManyIndependent: { - readonly accessionCitations: RA; - readonly appraisals: RA; - readonly collectionObjects: RA; - readonly treatmentEvents: RA; - }; -}; -export type AccessionAgent = { - readonly tableName: 'AccessionAgent'; - readonly fields: { - readonly remarks: string | null; - readonly role: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly accession: Accession | null; - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly repositoryAgreement: RepositoryAgreement | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AccessionAttachment = { - readonly tableName: 'AccessionAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly accession: Accession; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AccessionAuthorization = { - readonly tableName: 'AccessionAuthorization'; - readonly fields: { - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly accession: Accession | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly permit: Permit; - readonly repositoryAgreement: RepositoryAgreement | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AccessionCitation = { - readonly tableName: 'AccessionCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly accession: Accession; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Address = { - readonly tableName: 'Address'; - readonly fields: { - readonly address: string | null; - readonly address2: string | null; - readonly address3: string | null; - readonly address4: string | null; - readonly address5: string | null; - readonly city: string | null; - readonly country: string | null; - readonly endDate: string | null; - readonly fax: string | null; - readonly isCurrent: boolean | null; - readonly isPrimary: boolean | null; - readonly isShipping: boolean | null; - readonly ordinal: number | null; - readonly phone1: string | null; - readonly phone2: string | null; - readonly positionHeld: string | null; - readonly postalCode: string | null; - readonly remarks: string | null; - readonly roomOrBuilding: string | null; - readonly startDate: string | null; - readonly state: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly typeOfAddr: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly divisions: RA; - readonly insitutions: RA; - }; -}; -export type AddressOfRecord = { - readonly tableName: 'AddressOfRecord'; - readonly fields: { - readonly address: string | null; - readonly address2: string | null; - readonly city: string | null; - readonly country: string | null; - readonly postalCode: string | null; - readonly remarks: string | null; - readonly state: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly accessions: RA; - readonly borrow: RA; - readonly exchangeIns: RA; - readonly exchangeOuts: RA; - readonly loans: RA; - readonly repositoryAgreements: RA; - }; -}; -export type Agent = { - readonly tableName: 'Agent'; - readonly fields: { - readonly abbreviation: string | null; - readonly agentType: number; - readonly dateOfBirth: string | null; - readonly dateOfBirthPrecision: number | null; - readonly dateOfDeath: string | null; - readonly dateOfDeathPrecision: number | null; - readonly dateType: number | null; - readonly date1: string | null; - readonly date2: string | null; - readonly date1Precision: number | null; - readonly date2Precision: number | null; - readonly email: string | null; - readonly firstName: string | null; - readonly guid: string | null; - readonly initials: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly jobTitle: string | null; - readonly lastName: string | null; - readonly middleInitial: string | null; - readonly interests: string | null; - readonly remarks: string | null; - readonly suffix: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly url: string | null; - readonly verbatimDate1: string | null; - readonly verbatimDate2: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collContentContact: Collection | null; - readonly collTechContact: Collection | null; - readonly createdByAgent: Agent | null; - readonly division: Division | null; - readonly instContentContact: Institution | null; - readonly instTechContact: Institution | null; - readonly modifiedByAgent: Agent | null; - readonly organization: Agent | null; - readonly specifyUser: SpecifyUser | null; - }; - readonly toManyDependent: { - readonly addresses: RA
; - readonly agentAttachments: RA; - readonly agentGeographies: RA; - readonly agentSpecialties: RA; - readonly identifiers: RA; - readonly groups: RA; - readonly variants: RA; - }; - readonly toManyIndependent: { - readonly catalogerOf: RA; - readonly collectors: RA; - readonly members: RA; - readonly orgMembers: RA; - }; -}; -export type AgentAttachment = { - readonly tableName: 'AgentAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AgentGeography = { - readonly tableName: 'AgentGeography'; - readonly fields: { - readonly remarks: string | null; - readonly role: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly geography: Geography; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AgentIdentifier = { - readonly tableName: 'AgentIdentifier'; - readonly fields: { - readonly date1: string | null; - readonly date1Precision: number | null; - readonly date2: string | null; - readonly date2Precision: number | null; - readonly identifier: string; - readonly identifierType: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AgentSpecialty = { - readonly tableName: 'AgentSpecialty'; - readonly fields: { - readonly orderNumber: number; - readonly specialtyName: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AgentVariant = { - readonly tableName: 'AgentVariant'; - readonly fields: { - readonly country: string | null; - readonly language: string | null; - readonly name: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly varType: number; - readonly variant: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Appraisal = { - readonly tableName: 'Appraisal'; - readonly fields: { - readonly appraisalDate: string; - readonly appraisalNumber: string; - readonly appraisalValue: number | null; - readonly monetaryUnitType: string | null; - readonly notes: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly accession: Accession | null; - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectionObjects: RA; - }; -}; -export type Attachment = { - readonly tableName: 'Attachment'; - readonly fields: { - readonly attachmentLocation: string | null; - readonly attachmentStorageConfig: string | null; - readonly captureDevice: string | null; - readonly copyrightDate: string | null; - readonly copyrightHolder: string | null; - readonly credit: string | null; - readonly dateImaged: string | null; - readonly fileCreatedDate: string | null; - readonly guid: string | null; - readonly isPublic: boolean; - readonly license: string | null; - readonly licenseLogoUrl: string | null; - readonly metadataText: string | null; - readonly mimeType: string | null; - readonly origFilename: string; - readonly remarks: string | null; - readonly scopeID: number | null; - readonly scopeType: number | null; - readonly subjectOrientation: string | null; - readonly subtype: string | null; - readonly tableID: number | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly type: string | null; - readonly version: number | null; - readonly visibility: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly attachmentImageAttribute: AttachmentImageAttribute | null; - readonly createdByAgent: Agent | null; - readonly creator: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly visibilitySetBy: SpecifyUser | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly accessionAttachments: RA; - readonly agentAttachments: RA; - readonly borrowAttachments: RA; - readonly collectingEventAttachments: RA; - readonly collectingTripAttachments: RA; - readonly collectionObjectAttachments: RA; - readonly conservDescriptionAttachments: RA; - readonly conservEventAttachments: RA; - readonly deaccessionAttachments: RA; - readonly disposalAttachments: RA; - readonly dnaSequenceAttachments: RA; - readonly dnaSequencingRunAttachments: RA; - readonly exchangeInAttachments: RA; - readonly exchangeOutAttachments: RA; - readonly fieldNotebookAttachments: RA; - readonly fieldNotebookPageAttachments: RA; - readonly fieldNotebookPageSetAttachments: RA; - readonly giftAttachments: RA; - readonly loanAttachments: RA; - readonly localityAttachments: RA; - readonly metadata: RA; - readonly permitAttachments: RA; - readonly preparationAttachments: RA; - readonly referenceWorkAttachments: RA; - readonly repositoryAgreementAttachments: RA; - readonly storageAttachments: RA; - readonly tags: RA; - readonly taxonAttachments: RA; - readonly treatmentEventAttachments: RA; - }; -}; -export type AttachmentImageAttribute = { - readonly tableName: 'AttachmentImageAttribute'; - readonly fields: { - readonly creativeCommons: string | null; - readonly height: number | null; - readonly imageType: string | null; - readonly magnification: number | null; - readonly mbImageId: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly remarks: string | null; - readonly resolution: number | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampLastSend: string | null; - readonly timestampLastUpdateCheck: string | null; - readonly timestampModified: string | null; - readonly version: number | null; - readonly viewDescription: string | null; - readonly width: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly morphBankView: MorphBankView | null; - }; - readonly toManyDependent: { readonly attachments: RA }; - readonly toManyIndependent: RR; -}; -export type AttachmentMetadata = { - readonly tableName: 'AttachmentMetadata'; - readonly fields: { - readonly name: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly value: string; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly attachment: Attachment | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AttachmentTag = { - readonly tableName: 'AttachmentTag'; - readonly fields: { - readonly tag: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly attachment: Attachment; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AttributeDef = { - readonly tableName: 'AttributeDef'; - readonly fields: { - readonly dataType: number | null; - readonly fieldName: string | null; - readonly tableType: number | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - readonly prepType: PrepType | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectingEventAttrs: RA; - readonly collectionObjectAttrs: RA; - readonly preparationAttrs: RA; - }; -}; -export type Author = { - readonly tableName: 'Author'; - readonly fields: { - readonly orderNumber: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AutoNumberingScheme = { - readonly tableName: 'AutoNumberingScheme'; - readonly fields: { - readonly formatName: string | null; - readonly isNumericOnly: boolean; - readonly schemeClassName: string | null; - readonly schemeName: string | null; - readonly tableNumber: number; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collections: RA; - readonly disciplines: RA; - readonly divisions: RA; - }; -}; -export type Borrow = { - readonly tableName: 'Borrow'; - readonly fields: { - readonly borrowDate: string | null; - readonly borrowDatePrecision: number | null; - readonly collectionMemberId: number; - readonly currentDueDate: string | null; - readonly dateClosed: string | null; - readonly yesNo1: boolean | null; - readonly invoiceNumber: string; - readonly isClosed: boolean | null; - readonly isFinancialResponsibility: boolean | null; - readonly numberOfItemsBorrowed: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly originalDueDate: string | null; - readonly receivedDate: string | null; - readonly remarks: string | null; - readonly status: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly borrowAgents: RA; - readonly borrowAttachments: RA; - readonly borrowMaterials: RA; - readonly shipments: RA; - }; - readonly toManyIndependent: RR; -}; -export type BorrowAgent = { - readonly tableName: 'BorrowAgent'; - readonly fields: { - readonly collectionMemberId: number; - readonly remarks: string | null; - readonly role: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly borrow: Borrow; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type BorrowAttachment = { - readonly tableName: 'BorrowAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly borrow: Borrow; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type BorrowMaterial = { - readonly tableName: 'BorrowMaterial'; - readonly fields: { - readonly collectionMemberId: number; - readonly inComments: string | null; - readonly materialNumber: string; - readonly outComments: string | null; - readonly quantity: number | null; - readonly quantityResolved: number | null; - readonly quantityReturned: number | null; - readonly description: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly borrow: Borrow; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly borrowReturnMaterials: RA; - }; - readonly toManyIndependent: RR; -}; -export type BorrowReturnMaterial = { - readonly tableName: 'BorrowReturnMaterial'; - readonly fields: { - readonly collectionMemberId: number; - readonly quantity: number | null; - readonly remarks: string | null; - readonly returnedDate: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent | null; - readonly borrowMaterial: BorrowMaterial; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectingEvent = { - readonly tableName: 'CollectingEvent'; - readonly fields: { - readonly startDate: string | null; - readonly endDate: string | null; - readonly endDatePrecision: number | null; - readonly endDateVerbatim: string | null; - readonly endTime: number | null; - readonly stationFieldNumber: string | null; - readonly method: string | null; - readonly guid: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly remarks: string | null; - readonly reservedInteger3: number | null; - readonly reservedInteger4: number | null; - readonly reservedText1: string | null; - readonly reservedText2: string | null; - readonly sgrStatus: number | null; - readonly startDatePrecision: number | null; - readonly startDateVerbatim: string | null; - readonly startTime: number | null; - readonly stationFieldNumberModifier1: string | null; - readonly stationFieldNumberModifier2: string | null; - readonly stationFieldNumberModifier3: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly uniqueIdentifier: string | null; - readonly verbatimDate: string | null; - readonly verbatimLocality: string | null; - readonly version: number | null; - readonly visibility: number | null; - }; - readonly toOneDependent: { - readonly collectingEventAttribute: CollectingEventAttribute | null; - }; - readonly toOneIndependent: { - readonly collectingTrip: CollectingTrip | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly locality: Locality | null; - readonly modifiedByAgent: Agent | null; - readonly paleoContext: PaleoContext | null; - readonly visibilitySetBy: SpecifyUser | null; - }; - readonly toManyDependent: { - readonly collectingEventAttachments: RA; - readonly collectingEventAttrs: RA; - readonly collectingEventAuthorizations: RA; - readonly collectors: RA; - }; - readonly toManyIndependent: { - readonly collectionObjects: RA; - }; -}; -export type CollectingEventAttachment = { - readonly tableName: 'CollectingEventAttachment'; - readonly fields: { - readonly collectionMemberId: number; - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly collectingEvent: CollectingEvent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectingEventAttr = { - readonly tableName: 'CollectingEventAttr'; - readonly fields: { - readonly collectionMemberId: number; - readonly dblValue: number | null; - readonly strValue: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectingEvent: CollectingEvent; - readonly createdByAgent: Agent | null; - readonly definition: AttributeDef; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectingEventAttribute = { - readonly tableName: 'CollectingEventAttribute'; - readonly fields: { - readonly text8: string | null; - readonly text5: string | null; - readonly text4: string | null; - readonly text9: string | null; - readonly integer1: number | null; - readonly integer10: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly integer6: number | null; - readonly integer7: number | null; - readonly integer8: number | null; - readonly integer9: number | null; - readonly number12: number | null; - readonly number13: number | null; - readonly number1: number | null; - readonly number10: number | null; - readonly number11: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly remarks: string | null; - readonly text6: string | null; - readonly text1: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text2: string | null; - readonly text7: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly text12: string | null; - readonly version: number | null; - readonly text3: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly hostTaxon: Taxon | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectingEvents: RA; - }; -}; -export type CollectingEventAuthorization = { - readonly tableName: 'CollectingEventAuthorization'; - readonly fields: { - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectingEvent: CollectingEvent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly permit: Permit; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectingTrip = { - readonly tableName: 'CollectingTrip'; - readonly fields: { - readonly cruise: string | null; - readonly text2: string | null; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly date2: string | null; - readonly date2Precision: number | null; - readonly endDate: string | null; - readonly endDatePrecision: number | null; - readonly endDateVerbatim: string | null; - readonly endTime: number | null; - readonly expedition: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly remarks: string | null; - readonly sponsor: string | null; - readonly startDate: string | null; - readonly startDatePrecision: number | null; - readonly startDateVerbatim: string | null; - readonly startTime: number | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly collectingTripName: string | null; - readonly version: number | null; - readonly text1: string | null; - readonly vessel: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { - readonly collectingTripAttribute: CollectingTripAttribute | null; - }; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly agent2: Agent | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly collectingTripAttachments: RA; - readonly collectingTripAuthorizations: RA; - readonly fundingAgents: RA; - }; - readonly toManyIndependent: { - readonly collectingEvents: RA; - }; -}; -export type CollectingTripAttachment = { - readonly tableName: 'CollectingTripAttachment'; - readonly fields: { - readonly collectionMemberId: number; - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly collectingTrip: CollectingTrip; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectingTripAttribute = { - readonly tableName: 'CollectingTripAttribute'; - readonly fields: { - readonly integer1: number | null; - readonly integer10: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly integer6: number | null; - readonly integer7: number | null; - readonly integer8: number | null; - readonly integer9: number | null; - readonly number1: number | null; - readonly number10: number | null; - readonly number11: number | null; - readonly number12: number | null; - readonly number13: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly collectingTrips: RA }; -}; -export type CollectingTripAuthorization = { - readonly tableName: 'CollectingTripAuthorization'; - readonly fields: { - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectingTrip: CollectingTrip | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly permit: Permit; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Collection = { - readonly tableName: 'Collection'; - readonly fields: { - readonly catalogNumFormatName: string; - readonly code: string | null; - readonly collectionName: string | null; - readonly collectionType: string | null; - readonly dbContentVersion: string | null; - readonly description: string | null; - readonly developmentStatus: string | null; - readonly estimatedSize: number | null; - readonly guid: string | null; - readonly institutionType: string | null; - readonly isEmbeddedCollectingEvent: boolean; - readonly isaNumber: string | null; - readonly kingdomCoverage: string | null; - readonly preservationMethodType: string | null; - readonly primaryFocus: string | null; - readonly primaryPurpose: string | null; - readonly regNumber: string | null; - readonly remarks: string | null; - readonly scope: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly webPortalURI: string | null; - readonly webSiteURI: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly adminContact: Agent | null; - readonly collectionObjectType: CollectionObjectType | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly institutionNetwork: Institution | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectionObjects: RA; - readonly contentContacts: RA; - readonly leftSideRelTypes: RA; - readonly numberingSchemes: RA; - readonly pickLists: RA; - readonly prepTypes: RA; - readonly rightSideRelTypes: RA; - readonly technicalContacts: RA; - readonly userGroups: RA; - }; -}; -export type CollectionObject = { - readonly tableName: 'CollectionObject'; - readonly fields: { - readonly actualTotalCountAmt: number | null; - readonly age: string | null; - readonly availability: string | null; - readonly catalogNumber: string | null; - readonly catalogedDate: string | null; - readonly catalogedDatePrecision: number | null; - readonly catalogedDateVerbatim: string | null; - readonly collectionMemberId: number; - readonly countAmt: number | null; - readonly reservedText: string | null; - readonly timestampModified: string | null; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly deaccessioned: boolean | null; - readonly embargoReason: string | null; - readonly embargoReleaseDate: string | null; - readonly embargoReleaseDatePrecision: number | null; - readonly embargoStartDate: string | null; - readonly embargoStartDatePrecision: number | null; - readonly guid: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly text2: string | null; - readonly inventoryDate: string | null; - readonly inventoryDatePrecision: number | null; - readonly isMemberOfCOG: boolean | null; - readonly modifier: string | null; - readonly name: string | null; - readonly notifications: string | null; - readonly numberOfDuplicates: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly objectCondition: string | null; - readonly ocr: string | null; - readonly altCatalogNumber: string | null; - readonly projectNumber: string | null; - readonly remarks: string | null; - readonly reservedInteger3: number | null; - readonly reservedInteger4: number | null; - readonly reservedText2: string | null; - readonly reservedText3: string | null; - readonly restrictions: string | null; - readonly sgrStatus: number | null; - readonly text1: string | null; - readonly description: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly timestampCreated: string; - readonly totalCountAmt: number | null; - readonly totalValue: number | null; - readonly uniqueIdentifier: string | null; - readonly version: number | null; - readonly visibility: number | null; - readonly fieldNumber: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - readonly yesNo6: boolean | null; - }; - readonly toOneDependent: { - readonly cojo: CollectionObjectGroupJoin | null; - readonly collectionObjectAttribute: CollectionObjectAttribute | null; - }; - readonly toOneIndependent: { - readonly accession: Accession | null; - readonly agent1: Agent | null; - readonly appraisal: Appraisal | null; - readonly cataloger: Agent | null; - readonly collection: Collection; - readonly collectionObjectType: CollectionObjectType; - readonly container: Container | null; - readonly containerOwner: Container | null; - readonly createdByAgent: Agent | null; - readonly currentDetermination: Determination | null; - readonly modifiedByAgent: Agent | null; - readonly embargoAuthority: Agent | null; - readonly collectingEvent: CollectingEvent | null; - readonly fieldNotebookPage: FieldNotebookPage | null; - readonly inventorizedBy: Agent | null; - readonly paleoContext: PaleoContext | null; - readonly visibilitySetBy: SpecifyUser | null; - }; - readonly toManyDependent: { - readonly absoluteAges: RA; - readonly collectionObjectAttachments: RA; - readonly collectionObjectAttrs: RA; - readonly collectionObjectCitations: RA; - readonly collectionObjectProperties: RA; - readonly conservDescriptions: RA; - readonly determinations: RA; - readonly dnaSequences: RA; - readonly exsiccataItems: RA; - readonly leftSideRels: RA; - readonly otherIdentifiers: RA; - readonly preparations: RA; - readonly relativeAges: RA; - readonly rightSideRels: RA; - readonly treatmentEvents: RA; - readonly voucherRelationships: RA; - }; - readonly toManyIndependent: { readonly projects: RA }; -}; -export type CollectionObjectAttachment = { - readonly tableName: 'CollectionObjectAttachment'; - readonly fields: { - readonly collectionMemberId: number; - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionObjectAttr = { - readonly tableName: 'CollectionObjectAttr'; - readonly fields: { - readonly collectionMemberId: number; - readonly dblValue: number | null; - readonly strValue: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly definition: AttributeDef; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionObjectAttribute = { - readonly tableName: 'CollectionObjectAttribute'; - readonly fields: { - readonly bottomDistance: number | null; - readonly collectionMemberId: number; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly direction: string | null; - readonly distanceUnits: string | null; - readonly integer1: number | null; - readonly integer10: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly integer6: number | null; - readonly integer7: number | null; - readonly integer8: number | null; - readonly integer9: number | null; - readonly number12: number | null; - readonly number13: number | null; - readonly number1: number | null; - readonly number10: number | null; - readonly number11: number | null; - readonly number14: number | null; - readonly number15: number | null; - readonly number16: number | null; - readonly number17: number | null; - readonly number18: number | null; - readonly number19: number | null; - readonly number2: number | null; - readonly number20: number | null; - readonly number21: number | null; - readonly number22: number | null; - readonly number23: number | null; - readonly number24: number | null; - readonly number25: number | null; - readonly number26: number | null; - readonly number27: number | null; - readonly number28: number | null; - readonly number29: number | null; - readonly number3: number | null; - readonly number30: number | null; - readonly number31: number | null; - readonly number32: number | null; - readonly number33: number | null; - readonly number34: number | null; - readonly number35: number | null; - readonly number36: number | null; - readonly number37: number | null; - readonly number38: number | null; - readonly number39: number | null; - readonly number4: number | null; - readonly number40: number | null; - readonly number41: number | null; - readonly number42: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text1: string | null; - readonly positionState: string | null; - readonly text10: string | null; - readonly remarks: string | null; - readonly text8: string | null; - readonly text11: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text18: string | null; - readonly text19: string | null; - readonly text20: string | null; - readonly text21: string | null; - readonly text22: string | null; - readonly text23: string | null; - readonly text24: string | null; - readonly text25: string | null; - readonly text26: string | null; - readonly text27: string | null; - readonly text28: string | null; - readonly text29: string | null; - readonly text3: string | null; - readonly text30: string | null; - readonly text31: string | null; - readonly text32: string | null; - readonly text33: string | null; - readonly text34: string | null; - readonly text35: string | null; - readonly text36: string | null; - readonly text37: string | null; - readonly text38: string | null; - readonly text39: string | null; - readonly text4: string | null; - readonly text40: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly text12: string | null; - readonly topDistance: number | null; - readonly version: number | null; - readonly text2: string | null; - readonly yesNo1: boolean | null; - readonly yesNo10: boolean | null; - readonly yesNo11: boolean | null; - readonly yesNo12: boolean | null; - readonly yesNo13: boolean | null; - readonly yesNo14: boolean | null; - readonly yesNo15: boolean | null; - readonly yesNo16: boolean | null; - readonly yesNo17: boolean | null; - readonly yesNo18: boolean | null; - readonly yesNo19: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo20: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - readonly yesNo6: boolean | null; - readonly yesNo7: boolean | null; - readonly yesNo8: boolean | null; - readonly yesNo9: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectionObjects: RA; - }; -}; -export type CollectionObjectCitation = { - readonly tableName: 'CollectionObjectCitation'; - readonly fields: { - readonly collectionMemberId: number; - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionObjectProperty = { - readonly tableName: 'CollectionObjectProperty'; - readonly fields: { - readonly collectionMemberId: number; - readonly date1: string | null; - readonly date10: string | null; - readonly date11: string | null; - readonly date12: string | null; - readonly date13: string | null; - readonly date14: string | null; - readonly date15: string | null; - readonly date16: string | null; - readonly date17: string | null; - readonly date18: string | null; - readonly date19: string | null; - readonly date2: string | null; - readonly date20: string | null; - readonly date3: string | null; - readonly date4: string | null; - readonly date5: string | null; - readonly date6: string | null; - readonly date7: string | null; - readonly date8: string | null; - readonly date9: string | null; - readonly guid: string | null; - readonly integer1: number | null; - readonly integer10: number | null; - readonly integer11: number | null; - readonly integer12: number | null; - readonly integer13: number | null; - readonly integer14: number | null; - readonly integer15: number | null; - readonly integer16: number | null; - readonly integer17: number | null; - readonly integer18: number | null; - readonly integer19: number | null; - readonly integer2: number | null; - readonly integer20: number | null; - readonly integer21: number | null; - readonly integer22: number | null; - readonly integer23: number | null; - readonly integer24: number | null; - readonly integer25: number | null; - readonly integer26: number | null; - readonly integer27: number | null; - readonly integer28: number | null; - readonly integer29: number | null; - readonly integer3: number | null; - readonly integer30: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly integer6: number | null; - readonly integer7: number | null; - readonly integer8: number | null; - readonly integer9: number | null; - readonly number1: number | null; - readonly number10: number | null; - readonly number11: number | null; - readonly number12: number | null; - readonly number13: number | null; - readonly number14: number | null; - readonly number15: number | null; - readonly number16: number | null; - readonly number17: number | null; - readonly number18: number | null; - readonly number19: number | null; - readonly number2: number | null; - readonly number20: number | null; - readonly number21: number | null; - readonly number22: number | null; - readonly number23: number | null; - readonly number24: number | null; - readonly number25: number | null; - readonly number26: number | null; - readonly number27: number | null; - readonly number28: number | null; - readonly number29: number | null; - readonly number3: number | null; - readonly number30: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text18: string | null; - readonly text19: string | null; - readonly text2: string | null; - readonly text20: string | null; - readonly text21: string | null; - readonly text22: string | null; - readonly text23: string | null; - readonly text24: string | null; - readonly text25: string | null; - readonly text26: string | null; - readonly text27: string | null; - readonly text28: string | null; - readonly text29: string | null; - readonly text3: string | null; - readonly text30: string | null; - readonly text31: string | null; - readonly text32: string | null; - readonly text33: string | null; - readonly text34: string | null; - readonly text35: string | null; - readonly text36: string | null; - readonly text37: string | null; - readonly text38: string | null; - readonly text39: string | null; - readonly text4: string | null; - readonly text40: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo10: boolean | null; - readonly yesNo11: boolean | null; - readonly yesNo12: boolean | null; - readonly yesNo13: boolean | null; - readonly yesNo14: boolean | null; - readonly yesNo15: boolean | null; - readonly yesNo16: boolean | null; - readonly yesNo17: boolean | null; - readonly yesNo18: boolean | null; - readonly yesNo19: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo20: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - readonly yesNo6: boolean | null; - readonly yesNo7: boolean | null; - readonly yesNo8: boolean | null; - readonly yesNo9: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly agent10: Agent | null; - readonly agent11: Agent | null; - readonly agent12: Agent | null; - readonly agent13: Agent | null; - readonly agent14: Agent | null; - readonly agent15: Agent | null; - readonly agent16: Agent | null; - readonly agent17: Agent | null; - readonly agent18: Agent | null; - readonly agent19: Agent | null; - readonly agent2: Agent | null; - readonly agent20: Agent | null; - readonly agent3: Agent | null; - readonly agent4: Agent | null; - readonly agent5: Agent | null; - readonly agent6: Agent | null; - readonly agent7: Agent | null; - readonly agent8: Agent | null; - readonly agent9: Agent | null; - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionRelType = { - readonly tableName: 'CollectionRelType'; - readonly fields: { - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly leftSideCollection: Collection | null; - readonly modifiedByAgent: Agent | null; - readonly rightSideCollection: Collection | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionRelationship = { - readonly tableName: 'CollectionRelationship'; - readonly fields: { - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionRelType: CollectionRelType; - readonly createdByAgent: Agent | null; - readonly leftSide: CollectionObject; - readonly modifiedByAgent: Agent | null; - readonly rightSide: CollectionObject; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Collector = { - readonly tableName: 'Collector'; - readonly fields: { - readonly isPrimary: boolean; - readonly orderNumber: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly collectingEvent: CollectingEvent; - readonly createdByAgent: Agent | null; - readonly division: Division | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CommonNameTx = { - readonly tableName: 'CommonNameTx'; - readonly fields: { - readonly author: string | null; - readonly country: string | null; - readonly language: string | null; - readonly name: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly variant: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly taxon: Taxon; - }; - readonly toManyDependent: { readonly citations: RA }; - readonly toManyIndependent: RR; -}; -export type CommonNameTxCitation = { - readonly tableName: 'CommonNameTxCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly number1: number | null; - readonly number2: number | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly commonNameTx: CommonNameTx; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type ConservDescription = { - readonly tableName: 'ConservDescription'; - readonly fields: { - readonly backgroundInfo: string | null; - readonly composition: string | null; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly date2: string | null; - readonly date2Precision: number | null; - readonly date3: string | null; - readonly date3Precision: number | null; - readonly date4: string | null; - readonly date4Precision: number | null; - readonly date5: string | null; - readonly date5Precision: number | null; - readonly description: string | null; - readonly determinedDate: string | null; - readonly displayRecommendations: string | null; - readonly height: number | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly lightRecommendations: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly objLength: number | null; - readonly otherRecommendations: string | null; - readonly remarks: string | null; - readonly shortDesc: string | null; - readonly source: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly units: string | null; - readonly version: number | null; - readonly width: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject | null; - readonly createdByAgent: Agent | null; - readonly division: Division | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation | null; - }; - readonly toManyDependent: { - readonly conservDescriptionAttachments: RA; - readonly events: RA; - }; - readonly toManyIndependent: RR; -}; -export type ConservDescriptionAttachment = { - readonly tableName: 'ConservDescriptionAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly conservDescription: ConservDescription; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type ConservEvent = { - readonly tableName: 'ConservEvent'; - readonly fields: { - readonly advTestingExam: string | null; - readonly advTestingExamResults: string | null; - readonly curatorApprovalDate: string | null; - readonly completedComments: string | null; - readonly completedDate: string | null; - readonly completedDatePrecision: number | null; - readonly conditionReport: string | null; - readonly curatorApprovalDatePrecision: number | null; - readonly examDate: string | null; - readonly examDatePrecision: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly photoDocs: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly treatmentCompDatePrecision: number | null; - readonly treatmentCompDate: string | null; - readonly treatmentReport: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly conservDescription: ConservDescription; - readonly createdByAgent: Agent | null; - readonly curator: Agent | null; - readonly examinedByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly treatedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly conservEventAttachments: RA; - }; - readonly toManyIndependent: RR; -}; -export type ConservEventAttachment = { - readonly tableName: 'ConservEventAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly conservEvent: ConservEvent; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Container = { - readonly tableName: 'Container'; - readonly fields: { - readonly collectionMemberId: number; - readonly description: string | null; - readonly name: string | null; - readonly number: number | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: number | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: Container | null; - readonly storage: Storage | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly collectionObjectKids: RA; - readonly collectionObjects: RA; - }; -}; -export type DNAPrimer = { - readonly tableName: 'DNAPrimer'; - readonly fields: { - readonly integer1: number | null; - readonly integer2: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly primerDesignator: string | null; - readonly primerNameForward: string | null; - readonly primerNameReverse: string | null; - readonly primerReferenceCitationForward: string | null; - readonly primerReferenceCitationReverse: string | null; - readonly primerReferenceLinkForward: string | null; - readonly primerReferenceLinkReverse: string | null; - readonly primerSequenceForward: string | null; - readonly primerSequenceReverse: string | null; - readonly purificationMethod: string | null; - readonly remarks: string | null; - readonly reservedInteger3: number | null; - readonly reservedInteger4: number | null; - readonly reservedNumber3: number | null; - readonly reservedNumber4: number | null; - readonly reservedText3: string | null; - readonly reservedText4: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly dnaSequencingRuns: RA; - }; -}; -export type DNASequence = { - readonly tableName: 'DNASequence'; - readonly fields: { - readonly ambiguousResidues: number | null; - readonly boldBarcodeId: string | null; - readonly boldLastUpdateDate: string | null; - readonly boldSampleId: string | null; - readonly boldTranslationMatrix: string | null; - readonly collectionMemberId: number; - readonly compA: number | null; - readonly compC: number | null; - readonly compG: number | null; - readonly compT: number | null; - readonly extractionDate: string | null; - readonly extractionDatePrecision: number | null; - readonly text2: string | null; - readonly genbankAccessionNumber: string | null; - readonly text1: string | null; - readonly geneSequence: string | null; - readonly moleculeType: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly remarks: string | null; - readonly sequenceDate: string | null; - readonly sequenceDatePrecision: number | null; - readonly targetMarker: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly totalResidues: number | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject | null; - readonly createdByAgent: Agent | null; - readonly extractor: Agent | null; - readonly materialSample: MaterialSample | null; - readonly modifiedByAgent: Agent | null; - readonly sequencer: Agent | null; - }; - readonly toManyDependent: { - readonly attachments: RA; - readonly dnaSequencingRuns: RA; - }; - readonly toManyIndependent: { - readonly extractors: RA; - readonly pcrPersons: RA; - }; -}; -export type DNASequenceAttachment = { - readonly tableName: 'DNASequenceAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly dnaSequence: DNASequence; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type DNASequencingRun = { - readonly tableName: 'DNASequencingRun'; - readonly fields: { - readonly collectionMemberId: number; - readonly dryadDOI: string | null; - readonly geneSequence: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly ordinal: number | null; - readonly pcrCocktailPrimer: boolean | null; - readonly pcrForwardPrimerCode: string | null; - readonly pcrPrimerName: string | null; - readonly pcrPrimerSequence5_3: string | null; - readonly pcrReversePrimerCode: string | null; - readonly readDirection: string | null; - readonly remarks: string | null; - readonly runDate: string | null; - readonly scoreFileName: string | null; - readonly sequenceCocktailPrimer: boolean | null; - readonly sequencePrimerCode: string | null; - readonly sequencePrimerName: string | null; - readonly sequencePrimerSequence5_3: string | null; - readonly sraExperimentID: string | null; - readonly sraRunID: string | null; - readonly sraSubmissionID: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly traceFileName: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly dnaPrimer: DNAPrimer | null; - readonly dnaSequence: DNASequence; - readonly modifiedByAgent: Agent | null; - readonly preparedByAgent: Agent | null; - readonly runByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly citations: RA; - readonly attachments: RA; - }; - readonly toManyIndependent: RR; -}; -export type DNASequencingRunAttachment = { - readonly tableName: 'DNASequencingRunAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly dnaSequencingRun: DNASequencingRun; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type DNASequencingRunCitation = { - readonly tableName: 'DNASequencingRunCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly number1: number | null; - readonly number2: number | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - readonly sequencingRun: DNASequencingRun; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type DataType = { - readonly tableName: 'DataType'; - readonly fields: { - readonly name: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Deaccession = { - readonly tableName: 'Deaccession'; - readonly fields: { - readonly timestampModified: string | null; - readonly date1: string | null; - readonly date2: string | null; - readonly deaccessionNumber: string; - readonly deaccessionDate: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly remarks: string | null; - readonly status: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly totalItems: number | null; - readonly totalPreps: number | null; - readonly type: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly agent2: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly deaccessionAgents: RA; - readonly deaccessionAttachments: RA; - }; - readonly toManyIndependent: { - readonly disposals: RA; - readonly exchangeOuts: RA; - readonly gifts: RA; - }; -}; -export type DeaccessionAgent = { - readonly tableName: 'DeaccessionAgent'; - readonly fields: { - readonly remarks: string | null; - readonly role: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly deaccession: Deaccession; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type DeaccessionAttachment = { - readonly tableName: 'DeaccessionAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly deaccession: Deaccession; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Determination = { - readonly tableName: 'Determination'; - readonly fields: { - readonly addendum: string | null; - readonly alternateName: string | null; - readonly collectionMemberId: number; - readonly confidence: string | null; - readonly isCurrent: boolean; - readonly determinedDate: string | null; - readonly determinedDatePrecision: number | null; - readonly featureOrBasis: string | null; - readonly guid: string | null; - readonly yesNo1: boolean | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly method: string | null; - readonly nameUsage: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly qualifier: string | null; - readonly remarks: string | null; - readonly subSpQualifier: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly typeStatusName: string | null; - readonly varQualifier: string | null; - readonly version: number | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly determiner: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly preferredTaxon: Taxon | null; - readonly taxon: Taxon | null; - }; - readonly toManyDependent: { - readonly determinationCitations: RA; - readonly determiners: RA; - }; - readonly toManyIndependent: RR; -}; -export type DeterminationCitation = { - readonly tableName: 'DeterminationCitation'; - readonly fields: { - readonly collectionMemberId: number; - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly determination: Determination; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Determiner = { - readonly tableName: 'Determiner'; - readonly fields: { - readonly isPrimary: boolean; - readonly orderNumber: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly determination: Determination; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Discipline = { - readonly tableName: 'Discipline'; - readonly fields: { - readonly isPaleoContextEmbedded: boolean; - readonly name: string | null; - readonly paleoContextChildTable: string | null; - readonly regNumber: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly geologicTimePeriodTreeDef: GeologicTimePeriodTreeDef; - readonly createdByAgent: Agent | null; - readonly dataType: DataType; - readonly division: Division; - readonly geographyTreeDef: GeographyTreeDef; - readonly lithoStratTreeDef: LithoStratTreeDef | null; - readonly modifiedByAgent: Agent | null; - readonly taxonTreeDef: TaxonTreeDef | null; - readonly tectonicUnitTreeDef: TectonicUnitTreeDef | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly attributeDefs: RA; - readonly collections: RA; - readonly numberingSchemes: RA; - readonly spExportSchemas: RA; - readonly spLocaleContainers: RA; - readonly userGroups: RA; - }; -}; -export type Disposal = { - readonly tableName: 'Disposal'; - readonly fields: { - readonly timestampModified: string | null; - readonly disposalDate: string | null; - readonly disposalNumber: string; - readonly doNotExport: boolean | null; - readonly number1: number | null; - readonly number2: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly totalItems: number | null; - readonly totalPreps: number | null; - readonly type: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly deaccession: Deaccession | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly disposalAgents: RA; - readonly disposalAttachments: RA; - readonly disposalPreparations: RA; - }; - readonly toManyIndependent: RR; -}; -export type DisposalAgent = { - readonly tableName: 'DisposalAgent'; - readonly fields: { - readonly remarks: string | null; - readonly role: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly disposal: Disposal; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type DisposalAttachment = { - readonly tableName: 'DisposalAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly disposal: Disposal; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type DisposalPreparation = { - readonly tableName: 'DisposalPreparation'; - readonly fields: { - readonly quantity: number | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly disposal: Disposal; - readonly loanReturnPreparation: LoanReturnPreparation | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Division = { - readonly tableName: 'Division'; - readonly fields: { - readonly abbrev: string | null; - readonly altName: string | null; - readonly description: string | null; - readonly discipline: string | null; - readonly iconURI: string | null; - readonly name: string | null; - readonly regNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly uri: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly address: Address | null; - readonly createdByAgent: Agent | null; - readonly institution: Institution; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly accessions: RA; - readonly disciplines: RA; - readonly members: RA; - readonly numberingSchemes: RA; - readonly userGroups: RA; - }; -}; -export type ExchangeIn = { - readonly tableName: 'ExchangeIn'; - readonly fields: { - readonly contents: string | null; - readonly descriptionOfMaterial: string | null; - readonly exchangeDate: string | null; - readonly exchangeInNumber: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly quantityExchanged: number | null; - readonly remarks: string | null; - readonly srcGeography: string | null; - readonly srcTaxonomy: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly agentCatalogedBy: Agent; - readonly createdByAgent: Agent | null; - readonly division: Division; - readonly modifiedByAgent: Agent | null; - readonly agentReceivedFrom: Agent; - }; - readonly toManyDependent: { - readonly exchangeInAttachments: RA; - readonly exchangeInPreps: RA; - }; - readonly toManyIndependent: RR; -}; -export type ExchangeInAttachment = { - readonly tableName: 'ExchangeInAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly exchangeIn: ExchangeIn; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type ExchangeInPrep = { - readonly tableName: 'ExchangeInPrep'; - readonly fields: { - readonly comments: string | null; - readonly descriptionOfMaterial: string | null; - readonly number1: number | null; - readonly quantity: number | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly exchangeIn: ExchangeIn | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type ExchangeOut = { - readonly tableName: 'ExchangeOut'; - readonly fields: { - readonly contents: string | null; - readonly descriptionOfMaterial: string | null; - readonly exchangeDate: string | null; - readonly exchangeOutNumber: string; - readonly number1: number | null; - readonly number2: number | null; - readonly quantityExchanged: number | null; - readonly remarks: string | null; - readonly srcGeography: string | null; - readonly srcTaxonomy: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly totalItems: number | null; - readonly totalPreps: number | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly agentCatalogedBy: Agent; - readonly createdByAgent: Agent | null; - readonly deaccession: Deaccession | null; - readonly division: Division; - readonly modifiedByAgent: Agent | null; - readonly agentSentTo: Agent; - }; - readonly toManyDependent: { - readonly exchangeOutAttachments: RA; - readonly exchangeOutPreps: RA; - }; - readonly toManyIndependent: { readonly shipments: RA }; -}; -export type ExchangeOutAttachment = { - readonly tableName: 'ExchangeOutAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly exchangeOut: ExchangeOut; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type ExchangeOutPrep = { - readonly tableName: 'ExchangeOutPrep'; - readonly fields: { - readonly comments: string | null; - readonly descriptionOfMaterial: string | null; - readonly number1: number | null; - readonly quantity: number | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly exchangeOut: ExchangeOut | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Exsiccata = { - readonly tableName: 'Exsiccata'; - readonly fields: { - readonly remarks: string | null; - readonly schedae: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: { readonly exsiccataItems: RA }; - readonly toManyIndependent: RR; -}; -export type ExsiccataItem = { - readonly tableName: 'ExsiccataItem'; - readonly fields: { - readonly fascicle: string | null; - readonly number: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly exsiccata: Exsiccata; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Extractor = { - readonly tableName: 'Extractor'; - readonly fields: { - readonly orderNumber: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly dnaSequence: DNASequence; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type FieldNotebook = { - readonly tableName: 'FieldNotebook'; - readonly fields: { - readonly description: string | null; - readonly endDate: string | null; - readonly location: string | null; - readonly name: string | null; - readonly startDate: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - readonly ownerAgent: Agent; - }; - readonly toManyDependent: { - readonly attachments: RA; - readonly pageSets: RA; - }; - readonly toManyIndependent: RR; -}; -export type FieldNotebookAttachment = { - readonly tableName: 'FieldNotebookAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly fieldNotebook: FieldNotebook; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type FieldNotebookPage = { - readonly tableName: 'FieldNotebookPage'; - readonly fields: { - readonly description: string | null; - readonly pageNumber: string; - readonly scanDate: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - readonly pageSet: FieldNotebookPageSet | null; - }; - readonly toManyDependent: { - readonly attachments: RA; - }; - readonly toManyIndependent: { - readonly collectionObjects: RA; - }; -}; -export type FieldNotebookPageAttachment = { - readonly tableName: 'FieldNotebookPageAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly fieldNotebookPage: FieldNotebookPage; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type FieldNotebookPageSet = { - readonly tableName: 'FieldNotebookPageSet'; - readonly fields: { - readonly description: string | null; - readonly endDate: string | null; - readonly method: string | null; - readonly orderNumber: number | null; - readonly startDate: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly fieldNotebook: FieldNotebook | null; - readonly modifiedByAgent: Agent | null; - readonly sourceAgent: Agent | null; - }; - readonly toManyDependent: { - readonly attachments: RA; - readonly pages: RA; - }; - readonly toManyIndependent: RR; -}; -export type FieldNotebookPageSetAttachment = { - readonly tableName: 'FieldNotebookPageSetAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly fieldNotebookPageSet: FieldNotebookPageSet; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type FundingAgent = { - readonly tableName: 'FundingAgent'; - readonly fields: { - readonly isPrimary: boolean; - readonly orderNumber: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly collectingTrip: CollectingTrip; - readonly createdByAgent: Agent | null; - readonly division: Division | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type GeoCoordDetail = { - readonly tableName: 'GeoCoordDetail'; - readonly fields: { - readonly errorPolygon: string | null; - readonly geoRefAccuracy: number | null; - readonly geoRefAccuracyUnits: string | null; - readonly geoRefCompiledDate: string | null; - readonly geoRefDetDate: string | null; - readonly geoRefDetRef: string | null; - readonly geoRefRemarks: string | null; - readonly geoRefVerificationStatus: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly maxUncertaintyEst: number | null; - readonly maxUncertaintyEstUnit: string | null; - readonly namedPlaceExtent: number | null; - readonly noGeoRefBecause: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly originalCoordSystem: string | null; - readonly protocol: string | null; - readonly source: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly uncertaintyPolygon: string | null; - readonly validation: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly geoRefCompiledBy: Agent | null; - readonly geoRefDetBy: Agent | null; - readonly locality: Locality | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Geography = { - readonly tableName: 'Geography'; - readonly fields: { - readonly abbrev: string | null; - readonly centroidLat: number | null; - readonly centroidLon: number | null; - readonly commonName: string | null; - readonly fullName: string | null; - readonly geographyCode: string | null; - readonly gml: string | null; - readonly guid: string | null; - readonly highestChildNodeNumber: number | null; - readonly isCurrent: boolean | null; - readonly isAccepted: boolean; - readonly name: string; - readonly nodeNumber: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly rankId: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly timestampVersion: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly definition: GeographyTreeDef; - readonly definitionItem: GeographyTreeDefItem; - readonly modifiedByAgent: Agent | null; - readonly parent: Geography; - readonly acceptedGeography: Geography | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly localities: RA; - readonly acceptedChildren: RA; - }; -}; -export type GeographyTreeDef = { - readonly tableName: 'GeographyTreeDef'; - readonly fields: { - readonly fullNameDirection: number | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { readonly treeDefItems: RA }; - readonly toManyIndependent: { readonly treeEntries: RA }; -}; -export type GeographyTreeDefItem = { - readonly tableName: 'GeographyTreeDefItem'; - readonly fields: { - readonly fullNameSeparator: string | null; - readonly isEnforced: boolean | null; - readonly isInFullName: boolean | null; - readonly name: string; - readonly rankId: number; - readonly remarks: string | null; - readonly textAfter: string | null; - readonly textBefore: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: GeographyTreeDefItem | null; - readonly treeDef: GeographyTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly treeEntries: RA; - }; -}; -export type GeologicTimePeriod = { - readonly tableName: 'GeologicTimePeriod'; - readonly fields: { - readonly endPeriod: number | null; - readonly endUncertainty: number | null; - readonly fullName: string | null; - readonly guid: string | null; - readonly highestChildNodeNumber: number | null; - readonly isBioStrat: boolean | null; - readonly isAccepted: boolean; - readonly name: string; - readonly nodeNumber: number | null; - readonly rankId: number; - readonly remarks: string | null; - readonly standard: string | null; - readonly startPeriod: number | null; - readonly startUncertainty: number | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly definition: GeologicTimePeriodTreeDef; - readonly modifiedByAgent: Agent | null; - readonly parent: GeologicTimePeriod; - readonly acceptedGeologicTimePeriod: GeologicTimePeriod | null; - readonly definitionItem: GeologicTimePeriodTreeDefItem; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly bioStratsPaleoContext: RA; - readonly children: RA; - readonly chronosStratsPaleoContext: RA; - readonly acceptedChildren: RA; - }; -}; -export type GeologicTimePeriodTreeDef = { - readonly tableName: 'GeologicTimePeriodTreeDef'; - readonly fields: { - readonly fullNameDirection: number | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly treeDefItems: RA; - }; - readonly toManyIndependent: { readonly treeEntries: RA }; -}; -export type GeologicTimePeriodTreeDefItem = { - readonly tableName: 'GeologicTimePeriodTreeDefItem'; - readonly fields: { - readonly fullNameSeparator: string | null; - readonly isEnforced: boolean | null; - readonly isInFullName: boolean | null; - readonly name: string; - readonly rankId: number; - readonly remarks: string | null; - readonly textAfter: string | null; - readonly textBefore: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: GeologicTimePeriodTreeDefItem | null; - readonly treeDef: GeologicTimePeriodTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly treeEntries: RA; - }; -}; -export type Gift = { - readonly tableName: 'Gift'; - readonly fields: { - readonly contents: string | null; - readonly dateReceived: string | null; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly giftDate: string | null; - readonly giftNumber: string; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly isFinancialResponsibility: boolean | null; - readonly number1: number | null; - readonly number2: number | null; - readonly purposeOfGift: string | null; - readonly receivedComments: string | null; - readonly remarks: string | null; - readonly srcGeography: string | null; - readonly srcTaxonomy: string | null; - readonly specialConditions: string | null; - readonly status: string | null; - readonly text2: string | null; - readonly text1: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly totalItems: number | null; - readonly totalPreps: number | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly deaccession: Deaccession | null; - readonly discipline: Discipline; - readonly division: Division | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly giftAgents: RA; - readonly giftAttachments: RA; - readonly giftPreparations: RA; - readonly shipments: RA; - }; - readonly toManyIndependent: RR; -}; -export type GiftAgent = { - readonly tableName: 'GiftAgent'; - readonly fields: { - readonly date1: string | null; - readonly remarks: string | null; - readonly role: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly gift: Gift; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type GiftAttachment = { - readonly tableName: 'GiftAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly gift: Gift; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type GiftPreparation = { - readonly tableName: 'GiftPreparation'; - readonly fields: { - readonly descriptionOfMaterial: string | null; - readonly inComments: string | null; - readonly outComments: string | null; - readonly quantity: number | null; - readonly receivedComments: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly gift: Gift | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type GroupPerson = { - readonly tableName: 'GroupPerson'; - readonly fields: { - readonly orderNumber: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly division: Division; - readonly group: Agent; - readonly member: Agent; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type InfoRequest = { - readonly tableName: 'InfoRequest'; - readonly fields: { - readonly collectionMemberId: number; - readonly email: string | null; - readonly firstName: string | null; - readonly infoReqNumber: string | null; - readonly institution: string | null; - readonly lastName: string | null; - readonly remarks: string | null; - readonly replyDate: string | null; - readonly requestDate: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly recordSets: RA }; -}; -export type Institution = { - readonly tableName: 'Institution'; - readonly fields: { - readonly altName: string | null; - readonly isAccessionsGlobal: boolean; - readonly code: string | null; - readonly copyright: string | null; - readonly currentManagedRelVersion: string | null; - readonly currentManagedSchemaVersion: string | null; - readonly description: string | null; - readonly disclaimer: string | null; - readonly guid: string | null; - readonly hasBeenAsked: boolean | null; - readonly iconURI: string | null; - readonly ipr: string | null; - readonly isAnonymous: boolean | null; - readonly isReleaseManagedGlobally: boolean | null; - readonly isSecurityOn: boolean; - readonly isServerBased: boolean; - readonly isSharingLocalities: boolean; - readonly isSingleGeographyTree: boolean; - readonly license: string | null; - readonly lsidAuthority: string | null; - readonly minimumPwdLength: number | null; - readonly name: string | null; - readonly regNumber: string | null; - readonly remarks: string | null; - readonly termsOfUse: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly uri: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly address: Address | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly storageTreeDef: StorageTreeDef | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly contentContacts: RA; - readonly divisions: RA; - readonly technicalContacts: RA; - readonly userGroups: RA; - }; -}; -export type InstitutionNetwork = { - readonly tableName: 'InstitutionNetwork'; - readonly fields: { - readonly altName: string | null; - readonly code: string | null; - readonly copyright: string | null; - readonly description: string | null; - readonly disclaimer: string | null; - readonly iconURI: string | null; - readonly ipr: string | null; - readonly license: string | null; - readonly name: string | null; - readonly remarks: string | null; - readonly termsOfUse: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly uri: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly address: Address | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collections: RA; - readonly contacts: RA; - }; -}; -export type Journal = { - readonly tableName: 'Journal'; - readonly fields: { - readonly guid: string | null; - readonly issn: string | null; - readonly journalAbbreviation: string | null; - readonly journalName: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly institution: Institution; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly referenceWorks: RA }; -}; -export type LatLonPolygon = { - readonly tableName: 'LatLonPolygon'; - readonly fields: { - readonly description: string | null; - readonly isPolyline: boolean; - readonly name: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly locality: Locality | null; - readonly modifiedByAgent: Agent | null; - readonly visualQuery: SpVisualQuery | null; - }; - readonly toManyDependent: { readonly points: RA }; - readonly toManyIndependent: RR; -}; -export type LatLonPolygonPnt = { - readonly tableName: 'LatLonPolygonPnt'; - readonly fields: { - readonly elevation: number | null; - readonly latitude: number; - readonly longitude: number; - readonly ordinal: number; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly latLonPolygon: LatLonPolygon }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LithoStrat = { - readonly tableName: 'LithoStrat'; - readonly fields: { - readonly fullName: string | null; - readonly guid: string | null; - readonly highestChildNodeNumber: number | null; - readonly isAccepted: boolean; - readonly name: string; - readonly nodeNumber: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly rankId: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly definition: LithoStratTreeDef; - readonly modifiedByAgent: Agent | null; - readonly parent: LithoStrat; - readonly acceptedLithoStrat: LithoStrat | null; - readonly definitionItem: LithoStratTreeDefItem; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly paleoContexts: RA; - readonly acceptedChildren: RA; - }; -}; -export type LithoStratTreeDef = { - readonly tableName: 'LithoStratTreeDef'; - readonly fields: { - readonly fullNameDirection: number | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly treeDefItems: RA; - }; - readonly toManyIndependent: { readonly treeEntries: RA }; -}; -export type LithoStratTreeDefItem = { - readonly tableName: 'LithoStratTreeDefItem'; - readonly fields: { - readonly fullNameSeparator: string | null; - readonly isEnforced: boolean | null; - readonly isInFullName: boolean | null; - readonly name: string; - readonly rankId: number; - readonly remarks: string | null; - readonly textAfter: string | null; - readonly textBefore: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: LithoStratTreeDefItem | null; - readonly treeDef: LithoStratTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly treeEntries: RA; - }; -}; -export type Loan = { - readonly tableName: 'Loan'; - readonly fields: { - readonly contents: string | null; - readonly currentDueDate: string | null; - readonly dateClosed: string | null; - readonly dateReceived: string | null; - readonly yesNo1: boolean | null; - readonly text2: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly isClosed: boolean | null; - readonly isFinancialResponsibility: boolean | null; - readonly loanDate: string | null; - readonly loanNumber: string; - readonly number1: number | null; - readonly number2: number | null; - readonly originalDueDate: string | null; - readonly overdueNotiSentDate: string | null; - readonly purposeOfLoan: string | null; - readonly receivedComments: string | null; - readonly remarks: string | null; - readonly resolvedItems: number | null; - readonly resolvedPreps: number | null; - readonly srcGeography: string | null; - readonly srcTaxonomy: string | null; - readonly specialConditions: string | null; - readonly status: string | null; - readonly text1: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly totalItems: number | null; - readonly totalPreps: number | null; - readonly unresolvedItems: number | null; - readonly unresolvedPreps: number | null; - readonly version: number | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly division: Division | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly loanAgents: RA; - readonly loanAttachments: RA; - readonly loanPreparations: RA; - readonly shipments: RA; - }; - readonly toManyIndependent: RR; -}; -export type LoanAgent = { - readonly tableName: 'LoanAgent'; - readonly fields: { - readonly remarks: string | null; - readonly role: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly loan: Loan; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LoanAttachment = { - readonly tableName: 'LoanAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly loan: Loan; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LoanPreparation = { - readonly tableName: 'LoanPreparation'; - readonly fields: { - readonly descriptionOfMaterial: string | null; - readonly inComments: string | null; - readonly isResolved: boolean; - readonly outComments: string | null; - readonly quantity: number | null; - readonly quantityResolved: number | null; - readonly quantityReturned: number | null; - readonly receivedComments: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly loan: Loan; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation | null; - }; - readonly toManyDependent: { - readonly loanReturnPreparations: RA; - }; - readonly toManyIndependent: RR; -}; -export type LoanReturnPreparation = { - readonly tableName: 'LoanReturnPreparation'; - readonly fields: { - readonly quantityResolved: number | null; - readonly quantityReturned: number | null; - readonly remarks: string | null; - readonly returnedDate: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly loanPreparation: LoanPreparation; - readonly modifiedByAgent: Agent | null; - readonly receivedBy: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly disposalPreparations: RA; - }; -}; -export type Locality = { - readonly tableName: 'Locality'; - readonly fields: { - readonly datum: string | null; - readonly elevationAccuracy: number | null; - readonly gml: string | null; - readonly guid: string | null; - readonly latLongMethod: string | null; - readonly lat1text: string | null; - readonly lat2text: string | null; - readonly latLongAccuracy: number | null; - readonly latLongType: string | null; - readonly latitude1: number | null; - readonly latitude2: number | null; - readonly localityName: string; - readonly long1text: string | null; - readonly long2text: string | null; - readonly longitude1: number | null; - readonly longitude2: number | null; - readonly maxElevation: number | null; - readonly minElevation: number | null; - readonly namedPlace: string | null; - readonly originalElevationUnit: string | null; - readonly originalLatLongUnit: number | null; - readonly relationToNamedPlace: string | null; - readonly remarks: string | null; - readonly sgrStatus: number | null; - readonly shortName: string | null; - readonly srcLatLongUnit: number; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly uniqueIdentifier: string | null; - readonly verbatimElevation: string | null; - readonly verbatimLatitude: string | null; - readonly verbatimLongitude: string | null; - readonly version: number | null; - readonly visibility: number | null; - readonly elevationMethod: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: { - readonly geoCoordDetails: GeoCoordDetail | null; - readonly localityDetails: LocalityDetail | null; - }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly geography: Geography | null; - readonly modifiedByAgent: Agent | null; - readonly paleoContext: PaleoContext | null; - readonly visibilitySetBy: SpecifyUser | null; - }; - readonly toManyDependent: { - readonly latLonpolygons: RA; - readonly localityAttachments: RA; - readonly localityCitations: RA; - readonly localityNameAliass: RA; - }; - readonly toManyIndependent: { - readonly collectingEvents: RA; - }; -}; -export type LocalityAttachment = { - readonly tableName: 'LocalityAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly locality: Locality; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LocalityCitation = { - readonly tableName: 'LocalityCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly locality: Locality; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LocalityDetail = { - readonly tableName: 'LocalityDetail'; - readonly fields: { - readonly baseMeridian: string | null; - readonly drainage: string | null; - readonly endDepth: number | null; - readonly endDepthUnit: string | null; - readonly endDepthVerbatim: string | null; - readonly gml: string | null; - readonly hucCode: string | null; - readonly island: string | null; - readonly islandGroup: string | null; - readonly mgrsZone: string | null; - readonly nationalParkName: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly paleoLat: string | null; - readonly paleoLng: string | null; - readonly rangeDesc: string | null; - readonly rangeDirection: string | null; - readonly section: string | null; - readonly sectionPart: string | null; - readonly startDepth: number | null; - readonly startDepthUnit: string | null; - readonly startDepthVerbatim: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly township: string | null; - readonly townshipDirection: string | null; - readonly utmDatum: string | null; - readonly utmEasting: number | null; - readonly utmFalseEasting: number | null; - readonly utmFalseNorthing: number | null; - readonly utmNorthing: number | null; - readonly utmOrigLatitude: number | null; - readonly utmOrigLongitude: number | null; - readonly utmScale: number | null; - readonly utmZone: number | null; - readonly version: number | null; - readonly waterBody: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly locality: Locality | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LocalityNameAlias = { - readonly tableName: 'LocalityNameAlias'; - readonly fields: { - readonly name: string; - readonly source: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly locality: Locality; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type MaterialSample = { - readonly tableName: 'MaterialSample'; - readonly fields: { - readonly GGBN_absorbanceRatio260_230: number | null; - readonly GGBN_absorbanceRatio260_280: number | null; - readonly GGBN_absorbanceRatioMethod: string | null; - readonly collectionMemberId: number; - readonly GGBN_concentration: number | null; - readonly GGBN_concentrationUnit: string | null; - readonly extractionDate: string | null; - readonly guid: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly GGBN_medium: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly GGBN_purificationMethod: string | null; - readonly GGBN_quality: string | null; - readonly GGBN_qualityCheckDate: string | null; - readonly GGBN_qualityRemarks: string | null; - readonly remarks: string | null; - readonly reservedInteger3: number | null; - readonly reservedInteger4: number | null; - readonly reservedNumber3: number | null; - readonly reservedNumber4: number | null; - readonly reservedText3: string | null; - readonly reservedText4: string | null; - readonly GGBN_sampleDesignation: string | null; - readonly GGBN_sampleSize: number | null; - readonly GGBN_materialSampleType: string | null; - readonly sraBioProjectID: string | null; - readonly sraBioSampleID: string | null; - readonly sraProjectID: string | null; - readonly sraSampleID: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly GGBN_volume: number | null; - readonly GGBN_volumeUnit: string | null; - readonly GGBN_weight: number | null; - readonly GGBN_weightMethod: string | null; - readonly GGBN_weightUnit: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly extractor: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation; - }; - readonly toManyDependent: { readonly dnaSequences: RA }; - readonly toManyIndependent: RR; -}; -export type MorphBankView = { - readonly tableName: 'MorphBankView'; - readonly fields: { - readonly developmentState: string | null; - readonly form: string | null; - readonly imagingPreparationTechnique: string | null; - readonly imagingTechnique: string | null; - readonly morphBankExternalViewId: number | null; - readonly sex: string | null; - readonly specimenPart: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly viewAngle: string | null; - readonly viewName: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly attachmentImageAttributes: RA; - }; -}; -export type OtherIdentifier = { - readonly tableName: 'OtherIdentifier'; - readonly fields: { - readonly collectionMemberId: number; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly date2: string | null; - readonly date2Precision: number | null; - readonly identifier: string; - readonly institution: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly agent2: Agent | null; - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type PaleoContext = { - readonly tableName: 'PaleoContext'; - readonly fields: { - readonly text1: string | null; - readonly paleoContextName: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly remarks: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly bioStrat: GeologicTimePeriod | null; - readonly chronosStrat: GeologicTimePeriod | null; - readonly chronosStratEnd: GeologicTimePeriod | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly lithoStrat: LithoStrat | null; - readonly modifiedByAgent: Agent | null; - readonly tectonicUnit: TectonicUnit | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectingEvents: RA; - readonly collectionObjects: RA; - readonly localities: RA; - }; -}; -export type PcrPerson = { - readonly tableName: 'PcrPerson'; - readonly fields: { - readonly orderNumber: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent; - readonly createdByAgent: Agent | null; - readonly dnaSequence: DNASequence; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Permit = { - readonly tableName: 'Permit'; - readonly fields: { - readonly copyright: string | null; - readonly endDate: string | null; - readonly isAvailable: boolean | null; - readonly isRequired: boolean | null; - readonly issuedDate: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly permitNumber: string; - readonly permitText: string | null; - readonly remarks: string | null; - readonly renewalDate: string | null; - readonly reservedInteger1: number | null; - readonly reservedInteger2: number | null; - readonly reservedText3: string | null; - readonly reservedText4: string | null; - readonly startDate: string | null; - readonly status: string | null; - readonly statusQualifier: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly institution: Institution; - readonly issuedBy: Agent | null; - readonly issuedTo: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly permitAttachments: RA; - }; - readonly toManyIndependent: { - readonly accessionAuthorizations: RA; - readonly collectingEventAuthorizations: RA; - readonly collectingTripAuthorizations: RA; - }; -}; -export type PermitAttachment = { - readonly tableName: 'PermitAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly permit: Permit; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type PickList = { - readonly tableName: 'PickList'; - readonly fields: { - readonly fieldName: string | null; - readonly filterFieldName: string | null; - readonly filterValue: string | null; - readonly formatter: string | null; - readonly isSystem: boolean; - readonly name: string; - readonly readOnly: boolean; - readonly sizeLimit: number | null; - readonly sortType: number | null; - readonly tableName: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: number; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { readonly pickListItems: RA }; - readonly toManyIndependent: RR; -}; -export type PickListItem = { - readonly tableName: 'PickListItem'; - readonly fields: { - readonly ordinal: number | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string; - readonly value: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly pickList: PickList; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type PrepType = { - readonly tableName: 'PrepType'; - readonly fields: { - readonly isLoanable: boolean; - readonly name: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { readonly attributeDefs: RA }; - readonly toManyIndependent: { readonly preparations: RA }; -}; -export type Preparation = { - readonly tableName: 'Preparation'; - readonly fields: { - readonly actualCountAmt: number | null; - readonly barCode: string | null; - readonly collectionMemberId: number; - readonly countAmt: number | null; - readonly date1: string | null; - readonly date1Precision: number | null; - readonly date2: string | null; - readonly date2Precision: number | null; - readonly date3: string | null; - readonly date3Precision: number | null; - readonly date4: string | null; - readonly date4Precision: number | null; - readonly description: string | null; - readonly guid: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly isOnLoan: boolean | null; - readonly number1: number | null; - readonly number2: number | null; - readonly preparedDate: string | null; - readonly preparedDatePrecision: number | null; - readonly remarks: string | null; - readonly reservedInteger3: number | null; - readonly reservedInteger4: number | null; - readonly sampleNumber: string | null; - readonly status: string | null; - readonly storageLocation: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly text1: string | null; - readonly yesNo1: boolean | null; - readonly version: number | null; - readonly text2: string | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - }; - readonly toOneDependent: { - readonly preparationAttribute: PreparationAttribute | null; - }; - readonly toOneIndependent: { - readonly alternateStorage: Storage | null; - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly prepType: PrepType; - readonly preparedByAgent: Agent | null; - readonly storage: Storage | null; - }; - readonly toManyDependent: { - readonly materialSamples: RA; - readonly preparationAttachments: RA; - readonly preparationAttrs: RA; - readonly preparationProperties: RA; - }; - readonly toManyIndependent: { - readonly conservDescriptions: RA; - readonly disposalPreparations: RA; - readonly exchangeInPreps: RA; - readonly exchangeOutPreps: RA; - readonly giftPreparations: RA; - readonly loanPreparations: RA; - }; -}; -export type PreparationAttachment = { - readonly tableName: 'PreparationAttachment'; - readonly fields: { - readonly collectionMemberId: number; - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type PreparationAttr = { - readonly tableName: 'PreparationAttr'; - readonly fields: { - readonly collectionMemberId: number; - readonly dblValue: number | null; - readonly strValue: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly definition: AttributeDef; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type PreparationAttribute = { - readonly tableName: 'PreparationAttribute'; - readonly fields: { - readonly attrDate: string | null; - readonly collectionMemberId: number; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text18: string | null; - readonly text19: string | null; - readonly text2: string | null; - readonly text20: string | null; - readonly text21: string | null; - readonly text22: string | null; - readonly text23: string | null; - readonly text24: string | null; - readonly text25: string | null; - readonly text26: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly preparations: RA }; -}; -export type PreparationProperty = { - readonly tableName: 'PreparationProperty'; - readonly fields: { - readonly collectionMemberId: number; - readonly date1: string | null; - readonly date10: string | null; - readonly date11: string | null; - readonly date12: string | null; - readonly date13: string | null; - readonly date14: string | null; - readonly date15: string | null; - readonly date16: string | null; - readonly date17: string | null; - readonly date18: string | null; - readonly date19: string | null; - readonly date2: string | null; - readonly date20: string | null; - readonly date3: string | null; - readonly date4: string | null; - readonly date5: string | null; - readonly date6: string | null; - readonly date7: string | null; - readonly date8: string | null; - readonly date9: string | null; - readonly guid: string | null; - readonly integer1: number | null; - readonly integer10: number | null; - readonly integer11: number | null; - readonly integer12: number | null; - readonly integer13: number | null; - readonly integer14: number | null; - readonly integer15: number | null; - readonly integer16: number | null; - readonly integer17: number | null; - readonly integer18: number | null; - readonly integer19: number | null; - readonly integer2: number | null; - readonly integer20: number | null; - readonly integer21: number | null; - readonly integer22: number | null; - readonly integer23: number | null; - readonly integer24: number | null; - readonly integer25: number | null; - readonly integer26: number | null; - readonly integer27: number | null; - readonly integer28: number | null; - readonly integer29: number | null; - readonly integer3: number | null; - readonly integer30: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly integer6: number | null; - readonly integer7: number | null; - readonly integer8: number | null; - readonly integer9: number | null; - readonly number1: number | null; - readonly number10: number | null; - readonly number11: number | null; - readonly number12: number | null; - readonly number13: number | null; - readonly number14: number | null; - readonly number15: number | null; - readonly number16: number | null; - readonly number17: number | null; - readonly number18: number | null; - readonly number19: number | null; - readonly number2: number | null; - readonly number20: number | null; - readonly number21: number | null; - readonly number22: number | null; - readonly number23: number | null; - readonly number24: number | null; - readonly number25: number | null; - readonly number26: number | null; - readonly number27: number | null; - readonly number28: number | null; - readonly number29: number | null; - readonly number3: number | null; - readonly number30: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text18: string | null; - readonly text19: string | null; - readonly text2: string | null; - readonly text20: string | null; - readonly text21: string | null; - readonly text22: string | null; - readonly text23: string | null; - readonly text24: string | null; - readonly text25: string | null; - readonly text26: string | null; - readonly text27: string | null; - readonly text28: string | null; - readonly text29: string | null; - readonly text3: string | null; - readonly text30: string | null; - readonly text31: string | null; - readonly text32: string | null; - readonly text33: string | null; - readonly text34: string | null; - readonly text35: string | null; - readonly text36: string | null; - readonly text37: string | null; - readonly text38: string | null; - readonly text39: string | null; - readonly text4: string | null; - readonly text40: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo10: boolean | null; - readonly yesNo11: boolean | null; - readonly yesNo12: boolean | null; - readonly yesNo13: boolean | null; - readonly yesNo14: boolean | null; - readonly yesNo15: boolean | null; - readonly yesNo16: boolean | null; - readonly yesNo17: boolean | null; - readonly yesNo18: boolean | null; - readonly yesNo19: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo20: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - readonly yesNo6: boolean | null; - readonly yesNo7: boolean | null; - readonly yesNo8: boolean | null; - readonly yesNo9: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly agent10: Agent | null; - readonly agent11: Agent | null; - readonly agent12: Agent | null; - readonly agent13: Agent | null; - readonly agent14: Agent | null; - readonly agent15: Agent | null; - readonly agent16: Agent | null; - readonly agent17: Agent | null; - readonly agent18: Agent | null; - readonly agent19: Agent | null; - readonly agent2: Agent | null; - readonly agent20: Agent | null; - readonly agent3: Agent | null; - readonly agent4: Agent | null; - readonly agent5: Agent | null; - readonly agent6: Agent | null; - readonly agent7: Agent | null; - readonly agent8: Agent | null; - readonly agent9: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly preparation: Preparation; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Project = { - readonly tableName: 'Project'; - readonly fields: { - readonly collectionMemberId: number; - readonly projectDescription: string | null; - readonly endDate: string | null; - readonly grantAgency: string | null; - readonly grantNumber: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly projectName: string; - readonly projectNumber: string | null; - readonly remarks: string | null; - readonly startDate: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly url: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly collectionObjects: RA; - }; -}; -export type RecordSet = { - readonly tableName: 'RecordSet'; - readonly fields: { - readonly allPermissionLevel: number | null; - readonly collectionMemberId: number; - readonly dbTableId: number; - readonly groupPermissionLevel: number | null; - readonly name: string; - readonly ownerPermissionLevel: number | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: number; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly group: SpPrincipal | null; - readonly infoRequest: InfoRequest | null; - readonly modifiedByAgent: Agent | null; - readonly specifyUser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly recordSetItems: RA }; -}; -export type RecordSetItem = { - readonly tableName: 'RecordSetItem'; - readonly fields: { readonly order: number | null; readonly recordId: number }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly recordSet: RecordSet }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type ReferenceWork = { - readonly tableName: 'ReferenceWork'; - readonly fields: { - readonly text1: string | null; - readonly workDate: string | null; - readonly doi: string | null; - readonly text2: string | null; - readonly guid: string | null; - readonly isPublished: boolean | null; - readonly isbn: string | null; - readonly libraryNumber: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly pages: string | null; - readonly placeOfPublication: string | null; - readonly publisher: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string; - readonly referenceWorkType: number; - readonly uri: string | null; - readonly url: string | null; - readonly version: number | null; - readonly volume: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly containedRFParent: ReferenceWork | null; - readonly createdByAgent: Agent | null; - readonly institution: Institution; - readonly journal: Journal | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly authors: RA; - readonly referenceWorkAttachments: RA; - }; - readonly toManyIndependent: { - readonly collectionObjectCitations: RA; - readonly containedReferenceWorks: RA; - readonly determinationCitations: RA; - readonly exsiccatae: RA; - readonly localityCitations: RA; - readonly taxonCitations: RA; - }; -}; -export type ReferenceWorkAttachment = { - readonly tableName: 'ReferenceWorkAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type RepositoryAgreement = { - readonly tableName: 'RepositoryAgreement'; - readonly fields: { - readonly dateReceived: string | null; - readonly endDate: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly repositoryAgreementNumber: string; - readonly remarks: string | null; - readonly startDate: string | null; - readonly status: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: { readonly addressOfRecord: AddressOfRecord | null }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly division: Division; - readonly modifiedByAgent: Agent | null; - readonly originator: Agent; - }; - readonly toManyDependent: { - readonly repositoryAgreementAgents: RA; - readonly repositoryAgreementAttachments: RA; - readonly repositoryAgreementAuthorizations: RA; - }; - readonly toManyIndependent: { readonly accessions: RA }; -}; -export type RepositoryAgreementAttachment = { - readonly tableName: 'RepositoryAgreementAttachment'; - readonly fields: { - readonly ordinal: number | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly repositoryAgreement: RepositoryAgreement; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Shipment = { - readonly tableName: 'Shipment'; - readonly fields: { - readonly numberOfPackages: number | null; - readonly insuredForAmount: string | null; - readonly shipmentMethod: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly remarks: string | null; - readonly shipmentDate: string | null; - readonly shipmentNumber: string; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly weight: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly borrow: Borrow | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly exchangeOut: ExchangeOut | null; - readonly gift: Gift | null; - readonly loan: Loan | null; - readonly modifiedByAgent: Agent | null; - readonly shippedBy: Agent | null; - readonly shippedTo: Agent | null; - readonly shipper: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpAppResource = { - readonly tableName: 'SpAppResource'; - readonly fields: { - readonly allPermissionLevel: number | null; - readonly description: string | null; - readonly groupPermissionLevel: number | null; - readonly level: number; - readonly metaData: string | null; - readonly mimeType: string | null; - readonly name: string; - readonly ownerPermissionLevel: number | null; - readonly timestampCreated: string; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly group: SpPrincipal | null; - readonly modifiedByAgent: Agent | null; - readonly spAppResourceDir: SpAppResourceDir; - readonly specifyUser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly spAppResourceDatas: RA; - readonly spReports: RA; - }; -}; -export type SpAppResourceData = { - readonly tableName: 'SpAppResourceData'; - readonly fields: { - readonly data: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly spAppResource: SpAppResource | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly spViewSetObj: SpViewSetObj | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpAppResourceDir = { - readonly tableName: 'SpAppResourceDir'; - readonly fields: { - readonly disciplineType: string | null; - readonly isPersonal: boolean; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly userType: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline | null; - readonly modifiedByAgent: Agent | null; - readonly specifyUser: SpecifyUser | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly spPersistedAppResources: RA; - readonly spPersistedViewSets: RA; - }; -}; -export type SpAuditLog = { - readonly tableName: 'SpAuditLog'; - readonly fields: { - readonly action: number; - readonly parentRecordId: number | null; - readonly parentTableNum: number | null; - readonly recordId: number | null; - readonly recordVersion: number; - readonly tableNum: number; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly fields: RA }; -}; -export type SpAuditLogField = { - readonly tableName: 'SpAuditLogField'; - readonly fields: { - readonly fieldName: string; - readonly newValue: string | null; - readonly oldValue: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly spAuditLog: SpAuditLog | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpExportSchema = { - readonly tableName: 'SpExportSchema'; - readonly fields: { - readonly description: string | null; - readonly schemaName: string | null; - readonly schemaVersion: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly spExportSchemaItems: RA; - readonly spExportSchemaMappings: RA; - }; -}; -export type SpExportSchemaItem = { - readonly tableName: 'SpExportSchemaItem'; - readonly fields: { - readonly dataType: string | null; - readonly description: string | null; - readonly fieldName: string | null; - readonly formatter: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly spExportSchema: SpExportSchema; - readonly spLocaleContainerItem: SpLocaleContainerItem | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpExportSchemaItemMapping = { - readonly tableName: 'SpExportSchemaItemMapping'; - readonly fields: { - readonly exportedFieldName: string | null; - readonly extensionItem: boolean | null; - readonly remarks: string | null; - readonly rowType: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly exportSchemaItem: SpExportSchemaItem | null; - readonly exportSchemaMapping: SpExportSchemaMapping | null; - readonly modifiedByAgent: Agent | null; - readonly queryField: SpQueryField | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpExportSchemaMapping = { - readonly tableName: 'SpExportSchemaMapping'; - readonly fields: { - readonly collectionMemberId: number; - readonly description: string | null; - readonly mappingName: string | null; - readonly timestampCreated: string; - readonly timestampExported: string | null; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly mappings: RA; - readonly spExportSchemas: RA; - readonly symbiotaInstances: RA; - }; -}; -export type SpFieldValueDefault = { - readonly tableName: 'SpFieldValueDefault'; - readonly fields: { - readonly collectionMemberId: number; - readonly fieldName: string | null; - readonly idValue: number | null; - readonly strValue: string | null; - readonly tableName: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpLocaleContainer = { - readonly tableName: 'SpLocaleContainer'; - readonly fields: { - readonly aggregator: string | null; - readonly defaultUI: string | null; - readonly format: string | null; - readonly isHidden: boolean; - readonly isSystem: boolean; - readonly isUIFormatter: boolean | null; - readonly name: string; - readonly pickListName: string | null; - readonly schemaType: number; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly descs: RA; - readonly items: RA; - readonly names: RA; - }; -}; -export type SpLocaleContainerItem = { - readonly tableName: 'SpLocaleContainerItem'; - readonly fields: { - readonly format: string | null; - readonly isHidden: boolean; - readonly isRequired: boolean | null; - readonly isSystem: boolean; - readonly isUIFormatter: boolean | null; - readonly name: string; - readonly pickListName: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: string | null; - readonly version: number | null; - readonly webLinkName: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly container: SpLocaleContainer; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly descs: RA; - readonly names: RA; - readonly spExportSchemaItems: RA; - }; -}; -export type SpLocaleItemStr = { - readonly tableName: 'SpLocaleItemStr'; - readonly fields: { - readonly country: string | null; - readonly language: string; - readonly text: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly variant: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly containerDesc: SpLocaleContainer | null; - readonly containerName: SpLocaleContainer | null; - readonly createdByAgent: Agent | null; - readonly itemDesc: SpLocaleContainerItem | null; - readonly itemName: SpLocaleContainerItem | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpPermission = { - readonly tableName: 'SpPermission'; - readonly fields: { - readonly actions: string | null; - readonly name: string | null; - readonly permissionClass: string; - readonly targetId: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: RR; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly principals: RA }; -}; -export type SpPrincipal = { - readonly tableName: 'SpPrincipal'; - readonly fields: { - readonly groupSubClass: string; - readonly groupType: string | null; - readonly name: string; - readonly priority: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly scope: Division | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly permissions: RA; - readonly specifyUsers: RA; - }; -}; -export type SpQuery = { - readonly tableName: 'SpQuery'; - readonly fields: { - readonly contextName: string; - readonly contextTableId: number; - readonly countOnly: boolean | null; - readonly formatAuditRecIds: boolean | null; - readonly isFavorite: boolean | null; - readonly name: string; - readonly ordinal: number | null; - readonly remarks: string | null; - readonly searchSynonymy: boolean | null; - readonly selectDistinct: boolean | null; - readonly smushed: boolean | null; - readonly sqlStr: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly specifyUser: SpecifyUser; - }; - readonly toManyDependent: { readonly fields: RA }; - readonly toManyIndependent: { readonly reports: RA }; -}; -export type SpQueryField = { - readonly tableName: 'SpQueryField'; - readonly fields: { - readonly allowNulls: boolean | null; - readonly alwaysFilter: boolean | null; - readonly columnAlias: string | null; - readonly contextTableIdent: number | null; - readonly endValue: string | null; - readonly fieldName: string; - readonly formatName: string | null; - readonly isDisplay: boolean; - readonly isNot: boolean; - readonly isPrompt: boolean | null; - readonly isRelFld: boolean | null; - readonly isStrict: boolean; - readonly operEnd: number | null; - readonly operStart: number; - readonly position: number; - readonly sortType: number; - readonly startValue: string; - readonly stringId: string; - readonly tableList: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly query: SpQuery | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly mappings: RA; - }; -}; -export type SpReport = { - readonly tableName: 'SpReport'; - readonly fields: { - readonly name: string; - readonly remarks: string | null; - readonly repeatCount: number | null; - readonly repeatField: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly appResource: SpAppResource; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly query: SpQuery | null; - readonly specifyUser: SpecifyUser; - readonly workbenchTemplate: WorkbenchTemplate | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpSymbiotaInstance = { - readonly tableName: 'SpSymbiotaInstance'; - readonly fields: { - readonly collectionMemberId: number; - readonly description: string | null; - readonly instanceName: string | null; - readonly lastCacheBuild: string | null; - readonly lastPull: string | null; - readonly lastPush: string | null; - readonly remarks: string | null; - readonly symbiotaKey: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly schemaMapping: SpExportSchemaMapping | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpTaskSemaphore = { - readonly tableName: 'SpTaskSemaphore'; - readonly fields: { - readonly context: string | null; - readonly isLocked: boolean | null; - readonly lockedTime: string | null; - readonly machineName: string | null; - readonly scope: number | null; - readonly taskName: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly usageCount: number | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdByAgent: Agent | null; - readonly discipline: Discipline | null; - readonly modifiedByAgent: Agent | null; - readonly owner: SpecifyUser | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpVersion = { - readonly tableName: 'SpVersion'; - readonly fields: { - readonly appName: string | null; - readonly appVersion: string | null; - readonly dbClosedBy: string | null; - readonly isDBClosed: boolean | null; - readonly schemaVersion: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly workbenchSchemaVersion: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type SpViewSetObj = { - readonly tableName: 'SpViewSetObj'; - readonly fields: { - readonly description: string | null; - readonly fileName: string | null; - readonly level: number; - readonly metaData: string | null; - readonly name: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly spAppResourceDir: SpAppResourceDir; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly spAppResourceDatas: RA; - }; -}; -export type SpVisualQuery = { - readonly tableName: 'SpVisualQuery'; - readonly fields: { - readonly description: string | null; - readonly name: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly specifyUser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly polygons: RA }; -}; -export type SpecifyUser = { - readonly tableName: 'SpecifyUser'; - readonly fields: { - readonly accumMinLoggedIn: number | null; - readonly email: string | null; - readonly isAdmin: boolean; - readonly isLoggedIn: boolean; - readonly isLoggedInReport: boolean; - readonly loginCollectionName: string | null; - readonly loginDisciplineName: string | null; - readonly loginOutTime: string | null; - readonly name: string; - readonly password: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly userType: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly agents: RA; - readonly spAppResources: RA; - readonly spAppResourceDirs: RA; - readonly spPrincipals: RA; - readonly spQuerys: RA; - readonly taskSemaphores: RA; - readonly workbenchTemplates: RA; - readonly workbenches: RA; - }; -}; -export type Storage = { - readonly tableName: 'Storage'; - readonly fields: { - readonly abbrev: string | null; - readonly fullName: string | null; - readonly highestChildNodeNumber: number | null; - readonly isAccepted: boolean; - readonly name: string; - readonly nodeNumber: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly rankId: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly timestampVersion: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly definition: StorageTreeDef; - readonly definitionItem: StorageTreeDefItem; - readonly modifiedByAgent: Agent | null; - readonly parent: Storage; - readonly acceptedStorage: Storage | null; - }; - readonly toManyDependent: { - readonly storageAttachments: RA; - }; - readonly toManyIndependent: { - readonly acceptedChildren: RA; - readonly children: RA; - readonly containers: RA; - readonly preparations: RA; - }; -}; -export type StorageAttachment = { - readonly tableName: 'StorageAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly storage: Storage; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type StorageTreeDef = { - readonly tableName: 'StorageTreeDef'; - readonly fields: { - readonly fullNameDirection: number | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly institution: Institution; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { readonly treeDefItems: RA }; - readonly toManyIndependent: { readonly treeEntries: RA }; -}; -export type StorageTreeDefItem = { - readonly tableName: 'StorageTreeDefItem'; - readonly fields: { - readonly fullNameSeparator: string | null; - readonly isEnforced: boolean | null; - readonly isInFullName: boolean | null; - readonly name: string; - readonly rankId: number; - readonly remarks: string | null; - readonly textAfter: string | null; - readonly textBefore: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: StorageTreeDefItem | null; - readonly treeDef: StorageTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly treeEntries: RA; - }; -}; -export type Taxon = { - readonly tableName: 'Taxon'; - readonly fields: { - readonly author: string | null; - readonly citesStatus: string | null; - readonly colStatus: string | null; - readonly commonName: string | null; - readonly cultivarName: string | null; - readonly esaStatus: string | null; - readonly fullName: string | null; - readonly groupNumber: string | null; - readonly guid: string | null; - readonly highestChildNodeNumber: number | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly integer4: number | null; - readonly integer5: number | null; - readonly isHybrid: boolean; - readonly isAccepted: boolean; - readonly isisNumber: string | null; - readonly labelFormat: string | null; - readonly lsid: string | null; - readonly name: string; - readonly ncbiTaxonNumber: string | null; - readonly nodeNumber: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly environmentalProtectionStatus: string | null; - readonly rankId: number; - readonly remarks: string | null; - readonly source: string | null; - readonly taxonomicSerialNumber: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text18: string | null; - readonly text19: string | null; - readonly text20: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly unitInd1: string | null; - readonly unitInd2: string | null; - readonly unitInd3: string | null; - readonly unitInd4: string | null; - readonly unitName1: string | null; - readonly unitName2: string | null; - readonly unitName3: string | null; - readonly unitName4: string | null; - readonly usfwsCode: string | null; - readonly version: number | null; - readonly visibility: number | null; - readonly yesNo1: boolean | null; - readonly yesNo10: boolean | null; - readonly yesNo11: boolean | null; - readonly yesNo12: boolean | null; - readonly yesNo13: boolean | null; - readonly yesNo14: boolean | null; - readonly yesNo15: boolean | null; - readonly yesNo16: boolean | null; - readonly yesNo17: boolean | null; - readonly yesNo18: boolean | null; - readonly yesNo19: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo5: boolean | null; - readonly yesNo6: boolean | null; - readonly yesNo7: boolean | null; - readonly yesNo8: boolean | null; - readonly yesNo9: boolean | null; - }; - readonly toOneDependent: { readonly taxonAttribute: TaxonAttribute | null }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly definition: TaxonTreeDef; - readonly hybridParent1: Taxon | null; - readonly hybridParent2: Taxon | null; - readonly modifiedByAgent: Agent | null; - readonly parent: Taxon; - readonly acceptedTaxon: Taxon | null; - readonly definitionItem: TaxonTreeDefItem; - readonly visibilitySetBy: SpecifyUser | null; - }; - readonly toManyDependent: { - readonly commonNames: RA; - readonly taxonAttachments: RA; - readonly taxonCitations: RA; - }; - readonly toManyIndependent: { - readonly children: RA; - readonly collectingEventAttributes: RA; - readonly determinations: RA; - readonly hybridChildren1: RA; - readonly hybridChildren2: RA; - readonly preferredTaxonOf: RA; - readonly acceptedChildren: RA; - }; -}; -export type TaxonAttachment = { - readonly tableName: 'TaxonAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly taxon: Taxon; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type TaxonAttribute = { - readonly tableName: 'TaxonAttribute'; - readonly fields: { - readonly date1: string | null; - readonly date1Precision: number | null; - readonly number1: number | null; - readonly number10: number | null; - readonly number11: number | null; - readonly number12: number | null; - readonly number13: number | null; - readonly number14: number | null; - readonly number15: number | null; - readonly number16: number | null; - readonly number17: number | null; - readonly number18: number | null; - readonly number19: number | null; - readonly number2: number | null; - readonly number20: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly number6: number | null; - readonly number7: number | null; - readonly number8: number | null; - readonly number9: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text10: string | null; - readonly text11: string | null; - readonly text12: string | null; - readonly text13: string | null; - readonly text14: string | null; - readonly text15: string | null; - readonly text16: string | null; - readonly text17: string | null; - readonly text18: string | null; - readonly text19: string | null; - readonly text2: string | null; - readonly text20: string | null; - readonly text21: string | null; - readonly text22: string | null; - readonly text23: string | null; - readonly text24: string | null; - readonly text25: string | null; - readonly text26: string | null; - readonly text27: string | null; - readonly text28: string | null; - readonly text29: string | null; - readonly text3: string | null; - readonly text30: string | null; - readonly text31: string | null; - readonly text32: string | null; - readonly text33: string | null; - readonly text34: string | null; - readonly text35: string | null; - readonly text36: string | null; - readonly text37: string | null; - readonly text38: string | null; - readonly text39: string | null; - readonly text4: string | null; - readonly text40: string | null; - readonly text41: string | null; - readonly text42: string | null; - readonly text43: string | null; - readonly text44: string | null; - readonly text45: string | null; - readonly text46: string | null; - readonly text47: string | null; - readonly text48: string | null; - readonly text49: string | null; - readonly text5: string | null; - readonly text50: string | null; - readonly text51: string | null; - readonly text52: string | null; - readonly text53: string | null; - readonly text54: string | null; - readonly text55: string | null; - readonly text56: string | null; - readonly text57: string | null; - readonly text58: string | null; - readonly text6: string | null; - readonly text7: string | null; - readonly text8: string | null; - readonly text9: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo10: boolean | null; - readonly yesNo11: boolean | null; - readonly yesNo12: boolean | null; - readonly yesNo13: boolean | null; - readonly yesNo14: boolean | null; - readonly yesNo15: boolean | null; - readonly yesNo16: boolean | null; - readonly yesNo17: boolean | null; - readonly yesNo18: boolean | null; - readonly yesNo19: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo20: boolean | null; - readonly yesNo21: boolean | null; - readonly yesNo22: boolean | null; - readonly yesNo23: boolean | null; - readonly yesNo24: boolean | null; - readonly yesNo25: boolean | null; - readonly yesNo26: boolean | null; - readonly yesNo27: boolean | null; - readonly yesNo28: boolean | null; - readonly yesNo29: boolean | null; - readonly yesNo3: boolean | null; - readonly yesNo30: boolean | null; - readonly yesNo31: boolean | null; - readonly yesNo32: boolean | null; - readonly yesNo33: boolean | null; - readonly yesNo34: boolean | null; - readonly yesNo35: boolean | null; - readonly yesNo36: boolean | null; - readonly yesNo37: boolean | null; - readonly yesNo38: boolean | null; - readonly yesNo39: boolean | null; - readonly yesNo4: boolean | null; - readonly yesNo40: boolean | null; - readonly yesNo41: boolean | null; - readonly yesNo42: boolean | null; - readonly yesNo43: boolean | null; - readonly yesNo44: boolean | null; - readonly yesNo45: boolean | null; - readonly yesNo46: boolean | null; - readonly yesNo47: boolean | null; - readonly yesNo48: boolean | null; - readonly yesNo49: boolean | null; - readonly yesNo5: boolean | null; - readonly yesNo50: boolean | null; - readonly yesNo51: boolean | null; - readonly yesNo52: boolean | null; - readonly yesNo53: boolean | null; - readonly yesNo54: boolean | null; - readonly yesNo55: boolean | null; - readonly yesNo56: boolean | null; - readonly yesNo57: boolean | null; - readonly yesNo58: boolean | null; - readonly yesNo59: boolean | null; - readonly yesNo6: boolean | null; - readonly yesNo60: boolean | null; - readonly yesNo61: boolean | null; - readonly yesNo62: boolean | null; - readonly yesNo63: boolean | null; - readonly yesNo64: boolean | null; - readonly yesNo65: boolean | null; - readonly yesNo66: boolean | null; - readonly yesNo67: boolean | null; - readonly yesNo68: boolean | null; - readonly yesNo69: boolean | null; - readonly yesNo7: boolean | null; - readonly yesNo70: boolean | null; - readonly yesNo71: boolean | null; - readonly yesNo72: boolean | null; - readonly yesNo73: boolean | null; - readonly yesNo74: boolean | null; - readonly yesNo75: boolean | null; - readonly yesNo76: boolean | null; - readonly yesNo77: boolean | null; - readonly yesNo78: boolean | null; - readonly yesNo79: boolean | null; - readonly yesNo8: boolean | null; - readonly yesNo80: boolean | null; - readonly yesNo81: boolean | null; - readonly yesNo82: boolean | null; - readonly yesNo9: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly taxons: RA }; -}; -export type TaxonCitation = { - readonly tableName: 'TaxonCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly number1: number | null; - readonly number2: number | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - readonly taxon: Taxon; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type TaxonTreeDef = { - readonly tableName: 'TaxonTreeDef'; - readonly fields: { - readonly fullNameDirection: number | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { readonly treeDefItems: RA }; - readonly toManyIndependent: { readonly treeEntries: RA }; -}; -export type TaxonTreeDefItem = { - readonly tableName: 'TaxonTreeDefItem'; - readonly fields: { - readonly formatToken: string | null; - readonly fullNameSeparator: string | null; - readonly isEnforced: boolean | null; - readonly isInFullName: boolean | null; - readonly name: string; - readonly rankId: number; - readonly remarks: string | null; - readonly textAfter: string | null; - readonly textBefore: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: TaxonTreeDefItem | null; - readonly treeDef: TaxonTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly treeEntries: RA; - }; -}; -export type TreatmentEvent = { - readonly tableName: 'TreatmentEvent'; - readonly fields: { - readonly dateBoxed: string | null; - readonly dateCleaned: string | null; - readonly dateCompleted: string | null; - readonly dateReceived: string | null; - readonly dateToIsolation: string | null; - readonly dateTreatmentEnded: string | null; - readonly fieldNumber: string | null; - readonly location: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly number4: number | null; - readonly number5: number | null; - readonly remarks: string | null; - readonly dateTreatmentStarted: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly text4: string | null; - readonly text5: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly treatmentNumber: string | null; - readonly type: string | null; - readonly version: number | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly accession: Accession | null; - readonly authorizedBy: Agent | null; - readonly collectionObject: CollectionObject | null; - readonly createdByAgent: Agent | null; - readonly division: Division | null; - readonly modifiedByAgent: Agent | null; - readonly performedBy: Agent | null; - }; - readonly toManyDependent: { - readonly treatmentEventAttachments: RA; - }; - readonly toManyIndependent: RR; -}; -export type TreatmentEventAttachment = { - readonly tableName: 'TreatmentEventAttachment'; - readonly fields: { - readonly ordinal: number; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly treatmentEvent: TreatmentEvent; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type VoucherRelationship = { - readonly tableName: 'VoucherRelationship'; - readonly fields: { - readonly collectionCode: string | null; - readonly collectionMemberId: number; - readonly institutionCode: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly number3: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly urlLink: string | null; - readonly version: number | null; - readonly voucherNumber: string | null; - readonly yesNo1: boolean | null; - readonly yesNo2: boolean | null; - readonly yesNo3: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Workbench = { - readonly tableName: 'Workbench'; - readonly fields: { - readonly allPermissionLevel: number | null; - readonly dbTableId: number | null; - readonly exportInstitutionName: string | null; - readonly exportedFromTableName: string | null; - readonly formId: number | null; - readonly groupPermissionLevel: number | null; - readonly lockedByUserName: string | null; - readonly name: string | null; - readonly ownerPermissionLevel: number | null; - readonly remarks: string | null; - readonly srcFilePath: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly workbenchTemplate: WorkbenchTemplate }; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly group: SpPrincipal | null; - readonly modifiedByAgent: Agent | null; - readonly specifyUser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { readonly workbenchRows: RA }; -}; -export type WorkbenchDataItem = { - readonly tableName: 'WorkbenchDataItem'; - readonly fields: { - readonly cellData: string | null; - readonly rowNumber: number | null; - readonly validationStatus: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly workbenchRow: WorkbenchRow; - readonly workbenchTemplateMappingItem: WorkbenchTemplateMappingItem; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type WorkbenchRow = { - readonly tableName: 'WorkbenchRow'; - readonly fields: { - readonly bioGeomancerResults: string | null; - readonly cardImageData: string | null; - readonly cardImageFullPath: string | null; - readonly errorEstimate: number | null; - readonly errorPolygon: string | null; - readonly lat1Text: string | null; - readonly lat2Text: string | null; - readonly long1Text: string | null; - readonly long2Text: string | null; - readonly recordId: number | null; - readonly rowNumber: number | null; - readonly sgrStatus: number | null; - readonly uploadStatus: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly workbench: Workbench }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly workbenchDataItems: RA; - readonly workbenchRowExportedRelationships: RA; - readonly workbenchRowImages: RA; - }; -}; -export type WorkbenchRowExportedRelationship = { - readonly tableName: 'WorkbenchRowExportedRelationship'; - readonly fields: { - readonly recordId: number | null; - readonly relationshipName: string | null; - readonly sequence: number | null; - readonly tableName: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly workbenchRow: WorkbenchRow; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type WorkbenchRowImage = { - readonly tableName: 'WorkbenchRowImage'; - readonly fields: { - readonly attachToTableName: string | null; - readonly cardImageData: string | null; - readonly cardImageFullPath: string | null; - readonly imageOrder: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly workbenchRow: WorkbenchRow }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type WorkbenchTemplate = { - readonly tableName: 'WorkbenchTemplate'; - readonly fields: { - readonly name: string | null; - readonly remarks: string | null; - readonly srcFilePath: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly specifyUser: SpecifyUser; - }; - readonly toManyDependent: { - readonly workbenchTemplateMappingItems: RA; - }; - readonly toManyIndependent: { readonly workbenches: RA }; -}; -export type WorkbenchTemplateMappingItem = { - readonly tableName: 'WorkbenchTemplateMappingItem'; - readonly fields: { - readonly caption: string | null; - readonly carryForward: boolean | null; - readonly dataFieldLength: number | null; - readonly fieldName: string | null; - readonly fieldType: number | null; - readonly importedColName: string | null; - readonly isEditable: boolean | null; - readonly isExportableToContent: boolean | null; - readonly isIncludedInTitle: boolean | null; - readonly isRequired: boolean | null; - readonly metaData: string | null; - readonly origImportColumnIndex: number | null; - readonly srcTableId: number | null; - readonly tableName: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly viewOrder: number | null; - readonly xCoord: number | null; - readonly yCoord: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly workbenchTemplate: WorkbenchTemplate; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly workbenchDataItems: RA; - }; -}; -export type Spuserexternalid = { - readonly tableName: 'Spuserexternalid'; - readonly fields: { - readonly enabled: boolean; - readonly idtoken: string | null; - readonly provider: string; - readonly providerid: string; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly specifyuser: SpecifyUser }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Spattachmentdataset = { - readonly tableName: 'Spattachmentdataset'; - readonly fields: { - readonly data: string | null; - readonly importedfilename: string | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampcreated: string; - readonly timestampmodified: string | null; - readonly uploadplan: string | null; - readonly uploadresult: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdbyagent: Agent | null; - readonly modifiedbyagent: Agent | null; - readonly specifyuser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type UniquenessRule = { - readonly tableName: 'UniquenessRule'; - readonly fields: { - readonly isdatabaseconstraint: boolean; - readonly modelname: string; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly discipline: Discipline | null }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type UniquenessRuleField = { - readonly tableName: 'UniquenessRuleField'; - readonly fields: { readonly fieldpath: string; readonly isscope: boolean }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly uniquenessrule: UniquenessRule }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Message = { - readonly tableName: 'Message'; - readonly fields: { - readonly content: string | null; - readonly read: boolean; - readonly timestampcreated: string; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly user: SpecifyUser }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Spmerging = { - readonly tableName: 'Spmerging'; - readonly fields: { - readonly name: string; - readonly newrecorddata: string | null; - readonly newrecordid: number; - readonly oldrecordids: string | null; - readonly response: string | null; - readonly status: string; - readonly table: string; - readonly taskid: string; - readonly timestampcreated: string; - readonly timestampmodified: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdbyagent: Agent | null; - readonly modifiedbyagent: Agent | null; - readonly specifyuser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LocalityUpdate = { - readonly tableName: 'LocalityUpdate'; - readonly fields: { - readonly status: string; - readonly taskid: string; - readonly timestampcreated: string; - readonly timestampmodified: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdbyagent: Agent | null; - readonly modifiedbyagent: Agent | null; - readonly recordset: RecordSet | null; - readonly specifyuser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LocalityUpdateRowResult = { - readonly tableName: 'LocalityUpdateRowResult'; - readonly fields: { readonly result: string; readonly rownumber: number }; - readonly toOneDependent: { readonly localityupdate: LocalityUpdate | null }; - readonly toOneIndependent: RR; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type UserPolicy = { - readonly tableName: 'UserPolicy'; - readonly fields: { readonly action: string; readonly resource: string }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly specifyuser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Role = { - readonly tableName: 'Role'; - readonly fields: { - readonly description: string | null; - readonly name: string; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly collection: Collection | null }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LibraryRole = { - readonly tableName: 'LibraryRole'; - readonly fields: { - readonly description: string | null; - readonly name: string; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: RR; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type UserRole = { - readonly tableName: 'UserRole'; - readonly fields: {}; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly role: Role; - readonly specifyuser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type RolePolicy = { - readonly tableName: 'RolePolicy'; - readonly fields: { readonly action: string; readonly resource: string }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly role: Role }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type LibraryRolePolicy = { - readonly tableName: 'LibraryRolePolicy'; - readonly fields: { readonly action: string; readonly resource: string }; - readonly toOneDependent: RR; - readonly toOneIndependent: { readonly role: LibraryRole }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type Spdataset = { - readonly tableName: 'Spdataset'; - readonly fields: { - readonly columns: string; - readonly data: string | null; - readonly importedfilename: string | null; - readonly name: string; - readonly remarks: string | null; - readonly rowresults: string | null; - readonly timestampcreated: string; - readonly timestampmodified: string | null; - readonly uploadplan: string | null; - readonly uploadresult: string | null; - readonly visualorder: string | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdbyagent: Agent | null; - readonly modifiedbyagent: Agent | null; - readonly specifyuser: SpecifyUser; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionObjectType = { - readonly tableName: 'CollectionObjectType'; - readonly fields: { - readonly catalogNumberFormatName: string | null; - readonly name: string; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly taxonTreeDef: TaxonTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionObjectGroup = { - readonly tableName: 'CollectionObjectGroup'; - readonly fields: { - readonly decimal1: number | null; - readonly decimal2: number | null; - readonly decimal3: number | null; - readonly description: string | null; - readonly guid: string | null; - readonly igsn: string | null; - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly name: string; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesno1: boolean | null; - readonly yesno2: boolean | null; - readonly yesno3: boolean | null; - }; - readonly toOneDependent: { readonly cojo: CollectionObjectGroupJoin | null }; - readonly toOneIndependent: { - readonly cogType: CollectionObjectGroupType; - readonly collection: Collection | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly children: RA; - }; - readonly toManyIndependent: RR; -}; -export type CollectionObjectGroupJoin = { - readonly tableName: 'CollectionObjectGroupJoin'; - readonly fields: { - readonly integer1: number | null; - readonly integer2: number | null; - readonly integer3: number | null; - readonly isPrimary: boolean; - readonly isSubstrate: boolean; - readonly precedence: number; - readonly text1: string | null; - readonly text2: string | null; - readonly text3: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesno1: boolean | null; - readonly yesno2: boolean | null; - readonly yesno3: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly childCo: CollectionObject | null; - readonly childCog: CollectionObjectGroup | null; - readonly parentCog: CollectionObjectGroup; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type CollectionObjectGroupType = { - readonly tableName: 'CollectionObjectGroupType'; - readonly fields: { - readonly name: string; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly type: string; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collection: Collection | null; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AbsoluteAge = { - readonly tableName: 'AbsoluteAge'; - readonly fields: { - readonly absoluteAge: number | null; - readonly ageType: string | null; - readonly ageUncertainty: number | null; - readonly collectionDate: string | null; - readonly date1: string | null; - readonly date2: string | null; - readonly datingMethod: string | null; - readonly datingMethodRemarks: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesno1: boolean | null; - readonly yesno2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly agent1: Agent | null; - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly absoluteAgeAttachments: RA; - readonly absoluteAgeCitations: RA; - }; - readonly toManyIndependent: RR; -}; -export type RelativeAge = { - readonly tableName: 'RelativeAge'; - readonly fields: { - readonly ageType: string | null; - readonly ageUncertainty: number | null; - readonly collectionDate: string | null; - readonly date1: string | null; - readonly date2: string | null; - readonly datingMethod: string | null; - readonly datingMethodRemarks: string | null; - readonly number1: number | null; - readonly number2: number | null; - readonly relativeAgePeriod: number | null; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly verbatimName: string | null; - readonly verbatimPeriod: string | null; - readonly version: number | null; - readonly yesno1: boolean | null; - readonly yesno2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly ageName: GeologicTimePeriod | null; - readonly ageNameEnd: GeologicTimePeriod | null; - readonly agent1: Agent | null; - readonly agent2: Agent | null; - readonly collectionObject: CollectionObject; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly relativeAgeAttachments: RA; - readonly relativeAgeCitations: RA; - }; - readonly toManyIndependent: RR; -}; -export type AbsoluteAgeAttachment = { - readonly tableName: 'AbsoluteAgeAttachment'; - readonly fields: { - readonly ordinal: number | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly absoluteAge: AbsoluteAge; - readonly collectionMember: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type RelativeAgeAttachment = { - readonly tableName: 'RelativeAgeAttachment'; - readonly fields: { - readonly ordinal: number | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: { readonly attachment: Attachment }; - readonly toOneIndependent: { - readonly collectionMember: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly relativeAge: RelativeAge; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type AbsoluteAgeCitation = { - readonly tableName: 'AbsoluteAgeCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly absoluteAge: AbsoluteAge; - readonly collectionMember: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type RelativeAgeCitation = { - readonly tableName: 'RelativeAgeCitation'; - readonly fields: { - readonly figureNumber: string | null; - readonly isFigured: boolean | null; - readonly pageNumber: string | null; - readonly plateNumber: string | null; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly collectionMember: Collection; - readonly createdByAgent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly referenceWork: ReferenceWork; - readonly relativeAge: RelativeAge; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: RR; -}; -export type TectonicUnitTreeDef = { - readonly tableName: 'TectonicUnitTreeDef'; - readonly fields: { - readonly fullNameDirection: number | null; - readonly name: string; - readonly remarks: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdByAgent: Agent | null; - readonly discipline: Discipline; - readonly modifiedByAgent: Agent | null; - }; - readonly toManyDependent: { - readonly treeDefItems: RA; - }; - readonly toManyIndependent: { readonly treeEntries: RA }; -}; -export type TectonicUnitTreeDefItem = { - readonly tableName: 'TectonicUnitTreeDefItem'; - readonly fields: { - readonly fullNameSeparator: string | null; - readonly isEnforced: boolean | null; - readonly isInFullName: boolean | null; - readonly name: string; - readonly rankId: number; - readonly remarks: string | null; - readonly textAfter: string | null; - readonly textBefore: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly title: string | null; - readonly version: number | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly createdbyagent: Agent | null; - readonly modifiedByAgent: Agent | null; - readonly parent: TectonicUnitTreeDefItem | null; - readonly treeDef: TectonicUnitTreeDef; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly children: RA; - readonly treeEntries: RA; - }; -}; -export type TectonicUnit = { - readonly tableName: 'TectonicUnit'; - readonly fields: { - readonly fullName: string | null; - readonly guid: string | null; - readonly highestChildNodeNumber: number | null; - readonly isAccepted: boolean; - readonly name: string; - readonly nodeNumber: number | null; - readonly number1: number | null; - readonly number2: number | null; - readonly rankId: number; - readonly remarks: string | null; - readonly text1: string | null; - readonly text2: string | null; - readonly timestampCreated: string; - readonly timestampModified: string | null; - readonly version: number | null; - readonly yesno1: boolean | null; - readonly yesno2: boolean | null; - }; - readonly toOneDependent: RR; - readonly toOneIndependent: { - readonly acceptedTectonicUnit: TectonicUnit | null; - readonly createdByAgent: Agent | null; - readonly definition: TectonicUnitTreeDef; - readonly definitionItem: TectonicUnitTreeDefItem; - readonly modifiedByAgent: Agent | null; - readonly parent: TectonicUnit; - }; - readonly toManyDependent: RR; - readonly toManyIndependent: { - readonly acceptedChildren: RA; - readonly paleoContexts: RA; - }; -}; +export type Tables = {readonly Accession: Accession;readonly AccessionAgent: AccessionAgent;readonly AccessionAttachment: AccessionAttachment;readonly AccessionAuthorization: AccessionAuthorization;readonly AccessionCitation: AccessionCitation;readonly Address: Address;readonly AddressOfRecord: AddressOfRecord;readonly Agent: Agent;readonly AgentAttachment: AgentAttachment;readonly AgentGeography: AgentGeography;readonly AgentIdentifier: AgentIdentifier;readonly AgentSpecialty: AgentSpecialty;readonly AgentVariant: AgentVariant;readonly Appraisal: Appraisal;readonly Attachment: Attachment;readonly AttachmentImageAttribute: AttachmentImageAttribute;readonly AttachmentMetadata: AttachmentMetadata;readonly AttachmentTag: AttachmentTag;readonly AttributeDef: AttributeDef;readonly Author: Author;readonly AutoNumberingScheme: AutoNumberingScheme;readonly Borrow: Borrow;readonly BorrowAgent: BorrowAgent;readonly BorrowAttachment: BorrowAttachment;readonly BorrowMaterial: BorrowMaterial;readonly BorrowReturnMaterial: BorrowReturnMaterial;readonly CollectingEvent: CollectingEvent;readonly CollectingEventAttachment: CollectingEventAttachment;readonly CollectingEventAttr: CollectingEventAttr;readonly CollectingEventAttribute: CollectingEventAttribute;readonly CollectingEventAuthorization: CollectingEventAuthorization;readonly CollectingTrip: CollectingTrip;readonly CollectingTripAttachment: CollectingTripAttachment;readonly CollectingTripAttribute: CollectingTripAttribute;readonly CollectingTripAuthorization: CollectingTripAuthorization;readonly Collection: Collection;readonly CollectionObject: CollectionObject;readonly CollectionObjectAttachment: CollectionObjectAttachment;readonly CollectionObjectAttr: CollectionObjectAttr;readonly CollectionObjectAttribute: CollectionObjectAttribute;readonly CollectionObjectCitation: CollectionObjectCitation;readonly CollectionObjectProperty: CollectionObjectProperty;readonly CollectionRelType: CollectionRelType;readonly CollectionRelationship: CollectionRelationship;readonly Collector: Collector;readonly CommonNameTx: CommonNameTx;readonly CommonNameTxCitation: CommonNameTxCitation;readonly ConservDescription: ConservDescription;readonly ConservDescriptionAttachment: ConservDescriptionAttachment;readonly ConservEvent: ConservEvent;readonly ConservEventAttachment: ConservEventAttachment;readonly Container: Container;readonly DNAPrimer: DNAPrimer;readonly DNASequence: DNASequence;readonly DNASequenceAttachment: DNASequenceAttachment;readonly DNASequencingRun: DNASequencingRun;readonly DNASequencingRunAttachment: DNASequencingRunAttachment;readonly DNASequencingRunCitation: DNASequencingRunCitation;readonly DataType: DataType;readonly Deaccession: Deaccession;readonly DeaccessionAgent: DeaccessionAgent;readonly DeaccessionAttachment: DeaccessionAttachment;readonly Determination: Determination;readonly DeterminationCitation: DeterminationCitation;readonly Determiner: Determiner;readonly Discipline: Discipline;readonly Disposal: Disposal;readonly DisposalAgent: DisposalAgent;readonly DisposalAttachment: DisposalAttachment;readonly DisposalPreparation: DisposalPreparation;readonly Division: Division;readonly ExchangeIn: ExchangeIn;readonly ExchangeInAttachment: ExchangeInAttachment;readonly ExchangeInPrep: ExchangeInPrep;readonly ExchangeOut: ExchangeOut;readonly ExchangeOutAttachment: ExchangeOutAttachment;readonly ExchangeOutPrep: ExchangeOutPrep;readonly Exsiccata: Exsiccata;readonly ExsiccataItem: ExsiccataItem;readonly Extractor: Extractor;readonly FieldNotebook: FieldNotebook;readonly FieldNotebookAttachment: FieldNotebookAttachment;readonly FieldNotebookPage: FieldNotebookPage;readonly FieldNotebookPageAttachment: FieldNotebookPageAttachment;readonly FieldNotebookPageSet: FieldNotebookPageSet;readonly FieldNotebookPageSetAttachment: FieldNotebookPageSetAttachment;readonly FundingAgent: FundingAgent;readonly GeoCoordDetail: GeoCoordDetail;readonly Geography: Geography;readonly GeographyTreeDef: GeographyTreeDef;readonly GeographyTreeDefItem: GeographyTreeDefItem;readonly GeologicTimePeriod: GeologicTimePeriod;readonly GeologicTimePeriodTreeDef: GeologicTimePeriodTreeDef;readonly GeologicTimePeriodTreeDefItem: GeologicTimePeriodTreeDefItem;readonly Gift: Gift;readonly GiftAgent: GiftAgent;readonly GiftAttachment: GiftAttachment;readonly GiftPreparation: GiftPreparation;readonly GroupPerson: GroupPerson;readonly InfoRequest: InfoRequest;readonly Institution: Institution;readonly InstitutionNetwork: InstitutionNetwork;readonly Journal: Journal;readonly LatLonPolygon: LatLonPolygon;readonly LatLonPolygonPnt: LatLonPolygonPnt;readonly LithoStrat: LithoStrat;readonly LithoStratTreeDef: LithoStratTreeDef;readonly LithoStratTreeDefItem: LithoStratTreeDefItem;readonly Loan: Loan;readonly LoanAgent: LoanAgent;readonly LoanAttachment: LoanAttachment;readonly LoanPreparation: LoanPreparation;readonly LoanReturnPreparation: LoanReturnPreparation;readonly Locality: Locality;readonly LocalityAttachment: LocalityAttachment;readonly LocalityCitation: LocalityCitation;readonly LocalityDetail: LocalityDetail;readonly LocalityNameAlias: LocalityNameAlias;readonly MaterialSample: MaterialSample;readonly MorphBankView: MorphBankView;readonly OtherIdentifier: OtherIdentifier;readonly PaleoContext: PaleoContext;readonly PcrPerson: PcrPerson;readonly Permit: Permit;readonly PermitAttachment: PermitAttachment;readonly PickList: PickList;readonly PickListItem: PickListItem;readonly PrepType: PrepType;readonly Preparation: Preparation;readonly PreparationAttachment: PreparationAttachment;readonly PreparationAttr: PreparationAttr;readonly PreparationAttribute: PreparationAttribute;readonly PreparationProperty: PreparationProperty;readonly Project: Project;readonly RecordSet: RecordSet;readonly RecordSetItem: RecordSetItem;readonly ReferenceWork: ReferenceWork;readonly ReferenceWorkAttachment: ReferenceWorkAttachment;readonly RepositoryAgreement: RepositoryAgreement;readonly RepositoryAgreementAttachment: RepositoryAgreementAttachment;readonly Shipment: Shipment;readonly SpAppResource: SpAppResource;readonly SpAppResourceData: SpAppResourceData;readonly SpAppResourceDir: SpAppResourceDir;readonly SpAuditLog: SpAuditLog;readonly SpAuditLogField: SpAuditLogField;readonly SpExportSchema: SpExportSchema;readonly SpExportSchemaItem: SpExportSchemaItem;readonly SpExportSchemaItemMapping: SpExportSchemaItemMapping;readonly SpExportSchemaMapping: SpExportSchemaMapping;readonly SpFieldValueDefault: SpFieldValueDefault;readonly SpLocaleContainer: SpLocaleContainer;readonly SpLocaleContainerItem: SpLocaleContainerItem;readonly SpLocaleItemStr: SpLocaleItemStr;readonly SpPermission: SpPermission;readonly SpPrincipal: SpPrincipal;readonly SpQuery: SpQuery;readonly SpQueryField: SpQueryField;readonly SpReport: SpReport;readonly SpSymbiotaInstance: SpSymbiotaInstance;readonly SpTaskSemaphore: SpTaskSemaphore;readonly SpVersion: SpVersion;readonly SpViewSetObj: SpViewSetObj;readonly SpVisualQuery: SpVisualQuery;readonly SpecifyUser: SpecifyUser;readonly Storage: Storage;readonly StorageAttachment: StorageAttachment;readonly StorageTreeDef: StorageTreeDef;readonly StorageTreeDefItem: StorageTreeDefItem;readonly Taxon: Taxon;readonly TaxonAttachment: TaxonAttachment;readonly TaxonAttribute: TaxonAttribute;readonly TaxonCitation: TaxonCitation;readonly TaxonTreeDef: TaxonTreeDef;readonly TaxonTreeDefItem: TaxonTreeDefItem;readonly TreatmentEvent: TreatmentEvent;readonly TreatmentEventAttachment: TreatmentEventAttachment;readonly VoucherRelationship: VoucherRelationship;readonly Workbench: Workbench;readonly WorkbenchDataItem: WorkbenchDataItem;readonly WorkbenchRow: WorkbenchRow;readonly WorkbenchRowExportedRelationship: WorkbenchRowExportedRelationship;readonly WorkbenchRowImage: WorkbenchRowImage;readonly WorkbenchTemplate: WorkbenchTemplate;readonly WorkbenchTemplateMappingItem: WorkbenchTemplateMappingItem;readonly Spuserexternalid: Spuserexternalid;readonly Spattachmentdataset: Spattachmentdataset;readonly UniquenessRule: UniquenessRule;readonly UniquenessRuleField: UniquenessRuleField;readonly Message: Message;readonly Spmerging: Spmerging;readonly LocalityUpdate: LocalityUpdate;readonly LocalityUpdateRowResult: LocalityUpdateRowResult;readonly UserPolicy: UserPolicy;readonly Role: Role;readonly LibraryRole: LibraryRole;readonly UserRole: UserRole;readonly RolePolicy: RolePolicy;readonly LibraryRolePolicy: LibraryRolePolicy;readonly Spdataset: Spdataset;readonly CollectionObjectType: CollectionObjectType;readonly CollectionObjectGroup: CollectionObjectGroup;readonly CollectionObjectGroupJoin: CollectionObjectGroupJoin;readonly CollectionObjectGroupType: CollectionObjectGroupType;readonly AbsoluteAge: AbsoluteAge;readonly RelativeAge: RelativeAge;readonly AbsoluteAgeAttachment: AbsoluteAgeAttachment;readonly RelativeAgeAttachment: RelativeAgeAttachment;readonly AbsoluteAgeCitation: AbsoluteAgeCitation;readonly RelativeAgeCitation: RelativeAgeCitation;readonly TectonicUnitTreeDef: TectonicUnitTreeDef;readonly TectonicUnitTreeDefItem: TectonicUnitTreeDefItem;readonly TectonicUnit: TectonicUnit;readonly DrainageTreeDef: DrainageTreeDef;readonly DrainageTreeDefItem: DrainageTreeDefItem;readonly Drainage: Drainage};export type Accession = {readonly tableName: 'Accession';readonly fields: {readonly accessionCondition:string|null;readonly text2:string|null;readonly accessionNumber:string;readonly actualTotalCountAmt:number|null;readonly collectionObjectCount:number|null;readonly dateAccessioned:string|null;readonly dateAcknowledged:string|null;readonly dateReceived:string|null;readonly text3:string|null;readonly remarks:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly number1:number|null;readonly number2:number|null;readonly text1:string|null;readonly preparationCount:number|null;readonly status:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly totalCountAmt:number|null;readonly totalValue:number|null;readonly type:string|null;readonly verbatimDate:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly division:Division;readonly modifiedByAgent:Agent|null;readonly repositoryAgreement:RepositoryAgreement|null};readonly toManyDependent: {readonly accessionAgents:RA;readonly accessionAttachments:RA;readonly accessionAuthorizations:RA};readonly toManyIndependent: {readonly accessionCitations:RA;readonly appraisals:RA;readonly collectionObjects:RA;readonly treatmentEvents:RA}};export type AccessionAgent = {readonly tableName: 'AccessionAgent';readonly fields: {readonly remarks:string|null;readonly role:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly accession:Accession|null;readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly repositoryAgreement:RepositoryAgreement|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AccessionAttachment = {readonly tableName: 'AccessionAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly accession:Accession;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AccessionAuthorization = {readonly tableName: 'AccessionAuthorization';readonly fields: {readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly accession:Accession|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly permit:Permit;readonly repositoryAgreement:RepositoryAgreement|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AccessionCitation = {readonly tableName: 'AccessionCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly accession:Accession;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Address = {readonly tableName: 'Address';readonly fields: {readonly address:string|null;readonly address2:string|null;readonly address3:string|null;readonly address4:string|null;readonly address5:string|null;readonly city:string|null;readonly country:string|null;readonly endDate:string|null;readonly fax:string|null;readonly isCurrent:boolean|null;readonly isPrimary:boolean|null;readonly isShipping:boolean|null;readonly ordinal:number|null;readonly phone1:string|null;readonly phone2:string|null;readonly positionHeld:string|null;readonly postalCode:string|null;readonly remarks:string|null;readonly roomOrBuilding:string|null;readonly startDate:string|null;readonly state:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly typeOfAddr:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly divisions:RA;readonly insitutions:RA}};export type AddressOfRecord = {readonly tableName: 'AddressOfRecord';readonly fields: {readonly address:string|null;readonly address2:string|null;readonly city:string|null;readonly country:string|null;readonly postalCode:string|null;readonly remarks:string|null;readonly state:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly accessions:RA;readonly borrow:RA;readonly exchangeIns:RA;readonly exchangeOuts:RA;readonly loans:RA;readonly repositoryAgreements:RA}};export type Agent = {readonly tableName: 'Agent';readonly fields: {readonly abbreviation:string|null;readonly agentType:number;readonly dateOfBirth:string|null;readonly dateOfBirthPrecision:number|null;readonly dateOfDeath:string|null;readonly dateOfDeathPrecision:number|null;readonly dateType:number|null;readonly date1:string|null;readonly date2:string|null;readonly date1Precision:number|null;readonly date2Precision:number|null;readonly email:string|null;readonly firstName:string|null;readonly guid:string|null;readonly initials:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly interests:string|null;readonly jobTitle:string|null;readonly lastName:string|null;readonly middleInitial:string|null;readonly remarks:string|null;readonly suffix:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly url:string|null;readonly verbatimDate1:string|null;readonly verbatimDate2:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collContentContact:Collection|null;readonly collTechContact:Collection|null;readonly createdByAgent:Agent|null;readonly division:Division|null;readonly instContentContact:Institution|null;readonly instTechContact:Institution|null;readonly modifiedByAgent:Agent|null;readonly organization:Agent|null;readonly specifyUser:SpecifyUser|null};readonly toManyDependent: {readonly addresses:RA
;readonly agentAttachments:RA;readonly agentGeographies:RA;readonly agentSpecialties:RA;readonly identifiers:RA;readonly groups:RA;readonly variants:RA};readonly toManyIndependent: {readonly catalogerOf:RA;readonly collectors:RA;readonly members:RA;readonly orgMembers:RA}};export type AgentAttachment = {readonly tableName: 'AgentAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AgentGeography = {readonly tableName: 'AgentGeography';readonly fields: {readonly remarks:string|null;readonly role:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly geography:Geography;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AgentIdentifier = {readonly tableName: 'AgentIdentifier';readonly fields: {readonly date1:string|null;readonly date1Precision:number|null;readonly date2:string|null;readonly date2Precision:number|null;readonly identifier:string;readonly identifierType:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AgentSpecialty = {readonly tableName: 'AgentSpecialty';readonly fields: {readonly orderNumber:number;readonly specialtyName:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AgentVariant = {readonly tableName: 'AgentVariant';readonly fields: {readonly country:string|null;readonly language:string|null;readonly name:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly varType:number;readonly variant:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Appraisal = {readonly tableName: 'Appraisal';readonly fields: {readonly appraisalDate:string;readonly appraisalNumber:string;readonly appraisalValue:number|null;readonly monetaryUnitType:string|null;readonly notes:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly accession:Accession|null;readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectionObjects:RA}};export type Attachment = {readonly tableName: 'Attachment';readonly fields: {readonly attachmentStorageConfig:string|null;readonly captureDevice:string|null;readonly copyrightHolder:string|null;readonly credit:string|null;readonly fileCreatedDate:string|null;readonly copyrightDate:string|null;readonly metadataText:string|null;readonly dateImaged:string|null;readonly mimeType:string|null;readonly origFilename:string;readonly guid:string|null;readonly license:string|null;readonly licenseLogoUrl:string|null;readonly isPublic:boolean;readonly attachmentLocation:string|null;readonly subtype:string|null;readonly scopeID:number|null;readonly scopeType:number|null;readonly subjectOrientation:string|null;readonly tableID:number|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly type:string|null;readonly remarks:string|null;readonly version:number|null;readonly visibility:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly attachmentImageAttribute:AttachmentImageAttribute|null;readonly createdByAgent:Agent|null;readonly creator:Agent|null;readonly modifiedByAgent:Agent|null;readonly visibilitySetBy:SpecifyUser|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly accessionAttachments:RA;readonly agentAttachments:RA;readonly borrowAttachments:RA;readonly collectingEventAttachments:RA;readonly collectingTripAttachments:RA;readonly collectionObjectAttachments:RA;readonly conservDescriptionAttachments:RA;readonly conservEventAttachments:RA;readonly deaccessionAttachments:RA;readonly disposalAttachments:RA;readonly dnaSequenceAttachments:RA;readonly dnaSequencingRunAttachments:RA;readonly exchangeInAttachments:RA;readonly exchangeOutAttachments:RA;readonly fieldNotebookAttachments:RA;readonly fieldNotebookPageAttachments:RA;readonly fieldNotebookPageSetAttachments:RA;readonly giftAttachments:RA;readonly loanAttachments:RA;readonly localityAttachments:RA;readonly metadata:RA;readonly permitAttachments:RA;readonly preparationAttachments:RA;readonly referenceWorkAttachments:RA;readonly repositoryAgreementAttachments:RA;readonly storageAttachments:RA;readonly tags:RA;readonly taxonAttachments:RA;readonly treatmentEventAttachments:RA}};export type AttachmentImageAttribute = {readonly tableName: 'AttachmentImageAttribute';readonly fields: {readonly creativeCommons:string|null;readonly height:number|null;readonly imageType:string|null;readonly magnification:number|null;readonly mbImageId:number|null;readonly number1:number|null;readonly number2:number|null;readonly remarks:string|null;readonly resolution:number|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampLastSend:string|null;readonly timestampLastUpdateCheck:string|null;readonly timestampModified:string|null;readonly version:number|null;readonly viewDescription:string|null;readonly width:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly morphBankView:MorphBankView|null};readonly toManyDependent: {readonly attachments:RA};readonly toManyIndependent: RR};export type AttachmentMetadata = {readonly tableName: 'AttachmentMetadata';readonly fields: {readonly name:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly value:string;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly attachment:Attachment|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AttachmentTag = {readonly tableName: 'AttachmentTag';readonly fields: {readonly tag:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly attachment:Attachment;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AttributeDef = {readonly tableName: 'AttributeDef';readonly fields: {readonly dataType:number|null;readonly fieldName:string|null;readonly tableType:number|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null;readonly prepType:PrepType|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectingEventAttrs:RA;readonly collectionObjectAttrs:RA;readonly preparationAttrs:RA}};export type Author = {readonly tableName: 'Author';readonly fields: {readonly orderNumber:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AutoNumberingScheme = {readonly tableName: 'AutoNumberingScheme';readonly fields: {readonly formatName:string|null;readonly isNumericOnly:boolean;readonly schemeClassName:string|null;readonly schemeName:string|null;readonly tableNumber:number;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collections:RA;readonly disciplines:RA;readonly divisions:RA}};export type Borrow = {readonly tableName: 'Borrow';readonly fields: {readonly borrowDate:string|null;readonly borrowDatePrecision:number|null;readonly collectionMemberId:number;readonly currentDueDate:string|null;readonly dateClosed:string|null;readonly yesNo1:boolean|null;readonly invoiceNumber:string;readonly isClosed:boolean|null;readonly isFinancialResponsibility:boolean|null;readonly numberOfItemsBorrowed:number|null;readonly number1:number|null;readonly number2:number|null;readonly originalDueDate:string|null;readonly receivedDate:string|null;readonly remarks:string|null;readonly status:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly borrowAgents:RA;readonly borrowAttachments:RA;readonly borrowMaterials:RA;readonly shipments:RA};readonly toManyIndependent: RR};export type BorrowAgent = {readonly tableName: 'BorrowAgent';readonly fields: {readonly collectionMemberId:number;readonly remarks:string|null;readonly role:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly borrow:Borrow;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type BorrowAttachment = {readonly tableName: 'BorrowAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly borrow:Borrow;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type BorrowMaterial = {readonly tableName: 'BorrowMaterial';readonly fields: {readonly collectionMemberId:number;readonly description:string|null;readonly inComments:string|null;readonly materialNumber:string;readonly outComments:string|null;readonly quantity:number|null;readonly quantityResolved:number|null;readonly quantityReturned:number|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly borrow:Borrow;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly borrowReturnMaterials:RA};readonly toManyIndependent: RR};export type BorrowReturnMaterial = {readonly tableName: 'BorrowReturnMaterial';readonly fields: {readonly collectionMemberId:number;readonly quantity:number|null;readonly remarks:string|null;readonly returnedDate:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent|null;readonly borrowMaterial:BorrowMaterial;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectingEvent = {readonly tableName: 'CollectingEvent';readonly fields: {readonly stationFieldNumber:string|null;readonly startDate:string|null;readonly text3:string|null;readonly endDate:string|null;readonly endDatePrecision:number|null;readonly endDateVerbatim:string|null;readonly endTime:number|null;readonly guid:string|null;readonly remarks:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly method:string|null;readonly text2:string|null;readonly reservedInteger3:number|null;readonly reservedInteger4:number|null;readonly reservedText1:string|null;readonly reservedText2:string|null;readonly sgrStatus:number|null;readonly text4:string|null;readonly text5:string|null;readonly startDatePrecision:number|null;readonly startDateVerbatim:string|null;readonly stationFieldNumberModifier1:string|null;readonly stationFieldNumberModifier2:string|null;readonly stationFieldNumberModifier3:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly startTime:number|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly uniqueIdentifier:string|null;readonly text1:string|null;readonly verbatimDate:string|null;readonly verbatimLocality:string|null;readonly version:number|null;readonly visibility:number|null};readonly toOneDependent: {readonly collectingEventAttribute:CollectingEventAttribute|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly collectingTrip:CollectingTrip|null;readonly locality:Locality|null;readonly modifiedByAgent:Agent|null;readonly paleoContext:PaleoContext|null;readonly visibilitySetBy:SpecifyUser|null};readonly toManyDependent: {readonly collectingEventAttachments:RA;readonly collectingEventAttrs:RA;readonly collectingEventAuthorizations:RA;readonly collectors:RA};readonly toManyIndependent: {readonly collectionObjects:RA}};export type CollectingEventAttachment = {readonly tableName: 'CollectingEventAttachment';readonly fields: {readonly collectionMemberId:number;readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly collectingEvent:CollectingEvent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectingEventAttr = {readonly tableName: 'CollectingEventAttr';readonly fields: {readonly collectionMemberId:number;readonly dblValue:number|null;readonly strValue:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectingEvent:CollectingEvent;readonly createdByAgent:Agent|null;readonly definition:AttributeDef;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectingEventAttribute = {readonly tableName: 'CollectingEventAttribute';readonly fields: {readonly integer1:number|null;readonly integer10:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly integer6:number|null;readonly integer7:number|null;readonly integer8:number|null;readonly integer9:number|null;readonly number1:number|null;readonly number10:number|null;readonly number11:number|null;readonly number12:number|null;readonly number13:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly number6:number|null;readonly number7:number|null;readonly number8:number|null;readonly number9:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly hostTaxon:Taxon|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectingEvents:RA}};export type CollectingEventAuthorization = {readonly tableName: 'CollectingEventAuthorization';readonly fields: {readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectingEvent:CollectingEvent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly permit:Permit};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectingTrip = {readonly tableName: 'CollectingTrip';readonly fields: {readonly cruise:string|null;readonly date1:string|null;readonly date1Precision:number|null;readonly date2:string|null;readonly date2Precision:number|null;readonly endDate:string|null;readonly endDatePrecision:number|null;readonly endDateVerbatim:string|null;readonly endTime:number|null;readonly expedition:string|null;readonly number1:number|null;readonly number2:number|null;readonly remarks:string|null;readonly sponsor:string|null;readonly startDate:string|null;readonly startDatePrecision:number|null;readonly startDateVerbatim:string|null;readonly startTime:number|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly collectingTripName:string|null;readonly version:number|null;readonly vessel:string|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly collectingTripAttribute:CollectingTripAttribute|null};readonly toOneIndependent: {readonly agent1:Agent|null;readonly agent2:Agent|null;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly collectingTripAttachments:RA;readonly collectingTripAuthorizations:RA;readonly fundingAgents:RA};readonly toManyIndependent: {readonly collectingEvents:RA}};export type CollectingTripAttachment = {readonly tableName: 'CollectingTripAttachment';readonly fields: {readonly collectionMemberId:number;readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly collectingTrip:CollectingTrip;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectingTripAttribute = {readonly tableName: 'CollectingTripAttribute';readonly fields: {readonly integer1:number|null;readonly integer10:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly integer6:number|null;readonly integer7:number|null;readonly integer8:number|null;readonly integer9:number|null;readonly number1:number|null;readonly number10:number|null;readonly number11:number|null;readonly number12:number|null;readonly number13:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly number6:number|null;readonly number7:number|null;readonly number8:number|null;readonly number9:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectingTrips:RA}};export type CollectingTripAuthorization = {readonly tableName: 'CollectingTripAuthorization';readonly fields: {readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectingTrip:CollectingTrip|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly permit:Permit};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Collection = {readonly tableName: 'Collection';readonly fields: {readonly catalogNumFormatName:string;readonly code:string|null;readonly collectionName:string|null;readonly collectionType:string|null;readonly dbContentVersion:string|null;readonly description:string|null;readonly developmentStatus:string|null;readonly estimatedSize:number|null;readonly guid:string|null;readonly institutionType:string|null;readonly isEmbeddedCollectingEvent:boolean;readonly isaNumber:string|null;readonly kingdomCoverage:string|null;readonly preservationMethodType:string|null;readonly primaryFocus:string|null;readonly primaryPurpose:string|null;readonly regNumber:string|null;readonly remarks:string|null;readonly scope:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly webPortalURI:string|null;readonly webSiteURI:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly adminContact:Agent|null;readonly collectionObjectType:CollectionObjectType|null;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly institutionNetwork:Institution|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectionObjects:RA;readonly contentContacts:RA;readonly leftSideRelTypes:RA;readonly numberingSchemes:RA;readonly pickLists:RA;readonly prepTypes:RA;readonly rightSideRelTypes:RA;readonly technicalContacts:RA;readonly userGroups:RA}};export type CollectionObject = {readonly tableName: 'CollectionObject';readonly fields: {readonly actualTotalCountAmt:number|null;readonly age:string|null;readonly altCatalogNumber:string|null;readonly availability:string|null;readonly catalogNumber:string|null;readonly catalogedDate:string|null;readonly catalogedDatePrecision:number|null;readonly catalogedDateVerbatim:string|null;readonly text2:string|null;readonly text3:string|null;readonly collectionMemberId:number;readonly countAmt:number|null;readonly timestampCreated:string;readonly date1:string|null;readonly date1Precision:number|null;readonly deaccessioned:boolean|null;readonly embargoReason:string|null;readonly embargoReleaseDate:string|null;readonly embargoReleaseDatePrecision:number|null;readonly embargoStartDate:string|null;readonly embargoStartDatePrecision:number|null;readonly fieldNumber:string|null;readonly guid:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly inventoryDate:string|null;readonly inventoryDatePrecision:number|null;readonly isMemberOfCOG:boolean|null;readonly timestampModified:string|null;readonly modifier:string|null;readonly name:string|null;readonly notifications:string|null;readonly numberOfDuplicates:number|null;readonly number1:number|null;readonly number2:number|null;readonly objectCondition:string|null;readonly ocr:string|null;readonly text1:string|null;readonly projectNumber:string|null;readonly yesNo1:boolean|null;readonly remarks:string|null;readonly reservedInteger3:number|null;readonly reservedInteger4:number|null;readonly reservedText:string|null;readonly reservedText2:string|null;readonly reservedText3:string|null;readonly restrictions:string|null;readonly sgrStatus:number|null;readonly description:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly totalCountAmt:number|null;readonly totalValue:number|null;readonly uniqueIdentifier:string|null;readonly version:number|null;readonly visibility:number|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null;readonly yesNo6:boolean|null};readonly toOneDependent: {readonly cojo:CollectionObjectGroupJoin|null;readonly collectionObjectAttribute:CollectionObjectAttribute|null};readonly toOneIndependent: {readonly accession:Accession|null;readonly agent1:Agent|null;readonly appraisal:Appraisal|null;readonly cataloger:Agent|null;readonly collectingEvent:CollectingEvent|null;readonly collection:Collection;readonly collectionObjectType:CollectionObjectType;readonly container:Container|null;readonly containerOwner:Container|null;readonly createdByAgent:Agent|null;readonly currentDetermination:Determination|null;readonly embargoAuthority:Agent|null;readonly fieldNotebookPage:FieldNotebookPage|null;readonly inventorizedBy:Agent|null;readonly modifiedByAgent:Agent|null;readonly paleoContext:PaleoContext|null;readonly visibilitySetBy:SpecifyUser|null};readonly toManyDependent: {readonly absoluteAges:RA;readonly collectionObjectAttachments:RA;readonly collectionObjectAttrs:RA;readonly collectionObjectCitations:RA;readonly collectionObjectProperties:RA;readonly conservDescriptions:RA;readonly determinations:RA;readonly dnaSequences:RA;readonly exsiccataItems:RA;readonly leftSideRels:RA;readonly otherIdentifiers:RA;readonly preparations:RA;readonly relativeAges:RA;readonly rightSideRels:RA;readonly treatmentEvents:RA;readonly voucherRelationships:RA};readonly toManyIndependent: {readonly projects:RA}};export type CollectionObjectAttachment = {readonly tableName: 'CollectionObjectAttachment';readonly fields: {readonly collectionMemberId:number;readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionObjectAttr = {readonly tableName: 'CollectionObjectAttr';readonly fields: {readonly collectionMemberId:number;readonly dblValue:number|null;readonly strValue:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly definition:AttributeDef;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionObjectAttribute = {readonly tableName: 'CollectionObjectAttribute';readonly fields: {readonly text8:string|null;readonly text2:string|null;readonly number9:number|null;readonly bottomDistance:number|null;readonly collectionMemberId:number;readonly date1:string|null;readonly date1Precision:number|null;readonly direction:string|null;readonly distanceUnits:string|null;readonly number11:number|null;readonly number2:number|null;readonly text5:string|null;readonly number7:number|null;readonly integer1:number|null;readonly integer10:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly integer6:number|null;readonly integer7:number|null;readonly integer8:number|null;readonly integer9:number|null;readonly text18:string|null;readonly text16:string|null;readonly number12:number|null;readonly number13:number|null;readonly number14:number|null;readonly number15:number|null;readonly number16:number|null;readonly number17:number|null;readonly number18:number|null;readonly number19:number|null;readonly number20:number|null;readonly number21:number|null;readonly number22:number|null;readonly number23:number|null;readonly number24:number|null;readonly number25:number|null;readonly number26:number|null;readonly number27:number|null;readonly number28:number|null;readonly number29:number|null;readonly number30:number|null;readonly number31:number|null;readonly number32:number|null;readonly number33:number|null;readonly number34:number|null;readonly number35:number|null;readonly number36:number|null;readonly number37:number|null;readonly number38:number|null;readonly number39:number|null;readonly number4:number|null;readonly number40:number|null;readonly number41:number|null;readonly number42:number|null;readonly number5:number|null;readonly number6:number|null;readonly number8:number|null;readonly text3:string|null;readonly positionState:string|null;readonly remarks:string|null;readonly text6:string|null;readonly text1:string|null;readonly text4:string|null;readonly number3:number|null;readonly number10:number|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text17:string|null;readonly text19:string|null;readonly text20:string|null;readonly text21:string|null;readonly text22:string|null;readonly text23:string|null;readonly text24:string|null;readonly text25:string|null;readonly text26:string|null;readonly text27:string|null;readonly text28:string|null;readonly text29:string|null;readonly text30:string|null;readonly text31:string|null;readonly text32:string|null;readonly text33:string|null;readonly text34:string|null;readonly text35:string|null;readonly text36:string|null;readonly text37:string|null;readonly text38:string|null;readonly text39:string|null;readonly text40:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly topDistance:number|null;readonly text7:string|null;readonly version:number|null;readonly number1:number|null;readonly yesNo1:boolean|null;readonly yesNo10:boolean|null;readonly yesNo11:boolean|null;readonly yesNo12:boolean|null;readonly yesNo13:boolean|null;readonly yesNo14:boolean|null;readonly yesNo15:boolean|null;readonly yesNo16:boolean|null;readonly yesNo17:boolean|null;readonly yesNo18:boolean|null;readonly yesNo19:boolean|null;readonly yesNo2:boolean|null;readonly yesNo20:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null;readonly yesNo6:boolean|null;readonly yesNo7:boolean|null;readonly yesNo8:boolean|null;readonly yesNo9:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly agent1:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectionObjects:RA}};export type CollectionObjectCitation = {readonly tableName: 'CollectionObjectCitation';readonly fields: {readonly collectionMemberId:number;readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionObjectProperty = {readonly tableName: 'CollectionObjectProperty';readonly fields: {readonly collectionMemberId:number;readonly date1:string|null;readonly date10:string|null;readonly date11:string|null;readonly date12:string|null;readonly date13:string|null;readonly date14:string|null;readonly date15:string|null;readonly date16:string|null;readonly date17:string|null;readonly date18:string|null;readonly date19:string|null;readonly date2:string|null;readonly date20:string|null;readonly date3:string|null;readonly date4:string|null;readonly date5:string|null;readonly date6:string|null;readonly date7:string|null;readonly date8:string|null;readonly date9:string|null;readonly guid:string|null;readonly integer1:number|null;readonly integer10:number|null;readonly integer11:number|null;readonly integer12:number|null;readonly integer13:number|null;readonly integer14:number|null;readonly integer15:number|null;readonly integer16:number|null;readonly integer17:number|null;readonly integer18:number|null;readonly integer19:number|null;readonly integer2:number|null;readonly integer20:number|null;readonly integer21:number|null;readonly integer22:number|null;readonly integer23:number|null;readonly integer24:number|null;readonly integer25:number|null;readonly integer26:number|null;readonly integer27:number|null;readonly integer28:number|null;readonly integer29:number|null;readonly integer3:number|null;readonly integer30:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly integer6:number|null;readonly integer7:number|null;readonly integer8:number|null;readonly integer9:number|null;readonly number1:number|null;readonly number10:number|null;readonly number11:number|null;readonly number12:number|null;readonly number13:number|null;readonly number14:number|null;readonly number15:number|null;readonly number16:number|null;readonly number17:number|null;readonly number18:number|null;readonly number19:number|null;readonly number2:number|null;readonly number20:number|null;readonly number21:number|null;readonly number22:number|null;readonly number23:number|null;readonly number24:number|null;readonly number25:number|null;readonly number26:number|null;readonly number27:number|null;readonly number28:number|null;readonly number29:number|null;readonly number3:number|null;readonly number30:number|null;readonly number4:number|null;readonly number5:number|null;readonly number6:number|null;readonly number7:number|null;readonly number8:number|null;readonly number9:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text18:string|null;readonly text19:string|null;readonly text2:string|null;readonly text20:string|null;readonly text21:string|null;readonly text22:string|null;readonly text23:string|null;readonly text24:string|null;readonly text25:string|null;readonly text26:string|null;readonly text27:string|null;readonly text28:string|null;readonly text29:string|null;readonly text3:string|null;readonly text30:string|null;readonly text31:string|null;readonly text32:string|null;readonly text33:string|null;readonly text34:string|null;readonly text35:string|null;readonly text36:string|null;readonly text37:string|null;readonly text38:string|null;readonly text39:string|null;readonly text4:string|null;readonly text40:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo10:boolean|null;readonly yesNo11:boolean|null;readonly yesNo12:boolean|null;readonly yesNo13:boolean|null;readonly yesNo14:boolean|null;readonly yesNo15:boolean|null;readonly yesNo16:boolean|null;readonly yesNo17:boolean|null;readonly yesNo18:boolean|null;readonly yesNo19:boolean|null;readonly yesNo2:boolean|null;readonly yesNo20:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null;readonly yesNo6:boolean|null;readonly yesNo7:boolean|null;readonly yesNo8:boolean|null;readonly yesNo9:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent1:Agent|null;readonly agent10:Agent|null;readonly agent11:Agent|null;readonly agent12:Agent|null;readonly agent13:Agent|null;readonly agent14:Agent|null;readonly agent15:Agent|null;readonly agent16:Agent|null;readonly agent17:Agent|null;readonly agent18:Agent|null;readonly agent19:Agent|null;readonly agent2:Agent|null;readonly agent20:Agent|null;readonly agent3:Agent|null;readonly agent4:Agent|null;readonly agent5:Agent|null;readonly agent6:Agent|null;readonly agent7:Agent|null;readonly agent8:Agent|null;readonly agent9:Agent|null;readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionRelType = {readonly tableName: 'CollectionRelType';readonly fields: {readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly leftSideCollection:Collection|null;readonly modifiedByAgent:Agent|null;readonly rightSideCollection:Collection|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionRelationship = {readonly tableName: 'CollectionRelationship';readonly fields: {readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionRelType:CollectionRelType;readonly createdByAgent:Agent|null;readonly leftSide:CollectionObject;readonly modifiedByAgent:Agent|null;readonly rightSide:CollectionObject};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Collector = {readonly tableName: 'Collector';readonly fields: {readonly isPrimary:boolean;readonly orderNumber:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly collectingEvent:CollectingEvent;readonly createdByAgent:Agent|null;readonly division:Division|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CommonNameTx = {readonly tableName: 'CommonNameTx';readonly fields: {readonly author:string|null;readonly country:string|null;readonly language:string|null;readonly name:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly variant:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly taxon:Taxon};readonly toManyDependent: {readonly citations:RA};readonly toManyIndependent: RR};export type CommonNameTxCitation = {readonly tableName: 'CommonNameTxCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly number1:number|null;readonly number2:number|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly commonNameTx:CommonNameTx;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type ConservDescription = {readonly tableName: 'ConservDescription';readonly fields: {readonly backgroundInfo:string|null;readonly composition:string|null;readonly date1:string|null;readonly date1Precision:number|null;readonly date2:string|null;readonly date2Precision:number|null;readonly date3:string|null;readonly date3Precision:number|null;readonly date4:string|null;readonly date4Precision:number|null;readonly date5:string|null;readonly date5Precision:number|null;readonly description:string|null;readonly determinedDate:string|null;readonly displayRecommendations:string|null;readonly height:number|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly lightRecommendations:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly objLength:number|null;readonly otherRecommendations:string|null;readonly remarks:string|null;readonly shortDesc:string|null;readonly source:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly units:string|null;readonly version:number|null;readonly width:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject|null;readonly createdByAgent:Agent|null;readonly division:Division|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation|null};readonly toManyDependent: {readonly conservDescriptionAttachments:RA;readonly events:RA};readonly toManyIndependent: RR};export type ConservDescriptionAttachment = {readonly tableName: 'ConservDescriptionAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly conservDescription:ConservDescription;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type ConservEvent = {readonly tableName: 'ConservEvent';readonly fields: {readonly advTestingExam:string|null;readonly advTestingExamResults:string|null;readonly curatorApprovalDate:string|null;readonly completedComments:string|null;readonly completedDate:string|null;readonly completedDatePrecision:number|null;readonly conditionReport:string|null;readonly curatorApprovalDatePrecision:number|null;readonly examDate:string|null;readonly examDatePrecision:number|null;readonly number1:number|null;readonly number2:number|null;readonly photoDocs:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly treatmentCompDatePrecision:number|null;readonly treatmentCompDate:string|null;readonly treatmentReport:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly conservDescription:ConservDescription;readonly createdByAgent:Agent|null;readonly curator:Agent|null;readonly examinedByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly treatedByAgent:Agent|null};readonly toManyDependent: {readonly conservEventAttachments:RA};readonly toManyIndependent: RR};export type ConservEventAttachment = {readonly tableName: 'ConservEventAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly conservEvent:ConservEvent;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Container = {readonly tableName: 'Container';readonly fields: {readonly collectionMemberId:number;readonly description:string|null;readonly name:string|null;readonly number:number|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:number|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:Container|null;readonly storage:Storage|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly collectionObjectKids:RA;readonly collectionObjects:RA}};export type DNAPrimer = {readonly tableName: 'DNAPrimer';readonly fields: {readonly integer1:number|null;readonly integer2:number|null;readonly number1:number|null;readonly number2:number|null;readonly primerDesignator:string|null;readonly primerNameForward:string|null;readonly primerNameReverse:string|null;readonly primerReferenceCitationForward:string|null;readonly primerReferenceCitationReverse:string|null;readonly primerReferenceLinkForward:string|null;readonly primerReferenceLinkReverse:string|null;readonly primerSequenceForward:string|null;readonly primerSequenceReverse:string|null;readonly purificationMethod:string|null;readonly remarks:string|null;readonly reservedInteger3:number|null;readonly reservedInteger4:number|null;readonly reservedNumber3:number|null;readonly reservedNumber4:number|null;readonly reservedText3:string|null;readonly reservedText4:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly dnaSequencingRuns:RA}};export type DNASequence = {readonly tableName: 'DNASequence';readonly fields: {readonly ambiguousResidues:number|null;readonly boldBarcodeId:string|null;readonly boldLastUpdateDate:string|null;readonly boldSampleId:string|null;readonly boldTranslationMatrix:string|null;readonly collectionMemberId:number;readonly compA:number|null;readonly compC:number|null;readonly compG:number|null;readonly compT:number|null;readonly extractionDate:string|null;readonly extractionDatePrecision:number|null;readonly genbankAccessionNumber:string|null;readonly geneSequence:string|null;readonly moleculeType:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly remarks:string|null;readonly sequenceDate:string|null;readonly sequenceDatePrecision:number|null;readonly targetMarker:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly totalResidues:number|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject|null;readonly createdByAgent:Agent|null;readonly extractor:Agent|null;readonly materialSample:MaterialSample|null;readonly modifiedByAgent:Agent|null;readonly sequencer:Agent|null};readonly toManyDependent: {readonly attachments:RA;readonly dnaSequencingRuns:RA};readonly toManyIndependent: {readonly extractors:RA;readonly pcrPersons:RA}};export type DNASequenceAttachment = {readonly tableName: 'DNASequenceAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly dnaSequence:DNASequence;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type DNASequencingRun = {readonly tableName: 'DNASequencingRun';readonly fields: {readonly collectionMemberId:number;readonly dryadDOI:string|null;readonly geneSequence:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly ordinal:number|null;readonly pcrCocktailPrimer:boolean|null;readonly pcrForwardPrimerCode:string|null;readonly pcrPrimerName:string|null;readonly pcrPrimerSequence5_3:string|null;readonly pcrReversePrimerCode:string|null;readonly readDirection:string|null;readonly remarks:string|null;readonly runDate:string|null;readonly scoreFileName:string|null;readonly sequenceCocktailPrimer:boolean|null;readonly sequencePrimerCode:string|null;readonly sequencePrimerName:string|null;readonly sequencePrimerSequence5_3:string|null;readonly sraExperimentID:string|null;readonly sraRunID:string|null;readonly sraSubmissionID:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly traceFileName:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly dnaPrimer:DNAPrimer|null;readonly dnaSequence:DNASequence;readonly modifiedByAgent:Agent|null;readonly preparedByAgent:Agent|null;readonly runByAgent:Agent|null};readonly toManyDependent: {readonly citations:RA;readonly attachments:RA};readonly toManyIndependent: RR};export type DNASequencingRunAttachment = {readonly tableName: 'DNASequencingRunAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly dnaSequencingRun:DNASequencingRun;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type DNASequencingRunCitation = {readonly tableName: 'DNASequencingRunCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly number1:number|null;readonly number2:number|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork;readonly sequencingRun:DNASequencingRun};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type DataType = {readonly tableName: 'DataType';readonly fields: {readonly name:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Deaccession = {readonly tableName: 'Deaccession';readonly fields: {readonly date1:string|null;readonly date2:string|null;readonly deaccessionDate:string|null;readonly deaccessionNumber:string;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly remarks:string|null;readonly status:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly totalItems:number|null;readonly totalPreps:number|null;readonly type:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent1:Agent|null;readonly agent2:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly deaccessionAgents:RA;readonly deaccessionAttachments:RA};readonly toManyIndependent: {readonly disposals:RA;readonly exchangeOuts:RA;readonly gifts:RA}};export type DeaccessionAgent = {readonly tableName: 'DeaccessionAgent';readonly fields: {readonly remarks:string|null;readonly role:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly deaccession:Deaccession;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type DeaccessionAttachment = {readonly tableName: 'DeaccessionAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly deaccession:Deaccession;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Determination = {readonly tableName: 'Determination';readonly fields: {readonly addendum:string|null;readonly alternateName:string|null;readonly collectionMemberId:number;readonly confidence:string|null;readonly isCurrent:boolean;readonly determinedDate:string|null;readonly determinedDatePrecision:number|null;readonly featureOrBasis:string|null;readonly guid:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly method:string|null;readonly nameUsage:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly qualifier:string|null;readonly remarks:string|null;readonly subSpQualifier:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly typeStatusName:string|null;readonly varQualifier:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly determiner:Agent|null;readonly modifiedByAgent:Agent|null;readonly preferredTaxon:Taxon|null;readonly taxon:Taxon|null};readonly toManyDependent: {readonly determinationCitations:RA;readonly determiners:RA};readonly toManyIndependent: RR};export type DeterminationCitation = {readonly tableName: 'DeterminationCitation';readonly fields: {readonly collectionMemberId:number;readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly determination:Determination;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Determiner = {readonly tableName: 'Determiner';readonly fields: {readonly isPrimary:boolean;readonly orderNumber:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly determination:Determination;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Discipline = {readonly tableName: 'Discipline';readonly fields: {readonly isPaleoContextEmbedded:boolean;readonly name:string|null;readonly paleoContextChildTable:string|null;readonly regNumber:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly geologicTimePeriodTreeDef:GeologicTimePeriodTreeDef;readonly createdByAgent:Agent|null;readonly dataType:DataType;readonly division:Division;readonly drainageTreeDef:DrainageTreeDef;readonly geographyTreeDef:GeographyTreeDef;readonly lithoStratTreeDef:LithoStratTreeDef|null;readonly modifiedByAgent:Agent|null;readonly taxonTreeDef:TaxonTreeDef|null;readonly tectonicUnitTreeDef:TectonicUnitTreeDef|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly attributeDefs:RA;readonly collections:RA;readonly numberingSchemes:RA;readonly spExportSchemas:RA;readonly spLocaleContainers:RA;readonly userGroups:RA}};export type Disposal = {readonly tableName: 'Disposal';readonly fields: {readonly timestampModified:string|null;readonly disposalDate:string|null;readonly disposalNumber:string;readonly doNotExport:boolean|null;readonly number1:number|null;readonly number2:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly totalItems:number|null;readonly totalPreps:number|null;readonly type:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly deaccession:Deaccession|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly disposalAgents:RA;readonly disposalAttachments:RA;readonly disposalPreparations:RA};readonly toManyIndependent: RR};export type DisposalAgent = {readonly tableName: 'DisposalAgent';readonly fields: {readonly remarks:string|null;readonly role:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly disposal:Disposal;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type DisposalAttachment = {readonly tableName: 'DisposalAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly disposal:Disposal;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type DisposalPreparation = {readonly tableName: 'DisposalPreparation';readonly fields: {readonly quantity:number|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly disposal:Disposal;readonly loanReturnPreparation:LoanReturnPreparation|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Division = {readonly tableName: 'Division';readonly fields: {readonly abbrev:string|null;readonly altName:string|null;readonly description:string|null;readonly discipline:string|null;readonly iconURI:string|null;readonly name:string|null;readonly regNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly uri:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly address:Address|null;readonly createdByAgent:Agent|null;readonly institution:Institution;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly accessions:RA;readonly disciplines:RA;readonly members:RA;readonly numberingSchemes:RA;readonly userGroups:RA}};export type ExchangeIn = {readonly tableName: 'ExchangeIn';readonly fields: {readonly contents:string|null;readonly descriptionOfMaterial:string|null;readonly exchangeDate:string|null;readonly exchangeInNumber:string|null;readonly number1:number|null;readonly number2:number|null;readonly quantityExchanged:number|null;readonly remarks:string|null;readonly srcGeography:string|null;readonly srcTaxonomy:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly agentCatalogedBy:Agent;readonly createdByAgent:Agent|null;readonly division:Division;readonly modifiedByAgent:Agent|null;readonly agentReceivedFrom:Agent};readonly toManyDependent: {readonly exchangeInAttachments:RA;readonly exchangeInPreps:RA};readonly toManyIndependent: RR};export type ExchangeInAttachment = {readonly tableName: 'ExchangeInAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly exchangeIn:ExchangeIn;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type ExchangeInPrep = {readonly tableName: 'ExchangeInPrep';readonly fields: {readonly comments:string|null;readonly descriptionOfMaterial:string|null;readonly number1:number|null;readonly quantity:number|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly exchangeIn:ExchangeIn|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type ExchangeOut = {readonly tableName: 'ExchangeOut';readonly fields: {readonly contents:string|null;readonly descriptionOfMaterial:string|null;readonly exchangeDate:string|null;readonly exchangeOutNumber:string;readonly number1:number|null;readonly number2:number|null;readonly quantityExchanged:number|null;readonly remarks:string|null;readonly srcGeography:string|null;readonly srcTaxonomy:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly totalItems:number|null;readonly totalPreps:number|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly agentCatalogedBy:Agent;readonly createdByAgent:Agent|null;readonly deaccession:Deaccession|null;readonly division:Division;readonly modifiedByAgent:Agent|null;readonly agentSentTo:Agent};readonly toManyDependent: {readonly exchangeOutAttachments:RA;readonly exchangeOutPreps:RA};readonly toManyIndependent: {readonly shipments:RA}};export type ExchangeOutAttachment = {readonly tableName: 'ExchangeOutAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly exchangeOut:ExchangeOut;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type ExchangeOutPrep = {readonly tableName: 'ExchangeOutPrep';readonly fields: {readonly comments:string|null;readonly descriptionOfMaterial:string|null;readonly number1:number|null;readonly quantity:number|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly exchangeOut:ExchangeOut|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Exsiccata = {readonly tableName: 'Exsiccata';readonly fields: {readonly remarks:string|null;readonly schedae:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: {readonly exsiccataItems:RA};readonly toManyIndependent: RR};export type ExsiccataItem = {readonly tableName: 'ExsiccataItem';readonly fields: {readonly fascicle:string|null;readonly number:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly exsiccata:Exsiccata;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Extractor = {readonly tableName: 'Extractor';readonly fields: {readonly orderNumber:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly dnaSequence:DNASequence;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type FieldNotebook = {readonly tableName: 'FieldNotebook';readonly fields: {readonly description:string|null;readonly endDate:string|null;readonly location:string|null;readonly name:string|null;readonly startDate:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null;readonly ownerAgent:Agent};readonly toManyDependent: {readonly attachments:RA;readonly pageSets:RA};readonly toManyIndependent: RR};export type FieldNotebookAttachment = {readonly tableName: 'FieldNotebookAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly fieldNotebook:FieldNotebook;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type FieldNotebookPage = {readonly tableName: 'FieldNotebookPage';readonly fields: {readonly description:string|null;readonly pageNumber:string;readonly scanDate:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null;readonly pageSet:FieldNotebookPageSet|null};readonly toManyDependent: {readonly attachments:RA};readonly toManyIndependent: {readonly collectionObjects:RA}};export type FieldNotebookPageAttachment = {readonly tableName: 'FieldNotebookPageAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly fieldNotebookPage:FieldNotebookPage;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type FieldNotebookPageSet = {readonly tableName: 'FieldNotebookPageSet';readonly fields: {readonly description:string|null;readonly endDate:string|null;readonly method:string|null;readonly orderNumber:number|null;readonly startDate:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly fieldNotebook:FieldNotebook|null;readonly modifiedByAgent:Agent|null;readonly sourceAgent:Agent|null};readonly toManyDependent: {readonly attachments:RA;readonly pages:RA};readonly toManyIndependent: RR};export type FieldNotebookPageSetAttachment = {readonly tableName: 'FieldNotebookPageSetAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly fieldNotebookPageSet:FieldNotebookPageSet;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type FundingAgent = {readonly tableName: 'FundingAgent';readonly fields: {readonly isPrimary:boolean;readonly orderNumber:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly collectingTrip:CollectingTrip;readonly createdByAgent:Agent|null;readonly division:Division|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type GeoCoordDetail = {readonly tableName: 'GeoCoordDetail';readonly fields: {readonly errorPolygon:string|null;readonly geoRefAccuracy:number|null;readonly geoRefAccuracyUnits:string|null;readonly geoRefCompiledDate:string|null;readonly geoRefDetDate:string|null;readonly geoRefDetRef:string|null;readonly geoRefRemarks:string|null;readonly geoRefVerificationStatus:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly maxUncertaintyEst:number|null;readonly maxUncertaintyEstUnit:string|null;readonly namedPlaceExtent:number|null;readonly noGeoRefBecause:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly originalCoordSystem:string|null;readonly protocol:string|null;readonly source:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly uncertaintyPolygon:string|null;readonly validation:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly geoRefCompiledBy:Agent|null;readonly geoRefDetBy:Agent|null;readonly locality:Locality|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Geography = {readonly tableName: 'Geography';readonly fields: {readonly abbrev:string|null;readonly centroidLat:number|null;readonly centroidLon:number|null;readonly commonName:string|null;readonly fullName:string|null;readonly geographyCode:string|null;readonly gml:string|null;readonly guid:string|null;readonly highestChildNodeNumber:number|null;readonly isCurrent:boolean|null;readonly isAccepted:boolean;readonly name:string;readonly nodeNumber:number|null;readonly number1:number|null;readonly number2:number|null;readonly rankId:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly timestampVersion:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly definition:GeographyTreeDef;readonly definitionItem:GeographyTreeDefItem;readonly modifiedByAgent:Agent|null;readonly parent:Geography;readonly acceptedGeography:Geography|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly localities:RA;readonly acceptedChildren:RA}};export type GeographyTreeDef = {readonly tableName: 'GeographyTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type GeographyTreeDefItem = {readonly tableName: 'GeographyTreeDefItem';readonly fields: {readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:GeographyTreeDefItem|null;readonly treeDef:GeographyTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type GeologicTimePeriod = {readonly tableName: 'GeologicTimePeriod';readonly fields: {readonly endPeriod:number|null;readonly endUncertainty:number|null;readonly fullName:string|null;readonly guid:string|null;readonly highestChildNodeNumber:number|null;readonly isBioStrat:boolean|null;readonly isAccepted:boolean;readonly name:string;readonly nodeNumber:number|null;readonly rankId:number;readonly remarks:string|null;readonly standard:string|null;readonly startPeriod:number|null;readonly startUncertainty:number|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly definition:GeologicTimePeriodTreeDef;readonly modifiedByAgent:Agent|null;readonly parent:GeologicTimePeriod;readonly acceptedGeologicTimePeriod:GeologicTimePeriod|null;readonly definitionItem:GeologicTimePeriodTreeDefItem};readonly toManyDependent: RR;readonly toManyIndependent: {readonly bioStratsPaleoContext:RA;readonly children:RA;readonly chronosStratsPaleoContext:RA;readonly acceptedChildren:RA}};export type GeologicTimePeriodTreeDef = {readonly tableName: 'GeologicTimePeriodTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type GeologicTimePeriodTreeDefItem = {readonly tableName: 'GeologicTimePeriodTreeDefItem';readonly fields: {readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:GeologicTimePeriodTreeDefItem|null;readonly treeDef:GeologicTimePeriodTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type Gift = {readonly tableName: 'Gift';readonly fields: {readonly contents:string|null;readonly dateReceived:string|null;readonly date1:string|null;readonly date1Precision:number|null;readonly giftDate:string|null;readonly giftNumber:string;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly isFinancialResponsibility:boolean|null;readonly number1:number|null;readonly number2:number|null;readonly purposeOfGift:string|null;readonly receivedComments:string|null;readonly remarks:string|null;readonly srcGeography:string|null;readonly srcTaxonomy:string|null;readonly specialConditions:string|null;readonly status:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly totalItems:number|null;readonly totalPreps:number|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly deaccession:Deaccession|null;readonly discipline:Discipline;readonly division:Division|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly giftAgents:RA;readonly giftAttachments:RA;readonly giftPreparations:RA;readonly shipments:RA};readonly toManyIndependent: RR};export type GiftAgent = {readonly tableName: 'GiftAgent';readonly fields: {readonly date1:string|null;readonly remarks:string|null;readonly role:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly gift:Gift;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type GiftAttachment = {readonly tableName: 'GiftAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly gift:Gift;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type GiftPreparation = {readonly tableName: 'GiftPreparation';readonly fields: {readonly descriptionOfMaterial:string|null;readonly inComments:string|null;readonly outComments:string|null;readonly quantity:number|null;readonly receivedComments:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly gift:Gift|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type GroupPerson = {readonly tableName: 'GroupPerson';readonly fields: {readonly orderNumber:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly division:Division;readonly group:Agent;readonly member:Agent;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type InfoRequest = {readonly tableName: 'InfoRequest';readonly fields: {readonly collectionMemberId:number;readonly email:string|null;readonly firstName:string|null;readonly infoReqNumber:string|null;readonly institution:string|null;readonly lastName:string|null;readonly remarks:string|null;readonly replyDate:string|null;readonly requestDate:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly recordSets:RA}};export type Institution = {readonly tableName: 'Institution';readonly fields: {readonly altName:string|null;readonly isAccessionsGlobal:boolean;readonly code:string|null;readonly copyright:string|null;readonly currentManagedRelVersion:string|null;readonly currentManagedSchemaVersion:string|null;readonly description:string|null;readonly disclaimer:string|null;readonly guid:string|null;readonly hasBeenAsked:boolean|null;readonly iconURI:string|null;readonly ipr:string|null;readonly isAnonymous:boolean|null;readonly isReleaseManagedGlobally:boolean|null;readonly isSecurityOn:boolean;readonly isServerBased:boolean;readonly isSharingLocalities:boolean;readonly isSingleGeographyTree:boolean;readonly license:string|null;readonly lsidAuthority:string|null;readonly minimumPwdLength:number|null;readonly name:string|null;readonly regNumber:string|null;readonly remarks:string|null;readonly termsOfUse:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly uri:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly address:Address|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly storageTreeDef:StorageTreeDef|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly contentContacts:RA;readonly divisions:RA;readonly technicalContacts:RA;readonly userGroups:RA}};export type InstitutionNetwork = {readonly tableName: 'InstitutionNetwork';readonly fields: {readonly altName:string|null;readonly code:string|null;readonly copyright:string|null;readonly description:string|null;readonly disclaimer:string|null;readonly iconURI:string|null;readonly ipr:string|null;readonly license:string|null;readonly name:string|null;readonly remarks:string|null;readonly termsOfUse:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly uri:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly address:Address|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collections:RA;readonly contacts:RA}};export type Journal = {readonly tableName: 'Journal';readonly fields: {readonly guid:string|null;readonly issn:string|null;readonly journalAbbreviation:string|null;readonly journalName:string|null;readonly remarks:string|null;readonly text1:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly institution:Institution;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly referenceWorks:RA}};export type LatLonPolygon = {readonly tableName: 'LatLonPolygon';readonly fields: {readonly description:string|null;readonly isPolyline:boolean;readonly name:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly locality:Locality|null;readonly modifiedByAgent:Agent|null;readonly visualQuery:SpVisualQuery|null};readonly toManyDependent: {readonly points:RA};readonly toManyIndependent: RR};export type LatLonPolygonPnt = {readonly tableName: 'LatLonPolygonPnt';readonly fields: {readonly elevation:number|null;readonly latitude:number;readonly longitude:number;readonly ordinal:number};readonly toOneDependent: RR;readonly toOneIndependent: {readonly latLonPolygon:LatLonPolygon};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LithoStrat = {readonly tableName: 'LithoStrat';readonly fields: {readonly fullName:string|null;readonly guid:string|null;readonly highestChildNodeNumber:number|null;readonly isAccepted:boolean;readonly name:string;readonly nodeNumber:number|null;readonly number1:number|null;readonly number2:number|null;readonly rankId:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly definition:LithoStratTreeDef;readonly modifiedByAgent:Agent|null;readonly parent:LithoStrat;readonly acceptedLithoStrat:LithoStrat|null;readonly definitionItem:LithoStratTreeDefItem};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly paleoContexts:RA;readonly acceptedChildren:RA}};export type LithoStratTreeDef = {readonly tableName: 'LithoStratTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type LithoStratTreeDefItem = {readonly tableName: 'LithoStratTreeDefItem';readonly fields: {readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:LithoStratTreeDefItem|null;readonly treeDef:LithoStratTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type Loan = {readonly tableName: 'Loan';readonly fields: {readonly contents:string|null;readonly currentDueDate:string|null;readonly dateClosed:string|null;readonly dateReceived:string|null;readonly yesNo1:boolean|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly isClosed:boolean|null;readonly isFinancialResponsibility:boolean|null;readonly loanDate:string|null;readonly loanNumber:string;readonly number1:number|null;readonly number2:number|null;readonly originalDueDate:string|null;readonly overdueNotiSentDate:string|null;readonly purposeOfLoan:string|null;readonly receivedComments:string|null;readonly remarks:string|null;readonly resolvedItems:number|null;readonly resolvedPreps:number|null;readonly srcGeography:string|null;readonly srcTaxonomy:string|null;readonly specialConditions:string|null;readonly status:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly totalItems:number|null;readonly totalPreps:number|null;readonly unresolvedItems:number|null;readonly unresolvedPreps:number|null;readonly version:number|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly division:Division|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly loanAgents:RA;readonly loanAttachments:RA;readonly loanPreparations:RA;readonly shipments:RA};readonly toManyIndependent: RR};export type LoanAgent = {readonly tableName: 'LoanAgent';readonly fields: {readonly remarks:string|null;readonly role:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly loan:Loan;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LoanAttachment = {readonly tableName: 'LoanAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly loan:Loan;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LoanPreparation = {readonly tableName: 'LoanPreparation';readonly fields: {readonly descriptionOfMaterial:string|null;readonly inComments:string|null;readonly isResolved:boolean;readonly outComments:string|null;readonly quantity:number|null;readonly quantityResolved:number|null;readonly quantityReturned:number|null;readonly receivedComments:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly loan:Loan;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation|null};readonly toManyDependent: {readonly loanReturnPreparations:RA};readonly toManyIndependent: RR};export type LoanReturnPreparation = {readonly tableName: 'LoanReturnPreparation';readonly fields: {readonly quantityResolved:number|null;readonly quantityReturned:number|null;readonly remarks:string|null;readonly returnedDate:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly loanPreparation:LoanPreparation;readonly modifiedByAgent:Agent|null;readonly receivedBy:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly disposalPreparations:RA}};export type Locality = {readonly tableName: 'Locality';readonly fields: {readonly latLongAccuracy:number|null;readonly datum:string|null;readonly minElevation:number|null;readonly elevationAccuracy:number|null;readonly elevationMethod:string|null;readonly originalElevationUnit:string|null;readonly gml:string|null;readonly guid:string|null;readonly latLongMethod:string|null;readonly lat1text:string|null;readonly lat2text:string|null;readonly latLongType:string|null;readonly latitude1:number|null;readonly latitude2:number|null;readonly localityName:string;readonly long1text:string|null;readonly long2text:string|null;readonly longitude1:number|null;readonly longitude2:number|null;readonly text4:string|null;readonly maxElevation:number|null;readonly namedPlace:string|null;readonly originalLatLongUnit:number|null;readonly yesNo2:boolean|null;readonly relationToNamedPlace:string|null;readonly remarks:string|null;readonly sgrStatus:number|null;readonly shortName:string|null;readonly srcLatLongUnit:number;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly uniqueIdentifier:string|null;readonly verbatimElevation:string|null;readonly verbatimLatitude:string|null;readonly verbatimLongitude:string|null;readonly version:number|null;readonly visibility:number|null;readonly yesNo1:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: {readonly geoCoordDetails:GeoCoordDetail|null;readonly localityDetails:LocalityDetail|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly drainage:Drainage|null;readonly geography:Geography|null;readonly modifiedByAgent:Agent|null;readonly paleoContext:PaleoContext|null;readonly visibilitySetBy:SpecifyUser|null};readonly toManyDependent: {readonly latLonpolygons:RA;readonly localityAttachments:RA;readonly localityCitations:RA;readonly localityNameAliass:RA};readonly toManyIndependent: {readonly collectingEvents:RA}};export type LocalityAttachment = {readonly tableName: 'LocalityAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly locality:Locality;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LocalityCitation = {readonly tableName: 'LocalityCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly locality:Locality;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LocalityDetail = {readonly tableName: 'LocalityDetail';readonly fields: {readonly number1:number|null;readonly number2:number|null;readonly baseMeridian:string|null;readonly drainage:string|null;readonly endDepth:number|null;readonly endDepthUnit:string|null;readonly endDepthVerbatim:string|null;readonly gml:string|null;readonly hucCode:string|null;readonly island:string|null;readonly islandGroup:string|null;readonly mgrsZone:string|null;readonly nationalParkName:string|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly paleoLat:string|null;readonly paleoLng:string|null;readonly rangeDesc:string|null;readonly rangeDirection:string|null;readonly section:string|null;readonly sectionPart:string|null;readonly startDepth:number|null;readonly startDepthUnit:string|null;readonly startDepthVerbatim:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly township:string|null;readonly townshipDirection:string|null;readonly utmDatum:string|null;readonly utmEasting:number|null;readonly utmFalseEasting:number|null;readonly utmFalseNorthing:number|null;readonly utmNorthing:number|null;readonly utmOrigLatitude:number|null;readonly utmOrigLongitude:number|null;readonly utmScale:number|null;readonly utmZone:number|null;readonly version:number|null;readonly waterBody:string|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly locality:Locality|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LocalityNameAlias = {readonly tableName: 'LocalityNameAlias';readonly fields: {readonly name:string;readonly source:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly locality:Locality;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type MaterialSample = {readonly tableName: 'MaterialSample';readonly fields: {readonly GGBN_absorbanceRatio260_230:number|null;readonly GGBN_absorbanceRatio260_280:number|null;readonly GGBN_absorbanceRatioMethod:string|null;readonly collectionMemberId:number;readonly GGBN_concentration:number|null;readonly GGBN_concentrationUnit:string|null;readonly extractionDate:string|null;readonly guid:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly GGBN_medium:string|null;readonly number1:number|null;readonly number2:number|null;readonly GGBN_purificationMethod:string|null;readonly GGBN_quality:string|null;readonly GGBN_qualityCheckDate:string|null;readonly GGBN_qualityRemarks:string|null;readonly remarks:string|null;readonly reservedInteger3:number|null;readonly reservedInteger4:number|null;readonly reservedNumber3:number|null;readonly reservedNumber4:number|null;readonly reservedText3:string|null;readonly reservedText4:string|null;readonly GGBN_sampleDesignation:string|null;readonly GGBN_sampleSize:number|null;readonly GGBN_materialSampleType:string|null;readonly sraBioProjectID:string|null;readonly sraBioSampleID:string|null;readonly sraProjectID:string|null;readonly sraSampleID:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly GGBN_volume:number|null;readonly GGBN_volumeUnit:string|null;readonly GGBN_weight:number|null;readonly GGBN_weightMethod:string|null;readonly GGBN_weightUnit:string|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly extractor:Agent|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation};readonly toManyDependent: {readonly dnaSequences:RA};readonly toManyIndependent: RR};export type MorphBankView = {readonly tableName: 'MorphBankView';readonly fields: {readonly developmentState:string|null;readonly form:string|null;readonly imagingPreparationTechnique:string|null;readonly imagingTechnique:string|null;readonly morphBankExternalViewId:number|null;readonly sex:string|null;readonly specimenPart:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly viewAngle:string|null;readonly viewName:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly attachmentImageAttributes:RA}};export type OtherIdentifier = {readonly tableName: 'OtherIdentifier';readonly fields: {readonly collectionMemberId:number;readonly date1:string|null;readonly date1Precision:number|null;readonly date2:string|null;readonly date2Precision:number|null;readonly identifier:string;readonly institution:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent1:Agent|null;readonly agent2:Agent|null;readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type PaleoContext = {readonly tableName: 'PaleoContext';readonly fields: {readonly text1:string|null;readonly paleoContextName:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly remarks:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly bioStrat:GeologicTimePeriod|null;readonly chronosStrat:GeologicTimePeriod|null;readonly chronosStratEnd:GeologicTimePeriod|null;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly lithoStrat:LithoStrat|null;readonly modifiedByAgent:Agent|null;readonly tectonicUnit:TectonicUnit|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectingEvents:RA;readonly collectionObjects:RA;readonly localities:RA}};export type PcrPerson = {readonly tableName: 'PcrPerson';readonly fields: {readonly orderNumber:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent;readonly createdByAgent:Agent|null;readonly dnaSequence:DNASequence;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Permit = {readonly tableName: 'Permit';readonly fields: {readonly copyright:string|null;readonly endDate:string|null;readonly isAvailable:boolean|null;readonly isRequired:boolean|null;readonly issuedDate:string|null;readonly number1:number|null;readonly number2:number|null;readonly text1:string|null;readonly permitNumber:string;readonly permitText:string|null;readonly remarks:string|null;readonly renewalDate:string|null;readonly reservedInteger1:number|null;readonly reservedInteger2:number|null;readonly reservedText3:string|null;readonly reservedText4:string|null;readonly startDate:string|null;readonly status:string|null;readonly statusQualifier:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly institution:Institution;readonly issuedBy:Agent|null;readonly issuedTo:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly permitAttachments:RA};readonly toManyIndependent: {readonly accessionAuthorizations:RA;readonly collectingEventAuthorizations:RA;readonly collectingTripAuthorizations:RA}};export type PermitAttachment = {readonly tableName: 'PermitAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly permit:Permit};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type PickList = {readonly tableName: 'PickList';readonly fields: {readonly fieldName:string|null;readonly filterFieldName:string|null;readonly filterValue:string|null;readonly formatter:string|null;readonly isSystem:boolean;readonly name:string;readonly readOnly:boolean;readonly sizeLimit:number|null;readonly sortType:number|null;readonly tableName:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:number;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly pickListItems:RA};readonly toManyIndependent: RR};export type PickListItem = {readonly tableName: 'PickListItem';readonly fields: {readonly ordinal:number|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string;readonly value:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly pickList:PickList};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type PrepType = {readonly tableName: 'PrepType';readonly fields: {readonly isLoanable:boolean;readonly name:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly attributeDefs:RA};readonly toManyIndependent: {readonly preparations:RA}};export type Preparation = {readonly tableName: 'Preparation';readonly fields: {readonly actualCountAmt:number|null;readonly barCode:string|null;readonly collectionMemberId:number;readonly countAmt:number|null;readonly date1:string|null;readonly date1Precision:number|null;readonly date2:string|null;readonly date2Precision:number|null;readonly date3:string|null;readonly date3Precision:number|null;readonly date4:string|null;readonly date4Precision:number|null;readonly description:string|null;readonly guid:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly yesNo2:boolean|null;readonly isOnLoan:boolean|null;readonly yesNo3:boolean|null;readonly number1:number|null;readonly number2:number|null;readonly preparedDate:string|null;readonly preparedDatePrecision:number|null;readonly remarks:string|null;readonly reservedInteger3:number|null;readonly reservedInteger4:number|null;readonly sampleNumber:string|null;readonly yesNo1:boolean|null;readonly status:string|null;readonly storageLocation:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly preparationAttribute:PreparationAttribute|null};readonly toOneIndependent: {readonly alternateStorage:Storage|null;readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly prepType:PrepType;readonly preparedByAgent:Agent|null;readonly storage:Storage|null};readonly toManyDependent: {readonly materialSamples:RA;readonly preparationAttachments:RA;readonly preparationAttrs:RA;readonly preparationProperties:RA};readonly toManyIndependent: {readonly conservDescriptions:RA;readonly disposalPreparations:RA;readonly exchangeInPreps:RA;readonly exchangeOutPreps:RA;readonly giftPreparations:RA;readonly loanPreparations:RA}};export type PreparationAttachment = {readonly tableName: 'PreparationAttachment';readonly fields: {readonly collectionMemberId:number;readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type PreparationAttr = {readonly tableName: 'PreparationAttr';readonly fields: {readonly collectionMemberId:number;readonly dblValue:number|null;readonly strValue:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly definition:AttributeDef;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type PreparationAttribute = {readonly tableName: 'PreparationAttribute';readonly fields: {readonly attrDate:string|null;readonly collectionMemberId:number;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly number6:number|null;readonly number7:number|null;readonly number8:number|null;readonly number9:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text18:string|null;readonly text19:string|null;readonly text2:string|null;readonly text20:string|null;readonly text21:string|null;readonly text22:string|null;readonly text23:string|null;readonly text24:string|null;readonly text25:string|null;readonly text26:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly preparations:RA}};export type PreparationProperty = {readonly tableName: 'PreparationProperty';readonly fields: {readonly collectionMemberId:number;readonly date1:string|null;readonly date10:string|null;readonly date11:string|null;readonly date12:string|null;readonly date13:string|null;readonly date14:string|null;readonly date15:string|null;readonly date16:string|null;readonly date17:string|null;readonly date18:string|null;readonly date19:string|null;readonly date2:string|null;readonly date20:string|null;readonly date3:string|null;readonly date4:string|null;readonly date5:string|null;readonly date6:string|null;readonly date7:string|null;readonly date8:string|null;readonly date9:string|null;readonly guid:string|null;readonly integer1:number|null;readonly integer10:number|null;readonly integer11:number|null;readonly integer12:number|null;readonly integer13:number|null;readonly integer14:number|null;readonly integer15:number|null;readonly integer16:number|null;readonly integer17:number|null;readonly integer18:number|null;readonly integer19:number|null;readonly integer2:number|null;readonly integer20:number|null;readonly integer21:number|null;readonly integer22:number|null;readonly integer23:number|null;readonly integer24:number|null;readonly integer25:number|null;readonly integer26:number|null;readonly integer27:number|null;readonly integer28:number|null;readonly integer29:number|null;readonly integer3:number|null;readonly integer30:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly integer6:number|null;readonly integer7:number|null;readonly integer8:number|null;readonly integer9:number|null;readonly number1:number|null;readonly number10:number|null;readonly number11:number|null;readonly number12:number|null;readonly number13:number|null;readonly number14:number|null;readonly number15:number|null;readonly number16:number|null;readonly number17:number|null;readonly number18:number|null;readonly number19:number|null;readonly number2:number|null;readonly number20:number|null;readonly number21:number|null;readonly number22:number|null;readonly number23:number|null;readonly number24:number|null;readonly number25:number|null;readonly number26:number|null;readonly number27:number|null;readonly number28:number|null;readonly number29:number|null;readonly number3:number|null;readonly number30:number|null;readonly number4:number|null;readonly number5:number|null;readonly number6:number|null;readonly number7:number|null;readonly number8:number|null;readonly number9:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text18:string|null;readonly text19:string|null;readonly text2:string|null;readonly text20:string|null;readonly text21:string|null;readonly text22:string|null;readonly text23:string|null;readonly text24:string|null;readonly text25:string|null;readonly text26:string|null;readonly text27:string|null;readonly text28:string|null;readonly text29:string|null;readonly text3:string|null;readonly text30:string|null;readonly text31:string|null;readonly text32:string|null;readonly text33:string|null;readonly text34:string|null;readonly text35:string|null;readonly text36:string|null;readonly text37:string|null;readonly text38:string|null;readonly text39:string|null;readonly text4:string|null;readonly text40:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo10:boolean|null;readonly yesNo11:boolean|null;readonly yesNo12:boolean|null;readonly yesNo13:boolean|null;readonly yesNo14:boolean|null;readonly yesNo15:boolean|null;readonly yesNo16:boolean|null;readonly yesNo17:boolean|null;readonly yesNo18:boolean|null;readonly yesNo19:boolean|null;readonly yesNo2:boolean|null;readonly yesNo20:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null;readonly yesNo6:boolean|null;readonly yesNo7:boolean|null;readonly yesNo8:boolean|null;readonly yesNo9:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent1:Agent|null;readonly agent10:Agent|null;readonly agent11:Agent|null;readonly agent12:Agent|null;readonly agent13:Agent|null;readonly agent14:Agent|null;readonly agent15:Agent|null;readonly agent16:Agent|null;readonly agent17:Agent|null;readonly agent18:Agent|null;readonly agent19:Agent|null;readonly agent2:Agent|null;readonly agent20:Agent|null;readonly agent3:Agent|null;readonly agent4:Agent|null;readonly agent5:Agent|null;readonly agent6:Agent|null;readonly agent7:Agent|null;readonly agent8:Agent|null;readonly agent9:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly preparation:Preparation};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Project = {readonly tableName: 'Project';readonly fields: {readonly collectionMemberId:number;readonly projectDescription:string|null;readonly endDate:string|null;readonly grantAgency:string|null;readonly grantNumber:string|null;readonly number1:number|null;readonly number2:number|null;readonly projectName:string;readonly projectNumber:string|null;readonly remarks:string|null;readonly startDate:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly url:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly collectionObjects:RA}};export type RecordSet = {readonly tableName: 'RecordSet';readonly fields: {readonly allPermissionLevel:number|null;readonly collectionMemberId:number;readonly dbTableId:number;readonly groupPermissionLevel:number|null;readonly name:string;readonly ownerPermissionLevel:number|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:number;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly group:SpPrincipal|null;readonly infoRequest:InfoRequest|null;readonly modifiedByAgent:Agent|null;readonly specifyUser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: {readonly recordSetItems:RA}};export type RecordSetItem = {readonly tableName: 'RecordSetItem';readonly fields: {readonly order:number|null;readonly recordId:number};readonly toOneDependent: RR;readonly toOneIndependent: {readonly recordSet:RecordSet};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type ReferenceWork = {readonly tableName: 'ReferenceWork';readonly fields: {readonly doi:string|null;readonly guid:string|null;readonly isPublished:boolean|null;readonly isbn:string|null;readonly libraryNumber:string|null;readonly number1:number|null;readonly number2:number|null;readonly pages:string|null;readonly placeOfPublication:string|null;readonly publisher:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string;readonly referenceWorkType:number;readonly uri:string|null;readonly url:string|null;readonly version:number|null;readonly volume:string|null;readonly workDate:string|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly containedRFParent:ReferenceWork|null;readonly createdByAgent:Agent|null;readonly institution:Institution;readonly journal:Journal|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly authors:RA;readonly referenceWorkAttachments:RA};readonly toManyIndependent: {readonly collectionObjectCitations:RA;readonly containedReferenceWorks:RA;readonly determinationCitations:RA;readonly exsiccatae:RA;readonly localityCitations:RA;readonly taxonCitations:RA}};export type ReferenceWorkAttachment = {readonly tableName: 'ReferenceWorkAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type RepositoryAgreement = {readonly tableName: 'RepositoryAgreement';readonly fields: {readonly dateReceived:string|null;readonly endDate:string|null;readonly number1:number|null;readonly number2:number|null;readonly repositoryAgreementNumber:string;readonly remarks:string|null;readonly startDate:string|null;readonly status:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: {readonly addressOfRecord:AddressOfRecord|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly division:Division;readonly modifiedByAgent:Agent|null;readonly originator:Agent};readonly toManyDependent: {readonly repositoryAgreementAgents:RA;readonly repositoryAgreementAttachments:RA;readonly repositoryAgreementAuthorizations:RA};readonly toManyIndependent: {readonly accessions:RA}};export type RepositoryAgreementAttachment = {readonly tableName: 'RepositoryAgreementAttachment';readonly fields: {readonly ordinal:number|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly repositoryAgreement:RepositoryAgreement};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Shipment = {readonly tableName: 'Shipment';readonly fields: {readonly insuredForAmount:string|null;readonly shipmentMethod:string|null;readonly numberOfPackages:number|null;readonly number1:number|null;readonly number2:number|null;readonly remarks:string|null;readonly shipmentDate:string|null;readonly shipmentNumber:string;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly weight:string|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly borrow:Borrow|null;readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly exchangeOut:ExchangeOut|null;readonly gift:Gift|null;readonly loan:Loan|null;readonly modifiedByAgent:Agent|null;readonly shippedBy:Agent|null;readonly shippedTo:Agent|null;readonly shipper:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpAppResource = {readonly tableName: 'SpAppResource';readonly fields: {readonly allPermissionLevel:number|null;readonly description:string|null;readonly groupPermissionLevel:number|null;readonly level:number;readonly metaData:string|null;readonly mimeType:string|null;readonly name:string;readonly ownerPermissionLevel:number|null;readonly timestampCreated:string;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly group:SpPrincipal|null;readonly modifiedByAgent:Agent|null;readonly spAppResourceDir:SpAppResourceDir;readonly specifyUser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: {readonly spAppResourceDatas:RA;readonly spReports:RA}};export type SpAppResourceData = {readonly tableName: 'SpAppResourceData';readonly fields: {readonly data:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly spAppResource:SpAppResource|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly spViewSetObj:SpViewSetObj|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpAppResourceDir = {readonly tableName: 'SpAppResourceDir';readonly fields: {readonly disciplineType:string|null;readonly isPersonal:boolean;readonly timestampCreated:string;readonly timestampModified:string|null;readonly userType:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdByAgent:Agent|null;readonly discipline:Discipline|null;readonly modifiedByAgent:Agent|null;readonly specifyUser:SpecifyUser|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly spPersistedAppResources:RA;readonly spPersistedViewSets:RA}};export type SpAuditLog = {readonly tableName: 'SpAuditLog';readonly fields: {readonly action:number;readonly parentRecordId:number|null;readonly parentTableNum:number|null;readonly recordId:number|null;readonly recordVersion:number;readonly tableNum:number;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly fields:RA}};export type SpAuditLogField = {readonly tableName: 'SpAuditLogField';readonly fields: {readonly fieldName:string;readonly newValue:string|null;readonly oldValue:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly spAuditLog:SpAuditLog|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpExportSchema = {readonly tableName: 'SpExportSchema';readonly fields: {readonly description:string|null;readonly schemaName:string|null;readonly schemaVersion:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly spExportSchemaItems:RA;readonly spExportSchemaMappings:RA}};export type SpExportSchemaItem = {readonly tableName: 'SpExportSchemaItem';readonly fields: {readonly dataType:string|null;readonly description:string|null;readonly fieldName:string|null;readonly formatter:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly spExportSchema:SpExportSchema;readonly spLocaleContainerItem:SpLocaleContainerItem|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpExportSchemaItemMapping = {readonly tableName: 'SpExportSchemaItemMapping';readonly fields: {readonly exportedFieldName:string|null;readonly extensionItem:boolean|null;readonly remarks:string|null;readonly rowType:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly exportSchemaItem:SpExportSchemaItem|null;readonly exportSchemaMapping:SpExportSchemaMapping|null;readonly modifiedByAgent:Agent|null;readonly queryField:SpQueryField|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpExportSchemaMapping = {readonly tableName: 'SpExportSchemaMapping';readonly fields: {readonly collectionMemberId:number;readonly description:string|null;readonly mappingName:string|null;readonly timestampCreated:string;readonly timestampExported:string|null;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly mappings:RA;readonly spExportSchemas:RA;readonly symbiotaInstances:RA}};export type SpFieldValueDefault = {readonly tableName: 'SpFieldValueDefault';readonly fields: {readonly collectionMemberId:number;readonly fieldName:string|null;readonly idValue:number|null;readonly strValue:string|null;readonly tableName:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpLocaleContainer = {readonly tableName: 'SpLocaleContainer';readonly fields: {readonly aggregator:string|null;readonly defaultUI:string|null;readonly format:string|null;readonly isHidden:boolean;readonly isSystem:boolean;readonly isUIFormatter:boolean|null;readonly name:string;readonly pickListName:string|null;readonly schemaType:number;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly descs:RA;readonly items:RA;readonly names:RA}};export type SpLocaleContainerItem = {readonly tableName: 'SpLocaleContainerItem';readonly fields: {readonly format:string|null;readonly isHidden:boolean;readonly isRequired:boolean|null;readonly isSystem:boolean;readonly isUIFormatter:boolean|null;readonly name:string;readonly pickListName:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:string|null;readonly version:number|null;readonly webLinkName:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly container:SpLocaleContainer;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly descs:RA;readonly names:RA;readonly spExportSchemaItems:RA}};export type SpLocaleItemStr = {readonly tableName: 'SpLocaleItemStr';readonly fields: {readonly country:string|null;readonly language:string;readonly text:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly variant:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly containerDesc:SpLocaleContainer|null;readonly containerName:SpLocaleContainer|null;readonly createdByAgent:Agent|null;readonly itemDesc:SpLocaleContainerItem|null;readonly itemName:SpLocaleContainerItem|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpPermission = {readonly tableName: 'SpPermission';readonly fields: {readonly actions:string|null;readonly name:string|null;readonly permissionClass:string;readonly targetId:number|null};readonly toOneDependent: RR;readonly toOneIndependent: RR;readonly toManyDependent: RR;readonly toManyIndependent: {readonly principals:RA}};export type SpPrincipal = {readonly tableName: 'SpPrincipal';readonly fields: {readonly groupSubClass:string;readonly groupType:string|null;readonly name:string;readonly priority:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly scope:Division|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly permissions:RA;readonly specifyUsers:RA}};export type SpQuery = {readonly tableName: 'SpQuery';readonly fields: {readonly contextName:string;readonly contextTableId:number;readonly countOnly:boolean|null;readonly formatAuditRecIds:boolean|null;readonly isFavorite:boolean|null;readonly name:string;readonly ordinal:number|null;readonly remarks:string|null;readonly searchSynonymy:boolean|null;readonly selectDistinct:boolean|null;readonly smushed:boolean|null;readonly sqlStr:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly specifyUser:SpecifyUser};readonly toManyDependent: {readonly fields:RA};readonly toManyIndependent: {readonly reports:RA}};export type SpQueryField = {readonly tableName: 'SpQueryField';readonly fields: {readonly allowNulls:boolean|null;readonly alwaysFilter:boolean|null;readonly columnAlias:string|null;readonly contextTableIdent:number|null;readonly endValue:string|null;readonly fieldName:string;readonly formatName:string|null;readonly isDisplay:boolean;readonly isNot:boolean;readonly isPrompt:boolean|null;readonly isRelFld:boolean|null;readonly isStrict:boolean;readonly operEnd:number|null;readonly operStart:number;readonly position:number;readonly sortType:number;readonly startValue:string;readonly stringId:string;readonly tableList:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly query:SpQuery|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly mappings:RA}};export type SpReport = {readonly tableName: 'SpReport';readonly fields: {readonly name:string;readonly remarks:string|null;readonly repeatCount:number|null;readonly repeatField:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly appResource:SpAppResource;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly query:SpQuery|null;readonly specifyUser:SpecifyUser;readonly workbenchTemplate:WorkbenchTemplate|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpSymbiotaInstance = {readonly tableName: 'SpSymbiotaInstance';readonly fields: {readonly collectionMemberId:number;readonly description:string|null;readonly instanceName:string|null;readonly lastCacheBuild:string|null;readonly lastPull:string|null;readonly lastPush:string|null;readonly remarks:string|null;readonly symbiotaKey:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly schemaMapping:SpExportSchemaMapping|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpTaskSemaphore = {readonly tableName: 'SpTaskSemaphore';readonly fields: {readonly context:string|null;readonly isLocked:boolean|null;readonly lockedTime:string|null;readonly machineName:string|null;readonly scope:number|null;readonly taskName:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly usageCount:number|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdByAgent:Agent|null;readonly discipline:Discipline|null;readonly modifiedByAgent:Agent|null;readonly owner:SpecifyUser|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpVersion = {readonly tableName: 'SpVersion';readonly fields: {readonly appName:string|null;readonly appVersion:string|null;readonly dbClosedBy:string|null;readonly isDBClosed:boolean|null;readonly schemaVersion:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly workbenchSchemaVersion:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type SpViewSetObj = {readonly tableName: 'SpViewSetObj';readonly fields: {readonly description:string|null;readonly fileName:string|null;readonly level:number;readonly metaData:string|null;readonly name:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly spAppResourceDir:SpAppResourceDir};readonly toManyDependent: RR;readonly toManyIndependent: {readonly spAppResourceDatas:RA}};export type SpVisualQuery = {readonly tableName: 'SpVisualQuery';readonly fields: {readonly description:string|null;readonly name:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly specifyUser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: {readonly polygons:RA}};export type SpecifyUser = {readonly tableName: 'SpecifyUser';readonly fields: {readonly accumMinLoggedIn:number|null;readonly email:string|null;readonly isAdmin:boolean;readonly isLoggedIn:boolean;readonly isLoggedInReport:boolean;readonly loginCollectionName:string|null;readonly loginDisciplineName:string|null;readonly loginOutTime:string|null;readonly name:string;readonly password:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly userType:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly agents:RA;readonly spAppResources:RA;readonly spAppResourceDirs:RA;readonly spPrincipals:RA;readonly spQuerys:RA;readonly taskSemaphores:RA;readonly workbenchTemplates:RA;readonly workbenches:RA}};export type Storage = {readonly tableName: 'Storage';readonly fields: {readonly abbrev:string|null;readonly fullName:string|null;readonly highestChildNodeNumber:number|null;readonly isAccepted:boolean;readonly name:string;readonly nodeNumber:number|null;readonly number1:number|null;readonly number2:number|null;readonly rankId:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly timestampVersion:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly definition:StorageTreeDef;readonly definitionItem:StorageTreeDefItem;readonly modifiedByAgent:Agent|null;readonly parent:Storage;readonly acceptedStorage:Storage|null};readonly toManyDependent: {readonly storageAttachments:RA};readonly toManyIndependent: {readonly acceptedChildren:RA;readonly children:RA;readonly containers:RA;readonly preparations:RA}};export type StorageAttachment = {readonly tableName: 'StorageAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly storage:Storage};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type StorageTreeDef = {readonly tableName: 'StorageTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly institution:Institution;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type StorageTreeDefItem = {readonly tableName: 'StorageTreeDefItem';readonly fields: {readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:StorageTreeDefItem|null;readonly treeDef:StorageTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type Taxon = {readonly tableName: 'Taxon';readonly fields: {readonly author:string|null;readonly taxonomicSerialNumber:string|null;readonly citesStatus:string|null;readonly colStatus:string|null;readonly commonName:string|null;readonly cultivarName:string|null;readonly environmentalProtectionStatus:string|null;readonly esaStatus:string|null;readonly fullName:string|null;readonly groupNumber:string|null;readonly guid:string|null;readonly highestChildNodeNumber:number|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly integer4:number|null;readonly integer5:number|null;readonly yesNo1:boolean|null;readonly isHybrid:boolean;readonly isAccepted:boolean;readonly isisNumber:string|null;readonly labelFormat:string|null;readonly lsid:string|null;readonly name:string;readonly ncbiTaxonNumber:string|null;readonly nodeNumber:number|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly rankId:number;readonly remarks:string|null;readonly source:string|null;readonly text1:string|null;readonly text2:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text18:string|null;readonly text19:string|null;readonly text20:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly unitInd1:string|null;readonly unitInd2:string|null;readonly unitInd3:string|null;readonly unitInd4:string|null;readonly unitName1:string|null;readonly unitName2:string|null;readonly unitName3:string|null;readonly unitName4:string|null;readonly usfwsCode:string|null;readonly version:number|null;readonly visibility:number|null;readonly yesNo10:boolean|null;readonly yesNo11:boolean|null;readonly yesNo12:boolean|null;readonly yesNo13:boolean|null;readonly yesNo14:boolean|null;readonly yesNo15:boolean|null;readonly yesNo16:boolean|null;readonly yesNo17:boolean|null;readonly yesNo18:boolean|null;readonly yesNo19:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null;readonly yesNo4:boolean|null;readonly yesNo5:boolean|null;readonly yesNo6:boolean|null;readonly yesNo7:boolean|null;readonly yesNo8:boolean|null;readonly yesNo9:boolean|null};readonly toOneDependent: {readonly taxonAttribute:TaxonAttribute|null};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly definition:TaxonTreeDef;readonly hybridParent1:Taxon|null;readonly hybridParent2:Taxon|null;readonly modifiedByAgent:Agent|null;readonly parent:Taxon;readonly acceptedTaxon:Taxon|null;readonly definitionItem:TaxonTreeDefItem;readonly visibilitySetBy:SpecifyUser|null};readonly toManyDependent: {readonly commonNames:RA;readonly taxonAttachments:RA;readonly taxonCitations:RA};readonly toManyIndependent: {readonly children:RA;readonly collectingEventAttributes:RA;readonly determinations:RA;readonly hybridChildren1:RA;readonly hybridChildren2:RA;readonly preferredTaxonOf:RA;readonly acceptedChildren:RA}};export type TaxonAttachment = {readonly tableName: 'TaxonAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly taxon:Taxon};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type TaxonAttribute = {readonly tableName: 'TaxonAttribute';readonly fields: {readonly date1:string|null;readonly date1Precision:number|null;readonly number1:number|null;readonly number10:number|null;readonly number11:number|null;readonly number12:number|null;readonly number13:number|null;readonly number14:number|null;readonly number15:number|null;readonly number16:number|null;readonly number17:number|null;readonly number18:number|null;readonly number19:number|null;readonly number2:number|null;readonly number20:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly number6:number|null;readonly number7:number|null;readonly number8:number|null;readonly number9:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text10:string|null;readonly text11:string|null;readonly text12:string|null;readonly text13:string|null;readonly text14:string|null;readonly text15:string|null;readonly text16:string|null;readonly text17:string|null;readonly text18:string|null;readonly text19:string|null;readonly text2:string|null;readonly text20:string|null;readonly text21:string|null;readonly text22:string|null;readonly text23:string|null;readonly text24:string|null;readonly text25:string|null;readonly text26:string|null;readonly text27:string|null;readonly text28:string|null;readonly text29:string|null;readonly text3:string|null;readonly text30:string|null;readonly text31:string|null;readonly text32:string|null;readonly text33:string|null;readonly text34:string|null;readonly text35:string|null;readonly text36:string|null;readonly text37:string|null;readonly text38:string|null;readonly text39:string|null;readonly text4:string|null;readonly text40:string|null;readonly text41:string|null;readonly text42:string|null;readonly text43:string|null;readonly text44:string|null;readonly text45:string|null;readonly text46:string|null;readonly text47:string|null;readonly text48:string|null;readonly text49:string|null;readonly text5:string|null;readonly text50:string|null;readonly text51:string|null;readonly text52:string|null;readonly text53:string|null;readonly text54:string|null;readonly text55:string|null;readonly text56:string|null;readonly text57:string|null;readonly text58:string|null;readonly text6:string|null;readonly text7:string|null;readonly text8:string|null;readonly text9:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo10:boolean|null;readonly yesNo11:boolean|null;readonly yesNo12:boolean|null;readonly yesNo13:boolean|null;readonly yesNo14:boolean|null;readonly yesNo15:boolean|null;readonly yesNo16:boolean|null;readonly yesNo17:boolean|null;readonly yesNo18:boolean|null;readonly yesNo19:boolean|null;readonly yesNo2:boolean|null;readonly yesNo20:boolean|null;readonly yesNo21:boolean|null;readonly yesNo22:boolean|null;readonly yesNo23:boolean|null;readonly yesNo24:boolean|null;readonly yesNo25:boolean|null;readonly yesNo26:boolean|null;readonly yesNo27:boolean|null;readonly yesNo28:boolean|null;readonly yesNo29:boolean|null;readonly yesNo3:boolean|null;readonly yesNo30:boolean|null;readonly yesNo31:boolean|null;readonly yesNo32:boolean|null;readonly yesNo33:boolean|null;readonly yesNo34:boolean|null;readonly yesNo35:boolean|null;readonly yesNo36:boolean|null;readonly yesNo37:boolean|null;readonly yesNo38:boolean|null;readonly yesNo39:boolean|null;readonly yesNo4:boolean|null;readonly yesNo40:boolean|null;readonly yesNo41:boolean|null;readonly yesNo42:boolean|null;readonly yesNo43:boolean|null;readonly yesNo44:boolean|null;readonly yesNo45:boolean|null;readonly yesNo46:boolean|null;readonly yesNo47:boolean|null;readonly yesNo48:boolean|null;readonly yesNo49:boolean|null;readonly yesNo5:boolean|null;readonly yesNo50:boolean|null;readonly yesNo51:boolean|null;readonly yesNo52:boolean|null;readonly yesNo53:boolean|null;readonly yesNo54:boolean|null;readonly yesNo55:boolean|null;readonly yesNo56:boolean|null;readonly yesNo57:boolean|null;readonly yesNo58:boolean|null;readonly yesNo59:boolean|null;readonly yesNo6:boolean|null;readonly yesNo60:boolean|null;readonly yesNo61:boolean|null;readonly yesNo62:boolean|null;readonly yesNo63:boolean|null;readonly yesNo64:boolean|null;readonly yesNo65:boolean|null;readonly yesNo66:boolean|null;readonly yesNo67:boolean|null;readonly yesNo68:boolean|null;readonly yesNo69:boolean|null;readonly yesNo7:boolean|null;readonly yesNo70:boolean|null;readonly yesNo71:boolean|null;readonly yesNo72:boolean|null;readonly yesNo73:boolean|null;readonly yesNo74:boolean|null;readonly yesNo75:boolean|null;readonly yesNo76:boolean|null;readonly yesNo77:boolean|null;readonly yesNo78:boolean|null;readonly yesNo79:boolean|null;readonly yesNo8:boolean|null;readonly yesNo80:boolean|null;readonly yesNo81:boolean|null;readonly yesNo82:boolean|null;readonly yesNo9:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent1:Agent|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: {readonly taxons:RA}};export type TaxonCitation = {readonly tableName: 'TaxonCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly number1:number|null;readonly number2:number|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork;readonly taxon:Taxon};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type TaxonTreeDef = {readonly tableName: 'TaxonTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type TaxonTreeDefItem = {readonly tableName: 'TaxonTreeDefItem';readonly fields: {readonly formatToken:string|null;readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:TaxonTreeDefItem|null;readonly treeDef:TaxonTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type TreatmentEvent = {readonly tableName: 'TreatmentEvent';readonly fields: {readonly dateBoxed:string|null;readonly dateCleaned:string|null;readonly dateCompleted:string|null;readonly dateReceived:string|null;readonly dateToIsolation:string|null;readonly dateTreatmentEnded:string|null;readonly fieldNumber:string|null;readonly location:string|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly number4:number|null;readonly number5:number|null;readonly remarks:string|null;readonly dateTreatmentStarted:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly text4:string|null;readonly text5:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly treatmentNumber:string|null;readonly type:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly accession:Accession|null;readonly authorizedBy:Agent|null;readonly collectionObject:CollectionObject|null;readonly createdByAgent:Agent|null;readonly division:Division|null;readonly modifiedByAgent:Agent|null;readonly performedBy:Agent|null};readonly toManyDependent: {readonly treatmentEventAttachments:RA};readonly toManyIndependent: RR};export type TreatmentEventAttachment = {readonly tableName: 'TreatmentEventAttachment';readonly fields: {readonly ordinal:number;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly treatmentEvent:TreatmentEvent};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type VoucherRelationship = {readonly tableName: 'VoucherRelationship';readonly fields: {readonly collectionCode:string|null;readonly collectionMemberId:number;readonly institutionCode:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly number1:number|null;readonly number2:number|null;readonly number3:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly urlLink:string|null;readonly version:number|null;readonly voucherNumber:string|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null;readonly yesNo3:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Workbench = {readonly tableName: 'Workbench';readonly fields: {readonly allPermissionLevel:number|null;readonly dbTableId:number|null;readonly exportInstitutionName:string|null;readonly exportedFromTableName:string|null;readonly formId:number|null;readonly groupPermissionLevel:number|null;readonly lockedByUserName:string|null;readonly name:string|null;readonly ownerPermissionLevel:number|null;readonly remarks:string|null;readonly srcFilePath:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly workbenchTemplate:WorkbenchTemplate};readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly group:SpPrincipal|null;readonly modifiedByAgent:Agent|null;readonly specifyUser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: {readonly workbenchRows:RA}};export type WorkbenchDataItem = {readonly tableName: 'WorkbenchDataItem';readonly fields: {readonly cellData:string|null;readonly rowNumber:number|null;readonly validationStatus:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly workbenchRow:WorkbenchRow;readonly workbenchTemplateMappingItem:WorkbenchTemplateMappingItem};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type WorkbenchRow = {readonly tableName: 'WorkbenchRow';readonly fields: {readonly bioGeomancerResults:string|null;readonly cardImageData:string|null;readonly cardImageFullPath:string|null;readonly errorEstimate:number|null;readonly errorPolygon:string|null;readonly lat1Text:string|null;readonly lat2Text:string|null;readonly long1Text:string|null;readonly long2Text:string|null;readonly recordId:number|null;readonly rowNumber:number|null;readonly sgrStatus:number|null;readonly uploadStatus:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly workbench:Workbench};readonly toManyDependent: RR;readonly toManyIndependent: {readonly workbenchDataItems:RA;readonly workbenchRowExportedRelationships:RA;readonly workbenchRowImages:RA}};export type WorkbenchRowExportedRelationship = {readonly tableName: 'WorkbenchRowExportedRelationship';readonly fields: {readonly recordId:number|null;readonly relationshipName:string|null;readonly sequence:number|null;readonly tableName:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly workbenchRow:WorkbenchRow};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type WorkbenchRowImage = {readonly tableName: 'WorkbenchRowImage';readonly fields: {readonly attachToTableName:string|null;readonly cardImageData:string|null;readonly cardImageFullPath:string|null;readonly imageOrder:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly workbenchRow:WorkbenchRow};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type WorkbenchTemplate = {readonly tableName: 'WorkbenchTemplate';readonly fields: {readonly name:string|null;readonly remarks:string|null;readonly srcFilePath:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly specifyUser:SpecifyUser};readonly toManyDependent: {readonly workbenchTemplateMappingItems:RA};readonly toManyIndependent: {readonly workbenches:RA}};export type WorkbenchTemplateMappingItem = {readonly tableName: 'WorkbenchTemplateMappingItem';readonly fields: {readonly caption:string|null;readonly carryForward:boolean|null;readonly dataFieldLength:number|null;readonly fieldName:string|null;readonly fieldType:number|null;readonly importedColName:string|null;readonly isEditable:boolean|null;readonly isExportableToContent:boolean|null;readonly isIncludedInTitle:boolean|null;readonly isRequired:boolean|null;readonly metaData:string|null;readonly origImportColumnIndex:number|null;readonly srcTableId:number|null;readonly tableName:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly viewOrder:number|null;readonly xCoord:number|null;readonly yCoord:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly workbenchTemplate:WorkbenchTemplate};readonly toManyDependent: RR;readonly toManyIndependent: {readonly workbenchDataItems:RA}};export type Spuserexternalid = {readonly tableName: 'Spuserexternalid';readonly fields: {readonly enabled:boolean;readonly idtoken:string|null;readonly provider:string;readonly providerid:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Spattachmentdataset = {readonly tableName: 'Spattachmentdataset';readonly fields: {readonly data:string|null;readonly importedfilename:string|null;readonly name:string;readonly remarks:string|null;readonly timestampcreated:string;readonly timestampmodified:string|null;readonly uploadplan:string|null;readonly uploadresult:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdbyagent:Agent|null;readonly modifiedbyagent:Agent|null;readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type UniquenessRule = {readonly tableName: 'UniquenessRule';readonly fields: {readonly isdatabaseconstraint:boolean;readonly modelname:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly discipline:Discipline|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type UniquenessRuleField = {readonly tableName: 'UniquenessRuleField';readonly fields: {readonly fieldpath:string;readonly isscope:boolean};readonly toOneDependent: RR;readonly toOneIndependent: {readonly uniquenessrule:UniquenessRule};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Message = {readonly tableName: 'Message';readonly fields: {readonly content:string|null;readonly read:boolean;readonly timestampcreated:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly user:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Spmerging = {readonly tableName: 'Spmerging';readonly fields: {readonly name:string;readonly newrecorddata:string|null;readonly newrecordid:number;readonly oldrecordids:string|null;readonly response:string|null;readonly status:string;readonly table:string;readonly taskid:string;readonly timestampcreated:string;readonly timestampmodified:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdbyagent:Agent|null;readonly modifiedbyagent:Agent|null;readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LocalityUpdate = {readonly tableName: 'LocalityUpdate';readonly fields: {readonly status:string;readonly taskid:string;readonly timestampcreated:string;readonly timestampmodified:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdbyagent:Agent|null;readonly modifiedbyagent:Agent|null;readonly recordset:RecordSet|null;readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LocalityUpdateRowResult = {readonly tableName: 'LocalityUpdateRowResult';readonly fields: {readonly result:string;readonly rownumber:number};readonly toOneDependent: {readonly localityupdate:LocalityUpdate|null};readonly toOneIndependent: RR;readonly toManyDependent: RR;readonly toManyIndependent: RR};export type UserPolicy = {readonly tableName: 'UserPolicy';readonly fields: {readonly action:string;readonly resource:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Role = {readonly tableName: 'Role';readonly fields: {readonly description:string|null;readonly name:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LibraryRole = {readonly tableName: 'LibraryRole';readonly fields: {readonly description:string|null;readonly name:string};readonly toOneDependent: RR;readonly toOneIndependent: RR;readonly toManyDependent: RR;readonly toManyIndependent: RR};export type UserRole = {readonly tableName: 'UserRole';readonly fields: {};readonly toOneDependent: RR;readonly toOneIndependent: {readonly role:Role;readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type RolePolicy = {readonly tableName: 'RolePolicy';readonly fields: {readonly action:string;readonly resource:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly role:Role};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type LibraryRolePolicy = {readonly tableName: 'LibraryRolePolicy';readonly fields: {readonly action:string;readonly resource:string};readonly toOneDependent: RR;readonly toOneIndependent: {readonly role:LibraryRole};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type Spdataset = {readonly tableName: 'Spdataset';readonly fields: {readonly columns:string;readonly data:string|null;readonly importedfilename:string|null;readonly name:string;readonly remarks:string|null;readonly rowresults:string|null;readonly timestampcreated:string;readonly timestampmodified:string|null;readonly uploadplan:string|null;readonly uploadresult:string|null;readonly visualorder:string|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdbyagent:Agent|null;readonly modifiedbyagent:Agent|null;readonly specifyuser:SpecifyUser};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionObjectType = {readonly tableName: 'CollectionObjectType';readonly fields: {readonly catalogNumberFormatName:string|null;readonly name:string;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly taxonTreeDef:TaxonTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionObjectGroup = {readonly tableName: 'CollectionObjectGroup';readonly fields: {readonly decimal1:number|null;readonly decimal2:number|null;readonly decimal3:number|null;readonly description:string|null;readonly guid:string|null;readonly igsn:string|null;readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly name:string;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesno1:boolean|null;readonly yesno2:boolean|null;readonly yesno3:boolean|null};readonly toOneDependent: {readonly cojo:CollectionObjectGroupJoin|null};readonly toOneIndependent: {readonly cogType:CollectionObjectGroupType;readonly collection:Collection|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly children:RA};readonly toManyIndependent: RR};export type CollectionObjectGroupJoin = {readonly tableName: 'CollectionObjectGroupJoin';readonly fields: {readonly integer1:number|null;readonly integer2:number|null;readonly integer3:number|null;readonly isPrimary:boolean;readonly isSubstrate:boolean;readonly precedence:number;readonly text1:string|null;readonly text2:string|null;readonly text3:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesno1:boolean|null;readonly yesno2:boolean|null;readonly yesno3:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly childCo:CollectionObject|null;readonly childCog:CollectionObjectGroup|null;readonly parentCog:CollectionObjectGroup};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type CollectionObjectGroupType = {readonly tableName: 'CollectionObjectGroupType';readonly fields: {readonly name:string;readonly timestampCreated:string;readonly timestampModified:string|null;readonly type:string;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collection:Collection|null;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AbsoluteAge = {readonly tableName: 'AbsoluteAge';readonly fields: {readonly absoluteAge:number|null;readonly ageType:string|null;readonly ageUncertainty:number|null;readonly collectionDate:string|null;readonly date1:string|null;readonly date2:string|null;readonly datingMethod:string|null;readonly datingMethodRemarks:string|null;readonly number1:number|null;readonly number2:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesno1:boolean|null;readonly yesno2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly agent1:Agent|null;readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly absoluteAgeAttachments:RA;readonly absoluteAgeCitations:RA};readonly toManyIndependent: RR};export type RelativeAge = {readonly tableName: 'RelativeAge';readonly fields: {readonly ageType:string|null;readonly ageUncertainty:number|null;readonly collectionDate:string|null;readonly date1:string|null;readonly date2:string|null;readonly datingMethod:string|null;readonly datingMethodRemarks:string|null;readonly number1:number|null;readonly number2:number|null;readonly relativeAgePeriod:number|null;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly verbatimName:string|null;readonly verbatimPeriod:string|null;readonly version:number|null;readonly yesno1:boolean|null;readonly yesno2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly ageName:GeologicTimePeriod|null;readonly ageNameEnd:GeologicTimePeriod|null;readonly agent1:Agent|null;readonly agent2:Agent|null;readonly collectionObject:CollectionObject;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly relativeAgeAttachments:RA;readonly relativeAgeCitations:RA};readonly toManyIndependent: RR};export type AbsoluteAgeAttachment = {readonly tableName: 'AbsoluteAgeAttachment';readonly fields: {readonly ordinal:number|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly absoluteAge:AbsoluteAge;readonly collectionMember:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type RelativeAgeAttachment = {readonly tableName: 'RelativeAgeAttachment';readonly fields: {readonly ordinal:number|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: {readonly attachment:Attachment};readonly toOneIndependent: {readonly collectionMember:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly relativeAge:RelativeAge};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type AbsoluteAgeCitation = {readonly tableName: 'AbsoluteAgeCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly absoluteAge:AbsoluteAge;readonly collectionMember:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type RelativeAgeCitation = {readonly tableName: 'RelativeAgeCitation';readonly fields: {readonly figureNumber:string|null;readonly isFigured:boolean|null;readonly pageNumber:string|null;readonly plateNumber:string|null;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly collectionMember:Collection;readonly createdByAgent:Agent|null;readonly modifiedByAgent:Agent|null;readonly referenceWork:ReferenceWork;readonly relativeAge:RelativeAge};readonly toManyDependent: RR;readonly toManyIndependent: RR};export type TectonicUnitTreeDef = {readonly tableName: 'TectonicUnitTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type TectonicUnitTreeDefItem = {readonly tableName: 'TectonicUnitTreeDefItem';readonly fields: {readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdbyagent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:TectonicUnitTreeDefItem|null;readonly treeDef:TectonicUnitTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type TectonicUnit = {readonly tableName: 'TectonicUnit';readonly fields: {readonly fullName:string|null;readonly guid:string|null;readonly highestChildNodeNumber:number|null;readonly isAccepted:boolean;readonly name:string;readonly nodeNumber:number|null;readonly number1:number|null;readonly number2:number|null;readonly rankId:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesno1:boolean|null;readonly yesno2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly acceptedTectonicUnit:TectonicUnit|null;readonly createdByAgent:Agent|null;readonly definition:TectonicUnitTreeDef;readonly definitionItem:TectonicUnitTreeDefItem;readonly modifiedByAgent:Agent|null;readonly parent:TectonicUnit};readonly toManyDependent: RR;readonly toManyIndependent: {readonly acceptedChildren:RA;readonly paleoContexts:RA}};export type DrainageTreeDef = {readonly tableName: 'DrainageTreeDef';readonly fields: {readonly fullNameDirection:number|null;readonly name:string;readonly remarks:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdByAgent:Agent|null;readonly discipline:Discipline;readonly modifiedByAgent:Agent|null};readonly toManyDependent: {readonly treeDefItems:RA};readonly toManyIndependent: {readonly treeEntries:RA}};export type DrainageTreeDefItem = {readonly tableName: 'DrainageTreeDefItem';readonly fields: {readonly fullNameSeparator:string|null;readonly isEnforced:boolean|null;readonly isInFullName:boolean|null;readonly name:string;readonly rankId:number;readonly remarks:string|null;readonly textAfter:string|null;readonly textBefore:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly title:string|null;readonly version:number|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly createdbyagent:Agent|null;readonly modifiedByAgent:Agent|null;readonly parent:DrainageTreeDefItem|null;readonly treeDef:DrainageTreeDef};readonly toManyDependent: RR;readonly toManyIndependent: {readonly children:RA;readonly treeEntries:RA}};export type Drainage = {readonly tableName: 'Drainage';readonly fields: {readonly fullName:string|null;readonly guid:string|null;readonly highestChildNodeNumber:number|null;readonly isAccepted:boolean;readonly name:string;readonly nodeNumber:number|null;readonly number1:number|null;readonly number2:number|null;readonly rankId:number;readonly remarks:string|null;readonly text1:string|null;readonly text2:string|null;readonly timestampCreated:string;readonly timestampModified:string|null;readonly version:number|null;readonly yesNo1:boolean|null;readonly yesNo2:boolean|null};readonly toOneDependent: RR;readonly toOneIndependent: {readonly acceptedDrainage:Drainage|null;readonly createdByAgent:Agent|null;readonly definition:DrainageTreeDef;readonly definitionItem:DrainageTreeDefItem;readonly modifiedByAgent:Agent|null;readonly parent:Drainage};readonly toManyDependent: RR;readonly toManyIndependent: {readonly acceptedChildren:RA;readonly localities:RA}} diff --git a/specifyweb/frontend/js_src/lib/components/InitialContext/remotePrefs.ts b/specifyweb/frontend/js_src/lib/components/InitialContext/remotePrefs.ts index 83bf2d6c614..f8486d5a747 100644 --- a/specifyweb/frontend/js_src/lib/components/InitialContext/remotePrefs.ts +++ b/specifyweb/frontend/js_src/lib/components/InitialContext/remotePrefs.ts @@ -162,6 +162,12 @@ export const remotePrefsDefinitions = f.store( formatters: [formatter.trim], isLegacy: false, }, + 'Drainage.treeview_sort_field': { + description: 'Sort order for nodes in the tree viewer', + defaultValue: 'name', + formatters: [formatter.trim], + isLegacy: false, + }, 'TreeEditor.Rank.Threshold.GeologicTimePeriod': { description: 'Show Collection Object count only for nodes with RankID >= than this value', @@ -204,6 +210,13 @@ export const remotePrefsDefinitions = f.store( parser: 'java.lang.Long', isLegacy: true, }, + 'TreeEditor.Rank.Threshold.Drainage': { + description: + 'Show Collection Object count only for nodes with RankID >= than this value', + defaultValue: 99_999, + parser: 'java.lang.Long', + isLegacy: true, + }, /* * This pref was implemented in Specify 7 in https://github.com/specify/specify7/pull/2818 @@ -286,6 +299,13 @@ export const remotePrefsDefinitions = f.store( parser: 'java.lang.Boolean', isLegacy: false, }, + 'sp7.allow_adding_child_to_synonymized_parent.Drainage': { + description: + 'Allowed to add children to synopsized Drainage records', + defaultValue: false, + parser: 'java.lang.Boolean', + isLegacy: false, + }, // This is actually stored in Global Prefs: /* * 'AUDIT_LIFESPAN_MONTHS': { diff --git a/specifyweb/frontend/js_src/lib/components/InitialContext/treeRanks.ts b/specifyweb/frontend/js_src/lib/components/InitialContext/treeRanks.ts index b4183772ad8..46db98c91da 100644 --- a/specifyweb/frontend/js_src/lib/components/InitialContext/treeRanks.ts +++ b/specifyweb/frontend/js_src/lib/components/InitialContext/treeRanks.ts @@ -40,10 +40,12 @@ let treeDefinitions: TreeInformation = undefined!; const commonTrees = ['Geography', 'Storage', 'Taxon'] as const; const treesForPaleo = ['GeologicTimePeriod', 'LithoStrat'] as const; const treesForGeo = ['TectonicUnit'] as const; +const treesForFish = ['Drainage'] as const; export const allTrees = [ ...commonTrees, ...treesForPaleo, ...treesForGeo, + ...treesForFish, ] as const; /* * Until discipline information is loaded, assume all trees are appropriate in diff --git a/specifyweb/frontend/js_src/lib/components/Molecules/SvgIcon.tsx b/specifyweb/frontend/js_src/lib/components/Molecules/SvgIcon.tsx index c2a8d834d94..fcd93aab701 100644 --- a/specifyweb/frontend/js_src/lib/components/Molecules/SvgIcon.tsx +++ b/specifyweb/frontend/js_src/lib/components/Molecules/SvgIcon.tsx @@ -239,6 +239,7 @@ const colorMapper = f.store>>(() => ({ ...startsWith('Agent', colors.yellowOrange), ...startsWith('Collecting', colors.blue), ...startsWith('DNA', colors.purple), + ...startsWith('Drainage', colors.lightBlue), ...startsWith('Sp', colors.lightBlue), ...startsWith('Workbench', colors.green), ...startsWith('AbsoluteAge', colors.blue), diff --git a/specifyweb/frontend/js_src/lib/components/Permissions/definitions.ts b/specifyweb/frontend/js_src/lib/components/Permissions/definitions.ts index 68bca10b572..707143d423a 100644 --- a/specifyweb/frontend/js_src/lib/components/Permissions/definitions.ts +++ b/specifyweb/frontend/js_src/lib/components/Permissions/definitions.ts @@ -73,6 +73,13 @@ export const operationPolicies = { 'desynonymize', 'repair', ], + '/tree/edit/drainage': [ + 'merge', + 'move', + 'synonymize', + 'desynonymize', + 'repair', + ], '/workbench/dataset': [ 'create', 'update', diff --git a/specifyweb/frontend/js_src/lib/components/PickLists/definitions.ts b/specifyweb/frontend/js_src/lib/components/PickLists/definitions.ts index 76917652aa9..0e9a1c7cd0d 100644 --- a/specifyweb/frontend/js_src/lib/components/PickLists/definitions.ts +++ b/specifyweb/frontend/js_src/lib/components/PickLists/definitions.ts @@ -225,6 +225,7 @@ export const getFrontEndPickLists = f.store<{ LithoStratTreeDef: { fullNameDirection }, StorageTreeDef: { fullNameDirection }, TaxonTreeDef: { fullNameDirection }, + DrainageUnitTreeDef: { fullNameDirection }, PrepType: { name: definePicklist('_PrepType', []) .set('type', PickListTypes.FIELDS) diff --git a/specifyweb/frontend/js_src/lib/components/Preferences/UserDefinitions.tsx b/specifyweb/frontend/js_src/lib/components/Preferences/UserDefinitions.tsx index f3856c2fee4..1dec5ef3c94 100644 --- a/specifyweb/frontend/js_src/lib/components/Preferences/UserDefinitions.tsx +++ b/specifyweb/frontend/js_src/lib/components/Preferences/UserDefinitions.tsx @@ -1539,6 +1539,27 @@ export const userPreferenceDefinitions = { }), }, }, + drainage: { + title: () => tableLabel('Drainage'), + items: { + treeAccentColor: definePref({ + title: preferencesText.treeAccentColor(), + requiresReload: false, + visible: true, + defaultValue: '#89CFF0', + renderer: ColorPickerPreferenceItem, + container: 'label', + }), + synonymColor: definePref({ + title: preferencesText.synonymColor(), + requiresReload: false, + visible: true, + defaultValue: '#dc2626', + renderer: ColorPickerPreferenceItem, + container: 'label', + }), + }, + }, }, }, queryBuilder: { diff --git a/specifyweb/frontend/js_src/lib/components/QueryBuilder/fromTree.ts b/specifyweb/frontend/js_src/lib/components/QueryBuilder/fromTree.ts index c46c6da6a9b..3342b566a57 100644 --- a/specifyweb/frontend/js_src/lib/components/QueryBuilder/fromTree.ts +++ b/specifyweb/frontend/js_src/lib/components/QueryBuilder/fromTree.ts @@ -86,6 +86,28 @@ const defaultFields: RR< startValue: nodeId.toString(), }), ], + Drainage: async (nodeId, rankName) => [ + makeField('catalogNumber', {}), + makeField('determinations.taxon.fullName', { + sortType: flippedSortTypes.ascending, + }), + makeField('determinations.isCurrent', { + isDisplay: false, + operStart: queryFieldFilters.trueOrNull.id, + }), + makeField('collectingEvent.locality.localityName', {}), + makeField('collectingEvent.locality.geography.fullName', { + sortType: flippedSortTypes.ascending, + }), + makeField('collectingEvent.locality.drainage.fullName', { + sortType: flippedSortTypes.ascending, + }), + makeField(`collectingEvent.locality.drainage.${rankName}.drainageId`, { + isDisplay: false, + operStart: queryFieldFilters.equal.id, + startValue: nodeId.toString(), + }), + ], Storage: async (nodeId, rankId) => [ makeField('catalogNumber', { sortType: flippedSortTypes.ascending, diff --git a/specifyweb/frontend/js_src/lib/components/TreeView/Tree.tsx b/specifyweb/frontend/js_src/lib/components/TreeView/Tree.tsx index c494894abb4..83f01001cf5 100644 --- a/specifyweb/frontend/js_src/lib/components/TreeView/Tree.tsx +++ b/specifyweb/frontend/js_src/lib/components/TreeView/Tree.tsx @@ -35,6 +35,7 @@ const treeToPref = { GeologicTimePeriod: 'geologicTimePeriod', LithoStrat: 'lithoStrat', TectonicUnit: 'tectonicUnit', + Drainage: 'drainage', } as const; export function Tree< diff --git a/specifyweb/specify/build_models.py b/specifyweb/specify/build_models.py index 69256a9fbb8..01ca993ffdf 100644 --- a/specifyweb/specify/build_models.py +++ b/specifyweb/specify/build_models.py @@ -119,6 +119,7 @@ def protect(collector, field, sub_objs, using): 'Storagetreedefitem.parent': models.DO_NOTHING, 'Taxontreedefitem.parent': models.DO_NOTHING, 'Tectonicunittreedefitem.parent': models.DO_NOTHING, + 'Drainagetreedefitem.parent': models.DO_NOTHING, } def make_relationship(modelname, rel, datamodel): diff --git a/specifyweb/specify/datamodel.py b/specifyweb/specify/datamodel.py index 5bd1d3b584f..0bfb0fc25ff 100644 --- a/specifyweb/specify/datamodel.py +++ b/specifyweb/specify/datamodel.py @@ -2988,6 +2988,7 @@ Relationship(name='createdByAgent', type='many-to-one',required=False, relatedModelName='Agent', column='CreatedByAgentID'), Relationship(name='dataType', type='many-to-one',required=True, relatedModelName='DataType', column='DataTypeID'), Relationship(name='division', type='many-to-one',required=True, relatedModelName='Division', column='DivisionID', otherSideName='disciplines'), + Relationship(name='drainageTreeDef', type='many-to-one',required=True, relatedModelName='DrainageTreeDef', column='DrainageTreeDefID', otherSideName='disciplines'), Relationship(name='geographyTreeDef', type='many-to-one',required=True, relatedModelName='GeographyTreeDef', column='GeographyTreeDefID', otherSideName='disciplines'), Relationship(name='taxonTreeDef', type='many-to-one',required=False, relatedModelName='TaxonTreeDef', column='TaxonTreeDefID', otherSideName='disciplines'), Relationship(name='geologicTimePeriodTreeDef', type='many-to-one',required=True, relatedModelName='GeologicTimePeriodTreeDef', column='GeologicTimePeriodTreeDefID', otherSideName='disciplines'), @@ -4792,6 +4793,7 @@ Relationship(name='discipline', type='many-to-one',required=True, relatedModelName='Discipline', column='DisciplineID'), Relationship(name='geoCoordDetails', type='zero-to-one',required=False, relatedModelName='GeoCoordDetail', otherSideName='locality', dependent=True), Relationship(name='geography', type='many-to-one',required=False, relatedModelName='Geography', column='GeographyID', otherSideName='localities'), + Relationship(name='drainage', type='many-to-one',required=False, relatedModelName='Drainage', column='DrainageID', otherSideName='localities'), Relationship(name='latLonpolygons', type='one-to-many',required=False, relatedModelName='LatLonPolygon', otherSideName='locality', dependent=True), Relationship(name='localityAttachments', type='one-to-many',required=False, relatedModelName='LocalityAttachment', otherSideName='locality', dependent=True), Relationship(name='localityCitations', type='one-to-many',required=False, relatedModelName='LocalityCitation', otherSideName='locality', dependent=True), @@ -8707,6 +8709,121 @@ {'vname':'acceptedParent', 'aname':'acceptedTectonicUnit'} ], ), + Table( # DrainageTreeDef + sp7_only=True, + django_app='specify', + classname='edu.ku.brc.specify.datamodel.DrainageTreeDef', + table='drainagetreedef', + tableId=1028, + idColumn='DrainageTreeDefID', + idFieldName='drainageTreeDefId', + idField=IdField(name='drainageTreeDefId', column='DrainageTreeDefID', type='java.lang.Integer'), + fields=[ + Field(name='fullNameDirection', column='FullNameDirection', indexed=False, unique=False, required=False, type='java.lang.Integer'), + Field(name='name', column='Name', indexed=False, unique=False, required=True, type='java.lang.String', length=255), + Field(name='remarks', column='Remarks', indexed=False, unique=False, required=False, type='text'), + Field(name='timestampCreated', column='TimestampCreated', indexed=False, unique=False, required=True, type='java.sql.Timestamp'), + Field(name='timestampModified', column='TimestampModified', indexed=False, unique=False, required=False, type='java.sql.Timestamp'), + Field(name='version', column='Version', indexed=False, unique=False, required=False, type='java.lang.Integer'), + ], + indexes=[ + + ], + relationships=[ + Relationship(name='createdByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='CreatedByAgentID'), + Relationship(name='discipline', type='many-to-one', column='DisciplineID',required=True, relatedModelName='Discipline', otherSideName='drainageTreeDefs'), + Relationship(name='modifiedByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='ModifiedByAgentID'), + Relationship(name='treeDefItems', type='one-to-many',required=False, relatedModelName='DrainageTreeDefItem', otherSideName='treeDef', dependent=True), + Relationship(name='treeEntries', type='one-to-many',required=False, relatedModelName='Drainage', otherSideName='definition') + ], + fieldAliases=[ + + ] + ), + Table( # DrainageTreeDefItem + sp7_only=True, + django_app='specify', + classname='edu.ku.brc.specify.datamodel.DrainageTreeDefItem', + table='drainagetreedefitem', + tableId=1029, + idColumn='DrainageTreeDefItemID', + idFieldName='drainageTreeDefItemId', + idField=IdField(name='drainageTreeDefItemId', column='DrainageTreeDefItemID', type='java.lang.Integer'), + fields=[ + Field(name='fullNameSeparator', column='FullNameSeparator', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='isEnforced', column='IsEnforced', indexed=False, unique=False, required=False, type='java.lang.Boolean'), + Field(name='isInFullName', column='IsInFullName', indexed=False, unique=False, required=False, type='java.lang.Boolean'), + Field(name='name', column='Name', indexed=False, unique=False, required=True, type='java.lang.String', length=255), + Field(name='rankId', column='RankID', indexed=False, unique=False, required=True, type='java.lang.Integer'), + Field(name='remarks', column='Remarks', indexed=False, unique=False, required=False, type='text'), + Field(name='textAfter', column='TextAfter', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='textBefore', column='TextBefore', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='timestampCreated', column='TimestampCreated', indexed=False, unique=False, required=True, type='java.sql.Timestamp'), + Field(name='timestampModified', column='TimestampModified', indexed=False, unique=False, required=False, type='java.sql.Timestamp'), + Field(name='title', column='Title', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='version', column='Version', indexed=False, unique=False, required=False, type='java.lang.Integer'), + ], + indexes=[ + + ], + relationships=[ + Relationship(name='children', type='one-to-many',required=False, relatedModelName='DrainageTreeDefItem', otherSideName='parent'), + Relationship(name='createdbyagent', type='many-to-one', required=False, relatedModelName='Agent', column='CreatedByAgentID'), + Relationship(name='modifiedByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='ModifiedByAgentID'), + Relationship(name='parent', type='many-to-one', required=False, relatedModelName='DrainageTreeDefItem', column='ParentItemID', otherSideName='children'), + Relationship(name='treeDef', type='many-to-one', required=True, relatedModelName='DrainageTreeDef', column='DrainageTreeDefID', + otherSideName='treeDefItems'), + Relationship(name='treeEntries', type='one-to-many',required=False, relatedModelName='Drainage', otherSideName='definitionItem') + ], + fieldAliases=[ + + ] + ), + Table( # Drainage + sp7_only=True, + django_app='specify', + classname='edu.ku.brc.specify.datamodel.Drainage', + table='drainage', + tableId=1030, + idColumn='DrainageID', + idFieldName='drainageId', + idField=IdField(name='drainageId', column='DrainageID', type='java.lang.Integer'), + fields=[ + Field(name='fullName', column='FullName', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='guid', column='GUID', indexed=False, unique=False, required=False, type='java.lang.String', length=128), + Field(name='highestChildNodeNumber', column='HighestChildNodeNumber', indexed=False, unique=False, required=False, type='java.lang.Integer'), + Field(name='isAccepted', column='IsAccepted', indexed=False, unique=False, required=True, type='java.lang.Boolean'), + Field(name='name', column='Name', indexed=False, unique=False, required=True, type='java.lang.String', length=255), + Field(name='nodeNumber', column='NodeNumber', indexed=False, unique=False, required=False, type='java.lang.Integer'), + Field(name='number1', column='Number1', indexed=False, unique=False, required=False, type='java.math.BigDecimal'), + Field(name='number2', column='Number2', indexed=False, unique=False, required=False, type='java.math.BigDecimal'), + Field(name='rankId', column='RankID', indexed=False, unique=False, required=True, type='java.lang.Integer'), + Field(name='remarks', column='Remarks', indexed=False, unique=False, required=False, type='text'), + Field(name='text1', column='Text1', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='text2', column='Text2', indexed=False, unique=False, required=False, type='java.lang.String', length=255), + Field(name='timestampCreated', column='TimestampCreated', indexed=False, unique=False, required=True, type='java.sql.Timestamp'), + Field(name='timestampModified', column='TimestampModified', indexed=False, unique=False, required=False, type='java.sql.Timestamp'), + Field(name='version', column='Version', indexed=False, unique=False, required=False, type='java.lang.Integer'), + Field(name='yesNo1', column='YesNo1', indexed=False, unique=False, required=False, type='java.lang.Boolean'), + Field(name='yesNo2', column='YesNo2', indexed=False, unique=False, required=False, type='java.lang.Boolean') + ], + indexes=[ + + ], + relationships=[ + Relationship(name='acceptedChildren', type='one-to-many',required=False, relatedModelName='Drainage', otherSideName='acceptedDrainage'), + Relationship(name='acceptedDrainage', type='many-to-one', required=False, relatedModelName='Drainage', column='AcceptedID', otherSideName='acceptedChildren'), + Relationship(name='createdByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='CreatedByAgentID'), + Relationship(name='modifiedByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='ModifiedByAgentID'), + Relationship(name='parent', type='many-to-one', required=True, relatedModelName='Drainage', column='ParentID'), + Relationship(name='definition', type='many-to-one', required=True, relatedModelName='DrainageTreeDef', column='DrainageTreeDefID', otherSideName='treeEntries'), + Relationship(name='definitionItem', type='many-to-one', required=True, relatedModelName='DrainageTreeDefItem', column='DrainageTreeDefItemID', otherSideName='treeEntries'), + Relationship(name='localities', type='one-to-many',required=False, relatedModelName='Locality', otherSideName='drainage'), + ], + fieldAliases=[ + {'vname':'acceptedParent', 'aname':'acceptedDrainage'} + ], + ), ]) # add_collectingevents_to_locality(datamodel) # added statically to datamodel definitions diff --git a/specifyweb/specify/load_datamodel.py b/specifyweb/specify/load_datamodel.py index 421aea8dbec..8b4621ea863 100644 --- a/specifyweb/specify/load_datamodel.py +++ b/specifyweb/specify/load_datamodel.py @@ -77,7 +77,7 @@ class Table(object): fieldAliases: List[Dict[str, str]] sp7_only: bool = False django_app: str = 'specify' - virtual_fiels: List['Field'] = [] + virtual_fields: List['Field'] = [] def __init__(self, classname: str = None, table: str = None, tableId: int = None, idColumn: str = None, idFieldName: str = None, idField: 'Field' = None, diff --git a/specifyweb/specify/migration_utils/sp7_schemaconfig.py b/specifyweb/specify/migration_utils/sp7_schemaconfig.py index bf2ebeb9958..aa6ed0ead6b 100644 --- a/specifyweb/specify/migration_utils/sp7_schemaconfig.py +++ b/specifyweb/specify/migration_utils/sp7_schemaconfig.py @@ -1,7 +1,7 @@ """ These represent changes to the SchemaConfig tables SpLocaleContainer, SpLocaleContainerItem, and SpLocaleItemStr -in migrations from 0002-0016 +in migrations from 0002-0023. These are needed in this file because there was a bug in migrations which was later resolved in migration 0016, so both the migration files and the bug-fix @@ -79,4 +79,15 @@ MIGRATION_0021_FIELDS = { 'CollectionObject': ['relativeAges', 'absoluteAges', 'cojo'], +} + +MIGRATION_0023_TABLES = { + ('DrainageTreeDef', None), + ('DrainageTreeDefItem', None), + ('Drainage', None), +} + +MIGRATION_0023_FIELDS = { + 'Discipline': ['drainageTreeDef'], + 'Locality': ['drainage'], } \ No newline at end of file diff --git a/specifyweb/specify/migrations/0023_add_drainage_tree.py b/specifyweb/specify/migrations/0023_add_drainage_tree.py new file mode 100644 index 00000000000..304d277f763 --- /dev/null +++ b/specifyweb/specify/migrations/0023_add_drainage_tree.py @@ -0,0 +1,135 @@ +# Generated by Django 3.2.15 on 2025-01-17 02:10 + +from django.apps import apps as specify_apps +from django.db import migrations, models +import django.db.models.deletion +import django.utils.timezone +from specifyweb.specify.models import protect_with_blockers + +from specifyweb.specify.migration_utils.update_schema_config import revert_table_field_schema_config, revert_table_schema_config, update_table_field_schema_config_with_defaults, update_table_schema_config_with_defaults +from specifyweb.specify.migration_utils.sp7_schemaconfig import MIGRATION_0023_TABLES as SCHEMA_CONFIG_TABLES, MIGRATION_0023_FIELDS as SCHEMA_CONFIG_MOD_TABLE_FIELDS + +def add_drainage_to_schema_config(apps): + Discipline = apps.get_model('specify', 'Discipline') + for discipline in Discipline.objects.all(): + for table, desc in SCHEMA_CONFIG_TABLES: + update_table_schema_config_with_defaults(table, discipline.id, desc, apps) + + for table, fields in SCHEMA_CONFIG_MOD_TABLE_FIELDS.items(): + for field in fields: + update_table_field_schema_config_with_defaults( + table, discipline.id, field, apps) + + +def remove_drainage_to_schema_config(apps): + for table, fields in SCHEMA_CONFIG_MOD_TABLE_FIELDS.items(): + for table, _ in SCHEMA_CONFIG_TABLES: + revert_table_schema_config(table, apps) + for field in fields: + revert_table_field_schema_config(table, field, apps) + +class Migration(migrations.Migration): + + dependencies = [ + ('specify', '0022_ensure_default_cots'), + ] + + def apply_migration(apps, schema_editor): + add_drainage_to_schema_config(apps) + + def revert_migration(apps, schema_editor): + remove_drainage_to_schema_config(apps) + + operations = [ + + migrations.CreateModel( + name='Drainagetreedef', + fields=[ + ('id', models.AutoField(db_column='drainagetreedefid', primary_key=True, serialize=False)), + ('fullnamedirection', models.IntegerField(blank=True, db_column='FullNameDirection', default=0, null=True)), + ('name', models.CharField(db_column='Name', max_length=255)), + ('remarks', models.TextField(blank=True, db_column='Remarks', null=True)), + ('timestampcreated', models.DateTimeField(db_column='TimestampCreated', default=django.utils.timezone.now)), + ('timestampmodified', models.DateTimeField(blank=True, db_column='TimestampModified', default=django.utils.timezone.now, null=True)), + ('version', models.IntegerField(blank=True, db_column='Version', default=0, null=True)), + ('createdbyagent', models.ForeignKey(db_column='CreatedByAgentID', null=True, on_delete=protect_with_blockers, related_name='+', to='specify.agent')), + ('modifiedbyagent', models.ForeignKey(db_column='ModifiedByAgentID', null=True, on_delete=protect_with_blockers, related_name='+', to='specify.agent')), + ('discipline', models.ForeignKey(db_column='DisciplineID', null=True, on_delete=protect_with_blockers, related_name='drainagetreedefs', to='specify.discipline')), + ], + options={ + 'db_table': 'drainagetreedef', + 'ordering': (), + }, + ), + migrations.CreateModel( + name='Drainagetreedefitem', + fields=[ + ('id', models.AutoField(db_column='drainagetreedefitemid', primary_key=True, serialize=False)), + ('fullnameseparator', models.CharField(blank=True, db_column='FullNameSeparator', max_length=255, null=True)), + ('isenforced', models.BooleanField(blank=True, db_column='IsEnforced', null=True)), + ('isinfullname', models.BooleanField(blank=True, db_column='IsInFullName', null=True)), + ('name', models.CharField(db_column='Name', max_length=255)), + ('rankid', models.IntegerField(blank=True, db_column='RankID', null=True)), + ('remarks', models.TextField(blank=True, db_column='Remarks', null=True)), + ('textafter', models.CharField(blank=True, db_column='TextAfter', max_length=255, null=True)), + ('textbefore', models.CharField(blank=True, db_column='TextBefore', max_length=255, null=True)), + ('timestampcreated', models.DateTimeField(db_column='TimestampCreated', default=django.utils.timezone.now)), + ('timestampmodified', models.DateTimeField(blank=True, db_column='TimestampModified', default=django.utils.timezone.now, null=True)), + ('title', models.CharField(blank=True, db_column='Title', max_length=255, null=True)), + ('version', models.IntegerField(blank=True, db_column='Version', default=0, null=True)), + ('createdbyagent', models.ForeignKey(db_column='CreatedByAgentID', null=True, on_delete=protect_with_blockers, related_name='+', to='specify.agent')), + ('modifiedbyagent', models.ForeignKey(db_column='ModifiedByAgentID', null=True, on_delete=protect_with_blockers, related_name='+', to='specify.agent')), + ('parent', models.ForeignKey(db_column='ParentItemID', null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='children', to='specify.drainagetreedefitem')), + ('treedef', models.ForeignKey(db_column='DrainageTreeDefID', null=True, on_delete=protect_with_blockers, related_name='treedefitems', to='specify.drainagetreedef')), + ], + options={ + 'db_table': 'drainagetreedefitem', + 'ordering': (), + }, + ), + migrations.CreateModel( + name='Drainage', + fields=[ + ('id', models.AutoField(db_column='drainageid', primary_key=True, serialize=False)), + ('fullname', models.CharField(blank=True, db_column='FullName', max_length=255, null=True)), + ('guid', models.CharField(blank=True, db_column='GUID', max_length=128, null=True)), + ('highestchildnodenumber', models.IntegerField(blank=True, db_column='HighestChildNodeNumber', null=True)), + ('isaccepted', models.BooleanField(db_column='IsAccepted', default=False)), + ('name', models.CharField(db_column='Name', max_length=255)), + ('nodenumber', models.IntegerField(blank=True, db_column='NodeNumber', null=True)), + ('number1', models.DecimalField(blank=True, db_column='Number1', decimal_places=10, max_digits=20, null=True)), + ('number2', models.DecimalField(blank=True, db_column='Number2', decimal_places=10, max_digits=20, null=True)), + ('rankid', models.IntegerField(db_column='RankID')), + ('remarks', models.TextField(blank=True, db_column='Remarks', null=True)), + ('text1', models.TextField(blank=True, db_column='Text1', null=True)), + ('text2', models.TextField(blank=True, db_column='Text2', null=True)), + ('timestampcreated', models.DateTimeField(db_column='TimestampCreated', default=django.utils.timezone.now)), + ('timestampmodified', models.DateTimeField(blank=True, db_column='TimestampModified', default=django.utils.timezone.now, null=True)), + ('version', models.IntegerField(blank=True, db_column='Version', default=0, null=True)), + ('yesno1', models.BooleanField(blank=True, db_column='YesNo1', null=True)), + ('yesno2', models.BooleanField(blank=True, db_column='YesNo2', null=True)), + ('accepteddrainage', models.ForeignKey(db_column='AcceptedID', null=True, on_delete=protect_with_blockers, related_name='acceptedchildren', to='specify.drainage')), + ('createdbyagent', models.ForeignKey(db_column='CreatedByAgentID', null=True, on_delete=protect_with_blockers, related_name='+', to='specify.agent')), + ('definition', models.ForeignKey(db_column='DrainageTreeDefID', null=True, on_delete=protect_with_blockers, related_name='treeentries', to='specify.drainagetreedef')), + ('definitionitem', models.ForeignKey(db_column='DrainageTreeDefItemID', null=True, on_delete=protect_with_blockers, related_name='treeentries', to='specify.drainagetreedefitem')), + ('modifiedbyagent', models.ForeignKey(db_column='ModifiedByAgentID', null=True, on_delete=protect_with_blockers, related_name='+', to='specify.agent')), + ('parent', models.ForeignKey(db_column='ParentID', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='specify.drainage')), + ], + options={ + 'db_table': 'drainage', + 'ordering': (), + }, + ), + migrations.AddField( + model_name='discipline', + name='drainagetreedef', + field=models.ForeignKey(db_column='DrainageTreeDefID', null=True, on_delete=protect_with_blockers, related_name='disciplines', to='specify.drainagetreedef'), + ), + migrations.AddField( + model_name='locality', + name='drainage', + field=models.ForeignKey(db_column='DrainageID', null=True, on_delete=protect_with_blockers, related_name='localities', to='specify.drainage'), + ), + + migrations.RunPython(apply_migration, revert_migration, atomic=True), + ] diff --git a/specifyweb/specify/migrations/0024_add_drainage_ranks.py b/specifyweb/specify/migrations/0024_add_drainage_ranks.py new file mode 100644 index 00000000000..bdc26915664 --- /dev/null +++ b/specifyweb/specify/migrations/0024_add_drainage_ranks.py @@ -0,0 +1,138 @@ +from django.db import migrations +from specifyweb.specify.models import protect_with_blockers + + +def create_default_drainage_ranks(apps): + DrainageTreeDefItem = apps.get_model('specify', 'DrainageTreeDefItem') + DrainageTreeDef = apps.get_model('specify', 'DrainageTreeDef') + Discipline = apps.get_model('specify', 'Discipline') + for discipline in Discipline.objects.all(): + drainage_tree_def, _ = DrainageTreeDef.objects.get_or_create(name="Drainage", discipline=discipline) + + root, _ = DrainageTreeDefItem.objects.get_or_create( + name="Root", + title="Root", + rankid=0, + parent=None, + treedef=drainage_tree_def, + ) + superstructure, _ = DrainageTreeDefItem.objects.get_or_create( + name="Watershed", + title="Watershed", + rankid=100, + parent=root, + treedef=drainage_tree_def, + ) + drainage_domain, _ = DrainageTreeDefItem.objects.get_or_create( + name="River Basin", + title="River Basin", + rankid=200, + parent=superstructure, + treedef=drainage_tree_def, + ) + drainage_subdomain, _ = DrainageTreeDefItem.objects.get_or_create( + name="River/Stream", + title="River/Stream", + rankid=300, + parent=drainage_domain, + treedef=drainage_tree_def, + ) + drainage_unit, _ = DrainageTreeDefItem.objects.get_or_create( + name="Tributary", + title="Tributary", + rankid=400, + parent=drainage_subdomain, + treedef=drainage_tree_def, + ) + drainage_subunit, _ = DrainageTreeDefItem.objects.get_or_create( + name="Waterbody", + title="Waterbody", + rankid=500, + parent=drainage_unit, + treedef=drainage_tree_def, + ) + + discipline.drainagetreedef = drainage_tree_def + discipline.save() + +def revert_default_drainage_ranks(apps, schema_editor): + Drainage = apps.get_model('specify', 'Drainage') + DrainageTreeDefItem = apps.get_model('specify', 'DrainageTreeDefItem') + DrainageTreeDef = apps.get_model('specify', 'DrainageTreeDef') + Discipline = apps.get_model('specify', 'Discipline') + + for discipline in Discipline.objects.all(): + drainage_tree_defs = DrainageTreeDef.objects.filter(name="Drainage Unit", discipline=discipline) + + for drainage_tree_def in drainage_tree_defs: + drainage_unit_tree_def_items = DrainageTreeDefItem.objects.filter(treedef=drainage_tree_def).order_by('-id') + + for item in drainage_unit_tree_def_items: + Drainage.objects.filter(definitionitem=item).delete() + + item.delete() + + discipline.drainagetreedef = None + discipline.save() + drainage_tree_def.delete() + +def create_root_drainage_node(apps): + Drainage = apps.get_model('specify', 'Drainage') + DrainageTreeDefItem = apps.get_model('specify', 'DrainageTreeDefItem') + DrainageTreeDef = apps.get_model('specify', 'DrainageTreeDef') + Discipline = apps.get_model('specify', 'Discipline') + + for discipline in Discipline.objects.all(): + + drainage_tree_def, created = DrainageTreeDef.objects.get_or_create( + name="Drainage", + discipline=discipline + ) + + drainage_tree_def_item, create = DrainageTreeDefItem.objects.get_or_create( + name="Root", + treedef=drainage_tree_def + ) + + root, _ = Drainage.objects.get_or_create( + name="Root", + isaccepted=1, + nodenumber=1, + rankid=0, + parent=None, + definition=drainage_tree_def, + definitionitem=drainage_tree_def_item + ) + +def revert_create_root_drainage_node(apps, schema_editor): + Drainage = apps.get_model('specify', 'Drainage') + DrainageTreeDefItem = apps.get_model('specify', 'DrainageTreeDefItem') + DrainageTreeDef = apps.get_model('specify', 'DrainageTreeDef') + Discipline = apps.get_model('specify', 'Discipline') + + for discipline in Discipline.objects.all(): + drainage_tree_def = DrainageTreeDef.objects.filter(name="Drainage Unit", discipline=discipline).first() + + if drainage_tree_def: + DrainageTreeDefItem.objects.filter(treedef=drainage_tree_def).delete() + Drainage.objects.filter( + name="Root" + ).delete() + +class Migration(migrations.Migration): + + dependencies = [ + ('specify', '0023_add_drainage_tree'), + ] + + def consolidated_python_django_migration_operations(apps, schema_editor): + create_default_drainage_ranks(apps) + create_root_drainage_node(apps) + + def revert_cosolidated_python_django_migration_operations(apps, schema_editor): + revert_default_drainage_ranks(apps, schema_editor) + revert_create_root_drainage_node(apps, schema_editor) + + operations = [ + migrations.RunPython(consolidated_python_django_migration_operations, revert_cosolidated_python_django_migration_operations, atomic=True), + ] \ No newline at end of file diff --git a/specifyweb/specify/model_extras.py b/specifyweb/specify/model_extras.py index 2e2a65e3ff6..38096e257ea 100644 --- a/specifyweb/specify/model_extras.py +++ b/specifyweb/specify/model_extras.py @@ -210,3 +210,15 @@ class Meta: class Tectonicunittreedefitem(TreeRank): class Meta: abstract = True + +class Drainage(Tree): + class Meta: + abstract = True + +class Drainageunit(Tree): + class Meta: + abstract = True + +class Drainagetreedefitem(TreeRank): + class Meta: + abstract = True diff --git a/specifyweb/specify/models.py b/specifyweb/specify/models.py index 69a13b2cfdc..bacc298c4e2 100644 --- a/specifyweb/specify/models.py +++ b/specifyweb/specify/models.py @@ -2823,6 +2823,7 @@ class Discipline(model_extras.Discipline): division = models.ForeignKey('Division', db_column='DivisionID', related_name='disciplines', null=False, on_delete=protect_with_blockers) geographytreedef = models.ForeignKey('GeographyTreeDef', db_column='GeographyTreeDefID', related_name='disciplines', null=False, on_delete=protect_with_blockers) taxontreedef = models.ForeignKey('TaxonTreeDef', db_column='TaxonTreeDefID', related_name='disciplines', null=True, on_delete=protect_with_blockers) + drainagetreedef = models.ForeignKey('DrainageTreeDef', db_column='DrainageTreeDefID', related_name='disciplines', null=True, on_delete=protect_with_blockers) geologictimeperiodtreedef = models.ForeignKey('GeologicTimePeriodTreeDef', db_column='GeologicTimePeriodTreeDefID', related_name='disciplines', null=False, on_delete=protect_with_blockers) lithostrattreedef = models.ForeignKey('LithoStratTreeDef', db_column='LithoStratTreeDefID', related_name='disciplines', null=True, on_delete=protect_with_blockers) tectonicunittreedef = models.ForeignKey('TectonicUnitTreeDef', db_column='TectonicUnitTreeDefID', related_name='disciplines', null=True, on_delete=protect_with_blockers) @@ -4515,6 +4516,7 @@ class Locality(models.Model): modifiedbyagent = models.ForeignKey('Agent', db_column='ModifiedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) paleocontext = models.ForeignKey('PaleoContext', db_column='PaleoContextID', related_name='localities', null=True, on_delete=protect_with_blockers) visibilitysetby = models.ForeignKey('SpecifyUser', db_column='VisibilitySetByID', related_name='+', null=True, on_delete=protect_with_blockers) + drainage = models.ForeignKey('Drainage', db_column='DrainageID', related_name='localities', null=True, on_delete=protect_with_blockers) class Meta: db_table = 'locality' @@ -7908,3 +7910,99 @@ class Meta: ordering = () save = partialmethod(custom_save) + +class Drainagetreedef(models.Model): + specify_model = datamodel.get_table_strict('drainagetreedef') + + # ID Field + id = models.AutoField(primary_key=True, db_column='drainagetreedefid') + + # Fields + fullnamedirection = models.IntegerField(blank=True, null=True, unique=False, db_column='FullNameDirection', db_index=False, default=0) + name = models.CharField(blank=False, max_length=255, null=False, unique=False, db_column='Name', db_index=False) + remarks = models.TextField(blank=True, null=True, unique=False, db_column='Remarks', db_index=False) + timestampcreated = models.DateTimeField(blank=False, null=False, unique=False, db_column='TimestampCreated', db_index=False, default=timezone.now) + timestampmodified = models.DateTimeField(blank=True, null=True, unique=False, db_column='TimestampModified', db_index=False, default=timezone.now) + version = models.IntegerField(blank=True, null=True, unique=False, db_column='Version', db_index=False, default=0) + + # Relationships: Many-to-One + discipline = models.ForeignKey('Discipline', db_column='DisciplineID', related_name='drainagetreedefs', null=True, on_delete=protect_with_blockers) + createdbyagent = models.ForeignKey('Agent', db_column='CreatedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) + modifiedbyagent = models.ForeignKey('Agent', db_column='ModifiedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) + + class Meta: + db_table = 'drainagetreedef' + ordering = () + + save = partialmethod(custom_save) + +class Drainagetreedefitem(model_extras.Drainagetreedefitem): + specify_model = datamodel.get_table_strict('drainagetreedefitem') + + # ID Field + id = models.AutoField(primary_key=True, db_column='drainagetreedefitemid') + + # Fields + fullnameseparator = models.CharField(blank=True, max_length=255, null=True, unique=False, db_column='FullNameSeparator', db_index=False) + isenforced = models.BooleanField(blank=True, null=True, unique=False, db_column='IsEnforced', db_index=False) + isinfullname = models.BooleanField(blank=True, null=True, unique=False, db_column='IsInFullName', db_index=False) + name = models.CharField(blank=False, max_length=255, null=False, unique=False, db_column='Name', db_index=False) + rankid = models.IntegerField(blank=True, null=True, unique=False, db_column='RankID', db_index=False) + remarks = models.TextField(blank=True, null=True, unique=False, db_column='Remarks', db_index=False) + textafter = models.CharField(blank=True, max_length=255, null=True, unique=False, db_column='TextAfter', db_index=False) + textbefore = models.CharField(blank=True, max_length=255, null=True, unique=False, db_column='TextBefore', db_index=False) + timestampcreated = models.DateTimeField(blank=False, null=False, unique=False, db_column='TimestampCreated', db_index=False, default=timezone.now) + timestampmodified = models.DateTimeField(blank=True, null=True, unique=False, db_column='TimestampModified', db_index=False, default=timezone.now) + title = models.CharField(blank=True, max_length=255, null=True, unique=False, db_column='Title', db_index=False) + version = models.IntegerField(blank=True, null=True, unique=False, db_column='Version', db_index=False, default=0) + + # Relationships: Many-to-One + createdbyagent = models.ForeignKey('Agent', db_column='CreatedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) + modifiedbyagent = models.ForeignKey('Agent', db_column='ModifiedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) + parent = models.ForeignKey('DrainageTreeDefItem', db_column='ParentItemID', related_name='children', null=True, on_delete=models.DO_NOTHING) + treedef = models.ForeignKey('DrainageTreeDef', db_column='DrainageTreeDefID', related_name='treedefitems', null=True, on_delete=protect_with_blockers) + + class Meta: + db_table = 'drainagetreedefitem' + ordering = () + + save = partialmethod(custom_save) + +class Drainage(model_extras.Drainage): + specify_model = datamodel.get_table_strict('drainage') + + # ID Field + id = models.AutoField(primary_key=True, db_column='drainageid') + + # Fields + fullname = models.CharField(blank=True, max_length=255, null=True, unique=False, db_column='FullName', db_index=False) + guid = models.CharField(blank=True, max_length=128, null=True, unique=False, db_column='GUID', db_index=False) + highestchildnodenumber = models.IntegerField(blank=True, null=True, unique=False, db_column='HighestChildNodeNumber', db_index=False) + isaccepted = models.BooleanField(blank=False, null=False, unique=False, db_column='IsAccepted', db_index=False, default=False) + name = models.CharField(blank=False, max_length=255, null=False, unique=False, db_column='Name', db_index=False) + nodenumber = models.IntegerField(blank=True, null=True, unique=False, db_column='NodeNumber', db_index=False) + number1 = models.DecimalField(blank=True, max_digits=20, decimal_places=10, null=True, unique=False, db_column='Number1', db_index=False) + number2 = models.DecimalField(blank=True, max_digits=20, decimal_places=10, null=True, unique=False, db_column='Number2', db_index=False) + rankid = models.IntegerField(blank=False, null=False, unique=False, db_column='RankID', db_index=False) + remarks = models.TextField(blank=True, null=True, unique=False, db_column='Remarks', db_index=False) + text1 = models.TextField(blank=True, null=True, unique=False, db_column='Text1', db_index=False) + text2 = models.TextField(blank=True, null=True, unique=False, db_column='Text2', db_index=False) + timestampcreated = models.DateTimeField(blank=False, null=False, unique=False, db_column='TimestampCreated', db_index=False, default=timezone.now) + timestampmodified = models.DateTimeField(blank=True, null=True, unique=False, db_column='TimestampModified', db_index=False, default=timezone.now) + version = models.IntegerField(blank=True, null=True, unique=False, db_column='Version', db_index=False, default=0) + yesno1 = models.BooleanField(blank=True, null=True, unique=False, db_column='YesNo1', db_index=False) + yesno2 = models.BooleanField(blank=True, null=True, unique=False, db_column='YesNo2', db_index=False) + + # Relationships: Many-to-One + accepteddrainage = models.ForeignKey('Drainage', db_column='AcceptedID', related_name='acceptedchildren', null=True, on_delete=protect_with_blockers) + definitionitem = models.ForeignKey('DrainageTreeDefItem', db_column='DrainageTreeDefItemID', related_name='treeentries', null=True, on_delete=protect_with_blockers) + parent = models.ForeignKey('Drainage', db_column='ParentID', related_name='children', null=True, on_delete=models.CASCADE) + definition = models.ForeignKey('DrainageTreeDef', db_column='DrainageTreeDefID', related_name='treeentries', null=True, on_delete=protect_with_blockers) + createdbyagent = models.ForeignKey('Agent', db_column='CreatedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) + modifiedbyagent = models.ForeignKey('Agent', db_column='ModifiedByAgentID', related_name='+', null=True, on_delete=protect_with_blockers) + + class Meta: + db_table = 'drainage' + ordering = () + + save = partialmethod(custom_save) \ No newline at end of file diff --git a/specifyweb/specify/models_by_table_id.py b/specifyweb/specify/models_by_table_id.py index eeab58013e8..f2971444eb3 100644 --- a/specifyweb/specify/models_by_table_id.py +++ b/specifyweb/specify/models_by_table_id.py @@ -216,6 +216,9 @@ 1025:'Tectonicunittreedef', 1026:'Tectonicunittreedefitem', 1027:'Tectonicunit', + 1028:'Drainagetreedef', + 1029:'Drainagetreedefitem', + 1030:'Drainage', } model_names_by_app = { @@ -445,6 +448,9 @@ 'Tectonicunittreedef', 'Tectonicunittreedefitem', 'Tectonicunit', + 'Drainagetreedef', + 'Drainagetreedefitem', + 'Drainage', } } diff --git a/specifyweb/specify/tree_ranks.py b/specifyweb/specify/tree_ranks.py index 4555529bbfa..8ea7e0f44a0 100644 --- a/specifyweb/specify/tree_ranks.py +++ b/specifyweb/specify/tree_ranks.py @@ -81,6 +81,13 @@ 'unit': 40, 'subunit': 50, } +DRAINAGE_RANKS = { + 'watershed': 100, + 'river basin': 200, + 'river/stream': 300, + 'tributary': 400, + 'waterbody': 500, +} DEFAULT_RANK_INCREMENT = 100 TAXON_RANK_INCREMENT = 10 @@ -89,6 +96,7 @@ GEOLOGIC_TIME_PERIOD_INCREMENT = DEFAULT_RANK_INCREMENT LITHO_STRAT_INCREMENT = DEFAULT_RANK_INCREMENT TECTONIC_UNIT_INCREMENT = 10 +DRAINAGE_RANK_INCREMENT = DEFAULT_RANK_INCREMENT # Map tree type to default tree ranks and default rank id increment TREE_RANKS_MAPPING = { @@ -98,6 +106,7 @@ 'geologictimeperiod': (GEOLOGIC_TIME_PERIOD_RANKS, GEOLOGIC_TIME_PERIOD_INCREMENT), 'lithostrat': (LITHO_STRAT_RANKS, LITHO_STRAT_INCREMENT), 'tectonicunit': (TECTONIC_UNIT_RANKS, TECTONIC_UNIT_INCREMENT), + 'drainage': (DRAINAGE_RANKS, DRAINAGE_RANK_INCREMENT) } TREE_RANK_TO_ITEM_MAP = { diff --git a/specifyweb/specify/tree_utils.py b/specifyweb/specify/tree_utils.py index bca4e4a2b27..42f51868443 100644 --- a/specifyweb/specify/tree_utils.py +++ b/specifyweb/specify/tree_utils.py @@ -5,7 +5,7 @@ lookup = lambda tree: (tree.lower() + 'treedef') -SPECIFY_TREES = {"taxon", "storage", "geography", "geologictimeperiod", "lithostrat", 'tectonicunit'} +SPECIFY_TREES = {"taxon", "storage", "geography", "geologictimeperiod", "lithostrat", 'tectonicunit', 'drainage'} def get_search_filters(collection: spmodels.Collection, tree: str): tree_name = tree.lower() diff --git a/specifyweb/specify/tree_views.py b/specifyweb/specify/tree_views.py index 2ede1d53787..8f14c7c9ca0 100644 --- a/specifyweb/specify/tree_views.py +++ b/specifyweb/specify/tree_views.py @@ -28,12 +28,12 @@ logger = logging.getLogger(__name__) TREE_TABLE = Literal['Taxon', 'Storage', - 'Geography', 'Geologictimeperiod', 'Lithostrat', 'Tectonicunit'] + 'Geography', 'Geologictimeperiod', 'Lithostrat', 'Tectonicunit', 'Drainage'] GEO_TREES: Tuple[TREE_TABLE, ...] = ['Tectonicunit'] COMMON_TREES: Tuple[TREE_TABLE, ...] = ['Taxon', 'Storage', - 'Geography'] + 'Geography', 'Drainage'] ALL_TRESS: Tuple[TREE_TABLE, ...] = [ *COMMON_TREES, 'Geologictimeperiod', 'Lithostrat', *GEO_TREES] @@ -570,6 +570,14 @@ class TectonicunitMutationPT(PermissionTarget): desynonymize = PermissionTargetAction() repair = PermissionTargetAction() +class DrainageMutationPT(PermissionTarget): + resource = "/tree/edit/drainage" + merge = PermissionTargetAction() + move = PermissionTargetAction() + synonymize = PermissionTargetAction() + desynonymize = PermissionTargetAction() + repair = PermissionTargetAction() + def perm_target(tree): return { 'taxon': TaxonMutationPT, @@ -577,5 +585,6 @@ def perm_target(tree): 'storage': StorageMutationPT, 'geologictimeperiod': GeologictimeperiodMutationPT, 'lithostrat': LithostratMutationPT, - 'tectonicunit':TectonicunitMutationPT + 'tectonicunit':TectonicunitMutationPT, + 'drainage':DrainageMutationPT }[tree] diff --git a/specifyweb/stored_queries/execution.py b/specifyweb/stored_queries/execution.py index de94d1048ef..1d2a2c498c4 100644 --- a/specifyweb/stored_queries/execution.py +++ b/specifyweb/stored_queries/execution.py @@ -92,6 +92,14 @@ def filter_by_collection(model, query, collection): if model is models.TectonicUnitTreeDefItem: logger.info("filtering tectonic unit rank to discipline: %s", collection.discipline.name) return query.filter(model.TectonicUnitTreeDefID == collection.discipline.tectonicunittreedef_id) + + if model is models.Drainage: + logger.info("filtering drainage to discipline: %s", collection.discipline.name) + return query.filter(model.DrainageTreeDefID == collection.discipline.drainagetreedef_id) + + if model is models.DrainageTreeDefItem: + logger.info("filtering drainage rank to discipline: %s", collection.discipline.name) + return query.filter(model.DrainageTreeDefID == collection.discipline.drainagetreedef_id) if model is models.Storage: logger.info("filtering storage to institution: %s", collection.discipline.division.institution.name)