@googleapis/docs 3.4.0 → 4.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,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v4.0.0...docs-v4.0.1) (2025-06-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
9
+
10
+ ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v3.4.0...docs-v4.0.0) (2025-05-29)
11
+
12
+
13
+ ### ⚠ BREAKING CHANGES
14
+
15
+ * upgrade to node 18
16
+
17
+ ### Features
18
+
19
+ * upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
20
+
3
21
  ## [3.4.0](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v3.3.4...docs-v3.4.0) (2025-05-05)
4
22
 
5
23
 
package/build/index.d.ts CHANGED
@@ -9,4 +9,4 @@ export declare function docs(options: docs_v1.Options): docs_v1.Docs;
9
9
  declare const auth: AuthPlus;
10
10
  export { auth };
11
11
  export { docs_v1 };
12
- export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
12
+ export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.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,kCAAkC;AAElC,yDAAuE;AACvE,6BAA6B;AAiBrB,wFAjBA,YAAO,OAiBA;AAfF,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,YAAO,CAAC,IAAI;CACjB,CAAC;AAIF,SAAgB,IAAI,CAElB,gBAAwC;IAExC,OAAO,IAAA,0BAAM,EAAI,MAAM,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC7D,CAAC;AALD,oBAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAS2B;AARzB,6GAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.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,kCAAkC;AAElC,yDAAuE;AACvE,6BAA6B;AAiBrB,wFAjBA,YAAO,OAiBA;AAfF,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,YAAO,CAAC,IAAI;CACjB,CAAC;AAIF,SAAgB,IAAI,CAElB,gBAAwC;IAExC,OAAO,IAAA,0BAAM,EAAI,MAAM,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC7D,CAAC;AALD,oBAKC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAEZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
package/build/v1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace docs_v1 {
5
5
  export interface Options extends GlobalOptions {
@@ -3485,8 +3485,8 @@ export declare namespace docs_v1 {
3485
3485
  * @param callback - Optional callback that handles the response.
3486
3486
  * @returns A promise if used with async/await, or void if used with a callback.
3487
3487
  */
3488
- batchUpdate(params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions): GaxiosPromise<Readable>;
3489
- batchUpdate(params?: Params$Resource$Documents$Batchupdate, options?: MethodOptions): GaxiosPromise<Schema$BatchUpdateDocumentResponse>;
3488
+ batchUpdate(params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3489
+ batchUpdate(params?: Params$Resource$Documents$Batchupdate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateDocumentResponse>>;
3490
3490
  batchUpdate(params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3491
3491
  batchUpdate(params: Params$Resource$Documents$Batchupdate, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdateDocumentResponse>, callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
3492
3492
  batchUpdate(params: Params$Resource$Documents$Batchupdate, callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
@@ -3499,8 +3499,8 @@ export declare namespace docs_v1 {
3499
3499
  * @param callback - Optional callback that handles the response.
3500
3500
  * @returns A promise if used with async/await, or void if used with a callback.
3501
3501
  */
3502
- create(params: Params$Resource$Documents$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3503
- create(params?: Params$Resource$Documents$Create, options?: MethodOptions): GaxiosPromise<Schema$Document>;
3502
+ create(params: Params$Resource$Documents$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3503
+ create(params?: Params$Resource$Documents$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Document>>;
3504
3504
  create(params: Params$Resource$Documents$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3505
3505
  create(params: Params$Resource$Documents$Create, options: MethodOptions | BodyResponseCallback<Schema$Document>, callback: BodyResponseCallback<Schema$Document>): void;
3506
3506
  create(params: Params$Resource$Documents$Create, callback: BodyResponseCallback<Schema$Document>): void;
@@ -3513,8 +3513,8 @@ export declare namespace docs_v1 {
3513
3513
  * @param callback - Optional callback that handles the response.
3514
3514
  * @returns A promise if used with async/await, or void if used with a callback.
3515
3515
  */
3516
- get(params: Params$Resource$Documents$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3517
- get(params?: Params$Resource$Documents$Get, options?: MethodOptions): GaxiosPromise<Schema$Document>;
3516
+ get(params: Params$Resource$Documents$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3517
+ get(params?: Params$Resource$Documents$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Document>>;
3518
3518
  get(params: Params$Resource$Documents$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3519
3519
  get(params: Params$Resource$Documents$Get, options: MethodOptions | BodyResponseCallback<Schema$Document>, callback: BodyResponseCallback<Schema$Document>): void;
3520
3520
  get(params: Params$Resource$Documents$Get, callback: BodyResponseCallback<Schema$Document>): void;
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA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,MAAM,EAAE,KAAK;oBACb,UAAU,EAAE,EAAE;iBACf,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,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAkB,UAAU,CAAC,CAAC;aACtD;QACH,CAAC;KACF;IArRY,0BAAkB,qBAqR9B,CAAA;AAkCH,CAAC,EA5rHgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA4rHvB"}
package/index.ts CHANGED
@@ -38,7 +38,6 @@ export {
38
38
  APIRequestContext,
39
39
  GoogleConfigurable,
40
40
  StreamMethodOptions,
41
- GaxiosPromise,
42
41
  MethodOptions,
43
42
  BodyResponseCallback,
44
43
  } from 'googleapis-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/docs",
3
- "version": "3.4.0",
3
+ "version": "4.0.1",
4
4
  "description": "docs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^7.0.0"
31
+ "googleapis-common": "^8.0.2-rc.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
package/v1.ts CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  Compute,
24
24
  UserRefreshClient,
25
25
  BaseExternalAccountClient,
26
- GaxiosPromise,
26
+ GaxiosResponseWithHTTP2,
27
27
  GoogleConfigurable,
28
28
  createAPIRequest,
29
29
  MethodOptions,
@@ -3513,11 +3513,11 @@ export namespace docs_v1 {
3513
3513
  batchUpdate(
3514
3514
  params: Params$Resource$Documents$Batchupdate,
3515
3515
  options: StreamMethodOptions
3516
- ): GaxiosPromise<Readable>;
3516
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3517
3517
  batchUpdate(
3518
3518
  params?: Params$Resource$Documents$Batchupdate,
3519
3519
  options?: MethodOptions
3520
- ): GaxiosPromise<Schema$BatchUpdateDocumentResponse>;
3520
+ ): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateDocumentResponse>>;
3521
3521
  batchUpdate(
3522
3522
  params: Params$Resource$Documents$Batchupdate,
3523
3523
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3552,8 +3552,8 @@ export namespace docs_v1 {
3552
3552
  | BodyResponseCallback<Readable>
3553
3553
  ):
3554
3554
  | void
3555
- | GaxiosPromise<Schema$BatchUpdateDocumentResponse>
3556
- | GaxiosPromise<Readable> {
3555
+ | Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateDocumentResponse>>
3556
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3557
3557
  let params = (paramsOrCallback ||
3558
3558
  {}) as Params$Resource$Documents$Batchupdate;
3559
3559
  let options = (optionsOrCallback || {}) as MethodOptions;
@@ -3608,11 +3608,11 @@ export namespace docs_v1 {
3608
3608
  create(
3609
3609
  params: Params$Resource$Documents$Create,
3610
3610
  options: StreamMethodOptions
3611
- ): GaxiosPromise<Readable>;
3611
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3612
3612
  create(
3613
3613
  params?: Params$Resource$Documents$Create,
3614
3614
  options?: MethodOptions
3615
- ): GaxiosPromise<Schema$Document>;
3615
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Document>>;
3616
3616
  create(
3617
3617
  params: Params$Resource$Documents$Create,
3618
3618
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3641,7 +3641,10 @@ export namespace docs_v1 {
3641
3641
  callback?:
3642
3642
  | BodyResponseCallback<Schema$Document>
3643
3643
  | BodyResponseCallback<Readable>
3644
- ): void | GaxiosPromise<Schema$Document> | GaxiosPromise<Readable> {
3644
+ ):
3645
+ | void
3646
+ | Promise<GaxiosResponseWithHTTP2<Schema$Document>>
3647
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3645
3648
  let params = (paramsOrCallback || {}) as Params$Resource$Documents$Create;
3646
3649
  let options = (optionsOrCallback || {}) as MethodOptions;
3647
3650
 
@@ -3692,11 +3695,11 @@ export namespace docs_v1 {
3692
3695
  get(
3693
3696
  params: Params$Resource$Documents$Get,
3694
3697
  options: StreamMethodOptions
3695
- ): GaxiosPromise<Readable>;
3698
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
3696
3699
  get(
3697
3700
  params?: Params$Resource$Documents$Get,
3698
3701
  options?: MethodOptions
3699
- ): GaxiosPromise<Schema$Document>;
3702
+ ): Promise<GaxiosResponseWithHTTP2<Schema$Document>>;
3700
3703
  get(
3701
3704
  params: Params$Resource$Documents$Get,
3702
3705
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -3725,7 +3728,10 @@ export namespace docs_v1 {
3725
3728
  callback?:
3726
3729
  | BodyResponseCallback<Schema$Document>
3727
3730
  | BodyResponseCallback<Readable>
3728
- ): void | GaxiosPromise<Schema$Document> | GaxiosPromise<Readable> {
3731
+ ):
3732
+ | void
3733
+ | Promise<GaxiosResponseWithHTTP2<Schema$Document>>
3734
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
3729
3735
  let params = (paramsOrCallback || {}) as Params$Resource$Documents$Get;
3730
3736
  let options = (optionsOrCallback || {}) as MethodOptions;
3731
3737