@semics-tech/emdash-esign-pro 0.0.0-bootstrap.0 → 1.0.0-rc.0

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.
@@ -0,0 +1,254 @@
1
+ // Generated by scripts/generate.mjs from ../../../emdash-plugins/packages/esign/emdash-plugin.jsonc + pro.json. Do not edit.
2
+ {
3
+ "$schema": "./node_modules/@emdash-cms/plugin-cli/schemas/emdash-plugin.schema.json",
4
+ "slug": "semics-esign",
5
+ "publisher": "did:plc:mire6xkehfirmoj5pmpqgpvq",
6
+ "license": "LicenseRef-Semics-Pro",
7
+ "author": {
8
+ "name": "semics",
9
+ "url": "https://semics.co.uk"
10
+ },
11
+ "security": {
12
+ "email": "security@semics.co.uk"
13
+ },
14
+ "description": "Simple electronic signatures for EmDash (Pro edition)",
15
+ "name": "semics E-sign",
16
+ "keywords": [
17
+ "e-signature",
18
+ "esign",
19
+ "contracts",
20
+ "waivers",
21
+ "audit trail"
22
+ ],
23
+ "capabilities": [
24
+ "email:send",
25
+ "media:read",
26
+ "media:bytes:read",
27
+ "network:request"
28
+ ],
29
+ "allowedHosts": [
30
+ "challenges.cloudflare.com"
31
+ ],
32
+ "storage": {
33
+ "templates": {
34
+ "indexes": [
35
+ "status",
36
+ "kind",
37
+ "public"
38
+ ]
39
+ },
40
+ "envelopes": {
41
+ "indexes": [
42
+ "status",
43
+ "expiresAt",
44
+ "createdAt",
45
+ "clientId",
46
+ "externalRef",
47
+ "pdfSha256",
48
+ "signerEmail",
49
+ [
50
+ "status",
51
+ "expiresAt"
52
+ ]
53
+ ]
54
+ },
55
+ "signers": {
56
+ "indexes": [
57
+ "envelopeId",
58
+ "email",
59
+ "copyTokenHash"
60
+ ],
61
+ "uniqueIndexes": [
62
+ "tokenHash"
63
+ ]
64
+ },
65
+ "snapshots": {
66
+ "indexes": [
67
+ "envelopeId"
68
+ ]
69
+ },
70
+ "artifacts": {
71
+ "indexes": [
72
+ "envelopeId",
73
+ [
74
+ "envelopeId",
75
+ "kind"
76
+ ]
77
+ ]
78
+ },
79
+ "audit_events": {
80
+ "indexes": [
81
+ "envelopeId",
82
+ [
83
+ "envelopeId",
84
+ "seq"
85
+ ]
86
+ ]
87
+ },
88
+ "clients": {
89
+ "indexes": [
90
+ "createdAt"
91
+ ],
92
+ "uniqueIndexes": [
93
+ "clientId"
94
+ ]
95
+ },
96
+ "nonces": {
97
+ "indexes": [
98
+ "expiresAt"
99
+ ],
100
+ "uniqueIndexes": [
101
+ "nonce"
102
+ ]
103
+ },
104
+ "outbox": {
105
+ "indexes": [
106
+ [
107
+ "status",
108
+ "nextAttemptAt"
109
+ ]
110
+ ]
111
+ },
112
+ "bulk": {
113
+ "indexes": [
114
+ [
115
+ "kind",
116
+ "createdAt"
117
+ ]
118
+ ]
119
+ },
120
+ "pdf_templates": {
121
+ "indexes": [
122
+ "status"
123
+ ]
124
+ },
125
+ "pdf_files": {
126
+ "indexes": [
127
+ "sha256"
128
+ ]
129
+ }
130
+ },
131
+ "admin": {
132
+ "pages": [
133
+ {
134
+ "path": "/envelopes",
135
+ "label": "Envelopes",
136
+ "icon": "file"
137
+ },
138
+ {
139
+ "path": "/templates",
140
+ "label": "Templates",
141
+ "icon": "file-text"
142
+ },
143
+ {
144
+ "path": "/integrations",
145
+ "label": "Integrations",
146
+ "icon": "link"
147
+ },
148
+ {
149
+ "path": "/settings",
150
+ "label": "Settings",
151
+ "icon": "gear"
152
+ },
153
+ {
154
+ "path": "/bulk",
155
+ "label": "Bulk send",
156
+ "icon": "users"
157
+ },
158
+ {
159
+ "path": "/self-serve",
160
+ "label": "Self-serve forms",
161
+ "icon": "globe"
162
+ },
163
+ {
164
+ "path": "/pdf-templates",
165
+ "label": "PDF templates",
166
+ "icon": "file"
167
+ }
168
+ ],
169
+ "settingsSchema": {
170
+ "senderName": {
171
+ "label": "Sender name",
172
+ "type": "string",
173
+ "description": "Shown as the sender of signing emails."
174
+ },
175
+ "consentVersion": {
176
+ "label": "Consent version",
177
+ "type": "string",
178
+ "default": "1",
179
+ "description": "Recorded with every signature; bump when the wording changes."
180
+ },
181
+ "consentWording": {
182
+ "label": "Consent wording",
183
+ "type": "string",
184
+ "multiline": true,
185
+ "default": "I agree to use electronic records and an electronic signature for this document.",
186
+ "description": "Shown to signers before they sign."
187
+ },
188
+ "expiryDays": {
189
+ "label": "Envelope expiry (days)",
190
+ "type": "number",
191
+ "default": 30,
192
+ "min": 1,
193
+ "max": 365
194
+ },
195
+ "reminderCadenceDays": {
196
+ "label": "Reminder cadence (days)",
197
+ "type": "number",
198
+ "default": 3,
199
+ "min": 1,
200
+ "max": 30,
201
+ "description": "Pro: automatic reminders."
202
+ },
203
+ "otpDefault": {
204
+ "label": "Require email code by default",
205
+ "type": "boolean",
206
+ "default": false,
207
+ "description": "Pro: one-time code before signing."
208
+ },
209
+ "otpContractTemplates": {
210
+ "label": "Require email code for contract templates",
211
+ "type": "boolean",
212
+ "default": true,
213
+ "description": "Pro."
214
+ },
215
+ "retentionPersonalDataMonths": {
216
+ "label": "Keep personal data (months)",
217
+ "type": "number",
218
+ "default": 12,
219
+ "min": 1,
220
+ "max": 120
221
+ },
222
+ "retentionSignedRecordsYears": {
223
+ "label": "Keep signed records (years)",
224
+ "type": "number",
225
+ "default": 7,
226
+ "min": 1,
227
+ "max": 50
228
+ },
229
+ "turnstileSiteKey": {
230
+ "label": "Turnstile site key",
231
+ "type": "string"
232
+ },
233
+ "turnstileSecretKey": {
234
+ "label": "Turnstile secret key",
235
+ "type": "secret"
236
+ },
237
+ "integrationMasterKey": {
238
+ "label": "Integration master key",
239
+ "type": "secret",
240
+ "description": "Client secrets are derived from this key; it is never shown again."
241
+ },
242
+ "licenceKey": {
243
+ "type": "secret",
244
+ "label": "Pro licence key",
245
+ "description": "The semics1. key from your purchase email. Not needed on local or preview hosts. Stored encrypted."
246
+ }
247
+ }
248
+ },
249
+ "release": {
250
+ "requires": {
251
+ "env:emdash": ">=1.2.0 <2"
252
+ }
253
+ }
254
+ }
package/package.json CHANGED
@@ -1,11 +1,48 @@
1
1
  {
2
- "name": "@semics-tech/emdash-esign-pro",
3
- "version": "0.0.0-bootstrap.0",
4
- "description": "Placeholder for @semics-tech/emdash-esign-pro, published once so npm trusted publishing can be configured. No code.",
5
- "license": "SEE LICENSE IN LICENSE",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/semics-uk/emdash-plugins-pro",
9
- "directory": "packages/esign-pro"
10
- }
11
- }
2
+ "name": "@semics-tech/emdash-esign-pro",
3
+ "version": "1.0.0-rc.0",
4
+ "type": "module",
5
+ "description": "E-sign Pro: the semics-esign core plus Pro features, same slug (proprietary)",
6
+ "license": "SEE LICENSE IN LICENSE",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/semics-uk/emdash-plugins-pro",
10
+ "directory": "packages/esign-pro"
11
+ },
12
+ "main": "dist/index.mjs",
13
+ "exports": {
14
+ ".": {
15
+ "import": "./dist/index.mjs",
16
+ "types": "./dist/index.d.mts"
17
+ },
18
+ "./sandbox": "./dist/plugin.mjs"
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "emdash-plugin.jsonc",
23
+ "LICENSE",
24
+ "!**/*.map"
25
+ ],
26
+ "peerDependencies": {
27
+ "emdash": ">=1.2.0 <2"
28
+ },
29
+ "devDependencies": {
30
+ "@emdash-cms/plugin-cli": "0.13.3",
31
+ "@emdash-cms/plugin-test": "0.2.8",
32
+ "@semics-tech/emdash-esign": "link:../../../emdash-plugins/packages/esign",
33
+ "@semics-tech/shared": "link:../../../emdash-plugins/packages/shared",
34
+ "emdash": "1.2.0",
35
+ "typescript": "5.9.3",
36
+ "vitest": "4.1.12",
37
+ "@semics-tech/pro-kit": "0.0.0"
38
+ },
39
+ "scripts": {
40
+ "generate": "node ../../scripts/generate.mjs esign-pro",
41
+ "validate": "pnpm run generate && node ../pro-kit/bin/validate-pro.ts",
42
+ "build": "pnpm run generate && emdash-plugin build",
43
+ "bundle": "pnpm run generate && emdash-plugin bundle",
44
+ "typecheck": "pnpm run generate && tsc --noEmit",
45
+ "test": "vitest run --reporter=dot",
46
+ "verify": "pnpm run validate && pnpm run typecheck && pnpm run test && pnpm run build"
47
+ }
48
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @semics-tech/emdash-esign-pro
2
-
3
- Placeholder; no code.