@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/dist/operations/directorCompany.d.ts +191 -0
- package/dist/operations/directorCompany.d.ts.map +1 -0
- package/dist/operations/directorCompany.js +44 -0
- package/dist/operations/index.d.ts +185 -0
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +4 -0
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +2014 -2014
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +4250 -4250
- package/package.json +1 -1
- package/schema.yaml +28 -0
package/package.json
CHANGED
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
|