graphlit-client 1.0.20260303001 → 1.0.20260303003

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
@@ -1115,13 +1115,20 @@ declare class Graphlit {
1115
1115
  * @returns The Dropbox folders.
1116
1116
  */
1117
1117
  queryDropboxFolders(properties: Types.DropboxFoldersInput, folderPath?: string): Promise<Types.QueryDropboxFoldersQuery>;
1118
+ /**
1119
+ * Queries Google Drive shared drives.
1120
+ * @param properties - The Google Drive drives query properties.
1121
+ * @returns The Google Drive shared drives.
1122
+ */
1123
+ queryGoogleDriveDrives(properties: Types.GoogleDriveDrivesInput): Promise<Types.QueryGoogleDriveDrivesQuery>;
1118
1124
  /**
1119
1125
  * Queries Google Drive folders.
1120
1126
  * @param properties - The Google Drive folder query properties.
1121
1127
  * @param folderId - The parent folder ID, optional.
1128
+ * @param driveId - The shared drive ID, optional.
1122
1129
  * @returns The Google Drive folders.
1123
1130
  */
1124
- queryGoogleDriveFolders(properties: Types.GoogleDriveFoldersInput, folderId?: string): Promise<Types.QueryGoogleDriveFoldersQuery>;
1131
+ queryGoogleDriveFolders(properties: Types.GoogleDriveFoldersInput, folderId?: string, driveId?: string): Promise<Types.QueryGoogleDriveFoldersQuery>;
1125
1132
  /**
1126
1133
  * Queries OneDrive folders.
1127
1134
  * @param properties - The OneDrive folder query properties.
package/dist/client.js CHANGED
@@ -2063,16 +2063,28 @@ class Graphlit {
2063
2063
  folderPath: folderPath,
2064
2064
  });
2065
2065
  }
2066
+ /**
2067
+ * Queries Google Drive shared drives.
2068
+ * @param properties - The Google Drive drives query properties.
2069
+ * @returns The Google Drive shared drives.
2070
+ */
2071
+ async queryGoogleDriveDrives(properties) {
2072
+ return this.queryAndCheckError(Documents.QueryGoogleDriveDrives, {
2073
+ properties: properties,
2074
+ });
2075
+ }
2066
2076
  /**
2067
2077
  * Queries Google Drive folders.
2068
2078
  * @param properties - The Google Drive folder query properties.
2069
2079
  * @param folderId - The parent folder ID, optional.
2080
+ * @param driveId - The shared drive ID, optional.
2070
2081
  * @returns The Google Drive folders.
2071
2082
  */
2072
- async queryGoogleDriveFolders(properties, folderId) {
2083
+ async queryGoogleDriveFolders(properties, folderId, driveId) {
2073
2084
  return this.queryAndCheckError(Documents.QueryGoogleDriveFolders, {
2074
2085
  properties: properties,
2075
2086
  folderId: folderId,
2087
+ driveId: driveId,
2076
2088
  });
2077
2089
  }
2078
2090
  /**
@@ -9144,6 +9144,7 @@ export const GetFeed = gql `
9144
9144
  }
9145
9145
  googleDrive {
9146
9146
  authenticationType
9147
+ driveId
9147
9148
  folderId
9148
9149
  files
9149
9150
  refreshToken
@@ -10050,6 +10051,7 @@ export const QueryFeeds = gql `
10050
10051
  }
10051
10052
  googleDrive {
10052
10053
  authenticationType
10054
+ driveId
10053
10055
  folderId
10054
10056
  files
10055
10057
  refreshToken
@@ -8017,6 +8017,8 @@ export type GoogleDriveFeedProperties = {
8017
8017
  clientSecret?: Maybe<Scalars['String']['output']>;
8018
8018
  /** Authentication connector reference. */
8019
8019
  connector?: Maybe<EntityReference>;
8020
+ /** Google Drive shared drive identifier. */
8021
+ driveId?: Maybe<Scalars['ID']['output']>;
8020
8022
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
8021
8023
  files?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
8022
8024
  /** Google Drive folder identifier. */
@@ -8036,6 +8038,8 @@ export type GoogleDriveFeedPropertiesInput = {
8036
8038
  clientSecret?: InputMaybe<Scalars['String']['input']>;
8037
8039
  /** The authentication connector reference. */
8038
8040
  connector?: InputMaybe<EntityReferenceInput>;
8041
+ /** Google Drive shared drive identifier. */
8042
+ driveId?: InputMaybe<Scalars['ID']['input']>;
8039
8043
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
8040
8044
  files?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
8041
8045
  /** Google Drive folder identifier. */
@@ -8055,6 +8059,8 @@ export type GoogleDriveFeedPropertiesUpdateInput = {
8055
8059
  clientSecret?: InputMaybe<Scalars['String']['input']>;
8056
8060
  /** The authentication connector reference. */
8057
8061
  connector?: InputMaybe<EntityReferenceInput>;
8062
+ /** Google Drive shared drive identifier. */
8063
+ driveId?: InputMaybe<Scalars['ID']['input']>;
8058
8064
  /** Google Drive file identifiers. Takes precedence over folder identifier. */
8059
8065
  files?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
8060
8066
  /** Google Drive folder identifier. */
@@ -33506,6 +33512,7 @@ export type GetFeedQuery = {
33506
33512
  googleDrive?: {
33507
33513
  __typename?: 'GoogleDriveFeedProperties';
33508
33514
  authenticationType?: GoogleDriveAuthenticationTypes | null;
33515
+ driveId?: string | null;
33509
33516
  folderId?: string | null;
33510
33517
  files?: Array<string | null> | null;
33511
33518
  refreshToken?: string | null;
@@ -34598,6 +34605,7 @@ export type QueryFeedsQuery = {
34598
34605
  googleDrive?: {
34599
34606
  __typename?: 'GoogleDriveFeedProperties';
34600
34607
  authenticationType?: GoogleDriveAuthenticationTypes | null;
34608
+ driveId?: string | null;
34601
34609
  folderId?: string | null;
34602
34610
  files?: Array<string | null> | null;
34603
34611
  refreshToken?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20260303001",
3
+ "version": "1.0.20260303003",
4
4
  "description": "Graphlit API Client for TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/client.js",