@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
|
@@ -25680,8 +25680,8 @@ interface DispatchOrigin {
|
|
|
25680
25680
|
declare enum VerificationSource {
|
|
25681
25681
|
/**
|
|
25682
25682
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
25683
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
25684
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25683
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
25684
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25685
25685
|
*/
|
|
25686
25686
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
25687
25687
|
/**
|
|
@@ -25786,7 +25786,7 @@ declare enum VerificationMethod {
|
|
|
25786
25786
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
25787
25787
|
/**
|
|
25788
25788
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
25789
|
-
* public_key_url.
|
|
25789
|
+
* PublicKeyConfig.public_key_url.
|
|
25790
25790
|
*/
|
|
25791
25791
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
25792
25792
|
/**
|
|
@@ -25799,9 +25799,10 @@ declare enum VerificationMethod {
|
|
|
25799
25799
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
25800
25800
|
/**
|
|
25801
25801
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
25802
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
25803
|
-
* push authentication. Carries no payload binding, the same
|
|
25804
|
-
* documents for itself: it proves the sender's identity, not that
|
|
25802
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
25803
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
25804
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
25805
|
+
* the body is intact.
|
|
25805
25806
|
*/
|
|
25806
25807
|
OIDC_BEARER = "OIDC_BEARER"
|
|
25807
25808
|
}
|
|
@@ -25810,8 +25811,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
25810
25811
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
25811
25812
|
declare enum ReplayProtection {
|
|
25812
25813
|
/**
|
|
25813
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
25814
|
-
* seen under that id is discarded.
|
|
25814
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
25815
|
+
* and a delivery already seen under that id is discarded.
|
|
25815
25816
|
*/
|
|
25816
25817
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
25817
25818
|
/**
|
|
@@ -26141,8 +26142,9 @@ interface DispatchConfig {
|
|
|
26141
26142
|
*
|
|
26142
26143
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
26143
26144
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
26144
|
-
* located through the selected verification arm's verification_source. public_key_url
|
|
26145
|
-
* only credential-adjacent field, and it points at
|
|
26145
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
26146
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
26147
|
+
* material the provider publishes.
|
|
26146
26148
|
*
|
|
26147
26149
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
26148
26150
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -26198,39 +26200,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26198
26200
|
* @max 3600
|
|
26199
26201
|
*/
|
|
26200
26202
|
timestampToleranceSeconds?: number;
|
|
26201
|
-
/**
|
|
26202
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
26203
|
-
* must be empty for every other method.
|
|
26204
|
-
*
|
|
26205
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26206
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
26207
|
-
* when the keys are fetched instead.
|
|
26208
|
-
*
|
|
26209
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
26210
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
26211
|
-
* @maxLength 2000
|
|
26212
|
-
* @deprecated
|
|
26213
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
26214
|
-
* @targetRemovalDate 2027-06-30
|
|
26215
|
-
*/
|
|
26216
|
-
publicKeyUrl?: string;
|
|
26217
|
-
/**
|
|
26218
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
26219
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
26220
|
-
*
|
|
26221
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
26222
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
26223
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
26224
|
-
* alone.
|
|
26225
|
-
*
|
|
26226
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
26227
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
26228
|
-
* @maxLength 120
|
|
26229
|
-
* @deprecated
|
|
26230
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
26231
|
-
* @targetRemovalDate 2027-06-30
|
|
26232
|
-
*/
|
|
26233
|
-
deliveryIdHeader?: string;
|
|
26234
26203
|
/**
|
|
26235
26204
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
26236
26205
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -26348,47 +26317,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26348
26317
|
* @immutable
|
|
26349
26318
|
*/
|
|
26350
26319
|
deliveryTopic?: string;
|
|
26351
|
-
/**
|
|
26352
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26353
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26354
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26355
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26356
|
-
* for every other method.
|
|
26357
|
-
*
|
|
26358
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
26359
|
-
* @maxLength 2000
|
|
26360
|
-
* @deprecated
|
|
26361
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
26362
|
-
* @targetRemovalDate 2027-06-30
|
|
26363
|
-
*/
|
|
26364
|
-
oidcExpectedAudience?: string;
|
|
26365
|
-
/**
|
|
26366
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26367
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26368
|
-
*
|
|
26369
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
26370
|
-
* @maxLength 2000
|
|
26371
|
-
* @deprecated
|
|
26372
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
26373
|
-
* @targetRemovalDate 2027-06-30
|
|
26374
|
-
*/
|
|
26375
|
-
oidcExpectedIssuer?: string;
|
|
26376
|
-
/**
|
|
26377
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26378
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26379
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26380
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26381
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
26382
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26383
|
-
* must be empty for every other method.
|
|
26384
|
-
*
|
|
26385
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
26386
|
-
* @maxLength 2000
|
|
26387
|
-
* @deprecated
|
|
26388
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
26389
|
-
* @targetRemovalDate 2027-06-30
|
|
26390
|
-
*/
|
|
26391
|
-
oidcExpectedSubject?: string;
|
|
26392
26320
|
/**
|
|
26393
26321
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
26394
26322
|
* The whole request is verified once, then split into one delivery per element.
|
|
@@ -25722,8 +25722,8 @@ interface DispatchOrigin {
|
|
|
25722
25722
|
declare enum VerificationSource {
|
|
25723
25723
|
/**
|
|
25724
25724
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
25725
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
25726
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25725
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
25726
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25727
25727
|
*/
|
|
25728
25728
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
25729
25729
|
/**
|
|
@@ -25828,7 +25828,7 @@ declare enum VerificationMethod {
|
|
|
25828
25828
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
25829
25829
|
/**
|
|
25830
25830
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
25831
|
-
* public_key_url.
|
|
25831
|
+
* PublicKeyConfig.public_key_url.
|
|
25832
25832
|
*/
|
|
25833
25833
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
25834
25834
|
/**
|
|
@@ -25841,9 +25841,10 @@ declare enum VerificationMethod {
|
|
|
25841
25841
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
25842
25842
|
/**
|
|
25843
25843
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
25844
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
25845
|
-
* push authentication. Carries no payload binding, the same
|
|
25846
|
-
* documents for itself: it proves the sender's identity, not that
|
|
25844
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
25845
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
25846
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
25847
|
+
* the body is intact.
|
|
25847
25848
|
*/
|
|
25848
25849
|
OIDC_BEARER = "OIDC_BEARER"
|
|
25849
25850
|
}
|
|
@@ -25852,8 +25853,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
25852
25853
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
25853
25854
|
declare enum ReplayProtection {
|
|
25854
25855
|
/**
|
|
25855
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
25856
|
-
* seen under that id is discarded.
|
|
25856
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
25857
|
+
* and a delivery already seen under that id is discarded.
|
|
25857
25858
|
*/
|
|
25858
25859
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
25859
25860
|
/**
|
|
@@ -26183,8 +26184,9 @@ interface DispatchConfig {
|
|
|
26183
26184
|
*
|
|
26184
26185
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
26185
26186
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
26186
|
-
* located through the selected verification arm's verification_source. public_key_url
|
|
26187
|
-
* only credential-adjacent field, and it points at
|
|
26187
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
26188
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
26189
|
+
* material the provider publishes.
|
|
26188
26190
|
*
|
|
26189
26191
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
26190
26192
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -26240,39 +26242,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26240
26242
|
* @max 3600
|
|
26241
26243
|
*/
|
|
26242
26244
|
timestampToleranceSeconds?: number;
|
|
26243
|
-
/**
|
|
26244
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
26245
|
-
* must be empty for every other method.
|
|
26246
|
-
*
|
|
26247
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26248
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
26249
|
-
* when the keys are fetched instead.
|
|
26250
|
-
*
|
|
26251
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
26252
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
26253
|
-
* @maxLength 2000
|
|
26254
|
-
* @deprecated
|
|
26255
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
26256
|
-
* @targetRemovalDate 2027-06-30
|
|
26257
|
-
*/
|
|
26258
|
-
publicKeyUrl?: string;
|
|
26259
|
-
/**
|
|
26260
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
26261
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
26262
|
-
*
|
|
26263
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
26264
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
26265
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
26266
|
-
* alone.
|
|
26267
|
-
*
|
|
26268
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
26269
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
26270
|
-
* @maxLength 120
|
|
26271
|
-
* @deprecated
|
|
26272
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
26273
|
-
* @targetRemovalDate 2027-06-30
|
|
26274
|
-
*/
|
|
26275
|
-
deliveryIdHeader?: string;
|
|
26276
26245
|
/**
|
|
26277
26246
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
26278
26247
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -26390,47 +26359,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26390
26359
|
* @immutable
|
|
26391
26360
|
*/
|
|
26392
26361
|
deliveryTopic?: string;
|
|
26393
|
-
/**
|
|
26394
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26395
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26396
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26397
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26398
|
-
* for every other method.
|
|
26399
|
-
*
|
|
26400
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
26401
|
-
* @maxLength 2000
|
|
26402
|
-
* @deprecated
|
|
26403
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
26404
|
-
* @targetRemovalDate 2027-06-30
|
|
26405
|
-
*/
|
|
26406
|
-
oidcExpectedAudience?: string;
|
|
26407
|
-
/**
|
|
26408
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26409
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26410
|
-
*
|
|
26411
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
26412
|
-
* @maxLength 2000
|
|
26413
|
-
* @deprecated
|
|
26414
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
26415
|
-
* @targetRemovalDate 2027-06-30
|
|
26416
|
-
*/
|
|
26417
|
-
oidcExpectedIssuer?: string;
|
|
26418
|
-
/**
|
|
26419
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26420
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26421
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26422
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26423
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
26424
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26425
|
-
* must be empty for every other method.
|
|
26426
|
-
*
|
|
26427
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
26428
|
-
* @maxLength 2000
|
|
26429
|
-
* @deprecated
|
|
26430
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
26431
|
-
* @targetRemovalDate 2027-06-30
|
|
26432
|
-
*/
|
|
26433
|
-
oidcExpectedSubject?: string;
|
|
26434
26362
|
/**
|
|
26435
26363
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
26436
26364
|
* The whole request is verified once, then split into one delivery per element.
|
|
@@ -25680,8 +25680,8 @@ interface DispatchOrigin {
|
|
|
25680
25680
|
declare enum VerificationSource {
|
|
25681
25681
|
/**
|
|
25682
25682
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
25683
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
25684
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25683
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
25684
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25685
25685
|
*/
|
|
25686
25686
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
25687
25687
|
/**
|
|
@@ -25786,7 +25786,7 @@ declare enum VerificationMethod {
|
|
|
25786
25786
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
25787
25787
|
/**
|
|
25788
25788
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
25789
|
-
* public_key_url.
|
|
25789
|
+
* PublicKeyConfig.public_key_url.
|
|
25790
25790
|
*/
|
|
25791
25791
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
25792
25792
|
/**
|
|
@@ -25799,9 +25799,10 @@ declare enum VerificationMethod {
|
|
|
25799
25799
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
25800
25800
|
/**
|
|
25801
25801
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
25802
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
25803
|
-
* push authentication. Carries no payload binding, the same
|
|
25804
|
-
* documents for itself: it proves the sender's identity, not that
|
|
25802
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
25803
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
25804
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
25805
|
+
* the body is intact.
|
|
25805
25806
|
*/
|
|
25806
25807
|
OIDC_BEARER = "OIDC_BEARER"
|
|
25807
25808
|
}
|
|
@@ -25810,8 +25811,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
25810
25811
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
25811
25812
|
declare enum ReplayProtection {
|
|
25812
25813
|
/**
|
|
25813
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
25814
|
-
* seen under that id is discarded.
|
|
25814
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
25815
|
+
* and a delivery already seen under that id is discarded.
|
|
25815
25816
|
*/
|
|
25816
25817
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
25817
25818
|
/**
|
|
@@ -26141,8 +26142,9 @@ interface DispatchConfig {
|
|
|
26141
26142
|
*
|
|
26142
26143
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
26143
26144
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
26144
|
-
* located through the selected verification arm's verification_source. public_key_url
|
|
26145
|
-
* only credential-adjacent field, and it points at
|
|
26145
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
26146
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
26147
|
+
* material the provider publishes.
|
|
26146
26148
|
*
|
|
26147
26149
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
26148
26150
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -26198,39 +26200,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26198
26200
|
* @max 3600
|
|
26199
26201
|
*/
|
|
26200
26202
|
timestampToleranceSeconds?: number;
|
|
26201
|
-
/**
|
|
26202
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
26203
|
-
* must be empty for every other method.
|
|
26204
|
-
*
|
|
26205
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26206
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
26207
|
-
* when the keys are fetched instead.
|
|
26208
|
-
*
|
|
26209
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
26210
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
26211
|
-
* @maxLength 2000
|
|
26212
|
-
* @deprecated
|
|
26213
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
26214
|
-
* @targetRemovalDate 2027-06-30
|
|
26215
|
-
*/
|
|
26216
|
-
publicKeyUrl?: string;
|
|
26217
|
-
/**
|
|
26218
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
26219
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
26220
|
-
*
|
|
26221
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
26222
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
26223
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
26224
|
-
* alone.
|
|
26225
|
-
*
|
|
26226
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
26227
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
26228
|
-
* @maxLength 120
|
|
26229
|
-
* @deprecated
|
|
26230
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
26231
|
-
* @targetRemovalDate 2027-06-30
|
|
26232
|
-
*/
|
|
26233
|
-
deliveryIdHeader?: string;
|
|
26234
26203
|
/**
|
|
26235
26204
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
26236
26205
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -26348,47 +26317,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26348
26317
|
* @immutable
|
|
26349
26318
|
*/
|
|
26350
26319
|
deliveryTopic?: string;
|
|
26351
|
-
/**
|
|
26352
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26353
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26354
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26355
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26356
|
-
* for every other method.
|
|
26357
|
-
*
|
|
26358
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
26359
|
-
* @maxLength 2000
|
|
26360
|
-
* @deprecated
|
|
26361
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
26362
|
-
* @targetRemovalDate 2027-06-30
|
|
26363
|
-
*/
|
|
26364
|
-
oidcExpectedAudience?: string;
|
|
26365
|
-
/**
|
|
26366
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26367
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26368
|
-
*
|
|
26369
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
26370
|
-
* @maxLength 2000
|
|
26371
|
-
* @deprecated
|
|
26372
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
26373
|
-
* @targetRemovalDate 2027-06-30
|
|
26374
|
-
*/
|
|
26375
|
-
oidcExpectedIssuer?: string;
|
|
26376
|
-
/**
|
|
26377
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26378
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26379
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26380
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26381
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
26382
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26383
|
-
* must be empty for every other method.
|
|
26384
|
-
*
|
|
26385
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
26386
|
-
* @maxLength 2000
|
|
26387
|
-
* @deprecated
|
|
26388
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
26389
|
-
* @targetRemovalDate 2027-06-30
|
|
26390
|
-
*/
|
|
26391
|
-
oidcExpectedSubject?: string;
|
|
26392
26320
|
/**
|
|
26393
26321
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
26394
26322
|
* The whole request is verified once, then split into one delivery per element.
|
|
@@ -25722,8 +25722,8 @@ interface DispatchOrigin {
|
|
|
25722
25722
|
declare enum VerificationSource {
|
|
25723
25723
|
/**
|
|
25724
25724
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
25725
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
25726
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25725
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
25726
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25727
25727
|
*/
|
|
25728
25728
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
25729
25729
|
/**
|
|
@@ -25828,7 +25828,7 @@ declare enum VerificationMethod {
|
|
|
25828
25828
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
25829
25829
|
/**
|
|
25830
25830
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
25831
|
-
* public_key_url.
|
|
25831
|
+
* PublicKeyConfig.public_key_url.
|
|
25832
25832
|
*/
|
|
25833
25833
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
25834
25834
|
/**
|
|
@@ -25841,9 +25841,10 @@ declare enum VerificationMethod {
|
|
|
25841
25841
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
25842
25842
|
/**
|
|
25843
25843
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
25844
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
25845
|
-
* push authentication. Carries no payload binding, the same
|
|
25846
|
-
* documents for itself: it proves the sender's identity, not that
|
|
25844
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
25845
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
25846
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
25847
|
+
* the body is intact.
|
|
25847
25848
|
*/
|
|
25848
25849
|
OIDC_BEARER = "OIDC_BEARER"
|
|
25849
25850
|
}
|
|
@@ -25852,8 +25853,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
25852
25853
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
25853
25854
|
declare enum ReplayProtection {
|
|
25854
25855
|
/**
|
|
25855
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
25856
|
-
* seen under that id is discarded.
|
|
25856
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
25857
|
+
* and a delivery already seen under that id is discarded.
|
|
25857
25858
|
*/
|
|
25858
25859
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
25859
25860
|
/**
|
|
@@ -26183,8 +26184,9 @@ interface DispatchConfig {
|
|
|
26183
26184
|
*
|
|
26184
26185
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
26185
26186
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
26186
|
-
* located through the selected verification arm's verification_source. public_key_url
|
|
26187
|
-
* only credential-adjacent field, and it points at
|
|
26187
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
26188
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
26189
|
+
* material the provider publishes.
|
|
26188
26190
|
*
|
|
26189
26191
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
26190
26192
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -26240,39 +26242,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26240
26242
|
* @max 3600
|
|
26241
26243
|
*/
|
|
26242
26244
|
timestampToleranceSeconds?: number;
|
|
26243
|
-
/**
|
|
26244
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
26245
|
-
* must be empty for every other method.
|
|
26246
|
-
*
|
|
26247
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26248
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
26249
|
-
* when the keys are fetched instead.
|
|
26250
|
-
*
|
|
26251
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
26252
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
26253
|
-
* @maxLength 2000
|
|
26254
|
-
* @deprecated
|
|
26255
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
26256
|
-
* @targetRemovalDate 2027-06-30
|
|
26257
|
-
*/
|
|
26258
|
-
publicKeyUrl?: string;
|
|
26259
|
-
/**
|
|
26260
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
26261
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
26262
|
-
*
|
|
26263
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
26264
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
26265
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
26266
|
-
* alone.
|
|
26267
|
-
*
|
|
26268
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
26269
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
26270
|
-
* @maxLength 120
|
|
26271
|
-
* @deprecated
|
|
26272
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
26273
|
-
* @targetRemovalDate 2027-06-30
|
|
26274
|
-
*/
|
|
26275
|
-
deliveryIdHeader?: string;
|
|
26276
26245
|
/**
|
|
26277
26246
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
26278
26247
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -26390,47 +26359,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26390
26359
|
* @immutable
|
|
26391
26360
|
*/
|
|
26392
26361
|
deliveryTopic?: string;
|
|
26393
|
-
/**
|
|
26394
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26395
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26396
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26397
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26398
|
-
* for every other method.
|
|
26399
|
-
*
|
|
26400
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
26401
|
-
* @maxLength 2000
|
|
26402
|
-
* @deprecated
|
|
26403
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
26404
|
-
* @targetRemovalDate 2027-06-30
|
|
26405
|
-
*/
|
|
26406
|
-
oidcExpectedAudience?: string;
|
|
26407
|
-
/**
|
|
26408
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26409
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26410
|
-
*
|
|
26411
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
26412
|
-
* @maxLength 2000
|
|
26413
|
-
* @deprecated
|
|
26414
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
26415
|
-
* @targetRemovalDate 2027-06-30
|
|
26416
|
-
*/
|
|
26417
|
-
oidcExpectedIssuer?: string;
|
|
26418
|
-
/**
|
|
26419
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26420
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26421
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26422
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26423
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
26424
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26425
|
-
* must be empty for every other method.
|
|
26426
|
-
*
|
|
26427
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
26428
|
-
* @maxLength 2000
|
|
26429
|
-
* @deprecated
|
|
26430
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
26431
|
-
* @targetRemovalDate 2027-06-30
|
|
26432
|
-
*/
|
|
26433
|
-
oidcExpectedSubject?: string;
|
|
26434
26362
|
/**
|
|
26435
26363
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
26436
26364
|
* The whole request is verified once, then split into one delivery per element.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_app-components_components-catalog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.111",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.devcenter.v1.component_type_data"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "a6c57a2e13261bf9bf4192929eab5286aff6dfd4ab96143fb66c5fac"
|
|
54
54
|
}
|