@ogcio/building-blocks-sdk 0.2.8 → 0.2.9

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.
@@ -1,4 +1,104 @@
1
1
  export interface paths {
2
+ "/api/v1/jobs/import-profiles/{profileImportId}": {
3
+ parameters: {
4
+ query?: never;
5
+ header?: never;
6
+ path?: never;
7
+ cookie?: never;
8
+ };
9
+ get?: never;
10
+ put?: never;
11
+ /** @description Executes the requested job */
12
+ post: {
13
+ parameters: {
14
+ query?: {
15
+ insertPrivateDetails?: "true" | "false" | "0" | "1";
16
+ };
17
+ header?: never;
18
+ path: {
19
+ profileImportId: string;
20
+ };
21
+ cookie?: never;
22
+ };
23
+ requestBody: {
24
+ content: {
25
+ "application/json": {
26
+ /** @description The security token used to ensure you are allowed to execute this job */
27
+ token: string;
28
+ };
29
+ };
30
+ };
31
+ responses: {
32
+ /** @description Default Response */
33
+ 202: {
34
+ headers: {
35
+ [name: string]: unknown;
36
+ };
37
+ content: {
38
+ "application/json": {
39
+ status: string;
40
+ profileImportId: string;
41
+ };
42
+ };
43
+ };
44
+ /** @description Default Response */
45
+ "5XX": {
46
+ headers: {
47
+ [name: string]: unknown;
48
+ };
49
+ content: {
50
+ "application/json": {
51
+ /** @description Code used to categorize the error */
52
+ code: string;
53
+ /** @description Description of the error */
54
+ detail: string;
55
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
56
+ requestId: string;
57
+ /** @description Name of the error type */
58
+ name: string;
59
+ /** @description List of the validation errors */
60
+ validation?: {
61
+ fieldName: string;
62
+ message: string;
63
+ }[];
64
+ validationContext?: string;
65
+ statusCode: number;
66
+ };
67
+ };
68
+ };
69
+ /** @description Default Response */
70
+ "4XX": {
71
+ headers: {
72
+ [name: string]: unknown;
73
+ };
74
+ content: {
75
+ "application/json": {
76
+ /** @description Code used to categorize the error */
77
+ code: string;
78
+ /** @description Description of the error */
79
+ detail: string;
80
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
81
+ requestId: string;
82
+ /** @description Name of the error type */
83
+ name: string;
84
+ /** @description List of the validation errors */
85
+ validation?: {
86
+ fieldName: string;
87
+ message: string;
88
+ }[];
89
+ validationContext?: string;
90
+ statusCode: number;
91
+ };
92
+ };
93
+ };
94
+ };
95
+ };
96
+ delete?: never;
97
+ options?: never;
98
+ head?: never;
99
+ patch?: never;
100
+ trace?: never;
101
+ };
2
102
  "/api/v1/profiles/": {
3
103
  parameters: {
4
104
  query?: never;
@@ -97,7 +197,6 @@ export interface paths {
97
197
  data: {
98
198
  /** Format: uuid */
99
199
  id: string;
100
- jobId: string;
101
200
  organisationId?: string;
102
201
  status: string;
103
202
  source: "csv" | "json";
@@ -413,7 +512,9 @@ export interface operations {
413
512
  };
414
513
  importProfiles: {
415
514
  parameters: {
416
- query?: never;
515
+ query?: {
516
+ privateDetails?: "true" | "false" | "0" | "1";
517
+ };
417
518
  header?: never;
418
519
  path?: never;
419
520
  cookie?: never;
@@ -422,7 +523,6 @@ export interface operations {
422
523
  content: {
423
524
  "application/json": {
424
525
  profiles?: {
425
- /** Format: email */
426
526
  email: string;
427
527
  firstName: string;
428
528
  lastName: string;
@@ -442,7 +542,6 @@ export interface operations {
442
542
  };
443
543
  "multipart/form-data": {
444
544
  profiles?: {
445
- /** Format: email */
446
545
  email: string;
447
546
  firstName: string;
448
547
  lastName: string;
@@ -462,7 +561,6 @@ export interface operations {
462
561
  };
463
562
  "text/csv": {
464
563
  profiles?: {
465
- /** Format: email */
466
564
  email: string;
467
565
  firstName: string;
468
566
  lastName: string;
@@ -491,7 +589,7 @@ export interface operations {
491
589
  content: {
492
590
  "application/json": {
493
591
  status: string;
494
- jobId: string;
592
+ profileImportId: string;
495
593
  };
496
594
  };
497
595
  };
@@ -583,7 +681,6 @@ export interface operations {
583
681
  /** Format: date-time */
584
682
  updatedAt?: string;
585
683
  details?: {
586
- /** Format: email */
587
684
  email: string;
588
685
  firstName: string;
589
686
  lastName: string;
@@ -730,7 +827,6 @@ export interface operations {
730
827
  /** Format: date-time */
731
828
  updatedAt?: string;
732
829
  details?: {
733
- /** Format: email */
734
830
  email: string;
735
831
  firstName: string;
736
832
  lastName: string;
@@ -854,7 +950,6 @@ export interface operations {
854
950
  content: {
855
951
  "application/json": {
856
952
  data: {
857
- /** Format: email */
858
953
  email: string;
859
954
  firstName: string;
860
955
  lastName: string;
@@ -961,6 +1056,7 @@ export interface operations {
961
1056
  getProfile: {
962
1057
  parameters: {
963
1058
  query?: {
1059
+ privateDetails?: "true" | "false" | "0" | "1";
964
1060
  organizationId?: string;
965
1061
  };
966
1062
  header?: never;
@@ -996,7 +1092,6 @@ export interface operations {
996
1092
  /** Format: date-time */
997
1093
  updatedAt?: string;
998
1094
  details?: {
999
- /** Format: email */
1000
1095
  email: string;
1001
1096
  firstName: string;
1002
1097
  lastName: string;
@@ -1160,7 +1255,6 @@ export interface operations {
1160
1255
  /** Format: date-time */
1161
1256
  updatedAt?: string;
1162
1257
  details?: {
1163
- /** Format: email */
1164
1258
  email: string;
1165
1259
  firstName: string;
1166
1260
  lastName: string;
@@ -1324,7 +1418,6 @@ export interface operations {
1324
1418
  /** Format: date-time */
1325
1419
  updatedAt?: string;
1326
1420
  details?: {
1327
- /** Format: email */
1328
1421
  email: string;
1329
1422
  firstName: string;
1330
1423
  lastName: string;
@@ -1451,56 +1544,6 @@ export interface operations {
1451
1544
  };
1452
1545
  };
1453
1546
  };
1454
- /** @description Default Response */
1455
- "4XX": {
1456
- headers: {
1457
- [name: string]: unknown;
1458
- };
1459
- content: {
1460
- "text/csv": {
1461
- /** @description Code used to categorize the error */
1462
- code: string;
1463
- /** @description Description of the error */
1464
- detail: string;
1465
- /** @description Unique request id. This one will be used to troubleshoot the problems */
1466
- requestId: string;
1467
- /** @description Name of the error type */
1468
- name: string;
1469
- /** @description List of the validation errors */
1470
- validation?: {
1471
- fieldName: string;
1472
- message: string;
1473
- }[];
1474
- validationContext?: string;
1475
- statusCode: number;
1476
- };
1477
- };
1478
- };
1479
- /** @description Default Response */
1480
- "5XX": {
1481
- headers: {
1482
- [name: string]: unknown;
1483
- };
1484
- content: {
1485
- "text/csv": {
1486
- /** @description Code used to categorize the error */
1487
- code: string;
1488
- /** @description Description of the error */
1489
- detail: string;
1490
- /** @description Unique request id. This one will be used to troubleshoot the problems */
1491
- requestId: string;
1492
- /** @description Name of the error type */
1493
- name: string;
1494
- /** @description List of the validation errors */
1495
- validation?: {
1496
- fieldName: string;
1497
- message: string;
1498
- }[];
1499
- validationContext?: string;
1500
- statusCode: number;
1501
- };
1502
- };
1503
- };
1504
1547
  };
1505
1548
  };
1506
1549
  logtoUserCreated: {
@@ -1532,8 +1575,9 @@ export interface operations {
1532
1575
  name?: string | null;
1533
1576
  avatar?: string | null;
1534
1577
  customData: {
1535
- jobId?: string | null;
1578
+ profileImportId?: string | null;
1536
1579
  organizationId?: string | null;
1580
+ insertPrivateDetails?: boolean;
1537
1581
  };
1538
1582
  identities: {
1539
1583
  [key: string]: {
@@ -67,19 +67,9 @@
67
67
  "openApiDefinitionFormat": "yaml",
68
68
  "citizenPermissions": [
69
69
  "profile:user.self:read",
70
- "profile:user.self:write",
71
- "profile:address.self:read",
72
- "profile:address.self:write",
73
- "profile:entitlement.self:read",
74
- "profile:entitlement.self:write",
75
- "profile:user:read",
76
- "profile:user:*"
77
- ],
78
- "publicServantPermissions": [
79
- "profile:user:*",
80
- "profile:address:*",
81
- "profile:entitlement:*"
70
+ "profile:user.self:write"
82
71
  ],
72
+ "publicServantPermissions": ["profile:user:*", "profile:user.admin:*"],
83
73
  "updateDefinitions": true
84
74
  },
85
75
  {