@wix/app-extensions 1.0.139 → 1.0.141

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.
@@ -120,6 +120,11 @@ interface ComponentData extends ComponentDataDataOneOf {
120
120
  * Learn More: https://dev.wix.com/docs/rest/business-solutions/stores/service-plugins/product-restrictions-v3/introduction
121
121
  */
122
122
  storesProductRestrictions?: ProductRestrictionsConfig;
123
+ /**
124
+ * Bookings Validation Provider SPI - integrate with Wix Bookings to enforce your own booking rules, by validating bookings before they are created, canceled, or rescheduled.
125
+ * Learn More: https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-validation-service-plugin/introduction
126
+ */
127
+ bookingsValidationProvider?: BookingsValidationProviderConfig;
123
128
  /** Bookings Staff Sorting Provider SPI */
124
129
  staffSortingProvider?: StaffSortingProviderConfig;
125
130
  /**
@@ -1034,6 +1039,17 @@ interface ProductRestrictionsConfig {
1034
1039
  /** Product restrictions configuration. */
1035
1040
  productRestrictionsConfig?: RestrictionsConfig;
1036
1041
  }
1042
+ /** Configuration for the bookings validation provider. */
1043
+ interface BookingsValidationProviderConfig {
1044
+ /** The base URI to reach the provider's service. */
1045
+ baseUri?: SpiBaseUri;
1046
+ /**
1047
+ * List of validation targets specifying which methods this provider handles.
1048
+ * @minSize 1
1049
+ * @maxSize 10
1050
+ */
1051
+ validationTargets?: V1ValidationTarget[];
1052
+ }
1037
1053
  interface StaffSortingProviderConfig {
1038
1054
  /** URI where the SPI Implementer is deployed */
1039
1055
  deploymentUri?: SpiBaseUri;
@@ -1436,6 +1452,19 @@ declare function storesProductRestrictions({ id, data, name, }: {
1436
1452
  data: ProductRestrictionsConfig;
1437
1453
  name?: string;
1438
1454
  }): ExtensionData;
1455
+ /**
1456
+ * Bookings Validation Provider SPI - integrate with Wix Bookings to enforce your own booking rules, by validating bookings before they are created, canceled, or rescheduled.
1457
+ * Learn More: https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings/bookings-validation-service-plugin/introduction
1458
+ * @param id - A unique identifier for the extension
1459
+ * @param data - Configuration for the bookings validation provider.
1460
+ * @param name - Optional - A human readable name for the extension
1461
+ * @returns A general form of extensions
1462
+ */
1463
+ declare function bookingsValidationProvider({ id, data, name, }: {
1464
+ id: string;
1465
+ data: BookingsValidationProviderConfig;
1466
+ name?: string;
1467
+ }): ExtensionData;
1439
1468
  /**
1440
1469
  * Bookings Staff Sorting Provider SPI
1441
1470
  * @param id - A unique identifier for the extension
@@ -1503,4 +1532,4 @@ declare function appTools({ id, data, name, }: {
1503
1532
  name?: string;
1504
1533
  }): ExtensionData;
1505
1534
 
1506
- export { type AdditionalFeesSPIConfig, type AppTools, type BackOfficeModal, type BackOfficePage, type BookingsPricingProviderConfig, type CatalogSPIConfig, type ComponentData, ComponentType, type ComponentTypeWithLiterals, type CustomChargesConfig, type CustomElementWidget, type DashboardComponentData, type DataComponent, type DataExtensionsComponentData, type EditorAddon, type EmbeddedScriptComponentData, type ExtensionData, type ExternalDatabaseSpiConfig, type GiftCardProviderConfig, type InventorySpiConfig, type MarketplaceProviderConfig, type MultilingualTranslationSchema, type PageComponentData, type PaymentSettingsSPIConfig, type ProductRestrictionsConfig, type PurchaseRecommendationsServicePluginConfig, type RealtimePermissionsProviderConfig, type SchemaGroup, type SeoKeywordsSuggestionsSPIConfig, type ShippingRatesConfig, type StaffSortingProviderConfig, type ToolsProviderConfig, type UnifiedPage, type ValidationsSPIConfig, type WidgetComponentData, type WidgetPluginComponentData, type WorkerComponentData, appTools, backOfficeModal, backOfficePage, bookingsPricingProvider, customElementWidget, dashboard, dataComponent, dataExtensions, ecomAdditionalFees, ecomCatalog, ecomInventory, ecomPaymentSettings, ecomPurchaseRecommendations, ecomShippingRates, ecomValidations, editorAddon, embeddedScript, externalDatabaseProvider, giftCardsProvider, multilingualTranslationSchema, multilingualTranslationSchemaGroup, page, premiumCustomCharges, realtimePermissionsProvider, seoKeywordsSuggestions, shubMarketplaceProvider, staffSortingProvider, storesProductRestrictions, toolsProviderConfig, unifiedPage, widget, widgetPlugin, worker };
1535
+ export { type AdditionalFeesSPIConfig, type AppTools, type BackOfficeModal, type BackOfficePage, type BookingsPricingProviderConfig, type BookingsValidationProviderConfig, type CatalogSPIConfig, type ComponentData, ComponentType, type ComponentTypeWithLiterals, type CustomChargesConfig, type CustomElementWidget, type DashboardComponentData, type DataComponent, type DataExtensionsComponentData, type EditorAddon, type EmbeddedScriptComponentData, type ExtensionData, type ExternalDatabaseSpiConfig, type GiftCardProviderConfig, type InventorySpiConfig, type MarketplaceProviderConfig, type MultilingualTranslationSchema, type PageComponentData, type PaymentSettingsSPIConfig, type ProductRestrictionsConfig, type PurchaseRecommendationsServicePluginConfig, type RealtimePermissionsProviderConfig, type SchemaGroup, type SeoKeywordsSuggestionsSPIConfig, type ShippingRatesConfig, type StaffSortingProviderConfig, type ToolsProviderConfig, type UnifiedPage, type ValidationsSPIConfig, type WidgetComponentData, type WidgetPluginComponentData, type WorkerComponentData, appTools, backOfficeModal, backOfficePage, bookingsPricingProvider, bookingsValidationProvider, customElementWidget, dashboard, dataComponent, dataExtensions, ecomAdditionalFees, ecomCatalog, ecomInventory, ecomPaymentSettings, ecomPurchaseRecommendations, ecomShippingRates, ecomValidations, editorAddon, embeddedScript, externalDatabaseProvider, giftCardsProvider, multilingualTranslationSchema, multilingualTranslationSchemaGroup, page, premiumCustomCharges, realtimePermissionsProvider, seoKeywordsSuggestions, shubMarketplaceProvider, staffSortingProvider, storesProductRestrictions, toolsProviderConfig, unifiedPage, widget, widgetPlugin, worker };
@@ -3706,6 +3706,7 @@ var VerificationMethod = /* @__PURE__ */ ((VerificationMethod2) => {
3706
3706
  VerificationMethod2["PUBLIC_KEY"] = "PUBLIC_KEY";
3707
3707
  VerificationMethod2["CALLBACK_TOKEN"] = "CALLBACK_TOKEN";
3708
3708
  VerificationMethod2["NO_VERIFICATION"] = "NO_VERIFICATION";
3709
+ VerificationMethod2["OIDC_BEARER"] = "OIDC_BEARER";
3709
3710
  return VerificationMethod2;
3710
3711
  })(VerificationMethod || {});
3711
3712
  var VerificationSource = /* @__PURE__ */ ((VerificationSource2) => {