@digdir/dialogporten-schema 1.100.1 → 1.101.0-3004ab8

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.100.1",
3
+ "version": "1.101.0-3004ab8",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -477,6 +477,8 @@ type Transmission {
477
477
  content: TransmissionContent!
478
478
  "The transmission-level attachments."
479
479
  attachments: [Attachment!]!
480
+ "The transmission-level navigational actions."
481
+ navigationalActions: [TransmissionNavigationalAction!]!
480
482
  }
481
483
 
482
484
  type TransmissionContent {
@@ -488,6 +490,15 @@ type TransmissionContent {
488
490
  contentReference: ContentValue
489
491
  }
490
492
 
493
+ type TransmissionNavigationalAction {
494
+ "The title of the navigational action."
495
+ title: [Localization!]!
496
+ "The fully qualified URL of the navigational action. Will be set to 'urn:dialogporten:unauthorized' if the user is not authorized to access the transmission, or 'urn:dialogporten:expired' if the action has expired."
497
+ url: URL!
498
+ "The UTC timestamp when the navigational action expires and is no longer available."
499
+ expiresAt: DateTime
500
+ }
501
+
491
502
  input BulkSetSystemLabelInput {
492
503
  dialogs: [DialogRevisionInput!]!
493
504
  "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."
package/src/index.js CHANGED
@@ -477,6 +477,8 @@ type Transmission {
477
477
  content: TransmissionContent!
478
478
  "The transmission-level attachments."
479
479
  attachments: [Attachment!]!
480
+ "The transmission-level navigational actions."
481
+ navigationalActions: [TransmissionNavigationalAction!]!
480
482
  }
481
483
 
482
484
  type TransmissionContent {
@@ -488,6 +490,15 @@ type TransmissionContent {
488
490
  contentReference: ContentValue
489
491
  }
490
492
 
493
+ type TransmissionNavigationalAction {
494
+ "The title of the navigational action."
495
+ title: [Localization!]!
496
+ "The fully qualified URL of the navigational action. Will be set to 'urn:dialogporten:unauthorized' if the user is not authorized to access the transmission, or 'urn:dialogporten:expired' if the action has expired."
497
+ url: URL!
498
+ "The UTC timestamp when the navigational action expires and is no longer available."
499
+ expiresAt: DateTime
500
+ }
501
+
491
502
  input BulkSetSystemLabelInput {
492
503
  dialogs: [DialogRevisionInput!]!
493
504
  "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."
@@ -1216,6 +1216,14 @@
1216
1216
  "description": "Indicates whether the dialog transmission has been opened.",
1217
1217
  "type": "boolean"
1218
1218
  },
1219
+ "navigationalActions": {
1220
+ "description": "The transmission-level navigational actions.",
1221
+ "items": {
1222
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGet_DialogTransmissionNavigationalAction"
1223
+ },
1224
+ "nullable": true,
1225
+ "type": "array"
1226
+ },
1219
1227
  "relatedTransmissionId": {
1220
1228
  "description": "Reference to any other transmission that this transmission is related to.",
1221
1229
  "format": "guid",
@@ -1337,6 +1345,32 @@
1337
1345
  },
1338
1346
  "type": "object"
1339
1347
  },
1348
+ "V1EndUserDialogsQueriesGet_DialogTransmissionNavigationalAction": {
1349
+ "additionalProperties": false,
1350
+ "properties": {
1351
+ "expiresAt": {
1352
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
1353
+ "format": "date-time",
1354
+ "nullable": true,
1355
+ "type": "string"
1356
+ },
1357
+ "title": {
1358
+ "description": "The title of the navigational action.",
1359
+ "items": {
1360
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1361
+ },
1362
+ "nullable": true,
1363
+ "type": "array"
1364
+ },
1365
+ "url": {
1366
+ "description": "The fully qualified URL of the navigational action. Will be set to \\\u0022urn:dialogporten:unauthorized\\\u0022 if the user is\nnot authorized to access the transmission, or \\\u0022urn:dialogporten:expired\\\u0022 if the action has expired.",
1367
+ "example": "https://example.com/path\nurn:dialogporten:unauthorized\nurn:dialogporten:expired",
1368
+ "format": "uri",
1369
+ "type": "string"
1370
+ }
1371
+ },
1372
+ "type": "object"
1373
+ },
1340
1374
  "V1EndUserDialogsQueriesGetActivity_Activity": {
1341
1375
  "additionalProperties": false,
1342
1376
  "properties": {
@@ -1508,6 +1542,32 @@
1508
1542
  },
1509
1543
  "type": "object"
1510
1544
  },
1545
+ "V1EndUserDialogsQueriesGetTransmission_NavigationalAction": {
1546
+ "additionalProperties": false,
1547
+ "properties": {
1548
+ "expiresAt": {
1549
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
1550
+ "format": "date-time",
1551
+ "nullable": true,
1552
+ "type": "string"
1553
+ },
1554
+ "title": {
1555
+ "description": "The title of the navigational action.",
1556
+ "items": {
1557
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
1558
+ },
1559
+ "nullable": true,
1560
+ "type": "array"
1561
+ },
1562
+ "url": {
1563
+ "description": "The fully qualified URL of the navigational action. Will be set to \\\u0022urn:dialogporten:unauthorized\\\u0022 if the user is\nnot authorized to access the transmission, or \\\u0022urn:dialogporten:expired\\\u0022 if the action has expired.",
1564
+ "example": "https://example.com/path\nurn:dialogporten:unauthorized\nurn:dialogporten:expired",
1565
+ "format": "uri",
1566
+ "type": "string"
1567
+ }
1568
+ },
1569
+ "type": "object"
1570
+ },
1511
1571
  "V1EndUserDialogsQueriesGetTransmission_Transmission": {
1512
1572
  "additionalProperties": false,
1513
1573
  "properties": {
@@ -1563,6 +1623,14 @@
1563
1623
  "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
1564
1624
  "type": "boolean"
1565
1625
  },
1626
+ "navigationalActions": {
1627
+ "description": "The navigational actions associated with the transmission.",
1628
+ "items": {
1629
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesGetTransmission_NavigationalAction"
1630
+ },
1631
+ "nullable": true,
1632
+ "type": "array"
1633
+ },
1566
1634
  "relatedTransmissionId": {
1567
1635
  "description": "The unique identifier for the related transmission, if any.",
1568
1636
  "format": "guid",
@@ -2092,6 +2160,32 @@
2092
2160
  },
2093
2161
  "type": "object"
2094
2162
  },
2163
+ "V1EndUserDialogsQueriesSearchTransmissions_NavigationalAction": {
2164
+ "additionalProperties": false,
2165
+ "properties": {
2166
+ "expiresAt": {
2167
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
2168
+ "format": "date-time",
2169
+ "nullable": true,
2170
+ "type": "string"
2171
+ },
2172
+ "title": {
2173
+ "description": "The title of the navigational action.",
2174
+ "items": {
2175
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
2176
+ },
2177
+ "nullable": true,
2178
+ "type": "array"
2179
+ },
2180
+ "url": {
2181
+ "description": "The fully qualified URL of the navigational action. Will be set to \\\u0022urn:dialogporten:unauthorized\\\u0022 if the user is\nnot authorized to access the transmission, or \\\u0022urn:dialogporten:expired\\\u0022 if the action has expired.",
2182
+ "example": "https://example.com/path\nurn:dialogporten:unauthorized\nurn:dialogporten:expired",
2183
+ "format": "uri",
2184
+ "type": "string"
2185
+ }
2186
+ },
2187
+ "type": "object"
2188
+ },
2095
2189
  "V1EndUserDialogsQueriesSearchTransmissions_Transmission": {
2096
2190
  "additionalProperties": false,
2097
2191
  "properties": {
@@ -2147,6 +2241,14 @@
2147
2241
  "description": "Flag indicating if the authenticated user is authorized for this transmission. If not, embedded content and\nthe attachments will not be available.",
2148
2242
  "type": "boolean"
2149
2243
  },
2244
+ "navigationalActions": {
2245
+ "description": "The navigational actions associated with the transmission.",
2246
+ "items": {
2247
+ "$ref": "#/components/schemas/V1EndUserDialogsQueriesSearchTransmissions_NavigationalAction"
2248
+ },
2249
+ "nullable": true,
2250
+ "type": "array"
2251
+ },
2150
2252
  "relatedTransmissionId": {
2151
2253
  "description": "The unique identifier for the related transmission, if any.",
2152
2254
  "format": "guid",
@@ -2969,6 +3071,14 @@
2969
3071
  "nullable": true,
2970
3072
  "type": "string"
2971
3073
  },
3074
+ "navigationalActions": {
3075
+ "description": "The transmission-level navigational actions.",
3076
+ "items": {
3077
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_TransmissionNavigationalAction"
3078
+ },
3079
+ "nullable": true,
3080
+ "type": "array"
3081
+ },
2972
3082
  "relatedTransmissionId": {
2973
3083
  "description": "Reference to any other transmission that this transmission is related to.",
2974
3084
  "format": "guid",
@@ -3086,6 +3196,31 @@
3086
3196
  },
3087
3197
  "type": "object"
3088
3198
  },
3199
+ "V1ServiceOwnerDialogsCommandsCreate_TransmissionNavigationalAction": {
3200
+ "additionalProperties": false,
3201
+ "properties": {
3202
+ "expiresAt": {
3203
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
3204
+ "format": "date-time",
3205
+ "nullable": true,
3206
+ "type": "string"
3207
+ },
3208
+ "title": {
3209
+ "description": "The title of the navigational action.",
3210
+ "items": {
3211
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3212
+ },
3213
+ "nullable": true,
3214
+ "type": "array"
3215
+ },
3216
+ "url": {
3217
+ "description": "The fully qualified URL of the navigational action.",
3218
+ "format": "uri",
3219
+ "type": "string"
3220
+ }
3221
+ },
3222
+ "type": "object"
3223
+ },
3089
3224
  "V1ServiceOwnerDialogsCommandsCreateActivity_ActivityRequest": {
3090
3225
  "additionalProperties": false,
3091
3226
  "properties": {
@@ -3233,6 +3368,31 @@
3233
3368
  },
3234
3369
  "type": "object"
3235
3370
  },
3371
+ "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionNavigationalAction": {
3372
+ "additionalProperties": false,
3373
+ "properties": {
3374
+ "expiresAt": {
3375
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
3376
+ "format": "date-time",
3377
+ "nullable": true,
3378
+ "type": "string"
3379
+ },
3380
+ "title": {
3381
+ "description": "The title of the navigational action.",
3382
+ "items": {
3383
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
3384
+ },
3385
+ "nullable": true,
3386
+ "type": "array"
3387
+ },
3388
+ "url": {
3389
+ "description": "The fully qualified URL of the navigational action.",
3390
+ "format": "uri",
3391
+ "type": "string"
3392
+ }
3393
+ },
3394
+ "type": "object"
3395
+ },
3236
3396
  "V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionRequest": {
3237
3397
  "additionalProperties": false,
3238
3398
  "properties": {
@@ -3282,6 +3442,14 @@
3282
3442
  "nullable": true,
3283
3443
  "type": "string"
3284
3444
  },
3445
+ "navigationalActions": {
3446
+ "description": "The transmission-level navigational actions.",
3447
+ "items": {
3448
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreateTransmission_TransmissionNavigationalAction"
3449
+ },
3450
+ "nullable": true,
3451
+ "type": "array"
3452
+ },
3285
3453
  "relatedTransmissionId": {
3286
3454
  "description": "Reference to any other transmission that this transmission is related to.",
3287
3455
  "format": "guid",
@@ -3852,6 +4020,14 @@
3852
4020
  "nullable": true,
3853
4021
  "type": "string"
3854
4022
  },
4023
+ "navigationalActions": {
4024
+ "description": "The transmission-level navigational actions.",
4025
+ "items": {
4026
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionNavigationalAction"
4027
+ },
4028
+ "nullable": true,
4029
+ "type": "array"
4030
+ },
3855
4031
  "relatedTransmissionId": {
3856
4032
  "description": "Reference to any other transmission that this transmission is related to.",
3857
4033
  "format": "guid",
@@ -3969,6 +4145,31 @@
3969
4145
  },
3970
4146
  "type": "object"
3971
4147
  },
4148
+ "V1ServiceOwnerDialogsCommandsUpdate_TransmissionNavigationalAction": {
4149
+ "additionalProperties": false,
4150
+ "properties": {
4151
+ "expiresAt": {
4152
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
4153
+ "format": "date-time",
4154
+ "nullable": true,
4155
+ "type": "string"
4156
+ },
4157
+ "title": {
4158
+ "description": "The title of the navigational action.",
4159
+ "items": {
4160
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
4161
+ },
4162
+ "nullable": true,
4163
+ "type": "array"
4164
+ },
4165
+ "url": {
4166
+ "description": "The fully qualified URL of the navigational action.",
4167
+ "format": "uri",
4168
+ "type": "string"
4169
+ }
4170
+ },
4171
+ "type": "object"
4172
+ },
3972
4173
  "V1ServiceOwnerDialogsQueriesGet_Content": {
3973
4174
  "additionalProperties": false,
3974
4175
  "properties": {
@@ -4704,6 +4905,14 @@
4704
4905
  "description": "Indicates whether the dialog transmission has been opened.",
4705
4906
  "type": "boolean"
4706
4907
  },
4908
+ "navigationalActions": {
4909
+ "description": "The transmission-level navigational actions.",
4910
+ "items": {
4911
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogTransmissionNavigationalAction"
4912
+ },
4913
+ "nullable": true,
4914
+ "type": "array"
4915
+ },
4707
4916
  "relatedTransmissionId": {
4708
4917
  "description": "Reference to any other transmission that this transmission is related to.",
4709
4918
  "format": "guid",
@@ -4825,6 +5034,32 @@
4825
5034
  },
4826
5035
  "type": "object"
4827
5036
  },
5037
+ "V1ServiceOwnerDialogsQueriesGet_DialogTransmissionNavigationalAction": {
5038
+ "additionalProperties": false,
5039
+ "properties": {
5040
+ "expiresAt": {
5041
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5042
+ "format": "date-time",
5043
+ "nullable": true,
5044
+ "type": "string"
5045
+ },
5046
+ "title": {
5047
+ "description": "The title of the navigational action.",
5048
+ "items": {
5049
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5050
+ },
5051
+ "nullable": true,
5052
+ "type": "array"
5053
+ },
5054
+ "url": {
5055
+ "description": "The fully qualified URL of the navigational action.",
5056
+ "example": "https://example.com/path",
5057
+ "format": "uri",
5058
+ "type": "string"
5059
+ }
5060
+ },
5061
+ "type": "object"
5062
+ },
4828
5063
  "V1ServiceOwnerDialogsQueriesGet_Tag": {
4829
5064
  "additionalProperties": false,
4830
5065
  "properties": {
@@ -4995,6 +5230,32 @@
4995
5230
  },
4996
5231
  "type": "object"
4997
5232
  },
5233
+ "V1ServiceOwnerDialogsQueriesGetTransmission_NavigationalAction": {
5234
+ "additionalProperties": false,
5235
+ "properties": {
5236
+ "expiresAt": {
5237
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5238
+ "format": "date-time",
5239
+ "nullable": true,
5240
+ "type": "string"
5241
+ },
5242
+ "title": {
5243
+ "description": "The title of the navigational action.",
5244
+ "items": {
5245
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5246
+ },
5247
+ "nullable": true,
5248
+ "type": "array"
5249
+ },
5250
+ "url": {
5251
+ "description": "The fully qualified URL of the navigational action.",
5252
+ "example": "https://example.com/path",
5253
+ "format": "uri",
5254
+ "type": "string"
5255
+ }
5256
+ },
5257
+ "type": "object"
5258
+ },
4998
5259
  "V1ServiceOwnerDialogsQueriesGetTransmission_Transmission": {
4999
5260
  "additionalProperties": false,
5000
5261
  "properties": {
@@ -5046,6 +5307,14 @@
5046
5307
  "format": "guid",
5047
5308
  "type": "string"
5048
5309
  },
5310
+ "navigationalActions": {
5311
+ "description": "The navigational actions associated with the transmission.",
5312
+ "items": {
5313
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGetTransmission_NavigationalAction"
5314
+ },
5315
+ "nullable": true,
5316
+ "type": "array"
5317
+ },
5049
5318
  "relatedTransmissionId": {
5050
5319
  "description": "The unique identifier for the related transmission, if any.",
5051
5320
  "format": "guid",
@@ -5649,6 +5918,32 @@
5649
5918
  },
5650
5919
  "type": "object"
5651
5920
  },
5921
+ "V1ServiceOwnerDialogsQueriesSearchTransmissions_NavigationalAction": {
5922
+ "additionalProperties": false,
5923
+ "properties": {
5924
+ "expiresAt": {
5925
+ "description": "The UTC timestamp when the navigational action expires and is no longer available.",
5926
+ "format": "date-time",
5927
+ "nullable": true,
5928
+ "type": "string"
5929
+ },
5930
+ "title": {
5931
+ "description": "The title of the navigational action.",
5932
+ "items": {
5933
+ "$ref": "#/components/schemas/V1CommonLocalizations_Localization"
5934
+ },
5935
+ "nullable": true,
5936
+ "type": "array"
5937
+ },
5938
+ "url": {
5939
+ "description": "The fully qualified URL of the navigational action.",
5940
+ "example": "https://example.com/path",
5941
+ "format": "uri",
5942
+ "type": "string"
5943
+ }
5944
+ },
5945
+ "type": "object"
5946
+ },
5652
5947
  "V1ServiceOwnerDialogsQueriesSearchTransmissions_Transmission": {
5653
5948
  "additionalProperties": false,
5654
5949
  "properties": {
@@ -5700,6 +5995,14 @@
5700
5995
  "format": "guid",
5701
5996
  "type": "string"
5702
5997
  },
5998
+ "navigationalActions": {
5999
+ "description": "The navigational actions associated with the transmission.",
6000
+ "items": {
6001
+ "$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearchTransmissions_NavigationalAction"
6002
+ },
6003
+ "nullable": true,
6004
+ "type": "array"
6005
+ },
5703
6006
  "relatedTransmissionId": {
5704
6007
  "description": "The unique identifier for the related transmission, if any.",
5705
6008
  "format": "guid",
@@ -7974,6 +8277,14 @@
7974
8277
  },
7975
8278
  "type": "array"
7976
8279
  }
8280
+ },
8281
+ "application/json-patch\u002Bjson": {
8282
+ "schema": {
8283
+ "items": {
8284
+ "$ref": "#/components/schemas/JsonPatchOperations_Operation"
8285
+ },
8286
+ "type": "array"
8287
+ }
7977
8288
  }
7978
8289
  },
7979
8290
  "required": true,