@fleetless/contracts 14.0.0 → 15.0.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.
- package/CHANGELOG.md +184 -0
- package/artifacts/openapi.json +20210 -11764
- package/artifacts/routes.json +1160 -39
- package/artifacts/schema/addon-catalogue-entry.schema.json +3 -1
- package/artifacts/schema/admin-plan-change-request.schema.json +26 -0
- package/artifacts/schema/app-deletion-summary.schema.json +15 -1
- package/artifacts/schema/asset-plan-limit-details.schema.json +3 -1
- package/artifacts/schema/billing-change-response.schema.json +9 -8
- package/artifacts/schema/checkout-response.schema.json +6 -6
- package/artifacts/schema/cloud-config.schema.json +5 -5
- package/artifacts/schema/collection-actor.schema.json +35 -0
- package/artifacts/schema/collection-definitions-response.schema.json +612 -0
- package/artifacts/schema/collection-event.schema.json +216 -0
- package/artifacts/schema/collection-export-query.schema.json +56 -0
- package/artifacts/schema/collection-filter.schema.json +9 -0
- package/artifacts/schema/collection-import-preview.schema.json +143 -0
- package/artifacts/schema/collection-import-request.schema.json +105 -0
- package/artifacts/schema/collection-import-result.schema.json +38 -0
- package/artifacts/schema/collection-list-response.schema.json +119 -0
- package/artifacts/schema/collection-record-get-query.schema.json +12 -0
- package/artifacts/schema/collection-record-history-query.schema.json +35 -0
- package/artifacts/schema/collection-record-history-response.schema.json +389 -0
- package/artifacts/schema/collection-record-list-query.schema.json +67 -0
- package/artifacts/schema/collection-record-list-response.schema.json +212 -0
- package/artifacts/schema/collection-record-restore-request.schema.json +14 -0
- package/artifacts/schema/collection-record-write.schema.json +31 -0
- package/artifacts/schema/collection-record.schema.json +180 -0
- package/artifacts/schema/collection-revision.schema.json +295 -0
- package/artifacts/schema/collection-subscribe-error.schema.json +31 -0
- package/artifacts/schema/collection-subscribe.schema.json +48 -0
- package/artifacts/schema/collection-subscribed.schema.json +22 -0
- package/artifacts/schema/collection-summary.schema.json +92 -0
- package/artifacts/schema/collection-unsubscribe.schema.json +22 -0
- package/artifacts/schema/collections-access-change.schema.json +34 -0
- package/artifacts/schema/collections-document.schema.json +732 -0
- package/artifacts/schema/collections-draft-response.schema.json +845 -0
- package/artifacts/schema/collections-effect.schema.json +384 -0
- package/artifacts/schema/collections-issue.schema.json +36 -0
- package/artifacts/schema/collections-publish-request.schema.json +18 -0
- package/artifacts/schema/collections-publish-response.schema.json +450 -0
- package/artifacts/schema/collections-purge-preview.schema.json +60 -0
- package/artifacts/schema/collections-purge-request.schema.json +27 -0
- package/artifacts/schema/collections-purge-response.schema.json +30 -0
- package/artifacts/schema/collections-restore-preview-query.schema.json +20 -0
- package/artifacts/schema/collections-restore-preview.schema.json +581 -0
- package/artifacts/schema/collections-restore-request.schema.json +27 -0
- package/artifacts/schema/collections-restore-response.schema.json +455 -0
- package/artifacts/schema/collections-schema-preview.schema.json +519 -0
- package/artifacts/schema/collections-schema-published.schema.json +22 -0
- package/artifacts/schema/collections-version-response.schema.json +869 -0
- package/artifacts/schema/collections-version-summary.schema.json +139 -0
- package/artifacts/schema/collections-versions-response.schema.json +167 -0
- package/artifacts/schema/config-draft-response.schema.json +5 -5
- package/artifacts/schema/config-version-response.schema.json +5 -5
- package/artifacts/schema/confirmation-required-details.schema.json +13 -0
- package/artifacts/schema/dangling-reference.schema.json +7 -6
- package/artifacts/schema/datapoint-list-response.schema.json +2 -2
- package/artifacts/schema/effective-rights-response.schema.json +87 -1
- package/artifacts/schema/org-plan.schema.json +29 -1
- package/artifacts/schema/org-quota-usage-counts.schema.json +18 -0
- package/artifacts/schema/org-quota-usage.schema.json +47 -1
- package/artifacts/schema/org-quotas.schema.json +29 -1
- package/artifacts/schema/org-role-list-response.schema.json +8 -7
- package/artifacts/schema/org-role.schema.json +1 -1
- package/artifacts/schema/plan-catalogue-entry.schema.json +29 -1
- package/artifacts/schema/plan-change-decision-status-response.schema.json +29 -1
- package/artifacts/schema/plan-limit-details.schema.json +3 -1
- package/artifacts/schema/plan-limits.schema.json +29 -1
- package/artifacts/schema/plan-overrides.schema.json +26 -0
- package/artifacts/schema/purchase-conflict-details.schema.json +6 -6
- package/artifacts/schema/purchase-intent-draft.schema.json +5 -5
- package/artifacts/schema/purchase-intent-payment-started.schema.json +1 -1
- package/artifacts/schema/purchase-intent-response.schema.json +10 -9
- package/artifacts/schema/put-collections-draft-request.schema.json +16 -0
- package/artifacts/schema/record-changed-details.schema.json +16 -0
- package/artifacts/schema/record-referenced-details.schema.json +35 -0
- package/artifacts/schema/reference-invalid-details.schema.json +25 -0
- package/artifacts/schema/reference-place.schema.json +7 -6
- package/artifacts/schema/required-missing-details.schema.json +19 -0
- package/artifacts/schema/robot-config-doc.schema.json +5 -5
- package/artifacts/schema/robot-deletion-summary.schema.json +33 -1
- package/artifacts/schema/role-collection-rights.schema.json +82 -0
- package/artifacts/schema/role-rename-preview.schema.json +7 -6
- package/dist/apps.d.ts +18 -2
- package/dist/apps.js +12 -2
- package/dist/audit.d.ts +32 -2
- package/dist/audit.js +40 -2
- package/dist/billing.js +12 -3
- package/dist/collections-issues.d.ts +67 -0
- package/dist/collections-issues.js +340 -0
- package/dist/collections-records.d.ts +562 -0
- package/dist/collections-records.js +525 -0
- package/dist/collections-rights.d.ts +17 -0
- package/dist/collections-rights.js +41 -0
- package/dist/collections-schema.d.ts +1064 -0
- package/dist/collections-schema.js +386 -0
- package/dist/collections-templates.d.ts +55 -0
- package/dist/collections-templates.js +137 -0
- package/dist/collections-transfer.d.ts +101 -0
- package/dist/collections-transfer.js +206 -0
- package/dist/collections-values.d.ts +67 -0
- package/dist/collections-values.js +284 -0
- package/dist/collections.d.ts +568 -0
- package/dist/collections.js +332 -0
- package/dist/config.d.ts +8 -8
- package/dist/config.js +13 -13
- package/dist/errors.d.ts +50 -1
- package/dist/errors.js +117 -2
- package/dist/index.d.ts +24 -8
- package/dist/index.js +13 -3
- package/dist/org-roles.d.ts +4 -0
- package/dist/org-roles.js +10 -9
- package/dist/plans.d.ts +22 -2
- package/dist/plans.js +26 -4
- package/dist/realtime.d.ts +166 -0
- package/dist/realtime.js +163 -0
- package/dist/rest.d.ts +28 -28
- package/dist/rest.js +39 -27
- package/dist/rights.d.ts +2 -2
- package/dist/rights.js +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.js +495 -21
- package/package.json +1 -1
- package/artifacts/schema/put-robot-details-request.schema.json +0 -41
- package/artifacts/schema/put-robot-details-response.schema.json +0 -43
- package/artifacts/schema/robot-details-doc.schema.json +0 -33
|
@@ -31,6 +31,24 @@
|
|
|
31
31
|
"type": "integer",
|
|
32
32
|
"minimum": 0,
|
|
33
33
|
"maximum": 9007199254740991
|
|
34
|
+
},
|
|
35
|
+
"collection_records": {
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"minimum": 0,
|
|
38
|
+
"maximum": 9007199254740991,
|
|
39
|
+
"description": "Current records in the app collections of all the org's apps. Deleted records do not count."
|
|
40
|
+
},
|
|
41
|
+
"collection_bytes": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"minimum": 0,
|
|
44
|
+
"maximum": 9007199254740991,
|
|
45
|
+
"description": "Bytes the current records of the org's app collections occupy, as stored JSON."
|
|
46
|
+
},
|
|
47
|
+
"collection_history_bytes": {
|
|
48
|
+
"type": "integer",
|
|
49
|
+
"minimum": 0,
|
|
50
|
+
"maximum": 9007199254740991,
|
|
51
|
+
"description": "Bytes the history of the org's app collections occupies: revisions of current and deleted records. Information only; no limit applies to it."
|
|
34
52
|
}
|
|
35
53
|
},
|
|
36
54
|
"additionalProperties": false
|
|
@@ -34,6 +34,32 @@
|
|
|
34
34
|
"type": "integer",
|
|
35
35
|
"exclusiveMinimum": 0,
|
|
36
36
|
"maximum": 9007199254740991
|
|
37
|
+
},
|
|
38
|
+
"collection_records": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"exclusiveMinimum": 0,
|
|
43
|
+
"maximum": 9007199254740991
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "null"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"description": "The most records the app collections of all the org's apps may hold together: the plan limit `collection_records`, or the operator's override of it. `null` is by contract (Enterprise)."
|
|
50
|
+
},
|
|
51
|
+
"collection_bytes": {
|
|
52
|
+
"anyOf": [
|
|
53
|
+
{
|
|
54
|
+
"type": "integer",
|
|
55
|
+
"exclusiveMinimum": 0,
|
|
56
|
+
"maximum": 9007199254740991
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "null"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"description": "The most bytes the current records of the org's app collections may occupy together: the plan limit `collection_bytes`, or the operator's override of it. `null` is by contract (Enterprise)."
|
|
37
63
|
}
|
|
38
64
|
},
|
|
39
65
|
"required": [
|
|
@@ -42,7 +68,9 @@
|
|
|
42
68
|
"max_end_users",
|
|
43
69
|
"max_retention_bytes",
|
|
44
70
|
"max_retention_writes_per_minute",
|
|
45
|
-
"max_realtime_connections"
|
|
71
|
+
"max_realtime_connections",
|
|
72
|
+
"collection_records",
|
|
73
|
+
"collection_bytes"
|
|
46
74
|
],
|
|
47
75
|
"additionalProperties": false
|
|
48
76
|
},
|
|
@@ -78,6 +106,24 @@
|
|
|
78
106
|
"type": "integer",
|
|
79
107
|
"minimum": 0,
|
|
80
108
|
"maximum": 9007199254740991
|
|
109
|
+
},
|
|
110
|
+
"collection_records": {
|
|
111
|
+
"type": "integer",
|
|
112
|
+
"minimum": 0,
|
|
113
|
+
"maximum": 9007199254740991,
|
|
114
|
+
"description": "Current records in the app collections of all the org's apps. Deleted records do not count."
|
|
115
|
+
},
|
|
116
|
+
"collection_bytes": {
|
|
117
|
+
"type": "integer",
|
|
118
|
+
"minimum": 0,
|
|
119
|
+
"maximum": 9007199254740991,
|
|
120
|
+
"description": "Bytes the current records of the org's app collections occupy, as stored JSON."
|
|
121
|
+
},
|
|
122
|
+
"collection_history_bytes": {
|
|
123
|
+
"type": "integer",
|
|
124
|
+
"minimum": 0,
|
|
125
|
+
"maximum": 9007199254740991,
|
|
126
|
+
"description": "Bytes the history of the org's app collections occupies: revisions of current and deleted records. Information only; no limit applies to it."
|
|
81
127
|
}
|
|
82
128
|
},
|
|
83
129
|
"additionalProperties": false
|
|
@@ -31,6 +31,32 @@
|
|
|
31
31
|
"type": "integer",
|
|
32
32
|
"exclusiveMinimum": 0,
|
|
33
33
|
"maximum": 9007199254740991
|
|
34
|
+
},
|
|
35
|
+
"collection_records": {
|
|
36
|
+
"anyOf": [
|
|
37
|
+
{
|
|
38
|
+
"type": "integer",
|
|
39
|
+
"exclusiveMinimum": 0,
|
|
40
|
+
"maximum": 9007199254740991
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "null"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"description": "The most records the app collections of all the org's apps may hold together: the plan limit `collection_records`, or the operator's override of it. `null` is by contract (Enterprise)."
|
|
47
|
+
},
|
|
48
|
+
"collection_bytes": {
|
|
49
|
+
"anyOf": [
|
|
50
|
+
{
|
|
51
|
+
"type": "integer",
|
|
52
|
+
"exclusiveMinimum": 0,
|
|
53
|
+
"maximum": 9007199254740991
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "null"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"description": "The most bytes the current records of the org's app collections may occupy together: the plan limit `collection_bytes`, or the operator's override of it. `null` is by contract (Enterprise)."
|
|
34
60
|
}
|
|
35
61
|
},
|
|
36
62
|
"required": [
|
|
@@ -39,7 +65,9 @@
|
|
|
39
65
|
"max_end_users",
|
|
40
66
|
"max_retention_bytes",
|
|
41
67
|
"max_retention_writes_per_minute",
|
|
42
|
-
"max_realtime_connections"
|
|
68
|
+
"max_realtime_connections",
|
|
69
|
+
"collection_records",
|
|
70
|
+
"collection_bytes"
|
|
43
71
|
],
|
|
44
72
|
"additionalProperties": false
|
|
45
73
|
}
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"type": "integer",
|
|
49
49
|
"minimum": 0,
|
|
50
50
|
"maximum": 9007199254740991,
|
|
51
|
-
"description": "Places in documents that name this role, such as a `role` in a robot's `fleetless.yaml
|
|
51
|
+
"description": "Places in documents that name this role, such as a `role` in a robot's `fleetless.yaml` or an `access` entry in an app's collections schema. A rename with `update_references` rewrites them."
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"required": [
|
|
@@ -82,17 +82,18 @@
|
|
|
82
82
|
"type": "string",
|
|
83
83
|
"enum": [
|
|
84
84
|
"config",
|
|
85
|
+
"collection_schema",
|
|
85
86
|
"app_user",
|
|
86
87
|
"invitation",
|
|
87
88
|
"app_default",
|
|
88
89
|
"role_inherits",
|
|
89
90
|
"org_default"
|
|
90
91
|
],
|
|
91
|
-
"description": "What writes the key: `config` is a `role` or `access` value in a robot's `fleetless.yaml`, `app_user` an app user who holds it, `invitation` an invitation that carries it, `app_default` an app's default role, `role_inherits` another role that inherits from it, and `org_default` one of the organization's defaults."
|
|
92
|
+
"description": "What writes the key: `config` is a `role` or `access` value in a robot's `fleetless.yaml`, `collection_schema` an `access` entry of a collection in an app's collections schema, `app_user` an app user who holds it, `invitation` an invitation that carries it, `app_default` an app's default role, `role_inherits` another role that inherits from it, and `org_default` one of the organization's defaults."
|
|
92
93
|
},
|
|
93
94
|
"label": {
|
|
94
95
|
"type": "string",
|
|
95
|
-
"description": "What a person reads to find the place: the robot name (`config`), the e-mail address of the app user or of the invitee (`app_user`, `invitation`), the
|
|
96
|
+
"description": "What a person reads to find the place: the robot name (`config`), the app name (`collection_schema`, `app_default`), the e-mail address of the app user or of the invitee (`app_user`, `invitation`), the name of the inheriting role (`role_inherits`), or the access kind of an organization default (`org_default`)."
|
|
96
97
|
},
|
|
97
98
|
"path": {
|
|
98
99
|
"anyOf": [
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
"type": "null"
|
|
104
105
|
}
|
|
105
106
|
],
|
|
106
|
-
"description": "Where the key is written. For `config`, the place in the YAML, such as `services.arm_home.role` or `access.rules[1].role`; for `role_inherits`, the key of the role that inherits from it, because display names are not unique; `null` for every other kind."
|
|
107
|
+
"description": "Where the key is written. For `config`, the place in the YAML, such as `services.arm_home.role` or `access.rules[1].role`; for `collection_schema`, the place in the collections schema, such as `collections.notes.access.update.own[1]`; for `role_inherits`, the key of the role that inherits from it, because display names are not unique; `null` for every other kind."
|
|
107
108
|
},
|
|
108
109
|
"robot_id": {
|
|
109
110
|
"anyOf": [
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
"type": "null"
|
|
130
131
|
}
|
|
131
132
|
],
|
|
132
|
-
"description": "The app the user, invitation or default role
|
|
133
|
+
"description": "The app the key belongs to: the app whose collections schema holds it (`collection_schema`), or the app of the user, invitation or default role (`app_user`, `invitation`, `app_default`); `null` for every other kind."
|
|
133
134
|
},
|
|
134
135
|
"user_id": {
|
|
135
136
|
"anyOf": [
|
|
@@ -157,7 +158,7 @@
|
|
|
157
158
|
"type": "null"
|
|
158
159
|
}
|
|
159
160
|
],
|
|
160
|
-
"description": "Which version of the
|
|
161
|
+
"description": "Which version of the document holds the key (`config`: the robot's configuration, `collection_schema`: the app's collections schema): the published one or the draft; `null` for every other kind."
|
|
161
162
|
},
|
|
162
163
|
"new_version": {
|
|
163
164
|
"anyOf": [
|
|
@@ -170,7 +171,7 @@
|
|
|
170
171
|
"type": "null"
|
|
171
172
|
}
|
|
172
173
|
],
|
|
173
|
-
"description": "For a published document, the version number a rename with `update_references` would give it, a copy that differs only in the key; `null` for a draft and for every place that is no document."
|
|
174
|
+
"description": "For a published document (`config` or `collection_schema`), the version number a rename with `update_references` would give it, a copy that differs only in the key; `null` for a draft and for every place that is no document."
|
|
174
175
|
}
|
|
175
176
|
},
|
|
176
177
|
"required": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"type": "integer",
|
|
44
44
|
"minimum": 0,
|
|
45
45
|
"maximum": 9007199254740991,
|
|
46
|
-
"description": "Places in documents that name this role, such as a `role` in a robot's `fleetless.yaml
|
|
46
|
+
"description": "Places in documents that name this role, such as a `role` in a robot's `fleetless.yaml` or an `access` entry in an app's collections schema. A rename with `update_references` rewrites them."
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"required": [
|
|
@@ -123,6 +123,32 @@
|
|
|
123
123
|
}
|
|
124
124
|
],
|
|
125
125
|
"description": "Days the org's audit log is kept."
|
|
126
|
+
},
|
|
127
|
+
"collection_records": {
|
|
128
|
+
"anyOf": [
|
|
129
|
+
{
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"exclusiveMinimum": 0,
|
|
132
|
+
"maximum": 9007199254740991
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"type": "null"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"description": "Records in the app collections of all the org's apps, together. Only current records count, deleted ones and the history do not. A write or an import that would add records past it is refused `409 plan_limit` naming this key; reads continue."
|
|
139
|
+
},
|
|
140
|
+
"collection_bytes": {
|
|
141
|
+
"anyOf": [
|
|
142
|
+
{
|
|
143
|
+
"type": "integer",
|
|
144
|
+
"exclusiveMinimum": 0,
|
|
145
|
+
"maximum": 9007199254740991
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "null"
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"description": "Bytes the current records of all the org's app collections occupy, as stored JSON (decimal: 1 GB = 1,000,000,000). The history is shown beside it and not limited. A write or an import that would add data past it is refused `409 plan_limit` naming this key; reads continue."
|
|
126
152
|
}
|
|
127
153
|
},
|
|
128
154
|
"required": [
|
|
@@ -133,7 +159,9 @@
|
|
|
133
159
|
"live_video_ms_per_month",
|
|
134
160
|
"asset_bytes_per_robot",
|
|
135
161
|
"history_days",
|
|
136
|
-
"audit_days"
|
|
162
|
+
"audit_days",
|
|
163
|
+
"collection_records",
|
|
164
|
+
"collection_bytes"
|
|
137
165
|
],
|
|
138
166
|
"additionalProperties": false,
|
|
139
167
|
"description": "What the plan allows. `null` means by contract."
|
|
@@ -209,6 +209,32 @@
|
|
|
209
209
|
}
|
|
210
210
|
],
|
|
211
211
|
"description": "Days the org's audit log is kept."
|
|
212
|
+
},
|
|
213
|
+
"collection_records": {
|
|
214
|
+
"anyOf": [
|
|
215
|
+
{
|
|
216
|
+
"type": "integer",
|
|
217
|
+
"exclusiveMinimum": 0,
|
|
218
|
+
"maximum": 9007199254740991
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"type": "null"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"description": "Records in the app collections of all the org's apps, together. Only current records count, deleted ones and the history do not. A write or an import that would add records past it is refused `409 plan_limit` naming this key; reads continue."
|
|
225
|
+
},
|
|
226
|
+
"collection_bytes": {
|
|
227
|
+
"anyOf": [
|
|
228
|
+
{
|
|
229
|
+
"type": "integer",
|
|
230
|
+
"exclusiveMinimum": 0,
|
|
231
|
+
"maximum": 9007199254740991
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"type": "null"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"description": "Bytes the current records of all the org's app collections occupy, as stored JSON (decimal: 1 GB = 1,000,000,000). The history is shown beside it and not limited. A write or an import that would add data past it is refused `409 plan_limit` naming this key; reads continue."
|
|
212
238
|
}
|
|
213
239
|
},
|
|
214
240
|
"required": [
|
|
@@ -219,7 +245,9 @@
|
|
|
219
245
|
"live_video_ms_per_month",
|
|
220
246
|
"asset_bytes_per_robot",
|
|
221
247
|
"history_days",
|
|
222
|
-
"audit_days"
|
|
248
|
+
"audit_days",
|
|
249
|
+
"collection_records",
|
|
250
|
+
"collection_bytes"
|
|
223
251
|
],
|
|
224
252
|
"additionalProperties": false,
|
|
225
253
|
"description": "The org's effective limits: the plan's, raised by its add-ons, or an operator's override in their place. `null` means unlimited for a count, and 90 days for `history_days` and `audit_days`."
|
|
@@ -105,6 +105,32 @@
|
|
|
105
105
|
}
|
|
106
106
|
],
|
|
107
107
|
"description": "Days the org's audit log is kept."
|
|
108
|
+
},
|
|
109
|
+
"collection_records": {
|
|
110
|
+
"anyOf": [
|
|
111
|
+
{
|
|
112
|
+
"type": "integer",
|
|
113
|
+
"exclusiveMinimum": 0,
|
|
114
|
+
"maximum": 9007199254740991
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "null"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"description": "Records in the app collections of all the org's apps, together. Only current records count, deleted ones and the history do not. A write or an import that would add records past it is refused `409 plan_limit` naming this key; reads continue."
|
|
121
|
+
},
|
|
122
|
+
"collection_bytes": {
|
|
123
|
+
"anyOf": [
|
|
124
|
+
{
|
|
125
|
+
"type": "integer",
|
|
126
|
+
"exclusiveMinimum": 0,
|
|
127
|
+
"maximum": 9007199254740991
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "null"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"description": "Bytes the current records of all the org's app collections occupy, as stored JSON (decimal: 1 GB = 1,000,000,000). The history is shown beside it and not limited. A write or an import that would add data past it is refused `409 plan_limit` naming this key; reads continue."
|
|
108
134
|
}
|
|
109
135
|
},
|
|
110
136
|
"required": [
|
|
@@ -115,7 +141,9 @@
|
|
|
115
141
|
"live_video_ms_per_month",
|
|
116
142
|
"asset_bytes_per_robot",
|
|
117
143
|
"history_days",
|
|
118
|
-
"audit_days"
|
|
144
|
+
"audit_days",
|
|
145
|
+
"collection_records",
|
|
146
|
+
"collection_bytes"
|
|
119
147
|
],
|
|
120
148
|
"additionalProperties": false
|
|
121
149
|
}
|
|
@@ -105,6 +105,32 @@
|
|
|
105
105
|
"type": "null"
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
|
+
},
|
|
109
|
+
"collection_records": {
|
|
110
|
+
"description": "Replaces the plan's `collection_records`. `null` clears the override.",
|
|
111
|
+
"anyOf": [
|
|
112
|
+
{
|
|
113
|
+
"type": "integer",
|
|
114
|
+
"exclusiveMinimum": 0,
|
|
115
|
+
"maximum": 9007199254740991
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "null"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"collection_bytes": {
|
|
123
|
+
"description": "Replaces the plan's `collection_bytes`. `null` clears the override.",
|
|
124
|
+
"anyOf": [
|
|
125
|
+
{
|
|
126
|
+
"type": "integer",
|
|
127
|
+
"exclusiveMinimum": 0,
|
|
128
|
+
"maximum": 9007199254740991
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "null"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
108
134
|
}
|
|
109
135
|
},
|
|
110
136
|
"additionalProperties": false
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
]
|
|
63
63
|
},
|
|
64
64
|
"invoice_id": {
|
|
65
|
-
"description": "
|
|
65
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
66
66
|
"type": "string",
|
|
67
67
|
"format": "uuid",
|
|
68
68
|
"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)$"
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
122
|
"invoice_id": {
|
|
123
|
-
"description": "
|
|
123
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
124
124
|
"type": "string",
|
|
125
125
|
"format": "uuid",
|
|
126
126
|
"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)$"
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"invoice_id": {
|
|
224
|
-
"description": "
|
|
224
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
225
225
|
"type": "string",
|
|
226
226
|
"format": "uuid",
|
|
227
227
|
"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)$"
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
]
|
|
301
301
|
},
|
|
302
302
|
"invoice_id": {
|
|
303
|
-
"description": "
|
|
303
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
304
304
|
"type": "string",
|
|
305
305
|
"format": "uuid",
|
|
306
306
|
"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)$"
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
]
|
|
354
354
|
},
|
|
355
355
|
"invoice_id": {
|
|
356
|
-
"description": "
|
|
356
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
357
357
|
"type": "string",
|
|
358
358
|
"format": "uuid",
|
|
359
359
|
"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)$"
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
]
|
|
415
415
|
},
|
|
416
416
|
"invoice_id": {
|
|
417
|
-
"description": "
|
|
417
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
418
418
|
"type": "string",
|
|
419
419
|
"format": "uuid",
|
|
420
420
|
"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)$"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"invoice_id": {
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
30
30
|
"type": "string",
|
|
31
31
|
"format": "uuid",
|
|
32
32
|
"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)$"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
]
|
|
85
85
|
},
|
|
86
86
|
"invoice_id": {
|
|
87
|
-
"description": "
|
|
87
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
88
88
|
"type": "string",
|
|
89
89
|
"format": "uuid",
|
|
90
90
|
"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)$"
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
]
|
|
186
186
|
},
|
|
187
187
|
"invoice_id": {
|
|
188
|
-
"description": "
|
|
188
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
189
189
|
"type": "string",
|
|
190
190
|
"format": "uuid",
|
|
191
191
|
"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)$"
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
]
|
|
265
265
|
},
|
|
266
266
|
"invoice_id": {
|
|
267
|
-
"description": "
|
|
267
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
268
268
|
"type": "string",
|
|
269
269
|
"format": "uuid",
|
|
270
270
|
"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)$"
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
]
|
|
318
318
|
},
|
|
319
319
|
"invoice_id": {
|
|
320
|
-
"description": "
|
|
320
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
321
321
|
"type": "string",
|
|
322
322
|
"format": "uuid",
|
|
323
323
|
"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)$"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
26
|
"invoice_id": {
|
|
27
|
-
"description": "
|
|
27
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
28
28
|
"type": "string",
|
|
29
29
|
"format": "uuid",
|
|
30
30
|
"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)$"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"invoice_id": {
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
32
32
|
"type": "string",
|
|
33
33
|
"format": "uuid",
|
|
34
34
|
"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)$"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"invoice_id": {
|
|
89
|
-
"description": "
|
|
89
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
90
90
|
"type": "string",
|
|
91
91
|
"format": "uuid",
|
|
92
92
|
"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)$"
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
]
|
|
188
188
|
},
|
|
189
189
|
"invoice_id": {
|
|
190
|
-
"description": "
|
|
190
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
191
191
|
"type": "string",
|
|
192
192
|
"format": "uuid",
|
|
193
193
|
"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)$"
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
]
|
|
267
267
|
},
|
|
268
268
|
"invoice_id": {
|
|
269
|
-
"description": "
|
|
269
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
270
270
|
"type": "string",
|
|
271
271
|
"format": "uuid",
|
|
272
272
|
"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)$"
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
]
|
|
320
320
|
},
|
|
321
321
|
"invoice_id": {
|
|
322
|
-
"description": "
|
|
322
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
323
323
|
"type": "string",
|
|
324
324
|
"format": "uuid",
|
|
325
325
|
"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)$"
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
]
|
|
474
474
|
},
|
|
475
475
|
"invoice_id": {
|
|
476
|
-
"description": "
|
|
476
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
477
477
|
"type": "string",
|
|
478
478
|
"format": "uuid",
|
|
479
479
|
"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)$"
|
|
@@ -1707,7 +1707,7 @@
|
|
|
1707
1707
|
"type": "null"
|
|
1708
1708
|
}
|
|
1709
1709
|
],
|
|
1710
|
-
"description": "The invoice charged now, or `null` when
|
|
1710
|
+
"description": "The Fleetless invoice charged now, or `null` when nothing was charged now (a change scheduled for the period end, or an increase that cost nothing) or the change was charged through Lexware (then the charge is in `billing.charges`)."
|
|
1711
1711
|
},
|
|
1712
1712
|
"intent": {
|
|
1713
1713
|
"type": "object",
|
|
@@ -1729,7 +1729,7 @@
|
|
|
1729
1729
|
"const": "paid_change"
|
|
1730
1730
|
},
|
|
1731
1731
|
"invoice_id": {
|
|
1732
|
-
"description": "
|
|
1732
|
+
"description": "For an invoice-paying operation, the due charge or issued invoice being paid. For a confirmed paid_change with payment_started, the charge or invoice created for that decision; when the charge was issued through Lexware (`charged` is `null`), it identifies the matching billing.charges[].id. Absent on a paid_change in any other state.",
|
|
1733
1733
|
"type": "string",
|
|
1734
1734
|
"format": "uuid",
|
|
1735
1735
|
"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)$"
|
|
@@ -2785,7 +2785,8 @@
|
|
|
2785
2785
|
"additionalProperties": false
|
|
2786
2786
|
},
|
|
2787
2787
|
"charged": {
|
|
2788
|
-
"type": "null"
|
|
2788
|
+
"type": "null",
|
|
2789
|
+
"description": "Always `null`: nothing was charged now (a scheduled change or an increase that cost nothing)."
|
|
2789
2790
|
},
|
|
2790
2791
|
"intent": {
|
|
2791
2792
|
"type": "object",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"source": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"maxLength": 1000000,
|
|
8
|
+
"description": "The whole document as YAML or JSON text, at most 1,000,000 bytes of UTF-8, which is fewer characters when some are not plain ASCII. It replaces the draft and is refused with the problems found if it is not valid."
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"required": [
|
|
12
|
+
"source"
|
|
13
|
+
],
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"description": "Replaces the draft with a whole document."
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"revision": {
|
|
6
|
+
"type": "integer",
|
|
7
|
+
"minimum": 1,
|
|
8
|
+
"maximum": 9007199254740991,
|
|
9
|
+
"description": "The current revision of the record, which is not the `expected_revision` that was sent."
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"revision"
|
|
14
|
+
],
|
|
15
|
+
"additionalProperties": false
|
|
16
|
+
}
|