@ogcio/building-blocks-sdk 0.2.87 → 0.2.88
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/.azure/pipeline.yaml +1 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/biome.jsonc +1 -1
- package/dist/client/clients/profile/citizen.d.ts.map +1 -1
- package/dist/client/clients/profile/index.d.ts +2 -0
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +3 -0
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/profile/organisation.d.ts.map +1 -1
- package/dist/client/clients/profile/schema.d.ts +187 -0
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/dist/client/clients/profile/support.d.ts +146 -0
- package/dist/client/clients/profile/support.d.ts.map +1 -0
- package/dist/client/clients/profile/support.js +19 -0
- package/dist/client/clients/profile/support.js.map +1 -0
- package/dist/clients-configurations/read-configuration-file.js +1 -1
- package/dist/clients-configurations/read-configuration-file.js.map +1 -1
- package/package.json +11 -11
- package/renovate.json +51 -0
- package/src/client/clients/profile/index.ts +7 -0
- package/src/client/clients/profile/open-api-definition.json +486 -0
- package/src/client/clients/profile/schema.ts +187 -0
- package/src/client/clients/profile/support.ts +25 -0
- package/src/clients-configurations/read-configuration-file.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support.js","sourceRoot":"","sources":["../../../../src/client/clients/profile/support.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG1E,MAAM,OAAO,cAAc;IAEN;IACA;IACA;IAHnB,YACmB,MAA8C,EAC9C,WAAmB,EACnB,MAA0B;QAF1B,WAAM,GAAN,MAAM,CAAwC;QAC9C,gBAAW,GAAX,WAAW,CAAQ;QACnB,WAAM,GAAN,MAAM,CAAoB;IAC1C,CAAC;IAEJ,KAAK,CAAC,iBAAiB,CACrB,IAAoG;QAEpG,OAAO,IAAI,CAAC,MAAM;aACf,IAAI,CAAC,iCAAiC,EAAE;YACvC,IAAI;SACL,CAAC;aACD,IAAI,CACH,CAAC,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,QAAQ,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"}
|
|
@@ -27,7 +27,7 @@ function ensureBuildingBlockNameIsValid(bbName) {
|
|
|
27
27
|
}
|
|
28
28
|
export async function readConfigurationFile(configurationFilePath) {
|
|
29
29
|
const { default: rawConfigurationFile } = await import(configurationFilePath, {
|
|
30
|
-
|
|
30
|
+
with: {
|
|
31
31
|
type: "json",
|
|
32
32
|
},
|
|
33
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-configuration-file.js","sourceRoot":"","sources":["../../src/clients-configurations/read-configuration-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,MAAM,gCAAgC,GAAG,IAAI,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;IACnB,oBAAoB,EAAE,IAAI,CAAC,MAAM,EAAE;IACnC,uBAAuB,EAAE,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;IACtD,kBAAkB,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC9D,wBAAwB,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpE,iBAAiB,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;CACnD,CAAC,CAAC;AAMH,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,gCAAgC,CAAC;CAC7D,CAAC,CAAC;AAMH,SAAS,8BAA8B,CAAC,MAAc;IACpD,oDAAoD;IACpD,uDAAuD;IACvD,qDAAqD;IACrD,wBAAwB;IACxB,MAAM,KAAK,GAAG,cAAc,CAAC;IAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;QACrB,MAAM,IAAI,KAAK,CACb,mDAAmD,MAAM,eAAe,CACzE,CAAC;AACN,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,qBAA6B;IAE7B,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,MAAM,CACpD,qBAAqB,EACrB;QACE,
|
|
1
|
+
{"version":3,"file":"read-configuration-file.js","sourceRoot":"","sources":["../../src/clients-configurations/read-configuration-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED,MAAM,gCAAgC,GAAG,IAAI,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;IACnB,oBAAoB,EAAE,IAAI,CAAC,MAAM,EAAE;IACnC,uBAAuB,EAAE,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC;IACtD,kBAAkB,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC9D,wBAAwB,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpE,iBAAiB,EAAE,IAAI,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;CACnD,CAAC,CAAC;AAMH,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,gCAAgC,CAAC;CAC7D,CAAC,CAAC;AAMH,SAAS,8BAA8B,CAAC,MAAc;IACpD,oDAAoD;IACpD,uDAAuD;IACvD,qDAAqD;IACrD,wBAAwB;IACxB,MAAM,KAAK,GAAG,cAAc,CAAC;IAC7B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;QACrB,MAAM,IAAI,KAAK,CACb,mDAAmD,MAAM,eAAe,CACzE,CAAC;AACN,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,qBAA6B;IAE7B,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,MAAM,CACpD,qBAAqB,EACrB;QACE,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF,CACF,CAAC;IAEF,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;IAEtE,8DAA8D;IAC9D,4DAA4D;IAC5D,kDAAkD;IAClD,mDAAmD;IACnD,8BAA8B;IAC9B,MAAM,UAAU,GAAsB,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC;IAC7D,KAAK,MAAM,WAAW,IAAI,UAAU,CAAC,cAAc,EAAE,CAAC;QACpD,8BAA8B,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACjD,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC;IAC5D,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ogcio/building-blocks-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.88",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@ogcio/analytics-sdk": "^0.2.
|
|
9
|
-
"typebox": "^1.1.
|
|
8
|
+
"@ogcio/analytics-sdk": "^0.2.11",
|
|
9
|
+
"typebox": "^1.1.11",
|
|
10
10
|
"commander": "^14.0.3",
|
|
11
11
|
"http-errors": "^2.0.1",
|
|
12
12
|
"openapi-fetch": "^0.17.0",
|
|
13
13
|
"openapi-typescript": "^7.13.0",
|
|
14
14
|
"openapi-typescript-helpers": "^0.1.0",
|
|
15
15
|
"safe-stable-stringify": "^2.5.0",
|
|
16
|
-
"yaml": "^2.8.
|
|
16
|
+
"yaml": "^2.8.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@biomejs/biome": "2.4.
|
|
20
|
-
"@commitlint/config-conventional": "^20.
|
|
19
|
+
"@biomejs/biome": "2.4.10",
|
|
20
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
21
21
|
"@types/http-errors": "^2.0.5",
|
|
22
|
-
"@types/node": "^25.
|
|
23
|
-
"@vitest/coverage-istanbul": "^4.
|
|
24
|
-
"commitlint": "^20.
|
|
22
|
+
"@types/node": "^25.5.0",
|
|
23
|
+
"@vitest/coverage-istanbul": "^4.1.2",
|
|
24
|
+
"commitlint": "^20.5.0",
|
|
25
25
|
"husky": "^9.1.7",
|
|
26
26
|
"tsx": "^4.21.0",
|
|
27
|
-
"typescript": "^
|
|
28
|
-
"vitest": "^4.
|
|
27
|
+
"typescript": "^6.0.2",
|
|
28
|
+
"vitest": "^4.1.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@logto/node": "2.5.5",
|
package/renovate.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
|
+
"extends": [
|
|
4
|
+
"config:recommended",
|
|
5
|
+
":semanticCommits",
|
|
6
|
+
":semanticPrefixFixDepsChoreOthers",
|
|
7
|
+
":prConcurrentLimit10",
|
|
8
|
+
":maintainLockFilesWeekly",
|
|
9
|
+
":dependencyDashboard",
|
|
10
|
+
":ignoreModulesAndTests",
|
|
11
|
+
":rebaseStalePrs"
|
|
12
|
+
],
|
|
13
|
+
"schedule": ["at any time"],
|
|
14
|
+
"rangeStrategy": "auto",
|
|
15
|
+
"npm": {
|
|
16
|
+
"enabled": true,
|
|
17
|
+
"postUpdateOptions": ["pnpmDedupe"]
|
|
18
|
+
},
|
|
19
|
+
"azure-pipelines": {
|
|
20
|
+
"enabled": true
|
|
21
|
+
},
|
|
22
|
+
"packageRules": [
|
|
23
|
+
{
|
|
24
|
+
"matchCategories": ["docker"],
|
|
25
|
+
"enabled": true,
|
|
26
|
+
"pinDigests": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"matchPackageNames": [
|
|
30
|
+
"@logto/**",
|
|
31
|
+
"@ogcio/design-system-react",
|
|
32
|
+
"@ogcio/theme-govie",
|
|
33
|
+
"@biomejs/biome",
|
|
34
|
+
"next",
|
|
35
|
+
"react",
|
|
36
|
+
"react-dom"
|
|
37
|
+
],
|
|
38
|
+
"enabled": false
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"matchPackagePatterns": ["*"],
|
|
42
|
+
"matchUpdateTypes": ["minor", "patch"],
|
|
43
|
+
"groupName": "all non-major dependencies",
|
|
44
|
+
"groupSlug": "all-minor-patch"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"ignoreDeps": ["husky"],
|
|
48
|
+
"commitBody": "Automated update by Renovate Bot",
|
|
49
|
+
"baseBranches": ["dev"],
|
|
50
|
+
"enabledManagers": ["npm", "dockerfile", "github-actions"]
|
|
51
|
+
}
|
|
@@ -14,12 +14,14 @@ import {
|
|
|
14
14
|
import { ProfileCitizen } from "./citizen.js";
|
|
15
15
|
import { ProfileOrganisation } from "./organisation.js";
|
|
16
16
|
import type { paths } from "./schema.js";
|
|
17
|
+
import { ProfileSupport } from "./support.js";
|
|
17
18
|
|
|
18
19
|
export class Profile extends BaseClient<paths> {
|
|
19
20
|
protected declare client: ReturnType<typeof createClient<paths>>;
|
|
20
21
|
protected serviceName = PROFILE;
|
|
21
22
|
public readonly citizen: ProfileCitizen;
|
|
22
23
|
public readonly organisation: ProfileOrganisation;
|
|
24
|
+
public readonly support: ProfileSupport;
|
|
23
25
|
|
|
24
26
|
constructor(params: {
|
|
25
27
|
baseUrl: string;
|
|
@@ -37,6 +39,11 @@ export class Profile extends BaseClient<paths> {
|
|
|
37
39
|
this.serviceName,
|
|
38
40
|
this.logger,
|
|
39
41
|
);
|
|
42
|
+
this.support = new ProfileSupport(
|
|
43
|
+
this.client,
|
|
44
|
+
this.serviceName,
|
|
45
|
+
this.logger,
|
|
46
|
+
);
|
|
40
47
|
}
|
|
41
48
|
|
|
42
49
|
async getProfile(
|
|
@@ -11647,6 +11647,492 @@
|
|
|
11647
11647
|
}
|
|
11648
11648
|
}
|
|
11649
11649
|
},
|
|
11650
|
+
"/api/v1/support/profiles/search": {
|
|
11651
|
+
"post": {
|
|
11652
|
+
"operationId": "searchSupportProfiles",
|
|
11653
|
+
"tags": [
|
|
11654
|
+
"Support"
|
|
11655
|
+
],
|
|
11656
|
+
"requestBody": {
|
|
11657
|
+
"required": true,
|
|
11658
|
+
"content": {
|
|
11659
|
+
"application/json": {
|
|
11660
|
+
"schema": {
|
|
11661
|
+
"type": "object",
|
|
11662
|
+
"properties": {
|
|
11663
|
+
"name": {
|
|
11664
|
+
"default": [],
|
|
11665
|
+
"type": "array",
|
|
11666
|
+
"items": {
|
|
11667
|
+
"description": "If set, the endpoint searches for users whom contain this value in either the public name or the first name/last name",
|
|
11668
|
+
"type": "string"
|
|
11669
|
+
}
|
|
11670
|
+
},
|
|
11671
|
+
"email": {
|
|
11672
|
+
"default": [],
|
|
11673
|
+
"type": "array",
|
|
11674
|
+
"items": {
|
|
11675
|
+
"description": "If set, the endpoint searches for users whom contain this value in the latest imported email",
|
|
11676
|
+
"type": "string"
|
|
11677
|
+
}
|
|
11678
|
+
},
|
|
11679
|
+
"ppsn": {
|
|
11680
|
+
"default": [],
|
|
11681
|
+
"type": "array",
|
|
11682
|
+
"items": {
|
|
11683
|
+
"description": "If set, the endpoint searches for users whom contain this value in the latest imported PPSN",
|
|
11684
|
+
"type": "string"
|
|
11685
|
+
}
|
|
11686
|
+
},
|
|
11687
|
+
"dateOfBirth": {
|
|
11688
|
+
"default": [],
|
|
11689
|
+
"type": "array",
|
|
11690
|
+
"items": {
|
|
11691
|
+
"type": "object",
|
|
11692
|
+
"properties": {
|
|
11693
|
+
"from": {
|
|
11694
|
+
"format": "date",
|
|
11695
|
+
"description": "If set, the endpoint searches for users whose date of birth is from this date (inclusive)",
|
|
11696
|
+
"type": "string"
|
|
11697
|
+
},
|
|
11698
|
+
"to": {
|
|
11699
|
+
"format": "date",
|
|
11700
|
+
"description": "If set, the endpoint searches for users whose date of birth is to this date (inclusive)",
|
|
11701
|
+
"type": "string"
|
|
11702
|
+
}
|
|
11703
|
+
}
|
|
11704
|
+
}
|
|
11705
|
+
},
|
|
11706
|
+
"id": {
|
|
11707
|
+
"default": [],
|
|
11708
|
+
"type": "array",
|
|
11709
|
+
"items": {
|
|
11710
|
+
"description": "If set, the endpoint searches for users that have this value as id",
|
|
11711
|
+
"type": "string"
|
|
11712
|
+
}
|
|
11713
|
+
},
|
|
11714
|
+
"logicalOperator": {
|
|
11715
|
+
"default": "and",
|
|
11716
|
+
"anyOf": [
|
|
11717
|
+
{
|
|
11718
|
+
"description": "If set to 'and', the endpoint returns users that match all the provided search criteria. If not set or set to 'or', the endpoint returns users that match at least one of the provided search criteria",
|
|
11719
|
+
"type": "string",
|
|
11720
|
+
"enum": [
|
|
11721
|
+
"and"
|
|
11722
|
+
]
|
|
11723
|
+
},
|
|
11724
|
+
{
|
|
11725
|
+
"description": "If set to 'or', the endpoint returns users that match at least one of the provided search criteria",
|
|
11726
|
+
"type": "string",
|
|
11727
|
+
"enum": [
|
|
11728
|
+
"or"
|
|
11729
|
+
]
|
|
11730
|
+
}
|
|
11731
|
+
]
|
|
11732
|
+
},
|
|
11733
|
+
"offset": {
|
|
11734
|
+
"pattern": "^[0-9][0-9]*|undefined$",
|
|
11735
|
+
"default": "0",
|
|
11736
|
+
"description": "Indicates where to start fetching data or how many records to skip, defining the initial position within the list",
|
|
11737
|
+
"type": "string"
|
|
11738
|
+
},
|
|
11739
|
+
"limit": {
|
|
11740
|
+
"default": "20",
|
|
11741
|
+
"pattern": "^([1-9]|100)|undefined$",
|
|
11742
|
+
"description": "Indicates the maximum number (100) of items that will be returned in a single request",
|
|
11743
|
+
"type": "string"
|
|
11744
|
+
}
|
|
11745
|
+
}
|
|
11746
|
+
}
|
|
11747
|
+
}
|
|
11748
|
+
}
|
|
11749
|
+
},
|
|
11750
|
+
"responses": {
|
|
11751
|
+
"200": {
|
|
11752
|
+
"description": "Default Response",
|
|
11753
|
+
"content": {
|
|
11754
|
+
"application/json": {
|
|
11755
|
+
"schema": {
|
|
11756
|
+
"type": "object",
|
|
11757
|
+
"required": [
|
|
11758
|
+
"data"
|
|
11759
|
+
],
|
|
11760
|
+
"properties": {
|
|
11761
|
+
"data": {
|
|
11762
|
+
"type": "array",
|
|
11763
|
+
"items": {
|
|
11764
|
+
"type": "object",
|
|
11765
|
+
"required": [
|
|
11766
|
+
"id",
|
|
11767
|
+
"publicName",
|
|
11768
|
+
"email",
|
|
11769
|
+
"organisationId",
|
|
11770
|
+
"ppsn",
|
|
11771
|
+
"dateOfBirth",
|
|
11772
|
+
"primaryUserId",
|
|
11773
|
+
"createdAt",
|
|
11774
|
+
"updatedAt",
|
|
11775
|
+
"deletedAt",
|
|
11776
|
+
"preferredLanguage",
|
|
11777
|
+
"status",
|
|
11778
|
+
"safeLevel",
|
|
11779
|
+
"consentStatuses",
|
|
11780
|
+
"firstName",
|
|
11781
|
+
"lastName"
|
|
11782
|
+
],
|
|
11783
|
+
"properties": {
|
|
11784
|
+
"id": {
|
|
11785
|
+
"type": "string"
|
|
11786
|
+
},
|
|
11787
|
+
"publicName": {
|
|
11788
|
+
"type": "string"
|
|
11789
|
+
},
|
|
11790
|
+
"email": {
|
|
11791
|
+
"type": "string"
|
|
11792
|
+
},
|
|
11793
|
+
"organisationId": {
|
|
11794
|
+
"anyOf": [
|
|
11795
|
+
{
|
|
11796
|
+
"type": "string"
|
|
11797
|
+
},
|
|
11798
|
+
{
|
|
11799
|
+
"type": "null"
|
|
11800
|
+
}
|
|
11801
|
+
]
|
|
11802
|
+
},
|
|
11803
|
+
"ppsn": {
|
|
11804
|
+
"anyOf": [
|
|
11805
|
+
{
|
|
11806
|
+
"type": "string"
|
|
11807
|
+
},
|
|
11808
|
+
{
|
|
11809
|
+
"type": "null"
|
|
11810
|
+
}
|
|
11811
|
+
]
|
|
11812
|
+
},
|
|
11813
|
+
"dateOfBirth": {
|
|
11814
|
+
"anyOf": [
|
|
11815
|
+
{
|
|
11816
|
+
"type": "string"
|
|
11817
|
+
},
|
|
11818
|
+
{
|
|
11819
|
+
"type": "null"
|
|
11820
|
+
}
|
|
11821
|
+
]
|
|
11822
|
+
},
|
|
11823
|
+
"primaryUserId": {
|
|
11824
|
+
"type": "string"
|
|
11825
|
+
},
|
|
11826
|
+
"createdAt": {
|
|
11827
|
+
"format": "date-time",
|
|
11828
|
+
"type": "string"
|
|
11829
|
+
},
|
|
11830
|
+
"updatedAt": {
|
|
11831
|
+
"format": "date-time",
|
|
11832
|
+
"type": "string"
|
|
11833
|
+
},
|
|
11834
|
+
"deletedAt": {
|
|
11835
|
+
"anyOf": [
|
|
11836
|
+
{
|
|
11837
|
+
"format": "date-time",
|
|
11838
|
+
"type": "string"
|
|
11839
|
+
},
|
|
11840
|
+
{
|
|
11841
|
+
"type": "null"
|
|
11842
|
+
}
|
|
11843
|
+
]
|
|
11844
|
+
},
|
|
11845
|
+
"preferredLanguage": {
|
|
11846
|
+
"description": "The preferred language of the user, in ISO 639-1 format",
|
|
11847
|
+
"type": "string"
|
|
11848
|
+
},
|
|
11849
|
+
"status": {
|
|
11850
|
+
"description": "The status of the user, either 'active' or 'disabled' or 'deleted'",
|
|
11851
|
+
"type": "string"
|
|
11852
|
+
},
|
|
11853
|
+
"safeLevel": {
|
|
11854
|
+
"description": "The safe level of the user",
|
|
11855
|
+
"type": "integer"
|
|
11856
|
+
},
|
|
11857
|
+
"consentStatuses": {
|
|
11858
|
+
"type": "object",
|
|
11859
|
+
"additionalProperties": {
|
|
11860
|
+
"type": "object",
|
|
11861
|
+
"required": [
|
|
11862
|
+
"status",
|
|
11863
|
+
"consent_statement_id"
|
|
11864
|
+
],
|
|
11865
|
+
"properties": {
|
|
11866
|
+
"status": {
|
|
11867
|
+
"anyOf": [
|
|
11868
|
+
{
|
|
11869
|
+
"type": "string",
|
|
11870
|
+
"enum": [
|
|
11871
|
+
"pending"
|
|
11872
|
+
]
|
|
11873
|
+
},
|
|
11874
|
+
{
|
|
11875
|
+
"type": "string",
|
|
11876
|
+
"enum": [
|
|
11877
|
+
"undefined"
|
|
11878
|
+
]
|
|
11879
|
+
},
|
|
11880
|
+
{
|
|
11881
|
+
"type": "string",
|
|
11882
|
+
"enum": [
|
|
11883
|
+
"pre-approved"
|
|
11884
|
+
]
|
|
11885
|
+
},
|
|
11886
|
+
{
|
|
11887
|
+
"type": "string",
|
|
11888
|
+
"enum": [
|
|
11889
|
+
"opted-out"
|
|
11890
|
+
]
|
|
11891
|
+
},
|
|
11892
|
+
{
|
|
11893
|
+
"type": "string",
|
|
11894
|
+
"enum": [
|
|
11895
|
+
"opted-in"
|
|
11896
|
+
]
|
|
11897
|
+
}
|
|
11898
|
+
]
|
|
11899
|
+
},
|
|
11900
|
+
"consent_statement_id": {
|
|
11901
|
+
"format": "uuid",
|
|
11902
|
+
"type": "string"
|
|
11903
|
+
}
|
|
11904
|
+
}
|
|
11905
|
+
}
|
|
11906
|
+
},
|
|
11907
|
+
"firstName": {
|
|
11908
|
+
"anyOf": [
|
|
11909
|
+
{
|
|
11910
|
+
"type": "string"
|
|
11911
|
+
},
|
|
11912
|
+
{
|
|
11913
|
+
"type": "null"
|
|
11914
|
+
}
|
|
11915
|
+
]
|
|
11916
|
+
},
|
|
11917
|
+
"lastName": {
|
|
11918
|
+
"anyOf": [
|
|
11919
|
+
{
|
|
11920
|
+
"type": "string"
|
|
11921
|
+
},
|
|
11922
|
+
{
|
|
11923
|
+
"type": "null"
|
|
11924
|
+
}
|
|
11925
|
+
]
|
|
11926
|
+
}
|
|
11927
|
+
}
|
|
11928
|
+
}
|
|
11929
|
+
},
|
|
11930
|
+
"metadata": {
|
|
11931
|
+
"type": "object",
|
|
11932
|
+
"properties": {
|
|
11933
|
+
"links": {
|
|
11934
|
+
"description": "Object containing the links to the related endpoints",
|
|
11935
|
+
"type": "object",
|
|
11936
|
+
"required": [
|
|
11937
|
+
"self",
|
|
11938
|
+
"first",
|
|
11939
|
+
"last",
|
|
11940
|
+
"pages"
|
|
11941
|
+
],
|
|
11942
|
+
"properties": {
|
|
11943
|
+
"self": {
|
|
11944
|
+
"type": "object",
|
|
11945
|
+
"properties": {
|
|
11946
|
+
"href": {
|
|
11947
|
+
"description": "URL pointing to the request itself",
|
|
11948
|
+
"type": "string"
|
|
11949
|
+
}
|
|
11950
|
+
}
|
|
11951
|
+
},
|
|
11952
|
+
"next": {
|
|
11953
|
+
"type": "object",
|
|
11954
|
+
"properties": {
|
|
11955
|
+
"href": {
|
|
11956
|
+
"description": "URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
11957
|
+
"type": "string"
|
|
11958
|
+
}
|
|
11959
|
+
}
|
|
11960
|
+
},
|
|
11961
|
+
"prev": {
|
|
11962
|
+
"type": "object",
|
|
11963
|
+
"properties": {
|
|
11964
|
+
"href": {
|
|
11965
|
+
"description": "URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
11966
|
+
"type": "string"
|
|
11967
|
+
}
|
|
11968
|
+
}
|
|
11969
|
+
},
|
|
11970
|
+
"first": {
|
|
11971
|
+
"type": "object",
|
|
11972
|
+
"properties": {
|
|
11973
|
+
"href": {
|
|
11974
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
11975
|
+
"type": "string"
|
|
11976
|
+
}
|
|
11977
|
+
}
|
|
11978
|
+
},
|
|
11979
|
+
"last": {
|
|
11980
|
+
"type": "object",
|
|
11981
|
+
"properties": {
|
|
11982
|
+
"href": {
|
|
11983
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
11984
|
+
"type": "string"
|
|
11985
|
+
}
|
|
11986
|
+
}
|
|
11987
|
+
},
|
|
11988
|
+
"pages": {
|
|
11989
|
+
"description": "It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2'",
|
|
11990
|
+
"type": "object",
|
|
11991
|
+
"additionalProperties": {
|
|
11992
|
+
"type": "object",
|
|
11993
|
+
"properties": {
|
|
11994
|
+
"href": {
|
|
11995
|
+
"type": "string"
|
|
11996
|
+
}
|
|
11997
|
+
}
|
|
11998
|
+
}
|
|
11999
|
+
}
|
|
12000
|
+
}
|
|
12001
|
+
},
|
|
12002
|
+
"totalCount": {
|
|
12003
|
+
"description": "Number representing the total number of available items",
|
|
12004
|
+
"type": "number"
|
|
12005
|
+
}
|
|
12006
|
+
}
|
|
12007
|
+
}
|
|
12008
|
+
}
|
|
12009
|
+
}
|
|
12010
|
+
}
|
|
12011
|
+
}
|
|
12012
|
+
},
|
|
12013
|
+
"4XX": {
|
|
12014
|
+
"description": "Default Response",
|
|
12015
|
+
"content": {
|
|
12016
|
+
"application/json": {
|
|
12017
|
+
"schema": {
|
|
12018
|
+
"type": "object",
|
|
12019
|
+
"required": [
|
|
12020
|
+
"code",
|
|
12021
|
+
"detail",
|
|
12022
|
+
"requestId",
|
|
12023
|
+
"name",
|
|
12024
|
+
"statusCode"
|
|
12025
|
+
],
|
|
12026
|
+
"properties": {
|
|
12027
|
+
"code": {
|
|
12028
|
+
"description": "Code used to categorize the error",
|
|
12029
|
+
"type": "string"
|
|
12030
|
+
},
|
|
12031
|
+
"detail": {
|
|
12032
|
+
"description": "Description of the error",
|
|
12033
|
+
"type": "string"
|
|
12034
|
+
},
|
|
12035
|
+
"requestId": {
|
|
12036
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
12037
|
+
"type": "string"
|
|
12038
|
+
},
|
|
12039
|
+
"name": {
|
|
12040
|
+
"description": "Name of the error type",
|
|
12041
|
+
"type": "string"
|
|
12042
|
+
},
|
|
12043
|
+
"validation": {
|
|
12044
|
+
"description": "List of the validation errors",
|
|
12045
|
+
"type": "array",
|
|
12046
|
+
"items": {
|
|
12047
|
+
"type": "object",
|
|
12048
|
+
"required": [
|
|
12049
|
+
"fieldName",
|
|
12050
|
+
"message"
|
|
12051
|
+
],
|
|
12052
|
+
"properties": {
|
|
12053
|
+
"fieldName": {
|
|
12054
|
+
"type": "string"
|
|
12055
|
+
},
|
|
12056
|
+
"message": {
|
|
12057
|
+
"type": "string"
|
|
12058
|
+
}
|
|
12059
|
+
}
|
|
12060
|
+
}
|
|
12061
|
+
},
|
|
12062
|
+
"validationContext": {
|
|
12063
|
+
"type": "string"
|
|
12064
|
+
},
|
|
12065
|
+
"statusCode": {
|
|
12066
|
+
"type": "number"
|
|
12067
|
+
}
|
|
12068
|
+
}
|
|
12069
|
+
}
|
|
12070
|
+
}
|
|
12071
|
+
}
|
|
12072
|
+
},
|
|
12073
|
+
"5XX": {
|
|
12074
|
+
"description": "Default Response",
|
|
12075
|
+
"content": {
|
|
12076
|
+
"application/json": {
|
|
12077
|
+
"schema": {
|
|
12078
|
+
"type": "object",
|
|
12079
|
+
"required": [
|
|
12080
|
+
"code",
|
|
12081
|
+
"detail",
|
|
12082
|
+
"requestId",
|
|
12083
|
+
"name",
|
|
12084
|
+
"statusCode"
|
|
12085
|
+
],
|
|
12086
|
+
"properties": {
|
|
12087
|
+
"code": {
|
|
12088
|
+
"description": "Code used to categorize the error",
|
|
12089
|
+
"type": "string"
|
|
12090
|
+
},
|
|
12091
|
+
"detail": {
|
|
12092
|
+
"description": "Description of the error",
|
|
12093
|
+
"type": "string"
|
|
12094
|
+
},
|
|
12095
|
+
"requestId": {
|
|
12096
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
12097
|
+
"type": "string"
|
|
12098
|
+
},
|
|
12099
|
+
"name": {
|
|
12100
|
+
"description": "Name of the error type",
|
|
12101
|
+
"type": "string"
|
|
12102
|
+
},
|
|
12103
|
+
"validation": {
|
|
12104
|
+
"description": "List of the validation errors",
|
|
12105
|
+
"type": "array",
|
|
12106
|
+
"items": {
|
|
12107
|
+
"type": "object",
|
|
12108
|
+
"required": [
|
|
12109
|
+
"fieldName",
|
|
12110
|
+
"message"
|
|
12111
|
+
],
|
|
12112
|
+
"properties": {
|
|
12113
|
+
"fieldName": {
|
|
12114
|
+
"type": "string"
|
|
12115
|
+
},
|
|
12116
|
+
"message": {
|
|
12117
|
+
"type": "string"
|
|
12118
|
+
}
|
|
12119
|
+
}
|
|
12120
|
+
}
|
|
12121
|
+
},
|
|
12122
|
+
"validationContext": {
|
|
12123
|
+
"type": "string"
|
|
12124
|
+
},
|
|
12125
|
+
"statusCode": {
|
|
12126
|
+
"type": "number"
|
|
12127
|
+
}
|
|
12128
|
+
}
|
|
12129
|
+
}
|
|
12130
|
+
}
|
|
12131
|
+
}
|
|
12132
|
+
}
|
|
12133
|
+
}
|
|
12134
|
+
}
|
|
12135
|
+
},
|
|
11650
12136
|
"/user-login-wh": {
|
|
11651
12137
|
"post": {
|
|
11652
12138
|
"operationId": "logtoUserCreated",
|