@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanda-libs/ks-schema",
3
- "version": "1.0.816",
3
+ "version": "1.0.818",
4
4
  "description": "Kanda Service OpenAPI Schema",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/schema.yaml CHANGED
@@ -2878,7 +2878,7 @@ paths:
2878
2878
  minLength: 1
2879
2879
  responses:
2880
2880
  200:
2881
- description: got suspendd company
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