@googleapis/docs 0.4.1 → 1.0.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v1.0.0...docs-v1.0.1) (2022-06-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **docs:** update the API ([8fdf542](https://github.com/googleapis/google-api-nodejs-client/commit/8fdf54259de9eeeab0ad2be6e435e48cbcfca1d7))
9
+
10
+ ## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v0.4.2...docs-v1.0.0) (2022-06-15)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * This release has breaking changes.
16
+
17
+ ### Features
18
+
19
+ * run the generator ([#2971](https://github.com/googleapis/google-api-nodejs-client/issues/2971)) ([adddf01](https://github.com/googleapis/google-api-nodejs-client/commit/adddf018e7cb73adab7341053dd80d72c5a6248d))
20
+
21
+ ### [0.4.2](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v0.4.1...docs-v0.4.2) (2022-04-11)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **docs:** update the API ([4189154](https://github.com/googleapis/google-api-nodejs-client/commit/4189154feea1b67c29e05bd120a738a2356c2b71))
27
+
3
28
  ### [0.4.1](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v0.4.0...docs-v0.4.1) (2022-04-01)
4
29
 
5
30
 
package/build/v1.d.ts CHANGED
@@ -1042,7 +1042,7 @@ export declare namespace docs_v1 {
1042
1042
  */
1043
1043
  inlineObjectProperties?: Schema$InlineObjectProperties;
1044
1044
  /**
1045
- * The ID of this inline object.
1045
+ * The ID of this inline object. Can be used to update an object’s properties.
1046
1046
  */
1047
1047
  objectId?: string | null;
1048
1048
  /**
@@ -1714,6 +1714,10 @@ export declare namespace docs_v1 {
1714
1714
  * The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated.
1715
1715
  */
1716
1716
  namedStyleType?: string | null;
1717
+ /**
1718
+ * Whether the current paragraph should always start at the beginning of a page. If unset, the value is inherited from the parent. Attempting to update page_break_before for paragraphs in unsupported regions, including Table, Header, Footer and Footnote, can result in an invalid document state which returns a 400 bad request error.
1719
+ */
1720
+ pageBreakBefore?: boolean | null;
1717
1721
  /**
1718
1722
  * The shading of the paragraph. If unset, the value is inherited from the parent.
1719
1723
  */
@@ -1803,6 +1807,10 @@ export declare namespace docs_v1 {
1803
1807
  * Indicates if there was a suggested change to named_style_type.
1804
1808
  */
1805
1809
  namedStyleTypeSuggested?: boolean | null;
1810
+ /**
1811
+ * Indicates if there was a suggested change to page_break_before.
1812
+ */
1813
+ pageBreakBeforeSuggested?: boolean | null;
1806
1814
  /**
1807
1815
  * A mask that indicates which of the fields in shading have been changed in this suggestion.
1808
1816
  */
@@ -1864,6 +1872,19 @@ export declare namespace docs_v1 {
1864
1872
  */
1865
1873
  name?: string | null;
1866
1874
  }
1875
+ /**
1876
+ * Updates the number of pinned table header rows in a table.
1877
+ */
1878
+ export interface Schema$PinTableHeaderRowsRequest {
1879
+ /**
1880
+ * The number of table rows to pin, where 0 implies that all rows are unpinned.
1881
+ */
1882
+ pinnedHeaderRowsCount?: number | null;
1883
+ /**
1884
+ * The location where the table starts in the document.
1885
+ */
1886
+ tableStartLocation?: Schema$Location;
1887
+ }
1867
1888
  /**
1868
1889
  * An object that is tethered to a Paragraph and positioned relative to the beginning of the paragraph. A PositionedObject contains an EmbeddedObject such as an image.
1869
1890
  */
@@ -1995,7 +2016,7 @@ export declare namespace docs_v1 {
1995
2016
  */
1996
2017
  export interface Schema$ReplaceImageRequest {
1997
2018
  /**
1998
- * The ID of the existing image that will be replaced.
2019
+ * The ID of the existing image that will be replaced. The ID can be retrieved from the response of a get request.
1999
2020
  */
2000
2021
  imageObjectId?: string | null;
2001
2022
  /**
@@ -2003,7 +2024,7 @@ export declare namespace docs_v1 {
2003
2024
  */
2004
2025
  imageReplaceMethod?: string | null;
2005
2026
  /**
2006
- * The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.source_uri field.
2027
+ * The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB, cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format. The provided URI can't surpass 2 KB in length. The URI is saved with the image, and exposed through the ImageProperties.source_uri field.
2007
2028
  */
2008
2029
  uri?: string | null;
2009
2030
  }
@@ -2112,6 +2133,10 @@ export declare namespace docs_v1 {
2112
2133
  * Merges cells in a table.
2113
2134
  */
2114
2135
  mergeTableCells?: Schema$MergeTableCellsRequest;
2136
+ /**
2137
+ * Updates the number of pinned header rows in a table.
2138
+ */
2139
+ pinTableHeaderRows?: Schema$PinTableHeaderRowsRequest;
2115
2140
  /**
2116
2141
  * Replaces all instances of the specified text.
2117
2142
  */
@@ -2544,7 +2569,7 @@ export declare namespace docs_v1 {
2544
2569
  */
2545
2570
  export interface Schema$SuggestedParagraphStyle {
2546
2571
  /**
2547
- * A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_suggestion_state to see which fields have changed and their new values.
2572
+ * A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_style_suggestion_state to see which fields have changed and their new values.
2548
2573
  */
2549
2574
  paragraphStyle?: Schema$ParagraphStyle;
2550
2575
  /**
@@ -2898,6 +2923,14 @@ export declare namespace docs_v1 {
2898
2923
  * The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells.
2899
2924
  */
2900
2925
  minRowHeight?: Schema$Dimension;
2926
+ /**
2927
+ * Whether the row cannot overflow across page or column boundaries.
2928
+ */
2929
+ preventOverflow?: boolean | null;
2930
+ /**
2931
+ * Whether the row is a table header.
2932
+ */
2933
+ tableHeader?: boolean | null;
2901
2934
  }
2902
2935
  /**
2903
2936
  * A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.
@@ -3082,7 +3115,7 @@ export declare namespace docs_v1 {
3082
3115
  */
3083
3116
  export interface Schema$UpdateParagraphStyleRequest {
3084
3117
  /**
3085
- * The fields that should be updated. At least one field must be specified. The root `paragraph_style` is implied and should not be specified. For example, to update the paragraph style's alignment property, set `fields` to `"alignment"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
3118
+ * The fields that should be updated. At least one field must be specified. The root `paragraph_style` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example, to update the paragraph style's alignment property, set `fields` to `"alignment"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
3086
3119
  */
3087
3120
  fields?: string | null;
3088
3121
  /**
package/build/v1.js CHANGED
@@ -13,7 +13,6 @@
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
- /* eslint-disable @typescript-eslint/class-name-casing */
17
16
  /* eslint-disable @typescript-eslint/no-unused-vars */
18
17
  /* eslint-disable @typescript-eslint/no-empty-interface */
19
18
  /* eslint-disable @typescript-eslint/no-namespace */
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,yDAAyD;AACzD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,OAAO,CAuoHvB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{
2
2
  "name": "@googleapis/docs",
3
- "version": "0.4.1",
3
+ "version": "1.0.1",
4
4
  "description": "docs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  // limitations under the License.
13
13
 
14
14
  /* eslint-disable @typescript-eslint/no-explicit-any */
15
- /* eslint-disable @typescript-eslint/class-name-casing */
16
15
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
16
  /* eslint-disable @typescript-eslint/no-empty-interface */
18
17
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -1080,7 +1079,7 @@ export namespace docs_v1 {
1080
1079
  */
1081
1080
  inlineObjectProperties?: Schema$InlineObjectProperties;
1082
1081
  /**
1083
- * The ID of this inline object.
1082
+ * The ID of this inline object. Can be used to update an object’s properties.
1084
1083
  */
1085
1084
  objectId?: string | null;
1086
1085
  /**
@@ -1750,6 +1749,10 @@ export namespace docs_v1 {
1750
1749
  * The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated.
1751
1750
  */
1752
1751
  namedStyleType?: string | null;
1752
+ /**
1753
+ * Whether the current paragraph should always start at the beginning of a page. If unset, the value is inherited from the parent. Attempting to update page_break_before for paragraphs in unsupported regions, including Table, Header, Footer and Footnote, can result in an invalid document state which returns a 400 bad request error.
1754
+ */
1755
+ pageBreakBefore?: boolean | null;
1753
1756
  /**
1754
1757
  * The shading of the paragraph. If unset, the value is inherited from the parent.
1755
1758
  */
@@ -1839,6 +1842,10 @@ export namespace docs_v1 {
1839
1842
  * Indicates if there was a suggested change to named_style_type.
1840
1843
  */
1841
1844
  namedStyleTypeSuggested?: boolean | null;
1845
+ /**
1846
+ * Indicates if there was a suggested change to page_break_before.
1847
+ */
1848
+ pageBreakBeforeSuggested?: boolean | null;
1842
1849
  /**
1843
1850
  * A mask that indicates which of the fields in shading have been changed in this suggestion.
1844
1851
  */
@@ -1900,6 +1907,19 @@ export namespace docs_v1 {
1900
1907
  */
1901
1908
  name?: string | null;
1902
1909
  }
1910
+ /**
1911
+ * Updates the number of pinned table header rows in a table.
1912
+ */
1913
+ export interface Schema$PinTableHeaderRowsRequest {
1914
+ /**
1915
+ * The number of table rows to pin, where 0 implies that all rows are unpinned.
1916
+ */
1917
+ pinnedHeaderRowsCount?: number | null;
1918
+ /**
1919
+ * The location where the table starts in the document.
1920
+ */
1921
+ tableStartLocation?: Schema$Location;
1922
+ }
1903
1923
  /**
1904
1924
  * An object that is tethered to a Paragraph and positioned relative to the beginning of the paragraph. A PositionedObject contains an EmbeddedObject such as an image.
1905
1925
  */
@@ -2031,7 +2051,7 @@ export namespace docs_v1 {
2031
2051
  */
2032
2052
  export interface Schema$ReplaceImageRequest {
2033
2053
  /**
2034
- * The ID of the existing image that will be replaced.
2054
+ * The ID of the existing image that will be replaced. The ID can be retrieved from the response of a get request.
2035
2055
  */
2036
2056
  imageObjectId?: string | null;
2037
2057
  /**
@@ -2039,7 +2059,7 @@ export namespace docs_v1 {
2039
2059
  */
2040
2060
  imageReplaceMethod?: string | null;
2041
2061
  /**
2042
- * The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.source_uri field.
2062
+ * The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB, cannot exceed 25 megapixels, and must be in PNG, JPEG, or GIF format. The provided URI can't surpass 2 KB in length. The URI is saved with the image, and exposed through the ImageProperties.source_uri field.
2043
2063
  */
2044
2064
  uri?: string | null;
2045
2065
  }
@@ -2148,6 +2168,10 @@ export namespace docs_v1 {
2148
2168
  * Merges cells in a table.
2149
2169
  */
2150
2170
  mergeTableCells?: Schema$MergeTableCellsRequest;
2171
+ /**
2172
+ * Updates the number of pinned header rows in a table.
2173
+ */
2174
+ pinTableHeaderRows?: Schema$PinTableHeaderRowsRequest;
2151
2175
  /**
2152
2176
  * Replaces all instances of the specified text.
2153
2177
  */
@@ -2580,7 +2604,7 @@ export namespace docs_v1 {
2580
2604
  */
2581
2605
  export interface Schema$SuggestedParagraphStyle {
2582
2606
  /**
2583
- * A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_suggestion_state to see which fields have changed and their new values.
2607
+ * A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_style_suggestion_state to see which fields have changed and their new values.
2584
2608
  */
2585
2609
  paragraphStyle?: Schema$ParagraphStyle;
2586
2610
  /**
@@ -2934,6 +2958,14 @@ export namespace docs_v1 {
2934
2958
  * The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells.
2935
2959
  */
2936
2960
  minRowHeight?: Schema$Dimension;
2961
+ /**
2962
+ * Whether the row cannot overflow across page or column boundaries.
2963
+ */
2964
+ preventOverflow?: boolean | null;
2965
+ /**
2966
+ * Whether the row is a table header.
2967
+ */
2968
+ tableHeader?: boolean | null;
2937
2969
  }
2938
2970
  /**
2939
2971
  * A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. For any field set to true, there is a new suggested value.
@@ -3118,7 +3150,7 @@ export namespace docs_v1 {
3118
3150
  */
3119
3151
  export interface Schema$UpdateParagraphStyleRequest {
3120
3152
  /**
3121
- * The fields that should be updated. At least one field must be specified. The root `paragraph_style` is implied and should not be specified. For example, to update the paragraph style's alignment property, set `fields` to `"alignment"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
3153
+ * The fields that should be updated. At least one field must be specified. The root `paragraph_style` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example, to update the paragraph style's alignment property, set `fields` to `"alignment"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
3122
3154
  */
3123
3155
  fields?: string | null;
3124
3156
  /**