@wix/app-extensions 1.0.175 → 1.0.176
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.
|
@@ -27481,8 +27481,8 @@ declare enum VerificationSource {
|
|
|
27481
27481
|
UNKNOWN_VERIFICATION_SOURCE = "UNKNOWN_VERIFICATION_SOURCE",
|
|
27482
27482
|
/**
|
|
27483
27483
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
27484
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
27485
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
27484
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
27485
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
27486
27486
|
*/
|
|
27487
27487
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
27488
27488
|
/**
|
|
@@ -27603,7 +27603,7 @@ declare enum VerificationMethod {
|
|
|
27603
27603
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
27604
27604
|
/**
|
|
27605
27605
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
27606
|
-
* public_key_url.
|
|
27606
|
+
* PublicKeyConfig.public_key_url.
|
|
27607
27607
|
*/
|
|
27608
27608
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
27609
27609
|
/**
|
|
@@ -27616,9 +27616,10 @@ declare enum VerificationMethod {
|
|
|
27616
27616
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
27617
27617
|
/**
|
|
27618
27618
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
27619
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
27620
|
-
* push authentication. Carries no payload binding, the same
|
|
27621
|
-
* documents for itself: it proves the sender's identity, not that
|
|
27619
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
27620
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
27621
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
27622
|
+
* the body is intact.
|
|
27622
27623
|
*/
|
|
27623
27624
|
OIDC_BEARER = "OIDC_BEARER"
|
|
27624
27625
|
}
|
|
@@ -27634,8 +27635,8 @@ declare enum ReplayProtection {
|
|
|
27634
27635
|
*/
|
|
27635
27636
|
UNKNOWN_REPLAY_PROTECTION = "UNKNOWN_REPLAY_PROTECTION",
|
|
27636
27637
|
/**
|
|
27637
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
27638
|
-
* seen under that id is discarded.
|
|
27638
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
27639
|
+
* and a delivery already seen under that id is discarded.
|
|
27639
27640
|
*/
|
|
27640
27641
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
27641
27642
|
/**
|
|
@@ -27979,8 +27980,9 @@ interface DispatchConfig {
|
|
|
27979
27980
|
*
|
|
27980
27981
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
27981
27982
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
27982
|
-
* located through the selected verification arm's verification_source. public_key_url
|
|
27983
|
-
* only credential-adjacent field, and it points at
|
|
27983
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
27984
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
27985
|
+
* material the provider publishes.
|
|
27984
27986
|
*
|
|
27985
27987
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
27986
27988
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -28037,39 +28039,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
28037
28039
|
* @max 3600
|
|
28038
28040
|
*/
|
|
28039
28041
|
timestampToleranceSeconds?: number;
|
|
28040
|
-
/**
|
|
28041
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
28042
|
-
* must be empty for every other method.
|
|
28043
|
-
*
|
|
28044
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
28045
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
28046
|
-
* when the keys are fetched instead.
|
|
28047
|
-
*
|
|
28048
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
28049
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
28050
|
-
* @maxLength 2000
|
|
28051
|
-
* @deprecated
|
|
28052
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
28053
|
-
* @targetRemovalDate 2027-06-30
|
|
28054
|
-
*/
|
|
28055
|
-
publicKeyUrl?: string;
|
|
28056
|
-
/**
|
|
28057
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
28058
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
28059
|
-
*
|
|
28060
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
28061
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
28062
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
28063
|
-
* alone.
|
|
28064
|
-
*
|
|
28065
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
28066
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
28067
|
-
* @maxLength 120
|
|
28068
|
-
* @deprecated
|
|
28069
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
28070
|
-
* @targetRemovalDate 2027-06-30
|
|
28071
|
-
*/
|
|
28072
|
-
deliveryIdHeader?: string;
|
|
28073
28042
|
/**
|
|
28074
28043
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
28075
28044
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -28187,47 +28156,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
28187
28156
|
* @immutable
|
|
28188
28157
|
*/
|
|
28189
28158
|
deliveryTopic?: string;
|
|
28190
|
-
/**
|
|
28191
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
28192
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
28193
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
28194
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
28195
|
-
* for every other method.
|
|
28196
|
-
*
|
|
28197
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
28198
|
-
* @maxLength 2000
|
|
28199
|
-
* @deprecated
|
|
28200
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
28201
|
-
* @targetRemovalDate 2027-06-30
|
|
28202
|
-
*/
|
|
28203
|
-
oidcExpectedAudience?: string;
|
|
28204
|
-
/**
|
|
28205
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
28206
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
28207
|
-
*
|
|
28208
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
28209
|
-
* @maxLength 2000
|
|
28210
|
-
* @deprecated
|
|
28211
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
28212
|
-
* @targetRemovalDate 2027-06-30
|
|
28213
|
-
*/
|
|
28214
|
-
oidcExpectedIssuer?: string;
|
|
28215
|
-
/**
|
|
28216
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
28217
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
28218
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
28219
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
28220
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
28221
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
28222
|
-
* must be empty for every other method.
|
|
28223
|
-
*
|
|
28224
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
28225
|
-
* @maxLength 2000
|
|
28226
|
-
* @deprecated
|
|
28227
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
28228
|
-
* @targetRemovalDate 2027-06-30
|
|
28229
|
-
*/
|
|
28230
|
-
oidcExpectedSubject?: string;
|
|
28231
28159
|
/**
|
|
28232
28160
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
28233
28161
|
* The whole request is verified once, then split into one delivery per element.
|