@wix/app-extensions 1.0.98 → 1.0.99

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.
@@ -26241,13 +26241,17 @@ interface WebhookConfig {
26241
26241
  deliveryIdHeader?: string;
26242
26242
  /**
26243
26243
  * Header carrying the event type of the delivery, for example "X-GitHub-Event". Exactly one of
26244
- * event_type_header and event_type_json_pointer must be set.
26244
+ * event_type_header and event_type_json_pointer must be set. The delivery path forwards an
26245
+ * extracted event type unchanged and opaque, even when it is unknown; a missing or unextractable
26246
+ * event type is malformed and must be rejected.
26245
26247
  * @maxLength 120
26246
26248
  */
26247
26249
  eventTypeHeader?: string;
26248
26250
  /**
26249
26251
  * RFC 6901 JSON Pointer selecting the event type from the delivery body, for example
26250
- * "/event/type". Exactly one of event_type_header and event_type_json_pointer must be set.
26252
+ * "/event/type". Exactly one of event_type_header and event_type_json_pointer must be set. The
26253
+ * delivery path forwards an extracted event type unchanged and opaque, even when it is unknown;
26254
+ * a missing or unextractable event type is malformed and must be rejected.
26251
26255
  * @maxLength 500
26252
26256
  */
26253
26257
  eventTypeJsonPointer?: string;
@@ -26264,20 +26268,11 @@ interface WebhookConfig {
26264
26268
  * @maxLength 500
26265
26269
  */
26266
26270
  providerResourceKeyJsonPointer?: string;
26267
- /**
26268
- * Event types the connector accepts, as the provider spells them. At least one value is
26269
- * required: a delivery whose event type is not listed is discarded after verification, so an
26270
- * empty list would accept nothing.
26271
- * @minSize 1
26272
- * @maxSize 200
26273
- * @minLength 1
26274
- * @maxLength 200
26275
- */
26276
- supportedEventTypes?: string[];
26277
26271
  /**
26278
26272
  * Event types that are a verified signal that the provider revoked the connector's credential,
26279
- * for example an app-uninstalled or token-revoked event. Every value must also appear in
26280
- * supported_event_types.
26273
+ * for example an app-uninstalled or token-revoked event. Event types are not enumerated here:
26274
+ * the delivery path forwards an extracted event type unchanged and opaque, even when it is
26275
+ * unknown; a missing or unextractable event type is malformed and must be rejected.
26281
26276
  *
26282
26277
  * Only a verified delivery may carry this signal, so the list must be empty when
26283
26278
  * verification_method is NO_VERIFICATION: otherwise anyone able to reach the callback URL could