@digdir/dialogporten-schema 1.8.1-c9b50e9 → 1.8.1-dbe296a

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.8.1-c9b50e9",
3
+ "version": "1.8.1-dbe296a",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "author": "DigDir",
6
6
  "repository": {
@@ -16,7 +16,6 @@ type Activity {
16
16
  extendedType: URL
17
17
  type: ActivityType!
18
18
  relatedActivityId: UUID
19
- dialogElementId: UUID
20
19
  performedBy: String
21
20
  description: [Localization!]!
22
21
  }
@@ -26,7 +25,6 @@ type ApiAction {
26
25
  action: String!
27
26
  authorizationAttribute: String
28
27
  isAuthorized: Boolean!
29
- dialogElementId: UUID
30
28
  endpoints: [ApiActionEndpoint!]!
31
29
  }
32
30
 
@@ -42,6 +40,18 @@ type ApiActionEndpoint {
42
40
  sunsetAt: DateTime
43
41
  }
44
42
 
43
+ type Attachment {
44
+ id: UUID!
45
+ displayName: [Localization!]!
46
+ urls: [AttachmentUrl!]!
47
+ }
48
+
49
+ type AttachmentUrl {
50
+ id: UUID!
51
+ url: URL!
52
+ consumerType: AttachmentUrlConsumer!
53
+ }
54
+
45
55
  type AuthorizedParty {
46
56
  party: String!
47
57
  name: String!
@@ -78,7 +88,7 @@ type Dialog {
78
88
  dialogToken: String
79
89
  status: DialogStatus!
80
90
  content: [Content!]!
81
- elements: [Element!]!
91
+ attachments: [Attachment!]!
82
92
  guiActions: [GuiAction!]!
83
93
  apiActions: [ApiAction!]!
84
94
  activities: [Activity!]!
@@ -102,23 +112,6 @@ type DialogByIdPayload {
102
112
  errors: [DialogByIdError!]!
103
113
  }
104
114
 
105
- type Element {
106
- id: UUID!
107
- type: URL
108
- externalReference: String
109
- authorizationAttribute: String
110
- isAuthorized: Boolean!
111
- relatedDialogElementId: UUID
112
- displayName: [Localization!]!
113
- urls: [ElementUrl!]!
114
- }
115
-
116
- type ElementUrl {
117
- id: UUID!
118
- url: URL!
119
- consumerType: ElementUrlConsumer!
120
- }
121
-
122
115
  type GuiAction {
123
116
  id: UUID!
124
117
  action: String!
@@ -237,6 +230,11 @@ enum ApplyPolicy {
237
230
  VALIDATION
238
231
  }
239
232
 
233
+ enum AttachmentUrlConsumer {
234
+ GUI
235
+ API
236
+ }
237
+
240
238
  enum ContentType {
241
239
  TITLE
242
240
  SENDER_NAME
@@ -260,11 +258,6 @@ enum DialogStatus {
260
258
  COMPLETED
261
259
  }
262
260
 
263
- enum ElementUrlConsumer {
264
- GUI
265
- API
266
- }
267
-
268
261
  enum GuiActionPriority {
269
262
  PRIMARY
270
263
  SECONDARY
@@ -94,7 +94,7 @@
94
94
  }
95
95
  },
96
96
  "404": {
97
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
97
+ "description": "Not Found",
98
98
  "content": {
99
99
  "application/problem+json": {
100
100
  "schema": {
@@ -157,7 +157,7 @@
157
157
  }
158
158
  },
159
159
  "404": {
160
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
160
+ "description": "Not Found",
161
161
  "content": {
162
162
  "application/problem+json": {
163
163
  "schema": {
@@ -251,13 +251,9 @@
251
251
  "Value": "anotherSearchTag"
252
252
  }
253
253
  ],
254
- "Elements": [
254
+ "Attachments": [
255
255
  {
256
256
  "Id": "02a72809-eddd-4192-864d-8f1755d72f4e",
257
- "Type": "https://example.com/some-type",
258
- "ExternalReference": null,
259
- "AuthorizationAttribute": null,
260
- "RelatedDialogElementId": null,
261
257
  "DisplayName": [
262
258
  {
263
259
  "Value": "Some display name",
@@ -268,6 +264,7 @@
268
264
  {
269
265
  "Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
270
266
  "Url": "https://example.com/some-url",
267
+ "MediaType": null,
271
268
  "ConsumerType": 0
272
269
  }
273
270
  ]
@@ -300,7 +297,6 @@
300
297
  "Id": "948b07ba-1a82-403e-8eaa-2e5784af07a9",
301
298
  "Action": "submit",
302
299
  "AuthorizationAttribute": null,
303
- "DialogElementId": null,
304
300
  "Endpoints": [
305
301
  {
306
302
  "Id": null,
@@ -323,7 +319,6 @@
323
319
  "ExtendedType": null,
324
320
  "Type": 3,
325
321
  "RelatedActivityId": null,
326
- "DialogElementId": null,
327
322
  "PerformedBy": "Some performed",
328
323
  "Description": [
329
324
  {
@@ -988,212 +983,6 @@
988
983
  ]
989
984
  }
990
985
  },
991
- "/api/v1/serviceowner/dialogs/{dialogId}/elements": {
992
- "get": {
993
- "tags": [
994
- "Serviceowner"
995
- ],
996
- "summary": "Gets a list of dialog elements",
997
- "description": "Gets the list of elements belonging to a dialog",
998
- "operationId": "GetDialogElementListSO",
999
- "parameters": [
1000
- {
1001
- "name": "dialogId",
1002
- "in": "path",
1003
- "required": true,
1004
- "schema": {
1005
- "type": "string",
1006
- "format": "guid"
1007
- }
1008
- }
1009
- ],
1010
- "responses": {
1011
- "200": {
1012
- "description": "Successfully returned the dialog element list.",
1013
- "content": {
1014
- "text/plain": {
1015
- "schema": {}
1016
- },
1017
- "application/json": {
1018
- "schema": {}
1019
- }
1020
- }
1021
- },
1022
- "401": {
1023
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1024
- },
1025
- "403": {
1026
- "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1027
- }
1028
- },
1029
- "security": [
1030
- {
1031
- "JWTBearerAuth": []
1032
- }
1033
- ]
1034
- },
1035
- "post": {
1036
- "tags": [
1037
- "Serviceowner"
1038
- ],
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",
1042
- "parameters": [
1043
- {
1044
- "name": "dialogId",
1045
- "in": "path",
1046
- "required": true,
1047
- "schema": {
1048
- "type": "string",
1049
- "format": "guid"
1050
- }
1051
- },
1052
- {
1053
- "name": "if-Match",
1054
- "in": "header",
1055
- "schema": {
1056
- "type": "string",
1057
- "format": "guid",
1058
- "nullable": true
1059
- }
1060
- }
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
- },
1075
- "responses": {
1076
- "401": {
1077
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1078
- },
1079
- "403": {
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)."
1081
- },
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
- }
1092
- },
1093
- "400": {
1094
- "description": "Validation error occured. See problem details for a list of errors.",
1095
- "content": {
1096
- "application/problem+json": {
1097
- "schema": {
1098
- "$ref": "#/components/schemas/ProblemDetails"
1099
- }
1100
- }
1101
- }
1102
- },
1103
- "404": {
1104
- "description": "The given dialog ID was not found or is already deleted.",
1105
- "content": {
1106
- "application/problem+json": {
1107
- "schema": {
1108
- "$ref": "#/components/schemas/ProblemDetails"
1109
- }
1110
- }
1111
- }
1112
- },
1113
- "412": {
1114
- "description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied.",
1115
- "content": {
1116
- "application/problem+json": {
1117
- "schema": {
1118
- "$ref": "#/components/schemas/ProblemDetails"
1119
- }
1120
- }
1121
- }
1122
- },
1123
- "422": {
1124
- "description": "Domain error occured. See problem details for a list of errors.",
1125
- "content": {
1126
- "application/problem+json": {
1127
- "schema": {
1128
- "$ref": "#/components/schemas/ProblemDetails"
1129
- }
1130
- }
1131
- }
1132
- }
1133
- },
1134
- "security": [
1135
- {
1136
- "JWTBearerAuth": []
1137
- }
1138
- ]
1139
- }
1140
- },
1141
- "/api/v1/serviceowner/dialogs/{dialogId}/elements/{elementId}": {
1142
- "get": {
1143
- "tags": [
1144
- "Serviceowner"
1145
- ],
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",
1149
- "parameters": [
1150
- {
1151
- "name": "dialogId",
1152
- "in": "path",
1153
- "required": true,
1154
- "schema": {
1155
- "type": "string",
1156
- "format": "guid"
1157
- }
1158
- },
1159
- {
1160
- "name": "elementId",
1161
- "in": "path",
1162
- "required": true,
1163
- "schema": {
1164
- "type": "string",
1165
- "format": "guid"
1166
- }
1167
- }
1168
- ],
1169
- "responses": {
1170
- "401": {
1171
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten.serviceprovider\"."
1172
- },
1173
- "403": {
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)."
1175
- },
1176
- "200": {
1177
- "description": "Successfully returned the dialog element."
1178
- },
1179
- "404": {
1180
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1181
- "content": {
1182
- "application/problem+json": {
1183
- "schema": {
1184
- "$ref": "#/components/schemas/ProblemDetails"
1185
- }
1186
- }
1187
- }
1188
- }
1189
- },
1190
- "security": [
1191
- {
1192
- "JWTBearerAuth": []
1193
- }
1194
- ]
1195
- }
1196
- },
1197
986
  "/api/v1/serviceowner/dialogs/{dialogId}/activities": {
1198
987
  "get": {
1199
988
  "tags": [
@@ -1476,7 +1265,7 @@
1476
1265
  }
1477
1266
  },
1478
1267
  "404": {
1479
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1268
+ "description": "Not Found",
1480
1269
  "content": {
1481
1270
  "application/problem+json": {
1482
1271
  "schema": {
@@ -1539,7 +1328,7 @@
1539
1328
  }
1540
1329
  },
1541
1330
  "404": {
1542
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1331
+ "description": "Not Found",
1543
1332
  "content": {
1544
1333
  "application/problem+json": {
1545
1334
  "schema": {
@@ -1834,107 +1623,6 @@
1834
1623
  ]
1835
1624
  }
1836
1625
  },
1837
- "/api/v1/enduser/dialogs/{dialogId}/elements": {
1838
- "get": {
1839
- "tags": [
1840
- "Enduser"
1841
- ],
1842
- "summary": "Gets a list of dialog elements",
1843
- "description": "Gets the list of elements belonging to a dialog",
1844
- "operationId": "GetDialogElementList",
1845
- "parameters": [
1846
- {
1847
- "name": "dialogId",
1848
- "in": "path",
1849
- "required": true,
1850
- "schema": {
1851
- "type": "string",
1852
- "format": "guid"
1853
- }
1854
- }
1855
- ],
1856
- "responses": {
1857
- "200": {
1858
- "description": "Successfully returned the dialog element list.",
1859
- "content": {
1860
- "text/plain": {
1861
- "schema": {}
1862
- },
1863
- "application/json": {
1864
- "schema": {}
1865
- }
1866
- }
1867
- },
1868
- "401": {
1869
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1870
- },
1871
- "403": {
1872
- "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
1873
- }
1874
- },
1875
- "security": [
1876
- {
1877
- "JWTBearerAuth": []
1878
- }
1879
- ]
1880
- }
1881
- },
1882
- "/api/v1/enduser/dialogs/{dialogId}/elements/{elementId}": {
1883
- "get": {
1884
- "tags": [
1885
- "Enduser"
1886
- ],
1887
- "summary": "Gets a single dialog element",
1888
- "description": "Gets a single element belonging to a dialog. For more information see the documentation (link TBD).",
1889
- "operationId": "GetDialogElement",
1890
- "parameters": [
1891
- {
1892
- "name": "dialogId",
1893
- "in": "path",
1894
- "required": true,
1895
- "schema": {
1896
- "type": "string",
1897
- "format": "guid"
1898
- }
1899
- },
1900
- {
1901
- "name": "elementId",
1902
- "in": "path",
1903
- "required": true,
1904
- "schema": {
1905
- "type": "string",
1906
- "format": "guid"
1907
- }
1908
- }
1909
- ],
1910
- "responses": {
1911
- "401": {
1912
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"."
1913
- },
1914
- "403": {
1915
- "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)."
1916
- },
1917
- "200": {
1918
- "description": "Successfully returned the dialog element."
1919
- },
1920
- "404": {
1921
- "description": "The given dialog ID or dialog element ID was not found or was already deleted.",
1922
- "content": {
1923
- "application/problem+json": {
1924
- "schema": {
1925
- "$ref": "#/components/schemas/ProblemDetails"
1926
- }
1927
- }
1928
- }
1929
- }
1930
- },
1931
- "security": [
1932
- {
1933
- "JWTBearerAuth": []
1934
- }
1935
- ]
1936
- }
1937
- },
1938
1626
  "/api/v1/enduser/dialogs/{dialogId}/activities": {
1939
1627
  "get": {
1940
1628
  "tags": [
@@ -2244,10 +1932,10 @@
2244
1932
  "$ref": "#/components/schemas/UpdateDialogSearchTagDto"
2245
1933
  }
2246
1934
  },
2247
- "elements": {
1935
+ "attachments": {
2248
1936
  "type": "array",
2249
1937
  "items": {
2250
- "$ref": "#/components/schemas/UpdateDialogDialogElementDto"
1938
+ "$ref": "#/components/schemas/UpdateDialogDialogAttachmentDto"
2251
1939
  }
2252
1940
  },
2253
1941
  "guiActions": {
@@ -2350,7 +2038,7 @@
2350
2038
  }
2351
2039
  }
2352
2040
  },
2353
- "UpdateDialogDialogElementDto": {
2041
+ "UpdateDialogDialogAttachmentDto": {
2354
2042
  "type": "object",
2355
2043
  "additionalProperties": false,
2356
2044
  "properties": {
@@ -2359,24 +2047,6 @@
2359
2047
  "format": "guid",
2360
2048
  "nullable": true
2361
2049
  },
2362
- "type": {
2363
- "type": "string",
2364
- "format": "uri",
2365
- "nullable": true
2366
- },
2367
- "externalReference": {
2368
- "type": "string",
2369
- "nullable": true
2370
- },
2371
- "authorizationAttribute": {
2372
- "type": "string",
2373
- "nullable": true
2374
- },
2375
- "relatedDialogElementId": {
2376
- "type": "string",
2377
- "format": "guid",
2378
- "nullable": true
2379
- },
2380
2050
  "displayName": {
2381
2051
  "type": "array",
2382
2052
  "items": {
@@ -2386,12 +2056,12 @@
2386
2056
  "urls": {
2387
2057
  "type": "array",
2388
2058
  "items": {
2389
- "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
2059
+ "$ref": "#/components/schemas/UpdateDialogDialogAttachmentUrlDto"
2390
2060
  }
2391
2061
  }
2392
2062
  }
2393
2063
  },
2394
- "UpdateDialogDialogElementUrlDto": {
2064
+ "UpdateDialogDialogAttachmentUrlDto": {
2395
2065
  "type": "object",
2396
2066
  "additionalProperties": false,
2397
2067
  "properties": {
@@ -2404,12 +2074,16 @@
2404
2074
  "type": "string",
2405
2075
  "format": "uri"
2406
2076
  },
2077
+ "mediaType": {
2078
+ "type": "string",
2079
+ "nullable": true
2080
+ },
2407
2081
  "consumerType": {
2408
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2082
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
2409
2083
  }
2410
2084
  }
2411
2085
  },
2412
- "DialogElementUrlConsumerType_Values": {
2086
+ "DialogAttachmentUrlConsumerType_Values": {
2413
2087
  "type": "string",
2414
2088
  "description": "",
2415
2089
  "x-enumNames": [
@@ -2526,11 +2200,6 @@
2526
2200
  "type": "string",
2527
2201
  "nullable": true
2528
2202
  },
2529
- "dialogElementId": {
2530
- "type": "string",
2531
- "format": "guid",
2532
- "nullable": true
2533
- },
2534
2203
  "endpoints": {
2535
2204
  "type": "array",
2536
2205
  "items": {
@@ -2611,11 +2280,6 @@
2611
2280
  "format": "guid",
2612
2281
  "nullable": true
2613
2282
  },
2614
- "dialogElementId": {
2615
- "type": "string",
2616
- "format": "guid",
2617
- "nullable": true
2618
- },
2619
2283
  "performedBy": {
2620
2284
  "type": "string",
2621
2285
  "nullable": true
@@ -2859,10 +2523,10 @@
2859
2523
  "$ref": "#/components/schemas/GetDialogSearchTagDtoSO"
2860
2524
  }
2861
2525
  },
2862
- "elements": {
2526
+ "attachments": {
2863
2527
  "type": "array",
2864
2528
  "items": {
2865
- "$ref": "#/components/schemas/GetDialogDialogElementDtoSO"
2529
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentDtoSO"
2866
2530
  }
2867
2531
  },
2868
2532
  "guiActions": {
@@ -2921,7 +2585,7 @@
2921
2585
  }
2922
2586
  }
2923
2587
  },
2924
- "GetDialogDialogElementDtoSO": {
2588
+ "GetDialogDialogAttachmentDtoSO": {
2925
2589
  "type": "object",
2926
2590
  "additionalProperties": false,
2927
2591
  "properties": {
@@ -2929,20 +2593,6 @@
2929
2593
  "type": "string",
2930
2594
  "format": "guid"
2931
2595
  },
2932
- "type": {
2933
- "type": "string",
2934
- "format": "uri",
2935
- "nullable": true
2936
- },
2937
- "authorizationAttribute": {
2938
- "type": "string",
2939
- "nullable": true
2940
- },
2941
- "relatedDialogElementId": {
2942
- "type": "string",
2943
- "format": "guid",
2944
- "nullable": true
2945
- },
2946
2596
  "displayName": {
2947
2597
  "type": "array",
2948
2598
  "items": {
@@ -2952,12 +2602,12 @@
2952
2602
  "urls": {
2953
2603
  "type": "array",
2954
2604
  "items": {
2955
- "$ref": "#/components/schemas/GetDialogDialogElementUrlDtoSO"
2605
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentUrlDtoSO"
2956
2606
  }
2957
2607
  }
2958
2608
  }
2959
2609
  },
2960
- "GetDialogDialogElementUrlDtoSO": {
2610
+ "GetDialogDialogAttachmentUrlDtoSO": {
2961
2611
  "type": "object",
2962
2612
  "additionalProperties": false,
2963
2613
  "properties": {
@@ -2969,8 +2619,12 @@
2969
2619
  "type": "string",
2970
2620
  "format": "uri"
2971
2621
  },
2622
+ "mediaType": {
2623
+ "type": "string",
2624
+ "nullable": true
2625
+ },
2972
2626
  "consumerType": {
2973
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2627
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
2974
2628
  }
2975
2629
  }
2976
2630
  },
@@ -3032,11 +2686,6 @@
3032
2686
  "type": "string",
3033
2687
  "nullable": true
3034
2688
  },
3035
- "dialogElementId": {
3036
- "type": "string",
3037
- "format": "guid",
3038
- "nullable": true
3039
- },
3040
2689
  "endpoints": {
3041
2690
  "type": "array",
3042
2691
  "items": {
@@ -3115,11 +2764,6 @@
3115
2764
  "format": "guid",
3116
2765
  "nullable": true
3117
2766
  },
3118
- "dialogElementId": {
3119
- "type": "string",
3120
- "format": "guid",
3121
- "nullable": true
3122
- },
3123
2767
  "performedBy": {
3124
2768
  "type": "string",
3125
2769
  "nullable": true
@@ -3215,10 +2859,10 @@
3215
2859
  "$ref": "#/components/schemas/CreateDialogSearchTagDto"
3216
2860
  }
3217
2861
  },
3218
- "elements": {
2862
+ "attachments": {
3219
2863
  "type": "array",
3220
2864
  "items": {
3221
- "$ref": "#/components/schemas/CreateDialogDialogElementDto"
2865
+ "$ref": "#/components/schemas/CreateDialogDialogAttachmentDto"
3222
2866
  }
3223
2867
  },
3224
2868
  "guiActions": {
@@ -3269,7 +2913,7 @@
3269
2913
  }
3270
2914
  }
3271
2915
  },
3272
- "CreateDialogDialogElementDto": {
2916
+ "CreateDialogDialogAttachmentDto": {
3273
2917
  "type": "object",
3274
2918
  "additionalProperties": false,
3275
2919
  "properties": {
@@ -3278,24 +2922,6 @@
3278
2922
  "format": "guid",
3279
2923
  "nullable": true
3280
2924
  },
3281
- "type": {
3282
- "type": "string",
3283
- "format": "uri",
3284
- "nullable": true
3285
- },
3286
- "externalReference": {
3287
- "type": "string",
3288
- "nullable": true
3289
- },
3290
- "authorizationAttribute": {
3291
- "type": "string",
3292
- "nullable": true
3293
- },
3294
- "relatedDialogElementId": {
3295
- "type": "string",
3296
- "format": "guid",
3297
- "nullable": true
3298
- },
3299
2925
  "displayName": {
3300
2926
  "type": "array",
3301
2927
  "items": {
@@ -3305,12 +2931,12 @@
3305
2931
  "urls": {
3306
2932
  "type": "array",
3307
2933
  "items": {
3308
- "$ref": "#/components/schemas/CreateDialogDialogElementUrlDto"
2934
+ "$ref": "#/components/schemas/CreateDialogDialogAttachmentUrlDto"
3309
2935
  }
3310
2936
  }
3311
2937
  }
3312
2938
  },
3313
- "CreateDialogDialogElementUrlDto": {
2939
+ "CreateDialogDialogAttachmentUrlDto": {
3314
2940
  "type": "object",
3315
2941
  "additionalProperties": false,
3316
2942
  "properties": {
@@ -3318,8 +2944,12 @@
3318
2944
  "type": "string",
3319
2945
  "format": "uri"
3320
2946
  },
2947
+ "mediaType": {
2948
+ "type": "string",
2949
+ "nullable": true
2950
+ },
3321
2951
  "consumerType": {
3322
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
2952
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
3323
2953
  }
3324
2954
  }
3325
2955
  },
@@ -3378,11 +3008,6 @@
3378
3008
  "type": "string",
3379
3009
  "nullable": true
3380
3010
  },
3381
- "dialogElementId": {
3382
- "type": "string",
3383
- "format": "guid",
3384
- "nullable": true
3385
- },
3386
3011
  "endpoints": {
3387
3012
  "type": "array",
3388
3013
  "items": {
@@ -3458,11 +3083,6 @@
3458
3083
  "format": "guid",
3459
3084
  "nullable": true
3460
3085
  },
3461
- "dialogElementId": {
3462
- "type": "string",
3463
- "format": "guid",
3464
- "nullable": true
3465
- },
3466
3086
  "performedBy": {
3467
3087
  "type": "string",
3468
3088
  "nullable": true
@@ -3475,47 +3095,6 @@
3475
3095
  }
3476
3096
  }
3477
3097
  },
3478
- "CreateDialogElementRequest": {
3479
- "type": "object",
3480
- "additionalProperties": false,
3481
- "properties": {
3482
- "id": {
3483
- "type": "string",
3484
- "format": "guid",
3485
- "nullable": true
3486
- },
3487
- "type": {
3488
- "type": "string",
3489
- "format": "uri",
3490
- "nullable": true
3491
- },
3492
- "externalReference": {
3493
- "type": "string",
3494
- "nullable": true
3495
- },
3496
- "authorizationAttribute": {
3497
- "type": "string",
3498
- "nullable": true
3499
- },
3500
- "relatedDialogElementId": {
3501
- "type": "string",
3502
- "format": "guid",
3503
- "nullable": true
3504
- },
3505
- "displayName": {
3506
- "type": "array",
3507
- "items": {
3508
- "$ref": "#/components/schemas/LocalizationDto"
3509
- }
3510
- },
3511
- "urls": {
3512
- "type": "array",
3513
- "items": {
3514
- "$ref": "#/components/schemas/UpdateDialogDialogElementUrlDto"
3515
- }
3516
- }
3517
- }
3518
- },
3519
3098
  "CreateDialogActivityRequest": {
3520
3099
  "type": "object",
3521
3100
  "additionalProperties": false,
@@ -3543,11 +3122,6 @@
3543
3122
  "format": "guid",
3544
3123
  "nullable": true
3545
3124
  },
3546
- "dialogElementId": {
3547
- "type": "string",
3548
- "format": "guid",
3549
- "nullable": true
3550
- },
3551
3125
  "performedBy": {
3552
3126
  "type": "string",
3553
3127
  "nullable": true
@@ -3777,11 +3351,6 @@
3777
3351
  "format": "guid",
3778
3352
  "nullable": true
3779
3353
  },
3780
- "dialogElementId": {
3781
- "type": "string",
3782
- "format": "guid",
3783
- "nullable": true
3784
- },
3785
3354
  "performedBy": {
3786
3355
  "type": "string",
3787
3356
  "nullable": true
@@ -3906,10 +3475,10 @@
3906
3475
  "type": "string",
3907
3476
  "nullable": true
3908
3477
  },
3909
- "elements": {
3478
+ "attachments": {
3910
3479
  "type": "array",
3911
3480
  "items": {
3912
- "$ref": "#/components/schemas/GetDialogDialogElementDto"
3481
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentDto"
3913
3482
  }
3914
3483
  },
3915
3484
  "guiActions": {
@@ -3957,7 +3526,7 @@
3957
3526
  }
3958
3527
  }
3959
3528
  },
3960
- "GetDialogDialogElementDto": {
3529
+ "GetDialogDialogAttachmentDto": {
3961
3530
  "type": "object",
3962
3531
  "additionalProperties": false,
3963
3532
  "properties": {
@@ -3965,27 +3534,6 @@
3965
3534
  "type": "string",
3966
3535
  "format": "guid"
3967
3536
  },
3968
- "type": {
3969
- "type": "string",
3970
- "format": "uri",
3971
- "nullable": true
3972
- },
3973
- "externalReference": {
3974
- "type": "string",
3975
- "nullable": true
3976
- },
3977
- "authorizationAttribute": {
3978
- "type": "string",
3979
- "nullable": true
3980
- },
3981
- "isAuthorized": {
3982
- "type": "boolean"
3983
- },
3984
- "relatedDialogElementId": {
3985
- "type": "string",
3986
- "format": "guid",
3987
- "nullable": true
3988
- },
3989
3537
  "displayName": {
3990
3538
  "type": "array",
3991
3539
  "items": {
@@ -3995,12 +3543,12 @@
3995
3543
  "urls": {
3996
3544
  "type": "array",
3997
3545
  "items": {
3998
- "$ref": "#/components/schemas/GetDialogDialogElementUrlDto"
3546
+ "$ref": "#/components/schemas/GetDialogDialogAttachmentUrlDto"
3999
3547
  }
4000
3548
  }
4001
3549
  }
4002
3550
  },
4003
- "GetDialogDialogElementUrlDto": {
3551
+ "GetDialogDialogAttachmentUrlDto": {
4004
3552
  "type": "object",
4005
3553
  "additionalProperties": false,
4006
3554
  "properties": {
@@ -4012,8 +3560,12 @@
4012
3560
  "type": "string",
4013
3561
  "format": "uri"
4014
3562
  },
3563
+ "mediaType": {
3564
+ "type": "string",
3565
+ "nullable": true
3566
+ },
4015
3567
  "consumerType": {
4016
- "$ref": "#/components/schemas/DialogElementUrlConsumerType_Values"
3568
+ "$ref": "#/components/schemas/DialogAttachmentUrlConsumerType_Values"
4017
3569
  }
4018
3570
  }
4019
3571
  },
@@ -4081,11 +3633,6 @@
4081
3633
  "isAuthorized": {
4082
3634
  "type": "boolean"
4083
3635
  },
4084
- "dialogElementId": {
4085
- "type": "string",
4086
- "format": "guid",
4087
- "nullable": true
4088
- },
4089
3636
  "endpoints": {
4090
3637
  "type": "array",
4091
3638
  "items": {
@@ -4164,11 +3711,6 @@
4164
3711
  "format": "guid",
4165
3712
  "nullable": true
4166
3713
  },
4167
- "dialogElementId": {
4168
- "type": "string",
4169
- "format": "guid",
4170
- "nullable": true
4171
- },
4172
3714
  "performedBy": {
4173
3715
  "type": "string",
4174
3716
  "nullable": true