@wix/auto_sdk_pricing-plans_plans 1.0.77 → 1.0.79
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 +4 -4
- package/build/cjs/index.js +36 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +33 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +33 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +36 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +33 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +33 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -4
- package/build/internal/cjs/index.js +36 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +33 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +33 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +4 -4
- package/build/internal/es/index.mjs +36 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +33 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +33 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -176,20 +176,20 @@ declare const archivePlan: MaybeContext<BuildRESTFunction<typeof archivePlan$1>
|
|
|
176
176
|
* Triggered when a plan's `buyerCanCancel` field is updated.
|
|
177
177
|
* @deprecated
|
|
178
178
|
*/
|
|
179
|
-
declare const onPlanBuyerCanCancelUpdated: BuildEventDefinition<typeof onPlanBuyerCanCancelUpdated$1
|
|
179
|
+
declare const onPlanBuyerCanCancelUpdated: BuildEventDefinition<typeof onPlanBuyerCanCancelUpdated$1> & typeof onPlanBuyerCanCancelUpdated$1;
|
|
180
180
|
/**
|
|
181
181
|
* Triggered when a pricing plan is created.
|
|
182
182
|
*/
|
|
183
|
-
declare const onPlanCreated: BuildEventDefinition<typeof onPlanCreated$1
|
|
183
|
+
declare const onPlanCreated: BuildEventDefinition<typeof onPlanCreated$1> & typeof onPlanCreated$1;
|
|
184
184
|
/**
|
|
185
185
|
* Triggered when a pricing plan is archived.
|
|
186
186
|
* @deprecated
|
|
187
187
|
*/
|
|
188
|
-
declare const onPlanArchived: BuildEventDefinition<typeof onPlanArchived$1
|
|
188
|
+
declare const onPlanArchived: BuildEventDefinition<typeof onPlanArchived$1> & typeof onPlanArchived$1;
|
|
189
189
|
/**
|
|
190
190
|
* Triggered when a pricing plan is updated.
|
|
191
191
|
* @deprecated
|
|
192
192
|
*/
|
|
193
|
-
declare const onPlanUpdated: BuildEventDefinition<typeof onPlanUpdated$1
|
|
193
|
+
declare const onPlanUpdated: BuildEventDefinition<typeof onPlanUpdated$1> & typeof onPlanUpdated$1;
|
|
194
194
|
|
|
195
195
|
export { ArchivePlanApplicationErrors, ArchivePlanResponse, ClearPrimaryApplicationErrors, CreatePlanApplicationErrors, CreatePlanValidationErrors, GetPlanApplicationErrors, GetPlanStatsApplicationErrors, GetPlanStatsResponse, ListPlansApplicationErrors, ListPlansOptions, ListPlansResponse, ListPlansValidationErrors, ListPublicPlansApplicationErrors, ListPublicPlansOptions, ListPublicPlansResponse, MakePlanPrimaryApplicationErrors, MakePlanPrimaryResponse, Plan, PlanArchivedEnvelope, PlanBuyerCanCancelUpdatedEnvelope, PlanCreatedEnvelope, PlanUpdatedEnvelope, PlansQueryBuilder, SetPlanVisibilityApplicationErrors, SetPlanVisibilityResponse, UpdatePlan, UpdatePlanApplicationErrors, UpdatePlanValidationErrors, archivePlan, clearPrimary, createPlan, getPlan, getPlanStats, listPlans, listPublicPlans, makePlanPrimary, onPlanArchived, onPlanBuyerCanCancelUpdated, onPlanCreated, onPlanUpdated, queryPublicPlans, setPlanVisibility, updatePlan };
|
package/build/cjs/index.js
CHANGED
|
@@ -169,6 +169,9 @@ function listPublicPlans(payload) {
|
|
|
169
169
|
method: "GET",
|
|
170
170
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.ListPublicPlans",
|
|
171
171
|
packageName: PACKAGE_NAME,
|
|
172
|
+
migrationOptions: {
|
|
173
|
+
optInTransformResponse: true
|
|
174
|
+
},
|
|
172
175
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
173
176
|
protoPath: "/v2/plans/public",
|
|
174
177
|
data: payload,
|
|
@@ -196,6 +199,9 @@ function queryPublicPlans(payload) {
|
|
|
196
199
|
method: "POST",
|
|
197
200
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.QueryPublicPlans",
|
|
198
201
|
packageName: PACKAGE_NAME,
|
|
202
|
+
migrationOptions: {
|
|
203
|
+
optInTransformResponse: true
|
|
204
|
+
},
|
|
199
205
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
200
206
|
protoPath: "/v2/plans/public/query",
|
|
201
207
|
data: payload,
|
|
@@ -223,6 +229,9 @@ function getPlan(payload) {
|
|
|
223
229
|
method: "GET",
|
|
224
230
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.GetPlan",
|
|
225
231
|
packageName: PACKAGE_NAME,
|
|
232
|
+
migrationOptions: {
|
|
233
|
+
optInTransformResponse: true
|
|
234
|
+
},
|
|
226
235
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
227
236
|
protoPath: "/v2/plans/{id}",
|
|
228
237
|
data: payload,
|
|
@@ -247,6 +256,9 @@ function listPlans(payload) {
|
|
|
247
256
|
method: "GET",
|
|
248
257
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.ListPlans",
|
|
249
258
|
packageName: PACKAGE_NAME,
|
|
259
|
+
migrationOptions: {
|
|
260
|
+
optInTransformResponse: true
|
|
261
|
+
},
|
|
250
262
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
251
263
|
protoPath: "/v2/plans",
|
|
252
264
|
data: payload,
|
|
@@ -274,6 +286,9 @@ function getPlanStats(payload) {
|
|
|
274
286
|
method: "GET",
|
|
275
287
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.GetPlanStats",
|
|
276
288
|
packageName: PACKAGE_NAME,
|
|
289
|
+
migrationOptions: {
|
|
290
|
+
optInTransformResponse: true
|
|
291
|
+
},
|
|
277
292
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
278
293
|
protoPath: "/v2/plans/stats",
|
|
279
294
|
data: payload,
|
|
@@ -298,6 +313,9 @@ function createPlan(payload) {
|
|
|
298
313
|
method: "POST",
|
|
299
314
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.CreatePlan",
|
|
300
315
|
packageName: PACKAGE_NAME,
|
|
316
|
+
migrationOptions: {
|
|
317
|
+
optInTransformResponse: true
|
|
318
|
+
},
|
|
301
319
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
302
320
|
protoPath: "/v2/plans",
|
|
303
321
|
data: serializedData,
|
|
@@ -332,6 +350,9 @@ function updatePlan(payload) {
|
|
|
332
350
|
method: "PATCH",
|
|
333
351
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.UpdatePlan",
|
|
334
352
|
packageName: PACKAGE_NAME,
|
|
353
|
+
migrationOptions: {
|
|
354
|
+
optInTransformResponse: true
|
|
355
|
+
},
|
|
335
356
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
336
357
|
protoPath: "/v2/plans/{plan.id}",
|
|
337
358
|
data: serializedData,
|
|
@@ -356,6 +377,9 @@ function setPlanVisibility(payload) {
|
|
|
356
377
|
method: "PUT",
|
|
357
378
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.SetPlanVisibility",
|
|
358
379
|
packageName: PACKAGE_NAME,
|
|
380
|
+
migrationOptions: {
|
|
381
|
+
optInTransformResponse: true
|
|
382
|
+
},
|
|
359
383
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
360
384
|
protoPath: "/v2/plans/{id}/visibility",
|
|
361
385
|
data: payload,
|
|
@@ -380,6 +404,9 @@ function makePlanPrimary(payload) {
|
|
|
380
404
|
method: "POST",
|
|
381
405
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.MakePlanPrimary",
|
|
382
406
|
packageName: PACKAGE_NAME,
|
|
407
|
+
migrationOptions: {
|
|
408
|
+
optInTransformResponse: true
|
|
409
|
+
},
|
|
383
410
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
384
411
|
protoPath: "/v2/plans/{id}/make-primary",
|
|
385
412
|
data: payload,
|
|
@@ -404,6 +431,9 @@ function clearPrimary(payload) {
|
|
|
404
431
|
method: "POST",
|
|
405
432
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.ClearPrimary",
|
|
406
433
|
packageName: PACKAGE_NAME,
|
|
434
|
+
migrationOptions: {
|
|
435
|
+
optInTransformResponse: true
|
|
436
|
+
},
|
|
407
437
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
408
438
|
protoPath: "/v2/plans/clear-primary",
|
|
409
439
|
data: payload,
|
|
@@ -422,6 +452,9 @@ function archivePlan(payload) {
|
|
|
422
452
|
method: "POST",
|
|
423
453
|
methodFqn: "com.wixpress.membership.v2.plans.PlansServiceV2.ArchivePlan",
|
|
424
454
|
packageName: PACKAGE_NAME,
|
|
455
|
+
migrationOptions: {
|
|
456
|
+
optInTransformResponse: true
|
|
457
|
+
},
|
|
425
458
|
url: resolveComWixpressMembershipV2PlansPlansServiceV2Url({
|
|
426
459
|
protoPath: "/v2/plans/{id}/archive",
|
|
427
460
|
data: payload,
|
|
@@ -935,7 +968,9 @@ var setPlanVisibility4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModu
|
|
|
935
968
|
var makePlanPrimary4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(makePlanPrimary3);
|
|
936
969
|
var clearPrimary4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(clearPrimary3);
|
|
937
970
|
var archivePlan4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(archivePlan3);
|
|
938
|
-
var onPlanBuyerCanCancelUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
971
|
+
var onPlanBuyerCanCancelUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
972
|
+
onPlanBuyerCanCancelUpdated
|
|
973
|
+
);
|
|
939
974
|
var onPlanCreated2 = (0, import_event_definition_modules.createEventModule)(onPlanCreated);
|
|
940
975
|
var onPlanArchived2 = (0, import_event_definition_modules.createEventModule)(onPlanArchived);
|
|
941
976
|
var onPlanUpdated2 = (0, import_event_definition_modules.createEventModule)(onPlanUpdated);
|