@googleapis/docs 0.4.2 → 1.0.0
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 +11 -0
- package/build/v1.d.ts +35 -2
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +35 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v0.4.2...docs-v1.0.0) (2022-06-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* 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))
|
|
13
|
+
|
|
3
14
|
### [0.4.2](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v0.4.1...docs-v0.4.2) (2022-04-11)
|
|
4
15
|
|
|
5
16
|
|
package/build/v1.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -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
|
|
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.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,
|
|
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,CAwqHvB;AAxqHD,WAAiB,OAAO;IAgEtB;;;;;;;;;;OAUG;IACH,MAAa,IAAI;QAIf,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,SAAS,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,CAAC;KACF;IAZY,YAAI,OAYhB,CAAA;IA4lGD,MAAa,kBAAkB;QAE7B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,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AED,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,8BAA8B,CAAC;YAClE,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,4BAA4B,CAAC,CAAC,OAAO,CACnD,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,KAAK;iBACd,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,YAAY,CAAC;gBAC9B,UAAU,EAAE,CAAC,YAAY,CAAC;gBAC1B,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,oCAAgB,CACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,oCAAgB,CAAkB,UAAU,CAAC,CAAC;aACtD;QACH,CAAC;KACF;IAvdY,0BAAkB,qBAud9B,CAAA;AA8BH,CAAC,EAxqHgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAwqHvB"}
|
package/package.json
CHANGED
package/v1.ts
CHANGED
|
@@ -1750,6 +1750,10 @@ export namespace docs_v1 {
|
|
|
1750
1750
|
* 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
1751
|
*/
|
|
1752
1752
|
namedStyleType?: string | null;
|
|
1753
|
+
/**
|
|
1754
|
+
* 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.
|
|
1755
|
+
*/
|
|
1756
|
+
pageBreakBefore?: boolean | null;
|
|
1753
1757
|
/**
|
|
1754
1758
|
* The shading of the paragraph. If unset, the value is inherited from the parent.
|
|
1755
1759
|
*/
|
|
@@ -1839,6 +1843,10 @@ export namespace docs_v1 {
|
|
|
1839
1843
|
* Indicates if there was a suggested change to named_style_type.
|
|
1840
1844
|
*/
|
|
1841
1845
|
namedStyleTypeSuggested?: boolean | null;
|
|
1846
|
+
/**
|
|
1847
|
+
* Indicates if there was a suggested change to page_break_before.
|
|
1848
|
+
*/
|
|
1849
|
+
pageBreakBeforeSuggested?: boolean | null;
|
|
1842
1850
|
/**
|
|
1843
1851
|
* A mask that indicates which of the fields in shading have been changed in this suggestion.
|
|
1844
1852
|
*/
|
|
@@ -1900,6 +1908,19 @@ export namespace docs_v1 {
|
|
|
1900
1908
|
*/
|
|
1901
1909
|
name?: string | null;
|
|
1902
1910
|
}
|
|
1911
|
+
/**
|
|
1912
|
+
* Updates the number of pinned table header rows in a table.
|
|
1913
|
+
*/
|
|
1914
|
+
export interface Schema$PinTableHeaderRowsRequest {
|
|
1915
|
+
/**
|
|
1916
|
+
* The number of table rows to pin, where 0 implies that all rows are unpinned.
|
|
1917
|
+
*/
|
|
1918
|
+
pinnedHeaderRowsCount?: number | null;
|
|
1919
|
+
/**
|
|
1920
|
+
* The location where the table starts in the document.
|
|
1921
|
+
*/
|
|
1922
|
+
tableStartLocation?: Schema$Location;
|
|
1923
|
+
}
|
|
1903
1924
|
/**
|
|
1904
1925
|
* 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
1926
|
*/
|
|
@@ -2148,6 +2169,10 @@ export namespace docs_v1 {
|
|
|
2148
2169
|
* Merges cells in a table.
|
|
2149
2170
|
*/
|
|
2150
2171
|
mergeTableCells?: Schema$MergeTableCellsRequest;
|
|
2172
|
+
/**
|
|
2173
|
+
* Updates the number of pinned header rows in a table.
|
|
2174
|
+
*/
|
|
2175
|
+
pinTableHeaderRows?: Schema$PinTableHeaderRowsRequest;
|
|
2151
2176
|
/**
|
|
2152
2177
|
* Replaces all instances of the specified text.
|
|
2153
2178
|
*/
|
|
@@ -2580,7 +2605,7 @@ export namespace docs_v1 {
|
|
|
2580
2605
|
*/
|
|
2581
2606
|
export interface Schema$SuggestedParagraphStyle {
|
|
2582
2607
|
/**
|
|
2583
|
-
* A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the
|
|
2608
|
+
* 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
2609
|
*/
|
|
2585
2610
|
paragraphStyle?: Schema$ParagraphStyle;
|
|
2586
2611
|
/**
|
|
@@ -2934,6 +2959,14 @@ export namespace docs_v1 {
|
|
|
2934
2959
|
* 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
2960
|
*/
|
|
2936
2961
|
minRowHeight?: Schema$Dimension;
|
|
2962
|
+
/**
|
|
2963
|
+
* Whether the row cannot overflow across page or column boundaries.
|
|
2964
|
+
*/
|
|
2965
|
+
preventOverflow?: boolean | null;
|
|
2966
|
+
/**
|
|
2967
|
+
* Whether the row is a table header.
|
|
2968
|
+
*/
|
|
2969
|
+
tableHeader?: boolean | null;
|
|
2937
2970
|
}
|
|
2938
2971
|
/**
|
|
2939
2972
|
* 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 +3151,7 @@ export namespace docs_v1 {
|
|
|
3118
3151
|
*/
|
|
3119
3152
|
export interface Schema$UpdateParagraphStyleRequest {
|
|
3120
3153
|
/**
|
|
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.
|
|
3154
|
+
* 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
3155
|
*/
|
|
3123
3156
|
fields?: string | null;
|
|
3124
3157
|
/**
|