@digdir/dialogporten-schema 1.73.0 → 1.73.6-1a37a02

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.73.0",
3
+ "version": "1.73.6-1a37a02",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -216,7 +216,7 @@ type Dialog {
216
216
  apiActions: [ApiAction!]!
217
217
  "An immutable list of activities associated with the dialog."
218
218
  activities: [Activity!]!
219
- "The list of seen log entries for the dialog newer than the dialog ChangedAt date."
219
+ "The list of seen log entries for the dialog newer than the dialog UpdatedAt date."
220
220
  seenSinceLastUpdate: [SeenLog!]!
221
221
  "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date."
222
222
  seenSinceLastContentUpdate: [SeenLog!]!
@@ -352,7 +352,7 @@ type SearchDialog {
352
352
  latestActivity: Activity
353
353
  "The content of the dialog in search results."
354
354
  content: SearchContent!
355
- "The list of seen log entries for the dialog newer than the dialog ChangedAt date."
355
+ "The list of seen log entries for the dialog newer than the dialog UpdatedAt date."
356
356
  seenSinceLastUpdate: [SeenLog!]!
357
357
  "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date."
358
358
  seenSinceLastContentUpdate: [SeenLog!]!
@@ -397,6 +397,7 @@ type SeenLog {
397
397
  id: UUID!
398
398
  seenAt: DateTime!
399
399
  seenBy: Actor!
400
+ isViaServiceOwner: Boolean
400
401
  isCurrentEndUser: Boolean!
401
402
  }
402
403
 
@@ -431,6 +432,8 @@ type Transmission {
431
432
  type: TransmissionType!
432
433
  "The actor that sent the transmission."
433
434
  sender: Actor!
435
+ "Indicates whether the dialog transmission has been opened."
436
+ isOpened: Boolean!
434
437
  "The transmission unstructured text content."
435
438
  content: TransmissionContent!
436
439
  "The transmission-level attachments."
@@ -448,7 +451,10 @@ type TransmissionContent {
448
451
 
449
452
  input BulkSetSystemLabelInput {
450
453
  dialogs: [DialogRevisionInput!]!
451
- systemLabels: [SystemLabel!]!
454
+ "List of system labels to add to the target dialogs. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
455
+ addLabels: [SystemLabel!]!
456
+ "List of system labels to remove from the target dialogs. If 'bin' or 'archive' is removed, the 'default' label will be added automatically unless 'bin' or 'archive' is also in the AddLabels list."
457
+ removeLabels: [SystemLabel!]!
452
458
  }
453
459
 
454
460
  input DialogRevisionInput {
@@ -507,7 +513,10 @@ input SearchDialogSortTypeInput {
507
513
 
508
514
  input SetSystemLabelInput {
509
515
  dialogId: UUID!
510
- systemLabels: [SystemLabel!]!
516
+ "List of system labels to add to the target dialog. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
517
+ addLabels: [SystemLabel!]!
518
+ "List of system labels to remove from the target dialog. If 'bin' or 'archive' is removed, the 'default' label will be added automatically unless 'bin' or 'archive' is also in the AddLabels list."
519
+ removeLabels: [SystemLabel!]!
511
520
  }
512
521
 
513
522
  enum ActivityType {
package/src/index.js CHANGED
@@ -216,7 +216,7 @@ type Dialog {
216
216
  apiActions: [ApiAction!]!
217
217
  "An immutable list of activities associated with the dialog."
218
218
  activities: [Activity!]!
219
- "The list of seen log entries for the dialog newer than the dialog ChangedAt date."
219
+ "The list of seen log entries for the dialog newer than the dialog UpdatedAt date."
220
220
  seenSinceLastUpdate: [SeenLog!]!
221
221
  "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date."
222
222
  seenSinceLastContentUpdate: [SeenLog!]!
@@ -352,7 +352,7 @@ type SearchDialog {
352
352
  latestActivity: Activity
353
353
  "The content of the dialog in search results."
354
354
  content: SearchContent!
355
- "The list of seen log entries for the dialog newer than the dialog ChangedAt date."
355
+ "The list of seen log entries for the dialog newer than the dialog UpdatedAt date."
356
356
  seenSinceLastUpdate: [SeenLog!]!
357
357
  "The list of seen log entries for the dialog newer than the dialog ContentUpdatedAt date."
358
358
  seenSinceLastContentUpdate: [SeenLog!]!
@@ -397,6 +397,7 @@ type SeenLog {
397
397
  id: UUID!
398
398
  seenAt: DateTime!
399
399
  seenBy: Actor!
400
+ isViaServiceOwner: Boolean
400
401
  isCurrentEndUser: Boolean!
401
402
  }
402
403
 
@@ -431,6 +432,8 @@ type Transmission {
431
432
  type: TransmissionType!
432
433
  "The actor that sent the transmission."
433
434
  sender: Actor!
435
+ "Indicates whether the dialog transmission has been opened."
436
+ isOpened: Boolean!
434
437
  "The transmission unstructured text content."
435
438
  content: TransmissionContent!
436
439
  "The transmission-level attachments."
@@ -448,7 +451,10 @@ type TransmissionContent {
448
451
 
449
452
  input BulkSetSystemLabelInput {
450
453
  dialogs: [DialogRevisionInput!]!
451
- systemLabels: [SystemLabel!]!
454
+ "List of system labels to add to the target dialogs. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
455
+ addLabels: [SystemLabel!]!
456
+ "List of system labels to remove from the target dialogs. If 'bin' or 'archive' is removed, the 'default' label will be added automatically unless 'bin' or 'archive' is also in the AddLabels list."
457
+ removeLabels: [SystemLabel!]!
452
458
  }
453
459
 
454
460
  input DialogRevisionInput {
@@ -507,7 +513,10 @@ input SearchDialogSortTypeInput {
507
513
 
508
514
  input SetSystemLabelInput {
509
515
  dialogId: UUID!
510
- systemLabels: [SystemLabel!]!
516
+ "List of system labels to add to the target dialog. If multiple instances of 'bin', 'archive', or 'default' are provided, the last one will be used."
517
+ addLabels: [SystemLabel!]!
518
+ "List of system labels to remove from the target dialog. If 'bin' or 'archive' is removed, the 'default' label will be added automatically unless 'bin' or 'archive' is also in the AddLabels list."
519
+ removeLabels: [SystemLabel!]!
511
520
  }
512
521
 
513
522
  enum ActivityType {
@@ -691,7 +691,7 @@
691
691
  "type": "array"
692
692
  },
693
693
  "seenSinceLastUpdate": {
694
- "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
694
+ "description": "The list of seen log entries for the dialog newer than the dialog UpdatedAt date.",
695
695
  "items": {
696
696
  "$ref": "#/components/schemas/V1EndUserDialogsQueriesGet_DialogSeenLog"
697
697
  },
@@ -1546,12 +1546,12 @@
1546
1546
  "type": "string"
1547
1547
  },
1548
1548
  "fromPartyTransmissionsCount": {
1549
- "description": "The number of transmissions sent by a party representative ",
1549
+ "description": "The number of transmissions sent by a party representative",
1550
1550
  "format": "int32",
1551
1551
  "type": "integer"
1552
1552
  },
1553
1553
  "fromServiceOwnerTransmissionsCount": {
1554
- "description": "The number of transmissions sent by the service owner ",
1554
+ "description": "The number of transmissions sent by the service owner",
1555
1555
  "format": "int32",
1556
1556
  "type": "integer"
1557
1557
  },
@@ -1619,7 +1619,7 @@
1619
1619
  "type": "array"
1620
1620
  },
1621
1621
  "seenSinceLastUpdate": {
1622
- "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
1622
+ "description": "The list of seen log entries for the dialog newer than the dialog UpdatedAt date.",
1623
1623
  "items": {
1624
1624
  "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearch_DialogSeenLog"
1625
1625
  },
@@ -1999,6 +1999,14 @@
1999
1999
  "V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel": {
2000
2000
  "additionalProperties": false,
2001
2001
  "properties": {
2002
+ "addLabels": {
2003
+ "description": "List of system labels to add to the target dialogs. If multiple instances of \u0027bin\u0027, \u0027archive\u0027, or \u0027default\u0027 are provided, the last one will be used.",
2004
+ "items": {
2005
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2006
+ },
2007
+ "nullable": true,
2008
+ "type": "array"
2009
+ },
2002
2010
  "dialogs": {
2003
2011
  "description": "List of target dialog ids with optional revision ids",
2004
2012
  "items": {
@@ -2007,13 +2015,23 @@
2007
2015
  "nullable": true,
2008
2016
  "type": "array"
2009
2017
  },
2018
+ "removeLabels": {
2019
+ "description": "List of system labels to remove from the target dialogs. If \u0027bin\u0027 or \u0027archive\u0027 is removed, the \u0027default\u0027 label will be added automatically unless \u0027bin\u0027 or \u0027archive\u0027 is also in the AddLabels list.",
2020
+ "items": {
2021
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2022
+ },
2023
+ "nullable": true,
2024
+ "type": "array"
2025
+ },
2010
2026
  "systemLabels": {
2027
+ "deprecated": true,
2011
2028
  "description": "List of system labels to set on target dialogs",
2012
2029
  "items": {
2013
2030
  "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2014
2031
  },
2015
2032
  "nullable": true,
2016
- "type": "array"
2033
+ "type": "array",
2034
+ "x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
2017
2035
  }
2018
2036
  },
2019
2037
  "type": "object"
@@ -2038,12 +2056,31 @@
2038
2056
  "V1EndUserEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest": {
2039
2057
  "additionalProperties": false,
2040
2058
  "properties": {
2041
- "systemLabels": {
2059
+ "addLabels": {
2060
+ "description": "List of system labels to add to the target dialog. If multiple instances of \u0027bin\u0027, \u0027archive\u0027, or \u0027default\u0027 are provided, the last one will be used.",
2061
+ "items": {
2062
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2063
+ },
2064
+ "nullable": true,
2065
+ "type": "array"
2066
+ },
2067
+ "removeLabels": {
2068
+ "description": "List of system labels to remove from the target dialog. If \u0027bin\u0027 or \u0027archive\u0027 is removed, the \u0027default\u0027 label will be added automatically unless \u0027bin\u0027 or \u0027archive\u0027 is also in the AddLabels list.",
2042
2069
  "items": {
2043
2070
  "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2044
2071
  },
2045
2072
  "nullable": true,
2046
2073
  "type": "array"
2074
+ },
2075
+ "systemLabels": {
2076
+ "deprecated": true,
2077
+ "description": "List of system labels to set on target dialogs",
2078
+ "items": {
2079
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2080
+ },
2081
+ "nullable": true,
2082
+ "type": "array",
2083
+ "x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
2047
2084
  }
2048
2085
  },
2049
2086
  "type": "object"
@@ -3872,7 +3909,7 @@
3872
3909
  "type": "array"
3873
3910
  },
3874
3911
  "seenSinceLastUpdate": {
3875
- "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
3912
+ "description": "The list of seen log entries for the dialog newer than the dialog UpdatedAt date.",
3876
3913
  "items": {
3877
3914
  "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogSeenLog"
3878
3915
  },
@@ -4912,7 +4949,7 @@
4912
4949
  "type": "array"
4913
4950
  },
4914
4951
  "seenSinceLastUpdate": {
4915
- "description": "The list of seen log entries for the dialog newer than the dialog ChangedAt date.",
4952
+ "description": "The list of seen log entries for the dialog newer than the dialog UpdatedAt date.",
4916
4953
  "items": {
4917
4954
  "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogSeenLog"
4918
4955
  },
@@ -5327,6 +5364,14 @@
5327
5364
  "V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel": {
5328
5365
  "additionalProperties": false,
5329
5366
  "properties": {
5367
+ "addLabels": {
5368
+ "description": "List of system labels to add to the target dialogs. If multiple instances of \u0027bin\u0027, \u0027archive\u0027, or \u0027default\u0027 are provided, the last one will be used.",
5369
+ "items": {
5370
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5371
+ },
5372
+ "nullable": true,
5373
+ "type": "array"
5374
+ },
5330
5375
  "dialogs": {
5331
5376
  "description": "List of target dialog ids with optional revision ids",
5332
5377
  "items": {
@@ -5335,13 +5380,23 @@
5335
5380
  "nullable": true,
5336
5381
  "type": "array"
5337
5382
  },
5383
+ "removeLabels": {
5384
+ "description": "List of system labels to remove from the target dialogs. If \u0027bin\u0027 or \u0027archive\u0027 is removed, the \u0027default\u0027 label will be added automatically unless \u0027bin\u0027 or \u0027archive\u0027 is also in the AddLabels list.",
5385
+ "items": {
5386
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5387
+ },
5388
+ "nullable": true,
5389
+ "type": "array"
5390
+ },
5338
5391
  "systemLabels": {
5392
+ "deprecated": true,
5339
5393
  "description": "List of system labels to set on target dialogs",
5340
5394
  "items": {
5341
5395
  "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5342
5396
  },
5343
5397
  "nullable": true,
5344
- "type": "array"
5398
+ "type": "array",
5399
+ "x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
5345
5400
  }
5346
5401
  },
5347
5402
  "type": "object"
@@ -5375,12 +5430,31 @@
5375
5430
  "V1ServiceOwnerEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest": {
5376
5431
  "additionalProperties": false,
5377
5432
  "properties": {
5378
- "systemLabels": {
5433
+ "addLabels": {
5434
+ "description": "List of system labels to add to target dialogs. If multiple instances of \u0027bin\u0027, \u0027archive\u0027, or \u0027default\u0027 are provided, the last one will be used.",
5435
+ "items": {
5436
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5437
+ },
5438
+ "nullable": true,
5439
+ "type": "array"
5440
+ },
5441
+ "removeLabels": {
5442
+ "description": "List of system labels to remove from target dialogs. If \u0027bin\u0027 or \u0027archive\u0027 is removed, the \u0027default\u0027 label will be added automatically unless \u0027bin\u0027 or \u0027archive\u0027 is also in the AddLabels list.",
5379
5443
  "items": {
5380
5444
  "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5381
5445
  },
5382
5446
  "nullable": true,
5383
5447
  "type": "array"
5448
+ },
5449
+ "systemLabels": {
5450
+ "deprecated": true,
5451
+ "description": "List of system labels to set on target dialogs",
5452
+ "items": {
5453
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5454
+ },
5455
+ "nullable": true,
5456
+ "type": "array",
5457
+ "x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
5384
5458
  }
5385
5459
  },
5386
5460
  "type": "object"
@@ -8558,4 +8632,4 @@
8558
8632
  }
8559
8633
  }
8560
8634
  }
8561
- }
8635
+ }