@maxim_mazurok/gapi.client.connectors-v2 0.0.20240708 → 0.0.20240729
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/index.d.ts +17 -3
- package/package.json +1 -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://connectors.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240729
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,6 +48,14 @@ declare namespace gapi.client {
|
|
|
48
48
|
/** List containing the metadata of result fields. */
|
|
49
49
|
resultMetadata?: ResultMetadata[];
|
|
50
50
|
}
|
|
51
|
+
interface AuthCodeData {
|
|
52
|
+
/** OAuth authorization code. */
|
|
53
|
+
authCode?: string;
|
|
54
|
+
/** OAuth PKCE verifier, needed if PKCE is enabled for this particular connection. */
|
|
55
|
+
pkceVerifier?: string;
|
|
56
|
+
/** OAuth redirect URI passed in during the auth code flow, required by some OAuth backends. */
|
|
57
|
+
redirectUri?: string;
|
|
58
|
+
}
|
|
51
59
|
interface CheckReadinessResponse {
|
|
52
60
|
status?: string;
|
|
53
61
|
}
|
|
@@ -95,7 +103,10 @@ declare namespace gapi.client {
|
|
|
95
103
|
name?: string;
|
|
96
104
|
operations?: string[];
|
|
97
105
|
}
|
|
98
|
-
interface ExchangeAuthCodeRequest {
|
|
106
|
+
interface ExchangeAuthCodeRequest {
|
|
107
|
+
/** Optional. AuthCodeData contains the data the runtime requires to exchange for access and refresh tokens. If the data is not provided, the runtime will read the data from the secret manager. */
|
|
108
|
+
authCodeData?: AuthCodeData;
|
|
109
|
+
}
|
|
99
110
|
interface ExchangeAuthCodeResponse {
|
|
100
111
|
accessCredentials?: AccessCredentials;
|
|
101
112
|
}
|
|
@@ -315,7 +326,10 @@ declare namespace gapi.client {
|
|
|
315
326
|
/** Name of reference entity type. */
|
|
316
327
|
type?: string;
|
|
317
328
|
}
|
|
318
|
-
interface RefreshAccessTokenRequest {
|
|
329
|
+
interface RefreshAccessTokenRequest {
|
|
330
|
+
/** Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager. */
|
|
331
|
+
refreshToken?: string;
|
|
332
|
+
}
|
|
319
333
|
interface RefreshAccessTokenResponse {
|
|
320
334
|
accessCredentials?: AccessCredentials;
|
|
321
335
|
}
|