@fleetless/contracts 9.2.0-next.1 → 10.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 (52) hide show
  1. package/CHANGELOG.md +19 -4
  2. package/artifacts/openapi.json +16927 -8920
  3. package/artifacts/routes.json +96 -54
  4. package/artifacts/schema/billing-change-response.schema.json +1527 -1727
  5. package/artifacts/schema/billing-decision-amounts.schema.json +244 -0
  6. package/artifacts/schema/billing-decision-display-request.schema.json +24 -0
  7. package/artifacts/schema/billing-decision-display-response.schema.json +3130 -0
  8. package/artifacts/schema/billing-decision-period.schema.json +550 -0
  9. package/artifacts/schema/billing-decision-snapshot.schema.json +3103 -0
  10. package/artifacts/schema/bridge-state.schema.json +0 -14
  11. package/artifacts/schema/checkout-request.schema.json +3 -4
  12. package/artifacts/schema/checkout-response.schema.json +492 -402
  13. package/artifacts/schema/client-robot-list-item.schema.json +0 -14
  14. package/artifacts/schema/client-robot-list-response.schema.json +0 -14
  15. package/artifacts/schema/confirmation-proof.schema.json +6 -0
  16. package/artifacts/schema/plan-change-decision-lookup-query.schema.json +16 -0
  17. package/artifacts/schema/plan-change-decision-status-response.schema.json +543 -0
  18. package/artifacts/schema/plan-change-prepare-request.schema.json +84 -0
  19. package/artifacts/schema/plan-change-prepare-response.schema.json +3162 -0
  20. package/artifacts/schema/plan-change-request.schema.json +177 -65
  21. package/artifacts/schema/purchase-conflict-details.schema.json +94 -0
  22. package/artifacts/schema/purchase-intent-accepted-without-payment.schema.json +95 -0
  23. package/artifacts/schema/purchase-intent-confirm-request.schema.json +146 -33
  24. package/artifacts/schema/purchase-intent-draft.schema.json +449 -0
  25. package/artifacts/schema/purchase-intent-payment-started.schema.json +184 -0
  26. package/artifacts/schema/purchase-intent-response.schema.json +1235 -168
  27. package/artifacts/schema/robot-detail-response.schema.json +0 -14
  28. package/artifacts/schema/robot-list-item.schema.json +0 -14
  29. package/artifacts/schema/robot-list-response.schema.json +0 -14
  30. package/dist/billing.d.ts +5665 -210
  31. package/dist/billing.js +224 -29
  32. package/dist/client-robots.d.ts +0 -6
  33. package/dist/confirmation-proof.d.ts +5 -0
  34. package/dist/confirmation-proof.js +6 -0
  35. package/dist/errors.d.ts +1 -1
  36. package/dist/errors.js +0 -12
  37. package/dist/iana-time-zones.d.ts +2 -0
  38. package/dist/iana-time-zones.js +426 -0
  39. package/dist/index.d.ts +7 -6
  40. package/dist/index.js +4 -3
  41. package/dist/plans.d.ts +125 -1
  42. package/dist/plans.js +19 -1
  43. package/dist/protocol.d.ts +0 -3
  44. package/dist/protocol.js +0 -1
  45. package/dist/purchase-operation-key.d.ts +4 -0
  46. package/dist/purchase-operation-key.js +4 -0
  47. package/dist/rest.d.ts +0 -52
  48. package/dist/rest.js +0 -15
  49. package/dist/routes.js +43 -35
  50. package/package.json +3 -1
  51. package/artifacts/schema/recover-held-job-request.schema.json +0 -29
  52. package/artifacts/schema/recover-held-job-response.schema.json +0 -125
@@ -19,20 +19,6 @@
19
19
  "low_bandwidth": {
20
20
  "type": "boolean",
21
21
  "description": "Whether the bridge is in its low-bandwidth mode: datapoints capped, cameras reduced or stopped. Bridge-reported."
22
- },
23
- "health_reason": {
24
- "description": "Cloud-observed connection health: `job_query_unanswered` after a bridge ignores held-job queries; `null` on an ordinary connect or disconnect. Optional for older observations.",
25
- "anyOf": [
26
- {
27
- "type": "string",
28
- "enum": [
29
- "job_query_unanswered"
30
- ]
31
- },
32
- {
33
- "type": "null"
34
- }
35
- ]
36
22
  }
37
23
  },
38
24
  "required": [
@@ -172,17 +172,16 @@
172
172
  "description": "The company buying the plan. Country requirements, current VIES and the email policy must pass before charging."
173
173
  },
174
174
  "accept_terms": {
175
+ "description": "Deprecated draft input. It is not evidence of a displayed C.4 declaration and never confirms an order.",
175
176
  "type": "boolean",
176
- "const": true,
177
- "description": "Confirms the terms of service for this purchase."
177
+ "const": true
178
178
  }
179
179
  },
180
180
  "required": [
181
181
  "operation_key",
182
182
  "plan",
183
183
  "cycle",
184
- "billing",
185
- "accept_terms"
184
+ "billing"
186
185
  ],
187
186
  "additionalProperties": false
188
187
  }