@cherwell/emdash-crm 0.0.0-stage → 0.1.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 ADDED
@@ -0,0 +1,924 @@
1
+ // Auto-generated by emdash-plugin build. Do not edit.
2
+ // Source: emdash-plugin.jsonc + package.json
3
+ //
4
+ // Default-exports a sandboxed plugin descriptor. Pass it directly into
5
+ // emdash's `plugins:` or `sandboxed:` array — no factory call needed.
6
+
7
+ /** @type {import("emdash").PluginDescriptor} */
8
+ const descriptor = Object.freeze({
9
+ "id": "crm",
10
+ "displayName": "CRM",
11
+ "description": "Organisations, people and their roles, with a timeline, tasks, imports, data requests and a service API for plugins that build on it.",
12
+ "version": "0.1.1",
13
+ "format": "standard",
14
+ "entrypoint": "@cherwell/emdash-crm/sandbox",
15
+ "capabilities": [
16
+ "content:read",
17
+ "network:request:unrestricted",
18
+ "network:request"
19
+ ],
20
+ "allowedHosts": [],
21
+ "storage": {
22
+ "organisations": {
23
+ "indexes": [
24
+ "status",
25
+ "nameKey",
26
+ "email",
27
+ "updatedAt",
28
+ [
29
+ "status",
30
+ "nameKey"
31
+ ]
32
+ ]
33
+ },
34
+ "people": {
35
+ "indexes": [
36
+ "nameKey",
37
+ "createdAt"
38
+ ],
39
+ "uniqueIndexes": [
40
+ "email"
41
+ ]
42
+ },
43
+ "links": {
44
+ "indexes": [
45
+ "orgId",
46
+ "personId",
47
+ "role"
48
+ ],
49
+ "uniqueIndexes": [
50
+ "key"
51
+ ]
52
+ },
53
+ "activities": {
54
+ "indexes": [
55
+ "orgId",
56
+ "createdAt",
57
+ [
58
+ "orgId",
59
+ "createdAt"
60
+ ]
61
+ ]
62
+ },
63
+ "tasks": {
64
+ "indexes": [
65
+ "orgId",
66
+ "personId",
67
+ "assignee",
68
+ "dueOn",
69
+ "done",
70
+ [
71
+ "done",
72
+ "dueOn"
73
+ ],
74
+ [
75
+ "done",
76
+ "assignee"
77
+ ],
78
+ [
79
+ "orgId",
80
+ "done"
81
+ ]
82
+ ]
83
+ },
84
+ "audit": {
85
+ "indexes": [
86
+ "at",
87
+ "target",
88
+ "actor",
89
+ [
90
+ "target",
91
+ "at"
92
+ ]
93
+ ]
94
+ },
95
+ "webhooks": {
96
+ "indexes": [
97
+ "createdAt"
98
+ ]
99
+ },
100
+ "deliveries": {
101
+ "indexes": [
102
+ "status",
103
+ "createdAt",
104
+ [
105
+ "status",
106
+ "nextAt"
107
+ ]
108
+ ]
109
+ },
110
+ "rate_limits": {
111
+ "indexes": [
112
+ "expiresAt"
113
+ ]
114
+ }
115
+ },
116
+ "hooks": [
117
+ "plugin:activate",
118
+ "cron"
119
+ ],
120
+ "routes": [
121
+ {
122
+ "name": "service/config",
123
+ "methods": [
124
+ "POST"
125
+ ],
126
+ "request": {
127
+ "body": "json",
128
+ "headers": [
129
+ "x-crm-service-key"
130
+ ]
131
+ },
132
+ "public": true
133
+ },
134
+ {
135
+ "name": "service/person",
136
+ "methods": [
137
+ "POST"
138
+ ],
139
+ "request": {
140
+ "body": "json",
141
+ "headers": [
142
+ "x-crm-service-key"
143
+ ]
144
+ },
145
+ "public": true
146
+ },
147
+ {
148
+ "name": "service/organisation",
149
+ "methods": [
150
+ "POST"
151
+ ],
152
+ "request": {
153
+ "body": "json",
154
+ "headers": [
155
+ "x-crm-service-key"
156
+ ]
157
+ },
158
+ "public": true
159
+ },
160
+ {
161
+ "name": "service/organisations",
162
+ "methods": [
163
+ "POST"
164
+ ],
165
+ "request": {
166
+ "body": "json",
167
+ "headers": [
168
+ "x-crm-service-key"
169
+ ]
170
+ },
171
+ "public": true
172
+ },
173
+ {
174
+ "name": "service/entry-owner",
175
+ "methods": [
176
+ "POST"
177
+ ],
178
+ "request": {
179
+ "body": "json",
180
+ "headers": [
181
+ "x-crm-service-key"
182
+ ]
183
+ },
184
+ "public": true
185
+ },
186
+ {
187
+ "name": "service/timeline",
188
+ "methods": [
189
+ "POST"
190
+ ],
191
+ "request": {
192
+ "body": "json",
193
+ "headers": [
194
+ "x-crm-service-key"
195
+ ]
196
+ },
197
+ "public": true
198
+ },
199
+ {
200
+ "name": "service/organisation/create",
201
+ "methods": [
202
+ "POST"
203
+ ],
204
+ "request": {
205
+ "body": "json",
206
+ "headers": [
207
+ "x-crm-service-key"
208
+ ]
209
+ },
210
+ "public": true
211
+ },
212
+ {
213
+ "name": "service/organisation/update",
214
+ "methods": [
215
+ "POST"
216
+ ],
217
+ "request": {
218
+ "body": "json",
219
+ "headers": [
220
+ "x-crm-service-key"
221
+ ]
222
+ },
223
+ "public": true
224
+ },
225
+ {
226
+ "name": "service/person/ensure",
227
+ "methods": [
228
+ "POST"
229
+ ],
230
+ "request": {
231
+ "body": "json",
232
+ "headers": [
233
+ "x-crm-service-key"
234
+ ]
235
+ },
236
+ "public": true
237
+ },
238
+ {
239
+ "name": "service/link",
240
+ "methods": [
241
+ "POST"
242
+ ],
243
+ "request": {
244
+ "body": "json",
245
+ "headers": [
246
+ "x-crm-service-key"
247
+ ]
248
+ },
249
+ "public": true
250
+ },
251
+ {
252
+ "name": "service/activity",
253
+ "methods": [
254
+ "POST"
255
+ ],
256
+ "request": {
257
+ "body": "json",
258
+ "headers": [
259
+ "x-crm-service-key"
260
+ ]
261
+ },
262
+ "public": true
263
+ },
264
+ {
265
+ "name": "service/record",
266
+ "methods": [
267
+ "POST"
268
+ ],
269
+ "request": {
270
+ "body": "json",
271
+ "headers": [
272
+ "x-crm-service-key"
273
+ ]
274
+ },
275
+ "public": true
276
+ },
277
+ {
278
+ "name": "privacy/download",
279
+ "methods": [
280
+ "GET"
281
+ ],
282
+ "response": "raw",
283
+ "public": true
284
+ },
285
+ {
286
+ "name": "organisations/list",
287
+ "permission": "content:edit_any"
288
+ },
289
+ {
290
+ "name": "organisations/get",
291
+ "permission": "content:edit_any"
292
+ },
293
+ {
294
+ "name": "organisations/create",
295
+ "methods": [
296
+ "POST"
297
+ ],
298
+ "permission": "content:edit_any"
299
+ },
300
+ {
301
+ "name": "organisations/update",
302
+ "methods": [
303
+ "POST"
304
+ ],
305
+ "permission": "content:edit_any"
306
+ },
307
+ {
308
+ "name": "people/find",
309
+ "permission": "content:edit_any"
310
+ },
311
+ {
312
+ "name": "people/update",
313
+ "methods": [
314
+ "POST"
315
+ ],
316
+ "permission": "content:edit_any"
317
+ },
318
+ {
319
+ "name": "activities/add",
320
+ "methods": [
321
+ "POST"
322
+ ],
323
+ "permission": "content:edit_any"
324
+ },
325
+ {
326
+ "name": "tasks/list",
327
+ "permission": "content:edit_any"
328
+ },
329
+ {
330
+ "name": "tasks/create",
331
+ "methods": [
332
+ "POST"
333
+ ],
334
+ "permission": "content:edit_any"
335
+ },
336
+ {
337
+ "name": "tasks/complete",
338
+ "methods": [
339
+ "POST"
340
+ ],
341
+ "permission": "content:edit_any"
342
+ },
343
+ {
344
+ "name": "privacy/export",
345
+ "methods": [
346
+ "POST"
347
+ ],
348
+ "permission": "users:manage"
349
+ },
350
+ {
351
+ "name": "privacy/erase",
352
+ "methods": [
353
+ "POST"
354
+ ],
355
+ "permission": "users:manage"
356
+ },
357
+ {
358
+ "name": "admin",
359
+ "permission": "content:edit_any"
360
+ }
361
+ ],
362
+ "mcp": {
363
+ "tools": [
364
+ {
365
+ "name": "crm_organisations_list",
366
+ "description": "List CRM organisations by name prefix or status, with cursor paging.",
367
+ "route": "organisations/list",
368
+ "permission": "content:edit_any",
369
+ "destructive": false,
370
+ "inputSchema": {
371
+ "$schema": "http://json-schema.org/draft-07/schema#",
372
+ "type": "object",
373
+ "properties": {
374
+ "q": {
375
+ "type": "string",
376
+ "maxLength": 80
377
+ },
378
+ "status": {
379
+ "type": "string",
380
+ "enum": [
381
+ "prospect",
382
+ "active",
383
+ "lapsed",
384
+ "archived"
385
+ ]
386
+ },
387
+ "cursor": {
388
+ "type": "string",
389
+ "maxLength": 500
390
+ },
391
+ "limit": {
392
+ "type": "integer",
393
+ "minimum": 1,
394
+ "maximum": 100
395
+ }
396
+ },
397
+ "additionalProperties": false
398
+ }
399
+ },
400
+ {
401
+ "name": "crm_organisation_get",
402
+ "description": "Read one organisation with its people and roles, active plans and recent timeline.",
403
+ "route": "organisations/get",
404
+ "permission": "content:edit_any",
405
+ "destructive": false,
406
+ "inputSchema": {
407
+ "$schema": "http://json-schema.org/draft-07/schema#",
408
+ "type": "object",
409
+ "properties": {
410
+ "id": {
411
+ "type": "string",
412
+ "minLength": 1,
413
+ "maxLength": 40
414
+ }
415
+ },
416
+ "required": [
417
+ "id"
418
+ ],
419
+ "additionalProperties": false
420
+ }
421
+ },
422
+ {
423
+ "name": "crm_organisation_create",
424
+ "description": "Add an organisation to the CRM.",
425
+ "route": "organisations/create",
426
+ "permission": "content:edit_any",
427
+ "destructive": false,
428
+ "inputSchema": {
429
+ "$schema": "http://json-schema.org/draft-07/schema#",
430
+ "type": "object",
431
+ "properties": {
432
+ "name": {
433
+ "type": "string",
434
+ "minLength": 1,
435
+ "maxLength": 160
436
+ },
437
+ "status": {
438
+ "type": "string",
439
+ "enum": [
440
+ "prospect",
441
+ "active",
442
+ "lapsed",
443
+ "archived"
444
+ ]
445
+ },
446
+ "email": {
447
+ "anyOf": [
448
+ {
449
+ "type": "string",
450
+ "maxLength": 254,
451
+ "format": "email",
452
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
453
+ },
454
+ {
455
+ "type": "string",
456
+ "const": ""
457
+ }
458
+ ]
459
+ },
460
+ "phone": {
461
+ "type": "string",
462
+ "maxLength": 40
463
+ },
464
+ "website": {
465
+ "type": "string",
466
+ "maxLength": 500
467
+ },
468
+ "address": {
469
+ "type": "object",
470
+ "properties": {
471
+ "line1": {
472
+ "type": "string",
473
+ "maxLength": 120
474
+ },
475
+ "line2": {
476
+ "type": "string",
477
+ "maxLength": 120
478
+ },
479
+ "town": {
480
+ "type": "string",
481
+ "maxLength": 80
482
+ },
483
+ "region": {
484
+ "type": "string",
485
+ "maxLength": 80
486
+ },
487
+ "postcode": {
488
+ "type": "string",
489
+ "maxLength": 20
490
+ },
491
+ "country": {
492
+ "type": "string",
493
+ "maxLength": 2
494
+ }
495
+ },
496
+ "additionalProperties": false
497
+ },
498
+ "tags": {
499
+ "maxItems": 30,
500
+ "type": "array",
501
+ "items": {
502
+ "type": "string",
503
+ "minLength": 1,
504
+ "maxLength": 40
505
+ }
506
+ },
507
+ "entries": {
508
+ "maxItems": 50,
509
+ "type": "array",
510
+ "items": {
511
+ "type": "string",
512
+ "pattern": "^[a-z][a-z0-9_]*:[A-Za-z0-9_-]{1,64}$"
513
+ }
514
+ },
515
+ "notifyEmails": {
516
+ "maxItems": 5,
517
+ "type": "array",
518
+ "items": {
519
+ "type": "string",
520
+ "maxLength": 254,
521
+ "format": "email",
522
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
523
+ }
524
+ },
525
+ "custom": {
526
+ "type": "object",
527
+ "propertyNames": {
528
+ "type": "string"
529
+ },
530
+ "additionalProperties": {}
531
+ }
532
+ },
533
+ "required": [
534
+ "name"
535
+ ],
536
+ "additionalProperties": false
537
+ }
538
+ },
539
+ {
540
+ "name": "crm_organisation_update",
541
+ "description": "Change an organisation's details, tags, status or linked entries.",
542
+ "route": "organisations/update",
543
+ "permission": "content:edit_any",
544
+ "destructive": true,
545
+ "inputSchema": {
546
+ "$schema": "http://json-schema.org/draft-07/schema#",
547
+ "type": "object",
548
+ "properties": {
549
+ "name": {
550
+ "type": "string",
551
+ "minLength": 1,
552
+ "maxLength": 160
553
+ },
554
+ "status": {
555
+ "type": "string",
556
+ "enum": [
557
+ "prospect",
558
+ "active",
559
+ "lapsed",
560
+ "archived"
561
+ ]
562
+ },
563
+ "email": {
564
+ "anyOf": [
565
+ {
566
+ "type": "string",
567
+ "maxLength": 254,
568
+ "format": "email",
569
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
570
+ },
571
+ {
572
+ "type": "string",
573
+ "const": ""
574
+ }
575
+ ]
576
+ },
577
+ "phone": {
578
+ "type": "string",
579
+ "maxLength": 40
580
+ },
581
+ "website": {
582
+ "type": "string",
583
+ "maxLength": 500
584
+ },
585
+ "address": {
586
+ "type": "object",
587
+ "properties": {
588
+ "line1": {
589
+ "type": "string",
590
+ "maxLength": 120
591
+ },
592
+ "line2": {
593
+ "type": "string",
594
+ "maxLength": 120
595
+ },
596
+ "town": {
597
+ "type": "string",
598
+ "maxLength": 80
599
+ },
600
+ "region": {
601
+ "type": "string",
602
+ "maxLength": 80
603
+ },
604
+ "postcode": {
605
+ "type": "string",
606
+ "maxLength": 20
607
+ },
608
+ "country": {
609
+ "type": "string",
610
+ "maxLength": 2
611
+ }
612
+ },
613
+ "additionalProperties": false
614
+ },
615
+ "tags": {
616
+ "maxItems": 30,
617
+ "type": "array",
618
+ "items": {
619
+ "type": "string",
620
+ "minLength": 1,
621
+ "maxLength": 40
622
+ }
623
+ },
624
+ "entries": {
625
+ "maxItems": 50,
626
+ "type": "array",
627
+ "items": {
628
+ "type": "string",
629
+ "pattern": "^[a-z][a-z0-9_]*:[A-Za-z0-9_-]{1,64}$"
630
+ }
631
+ },
632
+ "notifyEmails": {
633
+ "maxItems": 5,
634
+ "type": "array",
635
+ "items": {
636
+ "type": "string",
637
+ "maxLength": 254,
638
+ "format": "email",
639
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
640
+ }
641
+ },
642
+ "custom": {
643
+ "type": "object",
644
+ "propertyNames": {
645
+ "type": "string"
646
+ },
647
+ "additionalProperties": {}
648
+ },
649
+ "id": {
650
+ "type": "string"
651
+ }
652
+ },
653
+ "required": [
654
+ "id"
655
+ ],
656
+ "additionalProperties": false
657
+ }
658
+ },
659
+ {
660
+ "name": "crm_people_find",
661
+ "description": "Find people by exact email or name prefix.",
662
+ "route": "people/find",
663
+ "permission": "content:edit_any",
664
+ "destructive": false,
665
+ "inputSchema": {
666
+ "$schema": "http://json-schema.org/draft-07/schema#",
667
+ "type": "object",
668
+ "properties": {
669
+ "email": {
670
+ "type": "string",
671
+ "maxLength": 254
672
+ },
673
+ "q": {
674
+ "type": "string",
675
+ "maxLength": 80
676
+ },
677
+ "cursor": {
678
+ "type": "string",
679
+ "maxLength": 500
680
+ }
681
+ },
682
+ "additionalProperties": false
683
+ }
684
+ },
685
+ {
686
+ "name": "crm_note_add",
687
+ "description": "Add a note, call, email or meeting to an organisation's timeline; visibleToMember shows it to the organisation.",
688
+ "route": "activities/add",
689
+ "permission": "content:edit_any",
690
+ "destructive": false,
691
+ "inputSchema": {
692
+ "$schema": "http://json-schema.org/draft-07/schema#",
693
+ "type": "object",
694
+ "properties": {
695
+ "orgId": {
696
+ "type": "string",
697
+ "minLength": 1,
698
+ "maxLength": 40
699
+ },
700
+ "text": {
701
+ "type": "string",
702
+ "minLength": 1,
703
+ "maxLength": 4000
704
+ },
705
+ "kind": {
706
+ "type": "string",
707
+ "enum": [
708
+ "note",
709
+ "call",
710
+ "email",
711
+ "meeting"
712
+ ]
713
+ },
714
+ "visibleToMember": {
715
+ "type": "boolean"
716
+ }
717
+ },
718
+ "required": [
719
+ "orgId",
720
+ "text"
721
+ ],
722
+ "additionalProperties": false
723
+ }
724
+ },
725
+ {
726
+ "name": "crm_tasks_list",
727
+ "description": "List open follow-up tasks, optionally only mine.",
728
+ "route": "tasks/list",
729
+ "permission": "content:edit_any",
730
+ "destructive": false,
731
+ "inputSchema": {
732
+ "$schema": "http://json-schema.org/draft-07/schema#",
733
+ "type": "object",
734
+ "properties": {
735
+ "mine": {
736
+ "type": "boolean"
737
+ },
738
+ "cursor": {
739
+ "type": "string"
740
+ }
741
+ },
742
+ "additionalProperties": false
743
+ }
744
+ },
745
+ {
746
+ "name": "crm_task_create",
747
+ "description": "Create a follow-up task with a due date.",
748
+ "route": "tasks/create",
749
+ "permission": "content:edit_any",
750
+ "destructive": false,
751
+ "inputSchema": {
752
+ "$schema": "http://json-schema.org/draft-07/schema#",
753
+ "type": "object",
754
+ "properties": {
755
+ "title": {
756
+ "type": "string",
757
+ "minLength": 1,
758
+ "maxLength": 200
759
+ },
760
+ "orgId": {
761
+ "anyOf": [
762
+ {
763
+ "type": "string",
764
+ "maxLength": 40
765
+ },
766
+ {
767
+ "type": "null"
768
+ }
769
+ ]
770
+ },
771
+ "personId": {
772
+ "anyOf": [
773
+ {
774
+ "type": "string",
775
+ "maxLength": 40
776
+ },
777
+ {
778
+ "type": "null"
779
+ }
780
+ ]
781
+ },
782
+ "assignee": {
783
+ "anyOf": [
784
+ {
785
+ "type": "string",
786
+ "maxLength": 80
787
+ },
788
+ {
789
+ "type": "null"
790
+ }
791
+ ]
792
+ },
793
+ "dueOn": {
794
+ "type": "string"
795
+ }
796
+ },
797
+ "required": [
798
+ "title",
799
+ "dueOn"
800
+ ],
801
+ "additionalProperties": false
802
+ }
803
+ }
804
+ ]
805
+ },
806
+ "adminPages": [
807
+ {
808
+ "path": "/organisations",
809
+ "label": "Organisations",
810
+ "icon": "buildings",
811
+ "group": "CRM"
812
+ },
813
+ {
814
+ "path": "/tasks",
815
+ "label": "Tasks",
816
+ "icon": "check-square",
817
+ "group": "CRM"
818
+ },
819
+ {
820
+ "path": "/import",
821
+ "label": "Import",
822
+ "icon": "upload",
823
+ "group": "CRM"
824
+ },
825
+ {
826
+ "path": "/privacy",
827
+ "label": "Data requests",
828
+ "icon": "shield-check",
829
+ "group": "CRM"
830
+ },
831
+ {
832
+ "path": "/webhooks",
833
+ "label": "Webhooks",
834
+ "icon": "plugs",
835
+ "group": "CRM"
836
+ },
837
+ {
838
+ "path": "/audit",
839
+ "label": "Audit trail",
840
+ "icon": "clock-counter-clockwise",
841
+ "group": "CRM"
842
+ }
843
+ ],
844
+ "adminWidgets": [
845
+ {
846
+ "id": "overview",
847
+ "title": "CRM",
848
+ "size": "half"
849
+ }
850
+ ],
851
+ "settingsSchema": {
852
+ "roles": {
853
+ "label": "Roles and permissions as JSON, highest role first (see the README); empty uses the defaults",
854
+ "type": "string",
855
+ "multiline": true
856
+ },
857
+ "ownerRole": {
858
+ "label": "The role that owns an organisation",
859
+ "type": "string",
860
+ "default": "owner"
861
+ },
862
+ "billingRole": {
863
+ "label": "The role that gets renewal reminders (used by Memberships)",
864
+ "type": "string",
865
+ "default": "billing"
866
+ },
867
+ "notifyPermission": {
868
+ "label": "Permission that receives notifications about an organisation's entries",
869
+ "type": "string",
870
+ "default": "notify"
871
+ },
872
+ "contactRole": {
873
+ "label": "Role for people added without one (imports, staff)",
874
+ "type": "string",
875
+ "default": "contact"
876
+ },
877
+ "orgFields": {
878
+ "label": "Custom fields on organisations (JSON; see the README)",
879
+ "type": "string",
880
+ "multiline": true
881
+ },
882
+ "personFields": {
883
+ "label": "Custom fields on people (JSON; see the README)",
884
+ "type": "string",
885
+ "multiline": true
886
+ },
887
+ "timeZone": {
888
+ "label": "Time zone for due dates (IANA name, e.g. Europe/London)",
889
+ "type": "string",
890
+ "default": "UTC"
891
+ },
892
+ "serviceKey": {
893
+ "label": "Service key: give the same value to plugins that build on the CRM (Memberships and others)",
894
+ "type": "secret"
895
+ },
896
+ "webhookSecret": {
897
+ "label": "Webhook signing secret",
898
+ "type": "secret"
899
+ },
900
+ "callBudget": {
901
+ "label": "Host calls per background run (28 suits a Cloudflare sandbox; raise it when running in-process)",
902
+ "type": "number",
903
+ "default": 28,
904
+ "min": 10,
905
+ "max": 10000
906
+ },
907
+ "auditDays": {
908
+ "label": "Keep the audit trail for (days)",
909
+ "type": "number",
910
+ "default": 730,
911
+ "min": 30,
912
+ "max": 3650
913
+ },
914
+ "deliveryDays": {
915
+ "label": "Keep webhook delivery records for (days)",
916
+ "type": "number",
917
+ "default": 30,
918
+ "min": 1,
919
+ "max": 365
920
+ }
921
+ }
922
+ });
923
+
924
+ export default descriptor;