@wix/auto_sdk_data-extension-schema_schemas 1.0.344 → 1.0.346

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.
@@ -23662,14 +23662,14 @@ interface DispatchConfig {
23662
23662
  */
23663
23663
  responseBodyFieldJsonPointers?: string[];
23664
23664
  /**
23665
- * Provider origins the connector may call, each with its own allowed path prefixes. Replaces
23666
- * base_url and allowed_path_prefixes.
23667
- *
23668
- * An origin is scheme, host and optional port, with no path. With one origin, a caller may omit
23669
- * the origin selector; with several, the caller names the origin on each request, never by path
23670
- * matching, because two origins can share a path prefix (Dropbox serves "/2/files/" on both
23671
- * api.dropboxapi.com and content.dropboxapi.com). allowed_methods and the response settings
23672
- * apply to every origin.
23665
+ * Provider origins the connector may call, each with its own allowed path prefixes. When
23666
+ * origins is not empty, base_url and allowed_path_prefixes are not read. Without
23667
+ * provider_origin, a request goes to the one origin whose prefixes contain its path; a path no
23668
+ * origin allows is refused. Two origins can share a prefix (Dropbox serves "/2/files/" on both
23669
+ * api.dropboxapi.com and content.dropboxapi.com), so a path several origins allow is refused
23670
+ * with an error naming provider_origin. A named provider_origin must equal a declared origin
23671
+ * whose prefixes contain the path. When origins is empty, base_url is the only origin, with
23672
+ * allowed_path_prefixes. allowed_methods and response settings apply to every origin.
23673
23673
  * @maxSize 5
23674
23674
  */
23675
23675
  origins?: DispatchOrigin[];
@@ -23682,6 +23682,27 @@ interface DispatchConfig {
23682
23682
  * @maxSize 20
23683
23683
  */
23684
23684
  requiredHeaders?: RequiredHeader[];
23685
+ /**
23686
+ * RFC 6901 JSON Pointer into a provider response body, selecting the provider's own error code.
23687
+ * Read on every response, whatever its HTTP status. A body that is not JSON, or a pointer that
23688
+ * selects nothing or a non-string, never matches. Slack: "/error".
23689
+ *
23690
+ * Set together with credential_revoked_values, or leave both empty. Empty, the dispatcher reads
23691
+ * no response body for this purpose.
23692
+ * @maxLength 500
23693
+ */
23694
+ credentialRevokedJsonPointer?: string;
23695
+ /**
23696
+ * Values at credential_revoked_json_pointer that mean the stored credential is dead for every
23697
+ * binding that shares it. Exact, case-sensitive. A match is a signal, not a verdict: the
23698
+ * dispatcher confirms it with a forced refresh, or with the connector's identity_operation for a
23699
+ * credential that cannot be refreshed, before anything is marked. Slack: "account_inactive",
23700
+ * "token_revoked". Never list a code the provider also returns for a live token.
23701
+ * @maxSize 20
23702
+ * @minLength 1
23703
+ * @maxLength 100
23704
+ */
23705
+ credentialRevokedValues?: string[];
23685
23706
  }
23686
23707
  /**
23687
23708
  * Declares how a provider webhook delivery is verified and classified. Every field describes
@@ -23881,6 +23902,23 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
23881
23902
  * rejected only at the host, not at write time.
23882
23903
  */
23883
23904
  batchConfig?: BatchConfig;
23905
+ /**
23906
+ * RFC 6901 JSON Pointer to a string in the body of the provider's endpoint-ownership check.
23907
+ * Slack: "/challenge", from its url_verification request, which Slack sends when a Request URL
23908
+ * is saved and which carries no team_id.
23909
+ *
23910
+ * When set, a delivery that passed verification on the CONNECTOR_WIDE path and has a non-empty
23911
+ * string at the pointer is answered with HTTP 200 and that string as a text/plain body. It is
23912
+ * not routed, not published, and marks nothing revoked.
23913
+ *
23914
+ * Legal only with CONNECTOR_WIDE material and a verification method whose signature covers the
23915
+ * body: HMAC_SHA256, HMAC_SHA1 or PUBLIC_KEY. CALLBACK_TOKEN and OIDC_BEARER carry no payload
23916
+ * binding and NO_VERIFICATION proves nothing, so with them the endpoint could echo a value it
23917
+ * has not verified. The host ignores the field otherwise. Empty, the default, means the
23918
+ * connector has no such check.
23919
+ * @maxLength 500
23920
+ */
23921
+ endpointChallengeJsonPointer?: string;
23884
23922
  }
23885
23923
  /** @oneof */
23886
23924
  interface WebhookConfigVerificationOneOf {