losant_rest 1.23.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +2 -2
- data/.ruby-version +1 -1
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/docs/_schemas.md +1809 -381
- data/docs/applicationKeys.md +2 -2
- data/docs/events.md +3 -1
- data/lib/platform_rest/application.rb +1 -1
- data/lib/platform_rest/application_api_token.rb +1 -1
- data/lib/platform_rest/application_api_tokens.rb +1 -1
- data/lib/platform_rest/application_certificate.rb +1 -1
- data/lib/platform_rest/application_certificate_authorities.rb +1 -1
- data/lib/platform_rest/application_certificate_authority.rb +1 -1
- data/lib/platform_rest/application_certificates.rb +1 -1
- data/lib/platform_rest/application_dashboard.rb +1 -1
- data/lib/platform_rest/application_dashboards.rb +1 -1
- data/lib/platform_rest/application_job_log.rb +1 -1
- data/lib/platform_rest/application_job_logs.rb +1 -1
- data/lib/platform_rest/application_key.rb +1 -1
- data/lib/platform_rest/application_keys.rb +3 -3
- data/lib/platform_rest/application_template.rb +1 -1
- data/lib/platform_rest/application_templates.rb +1 -1
- data/lib/platform_rest/applications.rb +1 -1
- data/lib/platform_rest/audit_log.rb +1 -1
- data/lib/platform_rest/audit_logs.rb +1 -1
- data/lib/platform_rest/auth.rb +1 -1
- data/lib/platform_rest/client.rb +3 -3
- data/lib/platform_rest/credential.rb +1 -1
- data/lib/platform_rest/credentials.rb +1 -1
- data/lib/platform_rest/dashboard.rb +1 -1
- data/lib/platform_rest/dashboards.rb +1 -1
- data/lib/platform_rest/data.rb +1 -1
- data/lib/platform_rest/data_table.rb +1 -1
- data/lib/platform_rest/data_table_row.rb +1 -1
- data/lib/platform_rest/data_table_rows.rb +1 -1
- data/lib/platform_rest/data_tables.rb +1 -1
- data/lib/platform_rest/device.rb +1 -1
- data/lib/platform_rest/device_attribute.rb +1 -1
- data/lib/platform_rest/device_attributes.rb +1 -1
- data/lib/platform_rest/device_recipe.rb +1 -1
- data/lib/platform_rest/device_recipes.rb +1 -1
- data/lib/platform_rest/devices.rb +1 -1
- data/lib/platform_rest/edge_deployment.rb +1 -1
- data/lib/platform_rest/edge_deployments.rb +1 -1
- data/lib/platform_rest/embedded_deployment.rb +1 -1
- data/lib/platform_rest/embedded_deployments.rb +1 -1
- data/lib/platform_rest/error.rb +1 -1
- data/lib/platform_rest/event.rb +1 -1
- data/lib/platform_rest/events.rb +6 -2
- data/lib/platform_rest/experience.rb +1 -1
- data/lib/platform_rest/experience_domain.rb +1 -1
- data/lib/platform_rest/experience_domains.rb +1 -1
- data/lib/platform_rest/experience_endpoint.rb +1 -1
- data/lib/platform_rest/experience_endpoints.rb +1 -1
- data/lib/platform_rest/experience_group.rb +1 -1
- data/lib/platform_rest/experience_groups.rb +1 -1
- data/lib/platform_rest/experience_slug.rb +1 -1
- data/lib/platform_rest/experience_slugs.rb +1 -1
- data/lib/platform_rest/experience_user.rb +1 -1
- data/lib/platform_rest/experience_users.rb +1 -1
- data/lib/platform_rest/experience_version.rb +1 -1
- data/lib/platform_rest/experience_versions.rb +1 -1
- data/lib/platform_rest/experience_view.rb +1 -1
- data/lib/platform_rest/experience_views.rb +1 -1
- data/lib/platform_rest/file.rb +1 -1
- data/lib/platform_rest/files.rb +1 -1
- data/lib/platform_rest/flow.rb +1 -1
- data/lib/platform_rest/flow_version.rb +1 -1
- data/lib/platform_rest/flow_versions.rb +1 -1
- data/lib/platform_rest/flows.rb +1 -1
- data/lib/platform_rest/instance.rb +1 -1
- data/lib/platform_rest/instance_api_token.rb +1 -1
- data/lib/platform_rest/instance_api_tokens.rb +1 -1
- data/lib/platform_rest/instance_audit_log.rb +1 -1
- data/lib/platform_rest/instance_audit_logs.rb +1 -1
- data/lib/platform_rest/instance_custom_node.rb +1 -1
- data/lib/platform_rest/instance_custom_nodes.rb +1 -1
- data/lib/platform_rest/instance_member.rb +1 -1
- data/lib/platform_rest/instance_members.rb +1 -1
- data/lib/platform_rest/instance_notification_rule.rb +1 -1
- data/lib/platform_rest/instance_notification_rules.rb +1 -1
- data/lib/platform_rest/instance_org.rb +1 -1
- data/lib/platform_rest/instance_org_invite.rb +1 -1
- data/lib/platform_rest/instance_org_invites.rb +1 -1
- data/lib/platform_rest/instance_org_member.rb +1 -1
- data/lib/platform_rest/instance_org_members.rb +1 -1
- data/lib/platform_rest/instance_orgs.rb +1 -1
- data/lib/platform_rest/instance_sandbox.rb +1 -1
- data/lib/platform_rest/instance_sandboxes.rb +1 -1
- data/lib/platform_rest/instances.rb +1 -1
- data/lib/platform_rest/integration.rb +1 -1
- data/lib/platform_rest/integrations.rb +1 -1
- data/lib/platform_rest/me.rb +1 -1
- data/lib/platform_rest/notebook.rb +1 -1
- data/lib/platform_rest/notebooks.rb +1 -1
- data/lib/platform_rest/org.rb +1 -1
- data/lib/platform_rest/org_invites.rb +1 -1
- data/lib/platform_rest/orgs.rb +1 -1
- data/lib/platform_rest/private_file.rb +1 -1
- data/lib/platform_rest/private_files.rb +1 -1
- data/lib/platform_rest/resource_job.rb +1 -1
- data/lib/platform_rest/resource_jobs.rb +1 -1
- data/lib/platform_rest/user_api_token.rb +1 -1
- data/lib/platform_rest/user_api_tokens.rb +1 -1
- data/lib/platform_rest/utils.rb +1 -1
- data/lib/platform_rest/version.rb +2 -2
- data/lib/platform_rest/webhook.rb +1 -1
- data/lib/platform_rest/webhooks.rb +1 -1
- data/lib/platform_rest.rb +1 -1
- data/losant_rest.gemspec +6 -5
- data/schemas/advancedApplicationKeyQuery.json +345 -0
- data/schemas/advancedDeviceQuery.json +36 -0
- data/schemas/advancedEventQuery.json +36 -0
- data/schemas/advancedExperienceGroupQuery.json +36 -0
- data/schemas/advancedExperienceUserQuery.json +36 -0
- data/schemas/advancedInstanceOrgQuery.json +36 -0
- data/schemas/apiTokenPost.json +0 -1
- data/schemas/applicationCertificate.json +5 -0
- data/schemas/applicationCertificates.json +5 -0
- data/schemas/applicationKey.json +45 -0
- data/schemas/applicationKeyPatch.json +28 -0
- data/schemas/applicationKeyPost.json +21 -0
- data/schemas/applicationKeyPostResponse.json +45 -0
- data/schemas/applicationKeys.json +45 -0
- data/schemas/credential.json +57 -2
- data/schemas/credentialPatch.json +29 -0
- data/schemas/credentialPost.json +39 -1
- data/schemas/credentials.json +57 -2
- data/schemas/devicesDataExport.json +36 -0
- data/schemas/devicesDeleteOrRestorePost.json +36 -0
- data/schemas/devicesExportPayloadCountPost.json +36 -0
- data/schemas/devicesExportPost.json +36 -0
- data/schemas/devicesPatch.json +36 -0
- data/schemas/devicesRemoveDataPost.json +36 -0
- data/schemas/event.json +4 -0
- data/schemas/eventPlusNewCount.json +4 -0
- data/schemas/eventPost.json +4 -0
- data/schemas/events.json +4 -0
- data/schemas/eventsExport.json +40 -0
- data/schemas/githubLogin.json +0 -1
- data/schemas/lastValueQuery.json +36 -0
- data/schemas/multiDeviceCommand.json +36 -0
- data/schemas/notebook.json +39 -0
- data/schemas/notebookPatch.json +39 -0
- data/schemas/notebookPost.json +39 -0
- data/schemas/notebooks.json +39 -0
- data/schemas/samlResponse.json +0 -1
- data/schemas/timeSeriesQuery.json +36 -0
- data/schemas/userCredentials.json +0 -1
- data/schemas/userPost.json +0 -1
- data/test/basic_test.rb +1 -1
- data/test/test_helper.rb +2 -1
- metadata +26 -15
|
@@ -651,6 +651,9 @@
|
|
|
651
651
|
"oneOf": [
|
|
652
652
|
{
|
|
653
653
|
"oneOf": [
|
|
654
|
+
{
|
|
655
|
+
"type": "null"
|
|
656
|
+
},
|
|
654
657
|
{
|
|
655
658
|
"type": "object",
|
|
656
659
|
"properties": {
|
|
@@ -660,6 +663,9 @@
|
|
|
660
663
|
"type": "string",
|
|
661
664
|
"maxLength": 255
|
|
662
665
|
},
|
|
666
|
+
{
|
|
667
|
+
"type": "null"
|
|
668
|
+
},
|
|
663
669
|
{
|
|
664
670
|
"type": "object",
|
|
665
671
|
"properties": {
|
|
@@ -702,6 +708,9 @@
|
|
|
702
708
|
"type": "string",
|
|
703
709
|
"maxLength": 255
|
|
704
710
|
},
|
|
711
|
+
{
|
|
712
|
+
"type": "null"
|
|
713
|
+
},
|
|
705
714
|
{
|
|
706
715
|
"type": "object",
|
|
707
716
|
"properties": {
|
|
@@ -751,6 +760,9 @@
|
|
|
751
760
|
"type": "string",
|
|
752
761
|
"maxLength": 255
|
|
753
762
|
},
|
|
763
|
+
{
|
|
764
|
+
"type": "null"
|
|
765
|
+
},
|
|
754
766
|
{
|
|
755
767
|
"type": "object",
|
|
756
768
|
"properties": {
|
|
@@ -797,6 +809,9 @@
|
|
|
797
809
|
"properties": {
|
|
798
810
|
"$eq": {
|
|
799
811
|
"oneOf": [
|
|
812
|
+
{
|
|
813
|
+
"type": "null"
|
|
814
|
+
},
|
|
800
815
|
{
|
|
801
816
|
"type": "object",
|
|
802
817
|
"properties": {
|
|
@@ -806,6 +821,9 @@
|
|
|
806
821
|
"type": "string",
|
|
807
822
|
"maxLength": 255
|
|
808
823
|
},
|
|
824
|
+
{
|
|
825
|
+
"type": "null"
|
|
826
|
+
},
|
|
809
827
|
{
|
|
810
828
|
"type": "object",
|
|
811
829
|
"properties": {
|
|
@@ -848,6 +866,9 @@
|
|
|
848
866
|
"type": "string",
|
|
849
867
|
"maxLength": 255
|
|
850
868
|
},
|
|
869
|
+
{
|
|
870
|
+
"type": "null"
|
|
871
|
+
},
|
|
851
872
|
{
|
|
852
873
|
"type": "object",
|
|
853
874
|
"properties": {
|
|
@@ -897,6 +918,9 @@
|
|
|
897
918
|
"type": "string",
|
|
898
919
|
"maxLength": 255
|
|
899
920
|
},
|
|
921
|
+
{
|
|
922
|
+
"type": "null"
|
|
923
|
+
},
|
|
900
924
|
{
|
|
901
925
|
"type": "object",
|
|
902
926
|
"properties": {
|
|
@@ -949,6 +973,9 @@
|
|
|
949
973
|
"properties": {
|
|
950
974
|
"$ne": {
|
|
951
975
|
"oneOf": [
|
|
976
|
+
{
|
|
977
|
+
"type": "null"
|
|
978
|
+
},
|
|
952
979
|
{
|
|
953
980
|
"type": "object",
|
|
954
981
|
"properties": {
|
|
@@ -958,6 +985,9 @@
|
|
|
958
985
|
"type": "string",
|
|
959
986
|
"maxLength": 255
|
|
960
987
|
},
|
|
988
|
+
{
|
|
989
|
+
"type": "null"
|
|
990
|
+
},
|
|
961
991
|
{
|
|
962
992
|
"type": "object",
|
|
963
993
|
"properties": {
|
|
@@ -1000,6 +1030,9 @@
|
|
|
1000
1030
|
"type": "string",
|
|
1001
1031
|
"maxLength": 255
|
|
1002
1032
|
},
|
|
1033
|
+
{
|
|
1034
|
+
"type": "null"
|
|
1035
|
+
},
|
|
1003
1036
|
{
|
|
1004
1037
|
"type": "object",
|
|
1005
1038
|
"properties": {
|
|
@@ -1049,6 +1082,9 @@
|
|
|
1049
1082
|
"type": "string",
|
|
1050
1083
|
"maxLength": 255
|
|
1051
1084
|
},
|
|
1085
|
+
{
|
|
1086
|
+
"type": "null"
|
|
1087
|
+
},
|
|
1052
1088
|
{
|
|
1053
1089
|
"type": "object",
|
|
1054
1090
|
"properties": {
|
|
@@ -853,6 +853,9 @@
|
|
|
853
853
|
"oneOf": [
|
|
854
854
|
{
|
|
855
855
|
"oneOf": [
|
|
856
|
+
{
|
|
857
|
+
"type": "null"
|
|
858
|
+
},
|
|
856
859
|
{
|
|
857
860
|
"type": "object",
|
|
858
861
|
"properties": {
|
|
@@ -862,6 +865,9 @@
|
|
|
862
865
|
"type": "string",
|
|
863
866
|
"maxLength": 255
|
|
864
867
|
},
|
|
868
|
+
{
|
|
869
|
+
"type": "null"
|
|
870
|
+
},
|
|
865
871
|
{
|
|
866
872
|
"type": "object",
|
|
867
873
|
"properties": {
|
|
@@ -904,6 +910,9 @@
|
|
|
904
910
|
"type": "string",
|
|
905
911
|
"maxLength": 255
|
|
906
912
|
},
|
|
913
|
+
{
|
|
914
|
+
"type": "null"
|
|
915
|
+
},
|
|
907
916
|
{
|
|
908
917
|
"type": "object",
|
|
909
918
|
"properties": {
|
|
@@ -953,6 +962,9 @@
|
|
|
953
962
|
"type": "string",
|
|
954
963
|
"maxLength": 255
|
|
955
964
|
},
|
|
965
|
+
{
|
|
966
|
+
"type": "null"
|
|
967
|
+
},
|
|
956
968
|
{
|
|
957
969
|
"type": "object",
|
|
958
970
|
"properties": {
|
|
@@ -999,6 +1011,9 @@
|
|
|
999
1011
|
"properties": {
|
|
1000
1012
|
"$eq": {
|
|
1001
1013
|
"oneOf": [
|
|
1014
|
+
{
|
|
1015
|
+
"type": "null"
|
|
1016
|
+
},
|
|
1002
1017
|
{
|
|
1003
1018
|
"type": "object",
|
|
1004
1019
|
"properties": {
|
|
@@ -1008,6 +1023,9 @@
|
|
|
1008
1023
|
"type": "string",
|
|
1009
1024
|
"maxLength": 255
|
|
1010
1025
|
},
|
|
1026
|
+
{
|
|
1027
|
+
"type": "null"
|
|
1028
|
+
},
|
|
1011
1029
|
{
|
|
1012
1030
|
"type": "object",
|
|
1013
1031
|
"properties": {
|
|
@@ -1050,6 +1068,9 @@
|
|
|
1050
1068
|
"type": "string",
|
|
1051
1069
|
"maxLength": 255
|
|
1052
1070
|
},
|
|
1071
|
+
{
|
|
1072
|
+
"type": "null"
|
|
1073
|
+
},
|
|
1053
1074
|
{
|
|
1054
1075
|
"type": "object",
|
|
1055
1076
|
"properties": {
|
|
@@ -1099,6 +1120,9 @@
|
|
|
1099
1120
|
"type": "string",
|
|
1100
1121
|
"maxLength": 255
|
|
1101
1122
|
},
|
|
1123
|
+
{
|
|
1124
|
+
"type": "null"
|
|
1125
|
+
},
|
|
1102
1126
|
{
|
|
1103
1127
|
"type": "object",
|
|
1104
1128
|
"properties": {
|
|
@@ -1151,6 +1175,9 @@
|
|
|
1151
1175
|
"properties": {
|
|
1152
1176
|
"$ne": {
|
|
1153
1177
|
"oneOf": [
|
|
1178
|
+
{
|
|
1179
|
+
"type": "null"
|
|
1180
|
+
},
|
|
1154
1181
|
{
|
|
1155
1182
|
"type": "object",
|
|
1156
1183
|
"properties": {
|
|
@@ -1160,6 +1187,9 @@
|
|
|
1160
1187
|
"type": "string",
|
|
1161
1188
|
"maxLength": 255
|
|
1162
1189
|
},
|
|
1190
|
+
{
|
|
1191
|
+
"type": "null"
|
|
1192
|
+
},
|
|
1163
1193
|
{
|
|
1164
1194
|
"type": "object",
|
|
1165
1195
|
"properties": {
|
|
@@ -1202,6 +1232,9 @@
|
|
|
1202
1232
|
"type": "string",
|
|
1203
1233
|
"maxLength": 255
|
|
1204
1234
|
},
|
|
1235
|
+
{
|
|
1236
|
+
"type": "null"
|
|
1237
|
+
},
|
|
1205
1238
|
{
|
|
1206
1239
|
"type": "object",
|
|
1207
1240
|
"properties": {
|
|
@@ -1251,6 +1284,9 @@
|
|
|
1251
1284
|
"type": "string",
|
|
1252
1285
|
"maxLength": 255
|
|
1253
1286
|
},
|
|
1287
|
+
{
|
|
1288
|
+
"type": "null"
|
|
1289
|
+
},
|
|
1254
1290
|
{
|
|
1255
1291
|
"type": "object",
|
|
1256
1292
|
"properties": {
|
|
@@ -956,6 +956,9 @@
|
|
|
956
956
|
"oneOf": [
|
|
957
957
|
{
|
|
958
958
|
"oneOf": [
|
|
959
|
+
{
|
|
960
|
+
"type": "null"
|
|
961
|
+
},
|
|
959
962
|
{
|
|
960
963
|
"type": "object",
|
|
961
964
|
"properties": {
|
|
@@ -965,6 +968,9 @@
|
|
|
965
968
|
"type": "string",
|
|
966
969
|
"maxLength": 255
|
|
967
970
|
},
|
|
971
|
+
{
|
|
972
|
+
"type": "null"
|
|
973
|
+
},
|
|
968
974
|
{
|
|
969
975
|
"type": "object",
|
|
970
976
|
"properties": {
|
|
@@ -1007,6 +1013,9 @@
|
|
|
1007
1013
|
"type": "string",
|
|
1008
1014
|
"maxLength": 255
|
|
1009
1015
|
},
|
|
1016
|
+
{
|
|
1017
|
+
"type": "null"
|
|
1018
|
+
},
|
|
1010
1019
|
{
|
|
1011
1020
|
"type": "object",
|
|
1012
1021
|
"properties": {
|
|
@@ -1056,6 +1065,9 @@
|
|
|
1056
1065
|
"type": "string",
|
|
1057
1066
|
"maxLength": 255
|
|
1058
1067
|
},
|
|
1068
|
+
{
|
|
1069
|
+
"type": "null"
|
|
1070
|
+
},
|
|
1059
1071
|
{
|
|
1060
1072
|
"type": "object",
|
|
1061
1073
|
"properties": {
|
|
@@ -1102,6 +1114,9 @@
|
|
|
1102
1114
|
"properties": {
|
|
1103
1115
|
"$eq": {
|
|
1104
1116
|
"oneOf": [
|
|
1117
|
+
{
|
|
1118
|
+
"type": "null"
|
|
1119
|
+
},
|
|
1105
1120
|
{
|
|
1106
1121
|
"type": "object",
|
|
1107
1122
|
"properties": {
|
|
@@ -1111,6 +1126,9 @@
|
|
|
1111
1126
|
"type": "string",
|
|
1112
1127
|
"maxLength": 255
|
|
1113
1128
|
},
|
|
1129
|
+
{
|
|
1130
|
+
"type": "null"
|
|
1131
|
+
},
|
|
1114
1132
|
{
|
|
1115
1133
|
"type": "object",
|
|
1116
1134
|
"properties": {
|
|
@@ -1153,6 +1171,9 @@
|
|
|
1153
1171
|
"type": "string",
|
|
1154
1172
|
"maxLength": 255
|
|
1155
1173
|
},
|
|
1174
|
+
{
|
|
1175
|
+
"type": "null"
|
|
1176
|
+
},
|
|
1156
1177
|
{
|
|
1157
1178
|
"type": "object",
|
|
1158
1179
|
"properties": {
|
|
@@ -1202,6 +1223,9 @@
|
|
|
1202
1223
|
"type": "string",
|
|
1203
1224
|
"maxLength": 255
|
|
1204
1225
|
},
|
|
1226
|
+
{
|
|
1227
|
+
"type": "null"
|
|
1228
|
+
},
|
|
1205
1229
|
{
|
|
1206
1230
|
"type": "object",
|
|
1207
1231
|
"properties": {
|
|
@@ -1254,6 +1278,9 @@
|
|
|
1254
1278
|
"properties": {
|
|
1255
1279
|
"$ne": {
|
|
1256
1280
|
"oneOf": [
|
|
1281
|
+
{
|
|
1282
|
+
"type": "null"
|
|
1283
|
+
},
|
|
1257
1284
|
{
|
|
1258
1285
|
"type": "object",
|
|
1259
1286
|
"properties": {
|
|
@@ -1263,6 +1290,9 @@
|
|
|
1263
1290
|
"type": "string",
|
|
1264
1291
|
"maxLength": 255
|
|
1265
1292
|
},
|
|
1293
|
+
{
|
|
1294
|
+
"type": "null"
|
|
1295
|
+
},
|
|
1266
1296
|
{
|
|
1267
1297
|
"type": "object",
|
|
1268
1298
|
"properties": {
|
|
@@ -1305,6 +1335,9 @@
|
|
|
1305
1335
|
"type": "string",
|
|
1306
1336
|
"maxLength": 255
|
|
1307
1337
|
},
|
|
1338
|
+
{
|
|
1339
|
+
"type": "null"
|
|
1340
|
+
},
|
|
1308
1341
|
{
|
|
1309
1342
|
"type": "object",
|
|
1310
1343
|
"properties": {
|
|
@@ -1354,6 +1387,9 @@
|
|
|
1354
1387
|
"type": "string",
|
|
1355
1388
|
"maxLength": 255
|
|
1356
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
"type": "null"
|
|
1392
|
+
},
|
|
1357
1393
|
{
|
|
1358
1394
|
"type": "object",
|
|
1359
1395
|
"properties": {
|
data/schemas/apiTokenPost.json
CHANGED
data/schemas/applicationKey.json
CHANGED
|
@@ -18,10 +18,34 @@
|
|
|
18
18
|
"type": "string",
|
|
19
19
|
"format": "date-time"
|
|
20
20
|
},
|
|
21
|
+
"createdById": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
24
|
+
},
|
|
25
|
+
"createdByType": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"flow",
|
|
29
|
+
"user",
|
|
30
|
+
"apiToken"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
21
33
|
"lastUpdated": {
|
|
22
34
|
"type": "string",
|
|
23
35
|
"format": "date-time"
|
|
24
36
|
},
|
|
37
|
+
"lastUpdatedById": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
40
|
+
},
|
|
41
|
+
"lastUpdatedByType": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"flow",
|
|
45
|
+
"user",
|
|
46
|
+
"apiToken"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
25
49
|
"key": {
|
|
26
50
|
"type": "string"
|
|
27
51
|
},
|
|
@@ -59,6 +83,11 @@
|
|
|
59
83
|
},
|
|
60
84
|
"maxItems": 100
|
|
61
85
|
},
|
|
86
|
+
"name": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"minLength": 1,
|
|
89
|
+
"maxLength": 255
|
|
90
|
+
},
|
|
62
91
|
"description": {
|
|
63
92
|
"type": "string",
|
|
64
93
|
"maxLength": 32767
|
|
@@ -96,6 +125,22 @@
|
|
|
96
125
|
"minLength": 1,
|
|
97
126
|
"maxLength": 1024
|
|
98
127
|
}
|
|
128
|
+
},
|
|
129
|
+
"addressFilterType": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"enum": [
|
|
132
|
+
"all",
|
|
133
|
+
"whitelist",
|
|
134
|
+
"blacklist"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"addresses": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"maxItems": 100,
|
|
140
|
+
"items": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"maxLength": 48
|
|
143
|
+
}
|
|
99
144
|
}
|
|
100
145
|
}
|
|
101
146
|
}
|
|
@@ -9,6 +9,18 @@
|
|
|
9
9
|
"inactive"
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
|
+
"name": {
|
|
13
|
+
"oneOf": [
|
|
14
|
+
{
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1,
|
|
17
|
+
"maxLength": 255
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "null"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
12
24
|
"description": {
|
|
13
25
|
"type": "string",
|
|
14
26
|
"maxLength": 32767
|
|
@@ -46,6 +58,22 @@
|
|
|
46
58
|
"minLength": 1,
|
|
47
59
|
"maxLength": 1024
|
|
48
60
|
}
|
|
61
|
+
},
|
|
62
|
+
"addressFilterType": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"enum": [
|
|
65
|
+
"all",
|
|
66
|
+
"whitelist",
|
|
67
|
+
"blacklist"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"addresses": {
|
|
71
|
+
"type": "array",
|
|
72
|
+
"maxItems": 100,
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"maxLength": 48
|
|
76
|
+
}
|
|
49
77
|
}
|
|
50
78
|
},
|
|
51
79
|
"additionalProperties": false
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"maxItems": 100
|
|
31
31
|
},
|
|
32
|
+
"name": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"minLength": 1,
|
|
35
|
+
"maxLength": 255
|
|
36
|
+
},
|
|
32
37
|
"description": {
|
|
33
38
|
"type": "string",
|
|
34
39
|
"maxLength": 32767
|
|
@@ -66,6 +71,22 @@
|
|
|
66
71
|
"minLength": 1,
|
|
67
72
|
"maxLength": 1024
|
|
68
73
|
}
|
|
74
|
+
},
|
|
75
|
+
"addressFilterType": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"enum": [
|
|
78
|
+
"all",
|
|
79
|
+
"whitelist",
|
|
80
|
+
"blacklist"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"addresses": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"maxItems": 100,
|
|
86
|
+
"items": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"maxLength": 48
|
|
89
|
+
}
|
|
69
90
|
}
|
|
70
91
|
},
|
|
71
92
|
"additionalProperties": false
|
|
@@ -18,10 +18,34 @@
|
|
|
18
18
|
"type": "string",
|
|
19
19
|
"format": "date-time"
|
|
20
20
|
},
|
|
21
|
+
"createdById": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
24
|
+
},
|
|
25
|
+
"createdByType": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"flow",
|
|
29
|
+
"user",
|
|
30
|
+
"apiToken"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
21
33
|
"lastUpdated": {
|
|
22
34
|
"type": "string",
|
|
23
35
|
"format": "date-time"
|
|
24
36
|
},
|
|
37
|
+
"lastUpdatedById": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
40
|
+
},
|
|
41
|
+
"lastUpdatedByType": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": [
|
|
44
|
+
"flow",
|
|
45
|
+
"user",
|
|
46
|
+
"apiToken"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
25
49
|
"key": {
|
|
26
50
|
"type": "string"
|
|
27
51
|
},
|
|
@@ -62,6 +86,11 @@
|
|
|
62
86
|
},
|
|
63
87
|
"maxItems": 100
|
|
64
88
|
},
|
|
89
|
+
"name": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"minLength": 1,
|
|
92
|
+
"maxLength": 255
|
|
93
|
+
},
|
|
65
94
|
"description": {
|
|
66
95
|
"type": "string",
|
|
67
96
|
"maxLength": 32767
|
|
@@ -99,6 +128,22 @@
|
|
|
99
128
|
"minLength": 1,
|
|
100
129
|
"maxLength": 1024
|
|
101
130
|
}
|
|
131
|
+
},
|
|
132
|
+
"addressFilterType": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"enum": [
|
|
135
|
+
"all",
|
|
136
|
+
"whitelist",
|
|
137
|
+
"blacklist"
|
|
138
|
+
]
|
|
139
|
+
},
|
|
140
|
+
"addresses": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"maxItems": 100,
|
|
143
|
+
"items": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"maxLength": 48
|
|
146
|
+
}
|
|
102
147
|
}
|
|
103
148
|
}
|
|
104
149
|
}
|
|
@@ -25,10 +25,34 @@
|
|
|
25
25
|
"type": "string",
|
|
26
26
|
"format": "date-time"
|
|
27
27
|
},
|
|
28
|
+
"createdById": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
31
|
+
},
|
|
32
|
+
"createdByType": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": [
|
|
35
|
+
"flow",
|
|
36
|
+
"user",
|
|
37
|
+
"apiToken"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
28
40
|
"lastUpdated": {
|
|
29
41
|
"type": "string",
|
|
30
42
|
"format": "date-time"
|
|
31
43
|
},
|
|
44
|
+
"lastUpdatedById": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"pattern": "^[A-Fa-f\\d]{24}$"
|
|
47
|
+
},
|
|
48
|
+
"lastUpdatedByType": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"enum": [
|
|
51
|
+
"flow",
|
|
52
|
+
"user",
|
|
53
|
+
"apiToken"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
32
56
|
"key": {
|
|
33
57
|
"type": "string"
|
|
34
58
|
},
|
|
@@ -66,6 +90,11 @@
|
|
|
66
90
|
},
|
|
67
91
|
"maxItems": 100
|
|
68
92
|
},
|
|
93
|
+
"name": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"minLength": 1,
|
|
96
|
+
"maxLength": 255
|
|
97
|
+
},
|
|
69
98
|
"description": {
|
|
70
99
|
"type": "string",
|
|
71
100
|
"maxLength": 32767
|
|
@@ -103,6 +132,22 @@
|
|
|
103
132
|
"minLength": 1,
|
|
104
133
|
"maxLength": 1024
|
|
105
134
|
}
|
|
135
|
+
},
|
|
136
|
+
"addressFilterType": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"enum": [
|
|
139
|
+
"all",
|
|
140
|
+
"whitelist",
|
|
141
|
+
"blacklist"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"addresses": {
|
|
145
|
+
"type": "array",
|
|
146
|
+
"maxItems": 100,
|
|
147
|
+
"items": {
|
|
148
|
+
"type": "string",
|
|
149
|
+
"maxLength": 48
|
|
150
|
+
}
|
|
106
151
|
}
|
|
107
152
|
}
|
|
108
153
|
}
|