@kanda-libs/ks-schema 1.0.108 → 1.0.109
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/InfoGhost.d.ts +13 -0
- package/dist/components/schemas/InfoGhost.d.ts.map +1 -0
- package/dist/components/schemas/InfoGhost.js +36 -0
- package/dist/components/schemas/index.d.ts +1 -0
- package/dist/components/schemas/index.d.ts.map +1 -1
- package/dist/components/schemas/index.js +1 -0
- package/dist/operations/index.d.ts +36 -0
- package/dist/operations/index.d.ts.map +1 -1
- package/dist/operations/index.js +8 -1
- package/dist/operations/infoGhost.d.ts +37 -0
- package/dist/operations/infoGhost.d.ts.map +1 -0
- package/dist/operations/infoGhost.js +43 -0
- package/dist/schema.json +1 -1
- package/dist/widget/index.d.ts +2508 -2496
- package/dist/widget/index.d.ts.map +1 -1
- package/dist/widget/index.js +5069 -5044
- package/package.json +1 -1
- package/schema.yaml +43 -0
package/package.json
CHANGED
package/schema.yaml
CHANGED
|
@@ -102,6 +102,33 @@ paths:
|
|
|
102
102
|
schema:
|
|
103
103
|
$ref: "#/components/schemas/Error"
|
|
104
104
|
|
|
105
|
+
/api/info/ghost:
|
|
106
|
+
put:
|
|
107
|
+
operationId: infoGhost
|
|
108
|
+
summary: info ghost mode to return custom token, only available to Kanda staff
|
|
109
|
+
tags:
|
|
110
|
+
- InfoGhost
|
|
111
|
+
requestBody:
|
|
112
|
+
description: info ghost mode to return custom token
|
|
113
|
+
required: true
|
|
114
|
+
content:
|
|
115
|
+
application/json:
|
|
116
|
+
schema:
|
|
117
|
+
$ref: "#/components/schemas/InfoGhost"
|
|
118
|
+
responses:
|
|
119
|
+
200:
|
|
120
|
+
description: put me info
|
|
121
|
+
content:
|
|
122
|
+
application/json:
|
|
123
|
+
schema:
|
|
124
|
+
$ref: "#/components/schemas/InfoGhost"
|
|
125
|
+
default:
|
|
126
|
+
description: unexpected error
|
|
127
|
+
content:
|
|
128
|
+
application/json:
|
|
129
|
+
schema:
|
|
130
|
+
$ref: "#/components/schemas/Error"
|
|
131
|
+
|
|
105
132
|
/api/info/company:
|
|
106
133
|
get:
|
|
107
134
|
operationId: infoCompany
|
|
@@ -1898,6 +1925,22 @@ components:
|
|
|
1898
1925
|
title: photo URL
|
|
1899
1926
|
format: uri
|
|
1900
1927
|
|
|
1928
|
+
InfoGhost:
|
|
1929
|
+
type: object
|
|
1930
|
+
required:
|
|
1931
|
+
- email
|
|
1932
|
+
properties:
|
|
1933
|
+
email:
|
|
1934
|
+
type: string
|
|
1935
|
+
title: email for ghosted user
|
|
1936
|
+
format: email
|
|
1937
|
+
customer_role:
|
|
1938
|
+
type: string
|
|
1939
|
+
title: custom role set for ghosted user
|
|
1940
|
+
custom_token:
|
|
1941
|
+
type: string
|
|
1942
|
+
title: custom token
|
|
1943
|
+
|
|
1901
1944
|
InfoAuth:
|
|
1902
1945
|
type: object
|
|
1903
1946
|
required:
|