@tillhub/schemas 6.315.0 → 6.317.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.317.0](https://github.com/tillhub/schemas/compare/v6.316.0...v6.317.0) (2024-06-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * **schemas:** add mms branches update ([5e269e8](https://github.com/tillhub/schemas/commit/5e269e8))
7
+ * **schemas:** add mms branches update ([eab36a6](https://github.com/tillhub/schemas/commit/eab36a6))
8
+
9
+ # [6.316.0](https://github.com/tillhub/schemas/compare/v6.315.0...v6.316.0) (2024-06-07)
10
+
11
+
12
+ ### Features
13
+
14
+ * **promotion:** defining promotion v1 ([#962](https://github.com/tillhub/schemas/issues/962)) ([c8ed835](https://github.com/tillhub/schemas/commit/c8ed835))
15
+
1
16
  # [6.315.0](https://github.com/tillhub/schemas/compare/v6.314.0...v6.315.0) (2024-06-07)
2
17
 
3
18
 
@@ -1,6 +1,16 @@
1
1
  const baseObject = require('../../common/base')
2
2
  const commonResponse = require('../../common/response')
3
3
  const base = require('./base')
4
+ const baseMms = require('./base-mms')
5
+
6
+ module.exports.mms = {
7
+ $id: 'https://schemas.tillhub.com/v0/branches.update.mms.schema.json',
8
+ $schema: 'http://json-schema.org/draft-07/schema#',
9
+ additionalProperties: false,
10
+ required: [],
11
+ properties: baseMms,
12
+ type: 'object'
13
+ }
4
14
 
5
15
  module.exports.request = {
6
16
  $id: 'https://schemas.tillhub.com/v0/branches.update.request.schema.json',
package/lib/v1/index.js CHANGED
@@ -11,5 +11,6 @@ module.exports.registers = require('./registers')
11
11
  module.exports.templates = require('./templates')
12
12
  module.exports.transactions = require('./transactions')
13
13
  module.exports.statuses = require('./statuses')
14
+ module.exports.promotions = require('./promotions')
14
15
 
15
16
  // hygen:injection - Please, don't delete this line: when running the cli for schema resources the new routes will be automatically added here.
@@ -7,7 +7,8 @@ module.exports.request = {
7
7
  additionalProperties: false,
8
8
  type: 'object',
9
9
  required: [
10
- 'payload',
10
+ 'name',
11
+ 'template',
11
12
  'type'
12
13
  ],
13
14
  properties: base
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.315.0",
3
+ "version": "6.317.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",