@googleapis/docs 3.3.4 → 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 +25 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +11 -7
- package/build/v1.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +21 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
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
|
+
|
|
21
|
+
## [3.4.0](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v3.3.4...docs-v3.4.0) (2025-05-05)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **docs:** update the API ([249c295](https://github.com/googleapis/google-api-nodejs-client/commit/249c295485076999dbae18dbf311fd3558d4f234))
|
|
27
|
+
|
|
3
28
|
## [3.3.4](https://github.com/googleapis/google-api-nodejs-client/compare/docs-v3.3.3...docs-v3.3.4) (2025-04-18)
|
|
4
29
|
|
|
5
30
|
|
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,
|
|
12
|
+
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
package/build/index.js.map
CHANGED
|
@@ -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,
|
|
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,
|
|
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 {
|
|
@@ -2659,6 +2659,10 @@ export declare namespace docs_v1 {
|
|
|
2659
2659
|
* Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.
|
|
2660
2660
|
*/
|
|
2661
2661
|
matchCase?: boolean | null;
|
|
2662
|
+
/**
|
|
2663
|
+
* Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.
|
|
2664
|
+
*/
|
|
2665
|
+
searchByRegex?: boolean | null;
|
|
2662
2666
|
/**
|
|
2663
2667
|
* The text to search for in the document.
|
|
2664
2668
|
*/
|
|
@@ -3481,8 +3485,8 @@ export declare namespace docs_v1 {
|
|
|
3481
3485
|
* @param callback - Optional callback that handles the response.
|
|
3482
3486
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3483
3487
|
*/
|
|
3484
|
-
batchUpdate(params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions):
|
|
3485
|
-
batchUpdate(params?: Params$Resource$Documents$Batchupdate, options?: MethodOptions):
|
|
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>>;
|
|
3486
3490
|
batchUpdate(params: Params$Resource$Documents$Batchupdate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3487
3491
|
batchUpdate(params: Params$Resource$Documents$Batchupdate, options: MethodOptions | BodyResponseCallback<Schema$BatchUpdateDocumentResponse>, callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
|
|
3488
3492
|
batchUpdate(params: Params$Resource$Documents$Batchupdate, callback: BodyResponseCallback<Schema$BatchUpdateDocumentResponse>): void;
|
|
@@ -3495,8 +3499,8 @@ export declare namespace docs_v1 {
|
|
|
3495
3499
|
* @param callback - Optional callback that handles the response.
|
|
3496
3500
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3497
3501
|
*/
|
|
3498
|
-
create(params: Params$Resource$Documents$Create, options: StreamMethodOptions):
|
|
3499
|
-
create(params?: Params$Resource$Documents$Create, options?: MethodOptions):
|
|
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>>;
|
|
3500
3504
|
create(params: Params$Resource$Documents$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3501
3505
|
create(params: Params$Resource$Documents$Create, options: MethodOptions | BodyResponseCallback<Schema$Document>, callback: BodyResponseCallback<Schema$Document>): void;
|
|
3502
3506
|
create(params: Params$Resource$Documents$Create, callback: BodyResponseCallback<Schema$Document>): void;
|
|
@@ -3509,8 +3513,8 @@ export declare namespace docs_v1 {
|
|
|
3509
3513
|
* @param callback - Optional callback that handles the response.
|
|
3510
3514
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3511
3515
|
*/
|
|
3512
|
-
get(params: Params$Resource$Documents$Get, options: StreamMethodOptions):
|
|
3513
|
-
get(params?: Params$Resource$Documents$Get, options?: MethodOptions):
|
|
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>>;
|
|
3514
3518
|
get(params: Params$Resource$Documents$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3515
3519
|
get(params: Params$Resource$Documents$Get, options: MethodOptions | BodyResponseCallback<Schema$Document>, callback: BodyResponseCallback<Schema$Document>): void;
|
|
3516
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,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,sDAAsD;AACtD,0DAA0D;AAC1D,oDAA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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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/docs",
|
|
3
|
-
"version": "
|
|
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": "^
|
|
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
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -2680,6 +2680,10 @@ export namespace docs_v1 {
|
|
|
2680
2680
|
* Indicates whether the search should respect case: - `True`: the search is case sensitive. - `False`: the search is case insensitive.
|
|
2681
2681
|
*/
|
|
2682
2682
|
matchCase?: boolean | null;
|
|
2683
|
+
/**
|
|
2684
|
+
* Optional. True if the find value should be treated as a regular expression. Any backslashes in the pattern should be escaped. - `True`: the search text is treated as a regular expressions. - `False`: the search text is treated as a substring for matching.
|
|
2685
|
+
*/
|
|
2686
|
+
searchByRegex?: boolean | null;
|
|
2683
2687
|
/**
|
|
2684
2688
|
* The text to search for in the document.
|
|
2685
2689
|
*/
|
|
@@ -3509,11 +3513,11 @@ export namespace docs_v1 {
|
|
|
3509
3513
|
batchUpdate(
|
|
3510
3514
|
params: Params$Resource$Documents$Batchupdate,
|
|
3511
3515
|
options: StreamMethodOptions
|
|
3512
|
-
):
|
|
3516
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3513
3517
|
batchUpdate(
|
|
3514
3518
|
params?: Params$Resource$Documents$Batchupdate,
|
|
3515
3519
|
options?: MethodOptions
|
|
3516
|
-
):
|
|
3520
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateDocumentResponse>>;
|
|
3517
3521
|
batchUpdate(
|
|
3518
3522
|
params: Params$Resource$Documents$Batchupdate,
|
|
3519
3523
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3548,8 +3552,8 @@ export namespace docs_v1 {
|
|
|
3548
3552
|
| BodyResponseCallback<Readable>
|
|
3549
3553
|
):
|
|
3550
3554
|
| void
|
|
3551
|
-
|
|
|
3552
|
-
|
|
|
3555
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchUpdateDocumentResponse>>
|
|
3556
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3553
3557
|
let params = (paramsOrCallback ||
|
|
3554
3558
|
{}) as Params$Resource$Documents$Batchupdate;
|
|
3555
3559
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3604,11 +3608,11 @@ export namespace docs_v1 {
|
|
|
3604
3608
|
create(
|
|
3605
3609
|
params: Params$Resource$Documents$Create,
|
|
3606
3610
|
options: StreamMethodOptions
|
|
3607
|
-
):
|
|
3611
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3608
3612
|
create(
|
|
3609
3613
|
params?: Params$Resource$Documents$Create,
|
|
3610
3614
|
options?: MethodOptions
|
|
3611
|
-
):
|
|
3615
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Document>>;
|
|
3612
3616
|
create(
|
|
3613
3617
|
params: Params$Resource$Documents$Create,
|
|
3614
3618
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3637,7 +3641,10 @@ export namespace docs_v1 {
|
|
|
3637
3641
|
callback?:
|
|
3638
3642
|
| BodyResponseCallback<Schema$Document>
|
|
3639
3643
|
| BodyResponseCallback<Readable>
|
|
3640
|
-
):
|
|
3644
|
+
):
|
|
3645
|
+
| void
|
|
3646
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Document>>
|
|
3647
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3641
3648
|
let params = (paramsOrCallback || {}) as Params$Resource$Documents$Create;
|
|
3642
3649
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3643
3650
|
|
|
@@ -3688,11 +3695,11 @@ export namespace docs_v1 {
|
|
|
3688
3695
|
get(
|
|
3689
3696
|
params: Params$Resource$Documents$Get,
|
|
3690
3697
|
options: StreamMethodOptions
|
|
3691
|
-
):
|
|
3698
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3692
3699
|
get(
|
|
3693
3700
|
params?: Params$Resource$Documents$Get,
|
|
3694
3701
|
options?: MethodOptions
|
|
3695
|
-
):
|
|
3702
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Document>>;
|
|
3696
3703
|
get(
|
|
3697
3704
|
params: Params$Resource$Documents$Get,
|
|
3698
3705
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3721,7 +3728,10 @@ export namespace docs_v1 {
|
|
|
3721
3728
|
callback?:
|
|
3722
3729
|
| BodyResponseCallback<Schema$Document>
|
|
3723
3730
|
| BodyResponseCallback<Readable>
|
|
3724
|
-
):
|
|
3731
|
+
):
|
|
3732
|
+
| void
|
|
3733
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Document>>
|
|
3734
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3725
3735
|
let params = (paramsOrCallback || {}) as Params$Resource$Documents$Get;
|
|
3726
3736
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
3727
3737
|
|