@wix/app-extensions 1.0.118 → 1.0.120

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.
@@ -25710,8 +25710,14 @@ interface ConnectorConfig extends ConnectorConfigAuthConfigOneOf {
25710
25710
  /**
25711
25711
  * Stable, unique identifier of the third-party provider this connector targets.
25712
25712
  * Lower-case, no spaces. For example: "google", "slack", "github".
25713
+ *
25714
+ * Immutable once the component is created. Credentials, connections and webhook subscriptions are
25715
+ * addressed by app id plus connector component id, and the slug is what identifies the provider
25716
+ * those rows belong to, so changing it after creation would leave stored material pointing at a
25717
+ * provider it was never issued for.
25713
25718
  * @minLength 1
25714
25719
  * @maxLength 80
25720
+ * @immutable
25715
25721
  */
25716
25722
  slug?: string;
25717
25723
  /** The authentication scheme the connector uses to authenticate against the provider. */
@@ -26318,18 +26324,20 @@ interface WebhookConfig {
26318
26324
  */
26319
26325
  deliveryIdHeader?: string;
26320
26326
  /**
26321
- * Header carrying the event type of the delivery, for example "X-GitHub-Event". Exactly one of
26322
- * event_type_header and event_type_json_pointer must be set. The delivery path forwards an
26323
- * extracted event type unchanged and opaque, even when it is unknown; a missing or unextractable
26324
- * event type is malformed and must be rejected.
26327
+ * Header carrying the event type of the delivery, for example "X-GitHub-Event". Optional: at
26328
+ * most one of event_type_header and event_type_json_pointer may be set, and a provider with no
26329
+ * single event-type header or body field can leave both unset. The delivery path forwards an
26330
+ * extracted event type unchanged and opaque, even when it is unknown; a configured extractor
26331
+ * that fails to extract a value is malformed and must be rejected.
26325
26332
  * @maxLength 120
26326
26333
  */
26327
26334
  eventTypeHeader?: string;
26328
26335
  /**
26329
26336
  * RFC 6901 JSON Pointer selecting the event type from the delivery body, for example
26330
- * "/event/type". Exactly one of event_type_header and event_type_json_pointer must be set. The
26337
+ * "/event/type". Optional: at most one of event_type_header and event_type_json_pointer may be
26338
+ * set, and a provider with no single event-type header or body field can leave both unset. The
26331
26339
  * delivery path forwards an extracted event type unchanged and opaque, even when it is unknown;
26332
- * a missing or unextractable event type is malformed and must be rejected.
26340
+ * a configured extractor that fails to extract a value is malformed and must be rejected.
26333
26341
  * @maxLength 500
26334
26342
  */
26335
26343
  eventTypeJsonPointer?: string;