losant_rest 1.17.3 → 1.17.4

Sign up to get free protection for your applications and to get access to all the features.
data/docs/_schemas.md CHANGED
@@ -20483,6 +20483,30 @@ Schema for a single Dashboard
20483
20483
  "organization"
20484
20484
  ]
20485
20485
  },
20486
+ "createdById": {
20487
+ "type": "string",
20488
+ "pattern": "^[A-Fa-f\\d]{24}$"
20489
+ },
20490
+ "createdByType": {
20491
+ "type": "string",
20492
+ "enum": [
20493
+ "flow",
20494
+ "user",
20495
+ "apiToken"
20496
+ ]
20497
+ },
20498
+ "lastUpdatedById": {
20499
+ "type": "string",
20500
+ "pattern": "^[A-Fa-f\\d]{24}$"
20501
+ },
20502
+ "lastUpdatedByType": {
20503
+ "type": "string",
20504
+ "enum": [
20505
+ "flow",
20506
+ "user",
20507
+ "apiToken"
20508
+ ]
20509
+ },
20486
20510
  "organizationName": {
20487
20511
  "type": "string",
20488
20512
  "minLength": 1,
@@ -39185,6 +39209,30 @@ Schema for a collection of Dashboards
39185
39209
  "organization"
39186
39210
  ]
39187
39211
  },
39212
+ "createdById": {
39213
+ "type": "string",
39214
+ "pattern": "^[A-Fa-f\\d]{24}$"
39215
+ },
39216
+ "createdByType": {
39217
+ "type": "string",
39218
+ "enum": [
39219
+ "flow",
39220
+ "user",
39221
+ "apiToken"
39222
+ ]
39223
+ },
39224
+ "lastUpdatedById": {
39225
+ "type": "string",
39226
+ "pattern": "^[A-Fa-f\\d]{24}$"
39227
+ },
39228
+ "lastUpdatedByType": {
39229
+ "type": "string",
39230
+ "enum": [
39231
+ "flow",
39232
+ "user",
39233
+ "apiToken"
39234
+ ]
39235
+ },
39188
39236
  "organizationName": {
39189
39237
  "type": "string",
39190
39238
  "minLength": 1,
@@ -59496,6 +59544,16 @@ Schema for a single deployment of an edge workflow to an edge device
59496
59544
  "minLength": 1,
59497
59545
  "maxLength": 255
59498
59546
  },
59547
+ "currentEtag": {
59548
+ "type": "string",
59549
+ "minLength": 1,
59550
+ "maxLength": 255
59551
+ },
59552
+ "desiredEtag": {
59553
+ "type": "string",
59554
+ "minLength": 1,
59555
+ "maxLength": 255
59556
+ },
59499
59557
  "logs": {
59500
59558
  "type": "array",
59501
59559
  "items": {
@@ -59550,6 +59608,21 @@ Schema for a single deployment of an edge workflow to an edge device
59550
59608
  "minLength": 1,
59551
59609
  "maxLength": 255
59552
59610
  },
59611
+ "newEtag": {
59612
+ "type": "string",
59613
+ "minLength": 1,
59614
+ "maxLength": 255
59615
+ },
59616
+ "previousEtag": {
59617
+ "type": "string",
59618
+ "minLength": 1,
59619
+ "maxLength": 255
59620
+ },
59621
+ "attemptedEtag": {
59622
+ "type": "string",
59623
+ "minLength": 1,
59624
+ "maxLength": 255
59625
+ },
59553
59626
  "error": {
59554
59627
  "type": "string"
59555
59628
  }
@@ -59844,6 +59917,16 @@ Schema for a collection of Edge Deployments
59844
59917
  "minLength": 1,
59845
59918
  "maxLength": 255
59846
59919
  },
59920
+ "currentEtag": {
59921
+ "type": "string",
59922
+ "minLength": 1,
59923
+ "maxLength": 255
59924
+ },
59925
+ "desiredEtag": {
59926
+ "type": "string",
59927
+ "minLength": 1,
59928
+ "maxLength": 255
59929
+ },
59847
59930
  "logs": {
59848
59931
  "type": "array",
59849
59932
  "items": {
@@ -59898,6 +59981,21 @@ Schema for a collection of Edge Deployments
59898
59981
  "minLength": 1,
59899
59982
  "maxLength": 255
59900
59983
  },
59984
+ "newEtag": {
59985
+ "type": "string",
59986
+ "minLength": 1,
59987
+ "maxLength": 255
59988
+ },
59989
+ "previousEtag": {
59990
+ "type": "string",
59991
+ "minLength": 1,
59992
+ "maxLength": 255
59993
+ },
59994
+ "attemptedEtag": {
59995
+ "type": "string",
59996
+ "minLength": 1,
59997
+ "maxLength": 255
59998
+ },
59901
59999
  "error": {
59902
60000
  "type": "string"
59903
60001
  }
@@ -66497,6 +66595,94 @@ The body of an experience linked resources response
66497
66595
  ],
66498
66596
  "additionalProperties": false
66499
66597
  },
66598
+ {
66599
+ "type": "object",
66600
+ "properties": {
66601
+ "key": {
66602
+ "type": "string",
66603
+ "maxLength": 1024
66604
+ },
66605
+ "type": {
66606
+ "type": "string",
66607
+ "enum": [
66608
+ "onSync"
66609
+ ]
66610
+ },
66611
+ "config": {
66612
+ "type": "object",
66613
+ "properties": {
66614
+ "syncTypes": {
66615
+ "type": "array",
66616
+ "maxItems": 3,
66617
+ "minItems": 1,
66618
+ "items": {
66619
+ "type": "string",
66620
+ "enum": [
66621
+ "application",
66622
+ "device",
66623
+ "peripheral"
66624
+ ]
66625
+ }
66626
+ }
66627
+ },
66628
+ "additionalProperties": false
66629
+ },
66630
+ "meta": {
66631
+ "type": "object",
66632
+ "properties": {
66633
+ "category": {
66634
+ "type": "string",
66635
+ "enum": [
66636
+ "trigger"
66637
+ ]
66638
+ },
66639
+ "name": {
66640
+ "type": "string",
66641
+ "enum": [
66642
+ "onSync"
66643
+ ]
66644
+ },
66645
+ "label": {
66646
+ "type": "string",
66647
+ "minLength": 1,
66648
+ "maxLength": 255
66649
+ },
66650
+ "x": {
66651
+ "type": "number"
66652
+ },
66653
+ "y": {
66654
+ "type": "number"
66655
+ },
66656
+ "uiId": {
66657
+ "type": "string",
66658
+ "maxLength": 48
66659
+ },
66660
+ "description": {
66661
+ "type": "string",
66662
+ "maxLength": 32767
66663
+ }
66664
+ },
66665
+ "additionalProperties": false
66666
+ },
66667
+ "outputIds": {
66668
+ "type": "array",
66669
+ "items": {
66670
+ "type": "array",
66671
+ "items": {
66672
+ "type": "string",
66673
+ "maxLength": 48,
66674
+ "minLength": 1
66675
+ },
66676
+ "maxItems": 100
66677
+ },
66678
+ "maxItems": 100
66679
+ }
66680
+ },
66681
+ "required": [
66682
+ "type"
66683
+ ],
66684
+ "additionalProperties": false
66685
+ },
66500
66686
  {
66501
66687
  "type": "object",
66502
66688
  "properties": {
@@ -69176,6 +69362,94 @@ The body of an experience linked resources response
69176
69362
  ],
69177
69363
  "additionalProperties": false
69178
69364
  },
69365
+ {
69366
+ "type": "object",
69367
+ "properties": {
69368
+ "key": {
69369
+ "type": "string",
69370
+ "maxLength": 1024
69371
+ },
69372
+ "type": {
69373
+ "type": "string",
69374
+ "enum": [
69375
+ "onSync"
69376
+ ]
69377
+ },
69378
+ "config": {
69379
+ "type": "object",
69380
+ "properties": {
69381
+ "syncTypes": {
69382
+ "type": "array",
69383
+ "maxItems": 3,
69384
+ "minItems": 1,
69385
+ "items": {
69386
+ "type": "string",
69387
+ "enum": [
69388
+ "application",
69389
+ "device",
69390
+ "peripheral"
69391
+ ]
69392
+ }
69393
+ }
69394
+ },
69395
+ "additionalProperties": false
69396
+ },
69397
+ "meta": {
69398
+ "type": "object",
69399
+ "properties": {
69400
+ "category": {
69401
+ "type": "string",
69402
+ "enum": [
69403
+ "trigger"
69404
+ ]
69405
+ },
69406
+ "name": {
69407
+ "type": "string",
69408
+ "enum": [
69409
+ "onSync"
69410
+ ]
69411
+ },
69412
+ "label": {
69413
+ "type": "string",
69414
+ "minLength": 1,
69415
+ "maxLength": 255
69416
+ },
69417
+ "x": {
69418
+ "type": "number"
69419
+ },
69420
+ "y": {
69421
+ "type": "number"
69422
+ },
69423
+ "uiId": {
69424
+ "type": "string",
69425
+ "maxLength": 48
69426
+ },
69427
+ "description": {
69428
+ "type": "string",
69429
+ "maxLength": 32767
69430
+ }
69431
+ },
69432
+ "additionalProperties": false
69433
+ },
69434
+ "outputIds": {
69435
+ "type": "array",
69436
+ "items": {
69437
+ "type": "array",
69438
+ "items": {
69439
+ "type": "string",
69440
+ "maxLength": 48,
69441
+ "minLength": 1
69442
+ },
69443
+ "maxItems": 100
69444
+ },
69445
+ "maxItems": 100
69446
+ }
69447
+ },
69448
+ "required": [
69449
+ "type"
69450
+ ],
69451
+ "additionalProperties": false
69452
+ },
69179
69453
  {
69180
69454
  "type": "object",
69181
69455
  "properties": {
@@ -71766,6 +72040,94 @@ The body of an experience linked resources response
71766
72040
  ],
71767
72041
  "additionalProperties": false
71768
72042
  },
72043
+ {
72044
+ "type": "object",
72045
+ "properties": {
72046
+ "key": {
72047
+ "type": "string",
72048
+ "maxLength": 1024
72049
+ },
72050
+ "type": {
72051
+ "type": "string",
72052
+ "enum": [
72053
+ "onSync"
72054
+ ]
72055
+ },
72056
+ "config": {
72057
+ "type": "object",
72058
+ "properties": {
72059
+ "syncTypes": {
72060
+ "type": "array",
72061
+ "maxItems": 3,
72062
+ "minItems": 1,
72063
+ "items": {
72064
+ "type": "string",
72065
+ "enum": [
72066
+ "application",
72067
+ "device",
72068
+ "peripheral"
72069
+ ]
72070
+ }
72071
+ }
72072
+ },
72073
+ "additionalProperties": false
72074
+ },
72075
+ "meta": {
72076
+ "type": "object",
72077
+ "properties": {
72078
+ "category": {
72079
+ "type": "string",
72080
+ "enum": [
72081
+ "trigger"
72082
+ ]
72083
+ },
72084
+ "name": {
72085
+ "type": "string",
72086
+ "enum": [
72087
+ "onSync"
72088
+ ]
72089
+ },
72090
+ "label": {
72091
+ "type": "string",
72092
+ "minLength": 1,
72093
+ "maxLength": 255
72094
+ },
72095
+ "x": {
72096
+ "type": "number"
72097
+ },
72098
+ "y": {
72099
+ "type": "number"
72100
+ },
72101
+ "uiId": {
72102
+ "type": "string",
72103
+ "maxLength": 48
72104
+ },
72105
+ "description": {
72106
+ "type": "string",
72107
+ "maxLength": 32767
72108
+ }
72109
+ },
72110
+ "additionalProperties": false
72111
+ },
72112
+ "outputIds": {
72113
+ "type": "array",
72114
+ "items": {
72115
+ "type": "array",
72116
+ "items": {
72117
+ "type": "string",
72118
+ "maxLength": 48,
72119
+ "minLength": 1
72120
+ },
72121
+ "maxItems": 100
72122
+ },
72123
+ "maxItems": 100
72124
+ }
72125
+ },
72126
+ "required": [
72127
+ "type"
72128
+ ],
72129
+ "additionalProperties": false
72130
+ },
71769
72131
  {
71770
72132
  "type": "object",
71771
72133
  "properties": {
@@ -76493,6 +76855,94 @@ Schema for a single Workflow
76493
76855
  ],
76494
76856
  "additionalProperties": false
76495
76857
  },
76858
+ {
76859
+ "type": "object",
76860
+ "properties": {
76861
+ "key": {
76862
+ "type": "string",
76863
+ "maxLength": 1024
76864
+ },
76865
+ "type": {
76866
+ "type": "string",
76867
+ "enum": [
76868
+ "onSync"
76869
+ ]
76870
+ },
76871
+ "config": {
76872
+ "type": "object",
76873
+ "properties": {
76874
+ "syncTypes": {
76875
+ "type": "array",
76876
+ "maxItems": 3,
76877
+ "minItems": 1,
76878
+ "items": {
76879
+ "type": "string",
76880
+ "enum": [
76881
+ "application",
76882
+ "device",
76883
+ "peripheral"
76884
+ ]
76885
+ }
76886
+ }
76887
+ },
76888
+ "additionalProperties": false
76889
+ },
76890
+ "meta": {
76891
+ "type": "object",
76892
+ "properties": {
76893
+ "category": {
76894
+ "type": "string",
76895
+ "enum": [
76896
+ "trigger"
76897
+ ]
76898
+ },
76899
+ "name": {
76900
+ "type": "string",
76901
+ "enum": [
76902
+ "onSync"
76903
+ ]
76904
+ },
76905
+ "label": {
76906
+ "type": "string",
76907
+ "minLength": 1,
76908
+ "maxLength": 255
76909
+ },
76910
+ "x": {
76911
+ "type": "number"
76912
+ },
76913
+ "y": {
76914
+ "type": "number"
76915
+ },
76916
+ "uiId": {
76917
+ "type": "string",
76918
+ "maxLength": 48
76919
+ },
76920
+ "description": {
76921
+ "type": "string",
76922
+ "maxLength": 32767
76923
+ }
76924
+ },
76925
+ "additionalProperties": false
76926
+ },
76927
+ "outputIds": {
76928
+ "type": "array",
76929
+ "items": {
76930
+ "type": "array",
76931
+ "items": {
76932
+ "type": "string",
76933
+ "maxLength": 48,
76934
+ "minLength": 1
76935
+ },
76936
+ "maxItems": 100
76937
+ },
76938
+ "maxItems": 100
76939
+ }
76940
+ },
76941
+ "required": [
76942
+ "type"
76943
+ ],
76944
+ "additionalProperties": false
76945
+ },
76496
76946
  {
76497
76947
  "type": "object",
76498
76948
  "properties": {
@@ -79315,6 +79765,94 @@ Schema for the body of a Workflow modification request
79315
79765
  ],
79316
79766
  "additionalProperties": false
79317
79767
  },
79768
+ {
79769
+ "type": "object",
79770
+ "properties": {
79771
+ "key": {
79772
+ "type": "string",
79773
+ "maxLength": 1024
79774
+ },
79775
+ "type": {
79776
+ "type": "string",
79777
+ "enum": [
79778
+ "onSync"
79779
+ ]
79780
+ },
79781
+ "config": {
79782
+ "type": "object",
79783
+ "properties": {
79784
+ "syncTypes": {
79785
+ "type": "array",
79786
+ "maxItems": 3,
79787
+ "minItems": 1,
79788
+ "items": {
79789
+ "type": "string",
79790
+ "enum": [
79791
+ "application",
79792
+ "device",
79793
+ "peripheral"
79794
+ ]
79795
+ }
79796
+ }
79797
+ },
79798
+ "additionalProperties": false
79799
+ },
79800
+ "meta": {
79801
+ "type": "object",
79802
+ "properties": {
79803
+ "category": {
79804
+ "type": "string",
79805
+ "enum": [
79806
+ "trigger"
79807
+ ]
79808
+ },
79809
+ "name": {
79810
+ "type": "string",
79811
+ "enum": [
79812
+ "onSync"
79813
+ ]
79814
+ },
79815
+ "label": {
79816
+ "type": "string",
79817
+ "minLength": 1,
79818
+ "maxLength": 255
79819
+ },
79820
+ "x": {
79821
+ "type": "number"
79822
+ },
79823
+ "y": {
79824
+ "type": "number"
79825
+ },
79826
+ "uiId": {
79827
+ "type": "string",
79828
+ "maxLength": 48
79829
+ },
79830
+ "description": {
79831
+ "type": "string",
79832
+ "maxLength": 32767
79833
+ }
79834
+ },
79835
+ "additionalProperties": false
79836
+ },
79837
+ "outputIds": {
79838
+ "type": "array",
79839
+ "items": {
79840
+ "type": "array",
79841
+ "items": {
79842
+ "type": "string",
79843
+ "maxLength": 48,
79844
+ "minLength": 1
79845
+ },
79846
+ "maxItems": 100
79847
+ },
79848
+ "maxItems": 100
79849
+ }
79850
+ },
79851
+ "required": [
79852
+ "type"
79853
+ ],
79854
+ "additionalProperties": false
79855
+ },
79318
79856
  {
79319
79857
  "type": "object",
79320
79858
  "properties": {
@@ -81892,6 +82430,94 @@ Schema for the body of a Workflow creation request
81892
82430
  ],
81893
82431
  "additionalProperties": false
81894
82432
  },
82433
+ {
82434
+ "type": "object",
82435
+ "properties": {
82436
+ "key": {
82437
+ "type": "string",
82438
+ "maxLength": 1024
82439
+ },
82440
+ "type": {
82441
+ "type": "string",
82442
+ "enum": [
82443
+ "onSync"
82444
+ ]
82445
+ },
82446
+ "config": {
82447
+ "type": "object",
82448
+ "properties": {
82449
+ "syncTypes": {
82450
+ "type": "array",
82451
+ "maxItems": 3,
82452
+ "minItems": 1,
82453
+ "items": {
82454
+ "type": "string",
82455
+ "enum": [
82456
+ "application",
82457
+ "device",
82458
+ "peripheral"
82459
+ ]
82460
+ }
82461
+ }
82462
+ },
82463
+ "additionalProperties": false
82464
+ },
82465
+ "meta": {
82466
+ "type": "object",
82467
+ "properties": {
82468
+ "category": {
82469
+ "type": "string",
82470
+ "enum": [
82471
+ "trigger"
82472
+ ]
82473
+ },
82474
+ "name": {
82475
+ "type": "string",
82476
+ "enum": [
82477
+ "onSync"
82478
+ ]
82479
+ },
82480
+ "label": {
82481
+ "type": "string",
82482
+ "minLength": 1,
82483
+ "maxLength": 255
82484
+ },
82485
+ "x": {
82486
+ "type": "number"
82487
+ },
82488
+ "y": {
82489
+ "type": "number"
82490
+ },
82491
+ "uiId": {
82492
+ "type": "string",
82493
+ "maxLength": 48
82494
+ },
82495
+ "description": {
82496
+ "type": "string",
82497
+ "maxLength": 32767
82498
+ }
82499
+ },
82500
+ "additionalProperties": false
82501
+ },
82502
+ "outputIds": {
82503
+ "type": "array",
82504
+ "items": {
82505
+ "type": "array",
82506
+ "items": {
82507
+ "type": "string",
82508
+ "maxLength": 48,
82509
+ "minLength": 1
82510
+ },
82511
+ "maxItems": 100
82512
+ },
82513
+ "maxItems": 100
82514
+ }
82515
+ },
82516
+ "required": [
82517
+ "type"
82518
+ ],
82519
+ "additionalProperties": false
82520
+ },
81895
82521
  {
81896
82522
  "type": "object",
81897
82523
  "properties": {
@@ -84739,6 +85365,94 @@ Schema for a single Workflow Version
84739
85365
  ],
84740
85366
  "additionalProperties": false
84741
85367
  },
85368
+ {
85369
+ "type": "object",
85370
+ "properties": {
85371
+ "key": {
85372
+ "type": "string",
85373
+ "maxLength": 1024
85374
+ },
85375
+ "type": {
85376
+ "type": "string",
85377
+ "enum": [
85378
+ "onSync"
85379
+ ]
85380
+ },
85381
+ "config": {
85382
+ "type": "object",
85383
+ "properties": {
85384
+ "syncTypes": {
85385
+ "type": "array",
85386
+ "maxItems": 3,
85387
+ "minItems": 1,
85388
+ "items": {
85389
+ "type": "string",
85390
+ "enum": [
85391
+ "application",
85392
+ "device",
85393
+ "peripheral"
85394
+ ]
85395
+ }
85396
+ }
85397
+ },
85398
+ "additionalProperties": false
85399
+ },
85400
+ "meta": {
85401
+ "type": "object",
85402
+ "properties": {
85403
+ "category": {
85404
+ "type": "string",
85405
+ "enum": [
85406
+ "trigger"
85407
+ ]
85408
+ },
85409
+ "name": {
85410
+ "type": "string",
85411
+ "enum": [
85412
+ "onSync"
85413
+ ]
85414
+ },
85415
+ "label": {
85416
+ "type": "string",
85417
+ "minLength": 1,
85418
+ "maxLength": 255
85419
+ },
85420
+ "x": {
85421
+ "type": "number"
85422
+ },
85423
+ "y": {
85424
+ "type": "number"
85425
+ },
85426
+ "uiId": {
85427
+ "type": "string",
85428
+ "maxLength": 48
85429
+ },
85430
+ "description": {
85431
+ "type": "string",
85432
+ "maxLength": 32767
85433
+ }
85434
+ },
85435
+ "additionalProperties": false
85436
+ },
85437
+ "outputIds": {
85438
+ "type": "array",
85439
+ "items": {
85440
+ "type": "array",
85441
+ "items": {
85442
+ "type": "string",
85443
+ "maxLength": 48,
85444
+ "minLength": 1
85445
+ },
85446
+ "maxItems": 100
85447
+ },
85448
+ "maxItems": 100
85449
+ }
85450
+ },
85451
+ "required": [
85452
+ "type"
85453
+ ],
85454
+ "additionalProperties": false
85455
+ },
84742
85456
  {
84743
85457
  "type": "object",
84744
85458
  "properties": {
@@ -86519,17 +87233,109 @@ Schema for a single Workflow Version
86519
87233
  "type": {
86520
87234
  "type": "string",
86521
87235
  "enum": [
86522
- "deviceIdInactivity",
86523
- "deviceTagInactivity"
87236
+ "deviceIdInactivity",
87237
+ "deviceTagInactivity"
87238
+ ]
87239
+ },
87240
+ "config": {
87241
+ "type": "object",
87242
+ "properties": {
87243
+ "seconds": {
87244
+ "type": "number"
87245
+ }
87246
+ },
87247
+ "additionalProperties": false
87248
+ },
87249
+ "meta": {
87250
+ "type": "object",
87251
+ "properties": {
87252
+ "category": {
87253
+ "type": "string",
87254
+ "enum": [
87255
+ "trigger"
87256
+ ]
87257
+ },
87258
+ "name": {
87259
+ "type": "string",
87260
+ "enum": [
87261
+ "deviceIdsTagsInactivity"
87262
+ ]
87263
+ },
87264
+ "label": {
87265
+ "type": "string",
87266
+ "minLength": 1,
87267
+ "maxLength": 255
87268
+ },
87269
+ "x": {
87270
+ "type": "number"
87271
+ },
87272
+ "y": {
87273
+ "type": "number"
87274
+ },
87275
+ "uiId": {
87276
+ "type": "string",
87277
+ "maxLength": 48
87278
+ },
87279
+ "description": {
87280
+ "type": "string",
87281
+ "maxLength": 32767
87282
+ },
87283
+ "icon": {
87284
+ "type": "string",
87285
+ "maxLength": 1024
87286
+ },
87287
+ "color": {
87288
+ "type": "string",
87289
+ "maxLength": 1024
87290
+ },
87291
+ "inputCount": {
87292
+ "type": "number"
87293
+ },
87294
+ "outputCount": {
87295
+ "type": "number"
87296
+ },
87297
+ "id": {
87298
+ "type": "string",
87299
+ "maxLength": 48
87300
+ }
87301
+ },
87302
+ "additionalProperties": false
87303
+ },
87304
+ "outputIds": {
87305
+ "type": "array",
87306
+ "items": {
87307
+ "type": "array",
87308
+ "items": {
87309
+ "type": "string",
87310
+ "maxLength": 48,
87311
+ "minLength": 1
87312
+ },
87313
+ "maxItems": 100
87314
+ },
87315
+ "maxItems": 100
87316
+ }
87317
+ },
87318
+ "required": [
87319
+ "type"
87320
+ ],
87321
+ "additionalProperties": false
87322
+ },
87323
+ {
87324
+ "type": "object",
87325
+ "properties": {
87326
+ "key": {
87327
+ "type": "string",
87328
+ "maxLength": 1024
87329
+ },
87330
+ "type": {
87331
+ "type": "string",
87332
+ "enum": [
87333
+ "direct"
86524
87334
  ]
86525
87335
  },
86526
87336
  "config": {
86527
87337
  "type": "object",
86528
- "properties": {
86529
- "seconds": {
86530
- "type": "number"
86531
- }
86532
- },
87338
+ "properties": {},
86533
87339
  "additionalProperties": false
86534
87340
  },
86535
87341
  "meta": {
@@ -86544,7 +87350,7 @@ Schema for a single Workflow Version
86544
87350
  "name": {
86545
87351
  "type": "string",
86546
87352
  "enum": [
86547
- "deviceIdsTagsInactivity"
87353
+ "direct"
86548
87354
  ]
86549
87355
  },
86550
87356
  "label": {
@@ -86616,12 +87422,18 @@ Schema for a single Workflow Version
86616
87422
  "type": {
86617
87423
  "type": "string",
86618
87424
  "enum": [
86619
- "direct"
87425
+ "endpoint"
86620
87426
  ]
86621
87427
  },
86622
87428
  "config": {
86623
87429
  "type": "object",
86624
- "properties": {},
87430
+ "properties": {
87431
+ "experienceVersion": {
87432
+ "type": "string",
87433
+ "minLength": 1,
87434
+ "maxLength": 255
87435
+ }
87436
+ },
86625
87437
  "additionalProperties": false
86626
87438
  },
86627
87439
  "meta": {
@@ -86636,7 +87448,7 @@ Schema for a single Workflow Version
86636
87448
  "name": {
86637
87449
  "type": "string",
86638
87450
  "enum": [
86639
- "direct"
87451
+ "endpoint"
86640
87452
  ]
86641
87453
  },
86642
87454
  "label": {
@@ -86708,16 +87520,24 @@ Schema for a single Workflow Version
86708
87520
  "type": {
86709
87521
  "type": "string",
86710
87522
  "enum": [
86711
- "endpoint"
87523
+ "event"
86712
87524
  ]
86713
87525
  },
86714
87526
  "config": {
86715
87527
  "type": "object",
86716
87528
  "properties": {
86717
- "experienceVersion": {
87529
+ "subject": {
86718
87530
  "type": "string",
86719
- "minLength": 1,
86720
87531
  "maxLength": 255
87532
+ },
87533
+ "new": {
87534
+ "type": "boolean"
87535
+ },
87536
+ "acknowledged": {
87537
+ "type": "boolean"
87538
+ },
87539
+ "resolved": {
87540
+ "type": "boolean"
86721
87541
  }
86722
87542
  },
86723
87543
  "additionalProperties": false
@@ -86734,7 +87554,7 @@ Schema for a single Workflow Version
86734
87554
  "name": {
86735
87555
  "type": "string",
86736
87556
  "enum": [
86737
- "endpoint"
87557
+ "event"
86738
87558
  ]
86739
87559
  },
86740
87560
  "label": {
@@ -86806,24 +87626,27 @@ Schema for a single Workflow Version
86806
87626
  "type": {
86807
87627
  "type": "string",
86808
87628
  "enum": [
86809
- "event"
87629
+ "fileTail"
86810
87630
  ]
86811
87631
  },
86812
87632
  "config": {
86813
87633
  "type": "object",
86814
87634
  "properties": {
86815
- "subject": {
87635
+ "path": {
86816
87636
  "type": "string",
86817
- "maxLength": 255
87637
+ "maxLength": 1024
86818
87638
  },
86819
- "new": {
86820
- "type": "boolean"
87639
+ "encoding": {
87640
+ "type": "string",
87641
+ "maxLength": 48
86821
87642
  },
86822
- "acknowledged": {
86823
- "type": "boolean"
87643
+ "byteLength": {
87644
+ "type": "string",
87645
+ "maxLength": 48
86824
87646
  },
86825
- "resolved": {
86826
- "type": "boolean"
87647
+ "delimiter": {
87648
+ "type": "string",
87649
+ "maxLength": 48
86827
87650
  }
86828
87651
  },
86829
87652
  "additionalProperties": false
@@ -86840,7 +87663,7 @@ Schema for a single Workflow Version
86840
87663
  "name": {
86841
87664
  "type": "string",
86842
87665
  "enum": [
86843
- "event"
87666
+ "fileTail"
86844
87667
  ]
86845
87668
  },
86846
87669
  "label": {
@@ -86912,7 +87735,7 @@ Schema for a single Workflow Version
86912
87735
  "type": {
86913
87736
  "type": "string",
86914
87737
  "enum": [
86915
- "fileTail"
87738
+ "fileWatch"
86916
87739
  ]
86917
87740
  },
86918
87741
  "config": {
@@ -86922,17 +87745,20 @@ Schema for a single Workflow Version
86922
87745
  "type": "string",
86923
87746
  "maxLength": 1024
86924
87747
  },
86925
- "encoding": {
86926
- "type": "string",
86927
- "maxLength": 48
87748
+ "fileAdded": {
87749
+ "type": "boolean"
86928
87750
  },
86929
- "byteLength": {
86930
- "type": "string",
86931
- "maxLength": 48
87751
+ "fileChanged": {
87752
+ "type": "boolean"
86932
87753
  },
86933
- "delimiter": {
86934
- "type": "string",
86935
- "maxLength": 48
87754
+ "fileRemoved": {
87755
+ "type": "boolean"
87756
+ },
87757
+ "directoryAdded": {
87758
+ "type": "boolean"
87759
+ },
87760
+ "directoryRemoved": {
87761
+ "type": "boolean"
86936
87762
  }
86937
87763
  },
86938
87764
  "additionalProperties": false
@@ -86949,7 +87775,7 @@ Schema for a single Workflow Version
86949
87775
  "name": {
86950
87776
  "type": "string",
86951
87777
  "enum": [
86952
- "fileTail"
87778
+ "fileWatch"
86953
87779
  ]
86954
87780
  },
86955
87781
  "label": {
@@ -87021,30 +87847,20 @@ Schema for a single Workflow Version
87021
87847
  "type": {
87022
87848
  "type": "string",
87023
87849
  "enum": [
87024
- "fileWatch"
87850
+ "flowError"
87025
87851
  ]
87026
87852
  },
87027
87853
  "config": {
87028
87854
  "type": "object",
87029
87855
  "properties": {
87030
- "path": {
87856
+ "scope": {
87031
87857
  "type": "string",
87032
- "maxLength": 1024
87033
- },
87034
- "fileAdded": {
87035
- "type": "boolean"
87036
- },
87037
- "fileChanged": {
87038
- "type": "boolean"
87039
- },
87040
- "fileRemoved": {
87041
- "type": "boolean"
87042
- },
87043
- "directoryAdded": {
87044
- "type": "boolean"
87045
- },
87046
- "directoryRemoved": {
87047
- "type": "boolean"
87858
+ "enum": [
87859
+ "local",
87860
+ "global",
87861
+ "experience",
87862
+ "cloud"
87863
+ ]
87048
87864
  }
87049
87865
  },
87050
87866
  "additionalProperties": false
@@ -87061,7 +87877,7 @@ Schema for a single Workflow Version
87061
87877
  "name": {
87062
87878
  "type": "string",
87063
87879
  "enum": [
87064
- "fileWatch"
87880
+ "flowError"
87065
87881
  ]
87066
87882
  },
87067
87883
  "label": {
@@ -87133,19 +87949,17 @@ Schema for a single Workflow Version
87133
87949
  "type": {
87134
87950
  "type": "string",
87135
87951
  "enum": [
87136
- "flowError"
87952
+ "mqttTopic"
87137
87953
  ]
87138
87954
  },
87139
87955
  "config": {
87140
87956
  "type": "object",
87141
87957
  "properties": {
87142
- "scope": {
87958
+ "integrationId": {
87143
87959
  "type": "string",
87144
87960
  "enum": [
87145
- "local",
87146
- "global",
87147
- "experience",
87148
- "cloud"
87961
+ "losant",
87962
+ "local"
87149
87963
  ]
87150
87964
  }
87151
87965
  },
@@ -87163,7 +87977,7 @@ Schema for a single Workflow Version
87163
87977
  "name": {
87164
87978
  "type": "string",
87165
87979
  "enum": [
87166
- "flowError"
87980
+ "mqtt"
87167
87981
  ]
87168
87982
  },
87169
87983
  "label": {
@@ -87199,6 +88013,10 @@ Schema for a single Workflow Version
87199
88013
  "outputCount": {
87200
88014
  "type": "number"
87201
88015
  },
88016
+ "triggerId": {
88017
+ "type": "string",
88018
+ "maxLength": 48
88019
+ },
87202
88020
  "id": {
87203
88021
  "type": "string",
87204
88022
  "maxLength": 48
@@ -87235,18 +88053,24 @@ Schema for a single Workflow Version
87235
88053
  "type": {
87236
88054
  "type": "string",
87237
88055
  "enum": [
87238
- "mqttTopic"
88056
+ "onSync"
87239
88057
  ]
87240
88058
  },
87241
88059
  "config": {
87242
88060
  "type": "object",
87243
88061
  "properties": {
87244
- "integrationId": {
87245
- "type": "string",
87246
- "enum": [
87247
- "losant",
87248
- "local"
87249
- ]
88062
+ "syncTypes": {
88063
+ "type": "array",
88064
+ "maxItems": 3,
88065
+ "minItems": 1,
88066
+ "items": {
88067
+ "type": "string",
88068
+ "enum": [
88069
+ "application",
88070
+ "device",
88071
+ "peripheral"
88072
+ ]
88073
+ }
87250
88074
  }
87251
88075
  },
87252
88076
  "additionalProperties": false
@@ -87263,7 +88087,7 @@ Schema for a single Workflow Version
87263
88087
  "name": {
87264
88088
  "type": "string",
87265
88089
  "enum": [
87266
- "mqtt"
88090
+ "onSync"
87267
88091
  ]
87268
88092
  },
87269
88093
  "label": {
@@ -87284,28 +88108,6 @@ Schema for a single Workflow Version
87284
88108
  "description": {
87285
88109
  "type": "string",
87286
88110
  "maxLength": 32767
87287
- },
87288
- "icon": {
87289
- "type": "string",
87290
- "maxLength": 1024
87291
- },
87292
- "color": {
87293
- "type": "string",
87294
- "maxLength": 1024
87295
- },
87296
- "inputCount": {
87297
- "type": "number"
87298
- },
87299
- "outputCount": {
87300
- "type": "number"
87301
- },
87302
- "triggerId": {
87303
- "type": "string",
87304
- "maxLength": 48
87305
- },
87306
- "id": {
87307
- "type": "string",
87308
- "maxLength": 48
87309
88111
  }
87310
88112
  },
87311
88113
  "additionalProperties": false
@@ -88917,12 +89719,110 @@ Schema for the body of a Workflow Version creation request
88917
89719
  "type": {
88918
89720
  "type": "string",
88919
89721
  "enum": [
88920
- "direct"
89722
+ "direct"
89723
+ ]
89724
+ },
89725
+ "config": {
89726
+ "type": "object",
89727
+ "properties": {},
89728
+ "additionalProperties": false
89729
+ },
89730
+ "meta": {
89731
+ "type": "object",
89732
+ "properties": {
89733
+ "category": {
89734
+ "type": "string",
89735
+ "enum": [
89736
+ "trigger"
89737
+ ]
89738
+ },
89739
+ "name": {
89740
+ "type": "string",
89741
+ "enum": [
89742
+ "direct"
89743
+ ]
89744
+ },
89745
+ "label": {
89746
+ "type": "string",
89747
+ "minLength": 1,
89748
+ "maxLength": 255
89749
+ },
89750
+ "x": {
89751
+ "type": "number"
89752
+ },
89753
+ "y": {
89754
+ "type": "number"
89755
+ },
89756
+ "uiId": {
89757
+ "type": "string",
89758
+ "maxLength": 48
89759
+ },
89760
+ "description": {
89761
+ "type": "string",
89762
+ "maxLength": 32767
89763
+ },
89764
+ "icon": {
89765
+ "type": "string",
89766
+ "maxLength": 1024
89767
+ },
89768
+ "color": {
89769
+ "type": "string",
89770
+ "maxLength": 1024
89771
+ },
89772
+ "inputCount": {
89773
+ "type": "number"
89774
+ },
89775
+ "outputCount": {
89776
+ "type": "number"
89777
+ },
89778
+ "id": {
89779
+ "type": "string",
89780
+ "maxLength": 48
89781
+ }
89782
+ },
89783
+ "additionalProperties": false
89784
+ },
89785
+ "outputIds": {
89786
+ "type": "array",
89787
+ "items": {
89788
+ "type": "array",
89789
+ "items": {
89790
+ "type": "string",
89791
+ "maxLength": 48,
89792
+ "minLength": 1
89793
+ },
89794
+ "maxItems": 100
89795
+ },
89796
+ "maxItems": 100
89797
+ }
89798
+ },
89799
+ "required": [
89800
+ "type"
89801
+ ],
89802
+ "additionalProperties": false
89803
+ },
89804
+ {
89805
+ "type": "object",
89806
+ "properties": {
89807
+ "key": {
89808
+ "type": "string",
89809
+ "maxLength": 1024
89810
+ },
89811
+ "type": {
89812
+ "type": "string",
89813
+ "enum": [
89814
+ "endpoint"
88921
89815
  ]
88922
89816
  },
88923
89817
  "config": {
88924
89818
  "type": "object",
88925
- "properties": {},
89819
+ "properties": {
89820
+ "experienceVersion": {
89821
+ "type": "string",
89822
+ "minLength": 1,
89823
+ "maxLength": 255
89824
+ }
89825
+ },
88926
89826
  "additionalProperties": false
88927
89827
  },
88928
89828
  "meta": {
@@ -88937,7 +89837,7 @@ Schema for the body of a Workflow Version creation request
88937
89837
  "name": {
88938
89838
  "type": "string",
88939
89839
  "enum": [
88940
- "direct"
89840
+ "endpoint"
88941
89841
  ]
88942
89842
  },
88943
89843
  "label": {
@@ -89009,16 +89909,24 @@ Schema for the body of a Workflow Version creation request
89009
89909
  "type": {
89010
89910
  "type": "string",
89011
89911
  "enum": [
89012
- "endpoint"
89912
+ "event"
89013
89913
  ]
89014
89914
  },
89015
89915
  "config": {
89016
89916
  "type": "object",
89017
89917
  "properties": {
89018
- "experienceVersion": {
89918
+ "subject": {
89019
89919
  "type": "string",
89020
- "minLength": 1,
89021
89920
  "maxLength": 255
89921
+ },
89922
+ "new": {
89923
+ "type": "boolean"
89924
+ },
89925
+ "acknowledged": {
89926
+ "type": "boolean"
89927
+ },
89928
+ "resolved": {
89929
+ "type": "boolean"
89022
89930
  }
89023
89931
  },
89024
89932
  "additionalProperties": false
@@ -89035,7 +89943,7 @@ Schema for the body of a Workflow Version creation request
89035
89943
  "name": {
89036
89944
  "type": "string",
89037
89945
  "enum": [
89038
- "endpoint"
89946
+ "event"
89039
89947
  ]
89040
89948
  },
89041
89949
  "label": {
@@ -89107,24 +90015,27 @@ Schema for the body of a Workflow Version creation request
89107
90015
  "type": {
89108
90016
  "type": "string",
89109
90017
  "enum": [
89110
- "event"
90018
+ "fileTail"
89111
90019
  ]
89112
90020
  },
89113
90021
  "config": {
89114
90022
  "type": "object",
89115
90023
  "properties": {
89116
- "subject": {
90024
+ "path": {
89117
90025
  "type": "string",
89118
- "maxLength": 255
90026
+ "maxLength": 1024
89119
90027
  },
89120
- "new": {
89121
- "type": "boolean"
90028
+ "encoding": {
90029
+ "type": "string",
90030
+ "maxLength": 48
89122
90031
  },
89123
- "acknowledged": {
89124
- "type": "boolean"
90032
+ "byteLength": {
90033
+ "type": "string",
90034
+ "maxLength": 48
89125
90035
  },
89126
- "resolved": {
89127
- "type": "boolean"
90036
+ "delimiter": {
90037
+ "type": "string",
90038
+ "maxLength": 48
89128
90039
  }
89129
90040
  },
89130
90041
  "additionalProperties": false
@@ -89141,7 +90052,7 @@ Schema for the body of a Workflow Version creation request
89141
90052
  "name": {
89142
90053
  "type": "string",
89143
90054
  "enum": [
89144
- "event"
90055
+ "fileTail"
89145
90056
  ]
89146
90057
  },
89147
90058
  "label": {
@@ -89213,7 +90124,7 @@ Schema for the body of a Workflow Version creation request
89213
90124
  "type": {
89214
90125
  "type": "string",
89215
90126
  "enum": [
89216
- "fileTail"
90127
+ "fileWatch"
89217
90128
  ]
89218
90129
  },
89219
90130
  "config": {
@@ -89223,17 +90134,20 @@ Schema for the body of a Workflow Version creation request
89223
90134
  "type": "string",
89224
90135
  "maxLength": 1024
89225
90136
  },
89226
- "encoding": {
89227
- "type": "string",
89228
- "maxLength": 48
90137
+ "fileAdded": {
90138
+ "type": "boolean"
89229
90139
  },
89230
- "byteLength": {
89231
- "type": "string",
89232
- "maxLength": 48
90140
+ "fileChanged": {
90141
+ "type": "boolean"
89233
90142
  },
89234
- "delimiter": {
89235
- "type": "string",
89236
- "maxLength": 48
90143
+ "fileRemoved": {
90144
+ "type": "boolean"
90145
+ },
90146
+ "directoryAdded": {
90147
+ "type": "boolean"
90148
+ },
90149
+ "directoryRemoved": {
90150
+ "type": "boolean"
89237
90151
  }
89238
90152
  },
89239
90153
  "additionalProperties": false
@@ -89250,7 +90164,7 @@ Schema for the body of a Workflow Version creation request
89250
90164
  "name": {
89251
90165
  "type": "string",
89252
90166
  "enum": [
89253
- "fileTail"
90167
+ "fileWatch"
89254
90168
  ]
89255
90169
  },
89256
90170
  "label": {
@@ -89322,30 +90236,20 @@ Schema for the body of a Workflow Version creation request
89322
90236
  "type": {
89323
90237
  "type": "string",
89324
90238
  "enum": [
89325
- "fileWatch"
90239
+ "flowError"
89326
90240
  ]
89327
90241
  },
89328
90242
  "config": {
89329
90243
  "type": "object",
89330
90244
  "properties": {
89331
- "path": {
90245
+ "scope": {
89332
90246
  "type": "string",
89333
- "maxLength": 1024
89334
- },
89335
- "fileAdded": {
89336
- "type": "boolean"
89337
- },
89338
- "fileChanged": {
89339
- "type": "boolean"
89340
- },
89341
- "fileRemoved": {
89342
- "type": "boolean"
89343
- },
89344
- "directoryAdded": {
89345
- "type": "boolean"
89346
- },
89347
- "directoryRemoved": {
89348
- "type": "boolean"
90247
+ "enum": [
90248
+ "local",
90249
+ "global",
90250
+ "experience",
90251
+ "cloud"
90252
+ ]
89349
90253
  }
89350
90254
  },
89351
90255
  "additionalProperties": false
@@ -89362,7 +90266,7 @@ Schema for the body of a Workflow Version creation request
89362
90266
  "name": {
89363
90267
  "type": "string",
89364
90268
  "enum": [
89365
- "fileWatch"
90269
+ "flowError"
89366
90270
  ]
89367
90271
  },
89368
90272
  "label": {
@@ -89434,19 +90338,17 @@ Schema for the body of a Workflow Version creation request
89434
90338
  "type": {
89435
90339
  "type": "string",
89436
90340
  "enum": [
89437
- "flowError"
90341
+ "mqttTopic"
89438
90342
  ]
89439
90343
  },
89440
90344
  "config": {
89441
90345
  "type": "object",
89442
90346
  "properties": {
89443
- "scope": {
90347
+ "integrationId": {
89444
90348
  "type": "string",
89445
90349
  "enum": [
89446
- "local",
89447
- "global",
89448
- "experience",
89449
- "cloud"
90350
+ "losant",
90351
+ "local"
89450
90352
  ]
89451
90353
  }
89452
90354
  },
@@ -89464,7 +90366,7 @@ Schema for the body of a Workflow Version creation request
89464
90366
  "name": {
89465
90367
  "type": "string",
89466
90368
  "enum": [
89467
- "flowError"
90369
+ "mqtt"
89468
90370
  ]
89469
90371
  },
89470
90372
  "label": {
@@ -89500,6 +90402,10 @@ Schema for the body of a Workflow Version creation request
89500
90402
  "outputCount": {
89501
90403
  "type": "number"
89502
90404
  },
90405
+ "triggerId": {
90406
+ "type": "string",
90407
+ "maxLength": 48
90408
+ },
89503
90409
  "id": {
89504
90410
  "type": "string",
89505
90411
  "maxLength": 48
@@ -89536,18 +90442,24 @@ Schema for the body of a Workflow Version creation request
89536
90442
  "type": {
89537
90443
  "type": "string",
89538
90444
  "enum": [
89539
- "mqttTopic"
90445
+ "onSync"
89540
90446
  ]
89541
90447
  },
89542
90448
  "config": {
89543
90449
  "type": "object",
89544
90450
  "properties": {
89545
- "integrationId": {
89546
- "type": "string",
89547
- "enum": [
89548
- "losant",
89549
- "local"
89550
- ]
90451
+ "syncTypes": {
90452
+ "type": "array",
90453
+ "maxItems": 3,
90454
+ "minItems": 1,
90455
+ "items": {
90456
+ "type": "string",
90457
+ "enum": [
90458
+ "application",
90459
+ "device",
90460
+ "peripheral"
90461
+ ]
90462
+ }
89551
90463
  }
89552
90464
  },
89553
90465
  "additionalProperties": false
@@ -89564,7 +90476,7 @@ Schema for the body of a Workflow Version creation request
89564
90476
  "name": {
89565
90477
  "type": "string",
89566
90478
  "enum": [
89567
- "mqtt"
90479
+ "onSync"
89568
90480
  ]
89569
90481
  },
89570
90482
  "label": {
@@ -89585,28 +90497,6 @@ Schema for the body of a Workflow Version creation request
89585
90497
  "description": {
89586
90498
  "type": "string",
89587
90499
  "maxLength": 32767
89588
- },
89589
- "icon": {
89590
- "type": "string",
89591
- "maxLength": 1024
89592
- },
89593
- "color": {
89594
- "type": "string",
89595
- "maxLength": 1024
89596
- },
89597
- "inputCount": {
89598
- "type": "number"
89599
- },
89600
- "outputCount": {
89601
- "type": "number"
89602
- },
89603
- "triggerId": {
89604
- "type": "string",
89605
- "maxLength": 48
89606
- },
89607
- "id": {
89608
- "type": "string",
89609
- "maxLength": 48
89610
90500
  }
89611
90501
  },
89612
90502
  "additionalProperties": false
@@ -92050,19 +92940,119 @@ Schema for a collection of Workflow Versions
92050
92940
  "type": {
92051
92941
  "type": "string",
92052
92942
  "enum": [
92053
- "flowError"
92943
+ "flowError"
92944
+ ]
92945
+ },
92946
+ "config": {
92947
+ "type": "object",
92948
+ "properties": {
92949
+ "scope": {
92950
+ "type": "string",
92951
+ "enum": [
92952
+ "local",
92953
+ "global",
92954
+ "experience",
92955
+ "cloud"
92956
+ ]
92957
+ }
92958
+ },
92959
+ "additionalProperties": false
92960
+ },
92961
+ "meta": {
92962
+ "type": "object",
92963
+ "properties": {
92964
+ "category": {
92965
+ "type": "string",
92966
+ "enum": [
92967
+ "trigger"
92968
+ ]
92969
+ },
92970
+ "name": {
92971
+ "type": "string",
92972
+ "enum": [
92973
+ "flowError"
92974
+ ]
92975
+ },
92976
+ "label": {
92977
+ "type": "string",
92978
+ "minLength": 1,
92979
+ "maxLength": 255
92980
+ },
92981
+ "x": {
92982
+ "type": "number"
92983
+ },
92984
+ "y": {
92985
+ "type": "number"
92986
+ },
92987
+ "uiId": {
92988
+ "type": "string",
92989
+ "maxLength": 48
92990
+ },
92991
+ "description": {
92992
+ "type": "string",
92993
+ "maxLength": 32767
92994
+ },
92995
+ "icon": {
92996
+ "type": "string",
92997
+ "maxLength": 1024
92998
+ },
92999
+ "color": {
93000
+ "type": "string",
93001
+ "maxLength": 1024
93002
+ },
93003
+ "inputCount": {
93004
+ "type": "number"
93005
+ },
93006
+ "outputCount": {
93007
+ "type": "number"
93008
+ },
93009
+ "id": {
93010
+ "type": "string",
93011
+ "maxLength": 48
93012
+ }
93013
+ },
93014
+ "additionalProperties": false
93015
+ },
93016
+ "outputIds": {
93017
+ "type": "array",
93018
+ "items": {
93019
+ "type": "array",
93020
+ "items": {
93021
+ "type": "string",
93022
+ "maxLength": 48,
93023
+ "minLength": 1
93024
+ },
93025
+ "maxItems": 100
93026
+ },
93027
+ "maxItems": 100
93028
+ }
93029
+ },
93030
+ "required": [
93031
+ "type"
93032
+ ],
93033
+ "additionalProperties": false
93034
+ },
93035
+ {
93036
+ "type": "object",
93037
+ "properties": {
93038
+ "key": {
93039
+ "type": "string",
93040
+ "maxLength": 1024
93041
+ },
93042
+ "type": {
93043
+ "type": "string",
93044
+ "enum": [
93045
+ "mqttTopic"
92054
93046
  ]
92055
93047
  },
92056
93048
  "config": {
92057
93049
  "type": "object",
92058
93050
  "properties": {
92059
- "scope": {
93051
+ "integrationId": {
92060
93052
  "type": "string",
92061
93053
  "enum": [
92062
- "local",
92063
- "global",
92064
- "experience",
92065
- "cloud"
93054
+ "losant",
93055
+ "local"
92066
93056
  ]
92067
93057
  }
92068
93058
  },
@@ -92080,7 +93070,7 @@ Schema for a collection of Workflow Versions
92080
93070
  "name": {
92081
93071
  "type": "string",
92082
93072
  "enum": [
92083
- "flowError"
93073
+ "mqtt"
92084
93074
  ]
92085
93075
  },
92086
93076
  "label": {
@@ -92116,6 +93106,10 @@ Schema for a collection of Workflow Versions
92116
93106
  "outputCount": {
92117
93107
  "type": "number"
92118
93108
  },
93109
+ "triggerId": {
93110
+ "type": "string",
93111
+ "maxLength": 48
93112
+ },
92119
93113
  "id": {
92120
93114
  "type": "string",
92121
93115
  "maxLength": 48
@@ -92152,18 +93146,24 @@ Schema for a collection of Workflow Versions
92152
93146
  "type": {
92153
93147
  "type": "string",
92154
93148
  "enum": [
92155
- "mqttTopic"
93149
+ "onSync"
92156
93150
  ]
92157
93151
  },
92158
93152
  "config": {
92159
93153
  "type": "object",
92160
93154
  "properties": {
92161
- "integrationId": {
92162
- "type": "string",
92163
- "enum": [
92164
- "losant",
92165
- "local"
92166
- ]
93155
+ "syncTypes": {
93156
+ "type": "array",
93157
+ "maxItems": 3,
93158
+ "minItems": 1,
93159
+ "items": {
93160
+ "type": "string",
93161
+ "enum": [
93162
+ "application",
93163
+ "device",
93164
+ "peripheral"
93165
+ ]
93166
+ }
92167
93167
  }
92168
93168
  },
92169
93169
  "additionalProperties": false
@@ -92180,7 +93180,7 @@ Schema for a collection of Workflow Versions
92180
93180
  "name": {
92181
93181
  "type": "string",
92182
93182
  "enum": [
92183
- "mqtt"
93183
+ "onSync"
92184
93184
  ]
92185
93185
  },
92186
93186
  "label": {
@@ -92201,28 +93201,6 @@ Schema for a collection of Workflow Versions
92201
93201
  "description": {
92202
93202
  "type": "string",
92203
93203
  "maxLength": 32767
92204
- },
92205
- "icon": {
92206
- "type": "string",
92207
- "maxLength": 1024
92208
- },
92209
- "color": {
92210
- "type": "string",
92211
- "maxLength": 1024
92212
- },
92213
- "inputCount": {
92214
- "type": "number"
92215
- },
92216
- "outputCount": {
92217
- "type": "number"
92218
- },
92219
- "triggerId": {
92220
- "type": "string",
92221
- "maxLength": 48
92222
- },
92223
- "id": {
92224
- "type": "string",
92225
- "maxLength": 48
92226
93204
  }
92227
93205
  },
92228
93206
  "additionalProperties": false
@@ -93978,21 +94956,210 @@ Schema for a collection of Workflow Versions
93978
94956
  "id": {
93979
94957
  "type": "string",
93980
94958
  "maxLength": 48
93981
- },
93982
- "timeUnit": {
93983
- "type": "string",
93984
- "maxLength": 48
93985
- },
93986
- "maxAgeToggle": {
93987
- "type": "boolean"
93988
- },
93989
- "allowedAttributeType": {
93990
- "type": "string",
93991
- "enum": [
93992
- "attributeWhitelist",
93993
- "any",
93994
- "attributeBlacklist"
93995
- ]
94959
+ },
94960
+ "timeUnit": {
94961
+ "type": "string",
94962
+ "maxLength": 48
94963
+ },
94964
+ "maxAgeToggle": {
94965
+ "type": "boolean"
94966
+ },
94967
+ "allowedAttributeType": {
94968
+ "type": "string",
94969
+ "enum": [
94970
+ "attributeWhitelist",
94971
+ "any",
94972
+ "attributeBlacklist"
94973
+ ]
94974
+ }
94975
+ },
94976
+ "additionalProperties": false
94977
+ },
94978
+ "outputIds": {
94979
+ "type": "array",
94980
+ "items": {
94981
+ "type": "array",
94982
+ "items": {
94983
+ "type": "string",
94984
+ "maxLength": 48,
94985
+ "minLength": 1
94986
+ },
94987
+ "maxItems": 100
94988
+ },
94989
+ "maxItems": 100
94990
+ }
94991
+ },
94992
+ "required": [
94993
+ "type"
94994
+ ],
94995
+ "additionalProperties": false
94996
+ },
94997
+ {
94998
+ "type": "object",
94999
+ "properties": {
95000
+ "key": {
95001
+ "type": "string",
95002
+ "maxLength": 1024
95003
+ },
95004
+ "type": {
95005
+ "type": "string",
95006
+ "enum": [
95007
+ "deviceIdInactivity",
95008
+ "deviceTagInactivity"
95009
+ ]
95010
+ },
95011
+ "config": {
95012
+ "type": "object",
95013
+ "properties": {
95014
+ "seconds": {
95015
+ "type": "number"
95016
+ }
95017
+ },
95018
+ "additionalProperties": false
95019
+ },
95020
+ "meta": {
95021
+ "type": "object",
95022
+ "properties": {
95023
+ "category": {
95024
+ "type": "string",
95025
+ "enum": [
95026
+ "trigger"
95027
+ ]
95028
+ },
95029
+ "name": {
95030
+ "type": "string",
95031
+ "enum": [
95032
+ "deviceIdsTagsInactivity"
95033
+ ]
95034
+ },
95035
+ "label": {
95036
+ "type": "string",
95037
+ "minLength": 1,
95038
+ "maxLength": 255
95039
+ },
95040
+ "x": {
95041
+ "type": "number"
95042
+ },
95043
+ "y": {
95044
+ "type": "number"
95045
+ },
95046
+ "uiId": {
95047
+ "type": "string",
95048
+ "maxLength": 48
95049
+ },
95050
+ "description": {
95051
+ "type": "string",
95052
+ "maxLength": 32767
95053
+ },
95054
+ "icon": {
95055
+ "type": "string",
95056
+ "maxLength": 1024
95057
+ },
95058
+ "color": {
95059
+ "type": "string",
95060
+ "maxLength": 1024
95061
+ },
95062
+ "inputCount": {
95063
+ "type": "number"
95064
+ },
95065
+ "outputCount": {
95066
+ "type": "number"
95067
+ },
95068
+ "id": {
95069
+ "type": "string",
95070
+ "maxLength": 48
95071
+ }
95072
+ },
95073
+ "additionalProperties": false
95074
+ },
95075
+ "outputIds": {
95076
+ "type": "array",
95077
+ "items": {
95078
+ "type": "array",
95079
+ "items": {
95080
+ "type": "string",
95081
+ "maxLength": 48,
95082
+ "minLength": 1
95083
+ },
95084
+ "maxItems": 100
95085
+ },
95086
+ "maxItems": 100
95087
+ }
95088
+ },
95089
+ "required": [
95090
+ "type"
95091
+ ],
95092
+ "additionalProperties": false
95093
+ },
95094
+ {
95095
+ "type": "object",
95096
+ "properties": {
95097
+ "key": {
95098
+ "type": "string",
95099
+ "maxLength": 1024
95100
+ },
95101
+ "type": {
95102
+ "type": "string",
95103
+ "enum": [
95104
+ "direct"
95105
+ ]
95106
+ },
95107
+ "config": {
95108
+ "type": "object",
95109
+ "properties": {},
95110
+ "additionalProperties": false
95111
+ },
95112
+ "meta": {
95113
+ "type": "object",
95114
+ "properties": {
95115
+ "category": {
95116
+ "type": "string",
95117
+ "enum": [
95118
+ "trigger"
95119
+ ]
95120
+ },
95121
+ "name": {
95122
+ "type": "string",
95123
+ "enum": [
95124
+ "direct"
95125
+ ]
95126
+ },
95127
+ "label": {
95128
+ "type": "string",
95129
+ "minLength": 1,
95130
+ "maxLength": 255
95131
+ },
95132
+ "x": {
95133
+ "type": "number"
95134
+ },
95135
+ "y": {
95136
+ "type": "number"
95137
+ },
95138
+ "uiId": {
95139
+ "type": "string",
95140
+ "maxLength": 48
95141
+ },
95142
+ "description": {
95143
+ "type": "string",
95144
+ "maxLength": 32767
95145
+ },
95146
+ "icon": {
95147
+ "type": "string",
95148
+ "maxLength": 1024
95149
+ },
95150
+ "color": {
95151
+ "type": "string",
95152
+ "maxLength": 1024
95153
+ },
95154
+ "inputCount": {
95155
+ "type": "number"
95156
+ },
95157
+ "outputCount": {
95158
+ "type": "number"
95159
+ },
95160
+ "id": {
95161
+ "type": "string",
95162
+ "maxLength": 48
93996
95163
  }
93997
95164
  },
93998
95165
  "additionalProperties": false
@@ -94026,111 +95193,20 @@ Schema for a collection of Workflow Versions
94026
95193
  "type": {
94027
95194
  "type": "string",
94028
95195
  "enum": [
94029
- "deviceIdInactivity",
94030
- "deviceTagInactivity"
95196
+ "endpoint"
94031
95197
  ]
94032
95198
  },
94033
95199
  "config": {
94034
95200
  "type": "object",
94035
95201
  "properties": {
94036
- "seconds": {
94037
- "type": "number"
94038
- }
94039
- },
94040
- "additionalProperties": false
94041
- },
94042
- "meta": {
94043
- "type": "object",
94044
- "properties": {
94045
- "category": {
94046
- "type": "string",
94047
- "enum": [
94048
- "trigger"
94049
- ]
94050
- },
94051
- "name": {
94052
- "type": "string",
94053
- "enum": [
94054
- "deviceIdsTagsInactivity"
94055
- ]
94056
- },
94057
- "label": {
95202
+ "experienceVersion": {
94058
95203
  "type": "string",
94059
95204
  "minLength": 1,
94060
95205
  "maxLength": 255
94061
- },
94062
- "x": {
94063
- "type": "number"
94064
- },
94065
- "y": {
94066
- "type": "number"
94067
- },
94068
- "uiId": {
94069
- "type": "string",
94070
- "maxLength": 48
94071
- },
94072
- "description": {
94073
- "type": "string",
94074
- "maxLength": 32767
94075
- },
94076
- "icon": {
94077
- "type": "string",
94078
- "maxLength": 1024
94079
- },
94080
- "color": {
94081
- "type": "string",
94082
- "maxLength": 1024
94083
- },
94084
- "inputCount": {
94085
- "type": "number"
94086
- },
94087
- "outputCount": {
94088
- "type": "number"
94089
- },
94090
- "id": {
94091
- "type": "string",
94092
- "maxLength": 48
94093
95206
  }
94094
95207
  },
94095
95208
  "additionalProperties": false
94096
95209
  },
94097
- "outputIds": {
94098
- "type": "array",
94099
- "items": {
94100
- "type": "array",
94101
- "items": {
94102
- "type": "string",
94103
- "maxLength": 48,
94104
- "minLength": 1
94105
- },
94106
- "maxItems": 100
94107
- },
94108
- "maxItems": 100
94109
- }
94110
- },
94111
- "required": [
94112
- "type"
94113
- ],
94114
- "additionalProperties": false
94115
- },
94116
- {
94117
- "type": "object",
94118
- "properties": {
94119
- "key": {
94120
- "type": "string",
94121
- "maxLength": 1024
94122
- },
94123
- "type": {
94124
- "type": "string",
94125
- "enum": [
94126
- "direct"
94127
- ]
94128
- },
94129
- "config": {
94130
- "type": "object",
94131
- "properties": {},
94132
- "additionalProperties": false
94133
- },
94134
95210
  "meta": {
94135
95211
  "type": "object",
94136
95212
  "properties": {
@@ -94143,7 +95219,7 @@ Schema for a collection of Workflow Versions
94143
95219
  "name": {
94144
95220
  "type": "string",
94145
95221
  "enum": [
94146
- "direct"
95222
+ "endpoint"
94147
95223
  ]
94148
95224
  },
94149
95225
  "label": {
@@ -94215,16 +95291,24 @@ Schema for a collection of Workflow Versions
94215
95291
  "type": {
94216
95292
  "type": "string",
94217
95293
  "enum": [
94218
- "endpoint"
95294
+ "event"
94219
95295
  ]
94220
95296
  },
94221
95297
  "config": {
94222
95298
  "type": "object",
94223
95299
  "properties": {
94224
- "experienceVersion": {
95300
+ "subject": {
94225
95301
  "type": "string",
94226
- "minLength": 1,
94227
95302
  "maxLength": 255
95303
+ },
95304
+ "new": {
95305
+ "type": "boolean"
95306
+ },
95307
+ "acknowledged": {
95308
+ "type": "boolean"
95309
+ },
95310
+ "resolved": {
95311
+ "type": "boolean"
94228
95312
  }
94229
95313
  },
94230
95314
  "additionalProperties": false
@@ -94241,7 +95325,7 @@ Schema for a collection of Workflow Versions
94241
95325
  "name": {
94242
95326
  "type": "string",
94243
95327
  "enum": [
94244
- "endpoint"
95328
+ "event"
94245
95329
  ]
94246
95330
  },
94247
95331
  "label": {
@@ -94313,24 +95397,27 @@ Schema for a collection of Workflow Versions
94313
95397
  "type": {
94314
95398
  "type": "string",
94315
95399
  "enum": [
94316
- "event"
95400
+ "fileTail"
94317
95401
  ]
94318
95402
  },
94319
95403
  "config": {
94320
95404
  "type": "object",
94321
95405
  "properties": {
94322
- "subject": {
95406
+ "path": {
94323
95407
  "type": "string",
94324
- "maxLength": 255
95408
+ "maxLength": 1024
94325
95409
  },
94326
- "new": {
94327
- "type": "boolean"
95410
+ "encoding": {
95411
+ "type": "string",
95412
+ "maxLength": 48
94328
95413
  },
94329
- "acknowledged": {
94330
- "type": "boolean"
95414
+ "byteLength": {
95415
+ "type": "string",
95416
+ "maxLength": 48
94331
95417
  },
94332
- "resolved": {
94333
- "type": "boolean"
95418
+ "delimiter": {
95419
+ "type": "string",
95420
+ "maxLength": 48
94334
95421
  }
94335
95422
  },
94336
95423
  "additionalProperties": false
@@ -94347,7 +95434,7 @@ Schema for a collection of Workflow Versions
94347
95434
  "name": {
94348
95435
  "type": "string",
94349
95436
  "enum": [
94350
- "event"
95437
+ "fileTail"
94351
95438
  ]
94352
95439
  },
94353
95440
  "label": {
@@ -94419,7 +95506,7 @@ Schema for a collection of Workflow Versions
94419
95506
  "type": {
94420
95507
  "type": "string",
94421
95508
  "enum": [
94422
- "fileTail"
95509
+ "fileWatch"
94423
95510
  ]
94424
95511
  },
94425
95512
  "config": {
@@ -94429,17 +95516,20 @@ Schema for a collection of Workflow Versions
94429
95516
  "type": "string",
94430
95517
  "maxLength": 1024
94431
95518
  },
94432
- "encoding": {
94433
- "type": "string",
94434
- "maxLength": 48
95519
+ "fileAdded": {
95520
+ "type": "boolean"
94435
95521
  },
94436
- "byteLength": {
94437
- "type": "string",
94438
- "maxLength": 48
95522
+ "fileChanged": {
95523
+ "type": "boolean"
94439
95524
  },
94440
- "delimiter": {
94441
- "type": "string",
94442
- "maxLength": 48
95525
+ "fileRemoved": {
95526
+ "type": "boolean"
95527
+ },
95528
+ "directoryAdded": {
95529
+ "type": "boolean"
95530
+ },
95531
+ "directoryRemoved": {
95532
+ "type": "boolean"
94443
95533
  }
94444
95534
  },
94445
95535
  "additionalProperties": false
@@ -94456,7 +95546,7 @@ Schema for a collection of Workflow Versions
94456
95546
  "name": {
94457
95547
  "type": "string",
94458
95548
  "enum": [
94459
- "fileTail"
95549
+ "fileWatch"
94460
95550
  ]
94461
95551
  },
94462
95552
  "label": {
@@ -94528,30 +95618,20 @@ Schema for a collection of Workflow Versions
94528
95618
  "type": {
94529
95619
  "type": "string",
94530
95620
  "enum": [
94531
- "fileWatch"
95621
+ "flowError"
94532
95622
  ]
94533
95623
  },
94534
95624
  "config": {
94535
95625
  "type": "object",
94536
95626
  "properties": {
94537
- "path": {
95627
+ "scope": {
94538
95628
  "type": "string",
94539
- "maxLength": 1024
94540
- },
94541
- "fileAdded": {
94542
- "type": "boolean"
94543
- },
94544
- "fileChanged": {
94545
- "type": "boolean"
94546
- },
94547
- "fileRemoved": {
94548
- "type": "boolean"
94549
- },
94550
- "directoryAdded": {
94551
- "type": "boolean"
94552
- },
94553
- "directoryRemoved": {
94554
- "type": "boolean"
95629
+ "enum": [
95630
+ "local",
95631
+ "global",
95632
+ "experience",
95633
+ "cloud"
95634
+ ]
94555
95635
  }
94556
95636
  },
94557
95637
  "additionalProperties": false
@@ -94568,7 +95648,7 @@ Schema for a collection of Workflow Versions
94568
95648
  "name": {
94569
95649
  "type": "string",
94570
95650
  "enum": [
94571
- "fileWatch"
95651
+ "flowError"
94572
95652
  ]
94573
95653
  },
94574
95654
  "label": {
@@ -94640,19 +95720,17 @@ Schema for a collection of Workflow Versions
94640
95720
  "type": {
94641
95721
  "type": "string",
94642
95722
  "enum": [
94643
- "flowError"
95723
+ "mqttTopic"
94644
95724
  ]
94645
95725
  },
94646
95726
  "config": {
94647
95727
  "type": "object",
94648
95728
  "properties": {
94649
- "scope": {
95729
+ "integrationId": {
94650
95730
  "type": "string",
94651
95731
  "enum": [
94652
- "local",
94653
- "global",
94654
- "experience",
94655
- "cloud"
95732
+ "losant",
95733
+ "local"
94656
95734
  ]
94657
95735
  }
94658
95736
  },
@@ -94670,7 +95748,7 @@ Schema for a collection of Workflow Versions
94670
95748
  "name": {
94671
95749
  "type": "string",
94672
95750
  "enum": [
94673
- "flowError"
95751
+ "mqtt"
94674
95752
  ]
94675
95753
  },
94676
95754
  "label": {
@@ -94706,6 +95784,10 @@ Schema for a collection of Workflow Versions
94706
95784
  "outputCount": {
94707
95785
  "type": "number"
94708
95786
  },
95787
+ "triggerId": {
95788
+ "type": "string",
95789
+ "maxLength": 48
95790
+ },
94709
95791
  "id": {
94710
95792
  "type": "string",
94711
95793
  "maxLength": 48
@@ -94742,18 +95824,24 @@ Schema for a collection of Workflow Versions
94742
95824
  "type": {
94743
95825
  "type": "string",
94744
95826
  "enum": [
94745
- "mqttTopic"
95827
+ "onSync"
94746
95828
  ]
94747
95829
  },
94748
95830
  "config": {
94749
95831
  "type": "object",
94750
95832
  "properties": {
94751
- "integrationId": {
94752
- "type": "string",
94753
- "enum": [
94754
- "losant",
94755
- "local"
94756
- ]
95833
+ "syncTypes": {
95834
+ "type": "array",
95835
+ "maxItems": 3,
95836
+ "minItems": 1,
95837
+ "items": {
95838
+ "type": "string",
95839
+ "enum": [
95840
+ "application",
95841
+ "device",
95842
+ "peripheral"
95843
+ ]
95844
+ }
94757
95845
  }
94758
95846
  },
94759
95847
  "additionalProperties": false
@@ -94770,7 +95858,7 @@ Schema for a collection of Workflow Versions
94770
95858
  "name": {
94771
95859
  "type": "string",
94772
95860
  "enum": [
94773
- "mqtt"
95861
+ "onSync"
94774
95862
  ]
94775
95863
  },
94776
95864
  "label": {
@@ -94791,28 +95879,6 @@ Schema for a collection of Workflow Versions
94791
95879
  "description": {
94792
95880
  "type": "string",
94793
95881
  "maxLength": 32767
94794
- },
94795
- "icon": {
94796
- "type": "string",
94797
- "maxLength": 1024
94798
- },
94799
- "color": {
94800
- "type": "string",
94801
- "maxLength": 1024
94802
- },
94803
- "inputCount": {
94804
- "type": "number"
94805
- },
94806
- "outputCount": {
94807
- "type": "number"
94808
- },
94809
- "triggerId": {
94810
- "type": "string",
94811
- "maxLength": 48
94812
- },
94813
- "id": {
94814
- "type": "string",
94815
- "maxLength": 48
94816
95882
  }
94817
95883
  },
94818
95884
  "additionalProperties": false
@@ -98263,6 +99329,94 @@ Schema for a collection of Workflows
98263
99329
  ],
98264
99330
  "additionalProperties": false
98265
99331
  },
99332
+ {
99333
+ "type": "object",
99334
+ "properties": {
99335
+ "key": {
99336
+ "type": "string",
99337
+ "maxLength": 1024
99338
+ },
99339
+ "type": {
99340
+ "type": "string",
99341
+ "enum": [
99342
+ "onSync"
99343
+ ]
99344
+ },
99345
+ "config": {
99346
+ "type": "object",
99347
+ "properties": {
99348
+ "syncTypes": {
99349
+ "type": "array",
99350
+ "maxItems": 3,
99351
+ "minItems": 1,
99352
+ "items": {
99353
+ "type": "string",
99354
+ "enum": [
99355
+ "application",
99356
+ "device",
99357
+ "peripheral"
99358
+ ]
99359
+ }
99360
+ }
99361
+ },
99362
+ "additionalProperties": false
99363
+ },
99364
+ "meta": {
99365
+ "type": "object",
99366
+ "properties": {
99367
+ "category": {
99368
+ "type": "string",
99369
+ "enum": [
99370
+ "trigger"
99371
+ ]
99372
+ },
99373
+ "name": {
99374
+ "type": "string",
99375
+ "enum": [
99376
+ "onSync"
99377
+ ]
99378
+ },
99379
+ "label": {
99380
+ "type": "string",
99381
+ "minLength": 1,
99382
+ "maxLength": 255
99383
+ },
99384
+ "x": {
99385
+ "type": "number"
99386
+ },
99387
+ "y": {
99388
+ "type": "number"
99389
+ },
99390
+ "uiId": {
99391
+ "type": "string",
99392
+ "maxLength": 48
99393
+ },
99394
+ "description": {
99395
+ "type": "string",
99396
+ "maxLength": 32767
99397
+ }
99398
+ },
99399
+ "additionalProperties": false
99400
+ },
99401
+ "outputIds": {
99402
+ "type": "array",
99403
+ "items": {
99404
+ "type": "array",
99405
+ "items": {
99406
+ "type": "string",
99407
+ "maxLength": 48,
99408
+ "minLength": 1
99409
+ },
99410
+ "maxItems": 100
99411
+ },
99412
+ "maxItems": 100
99413
+ }
99414
+ },
99415
+ "required": [
99416
+ "type"
99417
+ ],
99418
+ "additionalProperties": false
99419
+ },
98266
99420
  {
98267
99421
  "type": "object",
98268
99422
  "properties": {
@@ -100962,6 +102116,94 @@ Schema for the body of a workflow import request
100962
102116
  ],
100963
102117
  "additionalProperties": false
100964
102118
  },
102119
+ {
102120
+ "type": "object",
102121
+ "properties": {
102122
+ "key": {
102123
+ "type": "string",
102124
+ "maxLength": 1024
102125
+ },
102126
+ "type": {
102127
+ "type": "string",
102128
+ "enum": [
102129
+ "onSync"
102130
+ ]
102131
+ },
102132
+ "config": {
102133
+ "type": "object",
102134
+ "properties": {
102135
+ "syncTypes": {
102136
+ "type": "array",
102137
+ "maxItems": 3,
102138
+ "minItems": 1,
102139
+ "items": {
102140
+ "type": "string",
102141
+ "enum": [
102142
+ "application",
102143
+ "device",
102144
+ "peripheral"
102145
+ ]
102146
+ }
102147
+ }
102148
+ },
102149
+ "additionalProperties": false
102150
+ },
102151
+ "meta": {
102152
+ "type": "object",
102153
+ "properties": {
102154
+ "category": {
102155
+ "type": "string",
102156
+ "enum": [
102157
+ "trigger"
102158
+ ]
102159
+ },
102160
+ "name": {
102161
+ "type": "string",
102162
+ "enum": [
102163
+ "onSync"
102164
+ ]
102165
+ },
102166
+ "label": {
102167
+ "type": "string",
102168
+ "minLength": 1,
102169
+ "maxLength": 255
102170
+ },
102171
+ "x": {
102172
+ "type": "number"
102173
+ },
102174
+ "y": {
102175
+ "type": "number"
102176
+ },
102177
+ "uiId": {
102178
+ "type": "string",
102179
+ "maxLength": 48
102180
+ },
102181
+ "description": {
102182
+ "type": "string",
102183
+ "maxLength": 32767
102184
+ }
102185
+ },
102186
+ "additionalProperties": false
102187
+ },
102188
+ "outputIds": {
102189
+ "type": "array",
102190
+ "items": {
102191
+ "type": "array",
102192
+ "items": {
102193
+ "type": "string",
102194
+ "maxLength": 48,
102195
+ "minLength": 1
102196
+ },
102197
+ "maxItems": 100
102198
+ },
102199
+ "maxItems": 100
102200
+ }
102201
+ },
102202
+ "required": [
102203
+ "type"
102204
+ ],
102205
+ "additionalProperties": false
102206
+ },
100965
102207
  {
100966
102208
  "type": "object",
100967
102209
  "properties": {
@@ -102729,17 +103971,109 @@ Schema for the body of a workflow import request
102729
103971
  "type": {
102730
103972
  "type": "string",
102731
103973
  "enum": [
102732
- "deviceIdInactivity",
102733
- "deviceTagInactivity"
103974
+ "deviceIdInactivity",
103975
+ "deviceTagInactivity"
103976
+ ]
103977
+ },
103978
+ "config": {
103979
+ "type": "object",
103980
+ "properties": {
103981
+ "seconds": {
103982
+ "type": "number"
103983
+ }
103984
+ },
103985
+ "additionalProperties": false
103986
+ },
103987
+ "meta": {
103988
+ "type": "object",
103989
+ "properties": {
103990
+ "category": {
103991
+ "type": "string",
103992
+ "enum": [
103993
+ "trigger"
103994
+ ]
103995
+ },
103996
+ "name": {
103997
+ "type": "string",
103998
+ "enum": [
103999
+ "deviceIdsTagsInactivity"
104000
+ ]
104001
+ },
104002
+ "label": {
104003
+ "type": "string",
104004
+ "minLength": 1,
104005
+ "maxLength": 255
104006
+ },
104007
+ "x": {
104008
+ "type": "number"
104009
+ },
104010
+ "y": {
104011
+ "type": "number"
104012
+ },
104013
+ "uiId": {
104014
+ "type": "string",
104015
+ "maxLength": 48
104016
+ },
104017
+ "description": {
104018
+ "type": "string",
104019
+ "maxLength": 32767
104020
+ },
104021
+ "icon": {
104022
+ "type": "string",
104023
+ "maxLength": 1024
104024
+ },
104025
+ "color": {
104026
+ "type": "string",
104027
+ "maxLength": 1024
104028
+ },
104029
+ "inputCount": {
104030
+ "type": "number"
104031
+ },
104032
+ "outputCount": {
104033
+ "type": "number"
104034
+ },
104035
+ "id": {
104036
+ "type": "string",
104037
+ "maxLength": 48
104038
+ }
104039
+ },
104040
+ "additionalProperties": false
104041
+ },
104042
+ "outputIds": {
104043
+ "type": "array",
104044
+ "items": {
104045
+ "type": "array",
104046
+ "items": {
104047
+ "type": "string",
104048
+ "maxLength": 48,
104049
+ "minLength": 1
104050
+ },
104051
+ "maxItems": 100
104052
+ },
104053
+ "maxItems": 100
104054
+ }
104055
+ },
104056
+ "required": [
104057
+ "type"
104058
+ ],
104059
+ "additionalProperties": false
104060
+ },
104061
+ {
104062
+ "type": "object",
104063
+ "properties": {
104064
+ "key": {
104065
+ "type": "string",
104066
+ "maxLength": 1024
104067
+ },
104068
+ "type": {
104069
+ "type": "string",
104070
+ "enum": [
104071
+ "direct"
102734
104072
  ]
102735
104073
  },
102736
104074
  "config": {
102737
104075
  "type": "object",
102738
- "properties": {
102739
- "seconds": {
102740
- "type": "number"
102741
- }
102742
- },
104076
+ "properties": {},
102743
104077
  "additionalProperties": false
102744
104078
  },
102745
104079
  "meta": {
@@ -102754,7 +104088,7 @@ Schema for the body of a workflow import request
102754
104088
  "name": {
102755
104089
  "type": "string",
102756
104090
  "enum": [
102757
- "deviceIdsTagsInactivity"
104091
+ "direct"
102758
104092
  ]
102759
104093
  },
102760
104094
  "label": {
@@ -102826,12 +104160,18 @@ Schema for the body of a workflow import request
102826
104160
  "type": {
102827
104161
  "type": "string",
102828
104162
  "enum": [
102829
- "direct"
104163
+ "endpoint"
102830
104164
  ]
102831
104165
  },
102832
104166
  "config": {
102833
104167
  "type": "object",
102834
- "properties": {},
104168
+ "properties": {
104169
+ "experienceVersion": {
104170
+ "type": "string",
104171
+ "minLength": 1,
104172
+ "maxLength": 255
104173
+ }
104174
+ },
102835
104175
  "additionalProperties": false
102836
104176
  },
102837
104177
  "meta": {
@@ -102846,7 +104186,7 @@ Schema for the body of a workflow import request
102846
104186
  "name": {
102847
104187
  "type": "string",
102848
104188
  "enum": [
102849
- "direct"
104189
+ "endpoint"
102850
104190
  ]
102851
104191
  },
102852
104192
  "label": {
@@ -102918,16 +104258,24 @@ Schema for the body of a workflow import request
102918
104258
  "type": {
102919
104259
  "type": "string",
102920
104260
  "enum": [
102921
- "endpoint"
104261
+ "event"
102922
104262
  ]
102923
104263
  },
102924
104264
  "config": {
102925
104265
  "type": "object",
102926
104266
  "properties": {
102927
- "experienceVersion": {
104267
+ "subject": {
102928
104268
  "type": "string",
102929
- "minLength": 1,
102930
104269
  "maxLength": 255
104270
+ },
104271
+ "new": {
104272
+ "type": "boolean"
104273
+ },
104274
+ "acknowledged": {
104275
+ "type": "boolean"
104276
+ },
104277
+ "resolved": {
104278
+ "type": "boolean"
102931
104279
  }
102932
104280
  },
102933
104281
  "additionalProperties": false
@@ -102944,7 +104292,7 @@ Schema for the body of a workflow import request
102944
104292
  "name": {
102945
104293
  "type": "string",
102946
104294
  "enum": [
102947
- "endpoint"
104295
+ "event"
102948
104296
  ]
102949
104297
  },
102950
104298
  "label": {
@@ -103016,24 +104364,27 @@ Schema for the body of a workflow import request
103016
104364
  "type": {
103017
104365
  "type": "string",
103018
104366
  "enum": [
103019
- "event"
104367
+ "fileTail"
103020
104368
  ]
103021
104369
  },
103022
104370
  "config": {
103023
104371
  "type": "object",
103024
104372
  "properties": {
103025
- "subject": {
104373
+ "path": {
103026
104374
  "type": "string",
103027
- "maxLength": 255
104375
+ "maxLength": 1024
103028
104376
  },
103029
- "new": {
103030
- "type": "boolean"
104377
+ "encoding": {
104378
+ "type": "string",
104379
+ "maxLength": 48
103031
104380
  },
103032
- "acknowledged": {
103033
- "type": "boolean"
104381
+ "byteLength": {
104382
+ "type": "string",
104383
+ "maxLength": 48
103034
104384
  },
103035
- "resolved": {
103036
- "type": "boolean"
104385
+ "delimiter": {
104386
+ "type": "string",
104387
+ "maxLength": 48
103037
104388
  }
103038
104389
  },
103039
104390
  "additionalProperties": false
@@ -103050,7 +104401,7 @@ Schema for the body of a workflow import request
103050
104401
  "name": {
103051
104402
  "type": "string",
103052
104403
  "enum": [
103053
- "event"
104404
+ "fileTail"
103054
104405
  ]
103055
104406
  },
103056
104407
  "label": {
@@ -103122,7 +104473,7 @@ Schema for the body of a workflow import request
103122
104473
  "type": {
103123
104474
  "type": "string",
103124
104475
  "enum": [
103125
- "fileTail"
104476
+ "fileWatch"
103126
104477
  ]
103127
104478
  },
103128
104479
  "config": {
@@ -103132,17 +104483,20 @@ Schema for the body of a workflow import request
103132
104483
  "type": "string",
103133
104484
  "maxLength": 1024
103134
104485
  },
103135
- "encoding": {
103136
- "type": "string",
103137
- "maxLength": 48
104486
+ "fileAdded": {
104487
+ "type": "boolean"
103138
104488
  },
103139
- "byteLength": {
103140
- "type": "string",
103141
- "maxLength": 48
104489
+ "fileChanged": {
104490
+ "type": "boolean"
103142
104491
  },
103143
- "delimiter": {
103144
- "type": "string",
103145
- "maxLength": 48
104492
+ "fileRemoved": {
104493
+ "type": "boolean"
104494
+ },
104495
+ "directoryAdded": {
104496
+ "type": "boolean"
104497
+ },
104498
+ "directoryRemoved": {
104499
+ "type": "boolean"
103146
104500
  }
103147
104501
  },
103148
104502
  "additionalProperties": false
@@ -103159,7 +104513,7 @@ Schema for the body of a workflow import request
103159
104513
  "name": {
103160
104514
  "type": "string",
103161
104515
  "enum": [
103162
- "fileTail"
104516
+ "fileWatch"
103163
104517
  ]
103164
104518
  },
103165
104519
  "label": {
@@ -103231,30 +104585,20 @@ Schema for the body of a workflow import request
103231
104585
  "type": {
103232
104586
  "type": "string",
103233
104587
  "enum": [
103234
- "fileWatch"
104588
+ "flowError"
103235
104589
  ]
103236
104590
  },
103237
104591
  "config": {
103238
104592
  "type": "object",
103239
104593
  "properties": {
103240
- "path": {
104594
+ "scope": {
103241
104595
  "type": "string",
103242
- "maxLength": 1024
103243
- },
103244
- "fileAdded": {
103245
- "type": "boolean"
103246
- },
103247
- "fileChanged": {
103248
- "type": "boolean"
103249
- },
103250
- "fileRemoved": {
103251
- "type": "boolean"
103252
- },
103253
- "directoryAdded": {
103254
- "type": "boolean"
103255
- },
103256
- "directoryRemoved": {
103257
- "type": "boolean"
104596
+ "enum": [
104597
+ "local",
104598
+ "global",
104599
+ "experience",
104600
+ "cloud"
104601
+ ]
103258
104602
  }
103259
104603
  },
103260
104604
  "additionalProperties": false
@@ -103271,7 +104615,7 @@ Schema for the body of a workflow import request
103271
104615
  "name": {
103272
104616
  "type": "string",
103273
104617
  "enum": [
103274
- "fileWatch"
104618
+ "flowError"
103275
104619
  ]
103276
104620
  },
103277
104621
  "label": {
@@ -103343,19 +104687,17 @@ Schema for the body of a workflow import request
103343
104687
  "type": {
103344
104688
  "type": "string",
103345
104689
  "enum": [
103346
- "flowError"
104690
+ "mqttTopic"
103347
104691
  ]
103348
104692
  },
103349
104693
  "config": {
103350
104694
  "type": "object",
103351
104695
  "properties": {
103352
- "scope": {
104696
+ "integrationId": {
103353
104697
  "type": "string",
103354
104698
  "enum": [
103355
- "local",
103356
- "global",
103357
- "experience",
103358
- "cloud"
104699
+ "losant",
104700
+ "local"
103359
104701
  ]
103360
104702
  }
103361
104703
  },
@@ -103373,7 +104715,7 @@ Schema for the body of a workflow import request
103373
104715
  "name": {
103374
104716
  "type": "string",
103375
104717
  "enum": [
103376
- "flowError"
104718
+ "mqtt"
103377
104719
  ]
103378
104720
  },
103379
104721
  "label": {
@@ -103409,6 +104751,10 @@ Schema for the body of a workflow import request
103409
104751
  "outputCount": {
103410
104752
  "type": "number"
103411
104753
  },
104754
+ "triggerId": {
104755
+ "type": "string",
104756
+ "maxLength": 48
104757
+ },
103412
104758
  "id": {
103413
104759
  "type": "string",
103414
104760
  "maxLength": 48
@@ -103445,18 +104791,24 @@ Schema for the body of a workflow import request
103445
104791
  "type": {
103446
104792
  "type": "string",
103447
104793
  "enum": [
103448
- "mqttTopic"
104794
+ "onSync"
103449
104795
  ]
103450
104796
  },
103451
104797
  "config": {
103452
104798
  "type": "object",
103453
104799
  "properties": {
103454
- "integrationId": {
103455
- "type": "string",
103456
- "enum": [
103457
- "losant",
103458
- "local"
103459
- ]
104800
+ "syncTypes": {
104801
+ "type": "array",
104802
+ "maxItems": 3,
104803
+ "minItems": 1,
104804
+ "items": {
104805
+ "type": "string",
104806
+ "enum": [
104807
+ "application",
104808
+ "device",
104809
+ "peripheral"
104810
+ ]
104811
+ }
103460
104812
  }
103461
104813
  },
103462
104814
  "additionalProperties": false
@@ -103473,7 +104825,7 @@ Schema for the body of a workflow import request
103473
104825
  "name": {
103474
104826
  "type": "string",
103475
104827
  "enum": [
103476
- "mqtt"
104828
+ "onSync"
103477
104829
  ]
103478
104830
  },
103479
104831
  "label": {
@@ -103494,28 +104846,6 @@ Schema for the body of a workflow import request
103494
104846
  "description": {
103495
104847
  "type": "string",
103496
104848
  "maxLength": 32767
103497
- },
103498
- "icon": {
103499
- "type": "string",
103500
- "maxLength": 1024
103501
- },
103502
- "color": {
103503
- "type": "string",
103504
- "maxLength": 1024
103505
- },
103506
- "inputCount": {
103507
- "type": "number"
103508
- },
103509
- "outputCount": {
103510
- "type": "number"
103511
- },
103512
- "triggerId": {
103513
- "type": "string",
103514
- "maxLength": 48
103515
- },
103516
- "id": {
103517
- "type": "string",
103518
- "maxLength": 48
103519
104849
  }
103520
104850
  },
103521
104851
  "additionalProperties": false
@@ -105479,12 +106809,110 @@ Schema for the result of a workflow import request
105479
106809
  "type": {
105480
106810
  "type": "string",
105481
106811
  "enum": [
105482
- "direct"
106812
+ "direct"
106813
+ ]
106814
+ },
106815
+ "config": {
106816
+ "type": "object",
106817
+ "properties": {},
106818
+ "additionalProperties": false
106819
+ },
106820
+ "meta": {
106821
+ "type": "object",
106822
+ "properties": {
106823
+ "category": {
106824
+ "type": "string",
106825
+ "enum": [
106826
+ "trigger"
106827
+ ]
106828
+ },
106829
+ "name": {
106830
+ "type": "string",
106831
+ "enum": [
106832
+ "direct"
106833
+ ]
106834
+ },
106835
+ "label": {
106836
+ "type": "string",
106837
+ "minLength": 1,
106838
+ "maxLength": 255
106839
+ },
106840
+ "x": {
106841
+ "type": "number"
106842
+ },
106843
+ "y": {
106844
+ "type": "number"
106845
+ },
106846
+ "uiId": {
106847
+ "type": "string",
106848
+ "maxLength": 48
106849
+ },
106850
+ "description": {
106851
+ "type": "string",
106852
+ "maxLength": 32767
106853
+ },
106854
+ "icon": {
106855
+ "type": "string",
106856
+ "maxLength": 1024
106857
+ },
106858
+ "color": {
106859
+ "type": "string",
106860
+ "maxLength": 1024
106861
+ },
106862
+ "inputCount": {
106863
+ "type": "number"
106864
+ },
106865
+ "outputCount": {
106866
+ "type": "number"
106867
+ },
106868
+ "id": {
106869
+ "type": "string",
106870
+ "maxLength": 48
106871
+ }
106872
+ },
106873
+ "additionalProperties": false
106874
+ },
106875
+ "outputIds": {
106876
+ "type": "array",
106877
+ "items": {
106878
+ "type": "array",
106879
+ "items": {
106880
+ "type": "string",
106881
+ "maxLength": 48,
106882
+ "minLength": 1
106883
+ },
106884
+ "maxItems": 100
106885
+ },
106886
+ "maxItems": 100
106887
+ }
106888
+ },
106889
+ "required": [
106890
+ "type"
106891
+ ],
106892
+ "additionalProperties": false
106893
+ },
106894
+ {
106895
+ "type": "object",
106896
+ "properties": {
106897
+ "key": {
106898
+ "type": "string",
106899
+ "maxLength": 1024
106900
+ },
106901
+ "type": {
106902
+ "type": "string",
106903
+ "enum": [
106904
+ "endpoint"
105483
106905
  ]
105484
106906
  },
105485
106907
  "config": {
105486
106908
  "type": "object",
105487
- "properties": {},
106909
+ "properties": {
106910
+ "experienceVersion": {
106911
+ "type": "string",
106912
+ "minLength": 1,
106913
+ "maxLength": 255
106914
+ }
106915
+ },
105488
106916
  "additionalProperties": false
105489
106917
  },
105490
106918
  "meta": {
@@ -105499,7 +106927,7 @@ Schema for the result of a workflow import request
105499
106927
  "name": {
105500
106928
  "type": "string",
105501
106929
  "enum": [
105502
- "direct"
106930
+ "endpoint"
105503
106931
  ]
105504
106932
  },
105505
106933
  "label": {
@@ -105571,16 +106999,24 @@ Schema for the result of a workflow import request
105571
106999
  "type": {
105572
107000
  "type": "string",
105573
107001
  "enum": [
105574
- "endpoint"
107002
+ "event"
105575
107003
  ]
105576
107004
  },
105577
107005
  "config": {
105578
107006
  "type": "object",
105579
107007
  "properties": {
105580
- "experienceVersion": {
107008
+ "subject": {
105581
107009
  "type": "string",
105582
- "minLength": 1,
105583
107010
  "maxLength": 255
107011
+ },
107012
+ "new": {
107013
+ "type": "boolean"
107014
+ },
107015
+ "acknowledged": {
107016
+ "type": "boolean"
107017
+ },
107018
+ "resolved": {
107019
+ "type": "boolean"
105584
107020
  }
105585
107021
  },
105586
107022
  "additionalProperties": false
@@ -105597,7 +107033,7 @@ Schema for the result of a workflow import request
105597
107033
  "name": {
105598
107034
  "type": "string",
105599
107035
  "enum": [
105600
- "endpoint"
107036
+ "event"
105601
107037
  ]
105602
107038
  },
105603
107039
  "label": {
@@ -105669,24 +107105,27 @@ Schema for the result of a workflow import request
105669
107105
  "type": {
105670
107106
  "type": "string",
105671
107107
  "enum": [
105672
- "event"
107108
+ "fileTail"
105673
107109
  ]
105674
107110
  },
105675
107111
  "config": {
105676
107112
  "type": "object",
105677
107113
  "properties": {
105678
- "subject": {
107114
+ "path": {
105679
107115
  "type": "string",
105680
- "maxLength": 255
107116
+ "maxLength": 1024
105681
107117
  },
105682
- "new": {
105683
- "type": "boolean"
107118
+ "encoding": {
107119
+ "type": "string",
107120
+ "maxLength": 48
105684
107121
  },
105685
- "acknowledged": {
105686
- "type": "boolean"
107122
+ "byteLength": {
107123
+ "type": "string",
107124
+ "maxLength": 48
105687
107125
  },
105688
- "resolved": {
105689
- "type": "boolean"
107126
+ "delimiter": {
107127
+ "type": "string",
107128
+ "maxLength": 48
105690
107129
  }
105691
107130
  },
105692
107131
  "additionalProperties": false
@@ -105703,7 +107142,7 @@ Schema for the result of a workflow import request
105703
107142
  "name": {
105704
107143
  "type": "string",
105705
107144
  "enum": [
105706
- "event"
107145
+ "fileTail"
105707
107146
  ]
105708
107147
  },
105709
107148
  "label": {
@@ -105775,7 +107214,7 @@ Schema for the result of a workflow import request
105775
107214
  "type": {
105776
107215
  "type": "string",
105777
107216
  "enum": [
105778
- "fileTail"
107217
+ "fileWatch"
105779
107218
  ]
105780
107219
  },
105781
107220
  "config": {
@@ -105785,17 +107224,20 @@ Schema for the result of a workflow import request
105785
107224
  "type": "string",
105786
107225
  "maxLength": 1024
105787
107226
  },
105788
- "encoding": {
105789
- "type": "string",
105790
- "maxLength": 48
107227
+ "fileAdded": {
107228
+ "type": "boolean"
105791
107229
  },
105792
- "byteLength": {
105793
- "type": "string",
105794
- "maxLength": 48
107230
+ "fileChanged": {
107231
+ "type": "boolean"
105795
107232
  },
105796
- "delimiter": {
105797
- "type": "string",
105798
- "maxLength": 48
107233
+ "fileRemoved": {
107234
+ "type": "boolean"
107235
+ },
107236
+ "directoryAdded": {
107237
+ "type": "boolean"
107238
+ },
107239
+ "directoryRemoved": {
107240
+ "type": "boolean"
105799
107241
  }
105800
107242
  },
105801
107243
  "additionalProperties": false
@@ -105812,7 +107254,7 @@ Schema for the result of a workflow import request
105812
107254
  "name": {
105813
107255
  "type": "string",
105814
107256
  "enum": [
105815
- "fileTail"
107257
+ "fileWatch"
105816
107258
  ]
105817
107259
  },
105818
107260
  "label": {
@@ -105884,30 +107326,20 @@ Schema for the result of a workflow import request
105884
107326
  "type": {
105885
107327
  "type": "string",
105886
107328
  "enum": [
105887
- "fileWatch"
107329
+ "flowError"
105888
107330
  ]
105889
107331
  },
105890
107332
  "config": {
105891
107333
  "type": "object",
105892
107334
  "properties": {
105893
- "path": {
107335
+ "scope": {
105894
107336
  "type": "string",
105895
- "maxLength": 1024
105896
- },
105897
- "fileAdded": {
105898
- "type": "boolean"
105899
- },
105900
- "fileChanged": {
105901
- "type": "boolean"
105902
- },
105903
- "fileRemoved": {
105904
- "type": "boolean"
105905
- },
105906
- "directoryAdded": {
105907
- "type": "boolean"
105908
- },
105909
- "directoryRemoved": {
105910
- "type": "boolean"
107337
+ "enum": [
107338
+ "local",
107339
+ "global",
107340
+ "experience",
107341
+ "cloud"
107342
+ ]
105911
107343
  }
105912
107344
  },
105913
107345
  "additionalProperties": false
@@ -105924,7 +107356,7 @@ Schema for the result of a workflow import request
105924
107356
  "name": {
105925
107357
  "type": "string",
105926
107358
  "enum": [
105927
- "fileWatch"
107359
+ "flowError"
105928
107360
  ]
105929
107361
  },
105930
107362
  "label": {
@@ -105996,19 +107428,17 @@ Schema for the result of a workflow import request
105996
107428
  "type": {
105997
107429
  "type": "string",
105998
107430
  "enum": [
105999
- "flowError"
107431
+ "mqttTopic"
106000
107432
  ]
106001
107433
  },
106002
107434
  "config": {
106003
107435
  "type": "object",
106004
107436
  "properties": {
106005
- "scope": {
107437
+ "integrationId": {
106006
107438
  "type": "string",
106007
107439
  "enum": [
106008
- "local",
106009
- "global",
106010
- "experience",
106011
- "cloud"
107440
+ "losant",
107441
+ "local"
106012
107442
  ]
106013
107443
  }
106014
107444
  },
@@ -106026,7 +107456,7 @@ Schema for the result of a workflow import request
106026
107456
  "name": {
106027
107457
  "type": "string",
106028
107458
  "enum": [
106029
- "flowError"
107459
+ "mqtt"
106030
107460
  ]
106031
107461
  },
106032
107462
  "label": {
@@ -106062,6 +107492,10 @@ Schema for the result of a workflow import request
106062
107492
  "outputCount": {
106063
107493
  "type": "number"
106064
107494
  },
107495
+ "triggerId": {
107496
+ "type": "string",
107497
+ "maxLength": 48
107498
+ },
106065
107499
  "id": {
106066
107500
  "type": "string",
106067
107501
  "maxLength": 48
@@ -106098,18 +107532,24 @@ Schema for the result of a workflow import request
106098
107532
  "type": {
106099
107533
  "type": "string",
106100
107534
  "enum": [
106101
- "mqttTopic"
107535
+ "onSync"
106102
107536
  ]
106103
107537
  },
106104
107538
  "config": {
106105
107539
  "type": "object",
106106
107540
  "properties": {
106107
- "integrationId": {
106108
- "type": "string",
106109
- "enum": [
106110
- "losant",
106111
- "local"
106112
- ]
107541
+ "syncTypes": {
107542
+ "type": "array",
107543
+ "maxItems": 3,
107544
+ "minItems": 1,
107545
+ "items": {
107546
+ "type": "string",
107547
+ "enum": [
107548
+ "application",
107549
+ "device",
107550
+ "peripheral"
107551
+ ]
107552
+ }
106113
107553
  }
106114
107554
  },
106115
107555
  "additionalProperties": false
@@ -106126,7 +107566,7 @@ Schema for the result of a workflow import request
106126
107566
  "name": {
106127
107567
  "type": "string",
106128
107568
  "enum": [
106129
- "mqtt"
107569
+ "onSync"
106130
107570
  ]
106131
107571
  },
106132
107572
  "label": {
@@ -106147,28 +107587,6 @@ Schema for the result of a workflow import request
106147
107587
  "description": {
106148
107588
  "type": "string",
106149
107589
  "maxLength": 32767
106150
- },
106151
- "icon": {
106152
- "type": "string",
106153
- "maxLength": 1024
106154
- },
106155
- "color": {
106156
- "type": "string",
106157
- "maxLength": 1024
106158
- },
106159
- "inputCount": {
106160
- "type": "number"
106161
- },
106162
- "outputCount": {
106163
- "type": "number"
106164
- },
106165
- "triggerId": {
106166
- "type": "string",
106167
- "maxLength": 48
106168
- },
106169
- "id": {
106170
- "type": "string",
106171
- "maxLength": 48
106172
107590
  }
106173
107591
  },
106174
107592
  "additionalProperties": false
@@ -108297,24 +109715,133 @@ Schema for the result of a workflow import request
108297
109715
  "type": {
108298
109716
  "type": "string",
108299
109717
  "enum": [
108300
- "event"
109718
+ "event"
109719
+ ]
109720
+ },
109721
+ "config": {
109722
+ "type": "object",
109723
+ "properties": {
109724
+ "subject": {
109725
+ "type": "string",
109726
+ "maxLength": 255
109727
+ },
109728
+ "new": {
109729
+ "type": "boolean"
109730
+ },
109731
+ "acknowledged": {
109732
+ "type": "boolean"
109733
+ },
109734
+ "resolved": {
109735
+ "type": "boolean"
109736
+ }
109737
+ },
109738
+ "additionalProperties": false
109739
+ },
109740
+ "meta": {
109741
+ "type": "object",
109742
+ "properties": {
109743
+ "category": {
109744
+ "type": "string",
109745
+ "enum": [
109746
+ "trigger"
109747
+ ]
109748
+ },
109749
+ "name": {
109750
+ "type": "string",
109751
+ "enum": [
109752
+ "event"
109753
+ ]
109754
+ },
109755
+ "label": {
109756
+ "type": "string",
109757
+ "minLength": 1,
109758
+ "maxLength": 255
109759
+ },
109760
+ "x": {
109761
+ "type": "number"
109762
+ },
109763
+ "y": {
109764
+ "type": "number"
109765
+ },
109766
+ "uiId": {
109767
+ "type": "string",
109768
+ "maxLength": 48
109769
+ },
109770
+ "description": {
109771
+ "type": "string",
109772
+ "maxLength": 32767
109773
+ },
109774
+ "icon": {
109775
+ "type": "string",
109776
+ "maxLength": 1024
109777
+ },
109778
+ "color": {
109779
+ "type": "string",
109780
+ "maxLength": 1024
109781
+ },
109782
+ "inputCount": {
109783
+ "type": "number"
109784
+ },
109785
+ "outputCount": {
109786
+ "type": "number"
109787
+ },
109788
+ "id": {
109789
+ "type": "string",
109790
+ "maxLength": 48
109791
+ }
109792
+ },
109793
+ "additionalProperties": false
109794
+ },
109795
+ "outputIds": {
109796
+ "type": "array",
109797
+ "items": {
109798
+ "type": "array",
109799
+ "items": {
109800
+ "type": "string",
109801
+ "maxLength": 48,
109802
+ "minLength": 1
109803
+ },
109804
+ "maxItems": 100
109805
+ },
109806
+ "maxItems": 100
109807
+ }
109808
+ },
109809
+ "required": [
109810
+ "type"
109811
+ ],
109812
+ "additionalProperties": false
109813
+ },
109814
+ {
109815
+ "type": "object",
109816
+ "properties": {
109817
+ "key": {
109818
+ "type": "string",
109819
+ "maxLength": 1024
109820
+ },
109821
+ "type": {
109822
+ "type": "string",
109823
+ "enum": [
109824
+ "fileTail"
108301
109825
  ]
108302
109826
  },
108303
109827
  "config": {
108304
109828
  "type": "object",
108305
109829
  "properties": {
108306
- "subject": {
109830
+ "path": {
108307
109831
  "type": "string",
108308
- "maxLength": 255
109832
+ "maxLength": 1024
108309
109833
  },
108310
- "new": {
108311
- "type": "boolean"
109834
+ "encoding": {
109835
+ "type": "string",
109836
+ "maxLength": 48
108312
109837
  },
108313
- "acknowledged": {
108314
- "type": "boolean"
109838
+ "byteLength": {
109839
+ "type": "string",
109840
+ "maxLength": 48
108315
109841
  },
108316
- "resolved": {
108317
- "type": "boolean"
109842
+ "delimiter": {
109843
+ "type": "string",
109844
+ "maxLength": 48
108318
109845
  }
108319
109846
  },
108320
109847
  "additionalProperties": false
@@ -108331,7 +109858,7 @@ Schema for the result of a workflow import request
108331
109858
  "name": {
108332
109859
  "type": "string",
108333
109860
  "enum": [
108334
- "event"
109861
+ "fileTail"
108335
109862
  ]
108336
109863
  },
108337
109864
  "label": {
@@ -108403,7 +109930,7 @@ Schema for the result of a workflow import request
108403
109930
  "type": {
108404
109931
  "type": "string",
108405
109932
  "enum": [
108406
- "fileTail"
109933
+ "fileWatch"
108407
109934
  ]
108408
109935
  },
108409
109936
  "config": {
@@ -108413,17 +109940,20 @@ Schema for the result of a workflow import request
108413
109940
  "type": "string",
108414
109941
  "maxLength": 1024
108415
109942
  },
108416
- "encoding": {
108417
- "type": "string",
108418
- "maxLength": 48
109943
+ "fileAdded": {
109944
+ "type": "boolean"
108419
109945
  },
108420
- "byteLength": {
108421
- "type": "string",
108422
- "maxLength": 48
109946
+ "fileChanged": {
109947
+ "type": "boolean"
108423
109948
  },
108424
- "delimiter": {
108425
- "type": "string",
108426
- "maxLength": 48
109949
+ "fileRemoved": {
109950
+ "type": "boolean"
109951
+ },
109952
+ "directoryAdded": {
109953
+ "type": "boolean"
109954
+ },
109955
+ "directoryRemoved": {
109956
+ "type": "boolean"
108427
109957
  }
108428
109958
  },
108429
109959
  "additionalProperties": false
@@ -108440,7 +109970,7 @@ Schema for the result of a workflow import request
108440
109970
  "name": {
108441
109971
  "type": "string",
108442
109972
  "enum": [
108443
- "fileTail"
109973
+ "fileWatch"
108444
109974
  ]
108445
109975
  },
108446
109976
  "label": {
@@ -108512,30 +110042,20 @@ Schema for the result of a workflow import request
108512
110042
  "type": {
108513
110043
  "type": "string",
108514
110044
  "enum": [
108515
- "fileWatch"
110045
+ "flowError"
108516
110046
  ]
108517
110047
  },
108518
110048
  "config": {
108519
110049
  "type": "object",
108520
110050
  "properties": {
108521
- "path": {
110051
+ "scope": {
108522
110052
  "type": "string",
108523
- "maxLength": 1024
108524
- },
108525
- "fileAdded": {
108526
- "type": "boolean"
108527
- },
108528
- "fileChanged": {
108529
- "type": "boolean"
108530
- },
108531
- "fileRemoved": {
108532
- "type": "boolean"
108533
- },
108534
- "directoryAdded": {
108535
- "type": "boolean"
108536
- },
108537
- "directoryRemoved": {
108538
- "type": "boolean"
110053
+ "enum": [
110054
+ "local",
110055
+ "global",
110056
+ "experience",
110057
+ "cloud"
110058
+ ]
108539
110059
  }
108540
110060
  },
108541
110061
  "additionalProperties": false
@@ -108552,7 +110072,7 @@ Schema for the result of a workflow import request
108552
110072
  "name": {
108553
110073
  "type": "string",
108554
110074
  "enum": [
108555
- "fileWatch"
110075
+ "flowError"
108556
110076
  ]
108557
110077
  },
108558
110078
  "label": {
@@ -108624,19 +110144,17 @@ Schema for the result of a workflow import request
108624
110144
  "type": {
108625
110145
  "type": "string",
108626
110146
  "enum": [
108627
- "flowError"
110147
+ "mqttTopic"
108628
110148
  ]
108629
110149
  },
108630
110150
  "config": {
108631
110151
  "type": "object",
108632
110152
  "properties": {
108633
- "scope": {
110153
+ "integrationId": {
108634
110154
  "type": "string",
108635
110155
  "enum": [
108636
- "local",
108637
- "global",
108638
- "experience",
108639
- "cloud"
110156
+ "losant",
110157
+ "local"
108640
110158
  ]
108641
110159
  }
108642
110160
  },
@@ -108654,7 +110172,7 @@ Schema for the result of a workflow import request
108654
110172
  "name": {
108655
110173
  "type": "string",
108656
110174
  "enum": [
108657
- "flowError"
110175
+ "mqtt"
108658
110176
  ]
108659
110177
  },
108660
110178
  "label": {
@@ -108690,6 +110208,10 @@ Schema for the result of a workflow import request
108690
110208
  "outputCount": {
108691
110209
  "type": "number"
108692
110210
  },
110211
+ "triggerId": {
110212
+ "type": "string",
110213
+ "maxLength": 48
110214
+ },
108693
110215
  "id": {
108694
110216
  "type": "string",
108695
110217
  "maxLength": 48
@@ -108726,18 +110248,24 @@ Schema for the result of a workflow import request
108726
110248
  "type": {
108727
110249
  "type": "string",
108728
110250
  "enum": [
108729
- "mqttTopic"
110251
+ "onSync"
108730
110252
  ]
108731
110253
  },
108732
110254
  "config": {
108733
110255
  "type": "object",
108734
110256
  "properties": {
108735
- "integrationId": {
108736
- "type": "string",
108737
- "enum": [
108738
- "losant",
108739
- "local"
108740
- ]
110257
+ "syncTypes": {
110258
+ "type": "array",
110259
+ "maxItems": 3,
110260
+ "minItems": 1,
110261
+ "items": {
110262
+ "type": "string",
110263
+ "enum": [
110264
+ "application",
110265
+ "device",
110266
+ "peripheral"
110267
+ ]
110268
+ }
108741
110269
  }
108742
110270
  },
108743
110271
  "additionalProperties": false
@@ -108754,7 +110282,7 @@ Schema for the result of a workflow import request
108754
110282
  "name": {
108755
110283
  "type": "string",
108756
110284
  "enum": [
108757
- "mqtt"
110285
+ "onSync"
108758
110286
  ]
108759
110287
  },
108760
110288
  "label": {
@@ -108775,28 +110303,6 @@ Schema for the result of a workflow import request
108775
110303
  "description": {
108776
110304
  "type": "string",
108777
110305
  "maxLength": 32767
108778
- },
108779
- "icon": {
108780
- "type": "string",
108781
- "maxLength": 1024
108782
- },
108783
- "color": {
108784
- "type": "string",
108785
- "maxLength": 1024
108786
- },
108787
- "inputCount": {
108788
- "type": "number"
108789
- },
108790
- "outputCount": {
108791
- "type": "number"
108792
- },
108793
- "triggerId": {
108794
- "type": "string",
108795
- "maxLength": 48
108796
- },
108797
- "id": {
108798
- "type": "string",
108799
- "maxLength": 48
108800
110306
  }
108801
110307
  },
108802
110308
  "additionalProperties": false
@@ -111410,6 +112916,94 @@ Schema for the result of a workflow import request
111410
112916
  ],
111411
112917
  "additionalProperties": false
111412
112918
  },
112919
+ {
112920
+ "type": "object",
112921
+ "properties": {
112922
+ "key": {
112923
+ "type": "string",
112924
+ "maxLength": 1024
112925
+ },
112926
+ "type": {
112927
+ "type": "string",
112928
+ "enum": [
112929
+ "onSync"
112930
+ ]
112931
+ },
112932
+ "config": {
112933
+ "type": "object",
112934
+ "properties": {
112935
+ "syncTypes": {
112936
+ "type": "array",
112937
+ "maxItems": 3,
112938
+ "minItems": 1,
112939
+ "items": {
112940
+ "type": "string",
112941
+ "enum": [
112942
+ "application",
112943
+ "device",
112944
+ "peripheral"
112945
+ ]
112946
+ }
112947
+ }
112948
+ },
112949
+ "additionalProperties": false
112950
+ },
112951
+ "meta": {
112952
+ "type": "object",
112953
+ "properties": {
112954
+ "category": {
112955
+ "type": "string",
112956
+ "enum": [
112957
+ "trigger"
112958
+ ]
112959
+ },
112960
+ "name": {
112961
+ "type": "string",
112962
+ "enum": [
112963
+ "onSync"
112964
+ ]
112965
+ },
112966
+ "label": {
112967
+ "type": "string",
112968
+ "minLength": 1,
112969
+ "maxLength": 255
112970
+ },
112971
+ "x": {
112972
+ "type": "number"
112973
+ },
112974
+ "y": {
112975
+ "type": "number"
112976
+ },
112977
+ "uiId": {
112978
+ "type": "string",
112979
+ "maxLength": 48
112980
+ },
112981
+ "description": {
112982
+ "type": "string",
112983
+ "maxLength": 32767
112984
+ }
112985
+ },
112986
+ "additionalProperties": false
112987
+ },
112988
+ "outputIds": {
112989
+ "type": "array",
112990
+ "items": {
112991
+ "type": "array",
112992
+ "items": {
112993
+ "type": "string",
112994
+ "maxLength": 48,
112995
+ "minLength": 1
112996
+ },
112997
+ "maxItems": 100
112998
+ },
112999
+ "maxItems": 100
113000
+ }
113001
+ },
113002
+ "required": [
113003
+ "type"
113004
+ ],
113005
+ "additionalProperties": false
113006
+ },
111413
113007
  {
111414
113008
  "type": "object",
111415
113009
  "properties": {
@@ -121289,8 +122883,8 @@ Schema for a single Integration
121289
122883
  "properties": {
121290
122884
  "projectId": {
121291
122885
  "type": "string",
121292
- "minLength": 1,
121293
- "maxLength": 1024
122886
+ "maxLength": 255,
122887
+ "minLength": 1
121294
122888
  },
121295
122889
  "keyJson": {
121296
122890
  "type": "string",
@@ -121404,23 +122998,23 @@ Schema for a single Integration
121404
122998
  "properties": {
121405
122999
  "accessKeyId": {
121406
123000
  "type": "string",
121407
- "minLength": 1,
121408
- "maxLength": 1024
123001
+ "min": 4,
123002
+ "max": 128
121409
123003
  },
121410
123004
  "secretAccessKey": {
121411
123005
  "type": "string",
121412
- "minLength": 1,
121413
- "maxLength": 1024
123006
+ "min": 4,
123007
+ "max": 128
121414
123008
  },
121415
123009
  "region": {
121416
123010
  "type": "string",
121417
- "minLength": 1,
121418
- "maxLength": 1024
123011
+ "min": 4,
123012
+ "max": 128
121419
123013
  },
121420
123014
  "queueUrl": {
121421
123015
  "type": "string",
121422
- "minLength": 1,
121423
- "maxLength": 1024
123016
+ "min": 1,
123017
+ "max": 256
121424
123018
  }
121425
123019
  },
121426
123020
  "additionalProperties": false,
@@ -121578,8 +123172,8 @@ Schema for the body of an Integration modification request
121578
123172
  "properties": {
121579
123173
  "projectId": {
121580
123174
  "type": "string",
121581
- "minLength": 1,
121582
- "maxLength": 1024
123175
+ "maxLength": 255,
123176
+ "minLength": 1
121583
123177
  },
121584
123178
  "keyJson": {
121585
123179
  "type": "string",
@@ -121693,23 +123287,23 @@ Schema for the body of an Integration modification request
121693
123287
  "properties": {
121694
123288
  "accessKeyId": {
121695
123289
  "type": "string",
121696
- "minLength": 1,
121697
- "maxLength": 1024
123290
+ "min": 4,
123291
+ "max": 128
121698
123292
  },
121699
123293
  "secretAccessKey": {
121700
123294
  "type": "string",
121701
- "minLength": 1,
121702
- "maxLength": 1024
123295
+ "min": 4,
123296
+ "max": 128
121703
123297
  },
121704
123298
  "region": {
121705
123299
  "type": "string",
121706
- "minLength": 1,
121707
- "maxLength": 1024
123300
+ "min": 4,
123301
+ "max": 128
121708
123302
  },
121709
123303
  "queueUrl": {
121710
123304
  "type": "string",
121711
- "minLength": 1,
121712
- "maxLength": 1024
123305
+ "min": 1,
123306
+ "max": 256
121713
123307
  }
121714
123308
  },
121715
123309
  "additionalProperties": false,
@@ -121805,8 +123399,8 @@ Schema for the body of an Integration creation request
121805
123399
  "properties": {
121806
123400
  "projectId": {
121807
123401
  "type": "string",
121808
- "minLength": 1,
121809
- "maxLength": 1024
123402
+ "maxLength": 255,
123403
+ "minLength": 1
121810
123404
  },
121811
123405
  "keyJson": {
121812
123406
  "type": "string",
@@ -121920,23 +123514,23 @@ Schema for the body of an Integration creation request
121920
123514
  "properties": {
121921
123515
  "accessKeyId": {
121922
123516
  "type": "string",
121923
- "minLength": 1,
121924
- "maxLength": 1024
123517
+ "min": 4,
123518
+ "max": 128
121925
123519
  },
121926
123520
  "secretAccessKey": {
121927
123521
  "type": "string",
121928
- "minLength": 1,
121929
- "maxLength": 1024
123522
+ "min": 4,
123523
+ "max": 128
121930
123524
  },
121931
123525
  "region": {
121932
123526
  "type": "string",
121933
- "minLength": 1,
121934
- "maxLength": 1024
123527
+ "min": 4,
123528
+ "max": 128
121935
123529
  },
121936
123530
  "queueUrl": {
121937
123531
  "type": "string",
121938
- "minLength": 1,
121939
- "maxLength": 1024
123532
+ "min": 1,
123533
+ "max": 256
121940
123534
  }
121941
123535
  },
121942
123536
  "additionalProperties": false,
@@ -122073,8 +123667,8 @@ Schema for a collection of Integrations
122073
123667
  "properties": {
122074
123668
  "projectId": {
122075
123669
  "type": "string",
122076
- "minLength": 1,
122077
- "maxLength": 1024
123670
+ "maxLength": 255,
123671
+ "minLength": 1
122078
123672
  },
122079
123673
  "keyJson": {
122080
123674
  "type": "string",
@@ -122188,23 +123782,23 @@ Schema for a collection of Integrations
122188
123782
  "properties": {
122189
123783
  "accessKeyId": {
122190
123784
  "type": "string",
122191
- "minLength": 1,
122192
- "maxLength": 1024
123785
+ "min": 4,
123786
+ "max": 128
122193
123787
  },
122194
123788
  "secretAccessKey": {
122195
123789
  "type": "string",
122196
- "minLength": 1,
122197
- "maxLength": 1024
123790
+ "min": 4,
123791
+ "max": 128
122198
123792
  },
122199
123793
  "region": {
122200
123794
  "type": "string",
122201
- "minLength": 1,
122202
- "maxLength": 1024
123795
+ "min": 4,
123796
+ "max": 128
122203
123797
  },
122204
123798
  "queueUrl": {
122205
123799
  "type": "string",
122206
- "minLength": 1,
122207
- "maxLength": 1024
123800
+ "min": 1,
123801
+ "max": 256
122208
123802
  }
122209
123803
  },
122210
123804
  "additionalProperties": false,