@ogcio/building-blocks-sdk 0.2.20 → 0.2.22
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/.github/CODEOWNERS +1 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/client/clients/messaging/index.d.ts +6 -11
- package/dist/client/clients/messaging/index.d.ts.map +1 -1
- package/dist/client/clients/messaging/index.js +1 -4
- package/dist/client/clients/messaging/index.js.map +1 -1
- package/dist/client/clients/profile/index.d.ts +16 -785
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +0 -42
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/profile/schema.d.ts +17 -15
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client/clients/messaging/index.ts +5 -11
- package/src/client/clients/profile/index.ts +0 -80
- package/src/client/clients/profile/open-api-definition.json +38 -8
- package/src/client/clients/profile/schema.ts +17 -15
|
@@ -205,12 +205,12 @@ export interface paths {
|
|
|
205
205
|
cookie?: never;
|
|
206
206
|
};
|
|
207
207
|
get: operations["getProfile"];
|
|
208
|
-
put: operations["
|
|
208
|
+
put: operations["putProfile"];
|
|
209
209
|
post?: never;
|
|
210
210
|
delete?: never;
|
|
211
211
|
options?: never;
|
|
212
212
|
head?: never;
|
|
213
|
-
patch: operations["
|
|
213
|
+
patch: operations["patchProfile"];
|
|
214
214
|
trace?: never;
|
|
215
215
|
};
|
|
216
216
|
"/api/v1/profiles/imports/template": {
|
|
@@ -1127,6 +1127,13 @@ export interface operations {
|
|
|
1127
1127
|
*/
|
|
1128
1128
|
preferredLanguage: "en" | "ga";
|
|
1129
1129
|
};
|
|
1130
|
+
/** @description Linked profiles that have the current profile as primary profile */
|
|
1131
|
+
linkedProfiles?: {
|
|
1132
|
+
id: string;
|
|
1133
|
+
/** Format: email */
|
|
1134
|
+
email: string;
|
|
1135
|
+
publicName: string;
|
|
1136
|
+
}[];
|
|
1130
1137
|
};
|
|
1131
1138
|
metadata?: {
|
|
1132
1139
|
/** @description Object containing the links to the related endpoints */
|
|
@@ -1216,7 +1223,7 @@ export interface operations {
|
|
|
1216
1223
|
};
|
|
1217
1224
|
};
|
|
1218
1225
|
};
|
|
1219
|
-
|
|
1226
|
+
putProfile: {
|
|
1220
1227
|
parameters: {
|
|
1221
1228
|
query?: {
|
|
1222
1229
|
/** @description Organization ID owning the profile */
|
|
@@ -1229,10 +1236,10 @@ export interface operations {
|
|
|
1229
1236
|
};
|
|
1230
1237
|
cookie?: never;
|
|
1231
1238
|
};
|
|
1232
|
-
requestBody
|
|
1239
|
+
requestBody: {
|
|
1233
1240
|
content: {
|
|
1234
1241
|
"application/json": {
|
|
1235
|
-
publicName
|
|
1242
|
+
publicName: string;
|
|
1236
1243
|
/** Format: email */
|
|
1237
1244
|
email?: string;
|
|
1238
1245
|
phone?: string;
|
|
@@ -1242,11 +1249,8 @@ export interface operations {
|
|
|
1242
1249
|
lastName?: string;
|
|
1243
1250
|
/** Format: date */
|
|
1244
1251
|
dateOfBirth?: string;
|
|
1245
|
-
/**
|
|
1246
|
-
|
|
1247
|
-
* @enum {string}
|
|
1248
|
-
*/
|
|
1249
|
-
preferredLanguage?: "en" | "ga";
|
|
1252
|
+
/** @enum {string} */
|
|
1253
|
+
preferredLanguage: "en" | "ga";
|
|
1250
1254
|
};
|
|
1251
1255
|
};
|
|
1252
1256
|
};
|
|
@@ -1379,7 +1383,7 @@ export interface operations {
|
|
|
1379
1383
|
};
|
|
1380
1384
|
};
|
|
1381
1385
|
};
|
|
1382
|
-
|
|
1386
|
+
patchProfile: {
|
|
1383
1387
|
parameters: {
|
|
1384
1388
|
query?: {
|
|
1385
1389
|
/** @description Organization ID owning the profile */
|
|
@@ -1405,11 +1409,9 @@ export interface operations {
|
|
|
1405
1409
|
lastName?: string;
|
|
1406
1410
|
/** Format: date */
|
|
1407
1411
|
dateOfBirth?: string;
|
|
1408
|
-
/**
|
|
1409
|
-
* @default en
|
|
1410
|
-
* @enum {string}
|
|
1411
|
-
*/
|
|
1412
|
+
/** @enum {string} */
|
|
1412
1413
|
preferredLanguage?: "en" | "ga";
|
|
1414
|
+
primaryUserId?: string;
|
|
1413
1415
|
};
|
|
1414
1416
|
};
|
|
1415
1417
|
};
|