@ogcio/building-blocks-sdk 0.1.18 → 0.2.1

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 (37) hide show
  1. package/.gitleaksignore +2 -0
  2. package/.release-please-manifest.json +1 -1
  3. package/CHANGELOG.md +18 -0
  4. package/dist/client/clients/featureFlags/schema.d.ts +205 -63
  5. package/dist/client/clients/featureFlags/schema.d.ts.map +1 -1
  6. package/dist/client/clients/messaging/index.d.ts +109 -1960
  7. package/dist/client/clients/messaging/index.d.ts.map +1 -1
  8. package/dist/client/clients/messaging/index.js +3 -179
  9. package/dist/client/clients/messaging/index.js.map +1 -1
  10. package/dist/client/clients/messaging/schema.d.ts +1689 -3486
  11. package/dist/client/clients/messaging/schema.d.ts.map +1 -1
  12. package/dist/client/clients/payments/index.d.ts +93 -7
  13. package/dist/client/clients/payments/index.d.ts.map +1 -1
  14. package/dist/client/clients/payments/index.js +11 -0
  15. package/dist/client/clients/payments/index.js.map +1 -1
  16. package/dist/client/clients/payments/schema.d.ts +113 -7
  17. package/dist/client/clients/payments/schema.d.ts.map +1 -1
  18. package/dist/client/clients/profile/index.d.ts +882 -440
  19. package/dist/client/clients/profile/index.d.ts.map +1 -1
  20. package/dist/client/clients/profile/index.js +88 -54
  21. package/dist/client/clients/profile/index.js.map +1 -1
  22. package/dist/client/clients/profile/schema.d.ts +1257 -1114
  23. package/dist/client/clients/profile/schema.d.ts.map +1 -1
  24. package/dist/clients-configurations/clients-configuration.json +7 -6
  25. package/package.json +1 -1
  26. package/src/client/clients/featureFlags/open-api-definition.json +184 -95
  27. package/src/client/clients/featureFlags/schema.ts +205 -63
  28. package/src/client/clients/messaging/index.ts +2 -278
  29. package/src/client/clients/messaging/open-api-definition.json +419 -4558
  30. package/src/client/clients/messaging/schema.ts +1689 -3486
  31. package/src/client/clients/payments/index.ts +17 -0
  32. package/src/client/clients/payments/open-api-definition.json +314 -0
  33. package/src/client/clients/payments/schema.ts +113 -7
  34. package/src/client/clients/profile/index.ts +140 -84
  35. package/src/client/clients/profile/open-api-definition.json +1925 -1343
  36. package/src/client/clients/profile/schema.ts +1257 -1114
  37. package/src/clients-configurations/clients-configuration.json +7 -6
@@ -1,29 +1,12 @@
1
1
  export interface paths {
2
- "/health": {
2
+ "/api/v1/profiles/": {
3
3
  parameters: {
4
4
  query?: never;
5
5
  header?: never;
6
6
  path?: never;
7
7
  cookie?: never;
8
8
  };
9
- get: {
10
- parameters: {
11
- query?: never;
12
- header?: never;
13
- path?: never;
14
- cookie?: never;
15
- };
16
- requestBody?: never;
17
- responses: {
18
- /** @description Default Response */
19
- 200: {
20
- headers: {
21
- [name: string]: unknown;
22
- };
23
- content?: never;
24
- };
25
- };
26
- };
9
+ get: operations["indexProfiles"];
27
10
  put?: never;
28
11
  post?: never;
29
12
  delete?: never;
@@ -32,7 +15,7 @@ export interface paths {
32
15
  patch?: never;
33
16
  trace?: never;
34
17
  };
35
- "/user-login-wh": {
18
+ "/api/v1/profiles/import-profiles": {
36
19
  parameters: {
37
20
  query?: never;
38
21
  header?: never;
@@ -41,40 +24,63 @@ export interface paths {
41
24
  };
42
25
  get?: never;
43
26
  put?: never;
44
- post: {
45
- parameters: {
46
- query?: never;
47
- header?: never;
48
- path?: never;
49
- cookie?: never;
50
- };
51
- requestBody?: never;
52
- responses: {
53
- /** @description Default Response */
54
- 200: {
55
- headers: {
56
- [name: string]: unknown;
57
- };
58
- content?: never;
59
- };
60
- };
27
+ post: operations["importProfiles"];
28
+ delete?: never;
29
+ options?: never;
30
+ head?: never;
31
+ patch?: never;
32
+ trace?: never;
33
+ };
34
+ "/api/v1/profiles/select-profiles": {
35
+ parameters: {
36
+ query?: never;
37
+ header?: never;
38
+ path?: never;
39
+ cookie?: never;
40
+ };
41
+ get: operations["selectProfiles"];
42
+ put?: never;
43
+ post?: never;
44
+ delete?: never;
45
+ options?: never;
46
+ head?: never;
47
+ patch?: never;
48
+ trace?: never;
49
+ };
50
+ "/api/v1/profiles/find-profile": {
51
+ parameters: {
52
+ query?: never;
53
+ header?: never;
54
+ path?: never;
55
+ cookie?: never;
61
56
  };
57
+ get: operations["findProfile"];
58
+ put?: never;
59
+ post?: never;
62
60
  delete?: never;
63
61
  options?: never;
64
62
  head?: never;
65
63
  patch?: never;
66
64
  trace?: never;
67
65
  };
68
- "/api/v1/addresses/": {
66
+ "/api/v1/profiles/imports": {
69
67
  parameters: {
70
68
  query?: never;
71
69
  header?: never;
72
70
  path?: never;
73
71
  cookie?: never;
74
72
  };
73
+ /** @description List profile imports with pagination */
75
74
  get: {
76
75
  parameters: {
77
- query?: never;
76
+ query?: {
77
+ organizationId?: string;
78
+ source?: "csv" | "json";
79
+ /** @description Indicates where to start fetching data or how many records to skip, defining the initial position within the list */
80
+ offset?: string;
81
+ /** @description Indicates the maximum number (100) of items that will be returned in a single request */
82
+ limit?: string;
83
+ };
78
84
  header?: never;
79
85
  path?: never;
80
86
  cookie?: never;
@@ -89,17 +95,20 @@ export interface paths {
89
95
  content: {
90
96
  "application/json": {
91
97
  data: {
92
- addressId: string;
93
- addressLine1: string;
94
- addressLine2: string;
95
- town: string;
96
- county: string;
97
- eirecode: string;
98
+ /** Format: uuid */
99
+ id: string;
100
+ jobId: string;
101
+ organisationId?: string;
102
+ status: string;
103
+ source: "csv" | "json";
104
+ metadata?: {
105
+ filename: string;
106
+ mimetype: string;
107
+ };
108
+ /** Format: date-time */
109
+ createdAt: string;
110
+ /** Format: date-time */
98
111
  updatedAt: string;
99
- moveInDate?: string;
100
- moveOutDate?: string;
101
- isPrimary?: boolean;
102
- ownershipStatus?: string;
103
112
  }[];
104
113
  metadata?: {
105
114
  /** @description Object containing the links to the related endpoints */
@@ -138,1292 +147,1426 @@ export interface paths {
138
147
  };
139
148
  };
140
149
  /** @description Default Response */
141
- 500: {
150
+ "4XX": {
142
151
  headers: {
143
152
  [name: string]: unknown;
144
153
  };
145
154
  content: {
146
155
  "application/json": {
156
+ /** @description Code used to categorize the error */
147
157
  code: string;
158
+ /** @description Description of the error */
148
159
  detail: string;
160
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
149
161
  requestId: string;
162
+ /** @description Name of the error type */
150
163
  name: string;
151
- validation?: unknown;
164
+ /** @description List of the validation errors */
165
+ validation?: {
166
+ fieldName: string;
167
+ message: string;
168
+ }[];
152
169
  validationContext?: string;
153
- };
154
- };
155
- };
156
- };
157
- };
158
- put?: never;
159
- post: {
160
- parameters: {
161
- query?: never;
162
- header?: never;
163
- path?: never;
164
- cookie?: never;
165
- };
166
- requestBody: {
167
- content: {
168
- "application/json": {
169
- addressLine1: string;
170
- addressLine2?: string;
171
- town: string;
172
- county: string;
173
- eirecode: string;
174
- moveInDate?: string;
175
- moveOutDate?: string;
176
- };
177
- };
178
- };
179
- responses: {
180
- /** @description Default Response */
181
- 200: {
182
- headers: {
183
- [name: string]: unknown;
184
- };
185
- content: {
186
- "application/json": {
187
- data: {
188
- id: string;
189
- };
190
- metadata?: {
191
- /** @description Object containing the links to the related endpoints */
192
- links?: {
193
- self: {
194
- /** @description URL pointing to the request itself */
195
- href?: string;
196
- };
197
- next?: {
198
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
199
- href?: string;
200
- };
201
- prev?: {
202
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
203
- href?: string;
204
- };
205
- first: {
206
- /** @description URL pointing to the first page of results in a paginated response */
207
- href?: string;
208
- };
209
- last: {
210
- /** @description URL pointing to the first page of results in a paginated response */
211
- href?: string;
212
- };
213
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
214
- pages: {
215
- [key: string]: {
216
- href?: string;
217
- };
218
- };
219
- };
220
- /** @description Number representing the total number of available items */
221
- totalCount?: number;
222
- };
170
+ statusCode: number;
223
171
  };
224
172
  };
225
173
  };
226
174
  /** @description Default Response */
227
- 500: {
175
+ "5XX": {
228
176
  headers: {
229
177
  [name: string]: unknown;
230
178
  };
231
179
  content: {
232
180
  "application/json": {
181
+ /** @description Code used to categorize the error */
233
182
  code: string;
183
+ /** @description Description of the error */
234
184
  detail: string;
185
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
235
186
  requestId: string;
187
+ /** @description Name of the error type */
236
188
  name: string;
237
- validation?: unknown;
189
+ /** @description List of the validation errors */
190
+ validation?: {
191
+ fieldName: string;
192
+ message: string;
193
+ }[];
238
194
  validationContext?: string;
195
+ statusCode: number;
239
196
  };
240
197
  };
241
198
  };
242
199
  };
243
200
  };
201
+ put?: never;
202
+ post?: never;
203
+ delete?: never;
204
+ options?: never;
205
+ head?: never;
206
+ patch?: never;
207
+ trace?: never;
208
+ };
209
+ "/api/v1/profiles/imports/{importId}": {
210
+ parameters: {
211
+ query?: never;
212
+ header?: never;
213
+ path?: never;
214
+ cookie?: never;
215
+ };
216
+ /** @description Get details of profiles in a specific import */
217
+ get: operations["getProfileImportDetails"];
218
+ put?: never;
219
+ post?: never;
244
220
  delete?: never;
245
221
  options?: never;
246
222
  head?: never;
247
223
  patch?: never;
248
224
  trace?: never;
249
225
  };
250
- "/api/v1/addresses/{addressId}": {
226
+ "/api/v1/profiles/{profileId}": {
251
227
  parameters: {
252
228
  query?: never;
253
229
  header?: never;
254
230
  path?: never;
255
231
  cookie?: never;
256
232
  };
257
- get: {
258
- parameters: {
259
- query?: never;
260
- header?: never;
261
- path: {
262
- addressId: string;
263
- };
264
- cookie?: never;
233
+ get: operations["getProfile"];
234
+ put: operations["updateProfilePut"];
235
+ post?: never;
236
+ delete?: never;
237
+ options?: never;
238
+ head?: never;
239
+ patch: operations["updateProfilePatch"];
240
+ trace?: never;
241
+ };
242
+ "/api/v1/profiles/imports/template": {
243
+ parameters: {
244
+ query?: never;
245
+ header?: never;
246
+ path?: never;
247
+ cookie?: never;
248
+ };
249
+ get: operations["getProfileTemplate"];
250
+ put?: never;
251
+ post?: never;
252
+ delete?: never;
253
+ options?: never;
254
+ head?: never;
255
+ patch?: never;
256
+ trace?: never;
257
+ };
258
+ "/user-login-wh": {
259
+ parameters: {
260
+ query?: never;
261
+ header?: never;
262
+ path?: never;
263
+ cookie?: never;
264
+ };
265
+ get?: never;
266
+ put?: never;
267
+ post: operations["logtoUserCreated"];
268
+ delete?: never;
269
+ options?: never;
270
+ head?: never;
271
+ patch?: never;
272
+ trace?: never;
273
+ };
274
+ }
275
+ export type webhooks = Record<string, never>;
276
+ export interface components {
277
+ schemas: never;
278
+ responses: never;
279
+ parameters: never;
280
+ requestBodies: never;
281
+ headers: never;
282
+ pathItems: never;
283
+ }
284
+ export type $defs = Record<string, never>;
285
+ export interface operations {
286
+ indexProfiles: {
287
+ parameters: {
288
+ query?: {
289
+ /** @description If set, the endpoint searches for users whom contain this value in either the public name or the email address */
290
+ search?: string;
291
+ /** @description Indicates where to start fetching data or how many records to skip, defining the initial position within the list */
292
+ offset?: string;
293
+ /** @description Indicates the maximum number (100) of items that will be returned in a single request */
294
+ limit?: string;
265
295
  };
266
- requestBody?: never;
267
- responses: {
268
- /** @description Default Response */
269
- 200: {
270
- headers: {
271
- [name: string]: unknown;
272
- };
273
- content: {
274
- "application/json": {
275
- data: {
276
- addressId: string;
277
- addressLine1: string;
278
- addressLine2: string;
279
- town: string;
280
- county: string;
281
- eirecode: string;
282
- updatedAt: string;
283
- moveInDate?: string;
284
- moveOutDate?: string;
285
- isPrimary?: boolean;
286
- ownershipStatus?: string;
287
- };
288
- metadata?: {
289
- /** @description Object containing the links to the related endpoints */
290
- links?: {
291
- self: {
292
- /** @description URL pointing to the request itself */
293
- href?: string;
294
- };
295
- next?: {
296
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
297
- href?: string;
298
- };
299
- prev?: {
300
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
301
- href?: string;
302
- };
303
- first: {
304
- /** @description URL pointing to the first page of results in a paginated response */
305
- href?: string;
306
- };
307
- last: {
308
- /** @description URL pointing to the first page of results in a paginated response */
296
+ header?: never;
297
+ path?: never;
298
+ cookie?: never;
299
+ };
300
+ requestBody?: never;
301
+ responses: {
302
+ /** @description Default Response */
303
+ 200: {
304
+ headers: {
305
+ [name: string]: unknown;
306
+ };
307
+ content: {
308
+ "application/json": {
309
+ data: {
310
+ id: string;
311
+ publicName: string;
312
+ /** Format: email */
313
+ email: string;
314
+ primaryUserId: string;
315
+ safeLevel?: number;
316
+ /**
317
+ * @default en
318
+ * @enum {string}
319
+ */
320
+ preferredLanguage: "en" | "ga";
321
+ /** Format: date-time */
322
+ createdAt?: string;
323
+ /** Format: date-time */
324
+ updatedAt?: string;
325
+ }[];
326
+ metadata?: {
327
+ /** @description Object containing the links to the related endpoints */
328
+ links?: {
329
+ self: {
330
+ /** @description URL pointing to the request itself */
331
+ href?: string;
332
+ };
333
+ next?: {
334
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
335
+ href?: string;
336
+ };
337
+ prev?: {
338
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
339
+ href?: string;
340
+ };
341
+ first: {
342
+ /** @description URL pointing to the first page of results in a paginated response */
343
+ href?: string;
344
+ };
345
+ last: {
346
+ /** @description URL pointing to the first page of results in a paginated response */
347
+ href?: string;
348
+ };
349
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
350
+ pages: {
351
+ [key: string]: {
309
352
  href?: string;
310
353
  };
311
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
312
- pages: {
313
- [key: string]: {
314
- href?: string;
315
- };
316
- };
317
354
  };
318
- /** @description Number representing the total number of available items */
319
- totalCount?: number;
320
355
  };
356
+ /** @description Number representing the total number of available items */
357
+ totalCount?: number;
321
358
  };
322
359
  };
323
360
  };
324
- /** @description Default Response */
325
- 404: {
326
- headers: {
327
- [name: string]: unknown;
328
- };
329
- content: {
330
- "application/json": {
331
- code: string;
332
- detail: string;
333
- requestId: string;
334
- name: string;
335
- validation?: unknown;
336
- validationContext?: string;
337
- };
338
- };
339
- };
340
- /** @description Default Response */
341
- 500: {
342
- headers: {
343
- [name: string]: unknown;
344
- };
345
- content: {
346
- "application/json": {
347
- code: string;
348
- detail: string;
349
- requestId: string;
350
- name: string;
351
- validation?: unknown;
352
- validationContext?: string;
353
- };
361
+ };
362
+ /** @description Default Response */
363
+ "4XX": {
364
+ headers: {
365
+ [name: string]: unknown;
366
+ };
367
+ content: {
368
+ "application/json": {
369
+ /** @description Code used to categorize the error */
370
+ code: string;
371
+ /** @description Description of the error */
372
+ detail: string;
373
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
374
+ requestId: string;
375
+ /** @description Name of the error type */
376
+ name: string;
377
+ /** @description List of the validation errors */
378
+ validation?: {
379
+ fieldName: string;
380
+ message: string;
381
+ }[];
382
+ validationContext?: string;
383
+ statusCode: number;
354
384
  };
355
385
  };
356
386
  };
357
- };
358
- put: {
359
- parameters: {
360
- query?: never;
361
- header?: never;
362
- path: {
363
- addressId: string;
387
+ /** @description Default Response */
388
+ "5XX": {
389
+ headers: {
390
+ [name: string]: unknown;
364
391
  };
365
- cookie?: never;
366
- };
367
- requestBody: {
368
392
  content: {
369
393
  "application/json": {
370
- addressLine1: string;
371
- addressLine2?: string;
372
- town: string;
373
- county: string;
374
- eirecode: string;
375
- moveInDate?: string;
376
- moveOutDate?: string;
377
- isPrimary: boolean;
378
- ownershipStatus: string;
394
+ /** @description Code used to categorize the error */
395
+ code: string;
396
+ /** @description Description of the error */
397
+ detail: string;
398
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
399
+ requestId: string;
400
+ /** @description Name of the error type */
401
+ name: string;
402
+ /** @description List of the validation errors */
403
+ validation?: {
404
+ fieldName: string;
405
+ message: string;
406
+ }[];
407
+ validationContext?: string;
408
+ statusCode: number;
379
409
  };
380
410
  };
381
411
  };
382
- responses: {
383
- /** @description Default Response */
384
- 200: {
385
- headers: {
386
- [name: string]: unknown;
387
- };
388
- content: {
389
- "application/json": {
390
- data: {
391
- id: string;
392
- };
393
- metadata?: {
394
- /** @description Object containing the links to the related endpoints */
395
- links?: {
396
- self: {
397
- /** @description URL pointing to the request itself */
398
- href?: string;
399
- };
400
- next?: {
401
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
402
- href?: string;
403
- };
404
- prev?: {
405
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
406
- href?: string;
407
- };
408
- first: {
409
- /** @description URL pointing to the first page of results in a paginated response */
410
- href?: string;
411
- };
412
- last: {
413
- /** @description URL pointing to the first page of results in a paginated response */
414
- href?: string;
415
- };
416
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
417
- pages: {
418
- [key: string]: {
419
- href?: string;
420
- };
421
- };
422
- };
423
- /** @description Number representing the total number of available items */
424
- totalCount?: number;
425
- };
426
- };
427
- };
412
+ };
413
+ };
414
+ importProfiles: {
415
+ parameters: {
416
+ query?: never;
417
+ header?: never;
418
+ path?: never;
419
+ cookie?: never;
420
+ };
421
+ requestBody?: {
422
+ content: {
423
+ "application/json": {
424
+ profiles?: {
425
+ /** Format: email */
426
+ email: string;
427
+ firstName: string;
428
+ lastName: string;
429
+ city?: string;
430
+ address?: string;
431
+ phone?: string;
432
+ /** Format: date */
433
+ dateOfBirth?: string;
434
+ ppsn?: string;
435
+ /**
436
+ * @default en
437
+ * @enum {string}
438
+ */
439
+ preferredLanguage?: "en" | "ga";
440
+ }[];
441
+ file?: unknown;
428
442
  };
429
- /** @description Default Response */
430
- 404: {
431
- headers: {
432
- [name: string]: unknown;
433
- };
434
- content: {
435
- "application/json": {
436
- code: string;
437
- detail: string;
438
- requestId: string;
439
- name: string;
440
- validation?: unknown;
441
- validationContext?: string;
442
- };
443
- };
443
+ "multipart/form-data": {
444
+ profiles?: {
445
+ /** Format: email */
446
+ email: string;
447
+ firstName: string;
448
+ lastName: string;
449
+ city?: string;
450
+ address?: string;
451
+ phone?: string;
452
+ /** Format: date */
453
+ dateOfBirth?: string;
454
+ ppsn?: string;
455
+ /**
456
+ * @default en
457
+ * @enum {string}
458
+ */
459
+ preferredLanguage?: "en" | "ga";
460
+ }[];
461
+ file?: unknown;
444
462
  };
445
- /** @description Default Response */
446
- 500: {
447
- headers: {
448
- [name: string]: unknown;
449
- };
450
- content: {
451
- "application/json": {
452
- code: string;
453
- detail: string;
454
- requestId: string;
455
- name: string;
456
- validation?: unknown;
457
- validationContext?: string;
458
- };
459
- };
463
+ "text/csv": {
464
+ profiles?: {
465
+ /** Format: email */
466
+ email: string;
467
+ firstName: string;
468
+ lastName: string;
469
+ city?: string;
470
+ address?: string;
471
+ phone?: string;
472
+ /** Format: date */
473
+ dateOfBirth?: string;
474
+ ppsn?: string;
475
+ /**
476
+ * @default en
477
+ * @enum {string}
478
+ */
479
+ preferredLanguage?: "en" | "ga";
480
+ }[];
481
+ file?: unknown;
460
482
  };
461
483
  };
462
484
  };
463
- post?: never;
464
- delete: {
465
- parameters: {
466
- query?: never;
467
- header?: never;
468
- path: {
469
- addressId: string;
470
- };
471
- cookie?: never;
472
- };
473
- requestBody?: never;
474
- responses: {
475
- /** @description Default Response */
476
- 200: {
477
- headers: {
478
- [name: string]: unknown;
479
- };
480
- content: {
481
- "application/json": {
482
- data: {
483
- id: string;
484
- };
485
- metadata?: {
486
- /** @description Object containing the links to the related endpoints */
487
- links?: {
488
- self: {
489
- /** @description URL pointing to the request itself */
490
- href?: string;
491
- };
492
- next?: {
493
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
494
- href?: string;
495
- };
496
- prev?: {
497
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
498
- href?: string;
499
- };
500
- first: {
501
- /** @description URL pointing to the first page of results in a paginated response */
502
- href?: string;
503
- };
504
- last: {
505
- /** @description URL pointing to the first page of results in a paginated response */
506
- href?: string;
507
- };
508
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
509
- pages: {
510
- [key: string]: {
511
- href?: string;
512
- };
513
- };
514
- };
515
- /** @description Number representing the total number of available items */
516
- totalCount?: number;
517
- };
518
- };
519
- };
485
+ responses: {
486
+ /** @description Default Response */
487
+ 200: {
488
+ headers: {
489
+ [name: string]: unknown;
520
490
  };
521
- /** @description Default Response */
522
- 404: {
523
- headers: {
524
- [name: string]: unknown;
525
- };
526
- content: {
527
- "application/json": {
528
- code: string;
529
- detail: string;
530
- requestId: string;
531
- name: string;
532
- validation?: unknown;
533
- validationContext?: string;
534
- };
535
- };
536
- };
537
- /** @description Default Response */
538
- 500: {
539
- headers: {
540
- [name: string]: unknown;
541
- };
542
- content: {
543
- "application/json": {
544
- code: string;
545
- detail: string;
546
- requestId: string;
547
- name: string;
548
- validation?: unknown;
549
- validationContext?: string;
550
- };
491
+ content: {
492
+ "application/json": {
493
+ status: string;
494
+ jobId: string;
551
495
  };
552
496
  };
553
497
  };
554
- };
555
- options?: never;
556
- head?: never;
557
- patch: {
558
- parameters: {
559
- query?: never;
560
- header?: never;
561
- path: {
562
- addressId: string;
498
+ /** @description Default Response */
499
+ "4XX": {
500
+ headers: {
501
+ [name: string]: unknown;
563
502
  };
564
- cookie?: never;
565
- };
566
- requestBody?: {
567
503
  content: {
568
504
  "application/json": {
569
- isPrimary?: boolean;
570
- ownershipStatus?: string;
505
+ /** @description Code used to categorize the error */
506
+ code: string;
507
+ /** @description Description of the error */
508
+ detail: string;
509
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
510
+ requestId: string;
511
+ /** @description Name of the error type */
512
+ name: string;
513
+ /** @description List of the validation errors */
514
+ validation?: {
515
+ fieldName: string;
516
+ message: string;
517
+ }[];
518
+ validationContext?: string;
519
+ statusCode: number;
571
520
  };
572
521
  };
573
522
  };
574
- responses: {
575
- /** @description Default Response */
576
- 200: {
577
- headers: {
578
- [name: string]: unknown;
579
- };
580
- content: {
581
- "application/json": {
582
- data: {
583
- id: string;
584
- };
585
- metadata?: {
586
- /** @description Object containing the links to the related endpoints */
587
- links?: {
588
- self: {
589
- /** @description URL pointing to the request itself */
590
- href?: string;
591
- };
592
- next?: {
593
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
594
- href?: string;
595
- };
596
- prev?: {
597
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
598
- href?: string;
599
- };
600
- first: {
601
- /** @description URL pointing to the first page of results in a paginated response */
602
- href?: string;
603
- };
604
- last: {
605
- /** @description URL pointing to the first page of results in a paginated response */
606
- href?: string;
607
- };
608
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
609
- pages: {
610
- [key: string]: {
611
- href?: string;
612
- };
613
- };
614
- };
615
- /** @description Number representing the total number of available items */
616
- totalCount?: number;
617
- };
618
- };
619
- };
523
+ /** @description Default Response */
524
+ "5XX": {
525
+ headers: {
526
+ [name: string]: unknown;
620
527
  };
621
- /** @description Default Response */
622
- 404: {
623
- headers: {
624
- [name: string]: unknown;
625
- };
626
- content: {
627
- "application/json": {
628
- code: string;
629
- detail: string;
630
- requestId: string;
631
- name: string;
632
- validation?: unknown;
633
- validationContext?: string;
634
- };
635
- };
636
- };
637
- /** @description Default Response */
638
- 500: {
639
- headers: {
640
- [name: string]: unknown;
641
- };
642
- content: {
643
- "application/json": {
644
- code: string;
645
- detail: string;
646
- requestId: string;
647
- name: string;
648
- validation?: unknown;
649
- validationContext?: string;
650
- };
528
+ content: {
529
+ "application/json": {
530
+ /** @description Code used to categorize the error */
531
+ code: string;
532
+ /** @description Description of the error */
533
+ detail: string;
534
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
535
+ requestId: string;
536
+ /** @description Name of the error type */
537
+ name: string;
538
+ /** @description List of the validation errors */
539
+ validation?: {
540
+ fieldName: string;
541
+ message: string;
542
+ }[];
543
+ validationContext?: string;
544
+ statusCode: number;
651
545
  };
652
546
  };
653
547
  };
654
548
  };
655
- trace?: never;
656
549
  };
657
- "/api/v1/entitlements/": {
550
+ selectProfiles: {
658
551
  parameters: {
659
- query?: never;
552
+ query: {
553
+ /** @description Comma-separated list of profile IDs */
554
+ ids: string;
555
+ };
660
556
  header?: never;
661
557
  path?: never;
662
558
  cookie?: never;
663
559
  };
664
- get: {
665
- parameters: {
666
- query?: never;
667
- header?: never;
668
- path?: never;
669
- cookie?: never;
670
- };
671
- requestBody?: never;
672
- responses: {
673
- /** @description Default Response */
674
- 200: {
675
- headers: {
676
- [name: string]: unknown;
677
- };
678
- content: {
679
- "application/json": {
680
- data: {
681
- firstname: string;
682
- lastname: string;
683
- type: string;
684
- issueDate: string;
685
- expiryDate?: string;
686
- documentNumber: string;
687
- }[];
688
- metadata?: {
689
- /** @description Object containing the links to the related endpoints */
690
- links?: {
691
- self: {
692
- /** @description URL pointing to the request itself */
693
- href?: string;
694
- };
695
- next?: {
696
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
697
- href?: string;
698
- };
699
- prev?: {
700
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
701
- href?: string;
702
- };
703
- first: {
704
- /** @description URL pointing to the first page of results in a paginated response */
705
- href?: string;
706
- };
707
- last: {
708
- /** @description URL pointing to the first page of results in a paginated response */
560
+ requestBody?: never;
561
+ responses: {
562
+ /** @description Default Response */
563
+ 200: {
564
+ headers: {
565
+ [name: string]: unknown;
566
+ };
567
+ content: {
568
+ "application/json": {
569
+ data: {
570
+ id: string;
571
+ publicName: string;
572
+ /** Format: email */
573
+ email: string;
574
+ primaryUserId: string;
575
+ safeLevel?: number;
576
+ /**
577
+ * @default en
578
+ * @enum {string}
579
+ */
580
+ preferredLanguage: "en" | "ga";
581
+ /** Format: date-time */
582
+ createdAt?: string;
583
+ /** Format: date-time */
584
+ updatedAt?: string;
585
+ details?: {
586
+ /** Format: email */
587
+ email: string;
588
+ firstName: string;
589
+ lastName: string;
590
+ city?: string;
591
+ address?: string;
592
+ phone?: string;
593
+ /** Format: date */
594
+ dateOfBirth?: string;
595
+ ppsn?: string;
596
+ /**
597
+ * @default en
598
+ * @enum {string}
599
+ */
600
+ preferredLanguage: "en" | "ga";
601
+ };
602
+ }[];
603
+ metadata?: {
604
+ /** @description Object containing the links to the related endpoints */
605
+ links?: {
606
+ self: {
607
+ /** @description URL pointing to the request itself */
608
+ href?: string;
609
+ };
610
+ next?: {
611
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
612
+ href?: string;
613
+ };
614
+ prev?: {
615
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
616
+ href?: string;
617
+ };
618
+ first: {
619
+ /** @description URL pointing to the first page of results in a paginated response */
620
+ href?: string;
621
+ };
622
+ last: {
623
+ /** @description URL pointing to the first page of results in a paginated response */
624
+ href?: string;
625
+ };
626
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
627
+ pages: {
628
+ [key: string]: {
709
629
  href?: string;
710
630
  };
711
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
712
- pages: {
713
- [key: string]: {
714
- href?: string;
715
- };
716
- };
717
631
  };
718
- /** @description Number representing the total number of available items */
719
- totalCount?: number;
720
632
  };
633
+ /** @description Number representing the total number of available items */
634
+ totalCount?: number;
721
635
  };
722
636
  };
723
637
  };
724
- /** @description Default Response */
725
- 500: {
726
- headers: {
727
- [name: string]: unknown;
638
+ };
639
+ /** @description Default Response */
640
+ "4XX": {
641
+ headers: {
642
+ [name: string]: unknown;
643
+ };
644
+ content: {
645
+ "application/json": {
646
+ /** @description Code used to categorize the error */
647
+ code: string;
648
+ /** @description Description of the error */
649
+ detail: string;
650
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
651
+ requestId: string;
652
+ /** @description Name of the error type */
653
+ name: string;
654
+ /** @description List of the validation errors */
655
+ validation?: {
656
+ fieldName: string;
657
+ message: string;
658
+ }[];
659
+ validationContext?: string;
660
+ statusCode: number;
728
661
  };
729
- content: {
730
- "application/json": {
731
- code: string;
732
- detail: string;
733
- requestId: string;
734
- name: string;
735
- validation?: unknown;
736
- validationContext?: string;
737
- };
662
+ };
663
+ };
664
+ /** @description Default Response */
665
+ "5XX": {
666
+ headers: {
667
+ [name: string]: unknown;
668
+ };
669
+ content: {
670
+ "application/json": {
671
+ /** @description Code used to categorize the error */
672
+ code: string;
673
+ /** @description Description of the error */
674
+ detail: string;
675
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
676
+ requestId: string;
677
+ /** @description Name of the error type */
678
+ name: string;
679
+ /** @description List of the validation errors */
680
+ validation?: {
681
+ fieldName: string;
682
+ message: string;
683
+ }[];
684
+ validationContext?: string;
685
+ statusCode: number;
738
686
  };
739
687
  };
740
688
  };
741
689
  };
742
- put?: never;
743
- post?: never;
744
- delete?: never;
745
- options?: never;
746
- head?: never;
747
- patch?: never;
748
- trace?: never;
749
690
  };
750
- "/api/v1/users/{userId}": {
691
+ findProfile: {
751
692
  parameters: {
752
- query?: never;
693
+ query?: {
694
+ /** @description Email address to search for */
695
+ email?: string;
696
+ /** @description First name to search for */
697
+ firstName?: string;
698
+ /** @description Last name to search for */
699
+ lastName?: string;
700
+ /** @description Phone number to search for */
701
+ phone?: string;
702
+ };
753
703
  header?: never;
754
704
  path?: never;
755
705
  cookie?: never;
756
706
  };
757
- get: {
758
- parameters: {
759
- query?: never;
760
- header?: never;
761
- path: {
762
- userId: string;
707
+ requestBody?: never;
708
+ responses: {
709
+ /** @description Default Response */
710
+ 200: {
711
+ headers: {
712
+ [name: string]: unknown;
763
713
  };
764
- cookie?: never;
765
- };
766
- requestBody?: never;
767
- responses: {
768
- /** @description Default Response */
769
- 200: {
770
- headers: {
771
- [name: string]: unknown;
772
- };
773
- content: {
774
- "application/json": {
775
- data: {
776
- /** @default null */
777
- title: null | string;
778
- firstName: string;
779
- lastName: string;
780
- /** @default null */
781
- dateOfBirth: null | string;
782
- /** @default null */
783
- ppsn: null | string;
784
- /** @default false */
785
- ppsnVisible: null | boolean;
786
- /** @default null */
787
- gender: null | string;
714
+ content: {
715
+ "application/json": {
716
+ data: {
717
+ id: string;
718
+ publicName: string;
719
+ /** Format: email */
720
+ email: string;
721
+ primaryUserId: string;
722
+ safeLevel?: number;
723
+ /**
724
+ * @default en
725
+ * @enum {string}
726
+ */
727
+ preferredLanguage: "en" | "ga";
728
+ /** Format: date-time */
729
+ createdAt?: string;
730
+ /** Format: date-time */
731
+ updatedAt?: string;
732
+ details?: {
788
733
  /** Format: email */
789
734
  email: string;
790
- /** @default null */
791
- phone: null | string;
792
- /** @default false */
793
- consentToPrefillData: null | boolean;
794
- /** @default en */
795
- preferredLanguage: string;
735
+ firstName: string;
736
+ lastName: string;
737
+ city?: string;
738
+ address?: string;
739
+ phone?: string;
740
+ /** Format: date */
741
+ dateOfBirth?: string;
742
+ ppsn?: string;
743
+ /**
744
+ * @default en
745
+ * @enum {string}
746
+ */
747
+ preferredLanguage: "en" | "ga";
796
748
  };
797
- metadata?: {
798
- /** @description Object containing the links to the related endpoints */
799
- links?: {
800
- self: {
801
- /** @description URL pointing to the request itself */
802
- href?: string;
803
- };
804
- next?: {
805
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
806
- href?: string;
807
- };
808
- prev?: {
809
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
810
- href?: string;
811
- };
812
- first: {
813
- /** @description URL pointing to the first page of results in a paginated response */
814
- href?: string;
815
- };
816
- last: {
817
- /** @description URL pointing to the first page of results in a paginated response */
749
+ };
750
+ metadata?: {
751
+ /** @description Object containing the links to the related endpoints */
752
+ links?: {
753
+ self: {
754
+ /** @description URL pointing to the request itself */
755
+ href?: string;
756
+ };
757
+ next?: {
758
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
759
+ href?: string;
760
+ };
761
+ prev?: {
762
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
763
+ href?: string;
764
+ };
765
+ first: {
766
+ /** @description URL pointing to the first page of results in a paginated response */
767
+ href?: string;
768
+ };
769
+ last: {
770
+ /** @description URL pointing to the first page of results in a paginated response */
771
+ href?: string;
772
+ };
773
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
774
+ pages: {
775
+ [key: string]: {
818
776
  href?: string;
819
777
  };
820
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
821
- pages: {
822
- [key: string]: {
823
- href?: string;
824
- };
825
- };
826
778
  };
827
- /** @description Number representing the total number of available items */
828
- totalCount?: number;
829
779
  };
780
+ /** @description Number representing the total number of available items */
781
+ totalCount?: number;
830
782
  };
831
783
  };
832
784
  };
833
- /** @description Default Response */
834
- 404: {
835
- headers: {
836
- [name: string]: unknown;
837
- };
838
- content: {
839
- "application/json": {
840
- code: string;
841
- detail: string;
842
- requestId: string;
843
- name: string;
844
- validation?: unknown;
845
- validationContext?: string;
846
- };
847
- };
785
+ };
786
+ /** @description Default Response */
787
+ "4XX": {
788
+ headers: {
789
+ [name: string]: unknown;
848
790
  };
849
- /** @description Default Response */
850
- 500: {
851
- headers: {
852
- [name: string]: unknown;
853
- };
854
- content: {
855
- "application/json": {
856
- code: string;
857
- detail: string;
858
- requestId: string;
859
- name: string;
860
- validation?: unknown;
861
- validationContext?: string;
862
- };
791
+ content: {
792
+ "application/json": {
793
+ /** @description Code used to categorize the error */
794
+ code: string;
795
+ /** @description Description of the error */
796
+ detail: string;
797
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
798
+ requestId: string;
799
+ /** @description Name of the error type */
800
+ name: string;
801
+ /** @description List of the validation errors */
802
+ validation?: {
803
+ fieldName: string;
804
+ message: string;
805
+ }[];
806
+ validationContext?: string;
807
+ statusCode: number;
863
808
  };
864
809
  };
865
810
  };
866
- };
867
- put: {
868
- parameters: {
869
- query?: never;
870
- header?: never;
871
- path: {
872
- userId: string;
811
+ /** @description Default Response */
812
+ "5XX": {
813
+ headers: {
814
+ [name: string]: unknown;
873
815
  };
874
- cookie?: never;
875
- };
876
- requestBody: {
877
816
  content: {
878
817
  "application/json": {
879
- firstname: string;
880
- lastname: string;
881
- email: string;
882
- title: string;
883
- dateOfBirth: string;
884
- ppsn: string;
885
- ppsnVisible: boolean;
886
- gender: string;
887
- phone: string;
888
- consentToPrefillData?: boolean;
889
- preferredLanguage: string;
818
+ /** @description Code used to categorize the error */
819
+ code: string;
820
+ /** @description Description of the error */
821
+ detail: string;
822
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
823
+ requestId: string;
824
+ /** @description Name of the error type */
825
+ name: string;
826
+ /** @description List of the validation errors */
827
+ validation?: {
828
+ fieldName: string;
829
+ message: string;
830
+ }[];
831
+ validationContext?: string;
832
+ statusCode: number;
890
833
  };
891
834
  };
892
835
  };
893
- responses: {
894
- /** @description Default Response */
895
- 200: {
896
- headers: {
897
- [name: string]: unknown;
898
- };
899
- content: {
900
- "application/json": {
901
- data: {
902
- id: string;
903
- };
904
- metadata?: {
905
- /** @description Object containing the links to the related endpoints */
906
- links?: {
907
- self: {
908
- /** @description URL pointing to the request itself */
909
- href?: string;
910
- };
911
- next?: {
912
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
913
- href?: string;
914
- };
915
- prev?: {
916
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
917
- href?: string;
918
- };
919
- first: {
920
- /** @description URL pointing to the first page of results in a paginated response */
921
- href?: string;
922
- };
923
- last: {
924
- /** @description URL pointing to the first page of results in a paginated response */
836
+ };
837
+ };
838
+ getProfileImportDetails: {
839
+ parameters: {
840
+ query?: never;
841
+ header?: never;
842
+ path: {
843
+ importId: string;
844
+ };
845
+ cookie?: never;
846
+ };
847
+ requestBody?: never;
848
+ responses: {
849
+ /** @description Default Response */
850
+ 200: {
851
+ headers: {
852
+ [name: string]: unknown;
853
+ };
854
+ content: {
855
+ "application/json": {
856
+ data: {
857
+ /** Format: email */
858
+ email: string;
859
+ firstName: string;
860
+ lastName: string;
861
+ city?: string;
862
+ address?: string;
863
+ phone?: string;
864
+ /** Format: date */
865
+ dateOfBirth?: string;
866
+ ppsn?: string;
867
+ /**
868
+ * @default en
869
+ * @enum {string}
870
+ */
871
+ preferredLanguage: "en" | "ga";
872
+ }[];
873
+ metadata?: {
874
+ /** @description Object containing the links to the related endpoints */
875
+ links?: {
876
+ self: {
877
+ /** @description URL pointing to the request itself */
878
+ href?: string;
879
+ };
880
+ next?: {
881
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
882
+ href?: string;
883
+ };
884
+ prev?: {
885
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
886
+ href?: string;
887
+ };
888
+ first: {
889
+ /** @description URL pointing to the first page of results in a paginated response */
890
+ href?: string;
891
+ };
892
+ last: {
893
+ /** @description URL pointing to the first page of results in a paginated response */
894
+ href?: string;
895
+ };
896
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
897
+ pages: {
898
+ [key: string]: {
925
899
  href?: string;
926
900
  };
927
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
928
- pages: {
929
- [key: string]: {
930
- href?: string;
931
- };
932
- };
933
901
  };
934
- /** @description Number representing the total number of available items */
935
- totalCount?: number;
936
902
  };
903
+ /** @description Number representing the total number of available items */
904
+ totalCount?: number;
937
905
  };
938
906
  };
939
907
  };
940
- /** @description Default Response */
941
- 404: {
942
- headers: {
943
- [name: string]: unknown;
944
- };
945
- content: {
946
- "application/json": {
947
- code: string;
948
- detail: string;
949
- requestId: string;
950
- name: string;
951
- validation?: unknown;
952
- validationContext?: string;
953
- };
954
- };
908
+ };
909
+ /** @description Default Response */
910
+ "4XX": {
911
+ headers: {
912
+ [name: string]: unknown;
955
913
  };
956
- /** @description Default Response */
957
- 500: {
958
- headers: {
959
- [name: string]: unknown;
960
- };
961
- content: {
962
- "application/json": {
963
- code: string;
964
- detail: string;
965
- requestId: string;
966
- name: string;
967
- validation?: unknown;
968
- validationContext?: string;
969
- };
914
+ content: {
915
+ "application/json": {
916
+ /** @description Code used to categorize the error */
917
+ code: string;
918
+ /** @description Description of the error */
919
+ detail: string;
920
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
921
+ requestId: string;
922
+ /** @description Name of the error type */
923
+ name: string;
924
+ /** @description List of the validation errors */
925
+ validation?: {
926
+ fieldName: string;
927
+ message: string;
928
+ }[];
929
+ validationContext?: string;
930
+ statusCode: number;
970
931
  };
971
932
  };
972
933
  };
973
- };
974
- post?: never;
975
- delete?: never;
976
- options?: never;
977
- head?: never;
978
- patch: {
979
- parameters: {
980
- query?: never;
981
- header?: never;
982
- path: {
983
- userId: string;
934
+ /** @description Default Response */
935
+ "5XX": {
936
+ headers: {
937
+ [name: string]: unknown;
984
938
  };
985
- cookie?: never;
986
- };
987
- requestBody?: {
988
939
  content: {
989
940
  "application/json": {
990
- ppsnVisible?: boolean;
991
- consentToPrefillData?: boolean;
992
- preferredLanguage?: string;
941
+ /** @description Code used to categorize the error */
942
+ code: string;
943
+ /** @description Description of the error */
944
+ detail: string;
945
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
946
+ requestId: string;
947
+ /** @description Name of the error type */
948
+ name: string;
949
+ /** @description List of the validation errors */
950
+ validation?: {
951
+ fieldName: string;
952
+ message: string;
953
+ }[];
954
+ validationContext?: string;
955
+ statusCode: number;
993
956
  };
994
957
  };
995
958
  };
996
- responses: {
997
- /** @description Default Response */
998
- 200: {
999
- headers: {
1000
- [name: string]: unknown;
1001
- };
1002
- content: {
1003
- "application/json": {
1004
- data: {
1005
- id: string;
959
+ };
960
+ };
961
+ getProfile: {
962
+ parameters: {
963
+ query?: {
964
+ organizationId?: string;
965
+ };
966
+ header?: never;
967
+ path: {
968
+ /** @description ID of the profile to retrieve */
969
+ profileId: string;
970
+ };
971
+ cookie?: never;
972
+ };
973
+ requestBody?: never;
974
+ responses: {
975
+ /** @description Default Response */
976
+ 200: {
977
+ headers: {
978
+ [name: string]: unknown;
979
+ };
980
+ content: {
981
+ "application/json": {
982
+ data: {
983
+ id: string;
984
+ publicName: string;
985
+ /** Format: email */
986
+ email: string;
987
+ primaryUserId: string;
988
+ safeLevel?: number;
989
+ /**
990
+ * @default en
991
+ * @enum {string}
992
+ */
993
+ preferredLanguage: "en" | "ga";
994
+ /** Format: date-time */
995
+ createdAt?: string;
996
+ /** Format: date-time */
997
+ updatedAt?: string;
998
+ details?: {
999
+ /** Format: email */
1000
+ email: string;
1001
+ firstName: string;
1002
+ lastName: string;
1003
+ city?: string;
1004
+ address?: string;
1005
+ phone?: string;
1006
+ /** Format: date */
1007
+ dateOfBirth?: string;
1008
+ ppsn?: string;
1009
+ /**
1010
+ * @default en
1011
+ * @enum {string}
1012
+ */
1013
+ preferredLanguage: "en" | "ga";
1006
1014
  };
1007
- metadata?: {
1008
- /** @description Object containing the links to the related endpoints */
1009
- links?: {
1010
- self: {
1011
- /** @description URL pointing to the request itself */
1012
- href?: string;
1013
- };
1014
- next?: {
1015
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1016
- href?: string;
1017
- };
1018
- prev?: {
1019
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1020
- href?: string;
1021
- };
1022
- first: {
1023
- /** @description URL pointing to the first page of results in a paginated response */
1024
- href?: string;
1025
- };
1026
- last: {
1027
- /** @description URL pointing to the first page of results in a paginated response */
1015
+ };
1016
+ metadata?: {
1017
+ /** @description Object containing the links to the related endpoints */
1018
+ links?: {
1019
+ self: {
1020
+ /** @description URL pointing to the request itself */
1021
+ href?: string;
1022
+ };
1023
+ next?: {
1024
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1025
+ href?: string;
1026
+ };
1027
+ prev?: {
1028
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1029
+ href?: string;
1030
+ };
1031
+ first: {
1032
+ /** @description URL pointing to the first page of results in a paginated response */
1033
+ href?: string;
1034
+ };
1035
+ last: {
1036
+ /** @description URL pointing to the first page of results in a paginated response */
1037
+ href?: string;
1038
+ };
1039
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1040
+ pages: {
1041
+ [key: string]: {
1028
1042
  href?: string;
1029
1043
  };
1030
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1031
- pages: {
1032
- [key: string]: {
1033
- href?: string;
1034
- };
1035
- };
1036
1044
  };
1037
- /** @description Number representing the total number of available items */
1038
- totalCount?: number;
1039
1045
  };
1046
+ /** @description Number representing the total number of available items */
1047
+ totalCount?: number;
1040
1048
  };
1041
1049
  };
1042
1050
  };
1043
- /** @description Default Response */
1044
- 404: {
1045
- headers: {
1046
- [name: string]: unknown;
1047
- };
1048
- content: {
1049
- "application/json": {
1050
- code: string;
1051
- detail: string;
1052
- requestId: string;
1053
- name: string;
1054
- validation?: unknown;
1055
- validationContext?: string;
1056
- };
1057
- };
1051
+ };
1052
+ /** @description Default Response */
1053
+ "4XX": {
1054
+ headers: {
1055
+ [name: string]: unknown;
1058
1056
  };
1059
- /** @description Default Response */
1060
- 500: {
1061
- headers: {
1062
- [name: string]: unknown;
1057
+ content: {
1058
+ "application/json": {
1059
+ /** @description Code used to categorize the error */
1060
+ code: string;
1061
+ /** @description Description of the error */
1062
+ detail: string;
1063
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
1064
+ requestId: string;
1065
+ /** @description Name of the error type */
1066
+ name: string;
1067
+ /** @description List of the validation errors */
1068
+ validation?: {
1069
+ fieldName: string;
1070
+ message: string;
1071
+ }[];
1072
+ validationContext?: string;
1073
+ statusCode: number;
1063
1074
  };
1064
- content: {
1065
- "application/json": {
1066
- code: string;
1067
- detail: string;
1068
- requestId: string;
1069
- name: string;
1070
- validation?: unknown;
1071
- validationContext?: string;
1072
- };
1075
+ };
1076
+ };
1077
+ /** @description Default Response */
1078
+ "5XX": {
1079
+ headers: {
1080
+ [name: string]: unknown;
1081
+ };
1082
+ content: {
1083
+ "application/json": {
1084
+ /** @description Code used to categorize the error */
1085
+ code: string;
1086
+ /** @description Description of the error */
1087
+ detail: string;
1088
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
1089
+ requestId: string;
1090
+ /** @description Name of the error type */
1091
+ name: string;
1092
+ /** @description List of the validation errors */
1093
+ validation?: {
1094
+ fieldName: string;
1095
+ message: string;
1096
+ }[];
1097
+ validationContext?: string;
1098
+ statusCode: number;
1073
1099
  };
1074
1100
  };
1075
1101
  };
1076
1102
  };
1077
- trace?: never;
1078
1103
  };
1079
- "/api/v1/users/": {
1104
+ updateProfilePut: {
1080
1105
  parameters: {
1081
- query?: never;
1106
+ query?: {
1107
+ /** @description Organization ID owning the profile */
1108
+ organizationId?: string;
1109
+ };
1082
1110
  header?: never;
1083
- path?: never;
1111
+ path: {
1112
+ /** @description ID of the profile to update */
1113
+ profileId: string;
1114
+ };
1084
1115
  cookie?: never;
1085
1116
  };
1086
- get?: never;
1087
- put?: never;
1088
- post: {
1089
- parameters: {
1090
- query?: never;
1091
- header?: never;
1092
- path?: never;
1093
- cookie?: never;
1117
+ requestBody?: {
1118
+ content: {
1119
+ "application/json": {
1120
+ publicName?: string;
1121
+ /** Format: email */
1122
+ email?: string;
1123
+ phone?: string;
1124
+ address?: string;
1125
+ city?: string;
1126
+ firstName?: string;
1127
+ lastName?: string;
1128
+ /** Format: date */
1129
+ dateOfBirth?: string;
1130
+ /**
1131
+ * @default en
1132
+ * @enum {string}
1133
+ */
1134
+ preferredLanguage?: "en" | "ga";
1135
+ };
1094
1136
  };
1095
- requestBody: {
1137
+ };
1138
+ responses: {
1139
+ /** @description Default Response */
1140
+ 200: {
1141
+ headers: {
1142
+ [name: string]: unknown;
1143
+ };
1096
1144
  content: {
1097
1145
  "application/json": {
1098
- firstname: string;
1099
- lastname: string;
1100
- email: string;
1101
- title?: string;
1102
- dateOfBirth?: string;
1103
- ppsn?: string;
1104
- ppsnVisible?: boolean;
1105
- gender?: string;
1106
- phone?: string;
1107
- consentToPrefillData?: boolean;
1108
- /** @default en */
1109
- preferredLanguage: string;
1110
- };
1111
- };
1112
- };
1113
- responses: {
1114
- /** @description Default Response */
1115
- 200: {
1116
- headers: {
1117
- [name: string]: unknown;
1118
- };
1119
- content: {
1120
- "application/json": {
1121
- data: {
1122
- id: string;
1146
+ data: {
1147
+ id: string;
1148
+ publicName: string;
1149
+ /** Format: email */
1150
+ email: string;
1151
+ primaryUserId: string;
1152
+ safeLevel?: number;
1153
+ /**
1154
+ * @default en
1155
+ * @enum {string}
1156
+ */
1157
+ preferredLanguage: "en" | "ga";
1158
+ /** Format: date-time */
1159
+ createdAt?: string;
1160
+ /** Format: date-time */
1161
+ updatedAt?: string;
1162
+ details?: {
1163
+ /** Format: email */
1164
+ email: string;
1165
+ firstName: string;
1166
+ lastName: string;
1167
+ city?: string;
1168
+ address?: string;
1169
+ phone?: string;
1170
+ /** Format: date */
1171
+ dateOfBirth?: string;
1172
+ ppsn?: string;
1173
+ /**
1174
+ * @default en
1175
+ * @enum {string}
1176
+ */
1177
+ preferredLanguage: "en" | "ga";
1123
1178
  };
1124
- metadata?: {
1125
- /** @description Object containing the links to the related endpoints */
1126
- links?: {
1127
- self: {
1128
- /** @description URL pointing to the request itself */
1129
- href?: string;
1130
- };
1131
- next?: {
1132
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1133
- href?: string;
1134
- };
1135
- prev?: {
1136
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1137
- href?: string;
1138
- };
1139
- first: {
1140
- /** @description URL pointing to the first page of results in a paginated response */
1141
- href?: string;
1142
- };
1143
- last: {
1144
- /** @description URL pointing to the first page of results in a paginated response */
1179
+ };
1180
+ metadata?: {
1181
+ /** @description Object containing the links to the related endpoints */
1182
+ links?: {
1183
+ self: {
1184
+ /** @description URL pointing to the request itself */
1185
+ href?: string;
1186
+ };
1187
+ next?: {
1188
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1189
+ href?: string;
1190
+ };
1191
+ prev?: {
1192
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1193
+ href?: string;
1194
+ };
1195
+ first: {
1196
+ /** @description URL pointing to the first page of results in a paginated response */
1197
+ href?: string;
1198
+ };
1199
+ last: {
1200
+ /** @description URL pointing to the first page of results in a paginated response */
1201
+ href?: string;
1202
+ };
1203
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1204
+ pages: {
1205
+ [key: string]: {
1145
1206
  href?: string;
1146
1207
  };
1147
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1148
- pages: {
1149
- [key: string]: {
1150
- href?: string;
1151
- };
1152
- };
1153
1208
  };
1154
- /** @description Number representing the total number of available items */
1155
- totalCount?: number;
1156
1209
  };
1210
+ /** @description Number representing the total number of available items */
1211
+ totalCount?: number;
1157
1212
  };
1158
1213
  };
1159
1214
  };
1160
- /** @description Default Response */
1161
- 500: {
1162
- headers: {
1163
- [name: string]: unknown;
1215
+ };
1216
+ /** @description Default Response */
1217
+ "4XX": {
1218
+ headers: {
1219
+ [name: string]: unknown;
1220
+ };
1221
+ content: {
1222
+ "application/json": {
1223
+ /** @description Code used to categorize the error */
1224
+ code: string;
1225
+ /** @description Description of the error */
1226
+ detail: string;
1227
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
1228
+ requestId: string;
1229
+ /** @description Name of the error type */
1230
+ name: string;
1231
+ /** @description List of the validation errors */
1232
+ validation?: {
1233
+ fieldName: string;
1234
+ message: string;
1235
+ }[];
1236
+ validationContext?: string;
1237
+ statusCode: number;
1164
1238
  };
1165
- content: {
1166
- "application/json": {
1167
- code: string;
1168
- detail: string;
1169
- requestId: string;
1170
- name: string;
1171
- validation?: unknown;
1172
- validationContext?: string;
1173
- };
1239
+ };
1240
+ };
1241
+ /** @description Default Response */
1242
+ "5XX": {
1243
+ headers: {
1244
+ [name: string]: unknown;
1245
+ };
1246
+ content: {
1247
+ "application/json": {
1248
+ /** @description Code used to categorize the error */
1249
+ code: string;
1250
+ /** @description Description of the error */
1251
+ detail: string;
1252
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
1253
+ requestId: string;
1254
+ /** @description Name of the error type */
1255
+ name: string;
1256
+ /** @description List of the validation errors */
1257
+ validation?: {
1258
+ fieldName: string;
1259
+ message: string;
1260
+ }[];
1261
+ validationContext?: string;
1262
+ statusCode: number;
1174
1263
  };
1175
1264
  };
1176
1265
  };
1177
1266
  };
1178
- delete?: never;
1179
- options?: never;
1180
- head?: never;
1181
- patch?: never;
1182
- trace?: never;
1183
1267
  };
1184
- "/api/v1/users/find": {
1268
+ updateProfilePatch: {
1185
1269
  parameters: {
1186
- query?: never;
1270
+ query?: {
1271
+ /** @description Organization ID owning the profile */
1272
+ organizationId?: string;
1273
+ };
1187
1274
  header?: never;
1188
- path?: never;
1275
+ path: {
1276
+ /** @description ID of the profile to update */
1277
+ profileId: string;
1278
+ };
1189
1279
  cookie?: never;
1190
1280
  };
1191
- get: {
1192
- parameters: {
1193
- query?: {
1194
- firstname?: string;
1195
- lastname?: string;
1281
+ requestBody?: {
1282
+ content: {
1283
+ "application/json": {
1284
+ publicName?: string;
1285
+ /** Format: email */
1196
1286
  email?: string;
1197
- dateOfBirth?: string;
1198
- ppsn?: string;
1199
- gender?: string;
1200
1287
  phone?: string;
1201
- strict?: boolean;
1288
+ address?: string;
1289
+ city?: string;
1290
+ firstName?: string;
1291
+ lastName?: string;
1292
+ /** Format: date */
1293
+ dateOfBirth?: string;
1294
+ /**
1295
+ * @default en
1296
+ * @enum {string}
1297
+ */
1298
+ preferredLanguage?: "en" | "ga";
1202
1299
  };
1203
- header?: never;
1204
- path?: never;
1205
- cookie?: never;
1206
1300
  };
1207
- requestBody?: never;
1208
- responses: {
1209
- /** @description Default Response */
1210
- 200: {
1211
- headers: {
1212
- [name: string]: unknown;
1213
- };
1214
- content: {
1215
- "application/json": {
1216
- data: {
1217
- id: string;
1218
- firstname: string;
1219
- lastname: string;
1220
- matchQuality: "exact" | "approximate";
1301
+ };
1302
+ responses: {
1303
+ /** @description Default Response */
1304
+ 200: {
1305
+ headers: {
1306
+ [name: string]: unknown;
1307
+ };
1308
+ content: {
1309
+ "application/json": {
1310
+ data: {
1311
+ id: string;
1312
+ publicName: string;
1313
+ /** Format: email */
1314
+ email: string;
1315
+ primaryUserId: string;
1316
+ safeLevel?: number;
1317
+ /**
1318
+ * @default en
1319
+ * @enum {string}
1320
+ */
1321
+ preferredLanguage: "en" | "ga";
1322
+ /** Format: date-time */
1323
+ createdAt?: string;
1324
+ /** Format: date-time */
1325
+ updatedAt?: string;
1326
+ details?: {
1327
+ /** Format: email */
1328
+ email: string;
1329
+ firstName: string;
1330
+ lastName: string;
1331
+ city?: string;
1332
+ address?: string;
1333
+ phone?: string;
1334
+ /** Format: date */
1335
+ dateOfBirth?: string;
1336
+ ppsn?: string;
1337
+ /**
1338
+ * @default en
1339
+ * @enum {string}
1340
+ */
1341
+ preferredLanguage: "en" | "ga";
1221
1342
  };
1222
- metadata?: {
1223
- /** @description Object containing the links to the related endpoints */
1224
- links?: {
1225
- self: {
1226
- /** @description URL pointing to the request itself */
1227
- href?: string;
1228
- };
1229
- next?: {
1230
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1231
- href?: string;
1232
- };
1233
- prev?: {
1234
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1235
- href?: string;
1236
- };
1237
- first: {
1238
- /** @description URL pointing to the first page of results in a paginated response */
1239
- href?: string;
1240
- };
1241
- last: {
1242
- /** @description URL pointing to the first page of results in a paginated response */
1343
+ };
1344
+ metadata?: {
1345
+ /** @description Object containing the links to the related endpoints */
1346
+ links?: {
1347
+ self: {
1348
+ /** @description URL pointing to the request itself */
1349
+ href?: string;
1350
+ };
1351
+ next?: {
1352
+ /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1353
+ href?: string;
1354
+ };
1355
+ prev?: {
1356
+ /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1357
+ href?: string;
1358
+ };
1359
+ first: {
1360
+ /** @description URL pointing to the first page of results in a paginated response */
1361
+ href?: string;
1362
+ };
1363
+ last: {
1364
+ /** @description URL pointing to the first page of results in a paginated response */
1365
+ href?: string;
1366
+ };
1367
+ /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1368
+ pages: {
1369
+ [key: string]: {
1243
1370
  href?: string;
1244
1371
  };
1245
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1246
- pages: {
1247
- [key: string]: {
1248
- href?: string;
1249
- };
1250
- };
1251
1372
  };
1252
- /** @description Number representing the total number of available items */
1253
- totalCount?: number;
1254
1373
  };
1374
+ /** @description Number representing the total number of available items */
1375
+ totalCount?: number;
1255
1376
  };
1256
1377
  };
1257
1378
  };
1258
- /** @description Default Response */
1259
- 404: {
1260
- headers: {
1261
- [name: string]: unknown;
1262
- };
1263
- content: {
1264
- "application/json": {
1265
- code: string;
1266
- detail: string;
1267
- requestId: string;
1268
- name: string;
1269
- validation?: unknown;
1270
- validationContext?: string;
1271
- };
1272
- };
1379
+ };
1380
+ /** @description Default Response */
1381
+ "4XX": {
1382
+ headers: {
1383
+ [name: string]: unknown;
1273
1384
  };
1274
- /** @description Default Response */
1275
- 500: {
1276
- headers: {
1277
- [name: string]: unknown;
1385
+ content: {
1386
+ "application/json": {
1387
+ /** @description Code used to categorize the error */
1388
+ code: string;
1389
+ /** @description Description of the error */
1390
+ detail: string;
1391
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
1392
+ requestId: string;
1393
+ /** @description Name of the error type */
1394
+ name: string;
1395
+ /** @description List of the validation errors */
1396
+ validation?: {
1397
+ fieldName: string;
1398
+ message: string;
1399
+ }[];
1400
+ validationContext?: string;
1401
+ statusCode: number;
1278
1402
  };
1279
- content: {
1280
- "application/json": {
1281
- code: string;
1282
- detail: string;
1283
- requestId: string;
1284
- name: string;
1285
- validation?: unknown;
1286
- validationContext?: string;
1287
- };
1403
+ };
1404
+ };
1405
+ /** @description Default Response */
1406
+ "5XX": {
1407
+ headers: {
1408
+ [name: string]: unknown;
1409
+ };
1410
+ content: {
1411
+ "application/json": {
1412
+ /** @description Code used to categorize the error */
1413
+ code: string;
1414
+ /** @description Description of the error */
1415
+ detail: string;
1416
+ /** @description Unique request id. This one will be used to troubleshoot the problems */
1417
+ requestId: string;
1418
+ /** @description Name of the error type */
1419
+ name: string;
1420
+ /** @description List of the validation errors */
1421
+ validation?: {
1422
+ fieldName: string;
1423
+ message: string;
1424
+ }[];
1425
+ validationContext?: string;
1426
+ statusCode: number;
1288
1427
  };
1289
1428
  };
1290
1429
  };
1291
1430
  };
1292
- put?: never;
1293
- post?: never;
1294
- delete?: never;
1295
- options?: never;
1296
- head?: never;
1297
- patch?: never;
1298
- trace?: never;
1299
1431
  };
1300
- "/api/v1/users/select": {
1432
+ getProfileTemplate: {
1301
1433
  parameters: {
1302
1434
  query?: never;
1303
1435
  header?: never;
1304
1436
  path?: never;
1305
1437
  cookie?: never;
1306
1438
  };
1307
- get?: never;
1308
- put?: never;
1309
- post: {
1310
- parameters: {
1311
- query?: never;
1312
- header?: never;
1313
- path?: never;
1314
- cookie?: never;
1439
+ requestBody?: never;
1440
+ responses: {
1441
+ /** @description Default Response */
1442
+ 200: {
1443
+ headers: {
1444
+ [name: string]: unknown;
1445
+ };
1446
+ content: {
1447
+ "text/csv": {
1448
+ /** @enum {string} */
1449
+ type: "Buffer";
1450
+ data: number[];
1451
+ };
1452
+ };
1315
1453
  };
1316
- requestBody: {
1454
+ /** @description Default Response */
1455
+ "4XX": {
1456
+ headers: {
1457
+ [name: string]: unknown;
1458
+ };
1317
1459
  content: {
1318
- "application/json": {
1319
- ids: string[];
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;
1320
1476
  };
1321
1477
  };
1322
1478
  };
1323
- responses: {
1324
- /** @description Default Response */
1325
- 200: {
1326
- headers: {
1327
- [name: string]: unknown;
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;
1328
1501
  };
1329
- content: {
1330
- "application/json": {
1331
- data: {
1332
- id: string;
1333
- firstName: string;
1334
- lastName: string;
1335
- ppsn: string;
1336
- /** Format: email */
1337
- email?: string;
1338
- phone?: string;
1339
- preferredLanguage: string;
1340
- }[];
1341
- metadata?: {
1342
- /** @description Object containing the links to the related endpoints */
1343
- links?: {
1344
- self: {
1345
- /** @description URL pointing to the request itself */
1346
- href?: string;
1347
- };
1348
- next?: {
1349
- /** @description URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted */
1350
- href?: string;
1351
- };
1352
- prev?: {
1353
- /** @description URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted */
1354
- href?: string;
1355
- };
1356
- first: {
1357
- /** @description URL pointing to the first page of results in a paginated response */
1358
- href?: string;
1359
- };
1360
- last: {
1361
- /** @description URL pointing to the first page of results in a paginated response */
1362
- href?: string;
1363
- };
1364
- /** @description It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2' */
1365
- pages: {
1366
- [key: string]: {
1367
- href?: string;
1368
- };
1502
+ };
1503
+ };
1504
+ };
1505
+ };
1506
+ logtoUserCreated: {
1507
+ parameters: {
1508
+ query?: never;
1509
+ header?: never;
1510
+ path?: never;
1511
+ cookie?: never;
1512
+ };
1513
+ requestBody: {
1514
+ content: {
1515
+ "application/json": {
1516
+ hookId?: string | null;
1517
+ event?: string | null;
1518
+ sessionId?: string | null;
1519
+ userAgent?: string | null;
1520
+ ip?: string | null;
1521
+ path?: string | null;
1522
+ method?: string | null;
1523
+ status?: number;
1524
+ /** Format: date-time */
1525
+ createdAt?: string;
1526
+ data: {
1527
+ id: string;
1528
+ username: string | null;
1529
+ /** Format: email */
1530
+ primaryEmail: string;
1531
+ primaryPhone?: string | null;
1532
+ name?: string | null;
1533
+ avatar?: string | null;
1534
+ customData: {
1535
+ jobId?: string | null;
1536
+ organizationId?: string | null;
1537
+ };
1538
+ identities: {
1539
+ [key: string]: {
1540
+ details: {
1541
+ email?: string | null;
1542
+ rawData: {
1543
+ [key: string]: string | null | number | boolean;
1369
1544
  };
1370
1545
  };
1371
- /** @description Number representing the total number of available items */
1372
- totalCount?: number;
1373
1546
  };
1374
1547
  };
1375
- };
1376
- };
1377
- /** @description Default Response */
1378
- "4XX": {
1379
- headers: {
1380
- [name: string]: unknown;
1381
- };
1382
- content: {
1383
- "application/json": {
1384
- code: string;
1385
- detail: string;
1386
- requestId: string;
1387
- name: string;
1388
- validation?: unknown;
1389
- validationContext?: string;
1548
+ lastSignInAt?: number | null;
1549
+ createdAt?: number;
1550
+ updatedAt?: number;
1551
+ profile?: {
1552
+ [key: string]: unknown;
1390
1553
  };
1554
+ applicationId?: string | null;
1555
+ isSuspended?: boolean;
1556
+ hasPassword?: boolean;
1391
1557
  };
1392
1558
  };
1393
- /** @description Default Response */
1394
- "5XX": {
1395
- headers: {
1396
- [name: string]: unknown;
1397
- };
1398
- content: {
1399
- "application/json": {
1400
- code: string;
1401
- detail: string;
1402
- requestId: string;
1403
- name: string;
1404
- validation?: unknown;
1405
- validationContext?: string;
1406
- };
1407
- };
1559
+ };
1560
+ };
1561
+ responses: {
1562
+ /** @description Default Response */
1563
+ 200: {
1564
+ headers: {
1565
+ [name: string]: unknown;
1408
1566
  };
1567
+ content?: never;
1409
1568
  };
1410
1569
  };
1411
- delete?: never;
1412
- options?: never;
1413
- head?: never;
1414
- patch?: never;
1415
- trace?: never;
1416
1570
  };
1417
1571
  }
1418
- export type webhooks = Record<string, never>;
1419
- export interface components {
1420
- schemas: never;
1421
- responses: never;
1422
- parameters: never;
1423
- requestBodies: never;
1424
- headers: never;
1425
- pathItems: never;
1426
- }
1427
- export type $defs = Record<string, never>;
1428
- export type operations = Record<string, never>;
1429
1572
  //# sourceMappingURL=schema.d.ts.map