@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.
Files changed (37) hide show
  1. package/build/cjs/index.js +60 -18
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +1 -9
  4. package/build/cjs/index.typings.js +51 -9
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.js +50 -6
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.js +22 -22
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.mjs +60 -18
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +1 -9
  13. package/build/es/index.typings.mjs +51 -9
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.mjs +50 -6
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/es/schemas.mjs +22 -22
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.js +60 -18
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +1 -9
  22. package/build/internal/cjs/index.typings.js +51 -9
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.js +50 -6
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/cjs/schemas.js +22 -22
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.mjs +60 -18
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +1 -9
  31. package/build/internal/es/index.typings.mjs +51 -9
  32. package/build/internal/es/index.typings.mjs.map +1 -1
  33. package/build/internal/es/meta.mjs +50 -6
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/build/internal/es/schemas.mjs +22 -22
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. 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.
@@ -16,16 +16,14 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
16
16
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
17
17
  function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
18
18
  const domainToMappings = {
19
- "api._api_base_domain_": [
20
- {
21
- srcPath: "/plan-proxy",
22
- destPath: ""
23
- }
24
- ],
25
19
  "*.dev.wix-code.com": [
26
20
  {
27
21
  srcPath: "/_api/paid-plans/v2/plans",
28
22
  destPath: "/v2/plans"
23
+ },
24
+ {
25
+ srcPath: "/_api/pricing-plans/v2/plans",
26
+ destPath: "/v2/plans"
29
27
  }
30
28
  ],
31
29
  "*.pub.wix-code.com": [
@@ -44,6 +42,10 @@ function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
44
42
  {
45
43
  srcPath: "/_api/paid-plans/v2/plans",
46
44
  destPath: "/v2/plans"
45
+ },
46
+ {
47
+ srcPath: "/_api/pricing-plans/v2/plans",
48
+ destPath: "/v2/plans"
47
49
  }
48
50
  ],
49
51
  "editor-flow.wixapps.net": [
@@ -56,24 +58,40 @@ function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
56
58
  {
57
59
  srcPath: "/_api/paid-plans/v2/plans",
58
60
  destPath: "/v2/plans"
61
+ },
62
+ {
63
+ srcPath: "/_api/pricing-plans/v2/plans",
64
+ destPath: "/v2/plans"
59
65
  }
60
66
  ],
61
67
  "blocks._base_domain_": [
62
68
  {
63
69
  srcPath: "/_api/paid-plans/v2/plans",
64
70
  destPath: "/v2/plans"
71
+ },
72
+ {
73
+ srcPath: "/_api/pricing-plans/v2/plans",
74
+ destPath: "/v2/plans"
65
75
  }
66
76
  ],
67
77
  "create.editorx": [
68
78
  {
69
79
  srcPath: "/_api/paid-plans/v2/plans",
70
80
  destPath: "/v2/plans"
81
+ },
82
+ {
83
+ srcPath: "/_api/pricing-plans/v2/plans",
84
+ destPath: "/v2/plans"
71
85
  }
72
86
  ],
73
87
  "editor.wixapps.net": [
74
88
  {
75
89
  srcPath: "/_api/paid-plans/v2/plans",
76
90
  destPath: "/v2/plans"
91
+ },
92
+ {
93
+ srcPath: "/_api/pricing-plans/v2/plans",
94
+ destPath: "/v2/plans"
77
95
  }
78
96
  ],
79
97
  "forums._base_domain_": [
@@ -109,6 +127,32 @@ function resolveComWixpressMembershipV2PlansPlansServiceV2Url(opts) {
109
127
  srcPath: "/pricing-plans/v2/plans",
110
128
  destPath: "/v2/plans"
111
129
  }
130
+ ],
131
+ "apps._base_domain_": [
132
+ {
133
+ srcPath: "/_api/paid-plans/v2/plans",
134
+ destPath: "/v2/plans"
135
+ },
136
+ {
137
+ srcPath: "/_api/pricing-plans/v2/plans",
138
+ destPath: "/v2/plans"
139
+ }
140
+ ],
141
+ "dev._base_domain_": [
142
+ {
143
+ srcPath: "/_api/paid-plans/v2/plans",
144
+ destPath: "/v2/plans"
145
+ },
146
+ {
147
+ srcPath: "/_api/pricing-plans/v2/plans",
148
+ destPath: "/v2/plans"
149
+ }
150
+ ],
151
+ "api._api_base_domain_": [
152
+ {
153
+ srcPath: "/plan-proxy",
154
+ destPath: ""
155
+ }
112
156
  ]
113
157
  };
114
158
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -572,9 +616,7 @@ async function typedQueryPublicPlans(query) {
572
616
  }
573
617
  }
574
618
  var utils = {
575
- query: {
576
- ...createQueryUtils()
577
- }
619
+ query: /* @__PURE__ */ createQueryUtils()
578
620
  };
579
621
  async function getPlan2(_id) {
580
622
  const { httpClient, sideEffects } = arguments[1];