@fleetless/contracts 8.2.0 → 9.1.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.
- package/CHANGELOG.md +50 -0
- package/artifacts/openapi.json +284 -22
- package/artifacts/routes.json +52 -4
- package/artifacts/schema/action-config.schema.json +2 -2
- package/artifacts/schema/app-auth-config.schema.json +30 -0
- package/artifacts/schema/cloud-config.schema.json +8 -8
- package/artifacts/schema/config-draft-response.schema.json +8 -8
- package/artifacts/schema/config-version-response.schema.json +8 -8
- package/artifacts/schema/datapoint-config.schema.json +3 -3
- package/artifacts/schema/legal-acceptance-list-query.schema.json +26 -0
- package/artifacts/schema/legal-acceptance-list-response.schema.json +127 -0
- package/artifacts/schema/legal-acceptance-version-row.schema.json +101 -0
- package/artifacts/schema/legal-document-reference.schema.json +28 -0
- package/artifacts/schema/legal-text-references.schema.json +72 -0
- package/artifacts/schema/parameter-spec.schema.json +1 -1
- package/artifacts/schema/publisher-config.schema.json +1 -1
- package/artifacts/schema/put-app-auth-urls-request.schema.json +31 -1
- package/artifacts/schema/robot-config-doc.schema.json +8 -8
- package/artifacts/schema/service-config.schema.json +1 -1
- package/artifacts/schema/support-renew-fail-refusal.schema.json +141 -0
- package/artifacts/schema/support-renew-fail-request.schema.json +28 -0
- package/artifacts/schema/waitlist-request.schema.json +9 -1
- package/dist/app-users.d.ts +12 -5
- package/dist/app-users.js +29 -6
- package/dist/client-robots.d.ts +1 -1
- package/dist/client-robots.js +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +7 -7
- package/dist/errors.js +19 -15
- package/dist/identity.d.ts +5 -2
- package/dist/identity.js +10 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +4 -2
- package/dist/legal-acceptances.d.ts +54 -0
- package/dist/legal-acceptances.js +22 -0
- package/dist/legal.d.ts +31 -0
- package/dist/legal.js +29 -0
- package/dist/mcp.d.ts +13 -10
- package/dist/mcp.js +13 -10
- package/dist/routes.js +44 -6
- package/dist/support.d.ts +42 -0
- package/dist/support.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"id": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid",
|
|
8
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
|
|
9
|
+
},
|
|
10
|
+
"context": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": [
|
|
13
|
+
"registration",
|
|
14
|
+
"invitation",
|
|
15
|
+
"order",
|
|
16
|
+
"existing_org"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"accepted_at": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "date-time",
|
|
22
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{6}(?:Z))$"
|
|
23
|
+
},
|
|
24
|
+
"text_id": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1,
|
|
27
|
+
"maxLength": 80,
|
|
28
|
+
"pattern": "\\S"
|
|
29
|
+
},
|
|
30
|
+
"terms": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"version": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1,
|
|
36
|
+
"maxLength": 80
|
|
37
|
+
},
|
|
38
|
+
"version_date": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "date",
|
|
41
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
42
|
+
},
|
|
43
|
+
"url": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"maxLength": 2048,
|
|
46
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
47
|
+
"format": "uri"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"version",
|
|
52
|
+
"version_date",
|
|
53
|
+
"url"
|
|
54
|
+
],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
"dpa": {
|
|
58
|
+
"anyOf": [
|
|
59
|
+
{
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {
|
|
62
|
+
"version": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1,
|
|
65
|
+
"maxLength": 80
|
|
66
|
+
},
|
|
67
|
+
"version_date": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"format": "date",
|
|
70
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
71
|
+
},
|
|
72
|
+
"url": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"maxLength": 2048,
|
|
75
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
76
|
+
"format": "uri"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"version",
|
|
81
|
+
"version_date",
|
|
82
|
+
"url"
|
|
83
|
+
],
|
|
84
|
+
"additionalProperties": false
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "null"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"required": [
|
|
93
|
+
"id",
|
|
94
|
+
"context",
|
|
95
|
+
"accepted_at",
|
|
96
|
+
"text_id",
|
|
97
|
+
"terms",
|
|
98
|
+
"dpa"
|
|
99
|
+
],
|
|
100
|
+
"additionalProperties": false
|
|
101
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"version": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"minLength": 1,
|
|
8
|
+
"maxLength": 80
|
|
9
|
+
},
|
|
10
|
+
"version_date": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"format": "date",
|
|
13
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
14
|
+
},
|
|
15
|
+
"url": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"maxLength": 2048,
|
|
18
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
19
|
+
"format": "uri"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"version",
|
|
24
|
+
"version_date",
|
|
25
|
+
"url"
|
|
26
|
+
],
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"terms": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"version": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"minLength": 1,
|
|
11
|
+
"maxLength": 80
|
|
12
|
+
},
|
|
13
|
+
"version_date": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "date",
|
|
16
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
17
|
+
},
|
|
18
|
+
"url": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"maxLength": 2048,
|
|
21
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
22
|
+
"format": "uri"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"version",
|
|
27
|
+
"version_date",
|
|
28
|
+
"url"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
},
|
|
32
|
+
"dpa": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"version": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1,
|
|
40
|
+
"maxLength": 80
|
|
41
|
+
},
|
|
42
|
+
"version_date": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "date",
|
|
45
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
46
|
+
},
|
|
47
|
+
"url": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"maxLength": 2048,
|
|
50
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
51
|
+
"format": "uri"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": [
|
|
55
|
+
"version",
|
|
56
|
+
"version_date",
|
|
57
|
+
"url"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "null"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"terms",
|
|
69
|
+
"dpa"
|
|
70
|
+
],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
}
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
]
|
|
93
93
|
},
|
|
94
94
|
"description": {
|
|
95
|
-
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `
|
|
95
|
+
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
|
|
96
96
|
"examples": [
|
|
97
97
|
"What a caller is choosing when they set this."
|
|
98
98
|
],
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
129
|
"description": {
|
|
130
|
-
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `
|
|
130
|
+
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
|
|
131
131
|
"examples": [
|
|
132
132
|
"What a caller is choosing when they set this."
|
|
133
133
|
],
|
|
@@ -62,6 +62,34 @@
|
|
|
62
62
|
}
|
|
63
63
|
],
|
|
64
64
|
"description": "The page an MCP authorization redirects to, with `{interaction}` where the interaction id goes. Not a token: the id names a pending request the server already holds, and the app authenticates the user itself before approving it. `null` means the hosted MCP sign-in in `hosted_pages` is used."
|
|
65
|
+
},
|
|
66
|
+
"operator_info_url": {
|
|
67
|
+
"anyOf": [
|
|
68
|
+
{
|
|
69
|
+
"type": "string",
|
|
70
|
+
"maxLength": 2048,
|
|
71
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
72
|
+
"format": "uri"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "null"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"description": "Operator information / legal notice URL for this customer app. `null` means unset; cloud checks reachability and public addresses before allowing new app-user access flows."
|
|
79
|
+
},
|
|
80
|
+
"privacy_policy_url": {
|
|
81
|
+
"anyOf": [
|
|
82
|
+
{
|
|
83
|
+
"type": "string",
|
|
84
|
+
"maxLength": 2048,
|
|
85
|
+
"pattern": "^https:\\/\\/(?=[A-Za-z0-9.-]{1,253}(?::[0-9]{1,5})?(?:[/?#]|$))[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*(?::(?:[0-5]?[0-9]{1,4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?(?:[/?#]|$)",
|
|
86
|
+
"format": "uri"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "null"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"description": "Privacy policy URL for this customer app. `null` means unset; cloud checks reachability and public addresses before allowing new app-user access flows."
|
|
65
93
|
}
|
|
66
94
|
},
|
|
67
95
|
"required": [
|
|
@@ -69,7 +97,9 @@
|
|
|
69
97
|
"invite_url",
|
|
70
98
|
"verify_url",
|
|
71
99
|
"reset_url",
|
|
72
|
-
"mcp_login_url"
|
|
100
|
+
"mcp_login_url",
|
|
101
|
+
"operator_info_url",
|
|
102
|
+
"privacy_policy_url"
|
|
73
103
|
],
|
|
74
104
|
"additionalProperties": false
|
|
75
105
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"const": "keep"
|
|
112
112
|
},
|
|
113
113
|
"description": {
|
|
114
|
-
"description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `
|
|
114
|
+
"description": "Prose about what this value is, for whoever meets it in the console. It changes nothing the robot does, so a publish that touches only it pushes no configuration at all — but it is carried verbatim into `robots.describe`, where a model that has never seen this robot reads it. The datapoint is offered whenever the role grants it; without one it is offered with `description: null` and the model has less to go on, as for actions, services, publishers and cameras. Omission is the only way to say nothing; an empty string is refused, here and on all five.",
|
|
115
115
|
"examples": [
|
|
116
116
|
"What this value is, for whoever meets it in the console."
|
|
117
117
|
],
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"unit": {
|
|
140
140
|
"type": "string",
|
|
141
141
|
"maxLength": 32,
|
|
142
|
-
"description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `
|
|
142
|
+
"description": "The unit of the value **after** `scale` and `offset`, not the robot's own. It is shown beside the value and carried by `robots.describe` as its own field, so a model does not have to guess whether 15 means percent, volts or minutes.",
|
|
143
143
|
"examples": [
|
|
144
144
|
"%"
|
|
145
145
|
]
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"type": "integer",
|
|
149
149
|
"minimum": 0,
|
|
150
150
|
"maximum": 6,
|
|
151
|
-
"description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `
|
|
151
|
+
"description": "How many fraction digits the console shows the value with — value tile, chart axis and tooltip, and the datapoint detail page — and the number `robots.describe` reports as its own field, so a model formats the value the way the console does. Presentation only: the stored value keeps the precision it arrived with, and absent means the console's own default rather than zero.",
|
|
152
152
|
"examples": [
|
|
153
153
|
1
|
|
154
154
|
]
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
]
|
|
610
610
|
},
|
|
611
611
|
"description": {
|
|
612
|
-
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `
|
|
612
|
+
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
|
|
613
613
|
"examples": [
|
|
614
614
|
"What a caller is choosing when they set this."
|
|
615
615
|
],
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
]
|
|
653
653
|
},
|
|
654
654
|
"description": {
|
|
655
|
-
"description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `
|
|
655
|
+
"description": "What this action does, in the developer's own words — documentation for the console and for MCP clients, which is all it is: the robot does nothing with it. It is carried verbatim into `robots.describe` and read by a model that has never seen this robot. The action is offered whenever the role grants it; without one it is offered with `description: null`, and the model has nothing but the slug.",
|
|
656
656
|
"examples": [
|
|
657
657
|
"Drives to a target pose on the map."
|
|
658
658
|
],
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
]
|
|
831
831
|
},
|
|
832
832
|
"description": {
|
|
833
|
-
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `
|
|
833
|
+
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
|
|
834
834
|
"examples": [
|
|
835
835
|
"What a caller is choosing when they set this."
|
|
836
836
|
],
|
|
@@ -1051,7 +1051,7 @@
|
|
|
1051
1051
|
]
|
|
1052
1052
|
},
|
|
1053
1053
|
"description": {
|
|
1054
|
-
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `
|
|
1054
|
+
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
|
|
1055
1055
|
"examples": [
|
|
1056
1056
|
"What a caller is choosing when they set this."
|
|
1057
1057
|
],
|
|
@@ -1554,7 +1554,7 @@
|
|
|
1554
1554
|
]
|
|
1555
1555
|
},
|
|
1556
1556
|
"description": {
|
|
1557
|
-
"description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `
|
|
1557
|
+
"description": "What this camera shows, in the developer's own words — documentation for whoever reads the configuration, for the console and for MCP clients; the robot does nothing with it. A camera without one is still offered, with `description: null`, as for actions, services and publishers. What `camera.snapshot` serves is the latest snapshot with its age; a live session is never a tool.",
|
|
1558
1558
|
"examples": [
|
|
1559
1559
|
"Forward-facing camera on the mast."
|
|
1560
1560
|
],
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
129
|
"description": {
|
|
130
|
-
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `
|
|
130
|
+
"description": "What this parameter means, in the developer's own words, and documentation only — the robot does nothing with it. It travels into the input schema `robots.describe` publishes for this call, beside the bounds, so `type` and the range say what the value *is* and this is the only place that says what it *does*.",
|
|
131
131
|
"examples": [
|
|
132
132
|
"What a caller is choosing when they set this."
|
|
133
133
|
],
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"anyOf": [
|
|
4
|
+
{
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"code": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "validation_error"
|
|
10
|
+
},
|
|
11
|
+
"message": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1
|
|
14
|
+
},
|
|
15
|
+
"details": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"rule": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"const": "invalid_flow"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"rule"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"code",
|
|
31
|
+
"message",
|
|
32
|
+
"details"
|
|
33
|
+
],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"code": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"const": "unauthorized"
|
|
42
|
+
},
|
|
43
|
+
"message": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1
|
|
46
|
+
},
|
|
47
|
+
"details": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"rule": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"const": "invalid_authority"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"rule"
|
|
57
|
+
],
|
|
58
|
+
"additionalProperties": false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"required": [
|
|
62
|
+
"code",
|
|
63
|
+
"message",
|
|
64
|
+
"details"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "object",
|
|
70
|
+
"properties": {
|
|
71
|
+
"code": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"const": "not_found"
|
|
74
|
+
},
|
|
75
|
+
"message": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"minLength": 1
|
|
78
|
+
},
|
|
79
|
+
"details": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"rule": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"enum": [
|
|
85
|
+
"invalid_flow",
|
|
86
|
+
"identity_mismatch"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"rule"
|
|
92
|
+
],
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": [
|
|
97
|
+
"code",
|
|
98
|
+
"message",
|
|
99
|
+
"details"
|
|
100
|
+
],
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"code": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"const": "target_state_conflict"
|
|
109
|
+
},
|
|
110
|
+
"message": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"minLength": 1
|
|
113
|
+
},
|
|
114
|
+
"details": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {
|
|
117
|
+
"rule": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"enum": [
|
|
120
|
+
"expired",
|
|
121
|
+
"replayed",
|
|
122
|
+
"session_inactive",
|
|
123
|
+
"stale_generation"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": [
|
|
128
|
+
"rule"
|
|
129
|
+
],
|
|
130
|
+
"additionalProperties": false
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": [
|
|
134
|
+
"code",
|
|
135
|
+
"message",
|
|
136
|
+
"details"
|
|
137
|
+
],
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"flow_id": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"format": "uuid",
|
|
8
|
+
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
|
|
9
|
+
"description": "The pending Cloud renewal flow created with the original support bearer."
|
|
10
|
+
},
|
|
11
|
+
"code_verifier": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[A-Za-z0-9._~-]{43,128}$",
|
|
14
|
+
"description": "The server-held RFC 7636 verifier matching the flow's S256 challenge; never sent to the browser."
|
|
15
|
+
},
|
|
16
|
+
"reason": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "authority_failed",
|
|
19
|
+
"description": "A fixed category; browser and IdP error text is not forwarded."
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"flow_id",
|
|
24
|
+
"code_verifier",
|
|
25
|
+
"reason"
|
|
26
|
+
],
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
}
|
|
@@ -7,9 +7,17 @@
|
|
|
7
7
|
"maxLength": 254,
|
|
8
8
|
"format": "email",
|
|
9
9
|
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
|
|
10
|
+
},
|
|
11
|
+
"consent_text_version": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1,
|
|
14
|
+
"maxLength": 80,
|
|
15
|
+
"pattern": "\\S",
|
|
16
|
+
"description": "Version of the F.1 text shown at submission. Cloud rejects unsupported versions and stores the submitted value in a consent record separate from the waiting list."
|
|
10
17
|
}
|
|
11
18
|
},
|
|
12
19
|
"required": [
|
|
13
|
-
"email"
|
|
20
|
+
"email",
|
|
21
|
+
"consent_text_version"
|
|
14
22
|
]
|
|
15
23
|
}
|
package/dist/app-users.d.ts
CHANGED
|
@@ -455,6 +455,9 @@ export type AppHostedPages = z.infer<typeof appHostedPages>;
|
|
|
455
455
|
* Fleetless-hosted page in `hosted_pages`, so nothing is refused for a
|
|
456
456
|
* missing URL — self-registration, mailed invitations, resets and MCP sign-in
|
|
457
457
|
* all work before the app has a page of its own.
|
|
458
|
+
* The app's operator-information and privacy-policy links are separate:
|
|
459
|
+
* `null` represents an unset legacy link. The cloud checks reachability and
|
|
460
|
+
* public addresses and gates new access flows until both are valid.
|
|
458
461
|
*/
|
|
459
462
|
export declare const appAuthConfig: z.ZodObject<{
|
|
460
463
|
self_registration: z.ZodBoolean;
|
|
@@ -466,6 +469,8 @@ export declare const appAuthConfig: z.ZodObject<{
|
|
|
466
469
|
reset_url: z.ZodNullable<z.ZodString>;
|
|
467
470
|
mcp_login_url: z.ZodNullable<z.ZodString>;
|
|
468
471
|
app_url: z.ZodNullable<z.ZodURL>;
|
|
472
|
+
operator_info_url: z.ZodNullable<z.ZodURL>;
|
|
473
|
+
privacy_policy_url: z.ZodNullable<z.ZodURL>;
|
|
469
474
|
sign_in_methods: z.ZodObject<{
|
|
470
475
|
password: z.ZodBoolean;
|
|
471
476
|
email_code: z.ZodBoolean;
|
|
@@ -520,10 +525,10 @@ export declare const putAppAuthSignInRequest: z.ZodObject<{
|
|
|
520
525
|
}, z.core.$strict>;
|
|
521
526
|
export type PutAppAuthSignInRequest = z.infer<typeof putAppAuthSignInRequest>;
|
|
522
527
|
/**
|
|
523
|
-
* `PUT /api/apps/:id/auth-config/urls` — the app's home page
|
|
524
|
-
* pages
|
|
525
|
-
*
|
|
526
|
-
*
|
|
528
|
+
* `PUT /api/apps/:id/auth-config/urls` — the app's home page, four flow pages,
|
|
529
|
+
* and two legal pages. The console's Pages section owns all seven. `null`
|
|
530
|
+
* falls back to a hosted flow page for the four flow URLs; `null` on a legal
|
|
531
|
+
* link clears it and the cloud gates the affected new access flows.
|
|
527
532
|
*/
|
|
528
533
|
export declare const putAppAuthUrlsRequest: z.ZodObject<{
|
|
529
534
|
invite_url: z.ZodNullable<z.ZodString>;
|
|
@@ -531,6 +536,8 @@ export declare const putAppAuthUrlsRequest: z.ZodObject<{
|
|
|
531
536
|
reset_url: z.ZodNullable<z.ZodString>;
|
|
532
537
|
mcp_login_url: z.ZodNullable<z.ZodString>;
|
|
533
538
|
app_url: z.ZodNullable<z.ZodURL>;
|
|
539
|
+
operator_info_url: z.ZodNullable<z.ZodURL>;
|
|
540
|
+
privacy_policy_url: z.ZodNullable<z.ZodURL>;
|
|
534
541
|
}, z.core.$strict>;
|
|
535
542
|
export type PutAppAuthUrlsRequest = z.infer<typeof putAppAuthUrlsRequest>;
|
|
536
543
|
/**
|
|
@@ -570,7 +577,7 @@ export type MailTemplateKind = z.infer<typeof mailTemplateKind>;
|
|
|
570
577
|
* where the renderer, the console's completion and the docs all read the same
|
|
571
578
|
* one.
|
|
572
579
|
*/
|
|
573
|
-
export declare const MAIL_TEMPLATE_VARIABLES: readonly ["app.name", "org.name", "user.email", "user.display_name", "role.name", "link", "expires_in_hours", "code", "expires_in_minutes"];
|
|
580
|
+
export declare const MAIL_TEMPLATE_VARIABLES: readonly ["app.name", "org.name", "user.email", "user.display_name", "role.name", "link", "expires_in_hours", "code", "expires_in_minutes", "app.operator_info_url", "app.privacy_policy_url"];
|
|
574
581
|
/**
|
|
575
582
|
* **The Fleetless default text for the four app mails.**
|
|
576
583
|
*
|