@wix/pricing-plans 1.0.74 → 1.0.76
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/package.json +6 -5
- package/type-bundles/context.bundle.d.ts +270 -117
- package/type-bundles/index.bundle.d.ts +270 -117
- package/type-bundles/meta.bundle.d.ts +19 -0
@@ -499,6 +499,7 @@ interface FormData$1 {
|
|
499
499
|
interface MemberGetOrderRequest$1 {
|
500
500
|
/** Order ID. */
|
501
501
|
id: string;
|
502
|
+
/** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL. */
|
502
503
|
fieldSet?: Set$1;
|
503
504
|
}
|
504
505
|
declare enum Set$1 {
|
@@ -534,6 +535,7 @@ interface MemberListOrdersRequest$1 {
|
|
534
535
|
offset?: number | null;
|
535
536
|
/** Sorting direction (defaults to ASC) and field to sort by. [See available fields here](https://dev.wix.com/api/rest/pricing-plans/pricing-plans/order-v2/filter-and-sort). */
|
536
537
|
sorting?: Sorting$3;
|
538
|
+
/** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
|
537
539
|
fieldSet?: Set$1;
|
538
540
|
}
|
539
541
|
interface Sorting$3 {
|
@@ -547,6 +549,7 @@ declare enum SortOrder$3 {
|
|
547
549
|
DESC = "DESC"
|
548
550
|
}
|
549
551
|
interface MemberListOrdersResponse$1 {
|
552
|
+
/** Requested orders. */
|
550
553
|
orders?: Order$1[];
|
551
554
|
/** Object containing paging-related data (number of orders returned, offset). */
|
552
555
|
pagingMetadata?: PagingMetadataV2$3;
|
@@ -656,6 +659,7 @@ interface GetPricePreviewResponse$1 {
|
|
656
659
|
interface GetOrderRequest$1 {
|
657
660
|
/** Order ID. */
|
658
661
|
id: string;
|
662
|
+
/** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
|
659
663
|
fieldSet?: Set$1;
|
660
664
|
}
|
661
665
|
interface GetOrderResponse$1 {
|
@@ -1345,6 +1349,7 @@ interface FormData {
|
|
1345
1349
|
interface MemberGetOrderRequest {
|
1346
1350
|
/** Order ID. */
|
1347
1351
|
_id: string;
|
1352
|
+
/** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL. */
|
1348
1353
|
fieldSet?: Set;
|
1349
1354
|
}
|
1350
1355
|
declare enum Set {
|
@@ -1380,6 +1385,7 @@ interface MemberListOrdersRequest {
|
|
1380
1385
|
offset?: number | null;
|
1381
1386
|
/** Sorting direction (defaults to ASC) and field to sort by. [See available fields here](https://dev.wix.com/api/rest/pricing-plans/pricing-plans/order-v2/filter-and-sort). */
|
1382
1387
|
sorting?: Sorting$2;
|
1388
|
+
/** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
|
1383
1389
|
fieldSet?: Set;
|
1384
1390
|
}
|
1385
1391
|
interface Sorting$2 {
|
@@ -1511,6 +1517,7 @@ interface GetPricePreviewResponse {
|
|
1511
1517
|
interface GetOrderRequest {
|
1512
1518
|
/** Order ID. */
|
1513
1519
|
_id: string;
|
1520
|
+
/** Parameter to define amount of fields to return. FULL returns each order's submission data. Supported values: UNKNOWN_SET, BASIC, FULL */
|
1514
1521
|
fieldSet?: Set;
|
1515
1522
|
}
|
1516
1523
|
interface GetOrderResponse {
|
@@ -1970,6 +1977,7 @@ interface Cursors$1 {
|
|
1970
1977
|
prev?: string | null;
|
1971
1978
|
}
|
1972
1979
|
interface QueryPublicPlansRequest$1 {
|
1980
|
+
/** Query */
|
1973
1981
|
query?: QueryV2$1;
|
1974
1982
|
}
|
1975
1983
|
interface QueryV2$1 {
|
@@ -2051,28 +2059,36 @@ interface GetPlanStatsResponse$1 {
|
|
2051
2059
|
totalPlans?: number;
|
2052
2060
|
}
|
2053
2061
|
interface CreatePlanRequest$1 {
|
2062
|
+
/** Plan to be created. */
|
2054
2063
|
plan: Plan$1;
|
2055
2064
|
}
|
2056
2065
|
interface CreatePlanResponse$1 {
|
2066
|
+
/** Plan that was created. */
|
2057
2067
|
plan?: Plan$1;
|
2058
2068
|
}
|
2059
2069
|
interface UpdatePlanRequest$1 {
|
2070
|
+
/** Plan to be updated. */
|
2060
2071
|
plan: Plan$1;
|
2061
2072
|
}
|
2062
2073
|
interface UpdatePlanResponse$1 {
|
2074
|
+
/** Plan that was updated. */
|
2063
2075
|
plan?: Plan$1;
|
2064
2076
|
}
|
2065
2077
|
interface SetPlanVisibilityRequest$1 {
|
2078
|
+
/** Plan id. */
|
2066
2079
|
id: string;
|
2080
|
+
/** If true, the Pricing Plan is visible. */
|
2067
2081
|
visible: boolean;
|
2068
2082
|
}
|
2069
2083
|
interface SetPlanVisibilityResponse$1 {
|
2084
|
+
/** Pricing plan. */
|
2070
2085
|
plan?: Plan$1;
|
2071
2086
|
}
|
2072
2087
|
interface MakePlanPrimaryRequest$1 {
|
2073
2088
|
id: string;
|
2074
2089
|
}
|
2075
2090
|
interface MakePlanPrimaryResponse$1 {
|
2091
|
+
/** Pricing plan. */
|
2076
2092
|
plan?: Plan$1;
|
2077
2093
|
}
|
2078
2094
|
interface ClearPrimaryRequest$1 {
|
@@ -2083,9 +2099,11 @@ interface ArchivePlanRequest$1 {
|
|
2083
2099
|
id: string;
|
2084
2100
|
}
|
2085
2101
|
interface ArchivePlanResponse$1 {
|
2102
|
+
/** Archived plan. */
|
2086
2103
|
plan?: Plan$1;
|
2087
2104
|
}
|
2088
2105
|
interface ArrangePlansRequest$1 {
|
2106
|
+
/** List of plan IDs. */
|
2089
2107
|
ids: string[];
|
2090
2108
|
}
|
2091
2109
|
interface ArrangePlansResponse$1 {
|
@@ -2382,6 +2400,7 @@ interface Cursors {
|
|
2382
2400
|
prev?: string | null;
|
2383
2401
|
}
|
2384
2402
|
interface QueryPublicPlansRequest {
|
2403
|
+
/** Query */
|
2385
2404
|
query?: QueryV2;
|
2386
2405
|
}
|
2387
2406
|
interface QueryV2 {
|