@wix/auto_sdk_online-programs_programs 1.0.21 → 1.0.23
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 +3 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +3 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -3
- package/build/cjs/meta.js +3 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{online-programs-v3-program-programs.universal-Bq1WUZOo.d.ts → online-programs-v3-program-programs.universal-BT1XB9EK.d.ts} +13 -2
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +3 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +3 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -3
- package/build/es/meta.mjs +3 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{online-programs-v3-program-programs.universal-Bq1WUZOo.d.mts → online-programs-v3-program-programs.universal-BT1XB9EK.d.mts} +13 -2
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +3 -0
- 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 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +228 -4
- package/build/internal/cjs/meta.js +3 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{online-programs-v3-program-programs.universal-Bq1WUZOo.d.ts → online-programs-v3-program-programs.universal-CY1iRKeB.d.ts} +145 -3
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +3 -0
- 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 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +228 -4
- package/build/internal/es/meta.mjs +3 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{online-programs-v3-program-programs.universal-Bq1WUZOo.d.mts → online-programs-v3-program-programs.universal-CY1iRKeB.d.mts} +145 -3
- package/package.json +4 -4
|
@@ -136,8 +136,68 @@ interface VideoResolution {
|
|
|
136
136
|
height?: number;
|
|
137
137
|
/** Video width. */
|
|
138
138
|
width?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Deprecated. Use the `posters` property in the parent entity instead.
|
|
141
|
+
* @internal
|
|
142
|
+
* @deprecated
|
|
143
|
+
*/
|
|
144
|
+
poster?: string;
|
|
139
145
|
/** Video format for example, mp4, hls. */
|
|
140
146
|
format?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Deprecated. Use the `urlExpirationDate` property in the parent entity instead.
|
|
149
|
+
* @internal
|
|
150
|
+
* @deprecated
|
|
151
|
+
*/
|
|
152
|
+
urlExpirationDate?: Date | null;
|
|
153
|
+
/**
|
|
154
|
+
* Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.
|
|
155
|
+
* @internal
|
|
156
|
+
* @format DECIMAL_VALUE
|
|
157
|
+
* @deprecated
|
|
158
|
+
*/
|
|
159
|
+
sizeInBytes?: string | null;
|
|
160
|
+
/**
|
|
161
|
+
* Video quality. For example: 480p, 720p.
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
quality?: string | null;
|
|
165
|
+
/**
|
|
166
|
+
* Video filename.
|
|
167
|
+
* @internal
|
|
168
|
+
*/
|
|
169
|
+
filename?: string | null;
|
|
170
|
+
/**
|
|
171
|
+
* Video duration in seconds.
|
|
172
|
+
* @internal
|
|
173
|
+
* @readonly
|
|
174
|
+
* @deprecated Video duration in seconds.
|
|
175
|
+
* @replacedBy duration_in_milliseconds
|
|
176
|
+
* @targetRemovalDate 2024-08-01
|
|
177
|
+
*/
|
|
178
|
+
durationInSeconds?: number | null;
|
|
179
|
+
/**
|
|
180
|
+
* Video duration in milliseconds.
|
|
181
|
+
* @internal
|
|
182
|
+
* @readonly
|
|
183
|
+
*/
|
|
184
|
+
durationInMilliseconds?: number | null;
|
|
185
|
+
/**
|
|
186
|
+
* When true, this is a protected asset, and calling the URL will return a 403 error.
|
|
187
|
+
* In order to access private assets, make a request to:
|
|
188
|
+
* `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request
|
|
189
|
+
* @internal
|
|
190
|
+
* @readonly
|
|
191
|
+
*/
|
|
192
|
+
private?: boolean | null;
|
|
193
|
+
/**
|
|
194
|
+
* Key to identify the video resolution's relationship to the original media in WixMedia.
|
|
195
|
+
* Can be used to request a download for the specific video resolution.
|
|
196
|
+
* For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4
|
|
197
|
+
* @internal
|
|
198
|
+
* @readonly
|
|
199
|
+
*/
|
|
200
|
+
assetKey?: string | null;
|
|
141
201
|
}
|
|
142
202
|
/** Program scheduling settings. */
|
|
143
203
|
interface Timeline {
|
|
@@ -773,6 +833,11 @@ interface GetProgramResponse {
|
|
|
773
833
|
interface UpdateProgramRequest {
|
|
774
834
|
/** Program fields to update. Include `id` and the latest `revision`. */
|
|
775
835
|
program: Program;
|
|
836
|
+
/**
|
|
837
|
+
* The list of fields to update. For REST requests, this list is inferred from the request body.
|
|
838
|
+
* @internal
|
|
839
|
+
*/
|
|
840
|
+
fieldMask?: string[];
|
|
776
841
|
}
|
|
777
842
|
interface UpdateProgramResponse {
|
|
778
843
|
/** Updated program. */
|
|
@@ -849,6 +914,20 @@ interface Sorting {
|
|
|
849
914
|
fieldName?: string;
|
|
850
915
|
/** Sort order. */
|
|
851
916
|
order?: SortOrderWithLiterals;
|
|
917
|
+
/**
|
|
918
|
+
* When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
919
|
+
* a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
920
|
+
*
|
|
921
|
+
* If multiple filters are provided, they are combined with AND operator.
|
|
922
|
+
*
|
|
923
|
+
* Example:
|
|
924
|
+
* Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
925
|
+
* and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
926
|
+
* { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
927
|
+
* @internal
|
|
928
|
+
* @maxSize 10
|
|
929
|
+
*/
|
|
930
|
+
selectItemsBy?: Record<string, any>[] | null;
|
|
852
931
|
}
|
|
853
932
|
declare enum SortOrder {
|
|
854
933
|
ASC = "ASC",
|
|
@@ -893,6 +972,13 @@ interface PagingMetadataV2 {
|
|
|
893
972
|
tooManyToCount?: boolean | null;
|
|
894
973
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
895
974
|
cursors?: Cursors;
|
|
975
|
+
/**
|
|
976
|
+
* Indicates if there are more results after the current page.
|
|
977
|
+
* If `true`, another page of results can be retrieved.
|
|
978
|
+
* If `false`, this is the last page.
|
|
979
|
+
* @internal
|
|
980
|
+
*/
|
|
981
|
+
hasNext?: boolean | null;
|
|
896
982
|
}
|
|
897
983
|
interface Cursors {
|
|
898
984
|
/**
|
|
@@ -1045,7 +1131,17 @@ declare enum ScalarType {
|
|
|
1045
1131
|
/** Minimum value. */
|
|
1046
1132
|
MIN = "MIN",
|
|
1047
1133
|
/** Maximum value. */
|
|
1048
|
-
MAX = "MAX"
|
|
1134
|
+
MAX = "MAX",
|
|
1135
|
+
/**
|
|
1136
|
+
* Sum of values.
|
|
1137
|
+
* @internal
|
|
1138
|
+
*/
|
|
1139
|
+
SUM = "SUM",
|
|
1140
|
+
/**
|
|
1141
|
+
* Average of values.
|
|
1142
|
+
* @internal
|
|
1143
|
+
*/
|
|
1144
|
+
AVG = "AVG"
|
|
1049
1145
|
}
|
|
1050
1146
|
/** @enumType */
|
|
1051
1147
|
type ScalarTypeWithLiterals = ScalarType | 'COUNT_DISTINCT' | 'MIN' | 'MAX';
|
|
@@ -1231,6 +1327,13 @@ interface CursorPagingMetadata {
|
|
|
1231
1327
|
* + `false`: This is the last page.
|
|
1232
1328
|
*/
|
|
1233
1329
|
hasNext?: boolean | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Total number of items matching the filter.
|
|
1332
|
+
* Available only on the first page of *Search* results, not included in *Query* or *List* results.
|
|
1333
|
+
* If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.
|
|
1334
|
+
* @internal
|
|
1335
|
+
*/
|
|
1336
|
+
total?: number | null;
|
|
1234
1337
|
}
|
|
1235
1338
|
interface AggregationData {
|
|
1236
1339
|
/**
|
|
@@ -1921,10 +2024,17 @@ declare enum Namespace {
|
|
|
1921
2024
|
* Vibu — a siteless site representing a project built with Vibu (the AI app builder).
|
|
1922
2025
|
* Holds the project's generated code, conversations, assets, and manages collaborators for the project.
|
|
1923
2026
|
*/
|
|
1924
|
-
VIBU = "VIBU"
|
|
2027
|
+
VIBU = "VIBU",
|
|
2028
|
+
/**
|
|
2029
|
+
* Ghost site for the BrandKit multi-site platform. Each ghost backs a single BrandKit
|
|
2030
|
+
* (an Enterprise account may have several), holding that BrandKit's brand definition
|
|
2031
|
+
* (theme, typography, assets) which is rolled out to the BrandKit's connected sites.
|
|
2032
|
+
* MetaSites with this namespace will *not* be shown in a user's site list by default.
|
|
2033
|
+
*/
|
|
2034
|
+
ENTERPRISE_BRAND_KIT = "ENTERPRISE_BRAND_KIT"
|
|
1925
2035
|
}
|
|
1926
2036
|
/** @enumType */
|
|
1927
|
-
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';
|
|
2037
|
+
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';
|
|
1928
2038
|
/** Site transferred to another user. */
|
|
1929
2039
|
interface SiteTransferred {
|
|
1930
2040
|
/**
|
|
@@ -2850,6 +2960,20 @@ type ProgramQuery = {
|
|
|
2850
2960
|
Sort order.
|
|
2851
2961
|
*/
|
|
2852
2962
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
2963
|
+
/**
|
|
2964
|
+
When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
2965
|
+
a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
2966
|
+
|
|
2967
|
+
If multiple filters are provided, they are combined with AND operator.
|
|
2968
|
+
|
|
2969
|
+
Example:
|
|
2970
|
+
Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
2971
|
+
and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
2972
|
+
{ fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
2973
|
+
@internal: undefined,
|
|
2974
|
+
@maxSize: 10
|
|
2975
|
+
*/
|
|
2976
|
+
selectItemsBy?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['selectItemsBy'] | null;
|
|
2853
2977
|
}[];
|
|
2854
2978
|
};
|
|
2855
2979
|
declare const utils: {
|
|
@@ -2861,6 +2985,10 @@ declare const utils: {
|
|
|
2861
2985
|
search: {
|
|
2862
2986
|
SearchBuilder: () => _wix_sdk_types.SearchBuilder<Program, ProgramSearchSpec, ProgramSearch>;
|
|
2863
2987
|
Filter: _wix_sdk_types.FilterFactory<Program, ProgramSearchSpec>;
|
|
2988
|
+
/**
|
|
2989
|
+
* Field to aggregate by, matches the one provided in request.
|
|
2990
|
+
* @maxLength 200
|
|
2991
|
+
*/
|
|
2864
2992
|
Sort: _wix_sdk_types.SortFactory<ProgramSearchSpec>;
|
|
2865
2993
|
SearchParams: _wix_sdk_types.SearchParamsFactory<ProgramSearchSpec>;
|
|
2866
2994
|
Aggregation: _wix_sdk_types.AggregationFactory<ProgramSearchSpec>;
|
|
@@ -2959,6 +3087,20 @@ type ProgramSearch = {
|
|
|
2959
3087
|
Sort order.
|
|
2960
3088
|
*/
|
|
2961
3089
|
order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
|
|
3090
|
+
/**
|
|
3091
|
+
When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
3092
|
+
a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
3093
|
+
|
|
3094
|
+
If multiple filters are provided, they are combined with AND operator.
|
|
3095
|
+
|
|
3096
|
+
Example:
|
|
3097
|
+
Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
3098
|
+
and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
3099
|
+
{ fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
3100
|
+
@internal: undefined,
|
|
3101
|
+
@maxSize: 10
|
|
3102
|
+
*/
|
|
3103
|
+
selectItemsBy?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['selectItemsBy'] | null;
|
|
2962
3104
|
}[];
|
|
2963
3105
|
/**
|
|
2964
3106
|
Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_online-programs_programs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"schemas"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@wix/sdk-runtime": "^1.0.
|
|
39
|
-
"@wix/sdk-types": "^1.17.
|
|
38
|
+
"@wix/sdk-runtime": "^1.0.19",
|
|
39
|
+
"@wix/sdk-types": "^1.17.11",
|
|
40
40
|
"zod": "^4.3.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"fqdn": "wix.online_programs.v3.program"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "723407158aefd7a3eebaab4c188439ae9827a36e6cc9c1778991a432"
|
|
61
61
|
}
|