@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.
@@ -25804,10 +25804,17 @@ declare enum SignedPayload {
25804
25804
  * "v0" + ":" + timestamp + ":" + body, where timestamp is the value of timestamp_header
25805
25805
  * verbatim. Requires timestamp_header.
25806
25806
  */
25807
- VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY"
25807
+ VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY",
25808
+ /**
25809
+ * method + uri + body + timestamp, where method is the HTTP method, uri is the callback URL
25810
+ * Wix issued plus the delivery's query string with HubSpot's twelve reserved escapes decoded,
25811
+ * and timestamp is the value of timestamp_header verbatim, read as epoch milliseconds.
25812
+ * Requires timestamp_header.
25813
+ */
25814
+ METHOD_URI_BODY_TIMESTAMP = "METHOD_URI_BODY_TIMESTAMP"
25808
25815
  }
25809
25816
  /** @enumType */
25810
- type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY';
25817
+ type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY' | 'METHOD_URI_BODY_TIMESTAMP';
25811
25818
  /**
25812
25819
  * Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
25813
25820
  * HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
@@ -26264,13 +26271,15 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
26264
26271
  /**
26265
26272
  * Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
26266
26273
  * example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that include a
26267
- * timestamp, and must be set together with timestamp_tolerance_seconds.
26274
+ * timestamp, and must be set together with timestamp_tolerance_seconds. The header value is read
26275
+ * as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as epoch milliseconds.
26268
26276
  * @maxLength 120
26269
26277
  */
26270
26278
  timestampHeader?: string;
26271
26279
  /**
26272
26280
  * How far the delivery timestamp may be from server time before the delivery is rejected. Must
26273
- * be greater than zero when timestamp_header is set, and zero when it is not.
26281
+ * be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
26282
+ * whatever unit the signed_payload recipe reads timestamp_header in.
26274
26283
  *
26275
26284
  * The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
26276
26285
  * remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
@@ -25890,10 +25890,17 @@ declare enum SignedPayload {
25890
25890
  * "v0" + ":" + timestamp + ":" + body, where timestamp is the value of timestamp_header
25891
25891
  * verbatim. Requires timestamp_header.
25892
25892
  */
25893
- VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY"
25893
+ VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY",
25894
+ /**
25895
+ * method + uri + body + timestamp, where method is the HTTP method, uri is the callback URL
25896
+ * Wix issued plus the delivery's query string with HubSpot's twelve reserved escapes decoded,
25897
+ * and timestamp is the value of timestamp_header verbatim, read as epoch milliseconds.
25898
+ * Requires timestamp_header.
25899
+ */
25900
+ METHOD_URI_BODY_TIMESTAMP = "METHOD_URI_BODY_TIMESTAMP"
25894
25901
  }
25895
25902
  /** @enumType */
25896
- type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY';
25903
+ type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY' | 'METHOD_URI_BODY_TIMESTAMP';
25897
25904
  /**
25898
25905
  * Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
25899
25906
  * HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
@@ -26350,13 +26357,15 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
26350
26357
  /**
26351
26358
  * Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
26352
26359
  * example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that include a
26353
- * timestamp, and must be set together with timestamp_tolerance_seconds.
26360
+ * timestamp, and must be set together with timestamp_tolerance_seconds. The header value is read
26361
+ * as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as epoch milliseconds.
26354
26362
  * @maxLength 120
26355
26363
  */
26356
26364
  timestampHeader?: string;
26357
26365
  /**
26358
26366
  * How far the delivery timestamp may be from server time before the delivery is rejected. Must
26359
- * be greater than zero when timestamp_header is set, and zero when it is not.
26367
+ * be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
26368
+ * whatever unit the signed_payload recipe reads timestamp_header in.
26360
26369
  *
26361
26370
  * The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
26362
26371
  * remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
@@ -25804,10 +25804,17 @@ declare enum SignedPayload {
25804
25804
  * "v0" + ":" + timestamp + ":" + body, where timestamp is the value of timestamp_header
25805
25805
  * verbatim. Requires timestamp_header.
25806
25806
  */
25807
- VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY"
25807
+ VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY",
25808
+ /**
25809
+ * method + uri + body + timestamp, where method is the HTTP method, uri is the callback URL
25810
+ * Wix issued plus the delivery's query string with HubSpot's twelve reserved escapes decoded,
25811
+ * and timestamp is the value of timestamp_header verbatim, read as epoch milliseconds.
25812
+ * Requires timestamp_header.
25813
+ */
25814
+ METHOD_URI_BODY_TIMESTAMP = "METHOD_URI_BODY_TIMESTAMP"
25808
25815
  }
25809
25816
  /** @enumType */
25810
- type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY';
25817
+ type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY' | 'METHOD_URI_BODY_TIMESTAMP';
25811
25818
  /**
25812
25819
  * Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
25813
25820
  * HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
@@ -26264,13 +26271,15 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
26264
26271
  /**
26265
26272
  * Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
26266
26273
  * example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that include a
26267
- * timestamp, and must be set together with timestamp_tolerance_seconds.
26274
+ * timestamp, and must be set together with timestamp_tolerance_seconds. The header value is read
26275
+ * as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as epoch milliseconds.
26268
26276
  * @maxLength 120
26269
26277
  */
26270
26278
  timestampHeader?: string;
26271
26279
  /**
26272
26280
  * How far the delivery timestamp may be from server time before the delivery is rejected. Must
26273
- * be greater than zero when timestamp_header is set, and zero when it is not.
26281
+ * be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
26282
+ * whatever unit the signed_payload recipe reads timestamp_header in.
26274
26283
  *
26275
26284
  * The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
26276
26285
  * remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
@@ -25890,10 +25890,17 @@ declare enum SignedPayload {
25890
25890
  * "v0" + ":" + timestamp + ":" + body, where timestamp is the value of timestamp_header
25891
25891
  * verbatim. Requires timestamp_header.
25892
25892
  */
25893
- VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY"
25893
+ VERSION_TIMESTAMP_BODY = "VERSION_TIMESTAMP_BODY",
25894
+ /**
25895
+ * method + uri + body + timestamp, where method is the HTTP method, uri is the callback URL
25896
+ * Wix issued plus the delivery's query string with HubSpot's twelve reserved escapes decoded,
25897
+ * and timestamp is the value of timestamp_header verbatim, read as epoch milliseconds.
25898
+ * Requires timestamp_header.
25899
+ */
25900
+ METHOD_URI_BODY_TIMESTAMP = "METHOD_URI_BODY_TIMESTAMP"
25894
25901
  }
25895
25902
  /** @enumType */
25896
- type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY';
25903
+ type SignedPayloadWithLiterals = SignedPayload | 'RAW_BODY' | 'TIMESTAMP_DOT_RAW_BODY' | 'VERSION_TIMESTAMP_BODY' | 'METHOD_URI_BODY_TIMESTAMP';
25897
25904
  /**
25898
25905
  * Per-method payload for the `verification` oneof above. Shared by HMAC_SHA256,
25899
25906
  * HMAC_SHA1, and (wrapped) PUBLIC_KEY - the three methods signatureMethods already groups
@@ -26350,13 +26357,15 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
26350
26357
  /**
26351
26358
  * Header carrying the delivery timestamp, used to reject stale and replayed deliveries. For
26352
26359
  * example: "X-Slack-Request-Timestamp". Required by the signed_payload recipes that include a
26353
- * timestamp, and must be set together with timestamp_tolerance_seconds.
26360
+ * timestamp, and must be set together with timestamp_tolerance_seconds. The header value is read
26361
+ * as epoch seconds, except under METHOD_URI_BODY_TIMESTAMP, which reads it as epoch milliseconds.
26354
26362
  * @maxLength 120
26355
26363
  */
26356
26364
  timestampHeader?: string;
26357
26365
  /**
26358
26366
  * How far the delivery timestamp may be from server time before the delivery is rejected. Must
26359
- * be greater than zero when timestamp_header is set, and zero when it is not.
26367
+ * be greater than zero when timestamp_header is set, and zero when it is not. Always in seconds,
26368
+ * whatever unit the signed_payload recipe reads timestamp_header in.
26360
26369
  *
26361
26370
  * The tolerance is a floor on replay-protection retention, not only a freshness bound: whatever
26362
26371
  * remembers seen deliveries has to outlive this window, or a delivery still inside its accepted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_data-extension-schema_schemas",
3
- "version": "1.0.306",
3
+ "version": "1.0.307",
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": "a9ff596b851e3096c9a42de6d597e671a5cf1306c7b2ef2e7edc4077"
53
+ "falconPackageHash": "88805d8326eaecfd65b188ceb2ecc462ff978603e47547f3b2e48654"
54
54
  }