@bigfootai/bigfoot-types 2.7.1 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/model.ts +22 -14
- package/package.json +1 -1
package/model.ts
CHANGED
|
@@ -290,12 +290,12 @@ export class Tag extends Primitive {
|
|
|
290
290
|
export class BusinessObject extends Primitive {
|
|
291
291
|
provider: string; // A unique string representing the provider e.g. "salesforce", "jira", etc
|
|
292
292
|
uri: string; // A uri to locate the specific instance of the business object
|
|
293
|
-
iconUrl?: string; // The url of an icon that represents the business object
|
|
294
293
|
externalId: string; // An identifier that allows us to do entity resolution
|
|
295
294
|
businessObjectType: BusinessObjectType;
|
|
296
295
|
externalResponse: any; // The full response from the external system that created this object
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
iconUrl?: string | null; // The url of an icon that represents the business object
|
|
297
|
+
document?: Document | null; // The business object formatted as a document for ML to ingest
|
|
298
|
+
parentId?: string | null; // The business object that is the parent of this business object
|
|
299
299
|
|
|
300
300
|
constructor(
|
|
301
301
|
provider: string,
|
|
@@ -536,9 +536,17 @@ export interface PersonAcceptance extends PersonReference {
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
export interface Calendar extends BusinessObject {
|
|
539
|
-
description?: string;
|
|
540
|
-
location?: string;
|
|
541
539
|
timeZone: string;
|
|
540
|
+
description?: string | null;
|
|
541
|
+
location?: string | null;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export interface Attachment {
|
|
545
|
+
externalId: string;
|
|
546
|
+
url: string;
|
|
547
|
+
iconUrl?: string | null;
|
|
548
|
+
mimeType?: string | null;
|
|
549
|
+
title?: string | null;
|
|
542
550
|
}
|
|
543
551
|
|
|
544
552
|
export class Event extends BusinessObject {
|
|
@@ -546,15 +554,15 @@ export class Event extends BusinessObject {
|
|
|
546
554
|
status: EventStatus;
|
|
547
555
|
startDate: number;
|
|
548
556
|
organizedBy: PersonReference;
|
|
549
|
-
location?: string;
|
|
550
|
-
originalStartDate?: number;
|
|
551
|
-
recurrence?: RecurrenceRFC[];
|
|
552
|
-
endDate?: number;
|
|
553
|
-
subject?: string;
|
|
554
|
-
description?: string;
|
|
555
|
-
attendees?: PersonAcceptance[];
|
|
556
|
-
conference?: Conference;
|
|
557
|
-
|
|
557
|
+
location?: string | null;
|
|
558
|
+
originalStartDate?: number | null;
|
|
559
|
+
recurrence?: RecurrenceRFC[] | null;
|
|
560
|
+
endDate?: number | null;
|
|
561
|
+
subject?: string | null;
|
|
562
|
+
description?: string | null;
|
|
563
|
+
attendees?: PersonAcceptance[] | null;
|
|
564
|
+
conference?: Conference | null;
|
|
565
|
+
attachments?: Attachment[] | null;
|
|
558
566
|
|
|
559
567
|
constructor(
|
|
560
568
|
provider: string,
|