@bigfootai/bigfoot-types 5.3.13 → 5.4.1

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.
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Slack = void 0;
4
+ const model_1 = require("../../model");
5
+ exports.Slack = {
6
+ _id: '677df7f4184df79de50f5c71',
7
+ dateCreated: 0,
8
+ dateUpdated: 0,
9
+ name: 'slack',
10
+ description: 'Slack collaboration for Noded',
11
+ instanceUrl: 'https://connect-slack-dev.noded.so',
12
+ applications: [
13
+ {
14
+ name: 'core',
15
+ sobjects: {
16
+ calendar: false,
17
+ task: false,
18
+ conference: false,
19
+ document: false,
20
+ thread: false,
21
+ template: false,
22
+ table: true,
23
+ },
24
+ linkSubscriptions: ['*.slack.com/archives'],
25
+ linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
26
+ description: 'Collaborate with Slack and Noded together.',
27
+ iconUrl: 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
28
+ label: 'Slack Messaging',
29
+ authentication: true,
30
+ externalStorage: true,
31
+ externalIds: [
32
+ {
33
+ label: 'Channel',
34
+ blockType: model_1.BlockType.Record,
35
+ tagType: model_1.TagType.Topic,
36
+ },
37
+ {
38
+ label: 'Channel',
39
+ blockType: model_1.BlockType.Record,
40
+ tagType: model_1.TagType.Organization,
41
+ },
42
+ {
43
+ label: 'Profile',
44
+ blockType: model_1.BlockType.Record,
45
+ tagType: model_1.TagType.Person,
46
+ tagSubType: 'user',
47
+ },
48
+ ],
49
+ },
50
+ ],
51
+ label: 'Slack',
52
+ iconUrl: 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
53
+ };
@@ -0,0 +1,53 @@
1
+ import { BlockType, Provider, TagType } from '../../model';
2
+
3
+ export const Slack: Provider = {
4
+ _id: '677df7f4184df79de50f5c71',
5
+ dateCreated: 0,
6
+ dateUpdated: 0,
7
+ name: 'slack',
8
+ description: 'Slack collaboration for Noded',
9
+ instanceUrl: 'https://connect-slack-dev.noded.so',
10
+ applications: [
11
+ {
12
+ name: 'core',
13
+ sobjects: {
14
+ calendar: false,
15
+ task: false,
16
+ conference: false,
17
+ document: false,
18
+ thread: false,
19
+ template: false,
20
+ table: true,
21
+ },
22
+ linkSubscriptions: ['*.slack.com/archives'],
23
+ linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
24
+ description: 'Collaborate with Slack and Noded together.',
25
+ iconUrl:
26
+ 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
27
+ label: 'Slack Messaging',
28
+ authentication: true,
29
+ externalStorage: true,
30
+ externalIds: [
31
+ {
32
+ label: 'Channel',
33
+ blockType: BlockType.Record,
34
+ tagType: TagType.Topic,
35
+ },
36
+ {
37
+ label: 'Channel',
38
+ blockType: BlockType.Record,
39
+ tagType: TagType.Organization,
40
+ },
41
+ {
42
+ label: 'Profile',
43
+ blockType: BlockType.Record,
44
+ tagType: TagType.Person,
45
+ tagSubType: 'user',
46
+ },
47
+ ],
48
+ },
49
+ ],
50
+ label: 'Slack',
51
+ iconUrl:
52
+ 'https://cdn4.iconfinder.com/data/icons/logos-and-brands/512/306_Slack_logo-512.png',
53
+ };
package/model.js CHANGED
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CredentialQL = exports.StandardObjectsQL = exports.ProviderResponseQL = exports.ProviderRequestQL = exports.ProviderInfoQL = exports.EntityEntryQL = exports.EntityEntryFields = exports.RelationEntryQL = exports.ArgumentEntryQL = exports.EntityReferenceQL = exports.TaskStepQL = exports.TaskStepInputQL = exports.ExternalIdLinkQL = exports.ExternalIdLinkInputQL = exports.BusinessObjectLinkQL = exports.BusinessObjectLinkInputQL = exports.SharingTenantQL = exports.TenantSettingQL = exports.SharingDomainQL = exports.SharingTagQL = exports.SharingTagInputQL = exports.InviteSharingTagInputQL = exports.EditorQL = exports.EditorInputQL = exports.HighlightQL = exports.PubSubType = exports.RelationType = exports.EntityType = exports.RecordType = exports.ThumbsDirection = exports.ProcessingStage = exports.MutationType = exports.MarkType = exports.DocumentType = exports.RecurrenceRFC = exports.TagRecommendationType = exports.InviteStatus = exports.OrderByDirection = exports.SharingApproach = exports.StepStatus = exports.TaskStatus = exports.TaskPriority = exports.AccessType = exports.SharingLevel = exports.ClientType = exports.ExportType = exports.TagType = exports.UpsertType = exports.RecommendationType = exports.BlockType = void 0;
4
4
  exports.Recommendation = exports.RecommendationQL = exports.NotificationRecommendationQL = exports.MessageRecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ChangeRecommendationQL = exports.ReactionRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TenantLightInputQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.ExternalIdQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.History = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.FindExternalTagReferenceInputQL = exports.FindExternalTagReferencesInputQL = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
5
- exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = void 0;
6
- exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardBlockInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = void 0;
7
- exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = void 0;
5
+ exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = exports.Email = exports.EmailQL = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = void 0;
6
+ exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardBlockInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = void 0;
7
+ exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = exports.GraphSearchFields = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.SortOptionQL = exports.SortOptionFieldsQL = exports.BusinessObjectFilterInputQL = exports.BusinessObjectFilterQL = exports.BusinessObjectFilterFieldsQL = exports.StringFilterInputQL = exports.StringFilterQL = exports.StringFilterFieldsQL = exports.NumberFilterInputQL = exports.NumberFilterQL = exports.NumberFilterFieldsQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.RemoveReactionInputQL = exports.AddReactionInputQL = exports.FindReactionsInputQL = exports.ReactionQL = exports.FindTagsVisibilityInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = exports.RecommendationTypeQL = exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = void 0;
8
8
  const uuid_1 = require("uuid");
9
9
  /*
10
10
  These are the core primitives of our model. These represent the entities that show
@@ -1184,6 +1184,21 @@ class Todo extends BusinessObject {
1184
1184
  }
1185
1185
  exports.Todo = Todo;
1186
1186
  //// EXTERNAL TASK END
1187
+ //// EMAIL START
1188
+ exports.EmailQL = `
1189
+ type Email {${exports.BusinessObjectFields}
1190
+ to: [PersonReference]
1191
+ cc: [PersonReference]
1192
+ bcc: [PersonReference]
1193
+ subject: String
1194
+ }`;
1195
+ class Email extends BusinessObject {
1196
+ constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1197
+ super(tenantIdCreated, editors, sharingTags, BlockType.Event, provider, application, uri, externalId);
1198
+ }
1199
+ }
1200
+ exports.Email = Email;
1201
+ //// EMAIL END
1187
1202
  //// MESSAGING START
1188
1203
  exports.UpsertMessageInputQL = `
1189
1204
  input UpsertMessageInput {${exports.BlockFieldsForUpsert}
package/model.ts CHANGED
@@ -2036,6 +2036,45 @@ export class Todo extends BusinessObject {
2036
2036
  }
2037
2037
  //// EXTERNAL TASK END
2038
2038
 
2039
+ //// EMAIL START
2040
+ export const EmailQL = `
2041
+ type Email {${BusinessObjectFields}
2042
+ to: [PersonReference]
2043
+ cc: [PersonReference]
2044
+ bcc: [PersonReference]
2045
+ subject: String
2046
+ }`;
2047
+ export class Email extends BusinessObject {
2048
+ to?: PersonReference[];
2049
+ cc?: PersonReference[];
2050
+ bcc?: PersonReference[];
2051
+ subject?: string | null;
2052
+ attachments?: Attachment[] | null;
2053
+ htmlContent?: string;
2054
+
2055
+ constructor(
2056
+ tenantIdCreated: string,
2057
+ editors: Editor[],
2058
+ sharingTags: SharingTag[],
2059
+ provider: string,
2060
+ application: string,
2061
+ uri: string,
2062
+ externalId: string
2063
+ ) {
2064
+ super(
2065
+ tenantIdCreated,
2066
+ editors,
2067
+ sharingTags,
2068
+ BlockType.Event,
2069
+ provider,
2070
+ application,
2071
+ uri,
2072
+ externalId
2073
+ );
2074
+ }
2075
+ }
2076
+ //// EMAIL END
2077
+
2039
2078
  //// MESSAGING START
2040
2079
  export const UpsertMessageInputQL = `
2041
2080
  input UpsertMessageInput {${BlockFieldsForUpsert}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.3.13",
4
+ "version": "5.4.1",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",