@maxim_mazurok/gapi.client.docs-v1 0.2.20251119 → 0.2.20251201

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 +25 -1
  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://docs.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20251119
12
+ // Revision: 20251201
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -168,6 +168,20 @@ declare namespace gapi.client {
168
168
  /** Indicates if there was a suggested change to offset_top. */
169
169
  offsetTopSuggested?: boolean;
170
170
  }
171
+ interface DateElementProperties {
172
+ /** Determines how the date part of the DateElement will be displayed in the document. If unset, the default value is DATE_FORMAT_MONTH_DAY_YEAR_ABBREVIATED, indicating the DateElement will be formatted as `MMM d, y` in `en_US`, or locale specific equivalent. */
173
+ dateFormat?: string;
174
+ /** Output only. Indicates how the DateElement is displayed in the document. */
175
+ displayText?: string;
176
+ /** The locale of the document, as defined by the Unicode Common Locale Data Repository (CLDR) project. For example, `en_US`. If unset, the default locale is `en_US`. */
177
+ locale?: string;
178
+ /** Determines how the time part of the DateElement will be displayed in the document. If unset, the default value is TIME_FORMAT_DISABLED, indicating no time should be shown. */
179
+ timeFormat?: string;
180
+ /** The point in time to represent, in seconds and nanoseconds since Unix epoch: January 1, 1970 at midnight UTC. Timestamp is expected to be in UTC. If time_zone_id is set, the timestamp is adjusted according to the time zone. For example, a timestamp of `18000` with a date format of `DATE_FORMAT_ISO8601` and time format of `TIME_FORMAT_HOUR_MINUTE` would be displayed as `1970-01-01 5:00 AM`. A timestamp of `18000` with date format of `DATE_FORMAT_8SO8601`, time format of `TIME_FORMAT_HOUR_MINUTE`, and time zone set to `America/New_York` will instead be `1970-01-01 12:00 AM`. */
181
+ timestamp?: string;
182
+ /** The time zone of the DateElement, as defined by the Unicode Common Locale Data Repository (CLDR) project. For example, `America/New York`. If unset, the default time zone is `etc/UTC`. */
183
+ timeZoneId?: string;
184
+ }
171
185
  interface DeleteContentRangeRequest {
172
186
  /** The range of content to delete. Deleting text that crosses a paragraph boundary may result in changes to paragraph styles, lists, positioned objects and bookmarks as the two paragraphs are merged. Attempting to delete certain ranges can result in an invalid document structure in which case a 400 bad request error is returned. Some examples of invalid delete requests include: * Deleting one code unit of a surrogate pair. * Deleting the last newline character of a Body, Header, Footer, Footnote, TableCell or TableOfContents. * Deleting the start or end of a Table, TableOfContents or Equation without deleting the entire element. * Deleting the newline character before a Table, TableOfContents or SectionBreak without deleting the element. * Deleting individual rows or cells of a table. Deleting the content within a table cell is allowed. */
173
187
  range?: Range;
@@ -560,6 +574,14 @@ declare namespace gapi.client {
560
574
  /** A mask that indicates which of the fields in embedded_object have been changed in this suggestion. */
561
575
  embeddedObjectSuggestionState?: EmbeddedObjectSuggestionState;
562
576
  }
577
+ interface InsertDateRequest {
578
+ /** The properties of the date to insert. */
579
+ dateElementProperties?: DateElementProperties;
580
+ /** Inserts the date at the end of the given header, footer or document body. */
581
+ endOfSegmentLocation?: EndOfSegmentLocation;
582
+ /** Inserts the date at a specific index in the document. The date must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between an existing table and its preceding paragraph). */
583
+ location?: Location;
584
+ }
563
585
  interface InsertInlineImageRequest {
564
586
  /** Inserts the text at the end of a header, footer or the document body. Inline images cannot be inserted inside a footnote. */
565
587
  endOfSegmentLocation?: EndOfSegmentLocation;
@@ -1053,6 +1075,8 @@ declare namespace gapi.client {
1053
1075
  deleteTableColumn?: DeleteTableColumnRequest;
1054
1076
  /** Deletes a row from a table. */
1055
1077
  deleteTableRow?: DeleteTableRowRequest;
1078
+ /** Inserts a date. */
1079
+ insertDate?: InsertDateRequest;
1056
1080
  /** Inserts an inline image at the specified location. */
1057
1081
  insertInlineImage?: InsertInlineImageRequest;
1058
1082
  /** Inserts a page break at the specified location. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.docs-v1",
3
- "version": "0.2.20251119",
3
+ "version": "0.2.20251201",
4
4
  "description": "TypeScript typings for Google Docs API v1",
5
5
  "repository": {
6
6
  "type": "git",