@kanda-libs/ks-schema 1.0.816 → 1.0.818
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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/operations/cancelCompany.d.ts +320 -0
- package/dist/operations/cancelCompany.d.ts.map +1 -0
- package/dist/operations/cancelCompany.js +44 -0
- package/dist/operations/index.d.ts +4 -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 +14910 -14910
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +35084 -35084
- package/package.json +1 -1
- package/schema.yaml +30 -1
package/package.json
CHANGED
package/schema.yaml
CHANGED
|
@@ -2878,7 +2878,7 @@ paths:
|
|
|
2878
2878
|
minLength: 1
|
|
2879
2879
|
responses:
|
|
2880
2880
|
200:
|
|
2881
|
-
description: got
|
|
2881
|
+
description: got suspended company
|
|
2882
2882
|
content:
|
|
2883
2883
|
application/json:
|
|
2884
2884
|
schema:
|
|
@@ -2919,6 +2919,35 @@ paths:
|
|
|
2919
2919
|
schema:
|
|
2920
2920
|
$ref: "#/components/schemas/Error"
|
|
2921
2921
|
|
|
2922
|
+
/api/company/{id}/cancel:
|
|
2923
|
+
post:
|
|
2924
|
+
operationId: cancelCompany
|
|
2925
|
+
summary: >
|
|
2926
|
+
kanda staff to cancel the company and reset their fca_number and billing
|
|
2927
|
+
tags:
|
|
2928
|
+
- Company
|
|
2929
|
+
parameters:
|
|
2930
|
+
- name: id
|
|
2931
|
+
in: path
|
|
2932
|
+
description: company id
|
|
2933
|
+
required: true
|
|
2934
|
+
schema:
|
|
2935
|
+
type: string
|
|
2936
|
+
minLength: 1
|
|
2937
|
+
responses:
|
|
2938
|
+
200:
|
|
2939
|
+
description: got cancelled company
|
|
2940
|
+
content:
|
|
2941
|
+
application/json:
|
|
2942
|
+
schema:
|
|
2943
|
+
$ref: "#/components/schemas/Company"
|
|
2944
|
+
default:
|
|
2945
|
+
description: unexpected error
|
|
2946
|
+
content:
|
|
2947
|
+
application/json:
|
|
2948
|
+
schema:
|
|
2949
|
+
$ref: "#/components/schemas/Error"
|
|
2950
|
+
|
|
2922
2951
|
/api/company/{id}/approve:
|
|
2923
2952
|
post:
|
|
2924
2953
|
operationId: approveCompany
|