@digdir/dialogporten-schema 1.48.5 → 1.49.0-e2665ca
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 +1 -1
- package/swagger.verified.json +112 -0
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -466,4 +466,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
|
|
|
466
466
|
|
|
467
467
|
scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
|
|
468
468
|
|
|
469
|
-
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
|
469
|
+
scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
|
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": {
|
|
@@ -2352,6 +2366,11 @@
|
|
|
2352
2366
|
"nullable": true,
|
|
2353
2367
|
"type": "string"
|
|
2354
2368
|
},
|
|
2369
|
+
"idempotentKey": {
|
|
2370
|
+
"description": "An optional key to ensure idempotency in dialog creation. If provided, it allows for the safe re-submission of the same dialog creation request without creating duplicate entries.",
|
|
2371
|
+
"nullable": true,
|
|
2372
|
+
"type": "string"
|
|
2373
|
+
},
|
|
2355
2374
|
"party": {
|
|
2356
2375
|
"description": "The party code representing the organization or person that the dialog belongs to in URN format.",
|
|
2357
2376
|
"example": "urn:altinn:person:identifier-no:01125512345\nurn:altinn:organization:identifier-no:912345678",
|
|
@@ -3451,6 +3470,11 @@
|
|
|
3451
3470
|
"format": "guid",
|
|
3452
3471
|
"type": "string"
|
|
3453
3472
|
},
|
|
3473
|
+
"idempotentKey": {
|
|
3474
|
+
"description": "An optional key to ensure idempotency in dialog creation. If provided, it allows for the safe re-submission of the same dialog creation request without creating duplicate entries.\n ",
|
|
3475
|
+
"nullable": true,
|
|
3476
|
+
"type": "string"
|
|
3477
|
+
},
|
|
3454
3478
|
"org": {
|
|
3455
3479
|
"description": "The service owner code representing the organization (service owner) related to this dialog.",
|
|
3456
3480
|
"example": "ske",
|
|
@@ -4073,6 +4097,12 @@
|
|
|
4073
4097
|
"format": "date-time",
|
|
4074
4098
|
"type": "string"
|
|
4075
4099
|
},
|
|
4100
|
+
"deletedAt": {
|
|
4101
|
+
"description": "If deleted, the date and time when the deletion was performed.",
|
|
4102
|
+
"format": "date-time",
|
|
4103
|
+
"nullable": true,
|
|
4104
|
+
"type": "string"
|
|
4105
|
+
},
|
|
4076
4106
|
"dueAt": {
|
|
4077
4107
|
"description": "The due date for the dialog. This is the last date when the dialog is expected to be completed.",
|
|
4078
4108
|
"example": "2022-12-31T23:59:59Z",
|
|
@@ -5688,6 +5718,19 @@
|
|
|
5688
5718
|
},
|
|
5689
5719
|
"style": "form"
|
|
5690
5720
|
},
|
|
5721
|
+
{
|
|
5722
|
+
"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",
|
|
5723
|
+
"in": "query",
|
|
5724
|
+
"name": "deleted",
|
|
5725
|
+
"schema": {
|
|
5726
|
+
"allOf": [
|
|
5727
|
+
{
|
|
5728
|
+
"$ref": "#/components/schemas/V1Common_dFilter"
|
|
5729
|
+
}
|
|
5730
|
+
],
|
|
5731
|
+
"nullable": true
|
|
5732
|
+
}
|
|
5733
|
+
},
|
|
5691
5734
|
{
|
|
5692
5735
|
"description": "Only return dialogs created after this date",
|
|
5693
5736
|
"in": "query",
|
|
@@ -5924,6 +5967,9 @@
|
|
|
5924
5967
|
"403": {
|
|
5925
5968
|
"description": "Unauthorized to create a dialog for the given serviceResource (not owned by authenticated organization or has additional scope requirements defined in policy)."
|
|
5926
5969
|
},
|
|
5970
|
+
"409": {
|
|
5971
|
+
"description": "Dialog with IdempotentKey 01941821-ffca-73a1-9335-435a882be014 has already been created."
|
|
5972
|
+
},
|
|
5927
5973
|
"422": {
|
|
5928
5974
|
"content": {
|
|
5929
5975
|
"application/problem\u002Bjson": {
|
|
@@ -6379,6 +6425,72 @@
|
|
|
6379
6425
|
]
|
|
6380
6426
|
}
|
|
6381
6427
|
},
|
|
6428
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/actions/restore": {
|
|
6429
|
+
"post": {
|
|
6430
|
+
"description": "Restore a dialog. For more information see the documentation (link TBD). ",
|
|
6431
|
+
"operationId": "V1ServiceOwnerDialogsRestore_RestoreDialog",
|
|
6432
|
+
"parameters": [
|
|
6433
|
+
{
|
|
6434
|
+
"in": "path",
|
|
6435
|
+
"name": "dialogId",
|
|
6436
|
+
"required": true,
|
|
6437
|
+
"schema": {
|
|
6438
|
+
"format": "guid",
|
|
6439
|
+
"type": "string"
|
|
6440
|
+
}
|
|
6441
|
+
},
|
|
6442
|
+
{
|
|
6443
|
+
"in": "header",
|
|
6444
|
+
"name": "if-Match",
|
|
6445
|
+
"schema": {
|
|
6446
|
+
"format": "guid",
|
|
6447
|
+
"nullable": true,
|
|
6448
|
+
"type": "string"
|
|
6449
|
+
}
|
|
6450
|
+
}
|
|
6451
|
+
],
|
|
6452
|
+
"responses": {
|
|
6453
|
+
"204": {
|
|
6454
|
+
"description": "The dialog aggregate was restored successfully."
|
|
6455
|
+
},
|
|
6456
|
+
"401": {
|
|
6457
|
+
"description": "Unauthorized"
|
|
6458
|
+
},
|
|
6459
|
+
"403": {
|
|
6460
|
+
"description": "Forbidden"
|
|
6461
|
+
},
|
|
6462
|
+
"404": {
|
|
6463
|
+
"content": {
|
|
6464
|
+
"application/problem\u002Bjson": {
|
|
6465
|
+
"schema": {
|
|
6466
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
6467
|
+
}
|
|
6468
|
+
}
|
|
6469
|
+
},
|
|
6470
|
+
"description": "The given dialog ID was not found."
|
|
6471
|
+
},
|
|
6472
|
+
"412": {
|
|
6473
|
+
"content": {
|
|
6474
|
+
"application/problem\u002Bjson": {
|
|
6475
|
+
"schema": {
|
|
6476
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
6477
|
+
}
|
|
6478
|
+
}
|
|
6479
|
+
},
|
|
6480
|
+
"description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
|
|
6481
|
+
}
|
|
6482
|
+
},
|
|
6483
|
+
"security": [
|
|
6484
|
+
{
|
|
6485
|
+
"JWTBearerAuth": []
|
|
6486
|
+
}
|
|
6487
|
+
],
|
|
6488
|
+
"summary": "Restore a dialog",
|
|
6489
|
+
"tags": [
|
|
6490
|
+
"Serviceowner"
|
|
6491
|
+
]
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6382
6494
|
"/api/v1/serviceowner/dialogs/{dialogId}/actions/should-send-notification": {
|
|
6383
6495
|
"get": {
|
|
6384
6496
|
"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.",
|