@ogcio/building-blocks-sdk 0.2.5 → 0.2.7

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.
@@ -619,33 +619,18 @@
619
619
  "title": {
620
620
  "type": "string"
621
621
  },
622
- "recipients": {
623
- "type": "array",
624
- "items": {
625
- "type": "string"
626
- }
622
+ "recipient": {
623
+ "type": "string"
627
624
  },
628
625
  "generatePDF": {
629
626
  "type": "boolean"
630
- },
631
- "uiConfig": {
632
- "type": "object",
633
- "properties": {
634
- "setupPageVersion": {
635
- "type": "string"
636
- }
637
- },
638
- "required": [
639
- "setupPageVersion"
640
- ]
641
627
  }
642
628
  },
643
629
  "required": [
644
630
  "templateId",
645
631
  "title",
646
- "recipients",
647
- "generatePDF",
648
- "uiConfig"
632
+ "recipient",
633
+ "generatePDF"
649
634
  ]
650
635
  },
651
636
  {
@@ -666,16 +651,7 @@
666
651
  },
667
652
  {
668
653
  "type": "object",
669
- "properties": {
670
- "uiConfig": {
671
- "type": "object",
672
- "properties": {
673
- "setupPageVersion": {
674
- "type": "string"
675
- }
676
- }
677
- }
678
- }
654
+ "properties": {}
679
655
  }
680
656
  ]
681
657
  },
@@ -2241,33 +2217,18 @@
2241
2217
  "title": {
2242
2218
  "type": "string"
2243
2219
  },
2244
- "recipients": {
2245
- "type": "array",
2246
- "items": {
2247
- "type": "string"
2248
- }
2220
+ "recipient": {
2221
+ "type": "string"
2249
2222
  },
2250
2223
  "generatePDF": {
2251
2224
  "type": "boolean"
2252
- },
2253
- "uiConfig": {
2254
- "type": "object",
2255
- "properties": {
2256
- "setupPageVersion": {
2257
- "type": "string"
2258
- }
2259
- },
2260
- "required": [
2261
- "setupPageVersion"
2262
- ]
2263
2225
  }
2264
2226
  },
2265
2227
  "required": [
2266
2228
  "templateId",
2267
2229
  "title",
2268
- "recipients",
2269
- "generatePDF",
2270
- "uiConfig"
2230
+ "recipient",
2231
+ "generatePDF"
2271
2232
  ]
2272
2233
  },
2273
2234
  {
@@ -2288,16 +2249,7 @@
2288
2249
  },
2289
2250
  {
2290
2251
  "type": "object",
2291
- "properties": {
2292
- "uiConfig": {
2293
- "type": "object",
2294
- "properties": {
2295
- "setupPageVersion": {
2296
- "type": "string"
2297
- }
2298
- }
2299
- }
2300
- }
2252
+ "properties": {}
2301
2253
  }
2302
2254
  ]
2303
2255
  },
@@ -2696,33 +2648,18 @@
2696
2648
  "title": {
2697
2649
  "type": "string"
2698
2650
  },
2699
- "recipients": {
2700
- "type": "array",
2701
- "items": {
2702
- "type": "string"
2703
- }
2651
+ "recipient": {
2652
+ "type": "string"
2704
2653
  },
2705
2654
  "generatePDF": {
2706
2655
  "type": "boolean"
2707
- },
2708
- "uiConfig": {
2709
- "type": "object",
2710
- "properties": {
2711
- "setupPageVersion": {
2712
- "type": "string"
2713
- }
2714
- },
2715
- "required": [
2716
- "setupPageVersion"
2717
- ]
2718
2656
  }
2719
2657
  },
2720
2658
  "required": [
2721
2659
  "templateId",
2722
2660
  "title",
2723
- "recipients",
2724
- "generatePDF",
2725
- "uiConfig"
2661
+ "recipient",
2662
+ "generatePDF"
2726
2663
  ]
2727
2664
  },
2728
2665
  {
@@ -2743,16 +2680,7 @@
2743
2680
  },
2744
2681
  {
2745
2682
  "type": "object",
2746
- "properties": {
2747
- "uiConfig": {
2748
- "type": "object",
2749
- "properties": {
2750
- "setupPageVersion": {
2751
- "type": "string"
2752
- }
2753
- }
2754
- }
2755
- }
2683
+ "properties": {}
2756
2684
  }
2757
2685
  ]
2758
2686
  },
@@ -2905,33 +2833,18 @@
2905
2833
  "title": {
2906
2834
  "type": "string"
2907
2835
  },
2908
- "recipients": {
2909
- "type": "array",
2910
- "items": {
2911
- "type": "string"
2912
- }
2836
+ "recipient": {
2837
+ "type": "string"
2913
2838
  },
2914
2839
  "generatePDF": {
2915
2840
  "type": "boolean"
2916
- },
2917
- "uiConfig": {
2918
- "type": "object",
2919
- "properties": {
2920
- "setupPageVersion": {
2921
- "type": "string"
2922
- }
2923
- },
2924
- "required": [
2925
- "setupPageVersion"
2926
- ]
2927
2841
  }
2928
2842
  },
2929
2843
  "required": [
2930
2844
  "templateId",
2931
2845
  "title",
2932
- "recipients",
2933
- "generatePDF",
2934
- "uiConfig"
2846
+ "recipient",
2847
+ "generatePDF"
2935
2848
  ]
2936
2849
  },
2937
2850
  {
@@ -2952,16 +2865,7 @@
2952
2865
  },
2953
2866
  {
2954
2867
  "type": "object",
2955
- "properties": {
2956
- "uiConfig": {
2957
- "type": "object",
2958
- "properties": {
2959
- "setupPageVersion": {
2960
- "type": "string"
2961
- }
2962
- }
2963
- }
2964
- }
2868
+ "properties": {}
2965
2869
  }
2966
2870
  ]
2967
2871
  },
@@ -3231,33 +3135,18 @@
3231
3135
  "title": {
3232
3136
  "type": "string"
3233
3137
  },
3234
- "recipients": {
3235
- "type": "array",
3236
- "items": {
3237
- "type": "string"
3238
- }
3138
+ "recipient": {
3139
+ "type": "string"
3239
3140
  },
3240
3141
  "generatePDF": {
3241
3142
  "type": "boolean"
3242
- },
3243
- "uiConfig": {
3244
- "type": "object",
3245
- "properties": {
3246
- "setupPageVersion": {
3247
- "type": "string"
3248
- }
3249
- },
3250
- "required": [
3251
- "setupPageVersion"
3252
- ]
3253
3143
  }
3254
3144
  },
3255
3145
  "required": [
3256
3146
  "templateId",
3257
3147
  "title",
3258
- "recipients",
3259
- "generatePDF",
3260
- "uiConfig"
3148
+ "recipient",
3149
+ "generatePDF"
3261
3150
  ]
3262
3151
  },
3263
3152
  {
@@ -3278,16 +3167,7 @@
3278
3167
  },
3279
3168
  {
3280
3169
  "type": "object",
3281
- "properties": {
3282
- "uiConfig": {
3283
- "type": "object",
3284
- "properties": {
3285
- "setupPageVersion": {
3286
- "type": "string"
3287
- }
3288
- }
3289
- }
3290
- }
3170
+ "properties": {}
3291
3171
  }
3292
3172
  ]
3293
3173
  }
@@ -3394,33 +3274,18 @@
3394
3274
  "title": {
3395
3275
  "type": "string"
3396
3276
  },
3397
- "recipients": {
3398
- "type": "array",
3399
- "items": {
3400
- "type": "string"
3401
- }
3277
+ "recipient": {
3278
+ "type": "string"
3402
3279
  },
3403
3280
  "generatePDF": {
3404
3281
  "type": "boolean"
3405
- },
3406
- "uiConfig": {
3407
- "type": "object",
3408
- "properties": {
3409
- "setupPageVersion": {
3410
- "type": "string"
3411
- }
3412
- },
3413
- "required": [
3414
- "setupPageVersion"
3415
- ]
3416
3282
  }
3417
3283
  },
3418
3284
  "required": [
3419
3285
  "templateId",
3420
3286
  "title",
3421
- "recipients",
3422
- "generatePDF",
3423
- "uiConfig"
3287
+ "recipient",
3288
+ "generatePDF"
3424
3289
  ]
3425
3290
  },
3426
3291
  {
@@ -3441,16 +3306,7 @@
3441
3306
  },
3442
3307
  {
3443
3308
  "type": "object",
3444
- "properties": {
3445
- "uiConfig": {
3446
- "type": "object",
3447
- "properties": {
3448
- "setupPageVersion": {
3449
- "type": "string"
3450
- }
3451
- }
3452
- }
3453
- }
3309
+ "properties": {}
3454
3310
  }
3455
3311
  ]
3456
3312
  },
@@ -3655,13 +3511,19 @@
3655
3511
  {
3656
3512
  "type": "string",
3657
3513
  "enum": [
3658
- "pending"
3514
+ "initiated"
3659
3515
  ]
3660
3516
  },
3661
3517
  {
3662
3518
  "type": "string",
3663
3519
  "enum": [
3664
- "failed"
3520
+ "submitted"
3521
+ ]
3522
+ },
3523
+ {
3524
+ "type": "string",
3525
+ "enum": [
3526
+ "processing"
3665
3527
  ]
3666
3528
  },
3667
3529
  {
@@ -3669,6 +3531,12 @@
3669
3531
  "enum": [
3670
3532
  "completed"
3671
3533
  ]
3534
+ },
3535
+ {
3536
+ "type": "string",
3537
+ "enum": [
3538
+ "cancelled"
3539
+ ]
3672
3540
  }
3673
3541
  ]
3674
3542
  },
@@ -3844,13 +3712,19 @@
3844
3712
  {
3845
3713
  "type": "string",
3846
3714
  "enum": [
3847
- "pending"
3715
+ "initiated"
3848
3716
  ]
3849
3717
  },
3850
3718
  {
3851
3719
  "type": "string",
3852
3720
  "enum": [
3853
- "failed"
3721
+ "submitted"
3722
+ ]
3723
+ },
3724
+ {
3725
+ "type": "string",
3726
+ "enum": [
3727
+ "processing"
3854
3728
  ]
3855
3729
  },
3856
3730
  {
@@ -3858,6 +3732,12 @@
3858
3732
  "enum": [
3859
3733
  "completed"
3860
3734
  ]
3735
+ },
3736
+ {
3737
+ "type": "string",
3738
+ "enum": [
3739
+ "cancelled"
3740
+ ]
3861
3741
  }
3862
3742
  ]
3863
3743
  },
@@ -4196,13 +4076,19 @@
4196
4076
  {
4197
4077
  "type": "string",
4198
4078
  "enum": [
4199
- "pending"
4079
+ "initiated"
4200
4080
  ]
4201
4081
  },
4202
4082
  {
4203
4083
  "type": "string",
4204
4084
  "enum": [
4205
- "failed"
4085
+ "submitted"
4086
+ ]
4087
+ },
4088
+ {
4089
+ "type": "string",
4090
+ "enum": [
4091
+ "processing"
4206
4092
  ]
4207
4093
  },
4208
4094
  {
@@ -4210,6 +4096,12 @@
4210
4096
  "enum": [
4211
4097
  "completed"
4212
4098
  ]
4099
+ },
4100
+ {
4101
+ "type": "string",
4102
+ "enum": [
4103
+ "cancelled"
4104
+ ]
4213
4105
  }
4214
4106
  ]
4215
4107
  },
@@ -4385,13 +4277,19 @@
4385
4277
  {
4386
4278
  "type": "string",
4387
4279
  "enum": [
4388
- "pending"
4280
+ "initiated"
4281
+ ]
4282
+ },
4283
+ {
4284
+ "type": "string",
4285
+ "enum": [
4286
+ "submitted"
4389
4287
  ]
4390
4288
  },
4391
4289
  {
4392
4290
  "type": "string",
4393
4291
  "enum": [
4394
- "failed"
4292
+ "processing"
4395
4293
  ]
4396
4294
  },
4397
4295
  {
@@ -4399,6 +4297,12 @@
4399
4297
  "enum": [
4400
4298
  "completed"
4401
4299
  ]
4300
+ },
4301
+ {
4302
+ "type": "string",
4303
+ "enum": [
4304
+ "cancelled"
4305
+ ]
4402
4306
  }
4403
4307
  ]
4404
4308
  },
@@ -4701,6 +4605,267 @@
4701
4605
  }
4702
4606
  }
4703
4607
  }
4608
+ },
4609
+ "patch": {
4610
+ "tags": [
4611
+ "Executor"
4612
+ ],
4613
+ "requestBody": {
4614
+ "content": {
4615
+ "application/json": {
4616
+ "schema": {
4617
+ "type": "object",
4618
+ "properties": {
4619
+ "status": {
4620
+ "anyOf": [
4621
+ {
4622
+ "type": "string",
4623
+ "enum": [
4624
+ "initiated"
4625
+ ]
4626
+ },
4627
+ {
4628
+ "type": "string",
4629
+ "enum": [
4630
+ "submitted"
4631
+ ]
4632
+ },
4633
+ {
4634
+ "type": "string",
4635
+ "enum": [
4636
+ "processing"
4637
+ ]
4638
+ },
4639
+ {
4640
+ "type": "string",
4641
+ "enum": [
4642
+ "completed"
4643
+ ]
4644
+ },
4645
+ {
4646
+ "type": "string",
4647
+ "enum": [
4648
+ "cancelled"
4649
+ ]
4650
+ }
4651
+ ]
4652
+ }
4653
+ },
4654
+ "required": [
4655
+ "status"
4656
+ ]
4657
+ }
4658
+ }
4659
+ },
4660
+ "required": true
4661
+ },
4662
+ "parameters": [
4663
+ {
4664
+ "schema": {
4665
+ "type": "string"
4666
+ },
4667
+ "in": "path",
4668
+ "name": "runId",
4669
+ "required": true
4670
+ }
4671
+ ],
4672
+ "responses": {
4673
+ "200": {
4674
+ "description": "Default Response",
4675
+ "content": {
4676
+ "application/json": {
4677
+ "schema": {
4678
+ "type": "object",
4679
+ "properties": {
4680
+ "data": {
4681
+ "type": "object",
4682
+ "properties": {
4683
+ "status": {
4684
+ "anyOf": [
4685
+ {
4686
+ "type": "string",
4687
+ "enum": [
4688
+ "initiated"
4689
+ ]
4690
+ },
4691
+ {
4692
+ "type": "string",
4693
+ "enum": [
4694
+ "submitted"
4695
+ ]
4696
+ },
4697
+ {
4698
+ "type": "string",
4699
+ "enum": [
4700
+ "processing"
4701
+ ]
4702
+ },
4703
+ {
4704
+ "type": "string",
4705
+ "enum": [
4706
+ "completed"
4707
+ ]
4708
+ },
4709
+ {
4710
+ "type": "string",
4711
+ "enum": [
4712
+ "cancelled"
4713
+ ]
4714
+ }
4715
+ ]
4716
+ }
4717
+ },
4718
+ "required": [
4719
+ "status"
4720
+ ]
4721
+ },
4722
+ "metadata": {
4723
+ "type": "object",
4724
+ "properties": {
4725
+ "links": {
4726
+ "type": "object",
4727
+ "properties": {
4728
+ "self": {
4729
+ "type": "object",
4730
+ "properties": {
4731
+ "href": {
4732
+ "type": "string"
4733
+ }
4734
+ }
4735
+ },
4736
+ "next": {
4737
+ "type": "object",
4738
+ "properties": {
4739
+ "href": {
4740
+ "type": "string"
4741
+ }
4742
+ }
4743
+ },
4744
+ "prev": {
4745
+ "type": "object",
4746
+ "properties": {
4747
+ "href": {
4748
+ "type": "string"
4749
+ }
4750
+ }
4751
+ },
4752
+ "first": {
4753
+ "type": "object",
4754
+ "properties": {
4755
+ "href": {
4756
+ "type": "string"
4757
+ }
4758
+ }
4759
+ },
4760
+ "last": {
4761
+ "type": "object",
4762
+ "properties": {
4763
+ "href": {
4764
+ "type": "string"
4765
+ }
4766
+ }
4767
+ },
4768
+ "pages": {
4769
+ "type": "object",
4770
+ "additionalProperties": {
4771
+ "type": "object",
4772
+ "properties": {
4773
+ "href": {
4774
+ "type": "string"
4775
+ }
4776
+ }
4777
+ }
4778
+ }
4779
+ },
4780
+ "required": [
4781
+ "self",
4782
+ "first",
4783
+ "last",
4784
+ "pages"
4785
+ ]
4786
+ },
4787
+ "totalCount": {
4788
+ "type": "number"
4789
+ }
4790
+ }
4791
+ }
4792
+ },
4793
+ "required": [
4794
+ "data"
4795
+ ]
4796
+ }
4797
+ }
4798
+ }
4799
+ },
4800
+ "401": {
4801
+ "description": "Default Response",
4802
+ "content": {
4803
+ "application/json": {
4804
+ "schema": {
4805
+ "type": "object",
4806
+ "properties": {
4807
+ "code": {
4808
+ "type": "string"
4809
+ },
4810
+ "detail": {
4811
+ "type": "string"
4812
+ },
4813
+ "requestId": {
4814
+ "type": "string"
4815
+ },
4816
+ "name": {
4817
+ "type": "string"
4818
+ },
4819
+ "validation": {},
4820
+ "validationContext": {
4821
+ "type": "string"
4822
+ }
4823
+ },
4824
+ "required": [
4825
+ "code",
4826
+ "detail",
4827
+ "requestId",
4828
+ "name"
4829
+ ]
4830
+ }
4831
+ }
4832
+ }
4833
+ },
4834
+ "500": {
4835
+ "description": "Default Response",
4836
+ "content": {
4837
+ "application/json": {
4838
+ "schema": {
4839
+ "type": "object",
4840
+ "properties": {
4841
+ "code": {
4842
+ "type": "string"
4843
+ },
4844
+ "detail": {
4845
+ "type": "string"
4846
+ },
4847
+ "requestId": {
4848
+ "type": "string"
4849
+ },
4850
+ "name": {
4851
+ "type": "string"
4852
+ },
4853
+ "validation": {},
4854
+ "validationContext": {
4855
+ "type": "string"
4856
+ }
4857
+ },
4858
+ "required": [
4859
+ "code",
4860
+ "detail",
4861
+ "requestId",
4862
+ "name"
4863
+ ]
4864
+ }
4865
+ }
4866
+ }
4867
+ }
4868
+ }
4704
4869
  }
4705
4870
  },
4706
4871
  "/api/v1/executor/runs": {
@@ -4745,13 +4910,19 @@
4745
4910
  {
4746
4911
  "type": "string",
4747
4912
  "enum": [
4748
- "pending"
4913
+ "initiated"
4914
+ ]
4915
+ },
4916
+ {
4917
+ "type": "string",
4918
+ "enum": [
4919
+ "submitted"
4749
4920
  ]
4750
4921
  },
4751
4922
  {
4752
4923
  "type": "string",
4753
4924
  "enum": [
4754
- "failed"
4925
+ "processing"
4755
4926
  ]
4756
4927
  },
4757
4928
  {
@@ -4759,6 +4930,12 @@
4759
4930
  "enum": [
4760
4931
  "completed"
4761
4932
  ]
4933
+ },
4934
+ {
4935
+ "type": "string",
4936
+ "enum": [
4937
+ "cancelled"
4938
+ ]
4762
4939
  }
4763
4940
  ]
4764
4941
  },
@@ -4818,13 +4995,19 @@
4818
4995
  {
4819
4996
  "type": "string",
4820
4997
  "enum": [
4821
- "pending"
4998
+ "initiated"
4999
+ ]
5000
+ },
5001
+ {
5002
+ "type": "string",
5003
+ "enum": [
5004
+ "submitted"
4822
5005
  ]
4823
5006
  },
4824
5007
  {
4825
5008
  "type": "string",
4826
5009
  "enum": [
4827
- "failed"
5010
+ "processing"
4828
5011
  ]
4829
5012
  },
4830
5013
  {
@@ -4832,6 +5015,12 @@
4832
5015
  "enum": [
4833
5016
  "completed"
4834
5017
  ]
5018
+ },
5019
+ {
5020
+ "type": "string",
5021
+ "enum": [
5022
+ "cancelled"
5023
+ ]
4835
5024
  }
4836
5025
  ]
4837
5026
  },