@wix/auto_sdk_vod_action-cards 0.0.0-stage → 1.0.0

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.
@@ -0,0 +1,359 @@
1
+ /**
2
+ * An action card: a clickable card shown over a video at a set time during playback, linking to another video, a
3
+ * channel, a social account or any URL. Called "Action Cards" in the Wix Video dashboard.
4
+ */
5
+ interface ActionCard extends ActionCardTypeDetailsOneOf {
6
+ /** Set when `type` is VIDEO. */
7
+ videoDetails?: VideoDetails;
8
+ /** Set when `type` is CHANNEL. */
9
+ channelDetails?: ChannelDetails;
10
+ /** Set when `type` is RECENT_VIDEO. */
11
+ recentVideoDetails?: RecentVideoDetails;
12
+ /** Set when `type` is SOCIAL. */
13
+ socialDetails?: SocialDetails;
14
+ /** Set when `type` is CUSTOM. */
15
+ customDetails?: LinkDetails;
16
+ /** Set when `type` is PRODUCT. */
17
+ productDetails?: LinkDetails;
18
+ /**
19
+ * Action card ID.
20
+ * @format GUID
21
+ * @readonly
22
+ */
23
+ _id?: string;
24
+ /**
25
+ * When the card was created.
26
+ * @readonly
27
+ */
28
+ _createdDate?: Date | null;
29
+ /**
30
+ * When the card was last updated.
31
+ * @readonly
32
+ */
33
+ _updatedDate?: Date | null;
34
+ /**
35
+ * ID of the site the card belongs to.
36
+ * @format GUID
37
+ * @readonly
38
+ */
39
+ siteId?: string;
40
+ /**
41
+ * ID of the video the card is shown on.
42
+ * @format GUID
43
+ * @immutable
44
+ */
45
+ videoId?: string;
46
+ /** When the card is shown during playback. */
47
+ timing?: Timing;
48
+ /** The corner of the player the card is shown in. */
49
+ position?: PositionWithLiterals;
50
+ /** What the card links to. Selects the card layout and which `type_details` member is set. */
51
+ type?: TypeWithLiterals;
52
+ /**
53
+ * Who created the card.
54
+ * @readonly
55
+ */
56
+ createdBy?: IdentificationData;
57
+ }
58
+ /** @oneof */
59
+ interface ActionCardTypeDetailsOneOf {
60
+ /** Set when `type` is VIDEO. */
61
+ videoDetails?: VideoDetails;
62
+ /** Set when `type` is CHANNEL. */
63
+ channelDetails?: ChannelDetails;
64
+ /** Set when `type` is RECENT_VIDEO. */
65
+ recentVideoDetails?: RecentVideoDetails;
66
+ /** Set when `type` is SOCIAL. */
67
+ socialDetails?: SocialDetails;
68
+ /** Set when `type` is CUSTOM. */
69
+ customDetails?: LinkDetails;
70
+ /** Set when `type` is PRODUCT. */
71
+ productDetails?: LinkDetails;
72
+ }
73
+ /** The social network of the account to follow. */
74
+ declare enum SocialNetwork {
75
+ YOUTUBE = "YOUTUBE"
76
+ }
77
+ /** @enumType */
78
+ type SocialNetworkWithLiterals = SocialNetwork | 'YOUTUBE';
79
+ /** When the card is shown during playback. */
80
+ interface Timing {
81
+ /** When the card appears, in milliseconds from the start of the video. */
82
+ startTimeInMillis?: string;
83
+ /** When the card disappears, in milliseconds from the start of the video. */
84
+ endTimeInMillis?: string;
85
+ }
86
+ /** The corner of the player the card is shown in. */
87
+ declare enum Position {
88
+ TOP_LEFT = "TOP_LEFT",
89
+ TOP_RIGHT = "TOP_RIGHT",
90
+ BOTTOM_LEFT = "BOTTOM_LEFT",
91
+ BOTTOM_RIGHT = "BOTTOM_RIGHT"
92
+ }
93
+ /** @enumType */
94
+ type PositionWithLiterals = Position | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM_LEFT' | 'BOTTOM_RIGHT';
95
+ /** What the card links to. */
96
+ declare enum Type {
97
+ /** Links to the most recently added video in a channel. Sets `recent_video_details`. */
98
+ RECENT_VIDEO = "RECENT_VIDEO",
99
+ /** Links to a channel. Sets `channel_details`. */
100
+ CHANNEL = "CHANNEL",
101
+ /** Links to a video. Sets `video_details`. */
102
+ VIDEO = "VIDEO",
103
+ /**
104
+ * Promotes a product: links to any URL, with the owner's title, image and button. Same fields and display as
105
+ * CUSTOM; only the dashboard's suggested button texts differ. Sets `product_details`.
106
+ */
107
+ PRODUCT = "PRODUCT",
108
+ /** A follow button for a social network account. Sets `social_details`. */
109
+ SOCIAL = "SOCIAL",
110
+ /** Links to any URL, with the owner's title, image and button. Sets `custom_details`. */
111
+ CUSTOM = "CUSTOM"
112
+ }
113
+ /** @enumType */
114
+ type TypeWithLiterals = Type | 'RECENT_VIDEO' | 'CHANNEL' | 'VIDEO' | 'PRODUCT' | 'SOCIAL' | 'CUSTOM';
115
+ /** A card that links to a video. */
116
+ interface VideoDetails {
117
+ /**
118
+ * The channel to play the target video in.
119
+ * @format GUID
120
+ */
121
+ channelId?: string;
122
+ /**
123
+ * The video the card links to.
124
+ * @format GUID
125
+ */
126
+ videoId?: string;
127
+ /**
128
+ * The video's title.
129
+ * @maxLength 250
130
+ * @readonly
131
+ */
132
+ title?: string | null;
133
+ /**
134
+ * The video's cover (`Video.cover.url`).
135
+ * @format WEB_URL
136
+ * @readonly
137
+ */
138
+ thumbnailUrl?: string | null;
139
+ }
140
+ /** A card that links to a channel. */
141
+ interface ChannelDetails {
142
+ /**
143
+ * The channel the card links to.
144
+ * @format GUID
145
+ */
146
+ channelId?: string;
147
+ /**
148
+ * The channel's title.
149
+ * @maxLength 250
150
+ * @readonly
151
+ */
152
+ title?: string | null;
153
+ /**
154
+ * The channel's cover (`Channel.cover.url`).
155
+ * @format WEB_URL
156
+ * @readonly
157
+ */
158
+ thumbnailUrl?: string | null;
159
+ }
160
+ /** Links to the channel's most recently added video. */
161
+ interface RecentVideoDetails {
162
+ /**
163
+ * The channel whose most recent video the card links to.
164
+ * @format GUID
165
+ */
166
+ channelId?: string;
167
+ /**
168
+ * The channel's most recently added video that visitors can see now. Unset when the channel has none: link to
169
+ * the channel instead.
170
+ * @format GUID
171
+ * @readonly
172
+ */
173
+ videoId?: string | null;
174
+ /**
175
+ * That video's title.
176
+ * @maxLength 250
177
+ * @readonly
178
+ */
179
+ title?: string | null;
180
+ /**
181
+ * That video's cover (`Video.cover.url`).
182
+ * @format WEB_URL
183
+ * @readonly
184
+ */
185
+ thumbnailUrl?: string | null;
186
+ }
187
+ /** A follow button for a social network account. */
188
+ interface SocialDetails {
189
+ /** The social network. Selects the follow button. */
190
+ network?: SocialNetworkWithLiterals;
191
+ /**
192
+ * The network's ID of what to follow. For YouTube, a channel ID (starts with `UC`) or a playlist ID (`PL`, or `UU`
193
+ * for a channel's uploads playlist), like `Channel.youtube_details.id`; not a Wix Video channel ID.
194
+ * @maxLength 1024
195
+ */
196
+ externalId?: string | null;
197
+ /**
198
+ * URL of its page on the network.
199
+ * @format WEB_URL
200
+ * @maxLength 2048
201
+ */
202
+ url?: string | null;
203
+ /**
204
+ * Its display name on the network, copied when the card was created.
205
+ * @maxLength 250
206
+ */
207
+ displayName?: string | null;
208
+ /**
209
+ * Its avatar on the network, copied when the card was created.
210
+ * @format WEB_URL
211
+ * @maxLength 2048
212
+ */
213
+ thumbnailUrl?: string | null;
214
+ }
215
+ /** A call to action with the owner's text and image, linking to any URL. Used by CUSTOM and PRODUCT cards. */
216
+ interface LinkDetails {
217
+ /**
218
+ * Where clicking the card goes.
219
+ * @format WEB_URL
220
+ * @maxLength 2048
221
+ */
222
+ url?: string | null;
223
+ /**
224
+ * The button text.
225
+ * @maxLength 250
226
+ */
227
+ buttonText?: string | null;
228
+ /**
229
+ * The card title.
230
+ * @maxLength 250
231
+ */
232
+ title?: string | null;
233
+ /**
234
+ * The card image, uploaded by the owner.
235
+ * @format WEB_URL
236
+ * @maxLength 2048
237
+ */
238
+ thumbnailUrl?: string | null;
239
+ }
240
+ interface IdentificationData extends IdentificationDataIdOneOf {
241
+ /**
242
+ * ID of a site visitor that has not logged in to the site.
243
+ * @format GUID
244
+ */
245
+ anonymousVisitorId?: string;
246
+ /**
247
+ * ID of a site visitor that has logged in to the site.
248
+ * @format GUID
249
+ */
250
+ memberId?: string;
251
+ /**
252
+ * ID of a Wix user (site owner, contributor, etc.).
253
+ * @format GUID
254
+ */
255
+ wixUserId?: string;
256
+ /**
257
+ * ID of an app.
258
+ * @format GUID
259
+ */
260
+ appId?: string;
261
+ /**
262
+ * ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.
263
+ * @format GUID
264
+ */
265
+ contactId?: string | null;
266
+ }
267
+ /** @oneof */
268
+ interface IdentificationDataIdOneOf {
269
+ /**
270
+ * ID of a site visitor that has not logged in to the site.
271
+ * @format GUID
272
+ */
273
+ anonymousVisitorId?: string;
274
+ /**
275
+ * ID of a site visitor that has logged in to the site.
276
+ * @format GUID
277
+ */
278
+ memberId?: string;
279
+ /**
280
+ * ID of a Wix user (site owner, contributor, etc.).
281
+ * @format GUID
282
+ */
283
+ wixUserId?: string;
284
+ /**
285
+ * ID of an app.
286
+ * @format GUID
287
+ */
288
+ appId?: string;
289
+ }
290
+ declare enum IdentityType {
291
+ UNKNOWN = "UNKNOWN",
292
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
293
+ MEMBER = "MEMBER",
294
+ WIX_USER = "WIX_USER",
295
+ APP = "APP"
296
+ }
297
+ /** @enumType */
298
+ type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
299
+ interface ListActionCardsRequest {
300
+ /**
301
+ * The video whose action cards to list.
302
+ * @format GUID
303
+ */
304
+ videoId: string;
305
+ /** Paging. Limit defaults to 100, max 100. */
306
+ paging?: CursorPaging;
307
+ }
308
+ interface CursorPaging {
309
+ /**
310
+ * Maximum number of items to return in the results.
311
+ * @max 100
312
+ */
313
+ limit?: number | null;
314
+ /**
315
+ * Pointer to the next or previous page in the list of results.
316
+ *
317
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
318
+ * Not relevant for the first request.
319
+ * @maxLength 16000
320
+ */
321
+ cursor?: string | null;
322
+ }
323
+ interface ListActionCardsResponse {
324
+ /** The video's action cards, in playback order. */
325
+ actionCards?: ActionCard[];
326
+ /** Cursors for the next and previous pages. */
327
+ pagingMetadata?: CursorPagingMetadata;
328
+ }
329
+ interface CursorPagingMetadata {
330
+ /** Number of items returned in current page. */
331
+ count?: number | null;
332
+ /** Cursor strings that point to the next page, previous page, or both. */
333
+ cursors?: Cursors;
334
+ /**
335
+ * Whether there are more pages to retrieve following the current page.
336
+ *
337
+ * + `true`: Another page of results can be retrieved.
338
+ * + `false`: This is the last page.
339
+ */
340
+ hasNext?: boolean | null;
341
+ }
342
+ interface Cursors {
343
+ /**
344
+ * Cursor string pointing to the next page in the list of results.
345
+ * @maxLength 16000
346
+ */
347
+ next?: string | null;
348
+ /**
349
+ * Cursor pointing to the previous page in the list of results.
350
+ * @maxLength 16000
351
+ */
352
+ prev?: string | null;
353
+ }
354
+ interface ListActionCardsOptions {
355
+ /** Paging. Limit defaults to 100, max 100. */
356
+ paging?: CursorPaging;
357
+ }
358
+
359
+ export { type ActionCard, type ActionCardTypeDetailsOneOf, type ChannelDetails, type CursorPaging, type CursorPagingMetadata, type Cursors, type IdentificationData, type IdentificationDataIdOneOf, IdentityType, type IdentityTypeWithLiterals, type LinkDetails, type ListActionCardsOptions, type ListActionCardsRequest, type ListActionCardsResponse, Position, type PositionWithLiterals, type RecentVideoDetails, type SocialDetails, SocialNetwork, type SocialNetworkWithLiterals, type Timing, Type, type TypeWithLiterals, type VideoDetails };
@@ -0,0 +1,215 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ IdentityType: () => IdentityType,
24
+ Position: () => Position,
25
+ SocialNetwork: () => SocialNetwork,
26
+ Type: () => Type,
27
+ listActionCards: () => listActionCards4
28
+ });
29
+ module.exports = __toCommonJS(index_exports);
30
+
31
+ // src/video-v4-action-card-action-cards.universal.ts
32
+ var import_transform_error = require("@wix/sdk-runtime/transform-error");
33
+ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
34
+
35
+ // src/video-v4-action-card-action-cards.http.ts
36
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
37
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
38
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
39
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
40
+ var TRANSFORM_PATHS_0 = [
41
+ { path: "actionCards.createdDate" },
42
+ { path: "actionCards.updatedDate" }
43
+ ];
44
+ function resolveWixVideoV4ActionCardsServiceUrl(opts) {
45
+ const domainToMappings = {
46
+ "manage._base_domain_": [
47
+ {
48
+ srcPath: "/_api/vod/public",
49
+ destPath: "/_api/vod/public"
50
+ }
51
+ ],
52
+ _: [
53
+ {
54
+ srcPath: "/_api/vod/public",
55
+ destPath: "/_api/vod/public"
56
+ }
57
+ ],
58
+ "www._base_domain_": [
59
+ {
60
+ srcPath: "/_api/vod/public",
61
+ destPath: "/_api/vod/public"
62
+ }
63
+ ],
64
+ "api._api_base_domain_": [
65
+ {
66
+ srcPath: "/wix-vod-backend-public",
67
+ destPath: ""
68
+ }
69
+ ],
70
+ "editor.wixapps.net": [
71
+ {
72
+ srcPath: "/_api/vod/public",
73
+ destPath: "/_api/vod/public"
74
+ }
75
+ ],
76
+ "bo._base_domain_": [
77
+ {
78
+ srcPath: "/_api/vod/public",
79
+ destPath: "/_api/vod/public"
80
+ }
81
+ ],
82
+ "wixbo.ai": [
83
+ {
84
+ srcPath: "/_api/vod/public",
85
+ destPath: "/_api/vod/public"
86
+ }
87
+ ],
88
+ "wix-bo.com": [
89
+ {
90
+ srcPath: "/_api/vod/public",
91
+ destPath: "/_api/vod/public"
92
+ }
93
+ ],
94
+ "wix-vod-embed-video.wixapps.net": [
95
+ {
96
+ srcPath: "/_api/vod/public",
97
+ destPath: "/_api/vod/public"
98
+ }
99
+ ],
100
+ "embed._base_domain_": [
101
+ {
102
+ srcPath: "/_api/vod/public",
103
+ destPath: "/_api/vod/public"
104
+ }
105
+ ]
106
+ };
107
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
108
+ }
109
+ var PACKAGE_NAME = "@wix/auto_sdk_vod_action-cards";
110
+ function listActionCards(payload) {
111
+ function __listActionCards({ host }) {
112
+ const metadata = {
113
+ entityFqdn: "wix.video.v4.action_card",
114
+ method: "GET",
115
+ methodFqn: "wix.video.v4.ActionCardsService.ListActionCards",
116
+ packageName: PACKAGE_NAME,
117
+ migrationOptions: {
118
+ optInTransformResponse: true
119
+ },
120
+ url: resolveWixVideoV4ActionCardsServiceUrl({
121
+ protoPath: "/v4/action-cards",
122
+ data: payload,
123
+ host
124
+ }),
125
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
126
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
127
+ {
128
+ transformFn: import_timestamp.transformRESTTimestampToSDKTimestamp,
129
+ paths: TRANSFORM_PATHS_0
130
+ }
131
+ ])
132
+ };
133
+ return metadata;
134
+ }
135
+ return __listActionCards;
136
+ }
137
+
138
+ // src/video-v4-action-card-action-cards.universal.ts
139
+ var SocialNetwork = /* @__PURE__ */ ((SocialNetwork2) => {
140
+ SocialNetwork2["YOUTUBE"] = "YOUTUBE";
141
+ return SocialNetwork2;
142
+ })(SocialNetwork || {});
143
+ var Position = /* @__PURE__ */ ((Position2) => {
144
+ Position2["TOP_LEFT"] = "TOP_LEFT";
145
+ Position2["TOP_RIGHT"] = "TOP_RIGHT";
146
+ Position2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
147
+ Position2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
148
+ return Position2;
149
+ })(Position || {});
150
+ var Type = /* @__PURE__ */ ((Type2) => {
151
+ Type2["RECENT_VIDEO"] = "RECENT_VIDEO";
152
+ Type2["CHANNEL"] = "CHANNEL";
153
+ Type2["VIDEO"] = "VIDEO";
154
+ Type2["PRODUCT"] = "PRODUCT";
155
+ Type2["SOCIAL"] = "SOCIAL";
156
+ Type2["CUSTOM"] = "CUSTOM";
157
+ return Type2;
158
+ })(Type || {});
159
+ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
160
+ IdentityType2["UNKNOWN"] = "UNKNOWN";
161
+ IdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
162
+ IdentityType2["MEMBER"] = "MEMBER";
163
+ IdentityType2["WIX_USER"] = "WIX_USER";
164
+ IdentityType2["APP"] = "APP";
165
+ return IdentityType2;
166
+ })(IdentityType || {});
167
+ async function listActionCards2(videoId, options) {
168
+ const { httpClient, sideEffects } = arguments[2];
169
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
170
+ videoId,
171
+ paging: options?.paging
172
+ });
173
+ const reqOpts = listActionCards(payload);
174
+ sideEffects?.onSiteCall?.();
175
+ try {
176
+ const result = await httpClient.request(reqOpts);
177
+ sideEffects?.onSuccess?.(result);
178
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
179
+ } catch (err) {
180
+ const transformedError = (0, import_transform_error.transformError)(
181
+ err,
182
+ {
183
+ spreadPathsToArguments: {},
184
+ explicitPathsToArguments: { videoId: "$[0]", paging: "$[1].paging" },
185
+ singleArgumentUnchanged: false
186
+ },
187
+ ["videoId", "options"]
188
+ );
189
+ sideEffects?.onError?.(err);
190
+ throw transformedError;
191
+ }
192
+ }
193
+
194
+ // src/video-v4-action-card-action-cards.public.ts
195
+ function listActionCards3(httpClient) {
196
+ return (videoId, options) => listActionCards2(
197
+ videoId,
198
+ options,
199
+ // @ts-ignore
200
+ { httpClient }
201
+ );
202
+ }
203
+
204
+ // src/video-v4-action-card-action-cards.context.ts
205
+ var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
206
+ var listActionCards4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listActionCards3);
207
+ // Annotate the CommonJS export names for ESM import in node:
208
+ 0 && (module.exports = {
209
+ IdentityType,
210
+ Position,
211
+ SocialNetwork,
212
+ Type,
213
+ listActionCards
214
+ });
215
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../index.ts","../../src/video-v4-action-card-action-cards.universal.ts","../../src/video-v4-action-card-action-cards.http.ts","../../src/video-v4-action-card-action-cards.public.ts","../../src/video-v4-action-card-action-cards.context.ts"],"sourcesContent":["export * from './src/video-v4-action-card-action-cards.context.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixVideoV4ActionCard from './video-v4-action-card-action-cards.http.js';\n\n/**\n * An action card: a clickable card shown over a video at a set time during playback, linking to another video, a\n * channel, a social account or any URL. Called \"Action Cards\" in the Wix Video dashboard.\n */\nexport interface ActionCard extends ActionCardTypeDetailsOneOf {\n /** Set when `type` is VIDEO. */\n videoDetails?: VideoDetails;\n /** Set when `type` is CHANNEL. */\n channelDetails?: ChannelDetails;\n /** Set when `type` is RECENT_VIDEO. */\n recentVideoDetails?: RecentVideoDetails;\n /** Set when `type` is SOCIAL. */\n socialDetails?: SocialDetails;\n /** Set when `type` is CUSTOM. */\n customDetails?: LinkDetails;\n /** Set when `type` is PRODUCT. */\n productDetails?: LinkDetails;\n /**\n * Action card ID.\n * @format GUID\n * @readonly\n */\n _id?: string;\n /**\n * When the card was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * When the card was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * ID of the site the card belongs to.\n * @format GUID\n * @readonly\n */\n siteId?: string;\n /**\n * ID of the video the card is shown on.\n * @format GUID\n * @immutable\n */\n videoId?: string;\n /** When the card is shown during playback. */\n timing?: Timing;\n /** The corner of the player the card is shown in. */\n position?: PositionWithLiterals;\n /** What the card links to. Selects the card layout and which `type_details` member is set. */\n type?: TypeWithLiterals;\n /**\n * Who created the card.\n * @readonly\n */\n createdBy?: IdentificationData;\n}\n\n/** @oneof */\nexport interface ActionCardTypeDetailsOneOf {\n /** Set when `type` is VIDEO. */\n videoDetails?: VideoDetails;\n /** Set when `type` is CHANNEL. */\n channelDetails?: ChannelDetails;\n /** Set when `type` is RECENT_VIDEO. */\n recentVideoDetails?: RecentVideoDetails;\n /** Set when `type` is SOCIAL. */\n socialDetails?: SocialDetails;\n /** Set when `type` is CUSTOM. */\n customDetails?: LinkDetails;\n /** Set when `type` is PRODUCT. */\n productDetails?: LinkDetails;\n}\n\n/** The social network of the account to follow. */\nexport enum SocialNetwork {\n YOUTUBE = 'YOUTUBE',\n}\n\n/** @enumType */\nexport type SocialNetworkWithLiterals = SocialNetwork | 'YOUTUBE';\n\n/** When the card is shown during playback. */\nexport interface Timing {\n /** When the card appears, in milliseconds from the start of the video. */\n startTimeInMillis?: string;\n /** When the card disappears, in milliseconds from the start of the video. */\n endTimeInMillis?: string;\n}\n\n/** The corner of the player the card is shown in. */\nexport enum Position {\n TOP_LEFT = 'TOP_LEFT',\n TOP_RIGHT = 'TOP_RIGHT',\n BOTTOM_LEFT = 'BOTTOM_LEFT',\n BOTTOM_RIGHT = 'BOTTOM_RIGHT',\n}\n\n/** @enumType */\nexport type PositionWithLiterals =\n | Position\n | 'TOP_LEFT'\n | 'TOP_RIGHT'\n | 'BOTTOM_LEFT'\n | 'BOTTOM_RIGHT';\n\n/** What the card links to. */\nexport enum Type {\n /** Links to the most recently added video in a channel. Sets `recent_video_details`. */\n RECENT_VIDEO = 'RECENT_VIDEO',\n /** Links to a channel. Sets `channel_details`. */\n CHANNEL = 'CHANNEL',\n /** Links to a video. Sets `video_details`. */\n VIDEO = 'VIDEO',\n /**\n * Promotes a product: links to any URL, with the owner's title, image and button. Same fields and display as\n * CUSTOM; only the dashboard's suggested button texts differ. Sets `product_details`.\n */\n PRODUCT = 'PRODUCT',\n /** A follow button for a social network account. Sets `social_details`. */\n SOCIAL = 'SOCIAL',\n /** Links to any URL, with the owner's title, image and button. Sets `custom_details`. */\n CUSTOM = 'CUSTOM',\n}\n\n/** @enumType */\nexport type TypeWithLiterals =\n | Type\n | 'RECENT_VIDEO'\n | 'CHANNEL'\n | 'VIDEO'\n | 'PRODUCT'\n | 'SOCIAL'\n | 'CUSTOM';\n\n/** A card that links to a video. */\nexport interface VideoDetails {\n /**\n * The channel to play the target video in.\n * @format GUID\n */\n channelId?: string;\n /**\n * The video the card links to.\n * @format GUID\n */\n videoId?: string;\n /**\n * The video's title.\n * @maxLength 250\n * @readonly\n */\n title?: string | null;\n /**\n * The video's cover (`Video.cover.url`).\n * @format WEB_URL\n * @readonly\n */\n thumbnailUrl?: string | null;\n}\n\n/** A card that links to a channel. */\nexport interface ChannelDetails {\n /**\n * The channel the card links to.\n * @format GUID\n */\n channelId?: string;\n /**\n * The channel's title.\n * @maxLength 250\n * @readonly\n */\n title?: string | null;\n /**\n * The channel's cover (`Channel.cover.url`).\n * @format WEB_URL\n * @readonly\n */\n thumbnailUrl?: string | null;\n}\n\n/** Links to the channel's most recently added video. */\nexport interface RecentVideoDetails {\n /**\n * The channel whose most recent video the card links to.\n * @format GUID\n */\n channelId?: string;\n /**\n * The channel's most recently added video that visitors can see now. Unset when the channel has none: link to\n * the channel instead.\n * @format GUID\n * @readonly\n */\n videoId?: string | null;\n /**\n * That video's title.\n * @maxLength 250\n * @readonly\n */\n title?: string | null;\n /**\n * That video's cover (`Video.cover.url`).\n * @format WEB_URL\n * @readonly\n */\n thumbnailUrl?: string | null;\n}\n\n/** A follow button for a social network account. */\nexport interface SocialDetails {\n /** The social network. Selects the follow button. */\n network?: SocialNetworkWithLiterals;\n /**\n * The network's ID of what to follow. For YouTube, a channel ID (starts with `UC`) or a playlist ID (`PL`, or `UU`\n * for a channel's uploads playlist), like `Channel.youtube_details.id`; not a Wix Video channel ID.\n * @maxLength 1024\n */\n externalId?: string | null;\n /**\n * URL of its page on the network.\n * @format WEB_URL\n * @maxLength 2048\n */\n url?: string | null;\n /**\n * Its display name on the network, copied when the card was created.\n * @maxLength 250\n */\n displayName?: string | null;\n /**\n * Its avatar on the network, copied when the card was created.\n * @format WEB_URL\n * @maxLength 2048\n */\n thumbnailUrl?: string | null;\n}\n\n/** A call to action with the owner's text and image, linking to any URL. Used by CUSTOM and PRODUCT cards. */\nexport interface LinkDetails {\n /**\n * Where clicking the card goes.\n * @format WEB_URL\n * @maxLength 2048\n */\n url?: string | null;\n /**\n * The button text.\n * @maxLength 250\n */\n buttonText?: string | null;\n /**\n * The card title.\n * @maxLength 250\n */\n title?: string | null;\n /**\n * The card image, uploaded by the owner.\n * @format WEB_URL\n * @maxLength 2048\n */\n thumbnailUrl?: string | null;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /**\n * ID of of a contact in the site's [CRM by Ascend](https://www.wix.com/ascend/crm) system.\n * @format GUID\n */\n contactId?: string | null;\n /**\n * identity_type\n * @internal\n * @readonly\n */\n identityType?: IdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum IdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type IdentityTypeWithLiterals =\n | IdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface ListActionCardsRequest {\n /**\n * The video whose action cards to list.\n * @format GUID\n */\n videoId: string;\n /** Paging. Limit defaults to 100, max 100. */\n paging?: CursorPaging;\n}\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface ListActionCardsResponse {\n /** The video's action cards, in playback order. */\n actionCards?: ActionCard[];\n /** Cursors for the next and previous pages. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n /**\n * Total number of items matching the filter.\n * Available only on the first page of *Search* results, not included in *Query* or *List* results.\n * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.\n * @internal\n */\n total?: number | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\n/**\n * Lists a video's cards, ordered by `timing.start_time_in_millis`, then `timing.end_time_in_millis`. Returns\n * NOT_FOUND unless the video is on the caller's site and VISIBLE.\n * @param videoId - The video whose action cards to list.\n * @internal\n * @documentationMaturity preview\n * @requiredField videoId\n * @permissionId video:v4:action_card:list_action_cards\n * @fqn wix.video.v4.ActionCardsService.ListActionCards\n */\nexport async function listActionCards(\n videoId: string,\n options?: ListActionCardsOptions\n): Promise<\n NonNullablePaths<\n ListActionCardsResponse,\n | `actionCards`\n | `actionCards.${number}.videoDetails.channelId`\n | `actionCards.${number}.videoDetails.videoId`\n | `actionCards.${number}.channelDetails.channelId`\n | `actionCards.${number}.recentVideoDetails.channelId`\n | `actionCards.${number}.socialDetails.network`\n | `actionCards.${number}._id`\n | `actionCards.${number}.siteId`\n | `actionCards.${number}.videoId`\n | `actionCards.${number}.timing.startTimeInMillis`\n | `actionCards.${number}.timing.endTimeInMillis`\n | `actionCards.${number}.position`\n | `actionCards.${number}.type`\n | `actionCards.${number}.createdBy.anonymousVisitorId`\n | `actionCards.${number}.createdBy.memberId`\n | `actionCards.${number}.createdBy.wixUserId`\n | `actionCards.${number}.createdBy.appId`,\n 3\n >\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n videoId: videoId,\n paging: options?.paging,\n });\n\n const reqOpts = ambassadorWixVideoV4ActionCard.listActionCards(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { videoId: '$[0]', paging: '$[1].paging' },\n singleArgumentUnchanged: false,\n },\n ['videoId', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface ListActionCardsOptions {\n /** Paging. Limit defaults to 100, max 100. */\n paging?: CursorPaging;\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'actionCards.createdDate' },\n { path: 'actionCards.updatedDate' },\n];\n\nfunction resolveWixVideoV4ActionCardsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n _: [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/wix-vod-backend-public',\n destPath: '',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'wix-vod-embed-video.wixapps.net': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n 'embed._base_domain_': [\n {\n srcPath: '/_api/vod/public',\n destPath: '/_api/vod/public',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_vod_action-cards';\n\n/**\n * Lists a video's cards, ordered by `timing.start_time_in_millis`, then `timing.end_time_in_millis`. Returns\n * NOT_FOUND unless the video is on the caller's site and VISIBLE.\n */\nexport function listActionCards(payload: object): RequestOptionsFactory<any> {\n function __listActionCards({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.video.v4.action_card',\n method: 'GET' as any,\n methodFqn: 'wix.video.v4.ActionCardsService.ListActionCards',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixVideoV4ActionCardsServiceUrl({\n protoPath: '/v4/action-cards',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __listActionCards;\n}\n","import { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport {\n ListActionCardsOptions,\n ListActionCardsResponse,\n listActionCards as universalListActionCards,\n} from './video-v4-action-card-action-cards.universal.js';\n\nexport const __metadata = { PACKAGE_NAME: '@wix/vod' };\n\n/** @internal */\nexport function listActionCards(\n httpClient: HttpClient\n): ListActionCardsSignature {\n return (videoId: string, options?: ListActionCardsOptions) =>\n universalListActionCards(\n videoId,\n options,\n // @ts-ignore\n { httpClient }\n );\n}\n\ninterface ListActionCardsSignature {\n /**\n * Lists a video's cards, ordered by `timing.start_time_in_millis`, then `timing.end_time_in_millis`. Returns\n * NOT_FOUND unless the video is on the caller's site and VISIBLE.\n * @param - The video whose action cards to list.\n */\n (videoId: string, options?: ListActionCardsOptions): Promise<\n NonNullablePaths<\n ListActionCardsResponse,\n | `actionCards`\n | `actionCards.${number}.videoDetails.channelId`\n | `actionCards.${number}.videoDetails.videoId`\n | `actionCards.${number}.channelDetails.channelId`\n | `actionCards.${number}.recentVideoDetails.channelId`\n | `actionCards.${number}.socialDetails.network`\n | `actionCards.${number}._id`\n | `actionCards.${number}.siteId`\n | `actionCards.${number}.videoId`\n | `actionCards.${number}.timing.startTimeInMillis`\n | `actionCards.${number}.timing.endTimeInMillis`\n | `actionCards.${number}.position`\n | `actionCards.${number}.type`\n | `actionCards.${number}.createdBy.anonymousVisitorId`\n | `actionCards.${number}.createdBy.memberId`\n | `actionCards.${number}.createdBy.wixUserId`\n | `actionCards.${number}.createdBy.appId`,\n 3\n >\n >;\n}\n\nexport {\n ActionCard,\n ActionCardTypeDetailsOneOf,\n ChannelDetails,\n CursorPaging,\n CursorPagingMetadata,\n Cursors,\n IdentificationData,\n IdentificationDataIdOneOf,\n IdentityType,\n LinkDetails,\n ListActionCardsOptions,\n ListActionCardsRequest,\n ListActionCardsResponse,\n Position,\n RecentVideoDetails,\n SocialDetails,\n SocialNetwork,\n Timing,\n Type,\n VideoDetails,\n} from './video-v4-action-card-action-cards.universal.js';\n","import { listActionCards as publicListActionCards } from './video-v4-action-card-action-cards.public.js';\nimport { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nimport { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';\n\n/** @internal */\nexport const listActionCards: MaybeContext<\n BuildRESTFunction<typeof publicListActionCards> & typeof publicListActionCards\n> = /*#__PURE__*/ createRESTModule(publicListActionCards);\n\nexport {\n SocialNetwork,\n Position,\n Type,\n IdentityType,\n} from './video-v4-action-card-action-cards.universal.js';\nexport {\n ActionCard,\n ActionCardTypeDetailsOneOf,\n Timing,\n VideoDetails,\n ChannelDetails,\n RecentVideoDetails,\n SocialDetails,\n LinkDetails,\n IdentificationData,\n IdentificationDataIdOneOf,\n ListActionCardsRequest,\n CursorPaging,\n ListActionCardsResponse,\n CursorPagingMetadata,\n Cursors,\n ListActionCardsOptions,\n} from './video-v4-action-card-action-cards.universal.js';\nexport {\n SocialNetworkWithLiterals,\n PositionWithLiterals,\n TypeWithLiterals,\n IdentityTypeWithLiterals,\n} from './video-v4-action-card-action-cards.universal.js';\n"],"mappings":"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","names":["listActionCards","import_rest_modules","payload","SocialNetwork","Position","Type","IdentityType","listActionCards","sdkTransformError","listActionCards","import_rest_modules","listActionCards"]}
@@ -0,0 +1 @@
1
+ export { ActionCard, ActionCardTypeDetailsOneOf, ChannelDetails, CursorPaging, CursorPagingMetadata, Cursors, IdentificationData, IdentificationDataIdOneOf, IdentityType, IdentityTypeWithLiterals, LinkDetails, ListActionCardsOptions, ListActionCardsRequest, ListActionCardsResponse, Position, PositionWithLiterals, RecentVideoDetails, SocialDetails, SocialNetwork, SocialNetworkWithLiterals, Timing, Type, TypeWithLiterals, VideoDetails } from './index.js';