@wix/auto_sdk_data-extension-schema_schemas 1.0.306 → 1.0.308

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.
@@ -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
@@ -23480,16 +23489,21 @@ interface McpConfig {
23480
23489
  allowedTools?: string[];
23481
23490
  }
23482
23491
  /**
23483
- * One translatable permission line. Repeated-message shape, keyed by id, per the
23484
- * components-translations docs' condition for a translatable repeated field.
23492
+ * One translatable permission line. Repeated-message shape, keyed by id. Dev Center's
23493
+ * components-translations scanner keys a translatable repeated field on a field named id whenever
23494
+ * the message has one, in preference to a (.wix.api.unique) annotation, so id is the key here and
23495
+ * declaring unique on another field would not change that.
23485
23496
  */
23486
23497
  interface DisplayedPermission {
23487
23498
  /**
23488
23499
  * Identifies this line within its connector's list, so editing or reordering the list does not
23489
- * orphan an existing translation. The caller mints the id for a new line and it is echoed back
23490
- * unchanged on update. To preserve an existing line's translation history, echo back the id you
23491
- * last read for it; sending it empty (even for a line that already had one) is read as "this is
23492
- * new" and mints a fresh id, starting a fresh translation history.
23500
+ * orphan an existing translation. The caller must supply a non-empty id, unique within the list,
23501
+ * and echo back unchanged the id it last read for a line it is keeping. Both are caller
23502
+ * obligations and this schema enforces neither. The write path does fill an empty id with a fresh
23503
+ * UUID, on create and on update, but that is a backstop rather than a substitute: it can only
23504
+ * mint for a line it sees as new, so it cannot carry a line's identity across an edit or a
23505
+ * reorder, and only the caller knows which line is which. Nothing rejects a duplicate id. A line
23506
+ * whose id changes starts its translation history over and shows English until retranslated.
23493
23507
  * @maxLength 80
23494
23508
  */
23495
23509
  id?: string;
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) => {