@fleetless/contracts 1.1.0 → 2.0.0

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 (66) hide show
  1. package/CHANGELOG.md +32 -1
  2. package/artifacts/constants.json +30 -4
  3. package/artifacts/openapi.json +667 -98
  4. package/artifacts/routes.json +97 -6
  5. package/artifacts/schema/apply-error.schema.json +2 -1
  6. package/artifacts/schema/asset-list-response.schema.json +77 -12
  7. package/artifacts/schema/asset-sync-status.schema.json +35 -8
  8. package/artifacts/schema/asset.schema.json +2 -3
  9. package/artifacts/schema/assets-clear-response.schema.json +23 -0
  10. package/artifacts/schema/authorization-server-metadata.schema.json +1 -1
  11. package/artifacts/schema/bridge-asset-progress.schema.json +14 -8
  12. package/artifacts/schema/bridge-config-applied.schema.json +2 -1
  13. package/artifacts/schema/bridge-link-mode.schema.json +36 -0
  14. package/artifacts/schema/bridge-state.schema.json +6 -1
  15. package/artifacts/schema/client-robot-list-item.schema.json +6 -1
  16. package/artifacts/schema/client-robot-list-response.schema.json +6 -1
  17. package/artifacts/schema/cloud-config.schema.json +90 -5
  18. package/artifacts/schema/cloud-hello-ok.schema.json +45 -0
  19. package/artifacts/schema/cloud-ping.schema.json +27 -1
  20. package/artifacts/schema/config-draft-response.schema.json +90 -5
  21. package/artifacts/schema/config-state.schema.json +2 -1
  22. package/artifacts/schema/config-version-response.schema.json +90 -5
  23. package/artifacts/schema/datapoint-config.schema.json +5 -0
  24. package/artifacts/schema/datapoint-frame.schema.json +4 -0
  25. package/artifacts/schema/datapoint-list-response.schema.json +2 -2
  26. package/artifacts/schema/dynamic-client-registration-request.schema.json +1 -1
  27. package/artifacts/schema/dynamic-client-registration-response.schema.json +1 -1
  28. package/artifacts/schema/joint-state-put-request.schema.json +23 -0
  29. package/artifacts/schema/joint-state-put-response.schema.json +24 -0
  30. package/artifacts/schema/oauth-token-request.schema.json +79 -41
  31. package/artifacts/schema/oauth-token-response.schema.json +1 -1
  32. package/artifacts/schema/org-quota-usage-counts.schema.json +0 -5
  33. package/artifacts/schema/org-quota-usage.schema.json +1 -12
  34. package/artifacts/schema/org-quotas.schema.json +1 -7
  35. package/artifacts/schema/robot-config-doc.schema.json +90 -5
  36. package/artifacts/schema/robot-deletion-summary.schema.json +2 -1
  37. package/artifacts/schema/robot-detail-response.schema.json +63 -2
  38. package/artifacts/schema/robot-list-item.schema.json +15 -1
  39. package/artifacts/schema/robot-list-response.schema.json +15 -1
  40. package/artifacts/schema/robot-token-rotate-response.schema.json +15 -0
  41. package/artifacts/schema-outgoing/bridge-asset-progress.schema.json +14 -8
  42. package/artifacts/schema-outgoing/bridge-config-applied.schema.json +2 -1
  43. package/artifacts/schema-outgoing/bridge-link-mode.schema.json +37 -0
  44. package/artifacts/schema-outgoing/datapoint-frame.schema.json +4 -0
  45. package/dist/assets.d.ts +85 -50
  46. package/dist/assets.js +152 -62
  47. package/dist/audit.d.ts +1 -1
  48. package/dist/audit.js +1 -1
  49. package/dist/client-robots.d.ts +2 -0
  50. package/dist/common.d.ts +10 -0
  51. package/dist/common.js +16 -1
  52. package/dist/config.d.ts +69 -1
  53. package/dist/config.js +86 -6
  54. package/dist/errors.d.ts +1 -1
  55. package/dist/errors.js +1 -8
  56. package/dist/index.d.ts +10 -10
  57. package/dist/index.js +5 -5
  58. package/dist/oauth.d.ts +34 -19
  59. package/dist/oauth.js +39 -24
  60. package/dist/protocol.d.ts +150 -71
  61. package/dist/protocol.js +144 -87
  62. package/dist/rest.d.ts +137 -35
  63. package/dist/rest.js +98 -66
  64. package/dist/routes.js +68 -19
  65. package/package.json +1 -1
  66. package/artifacts/schema/bridge-pressure.schema.json +0 -292
@@ -1,292 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "type": "object",
4
- "properties": {
5
- "link": {
6
- "type": "object",
7
- "properties": {
8
- "rate_bps": {
9
- "anyOf": [
10
- {
11
- "type": "number",
12
- "minimum": 0
13
- },
14
- {
15
- "type": "null"
16
- }
17
- ]
18
- },
19
- "snapshot_max_bytes": {
20
- "type": "integer",
21
- "minimum": 0,
22
- "maximum": 9007199254740991
23
- }
24
- },
25
- "required": [
26
- "rate_bps",
27
- "snapshot_max_bytes"
28
- ]
29
- },
30
- "tiers": {
31
- "type": "object",
32
- "properties": {
33
- "0": {
34
- "type": "object",
35
- "properties": {
36
- "sent": {
37
- "type": "integer",
38
- "minimum": 0,
39
- "maximum": 9007199254740991
40
- },
41
- "bytes": {
42
- "type": "integer",
43
- "minimum": 0,
44
- "maximum": 9007199254740991
45
- },
46
- "drops": {
47
- "type": "integer",
48
- "minimum": 0,
49
- "maximum": 9007199254740991
50
- },
51
- "high_water": {
52
- "type": "integer",
53
- "minimum": 0,
54
- "maximum": 9007199254740991
55
- }
56
- },
57
- "required": [
58
- "sent",
59
- "bytes",
60
- "drops",
61
- "high_water"
62
- ]
63
- },
64
- "1": {
65
- "type": "object",
66
- "properties": {
67
- "sent": {
68
- "type": "integer",
69
- "minimum": 0,
70
- "maximum": 9007199254740991
71
- },
72
- "bytes": {
73
- "type": "integer",
74
- "minimum": 0,
75
- "maximum": 9007199254740991
76
- },
77
- "drops": {
78
- "type": "integer",
79
- "minimum": 0,
80
- "maximum": 9007199254740991
81
- },
82
- "high_water": {
83
- "type": "integer",
84
- "minimum": 0,
85
- "maximum": 9007199254740991
86
- }
87
- },
88
- "required": [
89
- "sent",
90
- "bytes",
91
- "drops",
92
- "high_water"
93
- ]
94
- },
95
- "2": {
96
- "type": "object",
97
- "properties": {
98
- "sent": {
99
- "type": "integer",
100
- "minimum": 0,
101
- "maximum": 9007199254740991
102
- },
103
- "bytes": {
104
- "type": "integer",
105
- "minimum": 0,
106
- "maximum": 9007199254740991
107
- },
108
- "drops": {
109
- "type": "integer",
110
- "minimum": 0,
111
- "maximum": 9007199254740991
112
- },
113
- "high_water": {
114
- "type": "integer",
115
- "minimum": 0,
116
- "maximum": 9007199254740991
117
- }
118
- },
119
- "required": [
120
- "sent",
121
- "bytes",
122
- "drops",
123
- "high_water"
124
- ]
125
- },
126
- "3": {
127
- "type": "object",
128
- "properties": {
129
- "sent": {
130
- "type": "integer",
131
- "minimum": 0,
132
- "maximum": 9007199254740991
133
- },
134
- "bytes": {
135
- "type": "integer",
136
- "minimum": 0,
137
- "maximum": 9007199254740991
138
- },
139
- "drops": {
140
- "type": "integer",
141
- "minimum": 0,
142
- "maximum": 9007199254740991
143
- },
144
- "high_water": {
145
- "type": "integer",
146
- "minimum": 0,
147
- "maximum": 9007199254740991
148
- }
149
- },
150
- "required": [
151
- "sent",
152
- "bytes",
153
- "drops",
154
- "high_water"
155
- ]
156
- },
157
- "4": {
158
- "type": "object",
159
- "properties": {
160
- "sent": {
161
- "type": "integer",
162
- "minimum": 0,
163
- "maximum": 9007199254740991
164
- },
165
- "bytes": {
166
- "type": "integer",
167
- "minimum": 0,
168
- "maximum": 9007199254740991
169
- },
170
- "drops": {
171
- "type": "integer",
172
- "minimum": 0,
173
- "maximum": 9007199254740991
174
- },
175
- "high_water": {
176
- "type": "integer",
177
- "minimum": 0,
178
- "maximum": 9007199254740991
179
- }
180
- },
181
- "required": [
182
- "sent",
183
- "bytes",
184
- "drops",
185
- "high_water"
186
- ]
187
- },
188
- "5": {
189
- "type": "object",
190
- "properties": {
191
- "sent": {
192
- "type": "integer",
193
- "minimum": 0,
194
- "maximum": 9007199254740991
195
- },
196
- "bytes": {
197
- "type": "integer",
198
- "minimum": 0,
199
- "maximum": 9007199254740991
200
- },
201
- "drops": {
202
- "type": "integer",
203
- "minimum": 0,
204
- "maximum": 9007199254740991
205
- },
206
- "high_water": {
207
- "type": "integer",
208
- "minimum": 0,
209
- "maximum": 9007199254740991
210
- }
211
- },
212
- "required": [
213
- "sent",
214
- "bytes",
215
- "drops",
216
- "high_water"
217
- ]
218
- }
219
- },
220
- "additionalProperties": false
221
- },
222
- "video": {
223
- "type": "object",
224
- "properties": {
225
- "active_streams": {
226
- "type": "integer",
227
- "minimum": 0,
228
- "maximum": 9007199254740991
229
- },
230
- "bitrate_sum_kbps": {
231
- "type": "integer",
232
- "minimum": 0,
233
- "maximum": 9007199254740991
234
- },
235
- "uplink_kbps": {
236
- "anyOf": [
237
- {
238
- "type": "integer",
239
- "minimum": 0,
240
- "maximum": 9007199254740991
241
- },
242
- {
243
- "type": "null"
244
- }
245
- ]
246
- },
247
- "override_kbps": {
248
- "anyOf": [
249
- {
250
- "type": "integer",
251
- "minimum": 0,
252
- "maximum": 9007199254740991
253
- },
254
- {
255
- "type": "null"
256
- }
257
- ]
258
- },
259
- "video_budget_kbps": {
260
- "anyOf": [
261
- {
262
- "type": "integer",
263
- "minimum": 0,
264
- "maximum": 9007199254740991
265
- },
266
- {
267
- "type": "null"
268
- }
269
- ]
270
- },
271
- "reserve_kbps": {
272
- "type": "integer",
273
- "minimum": 0,
274
- "maximum": 9007199254740991
275
- }
276
- },
277
- "required": [
278
- "active_streams",
279
- "bitrate_sum_kbps",
280
- "uplink_kbps",
281
- "override_kbps",
282
- "video_budget_kbps",
283
- "reserve_kbps"
284
- ]
285
- }
286
- },
287
- "required": [
288
- "link",
289
- "tiers",
290
- "video"
291
- ]
292
- }