@digdir/dialogporten-schema 1.10.0-f6ebd19 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.10.0-f6ebd19",
3
+ "version": "1.11.0-e096743",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "20"
@@ -65,6 +65,7 @@ type AuthorizedParty {
65
65
  partyType: String!
66
66
  isDeleted: Boolean!
67
67
  hasKeyRole: Boolean!
68
+ isCurrentEndUser: Boolean!
68
69
  isMainAdministrator: Boolean!
69
70
  isAccessManager: Boolean!
70
71
  hasOnlyAccessToSubParties: Boolean!
package/src/index.js CHANGED
@@ -65,6 +65,7 @@ type AuthorizedParty {
65
65
  partyType: String!
66
66
  isDeleted: Boolean!
67
67
  hasKeyRole: Boolean!
68
+ isCurrentEndUser: Boolean!
68
69
  isMainAdministrator: Boolean!
69
70
  isAccessManager: Boolean!
70
71
  hasOnlyAccessToSubParties: Boolean!
@@ -1350,6 +1350,84 @@
1350
1350
  ]
1351
1351
  }
1352
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
+ },
1353
1431
  "/api/v1/serviceowner/dialogs/{dialogId}/activities/{activityId}": {
1354
1432
  "get": {
1355
1433
  "tags": [
@@ -4167,6 +4245,18 @@
4167
4245
  }
4168
4246
  }
4169
4247
  },
4248
+ "NotificationConditionType": {
4249
+ "type": "string",
4250
+ "description": "",
4251
+ "x-enumNames": [
4252
+ "NotExists",
4253
+ "Exists"
4254
+ ],
4255
+ "enum": [
4256
+ "NotExists",
4257
+ "Exists"
4258
+ ]
4259
+ },
4170
4260
  "GetPartiesDto": {
4171
4261
  "type": "object",
4172
4262
  "additionalProperties": false,
@@ -4198,6 +4288,9 @@
4198
4288
  "hasKeyRole": {
4199
4289
  "type": "boolean"
4200
4290
  },
4291
+ "isCurrentEndUser": {
4292
+ "type": "boolean"
4293
+ },
4201
4294
  "isMainAdministrator": {
4202
4295
  "type": "boolean"
4203
4296
  },