@ogcio/building-blocks-sdk 0.1.18 → 0.2.0

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