POST /blz/v1/speechkit/audioPayload:
id: 'number',
external_id: 'string',
state: 'string', // 'processed' or 'unprocessed'
deleted: 'boolean',POST /blz/v1/speechkit/audioPayload:
id: 'number',
external_id: 'string',
state: 'string', // 'processed' or 'unprocessed'
deleted: 'boolean',| module.exports = { | |
| type: 'labelValuePair', | |
| items: [ | |
| 'Aktuell', | |
| 'Bauen', | |
| 'Bildung', | |
| 'Gesund', | |
| 'Kalender', | |
| 'Leben', | |
| 'Mobil', |
| # Default application configuration that all configurations inherit from. | |
| scss_files: "**/*.scss" | |
| linters: | |
| BangFormat: | |
| enabled: true | |
| space_before_bang: true | |
| space_after_bang: false |
| # Credit: Eike Send for the awesome swipe event | |
| # --------------------------------------------- | |
| # | |
| # https://github.com/peachananr/onepage-scroll | |
| $.fn.swipeEvents = -> | |
| return this.each -> | |
| startX = startY = undefined | |
| $this = $(this) | |
| $this.bind('touchstart', touchstart) |
| #= require _swipe_event | |
| settings = | |
| sectionContainer: "section", | |
| easing: "ease", | |
| animationTime: 1000, | |
| pagination: true, | |
| updateURL: false, | |
| keyboard: true, | |
| beforeMove: null, |
| module.exports = class Router | |
| constructor: -> | |
| @routes = [] | |
| get: (path) -> @findRoute('get', path) | |
| post: (path, data) -> @findRoute('post', path, data) | |
| put: (path, data) -> @findRoute('put', path, data) | |
| patch: (path, data) -> @findRoute('patch', path, data) |
| # validating samples: | |
| # 783268674 | |
| # 0783268674 | |
| # 0410783268674 | |
| # 00410783268674 | |
| # +410783268674 | |
| # 041783268674 | |
| # 0041783268674 | |
| # +41783268674 | |
| # ++41783268674 |
| dropAndRecreateTable = (name, setupMethod) -> | |
| knex.schema.dropTableIfExists(name).then -> | |
| knex.schema.createTable(name, setupMethod) | |
| createDocumentPublicationsTable = (done) -> | |
| command = dropAndRecreateTable 'document_publications', (t) -> | |
| t.increments('id').primary() | |
| t.integer('document_id').notNullable() | |
| t.integer('revision_id').notNullable() |
| t.unique [ | |
| 'document_id' | |
| 'publication_number' | |
| ], 'index_document_publications_on_document_id_and_publication_nr' |