@wix/auto_sdk_online-programs_programs 1.0.25 → 1.0.26

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 (49) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +4 -7
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js +3 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +11 -3
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/{online-programs-v3-program-programs.universal-BkiNXEkh.d.ts → online-programs-v3-program-programs.universal-Bzc0F3Bx.d.ts} +12 -17
  11. package/build/cjs/schemas.js +26 -26
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +2 -2
  14. package/build/es/index.mjs +4 -7
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +2 -2
  17. package/build/es/index.typings.mjs +3 -6
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +11 -3
  20. package/build/es/meta.mjs +1 -0
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/{online-programs-v3-program-programs.universal-BkiNXEkh.d.mts → online-programs-v3-program-programs.universal-Bzc0F3Bx.d.mts} +12 -17
  23. package/build/es/schemas.mjs +26 -26
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +2 -2
  26. package/build/internal/cjs/index.js +4 -7
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +2 -2
  29. package/build/internal/cjs/index.typings.js +3 -6
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +11 -3
  32. package/build/internal/cjs/meta.js +1 -0
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/{online-programs-v3-program-programs.universal-D5nSylw5.d.ts → online-programs-v3-program-programs.universal-DJHxaexy.d.ts} +12 -17
  35. package/build/internal/cjs/schemas.js +26 -26
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +2 -2
  38. package/build/internal/es/index.mjs +4 -7
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +2 -2
  41. package/build/internal/es/index.typings.mjs +3 -6
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +11 -3
  44. package/build/internal/es/meta.mjs +1 -0
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/{online-programs-v3-program-programs.universal-D5nSylw5.d.mts → online-programs-v3-program-programs.universal-DJHxaexy.d.mts} +12 -17
  47. package/build/internal/es/schemas.mjs +26 -26
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -2046,10 +2046,18 @@ declare enum Namespace {
2046
2046
  * (theme, typography, assets) which is rolled out to the BrandKit's connected sites.
2047
2047
  * MetaSites with this namespace will *not* be shown in a user's site list by default.
2048
2048
  */
2049
- ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT"
2049
+ ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT",
2050
+ /**
2051
+ * Development sites managed by dev-center's DevelopmentSitesManager (com.wixpress.devcenter.dsm) —
2052
+ * real, fully premium Wix sites created from a template and lent to a developer to test their
2053
+ * in-development app. Distinct from DEV_SITE (Wix Blocks app-backing sites keyed by app_def_id).
2054
+ * Owner: ot-dev-center-platform.
2055
+ * MetaSites with this namespace will *not* be shown in a user's site list by default.
2056
+ */
2057
+ DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
2050
2058
  }
2051
2059
  /** @enumType */
2052
- type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT';
2060
+ type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO' | 'BASE44' | 'CHANNELS' | 'NAUTILUS' | 'SYMPHONY' | 'NAUTILUS_APPS' | 'VIBU' | 'ENTERPRISE_BRAND_KIT' | 'DEV_CENTER_DEV_SITE';
2053
2061
  /** Site transferred to another user. */
2054
2062
  interface SiteTransferred {
2055
2063
  /**
@@ -2992,21 +3000,8 @@ type ProgramQuery = {
2992
3000
  }[];
2993
3001
  };
2994
3002
  declare const utils: {
2995
- query: {
2996
- QueryBuilder: () => _wix_sdk_types.QueryBuilder<Program, ProgramQuerySpec, ProgramQuery>;
2997
- Filter: _wix_sdk_types.FilterFactory<Program, ProgramQuerySpec>;
2998
- Sort: _wix_sdk_types.SortFactory<ProgramQuerySpec>; /**
2999
- * List of nested aggregations.
3000
- * @maxSize 1000
3001
- */
3002
- };
3003
- search: {
3004
- SearchBuilder: () => _wix_sdk_types.SearchBuilder<Program, ProgramSearchSpec, ProgramSearch>;
3005
- Filter: _wix_sdk_types.FilterFactory<Program, ProgramSearchSpec>;
3006
- Sort: _wix_sdk_types.SortFactory<ProgramSearchSpec>;
3007
- SearchParams: _wix_sdk_types.SearchParamsFactory<ProgramSearchSpec>;
3008
- Aggregation: _wix_sdk_types.AggregationFactory<ProgramSearchSpec>;
3009
- };
3003
+ query: _wix_sdk_types.QueryHelpers<Program, ProgramQuerySpec, ProgramQuery>;
3004
+ search: _wix_sdk_types.SearchHelpers<Program, ProgramSearchSpec, ProgramSearch>;
3010
3005
  };
3011
3006
  interface ProgramSearchSpec extends SearchSpec {
3012
3007
  searchable: ['description.title'];
@@ -1,6 +1,6 @@
1
1
  // src/online-programs-v3-program-programs.schemas.ts
2
2
  import * as z from "zod";
3
- var CreateProgramRequest = z.object({
3
+ var CreateProgramRequest = /* @__PURE__ */ z.object({
4
4
  program: z.object({
5
5
  _id: z.string().describe("Program ID.").regex(
6
6
  /^[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}$/,
@@ -168,7 +168,7 @@ var CreateProgramRequest = z.object({
168
168
  "Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create."
169
169
  )
170
170
  });
171
- var CreateProgramResponse = z.object({
171
+ var CreateProgramResponse = /* @__PURE__ */ z.object({
172
172
  _id: z.string().describe("Program ID.").regex(
173
173
  /^[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}$/,
174
174
  "Must be a valid GUID"
@@ -321,13 +321,13 @@ var CreateProgramResponse = z.object({
321
321
  "Must be a valid GUID"
322
322
  ).optional().nullable()
323
323
  });
324
- var DuplicateProgramRequest = z.object({
324
+ var DuplicateProgramRequest = /* @__PURE__ */ z.object({
325
325
  programId: z.string().describe("ID of the program to duplicate.").regex(
326
326
  /^[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}$/,
327
327
  "Must be a valid GUID"
328
328
  )
329
329
  });
330
- var DuplicateProgramResponse = z.object({
330
+ var DuplicateProgramResponse = /* @__PURE__ */ z.object({
331
331
  program: z.object({
332
332
  _id: z.string().describe("Program ID.").regex(
333
333
  /^[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}$/,
@@ -495,13 +495,13 @@ var DuplicateProgramResponse = z.object({
495
495
  ).optional().nullable()
496
496
  }).describe("New draft program created from the source program.").optional()
497
497
  });
498
- var GetProgramRequest = z.object({
498
+ var GetProgramRequest = /* @__PURE__ */ z.object({
499
499
  programId: z.string().describe("ID of the program to retrieve.").regex(
500
500
  /^[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}$/,
501
501
  "Must be a valid GUID"
502
502
  )
503
503
  });
504
- var GetProgramResponse = z.object({
504
+ var GetProgramResponse = /* @__PURE__ */ z.object({
505
505
  _id: z.string().describe("Program ID.").regex(
506
506
  /^[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}$/,
507
507
  "Must be a valid GUID"
@@ -654,7 +654,7 @@ var GetProgramResponse = z.object({
654
654
  "Must be a valid GUID"
655
655
  ).optional().nullable()
656
656
  });
657
- var UpdateProgramRequest = z.object({
657
+ var UpdateProgramRequest = /* @__PURE__ */ z.object({
658
658
  _id: z.string().describe("Program ID.").regex(
659
659
  /^[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}$/,
660
660
  "Must be a valid GUID"
@@ -826,7 +826,7 @@ var UpdateProgramRequest = z.object({
826
826
  "Program fields to update. Include `id` and the latest `revision`."
827
827
  )
828
828
  });
829
- var UpdateProgramResponse = z.object({
829
+ var UpdateProgramResponse = /* @__PURE__ */ z.object({
830
830
  _id: z.string().describe("Program ID.").regex(
831
831
  /^[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}$/,
832
832
  "Must be a valid GUID"
@@ -979,14 +979,14 @@ var UpdateProgramResponse = z.object({
979
979
  "Must be a valid GUID"
980
980
  ).optional().nullable()
981
981
  });
982
- var DeleteProgramRequest = z.object({
982
+ var DeleteProgramRequest = /* @__PURE__ */ z.object({
983
983
  programId: z.string().describe("ID of the program to delete.").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"
986
986
  )
987
987
  });
988
- var DeleteProgramResponse = z.object({});
989
- var QueryProgramsRequest = z.object({
988
+ var DeleteProgramResponse = /* @__PURE__ */ z.object({});
989
+ var QueryProgramsRequest = /* @__PURE__ */ z.object({
990
990
  query: z.intersection(
991
991
  z.object({
992
992
  filter: z.record(z.string(), z.any()).describe(
@@ -1025,7 +1025,7 @@ var QueryProgramsRequest = z.object({
1025
1025
  ])
1026
1026
  ).describe("Query used to filter, sort, and page programs.")
1027
1027
  });
1028
- var QueryProgramsResponse = z.object({
1028
+ var QueryProgramsResponse = /* @__PURE__ */ z.object({
1029
1029
  programs: z.array(
1030
1030
  z.object({
1031
1031
  _id: z.string().describe("Program ID.").regex(
@@ -1215,7 +1215,7 @@ var QueryProgramsResponse = z.object({
1215
1215
  ).optional()
1216
1216
  }).describe("Paging metadata for the query response.").optional()
1217
1217
  });
1218
- var SearchProgramsRequest = z.object({
1218
+ var SearchProgramsRequest = /* @__PURE__ */ z.object({
1219
1219
  search: z.intersection(
1220
1220
  z.object({
1221
1221
  filter: z.record(z.string(), z.any()).describe(
@@ -1519,7 +1519,7 @@ var SearchProgramsRequest = z.object({
1519
1519
  "Search expression, filters, sorting, and cursor paging options."
1520
1520
  )
1521
1521
  });
1522
- var SearchProgramsResponse = z.object({
1522
+ var SearchProgramsResponse = /* @__PURE__ */ z.object({
1523
1523
  programs: z.array(
1524
1524
  z.object({
1525
1525
  _id: z.string().describe("Program ID.").regex(
@@ -1949,13 +1949,13 @@ var SearchProgramsResponse = z.object({
1949
1949
  ).max(1e4).optional()
1950
1950
  }).describe("Aggregation data returned by the search backend.").optional()
1951
1951
  });
1952
- var PublishProgramRequest = z.object({
1952
+ var PublishProgramRequest = /* @__PURE__ */ z.object({
1953
1953
  programId: z.string().describe("ID of the draft program to publish.").regex(
1954
1954
  /^[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}$/,
1955
1955
  "Must be a valid GUID"
1956
1956
  )
1957
1957
  });
1958
- var PublishProgramResponse = z.object({
1958
+ var PublishProgramResponse = /* @__PURE__ */ z.object({
1959
1959
  program: z.object({
1960
1960
  _id: z.string().describe("Program ID.").regex(
1961
1961
  /^[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}$/,
@@ -2123,13 +2123,13 @@ var PublishProgramResponse = z.object({
2123
2123
  ).optional().nullable()
2124
2124
  }).describe("Published program.").optional()
2125
2125
  });
2126
- var EndProgramRequest = z.object({
2126
+ var EndProgramRequest = /* @__PURE__ */ z.object({
2127
2127
  programId: z.string().describe("ID of the published program to end.").regex(
2128
2128
  /^[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}$/,
2129
2129
  "Must be a valid GUID"
2130
2130
  )
2131
2131
  });
2132
- var EndProgramResponse = z.object({
2132
+ var EndProgramResponse = /* @__PURE__ */ z.object({
2133
2133
  program: z.object({
2134
2134
  _id: z.string().describe("Program ID.").regex(
2135
2135
  /^[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}$/,
@@ -2297,13 +2297,13 @@ var EndProgramResponse = z.object({
2297
2297
  ).optional().nullable()
2298
2298
  }).describe("Ended program.").optional()
2299
2299
  });
2300
- var ArchiveProgramRequest = z.object({
2300
+ var ArchiveProgramRequest = /* @__PURE__ */ z.object({
2301
2301
  programId: z.string().describe("ID of the program to archive.").regex(
2302
2302
  /^[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}$/,
2303
2303
  "Must be a valid GUID"
2304
2304
  )
2305
2305
  });
2306
- var ArchiveProgramResponse = z.object({
2306
+ var ArchiveProgramResponse = /* @__PURE__ */ z.object({
2307
2307
  program: z.object({
2308
2308
  _id: z.string().describe("Program ID.").regex(
2309
2309
  /^[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}$/,
@@ -2471,7 +2471,7 @@ var ArchiveProgramResponse = z.object({
2471
2471
  ).optional().nullable()
2472
2472
  }).describe("Archived program.").optional()
2473
2473
  });
2474
- var BulkUpdateProgramsRequest = z.object({
2474
+ var BulkUpdateProgramsRequest = /* @__PURE__ */ z.object({
2475
2475
  programs: z.array(
2476
2476
  z.object({
2477
2477
  program: z.object({
@@ -2659,7 +2659,7 @@ var BulkUpdateProgramsRequest = z.object({
2659
2659
  returnEntity: z.boolean().describe("Whether to return updated programs in the response.").optional()
2660
2660
  }).optional()
2661
2661
  });
2662
- var BulkUpdateProgramsResponse = z.object({
2662
+ var BulkUpdateProgramsResponse = /* @__PURE__ */ z.object({
2663
2663
  results: z.array(
2664
2664
  z.object({
2665
2665
  itemMetadata: z.object({
@@ -2868,16 +2868,16 @@ var BulkUpdateProgramsResponse = z.object({
2868
2868
  ).optional()
2869
2869
  }).describe("Summary metadata for the bulk update.").optional()
2870
2870
  });
2871
- var CountProgramsRequest = z.object({
2871
+ var CountProgramsRequest = /* @__PURE__ */ z.object({
2872
2872
  options: z.object({
2873
2873
  filter: z.record(z.string(), z.any()).describe("WQL filter for the programs to count.").optional().nullable()
2874
2874
  }).optional()
2875
2875
  });
2876
- var CountProgramsResponse = z.object({
2876
+ var CountProgramsResponse = /* @__PURE__ */ z.object({
2877
2877
  count: z.number().int().describe("Number of programs matching the filter and caller visibility.").optional()
2878
2878
  });
2879
- var ListSampleProgramsRequest = z.object({});
2880
- var ListSampleProgramsResponse = z.object({
2879
+ var ListSampleProgramsRequest = /* @__PURE__ */ z.object({});
2880
+ var ListSampleProgramsResponse = /* @__PURE__ */ z.object({
2881
2881
  programs: z.array(
2882
2882
  z.object({
2883
2883
  program: z.object({