@digdir/dialogporten-schema 1.106.2-bfcc35e → 1.107.0-1eab3ba

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.106.2-bfcc35e",
3
+ "version": "1.107.0-1eab3ba",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -173,6 +173,7 @@ type Content {
173
173
  type ContentValue {
174
174
  value: [Localization!]!
175
175
  mediaType: String!
176
+ isAuthorized: Boolean
176
177
  }
177
178
 
178
179
  type Dialog {
@@ -274,6 +275,7 @@ type DialogEventPayload {
274
275
  type DialogLookup {
275
276
  dialogId: UUID!
276
277
  instanceRef: String!
278
+ party: String!
277
279
  serviceResource: DialogLookupServiceResource!
278
280
  serviceOwner: DialogLookupServiceOwner!
279
281
  authorizationEvidence: DialogLookupAuthorizationEvidence!
@@ -315,6 +317,7 @@ type DialogLookupServiceOwner {
315
317
 
316
318
  type DialogLookupServiceResource {
317
319
  id: String!
320
+ isDelegable: Boolean!
318
321
  name: [Localization!]!
319
322
  }
320
323
 
@@ -797,4 +800,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
797
800
 
798
801
  scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
799
802
 
800
- scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
803
+ scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
package/src/index.js CHANGED
@@ -173,6 +173,7 @@ type Content {
173
173
  type ContentValue {
174
174
  value: [Localization!]!
175
175
  mediaType: String!
176
+ isAuthorized: Boolean
176
177
  }
177
178
 
178
179
  type Dialog {
@@ -274,6 +275,7 @@ type DialogEventPayload {
274
275
  type DialogLookup {
275
276
  dialogId: UUID!
276
277
  instanceRef: String!
278
+ party: String!
277
279
  serviceResource: DialogLookupServiceResource!
278
280
  serviceOwner: DialogLookupServiceOwner!
279
281
  authorizationEvidence: DialogLookupAuthorizationEvidence!
@@ -315,6 +317,7 @@ type DialogLookupServiceOwner {
315
317
 
316
318
  type DialogLookupServiceResource {
317
319
  id: String!
320
+ isDelegable: Boolean!
318
321
  name: [Localization!]!
319
322
  }
320
323
 
@@ -464,6 +464,11 @@
464
464
  "V1CommonContent_ContentValue": {
465
465
  "additionalProperties": false,
466
466
  "properties": {
467
+ "isAuthorized": {
468
+ "description": "True if the authenticated user is authorized for this content. If not, the endpoints will\nbe replaced with a fixed placeholder. Can be null if not applicable.\n ",
469
+ "nullable": true,
470
+ "type": "boolean"
471
+ },
467
472
  "mediaType": {
468
473
  "description": "Media type of the content, this can also indicate that the content is embeddable.",
469
474
  "type": "string"
@@ -492,6 +497,9 @@
492
497
  "instanceRef": {
493
498
  "type": "string"
494
499
  },
500
+ "party": {
501
+ "type": "string"
502
+ },
495
503
  "serviceOwner": {
496
504
  "$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupServiceOwner"
497
505
  },
@@ -587,6 +595,9 @@
587
595
  "id": {
588
596
  "type": "string"
589
597
  },
598
+ "isDelegable": {
599
+ "type": "boolean"
600
+ },
590
601
  "name": {
591
602
  "items": {
592
603
  "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
@@ -614,6 +625,9 @@
614
625
  "nullable": true,
615
626
  "type": "array"
616
627
  },
628
+ "party": {
629
+ "type": "string"
630
+ },
617
631
  "serviceOwner": {
618
632
  "$ref": "#/components/schemas/V1CommonIdentifierLookup_IdentifierLookupServiceOwner"
619
633
  },
@@ -733,7 +747,7 @@
733
747
  ]
734
748
  },
735
749
  "mainContentReference": {
736
- "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.",
750
+ "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL.\nContent value will be masked if the user is not authorized to read main content.",
737
751
  "nullable": true,
738
752
  "oneOf": [
739
753
  {
@@ -4499,7 +4513,7 @@
4499
4513
  ]
4500
4514
  },
4501
4515
  "mainContentReference": {
4502
- "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL. Must be HTTPS.",
4516
+ "description": "Front-channel embedded content. Used to dynamically embed content in the frontend from an external URL. Must be HTTPS.\nIsAuthorized is evaluated only when you use the EndUserId query-parameter, otherwise it is null.",
4503
4517
  "nullable": true,
4504
4518
  "oneOf": [
4505
4519
  {