losant_rest 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -13
  3. data/docs/_schemas.md +7585 -2999
  4. data/docs/instanceNotificationRule.md +219 -0
  5. data/docs/instanceNotificationRules.md +91 -0
  6. data/lib/platform_rest/client.rb +10 -2
  7. data/lib/platform_rest/instance_notification_rule.rb +275 -0
  8. data/lib/platform_rest/instance_notification_rules.rb +136 -0
  9. data/lib/platform_rest/version.rb +1 -1
  10. data/lib/platform_rest.rb +2 -0
  11. data/schemas/apiTokenPost.json +9 -0
  12. data/schemas/applicationDashboardPost.json +94 -8
  13. data/schemas/applicationSearchResult.json +46 -6
  14. data/schemas/credentialLinkedResources.json +426 -0
  15. data/schemas/dashboard.json +94 -8
  16. data/schemas/dashboardPatch.json +94 -8
  17. data/schemas/dashboardPost.json +94 -8
  18. data/schemas/dashboards.json +94 -8
  19. data/schemas/experienceEndpoint.json +6 -1
  20. data/schemas/experienceEndpointPatch.json +6 -1
  21. data/schemas/experienceEndpointPost.json +6 -1
  22. data/schemas/experienceEndpoints.json +6 -1
  23. data/schemas/experienceLinkedResources.json +432 -1
  24. data/schemas/flow.json +142 -0
  25. data/schemas/flowPatch.json +142 -0
  26. data/schemas/flowPost.json +142 -0
  27. data/schemas/flowVersion.json +284 -0
  28. data/schemas/flowVersionPost.json +142 -0
  29. data/schemas/flowVersions.json +284 -0
  30. data/schemas/flows.json +142 -0
  31. data/schemas/flowsImportPost.json +284 -0
  32. data/schemas/flowsImportResult.json +426 -0
  33. data/schemas/githubLogin.json +9 -0
  34. data/schemas/instance.json +9 -0
  35. data/schemas/instanceAuditLog.json +2 -1
  36. data/schemas/instanceAuditLogFilter.json +2 -1
  37. data/schemas/instanceOrg.json +4 -0
  38. data/schemas/instanceOrgs.json +4 -0
  39. data/schemas/instances.json +9 -0
  40. data/schemas/notificationRule.json +161 -0
  41. data/schemas/notificationRuleDeliveryLogs.json +123 -0
  42. data/schemas/notificationRuleEvaluationOptions.json +10 -0
  43. data/schemas/notificationRulePatch.json +128 -0
  44. data/schemas/notificationRulePost.json +140 -0
  45. data/schemas/notificationRules.json +212 -0
  46. data/schemas/samlResponse.json +9 -0
  47. data/schemas/userCredentials.json +9 -0
  48. data/schemas/userPost.json +9 -0
  49. metadata +12 -2
@@ -741,6 +741,145 @@
741
741
  ],
742
742
  "additionalProperties": false
743
743
  },
744
+ {
745
+ "type": "object",
746
+ "properties": {
747
+ "key": {
748
+ "type": "string",
749
+ "maxLength": 1024
750
+ },
751
+ "type": {
752
+ "type": "string",
753
+ "enum": [
754
+ "beckhoff"
755
+ ]
756
+ },
757
+ "config": {
758
+ "type": "object",
759
+ "properties": {
760
+ "localAmsNetId": {
761
+ "type": "string",
762
+ "maxLength": 1024
763
+ },
764
+ "localAdsPort": {
765
+ "type": "string",
766
+ "maxLength": 1024
767
+ },
768
+ "targetAmsNetId": {
769
+ "type": "string",
770
+ "maxLength": 1024
771
+ },
772
+ "targetAdsPort": {
773
+ "type": "string",
774
+ "maxLength": 1024
775
+ },
776
+ "routerHost": {
777
+ "type": "string",
778
+ "maxLength": 1024
779
+ },
780
+ "routerTcpPort": {
781
+ "type": "string",
782
+ "maxLength": 1024
783
+ },
784
+ "cycleTimeMs": {
785
+ "type": "integer",
786
+ "minimum": 10,
787
+ "maximum": 3600000
788
+ },
789
+ "subscriptions": {
790
+ "type": "array",
791
+ "items": {
792
+ "type": "object",
793
+ "properties": {
794
+ "name": {
795
+ "type": "string",
796
+ "maxLength": 1024
797
+ }
798
+ }
799
+ },
800
+ "maxItems": 100
801
+ },
802
+ "configName": {
803
+ "type": "string",
804
+ "maxLength": 1024
805
+ }
806
+ },
807
+ "additionalProperties": false
808
+ },
809
+ "meta": {
810
+ "type": "object",
811
+ "properties": {
812
+ "category": {
813
+ "type": "string",
814
+ "enum": [
815
+ "trigger"
816
+ ]
817
+ },
818
+ "name": {
819
+ "type": "string",
820
+ "enum": [
821
+ "beckhoff"
822
+ ]
823
+ },
824
+ "label": {
825
+ "type": "string",
826
+ "minLength": 1,
827
+ "maxLength": 255
828
+ },
829
+ "x": {
830
+ "type": "number"
831
+ },
832
+ "y": {
833
+ "type": "number"
834
+ },
835
+ "uiId": {
836
+ "type": "string",
837
+ "maxLength": 48
838
+ },
839
+ "description": {
840
+ "type": "string",
841
+ "maxLength": 32767
842
+ },
843
+ "icon": {
844
+ "type": "string",
845
+ "maxLength": 1024
846
+ },
847
+ "color": {
848
+ "type": "string",
849
+ "maxLength": 1024
850
+ },
851
+ "inputCount": {
852
+ "type": "number"
853
+ },
854
+ "outputCount": {
855
+ "type": "number"
856
+ },
857
+ "id": {
858
+ "type": "string",
859
+ "maxLength": 48
860
+ }
861
+ },
862
+ "additionalProperties": false
863
+ },
864
+ "outputIds": {
865
+ "type": "array",
866
+ "items": {
867
+ "type": "array",
868
+ "items": {
869
+ "type": "string",
870
+ "maxLength": 48,
871
+ "minLength": 1
872
+ },
873
+ "maxItems": 100
874
+ },
875
+ "maxItems": 100
876
+ }
877
+ },
878
+ "required": [
879
+ "type"
880
+ ],
881
+ "additionalProperties": false
882
+ },
744
883
  {
745
884
  "type": "object",
746
885
  "properties": {
@@ -1010,6 +1149,9 @@
1010
1149
  "once",
1011
1150
  "each"
1012
1151
  ]
1152
+ },
1153
+ "allowInvalid": {
1154
+ "type": "boolean"
1013
1155
  }
1014
1156
  },
1015
1157
  "additionalProperties": false
@@ -3730,6 +3872,145 @@
3730
3872
  ],
3731
3873
  "additionalProperties": false
3732
3874
  },
3875
+ {
3876
+ "type": "object",
3877
+ "properties": {
3878
+ "key": {
3879
+ "type": "string",
3880
+ "maxLength": 1024
3881
+ },
3882
+ "type": {
3883
+ "type": "string",
3884
+ "enum": [
3885
+ "beckhoff"
3886
+ ]
3887
+ },
3888
+ "config": {
3889
+ "type": "object",
3890
+ "properties": {
3891
+ "localAmsNetId": {
3892
+ "type": "string",
3893
+ "maxLength": 1024
3894
+ },
3895
+ "localAdsPort": {
3896
+ "type": "string",
3897
+ "maxLength": 1024
3898
+ },
3899
+ "targetAmsNetId": {
3900
+ "type": "string",
3901
+ "maxLength": 1024
3902
+ },
3903
+ "targetAdsPort": {
3904
+ "type": "string",
3905
+ "maxLength": 1024
3906
+ },
3907
+ "routerHost": {
3908
+ "type": "string",
3909
+ "maxLength": 1024
3910
+ },
3911
+ "routerTcpPort": {
3912
+ "type": "string",
3913
+ "maxLength": 1024
3914
+ },
3915
+ "cycleTimeMs": {
3916
+ "type": "integer",
3917
+ "minimum": 10,
3918
+ "maximum": 3600000
3919
+ },
3920
+ "subscriptions": {
3921
+ "type": "array",
3922
+ "items": {
3923
+ "type": "object",
3924
+ "properties": {
3925
+ "name": {
3926
+ "type": "string",
3927
+ "maxLength": 1024
3928
+ }
3929
+ }
3930
+ },
3931
+ "maxItems": 100
3932
+ },
3933
+ "configName": {
3934
+ "type": "string",
3935
+ "maxLength": 1024
3936
+ }
3937
+ },
3938
+ "additionalProperties": false
3939
+ },
3940
+ "meta": {
3941
+ "type": "object",
3942
+ "properties": {
3943
+ "category": {
3944
+ "type": "string",
3945
+ "enum": [
3946
+ "trigger"
3947
+ ]
3948
+ },
3949
+ "name": {
3950
+ "type": "string",
3951
+ "enum": [
3952
+ "beckhoff"
3953
+ ]
3954
+ },
3955
+ "label": {
3956
+ "type": "string",
3957
+ "minLength": 1,
3958
+ "maxLength": 255
3959
+ },
3960
+ "x": {
3961
+ "type": "number"
3962
+ },
3963
+ "y": {
3964
+ "type": "number"
3965
+ },
3966
+ "uiId": {
3967
+ "type": "string",
3968
+ "maxLength": 48
3969
+ },
3970
+ "description": {
3971
+ "type": "string",
3972
+ "maxLength": 32767
3973
+ },
3974
+ "icon": {
3975
+ "type": "string",
3976
+ "maxLength": 1024
3977
+ },
3978
+ "color": {
3979
+ "type": "string",
3980
+ "maxLength": 1024
3981
+ },
3982
+ "inputCount": {
3983
+ "type": "number"
3984
+ },
3985
+ "outputCount": {
3986
+ "type": "number"
3987
+ },
3988
+ "id": {
3989
+ "type": "string",
3990
+ "maxLength": 48
3991
+ }
3992
+ },
3993
+ "additionalProperties": false
3994
+ },
3995
+ "outputIds": {
3996
+ "type": "array",
3997
+ "items": {
3998
+ "type": "array",
3999
+ "items": {
4000
+ "type": "string",
4001
+ "maxLength": 48,
4002
+ "minLength": 1
4003
+ },
4004
+ "maxItems": 100
4005
+ },
4006
+ "maxItems": 100
4007
+ }
4008
+ },
4009
+ "required": [
4010
+ "type"
4011
+ ],
4012
+ "additionalProperties": false
4013
+ },
3733
4014
  {
3734
4015
  "type": "object",
3735
4016
  "properties": {
@@ -3999,6 +4280,9 @@
3999
4280
  "once",
4000
4281
  "each"
4001
4282
  ]
4283
+ },
4284
+ "allowInvalid": {
4285
+ "type": "boolean"
4002
4286
  }
4003
4287
  },
4004
4288
  "additionalProperties": false
@@ -6628,6 +6912,145 @@
6628
6912
  ],
6629
6913
  "additionalProperties": false
6630
6914
  },
6915
+ {
6916
+ "type": "object",
6917
+ "properties": {
6918
+ "key": {
6919
+ "type": "string",
6920
+ "maxLength": 1024
6921
+ },
6922
+ "type": {
6923
+ "type": "string",
6924
+ "enum": [
6925
+ "beckhoff"
6926
+ ]
6927
+ },
6928
+ "config": {
6929
+ "type": "object",
6930
+ "properties": {
6931
+ "localAmsNetId": {
6932
+ "type": "string",
6933
+ "maxLength": 1024
6934
+ },
6935
+ "localAdsPort": {
6936
+ "type": "string",
6937
+ "maxLength": 1024
6938
+ },
6939
+ "targetAmsNetId": {
6940
+ "type": "string",
6941
+ "maxLength": 1024
6942
+ },
6943
+ "targetAdsPort": {
6944
+ "type": "string",
6945
+ "maxLength": 1024
6946
+ },
6947
+ "routerHost": {
6948
+ "type": "string",
6949
+ "maxLength": 1024
6950
+ },
6951
+ "routerTcpPort": {
6952
+ "type": "string",
6953
+ "maxLength": 1024
6954
+ },
6955
+ "cycleTimeMs": {
6956
+ "type": "integer",
6957
+ "minimum": 10,
6958
+ "maximum": 3600000
6959
+ },
6960
+ "subscriptions": {
6961
+ "type": "array",
6962
+ "items": {
6963
+ "type": "object",
6964
+ "properties": {
6965
+ "name": {
6966
+ "type": "string",
6967
+ "maxLength": 1024
6968
+ }
6969
+ }
6970
+ },
6971
+ "maxItems": 100
6972
+ },
6973
+ "configName": {
6974
+ "type": "string",
6975
+ "maxLength": 1024
6976
+ }
6977
+ },
6978
+ "additionalProperties": false
6979
+ },
6980
+ "meta": {
6981
+ "type": "object",
6982
+ "properties": {
6983
+ "category": {
6984
+ "type": "string",
6985
+ "enum": [
6986
+ "trigger"
6987
+ ]
6988
+ },
6989
+ "name": {
6990
+ "type": "string",
6991
+ "enum": [
6992
+ "beckhoff"
6993
+ ]
6994
+ },
6995
+ "label": {
6996
+ "type": "string",
6997
+ "minLength": 1,
6998
+ "maxLength": 255
6999
+ },
7000
+ "x": {
7001
+ "type": "number"
7002
+ },
7003
+ "y": {
7004
+ "type": "number"
7005
+ },
7006
+ "uiId": {
7007
+ "type": "string",
7008
+ "maxLength": 48
7009
+ },
7010
+ "description": {
7011
+ "type": "string",
7012
+ "maxLength": 32767
7013
+ },
7014
+ "icon": {
7015
+ "type": "string",
7016
+ "maxLength": 1024
7017
+ },
7018
+ "color": {
7019
+ "type": "string",
7020
+ "maxLength": 1024
7021
+ },
7022
+ "inputCount": {
7023
+ "type": "number"
7024
+ },
7025
+ "outputCount": {
7026
+ "type": "number"
7027
+ },
7028
+ "id": {
7029
+ "type": "string",
7030
+ "maxLength": 48
7031
+ }
7032
+ },
7033
+ "additionalProperties": false
7034
+ },
7035
+ "outputIds": {
7036
+ "type": "array",
7037
+ "items": {
7038
+ "type": "array",
7039
+ "items": {
7040
+ "type": "string",
7041
+ "maxLength": 48,
7042
+ "minLength": 1
7043
+ },
7044
+ "maxItems": 100
7045
+ },
7046
+ "maxItems": 100
7047
+ }
7048
+ },
7049
+ "required": [
7050
+ "type"
7051
+ ],
7052
+ "additionalProperties": false
7053
+ },
6631
7054
  {
6632
7055
  "type": "object",
6633
7056
  "properties": {
@@ -6897,6 +7320,9 @@
6897
7320
  "once",
6898
7321
  "each"
6899
7322
  ]
7323
+ },
7324
+ "allowInvalid": {
7325
+ "type": "boolean"
6900
7326
  }
6901
7327
  },
6902
7328
  "additionalProperties": false