@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
|
/**
|
|
@@ -57,7 +57,7 @@ interface Order {
|
|
|
57
57
|
/**
|
|
58
58
|
* Order pricing model, price, and payment schedule.
|
|
59
59
|
*
|
|
60
|
-
* Learn more about pricing models
|
|
60
|
+
* 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).
|
|
61
61
|
* @readonly
|
|
62
62
|
*/
|
|
63
63
|
pricing?: PricingDetails;
|
|
@@ -556,7 +556,7 @@ interface OrderCycle {
|
|
|
556
556
|
}
|
|
557
557
|
interface FormData {
|
|
558
558
|
/**
|
|
559
|
-
* ID of the order form
|
|
559
|
+
* ID of the [order form](https://dev.wix.com/docs/rest/api-reference/wix-forms/form-submissions/introduction) associated with the plan at checkout.
|
|
560
560
|
* @format GUID
|
|
561
561
|
*/
|
|
562
562
|
formId?: string | null;
|
|
@@ -2381,7 +2381,7 @@ declare function requestCancellation(_id: string, effectiveAt: CancellationEffec
|
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Creates an online order for a site member.
|
|
2383
2383
|
*
|
|
2384
|
-
* If this method is called by a site member
|
|
2384
|
+
* 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.
|
|
2385
2385
|
*
|
|
2386
2386
|
* 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`.
|
|
2387
2387
|
* @param planId - Plan ID.
|
|
@@ -2477,7 +2477,7 @@ interface CreateOfflineOrderOptions {
|
|
|
2477
2477
|
*
|
|
2478
2478
|
* 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.
|
|
2479
2479
|
*
|
|
2480
|
-
* This method must be called using the site member identity
|
|
2480
|
+
* 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.
|
|
2481
2481
|
* @param planId - Plan ID.
|
|
2482
2482
|
* @public
|
|
2483
2483
|
* @requiredField planId
|
|
@@ -2549,7 +2549,7 @@ interface GetOfflineOrderPreviewOptions {
|
|
|
2549
2549
|
*
|
|
2550
2550
|
* The price preview uses the same logic as purchasing a plan, but the preview is not saved. Tax is only applied if
|
|
2551
2551
|
* the site [has it configured](https://support.wix.com/en/article/pricing-plans-setting-up-tax-collection). The price is returned
|
|
2552
|
-
* in the pricing model format used for orders. Learn more about pricing models
|
|
2552
|
+
* 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).
|
|
2553
2553
|
*
|
|
2554
2554
|
* Buyers do not have to be logged in to preview the price, and as such, the details returned are not buyer-specific. To
|
|
2555
2555
|
* generate a preview of a purchase for a specific buyer, call Get Offline Order Preview.
|