@n8n-dev/n8n-nodes-ndhm-gov-ndhm-cm 1.0.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.
Files changed (52) hide show
  1. package/README.md +107 -0
  2. package/dist/banner.svg +165 -0
  3. package/dist/credentials/NdhmGovNdhmCmApi.credentials.d.ts +9 -0
  4. package/dist/credentials/NdhmGovNdhmCmApi.credentials.js +49 -0
  5. package/dist/credentials/NdhmGovNdhmCmApi.credentials.js.map +1 -0
  6. package/dist/icons/ndhm-gov-ndhm-cm.dark.svg +18 -0
  7. package/dist/icons/ndhm-gov-ndhm-cm.svg +18 -0
  8. package/dist/nodes/NdhmGovNdhmCm/NdhmGovNdhmCm.node.d.ts +4 -0
  9. package/dist/nodes/NdhmGovNdhmCm/NdhmGovNdhmCm.node.js +124 -0
  10. package/dist/nodes/NdhmGovNdhmCm/NdhmGovNdhmCm.node.js.map +1 -0
  11. package/dist/nodes/NdhmGovNdhmCm/NdhmGovNdhmCm.node.json +20 -0
  12. package/dist/nodes/NdhmGovNdhmCm/ndhm-gov-ndhm-cm.dark.svg +18 -0
  13. package/dist/nodes/NdhmGovNdhmCm/ndhm-gov-ndhm-cm.svg +18 -0
  14. package/dist/nodes/NdhmGovNdhmCm/resources/consent/index.d.ts +2 -0
  15. package/dist/nodes/NdhmGovNdhmCm/resources/consent/index.js +783 -0
  16. package/dist/nodes/NdhmGovNdhmCm/resources/consent/index.js.map +1 -0
  17. package/dist/nodes/NdhmGovNdhmCm/resources/data-flow/index.d.ts +2 -0
  18. package/dist/nodes/NdhmGovNdhmCm/resources/data-flow/index.js +468 -0
  19. package/dist/nodes/NdhmGovNdhmCm/resources/data-flow/index.js.map +1 -0
  20. package/dist/nodes/NdhmGovNdhmCm/resources/discovery/index.d.ts +2 -0
  21. package/dist/nodes/NdhmGovNdhmCm/resources/discovery/index.js +228 -0
  22. package/dist/nodes/NdhmGovNdhmCm/resources/discovery/index.js.map +1 -0
  23. package/dist/nodes/NdhmGovNdhmCm/resources/hip-facing/index.d.ts +2 -0
  24. package/dist/nodes/NdhmGovNdhmCm/resources/hip-facing/index.js +336 -0
  25. package/dist/nodes/NdhmGovNdhmCm/resources/hip-facing/index.js.map +1 -0
  26. package/dist/nodes/NdhmGovNdhmCm/resources/hiu-facing/index.d.ts +2 -0
  27. package/dist/nodes/NdhmGovNdhmCm/resources/hiu-facing/index.js +384 -0
  28. package/dist/nodes/NdhmGovNdhmCm/resources/hiu-facing/index.js.map +1 -0
  29. package/dist/nodes/NdhmGovNdhmCm/resources/identification/index.d.ts +2 -0
  30. package/dist/nodes/NdhmGovNdhmCm/resources/identification/index.js +155 -0
  31. package/dist/nodes/NdhmGovNdhmCm/resources/identification/index.js.map +1 -0
  32. package/dist/nodes/NdhmGovNdhmCm/resources/index.d.ts +11 -0
  33. package/dist/nodes/NdhmGovNdhmCm/resources/index.js +26 -0
  34. package/dist/nodes/NdhmGovNdhmCm/resources/index.js.map +1 -0
  35. package/dist/nodes/NdhmGovNdhmCm/resources/link/index.d.ts +2 -0
  36. package/dist/nodes/NdhmGovNdhmCm/resources/link/index.js +542 -0
  37. package/dist/nodes/NdhmGovNdhmCm/resources/link/index.js.map +1 -0
  38. package/dist/nodes/NdhmGovNdhmCm/resources/monitoring/index.d.ts +2 -0
  39. package/dist/nodes/NdhmGovNdhmCm/resources/monitoring/index.js +53 -0
  40. package/dist/nodes/NdhmGovNdhmCm/resources/monitoring/index.js.map +1 -0
  41. package/dist/nodes/NdhmGovNdhmCm/resources/profile/index.d.ts +2 -0
  42. package/dist/nodes/NdhmGovNdhmCm/resources/profile/index.js +204 -0
  43. package/dist/nodes/NdhmGovNdhmCm/resources/profile/index.js.map +1 -0
  44. package/dist/nodes/NdhmGovNdhmCm/resources/subscriptions/index.d.ts +2 -0
  45. package/dist/nodes/NdhmGovNdhmCm/resources/subscriptions/index.js +517 -0
  46. package/dist/nodes/NdhmGovNdhmCm/resources/subscriptions/index.js.map +1 -0
  47. package/dist/nodes/NdhmGovNdhmCm/resources/user-auth/index.d.ts +2 -0
  48. package/dist/nodes/NdhmGovNdhmCm/resources/user-auth/index.js +628 -0
  49. package/dist/nodes/NdhmGovNdhmCm/resources/user-auth/index.js.map +1 -0
  50. package/dist/package.json +62 -0
  51. package/dist/tsconfig.tsbuildinfo +1 -0
  52. package/package.json +62 -0
@@ -0,0 +1,783 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.consentDescription = void 0;
4
+ exports.consentDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Consent"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "POST V 0 5 Consent Requests Init",
20
+ "value": "POST V 0 5 Consent Requests Init",
21
+ "action": "Create consent request",
22
+ "description": "Creates a consent request to get data about a patient by HIU user. CM should call Gateway - ***/v0.5/consent-requests/on-init*** API with the consent-request-id",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/v0.5/consent-requests/init"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "POST V 0 5 Consent Requests Status",
32
+ "value": "POST V 0 5 Consent Requests Status",
33
+ "action": "Get consent request status",
34
+ "description": "Get status of consent request done previously. CM responds by calling Gateway API - ***/v0.5/consent-requests/on-status***",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/v0.5/consent-requests/status"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "POST V 0 5 Consents Fetch",
44
+ "value": "POST V 0 5 Consents Fetch",
45
+ "action": "Get consent artefact",
46
+ "description": "This API is called when a HIU makes a request to get a consent artefact. For response please refer to the Gateway ***/v0.5/consents/on-fetch***",
47
+ "routing": {
48
+ "request": {
49
+ "method": "POST",
50
+ "url": "=/v0.5/consents/fetch"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "POST V 0 5 Consents Hip On Notify",
56
+ "value": "POST V 0 5 Consents Hip On Notify",
57
+ "action": "Consent notification",
58
+ "description": "This API is called by HIP as acknowledgement to notification of consents, in cases of consent revocation and expiration, notified by CM earlier via Gateway API - ***/v0.5/consents/hip/notify***. \n",
59
+ "routing": {
60
+ "request": {
61
+ "method": "POST",
62
+ "url": "=/v0.5/consents/hip/on-notify"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "POST V 0 5 Consents Hiu On Notify",
68
+ "value": "POST V 0 5 Consents Hiu On Notify",
69
+ "action": "Consent notification",
70
+ "description": "This API is called by HIU as acknowledgement to consent notifications, specifically for cases when consent is REVOKED or EXPIRED, notified by CM earlier via Gateway API - ***/v0.5/consents/hiu/notify***.\n",
71
+ "routing": {
72
+ "request": {
73
+ "method": "POST",
74
+ "url": "=/v0.5/consents/hiu/on-notify"
75
+ }
76
+ }
77
+ }
78
+ ],
79
+ "default": ""
80
+ },
81
+ {
82
+ "displayName": "POST /v0.5/consent-requests/init",
83
+ "name": "operation",
84
+ "type": "notice",
85
+ "typeOptions": {
86
+ "theme": "info"
87
+ },
88
+ "default": "",
89
+ "displayOptions": {
90
+ "show": {
91
+ "resource": [
92
+ "Consent"
93
+ ],
94
+ "operation": [
95
+ "POST V 0 5 Consent Requests Init"
96
+ ]
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "displayName": "Authorization",
102
+ "name": "Authorization",
103
+ "required": true,
104
+ "description": "Access token which was issued after successful login with gateway auth server.",
105
+ "default": "",
106
+ "type": "string",
107
+ "routing": {
108
+ "request": {
109
+ "headers": {
110
+ "Authorization": "={{ $value }}"
111
+ }
112
+ }
113
+ },
114
+ "displayOptions": {
115
+ "show": {
116
+ "resource": [
117
+ "Consent"
118
+ ],
119
+ "operation": [
120
+ "POST V 0 5 Consent Requests Init"
121
+ ]
122
+ }
123
+ }
124
+ },
125
+ {
126
+ "required": true,
127
+ "displayName": "Consent",
128
+ "name": "consent",
129
+ "type": "json",
130
+ "default": "{\n \"careContexts\": [\n {\n \"careContextReference\": \"Episode1\",\n \"patientReference\": \"batman@tmh\"\n }\n ],\n \"hiTypes\": [\n null\n ],\n \"hip\": {},\n \"hiu\": {},\n \"patient\": {},\n \"permission\": {\n \"dateRange\": {},\n \"frequency\": {}\n },\n \"purpose\": {},\n \"requester\": {\n \"identifier\": {\n \"system\": \"https://www.mciindia.org\",\n \"type\": \"REGNO\",\n \"value\": \"MH1001\"\n },\n \"name\": \"Dr. Manju\"\n }\n}",
131
+ "routing": {
132
+ "send": {
133
+ "property": "consent",
134
+ "propertyInDotNotation": false,
135
+ "type": "body",
136
+ "value": "={{ JSON.parse($value) }}"
137
+ }
138
+ },
139
+ "displayOptions": {
140
+ "show": {
141
+ "resource": [
142
+ "Consent"
143
+ ],
144
+ "operation": [
145
+ "POST V 0 5 Consent Requests Init"
146
+ ]
147
+ }
148
+ }
149
+ },
150
+ {
151
+ "required": true,
152
+ "displayName": "Request Id",
153
+ "name": "requestId",
154
+ "type": "string",
155
+ "default": "499a5a4a-7dda-4f20-9b67-e24589627061",
156
+ "description": "a nonce, unique for each HTTP request.",
157
+ "routing": {
158
+ "send": {
159
+ "property": "requestId",
160
+ "propertyInDotNotation": false,
161
+ "type": "body",
162
+ "value": "={{ $value }}"
163
+ }
164
+ },
165
+ "displayOptions": {
166
+ "show": {
167
+ "resource": [
168
+ "Consent"
169
+ ],
170
+ "operation": [
171
+ "POST V 0 5 Consent Requests Init"
172
+ ]
173
+ }
174
+ }
175
+ },
176
+ {
177
+ "required": true,
178
+ "displayName": "Timestamp",
179
+ "name": "timestamp",
180
+ "type": "string",
181
+ "default": "",
182
+ "description": "Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ",
183
+ "routing": {
184
+ "send": {
185
+ "property": "timestamp",
186
+ "propertyInDotNotation": false,
187
+ "type": "body",
188
+ "value": "={{ $value }}"
189
+ }
190
+ },
191
+ "displayOptions": {
192
+ "show": {
193
+ "resource": [
194
+ "Consent"
195
+ ],
196
+ "operation": [
197
+ "POST V 0 5 Consent Requests Init"
198
+ ]
199
+ }
200
+ }
201
+ },
202
+ {
203
+ "displayName": "POST /v0.5/consent-requests/status",
204
+ "name": "operation",
205
+ "type": "notice",
206
+ "typeOptions": {
207
+ "theme": "info"
208
+ },
209
+ "default": "",
210
+ "displayOptions": {
211
+ "show": {
212
+ "resource": [
213
+ "Consent"
214
+ ],
215
+ "operation": [
216
+ "POST V 0 5 Consent Requests Status"
217
+ ]
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "displayName": "Authorization",
223
+ "name": "Authorization",
224
+ "required": true,
225
+ "description": "Access token which was issued after successful login with gateway auth server.",
226
+ "default": "",
227
+ "type": "string",
228
+ "routing": {
229
+ "request": {
230
+ "headers": {
231
+ "Authorization": "={{ $value }}"
232
+ }
233
+ }
234
+ },
235
+ "displayOptions": {
236
+ "show": {
237
+ "resource": [
238
+ "Consent"
239
+ ],
240
+ "operation": [
241
+ "POST V 0 5 Consent Requests Status"
242
+ ]
243
+ }
244
+ }
245
+ },
246
+ {
247
+ "required": true,
248
+ "displayName": "Consent Request Id",
249
+ "name": "consentRequestId",
250
+ "type": "string",
251
+ "default": "",
252
+ "routing": {
253
+ "send": {
254
+ "property": "consentRequestId",
255
+ "propertyInDotNotation": false,
256
+ "type": "body",
257
+ "value": "={{ $value }}"
258
+ }
259
+ },
260
+ "displayOptions": {
261
+ "show": {
262
+ "resource": [
263
+ "Consent"
264
+ ],
265
+ "operation": [
266
+ "POST V 0 5 Consent Requests Status"
267
+ ]
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "required": true,
273
+ "displayName": "Request Id",
274
+ "name": "requestId",
275
+ "type": "string",
276
+ "default": "5f7a535d-a3fd-416b-b069-c97d021fbacd",
277
+ "description": "a nonce, unique for each HTTP request",
278
+ "routing": {
279
+ "send": {
280
+ "property": "requestId",
281
+ "propertyInDotNotation": false,
282
+ "type": "body",
283
+ "value": "={{ $value }}"
284
+ }
285
+ },
286
+ "displayOptions": {
287
+ "show": {
288
+ "resource": [
289
+ "Consent"
290
+ ],
291
+ "operation": [
292
+ "POST V 0 5 Consent Requests Status"
293
+ ]
294
+ }
295
+ }
296
+ },
297
+ {
298
+ "required": true,
299
+ "displayName": "Timestamp",
300
+ "name": "timestamp",
301
+ "type": "string",
302
+ "default": "",
303
+ "description": "Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ",
304
+ "routing": {
305
+ "send": {
306
+ "property": "timestamp",
307
+ "propertyInDotNotation": false,
308
+ "type": "body",
309
+ "value": "={{ $value }}"
310
+ }
311
+ },
312
+ "displayOptions": {
313
+ "show": {
314
+ "resource": [
315
+ "Consent"
316
+ ],
317
+ "operation": [
318
+ "POST V 0 5 Consent Requests Status"
319
+ ]
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "displayName": "POST /v0.5/consents/fetch",
325
+ "name": "operation",
326
+ "type": "notice",
327
+ "typeOptions": {
328
+ "theme": "info"
329
+ },
330
+ "default": "",
331
+ "displayOptions": {
332
+ "show": {
333
+ "resource": [
334
+ "Consent"
335
+ ],
336
+ "operation": [
337
+ "POST V 0 5 Consents Fetch"
338
+ ]
339
+ }
340
+ }
341
+ },
342
+ {
343
+ "displayName": "Authorization",
344
+ "name": "Authorization",
345
+ "required": true,
346
+ "description": "Access token which was issued after successful login with gateway auth server.",
347
+ "default": "",
348
+ "type": "string",
349
+ "routing": {
350
+ "request": {
351
+ "headers": {
352
+ "Authorization": "={{ $value }}"
353
+ }
354
+ }
355
+ },
356
+ "displayOptions": {
357
+ "show": {
358
+ "resource": [
359
+ "Consent"
360
+ ],
361
+ "operation": [
362
+ "POST V 0 5 Consents Fetch"
363
+ ]
364
+ }
365
+ }
366
+ },
367
+ {
368
+ "required": true,
369
+ "displayName": "Consent Id",
370
+ "name": "consentId",
371
+ "type": "string",
372
+ "default": "",
373
+ "routing": {
374
+ "send": {
375
+ "property": "consentId",
376
+ "propertyInDotNotation": false,
377
+ "type": "body",
378
+ "value": "={{ $value }}"
379
+ }
380
+ },
381
+ "displayOptions": {
382
+ "show": {
383
+ "resource": [
384
+ "Consent"
385
+ ],
386
+ "operation": [
387
+ "POST V 0 5 Consents Fetch"
388
+ ]
389
+ }
390
+ }
391
+ },
392
+ {
393
+ "required": true,
394
+ "displayName": "Request Id",
395
+ "name": "requestId",
396
+ "type": "string",
397
+ "default": "5f7a535d-a3fd-416b-b069-c97d021fbacd",
398
+ "description": "a nonce, unique for each HTTP request",
399
+ "routing": {
400
+ "send": {
401
+ "property": "requestId",
402
+ "propertyInDotNotation": false,
403
+ "type": "body",
404
+ "value": "={{ $value }}"
405
+ }
406
+ },
407
+ "displayOptions": {
408
+ "show": {
409
+ "resource": [
410
+ "Consent"
411
+ ],
412
+ "operation": [
413
+ "POST V 0 5 Consents Fetch"
414
+ ]
415
+ }
416
+ }
417
+ },
418
+ {
419
+ "required": true,
420
+ "displayName": "Timestamp",
421
+ "name": "timestamp",
422
+ "type": "string",
423
+ "default": "",
424
+ "description": "Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ",
425
+ "routing": {
426
+ "send": {
427
+ "property": "timestamp",
428
+ "propertyInDotNotation": false,
429
+ "type": "body",
430
+ "value": "={{ $value }}"
431
+ }
432
+ },
433
+ "displayOptions": {
434
+ "show": {
435
+ "resource": [
436
+ "Consent"
437
+ ],
438
+ "operation": [
439
+ "POST V 0 5 Consents Fetch"
440
+ ]
441
+ }
442
+ }
443
+ },
444
+ {
445
+ "displayName": "POST /v0.5/consents/hip/on-notify",
446
+ "name": "operation",
447
+ "type": "notice",
448
+ "typeOptions": {
449
+ "theme": "info"
450
+ },
451
+ "default": "",
452
+ "displayOptions": {
453
+ "show": {
454
+ "resource": [
455
+ "Consent"
456
+ ],
457
+ "operation": [
458
+ "POST V 0 5 Consents Hip On Notify"
459
+ ]
460
+ }
461
+ }
462
+ },
463
+ {
464
+ "displayName": "Authorization",
465
+ "name": "Authorization",
466
+ "required": true,
467
+ "description": "Access token which was issued after successful login with gateway auth server.",
468
+ "default": "",
469
+ "type": "string",
470
+ "routing": {
471
+ "request": {
472
+ "headers": {
473
+ "Authorization": "={{ $value }}"
474
+ }
475
+ }
476
+ },
477
+ "displayOptions": {
478
+ "show": {
479
+ "resource": [
480
+ "Consent"
481
+ ],
482
+ "operation": [
483
+ "POST V 0 5 Consents Hip On Notify"
484
+ ]
485
+ }
486
+ }
487
+ },
488
+ {
489
+ "displayName": "Acknowledgement",
490
+ "name": "acknowledgement",
491
+ "type": "json",
492
+ "default": "{\n \"consentId\": \"<consent-artefact-id>\"\n}",
493
+ "routing": {
494
+ "send": {
495
+ "property": "acknowledgement",
496
+ "propertyInDotNotation": false,
497
+ "type": "body",
498
+ "value": "={{ JSON.parse($value) }}"
499
+ }
500
+ },
501
+ "displayOptions": {
502
+ "show": {
503
+ "resource": [
504
+ "Consent"
505
+ ],
506
+ "operation": [
507
+ "POST V 0 5 Consents Hip On Notify"
508
+ ]
509
+ }
510
+ }
511
+ },
512
+ {
513
+ "displayName": "Error",
514
+ "name": "error",
515
+ "type": "json",
516
+ "default": "{}",
517
+ "routing": {
518
+ "send": {
519
+ "property": "error",
520
+ "propertyInDotNotation": false,
521
+ "type": "body",
522
+ "value": "={{ JSON.parse($value) }}"
523
+ }
524
+ },
525
+ "displayOptions": {
526
+ "show": {
527
+ "resource": [
528
+ "Consent"
529
+ ],
530
+ "operation": [
531
+ "POST V 0 5 Consents Hip On Notify"
532
+ ]
533
+ }
534
+ }
535
+ },
536
+ {
537
+ "required": true,
538
+ "displayName": "Request Id",
539
+ "name": "requestId",
540
+ "type": "string",
541
+ "default": "5f7a535d-a3fd-416b-b069-c97d021fbacd",
542
+ "description": "a nonce, unique for each HTTP request",
543
+ "routing": {
544
+ "send": {
545
+ "property": "requestId",
546
+ "propertyInDotNotation": false,
547
+ "type": "body",
548
+ "value": "={{ $value }}"
549
+ }
550
+ },
551
+ "displayOptions": {
552
+ "show": {
553
+ "resource": [
554
+ "Consent"
555
+ ],
556
+ "operation": [
557
+ "POST V 0 5 Consents Hip On Notify"
558
+ ]
559
+ }
560
+ }
561
+ },
562
+ {
563
+ "required": true,
564
+ "displayName": "Resp",
565
+ "name": "resp",
566
+ "type": "json",
567
+ "default": "{}",
568
+ "routing": {
569
+ "send": {
570
+ "property": "resp",
571
+ "propertyInDotNotation": false,
572
+ "type": "body",
573
+ "value": "={{ JSON.parse($value) }}"
574
+ }
575
+ },
576
+ "displayOptions": {
577
+ "show": {
578
+ "resource": [
579
+ "Consent"
580
+ ],
581
+ "operation": [
582
+ "POST V 0 5 Consents Hip On Notify"
583
+ ]
584
+ }
585
+ }
586
+ },
587
+ {
588
+ "required": true,
589
+ "displayName": "Timestamp",
590
+ "name": "timestamp",
591
+ "type": "string",
592
+ "default": "",
593
+ "description": "Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ",
594
+ "routing": {
595
+ "send": {
596
+ "property": "timestamp",
597
+ "propertyInDotNotation": false,
598
+ "type": "body",
599
+ "value": "={{ $value }}"
600
+ }
601
+ },
602
+ "displayOptions": {
603
+ "show": {
604
+ "resource": [
605
+ "Consent"
606
+ ],
607
+ "operation": [
608
+ "POST V 0 5 Consents Hip On Notify"
609
+ ]
610
+ }
611
+ }
612
+ },
613
+ {
614
+ "displayName": "POST /v0.5/consents/hiu/on-notify",
615
+ "name": "operation",
616
+ "type": "notice",
617
+ "typeOptions": {
618
+ "theme": "info"
619
+ },
620
+ "default": "",
621
+ "displayOptions": {
622
+ "show": {
623
+ "resource": [
624
+ "Consent"
625
+ ],
626
+ "operation": [
627
+ "POST V 0 5 Consents Hiu On Notify"
628
+ ]
629
+ }
630
+ }
631
+ },
632
+ {
633
+ "displayName": "Authorization",
634
+ "name": "Authorization",
635
+ "required": true,
636
+ "description": "Access token which was issued after successful login with gateway auth server.",
637
+ "default": "",
638
+ "type": "string",
639
+ "routing": {
640
+ "request": {
641
+ "headers": {
642
+ "Authorization": "={{ $value }}"
643
+ }
644
+ }
645
+ },
646
+ "displayOptions": {
647
+ "show": {
648
+ "resource": [
649
+ "Consent"
650
+ ],
651
+ "operation": [
652
+ "POST V 0 5 Consents Hiu On Notify"
653
+ ]
654
+ }
655
+ }
656
+ },
657
+ {
658
+ "displayName": "Acknowledgement",
659
+ "name": "acknowledgement",
660
+ "type": "json",
661
+ "default": "[\n {\n \"consentId\": \"<consent-artefact-id>\"\n }\n]",
662
+ "routing": {
663
+ "send": {
664
+ "property": "acknowledgement",
665
+ "propertyInDotNotation": false,
666
+ "type": "body",
667
+ "value": "={{ JSON.parse($value) }}"
668
+ }
669
+ },
670
+ "displayOptions": {
671
+ "show": {
672
+ "resource": [
673
+ "Consent"
674
+ ],
675
+ "operation": [
676
+ "POST V 0 5 Consents Hiu On Notify"
677
+ ]
678
+ }
679
+ }
680
+ },
681
+ {
682
+ "displayName": "Error",
683
+ "name": "error",
684
+ "type": "json",
685
+ "default": "{}",
686
+ "routing": {
687
+ "send": {
688
+ "property": "error",
689
+ "propertyInDotNotation": false,
690
+ "type": "body",
691
+ "value": "={{ JSON.parse($value) }}"
692
+ }
693
+ },
694
+ "displayOptions": {
695
+ "show": {
696
+ "resource": [
697
+ "Consent"
698
+ ],
699
+ "operation": [
700
+ "POST V 0 5 Consents Hiu On Notify"
701
+ ]
702
+ }
703
+ }
704
+ },
705
+ {
706
+ "required": true,
707
+ "displayName": "Request Id",
708
+ "name": "requestId",
709
+ "type": "string",
710
+ "default": "5f7a535d-a3fd-416b-b069-c97d021fbacd",
711
+ "description": "a nonce, unique for each HTTP request",
712
+ "routing": {
713
+ "send": {
714
+ "property": "requestId",
715
+ "propertyInDotNotation": false,
716
+ "type": "body",
717
+ "value": "={{ $value }}"
718
+ }
719
+ },
720
+ "displayOptions": {
721
+ "show": {
722
+ "resource": [
723
+ "Consent"
724
+ ],
725
+ "operation": [
726
+ "POST V 0 5 Consents Hiu On Notify"
727
+ ]
728
+ }
729
+ }
730
+ },
731
+ {
732
+ "required": true,
733
+ "displayName": "Resp",
734
+ "name": "resp",
735
+ "type": "json",
736
+ "default": "{}",
737
+ "routing": {
738
+ "send": {
739
+ "property": "resp",
740
+ "propertyInDotNotation": false,
741
+ "type": "body",
742
+ "value": "={{ JSON.parse($value) }}"
743
+ }
744
+ },
745
+ "displayOptions": {
746
+ "show": {
747
+ "resource": [
748
+ "Consent"
749
+ ],
750
+ "operation": [
751
+ "POST V 0 5 Consents Hiu On Notify"
752
+ ]
753
+ }
754
+ }
755
+ },
756
+ {
757
+ "required": true,
758
+ "displayName": "Timestamp",
759
+ "name": "timestamp",
760
+ "type": "string",
761
+ "default": "",
762
+ "description": "Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ",
763
+ "routing": {
764
+ "send": {
765
+ "property": "timestamp",
766
+ "propertyInDotNotation": false,
767
+ "type": "body",
768
+ "value": "={{ $value }}"
769
+ }
770
+ },
771
+ "displayOptions": {
772
+ "show": {
773
+ "resource": [
774
+ "Consent"
775
+ ],
776
+ "operation": [
777
+ "POST V 0 5 Consents Hiu On Notify"
778
+ ]
779
+ }
780
+ }
781
+ },
782
+ ];
783
+ //# sourceMappingURL=index.js.map