losant_rest 1.14.0 → 1.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/docs/_schemas.md +10590 -3153
  4. data/docs/devices.md +40 -0
  5. data/docs/embeddedDeployment.md +49 -0
  6. data/docs/embeddedDeployments.md +215 -0
  7. data/docs/flow.md +2 -2
  8. data/docs/flows.md +2 -2
  9. data/docs/instance.md +4 -2
  10. data/lib/losant_rest/application.rb +1 -1
  11. data/lib/losant_rest/application_api_token.rb +1 -1
  12. data/lib/losant_rest/application_api_tokens.rb +1 -1
  13. data/lib/losant_rest/application_certificate.rb +1 -1
  14. data/lib/losant_rest/application_certificate_authorities.rb +1 -1
  15. data/lib/losant_rest/application_certificate_authority.rb +1 -1
  16. data/lib/losant_rest/application_certificates.rb +1 -1
  17. data/lib/losant_rest/application_dashboard.rb +1 -1
  18. data/lib/losant_rest/application_dashboards.rb +1 -1
  19. data/lib/losant_rest/application_key.rb +1 -1
  20. data/lib/losant_rest/application_keys.rb +1 -1
  21. data/lib/losant_rest/application_template.rb +1 -1
  22. data/lib/losant_rest/application_templates.rb +1 -1
  23. data/lib/losant_rest/applications.rb +1 -1
  24. data/lib/losant_rest/audit_log.rb +1 -1
  25. data/lib/losant_rest/audit_logs.rb +1 -1
  26. data/lib/losant_rest/auth.rb +1 -1
  27. data/lib/losant_rest/client.rb +11 -3
  28. data/lib/losant_rest/dashboard.rb +1 -1
  29. data/lib/losant_rest/dashboards.rb +1 -1
  30. data/lib/losant_rest/data.rb +1 -1
  31. data/lib/losant_rest/data_table.rb +1 -1
  32. data/lib/losant_rest/data_table_row.rb +1 -1
  33. data/lib/losant_rest/data_table_rows.rb +1 -1
  34. data/lib/losant_rest/data_tables.rb +1 -1
  35. data/lib/losant_rest/device.rb +1 -1
  36. data/lib/losant_rest/device_recipe.rb +1 -1
  37. data/lib/losant_rest/device_recipes.rb +1 -1
  38. data/lib/losant_rest/devices.rb +50 -1
  39. data/lib/losant_rest/edge_deployment.rb +1 -1
  40. data/lib/losant_rest/edge_deployments.rb +1 -1
  41. data/lib/losant_rest/embedded_deployment.rb +81 -0
  42. data/lib/losant_rest/embedded_deployments.rb +280 -0
  43. data/lib/losant_rest/error.rb +1 -1
  44. data/lib/losant_rest/event.rb +1 -1
  45. data/lib/losant_rest/events.rb +1 -1
  46. data/lib/losant_rest/experience.rb +1 -1
  47. data/lib/losant_rest/experience_domain.rb +1 -1
  48. data/lib/losant_rest/experience_domains.rb +1 -1
  49. data/lib/losant_rest/experience_endpoint.rb +1 -1
  50. data/lib/losant_rest/experience_endpoints.rb +1 -1
  51. data/lib/losant_rest/experience_group.rb +1 -1
  52. data/lib/losant_rest/experience_groups.rb +1 -1
  53. data/lib/losant_rest/experience_slug.rb +1 -1
  54. data/lib/losant_rest/experience_slugs.rb +1 -1
  55. data/lib/losant_rest/experience_user.rb +1 -1
  56. data/lib/losant_rest/experience_users.rb +1 -1
  57. data/lib/losant_rest/experience_version.rb +1 -1
  58. data/lib/losant_rest/experience_versions.rb +1 -1
  59. data/lib/losant_rest/experience_view.rb +1 -1
  60. data/lib/losant_rest/experience_views.rb +1 -1
  61. data/lib/losant_rest/file.rb +1 -1
  62. data/lib/losant_rest/files.rb +1 -1
  63. data/lib/losant_rest/flow.rb +3 -3
  64. data/lib/losant_rest/flow_version.rb +1 -1
  65. data/lib/losant_rest/flow_versions.rb +1 -1
  66. data/lib/losant_rest/flows.rb +3 -3
  67. data/lib/losant_rest/instance.rb +2 -1
  68. data/lib/losant_rest/instance_api_token.rb +1 -1
  69. data/lib/losant_rest/instance_api_tokens.rb +1 -1
  70. data/lib/losant_rest/instance_member.rb +1 -1
  71. data/lib/losant_rest/instance_members.rb +1 -1
  72. data/lib/losant_rest/instance_org.rb +1 -1
  73. data/lib/losant_rest/instance_org_invite.rb +1 -1
  74. data/lib/losant_rest/instance_org_invites.rb +1 -1
  75. data/lib/losant_rest/instance_org_member.rb +1 -1
  76. data/lib/losant_rest/instance_org_members.rb +1 -1
  77. data/lib/losant_rest/instance_orgs.rb +1 -1
  78. data/lib/losant_rest/instances.rb +1 -1
  79. data/lib/losant_rest/integration.rb +1 -1
  80. data/lib/losant_rest/integrations.rb +1 -1
  81. data/lib/losant_rest/me.rb +1 -1
  82. data/lib/losant_rest/notebook.rb +1 -1
  83. data/lib/losant_rest/notebooks.rb +1 -1
  84. data/lib/losant_rest/org.rb +1 -1
  85. data/lib/losant_rest/org_invites.rb +1 -1
  86. data/lib/losant_rest/orgs.rb +1 -1
  87. data/lib/losant_rest/user_api_token.rb +1 -1
  88. data/lib/losant_rest/user_api_tokens.rb +1 -1
  89. data/lib/losant_rest/utils.rb +1 -1
  90. data/lib/losant_rest/version.rb +2 -2
  91. data/lib/losant_rest/webhook.rb +1 -1
  92. data/lib/losant_rest/webhooks.rb +1 -1
  93. data/lib/losant_rest.rb +3 -1
  94. data/schemas/apiTokenPost.json +9 -0
  95. data/schemas/application.json +32 -32
  96. data/schemas/applicationCreationByTemplateResult.json +32 -32
  97. data/schemas/applicationDashboardPost.json +8 -5
  98. data/schemas/applicationPatch.json +13 -13
  99. data/schemas/applicationPost.json +13 -13
  100. data/schemas/applicationTemplate.json +16 -16
  101. data/schemas/applicationTemplates.json +16 -16
  102. data/schemas/applications.json +32 -32
  103. data/schemas/authedDevice.json +2 -1
  104. data/schemas/dashboard.json +8 -5
  105. data/schemas/dashboardPatch.json +8 -5
  106. data/schemas/dashboardPost.json +8 -5
  107. data/schemas/dashboardSendReport.json +6 -6
  108. data/schemas/dashboards.json +8 -5
  109. data/schemas/dataTableRowsDelete.json +1 -1
  110. data/schemas/device.json +2 -1
  111. data/schemas/deviceClassFilter.json +4 -2
  112. data/schemas/deviceNamesResponse.json +36 -0
  113. data/schemas/devicePatch.json +2 -1
  114. data/schemas/devicePost.json +2 -1
  115. data/schemas/deviceRecipe.json +2 -1
  116. data/schemas/deviceRecipePatch.json +2 -1
  117. data/schemas/deviceRecipePost.json +2 -1
  118. data/schemas/deviceRecipes.json +2 -1
  119. data/schemas/devices.json +4 -2
  120. data/schemas/devicesPatch.json +4 -2
  121. data/schemas/edgeDeployment.json +4 -0
  122. data/schemas/edgeDeployments.json +4 -0
  123. data/schemas/embeddedDeployment.json +179 -0
  124. data/schemas/embeddedDeploymentExport.json +44 -0
  125. data/schemas/embeddedDeploymentRelease.json +58 -0
  126. data/schemas/embeddedDeploymentRemove.json +25 -0
  127. data/schemas/embeddedDeploymentReplace.json +29 -0
  128. data/schemas/embeddedDeployments.json +212 -0
  129. data/schemas/eventsDeleted.json +1 -1
  130. data/schemas/eventsExport.json +4 -0
  131. data/schemas/experienceEndpoint.json +6 -8
  132. data/schemas/experienceEndpointPatch.json +6 -8
  133. data/schemas/experienceEndpointPost.json +6 -8
  134. data/schemas/experienceEndpoints.json +6 -8
  135. data/schemas/experienceLinkedResources.json +1292 -167
  136. data/schemas/flow.json +391 -15
  137. data/schemas/flowPatch.json +390 -15
  138. data/schemas/flowPost.json +391 -15
  139. data/schemas/flowVersion.json +821 -71
  140. data/schemas/flowVersionPost.json +390 -15
  141. data/schemas/flowVersions.json +821 -71
  142. data/schemas/flows.json +392 -15
  143. data/schemas/flowsImportPost.json +821 -70
  144. data/schemas/flowsImportResult.json +1392 -266
  145. data/schemas/githubLogin.json +9 -0
  146. data/schemas/historicalSummary.json +87 -74
  147. data/schemas/instance.json +92 -79
  148. data/schemas/instanceMember.json +6 -1
  149. data/schemas/instanceMembers.json +6 -1
  150. data/schemas/instanceOrg.json +87 -74
  151. data/schemas/instanceOrgMember.json +6 -1
  152. data/schemas/instanceOrgPatch.json +64 -26
  153. data/schemas/instanceOrgPost.json +65 -27
  154. data/schemas/instanceOrgs.json +87 -74
  155. data/schemas/instancePatch.json +2 -2
  156. data/schemas/integration.json +1 -1
  157. data/schemas/integrationPatch.json +1 -1
  158. data/schemas/integrationPost.json +1 -1
  159. data/schemas/integrations.json +1 -1
  160. data/schemas/me.json +104 -92
  161. data/schemas/mePatch.json +0 -1
  162. data/schemas/notebook.json +2 -1
  163. data/schemas/notebookExecutionLogs.json +2 -1
  164. data/schemas/notebookPatch.json +2 -1
  165. data/schemas/notebookPost.json +2 -1
  166. data/schemas/notebooks.json +2 -1
  167. data/schemas/org.json +115 -97
  168. data/schemas/orgs.json +115 -97
  169. data/schemas/userCredentials.json +9 -0
  170. data/schemas/userPost.json +9 -1
  171. metadata +17 -6
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -47,7 +47,7 @@ module LosantRest
47
47
  # * {string} perPage - How many items to return per page
48
48
  # * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name
49
49
  # * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering.
50
- # * {string} flowClass - Filter the workflows by the given flow class. Accepted values are: edge, cloud, customNode, experience
50
+ # * {string} flowClass - Filter the workflows by the given flow class. Accepted values are: edge, embedded, cloud, customNode, experience
51
51
  # * {hash} triggerFilter - Array of triggers to filter by - always filters against default flow version. (https://api.losant.com/#/definitions/flowTriggerFilter)
52
52
  # * {string} includeCustomNodes - If the result of the request should also include the details of any custom nodes referenced by the returned workflows
53
53
  # * {hash} query - Workflow filter JSON object which overrides the filterField, filter, triggerFilter, and flowClass parameters. (https://api.losant.com/#/definitions/advancedFlowQuery)
@@ -114,7 +114,7 @@ module LosantRest
114
114
  # * {string} perPage - How many items to return per page
115
115
  # * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: name
116
116
  # * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering.
117
- # * {string} flowClass - Filter the workflows by the given flow class. Accepted values are: edge, cloud, customNode, experience
117
+ # * {string} flowClass - Filter the workflows by the given flow class. Accepted values are: edge, embedded, cloud, customNode, experience
118
118
  # * {string} version - Return the workflow versions for the given version.
119
119
  # * {hash} triggerFilter - Array of triggers to filter by - always filters against default flow version. (https://api.losant.com/#/definitions/flowTriggerFilter)
120
120
  # * {string} includeCustomNodes - If the result of the request should also include the details of any custom nodes referenced by the returned workflows
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -205,6 +205,7 @@ module LosantRest
205
205
  body = nil
206
206
 
207
207
  raise ArgumentError.new("instanceId is required") unless params.has_key?(:instanceId)
208
+ raise ArgumentError.new("instance is required") unless params.has_key?(:instance)
208
209
 
209
210
  body = params[:instance] if params.has_key?(:instance)
210
211
  headers[:losantdomain] = params[:losantdomain] if params.has_key?(:losantdomain)
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -21,5 +21,5 @@
21
21
  # SOFTWARE.
22
22
 
23
23
  module LosantRest
24
- VERSION = "1.14.0"
24
+ VERSION = "1.15.2"
25
25
  end
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
data/lib/losant_rest.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
  #
3
- # Copyright (c) 2021 Losant IoT, Inc.
3
+ # Copyright (c) 2022 Losant IoT, Inc.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  # of this software and associated documentation files (the "Software"), to deal
@@ -53,6 +53,8 @@ require_relative "losant_rest/device_recipes"
53
53
  require_relative "losant_rest/devices"
54
54
  require_relative "losant_rest/edge_deployment"
55
55
  require_relative "losant_rest/edge_deployments"
56
+ require_relative "losant_rest/embedded_deployment"
57
+ require_relative "losant_rest/embedded_deployments"
56
58
  require_relative "losant_rest/event"
57
59
  require_relative "losant_rest/events"
58
60
  require_relative "losant_rest/experience"
@@ -52,6 +52,8 @@
52
52
  "devices.*",
53
53
  "edgeDeployment.*",
54
54
  "edgeDeployments.*",
55
+ "embeddedDeployment.*",
56
+ "embeddedDeployments.*",
55
57
  "event.*",
56
58
  "events.*",
57
59
  "experience.*",
@@ -168,6 +170,7 @@
168
170
  "devices.delete",
169
171
  "devices.removeData",
170
172
  "devices.detailedSummary",
173
+ "devices.deviceNames",
171
174
  "devices.export",
172
175
  "devices.get",
173
176
  "devices.payloadCounts",
@@ -180,6 +183,12 @@
180
183
  "edgeDeployments.release",
181
184
  "edgeDeployments.remove",
182
185
  "edgeDeployments.replace",
186
+ "embeddedDeployment.get",
187
+ "embeddedDeployments.get",
188
+ "embeddedDeployments.release",
189
+ "embeddedDeployments.remove",
190
+ "embeddedDeployments.replace",
191
+ "embeddedDeployments.export",
183
192
  "event.delete",
184
193
  "event.get",
185
194
  "event.patch",
@@ -108,66 +108,66 @@
108
108
  "type": "object",
109
109
  "properties": {
110
110
  "apiTokenCount": {
111
- "type": "number"
111
+ "type": "integer"
112
112
  },
113
113
  "dataTableCount": {
114
- "type": "number"
114
+ "type": "integer"
115
115
  },
116
116
  "deviceCount": {
117
- "type": "number"
117
+ "type": "integer"
118
118
  },
119
119
  "deviceRecipeCount": {
120
- "type": "number"
120
+ "type": "integer"
121
121
  },
122
122
  "eventCount": {
123
- "type": "number"
123
+ "type": "integer"
124
124
  },
125
125
  "experienceDomainCount": {
126
- "type": "number"
126
+ "type": "integer"
127
127
  },
128
128
  "experienceEndpointCount": {
129
- "type": "number"
129
+ "type": "integer"
130
130
  },
131
131
  "experienceGroupCount": {
132
- "type": "number"
132
+ "type": "integer"
133
133
  },
134
134
  "experienceSlugCount": {
135
- "type": "number"
135
+ "type": "integer"
136
136
  },
137
137
  "experienceUserCount": {
138
- "type": "number"
138
+ "type": "integer"
139
139
  },
140
140
  "experienceVersionCount": {
141
- "type": "number"
141
+ "type": "integer"
142
142
  },
143
143
  "experienceViewCount": {
144
- "type": "number"
144
+ "type": "integer"
145
145
  },
146
146
  "fileCount": {
147
- "type": "number"
147
+ "type": "integer"
148
148
  },
149
149
  "flowCount": {
150
- "type": "number"
150
+ "type": "integer"
151
151
  },
152
152
  "integrationCount": {
153
- "type": "number"
153
+ "type": "integer"
154
154
  },
155
155
  "keyCount": {
156
- "type": "number"
156
+ "type": "integer"
157
157
  },
158
158
  "storageStats": {
159
159
  "type": "object",
160
160
  "properties": {
161
161
  "count": {
162
- "type": "number"
162
+ "type": "integer"
163
163
  },
164
164
  "size": {
165
- "type": "number"
165
+ "type": "integer"
166
166
  }
167
167
  }
168
168
  },
169
169
  "webhookCount": {
170
- "type": "number"
170
+ "type": "integer"
171
171
  }
172
172
  }
173
173
  },
@@ -205,7 +205,7 @@
205
205
  "properties": {
206
206
  "directory": {
207
207
  "type": "string",
208
- "max": 255
208
+ "maxLength": 255
209
209
  },
210
210
  "mode": {
211
211
  "type": "string",
@@ -275,21 +275,21 @@
275
275
  "properties": {
276
276
  "bucket": {
277
277
  "type": "string",
278
- "max": 255
278
+ "maxLength": 255
279
279
  },
280
280
  "accessKeyId": {
281
281
  "type": "string",
282
- "min": 4,
283
- "max": 128
282
+ "minLength": 4,
283
+ "maxLength": 128
284
284
  },
285
285
  "secretAccessKey": {
286
286
  "type": "string",
287
- "min": 4,
288
- "max": 128
287
+ "minLength": 4,
288
+ "maxLength": 128
289
289
  },
290
290
  "region": {
291
291
  "type": "string",
292
- "max": 128
292
+ "maxLength": 128
293
293
  }
294
294
  },
295
295
  "required": [
@@ -315,7 +315,7 @@
315
315
  },
316
316
  "bucket": {
317
317
  "type": "string",
318
- "max": 255
318
+ "maxLength": 255
319
319
  }
320
320
  },
321
321
  "required": [
@@ -330,17 +330,17 @@
330
330
  "properties": {
331
331
  "account": {
332
332
  "type": "string",
333
- "min": 3,
334
- "max": 24
333
+ "minLength": 3,
334
+ "maxLength": 24
335
335
  },
336
336
  "accountKey": {
337
337
  "type": "string",
338
- "max": 255
338
+ "maxLength": 255
339
339
  },
340
340
  "bucket": {
341
341
  "type": "string",
342
- "min": 3,
343
- "max": 63
342
+ "minLength": 3,
343
+ "maxLength": 63
344
344
  }
345
345
  },
346
346
  "required": [
@@ -113,66 +113,66 @@
113
113
  "type": "object",
114
114
  "properties": {
115
115
  "apiTokenCount": {
116
- "type": "number"
116
+ "type": "integer"
117
117
  },
118
118
  "dataTableCount": {
119
- "type": "number"
119
+ "type": "integer"
120
120
  },
121
121
  "deviceCount": {
122
- "type": "number"
122
+ "type": "integer"
123
123
  },
124
124
  "deviceRecipeCount": {
125
- "type": "number"
125
+ "type": "integer"
126
126
  },
127
127
  "eventCount": {
128
- "type": "number"
128
+ "type": "integer"
129
129
  },
130
130
  "experienceDomainCount": {
131
- "type": "number"
131
+ "type": "integer"
132
132
  },
133
133
  "experienceEndpointCount": {
134
- "type": "number"
134
+ "type": "integer"
135
135
  },
136
136
  "experienceGroupCount": {
137
- "type": "number"
137
+ "type": "integer"
138
138
  },
139
139
  "experienceSlugCount": {
140
- "type": "number"
140
+ "type": "integer"
141
141
  },
142
142
  "experienceUserCount": {
143
- "type": "number"
143
+ "type": "integer"
144
144
  },
145
145
  "experienceVersionCount": {
146
- "type": "number"
146
+ "type": "integer"
147
147
  },
148
148
  "experienceViewCount": {
149
- "type": "number"
149
+ "type": "integer"
150
150
  },
151
151
  "fileCount": {
152
- "type": "number"
152
+ "type": "integer"
153
153
  },
154
154
  "flowCount": {
155
- "type": "number"
155
+ "type": "integer"
156
156
  },
157
157
  "integrationCount": {
158
- "type": "number"
158
+ "type": "integer"
159
159
  },
160
160
  "keyCount": {
161
- "type": "number"
161
+ "type": "integer"
162
162
  },
163
163
  "storageStats": {
164
164
  "type": "object",
165
165
  "properties": {
166
166
  "count": {
167
- "type": "number"
167
+ "type": "integer"
168
168
  },
169
169
  "size": {
170
- "type": "number"
170
+ "type": "integer"
171
171
  }
172
172
  }
173
173
  },
174
174
  "webhookCount": {
175
- "type": "number"
175
+ "type": "integer"
176
176
  }
177
177
  }
178
178
  },
@@ -210,7 +210,7 @@
210
210
  "properties": {
211
211
  "directory": {
212
212
  "type": "string",
213
- "max": 255
213
+ "maxLength": 255
214
214
  },
215
215
  "mode": {
216
216
  "type": "string",
@@ -280,21 +280,21 @@
280
280
  "properties": {
281
281
  "bucket": {
282
282
  "type": "string",
283
- "max": 255
283
+ "maxLength": 255
284
284
  },
285
285
  "accessKeyId": {
286
286
  "type": "string",
287
- "min": 4,
288
- "max": 128
287
+ "minLength": 4,
288
+ "maxLength": 128
289
289
  },
290
290
  "secretAccessKey": {
291
291
  "type": "string",
292
- "min": 4,
293
- "max": 128
292
+ "minLength": 4,
293
+ "maxLength": 128
294
294
  },
295
295
  "region": {
296
296
  "type": "string",
297
- "max": 128
297
+ "maxLength": 128
298
298
  }
299
299
  },
300
300
  "required": [
@@ -320,7 +320,7 @@
320
320
  },
321
321
  "bucket": {
322
322
  "type": "string",
323
- "max": 255
323
+ "maxLength": 255
324
324
  }
325
325
  },
326
326
  "required": [
@@ -335,17 +335,17 @@
335
335
  "properties": {
336
336
  "account": {
337
337
  "type": "string",
338
- "min": 3,
339
- "max": 24
338
+ "minLength": 3,
339
+ "maxLength": 24
340
340
  },
341
341
  "accountKey": {
342
342
  "type": "string",
343
- "max": 255
343
+ "maxLength": 255
344
344
  },
345
345
  "bucket": {
346
346
  "type": "string",
347
- "min": 3,
348
- "max": 63
347
+ "minLength": 3,
348
+ "maxLength": 63
349
349
  }
350
350
  },
351
351
  "required": [