losant_rest 1.19.4 → 1.19.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +9 -9
  4. data/docs/_schemas.md +1142 -63
  5. data/docs/instanceAuditLog.md +49 -0
  6. data/docs/instanceAuditLogs.md +53 -0
  7. data/examples/auth.rb +1 -1
  8. data/examples/list_devices.rb +1 -1
  9. data/lib/platform_rest/application.rb +1 -1
  10. data/lib/platform_rest/application_api_token.rb +1 -1
  11. data/lib/platform_rest/application_api_tokens.rb +1 -1
  12. data/lib/platform_rest/application_certificate.rb +1 -1
  13. data/lib/platform_rest/application_certificate_authorities.rb +1 -1
  14. data/lib/platform_rest/application_certificate_authority.rb +1 -1
  15. data/lib/platform_rest/application_certificates.rb +1 -1
  16. data/lib/platform_rest/application_dashboard.rb +1 -1
  17. data/lib/platform_rest/application_dashboards.rb +1 -1
  18. data/lib/platform_rest/application_key.rb +1 -1
  19. data/lib/platform_rest/application_keys.rb +1 -1
  20. data/lib/platform_rest/application_template.rb +1 -1
  21. data/lib/platform_rest/application_templates.rb +1 -1
  22. data/lib/platform_rest/applications.rb +1 -1
  23. data/lib/platform_rest/audit_log.rb +1 -1
  24. data/lib/platform_rest/audit_logs.rb +1 -1
  25. data/lib/platform_rest/auth.rb +1 -1
  26. data/lib/platform_rest/client.rb +11 -3
  27. data/lib/platform_rest/credential.rb +1 -1
  28. data/lib/platform_rest/credentials.rb +1 -1
  29. data/lib/platform_rest/dashboard.rb +1 -1
  30. data/lib/platform_rest/dashboards.rb +1 -1
  31. data/lib/platform_rest/data.rb +1 -1
  32. data/lib/platform_rest/data_table.rb +1 -1
  33. data/lib/platform_rest/data_table_row.rb +1 -1
  34. data/lib/platform_rest/data_table_rows.rb +1 -1
  35. data/lib/platform_rest/data_tables.rb +1 -1
  36. data/lib/platform_rest/device.rb +1 -1
  37. data/lib/platform_rest/device_recipe.rb +1 -1
  38. data/lib/platform_rest/device_recipes.rb +1 -1
  39. data/lib/platform_rest/devices.rb +1 -1
  40. data/lib/platform_rest/edge_deployment.rb +1 -1
  41. data/lib/platform_rest/edge_deployments.rb +1 -1
  42. data/lib/platform_rest/embedded_deployment.rb +1 -1
  43. data/lib/platform_rest/embedded_deployments.rb +1 -1
  44. data/lib/platform_rest/error.rb +1 -1
  45. data/lib/platform_rest/event.rb +1 -1
  46. data/lib/platform_rest/events.rb +1 -1
  47. data/lib/platform_rest/experience.rb +1 -1
  48. data/lib/platform_rest/experience_domain.rb +1 -1
  49. data/lib/platform_rest/experience_domains.rb +1 -1
  50. data/lib/platform_rest/experience_endpoint.rb +1 -1
  51. data/lib/platform_rest/experience_endpoints.rb +1 -1
  52. data/lib/platform_rest/experience_group.rb +1 -1
  53. data/lib/platform_rest/experience_groups.rb +1 -1
  54. data/lib/platform_rest/experience_slug.rb +1 -1
  55. data/lib/platform_rest/experience_slugs.rb +1 -1
  56. data/lib/platform_rest/experience_user.rb +1 -1
  57. data/lib/platform_rest/experience_users.rb +1 -1
  58. data/lib/platform_rest/experience_version.rb +1 -1
  59. data/lib/platform_rest/experience_versions.rb +1 -1
  60. data/lib/platform_rest/experience_view.rb +1 -1
  61. data/lib/platform_rest/experience_views.rb +1 -1
  62. data/lib/platform_rest/file.rb +1 -1
  63. data/lib/platform_rest/files.rb +1 -1
  64. data/lib/platform_rest/flow.rb +1 -1
  65. data/lib/platform_rest/flow_version.rb +1 -1
  66. data/lib/platform_rest/flow_versions.rb +1 -1
  67. data/lib/platform_rest/flows.rb +1 -1
  68. data/lib/platform_rest/instance.rb +1 -1
  69. data/lib/platform_rest/instance_api_token.rb +1 -1
  70. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  71. data/lib/{losant_rest/application_template.rb → platform_rest/instance_audit_log.rb} +13 -11
  72. data/lib/{losant_rest/audit_logs.rb → platform_rest/instance_audit_logs.rb} +12 -12
  73. data/lib/platform_rest/instance_custom_node.rb +1 -1
  74. data/lib/platform_rest/instance_custom_nodes.rb +1 -1
  75. data/lib/platform_rest/instance_member.rb +1 -1
  76. data/lib/platform_rest/instance_members.rb +1 -1
  77. data/lib/platform_rest/instance_org.rb +1 -1
  78. data/lib/platform_rest/instance_org_invite.rb +1 -1
  79. data/lib/platform_rest/instance_org_invites.rb +1 -1
  80. data/lib/platform_rest/instance_org_member.rb +1 -1
  81. data/lib/platform_rest/instance_org_members.rb +1 -1
  82. data/lib/platform_rest/instance_orgs.rb +1 -1
  83. data/lib/platform_rest/instance_sandbox.rb +1 -1
  84. data/lib/platform_rest/instance_sandboxes.rb +1 -1
  85. data/lib/platform_rest/instances.rb +1 -1
  86. data/lib/platform_rest/integration.rb +1 -1
  87. data/lib/platform_rest/integrations.rb +1 -1
  88. data/lib/platform_rest/me.rb +1 -1
  89. data/lib/platform_rest/notebook.rb +1 -1
  90. data/lib/platform_rest/notebooks.rb +1 -1
  91. data/lib/platform_rest/org.rb +1 -1
  92. data/lib/platform_rest/org_invites.rb +1 -1
  93. data/lib/platform_rest/orgs.rb +1 -1
  94. data/lib/platform_rest/resource_job.rb +1 -1
  95. data/lib/platform_rest/resource_jobs.rb +1 -1
  96. data/lib/platform_rest/user_api_token.rb +1 -1
  97. data/lib/platform_rest/user_api_tokens.rb +1 -1
  98. data/lib/platform_rest/utils.rb +1 -1
  99. data/lib/{losant_rest → platform_rest}/version.rb +3 -3
  100. data/lib/platform_rest/webhook.rb +1 -1
  101. data/lib/platform_rest/webhooks.rb +1 -1
  102. data/lib/platform_rest.rb +3 -1
  103. data/losant_rest.gemspec +2 -2
  104. data/schemas/apiTokenPost.json +9 -1
  105. data/schemas/auditLog.json +3 -2
  106. data/schemas/auditLogFilter.json +3 -2
  107. data/schemas/auditLogs.json +3 -2
  108. data/schemas/credential.json +50 -1
  109. data/schemas/credentialLinkedResources.json +81 -4
  110. data/schemas/credentialPatch.json +56 -0
  111. data/schemas/credentialPost.json +71 -1
  112. data/schemas/credentials.json +50 -1
  113. data/schemas/deviceConnectionStatus.json +6 -2
  114. data/schemas/devicesHistoricalImportPost.json +25 -0
  115. data/schemas/experienceLinkedResources.json +7 -5
  116. data/schemas/experienceView.json +1 -2
  117. data/schemas/experienceViewPatch.json +1 -2
  118. data/schemas/experienceViewPost.json +2 -4
  119. data/schemas/experienceViews.json +1 -2
  120. data/schemas/flow.json +2 -1
  121. data/schemas/flowPatch.json +2 -1
  122. data/schemas/flowPost.json +2 -1
  123. data/schemas/flowVersion.json +4 -2
  124. data/schemas/flowVersionPost.json +2 -1
  125. data/schemas/flowVersions.json +4 -2
  126. data/schemas/flows.json +2 -1
  127. data/schemas/flowsImportPost.json +4 -2
  128. data/schemas/flowsImportResult.json +6 -3
  129. data/schemas/githubLogin.json +9 -1
  130. data/schemas/instance.json +1 -4
  131. data/schemas/instanceAuditLog.json +94 -0
  132. data/schemas/instanceAuditLogFilter.json +106 -0
  133. data/schemas/instanceAuditLogs.json +41 -0
  134. data/schemas/instanceCustomNodePatch.json +2 -1
  135. data/schemas/instanceCustomNodePost.json +2 -1
  136. data/schemas/instanceOrgMember.json +4 -1
  137. data/schemas/instances.json +1 -4
  138. data/schemas/integration.json +75 -1
  139. data/schemas/integrationPatch.json +73 -0
  140. data/schemas/integrationPost.json +75 -1
  141. data/schemas/integrations.json +75 -1
  142. data/schemas/mePatch.json +18 -0
  143. data/schemas/samlResponse.json +9 -1
  144. data/schemas/userCredentials.json +9 -1
  145. data/schemas/userPost.json +9 -1
  146. data/test/basic_test.rb +6 -6
  147. data/test/test_helper.rb +1 -1
  148. metadata +11 -94
  149. data/lib/losant_rest/application.rb +0 -932
  150. data/lib/losant_rest/application_api_token.rb +0 -176
  151. data/lib/losant_rest/application_api_tokens.rb +0 -136
  152. data/lib/losant_rest/application_certificate.rb +0 -176
  153. data/lib/losant_rest/application_certificate_authorities.rb +0 -138
  154. data/lib/losant_rest/application_certificate_authority.rb +0 -176
  155. data/lib/losant_rest/application_certificates.rb +0 -138
  156. data/lib/losant_rest/application_dashboard.rb +0 -225
  157. data/lib/losant_rest/application_dashboards.rb +0 -138
  158. data/lib/losant_rest/application_key.rb +0 -176
  159. data/lib/losant_rest/application_keys.rb +0 -141
  160. data/lib/losant_rest/application_templates.rb +0 -176
  161. data/lib/losant_rest/applications.rb +0 -142
  162. data/lib/losant_rest/audit_log.rb +0 -81
  163. data/lib/losant_rest/auth.rb +0 -245
  164. data/lib/losant_rest/client.rb +0 -410
  165. data/lib/losant_rest/credential.rb +0 -224
  166. data/lib/losant_rest/credentials.rb +0 -138
  167. data/lib/losant_rest/dashboard.rb +0 -268
  168. data/lib/losant_rest/dashboards.rb +0 -136
  169. data/lib/losant_rest/data.rb +0 -176
  170. data/lib/losant_rest/data_table.rb +0 -274
  171. data/lib/losant_rest/data_table_row.rb +0 -182
  172. data/lib/losant_rest/data_table_rows.rb +0 -343
  173. data/lib/losant_rest/data_tables.rb +0 -138
  174. data/lib/losant_rest/device.rb +0 -749
  175. data/lib/losant_rest/device_recipe.rb +0 -234
  176. data/lib/losant_rest/device_recipes.rb +0 -146
  177. data/lib/losant_rest/devices.rb +0 -707
  178. data/lib/losant_rest/edge_deployment.rb +0 -81
  179. data/lib/losant_rest/edge_deployments.rb +0 -236
  180. data/lib/losant_rest/embedded_deployment.rb +0 -81
  181. data/lib/losant_rest/embedded_deployments.rb +0 -280
  182. data/lib/losant_rest/error.rb +0 -34
  183. data/lib/losant_rest/event.rb +0 -176
  184. data/lib/losant_rest/events.rb +0 -341
  185. data/lib/losant_rest/experience.rb +0 -142
  186. data/lib/losant_rest/experience_domain.rb +0 -176
  187. data/lib/losant_rest/experience_domains.rb +0 -126
  188. data/lib/losant_rest/experience_endpoint.rb +0 -230
  189. data/lib/losant_rest/experience_endpoints.rb +0 -200
  190. data/lib/losant_rest/experience_group.rb +0 -180
  191. data/lib/losant_rest/experience_groups.rb +0 -141
  192. data/lib/losant_rest/experience_slug.rb +0 -176
  193. data/lib/losant_rest/experience_slugs.rb +0 -126
  194. data/lib/losant_rest/experience_user.rb +0 -176
  195. data/lib/losant_rest/experience_users.rb +0 -142
  196. data/lib/losant_rest/experience_version.rb +0 -176
  197. data/lib/losant_rest/experience_versions.rb +0 -138
  198. data/lib/losant_rest/experience_view.rb +0 -228
  199. data/lib/losant_rest/experience_views.rb +0 -142
  200. data/lib/losant_rest/file.rb +0 -226
  201. data/lib/losant_rest/files.rb +0 -144
  202. data/lib/losant_rest/flow.rb +0 -580
  203. data/lib/losant_rest/flow_version.rb +0 -352
  204. data/lib/losant_rest/flow_versions.rb +0 -201
  205. data/lib/losant_rest/flows.rb +0 -310
  206. data/lib/losant_rest/instance.rb +0 -377
  207. data/lib/losant_rest/instance_api_token.rb +0 -176
  208. data/lib/losant_rest/instance_api_tokens.rb +0 -136
  209. data/lib/losant_rest/instance_custom_node.rb +0 -282
  210. data/lib/losant_rest/instance_custom_nodes.rb +0 -136
  211. data/lib/losant_rest/instance_member.rb +0 -176
  212. data/lib/losant_rest/instance_members.rb +0 -134
  213. data/lib/losant_rest/instance_org.rb +0 -336
  214. data/lib/losant_rest/instance_org_invite.rb +0 -182
  215. data/lib/losant_rest/instance_org_invites.rb +0 -138
  216. data/lib/losant_rest/instance_org_member.rb +0 -182
  217. data/lib/losant_rest/instance_org_members.rb +0 -138
  218. data/lib/losant_rest/instance_orgs.rb +0 -139
  219. data/lib/losant_rest/instance_sandbox.rb +0 -181
  220. data/lib/losant_rest/instance_sandboxes.rb +0 -98
  221. data/lib/losant_rest/instances.rb +0 -88
  222. data/lib/losant_rest/integration.rb +0 -178
  223. data/lib/losant_rest/integrations.rb +0 -138
  224. data/lib/losant_rest/me.rb +0 -790
  225. data/lib/losant_rest/notebook.rb +0 -423
  226. data/lib/losant_rest/notebooks.rb +0 -138
  227. data/lib/losant_rest/org.rb +0 -663
  228. data/lib/losant_rest/org_invites.rb +0 -124
  229. data/lib/losant_rest/orgs.rb +0 -140
  230. data/lib/losant_rest/resource_job.rb +0 -326
  231. data/lib/losant_rest/resource_jobs.rb +0 -138
  232. data/lib/losant_rest/user_api_token.rb +0 -170
  233. data/lib/losant_rest/user_api_tokens.rb +0 -132
  234. data/lib/losant_rest/utils.rb +0 -44
  235. data/lib/losant_rest/webhook.rb +0 -178
  236. data/lib/losant_rest/webhooks.rb +0 -138
  237. data/lib/losant_rest.rb +0 -129
data/docs/_schemas.md CHANGED
@@ -111,6 +111,7 @@
111
111
  * [Devices Delete Post](#devices-delete-post)
112
112
  * [Devices Payload Count Export Post](#devices-payload-count-export-post)
113
113
  * [Devices Metadata Export Post](#devices-metadata-export-post)
114
+ * [Devices Historical Import Post](#devices-historical-import-post)
114
115
  * [Devices Patch](#devices-patch)
115
116
  * [Devices Remove Data Post](#devices-remove-data-post)
116
117
  * [Devices Updated](#devices-updated)
@@ -196,6 +197,9 @@
196
197
  * [Application Import Options](#application-import-options)
197
198
  * [Applications Import Options](#applications-import-options)
198
199
  * [Instance](#instance)
200
+ * [Instance Audit Log](#instance-audit-log)
201
+ * [Instance Audit Log Filter](#instance-audit-log-filter)
202
+ * [Instance Audit Logs](#instance-audit-logs)
199
203
  * [Instance Custom Node](#instance-custom-node)
200
204
  * [Instance Custom Node Patch](#instance-custom-node-patch)
201
205
  * [Instance Custom Node Post](#instance-custom-node-post)
@@ -8845,6 +8849,7 @@ Schema for the body of an API Token creation request
8845
8849
  "dataTableRows.truncate",
8846
8850
  "dataTables.get",
8847
8851
  "dataTables.post",
8852
+ "device.agentLogs",
8848
8853
  "device.commandStream",
8849
8854
  "device.debug",
8850
8855
  "device.delete",
@@ -8877,6 +8882,7 @@ Schema for the body of an API Token creation request
8877
8882
  "devices.export",
8878
8883
  "devices.get",
8879
8884
  "devices.getCompositeState",
8885
+ "devices.historicalImport",
8880
8886
  "devices.payloadCounts",
8881
8887
  "devices.post",
8882
8888
  "devices.sendCommand",
@@ -8897,6 +8903,7 @@ Schema for the body of an API Token creation request
8897
8903
  "event.get",
8898
8904
  "event.patch",
8899
8905
  "events.delete",
8906
+ "events.detailedSummary",
8900
8907
  "events.get",
8901
8908
  "events.mostRecentBySeverity",
8902
8909
  "events.patch",
@@ -8972,6 +8979,7 @@ Schema for the body of an API Token creation request
8972
8979
  "flows.palette",
8973
8980
  "flows.post",
8974
8981
  "flowVersion.delete",
8982
+ "flowVersion.debug",
8975
8983
  "flowVersion.errors",
8976
8984
  "flowVersion.get",
8977
8985
  "flowVersion.log",
@@ -9118,7 +9126,11 @@ Schema for the body of an API Token creation request
9118
9126
  "instanceSandbox.delete",
9119
9127
  "instanceSandbox.undelete",
9120
9128
  "instanceSandboxes.*",
9121
- "instanceSandboxes.get"
9129
+ "instanceSandboxes.get",
9130
+ "instanceAuditLog.*",
9131
+ "instanceAuditLog.get",
9132
+ "instanceAuditLogs.*",
9133
+ "instanceAuditLogs.get"
9122
9134
  ]
9123
9135
  },
9124
9136
  {
@@ -20781,6 +20793,7 @@ Schema for a single Audit Log entry
20781
20793
  "ApplicationCertificateAuthority",
20782
20794
  "ApplicationCertificate",
20783
20795
  "ApplicationKey",
20796
+ "Credential",
20784
20797
  "Dashboard",
20785
20798
  "DataTable",
20786
20799
  "Device",
@@ -20797,8 +20810,8 @@ Schema for a single Audit Log entry
20797
20810
  "Flow",
20798
20811
  "Integration",
20799
20812
  "Notebook",
20800
- "Webhook",
20801
- "ResourceJob"
20813
+ "ResourceJob",
20814
+ "Webhook"
20802
20815
  ]
20803
20816
  },
20804
20817
  "secondaryTargetName": {
@@ -20933,6 +20946,7 @@ Schema for the filter of an audit log query
20933
20946
  "ApplicationCertificateAuthority",
20934
20947
  "ApplicationCertificate",
20935
20948
  "ApplicationKey",
20949
+ "Credential",
20936
20950
  "Dashboard",
20937
20951
  "DataTable",
20938
20952
  "Device",
@@ -20949,8 +20963,8 @@ Schema for the filter of an audit log query
20949
20963
  "Flow",
20950
20964
  "Integration",
20951
20965
  "Notebook",
20952
- "Webhook",
20953
- "ResourceJob"
20966
+ "ResourceJob",
20967
+ "Webhook"
20954
20968
  ]
20955
20969
  },
20956
20970
  "name": {
@@ -21102,6 +21116,7 @@ Schema for a collection of Audit Logs
21102
21116
  "ApplicationCertificateAuthority",
21103
21117
  "ApplicationCertificate",
21104
21118
  "ApplicationKey",
21119
+ "Credential",
21105
21120
  "Dashboard",
21106
21121
  "DataTable",
21107
21122
  "Device",
@@ -21118,8 +21133,8 @@ Schema for a collection of Audit Logs
21118
21133
  "Flow",
21119
21134
  "Integration",
21120
21135
  "Notebook",
21121
- "Webhook",
21122
- "ResourceJob"
21136
+ "ResourceJob",
21137
+ "Webhook"
21123
21138
  ]
21124
21139
  },
21125
21140
  "secondaryTargetName": {
@@ -21752,7 +21767,10 @@ Schema for a single Credential
21752
21767
  "gcp",
21753
21768
  "http",
21754
21769
  "sendgrid",
21755
- "twilio"
21770
+ "twilio",
21771
+ "loggly",
21772
+ "jwt",
21773
+ "whatsapp"
21756
21774
  ]
21757
21775
  },
21758
21776
  "awsConfig": {
@@ -21852,6 +21870,52 @@ Schema for a single Credential
21852
21870
  "accountSid",
21853
21871
  "apiKeySid"
21854
21872
  ]
21873
+ },
21874
+ "logglyConfig": {
21875
+ "type": "object",
21876
+ "properties": {},
21877
+ "additionalProperties": false
21878
+ },
21879
+ "jwtConfig": {
21880
+ "type": "object",
21881
+ "properties": {
21882
+ "issuer": {
21883
+ "type": "string",
21884
+ "maxLength": 1024
21885
+ },
21886
+ "algorithm": {
21887
+ "type": "string",
21888
+ "enum": [
21889
+ "HS256",
21890
+ "HS384",
21891
+ "HS512",
21892
+ "RS256",
21893
+ "RS384",
21894
+ "RS512",
21895
+ "ES256",
21896
+ "ES384",
21897
+ "ES512"
21898
+ ]
21899
+ }
21900
+ },
21901
+ "additionalProperties": false,
21902
+ "required": [
21903
+ "algorithm"
21904
+ ]
21905
+ },
21906
+ "whatsappConfig": {
21907
+ "type": "object",
21908
+ "properties": {
21909
+ "fromNumberId": {
21910
+ "type": "string",
21911
+ "minLength": 1,
21912
+ "maxLength": 128
21913
+ }
21914
+ },
21915
+ "additionalProperties": false,
21916
+ "required": [
21917
+ "fromNumberId"
21918
+ ]
21855
21919
  }
21856
21920
  },
21857
21921
  "additionalProperties": false,
@@ -21944,7 +22008,8 @@ The body of an credential linked resources response
21944
22008
  "googlePubSub",
21945
22009
  "mqtt",
21946
22010
  "particle",
21947
- "sqs"
22011
+ "sqs",
22012
+ "websocket"
21948
22013
  ]
21949
22014
  },
21950
22015
  "enabled": {
@@ -22074,6 +22139,13 @@ The body of an credential linked resources response
22074
22139
  },
22075
22140
  "disableSSLVerification": {
22076
22141
  "type": "boolean"
22142
+ },
22143
+ "protocolVersion": {
22144
+ "type": "string",
22145
+ "enum": [
22146
+ "3.1.1",
22147
+ "5"
22148
+ ]
22077
22149
  }
22078
22150
  },
22079
22151
  "additionalProperties": false,
@@ -22141,6 +22213,72 @@ The body of an credential linked resources response
22141
22213
  "queueUrl"
22142
22214
  ]
22143
22215
  },
22216
+ "websocketConfig": {
22217
+ "type": "object",
22218
+ "properties": {
22219
+ "url": {
22220
+ "type": "string",
22221
+ "minLength": 1,
22222
+ "maxLength": 1024
22223
+ },
22224
+ "disableSSLVerification": {
22225
+ "type": "boolean"
22226
+ },
22227
+ "username": {
22228
+ "type": "string",
22229
+ "minLength": 1,
22230
+ "maxLength": 1024
22231
+ },
22232
+ "password": {
22233
+ "type": "string",
22234
+ "minLength": 1,
22235
+ "maxLength": 1024
22236
+ },
22237
+ "privateKey": {
22238
+ "type": "string",
22239
+ "maxLength": 32767,
22240
+ "minLength": 4
22241
+ },
22242
+ "certificate": {
22243
+ "type": "string",
22244
+ "maxLength": 32767,
22245
+ "minLength": 4
22246
+ },
22247
+ "caCertificate": {
22248
+ "type": "string",
22249
+ "maxLength": 32767,
22250
+ "minLength": 4
22251
+ },
22252
+ "headers": {
22253
+ "type": "array",
22254
+ "maxItems": 50,
22255
+ "items": {
22256
+ "type": "object",
22257
+ "properties": {
22258
+ "headerKey": {
22259
+ "type": "string",
22260
+ "minLength": 1,
22261
+ "maxLength": 1024
22262
+ },
22263
+ "headerValue": {
22264
+ "type": "string",
22265
+ "minLength": 1,
22266
+ "maxLength": 1024
22267
+ }
22268
+ },
22269
+ "additionalProperties": false,
22270
+ "required": [
22271
+ "headerKey",
22272
+ "headerValue"
22273
+ ]
22274
+ }
22275
+ }
22276
+ },
22277
+ "additionalProperties": false,
22278
+ "required": [
22279
+ "url"
22280
+ ]
22281
+ },
22144
22282
  "status": {
22145
22283
  "lastKeepAlive": {
22146
22284
  "type": [
@@ -22394,7 +22532,8 @@ The body of an credential linked resources response
22394
22532
  "webhook",
22395
22533
  "resourceJobIteration",
22396
22534
  "resourceJobIterationTimeout",
22397
- "resourceJobComplete"
22535
+ "resourceJobComplete",
22536
+ "websocket"
22398
22537
  ]
22399
22538
  },
22400
22539
  "label": {
@@ -25169,7 +25308,8 @@ The body of an credential linked resources response
25169
25308
  "webhook",
25170
25309
  "resourceJobIteration",
25171
25310
  "resourceJobIterationTimeout",
25172
- "resourceJobComplete"
25311
+ "resourceJobComplete",
25312
+ "websocket"
25173
25313
  ]
25174
25314
  },
25175
25315
  "label": {
@@ -27853,7 +27993,8 @@ The body of an credential linked resources response
27853
27993
  "webhook",
27854
27994
  "resourceJobIteration",
27855
27995
  "resourceJobIterationTimeout",
27856
- "resourceJobComplete"
27996
+ "resourceJobComplete",
27997
+ "websocket"
27857
27998
  ]
27858
27999
  },
27859
28000
  "label": {
@@ -30366,6 +30507,62 @@ Schema for a Credential update request
30366
30507
  }
30367
30508
  },
30368
30509
  "additionalProperties": false
30510
+ },
30511
+ "logglyConfig": {
30512
+ "type": "object",
30513
+ "properties": {
30514
+ "customerToken": {
30515
+ "type": "string",
30516
+ "minLength": 1,
30517
+ "maxLength": 128
30518
+ }
30519
+ },
30520
+ "additionalProperties": false
30521
+ },
30522
+ "jwtConfig": {
30523
+ "type": "object",
30524
+ "properties": {
30525
+ "issuer": {
30526
+ "type": "string",
30527
+ "maxLength": 1024
30528
+ },
30529
+ "algorithm": {
30530
+ "type": "string",
30531
+ "enum": [
30532
+ "HS256",
30533
+ "HS384",
30534
+ "HS512",
30535
+ "RS256",
30536
+ "RS384",
30537
+ "RS512",
30538
+ "ES256",
30539
+ "ES384",
30540
+ "ES512"
30541
+ ]
30542
+ },
30543
+ "secret": {
30544
+ "type": "string",
30545
+ "minLength": 1,
30546
+ "maxLength": 4096
30547
+ }
30548
+ },
30549
+ "additionalProperties": false
30550
+ },
30551
+ "whatsappConfig": {
30552
+ "type": "object",
30553
+ "properties": {
30554
+ "accessToken": {
30555
+ "type": "string",
30556
+ "minLength": 1,
30557
+ "maxLength": 1024
30558
+ },
30559
+ "fromNumberId": {
30560
+ "type": "string",
30561
+ "minLength": 1,
30562
+ "maxLength": 128
30563
+ }
30564
+ },
30565
+ "additionalProperties": false
30369
30566
  }
30370
30567
  },
30371
30568
  "additionalProperties": false
@@ -30416,7 +30613,10 @@ Schema for a Credential creation request
30416
30613
  "gcp",
30417
30614
  "http",
30418
30615
  "sendgrid",
30419
- "twilio"
30616
+ "twilio",
30617
+ "loggly",
30618
+ "jwt",
30619
+ "whatsapp"
30420
30620
  ]
30421
30621
  },
30422
30622
  "awsConfig": {
@@ -30549,6 +30749,73 @@ Schema for a Credential creation request
30549
30749
  "apiKeySid",
30550
30750
  "apiKeySecret"
30551
30751
  ]
30752
+ },
30753
+ "logglyConfig": {
30754
+ "type": "object",
30755
+ "properties": {
30756
+ "customerToken": {
30757
+ "type": "string",
30758
+ "minLength": 1,
30759
+ "maxLength": 128
30760
+ }
30761
+ },
30762
+ "additionalProperties": false,
30763
+ "required": [
30764
+ "customerToken"
30765
+ ]
30766
+ },
30767
+ "jwtConfig": {
30768
+ "type": "object",
30769
+ "properties": {
30770
+ "issuer": {
30771
+ "type": "string",
30772
+ "maxLength": 1024
30773
+ },
30774
+ "algorithm": {
30775
+ "type": "string",
30776
+ "enum": [
30777
+ "HS256",
30778
+ "HS384",
30779
+ "HS512",
30780
+ "RS256",
30781
+ "RS384",
30782
+ "RS512",
30783
+ "ES256",
30784
+ "ES384",
30785
+ "ES512"
30786
+ ]
30787
+ },
30788
+ "secret": {
30789
+ "type": "string",
30790
+ "minLength": 1,
30791
+ "maxLength": 4096
30792
+ }
30793
+ },
30794
+ "additionalProperties": false,
30795
+ "required": [
30796
+ "algorithm",
30797
+ "secret"
30798
+ ]
30799
+ },
30800
+ "whatsappConfig": {
30801
+ "type": "object",
30802
+ "properties": {
30803
+ "accessToken": {
30804
+ "type": "string",
30805
+ "minLength": 1,
30806
+ "maxLength": 1024
30807
+ },
30808
+ "fromNumberId": {
30809
+ "type": "string",
30810
+ "minLength": 1,
30811
+ "maxLength": 128
30812
+ }
30813
+ },
30814
+ "additionalProperties": false,
30815
+ "required": [
30816
+ "accessToken",
30817
+ "fromNumberId"
30818
+ ]
30552
30819
  }
30553
30820
  },
30554
30821
  "additionalProperties": false,
@@ -30652,7 +30919,10 @@ Schema for a collection of Credentials
30652
30919
  "gcp",
30653
30920
  "http",
30654
30921
  "sendgrid",
30655
- "twilio"
30922
+ "twilio",
30923
+ "loggly",
30924
+ "jwt",
30925
+ "whatsapp"
30656
30926
  ]
30657
30927
  },
30658
30928
  "awsConfig": {
@@ -30752,6 +31022,52 @@ Schema for a collection of Credentials
30752
31022
  "accountSid",
30753
31023
  "apiKeySid"
30754
31024
  ]
31025
+ },
31026
+ "logglyConfig": {
31027
+ "type": "object",
31028
+ "properties": {},
31029
+ "additionalProperties": false
31030
+ },
31031
+ "jwtConfig": {
31032
+ "type": "object",
31033
+ "properties": {
31034
+ "issuer": {
31035
+ "type": "string",
31036
+ "maxLength": 1024
31037
+ },
31038
+ "algorithm": {
31039
+ "type": "string",
31040
+ "enum": [
31041
+ "HS256",
31042
+ "HS384",
31043
+ "HS512",
31044
+ "RS256",
31045
+ "RS384",
31046
+ "RS512",
31047
+ "ES256",
31048
+ "ES384",
31049
+ "ES512"
31050
+ ]
31051
+ }
31052
+ },
31053
+ "additionalProperties": false,
31054
+ "required": [
31055
+ "algorithm"
31056
+ ]
31057
+ },
31058
+ "whatsappConfig": {
31059
+ "type": "object",
31060
+ "properties": {
31061
+ "fromNumberId": {
31062
+ "type": "string",
31063
+ "minLength": 1,
31064
+ "maxLength": 128
31065
+ }
31066
+ },
31067
+ "additionalProperties": false,
31068
+ "required": [
31069
+ "fromNumberId"
31070
+ ]
30755
31071
  }
30756
31072
  },
30757
31073
  "additionalProperties": false,
@@ -59818,10 +60134,14 @@ Schema for the body of a request to set a device's connection status
59818
60134
  "maxLength": 1024
59819
60135
  },
59820
60136
  "messagesFromClient": {
59821
- "type": "number"
60137
+ "type": "integer",
60138
+ "minimum": 0,
60139
+ "maximum": 2147483647
59822
60140
  },
59823
60141
  "messagesToClient": {
59824
- "type": "number"
60142
+ "type": "integer",
60143
+ "minimum": 0,
60144
+ "maximum": 2147483647
59825
60145
  },
59826
60146
  "ipAddress": {
59827
60147
  "type": "string",
@@ -67514,6 +67834,50 @@ Schema for the body of a device metadata export request
67514
67834
 
67515
67835
  <br/>
67516
67836
 
67837
+ ## Devices Historical Import Post
67838
+
67839
+ Schema for the body of a device data historical import request
67840
+
67841
+ ### <a name="devices-historical-import-post-schema"></a> Schema
67842
+
67843
+ ```json
67844
+ {
67845
+ "$schema": "http://json-schema.org/draft-07/schema#",
67846
+ "type": "object",
67847
+ "properties": {
67848
+ "email": {
67849
+ "type": "string",
67850
+ "format": "email",
67851
+ "maxLength": 1024
67852
+ },
67853
+ "callbackUrl": {
67854
+ "type": "string",
67855
+ "format": "uri",
67856
+ "maxLength": 1024
67857
+ },
67858
+ "fileUrl": {
67859
+ "type": "string",
67860
+ "format": "uri",
67861
+ "maxLength": 1024
67862
+ }
67863
+ },
67864
+ "required": [
67865
+ "fileUrl"
67866
+ ],
67867
+ "additionalProperties": false
67868
+ }
67869
+ ```
67870
+ ### <a name="devices-historical-import-post-example"></a> Example
67871
+
67872
+ ```json
67873
+ {
67874
+ "fileUrl": "https://example.com/my.csv",
67875
+ "email": "email@example.com"
67876
+ }
67877
+ ```
67878
+
67879
+ <br/>
67880
+
67517
67881
  ## Devices Patch
67518
67882
 
67519
67883
  Schema for the body of a Devices modification request
@@ -77355,8 +77719,7 @@ The body of an experience linked resources response
77355
77719
  },
77356
77720
  "body": {
77357
77721
  "type": "string",
77358
- "maxLength": 131072,
77359
- "minLength": 1
77722
+ "maxLength": 131072
77360
77723
  },
77361
77724
  "viewTags": {
77362
77725
  "type": "object",
@@ -77813,7 +78176,8 @@ The body of an experience linked resources response
77813
78176
  "webhook",
77814
78177
  "resourceJobIteration",
77815
78178
  "resourceJobIterationTimeout",
77816
- "resourceJobComplete"
78179
+ "resourceJobComplete",
78180
+ "websocket"
77817
78181
  ]
77818
78182
  },
77819
78183
  "label": {
@@ -80588,7 +80952,8 @@ The body of an experience linked resources response
80588
80952
  "webhook",
80589
80953
  "resourceJobIteration",
80590
80954
  "resourceJobIterationTimeout",
80591
- "resourceJobComplete"
80955
+ "resourceJobComplete",
80956
+ "websocket"
80592
80957
  ]
80593
80958
  },
80594
80959
  "label": {
@@ -83272,7 +83637,8 @@ The body of an experience linked resources response
83272
83637
  "webhook",
83273
83638
  "resourceJobIteration",
83274
83639
  "resourceJobIterationTimeout",
83275
- "resourceJobComplete"
83640
+ "resourceJobComplete",
83641
+ "websocket"
83276
83642
  ]
83277
83643
  },
83278
83644
  "label": {
@@ -86998,8 +87364,7 @@ Schema for a single Experience View
86998
87364
  },
86999
87365
  "body": {
87000
87366
  "type": "string",
87001
- "maxLength": 131072,
87002
- "minLength": 1
87367
+ "maxLength": 131072
87003
87368
  },
87004
87369
  "viewTags": {
87005
87370
  "type": "object",
@@ -87065,8 +87430,7 @@ Schema for the body of an Experience View modification request
87065
87430
  },
87066
87431
  "body": {
87067
87432
  "type": "string",
87068
- "maxLength": 131072,
87069
- "minLength": 1
87433
+ "maxLength": 131072
87070
87434
  },
87071
87435
  "viewTags": {
87072
87436
  "type": "object",
@@ -87133,8 +87497,7 @@ Schema for the body of an Experience View creation request
87133
87497
  },
87134
87498
  "body": {
87135
87499
  "type": "string",
87136
- "maxLength": 131072,
87137
- "minLength": 1
87500
+ "maxLength": 131072
87138
87501
  },
87139
87502
  "viewTags": {
87140
87503
  "type": "object",
@@ -87151,8 +87514,7 @@ Schema for the body of an Experience View creation request
87151
87514
  "additionalProperties": false,
87152
87515
  "required": [
87153
87516
  "name",
87154
- "viewType",
87155
- "body"
87517
+ "viewType"
87156
87518
  ]
87157
87519
  }
87158
87520
  ```
@@ -87265,8 +87627,7 @@ Schema for a collection of Experience Views
87265
87627
  },
87266
87628
  "body": {
87267
87629
  "type": "string",
87268
- "maxLength": 131072,
87269
- "minLength": 1
87630
+ "maxLength": 131072
87270
87631
  },
87271
87632
  "viewTags": {
87272
87633
  "type": "object",
@@ -88093,7 +88454,8 @@ Schema for a single Workflow
88093
88454
  "webhook",
88094
88455
  "resourceJobIteration",
88095
88456
  "resourceJobIterationTimeout",
88096
- "resourceJobComplete"
88457
+ "resourceJobComplete",
88458
+ "websocket"
88097
88459
  ]
88098
88460
  },
88099
88461
  "label": {
@@ -91011,7 +91373,8 @@ Schema for the body of a Workflow modification request
91011
91373
  "webhook",
91012
91374
  "resourceJobIteration",
91013
91375
  "resourceJobIterationTimeout",
91014
- "resourceJobComplete"
91376
+ "resourceJobComplete",
91377
+ "websocket"
91015
91378
  ]
91016
91379
  },
91017
91380
  "label": {
@@ -93682,7 +94045,8 @@ Schema for the body of a Workflow creation request
93682
94045
  "webhook",
93683
94046
  "resourceJobIteration",
93684
94047
  "resourceJobIterationTimeout",
93685
- "resourceJobComplete"
94048
+ "resourceJobComplete",
94049
+ "websocket"
93686
94050
  ]
93687
94051
  },
93688
94052
  "label": {
@@ -96625,7 +96989,8 @@ Schema for a single Workflow Version
96625
96989
  "webhook",
96626
96990
  "resourceJobIteration",
96627
96991
  "resourceJobIterationTimeout",
96628
- "resourceJobComplete"
96992
+ "resourceJobComplete",
96993
+ "websocket"
96629
96994
  ]
96630
96995
  },
96631
96996
  "label": {
@@ -99309,7 +99674,8 @@ Schema for a single Workflow Version
99309
99674
  "webhook",
99310
99675
  "resourceJobIteration",
99311
99676
  "resourceJobIterationTimeout",
99312
- "resourceJobComplete"
99677
+ "resourceJobComplete",
99678
+ "websocket"
99313
99679
  ]
99314
99680
  },
99315
99681
  "label": {
@@ -101704,7 +102070,8 @@ Schema for the body of a Workflow Version creation request
101704
102070
  "webhook",
101705
102071
  "resourceJobIteration",
101706
102072
  "resourceJobIterationTimeout",
101707
- "resourceJobComplete"
102073
+ "resourceJobComplete",
102074
+ "websocket"
101708
102075
  ]
101709
102076
  },
101710
102077
  "label": {
@@ -104414,7 +104781,8 @@ Schema for a collection of Workflow Versions
104414
104781
  "webhook",
104415
104782
  "resourceJobIteration",
104416
104783
  "resourceJobIterationTimeout",
104417
- "resourceJobComplete"
104784
+ "resourceJobComplete",
104785
+ "websocket"
104418
104786
  ]
104419
104787
  },
104420
104788
  "label": {
@@ -107098,7 +107466,8 @@ Schema for a collection of Workflow Versions
107098
107466
  "webhook",
107099
107467
  "resourceJobIteration",
107100
107468
  "resourceJobIterationTimeout",
107101
- "resourceJobComplete"
107469
+ "resourceJobComplete",
107470
+ "websocket"
107102
107471
  ]
107103
107472
  },
107104
107473
  "label": {
@@ -110722,7 +111091,8 @@ Schema for a collection of Workflows
110722
111091
  "webhook",
110723
111092
  "resourceJobIteration",
110724
111093
  "resourceJobIterationTimeout",
110725
- "resourceJobComplete"
111094
+ "resourceJobComplete",
111095
+ "websocket"
110726
111096
  ]
110727
111097
  },
110728
111098
  "label": {
@@ -113517,7 +113887,8 @@ Schema for the body of a workflow import request
113517
113887
  "webhook",
113518
113888
  "resourceJobIteration",
113519
113889
  "resourceJobIterationTimeout",
113520
- "resourceJobComplete"
113890
+ "resourceJobComplete",
113891
+ "websocket"
113521
113892
  ]
113522
113893
  },
113523
113894
  "label": {
@@ -116190,7 +116561,8 @@ Schema for the body of a workflow import request
116190
116561
  "webhook",
116191
116562
  "resourceJobIteration",
116192
116563
  "resourceJobIterationTimeout",
116193
- "resourceJobComplete"
116564
+ "resourceJobComplete",
116565
+ "websocket"
116194
116566
  ]
116195
116567
  },
116196
116568
  "label": {
@@ -118937,7 +119309,8 @@ Schema for the result of a workflow import request
118937
119309
  "webhook",
118938
119310
  "resourceJobIteration",
118939
119311
  "resourceJobIterationTimeout",
118940
- "resourceJobComplete"
119312
+ "resourceJobComplete",
119313
+ "websocket"
118941
119314
  ]
118942
119315
  },
118943
119316
  "label": {
@@ -121661,7 +122034,8 @@ Schema for the result of a workflow import request
121661
122034
  "webhook",
121662
122035
  "resourceJobIteration",
121663
122036
  "resourceJobIterationTimeout",
121664
- "resourceJobComplete"
122037
+ "resourceJobComplete",
122038
+ "websocket"
121665
122039
  ]
121666
122040
  },
121667
122041
  "label": {
@@ -124345,7 +124719,8 @@ Schema for the result of a workflow import request
124345
124719
  "webhook",
124346
124720
  "resourceJobIteration",
124347
124721
  "resourceJobIterationTimeout",
124348
- "resourceJobComplete"
124722
+ "resourceJobComplete",
124723
+ "websocket"
124349
124724
  ]
124350
124725
  },
124351
124726
  "label": {
@@ -126806,6 +127181,7 @@ Schema for the body of a Github login request
126806
127181
  "dataTableRows.truncate",
126807
127182
  "dataTables.get",
126808
127183
  "dataTables.post",
127184
+ "device.agentLogs",
126809
127185
  "device.commandStream",
126810
127186
  "device.debug",
126811
127187
  "device.delete",
@@ -126838,6 +127214,7 @@ Schema for the body of a Github login request
126838
127214
  "devices.export",
126839
127215
  "devices.get",
126840
127216
  "devices.getCompositeState",
127217
+ "devices.historicalImport",
126841
127218
  "devices.payloadCounts",
126842
127219
  "devices.post",
126843
127220
  "devices.sendCommand",
@@ -126858,6 +127235,7 @@ Schema for the body of a Github login request
126858
127235
  "event.get",
126859
127236
  "event.patch",
126860
127237
  "events.delete",
127238
+ "events.detailedSummary",
126861
127239
  "events.get",
126862
127240
  "events.mostRecentBySeverity",
126863
127241
  "events.patch",
@@ -126933,6 +127311,7 @@ Schema for the body of a Github login request
126933
127311
  "flows.palette",
126934
127312
  "flows.post",
126935
127313
  "flowVersion.delete",
127314
+ "flowVersion.debug",
126936
127315
  "flowVersion.errors",
126937
127316
  "flowVersion.get",
126938
127317
  "flowVersion.log",
@@ -127079,7 +127458,11 @@ Schema for the body of a Github login request
127079
127458
  "instanceSandbox.delete",
127080
127459
  "instanceSandbox.undelete",
127081
127460
  "instanceSandboxes.*",
127082
- "instanceSandboxes.get"
127461
+ "instanceSandboxes.get",
127462
+ "instanceAuditLog.*",
127463
+ "instanceAuditLog.get",
127464
+ "instanceAuditLogs.*",
127465
+ "instanceAuditLogs.get"
127083
127466
  ]
127084
127467
  },
127085
127468
  {
@@ -129018,10 +129401,7 @@ Schema for a single Instance
129018
129401
  "type": "string",
129019
129402
  "enum": [
129020
129403
  "admin",
129021
- "edit",
129022
- "collaborate",
129023
- "view",
129024
- "none"
129404
+ "view"
129025
129405
  ]
129026
129406
  }
129027
129407
  }
@@ -129100,6 +129480,366 @@ Schema for a single Instance
129100
129480
 
129101
129481
  <br/>
129102
129482
 
129483
+ ## Instance Audit Log
129484
+
129485
+ Schema for a single Instance Audit Log entry
129486
+
129487
+ ### <a name="instance-audit-log-schema"></a> Schema
129488
+
129489
+ ```json
129490
+ {
129491
+ "$schema": "http://json-schema.org/draft-07/schema#",
129492
+ "type": "object",
129493
+ "properties": {
129494
+ "id": {
129495
+ "type": "string",
129496
+ "pattern": "^[A-Fa-f\\d]{24}$"
129497
+ },
129498
+ "instanceAuditLogId": {
129499
+ "type": "string",
129500
+ "pattern": "^[A-Fa-f\\d]{24}$"
129501
+ },
129502
+ "creationDate": {
129503
+ "type": "string",
129504
+ "format": "date-time"
129505
+ },
129506
+ "instanceId": {
129507
+ "type": "string",
129508
+ "pattern": "^[A-Fa-f\\d]{24}$"
129509
+ },
129510
+ "primaryTargetId": {
129511
+ "type": "string",
129512
+ "pattern": "^[A-Fa-f\\d]{24}$"
129513
+ },
129514
+ "primaryTargetType": {
129515
+ "type": "string",
129516
+ "enum": [
129517
+ "Organization",
129518
+ "ApiToken",
129519
+ "User",
129520
+ "InstanceCustomNode"
129521
+ ]
129522
+ },
129523
+ "primaryTargetName": {
129524
+ "type": "string",
129525
+ "maxLength": 1024
129526
+ },
129527
+ "secondaryTargetId": {
129528
+ "type": "string",
129529
+ "pattern": "^[A-Fa-f\\d]{24}$"
129530
+ },
129531
+ "secondaryTargetType": {
129532
+ "type": "string",
129533
+ "enum": [
129534
+ "OrgInvite",
129535
+ "ApiToken"
129536
+ ]
129537
+ },
129538
+ "secondaryTargetName": {
129539
+ "type": "string",
129540
+ "maxLength": 1024
129541
+ },
129542
+ "actorId": {
129543
+ "type": "string",
129544
+ "pattern": "^[A-Fa-f\\d]{24}$"
129545
+ },
129546
+ "actorType": {
129547
+ "type": "string",
129548
+ "enum": [
129549
+ "User",
129550
+ "ApiToken"
129551
+ ]
129552
+ },
129553
+ "actorName": {
129554
+ "type": "string",
129555
+ "maxLength": 1024
129556
+ },
129557
+ "requestResource": {
129558
+ "type": "string",
129559
+ "maxLength": 1024
129560
+ },
129561
+ "requestAction": {
129562
+ "type": "string",
129563
+ "maxLength": 1024
129564
+ },
129565
+ "requestQueryParams": {
129566
+ "type": "object"
129567
+ },
129568
+ "requestBody": {
129569
+ "type": "object"
129570
+ },
129571
+ "requestPathParams": {
129572
+ "type": "object"
129573
+ },
129574
+ "responseBody": {
129575
+ "type": "object"
129576
+ },
129577
+ "responseStatus": {
129578
+ "type": "integer",
129579
+ "minimum": 100,
129580
+ "maximum": 599
129581
+ }
129582
+ }
129583
+ }
129584
+ ```
129585
+ ### <a name="instance-audit-log-example"></a> Example
129586
+
129587
+ ```json
129588
+ {
129589
+ "id": "586e9d5151265cb9d72f6ec6",
129590
+ "instanceAuditLogId": "586e9d5151265cb9d72f6ec6",
129591
+ "creationDate": "2016-06-13T04:00:00.000Z",
129592
+ "instanceId": "575ed6e87ae143cd83dc4aa8",
129593
+ "primaryTargetId": "575ec8687ae143cd83dc4a97",
129594
+ "primaryTargetType": "Organization",
129595
+ "primaryTargetName": "My Org",
129596
+ "actorId": "575ed70c7ae143cd83dc4aa9",
129597
+ "actorType": "User",
129598
+ "actorName": "actor@example.com",
129599
+ "requestResource": "organization",
129600
+ "requestAction": "delete",
129601
+ "requestQueryParams": {},
129602
+ "requestBody": {},
129603
+ "requestPathParams": {
129604
+ "organizationId": "575ec8687ae143cd83dc4a97"
129605
+ },
129606
+ "responseBody": {
129607
+ "success": true
129608
+ },
129609
+ "responseStatus": 200
129610
+ }
129611
+ ```
129612
+
129613
+ <br/>
129614
+
129615
+ ## Instance Audit Log Filter
129616
+
129617
+ Schema for the filter of an instance audit log query
129618
+
129619
+ ### <a name="instance-audit-log-filter-schema"></a> Schema
129620
+
129621
+ ```json
129622
+ {
129623
+ "$schema": "http://json-schema.org/draft-07/schema#",
129624
+ "type": "object",
129625
+ "properties": {
129626
+ "primaryTarget": {
129627
+ "type": "array",
129628
+ "items": {
129629
+ "type": "object",
129630
+ "properties": {
129631
+ "id": {
129632
+ "type": "string",
129633
+ "pattern": "^[A-Fa-f\\d]{24}$"
129634
+ },
129635
+ "type": {
129636
+ "type": "string",
129637
+ "enum": [
129638
+ "Organization",
129639
+ "ApiToken",
129640
+ "User",
129641
+ "InstanceCustomNode"
129642
+ ]
129643
+ },
129644
+ "name": {
129645
+ "type": "string",
129646
+ "maxLength": 1024
129647
+ }
129648
+ },
129649
+ "additionalProperties": false
129650
+ }
129651
+ },
129652
+ "secondaryTarget": {
129653
+ "type": "array",
129654
+ "items": {
129655
+ "type": "object",
129656
+ "properties": {
129657
+ "id": {
129658
+ "type": "string",
129659
+ "pattern": "^[A-Fa-f\\d]{24}$"
129660
+ },
129661
+ "type": {
129662
+ "type": "string",
129663
+ "enum": [
129664
+ "OrgInvite",
129665
+ "ApiToken"
129666
+ ]
129667
+ },
129668
+ "name": {
129669
+ "type": "string",
129670
+ "maxLength": 1024
129671
+ }
129672
+ },
129673
+ "additionalProperties": false
129674
+ }
129675
+ },
129676
+ "actor": {
129677
+ "type": "array",
129678
+ "items": {
129679
+ "type": "object",
129680
+ "properties": {
129681
+ "id": {
129682
+ "type": "string",
129683
+ "pattern": "^[A-Fa-f\\d]{24}$"
129684
+ },
129685
+ "type": {
129686
+ "type": "string",
129687
+ "enum": [
129688
+ "User",
129689
+ "ApiToken"
129690
+ ]
129691
+ },
129692
+ "name": {
129693
+ "type": "string",
129694
+ "maxLength": 1024
129695
+ }
129696
+ },
129697
+ "additionalProperties": false
129698
+ }
129699
+ },
129700
+ "request": {
129701
+ "type": "array",
129702
+ "items": {
129703
+ "type": "object",
129704
+ "properties": {
129705
+ "resource": {
129706
+ "type": "string",
129707
+ "maxLength": 1024
129708
+ },
129709
+ "action": {
129710
+ "type": "string",
129711
+ "maxLength": 1024
129712
+ }
129713
+ },
129714
+ "additionalProperties": false
129715
+ }
129716
+ },
129717
+ "responseCode": {
129718
+ "type": "array",
129719
+ "items": {
129720
+ "type": "integer",
129721
+ "minimum": 100,
129722
+ "maximum": 599
129723
+ }
129724
+ }
129725
+ },
129726
+ "additionalProperties": false
129727
+ }
129728
+ ```
129729
+ ### <a name="instance-audit-log-filter-example"></a> Example
129730
+
129731
+ ```json
129732
+ {
129733
+ "primaryTarget": [
129734
+ {
129735
+ "type": "Organization"
129736
+ },
129737
+ {
129738
+ "type": "ApiToken",
129739
+ "id": "575ec8687ae143cd83dc4a97"
129740
+ }
129741
+ ],
129742
+ "actor": [
129743
+ {
129744
+ "type": "User",
129745
+ "id": "575ed70c7ae143cd83dc4aa9"
129746
+ }
129747
+ ]
129748
+ }
129749
+ ```
129750
+
129751
+ <br/>
129752
+
129753
+ ## Instance Audit Logs
129754
+
129755
+ Schema for a collection of Instance Audit Logs
129756
+
129757
+ ### <a name="instance-audit-logs-schema"></a> Schema
129758
+
129759
+ ```json
129760
+ {
129761
+ "$schema": "http://json-schema.org/draft-07/schema#",
129762
+ "type": "object",
129763
+ "properties": {
129764
+ "items": {
129765
+ "type": "array",
129766
+ "items": {
129767
+ "$ref": "#/definitions/instanceAuditLogs"
129768
+ }
129769
+ },
129770
+ "count": {
129771
+ "type": "integer"
129772
+ },
129773
+ "totalCount": {
129774
+ "type": "integer"
129775
+ },
129776
+ "perPage": {
129777
+ "type": "integer"
129778
+ },
129779
+ "page": {
129780
+ "type": "integer"
129781
+ },
129782
+ "sortField": {
129783
+ "type": "string"
129784
+ },
129785
+ "sortDirection": {
129786
+ "type": "string",
129787
+ "enum": [
129788
+ "asc",
129789
+ "desc",
129790
+ "ASC",
129791
+ "DESC",
129792
+ ""
129793
+ ]
129794
+ },
129795
+ "instanceId": {
129796
+ "type": "string",
129797
+ "pattern": "^[A-Fa-f\\d]{24}$"
129798
+ }
129799
+ }
129800
+ }
129801
+ ```
129802
+ ### <a name="instance-audit-logs-example"></a> Example
129803
+
129804
+ ```json
129805
+ {
129806
+ "items": [
129807
+ {
129808
+ "id": "586e9d5151265cb9d72f6ec6",
129809
+ "instanceAuditLogId": "586e9d5151265cb9d72f6ec6",
129810
+ "creationDate": "2016-06-13T04:00:00.000Z",
129811
+ "instanceId": "575ed6e87ae143cd83dc4aa8",
129812
+ "primaryTargetId": "575ec8687ae143cd83dc4a97",
129813
+ "primaryTargetType": "Organization",
129814
+ "primaryTargetName": "My Org",
129815
+ "actorId": "575ed70c7ae143cd83dc4aa9",
129816
+ "actorType": "User",
129817
+ "actorName": "actor@example.com",
129818
+ "requestResource": "organization",
129819
+ "requestAction": "delete",
129820
+ "requestQueryParams": {},
129821
+ "requestBody": {},
129822
+ "requestPathParams": {
129823
+ "organizationId": "575ec8687ae143cd83dc4a97"
129824
+ },
129825
+ "responseBody": {
129826
+ "success": true
129827
+ },
129828
+ "responseStatus": 200
129829
+ }
129830
+ ],
129831
+ "count": 1,
129832
+ "totalCount": 4,
129833
+ "perPage": 1,
129834
+ "page": 0,
129835
+ "sortField": "creationDate",
129836
+ "sortDirection": "desc",
129837
+ "instanceId": "575ed6e87ae143cd83dc4aa8"
129838
+ }
129839
+ ```
129840
+
129841
+ <br/>
129842
+
129103
129843
  ## Instance Custom Node
129104
129844
 
129105
129845
  Schema for a single Instance Custom Node
@@ -129857,7 +130597,8 @@ Schema for the body of a Instance Custom Node modification request
129857
130597
  "webhook",
129858
130598
  "resourceJobIteration",
129859
130599
  "resourceJobIterationTimeout",
129860
- "resourceJobComplete"
130600
+ "resourceJobComplete",
130601
+ "websocket"
129861
130602
  ]
129862
130603
  },
129863
130604
  "label": {
@@ -130558,7 +131299,8 @@ Schema for the body of a Instance Custom Node creation request
130558
131299
  "webhook",
130559
131300
  "resourceJobIteration",
130560
131301
  "resourceJobIterationTimeout",
130561
- "resourceJobComplete"
131302
+ "resourceJobComplete",
131303
+ "websocket"
130562
131304
  ]
130563
131305
  },
130564
131306
  "label": {
@@ -132676,7 +133418,10 @@ Schema for an Instance Organization member
132676
133418
  "type": "string",
132677
133419
  "enum": [
132678
133420
  "admin",
132679
- "view"
133421
+ "edit",
133422
+ "collaborate",
133423
+ "view",
133424
+ "none"
132680
133425
  ]
132681
133426
  },
132682
133427
  "avatarUrl": {
@@ -136157,10 +136902,7 @@ Schema for a collection of Instances
136157
136902
  "type": "string",
136158
136903
  "enum": [
136159
136904
  "admin",
136160
- "edit",
136161
- "collaborate",
136162
- "view",
136163
- "none"
136905
+ "view"
136164
136906
  ]
136165
136907
  }
136166
136908
  }
@@ -136331,7 +137073,8 @@ Schema for a single Integration
136331
137073
  "googlePubSub",
136332
137074
  "mqtt",
136333
137075
  "particle",
136334
- "sqs"
137076
+ "sqs",
137077
+ "websocket"
136335
137078
  ]
136336
137079
  },
136337
137080
  "enabled": {
@@ -136461,6 +137204,13 @@ Schema for a single Integration
136461
137204
  },
136462
137205
  "disableSSLVerification": {
136463
137206
  "type": "boolean"
137207
+ },
137208
+ "protocolVersion": {
137209
+ "type": "string",
137210
+ "enum": [
137211
+ "3.1.1",
137212
+ "5"
137213
+ ]
136464
137214
  }
136465
137215
  },
136466
137216
  "additionalProperties": false,
@@ -136528,6 +137278,72 @@ Schema for a single Integration
136528
137278
  "queueUrl"
136529
137279
  ]
136530
137280
  },
137281
+ "websocketConfig": {
137282
+ "type": "object",
137283
+ "properties": {
137284
+ "url": {
137285
+ "type": "string",
137286
+ "minLength": 1,
137287
+ "maxLength": 1024
137288
+ },
137289
+ "disableSSLVerification": {
137290
+ "type": "boolean"
137291
+ },
137292
+ "username": {
137293
+ "type": "string",
137294
+ "minLength": 1,
137295
+ "maxLength": 1024
137296
+ },
137297
+ "password": {
137298
+ "type": "string",
137299
+ "minLength": 1,
137300
+ "maxLength": 1024
137301
+ },
137302
+ "privateKey": {
137303
+ "type": "string",
137304
+ "maxLength": 32767,
137305
+ "minLength": 4
137306
+ },
137307
+ "certificate": {
137308
+ "type": "string",
137309
+ "maxLength": 32767,
137310
+ "minLength": 4
137311
+ },
137312
+ "caCertificate": {
137313
+ "type": "string",
137314
+ "maxLength": 32767,
137315
+ "minLength": 4
137316
+ },
137317
+ "headers": {
137318
+ "type": "array",
137319
+ "maxItems": 50,
137320
+ "items": {
137321
+ "type": "object",
137322
+ "properties": {
137323
+ "headerKey": {
137324
+ "type": "string",
137325
+ "minLength": 1,
137326
+ "maxLength": 1024
137327
+ },
137328
+ "headerValue": {
137329
+ "type": "string",
137330
+ "minLength": 1,
137331
+ "maxLength": 1024
137332
+ }
137333
+ },
137334
+ "additionalProperties": false,
137335
+ "required": [
137336
+ "headerKey",
137337
+ "headerValue"
137338
+ ]
137339
+ }
137340
+ }
137341
+ },
137342
+ "additionalProperties": false,
137343
+ "required": [
137344
+ "url"
137345
+ ]
137346
+ },
136531
137347
  "status": {
136532
137348
  "lastKeepAlive": {
136533
137349
  "type": [
@@ -136761,6 +137577,13 @@ Schema for the body of an Integration modification request
136761
137577
  },
136762
137578
  "disableSSLVerification": {
136763
137579
  "type": "boolean"
137580
+ },
137581
+ "protocolVersion": {
137582
+ "type": "string",
137583
+ "enum": [
137584
+ "3.1.1",
137585
+ "5"
137586
+ ]
136764
137587
  }
136765
137588
  },
136766
137589
  "additionalProperties": false,
@@ -136827,6 +137650,72 @@ Schema for the body of an Integration modification request
136827
137650
  "required": [
136828
137651
  "queueUrl"
136829
137652
  ]
137653
+ },
137654
+ "websocketConfig": {
137655
+ "type": "object",
137656
+ "properties": {
137657
+ "url": {
137658
+ "type": "string",
137659
+ "minLength": 1,
137660
+ "maxLength": 1024
137661
+ },
137662
+ "disableSSLVerification": {
137663
+ "type": "boolean"
137664
+ },
137665
+ "username": {
137666
+ "type": "string",
137667
+ "minLength": 1,
137668
+ "maxLength": 1024
137669
+ },
137670
+ "password": {
137671
+ "type": "string",
137672
+ "minLength": 1,
137673
+ "maxLength": 1024
137674
+ },
137675
+ "privateKey": {
137676
+ "type": "string",
137677
+ "maxLength": 32767,
137678
+ "minLength": 4
137679
+ },
137680
+ "certificate": {
137681
+ "type": "string",
137682
+ "maxLength": 32767,
137683
+ "minLength": 4
137684
+ },
137685
+ "caCertificate": {
137686
+ "type": "string",
137687
+ "maxLength": 32767,
137688
+ "minLength": 4
137689
+ },
137690
+ "headers": {
137691
+ "type": "array",
137692
+ "maxItems": 50,
137693
+ "items": {
137694
+ "type": "object",
137695
+ "properties": {
137696
+ "headerKey": {
137697
+ "type": "string",
137698
+ "minLength": 1,
137699
+ "maxLength": 1024
137700
+ },
137701
+ "headerValue": {
137702
+ "type": "string",
137703
+ "minLength": 1,
137704
+ "maxLength": 1024
137705
+ }
137706
+ },
137707
+ "additionalProperties": false,
137708
+ "required": [
137709
+ "headerKey",
137710
+ "headerValue"
137711
+ ]
137712
+ }
137713
+ }
137714
+ },
137715
+ "additionalProperties": false,
137716
+ "required": [
137717
+ "url"
137718
+ ]
136830
137719
  }
136831
137720
  },
136832
137721
  "additionalProperties": false
@@ -136867,7 +137756,8 @@ Schema for the body of an Integration creation request
136867
137756
  "googlePubSub",
136868
137757
  "mqtt",
136869
137758
  "particle",
136870
- "sqs"
137759
+ "sqs",
137760
+ "websocket"
136871
137761
  ]
136872
137762
  },
136873
137763
  "enabled": {
@@ -137002,6 +137892,13 @@ Schema for the body of an Integration creation request
137002
137892
  },
137003
137893
  "disableSSLVerification": {
137004
137894
  "type": "boolean"
137895
+ },
137896
+ "protocolVersion": {
137897
+ "type": "string",
137898
+ "enum": [
137899
+ "3.1.1",
137900
+ "5"
137901
+ ]
137005
137902
  }
137006
137903
  },
137007
137904
  "additionalProperties": false,
@@ -137068,6 +137965,72 @@ Schema for the body of an Integration creation request
137068
137965
  "required": [
137069
137966
  "queueUrl"
137070
137967
  ]
137968
+ },
137969
+ "websocketConfig": {
137970
+ "type": "object",
137971
+ "properties": {
137972
+ "url": {
137973
+ "type": "string",
137974
+ "minLength": 1,
137975
+ "maxLength": 1024
137976
+ },
137977
+ "disableSSLVerification": {
137978
+ "type": "boolean"
137979
+ },
137980
+ "username": {
137981
+ "type": "string",
137982
+ "minLength": 1,
137983
+ "maxLength": 1024
137984
+ },
137985
+ "password": {
137986
+ "type": "string",
137987
+ "minLength": 1,
137988
+ "maxLength": 1024
137989
+ },
137990
+ "privateKey": {
137991
+ "type": "string",
137992
+ "maxLength": 32767,
137993
+ "minLength": 4
137994
+ },
137995
+ "certificate": {
137996
+ "type": "string",
137997
+ "maxLength": 32767,
137998
+ "minLength": 4
137999
+ },
138000
+ "caCertificate": {
138001
+ "type": "string",
138002
+ "maxLength": 32767,
138003
+ "minLength": 4
138004
+ },
138005
+ "headers": {
138006
+ "type": "array",
138007
+ "maxItems": 50,
138008
+ "items": {
138009
+ "type": "object",
138010
+ "properties": {
138011
+ "headerKey": {
138012
+ "type": "string",
138013
+ "minLength": 1,
138014
+ "maxLength": 1024
138015
+ },
138016
+ "headerValue": {
138017
+ "type": "string",
138018
+ "minLength": 1,
138019
+ "maxLength": 1024
138020
+ }
138021
+ },
138022
+ "additionalProperties": false,
138023
+ "required": [
138024
+ "headerKey",
138025
+ "headerValue"
138026
+ ]
138027
+ }
138028
+ }
138029
+ },
138030
+ "additionalProperties": false,
138031
+ "required": [
138032
+ "url"
138033
+ ]
137071
138034
  }
137072
138035
  },
137073
138036
  "additionalProperties": false,
@@ -137154,7 +138117,8 @@ Schema for a collection of Integrations
137154
138117
  "googlePubSub",
137155
138118
  "mqtt",
137156
138119
  "particle",
137157
- "sqs"
138120
+ "sqs",
138121
+ "websocket"
137158
138122
  ]
137159
138123
  },
137160
138124
  "enabled": {
@@ -137284,6 +138248,13 @@ Schema for a collection of Integrations
137284
138248
  },
137285
138249
  "disableSSLVerification": {
137286
138250
  "type": "boolean"
138251
+ },
138252
+ "protocolVersion": {
138253
+ "type": "string",
138254
+ "enum": [
138255
+ "3.1.1",
138256
+ "5"
138257
+ ]
137287
138258
  }
137288
138259
  },
137289
138260
  "additionalProperties": false,
@@ -137351,6 +138322,72 @@ Schema for a collection of Integrations
137351
138322
  "queueUrl"
137352
138323
  ]
137353
138324
  },
138325
+ "websocketConfig": {
138326
+ "type": "object",
138327
+ "properties": {
138328
+ "url": {
138329
+ "type": "string",
138330
+ "minLength": 1,
138331
+ "maxLength": 1024
138332
+ },
138333
+ "disableSSLVerification": {
138334
+ "type": "boolean"
138335
+ },
138336
+ "username": {
138337
+ "type": "string",
138338
+ "minLength": 1,
138339
+ "maxLength": 1024
138340
+ },
138341
+ "password": {
138342
+ "type": "string",
138343
+ "minLength": 1,
138344
+ "maxLength": 1024
138345
+ },
138346
+ "privateKey": {
138347
+ "type": "string",
138348
+ "maxLength": 32767,
138349
+ "minLength": 4
138350
+ },
138351
+ "certificate": {
138352
+ "type": "string",
138353
+ "maxLength": 32767,
138354
+ "minLength": 4
138355
+ },
138356
+ "caCertificate": {
138357
+ "type": "string",
138358
+ "maxLength": 32767,
138359
+ "minLength": 4
138360
+ },
138361
+ "headers": {
138362
+ "type": "array",
138363
+ "maxItems": 50,
138364
+ "items": {
138365
+ "type": "object",
138366
+ "properties": {
138367
+ "headerKey": {
138368
+ "type": "string",
138369
+ "minLength": 1,
138370
+ "maxLength": 1024
138371
+ },
138372
+ "headerValue": {
138373
+ "type": "string",
138374
+ "minLength": 1,
138375
+ "maxLength": 1024
138376
+ }
138377
+ },
138378
+ "additionalProperties": false,
138379
+ "required": [
138380
+ "headerKey",
138381
+ "headerValue"
138382
+ ]
138383
+ }
138384
+ }
138385
+ },
138386
+ "additionalProperties": false,
138387
+ "required": [
138388
+ "url"
138389
+ ]
138390
+ },
137354
138391
  "status": {
137355
138392
  "lastKeepAlive": {
137356
138393
  "type": [
@@ -139888,6 +140925,24 @@ Schema for the body of request to modify the current user
139888
140925
  "tokenCutoff": {
139889
140926
  "type": "string",
139890
140927
  "format": "date-time"
140928
+ },
140929
+ "currentCredentials": {
140930
+ "type": "object",
140931
+ "properties": {
140932
+ "twoFactorCode": {
140933
+ "type": "string",
140934
+ "maxLength": 2048
140935
+ },
140936
+ "password": {
140937
+ "type": "string",
140938
+ "minLength": 8,
140939
+ "maxLength": 2048
140940
+ }
140941
+ },
140942
+ "required": [
140943
+ "password"
140944
+ ],
140945
+ "additionalProperties": false
139891
140946
  }
139892
140947
  },
139893
140948
  "additionalProperties": false
@@ -150110,6 +151165,7 @@ SAML Response body for login
150110
151165
  "dataTableRows.truncate",
150111
151166
  "dataTables.get",
150112
151167
  "dataTables.post",
151168
+ "device.agentLogs",
150113
151169
  "device.commandStream",
150114
151170
  "device.debug",
150115
151171
  "device.delete",
@@ -150142,6 +151198,7 @@ SAML Response body for login
150142
151198
  "devices.export",
150143
151199
  "devices.get",
150144
151200
  "devices.getCompositeState",
151201
+ "devices.historicalImport",
150145
151202
  "devices.payloadCounts",
150146
151203
  "devices.post",
150147
151204
  "devices.sendCommand",
@@ -150162,6 +151219,7 @@ SAML Response body for login
150162
151219
  "event.get",
150163
151220
  "event.patch",
150164
151221
  "events.delete",
151222
+ "events.detailedSummary",
150165
151223
  "events.get",
150166
151224
  "events.mostRecentBySeverity",
150167
151225
  "events.patch",
@@ -150237,6 +151295,7 @@ SAML Response body for login
150237
151295
  "flows.palette",
150238
151296
  "flows.post",
150239
151297
  "flowVersion.delete",
151298
+ "flowVersion.debug",
150240
151299
  "flowVersion.errors",
150241
151300
  "flowVersion.get",
150242
151301
  "flowVersion.log",
@@ -150383,7 +151442,11 @@ SAML Response body for login
150383
151442
  "instanceSandbox.delete",
150384
151443
  "instanceSandbox.undelete",
150385
151444
  "instanceSandboxes.*",
150386
- "instanceSandboxes.get"
151445
+ "instanceSandboxes.get",
151446
+ "instanceAuditLog.*",
151447
+ "instanceAuditLog.get",
151448
+ "instanceAuditLogs.*",
151449
+ "instanceAuditLogs.get"
150387
151450
  ]
150388
151451
  },
150389
151452
  {
@@ -152913,6 +153976,7 @@ Schema for the body of a User authentication request
152913
153976
  "dataTableRows.truncate",
152914
153977
  "dataTables.get",
152915
153978
  "dataTables.post",
153979
+ "device.agentLogs",
152916
153980
  "device.commandStream",
152917
153981
  "device.debug",
152918
153982
  "device.delete",
@@ -152945,6 +154009,7 @@ Schema for the body of a User authentication request
152945
154009
  "devices.export",
152946
154010
  "devices.get",
152947
154011
  "devices.getCompositeState",
154012
+ "devices.historicalImport",
152948
154013
  "devices.payloadCounts",
152949
154014
  "devices.post",
152950
154015
  "devices.sendCommand",
@@ -152965,6 +154030,7 @@ Schema for the body of a User authentication request
152965
154030
  "event.get",
152966
154031
  "event.patch",
152967
154032
  "events.delete",
154033
+ "events.detailedSummary",
152968
154034
  "events.get",
152969
154035
  "events.mostRecentBySeverity",
152970
154036
  "events.patch",
@@ -153040,6 +154106,7 @@ Schema for the body of a User authentication request
153040
154106
  "flows.palette",
153041
154107
  "flows.post",
153042
154108
  "flowVersion.delete",
154109
+ "flowVersion.debug",
153043
154110
  "flowVersion.errors",
153044
154111
  "flowVersion.get",
153045
154112
  "flowVersion.log",
@@ -153186,7 +154253,11 @@ Schema for the body of a User authentication request
153186
154253
  "instanceSandbox.delete",
153187
154254
  "instanceSandbox.undelete",
153188
154255
  "instanceSandboxes.*",
153189
- "instanceSandboxes.get"
154256
+ "instanceSandboxes.get",
154257
+ "instanceAuditLog.*",
154258
+ "instanceAuditLog.get",
154259
+ "instanceAuditLogs.*",
154260
+ "instanceAuditLogs.get"
153190
154261
  ]
153191
154262
  },
153192
154263
  {
@@ -153488,6 +154559,7 @@ Schema for the body of a User creation request
153488
154559
  "dataTableRows.truncate",
153489
154560
  "dataTables.get",
153490
154561
  "dataTables.post",
154562
+ "device.agentLogs",
153491
154563
  "device.commandStream",
153492
154564
  "device.debug",
153493
154565
  "device.delete",
@@ -153520,6 +154592,7 @@ Schema for the body of a User creation request
153520
154592
  "devices.export",
153521
154593
  "devices.get",
153522
154594
  "devices.getCompositeState",
154595
+ "devices.historicalImport",
153523
154596
  "devices.payloadCounts",
153524
154597
  "devices.post",
153525
154598
  "devices.sendCommand",
@@ -153540,6 +154613,7 @@ Schema for the body of a User creation request
153540
154613
  "event.get",
153541
154614
  "event.patch",
153542
154615
  "events.delete",
154616
+ "events.detailedSummary",
153543
154617
  "events.get",
153544
154618
  "events.mostRecentBySeverity",
153545
154619
  "events.patch",
@@ -153615,6 +154689,7 @@ Schema for the body of a User creation request
153615
154689
  "flows.palette",
153616
154690
  "flows.post",
153617
154691
  "flowVersion.delete",
154692
+ "flowVersion.debug",
153618
154693
  "flowVersion.errors",
153619
154694
  "flowVersion.get",
153620
154695
  "flowVersion.log",
@@ -153761,7 +154836,11 @@ Schema for the body of a User creation request
153761
154836
  "instanceSandbox.delete",
153762
154837
  "instanceSandbox.undelete",
153763
154838
  "instanceSandboxes.*",
153764
- "instanceSandboxes.get"
154839
+ "instanceSandboxes.get",
154840
+ "instanceAuditLog.*",
154841
+ "instanceAuditLog.get",
154842
+ "instanceAuditLogs.*",
154843
+ "instanceAuditLogs.get"
153765
154844
  ]
153766
154845
  },
153767
154846
  {