@wix/auto_sdk_online-programs_programs 1.0.28 → 1.0.30

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.d.ts +2 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/cjs/meta.d.ts +8 -8
  6. package/build/cjs/meta.js.map +1 -1
  7. package/build/cjs/{online-programs-v3-program-programs.universal-Yki1hSor.d.ts → online-programs-v3-program-programs.universal-Bvj2X61C.d.ts} +7 -7
  8. package/build/cjs/schemas.js +33 -11
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/index.typings.d.mts +2 -2
  13. package/build/es/index.typings.mjs.map +1 -1
  14. package/build/es/meta.d.mts +8 -8
  15. package/build/es/meta.mjs.map +1 -1
  16. package/build/es/{online-programs-v3-program-programs.universal-Yki1hSor.d.mts → online-programs-v3-program-programs.universal-Bvj2X61C.d.mts} +7 -7
  17. package/build/es/schemas.mjs +33 -11
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +2 -2
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.js.map +1 -1
  23. package/build/internal/cjs/meta.d.ts +8 -8
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/cjs/{online-programs-v3-program-programs.universal-DuW7vvbw.d.ts → online-programs-v3-program-programs.universal-G-3WKEmy.d.ts} +7 -7
  26. package/build/internal/cjs/schemas.js +33 -11
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/index.d.mts +2 -2
  29. package/build/internal/es/index.mjs.map +1 -1
  30. package/build/internal/es/index.typings.d.mts +2 -2
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +8 -8
  33. package/build/internal/es/meta.mjs.map +1 -1
  34. package/build/internal/es/{online-programs-v3-program-programs.universal-DuW7vvbw.d.mts → online-programs-v3-program-programs.universal-G-3WKEmy.d.mts} +7 -7
  35. package/build/internal/es/schemas.mjs +33 -11
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -224,7 +224,7 @@ interface Restrictions {
224
224
  resolveStepsInOrder?: boolean;
225
225
  /** Whether participants can share progress in the connected group. */
226
226
  shareProgress?: boolean;
227
- /** Program discovery and join access. */
227
+ /** Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`. */
228
228
  accessType?: AccessTypeWithLiterals;
229
229
  }
230
230
  declare enum AccessType {
@@ -1979,7 +1979,10 @@ declare enum Namespace {
1979
1979
  CLUBS = "CLUBS",
1980
1980
  /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1981
1981
  ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
1982
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1982
+ /**
1983
+ * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.
1984
+ * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).
1985
+ */
1983
1986
  DEV_SITE = "DEV_SITE",
1984
1987
  /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1985
1988
  LOGOS = "LOGOS",
@@ -2074,11 +2077,8 @@ declare enum Namespace {
2074
2077
  */
2075
2078
  ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT",
2076
2079
  /**
2077
- * Development sites managed by dev-center's DevelopmentSitesManager (com.wixpress.devcenter.dsm) —
2078
- * real, fully premium Wix sites created from a template and lent to a developer to test their
2079
- * in-development app. Distinct from DEV_SITE (Wix Blocks app-backing sites keyed by app_def_id).
2080
- * Owner: ot-dev-center-platform.
2081
- * MetaSites with this namespace will *not* be shown in a user's site list by default.
2080
+ * Dev-center development sites (com.wixpress.devcenter.dsm).
2081
+ * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.
2082
2082
  */
2083
2083
  DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
2084
2084
  }
@@ -277,7 +277,9 @@ var CreateProgramResponse = /* @__PURE__ */ z.object({
277
277
  shareProgress: z.boolean().describe(
278
278
  "Whether participants can share progress in the connected group."
279
279
  ).optional(),
280
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
280
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
281
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
282
+ ).optional()
281
283
  }).describe("Program access, participation, and progression rules.").optional(),
282
284
  price: z.object({
283
285
  value: z.string().describe(
@@ -440,7 +442,9 @@ var DuplicateProgramResponse = /* @__PURE__ */ z.object({
440
442
  shareProgress: z.boolean().describe(
441
443
  "Whether participants can share progress in the connected group."
442
444
  ).optional(),
443
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
445
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
446
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
447
+ ).optional()
444
448
  }).describe("Program access, participation, and progression rules.").optional(),
445
449
  price: z.object({
446
450
  value: z.string().describe(
@@ -610,7 +614,9 @@ var GetProgramResponse = /* @__PURE__ */ z.object({
610
614
  shareProgress: z.boolean().describe(
611
615
  "Whether participants can share progress in the connected group."
612
616
  ).optional(),
613
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
617
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
618
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
619
+ ).optional()
614
620
  }).describe("Program access, participation, and progression rules.").optional(),
615
621
  price: z.object({
616
622
  value: z.string().describe(
@@ -935,7 +941,9 @@ var UpdateProgramResponse = /* @__PURE__ */ z.object({
935
941
  shareProgress: z.boolean().describe(
936
942
  "Whether participants can share progress in the connected group."
937
943
  ).optional(),
938
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
944
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
945
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
946
+ ).optional()
939
947
  }).describe("Program access, participation, and progression rules.").optional(),
940
948
  price: z.object({
941
949
  value: z.string().describe(
@@ -1139,7 +1147,9 @@ var QueryProgramsResponse = /* @__PURE__ */ z.object({
1139
1147
  shareProgress: z.boolean().describe(
1140
1148
  "Whether participants can share progress in the connected group."
1141
1149
  ).optional(),
1142
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
1150
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
1151
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
1152
+ ).optional()
1143
1153
  }).describe("Program access, participation, and progression rules.").optional(),
1144
1154
  price: z.object({
1145
1155
  value: z.string().describe(
@@ -1633,7 +1643,9 @@ var SearchProgramsResponse = /* @__PURE__ */ z.object({
1633
1643
  shareProgress: z.boolean().describe(
1634
1644
  "Whether participants can share progress in the connected group."
1635
1645
  ).optional(),
1636
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
1646
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
1647
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
1648
+ ).optional()
1637
1649
  }).describe("Program access, participation, and progression rules.").optional(),
1638
1650
  price: z.object({
1639
1651
  value: z.string().describe(
@@ -2068,7 +2080,9 @@ var PublishProgramResponse = /* @__PURE__ */ z.object({
2068
2080
  shareProgress: z.boolean().describe(
2069
2081
  "Whether participants can share progress in the connected group."
2070
2082
  ).optional(),
2071
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2083
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2084
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
2085
+ ).optional()
2072
2086
  }).describe("Program access, participation, and progression rules.").optional(),
2073
2087
  price: z.object({
2074
2088
  value: z.string().describe(
@@ -2242,7 +2256,9 @@ var EndProgramResponse = /* @__PURE__ */ z.object({
2242
2256
  shareProgress: z.boolean().describe(
2243
2257
  "Whether participants can share progress in the connected group."
2244
2258
  ).optional(),
2245
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2259
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2260
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
2261
+ ).optional()
2246
2262
  }).describe("Program access, participation, and progression rules.").optional(),
2247
2263
  price: z.object({
2248
2264
  value: z.string().describe(
@@ -2416,7 +2432,9 @@ var ArchiveProgramResponse = /* @__PURE__ */ z.object({
2416
2432
  shareProgress: z.boolean().describe(
2417
2433
  "Whether participants can share progress in the connected group."
2418
2434
  ).optional(),
2419
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2435
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2436
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
2437
+ ).optional()
2420
2438
  }).describe("Program access, participation, and progression rules.").optional(),
2421
2439
  price: z.object({
2422
2440
  value: z.string().describe(
@@ -2794,7 +2812,9 @@ var BulkUpdateProgramsResponse = /* @__PURE__ */ z.object({
2794
2812
  shareProgress: z.boolean().describe(
2795
2813
  "Whether participants can share progress in the connected group."
2796
2814
  ).optional(),
2797
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2815
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2816
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
2817
+ ).optional()
2798
2818
  }).describe("Program access, participation, and progression rules.").optional(),
2799
2819
  price: z.object({
2800
2820
  value: z.string().describe(
@@ -2996,7 +3016,9 @@ var ListSampleProgramsResponse = /* @__PURE__ */ z.object({
2996
3016
  shareProgress: z.boolean().describe(
2997
3017
  "Whether participants can share progress in the connected group."
2998
3018
  ).optional(),
2999
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
3019
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
3020
+ "Program discovery and join access. When creating a program, explicitly set this field to `PUBLIC`, `PRIVATE`, or `SECRET` to avoid unintended visibility. If omitted, the access type defaults to `PUBLIC`."
3021
+ ).optional()
3000
3022
  }).describe("Program access, participation, and progression rules.").optional(),
3001
3023
  price: z.object({
3002
3024
  value: z.string().describe(