@bigfootai/bigfoot-types 5.4.27 → 5.4.29

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} +872 -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 -3748
  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
@@ -853,29 +942,30 @@ type UpsertRecommendation {
853
942
  upsertType: String!
854
943
  metadata: Metadata
855
944
  connectionId: String!
945
+ rangeText: String
856
946
  }`;
857
- exports.ShareRecommendationQL = `
947
+ export const ShareRecommendationQL = `
858
948
  type ShareRecommendation {
859
949
  shared: Boolean!
860
950
  tenant: TenantLight!
861
951
  }`;
862
- exports.IngestionRecommendationQL = `
952
+ export const IngestionRecommendationQL = `
863
953
  type IngestionRecommendation {
864
954
  processingStage: String!
865
955
  processingAttempts: Int!
866
956
  processingReason: String
867
957
  tenant: TenantLight!
868
958
  }`;
869
- exports.MessageRecommendationQL = `
959
+ export const MessageRecommendationQL = `
870
960
  type MessageRecommendation {
871
961
  tenant: TenantLight!
872
962
  }`;
873
- exports.NotificationRecommendationQL = `
963
+ export const NotificationRecommendationQL = `
874
964
  type NotificationRecommendation {
875
965
  dashboard: Dashboard!
876
966
  }`;
877
- exports.RecommendationQL = `
878
- type Recommendation {${exports.SharedPrimitiveFields}
967
+ export const RecommendationQL = `
968
+ type Recommendation {${SharedPrimitiveFields}
879
969
  referenceBlock: ReferenceBlock
880
970
  recommendationType: String!
881
971
  connectRecommendation: ConnectRecommendation
@@ -896,7 +986,26 @@ type Recommendation {${exports.SharedPrimitiveFields}
896
986
  comment: String
897
987
  status: String
898
988
  }`;
899
- 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;
900
1009
  constructor(sharingTags, referenceBlock, tenantIdCreated, recommendationType) {
901
1010
  // For the sharing tags, we do it a little differently depending on the global nature of the recommendation. If theirs
902
1011
  // a recommendation for each tenant, the sharing tags should just include the tenant. Otherwise the sharing tags should
@@ -912,9 +1021,8 @@ class Recommendation extends SharedPrimitive {
912
1021
  this.status = TaskStatus.NotStarted;
913
1022
  }
914
1023
  }
915
- exports.Recommendation = Recommendation;
916
- exports.TenantQL = `
917
- type Tenant {${exports.PrimitiveFields}
1024
+ export const TenantQL = `
1025
+ type Tenant {${PrimitiveFields}
918
1026
  domainMemberships: [String]!
919
1027
  email: String!
920
1028
  tagId: String!
@@ -923,7 +1031,21 @@ type Tenant {${exports.PrimitiveFields}
923
1031
  givenName: String
924
1032
  allowed: Boolean!
925
1033
  }`;
926
- 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;
927
1049
  constructor(domainMemberships, email, emailVerified, domainIdEmail, tagId) {
928
1050
  super();
929
1051
  this.domainMemberships = domainMemberships;
@@ -933,34 +1055,39 @@ class Tenant extends Primitive {
933
1055
  this.tagId = tagId;
934
1056
  this.allowed = false;
935
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
+ }
936
1064
  }
937
- exports.Tenant = Tenant;
938
- exports.DomainQL = `
939
- type Domain {${exports.PrimitiveFields}
1065
+ export const DomainQL = `
1066
+ type Domain {${PrimitiveFields}
940
1067
  domain: String!
941
1068
  member: Boolean!
942
1069
  }`;
943
- class Domain extends Primitive {
1070
+ export class Domain extends Primitive {
1071
+ domain;
1072
+ member;
1073
+ isPublic;
944
1074
  constructor(domain, isPublic) {
945
1075
  super();
946
1076
  this.domain = domain;
947
1077
  this.isPublic = isPublic;
948
1078
  }
949
1079
  }
950
- exports.Domain = Domain;
951
- class Organization extends Tag {
1080
+ export class Organization extends Tag {
952
1081
  constructor(tenantIdCreated, alias) {
953
1082
  super(tenantIdCreated, alias, TagType.Organization);
954
1083
  }
955
1084
  }
956
- exports.Organization = Organization;
957
- class Person extends Tag {
1085
+ export class Person extends Tag {
958
1086
  constructor(tenantIdCreated, alias) {
959
1087
  super(tenantIdCreated, alias, TagType.Person);
960
1088
  }
961
1089
  }
962
- exports.Person = Person;
963
- exports.BlockFields = `${exports.SharedPrimitiveFields}
1090
+ export const BlockFields = `${SharedPrimitiveFields}
964
1091
  editors: [Editor]!
965
1092
  blockType: String!
966
1093
  document: String
@@ -978,7 +1105,7 @@ exports.BlockFields = `${exports.SharedPrimitiveFields}
978
1105
  parentId: String
979
1106
  originReferenceBlock: ReferenceBlock
980
1107
  reactions: [Reaction]`;
981
- exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
1108
+ export const BlockFieldsForUpsert = `${SharedPrimitiveFieldsForUpsert}
982
1109
  status: String
983
1110
  dateDue: Float
984
1111
  dateRemindMe: Float
@@ -988,10 +1115,54 @@ exports.BlockFieldsForUpsert = `${exports.SharedPrimitiveFieldsForUpsert}
988
1115
  snoozed: Boolean
989
1116
  parentId: String
990
1117
  document: String`;
991
- exports.BlockQL = `
992
- type Block {${exports.BlockFields}
993
- }`;
994
- 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;
995
1166
  constructor(tenantIdCreated, editors, sharingTags, blockType) {
996
1167
  super(sharingTags);
997
1168
  this.tenantIdCreated = tenantIdCreated;
@@ -1005,20 +1176,32 @@ class Block extends SharedPrimitive {
1005
1176
  this._empty = false;
1006
1177
  }
1007
1178
  }
1008
- exports.Block = Block;
1009
- class BlockProcessingRequest {
1179
+ export class BlockProcessingRequest {
1180
+ referenceBlock;
1010
1181
  constructor(referenceBlock) {
1011
1182
  this.referenceBlock = referenceBlock;
1012
1183
  }
1013
1184
  }
1014
- exports.BlockProcessingRequest = BlockProcessingRequest;
1015
- class BlockProcessingResponse {
1185
+ export class BlockProcessingResponse {
1186
+ referenceBlock;
1016
1187
  constructor(referenceBlock) {
1017
1188
  this.referenceBlock = referenceBlock;
1018
1189
  }
1019
1190
  }
1020
- exports.BlockProcessingResponse = BlockProcessingResponse;
1021
- 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
1022
1205
  constructor(tenantIdCreated, originReferenceBlock, uri) {
1023
1206
  super();
1024
1207
  this.tenantIdCreated = tenantIdCreated;
@@ -1030,8 +1213,7 @@ class BusinessObjectIngestionRequest extends Primitive {
1030
1213
  this.dateToProcess = Date.now();
1031
1214
  }
1032
1215
  }
1033
- exports.BusinessObjectIngestionRequest = BusinessObjectIngestionRequest;
1034
- exports.BusinessObjectFields = `${exports.BlockFields}
1216
+ export const BusinessObjectFields = `${BlockFields}
1035
1217
  provider: String!
1036
1218
  application: String!
1037
1219
  uri: String!
@@ -1041,14 +1223,21 @@ exports.BusinessObjectFields = `${exports.BlockFields}
1041
1223
  externalId: String!
1042
1224
  processingReason: String
1043
1225
  iconUrl: String`;
1044
- exports.BusinessObjectFieldsForUpsert = `${exports.BlockFieldsForUpsert}
1226
+ export const BusinessObjectFieldsForUpsert = `${BlockFieldsForUpsert}
1045
1227
  provider: String!
1046
1228
  application: String!
1047
- uri: String!`;
1048
- exports.BusinessObjectQL = `
1049
- type BusinessObject {${exports.BusinessObjectFields}
1050
- }`;
1051
- 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
1052
1241
  constructor(tenantIdCreated, editors, sharingTags, blockType, provider, application, uri, externalId) {
1053
1242
  super(tenantIdCreated, editors, sharingTags, blockType);
1054
1243
  this.archived = false;
@@ -1058,27 +1247,24 @@ class BusinessObject extends Block {
1058
1247
  this.externalId = externalId;
1059
1248
  }
1060
1249
  }
1061
- exports.BusinessObject = BusinessObject;
1062
- class Section extends Block {
1250
+ export class Section extends Block {
1063
1251
  constructor(id) {
1064
1252
  super('', [], [], BlockType.Section);
1065
1253
  this._id = id;
1066
1254
  }
1067
1255
  }
1068
- exports.Section = Section;
1069
- exports.NoteQL = `
1070
- type Note {${exports.BlockFields}
1256
+ export const NoteQL = `
1257
+ type Note {${BlockFields}
1071
1258
  }`;
1072
- class Note extends Block {
1259
+ export class Note extends Block {
1073
1260
  constructor(tenantIdCreated, editors, sharingTags) {
1074
1261
  super(tenantIdCreated, editors, sharingTags, BlockType.Note);
1075
1262
  }
1076
1263
  }
1077
- exports.Note = Note;
1078
- exports.TaskQL = `
1079
- type Task {${exports.BlockFields}
1264
+ export const TaskQL = `
1265
+ type Task {${BlockFields}
1080
1266
  }`;
1081
- class Task extends Block {
1267
+ export class Task extends Block {
1082
1268
  constructor(tenantIdCreated, editors, sharingTags) {
1083
1269
  super(tenantIdCreated, editors, sharingTags, BlockType.Task);
1084
1270
  this.status = TaskStatus.NotStarted;
@@ -1087,7 +1273,6 @@ class Task extends Block {
1087
1273
  this._dateDueUserAssigned = false;
1088
1274
  }
1089
1275
  }
1090
- exports.Task = Task;
1091
1276
  // CORE END
1092
1277
  /*
1093
1278
  These are the business objects we explicitly support and have a standardized description
@@ -1096,8 +1281,8 @@ regardless of underpinning system.
1096
1281
  */
1097
1282
  // BUSINESS OBJECTS START
1098
1283
  //// CONFERENCE START
1099
- exports.IngestTranscriptionInputQL = `
1100
- input IngestTranscriptionInput {${exports.BusinessObjectFieldsForUpsert}
1284
+ export const IngestTranscriptionInputQL = `
1285
+ input IngestTranscriptionInput {${BusinessObjectFieldsForUpsert}
1101
1286
  title: String
1102
1287
  startTime: Float
1103
1288
  duration: Float
@@ -1106,58 +1291,88 @@ input IngestTranscriptionInput {${exports.BusinessObjectFieldsForUpsert}
1106
1291
  meetingUrl: String
1107
1292
  recordingUrl: String
1108
1293
  transcriptionUrl: String
1109
- attendees: [PersonReferenceInput]
1110
- tasks: [UpsertTaskInput]
1294
+ attendees: [PersonReferenceInput]! = []
1295
+ tasks: [IngestTodoInput]! = []
1296
+ transcript: [TranscriptPartInput]! = []
1111
1297
  }`;
1112
- exports.TranscriptionQL = `
1113
- type Transcription {${exports.BusinessObjectFields}
1298
+ export const TranscriptionQL = `
1299
+ type Transcription {${BusinessObjectFields}
1114
1300
  title: String
1115
1301
  startTime: Float
1116
1302
  duration: Float
1117
- htmlSummary: String
1118
- rawText: String
1303
+ htmlSummary: String
1304
+ rawText: String
1119
1305
  meetingUrl: String
1120
1306
  recordingUrl: String
1121
1307
  transcriptionUrl: String
1122
- attendees: [PersonReference]
1123
- tasks: [Task]
1124
- }`;
1125
- 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 = [];
1126
1324
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1127
1325
  super(tenantIdCreated, editors, sharingTags, BlockType.Transcription, provider, application, uri, externalId);
1128
1326
  }
1129
1327
  }
1130
- exports.Transcription = Transcription;
1131
- 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 = `
1132
1347
  type ConferenceEntrypoint {
1133
1348
  url: String
1134
1349
  meetingCode: String
1135
1350
  }`;
1136
- exports.ConferenceQL = `
1351
+ export const ConferenceQL = `
1137
1352
  type Conference {
1138
1353
  entryPoints: [ConferenceEntrypoint]
1139
1354
  transcription: Transcription
1140
1355
  }`;
1141
1356
  //// CONFERENCE END
1142
1357
  //// EVENT START
1143
- var EventStatus;
1358
+ export var EventStatus;
1144
1359
  (function (EventStatus) {
1145
1360
  EventStatus["Confirmed"] = "confirmed";
1146
1361
  EventStatus["Tentative"] = "tentative";
1147
1362
  EventStatus["Cancelled"] = "cancelled";
1148
- })(EventStatus || (exports.EventStatus = EventStatus = {}));
1149
- var ResponseStatus;
1363
+ })(EventStatus || (EventStatus = {}));
1364
+ export var ResponseStatus;
1150
1365
  (function (ResponseStatus) {
1151
1366
  ResponseStatus["NeedsAction"] = "needsAction";
1152
1367
  ResponseStatus["Declined"] = "declined";
1153
1368
  ResponseStatus["Tentative"] = "tentative";
1154
1369
  ResponseStatus["Accepted"] = "accepted";
1155
- })(ResponseStatus || (exports.ResponseStatus = ResponseStatus = {}));
1156
- exports.PersonAcceptanceQL = `
1157
- type PersonAcceptance {${exports.PersonReferenceFields}
1370
+ })(ResponseStatus || (ResponseStatus = {}));
1371
+ export const PersonAcceptanceQL = `
1372
+ type PersonAcceptance {${PersonReferenceFields}
1158
1373
  responseStatus: String!
1159
1374
  }`;
1160
- exports.AttachmentInputQL = `
1375
+ export const AttachmentInputQL = `
1161
1376
  input AttachmentInput {
1162
1377
  externalId: String!
1163
1378
  url: String!
@@ -1165,7 +1380,7 @@ input AttachmentInput {
1165
1380
  mimeType: String
1166
1381
  title: String
1167
1382
  }`;
1168
- exports.AttachmentQL = `
1383
+ export const AttachmentQL = `
1169
1384
  type Attachment {
1170
1385
  externalId: String!
1171
1386
  url: String!
@@ -1173,8 +1388,8 @@ type Attachment {
1173
1388
  mimeType: String
1174
1389
  title: String
1175
1390
  }`;
1176
- exports.EventQL = `
1177
- type Event {${exports.BusinessObjectFields}
1391
+ export const EventQL = `
1392
+ type Event {${BusinessObjectFields}
1178
1393
  calendarId: String!
1179
1394
  eventStatus: String!
1180
1395
  dateStart: Float!
@@ -1188,7 +1403,20 @@ type Event {${exports.BusinessObjectFields}
1188
1403
  attendees: [PersonAcceptance]
1189
1404
  conference: Conference
1190
1405
  }`;
1191
- 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;
1192
1420
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, calendarId, eventStatus, dateStart, organizedBy) {
1193
1421
  super(tenantIdCreated, editors, sharingTags, BlockType.Event, provider, application, uri, externalId);
1194
1422
  this.calendarId = calendarId;
@@ -1197,35 +1425,45 @@ class Event extends BusinessObject {
1197
1425
  this.organizedBy = organizedBy;
1198
1426
  }
1199
1427
  }
1200
- exports.Event = Event;
1201
- exports.CalendarQL = `
1202
- type Calendar {${exports.BusinessObjectFields}
1428
+ export const CalendarQL = `
1429
+ type Calendar {${BusinessObjectFields}
1203
1430
  timeZone: String!
1204
1431
  description: String
1205
1432
  location: String
1206
1433
  events: [Event]
1207
1434
  }`;
1208
- class Calendar extends BusinessObject {
1435
+ export class Calendar extends BusinessObject {
1436
+ timeZone;
1437
+ description;
1438
+ location;
1439
+ events;
1209
1440
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, timeZone) {
1210
1441
  super(tenantIdCreated, editors, sharingTags, BlockType.Calendar, provider, application, uri, externalId);
1211
1442
  this.timeZone = timeZone;
1212
1443
  }
1213
1444
  }
1214
- exports.Calendar = Calendar;
1215
1445
  //// EVENT END
1216
1446
  //// EXTERNAL TASK START
1217
- 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;
1218
1457
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, status, dateDue) {
1219
1458
  super(tenantIdCreated, editors, sharingTags, BlockType.Todo, provider, application, uri, externalId);
1220
1459
  this.status = status;
1221
1460
  this.dateDue = dateDue;
1222
1461
  }
1223
1462
  }
1224
- exports.Todo = Todo;
1225
1463
  //// EXTERNAL TASK END
1226
1464
  //// EMAIL START
1227
- exports.IngestEmailInputQL = `
1228
- input IngestEmailInput {${exports.BlockFieldsForUpsert}
1465
+ export const IngestEmailInputQL = `
1466
+ input IngestEmailInput {${BlockFieldsForUpsert}
1229
1467
  to: [PersonReferenceInput]
1230
1468
  cc: [PersonReferenceInput]
1231
1469
  bcc: [PersonReferenceInput]
@@ -1236,8 +1474,8 @@ input IngestEmailInput {${exports.BlockFieldsForUpsert}
1236
1474
  textContent: String
1237
1475
  createBlockType: String
1238
1476
  }`;
1239
- exports.EmailQL = `
1240
- type Email {${exports.BusinessObjectFields}
1477
+ export const EmailQL = `
1478
+ type Email {${BusinessObjectFields}
1241
1479
  to: [PersonReference]
1242
1480
  cc: [PersonReference]
1243
1481
  bcc: [PersonReference]
@@ -1247,51 +1485,66 @@ type Email {${exports.BusinessObjectFields}
1247
1485
  htmlContent: String
1248
1486
  textContent: String
1249
1487
  }`;
1250
- 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;
1251
1498
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1252
1499
  super(tenantIdCreated, editors, sharingTags, BlockType.Email, provider, application, uri, externalId);
1253
1500
  }
1254
1501
  }
1255
- exports.Email = Email;
1256
1502
  //// EMAIL END
1257
1503
  //// MESSAGING START
1258
- exports.UpsertMessageInputQL = `
1259
- input UpsertMessageInput {${exports.BlockFieldsForUpsert}
1504
+ export const UpsertMessageInputQL = `
1505
+ input UpsertMessageInput {${BlockFieldsForUpsert}
1260
1506
  htmlContent: String
1261
1507
  originReferenceTagId: String
1262
1508
  originReferenceBlock: ReferenceBlockInput
1263
1509
  }`;
1264
- exports.MessageQL = `
1265
- type Message {${exports.BusinessObjectFields}
1510
+ export const MessageQL = `
1511
+ type Message {${BusinessObjectFields}
1266
1512
  htmlContent: String
1267
1513
  originReferenceTagId: String
1268
1514
  }`;
1269
- 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;
1270
1520
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1271
1521
  super(tenantIdCreated, editors, sharingTags, BlockType.Message, provider, application, uri, externalId);
1272
1522
  }
1273
1523
  }
1274
- exports.Message = Message;
1275
1524
  //// MESSAGING END
1276
1525
  //// DOCUMENT START
1277
- exports.DocumentFields = `${exports.BusinessObjectFields}
1526
+ export const DocumentFields = `${BusinessObjectFields}
1278
1527
  title: String
1279
1528
  description: String
1280
1529
  previewImage: String
1281
1530
  htmlContent: String
1282
1531
  metadataType: String`;
1283
- exports.DocumentQL = `
1284
- type Document {${exports.DocumentFields}
1285
- }`;
1286
- 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;
1287
1541
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1288
1542
  super(tenantIdCreated, editors, sharingTags, BlockType.Document, provider, application, uri, externalId);
1289
1543
  }
1290
1544
  }
1291
- exports.Document = Document;
1292
1545
  //// DOCUMENT END
1293
1546
  //// DASHBOARD START
1294
- exports.BlockDataQL = `
1547
+ export const BlockDataQL = `
1295
1548
  type BlockData {
1296
1549
  _id: String!
1297
1550
  dateCreated: Float
@@ -1305,20 +1558,30 @@ type BlockData {
1305
1558
  tagType: String
1306
1559
  search: GraphSearch
1307
1560
  }`;
1308
- 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;
1309
1570
  constructor(name) {
1310
1571
  super();
1311
1572
  this.name = name;
1312
1573
  }
1313
1574
  }
1314
- exports.BlockData = BlockData;
1315
- exports.DashboardQL = `
1316
- type Dashboard {${exports.BusinessObjectFields}
1575
+ export const DashboardQL = `
1576
+ type Dashboard {${BusinessObjectFields}
1317
1577
  metadata: DashboardMetadata
1318
1578
  blockData: [BlockData]
1319
1579
  tagId: String
1320
1580
  }`;
1321
- class Dashboard extends BusinessObject {
1581
+ export class Dashboard extends BusinessObject {
1582
+ metadata;
1583
+ blockData;
1584
+ tagId;
1322
1585
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, dashboardMetadata, tagId) {
1323
1586
  super(tenantIdCreated, editors, sharingTags, BlockType.Dashboard, provider, application, uri, externalId);
1324
1587
  this.tagId = tagId;
@@ -1335,27 +1598,29 @@ class Dashboard extends BusinessObject {
1335
1598
  this.metadata = dashboardMetadata;
1336
1599
  }
1337
1600
  }
1338
- exports.Dashboard = Dashboard;
1339
1601
  //// DASHBOARD END
1340
1602
  //// WEBSITE START
1341
- exports.WebsiteQL = `
1342
- type Website {${exports.BusinessObjectFields}
1603
+ export const WebsiteQL = `
1604
+ type Website {${BusinessObjectFields}
1343
1605
  title: String
1344
1606
  description: String
1345
1607
  bannerImage: String
1346
1608
  htmlContent: String
1347
1609
  }`;
1348
- class Website extends BusinessObject {
1610
+ export class Website extends BusinessObject {
1611
+ title;
1612
+ description;
1613
+ bannerImage;
1614
+ htmlContent;
1349
1615
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1350
1616
  super(tenantIdCreated, editors, sharingTags, BlockType.Website, provider, application, uri, externalId);
1351
1617
  }
1352
1618
  }
1353
- exports.Website = Website;
1354
1619
  //// WEBSITE END
1355
1620
  // BUSINESS OBJECTS END
1356
1621
  // METADATA OBJECTS START
1357
1622
  //// FOR DOCUMENTS START
1358
- exports.BlockDescriptionQL = `
1623
+ export const BlockDescriptionQL = `
1359
1624
  type BlockDescription {
1360
1625
  title: String
1361
1626
  name: String!
@@ -1364,51 +1629,53 @@ type BlockDescription {
1364
1629
  metadataType: String
1365
1630
  tagType: String
1366
1631
  }`;
1367
- exports.DocumentMetadataQL = `
1368
- type DocumentMetadata {${exports.MetadataFields}
1632
+ export const DocumentMetadataQL = `
1633
+ type DocumentMetadata {${MetadataFields}
1369
1634
  blockDescriptions: [BlockDescription]!
1370
1635
  exportTypes: [String]
1371
1636
  }`;
1372
- class DocumentMetadata extends Metadata {
1637
+ export class DocumentMetadata extends Metadata {
1638
+ blockDescriptions;
1639
+ exportTypes; // What export types this document metadata should be used for
1373
1640
  constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
1374
1641
  super(label, description, metadataType, classifiers, threshold);
1375
1642
  this.blockDescriptions = blockDescriptions;
1376
1643
  }
1377
1644
  }
1378
- exports.DocumentMetadata = DocumentMetadata;
1379
- exports.DashboardMetadataQL = `
1380
- type DashboardMetadata {${exports.MetadataFields}
1645
+ export const DashboardMetadataQL = `
1646
+ type DashboardMetadata {${MetadataFields}
1381
1647
  blockDescriptions: [BlockDescription]!
1382
1648
  notificationMetadataTypes: [String]!
1383
1649
  }`;
1384
- class DashboardMetadata extends Metadata {
1650
+ export class DashboardMetadata extends Metadata {
1651
+ blockDescriptions;
1652
+ notificationMetadataTypes;
1385
1653
  constructor(label, description, metadataType, classifiers, threshold, blockDescriptions) {
1386
1654
  super(label, description, metadataType, classifiers, threshold);
1387
1655
  this.blockDescriptions = blockDescriptions;
1388
1656
  this.notificationMetadataTypes = [];
1389
1657
  }
1390
1658
  }
1391
- exports.DashboardMetadata = DashboardMetadata;
1392
- exports.TemplateQL = `
1393
- type Template {${exports.BusinessObjectFields}
1659
+ export const TemplateQL = `
1660
+ type Template {${BusinessObjectFields}
1394
1661
  metadata: DocumentMetadata
1395
1662
  }`;
1396
- class Template extends BusinessObject {
1663
+ export class Template extends BusinessObject {
1664
+ metadata;
1397
1665
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId) {
1398
1666
  super(tenantIdCreated, editors, sharingTags, BlockType.Template, provider, application, uri, externalId);
1399
1667
  }
1400
1668
  }
1401
- exports.Template = Template;
1402
1669
  //// FOR DOCUMENTS END
1403
1670
  //// FOR RECORDS START
1404
- var FieldType;
1671
+ export var FieldType;
1405
1672
  (function (FieldType) {
1406
1673
  FieldType["Text"] = "input";
1407
1674
  FieldType["Select"] = "select";
1408
1675
  FieldType["Checkbox"] = "checkbox";
1409
1676
  FieldType["Lookup"] = "lookup";
1410
- })(FieldType || (exports.FieldType = FieldType = {}));
1411
- var FieldVariation;
1677
+ })(FieldType || (FieldType = {}));
1678
+ export var FieldVariation;
1412
1679
  (function (FieldVariation) {
1413
1680
  FieldVariation["Multi"] = "multi";
1414
1681
  FieldVariation["Password"] = "password";
@@ -1418,15 +1685,15 @@ var FieldVariation;
1418
1685
  FieldVariation["DateTime"] = "datetime";
1419
1686
  FieldVariation["Phone"] = "phone";
1420
1687
  FieldVariation["Url"] = "url";
1421
- })(FieldVariation || (exports.FieldVariation = FieldVariation = {}));
1422
- exports.OptionQL = `
1688
+ })(FieldVariation || (FieldVariation = {}));
1689
+ export const OptionQL = `
1423
1690
  type Option {
1424
1691
  label: String!
1425
1692
  value: String!
1426
1693
  status: String
1427
1694
  priority: String
1428
1695
  }`;
1429
- exports.FieldQL = `
1696
+ export const FieldQL = `
1430
1697
  type Field {
1431
1698
  label: String!
1432
1699
  name: String!
@@ -1442,111 +1709,119 @@ type Field {
1442
1709
  readOnly: Boolean!
1443
1710
  options: [Option]
1444
1711
  }`;
1445
- exports.FieldValueInputQL = `
1712
+ export const FieldValueInputQL = `
1446
1713
  input FieldValueInput {
1447
1714
  name: String!
1448
1715
  value: String
1449
1716
  id: String
1450
1717
  changed: Boolean
1451
1718
  }`;
1452
- exports.FieldValueQL = `
1719
+ export const FieldValueQL = `
1453
1720
  type FieldValue {
1454
1721
  name: String!
1455
1722
  value: String
1456
1723
  id: String
1457
1724
  changed: Boolean
1458
1725
  }`;
1459
- exports.TableMetadataQL = `
1460
- type TableMetadata {${exports.MetadataFields}
1726
+ export const TableMetadataQL = `
1727
+ type TableMetadata {${MetadataFields}
1461
1728
  fields: [Field]!
1462
1729
  tasky: Boolean!
1463
1730
  }`;
1464
- class TableMetadata extends Metadata {
1731
+ export class TableMetadata extends Metadata {
1732
+ fields;
1733
+ tasky;
1465
1734
  constructor(label, description, metadataType, fields, classifiers, threshold) {
1466
1735
  super(label, description, metadataType, classifiers, threshold);
1467
1736
  this.tasky = false;
1468
1737
  this.fields = fields;
1469
1738
  }
1470
1739
  }
1471
- exports.TableMetadata = TableMetadata;
1472
- exports.RecordInputQL = `
1740
+ export const RecordInputQL = `
1473
1741
  input RecordInput {
1474
1742
  _id: String!
1475
1743
  values: [FieldValueInput]!
1476
1744
  }`;
1477
- exports.RecordQL = `
1478
- type Record {${exports.BusinessObjectFields}
1745
+ export const RecordQL = `
1746
+ type Record {${BusinessObjectFields}
1479
1747
  values: [FieldValue]!
1480
1748
  }`;
1481
- class Record extends BusinessObject {
1749
+ export class Record extends BusinessObject {
1750
+ values;
1751
+ enabled;
1752
+ processingStage;
1753
+ processingReason;
1754
+ dashboardId;
1755
+ blockDescriptionName;
1482
1756
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, values) {
1483
1757
  super(tenantIdCreated, editors, sharingTags, BlockType.Record, provider, application, uri, externalId);
1484
1758
  this.values = values;
1485
1759
  this.enabled = true;
1486
1760
  }
1487
1761
  }
1488
- exports.Record = Record;
1489
- exports.TableFields = `${exports.BusinessObjectFields}
1762
+ export const TableFields = `${BusinessObjectFields}
1490
1763
  records: [Record]
1491
1764
  metadata: TableMetadata
1492
1765
  connectionId: String`;
1493
- exports.TableQL = `
1494
- type Table {${exports.TableFields}
1766
+ export const TableQL = `
1767
+ type Table {${TableFields}
1495
1768
  }`;
1496
- 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
1497
1773
  constructor(tenantIdCreated, editors, sharingTags, provider, application, uri, externalId, metadata) {
1498
1774
  super(tenantIdCreated, editors, sharingTags, BlockType.Table, provider, application, uri, externalId);
1499
1775
  this.metadata = metadata;
1500
1776
  }
1501
1777
  }
1502
- exports.Table = Table;
1503
1778
  //// FOR RECORDS END
1504
1779
  // METADATA OBJECTS END
1505
1780
  // API OBJECTS START
1506
- exports.FindRecordInputQL = `
1781
+ export const FindRecordInputQL = `
1507
1782
  input FindRecordInput {
1508
1783
  _id: String
1509
1784
  uri: String
1510
1785
  archived: Boolean
1511
1786
  }`;
1512
- exports.FindRecordsInputQL = `
1787
+ export const FindRecordsInputQL = `
1513
1788
  input FindRecordsInput {
1514
1789
  _ids: [String]
1515
1790
  archived: Boolean
1516
1791
  }`;
1517
- exports.UpsertRecordsInputQL = `
1792
+ export const UpsertRecordsInputQL = `
1518
1793
  input UpsertRecordsInput {
1519
1794
  _id: String!
1520
1795
  records: [RecordInput]
1521
1796
  recommendationId: String
1522
1797
  connectionId: String
1523
1798
  }`;
1524
- exports.FindTenantInputQL = `
1799
+ export const FindTenantInputQL = `
1525
1800
  input FindTenantInput {
1526
1801
  _id: String!
1527
1802
  }`;
1528
- exports.FindTenantsInputQL = `
1803
+ export const FindTenantsInputQL = `
1529
1804
  input FindTenantsInput {
1530
1805
  domainId: String
1531
1806
  }`;
1532
- exports.FindDomainInputQL = `
1807
+ export const FindDomainInputQL = `
1533
1808
  input FindDomainInput {
1534
1809
  _id: String!
1535
1810
  }`;
1536
- exports.FindCalendarInputQL = `
1811
+ export const FindCalendarInputQL = `
1537
1812
  input FindCalendarInput {
1538
1813
  _id: String!
1539
1814
  }`;
1540
- exports.FindEventInputQL = `
1815
+ export const FindEventInputQL = `
1541
1816
  input FindEventInput {
1542
1817
  _id: String!
1543
1818
  }`;
1544
- exports.FindDocumentInputQL = `
1819
+ export const FindDocumentInputQL = `
1545
1820
  input FindDocumentInput {
1546
1821
  _id: String!
1547
1822
  archived: Boolean
1548
1823
  }`;
1549
- exports.UpsertDocumentInputQL = `
1824
+ export const UpsertDocumentInputQL = `
1550
1825
  input UpsertDocumentInput {
1551
1826
  _id: String
1552
1827
  document: String!
@@ -1554,16 +1829,16 @@ input UpsertDocumentInput {
1554
1829
  recommendationId: String
1555
1830
  connectionId: String
1556
1831
  }`;
1557
- exports.FindDashboardInputQL = `
1832
+ export const FindDashboardInputQL = `
1558
1833
  input FindDashboardInput {
1559
1834
  _id: String!
1560
1835
  archived: Boolean
1561
1836
  }`;
1562
- exports.FindDashboardBlockInputQL = `
1837
+ export const FindDashboardBlockInputQL = `
1563
1838
  input FindDashboardBlockInput {
1564
1839
  _id: String!
1565
1840
  }`;
1566
- exports.UpsertNoteInputQL = `
1841
+ export const UpsertNoteInputQL = `
1567
1842
  input UpsertNoteInput {
1568
1843
  _id: String
1569
1844
  document: String
@@ -1572,66 +1847,75 @@ input UpsertNoteInput {
1572
1847
  favorite: Boolean
1573
1848
  dateAssociated: Float
1574
1849
  }`;
1575
- exports.FindBlockInputQL = `
1850
+ export const FindBlockInputQL = `
1576
1851
  input FindBlockInput {
1577
1852
  _id: String!
1578
1853
  blockType: String
1579
1854
  archived: Boolean
1580
1855
  }`;
1581
- exports.FindBlocksInputQL = `
1856
+ export const FindBlocksInputQL = `
1582
1857
  input FindBlocksInput {
1583
1858
  originReferenceBlock: ReferenceBlockInput
1584
1859
  originReferenceTagId: String
1585
1860
  blockType: String
1586
1861
  archived: Boolean
1587
1862
  }`;
1588
- exports.ArchiveBlockInputQL = `
1863
+ export const ArchiveBlockInputQL = `
1589
1864
  input ArchiveBlockInput {
1590
1865
  _id: String!
1591
1866
  blockType: String
1592
1867
  archive: Boolean
1593
1868
  }`;
1594
- exports.ArchiveBlockOutputQL = `
1869
+ export const ArchiveBlockOutputQL = `
1595
1870
  type ArchiveBlockOutput {
1596
1871
  _id: String!
1597
1872
  archived: Boolean!
1598
1873
  }`;
1599
- exports.UpdateRecommendationInputQL = `
1874
+ export const UpdateRecommendationInputQL = `
1600
1875
  input UpdateRecommendationInput {
1601
1876
  _id: String!
1602
1877
  thumbs: String
1603
1878
  comment: String
1604
1879
  }`;
1605
- exports.ArchiveRecommendationInputQL = `
1880
+ export const ArchiveRecommendationInputQL = `
1606
1881
  input ArchiveRecommendationInput {
1607
1882
  _id: String!
1608
1883
  archive: Boolean
1609
1884
  }`;
1610
- exports.ArchiveRecommendationOutputQL = `
1885
+ export const ArchiveRecommendationOutputQL = `
1611
1886
  type ArchiveRecommendationOutput {
1612
1887
  _id: String!
1613
1888
  archived: Boolean!
1614
1889
  }`;
1615
- exports.FindProviderInputQL = `
1890
+ export const FindProviderInputQL = `
1616
1891
  input FindProviderInput {
1617
1892
  _id: String
1618
1893
  provider: String
1619
1894
  }`;
1620
- 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 = `
1621
1905
  input FindSyncInput {
1622
1906
  _id: String!
1623
1907
  }`;
1624
- exports.SharingDomainInputQL = `
1908
+ export const SharingDomainInputQL = `
1625
1909
  input SharingDomainInput {
1626
1910
  domainId: String!
1627
1911
  sharingLevel: Int!
1628
1912
  }`;
1629
- exports.SharingTenantInputQL = `
1913
+ export const SharingTenantInputQL = `
1630
1914
  input SharingTenantInput {
1631
1915
  tenantId: String!
1632
1916
  sharingLevel: Int!
1633
1917
  }`;
1634
- exports.UpsertTagInputQL = `
1918
+ export const UpsertTagInputQL = `
1635
1919
  input UpsertTagInput {
1636
1920
  _id: ID
1637
1921
  alias: String
@@ -1653,7 +1937,7 @@ input UpsertTagInput {
1653
1937
  hasAutoShareTasksOn: Boolean
1654
1938
  sharingLevel: Int
1655
1939
  }`;
1656
- exports.FindTagInputQL = `
1940
+ export const FindTagInputQL = `
1657
1941
  input FindTagInput {
1658
1942
  _id: String!
1659
1943
  archived: Boolean
@@ -1661,43 +1945,43 @@ input FindTagInput {
1661
1945
  tagType: String
1662
1946
  tagSubType: String
1663
1947
  }`;
1664
- exports.FindTagsInputQL = `
1948
+ export const FindTagsInputQL = `
1665
1949
  input FindTagsInput {
1666
1950
  alias: String
1667
1951
  friendlyName: String
1668
1952
  archived: Boolean
1669
1953
  favorite: Boolean
1670
1954
  }`;
1671
- exports.ArchiveTagInputQL = `
1955
+ export const ArchiveTagInputQL = `
1672
1956
  input ArchiveTagInput {
1673
1957
  _id: String!
1674
1958
  archive: Boolean
1675
1959
  }`;
1676
- exports.ArchiveTagOutputQL = `
1960
+ export const ArchiveTagOutputQL = `
1677
1961
  type ArchiveTagOutput {
1678
1962
  _id: String!
1679
1963
  archived: Boolean!
1680
1964
  }`;
1681
- exports.MergeTagInputQL = `
1965
+ export const MergeTagInputQL = `
1682
1966
  input MergeTagInput {
1683
1967
  tagIdToRemain: String!
1684
1968
  tagIdToMerge: String!
1685
1969
  }`;
1686
- exports.SetSharingTagInputQL = `
1970
+ export const SetSharingTagInputQL = `
1687
1971
  input SetSharingTagInput {
1688
1972
  referenceBlock: ReferenceBlockInput!
1689
1973
  sharingTag: InviteSharingTagInput!
1690
1974
  }`;
1691
- exports.DeleteSharingTagInputQL = `
1975
+ export const DeleteSharingTagInputQL = `
1692
1976
  input DeleteSharingTagInput {
1693
1977
  referenceBlock: ReferenceBlockInput!
1694
1978
  tagId: String!
1695
1979
  }`;
1696
- exports.UpdateTaskInputQL = `
1697
- input UpsertTaskInput {${exports.BlockFieldsForUpsert}
1980
+ export const UpdateTaskInputQL = `
1981
+ input UpsertTaskInput {${BlockFieldsForUpsert}
1698
1982
  editor: EditorInput!
1699
1983
  }`;
1700
- exports.UpsertFolderInputQL = `
1984
+ export const UpsertFolderInputQL = `
1701
1985
  input UpsertFolderInput {
1702
1986
  _id: String
1703
1987
  sharingTags: [SharingTagInput]
@@ -1706,26 +1990,26 @@ input UpsertFolderInput {
1706
1990
  description: String
1707
1991
  searchIds: [String]
1708
1992
  }`;
1709
- exports.FindFolderInputQL = `
1993
+ export const FindFolderInputQL = `
1710
1994
  input FindFolderInput {
1711
1995
  _id: String!
1712
1996
  archived: Boolean
1713
1997
  }`;
1714
- exports.FindFoldersInputQL = `
1998
+ export const FindFoldersInputQL = `
1715
1999
  input FindFoldersInput {
1716
2000
  archived: Boolean
1717
2001
  }`;
1718
- exports.ArchiveFolderInputQL = `
2002
+ export const ArchiveFolderInputQL = `
1719
2003
  input ArchiveFolderInput {
1720
2004
  _id: String!
1721
2005
  archive: Boolean
1722
2006
  }`;
1723
- exports.ArchiveFolderOutputQL = `
2007
+ export const ArchiveFolderOutputQL = `
1724
2008
  type ArchiveFolderOutput {
1725
2009
  _id: String!
1726
2010
  archived: Boolean!
1727
2011
  }`;
1728
- exports.UpsertSearchInputQL = `
2012
+ export const UpsertSearchInputQL = `
1729
2013
  input UpsertSearchInput {
1730
2014
  _id: String
1731
2015
  blockType: String
@@ -1750,26 +2034,26 @@ input UpsertSearchInput {
1750
2034
  snoozed: Boolean
1751
2035
  size: Int
1752
2036
  }`;
1753
- exports.FindSearchInputQL = `
2037
+ export const FindSearchInputQL = `
1754
2038
  input FindSearchInput {
1755
2039
  _id: String!
1756
2040
  archived: Boolean
1757
2041
  }`;
1758
- exports.FindSearchesInputQL = `
2042
+ export const FindSearchesInputQL = `
1759
2043
  input FindSearchesInput {
1760
2044
  archived: Boolean
1761
2045
  }`;
1762
- exports.ArchiveSearchInputQL = `
2046
+ export const ArchiveSearchInputQL = `
1763
2047
  input ArchiveSearchInput {
1764
2048
  _id: String!
1765
2049
  archive: Boolean
1766
2050
  }`;
1767
- exports.ArchiveSearchOutputQL = `
2051
+ export const ArchiveSearchOutputQL = `
1768
2052
  type ArchiveSearchOutput {
1769
2053
  _id: String!
1770
2054
  archived: Boolean!
1771
2055
  }`;
1772
- exports.SearchTagsInputQL = `
2056
+ export const SearchTagsInputQL = `
1773
2057
  input SearchTagsInput {
1774
2058
  tagType: String
1775
2059
  tagSubType: String
@@ -1777,7 +2061,7 @@ input SearchTagsInput {
1777
2061
  parentId: String
1778
2062
  externalId: String
1779
2063
  connectionId: String
1780
- _ids: [String]
2064
+ _ids: [String] = []
1781
2065
  tenantIdVerifieds: [String]
1782
2066
  search: String
1783
2067
  email: String
@@ -1794,16 +2078,16 @@ input SearchTagsInput {
1794
2078
  size: Int
1795
2079
  generateDashboard: Boolean
1796
2080
  }`;
1797
- exports.SearchInputQL = `
2081
+ export const SearchInputQL = `
1798
2082
  input SearchInput {
1799
2083
  blockType: String
1800
2084
  recommendationType: String
1801
2085
  label: String
1802
- search: String
1803
- _ids: [String]
1804
- tagIds: [String]
1805
- emails: [String]
1806
- businessObjects: [BusinessObjectLinkInput]
2086
+ search: String
2087
+ _ids: [String] = []
2088
+ tagIds: [String] = []
2089
+ emails: [String] = []
2090
+ businessObjects: [BusinessObjectLinkInput] = []
1807
2091
  orderByDateUpdated: String
1808
2092
  orderByDateCreated: String
1809
2093
  orderByDateDue: String
@@ -1821,12 +2105,14 @@ input SearchInput {
1821
2105
  page: Int
1822
2106
  size: Int
1823
2107
  }`;
1824
- exports.BlockTypeQL = `
2108
+ export const BlockTypeQL = `
1825
2109
  enum BlockType {
1826
2110
  ${BlockType.Calendar.toUpperCase()}
2111
+ ${BlockType.Changeset.toUpperCase()}
1827
2112
  ${BlockType.Transcription.toUpperCase()}
1828
2113
  ${BlockType.Dashboard.toUpperCase()}
1829
2114
  ${BlockType.Document.toUpperCase()}
2115
+ ${BlockType.Email.toUpperCase()}
1830
2116
  ${BlockType.Event.toUpperCase()}
1831
2117
  ${BlockType.Folder.toUpperCase()}
1832
2118
  ${BlockType.Note.toUpperCase()}
@@ -1840,7 +2126,7 @@ enum BlockType {
1840
2126
  ${BlockType.Todo.toUpperCase()}
1841
2127
  ${BlockType.Website.toUpperCase()}
1842
2128
  }`;
1843
- exports.RecommendationTypeQL = `
2129
+ export const RecommendationTypeQL = `
1844
2130
  enum RecommendationType {
1845
2131
  ${RecommendationType.Connect.toUpperCase()}
1846
2132
  ${RecommendationType.Share.toUpperCase()}
@@ -1848,114 +2134,114 @@ enum RecommendationType {
1848
2134
  ${RecommendationType.Notification.toUpperCase()}
1849
2135
  ${RecommendationType.Ingestion.toUpperCase()}
1850
2136
  }`;
1851
- exports.TaskStatusQL = `
2137
+ export const TaskStatusQL = `
1852
2138
  enum TaskStatus {
1853
2139
  ${TaskStatus.Completed.toUpperCase()}
1854
2140
  ${TaskStatus.InProgress.toUpperCase()}
1855
2141
  ${TaskStatus.NotStarted.toUpperCase()}
1856
2142
  }`;
1857
- exports.OrderDirectionQL = `
2143
+ export const OrderDirectionQL = `
1858
2144
  enum OrderDirection {
1859
2145
  ASC
1860
2146
  DESC
1861
2147
  }`;
1862
- var OrderDirection;
2148
+ export var OrderDirection;
1863
2149
  (function (OrderDirection) {
1864
2150
  OrderDirection["Ascending"] = "asc";
1865
2151
  OrderDirection["Descending"] = "desc";
1866
- })(OrderDirection || (exports.OrderDirection = OrderDirection = {}));
1867
- exports.FindTagsVisibilityInputQL = `
2152
+ })(OrderDirection || (OrderDirection = {}));
2153
+ export const FindTagsVisibilityInputQL = `
1868
2154
  input FindTagsVisibilityInput {
1869
2155
  tagIds: [String]
1870
2156
  sharingTags: [SharingTagInput]
1871
2157
  }`;
1872
- exports.ReactionQL = `
2158
+ export const ReactionQL = `
1873
2159
  type Reaction {
1874
2160
  shortcodes: String!
1875
2161
  tagIds: [String]
1876
2162
  }`;
1877
- exports.FindReactionsInputQL = `
2163
+ export const FindReactionsInputQL = `
1878
2164
  input FindReactionsInput {
1879
2165
  _id: String!
1880
2166
  blockType: BlockType!
1881
2167
  }`;
1882
- exports.AddReactionInputQL = `
2168
+ export const AddReactionInputQL = `
1883
2169
  input AddReactionInput {
1884
2170
  _id: String!
1885
2171
  blockType: BlockType!
1886
2172
  shortcodes: String!
1887
2173
  }`;
1888
- exports.RemoveReactionInputQL = `
2174
+ export const RemoveReactionInputQL = `
1889
2175
  input RemoveReactionInput {
1890
2176
  _id: String!
1891
2177
  blockType: BlockType!
1892
2178
  shortcodes: String!
1893
2179
  }`;
1894
- exports.ParentItemFields = `
2180
+ export const ParentItemFields = `
1895
2181
  _id: String
1896
2182
  blockType: BlockType
1897
2183
  `;
1898
- exports.ParentItemInputQL = `
1899
- input ParentItemInput {${exports.ParentItemFields}
2184
+ export const ParentItemInputQL = `
2185
+ input ParentItemInput {${ParentItemFields}
1900
2186
  children: [ChildItemInput]
1901
2187
  }`;
1902
- exports.ParentItemQL = `
1903
- type ParentItem {${exports.ParentItemFields}
2188
+ export const ParentItemQL = `
2189
+ type ParentItem {${ParentItemFields}
1904
2190
  children: [ChildItem]
1905
2191
  }`;
1906
- exports.ChildItemFields = `
2192
+ export const ChildItemFields = `
1907
2193
  _id: String
1908
2194
  blockType: BlockType
1909
2195
  `;
1910
- exports.ChildItemInputQL = `
1911
- input ChildItemInput {${exports.ChildItemFields}
2196
+ export const ChildItemInputQL = `
2197
+ input ChildItemInput {${ChildItemFields}
1912
2198
  }`;
1913
- exports.ChildItemQL = `
1914
- type ChildItem {${exports.ChildItemFields}
2199
+ export const ChildItemQL = `
2200
+ type ChildItem {${ChildItemFields}
1915
2201
  }`;
1916
- exports.NumberFilterFieldsQL = `
2202
+ export const NumberFilterFieldsQL = `
1917
2203
  gt: Float
1918
2204
  gte: Float
1919
2205
  eq: Float
1920
2206
  lte: Float
1921
2207
  lt: Float`;
1922
- exports.NumberFilterQL = `
1923
- type NumberFilter {${exports.NumberFilterFieldsQL}}`;
1924
- exports.NumberFilterInputQL = `
1925
- input NumberFilterInput {${exports.NumberFilterFieldsQL}}`;
1926
- exports.StringFilterFieldsQL = `
2208
+ export const NumberFilterQL = `
2209
+ type NumberFilter {${NumberFilterFieldsQL}}`;
2210
+ export const NumberFilterInputQL = `
2211
+ input NumberFilterInput {${NumberFilterFieldsQL}}`;
2212
+ export const StringFilterFieldsQL = `
1927
2213
  eq: String
1928
2214
  contains: String
1929
2215
  startsWith: String
1930
2216
  endsWith: String`;
1931
- exports.StringFilterQL = `
1932
- type StringFilter {${exports.StringFilterFieldsQL}
2217
+ export const StringFilterQL = `
2218
+ type StringFilter {${StringFilterFieldsQL}
1933
2219
  }`;
1934
- exports.StringFilterInputQL = `
1935
- input StringFilterInput {${exports.StringFilterFieldsQL}
2220
+ export const StringFilterInputQL = `
2221
+ input StringFilterInput {${StringFilterFieldsQL}
1936
2222
  }`;
1937
- exports.BusinessObjectFilterFieldsQL = `
2223
+ export const BusinessObjectFilterFieldsQL = `
1938
2224
  id: String
1939
2225
  url: String
1940
2226
  blockType: BlockType
1941
2227
  provider: String
1942
2228
  metadataType: String`;
1943
- exports.BusinessObjectFilterQL = `
1944
- type BusinessObjectFilter {${exports.BusinessObjectFilterFieldsQL}
2229
+ export const BusinessObjectFilterQL = `
2230
+ type BusinessObjectFilter {${BusinessObjectFilterFieldsQL}
1945
2231
  }`;
1946
- exports.BusinessObjectFilterInputQL = `
1947
- input BusinessObjectFilterInput {${exports.BusinessObjectFilterFieldsQL}
2232
+ export const BusinessObjectFilterInputQL = `
2233
+ input BusinessObjectFilterInput {${BusinessObjectFilterFieldsQL}
1948
2234
  }`;
1949
- exports.SortOptionFieldsQL = `
2235
+ export const SortOptionFieldsQL = `
1950
2236
  field: String
1951
2237
  order: OrderDirection`;
1952
- exports.SortOptionQL = `
1953
- type SortOption {${exports.SortOptionFieldsQL}
2238
+ export const SortOptionQL = `
2239
+ type SortOption {${SortOptionFieldsQL}
1954
2240
  }`;
1955
- exports.SortOptionInputQL = `
1956
- input SortOptionInput {${exports.SortOptionFieldsQL}
2241
+ export const SortOptionInputQL = `
2242
+ input SortOptionInput {${SortOptionFieldsQL}
1957
2243
  }`;
1958
- exports.GraphSearchInputFields = `
2244
+ export const GraphSearchInputFields = `
1959
2245
  search: String
1960
2246
  _ids: [String]
1961
2247
  tenantIdCreateds: [String]
@@ -1981,7 +2267,7 @@ exports.GraphSearchInputFields = `
1981
2267
  page: Int
1982
2268
  size: Int
1983
2269
  `;
1984
- exports.GraphSearchFields = `
2270
+ export const GraphSearchFields = `
1985
2271
  search: String
1986
2272
  _ids: [String]
1987
2273
  tenantIdCreateds: [String]
@@ -2007,20 +2293,20 @@ exports.GraphSearchFields = `
2007
2293
  page: Int
2008
2294
  size: Int
2009
2295
  `;
2010
- exports.GraphSearchQL = `
2011
- type GraphSearch {${exports.GraphSearchFields}
2296
+ export const GraphSearchQL = `
2297
+ type GraphSearch {${GraphSearchFields}
2012
2298
  }`;
2013
- exports.GraphSearchInputQL = `
2014
- input GraphSearchInput {${exports.GraphSearchInputFields}
2299
+ export const GraphSearchInputQL = `
2300
+ input GraphSearchInput {${GraphSearchInputFields}
2015
2301
  }`;
2016
- exports.GraphSearchEventsInputQL = `
2017
- input GraphSearchEventsInput {${exports.GraphSearchInputFields}
2302
+ export const GraphSearchEventsInputQL = `
2303
+ input GraphSearchEventsInput {${GraphSearchInputFields}
2018
2304
  calendarId: String
2019
2305
  dateStart: NumberFilterInput
2020
2306
  dateEnd: NumberFilterInput
2021
2307
  subject: StringFilterInput
2022
2308
  }`;
2023
- exports.UpdateTagSharingInputQL = `
2309
+ export const UpdateTagSharingInputQL = `
2024
2310
  input UpdateTagSharingInput {
2025
2311
  _id: String!
2026
2312
  emailDomain: Boolean
@@ -2028,166 +2314,171 @@ input UpdateTagSharingInput {
2028
2314
  sharingDomains: [SharingDomainInput]
2029
2315
  }`;
2030
2316
  // THE GRAPH QL DEFINITIONS
2031
- exports.GraphQLTypes = `
2032
- ${exports.HighlightQL}
2033
- ${exports.EditorInputQL}
2034
- ${exports.EditorQL}
2035
- ${exports.InviteSharingTagInputQL}
2036
- ${exports.SharingTagInputQL}
2037
- ${exports.SharingTagQL}
2038
- ${exports.SharingDomainQL}
2039
- ${exports.TenantSettingQL}
2040
- ${exports.SharingTenantQL}
2041
- ${exports.BusinessObjectLinkInputQL}
2042
- ${exports.BusinessObjectLinkQL}
2043
- ${exports.ExternalIdLinkInputQL}
2044
- ${exports.ExternalIdLinkQL}
2045
- ${exports.TaskStepInputQL}
2046
- ${exports.FindTagsVisibilityInputQL}
2047
- ${exports.ReactionQL}
2048
- ${exports.FindReactionsInputQL}
2049
- ${exports.AddReactionInputQL}
2050
- ${exports.RemoveReactionInputQL}
2051
- ${exports.TaskStepQL}
2052
- ${exports.EntityReferenceQL}
2053
- ${exports.ArgumentEntryQL}
2054
- ${exports.RelationEntryQL}
2055
- ${exports.EntityEntryQL}
2056
- ${exports.ProviderInfoQL}
2057
- ${exports.ProviderRequestQL}
2058
- ${exports.ProviderResponseQL}
2059
- ${exports.StandardObjectsQL}
2060
- ${exports.CredentialQL}
2061
- ${exports.ChangesInputQL}
2062
- ${exports.ChangesQL}
2063
- ${exports.FindExternalTagReferencesInputQL}
2064
- ${exports.FindExternalTagReferenceInputQL}
2065
- ${exports.PersonReferenceInputQL}
2066
- ${exports.PersonReferenceQL}
2067
- ${exports.MetadataQL}
2068
- ${exports.FolderQL}
2069
- ${exports.SearchQL}
2070
- ${exports.SyncQL}
2071
- ${exports.DashboardTagSubscriptionQL}
2072
- ${exports.ProviderApplicationQL}
2073
- ${exports.ExternalIdQL}
2074
- ${exports.ProviderQL}
2075
- ${exports.TagTypeQL}
2076
- ${exports.GraphTagQL}
2077
- ${exports.GraphTagsInputQL}
2078
- ${exports.TagQL}
2079
- ${exports.TagRecommendationQL}
2080
- ${exports.TenantLightInputQL}
2081
- ${exports.TenantLightQL}
2082
- ${exports.ConnectRecommendationQL}
2083
- ${exports.ReactionRecommendationQL}
2084
- ${exports.ChangeRecommendationQL}
2085
- ${exports.UpsertRecommendationQL}
2086
- ${exports.ShareRecommendationQL}
2087
- ${exports.IngestionRecommendationQL}
2088
- ${exports.MessageRecommendationQL}
2089
- ${exports.NotificationRecommendationQL}
2090
- ${exports.RecommendationQL}
2091
- ${exports.ConnectedProviderQL}
2092
- ${exports.ReferenceBlockInputQL}
2093
- ${exports.ReferenceBlockQL}
2094
- ${exports.DomainQL}
2095
- ${exports.TenantQL}
2096
- ${exports.BlockQL}
2097
- ${exports.BusinessObjectQL}
2098
- ${exports.NoteQL}
2099
- ${exports.TaskQL}
2100
- ${exports.TranscriptionQL}
2101
- ${exports.IngestTranscriptionInputQL}
2102
- ${exports.ConferenceEntrypointQL}
2103
- ${exports.ConferenceQL}
2104
- ${exports.AttachmentInputQL}
2105
- ${exports.AttachmentQL}
2106
- ${exports.PersonAcceptanceQL}
2107
- ${exports.EventQL}
2108
- ${exports.CalendarQL}
2109
- ${exports.IngestEmailInputQL}
2110
- ${exports.EmailQL}
2111
- ${exports.UpsertMessageInputQL}
2112
- ${exports.MessageQL}
2113
- ${exports.DocumentQL}
2114
- ${exports.BlockDataQL}
2115
- ${exports.DashboardQL}
2116
- ${exports.DashboardMetadataQL}
2117
- ${exports.WebsiteQL}
2118
- ${exports.BlockDescriptionQL}
2119
- ${exports.DocumentMetadataQL}
2120
- ${exports.TemplateQL}
2121
- ${exports.OptionQL}
2122
- ${exports.FieldQL}
2123
- ${exports.FieldValueQL}
2124
- ${exports.FieldValueInputQL}
2125
- ${exports.TableMetadataQL}
2126
- ${exports.RecordQL}
2127
- ${exports.RecordInputQL}
2128
- ${exports.TableQL}
2129
- ${exports.FindRecordInputQL}
2130
- ${exports.FindRecordsInputQL}
2131
- ${exports.UpsertRecordsInputQL}
2132
- ${exports.FindTenantInputQL}
2133
- ${exports.FindTenantsInputQL}
2134
- ${exports.FindDomainInputQL}
2135
- ${exports.FindCalendarInputQL}
2136
- ${exports.FindEventInputQL}
2137
- ${exports.UpsertNoteInputQL}
2138
- ${exports.UpsertDocumentInputQL}
2139
- ${exports.FindDocumentInputQL}
2140
- ${exports.FindDashboardInputQL}
2141
- ${exports.FindDashboardBlockInputQL}
2142
- ${exports.FindBlockInputQL}
2143
- ${exports.FindBlocksInputQL}
2144
- ${exports.ArchiveBlockInputQL}
2145
- ${exports.ArchiveBlockOutputQL}
2146
- ${exports.UpdateRecommendationInputQL}
2147
- ${exports.ArchiveRecommendationInputQL}
2148
- ${exports.ArchiveRecommendationOutputQL}
2149
- ${exports.FindProviderInputQL}
2150
- ${exports.FindSyncInputQL}
2151
- ${exports.SharingDomainInputQL}
2152
- ${exports.SharingTenantInputQL}
2153
- ${exports.UpsertTagInputQL}
2154
- ${exports.FindTagInputQL}
2155
- ${exports.FindTagsInputQL}
2156
- ${exports.ArchiveTagInputQL}
2157
- ${exports.ArchiveTagOutputQL}
2158
- ${exports.MergeTagInputQL}
2159
- ${exports.SetSharingTagInputQL}
2160
- ${exports.DeleteSharingTagInputQL}
2161
- ${exports.UpdateTaskInputQL}
2162
- ${exports.UpsertFolderInputQL}
2163
- ${exports.FindFolderInputQL}
2164
- ${exports.FindFoldersInputQL}
2165
- ${exports.ArchiveFolderInputQL}
2166
- ${exports.ArchiveFolderOutputQL}
2167
- ${exports.UpsertSearchInputQL}
2168
- ${exports.FindSearchInputQL}
2169
- ${exports.FindSearchesInputQL}
2170
- ${exports.ArchiveSearchInputQL}
2171
- ${exports.ArchiveSearchOutputQL}
2172
- ${exports.SearchTagsInputQL}
2173
- ${exports.SearchInputQL}
2174
- ${exports.UpdateTagSharingInputQL}
2175
- ${exports.BlockTypeQL}
2176
- ${exports.RecommendationTypeQL}
2177
- ${exports.TaskStatusQL}
2178
- ${exports.OrderDirectionQL}
2179
- ${exports.ParentItemQL}
2180
- ${exports.ParentItemInputQL}
2181
- ${exports.ChildItemQL}
2182
- ${exports.ChildItemInputQL}
2183
- ${exports.NumberFilterQL}
2184
- ${exports.NumberFilterInputQL}
2185
- ${exports.StringFilterQL}
2186
- ${exports.StringFilterInputQL}
2187
- ${exports.BusinessObjectFilterQL}
2188
- ${exports.BusinessObjectFilterInputQL}
2189
- ${exports.SortOptionQL}
2190
- ${exports.SortOptionInputQL}
2191
- ${exports.GraphSearchQL}
2192
- ${exports.GraphSearchInputQL}
2193
- ${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