@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.
@@ -22201,8 +22201,8 @@ type ResponseBodyDecodingWithLiterals = ResponseBodyDecoding | 'BASE64_TEXT';
22201
22201
  declare enum VerificationSource {
22202
22202
  /**
22203
22203
  * One set of material covers every delivery of this connector: a single stored secret for the
22204
- * HMAC and callback-token methods, or the published key set at public_key_url for PUBLIC_KEY,
22205
- * where nothing is stored at all. The only legal scope for PUBLIC_KEY.
22204
+ * HMAC and callback-token methods, or the published key set at public_key_url for PUBLIC_KEY
22205
+ * and OIDC_BEARER, where nothing is stored at all. The only legal scope for either.
22206
22206
  */
22207
22207
  CONNECTOR_WIDE = "CONNECTOR_WIDE",
22208
22208
  /**
@@ -22294,10 +22294,17 @@ declare enum VerificationMethod {
22294
22294
  */
22295
22295
  CALLBACK_TOKEN = "CALLBACK_TOKEN",
22296
22296
  /** Authenticity is not established at all. Requires unsigned_deliveries_accepted. */
22297
- NO_VERIFICATION = "NO_VERIFICATION"
22297
+ NO_VERIFICATION = "NO_VERIFICATION",
22298
+ /**
22299
+ * OIDC bearer JWT in the Authorization header, verified against the key set at
22300
+ * public_key_url with the expected audience, issuer and subject, for example Cloud Pub/Sub
22301
+ * push authentication. Carries no payload binding, the same limitation CALLBACK_TOKEN
22302
+ * documents for itself: it proves the sender's identity, not that the body is intact.
22303
+ */
22304
+ OIDC_BEARER = "OIDC_BEARER"
22298
22305
  }
22299
22306
  /** @enumType */
22300
- type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC_SHA1' | 'PUBLIC_KEY' | 'CALLBACK_TOKEN' | 'NO_VERIFICATION';
22307
+ type VerificationMethodWithLiterals = VerificationMethod | 'HMAC_SHA256' | 'HMAC_SHA1' | 'PUBLIC_KEY' | 'CALLBACK_TOKEN' | 'NO_VERIFICATION' | 'OIDC_BEARER';
22301
22308
  /** How a repeated delivery is recognized, so the same event is not processed twice. */
22302
22309
  declare enum ReplayProtection {
22303
22310
  /**
@@ -22345,10 +22352,6 @@ interface NoVerificationConfig {
22345
22352
  /** Always UNSIGNED for this arm. */
22346
22353
  verificationSource?: VerificationSourceWithLiterals;
22347
22354
  }
22348
- /**
22349
- * Not yet selectable: OIDC_BEARER is enum_maturity NOT_IMPLEMENTED and the validator rejects
22350
- * it outright. Shape carries forward the flat oidc_expected_* fields unchanged.
22351
- */
22352
22355
  interface OidcBearerConfig {
22353
22356
  /** Scope of the material used to verify the token. See WebhookConfig.VerificationSource. */
22354
22357
  verificationSource?: VerificationSourceWithLiterals;
@@ -22367,6 +22370,12 @@ interface OidcBearerConfig {
22367
22370
  * @maxLength 2000
22368
22371
  */
22369
22372
  oidcExpectedSubject?: string;
22373
+ /**
22374
+ * Endpoint publishing the provider's public keys, shared with PublicKeyConfig's own field of
22375
+ * the same name.
22376
+ * @maxLength 2000
22377
+ */
22378
+ publicKeyUrl?: string;
22370
22379
  }
22371
22380
  /** Per-strategy payload for the `replay_protection_config` oneof above. */
22372
22381
  interface DeliveryIdHeaderConfig {
@@ -22572,12 +22581,7 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
22572
22581
  callbackTokenConfig?: CallbackTokenConfig;
22573
22582
  /** Payload for NO_VERIFICATION. */
22574
22583
  noVerificationConfig?: NoVerificationConfig;
22575
- /**
22576
- * Payload for OIDC_BEARER. Carried even though that method is enum_maturity
22577
- * NOT_IMPLEMENTED and the validator rejects selecting it: the enum value and its flat
22578
- * fields (24-26) are already published, so omitting the arm now would mean a second
22579
- * breaking change once the gate lifts.
22580
- */
22584
+ /** Payload for OIDC_BEARER. */
22581
22585
  oidcBearerConfig?: OidcBearerConfig;
22582
22586
  /** Payload for DELIVERY_ID_HEADER. */
22583
22587
  deliveryIdHeaderConfig?: DeliveryIdHeaderConfig;
@@ -22694,8 +22698,8 @@ interface WebhookConfig extends WebhookConfigVerificationOneOf, WebhookConfigRep
22694
22698
  */
22695
22699
  callbackTokenHeader?: string;
22696
22700
  /**
22697
- * Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and must be empty for
22698
- * every other method.
22701
+ * Endpoint publishing the provider's public keys. Required for PUBLIC_KEY and OIDC_BEARER, and
22702
+ * must be empty for every other method.
22699
22703
  *
22700
22704
  * Deliberately has no (wix.api.format), following revoke_url above: WEB_URL rejects the empty
22701
22705
  * value this field carries for every other method. HTTPS and a parseable endpoint are enforced
@@ -22892,12 +22896,7 @@ interface WebhookConfigVerificationOneOf {
22892
22896
  callbackTokenConfig?: CallbackTokenConfig;
22893
22897
  /** Payload for NO_VERIFICATION. */
22894
22898
  noVerificationConfig?: NoVerificationConfig;
22895
- /**
22896
- * Payload for OIDC_BEARER. Carried even though that method is enum_maturity
22897
- * NOT_IMPLEMENTED and the validator rejects selecting it: the enum value and its flat
22898
- * fields (24-26) are already published, so omitting the arm now would mean a second
22899
- * breaking change once the gate lifts.
22900
- */
22899
+ /** Payload for OIDC_BEARER. */
22901
22900
  oidcBearerConfig?: OidcBearerConfig;
22902
22901
  }
22903
22902
  /** @oneof */
@@ -3663,6 +3663,7 @@ var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
3663
3663
  VerificationMethod2["PUBLIC_KEY"] = "PUBLIC_KEY";
3664
3664
  VerificationMethod2["CALLBACK_TOKEN"] = "CALLBACK_TOKEN";
3665
3665
  VerificationMethod2["NO_VERIFICATION"] = "NO_VERIFICATION";
3666
+ VerificationMethod2["OIDC_BEARER"] = "OIDC_BEARER";
3666
3667
  return VerificationMethod2;
3667
3668
  })(VerificationMethod || {});
3668
3669
  var ReplayProtection = /* @__PURE__ */ ((ReplayProtection2) => {