@maxim_mazurok/gapi.client.sheets-v4 0.2.20260625 → 0.3.20260625

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 +26 -83
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -272,9 +272,7 @@ declare namespace gapi.client {
272
272
  | 'STEPPED_AREA';
273
273
  /** The behavior of tooltips and data highlighting when hovering on data and chart area. */
274
274
  compareMode?:
275
- | 'BASIC_CHART_COMPARE_MODE_UNSPECIFIED'
276
- | 'DATUM'
277
- | 'CATEGORY';
275
+ 'BASIC_CHART_COMPARE_MODE_UNSPECIFIED' | 'DATUM' | 'CATEGORY';
278
276
  /** The domain of data this is charting. Only a single domain is supported. */
279
277
  domains?: BasicChartDomain[];
280
278
  /** The number of rows or columns in the data that are "headers". If not set, Google Sheets will guess how many rows are headers based on the data. (Note that BasicChartAxis.title may override the axis title inferred from the header values.) */
@@ -395,14 +393,10 @@ declare namespace gapi.client {
395
393
  responseDateTimeRenderOption?: 'SERIAL_NUMBER' | 'FORMATTED_STRING';
396
394
  /** Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. */
397
395
  responseValueRenderOption?:
398
- | 'FORMATTED_VALUE'
399
- | 'UNFORMATTED_VALUE'
400
- | 'FORMULA';
396
+ 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
401
397
  /** How the input data should be interpreted. */
402
398
  valueInputOption?:
403
- | 'INPUT_VALUE_OPTION_UNSPECIFIED'
404
- | 'RAW'
405
- | 'USER_ENTERED';
399
+ 'INPUT_VALUE_OPTION_UNSPECIFIED' | 'RAW' | 'USER_ENTERED';
406
400
  }
407
401
  interface BatchUpdateValuesByDataFilterResponse {
408
402
  /** The response for each range updated. */
@@ -427,14 +421,10 @@ declare namespace gapi.client {
427
421
  responseDateTimeRenderOption?: 'SERIAL_NUMBER' | 'FORMATTED_STRING';
428
422
  /** Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. */
429
423
  responseValueRenderOption?:
430
- | 'FORMATTED_VALUE'
431
- | 'UNFORMATTED_VALUE'
432
- | 'FORMULA';
424
+ 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
433
425
  /** How the input data should be interpreted. */
434
426
  valueInputOption?:
435
- | 'INPUT_VALUE_OPTION_UNSPECIFIED'
436
- | 'RAW'
437
- | 'USER_ENTERED';
427
+ 'INPUT_VALUE_OPTION_UNSPECIFIED' | 'RAW' | 'USER_ENTERED';
438
428
  }
439
429
  interface BatchUpdateValuesResponse {
440
430
  /** One UpdateValuesResponse per requested range, in the same order as the requests appeared. */
@@ -657,34 +647,24 @@ declare namespace gapi.client {
657
647
  borders?: Borders;
658
648
  /** The horizontal alignment of the value in the cell. */
659
649
  horizontalAlignment?:
660
- | 'HORIZONTAL_ALIGN_UNSPECIFIED'
661
- | 'LEFT'
662
- | 'CENTER'
663
- | 'RIGHT';
650
+ 'HORIZONTAL_ALIGN_UNSPECIFIED' | 'LEFT' | 'CENTER' | 'RIGHT';
664
651
  /** If one exists, how a hyperlink should be displayed in the cell. */
665
652
  hyperlinkDisplayType?:
666
- | 'HYPERLINK_DISPLAY_TYPE_UNSPECIFIED'
667
- | 'LINKED'
668
- | 'PLAIN_TEXT';
653
+ 'HYPERLINK_DISPLAY_TYPE_UNSPECIFIED' | 'LINKED' | 'PLAIN_TEXT';
669
654
  /** A format describing how number values should be represented to the user. */
670
655
  numberFormat?: NumberFormat;
671
656
  /** The padding of the cell. */
672
657
  padding?: Padding;
673
658
  /** The direction of the text in the cell. */
674
659
  textDirection?:
675
- | 'TEXT_DIRECTION_UNSPECIFIED'
676
- | 'LEFT_TO_RIGHT'
677
- | 'RIGHT_TO_LEFT';
660
+ 'TEXT_DIRECTION_UNSPECIFIED' | 'LEFT_TO_RIGHT' | 'RIGHT_TO_LEFT';
678
661
  /** The format of the text in the cell (unless overridden by a format run). Setting a cell-level link here clears the cell's existing links. Setting the link field in a TextFormatRun takes precedence over the cell-level link. */
679
662
  textFormat?: TextFormat;
680
663
  /** The rotation applied to text in the cell. */
681
664
  textRotation?: TextRotation;
682
665
  /** The vertical alignment of the value in the cell. */
683
666
  verticalAlignment?:
684
- | 'VERTICAL_ALIGN_UNSPECIFIED'
685
- | 'TOP'
686
- | 'MIDDLE'
687
- | 'BOTTOM';
667
+ 'VERTICAL_ALIGN_UNSPECIFIED' | 'TOP' | 'MIDDLE' | 'BOTTOM';
688
668
  /** The wrap strategy for the value in the cell. */
689
669
  wrapStrategy?:
690
670
  | 'WRAP_STRATEGY_UNSPECIFIED'
@@ -1083,8 +1063,7 @@ declare namespace gapi.client {
1083
1063
  nextRun?: Interval;
1084
1064
  /** The scope of the refresh. Must be ALL_DATA_SOURCES. */
1085
1065
  refreshScope?:
1086
- | 'DATA_SOURCE_REFRESH_SCOPE_UNSPECIFIED'
1087
- | 'ALL_DATA_SOURCES';
1066
+ 'DATA_SOURCE_REFRESH_SCOPE_UNSPECIFIED' | 'ALL_DATA_SOURCES';
1088
1067
  /** Weekly refresh schedule. */
1089
1068
  weeklySchedule?: DataSourceRefreshWeeklySchedule;
1090
1069
  }
@@ -1262,9 +1241,7 @@ declare namespace gapi.client {
1262
1241
  metadataValue?: string;
1263
1242
  /** The metadata visibility. Developer metadata must always have visibility specified. */
1264
1243
  visibility?:
1265
- | 'DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED'
1266
- | 'DOCUMENT'
1267
- | 'PROJECT';
1244
+ 'DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED' | 'DOCUMENT' | 'PROJECT';
1268
1245
  }
1269
1246
  interface DeveloperMetadataLocation {
1270
1247
  /** Represents the row or column when metadata is associated with a dimension. The specified DimensionRange must represent a single row or column. It cannot be unbounded or span multiple rows or columns. */
@@ -1304,9 +1281,7 @@ declare namespace gapi.client {
1304
1281
  metadataValue?: string;
1305
1282
  /** Limits the selected developer metadata to that which has a matching DeveloperMetadata.visibility. If left unspecified, all developer metadata visible to the requesting project is considered. */
1306
1283
  visibility?:
1307
- | 'DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED'
1308
- | 'DOCUMENT'
1309
- | 'PROJECT';
1284
+ 'DEVELOPER_METADATA_VISIBILITY_UNSPECIFIED' | 'DOCUMENT' | 'PROJECT';
1310
1285
  }
1311
1286
  interface DimensionGroup {
1312
1287
  /** This field is true if this group is collapsed. A collapsed group remains collapsed if an overlapping group at a shallower depth is expanded. A true value does not imply that all dimensions within the group are hidden, since a dimension's visibility can change independently from this group property. However, when this property is updated, all dimensions within it are set to hidden if this field is true, or set to visible if this field is false. */
@@ -1730,10 +1705,7 @@ declare namespace gapi.client {
1730
1705
  nodeColorStyle?: ColorStyle;
1731
1706
  /** The size of the org chart nodes. */
1732
1707
  nodeSize?:
1733
- | 'ORG_CHART_LABEL_SIZE_UNSPECIFIED'
1734
- | 'SMALL'
1735
- | 'MEDIUM'
1736
- | 'LARGE';
1708
+ 'ORG_CHART_LABEL_SIZE_UNSPECIFIED' | 'SMALL' | 'MEDIUM' | 'LARGE';
1737
1709
  /** The data containing the label of the parent for the corresponding node. A blank value indicates that the node has no parent and is a top-level node. This field is optional. */
1738
1710
  parentLabels?: ChartData;
1739
1711
  /** The color of the selected org chart nodes. Deprecated: Use selected_node_color_style. */
@@ -2237,9 +2209,7 @@ declare namespace gapi.client {
2237
2209
  keyValueFormat?: KeyValueFormat;
2238
2210
  /** The number format source used in the scorecard chart. This field is optional. */
2239
2211
  numberFormatSource?:
2240
- | 'CHART_NUMBER_FORMAT_SOURCE_UNDEFINED'
2241
- | 'FROM_DATA'
2242
- | 'CUSTOM';
2212
+ 'CHART_NUMBER_FORMAT_SOURCE_UNDEFINED' | 'FROM_DATA' | 'CUSTOM';
2243
2213
  /** Value to scale scorecard key and baseline value. For example, a factor of 10 can be used to divide all values in the chart by 10. This field is optional. */
2244
2214
  scaleFactor?: number;
2245
2215
  }
@@ -2338,10 +2308,7 @@ declare namespace gapi.client {
2338
2308
  filterCriteria?: FilterCriteria;
2339
2309
  /** The horizontal alignment of title in the slicer. If unspecified, defaults to `LEFT` */
2340
2310
  horizontalAlignment?:
2341
- | 'HORIZONTAL_ALIGN_UNSPECIFIED'
2342
- | 'LEFT'
2343
- | 'CENTER'
2344
- | 'RIGHT';
2311
+ 'HORIZONTAL_ALIGN_UNSPECIFIED' | 'LEFT' | 'CENTER' | 'RIGHT';
2345
2312
  /** The text format of title in the slicer. The link field is not supported. */
2346
2313
  textFormat?: TextFormat;
2347
2314
  /** The title of the slicer. */
@@ -2398,10 +2365,7 @@ declare namespace gapi.client {
2398
2365
  interface SpreadsheetProperties {
2399
2366
  /** The amount of time to wait before volatile functions are recalculated. */
2400
2367
  autoRecalc?:
2401
- | 'RECALCULATION_INTERVAL_UNSPECIFIED'
2402
- | 'ON_CHANGE'
2403
- | 'MINUTE'
2404
- | 'HOUR';
2368
+ 'RECALCULATION_INTERVAL_UNSPECIFIED' | 'ON_CHANGE' | 'MINUTE' | 'HOUR';
2405
2369
  /** 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. */
2406
2370
  defaultFormat?: CellFormat;
2407
2371
  /** Whether to allow external URL access for image and import functions. Read only when true. When false, you can set to true. This value will be bypassed and always return true if the admin has enabled the [allowlisting feature](https://support.google.com/a?p=url_allowlist). */
@@ -2503,10 +2467,7 @@ declare namespace gapi.client {
2503
2467
  interface TextPosition {
2504
2468
  /** Horizontal alignment setting for the piece of text. */
2505
2469
  horizontalAlignment?:
2506
- | 'HORIZONTAL_ALIGN_UNSPECIFIED'
2507
- | 'LEFT'
2508
- | 'CENTER'
2509
- | 'RIGHT';
2470
+ 'HORIZONTAL_ALIGN_UNSPECIFIED' | 'LEFT' | 'CENTER' | 'RIGHT';
2510
2471
  }
2511
2472
  interface TextRotation {
2512
2473
  /** The angle between the standard orientation and the desired orientation. Measured in degrees. Valid values are between -90 and 90. Positive angles are angled upwards, negative are angled downwards. Note: For LTR text direction positive angles are in the counterclockwise direction, whereas for RTL they are in the clockwise direction */
@@ -2862,9 +2823,7 @@ declare namespace gapi.client {
2862
2823
  series?: WaterfallChartSeries[];
2863
2824
  /** The stacked type. */
2864
2825
  stackedType?:
2865
- | 'WATERFALL_STACKED_TYPE_UNSPECIFIED'
2866
- | 'STACKED'
2867
- | 'SEQUENTIAL';
2826
+ 'WATERFALL_STACKED_TYPE_UNSPECIFIED' | 'STACKED' | 'SEQUENTIAL';
2868
2827
  /** Controls whether to display additional data labels on stacked charts which sum the total value of all stacked values at each value along the domain axis. stacked_type must be STACKED and neither CUSTOM nor placement can be set on the total_data_label. */
2869
2828
  totalDataLabel?: DataLabel;
2870
2829
  }
@@ -3052,9 +3011,7 @@ declare namespace gapi.client {
3052
3011
  responseDateTimeRenderOption?: 'SERIAL_NUMBER' | 'FORMATTED_STRING';
3053
3012
  /** Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. */
3054
3013
  responseValueRenderOption?:
3055
- | 'FORMATTED_VALUE'
3056
- | 'UNFORMATTED_VALUE'
3057
- | 'FORMULA';
3014
+ 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
3058
3015
  /** The ID of the spreadsheet to update. */
3059
3016
  spreadsheetId: string;
3060
3017
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3063,9 +3020,7 @@ declare namespace gapi.client {
3063
3020
  uploadType?: string;
3064
3021
  /** How the input data should be interpreted. */
3065
3022
  valueInputOption?:
3066
- | 'INPUT_VALUE_OPTION_UNSPECIFIED'
3067
- | 'RAW'
3068
- | 'USER_ENTERED';
3023
+ 'INPUT_VALUE_OPTION_UNSPECIFIED' | 'RAW' | 'USER_ENTERED';
3069
3024
  /** Request body */
3070
3025
  resource: ValueRange;
3071
3026
  }): client.Request<AppendValuesResponse>;
@@ -3099,9 +3054,7 @@ declare namespace gapi.client {
3099
3054
  responseDateTimeRenderOption?: 'SERIAL_NUMBER' | 'FORMATTED_STRING';
3100
3055
  /** Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. */
3101
3056
  responseValueRenderOption?:
3102
- | 'FORMATTED_VALUE'
3103
- | 'UNFORMATTED_VALUE'
3104
- | 'FORMULA';
3057
+ 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
3105
3058
  /** The ID of the spreadsheet to update. */
3106
3059
  spreadsheetId: string;
3107
3060
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3110,9 +3063,7 @@ declare namespace gapi.client {
3110
3063
  uploadType?: string;
3111
3064
  /** How the input data should be interpreted. */
3112
3065
  valueInputOption?:
3113
- | 'INPUT_VALUE_OPTION_UNSPECIFIED'
3114
- | 'RAW'
3115
- | 'USER_ENTERED';
3066
+ 'INPUT_VALUE_OPTION_UNSPECIFIED' | 'RAW' | 'USER_ENTERED';
3116
3067
  },
3117
3068
  body: ValueRange,
3118
3069
  ): client.Request<AppendValuesResponse>;
@@ -3566,9 +3517,7 @@ declare namespace gapi.client {
3566
3517
  responseDateTimeRenderOption?: 'SERIAL_NUMBER' | 'FORMATTED_STRING';
3567
3518
  /** Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. */
3568
3519
  responseValueRenderOption?:
3569
- | 'FORMATTED_VALUE'
3570
- | 'UNFORMATTED_VALUE'
3571
- | 'FORMULA';
3520
+ 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
3572
3521
  /** The ID of the spreadsheet to update. */
3573
3522
  spreadsheetId: string;
3574
3523
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3577,9 +3526,7 @@ declare namespace gapi.client {
3577
3526
  uploadType?: string;
3578
3527
  /** How the input data should be interpreted. */
3579
3528
  valueInputOption?:
3580
- | 'INPUT_VALUE_OPTION_UNSPECIFIED'
3581
- | 'RAW'
3582
- | 'USER_ENTERED';
3529
+ 'INPUT_VALUE_OPTION_UNSPECIFIED' | 'RAW' | 'USER_ENTERED';
3583
3530
  /** Request body */
3584
3531
  resource: ValueRange;
3585
3532
  }): client.Request<UpdateValuesResponse>;
@@ -3611,9 +3558,7 @@ declare namespace gapi.client {
3611
3558
  responseDateTimeRenderOption?: 'SERIAL_NUMBER' | 'FORMATTED_STRING';
3612
3559
  /** Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. */
3613
3560
  responseValueRenderOption?:
3614
- | 'FORMATTED_VALUE'
3615
- | 'UNFORMATTED_VALUE'
3616
- | 'FORMULA';
3561
+ 'FORMATTED_VALUE' | 'UNFORMATTED_VALUE' | 'FORMULA';
3617
3562
  /** The ID of the spreadsheet to update. */
3618
3563
  spreadsheetId: string;
3619
3564
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3622,9 +3567,7 @@ declare namespace gapi.client {
3622
3567
  uploadType?: string;
3623
3568
  /** How the input data should be interpreted. */
3624
3569
  valueInputOption?:
3625
- | 'INPUT_VALUE_OPTION_UNSPECIFIED'
3626
- | 'RAW'
3627
- | 'USER_ENTERED';
3570
+ 'INPUT_VALUE_OPTION_UNSPECIFIED' | 'RAW' | 'USER_ENTERED';
3628
3571
  },
3629
3572
  body: ValueRange,
3630
3573
  ): client.Request<UpdateValuesResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.sheets-v4",
3
- "version": "0.2.20260625",
3
+ "version": "0.3.20260625",
4
4
  "description": "TypeScript typings for Google Sheets API v4",
5
5
  "repository": {
6
6
  "type": "git",