@wix/auto_sdk_data-extension-schema_schemas 1.0.306 → 1.0.307
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 +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -4
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -4
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -4
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -4
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -4
- package/build/internal/cjs/meta.d.ts +13 -4
- package/build/internal/es/index.typings.d.mts +13 -4
- package/build/internal/es/meta.d.mts +13 -4
- package/package.json +2 -2
|
@@ -22723,10 +22723,17 @@ declare enum SignedPayload {
|
|
|
22723
22723
|
* "v0" + ":" + timestamp + ":" + body, where timestamp is the value of timestamp_header
|
|
22724
22724
|
* verbatim. Requires timestamp_header.
|
|
22725
22725
|
*/
|
|
22726
|
-
VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY"
|
|
22726
|
+
VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY",
|
|
22727
|
+
/**
|
|
22728
|
+
* method + uri + body + timestamp, where method is the HTTP method, uri is the callback URL
|
|
22729
|
+
* Wix issued plus the delivery's query string with HubSpot's twelve reserved escapes decoded,
|
|
22730
|
+
* and timestamp is the value of timestamp_header verbatim, read as epoch milliseconds.
|
|
22731
|
+
* Requires timestamp_header.
|
|
22732
|
+
*/
|
|
22733
|
+
METHOD_URI_BODY_TIMESTAMP = "METHOD_URI_BODY_TIMESTAMP"
|
|
22727
22734
|
}
|
|
22728
22735
|
/** @enumType */
|
|
22729
|
-
type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY';
|
|
22736
|
+
type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY' | 'METHOD_URI_BODY_TIMESTAMP';
|
|
22730
22737
|
/**
|
|
22731
22738
|
* Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
|
|
22732
22739
|
* HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
|
|
@@ -23183,13 +23190,15 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
23183
23190
|
/**
|
|
23184
23191
|
* Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
|
|
23185
23192
|
* example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that include a
|
|
23186
|
-
* timestamp, and must be set together with timestamp_tolerance_seconds.
|
|
23193
|
+
* timestamp, and must be set together with timestamp_tolerance_seconds. The header value is read
|
|
23194
|
+
* as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as epoch milliseconds.
|
|
23187
23195
|
* @maxLength 120
|
|
23188
23196
|
*/
|
|
23189
23197
|
timestampHeader?: string;
|
|
23190
23198
|
/**
|
|
23191
23199
|
* How far the delivery timestamp may be from server time before the delivery is rejected. Must
|
|
23192
|
-
* be greater than zero when timestamp_header is set, and zero when it is not.
|
|
23200
|
+
* be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
|
|
23201
|
+
* whatever unit the signed_payload recipe reads timestamp_header in.
|
|
23193
23202
|
*
|
|
23194
23203
|
* The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
|
|
23195
23204
|
* remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
|
|
@@ -3688,6 +3688,7 @@ var SignedPayload = /* @__PURE__ */ ((SignedPayload2) => {
|
|
|
3688
3688
|
SignedPayload2["RAW_BODY"] = "RAW_BODY";
|
|
3689
3689
|
SignedPayload2["TIMESTAMP_DOT_RAW_BODY"] = "TIMESTAMP_DOT_RAW_BODY";
|
|
3690
3690
|
SignedPayload2["VERSION_TIMESTAMP_BODY"] = "VERSION_TIMESTAMP_BODY";
|
|
3691
|
+
SignedPayload2["METHOD_URI_BODY_TIMESTAMP"] = "METHOD_URI_BODY_TIMESTAMP";
|
|
3691
3692
|
return SignedPayload2;
|
|
3692
3693
|
})(SignedPayload || {});
|
|
3693
3694
|
var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
|