ce-storefront 0.3.3 → 0.3.5

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 (244) hide show
  1. package/README.md +26 -37
  2. package/docs/sdks/{cestorefrontpayments → cestorefrontorderspayments}/README.md +1 -1
  3. package/docs/sdks/customers/README.md +236 -0
  4. package/docs/sdks/{paymentsapijuspay → juspay}/README.md +12 -12
  5. package/docs/sdks/orders/README.md +80 -1
  6. package/docs/sdks/payments/README.md +242 -2
  7. package/docs/sdks/products/README.md +1 -1
  8. package/esm/funcs/catalogProductsGet.d.ts +1 -1
  9. package/esm/funcs/catalogProductsGet.js +1 -1
  10. package/esm/funcs/{customersAPIGetCustomersId.d.ts → customersGetCustomersId.d.ts} +2 -2
  11. package/esm/funcs/customersGetCustomersId.d.ts.map +1 -0
  12. package/esm/funcs/{customersAPIGetCustomersId.js → customersGetCustomersId.js} +2 -2
  13. package/esm/funcs/customersGetCustomersId.js.map +1 -0
  14. package/esm/funcs/{customersAPIPostCustomers.d.ts → customersPostCustomers.d.ts} +2 -2
  15. package/esm/funcs/customersPostCustomers.d.ts.map +1 -0
  16. package/esm/funcs/{customersAPIPostCustomers.js → customersPostCustomers.js} +2 -2
  17. package/esm/funcs/customersPostCustomers.js.map +1 -0
  18. package/esm/funcs/{customersAPIPutCustomersId.d.ts → customersPutCustomersId.d.ts} +2 -2
  19. package/esm/funcs/customersPutCustomersId.d.ts.map +1 -0
  20. package/esm/funcs/{customersAPIPutCustomersId.js → customersPutCustomersId.js} +2 -2
  21. package/esm/funcs/{customersAPIPostCustomers.js.map → customersPutCustomersId.js.map} +1 -1
  22. package/esm/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.d.ts → juspayGetPaymentsJuspayCustomer.d.ts} +2 -2
  23. package/esm/funcs/juspayGetPaymentsJuspayCustomer.d.ts.map +1 -0
  24. package/esm/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.js → juspayGetPaymentsJuspayCustomer.js} +2 -2
  25. package/esm/funcs/juspayGetPaymentsJuspayCustomer.js.map +1 -0
  26. package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.d.ts → juspayPostPaymentsJuspayCreateCustomer.d.ts} +2 -2
  27. package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.d.ts.map +1 -0
  28. package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.js → juspayPostPaymentsJuspayCreateCustomer.js} +2 -2
  29. package/esm/funcs/juspayPostPaymentsJuspayCreateCustomer.js.map +1 -0
  30. package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.d.ts → juspayPostPaymentsJuspayCreateOrder.d.ts} +2 -2
  31. package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.d.ts.map +1 -0
  32. package/esm/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.js → juspayPostPaymentsJuspayCreateOrder.js} +2 -2
  33. package/esm/funcs/juspayPostPaymentsJuspayCreateOrder.js.map +1 -0
  34. package/esm/funcs/{ordersAPIGetOrdersIdPaymentStatus.d.ts → ordersGetOrdersIdPaymentStatus.d.ts} +2 -2
  35. package/esm/funcs/ordersGetOrdersIdPaymentStatus.d.ts.map +1 -0
  36. package/esm/funcs/{ordersAPIGetOrdersIdPaymentStatus.js → ordersGetOrdersIdPaymentStatus.js} +2 -2
  37. package/esm/funcs/ordersGetOrdersIdPaymentStatus.js.map +1 -0
  38. package/esm/funcs/paymentsGetMethods.d.ts +1 -1
  39. package/esm/funcs/paymentsGetMethods.d.ts.map +1 -1
  40. package/esm/funcs/paymentsGetMethods.js +3 -3
  41. package/esm/funcs/paymentsGetMethods.js.map +1 -1
  42. package/esm/funcs/{paymentsAPIGetPaymentsCards.d.ts → paymentsGetPaymentsCards.d.ts} +2 -2
  43. package/esm/funcs/paymentsGetPaymentsCards.d.ts.map +1 -0
  44. package/esm/funcs/{paymentsAPIGetPaymentsCards.js → paymentsGetPaymentsCards.js} +2 -2
  45. package/esm/funcs/paymentsGetPaymentsCards.js.map +1 -0
  46. package/esm/funcs/{paymentsAPIGetPaymentsVerifyVpa.d.ts → paymentsGetPaymentsVerifyVpa.d.ts} +2 -2
  47. package/esm/funcs/paymentsGetPaymentsVerifyVpa.d.ts.map +1 -0
  48. package/esm/funcs/{paymentsAPIGetPaymentsVerifyVpa.js → paymentsGetPaymentsVerifyVpa.js} +2 -2
  49. package/esm/funcs/paymentsGetPaymentsVerifyVpa.js.map +1 -0
  50. package/esm/funcs/{paymentsAPIPostPaymentsCards.d.ts → paymentsPostPaymentsCards.d.ts} +2 -2
  51. package/esm/funcs/paymentsPostPaymentsCards.d.ts.map +1 -0
  52. package/esm/funcs/{paymentsAPIPostPaymentsCards.js → paymentsPostPaymentsCards.js} +2 -2
  53. package/esm/funcs/paymentsPostPaymentsCards.js.map +1 -0
  54. package/esm/lib/config.d.ts +3 -3
  55. package/esm/lib/config.js +3 -3
  56. package/esm/lib/config.js.map +1 -1
  57. package/esm/models/components/anonymoususer.d.ts +87 -0
  58. package/esm/models/components/anonymoususer.d.ts.map +1 -0
  59. package/esm/models/components/anonymoususer.js +78 -0
  60. package/esm/models/components/anonymoususer.js.map +1 -0
  61. package/esm/models/components/cart.d.ts +1 -1
  62. package/esm/models/components/cart.d.ts.map +1 -1
  63. package/esm/models/components/cart.js +1 -1
  64. package/esm/models/components/cart.js.map +1 -1
  65. package/esm/models/components/createcustomer.d.ts +1 -1
  66. package/esm/models/components/createcustomer.d.ts.map +1 -1
  67. package/esm/models/components/createcustomer.js +1 -1
  68. package/esm/models/components/createcustomer.js.map +1 -1
  69. package/esm/models/components/{customeraddressinput.d.ts → customeraddress.d.ts} +33 -33
  70. package/esm/models/components/customeraddress.d.ts.map +1 -0
  71. package/esm/models/components/{customeraddressinput.js → customeraddress.js} +37 -37
  72. package/esm/models/components/customeraddress.js.map +1 -0
  73. package/esm/models/components/freegoodspromotion.d.ts +2 -2
  74. package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
  75. package/esm/models/components/freegoodspromotion.js +2 -2
  76. package/esm/models/components/freegoodspromotion.js.map +1 -1
  77. package/esm/models/components/index.d.ts +3 -3
  78. package/esm/models/components/index.d.ts.map +1 -1
  79. package/esm/models/components/index.js +3 -3
  80. package/esm/models/components/index.js.map +1 -1
  81. package/esm/models/components/orderdetail.d.ts +1 -1
  82. package/esm/models/components/orderdetail.d.ts.map +1 -1
  83. package/esm/models/components/orderdetail.js +1 -1
  84. package/esm/models/components/orderdetail.js.map +1 -1
  85. package/esm/models/components/{productlist.d.ts → product.d.ts} +14 -16
  86. package/esm/models/components/product.d.ts.map +1 -0
  87. package/esm/models/components/{productlist.js → product.js} +16 -20
  88. package/esm/models/components/product.js.map +1 -0
  89. package/esm/models/components/productdetail.d.ts +4 -4
  90. package/esm/models/components/productdetail.d.ts.map +1 -1
  91. package/esm/models/components/productdetail.js +4 -4
  92. package/esm/models/components/productdetail.js.map +1 -1
  93. package/esm/models/components/productlistresponse.d.ts +3 -3
  94. package/esm/models/components/productlistresponse.d.ts.map +1 -1
  95. package/esm/models/components/productlistresponse.js +3 -3
  96. package/esm/models/components/productlistresponse.js.map +1 -1
  97. package/esm/models/components/productpromotion.d.ts +11 -5
  98. package/esm/models/components/productpromotion.d.ts.map +1 -1
  99. package/esm/models/operations/getpaymentmethods.d.ts +143 -0
  100. package/esm/models/operations/getpaymentmethods.d.ts.map +1 -0
  101. package/esm/models/operations/{getpaymentspaymentmethods.js → getpaymentmethods.js} +42 -44
  102. package/esm/models/operations/getpaymentmethods.js.map +1 -0
  103. package/esm/models/operations/getsimilar.d.ts +2 -27
  104. package/esm/models/operations/getsimilar.d.ts.map +1 -1
  105. package/esm/models/operations/getsimilar.js +2 -27
  106. package/esm/models/operations/getsimilar.js.map +1 -1
  107. package/esm/models/operations/index.d.ts +1 -2
  108. package/esm/models/operations/index.d.ts.map +1 -1
  109. package/esm/models/operations/index.js +1 -2
  110. package/esm/models/operations/index.js.map +1 -1
  111. package/esm/models/operations/postauthanonymous.d.ts +2 -2
  112. package/esm/models/operations/postauthanonymous.d.ts.map +1 -1
  113. package/esm/models/operations/postauthanonymous.js +2 -2
  114. package/esm/models/operations/postauthanonymous.js.map +1 -1
  115. package/esm/models/operations/postcartitemid.d.ts +15 -15
  116. package/esm/models/operations/postcartitemid.d.ts.map +1 -1
  117. package/esm/models/operations/postcartitemid.js +15 -15
  118. package/esm/models/operations/postcartitemid.js.map +1 -1
  119. package/esm/sdk/{cestorefrontpayments.d.ts → cestorefrontorderspayments.d.ts} +2 -2
  120. package/esm/sdk/cestorefrontorderspayments.d.ts.map +1 -0
  121. package/esm/sdk/{cestorefrontpayments.js → cestorefrontorderspayments.js} +2 -2
  122. package/esm/sdk/cestorefrontorderspayments.js.map +1 -0
  123. package/esm/sdk/customers.d.ts +24 -1
  124. package/esm/sdk/customers.d.ts.map +1 -1
  125. package/esm/sdk/customers.js +31 -0
  126. package/esm/sdk/customers.js.map +1 -1
  127. package/esm/sdk/{paymentsapijuspay.d.ts → juspay.d.ts} +2 -2
  128. package/esm/sdk/juspay.d.ts.map +1 -0
  129. package/esm/sdk/{paymentsapijuspay.js → juspay.js} +8 -8
  130. package/esm/sdk/juspay.js.map +1 -0
  131. package/esm/sdk/orders.d.ts +9 -2
  132. package/esm/sdk/orders.d.ts.map +1 -1
  133. package/esm/sdk/orders.js +12 -2
  134. package/esm/sdk/orders.js.map +1 -1
  135. package/esm/sdk/payments.d.ts +23 -1
  136. package/esm/sdk/payments.d.ts.map +1 -1
  137. package/esm/sdk/payments.js +31 -0
  138. package/esm/sdk/payments.js.map +1 -1
  139. package/esm/sdk/products.d.ts +1 -1
  140. package/esm/sdk/products.js +1 -1
  141. package/esm/sdk/sdk.d.ts +3 -12
  142. package/esm/sdk/sdk.d.ts.map +1 -1
  143. package/esm/sdk/sdk.js +3 -15
  144. package/esm/sdk/sdk.js.map +1 -1
  145. package/jsr.json +1 -1
  146. package/package.json +1 -1
  147. package/src/funcs/catalogProductsGet.ts +1 -1
  148. package/src/funcs/{customersAPIGetCustomersId.ts → customersGetCustomersId.ts} +1 -1
  149. package/src/funcs/{customersAPIPostCustomers.ts → customersPostCustomers.ts} +1 -1
  150. package/src/funcs/{customersAPIPutCustomersId.ts → customersPutCustomersId.ts} +1 -1
  151. package/src/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.ts → juspayGetPaymentsJuspayCustomer.ts} +1 -1
  152. package/src/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.ts → juspayPostPaymentsJuspayCreateCustomer.ts} +1 -1
  153. package/src/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.ts → juspayPostPaymentsJuspayCreateOrder.ts} +1 -1
  154. package/src/funcs/{ordersAPIGetOrdersIdPaymentStatus.ts → ordersGetOrdersIdPaymentStatus.ts} +1 -1
  155. package/src/funcs/paymentsGetMethods.ts +6 -7
  156. package/src/funcs/{paymentsAPIGetPaymentsCards.ts → paymentsGetPaymentsCards.ts} +1 -1
  157. package/src/funcs/{paymentsAPIGetPaymentsVerifyVpa.ts → paymentsGetPaymentsVerifyVpa.ts} +1 -1
  158. package/src/funcs/{paymentsAPIPostPaymentsCards.ts → paymentsPostPaymentsCards.ts} +1 -1
  159. package/src/lib/config.ts +3 -3
  160. package/src/models/components/anonymoususer.ts +167 -0
  161. package/src/models/components/cart.ts +1 -1
  162. package/src/models/components/createcustomer.ts +1 -1
  163. package/src/models/components/freegoodspromotion.ts +4 -4
  164. package/src/models/components/index.ts +3 -3
  165. package/src/models/components/orderdetail.ts +1 -1
  166. package/src/models/components/{productlist.ts → product.ts} +73 -78
  167. package/src/models/components/productdetail.ts +8 -8
  168. package/src/models/components/productlistresponse.ts +9 -9
  169. package/src/models/operations/{getpaymentspaymentmethods.ts → getpaymentmethods.ts} +68 -77
  170. package/src/models/operations/getsimilar.ts +4 -62
  171. package/src/models/operations/index.ts +1 -2
  172. package/src/models/operations/postauthanonymous.ts +4 -4
  173. package/src/models/operations/postcartitemid.ts +27 -25
  174. package/src/sdk/{cestorefrontpayments.ts → cestorefrontorderspayments.ts} +1 -1
  175. package/src/sdk/customers.ts +58 -1
  176. package/src/sdk/{paymentsapijuspay.ts → juspay.ts} +7 -7
  177. package/src/sdk/orders.ts +22 -4
  178. package/src/sdk/payments.ts +57 -2
  179. package/src/sdk/products.ts +1 -1
  180. package/src/sdk/sdk.ts +4 -22
  181. package/docs/sdks/customersapi/README.md +0 -321
  182. package/docs/sdks/ordersapi/README.md +0 -86
  183. package/docs/sdks/paymentsapi/README.md +0 -247
  184. package/esm/funcs/customersAPIGetCustomersId.d.ts.map +0 -1
  185. package/esm/funcs/customersAPIGetCustomersId.js.map +0 -1
  186. package/esm/funcs/customersAPIGetRecommendedProducts.d.ts +0 -16
  187. package/esm/funcs/customersAPIGetRecommendedProducts.d.ts.map +0 -1
  188. package/esm/funcs/customersAPIGetRecommendedProducts.js +0 -80
  189. package/esm/funcs/customersAPIGetRecommendedProducts.js.map +0 -1
  190. package/esm/funcs/customersAPIPostCustomers.d.ts.map +0 -1
  191. package/esm/funcs/customersAPIPutCustomersId.d.ts.map +0 -1
  192. package/esm/funcs/customersAPIPutCustomersId.js.map +0 -1
  193. package/esm/funcs/ordersAPIGetOrdersIdPaymentStatus.d.ts.map +0 -1
  194. package/esm/funcs/ordersAPIGetOrdersIdPaymentStatus.js.map +0 -1
  195. package/esm/funcs/paymentsAPIGetPaymentsCards.d.ts.map +0 -1
  196. package/esm/funcs/paymentsAPIGetPaymentsCards.js.map +0 -1
  197. package/esm/funcs/paymentsAPIGetPaymentsVerifyVpa.d.ts.map +0 -1
  198. package/esm/funcs/paymentsAPIGetPaymentsVerifyVpa.js.map +0 -1
  199. package/esm/funcs/paymentsAPIJuspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
  200. package/esm/funcs/paymentsAPIJuspayGetPaymentsJuspayCustomer.js.map +0 -1
  201. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
  202. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
  203. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
  204. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateOrder.js.map +0 -1
  205. package/esm/funcs/paymentsAPIPostPaymentsCards.d.ts.map +0 -1
  206. package/esm/funcs/paymentsAPIPostPaymentsCards.js.map +0 -1
  207. package/esm/models/components/customeraddressinput.d.ts.map +0 -1
  208. package/esm/models/components/customeraddressinput.js.map +0 -1
  209. package/esm/models/components/productlist.d.ts.map +0 -1
  210. package/esm/models/components/productlist.js.map +0 -1
  211. package/esm/models/components/recommendedproduct.d.ts +0 -155
  212. package/esm/models/components/recommendedproduct.d.ts.map +0 -1
  213. package/esm/models/components/recommendedproduct.js +0 -193
  214. package/esm/models/components/recommendedproduct.js.map +0 -1
  215. package/esm/models/operations/getpaymentspaymentmethods.d.ts +0 -143
  216. package/esm/models/operations/getpaymentspaymentmethods.d.ts.map +0 -1
  217. package/esm/models/operations/getpaymentspaymentmethods.js.map +0 -1
  218. package/esm/models/operations/getrecommendedproducts.d.ts +0 -90
  219. package/esm/models/operations/getrecommendedproducts.d.ts.map +0 -1
  220. package/esm/models/operations/getrecommendedproducts.js +0 -87
  221. package/esm/models/operations/getrecommendedproducts.js.map +0 -1
  222. package/esm/sdk/cestorefrontpayments.d.ts.map +0 -1
  223. package/esm/sdk/cestorefrontpayments.js.map +0 -1
  224. package/esm/sdk/customersapi.d.ts +0 -34
  225. package/esm/sdk/customersapi.d.ts.map +0 -1
  226. package/esm/sdk/customersapi.js +0 -48
  227. package/esm/sdk/customersapi.js.map +0 -1
  228. package/esm/sdk/ordersapi.d.ts +0 -12
  229. package/esm/sdk/ordersapi.d.ts.map +0 -1
  230. package/esm/sdk/ordersapi.js +0 -18
  231. package/esm/sdk/ordersapi.js.map +0 -1
  232. package/esm/sdk/paymentsapi.d.ts +0 -27
  233. package/esm/sdk/paymentsapi.d.ts.map +0 -1
  234. package/esm/sdk/paymentsapi.js +0 -39
  235. package/esm/sdk/paymentsapi.js.map +0 -1
  236. package/esm/sdk/paymentsapijuspay.d.ts.map +0 -1
  237. package/esm/sdk/paymentsapijuspay.js.map +0 -1
  238. package/src/funcs/customersAPIGetRecommendedProducts.ts +0 -144
  239. package/src/models/components/recommendedproduct.ts +0 -385
  240. package/src/models/operations/getrecommendedproducts.ts +0 -206
  241. package/src/sdk/customersapi.ts +0 -82
  242. package/src/sdk/ordersapi.ts +0 -27
  243. package/src/sdk/paymentsapi.ts +0 -64
  244. package/src/models/components/{customeraddressinput.ts → customeraddress.ts} +60 -60
@@ -3,10 +3,15 @@
3
3
 
4
4
  ## Overview
5
5
 
6
+ Payments
7
+
6
8
  ### Available Operations
7
9
 
8
10
  * [generateHash](#generatehash) - Generate hash
9
11
  * [getMethods](#getmethods) - List all payment methods
12
+ * [getPaymentsCards](#getpaymentscards) - List all saved cards
13
+ * [postPaymentsCards](#postpaymentscards) - Add card
14
+ * [getPaymentsVerifyVpa](#getpaymentsverifyvpa) - Verify VPA
10
15
 
11
16
  ## generateHash
12
17
 
@@ -150,14 +155,249 @@ run();
150
155
 
151
156
  | Parameter | Type | Required | Description |
152
157
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
153
- | `request` | [operations.GetPaymentsPaymentMethodsRequest](../../models/operations/getpaymentspaymentmethodsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
158
+ | `request` | [operations.GetPaymentMethodsRequest](../../models/operations/getpaymentmethodsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
159
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
160
+ | `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. |
161
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
162
+
163
+ ### Response
164
+
165
+ **Promise\<[operations.GetPaymentMethodsResponseBody](../../models/operations/getpaymentmethodsresponsebody.md)\>**
166
+
167
+ ### Errors
168
+
169
+ | Error Type | Status Code | Content Type |
170
+ | -------------- | -------------- | -------------- |
171
+ | errors.CeError | 4XX, 5XX | \*/\* |
172
+
173
+ ## getPaymentsCards
174
+
175
+ List all saved cards.
176
+
177
+ ### Example Usage
178
+
179
+ ```typescript
180
+ import { CeStorefront } from "ce-storefront";
181
+
182
+ const ceStorefront = new CeStorefront({
183
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
184
+ });
185
+
186
+ async function run() {
187
+ const result = await ceStorefront.payments.getPaymentsCards({
188
+ paymentGateway: "JUSPAY",
189
+ });
190
+
191
+ // Handle the result
192
+ console.log(result);
193
+ }
194
+
195
+ run();
196
+ ```
197
+
198
+ ### Standalone function
199
+
200
+ The standalone function version of this method:
201
+
202
+ ```typescript
203
+ import { CeStorefrontCore } from "ce-storefront/core.js";
204
+ import { paymentsGetPaymentsCards } from "ce-storefront/funcs/paymentsGetPaymentsCards.js";
205
+
206
+ // Use `CeStorefrontCore` for best tree-shaking performance.
207
+ // You can create one instance of it to use across an application.
208
+ const ceStorefront = new CeStorefrontCore({
209
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
210
+ });
211
+
212
+ async function run() {
213
+ const res = await paymentsGetPaymentsCards(ceStorefront, {
214
+ paymentGateway: "JUSPAY",
215
+ });
216
+
217
+ if (!res.ok) {
218
+ throw res.error;
219
+ }
220
+
221
+ const { value: result } = res;
222
+
223
+ // Handle the result
224
+ console.log(result);
225
+ }
226
+
227
+ run();
228
+ ```
229
+
230
+ ### Parameters
231
+
232
+ | Parameter | Type | Required | Description |
233
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
234
+ | `request` | [operations.GetPaymentsCardsRequest](../../models/operations/getpaymentscardsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
235
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
236
+ | `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. |
237
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
238
+
239
+ ### Response
240
+
241
+ **Promise\<[operations.GetPaymentsCardsResponseBody](../../models/operations/getpaymentscardsresponsebody.md)\>**
242
+
243
+ ### Errors
244
+
245
+ | Error Type | Status Code | Content Type |
246
+ | ------------------- | ------------------- | ------------------- |
247
+ | errors.BadRequest | 400 | application/json |
248
+ | errors.Unauthorized | 401 | application/json |
249
+ | errors.NotFound | 404 | application/json |
250
+ | errors.CeError | 4XX, 5XX | \*/\* |
251
+
252
+ ## postPaymentsCards
253
+
254
+ Add a new card
255
+
256
+ ### Example Usage
257
+
258
+ ```typescript
259
+ import { CeStorefront } from "ce-storefront";
260
+
261
+ const ceStorefront = new CeStorefront({
262
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
263
+ });
264
+
265
+ async function run() {
266
+ const result = await ceStorefront.payments.postPaymentsCards({
267
+ cardDetails: {},
268
+ });
269
+
270
+ // Handle the result
271
+ console.log(result);
272
+ }
273
+
274
+ run();
275
+ ```
276
+
277
+ ### Standalone function
278
+
279
+ The standalone function version of this method:
280
+
281
+ ```typescript
282
+ import { CeStorefrontCore } from "ce-storefront/core.js";
283
+ import { paymentsPostPaymentsCards } from "ce-storefront/funcs/paymentsPostPaymentsCards.js";
284
+
285
+ // Use `CeStorefrontCore` for best tree-shaking performance.
286
+ // You can create one instance of it to use across an application.
287
+ const ceStorefront = new CeStorefrontCore({
288
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
289
+ });
290
+
291
+ async function run() {
292
+ const res = await paymentsPostPaymentsCards(ceStorefront, {
293
+ cardDetails: {},
294
+ });
295
+
296
+ if (!res.ok) {
297
+ throw res.error;
298
+ }
299
+
300
+ const { value: result } = res;
301
+
302
+ // Handle the result
303
+ console.log(result);
304
+ }
305
+
306
+ run();
307
+ ```
308
+
309
+ ### Parameters
310
+
311
+ | Parameter | Type | Required | Description |
312
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
313
+ | `request` | [operations.PostPaymentsCardsRequestBody](../../models/operations/postpaymentscardsrequestbody.md) | :heavy_check_mark: | The request object to use for the request. |
314
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
315
+ | `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. |
316
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
317
+
318
+ ### Response
319
+
320
+ **Promise\<[operations.PostPaymentsCardsResponseBody](../../models/operations/postpaymentscardsresponsebody.md)\>**
321
+
322
+ ### Errors
323
+
324
+ | Error Type | Status Code | Content Type |
325
+ | ------------------- | ------------------- | ------------------- |
326
+ | errors.BadRequest | 400 | application/json |
327
+ | errors.Unauthorized | 401 | application/json |
328
+ | errors.NotFound | 404 | application/json |
329
+ | errors.CeError | 4XX, 5XX | \*/\* |
330
+
331
+ ## getPaymentsVerifyVpa
332
+
333
+ The Virtual Payment Address or VPA is a unique ID given to an individual using the Unified Payment Interface (UPI) service to send or receive money. In the case of UPI collect VPA is the mandatory param and merchants are always advised to check if the VPA is valid or not.
334
+ Validating the VPA will help in reducing the failure rate due to incorrect vpa.
335
+
336
+ ### Example Usage
337
+
338
+ ```typescript
339
+ import { CeStorefront } from "ce-storefront";
340
+
341
+ const ceStorefront = new CeStorefront({
342
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
343
+ });
344
+
345
+ async function run() {
346
+ const result = await ceStorefront.payments.getPaymentsVerifyVpa({
347
+ paymentGateway: "JUSPAY",
348
+ });
349
+
350
+ // Handle the result
351
+ console.log(result);
352
+ }
353
+
354
+ run();
355
+ ```
356
+
357
+ ### Standalone function
358
+
359
+ The standalone function version of this method:
360
+
361
+ ```typescript
362
+ import { CeStorefrontCore } from "ce-storefront/core.js";
363
+ import { paymentsGetPaymentsVerifyVpa } from "ce-storefront/funcs/paymentsGetPaymentsVerifyVpa.js";
364
+
365
+ // Use `CeStorefrontCore` for best tree-shaking performance.
366
+ // You can create one instance of it to use across an application.
367
+ const ceStorefront = new CeStorefrontCore({
368
+ authorization: "<YOUR_BEARER_TOKEN_HERE>",
369
+ });
370
+
371
+ async function run() {
372
+ const res = await paymentsGetPaymentsVerifyVpa(ceStorefront, {
373
+ paymentGateway: "JUSPAY",
374
+ });
375
+
376
+ if (!res.ok) {
377
+ throw res.error;
378
+ }
379
+
380
+ const { value: result } = res;
381
+
382
+ // Handle the result
383
+ console.log(result);
384
+ }
385
+
386
+ run();
387
+ ```
388
+
389
+ ### Parameters
390
+
391
+ | Parameter | Type | Required | Description |
392
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
393
+ | `request` | [operations.GetPaymentsVerifyVpaRequest](../../models/operations/getpaymentsverifyvparequest.md) | :heavy_check_mark: | The request object to use for the request. |
154
394
  | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
155
395
  | `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. |
156
396
  | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
157
397
 
158
398
  ### Response
159
399
 
160
- **Promise\<[operations.GetPaymentsPaymentMethodsResponseBody](../../models/operations/getpaymentspaymentmethodsresponsebody.md)\>**
400
+ **Promise\<[operations.GetPaymentsVerifyVpaResponseBody](../../models/operations/getpaymentsverifyvparesponsebody.md)\>**
161
401
 
162
402
  ### Errors
163
403
 
@@ -6,7 +6,7 @@
6
6
  ### Available Operations
7
7
 
8
8
  * [list](#list) - List all products
9
- * [get](#get) - Retrieve a product
9
+ * [get](#get) - Retrieve a product detail
10
10
  * [getSimilar](#getsimilar) - Retrieve similar products
11
11
  * [getUpsells](#getupsells) - Retrieve up-sell products
12
12
  * [getCrossSells](#getcrosssells) - Retrieve cross-sell products
@@ -7,7 +7,7 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
7
7
  import * as operations from "../models/operations/index.js";
8
8
  import { Result } from "../types/fp.js";
9
9
  /**
10
- * Retrieve a product
10
+ * Retrieve a product detail
11
11
  *
12
12
  * @remarks
13
13
  * Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
@@ -10,7 +10,7 @@ import { pathToFunc } from "../lib/url.js";
10
10
  import * as errors from "../models/errors/index.js";
11
11
  import * as operations from "../models/operations/index.js";
12
12
  /**
13
- * Retrieve a product
13
+ * Retrieve a product detail
14
14
  *
15
15
  * @remarks
16
16
  * Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Commerce Engine will return the corresponding product information.
@@ -11,5 +11,5 @@ import { Result } from "../types/fp.js";
11
11
  * @remarks
12
12
  * Retrieve customer detail.
13
13
  */
14
- export declare function customersAPIGetCustomersId(client: CeStorefrontCore, request: operations.GetCustomersIdRequest, options?: RequestOptions): Promise<Result<operations.GetCustomersIdResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
- //# sourceMappingURL=customersAPIGetCustomersId.d.ts.map
14
+ export declare function customersGetCustomersId(client: CeStorefrontCore, request: operations.GetCustomersIdRequest, options?: RequestOptions): Promise<Result<operations.GetCustomersIdResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
+ //# sourceMappingURL=customersGetCustomersId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customersGetCustomersId.d.ts","sourceRoot":"","sources":["../../src/funcs/customersGetCustomersId.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAsFA"}
@@ -14,7 +14,7 @@ import * as operations from "../models/operations/index.js";
14
14
  * @remarks
15
15
  * Retrieve customer detail.
16
16
  */
17
- export async function customersAPIGetCustomersId(client, request, options) {
17
+ export async function customersGetCustomersId(client, request, options) {
18
18
  const parsed = safeParse(request, (value) => operations.GetCustomersIdRequest$outboundSchema.parse(value), "Input validation failed");
19
19
  if (!parsed.ok) {
20
20
  return parsed;
@@ -73,4 +73,4 @@ export async function customersAPIGetCustomersId(client, request, options) {
73
73
  }
74
74
  return result;
75
75
  }
76
- //# sourceMappingURL=customersAPIGetCustomersId.js.map
76
+ //# sourceMappingURL=customersGetCustomersId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customersGetCustomersId.js","sourceRoot":"","sources":["../../src/funcs/customersGetCustomersId.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,MAAwB,EACxB,OAAyC,EACzC,OAAwB;IAaxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,oCA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14
  * Create customer
15
15
  */
16
- export declare function customersAPIPostCustomers(client: CeStorefrontCore, request: components.CreateCustomer, options?: RequestOptions): Promise<Result<operations.PostCustomersResponseBody, errors.BadRequest | errors.Unauthorized | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
17
- //# sourceMappingURL=customersAPIPostCustomers.d.ts.map
16
+ export declare function customersPostCustomers(client: CeStorefrontCore, request: components.CreateCustomer, options?: RequestOptions): Promise<Result<operations.PostCustomersResponseBody, errors.BadRequest | errors.Unauthorized | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
17
+ //# sourceMappingURL=customersPostCustomers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customersPostCustomers.d.ts","sourceRoot":"","sources":["../../src/funcs/customersPostCustomers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,cAAc,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,yBAAyB,EAClC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,YAAY,GACnB,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAwFA"}
@@ -16,7 +16,7 @@ import * as operations from "../models/operations/index.js";
16
16
  * @remarks
17
17
  * Create customer
18
18
  */
19
- export async function customersAPIPostCustomers(client, request, options) {
19
+ export async function customersPostCustomers(client, request, options) {
20
20
  const parsed = safeParse(request, (value) => components.CreateCustomer$outboundSchema.parse(value), "Input validation failed");
21
21
  if (!parsed.ok) {
22
22
  return parsed;
@@ -73,4 +73,4 @@ export async function customersAPIPostCustomers(client, request, options) {
73
73
  }
74
74
  return result;
75
75
  }
76
- //# sourceMappingURL=customersAPIPostCustomers.js.map
76
+ //# sourceMappingURL=customersPostCustomers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customersPostCustomers.js","sourceRoot":"","sources":["../../src/funcs/customersPostCustomers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAS5D,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,MAAwB,EACxB,OAAkC,EAClC,OAAwB;IAexB,MAAM,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AAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -12,5 +12,5 @@ import { Result } from "../types/fp.js";
12
12
  * @remarks
13
13
  * Update customer detail
14
14
  */
15
- export declare function customersAPIPutCustomersId(client: CeStorefrontCore, request: operations.PutCustomersIdRequest, options?: RequestOptions): Promise<Result<operations.PutCustomersIdResponseBody, errors.BadRequest | errors.Unauthorized | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=customersAPIPutCustomersId.d.ts.map
15
+ export declare function customersPutCustomersId(client: CeStorefrontCore, request: operations.PutCustomersIdRequest, options?: RequestOptions): Promise<Result<operations.PutCustomersIdResponseBody, errors.BadRequest | errors.Unauthorized | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=customersPutCustomersId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customersPutCustomersId.d.ts","sourceRoot":"","sources":["../../src/funcs/customersPutCustomersId.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,MAAM,CAAC,UAAU,GACjB,MAAM,CAAC,YAAY,GACnB,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA+FA"}
@@ -15,7 +15,7 @@ import * as operations from "../models/operations/index.js";
15
15
  * @remarks
16
16
  * Update customer detail
17
17
  */
18
- export async function customersAPIPutCustomersId(client, request, options) {
18
+ export async function customersPutCustomersId(client, request, options) {
19
19
  const parsed = safeParse(request, (value) => operations.PutCustomersIdRequest$outboundSchema.parse(value), "Input validation failed");
20
20
  if (!parsed.ok) {
21
21
  return parsed;
@@ -78,4 +78,4 @@ export async function customersAPIPutCustomersId(client, request, options) {
78
78
  }
79
79
  return result;
80
80
  }
81
- //# sourceMappingURL=customersAPIPutCustomersId.js.map
81
+ //# sourceMappingURL=customersPutCustomersId.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customersAPIPostCustomers.js","sourceRoot":"","sources":["../../src/funcs/customersAPIPostCustomers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MA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ChE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,0BAA0B,CAAC,EACjD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -12,5 +12,5 @@ import { Result } from "../types/fp.js";
12
12
  * @remarks
13
13
  * Retrieve customer from juspay.
14
14
  */
15
- export declare function paymentsAPIJuspayGetPaymentsJuspayCustomer(client: CeStorefrontCore, request: operations.GetPaymentsJuspayCustomerRequest, options?: RequestOptions): Promise<Result<operations.GetPaymentsJuspayCustomerResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=paymentsAPIJuspayGetPaymentsJuspayCustomer.d.ts.map
15
+ export declare function juspayGetPaymentsJuspayCustomer(client: CeStorefrontCore, request: operations.GetPaymentsJuspayCustomerRequest, options?: RequestOptions): Promise<Result<operations.GetPaymentsJuspayCustomerResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
+ //# sourceMappingURL=juspayGetPaymentsJuspayCustomer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"juspayGetPaymentsJuspayCustomer.d.ts","sourceRoot":"","sources":["../../src/funcs/juspayGetPaymentsJuspayCustomer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,+BAA+B,CACnD,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,qCAAqC,EAC9C,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,CAiGA"}
@@ -15,7 +15,7 @@ import * as operations from "../models/operations/index.js";
15
15
  * @remarks
16
16
  * Retrieve customer from juspay.
17
17
  */
18
- export async function paymentsAPIJuspayGetPaymentsJuspayCustomer(client, request, options) {
18
+ export async function juspayGetPaymentsJuspayCustomer(client, request, options) {
19
19
  const parsed = safeParse(request, (value) => operations.GetPaymentsJuspayCustomerRequest$outboundSchema.parse(value), "Input validation failed");
20
20
  if (!parsed.ok) {
21
21
  return parsed;
@@ -77,4 +77,4 @@ export async function paymentsAPIJuspayGetPaymentsJuspayCustomer(client, request
77
77
  }
78
78
  return result;
79
79
  }
80
- //# sourceMappingURL=paymentsAPIJuspayGetPaymentsJuspayCustomer.js.map
80
+ //# sourceMappingURL=juspayGetPaymentsJuspayCustomer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"juspayGetPaymentsJuspayCustomer.js","sourceRoot":"","sources":["../../src/funcs/juspayGetPaymentsJuspayCustomer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,+BAA+B,CACnD,MAAwB,EACxB,OAAoD,EACpD,OAAwB;IAgBxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,+CAA+C,CAAC,KAAK,CAAC,KAAK,CAAC,EACzE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,MAAM,UAAU,GAAG;QACjB,SAAS,EAAE,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE;YACrD,OAAO,EAAE,KAAK;YACd,YAAY,EAAE,SAAS;SACxB,CAAC;KACH,CAAC;IAEF,MAAM,IAAI,GAAG,UAAU,CAAC,sCAAsC,CAAC,CAAC,UAAU,CAAC,CAAC;I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,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;QAC/C,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAa5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,mDAAmD,CAAC,EAC3E,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,0BAA0B,CAAC,EACjD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,CAAC,EAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -13,5 +13,5 @@ import { Result } from "../types/fp.js";
13
13
  * @remarks
14
14
  * Create customer in juspay.
15
15
  */
16
- export declare function paymentsAPIJuspayPostPaymentsJuspayCreateCustomer(client: CeStorefrontCore, request: components.JuspayCreateCustomerPayload, options?: RequestOptions): Promise<Result<operations.PostPaymentsJuspayCreateCustomerResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
17
- //# sourceMappingURL=paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.d.ts.map
16
+ export declare function juspayPostPaymentsJuspayCreateCustomer(client: CeStorefrontCore, request: components.JuspayCreateCustomerPayload, options?: RequestOptions): Promise<Result<operations.PostPaymentsJuspayCreateCustomerResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
17
+ //# sourceMappingURL=juspayPostPaymentsJuspayCreateCustomer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"juspayPostPaymentsJuspayCreateCustomer.d.ts","sourceRoot":"","sources":["../../src/funcs/juspayPostPaymentsJuspayCreateCustomer.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,sCAAsC,CAC1D,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,4CAA4C,EACrD,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,CA8FA"}
@@ -16,7 +16,7 @@ import * as operations from "../models/operations/index.js";
16
16
  * @remarks
17
17
  * Create customer in juspay.
18
18
  */
19
- export async function paymentsAPIJuspayPostPaymentsJuspayCreateCustomer(client, request, options) {
19
+ export async function juspayPostPaymentsJuspayCreateCustomer(client, request, options) {
20
20
  const parsed = safeParse(request, (value) => components.JuspayCreateCustomerPayload$outboundSchema.parse(value), "Input validation failed");
21
21
  if (!parsed.ok) {
22
22
  return parsed;
@@ -73,4 +73,4 @@ export async function paymentsAPIJuspayPostPaymentsJuspayCreateCustomer(client,
73
73
  }
74
74
  return result;
75
75
  }
76
- //# sourceMappingURL=paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.js.map
76
+ //# sourceMappingURL=juspayPostPaymentsJuspayCreateCustomer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"juspayPostPaymentsJuspayCreateCustomer.js","sourceRoot":"","sources":["../../src/funcs/juspayPostPaymentsJuspayCreateCustomer.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAA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CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAa5B,CAAC,CAAC,IAAI,CACJ,GAAG,EACH,UAAU,CAAC,0DAA0D,CACtE,EACD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,wBAAwB,CAAC,EAC/C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,0BAA0B,CAAC,EACjD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,CAAC,EAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -14,5 +14,5 @@ import { Result } from "../types/fp.js";
14
14
  * Creates an order in the Juspay system and fetches the corresponding client_auth_token.
15
15
  * To be used for Express Checkout integration.
16
16
  */
17
- export declare function paymentsAPIJuspayPostPaymentsJuspayCreateOrder(client: CeStorefrontCore, request: components.JuspayCreateOrderPayload, options?: RequestOptions): Promise<Result<operations.PostPaymentsJuspayCreateOrderResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
18
- //# sourceMappingURL=paymentsAPIJuspayPostPaymentsJuspayCreateOrder.d.ts.map
17
+ export declare function juspayPostPaymentsJuspayCreateOrder(client: CeStorefrontCore, request: components.JuspayCreateOrderPayload, options?: RequestOptions): Promise<Result<operations.PostPaymentsJuspayCreateOrderResponseBody, errors.BadRequest | errors.Unauthorized | errors.NotFound | CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
18
+ //# sourceMappingURL=juspayPostPaymentsJuspayCreateOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"juspayPostPaymentsJuspayCreateOrder.d.ts","sourceRoot":"","sources":["../../src/funcs/juspayPostPaymentsJuspayCreateOrder.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;GAMG;AACH,wBAAsB,mCAAmC,CACvD,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,yCAAyC,EAClD,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,CA6FA"}
@@ -17,7 +17,7 @@ import * as operations from "../models/operations/index.js";
17
17
  * Creates an order in the Juspay system and fetches the corresponding client_auth_token.
18
18
  * To be used for Express Checkout integration.
19
19
  */
20
- export async function paymentsAPIJuspayPostPaymentsJuspayCreateOrder(client, request, options) {
20
+ export async function juspayPostPaymentsJuspayCreateOrder(client, request, options) {
21
21
  const parsed = safeParse(request, (value) => components.JuspayCreateOrderPayload$outboundSchema.parse(value), "Input validation failed");
22
22
  if (!parsed.ok) {
23
23
  return parsed;
@@ -74,4 +74,4 @@ export async function paymentsAPIJuspayPostPaymentsJuspayCreateOrder(client, req
74
74
  }
75
75
  return result;
76
76
  }
77
- //# sourceMappingURL=paymentsAPIJuspayPostPaymentsJuspayCreateOrder.js.map
77
+ //# sourceMappingURL=juspayPostPaymentsJuspayCreateOrder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"juspayPostPaymentsJuspayCreateOrder.js","sourceRoot":"","sources":["../../src/funcs/juspayPostPaymentsJuspayCreateOrder.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAS5D,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AAEpD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,mCAAmC,CACvD,MAAwB,EACxB,OAA4C,EAC5C,OAAwB;IAgBxB,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,uCAAuC,CAAC,KAAK,CAAC,KAAK,CAAC,EAC1E,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,E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E,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,5 +11,5 @@ import { Result } from "../types/fp.js";
11
11
  * @remarks
12
12
  * Retrieve payment status of a paricular order.
13
13
  */
14
- export declare function ordersAPIGetOrdersIdPaymentStatus(client: CeStorefrontCore, request: operations.GetOrdersIdPaymentStatusRequest, options?: RequestOptions): Promise<Result<operations.GetOrdersIdPaymentStatusResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
- //# sourceMappingURL=ordersAPIGetOrdersIdPaymentStatus.d.ts.map
14
+ export declare function ordersGetOrdersIdPaymentStatus(client: CeStorefrontCore, request: operations.GetOrdersIdPaymentStatusRequest, options?: RequestOptions): Promise<Result<operations.GetOrdersIdPaymentStatusResponseBody, CeError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
+ //# sourceMappingURL=ordersGetOrdersIdPaymentStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ordersGetOrdersIdPaymentStatus.d.ts","sourceRoot":"","sources":["../../src/funcs/ordersGetOrdersIdPaymentStatus.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C,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,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,gBAAgB,EACxB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,oCAAoC,EAC7C,OAAO,GACP,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAuFA"}
@@ -14,7 +14,7 @@ import * as operations from "../models/operations/index.js";
14
14
  * @remarks
15
15
  * Retrieve payment status of a paricular order.
16
16
  */
17
- export async function ordersAPIGetOrdersIdPaymentStatus(client, request, options) {
17
+ export async function ordersGetOrdersIdPaymentStatus(client, request, options) {
18
18
  const parsed = safeParse(request, (value) => operations.GetOrdersIdPaymentStatusRequest$outboundSchema.parse(value), "Input validation failed");
19
19
  if (!parsed.ok) {
20
20
  return parsed;
@@ -73,4 +73,4 @@ export async function ordersAPIGetOrdersIdPaymentStatus(client, request, options
73
73
  }
74
74
  return result;
75
75
  }
76
- //# sourceMappingURL=ordersAPIGetOrdersIdPaymentStatus.js.map
76
+ //# sourceMappingURL=ordersGetOrdersIdPaymentStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ordersGetOrdersIdPaymentStatus.js","sourceRoot":"","sources":["../../src/funcs/ordersGetOrdersIdPaymentStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAA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