@digdir/dialogporten-schema 1.70.0-c708e89 → 1.71.0-c4a880c

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-c708e89",
3
+ "version": "1.71.0-c4a880c",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -148,6 +148,7 @@ type Dialog {
148
148
  expiresAt: DateTime
149
149
  createdAt: DateTime!
150
150
  updatedAt: DateTime!
151
+ contentUpdatedAt: DateTime!
151
152
  dialogToken: String
152
153
  status: DialogStatus!
153
154
  hasUnopenedContent: Boolean!
@@ -159,6 +160,7 @@ type Dialog {
159
160
  apiActions: [ApiAction!]!
160
161
  activities: [Activity!]!
161
162
  seenSinceLastUpdate: [SeenLog!]!
163
+ seenSinceLastContentUpdate: [SeenLog!]!
162
164
  transmissions: [Transmission!]!
163
165
  endUserContext: EndUserContext!
164
166
  }
@@ -250,6 +252,7 @@ type SearchDialog {
250
252
  latestActivity: Activity
251
253
  content: SearchContent!
252
254
  seenSinceLastUpdate: [SeenLog!]!
255
+ seenSinceLastContentUpdate: [SeenLog!]!
253
256
  endUserContext: EndUserContext!
254
257
  }
255
258
 
@@ -270,6 +273,7 @@ type SearchDialogSortType {
270
273
  createdAt: OrderDirection
271
274
  updatedAt: OrderDirection
272
275
  dueAt: OrderDirection
276
+ contentUpdatedAt: OrderDirection
273
277
  }
274
278
 
275
279
  type SearchDialogValidationError implements SearchDialogError {
@@ -381,6 +385,7 @@ input SearchDialogSortTypeInput {
381
385
  createdAt: OrderDirection
382
386
  updatedAt: OrderDirection
383
387
  dueAt: OrderDirection
388
+ contentUpdatedAt: OrderDirection
384
389
  }
385
390
 
386
391
  input SetSystemLabelInput {
package/src/index.js CHANGED
@@ -148,6 +148,7 @@ type Dialog {
148
148
  expiresAt: DateTime
149
149
  createdAt: DateTime!
150
150
  updatedAt: DateTime!
151
+ contentUpdatedAt: DateTime!
151
152
  dialogToken: String
152
153
  status: DialogStatus!
153
154
  hasUnopenedContent: Boolean!
@@ -159,6 +160,7 @@ type Dialog {
159
160
  apiActions: [ApiAction!]!
160
161
  activities: [Activity!]!
161
162
  seenSinceLastUpdate: [SeenLog!]!
163
+ seenSinceLastContentUpdate: [SeenLog!]!
162
164
  transmissions: [Transmission!]!
163
165
  endUserContext: EndUserContext!
164
166
  }
@@ -250,6 +252,7 @@ type SearchDialog {
250
252
  latestActivity: Activity
251
253
  content: SearchContent!
252
254
  seenSinceLastUpdate: [SeenLog!]!
255
+ seenSinceLastContentUpdate: [SeenLog!]!
253
256
  endUserContext: EndUserContext!
254
257
  }
255
258
 
@@ -270,6 +273,7 @@ type SearchDialogSortType {
270
273
  createdAt: OrderDirection
271
274
  updatedAt: OrderDirection
272
275
  dueAt: OrderDirection
276
+ contentUpdatedAt: OrderDirection
273
277
  }
274
278
 
275
279
  type SearchDialogValidationError implements SearchDialogError {
@@ -381,6 +385,7 @@ input SearchDialogSortTypeInput {
381
385
  createdAt: OrderDirection
382
386
  updatedAt: OrderDirection
383
387
  dueAt: OrderDirection
388
+ contentUpdatedAt: OrderDirection
384
389
  }
385
390
 
386
391
  input SetSystemLabelInput {
@@ -569,6 +569,12 @@
569
569
  }
570
570
  ]
571
571
  },
572
+ "contentUpdatedAt": {
573
+ "description": "The date and time when the dialog content was last updated.",
574
+ "example": "2022-12-31T23:59:59Z",
575
+ "format": "date-time",
576
+ "type": "string"
577
+ },
572
578
  "createdAt": {
573
579
  "description": "The date and time when the dialog was created.",
574
580
  "example": "2022-12-31T23:59:59Z",
@@ -666,6 +672,14 @@
666
672
  "format": "guid",
667
673
  "type": "string"
668
674
  },
675
+ "seenSinceLastContentUpdate": {
676
+ "description": "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date.",
677
+ "items": {
678
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGet_DialogSeenLog"
679
+ },
680
+ "nullable": true,
681
+ "type": "array"
682
+ },
669
683
  "seenSinceLastUpdate": {
670
684
  "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
671
685
  "items": {
@@ -1485,6 +1499,12 @@
1485
1499
  }
1486
1500
  ]
1487
1501
  },
1502
+ "contentUpdatedAt": {
1503
+ "description": "The date and time when the dialog content was last updated.",
1504
+ "example": "2022-12-31T23:59:59Z",
1505
+ "format": "date-time",
1506
+ "type": "string"
1507
+ },
1488
1508
  "createdAt": {
1489
1509
  "description": "The date and time when the dialog was created.",
1490
1510
  "example": "2022-12-31T23:59:59Z",
@@ -1571,6 +1591,14 @@
1571
1591
  "nullable": true,
1572
1592
  "type": "integer"
1573
1593
  },
1594
+ "seenSinceLastContentUpdate": {
1595
+ "description": "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date.",
1596
+ "items": {
1597
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogSeenLog"
1598
+ },
1599
+ "nullable": true,
1600
+ "type": "array"
1601
+ },
1574
1602
  "seenSinceLastUpdate": {
1575
1603
  "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
1576
1604
  "items": {
@@ -3689,6 +3717,12 @@
3689
3717
  }
3690
3718
  ]
3691
3719
  },
3720
+ "contentUpdatedAt": {
3721
+ "description": "The date and time when the dialog content was last updated.",
3722
+ "example": "2022-12-31T23:59:59Z",
3723
+ "format": "date-time",
3724
+ "type": "string"
3725
+ },
3692
3726
  "createdAt": {
3693
3727
  "description": "The date and time when the dialog was created.",
3694
3728
  "example": "2022-12-31T23:59:59Z",
@@ -3800,6 +3834,14 @@
3800
3834
  "nullable": true,
3801
3835
  "type": "array"
3802
3836
  },
3837
+ "seenSinceLastContentUpdate": {
3838
+ "description": "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date.",
3839
+ "items": {
3840
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogSeenLog"
3841
+ },
3842
+ "nullable": true,
3843
+ "type": "array"
3844
+ },
3803
3845
  "seenSinceLastUpdate": {
3804
3846
  "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
3805
3847
  "items": {
@@ -4719,6 +4761,12 @@
4719
4761
  }
4720
4762
  ]
4721
4763
  },
4764
+ "contentUpdatedAt": {
4765
+ "description": "The date and time when the dialog content was last updated.",
4766
+ "example": "2022-12-31T23:59:59Z",
4767
+ "format": "date-time",
4768
+ "type": "string"
4769
+ },
4722
4770
  "createdAt": {
4723
4771
  "description": "The date and time when the dialog was created.",
4724
4772
  "example": "2022-12-31T23:59:59Z",
@@ -4817,6 +4865,14 @@
4817
4865
  "format": "guid",
4818
4866
  "type": "string"
4819
4867
  },
4868
+ "seenSinceLastContentUpdate": {
4869
+ "description": "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date.",
4870
+ "items": {
4871
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogSeenLog"
4872
+ },
4873
+ "nullable": true,
4874
+ "type": "array"
4875
+ },
4820
4876
  "seenSinceLastUpdate": {
4821
4877
  "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
4822
4878
  "items": {
@@ -5543,6 +5599,26 @@
5543
5599
  "type": "string"
5544
5600
  }
5545
5601
  },
5602
+ {
5603
+ "description": "Only return dialogs with content updated after this date",
5604
+ "in": "query",
5605
+ "name": "contentUpdatedAfter",
5606
+ "schema": {
5607
+ "format": "date-time",
5608
+ "nullable": true,
5609
+ "type": "string"
5610
+ }
5611
+ },
5612
+ {
5613
+ "description": "Only return dialogs with content updated before this date",
5614
+ "in": "query",
5615
+ "name": "contentUpdatedBefore",
5616
+ "schema": {
5617
+ "format": "date-time",
5618
+ "nullable": true,
5619
+ "type": "string"
5620
+ }
5621
+ },
5546
5622
  {
5547
5623
  "description": "Only return dialogs with due date after this date",
5548
5624
  "in": "query",
@@ -6523,6 +6599,26 @@
6523
6599
  "type": "string"
6524
6600
  }
6525
6601
  },
6602
+ {
6603
+ "description": "Only return dialogs with content updated after this date",
6604
+ "in": "query",
6605
+ "name": "contentUpdatedAfter",
6606
+ "schema": {
6607
+ "format": "date-time",
6608
+ "nullable": true,
6609
+ "type": "string"
6610
+ }
6611
+ },
6612
+ {
6613
+ "description": "Only return dialogs with content updated before this date",
6614
+ "in": "query",
6615
+ "name": "contentUpdatedBefore",
6616
+ "schema": {
6617
+ "format": "date-time",
6618
+ "nullable": true,
6619
+ "type": "string"
6620
+ }
6621
+ },
6526
6622
  {
6527
6623
  "description": "Only return dialogs with due date after this date",
6528
6624
  "in": "query",