@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/cjs/index.d.ts
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/cjs/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
AlgorithmType: () => AlgorithmType,
|
|
36
36
|
Alignment: () => Alignment,
|
|
37
37
|
AndroidStyle: () => AndroidStyle,
|
|
38
|
+
AnimationType: () => AnimationType,
|
|
38
39
|
ApiGroupType: () => ApiGroupType,
|
|
39
40
|
AppExecutionType: () => AppExecutionType,
|
|
40
41
|
AppType: () => AppType,
|
|
@@ -111,6 +112,7 @@ __export(index_exports, {
|
|
|
111
112
|
EmbedCategory: () => EmbedCategory,
|
|
112
113
|
EmbeddedScriptPages: () => EmbeddedScriptPages,
|
|
113
114
|
EmbeddedScriptPlacement: () => EmbeddedScriptPlacement,
|
|
115
|
+
EntranceEffectType: () => EntranceEffectType,
|
|
114
116
|
Environment: () => Environment,
|
|
115
117
|
Escalation: () => Escalation,
|
|
116
118
|
ExecutionType: () => ExecutionType,
|
|
@@ -1172,6 +1174,31 @@ var LinkTarget = /* @__PURE__ */ ((LinkTarget2) => {
|
|
|
1172
1174
|
LinkTarget2["TOP"] = "TOP";
|
|
1173
1175
|
return LinkTarget2;
|
|
1174
1176
|
})(LinkTarget || {});
|
|
1177
|
+
var AnimationType = /* @__PURE__ */ ((AnimationType2) => {
|
|
1178
|
+
AnimationType2["VIEW"] = "VIEW";
|
|
1179
|
+
return AnimationType2;
|
|
1180
|
+
})(AnimationType || {});
|
|
1181
|
+
var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
|
|
1182
|
+
EntranceEffectType2["FADE"] = "FADE";
|
|
1183
|
+
EntranceEffectType2["ARC"] = "ARC";
|
|
1184
|
+
EntranceEffectType2["BLUR"] = "BLUR";
|
|
1185
|
+
EntranceEffectType2["BOUNCE"] = "BOUNCE";
|
|
1186
|
+
EntranceEffectType2["DROP"] = "DROP";
|
|
1187
|
+
EntranceEffectType2["EXPAND"] = "EXPAND";
|
|
1188
|
+
EntranceEffectType2["FLIP"] = "FLIP";
|
|
1189
|
+
EntranceEffectType2["FLOAT"] = "FLOAT";
|
|
1190
|
+
EntranceEffectType2["FOLD"] = "FOLD";
|
|
1191
|
+
EntranceEffectType2["GLIDE"] = "GLIDE";
|
|
1192
|
+
EntranceEffectType2["REVEAL"] = "REVEAL";
|
|
1193
|
+
EntranceEffectType2["SHAPE"] = "SHAPE";
|
|
1194
|
+
EntranceEffectType2["SHUTTERS"] = "SHUTTERS";
|
|
1195
|
+
EntranceEffectType2["SLIDE"] = "SLIDE";
|
|
1196
|
+
EntranceEffectType2["SPIN"] = "SPIN";
|
|
1197
|
+
EntranceEffectType2["TILT"] = "TILT";
|
|
1198
|
+
EntranceEffectType2["TURN"] = "TURN";
|
|
1199
|
+
EntranceEffectType2["WINK"] = "WINK";
|
|
1200
|
+
return EntranceEffectType2;
|
|
1201
|
+
})(EntranceEffectType || {});
|
|
1175
1202
|
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
1176
1203
|
TextAlignment2["AUTO"] = "AUTO";
|
|
1177
1204
|
TextAlignment2["LEFT"] = "LEFT";
|
|
@@ -6462,6 +6489,7 @@ function toolsProviderConfig({
|
|
|
6462
6489
|
AlgorithmType,
|
|
6463
6490
|
Alignment,
|
|
6464
6491
|
AndroidStyle,
|
|
6492
|
+
AnimationType,
|
|
6465
6493
|
ApiGroupType,
|
|
6466
6494
|
AppExecutionType,
|
|
6467
6495
|
AppType,
|
|
@@ -6538,6 +6566,7 @@ function toolsProviderConfig({
|
|
|
6538
6566
|
EmbedCategory,
|
|
6539
6567
|
EmbeddedScriptPages,
|
|
6540
6568
|
EmbeddedScriptPlacement,
|
|
6569
|
+
EntranceEffectType,
|
|
6541
6570
|
Environment,
|
|
6542
6571
|
Escalation,
|
|
6543
6572
|
ExecutionType,
|