@maxim_mazurok/gapi.client.sheets-v4 0.0.20250114 → 0.0.20250128

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 (3) hide show
  1. package/index.d.ts +15 -15
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://sheets.googleapis.com/$discovery/rest?version=v4
12
- // Revision: 20250114
12
+ // Revision: 20250128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Google Sheets API v4 */
18
18
  function load(
19
- urlOrObject: 'https://sheets.googleapis.com/$discovery/rest?version=v4'
19
+ urlOrObject: 'https://sheets.googleapis.com/$discovery/rest?version=v4',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'sheets', version: 'v4'): Promise<void>;
@@ -2429,7 +2429,7 @@ declare namespace gapi.client {
2429
2429
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2430
2430
  uploadType?: string;
2431
2431
  },
2432
- body: SearchDeveloperMetadataRequest
2432
+ body: SearchDeveloperMetadataRequest,
2433
2433
  ): client.Request<SearchDeveloperMetadataResponse>;
2434
2434
  }
2435
2435
  interface SheetsResource {
@@ -2493,7 +2493,7 @@ declare namespace gapi.client {
2493
2493
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2494
2494
  uploadType?: string;
2495
2495
  },
2496
- body: CopySheetToAnotherSpreadsheetRequest
2496
+ body: CopySheetToAnotherSpreadsheetRequest,
2497
2497
  ): client.Request<SheetProperties>;
2498
2498
  }
2499
2499
  interface ValuesResource {
@@ -2577,7 +2577,7 @@ declare namespace gapi.client {
2577
2577
  /** How the input data should be interpreted. */
2578
2578
  valueInputOption?: string;
2579
2579
  },
2580
- body: ValueRange
2580
+ body: ValueRange,
2581
2581
  ): client.Request<AppendValuesResponse>;
2582
2582
  /** Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting and data validation) are kept. */
2583
2583
  batchClear(request: {
@@ -2635,7 +2635,7 @@ declare namespace gapi.client {
2635
2635
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2636
2636
  uploadType?: string;
2637
2637
  },
2638
- body: BatchClearValuesRequest
2638
+ body: BatchClearValuesRequest,
2639
2639
  ): client.Request<BatchClearValuesResponse>;
2640
2640
  /** Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. */
2641
2641
  batchClearByDataFilter(request: {
@@ -2693,7 +2693,7 @@ declare namespace gapi.client {
2693
2693
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2694
2694
  uploadType?: string;
2695
2695
  },
2696
- body: BatchClearValuesByDataFilterRequest
2696
+ body: BatchClearValuesByDataFilterRequest,
2697
2697
  ): client.Request<BatchClearValuesByDataFilterResponse>;
2698
2698
  /** Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. */
2699
2699
  batchGet(request?: {
@@ -2786,7 +2786,7 @@ declare namespace gapi.client {
2786
2786
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2787
2787
  uploadType?: string;
2788
2788
  },
2789
- body: BatchGetValuesByDataFilterRequest
2789
+ body: BatchGetValuesByDataFilterRequest,
2790
2790
  ): client.Request<BatchGetValuesByDataFilterResponse>;
2791
2791
  /** Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. */
2792
2792
  batchUpdate(request: {
@@ -2844,7 +2844,7 @@ declare namespace gapi.client {
2844
2844
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2845
2845
  uploadType?: string;
2846
2846
  },
2847
- body: BatchUpdateValuesRequest
2847
+ body: BatchUpdateValuesRequest,
2848
2848
  ): client.Request<BatchUpdateValuesResponse>;
2849
2849
  /** Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges. */
2850
2850
  batchUpdateByDataFilter(request: {
@@ -2902,7 +2902,7 @@ declare namespace gapi.client {
2902
2902
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2903
2903
  uploadType?: string;
2904
2904
  },
2905
- body: BatchUpdateValuesByDataFilterRequest
2905
+ body: BatchUpdateValuesByDataFilterRequest,
2906
2906
  ): client.Request<BatchUpdateValuesByDataFilterResponse>;
2907
2907
  /** Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. */
2908
2908
  clear(request: {
@@ -2964,7 +2964,7 @@ declare namespace gapi.client {
2964
2964
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2965
2965
  uploadType?: string;
2966
2966
  },
2967
- body: ClearValuesRequest
2967
+ body: ClearValuesRequest,
2968
2968
  ): client.Request<ClearValuesResponse>;
2969
2969
  /** Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. */
2970
2970
  get(request?: {
@@ -3077,7 +3077,7 @@ declare namespace gapi.client {
3077
3077
  /** How the input data should be interpreted. */
3078
3078
  valueInputOption?: string;
3079
3079
  },
3080
- body: ValueRange
3080
+ body: ValueRange,
3081
3081
  ): client.Request<UpdateValuesResponse>;
3082
3082
  }
3083
3083
  interface SpreadsheetsResource {
@@ -3137,7 +3137,7 @@ declare namespace gapi.client {
3137
3137
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3138
3138
  uploadType?: string;
3139
3139
  },
3140
- body: BatchUpdateSpreadsheetRequest
3140
+ body: BatchUpdateSpreadsheetRequest,
3141
3141
  ): client.Request<BatchUpdateSpreadsheetResponse>;
3142
3142
  /** Creates a spreadsheet, returning the newly created spreadsheet. */
3143
3143
  create(request: {
@@ -3191,7 +3191,7 @@ declare namespace gapi.client {
3191
3191
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3192
3192
  uploadType?: string;
3193
3193
  },
3194
- body: Spreadsheet
3194
+ body: Spreadsheet,
3195
3195
  ): client.Request<Spreadsheet>;
3196
3196
  /** Returns the spreadsheet at the given ID. The caller must specify the spreadsheet ID. By default, data within grids is not returned. You can include grid data in one of 2 ways: * Specify a [field mask](https://developers.google.com/sheets/api/guides/field-masks) listing your desired fields using the `fields` URL parameter in HTTP * Set the includeGridData URL parameter to true. If a field mask is set, the `includeGridData` parameter is ignored For large spreadsheets, as a best practice, retrieve only the specific spreadsheet fields that you want. To retrieve only subsets of spreadsheet data, use the ranges URL parameter. Ranges are specified using [A1 notation](/sheets/api/guides/concepts#cell). You can define a single cell (for example, `A1`) or multiple cells (for example, `A1:D5`). You can also get cells from other sheets within the same spreadsheet (for example, `Sheet2!A1:C4`) or retrieve multiple ranges at once (for example, `?ranges=A1:D5&ranges=Sheet2!A1:C4`). Limiting the range returns only the portions of the spreadsheet that intersect the requested ranges. */
3197
3197
  get(request?: {
@@ -3280,7 +3280,7 @@ declare namespace gapi.client {
3280
3280
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3281
3281
  uploadType?: string;
3282
3282
  },
3283
- body: GetSpreadsheetByDataFilterRequest
3283
+ body: GetSpreadsheetByDataFilterRequest,
3284
3284
  ): client.Request<Spreadsheet>;
3285
3285
  developerMetadata: DeveloperMetadataResource;
3286
3286
  sheets: SheetsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sheets-v4",
3
- "version": "0.0.20250114",
3
+ "version": "0.0.20250128",
4
4
  "description": "TypeScript typings for Google Sheets API v4",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.sheets
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -74,7 +74,7 @@ gapi.auth.authorize(
74
74
  } else {
75
75
  /* handle authorization error */
76
76
  }
77
- }
77
+ },
78
78
  );
79
79
  ```
80
80