@googleapis/trafficdirector 4.1.0 → 5.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
+ ## [5.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v5.0.0...trafficdirector-v5.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
+ ## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v4.1.0...trafficdirector-v5.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
  ## [4.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/trafficdirector-v4.0.0...trafficdirector-v4.1.0) (2025-05-05)
4
22
 
5
23
 
package/build/index.d.ts CHANGED
@@ -14,4 +14,4 @@ declare const auth: AuthPlus;
14
14
  export { auth };
15
15
  export { trafficdirector_v2 };
16
16
  export { trafficdirector_v3 };
17
- export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
17
+ 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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AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAGZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
package/build/v2.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 trafficdirector_v2 {
5
5
  export interface Options extends GlobalOptions {
@@ -661,8 +661,8 @@ export declare namespace trafficdirector_v2 {
661
661
  * @param callback - Optional callback that handles the response.
662
662
  * @returns A promise if used with async/await, or void if used with a callback.
663
663
  */
664
- client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): GaxiosPromise<Readable>;
665
- client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): GaxiosPromise<Schema$ClientStatusResponse>;
664
+ client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
665
+ client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
666
666
  client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
667
667
  client_status(params: Params$Resource$Discovery$Client_status, options: MethodOptions | BodyResponseCallback<Schema$ClientStatusResponse>, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
668
668
  client_status(params: Params$Resource$Discovery$Client_status, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
package/build/v3.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 trafficdirector_v3 {
5
5
  export interface Options extends GlobalOptions {
@@ -885,8 +885,8 @@ export declare namespace trafficdirector_v3 {
885
885
  * @param callback - Optional callback that handles the response.
886
886
  * @returns A promise if used with async/await, or void if used with a callback.
887
887
  */
888
- client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): GaxiosPromise<Readable>;
889
- client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): GaxiosPromise<Schema$ClientStatusResponse>;
888
+ client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
889
+ client_status(params?: Params$Resource$Discovery$Client_status, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
890
890
  client_status(params: Params$Resource$Discovery$Client_status, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
891
891
  client_status(params: Params$Resource$Discovery$Client_status, options: MethodOptions | BodyResponseCallback<Schema$ClientStatusResponse>, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
892
892
  client_status(params: Params$Resource$Discovery$Client_status, callback: BodyResponseCallback<Schema$ClientStatusResponse>): void;
package/index.ts CHANGED
@@ -57,7 +57,6 @@ export {
57
57
  APIRequestContext,
58
58
  GoogleConfigurable,
59
59
  StreamMethodOptions,
60
- GaxiosPromise,
61
60
  MethodOptions,
62
61
  BodyResponseCallback,
63
62
  } from 'googleapis-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/trafficdirector",
3
- "version": "4.1.0",
3
+ "version": "5.0.1",
4
4
  "description": "trafficdirector",
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/v2.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,
@@ -698,11 +698,11 @@ export namespace trafficdirector_v2 {
698
698
  client_status(
699
699
  params: Params$Resource$Discovery$Client_status,
700
700
  options: StreamMethodOptions
701
- ): GaxiosPromise<Readable>;
701
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
702
702
  client_status(
703
703
  params?: Params$Resource$Discovery$Client_status,
704
704
  options?: MethodOptions
705
- ): GaxiosPromise<Schema$ClientStatusResponse>;
705
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
706
706
  client_status(
707
707
  params: Params$Resource$Discovery$Client_status,
708
708
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -737,8 +737,8 @@ export namespace trafficdirector_v2 {
737
737
  | BodyResponseCallback<Readable>
738
738
  ):
739
739
  | void
740
- | GaxiosPromise<Schema$ClientStatusResponse>
741
- | GaxiosPromise<Readable> {
740
+ | Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>
741
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
742
742
  let params = (paramsOrCallback ||
743
743
  {}) as Params$Resource$Discovery$Client_status;
744
744
  let options = (optionsOrCallback || {}) as MethodOptions;
package/v3.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,
@@ -910,11 +910,11 @@ export namespace trafficdirector_v3 {
910
910
  client_status(
911
911
  params: Params$Resource$Discovery$Client_status,
912
912
  options: StreamMethodOptions
913
- ): GaxiosPromise<Readable>;
913
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
914
914
  client_status(
915
915
  params?: Params$Resource$Discovery$Client_status,
916
916
  options?: MethodOptions
917
- ): GaxiosPromise<Schema$ClientStatusResponse>;
917
+ ): Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>;
918
918
  client_status(
919
919
  params: Params$Resource$Discovery$Client_status,
920
920
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
@@ -949,8 +949,8 @@ export namespace trafficdirector_v3 {
949
949
  | BodyResponseCallback<Readable>
950
950
  ):
951
951
  | void
952
- | GaxiosPromise<Schema$ClientStatusResponse>
953
- | GaxiosPromise<Readable> {
952
+ | Promise<GaxiosResponseWithHTTP2<Schema$ClientStatusResponse>>
953
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
954
954
  let params = (paramsOrCallback ||
955
955
  {}) as Params$Resource$Discovery$Client_status;
956
956
  let options = (optionsOrCallback || {}) as MethodOptions;