@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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +12 -84
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -84
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +12 -84
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -84
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -84
- package/build/internal/cjs/meta.d.ts +12 -84
- package/build/internal/es/index.typings.d.mts +12 -84
- package/build/internal/es/meta.d.mts +12 -84
- package/package.json +2 -2
|
@@ -22603,8 +22603,8 @@ interface DispatchOrigin {
|
|
|
22603
22603
|
declare enum VerificationSource {
|
|
22604
22604
|
/**
|
|
22605
22605
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
22606
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
22607
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
22606
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
22607
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
22608
22608
|
*/
|
|
22609
22609
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
22610
22610
|
/**
|
|
@@ -22709,7 +22709,7 @@ declare enum VerificationMethod {
|
|
|
22709
22709
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
22710
22710
|
/**
|
|
22711
22711
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
22712
|
-
* public_key_url.
|
|
22712
|
+
* PublicKeyConfig.public_key_url.
|
|
22713
22713
|
*/
|
|
22714
22714
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
22715
22715
|
/**
|
|
@@ -22722,9 +22722,10 @@ declare enum VerificationMethod {
|
|
|
22722
22722
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
22723
22723
|
/**
|
|
22724
22724
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
22725
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
22726
|
-
* push authentication. Carries no payload binding, the same
|
|
22727
|
-
* documents for itself: it proves the sender's identity, not that
|
|
22725
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
22726
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
22727
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
22728
|
+
* the body is intact.
|
|
22728
22729
|
*/
|
|
22729
22730
|
OIDC_BEARER = "OIDC_BEARER"
|
|
22730
22731
|
}
|
|
@@ -22733,8 +22734,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
22733
22734
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
22734
22735
|
declare enum ReplayProtection {
|
|
22735
22736
|
/**
|
|
22736
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
22737
|
-
* seen under that id is discarded.
|
|
22737
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
22738
|
+
* and a delivery already seen under that id is discarded.
|
|
22738
22739
|
*/
|
|
22739
22740
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
22740
22741
|
/**
|
|
@@ -23064,8 +23065,9 @@ interface DispatchConfig {
|
|
|
23064
23065
|
*
|
|
23065
23066
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
23066
23067
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
23067
|
-
* located through the selected verification arm's verification_source. public_key_url
|
|
23068
|
-
* only credential-adjacent field, and it points at
|
|
23068
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
23069
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
23070
|
+
* material the provider publishes.
|
|
23069
23071
|
*
|
|
23070
23072
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
23071
23073
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -23121,39 +23123,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
23121
23123
|
* @max 3600
|
|
23122
23124
|
*/
|
|
23123
23125
|
timestampToleranceSeconds?: number;
|
|
23124
|
-
/**
|
|
23125
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
23126
|
-
* must be empty for every other method.
|
|
23127
|
-
*
|
|
23128
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
23129
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
23130
|
-
* when the keys are fetched instead.
|
|
23131
|
-
*
|
|
23132
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
23133
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
23134
|
-
* @maxLength 2000
|
|
23135
|
-
* @deprecated
|
|
23136
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
23137
|
-
* @targetRemovalDate 2027-06-30
|
|
23138
|
-
*/
|
|
23139
|
-
publicKeyUrl?: string;
|
|
23140
|
-
/**
|
|
23141
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
23142
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
23143
|
-
*
|
|
23144
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
23145
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
23146
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
23147
|
-
* alone.
|
|
23148
|
-
*
|
|
23149
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
23150
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
23151
|
-
* @maxLength 120
|
|
23152
|
-
* @deprecated
|
|
23153
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
23154
|
-
* @targetRemovalDate 2027-06-30
|
|
23155
|
-
*/
|
|
23156
|
-
deliveryIdHeader?: string;
|
|
23157
23126
|
/**
|
|
23158
23127
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
23159
23128
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -23271,47 +23240,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
23271
23240
|
* @immutable
|
|
23272
23241
|
*/
|
|
23273
23242
|
deliveryTopic?: string;
|
|
23274
|
-
/**
|
|
23275
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
23276
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
23277
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
23278
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
23279
|
-
* for every other method.
|
|
23280
|
-
*
|
|
23281
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
23282
|
-
* @maxLength 2000
|
|
23283
|
-
* @deprecated
|
|
23284
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
23285
|
-
* @targetRemovalDate 2027-06-30
|
|
23286
|
-
*/
|
|
23287
|
-
oidcExpectedAudience?: string;
|
|
23288
|
-
/**
|
|
23289
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
23290
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
23291
|
-
*
|
|
23292
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
23293
|
-
* @maxLength 2000
|
|
23294
|
-
* @deprecated
|
|
23295
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
23296
|
-
* @targetRemovalDate 2027-06-30
|
|
23297
|
-
*/
|
|
23298
|
-
oidcExpectedIssuer?: string;
|
|
23299
|
-
/**
|
|
23300
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
23301
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
23302
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
23303
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
23304
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
23305
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
23306
|
-
* must be empty for every other method.
|
|
23307
|
-
*
|
|
23308
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
23309
|
-
* @maxLength 2000
|
|
23310
|
-
* @deprecated
|
|
23311
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
23312
|
-
* @targetRemovalDate 2027-06-30
|
|
23313
|
-
*/
|
|
23314
|
-
oidcExpectedSubject?: string;
|
|
23315
23243
|
/**
|
|
23316
23244
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
23317
23245
|
* The whole request is verified once, then split into one delivery per element.
|