@digdir/dialogporten-schema 1.73.1 → 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.1",
3
+ "version": "1.73.6-1a37a02",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -451,7 +451,10 @@ type TransmissionContent {
451
451
 
452
452
  input BulkSetSystemLabelInput {
453
453
  dialogs: [DialogRevisionInput!]!
454
- 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!]!
455
458
  }
456
459
 
457
460
  input DialogRevisionInput {
@@ -510,7 +513,10 @@ input SearchDialogSortTypeInput {
510
513
 
511
514
  input SetSystemLabelInput {
512
515
  dialogId: UUID!
513
- 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!]!
514
520
  }
515
521
 
516
522
  enum ActivityType {
package/src/index.js CHANGED
@@ -451,7 +451,10 @@ type TransmissionContent {
451
451
 
452
452
  input BulkSetSystemLabelInput {
453
453
  dialogs: [DialogRevisionInput!]!
454
- 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!]!
455
458
  }
456
459
 
457
460
  input DialogRevisionInput {
@@ -510,7 +513,10 @@ input SearchDialogSortTypeInput {
510
513
 
511
514
  input SetSystemLabelInput {
512
515
  dialogId: UUID!
513
- 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!]!
514
520
  }
515
521
 
516
522
  enum ActivityType {
@@ -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.",
2042
2061
  "items": {
2043
2062
  "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2044
2063
  },
2045
2064
  "nullable": true,
2046
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.",
2069
+ "items": {
2070
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
2071
+ },
2072
+ "nullable": true,
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"
@@ -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.",
5379
5435
  "items": {
5380
5436
  "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5381
5437
  },
5382
5438
  "nullable": true,
5383
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.",
5443
+ "items": {
5444
+ "$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
5445
+ },
5446
+ "nullable": true,
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"