@ogcio/building-blocks-sdk 0.2.78 → 0.2.80

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.
Files changed (28) hide show
  1. package/.release-please-manifest.json +1 -1
  2. package/CHANGELOG.md +14 -0
  3. package/dist/client/clients/profile/citizen.d.ts.map +1 -1
  4. package/dist/client/clients/profile/index.d.ts +428 -98
  5. package/dist/client/clients/profile/index.d.ts.map +1 -1
  6. package/dist/client/clients/profile/index.js +37 -6
  7. package/dist/client/clients/profile/index.js.map +1 -1
  8. package/dist/client/clients/profile/organisation.d.ts.map +1 -1
  9. package/dist/client/clients/profile/schema.d.ts +296 -115
  10. package/dist/client/clients/profile/schema.d.ts.map +1 -1
  11. package/dist/client/clients/upload/index.d.ts +9 -3
  12. package/dist/client/clients/upload/index.d.ts.map +1 -1
  13. package/dist/client/clients/upload/index.js +3 -3
  14. package/dist/client/clients/upload/index.js.map +1 -1
  15. package/dist/client/clients/upload/schema.d.ts +7 -1
  16. package/dist/client/clients/upload/schema.d.ts.map +1 -1
  17. package/dist/client/utils/client-utils.d.ts +1 -1
  18. package/dist/client/utils/client-utils.d.ts.map +1 -1
  19. package/dist/client/utils/client-utils.js +1 -1
  20. package/dist/client/utils/client-utils.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/client/clients/profile/index.ts +56 -9
  23. package/src/client/clients/profile/open-api-definition.json +3182 -2823
  24. package/src/client/clients/profile/schema.ts +296 -115
  25. package/src/client/clients/upload/index.ts +3 -3
  26. package/src/client/clients/upload/open-api-definition.json +251 -206
  27. package/src/client/clients/upload/schema.ts +7 -1
  28. package/src/client/utils/client-utils.ts +2 -2
@@ -451,11 +451,14 @@ export interface paths {
451
451
  path?: never;
452
452
  cookie?: never;
453
453
  };
454
- requestBody: {
454
+ requestBody?: {
455
455
  content: {
456
456
  "application/json": {
457
457
  fileId: string;
458
458
  userId: string;
459
+ } | {
460
+ fileId: string;
461
+ userIds: string[];
459
462
  };
460
463
  };
461
464
  };
@@ -470,6 +473,9 @@ export interface paths {
470
473
  data: {
471
474
  fileId: string;
472
475
  userId: string;
476
+ } | {
477
+ fileId: string;
478
+ userIds: string[];
473
479
  };
474
480
  };
475
481
  };
@@ -158,8 +158,8 @@ export function getNumberValueFromObject(
158
158
  return Number(value);
159
159
  }
160
160
 
161
- export function throwIfEmpty(input: string): void {
161
+ export function throwIfEmpty(input: string | string[]): void {
162
162
  if (!input || input.length === 0) {
163
- throw Error("Parameter cannot be an empty string!");
163
+ throw Error("Parameter cannot be an empty string or array!");
164
164
  }
165
165
  }