@digdir/dialogporten-schema 1.7.1 → 1.8.1-c9b50e9

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.7.1",
3
+ "version": "1.8.1-c9b50e9",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "author": "DigDir",
6
6
  "repository": {
@@ -17,7 +17,7 @@ type Activity {
17
17
  type: ActivityType!
18
18
  relatedActivityId: UUID
19
19
  dialogElementId: UUID
20
- performedBy: [Localization!]
20
+ performedBy: String
21
21
  description: [Localization!]!
22
22
  }
23
23
 
@@ -57,6 +57,7 @@ type AuthorizedParty {
57
57
  type Content {
58
58
  type: ContentType!
59
59
  value: [Localization!]!
60
+ mediaType: String
60
61
  }
61
62
 
62
63
  type Dialog {
@@ -115,7 +116,6 @@ type Element {
115
116
  type ElementUrl {
116
117
  id: UUID!
117
118
  url: URL!
118
- mimeType: String
119
119
  consumerType: ElementUrlConsumer!
120
120
  }
121
121
 
@@ -125,10 +125,11 @@ type GuiAction {
125
125
  url: URL!
126
126
  authorizationAttribute: String
127
127
  isAuthorized: Boolean!
128
- isBackChannel: Boolean!
129
- isDeleteAction: Boolean!
128
+ isDeleteDialogAction: Boolean!
130
129
  priority: GuiActionPriority!
130
+ httpMethod: HttpVerb!
131
131
  title: [Localization!]!
132
+ prompt: [Localization!]
132
133
  }
133
134
 
134
135
  type Localization {
@@ -229,7 +229,8 @@
229
229
  "Value": "Some Title",
230
230
  "CultureCode": "en-us"
231
231
  }
232
- ]
232
+ ],
233
+ "MediaType": null
233
234
  },
234
235
  {
235
236
  "Type": 3,
@@ -238,7 +239,8 @@
238
239
  "Value": "Some Summary",
239
240
  "CultureCode": "en-us"
240
241
  }
241
- ]
242
+ ],
243
+ "MediaType": null
242
244
  }
243
245
  ],
244
246
  "SearchTags": [
@@ -252,7 +254,7 @@
252
254
  "Elements": [
253
255
  {
254
256
  "Id": "02a72809-eddd-4192-864d-8f1755d72f4e",
255
- "Type": "http://example.com/some-type",
257
+ "Type": "https://example.com/some-type",
256
258
  "ExternalReference": null,
257
259
  "AuthorizationAttribute": null,
258
260
  "RelatedDialogElementId": null,
@@ -265,8 +267,7 @@
265
267
  "Urls": [
266
268
  {
267
269
  "Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
268
- "Url": "http://example.com/some-url",
269
- "MimeType": "application/json",
270
+ "Url": "https://example.com/some-url",
270
271
  "ConsumerType": 0
271
272
  }
272
273
  ]
@@ -278,8 +279,8 @@
278
279
  "Action": "submit",
279
280
  "Url": "https://example.com/some-url",
280
281
  "AuthorizationAttribute": null,
281
- "IsBackChannel": false,
282
- "IsDeleteAction": false,
282
+ "IsDeleteDialogAction": false,
283
+ "HttpMethod": 1,
283
284
  "Priority": 1,
284
285
  "Title": [
285
286
  {
@@ -290,7 +291,8 @@
290
291
  "Value": "GUI action-tittel",
291
292
  "CultureCode": "nb-no"
292
293
  }
293
- ]
294
+ ],
295
+ "Prompt": null
294
296
  }
295
297
  ],
296
298
  "ApiActions": [
@@ -322,16 +324,7 @@
322
324
  "Type": 3,
323
325
  "RelatedActivityId": null,
324
326
  "DialogElementId": null,
325
- "PerformedBy": [
326
- {
327
- "Value": "Some performer",
328
- "CultureCode": "en-us"
329
- },
330
- {
331
- "Value": "En utfører",
332
- "CultureCode": "nb-no"
333
- }
334
- ],
327
+ "PerformedBy": "Some performed",
335
328
  "Description": [
336
329
  {
337
330
  "Value": "Some description",
@@ -995,14 +988,14 @@
995
988
  ]
996
989
  }
997
990
  },
998
- "/api/v1/serviceowner/dialogs/{dialogId}/elements/{elementId}": {
999
- "put": {
991
+ "/api/v1/serviceowner/dialogs/{dialogId}/elements": {
992
+ "get": {
1000
993
  "tags": [
1001
994
  "Serviceowner"
1002
995
  ],
1003
- "summary": "Replaces a dialog element",
1004
- "description": "Replaces a given dialog element with the supplied model. For more information see the documentation (link TBD).\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.",
1005
- "operationId": "ReplaceDialogElement",
996
+ "summary": "Gets a list of dialog elements",
997
+ "description": "Gets the list of elements belonging to a dialog",
998
+ "operationId": "GetDialogElementListSO",
1006
999
  "parameters": [
1007
1000
  {
1008
1001
  "name": "dialogId",
@@ -1012,142 +1005,25 @@
1012
1005
  "type": "string",
1013
1006
  "format": "guid"
1014
1007
  }
1015
- },
1016
- {
1017
- "name": "elementId",
1018
- "in": "path",
1019
- "required": true,
1020
- "schema": {
1021
- "type": "string",
1022
- "format": "guid"
1023
- }
1024
- },
1025
- {
1026
- "name": "if-Match",
1027
- "in": "header",
1028
- "schema": {
1029
- "type": "string",
1030
- "format": "guid",
1031
- "nullable": true
1032
- }
1033
1008
  }
1034
1009
  ],
1035
- "requestBody": {
1036
- "x-name": "UpdateDialogElementRequest",
1037
- "description": "",
1038
- "content": {
1039
- "application/json": {
1040
- "schema": {
1041
- "$ref": "#/components/schemas/UpdateDialogElementRequest"
1042
- }
1043
- }
1044
- },
1045
- "required": true,
1046
- "x-position": 1
1047
- },
1048
1010
  "responses": {
1049
- "401": {
1050
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1051
- },
1052
- "403": {
1053
- "description": "Unauthorized to update child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1054
- },
1055
- "204": {
1056
- "description": "The dialog element was updated successfully."
1057
- },
1058
- "400": {
1059
- "description": "Validation error occured. See problem details for a list of errors.",
1060
- "content": {
1061
- "application/problem+json": {
1062
- "schema": {
1063
- "$ref": "#/components/schemas/ProblemDetails"
1064
- }
1065
- }
1066
- }
1067
- },
1068
- "404": {
1069
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1070
- "content": {
1071
- "application/problem+json": {
1072
- "schema": {
1073
- "$ref": "#/components/schemas/ProblemDetails"
1074
- }
1075
- }
1076
- }
1077
- },
1078
- "412": {
1079
- "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1080
- "content": {
1081
- "application/problem+json": {
1082
- "schema": {
1083
- "$ref": "#/components/schemas/ProblemDetails"
1084
- }
1085
- }
1086
- }
1087
- },
1088
- "422": {
1089
- "description": "Domain error occured. See problem details for a list of errors.",
1011
+ "200": {
1012
+ "description": "Successfully returned the dialog element list.",
1090
1013
  "content": {
1091
- "application/problem+json": {
1092
- "schema": {
1093
- "$ref": "#/components/schemas/ProblemDetails"
1094
- }
1014
+ "text/plain": {
1015
+ "schema": {}
1016
+ },
1017
+ "application/json": {
1018
+ "schema": {}
1095
1019
  }
1096
1020
  }
1097
- }
1098
- },
1099
- "security": [
1100
- {
1101
- "JWTBearerAuth": []
1102
- }
1103
- ]
1104
- },
1105
- "get": {
1106
- "tags": [
1107
- "Serviceowner"
1108
- ],
1109
- "summary": "Gets a single dialog element",
1110
- "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
1111
- "operationId": "GetDialogElementSO",
1112
- "parameters": [
1113
- {
1114
- "name": "dialogId",
1115
- "in": "path",
1116
- "required": true,
1117
- "schema": {
1118
- "type": "string",
1119
- "format": "guid"
1120
- }
1121
1021
  },
1122
- {
1123
- "name": "elementId",
1124
- "in": "path",
1125
- "required": true,
1126
- "schema": {
1127
- "type": "string",
1128
- "format": "guid"
1129
- }
1130
- }
1131
- ],
1132
- "responses": {
1133
1022
  "401": {
1134
1023
  "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1135
1024
  },
1136
1025
  "403": {
1137
- "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1138
- },
1139
- "200": {
1140
- "description": "Successfully returned the dialog element."
1141
- },
1142
- "404": {
1143
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1144
- "content": {
1145
- "application/problem+json": {
1146
- "schema": {
1147
- "$ref": "#/components/schemas/ProblemDetails"
1148
- }
1149
- }
1150
- }
1026
+ "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1151
1027
  }
1152
1028
  },
1153
1029
  "security": [
@@ -1156,13 +1032,13 @@
1156
1032
  }
1157
1033
  ]
1158
1034
  },
1159
- "delete": {
1035
+ "post": {
1160
1036
  "tags": [
1161
1037
  "Serviceowner"
1162
1038
  ],
1163
- "summary": "Deletes a dialog element",
1164
- "description": "Deletes a given dialog element (hard delete). For more information see the documentation (link TBD).\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 modified/deleted by another request in the meantime.",
1165
- "operationId": "DeleteDialogElement",
1039
+ "summary": "Creates a new dialog element",
1040
+ "description": "The dialog element is created with the given configuration. For more information see the documentation (link TBD).\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 modified/deleted by another request in the meantime.",
1041
+ "operationId": "CreateDialogElement",
1166
1042
  "parameters": [
1167
1043
  {
1168
1044
  "name": "dialogId",
@@ -1173,15 +1049,6 @@
1173
1049
  "format": "guid"
1174
1050
  }
1175
1051
  },
1176
- {
1177
- "name": "elementId",
1178
- "in": "path",
1179
- "required": true,
1180
- "schema": {
1181
- "type": "string",
1182
- "format": "guid"
1183
- }
1184
- },
1185
1052
  {
1186
1053
  "name": "if-Match",
1187
1054
  "in": "header",
@@ -1192,18 +1059,39 @@
1192
1059
  }
1193
1060
  }
1194
1061
  ],
1062
+ "requestBody": {
1063
+ "x-name": "CreateDialogElementRequest",
1064
+ "description": "",
1065
+ "content": {
1066
+ "application/json": {
1067
+ "schema": {
1068
+ "$ref": "#/components/schemas/CreateDialogElementRequest"
1069
+ }
1070
+ }
1071
+ },
1072
+ "required": true,
1073
+ "x-position": 1
1074
+ },
1195
1075
  "responses": {
1196
1076
  "401": {
1197
1077
  "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1198
1078
  },
1199
1079
  "403": {
1200
- "description": "Unauthorized to delete child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1080
+ "description": "Unauthorized to create child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1201
1081
  },
1202
- "204": {
1203
- "description": "The dialog element was deleted successfully."
1082
+ "201": {
1083
+ "description": "The UUID of the created the dialog element. A relative URL to the newly created activity is set in the \"Location\" header.",
1084
+ "content": {
1085
+ "application/json": {
1086
+ "schema": {
1087
+ "type": "string"
1088
+ },
1089
+ "example": "b6dc8b01-1cd8-2777-b759-d84b0e384f47"
1090
+ }
1091
+ }
1204
1092
  },
1205
1093
  "400": {
1206
- "description": "Bad Request",
1094
+ "description": "Validation error occured. See problem details for a list of errors.",
1207
1095
  "content": {
1208
1096
  "application/problem+json": {
1209
1097
  "schema": {
@@ -1213,7 +1101,7 @@
1213
1101
  }
1214
1102
  },
1215
1103
  "404": {
1216
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1104
+ "description": "The given dialog ID was not found or is already deleted.",
1217
1105
  "content": {
1218
1106
  "application/problem+json": {
1219
1107
  "schema": {
@@ -1233,7 +1121,7 @@
1233
1121
  }
1234
1122
  },
1235
1123
  "422": {
1236
- "description": "",
1124
+ "description": "Domain error occured. See problem details for a list of errors.",
1237
1125
  "content": {
1238
1126
  "application/problem+json": {
1239
1127
  "schema": {
@@ -1250,14 +1138,14 @@
1250
1138
  ]
1251
1139
  }
1252
1140
  },
1253
- "/api/v1/serviceowner/dialogs/{dialogId}/elements": {
1141
+ "/api/v1/serviceowner/dialogs/{dialogId}/elements/{elementId}": {
1254
1142
  "get": {
1255
1143
  "tags": [
1256
1144
  "Serviceowner"
1257
1145
  ],
1258
- "summary": "Gets a list of dialog elements",
1259
- "description": "Gets the list of elements belonging to a dialog",
1260
- "operationId": "GetDialogElementListSO",
1146
+ "summary": "Gets a single dialog element",
1147
+ "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
1148
+ "operationId": "GetDialogElementSO",
1261
1149
  "parameters": [
1262
1150
  {
1263
1151
  "name": "dialogId",
@@ -1267,123 +1155,29 @@
1267
1155
  "type": "string",
1268
1156
  "format": "guid"
1269
1157
  }
1270
- }
1271
- ],
1272
- "responses": {
1273
- "200": {
1274
- "description": "Successfully returned the dialog element list.",
1275
- "content": {
1276
- "text/plain": {
1277
- "schema": {}
1278
- },
1279
- "application/json": {
1280
- "schema": {}
1281
- }
1282
- }
1283
1158
  },
1284
- "401": {
1285
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1286
- },
1287
- "403": {
1288
- "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1289
- }
1290
- },
1291
- "security": [
1292
1159
  {
1293
- "JWTBearerAuth": []
1294
- }
1295
- ]
1296
- },
1297
- "post": {
1298
- "tags": [
1299
- "Serviceowner"
1300
- ],
1301
- "summary": "Creates a new dialog element",
1302
- "description": "The dialog element is created with the given configuration. For more information see the documentation (link TBD).\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 modified/deleted by another request in the meantime.",
1303
- "operationId": "CreateDialogElement",
1304
- "parameters": [
1305
- {
1306
- "name": "dialogId",
1160
+ "name": "elementId",
1307
1161
  "in": "path",
1308
1162
  "required": true,
1309
1163
  "schema": {
1310
1164
  "type": "string",
1311
1165
  "format": "guid"
1312
1166
  }
1313
- },
1314
- {
1315
- "name": "if-Match",
1316
- "in": "header",
1317
- "schema": {
1318
- "type": "string",
1319
- "format": "guid",
1320
- "nullable": true
1321
- }
1322
1167
  }
1323
1168
  ],
1324
- "requestBody": {
1325
- "x-name": "CreateDialogElementRequest",
1326
- "description": "",
1327
- "content": {
1328
- "application/json": {
1329
- "schema": {
1330
- "$ref": "#/components/schemas/CreateDialogElementRequest"
1331
- }
1332
- }
1333
- },
1334
- "required": true,
1335
- "x-position": 1
1336
- },
1337
1169
  "responses": {
1338
1170
  "401": {
1339
1171
  "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1340
1172
  },
1341
1173
  "403": {
1342
- "description": "Unauthorized to create child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1343
- },
1344
- "201": {
1345
- "description": "The UUID of the created the dialog element. A relative URL to the newly created activity is set in the \"Location\" header.",
1346
- "content": {
1347
- "application/json": {
1348
- "schema": {
1349
- "type": "string"
1350
- },
1351
- "example": "b6dc8b01-1cd8-2777-b759-d84b0e384f47"
1352
- }
1353
- }
1174
+ "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
1354
1175
  },
1355
- "400": {
1356
- "description": "Validation error occured. See problem details for a list of errors.",
1357
- "content": {
1358
- "application/problem+json": {
1359
- "schema": {
1360
- "$ref": "#/components/schemas/ProblemDetails"
1361
- }
1362
- }
1363
- }
1176
+ "200": {
1177
+ "description": "Successfully returned the dialog element."
1364
1178
  },
1365
1179
  "404": {
1366
- "description": "The given dialog ID was not found or is already deleted.",
1367
- "content": {
1368
- "application/problem+json": {
1369
- "schema": {
1370
- "$ref": "#/components/schemas/ProblemDetails"
1371
- }
1372
- }
1373
- }
1374
- },
1375
- "412": {
1376
- "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1377
- "content": {
1378
- "application/problem+json": {
1379
- "schema": {
1380
- "$ref": "#/components/schemas/ProblemDetails"
1381
- }
1382
- }
1383
- }
1384
- },
1385
- "422": {
1386
- "description": "Domain error occured. See problem details for a list of errors.",
1180
+ "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1387
1181
  "content": {
1388
1182
  "application/problem+json": {
1389
1183
  "schema": {
@@ -2508,6 +2302,10 @@
2508
2302
  "items": {
2509
2303
  "$ref": "#/components/schemas/LocalizationDto"
2510
2304
  }
2305
+ },
2306
+ "mediaType": {
2307
+ "type": "string",
2308
+ "nullable": true
2511
2309
  }
2512
2310
  }
2513
2311
  },
@@ -2519,14 +2317,16 @@
2519
2317
  "SenderName",
2520
2318
  "Summary",
2521
2319
  "AdditionalInfo",
2522
- "ExtendedStatus"
2320
+ "ExtendedStatus",
2321
+ "MainContentReference"
2523
2322
  ],
2524
2323
  "enum": [
2525
2324
  "Title",
2526
2325
  "SenderName",
2527
2326
  "Summary",
2528
2327
  "AdditionalInfo",
2529
- "ExtendedStatus"
2328
+ "ExtendedStatus",
2329
+ "MainContentReference"
2530
2330
  ]
2531
2331
  },
2532
2332
  "LocalizationDto": {
@@ -2604,10 +2404,6 @@
2604
2404
  "type": "string",
2605
2405
  "format": "uri"
2606
2406
  },
2607
- "mimeType": {
2608
- "type": "string",
2609
- "nullable": true
2610
- },
2611
2407
  "consumerType": {
2612
2408
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2613
2409
  }
@@ -2645,11 +2441,16 @@
2645
2441
  "type": "string",
2646
2442
  "nullable": true
2647
2443
  },
2648
- "isBackChannel": {
2444
+ "isDeleteDialogAction": {
2649
2445
  "type": "boolean"
2650
2446
  },
2651
- "isDeleteAction": {
2652
- "type": "boolean"
2447
+ "httpMethod": {
2448
+ "nullable": true,
2449
+ "oneOf": [
2450
+ {
2451
+ "$ref": "#/components/schemas/HttpVerb_Values"
2452
+ }
2453
+ ]
2653
2454
  },
2654
2455
  "priority": {
2655
2456
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
@@ -2659,9 +2460,42 @@
2659
2460
  "items": {
2660
2461
  "$ref": "#/components/schemas/LocalizationDto"
2661
2462
  }
2463
+ },
2464
+ "prompt": {
2465
+ "type": "array",
2466
+ "nullable": true,
2467
+ "items": {
2468
+ "$ref": "#/components/schemas/LocalizationDto"
2469
+ }
2662
2470
  }
2663
2471
  }
2664
2472
  },
2473
+ "HttpVerb_Values": {
2474
+ "type": "string",
2475
+ "description": "",
2476
+ "x-enumNames": [
2477
+ "GET",
2478
+ "POST",
2479
+ "PUT",
2480
+ "PATCH",
2481
+ "DELETE",
2482
+ "HEAD",
2483
+ "OPTIONS",
2484
+ "TRACE",
2485
+ "CONNECT"
2486
+ ],
2487
+ "enum": [
2488
+ "GET",
2489
+ "POST",
2490
+ "PUT",
2491
+ "PATCH",
2492
+ "DELETE",
2493
+ "HEAD",
2494
+ "OPTIONS",
2495
+ "TRACE",
2496
+ "CONNECT"
2497
+ ]
2498
+ },
2665
2499
  "DialogGuiActionPriority_Values": {
2666
2500
  "type": "string",
2667
2501
  "description": "",
@@ -2750,32 +2584,6 @@
2750
2584
  }
2751
2585
  }
2752
2586
  },
2753
- "HttpVerb_Values": {
2754
- "type": "string",
2755
- "description": "",
2756
- "x-enumNames": [
2757
- "GET",
2758
- "POST",
2759
- "PUT",
2760
- "PATCH",
2761
- "DELETE",
2762
- "HEAD",
2763
- "OPTIONS",
2764
- "TRACE",
2765
- "CONNECT"
2766
- ],
2767
- "enum": [
2768
- "GET",
2769
- "POST",
2770
- "PUT",
2771
- "PATCH",
2772
- "DELETE",
2773
- "HEAD",
2774
- "OPTIONS",
2775
- "TRACE",
2776
- "CONNECT"
2777
- ]
2778
- },
2779
2587
  "UpdateDialogDialogActivityDto": {
2780
2588
  "type": "object",
2781
2589
  "additionalProperties": false,
@@ -2809,10 +2617,8 @@
2809
2617
  "nullable": true
2810
2618
  },
2811
2619
  "performedBy": {
2812
- "type": "array",
2813
- "items": {
2814
- "$ref": "#/components/schemas/LocalizationDto"
2815
- }
2620
+ "type": "string",
2621
+ "nullable": true
2816
2622
  },
2817
2623
  "description": {
2818
2624
  "type": "array",
@@ -3099,6 +2905,10 @@
3099
2905
  "items": {
3100
2906
  "$ref": "#/components/schemas/LocalizationDto"
3101
2907
  }
2908
+ },
2909
+ "mediaType": {
2910
+ "type": "string",
2911
+ "nullable": true
3102
2912
  }
3103
2913
  }
3104
2914
  },
@@ -3159,10 +2969,6 @@
3159
2969
  "type": "string",
3160
2970
  "format": "uri"
3161
2971
  },
3162
- "mimeType": {
3163
- "type": "string",
3164
- "nullable": true
3165
- },
3166
2972
  "consumerType": {
3167
2973
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3168
2974
  }
@@ -3187,20 +2993,27 @@
3187
2993
  "type": "string",
3188
2994
  "nullable": true
3189
2995
  },
3190
- "isBackChannel": {
3191
- "type": "boolean"
3192
- },
3193
- "isDeleteAction": {
2996
+ "isDeleteDialogAction": {
3194
2997
  "type": "boolean"
3195
2998
  },
3196
2999
  "priority": {
3197
3000
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
3198
3001
  },
3002
+ "httpMethod": {
3003
+ "$ref": "#/components/schemas/HttpVerb_Values"
3004
+ },
3199
3005
  "title": {
3200
3006
  "type": "array",
3201
3007
  "items": {
3202
3008
  "$ref": "#/components/schemas/LocalizationDto"
3203
3009
  }
3010
+ },
3011
+ "prompt": {
3012
+ "type": "array",
3013
+ "nullable": true,
3014
+ "items": {
3015
+ "$ref": "#/components/schemas/LocalizationDto"
3016
+ }
3204
3017
  }
3205
3018
  }
3206
3019
  },
@@ -3308,11 +3121,8 @@
3308
3121
  "nullable": true
3309
3122
  },
3310
3123
  "performedBy": {
3311
- "type": "array",
3312
- "nullable": true,
3313
- "items": {
3314
- "$ref": "#/components/schemas/LocalizationDto"
3315
- }
3124
+ "type": "string",
3125
+ "nullable": true
3316
3126
  },
3317
3127
  "description": {
3318
3128
  "type": "array",
@@ -3443,6 +3253,10 @@
3443
3253
  "items": {
3444
3254
  "$ref": "#/components/schemas/LocalizationDto"
3445
3255
  }
3256
+ },
3257
+ "mediaType": {
3258
+ "type": "string",
3259
+ "nullable": true
3446
3260
  }
3447
3261
  }
3448
3262
  },
@@ -3504,10 +3318,6 @@
3504
3318
  "type": "string",
3505
3319
  "format": "uri"
3506
3320
  },
3507
- "mimeType": {
3508
- "type": "string",
3509
- "nullable": true
3510
- },
3511
3321
  "consumerType": {
3512
3322
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3513
3323
  }
@@ -3528,11 +3338,16 @@
3528
3338
  "type": "string",
3529
3339
  "nullable": true
3530
3340
  },
3531
- "isBackChannel": {
3341
+ "isDeleteDialogAction": {
3532
3342
  "type": "boolean"
3533
3343
  },
3534
- "isDeleteAction": {
3535
- "type": "boolean"
3344
+ "httpMethod": {
3345
+ "nullable": true,
3346
+ "oneOf": [
3347
+ {
3348
+ "$ref": "#/components/schemas/HttpVerb_Values"
3349
+ }
3350
+ ]
3536
3351
  },
3537
3352
  "priority": {
3538
3353
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
@@ -3542,6 +3357,13 @@
3542
3357
  "items": {
3543
3358
  "$ref": "#/components/schemas/LocalizationDto"
3544
3359
  }
3360
+ },
3361
+ "prompt": {
3362
+ "type": "array",
3363
+ "nullable": true,
3364
+ "items": {
3365
+ "$ref": "#/components/schemas/LocalizationDto"
3366
+ }
3545
3367
  }
3546
3368
  }
3547
3369
  },
@@ -3642,48 +3464,14 @@
3642
3464
  "nullable": true
3643
3465
  },
3644
3466
  "performedBy": {
3645
- "type": "array",
3646
- "items": {
3647
- "$ref": "#/components/schemas/LocalizationDto"
3648
- }
3649
- },
3650
- "description": {
3651
- "type": "array",
3652
- "items": {
3653
- "$ref": "#/components/schemas/LocalizationDto"
3654
- }
3655
- }
3656
- }
3657
- },
3658
- "UpdateDialogElementRequest": {
3659
- "type": "object",
3660
- "additionalProperties": false,
3661
- "properties": {
3662
- "type": {
3663
- "type": "string",
3664
- "format": "uri",
3665
- "nullable": true
3666
- },
3667
- "authorizationAttribute": {
3668
3467
  "type": "string",
3669
3468
  "nullable": true
3670
3469
  },
3671
- "relatedDialogElementId": {
3672
- "type": "string",
3673
- "format": "guid",
3674
- "nullable": true
3675
- },
3676
- "displayName": {
3470
+ "description": {
3677
3471
  "type": "array",
3678
3472
  "items": {
3679
3473
  "$ref": "#/components/schemas/LocalizationDto"
3680
3474
  }
3681
- },
3682
- "urls": {
3683
- "type": "array",
3684
- "items": {
3685
- "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
3686
- }
3687
3475
  }
3688
3476
  }
3689
3477
  },
@@ -3761,10 +3549,8 @@
3761
3549
  "nullable": true
3762
3550
  },
3763
3551
  "performedBy": {
3764
- "type": "array",
3765
- "items": {
3766
- "$ref": "#/components/schemas/LocalizationDto"
3767
- }
3552
+ "type": "string",
3553
+ "nullable": true
3768
3554
  },
3769
3555
  "description": {
3770
3556
  "type": "array",
@@ -3997,11 +3783,8 @@
3997
3783
  "nullable": true
3998
3784
  },
3999
3785
  "performedBy": {
4000
- "type": "array",
4001
- "nullable": true,
4002
- "items": {
4003
- "$ref": "#/components/schemas/LocalizationDto"
4004
- }
3786
+ "type": "string",
3787
+ "nullable": true
4005
3788
  },
4006
3789
  "description": {
4007
3790
  "type": "array",
@@ -4167,6 +3950,10 @@
4167
3950
  "items": {
4168
3951
  "$ref": "#/components/schemas/LocalizationDto"
4169
3952
  }
3953
+ },
3954
+ "mediaType": {
3955
+ "type": "string",
3956
+ "nullable": true
4170
3957
  }
4171
3958
  }
4172
3959
  },
@@ -4225,10 +4012,6 @@
4225
4012
  "type": "string",
4226
4013
  "format": "uri"
4227
4014
  },
4228
- "mimeType": {
4229
- "type": "string",
4230
- "nullable": true
4231
- },
4232
4015
  "consumerType": {
4233
4016
  "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
4234
4017
  }
@@ -4256,20 +4039,27 @@
4256
4039
  "isAuthorized": {
4257
4040
  "type": "boolean"
4258
4041
  },
4259
- "isBackChannel": {
4260
- "type": "boolean"
4261
- },
4262
- "isDeleteAction": {
4042
+ "isDeleteDialogAction": {
4263
4043
  "type": "boolean"
4264
4044
  },
4265
4045
  "priority": {
4266
4046
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
4267
4047
  },
4048
+ "httpMethod": {
4049
+ "$ref": "#/components/schemas/HttpVerb_Values"
4050
+ },
4268
4051
  "title": {
4269
4052
  "type": "array",
4270
4053
  "items": {
4271
4054
  "$ref": "#/components/schemas/LocalizationDto"
4272
4055
  }
4056
+ },
4057
+ "prompt": {
4058
+ "type": "array",
4059
+ "nullable": true,
4060
+ "items": {
4061
+ "$ref": "#/components/schemas/LocalizationDto"
4062
+ }
4273
4063
  }
4274
4064
  }
4275
4065
  },
@@ -4380,11 +4170,8 @@
4380
4170
  "nullable": true
4381
4171
  },
4382
4172
  "performedBy": {
4383
- "type": "array",
4384
- "nullable": true,
4385
- "items": {
4386
- "$ref": "#/components/schemas/LocalizationDto"
4387
- }
4173
+ "type": "string",
4174
+ "nullable": true
4388
4175
  },
4389
4176
  "description": {
4390
4177
  "type": "array",
@@ -4474,4 +4261,4 @@
4474
4261
  }
4475
4262
  }
4476
4263
  }
4477
- }
4264
+ }