@kanda-libs/ks-schema 1.0.98 → 1.0.99

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanda-libs/ks-schema",
3
- "version": "1.0.98",
3
+ "version": "1.0.99",
4
4
  "description": "Kanda Service OpenAPI Schema",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.yaml CHANGED
@@ -406,6 +406,34 @@ paths:
406
406
  schema:
407
407
  $ref: "#/components/schemas/Error"
408
408
 
409
+ /api/company/{id}/director:
410
+ post:
411
+ operationId: directorCompany
412
+ summary: send verification email to all non-verified directors for the company
413
+ tags:
414
+ - Company
415
+ parameters:
416
+ - name: id
417
+ in: path
418
+ description: company id
419
+ required: true
420
+ schema:
421
+ type: string
422
+ minLength: 1
423
+ responses:
424
+ 200:
425
+ description: got approved and verified company
426
+ content:
427
+ application/json:
428
+ schema:
429
+ $ref: "#/components/schemas/Company"
430
+ default:
431
+ description: unexpected error
432
+ content:
433
+ application/json:
434
+ schema:
435
+ $ref: "#/components/schemas/Error"
436
+
409
437
  /api/company/{id}/approve:
410
438
  post:
411
439
  operationId: approveCompany