@digdir/dialogporten-schema 1.10.0 → 1.11.0-e096743
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.verified.graphql +1 -0
- package/src/index.js +1 -0
- package/swagger.verified.json +100 -11
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
package/src/index.js
CHANGED
package/swagger.verified.json
CHANGED
|
@@ -265,8 +265,8 @@
|
|
|
265
265
|
"tags": [
|
|
266
266
|
"Serviceowner"
|
|
267
267
|
],
|
|
268
|
-
"summary": "Gets
|
|
269
|
-
"description": "Gets
|
|
268
|
+
"summary": "Gets all seen log records for a dialog",
|
|
269
|
+
"description": "Gets all seen log records for a dialog. For more information see the documentation (link TBD).",
|
|
270
270
|
"operationId": "SearchDialogSeenLogSO",
|
|
271
271
|
"parameters": [
|
|
272
272
|
{
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"description": "Forbidden"
|
|
288
288
|
},
|
|
289
289
|
"200": {
|
|
290
|
-
"description": "Successfully returned the dialog seen log
|
|
290
|
+
"description": "Successfully returned the dialog seen log records.",
|
|
291
291
|
"content": {
|
|
292
292
|
"application/json": {
|
|
293
293
|
"schema": {
|
|
@@ -413,11 +413,7 @@
|
|
|
413
413
|
"content": {
|
|
414
414
|
"application/json": {
|
|
415
415
|
"schema": {
|
|
416
|
-
"
|
|
417
|
-
{
|
|
418
|
-
"$ref": "#/components/schemas/UpdateDialogDto"
|
|
419
|
-
}
|
|
420
|
-
]
|
|
416
|
+
"$ref": "#/components/schemas/UpdateDialogDto"
|
|
421
417
|
},
|
|
422
418
|
"example": {
|
|
423
419
|
"Progress": 42,
|
|
@@ -1354,6 +1350,84 @@
|
|
|
1354
1350
|
]
|
|
1355
1351
|
}
|
|
1356
1352
|
},
|
|
1353
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/notification-condition": {
|
|
1354
|
+
"get": {
|
|
1355
|
+
"tags": [
|
|
1356
|
+
"Serviceowner"
|
|
1357
|
+
],
|
|
1358
|
+
"summary": "Returns a boolean value based on conditions used to determine if a notification is to be sent.",
|
|
1359
|
+
"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.",
|
|
1360
|
+
"operationId": "GetDialogActivityNotificationConditionSO",
|
|
1361
|
+
"parameters": [
|
|
1362
|
+
{
|
|
1363
|
+
"name": "dialogId",
|
|
1364
|
+
"in": "path",
|
|
1365
|
+
"required": true,
|
|
1366
|
+
"schema": {
|
|
1367
|
+
"type": "string",
|
|
1368
|
+
"format": "guid"
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "conditionType",
|
|
1373
|
+
"in": "query",
|
|
1374
|
+
"required": true,
|
|
1375
|
+
"schema": {
|
|
1376
|
+
"allOf": [
|
|
1377
|
+
{
|
|
1378
|
+
"$ref": "#/components/schemas/NotificationConditionType"
|
|
1379
|
+
}
|
|
1380
|
+
]
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"name": "activityType",
|
|
1385
|
+
"in": "query",
|
|
1386
|
+
"required": true,
|
|
1387
|
+
"schema": {
|
|
1388
|
+
"allOf": [
|
|
1389
|
+
{
|
|
1390
|
+
"$ref": "#/components/schemas/DialogActivityType_Values"
|
|
1391
|
+
}
|
|
1392
|
+
]
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"name": "transmissionId",
|
|
1397
|
+
"in": "query",
|
|
1398
|
+
"schema": {
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"format": "guid",
|
|
1401
|
+
"nullable": true
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
],
|
|
1405
|
+
"responses": {
|
|
1406
|
+
"200": {
|
|
1407
|
+
"description": "Successfully returned the notification determination.",
|
|
1408
|
+
"content": {
|
|
1409
|
+
"text/plain": {
|
|
1410
|
+
"schema": {}
|
|
1411
|
+
},
|
|
1412
|
+
"application/json": {
|
|
1413
|
+
"schema": {}
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
"401": {
|
|
1418
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"altinn:system/notifications.condition.check\"."
|
|
1419
|
+
},
|
|
1420
|
+
"403": {
|
|
1421
|
+
"description": "Forbidden"
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
"security": [
|
|
1425
|
+
{
|
|
1426
|
+
"JWTBearerAuth": []
|
|
1427
|
+
}
|
|
1428
|
+
]
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1357
1431
|
"/api/v1/serviceowner/dialogs/{dialogId}/activities/{activityId}": {
|
|
1358
1432
|
"get": {
|
|
1359
1433
|
"tags": [
|
|
@@ -1552,8 +1626,8 @@
|
|
|
1552
1626
|
"tags": [
|
|
1553
1627
|
"Enduser"
|
|
1554
1628
|
],
|
|
1555
|
-
"summary": "Gets
|
|
1556
|
-
"description": "Gets
|
|
1629
|
+
"summary": "Gets all seen log records for a dialog",
|
|
1630
|
+
"description": "Gets all seen log records for a dialog. For more information see the documentation (link TBD).",
|
|
1557
1631
|
"operationId": "SearchDialogSeenLog",
|
|
1558
1632
|
"parameters": [
|
|
1559
1633
|
{
|
|
@@ -1574,7 +1648,7 @@
|
|
|
1574
1648
|
"description": "Forbidden"
|
|
1575
1649
|
},
|
|
1576
1650
|
"200": {
|
|
1577
|
-
"description": "Successfully returned the dialog seen log
|
|
1651
|
+
"description": "Successfully returned the dialog seen log records.",
|
|
1578
1652
|
"content": {
|
|
1579
1653
|
"application/json": {
|
|
1580
1654
|
"schema": {
|
|
@@ -4171,6 +4245,18 @@
|
|
|
4171
4245
|
}
|
|
4172
4246
|
}
|
|
4173
4247
|
},
|
|
4248
|
+
"NotificationConditionType": {
|
|
4249
|
+
"type": "string",
|
|
4250
|
+
"description": "",
|
|
4251
|
+
"x-enumNames": [
|
|
4252
|
+
"NotExists",
|
|
4253
|
+
"Exists"
|
|
4254
|
+
],
|
|
4255
|
+
"enum": [
|
|
4256
|
+
"NotExists",
|
|
4257
|
+
"Exists"
|
|
4258
|
+
]
|
|
4259
|
+
},
|
|
4174
4260
|
"GetPartiesDto": {
|
|
4175
4261
|
"type": "object",
|
|
4176
4262
|
"additionalProperties": false,
|
|
@@ -4202,6 +4288,9 @@
|
|
|
4202
4288
|
"hasKeyRole": {
|
|
4203
4289
|
"type": "boolean"
|
|
4204
4290
|
},
|
|
4291
|
+
"isCurrentEndUser": {
|
|
4292
|
+
"type": "boolean"
|
|
4293
|
+
},
|
|
4205
4294
|
"isMainAdministrator": {
|
|
4206
4295
|
"type": "boolean"
|
|
4207
4296
|
},
|