@digdir/dialogporten-schema 1.73.1 → 1.74.0-8e99313
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 +1 -1
- package/schema.verified.graphql +10 -3
- package/src/index.js +9 -2
- package/swagger.verified.json +83 -7
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -451,7 +451,10 @@ type TransmissionContent {
|
|
|
451
451
|
|
|
452
452
|
input BulkSetSystemLabelInput {
|
|
453
453
|
dialogs: [DialogRevisionInput!]!
|
|
454
|
-
|
|
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
|
-
|
|
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 {
|
|
@@ -617,6 +623,7 @@ enum SystemLabel {
|
|
|
617
623
|
DEFAULT
|
|
618
624
|
BIN
|
|
619
625
|
ARCHIVE
|
|
626
|
+
MARKED_AS_UNOPENED
|
|
620
627
|
}
|
|
621
628
|
|
|
622
629
|
enum TransmissionType {
|
|
@@ -649,4 +656,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
649
656
|
|
|
650
657
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
651
658
|
|
|
652
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
659
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
package/src/index.js
CHANGED
|
@@ -451,7 +451,10 @@ type TransmissionContent {
|
|
|
451
451
|
|
|
452
452
|
input BulkSetSystemLabelInput {
|
|
453
453
|
dialogs: [DialogRevisionInput!]!
|
|
454
|
-
|
|
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
|
-
|
|
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 {
|
|
@@ -617,6 +623,7 @@ enum SystemLabel {
|
|
|
617
623
|
DEFAULT
|
|
618
624
|
BIN
|
|
619
625
|
ARCHIVE
|
|
626
|
+
MARKED_AS_UNOPENED
|
|
620
627
|
}
|
|
621
628
|
|
|
622
629
|
enum TransmissionType {
|
package/swagger.verified.json
CHANGED
|
@@ -31,13 +31,15 @@
|
|
|
31
31
|
"enum": [
|
|
32
32
|
"Default",
|
|
33
33
|
"Bin",
|
|
34
|
-
"Archive"
|
|
34
|
+
"Archive",
|
|
35
|
+
"MarkedAsUnopened"
|
|
35
36
|
],
|
|
36
37
|
"type": "string",
|
|
37
38
|
"x-enumNames": [
|
|
38
39
|
"Default",
|
|
39
40
|
"Bin",
|
|
40
|
-
"Archive"
|
|
41
|
+
"Archive",
|
|
42
|
+
"MarkedAsUnopened"
|
|
41
43
|
]
|
|
42
44
|
},
|
|
43
45
|
"DialogsEntities_DialogStatus": {
|
|
@@ -1999,6 +2001,14 @@
|
|
|
1999
2001
|
"V1EndUserEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel": {
|
|
2000
2002
|
"additionalProperties": false,
|
|
2001
2003
|
"properties": {
|
|
2004
|
+
"addLabels": {
|
|
2005
|
+
"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.",
|
|
2006
|
+
"items": {
|
|
2007
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
2008
|
+
},
|
|
2009
|
+
"nullable": true,
|
|
2010
|
+
"type": "array"
|
|
2011
|
+
},
|
|
2002
2012
|
"dialogs": {
|
|
2003
2013
|
"description": "List of target dialog ids with optional revision ids",
|
|
2004
2014
|
"items": {
|
|
@@ -2007,13 +2017,23 @@
|
|
|
2007
2017
|
"nullable": true,
|
|
2008
2018
|
"type": "array"
|
|
2009
2019
|
},
|
|
2020
|
+
"removeLabels": {
|
|
2021
|
+
"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.",
|
|
2022
|
+
"items": {
|
|
2023
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
2024
|
+
},
|
|
2025
|
+
"nullable": true,
|
|
2026
|
+
"type": "array"
|
|
2027
|
+
},
|
|
2010
2028
|
"systemLabels": {
|
|
2029
|
+
"deprecated": true,
|
|
2011
2030
|
"description": "List of system labels to set on target dialogs",
|
|
2012
2031
|
"items": {
|
|
2013
2032
|
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
2014
2033
|
},
|
|
2015
2034
|
"nullable": true,
|
|
2016
|
-
"type": "array"
|
|
2035
|
+
"type": "array",
|
|
2036
|
+
"x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
|
|
2017
2037
|
}
|
|
2018
2038
|
},
|
|
2019
2039
|
"type": "object"
|
|
@@ -2038,12 +2058,31 @@
|
|
|
2038
2058
|
"V1EndUserEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest": {
|
|
2039
2059
|
"additionalProperties": false,
|
|
2040
2060
|
"properties": {
|
|
2041
|
-
"
|
|
2061
|
+
"addLabels": {
|
|
2062
|
+
"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
2063
|
"items": {
|
|
2043
2064
|
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
2044
2065
|
},
|
|
2045
2066
|
"nullable": true,
|
|
2046
2067
|
"type": "array"
|
|
2068
|
+
},
|
|
2069
|
+
"removeLabels": {
|
|
2070
|
+
"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.",
|
|
2071
|
+
"items": {
|
|
2072
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
2073
|
+
},
|
|
2074
|
+
"nullable": true,
|
|
2075
|
+
"type": "array"
|
|
2076
|
+
},
|
|
2077
|
+
"systemLabels": {
|
|
2078
|
+
"deprecated": true,
|
|
2079
|
+
"description": "List of system labels to set on target dialogs",
|
|
2080
|
+
"items": {
|
|
2081
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
2082
|
+
},
|
|
2083
|
+
"nullable": true,
|
|
2084
|
+
"type": "array",
|
|
2085
|
+
"x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
|
|
2047
2086
|
}
|
|
2048
2087
|
},
|
|
2049
2088
|
"type": "object"
|
|
@@ -5327,6 +5366,14 @@
|
|
|
5327
5366
|
"V1ServiceOwnerEndUserContextCommandsBulkSetSystemLabels_BulkSetSystemLabel": {
|
|
5328
5367
|
"additionalProperties": false,
|
|
5329
5368
|
"properties": {
|
|
5369
|
+
"addLabels": {
|
|
5370
|
+
"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.",
|
|
5371
|
+
"items": {
|
|
5372
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
5373
|
+
},
|
|
5374
|
+
"nullable": true,
|
|
5375
|
+
"type": "array"
|
|
5376
|
+
},
|
|
5330
5377
|
"dialogs": {
|
|
5331
5378
|
"description": "List of target dialog ids with optional revision ids",
|
|
5332
5379
|
"items": {
|
|
@@ -5335,13 +5382,23 @@
|
|
|
5335
5382
|
"nullable": true,
|
|
5336
5383
|
"type": "array"
|
|
5337
5384
|
},
|
|
5385
|
+
"removeLabels": {
|
|
5386
|
+
"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.",
|
|
5387
|
+
"items": {
|
|
5388
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
5389
|
+
},
|
|
5390
|
+
"nullable": true,
|
|
5391
|
+
"type": "array"
|
|
5392
|
+
},
|
|
5338
5393
|
"systemLabels": {
|
|
5394
|
+
"deprecated": true,
|
|
5339
5395
|
"description": "List of system labels to set on target dialogs",
|
|
5340
5396
|
"items": {
|
|
5341
5397
|
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
5342
5398
|
},
|
|
5343
5399
|
"nullable": true,
|
|
5344
|
-
"type": "array"
|
|
5400
|
+
"type": "array",
|
|
5401
|
+
"x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
|
|
5345
5402
|
}
|
|
5346
5403
|
},
|
|
5347
5404
|
"type": "object"
|
|
@@ -5375,12 +5432,31 @@
|
|
|
5375
5432
|
"V1ServiceOwnerEndUserContextCommandsSetSystemLabel_SetDialogSystemLabelRequest": {
|
|
5376
5433
|
"additionalProperties": false,
|
|
5377
5434
|
"properties": {
|
|
5378
|
-
"
|
|
5435
|
+
"addLabels": {
|
|
5436
|
+
"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
5437
|
"items": {
|
|
5380
5438
|
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
5381
5439
|
},
|
|
5382
5440
|
"nullable": true,
|
|
5383
5441
|
"type": "array"
|
|
5442
|
+
},
|
|
5443
|
+
"removeLabels": {
|
|
5444
|
+
"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.",
|
|
5445
|
+
"items": {
|
|
5446
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
5447
|
+
},
|
|
5448
|
+
"nullable": true,
|
|
5449
|
+
"type": "array"
|
|
5450
|
+
},
|
|
5451
|
+
"systemLabels": {
|
|
5452
|
+
"deprecated": true,
|
|
5453
|
+
"description": "List of system labels to set on target dialogs",
|
|
5454
|
+
"items": {
|
|
5455
|
+
"$ref": "#/components/schemas/DialogEndUserContextsEntities_SystemLabel"
|
|
5456
|
+
},
|
|
5457
|
+
"nullable": true,
|
|
5458
|
+
"type": "array",
|
|
5459
|
+
"x-deprecatedMessage": "Use AddLabels instead. This property will be removed in a future version."
|
|
5384
5460
|
}
|
|
5385
5461
|
},
|
|
5386
5462
|
"type": "object"
|
|
@@ -8558,4 +8634,4 @@
|
|
|
8558
8634
|
}
|
|
8559
8635
|
}
|
|
8560
8636
|
}
|
|
8561
|
-
}
|
|
8637
|
+
}
|