@wix/auto_sdk_data-extension-schema_schemas 1.0.288 → 1.0.290

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.
@@ -22227,8 +22227,8 @@ type ResponseBodyDecodingWithLiterals = ResponseBodyDecoding | 'BASE64_TEXT';
22227
22227
  declare enum VerificationSource {
22228
22228
  /**
22229
22229
  * One set of material covers every delivery of this connector: a single stored secret for the
22230
- * HMAC and callback-token methods, or the published key set at public_key_url for PUBLIC_KEY,
22231
- * where nothing is stored at all. The only legal scope for PUBLIC_KEY.
22230
+ * HMAC and callback-token methods, or the published key set at public_key_url for PUBLIC_KEY
22231
+ * and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
22232
22232
  */
22233
22233
  CONNECTOR_WIDE = "CONNECTOR_WIDE",
22234
22234
  /**
@@ -22320,10 +22320,17 @@ declare enum VerificationMethod {
22320
22320
  */
22321
22321
  CALLBACK_TOKEN = "CALLBACK_TOKEN",
22322
22322
  /** Authenticity is not established at all. Requires unsigned_deliveries_accepted. */
22323
- NO_VERIFICATION = "NO_VERIFICATION"
22323
+ NO_VERIFICATION = "NO_VERIFICATION",
22324
+ /**
22325
+ * OIDC bearer JWT in the Authorization header, verified against the key set at
22326
+ * public_key_url with the expected audience, issuer and subject, for example Cloud Pub/Sub
22327
+ * push authentication. Carries no payload binding, the same limitation CALLBACK_TOKEN
22328
+ * documents for itself: it proves the sender's identity, not that the body is intact.
22329
+ */
22330
+ OIDC_BEARER = "OIDC_BEARER"
22324
22331
  }
22325
22332
  /** @enumType */
22326
- type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC_SHA1' | 'PUBLIC_KEY' | 'CALLBACK_TOKEN' | 'NO_VERIFICATION';
22333
+ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC_SHA1' | 'PUBLIC_KEY' | 'CALLBACK_TOKEN' | 'NO_VERIFICATION' | 'OIDC_BEARER';
22327
22334
  /** How a repeated delivery is recognized, so the same event is not processed twice. */
22328
22335
  declare enum ReplayProtection {
22329
22336
  /**
@@ -22371,10 +22378,6 @@ interface NoVerificationConfig {
22371
22378
  /** Always UNSIGNED for this arm. */
22372
22379
  verificationSource?: VerificationSourceWithLiterals;
22373
22380
  }
22374
- /**
22375
- * Not yet selectable: OIDC_BEARER is enum_maturity NOT_IMPLEMENTED and the validator rejects
22376
- * it outright. Shape carries forward the flat oidc_expected_* fields unchanged.
22377
- */
22378
22381
  interface OidcBearerConfig {
22379
22382
  /** Scope of the material used to verify the token. See WebhookConfig.VerificationSource. */
22380
22383
  verificationSource?: VerificationSourceWithLiterals;
@@ -22393,6 +22396,12 @@ interface OidcBearerConfig {
22393
22396
  * @maxLength 2000
22394
22397
  */
22395
22398
  oidcExpectedSubject?: string;
22399
+ /**
22400
+ * Endpoint publishing the provider's public keys, shared with PublicKeyConfig's own field of
22401
+ * the same name.
22402
+ * @maxLength 2000
22403
+ */
22404
+ publicKeyUrl?: string;
22396
22405
  }
22397
22406
  /** Per-strategy payload for the `replay_protection_config` oneof above. */
22398
22407
  interface DeliveryIdHeaderConfig {
@@ -22598,12 +22607,7 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
22598
22607
  callbackTokenConfig?: CallbackTokenConfig;
22599
22608
  /** Payload for NO_VERIFICATION. */
22600
22609
  noVerificationConfig?: NoVerificationConfig;
22601
- /**
22602
- * Payload for OIDC_BEARER. Carried even though that method is enum_maturity
22603
- * NOT_IMPLEMENTED and the validator rejects selecting it: the enum value and its flat
22604
- * fields (24-26) are already published, so omitting the arm now would mean a second
22605
- * breaking change once the gate lifts.
22606
- */
22610
+ /** Payload for OIDC_BEARER. */
22607
22611
  oidcBearerConfig?: OidcBearerConfig;
22608
22612
  /** Payload for DELIVERY_ID_HEADER. */
22609
22613
  deliveryIdHeaderConfig?: DeliveryIdHeaderConfig;
@@ -22720,8 +22724,8 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
22720
22724
  */
22721
22725
  callbackTokenHeader?: string;
22722
22726
  /**
22723
- * Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and must be empty for
22724
- * every other method.
22727
+ * Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
22728
+ * must be empty for every other method.
22725
22729
  *
22726
22730
  * Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
22727
22731
  * value this field carries for every other method. HTTPS and a parseable endpoint are enforced
@@ -22918,12 +22922,7 @@ interface WebhookConfigVerificationOneOf {
22918
22922
  callbackTokenConfig?: CallbackTokenConfig;
22919
22923
  /** Payload for NO_VERIFICATION. */
22920
22924
  noVerificationConfig?: NoVerificationConfig;
22921
- /**
22922
- * Payload for OIDC_BEARER. Carried even though that method is enum_maturity
22923
- * NOT_IMPLEMENTED and the validator rejects selecting it: the enum value and its flat
22924
- * fields (24-26) are already published, so omitting the arm now would mean a second
22925
- * breaking change once the gate lifts.
22926
- */
22925
+ /** Payload for OIDC_BEARER. */
22927
22926
  oidcBearerConfig?: OidcBearerConfig;
22928
22927
  }
22929
22928
  /** @oneof */
package/build/cjs/meta.js CHANGED
@@ -3659,6 +3659,7 @@ var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
3659
3659
  VerificationMethod2["PUBLIC_KEY"] = "PUBLIC_KEY";
3660
3660
  VerificationMethod2["CALLBACK_TOKEN"] = "CALLBACK_TOKEN";
3661
3661
  VerificationMethod2["NO_VERIFICATION"] = "NO_VERIFICATION";
3662
+ VerificationMethod2["OIDC_BEARER"] = "OIDC_BEARER";
3662
3663
  return VerificationMethod2;
3663
3664
  })(VerificationMethod || {});
3664
3665
  var ReplayProtection = /* @__PURE__ */ ((ReplayProtection2) => {