@digdir/dialogporten-schema 1.67.0 → 1.69.1
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 +343 -1
package/package.json
CHANGED
package/swagger.verified.json
CHANGED
|
@@ -2461,6 +2461,14 @@
|
|
|
2461
2461
|
"nullable": true,
|
|
2462
2462
|
"type": "array"
|
|
2463
2463
|
},
|
|
2464
|
+
"serviceOwnerContext": {
|
|
2465
|
+
"nullable": true,
|
|
2466
|
+
"oneOf": [
|
|
2467
|
+
{
|
|
2468
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_DialogServiceOwnerContext"
|
|
2469
|
+
}
|
|
2470
|
+
]
|
|
2471
|
+
},
|
|
2464
2472
|
"serviceResource": {
|
|
2465
2473
|
"description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a resource in the Altinn Resource Registry, which the authenticated organization\nmust own, i.e., be listed as the \u0022competent authority\u0022 in the Resource Registry entry.",
|
|
2466
2474
|
"example": "urn:altinn:resource:some-service-identifier",
|
|
@@ -2508,6 +2516,20 @@
|
|
|
2508
2516
|
},
|
|
2509
2517
|
"type": "object"
|
|
2510
2518
|
},
|
|
2519
|
+
"V1ServiceOwnerDialogsCommandsCreate_DialogServiceOwnerContext": {
|
|
2520
|
+
"additionalProperties": false,
|
|
2521
|
+
"properties": {
|
|
2522
|
+
"serviceOwnerLabels": {
|
|
2523
|
+
"description": "A list of labels, not visible in end-user APIs.",
|
|
2524
|
+
"items": {
|
|
2525
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_ServiceOwnerLabel"
|
|
2526
|
+
},
|
|
2527
|
+
"nullable": true,
|
|
2528
|
+
"type": "array"
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
"type": "object"
|
|
2532
|
+
},
|
|
2511
2533
|
"V1ServiceOwnerDialogsCommandsCreate_GuiAction": {
|
|
2512
2534
|
"additionalProperties": false,
|
|
2513
2535
|
"properties": {
|
|
@@ -2574,6 +2596,16 @@
|
|
|
2574
2596
|
},
|
|
2575
2597
|
"type": "object"
|
|
2576
2598
|
},
|
|
2599
|
+
"V1ServiceOwnerDialogsCommandsCreate_ServiceOwnerLabel": {
|
|
2600
|
+
"additionalProperties": false,
|
|
2601
|
+
"properties": {
|
|
2602
|
+
"value": {
|
|
2603
|
+
"description": "A label value.",
|
|
2604
|
+
"type": "string"
|
|
2605
|
+
}
|
|
2606
|
+
},
|
|
2607
|
+
"type": "object"
|
|
2608
|
+
},
|
|
2577
2609
|
"V1ServiceOwnerDialogsCommandsCreate_Tag": {
|
|
2578
2610
|
"additionalProperties": false,
|
|
2579
2611
|
"properties": {
|
|
@@ -3100,6 +3132,10 @@
|
|
|
3100
3132
|
"nullable": true,
|
|
3101
3133
|
"type": "array"
|
|
3102
3134
|
},
|
|
3135
|
+
"isApiOnly": {
|
|
3136
|
+
"description": "Indicates if this dialog is intended for API consumption only and should not be displayed in user interfaces.\nWhen true, the dialog will not be visible in portals designed for human users, but will remain accessible via API.\nIf any Transmissions were created without Content while this property was true, the flag cannot be reverted to false.",
|
|
3137
|
+
"type": "boolean"
|
|
3138
|
+
},
|
|
3103
3139
|
"precedingProcess": {
|
|
3104
3140
|
"description": "Optional preceding process identifier to indicate the business process that preceded the process indicated in the \u0022Process\u0022 field. Cannot be set without also \u0022Process\u0022 being set.",
|
|
3105
3141
|
"nullable": true,
|
|
@@ -3655,6 +3691,9 @@
|
|
|
3655
3691
|
"nullable": true,
|
|
3656
3692
|
"type": "array"
|
|
3657
3693
|
},
|
|
3694
|
+
"serviceOwnerContext": {
|
|
3695
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext"
|
|
3696
|
+
},
|
|
3658
3697
|
"serviceResource": {
|
|
3659
3698
|
"description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
|
|
3660
3699
|
"example": "urn:altinn:resource:some-service-identifier",
|
|
@@ -4013,6 +4052,30 @@
|
|
|
4013
4052
|
},
|
|
4014
4053
|
"type": "object"
|
|
4015
4054
|
},
|
|
4055
|
+
"V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext": {
|
|
4056
|
+
"additionalProperties": false,
|
|
4057
|
+
"properties": {
|
|
4058
|
+
"serviceOwnerLabels": {
|
|
4059
|
+
"description": "A list of labels, not visible in end-user APIs.",
|
|
4060
|
+
"items": {
|
|
4061
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerLabel"
|
|
4062
|
+
},
|
|
4063
|
+
"nullable": true,
|
|
4064
|
+
"type": "array"
|
|
4065
|
+
}
|
|
4066
|
+
},
|
|
4067
|
+
"type": "object"
|
|
4068
|
+
},
|
|
4069
|
+
"V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerLabel": {
|
|
4070
|
+
"additionalProperties": false,
|
|
4071
|
+
"properties": {
|
|
4072
|
+
"value": {
|
|
4073
|
+
"description": "A label value.",
|
|
4074
|
+
"type": "string"
|
|
4075
|
+
}
|
|
4076
|
+
},
|
|
4077
|
+
"type": "object"
|
|
4078
|
+
},
|
|
4016
4079
|
"V1ServiceOwnerDialogsQueriesGet_DialogTransmission": {
|
|
4017
4080
|
"additionalProperties": false,
|
|
4018
4081
|
"properties": {
|
|
@@ -4347,6 +4410,9 @@
|
|
|
4347
4410
|
"nullable": true,
|
|
4348
4411
|
"type": "array"
|
|
4349
4412
|
},
|
|
4413
|
+
"serviceOwnerContext": {
|
|
4414
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext"
|
|
4415
|
+
},
|
|
4350
4416
|
"serviceResource": {
|
|
4351
4417
|
"description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
|
|
4352
4418
|
"example": "urn:altinn:resource:some-service-identifier",
|
|
@@ -4473,6 +4539,30 @@
|
|
|
4473
4539
|
},
|
|
4474
4540
|
"type": "object"
|
|
4475
4541
|
},
|
|
4542
|
+
"V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext": {
|
|
4543
|
+
"additionalProperties": false,
|
|
4544
|
+
"properties": {
|
|
4545
|
+
"serviceOwnerLabels": {
|
|
4546
|
+
"description": "A list of labels, not visible in end-user APIs.",
|
|
4547
|
+
"items": {
|
|
4548
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_ServiceOwnerLabel"
|
|
4549
|
+
},
|
|
4550
|
+
"nullable": true,
|
|
4551
|
+
"type": "array"
|
|
4552
|
+
}
|
|
4553
|
+
},
|
|
4554
|
+
"type": "object"
|
|
4555
|
+
},
|
|
4556
|
+
"V1ServiceOwnerDialogsQueriesSearch_ServiceOwnerLabel": {
|
|
4557
|
+
"additionalProperties": false,
|
|
4558
|
+
"properties": {
|
|
4559
|
+
"value": {
|
|
4560
|
+
"description": "A label value.",
|
|
4561
|
+
"type": "string"
|
|
4562
|
+
}
|
|
4563
|
+
},
|
|
4564
|
+
"type": "object"
|
|
4565
|
+
},
|
|
4476
4566
|
"V1ServiceOwnerDialogsUpdate_DialogRequest": {
|
|
4477
4567
|
"additionalProperties": false,
|
|
4478
4568
|
"properties": {
|
|
@@ -4881,6 +4971,24 @@
|
|
|
4881
4971
|
},
|
|
4882
4972
|
"type": "object"
|
|
4883
4973
|
},
|
|
4974
|
+
"V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label": {
|
|
4975
|
+
"additionalProperties": false,
|
|
4976
|
+
"properties": {
|
|
4977
|
+
"value": {
|
|
4978
|
+
"type": "string"
|
|
4979
|
+
}
|
|
4980
|
+
},
|
|
4981
|
+
"type": "object"
|
|
4982
|
+
},
|
|
4983
|
+
"V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_ServiceOwnerLabelRequest": {
|
|
4984
|
+
"additionalProperties": false,
|
|
4985
|
+
"properties": {
|
|
4986
|
+
"dto": {
|
|
4987
|
+
"$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label"
|
|
4988
|
+
}
|
|
4989
|
+
},
|
|
4990
|
+
"type": "object"
|
|
4991
|
+
},
|
|
4884
4992
|
"V1WellKnownJwksQueriesGet_Jwk": {
|
|
4885
4993
|
"additionalProperties": false,
|
|
4886
4994
|
"properties": {
|
|
@@ -6096,6 +6204,20 @@
|
|
|
6096
6204
|
"type": "string"
|
|
6097
6205
|
}
|
|
6098
6206
|
},
|
|
6207
|
+
{
|
|
6208
|
+
"description": "Filter by one or more labels. Multiple labels are combined with AND, i.e., all labels must match. Supports prefix matching with \u0027*\u0027 at the end of the label. For example, \u0027label*\u0027 will match \u0027label\u0027, \u0027label1\u0027, \u0027label2\u0027, etc.",
|
|
6209
|
+
"explode": true,
|
|
6210
|
+
"in": "query",
|
|
6211
|
+
"name": "serviceOwnerLabels",
|
|
6212
|
+
"schema": {
|
|
6213
|
+
"items": {
|
|
6214
|
+
"type": "string"
|
|
6215
|
+
},
|
|
6216
|
+
"nullable": true,
|
|
6217
|
+
"type": "array"
|
|
6218
|
+
},
|
|
6219
|
+
"style": "form"
|
|
6220
|
+
},
|
|
6099
6221
|
{
|
|
6100
6222
|
"description": "Limit free text search to texts with this language code, e.g. \u0027nb\u0027, \u0027en\u0027. Culture codes will be normalized to neutral language codes (ISO 639). Default: search all culture codes",
|
|
6101
6223
|
"in": "query",
|
|
@@ -7099,6 +7221,226 @@
|
|
|
7099
7221
|
]
|
|
7100
7222
|
}
|
|
7101
7223
|
},
|
|
7224
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/context/labels": {
|
|
7225
|
+
"get": {
|
|
7226
|
+
"description": "Fetches all labels associated with the service owner context of a specific dialog.",
|
|
7227
|
+
"operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsGet_ServiceOwnerLabel",
|
|
7228
|
+
"parameters": [
|
|
7229
|
+
{
|
|
7230
|
+
"in": "path",
|
|
7231
|
+
"name": "dialogId",
|
|
7232
|
+
"required": true,
|
|
7233
|
+
"schema": {
|
|
7234
|
+
"format": "guid",
|
|
7235
|
+
"type": "string"
|
|
7236
|
+
}
|
|
7237
|
+
}
|
|
7238
|
+
],
|
|
7239
|
+
"responses": {
|
|
7240
|
+
"200": {
|
|
7241
|
+
"description": "Successfully retrieved the service owner labels."
|
|
7242
|
+
},
|
|
7243
|
+
"401": {
|
|
7244
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
|
|
7245
|
+
},
|
|
7246
|
+
"403": {
|
|
7247
|
+
"description": "Forbidden"
|
|
7248
|
+
},
|
|
7249
|
+
"404": {
|
|
7250
|
+
"content": {
|
|
7251
|
+
"application/problem\u002Bjson": {
|
|
7252
|
+
"schema": {
|
|
7253
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7254
|
+
}
|
|
7255
|
+
}
|
|
7256
|
+
},
|
|
7257
|
+
"description": "The given dialog ID was not found."
|
|
7258
|
+
}
|
|
7259
|
+
},
|
|
7260
|
+
"security": [
|
|
7261
|
+
{
|
|
7262
|
+
"JWTBearerAuth": [
|
|
7263
|
+
"digdir:dialogporten.serviceprovider"
|
|
7264
|
+
]
|
|
7265
|
+
}
|
|
7266
|
+
],
|
|
7267
|
+
"summary": "Retrieve service owner labels for a dialog",
|
|
7268
|
+
"tags": [
|
|
7269
|
+
"Serviceowner"
|
|
7270
|
+
]
|
|
7271
|
+
},
|
|
7272
|
+
"post": {
|
|
7273
|
+
"description": "Add a label to the service owner context.\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 modified/deleted by another request in the meantime.",
|
|
7274
|
+
"operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_ServiceOwnerLabel",
|
|
7275
|
+
"parameters": [
|
|
7276
|
+
{
|
|
7277
|
+
"in": "path",
|
|
7278
|
+
"name": "dialogId",
|
|
7279
|
+
"required": true,
|
|
7280
|
+
"schema": {
|
|
7281
|
+
"format": "guid",
|
|
7282
|
+
"type": "string"
|
|
7283
|
+
}
|
|
7284
|
+
},
|
|
7285
|
+
{
|
|
7286
|
+
"in": "header",
|
|
7287
|
+
"name": "if-Match",
|
|
7288
|
+
"schema": {
|
|
7289
|
+
"format": "guid",
|
|
7290
|
+
"nullable": true,
|
|
7291
|
+
"type": "string"
|
|
7292
|
+
}
|
|
7293
|
+
}
|
|
7294
|
+
],
|
|
7295
|
+
"requestBody": {
|
|
7296
|
+
"content": {
|
|
7297
|
+
"application/json": {
|
|
7298
|
+
"schema": {
|
|
7299
|
+
"$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label"
|
|
7300
|
+
}
|
|
7301
|
+
}
|
|
7302
|
+
},
|
|
7303
|
+
"required": true,
|
|
7304
|
+
"x-name": "dto"
|
|
7305
|
+
},
|
|
7306
|
+
"responses": {
|
|
7307
|
+
"204": {
|
|
7308
|
+
"description": "The dialog DialogServiceOwnerLabel was updated successfully.",
|
|
7309
|
+
"headers": {
|
|
7310
|
+
"Etag": {
|
|
7311
|
+
"description": "The new UUID ETag of the ServiceOwner Context",
|
|
7312
|
+
"example": "123e4567-e89b-12d3-a456-426614174000",
|
|
7313
|
+
"schema": {
|
|
7314
|
+
"type": "string"
|
|
7315
|
+
}
|
|
7316
|
+
}
|
|
7317
|
+
}
|
|
7318
|
+
},
|
|
7319
|
+
"400": {
|
|
7320
|
+
"content": {
|
|
7321
|
+
"application/problem\u002Bjson": {
|
|
7322
|
+
"schema": {
|
|
7323
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7324
|
+
}
|
|
7325
|
+
}
|
|
7326
|
+
},
|
|
7327
|
+
"description": "Validation error occurred. See problem details for a list of errors."
|
|
7328
|
+
},
|
|
7329
|
+
"401": {
|
|
7330
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
|
|
7331
|
+
},
|
|
7332
|
+
"403": {
|
|
7333
|
+
"description": "Forbidden"
|
|
7334
|
+
},
|
|
7335
|
+
"412": {
|
|
7336
|
+
"content": {
|
|
7337
|
+
"application/problem\u002Bjson": {
|
|
7338
|
+
"schema": {
|
|
7339
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7340
|
+
}
|
|
7341
|
+
}
|
|
7342
|
+
},
|
|
7343
|
+
"description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
|
|
7344
|
+
}
|
|
7345
|
+
},
|
|
7346
|
+
"security": [
|
|
7347
|
+
{
|
|
7348
|
+
"JWTBearerAuth": [
|
|
7349
|
+
"digdir:dialogporten.serviceprovider"
|
|
7350
|
+
]
|
|
7351
|
+
}
|
|
7352
|
+
],
|
|
7353
|
+
"summary": "Add a service owner label to a dialog",
|
|
7354
|
+
"tags": [
|
|
7355
|
+
"Serviceowner"
|
|
7356
|
+
]
|
|
7357
|
+
}
|
|
7358
|
+
},
|
|
7359
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/context/labels/{label}": {
|
|
7360
|
+
"delete": {
|
|
7361
|
+
"description": "Removes a specific label from the service owner context of a dialog. If the label does not exist, a NotFound response is returned.",
|
|
7362
|
+
"operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsDelete_ServiceOwnerLabel",
|
|
7363
|
+
"parameters": [
|
|
7364
|
+
{
|
|
7365
|
+
"in": "path",
|
|
7366
|
+
"name": "dialogId",
|
|
7367
|
+
"required": true,
|
|
7368
|
+
"schema": {
|
|
7369
|
+
"format": "guid",
|
|
7370
|
+
"type": "string"
|
|
7371
|
+
}
|
|
7372
|
+
},
|
|
7373
|
+
{
|
|
7374
|
+
"in": "path",
|
|
7375
|
+
"name": "label",
|
|
7376
|
+
"required": true,
|
|
7377
|
+
"schema": {
|
|
7378
|
+
"type": "string"
|
|
7379
|
+
}
|
|
7380
|
+
},
|
|
7381
|
+
{
|
|
7382
|
+
"in": "header",
|
|
7383
|
+
"name": "if-Match",
|
|
7384
|
+
"schema": {
|
|
7385
|
+
"format": "guid",
|
|
7386
|
+
"nullable": true,
|
|
7387
|
+
"type": "string"
|
|
7388
|
+
}
|
|
7389
|
+
}
|
|
7390
|
+
],
|
|
7391
|
+
"responses": {
|
|
7392
|
+
"204": {
|
|
7393
|
+
"description": "Successfully deleted the service owner label.",
|
|
7394
|
+
"headers": {
|
|
7395
|
+
"Etag": {
|
|
7396
|
+
"description": "The new UUID ETag of the ServiceOwner Context",
|
|
7397
|
+
"example": "123e4567-e89b-12d3-a456-426614174000",
|
|
7398
|
+
"schema": {
|
|
7399
|
+
"type": "string"
|
|
7400
|
+
}
|
|
7401
|
+
}
|
|
7402
|
+
}
|
|
7403
|
+
},
|
|
7404
|
+
"401": {
|
|
7405
|
+
"description": "Unauthorized"
|
|
7406
|
+
},
|
|
7407
|
+
"403": {
|
|
7408
|
+
"description": "Forbidden"
|
|
7409
|
+
},
|
|
7410
|
+
"404": {
|
|
7411
|
+
"content": {
|
|
7412
|
+
"application/problem\u002Bjson": {
|
|
7413
|
+
"schema": {
|
|
7414
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7415
|
+
}
|
|
7416
|
+
}
|
|
7417
|
+
},
|
|
7418
|
+
"description": "The given dialog or service owner label was not found."
|
|
7419
|
+
},
|
|
7420
|
+
"412": {
|
|
7421
|
+
"content": {
|
|
7422
|
+
"application/problem\u002Bjson": {
|
|
7423
|
+
"schema": {
|
|
7424
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7425
|
+
}
|
|
7426
|
+
}
|
|
7427
|
+
},
|
|
7428
|
+
"description": ""
|
|
7429
|
+
}
|
|
7430
|
+
},
|
|
7431
|
+
"security": [
|
|
7432
|
+
{
|
|
7433
|
+
"JWTBearerAuth": [
|
|
7434
|
+
"digdir:dialogporten.serviceprovider"
|
|
7435
|
+
]
|
|
7436
|
+
}
|
|
7437
|
+
],
|
|
7438
|
+
"summary": "Delete a service owner label for a dialog",
|
|
7439
|
+
"tags": [
|
|
7440
|
+
"Serviceowner"
|
|
7441
|
+
]
|
|
7442
|
+
}
|
|
7443
|
+
},
|
|
7102
7444
|
"/api/v1/serviceowner/dialogs/{dialogId}/seenlog": {
|
|
7103
7445
|
"get": {
|
|
7104
7446
|
"description": "Gets all seen log records for a dialog.",
|
|
@@ -7482,4 +7824,4 @@
|
|
|
7482
7824
|
}
|
|
7483
7825
|
}
|
|
7484
7826
|
}
|
|
7485
|
-
}
|
|
7827
|
+
}
|