graphlit-client 1.0.20250622006 → 1.0.20250625001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts
CHANGED
@@ -183,6 +183,11 @@ declare class Graphlit {
|
|
183
183
|
continueConversation(id: string, responses: Types.ConversationToolResponseInput[], correlationId?: string): Promise<Types.ContinueConversationMutation>;
|
184
184
|
publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishConversationMutation>;
|
185
185
|
suggestConversation(id: string, count?: number, correlationId?: string): Promise<Types.SuggestConversationMutation>;
|
186
|
+
queryMicrosoftCalendars(properties: Types.MicrosoftCalendarsInput): Promise<Types.QueryMicrosoftCalendarsQuery>;
|
187
|
+
queryGoogleCalendars(properties: Types.GoogleCalendarsInput): Promise<Types.QueryGoogleCalendarsQuery>;
|
188
|
+
queryBoxFolders(properties: Types.BoxFoldersInput, folderId?: string): Promise<Types.QueryBoxFoldersQuery>;
|
189
|
+
queryDropboxFolders(properties: Types.DropboxFoldersInput, folderPath?: string): Promise<Types.QueryDropboxFoldersQuery>;
|
190
|
+
queryGoogleDriveFolders(properties: Types.GoogleDriveFoldersInput, folderId?: string): Promise<Types.QueryGoogleDriveFoldersQuery>;
|
186
191
|
queryOneDriveFolders(properties: Types.OneDriveFoldersInput, folderId?: string): Promise<Types.QueryOneDriveFoldersQuery>;
|
187
192
|
querySharePointFolders(properties: Types.SharePointFoldersInput, libraryId: string, folderId?: string): Promise<Types.QuerySharePointFoldersQuery>;
|
188
193
|
querySharePointLibraries(properties: Types.SharePointLibrariesInput): Promise<Types.QuerySharePointLibrariesQuery>;
|
@@ -229,6 +234,7 @@ declare class Graphlit {
|
|
229
234
|
createUser(user: Types.UserInput): Promise<Types.CreateUserMutation>;
|
230
235
|
updateUser(user: Types.UserUpdateInput): Promise<Types.UpdateUserMutation>;
|
231
236
|
deleteUser(id: string): Promise<Types.DeleteUserMutation>;
|
237
|
+
getUserByIdentifier(identifier: string): Promise<Types.GetUserByIdentifierQuery>;
|
232
238
|
getUser(): Promise<Types.GetUserQuery>;
|
233
239
|
queryUsers(filter?: Types.UserFilter): Promise<Types.QueryUsersQuery>;
|
234
240
|
countUsers(filter?: Types.UserFilter): Promise<Types.CountUsersQuery>;
|
package/dist/client.js
CHANGED
@@ -875,6 +875,34 @@ class Graphlit {
|
|
875
875
|
correlationId: correlationId,
|
876
876
|
});
|
877
877
|
}
|
878
|
+
async queryMicrosoftCalendars(properties) {
|
879
|
+
return this.queryAndCheckError(Documents.QueryMicrosoftCalendars, {
|
880
|
+
properties: properties,
|
881
|
+
});
|
882
|
+
}
|
883
|
+
async queryGoogleCalendars(properties) {
|
884
|
+
return this.queryAndCheckError(Documents.QueryGoogleCalendars, {
|
885
|
+
properties: properties,
|
886
|
+
});
|
887
|
+
}
|
888
|
+
async queryBoxFolders(properties, folderId) {
|
889
|
+
return this.queryAndCheckError(Documents.QueryBoxFolders, {
|
890
|
+
properties: properties,
|
891
|
+
folderId: folderId,
|
892
|
+
});
|
893
|
+
}
|
894
|
+
async queryDropboxFolders(properties, folderPath) {
|
895
|
+
return this.queryAndCheckError(Documents.QueryDropboxFolders, {
|
896
|
+
properties: properties,
|
897
|
+
folderPath: folderPath,
|
898
|
+
});
|
899
|
+
}
|
900
|
+
async queryGoogleDriveFolders(properties, folderId) {
|
901
|
+
return this.queryAndCheckError(Documents.QueryGoogleDriveFolders, {
|
902
|
+
properties: properties,
|
903
|
+
folderId: folderId,
|
904
|
+
});
|
905
|
+
}
|
878
906
|
async queryOneDriveFolders(properties, folderId) {
|
879
907
|
return this.queryAndCheckError(Documents.QueryOneDriveFolders, {
|
880
908
|
properties: properties,
|
@@ -1041,6 +1069,9 @@ class Graphlit {
|
|
1041
1069
|
async deleteUser(id) {
|
1042
1070
|
return this.mutateAndCheckError(Documents.DeleteUser, { id: id });
|
1043
1071
|
}
|
1072
|
+
async getUserByIdentifier(identifier) {
|
1073
|
+
return this.queryAndCheckError(Documents.GetUserByIdentifier, { identifier: identifier });
|
1074
|
+
}
|
1044
1075
|
async getUser() {
|
1045
1076
|
return this.queryAndCheckError(Documents.GetUser, {});
|
1046
1077
|
}
|
@@ -98,8 +98,13 @@ export declare const FeedExists: import("graphql").DocumentNode;
|
|
98
98
|
export declare const GetFeed: import("graphql").DocumentNode;
|
99
99
|
export declare const GetSharePointConsentUri: import("graphql").DocumentNode;
|
100
100
|
export declare const IsFeedDone: import("graphql").DocumentNode;
|
101
|
+
export declare const QueryBoxFolders: import("graphql").DocumentNode;
|
102
|
+
export declare const QueryDropboxFolders: import("graphql").DocumentNode;
|
101
103
|
export declare const QueryFeeds: import("graphql").DocumentNode;
|
104
|
+
export declare const QueryGoogleCalendars: import("graphql").DocumentNode;
|
105
|
+
export declare const QueryGoogleDriveFolders: import("graphql").DocumentNode;
|
102
106
|
export declare const QueryLinearProjects: import("graphql").DocumentNode;
|
107
|
+
export declare const QueryMicrosoftCalendars: import("graphql").DocumentNode;
|
103
108
|
export declare const QueryMicrosoftTeamsChannels: import("graphql").DocumentNode;
|
104
109
|
export declare const QueryMicrosoftTeamsTeams: import("graphql").DocumentNode;
|
105
110
|
export declare const QueryNotionDatabases: import("graphql").DocumentNode;
|
@@ -1088,6 +1088,48 @@ export const GetContent = gql `
|
|
1088
1088
|
familyName
|
1089
1089
|
}
|
1090
1090
|
}
|
1091
|
+
event {
|
1092
|
+
eventIdentifier
|
1093
|
+
calendarIdentifier
|
1094
|
+
subject
|
1095
|
+
startDateTime
|
1096
|
+
endDateTime
|
1097
|
+
isAllDay
|
1098
|
+
timezone
|
1099
|
+
status
|
1100
|
+
visibility
|
1101
|
+
meetingLink
|
1102
|
+
organizer {
|
1103
|
+
name
|
1104
|
+
email
|
1105
|
+
isOptional
|
1106
|
+
isOrganizer
|
1107
|
+
responseStatus
|
1108
|
+
}
|
1109
|
+
attendees {
|
1110
|
+
name
|
1111
|
+
email
|
1112
|
+
isOptional
|
1113
|
+
isOrganizer
|
1114
|
+
responseStatus
|
1115
|
+
}
|
1116
|
+
categories
|
1117
|
+
reminders {
|
1118
|
+
minutesBefore
|
1119
|
+
method
|
1120
|
+
}
|
1121
|
+
recurrence {
|
1122
|
+
pattern
|
1123
|
+
interval
|
1124
|
+
count
|
1125
|
+
until
|
1126
|
+
daysOfWeek
|
1127
|
+
dayOfMonth
|
1128
|
+
monthOfYear
|
1129
|
+
}
|
1130
|
+
recurringEventIdentifier
|
1131
|
+
isRecurring
|
1132
|
+
}
|
1091
1133
|
issue {
|
1092
1134
|
identifier
|
1093
1135
|
title
|
@@ -1759,6 +1801,48 @@ export const LookupContents = gql `
|
|
1759
1801
|
familyName
|
1760
1802
|
}
|
1761
1803
|
}
|
1804
|
+
event {
|
1805
|
+
eventIdentifier
|
1806
|
+
calendarIdentifier
|
1807
|
+
subject
|
1808
|
+
startDateTime
|
1809
|
+
endDateTime
|
1810
|
+
isAllDay
|
1811
|
+
timezone
|
1812
|
+
status
|
1813
|
+
visibility
|
1814
|
+
meetingLink
|
1815
|
+
organizer {
|
1816
|
+
name
|
1817
|
+
email
|
1818
|
+
isOptional
|
1819
|
+
isOrganizer
|
1820
|
+
responseStatus
|
1821
|
+
}
|
1822
|
+
attendees {
|
1823
|
+
name
|
1824
|
+
email
|
1825
|
+
isOptional
|
1826
|
+
isOrganizer
|
1827
|
+
responseStatus
|
1828
|
+
}
|
1829
|
+
categories
|
1830
|
+
reminders {
|
1831
|
+
minutesBefore
|
1832
|
+
method
|
1833
|
+
}
|
1834
|
+
recurrence {
|
1835
|
+
pattern
|
1836
|
+
interval
|
1837
|
+
count
|
1838
|
+
until
|
1839
|
+
daysOfWeek
|
1840
|
+
dayOfMonth
|
1841
|
+
monthOfYear
|
1842
|
+
}
|
1843
|
+
recurringEventIdentifier
|
1844
|
+
isRecurring
|
1845
|
+
}
|
1762
1846
|
issue {
|
1763
1847
|
identifier
|
1764
1848
|
title
|
@@ -2154,6 +2238,7 @@ export const QueryContents = gql `
|
|
2154
2238
|
latitude
|
2155
2239
|
longitude
|
2156
2240
|
}
|
2241
|
+
features
|
2157
2242
|
type
|
2158
2243
|
fileType
|
2159
2244
|
mimeType
|
@@ -2277,6 +2362,48 @@ export const QueryContents = gql `
|
|
2277
2362
|
familyName
|
2278
2363
|
}
|
2279
2364
|
}
|
2365
|
+
event {
|
2366
|
+
eventIdentifier
|
2367
|
+
calendarIdentifier
|
2368
|
+
subject
|
2369
|
+
startDateTime
|
2370
|
+
endDateTime
|
2371
|
+
isAllDay
|
2372
|
+
timezone
|
2373
|
+
status
|
2374
|
+
visibility
|
2375
|
+
meetingLink
|
2376
|
+
organizer {
|
2377
|
+
name
|
2378
|
+
email
|
2379
|
+
isOptional
|
2380
|
+
isOrganizer
|
2381
|
+
responseStatus
|
2382
|
+
}
|
2383
|
+
attendees {
|
2384
|
+
name
|
2385
|
+
email
|
2386
|
+
isOptional
|
2387
|
+
isOrganizer
|
2388
|
+
responseStatus
|
2389
|
+
}
|
2390
|
+
categories
|
2391
|
+
reminders {
|
2392
|
+
minutesBefore
|
2393
|
+
method
|
2394
|
+
}
|
2395
|
+
recurrence {
|
2396
|
+
pattern
|
2397
|
+
interval
|
2398
|
+
count
|
2399
|
+
until
|
2400
|
+
daysOfWeek
|
2401
|
+
dayOfMonth
|
2402
|
+
monthOfYear
|
2403
|
+
}
|
2404
|
+
recurringEventIdentifier
|
2405
|
+
isRecurring
|
2406
|
+
}
|
2280
2407
|
issue {
|
2281
2408
|
identifier
|
2282
2409
|
title
|
@@ -2420,6 +2547,7 @@ export const QueryContentsObservations = gql `
|
|
2420
2547
|
latitude
|
2421
2548
|
longitude
|
2422
2549
|
}
|
2550
|
+
features
|
2423
2551
|
type
|
2424
2552
|
fileType
|
2425
2553
|
mimeType
|
@@ -2543,6 +2671,48 @@ export const QueryContentsObservations = gql `
|
|
2543
2671
|
familyName
|
2544
2672
|
}
|
2545
2673
|
}
|
2674
|
+
event {
|
2675
|
+
eventIdentifier
|
2676
|
+
calendarIdentifier
|
2677
|
+
subject
|
2678
|
+
startDateTime
|
2679
|
+
endDateTime
|
2680
|
+
isAllDay
|
2681
|
+
timezone
|
2682
|
+
status
|
2683
|
+
visibility
|
2684
|
+
meetingLink
|
2685
|
+
organizer {
|
2686
|
+
name
|
2687
|
+
email
|
2688
|
+
isOptional
|
2689
|
+
isOrganizer
|
2690
|
+
responseStatus
|
2691
|
+
}
|
2692
|
+
attendees {
|
2693
|
+
name
|
2694
|
+
email
|
2695
|
+
isOptional
|
2696
|
+
isOrganizer
|
2697
|
+
responseStatus
|
2698
|
+
}
|
2699
|
+
categories
|
2700
|
+
reminders {
|
2701
|
+
minutesBefore
|
2702
|
+
method
|
2703
|
+
}
|
2704
|
+
recurrence {
|
2705
|
+
pattern
|
2706
|
+
interval
|
2707
|
+
count
|
2708
|
+
until
|
2709
|
+
daysOfWeek
|
2710
|
+
dayOfMonth
|
2711
|
+
monthOfYear
|
2712
|
+
}
|
2713
|
+
recurringEventIdentifier
|
2714
|
+
isRecurring
|
2715
|
+
}
|
2546
2716
|
issue {
|
2547
2717
|
identifier
|
2548
2718
|
title
|
@@ -6161,6 +6331,27 @@ export const GetFeed = gql `
|
|
6161
6331
|
}
|
6162
6332
|
readLimit
|
6163
6333
|
}
|
6334
|
+
calendar {
|
6335
|
+
type
|
6336
|
+
includeAttachments
|
6337
|
+
google {
|
6338
|
+
calendarId
|
6339
|
+
beforeDate
|
6340
|
+
afterDate
|
6341
|
+
refreshToken
|
6342
|
+
clientId
|
6343
|
+
clientSecret
|
6344
|
+
}
|
6345
|
+
microsoft {
|
6346
|
+
calendarId
|
6347
|
+
beforeDate
|
6348
|
+
afterDate
|
6349
|
+
refreshToken
|
6350
|
+
clientId
|
6351
|
+
clientSecret
|
6352
|
+
}
|
6353
|
+
readLimit
|
6354
|
+
}
|
6164
6355
|
rss {
|
6165
6356
|
readLimit
|
6166
6357
|
uri
|
@@ -6264,6 +6455,26 @@ export const IsFeedDone = gql `
|
|
6264
6455
|
}
|
6265
6456
|
}
|
6266
6457
|
`;
|
6458
|
+
export const QueryBoxFolders = gql `
|
6459
|
+
query QueryBoxFolders($properties: BoxFoldersInput!, $folderId: ID) {
|
6460
|
+
boxFolders(properties: $properties, folderId: $folderId) {
|
6461
|
+
results {
|
6462
|
+
folderName
|
6463
|
+
folderId
|
6464
|
+
}
|
6465
|
+
}
|
6466
|
+
}
|
6467
|
+
`;
|
6468
|
+
export const QueryDropboxFolders = gql `
|
6469
|
+
query QueryDropboxFolders($properties: DropboxFoldersInput!, $folderPath: String) {
|
6470
|
+
dropboxFolders(properties: $properties, folderPath: $folderPath) {
|
6471
|
+
results {
|
6472
|
+
folderName
|
6473
|
+
folderId
|
6474
|
+
}
|
6475
|
+
}
|
6476
|
+
}
|
6477
|
+
`;
|
6267
6478
|
export const QueryFeeds = gql `
|
6268
6479
|
query QueryFeeds($filter: FeedFilter, $correlationId: String) {
|
6269
6480
|
feeds(filter: $filter, correlationId: $correlationId) {
|
@@ -6416,6 +6627,27 @@ export const QueryFeeds = gql `
|
|
6416
6627
|
}
|
6417
6628
|
readLimit
|
6418
6629
|
}
|
6630
|
+
calendar {
|
6631
|
+
type
|
6632
|
+
includeAttachments
|
6633
|
+
google {
|
6634
|
+
calendarId
|
6635
|
+
beforeDate
|
6636
|
+
afterDate
|
6637
|
+
refreshToken
|
6638
|
+
clientId
|
6639
|
+
clientSecret
|
6640
|
+
}
|
6641
|
+
microsoft {
|
6642
|
+
calendarId
|
6643
|
+
beforeDate
|
6644
|
+
afterDate
|
6645
|
+
refreshToken
|
6646
|
+
clientId
|
6647
|
+
clientSecret
|
6648
|
+
}
|
6649
|
+
readLimit
|
6650
|
+
}
|
6419
6651
|
rss {
|
6420
6652
|
readLimit
|
6421
6653
|
uri
|
@@ -6506,6 +6738,26 @@ export const QueryFeeds = gql `
|
|
6506
6738
|
}
|
6507
6739
|
}
|
6508
6740
|
`;
|
6741
|
+
export const QueryGoogleCalendars = gql `
|
6742
|
+
query QueryGoogleCalendars($properties: GoogleCalendarsInput!) {
|
6743
|
+
googleCalendars(properties: $properties) {
|
6744
|
+
results {
|
6745
|
+
calendarName
|
6746
|
+
calendarId
|
6747
|
+
}
|
6748
|
+
}
|
6749
|
+
}
|
6750
|
+
`;
|
6751
|
+
export const QueryGoogleDriveFolders = gql `
|
6752
|
+
query QueryGoogleDriveFolders($properties: GoogleDriveFoldersInput!, $folderId: ID) {
|
6753
|
+
googleDriveFolders(properties: $properties, folderId: $folderId) {
|
6754
|
+
results {
|
6755
|
+
folderName
|
6756
|
+
folderId
|
6757
|
+
}
|
6758
|
+
}
|
6759
|
+
}
|
6760
|
+
`;
|
6509
6761
|
export const QueryLinearProjects = gql `
|
6510
6762
|
query QueryLinearProjects($properties: LinearProjectsInput!) {
|
6511
6763
|
linearProjects(properties: $properties) {
|
@@ -6513,6 +6765,16 @@ export const QueryLinearProjects = gql `
|
|
6513
6765
|
}
|
6514
6766
|
}
|
6515
6767
|
`;
|
6768
|
+
export const QueryMicrosoftCalendars = gql `
|
6769
|
+
query QueryMicrosoftCalendars($properties: MicrosoftCalendarsInput!) {
|
6770
|
+
microsoftCalendars(properties: $properties) {
|
6771
|
+
results {
|
6772
|
+
calendarName
|
6773
|
+
calendarId
|
6774
|
+
}
|
6775
|
+
}
|
6776
|
+
}
|
6777
|
+
`;
|
6516
6778
|
export const QueryMicrosoftTeamsChannels = gql `
|
6517
6779
|
query QueryMicrosoftTeamsChannels($properties: MicrosoftTeamsChannelsInput!, $teamId: ID!) {
|
6518
6780
|
microsoftTeamsChannels(properties: $properties, teamId: $teamId) {
|