@eluvio/elv-client-js 3.1.66 → 3.1.67
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/README.md +13 -2
- package/dist/ElvClient-min.js +2 -2
- package/dist/ElvClient-node-min.js +2 -2
- package/dist/ElvFrameClient-min.js +1 -1
- package/dist/src/ElvClient.js +6 -3
- package/dist/src/client/ContentAccess.js +868 -818
- package/package-lock.json +16 -11
- package/package.json +3 -1
- package/src/ElvClient.js +4 -1
- package/src/client/ContentAccess.js +29 -0
- package/testScripts/InitializeTenant.js +32 -1
- package/testScripts/Test.js +19 -0
- package/typeSpecs/Default.js +80 -0
- package/typeSpecs/DropEventSite.js +673 -0
- package/typeSpecs/EventSite.js +776 -0
- package/typeSpecs/EventSiteExtras.js +59 -0
- package/typeSpecs/EventTenant.js +86 -0
- package/typeSpecs/LanguageCodes.js +221 -0
- package/typeSpecs/MainSite.js +279 -0
- package/typeSpecs/Marketplace.js +203 -0
- package/typeSpecs/NFTCollection.js +69 -0
- package/typeSpecs/NFTTemplate.js +269 -0
- package/utilities/ChannelCreate.js +205 -0
- package/utilities/ChannelStartVaLOffering.js +63 -29
- package/utilities/LibraryListObjects.js +2 -0
- package/utilities/MezUnifyAudioDrmKeys.js +69 -0
|
@@ -0,0 +1,776 @@
|
|
|
1
|
+
const imageTypes = ["gif", "jpg", "jpeg", "png", "svg", "webp"];
|
|
2
|
+
const countryOptions = Object.values(require("country-codes-list").customList("countryNameEn", "{countryCode}: {countryNameEn}")).sort();
|
|
3
|
+
const currencyOptions = [...new Set(Object.values(require("country-codes-list").customList("countryNameEn", "{currencyCode}")))].filter(c => c).sort();
|
|
4
|
+
const languageOptions = require("./LanguageCodes");
|
|
5
|
+
|
|
6
|
+
const eventSiteSpec = {
|
|
7
|
+
"profile": {
|
|
8
|
+
name: "Eluvio LIVE Event Site",
|
|
9
|
+
version: "0.13",
|
|
10
|
+
},
|
|
11
|
+
manageApp: "default",
|
|
12
|
+
"hide_image_tab": true,
|
|
13
|
+
associate_permissions: true,
|
|
14
|
+
controls: [],
|
|
15
|
+
asset_types: [
|
|
16
|
+
"primary"
|
|
17
|
+
],
|
|
18
|
+
title_types: [
|
|
19
|
+
"site"
|
|
20
|
+
],
|
|
21
|
+
default_image_keys: [],
|
|
22
|
+
localization: {
|
|
23
|
+
localizations: Object.keys(languageOptions)
|
|
24
|
+
},
|
|
25
|
+
associated_assets: [
|
|
26
|
+
{
|
|
27
|
+
name: "promos",
|
|
28
|
+
label: "Promos",
|
|
29
|
+
indexed: true,
|
|
30
|
+
slugged: true,
|
|
31
|
+
defaultable: true,
|
|
32
|
+
orderable: true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: "channels",
|
|
36
|
+
label: "Channels",
|
|
37
|
+
indexed: true,
|
|
38
|
+
defaultable: true
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
info_fields: [
|
|
42
|
+
{
|
|
43
|
+
"label": "Eluvio LIVE Tenant",
|
|
44
|
+
"name": "tenant",
|
|
45
|
+
"type": "fabric_link",
|
|
46
|
+
"hash_only": true,
|
|
47
|
+
"no_localize": true
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "marketplace",
|
|
51
|
+
"type": "fabric_link",
|
|
52
|
+
"hash_only": true,
|
|
53
|
+
"no_localize": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "state",
|
|
57
|
+
"type": "select",
|
|
58
|
+
"no_localize": true,
|
|
59
|
+
"options": [
|
|
60
|
+
"Inaccessible",
|
|
61
|
+
"Live Available",
|
|
62
|
+
"Live Ended",
|
|
63
|
+
"VoD Available"
|
|
64
|
+
],
|
|
65
|
+
"default_value": "Inaccessible",
|
|
66
|
+
"hint": "Specify the current state of the event. Inaccessible and ended events will not be visible to users."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "free",
|
|
70
|
+
"type": "checkbox",
|
|
71
|
+
"no_localize": true,
|
|
72
|
+
"hint": "If specified, the event is free for all users and tickets will not be necessary."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"label": "Tenant ID",
|
|
76
|
+
"name": "tenant_id",
|
|
77
|
+
"type": "text",
|
|
78
|
+
"no_localize": true,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "theme",
|
|
82
|
+
"type": "select",
|
|
83
|
+
"options": [
|
|
84
|
+
"light",
|
|
85
|
+
"dark"
|
|
86
|
+
],
|
|
87
|
+
"no_localize": true,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "localizations",
|
|
91
|
+
"label": "Localizations",
|
|
92
|
+
"type": "multiselect",
|
|
93
|
+
"no_localize": true,
|
|
94
|
+
"hint": "Additional languages to support",
|
|
95
|
+
"options": Object.keys(languageOptions)
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "analytics_ids",
|
|
99
|
+
"label": "Analytics IDs",
|
|
100
|
+
"type": "list",
|
|
101
|
+
"no_localize": true,
|
|
102
|
+
"hint": "Specify IDs for your own analytics",
|
|
103
|
+
"fields": [
|
|
104
|
+
{
|
|
105
|
+
"name": "label",
|
|
106
|
+
"type": "text",
|
|
107
|
+
"hint": "A label for this collection of analytics"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "ids",
|
|
111
|
+
"label": "IDs",
|
|
112
|
+
"type": "list",
|
|
113
|
+
"fields": [
|
|
114
|
+
{
|
|
115
|
+
"name": "type",
|
|
116
|
+
"type": "select",
|
|
117
|
+
"options": [
|
|
118
|
+
"Google Analytics ID",
|
|
119
|
+
"Google Tag Manager ID",
|
|
120
|
+
"Google Conversion ID",
|
|
121
|
+
"Google Conversion Label",
|
|
122
|
+
"Facebook Pixel ID",
|
|
123
|
+
"App Nexus Segment ID",
|
|
124
|
+
"App Nexus Pixel ID",
|
|
125
|
+
"TradeDoubler Organization ID",
|
|
126
|
+
"TradeDoubler Event ID",
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "id",
|
|
131
|
+
"label": "ID",
|
|
132
|
+
"type": "text"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"fields": [
|
|
140
|
+
{
|
|
141
|
+
"label": "Event Info on Hero Image",
|
|
142
|
+
"name": "hero_info",
|
|
143
|
+
"type": "checkbox",
|
|
144
|
+
"hint": "Check this box if your event info is in your hero image. This will reduce the gradient and omit the text, allowing for more visible real estate on the hero image."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "event_title",
|
|
148
|
+
"type": "text",
|
|
149
|
+
"hint": "The title of the page in the browser"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "feature_header",
|
|
153
|
+
"type": "text",
|
|
154
|
+
"hint": "Displayed when the event is featured on the main page"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "feature_subheader",
|
|
158
|
+
"type": "text",
|
|
159
|
+
"hint": "Displayed when the event is featured on the main page"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "event_header",
|
|
163
|
+
"type": "text",
|
|
164
|
+
"hint": "Displayed on the main event page"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "event_subheader",
|
|
168
|
+
"type": "text",
|
|
169
|
+
"hint": "Displayed on the main event page"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "location",
|
|
173
|
+
"type": "text"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "date",
|
|
177
|
+
"type": "text"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "description",
|
|
181
|
+
"type": "textarea"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "copyright",
|
|
185
|
+
"type": "textarea"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"name": "event_info",
|
|
189
|
+
"type": "subsection"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"fields": [
|
|
193
|
+
{
|
|
194
|
+
"extensions": imageTypes,
|
|
195
|
+
"name": "hero_background",
|
|
196
|
+
"type": "file"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"extensions": imageTypes,
|
|
200
|
+
"name": "hero_background_mobile",
|
|
201
|
+
"label": "Hero Background (Mobile)",
|
|
202
|
+
"type": "file"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"extensions": imageTypes,
|
|
206
|
+
"name": "card_image",
|
|
207
|
+
"label": "Feature Card Image",
|
|
208
|
+
"type": "file",
|
|
209
|
+
"hint": "Used when featured in upcoming events on the main page"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"extensions": imageTypes,
|
|
213
|
+
"label": "Header Image (Dark)",
|
|
214
|
+
"name": "header_dark",
|
|
215
|
+
"type": "file"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"extensions": imageTypes,
|
|
219
|
+
"label": "Header Image (Light)",
|
|
220
|
+
"name": "header_light",
|
|
221
|
+
"type": "file"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"extensions": imageTypes,
|
|
225
|
+
"name": "tv_main_background",
|
|
226
|
+
"type": "file",
|
|
227
|
+
"label": "Main Background (TV)"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"extensions": imageTypes,
|
|
231
|
+
"name": "tv_main_logo",
|
|
232
|
+
"type": "file",
|
|
233
|
+
"label": "Main Logo (TV)"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"name": "event_images",
|
|
237
|
+
"type": "subsection"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"fields": [
|
|
241
|
+
{
|
|
242
|
+
"name": "name",
|
|
243
|
+
"type": "text"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"fields": [
|
|
247
|
+
{
|
|
248
|
+
"hint": "A description displayed next to the 'Next' button when viewing the previous page.",
|
|
249
|
+
"name": "page_title",
|
|
250
|
+
"type": "text"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"extensions": imageTypes,
|
|
254
|
+
"name": "image",
|
|
255
|
+
"type": "file"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "text_color",
|
|
259
|
+
"type": "color",
|
|
260
|
+
"no_label": true,
|
|
261
|
+
"default_value": {
|
|
262
|
+
"color": "#000000",
|
|
263
|
+
"label": "Black"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "background_color",
|
|
268
|
+
"type": "color",
|
|
269
|
+
"no_label": true,
|
|
270
|
+
"default_value": {
|
|
271
|
+
"color": "#FFFFFF",
|
|
272
|
+
"label": "White"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "text",
|
|
277
|
+
"type": "rich_text"
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
"name": "pages",
|
|
281
|
+
"type": "list"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"name": "event_descriptions",
|
|
285
|
+
"type": "list"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"fields": [
|
|
289
|
+
{
|
|
290
|
+
"fields": [
|
|
291
|
+
{
|
|
292
|
+
"name": "youtube",
|
|
293
|
+
"type": "text"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "instagram",
|
|
297
|
+
"type": "text"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "twitter",
|
|
301
|
+
"type": "text"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "website",
|
|
305
|
+
"type": "text"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "facebook",
|
|
309
|
+
"type": "text"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "soundcloud",
|
|
313
|
+
"type": "text"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "apple_music",
|
|
317
|
+
"type": "text"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "spotify",
|
|
321
|
+
"type": "text"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"name": "social_media_links",
|
|
325
|
+
"type": "subsection",
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"name": "artist_info",
|
|
329
|
+
"type": "subsection",
|
|
330
|
+
"label": "Links",
|
|
331
|
+
"no_localize": true
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"fields": [
|
|
335
|
+
{
|
|
336
|
+
"name": "name",
|
|
337
|
+
"type": "text"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "link",
|
|
341
|
+
"type": "text"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"extensions": imageTypes,
|
|
345
|
+
"label": "Image (for light background)",
|
|
346
|
+
"name": "image",
|
|
347
|
+
"type": "file"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"extensions": imageTypes,
|
|
351
|
+
"label": "Image (for dark background)",
|
|
352
|
+
"name": "image_light",
|
|
353
|
+
"type": "file"
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"name": "sponsors",
|
|
357
|
+
"type": "list"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"fields": [
|
|
361
|
+
{
|
|
362
|
+
"name": "coupon_mode",
|
|
363
|
+
"type": "checkbox",
|
|
364
|
+
"no_localize": true,
|
|
365
|
+
"hint": "If specified, coupon redemption will be available"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "redemption_message",
|
|
369
|
+
"type": "text",
|
|
370
|
+
"hint": "Text to be displayed on coupon redemption page"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "event_page_message_1",
|
|
374
|
+
"type": "text",
|
|
375
|
+
"hint": "Text to be displayed on event page after redemption"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "event_page_message_2",
|
|
379
|
+
"type": "text",
|
|
380
|
+
"hint": "Text to be displayed on event page after redemption"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"name": "coupon_redemption",
|
|
384
|
+
"type": "subsection"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"fields": [
|
|
388
|
+
{
|
|
389
|
+
"name": "header_image",
|
|
390
|
+
"type": "file",
|
|
391
|
+
"extensions": imageTypes
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "header_text",
|
|
395
|
+
"type": "text"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "hide_countdown",
|
|
399
|
+
"type": "checkbox"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "message_1",
|
|
403
|
+
"type": "textarea",
|
|
404
|
+
"hint": "Message above the countdown. Default: 'Your Ticket is Redeemed. Event Begins In'"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "message_2",
|
|
408
|
+
"type": "textarea",
|
|
409
|
+
"hint": "Message below the countdown. Default: 'Use the link in your ticket email to return here at the time of the event'"
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"name": "event_landing_page",
|
|
413
|
+
"type": "subsection"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"fields": [
|
|
417
|
+
{
|
|
418
|
+
"name": "subheader",
|
|
419
|
+
"type": "text"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "header",
|
|
423
|
+
"type": "text"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"name": "stream_page",
|
|
427
|
+
"type": "subsection"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"fields": [
|
|
431
|
+
{
|
|
432
|
+
"name": "name",
|
|
433
|
+
"type": "text"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "description",
|
|
437
|
+
"type": "textarea"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "location",
|
|
441
|
+
"type": "text"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "type",
|
|
445
|
+
"type": "select",
|
|
446
|
+
"options": ["Online Only", "Online and In-Person"]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "images",
|
|
450
|
+
"type": "list",
|
|
451
|
+
"fields": [{
|
|
452
|
+
"name": "image",
|
|
453
|
+
"type": "file",
|
|
454
|
+
"extensions": imageTypes
|
|
455
|
+
}]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "performers",
|
|
459
|
+
"type": "list",
|
|
460
|
+
"fields": [
|
|
461
|
+
{
|
|
462
|
+
"name": "name",
|
|
463
|
+
"type": "text"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "url",
|
|
467
|
+
"label": "URL",
|
|
468
|
+
"type": "text"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "image",
|
|
472
|
+
"type": "file",
|
|
473
|
+
"extensions": imageTypes
|
|
474
|
+
}
|
|
475
|
+
]
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "organizers",
|
|
479
|
+
"type": "list",
|
|
480
|
+
"fields": [
|
|
481
|
+
{
|
|
482
|
+
"name": "name",
|
|
483
|
+
"type": "text"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "url",
|
|
487
|
+
"label": "URL",
|
|
488
|
+
"type": "text"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "image",
|
|
492
|
+
"type": "file",
|
|
493
|
+
"extensions": imageTypes
|
|
494
|
+
}
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "showings",
|
|
499
|
+
"type": "list",
|
|
500
|
+
"fields": [
|
|
501
|
+
{
|
|
502
|
+
"name": "name",
|
|
503
|
+
"type": "text"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "start_time",
|
|
507
|
+
"type": "datetime",
|
|
508
|
+
"hint": "Make sure this time exactly matches the corresponding ticket SKU start times"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "end_time",
|
|
512
|
+
"type": "datetime"
|
|
513
|
+
}
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"label": "Search Listing Info",
|
|
518
|
+
"name": "search_data",
|
|
519
|
+
"type": "subsection",
|
|
520
|
+
"hint": "This information will be used to populate data used by search engines for displaying this event"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"fields": [
|
|
524
|
+
{
|
|
525
|
+
"name": "title",
|
|
526
|
+
"type": "text"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "description",
|
|
530
|
+
"type": "textarea"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "location",
|
|
534
|
+
"type": "text"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"label": "Calendar Event",
|
|
538
|
+
"name": "calendar",
|
|
539
|
+
"type": "subsection"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "shipping_countries",
|
|
543
|
+
"type": "multiselect",
|
|
544
|
+
"no_localize": true,
|
|
545
|
+
"hint": "Countries to which merchandise shipment is available",
|
|
546
|
+
"default_value": ["US: United States of America"],
|
|
547
|
+
"options": countryOptions
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "payment_currencies",
|
|
551
|
+
"type": "multiselect",
|
|
552
|
+
"no_localize": true,
|
|
553
|
+
"hint": "List of accepted currencies for tickets and merchandise",
|
|
554
|
+
"default_value": ["USD"],
|
|
555
|
+
"options": currencyOptions
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"fields": [
|
|
559
|
+
{
|
|
560
|
+
"name": "name",
|
|
561
|
+
"type": "text"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"label": "Item ID",
|
|
565
|
+
"name": "uuid",
|
|
566
|
+
"no_localize": true,
|
|
567
|
+
"type": "uuid"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "hidden",
|
|
571
|
+
"type": "checkbox",
|
|
572
|
+
"no_localize": true,
|
|
573
|
+
"hint": "If checked, this ticket class will not be displayed and won't be available for purchase."
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "release_date",
|
|
577
|
+
"type": "datetime",
|
|
578
|
+
"no_localize": true,
|
|
579
|
+
"hint": "If the tickets should not be available for purchase immediately, specify a release date"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "requires_shipping",
|
|
583
|
+
"type": "checkbox",
|
|
584
|
+
"no_localize": true,
|
|
585
|
+
"hint": "If checked, shipping information and taxes will be collected for purchases of this ticket class."
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "description",
|
|
589
|
+
"type": "textarea"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"extensions": imageTypes,
|
|
593
|
+
"name": "image",
|
|
594
|
+
"type": "file"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"fields": [
|
|
598
|
+
{
|
|
599
|
+
"name": "label",
|
|
600
|
+
"type": "text"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"label": "Item ID",
|
|
604
|
+
"name": "uuid",
|
|
605
|
+
"type": "uuid",
|
|
606
|
+
"no_localize": true,
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "hidden",
|
|
610
|
+
"type": "checkbox",
|
|
611
|
+
"no_localize": true,
|
|
612
|
+
"hint": "If checked, this ticket SKU will not be displayed and won't be available for purchase."
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"label": "NTP ID",
|
|
616
|
+
"name": "otp_id",
|
|
617
|
+
"no_localize": true,
|
|
618
|
+
"type": "ntp_id"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "start_time",
|
|
622
|
+
"type": "datetime",
|
|
623
|
+
"no_localize": true,
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"label": "Start Time (Text)",
|
|
627
|
+
"hint": "This label will be displayed in emails where time zone localization is not possible.",
|
|
628
|
+
"name": "start_time_text",
|
|
629
|
+
"type": "text"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "end_time",
|
|
633
|
+
"type": "datetime",
|
|
634
|
+
"no_localize": true,
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "price",
|
|
638
|
+
"type": "reference_subsection",
|
|
639
|
+
"no_localize": true,
|
|
640
|
+
"reference": "/payment_currencies",
|
|
641
|
+
"value_type": "number",
|
|
642
|
+
"hint": "Available price currencies are based on the 'Payment Currencies' field above",
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "external_url",
|
|
646
|
+
"hint": "External URL from which to purchase this ticket. If specified, the payment information below is not required."
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"label": "SKUs",
|
|
650
|
+
"name": "skus",
|
|
651
|
+
"type": "list"
|
|
652
|
+
}
|
|
653
|
+
],
|
|
654
|
+
"name": "tickets",
|
|
655
|
+
"type": "list"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"fields": [
|
|
659
|
+
{
|
|
660
|
+
"name": "type",
|
|
661
|
+
"options": [
|
|
662
|
+
"merchandise",
|
|
663
|
+
"donation"
|
|
664
|
+
],
|
|
665
|
+
"type": "select",
|
|
666
|
+
"no_localize": true,
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "name",
|
|
670
|
+
"type": "text"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"label": "Item ID",
|
|
674
|
+
"name": "uuid",
|
|
675
|
+
"type": "uuid",
|
|
676
|
+
"no_localize": true,
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"name": "description",
|
|
680
|
+
"type": "textarea"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"fields": [
|
|
684
|
+
{
|
|
685
|
+
"extensions": imageTypes,
|
|
686
|
+
"name": "image",
|
|
687
|
+
"type": "file"
|
|
688
|
+
}
|
|
689
|
+
],
|
|
690
|
+
"name": "images",
|
|
691
|
+
"type": "list"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "price",
|
|
695
|
+
"type": "reference_subsection",
|
|
696
|
+
"no_localize": true,
|
|
697
|
+
"reference": "/payment_currencies",
|
|
698
|
+
"value_type": "number",
|
|
699
|
+
"hint": "Available price currencies are based on the 'Payment Currencies' field above",
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "featured",
|
|
703
|
+
"type": "checkbox",
|
|
704
|
+
"no_localize": true,
|
|
705
|
+
"hint": "A featured item will be shown at checkout."
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"fields": [
|
|
709
|
+
{
|
|
710
|
+
"name": "name",
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "type",
|
|
714
|
+
"type": "select",
|
|
715
|
+
"options": [
|
|
716
|
+
"text",
|
|
717
|
+
"color",
|
|
718
|
+
"number"
|
|
719
|
+
]
|
|
720
|
+
}
|
|
721
|
+
],
|
|
722
|
+
"hint": "Specify the characteristics each variation of this product has, for example 'Size' and 'Color'",
|
|
723
|
+
"name": "option_fields",
|
|
724
|
+
"no_localize": true,
|
|
725
|
+
"type": "list"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "product_options",
|
|
729
|
+
"type": "reference_list",
|
|
730
|
+
"no_localize": true,
|
|
731
|
+
"reference": "./option_fields",
|
|
732
|
+
"fields": [
|
|
733
|
+
{
|
|
734
|
+
"label": "SKU ID",
|
|
735
|
+
"name": "uuid",
|
|
736
|
+
"type": "uuid"
|
|
737
|
+
}
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
],
|
|
741
|
+
"name": "products",
|
|
742
|
+
"type": "list"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"fields": [
|
|
746
|
+
{
|
|
747
|
+
"name": "title",
|
|
748
|
+
"type": "text"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "description",
|
|
752
|
+
"type": "textarea"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "release_date",
|
|
756
|
+
"type": "datetime",
|
|
757
|
+
"no_localize": true,
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"extensions": imageTypes,
|
|
761
|
+
"name": "image",
|
|
762
|
+
"type": "file"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "package",
|
|
766
|
+
"type": "fabric_link",
|
|
767
|
+
"no_localize": true,
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"name": "extras",
|
|
771
|
+
"type": "list"
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
module.exports = eventSiteSpec;
|