ce-storefront 0.3.4 → 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 (233) 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 +2 -2
  55. package/esm/lib/config.js +2 -2
  56. package/esm/models/components/cart.d.ts +1 -1
  57. package/esm/models/components/cart.d.ts.map +1 -1
  58. package/esm/models/components/cart.js +1 -1
  59. package/esm/models/components/cart.js.map +1 -1
  60. package/esm/models/components/createcustomer.d.ts +1 -1
  61. package/esm/models/components/createcustomer.d.ts.map +1 -1
  62. package/esm/models/components/createcustomer.js +1 -1
  63. package/esm/models/components/createcustomer.js.map +1 -1
  64. package/esm/models/components/{customeraddressinput.d.ts → customeraddress.d.ts} +33 -33
  65. package/esm/models/components/customeraddress.d.ts.map +1 -0
  66. package/esm/models/components/{customeraddressinput.js → customeraddress.js} +37 -37
  67. package/esm/models/components/customeraddress.js.map +1 -0
  68. package/esm/models/components/freegoodspromotion.d.ts +2 -2
  69. package/esm/models/components/freegoodspromotion.d.ts.map +1 -1
  70. package/esm/models/components/freegoodspromotion.js +2 -2
  71. package/esm/models/components/freegoodspromotion.js.map +1 -1
  72. package/esm/models/components/index.d.ts +2 -3
  73. package/esm/models/components/index.d.ts.map +1 -1
  74. package/esm/models/components/index.js +2 -3
  75. package/esm/models/components/index.js.map +1 -1
  76. package/esm/models/components/orderdetail.d.ts +1 -1
  77. package/esm/models/components/orderdetail.d.ts.map +1 -1
  78. package/esm/models/components/orderdetail.js +1 -1
  79. package/esm/models/components/orderdetail.js.map +1 -1
  80. package/esm/models/components/{productlist.d.ts → product.d.ts} +14 -16
  81. package/esm/models/components/product.d.ts.map +1 -0
  82. package/esm/models/components/{productlist.js → product.js} +16 -20
  83. package/esm/models/components/product.js.map +1 -0
  84. package/esm/models/components/productdetail.d.ts +4 -4
  85. package/esm/models/components/productdetail.d.ts.map +1 -1
  86. package/esm/models/components/productdetail.js +4 -4
  87. package/esm/models/components/productdetail.js.map +1 -1
  88. package/esm/models/components/productlistresponse.d.ts +3 -3
  89. package/esm/models/components/productlistresponse.d.ts.map +1 -1
  90. package/esm/models/components/productlistresponse.js +3 -3
  91. package/esm/models/components/productlistresponse.js.map +1 -1
  92. package/esm/models/components/productpromotion.d.ts +11 -5
  93. package/esm/models/components/productpromotion.d.ts.map +1 -1
  94. package/esm/models/operations/getpaymentmethods.d.ts +143 -0
  95. package/esm/models/operations/getpaymentmethods.d.ts.map +1 -0
  96. package/esm/models/operations/{getpaymentspaymentmethods.js → getpaymentmethods.js} +42 -44
  97. package/esm/models/operations/getpaymentmethods.js.map +1 -0
  98. package/esm/models/operations/getsimilar.d.ts +2 -27
  99. package/esm/models/operations/getsimilar.d.ts.map +1 -1
  100. package/esm/models/operations/getsimilar.js +2 -27
  101. package/esm/models/operations/getsimilar.js.map +1 -1
  102. package/esm/models/operations/index.d.ts +1 -2
  103. package/esm/models/operations/index.d.ts.map +1 -1
  104. package/esm/models/operations/index.js +1 -2
  105. package/esm/models/operations/index.js.map +1 -1
  106. package/esm/models/operations/postcartitemid.d.ts +15 -15
  107. package/esm/models/operations/postcartitemid.d.ts.map +1 -1
  108. package/esm/models/operations/postcartitemid.js +15 -15
  109. package/esm/models/operations/postcartitemid.js.map +1 -1
  110. package/esm/sdk/{cestorefrontpayments.d.ts → cestorefrontorderspayments.d.ts} +2 -2
  111. package/esm/sdk/cestorefrontorderspayments.d.ts.map +1 -0
  112. package/esm/sdk/{cestorefrontpayments.js → cestorefrontorderspayments.js} +2 -2
  113. package/esm/sdk/cestorefrontorderspayments.js.map +1 -0
  114. package/esm/sdk/customers.d.ts +24 -1
  115. package/esm/sdk/customers.d.ts.map +1 -1
  116. package/esm/sdk/customers.js +31 -0
  117. package/esm/sdk/customers.js.map +1 -1
  118. package/esm/sdk/{paymentsapijuspay.d.ts → juspay.d.ts} +2 -2
  119. package/esm/sdk/juspay.d.ts.map +1 -0
  120. package/esm/sdk/{paymentsapijuspay.js → juspay.js} +8 -8
  121. package/esm/sdk/juspay.js.map +1 -0
  122. package/esm/sdk/orders.d.ts +9 -2
  123. package/esm/sdk/orders.d.ts.map +1 -1
  124. package/esm/sdk/orders.js +12 -2
  125. package/esm/sdk/orders.js.map +1 -1
  126. package/esm/sdk/payments.d.ts +23 -1
  127. package/esm/sdk/payments.d.ts.map +1 -1
  128. package/esm/sdk/payments.js +31 -0
  129. package/esm/sdk/payments.js.map +1 -1
  130. package/esm/sdk/products.d.ts +1 -1
  131. package/esm/sdk/products.js +1 -1
  132. package/esm/sdk/sdk.d.ts +3 -12
  133. package/esm/sdk/sdk.d.ts.map +1 -1
  134. package/esm/sdk/sdk.js +3 -15
  135. package/esm/sdk/sdk.js.map +1 -1
  136. package/jsr.json +1 -1
  137. package/package.json +1 -1
  138. package/src/funcs/catalogProductsGet.ts +1 -1
  139. package/src/funcs/{customersAPIGetCustomersId.ts → customersGetCustomersId.ts} +1 -1
  140. package/src/funcs/{customersAPIPostCustomers.ts → customersPostCustomers.ts} +1 -1
  141. package/src/funcs/{customersAPIPutCustomersId.ts → customersPutCustomersId.ts} +1 -1
  142. package/src/funcs/{paymentsAPIJuspayGetPaymentsJuspayCustomer.ts → juspayGetPaymentsJuspayCustomer.ts} +1 -1
  143. package/src/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.ts → juspayPostPaymentsJuspayCreateCustomer.ts} +1 -1
  144. package/src/funcs/{paymentsAPIJuspayPostPaymentsJuspayCreateOrder.ts → juspayPostPaymentsJuspayCreateOrder.ts} +1 -1
  145. package/src/funcs/{ordersAPIGetOrdersIdPaymentStatus.ts → ordersGetOrdersIdPaymentStatus.ts} +1 -1
  146. package/src/funcs/paymentsGetMethods.ts +6 -7
  147. package/src/funcs/{paymentsAPIGetPaymentsCards.ts → paymentsGetPaymentsCards.ts} +1 -1
  148. package/src/funcs/{paymentsAPIGetPaymentsVerifyVpa.ts → paymentsGetPaymentsVerifyVpa.ts} +1 -1
  149. package/src/funcs/{paymentsAPIPostPaymentsCards.ts → paymentsPostPaymentsCards.ts} +1 -1
  150. package/src/lib/config.ts +2 -2
  151. package/src/models/components/cart.ts +1 -1
  152. package/src/models/components/createcustomer.ts +1 -1
  153. package/src/models/components/freegoodspromotion.ts +4 -4
  154. package/src/models/components/index.ts +2 -3
  155. package/src/models/components/orderdetail.ts +1 -1
  156. package/src/models/components/{productlist.ts → product.ts} +73 -78
  157. package/src/models/components/productdetail.ts +8 -8
  158. package/src/models/components/productlistresponse.ts +9 -9
  159. package/src/models/operations/{getpaymentspaymentmethods.ts → getpaymentmethods.ts} +68 -77
  160. package/src/models/operations/getsimilar.ts +4 -62
  161. package/src/models/operations/index.ts +1 -2
  162. package/src/models/operations/postcartitemid.ts +27 -25
  163. package/src/sdk/{cestorefrontpayments.ts → cestorefrontorderspayments.ts} +1 -1
  164. package/src/sdk/customers.ts +58 -1
  165. package/src/sdk/{paymentsapijuspay.ts → juspay.ts} +7 -7
  166. package/src/sdk/orders.ts +22 -4
  167. package/src/sdk/payments.ts +57 -2
  168. package/src/sdk/products.ts +1 -1
  169. package/src/sdk/sdk.ts +4 -22
  170. package/docs/sdks/customersapi/README.md +0 -321
  171. package/docs/sdks/ordersapi/README.md +0 -86
  172. package/docs/sdks/paymentsapi/README.md +0 -247
  173. package/esm/funcs/customersAPIGetCustomersId.d.ts.map +0 -1
  174. package/esm/funcs/customersAPIGetCustomersId.js.map +0 -1
  175. package/esm/funcs/customersAPIGetRecommendedProducts.d.ts +0 -16
  176. package/esm/funcs/customersAPIGetRecommendedProducts.d.ts.map +0 -1
  177. package/esm/funcs/customersAPIGetRecommendedProducts.js +0 -80
  178. package/esm/funcs/customersAPIGetRecommendedProducts.js.map +0 -1
  179. package/esm/funcs/customersAPIPostCustomers.d.ts.map +0 -1
  180. package/esm/funcs/customersAPIPutCustomersId.d.ts.map +0 -1
  181. package/esm/funcs/customersAPIPutCustomersId.js.map +0 -1
  182. package/esm/funcs/ordersAPIGetOrdersIdPaymentStatus.d.ts.map +0 -1
  183. package/esm/funcs/ordersAPIGetOrdersIdPaymentStatus.js.map +0 -1
  184. package/esm/funcs/paymentsAPIGetPaymentsCards.d.ts.map +0 -1
  185. package/esm/funcs/paymentsAPIGetPaymentsCards.js.map +0 -1
  186. package/esm/funcs/paymentsAPIGetPaymentsVerifyVpa.d.ts.map +0 -1
  187. package/esm/funcs/paymentsAPIGetPaymentsVerifyVpa.js.map +0 -1
  188. package/esm/funcs/paymentsAPIJuspayGetPaymentsJuspayCustomer.d.ts.map +0 -1
  189. package/esm/funcs/paymentsAPIJuspayGetPaymentsJuspayCustomer.js.map +0 -1
  190. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.d.ts.map +0 -1
  191. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateCustomer.js.map +0 -1
  192. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateOrder.d.ts.map +0 -1
  193. package/esm/funcs/paymentsAPIJuspayPostPaymentsJuspayCreateOrder.js.map +0 -1
  194. package/esm/funcs/paymentsAPIPostPaymentsCards.d.ts.map +0 -1
  195. package/esm/funcs/paymentsAPIPostPaymentsCards.js.map +0 -1
  196. package/esm/models/components/customeraddressinput.d.ts.map +0 -1
  197. package/esm/models/components/customeraddressinput.js.map +0 -1
  198. package/esm/models/components/productlist.d.ts.map +0 -1
  199. package/esm/models/components/productlist.js.map +0 -1
  200. package/esm/models/components/recommendedproduct.d.ts +0 -155
  201. package/esm/models/components/recommendedproduct.d.ts.map +0 -1
  202. package/esm/models/components/recommendedproduct.js +0 -193
  203. package/esm/models/components/recommendedproduct.js.map +0 -1
  204. package/esm/models/operations/getpaymentspaymentmethods.d.ts +0 -143
  205. package/esm/models/operations/getpaymentspaymentmethods.d.ts.map +0 -1
  206. package/esm/models/operations/getpaymentspaymentmethods.js.map +0 -1
  207. package/esm/models/operations/getrecommendedproducts.d.ts +0 -90
  208. package/esm/models/operations/getrecommendedproducts.d.ts.map +0 -1
  209. package/esm/models/operations/getrecommendedproducts.js +0 -87
  210. package/esm/models/operations/getrecommendedproducts.js.map +0 -1
  211. package/esm/sdk/cestorefrontpayments.d.ts.map +0 -1
  212. package/esm/sdk/cestorefrontpayments.js.map +0 -1
  213. package/esm/sdk/customersapi.d.ts +0 -34
  214. package/esm/sdk/customersapi.d.ts.map +0 -1
  215. package/esm/sdk/customersapi.js +0 -48
  216. package/esm/sdk/customersapi.js.map +0 -1
  217. package/esm/sdk/ordersapi.d.ts +0 -12
  218. package/esm/sdk/ordersapi.d.ts.map +0 -1
  219. package/esm/sdk/ordersapi.js +0 -18
  220. package/esm/sdk/ordersapi.js.map +0 -1
  221. package/esm/sdk/paymentsapi.d.ts +0 -27
  222. package/esm/sdk/paymentsapi.d.ts.map +0 -1
  223. package/esm/sdk/paymentsapi.js +0 -39
  224. package/esm/sdk/paymentsapi.js.map +0 -1
  225. package/esm/sdk/paymentsapijuspay.d.ts.map +0 -1
  226. package/esm/sdk/paymentsapijuspay.js.map +0 -1
  227. package/src/funcs/customersAPIGetRecommendedProducts.ts +0 -144
  228. package/src/models/components/recommendedproduct.ts +0 -385
  229. package/src/models/operations/getrecommendedproducts.ts +0 -206
  230. package/src/sdk/customersapi.ts +0 -82
  231. package/src/sdk/ordersapi.ts +0 -27
  232. package/src/sdk/paymentsapi.ts +0 -64
  233. package/src/models/components/{customeraddressinput.ts → customeraddress.ts} +60 -60
@@ -1,155 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- import { ProductAttribute, ProductAttribute$Outbound } from "./productattribute.js";
6
- import { ProductBundleItem, ProductBundleItem$Outbound } from "./productbundleitem.js";
7
- import { ProductImage, ProductImage$Outbound } from "./productimage.js";
8
- import { ProductPricing, ProductPricing$Outbound } from "./productpricing.js";
9
- import { ProductPromotion, ProductPromotion$Outbound } from "./productpromotion.js";
10
- import { ProductShipping, ProductShipping$Outbound } from "./productshipping.js";
11
- import { ProductSubscription, ProductSubscription$Outbound } from "./productsubscription.js";
12
- import { Variant, Variant$Outbound } from "./variant.js";
13
- export declare const RecommendedProductProductType: {
14
- readonly Physical: "physical";
15
- readonly Digital: "digital";
16
- readonly Bundle: "bundle";
17
- };
18
- export type RecommendedProductProductType = ClosedEnum<typeof RecommendedProductProductType>;
19
- export type RecommendedProductVariantOptions = {
20
- optionName?: string | undefined;
21
- optionValue?: Array<string> | undefined;
22
- };
23
- export type RecommendedProduct = {
24
- /**
25
- * The ULID of the product
26
- */
27
- id?: string | undefined;
28
- name?: string | undefined;
29
- description?: string | undefined;
30
- shortDescription?: string | undefined;
31
- productType?: RecommendedProductProductType | undefined;
32
- active?: boolean | undefined;
33
- sku?: string | undefined;
34
- stockAvailable?: boolean | undefined;
35
- isFeatured?: boolean | undefined;
36
- onOffer?: boolean | undefined;
37
- onSubscription?: boolean | undefined;
38
- onPromotion?: boolean | undefined;
39
- hasVariant?: boolean | undefined;
40
- /**
41
- * this will be used if has_variant is true, to auto set default values.
42
- */
43
- variantOptions?: Array<RecommendedProductVariantOptions> | null | undefined;
44
- attributes?: Array<ProductAttribute> | undefined;
45
- images?: Array<ProductImage> | undefined;
46
- pricing?: ProductPricing | undefined;
47
- shipping?: ProductShipping | undefined;
48
- tags?: Array<string> | null | undefined;
49
- categoryIds?: Array<string> | undefined;
50
- reviewsRatingSum?: number | undefined;
51
- reviewsCount?: number | undefined;
52
- hsnCode?: string | undefined;
53
- createdAt?: Date | undefined;
54
- modifiedAt?: Date | undefined;
55
- promotion?: Array<ProductPromotion> | undefined;
56
- subscription?: Array<ProductSubscription> | undefined;
57
- bundleItems?: Array<ProductBundleItem> | undefined;
58
- variants?: Array<Variant> | undefined;
59
- };
60
- /** @internal */
61
- export declare const RecommendedProductProductType$inboundSchema: z.ZodNativeEnum<typeof RecommendedProductProductType>;
62
- /** @internal */
63
- export declare const RecommendedProductProductType$outboundSchema: z.ZodNativeEnum<typeof RecommendedProductProductType>;
64
- /**
65
- * @internal
66
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
- */
68
- export declare namespace RecommendedProductProductType$ {
69
- /** @deprecated use `RecommendedProductProductType$inboundSchema` instead. */
70
- const inboundSchema: z.ZodNativeEnum<{
71
- readonly Physical: "physical";
72
- readonly Digital: "digital";
73
- readonly Bundle: "bundle";
74
- }>;
75
- /** @deprecated use `RecommendedProductProductType$outboundSchema` instead. */
76
- const outboundSchema: z.ZodNativeEnum<{
77
- readonly Physical: "physical";
78
- readonly Digital: "digital";
79
- readonly Bundle: "bundle";
80
- }>;
81
- }
82
- /** @internal */
83
- export declare const RecommendedProductVariantOptions$inboundSchema: z.ZodType<RecommendedProductVariantOptions, z.ZodTypeDef, unknown>;
84
- /** @internal */
85
- export type RecommendedProductVariantOptions$Outbound = {
86
- option_name?: string | undefined;
87
- option_value?: Array<string> | undefined;
88
- };
89
- /** @internal */
90
- export declare const RecommendedProductVariantOptions$outboundSchema: z.ZodType<RecommendedProductVariantOptions$Outbound, z.ZodTypeDef, RecommendedProductVariantOptions>;
91
- /**
92
- * @internal
93
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
94
- */
95
- export declare namespace RecommendedProductVariantOptions$ {
96
- /** @deprecated use `RecommendedProductVariantOptions$inboundSchema` instead. */
97
- const inboundSchema: z.ZodType<RecommendedProductVariantOptions, z.ZodTypeDef, unknown>;
98
- /** @deprecated use `RecommendedProductVariantOptions$outboundSchema` instead. */
99
- const outboundSchema: z.ZodType<RecommendedProductVariantOptions$Outbound, z.ZodTypeDef, RecommendedProductVariantOptions>;
100
- /** @deprecated use `RecommendedProductVariantOptions$Outbound` instead. */
101
- type Outbound = RecommendedProductVariantOptions$Outbound;
102
- }
103
- export declare function recommendedProductVariantOptionsToJSON(recommendedProductVariantOptions: RecommendedProductVariantOptions): string;
104
- export declare function recommendedProductVariantOptionsFromJSON(jsonString: string): SafeParseResult<RecommendedProductVariantOptions, SDKValidationError>;
105
- /** @internal */
106
- export declare const RecommendedProduct$inboundSchema: z.ZodType<RecommendedProduct, z.ZodTypeDef, unknown>;
107
- /** @internal */
108
- export type RecommendedProduct$Outbound = {
109
- id?: string | undefined;
110
- name?: string | undefined;
111
- description?: string | undefined;
112
- short_description?: string | undefined;
113
- product_type?: string | undefined;
114
- active: boolean;
115
- sku?: string | undefined;
116
- stock_available: boolean;
117
- is_featured: boolean;
118
- on_offer: boolean;
119
- on_subscription: boolean;
120
- on_promotion: boolean;
121
- has_variant: boolean;
122
- variant_options?: Array<RecommendedProductVariantOptions$Outbound> | null | undefined;
123
- attributes?: Array<ProductAttribute$Outbound> | undefined;
124
- images?: Array<ProductImage$Outbound> | undefined;
125
- pricing?: ProductPricing$Outbound | undefined;
126
- shipping?: ProductShipping$Outbound | undefined;
127
- tags?: Array<string> | null | undefined;
128
- category_ids?: Array<string> | undefined;
129
- reviews_rating_sum?: number | undefined;
130
- reviews_count?: number | undefined;
131
- hsn_code?: string | undefined;
132
- created_at?: string | undefined;
133
- modified_at?: string | undefined;
134
- promotion?: Array<ProductPromotion$Outbound> | undefined;
135
- subscription?: Array<ProductSubscription$Outbound> | undefined;
136
- bundle_items?: Array<ProductBundleItem$Outbound> | undefined;
137
- variants?: Array<Variant$Outbound> | undefined;
138
- };
139
- /** @internal */
140
- export declare const RecommendedProduct$outboundSchema: z.ZodType<RecommendedProduct$Outbound, z.ZodTypeDef, RecommendedProduct>;
141
- /**
142
- * @internal
143
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
144
- */
145
- export declare namespace RecommendedProduct$ {
146
- /** @deprecated use `RecommendedProduct$inboundSchema` instead. */
147
- const inboundSchema: z.ZodType<RecommendedProduct, z.ZodTypeDef, unknown>;
148
- /** @deprecated use `RecommendedProduct$outboundSchema` instead. */
149
- const outboundSchema: z.ZodType<RecommendedProduct$Outbound, z.ZodTypeDef, RecommendedProduct>;
150
- /** @deprecated use `RecommendedProduct$Outbound` instead. */
151
- type Outbound = RecommendedProduct$Outbound;
152
- }
153
- export declare function recommendedProductToJSON(recommendedProduct: RecommendedProduct): string;
154
- export declare function recommendedProductFromJSON(jsonString: string): SafeParseResult<RecommendedProduct, SDKValidationError>;
155
- //# sourceMappingURL=recommendedproduct.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendedproduct.d.ts","sourceRoot":"","sources":["../../../src/models/components/recommendedproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM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C,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAoDlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -1,193 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod";
5
- import { remap as remap$ } from "../../lib/primitives.js";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import { ProductAttribute$inboundSchema, ProductAttribute$outboundSchema, } from "./productattribute.js";
8
- import { ProductBundleItem$inboundSchema, ProductBundleItem$outboundSchema, } from "./productbundleitem.js";
9
- import { ProductImage$inboundSchema, ProductImage$outboundSchema, } from "./productimage.js";
10
- import { ProductPricing$inboundSchema, ProductPricing$outboundSchema, } from "./productpricing.js";
11
- import { ProductPromotion$inboundSchema, ProductPromotion$outboundSchema, } from "./productpromotion.js";
12
- import { ProductShipping$inboundSchema, ProductShipping$outboundSchema, } from "./productshipping.js";
13
- import { ProductSubscription$inboundSchema, ProductSubscription$outboundSchema, } from "./productsubscription.js";
14
- import { Variant$inboundSchema, Variant$outboundSchema, } from "./variant.js";
15
- export const RecommendedProductProductType = {
16
- Physical: "physical",
17
- Digital: "digital",
18
- Bundle: "bundle",
19
- };
20
- /** @internal */
21
- export const RecommendedProductProductType$inboundSchema = z.nativeEnum(RecommendedProductProductType);
22
- /** @internal */
23
- export const RecommendedProductProductType$outboundSchema = RecommendedProductProductType$inboundSchema;
24
- /**
25
- * @internal
26
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
27
- */
28
- export var RecommendedProductProductType$;
29
- (function (RecommendedProductProductType$) {
30
- /** @deprecated use `RecommendedProductProductType$inboundSchema` instead. */
31
- RecommendedProductProductType$.inboundSchema = RecommendedProductProductType$inboundSchema;
32
- /** @deprecated use `RecommendedProductProductType$outboundSchema` instead. */
33
- RecommendedProductProductType$.outboundSchema = RecommendedProductProductType$outboundSchema;
34
- })(RecommendedProductProductType$ || (RecommendedProductProductType$ = {}));
35
- /** @internal */
36
- export const RecommendedProductVariantOptions$inboundSchema = z.object({
37
- option_name: z.string().optional(),
38
- option_value: z.array(z.string()).optional(),
39
- }).transform((v) => {
40
- return remap$(v, {
41
- "option_name": "optionName",
42
- "option_value": "optionValue",
43
- });
44
- });
45
- /** @internal */
46
- export const RecommendedProductVariantOptions$outboundSchema = z.object({
47
- optionName: z.string().optional(),
48
- optionValue: z.array(z.string()).optional(),
49
- }).transform((v) => {
50
- return remap$(v, {
51
- optionName: "option_name",
52
- optionValue: "option_value",
53
- });
54
- });
55
- /**
56
- * @internal
57
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
58
- */
59
- export var RecommendedProductVariantOptions$;
60
- (function (RecommendedProductVariantOptions$) {
61
- /** @deprecated use `RecommendedProductVariantOptions$inboundSchema` instead. */
62
- RecommendedProductVariantOptions$.inboundSchema = RecommendedProductVariantOptions$inboundSchema;
63
- /** @deprecated use `RecommendedProductVariantOptions$outboundSchema` instead. */
64
- RecommendedProductVariantOptions$.outboundSchema = RecommendedProductVariantOptions$outboundSchema;
65
- })(RecommendedProductVariantOptions$ || (RecommendedProductVariantOptions$ = {}));
66
- export function recommendedProductVariantOptionsToJSON(recommendedProductVariantOptions) {
67
- return JSON.stringify(RecommendedProductVariantOptions$outboundSchema.parse(recommendedProductVariantOptions));
68
- }
69
- export function recommendedProductVariantOptionsFromJSON(jsonString) {
70
- return safeParse(jsonString, (x) => RecommendedProductVariantOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RecommendedProductVariantOptions' from JSON`);
71
- }
72
- /** @internal */
73
- export const RecommendedProduct$inboundSchema = z.object({
74
- id: z.string().optional(),
75
- name: z.string().optional(),
76
- description: z.string().optional(),
77
- short_description: z.string().optional(),
78
- product_type: RecommendedProductProductType$inboundSchema.optional(),
79
- active: z.boolean().default(true),
80
- sku: z.string().optional(),
81
- stock_available: z.boolean().default(true),
82
- is_featured: z.boolean().default(false),
83
- on_offer: z.boolean().default(false),
84
- on_subscription: z.boolean().default(false),
85
- on_promotion: z.boolean().default(false),
86
- has_variant: z.boolean().default(false),
87
- variant_options: z.nullable(z.array(z.lazy(() => RecommendedProductVariantOptions$inboundSchema))).optional(),
88
- attributes: z.array(ProductAttribute$inboundSchema).optional(),
89
- images: z.array(ProductImage$inboundSchema).optional(),
90
- pricing: ProductPricing$inboundSchema.optional(),
91
- shipping: ProductShipping$inboundSchema.optional(),
92
- tags: z.nullable(z.array(z.string())).optional(),
93
- category_ids: z.array(z.string()).optional(),
94
- reviews_rating_sum: z.number().optional(),
95
- reviews_count: z.number().int().optional(),
96
- hsn_code: z.string().optional(),
97
- created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
98
- .optional(),
99
- modified_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
100
- .optional(),
101
- promotion: z.array(ProductPromotion$inboundSchema).optional(),
102
- subscription: z.array(ProductSubscription$inboundSchema).optional(),
103
- bundle_items: z.array(ProductBundleItem$inboundSchema).optional(),
104
- variants: z.array(Variant$inboundSchema).optional(),
105
- }).transform((v) => {
106
- return remap$(v, {
107
- "short_description": "shortDescription",
108
- "product_type": "productType",
109
- "stock_available": "stockAvailable",
110
- "is_featured": "isFeatured",
111
- "on_offer": "onOffer",
112
- "on_subscription": "onSubscription",
113
- "on_promotion": "onPromotion",
114
- "has_variant": "hasVariant",
115
- "variant_options": "variantOptions",
116
- "category_ids": "categoryIds",
117
- "reviews_rating_sum": "reviewsRatingSum",
118
- "reviews_count": "reviewsCount",
119
- "hsn_code": "hsnCode",
120
- "created_at": "createdAt",
121
- "modified_at": "modifiedAt",
122
- "bundle_items": "bundleItems",
123
- });
124
- });
125
- /** @internal */
126
- export const RecommendedProduct$outboundSchema = z.object({
127
- id: z.string().optional(),
128
- name: z.string().optional(),
129
- description: z.string().optional(),
130
- shortDescription: z.string().optional(),
131
- productType: RecommendedProductProductType$outboundSchema.optional(),
132
- active: z.boolean().default(true),
133
- sku: z.string().optional(),
134
- stockAvailable: z.boolean().default(true),
135
- isFeatured: z.boolean().default(false),
136
- onOffer: z.boolean().default(false),
137
- onSubscription: z.boolean().default(false),
138
- onPromotion: z.boolean().default(false),
139
- hasVariant: z.boolean().default(false),
140
- variantOptions: z.nullable(z.array(z.lazy(() => RecommendedProductVariantOptions$outboundSchema))).optional(),
141
- attributes: z.array(ProductAttribute$outboundSchema).optional(),
142
- images: z.array(ProductImage$outboundSchema).optional(),
143
- pricing: ProductPricing$outboundSchema.optional(),
144
- shipping: ProductShipping$outboundSchema.optional(),
145
- tags: z.nullable(z.array(z.string())).optional(),
146
- categoryIds: z.array(z.string()).optional(),
147
- reviewsRatingSum: z.number().optional(),
148
- reviewsCount: z.number().int().optional(),
149
- hsnCode: z.string().optional(),
150
- createdAt: z.date().transform(v => v.toISOString()).optional(),
151
- modifiedAt: z.date().transform(v => v.toISOString()).optional(),
152
- promotion: z.array(ProductPromotion$outboundSchema).optional(),
153
- subscription: z.array(ProductSubscription$outboundSchema).optional(),
154
- bundleItems: z.array(ProductBundleItem$outboundSchema).optional(),
155
- variants: z.array(Variant$outboundSchema).optional(),
156
- }).transform((v) => {
157
- return remap$(v, {
158
- shortDescription: "short_description",
159
- productType: "product_type",
160
- stockAvailable: "stock_available",
161
- isFeatured: "is_featured",
162
- onOffer: "on_offer",
163
- onSubscription: "on_subscription",
164
- onPromotion: "on_promotion",
165
- hasVariant: "has_variant",
166
- variantOptions: "variant_options",
167
- categoryIds: "category_ids",
168
- reviewsRatingSum: "reviews_rating_sum",
169
- reviewsCount: "reviews_count",
170
- hsnCode: "hsn_code",
171
- createdAt: "created_at",
172
- modifiedAt: "modified_at",
173
- bundleItems: "bundle_items",
174
- });
175
- });
176
- /**
177
- * @internal
178
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
179
- */
180
- export var RecommendedProduct$;
181
- (function (RecommendedProduct$) {
182
- /** @deprecated use `RecommendedProduct$inboundSchema` instead. */
183
- RecommendedProduct$.inboundSchema = RecommendedProduct$inboundSchema;
184
- /** @deprecated use `RecommendedProduct$outboundSchema` instead. */
185
- RecommendedProduct$.outboundSchema = RecommendedProduct$outboundSchema;
186
- })(RecommendedProduct$ || (RecommendedProduct$ = {}));
187
- export function recommendedProductToJSON(recommendedProduct) {
188
- return JSON.stringify(RecommendedProduct$outboundSchema.parse(recommendedProduct));
189
- }
190
- export function recommendedProductFromJSON(jsonString) {
191
- return safeParse(jsonString, (x) => RecommendedProduct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RecommendedProduct' from JSON`);
192
- }
193
- //# sourceMappingURL=recommendedproduct.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"recommendedproduct.js","sourceRoot":"","sources":["../../../src/models/components/recommendedproduct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,+BAA+B,EAE/B,gCAAgC,GACjC,MAAM,wBA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O,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
@@ -1,143 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import * as components from "../components/index.js";
5
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
6
- /**
7
- * payment gateway code
8
- */
9
- export declare const QueryParamPaymentGateway: {
10
- readonly Payu: "PAYU";
11
- readonly Juspay: "JUSPAY";
12
- };
13
- /**
14
- * payment gateway code
15
- */
16
- export type QueryParamPaymentGateway = ClosedEnum<typeof QueryParamPaymentGateway>;
17
- export type GetPaymentsPaymentMethodsRequest = {
18
- /**
19
- * payment gateway code
20
- */
21
- paymentGateway: QueryParamPaymentGateway;
22
- };
23
- export type PaymentMethods = components.JuspayPaymentMethod | components.PayuPaymentMethod;
24
- export type GetPaymentsPaymentMethodsContent = {
25
- paymentMethods?: Array<components.JuspayPaymentMethod | components.PayuPaymentMethod> | undefined;
26
- };
27
- /**
28
- * OK
29
- */
30
- export type GetPaymentsPaymentMethodsResponseBody = {
31
- message?: string | undefined;
32
- success?: boolean | undefined;
33
- content?: GetPaymentsPaymentMethodsContent | undefined;
34
- };
35
- /** @internal */
36
- export declare const QueryParamPaymentGateway$inboundSchema: z.ZodNativeEnum<typeof QueryParamPaymentGateway>;
37
- /** @internal */
38
- export declare const QueryParamPaymentGateway$outboundSchema: z.ZodNativeEnum<typeof QueryParamPaymentGateway>;
39
- /**
40
- * @internal
41
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
42
- */
43
- export declare namespace QueryParamPaymentGateway$ {
44
- /** @deprecated use `QueryParamPaymentGateway$inboundSchema` instead. */
45
- const inboundSchema: z.ZodNativeEnum<{
46
- readonly Payu: "PAYU";
47
- readonly Juspay: "JUSPAY";
48
- }>;
49
- /** @deprecated use `QueryParamPaymentGateway$outboundSchema` instead. */
50
- const outboundSchema: z.ZodNativeEnum<{
51
- readonly Payu: "PAYU";
52
- readonly Juspay: "JUSPAY";
53
- }>;
54
- }
55
- /** @internal */
56
- export declare const GetPaymentsPaymentMethodsRequest$inboundSchema: z.ZodType<GetPaymentsPaymentMethodsRequest, z.ZodTypeDef, unknown>;
57
- /** @internal */
58
- export type GetPaymentsPaymentMethodsRequest$Outbound = {
59
- payment_gateway: string;
60
- };
61
- /** @internal */
62
- export declare const GetPaymentsPaymentMethodsRequest$outboundSchema: z.ZodType<GetPaymentsPaymentMethodsRequest$Outbound, z.ZodTypeDef, GetPaymentsPaymentMethodsRequest>;
63
- /**
64
- * @internal
65
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
- */
67
- export declare namespace GetPaymentsPaymentMethodsRequest$ {
68
- /** @deprecated use `GetPaymentsPaymentMethodsRequest$inboundSchema` instead. */
69
- const inboundSchema: z.ZodType<GetPaymentsPaymentMethodsRequest, z.ZodTypeDef, unknown>;
70
- /** @deprecated use `GetPaymentsPaymentMethodsRequest$outboundSchema` instead. */
71
- const outboundSchema: z.ZodType<GetPaymentsPaymentMethodsRequest$Outbound, z.ZodTypeDef, GetPaymentsPaymentMethodsRequest>;
72
- /** @deprecated use `GetPaymentsPaymentMethodsRequest$Outbound` instead. */
73
- type Outbound = GetPaymentsPaymentMethodsRequest$Outbound;
74
- }
75
- export declare function getPaymentsPaymentMethodsRequestToJSON(getPaymentsPaymentMethodsRequest: GetPaymentsPaymentMethodsRequest): string;
76
- export declare function getPaymentsPaymentMethodsRequestFromJSON(jsonString: string): SafeParseResult<GetPaymentsPaymentMethodsRequest, SDKValidationError>;
77
- /** @internal */
78
- export declare const PaymentMethods$inboundSchema: z.ZodType<PaymentMethods, z.ZodTypeDef, unknown>;
79
- /** @internal */
80
- export type PaymentMethods$Outbound = components.JuspayPaymentMethod$Outbound | components.PayuPaymentMethod$Outbound;
81
- /** @internal */
82
- export declare const PaymentMethods$outboundSchema: z.ZodType<PaymentMethods$Outbound, z.ZodTypeDef, PaymentMethods>;
83
- /**
84
- * @internal
85
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
86
- */
87
- export declare namespace PaymentMethods$ {
88
- /** @deprecated use `PaymentMethods$inboundSchema` instead. */
89
- const inboundSchema: z.ZodType<PaymentMethods, z.ZodTypeDef, unknown>;
90
- /** @deprecated use `PaymentMethods$outboundSchema` instead. */
91
- const outboundSchema: z.ZodType<PaymentMethods$Outbound, z.ZodTypeDef, PaymentMethods>;
92
- /** @deprecated use `PaymentMethods$Outbound` instead. */
93
- type Outbound = PaymentMethods$Outbound;
94
- }
95
- export declare function paymentMethodsToJSON(paymentMethods: PaymentMethods): string;
96
- export declare function paymentMethodsFromJSON(jsonString: string): SafeParseResult<PaymentMethods, SDKValidationError>;
97
- /** @internal */
98
- export declare const GetPaymentsPaymentMethodsContent$inboundSchema: z.ZodType<GetPaymentsPaymentMethodsContent, z.ZodTypeDef, unknown>;
99
- /** @internal */
100
- export type GetPaymentsPaymentMethodsContent$Outbound = {
101
- payment_methods?: Array<components.JuspayPaymentMethod$Outbound | components.PayuPaymentMethod$Outbound> | undefined;
102
- };
103
- /** @internal */
104
- export declare const GetPaymentsPaymentMethodsContent$outboundSchema: z.ZodType<GetPaymentsPaymentMethodsContent$Outbound, z.ZodTypeDef, GetPaymentsPaymentMethodsContent>;
105
- /**
106
- * @internal
107
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
- */
109
- export declare namespace GetPaymentsPaymentMethodsContent$ {
110
- /** @deprecated use `GetPaymentsPaymentMethodsContent$inboundSchema` instead. */
111
- const inboundSchema: z.ZodType<GetPaymentsPaymentMethodsContent, z.ZodTypeDef, unknown>;
112
- /** @deprecated use `GetPaymentsPaymentMethodsContent$outboundSchema` instead. */
113
- const outboundSchema: z.ZodType<GetPaymentsPaymentMethodsContent$Outbound, z.ZodTypeDef, GetPaymentsPaymentMethodsContent>;
114
- /** @deprecated use `GetPaymentsPaymentMethodsContent$Outbound` instead. */
115
- type Outbound = GetPaymentsPaymentMethodsContent$Outbound;
116
- }
117
- export declare function getPaymentsPaymentMethodsContentToJSON(getPaymentsPaymentMethodsContent: GetPaymentsPaymentMethodsContent): string;
118
- export declare function getPaymentsPaymentMethodsContentFromJSON(jsonString: string): SafeParseResult<GetPaymentsPaymentMethodsContent, SDKValidationError>;
119
- /** @internal */
120
- export declare const GetPaymentsPaymentMethodsResponseBody$inboundSchema: z.ZodType<GetPaymentsPaymentMethodsResponseBody, z.ZodTypeDef, unknown>;
121
- /** @internal */
122
- export type GetPaymentsPaymentMethodsResponseBody$Outbound = {
123
- message?: string | undefined;
124
- success?: boolean | undefined;
125
- content?: GetPaymentsPaymentMethodsContent$Outbound | undefined;
126
- };
127
- /** @internal */
128
- export declare const GetPaymentsPaymentMethodsResponseBody$outboundSchema: z.ZodType<GetPaymentsPaymentMethodsResponseBody$Outbound, z.ZodTypeDef, GetPaymentsPaymentMethodsResponseBody>;
129
- /**
130
- * @internal
131
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
132
- */
133
- export declare namespace GetPaymentsPaymentMethodsResponseBody$ {
134
- /** @deprecated use `GetPaymentsPaymentMethodsResponseBody$inboundSchema` instead. */
135
- const inboundSchema: z.ZodType<GetPaymentsPaymentMethodsResponseBody, z.ZodTypeDef, unknown>;
136
- /** @deprecated use `GetPaymentsPaymentMethodsResponseBody$outboundSchema` instead. */
137
- const outboundSchema: z.ZodType<GetPaymentsPaymentMethodsResponseBody$Outbound, z.ZodTypeDef, GetPaymentsPaymentMethodsResponseBody>;
138
- /** @deprecated use `GetPaymentsPaymentMethodsResponseBody$Outbound` instead. */
139
- type Outbound = GetPaymentsPaymentMethodsResponseBody$Outbound;
140
- }
141
- export declare function getPaymentsPaymentMethodsResponseBodyToJSON(getPaymentsPaymentMethodsResponseBody: GetPaymentsPaymentMethodsResponseBody): string;
142
- export declare function getPaymentsPaymentMethodsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetPaymentsPaymentMethodsResponseBody, SDKValidationError>;
143
- //# sourceMappingURL=getpaymentspaymentmethods.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getpaymentspaymentmethods.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getpaymentspaymentmethods.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAC/C,OAAO,wBAAwB,CAChC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,cAAc,EAAE,wBAAwB,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,cAAc,GACtB,UAAU,CAAC,mBAAmB,GAC9B,UAAU,CAAC,iBAAiB,CAAC;AAEjC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,cAAc,CAAC,EACX,KAAK,CAAC,UAAU,CAAC,mBAAmB,GAAG,UAAU,CAAC,iBAAiB,CAAC,GACpE,SAAS,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qCAAqC,GAAG;IAClD,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,gCAAgC,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,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AAM,GACjB,eAAe,CAAC,gCAAgC,EAAE,kBAAkB,CAAC,CAMvE;AAED,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8CAA8C,GAAG;IAC3D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,yCAAyC,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oDAAoD,EAAE,CAAC,CAAC,OAAO,CAC1E,8CAA8C,EAC9C,CAAC,CAAC,UAAU,EACZ,qCAAqC,CAMrC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sCAAsC,CAAC;IACtD,qFAAqF;IAC9E,MAAM,aAAa,yEAC2B,CAAC;IACtD,sFAAsF;IAC/E,MAAM,cAAc,gHAC2B,CAAC;IACvD,gFAAgF;IAChF,KAAY,QAAQ,GAAG,8CAA8C,CAAC;CACvE;AAED,wBAAgB,2CAA2C,CACzD,qCAAqC,EAAE,qCAAqC,GAC3E,MAAM,CAMR;AAED,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getpaymentspaymentmethods.js","sourceRoot":"","sources":["../../../src/models/operations/getpaymentspaymentmethods.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAGr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CAAC,EAC1E,mEAAmE,CACpE,CAAC;AACJ,CAAC"}
@@ -1,90 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type GetRecommendedProductsRequest = {
6
- /**
7
- * customer id
8
- */
9
- id: string;
10
- };
11
- export type GetRecommendedProductsContent = {
12
- products?: Array<components.RecommendedProduct> | undefined;
13
- };
14
- /**
15
- * Success response
16
- */
17
- export type GetRecommendedProductsResponseBody = {
18
- message?: string | undefined;
19
- success?: boolean | undefined;
20
- content?: GetRecommendedProductsContent | undefined;
21
- };
22
- /** @internal */
23
- export declare const GetRecommendedProductsRequest$inboundSchema: z.ZodType<GetRecommendedProductsRequest, z.ZodTypeDef, unknown>;
24
- /** @internal */
25
- export type GetRecommendedProductsRequest$Outbound = {
26
- id: string;
27
- };
28
- /** @internal */
29
- export declare const GetRecommendedProductsRequest$outboundSchema: z.ZodType<GetRecommendedProductsRequest$Outbound, z.ZodTypeDef, GetRecommendedProductsRequest>;
30
- /**
31
- * @internal
32
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
33
- */
34
- export declare namespace GetRecommendedProductsRequest$ {
35
- /** @deprecated use `GetRecommendedProductsRequest$inboundSchema` instead. */
36
- const inboundSchema: z.ZodType<GetRecommendedProductsRequest, z.ZodTypeDef, unknown>;
37
- /** @deprecated use `GetRecommendedProductsRequest$outboundSchema` instead. */
38
- const outboundSchema: z.ZodType<GetRecommendedProductsRequest$Outbound, z.ZodTypeDef, GetRecommendedProductsRequest>;
39
- /** @deprecated use `GetRecommendedProductsRequest$Outbound` instead. */
40
- type Outbound = GetRecommendedProductsRequest$Outbound;
41
- }
42
- export declare function getRecommendedProductsRequestToJSON(getRecommendedProductsRequest: GetRecommendedProductsRequest): string;
43
- export declare function getRecommendedProductsRequestFromJSON(jsonString: string): SafeParseResult<GetRecommendedProductsRequest, SDKValidationError>;
44
- /** @internal */
45
- export declare const GetRecommendedProductsContent$inboundSchema: z.ZodType<GetRecommendedProductsContent, z.ZodTypeDef, unknown>;
46
- /** @internal */
47
- export type GetRecommendedProductsContent$Outbound = {
48
- products?: Array<components.RecommendedProduct$Outbound> | undefined;
49
- };
50
- /** @internal */
51
- export declare const GetRecommendedProductsContent$outboundSchema: z.ZodType<GetRecommendedProductsContent$Outbound, z.ZodTypeDef, GetRecommendedProductsContent>;
52
- /**
53
- * @internal
54
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
- */
56
- export declare namespace GetRecommendedProductsContent$ {
57
- /** @deprecated use `GetRecommendedProductsContent$inboundSchema` instead. */
58
- const inboundSchema: z.ZodType<GetRecommendedProductsContent, z.ZodTypeDef, unknown>;
59
- /** @deprecated use `GetRecommendedProductsContent$outboundSchema` instead. */
60
- const outboundSchema: z.ZodType<GetRecommendedProductsContent$Outbound, z.ZodTypeDef, GetRecommendedProductsContent>;
61
- /** @deprecated use `GetRecommendedProductsContent$Outbound` instead. */
62
- type Outbound = GetRecommendedProductsContent$Outbound;
63
- }
64
- export declare function getRecommendedProductsContentToJSON(getRecommendedProductsContent: GetRecommendedProductsContent): string;
65
- export declare function getRecommendedProductsContentFromJSON(jsonString: string): SafeParseResult<GetRecommendedProductsContent, SDKValidationError>;
66
- /** @internal */
67
- export declare const GetRecommendedProductsResponseBody$inboundSchema: z.ZodType<GetRecommendedProductsResponseBody, z.ZodTypeDef, unknown>;
68
- /** @internal */
69
- export type GetRecommendedProductsResponseBody$Outbound = {
70
- message?: string | undefined;
71
- success?: boolean | undefined;
72
- content?: GetRecommendedProductsContent$Outbound | undefined;
73
- };
74
- /** @internal */
75
- export declare const GetRecommendedProductsResponseBody$outboundSchema: z.ZodType<GetRecommendedProductsResponseBody$Outbound, z.ZodTypeDef, GetRecommendedProductsResponseBody>;
76
- /**
77
- * @internal
78
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
79
- */
80
- export declare namespace GetRecommendedProductsResponseBody$ {
81
- /** @deprecated use `GetRecommendedProductsResponseBody$inboundSchema` instead. */
82
- const inboundSchema: z.ZodType<GetRecommendedProductsResponseBody, z.ZodTypeDef, unknown>;
83
- /** @deprecated use `GetRecommendedProductsResponseBody$outboundSchema` instead. */
84
- const outboundSchema: z.ZodType<GetRecommendedProductsResponseBody$Outbound, z.ZodTypeDef, GetRecommendedProductsResponseBody>;
85
- /** @deprecated use `GetRecommendedProductsResponseBody$Outbound` instead. */
86
- type Outbound = GetRecommendedProductsResponseBody$Outbound;
87
- }
88
- export declare function getRecommendedProductsResponseBodyToJSON(getRecommendedProductsResponseBody: GetRecommendedProductsResponseBody): string;
89
- export declare function getRecommendedProductsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetRecommendedProductsResponseBody, SDKValidationError>;
90
- //# sourceMappingURL=getrecommendedproducts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getrecommendedproducts.d.ts","sourceRoot":"","sources":["../../../src/models/operations/getrecommendedproducts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;CAC7D,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,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