@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
package/build/es/schemas.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/pricing-plans-v2-plan-plans.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var ListPublicPlansRequest = z.object({
|
|
3
|
+
var ListPublicPlansRequest = /* @__PURE__ */ z.object({
|
|
4
4
|
options: z.object({
|
|
5
5
|
limit: z.number().int().describe(
|
|
6
6
|
"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)."
|
|
@@ -11,7 +11,7 @@ var ListPublicPlansRequest = z.object({
|
|
|
11
11
|
planIds: z.array(z.string()).max(100).optional()
|
|
12
12
|
}).describe("Options for filtering and paging the list of public plans. ").optional()
|
|
13
13
|
});
|
|
14
|
-
var ListPublicPlansResponse = z.object({
|
|
14
|
+
var ListPublicPlansResponse = /* @__PURE__ */ z.object({
|
|
15
15
|
plans: z.array(
|
|
16
16
|
z.object({
|
|
17
17
|
_id: z.string().describe("Plan ID.").regex(
|
|
@@ -134,7 +134,7 @@ var ListPublicPlansResponse = z.object({
|
|
|
134
134
|
"Object containing paging-related data (such as the number of plans returned, the offset, and so on)."
|
|
135
135
|
).optional()
|
|
136
136
|
});
|
|
137
|
-
var QueryPublicPlansRequest = z.object({
|
|
137
|
+
var QueryPublicPlansRequest = /* @__PURE__ */ z.object({
|
|
138
138
|
query: z.object({
|
|
139
139
|
filter: z.object({
|
|
140
140
|
_id: z.object({
|
|
@@ -219,7 +219,7 @@ var QueryPublicPlansRequest = z.object({
|
|
|
219
219
|
).optional()
|
|
220
220
|
}).catchall(z.any()).describe("Query options.")
|
|
221
221
|
});
|
|
222
|
-
var QueryPublicPlansResponse = z.object({
|
|
222
|
+
var QueryPublicPlansResponse = /* @__PURE__ */ z.object({
|
|
223
223
|
plans: z.array(
|
|
224
224
|
z.object({
|
|
225
225
|
_id: z.string().describe("Plan ID.").regex(
|
|
@@ -342,13 +342,13 @@ var QueryPublicPlansResponse = z.object({
|
|
|
342
342
|
"Object containing paging-related data (such as the number of plans returned, the offset, and so on)."
|
|
343
343
|
).optional()
|
|
344
344
|
});
|
|
345
|
-
var GetPlanRequest = z.object({
|
|
345
|
+
var GetPlanRequest = /* @__PURE__ */ z.object({
|
|
346
346
|
_id: z.string().describe("Plan ID.").regex(
|
|
347
347
|
/^[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}$/,
|
|
348
348
|
"Must be a valid GUID"
|
|
349
349
|
)
|
|
350
350
|
});
|
|
351
|
-
var GetPlanResponse = z.object({
|
|
351
|
+
var GetPlanResponse = /* @__PURE__ */ z.object({
|
|
352
352
|
_id: z.string().describe("Plan ID.").regex(
|
|
353
353
|
/^[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}$/,
|
|
354
354
|
"Must be a valid GUID"
|
|
@@ -454,7 +454,7 @@ var GetPlanResponse = z.object({
|
|
|
454
454
|
"Must be a valid GUID"
|
|
455
455
|
).optional().nullable()
|
|
456
456
|
});
|
|
457
|
-
var ListPlansRequest = z.object({
|
|
457
|
+
var ListPlansRequest = /* @__PURE__ */ z.object({
|
|
458
458
|
options: z.object({
|
|
459
459
|
archived: z.enum(["ACTIVE", "ARCHIVED", "ARCHIVED_AND_ACTIVE"]).optional(),
|
|
460
460
|
public: z.enum(["PUBLIC_AND_HIDDEN", "PUBLIC", "HIDDEN"]).optional(),
|
|
@@ -463,7 +463,7 @@ var ListPlansRequest = z.object({
|
|
|
463
463
|
planIds: z.array(z.string()).max(100).optional()
|
|
464
464
|
}).describe("Options for filtering and paging the list of plans. ").optional()
|
|
465
465
|
});
|
|
466
|
-
var ListPlansResponse = z.object({
|
|
466
|
+
var ListPlansResponse = /* @__PURE__ */ z.object({
|
|
467
467
|
plans: z.array(
|
|
468
468
|
z.object({
|
|
469
469
|
_id: z.string().describe("Plan ID.").regex(
|
|
@@ -595,13 +595,13 @@ var ListPlansResponse = z.object({
|
|
|
595
595
|
"Object containing paging-related data (such as the number of plans returned, the offset, and so on)."
|
|
596
596
|
).optional()
|
|
597
597
|
});
|
|
598
|
-
var GetPlanStatsRequest = z.object({});
|
|
599
|
-
var GetPlanStatsResponse = z.object({
|
|
598
|
+
var GetPlanStatsRequest = /* @__PURE__ */ z.object({});
|
|
599
|
+
var GetPlanStatsResponse = /* @__PURE__ */ z.object({
|
|
600
600
|
totalPlans: z.number().int().describe(
|
|
601
601
|
"Total number of plans created, including active plans (both public and hidden) and archived plans."
|
|
602
602
|
).optional()
|
|
603
603
|
});
|
|
604
|
-
var CreatePlanRequest = z.object({
|
|
604
|
+
var CreatePlanRequest = /* @__PURE__ */ z.object({
|
|
605
605
|
plan: z.object({
|
|
606
606
|
_id: z.string().describe("Plan ID.").regex(
|
|
607
607
|
/^[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}$/,
|
|
@@ -704,7 +704,7 @@ var CreatePlanRequest = z.object({
|
|
|
704
704
|
).optional().nullable()
|
|
705
705
|
}).describe("Information for the plan being created. ")
|
|
706
706
|
});
|
|
707
|
-
var CreatePlanResponse = z.object({
|
|
707
|
+
var CreatePlanResponse = /* @__PURE__ */ z.object({
|
|
708
708
|
_id: z.string().describe("Plan ID.").regex(
|
|
709
709
|
/^[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}$/,
|
|
710
710
|
"Must be a valid GUID"
|
|
@@ -810,7 +810,7 @@ var CreatePlanResponse = z.object({
|
|
|
810
810
|
"Must be a valid GUID"
|
|
811
811
|
).optional().nullable()
|
|
812
812
|
});
|
|
813
|
-
var UpdatePlanRequest = z.object({
|
|
813
|
+
var UpdatePlanRequest = /* @__PURE__ */ z.object({
|
|
814
814
|
_id: z.string().describe("ID of the plan to update.").regex(
|
|
815
815
|
/^[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}$/,
|
|
816
816
|
"Must be a valid GUID"
|
|
@@ -922,7 +922,7 @@ var UpdatePlanRequest = z.object({
|
|
|
922
922
|
).optional().nullable()
|
|
923
923
|
}).describe("ID of the plan to update.")
|
|
924
924
|
});
|
|
925
|
-
var UpdatePlanResponse = z.object({
|
|
925
|
+
var UpdatePlanResponse = /* @__PURE__ */ z.object({
|
|
926
926
|
_id: z.string().describe("Plan ID.").regex(
|
|
927
927
|
/^[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}$/,
|
|
928
928
|
"Must be a valid GUID"
|
|
@@ -1028,7 +1028,7 @@ var UpdatePlanResponse = z.object({
|
|
|
1028
1028
|
"Must be a valid GUID"
|
|
1029
1029
|
).optional().nullable()
|
|
1030
1030
|
});
|
|
1031
|
-
var SetPlanVisibilityRequest = z.object({
|
|
1031
|
+
var SetPlanVisibilityRequest = /* @__PURE__ */ z.object({
|
|
1032
1032
|
_id: z.string().describe("The ID of the plan to either display or hide on the site page. ").regex(
|
|
1033
1033
|
/^[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}$/,
|
|
1034
1034
|
"Must be a valid GUID"
|
|
@@ -1037,7 +1037,7 @@ var SetPlanVisibilityRequest = z.object({
|
|
|
1037
1037
|
"Whether a plan is visible to members and site visitors. Updates the `public` field."
|
|
1038
1038
|
)
|
|
1039
1039
|
});
|
|
1040
|
-
var SetPlanVisibilityResponse = z.object({
|
|
1040
|
+
var SetPlanVisibilityResponse = /* @__PURE__ */ z.object({
|
|
1041
1041
|
plan: z.object({
|
|
1042
1042
|
_id: z.string().describe("Plan ID.").regex(
|
|
1043
1043
|
/^[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}$/,
|
|
@@ -1145,13 +1145,13 @@ var SetPlanVisibilityResponse = z.object({
|
|
|
1145
1145
|
).optional().nullable()
|
|
1146
1146
|
}).describe("Pricing plan.").optional()
|
|
1147
1147
|
});
|
|
1148
|
-
var MakePlanPrimaryRequest = z.object({
|
|
1148
|
+
var MakePlanPrimaryRequest = /* @__PURE__ */ z.object({
|
|
1149
1149
|
_id: z.string().describe("ID of the pricing plan to set as the primary plan.").regex(
|
|
1150
1150
|
/^[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}$/,
|
|
1151
1151
|
"Must be a valid GUID"
|
|
1152
1152
|
)
|
|
1153
1153
|
});
|
|
1154
|
-
var MakePlanPrimaryResponse = z.object({
|
|
1154
|
+
var MakePlanPrimaryResponse = /* @__PURE__ */ z.object({
|
|
1155
1155
|
plan: z.object({
|
|
1156
1156
|
_id: z.string().describe("Plan ID.").regex(
|
|
1157
1157
|
/^[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}$/,
|
|
@@ -1259,15 +1259,15 @@ var MakePlanPrimaryResponse = z.object({
|
|
|
1259
1259
|
).optional().nullable()
|
|
1260
1260
|
}).describe("Pricing plan.").optional()
|
|
1261
1261
|
});
|
|
1262
|
-
var ClearPrimaryRequest = z.object({});
|
|
1263
|
-
var ClearPrimaryResponse = z.object({});
|
|
1264
|
-
var ArchivePlanRequest = z.object({
|
|
1262
|
+
var ClearPrimaryRequest = /* @__PURE__ */ z.object({});
|
|
1263
|
+
var ClearPrimaryResponse = /* @__PURE__ */ z.object({});
|
|
1264
|
+
var ArchivePlanRequest = /* @__PURE__ */ z.object({
|
|
1265
1265
|
_id: z.string().describe("ID of the active plan to archive. ").regex(
|
|
1266
1266
|
/^[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}$/,
|
|
1267
1267
|
"Must be a valid GUID"
|
|
1268
1268
|
)
|
|
1269
1269
|
});
|
|
1270
|
-
var ArchivePlanResponse = z.object({
|
|
1270
|
+
var ArchivePlanResponse = /* @__PURE__ */ z.object({
|
|
1271
1271
|
plan: z.object({
|
|
1272
1272
|
_id: z.string().describe("Plan ID.").regex(
|
|
1273
1273
|
/^[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}$/,
|