@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
@@ -1149,10 +1149,6 @@ interface PlansQueryBuilder {
1149
1149
  * @param string - String to compare against. Case-insensitive.
1150
1150
  */
1151
1151
  startsWith: (propertyName: '_id' | 'slug', value: string) => PlansQueryBuilder;
1152
- /** @param propertyName - Property whose value is compared with `values`.
1153
- * @param values - List of values to compare against.
1154
- */
1155
- hasSome: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any[]) => PlansQueryBuilder;
1156
1152
  in: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: any) => PlansQueryBuilder;
1157
1153
  exists: (propertyName: '_id' | 'primary' | '_createdDate' | '_updatedDate' | 'slug', value: boolean) => PlansQueryBuilder;
1158
1154
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
@@ -1225,11 +1221,7 @@ type PlanQuery = {
1225
1221
  };
1226
1222
  };
1227
1223
  declare const utils: {
1228
- query: {
1229
- QueryBuilder: () => _wix_sdk_types.QueryBuilder<Plan, PlanQuerySpec, PlanQuery>;
1230
- Filter: _wix_sdk_types.FilterFactory<Plan, PlanQuerySpec>;
1231
- Sort: _wix_sdk_types.SortFactory<PlanQuerySpec>;
1232
- };
1224
+ query: _wix_sdk_types.QueryHelpers<Plan, PlanQuerySpec, PlanQuery>;
1233
1225
  };
1234
1226
  /**
1235
1227
  * 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];