@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
@@ -164,7 +164,7 @@ interface Restrictions {
164
164
  resolveStepsInOrder?: boolean;
165
165
  /** Whether participants can share progress in the connected group. */
166
166
  shareProgress?: boolean;
167
- /** Program discovery and join access. */
167
+ /** 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`. */
168
168
  accessType?: AccessTypeWithLiterals;
169
169
  }
170
170
  declare enum AccessType {
@@ -1876,7 +1876,10 @@ declare enum Namespace {
1876
1876
  CLUBS = "CLUBS",
1877
1877
  /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
1878
1878
  ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
1879
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
1879
+ /**
1880
+ * AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default.
1881
+ * Not the dev-center dev site (see Flag.DEV_CENTER_DEV_SITE_FLAG).
1882
+ */
1880
1883
  DEV_SITE = "DEV_SITE",
1881
1884
  /** 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. */
1882
1885
  LOGOS = "LOGOS",
@@ -1971,11 +1974,8 @@ declare enum Namespace {
1971
1974
  */
1972
1975
  ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT",
1973
1976
  /**
1974
- * Development sites managed by dev-center's DevelopmentSitesManager (com.wixpress.devcenter.dsm) —
1975
- * real, fully premium Wix sites created from a template and lent to a developer to test their
1976
- * in-development app. Distinct from DEV_SITE (Wix Blocks app-backing sites keyed by app_def_id).
1977
- * Owner: ot-dev-center-platform.
1978
- * MetaSites with this namespace will *not* be shown in a user's site list by default.
1977
+ * Dev-center development sites (com.wixpress.devcenter.dsm).
1978
+ * DEPRECATED: replaced by Flag.DEV_CENTER_DEV_SITE_FLAG (a dev site is orthogonal to the namespace). Do not use for new sites.
1979
1979
  */
1980
1980
  DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
1981
1981
  }
@@ -216,7 +216,9 @@ var CreateProgramResponse = /* @__PURE__ */ z.object({
216
216
  shareProgress: z.boolean().describe(
217
217
  "Whether participants can share progress in the connected group."
218
218
  ).optional(),
219
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
219
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
220
+ "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`."
221
+ ).optional()
220
222
  }).describe("Program access, participation, and progression rules.").optional(),
221
223
  price: z.object({
222
224
  value: z.string().describe(
@@ -379,7 +381,9 @@ var DuplicateProgramResponse = /* @__PURE__ */ z.object({
379
381
  shareProgress: z.boolean().describe(
380
382
  "Whether participants can share progress in the connected group."
381
383
  ).optional(),
382
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
384
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
385
+ "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`."
386
+ ).optional()
383
387
  }).describe("Program access, participation, and progression rules.").optional(),
384
388
  price: z.object({
385
389
  value: z.string().describe(
@@ -549,7 +553,9 @@ var GetProgramResponse = /* @__PURE__ */ z.object({
549
553
  shareProgress: z.boolean().describe(
550
554
  "Whether participants can share progress in the connected group."
551
555
  ).optional(),
552
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
556
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
557
+ "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`."
558
+ ).optional()
553
559
  }).describe("Program access, participation, and progression rules.").optional(),
554
560
  price: z.object({
555
561
  value: z.string().describe(
@@ -874,7 +880,9 @@ var UpdateProgramResponse = /* @__PURE__ */ z.object({
874
880
  shareProgress: z.boolean().describe(
875
881
  "Whether participants can share progress in the connected group."
876
882
  ).optional(),
877
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
883
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
884
+ "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`."
885
+ ).optional()
878
886
  }).describe("Program access, participation, and progression rules.").optional(),
879
887
  price: z.object({
880
888
  value: z.string().describe(
@@ -1078,7 +1086,9 @@ var QueryProgramsResponse = /* @__PURE__ */ z.object({
1078
1086
  shareProgress: z.boolean().describe(
1079
1087
  "Whether participants can share progress in the connected group."
1080
1088
  ).optional(),
1081
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
1089
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
1090
+ "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`."
1091
+ ).optional()
1082
1092
  }).describe("Program access, participation, and progression rules.").optional(),
1083
1093
  price: z.object({
1084
1094
  value: z.string().describe(
@@ -1572,7 +1582,9 @@ var SearchProgramsResponse = /* @__PURE__ */ z.object({
1572
1582
  shareProgress: z.boolean().describe(
1573
1583
  "Whether participants can share progress in the connected group."
1574
1584
  ).optional(),
1575
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
1585
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
1586
+ "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`."
1587
+ ).optional()
1576
1588
  }).describe("Program access, participation, and progression rules.").optional(),
1577
1589
  price: z.object({
1578
1590
  value: z.string().describe(
@@ -2007,7 +2019,9 @@ var PublishProgramResponse = /* @__PURE__ */ z.object({
2007
2019
  shareProgress: z.boolean().describe(
2008
2020
  "Whether participants can share progress in the connected group."
2009
2021
  ).optional(),
2010
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2022
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2023
+ "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`."
2024
+ ).optional()
2011
2025
  }).describe("Program access, participation, and progression rules.").optional(),
2012
2026
  price: z.object({
2013
2027
  value: z.string().describe(
@@ -2181,7 +2195,9 @@ var EndProgramResponse = /* @__PURE__ */ z.object({
2181
2195
  shareProgress: z.boolean().describe(
2182
2196
  "Whether participants can share progress in the connected group."
2183
2197
  ).optional(),
2184
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2198
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2199
+ "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`."
2200
+ ).optional()
2185
2201
  }).describe("Program access, participation, and progression rules.").optional(),
2186
2202
  price: z.object({
2187
2203
  value: z.string().describe(
@@ -2355,7 +2371,9 @@ var ArchiveProgramResponse = /* @__PURE__ */ z.object({
2355
2371
  shareProgress: z.boolean().describe(
2356
2372
  "Whether participants can share progress in the connected group."
2357
2373
  ).optional(),
2358
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2374
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2375
+ "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`."
2376
+ ).optional()
2359
2377
  }).describe("Program access, participation, and progression rules.").optional(),
2360
2378
  price: z.object({
2361
2379
  value: z.string().describe(
@@ -2733,7 +2751,9 @@ var BulkUpdateProgramsResponse = /* @__PURE__ */ z.object({
2733
2751
  shareProgress: z.boolean().describe(
2734
2752
  "Whether participants can share progress in the connected group."
2735
2753
  ).optional(),
2736
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2754
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2755
+ "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`."
2756
+ ).optional()
2737
2757
  }).describe("Program access, participation, and progression rules.").optional(),
2738
2758
  price: z.object({
2739
2759
  value: z.string().describe(
@@ -2935,7 +2955,9 @@ var ListSampleProgramsResponse = /* @__PURE__ */ z.object({
2935
2955
  shareProgress: z.boolean().describe(
2936
2956
  "Whether participants can share progress in the connected group."
2937
2957
  ).optional(),
2938
- accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe("Program discovery and join access.").optional()
2958
+ accessType: z.enum(["PUBLIC", "PRIVATE", "SECRET"]).describe(
2959
+ "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`."
2960
+ ).optional()
2939
2961
  }).describe("Program access, participation, and progression rules.").optional(),
2940
2962
  price: z.object({
2941
2963
  value: z.string().describe(