losant_rest 2.1.0 → 2.1.1

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 (191) hide show
  1. checksums.yaml +4 -4
  2. data/docs/_schemas.md +139101 -66992
  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/apiTokens.json +20 -2
  64. data/schemas/application.json +15 -2
  65. data/schemas/applicationCertificate.json +90 -58
  66. data/schemas/applicationCertificateAuthorities.json +24 -0
  67. data/schemas/applicationCertificateAuthority.json +24 -0
  68. data/schemas/applicationCertificatePatch.json +32 -4
  69. data/schemas/applicationCertificatePost.json +28 -30
  70. data/schemas/applicationCertificates.json +90 -58
  71. data/schemas/applicationCreationByTemplateResult.json +15 -2
  72. data/schemas/applicationDashboardPost.json +179 -128
  73. data/schemas/applicationImportExecutions.json +3 -5
  74. data/schemas/applicationImportResult.json +674 -0
  75. data/schemas/applicationJobLog.json +129 -123
  76. data/schemas/applicationJobLogs.json +129 -123
  77. data/schemas/applicationKey.json +41 -41
  78. data/schemas/applicationKeyPatch.json +4 -4
  79. data/schemas/applicationKeyPost.json +36 -29
  80. data/schemas/applicationKeys.json +41 -41
  81. data/schemas/applicationSearchResult.json +10 -10
  82. data/schemas/applicationTemplates.json +9 -2
  83. data/schemas/applications.json +15 -2
  84. data/schemas/auditLog.json +2 -6
  85. data/schemas/auditLogs.json +2 -6
  86. data/schemas/authedDevice.json +3 -0
  87. data/schemas/credential.json +7 -0
  88. data/schemas/credentialLinkedResources.json +19724 -344
  89. data/schemas/credentialPatch.json +3 -0
  90. data/schemas/credentialPost.json +3 -0
  91. data/schemas/credentials.json +7 -0
  92. data/schemas/dashboard.json +199 -128
  93. data/schemas/dashboardBlockSuggestCodePost.json +19 -0
  94. data/schemas/dashboardPatch.json +179 -128
  95. data/schemas/dashboardPost.json +179 -128
  96. data/schemas/dashboardUpdateEventsResult.json +266 -0
  97. data/schemas/dashboards.json +199 -128
  98. data/schemas/dataTable.json +11 -0
  99. data/schemas/dataTableRowPatch.json +16 -0
  100. data/schemas/dataTableRowPost.json +39 -0
  101. data/schemas/dataTableRowPostResult.json +54 -0
  102. data/schemas/dataTables.json +11 -0
  103. data/schemas/device.json +259 -107
  104. data/schemas/deviceConnectionStatus.json +4 -0
  105. data/schemas/deviceLog.json +3 -0
  106. data/schemas/deviceRecipe.json +259 -108
  107. data/schemas/deviceRecipes.json +259 -108
  108. data/schemas/devices.json +287 -116
  109. data/schemas/edgeDeploymentRelease.json +4252 -39
  110. data/schemas/edgeDeployments.json +28 -0
  111. data/schemas/embeddedDeploymentRelease.json +2073 -0
  112. data/schemas/embeddedDeployments.json +25 -0
  113. data/schemas/error.json +14 -0
  114. data/schemas/event.json +4 -1
  115. data/schemas/eventPlusNewCount.json +4 -1
  116. data/schemas/events.json +4 -1
  117. data/schemas/experienceDomains.json +19 -0
  118. data/schemas/experienceEndpoint.json +19 -0
  119. data/schemas/experienceEndpoints.json +24 -0
  120. data/schemas/experienceLinkedResources.json +19728 -313
  121. data/schemas/experienceSlugs.json +19 -0
  122. data/schemas/experienceUsers.json +16 -2
  123. data/schemas/experienceVersions.json +25 -0
  124. data/schemas/experienceView.json +5 -0
  125. data/schemas/experienceViews.json +10 -0
  126. data/schemas/fileUploadPostResponse.json +92 -103
  127. data/schemas/files.json +5 -1
  128. data/schemas/flow.json +211 -46
  129. data/schemas/flowPatch.json +199 -46
  130. data/schemas/flowPost.json +199 -46
  131. data/schemas/flowStorageMetadata.json +2 -2
  132. data/schemas/flowVersion.json +450 -101
  133. data/schemas/flowVersionPost.json +199 -46
  134. data/schemas/flowVersions.json +9903 -113
  135. data/schemas/flows.json +9637 -46
  136. data/schemas/flowsImportPost.json +398 -92
  137. data/schemas/flowsImportResult.json +661 -147
  138. data/schemas/historicalSummaries.json +3 -2
  139. data/schemas/historicalSummary.json +3 -2
  140. data/schemas/instanceAuditLog.json +2 -6
  141. data/schemas/instanceAuditLogs.json +90 -1
  142. data/schemas/instanceCustomNode.json +41 -2
  143. data/schemas/instanceCustomNodePatch.json +59 -6
  144. data/schemas/instanceCustomNodePost.json +59 -6
  145. data/schemas/instanceCustomNodes.json +41 -2
  146. data/schemas/instanceOrg.json +4 -1
  147. data/schemas/instanceOrgInvite.json +102 -0
  148. data/schemas/instanceOrgInviteSent.json +12 -0
  149. data/schemas/instanceOrgInvites.json +145 -0
  150. data/schemas/instanceOrgMember.json +52 -0
  151. data/schemas/instanceOrgMembers.json +105 -1
  152. data/schemas/instanceOrgPost.json +1 -1
  153. data/schemas/instanceOrgs.json +5 -2
  154. data/schemas/instanceSandbox.json +5 -1
  155. data/schemas/instanceSandboxes.json +9 -1
  156. data/schemas/integration.json +38 -39
  157. data/schemas/integrationPatch.json +8 -8
  158. data/schemas/integrationPost.json +8 -8
  159. data/schemas/integrations.json +38 -39
  160. data/schemas/jobEnqueuedResult.json +1 -1
  161. data/schemas/me.json +685 -88
  162. data/schemas/notebook.json +33 -21
  163. data/schemas/notebookExecutionLogs.json +20 -0
  164. data/schemas/notebookMinuteCounts.json +1 -1
  165. data/schemas/notebookPatch.json +29 -21
  166. data/schemas/notebookPost.json +29 -21
  167. data/schemas/notebooks.json +33 -21
  168. data/schemas/notificationRule.json +4 -0
  169. data/schemas/notificationRules.json +8 -0
  170. data/schemas/org.json +14 -1
  171. data/schemas/orgInvites.json +77 -82
  172. data/schemas/orgInvitesUser.json +44 -47
  173. data/schemas/orgs.json +14 -1
  174. data/schemas/paletteResponse.json +372 -364
  175. data/schemas/periodSummaries.json +1 -1
  176. data/schemas/recentItemList.json +226 -27
  177. data/schemas/resourceJob.json +33 -9
  178. data/schemas/resourceJobExecutionLogs.json +34 -20
  179. data/schemas/resourceJobExecutionOptions.json +1 -1
  180. data/schemas/resourceJobPatch.json +9 -9
  181. data/schemas/resourceJobPost.json +9 -9
  182. data/schemas/resourceJobs.json +33 -9
  183. data/schemas/tagValuesResponse.json +1 -2
  184. data/schemas/templateKeywords.json +1 -0
  185. data/schemas/timeSeriesData.json +36 -4
  186. data/schemas/userOauthToken.json +4 -1
  187. data/schemas/userOauthTokenPost.json +1 -1
  188. data/schemas/userOauthTokens.json +4 -1
  189. data/schemas/validateContextError.json +71 -24
  190. data/schemas/validateContextSuccess.json +71 -24
  191. metadata +10 -1
@@ -0,0 +1,145 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "items": {
6
+ "type": "array",
7
+ "items": {
8
+ "title": "Instance Organization Invitation",
9
+ "description": "Schema for a pending invitation to an Organization within an instance",
10
+ "type": "object",
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "email": {
17
+ "type": "string",
18
+ "format": "email",
19
+ "maxLength": 1024
20
+ },
21
+ "role": {
22
+ "type": "string",
23
+ "enum": [
24
+ "admin",
25
+ "edit",
26
+ "collaborate",
27
+ "view",
28
+ "none"
29
+ ]
30
+ },
31
+ "applicationRoles": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "object",
35
+ "properties": {
36
+ "resourceId": {
37
+ "type": "string",
38
+ "pattern": "^[A-Fa-f\\d]{24}$"
39
+ },
40
+ "role": {
41
+ "type": "string",
42
+ "enum": [
43
+ "collaborate",
44
+ "view",
45
+ "none"
46
+ ]
47
+ }
48
+ },
49
+ "required": [
50
+ "resourceId",
51
+ "role"
52
+ ],
53
+ "additionalProperties": false
54
+ },
55
+ "maxItems": 100
56
+ },
57
+ "dashboardRoles": {
58
+ "type": "array",
59
+ "items": {
60
+ "type": "object",
61
+ "properties": {
62
+ "resourceId": {
63
+ "type": "string",
64
+ "pattern": "^[A-Fa-f\\d]{24}$"
65
+ },
66
+ "role": {
67
+ "type": "string",
68
+ "enum": [
69
+ "collaborate",
70
+ "view",
71
+ "none"
72
+ ]
73
+ }
74
+ },
75
+ "required": [
76
+ "resourceId",
77
+ "role"
78
+ ],
79
+ "additionalProperties": false
80
+ },
81
+ "maxItems": 100
82
+ },
83
+ "inviteDate": {
84
+ "type": "string",
85
+ "format": "date-time"
86
+ },
87
+ "ttl": {
88
+ "type": "number"
89
+ },
90
+ "hasExpired": {
91
+ "type": "boolean"
92
+ },
93
+ "disallowTransfer": {
94
+ "type": "boolean"
95
+ },
96
+ "inviteId": {
97
+ "type": "string",
98
+ "pattern": "^[A-Fa-f\\d]{24}$"
99
+ },
100
+ "instanceId": {
101
+ "type": "string",
102
+ "pattern": "^[A-Fa-f\\d]{24}$"
103
+ },
104
+ "orgId": {
105
+ "type": "string",
106
+ "pattern": "^[A-Fa-f\\d]{24}$"
107
+ }
108
+ }
109
+ }
110
+ },
111
+ "instanceId": {
112
+ "type": "string",
113
+ "pattern": "^[A-Fa-f\\d]{24}$"
114
+ },
115
+ "orgId": {
116
+ "type": "string",
117
+ "pattern": "^[A-Fa-f\\d]{24}$"
118
+ },
119
+ "count": {
120
+ "type": "integer"
121
+ },
122
+ "totalCount": {
123
+ "type": "integer"
124
+ },
125
+ "filter": {
126
+ "type": "string"
127
+ },
128
+ "filterField": {
129
+ "type": "string"
130
+ },
131
+ "sortField": {
132
+ "type": "string"
133
+ },
134
+ "sortDirection": {
135
+ "type": "string",
136
+ "enum": [
137
+ "asc",
138
+ "desc",
139
+ "ASC",
140
+ "DESC",
141
+ ""
142
+ ]
143
+ }
144
+ }
145
+ }
@@ -38,6 +38,58 @@
38
38
  "none"
39
39
  ]
40
40
  },
41
+ "applicationRoles": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "object",
45
+ "properties": {
46
+ "resourceId": {
47
+ "type": "string",
48
+ "pattern": "^[A-Fa-f\\d]{24}$"
49
+ },
50
+ "role": {
51
+ "type": "string",
52
+ "enum": [
53
+ "collaborate",
54
+ "view",
55
+ "none"
56
+ ]
57
+ }
58
+ },
59
+ "required": [
60
+ "resourceId",
61
+ "role"
62
+ ],
63
+ "additionalProperties": false
64
+ },
65
+ "maxItems": 100
66
+ },
67
+ "dashboardRoles": {
68
+ "type": "array",
69
+ "items": {
70
+ "type": "object",
71
+ "properties": {
72
+ "resourceId": {
73
+ "type": "string",
74
+ "pattern": "^[A-Fa-f\\d]{24}$"
75
+ },
76
+ "role": {
77
+ "type": "string",
78
+ "enum": [
79
+ "collaborate",
80
+ "view",
81
+ "none"
82
+ ]
83
+ }
84
+ },
85
+ "required": [
86
+ "resourceId",
87
+ "role"
88
+ ],
89
+ "additionalProperties": false
90
+ },
91
+ "maxItems": 100
92
+ },
41
93
  "avatarUrl": {
42
94
  "type": "string",
43
95
  "format": "uri",
@@ -5,7 +5,111 @@
5
5
  "items": {
6
6
  "type": "array",
7
7
  "items": {
8
- "$ref": "#/definitions/instanceOrgMembers"
8
+ "title": "Instance Org Member",
9
+ "description": "Schema for an Instance Organization member",
10
+ "type": "object",
11
+ "properties": {
12
+ "instanceId": {
13
+ "type": "string",
14
+ "pattern": "^[A-Fa-f\\d]{24}$"
15
+ },
16
+ "orgId": {
17
+ "type": "string",
18
+ "pattern": "^[A-Fa-f\\d]{24}$"
19
+ },
20
+ "userId": {
21
+ "type": "string",
22
+ "pattern": "^[A-Fa-f\\d]{24}$"
23
+ },
24
+ "email": {
25
+ "type": "string",
26
+ "format": "email",
27
+ "maxLength": 1024
28
+ },
29
+ "firstName": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 1024
33
+ },
34
+ "lastName": {
35
+ "type": "string",
36
+ "maxLength": 1024
37
+ },
38
+ "role": {
39
+ "type": "string",
40
+ "enum": [
41
+ "admin",
42
+ "edit",
43
+ "collaborate",
44
+ "view",
45
+ "none"
46
+ ]
47
+ },
48
+ "applicationRoles": {
49
+ "type": "array",
50
+ "items": {
51
+ "type": "object",
52
+ "properties": {
53
+ "resourceId": {
54
+ "type": "string",
55
+ "pattern": "^[A-Fa-f\\d]{24}$"
56
+ },
57
+ "role": {
58
+ "type": "string",
59
+ "enum": [
60
+ "collaborate",
61
+ "view",
62
+ "none"
63
+ ]
64
+ }
65
+ },
66
+ "required": [
67
+ "resourceId",
68
+ "role"
69
+ ],
70
+ "additionalProperties": false
71
+ },
72
+ "maxItems": 100
73
+ },
74
+ "dashboardRoles": {
75
+ "type": "array",
76
+ "items": {
77
+ "type": "object",
78
+ "properties": {
79
+ "resourceId": {
80
+ "type": "string",
81
+ "pattern": "^[A-Fa-f\\d]{24}$"
82
+ },
83
+ "role": {
84
+ "type": "string",
85
+ "enum": [
86
+ "collaborate",
87
+ "view",
88
+ "none"
89
+ ]
90
+ }
91
+ },
92
+ "required": [
93
+ "resourceId",
94
+ "role"
95
+ ],
96
+ "additionalProperties": false
97
+ },
98
+ "maxItems": 100
99
+ },
100
+ "avatarUrl": {
101
+ "type": "string",
102
+ "format": "uri",
103
+ "maxLength": 1024
104
+ },
105
+ "twoFactorAuthEnabled": {
106
+ "type": "boolean"
107
+ },
108
+ "ssoLinked": {
109
+ "type": "boolean"
110
+ }
111
+ },
112
+ "additionalProperties": false
9
113
  }
10
114
  },
11
115
  "instanceId": {
@@ -160,7 +160,7 @@
160
160
  },
161
161
  "members": {
162
162
  "type": "array",
163
- "maxItems": "10",
163
+ "maxItems": 10,
164
164
  "items": {
165
165
  "title": "Instance Org Member Post",
166
166
  "description": "Schema for an Instance Organization member creation request",
@@ -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": {
@@ -446,12 +446,15 @@
446
446
  "type": "integer"
447
447
  },
448
448
  "minutesThisPeriod": {
449
- "type": "integer"
449
+ "type": "number"
450
450
  },
451
451
  "runsThisPeriod": {
452
452
  "type": "integer"
453
453
  }
454
454
  }
455
+ },
456
+ "deviceDataSize": {
457
+ "type": "number"
455
458
  }
456
459
  }
457
460
  },
@@ -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"
@@ -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
  }