@wix/auto_sdk_data-extension-schema_schemas 1.0.317 → 1.0.319
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 +32 -178
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +32 -178
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +32 -178
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +32 -178
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +32 -178
- package/build/internal/cjs/meta.d.ts +32 -178
- package/build/internal/es/index.typings.d.mts +32 -178
- package/build/internal/es/meta.d.mts +32 -178
- package/package.json +2 -2
|
@@ -25865,18 +25865,21 @@ interface DispatchOrigin {
|
|
|
25865
25865
|
declare enum VerificationSource {
|
|
25866
25866
|
/**
|
|
25867
25867
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
25868
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
25869
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25868
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
25869
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25870
25870
|
*/
|
|
25871
25871
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
25872
25872
|
/**
|
|
25873
25873
|
* Material is issued per registration and lives on the registration the delivery was sent to.
|
|
25874
|
-
* Requires registration_required.
|
|
25874
|
+
* Requires registration_required. A registration is the provider-side one for a single
|
|
25875
|
+
* account, which is that account's subscription; there is no separate registration entity.
|
|
25875
25876
|
*/
|
|
25876
25877
|
PER_REGISTRATION = "PER_REGISTRATION",
|
|
25877
25878
|
/**
|
|
25878
25879
|
* There is no material, because nothing is verified. The only legal scope for
|
|
25879
|
-
* NO_VERIFICATION, and legal for nothing else.
|
|
25880
|
+
* NO_VERIFICATION, and legal for nothing else. Redundant with NO_VERIFICATION on purpose:
|
|
25881
|
+
* every enum in a valid config is explicitly set, so "nothing was declared" and "the
|
|
25882
|
+
* declaration is that nothing is verified" stay distinguishable.
|
|
25880
25883
|
*/
|
|
25881
25884
|
UNSIGNED = "UNSIGNED"
|
|
25882
25885
|
}
|
|
@@ -25921,7 +25924,7 @@ type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW
|
|
|
25921
25924
|
/**
|
|
25922
25925
|
* Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
|
|
25923
25926
|
* HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
|
|
25924
|
-
* together in the validator. timestamp_header / timestamp_tolerance_seconds stay
|
|
25927
|
+
* together in the validator. timestamp_header / timestamp_tolerance_seconds stay on
|
|
25925
25928
|
* WebhookConfig rather than moving in here, since BODY_HASH_WITHIN_TIMESTAMP_WINDOW borrows
|
|
25926
25929
|
* them independently of which verification_method is selected.
|
|
25927
25930
|
*/
|
|
@@ -25935,13 +25938,20 @@ interface HmacConfig {
|
|
|
25935
25938
|
signatureHeader?: string;
|
|
25936
25939
|
/**
|
|
25937
25940
|
* Literal prefix the provider places in front of the encoded signature, for example
|
|
25938
|
-
* "sha256=" or "v0=". Empty when the header holds the bare signature.
|
|
25941
|
+
* "sha256=" or "v0=". Empty when the header holds the bare signature. A constant, never a
|
|
25942
|
+
* template: compared verbatim against the start of the header, and a delivery whose header
|
|
25943
|
+
* does not start with it is rejected.
|
|
25939
25944
|
* @maxLength 20
|
|
25940
25945
|
*/
|
|
25941
25946
|
signatureValuePrefix?: string;
|
|
25942
25947
|
/** How the signature bytes are encoded in signature_header. */
|
|
25943
25948
|
signatureEncoding?: SignatureEncodingWithLiterals;
|
|
25944
|
-
/**
|
|
25949
|
+
/**
|
|
25950
|
+
* Which canonical string the signature is computed over, from a closed set of recipes. There
|
|
25951
|
+
* is deliberately no free-form signing template, which would make the inbound path an
|
|
25952
|
+
* interpreter of app-owner input; a provider whose canonical string is not listed needs a new
|
|
25953
|
+
* enum value.
|
|
25954
|
+
*/
|
|
25945
25955
|
signedPayload?: SignedPayloadWithLiterals;
|
|
25946
25956
|
}
|
|
25947
25957
|
declare enum EventsLocation {
|
|
@@ -25961,7 +25971,7 @@ declare enum VerificationMethod {
|
|
|
25961
25971
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
25962
25972
|
/**
|
|
25963
25973
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
25964
|
-
* public_key_url.
|
|
25974
|
+
* PublicKeyConfig.public_key_url.
|
|
25965
25975
|
*/
|
|
25966
25976
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
25967
25977
|
/**
|
|
@@ -25974,9 +25984,10 @@ declare enum VerificationMethod {
|
|
|
25974
25984
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
25975
25985
|
/**
|
|
25976
25986
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
25977
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
25978
|
-
* push authentication. Carries no payload binding, the same
|
|
25979
|
-
* documents for itself: it proves the sender's identity, not that
|
|
25987
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
25988
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
25989
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
25990
|
+
* the body is intact.
|
|
25980
25991
|
*/
|
|
25981
25992
|
OIDC_BEARER = "OIDC_BEARER"
|
|
25982
25993
|
}
|
|
@@ -25985,8 +25996,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
25985
25996
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
25986
25997
|
declare enum ReplayProtection {
|
|
25987
25998
|
/**
|
|
25988
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
25989
|
-
* seen under that id is discarded.
|
|
25999
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
26000
|
+
* and a delivery already seen under that id is discarded.
|
|
25990
26001
|
*/
|
|
25991
26002
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
25992
26003
|
/**
|
|
@@ -26316,8 +26327,9 @@ interface DispatchConfig {
|
|
|
26316
26327
|
*
|
|
26317
26328
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
26318
26329
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
26319
|
-
* located through
|
|
26320
|
-
*
|
|
26330
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
26331
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
26332
|
+
* material the provider publishes.
|
|
26321
26333
|
*
|
|
26322
26334
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
26323
26335
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -26348,90 +26360,19 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26348
26360
|
* must select a concrete method — an unset method is rejected rather than treated as a default.
|
|
26349
26361
|
*/
|
|
26350
26362
|
verificationMethod?: VerificationMethodWithLiterals;
|
|
26351
|
-
/**
|
|
26352
|
-
* Scope of the material used by verification_method: shared by the whole connector, or issued
|
|
26353
|
-
* per registration. Names the scope rather than the kind of material, so it stays accurate for
|
|
26354
|
-
* PUBLIC_KEY, where the connector-wide material is a published key URL and nothing is stored.
|
|
26355
|
-
*
|
|
26356
|
-
* "Per registration" is the provider-side registration for one account, which is that account's
|
|
26357
|
-
* subscription - there is no separate registration entity to look for.
|
|
26358
|
-
*
|
|
26359
|
-
* The UNSIGNED arm is redundant with verification_method = NO_VERIFICATION, and deliberately so:
|
|
26360
|
-
* every enum in a valid config is explicitly set, which keeps "nothing was declared" and "the
|
|
26361
|
-
* declaration is that nothing is verified" distinguishable states rather than the same unset
|
|
26362
|
-
* field. The alternative - dropping the arm and making this field conditionally required - moves
|
|
26363
|
-
* the same fact into a validation rule instead of removing it.
|
|
26364
|
-
*
|
|
26365
|
-
* Deprecated: superseded by each `verification` arm's own verification_source field. Kept live
|
|
26366
|
-
* and enforced for the flat-shape configs this migration has not yet moved off of.
|
|
26367
|
-
* @deprecated
|
|
26368
|
-
* @replacedBy verification (each arm's own verification_source field)
|
|
26369
|
-
* @targetRemovalDate 2027-06-30
|
|
26370
|
-
*/
|
|
26371
|
-
verificationSource?: VerificationSourceWithLiterals;
|
|
26372
|
-
/**
|
|
26373
|
-
* Header carrying the signature to verify. Required for HMAC_SHA256, HMAC_SHA1 and PUBLIC_KEY,
|
|
26374
|
-
* and must be empty for every other method. For example: "X-Hub-Signature-256".
|
|
26375
|
-
*
|
|
26376
|
-
* Deprecated: superseded by HmacConfig.signature_header (via the `verification` oneof's
|
|
26377
|
-
* hmac_sha256_config, hmac_sha1_config and public_key_config arms).
|
|
26378
|
-
* @maxLength 120
|
|
26379
|
-
* @deprecated
|
|
26380
|
-
* @replacedBy HmacConfig.signature_header (via the verification oneof)
|
|
26381
|
-
* @targetRemovalDate 2027-06-30
|
|
26382
|
-
*/
|
|
26383
|
-
signatureHeader?: string;
|
|
26384
|
-
/**
|
|
26385
|
-
* Literal prefix the provider places in front of the encoded signature, for example "sha256="
|
|
26386
|
-
* or "v0=". Empty when the header holds the bare signature.
|
|
26387
|
-
*
|
|
26388
|
-
* The value is a constant, never a template: it is compared verbatim against the start of the
|
|
26389
|
-
* header and stripped before decoding, and a delivery whose header does not start with it is
|
|
26390
|
-
* rejected. Nothing in it is interpreted or substituted.
|
|
26391
|
-
*
|
|
26392
|
-
* Deprecated: superseded by HmacConfig.signature_value_prefix.
|
|
26393
|
-
* @maxLength 20
|
|
26394
|
-
* @deprecated
|
|
26395
|
-
* @replacedBy HmacConfig.signature_value_prefix (via the verification oneof)
|
|
26396
|
-
* @targetRemovalDate 2027-06-30
|
|
26397
|
-
*/
|
|
26398
|
-
signatureValuePrefix?: string;
|
|
26399
|
-
/**
|
|
26400
|
-
* How the signature bytes are encoded in signature_header. Required whenever signature_header
|
|
26401
|
-
* is required.
|
|
26402
|
-
*
|
|
26403
|
-
* Deprecated: superseded by HmacConfig.signature_encoding.
|
|
26404
|
-
* @deprecated
|
|
26405
|
-
* @replacedBy HmacConfig.signature_encoding (via the verification oneof)
|
|
26406
|
-
* @targetRemovalDate 2027-06-30
|
|
26407
|
-
*/
|
|
26408
|
-
signatureEncoding?: SignatureEncodingWithLiterals;
|
|
26409
|
-
/**
|
|
26410
|
-
* Which canonical string the signature is computed over, selected from a closed set of recipes
|
|
26411
|
-
* the server implements. Required whenever signature_header is required.
|
|
26412
|
-
*
|
|
26413
|
-
* There is deliberately no free-form signing template: a configurable template would make the
|
|
26414
|
-
* inbound path an interpreter of app-owner input and an injection surface. A provider whose
|
|
26415
|
-
* canonical string is not listed here needs a new enum value, not a new template.
|
|
26416
|
-
*
|
|
26417
|
-
* Deprecated: superseded by HmacConfig.signed_payload.
|
|
26418
|
-
* @deprecated
|
|
26419
|
-
* @replacedBy HmacConfig.signed_payload (via the verification oneof)
|
|
26420
|
-
* @targetRemovalDate 2027-06-30
|
|
26421
|
-
*/
|
|
26422
|
-
signedPayload?: SignedPayloadWithLiterals;
|
|
26423
26363
|
/**
|
|
26424
26364
|
* Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
|
|
26425
|
-
* example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that
|
|
26426
|
-
* timestamp, and must be set together with timestamp_tolerance_seconds. The header
|
|
26427
|
-
* as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as
|
|
26365
|
+
* example: "X-Slack-Request-Timestamp". Required by the HmacConfig.signed_payload recipes that
|
|
26366
|
+
* include a timestamp, and must be set together with timestamp_tolerance_seconds. The header
|
|
26367
|
+
* value is read as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as
|
|
26368
|
+
* epoch milliseconds.
|
|
26428
26369
|
* @maxLength 120
|
|
26429
26370
|
*/
|
|
26430
26371
|
timestampHeader?: string;
|
|
26431
26372
|
/**
|
|
26432
26373
|
* How far the delivery timestamp may be from server time before the delivery is rejected. Must
|
|
26433
26374
|
* be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
|
|
26434
|
-
* whatever unit the signed_payload recipe reads timestamp_header in.
|
|
26375
|
+
* whatever unit the HmacConfig.signed_payload recipe reads timestamp_header in.
|
|
26435
26376
|
*
|
|
26436
26377
|
* The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
|
|
26437
26378
|
* remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
|
|
@@ -26444,52 +26385,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26444
26385
|
* @max 3600
|
|
26445
26386
|
*/
|
|
26446
26387
|
timestampToleranceSeconds?: number;
|
|
26447
|
-
/**
|
|
26448
|
-
* Header carrying the shared token the provider echoes on every delivery. Required for
|
|
26449
|
-
* CALLBACK_TOKEN and must be empty for every other method. For example:
|
|
26450
|
-
* "X-Goog-Channel-Token". The token itself is never declared here — it is located through
|
|
26451
|
-
* verification_source.
|
|
26452
|
-
*
|
|
26453
|
-
* Deprecated: superseded by CallbackTokenConfig.callback_token_header.
|
|
26454
|
-
* @maxLength 120
|
|
26455
|
-
* @deprecated
|
|
26456
|
-
* @replacedBy verification.callback_token_config.callback_token_header
|
|
26457
|
-
* @targetRemovalDate 2027-06-30
|
|
26458
|
-
*/
|
|
26459
|
-
callbackTokenHeader?: string;
|
|
26460
|
-
/**
|
|
26461
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
26462
|
-
* must be empty for every other method.
|
|
26463
|
-
*
|
|
26464
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26465
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
26466
|
-
* when the keys are fetched instead.
|
|
26467
|
-
*
|
|
26468
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
26469
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
26470
|
-
* @maxLength 2000
|
|
26471
|
-
* @deprecated
|
|
26472
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
26473
|
-
* @targetRemovalDate 2027-06-30
|
|
26474
|
-
*/
|
|
26475
|
-
publicKeyUrl?: string;
|
|
26476
|
-
/**
|
|
26477
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
26478
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
26479
|
-
*
|
|
26480
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
26481
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
26482
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
26483
|
-
* alone.
|
|
26484
|
-
*
|
|
26485
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
26486
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
26487
|
-
* @maxLength 120
|
|
26488
|
-
* @deprecated
|
|
26489
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
26490
|
-
* @targetRemovalDate 2027-06-30
|
|
26491
|
-
*/
|
|
26492
|
-
deliveryIdHeader?: string;
|
|
26493
26388
|
/**
|
|
26494
26389
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
26495
26390
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -26607,47 +26502,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26607
26502
|
* @immutable
|
|
26608
26503
|
*/
|
|
26609
26504
|
deliveryTopic?: string;
|
|
26610
|
-
/**
|
|
26611
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26612
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26613
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26614
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26615
|
-
* for every other method.
|
|
26616
|
-
*
|
|
26617
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
26618
|
-
* @maxLength 2000
|
|
26619
|
-
* @deprecated
|
|
26620
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
26621
|
-
* @targetRemovalDate 2027-06-30
|
|
26622
|
-
*/
|
|
26623
|
-
oidcExpectedAudience?: string;
|
|
26624
|
-
/**
|
|
26625
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26626
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26627
|
-
*
|
|
26628
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
26629
|
-
* @maxLength 2000
|
|
26630
|
-
* @deprecated
|
|
26631
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
26632
|
-
* @targetRemovalDate 2027-06-30
|
|
26633
|
-
*/
|
|
26634
|
-
oidcExpectedIssuer?: string;
|
|
26635
|
-
/**
|
|
26636
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26637
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26638
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26639
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26640
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
26641
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26642
|
-
* must be empty for every other method.
|
|
26643
|
-
*
|
|
26644
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
26645
|
-
* @maxLength 2000
|
|
26646
|
-
* @deprecated
|
|
26647
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
26648
|
-
* @targetRemovalDate 2027-06-30
|
|
26649
|
-
*/
|
|
26650
|
-
oidcExpectedSubject?: string;
|
|
26651
26505
|
/**
|
|
26652
26506
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
26653
26507
|
* The whole request is verified once, then split into one delivery per element.
|
|
@@ -25951,18 +25951,21 @@ interface DispatchOrigin {
|
|
|
25951
25951
|
declare enum VerificationSource {
|
|
25952
25952
|
/**
|
|
25953
25953
|
* One set of material covers every delivery of this connector: a single stored secret for the
|
|
25954
|
-
* HMAC and callback-token methods, or the published key set at public_key_url for
|
|
25955
|
-
* and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25954
|
+
* HMAC and callback-token methods, or the published key set at the arm's public_key_url for
|
|
25955
|
+
* PUBLIC_KEY and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
|
|
25956
25956
|
*/
|
|
25957
25957
|
CONNECTOR_WIDE = "CONNECTOR_WIDE",
|
|
25958
25958
|
/**
|
|
25959
25959
|
* Material is issued per registration and lives on the registration the delivery was sent to.
|
|
25960
|
-
* Requires registration_required.
|
|
25960
|
+
* Requires registration_required. A registration is the provider-side one for a single
|
|
25961
|
+
* account, which is that account's subscription; there is no separate registration entity.
|
|
25961
25962
|
*/
|
|
25962
25963
|
PER_REGISTRATION = "PER_REGISTRATION",
|
|
25963
25964
|
/**
|
|
25964
25965
|
* There is no material, because nothing is verified. The only legal scope for
|
|
25965
|
-
* NO_VERIFICATION, and legal for nothing else.
|
|
25966
|
+
* NO_VERIFICATION, and legal for nothing else. Redundant with NO_VERIFICATION on purpose:
|
|
25967
|
+
* every enum in a valid config is explicitly set, so "nothing was declared" and "the
|
|
25968
|
+
* declaration is that nothing is verified" stay distinguishable.
|
|
25966
25969
|
*/
|
|
25967
25970
|
UNSIGNED = "UNSIGNED"
|
|
25968
25971
|
}
|
|
@@ -26007,7 +26010,7 @@ type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW
|
|
|
26007
26010
|
/**
|
|
26008
26011
|
* Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
|
|
26009
26012
|
* HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
|
|
26010
|
-
* together in the validator. timestamp_header / timestamp_tolerance_seconds stay
|
|
26013
|
+
* together in the validator. timestamp_header / timestamp_tolerance_seconds stay on
|
|
26011
26014
|
* WebhookConfig rather than moving in here, since BODY_HASH_WITHIN_TIMESTAMP_WINDOW borrows
|
|
26012
26015
|
* them independently of which verification_method is selected.
|
|
26013
26016
|
*/
|
|
@@ -26021,13 +26024,20 @@ interface HmacConfig {
|
|
|
26021
26024
|
signatureHeader?: string;
|
|
26022
26025
|
/**
|
|
26023
26026
|
* Literal prefix the provider places in front of the encoded signature, for example
|
|
26024
|
-
* "sha256=" or "v0=". Empty when the header holds the bare signature.
|
|
26027
|
+
* "sha256=" or "v0=". Empty when the header holds the bare signature. A constant, never a
|
|
26028
|
+
* template: compared verbatim against the start of the header, and a delivery whose header
|
|
26029
|
+
* does not start with it is rejected.
|
|
26025
26030
|
* @maxLength 20
|
|
26026
26031
|
*/
|
|
26027
26032
|
signatureValuePrefix?: string;
|
|
26028
26033
|
/** How the signature bytes are encoded in signature_header. */
|
|
26029
26034
|
signatureEncoding?: SignatureEncodingWithLiterals;
|
|
26030
|
-
/**
|
|
26035
|
+
/**
|
|
26036
|
+
* Which canonical string the signature is computed over, from a closed set of recipes. There
|
|
26037
|
+
* is deliberately no free-form signing template, which would make the inbound path an
|
|
26038
|
+
* interpreter of app-owner input; a provider whose canonical string is not listed needs a new
|
|
26039
|
+
* enum value.
|
|
26040
|
+
*/
|
|
26031
26041
|
signedPayload?: SignedPayloadWithLiterals;
|
|
26032
26042
|
}
|
|
26033
26043
|
declare enum EventsLocation {
|
|
@@ -26047,7 +26057,7 @@ declare enum VerificationMethod {
|
|
|
26047
26057
|
HMAC_SHA1 = "HMAC_SHA1",
|
|
26048
26058
|
/**
|
|
26049
26059
|
* Asymmetric signature over the canonical string, verified with a key fetched from
|
|
26050
|
-
* public_key_url.
|
|
26060
|
+
* PublicKeyConfig.public_key_url.
|
|
26051
26061
|
*/
|
|
26052
26062
|
PUBLIC_KEY = "PUBLIC_KEY",
|
|
26053
26063
|
/**
|
|
@@ -26060,9 +26070,10 @@ declare enum VerificationMethod {
|
|
|
26060
26070
|
NO_VERIFICATION = "NO_VERIFICATION",
|
|
26061
26071
|
/**
|
|
26062
26072
|
* OIDC bearer JWT in the Authorization header, verified against the key set at
|
|
26063
|
-
* public_key_url with the expected audience, issuer and subject, for
|
|
26064
|
-
* push authentication. Carries no payload binding, the same
|
|
26065
|
-
* documents for itself: it proves the sender's identity, not that
|
|
26073
|
+
* OidcBearerConfig.public_key_url with the expected audience, issuer and subject, for
|
|
26074
|
+
* example Cloud Pub/Sub push authentication. Carries no payload binding, the same
|
|
26075
|
+
* limitation CALLBACK_TOKEN documents for itself: it proves the sender's identity, not that
|
|
26076
|
+
* the body is intact.
|
|
26066
26077
|
*/
|
|
26067
26078
|
OIDC_BEARER = "OIDC_BEARER"
|
|
26068
26079
|
}
|
|
@@ -26071,8 +26082,8 @@ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC
|
|
|
26071
26082
|
/** How a repeated delivery is recognized, so the same event is not processed twice. */
|
|
26072
26083
|
declare enum ReplayProtection {
|
|
26073
26084
|
/**
|
|
26074
|
-
* The provider sends a per-delivery id, named by delivery_id_header,
|
|
26075
|
-
* seen under that id is discarded.
|
|
26085
|
+
* The provider sends a per-delivery id, named by DeliveryIdHeaderConfig.delivery_id_header,
|
|
26086
|
+
* and a delivery already seen under that id is discarded.
|
|
26076
26087
|
*/
|
|
26077
26088
|
DELIVERY_ID_HEADER = "DELIVERY_ID_HEADER",
|
|
26078
26089
|
/**
|
|
@@ -26402,8 +26413,9 @@ interface DispatchConfig {
|
|
|
26402
26413
|
*
|
|
26403
26414
|
* No credential material is declared here. This config lives in the app component catalog and is
|
|
26404
26415
|
* readable by app owners; signing secrets and callback tokens are stored separately and are
|
|
26405
|
-
* located through
|
|
26406
|
-
*
|
|
26416
|
+
* located through the selected verification arm's verification_source. The public_key_url on
|
|
26417
|
+
* PublicKeyConfig and OidcBearerConfig is the only credential-adjacent field, and it points at
|
|
26418
|
+
* material the provider publishes.
|
|
26407
26419
|
*
|
|
26408
26420
|
* Fields naming something the provider owns carry a provider_ prefix, so the identifiers a
|
|
26409
26421
|
* delivery arrives with are never confused with the ones Wix mints.
|
|
@@ -26434,90 +26446,19 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26434
26446
|
* must select a concrete method — an unset method is rejected rather than treated as a default.
|
|
26435
26447
|
*/
|
|
26436
26448
|
verificationMethod?: VerificationMethodWithLiterals;
|
|
26437
|
-
/**
|
|
26438
|
-
* Scope of the material used by verification_method: shared by the whole connector, or issued
|
|
26439
|
-
* per registration. Names the scope rather than the kind of material, so it stays accurate for
|
|
26440
|
-
* PUBLIC_KEY, where the connector-wide material is a published key URL and nothing is stored.
|
|
26441
|
-
*
|
|
26442
|
-
* "Per registration" is the provider-side registration for one account, which is that account's
|
|
26443
|
-
* subscription - there is no separate registration entity to look for.
|
|
26444
|
-
*
|
|
26445
|
-
* The UNSIGNED arm is redundant with verification_method = NO_VERIFICATION, and deliberately so:
|
|
26446
|
-
* every enum in a valid config is explicitly set, which keeps "nothing was declared" and "the
|
|
26447
|
-
* declaration is that nothing is verified" distinguishable states rather than the same unset
|
|
26448
|
-
* field. The alternative - dropping the arm and making this field conditionally required - moves
|
|
26449
|
-
* the same fact into a validation rule instead of removing it.
|
|
26450
|
-
*
|
|
26451
|
-
* Deprecated: superseded by each `verification` arm's own verification_source field. Kept live
|
|
26452
|
-
* and enforced for the flat-shape configs this migration has not yet moved off of.
|
|
26453
|
-
* @deprecated
|
|
26454
|
-
* @replacedBy verification (each arm's own verification_source field)
|
|
26455
|
-
* @targetRemovalDate 2027-06-30
|
|
26456
|
-
*/
|
|
26457
|
-
verificationSource?: VerificationSourceWithLiterals;
|
|
26458
|
-
/**
|
|
26459
|
-
* Header carrying the signature to verify. Required for HMAC_SHA256, HMAC_SHA1 and PUBLIC_KEY,
|
|
26460
|
-
* and must be empty for every other method. For example: "X-Hub-Signature-256".
|
|
26461
|
-
*
|
|
26462
|
-
* Deprecated: superseded by HmacConfig.signature_header (via the `verification` oneof's
|
|
26463
|
-
* hmac_sha256_config, hmac_sha1_config and public_key_config arms).
|
|
26464
|
-
* @maxLength 120
|
|
26465
|
-
* @deprecated
|
|
26466
|
-
* @replacedBy HmacConfig.signature_header (via the verification oneof)
|
|
26467
|
-
* @targetRemovalDate 2027-06-30
|
|
26468
|
-
*/
|
|
26469
|
-
signatureHeader?: string;
|
|
26470
|
-
/**
|
|
26471
|
-
* Literal prefix the provider places in front of the encoded signature, for example "sha256="
|
|
26472
|
-
* or "v0=". Empty when the header holds the bare signature.
|
|
26473
|
-
*
|
|
26474
|
-
* The value is a constant, never a template: it is compared verbatim against the start of the
|
|
26475
|
-
* header and stripped before decoding, and a delivery whose header does not start with it is
|
|
26476
|
-
* rejected. Nothing in it is interpreted or substituted.
|
|
26477
|
-
*
|
|
26478
|
-
* Deprecated: superseded by HmacConfig.signature_value_prefix.
|
|
26479
|
-
* @maxLength 20
|
|
26480
|
-
* @deprecated
|
|
26481
|
-
* @replacedBy HmacConfig.signature_value_prefix (via the verification oneof)
|
|
26482
|
-
* @targetRemovalDate 2027-06-30
|
|
26483
|
-
*/
|
|
26484
|
-
signatureValuePrefix?: string;
|
|
26485
|
-
/**
|
|
26486
|
-
* How the signature bytes are encoded in signature_header. Required whenever signature_header
|
|
26487
|
-
* is required.
|
|
26488
|
-
*
|
|
26489
|
-
* Deprecated: superseded by HmacConfig.signature_encoding.
|
|
26490
|
-
* @deprecated
|
|
26491
|
-
* @replacedBy HmacConfig.signature_encoding (via the verification oneof)
|
|
26492
|
-
* @targetRemovalDate 2027-06-30
|
|
26493
|
-
*/
|
|
26494
|
-
signatureEncoding?: SignatureEncodingWithLiterals;
|
|
26495
|
-
/**
|
|
26496
|
-
* Which canonical string the signature is computed over, selected from a closed set of recipes
|
|
26497
|
-
* the server implements. Required whenever signature_header is required.
|
|
26498
|
-
*
|
|
26499
|
-
* There is deliberately no free-form signing template: a configurable template would make the
|
|
26500
|
-
* inbound path an interpreter of app-owner input and an injection surface. A provider whose
|
|
26501
|
-
* canonical string is not listed here needs a new enum value, not a new template.
|
|
26502
|
-
*
|
|
26503
|
-
* Deprecated: superseded by HmacConfig.signed_payload.
|
|
26504
|
-
* @deprecated
|
|
26505
|
-
* @replacedBy HmacConfig.signed_payload (via the verification oneof)
|
|
26506
|
-
* @targetRemovalDate 2027-06-30
|
|
26507
|
-
*/
|
|
26508
|
-
signedPayload?: SignedPayloadWithLiterals;
|
|
26509
26449
|
/**
|
|
26510
26450
|
* Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
|
|
26511
|
-
* example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that
|
|
26512
|
-
* timestamp, and must be set together with timestamp_tolerance_seconds. The header
|
|
26513
|
-
* as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as
|
|
26451
|
+
* example: "X-Slack-Request-Timestamp". Required by the HmacConfig.signed_payload recipes that
|
|
26452
|
+
* include a timestamp, and must be set together with timestamp_tolerance_seconds. The header
|
|
26453
|
+
* value is read as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as
|
|
26454
|
+
* epoch milliseconds.
|
|
26514
26455
|
* @maxLength 120
|
|
26515
26456
|
*/
|
|
26516
26457
|
timestampHeader?: string;
|
|
26517
26458
|
/**
|
|
26518
26459
|
* How far the delivery timestamp may be from server time before the delivery is rejected. Must
|
|
26519
26460
|
* be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
|
|
26520
|
-
* whatever unit the signed_payload recipe reads timestamp_header in.
|
|
26461
|
+
* whatever unit the HmacConfig.signed_payload recipe reads timestamp_header in.
|
|
26521
26462
|
*
|
|
26522
26463
|
* The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
|
|
26523
26464
|
* remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
|
|
@@ -26530,52 +26471,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26530
26471
|
* @max 3600
|
|
26531
26472
|
*/
|
|
26532
26473
|
timestampToleranceSeconds?: number;
|
|
26533
|
-
/**
|
|
26534
|
-
* Header carrying the shared token the provider echoes on every delivery. Required for
|
|
26535
|
-
* CALLBACK_TOKEN and must be empty for every other method. For example:
|
|
26536
|
-
* "X-Goog-Channel-Token". The token itself is never declared here — it is located through
|
|
26537
|
-
* verification_source.
|
|
26538
|
-
*
|
|
26539
|
-
* Deprecated: superseded by CallbackTokenConfig.callback_token_header.
|
|
26540
|
-
* @maxLength 120
|
|
26541
|
-
* @deprecated
|
|
26542
|
-
* @replacedBy verification.callback_token_config.callback_token_header
|
|
26543
|
-
* @targetRemovalDate 2027-06-30
|
|
26544
|
-
*/
|
|
26545
|
-
callbackTokenHeader?: string;
|
|
26546
|
-
/**
|
|
26547
|
-
* Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
|
|
26548
|
-
* must be empty for every other method.
|
|
26549
|
-
*
|
|
26550
|
-
* Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
|
|
26551
|
-
* value this field carries for every other method. HTTPS and a parseable endpoint are enforced
|
|
26552
|
-
* when the keys are fetched instead.
|
|
26553
|
-
*
|
|
26554
|
-
* Deprecated: superseded by PublicKeyConfig.public_key_url for PUBLIC_KEY, and by
|
|
26555
|
-
* OidcBearerConfig.public_key_url for OIDC_BEARER.
|
|
26556
|
-
* @maxLength 2000
|
|
26557
|
-
* @deprecated
|
|
26558
|
-
* @replacedBy verification.public_key_config.public_key_url (PUBLIC_KEY) or verification.oidc_bearer_config.public_key_url (OIDC_BEARER)
|
|
26559
|
-
* @targetRemovalDate 2027-06-30
|
|
26560
|
-
*/
|
|
26561
|
-
publicKeyUrl?: string;
|
|
26562
|
-
/**
|
|
26563
|
-
* Header carrying the provider's unique id for this delivery, for example "X-GitHub-Delivery".
|
|
26564
|
-
* Required by, and legal only with, replay_protection = DELIVERY_ID_HEADER.
|
|
26565
|
-
*
|
|
26566
|
-
* The id is only as unique as the provider makes it. Google Calendar's X-Goog-Message-Number,
|
|
26567
|
-
* for instance, counts per notification channel rather than globally, so a delivery is
|
|
26568
|
-
* identified by the registration it arrived on together with this value, never by the value
|
|
26569
|
-
* alone.
|
|
26570
|
-
*
|
|
26571
|
-
* Deprecated: superseded by DeliveryIdHeaderConfig.delivery_id_header (via the
|
|
26572
|
-
* `replay_protection_config` oneof's delivery_id_header_config arm).
|
|
26573
|
-
* @maxLength 120
|
|
26574
|
-
* @deprecated
|
|
26575
|
-
* @replacedBy replay_protection_config.delivery_id_header_config.delivery_id_header
|
|
26576
|
-
* @targetRemovalDate 2027-06-30
|
|
26577
|
-
*/
|
|
26578
|
-
deliveryIdHeader?: string;
|
|
26579
26474
|
/**
|
|
26580
26475
|
* Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
|
|
26581
26476
|
* most one of event_type_header and event_type_json_pointer may be set, and a provider with no
|
|
@@ -26693,47 +26588,6 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
26693
26588
|
* @immutable
|
|
26694
26589
|
*/
|
|
26695
26590
|
deliveryTopic?: string;
|
|
26696
|
-
/**
|
|
26697
|
-
* Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
|
|
26698
|
-
* requested the token, not by the issuer, so pinning the value expected here is what stops a
|
|
26699
|
-
* bearer token minted for a different audience — a different Pub/Sub push subscription, for
|
|
26700
|
-
* instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
|
|
26701
|
-
* for every other method.
|
|
26702
|
-
*
|
|
26703
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_audience.
|
|
26704
|
-
* @maxLength 2000
|
|
26705
|
-
* @deprecated
|
|
26706
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_audience
|
|
26707
|
-
* @targetRemovalDate 2027-06-30
|
|
26708
|
-
*/
|
|
26709
|
-
oidcExpectedAudience?: string;
|
|
26710
|
-
/**
|
|
26711
|
-
* Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
|
|
26712
|
-
* Required for OIDC_BEARER and must be empty for every other method.
|
|
26713
|
-
*
|
|
26714
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_issuer.
|
|
26715
|
-
* @maxLength 2000
|
|
26716
|
-
* @deprecated
|
|
26717
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_issuer
|
|
26718
|
-
* @targetRemovalDate 2027-06-30
|
|
26719
|
-
*/
|
|
26720
|
-
oidcExpectedIssuer?: string;
|
|
26721
|
-
/**
|
|
26722
|
-
* Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
|
|
26723
|
-
* trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
|
|
26724
|
-
* service account. iss and aud alone do not identify the sender: aud is a value the token
|
|
26725
|
-
* *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
|
|
26726
|
-
* same-audience token — a different Google service account with permission to request an ID
|
|
26727
|
-
* token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
|
|
26728
|
-
* must be empty for every other method.
|
|
26729
|
-
*
|
|
26730
|
-
* Deprecated: superseded by OidcBearerConfig.oidc_expected_subject.
|
|
26731
|
-
* @maxLength 2000
|
|
26732
|
-
* @deprecated
|
|
26733
|
-
* @replacedBy verification.oidc_bearer_config.oidc_expected_subject
|
|
26734
|
-
* @targetRemovalDate 2027-06-30
|
|
26735
|
-
*/
|
|
26736
|
-
oidcExpectedSubject?: string;
|
|
26737
26591
|
/**
|
|
26738
26592
|
* Set when one delivery body is a batch of events, each possibly for a different provider tenant.
|
|
26739
26593
|
* 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_data-extension-schema_schemas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.319",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.data_extensions.v1.data_extension_schema"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "a6c9f7b09f4a6695ce9008584545771ceb9c45a53d62561ada9c0767"
|
|
54
54
|
}
|