losant_rest 1.19.7 → 1.19.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +30 -0
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +3986 -227
  5. data/docs/devices.md +0 -1
  6. data/docs/instanceOrgs.md +1 -0
  7. data/lib/platform_rest/client.rb +2 -2
  8. data/lib/platform_rest/devices.rb +0 -1
  9. data/lib/platform_rest/instance_orgs.rb +3 -0
  10. data/lib/platform_rest/version.rb +1 -1
  11. data/schemas/advancedInstanceOrgQuery.json +1171 -0
  12. data/schemas/application.json +20 -4
  13. data/schemas/applicationCreationByTemplateResult.json +20 -4
  14. data/schemas/applicationDashboardPost.json +7 -0
  15. data/schemas/applicationTemplate.json +4 -0
  16. data/schemas/applicationTemplates.json +4 -0
  17. data/schemas/applications.json +20 -4
  18. data/schemas/credential.json +13 -1
  19. data/schemas/credentialLinkedResources.json +330 -18
  20. data/schemas/credentialPatch.json +22 -0
  21. data/schemas/credentialPost.json +31 -1
  22. data/schemas/credentials.json +13 -1
  23. data/schemas/dashboard.json +7 -0
  24. data/schemas/dashboardPatch.json +7 -0
  25. data/schemas/dashboardPost.json +7 -0
  26. data/schemas/dashboards.json +7 -0
  27. data/schemas/devicesExportPost.json +8 -0
  28. data/schemas/devicesRemoveDataPost.json +10 -0
  29. data/schemas/experienceLinkedResources.json +341 -18
  30. data/schemas/experienceView.json +11 -0
  31. data/schemas/experienceViewPatch.json +11 -0
  32. data/schemas/experienceViewPost.json +11 -0
  33. data/schemas/experienceViews.json +11 -0
  34. data/schemas/flow.json +110 -6
  35. data/schemas/flowPatch.json +110 -6
  36. data/schemas/flowPost.json +110 -6
  37. data/schemas/flowVersion.json +220 -12
  38. data/schemas/flowVersionPost.json +110 -6
  39. data/schemas/flowVersions.json +220 -12
  40. data/schemas/flows.json +110 -6
  41. data/schemas/flowsImportPost.json +220 -12
  42. data/schemas/flowsImportResult.json +330 -18
  43. data/schemas/historicalSummaries.json +40 -8
  44. data/schemas/historicalSummary.json +40 -8
  45. data/schemas/instanceCustomNodePatch.json +8 -6
  46. data/schemas/instanceCustomNodePost.json +8 -6
  47. data/schemas/instanceOrg.json +20 -4
  48. data/schemas/instanceOrgs.json +20 -4
  49. data/schemas/instanceSandbox.json +20 -4
  50. data/schemas/instanceSandboxes.json +20 -4
  51. data/schemas/me.json +20 -4
  52. data/schemas/notebook.json +8 -0
  53. data/schemas/notebookPatch.json +8 -0
  54. data/schemas/notebookPost.json +8 -0
  55. data/schemas/notebooks.json +8 -0
  56. data/schemas/org.json +20 -4
  57. data/schemas/orgs.json +20 -4
  58. data/schemas/payloadStats.json +20 -4
  59. data/schemas/webhook.json +13 -0
  60. data/schemas/webhookPatch.json +13 -0
  61. data/schemas/webhookPost.json +13 -0
  62. data/schemas/webhooks.json +13 -0
  63. metadata +4 -3
  64. data/.travis.yml +0 -7
data/schemas/orgs.json CHANGED
@@ -358,6 +358,14 @@
358
358
  "description": "Schema for the result of a payload stats request",
359
359
  "type": "object",
360
360
  "properties": {
361
+ "appFile": {
362
+ "type": "object",
363
+ "patternProperties": {
364
+ ".*": {
365
+ "type": "number"
366
+ }
367
+ }
368
+ },
361
369
  "dataTable": {
362
370
  "type": "object",
363
371
  "patternProperties": {
@@ -422,6 +430,14 @@
422
430
  }
423
431
  }
424
432
  },
433
+ "inboundEmail": {
434
+ "type": "object",
435
+ "patternProperties": {
436
+ ".*": {
437
+ "type": "number"
438
+ }
439
+ }
440
+ },
425
441
  "integration": {
426
442
  "type": "object",
427
443
  "patternProperties": {
@@ -454,7 +470,7 @@
454
470
  }
455
471
  }
456
472
  },
457
- "timer": {
473
+ "resourceJob": {
458
474
  "type": "object",
459
475
  "patternProperties": {
460
476
  ".*": {
@@ -462,7 +478,7 @@
462
478
  }
463
479
  }
464
480
  },
465
- "virtualButton": {
481
+ "timer": {
466
482
  "type": "object",
467
483
  "patternProperties": {
468
484
  ".*": {
@@ -470,7 +486,7 @@
470
486
  }
471
487
  }
472
488
  },
473
- "webhook": {
489
+ "virtualButton": {
474
490
  "type": "object",
475
491
  "patternProperties": {
476
492
  ".*": {
@@ -478,7 +494,7 @@
478
494
  }
479
495
  }
480
496
  },
481
- "resourceJob": {
497
+ "webhook": {
482
498
  "type": "object",
483
499
  "patternProperties": {
484
500
  ".*": {
@@ -2,6 +2,14 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
4
  "properties": {
5
+ "appFile": {
6
+ "type": "object",
7
+ "patternProperties": {
8
+ ".*": {
9
+ "type": "number"
10
+ }
11
+ }
12
+ },
5
13
  "dataTable": {
6
14
  "type": "object",
7
15
  "patternProperties": {
@@ -66,6 +74,14 @@
66
74
  }
67
75
  }
68
76
  },
77
+ "inboundEmail": {
78
+ "type": "object",
79
+ "patternProperties": {
80
+ ".*": {
81
+ "type": "number"
82
+ }
83
+ }
84
+ },
69
85
  "integration": {
70
86
  "type": "object",
71
87
  "patternProperties": {
@@ -98,7 +114,7 @@
98
114
  }
99
115
  }
100
116
  },
101
- "timer": {
117
+ "resourceJob": {
102
118
  "type": "object",
103
119
  "patternProperties": {
104
120
  ".*": {
@@ -106,7 +122,7 @@
106
122
  }
107
123
  }
108
124
  },
109
- "virtualButton": {
125
+ "timer": {
110
126
  "type": "object",
111
127
  "patternProperties": {
112
128
  ".*": {
@@ -114,7 +130,7 @@
114
130
  }
115
131
  }
116
132
  },
117
- "webhook": {
133
+ "virtualButton": {
118
134
  "type": "object",
119
135
  "patternProperties": {
120
136
  ".*": {
@@ -122,7 +138,7 @@
122
138
  }
123
139
  }
124
140
  },
125
- "resourceJob": {
141
+ "webhook": {
126
142
  "type": "object",
127
143
  "patternProperties": {
128
144
  ".*": {
data/schemas/webhook.json CHANGED
@@ -67,6 +67,19 @@
67
67
  },
68
68
  "isWebsocket": {
69
69
  "type": "boolean"
70
+ },
71
+ "castBuffersAs": {
72
+ "type": "string",
73
+ "enum": [
74
+ "array",
75
+ "binary",
76
+ "utf8",
77
+ "base64",
78
+ "hex"
79
+ ]
80
+ },
81
+ "annotateMultipart": {
82
+ "type": "boolean"
70
83
  }
71
84
  }
72
85
  }
@@ -43,6 +43,19 @@
43
43
  },
44
44
  "isWebsocket": {
45
45
  "type": "boolean"
46
+ },
47
+ "castBuffersAs": {
48
+ "type": "string",
49
+ "enum": [
50
+ "array",
51
+ "binary",
52
+ "utf8",
53
+ "base64",
54
+ "hex"
55
+ ]
56
+ },
57
+ "annotateMultipart": {
58
+ "type": "boolean"
46
59
  }
47
60
  },
48
61
  "additionalProperties": false
@@ -43,6 +43,19 @@
43
43
  },
44
44
  "isWebsocket": {
45
45
  "type": "boolean"
46
+ },
47
+ "castBuffersAs": {
48
+ "type": "string",
49
+ "enum": [
50
+ "array",
51
+ "binary",
52
+ "utf8",
53
+ "base64",
54
+ "hex"
55
+ ]
56
+ },
57
+ "annotateMultipart": {
58
+ "type": "boolean"
46
59
  }
47
60
  },
48
61
  "required": [
@@ -74,6 +74,19 @@
74
74
  },
75
75
  "isWebsocket": {
76
76
  "type": "boolean"
77
+ },
78
+ "castBuffersAs": {
79
+ "type": "string",
80
+ "enum": [
81
+ "array",
82
+ "binary",
83
+ "utf8",
84
+ "base64",
85
+ "hex"
86
+ ]
87
+ },
88
+ "annotateMultipart": {
89
+ "type": "boolean"
77
90
  }
78
91
  }
79
92
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: losant_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.7
4
+ version: 1.19.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kuehl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -73,10 +73,10 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".github/workflows/test.yml"
76
77
  - ".gitignore"
77
78
  - ".markdownlint.json"
78
79
  - ".ruby-version"
79
- - ".travis.yml"
80
80
  - Gemfile
81
81
  - LICENSE
82
82
  - README.md
@@ -276,6 +276,7 @@ files:
276
276
  - schemas/advancedFlowByVersionQuery.json
277
277
  - schemas/advancedFlowQuery.json
278
278
  - schemas/advancedFlowVersionQuery.json
279
+ - schemas/advancedInstanceOrgQuery.json
279
280
  - schemas/advancedQuery.json
280
281
  - schemas/apiToken.json
281
282
  - schemas/apiTokenPatch.json
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.5
4
- - 2.4
5
- - 2.3
6
- - 2.2
7
- - 2.1