losant_rest 1.19.9 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/docs/_schemas.md +6009 -298
  4. data/lib/platform_rest/version.rb +1 -1
  5. data/losant_rest.gemspec +2 -2
  6. data/schemas/advancedApplicationKeyQuery.json +360 -18
  7. data/schemas/advancedDeviceQuery.json +360 -18
  8. data/schemas/advancedEventQuery.json +360 -18
  9. data/schemas/advancedExperienceGroupQuery.json +360 -18
  10. data/schemas/advancedExperienceUserQuery.json +360 -18
  11. data/schemas/advancedInstanceOrgQuery.json +360 -18
  12. data/schemas/apiTokenPost.json +1 -1
  13. data/schemas/application.json +8 -0
  14. data/schemas/applicationCreationByTemplateResult.json +8 -0
  15. data/schemas/applicationDashboardPost.json +2 -1
  16. data/schemas/applications.json +8 -0
  17. data/schemas/credentialLinkedResources.json +6 -0
  18. data/schemas/dashboard.json +2 -1
  19. data/schemas/dashboardPatch.json +2 -1
  20. data/schemas/dashboardPost.json +2 -1
  21. data/schemas/dashboards.json +2 -1
  22. data/schemas/dataExport.json +360 -18
  23. data/schemas/devicesDeletePost.json +360 -18
  24. data/schemas/devicesExportPayloadCountPost.json +360 -18
  25. data/schemas/devicesExportPost.json +360 -18
  26. data/schemas/devicesPatch.json +360 -18
  27. data/schemas/devicesRemoveDataPost.json +360 -18
  28. data/schemas/eventsExport.json +360 -18
  29. data/schemas/experienceLinkedResources.json +6 -0
  30. data/schemas/flow.json +2 -0
  31. data/schemas/flowPatch.json +2 -0
  32. data/schemas/flowPost.json +2 -0
  33. data/schemas/flowVersion.json +4 -0
  34. data/schemas/flowVersionPost.json +2 -0
  35. data/schemas/flowVersions.json +4 -0
  36. data/schemas/flows.json +2 -0
  37. data/schemas/flowsImportPost.json +4 -0
  38. data/schemas/flowsImportResult.json +6 -0
  39. data/schemas/githubLogin.json +1 -1
  40. data/schemas/historicalSummaries.json +16 -0
  41. data/schemas/historicalSummary.json +16 -0
  42. data/schemas/instanceCustomNodePatch.json +2 -0
  43. data/schemas/instanceCustomNodePost.json +2 -0
  44. data/schemas/instanceOrg.json +43 -0
  45. data/schemas/instanceOrgs.json +43 -0
  46. data/schemas/instanceSandbox.json +8 -0
  47. data/schemas/instanceSandboxes.json +8 -0
  48. data/schemas/lastValueQuery.json +360 -18
  49. data/schemas/me.json +8 -0
  50. data/schemas/multiDeviceCommand.json +360 -18
  51. data/schemas/org.json +8 -0
  52. data/schemas/orgs.json +8 -0
  53. data/schemas/payloadStats.json +8 -0
  54. data/schemas/samlResponse.json +1 -1
  55. data/schemas/timeSeriesQuery.json +360 -18
  56. data/schemas/userCredentials.json +1 -1
  57. data/schemas/userPost.json +1 -1
  58. metadata +5 -5
@@ -224,6 +224,7 @@
224
224
  "type": "string",
225
225
  "enum": [
226
226
  "customNodeStart",
227
+ "deviceCreate",
227
228
  "deviceCommand",
228
229
  "deviceIdConnect",
229
230
  "deviceTagConnect",
@@ -258,6 +259,7 @@
258
259
  "type": "string",
259
260
  "enum": [
260
261
  "customNodeStart",
262
+ "deviceCreate",
261
263
  "deviceCommand",
262
264
  "deviceIdsTagsConnect",
263
265
  "deviceIdsTagsDisconnect",
@@ -3160,6 +3162,7 @@
3160
3162
  "type": "string",
3161
3163
  "enum": [
3162
3164
  "customNodeStart",
3165
+ "deviceCreate",
3163
3166
  "deviceCommand",
3164
3167
  "deviceIdConnect",
3165
3168
  "deviceTagConnect",
@@ -3194,6 +3197,7 @@
3194
3197
  "type": "string",
3195
3198
  "enum": [
3196
3199
  "customNodeStart",
3200
+ "deviceCreate",
3197
3201
  "deviceCommand",
3198
3202
  "deviceIdsTagsConnect",
3199
3203
  "deviceIdsTagsDisconnect",
@@ -6056,6 +6060,7 @@
6056
6060
  "type": "string",
6057
6061
  "enum": [
6058
6062
  "customNodeStart",
6063
+ "deviceCreate",
6059
6064
  "deviceCommand",
6060
6065
  "deviceIdConnect",
6061
6066
  "deviceTagConnect",
@@ -6090,6 +6095,7 @@
6090
6095
  "type": "string",
6091
6096
  "enum": [
6092
6097
  "customNodeStart",
6098
+ "deviceCreate",
6093
6099
  "deviceCommand",
6094
6100
  "deviceIdsTagsConnect",
6095
6101
  "deviceIdsTagsDisconnect",
@@ -356,7 +356,6 @@
356
356
  "org.notebookMinuteCounts",
357
357
  "org.invoices",
358
358
  "org.currentCard",
359
- "org.chargeDetails",
360
359
  "org.transferResources"
361
360
  ]
362
361
  }
@@ -382,6 +381,7 @@
382
381
  "instanceOrg.payloadCountsBreakdown",
383
382
  "instanceOrg.deviceCounts",
384
383
  "instanceOrg.notebookMinuteCounts",
384
+ "instanceOrg.convertToEnterprise",
385
385
  "instanceOrgs.*",
386
386
  "instanceOrgs.get",
387
387
  "instanceOrgs.post",
@@ -327,6 +327,14 @@
327
327
  }
328
328
  }
329
329
  },
330
+ "deviceCreate": {
331
+ "type": "object",
332
+ "patternProperties": {
333
+ ".*": {
334
+ "type": "number"
335
+ }
336
+ }
337
+ },
330
338
  "deviceCommand": {
331
339
  "type": "object",
332
340
  "patternProperties": {
@@ -478,6 +486,14 @@
478
486
  }
479
487
  }
480
488
  },
489
+ "deviceCreate": {
490
+ "type": "object",
491
+ "patternProperties": {
492
+ ".*": {
493
+ "type": "number"
494
+ }
495
+ }
496
+ },
481
497
  "deviceCommand": {
482
498
  "type": "object",
483
499
  "patternProperties": {
@@ -320,6 +320,14 @@
320
320
  }
321
321
  }
322
322
  },
323
+ "deviceCreate": {
324
+ "type": "object",
325
+ "patternProperties": {
326
+ ".*": {
327
+ "type": "number"
328
+ }
329
+ }
330
+ },
323
331
  "deviceCommand": {
324
332
  "type": "object",
325
333
  "patternProperties": {
@@ -471,6 +479,14 @@
471
479
  }
472
480
  }
473
481
  },
482
+ "deviceCreate": {
483
+ "type": "object",
484
+ "patternProperties": {
485
+ ".*": {
486
+ "type": "number"
487
+ }
488
+ }
489
+ },
474
490
  "deviceCommand": {
475
491
  "type": "object",
476
492
  "patternProperties": {
@@ -61,6 +61,7 @@
61
61
  "type": "string",
62
62
  "enum": [
63
63
  "customNodeStart",
64
+ "deviceCreate",
64
65
  "deviceCommand",
65
66
  "deviceIdConnect",
66
67
  "deviceTagConnect",
@@ -95,6 +96,7 @@
95
96
  "type": "string",
96
97
  "enum": [
97
98
  "customNodeStart",
99
+ "deviceCreate",
98
100
  "deviceCommand",
99
101
  "deviceIdsTagsConnect",
100
102
  "deviceIdsTagsDisconnect",
@@ -61,6 +61,7 @@
61
61
  "type": "string",
62
62
  "enum": [
63
63
  "customNodeStart",
64
+ "deviceCreate",
64
65
  "deviceCommand",
65
66
  "deviceIdConnect",
66
67
  "deviceTagConnect",
@@ -95,6 +96,7 @@
95
96
  "type": "string",
96
97
  "enum": [
97
98
  "customNodeStart",
99
+ "deviceCreate",
98
100
  "deviceCommand",
99
101
  "deviceIdsTagsConnect",
100
102
  "deviceIdsTagsDisconnect",
@@ -272,6 +272,14 @@
272
272
  }
273
273
  }
274
274
  },
275
+ "deviceCreate": {
276
+ "type": "object",
277
+ "patternProperties": {
278
+ ".*": {
279
+ "type": "number"
280
+ }
281
+ }
282
+ },
275
283
  "deviceCommand": {
276
284
  "type": "object",
277
285
  "patternProperties": {
@@ -509,6 +517,41 @@
509
517
  }
510
518
  },
511
519
  "additionalProperties": false
520
+ },
521
+ "planId": {
522
+ "type": "string",
523
+ "maxLength": 1024
524
+ },
525
+ "customerId": {
526
+ "type": "string",
527
+ "maxLength": 1024
528
+ },
529
+ "subscriptionId": {
530
+ "type": "string",
531
+ "maxLength": 1024
532
+ },
533
+ "billingEmail": {
534
+ "type": "string",
535
+ "format": "email",
536
+ "maxLength": 1024
537
+ },
538
+ "subscriptionStatus": {
539
+ "type": "string",
540
+ "enum": [
541
+ "trialing",
542
+ "active",
543
+ "past_due",
544
+ "canceled",
545
+ "unpaid"
546
+ ]
547
+ },
548
+ "currentPeriodStart": {
549
+ "type": "string",
550
+ "format": "date-time"
551
+ },
552
+ "currentPeriodEnd": {
553
+ "type": "string",
554
+ "format": "date-time"
512
555
  }
513
556
  },
514
557
  "additionalProperties": false,
@@ -279,6 +279,14 @@
279
279
  }
280
280
  }
281
281
  },
282
+ "deviceCreate": {
283
+ "type": "object",
284
+ "patternProperties": {
285
+ ".*": {
286
+ "type": "number"
287
+ }
288
+ }
289
+ },
282
290
  "deviceCommand": {
283
291
  "type": "object",
284
292
  "patternProperties": {
@@ -516,6 +524,41 @@
516
524
  }
517
525
  },
518
526
  "additionalProperties": false
527
+ },
528
+ "planId": {
529
+ "type": "string",
530
+ "maxLength": 1024
531
+ },
532
+ "customerId": {
533
+ "type": "string",
534
+ "maxLength": 1024
535
+ },
536
+ "subscriptionId": {
537
+ "type": "string",
538
+ "maxLength": 1024
539
+ },
540
+ "billingEmail": {
541
+ "type": "string",
542
+ "format": "email",
543
+ "maxLength": 1024
544
+ },
545
+ "subscriptionStatus": {
546
+ "type": "string",
547
+ "enum": [
548
+ "trialing",
549
+ "active",
550
+ "past_due",
551
+ "canceled",
552
+ "unpaid"
553
+ ]
554
+ },
555
+ "currentPeriodStart": {
556
+ "type": "string",
557
+ "format": "date-time"
558
+ },
559
+ "currentPeriodEnd": {
560
+ "type": "string",
561
+ "format": "date-time"
519
562
  }
520
563
  },
521
564
  "additionalProperties": false,
@@ -307,6 +307,14 @@
307
307
  }
308
308
  }
309
309
  },
310
+ "deviceCreate": {
311
+ "type": "object",
312
+ "patternProperties": {
313
+ ".*": {
314
+ "type": "number"
315
+ }
316
+ }
317
+ },
310
318
  "deviceCommand": {
311
319
  "type": "object",
312
320
  "patternProperties": {
@@ -314,6 +314,14 @@
314
314
  }
315
315
  }
316
316
  },
317
+ "deviceCreate": {
318
+ "type": "object",
319
+ "patternProperties": {
320
+ ".*": {
321
+ "type": "number"
322
+ }
323
+ }
324
+ },
317
325
  "deviceCommand": {
318
326
  "type": "object",
319
327
  "patternProperties": {