@maxim_mazurok/gapi.client.connectors-v2 0.1.20250930 → 0.1.20251216

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 (2) hide show
  1. package/index.d.ts +143 -1
  2. 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: 20250930
12
+ // Revision: 20251216
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -117,6 +117,10 @@ declare namespace gapi.client {
117
117
  interface ExchangeAuthCodeRequest {
118
118
  /** 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. */
119
119
  authCodeData?: AuthCodeData;
120
+ /** ExecutionConfig contains the configuration for the execution of the request. */
121
+ executionConfig?: ExecutionConfig;
122
+ /** OAuth2Config contains the OAuth2 config for the connection. */
123
+ oauth2Config?: OAuth2Config;
120
124
  }
121
125
  interface ExchangeAuthCodeResponse {
122
126
  accessCredentials?: AccessCredentials;
@@ -124,6 +128,8 @@ declare namespace gapi.client {
124
128
  metadata?: {[P in string]: {[P in string]: any}};
125
129
  }
126
130
  interface ExecuteActionRequest {
131
+ /** Execution config for the request. */
132
+ executionConfig?: ExecutionConfig;
127
133
  /** Parameters for executing the action. The parameters can be key/value pairs or nested structs. */
128
134
  parameters?: {[P in string]: any};
129
135
  }
@@ -142,8 +148,12 @@ declare namespace gapi.client {
142
148
  results?: Array<{[P in string]: any}>;
143
149
  }
144
150
  interface ExecuteToolRequest {
151
+ /** execution config for the request. */
152
+ executionConfig?: ExecutionConfig;
145
153
  /** Input parameters for the tool. */
146
154
  parameters?: {[P in string]: any};
155
+ /** Tool definition for the tool to be executed. */
156
+ toolDefinition?: {[P in string]: any};
147
157
  }
148
158
  interface ExecuteToolResponse {
149
159
  /** Metadata like service latency, etc. */
@@ -151,6 +161,10 @@ declare namespace gapi.client {
151
161
  /** Output from the tool execution. */
152
162
  result?: {[P in string]: any};
153
163
  }
164
+ interface ExecutionConfig {
165
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
166
+ headers?: string;
167
+ }
154
168
  interface Field {
155
169
  /** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
156
170
  additionalDetails?: {[P in string]: any};
@@ -171,6 +185,12 @@ declare namespace gapi.client {
171
185
  /** Reference captures the association between two different entity types. Value links to the reference of another entity type. */
172
186
  reference?: Reference;
173
187
  }
188
+ interface GetResourcePostRequest {
189
+ /** execution config for the request. */
190
+ executionConfig?: ExecutionConfig;
191
+ /** List of tool specifications. */
192
+ toolSpec?: ToolSpec;
193
+ }
174
194
  interface GetResourceResponse {
175
195
  /** The content of the resource. */
176
196
  data?: string;
@@ -291,6 +311,16 @@ declare namespace gapi.client {
291
311
  /** List of available resources. */
292
312
  resources?: Resource[];
293
313
  }
314
+ interface ListToolsPostRequest {
315
+ /** execution config for the request. */
316
+ executionConfig?: ExecutionConfig;
317
+ /** Page size. */
318
+ pageSize?: number;
319
+ /** Page token. */
320
+ pageToken?: string;
321
+ /** List of tool specifications. */
322
+ toolSpec?: ToolSpec;
323
+ }
294
324
  interface ListToolsResponse {
295
325
  /** Metadata like service latency, etc. */
296
326
  metadata?: {[P in string]: {[P in string]: any}};
@@ -353,6 +383,14 @@ declare namespace gapi.client {
353
383
  /** Optional. Array of string values. e.g. instance's replica information. */
354
384
  values?: string[];
355
385
  }
386
+ interface OAuth2Config {
387
+ /** Authorization Server URL/Token Endpoint for Authorization Code Flow */
388
+ authUri?: string;
389
+ /** Client ID for the OAuth2 flow. */
390
+ clientId?: string;
391
+ /** Client secret for the OAuth2 flow. */
392
+ clientSecret?: string;
393
+ }
356
394
  interface PerSliSloEligibility {
357
395
  /** An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted. */
358
396
  eligibilities?: {[P in string]: SloEligibility};
@@ -384,6 +422,10 @@ declare namespace gapi.client {
384
422
  type?: string;
385
423
  }
386
424
  interface RefreshAccessTokenRequest {
425
+ /** ExecutionConfig contains the configuration for the execution of the request. */
426
+ executionConfig?: ExecutionConfig;
427
+ /** OAuth2Config contains the OAuth2 config for the connection. */
428
+ oauth2Config?: OAuth2Config;
387
429
  /** Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager. */
388
430
  refreshToken?: string;
389
431
  }
@@ -476,6 +518,12 @@ declare namespace gapi.client {
476
518
  /** A human-readable title for the tool. */
477
519
  title?: string;
478
520
  }
521
+ interface ToolSpec {
522
+ /** List of tool definitions. */
523
+ toolDefinitions?: Array<{[P in string]: any}>;
524
+ /** Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId */
525
+ toolSpecVersion?: string;
526
+ }
479
527
  interface UpdateEntitiesWithConditionsResponse {
480
528
  /** Metadata like service latency, etc. */
481
529
  metadata?: {[P in string]: {[P in string]: any}};
@@ -563,6 +611,8 @@ declare namespace gapi.client {
563
611
  alt?: string;
564
612
  /** JSONP */
565
613
  callback?: string;
614
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
615
+ 'executionConfig.headers'?: string;
566
616
  /** Selector specifying which fields to include in a partial response. */
567
617
  fields?: string;
568
618
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -592,6 +642,8 @@ declare namespace gapi.client {
592
642
  alt?: string;
593
643
  /** JSONP */
594
644
  callback?: string;
645
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
646
+ 'executionConfig.headers'?: string;
595
647
  /** Selector specifying which fields to include in a partial response. */
596
648
  fields?: string;
597
649
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -627,6 +679,8 @@ declare namespace gapi.client {
627
679
  alt?: string;
628
680
  /** JSONP */
629
681
  callback?: string;
682
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
683
+ 'executionConfig.headers'?: string;
630
684
  /** Selector specifying which fields to include in a partial response. */
631
685
  fields?: string;
632
686
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -656,6 +710,8 @@ declare namespace gapi.client {
656
710
  alt?: string;
657
711
  /** JSONP */
658
712
  callback?: string;
713
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
714
+ 'executionConfig.headers'?: string;
659
715
  /** Selector specifying which fields to include in a partial response. */
660
716
  fields?: string;
661
717
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -685,6 +741,8 @@ declare namespace gapi.client {
685
741
  alt?: string;
686
742
  /** JSONP */
687
743
  callback?: string;
744
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
745
+ 'executionConfig.headers'?: string;
688
746
  /** Selector specifying which fields to include in a partial response. */
689
747
  fields?: string;
690
748
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -716,6 +774,8 @@ declare namespace gapi.client {
716
774
  conditions?: string;
717
775
  /** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
718
776
  entityType: string;
777
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
778
+ 'executionConfig.headers'?: string;
719
779
  /** Selector specifying which fields to include in a partial response. */
720
780
  fields?: string;
721
781
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -741,6 +801,8 @@ declare namespace gapi.client {
741
801
  alt?: string;
742
802
  /** JSONP */
743
803
  callback?: string;
804
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
805
+ 'executionConfig.headers'?: string;
744
806
  /** Selector specifying which fields to include in a partial response. */
745
807
  fields?: string;
746
808
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -770,6 +832,8 @@ declare namespace gapi.client {
770
832
  callback?: string;
771
833
  /** Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported. */
772
834
  conditions?: string;
835
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
836
+ 'executionConfig.headers'?: string;
773
837
  /** Selector specifying which fields to include in a partial response. */
774
838
  fields?: string;
775
839
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -805,6 +869,8 @@ declare namespace gapi.client {
805
869
  alt?: string;
806
870
  /** JSONP */
807
871
  callback?: string;
872
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
873
+ 'executionConfig.headers'?: string;
808
874
  /** Selector specifying which fields to include in a partial response. */
809
875
  fields?: string;
810
876
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -834,6 +900,8 @@ declare namespace gapi.client {
834
900
  alt?: string;
835
901
  /** JSONP */
836
902
  callback?: string;
903
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
904
+ 'executionConfig.headers'?: string;
837
905
  /** Selector specifying which fields to include in a partial response. */
838
906
  fields?: string;
839
907
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -867,6 +935,8 @@ declare namespace gapi.client {
867
935
  conditions?: string;
868
936
  /** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
869
937
  entityType: string;
938
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
939
+ 'executionConfig.headers'?: string;
870
940
  /** Selector specifying which fields to include in a partial response. */
871
941
  fields?: string;
872
942
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -898,6 +968,8 @@ declare namespace gapi.client {
898
968
  conditions?: string;
899
969
  /** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
900
970
  entityType: string;
971
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
972
+ 'executionConfig.headers'?: string;
901
973
  /** Selector specifying which fields to include in a partial response. */
902
974
  fields?: string;
903
975
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -929,6 +1001,8 @@ declare namespace gapi.client {
929
1001
  callback?: string;
930
1002
  /** Context metadata for request could be used to fetch customization of entity type schema. */
931
1003
  contextMetadata?: string;
1004
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
1005
+ 'executionConfig.headers'?: string;
932
1006
  /** Selector specifying which fields to include in a partial response. */
933
1007
  fields?: string;
934
1008
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -958,6 +1032,8 @@ declare namespace gapi.client {
958
1032
  alt?: string;
959
1033
  /** JSONP */
960
1034
  callback?: string;
1035
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
1036
+ 'executionConfig.headers'?: string;
961
1037
  /** Selector specifying which fields to include in a partial response. */
962
1038
  fields?: string;
963
1039
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -986,6 +1062,35 @@ declare namespace gapi.client {
986
1062
  interface ResourcesResource {
987
1063
  /** Gets a specific resource. */
988
1064
  get(request?: {
1065
+ /** V1 error format. */
1066
+ '$.xgafv'?: string;
1067
+ /** OAuth access token. */
1068
+ access_token?: string;
1069
+ /** Data format for response. */
1070
+ alt?: string;
1071
+ /** JSONP */
1072
+ callback?: string;
1073
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
1074
+ 'executionConfig.headers'?: string;
1075
+ /** Selector specifying which fields to include in a partial response. */
1076
+ fields?: string;
1077
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1078
+ key?: string;
1079
+ /** Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} */
1080
+ name: string;
1081
+ /** OAuth 2.0 token for the current user. */
1082
+ oauth_token?: string;
1083
+ /** Returns response with indentations and line breaks. */
1084
+ prettyPrint?: boolean;
1085
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1086
+ quotaUser?: string;
1087
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1088
+ upload_protocol?: string;
1089
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1090
+ uploadType?: string;
1091
+ }): Request<GetResourceResponse>;
1092
+ /** Gets a specific resource with POST. */
1093
+ getResourcePost(request: {
989
1094
  /** V1 error format. */
990
1095
  '$.xgafv'?: string;
991
1096
  /** OAuth access token. */
@@ -1010,7 +1115,38 @@ declare namespace gapi.client {
1010
1115
  upload_protocol?: string;
1011
1116
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1012
1117
  uploadType?: string;
1118
+ /** Request body */
1119
+ resource: GetResourcePostRequest;
1013
1120
  }): Request<GetResourceResponse>;
1121
+ getResourcePost(
1122
+ request: {
1123
+ /** V1 error format. */
1124
+ '$.xgafv'?: string;
1125
+ /** OAuth access token. */
1126
+ access_token?: string;
1127
+ /** Data format for response. */
1128
+ alt?: string;
1129
+ /** JSONP */
1130
+ callback?: string;
1131
+ /** Selector specifying which fields to include in a partial response. */
1132
+ fields?: string;
1133
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1134
+ key?: string;
1135
+ /** Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} */
1136
+ name: string;
1137
+ /** OAuth 2.0 token for the current user. */
1138
+ oauth_token?: string;
1139
+ /** Returns response with indentations and line breaks. */
1140
+ prettyPrint?: boolean;
1141
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1142
+ quotaUser?: string;
1143
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1144
+ upload_protocol?: string;
1145
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1146
+ uploadType?: string;
1147
+ },
1148
+ body: GetResourcePostRequest,
1149
+ ): Request<GetResourceResponse>;
1014
1150
  /** Lists all available resources. */
1015
1151
  list(request?: {
1016
1152
  /** V1 error format. */
@@ -1021,6 +1157,8 @@ declare namespace gapi.client {
1021
1157
  alt?: string;
1022
1158
  /** JSONP */
1023
1159
  callback?: string;
1160
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
1161
+ 'executionConfig.headers'?: string;
1024
1162
  /** Selector specifying which fields to include in a partial response. */
1025
1163
  fields?: string;
1026
1164
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -1112,6 +1250,8 @@ declare namespace gapi.client {
1112
1250
  alt?: string;
1113
1251
  /** JSONP */
1114
1252
  callback?: string;
1253
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
1254
+ 'executionConfig.headers'?: string;
1115
1255
  /** Selector specifying which fields to include in a partial response. */
1116
1256
  fields?: string;
1117
1257
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -1171,6 +1311,8 @@ declare namespace gapi.client {
1171
1311
  alt?: string;
1172
1312
  /** JSONP */
1173
1313
  callback?: string;
1314
+ /** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
1315
+ 'executionConfig.headers'?: string;
1174
1316
  /** Selector specifying which fields to include in a partial response. */
1175
1317
  fields?: string;
1176
1318
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.connectors-v2",
3
- "version": "0.1.20250930",
3
+ "version": "0.1.20251216",
4
4
  "description": "TypeScript typings for Connectors API v2",
5
5
  "repository": {
6
6
  "type": "git",