@bigfootai/bigfoot-types 5.4.2 → 5.4.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.js +5 -1
- package/model.ts +4 -0
- package/package.json +1 -1
package/model.js
CHANGED
@@ -19,6 +19,7 @@ var BlockType;
|
|
19
19
|
BlockType["Section"] = "section";
|
20
20
|
BlockType["Calendar"] = "calendar";
|
21
21
|
BlockType["Event"] = "event";
|
22
|
+
BlockType["Email"] = "email";
|
22
23
|
BlockType["Task"] = "task";
|
23
24
|
BlockType["Todo"] = "todo";
|
24
25
|
BlockType["Document"] = "document";
|
@@ -1210,16 +1211,19 @@ input UpsertEmailInput {${exports.BlockFieldsForUpsert}
|
|
1210
1211
|
to: [PersonReferenceInput]
|
1211
1212
|
cc: [PersonReferenceInput]
|
1212
1213
|
bcc: [PersonReferenceInput]
|
1214
|
+
from: PersonReferenceInput
|
1213
1215
|
subject: String
|
1216
|
+
attachments: [AttachmentInput]
|
1214
1217
|
htmlContent: String
|
1215
|
-
originReferenceTagId: String
|
1216
1218
|
}`;
|
1217
1219
|
exports.EmailQL = `
|
1218
1220
|
type Email {${exports.BusinessObjectFields}
|
1219
1221
|
to: [PersonReference]
|
1220
1222
|
cc: [PersonReference]
|
1221
1223
|
bcc: [PersonReference]
|
1224
|
+
from: PersonReferenceInput
|
1222
1225
|
subject: String
|
1226
|
+
attachments: [Attachment]
|
1223
1227
|
htmlContent: String
|
1224
1228
|
}`;
|
1225
1229
|
class Email extends BusinessObject {
|
package/model.ts
CHANGED
@@ -11,6 +11,7 @@ export enum BlockType {
|
|
11
11
|
Section = 'section',
|
12
12
|
Calendar = 'calendar',
|
13
13
|
Event = 'event',
|
14
|
+
Email = 'email',
|
14
15
|
Task = 'task',
|
15
16
|
Todo = 'todo', // A task from an external application
|
16
17
|
Document = 'document',
|
@@ -2061,6 +2062,7 @@ input UpsertEmailInput {${BlockFieldsForUpsert}
|
|
2061
2062
|
to: [PersonReferenceInput]
|
2062
2063
|
cc: [PersonReferenceInput]
|
2063
2064
|
bcc: [PersonReferenceInput]
|
2065
|
+
from: PersonReferenceInput
|
2064
2066
|
subject: String
|
2065
2067
|
attachments: [AttachmentInput]
|
2066
2068
|
htmlContent: String
|
@@ -2070,6 +2072,7 @@ type Email {${BusinessObjectFields}
|
|
2070
2072
|
to: [PersonReference]
|
2071
2073
|
cc: [PersonReference]
|
2072
2074
|
bcc: [PersonReference]
|
2075
|
+
from: PersonReferenceInput
|
2073
2076
|
subject: String
|
2074
2077
|
attachments: [Attachment]
|
2075
2078
|
htmlContent: String
|
@@ -2078,6 +2081,7 @@ export class Email extends BusinessObject {
|
|
2078
2081
|
to?: PersonReference[];
|
2079
2082
|
cc?: PersonReference[];
|
2080
2083
|
bcc?: PersonReference[];
|
2084
|
+
from?: PersonReference;
|
2081
2085
|
subject?: string | null;
|
2082
2086
|
attachments?: Attachment[] | null;
|
2083
2087
|
htmlContent?: string;
|