@wix/app-extensions 1.0.45 → 1.0.47
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.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/trusted/cjs/index.d.ts +14 -11
- package/build/trusted/cjs/index.js +1 -0
- package/build/trusted/cjs/index.js.map +1 -1
- package/build/trusted/es/index.d.mts +14 -11
- package/build/trusted/es/index.mjs +1 -0
- package/build/trusted/es/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -5279,32 +5279,33 @@ interface ShippingProviderConfig {
|
|
|
5279
5279
|
/** Cost of making a shipment */
|
|
5280
5280
|
shippingPrice?: number;
|
|
5281
5281
|
}
|
|
5282
|
+
/** Base URI configuration for a service plugin. Wix uses these URIs to call your service plugin methods. */
|
|
5282
5283
|
/** @internal */
|
|
5283
5284
|
interface SpiBaseUri {
|
|
5284
5285
|
/**
|
|
5285
|
-
* Base URI
|
|
5286
|
-
*
|
|
5286
|
+
* Base URI for your service plugin. Wix appends each method's path to this URI.
|
|
5287
|
+
*
|
|
5288
|
+
* For example, to receive requests at `https://my-app.com/v1/my-method`, set this field to `https://my-app.com/`.
|
|
5287
5289
|
* @minLength 6
|
|
5288
5290
|
* @maxLength 2048
|
|
5289
5291
|
*/
|
|
5290
5292
|
baseUri?: string;
|
|
5291
|
-
/**
|
|
5293
|
+
/** Alternative URIs for specific methods. Use these to override the default URI for individual methods. */
|
|
5292
5294
|
alternativeUris?: AlternativeUri[];
|
|
5293
5295
|
}
|
|
5296
|
+
/** Custom URI for the specified service plugin method. */
|
|
5294
5297
|
/** @internal */
|
|
5295
5298
|
interface AlternativeUri {
|
|
5296
5299
|
/**
|
|
5297
|
-
* Name of the method to
|
|
5298
|
-
*
|
|
5299
|
-
* For `methodName`, use the name of the method in PascalCase.
|
|
5300
|
-
* For example, for Get Shipping Rates use `GetShippingRates`.
|
|
5300
|
+
* Name of the method to call at the absolute URI, in PascalCase. For example, to call [Get Shipping Rates](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/shipping-rates/shipping-rates-integration-service-plugin/get-shipping-rates) on an alternative URI, specify `GetShippingRates`.
|
|
5301
5301
|
* @minLength 3
|
|
5302
5302
|
* @maxLength 128
|
|
5303
5303
|
*/
|
|
5304
5304
|
methodName?: string;
|
|
5305
5305
|
/**
|
|
5306
|
-
*
|
|
5307
|
-
*
|
|
5306
|
+
* Absolute URI that Wix calls for this method. Wix doesn't append any path to this URI.
|
|
5307
|
+
*
|
|
5308
|
+
* The URI must begin with `https://`, such as `https://my-app.com/v1/my-custom-method`.
|
|
5308
5309
|
* @minLength 6
|
|
5309
5310
|
* @maxLength 2048
|
|
5310
5311
|
*/
|
|
@@ -5773,11 +5774,13 @@ declare enum BackOfficeHostingPlatforms {
|
|
|
5773
5774
|
/** Base44 Platform */
|
|
5774
5775
|
BASE44_PLATFORM = "BASE44_PLATFORM",
|
|
5775
5776
|
/** Payments by Wix Back Office */
|
|
5776
|
-
PAYMENTS_BO = "PAYMENTS_BO"
|
|
5777
|
+
PAYMENTS_BO = "PAYMENTS_BO",
|
|
5778
|
+
/** Symphony Giza host */
|
|
5779
|
+
SYMPHONY = "SYMPHONY"
|
|
5777
5780
|
}
|
|
5778
5781
|
/** @enumType */
|
|
5779
5782
|
/** @internal */
|
|
5780
|
-
type BackOfficeHostingPlatformsWithLiterals = BackOfficeHostingPlatforms | 'NO_HOSTING_PLATFORM' | 'BUSINESS_MANAGER' | 'ACCOUNT_MANAGER' | 'DEV_CENTER' | 'ENTERPRISE' | 'PARTNERS_DASHBOARD' | 'FINANCIALS_INTERNAL_BO' | 'FED_GUILD_POC' | 'STUDIO_DASHBOARD' | 'CHANNELS' | 'DATA_TOOLS' | 'PSP_BACKOFFICE' | 'RISE_PLATFORM_ACCOUNT_DASHBOARD' | 'DEMO_DASHBOARD_ENTERPRISE' | 'AI_SCHEDULING_ASSISTANT_DASHBOARD' | 'GETTING_PAID' | 'DATA' | 'LITE_DASHBOARD' | 'PICASSO_EDITOR' | 'BASE44_DASHBOARD_POC' | 'WIXEL_EDITOR' | 'BASE44_PLATFORM' | 'PAYMENTS_BO';
|
|
5783
|
+
type BackOfficeHostingPlatformsWithLiterals = BackOfficeHostingPlatforms | 'NO_HOSTING_PLATFORM' | 'BUSINESS_MANAGER' | 'ACCOUNT_MANAGER' | 'DEV_CENTER' | 'ENTERPRISE' | 'PARTNERS_DASHBOARD' | 'FINANCIALS_INTERNAL_BO' | 'FED_GUILD_POC' | 'STUDIO_DASHBOARD' | 'CHANNELS' | 'DATA_TOOLS' | 'PSP_BACKOFFICE' | 'RISE_PLATFORM_ACCOUNT_DASHBOARD' | 'DEMO_DASHBOARD_ENTERPRISE' | 'AI_SCHEDULING_ASSISTANT_DASHBOARD' | 'GETTING_PAID' | 'DATA' | 'LITE_DASHBOARD' | 'PICASSO_EDITOR' | 'BASE44_DASHBOARD_POC' | 'WIXEL_EDITOR' | 'BASE44_PLATFORM' | 'PAYMENTS_BO' | 'SYMPHONY';
|
|
5781
5784
|
/** Definitions of common slots properties */
|
|
5782
5785
|
/** @internal */
|
|
5783
5786
|
interface SlotData extends SlotDataSlotTypeOneOf {
|
|
@@ -361,6 +361,7 @@ var BackOfficeHostingPlatforms = /* @__PURE__ */ ((BackOfficeHostingPlatforms2)
|
|
|
361
361
|
BackOfficeHostingPlatforms2["WIXEL_EDITOR"] = "WIXEL_EDITOR";
|
|
362
362
|
BackOfficeHostingPlatforms2["BASE44_PLATFORM"] = "BASE44_PLATFORM";
|
|
363
363
|
BackOfficeHostingPlatforms2["PAYMENTS_BO"] = "PAYMENTS_BO";
|
|
364
|
+
BackOfficeHostingPlatforms2["SYMPHONY"] = "SYMPHONY";
|
|
364
365
|
return BackOfficeHostingPlatforms2;
|
|
365
366
|
})(BackOfficeHostingPlatforms || {});
|
|
366
367
|
var DtsDefinitionType = /* @__PURE__ */ ((DtsDefinitionType2) => {
|