@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
|
@@ -57,7 +57,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
57
57
|
|
|
58
58
|
// src/pricing-plans-v2-plan-plans.schemas.ts
|
|
59
59
|
var z = __toESM(require("zod"));
|
|
60
|
-
var ListPublicPlansRequest = z.object({
|
|
60
|
+
var ListPublicPlansRequest = /* @__PURE__ */ z.object({
|
|
61
61
|
options: z.object({
|
|
62
62
|
limit: z.number().int().describe(
|
|
63
63
|
"Number of items to list. Defaults to `75`. See [limits](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#paging)."
|
|
@@ -68,7 +68,7 @@ var ListPublicPlansRequest = z.object({
|
|
|
68
68
|
planIds: z.array(z.string()).max(100).optional()
|
|
69
69
|
}).describe("Options for filtering and paging the list of public plans. ").optional()
|
|
70
70
|
});
|
|
71
|
-
var ListPublicPlansResponse = z.object({
|
|
71
|
+
var ListPublicPlansResponse = /* @__PURE__ */ z.object({
|
|
72
72
|
plans: z.array(
|
|
73
73
|
z.object({
|
|
74
74
|
_id: z.string().describe("Plan ID.").regex(
|
|
@@ -191,7 +191,7 @@ var ListPublicPlansResponse = z.object({
|
|
|
191
191
|
"Object containing paging-related data (such as the number of plans returned, the offset, and so on)."
|
|
192
192
|
).optional()
|
|
193
193
|
});
|
|
194
|
-
var QueryPublicPlansRequest = z.object({
|
|
194
|
+
var QueryPublicPlansRequest = /* @__PURE__ */ z.object({
|
|
195
195
|
query: z.object({
|
|
196
196
|
filter: z.object({
|
|
197
197
|
_id: z.object({
|
|
@@ -276,7 +276,7 @@ var QueryPublicPlansRequest = z.object({
|
|
|
276
276
|
).optional()
|
|
277
277
|
}).catchall(z.any()).describe("Query options.")
|
|
278
278
|
});
|
|
279
|
-
var QueryPublicPlansResponse = z.object({
|
|
279
|
+
var QueryPublicPlansResponse = /* @__PURE__ */ z.object({
|
|
280
280
|
plans: z.array(
|
|
281
281
|
z.object({
|
|
282
282
|
_id: z.string().describe("Plan ID.").regex(
|
|
@@ -399,13 +399,13 @@ var QueryPublicPlansResponse = z.object({
|
|
|
399
399
|
"Object containing paging-related data (such as the number of plans returned, the offset, and so on)."
|
|
400
400
|
).optional()
|
|
401
401
|
});
|
|
402
|
-
var GetPlanRequest = z.object({
|
|
402
|
+
var GetPlanRequest = /* @__PURE__ */ z.object({
|
|
403
403
|
_id: z.string().describe("Plan ID.").regex(
|
|
404
404
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
405
405
|
"Must be a valid GUID"
|
|
406
406
|
)
|
|
407
407
|
});
|
|
408
|
-
var GetPlanResponse = z.object({
|
|
408
|
+
var GetPlanResponse = /* @__PURE__ */ z.object({
|
|
409
409
|
_id: z.string().describe("Plan ID.").regex(
|
|
410
410
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
411
411
|
"Must be a valid GUID"
|
|
@@ -511,7 +511,7 @@ var GetPlanResponse = z.object({
|
|
|
511
511
|
"Must be a valid GUID"
|
|
512
512
|
).optional().nullable()
|
|
513
513
|
});
|
|
514
|
-
var ListPlansRequest = z.object({
|
|
514
|
+
var ListPlansRequest = /* @__PURE__ */ z.object({
|
|
515
515
|
options: z.object({
|
|
516
516
|
archived: z.enum(["ACTIVE", "ARCHIVED", "ARCHIVED_AND_ACTIVE"]).optional(),
|
|
517
517
|
public: z.enum(["PUBLIC_AND_HIDDEN", "PUBLIC", "HIDDEN"]).optional(),
|
|
@@ -520,7 +520,7 @@ var ListPlansRequest = z.object({
|
|
|
520
520
|
planIds: z.array(z.string()).max(100).optional()
|
|
521
521
|
}).describe("Options for filtering and paging the list of plans. ").optional()
|
|
522
522
|
});
|
|
523
|
-
var ListPlansResponse = z.object({
|
|
523
|
+
var ListPlansResponse = /* @__PURE__ */ z.object({
|
|
524
524
|
plans: z.array(
|
|
525
525
|
z.object({
|
|
526
526
|
_id: z.string().describe("Plan ID.").regex(
|
|
@@ -652,13 +652,13 @@ var ListPlansResponse = z.object({
|
|
|
652
652
|
"Object containing paging-related data (such as the number of plans returned, the offset, and so on)."
|
|
653
653
|
).optional()
|
|
654
654
|
});
|
|
655
|
-
var GetPlanStatsRequest = z.object({});
|
|
656
|
-
var GetPlanStatsResponse = z.object({
|
|
655
|
+
var GetPlanStatsRequest = /* @__PURE__ */ z.object({});
|
|
656
|
+
var GetPlanStatsResponse = /* @__PURE__ */ z.object({
|
|
657
657
|
totalPlans: z.number().int().describe(
|
|
658
658
|
"Total number of plans created, including active plans (both public and hidden) and archived plans."
|
|
659
659
|
).optional()
|
|
660
660
|
});
|
|
661
|
-
var CreatePlanRequest = z.object({
|
|
661
|
+
var CreatePlanRequest = /* @__PURE__ */ z.object({
|
|
662
662
|
plan: z.object({
|
|
663
663
|
_id: z.string().describe("Plan ID.").regex(
|
|
664
664
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
@@ -761,7 +761,7 @@ var CreatePlanRequest = z.object({
|
|
|
761
761
|
).optional().nullable()
|
|
762
762
|
}).describe("Information for the plan being created. ")
|
|
763
763
|
});
|
|
764
|
-
var CreatePlanResponse = z.object({
|
|
764
|
+
var CreatePlanResponse = /* @__PURE__ */ z.object({
|
|
765
765
|
_id: z.string().describe("Plan ID.").regex(
|
|
766
766
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
767
767
|
"Must be a valid GUID"
|
|
@@ -867,7 +867,7 @@ var CreatePlanResponse = z.object({
|
|
|
867
867
|
"Must be a valid GUID"
|
|
868
868
|
).optional().nullable()
|
|
869
869
|
});
|
|
870
|
-
var UpdatePlanRequest = z.object({
|
|
870
|
+
var UpdatePlanRequest = /* @__PURE__ */ z.object({
|
|
871
871
|
_id: z.string().describe("ID of the plan to update.").regex(
|
|
872
872
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
873
873
|
"Must be a valid GUID"
|
|
@@ -979,7 +979,7 @@ var UpdatePlanRequest = z.object({
|
|
|
979
979
|
).optional().nullable()
|
|
980
980
|
}).describe("ID of the plan to update.")
|
|
981
981
|
});
|
|
982
|
-
var UpdatePlanResponse = z.object({
|
|
982
|
+
var UpdatePlanResponse = /* @__PURE__ */ z.object({
|
|
983
983
|
_id: z.string().describe("Plan ID.").regex(
|
|
984
984
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
985
985
|
"Must be a valid GUID"
|
|
@@ -1085,7 +1085,7 @@ var UpdatePlanResponse = z.object({
|
|
|
1085
1085
|
"Must be a valid GUID"
|
|
1086
1086
|
).optional().nullable()
|
|
1087
1087
|
});
|
|
1088
|
-
var SetPlanVisibilityRequest = z.object({
|
|
1088
|
+
var SetPlanVisibilityRequest = /* @__PURE__ */ z.object({
|
|
1089
1089
|
_id: z.string().describe("The ID of the plan to either display or hide on the site page. ").regex(
|
|
1090
1090
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1091
1091
|
"Must be a valid GUID"
|
|
@@ -1094,7 +1094,7 @@ var SetPlanVisibilityRequest = z.object({
|
|
|
1094
1094
|
"Whether a plan is visible to members and site visitors. Updates the `public` field."
|
|
1095
1095
|
)
|
|
1096
1096
|
});
|
|
1097
|
-
var SetPlanVisibilityResponse = z.object({
|
|
1097
|
+
var SetPlanVisibilityResponse = /* @__PURE__ */ z.object({
|
|
1098
1098
|
plan: z.object({
|
|
1099
1099
|
_id: z.string().describe("Plan ID.").regex(
|
|
1100
1100
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
@@ -1202,13 +1202,13 @@ var SetPlanVisibilityResponse = z.object({
|
|
|
1202
1202
|
).optional().nullable()
|
|
1203
1203
|
}).describe("Pricing plan.").optional()
|
|
1204
1204
|
});
|
|
1205
|
-
var MakePlanPrimaryRequest = z.object({
|
|
1205
|
+
var MakePlanPrimaryRequest = /* @__PURE__ */ z.object({
|
|
1206
1206
|
_id: z.string().describe("ID of the pricing plan to set as the primary plan.").regex(
|
|
1207
1207
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1208
1208
|
"Must be a valid GUID"
|
|
1209
1209
|
)
|
|
1210
1210
|
});
|
|
1211
|
-
var MakePlanPrimaryResponse = z.object({
|
|
1211
|
+
var MakePlanPrimaryResponse = /* @__PURE__ */ z.object({
|
|
1212
1212
|
plan: z.object({
|
|
1213
1213
|
_id: z.string().describe("Plan ID.").regex(
|
|
1214
1214
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
@@ -1316,15 +1316,15 @@ var MakePlanPrimaryResponse = z.object({
|
|
|
1316
1316
|
).optional().nullable()
|
|
1317
1317
|
}).describe("Pricing plan.").optional()
|
|
1318
1318
|
});
|
|
1319
|
-
var ClearPrimaryRequest = z.object({});
|
|
1320
|
-
var ClearPrimaryResponse = z.object({});
|
|
1321
|
-
var ArchivePlanRequest = z.object({
|
|
1319
|
+
var ClearPrimaryRequest = /* @__PURE__ */ z.object({});
|
|
1320
|
+
var ClearPrimaryResponse = /* @__PURE__ */ z.object({});
|
|
1321
|
+
var ArchivePlanRequest = /* @__PURE__ */ z.object({
|
|
1322
1322
|
_id: z.string().describe("ID of the active plan to archive. ").regex(
|
|
1323
1323
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1324
1324
|
"Must be a valid GUID"
|
|
1325
1325
|
)
|
|
1326
1326
|
});
|
|
1327
|
-
var ArchivePlanResponse = z.object({
|
|
1327
|
+
var ArchivePlanResponse = /* @__PURE__ */ z.object({
|
|
1328
1328
|
plan: z.object({
|
|
1329
1329
|
_id: z.string().describe("Plan ID.").regex(
|
|
1330
1330
|
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|