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