@kanda-libs/ks-schema 1.0.97 → 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/components/schemas/Company.d.ts +2 -2
- package/dist/components/schemas/Company.d.ts.map +1 -1
- package/dist/components/schemas/Company.js +2 -0
- package/dist/operations/approveCompany.d.ts +1 -1
- package/dist/operations/deleteCompany.d.ts +1 -1
- 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/getCompanies.d.ts +1 -1
- package/dist/operations/getCompany.d.ts +1 -1
- package/dist/operations/index.d.ts +191 -6
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +4 -0
- package/dist/operations/postCompany.d.ts +1 -1
- package/dist/operations/putCompany.d.ts +1 -1
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +2616 -2616
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +5460 -5458
- package/package.json +1 -1
- package/schema.yaml +30 -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
|
|
@@ -1975,6 +2003,8 @@ components:
|
|
|
1975
2003
|
title: company lifecycle state
|
|
1976
2004
|
enum:
|
|
1977
2005
|
- registered
|
|
2006
|
+
- subscribed
|
|
2007
|
+
- director_info_provided
|
|
1978
2008
|
- onboarded
|
|
1979
2009
|
- completed_setup
|
|
1980
2010
|
- verified
|