@wix/auto_sdk_app-components_components-catalog 1.0.136 → 1.0.138

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.
@@ -23533,14 +23533,14 @@ interface DispatchConfig {
23533
23533
  */
23534
23534
  responseBodyFieldJsonPointers?: string[];
23535
23535
  /**
23536
- * Provider origins the connector may call, each with its own allowed path prefixes. Replaces
23537
- * base_url and allowed_path_prefixes.
23538
- *
23539
- * An origin is scheme, host and optional port, with no path. With one origin, a caller may omit
23540
- * the origin selector; with several, the caller names the origin on each request, never by path
23541
- * matching, because two origins can share a path prefix (Dropbox serves "/2/files/" on both
23542
- * api.dropboxapi.com and content.dropboxapi.com). allowed_methods and the response settings
23543
- * apply to every origin.
23536
+ * Provider origins the connector may call, each with its own allowed path prefixes. When
23537
+ * origins is not empty, base_url and allowed_path_prefixes are not read. Without
23538
+ * provider_origin, a request goes to the one origin whose prefixes contain its path; a path no
23539
+ * origin allows is refused. Two origins can share a prefix (Dropbox serves "/2/files/" on both
23540
+ * api.dropboxapi.com and content.dropboxapi.com), so a path several origins allow is refused
23541
+ * with an error naming provider_origin. A named provider_origin must equal a declared origin
23542
+ * whose prefixes contain the path. When origins is empty, base_url is the only origin, with
23543
+ * allowed_path_prefixes. allowed_methods and response settings apply to every origin.
23544
23544
  * @maxSize 5
23545
23545
  */
23546
23546
  origins?: DispatchOrigin[];
@@ -23553,6 +23553,27 @@ interface DispatchConfig {
23553
23553
  * @maxSize 20
23554
23554
  */
23555
23555
  requiredHeaders?: RequiredHeader[];
23556
+ /**
23557
+ * RFC 6901 JSON Pointer into a provider response body, selecting the provider's own error code.
23558
+ * Read on every response, whatever its HTTP status. A body that is not JSON, or a pointer that
23559
+ * selects nothing or a non-string, never matches. Slack: "/error".
23560
+ *
23561
+ * Set together with credential_revoked_values, or leave both empty. Empty, the dispatcher reads
23562
+ * no response body for this purpose.
23563
+ * @maxLength 500
23564
+ */
23565
+ credentialRevokedJsonPointer?: string;
23566
+ /**
23567
+ * Values at credential_revoked_json_pointer that mean the stored credential is dead for every
23568
+ * binding that shares it. Exact, case-sensitive. A match is a signal, not a verdict: the
23569
+ * dispatcher confirms it with a forced refresh, or with the connector's identity_operation for a
23570
+ * credential that cannot be refreshed, before anything is marked. Slack: "account_inactive",
23571
+ * "token_revoked". Never list a code the provider also returns for a live token.
23572
+ * @maxSize 20
23573
+ * @minLength 1
23574
+ * @maxLength 100
23575
+ */
23576
+ credentialRevokedValues?: string[];
23556
23577
  }
23557
23578
  /**
23558
23579
  * Declares how a provider webhook delivery is verified and classified. Every field describes