losant_rest 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +142339 -68894
  3. data/docs/application.md +6 -6
  4. data/docs/applicationCertificates.md +3 -2
  5. data/docs/applicationDashboard.md +1 -1
  6. data/docs/applications.md +1 -1
  7. data/docs/auth.md +1 -1
  8. data/docs/dashboard.md +1 -1
  9. data/docs/dashboards.md +1 -0
  10. data/docs/dataTableRow.md +1 -1
  11. data/docs/dataTableRows.md +3 -3
  12. data/docs/device.md +1 -1
  13. data/docs/edgeDeployments.md +3 -3
  14. data/docs/embeddedDeployments.md +3 -3
  15. data/docs/experience.md +1 -1
  16. data/docs/file.md +4 -4
  17. data/docs/files.md +1 -1
  18. data/docs/flowVersions.md +1 -1
  19. data/docs/instanceApiTokens.md +1 -1
  20. data/docs/instanceMember.md +1 -1
  21. data/docs/instanceOrg.md +1 -1
  22. data/docs/instanceOrgInvite.md +2 -2
  23. data/docs/instanceOrgInvites.md +1 -1
  24. data/docs/instanceOrgMembers.md +2 -1
  25. data/docs/instanceOrgs.md +1 -1
  26. data/docs/me.md +1 -1
  27. data/docs/notebook.md +1 -1
  28. data/docs/org.md +1 -1
  29. data/docs/privateFile.md +4 -4
  30. data/docs/privateFiles.md +1 -1
  31. data/docs/resourceJob.md +2 -2
  32. data/docs/userApiTokens.md +2 -2
  33. data/lib/platform_rest/application.rb +1 -1
  34. data/lib/platform_rest/application_certificates.rb +5 -2
  35. data/lib/platform_rest/application_dashboard.rb +1 -1
  36. data/lib/platform_rest/client.rb +2 -2
  37. data/lib/platform_rest/dashboard.rb +1 -1
  38. data/lib/platform_rest/dashboards.rb +1 -0
  39. data/lib/platform_rest/data_table_row.rb +1 -1
  40. data/lib/platform_rest/data_table_rows.rb +3 -3
  41. data/lib/platform_rest/device.rb +1 -1
  42. data/lib/platform_rest/edge_deployments.rb +3 -3
  43. data/lib/platform_rest/embedded_deployments.rb +3 -3
  44. data/lib/platform_rest/experience.rb +1 -1
  45. data/lib/platform_rest/file.rb +2 -2
  46. data/lib/platform_rest/instance_api_tokens.rb +1 -1
  47. data/lib/platform_rest/instance_member.rb +1 -1
  48. data/lib/platform_rest/instance_org.rb +1 -1
  49. data/lib/platform_rest/instance_org_invite.rb +2 -2
  50. data/lib/platform_rest/instance_org_invites.rb +2 -2
  51. data/lib/platform_rest/instance_org_members.rb +2 -1
  52. data/lib/platform_rest/instance_orgs.rb +1 -1
  53. data/lib/platform_rest/me.rb +1 -1
  54. data/lib/platform_rest/notebook.rb +1 -1
  55. data/lib/platform_rest/org.rb +1 -1
  56. data/lib/platform_rest/private_file.rb +2 -2
  57. data/lib/platform_rest/resource_job.rb +2 -2
  58. data/lib/platform_rest/user_api_tokens.rb +2 -2
  59. data/lib/platform_rest/version.rb +1 -1
  60. data/schemas/advancedApplicationCertQuery.json +1885 -0
  61. data/schemas/advancedApplicationKeyQuery.json +763 -763
  62. data/schemas/apiToken.json +10 -1
  63. data/schemas/apiTokenPost.json +4 -0
  64. data/schemas/apiTokens.json +20 -2
  65. data/schemas/application.json +15 -2
  66. data/schemas/applicationCertificate.json +90 -58
  67. data/schemas/applicationCertificateAuthorities.json +24 -0
  68. data/schemas/applicationCertificateAuthority.json +24 -0
  69. data/schemas/applicationCertificatePatch.json +32 -4
  70. data/schemas/applicationCertificatePost.json +28 -30
  71. data/schemas/applicationCertificates.json +90 -58
  72. data/schemas/applicationCreationByTemplateResult.json +15 -2
  73. data/schemas/applicationDashboardPost.json +315 -133
  74. data/schemas/applicationImportExecutions.json +3 -5
  75. data/schemas/applicationImportResult.json +674 -0
  76. data/schemas/applicationJobLog.json +129 -123
  77. data/schemas/applicationJobLogs.json +129 -123
  78. data/schemas/applicationKey.json +41 -41
  79. data/schemas/applicationKeyPatch.json +4 -4
  80. data/schemas/applicationKeyPost.json +36 -29
  81. data/schemas/applicationKeys.json +41 -41
  82. data/schemas/applicationSearchResult.json +10 -10
  83. data/schemas/applicationTemplates.json +9 -2
  84. data/schemas/applications.json +15 -2
  85. data/schemas/auditLog.json +2 -6
  86. data/schemas/auditLogs.json +2 -6
  87. data/schemas/authedDevice.json +3 -0
  88. data/schemas/credential.json +7 -0
  89. data/schemas/credentialLinkedResources.json +19724 -344
  90. data/schemas/credentialPatch.json +3 -0
  91. data/schemas/credentialPost.json +3 -0
  92. data/schemas/credentials.json +7 -0
  93. data/schemas/dashboard.json +335 -133
  94. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  95. data/schemas/dashboardPatch.json +315 -133
  96. data/schemas/dashboardPost.json +315 -133
  97. data/schemas/dashboardUpdateEventsResult.json +266 -0
  98. data/schemas/dashboards.json +335 -133
  99. data/schemas/dataTable.json +11 -0
  100. data/schemas/dataTableRowPatch.json +16 -0
  101. data/schemas/dataTableRowPost.json +39 -0
  102. data/schemas/dataTableRowPostResult.json +54 -0
  103. data/schemas/dataTables.json +11 -0
  104. data/schemas/device.json +259 -107
  105. data/schemas/deviceConnectionStatus.json +4 -0
  106. data/schemas/deviceLog.json +3 -0
  107. data/schemas/deviceRecipe.json +259 -108
  108. data/schemas/deviceRecipes.json +259 -108
  109. data/schemas/devices.json +287 -116
  110. data/schemas/edgeDeploymentRelease.json +4252 -39
  111. data/schemas/edgeDeployments.json +28 -0
  112. data/schemas/embeddedDeploymentRelease.json +2073 -0
  113. data/schemas/embeddedDeployments.json +25 -0
  114. data/schemas/error.json +14 -0
  115. data/schemas/event.json +4 -1
  116. data/schemas/eventPlusNewCount.json +4 -1
  117. data/schemas/events.json +4 -1
  118. data/schemas/experienceDomains.json +19 -0
  119. data/schemas/experienceEndpoint.json +19 -0
  120. data/schemas/experienceEndpoints.json +24 -0
  121. data/schemas/experienceLinkedResources.json +19728 -313
  122. data/schemas/experienceSlugs.json +19 -0
  123. data/schemas/experienceUsers.json +16 -2
  124. data/schemas/experienceVersions.json +25 -0
  125. data/schemas/experienceView.json +5 -0
  126. data/schemas/experienceViews.json +10 -0
  127. data/schemas/fileUploadPostResponse.json +92 -103
  128. data/schemas/files.json +5 -1
  129. data/schemas/flow.json +211 -46
  130. data/schemas/flowPatch.json +199 -46
  131. data/schemas/flowPost.json +199 -46
  132. data/schemas/flowStorageMetadata.json +2 -2
  133. data/schemas/flowVersion.json +450 -101
  134. data/schemas/flowVersionPost.json +199 -46
  135. data/schemas/flowVersions.json +9903 -113
  136. data/schemas/flows.json +9637 -46
  137. data/schemas/flowsImportPost.json +398 -92
  138. data/schemas/flowsImportResult.json +661 -147
  139. data/schemas/githubLogin.json +4 -0
  140. data/schemas/historicalSummaries.json +3 -2
  141. data/schemas/historicalSummary.json +3 -2
  142. data/schemas/instance.json +6 -0
  143. data/schemas/instanceAuditLog.json +2 -6
  144. data/schemas/instanceAuditLogs.json +90 -1
  145. data/schemas/instanceCustomNode.json +41 -2
  146. data/schemas/instanceCustomNodePatch.json +59 -6
  147. data/schemas/instanceCustomNodePost.json +59 -6
  148. data/schemas/instanceCustomNodes.json +41 -2
  149. data/schemas/instanceOrg.json +16 -1
  150. data/schemas/instanceOrgEntitlement.json +182 -0
  151. data/schemas/instanceOrgEntitlementSync.json +64 -0
  152. data/schemas/instanceOrgInvite.json +102 -0
  153. data/schemas/instanceOrgInviteSent.json +12 -0
  154. data/schemas/instanceOrgInvites.json +145 -0
  155. data/schemas/instanceOrgMember.json +52 -0
  156. data/schemas/instanceOrgMembers.json +105 -1
  157. data/schemas/instanceOrgPost.json +1 -1
  158. data/schemas/instanceOrgs.json +17 -2
  159. data/schemas/instanceSandbox.json +5 -1
  160. data/schemas/instanceSandboxes.json +9 -1
  161. data/schemas/instances.json +6 -0
  162. data/schemas/integration.json +38 -39
  163. data/schemas/integrationPatch.json +8 -8
  164. data/schemas/integrationPost.json +8 -8
  165. data/schemas/integrations.json +38 -39
  166. data/schemas/jobEnqueuedResult.json +1 -1
  167. data/schemas/me.json +685 -88
  168. data/schemas/meEntitlements.json +194 -0
  169. data/schemas/notebook.json +33 -21
  170. data/schemas/notebookExecutionLogs.json +20 -0
  171. data/schemas/notebookMinuteCounts.json +1 -1
  172. data/schemas/notebookPatch.json +29 -21
  173. data/schemas/notebookPost.json +29 -21
  174. data/schemas/notebooks.json +33 -21
  175. data/schemas/notificationRule.json +4 -0
  176. data/schemas/notificationRules.json +8 -0
  177. data/schemas/org.json +30 -1
  178. data/schemas/orgInvites.json +77 -82
  179. data/schemas/orgInvitesUser.json +44 -47
  180. data/schemas/orgPost.json +4 -0
  181. data/schemas/orgs.json +30 -1
  182. data/schemas/paletteResponse.json +372 -364
  183. data/schemas/periodSummaries.json +1 -1
  184. data/schemas/recentItemList.json +226 -27
  185. data/schemas/resourceJob.json +33 -9
  186. data/schemas/resourceJobExecutionLogs.json +34 -20
  187. data/schemas/resourceJobExecutionOptions.json +1 -1
  188. data/schemas/resourceJobPatch.json +9 -9
  189. data/schemas/resourceJobPost.json +9 -9
  190. data/schemas/resourceJobs.json +33 -9
  191. data/schemas/samlResponse.json +4 -0
  192. data/schemas/tagValuesResponse.json +1 -2
  193. data/schemas/templateKeywords.json +1 -0
  194. data/schemas/timeSeriesData.json +36 -4
  195. data/schemas/userCredentials.json +4 -0
  196. data/schemas/userOauthToken.json +4 -1
  197. data/schemas/userOauthTokenPost.json +1 -1
  198. data/schemas/userOauthTokens.json +4 -1
  199. data/schemas/userPost.json +4 -0
  200. data/schemas/validateContextError.json +99 -24
  201. data/schemas/validateContextSuccess.json +99 -24
  202. metadata +13 -1
@@ -6,7 +6,7 @@
6
6
  "type": "array",
7
7
  "items": {
8
8
  "title": "Instance Organization",
9
- "description": "Schema for the body of an Organization owned by an instance",
9
+ "description": "Schema for an Organization owned by an instance",
10
10
  "type": "object",
11
11
  "properties": {
12
12
  "creationDate": {
@@ -181,6 +181,18 @@
181
181
  "type": "integer",
182
182
  "minimum": 5,
183
183
  "maximum": 3600
184
+ },
185
+ "deviceHard": {
186
+ "type": "integer",
187
+ "minimum": 0
188
+ },
189
+ "applicationkeyHard": {
190
+ "type": "integer",
191
+ "minimum": 0
192
+ },
193
+ "applicationcertificateHard": {
194
+ "type": "integer",
195
+ "minimum": 0
184
196
  }
185
197
  },
186
198
  "additionalProperties": false
@@ -446,12 +458,15 @@
446
458
  "type": "integer"
447
459
  },
448
460
  "minutesThisPeriod": {
449
- "type": "integer"
461
+ "type": "number"
450
462
  },
451
463
  "runsThisPeriod": {
452
464
  "type": "integer"
453
465
  }
454
466
  }
467
+ },
468
+ "deviceDataSize": {
469
+ "type": "number"
455
470
  }
456
471
  }
457
472
  },
@@ -18,6 +18,10 @@
18
18
  "type": "string",
19
19
  "format": "date-time"
20
20
  },
21
+ "deletedAt": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
21
25
  "permanentDeletion": {
22
26
  "type": "string",
23
27
  "format": "date-time"
@@ -469,7 +473,7 @@
469
473
  "type": "integer"
470
474
  },
471
475
  "minutesThisPeriod": {
472
- "type": "integer"
476
+ "type": "number"
473
477
  },
474
478
  "runsThisPeriod": {
475
479
  "type": "integer"
@@ -2,6 +2,10 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
+ "instanceId": {
6
+ "type": "string",
7
+ "pattern": "^[A-Fa-f\\d]{24}$"
8
+ },
5
9
  "items": {
6
10
  "type": "array",
7
11
  "items": {
@@ -25,6 +29,10 @@
25
29
  "type": "string",
26
30
  "format": "date-time"
27
31
  },
32
+ "deletedAt": {
33
+ "type": "string",
34
+ "format": "date-time"
35
+ },
28
36
  "permanentDeletion": {
29
37
  "type": "string",
30
38
  "format": "date-time"
@@ -476,7 +484,7 @@
476
484
  "type": "integer"
477
485
  },
478
486
  "minutesThisPeriod": {
479
- "type": "integer"
487
+ "type": "number"
480
488
  },
481
489
  "runsThisPeriod": {
482
490
  "type": "integer"
@@ -383,6 +383,12 @@
383
383
  "adminRequired",
384
384
  "required"
385
385
  ]
386
+ },
387
+ "entitlementMode": {
388
+ "type": "string",
389
+ "enum": [
390
+ "scc"
391
+ ]
386
392
  }
387
393
  }
388
394
  }
@@ -220,23 +220,23 @@
220
220
  "properties": {
221
221
  "accessKeyId": {
222
222
  "type": "string",
223
- "min": 4,
224
- "max": 128
223
+ "minLength": 4,
224
+ "maxLength": 128
225
225
  },
226
226
  "secretAccessKey": {
227
227
  "type": "string",
228
- "min": 4,
229
- "max": 128
228
+ "minLength": 4,
229
+ "maxLength": 128
230
230
  },
231
231
  "region": {
232
232
  "type": "string",
233
- "min": 4,
234
- "max": 128
233
+ "minLength": 4,
234
+ "maxLength": 128
235
235
  },
236
236
  "queueUrl": {
237
237
  "type": "string",
238
- "min": 1,
239
- "max": 256
238
+ "minLength": 1,
239
+ "maxLength": 256
240
240
  }
241
241
  },
242
242
  "additionalProperties": false,
@@ -311,38 +311,37 @@
311
311
  ]
312
312
  },
313
313
  "status": {
314
- "lastKeepAlive": {
315
- "type": [
316
- "number"
317
- ]
318
- },
319
- "nextAttempt": {
320
- "type": [
321
- "number"
322
- ]
323
- },
324
- "connectInfo": {
325
- "type": "object",
326
- "properties": {
327
- "ts": {
328
- "type": [
329
- "number",
330
- "null"
331
- ]
314
+ "type": "object",
315
+ "properties": {
316
+ "lastKeepAlive": {
317
+ "type": "number"
318
+ },
319
+ "nextAttempt": {
320
+ "type": "number"
321
+ },
322
+ "connectInfo": {
323
+ "type": "object",
324
+ "properties": {
325
+ "ts": {
326
+ "type": [
327
+ "number",
328
+ "null"
329
+ ]
330
+ }
332
331
  }
333
- }
334
- },
335
- "disconnectInfo": {
336
- "type": "object",
337
- "properties": {
338
- "ts": {
339
- "type": [
340
- "number",
341
- "null"
342
- ]
343
- },
344
- "error": {
345
- "type": "string"
332
+ },
333
+ "disconnectInfo": {
334
+ "type": "object",
335
+ "properties": {
336
+ "ts": {
337
+ "type": [
338
+ "number",
339
+ "null"
340
+ ]
341
+ },
342
+ "error": {
343
+ "type": "string"
344
+ }
346
345
  }
347
346
  }
348
347
  }
@@ -196,23 +196,23 @@
196
196
  "properties": {
197
197
  "accessKeyId": {
198
198
  "type": "string",
199
- "min": 4,
200
- "max": 128
199
+ "minLength": 4,
200
+ "maxLength": 128
201
201
  },
202
202
  "secretAccessKey": {
203
203
  "type": "string",
204
- "min": 4,
205
- "max": 128
204
+ "minLength": 4,
205
+ "maxLength": 128
206
206
  },
207
207
  "region": {
208
208
  "type": "string",
209
- "min": 4,
210
- "max": 128
209
+ "minLength": 4,
210
+ "maxLength": 128
211
211
  },
212
212
  "queueUrl": {
213
213
  "type": "string",
214
- "min": 1,
215
- "max": 256
214
+ "minLength": 1,
215
+ "maxLength": 256
216
216
  }
217
217
  },
218
218
  "additionalProperties": false,
@@ -200,23 +200,23 @@
200
200
  "properties": {
201
201
  "accessKeyId": {
202
202
  "type": "string",
203
- "min": 4,
204
- "max": 128
203
+ "minLength": 4,
204
+ "maxLength": 128
205
205
  },
206
206
  "secretAccessKey": {
207
207
  "type": "string",
208
- "min": 4,
209
- "max": 128
208
+ "minLength": 4,
209
+ "maxLength": 128
210
210
  },
211
211
  "region": {
212
212
  "type": "string",
213
- "min": 4,
214
- "max": 128
213
+ "minLength": 4,
214
+ "maxLength": 128
215
215
  },
216
216
  "queueUrl": {
217
217
  "type": "string",
218
- "min": 1,
219
- "max": 256
218
+ "minLength": 1,
219
+ "maxLength": 256
220
220
  }
221
221
  },
222
222
  "additionalProperties": false,
@@ -227,23 +227,23 @@
227
227
  "properties": {
228
228
  "accessKeyId": {
229
229
  "type": "string",
230
- "min": 4,
231
- "max": 128
230
+ "minLength": 4,
231
+ "maxLength": 128
232
232
  },
233
233
  "secretAccessKey": {
234
234
  "type": "string",
235
- "min": 4,
236
- "max": 128
235
+ "minLength": 4,
236
+ "maxLength": 128
237
237
  },
238
238
  "region": {
239
239
  "type": "string",
240
- "min": 4,
241
- "max": 128
240
+ "minLength": 4,
241
+ "maxLength": 128
242
242
  },
243
243
  "queueUrl": {
244
244
  "type": "string",
245
- "min": 1,
246
- "max": 256
245
+ "minLength": 1,
246
+ "maxLength": 256
247
247
  }
248
248
  },
249
249
  "additionalProperties": false,
@@ -318,38 +318,37 @@
318
318
  ]
319
319
  },
320
320
  "status": {
321
- "lastKeepAlive": {
322
- "type": [
323
- "number"
324
- ]
325
- },
326
- "nextAttempt": {
327
- "type": [
328
- "number"
329
- ]
330
- },
331
- "connectInfo": {
332
- "type": "object",
333
- "properties": {
334
- "ts": {
335
- "type": [
336
- "number",
337
- "null"
338
- ]
321
+ "type": "object",
322
+ "properties": {
323
+ "lastKeepAlive": {
324
+ "type": "number"
325
+ },
326
+ "nextAttempt": {
327
+ "type": "number"
328
+ },
329
+ "connectInfo": {
330
+ "type": "object",
331
+ "properties": {
332
+ "ts": {
333
+ "type": [
334
+ "number",
335
+ "null"
336
+ ]
337
+ }
339
338
  }
340
- }
341
- },
342
- "disconnectInfo": {
343
- "type": "object",
344
- "properties": {
345
- "ts": {
346
- "type": [
347
- "number",
348
- "null"
349
- ]
350
- },
351
- "error": {
352
- "type": "string"
339
+ },
340
+ "disconnectInfo": {
341
+ "type": "object",
342
+ "properties": {
343
+ "ts": {
344
+ "type": [
345
+ "number",
346
+ "null"
347
+ ]
348
+ },
349
+ "error": {
350
+ "type": "string"
351
+ }
353
352
  }
354
353
  }
355
354
  }
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "jobId": {
12
12
  "type": "string",
13
- "maxLength": 21
13
+ "maxLength": 24
14
14
  },
15
15
  "success": {
16
16
  "type": "boolean",