ce-storefront 0.8.2 → 0.9.1

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.
Files changed (189) hide show
  1. package/README.md +53 -0
  2. package/bin/mcp-server.js +1765 -177
  3. package/bin/mcp-server.js.map +43 -13
  4. package/docs/sdks/auth/README.md +10 -10
  5. package/docs/sdks/carts/README.md +10 -0
  6. package/docs/sdks/customers/README.md +20 -20
  7. package/docs/sdks/kyc/README.md +566 -0
  8. package/esm/funcs/authGetAnonymousToken.js +1 -1
  9. package/esm/funcs/authGetAnonymousToken.js.map +1 -1
  10. package/esm/funcs/kycCreateDocument.d.ts +17 -0
  11. package/esm/funcs/kycCreateDocument.d.ts.map +1 -0
  12. package/esm/funcs/kycCreateDocument.js +110 -0
  13. package/esm/funcs/kycCreateDocument.js.map +1 -0
  14. package/esm/funcs/kycDeleteDocument.d.ts +17 -0
  15. package/esm/funcs/kycDeleteDocument.d.ts.map +1 -0
  16. package/esm/funcs/kycDeleteDocument.js +89 -0
  17. package/esm/funcs/kycDeleteDocument.js.map +1 -0
  18. package/esm/funcs/kycGetDocument.d.ts +17 -0
  19. package/esm/funcs/kycGetDocument.d.ts.map +1 -0
  20. package/esm/funcs/kycGetDocument.js +89 -0
  21. package/esm/funcs/kycGetDocument.js.map +1 -0
  22. package/esm/funcs/kycListDocuments.d.ts +17 -0
  23. package/esm/funcs/kycListDocuments.d.ts.map +1 -0
  24. package/esm/funcs/kycListDocuments.js +85 -0
  25. package/esm/funcs/kycListDocuments.js.map +1 -0
  26. package/esm/funcs/kycListKycDocument.d.ts +17 -0
  27. package/esm/funcs/kycListKycDocument.d.ts.map +1 -0
  28. package/esm/funcs/kycListKycDocument.js +70 -0
  29. package/esm/funcs/kycListKycDocument.js.map +1 -0
  30. package/esm/funcs/kycUpdateDocument.d.ts +17 -0
  31. package/esm/funcs/kycUpdateDocument.d.ts.map +1 -0
  32. package/esm/funcs/kycUpdateDocument.js +115 -0
  33. package/esm/funcs/kycUpdateDocument.js.map +1 -0
  34. package/esm/funcs/kycVerifyDocument.d.ts +17 -0
  35. package/esm/funcs/kycVerifyDocument.d.ts.map +1 -0
  36. package/esm/funcs/kycVerifyDocument.js +86 -0
  37. package/esm/funcs/kycVerifyDocument.js.map +1 -0
  38. package/esm/lib/config.d.ts +4 -4
  39. package/esm/lib/config.js +4 -4
  40. package/esm/lib/config.js.map +1 -1
  41. package/esm/mcp-server/mcp-server.js +1 -1
  42. package/esm/mcp-server/prompts.d.ts.map +1 -1
  43. package/esm/mcp-server/prompts.js +5 -1
  44. package/esm/mcp-server/prompts.js.map +1 -1
  45. package/esm/mcp-server/resources.d.ts.map +1 -1
  46. package/esm/mcp-server/resources.js +10 -2
  47. package/esm/mcp-server/resources.js.map +1 -1
  48. package/esm/mcp-server/server.d.ts.map +1 -1
  49. package/esm/mcp-server/server.js +16 -3
  50. package/esm/mcp-server/server.js.map +1 -1
  51. package/esm/mcp-server/tools/kycCreateDocument.d.ts +8 -0
  52. package/esm/mcp-server/tools/kycCreateDocument.d.ts.map +1 -0
  53. package/esm/mcp-server/tools/kycCreateDocument.js +28 -0
  54. package/esm/mcp-server/tools/kycCreateDocument.js.map +1 -0
  55. package/esm/mcp-server/tools/kycDeleteDocument.d.ts +8 -0
  56. package/esm/mcp-server/tools/kycDeleteDocument.d.ts.map +1 -0
  57. package/esm/mcp-server/tools/kycDeleteDocument.js +28 -0
  58. package/esm/mcp-server/tools/kycDeleteDocument.js.map +1 -0
  59. package/esm/mcp-server/tools/kycGetDocument.d.ts +8 -0
  60. package/esm/mcp-server/tools/kycGetDocument.d.ts.map +1 -0
  61. package/esm/mcp-server/tools/kycGetDocument.js +28 -0
  62. package/esm/mcp-server/tools/kycGetDocument.js.map +1 -0
  63. package/esm/mcp-server/tools/kycListDocuments.d.ts +8 -0
  64. package/esm/mcp-server/tools/kycListDocuments.d.ts.map +1 -0
  65. package/esm/mcp-server/tools/kycListDocuments.js +28 -0
  66. package/esm/mcp-server/tools/kycListDocuments.js.map +1 -0
  67. package/esm/mcp-server/tools/kycListKycDocument.d.ts +3 -0
  68. package/esm/mcp-server/tools/kycListKycDocument.d.ts.map +1 -0
  69. package/esm/mcp-server/tools/kycListKycDocument.js +23 -0
  70. package/esm/mcp-server/tools/kycListKycDocument.js.map +1 -0
  71. package/esm/mcp-server/tools/kycUpdateDocument.d.ts +8 -0
  72. package/esm/mcp-server/tools/kycUpdateDocument.d.ts.map +1 -0
  73. package/esm/mcp-server/tools/kycUpdateDocument.js +28 -0
  74. package/esm/mcp-server/tools/kycUpdateDocument.js.map +1 -0
  75. package/esm/mcp-server/tools/kycVerifyDocument.d.ts +8 -0
  76. package/esm/mcp-server/tools/kycVerifyDocument.d.ts.map +1 -0
  77. package/esm/mcp-server/tools/kycVerifyDocument.js +28 -0
  78. package/esm/mcp-server/tools/kycVerifyDocument.js.map +1 -0
  79. package/esm/mcp-server/tools.d.ts.map +1 -1
  80. package/esm/mcp-server/tools.js +4 -3
  81. package/esm/mcp-server/tools.js.map +1 -1
  82. package/esm/models/components/document.d.ts +164 -0
  83. package/esm/models/components/document.d.ts.map +1 -0
  84. package/esm/models/components/document.js +172 -0
  85. package/esm/models/components/document.js.map +1 -0
  86. package/esm/models/components/documentinput.d.ts +65 -0
  87. package/esm/models/components/documentinput.d.ts.map +1 -0
  88. package/esm/models/components/documentinput.js +87 -0
  89. package/esm/models/components/documentinput.js.map +1 -0
  90. package/esm/models/components/gstindetail.d.ts +29 -0
  91. package/esm/models/components/gstindetail.d.ts.map +1 -0
  92. package/esm/models/components/gstindetail.js +31 -0
  93. package/esm/models/components/gstindetail.js.map +1 -0
  94. package/esm/models/components/index.d.ts +6 -0
  95. package/esm/models/components/index.d.ts.map +1 -1
  96. package/esm/models/components/index.js +6 -0
  97. package/esm/models/components/index.js.map +1 -1
  98. package/esm/models/components/kycdocument.d.ts +103 -0
  99. package/esm/models/components/kycdocument.d.ts.map +1 -0
  100. package/esm/models/components/kycdocument.js +101 -0
  101. package/esm/models/components/kycdocument.js.map +1 -0
  102. package/esm/models/components/pandetail.d.ts +29 -0
  103. package/esm/models/components/pandetail.d.ts.map +1 -0
  104. package/esm/models/components/pandetail.js +31 -0
  105. package/esm/models/components/pandetail.js.map +1 -0
  106. package/esm/models/components/updatedocument.d.ts +67 -0
  107. package/esm/models/components/updatedocument.d.ts.map +1 -0
  108. package/esm/models/components/updatedocument.js +91 -0
  109. package/esm/models/components/updatedocument.js.map +1 -0
  110. package/esm/models/operations/createdocument.d.ts +92 -0
  111. package/esm/models/operations/createdocument.d.ts.map +1 -0
  112. package/esm/models/operations/createdocument.js +97 -0
  113. package/esm/models/operations/createdocument.js.map +1 -0
  114. package/esm/models/operations/deletedocument.d.ts +67 -0
  115. package/esm/models/operations/deletedocument.d.ts.map +1 -0
  116. package/esm/models/operations/deletedocument.js +69 -0
  117. package/esm/models/operations/deletedocument.js.map +1 -0
  118. package/esm/models/operations/getdocument.d.ts +95 -0
  119. package/esm/models/operations/getdocument.d.ts.map +1 -0
  120. package/esm/models/operations/getdocument.js +97 -0
  121. package/esm/models/operations/getdocument.js.map +1 -0
  122. package/esm/models/operations/index.d.ts +7 -0
  123. package/esm/models/operations/index.d.ts.map +1 -1
  124. package/esm/models/operations/index.js +7 -0
  125. package/esm/models/operations/index.js.map +1 -1
  126. package/esm/models/operations/listdocuments.d.ts +90 -0
  127. package/esm/models/operations/listdocuments.d.ts.map +1 -0
  128. package/esm/models/operations/listdocuments.js +86 -0
  129. package/esm/models/operations/listdocuments.js.map +1 -0
  130. package/esm/models/operations/listkycdocument.d.ts +64 -0
  131. package/esm/models/operations/listkycdocument.d.ts.map +1 -0
  132. package/esm/models/operations/listkycdocument.js +74 -0
  133. package/esm/models/operations/listkycdocument.js.map +1 -0
  134. package/esm/models/operations/updatedocument.d.ts +97 -0
  135. package/esm/models/operations/updatedocument.d.ts.map +1 -0
  136. package/esm/models/operations/updatedocument.js +101 -0
  137. package/esm/models/operations/updatedocument.js.map +1 -0
  138. package/esm/models/operations/verifydocument.d.ts +140 -0
  139. package/esm/models/operations/verifydocument.d.ts.map +1 -0
  140. package/esm/models/operations/verifydocument.js +168 -0
  141. package/esm/models/operations/verifydocument.js.map +1 -0
  142. package/esm/sdk/kyc.d.ts +54 -0
  143. package/esm/sdk/kyc.d.ts.map +1 -0
  144. package/esm/sdk/kyc.js +78 -0
  145. package/esm/sdk/kyc.js.map +1 -0
  146. package/esm/sdk/sdk.d.ts +3 -0
  147. package/esm/sdk/sdk.d.ts.map +1 -1
  148. package/esm/sdk/sdk.js +4 -0
  149. package/esm/sdk/sdk.js.map +1 -1
  150. package/jsr.json +1 -1
  151. package/package.json +1 -1
  152. package/src/funcs/authGetAnonymousToken.ts +1 -1
  153. package/src/funcs/kycCreateDocument.ts +207 -0
  154. package/src/funcs/kycDeleteDocument.ts +183 -0
  155. package/src/funcs/kycGetDocument.ts +183 -0
  156. package/src/funcs/kycListDocuments.ts +177 -0
  157. package/src/funcs/kycListKycDocument.ts +153 -0
  158. package/src/funcs/kycUpdateDocument.ts +214 -0
  159. package/src/funcs/kycVerifyDocument.ts +170 -0
  160. package/src/lib/config.ts +4 -4
  161. package/src/mcp-server/mcp-server.ts +1 -1
  162. package/src/mcp-server/prompts.ts +8 -1
  163. package/src/mcp-server/resources.ts +16 -2
  164. package/src/mcp-server/server.ts +17 -3
  165. package/src/mcp-server/tools/kycCreateDocument.ts +37 -0
  166. package/src/mcp-server/tools/kycDeleteDocument.ts +37 -0
  167. package/src/mcp-server/tools/kycGetDocument.ts +37 -0
  168. package/src/mcp-server/tools/kycListDocuments.ts +37 -0
  169. package/src/mcp-server/tools/kycListKycDocument.ts +30 -0
  170. package/src/mcp-server/tools/kycUpdateDocument.ts +37 -0
  171. package/src/mcp-server/tools/kycVerifyDocument.ts +37 -0
  172. package/src/mcp-server/tools.ts +6 -3
  173. package/src/models/components/document.ts +260 -0
  174. package/src/models/components/documentinput.ts +154 -0
  175. package/src/models/components/gstindetail.ts +62 -0
  176. package/src/models/components/index.ts +6 -0
  177. package/src/models/components/kycdocument.ts +161 -0
  178. package/src/models/components/pandetail.ts +62 -0
  179. package/src/models/components/updatedocument.ts +168 -0
  180. package/src/models/operations/createdocument.ts +210 -0
  181. package/src/models/operations/deletedocument.ts +150 -0
  182. package/src/models/operations/getdocument.ts +213 -0
  183. package/src/models/operations/index.ts +7 -0
  184. package/src/models/operations/listdocuments.ts +197 -0
  185. package/src/models/operations/listkycdocument.ts +153 -0
  186. package/src/models/operations/updatedocument.ts +219 -0
  187. package/src/models/operations/verifydocument.ts +346 -0
  188. package/src/sdk/kyc.ts +133 -0
  189. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,566 @@
1
+ # Kyc
2
+ (*kyc*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [listKycDocument](#listkycdocument) - List all kyc documents
9
+ * [listDocuments](#listdocuments) - List all documents
10
+ * [createDocument](#createdocument) - Create document
11
+ * [getDocument](#getdocument) - Retrieve document detail
12
+ * [updateDocument](#updatedocument) - Update document detail
13
+ * [deleteDocument](#deletedocument) - Delete document
14
+ * [verifyDocument](#verifydocument) - Verify document
15
+
16
+ ## listKycDocument
17
+
18
+ List all kyc documents added for a particular store.
19
+
20
+ ### Example Usage
21
+
22
+ ```typescript
23
+ import { CeStorefront } from "ce-storefront";
24
+
25
+ const ceStorefront = new CeStorefront({
26
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
27
+ });
28
+
29
+ async function run() {
30
+ const result = await ceStorefront.kyc.listKycDocument();
31
+
32
+ // Handle the result
33
+ console.log(result);
34
+ }
35
+
36
+ run();
37
+ ```
38
+
39
+ ### Standalone function
40
+
41
+ The standalone function version of this method:
42
+
43
+ ```typescript
44
+ import { CeStorefrontCore } from "ce-storefront/core.js";
45
+ import { kycListKycDocument } from "ce-storefront/funcs/kycListKycDocument.js";
46
+
47
+ // Use `CeStorefrontCore` for best tree-shaking performance.
48
+ // You can create one instance of it to use across an application.
49
+ const ceStorefront = new CeStorefrontCore({
50
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
51
+ });
52
+
53
+ async function run() {
54
+ const res = await kycListKycDocument(ceStorefront);
55
+
56
+ if (!res.ok) {
57
+ throw res.error;
58
+ }
59
+
60
+ const { value: result } = res;
61
+
62
+ // Handle the result
63
+ console.log(result);
64
+ }
65
+
66
+ run();
67
+ ```
68
+
69
+ ### Parameters
70
+
71
+ | Parameter | Type | Required | Description |
72
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
73
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
74
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
75
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
76
+
77
+ ### Response
78
+
79
+ **Promise\<[operations.ListKycDocumentResponseBody](../../models/operations/listkycdocumentresponsebody.md)\>**
80
+
81
+ ### Errors
82
+
83
+ | Error Type | Status Code | Content Type |
84
+ | ------------------- | ------------------- | ------------------- |
85
+ | errors.BadRequest | 400 | application/json |
86
+ | errors.Unauthorized | 401 | application/json |
87
+ | errors.NotFound | 404 | application/json |
88
+ | errors.CeError | 4XX, 5XX | \*/\* |
89
+
90
+ ## listDocuments
91
+
92
+ List all documents added by a particular customer.
93
+
94
+ ### Example Usage
95
+
96
+ ```typescript
97
+ import { CeStorefront } from "ce-storefront";
98
+
99
+ const ceStorefront = new CeStorefront({
100
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
101
+ });
102
+
103
+ async function run() {
104
+ const result = await ceStorefront.kyc.listDocuments({
105
+ id: "<id>",
106
+ });
107
+
108
+ // Handle the result
109
+ console.log(result);
110
+ }
111
+
112
+ run();
113
+ ```
114
+
115
+ ### Standalone function
116
+
117
+ The standalone function version of this method:
118
+
119
+ ```typescript
120
+ import { CeStorefrontCore } from "ce-storefront/core.js";
121
+ import { kycListDocuments } from "ce-storefront/funcs/kycListDocuments.js";
122
+
123
+ // Use `CeStorefrontCore` for best tree-shaking performance.
124
+ // You can create one instance of it to use across an application.
125
+ const ceStorefront = new CeStorefrontCore({
126
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
127
+ });
128
+
129
+ async function run() {
130
+ const res = await kycListDocuments(ceStorefront, {
131
+ id: "<id>",
132
+ });
133
+
134
+ if (!res.ok) {
135
+ throw res.error;
136
+ }
137
+
138
+ const { value: result } = res;
139
+
140
+ // Handle the result
141
+ console.log(result);
142
+ }
143
+
144
+ run();
145
+ ```
146
+
147
+ ### Parameters
148
+
149
+ | Parameter | Type | Required | Description |
150
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
151
+ | `request` | [operations.ListDocumentsRequest](../../models/operations/listdocumentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
152
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
153
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
154
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
155
+
156
+ ### Response
157
+
158
+ **Promise\<[operations.ListDocumentsResponseBody](../../models/operations/listdocumentsresponsebody.md)\>**
159
+
160
+ ### Errors
161
+
162
+ | Error Type | Status Code | Content Type |
163
+ | ------------------- | ------------------- | ------------------- |
164
+ | errors.BadRequest | 400 | application/json |
165
+ | errors.Unauthorized | 401 | application/json |
166
+ | errors.NotFound | 404 | application/json |
167
+ | errors.CeError | 4XX, 5XX | \*/\* |
168
+
169
+ ## createDocument
170
+
171
+ Create document
172
+
173
+ ### Example Usage
174
+
175
+ ```typescript
176
+ import { CeStorefront } from "ce-storefront";
177
+
178
+ const ceStorefront = new CeStorefront({
179
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
180
+ });
181
+
182
+ async function run() {
183
+ const result = await ceStorefront.kyc.createDocument({
184
+ id: "<id>",
185
+ });
186
+
187
+ // Handle the result
188
+ console.log(result);
189
+ }
190
+
191
+ run();
192
+ ```
193
+
194
+ ### Standalone function
195
+
196
+ The standalone function version of this method:
197
+
198
+ ```typescript
199
+ import { CeStorefrontCore } from "ce-storefront/core.js";
200
+ import { kycCreateDocument } from "ce-storefront/funcs/kycCreateDocument.js";
201
+
202
+ // Use `CeStorefrontCore` for best tree-shaking performance.
203
+ // You can create one instance of it to use across an application.
204
+ const ceStorefront = new CeStorefrontCore({
205
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
206
+ });
207
+
208
+ async function run() {
209
+ const res = await kycCreateDocument(ceStorefront, {
210
+ id: "<id>",
211
+ });
212
+
213
+ if (!res.ok) {
214
+ throw res.error;
215
+ }
216
+
217
+ const { value: result } = res;
218
+
219
+ // Handle the result
220
+ console.log(result);
221
+ }
222
+
223
+ run();
224
+ ```
225
+
226
+ ### Parameters
227
+
228
+ | Parameter | Type | Required | Description |
229
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
230
+ | `request` | [operations.CreateDocumentRequest](../../models/operations/createdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
231
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
232
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
233
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
234
+
235
+ ### Response
236
+
237
+ **Promise\<[operations.CreateDocumentResponseBody](../../models/operations/createdocumentresponsebody.md)\>**
238
+
239
+ ### Errors
240
+
241
+ | Error Type | Status Code | Content Type |
242
+ | ------------------- | ------------------- | ------------------- |
243
+ | errors.BadRequest | 400 | application/json |
244
+ | errors.Unauthorized | 401 | application/json |
245
+ | errors.NotFound | 404 | application/json |
246
+ | errors.CeError | 4XX, 5XX | \*/\* |
247
+
248
+ ## getDocument
249
+
250
+ Retrieve document detail
251
+
252
+ ### Example Usage
253
+
254
+ ```typescript
255
+ import { CeStorefront } from "ce-storefront";
256
+
257
+ const ceStorefront = new CeStorefront({
258
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
259
+ });
260
+
261
+ async function run() {
262
+ const result = await ceStorefront.kyc.getDocument({
263
+ id: "<id>",
264
+ documentId: "<id>",
265
+ });
266
+
267
+ // Handle the result
268
+ console.log(result);
269
+ }
270
+
271
+ run();
272
+ ```
273
+
274
+ ### Standalone function
275
+
276
+ The standalone function version of this method:
277
+
278
+ ```typescript
279
+ import { CeStorefrontCore } from "ce-storefront/core.js";
280
+ import { kycGetDocument } from "ce-storefront/funcs/kycGetDocument.js";
281
+
282
+ // Use `CeStorefrontCore` for best tree-shaking performance.
283
+ // You can create one instance of it to use across an application.
284
+ const ceStorefront = new CeStorefrontCore({
285
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
286
+ });
287
+
288
+ async function run() {
289
+ const res = await kycGetDocument(ceStorefront, {
290
+ id: "<id>",
291
+ documentId: "<id>",
292
+ });
293
+
294
+ if (!res.ok) {
295
+ throw res.error;
296
+ }
297
+
298
+ const { value: result } = res;
299
+
300
+ // Handle the result
301
+ console.log(result);
302
+ }
303
+
304
+ run();
305
+ ```
306
+
307
+ ### Parameters
308
+
309
+ | Parameter | Type | Required | Description |
310
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
311
+ | `request` | [operations.GetDocumentRequest](../../models/operations/getdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
312
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
313
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
314
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
315
+
316
+ ### Response
317
+
318
+ **Promise\<[operations.GetDocumentResponseBody](../../models/operations/getdocumentresponsebody.md)\>**
319
+
320
+ ### Errors
321
+
322
+ | Error Type | Status Code | Content Type |
323
+ | ------------------- | ------------------- | ------------------- |
324
+ | errors.BadRequest | 400 | application/json |
325
+ | errors.Unauthorized | 401 | application/json |
326
+ | errors.NotFound | 404 | application/json |
327
+ | errors.CeError | 4XX, 5XX | \*/\* |
328
+
329
+ ## updateDocument
330
+
331
+ Update document detail
332
+
333
+ ### Example Usage
334
+
335
+ ```typescript
336
+ import { CeStorefront } from "ce-storefront";
337
+
338
+ const ceStorefront = new CeStorefront({
339
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
340
+ });
341
+
342
+ async function run() {
343
+ const result = await ceStorefront.kyc.updateDocument({
344
+ id: "<id>",
345
+ documentId: "<id>",
346
+ });
347
+
348
+ // Handle the result
349
+ console.log(result);
350
+ }
351
+
352
+ run();
353
+ ```
354
+
355
+ ### Standalone function
356
+
357
+ The standalone function version of this method:
358
+
359
+ ```typescript
360
+ import { CeStorefrontCore } from "ce-storefront/core.js";
361
+ import { kycUpdateDocument } from "ce-storefront/funcs/kycUpdateDocument.js";
362
+
363
+ // Use `CeStorefrontCore` for best tree-shaking performance.
364
+ // You can create one instance of it to use across an application.
365
+ const ceStorefront = new CeStorefrontCore({
366
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
367
+ });
368
+
369
+ async function run() {
370
+ const res = await kycUpdateDocument(ceStorefront, {
371
+ id: "<id>",
372
+ documentId: "<id>",
373
+ });
374
+
375
+ if (!res.ok) {
376
+ throw res.error;
377
+ }
378
+
379
+ const { value: result } = res;
380
+
381
+ // Handle the result
382
+ console.log(result);
383
+ }
384
+
385
+ run();
386
+ ```
387
+
388
+ ### Parameters
389
+
390
+ | Parameter | Type | Required | Description |
391
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
392
+ | `request` | [operations.UpdateDocumentRequest](../../models/operations/updatedocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
393
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
394
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
395
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
396
+
397
+ ### Response
398
+
399
+ **Promise\<[operations.UpdateDocumentResponseBody](../../models/operations/updatedocumentresponsebody.md)\>**
400
+
401
+ ### Errors
402
+
403
+ | Error Type | Status Code | Content Type |
404
+ | ------------------- | ------------------- | ------------------- |
405
+ | errors.BadRequest | 400 | application/json |
406
+ | errors.Unauthorized | 401 | application/json |
407
+ | errors.NotFound | 404 | application/json |
408
+ | errors.CeError | 4XX, 5XX | \*/\* |
409
+
410
+ ## deleteDocument
411
+
412
+ Delete document
413
+
414
+ ### Example Usage
415
+
416
+ ```typescript
417
+ import { CeStorefront } from "ce-storefront";
418
+
419
+ const ceStorefront = new CeStorefront({
420
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
421
+ });
422
+
423
+ async function run() {
424
+ const result = await ceStorefront.kyc.deleteDocument({
425
+ id: "<id>",
426
+ documentId: "<id>",
427
+ });
428
+
429
+ // Handle the result
430
+ console.log(result);
431
+ }
432
+
433
+ run();
434
+ ```
435
+
436
+ ### Standalone function
437
+
438
+ The standalone function version of this method:
439
+
440
+ ```typescript
441
+ import { CeStorefrontCore } from "ce-storefront/core.js";
442
+ import { kycDeleteDocument } from "ce-storefront/funcs/kycDeleteDocument.js";
443
+
444
+ // Use `CeStorefrontCore` for best tree-shaking performance.
445
+ // You can create one instance of it to use across an application.
446
+ const ceStorefront = new CeStorefrontCore({
447
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
448
+ });
449
+
450
+ async function run() {
451
+ const res = await kycDeleteDocument(ceStorefront, {
452
+ id: "<id>",
453
+ documentId: "<id>",
454
+ });
455
+
456
+ if (!res.ok) {
457
+ throw res.error;
458
+ }
459
+
460
+ const { value: result } = res;
461
+
462
+ // Handle the result
463
+ console.log(result);
464
+ }
465
+
466
+ run();
467
+ ```
468
+
469
+ ### Parameters
470
+
471
+ | Parameter | Type | Required | Description |
472
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
473
+ | `request` | [operations.DeleteDocumentRequest](../../models/operations/deletedocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
474
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
475
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
476
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
477
+
478
+ ### Response
479
+
480
+ **Promise\<[operations.DeleteDocumentResponseBody](../../models/operations/deletedocumentresponsebody.md)\>**
481
+
482
+ ### Errors
483
+
484
+ | Error Type | Status Code | Content Type |
485
+ | ------------------- | ------------------- | ------------------- |
486
+ | errors.BadRequest | 400 | application/json |
487
+ | errors.Unauthorized | 401 | application/json |
488
+ | errors.NotFound | 404 | application/json |
489
+ | errors.CeError | 4XX, 5XX | \*/\* |
490
+
491
+ ## verifyDocument
492
+
493
+ Verify document number before saving.
494
+
495
+ ### Example Usage
496
+
497
+ ```typescript
498
+ import { CeStorefront } from "ce-storefront";
499
+
500
+ const ceStorefront = new CeStorefront({
501
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
502
+ });
503
+
504
+ async function run() {
505
+ const result = await ceStorefront.kyc.verifyDocument({
506
+ id: "<id>",
507
+ });
508
+
509
+ // Handle the result
510
+ console.log(result);
511
+ }
512
+
513
+ run();
514
+ ```
515
+
516
+ ### Standalone function
517
+
518
+ The standalone function version of this method:
519
+
520
+ ```typescript
521
+ import { CeStorefrontCore } from "ce-storefront/core.js";
522
+ import { kycVerifyDocument } from "ce-storefront/funcs/kycVerifyDocument.js";
523
+
524
+ // Use `CeStorefrontCore` for best tree-shaking performance.
525
+ // You can create one instance of it to use across an application.
526
+ const ceStorefront = new CeStorefrontCore({
527
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
528
+ });
529
+
530
+ async function run() {
531
+ const res = await kycVerifyDocument(ceStorefront, {
532
+ id: "<id>",
533
+ });
534
+
535
+ if (!res.ok) {
536
+ throw res.error;
537
+ }
538
+
539
+ const { value: result } = res;
540
+
541
+ // Handle the result
542
+ console.log(result);
543
+ }
544
+
545
+ run();
546
+ ```
547
+
548
+ ### Parameters
549
+
550
+ | Parameter | Type | Required | Description |
551
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
552
+ | `request` | [operations.VerifyDocumentRequest](../../models/operations/verifydocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
553
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
554
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
555
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
556
+
557
+ ### Response
558
+
559
+ **Promise\<[operations.VerifyDocumentResponseBody](../../models/operations/verifydocumentresponsebody.md)\>**
560
+
561
+ ### Errors
562
+
563
+ | Error Type | Status Code | Content Type |
564
+ | ----------------- | ----------------- | ----------------- |
565
+ | errors.BadRequest | 400 | application/json |
566
+ | errors.CeError | 4XX, 5XX | \*/\* |
@@ -32,7 +32,7 @@ async function $do(client, security, options) {
32
32
  const context = {
33
33
  baseURL: options?.serverURL ?? client._baseURL ?? "",
34
34
  operationID: "get-anonymous-token",
35
- oAuth2Scopes: [],
35
+ oAuth2Scopes: null,
36
36
  resolvedSecurity: requestSecurity,
37
37
  securitySource: security,
38
38
  retryConfig: options?.retries
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AAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAU5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,2CAA2C,CAAC,EACnE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,CAAC,CAAC;IACZ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { CeStorefrontCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { CeError } from "../models/errors/ceerror.js";
4
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
+ import * as errors from "../models/errors/index.js";
6
+ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
+ import * as operations from "../models/operations/index.js";
8
+ import { APIPromise } from "../types/async.js";
9
+ import { Result } from "../types/fp.js";
10
+ /**
11
+ * Create document
12
+ *
13
+ * @remarks
14
+ * Create document
15
+ */
16
+ export declare function kycCreateDocument(client: CeStorefrontCore, request: operations.CreateDocumentRequest, options?: RequestOptions): APIPromise<Result<operations.CreateDocumentResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
17
+ //# sourceMappingURL=kycCreateDocument.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycCreateDocument.d.ts","sourceRoot":"","sources":["../../src/funcs/kycCreateDocument.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAM9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,QAAQ,GACf,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}