@bigfootai/bigfoot-types 5.4.28 → 5.4.30

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.
Files changed (86) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +3 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/metadata/dashboards/account_overview.d.ts +3 -0
  6. package/dist/metadata/dashboards/account_overview.d.ts.map +1 -0
  7. package/{metadata → dist/metadata}/dashboards/account_overview.js +8 -10
  8. package/dist/metadata/dashboards/account_overview.js.map +1 -0
  9. package/dist/metadata/dashboards/record_update.d.ts +3 -0
  10. package/dist/metadata/dashboards/record_update.d.ts.map +1 -0
  11. package/{metadata → dist/metadata}/dashboards/record_update.js +9 -11
  12. package/dist/metadata/dashboards/record_update.js.map +1 -0
  13. package/dist/metadata/documents/healthcheck.d.ts +3 -0
  14. package/dist/metadata/documents/healthcheck.d.ts.map +1 -0
  15. package/{metadata → dist/metadata}/documents/healthcheck.js +9 -16
  16. package/dist/metadata/documents/healthcheck.js.map +1 -0
  17. package/dist/metadata/providers/gong.d.ts +4 -0
  18. package/dist/metadata/providers/gong.d.ts.map +1 -0
  19. package/{metadata → dist/metadata}/providers/gong.js +4 -6
  20. package/dist/metadata/providers/gong.js.map +1 -0
  21. package/dist/metadata/providers/google.d.ts +3 -0
  22. package/dist/metadata/providers/google.d.ts.map +1 -0
  23. package/{metadata → dist/metadata}/providers/google.js +8 -10
  24. package/dist/metadata/providers/google.js.map +1 -0
  25. package/dist/metadata/providers/hubspot.d.ts +3 -0
  26. package/dist/metadata/providers/hubspot.d.ts.map +1 -0
  27. package/{metadata → dist/metadata}/providers/hubspot.js +11 -13
  28. package/dist/metadata/providers/hubspot.js.map +1 -0
  29. package/dist/metadata/providers/index.d.ts +7 -0
  30. package/dist/metadata/providers/index.d.ts.map +1 -0
  31. package/dist/metadata/providers/index.js +7 -0
  32. package/dist/metadata/providers/index.js.map +1 -0
  33. package/dist/metadata/providers/noded.d.ts +3 -0
  34. package/dist/metadata/providers/noded.d.ts.map +1 -0
  35. package/dist/metadata/providers/noded.js +49 -0
  36. package/dist/metadata/providers/noded.js.map +1 -0
  37. package/dist/metadata/providers/salesforce.d.ts +3 -0
  38. package/dist/metadata/providers/salesforce.d.ts.map +1 -0
  39. package/{metadata → dist/metadata}/providers/salesforce.js +11 -13
  40. package/dist/metadata/providers/salesforce.js.map +1 -0
  41. package/dist/metadata/providers/slack.d.ts +3 -0
  42. package/dist/metadata/providers/slack.d.ts.map +1 -0
  43. package/{metadata → dist/metadata}/providers/slack.js +11 -13
  44. package/dist/metadata/providers/slack.js.map +1 -0
  45. package/dist/metadata/tables/case.d.ts +3 -0
  46. package/dist/metadata/tables/case.d.ts.map +1 -0
  47. package/{metadata → dist/metadata}/tables/case.js +24 -31
  48. package/dist/metadata/tables/case.js.map +1 -0
  49. package/dist/metadata/tables/issue.d.ts +3 -0
  50. package/dist/metadata/tables/issue.d.ts.map +1 -0
  51. package/{metadata → dist/metadata}/tables/issue.js +27 -34
  52. package/dist/metadata/tables/issue.js.map +1 -0
  53. package/dist/metadata/tables/opportunity.d.ts +3 -0
  54. package/dist/metadata/tables/opportunity.d.ts.map +1 -0
  55. package/{metadata → dist/metadata}/tables/opportunity.js +28 -35
  56. package/dist/metadata/tables/opportunity.js.map +1 -0
  57. package/dist/metadata/tables/organization.d.ts +3 -0
  58. package/dist/metadata/tables/organization.d.ts.map +1 -0
  59. package/{metadata → dist/metadata}/tables/organization.js +7 -9
  60. package/dist/metadata/tables/organization.js.map +1 -0
  61. package/dist/types.d.ts +1641 -0
  62. package/dist/types.d.ts.map +1 -0
  63. package/{model.js → dist/types.js} +871 -581
  64. package/dist/types.js.map +1 -0
  65. package/package.json +30 -24
  66. package/.eslintignore +0 -3
  67. package/.eslintrc.json +0 -10
  68. package/.prettierrc +0 -9
  69. package/.vscode-sample/settings.json +0 -10
  70. package/a_article.txt +0 -58
  71. package/metadata/dashboards/account_overview.ts +0 -51
  72. package/metadata/dashboards/record_update.ts +0 -56
  73. package/metadata/documents/healthcheck.ts +0 -49
  74. package/metadata/providers/gong.ts +0 -35
  75. package/metadata/providers/google.ts +0 -66
  76. package/metadata/providers/hubspot.ts +0 -56
  77. package/metadata/providers/noded.js +0 -58
  78. package/metadata/providers/noded.ts +0 -58
  79. package/metadata/providers/salesforce.ts +0 -57
  80. package/metadata/providers/slack.ts +0 -53
  81. package/metadata/tables/case.ts +0 -153
  82. package/metadata/tables/issue.ts +0 -164
  83. package/metadata/tables/opportunity.ts +0 -166
  84. package/metadata/tables/organization.ts +0 -77
  85. package/model.ts +0 -3755
  86. package/tsconfig.json +0 -9
@@ -1,19 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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
- exports.NotificationRecommendationQL = exports.MessageRecommendationQL = exports.IngestionRecommendationQL = 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.PersonReferenceInputQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = exports.ConnectedProviderQL = void 0;
5
- exports.BlockData = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Message = exports.MessageQL = exports.UpsertMessageInputQL = exports.Email = exports.EmailQL = exports.IngestEmailInputQL = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.AttachmentQL = exports.AttachmentInputQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.Transcription = exports.TranscriptionQL = exports.IngestTranscriptionInputQL = 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 = exports.Recommendation = exports.RecommendationQL = void 0;
6
- 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 = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = void 0;
7
- 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 = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = void 0;
8
- exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchQL = void 0;
9
- const uuid_1 = require("uuid");
1
+ import { v4 as uuidv4 } from 'uuid';
10
2
  /*
11
3
  These are the core primitives of our model. These represent the entities that show
12
4
  up in our Graph QL CRUD operations and set out the fundamental building blocks of
13
5
  the platform.
14
6
  */
15
7
  // CORE START
16
- var BlockType;
8
+ export var BlockType;
17
9
  (function (BlockType) {
18
10
  BlockType["Note"] = "note";
19
11
  BlockType["Section"] = "section";
@@ -33,8 +25,8 @@ var BlockType;
33
25
  BlockType["Folder"] = "folder";
34
26
  BlockType["Search"] = "search";
35
27
  BlockType["Changeset"] = "changeset";
36
- })(BlockType || (exports.BlockType = BlockType = {}));
37
- var RecommendationType;
28
+ })(BlockType || (BlockType = {}));
29
+ export var RecommendationType;
38
30
  (function (RecommendationType) {
39
31
  RecommendationType["Connect"] = "connect";
40
32
  RecommendationType["Upsert"] = "upsert";
@@ -44,13 +36,13 @@ var RecommendationType;
44
36
  RecommendationType["Reaction"] = "reaction";
45
37
  RecommendationType["Change"] = "change";
46
38
  RecommendationType["Ingestion"] = "ingestion";
47
- })(RecommendationType || (exports.RecommendationType = RecommendationType = {}));
48
- var UpsertType;
39
+ })(RecommendationType || (RecommendationType = {}));
40
+ export var UpsertType;
49
41
  (function (UpsertType) {
50
42
  UpsertType["Insert"] = "insert";
51
43
  UpsertType["Update"] = "update";
52
- })(UpsertType || (exports.UpsertType = UpsertType = {}));
53
- var TagType;
44
+ })(UpsertType || (UpsertType = {}));
45
+ export var TagType;
54
46
  (function (TagType) {
55
47
  TagType["Person"] = "person";
56
48
  TagType["Organization"] = "organization";
@@ -58,64 +50,64 @@ var TagType;
58
50
  TagType["Location"] = "location";
59
51
  TagType["Date"] = "date";
60
52
  TagType["Unknown"] = "unknown";
61
- })(TagType || (exports.TagType = TagType = {}));
62
- var ExportType;
53
+ })(TagType || (TagType = {}));
54
+ export var ExportType;
63
55
  (function (ExportType) {
64
56
  ExportType["Document"] = "document";
65
57
  ExportType["Message"] = "message";
66
- })(ExportType || (exports.ExportType = ExportType = {}));
67
- var ClientType;
58
+ })(ExportType || (ExportType = {}));
59
+ export var ClientType;
68
60
  (function (ClientType) {
69
61
  ClientType["Web"] = "web";
70
62
  ClientType["Mobile"] = "mobile";
71
- })(ClientType || (exports.ClientType = ClientType = {}));
72
- var SharingLevel;
63
+ })(ClientType || (ClientType = {}));
64
+ export var SharingLevel;
73
65
  (function (SharingLevel) {
74
66
  SharingLevel[SharingLevel["ReadOnly"] = 0] = "ReadOnly";
75
67
  SharingLevel[SharingLevel["Editor"] = 1] = "Editor";
76
68
  SharingLevel[SharingLevel["Owner"] = 2] = "Owner";
77
- })(SharingLevel || (exports.SharingLevel = SharingLevel = {}));
78
- var AccessType;
69
+ })(SharingLevel || (SharingLevel = {}));
70
+ export var AccessType;
79
71
  (function (AccessType) {
80
72
  AccessType["ReadWrite"] = "rw";
81
73
  AccessType["ReadOnly"] = "read-only";
82
74
  AccessType["NoAccess"] = "no-access";
83
- })(AccessType || (exports.AccessType = AccessType = {}));
84
- var TaskPriority;
75
+ })(AccessType || (AccessType = {}));
76
+ export var TaskPriority;
85
77
  (function (TaskPriority) {
86
78
  TaskPriority["High"] = "high";
87
79
  TaskPriority["Medium"] = "medium";
88
80
  TaskPriority["Low"] = "low";
89
- })(TaskPriority || (exports.TaskPriority = TaskPriority = {}));
90
- var TaskStatus;
81
+ })(TaskPriority || (TaskPriority = {}));
82
+ export var TaskStatus;
91
83
  (function (TaskStatus) {
92
84
  TaskStatus["NotStarted"] = "not_started";
93
85
  TaskStatus["InProgress"] = "in_progress";
94
86
  TaskStatus["Completed"] = "completed";
95
- })(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
96
- var StepStatus;
87
+ })(TaskStatus || (TaskStatus = {}));
88
+ export var StepStatus;
97
89
  (function (StepStatus) {
98
90
  StepStatus["NotStarted"] = "not_started";
99
91
  StepStatus["Completed"] = "completed";
100
- })(StepStatus || (exports.StepStatus = StepStatus = {}));
101
- var SharingApproach;
92
+ })(StepStatus || (StepStatus = {}));
93
+ export var SharingApproach;
102
94
  (function (SharingApproach) {
103
95
  SharingApproach[SharingApproach["Inline"] = 0] = "Inline";
104
96
  SharingApproach[SharingApproach["Explicit"] = 1] = "Explicit";
105
- })(SharingApproach || (exports.SharingApproach = SharingApproach = {}));
106
- var OrderByDirection;
97
+ })(SharingApproach || (SharingApproach = {}));
98
+ export var OrderByDirection;
107
99
  (function (OrderByDirection) {
108
100
  OrderByDirection["Ascending"] = "asc";
109
101
  OrderByDirection["Descending"] = "desc";
110
- })(OrderByDirection || (exports.OrderByDirection = OrderByDirection = {}));
111
- var InviteStatus;
102
+ })(OrderByDirection || (OrderByDirection = {}));
103
+ export var InviteStatus;
112
104
  (function (InviteStatus) {
113
105
  InviteStatus["NotInvited"] = "not_invited";
114
106
  InviteStatus["SendInvite"] = "send_invite";
115
107
  InviteStatus["InviteSent"] = "invite_sent";
116
108
  InviteStatus["InviteAccepted"] = "invite_accepted";
117
- })(InviteStatus || (exports.InviteStatus = InviteStatus = {}));
118
- var TagRecommendationType;
109
+ })(InviteStatus || (InviteStatus = {}));
110
+ export var TagRecommendationType;
119
111
  (function (TagRecommendationType) {
120
112
  TagRecommendationType["TagMissing"] = "missing";
121
113
  TagRecommendationType["TagCreated"] = "created";
@@ -123,8 +115,8 @@ var TagRecommendationType;
123
115
  TagRecommendationType["TagNotFound"] = "not_found";
124
116
  TagRecommendationType["UserAssigned"] = "user_assigned";
125
117
  TagRecommendationType["Ignore"] = "ignore";
126
- })(TagRecommendationType || (exports.TagRecommendationType = TagRecommendationType = {}));
127
- var RecurrenceRFC;
118
+ })(TagRecommendationType || (TagRecommendationType = {}));
119
+ export var RecurrenceRFC;
128
120
  (function (RecurrenceRFC) {
129
121
  RecurrenceRFC["FREQ"] = "FREQ";
130
122
  RecurrenceRFC["UNTIL"] = "UNTIL";
@@ -145,8 +137,8 @@ var RecurrenceRFC;
145
137
  RecurrenceRFC["FRIDAY"] = "FR";
146
138
  RecurrenceRFC["SATURDAY"] = "SA";
147
139
  RecurrenceRFC["SUNDAY"] = "SU";
148
- })(RecurrenceRFC || (exports.RecurrenceRFC = RecurrenceRFC = {}));
149
- var DocumentType;
140
+ })(RecurrenceRFC || (RecurrenceRFC = {}));
141
+ export var DocumentType;
150
142
  (function (DocumentType) {
151
143
  DocumentType["BlockQuote"] = "blockquote";
152
144
  DocumentType["Image"] = "image";
@@ -157,19 +149,19 @@ var DocumentType;
157
149
  DocumentType["Heading"] = "heading";
158
150
  DocumentType["CodeBlock"] = "code_block";
159
151
  DocumentType["HardBreak"] = "hard_break";
160
- })(DocumentType || (exports.DocumentType = DocumentType = {}));
161
- var MarkType;
152
+ })(DocumentType || (DocumentType = {}));
153
+ export var MarkType;
162
154
  (function (MarkType) {
163
155
  MarkType["Link"] = "link";
164
- })(MarkType || (exports.MarkType = MarkType = {}));
165
- var MutationType;
156
+ })(MarkType || (MarkType = {}));
157
+ export var MutationType;
166
158
  (function (MutationType) {
167
159
  MutationType["Select"] = "select";
168
160
  MutationType["Insert"] = "insert";
169
161
  MutationType["Update"] = "update";
170
162
  MutationType["Delete"] = "delete";
171
- })(MutationType || (exports.MutationType = MutationType = {}));
172
- var ProcessingStage;
163
+ })(MutationType || (MutationType = {}));
164
+ export var ProcessingStage;
173
165
  (function (ProcessingStage) {
174
166
  ProcessingStage["NotProcessed"] = "not_processed";
175
167
  ProcessingStage["Processing"] = "processing";
@@ -179,19 +171,19 @@ var ProcessingStage;
179
171
  ProcessingStage["Failed"] = "failed";
180
172
  ProcessingStage["Waiting"] = "waiting";
181
173
  ProcessingStage["Stopped"] = "stopped";
182
- })(ProcessingStage || (exports.ProcessingStage = ProcessingStage = {}));
183
- var ThumbsDirection;
174
+ })(ProcessingStage || (ProcessingStage = {}));
175
+ export var ThumbsDirection;
184
176
  (function (ThumbsDirection) {
185
177
  ThumbsDirection["Up"] = "up";
186
178
  ThumbsDirection["Down"] = "down";
187
- })(ThumbsDirection || (exports.ThumbsDirection = ThumbsDirection = {}));
188
- var RecordType;
179
+ })(ThumbsDirection || (ThumbsDirection = {}));
180
+ export var RecordType;
189
181
  (function (RecordType) {
190
182
  RecordType["Opportunity"] = "opportunity";
191
183
  RecordType["Case"] = "case";
192
- })(RecordType || (exports.RecordType = RecordType = {}));
184
+ })(RecordType || (RecordType = {}));
193
185
  // Referenced here: https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-entity-types-version-2
194
- var EntityType;
186
+ export var EntityType;
195
187
  (function (EntityType) {
196
188
  EntityType["Date"] = "Date";
197
189
  EntityType["Duration"] = "Duration";
@@ -213,9 +205,9 @@ var EntityType;
213
205
  EntityType["Time"] = "Time";
214
206
  EntityType["TwitterHandle"] = "TwitterHandle";
215
207
  EntityType["URL"] = "URL";
216
- })(EntityType || (exports.EntityType = EntityType = {}));
208
+ })(EntityType || (EntityType = {}));
217
209
  // Referenced here: https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-relation-types-version-2
218
- var RelationType;
210
+ export var RelationType;
219
211
  (function (RelationType) {
220
212
  RelationType["AffiliatedWith"] = "affiliatedWith";
221
213
  RelationType["BasedIn"] = "basedIn";
@@ -249,8 +241,8 @@ var RelationType;
249
241
  RelationType["SpokespersonFor"] = "spokespersonFor";
250
242
  RelationType["SpouseOf"] = "spouseOf";
251
243
  RelationType["SubsidiaryOf"] = "subsidiaryOf";
252
- })(RelationType || (exports.RelationType = RelationType = {}));
253
- var PubSubType;
244
+ })(RelationType || (RelationType = {}));
245
+ export var PubSubType;
254
246
  (function (PubSubType) {
255
247
  PubSubType["NoteChanged"] = "noteChanged";
256
248
  PubSubType["NoteCreated"] = "noteCreated";
@@ -276,25 +268,25 @@ var PubSubType;
276
268
  PubSubType["MessageUpdatedForTag"] = "messageUpdatedForTag";
277
269
  PubSubType["MessageArchivedForTag"] = "messageArchivedForTag";
278
270
  PubSubType["ProviderConnectionChanged"] = "providerConnectionChanged";
279
- })(PubSubType || (exports.PubSubType = PubSubType = {}));
280
- exports.HighlightQL = `
271
+ })(PubSubType || (PubSubType = {}));
272
+ export const HighlightQL = `
281
273
  type Highlight {
282
274
  indexStart: Int!
283
275
  indexEnd: Int!
284
276
  }`;
285
- exports.EditorInputQL = `
277
+ export const EditorInputQL = `
286
278
  input EditorInput {
287
279
  clientType: String!
288
280
  clientId: String!
289
281
  tenantId: String
290
282
  }`;
291
- exports.EditorQL = `
283
+ export const EditorQL = `
292
284
  type Editor {
293
285
  clientType: String!
294
286
  clientId: String!
295
287
  tenantId: String
296
288
  }`;
297
- exports.InviteSharingTagInputQL = `
289
+ export const InviteSharingTagInputQL = `
298
290
  input InviteSharingTagInput {
299
291
  tagId: String
300
292
  email: String
@@ -302,7 +294,7 @@ input InviteSharingTagInput {
302
294
  sharingApproach: Int!
303
295
  sharingLevel: Int!
304
296
  }`;
305
- exports.SharingTagInputQL = `
297
+ export const SharingTagInputQL = `
306
298
  input SharingTagInput {
307
299
  tagId: String!
308
300
  shared: Boolean!
@@ -311,7 +303,7 @@ input SharingTagInput {
311
303
  confidence: Float
312
304
  text: String
313
305
  }`;
314
- exports.SharingTagQL = `
306
+ export const SharingTagQL = `
315
307
  type SharingTag {
316
308
  tagId: String!
317
309
  shared: Boolean!
@@ -320,23 +312,23 @@ type SharingTag {
320
312
  confidence: Float
321
313
  text: String
322
314
  }`;
323
- exports.SharingDomainQL = `
315
+ export const SharingDomainQL = `
324
316
  type SharingDomain {
325
317
  domainId: String!
326
318
  sharingLevel: Int!
327
319
  }`;
328
- exports.TenantSettingQL = `
320
+ export const TenantSettingQL = `
329
321
  type TenantSetting {
330
322
  favorite: Boolean
331
323
  hasAutoShareNotesOn: Boolean
332
324
  hasAutoShareTasksOn: Boolean
333
325
  }`;
334
- exports.SharingTenantQL = `
326
+ export const SharingTenantQL = `
335
327
  type SharingTenant {
336
328
  tenantId: String!
337
329
  sharingLevel: Int!
338
330
  }`;
339
- exports.BusinessObjectLinkInputQL = `
331
+ export const BusinessObjectLinkInputQL = `
340
332
  input BusinessObjectLinkInput {
341
333
  id: String
342
334
  url: String
@@ -346,7 +338,7 @@ input BusinessObjectLinkInput {
346
338
  blockType: String
347
339
  _compound: String
348
340
  }`;
349
- exports.BusinessObjectLinkQL = `
341
+ export const BusinessObjectLinkQL = `
350
342
  type BusinessObjectLink {
351
343
  url: String
352
344
  id: String
@@ -355,7 +347,7 @@ type BusinessObjectLink {
355
347
  metadataType: String
356
348
  _compound: String
357
349
  }`;
358
- exports.ExternalIdLinkInputQL = `
350
+ export const ExternalIdLinkInputQL = `
359
351
  input ExternalIdLinkInput {
360
352
  externalId: String!
361
353
  instanceId: String!
@@ -367,7 +359,7 @@ input ExternalIdLinkInput {
367
359
  blockType: BlockType
368
360
  connectionId: String
369
361
  }`;
370
- exports.ExternalIdLinkQL = `
362
+ export const ExternalIdLinkQL = `
371
363
  type ExternalIdLink {
372
364
  externalId: String!
373
365
  instanceId: String!
@@ -379,55 +371,55 @@ type ExternalIdLink {
379
371
  blockType: BlockType
380
372
  connectionId: String
381
373
  }`;
382
- exports.TaskStepInputQL = `
374
+ export const TaskStepInputQL = `
383
375
  input TaskStepInput {
384
376
  content: String!
385
377
  status: String!
386
378
  }`;
387
- exports.TaskStepQL = `
379
+ export const TaskStepQL = `
388
380
  type TaskStep {
389
381
  content: String!
390
382
  status: String!
391
383
  }`;
392
- exports.EntityReferenceQL = `
384
+ export const EntityReferenceQL = `
393
385
  type EntityReference {
394
386
  name: String!
395
387
  type: String!
396
388
  }`;
397
- exports.ArgumentEntryQL = `
389
+ export const ArgumentEntryQL = `
398
390
  type ArgumentEntry {
399
391
  text: String!
400
392
  entities: [EntityReference]!
401
393
  }`;
402
- exports.RelationEntryQL = `
394
+ export const RelationEntryQL = `
403
395
  type RelationEntry {
404
396
  type: String!
405
397
  confidence: Int!
406
398
  arguments: [ArgumentEntry]!
407
399
  }`;
408
- exports.EntityEntryFields = `
400
+ export const EntityEntryFields = `
409
401
  text: String!
410
402
  confidence: Int!
411
403
  `;
412
- exports.EntityEntryQL = `
413
- type EntityEntry {${exports.EntityEntryFields}
404
+ export const EntityEntryQL = `
405
+ type EntityEntry {${EntityEntryFields}
414
406
  }`;
415
- exports.ProviderInfoQL = `
407
+ export const ProviderInfoQL = `
416
408
  type ProviderInfo {
417
409
  provider: String!
418
410
  application: String!
419
411
  }`;
420
- exports.ProviderRequestQL = `
412
+ export const ProviderRequestQL = `
421
413
  type ProviderRequest {
422
414
  providerInfo: ProviderInfo!
423
415
  connectionId: String!
424
416
  }`;
425
- exports.ProviderResponseQL = `
417
+ export const ProviderResponseQL = `
426
418
  type ProviderResponse {
427
419
  connectionId: String!
428
420
  providerUrl: String!
429
421
  }`;
430
- exports.StandardObjectsQL = `
422
+ export const StandardObjectsQL = `
431
423
  type StandardObjects {
432
424
  task: Boolean!
433
425
  calendar: Boolean!
@@ -437,7 +429,7 @@ type StandardObjects {
437
429
  template: Boolean!
438
430
  table: Boolean!
439
431
  }`;
440
- exports.CredentialQL = `
432
+ export const CredentialQL = `
441
433
  type Credential {
442
434
  email: String!
443
435
  profile: String!
@@ -447,7 +439,7 @@ type Credential {
447
439
  instanceId: String
448
440
  dateExpiry: Float
449
441
  }`;
450
- exports.ConnectedProviderQL = `
442
+ export const ConnectedProviderQL = `
451
443
  type ConnectedProvider {
452
444
  connectionId: String!
453
445
  provider: String!
@@ -456,77 +448,72 @@ type ConnectedProvider {
456
448
  dateCreated: Float
457
449
  dateUpdated: Float
458
450
  }`;
459
- exports.ReferenceBlockInputQL = `
451
+ export const ReferenceBlockInputQL = `
460
452
  input ReferenceBlockInput {
461
453
  id: String!
462
454
  blockType: String!
463
455
  }`;
464
- exports.ReferenceBlockQL = `
456
+ export const ReferenceBlockQL = `
465
457
  type ReferenceBlock {
466
458
  id: String!
467
459
  blockType: String!
468
460
  archived: Boolean
469
461
  }`;
470
- exports.ChangesInputQL = `
462
+ export const ChangesInputQL = `
471
463
  input ChangesInput {
472
464
  steps: [String]!
473
465
  clientIds: [String]!
474
466
  }`;
475
- exports.ChangesQL = `
467
+ export const ChangesQL = `
476
468
  type Changes {
477
469
  steps: [String]!
478
470
  clientIds: [String]!
479
471
  }`;
480
- exports.PersonReferenceFields = `
472
+ export const PersonReferenceFields = `
481
473
  email: String!
482
474
  friendlyName: String
483
475
  tagId: String
484
476
  `;
485
- exports.PersonReferenceInputQL = `
486
- input PersonReferenceInput {${exports.PersonReferenceFields}
477
+ export const PersonReferenceInputQL = `
478
+ input PersonReferenceInput {${PersonReferenceFields}
487
479
  }`;
488
- exports.PersonReferenceQL = `
489
- type PersonReference {${exports.PersonReferenceFields}
480
+ export const PersonReferenceQL = `
481
+ type PersonReference {${PersonReferenceFields}
490
482
  }`;
491
- exports.FindExternalTagReferencesInputQL = `
492
- input FindExternalTagReferencesInput {
493
- search: String
494
- tagType: TagType!
495
- tagSubType: String
496
- connectionId: String!
497
- }`;
498
- exports.FindExternalTagReferenceInputQL = `
499
- input FindExternalTagReferenceInput {
500
- externalId: String
501
- tagType: TagType!
502
- tagSubType: String
503
- connectionId: String!
504
- }`;
505
- exports.PrimitiveFields = `
483
+ export const PrimitiveFields = `
506
484
  _id: ID!
507
485
  dateCreated: Float!
508
486
  dateUpdated: Float!
509
487
  tenantIdCreated: String`;
510
- exports.PrimitiveFieldsForUpsert = `
488
+ export const PrimitiveFieldsForUpsert = `
511
489
  _id: ID
512
490
  dateCreated: Float
513
491
  dateUpdated: Float
514
492
  tenantIdCreated: String`;
515
- class Primitive {
493
+ export class Primitive {
494
+ _id;
495
+ dateCreated;
496
+ dateUpdated;
497
+ tenantIdCreated;
516
498
  constructor() {
517
- this._id = (0, uuid_1.v4)();
499
+ this._id = uuidv4();
518
500
  const now = Date.now();
519
501
  this.dateCreated = now;
520
502
  this.dateUpdated = now;
521
503
  }
522
504
  }
523
- exports.Primitive = Primitive;
524
- exports.SharedPrimitiveFields = `${exports.PrimitiveFields}
505
+ export const SharedPrimitiveFields = `${PrimitiveFields}
525
506
  sharingTags: [SharingTag]!
526
507
  subscriptionPubSubType: String`;
527
- exports.SharedPrimitiveFieldsForUpsert = `${exports.PrimitiveFieldsForUpsert}
508
+ export const SharedPrimitiveFieldsForUpsert = `${PrimitiveFieldsForUpsert}
528
509
  sharingTags: [SharingTagInput]`;
529
- class SharedPrimitive extends Primitive {
510
+ export class SharedPrimitive extends Primitive {
511
+ sharingTags;
512
+ _parentSharingTagIds;
513
+ _parentTagIds;
514
+ _sharingTagIds;
515
+ _tagIds;
516
+ subscriptionPubSubType;
530
517
  constructor(sharingTags) {
531
518
  super();
532
519
  this.sharingTags = sharingTags;
@@ -539,7 +526,7 @@ class SharedPrimitive extends Primitive {
539
526
  if (sharingTags && sharingTags.length > 0) {
540
527
  this._sharingTagIds = sharingTags
541
528
  .filter((sharingTag) => {
542
- return sharingTag.shared == true;
529
+ return sharingTag.shared === true;
543
530
  })
544
531
  .map((sharingTag) => sharingTag.tagId);
545
532
  this._tagIds = sharingTags.map((sharingTag) => sharingTag.tagId);
@@ -550,8 +537,7 @@ class SharedPrimitive extends Primitive {
550
537
  }
551
538
  }
552
539
  }
553
- exports.SharedPrimitive = SharedPrimitive;
554
- exports.MetadataFields = `${exports.PrimitiveFields}
540
+ export const MetadataFields = `${PrimitiveFields}
555
541
  label: String!
556
542
  description: String!
557
543
  metadataType: String!
@@ -560,10 +546,18 @@ exports.MetadataFields = `${exports.PrimitiveFields}
560
546
  threshold: Float!
561
547
  provider: String
562
548
  application: String`;
563
- exports.MetadataQL = `
564
- type Metadata {${exports.MetadataFields}
565
- }`;
566
- class Metadata extends Primitive {
549
+ export const MetadataQL = `
550
+ type Metadata {${MetadataFields}
551
+ }`;
552
+ export class Metadata extends Primitive {
553
+ label;
554
+ description;
555
+ metadataType;
556
+ references;
557
+ classifiers;
558
+ threshold;
559
+ provider;
560
+ application;
567
561
  constructor(label, description, metadataType, classifiers, threshold) {
568
562
  super();
569
563
  this.label = label;
@@ -573,8 +567,11 @@ class Metadata extends Primitive {
573
567
  this.threshold = threshold;
574
568
  }
575
569
  }
576
- exports.Metadata = Metadata;
577
- class History extends Primitive {
570
+ export class History extends Primitive {
571
+ tenantId;
572
+ referenceBlock;
573
+ before;
574
+ after;
578
575
  constructor(tenantId, before, after) {
579
576
  super();
580
577
  this.tenantId = tenantId;
@@ -586,16 +583,22 @@ class History extends Primitive {
586
583
  };
587
584
  }
588
585
  }
589
- exports.History = History;
590
- exports.FolderQL = `
591
- type Folder {${exports.SharedPrimitiveFields}
586
+ export const FolderQL = `
587
+ type Folder {${SharedPrimitiveFields}
592
588
  icon: String
593
589
  label: String!
594
590
  description: String
595
591
  searchIds: [String]
596
592
  archived: Boolean!
597
593
  }`;
598
- class Folder extends SharedPrimitive {
594
+ export class Folder extends SharedPrimitive {
595
+ icon;
596
+ label;
597
+ description;
598
+ searchIds;
599
+ archived;
600
+ _order;
601
+ _tagType;
599
602
  constructor(tenantIdCreated, sharingTags, label) {
600
603
  super(sharingTags);
601
604
  this.label = label;
@@ -604,9 +607,8 @@ class Folder extends SharedPrimitive {
604
607
  this._order = 0;
605
608
  }
606
609
  }
607
- exports.Folder = Folder;
608
- exports.SearchQL = `
609
- type Search {${exports.SharedPrimitiveFields}
610
+ export const SearchQL = `
611
+ type Search {${SharedPrimitiveFields}
610
612
  label: String
611
613
  search: String
612
614
  blockType: String
@@ -631,7 +633,31 @@ type Search {${exports.SharedPrimitiveFields}
631
633
  archived: Boolean!
632
634
  favoriteTagId: String
633
635
  }`;
634
- class Search extends SharedPrimitive {
636
+ export class Search extends SharedPrimitive {
637
+ blockType;
638
+ label;
639
+ search;
640
+ _ids;
641
+ tagIds;
642
+ emails;
643
+ businessObjects;
644
+ orderByDateUpdated;
645
+ orderByDateCreated;
646
+ orderByDateDue;
647
+ orderByAlias;
648
+ dateDueFrom;
649
+ dateDueTo;
650
+ status;
651
+ originNoteId;
652
+ editorId;
653
+ editorGroupId;
654
+ parentId;
655
+ favorite;
656
+ snoozed;
657
+ size;
658
+ archived;
659
+ favoriteTagId;
660
+ _order;
635
661
  constructor(tenantIdCreated, sharingTags) {
636
662
  super(sharingTags);
637
663
  this.tenantIdCreated = tenantIdCreated;
@@ -639,15 +665,18 @@ class Search extends SharedPrimitive {
639
665
  this._order = 0;
640
666
  }
641
667
  }
642
- exports.Search = Search;
643
- exports.SyncQL = `
644
- type Sync {${exports.PrimitiveFields}
668
+ export const SyncQL = `
669
+ type Sync {${PrimitiveFields}
645
670
  providerRequest: ProviderRequest!
646
671
  enabled: Boolean!
647
672
  processingStage: String
648
673
  processingReason: String
649
674
  }`;
650
- class Sync extends Primitive {
675
+ export class Sync extends Primitive {
676
+ providerRequest;
677
+ enabled;
678
+ processingStage;
679
+ processingReason;
651
680
  constructor(tenantIdCreated, providerRequest) {
652
681
  super();
653
682
  this.tenantIdCreated = tenantIdCreated;
@@ -655,20 +684,19 @@ class Sync extends Primitive {
655
684
  this.enabled = true;
656
685
  }
657
686
  }
658
- exports.Sync = Sync;
659
- exports.DashboardTagSubscriptionQL = `
687
+ export const DashboardTagSubscriptionQL = `
660
688
  type DashboardTagSubscription {
661
689
  dashboardSubscriptions: [String]!
662
690
  tagType: String!
663
691
  }`;
664
- exports.ExternalIdQL = `
692
+ export const ExternalIdQL = `
665
693
  type ExternalId {
666
694
  label: String!
667
695
  tagType: TagType!
668
696
  tagSubType: String
669
697
  blockType: BlockType!
670
698
  }`;
671
- exports.ProviderApplicationQL = `
699
+ export const ProviderApplicationQL = `
672
700
  type ProviderApplication {
673
701
  name: String!
674
702
  label: String!
@@ -685,8 +713,8 @@ type ProviderApplication {
685
713
  authentication: Boolean!
686
714
  installed: Boolean
687
715
  }`;
688
- exports.ProviderQL = `
689
- type Provider {${exports.PrimitiveFields}
716
+ export const ProviderQL = `
717
+ type Provider {${PrimitiveFields}
690
718
  name: String!
691
719
  label: String!
692
720
  description: String!
@@ -698,7 +726,18 @@ type Provider {${exports.PrimitiveFields}
698
726
  dashboardMetadata: [DashboardMetadata]
699
727
  subscriptionPubSubType: String
700
728
  }`;
701
- class Provider extends Primitive {
729
+ export class Provider extends Primitive {
730
+ name;
731
+ label;
732
+ description;
733
+ iconUrl;
734
+ instanceUrl;
735
+ applications;
736
+ tableMetadata;
737
+ documentMetadata;
738
+ dashboardMetadata;
739
+ subscriptionPubSubType;
740
+ _tenantId;
702
741
  constructor(name, label, description, instanceUrl, applications) {
703
742
  super();
704
743
  this.name = name;
@@ -708,27 +747,28 @@ class Provider extends Primitive {
708
747
  this.applications = applications;
709
748
  }
710
749
  }
711
- exports.Provider = Provider;
712
- exports.TagTypeQL = `
750
+ export const TagTypeQL = `
713
751
  enum TagType {
752
+ ${TagType.Date.toUpperCase()}
753
+ ${TagType.Location.toUpperCase()}
714
754
  ${TagType.Organization.toUpperCase()}
715
755
  ${TagType.Person.toUpperCase()}
716
756
  ${TagType.Topic.toUpperCase()}
717
- ${TagType.Date.toUpperCase()}
757
+ ${TagType.Unknown.toUpperCase()}
718
758
  }`;
719
- exports.GraphTagQL = `
759
+ export const GraphTagQL = `
720
760
  type GraphTag {
721
761
  _id: String
722
762
  tagType: TagType
723
763
  alias: String
724
764
  count: Int
725
765
  }`;
726
- exports.GraphTagsInputQL = `
766
+ export const GraphTagsInputQL = `
727
767
  input GraphTagsInput {
728
768
  tagId: String!
729
769
  tagTypes: [TagType]!
730
770
  }`;
731
- exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
771
+ export const TagFieldsWithoutSharing = `${PrimitiveFields}
732
772
  alias: String!
733
773
  friendlyName: String
734
774
  tagType: String!
@@ -753,13 +793,48 @@ exports.TagFieldsWithoutSharing = `${exports.PrimitiveFields}
753
793
  hasAutoShareNotesOn: Boolean
754
794
  hasAutoShareTasksOn: Boolean
755
795
  taskCount: Int`;
756
- exports.TagFieldsJustSharing = `
796
+ export const TagFieldsJustSharing = `
757
797
  sharingDomains: [SharingDomain]
758
798
  sharingTenants: [SharingTenant]`;
759
- exports.TagQL = `
760
- type Tag {${exports.TagFieldsWithoutSharing}${exports.TagFieldsJustSharing}
761
- }`;
762
- class Tag extends Primitive {
799
+ export const TagQL = `
800
+ type Tag {${TagFieldsWithoutSharing}${TagFieldsJustSharing}
801
+ }`;
802
+ export class Tag extends Primitive {
803
+ alias;
804
+ tagType;
805
+ tagSubType; // This is currently used for external tags to help source from the correct tables
806
+ friendlyName;
807
+ sharingDomains; // The domains this tag is shared with plus domain settings for the tag
808
+ sharingTenants; // The tenants this tag is shared with plus tenant settings for the tag
809
+ tenantSettings; // The settings for individual tenants
810
+ url;
811
+ favicon;
812
+ dbpedia;
813
+ email;
814
+ avatar;
815
+ externalId; // This is used for external tags that match with records
816
+ inviteStatus;
817
+ tenantIdInvite;
818
+ originNoteId; // If the tag originated from a note, we store that here
819
+ tenantIdVerified; // The tenant._id that claimed/verified this tag as being them
820
+ archived;
821
+ private; // Indicates if the tag exists, but the user can't see it
822
+ favorite; // This is really a virtualized property
823
+ hasAutoShareNotesOn; // This is really a virtualized property
824
+ hasAutoShareTasksOn; // This is really a virtualized property
825
+ sharingLevel; // This is really a virtualized property
826
+ taskCount;
827
+ businessObjects; // The business objects that should be used to enrich the card view
828
+ externalIdLinks; // The external urls as per the apps the tenants have installed
829
+ _createdByAI;
830
+ _orphan;
831
+ _savedSearchId;
832
+ _inviteCode;
833
+ _dateInviteCodeExpires;
834
+ _avatarExists;
835
+ merged;
836
+ mergedWithTagId;
837
+ member;
763
838
  constructor(tenantIdCreated, alias, tagType) {
764
839
  super();
765
840
  this.tenantIdCreated = tenantIdCreated;
@@ -768,13 +843,12 @@ class Tag extends Primitive {
768
843
  this.archived = false;
769
844
  this.favorite = false;
770
845
  this._createdByAI = false;
771
- if (this.tagType == TagType.Person) {
846
+ if (this.tagType === TagType.Person) {
772
847
  this.inviteStatus = InviteStatus.NotInvited;
773
848
  }
774
849
  }
775
850
  }
776
- exports.Tag = Tag;
777
- exports.TagRecommendationQL = `
851
+ export const TagRecommendationQL = `
778
852
  type TagRecommendation {
779
853
  id: String!
780
854
  type: String!
@@ -782,15 +856,22 @@ type TagRecommendation {
782
856
  tags: [Tag]!
783
857
  entity: EntityEntry!
784
858
  }`;
785
- exports.TenantLightInputQL = `
859
+ export const TenantLightInputQL = `
786
860
  input TenantLightInput {
787
- _id: String!
861
+ _id: String!
788
862
  picture: String
789
863
  familyName: String
790
864
  givenName: String
791
865
  allowed: Boolean
792
866
  }`;
793
- exports.TenantLightQL = `
867
+ export class TenantLightInput {
868
+ _id;
869
+ picture;
870
+ familyName;
871
+ givenName;
872
+ allowed;
873
+ }
874
+ export const TenantLightQL = `
794
875
  type TenantLight {
795
876
  _id: String!
796
877
  domainMemberships: [String]!
@@ -802,7 +883,16 @@ type TenantLight {
802
883
  allowed: Boolean
803
884
  access: String
804
885
  }`;
805
- class TenantLight {
886
+ export class TenantLight {
887
+ _id;
888
+ domainMemberships;
889
+ email;
890
+ tagId;
891
+ picture;
892
+ familyName;
893
+ givenName;
894
+ allowed;
895
+ access;
806
896
  constructor(tenant) {
807
897
  this._id = tenant._id;
808
898
  this.domainMemberships = tenant.domainMemberships;
@@ -815,7 +905,6 @@ class TenantLight {
815
905
  this.access = tenant.access;
816
906
  }
817
907
  }
818
- exports.TenantLight = TenantLight;
819
908
  // We make recommendations/notifications for a variety of reasons
820
909
  // - Recommend integrating calendar based on dates in the note
821
910
  // - Recommend integrating salesforce based on links in the note
@@ -827,7 +916,7 @@ exports.TenantLight = TenantLight;
827
916
  // should not repeat - equally - should be ignored if we say we don't want to do it and ideally not re-appear
828
917
  // if the user x's it out. In addition, some recommendation/notifications are scoped to the user while others
829
918
  // are global to anyone who can see it any should only be done once
830
- exports.ConnectRecommendationQL = `
919
+ export const ConnectRecommendationQL = `
831
920
  type ConnectRecommendation {
832
921
  tagType: String
833
922
  linkUrl: String
@@ -835,17 +924,17 @@ type ConnectRecommendation {
835
924
  providerResponse: ProviderResponse
836
925
  providerInfo: ProviderInfo!
837
926
  }`;
838
- exports.ReactionRecommendationQL = `
927
+ export const ReactionRecommendationQL = `
839
928
  type ReactionRecommendation {
840
929
  reaction: Reaction!
841
930
  tenant: TenantLight!
842
931
  }`;
843
- exports.ChangeRecommendationQL = `
932
+ export const ChangeRecommendationQL = `
844
933
  type ChangeRecommendation {
845
934
  status: String
846
935
  tenant: TenantLight!
847
936
  }`;
848
- exports.UpsertRecommendationQL = `
937
+ export const UpsertRecommendationQL = `
849
938
  type UpsertRecommendation {
850
939
  table: Table
851
940
  document: Document
@@ -855,28 +944,28 @@ type UpsertRecommendation {
855
944
  connectionId: String!
856
945
  rangeText: String
857
946
  }`;
858
- exports.ShareRecommendationQL = `
947
+ export const ShareRecommendationQL = `
859
948
  type ShareRecommendation {
860
949
  shared: Boolean!
861
950
  tenant: TenantLight!
862
951
  }`;
863
- exports.IngestionRecommendationQL = `
952
+ export const IngestionRecommendationQL = `
864
953
  type IngestionRecommendation {
865
954
  processingStage: String!
866
955
  processingAttempts: Int!
867
956
  processingReason: String
868
957
  tenant: TenantLight!
869
958
  }`;
870
- exports.MessageRecommendationQL = `
959
+ export const MessageRecommendationQL = `
871
960
  type MessageRecommendation {
872
961
  tenant: TenantLight!
873
962
  }`;
874
- exports.NotificationRecommendationQL = `
963
+ export const NotificationRecommendationQL = `
875
964
  type NotificationRecommendation {
876
965
  dashboard: Dashboard!
877
966
  }`;
878
- exports.RecommendationQL = `
879
- type Recommendation {${exports.SharedPrimitiveFields}
967
+ export const RecommendationQL = `
968
+ type Recommendation {${SharedPrimitiveFields}
880
969
  referenceBlock: ReferenceBlock
881
970
  recommendationType: String!
882
971
  connectRecommendation: ConnectRecommendation
@@ -897,7 +986,26 @@ type Recommendation {${exports.SharedPrimitiveFields}
897
986
  comment: String
898
987
  status: String
899
988
  }`;
900
- class Recommendation extends SharedPrimitive {
989
+ export class Recommendation extends SharedPrimitive {
990
+ referenceBlock; // This is the block that caused the recommendation to happen
991
+ recommendationType;
992
+ connectRecommendation; // For provider recommendations, we use this field
993
+ upsertRecommendation; // For data upsert recommendations, we use this field
994
+ shareRecommendation; // For instances when a block is shared with a tenant
995
+ messageRecommendation; // For instances when a message is shared
996
+ notificationRecommendation; // For instances where the app wants to tell us something
997
+ reactionRecommendation; // For recommendations that are related to emoji
998
+ changeRecommendation; // Something changed for a block that is noteworthy
999
+ ingestionRecommendation; // Used to let the user know something has been ingested
1000
+ parentId; // Any parent recommendation that generated this recommendation
1001
+ dateDue;
1002
+ dateRemindMe;
1003
+ archived;
1004
+ favorite;
1005
+ snoozed;
1006
+ thumbs; // Added so we can get some basic feedback on recommendations
1007
+ comment; // Added likely just for the private beta, but perhaps longer!
1008
+ status;
901
1009
  constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
902
1010
  // For the sharing tags, we do it a little differently depending on the global nature of the recommendation. If theirs
903
1011
  // a recommendation for each tenant, the sharing tags should just include the tenant. Otherwise the sharing tags should
@@ -913,9 +1021,8 @@ class Recommendation extends SharedPrimitive {
913
1021
  this.status = TaskStatus.NotStarted;
914
1022
  }
915
1023
  }
916
- exports.Recommendation = Recommendation;
917
- exports.TenantQL = `
918
- type Tenant {${exports.PrimitiveFields}
1024
+ export const TenantQL = `
1025
+ type Tenant {${PrimitiveFields}
919
1026
  domainMemberships: [String]!
920
1027
  email: String!
921
1028
  tagId: String!
@@ -924,7 +1031,21 @@ type Tenant {${exports.PrimitiveFields}
924
1031
  givenName: String
925
1032
  allowed: Boolean!
926
1033
  }`;
927
- class Tenant extends Primitive {
1034
+ export class Tenant extends Primitive {
1035
+ domainMemberships; // The list of all domains this tenant belongs
1036
+ email;
1037
+ emailVerified;
1038
+ domainIdEmail; // The domain for which the tenant is a member because of their email
1039
+ tagId;
1040
+ picture;
1041
+ familyName;
1042
+ givenName;
1043
+ connectedProviders;
1044
+ accessToken;
1045
+ allowed; // Used to indicate if this user is allowed to access the application TODO take this out after private beta
1046
+ access; // Optional flag to indicate the access level to a note - used currently for the Yjs integration
1047
+ accessTokens;
1048
+ _managedByTenant;
928
1049
  constructor(domainMemberships, email, emailVerified, domainIdEmail, tagId) {
929
1050
  super();
930
1051
  this.domainMemberships = domainMemberships;
@@ -934,34 +1055,39 @@ class Tenant extends Primitive {
934
1055
  this.tagId = tagId;
935
1056
  this.allowed = false;
936
1057
  }
1058
+ get emailName() {
1059
+ if (this.givenName && this.givenName.trim().length > 0) {
1060
+ return this.givenName;
1061
+ }
1062
+ return this.email.split('@')[0];
1063
+ }
937
1064
  }
938
- exports.Tenant = Tenant;
939
- exports.DomainQL = `
940
- type Domain {${exports.PrimitiveFields}
1065
+ export const DomainQL = `
1066
+ type Domain {${PrimitiveFields}
941
1067
  domain: String!
942
1068
  member: Boolean!
943
1069
  }`;
944
- class Domain extends Primitive {
1070
+ export class Domain extends Primitive {
1071
+ domain;
1072
+ member;
1073
+ isPublic;
945
1074
  constructor(domain, isPublic) {
946
1075
  super();
947
1076
  this.domain = domain;
948
1077
  this.isPublic = isPublic;
949
1078
  }
950
1079
  }
951
- exports.Domain = Domain;
952
- class Organization extends Tag {
1080
+ export class Organization extends Tag {
953
1081
  constructor(tenantIdCreated, alias) {
954
1082
  super(tenantIdCreated, alias, TagType.Organization);
955
1083
  }
956
1084
  }
957
- exports.Organization = Organization;
958
- class Person extends Tag {
1085
+ export class Person extends Tag {
959
1086
  constructor(tenantIdCreated, alias) {
960
1087
  super(tenantIdCreated, alias, TagType.Person);
961
1088
  }
962
1089
  }
963
- exports.Person = Person;
964
- exports.BlockFields = `${exports.SharedPrimitiveFields}
1090
+ export const BlockFields = `${SharedPrimitiveFields}
965
1091
  editors: [Editor]!
966
1092
  blockType: String!
967
1093
  document: String
@@ -979,7 +1105,7 @@ exports.BlockFields = `${exports.SharedPrimitiveFields}
979
1105
  parentId: String
980
1106
  originReferenceBlock: ReferenceBlock
981
1107
  reactions: [Reaction]`;
982
- exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
1108
+ export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
983
1109
  status: String
984
1110
  dateDue: Float
985
1111
  dateRemindMe: Float
@@ -989,10 +1115,54 @@ exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
989
1115
  snoozed: Boolean
990
1116
  parentId: String
991
1117
  document: String`;
992
- exports.BlockQL = `
993
- type Block {${exports.BlockFields}
994
- }`;
995
- class Block extends SharedPrimitive {
1118
+ export const BlockQL = `
1119
+ type Block {${BlockFields}
1120
+ }`;
1121
+ export class Block extends SharedPrimitive {
1122
+ editors;
1123
+ blockType;
1124
+ // The document that represents the content of the block
1125
+ // biome-ignore lint/suspicious/noExplicitAny: <explanation>
1126
+ document;
1127
+ // Graph properties that help us find the block
1128
+ _embedding;
1129
+ dates;
1130
+ locations;
1131
+ emails;
1132
+ businessObjects;
1133
+ // The various binary states
1134
+ archived;
1135
+ snoozed;
1136
+ // A virtualized binary state by tenant
1137
+ favorite;
1138
+ _favorite;
1139
+ // Tasky things about the block
1140
+ dateDue;
1141
+ dateRemindMe;
1142
+ status;
1143
+ _dateDueUserAssigned;
1144
+ // Stuff to associate blocks with calendar items manually
1145
+ dateAssociated;
1146
+ // Editor informatino about teh block
1147
+ editorId;
1148
+ editorGroupId;
1149
+ // Relationship information about the block
1150
+ parentId;
1151
+ originReferenceBlock;
1152
+ // Stuff to help manage the pipeline and search
1153
+ _timeZone;
1154
+ _locale;
1155
+ _empty;
1156
+ // Internal intelligence stuff
1157
+ _tagRecommendations;
1158
+ _entitiesPerson;
1159
+ _entitiesOrganization;
1160
+ _entitiesTopic;
1161
+ _emails;
1162
+ // A search field to help with relevancy
1163
+ score;
1164
+ // Social stuff
1165
+ reactions;
996
1166
  constructor(tenantIdCreated, editors, sharingTags, blockType) {
997
1167
  super(sharingTags);
998
1168
  this.tenantIdCreated = tenantIdCreated;
@@ -1006,20 +1176,32 @@ class Block extends SharedPrimitive {
1006
1176
  this._empty = false;
1007
1177
  }
1008
1178
  }
1009
- exports.Block = Block;
1010
- class BlockProcessingRequest {
1179
+ export class BlockProcessingRequest {
1180
+ referenceBlock;
1011
1181
  constructor(referenceBlock) {
1012
1182
  this.referenceBlock = referenceBlock;
1013
1183
  }
1014
1184
  }
1015
- exports.BlockProcessingRequest = BlockProcessingRequest;
1016
- class BlockProcessingResponse {
1185
+ export class BlockProcessingResponse {
1186
+ referenceBlock;
1017
1187
  constructor(referenceBlock) {
1018
1188
  this.referenceBlock = referenceBlock;
1019
1189
  }
1020
1190
  }
1021
- exports.BlockProcessingResponse = BlockProcessingResponse;
1022
- class BusinessObjectIngestionRequest extends Primitive {
1191
+ export class BusinessObjectIngestionRequest extends Primitive {
1192
+ referenceBlock; // A reference to the block created/updated by this ingestion
1193
+ subscribingProviderApplication;
1194
+ provider; // A unique string representing the provider e.g. "salesforce", "atlassian", etc
1195
+ application; // A unique string representing the provider application e.g. "service", "jira", etc
1196
+ uri; // A uri to locate the specific instance of the business object
1197
+ processingStage; // Indicates if the business object has been processed yet
1198
+ processingAttempts; // Indicates the number of attempts made to process this business object
1199
+ processingReason; // The reason the processing is at this stage
1200
+ dateProcessed; // The date this document was last processed
1201
+ dateToProcess; // The date this ingestion should be processed - default is now
1202
+ originReferenceBlock; // The block that this request originally came from (though the ingestion may be referenced from many future blocks)
1203
+ callbackId; // A callback id that can be used for async requests
1204
+ businessObject; // The ingested business object - used for async request callbacks
1023
1205
  constructor(tenantIdCreated, originReferenceBlock, uri) {
1024
1206
  super();
1025
1207
  this.tenantIdCreated = tenantIdCreated;
@@ -1031,8 +1213,7 @@ class BusinessObjectIngestionRequest extends Primitive {
1031
1213
  this.dateToProcess = Date.now();
1032
1214
  }
1033
1215
  }
1034
- exports.BusinessObjectIngestionRequest = BusinessObjectIngestionRequest;
1035
- exports.BusinessObjectFields = `${exports.BlockFields}
1216
+ export const BusinessObjectFields = `${BlockFields}
1036
1217
  provider: String!
1037
1218
  application: String!
1038
1219
  uri: String!
@@ -1042,14 +1223,21 @@ exports.BusinessObjectFields = `${exports.BlockFields}
1042
1223
  externalId: String!
1043
1224
  processingReason: String
1044
1225
  iconUrl: String`;
1045
- exports.BusinessObjectFieldsForUpsert = `${exports.BlockFieldsForUpsert}
1226
+ export const BusinessObjectFieldsForUpsert = `${BlockFieldsForUpsert}
1046
1227
  provider: String!
1047
1228
  application: String!
1048
- uri: String!`;
1049
- exports.BusinessObjectQL = `
1050
- type BusinessObject {${exports.BusinessObjectFields}
1051
- }`;
1052
- class BusinessObject extends Block {
1229
+ externalId: String
1230
+ uri: String`;
1231
+ export const BusinessObjectQL = `
1232
+ type BusinessObject {${BusinessObjectFields}
1233
+ }`;
1234
+ export class BusinessObject extends Block {
1235
+ provider; // A unique string representing the provider e.g. "salesforce", "atlassian", etc
1236
+ application; // A unique string representing the provider application e.g. "service", "jira", etc
1237
+ uri; // A uri to locate the specific instance of the business object
1238
+ externalId; // An external identifier that can help us match the records
1239
+ iconUrl; // The url of an icon that represents the business object
1240
+ externalResponse; // The response from the external application as a JSON string
1053
1241
  constructor(tenantIdCreated, editors, sharingTags, blockType, provider, application, uri, externalId) {
1054
1242
  super(tenantIdCreated, editors, sharingTags, blockType);
1055
1243
  this.archived = false;
@@ -1059,27 +1247,24 @@ class BusinessObject extends Block {
1059
1247
  this.externalId = externalId;
1060
1248
  }
1061
1249
  }
1062
- exports.BusinessObject = BusinessObject;
1063
- class Section extends Block {
1250
+ export class Section extends Block {
1064
1251
  constructor(id) {
1065
1252
  super('', [], [], BlockType.Section);
1066
1253
  this._id = id;
1067
1254
  }
1068
1255
  }
1069
- exports.Section = Section;
1070
- exports.NoteQL = `
1071
- type Note {${exports.BlockFields}
1256
+ export const NoteQL = `
1257
+ type Note {${BlockFields}
1072
1258
  }`;
1073
- class Note extends Block {
1259
+ export class Note extends Block {
1074
1260
  constructor(tenantIdCreated, editors, sharingTags) {
1075
1261
  super(tenantIdCreated, editors, sharingTags, BlockType.Note);
1076
1262
  }
1077
1263
  }
1078
- exports.Note = Note;
1079
- exports.TaskQL = `
1080
- type Task {${exports.BlockFields}
1264
+ export const TaskQL = `
1265
+ type Task {${BlockFields}
1081
1266
  }`;
1082
- class Task extends Block {
1267
+ export class Task extends Block {
1083
1268
  constructor(tenantIdCreated, editors, sharingTags) {
1084
1269
  super(tenantIdCreated, editors, sharingTags, BlockType.Task);
1085
1270
  this.status = TaskStatus.NotStarted;
@@ -1088,7 +1273,6 @@ class Task extends Block {
1088
1273
  this._dateDueUserAssigned = false;
1089
1274
  }
1090
1275
  }
1091
- exports.Task = Task;
1092
1276
  // CORE END
1093
1277
  /*
1094
1278
  These are the business objects we explicitly support and have a standardized description
@@ -1097,8 +1281,8 @@ regardless of underpinning system.
1097
1281
  */
1098
1282
  // BUSINESS OBJECTS START
1099
1283
  //// CONFERENCE START
1100
- exports.IngestTranscriptionInputQL = `
1101
- input IngestTranscriptionInput {${exports.BusinessObjectFieldsForUpsert}
1284
+ export const IngestTranscriptionInputQL = `
1285
+ input IngestTranscriptionInput {${BusinessObjectFieldsForUpsert}
1102
1286
  title: String
1103
1287
  startTime: Float
1104
1288
  duration: Float
@@ -1107,58 +1291,88 @@ input IngestTranscriptionInput {${exports.BusinessObjectFieldsForUpsert}
1107
1291
  meetingUrl: String
1108
1292
  recordingUrl: String
1109
1293
  transcriptionUrl: String
1110
- attendees: [PersonReferenceInput]
1111
- tasks: [UpsertTaskInput]
1294
+ attendees: [PersonReferenceInput]! = []
1295
+ tasks: [IngestTodoInput]! = []
1296
+ transcript: [TranscriptPartInput]! = []
1112
1297
  }`;
1113
- exports.TranscriptionQL = `
1114
- type Transcription {${exports.BusinessObjectFields}
1298
+ export const TranscriptionQL = `
1299
+ type Transcription {${BusinessObjectFields}
1115
1300
  title: String
1116
1301
  startTime: Float
1117
1302
  duration: Float
1118
- htmlSummary: String
1119
- rawText: String
1303
+ htmlSummary: String
1304
+ rawText: String
1120
1305
  meetingUrl: String
1121
1306
  recordingUrl: String
1122
1307
  transcriptionUrl: String
1123
- attendees: [PersonReference]
1124
- tasks: [Task]
1125
- }`;
1126
- class Transcription extends BusinessObject {
1308
+ attendees: [PersonReference]!
1309
+ todos: [Todo]!
1310
+ transcript: [TranscriptPart]!
1311
+ }`;
1312
+ export class Transcription extends BusinessObject {
1313
+ title;
1314
+ startTime;
1315
+ duration;
1316
+ htmlSummary;
1317
+ rawText;
1318
+ meetingUrl;
1319
+ recordingUrl;
1320
+ transcriptionUrl;
1321
+ attendees = [];
1322
+ todos = [];
1323
+ transcript = [];
1127
1324
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1128
1325
  super(tenantIdCreated, editors, sharingTags, BlockType.Transcription, provider, application, uri, externalId);
1129
1326
  }
1130
1327
  }
1131
- exports.Transcription = Transcription;
1132
- exports.ConferenceEntrypointQL = `
1328
+ export const TranscriptPartBaseFields = `
1329
+ startTime: Float!
1330
+ endTime: Float!
1331
+ text: String!`;
1332
+ export const TranscriptPartQL = `
1333
+ type TranscriptPart {
1334
+ ${TranscriptPartBaseFields}
1335
+ id: String!
1336
+ parts: [TranscriptPart]
1337
+ speakerId: String
1338
+ }`;
1339
+ export const TranscriptPartInputQL = `
1340
+ input TranscriptPartInput {
1341
+ ${TranscriptPartBaseFields}
1342
+ id: String!
1343
+ parts: [TranscriptPartInput] = []
1344
+ speakerId: String
1345
+ }`;
1346
+ export const ConferenceEntrypointQL = `
1133
1347
  type ConferenceEntrypoint {
1134
1348
  url: String
1135
1349
  meetingCode: String
1136
1350
  }`;
1137
- exports.ConferenceQL = `
1351
+ export const ConferenceQL = `
1138
1352
  type Conference {
1139
1353
  entryPoints: [ConferenceEntrypoint]
1140
1354
  transcription: Transcription
1141
1355
  }`;
1142
1356
  //// CONFERENCE END
1143
1357
  //// EVENT START
1144
- var EventStatus;
1358
+ export var EventStatus;
1145
1359
  (function (EventStatus) {
1146
1360
  EventStatus["Confirmed"] = "confirmed";
1147
1361
  EventStatus["Tentative"] = "tentative";
1148
1362
  EventStatus["Cancelled"] = "cancelled";
1149
- })(EventStatus || (exports.EventStatus = EventStatus = {}));
1150
- var ResponseStatus;
1363
+ })(EventStatus || (EventStatus = {}));
1364
+ export var ResponseStatus;
1151
1365
  (function (ResponseStatus) {
1152
1366
  ResponseStatus["NeedsAction"] = "needsAction";
1153
1367
  ResponseStatus["Declined"] = "declined";
1154
1368
  ResponseStatus["Tentative"] = "tentative";
1155
1369
  ResponseStatus["Accepted"] = "accepted";
1156
- })(ResponseStatus || (exports.ResponseStatus = ResponseStatus = {}));
1157
- exports.PersonAcceptanceQL = `
1158
- type PersonAcceptance {${exports.PersonReferenceFields}
1370
+ })(ResponseStatus || (ResponseStatus = {}));
1371
+ export const PersonAcceptanceQL = `
1372
+ type PersonAcceptance {${PersonReferenceFields}
1159
1373
  responseStatus: String!
1160
1374
  }`;
1161
- exports.AttachmentInputQL = `
1375
+ export const AttachmentInputQL = `
1162
1376
  input AttachmentInput {
1163
1377
  externalId: String!
1164
1378
  url: String!
@@ -1166,7 +1380,7 @@ input AttachmentInput {
1166
1380
  mimeType: String
1167
1381
  title: String
1168
1382
  }`;
1169
- exports.AttachmentQL = `
1383
+ export const AttachmentQL = `
1170
1384
  type Attachment {
1171
1385
  externalId: String!
1172
1386
  url: String!
@@ -1174,8 +1388,8 @@ type Attachment {
1174
1388
  mimeType: String
1175
1389
  title: String
1176
1390
  }`;
1177
- exports.EventQL = `
1178
- type Event {${exports.BusinessObjectFields}
1391
+ export const EventQL = `
1392
+ type Event {${BusinessObjectFields}
1179
1393
  calendarId: String!
1180
1394
  eventStatus: String!
1181
1395
  dateStart: Float!
@@ -1189,7 +1403,20 @@ type Event {${exports.BusinessObjectFields}
1189
1403
  attendees: [PersonAcceptance]
1190
1404
  conference: Conference
1191
1405
  }`;
1192
- class Event extends BusinessObject {
1406
+ export class Event extends BusinessObject {
1407
+ calendarId;
1408
+ eventStatus;
1409
+ dateStart;
1410
+ organizedBy;
1411
+ location;
1412
+ dateStartOriginal;
1413
+ recurrence;
1414
+ dateEnd;
1415
+ subject;
1416
+ description;
1417
+ attendees;
1418
+ conference;
1419
+ attachments;
1193
1420
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, calendarId, eventStatus, dateStart, organizedBy) {
1194
1421
  super(tenantIdCreated, editors, sharingTags, BlockType.Event, provider, application, uri, externalId);
1195
1422
  this.calendarId = calendarId;
@@ -1198,35 +1425,45 @@ class Event extends BusinessObject {
1198
1425
  this.organizedBy = organizedBy;
1199
1426
  }
1200
1427
  }
1201
- exports.Event = Event;
1202
- exports.CalendarQL = `
1203
- type Calendar {${exports.BusinessObjectFields}
1428
+ export const CalendarQL = `
1429
+ type Calendar {${BusinessObjectFields}
1204
1430
  timeZone: String!
1205
1431
  description: String
1206
1432
  location: String
1207
1433
  events: [Event]
1208
1434
  }`;
1209
- class Calendar extends BusinessObject {
1435
+ export class Calendar extends BusinessObject {
1436
+ timeZone;
1437
+ description;
1438
+ location;
1439
+ events;
1210
1440
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, timeZone) {
1211
1441
  super(tenantIdCreated, editors, sharingTags, BlockType.Calendar, provider, application, uri, externalId);
1212
1442
  this.timeZone = timeZone;
1213
1443
  }
1214
1444
  }
1215
- exports.Calendar = Calendar;
1216
1445
  //// EVENT END
1217
1446
  //// EXTERNAL TASK START
1218
- class Todo extends BusinessObject {
1447
+ export const IngestTodoInputQL = `
1448
+ input IngestTodoInput {${BlockFieldsForUpsert}
1449
+ htmlContent: String
1450
+ }`;
1451
+ export const TodoQL = `
1452
+ type Todo {${BusinessObjectFields}
1453
+ htmlContent: String
1454
+ }`;
1455
+ export class Todo extends BusinessObject {
1456
+ htmlContent;
1219
1457
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, status, dateDue) {
1220
1458
  super(tenantIdCreated, editors, sharingTags, BlockType.Todo, provider, application, uri, externalId);
1221
1459
  this.status = status;
1222
1460
  this.dateDue = dateDue;
1223
1461
  }
1224
1462
  }
1225
- exports.Todo = Todo;
1226
1463
  //// EXTERNAL TASK END
1227
1464
  //// EMAIL START
1228
- exports.IngestEmailInputQL = `
1229
- input IngestEmailInput {${exports.BlockFieldsForUpsert}
1465
+ export const IngestEmailInputQL = `
1466
+ input IngestEmailInput {${BlockFieldsForUpsert}
1230
1467
  to: [PersonReferenceInput]
1231
1468
  cc: [PersonReferenceInput]
1232
1469
  bcc: [PersonReferenceInput]
@@ -1237,8 +1474,8 @@ input IngestEmailInput {${exports.BlockFieldsForUpsert}
1237
1474
  textContent: String
1238
1475
  createBlockType: String
1239
1476
  }`;
1240
- exports.EmailQL = `
1241
- type Email {${exports.BusinessObjectFields}
1477
+ export const EmailQL = `
1478
+ type Email {${BusinessObjectFields}
1242
1479
  to: [PersonReference]
1243
1480
  cc: [PersonReference]
1244
1481
  bcc: [PersonReference]
@@ -1248,51 +1485,66 @@ type Email {${exports.BusinessObjectFields}
1248
1485
  htmlContent: String
1249
1486
  textContent: String
1250
1487
  }`;
1251
- class Email extends BusinessObject {
1488
+ export class Email extends BusinessObject {
1489
+ to;
1490
+ cc;
1491
+ bcc;
1492
+ from;
1493
+ subject;
1494
+ attachments;
1495
+ htmlContent;
1496
+ textContent;
1497
+ createBlockType;
1252
1498
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1253
1499
  super(tenantIdCreated, editors, sharingTags, BlockType.Email, provider, application, uri, externalId);
1254
1500
  }
1255
1501
  }
1256
- exports.Email = Email;
1257
1502
  //// EMAIL END
1258
1503
  //// MESSAGING START
1259
- exports.UpsertMessageInputQL = `
1260
- input UpsertMessageInput {${exports.BlockFieldsForUpsert}
1504
+ export const UpsertMessageInputQL = `
1505
+ input UpsertMessageInput {${BlockFieldsForUpsert}
1261
1506
  htmlContent: String
1262
1507
  originReferenceTagId: String
1263
1508
  originReferenceBlock: ReferenceBlockInput
1264
1509
  }`;
1265
- exports.MessageQL = `
1266
- type Message {${exports.BusinessObjectFields}
1510
+ export const MessageQL = `
1511
+ type Message {${BusinessObjectFields}
1267
1512
  htmlContent: String
1268
1513
  originReferenceTagId: String
1269
1514
  }`;
1270
- class Message extends BusinessObject {
1515
+ export class Message extends BusinessObject {
1516
+ htmlContent;
1517
+ // Reference information - use the originReferenceBlockId for block comments
1518
+ // Use the parentId to determine if this is a message under a message
1519
+ originReferenceTagId;
1271
1520
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1272
1521
  super(tenantIdCreated, editors, sharingTags, BlockType.Message, provider, application, uri, externalId);
1273
1522
  }
1274
1523
  }
1275
- exports.Message = Message;
1276
1524
  //// MESSAGING END
1277
1525
  //// DOCUMENT START
1278
- exports.DocumentFields = `${exports.BusinessObjectFields}
1526
+ export const DocumentFields = `${BusinessObjectFields}
1279
1527
  title: String
1280
1528
  description: String
1281
1529
  previewImage: String
1282
1530
  htmlContent: String
1283
1531
  metadataType: String`;
1284
- exports.DocumentQL = `
1285
- type Document {${exports.DocumentFields}
1286
- }`;
1287
- class Document extends BusinessObject {
1532
+ export const DocumentQL = `
1533
+ type Document {${DocumentFields}
1534
+ }`;
1535
+ export class Document extends BusinessObject {
1536
+ title;
1537
+ description;
1538
+ previewImage;
1539
+ htmlContent;
1540
+ metadataType;
1288
1541
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1289
1542
  super(tenantIdCreated, editors, sharingTags, BlockType.Document, provider, application, uri, externalId);
1290
1543
  }
1291
1544
  }
1292
- exports.Document = Document;
1293
1545
  //// DOCUMENT END
1294
1546
  //// DASHBOARD START
1295
- exports.BlockDataQL = `
1547
+ export const BlockDataQL = `
1296
1548
  type BlockData {
1297
1549
  _id: String!
1298
1550
  dateCreated: Float
@@ -1306,20 +1558,30 @@ type BlockData {
1306
1558
  tagType: String
1307
1559
  search: GraphSearch
1308
1560
  }`;
1309
- class BlockData extends Primitive {
1561
+ export class BlockData extends Primitive {
1562
+ name;
1563
+ blockType;
1564
+ title;
1565
+ document;
1566
+ htmlContent;
1567
+ metadataType;
1568
+ tagType;
1569
+ search;
1310
1570
  constructor(name) {
1311
1571
  super();
1312
1572
  this.name = name;
1313
1573
  }
1314
1574
  }
1315
- exports.BlockData = BlockData;
1316
- exports.DashboardQL = `
1317
- type Dashboard {${exports.BusinessObjectFields}
1575
+ export const DashboardQL = `
1576
+ type Dashboard {${BusinessObjectFields}
1318
1577
  metadata: DashboardMetadata
1319
1578
  blockData: [BlockData]
1320
1579
  tagId: String
1321
1580
  }`;
1322
- class Dashboard extends BusinessObject {
1581
+ export class Dashboard extends BusinessObject {
1582
+ metadata;
1583
+ blockData;
1584
+ tagId;
1323
1585
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, dashboardMetadata, tagId) {
1324
1586
  super(tenantIdCreated, editors, sharingTags, BlockType.Dashboard, provider, application, uri, externalId);
1325
1587
  this.tagId = tagId;
@@ -1336,27 +1598,29 @@ class Dashboard extends BusinessObject {
1336
1598
  this.metadata = dashboardMetadata;
1337
1599
  }
1338
1600
  }
1339
- exports.Dashboard = Dashboard;
1340
1601
  //// DASHBOARD END
1341
1602
  //// WEBSITE START
1342
- exports.WebsiteQL = `
1343
- type Website {${exports.BusinessObjectFields}
1603
+ export const WebsiteQL = `
1604
+ type Website {${BusinessObjectFields}
1344
1605
  title: String
1345
1606
  description: String
1346
1607
  bannerImage: String
1347
1608
  htmlContent: String
1348
1609
  }`;
1349
- class Website extends BusinessObject {
1610
+ export class Website extends BusinessObject {
1611
+ title;
1612
+ description;
1613
+ bannerImage;
1614
+ htmlContent;
1350
1615
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1351
1616
  super(tenantIdCreated, editors, sharingTags, BlockType.Website, provider, application, uri, externalId);
1352
1617
  }
1353
1618
  }
1354
- exports.Website = Website;
1355
1619
  //// WEBSITE END
1356
1620
  // BUSINESS OBJECTS END
1357
1621
  // METADATA OBJECTS START
1358
1622
  //// FOR DOCUMENTS START
1359
- exports.BlockDescriptionQL = `
1623
+ export const BlockDescriptionQL = `
1360
1624
  type BlockDescription {
1361
1625
  title: String
1362
1626
  name: String!
@@ -1365,51 +1629,53 @@ type BlockDescription {
1365
1629
  metadataType: String
1366
1630
  tagType: String
1367
1631
  }`;
1368
- exports.DocumentMetadataQL = `
1369
- type DocumentMetadata {${exports.MetadataFields}
1632
+ export const DocumentMetadataQL = `
1633
+ type DocumentMetadata {${MetadataFields}
1370
1634
  blockDescriptions: [BlockDescription]!
1371
1635
  exportTypes: [String]
1372
1636
  }`;
1373
- class DocumentMetadata extends Metadata {
1637
+ export class DocumentMetadata extends Metadata {
1638
+ blockDescriptions;
1639
+ exportTypes; // What export types this document metadata should be used for
1374
1640
  constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
1375
1641
  super(label, description, metadataType, classifiers, threshold);
1376
1642
  this.blockDescriptions = blockDescriptions;
1377
1643
  }
1378
1644
  }
1379
- exports.DocumentMetadata = DocumentMetadata;
1380
- exports.DashboardMetadataQL = `
1381
- type DashboardMetadata {${exports.MetadataFields}
1645
+ export const DashboardMetadataQL = `
1646
+ type DashboardMetadata {${MetadataFields}
1382
1647
  blockDescriptions: [BlockDescription]!
1383
1648
  notificationMetadataTypes: [String]!
1384
1649
  }`;
1385
- class DashboardMetadata extends Metadata {
1650
+ export class DashboardMetadata extends Metadata {
1651
+ blockDescriptions;
1652
+ notificationMetadataTypes;
1386
1653
  constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
1387
1654
  super(label, description, metadataType, classifiers, threshold);
1388
1655
  this.blockDescriptions = blockDescriptions;
1389
1656
  this.notificationMetadataTypes = [];
1390
1657
  }
1391
1658
  }
1392
- exports.DashboardMetadata = DashboardMetadata;
1393
- exports.TemplateQL = `
1394
- type Template {${exports.BusinessObjectFields}
1659
+ export const TemplateQL = `
1660
+ type Template {${BusinessObjectFields}
1395
1661
  metadata: DocumentMetadata
1396
1662
  }`;
1397
- class Template extends BusinessObject {
1663
+ export class Template extends BusinessObject {
1664
+ metadata;
1398
1665
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1399
1666
  super(tenantIdCreated, editors, sharingTags, BlockType.Template, provider, application, uri, externalId);
1400
1667
  }
1401
1668
  }
1402
- exports.Template = Template;
1403
1669
  //// FOR DOCUMENTS END
1404
1670
  //// FOR RECORDS START
1405
- var FieldType;
1671
+ export var FieldType;
1406
1672
  (function (FieldType) {
1407
1673
  FieldType["Text"] = "input";
1408
1674
  FieldType["Select"] = "select";
1409
1675
  FieldType["Checkbox"] = "checkbox";
1410
1676
  FieldType["Lookup"] = "lookup";
1411
- })(FieldType || (exports.FieldType = FieldType = {}));
1412
- var FieldVariation;
1677
+ })(FieldType || (FieldType = {}));
1678
+ export var FieldVariation;
1413
1679
  (function (FieldVariation) {
1414
1680
  FieldVariation["Multi"] = "multi";
1415
1681
  FieldVariation["Password"] = "password";
@@ -1419,15 +1685,15 @@ var FieldVariation;
1419
1685
  FieldVariation["DateTime"] = "datetime";
1420
1686
  FieldVariation["Phone"] = "phone";
1421
1687
  FieldVariation["Url"] = "url";
1422
- })(FieldVariation || (exports.FieldVariation = FieldVariation = {}));
1423
- exports.OptionQL = `
1688
+ })(FieldVariation || (FieldVariation = {}));
1689
+ export const OptionQL = `
1424
1690
  type Option {
1425
1691
  label: String!
1426
1692
  value: String!
1427
1693
  status: String
1428
1694
  priority: String
1429
1695
  }`;
1430
- exports.FieldQL = `
1696
+ export const FieldQL = `
1431
1697
  type Field {
1432
1698
  label: String!
1433
1699
  name: String!
@@ -1443,111 +1709,119 @@ type Field {
1443
1709
  readOnly: Boolean!
1444
1710
  options: [Option]
1445
1711
  }`;
1446
- exports.FieldValueInputQL = `
1712
+ export const FieldValueInputQL = `
1447
1713
  input FieldValueInput {
1448
1714
  name: String!
1449
1715
  value: String
1450
1716
  id: String
1451
1717
  changed: Boolean
1452
1718
  }`;
1453
- exports.FieldValueQL = `
1719
+ export const FieldValueQL = `
1454
1720
  type FieldValue {
1455
1721
  name: String!
1456
1722
  value: String
1457
1723
  id: String
1458
1724
  changed: Boolean
1459
1725
  }`;
1460
- exports.TableMetadataQL = `
1461
- type TableMetadata {${exports.MetadataFields}
1726
+ export const TableMetadataQL = `
1727
+ type TableMetadata {${MetadataFields}
1462
1728
  fields: [Field]!
1463
1729
  tasky: Boolean!
1464
1730
  }`;
1465
- class TableMetadata extends Metadata {
1731
+ export class TableMetadata extends Metadata {
1732
+ fields;
1733
+ tasky;
1466
1734
  constructor(label, description, metadataType, fields, classifiers, threshold) {
1467
1735
  super(label, description, metadataType, classifiers, threshold);
1468
1736
  this.tasky = false;
1469
1737
  this.fields = fields;
1470
1738
  }
1471
1739
  }
1472
- exports.TableMetadata = TableMetadata;
1473
- exports.RecordInputQL = `
1740
+ export const RecordInputQL = `
1474
1741
  input RecordInput {
1475
1742
  _id: String!
1476
1743
  values: [FieldValueInput]!
1477
1744
  }`;
1478
- exports.RecordQL = `
1479
- type Record {${exports.BusinessObjectFields}
1745
+ export const RecordQL = `
1746
+ type Record {${BusinessObjectFields}
1480
1747
  values: [FieldValue]!
1481
1748
  }`;
1482
- class Record extends BusinessObject {
1749
+ export class Record extends BusinessObject {
1750
+ values;
1751
+ enabled;
1752
+ processingStage;
1753
+ processingReason;
1754
+ dashboardId;
1755
+ blockDescriptionName;
1483
1756
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, values) {
1484
1757
  super(tenantIdCreated, editors, sharingTags, BlockType.Record, provider, application, uri, externalId);
1485
1758
  this.values = values;
1486
1759
  this.enabled = true;
1487
1760
  }
1488
1761
  }
1489
- exports.Record = Record;
1490
- exports.TableFields = `${exports.BusinessObjectFields}
1762
+ export const TableFields = `${BusinessObjectFields}
1491
1763
  records: [Record]
1492
1764
  metadata: TableMetadata
1493
1765
  connectionId: String`;
1494
- exports.TableQL = `
1495
- type Table {${exports.TableFields}
1766
+ export const TableQL = `
1767
+ type Table {${TableFields}
1496
1768
  }`;
1497
- class Table extends BusinessObject {
1769
+ export class Table extends BusinessObject {
1770
+ metadata;
1771
+ records;
1772
+ connectionId; // This is a virtual property we provide when the table/records are loaded
1498
1773
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, metadata) {
1499
1774
  super(tenantIdCreated, editors, sharingTags, BlockType.Table, provider, application, uri, externalId);
1500
1775
  this.metadata = metadata;
1501
1776
  }
1502
1777
  }
1503
- exports.Table = Table;
1504
1778
  //// FOR RECORDS END
1505
1779
  // METADATA OBJECTS END
1506
1780
  // API OBJECTS START
1507
- exports.FindRecordInputQL = `
1781
+ export const FindRecordInputQL = `
1508
1782
  input FindRecordInput {
1509
1783
  _id: String
1510
1784
  uri: String
1511
1785
  archived: Boolean
1512
1786
  }`;
1513
- exports.FindRecordsInputQL = `
1787
+ export const FindRecordsInputQL = `
1514
1788
  input FindRecordsInput {
1515
1789
  _ids: [String]
1516
1790
  archived: Boolean
1517
1791
  }`;
1518
- exports.UpsertRecordsInputQL = `
1792
+ export const UpsertRecordsInputQL = `
1519
1793
  input UpsertRecordsInput {
1520
1794
  _id: String!
1521
1795
  records: [RecordInput]
1522
1796
  recommendationId: String
1523
1797
  connectionId: String
1524
1798
  }`;
1525
- exports.FindTenantInputQL = `
1799
+ export const FindTenantInputQL = `
1526
1800
  input FindTenantInput {
1527
1801
  _id: String!
1528
1802
  }`;
1529
- exports.FindTenantsInputQL = `
1803
+ export const FindTenantsInputQL = `
1530
1804
  input FindTenantsInput {
1531
1805
  domainId: String
1532
1806
  }`;
1533
- exports.FindDomainInputQL = `
1807
+ export const FindDomainInputQL = `
1534
1808
  input FindDomainInput {
1535
1809
  _id: String!
1536
1810
  }`;
1537
- exports.FindCalendarInputQL = `
1811
+ export const FindCalendarInputQL = `
1538
1812
  input FindCalendarInput {
1539
1813
  _id: String!
1540
1814
  }`;
1541
- exports.FindEventInputQL = `
1815
+ export const FindEventInputQL = `
1542
1816
  input FindEventInput {
1543
1817
  _id: String!
1544
1818
  }`;
1545
- exports.FindDocumentInputQL = `
1819
+ export const FindDocumentInputQL = `
1546
1820
  input FindDocumentInput {
1547
1821
  _id: String!
1548
1822
  archived: Boolean
1549
1823
  }`;
1550
- exports.UpsertDocumentInputQL = `
1824
+ export const UpsertDocumentInputQL = `
1551
1825
  input UpsertDocumentInput {
1552
1826
  _id: String
1553
1827
  document: String!
@@ -1555,16 +1829,16 @@ input UpsertDocumentInput {
1555
1829
  recommendationId: String
1556
1830
  connectionId: String
1557
1831
  }`;
1558
- exports.FindDashboardInputQL = `
1832
+ export const FindDashboardInputQL = `
1559
1833
  input FindDashboardInput {
1560
1834
  _id: String!
1561
1835
  archived: Boolean
1562
1836
  }`;
1563
- exports.FindDashboardBlockInputQL = `
1837
+ export const FindDashboardBlockInputQL = `
1564
1838
  input FindDashboardBlockInput {
1565
1839
  _id: String!
1566
1840
  }`;
1567
- exports.UpsertNoteInputQL = `
1841
+ export const UpsertNoteInputQL = `
1568
1842
  input UpsertNoteInput {
1569
1843
  _id: String
1570
1844
  document: String
@@ -1573,66 +1847,75 @@ input UpsertNoteInput {
1573
1847
  favorite: Boolean
1574
1848
  dateAssociated: Float
1575
1849
  }`;
1576
- exports.FindBlockInputQL = `
1850
+ export const FindBlockInputQL = `
1577
1851
  input FindBlockInput {
1578
1852
  _id: String!
1579
1853
  blockType: String
1580
1854
  archived: Boolean
1581
1855
  }`;
1582
- exports.FindBlocksInputQL = `
1856
+ export const FindBlocksInputQL = `
1583
1857
  input FindBlocksInput {
1584
1858
  originReferenceBlock: ReferenceBlockInput
1585
1859
  originReferenceTagId: String
1586
1860
  blockType: String
1587
1861
  archived: Boolean
1588
1862
  }`;
1589
- exports.ArchiveBlockInputQL = `
1863
+ export const ArchiveBlockInputQL = `
1590
1864
  input ArchiveBlockInput {
1591
1865
  _id: String!
1592
1866
  blockType: String
1593
1867
  archive: Boolean
1594
1868
  }`;
1595
- exports.ArchiveBlockOutputQL = `
1869
+ export const ArchiveBlockOutputQL = `
1596
1870
  type ArchiveBlockOutput {
1597
1871
  _id: String!
1598
1872
  archived: Boolean!
1599
1873
  }`;
1600
- exports.UpdateRecommendationInputQL = `
1874
+ export const UpdateRecommendationInputQL = `
1601
1875
  input UpdateRecommendationInput {
1602
1876
  _id: String!
1603
1877
  thumbs: String
1604
1878
  comment: String
1605
1879
  }`;
1606
- exports.ArchiveRecommendationInputQL = `
1880
+ export const ArchiveRecommendationInputQL = `
1607
1881
  input ArchiveRecommendationInput {
1608
1882
  _id: String!
1609
1883
  archive: Boolean
1610
1884
  }`;
1611
- exports.ArchiveRecommendationOutputQL = `
1885
+ export const ArchiveRecommendationOutputQL = `
1612
1886
  type ArchiveRecommendationOutput {
1613
1887
  _id: String!
1614
1888
  archived: Boolean!
1615
1889
  }`;
1616
- exports.FindProviderInputQL = `
1890
+ export const FindProviderInputQL = `
1617
1891
  input FindProviderInput {
1618
1892
  _id: String
1619
1893
  provider: String
1620
1894
  }`;
1621
- exports.FindSyncInputQL = `
1895
+ export const ProviderApplicationInputQL = `
1896
+ input ProviderApplicationInput {
1897
+ installed: Boolean
1898
+ name: String!
1899
+ }`;
1900
+ export const FindProvidersInputQL = `
1901
+ input FindProvidersInput {
1902
+ applications: [ProviderApplicationInput]
1903
+ }`;
1904
+ export const FindSyncInputQL = `
1622
1905
  input FindSyncInput {
1623
1906
  _id: String!
1624
1907
  }`;
1625
- exports.SharingDomainInputQL = `
1908
+ export const SharingDomainInputQL = `
1626
1909
  input SharingDomainInput {
1627
1910
  domainId: String!
1628
1911
  sharingLevel: Int!
1629
1912
  }`;
1630
- exports.SharingTenantInputQL = `
1913
+ export const SharingTenantInputQL = `
1631
1914
  input SharingTenantInput {
1632
1915
  tenantId: String!
1633
1916
  sharingLevel: Int!
1634
1917
  }`;
1635
- exports.UpsertTagInputQL = `
1918
+ export const UpsertTagInputQL = `
1636
1919
  input UpsertTagInput {
1637
1920
  _id: ID
1638
1921
  alias: String
@@ -1654,7 +1937,7 @@ input UpsertTagInput {
1654
1937
  hasAutoShareTasksOn: Boolean
1655
1938
  sharingLevel: Int
1656
1939
  }`;
1657
- exports.FindTagInputQL = `
1940
+ export const FindTagInputQL = `
1658
1941
  input FindTagInput {
1659
1942
  _id: String!
1660
1943
  archived: Boolean
@@ -1662,43 +1945,43 @@ input FindTagInput {
1662
1945
  tagType: String
1663
1946
  tagSubType: String
1664
1947
  }`;
1665
- exports.FindTagsInputQL = `
1948
+ export const FindTagsInputQL = `
1666
1949
  input FindTagsInput {
1667
1950
  alias: String
1668
1951
  friendlyName: String
1669
1952
  archived: Boolean
1670
1953
  favorite: Boolean
1671
1954
  }`;
1672
- exports.ArchiveTagInputQL = `
1955
+ export const ArchiveTagInputQL = `
1673
1956
  input ArchiveTagInput {
1674
1957
  _id: String!
1675
1958
  archive: Boolean
1676
1959
  }`;
1677
- exports.ArchiveTagOutputQL = `
1960
+ export const ArchiveTagOutputQL = `
1678
1961
  type ArchiveTagOutput {
1679
1962
  _id: String!
1680
1963
  archived: Boolean!
1681
1964
  }`;
1682
- exports.MergeTagInputQL = `
1965
+ export const MergeTagInputQL = `
1683
1966
  input MergeTagInput {
1684
1967
  tagIdToRemain: String!
1685
1968
  tagIdToMerge: String!
1686
1969
  }`;
1687
- exports.SetSharingTagInputQL = `
1970
+ export const SetSharingTagInputQL = `
1688
1971
  input SetSharingTagInput {
1689
1972
  referenceBlock: ReferenceBlockInput!
1690
1973
  sharingTag: InviteSharingTagInput!
1691
1974
  }`;
1692
- exports.DeleteSharingTagInputQL = `
1975
+ export const DeleteSharingTagInputQL = `
1693
1976
  input DeleteSharingTagInput {
1694
1977
  referenceBlock: ReferenceBlockInput!
1695
1978
  tagId: String!
1696
1979
  }`;
1697
- exports.UpdateTaskInputQL = `
1698
- input UpsertTaskInput {${exports.BlockFieldsForUpsert}
1980
+ export const UpdateTaskInputQL = `
1981
+ input UpsertTaskInput {${BlockFieldsForUpsert}
1699
1982
  editor: EditorInput!
1700
1983
  }`;
1701
- exports.UpsertFolderInputQL = `
1984
+ export const UpsertFolderInputQL = `
1702
1985
  input UpsertFolderInput {
1703
1986
  _id: String
1704
1987
  sharingTags: [SharingTagInput]
@@ -1707,26 +1990,26 @@ input UpsertFolderInput {
1707
1990
  description: String
1708
1991
  searchIds: [String]
1709
1992
  }`;
1710
- exports.FindFolderInputQL = `
1993
+ export const FindFolderInputQL = `
1711
1994
  input FindFolderInput {
1712
1995
  _id: String!
1713
1996
  archived: Boolean
1714
1997
  }`;
1715
- exports.FindFoldersInputQL = `
1998
+ export const FindFoldersInputQL = `
1716
1999
  input FindFoldersInput {
1717
2000
  archived: Boolean
1718
2001
  }`;
1719
- exports.ArchiveFolderInputQL = `
2002
+ export const ArchiveFolderInputQL = `
1720
2003
  input ArchiveFolderInput {
1721
2004
  _id: String!
1722
2005
  archive: Boolean
1723
2006
  }`;
1724
- exports.ArchiveFolderOutputQL = `
2007
+ export const ArchiveFolderOutputQL = `
1725
2008
  type ArchiveFolderOutput {
1726
2009
  _id: String!
1727
2010
  archived: Boolean!
1728
2011
  }`;
1729
- exports.UpsertSearchInputQL = `
2012
+ export const UpsertSearchInputQL = `
1730
2013
  input UpsertSearchInput {
1731
2014
  _id: String
1732
2015
  blockType: String
@@ -1751,26 +2034,26 @@ input UpsertSearchInput {
1751
2034
  snoozed: Boolean
1752
2035
  size: Int
1753
2036
  }`;
1754
- exports.FindSearchInputQL = `
2037
+ export const FindSearchInputQL = `
1755
2038
  input FindSearchInput {
1756
2039
  _id: String!
1757
2040
  archived: Boolean
1758
2041
  }`;
1759
- exports.FindSearchesInputQL = `
2042
+ export const FindSearchesInputQL = `
1760
2043
  input FindSearchesInput {
1761
2044
  archived: Boolean
1762
2045
  }`;
1763
- exports.ArchiveSearchInputQL = `
2046
+ export const ArchiveSearchInputQL = `
1764
2047
  input ArchiveSearchInput {
1765
2048
  _id: String!
1766
2049
  archive: Boolean
1767
2050
  }`;
1768
- exports.ArchiveSearchOutputQL = `
2051
+ export const ArchiveSearchOutputQL = `
1769
2052
  type ArchiveSearchOutput {
1770
2053
  _id: String!
1771
2054
  archived: Boolean!
1772
2055
  }`;
1773
- exports.SearchTagsInputQL = `
2056
+ export const SearchTagsInputQL = `
1774
2057
  input SearchTagsInput {
1775
2058
  tagType: String
1776
2059
  tagSubType: String
@@ -1778,7 +2061,7 @@ input SearchTagsInput {
1778
2061
  parentId: String
1779
2062
  externalId: String
1780
2063
  connectionId: String
1781
- _ids: [String]
2064
+ _ids: [String] = []
1782
2065
  tenantIdVerifieds: [String]
1783
2066
  search: String
1784
2067
  email: String
@@ -1795,16 +2078,16 @@ input SearchTagsInput {
1795
2078
  size: Int
1796
2079
  generateDashboard: Boolean
1797
2080
  }`;
1798
- exports.SearchInputQL = `
2081
+ export const SearchInputQL = `
1799
2082
  input SearchInput {
1800
2083
  blockType: String
1801
2084
  recommendationType: String
1802
2085
  label: String
1803
- search: String
1804
- _ids: [String]
1805
- tagIds: [String]
1806
- emails: [String]
1807
- businessObjects: [BusinessObjectLinkInput]
2086
+ search: String
2087
+ _ids: [String] = []
2088
+ tagIds: [String] = []
2089
+ emails: [String] = []
2090
+ businessObjects: [BusinessObjectLinkInput] = []
1808
2091
  orderByDateUpdated: String
1809
2092
  orderByDateCreated: String
1810
2093
  orderByDateDue: String
@@ -1822,12 +2105,14 @@ input SearchInput {
1822
2105
  page: Int
1823
2106
  size: Int
1824
2107
  }`;
1825
- exports.BlockTypeQL = `
2108
+ export const BlockTypeQL = `
1826
2109
  enum BlockType {
1827
2110
  ${BlockType.Calendar.toUpperCase()}
2111
+ ${BlockType.Changeset.toUpperCase()}
1828
2112
  ${BlockType.Transcription.toUpperCase()}
1829
2113
  ${BlockType.Dashboard.toUpperCase()}
1830
2114
  ${BlockType.Document.toUpperCase()}
2115
+ ${BlockType.Email.toUpperCase()}
1831
2116
  ${BlockType.Event.toUpperCase()}
1832
2117
  ${BlockType.Folder.toUpperCase()}
1833
2118
  ${BlockType.Note.toUpperCase()}
@@ -1841,7 +2126,7 @@ enum BlockType {
1841
2126
  ${BlockType.Todo.toUpperCase()}
1842
2127
  ${BlockType.Website.toUpperCase()}
1843
2128
  }`;
1844
- exports.RecommendationTypeQL = `
2129
+ export const RecommendationTypeQL = `
1845
2130
  enum RecommendationType {
1846
2131
  ${RecommendationType.Connect.toUpperCase()}
1847
2132
  ${RecommendationType.Share.toUpperCase()}
@@ -1849,114 +2134,114 @@ enum RecommendationType {
1849
2134
  ${RecommendationType.Notification.toUpperCase()}
1850
2135
  ${RecommendationType.Ingestion.toUpperCase()}
1851
2136
  }`;
1852
- exports.TaskStatusQL = `
2137
+ export const TaskStatusQL = `
1853
2138
  enum TaskStatus {
1854
2139
  ${TaskStatus.Completed.toUpperCase()}
1855
2140
  ${TaskStatus.InProgress.toUpperCase()}
1856
2141
  ${TaskStatus.NotStarted.toUpperCase()}
1857
2142
  }`;
1858
- exports.OrderDirectionQL = `
2143
+ export const OrderDirectionQL = `
1859
2144
  enum OrderDirection {
1860
2145
  ASC
1861
2146
  DESC
1862
2147
  }`;
1863
- var OrderDirection;
2148
+ export var OrderDirection;
1864
2149
  (function (OrderDirection) {
1865
2150
  OrderDirection["Ascending"] = "asc";
1866
2151
  OrderDirection["Descending"] = "desc";
1867
- })(OrderDirection || (exports.OrderDirection = OrderDirection = {}));
1868
- exports.FindTagsVisibilityInputQL = `
2152
+ })(OrderDirection || (OrderDirection = {}));
2153
+ export const FindTagsVisibilityInputQL = `
1869
2154
  input FindTagsVisibilityInput {
1870
2155
  tagIds: [String]
1871
2156
  sharingTags: [SharingTagInput]
1872
2157
  }`;
1873
- exports.ReactionQL = `
2158
+ export const ReactionQL = `
1874
2159
  type Reaction {
1875
2160
  shortcodes: String!
1876
2161
  tagIds: [String]
1877
2162
  }`;
1878
- exports.FindReactionsInputQL = `
2163
+ export const FindReactionsInputQL = `
1879
2164
  input FindReactionsInput {
1880
2165
  _id: String!
1881
2166
  blockType: BlockType!
1882
2167
  }`;
1883
- exports.AddReactionInputQL = `
2168
+ export const AddReactionInputQL = `
1884
2169
  input AddReactionInput {
1885
2170
  _id: String!
1886
2171
  blockType: BlockType!
1887
2172
  shortcodes: String!
1888
2173
  }`;
1889
- exports.RemoveReactionInputQL = `
2174
+ export const RemoveReactionInputQL = `
1890
2175
  input RemoveReactionInput {
1891
2176
  _id: String!
1892
2177
  blockType: BlockType!
1893
2178
  shortcodes: String!
1894
2179
  }`;
1895
- exports.ParentItemFields = `
2180
+ export const ParentItemFields = `
1896
2181
  _id: String
1897
2182
  blockType: BlockType
1898
2183
  `;
1899
- exports.ParentItemInputQL = `
1900
- input ParentItemInput {${exports.ParentItemFields}
2184
+ export const ParentItemInputQL = `
2185
+ input ParentItemInput {${ParentItemFields}
1901
2186
  children: [ChildItemInput]
1902
2187
  }`;
1903
- exports.ParentItemQL = `
1904
- type ParentItem {${exports.ParentItemFields}
2188
+ export const ParentItemQL = `
2189
+ type ParentItem {${ParentItemFields}
1905
2190
  children: [ChildItem]
1906
2191
  }`;
1907
- exports.ChildItemFields = `
2192
+ export const ChildItemFields = `
1908
2193
  _id: String
1909
2194
  blockType: BlockType
1910
2195
  `;
1911
- exports.ChildItemInputQL = `
1912
- input ChildItemInput {${exports.ChildItemFields}
2196
+ export const ChildItemInputQL = `
2197
+ input ChildItemInput {${ChildItemFields}
1913
2198
  }`;
1914
- exports.ChildItemQL = `
1915
- type ChildItem {${exports.ChildItemFields}
2199
+ export const ChildItemQL = `
2200
+ type ChildItem {${ChildItemFields}
1916
2201
  }`;
1917
- exports.NumberFilterFieldsQL = `
2202
+ export const NumberFilterFieldsQL = `
1918
2203
  gt: Float
1919
2204
  gte: Float
1920
2205
  eq: Float
1921
2206
  lte: Float
1922
2207
  lt: Float`;
1923
- exports.NumberFilterQL = `
1924
- type NumberFilter {${exports.NumberFilterFieldsQL}}`;
1925
- exports.NumberFilterInputQL = `
1926
- input NumberFilterInput {${exports.NumberFilterFieldsQL}}`;
1927
- exports.StringFilterFieldsQL = `
2208
+ export const NumberFilterQL = `
2209
+ type NumberFilter {${NumberFilterFieldsQL}}`;
2210
+ export const NumberFilterInputQL = `
2211
+ input NumberFilterInput {${NumberFilterFieldsQL}}`;
2212
+ export const StringFilterFieldsQL = `
1928
2213
  eq: String
1929
2214
  contains: String
1930
2215
  startsWith: String
1931
2216
  endsWith: String`;
1932
- exports.StringFilterQL = `
1933
- type StringFilter {${exports.StringFilterFieldsQL}
2217
+ export const StringFilterQL = `
2218
+ type StringFilter {${StringFilterFieldsQL}
1934
2219
  }`;
1935
- exports.StringFilterInputQL = `
1936
- input StringFilterInput {${exports.StringFilterFieldsQL}
2220
+ export const StringFilterInputQL = `
2221
+ input StringFilterInput {${StringFilterFieldsQL}
1937
2222
  }`;
1938
- exports.BusinessObjectFilterFieldsQL = `
2223
+ export const BusinessObjectFilterFieldsQL = `
1939
2224
  id: String
1940
2225
  url: String
1941
2226
  blockType: BlockType
1942
2227
  provider: String
1943
2228
  metadataType: String`;
1944
- exports.BusinessObjectFilterQL = `
1945
- type BusinessObjectFilter {${exports.BusinessObjectFilterFieldsQL}
2229
+ export const BusinessObjectFilterQL = `
2230
+ type BusinessObjectFilter {${BusinessObjectFilterFieldsQL}
1946
2231
  }`;
1947
- exports.BusinessObjectFilterInputQL = `
1948
- input BusinessObjectFilterInput {${exports.BusinessObjectFilterFieldsQL}
2232
+ export const BusinessObjectFilterInputQL = `
2233
+ input BusinessObjectFilterInput {${BusinessObjectFilterFieldsQL}
1949
2234
  }`;
1950
- exports.SortOptionFieldsQL = `
2235
+ export const SortOptionFieldsQL = `
1951
2236
  field: String
1952
2237
  order: OrderDirection`;
1953
- exports.SortOptionQL = `
1954
- type SortOption {${exports.SortOptionFieldsQL}
2238
+ export const SortOptionQL = `
2239
+ type SortOption {${SortOptionFieldsQL}
1955
2240
  }`;
1956
- exports.SortOptionInputQL = `
1957
- input SortOptionInput {${exports.SortOptionFieldsQL}
2241
+ export const SortOptionInputQL = `
2242
+ input SortOptionInput {${SortOptionFieldsQL}
1958
2243
  }`;
1959
- exports.GraphSearchInputFields = `
2244
+ export const GraphSearchInputFields = `
1960
2245
  search: String
1961
2246
  _ids: [String]
1962
2247
  tenantIdCreateds: [String]
@@ -1982,7 +2267,7 @@ exports.GraphSearchInputFields = `
1982
2267
  page: Int
1983
2268
  size: Int
1984
2269
  `;
1985
- exports.GraphSearchFields = `
2270
+ export const GraphSearchFields = `
1986
2271
  search: String
1987
2272
  _ids: [String]
1988
2273
  tenantIdCreateds: [String]
@@ -2008,20 +2293,20 @@ exports.GraphSearchFields = `
2008
2293
  page: Int
2009
2294
  size: Int
2010
2295
  `;
2011
- exports.GraphSearchQL = `
2012
- type GraphSearch {${exports.GraphSearchFields}
2296
+ export const GraphSearchQL = `
2297
+ type GraphSearch {${GraphSearchFields}
2013
2298
  }`;
2014
- exports.GraphSearchInputQL = `
2015
- input GraphSearchInput {${exports.GraphSearchInputFields}
2299
+ export const GraphSearchInputQL = `
2300
+ input GraphSearchInput {${GraphSearchInputFields}
2016
2301
  }`;
2017
- exports.GraphSearchEventsInputQL = `
2018
- input GraphSearchEventsInput {${exports.GraphSearchInputFields}
2302
+ export const GraphSearchEventsInputQL = `
2303
+ input GraphSearchEventsInput {${GraphSearchInputFields}
2019
2304
  calendarId: String
2020
2305
  dateStart: NumberFilterInput
2021
2306
  dateEnd: NumberFilterInput
2022
2307
  subject: StringFilterInput
2023
2308
  }`;
2024
- exports.UpdateTagSharingInputQL = `
2309
+ export const UpdateTagSharingInputQL = `
2025
2310
  input UpdateTagSharingInput {
2026
2311
  _id: String!
2027
2312
  emailDomain: Boolean
@@ -2029,166 +2314,171 @@ input UpdateTagSharingInput {
2029
2314
  sharingDomains: [SharingDomainInput]
2030
2315
  }`;
2031
2316
  // THE GRAPH QL DEFINITIONS
2032
- exports.GraphQLTypes = `
2033
- ${exports.HighlightQL}
2034
- ${exports.EditorInputQL}
2035
- ${exports.EditorQL}
2036
- ${exports.InviteSharingTagInputQL}
2037
- ${exports.SharingTagInputQL}
2038
- ${exports.SharingTagQL}
2039
- ${exports.SharingDomainQL}
2040
- ${exports.TenantSettingQL}
2041
- ${exports.SharingTenantQL}
2042
- ${exports.BusinessObjectLinkInputQL}
2043
- ${exports.BusinessObjectLinkQL}
2044
- ${exports.ExternalIdLinkInputQL}
2045
- ${exports.ExternalIdLinkQL}
2046
- ${exports.TaskStepInputQL}
2047
- ${exports.FindTagsVisibilityInputQL}
2048
- ${exports.ReactionQL}
2049
- ${exports.FindReactionsInputQL}
2050
- ${exports.AddReactionInputQL}
2051
- ${exports.RemoveReactionInputQL}
2052
- ${exports.TaskStepQL}
2053
- ${exports.EntityReferenceQL}
2054
- ${exports.ArgumentEntryQL}
2055
- ${exports.RelationEntryQL}
2056
- ${exports.EntityEntryQL}
2057
- ${exports.ProviderInfoQL}
2058
- ${exports.ProviderRequestQL}
2059
- ${exports.ProviderResponseQL}
2060
- ${exports.StandardObjectsQL}
2061
- ${exports.CredentialQL}
2062
- ${exports.ChangesInputQL}
2063
- ${exports.ChangesQL}
2064
- ${exports.FindExternalTagReferencesInputQL}
2065
- ${exports.FindExternalTagReferenceInputQL}
2066
- ${exports.PersonReferenceInputQL}
2067
- ${exports.PersonReferenceQL}
2068
- ${exports.MetadataQL}
2069
- ${exports.FolderQL}
2070
- ${exports.SearchQL}
2071
- ${exports.SyncQL}
2072
- ${exports.DashboardTagSubscriptionQL}
2073
- ${exports.ProviderApplicationQL}
2074
- ${exports.ExternalIdQL}
2075
- ${exports.ProviderQL}
2076
- ${exports.TagTypeQL}
2077
- ${exports.GraphTagQL}
2078
- ${exports.GraphTagsInputQL}
2079
- ${exports.TagQL}
2080
- ${exports.TagRecommendationQL}
2081
- ${exports.TenantLightInputQL}
2082
- ${exports.TenantLightQL}
2083
- ${exports.ConnectRecommendationQL}
2084
- ${exports.ReactionRecommendationQL}
2085
- ${exports.ChangeRecommendationQL}
2086
- ${exports.UpsertRecommendationQL}
2087
- ${exports.ShareRecommendationQL}
2088
- ${exports.IngestionRecommendationQL}
2089
- ${exports.MessageRecommendationQL}
2090
- ${exports.NotificationRecommendationQL}
2091
- ${exports.RecommendationQL}
2092
- ${exports.ConnectedProviderQL}
2093
- ${exports.ReferenceBlockInputQL}
2094
- ${exports.ReferenceBlockQL}
2095
- ${exports.DomainQL}
2096
- ${exports.TenantQL}
2097
- ${exports.BlockQL}
2098
- ${exports.BusinessObjectQL}
2099
- ${exports.NoteQL}
2100
- ${exports.TaskQL}
2101
- ${exports.TranscriptionQL}
2102
- ${exports.IngestTranscriptionInputQL}
2103
- ${exports.ConferenceEntrypointQL}
2104
- ${exports.ConferenceQL}
2105
- ${exports.AttachmentInputQL}
2106
- ${exports.AttachmentQL}
2107
- ${exports.PersonAcceptanceQL}
2108
- ${exports.EventQL}
2109
- ${exports.CalendarQL}
2110
- ${exports.IngestEmailInputQL}
2111
- ${exports.EmailQL}
2112
- ${exports.UpsertMessageInputQL}
2113
- ${exports.MessageQL}
2114
- ${exports.DocumentQL}
2115
- ${exports.BlockDataQL}
2116
- ${exports.DashboardQL}
2117
- ${exports.DashboardMetadataQL}
2118
- ${exports.WebsiteQL}
2119
- ${exports.BlockDescriptionQL}
2120
- ${exports.DocumentMetadataQL}
2121
- ${exports.TemplateQL}
2122
- ${exports.OptionQL}
2123
- ${exports.FieldQL}
2124
- ${exports.FieldValueQL}
2125
- ${exports.FieldValueInputQL}
2126
- ${exports.TableMetadataQL}
2127
- ${exports.RecordQL}
2128
- ${exports.RecordInputQL}
2129
- ${exports.TableQL}
2130
- ${exports.FindRecordInputQL}
2131
- ${exports.FindRecordsInputQL}
2132
- ${exports.UpsertRecordsInputQL}
2133
- ${exports.FindTenantInputQL}
2134
- ${exports.FindTenantsInputQL}
2135
- ${exports.FindDomainInputQL}
2136
- ${exports.FindCalendarInputQL}
2137
- ${exports.FindEventInputQL}
2138
- ${exports.UpsertNoteInputQL}
2139
- ${exports.UpsertDocumentInputQL}
2140
- ${exports.FindDocumentInputQL}
2141
- ${exports.FindDashboardInputQL}
2142
- ${exports.FindDashboardBlockInputQL}
2143
- ${exports.FindBlockInputQL}
2144
- ${exports.FindBlocksInputQL}
2145
- ${exports.ArchiveBlockInputQL}
2146
- ${exports.ArchiveBlockOutputQL}
2147
- ${exports.UpdateRecommendationInputQL}
2148
- ${exports.ArchiveRecommendationInputQL}
2149
- ${exports.ArchiveRecommendationOutputQL}
2150
- ${exports.FindProviderInputQL}
2151
- ${exports.FindSyncInputQL}
2152
- ${exports.SharingDomainInputQL}
2153
- ${exports.SharingTenantInputQL}
2154
- ${exports.UpsertTagInputQL}
2155
- ${exports.FindTagInputQL}
2156
- ${exports.FindTagsInputQL}
2157
- ${exports.ArchiveTagInputQL}
2158
- ${exports.ArchiveTagOutputQL}
2159
- ${exports.MergeTagInputQL}
2160
- ${exports.SetSharingTagInputQL}
2161
- ${exports.DeleteSharingTagInputQL}
2162
- ${exports.UpdateTaskInputQL}
2163
- ${exports.UpsertFolderInputQL}
2164
- ${exports.FindFolderInputQL}
2165
- ${exports.FindFoldersInputQL}
2166
- ${exports.ArchiveFolderInputQL}
2167
- ${exports.ArchiveFolderOutputQL}
2168
- ${exports.UpsertSearchInputQL}
2169
- ${exports.FindSearchInputQL}
2170
- ${exports.FindSearchesInputQL}
2171
- ${exports.ArchiveSearchInputQL}
2172
- ${exports.ArchiveSearchOutputQL}
2173
- ${exports.SearchTagsInputQL}
2174
- ${exports.SearchInputQL}
2175
- ${exports.UpdateTagSharingInputQL}
2176
- ${exports.BlockTypeQL}
2177
- ${exports.RecommendationTypeQL}
2178
- ${exports.TaskStatusQL}
2179
- ${exports.OrderDirectionQL}
2180
- ${exports.ParentItemQL}
2181
- ${exports.ParentItemInputQL}
2182
- ${exports.ChildItemQL}
2183
- ${exports.ChildItemInputQL}
2184
- ${exports.NumberFilterQL}
2185
- ${exports.NumberFilterInputQL}
2186
- ${exports.StringFilterQL}
2187
- ${exports.StringFilterInputQL}
2188
- ${exports.BusinessObjectFilterQL}
2189
- ${exports.BusinessObjectFilterInputQL}
2190
- ${exports.SortOptionQL}
2191
- ${exports.SortOptionInputQL}
2192
- ${exports.GraphSearchQL}
2193
- ${exports.GraphSearchInputQL}
2194
- ${exports.GraphSearchEventsInputQL}`;
2317
+ export const GraphQLTypes = `
2318
+ ${HighlightQL}
2319
+ ${EditorInputQL}
2320
+ ${EditorQL}
2321
+ ${InviteSharingTagInputQL}
2322
+ ${SharingTagInputQL}
2323
+ ${SharingTagQL}
2324
+ ${SharingDomainQL}
2325
+ ${TenantSettingQL}
2326
+ ${SharingTenantQL}
2327
+ ${BusinessObjectLinkInputQL}
2328
+ ${BusinessObjectLinkQL}
2329
+ ${ExternalIdLinkInputQL}
2330
+ ${ExternalIdLinkQL}
2331
+ ${TaskStepInputQL}
2332
+ ${FindTagsVisibilityInputQL}
2333
+ ${ReactionQL}
2334
+ ${FindReactionsInputQL}
2335
+ ${AddReactionInputQL}
2336
+ ${RemoveReactionInputQL}
2337
+ ${TaskStepQL}
2338
+ ${EntityReferenceQL}
2339
+ ${ArgumentEntryQL}
2340
+ ${RelationEntryQL}
2341
+ ${EntityEntryQL}
2342
+ ${ProviderInfoQL}
2343
+ ${ProviderRequestQL}
2344
+ ${ProviderResponseQL}
2345
+ ${StandardObjectsQL}
2346
+ ${CredentialQL}
2347
+ ${ChangesInputQL}
2348
+ ${ChangesQL}
2349
+ ${PersonReferenceInputQL}
2350
+ ${PersonReferenceQL}
2351
+ ${MetadataQL}
2352
+ ${FolderQL}
2353
+ ${SearchQL}
2354
+ ${SyncQL}
2355
+ ${DashboardTagSubscriptionQL}
2356
+ ${ProviderApplicationQL}
2357
+ ${ExternalIdQL}
2358
+ ${ProviderQL}
2359
+ ${TagTypeQL}
2360
+ ${GraphTagQL}
2361
+ ${GraphTagsInputQL}
2362
+ ${TagQL}
2363
+ ${TagRecommendationQL}
2364
+ ${TenantLightInputQL}
2365
+ ${TenantLightQL}
2366
+ ${ConnectRecommendationQL}
2367
+ ${ReactionRecommendationQL}
2368
+ ${ChangeRecommendationQL}
2369
+ ${UpsertRecommendationQL}
2370
+ ${ShareRecommendationQL}
2371
+ ${IngestionRecommendationQL}
2372
+ ${MessageRecommendationQL}
2373
+ ${NotificationRecommendationQL}
2374
+ ${RecommendationQL}
2375
+ ${ConnectedProviderQL}
2376
+ ${ReferenceBlockInputQL}
2377
+ ${ReferenceBlockQL}
2378
+ ${DomainQL}
2379
+ ${TenantQL}
2380
+ ${BlockQL}
2381
+ ${BusinessObjectQL}
2382
+ ${NoteQL}
2383
+ ${TaskQL}
2384
+ ${TranscriptionQL}
2385
+ ${IngestTranscriptionInputQL}
2386
+ ${TranscriptPartQL}
2387
+ ${TranscriptPartInputQL}
2388
+ ${ConferenceEntrypointQL}
2389
+ ${ConferenceQL}
2390
+ ${AttachmentInputQL}
2391
+ ${AttachmentQL}
2392
+ ${PersonAcceptanceQL}
2393
+ ${EventQL}
2394
+ ${CalendarQL}
2395
+ ${IngestTodoInputQL}
2396
+ ${TodoQL}
2397
+ ${IngestEmailInputQL}
2398
+ ${EmailQL}
2399
+ ${UpsertMessageInputQL}
2400
+ ${MessageQL}
2401
+ ${DocumentQL}
2402
+ ${BlockDataQL}
2403
+ ${DashboardQL}
2404
+ ${DashboardMetadataQL}
2405
+ ${WebsiteQL}
2406
+ ${BlockDescriptionQL}
2407
+ ${DocumentMetadataQL}
2408
+ ${TemplateQL}
2409
+ ${OptionQL}
2410
+ ${FieldQL}
2411
+ ${FieldValueQL}
2412
+ ${FieldValueInputQL}
2413
+ ${TableMetadataQL}
2414
+ ${RecordQL}
2415
+ ${RecordInputQL}
2416
+ ${TableQL}
2417
+ ${FindRecordInputQL}
2418
+ ${FindRecordsInputQL}
2419
+ ${UpsertRecordsInputQL}
2420
+ ${FindTenantInputQL}
2421
+ ${FindTenantsInputQL}
2422
+ ${FindDomainInputQL}
2423
+ ${FindCalendarInputQL}
2424
+ ${FindEventInputQL}
2425
+ ${UpsertNoteInputQL}
2426
+ ${UpsertDocumentInputQL}
2427
+ ${FindDocumentInputQL}
2428
+ ${FindDashboardInputQL}
2429
+ ${FindDashboardBlockInputQL}
2430
+ ${FindBlockInputQL}
2431
+ ${FindBlocksInputQL}
2432
+ ${ArchiveBlockInputQL}
2433
+ ${ArchiveBlockOutputQL}
2434
+ ${UpdateRecommendationInputQL}
2435
+ ${ArchiveRecommendationInputQL}
2436
+ ${ArchiveRecommendationOutputQL}
2437
+ ${FindProviderInputQL}
2438
+ ${ProviderApplicationInputQL}
2439
+ ${FindProvidersInputQL}
2440
+ ${FindSyncInputQL}
2441
+ ${SharingDomainInputQL}
2442
+ ${SharingTenantInputQL}
2443
+ ${UpsertTagInputQL}
2444
+ ${FindTagInputQL}
2445
+ ${FindTagsInputQL}
2446
+ ${ArchiveTagInputQL}
2447
+ ${ArchiveTagOutputQL}
2448
+ ${MergeTagInputQL}
2449
+ ${SetSharingTagInputQL}
2450
+ ${DeleteSharingTagInputQL}
2451
+ ${UpdateTaskInputQL}
2452
+ ${UpsertFolderInputQL}
2453
+ ${FindFolderInputQL}
2454
+ ${FindFoldersInputQL}
2455
+ ${ArchiveFolderInputQL}
2456
+ ${ArchiveFolderOutputQL}
2457
+ ${UpsertSearchInputQL}
2458
+ ${FindSearchInputQL}
2459
+ ${FindSearchesInputQL}
2460
+ ${ArchiveSearchInputQL}
2461
+ ${ArchiveSearchOutputQL}
2462
+ ${SearchTagsInputQL}
2463
+ ${SearchInputQL}
2464
+ ${UpdateTagSharingInputQL}
2465
+ ${BlockTypeQL}
2466
+ ${RecommendationTypeQL}
2467
+ ${TaskStatusQL}
2468
+ ${OrderDirectionQL}
2469
+ ${ParentItemQL}
2470
+ ${ParentItemInputQL}
2471
+ ${ChildItemQL}
2472
+ ${ChildItemInputQL}
2473
+ ${NumberFilterQL}
2474
+ ${NumberFilterInputQL}
2475
+ ${StringFilterQL}
2476
+ ${StringFilterInputQL}
2477
+ ${BusinessObjectFilterQL}
2478
+ ${BusinessObjectFilterInputQL}
2479
+ ${SortOptionQL}
2480
+ ${SortOptionInputQL}
2481
+ ${GraphSearchQL}
2482
+ ${GraphSearchInputQL}
2483
+ ${GraphSearchEventsInputQL}`;
2484
+ //# sourceMappingURL=types.js.map