@digdir/dialogporten-schema 1.62.2 → 1.63.0
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 +6 -0
- package/src/index.js +6 -0
- package/swagger.verified.json +45 -0
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -124,6 +124,8 @@ type Dialog {
|
|
|
124
124
|
dialogToken: String
|
|
125
125
|
systemLabel: SystemLabel!
|
|
126
126
|
status: DialogStatus!
|
|
127
|
+
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
|
|
128
|
+
isApiOnly: Boolean!
|
|
127
129
|
content: Content!
|
|
128
130
|
attachments: [Attachment!]!
|
|
129
131
|
guiActions: [GuiAction!]!
|
|
@@ -210,6 +212,8 @@ type SearchDialog {
|
|
|
210
212
|
dueAt: DateTime
|
|
211
213
|
status: DialogStatus!
|
|
212
214
|
systemLabel: SystemLabel!
|
|
215
|
+
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
|
|
216
|
+
isApiOnly: Boolean!
|
|
213
217
|
latestActivity: Activity
|
|
214
218
|
content: SearchContent!
|
|
215
219
|
seenSinceLastUpdate: [SeenLog!]!
|
|
@@ -302,6 +306,8 @@ input SearchDialogInput {
|
|
|
302
306
|
status: [DialogStatus!]
|
|
303
307
|
"Filter by system label"
|
|
304
308
|
systemLabel: [SystemLabel!]
|
|
309
|
+
"Whether to exclude API-only dialogs from the results. Defaults to false."
|
|
310
|
+
excludeApiOnly: Boolean
|
|
305
311
|
"Only return dialogs created after this date"
|
|
306
312
|
createdAfter: DateTime
|
|
307
313
|
"Only return dialogs created before this date"
|
package/src/index.js
CHANGED
|
@@ -124,6 +124,8 @@ type Dialog {
|
|
|
124
124
|
dialogToken: String
|
|
125
125
|
systemLabel: SystemLabel!
|
|
126
126
|
status: DialogStatus!
|
|
127
|
+
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
|
|
128
|
+
isApiOnly: Boolean!
|
|
127
129
|
content: Content!
|
|
128
130
|
attachments: [Attachment!]!
|
|
129
131
|
guiActions: [GuiAction!]!
|
|
@@ -210,6 +212,8 @@ type SearchDialog {
|
|
|
210
212
|
dueAt: DateTime
|
|
211
213
|
status: DialogStatus!
|
|
212
214
|
systemLabel: SystemLabel!
|
|
215
|
+
"Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans"
|
|
216
|
+
isApiOnly: Boolean!
|
|
213
217
|
latestActivity: Activity
|
|
214
218
|
content: SearchContent!
|
|
215
219
|
seenSinceLastUpdate: [SeenLog!]!
|
|
@@ -302,6 +306,8 @@ input SearchDialogInput {
|
|
|
302
306
|
status: [DialogStatus!]
|
|
303
307
|
"Filter by system label"
|
|
304
308
|
systemLabel: [SystemLabel!]
|
|
309
|
+
"Whether to exclude API-only dialogs from the results. Defaults to false."
|
|
310
|
+
excludeApiOnly: Boolean
|
|
305
311
|
"Only return dialogs created after this date"
|
|
306
312
|
createdAfter: DateTime
|
|
307
313
|
"Only return dialogs created before this date"
|
package/swagger.verified.json
CHANGED
|
@@ -680,6 +680,10 @@
|
|
|
680
680
|
"format": "guid",
|
|
681
681
|
"type": "string"
|
|
682
682
|
},
|
|
683
|
+
"isApiOnly": {
|
|
684
|
+
"description": "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans.",
|
|
685
|
+
"type": "boolean"
|
|
686
|
+
},
|
|
683
687
|
"org": {
|
|
684
688
|
"description": "The service owner code representing the organization (service owner) related to this dialog.",
|
|
685
689
|
"example": "ske",
|
|
@@ -1311,6 +1315,10 @@
|
|
|
1311
1315
|
"format": "guid",
|
|
1312
1316
|
"type": "string"
|
|
1313
1317
|
},
|
|
1318
|
+
"isApiOnly": {
|
|
1319
|
+
"description": "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans.\nWhen true, human-readable content like title and summary are not required.",
|
|
1320
|
+
"type": "boolean"
|
|
1321
|
+
},
|
|
1314
1322
|
"latestActivity": {
|
|
1315
1323
|
"description": "The latest entry in the dialog\u0027s activity log.",
|
|
1316
1324
|
"nullable": true,
|
|
@@ -2362,6 +2370,7 @@
|
|
|
2362
2370
|
},
|
|
2363
2371
|
"content": {
|
|
2364
2372
|
"description": "The dialog unstructured text content.",
|
|
2373
|
+
"nullable": true,
|
|
2365
2374
|
"oneOf": [
|
|
2366
2375
|
{
|
|
2367
2376
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_Content"
|
|
@@ -2419,6 +2428,10 @@
|
|
|
2419
2428
|
"nullable": true,
|
|
2420
2429
|
"type": "string"
|
|
2421
2430
|
},
|
|
2431
|
+
"isApiOnly": {
|
|
2432
|
+
"description": "Indicates if this dialog is intended for API consumption only and should not be displayed in user interfaces.\nWhen true, the dialog will not be visible in portals designed for human users, but will remain accessible via API.",
|
|
2433
|
+
"type": "boolean"
|
|
2434
|
+
},
|
|
2422
2435
|
"party": {
|
|
2423
2436
|
"description": "The party code representing the organization or person that the dialog belongs to in URN format.",
|
|
2424
2437
|
"example": "urn:altinn:person:identifier-no:01125512345\nurn:altinn:organization:identifier-no:912345678",
|
|
@@ -2590,6 +2603,7 @@
|
|
|
2590
2603
|
},
|
|
2591
2604
|
"content": {
|
|
2592
2605
|
"description": "The transmission unstructured text content.",
|
|
2606
|
+
"nullable": true,
|
|
2593
2607
|
"oneOf": [
|
|
2594
2608
|
{
|
|
2595
2609
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_TransmissionContent"
|
|
@@ -3042,6 +3056,7 @@
|
|
|
3042
3056
|
},
|
|
3043
3057
|
"content": {
|
|
3044
3058
|
"description": "The dialog unstructured text content.",
|
|
3059
|
+
"nullable": true,
|
|
3045
3060
|
"oneOf": [
|
|
3046
3061
|
{
|
|
3047
3062
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_Content"
|
|
@@ -3225,6 +3240,7 @@
|
|
|
3225
3240
|
},
|
|
3226
3241
|
"content": {
|
|
3227
3242
|
"description": "The transmission unstructured text content.",
|
|
3243
|
+
"nullable": true,
|
|
3228
3244
|
"oneOf": [
|
|
3229
3245
|
{
|
|
3230
3246
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionContent"
|
|
@@ -3515,6 +3531,7 @@
|
|
|
3515
3531
|
},
|
|
3516
3532
|
"content": {
|
|
3517
3533
|
"description": "The dialog unstructured text content.",
|
|
3534
|
+
"nullable": true,
|
|
3518
3535
|
"oneOf": [
|
|
3519
3536
|
{
|
|
3520
3537
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_Content"
|
|
@@ -3576,6 +3593,10 @@
|
|
|
3576
3593
|
"nullable": true,
|
|
3577
3594
|
"type": "string"
|
|
3578
3595
|
},
|
|
3596
|
+
"isApiOnly": {
|
|
3597
|
+
"description": "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans.",
|
|
3598
|
+
"type": "boolean"
|
|
3599
|
+
},
|
|
3579
3600
|
"org": {
|
|
3580
3601
|
"description": "The service owner code representing the organization (service owner) related to this dialog.",
|
|
3581
3602
|
"example": "ske",
|
|
@@ -4210,6 +4231,7 @@
|
|
|
4210
4231
|
"properties": {
|
|
4211
4232
|
"content": {
|
|
4212
4233
|
"description": "The content of the dialog in search results.",
|
|
4234
|
+
"nullable": true,
|
|
4213
4235
|
"oneOf": [
|
|
4214
4236
|
{
|
|
4215
4237
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_Content"
|
|
@@ -4257,6 +4279,10 @@
|
|
|
4257
4279
|
"format": "guid",
|
|
4258
4280
|
"type": "string"
|
|
4259
4281
|
},
|
|
4282
|
+
"isApiOnly": {
|
|
4283
|
+
"description": "Indicates if this dialog is intended for API consumption only and should not be shown in frontends aimed at humans.",
|
|
4284
|
+
"type": "boolean"
|
|
4285
|
+
},
|
|
4260
4286
|
"latestActivity": {
|
|
4261
4287
|
"description": "The latest entry in the dialog\u0027s activity log.",
|
|
4262
4288
|
"nullable": true,
|
|
@@ -4460,6 +4486,7 @@
|
|
|
4460
4486
|
},
|
|
4461
4487
|
"content": {
|
|
4462
4488
|
"description": "The transmission unstructured text content.",
|
|
4489
|
+
"nullable": true,
|
|
4463
4490
|
"oneOf": [
|
|
4464
4491
|
{
|
|
4465
4492
|
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsUpdate_TransmissionContent"
|
|
@@ -5106,6 +5133,15 @@
|
|
|
5106
5133
|
},
|
|
5107
5134
|
"style": "form"
|
|
5108
5135
|
},
|
|
5136
|
+
{
|
|
5137
|
+
"description": "Whether to exclude API-only dialogs from the results. Defaults to false.",
|
|
5138
|
+
"in": "query",
|
|
5139
|
+
"name": "excludeApiOnly",
|
|
5140
|
+
"schema": {
|
|
5141
|
+
"nullable": true,
|
|
5142
|
+
"type": "boolean"
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5109
5145
|
{
|
|
5110
5146
|
"description": "Search string for free text search. Will attempt to fuzzily match in all free text fields in the aggregate",
|
|
5111
5147
|
"in": "query",
|
|
@@ -6008,6 +6044,15 @@
|
|
|
6008
6044
|
},
|
|
6009
6045
|
"style": "form"
|
|
6010
6046
|
},
|
|
6047
|
+
{
|
|
6048
|
+
"description": "Whether to exclude API-only dialogs from the results. Defaults to false.",
|
|
6049
|
+
"in": "query",
|
|
6050
|
+
"name": "excludeApiOnly",
|
|
6051
|
+
"schema": {
|
|
6052
|
+
"nullable": true,
|
|
6053
|
+
"type": "boolean"
|
|
6054
|
+
}
|
|
6055
|
+
},
|
|
6011
6056
|
{
|
|
6012
6057
|
"description": "Search string for free text search. Will attempt to fuzzily match in all free text fields in the aggregate",
|
|
6013
6058
|
"in": "query",
|