@google/genai 1.50.0 → 1.50.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.
@@ -12795,7 +12795,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
12795
12795
  const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
12796
12796
  const USER_AGENT_HEADER = 'User-Agent';
12797
12797
  const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
12798
- const SDK_VERSION = '1.50.0'; // x-release-please-version
12798
+ const SDK_VERSION = '1.50.1'; // x-release-please-version
12799
12799
  const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
12800
12800
  const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
12801
12801
  const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
@@ -18031,13 +18031,6 @@ class BaseWebhooks extends APIResource {
18031
18031
  const { api_version = this._client.apiVersion, webhook_id } = params, body = __rest(params, ["api_version", "webhook_id"]);
18032
18032
  return this._client.post(path `/${api_version}/webhooks`, Object.assign({ query: { webhook_id }, body }, options));
18033
18033
  }
18034
- /**
18035
- * Gets a specific Webhook.
18036
- */
18037
- retrieve(id, params = {}, options) {
18038
- const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
18039
- return this._client.get(path `/${api_version}/webhooks/${id}`, options);
18040
- }
18041
18034
  /**
18042
18035
  * Updates an existing Webhook.
18043
18036
  */
@@ -18059,6 +18052,13 @@ class BaseWebhooks extends APIResource {
18059
18052
  const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
18060
18053
  return this._client.delete(path `/${api_version}/webhooks/${id}`, options);
18061
18054
  }
18055
+ /**
18056
+ * Gets a specific Webhook.
18057
+ */
18058
+ get(id, params = {}, options) {
18059
+ const { api_version = this._client.apiVersion } = params !== null && params !== void 0 ? params : {};
18060
+ return this._client.get(path `/${api_version}/webhooks/${id}`, options);
18061
+ }
18062
18062
  /**
18063
18063
  * Sends a ping event to a Webhook.
18064
18064
  */