@maxim_mazurok/gapi.client.recaptchaenterprise-v1 0.0.20240721 → 0.0.20240804

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 +10 -5
  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://recaptchaenterprise.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240721
12
+ // Revision: 20240804
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -81,6 +81,8 @@ declare namespace gapi.client {
81
81
  accountDefenderAssessment?: GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment;
82
82
  /** Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature. */
83
83
  accountVerification?: GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo;
84
+ /** Optional. The environment creating the assessment. This describes your environment (the system invoking CreateAssessment), NOT the environment of your user. */
85
+ assessmentEnvironment?: GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment;
84
86
  /** Optional. The event being assessed. */
85
87
  event?: GoogleCloudRecaptchaenterpriseV1Event;
86
88
  /** Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation. */
@@ -100,6 +102,12 @@ declare namespace gapi.client {
100
102
  /** Output only. Properties of the provided event token. */
101
103
  tokenProperties?: GoogleCloudRecaptchaenterpriseV1TokenProperties;
102
104
  }
105
+ interface GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment {
106
+ /** Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" - "cloud.google.com/recaptcha/docs/implement-waf-akamai" - "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" - "wordpress.org/plugins/recaptcha-something" */
107
+ client?: string;
108
+ /** Optional. The version of the client module. For example, "1.0.0". */
109
+ version?: string;
110
+ }
103
111
  interface GoogleCloudRecaptchaenterpriseV1ChallengeMetrics {
104
112
  /** Count of submitted challenge solutions that were incorrect or otherwise deemed suspicious such that a subsequent challenge was triggered. */
105
113
  failedCount?: string;
@@ -123,7 +131,7 @@ declare namespace gapi.client {
123
131
  interface GoogleCloudRecaptchaenterpriseV1Event {
124
132
  /** Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise. */
125
133
  expectedAction?: string;
126
- /** Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference an Express site key. */
134
+ /** Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS. */
127
135
  express?: boolean;
128
136
  /** Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy will be evaluated and a suggested firewall action will be returned in the response. */
129
137
  firewallPolicyEvaluation?: boolean;
@@ -152,7 +160,6 @@ declare namespace gapi.client {
152
160
  /** Optional. Flag for running WAF token assessment. If enabled, the token must be specified, and have been created by a WAF-enabled key. */
153
161
  wafTokenAssessment?: boolean;
154
162
  }
155
- interface GoogleCloudRecaptchaenterpriseV1ExpressKeySettings {}
156
163
  interface GoogleCloudRecaptchaenterpriseV1FirewallAction {
157
164
  /** The user request did not match any policy and should be allowed access to the requested resource. */
158
165
  allow?: any;
@@ -258,8 +265,6 @@ declare namespace gapi.client {
258
265
  createTime?: string;
259
266
  /** Required. Human-readable display name of this key. Modifiable by user. */
260
267
  displayName?: string;
261
- /** Settings for keys that can be used by reCAPTCHA Express. */
262
- expressSettings?: any;
263
268
  /** Settings for keys that can be used by iOS apps. */
264
269
  iosSettings?: GoogleCloudRecaptchaenterpriseV1IOSKeySettings;
265
270
  /** Optional. See [Creating and managing labels] (https://cloud.google.com/recaptcha/docs/labels). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.recaptchaenterprise-v1",
3
- "version": "0.0.20240721",
3
+ "version": "0.0.20240804",
4
4
  "description": "TypeScript typings for reCAPTCHA Enterprise API v1",
5
5
  "repository": {
6
6
  "type": "git",