@wix/app-extensions 1.0.132 → 1.0.133

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.
@@ -26459,13 +26459,31 @@ interface DispatchConfig {
26459
26459
  */
26460
26460
  allowedPathPrefixes?: string[];
26461
26461
  /**
26462
- * How the dispatcher transforms the complete provider response body before returning it to the
26463
- * caller. When absent, the dispatcher returns the raw provider response exactly as received.
26464
- * This does not select a value from a JSON envelope: providers such as GitHub's Contents API,
26465
- * whose Base64 value is in a JSON "content" property, require a separately declared JSON
26466
- * extraction contract.
26462
+ * How the dispatcher transforms provider response content before returning it to the caller.
26463
+ * When absent, the dispatcher returns the raw provider response exactly as received.
26464
+ *
26465
+ * When response_body_field_json_pointers is empty, this transformation applies to the complete
26466
+ * response body, exactly as above. When response_body_field_json_pointers is non-empty, this
26467
+ * transformation instead applies to each field value those pointers resolve, leaving the rest of
26468
+ * the body unchanged - that is the separately declared JSON extraction contract this field used
26469
+ * to be missing, needed by providers such as GitHub's Contents API whose Base64 value sits inside
26470
+ * a JSON "content" property rather than filling the whole body.
26467
26471
  */
26468
26472
  responseBodyDecoding?: ResponseBodyDecodingWithLiterals;
26473
+ /**
26474
+ * One JSON pointer (RFC 6901) per response field response_body_decoding applies to, resolved
26475
+ * against the parsed response body. If the body's root is a JSON array, each pointer is resolved
26476
+ * against every element instead of the root, and every match is transformed independently. Empty:
26477
+ * response_body_decoding applies to the complete response body instead of any field within it,
26478
+ * exactly as when this field is absent.
26479
+ *
26480
+ * The RFC 6901 root pointer ("") is rejected, not accepted as "select the whole element": the
26481
+ * dispatcher only replaces a named field's value in place, and has no operation for replacing a
26482
+ * matched element itself. Selecting the whole body is what an empty list already means.
26483
+ * @maxSize 100
26484
+ * @maxLength 500
26485
+ */
26486
+ responseBodyFieldJsonPointers?: string[];
26469
26487
  }
26470
26488
  /**
26471
26489
  * Declares how a provider webhook delivery is verified and classified. Every field describes