UNPKG

@jsforce/jsforce-node

Version:

Salesforce API Library for JavaScript

1,466 lines 585 kB
import { Schema, SObjectDefinition, DateString, BlobString, Address } from './schema'; type Fields$AcceptedEventRelation = { Id: string; RelationId: string | null; EventId: string | null; RespondedDate: DateString | null; Response: string | null; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; IsDeleted: boolean; Type: string | null; }; type ParentReferences$AcceptedEventRelation = { Relation: SObjectDefinition$Name | null; Event: SObjectDefinition$Event | null; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AcceptedEventRelation = {}; type SObjectDefinition$AcceptedEventRelation = { Name: 'AcceptedEventRelation'; Fields: Fields$AcceptedEventRelation; ParentReferences: ParentReferences$AcceptedEventRelation; ChildRelationships: ChildRelationships$AcceptedEventRelation; } & SObjectDefinition<'AcceptedEventRelation'>; type Fields$Account = { Id: string; IsDeleted: boolean; MasterRecordId: string | null; Name: string; Type: string | null; ParentId: string | null; BillingStreet: string | null; BillingCity: string | null; BillingState: string | null; BillingPostalCode: string | null; BillingCountry: string | null; BillingLatitude: number | null; BillingLongitude: number | null; BillingGeocodeAccuracy: string | null; BillingAddress: Address | null; ShippingStreet: string | null; ShippingCity: string | null; ShippingState: string | null; ShippingPostalCode: string | null; ShippingCountry: string | null; ShippingLatitude: number | null; ShippingLongitude: number | null; ShippingGeocodeAccuracy: string | null; ShippingAddress: Address | null; Phone: string | null; Fax: string | null; Website: string | null; PhotoUrl: string | null; Industry: string | null; AnnualRevenue: number | null; NumberOfEmployees: number | null; Description: string | null; OwnerId: string; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; LastActivityDate: DateString | null; LastViewedDate: DateString | null; LastReferencedDate: DateString | null; IsCustomerPortal: boolean; Jigsaw: string | null; JigsawCompanyId: string | null; AccountSource: string | null; SicDesc: string | null; }; type ParentReferences$Account = { MasterRecord: SObjectDefinition$Account | null; Parent: SObjectDefinition$Account | null; Owner: SObjectDefinition$User; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$Account = { ChildAccounts: SObjectDefinition$Account; AccountBrands: SObjectDefinition$AccountBrand; AccountContactRoles: SObjectDefinition$AccountContactRole; Feeds: SObjectDefinition$AccountFeed; Histories: SObjectDefinition$AccountHistory; AccountPartnersFrom: SObjectDefinition$AccountPartner; AccountPartnersTo: SObjectDefinition$AccountPartner; Shares: SObjectDefinition$AccountShare; ActivityHistories: SObjectDefinition$ActivityHistory; Assets: SObjectDefinition$Asset; ProvidedAssets: SObjectDefinition$Asset; ServicedAssets: SObjectDefinition$Asset; AttachedContentDocuments: SObjectDefinition$AttachedContentDocument; Attachments: SObjectDefinition$Attachment; Cases: SObjectDefinition$Case; RecordAssociatedGroups: SObjectDefinition$CollaborationGroupRecord; CombinedAttachments: SObjectDefinition$CombinedAttachment; Contacts: SObjectDefinition$Contact; ContactRequests: SObjectDefinition$ContactRequest; ContentDocumentLinks: SObjectDefinition$ContentDocumentLink; Contracts: SObjectDefinition$Contract; DuplicateRecordItems: SObjectDefinition$DuplicateRecordItem; Emails: SObjectDefinition$EmailMessage; Entitlements: SObjectDefinition$Entitlement; FeedSubscriptionsForEntity: SObjectDefinition$EntitySubscription; Events: SObjectDefinition$Event; Notes: SObjectDefinition$Note; NotesAndAttachments: SObjectDefinition$NoteAndAttachment; OpenActivities: SObjectDefinition$OpenActivity; Opportunities: SObjectDefinition$Opportunity; OpportunityPartnersTo: SObjectDefinition$OpportunityPartner; Orders: SObjectDefinition$Order; PartnersFrom: SObjectDefinition$Partner; PartnersTo: SObjectDefinition$Partner; ProcessInstances: SObjectDefinition$ProcessInstance; ProcessSteps: SObjectDefinition$ProcessInstanceHistory; RecordActions: SObjectDefinition$RecordAction; ServiceContracts: SObjectDefinition$ServiceContract; Personas: SObjectDefinition$SocialPersona; Posts: SObjectDefinition$SocialPost; Tasks: SObjectDefinition$Task; TopicAssignments: SObjectDefinition$TopicAssignment; Users: SObjectDefinition$User; WorkOrders: SObjectDefinition$WorkOrder; }; type SObjectDefinition$Account = { Name: 'Account'; Fields: Fields$Account; ParentReferences: ParentReferences$Account; ChildRelationships: ChildRelationships$Account; } & SObjectDefinition<'Account'>; type Fields$AccountBrand = { Id: string; OwnerId: string; IsDeleted: boolean; Name: string; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; LastViewedDate: DateString | null; LastReferencedDate: DateString | null; AccountId: string; CompanyName: string | null; Street: string | null; City: string | null; State: string | null; PostalCode: string | null; Country: string | null; Latitude: number | null; Longitude: number | null; GeocodeAccuracy: string | null; Address: Address | null; Website: string | null; Email: string | null; Phone: string | null; LogoId: string | null; }; type ParentReferences$AccountBrand = { Owner: SObjectDefinition$Name; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; Account: SObjectDefinition$Account; Logo: SObjectDefinition$ContentAsset | null; }; type ChildRelationships$AccountBrand = { AttachedContentDocuments: SObjectDefinition$AttachedContentDocument; CombinedAttachments: SObjectDefinition$CombinedAttachment; ContentDocumentLinks: SObjectDefinition$ContentDocumentLink; }; type SObjectDefinition$AccountBrand = { Name: 'AccountBrand'; Fields: Fields$AccountBrand; ParentReferences: ParentReferences$AccountBrand; ChildRelationships: ChildRelationships$AccountBrand; } & SObjectDefinition<'AccountBrand'>; type Fields$AccountBrandShare = { Id: string; ParentId: string; UserOrGroupId: string; AccessLevel: string; RowCause: string | null; LastModifiedDate: DateString; LastModifiedById: string; IsDeleted: boolean; }; type ParentReferences$AccountBrandShare = { Parent: SObjectDefinition$AccountBrand; UserOrGroup: SObjectDefinition$Name; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AccountBrandShare = {}; type SObjectDefinition$AccountBrandShare = { Name: 'AccountBrandShare'; Fields: Fields$AccountBrandShare; ParentReferences: ParentReferences$AccountBrandShare; ChildRelationships: ChildRelationships$AccountBrandShare; } & SObjectDefinition<'AccountBrandShare'>; type Fields$AccountChangeEvent = { Id: string | null; ReplayId: string | null; ChangeEventHeader: any; Name: string | null; LastName: string | null; FirstName: string | null; Salutation: string | null; Type: string | null; ParentId: string | null; BillingStreet: string | null; BillingCity: string | null; BillingState: string | null; BillingPostalCode: string | null; BillingCountry: string | null; BillingLatitude: number | null; BillingLongitude: number | null; BillingGeocodeAccuracy: string | null; BillingAddress: Address | null; ShippingStreet: string | null; ShippingCity: string | null; ShippingState: string | null; ShippingPostalCode: string | null; ShippingCountry: string | null; ShippingLatitude: number | null; ShippingLongitude: number | null; ShippingGeocodeAccuracy: string | null; ShippingAddress: Address | null; Phone: string | null; Fax: string | null; Website: string | null; Industry: string | null; AnnualRevenue: number | null; NumberOfEmployees: number | null; Description: string | null; OwnerId: string | null; CreatedDate: DateString | null; CreatedById: string | null; LastModifiedDate: DateString | null; LastModifiedById: string | null; Jigsaw: string | null; JigsawCompanyId: string | null; AccountSource: string | null; SicDesc: string | null; }; type ParentReferences$AccountChangeEvent = {}; type ChildRelationships$AccountChangeEvent = {}; type SObjectDefinition$AccountChangeEvent = { Name: 'AccountChangeEvent'; Fields: Fields$AccountChangeEvent; ParentReferences: ParentReferences$AccountChangeEvent; ChildRelationships: ChildRelationships$AccountChangeEvent; } & SObjectDefinition<'AccountChangeEvent'>; type Fields$AccountContactRole = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; AccountId: string; ContactId: string; Role: string | null; IsPrimary: boolean; }; type ParentReferences$AccountContactRole = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; Account: SObjectDefinition$Account; Contact: SObjectDefinition$Contact; }; type ChildRelationships$AccountContactRole = {}; type SObjectDefinition$AccountContactRole = { Name: 'AccountContactRole'; Fields: Fields$AccountContactRole; ParentReferences: ParentReferences$AccountContactRole; ChildRelationships: ChildRelationships$AccountContactRole; } & SObjectDefinition<'AccountContactRole'>; type Fields$AccountContactRoleChangeEvent = { Id: string | null; ReplayId: string | null; ChangeEventHeader: any; CreatedDate: DateString | null; CreatedById: string | null; LastModifiedDate: DateString | null; LastModifiedById: string | null; AccountId: string | null; ContactId: string | null; Role: string | null; IsPrimary: boolean; }; type ParentReferences$AccountContactRoleChangeEvent = {}; type ChildRelationships$AccountContactRoleChangeEvent = {}; type SObjectDefinition$AccountContactRoleChangeEvent = { Name: 'AccountContactRoleChangeEvent'; Fields: Fields$AccountContactRoleChangeEvent; ParentReferences: ParentReferences$AccountContactRoleChangeEvent; ChildRelationships: ChildRelationships$AccountContactRoleChangeEvent; } & SObjectDefinition<'AccountContactRoleChangeEvent'>; type Fields$AccountFeed = { Id: string; ParentId: string; Type: string | null; CreatedById: string; CreatedDate: DateString; IsDeleted: boolean; LastModifiedDate: DateString; SystemModstamp: DateString; CommentCount: number; LikeCount: number; Title: string | null; Body: string | null; LinkUrl: string | null; IsRichText: boolean; RelatedRecordId: string | null; InsertedById: string | null; }; type ParentReferences$AccountFeed = { Parent: SObjectDefinition$Account; CreatedBy: SObjectDefinition$User; InsertedBy: SObjectDefinition$User | null; }; type ChildRelationships$AccountFeed = { FeedAttachments: SObjectDefinition$FeedAttachment; FeedComments: SObjectDefinition$FeedComment; FeedLikes: SObjectDefinition$FeedLike; FeedSignals: SObjectDefinition$FeedSignal; FeedTrackedChanges: SObjectDefinition$FeedTrackedChange; }; type SObjectDefinition$AccountFeed = { Name: 'AccountFeed'; Fields: Fields$AccountFeed; ParentReferences: ParentReferences$AccountFeed; ChildRelationships: ChildRelationships$AccountFeed; } & SObjectDefinition<'AccountFeed'>; type Fields$AccountHistory = { Id: string; IsDeleted: boolean; AccountId: string; CreatedById: string; CreatedDate: DateString; Field: string; OldValue: string | null; NewValue: string | null; }; type ParentReferences$AccountHistory = { Account: SObjectDefinition$Account; CreatedBy: SObjectDefinition$User; }; type ChildRelationships$AccountHistory = {}; type SObjectDefinition$AccountHistory = { Name: 'AccountHistory'; Fields: Fields$AccountHistory; ParentReferences: ParentReferences$AccountHistory; ChildRelationships: ChildRelationships$AccountHistory; } & SObjectDefinition<'AccountHistory'>; type Fields$AccountPartner = { Id: string; AccountFromId: string; AccountToId: string; OpportunityId: string | null; Role: string | null; IsPrimary: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; IsDeleted: boolean; ReversePartnerId: string | null; }; type ParentReferences$AccountPartner = { AccountFrom: SObjectDefinition$Account; AccountTo: SObjectDefinition$Account; Opportunity: SObjectDefinition$Opportunity | null; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AccountPartner = {}; type SObjectDefinition$AccountPartner = { Name: 'AccountPartner'; Fields: Fields$AccountPartner; ParentReferences: ParentReferences$AccountPartner; ChildRelationships: ChildRelationships$AccountPartner; } & SObjectDefinition<'AccountPartner'>; type Fields$AccountShare = { Id: string; AccountId: string; UserOrGroupId: string; AccountAccessLevel: string; OpportunityAccessLevel: string; CaseAccessLevel: string; ContactAccessLevel: string | null; RowCause: string | null; LastModifiedDate: DateString; LastModifiedById: string; IsDeleted: boolean; }; type ParentReferences$AccountShare = { Account: SObjectDefinition$Account; UserOrGroup: SObjectDefinition$Name; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AccountShare = {}; type SObjectDefinition$AccountShare = { Name: 'AccountShare'; Fields: Fields$AccountShare; ParentReferences: ParentReferences$AccountShare; ChildRelationships: ChildRelationships$AccountShare; } & SObjectDefinition<'AccountShare'>; type Fields$ActionLinkGroupTemplate = { Id: string; IsDeleted: boolean; DeveloperName: string; Language: string | null; MasterLabel: string; NamespacePrefix: string | null; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; ExecutionsAllowed: string; HoursUntilExpiration: number | null; Category: string; IsPublished: boolean; }; type ParentReferences$ActionLinkGroupTemplate = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$ActionLinkGroupTemplate = { ActionLinkTemplates: SObjectDefinition$ActionLinkTemplate; }; type SObjectDefinition$ActionLinkGroupTemplate = { Name: 'ActionLinkGroupTemplate'; Fields: Fields$ActionLinkGroupTemplate; ParentReferences: ParentReferences$ActionLinkGroupTemplate; ChildRelationships: ChildRelationships$ActionLinkGroupTemplate; } & SObjectDefinition<'ActionLinkGroupTemplate'>; type Fields$ActionLinkTemplate = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; ActionLinkGroupTemplateId: string; LabelKey: string; Method: string; LinkType: string; Position: number; IsConfirmationRequired: boolean; IsGroupDefault: boolean; UserVisibility: string; UserAlias: string | null; Label: string | null; ActionUrl: string; RequestBody: string | null; Headers: string | null; }; type ParentReferences$ActionLinkTemplate = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; ActionLinkGroupTemplate: SObjectDefinition$ActionLinkGroupTemplate; }; type ChildRelationships$ActionLinkTemplate = {}; type SObjectDefinition$ActionLinkTemplate = { Name: 'ActionLinkTemplate'; Fields: Fields$ActionLinkTemplate; ParentReferences: ParentReferences$ActionLinkTemplate; ChildRelationships: ChildRelationships$ActionLinkTemplate; } & SObjectDefinition<'ActionLinkTemplate'>; type Fields$ActivityHistory = { Id: string; AccountId: string | null; WhoId: string | null; WhatId: string | null; Subject: string | null; IsTask: boolean; ActivityDate: DateString | null; OwnerId: string | null; Status: string | null; Priority: string | null; IsHighPriority: boolean; ActivityType: string | null; IsClosed: boolean; IsAllDayEvent: boolean; DurationInMinutes: number | null; Location: string | null; Description: string | null; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; CallDurationInSeconds: number | null; CallType: string | null; CallDisposition: string | null; CallObject: string | null; ReminderDateTime: DateString | null; IsReminderSet: boolean; EndDateTime: DateString | null; StartDateTime: DateString | null; ActivitySubtype: string | null; AlternateDetailId: string | null; }; type ParentReferences$ActivityHistory = { Account: SObjectDefinition$Account | null; Who: SObjectDefinition$Name | null; What: SObjectDefinition$Name | null; Owner: SObjectDefinition$User | null; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; AlternateDetail: SObjectDefinition$EmailMessage | null; }; type ChildRelationships$ActivityHistory = {}; type SObjectDefinition$ActivityHistory = { Name: 'ActivityHistory'; Fields: Fields$ActivityHistory; ParentReferences: ParentReferences$ActivityHistory; ChildRelationships: ChildRelationships$ActivityHistory; } & SObjectDefinition<'ActivityHistory'>; type Fields$AdditionalNumber = { Id: string; IsDeleted: boolean; CallCenterId: string | null; Name: string; Description: string | null; Phone: string | null; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; }; type ParentReferences$AdditionalNumber = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AdditionalNumber = {}; type SObjectDefinition$AdditionalNumber = { Name: 'AdditionalNumber'; Fields: Fields$AdditionalNumber; ParentReferences: ParentReferences$AdditionalNumber; ChildRelationships: ChildRelationships$AdditionalNumber; } & SObjectDefinition<'AdditionalNumber'>; type Fields$AggregateResult = { Id: string; }; type ParentReferences$AggregateResult = {}; type ChildRelationships$AggregateResult = {}; type SObjectDefinition$AggregateResult = { Name: 'AggregateResult'; Fields: Fields$AggregateResult; ParentReferences: ParentReferences$AggregateResult; ChildRelationships: ChildRelationships$AggregateResult; } & SObjectDefinition<'AggregateResult'>; type Fields$Announcement = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; FeedItemId: string; ExpirationDate: DateString; SendEmails: boolean; IsArchived: boolean; ParentId: string | null; }; type ParentReferences$Announcement = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; FeedItem: SObjectDefinition$FeedItem; Parent: SObjectDefinition$CollaborationGroup | null; }; type ChildRelationships$Announcement = {}; type SObjectDefinition$Announcement = { Name: 'Announcement'; Fields: Fields$Announcement; ParentReferences: ParentReferences$Announcement; ChildRelationships: ChildRelationships$Announcement; } & SObjectDefinition<'Announcement'>; type Fields$ApexClass = { Id: string; NamespacePrefix: string | null; Name: string; ApiVersion: number; Status: string; IsValid: boolean; BodyCrc: number | null; Body: string | null; LengthWithoutComments: number; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; }; type ParentReferences$ApexClass = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$ApexClass = { SetupEntityAccessItems: SObjectDefinition$SetupEntityAccess; }; type SObjectDefinition$ApexClass = { Name: 'ApexClass'; Fields: Fields$ApexClass; ParentReferences: ParentReferences$ApexClass; ChildRelationships: ChildRelationships$ApexClass; } & SObjectDefinition<'ApexClass'>; type Fields$ApexComponent = { Id: string; NamespacePrefix: string | null; Name: string; ApiVersion: number; MasterLabel: string; Description: string | null; ControllerType: string; ControllerKey: string | null; Markup: string; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; }; type ParentReferences$ApexComponent = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$ApexComponent = {}; type SObjectDefinition$ApexComponent = { Name: 'ApexComponent'; Fields: Fields$ApexComponent; ParentReferences: ParentReferences$ApexComponent; ChildRelationships: ChildRelationships$ApexComponent; } & SObjectDefinition<'ApexComponent'>; type Fields$ApexEmailNotification = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; UserId: string | null; Email: string | null; }; type ParentReferences$ApexEmailNotification = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; User: SObjectDefinition$User | null; }; type ChildRelationships$ApexEmailNotification = {}; type SObjectDefinition$ApexEmailNotification = { Name: 'ApexEmailNotification'; Fields: Fields$ApexEmailNotification; ParentReferences: ParentReferences$ApexEmailNotification; ChildRelationships: ChildRelationships$ApexEmailNotification; } & SObjectDefinition<'ApexEmailNotification'>; type Fields$ApexLog = { Id: string; LogUserId: string | null; LogLength: number; LastModifiedDate: DateString; Request: string; Operation: string; Application: string; Status: string; DurationMilliseconds: number; SystemModstamp: DateString; StartTime: DateString; Location: string | null; }; type ParentReferences$ApexLog = { LogUser: SObjectDefinition$User | null; }; type ChildRelationships$ApexLog = {}; type SObjectDefinition$ApexLog = { Name: 'ApexLog'; Fields: Fields$ApexLog; ParentReferences: ParentReferences$ApexLog; ChildRelationships: ChildRelationships$ApexLog; } & SObjectDefinition<'ApexLog'>; type Fields$ApexPage = { Id: string; NamespacePrefix: string | null; Name: string; ApiVersion: number; MasterLabel: string; Description: string | null; ControllerType: string; ControllerKey: string | null; IsAvailableInTouch: boolean; IsConfirmationTokenRequired: boolean; Markup: string; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; }; type ParentReferences$ApexPage = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$ApexPage = { SetupEntityAccessItems: SObjectDefinition$SetupEntityAccess; }; type SObjectDefinition$ApexPage = { Name: 'ApexPage'; Fields: Fields$ApexPage; ParentReferences: ParentReferences$ApexPage; ChildRelationships: ChildRelationships$ApexPage; } & SObjectDefinition<'ApexPage'>; type Fields$ApexPageInfo = { Id: string; DurableId: string | null; ApexPageId: string; Name: string; NameSpacePrefix: string | null; ApiVersion: number; Description: string | null; IsAvailableInTouch: boolean; MasterLabel: string | null; IsShowHeader: string | null; }; type ParentReferences$ApexPageInfo = {}; type ChildRelationships$ApexPageInfo = {}; type SObjectDefinition$ApexPageInfo = { Name: 'ApexPageInfo'; Fields: Fields$ApexPageInfo; ParentReferences: ParentReferences$ApexPageInfo; ChildRelationships: ChildRelationships$ApexPageInfo; } & SObjectDefinition<'ApexPageInfo'>; type Fields$ApexTestQueueItem = { Id: string; CreatedDate: DateString; CreatedById: string; SystemModstamp: DateString; ApexClassId: string; Status: string; ExtendedStatus: string | null; ParentJobId: string | null; TestRunResultId: string | null; ShouldSkipCodeCoverage: boolean; }; type ParentReferences$ApexTestQueueItem = { CreatedBy: SObjectDefinition$User; ApexClass: SObjectDefinition$ApexClass; }; type ChildRelationships$ApexTestQueueItem = {}; type SObjectDefinition$ApexTestQueueItem = { Name: 'ApexTestQueueItem'; Fields: Fields$ApexTestQueueItem; ParentReferences: ParentReferences$ApexTestQueueItem; ChildRelationships: ChildRelationships$ApexTestQueueItem; } & SObjectDefinition<'ApexTestQueueItem'>; type Fields$ApexTestResult = { Id: string; SystemModstamp: DateString; TestTimestamp: DateString; Outcome: string; ApexClassId: string; MethodName: string | null; Message: string | null; StackTrace: string | null; AsyncApexJobId: string | null; QueueItemId: string | null; ApexLogId: string | null; ApexTestRunResultId: string | null; RunTime: number | null; }; type ParentReferences$ApexTestResult = { ApexClass: SObjectDefinition$ApexClass; AsyncApexJob: SObjectDefinition$AsyncApexJob | null; QueueItem: SObjectDefinition$ApexTestQueueItem | null; ApexLog: SObjectDefinition$ApexLog | null; ApexTestRunResult: SObjectDefinition$ApexTestRunResult | null; }; type ChildRelationships$ApexTestResult = { ApexTestResults: SObjectDefinition$ApexTestResultLimits; }; type SObjectDefinition$ApexTestResult = { Name: 'ApexTestResult'; Fields: Fields$ApexTestResult; ParentReferences: ParentReferences$ApexTestResult; ChildRelationships: ChildRelationships$ApexTestResult; } & SObjectDefinition<'ApexTestResult'>; type Fields$ApexTestResultLimits = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; ApexTestResultId: string; Soql: number; QueryRows: number; Sosl: number; Dml: number; DmlRows: number; Cpu: number; Callouts: number; Email: number; AsyncCalls: number; MobilePush: number; LimitContext: string | null; LimitExceptions: string | null; }; type ParentReferences$ApexTestResultLimits = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; ApexTestResult: SObjectDefinition$ApexTestResult; }; type ChildRelationships$ApexTestResultLimits = {}; type SObjectDefinition$ApexTestResultLimits = { Name: 'ApexTestResultLimits'; Fields: Fields$ApexTestResultLimits; ParentReferences: ParentReferences$ApexTestResultLimits; ChildRelationships: ChildRelationships$ApexTestResultLimits; } & SObjectDefinition<'ApexTestResultLimits'>; type Fields$ApexTestRunResult = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; AsyncApexJobId: string | null; UserId: string | null; JobName: string | null; IsAllTests: boolean; Source: string | null; StartTime: DateString; EndTime: DateString | null; TestTime: number | null; Status: string; ClassesEnqueued: number; ClassesCompleted: number | null; MethodsEnqueued: number | null; MethodsCompleted: number | null; MethodsFailed: number | null; }; type ParentReferences$ApexTestRunResult = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; AsyncApexJob: SObjectDefinition$AsyncApexJob | null; User: SObjectDefinition$User | null; }; type ChildRelationships$ApexTestRunResult = {}; type SObjectDefinition$ApexTestRunResult = { Name: 'ApexTestRunResult'; Fields: Fields$ApexTestRunResult; ParentReferences: ParentReferences$ApexTestRunResult; ChildRelationships: ChildRelationships$ApexTestRunResult; } & SObjectDefinition<'ApexTestRunResult'>; type Fields$ApexTestSuite = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; TestSuiteName: string; }; type ParentReferences$ApexTestSuite = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$ApexTestSuite = { ApexClassJunctions: SObjectDefinition$TestSuiteMembership; }; type SObjectDefinition$ApexTestSuite = { Name: 'ApexTestSuite'; Fields: Fields$ApexTestSuite; ParentReferences: ParentReferences$ApexTestSuite; ChildRelationships: ChildRelationships$ApexTestSuite; } & SObjectDefinition<'ApexTestSuite'>; type Fields$ApexTrigger = { Id: string; NamespacePrefix: string | null; Name: string; TableEnumOrId: string | null; UsageBeforeInsert: boolean; UsageAfterInsert: boolean; UsageBeforeUpdate: boolean; UsageAfterUpdate: boolean; UsageBeforeDelete: boolean; UsageAfterDelete: boolean; UsageIsBulk: boolean; UsageAfterUndelete: boolean; ApiVersion: number; Status: string; IsValid: boolean; BodyCrc: number | null; Body: string | null; LengthWithoutComments: number; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; }; type ParentReferences$ApexTrigger = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$ApexTrigger = {}; type SObjectDefinition$ApexTrigger = { Name: 'ApexTrigger'; Fields: Fields$ApexTrigger; ParentReferences: ParentReferences$ApexTrigger; ChildRelationships: ChildRelationships$ApexTrigger; } & SObjectDefinition<'ApexTrigger'>; type Fields$AppDefinition = { Id: string; DurableId: string | null; Label: string | null; MasterLabel: string | null; NamespacePrefix: string | null; DeveloperName: string | null; LogoUrl: string | null; Description: string | null; UiType: string | null; NavType: string | null; UtilityBar: string | null; HeaderColor: string | null; IsOverrideOrgTheme: boolean; IsSmallFormFactorSupported: boolean; IsMediumFormFactorSupported: boolean; IsLargeFormFactorSupported: boolean; IsNavPersonalizationDisabled: boolean; IsNavAutoTempTabsDisabled: boolean; }; type ParentReferences$AppDefinition = {}; type ChildRelationships$AppDefinition = { AppTabs: SObjectDefinition$AppTabMember; }; type SObjectDefinition$AppDefinition = { Name: 'AppDefinition'; Fields: Fields$AppDefinition; ParentReferences: ParentReferences$AppDefinition; ChildRelationships: ChildRelationships$AppDefinition; } & SObjectDefinition<'AppDefinition'>; type Fields$AppMenuItem = { Id: string; IsDeleted: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; SortOrder: number; Name: string | null; NamespacePrefix: string | null; Label: string | null; Description: string | null; StartUrl: string | null; MobileStartUrl: string | null; LogoUrl: string | null; IconUrl: string | null; InfoUrl: string | null; IsUsingAdminAuthorization: boolean; MobilePlatform: string | null; MobileMinOsVer: string | null; MobileDeviceType: string | null; IsRegisteredDeviceOnly: boolean; MobileAppVer: string | null; MobileAppInstalledDate: DateString | null; MobileAppInstalledVersion: string | null; MobileAppBinaryId: string | null; MobileAppInstallUrl: string | null; CanvasEnabled: boolean; CanvasReferenceId: string | null; CanvasUrl: string | null; CanvasAccessMethod: string | null; CanvasSelectedLocations: string | null; CanvasOptions: string | null; Type: string | null; ApplicationId: string | null; UserSortOrder: number | null; IsVisible: boolean; IsAccessible: boolean; }; type ParentReferences$AppMenuItem = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AppMenuItem = {}; type SObjectDefinition$AppMenuItem = { Name: 'AppMenuItem'; Fields: Fields$AppMenuItem; ParentReferences: ParentReferences$AppMenuItem; ChildRelationships: ChildRelationships$AppMenuItem; } & SObjectDefinition<'AppMenuItem'>; type Fields$AppTabMember = { Id: string; DurableId: string | null; AppDefinitionId: string | null; TabDefinitionId: string | null; SortOrder: number | null; WorkspaceDriverField: string | null; }; type ParentReferences$AppTabMember = {}; type ChildRelationships$AppTabMember = {}; type SObjectDefinition$AppTabMember = { Name: 'AppTabMember'; Fields: Fields$AppTabMember; ParentReferences: ParentReferences$AppTabMember; ChildRelationships: ChildRelationships$AppTabMember; } & SObjectDefinition<'AppTabMember'>; type Fields$Approval = { Id: string; IsDeleted: boolean; ParentId: string; OwnerId: string; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; Status: string; RequestComment: string | null; ApproveComment: string | null; SystemModstamp: DateString; }; type ParentReferences$Approval = { Parent: SObjectDefinition$Contract; Owner: SObjectDefinition$User; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$Approval = {}; type SObjectDefinition$Approval = { Name: 'Approval'; Fields: Fields$Approval; ParentReferences: ParentReferences$Approval; ChildRelationships: ChildRelationships$Approval; } & SObjectDefinition<'Approval'>; type Fields$Asset = { Id: string; ContactId: string | null; AccountId: string | null; ParentId: string | null; RootAssetId: string | null; Product2Id: string | null; ProductCode: string | null; IsCompetitorProduct: boolean; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; IsDeleted: boolean; Name: string; SerialNumber: string | null; InstallDate: DateString | null; PurchaseDate: DateString | null; UsageEndDate: DateString | null; Status: string | null; Price: number | null; Quantity: number | null; Description: string | null; OwnerId: string; AssetProvidedById: string | null; AssetServicedById: string | null; IsInternal: boolean; AssetLevel: number | null; StockKeepingUnit: string | null; LastViewedDate: DateString | null; LastReferencedDate: DateString | null; }; type ParentReferences$Asset = { Contact: SObjectDefinition$Contact | null; Account: SObjectDefinition$Account | null; Parent: SObjectDefinition$Asset | null; RootAsset: SObjectDefinition$Asset | null; Product2: SObjectDefinition$Product2 | null; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; Owner: SObjectDefinition$User; AssetProvidedBy: SObjectDefinition$Account | null; AssetServicedBy: SObjectDefinition$Account | null; }; type ChildRelationships$Asset = { ActivityHistories: SObjectDefinition$ActivityHistory; ChildAssets: SObjectDefinition$Asset; Feeds: SObjectDefinition$AssetFeed; Histories: SObjectDefinition$AssetHistory; PrimaryAssets: SObjectDefinition$AssetRelationship; RelatedAssets: SObjectDefinition$AssetRelationship; Shares: SObjectDefinition$AssetShare; AttachedContentDocuments: SObjectDefinition$AttachedContentDocument; Attachments: SObjectDefinition$Attachment; Cases: SObjectDefinition$Case; CombinedAttachments: SObjectDefinition$CombinedAttachment; ContentDocumentLinks: SObjectDefinition$ContentDocumentLink; ContractLineItems: SObjectDefinition$ContractLineItem; Emails: SObjectDefinition$EmailMessage; Entitlements: SObjectDefinition$Entitlement; FeedSubscriptionsForEntity: SObjectDefinition$EntitySubscription; Events: SObjectDefinition$Event; Notes: SObjectDefinition$Note; NotesAndAttachments: SObjectDefinition$NoteAndAttachment; OpenActivities: SObjectDefinition$OpenActivity; ProcessInstances: SObjectDefinition$ProcessInstance; ProcessSteps: SObjectDefinition$ProcessInstanceHistory; RecordActions: SObjectDefinition$RecordAction; Tasks: SObjectDefinition$Task; TopicAssignments: SObjectDefinition$TopicAssignment; WorkOrders: SObjectDefinition$WorkOrder; WorkOrderLineItems: SObjectDefinition$WorkOrderLineItem; }; type SObjectDefinition$Asset = { Name: 'Asset'; Fields: Fields$Asset; ParentReferences: ParentReferences$Asset; ChildRelationships: ChildRelationships$Asset; } & SObjectDefinition<'Asset'>; type Fields$AssetChangeEvent = { Id: string | null; ReplayId: string | null; ChangeEventHeader: any; ContactId: string | null; AccountId: string | null; ParentId: string | null; RootAssetId: string | null; Product2Id: string | null; IsCompetitorProduct: boolean; CreatedDate: DateString | null; CreatedById: string | null; LastModifiedDate: DateString | null; LastModifiedById: string | null; Name: string | null; SerialNumber: string | null; InstallDate: DateString | null; PurchaseDate: DateString | null; UsageEndDate: DateString | null; Status: string | null; Price: number | null; Quantity: number | null; Description: string | null; OwnerId: string | null; AssetProvidedById: string | null; AssetServicedById: string | null; IsInternal: boolean; }; type ParentReferences$AssetChangeEvent = {}; type ChildRelationships$AssetChangeEvent = {}; type SObjectDefinition$AssetChangeEvent = { Name: 'AssetChangeEvent'; Fields: Fields$AssetChangeEvent; ParentReferences: ParentReferences$AssetChangeEvent; ChildRelationships: ChildRelationships$AssetChangeEvent; } & SObjectDefinition<'AssetChangeEvent'>; type Fields$AssetFeed = { Id: string; ParentId: string; Type: string | null; CreatedById: string; CreatedDate: DateString; IsDeleted: boolean; LastModifiedDate: DateString; SystemModstamp: DateString; CommentCount: number; LikeCount: number; Title: string | null; Body: string | null; LinkUrl: string | null; IsRichText: boolean; RelatedRecordId: string | null; InsertedById: string | null; }; type ParentReferences$AssetFeed = { Parent: SObjectDefinition$Asset; CreatedBy: SObjectDefinition$User; InsertedBy: SObjectDefinition$User | null; }; type ChildRelationships$AssetFeed = { FeedAttachments: SObjectDefinition$FeedAttachment; FeedComments: SObjectDefinition$FeedComment; FeedLikes: SObjectDefinition$FeedLike; FeedSignals: SObjectDefinition$FeedSignal; FeedTrackedChanges: SObjectDefinition$FeedTrackedChange; }; type SObjectDefinition$AssetFeed = { Name: 'AssetFeed'; Fields: Fields$AssetFeed; ParentReferences: ParentReferences$AssetFeed; ChildRelationships: ChildRelationships$AssetFeed; } & SObjectDefinition<'AssetFeed'>; type Fields$AssetHistory = { Id: string; IsDeleted: boolean; AssetId: string; CreatedById: string; CreatedDate: DateString; Field: string; OldValue: string | null; NewValue: string | null; }; type ParentReferences$AssetHistory = { Asset: SObjectDefinition$Asset; CreatedBy: SObjectDefinition$User; }; type ChildRelationships$AssetHistory = {}; type SObjectDefinition$AssetHistory = { Name: 'AssetHistory'; Fields: Fields$AssetHistory; ParentReferences: ParentReferences$AssetHistory; ChildRelationships: ChildRelationships$AssetHistory; } & SObjectDefinition<'AssetHistory'>; type Fields$AssetRelationship = { Id: string; IsDeleted: boolean; AssetRelationshipNumber: string; CreatedDate: DateString; CreatedById: string; LastModifiedDate: DateString; LastModifiedById: string; SystemModstamp: DateString; LastViewedDate: DateString | null; LastReferencedDate: DateString | null; AssetId: string; RelatedAssetId: string; FromDate: DateString | null; ToDate: DateString | null; RelationshipType: string | null; }; type ParentReferences$AssetRelationship = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; Asset: SObjectDefinition$Asset; RelatedAsset: SObjectDefinition$Asset; }; type ChildRelationships$AssetRelationship = { ActivityHistories: SObjectDefinition$ActivityHistory; Feeds: SObjectDefinition$AssetRelationshipFeed; Histories: SObjectDefinition$AssetRelationshipHistory; AttachedContentDocuments: SObjectDefinition$AttachedContentDocument; CombinedAttachments: SObjectDefinition$CombinedAttachment; ContentDocumentLinks: SObjectDefinition$ContentDocumentLink; Emails: SObjectDefinition$EmailMessage; FeedSubscriptionsForEntity: SObjectDefinition$EntitySubscription; Events: SObjectDefinition$Event; OpenActivities: SObjectDefinition$OpenActivity; ProcessInstances: SObjectDefinition$ProcessInstance; ProcessSteps: SObjectDefinition$ProcessInstanceHistory; RecordActions: SObjectDefinition$RecordAction; Tasks: SObjectDefinition$Task; }; type SObjectDefinition$AssetRelationship = { Name: 'AssetRelationship'; Fields: Fields$AssetRelationship; ParentReferences: ParentReferences$AssetRelationship; ChildRelationships: ChildRelationships$AssetRelationship; } & SObjectDefinition<'AssetRelationship'>; type Fields$AssetRelationshipFeed = { Id: string; ParentId: string; Type: string | null; CreatedById: string; CreatedDate: DateString; IsDeleted: boolean; LastModifiedDate: DateString; SystemModstamp: DateString; CommentCount: number; LikeCount: number; Title: string | null; Body: string | null; LinkUrl: string | null; IsRichText: boolean; RelatedRecordId: string | null; InsertedById: string | null; }; type ParentReferences$AssetRelationshipFeed = { Parent: SObjectDefinition$AssetRelationship; CreatedBy: SObjectDefinition$User; InsertedBy: SObjectDefinition$User | null; }; type ChildRelationships$AssetRelationshipFeed = { FeedAttachments: SObjectDefinition$FeedAttachment; FeedComments: SObjectDefinition$FeedComment; FeedLikes: SObjectDefinition$FeedLike; FeedSignals: SObjectDefinition$FeedSignal; FeedTrackedChanges: SObjectDefinition$FeedTrackedChange; }; type SObjectDefinition$AssetRelationshipFeed = { Name: 'AssetRelationshipFeed'; Fields: Fields$AssetRelationshipFeed; ParentReferences: ParentReferences$AssetRelationshipFeed; ChildRelationships: ChildRelationships$AssetRelationshipFeed; } & SObjectDefinition<'AssetRelationshipFeed'>; type Fields$AssetRelationshipHistory = { Id: string; IsDeleted: boolean; AssetRelationshipId: string; CreatedById: string; CreatedDate: DateString; Field: string; OldValue: string | null; NewValue: string | null; }; type ParentReferences$AssetRelationshipHistory = { AssetRelationship: SObjectDefinition$AssetRelationship; CreatedBy: SObjectDefinition$User; }; type ChildRelationships$AssetRelationshipHistory = {}; type SObjectDefinition$AssetRelationshipHistory = { Name: 'AssetRelationshipHistory'; Fields: Fields$AssetRelationshipHistory; ParentReferences: ParentReferences$AssetRelationshipHistory; ChildRelationships: ChildRelationships$AssetRelationshipHistory; } & SObjectDefinition<'AssetRelationshipHistory'>; type Fields$AssetShare = { Id: string; AssetId: string; UserOrGroupId: string; AssetAccessLevel: string; RowCause: string | null; LastModifiedDate: DateString; LastModifiedById: string; IsDeleted: boolean; }; type ParentReferences$AssetShare = { Asset: SObjectDefinition$Asset; UserOrGroup: SObjectDefinition$Name; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AssetShare = {}; type SObjectDefinition$AssetShare = { Name: 'AssetShare'; Fields: Fields$AssetShare; ParentReferences: ParentReferences$AssetShare; ChildRelationships: ChildRelationships$AssetShare; } & SObjectDefinition<'AssetShare'>; type Fields$AssetTokenEvent = { ReplayId: string | null; CreatedDate: DateString; CreatedById: string; ConnectedAppId: string | null; UserId: string | null; AssetId: string | null; Name: string | null; DeviceId: string | null; DeviceKey: string | null; Expiration: DateString | null; AssetSerialNumber: string | null; AssetName: string | null; ActorTokenPayload: string | null; }; type ParentReferences$AssetTokenEvent = { CreatedBy: SObjectDefinition$User; ConnectedApp: SObjectDefinition$ConnectedApplication | null; User: SObjectDefinition$User | null; Asset: SObjectDefinition$Asset | null; }; type ChildRelationships$AssetTokenEvent = {}; type SObjectDefinition$AssetTokenEvent = { Name: 'AssetTokenEvent'; Fields: Fields$AssetTokenEvent; ParentReferences: ParentReferences$AssetTokenEvent; ChildRelationships: ChildRelationships$AssetTokenEvent; } & SObjectDefinition<'AssetTokenEvent'>; type Fields$AssignmentRule = { Id: string; Name: string | null; SobjectType: string | null; Active: boolean; CreatedById: string; CreatedDate: DateString; LastModifiedById: string; LastModifiedDate: DateString; SystemModstamp: DateString; }; type ParentReferences$AssignmentRule = { CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AssignmentRule = {}; type SObjectDefinition$AssignmentRule = { Name: 'AssignmentRule'; Fields: Fields$AssignmentRule; ParentReferences: ParentReferences$AssignmentRule; ChildRelationships: ChildRelationships$AssignmentRule; } & SObjectDefinition<'AssignmentRule'>; type Fields$AsyncApexJob = { Id: string; CreatedDate: DateString; CreatedById: string; JobType: string; ApexClassId: string | null; Status: string; JobItemsProcessed: number; TotalJobItems: number | null; NumberOfErrors: number | null; CompletedDate: DateString | null; MethodName: string | null; ExtendedStatus: string | null; ParentJobId: string | null; LastProcessed: string | null; LastProcessedOffset: number | null; }; type ParentReferences$AsyncApexJob = { CreatedBy: SObjectDefinition$User; ApexClass: SObjectDefinition$ApexClass | null; }; type ChildRelationships$AsyncApexJob = { AsyncApex: SObjectDefinition$ApexTestRunResult; }; type SObjectDefinition$AsyncApexJob = { Name: 'AsyncApexJob'; Fields: Fields$AsyncApexJob; ParentReferences: ParentReferences$AsyncApexJob; ChildRelationships: ChildRelationships$AsyncApexJob; } & SObjectDefinition<'AsyncApexJob'>; type Fields$AttachedContentDocument = { Id: string; IsDeleted: boolean; LinkedEntityId: string; ContentDocumentId: string | null; Title: string; CreatedById: string; CreatedDate: DateString; LastModifiedById: string; LastModifiedDate: DateString; FileType: string | null; ContentSize: number | null; FileExtension: string | null; ContentUrl: string | null; ExternalDataSourceName: string | null; ExternalDataSourceType: string | null; SharingOption: string | null; }; type ParentReferences$AttachedContentDocument = { LinkedEntity: SObjectDefinition$Name; ContentDocument: SObjectDefinition$ContentDocument | null; CreatedBy: SObjectDefinition$User; LastModifiedBy: SObjectDefinition$User; }; type ChildRelationships$AttachedContentDocument = {}; type SObjectDefinition$AttachedContentDocument = { Name: 'AttachedContentDocument'; Fields: Fields$AttachedContentDocument; ParentReferences: ParentReferences$AttachedContentDocument; ChildRelationships: ChildRelationships$AttachedContentDocument; } & SObjectDefinition<'AttachedContentDocument'>; type Fields$Attachment = { Id: string; IsDeleted: boolean; ParentId: string; Name: string; IsPrivate: b