@maxim_mazurok/gapi.client.docs-v1 0.0.20230922 → 0.0.20231010

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 (3) hide show
  1. package/index.d.ts +14 -1
  2. package/package.json +1 -1
  3. package/tests.ts +10 -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: 20230922
12
+ // Revision: 20231010
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -383,6 +383,9 @@ declare namespace gapi.client {
383
383
  */
384
384
  firstPageHeaderId?:
385
385
  string;
386
+ /** Optional. Indicates whether to flip the dimensions of the page_size, which allows changing the page orientation between portrait and landscape. */
387
+ flipPageOrientation?:
388
+ boolean;
386
389
  /** The bottom page margin. Updating the bottom page margin on the document style clears the bottom page margin on all section styles. */
387
390
  marginBottom?:
388
391
  Dimension;
@@ -442,6 +445,9 @@ declare namespace gapi.client {
442
445
  /** Indicates if there was a suggested change to first_page_header_id. */
443
446
  firstPageHeaderIdSuggested?:
444
447
  boolean;
448
+ /** Optional. Indicates if there was a suggested change to flip_page_orientation. */
449
+ flipPageOrientationSuggested?:
450
+ boolean;
445
451
  /** Indicates if there was a suggested change to margin_bottom. */
446
452
  marginBottomSuggested?:
447
453
  boolean;
@@ -1753,6 +1759,13 @@ declare namespace gapi.client {
1753
1759
  */
1754
1760
  firstPageHeaderId?:
1755
1761
  string;
1762
+ /**
1763
+ * Optional. Indicates whether to flip the dimensions of DocumentStyle's page_size for this section, which allows changing the page orientation between portrait and landscape. If
1764
+ * unset, the value inherits from DocumentStyle's flip_page_orientation. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad
1765
+ * request error.
1766
+ */
1767
+ flipPageOrientation?:
1768
+ boolean;
1756
1769
  /**
1757
1770
  * The bottom page margin of the section. If unset, the value defaults to margin_bottom from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting
1758
1771
  * this property results in a 400 bad request error.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.docs-v1",
3
- "version": "0.0.20230922",
3
+ "version": "0.0.20231010",
4
4
  "description": "TypeScript typings for Google Docs API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230922
6
+ // Revision: 20231010
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -289,6 +289,7 @@ gapi.load('client', async () => {
289
289
  evenPageHeaderId: "Test string",
290
290
  firstPageFooterId: "Test string",
291
291
  firstPageHeaderId: "Test string",
292
+ flipPageOrientation: true,
292
293
  marginBottom: {
293
294
  magnitude: 42,
294
295
  unit: "Test string",
@@ -518,6 +519,7 @@ gapi.load('client', async () => {
518
519
  evenPageHeaderId: "Test string",
519
520
  firstPageFooterId: "Test string",
520
521
  firstPageHeaderId: "Test string",
522
+ flipPageOrientation: true,
521
523
  marginBottom: {
522
524
  magnitude: 42,
523
525
  unit: "Test string",
@@ -2187,6 +2189,7 @@ gapi.load('client', async () => {
2187
2189
  evenPageHeaderId: "Test string",
2188
2190
  firstPageFooterId: "Test string",
2189
2191
  firstPageHeaderId: "Test string",
2192
+ flipPageOrientation: true,
2190
2193
  marginBottom: {
2191
2194
  magnitude: 42,
2192
2195
  unit: "Test string",
@@ -2529,6 +2532,7 @@ gapi.load('client', async () => {
2529
2532
  evenPageHeaderId: "Test string",
2530
2533
  firstPageFooterId: "Test string",
2531
2534
  firstPageHeaderId: "Test string",
2535
+ flipPageOrientation: true,
2532
2536
  marginBottom: {
2533
2537
  magnitude: 42,
2534
2538
  unit: "Test string",
@@ -4004,6 +4008,7 @@ gapi.load('client', async () => {
4004
4008
  evenPageHeaderId: "Test string",
4005
4009
  firstPageFooterId: "Test string",
4006
4010
  firstPageHeaderId: "Test string",
4011
+ flipPageOrientation: true,
4007
4012
  marginBottom: {
4008
4013
  magnitude: 42,
4009
4014
  unit: "Test string",
@@ -5765,6 +5770,7 @@ gapi.load('client', async () => {
5765
5770
  evenPageHeaderId: "Test string",
5766
5771
  firstPageFooterId: "Test string",
5767
5772
  firstPageHeaderId: "Test string",
5773
+ flipPageOrientation: true,
5768
5774
  marginBottom: {
5769
5775
  magnitude: 42,
5770
5776
  unit: "Test string",
@@ -7526,6 +7532,7 @@ gapi.load('client', async () => {
7526
7532
  evenPageHeaderId: "Test string",
7527
7533
  firstPageFooterId: "Test string",
7528
7534
  firstPageHeaderId: "Test string",
7535
+ flipPageOrientation: true,
7529
7536
  marginBottom: {
7530
7537
  magnitude: 42,
7531
7538
  unit: "Test string",
@@ -8669,6 +8676,7 @@ gapi.load('client', async () => {
8669
8676
  evenPageHeaderId: "Test string",
8670
8677
  firstPageFooterId: "Test string",
8671
8678
  firstPageHeaderId: "Test string",
8679
+ flipPageOrientation: true,
8672
8680
  marginBottom: {
8673
8681
  magnitude: 42,
8674
8682
  unit: "Test string",
@@ -8718,6 +8726,7 @@ gapi.load('client', async () => {
8718
8726
  evenPageHeaderIdSuggested: true,
8719
8727
  firstPageFooterIdSuggested: true,
8720
8728
  firstPageHeaderIdSuggested: true,
8729
+ flipPageOrientationSuggested: true,
8721
8730
  marginBottomSuggested: true,
8722
8731
  marginFooterSuggested: true,
8723
8732
  marginHeaderSuggested: true,