@wix/app-extensions 1.0.88 → 1.0.90
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 +22 -6
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.mts +34 -1
- package/build/es/index.mjs +20 -6
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +94 -19
- package/build/trusted/cjs/index.js +22 -6
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +94 -19
- package/build/trusted/es/index.mjs +20 -6
- 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
|
@@ -245,6 +245,8 @@ __export(index_exports, {
|
|
|
245
245
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
246
246
|
RestrictedOperation: () => RestrictedOperation,
|
|
247
247
|
RestrictionLevel: () => RestrictionLevel,
|
|
248
|
+
RevocationBodyStyle: () => RevocationBodyStyle,
|
|
249
|
+
RevocationHttpMethod: () => RevocationHttpMethod,
|
|
248
250
|
RichTextAbilities: () => RichTextAbilities,
|
|
249
251
|
Scaling: () => Scaling,
|
|
250
252
|
SchedulingComponentType: () => SchedulingComponentType,
|
|
@@ -3511,18 +3513,30 @@ var IdentityHttpMethod = /* @__PURE__ */ ((IdentityHttpMethod2) => {
|
|
|
3511
3513
|
IdentityHttpMethod2["POST"] = "POST";
|
|
3512
3514
|
return IdentityHttpMethod2;
|
|
3513
3515
|
})(IdentityHttpMethod || {});
|
|
3514
|
-
var
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
return
|
|
3519
|
-
})(
|
|
3516
|
+
var RevocationHttpMethod = /* @__PURE__ */ ((RevocationHttpMethod2) => {
|
|
3517
|
+
RevocationHttpMethod2["UNKNOWN_REVOCATION_HTTP_METHOD"] = "UNKNOWN_REVOCATION_HTTP_METHOD";
|
|
3518
|
+
RevocationHttpMethod2["POST"] = "POST";
|
|
3519
|
+
RevocationHttpMethod2["DELETE"] = "DELETE";
|
|
3520
|
+
return RevocationHttpMethod2;
|
|
3521
|
+
})(RevocationHttpMethod || {});
|
|
3522
|
+
var RevocationBodyStyle = /* @__PURE__ */ ((RevocationBodyStyle2) => {
|
|
3523
|
+
RevocationBodyStyle2["UNKNOWN_REVOCATION_BODY_STYLE"] = "UNKNOWN_REVOCATION_BODY_STYLE";
|
|
3524
|
+
RevocationBodyStyle2["FORM"] = "FORM";
|
|
3525
|
+
RevocationBodyStyle2["JSON"] = "JSON";
|
|
3526
|
+
return RevocationBodyStyle2;
|
|
3527
|
+
})(RevocationBodyStyle || {});
|
|
3520
3528
|
var TokenEndpointAuthMethod = /* @__PURE__ */ ((TokenEndpointAuthMethod2) => {
|
|
3521
3529
|
TokenEndpointAuthMethod2["UNKNOWN_TOKEN_ENDPOINT_AUTH_METHOD"] = "UNKNOWN_TOKEN_ENDPOINT_AUTH_METHOD";
|
|
3522
3530
|
TokenEndpointAuthMethod2["CLIENT_SECRET_POST"] = "CLIENT_SECRET_POST";
|
|
3523
3531
|
TokenEndpointAuthMethod2["CLIENT_SECRET_BASIC"] = "CLIENT_SECRET_BASIC";
|
|
3524
3532
|
return TokenEndpointAuthMethod2;
|
|
3525
3533
|
})(TokenEndpointAuthMethod || {});
|
|
3534
|
+
var ScopeSeparator = /* @__PURE__ */ ((ScopeSeparator2) => {
|
|
3535
|
+
ScopeSeparator2["UNKNOWN_SCOPE_SEPARATOR"] = "UNKNOWN_SCOPE_SEPARATOR";
|
|
3536
|
+
ScopeSeparator2["SPACE"] = "SPACE";
|
|
3537
|
+
ScopeSeparator2["COMMA"] = "COMMA";
|
|
3538
|
+
return ScopeSeparator2;
|
|
3539
|
+
})(ScopeSeparator || {});
|
|
3526
3540
|
var DurableCredentialMode = /* @__PURE__ */ ((DurableCredentialMode2) => {
|
|
3527
3541
|
DurableCredentialMode2["UNKNOWN_DURABLE_CREDENTIAL_MODE"] = "UNKNOWN_DURABLE_CREDENTIAL_MODE";
|
|
3528
3542
|
DurableCredentialMode2["REFRESH_TOKEN"] = "REFRESH_TOKEN";
|
|
@@ -6658,6 +6672,8 @@ function toolsProviderConfig({
|
|
|
6658
6672
|
ResponsivenessBehaviour,
|
|
6659
6673
|
RestrictedOperation,
|
|
6660
6674
|
RestrictionLevel,
|
|
6675
|
+
RevocationBodyStyle,
|
|
6676
|
+
RevocationHttpMethod,
|
|
6661
6677
|
RichTextAbilities,
|
|
6662
6678
|
Scaling,
|
|
6663
6679
|
SchedulingComponentType,
|