@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/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
|
@@ -2951,18 +2951,30 @@ var IdentityHttpMethod = /* @__PURE__ */ ((IdentityHttpMethod2) => {
|
|
|
2951
2951
|
IdentityHttpMethod2["POST"] = "POST";
|
|
2952
2952
|
return IdentityHttpMethod2;
|
|
2953
2953
|
})(IdentityHttpMethod || {});
|
|
2954
|
-
var
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
return
|
|
2959
|
-
})(
|
|
2954
|
+
var RevocationHttpMethod = /* @__PURE__ */ ((RevocationHttpMethod2) => {
|
|
2955
|
+
RevocationHttpMethod2["UNKNOWN_REVOCATION_HTTP_METHOD"] = "UNKNOWN_REVOCATION_HTTP_METHOD";
|
|
2956
|
+
RevocationHttpMethod2["POST"] = "POST";
|
|
2957
|
+
RevocationHttpMethod2["DELETE"] = "DELETE";
|
|
2958
|
+
return RevocationHttpMethod2;
|
|
2959
|
+
})(RevocationHttpMethod || {});
|
|
2960
|
+
var RevocationBodyStyle = /* @__PURE__ */ ((RevocationBodyStyle2) => {
|
|
2961
|
+
RevocationBodyStyle2["UNKNOWN_REVOCATION_BODY_STYLE"] = "UNKNOWN_REVOCATION_BODY_STYLE";
|
|
2962
|
+
RevocationBodyStyle2["FORM"] = "FORM";
|
|
2963
|
+
RevocationBodyStyle2["JSON"] = "JSON";
|
|
2964
|
+
return RevocationBodyStyle2;
|
|
2965
|
+
})(RevocationBodyStyle || {});
|
|
2960
2966
|
var TokenEndpointAuthMethod = /* @__PURE__ */ ((TokenEndpointAuthMethod2) => {
|
|
2961
2967
|
TokenEndpointAuthMethod2["UNKNOWN_TOKEN_ENDPOINT_AUTH_METHOD"] = "UNKNOWN_TOKEN_ENDPOINT_AUTH_METHOD";
|
|
2962
2968
|
TokenEndpointAuthMethod2["CLIENT_SECRET_POST"] = "CLIENT_SECRET_POST";
|
|
2963
2969
|
TokenEndpointAuthMethod2["CLIENT_SECRET_BASIC"] = "CLIENT_SECRET_BASIC";
|
|
2964
2970
|
return TokenEndpointAuthMethod2;
|
|
2965
2971
|
})(TokenEndpointAuthMethod || {});
|
|
2972
|
+
var ScopeSeparator = /* @__PURE__ */ ((ScopeSeparator2) => {
|
|
2973
|
+
ScopeSeparator2["UNKNOWN_SCOPE_SEPARATOR"] = "UNKNOWN_SCOPE_SEPARATOR";
|
|
2974
|
+
ScopeSeparator2["SPACE"] = "SPACE";
|
|
2975
|
+
ScopeSeparator2["COMMA"] = "COMMA";
|
|
2976
|
+
return ScopeSeparator2;
|
|
2977
|
+
})(ScopeSeparator || {});
|
|
2966
2978
|
var DurableCredentialMode = /* @__PURE__ */ ((DurableCredentialMode2) => {
|
|
2967
2979
|
DurableCredentialMode2["UNKNOWN_DURABLE_CREDENTIAL_MODE"] = "UNKNOWN_DURABLE_CREDENTIAL_MODE";
|
|
2968
2980
|
DurableCredentialMode2["REFRESH_TOKEN"] = "REFRESH_TOKEN";
|
|
@@ -6097,6 +6109,8 @@ export {
|
|
|
6097
6109
|
ResponsivenessBehaviour,
|
|
6098
6110
|
RestrictedOperation,
|
|
6099
6111
|
RestrictionLevel,
|
|
6112
|
+
RevocationBodyStyle,
|
|
6113
|
+
RevocationHttpMethod,
|
|
6100
6114
|
RichTextAbilities,
|
|
6101
6115
|
Scaling,
|
|
6102
6116
|
SchedulingComponentType,
|