ce-storefront 0.8.2 → 0.9.0

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 +1672 -123
  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 +22 -22
  7. package/docs/sdks/kyc/README.md +547 -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 +16 -0
  11. package/esm/funcs/kycCreateDocument.d.ts.map +1 -0
  12. package/esm/funcs/kycCreateDocument.js +106 -0
  13. package/esm/funcs/kycCreateDocument.js.map +1 -0
  14. package/esm/funcs/kycDeleteDocument.d.ts +16 -0
  15. package/esm/funcs/kycDeleteDocument.d.ts.map +1 -0
  16. package/esm/funcs/kycDeleteDocument.js +85 -0
  17. package/esm/funcs/kycDeleteDocument.js.map +1 -0
  18. package/esm/funcs/kycGetDocument.d.ts +16 -0
  19. package/esm/funcs/kycGetDocument.d.ts.map +1 -0
  20. package/esm/funcs/kycGetDocument.js +85 -0
  21. package/esm/funcs/kycGetDocument.js.map +1 -0
  22. package/esm/funcs/kycListDocumentType.d.ts +16 -0
  23. package/esm/funcs/kycListDocumentType.d.ts.map +1 -0
  24. package/esm/funcs/kycListDocumentType.js +66 -0
  25. package/esm/funcs/kycListDocumentType.js.map +1 -0
  26. package/esm/funcs/kycListDocuments.d.ts +16 -0
  27. package/esm/funcs/kycListDocuments.d.ts.map +1 -0
  28. package/esm/funcs/kycListDocuments.js +81 -0
  29. package/esm/funcs/kycListDocuments.js.map +1 -0
  30. package/esm/funcs/kycUpdateDocument.d.ts +16 -0
  31. package/esm/funcs/kycUpdateDocument.d.ts.map +1 -0
  32. package/esm/funcs/kycUpdateDocument.js +111 -0
  33. package/esm/funcs/kycUpdateDocument.js.map +1 -0
  34. package/esm/funcs/kycVerifyDocument.d.ts +16 -0
  35. package/esm/funcs/kycVerifyDocument.d.ts.map +1 -0
  36. package/esm/funcs/kycVerifyDocument.js +82 -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/kycListDocumentType.d.ts +3 -0
  64. package/esm/mcp-server/tools/kycListDocumentType.d.ts.map +1 -0
  65. package/esm/mcp-server/tools/kycListDocumentType.js +23 -0
  66. package/esm/mcp-server/tools/kycListDocumentType.js.map +1 -0
  67. package/esm/mcp-server/tools/kycListDocuments.d.ts +8 -0
  68. package/esm/mcp-server/tools/kycListDocuments.d.ts.map +1 -0
  69. package/esm/mcp-server/tools/kycListDocuments.js +28 -0
  70. package/esm/mcp-server/tools/kycListDocuments.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 +159 -0
  83. package/esm/models/components/document.d.ts.map +1 -0
  84. package/esm/models/components/document.js +166 -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/documenttype.d.ts +97 -0
  91. package/esm/models/components/documenttype.d.ts.map +1 -0
  92. package/esm/models/components/documenttype.js +99 -0
  93. package/esm/models/components/documenttype.js.map +1 -0
  94. package/esm/models/components/gstindetail.d.ts +29 -0
  95. package/esm/models/components/gstindetail.d.ts.map +1 -0
  96. package/esm/models/components/gstindetail.js +31 -0
  97. package/esm/models/components/gstindetail.js.map +1 -0
  98. package/esm/models/components/index.d.ts +6 -0
  99. package/esm/models/components/index.d.ts.map +1 -1
  100. package/esm/models/components/index.js +6 -0
  101. package/esm/models/components/index.js.map +1 -1
  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/listdocumenttype.d.ts +62 -0
  131. package/esm/models/operations/listdocumenttype.d.ts.map +1 -0
  132. package/esm/models/operations/listdocumenttype.js +70 -0
  133. package/esm/models/operations/listdocumenttype.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 +190 -0
  154. package/src/funcs/kycDeleteDocument.ts +166 -0
  155. package/src/funcs/kycGetDocument.ts +166 -0
  156. package/src/funcs/kycListDocumentType.ts +136 -0
  157. package/src/funcs/kycListDocuments.ts +160 -0
  158. package/src/funcs/kycUpdateDocument.ts +201 -0
  159. package/src/funcs/kycVerifyDocument.ts +161 -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/kycListDocumentType.ts +30 -0
  169. package/src/mcp-server/tools/kycListDocuments.ts +37 -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 +252 -0
  174. package/src/models/components/documentinput.ts +154 -0
  175. package/src/models/components/documenttype.ts +163 -0
  176. package/src/models/components/gstindetail.ts +62 -0
  177. package/src/models/components/index.ts +6 -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/listdocumenttype.ts +147 -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,547 @@
1
+ # Kyc
2
+ (*kyc*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [listDocumentType](#listdocumenttype) - List all document types
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
+ ## listDocumentType
17
+
18
+ List all kyc documents types configured 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.listDocumentType();
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 { kycListDocumentType } from "ce-storefront/funcs/kycListDocumentType.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 kycListDocumentType(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.ListDocumentTypeResponseBody](../../models/operations/listdocumenttyperesponsebody.md)\>**
80
+
81
+ ### Errors
82
+
83
+ | Error Type | Status Code | Content Type |
84
+ | -------------- | -------------- | -------------- |
85
+ | errors.CeError | 4XX, 5XX | \*/\* |
86
+
87
+ ## listDocuments
88
+
89
+ List all documents added by a particular customer.
90
+
91
+ ### Example Usage
92
+
93
+ ```typescript
94
+ import { CeStorefront } from "ce-storefront";
95
+
96
+ const ceStorefront = new CeStorefront({
97
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
98
+ });
99
+
100
+ async function run() {
101
+ const result = await ceStorefront.kyc.listDocuments({
102
+ id: "<id>",
103
+ });
104
+
105
+ // Handle the result
106
+ console.log(result);
107
+ }
108
+
109
+ run();
110
+ ```
111
+
112
+ ### Standalone function
113
+
114
+ The standalone function version of this method:
115
+
116
+ ```typescript
117
+ import { CeStorefrontCore } from "ce-storefront/core.js";
118
+ import { kycListDocuments } from "ce-storefront/funcs/kycListDocuments.js";
119
+
120
+ // Use `CeStorefrontCore` for best tree-shaking performance.
121
+ // You can create one instance of it to use across an application.
122
+ const ceStorefront = new CeStorefrontCore({
123
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
124
+ });
125
+
126
+ async function run() {
127
+ const res = await kycListDocuments(ceStorefront, {
128
+ id: "<id>",
129
+ });
130
+
131
+ if (!res.ok) {
132
+ throw res.error;
133
+ }
134
+
135
+ const { value: result } = res;
136
+
137
+ // Handle the result
138
+ console.log(result);
139
+ }
140
+
141
+ run();
142
+ ```
143
+
144
+ ### Parameters
145
+
146
+ | Parameter | Type | Required | Description |
147
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
148
+ | `request` | [operations.ListDocumentsRequest](../../models/operations/listdocumentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
149
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
150
+ | `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. |
151
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
152
+
153
+ ### Response
154
+
155
+ **Promise\<[operations.ListDocumentsResponseBody](../../models/operations/listdocumentsresponsebody.md)\>**
156
+
157
+ ### Errors
158
+
159
+ | Error Type | Status Code | Content Type |
160
+ | -------------- | -------------- | -------------- |
161
+ | errors.CeError | 4XX, 5XX | \*/\* |
162
+
163
+ ## createDocument
164
+
165
+ Create document
166
+
167
+ ### Example Usage
168
+
169
+ ```typescript
170
+ import { CeStorefront } from "ce-storefront";
171
+
172
+ const ceStorefront = new CeStorefront({
173
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
174
+ });
175
+
176
+ async function run() {
177
+ const result = await ceStorefront.kyc.createDocument({
178
+ id: "<id>",
179
+ });
180
+
181
+ // Handle the result
182
+ console.log(result);
183
+ }
184
+
185
+ run();
186
+ ```
187
+
188
+ ### Standalone function
189
+
190
+ The standalone function version of this method:
191
+
192
+ ```typescript
193
+ import { CeStorefrontCore } from "ce-storefront/core.js";
194
+ import { kycCreateDocument } from "ce-storefront/funcs/kycCreateDocument.js";
195
+
196
+ // Use `CeStorefrontCore` for best tree-shaking performance.
197
+ // You can create one instance of it to use across an application.
198
+ const ceStorefront = new CeStorefrontCore({
199
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
200
+ });
201
+
202
+ async function run() {
203
+ const res = await kycCreateDocument(ceStorefront, {
204
+ id: "<id>",
205
+ });
206
+
207
+ if (!res.ok) {
208
+ throw res.error;
209
+ }
210
+
211
+ const { value: result } = res;
212
+
213
+ // Handle the result
214
+ console.log(result);
215
+ }
216
+
217
+ run();
218
+ ```
219
+
220
+ ### Parameters
221
+
222
+ | Parameter | Type | Required | Description |
223
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
224
+ | `request` | [operations.CreateDocumentRequest](../../models/operations/createdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
225
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
226
+ | `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. |
227
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
228
+
229
+ ### Response
230
+
231
+ **Promise\<[operations.CreateDocumentResponseBody](../../models/operations/createdocumentresponsebody.md)\>**
232
+
233
+ ### Errors
234
+
235
+ | Error Type | Status Code | Content Type |
236
+ | -------------- | -------------- | -------------- |
237
+ | errors.CeError | 4XX, 5XX | \*/\* |
238
+
239
+ ## getDocument
240
+
241
+ Retrieve document detail
242
+
243
+ ### Example Usage
244
+
245
+ ```typescript
246
+ import { CeStorefront } from "ce-storefront";
247
+
248
+ const ceStorefront = new CeStorefront({
249
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
250
+ });
251
+
252
+ async function run() {
253
+ const result = await ceStorefront.kyc.getDocument({
254
+ id: "<id>",
255
+ documentId: "<id>",
256
+ });
257
+
258
+ // Handle the result
259
+ console.log(result);
260
+ }
261
+
262
+ run();
263
+ ```
264
+
265
+ ### Standalone function
266
+
267
+ The standalone function version of this method:
268
+
269
+ ```typescript
270
+ import { CeStorefrontCore } from "ce-storefront/core.js";
271
+ import { kycGetDocument } from "ce-storefront/funcs/kycGetDocument.js";
272
+
273
+ // Use `CeStorefrontCore` for best tree-shaking performance.
274
+ // You can create one instance of it to use across an application.
275
+ const ceStorefront = new CeStorefrontCore({
276
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
277
+ });
278
+
279
+ async function run() {
280
+ const res = await kycGetDocument(ceStorefront, {
281
+ id: "<id>",
282
+ documentId: "<id>",
283
+ });
284
+
285
+ if (!res.ok) {
286
+ throw res.error;
287
+ }
288
+
289
+ const { value: result } = res;
290
+
291
+ // Handle the result
292
+ console.log(result);
293
+ }
294
+
295
+ run();
296
+ ```
297
+
298
+ ### Parameters
299
+
300
+ | Parameter | Type | Required | Description |
301
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
302
+ | `request` | [operations.GetDocumentRequest](../../models/operations/getdocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
303
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
304
+ | `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. |
305
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
306
+
307
+ ### Response
308
+
309
+ **Promise\<[operations.GetDocumentResponseBody](../../models/operations/getdocumentresponsebody.md)\>**
310
+
311
+ ### Errors
312
+
313
+ | Error Type | Status Code | Content Type |
314
+ | -------------- | -------------- | -------------- |
315
+ | errors.CeError | 4XX, 5XX | \*/\* |
316
+
317
+ ## updateDocument
318
+
319
+ Update document detail
320
+
321
+ ### Example Usage
322
+
323
+ ```typescript
324
+ import { CeStorefront } from "ce-storefront";
325
+
326
+ const ceStorefront = new CeStorefront({
327
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
328
+ });
329
+
330
+ async function run() {
331
+ const result = await ceStorefront.kyc.updateDocument({
332
+ id: "<id>",
333
+ documentId: "<id>",
334
+ });
335
+
336
+ // Handle the result
337
+ console.log(result);
338
+ }
339
+
340
+ run();
341
+ ```
342
+
343
+ ### Standalone function
344
+
345
+ The standalone function version of this method:
346
+
347
+ ```typescript
348
+ import { CeStorefrontCore } from "ce-storefront/core.js";
349
+ import { kycUpdateDocument } from "ce-storefront/funcs/kycUpdateDocument.js";
350
+
351
+ // Use `CeStorefrontCore` for best tree-shaking performance.
352
+ // You can create one instance of it to use across an application.
353
+ const ceStorefront = new CeStorefrontCore({
354
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
355
+ });
356
+
357
+ async function run() {
358
+ const res = await kycUpdateDocument(ceStorefront, {
359
+ id: "<id>",
360
+ documentId: "<id>",
361
+ });
362
+
363
+ if (!res.ok) {
364
+ throw res.error;
365
+ }
366
+
367
+ const { value: result } = res;
368
+
369
+ // Handle the result
370
+ console.log(result);
371
+ }
372
+
373
+ run();
374
+ ```
375
+
376
+ ### Parameters
377
+
378
+ | Parameter | Type | Required | Description |
379
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
380
+ | `request` | [operations.UpdateDocumentRequest](../../models/operations/updatedocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
381
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
382
+ | `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. |
383
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
384
+
385
+ ### Response
386
+
387
+ **Promise\<[operations.UpdateDocumentResponseBody](../../models/operations/updatedocumentresponsebody.md)\>**
388
+
389
+ ### Errors
390
+
391
+ | Error Type | Status Code | Content Type |
392
+ | -------------- | -------------- | -------------- |
393
+ | errors.CeError | 4XX, 5XX | \*/\* |
394
+
395
+ ## deleteDocument
396
+
397
+ Delete document
398
+
399
+ ### Example Usage
400
+
401
+ ```typescript
402
+ import { CeStorefront } from "ce-storefront";
403
+
404
+ const ceStorefront = new CeStorefront({
405
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
406
+ });
407
+
408
+ async function run() {
409
+ const result = await ceStorefront.kyc.deleteDocument({
410
+ id: "<id>",
411
+ documentId: "<id>",
412
+ });
413
+
414
+ // Handle the result
415
+ console.log(result);
416
+ }
417
+
418
+ run();
419
+ ```
420
+
421
+ ### Standalone function
422
+
423
+ The standalone function version of this method:
424
+
425
+ ```typescript
426
+ import { CeStorefrontCore } from "ce-storefront/core.js";
427
+ import { kycDeleteDocument } from "ce-storefront/funcs/kycDeleteDocument.js";
428
+
429
+ // Use `CeStorefrontCore` for best tree-shaking performance.
430
+ // You can create one instance of it to use across an application.
431
+ const ceStorefront = new CeStorefrontCore({
432
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
433
+ });
434
+
435
+ async function run() {
436
+ const res = await kycDeleteDocument(ceStorefront, {
437
+ id: "<id>",
438
+ documentId: "<id>",
439
+ });
440
+
441
+ if (!res.ok) {
442
+ throw res.error;
443
+ }
444
+
445
+ const { value: result } = res;
446
+
447
+ // Handle the result
448
+ console.log(result);
449
+ }
450
+
451
+ run();
452
+ ```
453
+
454
+ ### Parameters
455
+
456
+ | Parameter | Type | Required | Description |
457
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
458
+ | `request` | [operations.DeleteDocumentRequest](../../models/operations/deletedocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
459
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
460
+ | `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. |
461
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
462
+
463
+ ### Response
464
+
465
+ **Promise\<[operations.DeleteDocumentResponseBody](../../models/operations/deletedocumentresponsebody.md)\>**
466
+
467
+ ### Errors
468
+
469
+ | Error Type | Status Code | Content Type |
470
+ | -------------- | -------------- | -------------- |
471
+ | errors.CeError | 4XX, 5XX | \*/\* |
472
+
473
+ ## verifyDocument
474
+
475
+ Verify document number before saving.
476
+
477
+ ### Example Usage
478
+
479
+ ```typescript
480
+ import { CeStorefront } from "ce-storefront";
481
+
482
+ const ceStorefront = new CeStorefront({
483
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
484
+ });
485
+
486
+ async function run() {
487
+ const result = await ceStorefront.kyc.verifyDocument({
488
+ id: "<id>",
489
+ });
490
+
491
+ // Handle the result
492
+ console.log(result);
493
+ }
494
+
495
+ run();
496
+ ```
497
+
498
+ ### Standalone function
499
+
500
+ The standalone function version of this method:
501
+
502
+ ```typescript
503
+ import { CeStorefrontCore } from "ce-storefront/core.js";
504
+ import { kycVerifyDocument } from "ce-storefront/funcs/kycVerifyDocument.js";
505
+
506
+ // Use `CeStorefrontCore` for best tree-shaking performance.
507
+ // You can create one instance of it to use across an application.
508
+ const ceStorefront = new CeStorefrontCore({
509
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
510
+ });
511
+
512
+ async function run() {
513
+ const res = await kycVerifyDocument(ceStorefront, {
514
+ id: "<id>",
515
+ });
516
+
517
+ if (!res.ok) {
518
+ throw res.error;
519
+ }
520
+
521
+ const { value: result } = res;
522
+
523
+ // Handle the result
524
+ console.log(result);
525
+ }
526
+
527
+ run();
528
+ ```
529
+
530
+ ### Parameters
531
+
532
+ | Parameter | Type | Required | Description |
533
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
534
+ | `request` | [operations.VerifyDocumentRequest](../../models/operations/verifydocumentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
535
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
536
+ | `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. |
537
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
538
+
539
+ ### Response
540
+
541
+ **Promise\<[operations.VerifyDocumentResponseBody](../../models/operations/verifydocumentresponsebody.md)\>**
542
+
543
+ ### Errors
544
+
545
+ | Error Type | Status Code | Content Type |
546
+ | -------------- | -------------- | -------------- |
547
+ | 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
@@ -1 +1 @@
1
- {"version":3,"file":"authGetAnonymousToken.js","sourceRoot":"","sources":["../../src/funcs/authGetAnonymousToken.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CACnC,MAAwB,EACxB,QAA8C,EAC9C,OAAwB;IAaxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,QA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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,16 @@
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 { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
6
+ import * as operations from "../models/operations/index.js";
7
+ import { APIPromise } from "../types/async.js";
8
+ import { Result } from "../types/fp.js";
9
+ /**
10
+ * Create document
11
+ *
12
+ * @remarks
13
+ * Create document
14
+ */
15
+ export declare function kycCreateDocument(client: CeStorefrontCore, request: operations.CreateDocumentRequest, options?: RequestOptions): APIPromise<Result<operations.CreateDocumentResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# 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,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,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}