@digdir/dialogporten-schema 1.48.4 → 1.48.5-331d492

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.48.4",
3
+ "version": "1.48.5-331d492",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -6379,6 +6379,72 @@
6379
6379
  ]
6380
6380
  }
6381
6381
  },
6382
+ "/api/v1/serviceowner/dialogs/{dialogId}/actions/restore": {
6383
+ "post": {
6384
+ "description": "Restore a dialog. For more information see the documentation (link TBD). ",
6385
+ "operationId": "V1ServiceOwnerDialogsRestore_RestoreDialog",
6386
+ "parameters": [
6387
+ {
6388
+ "in": "path",
6389
+ "name": "dialogId",
6390
+ "required": true,
6391
+ "schema": {
6392
+ "format": "guid",
6393
+ "type": "string"
6394
+ }
6395
+ },
6396
+ {
6397
+ "in": "header",
6398
+ "name": "if-Match",
6399
+ "schema": {
6400
+ "format": "guid",
6401
+ "nullable": true,
6402
+ "type": "string"
6403
+ }
6404
+ }
6405
+ ],
6406
+ "responses": {
6407
+ "204": {
6408
+ "description": "The dialog aggregate was restored successfully."
6409
+ },
6410
+ "401": {
6411
+ "description": "Unauthorized"
6412
+ },
6413
+ "403": {
6414
+ "description": "Forbidden"
6415
+ },
6416
+ "404": {
6417
+ "content": {
6418
+ "application/problem\u002Bjson": {
6419
+ "schema": {
6420
+ "$ref": "#/components/schemas/ProblemDetails"
6421
+ }
6422
+ }
6423
+ },
6424
+ "description": "The given dialog ID was not found."
6425
+ },
6426
+ "412": {
6427
+ "content": {
6428
+ "application/problem\u002Bjson": {
6429
+ "schema": {
6430
+ "$ref": "#/components/schemas/ProblemDetails"
6431
+ }
6432
+ }
6433
+ },
6434
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
6435
+ }
6436
+ },
6437
+ "security": [
6438
+ {
6439
+ "JWTBearerAuth": []
6440
+ }
6441
+ ],
6442
+ "summary": "Restore a dialog",
6443
+ "tags": [
6444
+ "Serviceowner"
6445
+ ]
6446
+ }
6447
+ },
6382
6448
  "/api/v1/serviceowner/dialogs/{dialogId}/actions/should-send-notification": {
6383
6449
  "get": {
6384
6450
  "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.",