losant_rest 1.16.1 → 1.16.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +5525 -738
  3. data/docs/applications.md +1 -1
  4. data/docs/dashboard.md +2 -0
  5. data/docs/device.md +4 -0
  6. data/docs/devices.md +4 -0
  7. data/docs/instanceSandbox.md +135 -0
  8. data/docs/instanceSandboxes.md +55 -0
  9. data/docs/me.md +36 -0
  10. data/lib/losant_rest/client.rb +10 -2
  11. data/lib/losant_rest/dashboard.rb +4 -0
  12. data/lib/losant_rest/device.rb +8 -0
  13. data/lib/losant_rest/devices.rb +8 -0
  14. data/lib/losant_rest/instance_sandbox.rb +181 -0
  15. data/lib/losant_rest/instance_sandboxes.rb +98 -0
  16. data/lib/losant_rest/me.rb +41 -0
  17. data/lib/losant_rest/version.rb +1 -1
  18. data/lib/losant_rest.rb +2 -0
  19. data/schemas/advancedApplicationKeyQuery.json +88 -0
  20. data/schemas/advancedDeviceQuery.json +264 -0
  21. data/schemas/advancedEventQuery.json +88 -0
  22. data/schemas/advancedFlowByVersionQuery.json +88 -0
  23. data/schemas/advancedFlowQuery.json +88 -0
  24. data/schemas/advancedFlowVersionQuery.json +44 -0
  25. data/schemas/apiTokenPost.json +8 -1
  26. data/schemas/applicationDashboardPost.json +155 -24
  27. data/schemas/applicationExportPost.json +1 -0
  28. data/schemas/applicationSearchResult.json +2 -1
  29. data/schemas/applicationTemplateCategories.json +11 -0
  30. data/schemas/applicationTemplateCategory.json +11 -0
  31. data/schemas/dashboard.json +155 -24
  32. data/schemas/dashboardPatch.json +155 -24
  33. data/schemas/dashboardPost.json +155 -24
  34. data/schemas/dashboardSendReport.json +3 -0
  35. data/schemas/dashboards.json +155 -24
  36. data/schemas/dataExport.json +1 -0
  37. data/schemas/dataTableRowsExport.json +5 -0
  38. data/schemas/deviceRecipeBulkCreatePost.json +5 -0
  39. data/schemas/devicesDeletePost.json +269 -0
  40. data/schemas/devicesExportPayloadCountPost.json +265 -0
  41. data/schemas/devicesExportPost.json +265 -0
  42. data/schemas/devicesPatch.json +269 -0
  43. data/schemas/devicesRemoveDataPost.json +264 -0
  44. data/schemas/embeddedDeploymentExport.json +5 -0
  45. data/schemas/enableTwoFactorAuth.json +5 -1
  46. data/schemas/eventsExport.json +89 -0
  47. data/schemas/experienceLinkedResources.json +3 -0
  48. data/schemas/experienceUser.json +11 -0
  49. data/schemas/experienceUsers.json +11 -0
  50. data/schemas/experienceVersion.json +27 -0
  51. data/schemas/experienceVersionPatch.json +27 -0
  52. data/schemas/experienceVersionPost.json +39 -0
  53. data/schemas/experienceVersions.json +27 -0
  54. data/schemas/flow.json +1 -0
  55. data/schemas/flowPatch.json +1 -0
  56. data/schemas/flowPost.json +1 -0
  57. data/schemas/flowVersion.json +2 -0
  58. data/schemas/flowVersionPost.json +1 -0
  59. data/schemas/flowVersions.json +2 -0
  60. data/schemas/flowVersionsDeletePost.json +49 -0
  61. data/schemas/flows.json +1 -0
  62. data/schemas/flowsImportPost.json +2 -0
  63. data/schemas/flowsImportResult.json +3 -0
  64. data/schemas/githubLogin.json +8 -1
  65. data/schemas/importIntoApplicationOptions.json +58 -0
  66. data/schemas/importNewApplicationOptions.json +45 -0
  67. data/schemas/instance.json +1 -0
  68. data/schemas/instanceCustomNodePatch.json +1 -0
  69. data/schemas/instanceCustomNodePost.json +1 -0
  70. data/schemas/instanceOrg.json +30 -0
  71. data/schemas/instanceOrgPatch.json +29 -0
  72. data/schemas/instanceOrgPost.json +29 -0
  73. data/schemas/instanceOrgs.json +30 -0
  74. data/schemas/instancePatch.json +1 -0
  75. data/schemas/instanceReportOptionsPost.json +1 -0
  76. data/schemas/instanceSandbox.json +423 -0
  77. data/schemas/instanceSandboxes.json +48 -0
  78. data/schemas/integration.json +34 -1
  79. data/schemas/integrationPatch.json +34 -1
  80. data/schemas/integrationPost.json +34 -1
  81. data/schemas/integrations.json +34 -1
  82. data/schemas/multiDeviceCommand.json +264 -0
  83. data/schemas/notebookDataExportOptions.json +5 -0
  84. data/schemas/org.json +17 -0
  85. data/schemas/orgs.json +17 -0
  86. data/schemas/samlResponse.json +432 -0
  87. data/schemas/twoFactorAuthInfo.json +15 -0
  88. data/schemas/userCredentials.json +8 -1
  89. data/schemas/userPost.json +8 -1
  90. data/schemas/validateContextError.json +3 -0
  91. data/schemas/validateContextSuccess.json +27 -0
  92. metadata +12 -3
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "callbackUrl": {
11
11
  "type": "string",
12
+ "format": "uri",
12
13
  "maxLength": 1024
13
14
  },
14
15
  "query": {
@@ -75,6 +76,50 @@
75
76
  }
76
77
  ]
77
78
  },
79
+ "$gt": {
80
+ "oneOf": [
81
+ {
82
+ "type": "string",
83
+ "pattern": "^[A-Fa-f\\d]{24}$"
84
+ },
85
+ {
86
+ "type": "null"
87
+ }
88
+ ]
89
+ },
90
+ "$lt": {
91
+ "oneOf": [
92
+ {
93
+ "type": "string",
94
+ "pattern": "^[A-Fa-f\\d]{24}$"
95
+ },
96
+ {
97
+ "type": "null"
98
+ }
99
+ ]
100
+ },
101
+ "$gte": {
102
+ "oneOf": [
103
+ {
104
+ "type": "string",
105
+ "pattern": "^[A-Fa-f\\d]{24}$"
106
+ },
107
+ {
108
+ "type": "null"
109
+ }
110
+ ]
111
+ },
112
+ "$lte": {
113
+ "oneOf": [
114
+ {
115
+ "type": "string",
116
+ "pattern": "^[A-Fa-f\\d]{24}$"
117
+ },
118
+ {
119
+ "type": "null"
120
+ }
121
+ ]
122
+ },
78
123
  "$in": {
79
124
  "type": "array",
80
125
  "maxItems": 100,
@@ -548,6 +593,50 @@
548
593
  }
549
594
  ]
550
595
  },
596
+ "$gt": {
597
+ "oneOf": [
598
+ {
599
+ "type": "string",
600
+ "pattern": "^[A-Fa-f\\d]{24}$"
601
+ },
602
+ {
603
+ "type": "null"
604
+ }
605
+ ]
606
+ },
607
+ "$lt": {
608
+ "oneOf": [
609
+ {
610
+ "type": "string",
611
+ "pattern": "^[A-Fa-f\\d]{24}$"
612
+ },
613
+ {
614
+ "type": "null"
615
+ }
616
+ ]
617
+ },
618
+ "$gte": {
619
+ "oneOf": [
620
+ {
621
+ "type": "string",
622
+ "pattern": "^[A-Fa-f\\d]{24}$"
623
+ },
624
+ {
625
+ "type": "null"
626
+ }
627
+ ]
628
+ },
629
+ "$lte": {
630
+ "oneOf": [
631
+ {
632
+ "type": "string",
633
+ "pattern": "^[A-Fa-f\\d]{24}$"
634
+ },
635
+ {
636
+ "type": "null"
637
+ }
638
+ ]
639
+ },
551
640
  "$in": {
552
641
  "type": "array",
553
642
  "maxItems": 100,
@@ -609,6 +698,50 @@
609
698
  }
610
699
  ]
611
700
  },
701
+ "$gt": {
702
+ "oneOf": [
703
+ {
704
+ "type": "string",
705
+ "pattern": "^[A-Fa-f\\d]{24}$"
706
+ },
707
+ {
708
+ "type": "null"
709
+ }
710
+ ]
711
+ },
712
+ "$lt": {
713
+ "oneOf": [
714
+ {
715
+ "type": "string",
716
+ "pattern": "^[A-Fa-f\\d]{24}$"
717
+ },
718
+ {
719
+ "type": "null"
720
+ }
721
+ ]
722
+ },
723
+ "$gte": {
724
+ "oneOf": [
725
+ {
726
+ "type": "string",
727
+ "pattern": "^[A-Fa-f\\d]{24}$"
728
+ },
729
+ {
730
+ "type": "null"
731
+ }
732
+ ]
733
+ },
734
+ "$lte": {
735
+ "oneOf": [
736
+ {
737
+ "type": "string",
738
+ "pattern": "^[A-Fa-f\\d]{24}$"
739
+ },
740
+ {
741
+ "type": "null"
742
+ }
743
+ ]
744
+ },
612
745
  "$in": {
613
746
  "type": "array",
614
747
  "maxItems": 100,
@@ -670,6 +803,50 @@
670
803
  }
671
804
  ]
672
805
  },
806
+ "$gt": {
807
+ "oneOf": [
808
+ {
809
+ "type": "string",
810
+ "pattern": "^[A-Fa-f\\d]{24}$"
811
+ },
812
+ {
813
+ "type": "null"
814
+ }
815
+ ]
816
+ },
817
+ "$lt": {
818
+ "oneOf": [
819
+ {
820
+ "type": "string",
821
+ "pattern": "^[A-Fa-f\\d]{24}$"
822
+ },
823
+ {
824
+ "type": "null"
825
+ }
826
+ ]
827
+ },
828
+ "$gte": {
829
+ "oneOf": [
830
+ {
831
+ "type": "string",
832
+ "pattern": "^[A-Fa-f\\d]{24}$"
833
+ },
834
+ {
835
+ "type": "null"
836
+ }
837
+ ]
838
+ },
839
+ "$lte": {
840
+ "oneOf": [
841
+ {
842
+ "type": "string",
843
+ "pattern": "^[A-Fa-f\\d]{24}$"
844
+ },
845
+ {
846
+ "type": "null"
847
+ }
848
+ ]
849
+ },
673
850
  "$in": {
674
851
  "type": "array",
675
852
  "maxItems": 100,
@@ -834,6 +1011,50 @@
834
1011
  }
835
1012
  ]
836
1013
  },
1014
+ "$gt": {
1015
+ "oneOf": [
1016
+ {
1017
+ "type": "string",
1018
+ "pattern": "^[A-Fa-f\\d]{24}$"
1019
+ },
1020
+ {
1021
+ "type": "null"
1022
+ }
1023
+ ]
1024
+ },
1025
+ "$lt": {
1026
+ "oneOf": [
1027
+ {
1028
+ "type": "string",
1029
+ "pattern": "^[A-Fa-f\\d]{24}$"
1030
+ },
1031
+ {
1032
+ "type": "null"
1033
+ }
1034
+ ]
1035
+ },
1036
+ "$gte": {
1037
+ "oneOf": [
1038
+ {
1039
+ "type": "string",
1040
+ "pattern": "^[A-Fa-f\\d]{24}$"
1041
+ },
1042
+ {
1043
+ "type": "null"
1044
+ }
1045
+ ]
1046
+ },
1047
+ "$lte": {
1048
+ "oneOf": [
1049
+ {
1050
+ "type": "string",
1051
+ "pattern": "^[A-Fa-f\\d]{24}$"
1052
+ },
1053
+ {
1054
+ "type": "null"
1055
+ }
1056
+ ]
1057
+ },
837
1058
  "$in": {
838
1059
  "type": "array",
839
1060
  "maxItems": 100,
@@ -895,6 +1116,50 @@
895
1116
  }
896
1117
  ]
897
1118
  },
1119
+ "$gt": {
1120
+ "oneOf": [
1121
+ {
1122
+ "type": "string",
1123
+ "pattern": "^[A-Fa-f\\d]{24}$"
1124
+ },
1125
+ {
1126
+ "type": "null"
1127
+ }
1128
+ ]
1129
+ },
1130
+ "$lt": {
1131
+ "oneOf": [
1132
+ {
1133
+ "type": "string",
1134
+ "pattern": "^[A-Fa-f\\d]{24}$"
1135
+ },
1136
+ {
1137
+ "type": "null"
1138
+ }
1139
+ ]
1140
+ },
1141
+ "$gte": {
1142
+ "oneOf": [
1143
+ {
1144
+ "type": "string",
1145
+ "pattern": "^[A-Fa-f\\d]{24}$"
1146
+ },
1147
+ {
1148
+ "type": "null"
1149
+ }
1150
+ ]
1151
+ },
1152
+ "$lte": {
1153
+ "oneOf": [
1154
+ {
1155
+ "type": "string",
1156
+ "pattern": "^[A-Fa-f\\d]{24}$"
1157
+ },
1158
+ {
1159
+ "type": "null"
1160
+ }
1161
+ ]
1162
+ },
898
1163
  "$in": {
899
1164
  "type": "array",
900
1165
  "maxItems": 100,
@@ -278,6 +278,50 @@
278
278
  }
279
279
  ]
280
280
  },
281
+ "$gt": {
282
+ "oneOf": [
283
+ {
284
+ "type": "string",
285
+ "pattern": "^[A-Fa-f\\d]{24}$"
286
+ },
287
+ {
288
+ "type": "null"
289
+ }
290
+ ]
291
+ },
292
+ "$lt": {
293
+ "oneOf": [
294
+ {
295
+ "type": "string",
296
+ "pattern": "^[A-Fa-f\\d]{24}$"
297
+ },
298
+ {
299
+ "type": "null"
300
+ }
301
+ ]
302
+ },
303
+ "$gte": {
304
+ "oneOf": [
305
+ {
306
+ "type": "string",
307
+ "pattern": "^[A-Fa-f\\d]{24}$"
308
+ },
309
+ {
310
+ "type": "null"
311
+ }
312
+ ]
313
+ },
314
+ "$lte": {
315
+ "oneOf": [
316
+ {
317
+ "type": "string",
318
+ "pattern": "^[A-Fa-f\\d]{24}$"
319
+ },
320
+ {
321
+ "type": "null"
322
+ }
323
+ ]
324
+ },
281
325
  "$in": {
282
326
  "type": "array",
283
327
  "maxItems": 100,
@@ -751,6 +795,50 @@
751
795
  }
752
796
  ]
753
797
  },
798
+ "$gt": {
799
+ "oneOf": [
800
+ {
801
+ "type": "string",
802
+ "pattern": "^[A-Fa-f\\d]{24}$"
803
+ },
804
+ {
805
+ "type": "null"
806
+ }
807
+ ]
808
+ },
809
+ "$lt": {
810
+ "oneOf": [
811
+ {
812
+ "type": "string",
813
+ "pattern": "^[A-Fa-f\\d]{24}$"
814
+ },
815
+ {
816
+ "type": "null"
817
+ }
818
+ ]
819
+ },
820
+ "$gte": {
821
+ "oneOf": [
822
+ {
823
+ "type": "string",
824
+ "pattern": "^[A-Fa-f\\d]{24}$"
825
+ },
826
+ {
827
+ "type": "null"
828
+ }
829
+ ]
830
+ },
831
+ "$lte": {
832
+ "oneOf": [
833
+ {
834
+ "type": "string",
835
+ "pattern": "^[A-Fa-f\\d]{24}$"
836
+ },
837
+ {
838
+ "type": "null"
839
+ }
840
+ ]
841
+ },
754
842
  "$in": {
755
843
  "type": "array",
756
844
  "maxItems": 100,
@@ -812,6 +900,50 @@
812
900
  }
813
901
  ]
814
902
  },
903
+ "$gt": {
904
+ "oneOf": [
905
+ {
906
+ "type": "string",
907
+ "pattern": "^[A-Fa-f\\d]{24}$"
908
+ },
909
+ {
910
+ "type": "null"
911
+ }
912
+ ]
913
+ },
914
+ "$lt": {
915
+ "oneOf": [
916
+ {
917
+ "type": "string",
918
+ "pattern": "^[A-Fa-f\\d]{24}$"
919
+ },
920
+ {
921
+ "type": "null"
922
+ }
923
+ ]
924
+ },
925
+ "$gte": {
926
+ "oneOf": [
927
+ {
928
+ "type": "string",
929
+ "pattern": "^[A-Fa-f\\d]{24}$"
930
+ },
931
+ {
932
+ "type": "null"
933
+ }
934
+ ]
935
+ },
936
+ "$lte": {
937
+ "oneOf": [
938
+ {
939
+ "type": "string",
940
+ "pattern": "^[A-Fa-f\\d]{24}$"
941
+ },
942
+ {
943
+ "type": "null"
944
+ }
945
+ ]
946
+ },
815
947
  "$in": {
816
948
  "type": "array",
817
949
  "maxItems": 100,
@@ -873,6 +1005,50 @@
873
1005
  }
874
1006
  ]
875
1007
  },
1008
+ "$gt": {
1009
+ "oneOf": [
1010
+ {
1011
+ "type": "string",
1012
+ "pattern": "^[A-Fa-f\\d]{24}$"
1013
+ },
1014
+ {
1015
+ "type": "null"
1016
+ }
1017
+ ]
1018
+ },
1019
+ "$lt": {
1020
+ "oneOf": [
1021
+ {
1022
+ "type": "string",
1023
+ "pattern": "^[A-Fa-f\\d]{24}$"
1024
+ },
1025
+ {
1026
+ "type": "null"
1027
+ }
1028
+ ]
1029
+ },
1030
+ "$gte": {
1031
+ "oneOf": [
1032
+ {
1033
+ "type": "string",
1034
+ "pattern": "^[A-Fa-f\\d]{24}$"
1035
+ },
1036
+ {
1037
+ "type": "null"
1038
+ }
1039
+ ]
1040
+ },
1041
+ "$lte": {
1042
+ "oneOf": [
1043
+ {
1044
+ "type": "string",
1045
+ "pattern": "^[A-Fa-f\\d]{24}$"
1046
+ },
1047
+ {
1048
+ "type": "null"
1049
+ }
1050
+ ]
1051
+ },
876
1052
  "$in": {
877
1053
  "type": "array",
878
1054
  "maxItems": 100,
@@ -1037,6 +1213,50 @@
1037
1213
  }
1038
1214
  ]
1039
1215
  },
1216
+ "$gt": {
1217
+ "oneOf": [
1218
+ {
1219
+ "type": "string",
1220
+ "pattern": "^[A-Fa-f\\d]{24}$"
1221
+ },
1222
+ {
1223
+ "type": "null"
1224
+ }
1225
+ ]
1226
+ },
1227
+ "$lt": {
1228
+ "oneOf": [
1229
+ {
1230
+ "type": "string",
1231
+ "pattern": "^[A-Fa-f\\d]{24}$"
1232
+ },
1233
+ {
1234
+ "type": "null"
1235
+ }
1236
+ ]
1237
+ },
1238
+ "$gte": {
1239
+ "oneOf": [
1240
+ {
1241
+ "type": "string",
1242
+ "pattern": "^[A-Fa-f\\d]{24}$"
1243
+ },
1244
+ {
1245
+ "type": "null"
1246
+ }
1247
+ ]
1248
+ },
1249
+ "$lte": {
1250
+ "oneOf": [
1251
+ {
1252
+ "type": "string",
1253
+ "pattern": "^[A-Fa-f\\d]{24}$"
1254
+ },
1255
+ {
1256
+ "type": "null"
1257
+ }
1258
+ ]
1259
+ },
1040
1260
  "$in": {
1041
1261
  "type": "array",
1042
1262
  "maxItems": 100,
@@ -1098,6 +1318,50 @@
1098
1318
  }
1099
1319
  ]
1100
1320
  },
1321
+ "$gt": {
1322
+ "oneOf": [
1323
+ {
1324
+ "type": "string",
1325
+ "pattern": "^[A-Fa-f\\d]{24}$"
1326
+ },
1327
+ {
1328
+ "type": "null"
1329
+ }
1330
+ ]
1331
+ },
1332
+ "$lt": {
1333
+ "oneOf": [
1334
+ {
1335
+ "type": "string",
1336
+ "pattern": "^[A-Fa-f\\d]{24}$"
1337
+ },
1338
+ {
1339
+ "type": "null"
1340
+ }
1341
+ ]
1342
+ },
1343
+ "$gte": {
1344
+ "oneOf": [
1345
+ {
1346
+ "type": "string",
1347
+ "pattern": "^[A-Fa-f\\d]{24}$"
1348
+ },
1349
+ {
1350
+ "type": "null"
1351
+ }
1352
+ ]
1353
+ },
1354
+ "$lte": {
1355
+ "oneOf": [
1356
+ {
1357
+ "type": "string",
1358
+ "pattern": "^[A-Fa-f\\d]{24}$"
1359
+ },
1360
+ {
1361
+ "type": "null"
1362
+ }
1363
+ ]
1364
+ },
1101
1365
  "$in": {
1102
1366
  "type": "array",
1103
1367
  "maxItems": 100,
@@ -2279,6 +2543,11 @@
2279
2543
  "type": "string",
2280
2544
  "format": "email",
2281
2545
  "maxLength": 1024
2546
+ },
2547
+ "callbackUrl": {
2548
+ "type": "string",
2549
+ "format": "uri",
2550
+ "maxLength": 1024
2282
2551
  }
2283
2552
  },
2284
2553
  "additionalProperties": false,