losant_rest 1.10.3 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +2 -2
- data/docs/_schemas.md +27526 -11724
- data/docs/application.md +83 -0
- data/docs/applicationApiTokens.md +2 -2
- data/docs/applicationCertificateAuthorities.md +1 -1
- data/docs/applicationCertificates.md +1 -1
- data/docs/applicationDashboard.md +133 -0
- data/docs/applicationDashboards.md +93 -0
- data/docs/applicationKeys.md +4 -3
- data/docs/applicationTemplate.md +46 -0
- data/docs/applicationTemplates.md +77 -2
- data/docs/applications.md +1 -1
- data/docs/auditLogs.md +1 -1
- data/docs/dashboards.md +1 -1
- data/docs/dataTables.md +1 -1
- data/docs/device.md +6 -3
- data/docs/deviceRecipes.md +1 -1
- data/docs/devices.md +125 -1
- data/docs/edgeDeployments.md +1 -1
- data/docs/events.md +4 -4
- data/docs/experienceEndpoint.md +1 -0
- data/docs/experienceGroups.md +1 -1
- data/docs/experienceUsers.md +1 -1
- data/docs/experienceVersions.md +1 -1
- data/docs/experienceViews.md +1 -1
- data/docs/files.md +1 -1
- data/docs/flow.md +41 -0
- data/docs/flowVersions.md +2 -1
- data/docs/flows.md +5 -2
- data/docs/instance.md +128 -0
- data/docs/instanceMember.md +133 -0
- data/docs/instanceMembers.md +91 -0
- data/docs/instanceOrg.md +133 -0
- data/docs/instanceOrgMember.md +139 -0
- data/docs/instanceOrgMembers.md +96 -0
- data/docs/instanceOrgs.md +91 -0
- data/docs/instances.md +50 -0
- data/docs/integration.md +1 -0
- data/docs/integrations.md +1 -1
- data/docs/me.md +0 -36
- data/docs/notebooks.md +1 -1
- data/docs/orgs.md +1 -1
- data/docs/webhook.md +1 -0
- data/docs/webhooks.md +1 -1
- data/lib/losant_rest.rb +12 -1
- data/lib/losant_rest/application.rb +97 -2
- data/lib/losant_rest/application_api_token.rb +1 -1
- data/lib/losant_rest/application_api_tokens.rb +2 -2
- data/lib/losant_rest/application_certificate.rb +1 -1
- data/lib/losant_rest/application_certificate_authorities.rb +1 -1
- data/lib/losant_rest/application_certificate_authority.rb +1 -1
- data/lib/losant_rest/application_certificates.rb +1 -1
- data/lib/losant_rest/application_dashboard.rb +176 -0
- data/lib/losant_rest/application_dashboards.rb +138 -0
- data/lib/losant_rest/application_key.rb +1 -1
- data/lib/losant_rest/application_keys.rb +4 -1
- data/lib/losant_rest/application_template.rb +79 -0
- data/lib/losant_rest/application_templates.rb +90 -2
- data/lib/losant_rest/applications.rb +1 -1
- data/lib/losant_rest/audit_log.rb +1 -1
- data/lib/losant_rest/audit_logs.rb +1 -1
- data/lib/losant_rest/auth.rb +1 -1
- data/lib/losant_rest/client.rb +47 -3
- data/lib/losant_rest/dashboard.rb +1 -1
- data/lib/losant_rest/dashboards.rb +1 -1
- data/lib/losant_rest/data.rb +1 -1
- data/lib/losant_rest/data_table.rb +1 -1
- data/lib/losant_rest/data_table_row.rb +1 -1
- data/lib/losant_rest/data_table_rows.rb +1 -1
- data/lib/losant_rest/data_tables.rb +1 -1
- data/lib/losant_rest/device.rb +10 -4
- data/lib/losant_rest/device_recipe.rb +1 -1
- data/lib/losant_rest/device_recipes.rb +1 -1
- data/lib/losant_rest/devices.rb +153 -1
- data/lib/losant_rest/edge_deployments.rb +1 -1
- data/lib/losant_rest/error.rb +1 -1
- data/lib/losant_rest/event.rb +1 -1
- data/lib/losant_rest/events.rb +4 -4
- data/lib/losant_rest/experience.rb +1 -1
- data/lib/losant_rest/experience_domain.rb +1 -1
- data/lib/losant_rest/experience_domains.rb +1 -1
- data/lib/losant_rest/experience_endpoint.rb +3 -1
- data/lib/losant_rest/experience_endpoints.rb +1 -1
- data/lib/losant_rest/experience_group.rb +1 -1
- data/lib/losant_rest/experience_groups.rb +1 -1
- data/lib/losant_rest/experience_slug.rb +1 -1
- data/lib/losant_rest/experience_slugs.rb +1 -1
- data/lib/losant_rest/experience_user.rb +1 -1
- data/lib/losant_rest/experience_users.rb +1 -1
- data/lib/losant_rest/experience_version.rb +1 -1
- data/lib/losant_rest/experience_versions.rb +1 -1
- data/lib/losant_rest/experience_view.rb +1 -1
- data/lib/losant_rest/experience_views.rb +1 -1
- data/lib/losant_rest/file.rb +1 -1
- data/lib/losant_rest/files.rb +1 -1
- data/lib/losant_rest/flow.rb +47 -1
- data/lib/losant_rest/flow_version.rb +1 -1
- data/lib/losant_rest/flow_versions.rb +4 -1
- data/lib/losant_rest/flows.rb +9 -1
- data/lib/losant_rest/instance.rb +181 -0
- data/lib/losant_rest/instance_member.rb +176 -0
- data/lib/losant_rest/instance_members.rb +134 -0
- data/lib/losant_rest/instance_org.rb +176 -0
- data/lib/losant_rest/instance_org_member.rb +182 -0
- data/lib/losant_rest/instance_org_members.rb +138 -0
- data/lib/losant_rest/instance_orgs.rb +139 -0
- data/lib/losant_rest/instances.rb +88 -0
- data/lib/losant_rest/integration.rb +3 -1
- data/lib/losant_rest/integrations.rb +1 -1
- data/lib/losant_rest/me.rb +2 -43
- data/lib/losant_rest/notebook.rb +1 -1
- data/lib/losant_rest/notebooks.rb +1 -1
- data/lib/losant_rest/org.rb +2 -2
- data/lib/losant_rest/org_invites.rb +1 -1
- data/lib/losant_rest/orgs.rb +1 -1
- data/lib/losant_rest/utils.rb +1 -1
- data/lib/losant_rest/version.rb +2 -2
- data/lib/losant_rest/webhook.rb +3 -1
- data/lib/losant_rest/webhooks.rb +1 -1
- data/schemas/advancedApplicationKeyQuery.json +1082 -0
- data/schemas/advancedDeviceQuery.json +309 -0
- data/schemas/advancedFlowByVersionQuery.json +665 -0
- data/schemas/advancedFlowQuery.json +883 -0
- data/schemas/advancedFlowVersionQuery.json +925 -0
- data/schemas/application.json +8 -0
- data/schemas/applicationApiTokenPost.json +12 -0
- data/schemas/applicationApplyTemplatePatch.json +19 -0
- data/schemas/applicationCreationByTemplateResult.json +8 -0
- data/schemas/applicationDashboardPost.json +5683 -0
- data/schemas/applicationGlobalPatch.json +33 -0
- data/schemas/applicationPost.json +8 -0
- data/schemas/applicationTemplate.json +20 -0
- data/schemas/applicationTemplateCategories.json +43 -0
- data/schemas/applicationTemplateCategory.json +23 -0
- data/schemas/applicationTemplates.json +32 -0
- data/schemas/applications.json +8 -0
- data/schemas/attributeNamesResponse.json +14 -0
- data/schemas/authedUser.json +3 -0
- data/schemas/changePassword.json +2 -2
- data/schemas/dashboard.json +197 -26
- data/schemas/dashboardPatch.json +197 -26
- data/schemas/dashboardPost.json +197 -26
- data/schemas/dashboards.json +197 -26
- data/schemas/dataExport.json +132 -1
- data/schemas/deviceAttributeDataTypeFilter.json +29 -0
- data/schemas/deviceClassFilter.json +1 -2
- data/schemas/devicesDeletePost.json +309 -0
- data/schemas/devicesExportPost.json +309 -0
- data/schemas/devicesPatch.json +309 -0
- data/schemas/devicesRemoveDataPost.json +309 -0
- data/schemas/experienceLinkedResources.json +96 -0
- data/schemas/experienceVersion.json +9 -0
- data/schemas/experienceVersionPatch.json +9 -0
- data/schemas/experienceVersions.json +9 -0
- data/schemas/filePost.json +8 -2
- data/schemas/files.json +3 -0
- data/schemas/flow.json +32 -0
- data/schemas/flowPatch.json +32 -0
- data/schemas/flowPost.json +32 -0
- data/schemas/flowStorageMetadata.json +13 -0
- data/schemas/flowVersion.json +64 -0
- data/schemas/flowVersionPost.json +32 -0
- data/schemas/flowVersions.json +64 -0
- data/schemas/flows.json +32 -0
- data/schemas/flowsImportPost.json +64 -0
- data/schemas/flowsImportResult.json +96 -0
- data/schemas/githubLogin.json +53 -4
- data/schemas/historicalSummaries.json +43 -0
- data/schemas/historicalSummary.json +455 -0
- data/schemas/instance.json +132 -0
- data/schemas/instanceMember.json +37 -0
- data/schemas/instanceMemberPatch.json +17 -0
- data/schemas/instanceMemberPost.json +22 -0
- data/schemas/instanceMembers.json +69 -0
- data/schemas/instanceOrg.json +133 -0
- data/schemas/instanceOrgMember.json +37 -0
- data/schemas/instanceOrgMemberPatch.json +69 -0
- data/schemas/instanceOrgMemberPost.json +161 -0
- data/schemas/instanceOrgMembers.json +34 -0
- data/schemas/instanceOrgPatch.json +122 -0
- data/schemas/instanceOrgPost.json +125 -0
- data/schemas/instanceOrgs.json +174 -0
- data/schemas/instanceReportOptionsPost.json +40 -0
- data/schemas/instances.json +43 -0
- data/schemas/integration.json +3 -0
- data/schemas/integrationPatch.json +3 -0
- data/schemas/integrationPost.json +3 -0
- data/schemas/integrations.json +3 -0
- data/schemas/me.json +3 -3
- data/schemas/mePatch.json +2 -2
- data/schemas/multiDeviceCommand.json +309 -0
- data/schemas/notebook.json +7 -0
- data/schemas/notebookExecutionLogs.json +7 -0
- data/schemas/notebookPatch.json +7 -0
- data/schemas/notebookPost.json +7 -0
- data/schemas/notebooks.json +7 -0
- data/schemas/orgInviteInfo.json +3 -0
- data/schemas/orgInvitePost.json +3 -0
- data/schemas/orgInvites.json +3 -0
- data/schemas/orgPatch.json +0 -9
- data/schemas/passwordResetFinish.json +2 -2
- data/schemas/payloadStats.json +110 -0
- data/schemas/tagKeysResponse.json +14 -0
- data/schemas/tagValuesResponse.json +19 -0
- data/schemas/templateKeywords.json +14 -0
- data/schemas/timeSeriesData.json +12 -2
- data/schemas/timeSeriesQuery.json +94 -14
- data/schemas/userCredentials.json +51 -3
- data/schemas/userPost.json +59 -7
- metadata +61 -6
data/schemas/dashboardPatch.json
CHANGED
@@ -231,8 +231,18 @@
|
|
231
231
|
"type": "object",
|
232
232
|
"properties": {
|
233
233
|
"value": {
|
234
|
-
"
|
235
|
-
|
234
|
+
"oneOf": [
|
235
|
+
{
|
236
|
+
"type": "string",
|
237
|
+
"maxLength": 255
|
238
|
+
},
|
239
|
+
{
|
240
|
+
"type": "number"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"type": "boolean"
|
244
|
+
}
|
245
|
+
]
|
236
246
|
}
|
237
247
|
},
|
238
248
|
"additionalProperties": false,
|
@@ -485,8 +495,18 @@
|
|
485
495
|
"type": "object",
|
486
496
|
"properties": {
|
487
497
|
"value": {
|
488
|
-
"
|
489
|
-
|
498
|
+
"oneOf": [
|
499
|
+
{
|
500
|
+
"type": "string",
|
501
|
+
"maxLength": 255
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"type": "number"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"type": "boolean"
|
508
|
+
}
|
509
|
+
]
|
490
510
|
}
|
491
511
|
},
|
492
512
|
"additionalProperties": false,
|
@@ -648,8 +668,18 @@
|
|
648
668
|
"type": "object",
|
649
669
|
"properties": {
|
650
670
|
"value": {
|
651
|
-
"
|
652
|
-
|
671
|
+
"oneOf": [
|
672
|
+
{
|
673
|
+
"type": "string",
|
674
|
+
"maxLength": 255
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"type": "number"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"type": "boolean"
|
681
|
+
}
|
682
|
+
]
|
653
683
|
}
|
654
684
|
},
|
655
685
|
"additionalProperties": false,
|
@@ -886,6 +916,42 @@
|
|
886
916
|
"$and",
|
887
917
|
"advanced"
|
888
918
|
]
|
919
|
+
},
|
920
|
+
"columns": {
|
921
|
+
"type": "array",
|
922
|
+
"maxItems": 100,
|
923
|
+
"items": {
|
924
|
+
"type": "object",
|
925
|
+
"properties": {
|
926
|
+
"id": {
|
927
|
+
"type": "string",
|
928
|
+
"maxLength": 48
|
929
|
+
},
|
930
|
+
"type": {
|
931
|
+
"oneOf": [
|
932
|
+
{
|
933
|
+
"type": "string",
|
934
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"type": "string",
|
938
|
+
"enum": [
|
939
|
+
"$custom"
|
940
|
+
]
|
941
|
+
}
|
942
|
+
]
|
943
|
+
},
|
944
|
+
"headerTemplate": {
|
945
|
+
"type": "string",
|
946
|
+
"maxLength": 1024
|
947
|
+
},
|
948
|
+
"rowTemplate": {
|
949
|
+
"type": "string",
|
950
|
+
"maxLength": 32767
|
951
|
+
}
|
952
|
+
},
|
953
|
+
"additionalProperties": false
|
954
|
+
}
|
889
955
|
}
|
890
956
|
},
|
891
957
|
"additionalProperties": false
|
@@ -1153,6 +1219,9 @@
|
|
1153
1219
|
"type": "string",
|
1154
1220
|
"maxLength": 255
|
1155
1221
|
}
|
1222
|
+
},
|
1223
|
+
"includeDeviceInfo": {
|
1224
|
+
"type": "boolean"
|
1156
1225
|
}
|
1157
1226
|
},
|
1158
1227
|
"additionalProperties": false
|
@@ -1427,8 +1496,17 @@
|
|
1427
1496
|
"state",
|
1428
1497
|
"tag",
|
1429
1498
|
"deviceName",
|
1430
|
-
"sourceId"
|
1499
|
+
"sourceId",
|
1500
|
+
"custom"
|
1431
1501
|
]
|
1502
|
+
},
|
1503
|
+
"headerTemplate": {
|
1504
|
+
"type": "string",
|
1505
|
+
"maxLength": 1024
|
1506
|
+
},
|
1507
|
+
"rowTemplate": {
|
1508
|
+
"type": "string",
|
1509
|
+
"maxLength": 32767
|
1432
1510
|
}
|
1433
1511
|
},
|
1434
1512
|
"additionalProperties": false
|
@@ -1630,8 +1708,18 @@
|
|
1630
1708
|
"type": "object",
|
1631
1709
|
"properties": {
|
1632
1710
|
"value": {
|
1633
|
-
"
|
1634
|
-
|
1711
|
+
"oneOf": [
|
1712
|
+
{
|
1713
|
+
"type": "string",
|
1714
|
+
"maxLength": 255
|
1715
|
+
},
|
1716
|
+
{
|
1717
|
+
"type": "number"
|
1718
|
+
},
|
1719
|
+
{
|
1720
|
+
"type": "boolean"
|
1721
|
+
}
|
1722
|
+
]
|
1635
1723
|
}
|
1636
1724
|
},
|
1637
1725
|
"additionalProperties": false,
|
@@ -1920,8 +2008,18 @@
|
|
1920
2008
|
"type": "object",
|
1921
2009
|
"properties": {
|
1922
2010
|
"value": {
|
1923
|
-
"
|
1924
|
-
|
2011
|
+
"oneOf": [
|
2012
|
+
{
|
2013
|
+
"type": "string",
|
2014
|
+
"maxLength": 255
|
2015
|
+
},
|
2016
|
+
{
|
2017
|
+
"type": "number"
|
2018
|
+
},
|
2019
|
+
{
|
2020
|
+
"type": "boolean"
|
2021
|
+
}
|
2022
|
+
]
|
1925
2023
|
}
|
1926
2024
|
},
|
1927
2025
|
"additionalProperties": false,
|
@@ -2406,7 +2504,7 @@
|
|
2406
2504
|
},
|
2407
2505
|
"segments": {
|
2408
2506
|
"type": "array",
|
2409
|
-
"maxItems":
|
2507
|
+
"maxItems": 300,
|
2410
2508
|
"items": {
|
2411
2509
|
"oneOf": [
|
2412
2510
|
{
|
@@ -2502,8 +2600,18 @@
|
|
2502
2600
|
"type": "object",
|
2503
2601
|
"properties": {
|
2504
2602
|
"value": {
|
2505
|
-
"
|
2506
|
-
|
2603
|
+
"oneOf": [
|
2604
|
+
{
|
2605
|
+
"type": "string",
|
2606
|
+
"maxLength": 255
|
2607
|
+
},
|
2608
|
+
{
|
2609
|
+
"type": "number"
|
2610
|
+
},
|
2611
|
+
{
|
2612
|
+
"type": "boolean"
|
2613
|
+
}
|
2614
|
+
]
|
2507
2615
|
}
|
2508
2616
|
},
|
2509
2617
|
"additionalProperties": false,
|
@@ -3096,8 +3204,18 @@
|
|
3096
3204
|
"type": "object",
|
3097
3205
|
"properties": {
|
3098
3206
|
"value": {
|
3099
|
-
"
|
3100
|
-
|
3207
|
+
"oneOf": [
|
3208
|
+
{
|
3209
|
+
"type": "string",
|
3210
|
+
"maxLength": 255
|
3211
|
+
},
|
3212
|
+
{
|
3213
|
+
"type": "number"
|
3214
|
+
},
|
3215
|
+
{
|
3216
|
+
"type": "boolean"
|
3217
|
+
}
|
3218
|
+
]
|
3101
3219
|
}
|
3102
3220
|
},
|
3103
3221
|
"additionalProperties": false,
|
@@ -3443,8 +3561,18 @@
|
|
3443
3561
|
"type": "object",
|
3444
3562
|
"properties": {
|
3445
3563
|
"value": {
|
3446
|
-
"
|
3447
|
-
|
3564
|
+
"oneOf": [
|
3565
|
+
{
|
3566
|
+
"type": "string",
|
3567
|
+
"maxLength": 255
|
3568
|
+
},
|
3569
|
+
{
|
3570
|
+
"type": "number"
|
3571
|
+
},
|
3572
|
+
{
|
3573
|
+
"type": "boolean"
|
3574
|
+
}
|
3575
|
+
]
|
3448
3576
|
}
|
3449
3577
|
},
|
3450
3578
|
"additionalProperties": false,
|
@@ -3667,8 +3795,18 @@
|
|
3667
3795
|
"type": "object",
|
3668
3796
|
"properties": {
|
3669
3797
|
"value": {
|
3670
|
-
"
|
3671
|
-
|
3798
|
+
"oneOf": [
|
3799
|
+
{
|
3800
|
+
"type": "string",
|
3801
|
+
"maxLength": 255
|
3802
|
+
},
|
3803
|
+
{
|
3804
|
+
"type": "number"
|
3805
|
+
},
|
3806
|
+
{
|
3807
|
+
"type": "boolean"
|
3808
|
+
}
|
3809
|
+
]
|
3672
3810
|
}
|
3673
3811
|
},
|
3674
3812
|
"additionalProperties": false,
|
@@ -3720,6 +3858,9 @@
|
|
3720
3858
|
},
|
3721
3859
|
"defaultValue": {
|
3722
3860
|
"type": "boolean"
|
3861
|
+
},
|
3862
|
+
"includeLabel": {
|
3863
|
+
"type": "boolean"
|
3723
3864
|
}
|
3724
3865
|
},
|
3725
3866
|
"additionalProperties": false
|
@@ -3846,8 +3987,18 @@
|
|
3846
3987
|
"type": "object",
|
3847
3988
|
"properties": {
|
3848
3989
|
"value": {
|
3849
|
-
"
|
3850
|
-
|
3990
|
+
"oneOf": [
|
3991
|
+
{
|
3992
|
+
"type": "string",
|
3993
|
+
"maxLength": 255
|
3994
|
+
},
|
3995
|
+
{
|
3996
|
+
"type": "number"
|
3997
|
+
},
|
3998
|
+
{
|
3999
|
+
"type": "boolean"
|
4000
|
+
}
|
4001
|
+
]
|
3851
4002
|
}
|
3852
4003
|
},
|
3853
4004
|
"additionalProperties": false,
|
@@ -4026,8 +4177,18 @@
|
|
4026
4177
|
"type": "object",
|
4027
4178
|
"properties": {
|
4028
4179
|
"value": {
|
4029
|
-
"
|
4030
|
-
|
4180
|
+
"oneOf": [
|
4181
|
+
{
|
4182
|
+
"type": "string",
|
4183
|
+
"maxLength": 255
|
4184
|
+
},
|
4185
|
+
{
|
4186
|
+
"type": "number"
|
4187
|
+
},
|
4188
|
+
{
|
4189
|
+
"type": "boolean"
|
4190
|
+
}
|
4191
|
+
]
|
4031
4192
|
}
|
4032
4193
|
},
|
4033
4194
|
"additionalProperties": false,
|
@@ -4676,8 +4837,18 @@
|
|
4676
4837
|
"type": "object",
|
4677
4838
|
"properties": {
|
4678
4839
|
"value": {
|
4679
|
-
"
|
4680
|
-
|
4840
|
+
"oneOf": [
|
4841
|
+
{
|
4842
|
+
"type": "string",
|
4843
|
+
"maxLength": 255
|
4844
|
+
},
|
4845
|
+
{
|
4846
|
+
"type": "number"
|
4847
|
+
},
|
4848
|
+
{
|
4849
|
+
"type": "boolean"
|
4850
|
+
}
|
4851
|
+
]
|
4681
4852
|
}
|
4682
4853
|
},
|
4683
4854
|
"additionalProperties": false,
|
data/schemas/dashboardPost.json
CHANGED
@@ -239,8 +239,18 @@
|
|
239
239
|
"type": "object",
|
240
240
|
"properties": {
|
241
241
|
"value": {
|
242
|
-
"
|
243
|
-
|
242
|
+
"oneOf": [
|
243
|
+
{
|
244
|
+
"type": "string",
|
245
|
+
"maxLength": 255
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"type": "number"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"type": "boolean"
|
252
|
+
}
|
253
|
+
]
|
244
254
|
}
|
245
255
|
},
|
246
256
|
"additionalProperties": false,
|
@@ -493,8 +503,18 @@
|
|
493
503
|
"type": "object",
|
494
504
|
"properties": {
|
495
505
|
"value": {
|
496
|
-
"
|
497
|
-
|
506
|
+
"oneOf": [
|
507
|
+
{
|
508
|
+
"type": "string",
|
509
|
+
"maxLength": 255
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"type": "number"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"type": "boolean"
|
516
|
+
}
|
517
|
+
]
|
498
518
|
}
|
499
519
|
},
|
500
520
|
"additionalProperties": false,
|
@@ -656,8 +676,18 @@
|
|
656
676
|
"type": "object",
|
657
677
|
"properties": {
|
658
678
|
"value": {
|
659
|
-
"
|
660
|
-
|
679
|
+
"oneOf": [
|
680
|
+
{
|
681
|
+
"type": "string",
|
682
|
+
"maxLength": 255
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"type": "number"
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"type": "boolean"
|
689
|
+
}
|
690
|
+
]
|
661
691
|
}
|
662
692
|
},
|
663
693
|
"additionalProperties": false,
|
@@ -894,6 +924,42 @@
|
|
894
924
|
"$and",
|
895
925
|
"advanced"
|
896
926
|
]
|
927
|
+
},
|
928
|
+
"columns": {
|
929
|
+
"type": "array",
|
930
|
+
"maxItems": 100,
|
931
|
+
"items": {
|
932
|
+
"type": "object",
|
933
|
+
"properties": {
|
934
|
+
"id": {
|
935
|
+
"type": "string",
|
936
|
+
"maxLength": 48
|
937
|
+
},
|
938
|
+
"type": {
|
939
|
+
"oneOf": [
|
940
|
+
{
|
941
|
+
"type": "string",
|
942
|
+
"pattern": "^[0-9a-zA-Z_-]{1,255}$"
|
943
|
+
},
|
944
|
+
{
|
945
|
+
"type": "string",
|
946
|
+
"enum": [
|
947
|
+
"$custom"
|
948
|
+
]
|
949
|
+
}
|
950
|
+
]
|
951
|
+
},
|
952
|
+
"headerTemplate": {
|
953
|
+
"type": "string",
|
954
|
+
"maxLength": 1024
|
955
|
+
},
|
956
|
+
"rowTemplate": {
|
957
|
+
"type": "string",
|
958
|
+
"maxLength": 32767
|
959
|
+
}
|
960
|
+
},
|
961
|
+
"additionalProperties": false
|
962
|
+
}
|
897
963
|
}
|
898
964
|
},
|
899
965
|
"additionalProperties": false
|
@@ -1161,6 +1227,9 @@
|
|
1161
1227
|
"type": "string",
|
1162
1228
|
"maxLength": 255
|
1163
1229
|
}
|
1230
|
+
},
|
1231
|
+
"includeDeviceInfo": {
|
1232
|
+
"type": "boolean"
|
1164
1233
|
}
|
1165
1234
|
},
|
1166
1235
|
"additionalProperties": false
|
@@ -1435,8 +1504,17 @@
|
|
1435
1504
|
"state",
|
1436
1505
|
"tag",
|
1437
1506
|
"deviceName",
|
1438
|
-
"sourceId"
|
1507
|
+
"sourceId",
|
1508
|
+
"custom"
|
1439
1509
|
]
|
1510
|
+
},
|
1511
|
+
"headerTemplate": {
|
1512
|
+
"type": "string",
|
1513
|
+
"maxLength": 1024
|
1514
|
+
},
|
1515
|
+
"rowTemplate": {
|
1516
|
+
"type": "string",
|
1517
|
+
"maxLength": 32767
|
1440
1518
|
}
|
1441
1519
|
},
|
1442
1520
|
"additionalProperties": false
|
@@ -1638,8 +1716,18 @@
|
|
1638
1716
|
"type": "object",
|
1639
1717
|
"properties": {
|
1640
1718
|
"value": {
|
1641
|
-
"
|
1642
|
-
|
1719
|
+
"oneOf": [
|
1720
|
+
{
|
1721
|
+
"type": "string",
|
1722
|
+
"maxLength": 255
|
1723
|
+
},
|
1724
|
+
{
|
1725
|
+
"type": "number"
|
1726
|
+
},
|
1727
|
+
{
|
1728
|
+
"type": "boolean"
|
1729
|
+
}
|
1730
|
+
]
|
1643
1731
|
}
|
1644
1732
|
},
|
1645
1733
|
"additionalProperties": false,
|
@@ -1928,8 +2016,18 @@
|
|
1928
2016
|
"type": "object",
|
1929
2017
|
"properties": {
|
1930
2018
|
"value": {
|
1931
|
-
"
|
1932
|
-
|
2019
|
+
"oneOf": [
|
2020
|
+
{
|
2021
|
+
"type": "string",
|
2022
|
+
"maxLength": 255
|
2023
|
+
},
|
2024
|
+
{
|
2025
|
+
"type": "number"
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
"type": "boolean"
|
2029
|
+
}
|
2030
|
+
]
|
1933
2031
|
}
|
1934
2032
|
},
|
1935
2033
|
"additionalProperties": false,
|
@@ -2414,7 +2512,7 @@
|
|
2414
2512
|
},
|
2415
2513
|
"segments": {
|
2416
2514
|
"type": "array",
|
2417
|
-
"maxItems":
|
2515
|
+
"maxItems": 300,
|
2418
2516
|
"items": {
|
2419
2517
|
"oneOf": [
|
2420
2518
|
{
|
@@ -2510,8 +2608,18 @@
|
|
2510
2608
|
"type": "object",
|
2511
2609
|
"properties": {
|
2512
2610
|
"value": {
|
2513
|
-
"
|
2514
|
-
|
2611
|
+
"oneOf": [
|
2612
|
+
{
|
2613
|
+
"type": "string",
|
2614
|
+
"maxLength": 255
|
2615
|
+
},
|
2616
|
+
{
|
2617
|
+
"type": "number"
|
2618
|
+
},
|
2619
|
+
{
|
2620
|
+
"type": "boolean"
|
2621
|
+
}
|
2622
|
+
]
|
2515
2623
|
}
|
2516
2624
|
},
|
2517
2625
|
"additionalProperties": false,
|
@@ -3104,8 +3212,18 @@
|
|
3104
3212
|
"type": "object",
|
3105
3213
|
"properties": {
|
3106
3214
|
"value": {
|
3107
|
-
"
|
3108
|
-
|
3215
|
+
"oneOf": [
|
3216
|
+
{
|
3217
|
+
"type": "string",
|
3218
|
+
"maxLength": 255
|
3219
|
+
},
|
3220
|
+
{
|
3221
|
+
"type": "number"
|
3222
|
+
},
|
3223
|
+
{
|
3224
|
+
"type": "boolean"
|
3225
|
+
}
|
3226
|
+
]
|
3109
3227
|
}
|
3110
3228
|
},
|
3111
3229
|
"additionalProperties": false,
|
@@ -3451,8 +3569,18 @@
|
|
3451
3569
|
"type": "object",
|
3452
3570
|
"properties": {
|
3453
3571
|
"value": {
|
3454
|
-
"
|
3455
|
-
|
3572
|
+
"oneOf": [
|
3573
|
+
{
|
3574
|
+
"type": "string",
|
3575
|
+
"maxLength": 255
|
3576
|
+
},
|
3577
|
+
{
|
3578
|
+
"type": "number"
|
3579
|
+
},
|
3580
|
+
{
|
3581
|
+
"type": "boolean"
|
3582
|
+
}
|
3583
|
+
]
|
3456
3584
|
}
|
3457
3585
|
},
|
3458
3586
|
"additionalProperties": false,
|
@@ -3675,8 +3803,18 @@
|
|
3675
3803
|
"type": "object",
|
3676
3804
|
"properties": {
|
3677
3805
|
"value": {
|
3678
|
-
"
|
3679
|
-
|
3806
|
+
"oneOf": [
|
3807
|
+
{
|
3808
|
+
"type": "string",
|
3809
|
+
"maxLength": 255
|
3810
|
+
},
|
3811
|
+
{
|
3812
|
+
"type": "number"
|
3813
|
+
},
|
3814
|
+
{
|
3815
|
+
"type": "boolean"
|
3816
|
+
}
|
3817
|
+
]
|
3680
3818
|
}
|
3681
3819
|
},
|
3682
3820
|
"additionalProperties": false,
|
@@ -3728,6 +3866,9 @@
|
|
3728
3866
|
},
|
3729
3867
|
"defaultValue": {
|
3730
3868
|
"type": "boolean"
|
3869
|
+
},
|
3870
|
+
"includeLabel": {
|
3871
|
+
"type": "boolean"
|
3731
3872
|
}
|
3732
3873
|
},
|
3733
3874
|
"additionalProperties": false
|
@@ -3854,8 +3995,18 @@
|
|
3854
3995
|
"type": "object",
|
3855
3996
|
"properties": {
|
3856
3997
|
"value": {
|
3857
|
-
"
|
3858
|
-
|
3998
|
+
"oneOf": [
|
3999
|
+
{
|
4000
|
+
"type": "string",
|
4001
|
+
"maxLength": 255
|
4002
|
+
},
|
4003
|
+
{
|
4004
|
+
"type": "number"
|
4005
|
+
},
|
4006
|
+
{
|
4007
|
+
"type": "boolean"
|
4008
|
+
}
|
4009
|
+
]
|
3859
4010
|
}
|
3860
4011
|
},
|
3861
4012
|
"additionalProperties": false,
|
@@ -4034,8 +4185,18 @@
|
|
4034
4185
|
"type": "object",
|
4035
4186
|
"properties": {
|
4036
4187
|
"value": {
|
4037
|
-
"
|
4038
|
-
|
4188
|
+
"oneOf": [
|
4189
|
+
{
|
4190
|
+
"type": "string",
|
4191
|
+
"maxLength": 255
|
4192
|
+
},
|
4193
|
+
{
|
4194
|
+
"type": "number"
|
4195
|
+
},
|
4196
|
+
{
|
4197
|
+
"type": "boolean"
|
4198
|
+
}
|
4199
|
+
]
|
4039
4200
|
}
|
4040
4201
|
},
|
4041
4202
|
"additionalProperties": false,
|
@@ -4684,8 +4845,18 @@
|
|
4684
4845
|
"type": "object",
|
4685
4846
|
"properties": {
|
4686
4847
|
"value": {
|
4687
|
-
"
|
4688
|
-
|
4848
|
+
"oneOf": [
|
4849
|
+
{
|
4850
|
+
"type": "string",
|
4851
|
+
"maxLength": 255
|
4852
|
+
},
|
4853
|
+
{
|
4854
|
+
"type": "number"
|
4855
|
+
},
|
4856
|
+
{
|
4857
|
+
"type": "boolean"
|
4858
|
+
}
|
4859
|
+
]
|
4689
4860
|
}
|
4690
4861
|
},
|
4691
4862
|
"additionalProperties": false,
|