@wix/auto_sdk_pricing-plans_orders 1.0.83 → 1.0.85
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 +3 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +3 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +3 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ import { NonNullablePaths } from '@wix/sdk-types';
|
|
|
5
5
|
* You can manage existing orders, create offline orders, and preview orders not yet purchased.
|
|
6
6
|
*
|
|
7
7
|
* Orders are based on pricing models based on the payment and duration cycles for each plan.
|
|
8
|
-
* Learn more about pricing models
|
|
8
|
+
* Learn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).
|
|
9
9
|
*/
|
|
10
10
|
interface Order {
|
|
11
11
|
/**
|
|
@@ -48,7 +48,7 @@ interface Order {
|
|
|
48
48
|
/**
|
|
49
49
|
* Order pricing model, price, and payment schedule.
|
|
50
50
|
*
|
|
51
|
-
* Learn more about pricing models
|
|
51
|
+
* Learn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).
|
|
52
52
|
* @readonly
|
|
53
53
|
*/
|
|
54
54
|
pricing?: PricingDetails;
|
|
@@ -547,7 +547,7 @@ interface OrderCycle {
|
|
|
547
547
|
}
|
|
548
548
|
interface FormData {
|
|
549
549
|
/**
|
|
550
|
-
* ID of the order form
|
|
550
|
+
* ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.
|
|
551
551
|
* @format GUID
|
|
552
552
|
*/
|
|
553
553
|
formId?: string | null;
|
|
@@ -2364,7 +2364,7 @@ declare function requestCancellation(_id: string, effectiveAt: CancellationEffec
|
|
|
2364
2364
|
/**
|
|
2365
2365
|
* Creates an online order for a site member.
|
|
2366
2366
|
*
|
|
2367
|
-
* If this method is called by a site member
|
|
2367
|
+
* If this method is called by a [site member](https://dev.wix.com/docs/rest/articles/getting-started/about-identities#site-member), the plan is automatically ordered on behalf of that site member. Otherwise, you must specify `onBehalf.memberId` in your call.
|
|
2368
2368
|
*
|
|
2369
2369
|
* When an online order is created, but payment hasn't been processed, its status is set to `DRAFT`. After the payment has been processed, if the start date is in the future the order's status is set to `PENDING`. Otherwise, it's set to `ACTIVE`.
|
|
2370
2370
|
* @param planId - Plan ID.
|
|
@@ -2460,7 +2460,7 @@ interface CreateOfflineOrderOptions {
|
|
|
2460
2460
|
*
|
|
2461
2461
|
* You can use this method to show a site member a preview of an online order before [creating](https://dev.wix.com/docs/rest/business-solutions/pricing-plans/pricing-plans/orders/create-online-order) it.
|
|
2462
2462
|
*
|
|
2463
|
-
* This method must be called using the site member identity
|
|
2463
|
+
* This method must be called using the [site member identity](https://dev.wix.com/docs/rest/articles/getting-started/about-identities#site-member). Therefore, [Wix apps](https://dev.wix.com/docs/build-apps) can't currently call this method using REST.
|
|
2464
2464
|
* @param planId - Plan ID.
|
|
2465
2465
|
* @public
|
|
2466
2466
|
* @requiredField planId
|
|
@@ -2532,7 +2532,7 @@ interface GetOfflineOrderPreviewOptions {
|
|
|
2532
2532
|
*
|
|
2533
2533
|
* The price preview uses the same logic as purchasing a plan, but the preview is not saved. Tax is only applied if
|
|
2534
2534
|
* the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection). The price is returned
|
|
2535
|
-
* in the pricing model format used for orders. Learn more about pricing models
|
|
2535
|
+
* in the pricing model format used for orders. Learn more about [pricing models](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/introduction#wix-pricing-plans_pricing-plans_introduction_pricing-models).
|
|
2536
2536
|
*
|
|
2537
2537
|
* Buyers do not have to be logged in to preview the price, and as such, the details returned are not buyer-specific. To
|
|
2538
2538
|
* generate a preview of a purchase for a specific buyer, call Get Offline Order Preview.
|