Jobs Worker Service API http://192.168.1.61:20102/api-docs
Find a file
Methapon Metanipat 12bf2182dc
feat: line (#13)
* add wedhook line

* text message

* add router get employee, request, quotation

* move code

* do not crash application when not set line token

This feature is opt-in

* dot not crash when not set line client id

Main auth method is keycloak

* change dotenv

* fix: wrong env

* refactor: change to get instead of post

* refactor: remove body for employee get endpoint

* feat: add work relation include

* feat: include customer relation in employee

* feat: add line file controller

* add detail flex message and get date requestWork

* chore: update deps lock

* fix: error line token

* fix: redirect head instead if response with body

* feat: add response relation

* fix: route casing

* add userId in customerBranch verifyOTP

* delete consile log

* add is registered endpoint placeholder

* feat: quotation list

* fix: wrong endpoint name

* feat: include relation in get by id request data

* add where userId line

* refactor: adjust parameter for liff app

* delete code

* refactor: remove post quotation endpoint

* refactor: add where userId line for quotation

* feat: add pending only parameter

* refactor: more condition for inProgressOnly

* refactor: update condition

* feat: add line quotation attachment endpoint

* feat: include product in request work line endpoint

* refactor: pending only now cover more condition

* feat: include invoice with payment relation

* chore: update api docs tag

* chore: clean

* feat: check for registered user

* fix: wrong file location

* feat: add email client for sending an otp

* chore: move some deps to dev deps

* add otpCode otpExpires

* add send-otp and verify-otp

---------

Co-authored-by: Kanjana <kanjana@chamomind.com>
Co-authored-by: chamomind <chamomind@localhost>
Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
2025-02-20 16:07:16 +07:00
.github/workflows Update release.yml 2025-01-10 16:52:32 +07:00
assets feat: insert province district sub-district into db 2024-08-29 17:10:44 +07:00
prisma feat: line (#13) 2025-02-20 16:07:16 +07:00
src feat: line (#13) 2025-02-20 16:07:16 +07:00
static initial commit 2024-04-01 13:28:43 +07:00
.dockerignore initial commit 2024-04-01 13:28:43 +07:00
.env.example chore: update env example 2024-07-01 08:49:48 +07:00
.gitignore feat: add git ignore 2024-06-26 11:53:02 +07:00
.npmrc chore: add package manager strict setting 2024-11-18 10:24:39 +07:00
.prettierignore initial commit 2024-04-01 13:28:43 +07:00
.prettierrc initial commit 2024-04-01 13:28:43 +07:00
CHANGELOG.md Update CHANGELOG.md 2024-11-18 10:15:36 +07:00
cliff.toml chore: change git-cliff commit limit 2024-10-30 13:20:46 +07:00
compose.yaml fix: delete branch from user wrong body 2024-04-04 15:50:30 +07:00
Dockerfile chore: update to node 23 2025-02-03 16:07:02 +07:00
entrypoint.sh feat: runtime migration 2024-04-03 09:28:40 +07:00
nodemon.json chore: make nodemon watch .env file 2024-08-27 16:56:20 +07:00
package-lock.json feat: line (#13) 2025-02-20 16:07:16 +07:00
package.json feat: line (#13) 2025-02-20 16:07:16 +07:00
pnpm-lock.yaml feat: line (#13) 2025-02-20 16:07:16 +07:00
README.md initial commit 2024-04-01 13:28:43 +07:00
tsconfig.json chore: update tsconfig to not truncate error 2024-10-16 15:54:51 +07:00
tsoa.json feat: credit note (#8) 2024-12-20 14:22:55 +07:00

JWS Back-End

npm run migrate:dev - generate migration and push to database npm run migrate:deploy - push migrations to database