@ogcio/building-blocks-sdk 0.2.48 → 0.2.50
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- 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/profile/citizen.d.ts +134 -0
- package/dist/client/clients/profile/citizen.d.ts.map +1 -1
- package/dist/client/clients/profile/citizen.js +5 -0
- package/dist/client/clients/profile/citizen.js.map +1 -1
- package/dist/client/clients/profile/index.d.ts +30 -7
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +3 -0
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/profile/organisation.d.ts +137 -0
- package/dist/client/clients/profile/organisation.d.ts.map +1 -0
- package/dist/client/clients/profile/organisation.js +12 -0
- package/dist/client/clients/profile/organisation.js.map +1 -0
- package/dist/client/clients/profile/schema.d.ts +541 -7
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/clients/journey/open-api-definition.json +34 -2
- package/src/client/clients/journey/schema.ts +8 -0
- package/src/client/clients/profile/citizen.ts +8 -0
- package/src/client/clients/profile/index.ts +3 -0
- package/src/client/clients/profile/open-api-definition.json +1624 -200
- package/src/client/clients/profile/organisation.ts +16 -0
- package/src/client/clients/profile/schema.ts +541 -7
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type createClient from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
|
|
4
|
+
export class ProfileOrganisation {
|
|
5
|
+
constructor(
|
|
6
|
+
private readonly client: ReturnType<typeof createClient<paths>>,
|
|
7
|
+
) {}
|
|
8
|
+
|
|
9
|
+
async getLatestConsentStatement(
|
|
10
|
+
query: paths["/api/v1/organisations/consent-statements/latest"]["get"]["parameters"]["query"],
|
|
11
|
+
) {
|
|
12
|
+
return this.client.GET("/api/v1/organisations/consent-statements/latest", {
|
|
13
|
+
params: { query },
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,4 +1,55 @@
|
|
|
1
1
|
export interface paths {
|
|
2
|
+
"/api/v1/citizens/consent-statements/latest": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
/** @description Get the latest statement for a subject */
|
|
10
|
+
get: operations["citizenLatestStatement"];
|
|
11
|
+
put?: never;
|
|
12
|
+
post?: never;
|
|
13
|
+
delete?: never;
|
|
14
|
+
options?: never;
|
|
15
|
+
head?: never;
|
|
16
|
+
patch?: never;
|
|
17
|
+
trace?: never;
|
|
18
|
+
};
|
|
19
|
+
"/api/v1/organisations/consent-statements/latest": {
|
|
20
|
+
parameters: {
|
|
21
|
+
query?: never;
|
|
22
|
+
header?: never;
|
|
23
|
+
path?: never;
|
|
24
|
+
cookie?: never;
|
|
25
|
+
};
|
|
26
|
+
/** @description Get the latest Statement for a subject */
|
|
27
|
+
get: operations["organizationLatestStatement"];
|
|
28
|
+
put?: never;
|
|
29
|
+
post?: never;
|
|
30
|
+
delete?: never;
|
|
31
|
+
options?: never;
|
|
32
|
+
head?: never;
|
|
33
|
+
patch?: never;
|
|
34
|
+
trace?: never;
|
|
35
|
+
};
|
|
36
|
+
"/api/v1/organisations/consent-statements/": {
|
|
37
|
+
parameters: {
|
|
38
|
+
query?: never;
|
|
39
|
+
header?: never;
|
|
40
|
+
path?: never;
|
|
41
|
+
cookie?: never;
|
|
42
|
+
};
|
|
43
|
+
get?: never;
|
|
44
|
+
put?: never;
|
|
45
|
+
/** @description Create Statement for a subject */
|
|
46
|
+
post: operations["organizationCreateStatement"];
|
|
47
|
+
delete?: never;
|
|
48
|
+
options?: never;
|
|
49
|
+
head?: never;
|
|
50
|
+
patch?: never;
|
|
51
|
+
trace?: never;
|
|
52
|
+
};
|
|
2
53
|
"/api/v1/citizens/consents/": {
|
|
3
54
|
parameters: {
|
|
4
55
|
query?: never;
|
|
@@ -328,6 +379,453 @@ export interface components {
|
|
|
328
379
|
}
|
|
329
380
|
export type $defs = Record<string, never>;
|
|
330
381
|
export interface operations {
|
|
382
|
+
citizenLatestStatement: {
|
|
383
|
+
parameters: {
|
|
384
|
+
query: {
|
|
385
|
+
subject: string;
|
|
386
|
+
};
|
|
387
|
+
header?: never;
|
|
388
|
+
path?: never;
|
|
389
|
+
cookie?: never;
|
|
390
|
+
};
|
|
391
|
+
requestBody?: never;
|
|
392
|
+
responses: {
|
|
393
|
+
/** @description Default Response */
|
|
394
|
+
200: {
|
|
395
|
+
headers: {
|
|
396
|
+
[name: string]: unknown;
|
|
397
|
+
};
|
|
398
|
+
content: {
|
|
399
|
+
"application/json": {
|
|
400
|
+
data: {
|
|
401
|
+
/** Format: uuid */
|
|
402
|
+
id: string;
|
|
403
|
+
subject: string;
|
|
404
|
+
version: number;
|
|
405
|
+
/** Format: date-time */
|
|
406
|
+
createdAt: string;
|
|
407
|
+
} & {
|
|
408
|
+
translations: {
|
|
409
|
+
en: {
|
|
410
|
+
/** Format: uuid */
|
|
411
|
+
id: string;
|
|
412
|
+
/** Format: uuid */
|
|
413
|
+
consentStatementId: string;
|
|
414
|
+
language: "en" | "ga";
|
|
415
|
+
bodyTop: string[];
|
|
416
|
+
bodyList: string[];
|
|
417
|
+
bodyBottom: string[];
|
|
418
|
+
bodySmall: string[];
|
|
419
|
+
bodyLinks: {
|
|
420
|
+
[key: string]: string;
|
|
421
|
+
};
|
|
422
|
+
bodyFooter: string | null;
|
|
423
|
+
title: string;
|
|
424
|
+
/** Format: date-time */
|
|
425
|
+
createdAt: string;
|
|
426
|
+
};
|
|
427
|
+
ga: {
|
|
428
|
+
/** Format: uuid */
|
|
429
|
+
id: string;
|
|
430
|
+
/** Format: uuid */
|
|
431
|
+
consentStatementId: string;
|
|
432
|
+
language: "en" | "ga";
|
|
433
|
+
bodyTop: string[];
|
|
434
|
+
bodyList: string[];
|
|
435
|
+
bodyBottom: string[];
|
|
436
|
+
bodySmall: string[];
|
|
437
|
+
bodyLinks: {
|
|
438
|
+
[key: string]: string;
|
|
439
|
+
};
|
|
440
|
+
bodyFooter: string | null;
|
|
441
|
+
title: string;
|
|
442
|
+
/** Format: date-time */
|
|
443
|
+
createdAt: string;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
metadata?: {
|
|
448
|
+
/** @description Object containing the links to the related endpoints */
|
|
449
|
+
links?: {
|
|
450
|
+
self: {
|
|
451
|
+
/** @description URL pointing to the request itself */
|
|
452
|
+
href?: string;
|
|
453
|
+
};
|
|
454
|
+
next?: {
|
|
455
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
456
|
+
href?: string;
|
|
457
|
+
};
|
|
458
|
+
prev?: {
|
|
459
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
460
|
+
href?: string;
|
|
461
|
+
};
|
|
462
|
+
first: {
|
|
463
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
464
|
+
href?: string;
|
|
465
|
+
};
|
|
466
|
+
last: {
|
|
467
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
468
|
+
href?: string;
|
|
469
|
+
};
|
|
470
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
471
|
+
pages: {
|
|
472
|
+
[key: string]: {
|
|
473
|
+
href?: string;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
/** @description Number representing the total number of available items */
|
|
478
|
+
totalCount?: number;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
/** @description Default Response */
|
|
484
|
+
"4XX": {
|
|
485
|
+
headers: {
|
|
486
|
+
[name: string]: unknown;
|
|
487
|
+
};
|
|
488
|
+
content: {
|
|
489
|
+
"application/json": {
|
|
490
|
+
/** @description Code used to categorize the error */
|
|
491
|
+
code: string;
|
|
492
|
+
/** @description Description of the error */
|
|
493
|
+
detail: string;
|
|
494
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
495
|
+
requestId: string;
|
|
496
|
+
/** @description Name of the error type */
|
|
497
|
+
name: string;
|
|
498
|
+
/** @description List of the validation errors */
|
|
499
|
+
validation?: {
|
|
500
|
+
fieldName: string;
|
|
501
|
+
message: string;
|
|
502
|
+
}[];
|
|
503
|
+
validationContext?: string;
|
|
504
|
+
statusCode: number;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
/** @description Default Response */
|
|
509
|
+
"5XX": {
|
|
510
|
+
headers: {
|
|
511
|
+
[name: string]: unknown;
|
|
512
|
+
};
|
|
513
|
+
content: {
|
|
514
|
+
"application/json": {
|
|
515
|
+
/** @description Code used to categorize the error */
|
|
516
|
+
code: string;
|
|
517
|
+
/** @description Description of the error */
|
|
518
|
+
detail: string;
|
|
519
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
520
|
+
requestId: string;
|
|
521
|
+
/** @description Name of the error type */
|
|
522
|
+
name: string;
|
|
523
|
+
/** @description List of the validation errors */
|
|
524
|
+
validation?: {
|
|
525
|
+
fieldName: string;
|
|
526
|
+
message: string;
|
|
527
|
+
}[];
|
|
528
|
+
validationContext?: string;
|
|
529
|
+
statusCode: number;
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
organizationLatestStatement: {
|
|
536
|
+
parameters: {
|
|
537
|
+
query: {
|
|
538
|
+
subject: string;
|
|
539
|
+
};
|
|
540
|
+
header?: never;
|
|
541
|
+
path?: never;
|
|
542
|
+
cookie?: never;
|
|
543
|
+
};
|
|
544
|
+
requestBody?: never;
|
|
545
|
+
responses: {
|
|
546
|
+
/** @description Default Response */
|
|
547
|
+
200: {
|
|
548
|
+
headers: {
|
|
549
|
+
[name: string]: unknown;
|
|
550
|
+
};
|
|
551
|
+
content: {
|
|
552
|
+
"application/json": {
|
|
553
|
+
data: {
|
|
554
|
+
/** Format: uuid */
|
|
555
|
+
id: string;
|
|
556
|
+
subject: string;
|
|
557
|
+
version: number;
|
|
558
|
+
/** Format: date-time */
|
|
559
|
+
createdAt: string;
|
|
560
|
+
} & {
|
|
561
|
+
translations: {
|
|
562
|
+
en: {
|
|
563
|
+
/** Format: uuid */
|
|
564
|
+
id: string;
|
|
565
|
+
/** Format: uuid */
|
|
566
|
+
consentStatementId: string;
|
|
567
|
+
language: "en" | "ga";
|
|
568
|
+
bodyTop: string[];
|
|
569
|
+
bodyList: string[];
|
|
570
|
+
bodyBottom: string[];
|
|
571
|
+
bodySmall: string[];
|
|
572
|
+
bodyLinks: {
|
|
573
|
+
[key: string]: string;
|
|
574
|
+
};
|
|
575
|
+
bodyFooter: string | null;
|
|
576
|
+
title: string;
|
|
577
|
+
/** Format: date-time */
|
|
578
|
+
createdAt: string;
|
|
579
|
+
};
|
|
580
|
+
ga: {
|
|
581
|
+
/** Format: uuid */
|
|
582
|
+
id: string;
|
|
583
|
+
/** Format: uuid */
|
|
584
|
+
consentStatementId: string;
|
|
585
|
+
language: "en" | "ga";
|
|
586
|
+
bodyTop: string[];
|
|
587
|
+
bodyList: string[];
|
|
588
|
+
bodyBottom: string[];
|
|
589
|
+
bodySmall: string[];
|
|
590
|
+
bodyLinks: {
|
|
591
|
+
[key: string]: string;
|
|
592
|
+
};
|
|
593
|
+
bodyFooter: string | null;
|
|
594
|
+
title: string;
|
|
595
|
+
/** Format: date-time */
|
|
596
|
+
createdAt: string;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
metadata?: {
|
|
601
|
+
/** @description Object containing the links to the related endpoints */
|
|
602
|
+
links?: {
|
|
603
|
+
self: {
|
|
604
|
+
/** @description URL pointing to the request itself */
|
|
605
|
+
href?: string;
|
|
606
|
+
};
|
|
607
|
+
next?: {
|
|
608
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
609
|
+
href?: string;
|
|
610
|
+
};
|
|
611
|
+
prev?: {
|
|
612
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
613
|
+
href?: string;
|
|
614
|
+
};
|
|
615
|
+
first: {
|
|
616
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
617
|
+
href?: string;
|
|
618
|
+
};
|
|
619
|
+
last: {
|
|
620
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
621
|
+
href?: string;
|
|
622
|
+
};
|
|
623
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
624
|
+
pages: {
|
|
625
|
+
[key: string]: {
|
|
626
|
+
href?: string;
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
/** @description Number representing the total number of available items */
|
|
631
|
+
totalCount?: number;
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
/** @description Default Response */
|
|
637
|
+
"4XX": {
|
|
638
|
+
headers: {
|
|
639
|
+
[name: string]: unknown;
|
|
640
|
+
};
|
|
641
|
+
content: {
|
|
642
|
+
"application/json": {
|
|
643
|
+
/** @description Code used to categorize the error */
|
|
644
|
+
code: string;
|
|
645
|
+
/** @description Description of the error */
|
|
646
|
+
detail: string;
|
|
647
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
648
|
+
requestId: string;
|
|
649
|
+
/** @description Name of the error type */
|
|
650
|
+
name: string;
|
|
651
|
+
/** @description List of the validation errors */
|
|
652
|
+
validation?: {
|
|
653
|
+
fieldName: string;
|
|
654
|
+
message: string;
|
|
655
|
+
}[];
|
|
656
|
+
validationContext?: string;
|
|
657
|
+
statusCode: number;
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
/** @description Default Response */
|
|
662
|
+
"5XX": {
|
|
663
|
+
headers: {
|
|
664
|
+
[name: string]: unknown;
|
|
665
|
+
};
|
|
666
|
+
content: {
|
|
667
|
+
"application/json": {
|
|
668
|
+
/** @description Code used to categorize the error */
|
|
669
|
+
code: string;
|
|
670
|
+
/** @description Description of the error */
|
|
671
|
+
detail: string;
|
|
672
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
673
|
+
requestId: string;
|
|
674
|
+
/** @description Name of the error type */
|
|
675
|
+
name: string;
|
|
676
|
+
/** @description List of the validation errors */
|
|
677
|
+
validation?: {
|
|
678
|
+
fieldName: string;
|
|
679
|
+
message: string;
|
|
680
|
+
}[];
|
|
681
|
+
validationContext?: string;
|
|
682
|
+
statusCode: number;
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
organizationCreateStatement: {
|
|
689
|
+
parameters: {
|
|
690
|
+
query?: never;
|
|
691
|
+
header?: never;
|
|
692
|
+
path?: never;
|
|
693
|
+
cookie?: never;
|
|
694
|
+
};
|
|
695
|
+
requestBody: {
|
|
696
|
+
content: {
|
|
697
|
+
"application/json": {
|
|
698
|
+
consent: {
|
|
699
|
+
subject: string;
|
|
700
|
+
version: number;
|
|
701
|
+
};
|
|
702
|
+
translations: {
|
|
703
|
+
en: {
|
|
704
|
+
bodyTop: string[];
|
|
705
|
+
bodyList: string[];
|
|
706
|
+
bodyBottom: string[];
|
|
707
|
+
bodySmall: string[];
|
|
708
|
+
bodyLinks: {
|
|
709
|
+
[key: string]: string;
|
|
710
|
+
};
|
|
711
|
+
bodyFooter: string | null;
|
|
712
|
+
title: string;
|
|
713
|
+
};
|
|
714
|
+
ga: {
|
|
715
|
+
bodyTop: string[];
|
|
716
|
+
bodyList: string[];
|
|
717
|
+
bodyBottom: string[];
|
|
718
|
+
bodySmall: string[];
|
|
719
|
+
bodyLinks: {
|
|
720
|
+
[key: string]: string;
|
|
721
|
+
};
|
|
722
|
+
bodyFooter: string | null;
|
|
723
|
+
title: string;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
responses: {
|
|
730
|
+
/** @description Default Response */
|
|
731
|
+
200: {
|
|
732
|
+
headers: {
|
|
733
|
+
[name: string]: unknown;
|
|
734
|
+
};
|
|
735
|
+
content: {
|
|
736
|
+
"application/json": {
|
|
737
|
+
data: {
|
|
738
|
+
/** Format: uuid */
|
|
739
|
+
id: string;
|
|
740
|
+
};
|
|
741
|
+
metadata?: {
|
|
742
|
+
/** @description Object containing the links to the related endpoints */
|
|
743
|
+
links?: {
|
|
744
|
+
self: {
|
|
745
|
+
/** @description URL pointing to the request itself */
|
|
746
|
+
href?: string;
|
|
747
|
+
};
|
|
748
|
+
next?: {
|
|
749
|
+
/** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
750
|
+
href?: string;
|
|
751
|
+
};
|
|
752
|
+
prev?: {
|
|
753
|
+
/** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
|
|
754
|
+
href?: string;
|
|
755
|
+
};
|
|
756
|
+
first: {
|
|
757
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
758
|
+
href?: string;
|
|
759
|
+
};
|
|
760
|
+
last: {
|
|
761
|
+
/** @description URL pointing to the first page of results in a paginated response */
|
|
762
|
+
href?: string;
|
|
763
|
+
};
|
|
764
|
+
/** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
|
|
765
|
+
pages: {
|
|
766
|
+
[key: string]: {
|
|
767
|
+
href?: string;
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
/** @description Number representing the total number of available items */
|
|
772
|
+
totalCount?: number;
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
/** @description Default Response */
|
|
778
|
+
"4XX": {
|
|
779
|
+
headers: {
|
|
780
|
+
[name: string]: unknown;
|
|
781
|
+
};
|
|
782
|
+
content: {
|
|
783
|
+
"application/json": {
|
|
784
|
+
/** @description Code used to categorize the error */
|
|
785
|
+
code: string;
|
|
786
|
+
/** @description Description of the error */
|
|
787
|
+
detail: string;
|
|
788
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
789
|
+
requestId: string;
|
|
790
|
+
/** @description Name of the error type */
|
|
791
|
+
name: string;
|
|
792
|
+
/** @description List of the validation errors */
|
|
793
|
+
validation?: {
|
|
794
|
+
fieldName: string;
|
|
795
|
+
message: string;
|
|
796
|
+
}[];
|
|
797
|
+
validationContext?: string;
|
|
798
|
+
statusCode: number;
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
/** @description Default Response */
|
|
803
|
+
"5XX": {
|
|
804
|
+
headers: {
|
|
805
|
+
[name: string]: unknown;
|
|
806
|
+
};
|
|
807
|
+
content: {
|
|
808
|
+
"application/json": {
|
|
809
|
+
/** @description Code used to categorize the error */
|
|
810
|
+
code: string;
|
|
811
|
+
/** @description Description of the error */
|
|
812
|
+
detail: string;
|
|
813
|
+
/** @description Unique request id. This one will be used to troubleshoot the problems */
|
|
814
|
+
requestId: string;
|
|
815
|
+
/** @description Name of the error type */
|
|
816
|
+
name: string;
|
|
817
|
+
/** @description List of the validation errors */
|
|
818
|
+
validation?: {
|
|
819
|
+
fieldName: string;
|
|
820
|
+
message: string;
|
|
821
|
+
}[];
|
|
822
|
+
validationContext?: string;
|
|
823
|
+
statusCode: number;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
};
|
|
331
829
|
citizenListConsents: {
|
|
332
830
|
parameters: {
|
|
333
831
|
query: {
|
|
@@ -357,6 +855,8 @@ export interface operations {
|
|
|
357
855
|
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
358
856
|
subject: string;
|
|
359
857
|
createdAt: string;
|
|
858
|
+
/** Format: uuid */
|
|
859
|
+
consentStatementId: string;
|
|
360
860
|
}[];
|
|
361
861
|
metadata?: {
|
|
362
862
|
/** @description Object containing the links to the related endpoints */
|
|
@@ -459,6 +959,8 @@ export interface operations {
|
|
|
459
959
|
/** @enum {string} */
|
|
460
960
|
subject: "messaging";
|
|
461
961
|
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
962
|
+
/** Format: uuid */
|
|
963
|
+
consentStatementId: string;
|
|
462
964
|
};
|
|
463
965
|
};
|
|
464
966
|
};
|
|
@@ -553,6 +1055,8 @@ export interface operations {
|
|
|
553
1055
|
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
554
1056
|
subject: string;
|
|
555
1057
|
createdAt: string;
|
|
1058
|
+
/** Format: uuid */
|
|
1059
|
+
consentStatementId: string;
|
|
556
1060
|
};
|
|
557
1061
|
metadata?: {
|
|
558
1062
|
/** @description Object containing the links to the related endpoints */
|
|
@@ -674,6 +1178,8 @@ export interface operations {
|
|
|
674
1178
|
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
675
1179
|
subject: string;
|
|
676
1180
|
createdAt: string;
|
|
1181
|
+
/** Format: uuid */
|
|
1182
|
+
consentStatementId: string;
|
|
677
1183
|
}[];
|
|
678
1184
|
metadata?: {
|
|
679
1185
|
/** @description Object containing the links to the related endpoints */
|
|
@@ -929,7 +1435,11 @@ export interface operations {
|
|
|
929
1435
|
/** Format: date-time */
|
|
930
1436
|
updatedAt?: string;
|
|
931
1437
|
consentStatuses?: {
|
|
932
|
-
messaging:
|
|
1438
|
+
messaging: {
|
|
1439
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1440
|
+
/** Format: uuid */
|
|
1441
|
+
consent_statement_id: string;
|
|
1442
|
+
};
|
|
933
1443
|
} | null;
|
|
934
1444
|
details?: {
|
|
935
1445
|
email: string;
|
|
@@ -1082,7 +1592,11 @@ export interface operations {
|
|
|
1082
1592
|
/** Format: date-time */
|
|
1083
1593
|
updatedAt?: string;
|
|
1084
1594
|
consentStatuses?: {
|
|
1085
|
-
messaging:
|
|
1595
|
+
messaging: {
|
|
1596
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1597
|
+
/** Format: uuid */
|
|
1598
|
+
consent_statement_id: string;
|
|
1599
|
+
};
|
|
1086
1600
|
} | null;
|
|
1087
1601
|
details?: {
|
|
1088
1602
|
email: string;
|
|
@@ -1384,7 +1898,11 @@ export interface operations {
|
|
|
1384
1898
|
/** Format: date-time */
|
|
1385
1899
|
updatedAt?: string;
|
|
1386
1900
|
consentStatuses?: {
|
|
1387
|
-
messaging:
|
|
1901
|
+
messaging: {
|
|
1902
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
1903
|
+
/** Format: uuid */
|
|
1904
|
+
consent_statement_id: string;
|
|
1905
|
+
};
|
|
1388
1906
|
} | null;
|
|
1389
1907
|
details?: {
|
|
1390
1908
|
email: string;
|
|
@@ -1534,7 +2052,11 @@ export interface operations {
|
|
|
1534
2052
|
/** Format: date-time */
|
|
1535
2053
|
updatedAt?: string;
|
|
1536
2054
|
consentStatuses?: {
|
|
1537
|
-
messaging:
|
|
2055
|
+
messaging: {
|
|
2056
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
2057
|
+
/** Format: uuid */
|
|
2058
|
+
consent_statement_id: string;
|
|
2059
|
+
};
|
|
1538
2060
|
} | null;
|
|
1539
2061
|
details?: {
|
|
1540
2062
|
email: string;
|
|
@@ -1943,7 +2465,11 @@ export interface operations {
|
|
|
1943
2465
|
/** Format: date-time */
|
|
1944
2466
|
updatedAt?: string;
|
|
1945
2467
|
consentStatuses?: {
|
|
1946
|
-
messaging:
|
|
2468
|
+
messaging: {
|
|
2469
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
2470
|
+
/** Format: uuid */
|
|
2471
|
+
consent_statement_id: string;
|
|
2472
|
+
};
|
|
1947
2473
|
} | null;
|
|
1948
2474
|
details?: {
|
|
1949
2475
|
email: string;
|
|
@@ -2114,7 +2640,11 @@ export interface operations {
|
|
|
2114
2640
|
/** Format: date-time */
|
|
2115
2641
|
updatedAt?: string;
|
|
2116
2642
|
consentStatuses?: {
|
|
2117
|
-
messaging:
|
|
2643
|
+
messaging: {
|
|
2644
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
2645
|
+
/** Format: uuid */
|
|
2646
|
+
consent_statement_id: string;
|
|
2647
|
+
};
|
|
2118
2648
|
} | null;
|
|
2119
2649
|
details?: {
|
|
2120
2650
|
email: string;
|
|
@@ -2279,7 +2809,11 @@ export interface operations {
|
|
|
2279
2809
|
/** Format: date-time */
|
|
2280
2810
|
updatedAt?: string;
|
|
2281
2811
|
consentStatuses?: {
|
|
2282
|
-
messaging:
|
|
2812
|
+
messaging: {
|
|
2813
|
+
status: "pending" | "undefined" | "pre-approved" | "opted-out" | "opted-in";
|
|
2814
|
+
/** Format: uuid */
|
|
2815
|
+
consent_statement_id: string;
|
|
2816
|
+
};
|
|
2283
2817
|
} | null;
|
|
2284
2818
|
details?: {
|
|
2285
2819
|
email: string;
|