@maxim_mazurok/gapi.client.docs-v1 0.0.20240722 → 0.0.20240730

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 +20 -20
  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: 20240722
12
+ // Revision: 20240730
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -217,37 +217,37 @@ declare namespace gapi.client {
217
217
  unit?: string;
218
218
  }
219
219
  interface Document {
220
- /** Output only. The main body of the document. */
220
+ /** Output only. The main body of the document. Legacy field: Instead, use Document.tabs.documentTab.body, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
221
221
  body?: Body;
222
222
  /** Output only. The ID of the document. */
223
223
  documentId?: string;
224
- /** Output only. The style of the document. */
224
+ /** Output only. The style of the document. Legacy field: Instead, use Document.tabs.documentTab.documentStyle, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
225
225
  documentStyle?: DocumentStyle;
226
- /** Output only. The footers in the document, keyed by footer ID. */
226
+ /** Output only. The footers in the document, keyed by footer ID. Legacy field: Instead, use Document.tabs.documentTab.footers, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
227
227
  footers?: {[P in string]: Footer};
228
- /** Output only. The footnotes in the document, keyed by footnote ID. */
228
+ /** Output only. The footnotes in the document, keyed by footnote ID. Legacy field: Instead, use Document.tabs.documentTab.footnotes, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
229
229
  footnotes?: {[P in string]: Footnote};
230
- /** Output only. The headers in the document, keyed by header ID. */
230
+ /** Output only. The headers in the document, keyed by header ID. Legacy field: Instead, use Document.tabs.documentTab.headers, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
231
231
  headers?: {[P in string]: Header};
232
- /** Output only. The inline objects in the document, keyed by object ID. */
232
+ /** Output only. The inline objects in the document, keyed by object ID. Legacy field: Instead, use Document.tabs.documentTab.inlineObjects, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
233
233
  inlineObjects?: {[P in string]: InlineObject};
234
- /** Output only. The lists in the document, keyed by list ID. */
234
+ /** Output only. The lists in the document, keyed by list ID. Legacy field: Instead, use Document.tabs.documentTab.lists, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
235
235
  lists?: {[P in string]: List};
236
- /** Output only. The named ranges in the document, keyed by name. */
236
+ /** Output only. The named ranges in the document, keyed by name. Legacy field: Instead, use Document.tabs.documentTab.namedRanges, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
237
237
  namedRanges?: {[P in string]: NamedRanges};
238
- /** Output only. The named styles of the document. */
238
+ /** Output only. The named styles of the document. Legacy field: Instead, use Document.tabs.documentTab.namedStyles, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
239
239
  namedStyles?: NamedStyles;
240
- /** Output only. The positioned objects in the document, keyed by object ID. */
240
+ /** Output only. The positioned objects in the document, keyed by object ID. Legacy field: Instead, use Document.tabs.documentTab.positionedObjects, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
241
241
  positionedObjects?: {[P in string]: PositionedObject};
242
242
  /** Output only. The revision ID of the document. Can be used in update requests to specify which revision of a document to apply updates to and how the request should behave if the document has been edited since that revision. Only populated if the user has edit access to the document. The revision ID is not a sequential number but an opaque string. The format of the revision ID might change over time. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the document has not changed. Conversely, a changed ID (for the same document and user) usually means the document has been updated. However, a changed ID can also be due to internal factors such as ID format changes. */
243
243
  revisionId?: string;
244
- /** Output only. The suggested changes to the style of the document, keyed by suggestion ID. */
244
+ /** Output only. The suggested changes to the style of the document, keyed by suggestion ID. Legacy field: Instead, use Document.tabs.documentTab.suggestedDocumentStyleChanges, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
245
245
  suggestedDocumentStyleChanges?: {[P in string]: SuggestedDocumentStyle};
246
- /** Output only. The suggested changes to the named styles of the document, keyed by suggestion ID. */
246
+ /** Output only. The suggested changes to the named styles of the document, keyed by suggestion ID. Legacy field: Instead, use Document.tabs.documentTab.suggestedNamedStylesChanges, which exposes the actual document content from all tabs when the includeTabsContent parameter is set to `true`. If `false` or unset, this field contains information about the first tab in the document. */
247
247
  suggestedNamedStylesChanges?: {[P in string]: SuggestedNamedStyles};
248
248
  /** Output only. The suggestions view mode applied to the document. Note: When editing a document, changes must be based on a document with SUGGESTIONS_INLINE. */
249
249
  suggestionsViewMode?: string;
250
- /** Tabs that are part of a document. Tabs can contain child tabs, a tab nested within another tab. Child tabs are represented by the Tab.child_tabs field. */
250
+ /** Tabs that are part of a document. Tabs can contain child tabs, a tab nested within another tab. Child tabs are represented by the Tab.childTabs field. */
251
251
  tabs?: Tab[];
252
252
  /** The title of the document. */
253
253
  title?: string;
@@ -617,13 +617,13 @@ declare namespace gapi.client {
617
617
  text?: string;
618
618
  }
619
619
  interface Link {
620
- /** A bookmark in this document. In documents containing a single tab, links to bookmarks within the singular tab continue to return Link.bookmark_id when the includeTabsContent parameter is set to `false` or unset. Otherwise, this field is returned. */
620
+ /** A bookmark in this document. In documents containing a single tab, links to bookmarks within the singular tab continue to return Link.bookmarkId when the includeTabsContent parameter is set to `false` or unset. Otherwise, this field is returned. */
621
621
  bookmark?: BookmarkLink;
622
- /** The ID of a bookmark in this document. */
622
+ /** The ID of a bookmark in this document. Legacy field: Instead, set includeTabsContent to `true` and use Link.bookmark for read and write operations. This field is only returned when includeTabsContent is set to `false` in documents containing a single tab and links to a bookmark within the singular tab. Otherwise, Link.bookmark is returned. If this field is used in a write request, the bookmark is considered to be from the tab ID specified in the request. If a tab ID is not specified in the request, it is considered to be from the first tab in the document. */
623
623
  bookmarkId?: string;
624
- /** A heading in this document. In documents containing a single tab, links to headings within the singular tab continue to return Link.heading_id when the includeTabsContent parameter is set to `false` or unset. Otherwise, this field is returned. */
624
+ /** A heading in this document. In documents containing a single tab, links to headings within the singular tab continue to return Link.headingId when the includeTabsContent parameter is set to `false` or unset. Otherwise, this field is returned. */
625
625
  heading?: HeadingLink;
626
- /** The ID of a heading in this document. */
626
+ /** The ID of a heading in this document. Legacy field: Instead, set includeTabsContent to `true` and use Link.heading for read and write operations. This field is only returned when includeTabsContent is set to `false` in documents containing a single tab and links to a heading within the singular tab. Otherwise, Link.heading is returned. If this field is used in a write request, the heading is considered to be from the tab ID specified in the request. If a tab ID is not specified in the request, it is considered to be from the first tab in the document. */
627
627
  headingId?: string;
628
628
  /** The ID of a tab in this document. */
629
629
  tabId?: string;
@@ -1453,7 +1453,7 @@ declare namespace gapi.client {
1453
1453
  tableColumnProperties?: TableColumnProperties[];
1454
1454
  }
1455
1455
  interface TabProperties {
1456
- /** The index of the tab within the parent. */
1456
+ /** The zero-based index of the tab within the parent. */
1457
1457
  index?: number;
1458
1458
  /** Output only. The depth of the tab within the document. Root-level tabs start at 0. */
1459
1459
  nestingLevel?: number;
@@ -1739,7 +1739,7 @@ declare namespace gapi.client {
1739
1739
  documentId: string;
1740
1740
  /** Selector specifying which fields to include in a partial response. */
1741
1741
  fields?: string;
1742
- /** Whether to populate the Document.tabs field instead of the text content fields like body and documentStyle on Document. - When `True`: Document content populates in the Document.tabs field instead of the text content fields in Document. - When `False`: The content of the document's first tab populates the content fields in Document excluding Document.tabs. If a document has only one tab, then that tab is used to populate the document content. Document.tabs will be empty. */
1742
+ /** Whether to populate the Document.tabs field instead of the text content fields like `body` and `documentStyle` on Document. - When `True`: Document content populates in the Document.tabs field instead of the text content fields in Document. - When `False`: The content of the document's first tab populates the content fields in Document excluding Document.tabs. If a document has only one tab, then that tab is used to populate the document content. Document.tabs will be empty. */
1743
1743
  includeTabsContent?: boolean;
1744
1744
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1745
1745
  key?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.docs-v1",
3
- "version": "0.0.20240722",
3
+ "version": "0.0.20240730",
4
4
  "description": "TypeScript typings for Google Docs API v1",
5
5
  "repository": {
6
6
  "type": "git",