losant_rest 1.19.6 → 1.19.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -72,7 +72,8 @@
72
72
  "twilio",
73
73
  "loggly",
74
74
  "jwt",
75
- "whatsapp"
75
+ "whatsapp",
76
+ "sql"
76
77
  ]
77
78
  },
78
79
  "awsConfig": {
@@ -218,6 +219,50 @@
218
219
  "required": [
219
220
  "fromNumberId"
220
221
  ]
222
+ },
223
+ "sqlConfig": {
224
+ "type": "object",
225
+ "properties": {
226
+ "system": {
227
+ "type": "string",
228
+ "enum": [
229
+ "mssql",
230
+ "mysql",
231
+ "pg"
232
+ ]
233
+ },
234
+ "host": {
235
+ "type": "string",
236
+ "minLength": 1,
237
+ "maxLength": 256
238
+ },
239
+ "port": {
240
+ "type": "integer",
241
+ "minimum": 1,
242
+ "maximum": 65535
243
+ },
244
+ "username": {
245
+ "type": "string",
246
+ "minLength": 1,
247
+ "maxLength": 256
248
+ },
249
+ "secureConnection": {
250
+ "type": "boolean"
251
+ },
252
+ "caCertificate": {
253
+ "type": "string",
254
+ "maxLength": 8196
255
+ },
256
+ "disableSSLVerification": {
257
+ "type": "boolean"
258
+ }
259
+ },
260
+ "additionalProperties": false,
261
+ "required": [
262
+ "system",
263
+ "host",
264
+ "username"
265
+ ]
221
266
  }
222
267
  },
223
268
  "additionalProperties": false,
@@ -499,7 +499,6 @@
499
499
  "deviceTagConnect",
500
500
  "deviceIdDisconnect",
501
501
  "deviceTagDisconnect",
502
- "integration",
503
502
  "notebook",
504
503
  "onBoot",
505
504
  "onConnect",
@@ -533,21 +532,15 @@
533
532
  "deviceIdsTagsDisconnect",
534
533
  "eeaInit",
535
534
  "flowError",
536
- "azureEventHub",
537
- "googlePubSub",
538
- "mqtt",
539
535
  "notebook",
540
536
  "onBoot",
541
537
  "onConnect",
542
538
  "onDisconnect",
543
- "particle",
544
- "sqs",
545
539
  "udp",
546
540
  "webhook",
547
541
  "resourceJobIteration",
548
542
  "resourceJobIterationTimeout",
549
- "resourceJobComplete",
550
- "websocket"
543
+ "resourceJobComplete"
551
544
  ]
552
545
  },
553
546
  "label": {
@@ -718,6 +711,120 @@
718
711
  ],
719
712
  "additionalProperties": false
720
713
  },
714
+ {
715
+ "type": "object",
716
+ "properties": {
717
+ "key": {
718
+ "type": "string",
719
+ "maxLength": 1024
720
+ },
721
+ "type": {
722
+ "type": "string",
723
+ "enum": [
724
+ "integration"
725
+ ]
726
+ },
727
+ "config": {
728
+ "type": "object",
729
+ "properties": {
730
+ "connect": {
731
+ "type": "boolean"
732
+ },
733
+ "message": {
734
+ "type": "boolean"
735
+ },
736
+ "disconnect": {
737
+ "type": "boolean"
738
+ },
739
+ "failure": {
740
+ "type": "boolean"
741
+ }
742
+ },
743
+ "additionalProperties": false
744
+ },
745
+ "meta": {
746
+ "type": "object",
747
+ "properties": {
748
+ "category": {
749
+ "type": "string",
750
+ "enum": [
751
+ "trigger"
752
+ ]
753
+ },
754
+ "name": {
755
+ "type": "string",
756
+ "enum": [
757
+ "azureEventHub",
758
+ "googlePubSub",
759
+ "mqtt",
760
+ "particle",
761
+ "sqs",
762
+ "websocket"
763
+ ]
764
+ },
765
+ "label": {
766
+ "type": "string",
767
+ "minLength": 1,
768
+ "maxLength": 255
769
+ },
770
+ "x": {
771
+ "type": "number"
772
+ },
773
+ "y": {
774
+ "type": "number"
775
+ },
776
+ "uiId": {
777
+ "type": "string",
778
+ "maxLength": 48
779
+ },
780
+ "description": {
781
+ "type": "string",
782
+ "maxLength": 32767
783
+ },
784
+ "icon": {
785
+ "type": "string",
786
+ "maxLength": 1024
787
+ },
788
+ "color": {
789
+ "type": "string",
790
+ "maxLength": 1024
791
+ },
792
+ "inputCount": {
793
+ "type": "number"
794
+ },
795
+ "outputCount": {
796
+ "type": "number"
797
+ },
798
+ "triggerId": {
799
+ "type": "string",
800
+ "maxLength": 48
801
+ },
802
+ "id": {
803
+ "type": "string",
804
+ "maxLength": 48
805
+ }
806
+ },
807
+ "additionalProperties": false
808
+ },
809
+ "outputIds": {
810
+ "type": "array",
811
+ "items": {
812
+ "type": "array",
813
+ "items": {
814
+ "type": "string",
815
+ "maxLength": 48,
816
+ "minLength": 1
817
+ },
818
+ "maxItems": 100
819
+ },
820
+ "maxItems": 100
821
+ }
822
+ },
823
+ "required": [
824
+ "type"
825
+ ],
826
+ "additionalProperties": false
827
+ },
721
828
  {
722
829
  "type": "object",
723
830
  "properties": {
@@ -3275,7 +3382,6 @@
3275
3382
  "deviceTagConnect",
3276
3383
  "deviceIdDisconnect",
3277
3384
  "deviceTagDisconnect",
3278
- "integration",
3279
3385
  "notebook",
3280
3386
  "onBoot",
3281
3387
  "onConnect",
@@ -3309,21 +3415,15 @@
3309
3415
  "deviceIdsTagsDisconnect",
3310
3416
  "eeaInit",
3311
3417
  "flowError",
3312
- "azureEventHub",
3313
- "googlePubSub",
3314
- "mqtt",
3315
3418
  "notebook",
3316
3419
  "onBoot",
3317
3420
  "onConnect",
3318
3421
  "onDisconnect",
3319
- "particle",
3320
- "sqs",
3321
3422
  "udp",
3322
3423
  "webhook",
3323
3424
  "resourceJobIteration",
3324
3425
  "resourceJobIterationTimeout",
3325
- "resourceJobComplete",
3326
- "websocket"
3426
+ "resourceJobComplete"
3327
3427
  ]
3328
3428
  },
3329
3429
  "label": {
@@ -3494,6 +3594,120 @@
3494
3594
  ],
3495
3595
  "additionalProperties": false
3496
3596
  },
3597
+ {
3598
+ "type": "object",
3599
+ "properties": {
3600
+ "key": {
3601
+ "type": "string",
3602
+ "maxLength": 1024
3603
+ },
3604
+ "type": {
3605
+ "type": "string",
3606
+ "enum": [
3607
+ "integration"
3608
+ ]
3609
+ },
3610
+ "config": {
3611
+ "type": "object",
3612
+ "properties": {
3613
+ "connect": {
3614
+ "type": "boolean"
3615
+ },
3616
+ "message": {
3617
+ "type": "boolean"
3618
+ },
3619
+ "disconnect": {
3620
+ "type": "boolean"
3621
+ },
3622
+ "failure": {
3623
+ "type": "boolean"
3624
+ }
3625
+ },
3626
+ "additionalProperties": false
3627
+ },
3628
+ "meta": {
3629
+ "type": "object",
3630
+ "properties": {
3631
+ "category": {
3632
+ "type": "string",
3633
+ "enum": [
3634
+ "trigger"
3635
+ ]
3636
+ },
3637
+ "name": {
3638
+ "type": "string",
3639
+ "enum": [
3640
+ "azureEventHub",
3641
+ "googlePubSub",
3642
+ "mqtt",
3643
+ "particle",
3644
+ "sqs",
3645
+ "websocket"
3646
+ ]
3647
+ },
3648
+ "label": {
3649
+ "type": "string",
3650
+ "minLength": 1,
3651
+ "maxLength": 255
3652
+ },
3653
+ "x": {
3654
+ "type": "number"
3655
+ },
3656
+ "y": {
3657
+ "type": "number"
3658
+ },
3659
+ "uiId": {
3660
+ "type": "string",
3661
+ "maxLength": 48
3662
+ },
3663
+ "description": {
3664
+ "type": "string",
3665
+ "maxLength": 32767
3666
+ },
3667
+ "icon": {
3668
+ "type": "string",
3669
+ "maxLength": 1024
3670
+ },
3671
+ "color": {
3672
+ "type": "string",
3673
+ "maxLength": 1024
3674
+ },
3675
+ "inputCount": {
3676
+ "type": "number"
3677
+ },
3678
+ "outputCount": {
3679
+ "type": "number"
3680
+ },
3681
+ "triggerId": {
3682
+ "type": "string",
3683
+ "maxLength": 48
3684
+ },
3685
+ "id": {
3686
+ "type": "string",
3687
+ "maxLength": 48
3688
+ }
3689
+ },
3690
+ "additionalProperties": false
3691
+ },
3692
+ "outputIds": {
3693
+ "type": "array",
3694
+ "items": {
3695
+ "type": "array",
3696
+ "items": {
3697
+ "type": "string",
3698
+ "maxLength": 48,
3699
+ "minLength": 1
3700
+ },
3701
+ "maxItems": 100
3702
+ },
3703
+ "maxItems": 100
3704
+ }
3705
+ },
3706
+ "required": [
3707
+ "type"
3708
+ ],
3709
+ "additionalProperties": false
3710
+ },
3497
3711
  {
3498
3712
  "type": "object",
3499
3713
  "properties": {
@@ -5960,7 +6174,6 @@
5960
6174
  "deviceTagConnect",
5961
6175
  "deviceIdDisconnect",
5962
6176
  "deviceTagDisconnect",
5963
- "integration",
5964
6177
  "notebook",
5965
6178
  "onBoot",
5966
6179
  "onConnect",
@@ -5994,21 +6207,15 @@
5994
6207
  "deviceIdsTagsDisconnect",
5995
6208
  "eeaInit",
5996
6209
  "flowError",
5997
- "azureEventHub",
5998
- "googlePubSub",
5999
- "mqtt",
6000
6210
  "notebook",
6001
6211
  "onBoot",
6002
6212
  "onConnect",
6003
6213
  "onDisconnect",
6004
- "particle",
6005
- "sqs",
6006
6214
  "udp",
6007
6215
  "webhook",
6008
6216
  "resourceJobIteration",
6009
6217
  "resourceJobIterationTimeout",
6010
- "resourceJobComplete",
6011
- "websocket"
6218
+ "resourceJobComplete"
6012
6219
  ]
6013
6220
  },
6014
6221
  "label": {
@@ -6179,6 +6386,120 @@
6179
6386
  ],
6180
6387
  "additionalProperties": false
6181
6388
  },
6389
+ {
6390
+ "type": "object",
6391
+ "properties": {
6392
+ "key": {
6393
+ "type": "string",
6394
+ "maxLength": 1024
6395
+ },
6396
+ "type": {
6397
+ "type": "string",
6398
+ "enum": [
6399
+ "integration"
6400
+ ]
6401
+ },
6402
+ "config": {
6403
+ "type": "object",
6404
+ "properties": {
6405
+ "connect": {
6406
+ "type": "boolean"
6407
+ },
6408
+ "message": {
6409
+ "type": "boolean"
6410
+ },
6411
+ "disconnect": {
6412
+ "type": "boolean"
6413
+ },
6414
+ "failure": {
6415
+ "type": "boolean"
6416
+ }
6417
+ },
6418
+ "additionalProperties": false
6419
+ },
6420
+ "meta": {
6421
+ "type": "object",
6422
+ "properties": {
6423
+ "category": {
6424
+ "type": "string",
6425
+ "enum": [
6426
+ "trigger"
6427
+ ]
6428
+ },
6429
+ "name": {
6430
+ "type": "string",
6431
+ "enum": [
6432
+ "azureEventHub",
6433
+ "googlePubSub",
6434
+ "mqtt",
6435
+ "particle",
6436
+ "sqs",
6437
+ "websocket"
6438
+ ]
6439
+ },
6440
+ "label": {
6441
+ "type": "string",
6442
+ "minLength": 1,
6443
+ "maxLength": 255
6444
+ },
6445
+ "x": {
6446
+ "type": "number"
6447
+ },
6448
+ "y": {
6449
+ "type": "number"
6450
+ },
6451
+ "uiId": {
6452
+ "type": "string",
6453
+ "maxLength": 48
6454
+ },
6455
+ "description": {
6456
+ "type": "string",
6457
+ "maxLength": 32767
6458
+ },
6459
+ "icon": {
6460
+ "type": "string",
6461
+ "maxLength": 1024
6462
+ },
6463
+ "color": {
6464
+ "type": "string",
6465
+ "maxLength": 1024
6466
+ },
6467
+ "inputCount": {
6468
+ "type": "number"
6469
+ },
6470
+ "outputCount": {
6471
+ "type": "number"
6472
+ },
6473
+ "triggerId": {
6474
+ "type": "string",
6475
+ "maxLength": 48
6476
+ },
6477
+ "id": {
6478
+ "type": "string",
6479
+ "maxLength": 48
6480
+ }
6481
+ },
6482
+ "additionalProperties": false
6483
+ },
6484
+ "outputIds": {
6485
+ "type": "array",
6486
+ "items": {
6487
+ "type": "array",
6488
+ "items": {
6489
+ "type": "string",
6490
+ "maxLength": 48,
6491
+ "minLength": 1
6492
+ },
6493
+ "maxItems": 100
6494
+ },
6495
+ "maxItems": 100
6496
+ }
6497
+ },
6498
+ "required": [
6499
+ "type"
6500
+ ],
6501
+ "additionalProperties": false
6502
+ },
6182
6503
  {
6183
6504
  "type": "object",
6184
6505
  "properties": {
@@ -94,6 +94,70 @@
94
94
  ]
95
95
  }
96
96
  },
97
+ "notFoundReply": {
98
+ "oneOf": [
99
+ {
100
+ "type": "object",
101
+ "properties": {
102
+ "value": {
103
+ "type": "string"
104
+ },
105
+ "statusCode": {
106
+ "type": "integer",
107
+ "minimum": 100,
108
+ "maximum": 599
109
+ },
110
+ "type": {
111
+ "type": "string",
112
+ "enum": [
113
+ "page",
114
+ "redirect"
115
+ ]
116
+ }
117
+ },
118
+ "required": [
119
+ "value",
120
+ "type"
121
+ ],
122
+ "additionalProperties": false
123
+ },
124
+ {
125
+ "type": "null"
126
+ }
127
+ ]
128
+ },
129
+ "unauthorizedReply": {
130
+ "oneOf": [
131
+ {
132
+ "type": "object",
133
+ "properties": {
134
+ "value": {
135
+ "type": "string"
136
+ },
137
+ "statusCode": {
138
+ "type": "integer",
139
+ "minimum": 100,
140
+ "maximum": 599
141
+ },
142
+ "type": {
143
+ "type": "string",
144
+ "enum": [
145
+ "page",
146
+ "redirect"
147
+ ]
148
+ }
149
+ },
150
+ "required": [
151
+ "value",
152
+ "type"
153
+ ],
154
+ "additionalProperties": false
155
+ },
156
+ {
157
+ "type": "null"
158
+ }
159
+ ]
160
+ },
97
161
  "attachedDomains": {
98
162
  "type": "array",
99
163
  "items": {
@@ -41,6 +41,70 @@
41
41
  ]
42
42
  }
43
43
  },
44
+ "notFoundReply": {
45
+ "oneOf": [
46
+ {
47
+ "type": "object",
48
+ "properties": {
49
+ "value": {
50
+ "type": "string"
51
+ },
52
+ "statusCode": {
53
+ "type": "integer",
54
+ "minimum": 100,
55
+ "maximum": 599
56
+ },
57
+ "type": {
58
+ "type": "string",
59
+ "enum": [
60
+ "page",
61
+ "redirect"
62
+ ]
63
+ }
64
+ },
65
+ "required": [
66
+ "value",
67
+ "type"
68
+ ],
69
+ "additionalProperties": false
70
+ },
71
+ {
72
+ "type": "null"
73
+ }
74
+ ]
75
+ },
76
+ "unauthorizedReply": {
77
+ "oneOf": [
78
+ {
79
+ "type": "object",
80
+ "properties": {
81
+ "value": {
82
+ "type": "string"
83
+ },
84
+ "statusCode": {
85
+ "type": "integer",
86
+ "minimum": 100,
87
+ "maximum": 599
88
+ },
89
+ "type": {
90
+ "type": "string",
91
+ "enum": [
92
+ "page",
93
+ "redirect"
94
+ ]
95
+ }
96
+ },
97
+ "required": [
98
+ "value",
99
+ "type"
100
+ ],
101
+ "additionalProperties": false
102
+ },
103
+ {
104
+ "type": "null"
105
+ }
106
+ ]
107
+ },
44
108
  "description": {
45
109
  "type": "string",
46
110
  "maxLength": 32767