@eluvio/elv-client-js 3.1.73 → 3.1.77
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 +5 -5
- package/dist/ElvClient-node-min.js +9 -9
- package/dist/ElvFrameClient-min.js +4 -4
- package/dist/src/AuthorizationClient.js +24 -14
- package/dist/src/EthClient.js +21 -11
- package/dist/src/FrameClient.js +1 -1
- package/dist/src/client/ABRPublishing.js +30 -9
- package/dist/src/client/ContentAccess.js +36 -27
- package/dist/src/client/ContentManagement.js +770 -537
- package/dist/src/client/Files.js +72 -50
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/AuthorizationClient.js +4 -1
- package/src/EthClient.js +2 -0
- package/src/FrameClient.js +1 -0
- package/src/client/ABRPublishing.js +18 -3
- 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 +692 -185
- package/typeSpecs/Marketplace.js +4 -0
- package/utilities/MezzanineCreate.js +2 -2
|
@@ -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",
|
|
@@ -302,18 +333,28 @@ const eventSiteSpec = {
|
|
|
302
333
|
"name": "type",
|
|
303
334
|
"type": "select",
|
|
304
335
|
"options": [
|
|
336
|
+
"drop",
|
|
305
337
|
"marketplace",
|
|
306
338
|
"link"
|
|
307
339
|
],
|
|
308
|
-
"default_value": "marketplace"
|
|
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."
|
|
309
342
|
},
|
|
310
343
|
{
|
|
311
344
|
"name": "marketplace_filters",
|
|
312
|
-
"type": "list"
|
|
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."
|
|
313
347
|
},
|
|
314
348
|
{
|
|
315
349
|
"name": "link",
|
|
316
|
-
"type": "text"
|
|
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."
|
|
317
358
|
}
|
|
318
359
|
]
|
|
319
360
|
}
|
|
@@ -332,6 +373,25 @@ const eventSiteSpec = {
|
|
|
332
373
|
}
|
|
333
374
|
]
|
|
334
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
|
+
},
|
|
335
395
|
{
|
|
336
396
|
"name": "sponsor_tagline",
|
|
337
397
|
"type": "text",
|
|
@@ -364,6 +424,92 @@ const eventSiteSpec = {
|
|
|
364
424
|
"name": "sponsors",
|
|
365
425
|
"type": "list"
|
|
366
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
|
+
},
|
|
367
513
|
{
|
|
368
514
|
"fields": [
|
|
369
515
|
{
|
|
@@ -383,54 +529,503 @@ const eventSiteSpec = {
|
|
|
383
529
|
"extensions": imageTypes
|
|
384
530
|
},
|
|
385
531
|
{
|
|
386
|
-
"name": "header_text",
|
|
387
|
-
"type": "text"
|
|
532
|
+
"name": "header_text",
|
|
533
|
+
"type": "text"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "show_countdown",
|
|
537
|
+
"type": "checkbox",
|
|
538
|
+
"default_value": true
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "message_1",
|
|
542
|
+
"type": "textarea",
|
|
543
|
+
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
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",
|
|
388
942
|
},
|
|
389
943
|
{
|
|
390
|
-
"name": "
|
|
944
|
+
"name": "featured",
|
|
391
945
|
"type": "checkbox",
|
|
392
|
-
"
|
|
946
|
+
"no_localize": true,
|
|
947
|
+
"hint": "A featured item will be shown at checkout."
|
|
393
948
|
},
|
|
394
949
|
{
|
|
395
|
-
"
|
|
396
|
-
|
|
397
|
-
|
|
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"
|
|
398
968
|
},
|
|
399
969
|
{
|
|
400
|
-
"name": "
|
|
401
|
-
"type": "
|
|
402
|
-
"
|
|
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
|
+
]
|
|
403
981
|
}
|
|
404
982
|
],
|
|
405
|
-
"name": "
|
|
406
|
-
"type": "
|
|
983
|
+
"name": "products",
|
|
984
|
+
"type": "list"
|
|
407
985
|
},
|
|
408
986
|
{
|
|
409
|
-
"name": "footer_links",
|
|
410
|
-
"type": "list",
|
|
411
|
-
"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.",
|
|
412
987
|
"fields": [
|
|
413
988
|
{
|
|
414
|
-
"name": "
|
|
989
|
+
"name": "title",
|
|
415
990
|
"type": "text"
|
|
416
991
|
},
|
|
417
992
|
{
|
|
418
|
-
"name": "
|
|
419
|
-
"
|
|
420
|
-
"type": "text"
|
|
993
|
+
"name": "description",
|
|
994
|
+
"type": "textarea"
|
|
421
995
|
},
|
|
422
996
|
{
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"
|
|
997
|
+
"name": "release_date",
|
|
998
|
+
"type": "datetime",
|
|
999
|
+
"no_localize": true,
|
|
426
1000
|
},
|
|
427
1001
|
{
|
|
428
|
-
"
|
|
429
|
-
"name": "
|
|
430
|
-
"type": "file"
|
|
431
|
-
|
|
1002
|
+
"extensions": imageTypes,
|
|
1003
|
+
"name": "image",
|
|
1004
|
+
"type": "file"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "package",
|
|
1008
|
+
"type": "fabric_link",
|
|
1009
|
+
"no_localize": true,
|
|
432
1010
|
}
|
|
433
|
-
]
|
|
1011
|
+
],
|
|
1012
|
+
"name": "extras",
|
|
1013
|
+
"type": "list"
|
|
1014
|
+
},
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
{
|
|
1021
|
+
"label": "Drops",
|
|
1022
|
+
"name": "header_drops",
|
|
1023
|
+
"type": "header"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "hide_upcoming_events",
|
|
1027
|
+
"type": "checkbox",
|
|
1028
|
+
"default_value": false
|
|
434
1029
|
},
|
|
435
1030
|
{
|
|
436
1031
|
"name": "marketplace_drops",
|
|
@@ -500,6 +1095,11 @@ const eventSiteSpec = {
|
|
|
500
1095
|
"type": "checkbox",
|
|
501
1096
|
"default_value": true
|
|
502
1097
|
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "requires_ticket",
|
|
1100
|
+
"type": "checkbox",
|
|
1101
|
+
"default_value": false
|
|
1102
|
+
},
|
|
503
1103
|
{
|
|
504
1104
|
"name": "event_header",
|
|
505
1105
|
"type": "text",
|
|
@@ -915,166 +1515,34 @@ const eventSiteSpec = {
|
|
|
915
1515
|
}
|
|
916
1516
|
]
|
|
917
1517
|
},
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
|
|
918
1523
|
{
|
|
919
|
-
"
|
|
920
|
-
"
|
|
921
|
-
"type": "
|
|
922
|
-
"fields": [
|
|
923
|
-
{
|
|
924
|
-
"name": "get_started",
|
|
925
|
-
"label": "'Get Started' Button",
|
|
926
|
-
"type": "subsection",
|
|
927
|
-
"fields": [
|
|
928
|
-
{
|
|
929
|
-
"name": "text",
|
|
930
|
-
"type": "text",
|
|
931
|
-
"default_value": "Get Started"
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"name": "text_color",
|
|
935
|
-
"type": "color",
|
|
936
|
-
"no_label": true,
|
|
937
|
-
"default_value": {
|
|
938
|
-
"color": "#000000"
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
{
|
|
942
|
-
"name": "background_color",
|
|
943
|
-
"type": "color",
|
|
944
|
-
"no_label": true,
|
|
945
|
-
"default_value": {
|
|
946
|
-
"color": "#d7bb73"
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
]
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
"name": "join_drop",
|
|
953
|
-
"label": "'Join the Drop' Button",
|
|
954
|
-
"type": "subsection",
|
|
955
|
-
"fields": [
|
|
956
|
-
{
|
|
957
|
-
"name": "text",
|
|
958
|
-
"type": "text",
|
|
959
|
-
"default_value": "Join the Drop"
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
"name": "text_color",
|
|
963
|
-
"type": "color",
|
|
964
|
-
"no_label": true,
|
|
965
|
-
"default_value": {
|
|
966
|
-
"color": "#000000"
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"name": "background_color",
|
|
971
|
-
"type": "color",
|
|
972
|
-
"no_label": true,
|
|
973
|
-
"default_value": {
|
|
974
|
-
"color": "#d7bb73"
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
]
|
|
978
|
-
},
|
|
979
|
-
{
|
|
980
|
-
"name": "watch_promo",
|
|
981
|
-
"label": "'Watch Promo' Button",
|
|
982
|
-
"type": "subsection",
|
|
983
|
-
"fields": [
|
|
984
|
-
{
|
|
985
|
-
"name": "text",
|
|
986
|
-
"type": "text",
|
|
987
|
-
"default_value": "Watch Promo"
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"name": "text_color",
|
|
991
|
-
"type": "color",
|
|
992
|
-
"no_label": true,
|
|
993
|
-
"default_value": {
|
|
994
|
-
"color": "#FFFFFF"
|
|
995
|
-
}
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"name": "background_color",
|
|
999
|
-
"type": "color",
|
|
1000
|
-
"no_label": true,
|
|
1001
|
-
"default_value": {
|
|
1002
|
-
"color": "#000000"
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
]
|
|
1006
|
-
}
|
|
1007
|
-
]
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
"name": "show_faq",
|
|
1011
|
-
"label": "Show FAQ",
|
|
1012
|
-
"type": "checkbox",
|
|
1013
|
-
"default_value": true
|
|
1524
|
+
"label": "Search and Analytics",
|
|
1525
|
+
"name": "header_search_and_analytics",
|
|
1526
|
+
"type": "header"
|
|
1014
1527
|
},
|
|
1015
1528
|
{
|
|
1016
|
-
"name": "faq",
|
|
1017
|
-
"label": "FAQ",
|
|
1018
|
-
"hint": "Specify a custom FAQ. If blank, the default FAQ will be displayed",
|
|
1019
|
-
"type": "list",
|
|
1020
1529
|
"fields": [
|
|
1021
1530
|
{
|
|
1022
|
-
"name": "
|
|
1531
|
+
"name": "name",
|
|
1023
1532
|
"type": "text"
|
|
1024
1533
|
},
|
|
1025
1534
|
{
|
|
1026
|
-
"name": "
|
|
1535
|
+
"name": "description",
|
|
1027
1536
|
"type": "textarea"
|
|
1028
|
-
}
|
|
1029
|
-
]
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"name": "social_media_links",
|
|
1033
|
-
"type": "subsection",
|
|
1034
|
-
"fields": [
|
|
1035
|
-
{
|
|
1036
|
-
"name": "youtube",
|
|
1037
|
-
"type": "text"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "instagram",
|
|
1041
|
-
"type": "text"
|
|
1042
1537
|
},
|
|
1043
1538
|
{
|
|
1044
|
-
"name": "
|
|
1045
|
-
"type": "text"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"name": "website",
|
|
1049
|
-
"type": "text"
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
"name": "facebook",
|
|
1053
|
-
"type": "text"
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
"name": "soundcloud",
|
|
1057
|
-
"type": "text"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"name": "apple_music",
|
|
1061
|
-
"type": "text"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "spotify",
|
|
1065
|
-
"type": "text"
|
|
1066
|
-
}
|
|
1067
|
-
]
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
"fields": [
|
|
1071
|
-
{
|
|
1072
|
-
"name": "name",
|
|
1539
|
+
"name": "location",
|
|
1073
1540
|
"type": "text"
|
|
1074
1541
|
},
|
|
1075
1542
|
{
|
|
1076
|
-
"name": "
|
|
1077
|
-
"type": "
|
|
1543
|
+
"name": "type",
|
|
1544
|
+
"type": "select",
|
|
1545
|
+
"options": ["Online Only", "Online and In-Person"]
|
|
1078
1546
|
},
|
|
1079
1547
|
{
|
|
1080
1548
|
"name": "images",
|
|
@@ -1085,6 +1553,26 @@ const eventSiteSpec = {
|
|
|
1085
1553
|
"extensions": imageTypes
|
|
1086
1554
|
}]
|
|
1087
1555
|
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "performers",
|
|
1558
|
+
"type": "list",
|
|
1559
|
+
"fields": [
|
|
1560
|
+
{
|
|
1561
|
+
"name": "name",
|
|
1562
|
+
"type": "text"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "url",
|
|
1566
|
+
"label": "URL",
|
|
1567
|
+
"type": "text"
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
"name": "image",
|
|
1571
|
+
"type": "file",
|
|
1572
|
+
"extensions": imageTypes
|
|
1573
|
+
}
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1088
1576
|
{
|
|
1089
1577
|
"name": "organizers",
|
|
1090
1578
|
"type": "list",
|
|
@@ -1104,6 +1592,25 @@ const eventSiteSpec = {
|
|
|
1104
1592
|
"extensions": imageTypes
|
|
1105
1593
|
}
|
|
1106
1594
|
]
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"name": "showings",
|
|
1598
|
+
"type": "list",
|
|
1599
|
+
"fields": [
|
|
1600
|
+
{
|
|
1601
|
+
"name": "name",
|
|
1602
|
+
"type": "text"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "start_time",
|
|
1606
|
+
"type": "datetime",
|
|
1607
|
+
"hint": "Make sure this time exactly matches the corresponding ticket SKU start times"
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"name": "end_time",
|
|
1611
|
+
"type": "datetime"
|
|
1612
|
+
}
|
|
1613
|
+
]
|
|
1107
1614
|
}
|
|
1108
1615
|
],
|
|
1109
1616
|
"label": "Search Listing Info",
|