@digdir/dialogporten-schema 1.80.3 → 1.82.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.80.3",
3
+ "version": "1.82.0",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "22"
@@ -7372,6 +7372,96 @@
7372
7372
  ]
7373
7373
  }
7374
7374
  },
7375
+ "/api/v1/serviceowner/dialogs/{dialogId}/actions/freeze": {
7376
+ "post": {
7377
+ "description": "Freezes a given dialog.\nThe dialog cannot be updated/deleted by the service owner (but can still be altered via admin-scope) when frozen",
7378
+ "operationId": "V1ServiceOwnerDialogsCommandsFreeze_FreezeDialog",
7379
+ "parameters": [
7380
+ {
7381
+ "in": "path",
7382
+ "name": "dialogId",
7383
+ "required": true,
7384
+ "schema": {
7385
+ "format": "guid",
7386
+ "type": "string"
7387
+ }
7388
+ },
7389
+ {
7390
+ "in": "header",
7391
+ "name": "if-Match",
7392
+ "schema": {
7393
+ "format": "guid",
7394
+ "nullable": true,
7395
+ "type": "string"
7396
+ }
7397
+ }
7398
+ ],
7399
+ "responses": {
7400
+ "204": {
7401
+ "description": "The dialog aggregate was frozen successfully.",
7402
+ "headers": {
7403
+ "Etag": {
7404
+ "description": "The new UUID ETag of the dialog",
7405
+ "example": "123e4567-e89b-12d3-a456-426614174000",
7406
+ "schema": {
7407
+ "type": "string"
7408
+ }
7409
+ }
7410
+ }
7411
+ },
7412
+ "400": {
7413
+ "content": {
7414
+ "application/problem\u002Bjson": {
7415
+ "schema": {
7416
+ "$ref": "#/components/schemas/ProblemDetails"
7417
+ }
7418
+ }
7419
+ },
7420
+ "description": "Validation error occurred. See problem details for a list of errors."
7421
+ },
7422
+ "401": {
7423
+ "description": "Unauthorized"
7424
+ },
7425
+ "403": {
7426
+ "description": "Unauthorized to freeze the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
7427
+ },
7428
+ "404": {
7429
+ "content": {
7430
+ "application/problem\u002Bjson": {
7431
+ "schema": {
7432
+ "$ref": "#/components/schemas/ProblemDetails"
7433
+ }
7434
+ }
7435
+ },
7436
+ "description": "The given dialog ID was not found."
7437
+ },
7438
+ "410": {
7439
+ "description": "Entity with the given key(s) is removed."
7440
+ },
7441
+ "412": {
7442
+ "content": {
7443
+ "application/problem\u002Bjson": {
7444
+ "schema": {
7445
+ "$ref": "#/components/schemas/ProblemDetails"
7446
+ }
7447
+ }
7448
+ },
7449
+ "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
7450
+ }
7451
+ },
7452
+ "security": [
7453
+ {
7454
+ "JWTBearerAuth": [
7455
+ "digdir:dialogporten.serviceprovider"
7456
+ ]
7457
+ }
7458
+ ],
7459
+ "summary": "Freezes a dialog",
7460
+ "tags": [
7461
+ "Serviceowner"
7462
+ ]
7463
+ }
7464
+ },
7375
7465
  "/api/v1/serviceowner/dialogs/{dialogId}/actions/purge": {
7376
7466
  "post": {
7377
7467
  "description": "Deletes a given dialog (hard delete).\n\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not deleted by another request in the meantime.",