@digdir/dialogporten-schema 1.7.1-c19f47a → 1.7.1-f2d9136

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-c19f47a",
3
+ "version": "1.7.1-f2d9136",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "author": "DigDir",
6
6
  "repository": {
@@ -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 {
@@ -289,4 +290,4 @@ scalar DateTime @specifiedBy(url: "https:\/\/www.graphql-scalars.com\/date-time"
289
290
 
290
291
  scalar URL @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc3986")
291
292
 
292
- scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
293
+ scalar UUID @specifiedBy(url: "https:\/\/tools.ietf.org\/html\/rfc4122")
@@ -278,8 +278,8 @@
278
278
  "Action": "submit",
279
279
  "Url": "https://example.com/some-url",
280
280
  "AuthorizationAttribute": null,
281
- "IsBackChannel": false,
282
- "IsDeleteAction": false,
281
+ "IsDeleteDialogAction": false,
282
+ "HttpMethod": 1,
283
283
  "Priority": 1,
284
284
  "Title": [
285
285
  {
@@ -290,7 +290,8 @@
290
290
  "Value": "GUI action-tittel",
291
291
  "CultureCode": "nb-no"
292
292
  }
293
- ]
293
+ ],
294
+ "Prompt": null
294
295
  }
295
296
  ],
296
297
  "ApiActions": [
@@ -2636,11 +2637,16 @@
2636
2637
  "type": "string",
2637
2638
  "nullable": true
2638
2639
  },
2639
- "isBackChannel": {
2640
+ "isDeleteDialogAction": {
2640
2641
  "type": "boolean"
2641
2642
  },
2642
- "isDeleteAction": {
2643
- "type": "boolean"
2643
+ "httpMethod": {
2644
+ "nullable": true,
2645
+ "oneOf": [
2646
+ {
2647
+ "$ref": "#/components/schemas/HttpVerb_Values"
2648
+ }
2649
+ ]
2644
2650
  },
2645
2651
  "priority": {
2646
2652
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
@@ -2650,9 +2656,42 @@
2650
2656
  "items": {
2651
2657
  "$ref": "#/components/schemas/LocalizationDto"
2652
2658
  }
2659
+ },
2660
+ "prompt": {
2661
+ "type": "array",
2662
+ "nullable": true,
2663
+ "items": {
2664
+ "$ref": "#/components/schemas/LocalizationDto"
2665
+ }
2653
2666
  }
2654
2667
  }
2655
2668
  },
2669
+ "HttpVerb_Values": {
2670
+ "type": "string",
2671
+ "description": "",
2672
+ "x-enumNames": [
2673
+ "GET",
2674
+ "POST",
2675
+ "PUT",
2676
+ "PATCH",
2677
+ "DELETE",
2678
+ "HEAD",
2679
+ "OPTIONS",
2680
+ "TRACE",
2681
+ "CONNECT"
2682
+ ],
2683
+ "enum": [
2684
+ "GET",
2685
+ "POST",
2686
+ "PUT",
2687
+ "PATCH",
2688
+ "DELETE",
2689
+ "HEAD",
2690
+ "OPTIONS",
2691
+ "TRACE",
2692
+ "CONNECT"
2693
+ ]
2694
+ },
2656
2695
  "DialogGuiActionPriority_Values": {
2657
2696
  "type": "string",
2658
2697
  "description": "",
@@ -2741,32 +2780,6 @@
2741
2780
  }
2742
2781
  }
2743
2782
  },
2744
- "HttpVerb_Values": {
2745
- "type": "string",
2746
- "description": "",
2747
- "x-enumNames": [
2748
- "GET",
2749
- "POST",
2750
- "PUT",
2751
- "PATCH",
2752
- "DELETE",
2753
- "HEAD",
2754
- "OPTIONS",
2755
- "TRACE",
2756
- "CONNECT"
2757
- ],
2758
- "enum": [
2759
- "GET",
2760
- "POST",
2761
- "PUT",
2762
- "PATCH",
2763
- "DELETE",
2764
- "HEAD",
2765
- "OPTIONS",
2766
- "TRACE",
2767
- "CONNECT"
2768
- ]
2769
- },
2770
2783
  "UpdateDialogDialogActivityDto": {
2771
2784
  "type": "object",
2772
2785
  "additionalProperties": false,
@@ -3176,20 +3189,27 @@
3176
3189
  "type": "string",
3177
3190
  "nullable": true
3178
3191
  },
3179
- "isBackChannel": {
3180
- "type": "boolean"
3181
- },
3182
- "isDeleteAction": {
3192
+ "isDeleteDialogAction": {
3183
3193
  "type": "boolean"
3184
3194
  },
3185
3195
  "priority": {
3186
3196
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
3187
3197
  },
3198
+ "httpMethod": {
3199
+ "$ref": "#/components/schemas/HttpVerb_Values"
3200
+ },
3188
3201
  "title": {
3189
3202
  "type": "array",
3190
3203
  "items": {
3191
3204
  "$ref": "#/components/schemas/LocalizationDto"
3192
3205
  }
3206
+ },
3207
+ "prompt": {
3208
+ "type": "array",
3209
+ "nullable": true,
3210
+ "items": {
3211
+ "$ref": "#/components/schemas/LocalizationDto"
3212
+ }
3193
3213
  }
3194
3214
  }
3195
3215
  },
@@ -3514,11 +3534,16 @@
3514
3534
  "type": "string",
3515
3535
  "nullable": true
3516
3536
  },
3517
- "isBackChannel": {
3537
+ "isDeleteDialogAction": {
3518
3538
  "type": "boolean"
3519
3539
  },
3520
- "isDeleteAction": {
3521
- "type": "boolean"
3540
+ "httpMethod": {
3541
+ "nullable": true,
3542
+ "oneOf": [
3543
+ {
3544
+ "$ref": "#/components/schemas/HttpVerb_Values"
3545
+ }
3546
+ ]
3522
3547
  },
3523
3548
  "priority": {
3524
3549
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
@@ -3528,6 +3553,13 @@
3528
3553
  "items": {
3529
3554
  "$ref": "#/components/schemas/LocalizationDto"
3530
3555
  }
3556
+ },
3557
+ "prompt": {
3558
+ "type": "array",
3559
+ "nullable": true,
3560
+ "items": {
3561
+ "$ref": "#/components/schemas/LocalizationDto"
3562
+ }
3531
3563
  }
3532
3564
  }
3533
3565
  },
@@ -4235,20 +4267,27 @@
4235
4267
  "isAuthorized": {
4236
4268
  "type": "boolean"
4237
4269
  },
4238
- "isBackChannel": {
4239
- "type": "boolean"
4240
- },
4241
- "isDeleteAction": {
4270
+ "isDeleteDialogAction": {
4242
4271
  "type": "boolean"
4243
4272
  },
4244
4273
  "priority": {
4245
4274
  "$ref": "#/components/schemas/DialogGuiActionPriority_Values"
4246
4275
  },
4276
+ "httpMethod": {
4277
+ "$ref": "#/components/schemas/HttpVerb_Values"
4278
+ },
4247
4279
  "title": {
4248
4280
  "type": "array",
4249
4281
  "items": {
4250
4282
  "$ref": "#/components/schemas/LocalizationDto"
4251
4283
  }
4284
+ },
4285
+ "prompt": {
4286
+ "type": "array",
4287
+ "nullable": true,
4288
+ "items": {
4289
+ "$ref": "#/components/schemas/LocalizationDto"
4290
+ }
4252
4291
  }
4253
4292
  }
4254
4293
  },