@maxim_mazurok/gapi.client.sheets-v4 0.0.20240416 → 0.0.20240423

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 (2) hide show
  1. package/index.d.ts +30 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
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: 20240416
12
+ // Revision: 20240423
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -462,6 +462,24 @@ declare namespace gapi.client {
462
462
  /** The data containing the bubble y-values. These values locate the bubbles in the chart vertically. */
463
463
  series?: ChartData;
464
464
  }
465
+ interface CancelDataSourceRefreshRequest {
466
+ /** Reference to a DataSource. If specified, cancels all associated data source object refreshes for this data source. */
467
+ dataSourceId?: string;
468
+ /** Cancels all existing data source object refreshes for all data sources in the spreadsheet. */
469
+ isAll?: boolean;
470
+ /** References to data source objects whose refreshes are to be cancelled. */
471
+ references?: DataSourceObjectReferences;
472
+ }
473
+ interface CancelDataSourceRefreshResponse {
474
+ /** The cancellation statuses of refreshes of all data source objects specified in the request. If is_all is specified, the field contains only those in failure status. Refreshing and canceling refresh the same data source object is also not allowed in the same `batchUpdate`. */
475
+ statuses?: CancelDataSourceRefreshStatus[];
476
+ }
477
+ interface CancelDataSourceRefreshStatus {
478
+ /** Reference to the data source object whose refresh is being cancelled. */
479
+ reference?: DataSourceObjectReference;
480
+ /** The cancellation status. */
481
+ refreshCancellationStatus?: RefreshCancellationStatus;
482
+ }
465
483
  interface CandlestickChartSpec {
466
484
  /** The Candlestick chart data. Only one CandlestickData is supported. */
467
485
  data?: CandlestickData[];
@@ -1541,6 +1559,12 @@ declare namespace gapi.client {
1541
1559
  /** The range to randomize. */
1542
1560
  range?: GridRange;
1543
1561
  }
1562
+ interface RefreshCancellationStatus {
1563
+ /** The error code. */
1564
+ errorCode?: string;
1565
+ /** The state of a call to cancel a refresh in Sheets. */
1566
+ state?: string;
1567
+ }
1544
1568
  interface RefreshDataSourceObjectExecutionStatus {
1545
1569
  /** The data execution status. */
1546
1570
  dataExecutionStatus?: DataExecutionStatus;
@@ -1598,6 +1622,8 @@ declare namespace gapi.client {
1598
1622
  autoFill?: AutoFillRequest;
1599
1623
  /** Automatically resizes one or more dimensions based on the contents of the cells in that dimension. */
1600
1624
  autoResizeDimensions?: AutoResizeDimensionsRequest;
1625
+ /** Cancels refreshes of one or multiple data sources and associated dbobjects. */
1626
+ cancelDataSourceRefresh?: CancelDataSourceRefreshRequest;
1601
1627
  /** Clears the basic filter on a sheet. */
1602
1628
  clearBasicFilter?: ClearBasicFilterRequest;
1603
1629
  /** Copies data from one area and pastes it to another. */
@@ -1720,6 +1746,8 @@ declare namespace gapi.client {
1720
1746
  addSheet?: AddSheetResponse;
1721
1747
  /** A reply from adding a slicer. */
1722
1748
  addSlicer?: AddSlicerResponse;
1749
+ /** A reply from cancelling data source object refreshes. */
1750
+ cancelDataSourceRefresh?: CancelDataSourceRefreshResponse;
1723
1751
  /** A reply from creating a developer metadata entry. */
1724
1752
  createDeveloperMetadata?: CreateDeveloperMetadataResponse;
1725
1753
  /** A reply from deleting a conditional format rule. */
@@ -1920,7 +1948,7 @@ declare namespace gapi.client {
1920
1948
  autoRecalc?: string;
1921
1949
  /** The default format of all cells in the spreadsheet. CellData.effectiveFormat will not be set if the cell's format is equal to this default format. This field is read-only. */
1922
1950
  defaultFormat?: CellFormat;
1923
- /** Whether to allow external url access for image and import functions. Read only when true. When false, you can set to true. */
1951
+ /** Whether to allow external URL access for image and import functions. Read only when true. When false, you can set to true. */
1924
1952
  importFunctionsExternalUrlAccessAllowed?: boolean;
1925
1953
  /** Determines whether and how circular references are resolved with iterative calculation. Absence of this field means that circular references result in calculation errors. */
1926
1954
  iterativeCalculationSettings?: IterativeCalculationSettings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sheets-v4",
3
- "version": "0.0.20240416",
3
+ "version": "0.0.20240423",
4
4
  "description": "TypeScript typings for Google Sheets API v4",
5
5
  "repository": {
6
6
  "type": "git",