@tillhub/schemas 6.236.1 → 6.237.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,10 @@
|
|
|
1
|
+
# [6.237.0](https://github.com/tillhub/schemas/compare/v6.236.1...v6.237.0) (2023-07-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **reports:** get top products endpoint's filters schema ([f99ca34](https://github.com/tillhub/schemas/commit/f99ca34))
|
|
7
|
+
|
|
1
8
|
## [6.236.1](https://github.com/tillhub/schemas/compare/v6.236.0...v6.236.1) (2023-07-25)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
module.exports.request = {
|
|
2
|
+
$id: 'https://schemas.tillhub.com/v0/analytics.reports.products.top.request.schema.json',
|
|
3
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4
|
+
type: 'object',
|
|
5
|
+
additionalProperties: false,
|
|
6
|
+
required: [],
|
|
7
|
+
properties: {
|
|
8
|
+
start: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
format: 'date-time',
|
|
11
|
+
example: '2018-01-29T14:55:05.000Z',
|
|
12
|
+
description: 'Start date for top products report'
|
|
13
|
+
},
|
|
14
|
+
end: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
format: 'date-time',
|
|
17
|
+
example: '2018-01-29T14:55:05.000Z',
|
|
18
|
+
description: 'End date for top products report'
|
|
19
|
+
},
|
|
20
|
+
branch_number: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
pattern: '^[0-9]+$',
|
|
23
|
+
example: '239',
|
|
24
|
+
description: 'Branch number'
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|