@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,3 +1,3 @@
1
1
  {
2
- ".": "0.2.8"
2
+ ".": "0.2.9"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.9](https://github.com/ogcio/building-blocks-sdk/compare/@ogcio/building-blocks-sdk@v0.2.8...@ogcio/building-blocks-sdk@v0.2.9) (2025-02-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * **profile:** 24274 - added possibility to ask for private details ([#140](https://github.com/ogcio/building-blocks-sdk/issues/140)) ([26d9077](https://github.com/ogcio/building-blocks-sdk/commit/26d907711bfe1e8a23c4560e5280cee5ef629acf))
9
+
3
10
  ## [0.2.8](https://github.com/ogcio/building-blocks-sdk/compare/@ogcio/building-blocks-sdk@v0.2.7...@ogcio/building-blocks-sdk@v0.2.8) (2025-02-05)
4
11
 
5
12
 
@@ -10,6 +10,7 @@ export declare class Profile extends BaseClient<paths> {
10
10
  getUser(profileId: string): Promise<import("../../utils/client-utils.js").DataResponseValue<{
11
11
  parameters: {
12
12
  query?: {
13
+ privateDetails?: "true" | "false" | "0" | "1";
13
14
  organizationId?: string;
14
15
  };
15
16
  header?: never;
@@ -119,11 +120,15 @@ export declare class Profile extends BaseClient<paths> {
119
120
  path: {
120
121
  profileId: string;
121
122
  };
123
+ query: {
124
+ privateDetails: "true" | "false";
125
+ };
122
126
  };
123
127
  }>>;
124
- getProfile(profileId: string): Promise<import("../../utils/client-utils.js").DataResponseValue<{
128
+ getProfile(profileId: string, privateDetails?: boolean): Promise<import("../../utils/client-utils.js").DataResponseValue<{
125
129
  parameters: {
126
130
  query?: {
131
+ privateDetails?: "true" | "false" | "0" | "1";
127
132
  organizationId?: string;
128
133
  };
129
134
  header?: never;
@@ -233,14 +238,19 @@ export declare class Profile extends BaseClient<paths> {
233
238
  path: {
234
239
  profileId: string;
235
240
  };
241
+ query: {
242
+ privateDetails: "true" | "false";
243
+ };
236
244
  };
237
245
  }>>;
238
246
  /**
239
247
  * @deprecated Use getProfile() instead of getUser()
240
248
  */
241
- createUser(data: NonNullable<paths["/api/v1/profiles/import-profiles"]["post"]["requestBody"]>["content"]["application/json"]): Promise<import("../../utils/client-utils.js").DataResponseValue<{
249
+ createUser(data: NonNullable<NonNullable<paths["/api/v1/profiles/import-profiles"]["post"]["requestBody"]>["content"]["application/json"]["profiles"]>[number]): Promise<import("../../utils/client-utils.js").DataResponseValue<{
242
250
  parameters: {
243
- query?: never;
251
+ query?: {
252
+ privateDetails?: "true" | "false" | "0" | "1";
253
+ };
244
254
  header?: never;
245
255
  path?: never;
246
256
  cookie?: never;
@@ -299,7 +309,7 @@ export declare class Profile extends BaseClient<paths> {
299
309
  content: {
300
310
  "application/json": {
301
311
  status: string;
302
- jobId: string;
312
+ profileImportId: string;
303
313
  };
304
314
  };
305
315
  };
@@ -344,7 +354,7 @@ export declare class Profile extends BaseClient<paths> {
344
354
  };
345
355
  }, {
346
356
  body: {
347
- profiles?: {
357
+ profiles: {
348
358
  email: string;
349
359
  firstName: string;
350
360
  lastName: string;
@@ -355,12 +365,18 @@ export declare class Profile extends BaseClient<paths> {
355
365
  ppsn?: string;
356
366
  preferredLanguage?: "en" | "ga";
357
367
  }[];
358
- file?: unknown;
368
+ };
369
+ params: {
370
+ query: {
371
+ privateDetails: "true" | "false";
372
+ };
359
373
  };
360
374
  }>>;
361
- createProfile(data: NonNullable<paths["/api/v1/profiles/import-profiles"]["post"]["requestBody"]>["content"]["application/json"]): Promise<import("../../utils/client-utils.js").DataResponseValue<{
375
+ createProfile(data: NonNullable<NonNullable<paths["/api/v1/profiles/import-profiles"]["post"]["requestBody"]>["content"]["application/json"]["profiles"]>[number], privateDetails?: boolean): Promise<import("../../utils/client-utils.js").DataResponseValue<{
362
376
  parameters: {
363
- query?: never;
377
+ query?: {
378
+ privateDetails?: "true" | "false" | "0" | "1";
379
+ };
364
380
  header?: never;
365
381
  path?: never;
366
382
  cookie?: never;
@@ -419,7 +435,7 @@ export declare class Profile extends BaseClient<paths> {
419
435
  content: {
420
436
  "application/json": {
421
437
  status: string;
422
- jobId: string;
438
+ profileImportId: string;
423
439
  };
424
440
  };
425
441
  };
@@ -464,7 +480,7 @@ export declare class Profile extends BaseClient<paths> {
464
480
  };
465
481
  }, {
466
482
  body: {
467
- profiles?: {
483
+ profiles: {
468
484
  email: string;
469
485
  firstName: string;
470
486
  lastName: string;
@@ -475,7 +491,11 @@ export declare class Profile extends BaseClient<paths> {
475
491
  ppsn?: string;
476
492
  preferredLanguage?: "en" | "ga";
477
493
  }[];
478
- file?: unknown;
494
+ };
495
+ params: {
496
+ query: {
497
+ privateDetails: "true" | "false";
498
+ };
479
499
  };
480
500
  }>>;
481
501
  /**
@@ -1626,9 +1646,11 @@ export declare class Profile extends BaseClient<paths> {
1626
1646
  importProfiles(toImport: {
1627
1647
  file?: File;
1628
1648
  records?: NonNullable<paths["/api/v1/profiles/import-profiles"]["post"]["requestBody"]>["content"]["application/json"]["profiles"];
1629
- }): Promise<import("../../utils/client-utils.js").DataResponseValue<{
1649
+ }, privateDetails?: boolean): Promise<import("../../utils/client-utils.js").DataResponseValue<{
1630
1650
  parameters: {
1631
- query?: never;
1651
+ query?: {
1652
+ privateDetails?: "true" | "false" | "0" | "1";
1653
+ };
1632
1654
  header?: never;
1633
1655
  path?: never;
1634
1656
  cookie?: never;
@@ -1687,7 +1709,7 @@ export declare class Profile extends BaseClient<paths> {
1687
1709
  content: {
1688
1710
  "application/json": {
1689
1711
  status: string;
1690
- jobId: string;
1712
+ profileImportId: string;
1691
1713
  };
1692
1714
  };
1693
1715
  };
@@ -1744,10 +1766,15 @@ export declare class Profile extends BaseClient<paths> {
1744
1766
  preferredLanguage?: "en" | "ga";
1745
1767
  }[] | undefined;
1746
1768
  };
1769
+ params: {
1770
+ query: {
1771
+ privateDetails: "true" | "false";
1772
+ };
1773
+ };
1747
1774
  }> | {
1748
1775
  data: {
1749
1776
  status: string;
1750
- jobId: string;
1777
+ profileImportId: string;
1751
1778
  } | undefined;
1752
1779
  error: import("openapi-typescript-helpers").ErrorResponse<{
1753
1780
  200: {
@@ -1757,7 +1784,7 @@ export declare class Profile extends BaseClient<paths> {
1757
1784
  content: {
1758
1785
  "application/json": {
1759
1786
  status: string;
1760
- jobId: string;
1787
+ profileImportId: string;
1761
1788
  };
1762
1789
  };
1763
1790
  };
@@ -1801,5 +1828,29 @@ export declare class Profile extends BaseClient<paths> {
1801
1828
  };
1802
1829
  }, `${string}/${string}`> | undefined;
1803
1830
  }>;
1831
+ downloadProfilesCsvTemplate(): Promise<import("../../utils/client-utils.js").DataResponseValue<{
1832
+ parameters: {
1833
+ query?: never;
1834
+ header?: never;
1835
+ path?: never;
1836
+ cookie?: never;
1837
+ };
1838
+ requestBody?: never;
1839
+ responses: {
1840
+ 200: {
1841
+ headers: {
1842
+ [name: string]: unknown;
1843
+ };
1844
+ content: {
1845
+ "text/csv": {
1846
+ type: "Buffer";
1847
+ data: number[];
1848
+ };
1849
+ };
1850
+ };
1851
+ };
1852
+ }, {
1853
+ parseAs: "blob";
1854
+ }>>;
1804
1855
  }
1805
1856
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/client/clients/profile/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMlD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,qBAAa,OAAQ,SAAQ,UAAU,CAAC,KAAK,CAAC;IAC5C,UAAkB,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACjE,SAAS,CAAC,WAAW,YAAW;IAEhC;;OAEG;IACG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,CAAC;;;;4BAA4J,CAAC;+BAAyC,CAAC;6BAAuC,CAAC;mCAAyF,CAAC;4BAAsC,CAAC;yCAA4L,CAAC;;wBAAgE,CAAC;;;4BAAwF,CAAC;;;;4BAA4J,CAAC;+BAAyC,CAAC;6BAAuC,CAAC;mCAAyF,CAAC;4BAAsC,CAAC;yCAA4L,CAAC;;wBAAgE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;kCAA4vC,CAAC;;;;yCAAsK,CAAC;;;;;;;;;;;;;;;kCAAw6B,CAAC;;;;yCAAsK,CAAC;;;;;;;;;;;;;;;;;;;;;;gCA9C71hB,MAAM,GAAG,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCA8Cqlf,CAAC;;;;yCAAsK,CAAC;;;;;;;;;;;;;;;kCAAw6B,CAAC;;;;yCAAsK,CAAC;;;;;;;IAXl5hB,2BAA2B;;iBAWktvD,CAAC;kBAA2B,CAAC;gBAAyB,CAAC;kBAA2B,CAAC;;;;;;;;;;;;;;;;;;;CADv0vD"}
@@ -11,11 +11,14 @@ export class Profile extends BaseClient {
11
11
  console.warn("Warning: getUser() is deprecated. Use getProfile() instead.");
12
12
  return this.getProfile(profileId);
13
13
  }
14
- async getProfile(profileId) {
14
+ async getProfile(profileId, privateDetails = false) {
15
15
  throwIfEmpty(profileId);
16
+ const query = {
17
+ privateDetails: (privateDetails ? "true" : "false"),
18
+ };
16
19
  return this.client
17
20
  .GET("/api/v1/profiles/{profileId}", {
18
- params: { path: { profileId } },
21
+ params: { path: { profileId }, query },
19
22
  })
20
23
  .then((response) => formatResponse(response, this.serviceName, this.logger), (reason) => formatError(reason, this.serviceName, this.logger));
21
24
  }
@@ -26,10 +29,14 @@ export class Profile extends BaseClient {
26
29
  console.warn("Warning: createUser() is deprecated. Use createProfile() instead.");
27
30
  return this.createProfile(data);
28
31
  }
29
- async createProfile(data) {
32
+ async createProfile(data, privateDetails = false) {
33
+ const query = {
34
+ privateDetails: (privateDetails ? "true" : "false"),
35
+ };
30
36
  return this.client
31
37
  .POST("/api/v1/profiles/import-profiles", {
32
- body: data,
38
+ body: { profiles: [data] },
39
+ params: { query },
33
40
  })
34
41
  .then((response) => formatResponse(response, this.serviceName, this.logger), (reason) => formatError(reason, this.serviceName, this.logger));
35
42
  }
@@ -114,12 +121,16 @@ export class Profile extends BaseClient {
114
121
  })
115
122
  .then((response) => formatResponse(response, this.serviceName, this.logger), (reason) => formatError(reason, this.serviceName, this.logger));
116
123
  }
117
- async importProfiles(toImport) {
124
+ async importProfiles(toImport, privateDetails = false) {
125
+ const query = {
126
+ privateDetails: (privateDetails ? "true" : "false"),
127
+ };
118
128
  if (toImport.file) {
119
129
  const { data, error } = await this.client.POST("/api/v1/profiles/import-profiles", {
120
130
  body: {
121
131
  file: toImport.file,
122
132
  },
133
+ params: { query },
123
134
  bodySerializer: (body) => {
124
135
  const parsed = body;
125
136
  if (!parsed || !parsed.file) {
@@ -135,6 +146,14 @@ export class Profile extends BaseClient {
135
146
  return this.client
136
147
  .POST("/api/v1/profiles/import-profiles", {
137
148
  body: { profiles: toImport.records },
149
+ params: { query },
150
+ })
151
+ .then((response) => formatResponse(response, this.serviceName, this.logger), (reason) => formatError(reason, this.serviceName, this.logger));
152
+ }
153
+ async downloadProfilesCsvTemplate() {
154
+ return this.client
155
+ .GET("/api/v1/profiles/imports/template", {
156
+ parseAs: "blob",
138
157
  })
139
158
  .then((response) => formatResponse(response, this.serviceName, this.logger), (reason) => formatError(reason, this.serviceName, this.logger));
140
159
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/client/clients/profile/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,WAAW,EACX,cAAc,EACd,YAAY,GACb,MAAM,6BAA6B,CAA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EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,EACrE,CAAC,MAAM,EAAE,EAAE,CAAC,WAAW,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,CAC/D,CAAC;IACN,CAAC;CACF"}
@@ -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]: {