@tillhub/schemas 6.404.0 → 6.406.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 CHANGED
@@ -1,3 +1,18 @@
1
+ # [6.406.0](https://github.com/tillhub/schemas/compare/v6.405.0...v6.406.0) (2025-10-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * **transactions:** legacy ([385403c](https://github.com/tillhub/schemas/commit/385403c))
7
+ * **transactions:** legacy ([209ed04](https://github.com/tillhub/schemas/commit/209ed04))
8
+
9
+ # [6.405.0](https://github.com/tillhub/schemas/compare/v6.404.0...v6.405.0) (2025-10-14)
10
+
11
+
12
+ ### Features
13
+
14
+ * **UNTIL-15268:** add questionnaire query schema and update exports ([#1087](https://github.com/tillhub/schemas/issues/1087)) ([c08f684](https://github.com/tillhub/schemas/commit/c08f684))
15
+
1
16
  # [6.404.0](https://github.com/tillhub/schemas/compare/v6.403.0...v6.404.0) (2025-10-10)
2
17
 
3
18
 
@@ -42,3 +42,7 @@ module.exports.ext = {
42
42
  create: require('./components/transactions_ext/create'),
43
43
  update: require('./components/transactions_ext/update')
44
44
  }
45
+
46
+ module.exports.query = {
47
+ questionnaire: require('./query/questionnaire')
48
+ }
@@ -203,6 +203,11 @@ module.exports = {
203
203
  })
204
204
  }
205
205
  },
206
+ reservation_id: oneOf({
207
+ type: 'string',
208
+ format: 'uuid',
209
+ description: 'The identifier of the respective reservation object'
210
+ }),
206
211
  device: oneOf({
207
212
  ...deviceInfo
208
213
  }),
@@ -0,0 +1,39 @@
1
+ module.exports = {
2
+ $id: 'https://schemas.tillhub.com/v1/transactions.query.questionnaire.schema.json',
3
+ $schema: 'http://json-schema.org/draft-07/schema#',
4
+ additionalProperties: false,
5
+ type: 'object',
6
+ required: [
7
+ ],
8
+ properties: {
9
+ format: {
10
+ type: 'string',
11
+ enum: ['csv', 'json'],
12
+ description: 'Output format. Defaults to csv.'
13
+ },
14
+ date_start: {
15
+ type: 'string',
16
+ format: 'date-time',
17
+ description: 'Include transactions from this date/time (inclusive). ISO 8601.'
18
+ },
19
+ date_end: {
20
+ type: 'string',
21
+ format: 'date-time',
22
+ description: 'Include transactions before this date/time (exclusive). ISO 8601.'
23
+ },
24
+ filename_prefix: {
25
+ type: 'string',
26
+ minLength: 1,
27
+ description: 'Filename prefix for CSV export.'
28
+ },
29
+ export_map: {
30
+ type: 'object',
31
+ description: 'Optional export field mapping for CSV.',
32
+ properties: {
33
+ fields: {
34
+ type: 'object'
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.404.0",
3
+ "version": "6.406.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",