@prismatic-io/components-yoti-sign 0.0.0-stage → 0.0.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.
@@ -0,0 +1,597 @@
1
+ //#region src/interfaces.d.ts
2
+ interface Envelope {
3
+ envelope_id: string;
4
+ envelope: string;
5
+ status: string;
6
+ created_at: string;
7
+ }
8
+ //#endregion
9
+ //#region npm-dist/.entry.d.ts
10
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
11
+ key: "yoti-sign";
12
+ public: true;
13
+ documentationUrl: "https://prismatic.io/docs/components/yoti-sign/";
14
+ display: {
15
+ label: string;
16
+ description: string;
17
+ iconPath: string;
18
+ category: "Application Connectors";
19
+ };
20
+ actions: {
21
+ archiveEnvelope: import("@prismatic-io/spectral").ActionDefinition<{
22
+ connection: {
23
+ label: string;
24
+ type: "connection";
25
+ required: true;
26
+ example: string;
27
+ };
28
+ envelopeId: {
29
+ label: string;
30
+ type: "string";
31
+ required: true;
32
+ comments: string;
33
+ example: string;
34
+ placeholder: string;
35
+ dataSource: string;
36
+ clean: (input: unknown) => string | undefined;
37
+ };
38
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
39
+ data: any;
40
+ }>;
41
+ createEmbeddedEnvelope: import("@prismatic-io/spectral").ActionDefinition<{
42
+ connection: {
43
+ label: string;
44
+ type: "connection";
45
+ required: true;
46
+ example: string;
47
+ };
48
+ file: {
49
+ label: string;
50
+ type: "data";
51
+ required: true;
52
+ collection: "valuelist";
53
+ comments: string;
54
+ clean: (input: unknown) => import("@prismatic-io/spectral").DataPayload[];
55
+ };
56
+ fileName: {
57
+ label: string;
58
+ type: "string";
59
+ required: true;
60
+ collection: "valuelist";
61
+ comments: string;
62
+ example: string;
63
+ placeholder: string;
64
+ clean: (input: unknown) => string[] | undefined;
65
+ };
66
+ recipients: {
67
+ label: string;
68
+ type: "code";
69
+ language: "json";
70
+ required: true;
71
+ comments: string;
72
+ default: string;
73
+ clean: (input: unknown) => object | undefined;
74
+ };
75
+ envelopName: {
76
+ label: string;
77
+ type: "string";
78
+ required: true;
79
+ comments: string;
80
+ example: string;
81
+ placeholder: string;
82
+ clean: (input: unknown) => string | undefined;
83
+ };
84
+ emails: {
85
+ label: string;
86
+ type: "code";
87
+ language: "json";
88
+ required: false;
89
+ comments: string;
90
+ default: string;
91
+ clean: (input: unknown) => object | undefined;
92
+ };
93
+ notificationDestination: {
94
+ label: string;
95
+ type: "string";
96
+ required: false;
97
+ comments: string;
98
+ example: string;
99
+ placeholder: string;
100
+ clean: (input: unknown) => string | undefined;
101
+ };
102
+ notificationsSubscriptions: {
103
+ label: string;
104
+ type: "string";
105
+ required: false;
106
+ comments: string;
107
+ collection: "valuelist";
108
+ model: {
109
+ label: string;
110
+ value: string;
111
+ }[];
112
+ clean: (input: unknown) => string[] | undefined;
113
+ };
114
+ branding: {
115
+ label: string;
116
+ type: "code";
117
+ language: "json";
118
+ required: false;
119
+ comments: string;
120
+ default: string;
121
+ clean: (input: unknown) => object | undefined;
122
+ };
123
+ parent_redirect_urls: {
124
+ label: string;
125
+ type: "code";
126
+ language: "json";
127
+ required: false;
128
+ comments: string;
129
+ default: string;
130
+ clean: (input: unknown) => object | undefined;
131
+ };
132
+ autotagging: {
133
+ label: string;
134
+ type: "string";
135
+ required: false;
136
+ comments: string;
137
+ model: {
138
+ label: string;
139
+ value: string;
140
+ }[];
141
+ clean: (input: unknown) => string | undefined;
142
+ };
143
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
144
+ data: any;
145
+ }>;
146
+ createEnvelope: import("@prismatic-io/spectral").ActionDefinition<{
147
+ connection: {
148
+ label: string;
149
+ type: "connection";
150
+ required: true;
151
+ example: string;
152
+ };
153
+ file: {
154
+ label: string;
155
+ type: "data";
156
+ required: true;
157
+ collection: "valuelist";
158
+ comments: string;
159
+ clean: (input: unknown) => import("@prismatic-io/spectral").DataPayload[];
160
+ };
161
+ fileName: {
162
+ label: string;
163
+ type: "string";
164
+ required: true;
165
+ collection: "valuelist";
166
+ comments: string;
167
+ example: string;
168
+ placeholder: string;
169
+ clean: (input: unknown) => string[] | undefined;
170
+ };
171
+ envelopName: {
172
+ label: string;
173
+ type: "string";
174
+ required: true;
175
+ comments: string;
176
+ example: string;
177
+ placeholder: string;
178
+ clean: (input: unknown) => string | undefined;
179
+ };
180
+ recipients: {
181
+ label: string;
182
+ type: "code";
183
+ language: "json";
184
+ required: true;
185
+ comments: string;
186
+ default: string;
187
+ clean: (input: unknown) => object | undefined;
188
+ };
189
+ has_envelope_otps: {
190
+ label: string;
191
+ type: "string";
192
+ required: false;
193
+ comments: string;
194
+ model: {
195
+ label: string;
196
+ value: string;
197
+ }[];
198
+ clean: (input: unknown) => boolean | undefined;
199
+ };
200
+ emails: {
201
+ label: string;
202
+ type: "code";
203
+ language: "json";
204
+ required: false;
205
+ comments: string;
206
+ default: string;
207
+ clean: (input: unknown) => object | undefined;
208
+ };
209
+ notificationDestination: {
210
+ label: string;
211
+ type: "string";
212
+ required: false;
213
+ comments: string;
214
+ example: string;
215
+ placeholder: string;
216
+ clean: (input: unknown) => string | undefined;
217
+ };
218
+ notificationsSubscriptions: {
219
+ label: string;
220
+ type: "string";
221
+ required: false;
222
+ comments: string;
223
+ collection: "valuelist";
224
+ model: {
225
+ label: string;
226
+ value: string;
227
+ }[];
228
+ clean: (input: unknown) => string[] | undefined;
229
+ };
230
+ branding: {
231
+ label: string;
232
+ type: "code";
233
+ language: "json";
234
+ required: false;
235
+ comments: string;
236
+ default: string;
237
+ clean: (input: unknown) => object | undefined;
238
+ };
239
+ parent_redirect_urls: {
240
+ label: string;
241
+ type: "code";
242
+ language: "json";
243
+ required: false;
244
+ comments: string;
245
+ default: string;
246
+ clean: (input: unknown) => object | undefined;
247
+ };
248
+ autotagging: {
249
+ label: string;
250
+ type: "string";
251
+ required: false;
252
+ comments: string;
253
+ model: {
254
+ label: string;
255
+ value: string;
256
+ }[];
257
+ clean: (input: unknown) => string | undefined;
258
+ };
259
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
260
+ data: any;
261
+ }>;
262
+ editRecipient: import("@prismatic-io/spectral").ActionDefinition<{
263
+ connection: {
264
+ label: string;
265
+ type: "connection";
266
+ required: true;
267
+ example: string;
268
+ };
269
+ envelopeId: {
270
+ label: string;
271
+ type: "string";
272
+ required: true;
273
+ comments: string;
274
+ example: string;
275
+ placeholder: string;
276
+ dataSource: string;
277
+ clean: (input: unknown) => string | undefined;
278
+ };
279
+ recipientId: {
280
+ label: string;
281
+ type: "string";
282
+ required: true;
283
+ comments: string;
284
+ example: string;
285
+ placeholder: string;
286
+ clean: (input: unknown) => string | undefined;
287
+ };
288
+ recipientInfo: {
289
+ label: string;
290
+ type: "code";
291
+ language: "json";
292
+ required: true;
293
+ comments: string;
294
+ default: string;
295
+ clean: (input: unknown) => object | undefined;
296
+ };
297
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
298
+ data: any;
299
+ }>;
300
+ findEnvelopes: import("@prismatic-io/spectral").ActionDefinition<{
301
+ connection: {
302
+ label: string;
303
+ type: "connection";
304
+ required: true;
305
+ example: string;
306
+ };
307
+ envelopeIds: {
308
+ label: string;
309
+ type: "string";
310
+ required: true;
311
+ collection: "valuelist";
312
+ comments: string;
313
+ clean: (input: unknown) => string[] | undefined;
314
+ };
315
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
316
+ data: any;
317
+ }>;
318
+ getEnvelope: import("@prismatic-io/spectral").ActionDefinition<{
319
+ connection: {
320
+ label: string;
321
+ type: "connection";
322
+ required: true;
323
+ example: string;
324
+ };
325
+ envelopeId: {
326
+ label: string;
327
+ type: "string";
328
+ required: true;
329
+ comments: string;
330
+ example: string;
331
+ placeholder: string;
332
+ dataSource: string;
333
+ clean: (input: unknown) => string | undefined;
334
+ };
335
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
336
+ data: any;
337
+ }>;
338
+ getDocuments: import("@prismatic-io/spectral").ActionDefinition<{
339
+ connection: {
340
+ label: string;
341
+ type: "connection";
342
+ required: true;
343
+ example: string;
344
+ };
345
+ envelopeId: {
346
+ label: string;
347
+ type: "string";
348
+ required: true;
349
+ comments: string;
350
+ example: string;
351
+ placeholder: string;
352
+ dataSource: string;
353
+ clean: (input: unknown) => string | undefined;
354
+ };
355
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
356
+ data: any;
357
+ }>;
358
+ getEnvelopeStatus: import("@prismatic-io/spectral").ActionDefinition<{
359
+ connection: {
360
+ label: string;
361
+ type: "connection";
362
+ required: true;
363
+ example: string;
364
+ };
365
+ envelopeId: {
366
+ label: string;
367
+ type: "string";
368
+ required: true;
369
+ comments: string;
370
+ example: string;
371
+ placeholder: string;
372
+ dataSource: string;
373
+ clean: (input: unknown) => string | undefined;
374
+ };
375
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
376
+ data: any;
377
+ }>;
378
+ listEnvelopes: import("@prismatic-io/spectral").ActionDefinition<{
379
+ connection: {
380
+ label: string;
381
+ type: "connection";
382
+ required: true;
383
+ example: string;
384
+ };
385
+ fetchAll: {
386
+ label: string;
387
+ type: "boolean";
388
+ required: false;
389
+ comments: string;
390
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
391
+ };
392
+ offset: {
393
+ label: string;
394
+ type: "string";
395
+ required: false;
396
+ comments: string;
397
+ example: string;
398
+ placeholder: string;
399
+ clean: (input: unknown) => string | undefined;
400
+ };
401
+ limit: {
402
+ label: string;
403
+ type: "string";
404
+ required: false;
405
+ comments: string;
406
+ example: string;
407
+ placeholder: string;
408
+ clean: (input: unknown) => string | undefined;
409
+ };
410
+ keyValueParams: {
411
+ label: string;
412
+ type: "string";
413
+ collection: "keyvaluelist";
414
+ required: false;
415
+ comments: string;
416
+ example: string;
417
+ placeholder: string;
418
+ clean: (value: unknown) => Record<string, unknown> | undefined;
419
+ };
420
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
421
+ data: any;
422
+ }>;
423
+ sendEnvelopeReminder: import("@prismatic-io/spectral").ActionDefinition<{
424
+ connection: {
425
+ label: string;
426
+ type: "connection";
427
+ required: true;
428
+ example: string;
429
+ };
430
+ envelopeId: {
431
+ label: string;
432
+ type: "string";
433
+ required: true;
434
+ comments: string;
435
+ example: string;
436
+ placeholder: string;
437
+ dataSource: string;
438
+ clean: (input: unknown) => string | undefined;
439
+ };
440
+ recipientId: {
441
+ label: string;
442
+ type: "string";
443
+ required: true;
444
+ comments: string;
445
+ example: string;
446
+ placeholder: string;
447
+ clean: (input: unknown) => string | undefined;
448
+ };
449
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
450
+ data: any;
451
+ }>;
452
+ getIDVSessionMedia: import("@prismatic-io/spectral").ActionDefinition<{
453
+ connection: {
454
+ label: string;
455
+ type: "connection";
456
+ required: true;
457
+ example: string;
458
+ };
459
+ recipientId: {
460
+ label: string;
461
+ type: "string";
462
+ required: true;
463
+ comments: string;
464
+ example: string;
465
+ placeholder: string;
466
+ clean: (input: unknown) => string | undefined;
467
+ };
468
+ mediaId: {
469
+ label: string;
470
+ type: "string";
471
+ required: true;
472
+ comments: string;
473
+ example: string;
474
+ placeholder: string;
475
+ clean: (input: unknown) => string | undefined;
476
+ };
477
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
478
+ data: any;
479
+ }>;
480
+ getIDVSessionResult: import("@prismatic-io/spectral").ActionDefinition<{
481
+ connection: {
482
+ label: string;
483
+ type: "connection";
484
+ required: true;
485
+ example: string;
486
+ };
487
+ recipientId: {
488
+ label: string;
489
+ type: "string";
490
+ required: true;
491
+ comments: string;
492
+ example: string;
493
+ placeholder: string;
494
+ clean: (input: unknown) => string | undefined;
495
+ };
496
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
497
+ data: any;
498
+ }>;
499
+ };
500
+ triggers: {
501
+ pollChangesTrigger: import("@prismatic-io/spectral").PollingTriggerDefinition<{
502
+ connection: {
503
+ label: string;
504
+ type: "connection";
505
+ required: true;
506
+ example: string;
507
+ };
508
+ lookBackDate: {
509
+ label: string;
510
+ placeholder: string;
511
+ type: "string";
512
+ required: false;
513
+ comments: string;
514
+ example: string;
515
+ clean: (value: unknown) => string;
516
+ };
517
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
518
+ payload: {
519
+ body: {
520
+ data: {
521
+ created: Envelope[];
522
+ };
523
+ };
524
+ headers: {
525
+ [key: string]: string;
526
+ };
527
+ queryParameters: {
528
+ [key: string]: string;
529
+ };
530
+ rawBody: {
531
+ data: unknown;
532
+ contentType?: string;
533
+ };
534
+ pathFragment: string;
535
+ webhookUrls: {
536
+ [key: string]: string;
537
+ };
538
+ webhookApiKeys: {
539
+ [key: string]: string[];
540
+ };
541
+ invokeUrl: string;
542
+ executionId: string;
543
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
544
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
545
+ user: import("@prismatic-io/spectral").UserAttributes;
546
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
547
+ flow: import("@prismatic-io/spectral").FlowAttributes;
548
+ startedAt: string;
549
+ globalDebug: boolean;
550
+ paginationState?: Record<string, unknown> | undefined;
551
+ };
552
+ polledNoChanges: boolean;
553
+ }, import("@prismatic-io/spectral").Inputs>;
554
+ };
555
+ connections: import("@prismatic-io/spectral").KeyedConnection<{
556
+ key: "apiKey";
557
+ display: {
558
+ label: string;
559
+ description: string;
560
+ };
561
+ inputs: {
562
+ baseUrl: {
563
+ label: string;
564
+ type: "string";
565
+ required: true;
566
+ comments: string;
567
+ model: {
568
+ label: string;
569
+ value: string;
570
+ }[];
571
+ default: string;
572
+ clean: (input: unknown) => string | undefined;
573
+ };
574
+ apiKey: {
575
+ label: string;
576
+ placeholder: string;
577
+ type: "password";
578
+ required: true;
579
+ comments: string;
580
+ };
581
+ };
582
+ }, "apiKey">[];
583
+ dataSources: {
584
+ selectEnvelope: import("@prismatic-io/spectral").DataSourceDefinition<{
585
+ connection: {
586
+ label: string;
587
+ type: "connection";
588
+ required: true;
589
+ example: string;
590
+ };
591
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
592
+ };
593
+ hooks: {
594
+ error: (error: unknown) => unknown;
595
+ };
596
+ }>;
597
+ export = _default;
package/package.json CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "@prismatic-io/components-yoti-sign",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "main": "./npm-dist/index.cjs",
5
+ "types": "./npm-dist/index.d.cts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./npm-dist/index.d.cts",
9
+ "default": "./npm-dist/index.cjs"
10
+ }
11
+ },
12
+ "description": "Yoti Sign is a digital identity and e-signature solution that allows users to verify their identity and sign documents electronically and securely.",
13
+ "license": "Apache-2.0",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/prismatic-io/components.git",
17
+ "directory": "components/yoti-sign"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "files": [
23
+ "npm-dist",
24
+ "dist"
25
+ ],
26
+ "prismatic": {
27
+ "component": "./dist/index.js"
28
+ },
29
+ "scripts": {
30
+ "build": "npm run format && npm run lint && tsdown",
31
+ "typecheck": "tsc --noEmit",
32
+ "lint": "biome check --write .",
33
+ "format": "biome format --write .",
34
+ "test": "echo 'no tests'",
35
+ "prepare": "npm run build",
36
+ "publish:platform": "npm run build && prism components:publish"
37
+ },
38
+ "peerDependencies": {
39
+ "@prismatic-io/spectral": "^10.38.5"
40
+ },
41
+ "dependencies": {},
42
+ "devDependencies": {
43
+ "@biomejs/biome": "2.5.1",
44
+ "@types/node": "^26.6.5",
45
+ "tsdown": "0.22.3",
46
+ "typescript": "6.0.3",
47
+ "@prismatic-io/spectral": "^10.38.5"
48
+ }
49
+ }