@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +4 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +3 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -3
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-v3-program-programs.universal-BkiNXEkh.d.ts → online-programs-v3-program-programs.universal-Bzc0F3Bx.d.ts} +12 -17
- package/build/cjs/schemas.js +26 -26
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +4 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +3 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -3
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-v3-program-programs.universal-BkiNXEkh.d.mts → online-programs-v3-program-programs.universal-Bzc0F3Bx.d.mts} +12 -17
- package/build/es/schemas.mjs +26 -26
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +4 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +3 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -3
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-D5nSylw5.d.ts → online-programs-v3-program-programs.universal-DJHxaexy.d.ts} +12 -17
- package/build/internal/cjs/schemas.js +26 -26
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +4 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +3 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -3
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{online-programs-v3-program-programs.universal-D5nSylw5.d.mts → online-programs-v3-program-programs.universal-DJHxaexy.d.mts} +12 -17
- package/build/internal/es/schemas.mjs +26 -26
- package/build/internal/es/schemas.mjs.map +1 -1
- 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
|
-
|
|
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'];
|
|
@@ -61,7 +61,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
61
61
|
|
|
62
62
|
// src/online-programs-v3-program-programs.schemas.ts
|
|
63
63
|
var z = __toESM(require("zod"));
|
|
64
|
-
var CreateProgramRequest = z.object({
|
|
64
|
+
var CreateProgramRequest = /* @__PURE__ */ z.object({
|
|
65
65
|
program: z.object({
|
|
66
66
|
_id: z.string().describe("Program ID.").regex(
|
|
67
67
|
/^[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}$/,
|
|
@@ -229,7 +229,7 @@ var CreateProgramRequest = z.object({
|
|
|
229
229
|
"Program to create. Server-generated fields such as `id`, `revision`, status, dates, owner, and content summary are ignored on create."
|
|
230
230
|
)
|
|
231
231
|
});
|
|
232
|
-
var CreateProgramResponse = z.object({
|
|
232
|
+
var CreateProgramResponse = /* @__PURE__ */ z.object({
|
|
233
233
|
_id: z.string().describe("Program ID.").regex(
|
|
234
234
|
/^[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}$/,
|
|
235
235
|
"Must be a valid GUID"
|
|
@@ -382,13 +382,13 @@ var CreateProgramResponse = z.object({
|
|
|
382
382
|
"Must be a valid GUID"
|
|
383
383
|
).optional().nullable()
|
|
384
384
|
});
|
|
385
|
-
var DuplicateProgramRequest = z.object({
|
|
385
|
+
var DuplicateProgramRequest = /* @__PURE__ */ z.object({
|
|
386
386
|
programId: z.string().describe("ID of the program to duplicate.").regex(
|
|
387
387
|
/^[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}$/,
|
|
388
388
|
"Must be a valid GUID"
|
|
389
389
|
)
|
|
390
390
|
});
|
|
391
|
-
var DuplicateProgramResponse = z.object({
|
|
391
|
+
var DuplicateProgramResponse = /* @__PURE__ */ z.object({
|
|
392
392
|
program: z.object({
|
|
393
393
|
_id: z.string().describe("Program ID.").regex(
|
|
394
394
|
/^[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}$/,
|
|
@@ -556,13 +556,13 @@ var DuplicateProgramResponse = z.object({
|
|
|
556
556
|
).optional().nullable()
|
|
557
557
|
}).describe("New draft program created from the source program.").optional()
|
|
558
558
|
});
|
|
559
|
-
var GetProgramRequest = z.object({
|
|
559
|
+
var GetProgramRequest = /* @__PURE__ */ z.object({
|
|
560
560
|
programId: z.string().describe("ID of the program to retrieve.").regex(
|
|
561
561
|
/^[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}$/,
|
|
562
562
|
"Must be a valid GUID"
|
|
563
563
|
)
|
|
564
564
|
});
|
|
565
|
-
var GetProgramResponse = z.object({
|
|
565
|
+
var GetProgramResponse = /* @__PURE__ */ z.object({
|
|
566
566
|
_id: z.string().describe("Program ID.").regex(
|
|
567
567
|
/^[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}$/,
|
|
568
568
|
"Must be a valid GUID"
|
|
@@ -715,7 +715,7 @@ var GetProgramResponse = z.object({
|
|
|
715
715
|
"Must be a valid GUID"
|
|
716
716
|
).optional().nullable()
|
|
717
717
|
});
|
|
718
|
-
var UpdateProgramRequest = z.object({
|
|
718
|
+
var UpdateProgramRequest = /* @__PURE__ */ z.object({
|
|
719
719
|
_id: z.string().describe("Program ID.").regex(
|
|
720
720
|
/^[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}$/,
|
|
721
721
|
"Must be a valid GUID"
|
|
@@ -887,7 +887,7 @@ var UpdateProgramRequest = z.object({
|
|
|
887
887
|
"Program fields to update. Include `id` and the latest `revision`."
|
|
888
888
|
)
|
|
889
889
|
});
|
|
890
|
-
var UpdateProgramResponse = z.object({
|
|
890
|
+
var UpdateProgramResponse = /* @__PURE__ */ z.object({
|
|
891
891
|
_id: z.string().describe("Program ID.").regex(
|
|
892
892
|
/^[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}$/,
|
|
893
893
|
"Must be a valid GUID"
|
|
@@ -1040,14 +1040,14 @@ var UpdateProgramResponse = z.object({
|
|
|
1040
1040
|
"Must be a valid GUID"
|
|
1041
1041
|
).optional().nullable()
|
|
1042
1042
|
});
|
|
1043
|
-
var DeleteProgramRequest = z.object({
|
|
1043
|
+
var DeleteProgramRequest = /* @__PURE__ */ z.object({
|
|
1044
1044
|
programId: z.string().describe("ID of the program to delete.").regex(
|
|
1045
1045
|
/^[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}$/,
|
|
1046
1046
|
"Must be a valid GUID"
|
|
1047
1047
|
)
|
|
1048
1048
|
});
|
|
1049
|
-
var DeleteProgramResponse = z.object({});
|
|
1050
|
-
var QueryProgramsRequest = z.object({
|
|
1049
|
+
var DeleteProgramResponse = /* @__PURE__ */ z.object({});
|
|
1050
|
+
var QueryProgramsRequest = /* @__PURE__ */ z.object({
|
|
1051
1051
|
query: z.intersection(
|
|
1052
1052
|
z.object({
|
|
1053
1053
|
filter: z.record(z.string(), z.any()).describe(
|
|
@@ -1086,7 +1086,7 @@ var QueryProgramsRequest = z.object({
|
|
|
1086
1086
|
])
|
|
1087
1087
|
).describe("Query used to filter, sort, and page programs.")
|
|
1088
1088
|
});
|
|
1089
|
-
var QueryProgramsResponse = z.object({
|
|
1089
|
+
var QueryProgramsResponse = /* @__PURE__ */ z.object({
|
|
1090
1090
|
programs: z.array(
|
|
1091
1091
|
z.object({
|
|
1092
1092
|
_id: z.string().describe("Program ID.").regex(
|
|
@@ -1276,7 +1276,7 @@ var QueryProgramsResponse = z.object({
|
|
|
1276
1276
|
).optional()
|
|
1277
1277
|
}).describe("Paging metadata for the query response.").optional()
|
|
1278
1278
|
});
|
|
1279
|
-
var SearchProgramsRequest = z.object({
|
|
1279
|
+
var SearchProgramsRequest = /* @__PURE__ */ z.object({
|
|
1280
1280
|
search: z.intersection(
|
|
1281
1281
|
z.object({
|
|
1282
1282
|
filter: z.record(z.string(), z.any()).describe(
|
|
@@ -1580,7 +1580,7 @@ var SearchProgramsRequest = z.object({
|
|
|
1580
1580
|
"Search expression, filters, sorting, and cursor paging options."
|
|
1581
1581
|
)
|
|
1582
1582
|
});
|
|
1583
|
-
var SearchProgramsResponse = z.object({
|
|
1583
|
+
var SearchProgramsResponse = /* @__PURE__ */ z.object({
|
|
1584
1584
|
programs: z.array(
|
|
1585
1585
|
z.object({
|
|
1586
1586
|
_id: z.string().describe("Program ID.").regex(
|
|
@@ -2010,13 +2010,13 @@ var SearchProgramsResponse = z.object({
|
|
|
2010
2010
|
).max(1e4).optional()
|
|
2011
2011
|
}).describe("Aggregation data returned by the search backend.").optional()
|
|
2012
2012
|
});
|
|
2013
|
-
var PublishProgramRequest = z.object({
|
|
2013
|
+
var PublishProgramRequest = /* @__PURE__ */ z.object({
|
|
2014
2014
|
programId: z.string().describe("ID of the draft program to publish.").regex(
|
|
2015
2015
|
/^[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}$/,
|
|
2016
2016
|
"Must be a valid GUID"
|
|
2017
2017
|
)
|
|
2018
2018
|
});
|
|
2019
|
-
var PublishProgramResponse = z.object({
|
|
2019
|
+
var PublishProgramResponse = /* @__PURE__ */ z.object({
|
|
2020
2020
|
program: z.object({
|
|
2021
2021
|
_id: z.string().describe("Program ID.").regex(
|
|
2022
2022
|
/^[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}$/,
|
|
@@ -2184,13 +2184,13 @@ var PublishProgramResponse = z.object({
|
|
|
2184
2184
|
).optional().nullable()
|
|
2185
2185
|
}).describe("Published program.").optional()
|
|
2186
2186
|
});
|
|
2187
|
-
var EndProgramRequest = z.object({
|
|
2187
|
+
var EndProgramRequest = /* @__PURE__ */ z.object({
|
|
2188
2188
|
programId: z.string().describe("ID of the published program to end.").regex(
|
|
2189
2189
|
/^[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}$/,
|
|
2190
2190
|
"Must be a valid GUID"
|
|
2191
2191
|
)
|
|
2192
2192
|
});
|
|
2193
|
-
var EndProgramResponse = z.object({
|
|
2193
|
+
var EndProgramResponse = /* @__PURE__ */ z.object({
|
|
2194
2194
|
program: z.object({
|
|
2195
2195
|
_id: z.string().describe("Program ID.").regex(
|
|
2196
2196
|
/^[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}$/,
|
|
@@ -2358,13 +2358,13 @@ var EndProgramResponse = z.object({
|
|
|
2358
2358
|
).optional().nullable()
|
|
2359
2359
|
}).describe("Ended program.").optional()
|
|
2360
2360
|
});
|
|
2361
|
-
var ArchiveProgramRequest = z.object({
|
|
2361
|
+
var ArchiveProgramRequest = /* @__PURE__ */ z.object({
|
|
2362
2362
|
programId: z.string().describe("ID of the program to archive.").regex(
|
|
2363
2363
|
/^[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}$/,
|
|
2364
2364
|
"Must be a valid GUID"
|
|
2365
2365
|
)
|
|
2366
2366
|
});
|
|
2367
|
-
var ArchiveProgramResponse = z.object({
|
|
2367
|
+
var ArchiveProgramResponse = /* @__PURE__ */ z.object({
|
|
2368
2368
|
program: z.object({
|
|
2369
2369
|
_id: z.string().describe("Program ID.").regex(
|
|
2370
2370
|
/^[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}$/,
|
|
@@ -2532,7 +2532,7 @@ var ArchiveProgramResponse = z.object({
|
|
|
2532
2532
|
).optional().nullable()
|
|
2533
2533
|
}).describe("Archived program.").optional()
|
|
2534
2534
|
});
|
|
2535
|
-
var BulkUpdateProgramsRequest = z.object({
|
|
2535
|
+
var BulkUpdateProgramsRequest = /* @__PURE__ */ z.object({
|
|
2536
2536
|
programs: z.array(
|
|
2537
2537
|
z.object({
|
|
2538
2538
|
program: z.object({
|
|
@@ -2720,7 +2720,7 @@ var BulkUpdateProgramsRequest = z.object({
|
|
|
2720
2720
|
returnEntity: z.boolean().describe("Whether to return updated programs in the response.").optional()
|
|
2721
2721
|
}).optional()
|
|
2722
2722
|
});
|
|
2723
|
-
var BulkUpdateProgramsResponse = z.object({
|
|
2723
|
+
var BulkUpdateProgramsResponse = /* @__PURE__ */ z.object({
|
|
2724
2724
|
results: z.array(
|
|
2725
2725
|
z.object({
|
|
2726
2726
|
itemMetadata: z.object({
|
|
@@ -2929,16 +2929,16 @@ var BulkUpdateProgramsResponse = z.object({
|
|
|
2929
2929
|
).optional()
|
|
2930
2930
|
}).describe("Summary metadata for the bulk update.").optional()
|
|
2931
2931
|
});
|
|
2932
|
-
var CountProgramsRequest = z.object({
|
|
2932
|
+
var CountProgramsRequest = /* @__PURE__ */ z.object({
|
|
2933
2933
|
options: z.object({
|
|
2934
2934
|
filter: z.record(z.string(), z.any()).describe("WQL filter for the programs to count.").optional().nullable()
|
|
2935
2935
|
}).optional()
|
|
2936
2936
|
});
|
|
2937
|
-
var CountProgramsResponse = z.object({
|
|
2937
|
+
var CountProgramsResponse = /* @__PURE__ */ z.object({
|
|
2938
2938
|
count: z.number().int().describe("Number of programs matching the filter and caller visibility.").optional()
|
|
2939
2939
|
});
|
|
2940
|
-
var ListSampleProgramsRequest = z.object({});
|
|
2941
|
-
var ListSampleProgramsResponse = z.object({
|
|
2940
|
+
var ListSampleProgramsRequest = /* @__PURE__ */ z.object({});
|
|
2941
|
+
var ListSampleProgramsResponse = /* @__PURE__ */ z.object({
|
|
2942
2942
|
programs: z.array(
|
|
2943
2943
|
z.object({
|
|
2944
2944
|
program: z.object({
|