@ogcio/building-blocks-sdk 0.2.20 → 0.2.21

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.
@@ -205,12 +205,12 @@ export interface paths {
205
205
  cookie?: never;
206
206
  };
207
207
  get: operations["getProfile"];
208
- put: operations["updateProfilePut"];
208
+ put: operations["putProfile"];
209
209
  post?: never;
210
210
  delete?: never;
211
211
  options?: never;
212
212
  head?: never;
213
- patch: operations["updateProfilePatch"];
213
+ patch: operations["patchProfile"];
214
214
  trace?: never;
215
215
  };
216
216
  "/api/v1/profiles/imports/template": {
@@ -1216,7 +1216,7 @@ export interface operations {
1216
1216
  };
1217
1217
  };
1218
1218
  };
1219
- updateProfilePut: {
1219
+ putProfile: {
1220
1220
  parameters: {
1221
1221
  query?: {
1222
1222
  /** @description Organization ID owning the profile */
@@ -1229,10 +1229,10 @@ export interface operations {
1229
1229
  };
1230
1230
  cookie?: never;
1231
1231
  };
1232
- requestBody?: {
1232
+ requestBody: {
1233
1233
  content: {
1234
1234
  "application/json": {
1235
- publicName?: string;
1235
+ publicName: string;
1236
1236
  /** Format: email */
1237
1237
  email?: string;
1238
1238
  phone?: string;
@@ -1242,11 +1242,8 @@ export interface operations {
1242
1242
  lastName?: string;
1243
1243
  /** Format: date */
1244
1244
  dateOfBirth?: string;
1245
- /**
1246
- * @default en
1247
- * @enum {string}
1248
- */
1249
- preferredLanguage?: "en" | "ga";
1245
+ /** @enum {string} */
1246
+ preferredLanguage: "en" | "ga";
1250
1247
  };
1251
1248
  };
1252
1249
  };
@@ -1379,7 +1376,7 @@ export interface operations {
1379
1376
  };
1380
1377
  };
1381
1378
  };
1382
- updateProfilePatch: {
1379
+ patchProfile: {
1383
1380
  parameters: {
1384
1381
  query?: {
1385
1382
  /** @description Organization ID owning the profile */
@@ -1405,11 +1402,9 @@ export interface operations {
1405
1402
  lastName?: string;
1406
1403
  /** Format: date */
1407
1404
  dateOfBirth?: string;
1408
- /**
1409
- * @default en
1410
- * @enum {string}
1411
- */
1405
+ /** @enum {string} */
1412
1406
  preferredLanguage?: "en" | "ga";
1407
+ primaryUserId?: string;
1413
1408
  };
1414
1409
  };
1415
1410
  };