@digdir/dialogporten-schema 1.69.1 → 1.70.0-29be76e

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.
@@ -43,19 +43,19 @@
43
43
  "DialogsEntities_DialogStatus": {
44
44
  "description": "",
45
45
  "enum": [
46
- "New",
46
+ "NotApplicable",
47
47
  "InProgress",
48
48
  "Draft",
49
- "Sent",
49
+ "Awaiting",
50
50
  "RequiresAttention",
51
51
  "Completed"
52
52
  ],
53
53
  "type": "string",
54
54
  "x-enumNames": [
55
- "New",
55
+ "NotApplicable",
56
56
  "InProgress",
57
57
  "Draft",
58
- "Sent",
58
+ "Awaiting",
59
59
  "RequiresAttention",
60
60
  "Completed"
61
61
  ]
@@ -331,6 +331,77 @@
331
331
  },
332
332
  "type": "object"
333
333
  },
334
+ "V1AccessManagementQueriesGetParties_AuthorizedParty": {
335
+ "additionalProperties": false,
336
+ "properties": {
337
+ "hasKeyRole": {
338
+ "description": "Whether the authenticated user has a key role in the party.\n \nRead more about key roles (norwegian) at https://docs.altinn.studio/nb/altinn-studio/reference/configuration/authorization/guidelines_authorization/roles_and_rights/roles_er/#n\u00F8kkelroller",
339
+ "type": "boolean"
340
+ },
341
+ "hasOnlyAccessToSubParties": {
342
+ "description": "If the authenticated user has only access to sub parties of this party, and not this party itself.",
343
+ "type": "boolean"
344
+ },
345
+ "isAccessManager": {
346
+ "description": "Whether the authenticated user is an access manager of the party.\n \nRead more about access managers (norwegian) at https://docs.altinn.studio/nb/altinn-studio/reference/configuration/authorization/guidelines_authorization/roles_and_rights/roles_altinn/altinn_roles_administration/#tilgangsstrying",
347
+ "type": "boolean"
348
+ },
349
+ "isCurrentEndUser": {
350
+ "description": "Whether this party represents the authenticated user.",
351
+ "type": "boolean"
352
+ },
353
+ "isDeleted": {
354
+ "description": "Whether the party is deleted or not",
355
+ "type": "boolean"
356
+ },
357
+ "isMainAdministrator": {
358
+ "description": "Whether the authenticated user is the main administrator of the party\n \nRead more about main administrator (norwegian) at https://docs.altinn.studio/nb/altinn-studio/reference/configuration/authorization/guidelines_authorization/roles_and_rights/roles_altinn/altinn_roles_administration/#hovedadministrator",
359
+ "type": "boolean"
360
+ },
361
+ "name": {
362
+ "description": "The name of the party (verbatim from CCR, usually in all caps)",
363
+ "example": "CONTOSO REAL ESTATE AS",
364
+ "type": "string"
365
+ },
366
+ "party": {
367
+ "description": "The party identifier in URN format",
368
+ "example": "urn:altinn:organization:identifier-no:912345678",
369
+ "type": "string"
370
+ },
371
+ "partyType": {
372
+ "description": "The type of the party, either \u0022Organization\u0022 or \u0022Person\u0022.",
373
+ "example": "Organization",
374
+ "type": "string"
375
+ },
376
+ "partyUuid": {
377
+ "description": "The UUID for the party.",
378
+ "format": "guid",
379
+ "type": "string"
380
+ },
381
+ "subParties": {
382
+ "description": "The sub parties of this party, if any. The sub party uses the same data model.",
383
+ "items": {
384
+ "$ref": "#/components/schemas/V1AccessManagementQueriesGetParties_AuthorizedParty"
385
+ },
386
+ "nullable": true,
387
+ "type": "array"
388
+ }
389
+ },
390
+ "type": "object"
391
+ },
392
+ "V1AccessManagementQueriesGetParties_Parties": {
393
+ "additionalProperties": false,
394
+ "properties": {
395
+ "authorizedParties": {
396
+ "items": {
397
+ "$ref": "#/components/schemas/V1AccessManagementQueriesGetParties_AuthorizedParty"
398
+ },
399
+ "nullable": true,
400
+ "type": "array"
401
+ }
402
+ },
403
+ "type": "object"
404
+ },
334
405
  "V1Common_DeletedFilter": {
335
406
  "description": "",
336
407
  "enum": [
@@ -404,140 +475,6 @@
404
475
  },
405
476
  "type": "object"
406
477
  },
407
- "V1EndUserDialogActivitiesQueriesGet_Activity": {
408
- "additionalProperties": false,
409
- "properties": {
410
- "createdAt": {
411
- "format": "date-time",
412
- "nullable": true,
413
- "type": "string"
414
- },
415
- "description": {
416
- "items": {
417
- "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
418
- },
419
- "nullable": true,
420
- "type": "array"
421
- },
422
- "extendedType": {
423
- "format": "uri",
424
- "nullable": true,
425
- "type": "string"
426
- },
427
- "id": {
428
- "format": "guid",
429
- "type": "string"
430
- },
431
- "performedBy": {
432
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
433
- },
434
- "transmissionId": {
435
- "format": "guid",
436
- "nullable": true,
437
- "type": "string"
438
- },
439
- "type": {
440
- "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
441
- }
442
- },
443
- "type": "object"
444
- },
445
- "V1EndUserDialogActivitiesQueriesSearch_Activity": {
446
- "additionalProperties": false,
447
- "properties": {
448
- "createdAt": {
449
- "format": "date-time",
450
- "type": "string"
451
- },
452
- "extendedType": {
453
- "format": "uri",
454
- "nullable": true,
455
- "type": "string"
456
- },
457
- "id": {
458
- "format": "guid",
459
- "type": "string"
460
- },
461
- "seenByEndUserIdHash": {
462
- "nullable": true,
463
- "type": "string"
464
- },
465
- "transmissionId": {
466
- "format": "guid",
467
- "nullable": true,
468
- "type": "string"
469
- },
470
- "type": {
471
- "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
472
- }
473
- },
474
- "type": "object"
475
- },
476
- "V1EndUserDialogLabelAssignmentLogQueriesSearch_LabelAssignmentLog": {
477
- "additionalProperties": false,
478
- "properties": {
479
- "action": {
480
- "type": "string"
481
- },
482
- "createdAt": {
483
- "format": "date-time",
484
- "type": "string"
485
- },
486
- "name": {
487
- "type": "string"
488
- },
489
- "performedBy": {
490
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
491
- }
492
- },
493
- "type": "object"
494
- },
495
- "V1EndUserDialogSeenLogsQueriesGet_SeenLog": {
496
- "additionalProperties": false,
497
- "properties": {
498
- "id": {
499
- "format": "guid",
500
- "type": "string"
501
- },
502
- "isCurrentEndUser": {
503
- "type": "boolean"
504
- },
505
- "isViaServiceOwner": {
506
- "type": "boolean"
507
- },
508
- "seenAt": {
509
- "format": "date-time",
510
- "type": "string"
511
- },
512
- "seenBy": {
513
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
514
- }
515
- },
516
- "type": "object"
517
- },
518
- "V1EndUserDialogSeenLogsQueriesSearch_SeenLog": {
519
- "additionalProperties": false,
520
- "properties": {
521
- "id": {
522
- "format": "guid",
523
- "type": "string"
524
- },
525
- "isCurrentEndUser": {
526
- "type": "boolean"
527
- },
528
- "isViaServiceOwner": {
529
- "type": "boolean"
530
- },
531
- "seenAt": {
532
- "format": "date-time",
533
- "type": "string"
534
- },
535
- "seenBy": {
536
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
537
- }
538
- },
539
- "type": "object"
540
- },
541
478
  "V1EndUserDialogsQueriesGet_Content": {
542
479
  "additionalProperties": false,
543
480
  "properties": {
@@ -579,6 +516,7 @@
579
516
  },
580
517
  "summary": {
581
518
  "description": "A short summary of the dialog and its current state.",
519
+ "nullable": true,
582
520
  "oneOf": [
583
521
  {
584
522
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -649,6 +587,14 @@
649
587
  "nullable": true,
650
588
  "type": "string"
651
589
  },
590
+ "endUserContext": {
591
+ "description": "Metadata about the dialog owned by end-users.",
592
+ "oneOf": [
593
+ {
594
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGet_DialogEndUserContext"
595
+ }
596
+ ]
597
+ },
652
598
  "expiresAt": {
653
599
  "description": "The expiration date for the dialog. This is the last date when the dialog is available for the end user.\n \nAfter this date is passed, the dialog will be considered expired and no longer available for the end user in any\nAPI. If not supplied, the dialog will be considered to never expire. This field can be changed by the service\nowner after the dialog has been created.",
654
600
  "example": "2022-12-31T23:59:59Z",
@@ -741,14 +687,6 @@
741
687
  }
742
688
  ]
743
689
  },
744
- "systemLabel": {
745
- "description": "Current display state.",
746
- "oneOf": [
747
- {
748
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
749
- }
750
- ]
751
- },
752
690
  "transmissions": {
753
691
  "description": "The immutable list of transmissions associated with the dialog.",
754
692
  "items": {
@@ -975,6 +913,26 @@
975
913
  },
976
914
  "type": "object"
977
915
  },
916
+ "V1EndUserDialogsQueriesGet_DialogEndUserContext": {
917
+ "additionalProperties": false,
918
+ "properties": {
919
+ "revision": {
920
+ "description": "The unique identifier for the end user context revision in UUIDv4 format.",
921
+ "example": "0196fccd-bf48-7d27-bdfc-4ad3b0f3bee5",
922
+ "format": "guid",
923
+ "type": "string"
924
+ },
925
+ "systemLabels": {
926
+ "description": "System defined labels used to categorize dialogs.",
927
+ "items": {
928
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
929
+ },
930
+ "nullable": true,
931
+ "type": "array"
932
+ }
933
+ },
934
+ "type": "object"
935
+ },
978
936
  "V1EndUserDialogsQueriesGet_DialogGuiAction": {
979
937
  "additionalProperties": false,
980
938
  "properties": {
@@ -1212,6 +1170,7 @@
1212
1170
  },
1213
1171
  "summary": {
1214
1172
  "description": "The transmission summary.",
1173
+ "nullable": true,
1215
1174
  "oneOf": [
1216
1175
  {
1217
1176
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1229,269 +1188,68 @@
1229
1188
  },
1230
1189
  "type": "object"
1231
1190
  },
1232
- "V1EndUserDialogsQueriesSearch_Content": {
1191
+ "V1EndUserDialogsQueriesGetActivity_Activity": {
1233
1192
  "additionalProperties": false,
1234
1193
  "properties": {
1235
- "extendedStatus": {
1236
- "description": "Used as the human-readable label used to describe the \u0022ExtendedStatus\u0022 field.",
1194
+ "createdAt": {
1195
+ "format": "date-time",
1237
1196
  "nullable": true,
1238
- "oneOf": [
1239
- {
1240
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1241
- }
1242
- ]
1197
+ "type": "string"
1243
1198
  },
1244
- "senderName": {
1245
- "description": "Overridden sender name. If not supplied, assume \u0022org\u0022 as the sender name.",
1199
+ "description": {
1200
+ "items": {
1201
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1202
+ },
1246
1203
  "nullable": true,
1247
- "oneOf": [
1248
- {
1249
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1250
- }
1251
- ]
1252
- },
1253
- "summary": {
1254
- "description": "A short summary of the dialog and its current state.",
1255
- "oneOf": [
1256
- {
1257
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1258
- }
1259
- ]
1260
- },
1261
- "title": {
1262
- "description": "The title of the dialog.",
1263
- "oneOf": [
1264
- {
1265
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1266
- }
1267
- ]
1268
- }
1269
- },
1270
- "type": "object"
1271
- },
1272
- "V1EndUserDialogsQueriesSearch_Dialog": {
1273
- "additionalProperties": false,
1274
- "properties": {
1275
- "content": {
1276
- "description": "The content of the dialog in search results.",
1277
- "oneOf": [
1278
- {
1279
- "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_Content"
1280
- }
1281
- ]
1282
- },
1283
- "createdAt": {
1284
- "description": "The date and time when the dialog was created.",
1285
- "example": "2022-12-31T23:59:59Z",
1286
- "format": "date-time",
1287
- "type": "string"
1288
- },
1289
- "dueAt": {
1290
- "description": "The due date for the dialog. This is the last date when the dialog is expected to be completed.",
1291
- "example": "2022-12-31T23:59:59Z",
1292
- "format": "date-time",
1293
- "nullable": true,
1294
- "type": "string"
1295
- },
1296
- "extendedStatus": {
1297
- "description": "Arbitrary string with a service-specific indicator of status, typically used to indicate a fine-grained state of\nthe dialog to further specify the \u0022status\u0022 enum.\n \nRefer to the service-specific documentation provided by the service owner for details on the possible values (if\nin use).",
1298
- "nullable": true,
1299
- "type": "string"
1300
- },
1301
- "externalReference": {
1302
- "description": "Arbitrary string with a service-specific reference to an external system or service.\n \nRefer to the service-specific documentation provided by the service owner for details (if in use).",
1303
- "nullable": true,
1304
- "type": "string"
1305
- },
1306
- "guiAttachmentCount": {
1307
- "description": "The number of attachments in the dialog made available for browser-based frontends.",
1308
- "format": "int32",
1309
- "nullable": true,
1310
- "type": "integer"
1311
- },
1312
- "id": {
1313
- "description": "The unique identifier for the dialog in UUIDv7 format.",
1314
- "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
1315
- "format": "guid",
1316
- "type": "string"
1317
- },
1318
- "isApiOnly": {
1319
- "description": "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans.\nWhen true, human-readable content like title and summary are not required.",
1320
- "type": "boolean"
1321
- },
1322
- "latestActivity": {
1323
- "description": "The latest entry in the dialog\u0027s activity log.",
1324
- "nullable": true,
1325
- "oneOf": [
1326
- {
1327
- "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogActivity"
1328
- }
1329
- ]
1330
- },
1331
- "org": {
1332
- "description": "The service owner code representing the organization (service owner) related to this dialog.",
1333
- "example": "ske",
1334
- "type": "string"
1335
- },
1336
- "party": {
1337
- "description": "The party code representing the organization or person that the dialog belongs to in URN format.",
1338
- "example": "urn:altinn:person:identifier-no:01125512345\nurn:altinn:organization:identifier-no:912345678",
1339
- "type": "string"
1340
- },
1341
- "precedingProcess": {
1342
- "description": "Optional preceding process identifier to indicate the business process that preceded the process indicated in the \u0022Process\u0022 field. Cannot be set without also \u0022Process\u0022 being set.",
1343
- "nullable": true,
1344
- "type": "string"
1345
- },
1346
- "process": {
1347
- "description": "Optional process identifier used to indicate a business process this dialog belongs to.",
1348
- "nullable": true,
1349
- "type": "string"
1350
- },
1351
- "progress": {
1352
- "description": "Advisory indicator of progress, represented as 1-100 percentage value. 100% representing a dialog that has come\nto a natural completion (successful or not).",
1353
- "format": "int32",
1354
- "nullable": true,
1355
- "type": "integer"
1356
- },
1357
- "seenSinceLastUpdate": {
1358
- "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
1359
- "items": {
1360
- "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogSeenLog"
1361
- },
1362
- "nullable": true,
1363
- "type": "array"
1364
- },
1365
- "serviceResource": {
1366
- "description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
1367
- "example": "urn:altinn:resource:some-service-identifier",
1368
- "type": "string"
1369
- },
1370
- "serviceResourceType": {
1371
- "description": "The ServiceResource type, as defined in Altinn Resource Registry (see ResourceType).",
1372
- "type": "string"
1373
- },
1374
- "status": {
1375
- "description": "The aggregated status of the dialog.",
1376
- "oneOf": [
1377
- {
1378
- "$ref": "#/components/schemas/DialogsEntities_DialogStatus"
1379
- }
1380
- ]
1381
- },
1382
- "systemLabel": {
1383
- "description": "Current display state.",
1384
- "oneOf": [
1385
- {
1386
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
1387
- }
1388
- ]
1389
- },
1390
- "updatedAt": {
1391
- "description": "The date and time when the dialog was last updated.",
1392
- "example": "2022-12-31T23:59:59Z",
1393
- "format": "date-time",
1394
- "type": "string"
1395
- }
1396
- },
1397
- "type": "object"
1398
- },
1399
- "V1EndUserDialogsQueriesSearch_DialogActivity": {
1400
- "additionalProperties": false,
1401
- "properties": {
1402
- "createdAt": {
1403
- "description": "The date and time when the activity was created.",
1404
- "format": "date-time",
1405
- "nullable": true,
1406
- "type": "string"
1407
- },
1408
- "description": {
1409
- "description": "Unstructured text describing the activity. Only set if the activity type is \u0022Information\u0022.",
1410
- "items": {
1411
- "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1412
- },
1413
- "nullable": true,
1414
- "type": "array"
1204
+ "type": "array"
1415
1205
  },
1416
1206
  "extendedType": {
1417
- "description": "An arbitrary string with a service-specific activity type.\n \nConsult the service-specific documentation provided by the service owner for details (if in use).",
1418
1207
  "format": "uri",
1419
1208
  "nullable": true,
1420
1209
  "type": "string"
1421
1210
  },
1422
1211
  "id": {
1423
- "description": "The unique identifier for the activity in UUIDv7 format.",
1424
1212
  "format": "guid",
1425
1213
  "type": "string"
1426
1214
  },
1427
1215
  "performedBy": {
1428
- "description": "The actor that performed the activity.",
1429
- "oneOf": [
1430
- {
1431
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1432
- }
1433
- ]
1216
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1434
1217
  },
1435
1218
  "transmissionId": {
1436
- "description": "If the activity is related to a particular transmission, this field will contain the transmission identifier.",
1437
1219
  "format": "guid",
1438
1220
  "nullable": true,
1439
1221
  "type": "string"
1440
1222
  },
1441
1223
  "type": {
1442
- "description": "The type of activity.",
1443
- "oneOf": [
1444
- {
1445
- "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
1446
- }
1447
- ]
1224
+ "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
1448
1225
  }
1449
1226
  },
1450
1227
  "type": "object"
1451
1228
  },
1452
- "V1EndUserDialogsQueriesSearch_DialogSeenLog": {
1229
+ "V1EndUserDialogsQueriesGetSeenLog_SeenLog": {
1453
1230
  "additionalProperties": false,
1454
1231
  "properties": {
1455
1232
  "id": {
1456
- "description": "The unique identifier for the seen log entry in UUIDv7 format.",
1457
1233
  "format": "guid",
1458
1234
  "type": "string"
1459
1235
  },
1460
1236
  "isCurrentEndUser": {
1461
- "description": "Flag indicating whether the seen log entry was created by the current end user.",
1462
1237
  "type": "boolean"
1463
1238
  },
1464
1239
  "isViaServiceOwner": {
1465
- "description": "Flag indicating whether the seen log entry was created via the service owner.\n \nThis is used when the service owner uses the service owner API to implement its own frontend.",
1466
- "nullable": true,
1467
1240
  "type": "boolean"
1468
1241
  },
1469
1242
  "seenAt": {
1470
- "description": "The timestamp when the dialog revision was seen.",
1471
1243
  "format": "date-time",
1472
1244
  "type": "string"
1473
1245
  },
1474
1246
  "seenBy": {
1475
- "description": "The actor that saw the dialog revision.",
1476
- "oneOf": [
1477
- {
1478
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1479
- }
1480
- ]
1481
- }
1482
- },
1483
- "type": "object"
1484
- },
1485
- "V1EndUserDialogSystemLabelsSet_SetDialogSystemLabelRequest": {
1486
- "additionalProperties": false,
1487
- "properties": {
1488
- "label": {
1489
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
1247
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1490
1248
  }
1491
1249
  },
1492
1250
  "type": "object"
1493
1251
  },
1494
- "V1EndUserDialogTransmissionsQueriesGet_Attachment": {
1252
+ "V1EndUserDialogsQueriesGetTransmission_Attachment": {
1495
1253
  "additionalProperties": false,
1496
1254
  "properties": {
1497
1255
  "displayName": {
@@ -1510,7 +1268,7 @@
1510
1268
  "urls": {
1511
1269
  "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
1512
1270
  "items": {
1513
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesGet_AttachmentUrl"
1271
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetTransmission_AttachmentUrl"
1514
1272
  },
1515
1273
  "nullable": true,
1516
1274
  "type": "array"
@@ -1518,7 +1276,7 @@
1518
1276
  },
1519
1277
  "type": "object"
1520
1278
  },
1521
- "V1EndUserDialogTransmissionsQueriesGet_AttachmentUrl": {
1279
+ "V1EndUserDialogsQueriesGetTransmission_AttachmentUrl": {
1522
1280
  "additionalProperties": false,
1523
1281
  "properties": {
1524
1282
  "consumerType": {
@@ -1549,7 +1307,7 @@
1549
1307
  },
1550
1308
  "type": "object"
1551
1309
  },
1552
- "V1EndUserDialogTransmissionsQueriesGet_Content": {
1310
+ "V1EndUserDialogsQueriesGetTransmission_Content": {
1553
1311
  "additionalProperties": false,
1554
1312
  "properties": {
1555
1313
  "contentReference": {
@@ -1563,6 +1321,7 @@
1563
1321
  },
1564
1322
  "summary": {
1565
1323
  "description": "The summary of the content.",
1324
+ "nullable": true,
1566
1325
  "oneOf": [
1567
1326
  {
1568
1327
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1580,13 +1339,13 @@
1580
1339
  },
1581
1340
  "type": "object"
1582
1341
  },
1583
- "V1EndUserDialogTransmissionsQueriesGet_Transmission": {
1342
+ "V1EndUserDialogsQueriesGetTransmission_Transmission": {
1584
1343
  "additionalProperties": false,
1585
1344
  "properties": {
1586
1345
  "attachments": {
1587
1346
  "description": "The attachments associated with the transmission.",
1588
1347
  "items": {
1589
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesGet_Attachment"
1348
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetTransmission_Attachment"
1590
1349
  },
1591
1350
  "nullable": true,
1592
1351
  "type": "array"
@@ -1600,7 +1359,7 @@
1600
1359
  "description": "The content of the transmission.",
1601
1360
  "oneOf": [
1602
1361
  {
1603
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesGet_Content"
1362
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetTransmission_Content"
1604
1363
  }
1605
1364
  ]
1606
1365
  },
@@ -1655,69 +1414,20 @@
1655
1414
  },
1656
1415
  "type": "object"
1657
1416
  },
1658
- "V1EndUserDialogTransmissionsQueriesSearch_Attachment": {
1417
+ "V1EndUserDialogsQueriesSearch_Content": {
1659
1418
  "additionalProperties": false,
1660
1419
  "properties": {
1661
- "displayName": {
1662
- "description": "The display name of the attachment that should be used in GUIs.",
1663
- "items": {
1664
- "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1665
- },
1666
- "nullable": true,
1667
- "type": "array"
1668
- },
1669
- "id": {
1670
- "description": "The unique identifier for the attachment in UUIDv7 format.",
1671
- "format": "guid",
1672
- "type": "string"
1673
- },
1674
- "urls": {
1675
- "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
1676
- "items": {
1677
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesSearch_AttachmentUrl"
1678
- },
1420
+ "extendedStatus": {
1421
+ "description": "Used as the human-readable label used to describe the \u0022ExtendedStatus\u0022 field.",
1679
1422
  "nullable": true,
1680
- "type": "array"
1681
- }
1682
- },
1683
- "type": "object"
1684
- },
1685
- "V1EndUserDialogTransmissionsQueriesSearch_AttachmentUrl": {
1686
- "additionalProperties": false,
1687
- "properties": {
1688
- "consumerType": {
1689
- "description": "The type of consumer the URL is intended for.",
1690
1423
  "oneOf": [
1691
1424
  {
1692
- "$ref": "#/components/schemas/Attachments_AttachmentUrlConsumerType"
1425
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1693
1426
  }
1694
1427
  ]
1695
1428
  },
1696
- "id": {
1697
- "description": "The unique identifier for the attachment URL in UUIDv7 format.",
1698
- "format": "guid",
1699
- "type": "string"
1700
- },
1701
- "mediaType": {
1702
- "description": "The media type of the attachment.",
1703
- "example": "application/pdf\napplication/zip",
1704
- "nullable": true,
1705
- "type": "string"
1706
- },
1707
- "url": {
1708
- "description": "The fully qualified URL of the attachment. Will be set to \u0022urn:dialogporten:unauthorized\u0022 if the user is\nnot authorized to access the transmission.",
1709
- "example": "https://someendpoint.com/someattachment.pdf\nurn:dialogporten:unauthorized",
1710
- "format": "uri",
1711
- "type": "string"
1712
- }
1713
- },
1714
- "type": "object"
1715
- },
1716
- "V1EndUserDialogTransmissionsQueriesSearch_Content": {
1717
- "additionalProperties": false,
1718
- "properties": {
1719
- "contentReference": {
1720
- "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
1429
+ "senderName": {
1430
+ "description": "Overridden sender name. If not supplied, assume \u0022org\u0022 as the sender name.",
1721
1431
  "nullable": true,
1722
1432
  "oneOf": [
1723
1433
  {
@@ -1726,7 +1436,8 @@
1726
1436
  ]
1727
1437
  },
1728
1438
  "summary": {
1729
- "description": "The summary of the content.",
1439
+ "description": "A short summary of the dialog and its current state.",
1440
+ "nullable": true,
1730
1441
  "oneOf": [
1731
1442
  {
1732
1443
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1734,7 +1445,7 @@
1734
1445
  ]
1735
1446
  },
1736
1447
  "title": {
1737
- "description": "The title of the content.",
1448
+ "description": "The title of the dialog.",
1738
1449
  "oneOf": [
1739
1450
  {
1740
1451
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -1744,145 +1455,199 @@
1744
1455
  },
1745
1456
  "type": "object"
1746
1457
  },
1747
- "V1EndUserDialogTransmissionsQueriesSearch_Transmission": {
1458
+ "V1EndUserDialogsQueriesSearch_Dialog": {
1748
1459
  "additionalProperties": false,
1749
1460
  "properties": {
1750
- "attachments": {
1751
- "description": "The attachments associated with the transmission.",
1752
- "items": {
1753
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesSearch_Attachment"
1754
- },
1755
- "nullable": true,
1756
- "type": "array"
1757
- },
1758
- "authorizationAttribute": {
1759
- "description": "The authorization attribute associated with the transmission.",
1760
- "nullable": true,
1761
- "type": "string"
1762
- },
1763
1461
  "content": {
1764
- "description": "The content of the transmission.",
1462
+ "description": "The content of the dialog in search results.",
1765
1463
  "oneOf": [
1766
1464
  {
1767
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesSearch_Content"
1465
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_Content"
1768
1466
  }
1769
1467
  ]
1770
1468
  },
1771
1469
  "createdAt": {
1772
- "description": "The date and time when the transmission was created.",
1470
+ "description": "The date and time when the dialog was created.",
1471
+ "example": "2022-12-31T23:59:59Z",
1773
1472
  "format": "date-time",
1774
1473
  "type": "string"
1775
1474
  },
1776
- "deletedAt": {
1777
- "description": "The date and time when the transmission was deleted, if applicable.",
1475
+ "dueAt": {
1476
+ "description": "The due date for the dialog. This is the last date when the dialog is expected to be completed.",
1477
+ "example": "2022-12-31T23:59:59Z",
1778
1478
  "format": "date-time",
1779
1479
  "nullable": true,
1780
1480
  "type": "string"
1781
1481
  },
1782
- "extendedType": {
1783
- "description": "The extended type URI for the transmission.",
1784
- "format": "uri",
1482
+ "endUserContext": {
1483
+ "description": "Metadata about the dialog owned by end-users.",
1484
+ "oneOf": [
1485
+ {
1486
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogEndUserContext"
1487
+ }
1488
+ ]
1489
+ },
1490
+ "extendedStatus": {
1491
+ "description": "Arbitrary string with a service-specific indicator of status, typically used to indicate a fine-grained state of\nthe dialog to further specify the \u0022status\u0022 enum.\n \nRefer to the service-specific documentation provided by the service owner for details on the possible values (if\nin use).",
1492
+ "nullable": true,
1493
+ "type": "string"
1494
+ },
1495
+ "externalReference": {
1496
+ "description": "Arbitrary string with a service-specific reference to an external system or service.\n \nRefer to the service-specific documentation provided by the service owner for details (if in use).",
1785
1497
  "nullable": true,
1786
1498
  "type": "string"
1787
1499
  },
1500
+ "guiAttachmentCount": {
1501
+ "description": "The number of attachments in the dialog made available for browser-based frontends.",
1502
+ "format": "int32",
1503
+ "nullable": true,
1504
+ "type": "integer"
1505
+ },
1788
1506
  "id": {
1789
- "description": "The unique identifier for the transmission in UUIDv7 format.",
1507
+ "description": "The unique identifier for the dialog in UUIDv7 format.",
1508
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
1790
1509
  "format": "guid",
1791
1510
  "type": "string"
1792
1511
  },
1793
- "isAuthorized": {
1794
- "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
1512
+ "isApiOnly": {
1513
+ "description": "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans.\nWhen true, human-readable content like title and summary are not required.",
1795
1514
  "type": "boolean"
1796
1515
  },
1797
- "relatedTransmissionId": {
1798
- "description": "The unique identifier for the related transmission, if any.",
1799
- "format": "guid",
1516
+ "latestActivity": {
1517
+ "description": "The latest entry in the dialog\u0027s activity log.",
1800
1518
  "nullable": true,
1801
- "type": "string"
1802
- },
1803
- "sender": {
1804
- "description": "The sender actor information for the transmission.",
1805
1519
  "oneOf": [
1806
1520
  {
1807
- "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1521
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogActivity"
1808
1522
  }
1809
1523
  ]
1810
1524
  },
1811
- "type": {
1812
- "description": "The type of the transmission.",
1525
+ "org": {
1526
+ "description": "The service owner code representing the organization (service owner) related to this dialog.",
1527
+ "example": "ske",
1528
+ "type": "string"
1529
+ },
1530
+ "party": {
1531
+ "description": "The party code representing the organization or person that the dialog belongs to in URN format.",
1532
+ "example": "urn:altinn:person:identifier-no:01125512345\nurn:altinn:organization:identifier-no:912345678",
1533
+ "type": "string"
1534
+ },
1535
+ "precedingProcess": {
1536
+ "description": "Optional preceding process identifier to indicate the business process that preceded the process indicated in the \u0022Process\u0022 field. Cannot be set without also \u0022Process\u0022 being set.",
1537
+ "nullable": true,
1538
+ "type": "string"
1539
+ },
1540
+ "process": {
1541
+ "description": "Optional process identifier used to indicate a business process this dialog belongs to.",
1542
+ "nullable": true,
1543
+ "type": "string"
1544
+ },
1545
+ "progress": {
1546
+ "description": "Advisory indicator of progress, represented as 1-100 percentage value. 100% representing a dialog that has come\nto a natural completion (successful or not).",
1547
+ "format": "int32",
1548
+ "nullable": true,
1549
+ "type": "integer"
1550
+ },
1551
+ "seenSinceLastUpdate": {
1552
+ "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
1553
+ "items": {
1554
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogSeenLog"
1555
+ },
1556
+ "nullable": true,
1557
+ "type": "array"
1558
+ },
1559
+ "serviceResource": {
1560
+ "description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
1561
+ "example": "urn:altinn:resource:some-service-identifier",
1562
+ "type": "string"
1563
+ },
1564
+ "serviceResourceType": {
1565
+ "description": "The ServiceResource type, as defined in Altinn Resource Registry (see ResourceType).",
1566
+ "type": "string"
1567
+ },
1568
+ "status": {
1569
+ "description": "The aggregated status of the dialog.",
1813
1570
  "oneOf": [
1814
1571
  {
1815
- "$ref": "#/components/schemas/DialogsEntitiesTransmissions_DialogTransmissionType"
1572
+ "$ref": "#/components/schemas/DialogsEntities_DialogStatus"
1816
1573
  }
1817
1574
  ]
1575
+ },
1576
+ "updatedAt": {
1577
+ "description": "The date and time when the dialog was last updated.",
1578
+ "example": "2022-12-31T23:59:59Z",
1579
+ "format": "date-time",
1580
+ "type": "string"
1818
1581
  }
1819
1582
  },
1820
1583
  "type": "object"
1821
1584
  },
1822
- "V1EndUserPartiesQueriesGet_AuthorizedParty": {
1585
+ "V1EndUserDialogsQueriesSearch_DialogActivity": {
1823
1586
  "additionalProperties": false,
1824
1587
  "properties": {
1825
- "hasKeyRole": {
1826
- "description": "Whether the authenticated user has a key role in the party.\n \nRead more about key roles (norwegian) at https://docs.altinn.studio/nb/altinn-studio/reference/configuration/authorization/guidelines_authorization/roles_and_rights/roles_er/#n\u00F8kkelroller",
1827
- "type": "boolean"
1828
- },
1829
- "hasOnlyAccessToSubParties": {
1830
- "description": "If the authenticated user has only access to sub parties of this party, and not this party itself.",
1831
- "type": "boolean"
1832
- },
1833
- "isAccessManager": {
1834
- "description": "Whether the authenticated user is an access manager of the party.\n \nRead more about access managers (norwegian) at https://docs.altinn.studio/nb/altinn-studio/reference/configuration/authorization/guidelines_authorization/roles_and_rights/roles_altinn/altinn_roles_administration/#tilgangsstrying",
1835
- "type": "boolean"
1836
- },
1837
- "isCurrentEndUser": {
1838
- "description": "Whether this party represents the authenticated user.",
1839
- "type": "boolean"
1840
- },
1841
- "isDeleted": {
1842
- "description": "Whether the party is deleted or not",
1843
- "type": "boolean"
1588
+ "createdAt": {
1589
+ "description": "The date and time when the activity was created.",
1590
+ "format": "date-time",
1591
+ "nullable": true,
1592
+ "type": "string"
1844
1593
  },
1845
- "isMainAdministrator": {
1846
- "description": "Whether the authenticated user is the main administrator of the party\n \nRead more about main administrator (norwegian) at https://docs.altinn.studio/nb/altinn-studio/reference/configuration/authorization/guidelines_authorization/roles_and_rights/roles_altinn/altinn_roles_administration/#hovedadministrator",
1847
- "type": "boolean"
1594
+ "description": {
1595
+ "description": "Unstructured text describing the activity. Only set if the activity type is \u0022Information\u0022.",
1596
+ "items": {
1597
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1598
+ },
1599
+ "nullable": true,
1600
+ "type": "array"
1848
1601
  },
1849
- "name": {
1850
- "description": "The name of the party (verbatim from CCR, usually in all caps)",
1851
- "example": "CONTOSO REAL ESTATE AS",
1602
+ "extendedType": {
1603
+ "description": "An arbitrary string with a service-specific activity type.\n \nConsult the service-specific documentation provided by the service owner for details (if in use).",
1604
+ "format": "uri",
1605
+ "nullable": true,
1852
1606
  "type": "string"
1853
1607
  },
1854
- "party": {
1855
- "description": "The party identifier in URN format",
1856
- "example": "urn:altinn:organization:identifier-no:912345678",
1608
+ "id": {
1609
+ "description": "The unique identifier for the activity in UUIDv7 format.",
1610
+ "format": "guid",
1857
1611
  "type": "string"
1858
1612
  },
1859
- "partyType": {
1860
- "description": "The type of the party, either \u0022Organization\u0022 or \u0022Person\u0022.",
1861
- "example": "Organization",
1862
- "type": "string"
1613
+ "performedBy": {
1614
+ "description": "The actor that performed the activity.",
1615
+ "oneOf": [
1616
+ {
1617
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1618
+ }
1619
+ ]
1863
1620
  },
1864
- "partyUuid": {
1865
- "description": "The UUID for the party.",
1621
+ "transmissionId": {
1622
+ "description": "If the activity is related to a particular transmission, this field will contain the transmission identifier.",
1866
1623
  "format": "guid",
1624
+ "nullable": true,
1867
1625
  "type": "string"
1868
1626
  },
1869
- "subParties": {
1870
- "description": "The sub parties of this party, if any. The sub party uses the same data model.",
1871
- "items": {
1872
- "$ref": "#/components/schemas/V1EndUserPartiesQueriesGet_AuthorizedParty"
1873
- },
1874
- "nullable": true,
1875
- "type": "array"
1627
+ "type": {
1628
+ "description": "The type of activity.",
1629
+ "oneOf": [
1630
+ {
1631
+ "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
1632
+ }
1633
+ ]
1876
1634
  }
1877
1635
  },
1878
1636
  "type": "object"
1879
1637
  },
1880
- "V1EndUserPartiesQueriesGet_Parties": {
1638
+ "V1EndUserDialogsQueriesSearch_DialogEndUserContext": {
1881
1639
  "additionalProperties": false,
1882
1640
  "properties": {
1883
- "authorizedParties": {
1641
+ "revision": {
1642
+ "description": "The unique identifier for the end user context revision in UUIDv4 format.",
1643
+ "example": "0196fccd-bf48-7d27-bdfc-4ad3b0f3bee5",
1644
+ "format": "guid",
1645
+ "type": "string"
1646
+ },
1647
+ "systemLabels": {
1648
+ "description": "System defined labels used to categorize dialogs.",
1884
1649
  "items": {
1885
- "$ref": "#/components/schemas/V1EndUserPartiesQueriesGet_AuthorizedParty"
1650
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
1886
1651
  },
1887
1652
  "nullable": true,
1888
1653
  "type": "array"
@@ -1890,179 +1655,360 @@
1890
1655
  },
1891
1656
  "type": "object"
1892
1657
  },
1893
- "V1ServiceOwnerCommonActors_Actor": {
1658
+ "V1EndUserDialogsQueriesSearch_DialogSeenLog": {
1894
1659
  "additionalProperties": false,
1895
1660
  "properties": {
1896
- "actorId": {
1897
- "description": "The identifier (national identity number or organization number) of the actor.",
1898
- "example": "urn:altinn:person:identifier-no:12018212345",
1899
- "nullable": true,
1661
+ "id": {
1662
+ "description": "The unique identifier for the seen log entry in UUIDv7 format.",
1663
+ "format": "guid",
1900
1664
  "type": "string"
1901
1665
  },
1902
- "actorName": {
1903
- "description": "The name of the actor.",
1904
- "example": "Ola Nordmann",
1666
+ "isCurrentEndUser": {
1667
+ "description": "Flag indicating whether the seen log entry was created by the current end user.",
1668
+ "type": "boolean"
1669
+ },
1670
+ "isViaServiceOwner": {
1671
+ "description": "Flag indicating whether the seen log entry was created via the service owner.\n \nThis is used when the service owner uses the service owner API to implement its own frontend.",
1905
1672
  "nullable": true,
1673
+ "type": "boolean"
1674
+ },
1675
+ "seenAt": {
1676
+ "description": "The timestamp when the dialog revision was seen.",
1677
+ "format": "date-time",
1906
1678
  "type": "string"
1907
1679
  },
1908
- "actorType": {
1909
- "description": "The type of actor; either the service owner, or someone representing the party.",
1680
+ "seenBy": {
1681
+ "description": "The actor that saw the dialog revision.",
1910
1682
  "oneOf": [
1911
1683
  {
1912
- "$ref": "#/components/schemas/Actors_ActorType"
1684
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1913
1685
  }
1914
1686
  ]
1915
1687
  }
1916
1688
  },
1917
1689
  "type": "object"
1918
1690
  },
1919
- "V1ServiceOwnerDialogActivitiesCreate_ActivityRequest": {
1691
+ "V1EndUserDialogsQueriesSearchActivities_Activity": {
1920
1692
  "additionalProperties": false,
1921
1693
  "properties": {
1922
1694
  "createdAt": {
1923
- "description": "If supplied, overrides the creating date and time for the transmission.\nIf not supplied, the current date /time will be used.",
1924
1695
  "format": "date-time",
1696
+ "type": "string"
1697
+ },
1698
+ "extendedType": {
1699
+ "format": "uri",
1925
1700
  "nullable": true,
1926
1701
  "type": "string"
1927
1702
  },
1928
- "description": {
1929
- "description": "Unstructured text describing the activity. Only set if the activity type is \u0022Information\u0022.",
1703
+ "id": {
1704
+ "format": "guid",
1705
+ "type": "string"
1706
+ },
1707
+ "seenByEndUserIdHash": {
1708
+ "nullable": true,
1709
+ "type": "string"
1710
+ },
1711
+ "transmissionId": {
1712
+ "format": "guid",
1713
+ "nullable": true,
1714
+ "type": "string"
1715
+ },
1716
+ "type": {
1717
+ "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
1718
+ }
1719
+ },
1720
+ "type": "object"
1721
+ },
1722
+ "V1EndUserDialogsQueriesSearchSeenLogs_SeenLog": {
1723
+ "additionalProperties": false,
1724
+ "properties": {
1725
+ "id": {
1726
+ "format": "guid",
1727
+ "type": "string"
1728
+ },
1729
+ "isCurrentEndUser": {
1730
+ "type": "boolean"
1731
+ },
1732
+ "isViaServiceOwner": {
1733
+ "type": "boolean"
1734
+ },
1735
+ "seenAt": {
1736
+ "format": "date-time",
1737
+ "type": "string"
1738
+ },
1739
+ "seenBy": {
1740
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1741
+ }
1742
+ },
1743
+ "type": "object"
1744
+ },
1745
+ "V1EndUserDialogsQueriesSearchTransmissions_Attachment": {
1746
+ "additionalProperties": false,
1747
+ "properties": {
1748
+ "displayName": {
1749
+ "description": "The display name of the attachment that should be used in GUIs.",
1930
1750
  "items": {
1931
1751
  "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1932
1752
  },
1933
1753
  "nullable": true,
1934
1754
  "type": "array"
1935
1755
  },
1936
- "extendedType": {
1937
- "description": "Arbitrary URI/URN describing a service-specific transmission type.",
1938
- "format": "uri",
1939
- "nullable": true,
1756
+ "id": {
1757
+ "description": "The unique identifier for the attachment in UUIDv7 format.",
1758
+ "format": "guid",
1940
1759
  "type": "string"
1941
1760
  },
1761
+ "urls": {
1762
+ "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
1763
+ "items": {
1764
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchTransmissions_AttachmentUrl"
1765
+ },
1766
+ "nullable": true,
1767
+ "type": "array"
1768
+ }
1769
+ },
1770
+ "type": "object"
1771
+ },
1772
+ "V1EndUserDialogsQueriesSearchTransmissions_AttachmentUrl": {
1773
+ "additionalProperties": false,
1774
+ "properties": {
1775
+ "consumerType": {
1776
+ "description": "The type of consumer the URL is intended for.",
1777
+ "oneOf": [
1778
+ {
1779
+ "$ref": "#/components/schemas/Attachments_AttachmentUrlConsumerType"
1780
+ }
1781
+ ]
1782
+ },
1942
1783
  "id": {
1943
- "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of activities.\nIf not supplied, a new UUIDv7 will be generated.",
1944
- "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
1784
+ "description": "The unique identifier for the attachment URL in UUIDv7 format.",
1945
1785
  "format": "guid",
1786
+ "type": "string"
1787
+ },
1788
+ "mediaType": {
1789
+ "description": "The media type of the attachment.",
1790
+ "example": "application/pdf\napplication/zip",
1946
1791
  "nullable": true,
1947
1792
  "type": "string"
1948
1793
  },
1949
- "performedBy": {
1950
- "description": "The actor that performed the activity.",
1794
+ "url": {
1795
+ "description": "The fully qualified URL of the attachment. Will be set to \u0022urn:dialogporten:unauthorized\u0022 if the user is\nnot authorized to access the transmission.",
1796
+ "example": "https://someendpoint.com/someattachment.pdf\nurn:dialogporten:unauthorized",
1797
+ "format": "uri",
1798
+ "type": "string"
1799
+ }
1800
+ },
1801
+ "type": "object"
1802
+ },
1803
+ "V1EndUserDialogsQueriesSearchTransmissions_Content": {
1804
+ "additionalProperties": false,
1805
+ "properties": {
1806
+ "contentReference": {
1807
+ "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
1808
+ "nullable": true,
1951
1809
  "oneOf": [
1952
1810
  {
1953
- "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
1811
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1954
1812
  }
1955
1813
  ]
1956
1814
  },
1957
- "transmissionId": {
1958
- "description": "If the activity is related to a particular transmission, this field will contain the transmission identifier.\nMust be present in the request body.",
1959
- "format": "guid",
1815
+ "summary": {
1816
+ "description": "The summary of the content.",
1960
1817
  "nullable": true,
1961
- "type": "string"
1818
+ "oneOf": [
1819
+ {
1820
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1821
+ }
1822
+ ]
1962
1823
  },
1963
- "type": {
1964
- "description": "The type of transmission.",
1824
+ "title": {
1825
+ "description": "The title of the content.",
1965
1826
  "oneOf": [
1966
1827
  {
1967
- "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
1828
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
1968
1829
  }
1969
1830
  ]
1970
1831
  }
1971
1832
  },
1972
1833
  "type": "object"
1973
1834
  },
1974
- "V1ServiceOwnerDialogActivitiesQueriesGet_Activity": {
1835
+ "V1EndUserDialogsQueriesSearchTransmissions_Transmission": {
1975
1836
  "additionalProperties": false,
1976
1837
  "properties": {
1838
+ "attachments": {
1839
+ "description": "The attachments associated with the transmission.",
1840
+ "items": {
1841
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchTransmissions_Attachment"
1842
+ },
1843
+ "nullable": true,
1844
+ "type": "array"
1845
+ },
1846
+ "authorizationAttribute": {
1847
+ "description": "The authorization attribute associated with the transmission.",
1848
+ "nullable": true,
1849
+ "type": "string"
1850
+ },
1851
+ "content": {
1852
+ "description": "The content of the transmission.",
1853
+ "oneOf": [
1854
+ {
1855
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchTransmissions_Content"
1856
+ }
1857
+ ]
1858
+ },
1977
1859
  "createdAt": {
1860
+ "description": "The date and time when the transmission was created.",
1978
1861
  "format": "date-time",
1979
- "nullable": true,
1980
1862
  "type": "string"
1981
1863
  },
1982
1864
  "deletedAt": {
1865
+ "description": "The date and time when the transmission was deleted, if applicable.",
1983
1866
  "format": "date-time",
1984
1867
  "nullable": true,
1985
1868
  "type": "string"
1986
1869
  },
1987
- "description": {
1988
- "items": {
1989
- "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1990
- },
1991
- "nullable": true,
1992
- "type": "array"
1993
- },
1994
1870
  "extendedType": {
1871
+ "description": "The extended type URI for the transmission.",
1995
1872
  "format": "uri",
1996
1873
  "nullable": true,
1997
1874
  "type": "string"
1998
1875
  },
1999
1876
  "id": {
1877
+ "description": "The unique identifier for the transmission in UUIDv7 format.",
2000
1878
  "format": "guid",
2001
1879
  "type": "string"
2002
1880
  },
2003
- "performedBy": {
2004
- "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
1881
+ "isAuthorized": {
1882
+ "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
1883
+ "type": "boolean"
2005
1884
  },
2006
- "transmissionId": {
1885
+ "relatedTransmissionId": {
1886
+ "description": "The unique identifier for the related transmission, if any.",
2007
1887
  "format": "guid",
2008
1888
  "nullable": true,
2009
1889
  "type": "string"
2010
1890
  },
1891
+ "sender": {
1892
+ "description": "The sender actor information for the transmission.",
1893
+ "oneOf": [
1894
+ {
1895
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1896
+ }
1897
+ ]
1898
+ },
2011
1899
  "type": {
2012
- "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
1900
+ "description": "The type of the transmission.",
1901
+ "oneOf": [
1902
+ {
1903
+ "$ref": "#/components/schemas/DialogsEntitiesTransmissions_DialogTransmissionType"
1904
+ }
1905
+ ]
2013
1906
  }
2014
1907
  },
2015
1908
  "type": "object"
2016
1909
  },
2017
- "V1ServiceOwnerDialogActivitiesQueriesNotificationCondition_NotificationCondition": {
1910
+ "V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetDialogSystemLabelsRequest": {
2018
1911
  "additionalProperties": false,
2019
1912
  "properties": {
2020
- "sendNotification": {
2021
- "type": "boolean"
1913
+ "dto": {
1914
+ "$ref": "#/components/schemas/V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel"
2022
1915
  }
2023
1916
  },
2024
1917
  "type": "object"
2025
1918
  },
2026
- "V1ServiceOwnerDialogActivitiesQueriesNotificationCondition_NotificationConditionType": {
2027
- "description": "",
2028
- "enum": [
2029
- "NotExists",
2030
- "Exists"
2031
- ],
2032
- "type": "string",
2033
- "x-enumNames": [
2034
- "NotExists",
2035
- "Exists"
2036
- ]
1919
+ "V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel": {
1920
+ "additionalProperties": false,
1921
+ "properties": {
1922
+ "dialogs": {
1923
+ "description": "List of target dialog ids with optional revision ids",
1924
+ "items": {
1925
+ "$ref": "#/components/schemas/V1EndUserEndUserContextCommandsBulkSetSystemLabels_DialogRevision"
1926
+ },
1927
+ "nullable": true,
1928
+ "type": "array"
1929
+ },
1930
+ "systemLabels": {
1931
+ "description": "List of system labels to set on target dialogs",
1932
+ "items": {
1933
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
1934
+ },
1935
+ "nullable": true,
1936
+ "type": "array"
1937
+ }
1938
+ },
1939
+ "type": "object"
1940
+ },
1941
+ "V1EndUserEndUserContextCommandsBulkSetSystemLabels_DialogRevision": {
1942
+ "additionalProperties": false,
1943
+ "properties": {
1944
+ "dialogId": {
1945
+ "description": "Target dialog id for system labels",
1946
+ "format": "guid",
1947
+ "type": "string"
1948
+ },
1949
+ "endUserContextRevision": {
1950
+ "description": "Optional end user context revision to match against. If supplied and not matching current revision, the entire operation will fail.",
1951
+ "format": "guid",
1952
+ "nullable": true,
1953
+ "type": "string"
1954
+ }
1955
+ },
1956
+ "type": "object"
1957
+ },
1958
+ "V1EndUserEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest": {
1959
+ "additionalProperties": false,
1960
+ "properties": {
1961
+ "systemLabels": {
1962
+ "items": {
1963
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
1964
+ },
1965
+ "nullable": true,
1966
+ "type": "array"
1967
+ }
1968
+ },
1969
+ "type": "object"
2037
1970
  },
2038
- "V1ServiceOwnerDialogActivitiesQueriesSearch_Activity": {
1971
+ "V1EndUserEndUserContextQueriesSearchLabelAssignmentLog_LabelAssignmentLog": {
2039
1972
  "additionalProperties": false,
2040
1973
  "properties": {
2041
- "createdAt": {
2042
- "format": "date-time",
1974
+ "action": {
2043
1975
  "type": "string"
2044
1976
  },
2045
- "deletedAt": {
1977
+ "createdAt": {
2046
1978
  "format": "date-time",
2047
- "nullable": true,
2048
1979
  "type": "string"
2049
1980
  },
2050
- "extendedType": {
2051
- "format": "uri",
2052
- "nullable": true,
1981
+ "name": {
2053
1982
  "type": "string"
2054
1983
  },
2055
- "id": {
2056
- "format": "guid",
1984
+ "performedBy": {
1985
+ "$ref": "#/components/schemas/V1EndUserCommonActors_Actor"
1986
+ }
1987
+ },
1988
+ "type": "object"
1989
+ },
1990
+ "V1ServiceOwnerCommonActors_Actor": {
1991
+ "additionalProperties": false,
1992
+ "properties": {
1993
+ "actorId": {
1994
+ "description": "The identifier (national identity number or organization number) of the actor.",
1995
+ "example": "urn:altinn:person:identifier-no:12018212345",
1996
+ "nullable": true,
2057
1997
  "type": "string"
2058
1998
  },
2059
- "transmissionId": {
2060
- "format": "guid",
1999
+ "actorName": {
2000
+ "description": "The name of the actor.",
2001
+ "example": "Ola Nordmann",
2061
2002
  "nullable": true,
2062
2003
  "type": "string"
2063
2004
  },
2064
- "type": {
2065
- "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
2005
+ "actorType": {
2006
+ "description": "The type of actor; either the service owner, or someone representing the party.",
2007
+ "oneOf": [
2008
+ {
2009
+ "$ref": "#/components/schemas/Actors_ActorType"
2010
+ }
2011
+ ]
2066
2012
  }
2067
2013
  },
2068
2014
  "type": "object"
@@ -2324,6 +2270,7 @@
2324
2270
  },
2325
2271
  "summary": {
2326
2272
  "description": "A short summary of the dialog and its current state.\nSupported media types: text/plain",
2273
+ "nullable": true,
2327
2274
  "oneOf": [
2328
2275
  {
2329
2276
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -2462,6 +2409,7 @@
2462
2409
  "type": "array"
2463
2410
  },
2464
2411
  "serviceOwnerContext": {
2412
+ "description": "Metadata about the dialog owned by the service owner.",
2465
2413
  "nullable": true,
2466
2414
  "oneOf": [
2467
2415
  {
@@ -2516,6 +2464,15 @@
2516
2464
  },
2517
2465
  "type": "object"
2518
2466
  },
2467
+ "V1ServiceOwnerDialogsCommandsCreate_DialogRequest": {
2468
+ "additionalProperties": false,
2469
+ "properties": {
2470
+ "dto": {
2471
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_Dialog"
2472
+ }
2473
+ },
2474
+ "type": "object"
2475
+ },
2519
2476
  "V1ServiceOwnerDialogsCommandsCreate_DialogServiceOwnerContext": {
2520
2477
  "additionalProperties": false,
2521
2478
  "properties": {
@@ -2758,6 +2715,7 @@
2758
2715
  },
2759
2716
  "summary": {
2760
2717
  "description": "The transmission summary.",
2718
+ "nullable": true,
2761
2719
  "oneOf": [
2762
2720
  {
2763
2721
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -2775,6 +2733,135 @@
2775
2733
  },
2776
2734
  "type": "object"
2777
2735
  },
2736
+ "V1ServiceOwnerDialogsCommandsCreateActivity_ActivityRequest": {
2737
+ "additionalProperties": false,
2738
+ "properties": {
2739
+ "createdAt": {
2740
+ "description": "If supplied, overrides the creating date and time for the transmission.\nIf not supplied, the current date /time will be used.",
2741
+ "format": "date-time",
2742
+ "nullable": true,
2743
+ "type": "string"
2744
+ },
2745
+ "description": {
2746
+ "description": "Unstructured text describing the activity. Only set if the activity type is \u0022Information\u0022.",
2747
+ "items": {
2748
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
2749
+ },
2750
+ "nullable": true,
2751
+ "type": "array"
2752
+ },
2753
+ "extendedType": {
2754
+ "description": "Arbitrary URI/URN describing a service-specific transmission type.",
2755
+ "format": "uri",
2756
+ "nullable": true,
2757
+ "type": "string"
2758
+ },
2759
+ "id": {
2760
+ "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of activities.\nIf not supplied, a new UUIDv7 will be generated.",
2761
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2762
+ "format": "guid",
2763
+ "nullable": true,
2764
+ "type": "string"
2765
+ },
2766
+ "performedBy": {
2767
+ "description": "The actor that performed the activity.",
2768
+ "oneOf": [
2769
+ {
2770
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
2771
+ }
2772
+ ]
2773
+ },
2774
+ "transmissionId": {
2775
+ "description": "If the activity is related to a particular transmission, this field will contain the transmission identifier.\nMust be present in the request body.",
2776
+ "format": "guid",
2777
+ "nullable": true,
2778
+ "type": "string"
2779
+ },
2780
+ "type": {
2781
+ "description": "The type of transmission.",
2782
+ "oneOf": [
2783
+ {
2784
+ "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
2785
+ }
2786
+ ]
2787
+ }
2788
+ },
2789
+ "type": "object"
2790
+ },
2791
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionRequest": {
2792
+ "additionalProperties": false,
2793
+ "properties": {
2794
+ "attachments": {
2795
+ "description": "The transmission-level attachments.",
2796
+ "items": {
2797
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionAttachment"
2798
+ },
2799
+ "nullable": true,
2800
+ "type": "array"
2801
+ },
2802
+ "authorizationAttribute": {
2803
+ "description": "Contains an authorization resource attributeId, that can used in custom authorization rules in the XACML service\npolicy, which by default is the policy belonging to the service referred to by \u0022serviceResource\u0022 in the dialog.\n \nCan also be used to refer to other service policies.",
2804
+ "example": "mycustomresource\n/* equivalent to the above */\nurn:altinn:subresource:mycustomresource\nurn:altinn:task:Task_1\n/* refer to another service */\nurn:altinn:resource:some-other-service-identifier",
2805
+ "nullable": true,
2806
+ "type": "string"
2807
+ },
2808
+ "content": {
2809
+ "description": "The transmission unstructured text content.",
2810
+ "nullable": true,
2811
+ "oneOf": [
2812
+ {
2813
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionContent"
2814
+ }
2815
+ ]
2816
+ },
2817
+ "createdAt": {
2818
+ "description": "If supplied, overrides the creating date and time for the transmission.\nIf not supplied, the current date /time will be used.",
2819
+ "format": "date-time",
2820
+ "type": "string"
2821
+ },
2822
+ "extendedType": {
2823
+ "description": "Arbitrary URI/URN describing a service-specific transmission type.\n \nRefer to the service-specific documentation provided by the service owner for details (if in use).",
2824
+ "format": "uri",
2825
+ "nullable": true,
2826
+ "type": "string"
2827
+ },
2828
+ "externalReference": {
2829
+ "description": "Arbitrary string with a service-specific reference to an external system or service.",
2830
+ "nullable": true,
2831
+ "type": "string"
2832
+ },
2833
+ "id": {
2834
+ "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of transmissions.\nIf not supplied, a new UUIDv7 will be generated.",
2835
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
2836
+ "format": "guid",
2837
+ "nullable": true,
2838
+ "type": "string"
2839
+ },
2840
+ "relatedTransmissionId": {
2841
+ "description": "Reference to any other transmission that this transmission is related to.",
2842
+ "format": "guid",
2843
+ "nullable": true,
2844
+ "type": "string"
2845
+ },
2846
+ "sender": {
2847
+ "description": "The actor that sent the transmission.",
2848
+ "oneOf": [
2849
+ {
2850
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
2851
+ }
2852
+ ]
2853
+ },
2854
+ "type": {
2855
+ "description": "The type of transmission.",
2856
+ "oneOf": [
2857
+ {
2858
+ "$ref": "#/components/schemas/DialogsEntitiesTransmissions_DialogTransmissionType"
2859
+ }
2860
+ ]
2861
+ }
2862
+ },
2863
+ "type": "object"
2864
+ },
2778
2865
  "V1ServiceOwnerDialogsCommandsUpdate_Activity": {
2779
2866
  "additionalProperties": false,
2780
2867
  "properties": {
@@ -3047,6 +3134,7 @@
3047
3134
  },
3048
3135
  "summary": {
3049
3136
  "description": "A short summary of the dialog and its current state. Must be text/plain.",
3137
+ "nullable": true,
3050
3138
  "oneOf": [
3051
3139
  {
3052
3140
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3186,6 +3274,15 @@
3186
3274
  },
3187
3275
  "type": "object"
3188
3276
  },
3277
+ "V1ServiceOwnerDialogsCommandsUpdate_DialogRequest": {
3278
+ "additionalProperties": false,
3279
+ "properties": {
3280
+ "dto": {
3281
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_Dialog"
3282
+ }
3283
+ },
3284
+ "type": "object"
3285
+ },
3189
3286
  "V1ServiceOwnerDialogsCommandsUpdate_GuiAction": {
3190
3287
  "additionalProperties": false,
3191
3288
  "properties": {
@@ -3404,6 +3501,7 @@
3404
3501
  },
3405
3502
  "summary": {
3406
3503
  "description": "The transmission summary.",
3504
+ "nullable": true,
3407
3505
  "oneOf": [
3408
3506
  {
3409
3507
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3421,57 +3519,6 @@
3421
3519
  },
3422
3520
  "type": "object"
3423
3521
  },
3424
- "V1ServiceOwnerDialogsCreate_DialogRequest": {
3425
- "additionalProperties": false,
3426
- "properties": {
3427
- "dto": {
3428
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_Dialog"
3429
- }
3430
- },
3431
- "type": "object"
3432
- },
3433
- "V1ServiceOwnerDialogSeenLogsQueriesGet_SeenLog": {
3434
- "additionalProperties": false,
3435
- "properties": {
3436
- "id": {
3437
- "format": "guid",
3438
- "type": "string"
3439
- },
3440
- "isViaServiceOwner": {
3441
- "nullable": true,
3442
- "type": "boolean"
3443
- },
3444
- "seenAt": {
3445
- "format": "date-time",
3446
- "type": "string"
3447
- },
3448
- "seenBy": {
3449
- "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
3450
- }
3451
- },
3452
- "type": "object"
3453
- },
3454
- "V1ServiceOwnerDialogSeenLogsQueriesSearch_SeenLog": {
3455
- "additionalProperties": false,
3456
- "properties": {
3457
- "id": {
3458
- "format": "guid",
3459
- "type": "string"
3460
- },
3461
- "isViaServiceOwner": {
3462
- "nullable": true,
3463
- "type": "boolean"
3464
- },
3465
- "seenAt": {
3466
- "format": "date-time",
3467
- "type": "string"
3468
- },
3469
- "seenBy": {
3470
- "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
3471
- }
3472
- },
3473
- "type": "object"
3474
- },
3475
3522
  "V1ServiceOwnerDialogsQueriesGet_Content": {
3476
3523
  "additionalProperties": false,
3477
3524
  "properties": {
@@ -3531,6 +3578,7 @@
3531
3578
  },
3532
3579
  "summary": {
3533
3580
  "description": "A short summary of the dialog and its current state.",
3581
+ "nullable": true,
3534
3582
  "oneOf": [
3535
3583
  {
3536
3584
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -3603,6 +3651,14 @@
3603
3651
  "nullable": true,
3604
3652
  "type": "string"
3605
3653
  },
3654
+ "endUserContext": {
3655
+ "description": "Metadata about the dialog owned by end-users.",
3656
+ "oneOf": [
3657
+ {
3658
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogEndUserContext"
3659
+ }
3660
+ ]
3661
+ },
3606
3662
  "expiresAt": {
3607
3663
  "description": "The expiration date for the dialog. This is the last date when the dialog is available for the end user.\n \nAfter this date is passed, the dialog will be considered expired and no longer available for the end user in any\nAPI. If not supplied, the dialog will be considered to never expire. This field can be changed by the service\nowner after the dialog has been created.",
3608
3664
  "example": "2022-12-31T23:59:59Z",
@@ -3692,7 +3748,12 @@
3692
3748
  "type": "array"
3693
3749
  },
3694
3750
  "serviceOwnerContext": {
3695
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext"
3751
+ "description": "Metadata about the dialog owned by the service owner.",
3752
+ "oneOf": [
3753
+ {
3754
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext"
3755
+ }
3756
+ ]
3696
3757
  },
3697
3758
  "serviceResource": {
3698
3759
  "description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
@@ -3704,18 +3765,10 @@
3704
3765
  "type": "string"
3705
3766
  },
3706
3767
  "status": {
3707
- "description": "The aggregated status of the dialog.",
3708
- "oneOf": [
3709
- {
3710
- "$ref": "#/components/schemas/DialogsEntities_DialogStatus"
3711
- }
3712
- ]
3713
- },
3714
- "systemLabel": {
3715
- "description": "Current display state.",
3768
+ "description": "The aggregated status of the dialog.",
3716
3769
  "oneOf": [
3717
3770
  {
3718
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
3771
+ "$ref": "#/components/schemas/DialogsEntities_DialogStatus"
3719
3772
  }
3720
3773
  ]
3721
3774
  },
@@ -3952,6 +4005,26 @@
3952
4005
  },
3953
4006
  "type": "object"
3954
4007
  },
4008
+ "V1ServiceOwnerDialogsQueriesGet_DialogEndUserContext": {
4009
+ "additionalProperties": false,
4010
+ "properties": {
4011
+ "revision": {
4012
+ "description": "The unique identifier for the end user context revision in UUIDv4 format.",
4013
+ "example": "0196fccd-bf48-7d27-bdfc-4ad3b0f3bee5",
4014
+ "format": "guid",
4015
+ "type": "string"
4016
+ },
4017
+ "systemLabels": {
4018
+ "description": "System defined labels used to categorize dialogs.",
4019
+ "items": {
4020
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
4021
+ },
4022
+ "nullable": true,
4023
+ "type": "array"
4024
+ }
4025
+ },
4026
+ "type": "object"
4027
+ },
3955
4028
  "V1ServiceOwnerDialogsQueriesGet_DialogGuiAction": {
3956
4029
  "additionalProperties": false,
3957
4030
  "properties": {
@@ -4055,6 +4128,12 @@
4055
4128
  "V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext": {
4056
4129
  "additionalProperties": false,
4057
4130
  "properties": {
4131
+ "revision": {
4132
+ "description": "The unique identifier for the service owner context revision in UUIDv4 format.",
4133
+ "example": "0196fccd-bf48-7d27-bdfc-4ad3b0f3bee5",
4134
+ "format": "guid",
4135
+ "type": "string"
4136
+ },
4058
4137
  "serviceOwnerLabels": {
4059
4138
  "description": "A list of labels, not visible in end-user APIs.",
4060
4139
  "items": {
@@ -4219,6 +4298,7 @@
4219
4298
  },
4220
4299
  "summary": {
4221
4300
  "description": "The transmission summary.",
4301
+ "nullable": true,
4222
4302
  "oneOf": [
4223
4303
  {
4224
4304
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -4246,6 +4326,252 @@
4246
4326
  },
4247
4327
  "type": "object"
4248
4328
  },
4329
+ "V1ServiceOwnerDialogsQueriesGetActivity_Activity": {
4330
+ "additionalProperties": false,
4331
+ "properties": {
4332
+ "createdAt": {
4333
+ "format": "date-time",
4334
+ "nullable": true,
4335
+ "type": "string"
4336
+ },
4337
+ "deletedAt": {
4338
+ "format": "date-time",
4339
+ "nullable": true,
4340
+ "type": "string"
4341
+ },
4342
+ "description": {
4343
+ "items": {
4344
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
4345
+ },
4346
+ "nullable": true,
4347
+ "type": "array"
4348
+ },
4349
+ "extendedType": {
4350
+ "format": "uri",
4351
+ "nullable": true,
4352
+ "type": "string"
4353
+ },
4354
+ "id": {
4355
+ "format": "guid",
4356
+ "type": "string"
4357
+ },
4358
+ "performedBy": {
4359
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
4360
+ },
4361
+ "transmissionId": {
4362
+ "format": "guid",
4363
+ "nullable": true,
4364
+ "type": "string"
4365
+ },
4366
+ "type": {
4367
+ "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
4368
+ }
4369
+ },
4370
+ "type": "object"
4371
+ },
4372
+ "V1ServiceOwnerDialogsQueriesGetSeenLog_SeenLog": {
4373
+ "additionalProperties": false,
4374
+ "properties": {
4375
+ "id": {
4376
+ "format": "guid",
4377
+ "type": "string"
4378
+ },
4379
+ "isViaServiceOwner": {
4380
+ "nullable": true,
4381
+ "type": "boolean"
4382
+ },
4383
+ "seenAt": {
4384
+ "format": "date-time",
4385
+ "type": "string"
4386
+ },
4387
+ "seenBy": {
4388
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
4389
+ }
4390
+ },
4391
+ "type": "object"
4392
+ },
4393
+ "V1ServiceOwnerDialogsQueriesGetTransmission_Attachment": {
4394
+ "additionalProperties": false,
4395
+ "properties": {
4396
+ "displayName": {
4397
+ "description": "The display name of the attachment that should be used in GUIs.",
4398
+ "items": {
4399
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
4400
+ },
4401
+ "nullable": true,
4402
+ "type": "array"
4403
+ },
4404
+ "id": {
4405
+ "description": "The unique identifier for the attachment in UUIDv7 format.",
4406
+ "format": "guid",
4407
+ "type": "string"
4408
+ },
4409
+ "urls": {
4410
+ "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
4411
+ "items": {
4412
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_AttachmentUrl"
4413
+ },
4414
+ "nullable": true,
4415
+ "type": "array"
4416
+ }
4417
+ },
4418
+ "type": "object"
4419
+ },
4420
+ "V1ServiceOwnerDialogsQueriesGetTransmission_AttachmentUrl": {
4421
+ "additionalProperties": false,
4422
+ "properties": {
4423
+ "consumerType": {
4424
+ "description": "The type of consumer the URL is intended for.",
4425
+ "oneOf": [
4426
+ {
4427
+ "$ref": "#/components/schemas/Attachments_AttachmentUrlConsumerType"
4428
+ }
4429
+ ]
4430
+ },
4431
+ "id": {
4432
+ "description": "The unique identifier for the attachment URL in UUIDv7 format.",
4433
+ "format": "guid",
4434
+ "type": "string"
4435
+ },
4436
+ "mediaType": {
4437
+ "description": "The media type of the attachment.",
4438
+ "example": "application/pdf\napplication/zip",
4439
+ "nullable": true,
4440
+ "type": "string"
4441
+ },
4442
+ "url": {
4443
+ "description": "The fully qualified URL of the attachment. Will be set to \u0022urn:dialogporten:unauthorized\u0022 if the user is\nnot authorized to access the transmission.",
4444
+ "example": "https://someendpoint.com/someattachment.pdf\nurn:dialogporten:unauthorized",
4445
+ "format": "uri",
4446
+ "type": "string"
4447
+ }
4448
+ },
4449
+ "type": "object"
4450
+ },
4451
+ "V1ServiceOwnerDialogsQueriesGetTransmission_Content": {
4452
+ "additionalProperties": false,
4453
+ "properties": {
4454
+ "contentReference": {
4455
+ "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
4456
+ "nullable": true,
4457
+ "oneOf": [
4458
+ {
4459
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
4460
+ }
4461
+ ]
4462
+ },
4463
+ "summary": {
4464
+ "description": "The summary of the content.",
4465
+ "nullable": true,
4466
+ "oneOf": [
4467
+ {
4468
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
4469
+ }
4470
+ ]
4471
+ },
4472
+ "title": {
4473
+ "description": "The title of the content.",
4474
+ "oneOf": [
4475
+ {
4476
+ "$ref": "#/components/schemas/V1CommonContent_ContentValue"
4477
+ }
4478
+ ]
4479
+ }
4480
+ },
4481
+ "type": "object"
4482
+ },
4483
+ "V1ServiceOwnerDialogsQueriesGetTransmission_Transmission": {
4484
+ "additionalProperties": false,
4485
+ "properties": {
4486
+ "attachments": {
4487
+ "description": "The attachments associated with the transmission.",
4488
+ "items": {
4489
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_Attachment"
4490
+ },
4491
+ "nullable": true,
4492
+ "type": "array"
4493
+ },
4494
+ "authorizationAttribute": {
4495
+ "description": "The authorization attribute associated with the transmission.",
4496
+ "nullable": true,
4497
+ "type": "string"
4498
+ },
4499
+ "content": {
4500
+ "description": "The content of the transmission.",
4501
+ "oneOf": [
4502
+ {
4503
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_Content"
4504
+ }
4505
+ ]
4506
+ },
4507
+ "createdAt": {
4508
+ "description": "The date and time when the transmission was created.",
4509
+ "format": "date-time",
4510
+ "type": "string"
4511
+ },
4512
+ "deletedAt": {
4513
+ "description": "The date and time when the transmission was deleted, if applicable.",
4514
+ "format": "date-time",
4515
+ "nullable": true,
4516
+ "type": "string"
4517
+ },
4518
+ "extendedType": {
4519
+ "description": "The extended type URI for the transmission.",
4520
+ "format": "uri",
4521
+ "nullable": true,
4522
+ "type": "string"
4523
+ },
4524
+ "id": {
4525
+ "description": "The unique identifier for the transmission in UUIDv7 format.",
4526
+ "format": "guid",
4527
+ "type": "string"
4528
+ },
4529
+ "relatedTransmissionId": {
4530
+ "description": "The unique identifier for the related transmission, if any.",
4531
+ "format": "guid",
4532
+ "nullable": true,
4533
+ "type": "string"
4534
+ },
4535
+ "sender": {
4536
+ "description": "The sender actor information for the transmission.",
4537
+ "oneOf": [
4538
+ {
4539
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
4540
+ }
4541
+ ]
4542
+ },
4543
+ "type": {
4544
+ "description": "The type of the transmission.",
4545
+ "oneOf": [
4546
+ {
4547
+ "$ref": "#/components/schemas/DialogsEntitiesTransmissions_DialogTransmissionType"
4548
+ }
4549
+ ]
4550
+ }
4551
+ },
4552
+ "type": "object"
4553
+ },
4554
+ "V1ServiceOwnerDialogsQueriesNotificationCondition_NotificationCondition": {
4555
+ "additionalProperties": false,
4556
+ "properties": {
4557
+ "sendNotification": {
4558
+ "type": "boolean"
4559
+ }
4560
+ },
4561
+ "type": "object"
4562
+ },
4563
+ "V1ServiceOwnerDialogsQueriesNotificationCondition_NotificationConditionType": {
4564
+ "description": "",
4565
+ "enum": [
4566
+ "NotExists",
4567
+ "Exists"
4568
+ ],
4569
+ "type": "string",
4570
+ "x-enumNames": [
4571
+ "NotExists",
4572
+ "Exists"
4573
+ ]
4574
+ },
4249
4575
  "V1ServiceOwnerDialogsQueriesSearch_Content": {
4250
4576
  "additionalProperties": false,
4251
4577
  "properties": {
@@ -4287,6 +4613,7 @@
4287
4613
  },
4288
4614
  "summary": {
4289
4615
  "description": "A short summary of the dialog and its current state.",
4616
+ "nullable": true,
4290
4617
  "oneOf": [
4291
4618
  {
4292
4619
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -4335,6 +4662,14 @@
4335
4662
  "nullable": true,
4336
4663
  "type": "string"
4337
4664
  },
4665
+ "endUserContext": {
4666
+ "description": "Metadata about the dialog owned by end-users.",
4667
+ "oneOf": [
4668
+ {
4669
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogEndUserContext"
4670
+ }
4671
+ ]
4672
+ },
4338
4673
  "extendedStatus": {
4339
4674
  "description": "Arbitrary string with a service-specific indicator of status, typically used to indicate a fine-grained state of\nthe dialog to further specify the \u0022status\u0022 enum.\n \nRefer to the service-specific documentation provided by the service owner for details on the possible values (if\nin use).",
4340
4675
  "nullable": true,
@@ -4411,7 +4746,12 @@
4411
4746
  "type": "array"
4412
4747
  },
4413
4748
  "serviceOwnerContext": {
4414
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext"
4749
+ "description": "Metadata about the dialog owned by the service owner.",
4750
+ "oneOf": [
4751
+ {
4752
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext"
4753
+ }
4754
+ ]
4415
4755
  },
4416
4756
  "serviceResource": {
4417
4757
  "description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
@@ -4430,14 +4770,6 @@
4430
4770
  }
4431
4771
  ]
4432
4772
  },
4433
- "systemLabel": {
4434
- "description": "Current display state.",
4435
- "oneOf": [
4436
- {
4437
- "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
4438
- }
4439
- ]
4440
- },
4441
4773
  "updatedAt": {
4442
4774
  "description": "The date and time when the dialog was last updated.",
4443
4775
  "example": "2022-12-31T23:59:59Z",
@@ -4506,6 +4838,26 @@
4506
4838
  },
4507
4839
  "type": "object"
4508
4840
  },
4841
+ "V1ServiceOwnerDialogsQueriesSearch_DialogEndUserContext": {
4842
+ "additionalProperties": false,
4843
+ "properties": {
4844
+ "revision": {
4845
+ "description": "The unique identifier for the end user context revision in UUIDv4 format.",
4846
+ "example": "0196fccd-bf48-7d27-bdfc-4ad3b0f3bee5",
4847
+ "format": "guid",
4848
+ "type": "string"
4849
+ },
4850
+ "systemLabels": {
4851
+ "description": "System defined labels used to categorize dialogs.",
4852
+ "items": {
4853
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
4854
+ },
4855
+ "nullable": true,
4856
+ "type": "array"
4857
+ }
4858
+ },
4859
+ "type": "object"
4860
+ },
4509
4861
  "V1ServiceOwnerDialogsQueriesSearch_DialogSeenLog": {
4510
4862
  "additionalProperties": false,
4511
4863
  "properties": {
@@ -4542,6 +4894,12 @@
4542
4894
  "V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext": {
4543
4895
  "additionalProperties": false,
4544
4896
  "properties": {
4897
+ "revision": {
4898
+ "description": "The unique identifier for the service owner context revision in UUIDv4 format.",
4899
+ "example": "0196fccd-bf48-7d27-bdfc-4ad3b0f3bee5",
4900
+ "format": "guid",
4901
+ "type": "string"
4902
+ },
4545
4903
  "serviceOwnerLabels": {
4546
4904
  "description": "A list of labels, not visible in end-user APIs.",
4547
4905
  "items": {
@@ -4563,90 +4921,60 @@
4563
4921
  },
4564
4922
  "type": "object"
4565
4923
  },
4566
- "V1ServiceOwnerDialogsUpdate_DialogRequest": {
4567
- "additionalProperties": false,
4568
- "properties": {
4569
- "dto": {
4570
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_Dialog"
4571
- }
4572
- },
4573
- "type": "object"
4574
- },
4575
- "V1ServiceOwnerDialogTransmissionsCreate_TransmissionRequest": {
4924
+ "V1ServiceOwnerDialogsQueriesSearchActivities_Activity": {
4576
4925
  "additionalProperties": false,
4577
4926
  "properties": {
4578
- "attachments": {
4579
- "description": "The transmission-level attachments.",
4580
- "items": {
4581
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionAttachment"
4582
- },
4583
- "nullable": true,
4584
- "type": "array"
4585
- },
4586
- "authorizationAttribute": {
4587
- "description": "Contains an authorization resource attributeId, that can used in custom authorization rules in the XACML service\npolicy, which by default is the policy belonging to the service referred to by \u0022serviceResource\u0022 in the dialog.\n \nCan also be used to refer to other service policies.",
4588
- "example": "mycustomresource\n/* equivalent to the above */\nurn:altinn:subresource:mycustomresource\nurn:altinn:task:Task_1\n/* refer to another service */\nurn:altinn:resource:some-other-service-identifier",
4589
- "nullable": true,
4927
+ "createdAt": {
4928
+ "format": "date-time",
4590
4929
  "type": "string"
4591
4930
  },
4592
- "content": {
4593
- "description": "The transmission unstructured text content.",
4594
- "nullable": true,
4595
- "oneOf": [
4596
- {
4597
- "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionContent"
4598
- }
4599
- ]
4600
- },
4601
- "createdAt": {
4602
- "description": "If supplied, overrides the creating date and time for the transmission.\nIf not supplied, the current date /time will be used.",
4931
+ "deletedAt": {
4603
4932
  "format": "date-time",
4933
+ "nullable": true,
4604
4934
  "type": "string"
4605
4935
  },
4606
4936
  "extendedType": {
4607
- "description": "Arbitrary URI/URN describing a service-specific transmission type.\n \nRefer to the service-specific documentation provided by the service owner for details (if in use).",
4608
4937
  "format": "uri",
4609
4938
  "nullable": true,
4610
4939
  "type": "string"
4611
4940
  },
4612
- "externalReference": {
4613
- "description": "Arbitrary string with a service-specific reference to an external system or service.",
4614
- "nullable": true,
4941
+ "id": {
4942
+ "format": "guid",
4615
4943
  "type": "string"
4616
4944
  },
4617
- "id": {
4618
- "description": "The UUDIv7 of the action may be provided to support idempotent additions to the list of transmissions.\nIf not supplied, a new UUIDv7 will be generated.",
4619
- "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
4945
+ "transmissionId": {
4620
4946
  "format": "guid",
4621
4947
  "nullable": true,
4622
4948
  "type": "string"
4623
4949
  },
4624
- "relatedTransmissionId": {
4625
- "description": "Reference to any other transmission that this transmission is related to.",
4950
+ "type": {
4951
+ "$ref": "#/components/schemas/DialogsEntitiesActivities_DialogActivityType"
4952
+ }
4953
+ },
4954
+ "type": "object"
4955
+ },
4956
+ "V1ServiceOwnerDialogsQueriesSearchSeenLogs_SeenLog": {
4957
+ "additionalProperties": false,
4958
+ "properties": {
4959
+ "id": {
4626
4960
  "format": "guid",
4627
- "nullable": true,
4628
4961
  "type": "string"
4629
4962
  },
4630
- "sender": {
4631
- "description": "The actor that sent the transmission.",
4632
- "oneOf": [
4633
- {
4634
- "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
4635
- }
4636
- ]
4963
+ "isViaServiceOwner": {
4964
+ "nullable": true,
4965
+ "type": "boolean"
4637
4966
  },
4638
- "type": {
4639
- "description": "The type of transmission.",
4640
- "oneOf": [
4641
- {
4642
- "$ref": "#/components/schemas/DialogsEntitiesTransmissions_DialogTransmissionType"
4643
- }
4644
- ]
4967
+ "seenAt": {
4968
+ "format": "date-time",
4969
+ "type": "string"
4970
+ },
4971
+ "seenBy": {
4972
+ "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
4645
4973
  }
4646
4974
  },
4647
4975
  "type": "object"
4648
4976
  },
4649
- "V1ServiceOwnerDialogTransmissionsQueriesGet_Attachment": {
4977
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_Attachment": {
4650
4978
  "additionalProperties": false,
4651
4979
  "properties": {
4652
4980
  "displayName": {
@@ -4665,7 +4993,7 @@
4665
4993
  "urls": {
4666
4994
  "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
4667
4995
  "items": {
4668
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesGet_AttachmentUrl"
4996
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_AttachmentUrl"
4669
4997
  },
4670
4998
  "nullable": true,
4671
4999
  "type": "array"
@@ -4673,7 +5001,7 @@
4673
5001
  },
4674
5002
  "type": "object"
4675
5003
  },
4676
- "V1ServiceOwnerDialogTransmissionsQueriesGet_AttachmentUrl": {
5004
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_AttachmentUrl": {
4677
5005
  "additionalProperties": false,
4678
5006
  "properties": {
4679
5007
  "consumerType": {
@@ -4704,7 +5032,7 @@
4704
5032
  },
4705
5033
  "type": "object"
4706
5034
  },
4707
- "V1ServiceOwnerDialogTransmissionsQueriesGet_Content": {
5035
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_Content": {
4708
5036
  "additionalProperties": false,
4709
5037
  "properties": {
4710
5038
  "contentReference": {
@@ -4718,6 +5046,7 @@
4718
5046
  },
4719
5047
  "summary": {
4720
5048
  "description": "The summary of the content.",
5049
+ "nullable": true,
4721
5050
  "oneOf": [
4722
5051
  {
4723
5052
  "$ref": "#/components/schemas/V1CommonContent_ContentValue"
@@ -4735,13 +5064,13 @@
4735
5064
  },
4736
5065
  "type": "object"
4737
5066
  },
4738
- "V1ServiceOwnerDialogTransmissionsQueriesGet_Transmission": {
5067
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_Transmission": {
4739
5068
  "additionalProperties": false,
4740
5069
  "properties": {
4741
5070
  "attachments": {
4742
5071
  "description": "The attachments associated with the transmission.",
4743
5072
  "items": {
4744
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesGet_Attachment"
5073
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_Attachment"
4745
5074
  },
4746
5075
  "nullable": true,
4747
5076
  "type": "array"
@@ -4755,7 +5084,7 @@
4755
5084
  "description": "The content of the transmission.",
4756
5085
  "oneOf": [
4757
5086
  {
4758
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesGet_Content"
5087
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_Content"
4759
5088
  }
4760
5089
  ]
4761
5090
  },
@@ -4776,6 +5105,11 @@
4776
5105
  "nullable": true,
4777
5106
  "type": "string"
4778
5107
  },
5108
+ "externalReference": {
5109
+ "description": "Arbitrary string with a service-specific reference to an external system or service.",
5110
+ "nullable": true,
5111
+ "type": "string"
5112
+ },
4779
5113
  "id": {
4780
5114
  "description": "The unique identifier for the transmission in UUIDv7 format.",
4781
5115
  "format": "guid",
@@ -4806,26 +5140,21 @@
4806
5140
  },
4807
5141
  "type": "object"
4808
5142
  },
4809
- "V1ServiceOwnerDialogTransmissionsQueriesSearch_Attachment": {
5143
+ "V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel": {
4810
5144
  "additionalProperties": false,
4811
5145
  "properties": {
4812
- "displayName": {
4813
- "description": "The display name of the attachment that should be used in GUIs.",
5146
+ "dialogs": {
5147
+ "description": "List of target dialog ids with optional revision ids",
4814
5148
  "items": {
4815
- "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5149
+ "$ref": "#/components/schemas/V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_DialogRevision"
4816
5150
  },
4817
5151
  "nullable": true,
4818
5152
  "type": "array"
4819
5153
  },
4820
- "id": {
4821
- "description": "The unique identifier for the attachment in UUIDv7 format.",
4822
- "format": "guid",
4823
- "type": "string"
4824
- },
4825
- "urls": {
4826
- "description": "The URLs associated with the attachment, each referring to a different representation of the attachment.",
5154
+ "systemLabels": {
5155
+ "description": "List of system labels to set on target dialogs",
4827
5156
  "items": {
4828
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesSearch_AttachmentUrl"
5157
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
4829
5158
  },
4830
5159
  "nullable": true,
4831
5160
  "type": "array"
@@ -4833,145 +5162,46 @@
4833
5162
  },
4834
5163
  "type": "object"
4835
5164
  },
4836
- "V1ServiceOwnerDialogTransmissionsQueriesSearch_AttachmentUrl": {
5165
+ "V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_DialogRevision": {
4837
5166
  "additionalProperties": false,
4838
5167
  "properties": {
4839
- "consumerType": {
4840
- "description": "The type of consumer the URL is intended for.",
4841
- "oneOf": [
4842
- {
4843
- "$ref": "#/components/schemas/Attachments_AttachmentUrlConsumerType"
4844
- }
4845
- ]
4846
- },
4847
- "id": {
4848
- "description": "The unique identifier for the attachment URL in UUIDv7 format.",
5168
+ "dialogId": {
5169
+ "description": "Target dialog id for system labels",
4849
5170
  "format": "guid",
4850
5171
  "type": "string"
4851
5172
  },
4852
- "mediaType": {
4853
- "description": "The media type of the attachment.",
4854
- "example": "application/pdf\napplication/zip",
5173
+ "endUserContextRevision": {
5174
+ "description": "Optional end user context revision to match against. If supplied and not matching current revision, the entire operation will fail.",
5175
+ "format": "guid",
4855
5176
  "nullable": true,
4856
5177
  "type": "string"
4857
- },
4858
- "url": {
4859
- "description": "The fully qualified URL of the attachment. Will be set to \u0022urn:dialogporten:unauthorized\u0022 if the user is\nnot authorized to access the transmission.",
4860
- "example": "https://someendpoint.com/someattachment.pdf\nurn:dialogporten:unauthorized",
4861
- "format": "uri",
4862
- "type": "string"
4863
5178
  }
4864
5179
  },
4865
5180
  "type": "object"
4866
5181
  },
4867
- "V1ServiceOwnerDialogTransmissionsQueriesSearch_Content": {
5182
+ "V1ServiceOwnerEndUserContextCommandsBulkSetSystenLabels_BulkSetDialogSystemLabelsRequest": {
4868
5183
  "additionalProperties": false,
4869
5184
  "properties": {
4870
- "contentReference": {
4871
- "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
4872
- "nullable": true,
4873
- "oneOf": [
4874
- {
4875
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
4876
- }
4877
- ]
4878
- },
4879
- "summary": {
4880
- "description": "The summary of the content.",
4881
- "oneOf": [
4882
- {
4883
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
4884
- }
4885
- ]
4886
- },
4887
- "title": {
4888
- "description": "The title of the content.",
4889
- "oneOf": [
4890
- {
4891
- "$ref": "#/components/schemas/V1CommonContent_ContentValue"
4892
- }
4893
- ]
5185
+ "dto": {
5186
+ "$ref": "#/components/schemas/V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel"
4894
5187
  }
4895
5188
  },
4896
5189
  "type": "object"
4897
5190
  },
4898
- "V1ServiceOwnerDialogTransmissionsQueriesSearch_Transmission": {
5191
+ "V1ServiceOwnerEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest": {
4899
5192
  "additionalProperties": false,
4900
5193
  "properties": {
4901
- "attachments": {
4902
- "description": "The attachments associated with the transmission.",
5194
+ "systemLabels": {
4903
5195
  "items": {
4904
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesSearch_Attachment"
5196
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
4905
5197
  },
4906
5198
  "nullable": true,
4907
5199
  "type": "array"
4908
- },
4909
- "authorizationAttribute": {
4910
- "description": "The authorization attribute associated with the transmission.",
4911
- "nullable": true,
4912
- "type": "string"
4913
- },
4914
- "content": {
4915
- "description": "The content of the transmission.",
4916
- "oneOf": [
4917
- {
4918
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesSearch_Content"
4919
- }
4920
- ]
4921
- },
4922
- "createdAt": {
4923
- "description": "The date and time when the transmission was created.",
4924
- "format": "date-time",
4925
- "type": "string"
4926
- },
4927
- "deletedAt": {
4928
- "description": "The date and time when the transmission was deleted, if applicable.",
4929
- "format": "date-time",
4930
- "nullable": true,
4931
- "type": "string"
4932
- },
4933
- "extendedType": {
4934
- "description": "The extended type URI for the transmission.",
4935
- "format": "uri",
4936
- "nullable": true,
4937
- "type": "string"
4938
- },
4939
- "externalReference": {
4940
- "description": "Arbitrary string with a service-specific reference to an external system or service.",
4941
- "nullable": true,
4942
- "type": "string"
4943
- },
4944
- "id": {
4945
- "description": "The unique identifier for the transmission in UUIDv7 format.",
4946
- "format": "guid",
4947
- "type": "string"
4948
- },
4949
- "relatedTransmissionId": {
4950
- "description": "The unique identifier for the related transmission, if any.",
4951
- "format": "guid",
4952
- "nullable": true,
4953
- "type": "string"
4954
- },
4955
- "sender": {
4956
- "description": "The sender actor information for the transmission.",
4957
- "oneOf": [
4958
- {
4959
- "$ref": "#/components/schemas/V1ServiceOwnerCommonActors_Actor"
4960
- }
4961
- ]
4962
- },
4963
- "type": {
4964
- "description": "The type of the transmission.",
4965
- "oneOf": [
4966
- {
4967
- "$ref": "#/components/schemas/DialogsEntitiesTransmissions_DialogTransmissionType"
4968
- }
4969
- ]
4970
5200
  }
4971
5201
  },
4972
5202
  "type": "object"
4973
5203
  },
4974
- "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label": {
5204
+ "V1ServiceOwnerServiceOwnerContextCommandsCreateServiceOwnerLabel_Label": {
4975
5205
  "additionalProperties": false,
4976
5206
  "properties": {
4977
5207
  "value": {
@@ -4980,11 +5210,11 @@
4980
5210
  },
4981
5211
  "type": "object"
4982
5212
  },
4983
- "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_ServiceOwnerLabelRequest": {
5213
+ "V1ServiceOwnerServiceOwnerContextCommandsCreateServiceOwnerLabel_ServiceOwnerLabelRequest": {
4984
5214
  "additionalProperties": false,
4985
5215
  "properties": {
4986
5216
  "dto": {
4987
- "$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label"
5217
+ "$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextCommandsCreateServiceOwnerLabel_Label"
4988
5218
  }
4989
5219
  },
4990
5220
  "type": "object"
@@ -5102,7 +5332,7 @@
5102
5332
  "/api/v1/enduser/dialogs": {
5103
5333
  "get": {
5104
5334
  "description": "Performs a search for dialogs, returning a paginated list of dialogs. \n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00\u002B01:00\n* See \u0022continuationToken\u0022 in the response for how to get the next page of results.\n* hasNextPage will be set to true if there are more items to get.",
5105
- "operationId": "V1EndUserDialogsSearch_Dialog",
5335
+ "operationId": "V1EndUserDialogsQueriesSearch_Dialog",
5106
5336
  "parameters": [
5107
5337
  {
5108
5338
  "description": "Filter by one or more service owner codes",
@@ -5360,7 +5590,7 @@
5360
5590
  "/api/v1/enduser/dialogs/{dialogId}": {
5361
5591
  "get": {
5362
5592
  "description": "Gets a single dialog aggregate. ",
5363
- "operationId": "V1EndUserDialogsGet_Dialog",
5593
+ "operationId": "V1EndUserDialogsQueriesGet_Dialog",
5364
5594
  "parameters": [
5365
5595
  {
5366
5596
  "in": "path",
@@ -5416,7 +5646,7 @@
5416
5646
  "/api/v1/enduser/dialogs/{dialogId}/activities": {
5417
5647
  "get": {
5418
5648
  "description": "Gets the list of activities belonging to a dialog",
5419
- "operationId": "V1EndUserDialogActivitiesSearch_DialogActivity",
5649
+ "operationId": "V1EndUserDialogsQueriesSearchActivities_DialogActivity",
5420
5650
  "parameters": [
5421
5651
  {
5422
5652
  "in": "path",
@@ -5434,7 +5664,7 @@
5434
5664
  "application/json": {
5435
5665
  "schema": {
5436
5666
  "items": {
5437
- "$ref": "#/components/schemas/V1EndUserDialogActivitiesQueriesSearch_Activity"
5667
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchActivities_Activity"
5438
5668
  },
5439
5669
  "type": "array"
5440
5670
  }
@@ -5475,7 +5705,7 @@
5475
5705
  "/api/v1/enduser/dialogs/{dialogId}/activities/{activityId}": {
5476
5706
  "get": {
5477
5707
  "description": "Gets a single activity belonging to a dialog.",
5478
- "operationId": "V1EndUserDialogActivitiesGet_DialogActivity",
5708
+ "operationId": "V1EndUserDialogsQueriesGetActivity_DialogActivity",
5479
5709
  "parameters": [
5480
5710
  {
5481
5711
  "in": "path",
@@ -5501,7 +5731,7 @@
5501
5731
  "content": {
5502
5732
  "application/json": {
5503
5733
  "schema": {
5504
- "$ref": "#/components/schemas/V1EndUserDialogActivitiesQueriesGet_Activity"
5734
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetActivity_Activity"
5505
5735
  }
5506
5736
  }
5507
5737
  },
@@ -5539,7 +5769,7 @@
5539
5769
  },
5540
5770
  "/api/v1/enduser/dialogs/{dialogId}/context/labellog": {
5541
5771
  "get": {
5542
- "operationId": "V1EndUserDialogLabelAssignmentLogsSearch_DialogLabelAssignmentLog",
5772
+ "operationId": "V1EndUserEndUserContextQueriesSearchLabelAssignmentLogs_DialogLabelAssignmentLog",
5543
5773
  "parameters": [
5544
5774
  {
5545
5775
  "in": "path",
@@ -5557,7 +5787,7 @@
5557
5787
  "application/json": {
5558
5788
  "schema": {
5559
5789
  "items": {
5560
- "$ref": "#/components/schemas/V1EndUserDialogLabelAssignmentLogQueriesSearch_LabelAssignmentLog"
5790
+ "$ref": "#/components/schemas/V1EndUserEndUserContextQueriesSearchLabelAssignmentLog_LabelAssignmentLog"
5561
5791
  },
5562
5792
  "type": "array"
5563
5793
  }
@@ -5599,7 +5829,8 @@
5599
5829
  },
5600
5830
  "/api/v1/enduser/dialogs/{dialogId}/context/systemlabels": {
5601
5831
  "put": {
5602
- "operationId": "V1EndUserDialogSystemLabelsSet_SetDialogSystemLabel",
5832
+ "description": "Sets the system labels of the dialog.\n\nOptimistic concurrency control is implemented using the If-Match header. Supply EnduserContextRevision to ensure that the context is not modified/deleted by another request in the meantime.",
5833
+ "operationId": "V1EndUserEndUserContextCommandsSetSystemLabel_SetDialogSystemLabels",
5603
5834
  "parameters": [
5604
5835
  {
5605
5836
  "in": "path",
@@ -5624,7 +5855,7 @@
5624
5855
  "content": {
5625
5856
  "application/json": {
5626
5857
  "schema": {
5627
- "$ref": "#/components/schemas/V1EndUserDialogSystemLabelsSet_SetDialogSystemLabelRequest"
5858
+ "$ref": "#/components/schemas/V1EndUserEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest"
5628
5859
  }
5629
5860
  }
5630
5861
  },
@@ -5635,7 +5866,16 @@
5635
5866
  },
5636
5867
  "responses": {
5637
5868
  "204": {
5638
- "description": "No Content"
5869
+ "description": "The dialog system label was updated successfully.",
5870
+ "headers": {
5871
+ "Etag": {
5872
+ "description": "The new UUID ETag of the dialog",
5873
+ "example": "123e4567-e89b-12d3-a456-426614174000",
5874
+ "schema": {
5875
+ "type": "string"
5876
+ }
5877
+ }
5878
+ }
5639
5879
  },
5640
5880
  "400": {
5641
5881
  "content": {
@@ -5645,13 +5885,13 @@
5645
5885
  }
5646
5886
  }
5647
5887
  },
5648
- "description": "Bad Request"
5888
+ "description": "Validation error occurred. See problem details for a list of errors."
5649
5889
  },
5650
5890
  "401": {
5651
- "description": "Unauthorized"
5891
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
5652
5892
  },
5653
5893
  "403": {
5654
- "description": "Forbidden"
5894
+ "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
5655
5895
  },
5656
5896
  "404": {
5657
5897
  "content": {
@@ -5661,10 +5901,10 @@
5661
5901
  }
5662
5902
  }
5663
5903
  },
5664
- "description": "Not Found"
5904
+ "description": "The given dialog ID was not found."
5665
5905
  },
5666
5906
  "410": {
5667
- "description": ""
5907
+ "description": "Entity with the given key(s) is removed."
5668
5908
  },
5669
5909
  "412": {
5670
5910
  "content": {
@@ -5674,7 +5914,7 @@
5674
5914
  }
5675
5915
  }
5676
5916
  },
5677
- "description": ""
5917
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
5678
5918
  },
5679
5919
  "422": {
5680
5920
  "content": {
@@ -5684,7 +5924,7 @@
5684
5924
  }
5685
5925
  }
5686
5926
  },
5687
- "description": ""
5927
+ "description": "Domain error occurred. See problem details for a list of errors."
5688
5928
  }
5689
5929
  },
5690
5930
  "security": [
@@ -5694,6 +5934,7 @@
5694
5934
  ]
5695
5935
  }
5696
5936
  ],
5937
+ "summary": "Sets the system labels of a dialog",
5697
5938
  "tags": [
5698
5939
  "Enduser"
5699
5940
  ]
@@ -5702,7 +5943,7 @@
5702
5943
  "/api/v1/enduser/dialogs/{dialogId}/seenlog": {
5703
5944
  "get": {
5704
5945
  "description": "Gets all seen log records for a dialog.",
5705
- "operationId": "V1EndUserDialogSeenLogsSearch_DialogSeenLog",
5946
+ "operationId": "V1EndUserDialogsQueriesSearchSeenLogs_DialogSeenLog",
5706
5947
  "parameters": [
5707
5948
  {
5708
5949
  "in": "path",
@@ -5720,7 +5961,7 @@
5720
5961
  "application/json": {
5721
5962
  "schema": {
5722
5963
  "items": {
5723
- "$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesSearch_SeenLog"
5964
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchSeenLogs_SeenLog"
5724
5965
  },
5725
5966
  "type": "array"
5726
5967
  }
@@ -5761,7 +6002,7 @@
5761
6002
  "/api/v1/enduser/dialogs/{dialogId}/seenlog/{seenLogId}": {
5762
6003
  "get": {
5763
6004
  "description": "Gets a single dialog seen log record.",
5764
- "operationId": "V1EndUserDialogSeenLogsGet_DialogSeenLog",
6005
+ "operationId": "V1EndUserDialogsQueriesGetSeenLog_DialogSeenLog",
5765
6006
  "parameters": [
5766
6007
  {
5767
6008
  "in": "path",
@@ -5787,7 +6028,7 @@
5787
6028
  "content": {
5788
6029
  "application/json": {
5789
6030
  "schema": {
5790
- "$ref": "#/components/schemas/V1EndUserDialogSeenLogsQueriesGet_SeenLog"
6031
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetSeenLog_SeenLog"
5791
6032
  }
5792
6033
  }
5793
6034
  },
@@ -5826,7 +6067,7 @@
5826
6067
  "/api/v1/enduser/dialogs/{dialogId}/transmissions": {
5827
6068
  "get": {
5828
6069
  "description": "Gets the list of transmissions belonging to a dialog",
5829
- "operationId": "V1EndUserDialogTransmissionsSearch_DialogTransmission",
6070
+ "operationId": "V1EndUserDialogsQueriesSearchTransmissions_DialogTransmission",
5830
6071
  "parameters": [
5831
6072
  {
5832
6073
  "in": "path",
@@ -5844,7 +6085,7 @@
5844
6085
  "application/json": {
5845
6086
  "schema": {
5846
6087
  "items": {
5847
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesSearch_Transmission"
6088
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchTransmissions_Transmission"
5848
6089
  },
5849
6090
  "type": "array"
5850
6091
  }
@@ -5888,7 +6129,7 @@
5888
6129
  "/api/v1/enduser/dialogs/{dialogId}/transmissions/{transmissionId}": {
5889
6130
  "get": {
5890
6131
  "description": "Gets a single transmission belonging to a dialog.",
5891
- "operationId": "V1EndUserDialogTransmissionsGet_DialogTransmission",
6132
+ "operationId": "V1EndUserDialogsQueriesGetTransmission_DialogTransmission",
5892
6133
  "parameters": [
5893
6134
  {
5894
6135
  "in": "path",
@@ -5914,7 +6155,7 @@
5914
6155
  "content": {
5915
6156
  "application/json": {
5916
6157
  "schema": {
5917
- "$ref": "#/components/schemas/V1EndUserDialogTransmissionsQueriesGet_Transmission"
6158
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetTransmission_Transmission"
5918
6159
  }
5919
6160
  }
5920
6161
  },
@@ -5953,17 +6194,86 @@
5953
6194
  ]
5954
6195
  }
5955
6196
  },
6197
+ "/api/v1/enduser/dialogs/context/systemlabels/actions/bulkset": {
6198
+ "post": {
6199
+ "description": "Sets the system labels for a list of dialogs, optionally including a end user context revision for each dialog.",
6200
+ "operationId": "V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetDialogSystemLabels",
6201
+ "requestBody": {
6202
+ "content": {
6203
+ "application/json": {
6204
+ "schema": {
6205
+ "$ref": "#/components/schemas/V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel"
6206
+ }
6207
+ }
6208
+ },
6209
+ "required": true,
6210
+ "x-name": "dto"
6211
+ },
6212
+ "responses": {
6213
+ "204": {
6214
+ "description": "The dialog system labels was updated successfully."
6215
+ },
6216
+ "400": {
6217
+ "content": {
6218
+ "application/problem\u002Bjson": {
6219
+ "schema": {
6220
+ "$ref": "#/components/schemas/ProblemDetails"
6221
+ }
6222
+ }
6223
+ },
6224
+ "description": "Validation error occurred. See problem details for a list of errors."
6225
+ },
6226
+ "401": {
6227
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
6228
+ },
6229
+ "403": {
6230
+ "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
6231
+ },
6232
+ "412": {
6233
+ "content": {
6234
+ "application/problem\u002Bjson": {
6235
+ "schema": {
6236
+ "$ref": "#/components/schemas/ProblemDetails"
6237
+ }
6238
+ }
6239
+ },
6240
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
6241
+ },
6242
+ "422": {
6243
+ "content": {
6244
+ "application/problem\u002Bjson": {
6245
+ "schema": {
6246
+ "$ref": "#/components/schemas/ProblemDetails"
6247
+ }
6248
+ }
6249
+ },
6250
+ "description": "Domain error occurred. See problem details for a list of errors."
6251
+ }
6252
+ },
6253
+ "security": [
6254
+ {
6255
+ "JWTBearerAuth": [
6256
+ "digdir:dialogporten"
6257
+ ]
6258
+ }
6259
+ ],
6260
+ "summary": "Sets system labels for multiple dialogs",
6261
+ "tags": [
6262
+ "Enduser"
6263
+ ]
6264
+ }
6265
+ },
5956
6266
  "/api/v1/enduser/parties": {
5957
6267
  "get": {
5958
6268
  "description": "Gets the list of authorized parties for the end user.",
5959
- "operationId": "V1EndUserPartiesGet_Parties",
6269
+ "operationId": "V1EndUserAccessManagementQueriesGetParties_Parties",
5960
6270
  "responses": {
5961
6271
  "200": {
5962
6272
  "content": {
5963
6273
  "application/json": {
5964
6274
  "schema": {
5965
6275
  "items": {
5966
- "$ref": "#/components/schemas/V1EndUserPartiesQueriesGet_Parties"
6276
+ "$ref": "#/components/schemas/V1AccessManagementQueriesGetParties_Parties"
5967
6277
  },
5968
6278
  "type": "array"
5969
6279
  }
@@ -5994,7 +6304,7 @@
5994
6304
  "/api/v1/serviceowner/dialogs": {
5995
6305
  "get": {
5996
6306
  "description": "Performs a search for dialogs, returning a paginated list of dialogs.\n\n* All date parameters must contain explicit time zone. Example: 2023-10-27T10:00:00Z or 2023-10-27T10:00:00\u002B01:00\n* See \u0022continuationToken\u0022 in the response for how to get the next page of results.\n* hasNextPage will be set to true if there are more items to get.",
5997
- "operationId": "V1ServiceOwnerDialogsSearch_Dialog",
6307
+ "operationId": "V1ServiceOwnerDialogsQueriesSearch_Dialog",
5998
6308
  "parameters": [
5999
6309
  {
6000
6310
  "description": "Filter by one or more service resources",
@@ -6293,7 +6603,7 @@
6293
6603
  },
6294
6604
  "post": {
6295
6605
  "description": "The dialog is created with the given configuration.\n\nFor detailed information on validation rules, see [the source for CreateDialogCommandValidator](https://github.com/altinn/dialogporten/blob/main/src/Digdir.Domain.Dialogporten.Application/Features/V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommandValidator.cs)",
6296
- "operationId": "V1ServiceOwnerDialogsCreate_Dialog",
6606
+ "operationId": "V1ServiceOwnerDialogsCommandsCreate_Dialog",
6297
6607
  "requestBody": {
6298
6608
  "content": {
6299
6609
  "application/json": {
@@ -6375,7 +6685,7 @@
6375
6685
  "/api/v1/serviceowner/dialogs/{dialogId}": {
6376
6686
  "delete": {
6377
6687
  "description": "Deletes a given dialog (soft delete).\n\nNote that the dialog will still be available on the single details endpoint, but will have a deleted status. It will not appear on the list endpoint for either service owners nor end users.\nIf end users attempt to access the dialog via the details endpoint, they will get a 410 Gone response.\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not deleted by another request in the meantime.",
6378
- "operationId": "V1ServiceOwnerDialogsDelete_Dialog",
6688
+ "operationId": "V1ServiceOwnerDialogsCommandsDelete_Dialog",
6379
6689
  "parameters": [
6380
6690
  {
6381
6691
  "in": "path",
@@ -6463,7 +6773,7 @@
6463
6773
  },
6464
6774
  "get": {
6465
6775
  "description": "Gets a single dialog aggregate.\n\nNote that this operation may return deleted dialogs (see the field \u0060DeletedAt\u0060).",
6466
- "operationId": "V1ServiceOwnerDialogsGet_Dialog",
6776
+ "operationId": "V1ServiceOwnerDialogsQueriesGet_Dialog",
6467
6777
  "parameters": [
6468
6778
  {
6469
6779
  "in": "path",
@@ -6649,7 +6959,7 @@
6649
6959
  },
6650
6960
  "put": {
6651
6961
  "description": "Replaces a given dialog with the supplied model.\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not modified/deleted by another request in the meantime.",
6652
- "operationId": "V1ServiceOwnerDialogsUpdate_Dialog",
6962
+ "operationId": "V1ServiceOwnerDialogsCommandsUpdate_Dialog",
6653
6963
  "parameters": [
6654
6964
  {
6655
6965
  "in": "path",
@@ -6760,7 +7070,7 @@
6760
7070
  "/api/v1/serviceowner/dialogs/{dialogId}/actions/purge": {
6761
7071
  "post": {
6762
7072
  "description": "Deletes a given dialog (hard delete).\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not deleted by another request in the meantime.",
6763
- "operationId": "V1ServiceOwnerDialogsPurge_Dialog",
7073
+ "operationId": "V1ServiceOwnerDialogsCommandsPurge_Dialog",
6764
7074
  "parameters": [
6765
7075
  {
6766
7076
  "in": "path",
@@ -6828,7 +7138,7 @@
6828
7138
  "/api/v1/serviceowner/dialogs/{dialogId}/actions/restore": {
6829
7139
  "post": {
6830
7140
  "description": "Restore a dialog. ",
6831
- "operationId": "V1ServiceOwnerDialogsRestore_Dialog",
7141
+ "operationId": "V1ServiceOwnerDialogsCommandsRestore_Dialog",
6832
7142
  "parameters": [
6833
7143
  {
6834
7144
  "in": "path",
@@ -6896,7 +7206,7 @@
6896
7206
  "/api/v1/serviceowner/dialogs/{dialogId}/actions/should-send-notification": {
6897
7207
  "get": {
6898
7208
  "description": "Used by Altinn Notification only. Takes a dialogId and returns a boolean value based on conditions used to determine if a notification is to be sent.",
6899
- "operationId": "V1ServiceOwnerDialogActivitiesNotificationCondition_NotificationCondition",
7209
+ "operationId": "V1ServiceOwnerDialogsQueriesNotificationCondition_NotificationCondition",
6900
7210
  "parameters": [
6901
7211
  {
6902
7212
  "in": "path",
@@ -6914,7 +7224,7 @@
6914
7224
  "schema": {
6915
7225
  "allOf": [
6916
7226
  {
6917
- "$ref": "#/components/schemas/V1ServiceOwnerDialogActivitiesQueriesNotificationCondition_NotificationConditionType"
7227
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesNotificationCondition_NotificationConditionType"
6918
7228
  }
6919
7229
  ]
6920
7230
  }
@@ -6946,7 +7256,7 @@
6946
7256
  "content": {
6947
7257
  "application/json": {
6948
7258
  "schema": {
6949
- "$ref": "#/components/schemas/V1ServiceOwnerDialogActivitiesQueriesNotificationCondition_NotificationCondition"
7259
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesNotificationCondition_NotificationCondition"
6950
7260
  }
6951
7261
  }
6952
7262
  },
@@ -6975,7 +7285,7 @@
6975
7285
  "/api/v1/serviceowner/dialogs/{dialogId}/activities": {
6976
7286
  "get": {
6977
7287
  "description": "Gets the list of activities belonging to a dialog",
6978
- "operationId": "V1ServiceOwnerDialogActivitiesSearch_DialogActivity",
7288
+ "operationId": "V1ServiceOwnerDialogsQueriesSearchActivities_DialogActivity",
6979
7289
  "parameters": [
6980
7290
  {
6981
7291
  "in": "path",
@@ -6993,7 +7303,7 @@
6993
7303
  "application/json": {
6994
7304
  "schema": {
6995
7305
  "items": {
6996
- "$ref": "#/components/schemas/V1ServiceOwnerDialogActivitiesQueriesSearch_Activity"
7306
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchActivities_Activity"
6997
7307
  },
6998
7308
  "type": "array"
6999
7309
  }
@@ -7032,7 +7342,7 @@
7032
7342
  },
7033
7343
  "post": {
7034
7344
  "description": "The activity is created with the given configuration.\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not modified/deleted by another request in the meantime.",
7035
- "operationId": "V1ServiceOwnerDialogActivitiesCreate_DialogActivity",
7345
+ "operationId": "V1ServiceOwnerDialogsCommandsCreateActivity_DialogActivity",
7036
7346
  "parameters": [
7037
7347
  {
7038
7348
  "in": "path",
@@ -7057,7 +7367,7 @@
7057
7367
  "content": {
7058
7368
  "application/json": {
7059
7369
  "schema": {
7060
- "$ref": "#/components/schemas/V1ServiceOwnerDialogActivitiesCreate_ActivityRequest"
7370
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateActivity_ActivityRequest"
7061
7371
  }
7062
7372
  }
7063
7373
  },
@@ -7156,7 +7466,7 @@
7156
7466
  "/api/v1/serviceowner/dialogs/{dialogId}/activities/{activityId}": {
7157
7467
  "get": {
7158
7468
  "description": "Gets a single activity belonging to a dialog.",
7159
- "operationId": "V1ServiceOwnerDialogActivitiesGet_DialogActivity",
7469
+ "operationId": "V1ServiceOwnerDialogsQueriesGetActivity_DialogActivity",
7160
7470
  "parameters": [
7161
7471
  {
7162
7472
  "in": "path",
@@ -7182,7 +7492,7 @@
7182
7492
  "content": {
7183
7493
  "application/json": {
7184
7494
  "schema": {
7185
- "$ref": "#/components/schemas/V1ServiceOwnerDialogActivitiesQueriesGet_Activity"
7495
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetActivity_Activity"
7186
7496
  }
7187
7497
  }
7188
7498
  },
@@ -7224,7 +7534,7 @@
7224
7534
  "/api/v1/serviceowner/dialogs/{dialogId}/context/labels": {
7225
7535
  "get": {
7226
7536
  "description": "Fetches all labels associated with the service owner context of a specific dialog.",
7227
- "operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsGet_ServiceOwnerLabel",
7537
+ "operationId": "V1ServiceOwnerServiceOwnerContextQueriesGetServiceOwnerLabel_ServiceOwnerLabel",
7228
7538
  "parameters": [
7229
7539
  {
7230
7540
  "in": "path",
@@ -7271,7 +7581,7 @@
7271
7581
  },
7272
7582
  "post": {
7273
7583
  "description": "Add a label to the service owner context.\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not modified/deleted by another request in the meantime.",
7274
- "operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_ServiceOwnerLabel",
7584
+ "operationId": "V1ServiceOwnerServiceOwnerContextCommandsCreateServiceOwnerLabel_ServiceOwnerLabel",
7275
7585
  "parameters": [
7276
7586
  {
7277
7587
  "in": "path",
@@ -7296,7 +7606,7 @@
7296
7606
  "content": {
7297
7607
  "application/json": {
7298
7608
  "schema": {
7299
- "$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label"
7609
+ "$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextCommandsCreateServiceOwnerLabel_Label"
7300
7610
  }
7301
7611
  }
7302
7612
  },
@@ -7359,7 +7669,7 @@
7359
7669
  "/api/v1/serviceowner/dialogs/{dialogId}/context/labels/{label}": {
7360
7670
  "delete": {
7361
7671
  "description": "Removes a specific label from the service owner context of a dialog. If the label does not exist, a NotFound response is returned.",
7362
- "operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsDelete_ServiceOwnerLabel",
7672
+ "operationId": "V1ServiceOwnerServiceOwnerContextCommandsDeleteServiceOwnerLabel_ServiceOwnerLabel",
7363
7673
  "parameters": [
7364
7674
  {
7365
7675
  "in": "path",
@@ -7441,10 +7751,131 @@
7441
7751
  ]
7442
7752
  }
7443
7753
  },
7754
+ "/api/v1/serviceowner/dialogs/{dialogId}/endusercontext/systemlabels": {
7755
+ "put": {
7756
+ "description": "Sets the system labels of the dialog.\n\nOptimistic concurrency control is implemented using the If-Match header. Supply EnduserContextRevision to ensure that the context is not modified/deleted by another request in the meantime.",
7757
+ "operationId": "V1ServiceOwnerEndUserContextCommandsSetSystemLabel_SetDialogSystemLabels",
7758
+ "parameters": [
7759
+ {
7760
+ "in": "path",
7761
+ "name": "dialogId",
7762
+ "required": true,
7763
+ "schema": {
7764
+ "format": "guid",
7765
+ "type": "string"
7766
+ }
7767
+ },
7768
+ {
7769
+ "in": "query",
7770
+ "name": "enduserId",
7771
+ "required": true,
7772
+ "schema": {
7773
+ "type": "string"
7774
+ }
7775
+ },
7776
+ {
7777
+ "in": "header",
7778
+ "name": "if-Match",
7779
+ "schema": {
7780
+ "format": "guid",
7781
+ "nullable": true,
7782
+ "type": "string"
7783
+ }
7784
+ }
7785
+ ],
7786
+ "requestBody": {
7787
+ "content": {
7788
+ "application/json": {
7789
+ "schema": {
7790
+ "$ref": "#/components/schemas/V1ServiceOwnerEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest"
7791
+ }
7792
+ }
7793
+ },
7794
+ "description": "",
7795
+ "required": true,
7796
+ "x-name": "SetDialogSystemLabelRequest",
7797
+ "x-position": 1
7798
+ },
7799
+ "responses": {
7800
+ "204": {
7801
+ "description": "The dialog system label was updated successfully.",
7802
+ "headers": {
7803
+ "Etag": {
7804
+ "description": "The new UUID ETag of the dialog",
7805
+ "example": "123e4567-e89b-12d3-a456-426614174000",
7806
+ "schema": {
7807
+ "type": "string"
7808
+ }
7809
+ }
7810
+ }
7811
+ },
7812
+ "400": {
7813
+ "content": {
7814
+ "application/problem\u002Bjson": {
7815
+ "schema": {
7816
+ "$ref": "#/components/schemas/ProblemDetails"
7817
+ }
7818
+ }
7819
+ },
7820
+ "description": "Validation error occurred. See problem details for a list of errors."
7821
+ },
7822
+ "401": {
7823
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
7824
+ },
7825
+ "403": {
7826
+ "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
7827
+ },
7828
+ "404": {
7829
+ "content": {
7830
+ "application/problem\u002Bjson": {
7831
+ "schema": {
7832
+ "$ref": "#/components/schemas/ProblemDetails"
7833
+ }
7834
+ }
7835
+ },
7836
+ "description": "The given dialog ID was not found."
7837
+ },
7838
+ "410": {
7839
+ "description": "Entity with the given key(s) is removed."
7840
+ },
7841
+ "412": {
7842
+ "content": {
7843
+ "application/problem\u002Bjson": {
7844
+ "schema": {
7845
+ "$ref": "#/components/schemas/ProblemDetails"
7846
+ }
7847
+ }
7848
+ },
7849
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
7850
+ },
7851
+ "422": {
7852
+ "content": {
7853
+ "application/problem\u002Bjson": {
7854
+ "schema": {
7855
+ "$ref": "#/components/schemas/ProblemDetails"
7856
+ }
7857
+ }
7858
+ },
7859
+ "description": "Domain error occurred. See problem details for a list of errors."
7860
+ }
7861
+ },
7862
+ "security": [
7863
+ {
7864
+ "JWTBearerAuth": [
7865
+ "digdir:dialogporten.serviceprovider"
7866
+ ]
7867
+ }
7868
+ ],
7869
+ "summary": "Sets the system labels of a dialog",
7870
+ "tags": [
7871
+ "Serviceowner"
7872
+ ]
7873
+ }
7874
+ },
7444
7875
  "/api/v1/serviceowner/dialogs/{dialogId}/seenlog": {
7445
7876
  "get": {
7446
7877
  "description": "Gets all seen log records for a dialog.",
7447
- "operationId": "V1ServiceOwnerDialogSeenLogsSearch_DialogSeenLog",
7878
+ "operationId": "V1ServiceOwnerDialogsQueriesSearchSeenLogs_DialogSeenLog",
7448
7879
  "parameters": [
7449
7880
  {
7450
7881
  "in": "path",
@@ -7462,7 +7893,7 @@
7462
7893
  "application/json": {
7463
7894
  "schema": {
7464
7895
  "items": {
7465
- "$ref": "#/components/schemas/V1ServiceOwnerDialogSeenLogsQueriesSearch_SeenLog"
7896
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchSeenLogs_SeenLog"
7466
7897
  },
7467
7898
  "type": "array"
7468
7899
  }
@@ -7506,7 +7937,7 @@
7506
7937
  "/api/v1/serviceowner/dialogs/{dialogId}/seenlog/{seenLogId}": {
7507
7938
  "get": {
7508
7939
  "description": "Gets a single dialog seen log record.",
7509
- "operationId": "V1ServiceOwnerDialogSeenLogsGet_DialogSeenLog",
7940
+ "operationId": "V1ServiceOwnerDialogsQueriesGetSeenLog_DialogSeenLog",
7510
7941
  "parameters": [
7511
7942
  {
7512
7943
  "in": "path",
@@ -7532,7 +7963,7 @@
7532
7963
  "content": {
7533
7964
  "application/json": {
7534
7965
  "schema": {
7535
- "$ref": "#/components/schemas/V1ServiceOwnerDialogSeenLogsQueriesGet_SeenLog"
7966
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetSeenLog_SeenLog"
7536
7967
  }
7537
7968
  }
7538
7969
  },
@@ -7574,7 +8005,7 @@
7574
8005
  "/api/v1/serviceowner/dialogs/{dialogId}/transmissions": {
7575
8006
  "get": {
7576
8007
  "description": "Gets the list of transmissions belonging to a dialog",
7577
- "operationId": "V1ServiceOwnerDialogTransmissionsSearch_DialogTransmission",
8008
+ "operationId": "V1ServiceOwnerDialogsQueriesSearchTransmissions_DialogTransmission",
7578
8009
  "parameters": [
7579
8010
  {
7580
8011
  "in": "path",
@@ -7592,7 +8023,7 @@
7592
8023
  "application/json": {
7593
8024
  "schema": {
7594
8025
  "items": {
7595
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesSearch_Transmission"
8026
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_Transmission"
7596
8027
  },
7597
8028
  "type": "array"
7598
8029
  }
@@ -7634,7 +8065,7 @@
7634
8065
  },
7635
8066
  "post": {
7636
8067
  "description": "The transmission is created with the given configuration.\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not modified/deleted by another request in the meantime.",
7637
- "operationId": "V1ServiceOwnerDialogTransmissionsCreate_DialogTransmission",
8068
+ "operationId": "V1ServiceOwnerDialogsCommandsCreateTransmission_DialogTransmission",
7638
8069
  "parameters": [
7639
8070
  {
7640
8071
  "in": "path",
@@ -7659,7 +8090,7 @@
7659
8090
  "content": {
7660
8091
  "application/json": {
7661
8092
  "schema": {
7662
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsCreate_TransmissionRequest"
8093
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionRequest"
7663
8094
  }
7664
8095
  }
7665
8096
  },
@@ -7758,7 +8189,7 @@
7758
8189
  "/api/v1/serviceowner/dialogs/{dialogId}/transmissions/{transmissionId}": {
7759
8190
  "get": {
7760
8191
  "description": "Gets a single transmission belonging to a dialog.",
7761
- "operationId": "V1ServiceOwnerDialogTransmissionsGet_DialogTransmission",
8192
+ "operationId": "V1ServiceOwnerDialogsQueriesGetTransnission_DialogTransmission",
7762
8193
  "parameters": [
7763
8194
  {
7764
8195
  "in": "path",
@@ -7784,7 +8215,7 @@
7784
8215
  "content": {
7785
8216
  "application/json": {
7786
8217
  "schema": {
7787
- "$ref": "#/components/schemas/V1ServiceOwnerDialogTransmissionsQueriesGet_Transmission"
8218
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_Transmission"
7788
8219
  }
7789
8220
  }
7790
8221
  },
@@ -7822,6 +8253,85 @@
7822
8253
  "Serviceowner"
7823
8254
  ]
7824
8255
  }
8256
+ },
8257
+ "/api/v1/serviceowner/dialogs/endusercontext/systemlabels/actions/bulkset": {
8258
+ "post": {
8259
+ "description": "Sets the system labels for a list of dialogs, optionally including a end user context revision for each dialog.",
8260
+ "operationId": "V1ServiceOwnerEndUserContextCommandsBulkSetSystenLabels_BulkSetDialogSystemLabels",
8261
+ "parameters": [
8262
+ {
8263
+ "in": "query",
8264
+ "name": "enduserId",
8265
+ "required": true,
8266
+ "schema": {
8267
+ "type": "string"
8268
+ }
8269
+ }
8270
+ ],
8271
+ "requestBody": {
8272
+ "content": {
8273
+ "application/json": {
8274
+ "schema": {
8275
+ "$ref": "#/components/schemas/V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel"
8276
+ }
8277
+ }
8278
+ },
8279
+ "required": true,
8280
+ "x-name": "dto"
8281
+ },
8282
+ "responses": {
8283
+ "204": {
8284
+ "description": "The dialog system labels was updated successfully."
8285
+ },
8286
+ "400": {
8287
+ "content": {
8288
+ "application/problem\u002Bjson": {
8289
+ "schema": {
8290
+ "$ref": "#/components/schemas/ProblemDetails"
8291
+ }
8292
+ }
8293
+ },
8294
+ "description": "Validation error occurred. See problem details for a list of errors."
8295
+ },
8296
+ "401": {
8297
+ "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
8298
+ },
8299
+ "403": {
8300
+ "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
8301
+ },
8302
+ "412": {
8303
+ "content": {
8304
+ "application/problem\u002Bjson": {
8305
+ "schema": {
8306
+ "$ref": "#/components/schemas/ProblemDetails"
8307
+ }
8308
+ }
8309
+ },
8310
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
8311
+ },
8312
+ "422": {
8313
+ "content": {
8314
+ "application/problem\u002Bjson": {
8315
+ "schema": {
8316
+ "$ref": "#/components/schemas/ProblemDetails"
8317
+ }
8318
+ }
8319
+ },
8320
+ "description": "Domain error occurred. See problem details for a list of errors."
8321
+ }
8322
+ },
8323
+ "security": [
8324
+ {
8325
+ "JWTBearerAuth": [
8326
+ "digdir:dialogporten.serviceprovider"
8327
+ ]
8328
+ }
8329
+ ],
8330
+ "summary": "Sets system labels for multiple dialogs",
8331
+ "tags": [
8332
+ "Serviceowner"
8333
+ ]
8334
+ }
7825
8335
  }
7826
8336
  }
7827
- }
8337
+ }