@wix/app-extensions 1.0.89 → 1.0.91
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.
- package/build/cjs/index.d.ts +34 -1
- package/build/cjs/index.js +29 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +34 -1
- package/build/es/index.mjs +27 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +148 -11
- package/build/trusted/cjs/index.js +29 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +148 -11
- package/build/trusted/es/index.mjs +27 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -122,6 +122,11 @@ interface ComponentData extends ComponentDataDataOneOf {
|
|
|
122
122
|
storesProductRestrictions?: ProductRestrictionsConfig;
|
|
123
123
|
/** Bookings Staff Sorting Provider SPI */
|
|
124
124
|
staffSortingProvider?: StaffSortingProviderConfig;
|
|
125
|
+
/**
|
|
126
|
+
* Integrate your supplier or fulfillment platform's product catalog with Suppliers Hub Marketplace.
|
|
127
|
+
* Learn More: https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/marketplace-provider-service-plugin/introduction
|
|
128
|
+
*/
|
|
129
|
+
shubMarketplaceProvider?: MarketplaceProviderConfig;
|
|
125
130
|
/**
|
|
126
131
|
* Realtime Permissions Provider SPI - integrate with Wix to control who can receive messages on your Wix Realtime channels, by providing a custom permissions check that authorizes whether a subscriber is allowed to subscribe to your app's channels.
|
|
127
132
|
* Learn More: https://dev.wix.com/docs/sdk/core-modules/realtime/extensions/realtime-permissions-provider/check-subscriber-permissions
|
|
@@ -1031,6 +1036,22 @@ interface StaffSortingProviderConfig {
|
|
|
1031
1036
|
*/
|
|
1032
1037
|
dashboardPluginId?: string | null;
|
|
1033
1038
|
}
|
|
1039
|
+
interface MarketplaceProviderConfig {
|
|
1040
|
+
/** URI where the service plugin implementer is deployed. */
|
|
1041
|
+
deploymentUri?: SpiBaseUri;
|
|
1042
|
+
/**
|
|
1043
|
+
* Whether your implementation supports the Get Pricing Breakdown method. When `false`, Wix doesn't call your implementation for pricing breakdowns and the Suppliers Hub UI omits that section.
|
|
1044
|
+
*
|
|
1045
|
+
* Default: `false`
|
|
1046
|
+
*/
|
|
1047
|
+
toggleGetPricingBreakdownEnabled?: boolean;
|
|
1048
|
+
/**
|
|
1049
|
+
* Whether your implementation supports the Get Product Mockups method. When `false`, Wix doesn't call your implementation for product mockups.
|
|
1050
|
+
*
|
|
1051
|
+
* Default: `false`
|
|
1052
|
+
*/
|
|
1053
|
+
toggleGetProductMockupsEnabled?: boolean;
|
|
1054
|
+
}
|
|
1034
1055
|
interface RealtimePermissionsProviderConfig {
|
|
1035
1056
|
/** The URI where the SPI Implementer is deployed */
|
|
1036
1057
|
deploymentUri?: SpiBaseUri;
|
|
@@ -1399,6 +1420,18 @@ declare function staffSortingProvider({ id, data, name, }: {
|
|
|
1399
1420
|
data: StaffSortingProviderConfig;
|
|
1400
1421
|
name?: string;
|
|
1401
1422
|
}): ExtensionData;
|
|
1423
|
+
/**
|
|
1424
|
+
* Integrate your supplier or fulfillment platform's product catalog with Suppliers Hub Marketplace.
|
|
1425
|
+
* Learn More: https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/marketplace-provider-service-plugin/introduction
|
|
1426
|
+
* @param id - A unique identifier for the extension
|
|
1427
|
+
* @param name - Optional - A human readable name for the extension
|
|
1428
|
+
* @returns A general form of extensions
|
|
1429
|
+
*/
|
|
1430
|
+
declare function shubMarketplaceProvider({ id, data, name, }: {
|
|
1431
|
+
id: string;
|
|
1432
|
+
data: MarketplaceProviderConfig;
|
|
1433
|
+
name?: string;
|
|
1434
|
+
}): ExtensionData;
|
|
1402
1435
|
/**
|
|
1403
1436
|
* Realtime Permissions Provider SPI - integrate with Wix to control who can receive messages on your Wix Realtime channels, by providing a custom permissions check that authorizes whether a subscriber is allowed to subscribe to your app's channels.
|
|
1404
1437
|
* Learn More: https://dev.wix.com/docs/sdk/core-modules/realtime/extensions/realtime-permissions-provider/check-subscriber-permissions
|
|
@@ -1423,4 +1456,4 @@ declare function toolsProviderConfig({ id, data, name, }: {
|
|
|
1423
1456
|
name?: string;
|
|
1424
1457
|
}): ExtensionData;
|
|
1425
1458
|
|
|
1426
|
-
export { type AdditionalFeesSPIConfig, 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 MultilingualTranslationSchema, type PageComponentData, type PaymentSettingsSPIConfig, type ProductRestrictionsConfig, type RealtimePermissionsProviderConfig, type SchemaGroup, type SeoKeywordsSuggestionsSPIConfig, type ShippingRatesConfig, type StaffSortingProviderConfig, type ToolsProviderConfig, type UnifiedPage, type ValidationsSPIConfig, type WidgetComponentData, type WidgetPluginComponentData, type WorkerComponentData, backOfficeModal, backOfficePage, bookingsPricingProvider, customElementWidget, dashboard, dataComponent, dataExtensions, ecomAdditionalFees, ecomCatalog, ecomInventory, ecomPaymentSettings, ecomShippingRates, ecomValidations, editorAddon, embeddedScript, externalDatabaseProvider, giftCardsProvider, multilingualTranslationSchema, multilingualTranslationSchemaGroup, page, premiumCustomCharges, realtimePermissionsProvider, seoKeywordsSuggestions, staffSortingProvider, storesProductRestrictions, toolsProviderConfig, unifiedPage, widget, widgetPlugin, worker };
|
|
1459
|
+
export { type AdditionalFeesSPIConfig, 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 RealtimePermissionsProviderConfig, type SchemaGroup, type SeoKeywordsSuggestionsSPIConfig, type ShippingRatesConfig, type StaffSortingProviderConfig, type ToolsProviderConfig, type UnifiedPage, type ValidationsSPIConfig, type WidgetComponentData, type WidgetPluginComponentData, type WorkerComponentData, backOfficeModal, backOfficePage, bookingsPricingProvider, customElementWidget, dashboard, dataComponent, dataExtensions, ecomAdditionalFees, ecomCatalog, ecomInventory, ecomPaymentSettings, ecomShippingRates, ecomValidations, editorAddon, embeddedScript, externalDatabaseProvider, giftCardsProvider, multilingualTranslationSchema, multilingualTranslationSchemaGroup, page, premiumCustomCharges, realtimePermissionsProvider, seoKeywordsSuggestions, shubMarketplaceProvider, staffSortingProvider, storesProductRestrictions, toolsProviderConfig, unifiedPage, widget, widgetPlugin, worker };
|
package/build/es/index.mjs
CHANGED
|
@@ -610,6 +610,31 @@ var LinkTarget = /* @__PURE__ */ ((LinkTarget2) => {
|
|
|
610
610
|
LinkTarget2["TOP"] = "TOP";
|
|
611
611
|
return LinkTarget2;
|
|
612
612
|
})(LinkTarget || {});
|
|
613
|
+
var AnimationType = /* @__PURE__ */ ((AnimationType2) => {
|
|
614
|
+
AnimationType2["VIEW"] = "VIEW";
|
|
615
|
+
return AnimationType2;
|
|
616
|
+
})(AnimationType || {});
|
|
617
|
+
var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
|
|
618
|
+
EntranceEffectType2["FADE"] = "FADE";
|
|
619
|
+
EntranceEffectType2["ARC"] = "ARC";
|
|
620
|
+
EntranceEffectType2["BLUR"] = "BLUR";
|
|
621
|
+
EntranceEffectType2["BOUNCE"] = "BOUNCE";
|
|
622
|
+
EntranceEffectType2["DROP"] = "DROP";
|
|
623
|
+
EntranceEffectType2["EXPAND"] = "EXPAND";
|
|
624
|
+
EntranceEffectType2["FLIP"] = "FLIP";
|
|
625
|
+
EntranceEffectType2["FLOAT"] = "FLOAT";
|
|
626
|
+
EntranceEffectType2["FOLD"] = "FOLD";
|
|
627
|
+
EntranceEffectType2["GLIDE"] = "GLIDE";
|
|
628
|
+
EntranceEffectType2["REVEAL"] = "REVEAL";
|
|
629
|
+
EntranceEffectType2["SHAPE"] = "SHAPE";
|
|
630
|
+
EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
|
|
631
|
+
EntranceEffectType2["SLIDE"] = "SLIDE";
|
|
632
|
+
EntranceEffectType2["SPIN"] = "SPIN";
|
|
633
|
+
EntranceEffectType2["TILT"] = "TILT";
|
|
634
|
+
EntranceEffectType2["TURN"] = "TURN";
|
|
635
|
+
EntranceEffectType2["WINK"] = "WINK";
|
|
636
|
+
return EntranceEffectType2;
|
|
637
|
+
})(EntranceEffectType || {});
|
|
613
638
|
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
614
639
|
TextAlignment2["AUTO"] = "AUTO";
|
|
615
640
|
TextAlignment2["LEFT"] = "LEFT";
|
|
@@ -5899,6 +5924,7 @@ export {
|
|
|
5899
5924
|
AlgorithmType,
|
|
5900
5925
|
Alignment,
|
|
5901
5926
|
AndroidStyle,
|
|
5927
|
+
AnimationType,
|
|
5902
5928
|
ApiGroupType,
|
|
5903
5929
|
AppExecutionType,
|
|
5904
5930
|
AppType,
|
|
@@ -5975,6 +6001,7 @@ export {
|
|
|
5975
6001
|
EmbedCategory,
|
|
5976
6002
|
EmbeddedScriptPages,
|
|
5977
6003
|
EmbeddedScriptPlacement,
|
|
6004
|
+
EntranceEffectType,
|
|
5978
6005
|
Environment,
|
|
5979
6006
|
Escalation,
|
|
5980
6007
|
ExecutionType,
|