losant_rest 1.19.9 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/docs/_schemas.md +6009 -298
  4. data/lib/platform_rest/version.rb +1 -1
  5. data/losant_rest.gemspec +2 -2
  6. data/schemas/advancedApplicationKeyQuery.json +360 -18
  7. data/schemas/advancedDeviceQuery.json +360 -18
  8. data/schemas/advancedEventQuery.json +360 -18
  9. data/schemas/advancedExperienceGroupQuery.json +360 -18
  10. data/schemas/advancedExperienceUserQuery.json +360 -18
  11. data/schemas/advancedInstanceOrgQuery.json +360 -18
  12. data/schemas/apiTokenPost.json +1 -1
  13. data/schemas/application.json +8 -0
  14. data/schemas/applicationCreationByTemplateResult.json +8 -0
  15. data/schemas/applicationDashboardPost.json +2 -1
  16. data/schemas/applications.json +8 -0
  17. data/schemas/credentialLinkedResources.json +6 -0
  18. data/schemas/dashboard.json +2 -1
  19. data/schemas/dashboardPatch.json +2 -1
  20. data/schemas/dashboardPost.json +2 -1
  21. data/schemas/dashboards.json +2 -1
  22. data/schemas/dataExport.json +360 -18
  23. data/schemas/devicesDeletePost.json +360 -18
  24. data/schemas/devicesExportPayloadCountPost.json +360 -18
  25. data/schemas/devicesExportPost.json +360 -18
  26. data/schemas/devicesPatch.json +360 -18
  27. data/schemas/devicesRemoveDataPost.json +360 -18
  28. data/schemas/eventsExport.json +360 -18
  29. data/schemas/experienceLinkedResources.json +6 -0
  30. data/schemas/flow.json +2 -0
  31. data/schemas/flowPatch.json +2 -0
  32. data/schemas/flowPost.json +2 -0
  33. data/schemas/flowVersion.json +4 -0
  34. data/schemas/flowVersionPost.json +2 -0
  35. data/schemas/flowVersions.json +4 -0
  36. data/schemas/flows.json +2 -0
  37. data/schemas/flowsImportPost.json +4 -0
  38. data/schemas/flowsImportResult.json +6 -0
  39. data/schemas/githubLogin.json +1 -1
  40. data/schemas/historicalSummaries.json +16 -0
  41. data/schemas/historicalSummary.json +16 -0
  42. data/schemas/instanceCustomNodePatch.json +2 -0
  43. data/schemas/instanceCustomNodePost.json +2 -0
  44. data/schemas/instanceOrg.json +43 -0
  45. data/schemas/instanceOrgs.json +43 -0
  46. data/schemas/instanceSandbox.json +8 -0
  47. data/schemas/instanceSandboxes.json +8 -0
  48. data/schemas/lastValueQuery.json +360 -18
  49. data/schemas/me.json +8 -0
  50. data/schemas/multiDeviceCommand.json +360 -18
  51. data/schemas/org.json +8 -0
  52. data/schemas/orgs.json +8 -0
  53. data/schemas/payloadStats.json +8 -0
  54. data/schemas/samlResponse.json +1 -1
  55. data/schemas/timeSeriesQuery.json +360 -18
  56. data/schemas/userCredentials.json +1 -1
  57. data/schemas/userPost.json +1 -1
  58. metadata +5 -5
@@ -655,12 +655,88 @@
655
655
  "type": "object",
656
656
  "properties": {
657
657
  "$tagKey": {
658
- "type": "string",
659
- "maxLength": 255
658
+ "oneOf": [
659
+ {
660
+ "type": "string",
661
+ "maxLength": 255
662
+ },
663
+ {
664
+ "type": "object",
665
+ "properties": {
666
+ "$in": {
667
+ "type": "array",
668
+ "maxItems": 100,
669
+ "items": {
670
+ "type": "string",
671
+ "maxLength": 255
672
+ }
673
+ }
674
+ },
675
+ "required": [
676
+ "$in"
677
+ ],
678
+ "additionalProperties": false
679
+ },
680
+ {
681
+ "type": "object",
682
+ "properties": {
683
+ "$nin": {
684
+ "type": "array",
685
+ "maxItems": 100,
686
+ "items": {
687
+ "type": "string",
688
+ "maxLength": 255
689
+ }
690
+ }
691
+ },
692
+ "required": [
693
+ "$nin"
694
+ ],
695
+ "additionalProperties": false
696
+ }
697
+ ]
660
698
  },
661
699
  "$tagValue": {
662
- "type": "string",
663
- "maxLength": 255
700
+ "oneOf": [
701
+ {
702
+ "type": "string",
703
+ "maxLength": 255
704
+ },
705
+ {
706
+ "type": "object",
707
+ "properties": {
708
+ "$in": {
709
+ "type": "array",
710
+ "maxItems": 100,
711
+ "items": {
712
+ "type": "string",
713
+ "maxLength": 255
714
+ }
715
+ }
716
+ },
717
+ "required": [
718
+ "$in"
719
+ ],
720
+ "additionalProperties": false
721
+ },
722
+ {
723
+ "type": "object",
724
+ "properties": {
725
+ "$nin": {
726
+ "type": "array",
727
+ "maxItems": 100,
728
+ "items": {
729
+ "type": "string",
730
+ "maxLength": 255
731
+ }
732
+ }
733
+ },
734
+ "required": [
735
+ "$nin"
736
+ ],
737
+ "additionalProperties": false
738
+ }
739
+ ]
664
740
  }
665
741
  },
666
742
  "additionalProperties": false,
@@ -670,8 +746,46 @@
670
746
  "type": "object",
671
747
  "patternProperties": {
672
748
  "^[0-9a-zA-Z_-]{1,255}": {
673
- "type": "string",
674
- "maxLength": 255
749
+ "oneOf": [
750
+ {
751
+ "type": "string",
752
+ "maxLength": 255
753
+ },
754
+ {
755
+ "type": "object",
756
+ "properties": {
757
+ "$in": {
758
+ "type": "array",
759
+ "maxItems": 100,
760
+ "items": {
761
+ "type": "string",
762
+ "maxLength": 255
763
+ }
764
+ }
765
+ },
766
+ "required": [
767
+ "$in"
768
+ ],
769
+ "additionalProperties": false
770
+ },
771
+ {
772
+ "type": "object",
773
+ "properties": {
774
+ "$nin": {
775
+ "type": "array",
776
+ "maxItems": 100,
777
+ "items": {
778
+ "type": "string",
779
+ "maxLength": 255
780
+ }
781
+ }
782
+ },
783
+ "required": [
784
+ "$nin"
785
+ ],
786
+ "additionalProperties": false
787
+ }
788
+ ]
675
789
  }
676
790
  },
677
791
  "additionalProperties": false
@@ -687,12 +801,88 @@
687
801
  "type": "object",
688
802
  "properties": {
689
803
  "$tagKey": {
690
- "type": "string",
691
- "maxLength": 255
804
+ "oneOf": [
805
+ {
806
+ "type": "string",
807
+ "maxLength": 255
808
+ },
809
+ {
810
+ "type": "object",
811
+ "properties": {
812
+ "$in": {
813
+ "type": "array",
814
+ "maxItems": 100,
815
+ "items": {
816
+ "type": "string",
817
+ "maxLength": 255
818
+ }
819
+ }
820
+ },
821
+ "required": [
822
+ "$in"
823
+ ],
824
+ "additionalProperties": false
825
+ },
826
+ {
827
+ "type": "object",
828
+ "properties": {
829
+ "$nin": {
830
+ "type": "array",
831
+ "maxItems": 100,
832
+ "items": {
833
+ "type": "string",
834
+ "maxLength": 255
835
+ }
836
+ }
837
+ },
838
+ "required": [
839
+ "$nin"
840
+ ],
841
+ "additionalProperties": false
842
+ }
843
+ ]
692
844
  },
693
845
  "$tagValue": {
694
- "type": "string",
695
- "maxLength": 255
846
+ "oneOf": [
847
+ {
848
+ "type": "string",
849
+ "maxLength": 255
850
+ },
851
+ {
852
+ "type": "object",
853
+ "properties": {
854
+ "$in": {
855
+ "type": "array",
856
+ "maxItems": 100,
857
+ "items": {
858
+ "type": "string",
859
+ "maxLength": 255
860
+ }
861
+ }
862
+ },
863
+ "required": [
864
+ "$in"
865
+ ],
866
+ "additionalProperties": false
867
+ },
868
+ {
869
+ "type": "object",
870
+ "properties": {
871
+ "$nin": {
872
+ "type": "array",
873
+ "maxItems": 100,
874
+ "items": {
875
+ "type": "string",
876
+ "maxLength": 255
877
+ }
878
+ }
879
+ },
880
+ "required": [
881
+ "$nin"
882
+ ],
883
+ "additionalProperties": false
884
+ }
885
+ ]
696
886
  }
697
887
  },
698
888
  "additionalProperties": false,
@@ -702,8 +892,46 @@
702
892
  "type": "object",
703
893
  "patternProperties": {
704
894
  "^[0-9a-zA-Z_-]{1,255}": {
705
- "type": "string",
706
- "maxLength": 255
895
+ "oneOf": [
896
+ {
897
+ "type": "string",
898
+ "maxLength": 255
899
+ },
900
+ {
901
+ "type": "object",
902
+ "properties": {
903
+ "$in": {
904
+ "type": "array",
905
+ "maxItems": 100,
906
+ "items": {
907
+ "type": "string",
908
+ "maxLength": 255
909
+ }
910
+ }
911
+ },
912
+ "required": [
913
+ "$in"
914
+ ],
915
+ "additionalProperties": false
916
+ },
917
+ {
918
+ "type": "object",
919
+ "properties": {
920
+ "$nin": {
921
+ "type": "array",
922
+ "maxItems": 100,
923
+ "items": {
924
+ "type": "string",
925
+ "maxLength": 255
926
+ }
927
+ }
928
+ },
929
+ "required": [
930
+ "$nin"
931
+ ],
932
+ "additionalProperties": false
933
+ }
934
+ ]
707
935
  }
708
936
  },
709
937
  "additionalProperties": false
@@ -725,12 +953,88 @@
725
953
  "type": "object",
726
954
  "properties": {
727
955
  "$tagKey": {
728
- "type": "string",
729
- "maxLength": 255
956
+ "oneOf": [
957
+ {
958
+ "type": "string",
959
+ "maxLength": 255
960
+ },
961
+ {
962
+ "type": "object",
963
+ "properties": {
964
+ "$in": {
965
+ "type": "array",
966
+ "maxItems": 100,
967
+ "items": {
968
+ "type": "string",
969
+ "maxLength": 255
970
+ }
971
+ }
972
+ },
973
+ "required": [
974
+ "$in"
975
+ ],
976
+ "additionalProperties": false
977
+ },
978
+ {
979
+ "type": "object",
980
+ "properties": {
981
+ "$nin": {
982
+ "type": "array",
983
+ "maxItems": 100,
984
+ "items": {
985
+ "type": "string",
986
+ "maxLength": 255
987
+ }
988
+ }
989
+ },
990
+ "required": [
991
+ "$nin"
992
+ ],
993
+ "additionalProperties": false
994
+ }
995
+ ]
730
996
  },
731
997
  "$tagValue": {
732
- "type": "string",
733
- "maxLength": 255
998
+ "oneOf": [
999
+ {
1000
+ "type": "string",
1001
+ "maxLength": 255
1002
+ },
1003
+ {
1004
+ "type": "object",
1005
+ "properties": {
1006
+ "$in": {
1007
+ "type": "array",
1008
+ "maxItems": 100,
1009
+ "items": {
1010
+ "type": "string",
1011
+ "maxLength": 255
1012
+ }
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "$in"
1017
+ ],
1018
+ "additionalProperties": false
1019
+ },
1020
+ {
1021
+ "type": "object",
1022
+ "properties": {
1023
+ "$nin": {
1024
+ "type": "array",
1025
+ "maxItems": 100,
1026
+ "items": {
1027
+ "type": "string",
1028
+ "maxLength": 255
1029
+ }
1030
+ }
1031
+ },
1032
+ "required": [
1033
+ "$nin"
1034
+ ],
1035
+ "additionalProperties": false
1036
+ }
1037
+ ]
734
1038
  }
735
1039
  },
736
1040
  "additionalProperties": false,
@@ -740,8 +1044,46 @@
740
1044
  "type": "object",
741
1045
  "patternProperties": {
742
1046
  "^[0-9a-zA-Z_-]{1,255}": {
743
- "type": "string",
744
- "maxLength": 255
1047
+ "oneOf": [
1048
+ {
1049
+ "type": "string",
1050
+ "maxLength": 255
1051
+ },
1052
+ {
1053
+ "type": "object",
1054
+ "properties": {
1055
+ "$in": {
1056
+ "type": "array",
1057
+ "maxItems": 100,
1058
+ "items": {
1059
+ "type": "string",
1060
+ "maxLength": 255
1061
+ }
1062
+ }
1063
+ },
1064
+ "required": [
1065
+ "$in"
1066
+ ],
1067
+ "additionalProperties": false
1068
+ },
1069
+ {
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "$nin": {
1073
+ "type": "array",
1074
+ "maxItems": 100,
1075
+ "items": {
1076
+ "type": "string",
1077
+ "maxLength": 255
1078
+ }
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "$nin"
1083
+ ],
1084
+ "additionalProperties": false
1085
+ }
1086
+ ]
745
1087
  }
746
1088
  },
747
1089
  "additionalProperties": false