@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
|
@@ -1943,10 +1943,18 @@ declare enum Namespace {
|
|
|
1943
1943
|
* (theme, typography, assets) which is rolled out to the BrandKit's connected sites.
|
|
1944
1944
|
* MetaSites with this namespace will *not* be shown in a user's site list by default.
|
|
1945
1945
|
*/
|
|
1946
|
-
ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT"
|
|
1946
|
+
ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT",
|
|
1947
|
+
/**
|
|
1948
|
+
* Development sites managed by dev-center's DevelopmentSitesManager (com.wixpress.devcenter.dsm) —
|
|
1949
|
+
* real, fully premium Wix sites created from a template and lent to a developer to test their
|
|
1950
|
+
* in-development app. Distinct from DEV_SITE (Wix Blocks app-backing sites keyed by app_def_id).
|
|
1951
|
+
* Owner: ot-dev-center-platform.
|
|
1952
|
+
* MetaSites with this namespace will *not* be shown in a user's site list by default.
|
|
1953
|
+
*/
|
|
1954
|
+
DEV_CENTER_DEV_SITE = "DEV_CENTER_DEV_SITE"
|
|
1947
1955
|
}
|
|
1948
1956
|
/** @enumType */
|
|
1949
|
-
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';
|
|
1957
|
+
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';
|
|
1950
1958
|
/** Site transferred to another user. */
|
|
1951
1959
|
interface SiteTransferred {
|
|
1952
1960
|
/**
|
|
@@ -2875,21 +2883,8 @@ type ProgramQuery = {
|
|
|
2875
2883
|
}[];
|
|
2876
2884
|
};
|
|
2877
2885
|
declare const utils: {
|
|
2878
|
-
query:
|
|
2879
|
-
|
|
2880
|
-
Filter: _wix_sdk_types.FilterFactory<Program, ProgramQuerySpec>;
|
|
2881
|
-
Sort: _wix_sdk_types.SortFactory<ProgramQuerySpec>; /**
|
|
2882
|
-
* List of nested aggregations.
|
|
2883
|
-
* @maxSize 1000
|
|
2884
|
-
*/
|
|
2885
|
-
};
|
|
2886
|
-
search: {
|
|
2887
|
-
SearchBuilder: () => _wix_sdk_types.SearchBuilder<Program, ProgramSearchSpec, ProgramSearch>;
|
|
2888
|
-
Filter: _wix_sdk_types.FilterFactory<Program, ProgramSearchSpec>;
|
|
2889
|
-
Sort: _wix_sdk_types.SortFactory<ProgramSearchSpec>;
|
|
2890
|
-
SearchParams: _wix_sdk_types.SearchParamsFactory<ProgramSearchSpec>;
|
|
2891
|
-
Aggregation: _wix_sdk_types.AggregationFactory<ProgramSearchSpec>;
|
|
2892
|
-
};
|
|
2886
|
+
query: _wix_sdk_types.QueryHelpers<Program, ProgramQuerySpec, ProgramQuery>;
|
|
2887
|
+
search: _wix_sdk_types.SearchHelpers<Program, ProgramSearchSpec, ProgramSearch>;
|
|
2893
2888
|
};
|
|
2894
2889
|
interface ProgramSearchSpec extends SearchSpec {
|
|
2895
2890
|
searchable: ['description.title'];
|
package/build/es/schemas.mjs
CHANGED
|
@@ -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({
|