@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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -22749,10 +22749,17 @@ declare enum SignedPayload {
|
|
|
22749
22749
|
* "v0" + ":" + timestamp + ":" + body, where timestamp is the value of timestamp_header
|
|
22750
22750
|
* verbatim. Requires timestamp_header.
|
|
22751
22751
|
*/
|
|
22752
|
-
VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY"
|
|
22752
|
+
VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY",
|
|
22753
|
+
/**
|
|
22754
|
+
* method + uri + body + timestamp, where method is the HTTP method, uri is the callback URL
|
|
22755
|
+
* Wix issued plus the delivery's query string with HubSpot's twelve reserved escapes decoded,
|
|
22756
|
+
* and timestamp is the value of timestamp_header verbatim, read as epoch milliseconds.
|
|
22757
|
+
* Requires timestamp_header.
|
|
22758
|
+
*/
|
|
22759
|
+
METHOD_URI_BODY_TIMESTAMP = "METHOD_URI_BODY_TIMESTAMP"
|
|
22753
22760
|
}
|
|
22754
22761
|
/** @enumType */
|
|
22755
|
-
type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY';
|
|
22762
|
+
type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY' | 'METHOD_URI_BODY_TIMESTAMP';
|
|
22756
22763
|
/**
|
|
22757
22764
|
* Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
|
|
22758
22765
|
* HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
|
|
@@ -23209,13 +23216,15 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
|
|
|
23209
23216
|
/**
|
|
23210
23217
|
* Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
|
|
23211
23218
|
* example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that include a
|
|
23212
|
-
* timestamp, and must be set together with timestamp_tolerance_seconds.
|
|
23219
|
+
* timestamp, and must be set together with timestamp_tolerance_seconds. The header value is read
|
|
23220
|
+
* as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as epoch milliseconds.
|
|
23213
23221
|
* @maxLength 120
|
|
23214
23222
|
*/
|
|
23215
23223
|
timestampHeader?: string;
|
|
23216
23224
|
/**
|
|
23217
23225
|
* How far the delivery timestamp may be from server time before the delivery is rejected. Must
|
|
23218
|
-
* be greater than zero when timestamp_header is set, and zero when it is not.
|
|
23226
|
+
* be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
|
|
23227
|
+
* whatever unit the signed_payload recipe reads timestamp_header in.
|
|
23219
23228
|
*
|
|
23220
23229
|
* The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
|
|
23221
23230
|
* remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
|
package/build/cjs/meta.js
CHANGED
|
@@ -3684,6 +3684,7 @@ var SignedPayload = /* @__PURE__ */ ((SignedPayload2) => {
|
|
|
3684
3684
|
SignedPayload2["RAW_BODY"] = "RAW_BODY";
|
|
3685
3685
|
SignedPayload2["TIMESTAMP_DOT_RAW_BODY"] = "TIMESTAMP_DOT_RAW_BODY";
|
|
3686
3686
|
SignedPayload2["VERSION_TIMESTAMP_BODY"] = "VERSION_TIMESTAMP_BODY";
|
|
3687
|
+
SignedPayload2["METHOD_URI_BODY_TIMESTAMP"] = "METHOD_URI_BODY_TIMESTAMP";
|
|
3687
3688
|
return SignedPayload2;
|
|
3688
3689
|
})(SignedPayload || {});
|
|
3689
3690
|
var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
|