@wix/auto_sdk_app-components_components-catalog 1.0.110 → 1.0.111

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.
@@ -22627,8 +22627,8 @@ interface DispatchOrigin {
22627
22627
  declare enum VerificationSource {
22628
22628
  /**
22629
22629
  * One set of material covers every delivery of this connector: a single stored secret for the
22630
- * HMAC and callback-token methods, or the published key set at public_key_url for PUBLIC_KEY
22631
- * and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
22630
+ * HMAC and callback-token methods, or the published key set at the arm's public_key_url for
22631
+ * PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
22632
22632
  */
22633
22633
  CONNECTOR_WIDE = "CONNECTOR_WIDE",
22634
22634
  /**
@@ -22733,7 +22733,7 @@ declare enum VerificationMethod {
22733
22733
  HMAC_SHA1 = "HMAC_SHA1",
22734
22734
  /**
22735
22735
  * Asymmetric signature over the canonical string, verified with a key fetched from
22736
- * public_key_url.
22736
+ * PublicKeyConfig.public_key_url.
22737
22737
  */
22738
22738
  PUBLIC_KEY = "PUBLIC_KEY",
22739
22739
  /**
@@ -22746,9 +22746,10 @@ declare enum VerificationMethod {
22746
22746
  NO_VERIFICATION = "NO_VERIFICATION",
22747
22747
  /**
22748
22748
  * OIDC bearer JWT in the Authorization header, verified against the key set at
22749
- * public_key_url with the expected audience, issuer and subject, for example Cloud Pub/Sub
22750
- * push authentication. Carries no payload binding, the same limitation CALLBACK_TOKEN
22751
- * documents for itself: it proves the sender's identity, not that the body is intact.
22749
+ * OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
22750
+ * example Cloud Pub/Sub push authentication. Carries no payload binding, the same
22751
+ * limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
22752
+ * the body is intact.
22752
22753
  */
22753
22754
  OIDC_BEARER = "OIDC_BEARER"
22754
22755
  }
@@ -22757,8 +22758,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
22757
22758
  /** How a repeated delivery is recognized, so the same event is not processed twice. */
22758
22759
  declare enum ReplayProtection {
22759
22760
  /**
22760
- * The provider sends a per-delivery id, named by delivery_id_header, and a delivery already
22761
- * seen under that id is discarded.
22761
+ * The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
22762
+ * and a delivery already seen under that id is discarded.
22762
22763
  */
22763
22764
  DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
22764
22765
  /**
@@ -23088,8 +23089,9 @@ interface DispatchConfig {
23088
23089
  *
23089
23090
  * No credential material is declared here. This config lives in the app component catalog and is
23090
23091
  * readable by app owners; signing secrets and callback tokens are stored separately and are
23091
- * located through the selected verification arm's verification_source. public_key_url is the
23092
- * only credential-adjacent field, and it points at material the provider publishes.
23092
+ * located through the selected verification arm's verification_source. The public_key_url on
23093
+ * PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
23094
+ * material the provider publishes.
23093
23095
  *
23094
23096
  * Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
23095
23097
  * delivery arrives with are never confused with the ones Wix mints.
@@ -23145,39 +23147,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
23145
23147
  * @max 3600
23146
23148
  */
23147
23149
  timestampToleranceSeconds?: number;
23148
- /**
23149
- * Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
23150
- * must be empty for every other method.
23151
- *
23152
- * Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
23153
- * value this field carries for every other method. HTTPS and a parseable endpoint are enforced
23154
- * when the keys are fetched instead.
23155
- *
23156
- * Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
23157
- * OidcBearerConfig.public_key_url for OIDC_BEARER.
23158
- * @maxLength 2000
23159
- * @deprecated
23160
- * @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
23161
- * @targetRemovalDate 2027-06-30
23162
- */
23163
- publicKeyUrl?: string;
23164
- /**
23165
- * Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
23166
- * Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
23167
- *
23168
- * The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
23169
- * for instance, counts per notification channel rather than globally, so a delivery is
23170
- * identified by the registration it arrived on together with this value, never by the value
23171
- * alone.
23172
- *
23173
- * Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
23174
- * `replay_protection_config` oneof's delivery_id_header_config arm).
23175
- * @maxLength 120
23176
- * @deprecated
23177
- * @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
23178
- * @targetRemovalDate 2027-06-30
23179
- */
23180
- deliveryIdHeader?: string;
23181
23150
  /**
23182
23151
  * Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
23183
23152
  * most one of event_type_header and event_type_json_pointer may be set, and a provider with no
@@ -23295,47 +23264,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
23295
23264
  * @immutable
23296
23265
  */
23297
23266
  deliveryTopic?: string;
23298
- /**
23299
- * Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
23300
- * requested the token, not by the issuer, so pinning the value expected here is what stops a
23301
- * bearer token minted for a different audience — a different Pub/Sub push subscription, for
23302
- * instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
23303
- * for every other method.
23304
- *
23305
- * Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
23306
- * @maxLength 2000
23307
- * @deprecated
23308
- * @replacedBy verification.oidc_bearer_config.oidc_expected_audience
23309
- * @targetRemovalDate 2027-06-30
23310
- */
23311
- oidcExpectedAudience?: string;
23312
- /**
23313
- * Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
23314
- * Required for OIDC_BEARER and must be empty for every other method.
23315
- *
23316
- * Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
23317
- * @maxLength 2000
23318
- * @deprecated
23319
- * @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
23320
- * @targetRemovalDate 2027-06-30
23321
- */
23322
- oidcExpectedIssuer?: string;
23323
- /**
23324
- * Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
23325
- * trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
23326
- * service account. iss and aud alone do not identify the sender: aud is a value the token
23327
- * *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
23328
- * same-audience token — a different Google service account with permission to request an ID
23329
- * token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
23330
- * must be empty for every other method.
23331
- *
23332
- * Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
23333
- * @maxLength 2000
23334
- * @deprecated
23335
- * @replacedBy verification.oidc_bearer_config.oidc_expected_subject
23336
- * @targetRemovalDate 2027-06-30
23337
- */
23338
- oidcExpectedSubject?: string;
23339
23267
  /**
23340
23268
  * Set when one delivery body is a batch of events, each possibly for a different provider tenant.
23341
23269
  * The whole request is verified once, then split into one delivery per element.