@semics-tech/emdash-events-pro 1.0.0-rc.0 → 1.0.0-rc.1
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/dist/index.mjs +62 -1
- package/dist/manifest.json +62 -1
- package/dist/plugin.mjs +14 -12
- package/emdash-plugin.jsonc +40 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/** @type {import("emdash").PluginDescriptor} */
|
|
8
8
|
const descriptor = Object.freeze({
|
|
9
9
|
"id": "semics-events",
|
|
10
|
-
"version": "1.0.0-rc.
|
|
10
|
+
"version": "1.0.0-rc.1",
|
|
11
11
|
"format": "standard",
|
|
12
12
|
"entrypoint": "@semics-tech/emdash-events-pro/sandbox",
|
|
13
13
|
"capabilities": [
|
|
@@ -270,6 +270,27 @@ const descriptor = Object.freeze({
|
|
|
270
270
|
],
|
|
271
271
|
"public": true
|
|
272
272
|
},
|
|
273
|
+
{
|
|
274
|
+
"name": "public/booking/attendees",
|
|
275
|
+
"methods": [
|
|
276
|
+
"POST"
|
|
277
|
+
],
|
|
278
|
+
"public": true
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "public/booking/attendees/sign",
|
|
282
|
+
"methods": [
|
|
283
|
+
"POST"
|
|
284
|
+
],
|
|
285
|
+
"public": true
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "public/booking/attendees/resend",
|
|
289
|
+
"methods": [
|
|
290
|
+
"POST"
|
|
291
|
+
],
|
|
292
|
+
"public": true
|
|
293
|
+
},
|
|
273
294
|
{
|
|
274
295
|
"name": "pro/reports/export",
|
|
275
296
|
"methods": [
|
|
@@ -629,6 +650,30 @@ const descriptor = Object.freeze({
|
|
|
629
650
|
"default": 365,
|
|
630
651
|
"min": 30
|
|
631
652
|
},
|
|
653
|
+
"adminNotifyEmails": {
|
|
654
|
+
"label": "Admin notification emails",
|
|
655
|
+
"description": "Up to 5 addresses, separated by commas, told about booking requests (and bookings, if chosen below).",
|
|
656
|
+
"type": "string"
|
|
657
|
+
},
|
|
658
|
+
"notifyAdminOn": {
|
|
659
|
+
"label": "Notify admins about",
|
|
660
|
+
"type": "select",
|
|
661
|
+
"options": [
|
|
662
|
+
{
|
|
663
|
+
"value": "requests",
|
|
664
|
+
"label": "Booking requests that need approval"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"value": "all",
|
|
668
|
+
"label": "All bookings"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"value": "off",
|
|
672
|
+
"label": "Nothing"
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"default": "requests"
|
|
676
|
+
},
|
|
632
677
|
"emailSenderName": {
|
|
633
678
|
"label": "Email sender name",
|
|
634
679
|
"description": "Name shown on booking emails. Defaults to the site name.",
|
|
@@ -639,6 +684,22 @@ const descriptor = Object.freeze({
|
|
|
639
684
|
"description": "Confirmed bookings get a reminder this many hours before their event or date. Up to three, comma-separated, e.g. 168, 24. Leave empty to send none.",
|
|
640
685
|
"type": "string",
|
|
641
686
|
"default": "24"
|
|
687
|
+
},
|
|
688
|
+
"authoriseWithinDays": {
|
|
689
|
+
"label": "Hold the card for approval (days)",
|
|
690
|
+
"description": "For events that need your approval: when your decision is due within this many days, the buyer's card is authorised at checkout and charged when you approve. Later decisions save the card and charge it when you approve. 0 always saves the card; at most 6 (card authorisations last about 7 days).",
|
|
691
|
+
"type": "number",
|
|
692
|
+
"default": 6,
|
|
693
|
+
"min": 0,
|
|
694
|
+
"max": 6
|
|
695
|
+
},
|
|
696
|
+
"attendeeEditCutoffHours": {
|
|
697
|
+
"label": "Attendee changes cutoff (hours before start)",
|
|
698
|
+
"description": "On a booking with a waiver, buyers can correct the names and emails of attendees who have not signed until this many hours before the event or date starts.",
|
|
699
|
+
"type": "number",
|
|
700
|
+
"default": 24,
|
|
701
|
+
"min": 0,
|
|
702
|
+
"max": 720
|
|
642
703
|
}
|
|
643
704
|
},
|
|
644
705
|
"editorPanels": [
|
package/dist/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "semics-events",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.1",
|
|
4
4
|
"declaredAccess": {
|
|
5
5
|
"content": {
|
|
6
6
|
"read": {}
|
|
@@ -280,6 +280,27 @@
|
|
|
280
280
|
],
|
|
281
281
|
"public": true
|
|
282
282
|
},
|
|
283
|
+
{
|
|
284
|
+
"name": "public/booking/attendees",
|
|
285
|
+
"methods": [
|
|
286
|
+
"POST"
|
|
287
|
+
],
|
|
288
|
+
"public": true
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "public/booking/attendees/sign",
|
|
292
|
+
"methods": [
|
|
293
|
+
"POST"
|
|
294
|
+
],
|
|
295
|
+
"public": true
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "public/booking/attendees/resend",
|
|
299
|
+
"methods": [
|
|
300
|
+
"POST"
|
|
301
|
+
],
|
|
302
|
+
"public": true
|
|
303
|
+
},
|
|
283
304
|
{
|
|
284
305
|
"name": "pro/reports/export",
|
|
285
306
|
"methods": [
|
|
@@ -596,6 +617,30 @@
|
|
|
596
617
|
"default": 365,
|
|
597
618
|
"min": 30
|
|
598
619
|
},
|
|
620
|
+
"adminNotifyEmails": {
|
|
621
|
+
"label": "Admin notification emails",
|
|
622
|
+
"description": "Up to 5 addresses, separated by commas, told about booking requests (and bookings, if chosen below).",
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
"notifyAdminOn": {
|
|
626
|
+
"label": "Notify admins about",
|
|
627
|
+
"type": "select",
|
|
628
|
+
"options": [
|
|
629
|
+
{
|
|
630
|
+
"value": "requests",
|
|
631
|
+
"label": "Booking requests that need approval"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"value": "all",
|
|
635
|
+
"label": "All bookings"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"value": "off",
|
|
639
|
+
"label": "Nothing"
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"default": "requests"
|
|
643
|
+
},
|
|
599
644
|
"emailSenderName": {
|
|
600
645
|
"label": "Email sender name",
|
|
601
646
|
"description": "Name shown on booking emails. Defaults to the site name.",
|
|
@@ -606,6 +651,22 @@
|
|
|
606
651
|
"description": "Confirmed bookings get a reminder this many hours before their event or date. Up to three, comma-separated, e.g. 168, 24. Leave empty to send none.",
|
|
607
652
|
"type": "string",
|
|
608
653
|
"default": "24"
|
|
654
|
+
},
|
|
655
|
+
"authoriseWithinDays": {
|
|
656
|
+
"label": "Hold the card for approval (days)",
|
|
657
|
+
"description": "For events that need your approval: when your decision is due within this many days, the buyer's card is authorised at checkout and charged when you approve. Later decisions save the card and charge it when you approve. 0 always saves the card; at most 6 (card authorisations last about 7 days).",
|
|
658
|
+
"type": "number",
|
|
659
|
+
"default": 6,
|
|
660
|
+
"min": 0,
|
|
661
|
+
"max": 6
|
|
662
|
+
},
|
|
663
|
+
"attendeeEditCutoffHours": {
|
|
664
|
+
"label": "Attendee changes cutoff (hours before start)",
|
|
665
|
+
"description": "On a booking with a waiver, buyers can correct the names and emails of attendees who have not signed until this many hours before the event or date starts.",
|
|
666
|
+
"type": "number",
|
|
667
|
+
"default": 24,
|
|
668
|
+
"min": 0,
|
|
669
|
+
"max": 720
|
|
609
670
|
}
|
|
610
671
|
},
|
|
611
672
|
"pages": [
|