@digdir/dialogporten-schema 1.70.0-9f4cd91 → 1.70.0-c708e89

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.70.0-9f4cd91",
3
+ "version": "1.70.0-c708e89",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -150,6 +150,7 @@ type Dialog {
150
150
  updatedAt: DateTime!
151
151
  dialogToken: String
152
152
  status: DialogStatus!
153
+ hasUnopenedContent: Boolean!
153
154
  "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
154
155
  isApiOnly: Boolean!
155
156
  content: Content!
package/src/index.js CHANGED
@@ -150,6 +150,7 @@ type Dialog {
150
150
  updatedAt: DateTime!
151
151
  dialogToken: String
152
152
  status: DialogStatus!
153
+ hasUnopenedContent: Boolean!
153
154
  "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
154
155
  isApiOnly: Boolean!
155
156
  content: Content!
@@ -620,6 +620,10 @@
620
620
  "nullable": true,
621
621
  "type": "array"
622
622
  },
623
+ "hasUnopenedContent": {
624
+ "description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.",
625
+ "type": "boolean"
626
+ },
623
627
  "id": {
624
628
  "description": "The unique identifier for the dialog in UUIDv7 format.",
625
629
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
@@ -1088,6 +1092,11 @@
1088
1092
  "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
1089
1093
  "type": "boolean"
1090
1094
  },
1095
+ "isOpened": {
1096
+ "description": "Indicates whether the dialog transmission has been opened.",
1097
+ "nullable": true,
1098
+ "type": "boolean"
1099
+ },
1091
1100
  "relatedTransmissionId": {
1092
1101
  "description": "Reference to any other transmission that this transmission is related to.",
1093
1102
  "format": "guid",
@@ -1513,6 +1522,10 @@
1513
1522
  "nullable": true,
1514
1523
  "type": "integer"
1515
1524
  },
1525
+ "hasUnopenedContent": {
1526
+ "description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.",
1527
+ "type": "boolean"
1528
+ },
1516
1529
  "id": {
1517
1530
  "description": "The unique identifier for the dialog in UUIDv7 format.",
1518
1531
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
@@ -3728,6 +3741,10 @@
3728
3741
  "nullable": true,
3729
3742
  "type": "array"
3730
3743
  },
3744
+ "hasUnopenedContent": {
3745
+ "description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.",
3746
+ "type": "boolean"
3747
+ },
3731
3748
  "id": {
3732
3749
  "description": "The unique identifier for the dialog in UUIDv7 format.",
3733
3750
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
@@ -4260,6 +4277,11 @@
4260
4277
  "nullable": true,
4261
4278
  "type": "boolean"
4262
4279
  },
4280
+ "isOpened": {
4281
+ "description": "Indicates whether the dialog transmission has been opened.",
4282
+ "nullable": true,
4283
+ "type": "boolean"
4284
+ },
4263
4285
  "relatedTransmissionId": {
4264
4286
  "description": "Reference to any other transmission that this transmission is related to.",
4265
4287
  "format": "guid",
@@ -4740,6 +4762,10 @@
4740
4762
  "nullable": true,
4741
4763
  "type": "integer"
4742
4764
  },
4765
+ "hasUnopenedContent": {
4766
+ "description": "Indicates whether the dialog contains content that has not been viewed or opened by the user yet.",
4767
+ "type": "boolean"
4768
+ },
4743
4769
  "id": {
4744
4770
  "description": "The unique identifier for the dialog in UUIDv7 format.",
4745
4771
  "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",