@eluvio/elv-client-js 3.1.72 → 3.1.76
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 +2 -1
- package/dist/ElvClient-min.js +3 -3
- package/dist/ElvClient-node-min.js +6 -6
- package/dist/ElvFrameClient-min.js +4 -4
- package/dist/src/AuthorizationClient.js +24 -14
- package/dist/src/FrameClient.js +1 -1
- package/dist/src/client/ContentAccess.js +36 -27
- package/dist/src/client/ContentManagement.js +770 -537
- package/dist/src/client/Files.js +76 -54
- package/package-lock.json +50 -47
- package/package.json +2 -1
- package/src/AuthorizationClient.js +4 -1
- package/src/FrameClient.js +3 -0
- package/src/client/ContentAccess.js +5 -3
- package/src/client/ContentManagement.js +108 -11
- package/src/client/Files.js +4 -1
- package/testScripts/logo2.png +0 -0
- package/typeSpecs/DropEventSite.js +802 -148
- package/typeSpecs/Marketplace.js +39 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
const imageTypes = ["gif", "jpg", "jpeg", "png", "svg", "webp"];
|
|
2
2
|
const languageOptions = require("./LanguageCodes");
|
|
3
|
+
const countryOptions = Object.values(require("country-codes-list").customList("countryNameEn", "{countryCode}: {countryNameEn}")).sort();
|
|
4
|
+
const currencyOptions = [...new Set(Object.values(require("country-codes-list").customList("countryNameEn", "{currencyCode}")))].filter(c => c).sort();
|
|
3
5
|
|
|
4
6
|
const eventSiteSpec = {
|
|
5
7
|
"profile": {
|
|
6
|
-
name: "Eluvio LIVE
|
|
7
|
-
version: "0.
|
|
8
|
+
name: "Eluvio LIVE Event Site",
|
|
9
|
+
version: "0.2",
|
|
8
10
|
},
|
|
9
11
|
manageApp: "default",
|
|
10
12
|
associate_permissions: true,
|
|
@@ -20,8 +22,28 @@ const eventSiteSpec = {
|
|
|
20
22
|
localization: {
|
|
21
23
|
localizations: Object.keys(languageOptions)
|
|
22
24
|
},
|
|
23
|
-
associated_assets: [
|
|
25
|
+
associated_assets: [
|
|
26
|
+
{
|
|
27
|
+
name: "promos",
|
|
28
|
+
label: "Promos (Apple TV)",
|
|
29
|
+
indexed: true,
|
|
30
|
+
slugged: true,
|
|
31
|
+
defaultable: true,
|
|
32
|
+
orderable: true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: "channels",
|
|
36
|
+
label: "Channels (Apple TV)",
|
|
37
|
+
indexed: true,
|
|
38
|
+
defaultable: true
|
|
39
|
+
},
|
|
40
|
+
],
|
|
24
41
|
info_fields: [
|
|
42
|
+
{
|
|
43
|
+
"label": "Basic Info",
|
|
44
|
+
"name": "header_basic_info",
|
|
45
|
+
"type": "header"
|
|
46
|
+
},
|
|
25
47
|
{
|
|
26
48
|
"name": "tenant_id",
|
|
27
49
|
"label": "Tenant ID",
|
|
@@ -40,12 +62,6 @@ const eventSiteSpec = {
|
|
|
40
62
|
"hash_only": true,
|
|
41
63
|
"no_localize": true
|
|
42
64
|
},
|
|
43
|
-
{
|
|
44
|
-
"name": "type",
|
|
45
|
-
"type": "text",
|
|
46
|
-
"default_value": "drop_event",
|
|
47
|
-
"readonly": true
|
|
48
|
-
},
|
|
49
65
|
{
|
|
50
66
|
"name": "state",
|
|
51
67
|
"type": "select",
|
|
@@ -58,6 +74,11 @@ const eventSiteSpec = {
|
|
|
58
74
|
"default_value": "Inaccessible",
|
|
59
75
|
"hint": "Specify the current state of the event. Inaccessible and ended events will not be visible to users."
|
|
60
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"label": "Accessible (Apple TV)",
|
|
79
|
+
"name": "accessible",
|
|
80
|
+
"type": "checkbox"
|
|
81
|
+
},
|
|
61
82
|
{
|
|
62
83
|
"name": "theme",
|
|
63
84
|
"type": "select",
|
|
@@ -75,6 +96,15 @@ const eventSiteSpec = {
|
|
|
75
96
|
"hint": "Additional languages to support",
|
|
76
97
|
"options": Object.keys(languageOptions)
|
|
77
98
|
},
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
{
|
|
104
|
+
"label": "Event Info",
|
|
105
|
+
"name": "header_event_info",
|
|
106
|
+
"type": "header"
|
|
107
|
+
},
|
|
78
108
|
{
|
|
79
109
|
"fields": [
|
|
80
110
|
{
|
|
@@ -96,6 +126,7 @@ const eventSiteSpec = {
|
|
|
96
126
|
{
|
|
97
127
|
"name": "feature_button",
|
|
98
128
|
"type": "subsection",
|
|
129
|
+
"hint": "This section configures the button linking to this event when shown on the main site as a featured event.",
|
|
99
130
|
"fields": [
|
|
100
131
|
{
|
|
101
132
|
"name": "text",
|
|
@@ -278,6 +309,54 @@ const eventSiteSpec = {
|
|
|
278
309
|
"name": "tv_main_logo",
|
|
279
310
|
"type": "file",
|
|
280
311
|
"label": "Main Logo (TV)"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "main_page_banner",
|
|
315
|
+
"type": "subsection",
|
|
316
|
+
"fields": [
|
|
317
|
+
{
|
|
318
|
+
"name": "show",
|
|
319
|
+
"type": "checkbox"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"extensions": imageTypes,
|
|
323
|
+
"name": "image",
|
|
324
|
+
"type": "file"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"extensions": imageTypes,
|
|
328
|
+
"name": "image_mobile",
|
|
329
|
+
"label": "Image (Mobile)",
|
|
330
|
+
"type": "file"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "type",
|
|
334
|
+
"type": "select",
|
|
335
|
+
"options": [
|
|
336
|
+
"drop",
|
|
337
|
+
"marketplace",
|
|
338
|
+
"link"
|
|
339
|
+
],
|
|
340
|
+
"default_value": "marketplace",
|
|
341
|
+
"hint": "Specify what happens when clicking on the banner. The banner can link to a URL or a drop, or it can open the marketplace view."
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "marketplace_filters",
|
|
345
|
+
"type": "list",
|
|
346
|
+
"hint": "If the banner links to the marketplace, you can specify filters to apply when the marketplace is opened via the banner."
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "link",
|
|
350
|
+
"type": "text",
|
|
351
|
+
"hint": "If the banner is a link, specify the URL to link to."
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"label": "Drop UUID",
|
|
355
|
+
"name": "drop_uuid",
|
|
356
|
+
"type": "text",
|
|
357
|
+
"hint": "If the banner links to a drop, you can specify a specific drop to link to. If not specified, the banner will link to the next upcoming drop."
|
|
358
|
+
}
|
|
359
|
+
]
|
|
281
360
|
}
|
|
282
361
|
],
|
|
283
362
|
"name": "event_images",
|
|
@@ -294,6 +373,25 @@ const eventSiteSpec = {
|
|
|
294
373
|
}
|
|
295
374
|
]
|
|
296
375
|
},
|
|
376
|
+
{
|
|
377
|
+
"fields": [
|
|
378
|
+
{
|
|
379
|
+
"name": "title",
|
|
380
|
+
"type": "text"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "description",
|
|
384
|
+
"type": "textarea"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "location",
|
|
388
|
+
"type": "text"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"label": "Calendar Event",
|
|
392
|
+
"name": "calendar",
|
|
393
|
+
"type": "subsection"
|
|
394
|
+
},
|
|
297
395
|
{
|
|
298
396
|
"name": "sponsor_tagline",
|
|
299
397
|
"type": "text",
|
|
@@ -326,6 +424,92 @@ const eventSiteSpec = {
|
|
|
326
424
|
"name": "sponsors",
|
|
327
425
|
"type": "list"
|
|
328
426
|
},
|
|
427
|
+
{
|
|
428
|
+
"name": "social_media_links",
|
|
429
|
+
"type": "subsection",
|
|
430
|
+
"fields": [
|
|
431
|
+
{
|
|
432
|
+
"name": "youtube",
|
|
433
|
+
"type": "text"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "instagram",
|
|
437
|
+
"type": "text"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "twitter",
|
|
441
|
+
"type": "text"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "website",
|
|
445
|
+
"type": "text"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "facebook",
|
|
449
|
+
"type": "text"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "soundcloud",
|
|
453
|
+
"type": "text"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "apple_music",
|
|
457
|
+
"type": "text"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "spotify",
|
|
461
|
+
"type": "text"
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"fields": [
|
|
467
|
+
{
|
|
468
|
+
"name": "name",
|
|
469
|
+
"type": "text"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"fields": [
|
|
473
|
+
{
|
|
474
|
+
"hint": "A description displayed next to the 'Next' button when viewing the previous page.",
|
|
475
|
+
"name": "page_title",
|
|
476
|
+
"type": "text"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"extensions": imageTypes,
|
|
480
|
+
"name": "image",
|
|
481
|
+
"type": "file"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "text_color",
|
|
485
|
+
"type": "color",
|
|
486
|
+
"no_label": true,
|
|
487
|
+
"default_value": {
|
|
488
|
+
"color": "#000000",
|
|
489
|
+
"label": "Black"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "background_color",
|
|
494
|
+
"type": "color",
|
|
495
|
+
"no_label": true,
|
|
496
|
+
"default_value": {
|
|
497
|
+
"color": "#FFFFFF",
|
|
498
|
+
"label": "White"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "text",
|
|
503
|
+
"type": "rich_text"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"name": "pages",
|
|
507
|
+
"type": "list"
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"name": "event_descriptions",
|
|
511
|
+
"type": "list"
|
|
512
|
+
},
|
|
329
513
|
{
|
|
330
514
|
"fields": [
|
|
331
515
|
{
|
|
@@ -359,43 +543,545 @@ const eventSiteSpec = {
|
|
|
359
543
|
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
360
544
|
},
|
|
361
545
|
{
|
|
362
|
-
"name": "message_2",
|
|
363
|
-
"type": "textarea",
|
|
364
|
-
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
546
|
+
"name": "message_2",
|
|
547
|
+
"type": "textarea",
|
|
548
|
+
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"name": "event_landing_page",
|
|
552
|
+
"type": "subsection"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"fields": [
|
|
556
|
+
{
|
|
557
|
+
"name": "subheader",
|
|
558
|
+
"type": "text"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "header",
|
|
562
|
+
"type": "text"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "stream",
|
|
566
|
+
"type": "fabric_link",
|
|
567
|
+
"video_preview": true
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
"name": "stream_page",
|
|
571
|
+
"type": "subsection"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "footer_links",
|
|
575
|
+
"type": "list",
|
|
576
|
+
"hint": "Specify links to include in the footer of the event, such as privacy or terms policies. Each item can either be specified as a URL, rich text, or an HTML document. The two latter options will be shown in a modal when clicked.",
|
|
577
|
+
"fields": [
|
|
578
|
+
{
|
|
579
|
+
"name": "text",
|
|
580
|
+
"type": "text"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "url",
|
|
584
|
+
"label": "URL Link",
|
|
585
|
+
"type": "text"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"label": "Content (Rich Text)",
|
|
589
|
+
"name": "content_rich_text",
|
|
590
|
+
"type": "rich_text"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"label": "Content (HTML)",
|
|
594
|
+
"name": "content_html",
|
|
595
|
+
"type": "file",
|
|
596
|
+
"extensions": ["html"]
|
|
597
|
+
}
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "branding",
|
|
602
|
+
"label": "Custom Branding",
|
|
603
|
+
"type": "subsection",
|
|
604
|
+
"fields": [
|
|
605
|
+
{
|
|
606
|
+
"name": "get_started",
|
|
607
|
+
"label": "'Get Started' Button",
|
|
608
|
+
"type": "subsection",
|
|
609
|
+
"fields": [
|
|
610
|
+
{
|
|
611
|
+
"name": "text",
|
|
612
|
+
"type": "text",
|
|
613
|
+
"default_value": "Get Started"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "text_color",
|
|
617
|
+
"type": "color",
|
|
618
|
+
"no_label": true,
|
|
619
|
+
"default_value": {
|
|
620
|
+
"color": "#000000"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "background_color",
|
|
625
|
+
"type": "color",
|
|
626
|
+
"no_label": true,
|
|
627
|
+
"default_value": {
|
|
628
|
+
"color": "#d7bb73"
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
]
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "join_drop",
|
|
635
|
+
"label": "'Join the Drop' Button",
|
|
636
|
+
"type": "subsection",
|
|
637
|
+
"fields": [
|
|
638
|
+
{
|
|
639
|
+
"name": "text",
|
|
640
|
+
"type": "text",
|
|
641
|
+
"default_value": "Join the Drop"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "text_color",
|
|
645
|
+
"type": "color",
|
|
646
|
+
"no_label": true,
|
|
647
|
+
"default_value": {
|
|
648
|
+
"color": "#000000"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "background_color",
|
|
653
|
+
"type": "color",
|
|
654
|
+
"no_label": true,
|
|
655
|
+
"default_value": {
|
|
656
|
+
"color": "#d7bb73"
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "buy_tickets",
|
|
663
|
+
"label": "'Buy Tickets' Button",
|
|
664
|
+
"type": "subsection",
|
|
665
|
+
"fields": [
|
|
666
|
+
{
|
|
667
|
+
"name": "text",
|
|
668
|
+
"type": "text",
|
|
669
|
+
"default_value": "Buy Tickets"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "text_color",
|
|
673
|
+
"type": "color",
|
|
674
|
+
"no_label": true,
|
|
675
|
+
"default_value": {
|
|
676
|
+
"color": "#FFFFFF"
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "background_color",
|
|
681
|
+
"type": "color",
|
|
682
|
+
"no_label": true,
|
|
683
|
+
"default_value": {
|
|
684
|
+
"color": "#000000"
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
]
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "watch_promo",
|
|
691
|
+
"label": "'Watch Promo' Button",
|
|
692
|
+
"type": "subsection",
|
|
693
|
+
"fields": [
|
|
694
|
+
{
|
|
695
|
+
"name": "text",
|
|
696
|
+
"type": "text",
|
|
697
|
+
"default_value": "Watch Promo"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "text_color",
|
|
701
|
+
"type": "color",
|
|
702
|
+
"no_label": true,
|
|
703
|
+
"default_value": {
|
|
704
|
+
"color": "#000000"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "background_color",
|
|
709
|
+
"type": "color",
|
|
710
|
+
"no_label": true,
|
|
711
|
+
"default_value": {
|
|
712
|
+
"color": "#d7bb73"
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
]
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "show_faq",
|
|
721
|
+
"label": "Show FAQ",
|
|
722
|
+
"type": "checkbox",
|
|
723
|
+
"default_value": true
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"name": "faq",
|
|
727
|
+
"label": "FAQ",
|
|
728
|
+
"hint": "Specify a custom FAQ. If blank, the default FAQ will be displayed",
|
|
729
|
+
"type": "list",
|
|
730
|
+
"fields": [
|
|
731
|
+
{
|
|
732
|
+
"name": "question",
|
|
733
|
+
"type": "text"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "answer",
|
|
737
|
+
"type": "textarea"
|
|
738
|
+
}
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
{
|
|
746
|
+
"label": "Tickets, Products and Coupons",
|
|
747
|
+
"name": "header_tickets_products_coupons",
|
|
748
|
+
"type": "header"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "shipping_countries",
|
|
752
|
+
"type": "multiselect",
|
|
753
|
+
"no_localize": true,
|
|
754
|
+
"hint": "Countries to which merchandise shipment is available",
|
|
755
|
+
"default_value": ["US: United States of America"],
|
|
756
|
+
"options": countryOptions
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "payment_currencies",
|
|
760
|
+
"type": "multiselect",
|
|
761
|
+
"no_localize": true,
|
|
762
|
+
"hint": "List of accepted currencies for tickets and merchandise",
|
|
763
|
+
"default_value": ["USD"],
|
|
764
|
+
"options": currencyOptions
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "free",
|
|
768
|
+
"type": "checkbox",
|
|
769
|
+
"no_localize": true,
|
|
770
|
+
"hint": "If specified, the event is free for all users and tickets will not be necessary."
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"fields": [
|
|
774
|
+
{
|
|
775
|
+
"name": "coupon_mode",
|
|
776
|
+
"type": "checkbox",
|
|
777
|
+
"no_localize": true,
|
|
778
|
+
"hint": "If specified, coupon redemption will be available"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "redemption_message",
|
|
782
|
+
"type": "text",
|
|
783
|
+
"hint": "Text to be displayed on coupon redemption page"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "event_page_message_1",
|
|
787
|
+
"type": "text",
|
|
788
|
+
"hint": "Text to be displayed on event page after redemption"
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "event_page_message_2",
|
|
792
|
+
"type": "text",
|
|
793
|
+
"hint": "Text to be displayed on event page after redemption"
|
|
794
|
+
}
|
|
795
|
+
],
|
|
796
|
+
"name": "coupon_redemption",
|
|
797
|
+
"type": "subsection"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"fields": [
|
|
801
|
+
{
|
|
802
|
+
"name": "name",
|
|
803
|
+
"type": "text"
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"label": "Item ID",
|
|
807
|
+
"name": "uuid",
|
|
808
|
+
"no_localize": true,
|
|
809
|
+
"type": "uuid"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "hidden",
|
|
813
|
+
"type": "checkbox",
|
|
814
|
+
"no_localize": true,
|
|
815
|
+
"hint": "If checked, this ticket class will not be displayed and won't be available for purchase."
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"name": "release_date",
|
|
819
|
+
"type": "datetime",
|
|
820
|
+
"no_localize": true,
|
|
821
|
+
"hint": "If the tickets should not be available for purchase immediately, specify a release date"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "requires_shipping",
|
|
825
|
+
"type": "checkbox",
|
|
826
|
+
"no_localize": true,
|
|
827
|
+
"hint": "If checked, shipping information and taxes will be collected for purchases of this ticket class."
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "description",
|
|
831
|
+
"type": "textarea"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"extensions": imageTypes,
|
|
835
|
+
"name": "image",
|
|
836
|
+
"type": "file"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"fields": [
|
|
840
|
+
{
|
|
841
|
+
"name": "label",
|
|
842
|
+
"type": "text"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"label": "Item ID",
|
|
846
|
+
"name": "uuid",
|
|
847
|
+
"type": "uuid",
|
|
848
|
+
"no_localize": true,
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "hidden",
|
|
852
|
+
"type": "checkbox",
|
|
853
|
+
"no_localize": true,
|
|
854
|
+
"hint": "If checked, this ticket SKU will not be displayed and won't be available for purchase."
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"label": "NTP ID",
|
|
858
|
+
"name": "otp_id",
|
|
859
|
+
"no_localize": true,
|
|
860
|
+
"type": "ntp_id"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"name": "start_time",
|
|
864
|
+
"type": "datetime",
|
|
865
|
+
"no_localize": true,
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"label": "Start Time (Text)",
|
|
869
|
+
"hint": "This label will be displayed in emails where time zone localization is not possible.",
|
|
870
|
+
"name": "start_time_text",
|
|
871
|
+
"type": "text"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "end_time",
|
|
875
|
+
"type": "datetime",
|
|
876
|
+
"no_localize": true,
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "price",
|
|
880
|
+
"type": "reference_subsection",
|
|
881
|
+
"no_localize": true,
|
|
882
|
+
"reference": "/payment_currencies",
|
|
883
|
+
"value_type": "number",
|
|
884
|
+
"hint": "Available price currencies are based on the 'Payment Currencies' field above",
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"name": "external_url",
|
|
888
|
+
"hint": "External URL from which to purchase this ticket. If specified, the payment information below is not required."
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"label": "SKUs",
|
|
892
|
+
"name": "skus",
|
|
893
|
+
"type": "list"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"name": "tickets",
|
|
897
|
+
"type": "list"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"fields": [
|
|
901
|
+
{
|
|
902
|
+
"name": "type",
|
|
903
|
+
"options": [
|
|
904
|
+
"merchandise",
|
|
905
|
+
"donation"
|
|
906
|
+
],
|
|
907
|
+
"type": "select",
|
|
908
|
+
"no_localize": true,
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "name",
|
|
912
|
+
"type": "text"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"label": "Item ID",
|
|
916
|
+
"name": "uuid",
|
|
917
|
+
"type": "uuid",
|
|
918
|
+
"no_localize": true,
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "description",
|
|
922
|
+
"type": "textarea"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"fields": [
|
|
926
|
+
{
|
|
927
|
+
"extensions": imageTypes,
|
|
928
|
+
"name": "image",
|
|
929
|
+
"type": "file"
|
|
930
|
+
}
|
|
931
|
+
],
|
|
932
|
+
"name": "images",
|
|
933
|
+
"type": "list"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "price",
|
|
937
|
+
"type": "reference_subsection",
|
|
938
|
+
"no_localize": true,
|
|
939
|
+
"reference": "/payment_currencies",
|
|
940
|
+
"value_type": "number",
|
|
941
|
+
"hint": "Available price currencies are based on the 'Payment Currencies' field above",
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "featured",
|
|
945
|
+
"type": "checkbox",
|
|
946
|
+
"no_localize": true,
|
|
947
|
+
"hint": "A featured item will be shown at checkout."
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"fields": [
|
|
951
|
+
{
|
|
952
|
+
"name": "name",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"name": "type",
|
|
956
|
+
"type": "select",
|
|
957
|
+
"options": [
|
|
958
|
+
"text",
|
|
959
|
+
"color",
|
|
960
|
+
"number"
|
|
961
|
+
]
|
|
962
|
+
}
|
|
963
|
+
],
|
|
964
|
+
"hint": "Specify the characteristics each variation of this product has, for example 'Size' and 'Color'",
|
|
965
|
+
"name": "option_fields",
|
|
966
|
+
"no_localize": true,
|
|
967
|
+
"type": "list"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "product_options",
|
|
971
|
+
"type": "reference_list",
|
|
972
|
+
"no_localize": true,
|
|
973
|
+
"reference": "./option_fields",
|
|
974
|
+
"fields": [
|
|
975
|
+
{
|
|
976
|
+
"label": "SKU ID",
|
|
977
|
+
"name": "uuid",
|
|
978
|
+
"type": "uuid"
|
|
979
|
+
}
|
|
980
|
+
]
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
"name": "products",
|
|
984
|
+
"type": "list"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"fields": [
|
|
988
|
+
{
|
|
989
|
+
"name": "title",
|
|
990
|
+
"type": "text"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "description",
|
|
994
|
+
"type": "textarea"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "release_date",
|
|
998
|
+
"type": "datetime",
|
|
999
|
+
"no_localize": true,
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"extensions": imageTypes,
|
|
1003
|
+
"name": "image",
|
|
1004
|
+
"type": "file"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "package",
|
|
1008
|
+
"type": "fabric_link",
|
|
1009
|
+
"no_localize": true,
|
|
365
1010
|
}
|
|
366
1011
|
],
|
|
367
|
-
"name": "
|
|
368
|
-
"type": "
|
|
1012
|
+
"name": "extras",
|
|
1013
|
+
"type": "list"
|
|
369
1014
|
},
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
370
1020
|
{
|
|
371
|
-
"
|
|
1021
|
+
"label": "Drops",
|
|
1022
|
+
"name": "header_drops",
|
|
1023
|
+
"type": "header"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "hide_upcoming_events",
|
|
1027
|
+
"type": "checkbox",
|
|
1028
|
+
"default_value": false
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"name": "marketplace_drops",
|
|
372
1032
|
"type": "list",
|
|
373
|
-
"hint": "Specify links to include in the footer of the event, such as privacy or terms policies. Each item can either be specified as a URL, rich text, or an HTML document. The two latter options will be shown in a modal when clicked.",
|
|
374
1033
|
"fields": [
|
|
375
1034
|
{
|
|
376
|
-
"name": "
|
|
377
|
-
"
|
|
1035
|
+
"name": "uuid",
|
|
1036
|
+
"label": "Drop ID",
|
|
1037
|
+
"type": "uuid",
|
|
1038
|
+
"no_localize": true
|
|
378
1039
|
},
|
|
379
1040
|
{
|
|
380
|
-
"name": "
|
|
381
|
-
"
|
|
382
|
-
"
|
|
1041
|
+
"name": "event_header",
|
|
1042
|
+
"type": "text",
|
|
1043
|
+
"hint": "Used when displayed in upcoming events"
|
|
383
1044
|
},
|
|
384
1045
|
{
|
|
385
|
-
"
|
|
386
|
-
"
|
|
387
|
-
"
|
|
1046
|
+
"name": "event_image",
|
|
1047
|
+
"type": "file",
|
|
1048
|
+
"extensions": imageTypes,
|
|
1049
|
+
"hint": "Used when displayed in upcoming events"
|
|
388
1050
|
},
|
|
389
1051
|
{
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
|
|
1052
|
+
"name": "start_date",
|
|
1053
|
+
"type": "datetime",
|
|
1054
|
+
"no_localize": true
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "store_filters",
|
|
1058
|
+
"type": "list",
|
|
1059
|
+
"hint": "After the drop, the wallet panel will be redirected to the store. Use these fields to filter the items shown for users who voted"
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"fields": [
|
|
1063
|
+
{
|
|
1064
|
+
"name": "title",
|
|
1065
|
+
"type": "text"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "description",
|
|
1069
|
+
"type": "textarea"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "location",
|
|
1073
|
+
"type": "text"
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
"label": "Calendar Event Info",
|
|
1077
|
+
"name": "calendar",
|
|
1078
|
+
"type": "subsection"
|
|
394
1079
|
}
|
|
395
1080
|
]
|
|
396
1081
|
},
|
|
397
1082
|
{
|
|
398
1083
|
"name": "drops",
|
|
1084
|
+
"label": "Drop Events",
|
|
399
1085
|
"type": "list",
|
|
400
1086
|
"fields": [
|
|
401
1087
|
{
|
|
@@ -409,6 +1095,11 @@ const eventSiteSpec = {
|
|
|
409
1095
|
"type": "checkbox",
|
|
410
1096
|
"default_value": true
|
|
411
1097
|
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "requires_ticket",
|
|
1100
|
+
"type": "checkbox",
|
|
1101
|
+
"default_value": false
|
|
1102
|
+
},
|
|
412
1103
|
{
|
|
413
1104
|
"name": "event_header",
|
|
414
1105
|
"type": "text",
|
|
@@ -436,11 +1127,23 @@ const eventSiteSpec = {
|
|
|
436
1127
|
"hint": "If specified, users will be able to vote on the available NFTs",
|
|
437
1128
|
"default_value": true
|
|
438
1129
|
},
|
|
1130
|
+
{
|
|
1131
|
+
"name": "minting_animation",
|
|
1132
|
+
"type": "fabric_link",
|
|
1133
|
+
"video_preview": true,
|
|
1134
|
+
"hint": "If specified, this video will play on the status screen while waiting for NFTs to mint"
|
|
1135
|
+
},
|
|
439
1136
|
{
|
|
440
1137
|
"name": "store_filters",
|
|
441
1138
|
"type": "list",
|
|
442
1139
|
"hint": "After the drop, the wallet panel will be redirected to the store. Use these fields to filter the items shown"
|
|
443
1140
|
},
|
|
1141
|
+
{
|
|
1142
|
+
"name": "store_filters_no_vote",
|
|
1143
|
+
"label": "Store Filters (No Vote)",
|
|
1144
|
+
"type": "list",
|
|
1145
|
+
"hint": "After the drop, the wallet panel will be redirected to the store. Use these fields to filter the items shown for users who have not voted"
|
|
1146
|
+
},
|
|
444
1147
|
{
|
|
445
1148
|
"name": "drop_header",
|
|
446
1149
|
"type": "text",
|
|
@@ -812,112 +1515,109 @@ const eventSiteSpec = {
|
|
|
812
1515
|
}
|
|
813
1516
|
]
|
|
814
1517
|
},
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
{
|
|
1524
|
+
"label": "Search and Analytics",
|
|
1525
|
+
"name": "header_search_and_analytics",
|
|
1526
|
+
"type": "header"
|
|
1527
|
+
},
|
|
815
1528
|
{
|
|
816
|
-
"name": "branding",
|
|
817
|
-
"label": "Custom Branding",
|
|
818
|
-
"type": "subsection",
|
|
819
1529
|
"fields": [
|
|
820
1530
|
{
|
|
821
|
-
"name": "
|
|
822
|
-
"
|
|
823
|
-
|
|
1531
|
+
"name": "name",
|
|
1532
|
+
"type": "text"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"name": "description",
|
|
1536
|
+
"type": "textarea"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"name": "location",
|
|
1540
|
+
"type": "text"
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "type",
|
|
1544
|
+
"type": "select",
|
|
1545
|
+
"options": ["Online Only", "Online and In-Person"]
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "images",
|
|
1549
|
+
"type": "list",
|
|
1550
|
+
"fields": [{
|
|
1551
|
+
"name": "image",
|
|
1552
|
+
"type": "file",
|
|
1553
|
+
"extensions": imageTypes
|
|
1554
|
+
}]
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "performers",
|
|
1558
|
+
"type": "list",
|
|
824
1559
|
"fields": [
|
|
825
1560
|
{
|
|
826
|
-
"name": "
|
|
827
|
-
"type": "text"
|
|
828
|
-
"default_value": "Get Started"
|
|
1561
|
+
"name": "name",
|
|
1562
|
+
"type": "text"
|
|
829
1563
|
},
|
|
830
1564
|
{
|
|
831
|
-
"name": "
|
|
832
|
-
"
|
|
833
|
-
"
|
|
834
|
-
"default_value": {
|
|
835
|
-
"color": "#000000"
|
|
836
|
-
}
|
|
1565
|
+
"name": "url",
|
|
1566
|
+
"label": "URL",
|
|
1567
|
+
"type": "text"
|
|
837
1568
|
},
|
|
838
1569
|
{
|
|
839
|
-
"name": "
|
|
840
|
-
"type": "
|
|
841
|
-
"
|
|
842
|
-
"default_value": {
|
|
843
|
-
"color": "#d7bb73"
|
|
844
|
-
}
|
|
1570
|
+
"name": "image",
|
|
1571
|
+
"type": "file",
|
|
1572
|
+
"extensions": imageTypes
|
|
845
1573
|
}
|
|
846
1574
|
]
|
|
847
1575
|
},
|
|
848
1576
|
{
|
|
849
|
-
"name": "
|
|
850
|
-
"
|
|
851
|
-
"type": "subsection",
|
|
1577
|
+
"name": "organizers",
|
|
1578
|
+
"type": "list",
|
|
852
1579
|
"fields": [
|
|
853
1580
|
{
|
|
854
|
-
"name": "
|
|
855
|
-
"type": "text"
|
|
856
|
-
"default_value": "Join the Drop"
|
|
1581
|
+
"name": "name",
|
|
1582
|
+
"type": "text"
|
|
857
1583
|
},
|
|
858
1584
|
{
|
|
859
|
-
"name": "
|
|
860
|
-
"
|
|
861
|
-
"
|
|
862
|
-
"default_value": {
|
|
863
|
-
"color": "#000000"
|
|
864
|
-
}
|
|
1585
|
+
"name": "url",
|
|
1586
|
+
"label": "URL",
|
|
1587
|
+
"type": "text"
|
|
865
1588
|
},
|
|
866
1589
|
{
|
|
867
|
-
"name": "
|
|
868
|
-
"type": "
|
|
869
|
-
"
|
|
870
|
-
"default_value": {
|
|
871
|
-
"color": "#d7bb73"
|
|
872
|
-
}
|
|
1590
|
+
"name": "image",
|
|
1591
|
+
"type": "file",
|
|
1592
|
+
"extensions": imageTypes
|
|
873
1593
|
}
|
|
874
1594
|
]
|
|
875
1595
|
},
|
|
876
1596
|
{
|
|
877
|
-
"name": "
|
|
878
|
-
"
|
|
879
|
-
"type": "subsection",
|
|
1597
|
+
"name": "showings",
|
|
1598
|
+
"type": "list",
|
|
880
1599
|
"fields": [
|
|
881
1600
|
{
|
|
882
|
-
"name": "
|
|
883
|
-
"type": "text"
|
|
884
|
-
"default_value": "Watch Promo"
|
|
1601
|
+
"name": "name",
|
|
1602
|
+
"type": "text"
|
|
885
1603
|
},
|
|
886
1604
|
{
|
|
887
|
-
"name": "
|
|
888
|
-
"type": "
|
|
889
|
-
"
|
|
890
|
-
"default_value": {
|
|
891
|
-
"color": "#FFFFFF"
|
|
892
|
-
}
|
|
1605
|
+
"name": "start_time",
|
|
1606
|
+
"type": "datetime",
|
|
1607
|
+
"hint": "Make sure this time exactly matches the corresponding ticket SKU start times"
|
|
893
1608
|
},
|
|
894
1609
|
{
|
|
895
|
-
"name": "
|
|
896
|
-
"type": "
|
|
897
|
-
"no_label": true,
|
|
898
|
-
"default_value": {
|
|
899
|
-
"color": "#000000"
|
|
900
|
-
}
|
|
1610
|
+
"name": "end_time",
|
|
1611
|
+
"type": "datetime"
|
|
901
1612
|
}
|
|
902
1613
|
]
|
|
903
1614
|
}
|
|
904
|
-
]
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
"
|
|
908
|
-
"
|
|
909
|
-
"
|
|
910
|
-
"type": "list",
|
|
911
|
-
"fields": [
|
|
912
|
-
{
|
|
913
|
-
"name": "question",
|
|
914
|
-
"type": "text"
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"name": "answer",
|
|
918
|
-
"type": "textarea"
|
|
919
|
-
}
|
|
920
|
-
]
|
|
1615
|
+
],
|
|
1616
|
+
"label": "Search Listing Info",
|
|
1617
|
+
"name": "search_data",
|
|
1618
|
+
"type": "subsection",
|
|
1619
|
+
"hint": "This information will be used to populate data used by search engines for displaying this event",
|
|
1620
|
+
"no_localize": true
|
|
921
1621
|
},
|
|
922
1622
|
{
|
|
923
1623
|
"name": "analytics_ids",
|
|
@@ -959,52 +1659,6 @@ const eventSiteSpec = {
|
|
|
959
1659
|
]
|
|
960
1660
|
}
|
|
961
1661
|
]
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
"fields": [
|
|
965
|
-
{
|
|
966
|
-
"name": "name",
|
|
967
|
-
"type": "text"
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"name": "description",
|
|
971
|
-
"type": "textarea"
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
"name": "images",
|
|
975
|
-
"type": "list",
|
|
976
|
-
"fields": [{
|
|
977
|
-
"name": "image",
|
|
978
|
-
"type": "file",
|
|
979
|
-
"extensions": imageTypes
|
|
980
|
-
}]
|
|
981
|
-
},
|
|
982
|
-
{
|
|
983
|
-
"name": "organizers",
|
|
984
|
-
"type": "list",
|
|
985
|
-
"fields": [
|
|
986
|
-
{
|
|
987
|
-
"name": "name",
|
|
988
|
-
"type": "text"
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
"name": "url",
|
|
992
|
-
"label": "URL",
|
|
993
|
-
"type": "text"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
"name": "image",
|
|
997
|
-
"type": "file",
|
|
998
|
-
"extensions": imageTypes
|
|
999
|
-
}
|
|
1000
|
-
]
|
|
1001
|
-
}
|
|
1002
|
-
],
|
|
1003
|
-
"label": "Search Listing Info",
|
|
1004
|
-
"name": "search_data",
|
|
1005
|
-
"type": "subsection",
|
|
1006
|
-
"hint": "This information will be used to populate data used by search engines for displaying this event",
|
|
1007
|
-
"no_localize": true
|
|
1008
1662
|
}
|
|
1009
1663
|
]
|
|
1010
1664
|
};
|