@ogcio/building-blocks-sdk 0.2.47 → 0.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitleaksignore +3 -1
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/client/clients/featureFlags/schema.d.ts +3693 -4712
- package/dist/client/clients/featureFlags/schema.d.ts.map +1 -1
- package/dist/client/clients/journey/index.d.ts +8 -0
- package/dist/client/clients/journey/index.d.ts.map +1 -1
- package/dist/client/clients/journey/schema.d.ts +8 -0
- package/dist/client/clients/journey/schema.d.ts.map +1 -1
- package/dist/client/clients/messaging/index.d.ts +6 -6
- package/dist/client/clients/messaging/index.d.ts.map +1 -1
- package/dist/client/clients/messaging/schema.d.ts +6 -11
- package/dist/client/clients/messaging/schema.d.ts.map +1 -1
- package/dist/client/clients/profile/citizen.d.ts +280 -0
- package/dist/client/clients/profile/citizen.d.ts.map +1 -0
- package/dist/client/clients/profile/citizen.js +22 -0
- package/dist/client/clients/profile/citizen.js.map +1 -0
- package/dist/client/clients/profile/index.d.ts +29 -0
- package/dist/client/clients/profile/index.d.ts.map +1 -1
- package/dist/client/clients/profile/index.js +7 -1
- package/dist/client/clients/profile/index.js.map +1 -1
- package/dist/client/clients/profile/schema.d.ts +508 -0
- package/dist/client/clients/profile/schema.d.ts.map +1 -1
- package/dist/clients-configurations/clients-configuration.json +1 -1
- package/package.json +1 -1
- package/src/client/clients/featureFlags/open-api-definition.json +4912 -5964
- package/src/client/clients/featureFlags/schema.ts +3693 -4712
- package/src/client/clients/journey/open-api-definition.json +34 -2
- package/src/client/clients/journey/schema.ts +8 -0
- package/src/client/clients/messaging/open-api-definition.json +47 -11
- package/src/client/clients/messaging/schema.ts +6 -11
- package/src/client/clients/profile/citizen.ts +34 -0
- package/src/client/clients/profile/index.ts +16 -1
- package/src/client/clients/profile/open-api-definition.json +1499 -0
- package/src/client/clients/profile/schema.ts +508 -0
- package/src/clients-configurations/clients-configuration.json +1 -1
|
@@ -16,6 +16,1162 @@
|
|
|
16
16
|
"schemas": {}
|
|
17
17
|
},
|
|
18
18
|
"paths": {
|
|
19
|
+
"/api/v1/citizens/consents/": {
|
|
20
|
+
"get": {
|
|
21
|
+
"operationId": "citizenListConsents",
|
|
22
|
+
"tags": [
|
|
23
|
+
"CitizenConsents"
|
|
24
|
+
],
|
|
25
|
+
"description": "List the consents for a user, sorted by descending submission date",
|
|
26
|
+
"parameters": [
|
|
27
|
+
{
|
|
28
|
+
"schema": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"messaging"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"in": "query",
|
|
35
|
+
"name": "subject",
|
|
36
|
+
"required": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"schema": {
|
|
40
|
+
"pattern": "^[0-9][0-9]*|undefined$",
|
|
41
|
+
"default": "0",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"in": "query",
|
|
45
|
+
"name": "offset",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "Indicates where to start fetching data or how many records to skip, defining the initial position within the list"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"schema": {
|
|
51
|
+
"default": "20",
|
|
52
|
+
"pattern": "^([1-9]|100)|undefined$",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"in": "query",
|
|
56
|
+
"name": "limit",
|
|
57
|
+
"required": false,
|
|
58
|
+
"description": "Indicates the maximum number (100) of items that will be returned in a single request"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"responses": {
|
|
62
|
+
"200": {
|
|
63
|
+
"description": "Default Response",
|
|
64
|
+
"content": {
|
|
65
|
+
"application/json": {
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"data": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"id": {
|
|
75
|
+
"format": "uuid",
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"profileId": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"status": {
|
|
82
|
+
"anyOf": [
|
|
83
|
+
{
|
|
84
|
+
"type": "string",
|
|
85
|
+
"enum": [
|
|
86
|
+
"pending"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "string",
|
|
91
|
+
"enum": [
|
|
92
|
+
"undefined"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "string",
|
|
97
|
+
"enum": [
|
|
98
|
+
"pre-approved"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": [
|
|
104
|
+
"opted-out"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": [
|
|
110
|
+
"opted-in"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"subject": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"createdAt": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"id",
|
|
124
|
+
"profileId",
|
|
125
|
+
"status",
|
|
126
|
+
"subject",
|
|
127
|
+
"createdAt"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"metadata": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"links": {
|
|
135
|
+
"description": "Object containing the links to the related endpoints",
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {
|
|
138
|
+
"self": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"href": {
|
|
142
|
+
"description": "URL pointing to the request itself",
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"next": {
|
|
148
|
+
"type": "object",
|
|
149
|
+
"properties": {
|
|
150
|
+
"href": {
|
|
151
|
+
"description": "URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
152
|
+
"type": "string"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"prev": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"href": {
|
|
160
|
+
"description": "URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
161
|
+
"type": "string"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"first": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"href": {
|
|
169
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"last": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"href": {
|
|
178
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
179
|
+
"type": "string"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"pages": {
|
|
184
|
+
"description": "It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2'",
|
|
185
|
+
"type": "object",
|
|
186
|
+
"additionalProperties": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"href": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"self",
|
|
198
|
+
"first",
|
|
199
|
+
"last",
|
|
200
|
+
"pages"
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"totalCount": {
|
|
204
|
+
"description": "Number representing the total number of available items",
|
|
205
|
+
"type": "number"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [
|
|
211
|
+
"data"
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"4XX": {
|
|
218
|
+
"description": "Default Response",
|
|
219
|
+
"content": {
|
|
220
|
+
"application/json": {
|
|
221
|
+
"schema": {
|
|
222
|
+
"type": "object",
|
|
223
|
+
"properties": {
|
|
224
|
+
"code": {
|
|
225
|
+
"description": "Code used to categorize the error",
|
|
226
|
+
"type": "string"
|
|
227
|
+
},
|
|
228
|
+
"detail": {
|
|
229
|
+
"description": "Description of the error",
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"requestId": {
|
|
233
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
234
|
+
"type": "string"
|
|
235
|
+
},
|
|
236
|
+
"name": {
|
|
237
|
+
"description": "Name of the error type",
|
|
238
|
+
"type": "string"
|
|
239
|
+
},
|
|
240
|
+
"validation": {
|
|
241
|
+
"description": "List of the validation errors",
|
|
242
|
+
"type": "array",
|
|
243
|
+
"items": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"properties": {
|
|
246
|
+
"fieldName": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"message": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": [
|
|
254
|
+
"fieldName",
|
|
255
|
+
"message"
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"validationContext": {
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"statusCode": {
|
|
263
|
+
"type": "number"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"code",
|
|
268
|
+
"detail",
|
|
269
|
+
"requestId",
|
|
270
|
+
"name",
|
|
271
|
+
"statusCode"
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"5XX": {
|
|
278
|
+
"description": "Default Response",
|
|
279
|
+
"content": {
|
|
280
|
+
"application/json": {
|
|
281
|
+
"schema": {
|
|
282
|
+
"type": "object",
|
|
283
|
+
"properties": {
|
|
284
|
+
"code": {
|
|
285
|
+
"description": "Code used to categorize the error",
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"detail": {
|
|
289
|
+
"description": "Description of the error",
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"requestId": {
|
|
293
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
294
|
+
"type": "string"
|
|
295
|
+
},
|
|
296
|
+
"name": {
|
|
297
|
+
"description": "Name of the error type",
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"validation": {
|
|
301
|
+
"description": "List of the validation errors",
|
|
302
|
+
"type": "array",
|
|
303
|
+
"items": {
|
|
304
|
+
"type": "object",
|
|
305
|
+
"properties": {
|
|
306
|
+
"fieldName": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"message": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"required": [
|
|
314
|
+
"fieldName",
|
|
315
|
+
"message"
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"validationContext": {
|
|
320
|
+
"type": "string"
|
|
321
|
+
},
|
|
322
|
+
"statusCode": {
|
|
323
|
+
"type": "number"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"required": [
|
|
327
|
+
"code",
|
|
328
|
+
"detail",
|
|
329
|
+
"requestId",
|
|
330
|
+
"name",
|
|
331
|
+
"statusCode"
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"post": {
|
|
340
|
+
"operationId": "citizenSubmitConsent",
|
|
341
|
+
"tags": [
|
|
342
|
+
"CitizenConsents"
|
|
343
|
+
],
|
|
344
|
+
"description": "Submit a consent for the logged in user",
|
|
345
|
+
"requestBody": {
|
|
346
|
+
"content": {
|
|
347
|
+
"application/json": {
|
|
348
|
+
"schema": {
|
|
349
|
+
"type": "object",
|
|
350
|
+
"properties": {
|
|
351
|
+
"subject": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"enum": [
|
|
354
|
+
"messaging"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
"status": {
|
|
358
|
+
"anyOf": [
|
|
359
|
+
{
|
|
360
|
+
"type": "string",
|
|
361
|
+
"enum": [
|
|
362
|
+
"pending"
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "string",
|
|
367
|
+
"enum": [
|
|
368
|
+
"undefined"
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"type": "string",
|
|
373
|
+
"enum": [
|
|
374
|
+
"pre-approved"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"type": "string",
|
|
379
|
+
"enum": [
|
|
380
|
+
"opted-out"
|
|
381
|
+
]
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"type": "string",
|
|
385
|
+
"enum": [
|
|
386
|
+
"opted-in"
|
|
387
|
+
]
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"required": [
|
|
393
|
+
"subject",
|
|
394
|
+
"status"
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"required": true
|
|
400
|
+
},
|
|
401
|
+
"responses": {
|
|
402
|
+
"200": {
|
|
403
|
+
"description": "Default Response",
|
|
404
|
+
"content": {
|
|
405
|
+
"application/json": {
|
|
406
|
+
"schema": {
|
|
407
|
+
"type": "object",
|
|
408
|
+
"properties": {
|
|
409
|
+
"data": {
|
|
410
|
+
"type": "object",
|
|
411
|
+
"properties": {
|
|
412
|
+
"id": {
|
|
413
|
+
"type": "string"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"required": [
|
|
417
|
+
"id"
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"required": [
|
|
422
|
+
"data"
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
"4XX": {
|
|
429
|
+
"description": "Default Response",
|
|
430
|
+
"content": {
|
|
431
|
+
"application/json": {
|
|
432
|
+
"schema": {
|
|
433
|
+
"type": "object",
|
|
434
|
+
"properties": {
|
|
435
|
+
"code": {
|
|
436
|
+
"description": "Code used to categorize the error",
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
"detail": {
|
|
440
|
+
"description": "Description of the error",
|
|
441
|
+
"type": "string"
|
|
442
|
+
},
|
|
443
|
+
"requestId": {
|
|
444
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"name": {
|
|
448
|
+
"description": "Name of the error type",
|
|
449
|
+
"type": "string"
|
|
450
|
+
},
|
|
451
|
+
"validation": {
|
|
452
|
+
"description": "List of the validation errors",
|
|
453
|
+
"type": "array",
|
|
454
|
+
"items": {
|
|
455
|
+
"type": "object",
|
|
456
|
+
"properties": {
|
|
457
|
+
"fieldName": {
|
|
458
|
+
"type": "string"
|
|
459
|
+
},
|
|
460
|
+
"message": {
|
|
461
|
+
"type": "string"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"required": [
|
|
465
|
+
"fieldName",
|
|
466
|
+
"message"
|
|
467
|
+
]
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"validationContext": {
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
473
|
+
"statusCode": {
|
|
474
|
+
"type": "number"
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"required": [
|
|
478
|
+
"code",
|
|
479
|
+
"detail",
|
|
480
|
+
"requestId",
|
|
481
|
+
"name",
|
|
482
|
+
"statusCode"
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"5XX": {
|
|
489
|
+
"description": "Default Response",
|
|
490
|
+
"content": {
|
|
491
|
+
"application/json": {
|
|
492
|
+
"schema": {
|
|
493
|
+
"type": "object",
|
|
494
|
+
"properties": {
|
|
495
|
+
"code": {
|
|
496
|
+
"description": "Code used to categorize the error",
|
|
497
|
+
"type": "string"
|
|
498
|
+
},
|
|
499
|
+
"detail": {
|
|
500
|
+
"description": "Description of the error",
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
503
|
+
"requestId": {
|
|
504
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
505
|
+
"type": "string"
|
|
506
|
+
},
|
|
507
|
+
"name": {
|
|
508
|
+
"description": "Name of the error type",
|
|
509
|
+
"type": "string"
|
|
510
|
+
},
|
|
511
|
+
"validation": {
|
|
512
|
+
"description": "List of the validation errors",
|
|
513
|
+
"type": "array",
|
|
514
|
+
"items": {
|
|
515
|
+
"type": "object",
|
|
516
|
+
"properties": {
|
|
517
|
+
"fieldName": {
|
|
518
|
+
"type": "string"
|
|
519
|
+
},
|
|
520
|
+
"message": {
|
|
521
|
+
"type": "string"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"required": [
|
|
525
|
+
"fieldName",
|
|
526
|
+
"message"
|
|
527
|
+
]
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"validationContext": {
|
|
531
|
+
"type": "string"
|
|
532
|
+
},
|
|
533
|
+
"statusCode": {
|
|
534
|
+
"type": "number"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"required": [
|
|
538
|
+
"code",
|
|
539
|
+
"detail",
|
|
540
|
+
"requestId",
|
|
541
|
+
"name",
|
|
542
|
+
"statusCode"
|
|
543
|
+
]
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"/api/v1/citizens/consents/latest": {
|
|
552
|
+
"get": {
|
|
553
|
+
"operationId": "citizenLatestConsent",
|
|
554
|
+
"tags": [
|
|
555
|
+
"CitizenConsents"
|
|
556
|
+
],
|
|
557
|
+
"description": "Get the latest consent for a user",
|
|
558
|
+
"parameters": [
|
|
559
|
+
{
|
|
560
|
+
"schema": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"enum": [
|
|
563
|
+
"messaging"
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
"in": "query",
|
|
567
|
+
"name": "subject",
|
|
568
|
+
"required": true
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"responses": {
|
|
572
|
+
"200": {
|
|
573
|
+
"description": "Default Response",
|
|
574
|
+
"content": {
|
|
575
|
+
"application/json": {
|
|
576
|
+
"schema": {
|
|
577
|
+
"type": "object",
|
|
578
|
+
"properties": {
|
|
579
|
+
"data": {
|
|
580
|
+
"type": "object",
|
|
581
|
+
"properties": {
|
|
582
|
+
"id": {
|
|
583
|
+
"format": "uuid",
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"profileId": {
|
|
587
|
+
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
"status": {
|
|
590
|
+
"anyOf": [
|
|
591
|
+
{
|
|
592
|
+
"type": "string",
|
|
593
|
+
"enum": [
|
|
594
|
+
"pending"
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"type": "string",
|
|
599
|
+
"enum": [
|
|
600
|
+
"undefined"
|
|
601
|
+
]
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"type": "string",
|
|
605
|
+
"enum": [
|
|
606
|
+
"pre-approved"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"type": "string",
|
|
611
|
+
"enum": [
|
|
612
|
+
"opted-out"
|
|
613
|
+
]
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"type": "string",
|
|
617
|
+
"enum": [
|
|
618
|
+
"opted-in"
|
|
619
|
+
]
|
|
620
|
+
}
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
"subject": {
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
"createdAt": {
|
|
627
|
+
"type": "string"
|
|
628
|
+
}
|
|
629
|
+
},
|
|
630
|
+
"required": [
|
|
631
|
+
"id",
|
|
632
|
+
"profileId",
|
|
633
|
+
"status",
|
|
634
|
+
"subject",
|
|
635
|
+
"createdAt"
|
|
636
|
+
]
|
|
637
|
+
},
|
|
638
|
+
"metadata": {
|
|
639
|
+
"type": "object",
|
|
640
|
+
"properties": {
|
|
641
|
+
"links": {
|
|
642
|
+
"description": "Object containing the links to the related endpoints",
|
|
643
|
+
"type": "object",
|
|
644
|
+
"properties": {
|
|
645
|
+
"self": {
|
|
646
|
+
"type": "object",
|
|
647
|
+
"properties": {
|
|
648
|
+
"href": {
|
|
649
|
+
"description": "URL pointing to the request itself",
|
|
650
|
+
"type": "string"
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"next": {
|
|
655
|
+
"type": "object",
|
|
656
|
+
"properties": {
|
|
657
|
+
"href": {
|
|
658
|
+
"description": "URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
659
|
+
"type": "string"
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"prev": {
|
|
664
|
+
"type": "object",
|
|
665
|
+
"properties": {
|
|
666
|
+
"href": {
|
|
667
|
+
"description": "URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
668
|
+
"type": "string"
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"first": {
|
|
673
|
+
"type": "object",
|
|
674
|
+
"properties": {
|
|
675
|
+
"href": {
|
|
676
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
677
|
+
"type": "string"
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"last": {
|
|
682
|
+
"type": "object",
|
|
683
|
+
"properties": {
|
|
684
|
+
"href": {
|
|
685
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
686
|
+
"type": "string"
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"pages": {
|
|
691
|
+
"description": "It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2'",
|
|
692
|
+
"type": "object",
|
|
693
|
+
"additionalProperties": {
|
|
694
|
+
"type": "object",
|
|
695
|
+
"properties": {
|
|
696
|
+
"href": {
|
|
697
|
+
"type": "string"
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"required": [
|
|
704
|
+
"self",
|
|
705
|
+
"first",
|
|
706
|
+
"last",
|
|
707
|
+
"pages"
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
"totalCount": {
|
|
711
|
+
"description": "Number representing the total number of available items",
|
|
712
|
+
"type": "number"
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"required": [
|
|
718
|
+
"data"
|
|
719
|
+
]
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"4XX": {
|
|
725
|
+
"description": "Default Response",
|
|
726
|
+
"content": {
|
|
727
|
+
"application/json": {
|
|
728
|
+
"schema": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"properties": {
|
|
731
|
+
"code": {
|
|
732
|
+
"description": "Code used to categorize the error",
|
|
733
|
+
"type": "string"
|
|
734
|
+
},
|
|
735
|
+
"detail": {
|
|
736
|
+
"description": "Description of the error",
|
|
737
|
+
"type": "string"
|
|
738
|
+
},
|
|
739
|
+
"requestId": {
|
|
740
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"name": {
|
|
744
|
+
"description": "Name of the error type",
|
|
745
|
+
"type": "string"
|
|
746
|
+
},
|
|
747
|
+
"validation": {
|
|
748
|
+
"description": "List of the validation errors",
|
|
749
|
+
"type": "array",
|
|
750
|
+
"items": {
|
|
751
|
+
"type": "object",
|
|
752
|
+
"properties": {
|
|
753
|
+
"fieldName": {
|
|
754
|
+
"type": "string"
|
|
755
|
+
},
|
|
756
|
+
"message": {
|
|
757
|
+
"type": "string"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"required": [
|
|
761
|
+
"fieldName",
|
|
762
|
+
"message"
|
|
763
|
+
]
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"validationContext": {
|
|
767
|
+
"type": "string"
|
|
768
|
+
},
|
|
769
|
+
"statusCode": {
|
|
770
|
+
"type": "number"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"required": [
|
|
774
|
+
"code",
|
|
775
|
+
"detail",
|
|
776
|
+
"requestId",
|
|
777
|
+
"name",
|
|
778
|
+
"statusCode"
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
"5XX": {
|
|
785
|
+
"description": "Default Response",
|
|
786
|
+
"content": {
|
|
787
|
+
"application/json": {
|
|
788
|
+
"schema": {
|
|
789
|
+
"type": "object",
|
|
790
|
+
"properties": {
|
|
791
|
+
"code": {
|
|
792
|
+
"description": "Code used to categorize the error",
|
|
793
|
+
"type": "string"
|
|
794
|
+
},
|
|
795
|
+
"detail": {
|
|
796
|
+
"description": "Description of the error",
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
799
|
+
"requestId": {
|
|
800
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
801
|
+
"type": "string"
|
|
802
|
+
},
|
|
803
|
+
"name": {
|
|
804
|
+
"description": "Name of the error type",
|
|
805
|
+
"type": "string"
|
|
806
|
+
},
|
|
807
|
+
"validation": {
|
|
808
|
+
"description": "List of the validation errors",
|
|
809
|
+
"type": "array",
|
|
810
|
+
"items": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"properties": {
|
|
813
|
+
"fieldName": {
|
|
814
|
+
"type": "string"
|
|
815
|
+
},
|
|
816
|
+
"message": {
|
|
817
|
+
"type": "string"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"required": [
|
|
821
|
+
"fieldName",
|
|
822
|
+
"message"
|
|
823
|
+
]
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"validationContext": {
|
|
827
|
+
"type": "string"
|
|
828
|
+
},
|
|
829
|
+
"statusCode": {
|
|
830
|
+
"type": "number"
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
"required": [
|
|
834
|
+
"code",
|
|
835
|
+
"detail",
|
|
836
|
+
"requestId",
|
|
837
|
+
"name",
|
|
838
|
+
"statusCode"
|
|
839
|
+
]
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
"/api/v1/organisations/consents/": {
|
|
848
|
+
"get": {
|
|
849
|
+
"operationId": "organisationListConsents",
|
|
850
|
+
"tags": [
|
|
851
|
+
"OrganisationConsents"
|
|
852
|
+
],
|
|
853
|
+
"description": "List the last submission for each related user",
|
|
854
|
+
"parameters": [
|
|
855
|
+
{
|
|
856
|
+
"schema": {
|
|
857
|
+
"type": "string"
|
|
858
|
+
},
|
|
859
|
+
"in": "query",
|
|
860
|
+
"name": "subject",
|
|
861
|
+
"required": false,
|
|
862
|
+
"description": "Service for which list consents"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"schema": {
|
|
866
|
+
"type": "string"
|
|
867
|
+
},
|
|
868
|
+
"in": "query",
|
|
869
|
+
"name": "profileId",
|
|
870
|
+
"required": false,
|
|
871
|
+
"description": "User for whom list the consents"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"schema": {
|
|
875
|
+
"pattern": "^[0-9][0-9]*|undefined$",
|
|
876
|
+
"default": "0",
|
|
877
|
+
"type": "string"
|
|
878
|
+
},
|
|
879
|
+
"in": "query",
|
|
880
|
+
"name": "offset",
|
|
881
|
+
"required": false,
|
|
882
|
+
"description": "Indicates where to start fetching data or how many records to skip, defining the initial position within the list"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"schema": {
|
|
886
|
+
"default": "20",
|
|
887
|
+
"pattern": "^([1-9]|100)|undefined$",
|
|
888
|
+
"type": "string"
|
|
889
|
+
},
|
|
890
|
+
"in": "query",
|
|
891
|
+
"name": "limit",
|
|
892
|
+
"required": false,
|
|
893
|
+
"description": "Indicates the maximum number (100) of items that will be returned in a single request"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"responses": {
|
|
897
|
+
"200": {
|
|
898
|
+
"description": "Default Response",
|
|
899
|
+
"content": {
|
|
900
|
+
"application/json": {
|
|
901
|
+
"schema": {
|
|
902
|
+
"type": "object",
|
|
903
|
+
"properties": {
|
|
904
|
+
"data": {
|
|
905
|
+
"type": "array",
|
|
906
|
+
"items": {
|
|
907
|
+
"type": "object",
|
|
908
|
+
"properties": {
|
|
909
|
+
"id": {
|
|
910
|
+
"format": "uuid",
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"profileId": {
|
|
914
|
+
"type": "string"
|
|
915
|
+
},
|
|
916
|
+
"status": {
|
|
917
|
+
"anyOf": [
|
|
918
|
+
{
|
|
919
|
+
"type": "string",
|
|
920
|
+
"enum": [
|
|
921
|
+
"pending"
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"type": "string",
|
|
926
|
+
"enum": [
|
|
927
|
+
"undefined"
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"type": "string",
|
|
932
|
+
"enum": [
|
|
933
|
+
"pre-approved"
|
|
934
|
+
]
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"type": "string",
|
|
938
|
+
"enum": [
|
|
939
|
+
"opted-out"
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"type": "string",
|
|
944
|
+
"enum": [
|
|
945
|
+
"opted-in"
|
|
946
|
+
]
|
|
947
|
+
}
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
"subject": {
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"createdAt": {
|
|
954
|
+
"type": "string"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"required": [
|
|
958
|
+
"id",
|
|
959
|
+
"profileId",
|
|
960
|
+
"status",
|
|
961
|
+
"subject",
|
|
962
|
+
"createdAt"
|
|
963
|
+
]
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"metadata": {
|
|
967
|
+
"type": "object",
|
|
968
|
+
"properties": {
|
|
969
|
+
"links": {
|
|
970
|
+
"description": "Object containing the links to the related endpoints",
|
|
971
|
+
"type": "object",
|
|
972
|
+
"properties": {
|
|
973
|
+
"self": {
|
|
974
|
+
"type": "object",
|
|
975
|
+
"properties": {
|
|
976
|
+
"href": {
|
|
977
|
+
"description": "URL pointing to the request itself",
|
|
978
|
+
"type": "string"
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
"next": {
|
|
983
|
+
"type": "object",
|
|
984
|
+
"properties": {
|
|
985
|
+
"href": {
|
|
986
|
+
"description": "URL pointing to the next page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
987
|
+
"type": "string"
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"prev": {
|
|
992
|
+
"type": "object",
|
|
993
|
+
"properties": {
|
|
994
|
+
"href": {
|
|
995
|
+
"description": "URL pointing to the previous page of results in a paginated response. If there are no more results, this field may be omitted",
|
|
996
|
+
"type": "string"
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"first": {
|
|
1001
|
+
"type": "object",
|
|
1002
|
+
"properties": {
|
|
1003
|
+
"href": {
|
|
1004
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
1005
|
+
"type": "string"
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"last": {
|
|
1010
|
+
"type": "object",
|
|
1011
|
+
"properties": {
|
|
1012
|
+
"href": {
|
|
1013
|
+
"description": "URL pointing to the first page of results in a paginated response",
|
|
1014
|
+
"type": "string"
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"pages": {
|
|
1019
|
+
"description": "It may contain a list of other useful URLs, e.g. one entry for page:'page 1', 'page 2'",
|
|
1020
|
+
"type": "object",
|
|
1021
|
+
"additionalProperties": {
|
|
1022
|
+
"type": "object",
|
|
1023
|
+
"properties": {
|
|
1024
|
+
"href": {
|
|
1025
|
+
"type": "string"
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
"required": [
|
|
1032
|
+
"self",
|
|
1033
|
+
"first",
|
|
1034
|
+
"last",
|
|
1035
|
+
"pages"
|
|
1036
|
+
]
|
|
1037
|
+
},
|
|
1038
|
+
"totalCount": {
|
|
1039
|
+
"description": "Number representing the total number of available items",
|
|
1040
|
+
"type": "number"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
},
|
|
1045
|
+
"required": [
|
|
1046
|
+
"data"
|
|
1047
|
+
]
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"4XX": {
|
|
1053
|
+
"description": "Default Response",
|
|
1054
|
+
"content": {
|
|
1055
|
+
"application/json": {
|
|
1056
|
+
"schema": {
|
|
1057
|
+
"type": "object",
|
|
1058
|
+
"properties": {
|
|
1059
|
+
"code": {
|
|
1060
|
+
"description": "Code used to categorize the error",
|
|
1061
|
+
"type": "string"
|
|
1062
|
+
},
|
|
1063
|
+
"detail": {
|
|
1064
|
+
"description": "Description of the error",
|
|
1065
|
+
"type": "string"
|
|
1066
|
+
},
|
|
1067
|
+
"requestId": {
|
|
1068
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
1069
|
+
"type": "string"
|
|
1070
|
+
},
|
|
1071
|
+
"name": {
|
|
1072
|
+
"description": "Name of the error type",
|
|
1073
|
+
"type": "string"
|
|
1074
|
+
},
|
|
1075
|
+
"validation": {
|
|
1076
|
+
"description": "List of the validation errors",
|
|
1077
|
+
"type": "array",
|
|
1078
|
+
"items": {
|
|
1079
|
+
"type": "object",
|
|
1080
|
+
"properties": {
|
|
1081
|
+
"fieldName": {
|
|
1082
|
+
"type": "string"
|
|
1083
|
+
},
|
|
1084
|
+
"message": {
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"required": [
|
|
1089
|
+
"fieldName",
|
|
1090
|
+
"message"
|
|
1091
|
+
]
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
"validationContext": {
|
|
1095
|
+
"type": "string"
|
|
1096
|
+
},
|
|
1097
|
+
"statusCode": {
|
|
1098
|
+
"type": "number"
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
"required": [
|
|
1102
|
+
"code",
|
|
1103
|
+
"detail",
|
|
1104
|
+
"requestId",
|
|
1105
|
+
"name",
|
|
1106
|
+
"statusCode"
|
|
1107
|
+
]
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
"5XX": {
|
|
1113
|
+
"description": "Default Response",
|
|
1114
|
+
"content": {
|
|
1115
|
+
"application/json": {
|
|
1116
|
+
"schema": {
|
|
1117
|
+
"type": "object",
|
|
1118
|
+
"properties": {
|
|
1119
|
+
"code": {
|
|
1120
|
+
"description": "Code used to categorize the error",
|
|
1121
|
+
"type": "string"
|
|
1122
|
+
},
|
|
1123
|
+
"detail": {
|
|
1124
|
+
"description": "Description of the error",
|
|
1125
|
+
"type": "string"
|
|
1126
|
+
},
|
|
1127
|
+
"requestId": {
|
|
1128
|
+
"description": "Unique request id. This one will be used to troubleshoot the problems",
|
|
1129
|
+
"type": "string"
|
|
1130
|
+
},
|
|
1131
|
+
"name": {
|
|
1132
|
+
"description": "Name of the error type",
|
|
1133
|
+
"type": "string"
|
|
1134
|
+
},
|
|
1135
|
+
"validation": {
|
|
1136
|
+
"description": "List of the validation errors",
|
|
1137
|
+
"type": "array",
|
|
1138
|
+
"items": {
|
|
1139
|
+
"type": "object",
|
|
1140
|
+
"properties": {
|
|
1141
|
+
"fieldName": {
|
|
1142
|
+
"type": "string"
|
|
1143
|
+
},
|
|
1144
|
+
"message": {
|
|
1145
|
+
"type": "string"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
"required": [
|
|
1149
|
+
"fieldName",
|
|
1150
|
+
"message"
|
|
1151
|
+
]
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
"validationContext": {
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
"statusCode": {
|
|
1158
|
+
"type": "number"
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
"required": [
|
|
1162
|
+
"code",
|
|
1163
|
+
"detail",
|
|
1164
|
+
"requestId",
|
|
1165
|
+
"name",
|
|
1166
|
+
"statusCode"
|
|
1167
|
+
]
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
19
1175
|
"/api/v1/jobs/import-profiles/{profileImportId}": {
|
|
20
1176
|
"post": {
|
|
21
1177
|
"tags": [
|
|
@@ -648,6 +1804,55 @@
|
|
|
648
1804
|
"format": "date-time",
|
|
649
1805
|
"type": "string"
|
|
650
1806
|
},
|
|
1807
|
+
"consentStatuses": {
|
|
1808
|
+
"anyOf": [
|
|
1809
|
+
{
|
|
1810
|
+
"type": "object",
|
|
1811
|
+
"properties": {
|
|
1812
|
+
"messaging": {
|
|
1813
|
+
"anyOf": [
|
|
1814
|
+
{
|
|
1815
|
+
"type": "string",
|
|
1816
|
+
"enum": [
|
|
1817
|
+
"pending"
|
|
1818
|
+
]
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"type": "string",
|
|
1822
|
+
"enum": [
|
|
1823
|
+
"undefined"
|
|
1824
|
+
]
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"type": "string",
|
|
1828
|
+
"enum": [
|
|
1829
|
+
"pre-approved"
|
|
1830
|
+
]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
"type": "string",
|
|
1834
|
+
"enum": [
|
|
1835
|
+
"opted-out"
|
|
1836
|
+
]
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"type": "string",
|
|
1840
|
+
"enum": [
|
|
1841
|
+
"opted-in"
|
|
1842
|
+
]
|
|
1843
|
+
}
|
|
1844
|
+
]
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"required": [
|
|
1848
|
+
"messaging"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"type": "null"
|
|
1853
|
+
}
|
|
1854
|
+
]
|
|
1855
|
+
},
|
|
651
1856
|
"details": {
|
|
652
1857
|
"type": "object",
|
|
653
1858
|
"properties": {
|
|
@@ -1020,6 +2225,55 @@
|
|
|
1020
2225
|
"format": "date-time",
|
|
1021
2226
|
"type": "string"
|
|
1022
2227
|
},
|
|
2228
|
+
"consentStatuses": {
|
|
2229
|
+
"anyOf": [
|
|
2230
|
+
{
|
|
2231
|
+
"type": "object",
|
|
2232
|
+
"properties": {
|
|
2233
|
+
"messaging": {
|
|
2234
|
+
"anyOf": [
|
|
2235
|
+
{
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"enum": [
|
|
2238
|
+
"pending"
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"enum": [
|
|
2244
|
+
"undefined"
|
|
2245
|
+
]
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"type": "string",
|
|
2249
|
+
"enum": [
|
|
2250
|
+
"pre-approved"
|
|
2251
|
+
]
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"type": "string",
|
|
2255
|
+
"enum": [
|
|
2256
|
+
"opted-out"
|
|
2257
|
+
]
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"type": "string",
|
|
2261
|
+
"enum": [
|
|
2262
|
+
"opted-in"
|
|
2263
|
+
]
|
|
2264
|
+
}
|
|
2265
|
+
]
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"required": [
|
|
2269
|
+
"messaging"
|
|
2270
|
+
]
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"type": "null"
|
|
2274
|
+
}
|
|
2275
|
+
]
|
|
2276
|
+
},
|
|
1023
2277
|
"details": {
|
|
1024
2278
|
"type": "object",
|
|
1025
2279
|
"properties": {
|
|
@@ -1831,6 +3085,55 @@
|
|
|
1831
3085
|
"format": "date-time",
|
|
1832
3086
|
"type": "string"
|
|
1833
3087
|
},
|
|
3088
|
+
"consentStatuses": {
|
|
3089
|
+
"anyOf": [
|
|
3090
|
+
{
|
|
3091
|
+
"type": "object",
|
|
3092
|
+
"properties": {
|
|
3093
|
+
"messaging": {
|
|
3094
|
+
"anyOf": [
|
|
3095
|
+
{
|
|
3096
|
+
"type": "string",
|
|
3097
|
+
"enum": [
|
|
3098
|
+
"pending"
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3101
|
+
{
|
|
3102
|
+
"type": "string",
|
|
3103
|
+
"enum": [
|
|
3104
|
+
"undefined"
|
|
3105
|
+
]
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"type": "string",
|
|
3109
|
+
"enum": [
|
|
3110
|
+
"pre-approved"
|
|
3111
|
+
]
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"type": "string",
|
|
3115
|
+
"enum": [
|
|
3116
|
+
"opted-out"
|
|
3117
|
+
]
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"type": "string",
|
|
3121
|
+
"enum": [
|
|
3122
|
+
"opted-in"
|
|
3123
|
+
]
|
|
3124
|
+
}
|
|
3125
|
+
]
|
|
3126
|
+
}
|
|
3127
|
+
},
|
|
3128
|
+
"required": [
|
|
3129
|
+
"messaging"
|
|
3130
|
+
]
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"type": "null"
|
|
3134
|
+
}
|
|
3135
|
+
]
|
|
3136
|
+
},
|
|
1834
3137
|
"details": {
|
|
1835
3138
|
"type": "object",
|
|
1836
3139
|
"properties": {
|
|
@@ -2194,6 +3497,55 @@
|
|
|
2194
3497
|
"format": "date-time",
|
|
2195
3498
|
"type": "string"
|
|
2196
3499
|
},
|
|
3500
|
+
"consentStatuses": {
|
|
3501
|
+
"anyOf": [
|
|
3502
|
+
{
|
|
3503
|
+
"type": "object",
|
|
3504
|
+
"properties": {
|
|
3505
|
+
"messaging": {
|
|
3506
|
+
"anyOf": [
|
|
3507
|
+
{
|
|
3508
|
+
"type": "string",
|
|
3509
|
+
"enum": [
|
|
3510
|
+
"pending"
|
|
3511
|
+
]
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"type": "string",
|
|
3515
|
+
"enum": [
|
|
3516
|
+
"undefined"
|
|
3517
|
+
]
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"type": "string",
|
|
3521
|
+
"enum": [
|
|
3522
|
+
"pre-approved"
|
|
3523
|
+
]
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"type": "string",
|
|
3527
|
+
"enum": [
|
|
3528
|
+
"opted-out"
|
|
3529
|
+
]
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"type": "string",
|
|
3533
|
+
"enum": [
|
|
3534
|
+
"opted-in"
|
|
3535
|
+
]
|
|
3536
|
+
}
|
|
3537
|
+
]
|
|
3538
|
+
}
|
|
3539
|
+
},
|
|
3540
|
+
"required": [
|
|
3541
|
+
"messaging"
|
|
3542
|
+
]
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"type": "null"
|
|
3546
|
+
}
|
|
3547
|
+
]
|
|
3548
|
+
},
|
|
2197
3549
|
"details": {
|
|
2198
3550
|
"type": "object",
|
|
2199
3551
|
"properties": {
|
|
@@ -3235,6 +4587,55 @@
|
|
|
3235
4587
|
"format": "date-time",
|
|
3236
4588
|
"type": "string"
|
|
3237
4589
|
},
|
|
4590
|
+
"consentStatuses": {
|
|
4591
|
+
"anyOf": [
|
|
4592
|
+
{
|
|
4593
|
+
"type": "object",
|
|
4594
|
+
"properties": {
|
|
4595
|
+
"messaging": {
|
|
4596
|
+
"anyOf": [
|
|
4597
|
+
{
|
|
4598
|
+
"type": "string",
|
|
4599
|
+
"enum": [
|
|
4600
|
+
"pending"
|
|
4601
|
+
]
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"type": "string",
|
|
4605
|
+
"enum": [
|
|
4606
|
+
"undefined"
|
|
4607
|
+
]
|
|
4608
|
+
},
|
|
4609
|
+
{
|
|
4610
|
+
"type": "string",
|
|
4611
|
+
"enum": [
|
|
4612
|
+
"pre-approved"
|
|
4613
|
+
]
|
|
4614
|
+
},
|
|
4615
|
+
{
|
|
4616
|
+
"type": "string",
|
|
4617
|
+
"enum": [
|
|
4618
|
+
"opted-out"
|
|
4619
|
+
]
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
"type": "string",
|
|
4623
|
+
"enum": [
|
|
4624
|
+
"opted-in"
|
|
4625
|
+
]
|
|
4626
|
+
}
|
|
4627
|
+
]
|
|
4628
|
+
}
|
|
4629
|
+
},
|
|
4630
|
+
"required": [
|
|
4631
|
+
"messaging"
|
|
4632
|
+
]
|
|
4633
|
+
},
|
|
4634
|
+
{
|
|
4635
|
+
"type": "null"
|
|
4636
|
+
}
|
|
4637
|
+
]
|
|
4638
|
+
},
|
|
3238
4639
|
"details": {
|
|
3239
4640
|
"type": "object",
|
|
3240
4641
|
"properties": {
|
|
@@ -3650,6 +5051,55 @@
|
|
|
3650
5051
|
"format": "date-time",
|
|
3651
5052
|
"type": "string"
|
|
3652
5053
|
},
|
|
5054
|
+
"consentStatuses": {
|
|
5055
|
+
"anyOf": [
|
|
5056
|
+
{
|
|
5057
|
+
"type": "object",
|
|
5058
|
+
"properties": {
|
|
5059
|
+
"messaging": {
|
|
5060
|
+
"anyOf": [
|
|
5061
|
+
{
|
|
5062
|
+
"type": "string",
|
|
5063
|
+
"enum": [
|
|
5064
|
+
"pending"
|
|
5065
|
+
]
|
|
5066
|
+
},
|
|
5067
|
+
{
|
|
5068
|
+
"type": "string",
|
|
5069
|
+
"enum": [
|
|
5070
|
+
"undefined"
|
|
5071
|
+
]
|
|
5072
|
+
},
|
|
5073
|
+
{
|
|
5074
|
+
"type": "string",
|
|
5075
|
+
"enum": [
|
|
5076
|
+
"pre-approved"
|
|
5077
|
+
]
|
|
5078
|
+
},
|
|
5079
|
+
{
|
|
5080
|
+
"type": "string",
|
|
5081
|
+
"enum": [
|
|
5082
|
+
"opted-out"
|
|
5083
|
+
]
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
"type": "string",
|
|
5087
|
+
"enum": [
|
|
5088
|
+
"opted-in"
|
|
5089
|
+
]
|
|
5090
|
+
}
|
|
5091
|
+
]
|
|
5092
|
+
}
|
|
5093
|
+
},
|
|
5094
|
+
"required": [
|
|
5095
|
+
"messaging"
|
|
5096
|
+
]
|
|
5097
|
+
},
|
|
5098
|
+
{
|
|
5099
|
+
"type": "null"
|
|
5100
|
+
}
|
|
5101
|
+
]
|
|
5102
|
+
},
|
|
3653
5103
|
"details": {
|
|
3654
5104
|
"type": "object",
|
|
3655
5105
|
"properties": {
|
|
@@ -4039,6 +5489,55 @@
|
|
|
4039
5489
|
"format": "date-time",
|
|
4040
5490
|
"type": "string"
|
|
4041
5491
|
},
|
|
5492
|
+
"consentStatuses": {
|
|
5493
|
+
"anyOf": [
|
|
5494
|
+
{
|
|
5495
|
+
"type": "object",
|
|
5496
|
+
"properties": {
|
|
5497
|
+
"messaging": {
|
|
5498
|
+
"anyOf": [
|
|
5499
|
+
{
|
|
5500
|
+
"type": "string",
|
|
5501
|
+
"enum": [
|
|
5502
|
+
"pending"
|
|
5503
|
+
]
|
|
5504
|
+
},
|
|
5505
|
+
{
|
|
5506
|
+
"type": "string",
|
|
5507
|
+
"enum": [
|
|
5508
|
+
"undefined"
|
|
5509
|
+
]
|
|
5510
|
+
},
|
|
5511
|
+
{
|
|
5512
|
+
"type": "string",
|
|
5513
|
+
"enum": [
|
|
5514
|
+
"pre-approved"
|
|
5515
|
+
]
|
|
5516
|
+
},
|
|
5517
|
+
{
|
|
5518
|
+
"type": "string",
|
|
5519
|
+
"enum": [
|
|
5520
|
+
"opted-out"
|
|
5521
|
+
]
|
|
5522
|
+
},
|
|
5523
|
+
{
|
|
5524
|
+
"type": "string",
|
|
5525
|
+
"enum": [
|
|
5526
|
+
"opted-in"
|
|
5527
|
+
]
|
|
5528
|
+
}
|
|
5529
|
+
]
|
|
5530
|
+
}
|
|
5531
|
+
},
|
|
5532
|
+
"required": [
|
|
5533
|
+
"messaging"
|
|
5534
|
+
]
|
|
5535
|
+
},
|
|
5536
|
+
{
|
|
5537
|
+
"type": "null"
|
|
5538
|
+
}
|
|
5539
|
+
]
|
|
5540
|
+
},
|
|
4042
5541
|
"details": {
|
|
4043
5542
|
"type": "object",
|
|
4044
5543
|
"properties": {
|