@wix/auto_sdk_pricing-plans_plans 1.0.112 → 1.0.113
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 +60 -18
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -9
- package/build/cjs/index.typings.js +51 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +50 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +22 -22
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.mjs +60 -18
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -9
- package/build/es/index.typings.mjs +51 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +50 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +22 -22
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.js +60 -18
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -9
- package/build/internal/cjs/index.typings.js +51 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +50 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +22 -22
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.mjs +60 -18
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -9
- package/build/internal/es/index.typings.mjs +51 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +50 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +22 -22
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1203,10 +1203,6 @@ interface PlansQueryBuilder {
|
|
|
1203
1203
|
* @param string - String to compare against. Case-insensitive.
|
|
1204
1204
|
*/
|
|
1205
1205
|
startsWith: (propertyName: '_id' | 'slug', value: string) => PlansQueryBuilder;
|
|
1206
|
-
/** @param propertyName - Property whose value is compared with `values`.
|
|
1207
|
-
* @param values - List of values to compare against.
|
|
1208
|
-
*/
|
|
1209
|
-
hasSome: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any[]) => PlansQueryBuilder;
|
|
1210
1206
|
in: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any) => PlansQueryBuilder;
|
|
1211
1207
|
exists: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: boolean) => PlansQueryBuilder;
|
|
1212
1208
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -1293,11 +1289,7 @@ type PlanQuery = {
|
|
|
1293
1289
|
};
|
|
1294
1290
|
};
|
|
1295
1291
|
declare const utils: {
|
|
1296
|
-
query:
|
|
1297
|
-
QueryBuilder: () => _wix_sdk_types.QueryBuilder<Plan, PlanQuerySpec, PlanQuery>;
|
|
1298
|
-
Filter: _wix_sdk_types.FilterFactory<Plan, PlanQuerySpec>;
|
|
1299
|
-
Sort: _wix_sdk_types.SortFactory<PlanQuerySpec>;
|
|
1300
|
-
};
|
|
1292
|
+
query: _wix_sdk_types.QueryHelpers<Plan, PlanQuerySpec, PlanQuery>;
|
|
1301
1293
|
};
|
|
1302
1294
|
/**
|
|
1303
1295
|
* Retrieves a pricing plan by ID.
|
|
@@ -57,16 +57,14 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
|
|
|
57
57
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
58
58
|
function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
|
|
59
59
|
const domainToMappings = {
|
|
60
|
-
"api._api_base_domain_": [
|
|
61
|
-
{
|
|
62
|
-
srcPath: "/plan-proxy",
|
|
63
|
-
destPath: ""
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
60
|
"*.dev.wix-code.com": [
|
|
67
61
|
{
|
|
68
62
|
srcPath: "/_api/paid-plans/v2/plans",
|
|
69
63
|
destPath: "/v2/plans"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
67
|
+
destPath: "/v2/plans"
|
|
70
68
|
}
|
|
71
69
|
],
|
|
72
70
|
"*.pub.wix-code.com": [
|
|
@@ -85,6 +83,10 @@ function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
|
|
|
85
83
|
{
|
|
86
84
|
srcPath: "/_api/paid-plans/v2/plans",
|
|
87
85
|
destPath: "/v2/plans"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
89
|
+
destPath: "/v2/plans"
|
|
88
90
|
}
|
|
89
91
|
],
|
|
90
92
|
"editor-flow.wixapps.net": [
|
|
@@ -97,24 +99,40 @@ function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
|
|
|
97
99
|
{
|
|
98
100
|
srcPath: "/_api/paid-plans/v2/plans",
|
|
99
101
|
destPath: "/v2/plans"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
105
|
+
destPath: "/v2/plans"
|
|
100
106
|
}
|
|
101
107
|
],
|
|
102
108
|
"blocks._base_domain_": [
|
|
103
109
|
{
|
|
104
110
|
srcPath: "/_api/paid-plans/v2/plans",
|
|
105
111
|
destPath: "/v2/plans"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
115
|
+
destPath: "/v2/plans"
|
|
106
116
|
}
|
|
107
117
|
],
|
|
108
118
|
"create.editorx": [
|
|
109
119
|
{
|
|
110
120
|
srcPath: "/_api/paid-plans/v2/plans",
|
|
111
121
|
destPath: "/v2/plans"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
125
|
+
destPath: "/v2/plans"
|
|
112
126
|
}
|
|
113
127
|
],
|
|
114
128
|
"editor.wixapps.net": [
|
|
115
129
|
{
|
|
116
130
|
srcPath: "/_api/paid-plans/v2/plans",
|
|
117
131
|
destPath: "/v2/plans"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
135
|
+
destPath: "/v2/plans"
|
|
118
136
|
}
|
|
119
137
|
],
|
|
120
138
|
"forums._base_domain_": [
|
|
@@ -150,6 +168,32 @@ function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
|
|
|
150
168
|
srcPath: "/pricing-plans/v2/plans",
|
|
151
169
|
destPath: "/v2/plans"
|
|
152
170
|
}
|
|
171
|
+
],
|
|
172
|
+
"apps._base_domain_": [
|
|
173
|
+
{
|
|
174
|
+
srcPath: "/_api/paid-plans/v2/plans",
|
|
175
|
+
destPath: "/v2/plans"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
179
|
+
destPath: "/v2/plans"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"dev._base_domain_": [
|
|
183
|
+
{
|
|
184
|
+
srcPath: "/_api/paid-plans/v2/plans",
|
|
185
|
+
destPath: "/v2/plans"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
srcPath: "/_api/pricing-plans/v2/plans",
|
|
189
|
+
destPath: "/v2/plans"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"api._api_base_domain_": [
|
|
193
|
+
{
|
|
194
|
+
srcPath: "/plan-proxy",
|
|
195
|
+
destPath: ""
|
|
196
|
+
}
|
|
153
197
|
]
|
|
154
198
|
};
|
|
155
199
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
@@ -613,9 +657,7 @@ async function typedQueryPublicPlans(query) {
|
|
|
613
657
|
}
|
|
614
658
|
}
|
|
615
659
|
var utils = {
|
|
616
|
-
query:
|
|
617
|
-
...(0, import_query_builder_utils.createQueryUtils)()
|
|
618
|
-
}
|
|
660
|
+
query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
|
|
619
661
|
};
|
|
620
662
|
async function getPlan2(_id) {
|
|
621
663
|
const { httpClient, sideEffects } = arguments[1];
|