@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.
@@ -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
@@ -23454,16 +23463,21 @@ interface McpConfig {
23454
23463
  allowedTools?: string[];
23455
23464
  }
23456
23465
  /**
23457
- * One translatable permission line. Repeated-message shape, keyed by id, per the
23458
- * components-translations docs' condition for a translatable repeated field.
23466
+ * One translatable permission line. Repeated-message shape, keyed by id. Dev Center's
23467
+ * components-translations scanner keys a translatable repeated field on a field named id whenever
23468
+ * the message has one, in preference to a (.wix.api.unique) annotation, so id is the key here and
23469
+ * declaring unique on another field would not change that.
23459
23470
  */
23460
23471
  interface DisplayedPermission {
23461
23472
  /**
23462
23473
  * Identifies this line within its connector's list, so editing or reordering the list does not
23463
- * orphan an existing translation. The caller mints the id for a new line and it is echoed back
23464
- * unchanged on update. To preserve an existing line's translation history, echo back the id you
23465
- * last read for it; sending it empty (even for a line that already had one) is read as "this is
23466
- * new" and mints a fresh id, starting a fresh translation history.
23474
+ * orphan an existing translation. The caller must supply a non-empty id, unique within the list,
23475
+ * and echo back unchanged the id it last read for a line it is keeping. Both are caller
23476
+ * obligations and this schema enforces neither. The write path does fill an empty id with a fresh
23477
+ * UUID, on create and on update, but that is a backstop rather than a substitute: it can only
23478
+ * mint for a line it sees as new, so it cannot carry a line's identity across an edit or a
23479
+ * reorder, and only the caller knows which line is which. Nothing rejects a duplicate id. A line
23480
+ * whose id changes starts its translation history over and shows English until retranslated.
23467
23481
  * @maxLength 80
23468
23482
  */
23469
23483
  _id?: string;
@@ -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) => {