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
@@ -121,6 +121,50 @@
121
121
  }
122
122
  ]
123
123
  },
124
+ "$gt": {
125
+ "oneOf": [
126
+ {
127
+ "type": "string",
128
+ "pattern": "^[A-Fa-f\\d]{24}$"
129
+ },
130
+ {
131
+ "type": "null"
132
+ }
133
+ ]
134
+ },
135
+ "$lt": {
136
+ "oneOf": [
137
+ {
138
+ "type": "string",
139
+ "pattern": "^[A-Fa-f\\d]{24}$"
140
+ },
141
+ {
142
+ "type": "null"
143
+ }
144
+ ]
145
+ },
146
+ "$gte": {
147
+ "oneOf": [
148
+ {
149
+ "type": "string",
150
+ "pattern": "^[A-Fa-f\\d]{24}$"
151
+ },
152
+ {
153
+ "type": "null"
154
+ }
155
+ ]
156
+ },
157
+ "$lte": {
158
+ "oneOf": [
159
+ {
160
+ "type": "string",
161
+ "pattern": "^[A-Fa-f\\d]{24}$"
162
+ },
163
+ {
164
+ "type": "null"
165
+ }
166
+ ]
167
+ },
124
168
  "$in": {
125
169
  "type": "array",
126
170
  "maxItems": 100,
@@ -594,6 +638,50 @@
594
638
  }
595
639
  ]
596
640
  },
641
+ "$gt": {
642
+ "oneOf": [
643
+ {
644
+ "type": "string",
645
+ "pattern": "^[A-Fa-f\\d]{24}$"
646
+ },
647
+ {
648
+ "type": "null"
649
+ }
650
+ ]
651
+ },
652
+ "$lt": {
653
+ "oneOf": [
654
+ {
655
+ "type": "string",
656
+ "pattern": "^[A-Fa-f\\d]{24}$"
657
+ },
658
+ {
659
+ "type": "null"
660
+ }
661
+ ]
662
+ },
663
+ "$gte": {
664
+ "oneOf": [
665
+ {
666
+ "type": "string",
667
+ "pattern": "^[A-Fa-f\\d]{24}$"
668
+ },
669
+ {
670
+ "type": "null"
671
+ }
672
+ ]
673
+ },
674
+ "$lte": {
675
+ "oneOf": [
676
+ {
677
+ "type": "string",
678
+ "pattern": "^[A-Fa-f\\d]{24}$"
679
+ },
680
+ {
681
+ "type": "null"
682
+ }
683
+ ]
684
+ },
597
685
  "$in": {
598
686
  "type": "array",
599
687
  "maxItems": 100,
@@ -655,6 +743,50 @@
655
743
  }
656
744
  ]
657
745
  },
746
+ "$gt": {
747
+ "oneOf": [
748
+ {
749
+ "type": "string",
750
+ "pattern": "^[A-Fa-f\\d]{24}$"
751
+ },
752
+ {
753
+ "type": "null"
754
+ }
755
+ ]
756
+ },
757
+ "$lt": {
758
+ "oneOf": [
759
+ {
760
+ "type": "string",
761
+ "pattern": "^[A-Fa-f\\d]{24}$"
762
+ },
763
+ {
764
+ "type": "null"
765
+ }
766
+ ]
767
+ },
768
+ "$gte": {
769
+ "oneOf": [
770
+ {
771
+ "type": "string",
772
+ "pattern": "^[A-Fa-f\\d]{24}$"
773
+ },
774
+ {
775
+ "type": "null"
776
+ }
777
+ ]
778
+ },
779
+ "$lte": {
780
+ "oneOf": [
781
+ {
782
+ "type": "string",
783
+ "pattern": "^[A-Fa-f\\d]{24}$"
784
+ },
785
+ {
786
+ "type": "null"
787
+ }
788
+ ]
789
+ },
658
790
  "$in": {
659
791
  "type": "array",
660
792
  "maxItems": 100,
@@ -716,6 +848,50 @@
716
848
  }
717
849
  ]
718
850
  },
851
+ "$gt": {
852
+ "oneOf": [
853
+ {
854
+ "type": "string",
855
+ "pattern": "^[A-Fa-f\\d]{24}$"
856
+ },
857
+ {
858
+ "type": "null"
859
+ }
860
+ ]
861
+ },
862
+ "$lt": {
863
+ "oneOf": [
864
+ {
865
+ "type": "string",
866
+ "pattern": "^[A-Fa-f\\d]{24}$"
867
+ },
868
+ {
869
+ "type": "null"
870
+ }
871
+ ]
872
+ },
873
+ "$gte": {
874
+ "oneOf": [
875
+ {
876
+ "type": "string",
877
+ "pattern": "^[A-Fa-f\\d]{24}$"
878
+ },
879
+ {
880
+ "type": "null"
881
+ }
882
+ ]
883
+ },
884
+ "$lte": {
885
+ "oneOf": [
886
+ {
887
+ "type": "string",
888
+ "pattern": "^[A-Fa-f\\d]{24}$"
889
+ },
890
+ {
891
+ "type": "null"
892
+ }
893
+ ]
894
+ },
719
895
  "$in": {
720
896
  "type": "array",
721
897
  "maxItems": 100,
@@ -880,6 +1056,50 @@
880
1056
  }
881
1057
  ]
882
1058
  },
1059
+ "$gt": {
1060
+ "oneOf": [
1061
+ {
1062
+ "type": "string",
1063
+ "pattern": "^[A-Fa-f\\d]{24}$"
1064
+ },
1065
+ {
1066
+ "type": "null"
1067
+ }
1068
+ ]
1069
+ },
1070
+ "$lt": {
1071
+ "oneOf": [
1072
+ {
1073
+ "type": "string",
1074
+ "pattern": "^[A-Fa-f\\d]{24}$"
1075
+ },
1076
+ {
1077
+ "type": "null"
1078
+ }
1079
+ ]
1080
+ },
1081
+ "$gte": {
1082
+ "oneOf": [
1083
+ {
1084
+ "type": "string",
1085
+ "pattern": "^[A-Fa-f\\d]{24}$"
1086
+ },
1087
+ {
1088
+ "type": "null"
1089
+ }
1090
+ ]
1091
+ },
1092
+ "$lte": {
1093
+ "oneOf": [
1094
+ {
1095
+ "type": "string",
1096
+ "pattern": "^[A-Fa-f\\d]{24}$"
1097
+ },
1098
+ {
1099
+ "type": "null"
1100
+ }
1101
+ ]
1102
+ },
883
1103
  "$in": {
884
1104
  "type": "array",
885
1105
  "maxItems": 100,
@@ -941,6 +1161,50 @@
941
1161
  }
942
1162
  ]
943
1163
  },
1164
+ "$gt": {
1165
+ "oneOf": [
1166
+ {
1167
+ "type": "string",
1168
+ "pattern": "^[A-Fa-f\\d]{24}$"
1169
+ },
1170
+ {
1171
+ "type": "null"
1172
+ }
1173
+ ]
1174
+ },
1175
+ "$lt": {
1176
+ "oneOf": [
1177
+ {
1178
+ "type": "string",
1179
+ "pattern": "^[A-Fa-f\\d]{24}$"
1180
+ },
1181
+ {
1182
+ "type": "null"
1183
+ }
1184
+ ]
1185
+ },
1186
+ "$gte": {
1187
+ "oneOf": [
1188
+ {
1189
+ "type": "string",
1190
+ "pattern": "^[A-Fa-f\\d]{24}$"
1191
+ },
1192
+ {
1193
+ "type": "null"
1194
+ }
1195
+ ]
1196
+ },
1197
+ "$lte": {
1198
+ "oneOf": [
1199
+ {
1200
+ "type": "string",
1201
+ "pattern": "^[A-Fa-f\\d]{24}$"
1202
+ },
1203
+ {
1204
+ "type": "null"
1205
+ }
1206
+ ]
1207
+ },
944
1208
  "$in": {
945
1209
  "type": "array",
946
1210
  "maxItems": 100,
@@ -32,6 +32,11 @@
32
32
  "templateContext": {
33
33
  "type": "string",
34
34
  "maxLength": 32767
35
+ },
36
+ "callbackUrl": {
37
+ "type": "string",
38
+ "format": "uri",
39
+ "maxLength": 1024
35
40
  }
36
41
  },
37
42
  "additionalProperties": false
data/schemas/org.json CHANGED
@@ -460,6 +460,23 @@
460
460
  "maxLength": 45,
461
461
  "minLength": 3
462
462
  }
463
+ },
464
+ "disabledAt": {
465
+ "oneOf": [
466
+ {
467
+ "type": "boolean",
468
+ "enum": [
469
+ false
470
+ ]
471
+ },
472
+ {
473
+ "type": "string",
474
+ "format": "date-time"
475
+ }
476
+ ]
477
+ },
478
+ "isReadOnly": {
479
+ "type": "boolean"
463
480
  }
464
481
  }
465
482
  }
data/schemas/orgs.json CHANGED
@@ -467,6 +467,23 @@
467
467
  "maxLength": 45,
468
468
  "minLength": 3
469
469
  }
470
+ },
471
+ "disabledAt": {
472
+ "oneOf": [
473
+ {
474
+ "type": "boolean",
475
+ "enum": [
476
+ false
477
+ ]
478
+ },
479
+ {
480
+ "type": "string",
481
+ "format": "date-time"
482
+ }
483
+ ]
484
+ },
485
+ "isReadOnly": {
486
+ "type": "boolean"
470
487
  }
471
488
  }
472
489
  }