@ogcio/building-blocks-sdk 0.2.47 → 0.2.49
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/.gitleaksignore +3 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/client/clients/featureFlags/schema.d.ts +3693 -4712
- package/dist/client/clients/featureFlags/schema.d.ts.map +1 -1
- package/dist/client/clients/journey/index.d.ts +8 -0
- package/dist/client/clients/journey/index.d.ts.map +1 -1
- package/dist/client/clients/journey/schema.d.ts +8 -0
- package/dist/client/clients/journey/schema.d.ts.map +1 -1
- package/dist/client/clients/messaging/index.d.ts +6 -6
- package/dist/client/clients/messaging/index.d.ts.map +1 -1
- package/dist/client/clients/messaging/schema.d.ts +6 -11
- package/dist/client/clients/messaging/schema.d.ts.map +1 -1
- package/dist/client/clients/profile/citizen.d.ts +280 -0
- package/dist/client/clients/profile/citizen.d.ts.map +1 -0
- package/dist/client/clients/profile/citizen.js +22 -0
- package/dist/client/clients/profile/citizen.js.map +1 -0
- package/dist/client/clients/profile/index.d.ts +29 -0
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +7 -1
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/profile/schema.d.ts +508 -0
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/dist/clients-configurations/clients-configuration.json +1 -1
- package/package.json +1 -1
- package/src/client/clients/featureFlags/open-api-definition.json +4912 -5964
- package/src/client/clients/featureFlags/schema.ts +3693 -4712
- package/src/client/clients/journey/open-api-definition.json +34 -2
- package/src/client/clients/journey/schema.ts +8 -0
- package/src/client/clients/messaging/open-api-definition.json +47 -11
- package/src/client/clients/messaging/schema.ts +6 -11
- package/src/client/clients/profile/citizen.ts +34 -0
- package/src/client/clients/profile/index.ts +16 -1
- package/src/client/clients/profile/open-api-definition.json +1499 -0
- package/src/client/clients/profile/schema.ts +508 -0
- package/src/clients-configurations/clients-configuration.json +1 -1
|
@@ -1,4 +1,56 @@
|
|
|
1
1
|
export interface paths {
|
|
2
|
+
"/api/v1/citizens/consents/": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
/** @description List the consents for a user, sorted by descending submission date */
|
|
10
|
+
get: operations["citizenListConsents"];
|
|
11
|
+
put?: never;
|
|
12
|
+
/** @description Submit a consent for the logged in user */
|
|
13
|
+
post: operations["citizenSubmitConsent"];
|
|
14
|
+
delete?: never;
|
|
15
|
+
options?: never;
|
|
16
|
+
head?: never;
|
|
17
|
+
patch?: never;
|
|
18
|
+
trace?: never;
|
|
19
|
+
};
|
|
20
|
+
"/api/v1/citizens/consents/latest": {
|
|
21
|
+
parameters: {
|
|
22
|
+
query?: never;
|
|
23
|
+
header?: never;
|
|
24
|
+
path?: never;
|
|
25
|
+
cookie?: never;
|
|
26
|
+
};
|
|
27
|
+
/** @description Get the latest consent for a user */
|
|
28
|
+
get: operations["citizenLatestConsent"];
|
|
29
|
+
put?: never;
|
|
30
|
+
post?: never;
|
|
31
|
+
delete?: never;
|
|
32
|
+
options?: never;
|
|
33
|
+
head?: never;
|
|
34
|
+
patch?: never;
|
|
35
|
+
trace?: never;
|
|
36
|
+
};
|
|
37
|
+
"/api/v1/organisations/consents/": {
|
|
38
|
+
parameters: {
|
|
39
|
+
query?: never;
|
|
40
|
+
header?: never;
|
|
41
|
+
path?: never;
|
|
42
|
+
cookie?: never;
|
|
43
|
+
};
|
|
44
|
+
/** @description List the last submission for each related user */
|
|
45
|
+
get: operations["organisationListConsents"];
|
|
46
|
+
put?: never;
|
|
47
|
+
post?: never;
|
|
48
|
+
delete?: never;
|
|
49
|
+
options?: never;
|
|
50
|
+
head?: never;
|
|
51
|
+
patch?: never;
|
|
52
|
+
trace?: never;
|
|
53
|
+
};
|
|
2
54
|
"/api/v1/jobs/import-profiles/{profileImportId}": {
|
|
3
55
|
parameters: {
|
|
4
56
|
query?: never;
|
|
@@ -276,6 +328,441 @@ export interface components {
|
|
|
276
328
|
}
|
|
277
329
|
export type $defs = Record<string, never>;
|
|
278
330
|
export interface operations {
|
|
331
|
+
citizenListConsents: {
|
|
332
|
+
parameters: {
|
|
333
|
+
query: {
|
|
334
|
+
subject: "messaging";
|
|
335
|
+
/** @description Indicates where to start fetching data or how many records to skip, defining the initial position within the list */
|
|
336
|
+
offset?: string;
|
|
337
|
+
/** @description Indicates the maximum number (100) of items that will be returned in a single request */
|
|
338
|
+
limit?: string;
|
|
339
|
+
};
|
|
340
|
+
header?: never;
|
|
341
|
+
path?: never;
|
|
342
|
+
cookie?: never;
|
|
343
|
+
};
|
|
344
|
+
requestBody?: never;
|
|
345
|
+
responses: {
|
|
346
|
+
/** @description Default Response */
|
|
347
|
+
200: {
|
|
348
|
+
headers: {
|
|
349
|
+
[name: string]: unknown;
|
|
350
|
+
};
|
|
351
|
+
content: {
|
|
352
|
+
"application/json": {
|
|
353
|
+
data: {
|
|
354
|
+
/** Format: uuid */
|
|
355
|
+
id: string;
|
|
356
|
+
profileId: string;
|
|
357
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
358
|
+
subject: string;
|
|
359
|
+
createdAt: string;
|
|
360
|
+
}[];
|
|
361
|
+
metadata?: {
|
|
362
|
+
/** @description Object containing the links to the related endpoints */
|
|
363
|
+
links?: {
|
|
364
|
+
self: {
|
|
365
|
+
/** @description URL pointing to the request itself */
|
|
366
|
+
href?: string;
|
|
367
|
+
};
|
|
368
|
+
next?: {
|
|
369
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
370
|
+
href?: string;
|
|
371
|
+
};
|
|
372
|
+
prev?: {
|
|
373
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
374
|
+
href?: string;
|
|
375
|
+
};
|
|
376
|
+
first: {
|
|
377
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
378
|
+
href?: string;
|
|
379
|
+
};
|
|
380
|
+
last: {
|
|
381
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
382
|
+
href?: string;
|
|
383
|
+
};
|
|
384
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
385
|
+
pages: {
|
|
386
|
+
[key: string]: {
|
|
387
|
+
href?: string;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
/** @description Number representing the total number of available items */
|
|
392
|
+
totalCount?: number;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
/** @description Default Response */
|
|
398
|
+
"4XX": {
|
|
399
|
+
headers: {
|
|
400
|
+
[name: string]: unknown;
|
|
401
|
+
};
|
|
402
|
+
content: {
|
|
403
|
+
"application/json": {
|
|
404
|
+
/** @description Code used to categorize the error */
|
|
405
|
+
code: string;
|
|
406
|
+
/** @description Description of the error */
|
|
407
|
+
detail: string;
|
|
408
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
409
|
+
requestId: string;
|
|
410
|
+
/** @description Name of the error type */
|
|
411
|
+
name: string;
|
|
412
|
+
/** @description List of the validation errors */
|
|
413
|
+
validation?: {
|
|
414
|
+
fieldName: string;
|
|
415
|
+
message: string;
|
|
416
|
+
}[];
|
|
417
|
+
validationContext?: string;
|
|
418
|
+
statusCode: number;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
/** @description Default Response */
|
|
423
|
+
"5XX": {
|
|
424
|
+
headers: {
|
|
425
|
+
[name: string]: unknown;
|
|
426
|
+
};
|
|
427
|
+
content: {
|
|
428
|
+
"application/json": {
|
|
429
|
+
/** @description Code used to categorize the error */
|
|
430
|
+
code: string;
|
|
431
|
+
/** @description Description of the error */
|
|
432
|
+
detail: string;
|
|
433
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
434
|
+
requestId: string;
|
|
435
|
+
/** @description Name of the error type */
|
|
436
|
+
name: string;
|
|
437
|
+
/** @description List of the validation errors */
|
|
438
|
+
validation?: {
|
|
439
|
+
fieldName: string;
|
|
440
|
+
message: string;
|
|
441
|
+
}[];
|
|
442
|
+
validationContext?: string;
|
|
443
|
+
statusCode: number;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
citizenSubmitConsent: {
|
|
450
|
+
parameters: {
|
|
451
|
+
query?: never;
|
|
452
|
+
header?: never;
|
|
453
|
+
path?: never;
|
|
454
|
+
cookie?: never;
|
|
455
|
+
};
|
|
456
|
+
requestBody: {
|
|
457
|
+
content: {
|
|
458
|
+
"application/json": {
|
|
459
|
+
/** @enum {string} */
|
|
460
|
+
subject: "messaging";
|
|
461
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
responses: {
|
|
466
|
+
/** @description Default Response */
|
|
467
|
+
200: {
|
|
468
|
+
headers: {
|
|
469
|
+
[name: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
content: {
|
|
472
|
+
"application/json": {
|
|
473
|
+
data: {
|
|
474
|
+
id: string;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
/** @description Default Response */
|
|
480
|
+
"4XX": {
|
|
481
|
+
headers: {
|
|
482
|
+
[name: string]: unknown;
|
|
483
|
+
};
|
|
484
|
+
content: {
|
|
485
|
+
"application/json": {
|
|
486
|
+
/** @description Code used to categorize the error */
|
|
487
|
+
code: string;
|
|
488
|
+
/** @description Description of the error */
|
|
489
|
+
detail: string;
|
|
490
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
491
|
+
requestId: string;
|
|
492
|
+
/** @description Name of the error type */
|
|
493
|
+
name: string;
|
|
494
|
+
/** @description List of the validation errors */
|
|
495
|
+
validation?: {
|
|
496
|
+
fieldName: string;
|
|
497
|
+
message: string;
|
|
498
|
+
}[];
|
|
499
|
+
validationContext?: string;
|
|
500
|
+
statusCode: number;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
/** @description Default Response */
|
|
505
|
+
"5XX": {
|
|
506
|
+
headers: {
|
|
507
|
+
[name: string]: unknown;
|
|
508
|
+
};
|
|
509
|
+
content: {
|
|
510
|
+
"application/json": {
|
|
511
|
+
/** @description Code used to categorize the error */
|
|
512
|
+
code: string;
|
|
513
|
+
/** @description Description of the error */
|
|
514
|
+
detail: string;
|
|
515
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
516
|
+
requestId: string;
|
|
517
|
+
/** @description Name of the error type */
|
|
518
|
+
name: string;
|
|
519
|
+
/** @description List of the validation errors */
|
|
520
|
+
validation?: {
|
|
521
|
+
fieldName: string;
|
|
522
|
+
message: string;
|
|
523
|
+
}[];
|
|
524
|
+
validationContext?: string;
|
|
525
|
+
statusCode: number;
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
citizenLatestConsent: {
|
|
532
|
+
parameters: {
|
|
533
|
+
query: {
|
|
534
|
+
subject: "messaging";
|
|
535
|
+
};
|
|
536
|
+
header?: never;
|
|
537
|
+
path?: never;
|
|
538
|
+
cookie?: never;
|
|
539
|
+
};
|
|
540
|
+
requestBody?: never;
|
|
541
|
+
responses: {
|
|
542
|
+
/** @description Default Response */
|
|
543
|
+
200: {
|
|
544
|
+
headers: {
|
|
545
|
+
[name: string]: unknown;
|
|
546
|
+
};
|
|
547
|
+
content: {
|
|
548
|
+
"application/json": {
|
|
549
|
+
data: {
|
|
550
|
+
/** Format: uuid */
|
|
551
|
+
id: string;
|
|
552
|
+
profileId: string;
|
|
553
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
554
|
+
subject: string;
|
|
555
|
+
createdAt: string;
|
|
556
|
+
};
|
|
557
|
+
metadata?: {
|
|
558
|
+
/** @description Object containing the links to the related endpoints */
|
|
559
|
+
links?: {
|
|
560
|
+
self: {
|
|
561
|
+
/** @description URL pointing to the request itself */
|
|
562
|
+
href?: string;
|
|
563
|
+
};
|
|
564
|
+
next?: {
|
|
565
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
566
|
+
href?: string;
|
|
567
|
+
};
|
|
568
|
+
prev?: {
|
|
569
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
570
|
+
href?: string;
|
|
571
|
+
};
|
|
572
|
+
first: {
|
|
573
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
574
|
+
href?: string;
|
|
575
|
+
};
|
|
576
|
+
last: {
|
|
577
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
578
|
+
href?: string;
|
|
579
|
+
};
|
|
580
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
581
|
+
pages: {
|
|
582
|
+
[key: string]: {
|
|
583
|
+
href?: string;
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
/** @description Number representing the total number of available items */
|
|
588
|
+
totalCount?: number;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
/** @description Default Response */
|
|
594
|
+
"4XX": {
|
|
595
|
+
headers: {
|
|
596
|
+
[name: string]: unknown;
|
|
597
|
+
};
|
|
598
|
+
content: {
|
|
599
|
+
"application/json": {
|
|
600
|
+
/** @description Code used to categorize the error */
|
|
601
|
+
code: string;
|
|
602
|
+
/** @description Description of the error */
|
|
603
|
+
detail: string;
|
|
604
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
605
|
+
requestId: string;
|
|
606
|
+
/** @description Name of the error type */
|
|
607
|
+
name: string;
|
|
608
|
+
/** @description List of the validation errors */
|
|
609
|
+
validation?: {
|
|
610
|
+
fieldName: string;
|
|
611
|
+
message: string;
|
|
612
|
+
}[];
|
|
613
|
+
validationContext?: string;
|
|
614
|
+
statusCode: number;
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
};
|
|
618
|
+
/** @description Default Response */
|
|
619
|
+
"5XX": {
|
|
620
|
+
headers: {
|
|
621
|
+
[name: string]: unknown;
|
|
622
|
+
};
|
|
623
|
+
content: {
|
|
624
|
+
"application/json": {
|
|
625
|
+
/** @description Code used to categorize the error */
|
|
626
|
+
code: string;
|
|
627
|
+
/** @description Description of the error */
|
|
628
|
+
detail: string;
|
|
629
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
630
|
+
requestId: string;
|
|
631
|
+
/** @description Name of the error type */
|
|
632
|
+
name: string;
|
|
633
|
+
/** @description List of the validation errors */
|
|
634
|
+
validation?: {
|
|
635
|
+
fieldName: string;
|
|
636
|
+
message: string;
|
|
637
|
+
}[];
|
|
638
|
+
validationContext?: string;
|
|
639
|
+
statusCode: number;
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
organisationListConsents: {
|
|
646
|
+
parameters: {
|
|
647
|
+
query?: {
|
|
648
|
+
/** @description Service for which list consents */
|
|
649
|
+
subject?: string;
|
|
650
|
+
/** @description User for whom list the consents */
|
|
651
|
+
profileId?: string;
|
|
652
|
+
/** @description Indicates where to start fetching data or how many records to skip, defining the initial position within the list */
|
|
653
|
+
offset?: string;
|
|
654
|
+
/** @description Indicates the maximum number (100) of items that will be returned in a single request */
|
|
655
|
+
limit?: string;
|
|
656
|
+
};
|
|
657
|
+
header?: never;
|
|
658
|
+
path?: never;
|
|
659
|
+
cookie?: never;
|
|
660
|
+
};
|
|
661
|
+
requestBody?: never;
|
|
662
|
+
responses: {
|
|
663
|
+
/** @description Default Response */
|
|
664
|
+
200: {
|
|
665
|
+
headers: {
|
|
666
|
+
[name: string]: unknown;
|
|
667
|
+
};
|
|
668
|
+
content: {
|
|
669
|
+
"application/json": {
|
|
670
|
+
data: {
|
|
671
|
+
/** Format: uuid */
|
|
672
|
+
id: string;
|
|
673
|
+
profileId: string;
|
|
674
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
675
|
+
subject: string;
|
|
676
|
+
createdAt: string;
|
|
677
|
+
}[];
|
|
678
|
+
metadata?: {
|
|
679
|
+
/** @description Object containing the links to the related endpoints */
|
|
680
|
+
links?: {
|
|
681
|
+
self: {
|
|
682
|
+
/** @description URL pointing to the request itself */
|
|
683
|
+
href?: string;
|
|
684
|
+
};
|
|
685
|
+
next?: {
|
|
686
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
687
|
+
href?: string;
|
|
688
|
+
};
|
|
689
|
+
prev?: {
|
|
690
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
691
|
+
href?: string;
|
|
692
|
+
};
|
|
693
|
+
first: {
|
|
694
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
695
|
+
href?: string;
|
|
696
|
+
};
|
|
697
|
+
last: {
|
|
698
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
699
|
+
href?: string;
|
|
700
|
+
};
|
|
701
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
702
|
+
pages: {
|
|
703
|
+
[key: string]: {
|
|
704
|
+
href?: string;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
/** @description Number representing the total number of available items */
|
|
709
|
+
totalCount?: number;
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
/** @description Default Response */
|
|
715
|
+
"4XX": {
|
|
716
|
+
headers: {
|
|
717
|
+
[name: string]: unknown;
|
|
718
|
+
};
|
|
719
|
+
content: {
|
|
720
|
+
"application/json": {
|
|
721
|
+
/** @description Code used to categorize the error */
|
|
722
|
+
code: string;
|
|
723
|
+
/** @description Description of the error */
|
|
724
|
+
detail: string;
|
|
725
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
726
|
+
requestId: string;
|
|
727
|
+
/** @description Name of the error type */
|
|
728
|
+
name: string;
|
|
729
|
+
/** @description List of the validation errors */
|
|
730
|
+
validation?: {
|
|
731
|
+
fieldName: string;
|
|
732
|
+
message: string;
|
|
733
|
+
}[];
|
|
734
|
+
validationContext?: string;
|
|
735
|
+
statusCode: number;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
/** @description Default Response */
|
|
740
|
+
"5XX": {
|
|
741
|
+
headers: {
|
|
742
|
+
[name: string]: unknown;
|
|
743
|
+
};
|
|
744
|
+
content: {
|
|
745
|
+
"application/json": {
|
|
746
|
+
/** @description Code used to categorize the error */
|
|
747
|
+
code: string;
|
|
748
|
+
/** @description Description of the error */
|
|
749
|
+
detail: string;
|
|
750
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
751
|
+
requestId: string;
|
|
752
|
+
/** @description Name of the error type */
|
|
753
|
+
name: string;
|
|
754
|
+
/** @description List of the validation errors */
|
|
755
|
+
validation?: {
|
|
756
|
+
fieldName: string;
|
|
757
|
+
message: string;
|
|
758
|
+
}[];
|
|
759
|
+
validationContext?: string;
|
|
760
|
+
statusCode: number;
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
};
|
|
279
766
|
getOrganisation: {
|
|
280
767
|
parameters: {
|
|
281
768
|
query?: never;
|
|
@@ -441,6 +928,9 @@ export interface operations {
|
|
|
441
928
|
createdAt?: string;
|
|
442
929
|
/** Format: date-time */
|
|
443
930
|
updatedAt?: string;
|
|
931
|
+
consentStatuses?: {
|
|
932
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
933
|
+
} | null;
|
|
444
934
|
details?: {
|
|
445
935
|
email: string;
|
|
446
936
|
firstName: string;
|
|
@@ -591,6 +1081,9 @@ export interface operations {
|
|
|
591
1081
|
createdAt?: string;
|
|
592
1082
|
/** Format: date-time */
|
|
593
1083
|
updatedAt?: string;
|
|
1084
|
+
consentStatuses?: {
|
|
1085
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1086
|
+
} | null;
|
|
594
1087
|
details?: {
|
|
595
1088
|
email: string;
|
|
596
1089
|
firstName: string;
|
|
@@ -890,6 +1383,9 @@ export interface operations {
|
|
|
890
1383
|
createdAt?: string;
|
|
891
1384
|
/** Format: date-time */
|
|
892
1385
|
updatedAt?: string;
|
|
1386
|
+
consentStatuses?: {
|
|
1387
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1388
|
+
} | null;
|
|
893
1389
|
details?: {
|
|
894
1390
|
email: string;
|
|
895
1391
|
firstName: string;
|
|
@@ -1037,6 +1533,9 @@ export interface operations {
|
|
|
1037
1533
|
createdAt?: string;
|
|
1038
1534
|
/** Format: date-time */
|
|
1039
1535
|
updatedAt?: string;
|
|
1536
|
+
consentStatuses?: {
|
|
1537
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1538
|
+
} | null;
|
|
1040
1539
|
details?: {
|
|
1041
1540
|
email: string;
|
|
1042
1541
|
firstName: string;
|
|
@@ -1443,6 +1942,9 @@ export interface operations {
|
|
|
1443
1942
|
createdAt?: string;
|
|
1444
1943
|
/** Format: date-time */
|
|
1445
1944
|
updatedAt?: string;
|
|
1945
|
+
consentStatuses?: {
|
|
1946
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1947
|
+
} | null;
|
|
1446
1948
|
details?: {
|
|
1447
1949
|
email: string;
|
|
1448
1950
|
firstName: string;
|
|
@@ -1611,6 +2113,9 @@ export interface operations {
|
|
|
1611
2113
|
createdAt?: string;
|
|
1612
2114
|
/** Format: date-time */
|
|
1613
2115
|
updatedAt?: string;
|
|
2116
|
+
consentStatuses?: {
|
|
2117
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
2118
|
+
} | null;
|
|
1614
2119
|
details?: {
|
|
1615
2120
|
email: string;
|
|
1616
2121
|
firstName: string;
|
|
@@ -1773,6 +2278,9 @@ export interface operations {
|
|
|
1773
2278
|
createdAt?: string;
|
|
1774
2279
|
/** Format: date-time */
|
|
1775
2280
|
updatedAt?: string;
|
|
2281
|
+
consentStatuses?: {
|
|
2282
|
+
messaging: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
2283
|
+
} | null;
|
|
1776
2284
|
details?: {
|
|
1777
2285
|
email: string;
|
|
1778
2286
|
firstName: string;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "messaging",
|
|
13
|
-
"openApiDefinitionUrl": "https://
|
|
13
|
+
"openApiDefinitionUrl": "https://messaging-api.dev.services.gov.ie/docs/yaml",
|
|
14
14
|
"openApiDefinitionFormat": "yaml",
|
|
15
15
|
"citizenPermissions": [
|
|
16
16
|
"messaging:message.self:read",
|