@digdir/dialogporten-schema 1.48.4 → 1.48.5-5403063
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/swagger.verified.json +99 -0
package/package.json
CHANGED
package/swagger.verified.json
CHANGED
|
@@ -327,6 +327,20 @@
|
|
|
327
327
|
},
|
|
328
328
|
"type": "object"
|
|
329
329
|
},
|
|
330
|
+
"V1Common_dFilter": {
|
|
331
|
+
"description": "",
|
|
332
|
+
"enum": [
|
|
333
|
+
"Exclude",
|
|
334
|
+
"Include",
|
|
335
|
+
"Only"
|
|
336
|
+
],
|
|
337
|
+
"type": "string",
|
|
338
|
+
"x-enumNames": [
|
|
339
|
+
"Exclude",
|
|
340
|
+
"Include",
|
|
341
|
+
"Only"
|
|
342
|
+
]
|
|
343
|
+
},
|
|
330
344
|
"V1CommonContent_ContentValue": {
|
|
331
345
|
"additionalProperties": false,
|
|
332
346
|
"properties": {
|
|
@@ -4073,6 +4087,12 @@
|
|
|
4073
4087
|
"format": "date-time",
|
|
4074
4088
|
"type": "string"
|
|
4075
4089
|
},
|
|
4090
|
+
"deletedAt": {
|
|
4091
|
+
"description": "If deleted, the date and time when the deletion was performed.",
|
|
4092
|
+
"format": "date-time",
|
|
4093
|
+
"nullable": true,
|
|
4094
|
+
"type": "string"
|
|
4095
|
+
},
|
|
4076
4096
|
"dueAt": {
|
|
4077
4097
|
"description": "The due date for the dialog. This is the last date when the dialog is expected to be completed.",
|
|
4078
4098
|
"example": "2022-12-31T23:59:59Z",
|
|
@@ -5688,6 +5708,19 @@
|
|
|
5688
5708
|
},
|
|
5689
5709
|
"style": "form"
|
|
5690
5710
|
},
|
|
5711
|
+
{
|
|
5712
|
+
"description": "If set to \u0027include\u0027, the result will include both deleted and non-deleted dialogs\nIf set to \u0027exclude\u0027, the result will only include non-deleted dialogs\nIf set to \u0027only\u0027, the result will only include deleted dialogs",
|
|
5713
|
+
"in": "query",
|
|
5714
|
+
"name": "deleted",
|
|
5715
|
+
"schema": {
|
|
5716
|
+
"allOf": [
|
|
5717
|
+
{
|
|
5718
|
+
"$ref": "#/components/schemas/V1Common_dFilter"
|
|
5719
|
+
}
|
|
5720
|
+
],
|
|
5721
|
+
"nullable": true
|
|
5722
|
+
}
|
|
5723
|
+
},
|
|
5691
5724
|
{
|
|
5692
5725
|
"description": "Only return dialogs created after this date",
|
|
5693
5726
|
"in": "query",
|
|
@@ -6379,6 +6412,72 @@
|
|
|
6379
6412
|
]
|
|
6380
6413
|
}
|
|
6381
6414
|
},
|
|
6415
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/actions/restore": {
|
|
6416
|
+
"post": {
|
|
6417
|
+
"description": "Restore a dialog. For more information see the documentation (link TBD). ",
|
|
6418
|
+
"operationId": "V1ServiceOwnerDialogsRestore_RestoreDialog",
|
|
6419
|
+
"parameters": [
|
|
6420
|
+
{
|
|
6421
|
+
"in": "path",
|
|
6422
|
+
"name": "dialogId",
|
|
6423
|
+
"required": true,
|
|
6424
|
+
"schema": {
|
|
6425
|
+
"format": "guid",
|
|
6426
|
+
"type": "string"
|
|
6427
|
+
}
|
|
6428
|
+
},
|
|
6429
|
+
{
|
|
6430
|
+
"in": "header",
|
|
6431
|
+
"name": "if-Match",
|
|
6432
|
+
"schema": {
|
|
6433
|
+
"format": "guid",
|
|
6434
|
+
"nullable": true,
|
|
6435
|
+
"type": "string"
|
|
6436
|
+
}
|
|
6437
|
+
}
|
|
6438
|
+
],
|
|
6439
|
+
"responses": {
|
|
6440
|
+
"204": {
|
|
6441
|
+
"description": "The dialog aggregate was restored successfully."
|
|
6442
|
+
},
|
|
6443
|
+
"401": {
|
|
6444
|
+
"description": "Unauthorized"
|
|
6445
|
+
},
|
|
6446
|
+
"403": {
|
|
6447
|
+
"description": "Forbidden"
|
|
6448
|
+
},
|
|
6449
|
+
"404": {
|
|
6450
|
+
"content": {
|
|
6451
|
+
"application/problem\u002Bjson": {
|
|
6452
|
+
"schema": {
|
|
6453
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
6454
|
+
}
|
|
6455
|
+
}
|
|
6456
|
+
},
|
|
6457
|
+
"description": "The given dialog ID was not found."
|
|
6458
|
+
},
|
|
6459
|
+
"412": {
|
|
6460
|
+
"content": {
|
|
6461
|
+
"application/problem\u002Bjson": {
|
|
6462
|
+
"schema": {
|
|
6463
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
6464
|
+
}
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
"description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
|
|
6468
|
+
}
|
|
6469
|
+
},
|
|
6470
|
+
"security": [
|
|
6471
|
+
{
|
|
6472
|
+
"JWTBearerAuth": []
|
|
6473
|
+
}
|
|
6474
|
+
],
|
|
6475
|
+
"summary": "Restore a dialog",
|
|
6476
|
+
"tags": [
|
|
6477
|
+
"Serviceowner"
|
|
6478
|
+
]
|
|
6479
|
+
}
|
|
6480
|
+
},
|
|
6382
6481
|
"/api/v1/serviceowner/dialogs/{dialogId}/actions/should-send-notification": {
|
|
6383
6482
|
"get": {
|
|
6384
6483
|
"description": "Used by Altinn Notification only. Takes a dialogId and returns a boolean value based on conditions used to determine if a notification is to be sent.",
|