@wix/auto_sdk_data-extension-schema_schemas 1.0.284 → 1.0.286

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.
@@ -15731,13 +15731,17 @@ interface ItemPath {
15731
15731
  }
15732
15732
  interface ContextReferences {
15733
15733
  /**
15734
- * Available contexts in this container that were defined in the editorElement.contexts
15734
+ * A list of context providers that were defined in editorElement.contexts and available in this container
15735
15735
  * Example: itemsList
15736
+ * @maxLength 100
15737
+ * @maxSize 20
15736
15738
  */
15737
15739
  local?: string[];
15738
15740
  /**
15739
15741
  * A list of contexts this component exposes because it uses other context providers inside it's code
15740
15742
  * Example: @wix/stores-products-list-context
15743
+ * @maxLength 100
15744
+ * @maxSize 20
15741
15745
  */
15742
15746
  reference?: string[];
15743
15747
  }
@@ -20737,6 +20741,14 @@ interface EditorContextProvider {
20737
20741
  resources?: EditorContextProviderResources;
20738
20742
  /** The exposed context model for this component */
20739
20743
  context?: ApiContext;
20744
+ /**
20745
+ * A list of reused contexts that are exposed within this provider,
20746
+ * each identified by the module specifier it is exported from.
20747
+ * Example: @wix/stores-products-list-context
20748
+ * @maxLength 100
20749
+ * @maxSize 20
20750
+ */
20751
+ refContexts?: string[];
20740
20752
  /** data-api of this element, a map of data-items where the key is the data-item name and the value is the data-item definition. These will be manifested as `props` for the component, always has children as a prop */
20741
20753
  data?: Record<string, DataItem>;
20742
20754
  /**
@@ -20785,7 +20797,7 @@ interface ContextSpecifier {
20785
20797
  */
20786
20798
  moduleSpecifier?: string;
20787
20799
  /**
20788
- * The exported hook for components usage
20800
+ * The name of the exported hook for context consumption by components
20789
20801
  * @maxLength 100
20790
20802
  */
20791
20803
  hook?: string;
@@ -22122,8 +22134,8 @@ interface WebhookConfig {
22122
22134
  */
22123
22135
  callbackTokenHeader?: string;
22124
22136
  /**
22125
- * Endpoint publishing the provider's public keys, used to verify a PUBLIC_KEY signature.
22126
- * Required for PUBLIC_KEY and must be empty for every other method.
22137
+ * Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and must be empty for
22138
+ * every other method.
22127
22139
  *
22128
22140
  * Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
22129
22141
  * value this field carries for every other method. HTTPS and a parseable endpoint are enforced
@@ -22255,6 +22267,32 @@ interface WebhookConfig {
22255
22267
  * @immutable
22256
22268
  */
22257
22269
  deliveryTopic?: string;
22270
+ /**
22271
+ * Expected `aud` claim of an OIDC_BEARER token. An OIDC issuer's audience is chosen by whoever
22272
+ * requested the token, not by the issuer, so pinning the value expected here is what stops a
22273
+ * bearer token minted for a different audience — a different Pub/Sub push subscription, for
22274
+ * instance — from authenticating against this one. Required for OIDC_BEARER and must be empty
22275
+ * for every other method.
22276
+ * @maxLength 2000
22277
+ */
22278
+ oidcExpectedAudience?: string;
22279
+ /**
22280
+ * Expected `iss` claim of an OIDC_BEARER token, for example "https://accounts.google.com".
22281
+ * Required for OIDC_BEARER and must be empty for every other method.
22282
+ * @maxLength 2000
22283
+ */
22284
+ oidcExpectedIssuer?: string;
22285
+ /**
22286
+ * Expected `sub` claim of an OIDC_BEARER token — the stable identifier of the specific caller
22287
+ * trusted to send this connector's deliveries, for example a Pub/Sub push subscription's
22288
+ * service account. iss and aud alone do not identify the sender: aud is a value the token
22289
+ * *requester* chooses, not the issuer, so any principal able to mint a same-issuer,
22290
+ * same-audience token — a different Google service account with permission to request an ID
22291
+ * token for this audience, for instance — would otherwise pass. Required for OIDC_BEARER and
22292
+ * must be empty for every other method.
22293
+ * @maxLength 2000
22294
+ */
22295
+ oidcExpectedSubject?: string;
22258
22296
  }
22259
22297
  /**
22260
22298
  * Declares the connector's MCP (Model Context Protocol) surface: the endpoint connector dispatch