@digdir/dialogporten-schema 1.80.3 → 1.82.0-e11e170
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 +26 -1
- package/src/index.js +25 -0
- package/swagger.verified.json +90 -0
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -242,6 +242,11 @@ type DialogByIdNotFound implements DialogByIdError {
|
|
|
242
242
|
message: String!
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
type DialogByIdNotVisible implements DialogByIdError {
|
|
246
|
+
message: String!
|
|
247
|
+
visibleFrom: DateTime!
|
|
248
|
+
}
|
|
249
|
+
|
|
245
250
|
type DialogByIdPayload {
|
|
246
251
|
dialog: Dialog
|
|
247
252
|
errors: [DialogByIdError!]!
|
|
@@ -401,15 +406,35 @@ type SeenLog {
|
|
|
401
406
|
isCurrentEndUser: Boolean!
|
|
402
407
|
}
|
|
403
408
|
|
|
409
|
+
type SetSystemLabelConcurrencyError implements SetSystemLabelError {
|
|
410
|
+
message: String!
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
type SetSystemLabelDomainError implements SetSystemLabelError {
|
|
414
|
+
message: String!
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
type SetSystemLabelEntityDeleted implements SetSystemLabelError {
|
|
418
|
+
message: String!
|
|
419
|
+
}
|
|
420
|
+
|
|
404
421
|
type SetSystemLabelEntityNotFound implements SetSystemLabelError {
|
|
405
422
|
message: String!
|
|
406
423
|
}
|
|
407
424
|
|
|
425
|
+
type SetSystemLabelForbidden implements SetSystemLabelError {
|
|
426
|
+
message: String!
|
|
427
|
+
}
|
|
428
|
+
|
|
408
429
|
type SetSystemLabelPayload {
|
|
409
430
|
success: Boolean!
|
|
410
431
|
errors: [SetSystemLabelError!]!
|
|
411
432
|
}
|
|
412
433
|
|
|
434
|
+
type SetSystemLabelValidationError implements SetSystemLabelError {
|
|
435
|
+
message: String!
|
|
436
|
+
}
|
|
437
|
+
|
|
413
438
|
type Subscriptions {
|
|
414
439
|
"Requires a dialog token in the 'DigDir-Dialog-Token' header."
|
|
415
440
|
dialogEvents(dialogId: UUID!): DialogEventPayload! @authorize(policy: "enduserSubscription", apply: VALIDATION)
|
|
@@ -663,4 +688,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
663
688
|
|
|
664
689
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
665
690
|
|
|
666
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
691
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
package/src/index.js
CHANGED
|
@@ -242,6 +242,11 @@ type DialogByIdNotFound implements DialogByIdError {
|
|
|
242
242
|
message: String!
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
type DialogByIdNotVisible implements DialogByIdError {
|
|
246
|
+
message: String!
|
|
247
|
+
visibleFrom: DateTime!
|
|
248
|
+
}
|
|
249
|
+
|
|
245
250
|
type DialogByIdPayload {
|
|
246
251
|
dialog: Dialog
|
|
247
252
|
errors: [DialogByIdError!]!
|
|
@@ -401,15 +406,35 @@ type SeenLog {
|
|
|
401
406
|
isCurrentEndUser: Boolean!
|
|
402
407
|
}
|
|
403
408
|
|
|
409
|
+
type SetSystemLabelConcurrencyError implements SetSystemLabelError {
|
|
410
|
+
message: String!
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
type SetSystemLabelDomainError implements SetSystemLabelError {
|
|
414
|
+
message: String!
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
type SetSystemLabelEntityDeleted implements SetSystemLabelError {
|
|
418
|
+
message: String!
|
|
419
|
+
}
|
|
420
|
+
|
|
404
421
|
type SetSystemLabelEntityNotFound implements SetSystemLabelError {
|
|
405
422
|
message: String!
|
|
406
423
|
}
|
|
407
424
|
|
|
425
|
+
type SetSystemLabelForbidden implements SetSystemLabelError {
|
|
426
|
+
message: String!
|
|
427
|
+
}
|
|
428
|
+
|
|
408
429
|
type SetSystemLabelPayload {
|
|
409
430
|
success: Boolean!
|
|
410
431
|
errors: [SetSystemLabelError!]!
|
|
411
432
|
}
|
|
412
433
|
|
|
434
|
+
type SetSystemLabelValidationError implements SetSystemLabelError {
|
|
435
|
+
message: String!
|
|
436
|
+
}
|
|
437
|
+
|
|
413
438
|
type Subscriptions {
|
|
414
439
|
"Requires a dialog token in the 'DigDir-Dialog-Token' header."
|
|
415
440
|
dialogEvents(dialogId: UUID!): DialogEventPayload! @authorize(policy: "enduserSubscription", apply: VALIDATION)
|
package/swagger.verified.json
CHANGED
|
@@ -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.",
|