@xyo-network/payment-payload-plugins 2.94.0 → 2.94.2

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 (319) hide show
  1. package/dist/browser/Billing/Address/Address.d.cts +48 -0
  2. package/dist/browser/Billing/Address/Address.d.cts.map +1 -0
  3. package/dist/browser/Billing/Address/Address.d.mts +48 -0
  4. package/dist/browser/Billing/Address/Address.d.mts.map +1 -0
  5. package/dist/browser/Billing/Address/Address.d.ts +48 -0
  6. package/dist/browser/Billing/Address/Address.d.ts.map +1 -0
  7. package/dist/browser/Billing/Address/Schema.d.cts +3 -0
  8. package/dist/browser/Billing/Address/Schema.d.cts.map +1 -0
  9. package/dist/browser/Billing/Address/Schema.d.mts +3 -0
  10. package/dist/browser/Billing/Address/Schema.d.mts.map +1 -0
  11. package/dist/browser/Billing/Address/Schema.d.ts +3 -0
  12. package/dist/browser/Billing/Address/Schema.d.ts.map +1 -0
  13. package/dist/browser/Billing/Address/index.d.cts +3 -0
  14. package/dist/browser/Billing/Address/index.d.cts.map +1 -0
  15. package/dist/browser/Billing/Address/index.d.mts +3 -0
  16. package/dist/browser/Billing/Address/index.d.mts.map +1 -0
  17. package/dist/browser/Billing/Address/index.d.ts +3 -0
  18. package/dist/browser/Billing/Address/index.d.ts.map +1 -0
  19. package/dist/browser/Billing/Schema.d.cts +3 -0
  20. package/dist/browser/Billing/Schema.d.cts.map +1 -0
  21. package/dist/browser/Billing/Schema.d.mts +3 -0
  22. package/dist/browser/Billing/Schema.d.mts.map +1 -0
  23. package/dist/browser/Billing/Schema.d.ts +3 -0
  24. package/dist/browser/Billing/Schema.d.ts.map +1 -0
  25. package/dist/browser/Billing/index.d.cts +3 -0
  26. package/dist/browser/Billing/index.d.cts.map +1 -0
  27. package/dist/browser/Billing/index.d.mts +3 -0
  28. package/dist/browser/Billing/index.d.mts.map +1 -0
  29. package/dist/browser/Billing/index.d.ts +3 -0
  30. package/dist/browser/Billing/index.d.ts.map +1 -0
  31. package/dist/browser/Escrow/Schema.d.cts +2 -2
  32. package/dist/browser/Escrow/Schema.d.cts.map +1 -1
  33. package/dist/browser/Escrow/Schema.d.mts +2 -2
  34. package/dist/browser/Escrow/Schema.d.mts.map +1 -1
  35. package/dist/browser/Escrow/Schema.d.ts +2 -2
  36. package/dist/browser/Escrow/Schema.d.ts.map +1 -1
  37. package/dist/browser/Payment/Instrument/Card/Payload.d.cts +50 -0
  38. package/dist/browser/Payment/Instrument/Card/Payload.d.cts.map +1 -0
  39. package/dist/browser/Payment/Instrument/Card/Payload.d.mts +50 -0
  40. package/dist/browser/Payment/Instrument/Card/Payload.d.mts.map +1 -0
  41. package/dist/browser/Payment/Instrument/Card/Payload.d.ts +50 -0
  42. package/dist/browser/Payment/Instrument/Card/Payload.d.ts.map +1 -0
  43. package/dist/browser/Payment/Instrument/Card/Schema.d.cts +3 -0
  44. package/dist/browser/Payment/Instrument/Card/Schema.d.cts.map +1 -0
  45. package/dist/browser/Payment/Instrument/Card/Schema.d.mts +3 -0
  46. package/dist/browser/Payment/Instrument/Card/Schema.d.mts.map +1 -0
  47. package/dist/browser/Payment/Instrument/Card/Schema.d.ts +3 -0
  48. package/dist/browser/Payment/Instrument/Card/Schema.d.ts.map +1 -0
  49. package/dist/browser/Payment/Instrument/Card/index.d.cts +3 -0
  50. package/dist/browser/Payment/Instrument/Card/index.d.cts.map +1 -0
  51. package/dist/browser/Payment/Instrument/Card/index.d.mts +3 -0
  52. package/dist/browser/Payment/Instrument/Card/index.d.mts.map +1 -0
  53. package/dist/browser/Payment/Instrument/Card/index.d.ts +3 -0
  54. package/dist/browser/Payment/Instrument/Card/index.d.ts.map +1 -0
  55. package/dist/browser/Payment/Instrument/Schema.d.cts +3 -0
  56. package/dist/browser/Payment/Instrument/Schema.d.cts.map +1 -0
  57. package/dist/browser/Payment/Instrument/Schema.d.mts +3 -0
  58. package/dist/browser/Payment/Instrument/Schema.d.mts.map +1 -0
  59. package/dist/browser/Payment/Instrument/Schema.d.ts +3 -0
  60. package/dist/browser/Payment/Instrument/Schema.d.ts.map +1 -0
  61. package/dist/browser/Payment/Instrument/index.d.cts +3 -0
  62. package/dist/browser/Payment/Instrument/index.d.cts.map +1 -0
  63. package/dist/browser/Payment/Instrument/index.d.mts +3 -0
  64. package/dist/browser/Payment/Instrument/index.d.mts.map +1 -0
  65. package/dist/browser/Payment/Instrument/index.d.ts +3 -0
  66. package/dist/browser/Payment/Instrument/index.d.ts.map +1 -0
  67. package/dist/browser/{Payment.d.cts → Payment/Payload.d.cts} +3 -4
  68. package/dist/browser/Payment/Payload.d.cts.map +1 -0
  69. package/dist/browser/{Payment.d.ts → Payment/Payload.d.mts} +3 -4
  70. package/dist/browser/Payment/Payload.d.mts.map +1 -0
  71. package/dist/browser/{Payment.d.mts → Payment/Payload.d.ts} +3 -4
  72. package/dist/browser/Payment/Payload.d.ts.map +1 -0
  73. package/dist/browser/Payment/Schema.d.cts +3 -0
  74. package/dist/browser/Payment/Schema.d.cts.map +1 -0
  75. package/dist/browser/Payment/Schema.d.mts +3 -0
  76. package/dist/browser/Payment/Schema.d.mts.map +1 -0
  77. package/dist/browser/Payment/Schema.d.ts +3 -0
  78. package/dist/browser/Payment/Schema.d.ts.map +1 -0
  79. package/dist/browser/Payment/index.d.cts +4 -0
  80. package/dist/browser/Payment/index.d.cts.map +1 -0
  81. package/dist/browser/Payment/index.d.mts +4 -0
  82. package/dist/browser/Payment/index.d.mts.map +1 -0
  83. package/dist/browser/Payment/index.d.ts +4 -0
  84. package/dist/browser/Payment/index.d.ts.map +1 -0
  85. package/dist/browser/{Purchase.d.mts → Purchase/Payload.d.cts} +2 -3
  86. package/dist/browser/Purchase/Payload.d.cts.map +1 -0
  87. package/dist/browser/{Purchase.d.ts → Purchase/Payload.d.mts} +2 -3
  88. package/dist/browser/Purchase/Payload.d.mts.map +1 -0
  89. package/dist/{node/Purchase.d.cts → browser/Purchase/Payload.d.ts} +2 -3
  90. package/dist/browser/Purchase/Payload.d.ts.map +1 -0
  91. package/dist/browser/Purchase/Schema.d.cts +3 -0
  92. package/dist/browser/Purchase/Schema.d.cts.map +1 -0
  93. package/dist/browser/Purchase/Schema.d.mts +3 -0
  94. package/dist/browser/Purchase/Schema.d.mts.map +1 -0
  95. package/dist/browser/Purchase/Schema.d.ts +3 -0
  96. package/dist/browser/Purchase/Schema.d.ts.map +1 -0
  97. package/dist/browser/Purchase/index.d.cts +3 -0
  98. package/dist/browser/Purchase/index.d.cts.map +1 -0
  99. package/dist/browser/Purchase/index.d.mts +3 -0
  100. package/dist/browser/Purchase/index.d.mts.map +1 -0
  101. package/dist/browser/Purchase/index.d.ts +3 -0
  102. package/dist/browser/Purchase/index.d.ts.map +1 -0
  103. package/dist/browser/{Receipt.d.mts → Receipt/Payload.d.cts} +3 -4
  104. package/dist/browser/Receipt/Payload.d.cts.map +1 -0
  105. package/dist/browser/{Receipt.d.ts → Receipt/Payload.d.mts} +3 -4
  106. package/dist/browser/Receipt/Payload.d.mts.map +1 -0
  107. package/dist/{node/Receipt.d.cts → browser/Receipt/Payload.d.ts} +3 -4
  108. package/dist/browser/Receipt/Payload.d.ts.map +1 -0
  109. package/dist/browser/Receipt/Schema.d.cts +3 -0
  110. package/dist/browser/Receipt/Schema.d.cts.map +1 -0
  111. package/dist/browser/Receipt/Schema.d.mts +3 -0
  112. package/dist/browser/Receipt/Schema.d.mts.map +1 -0
  113. package/dist/browser/Receipt/Schema.d.ts +3 -0
  114. package/dist/browser/Receipt/Schema.d.ts.map +1 -0
  115. package/dist/browser/Receipt/index.d.cts +3 -0
  116. package/dist/browser/Receipt/index.d.cts.map +1 -0
  117. package/dist/browser/Receipt/index.d.mts +3 -0
  118. package/dist/browser/Receipt/index.d.mts.map +1 -0
  119. package/dist/browser/Receipt/index.d.ts +3 -0
  120. package/dist/browser/Receipt/index.d.ts.map +1 -0
  121. package/dist/browser/Schema.d.cts +3 -0
  122. package/dist/browser/Schema.d.cts.map +1 -0
  123. package/dist/browser/Schema.d.mts +3 -0
  124. package/dist/browser/Schema.d.mts.map +1 -0
  125. package/dist/browser/Schema.d.ts +3 -0
  126. package/dist/browser/Schema.d.ts.map +1 -0
  127. package/dist/browser/index.cjs +72 -21
  128. package/dist/browser/index.cjs.map +1 -1
  129. package/dist/browser/index.d.cts +1 -0
  130. package/dist/browser/index.d.cts.map +1 -1
  131. package/dist/browser/index.d.mts +1 -0
  132. package/dist/browser/index.d.mts.map +1 -1
  133. package/dist/browser/index.d.ts +1 -0
  134. package/dist/browser/index.d.ts.map +1 -1
  135. package/dist/browser/index.js +79 -28
  136. package/dist/browser/index.js.map +1 -1
  137. package/dist/node/Billing/Address/Address.d.cts +48 -0
  138. package/dist/node/Billing/Address/Address.d.cts.map +1 -0
  139. package/dist/node/Billing/Address/Address.d.mts +48 -0
  140. package/dist/node/Billing/Address/Address.d.mts.map +1 -0
  141. package/dist/node/Billing/Address/Address.d.ts +48 -0
  142. package/dist/node/Billing/Address/Address.d.ts.map +1 -0
  143. package/dist/node/Billing/Address/Schema.d.cts +3 -0
  144. package/dist/node/Billing/Address/Schema.d.cts.map +1 -0
  145. package/dist/node/Billing/Address/Schema.d.mts +3 -0
  146. package/dist/node/Billing/Address/Schema.d.mts.map +1 -0
  147. package/dist/node/Billing/Address/Schema.d.ts +3 -0
  148. package/dist/node/Billing/Address/Schema.d.ts.map +1 -0
  149. package/dist/node/Billing/Address/index.d.cts +3 -0
  150. package/dist/node/Billing/Address/index.d.cts.map +1 -0
  151. package/dist/node/Billing/Address/index.d.mts +3 -0
  152. package/dist/node/Billing/Address/index.d.mts.map +1 -0
  153. package/dist/node/Billing/Address/index.d.ts +3 -0
  154. package/dist/node/Billing/Address/index.d.ts.map +1 -0
  155. package/dist/node/Billing/Schema.d.cts +3 -0
  156. package/dist/node/Billing/Schema.d.cts.map +1 -0
  157. package/dist/node/Billing/Schema.d.mts +3 -0
  158. package/dist/node/Billing/Schema.d.mts.map +1 -0
  159. package/dist/node/Billing/Schema.d.ts +3 -0
  160. package/dist/node/Billing/Schema.d.ts.map +1 -0
  161. package/dist/node/Billing/index.d.cts +3 -0
  162. package/dist/node/Billing/index.d.cts.map +1 -0
  163. package/dist/node/Billing/index.d.mts +3 -0
  164. package/dist/node/Billing/index.d.mts.map +1 -0
  165. package/dist/node/Billing/index.d.ts +3 -0
  166. package/dist/node/Billing/index.d.ts.map +1 -0
  167. package/dist/node/Escrow/Schema.d.cts +2 -2
  168. package/dist/node/Escrow/Schema.d.cts.map +1 -1
  169. package/dist/node/Escrow/Schema.d.mts +2 -2
  170. package/dist/node/Escrow/Schema.d.mts.map +1 -1
  171. package/dist/node/Escrow/Schema.d.ts +2 -2
  172. package/dist/node/Escrow/Schema.d.ts.map +1 -1
  173. package/dist/node/Payment/Instrument/Card/Payload.d.cts +50 -0
  174. package/dist/node/Payment/Instrument/Card/Payload.d.cts.map +1 -0
  175. package/dist/node/Payment/Instrument/Card/Payload.d.mts +50 -0
  176. package/dist/node/Payment/Instrument/Card/Payload.d.mts.map +1 -0
  177. package/dist/node/Payment/Instrument/Card/Payload.d.ts +50 -0
  178. package/dist/node/Payment/Instrument/Card/Payload.d.ts.map +1 -0
  179. package/dist/node/Payment/Instrument/Card/Schema.d.cts +3 -0
  180. package/dist/node/Payment/Instrument/Card/Schema.d.cts.map +1 -0
  181. package/dist/node/Payment/Instrument/Card/Schema.d.mts +3 -0
  182. package/dist/node/Payment/Instrument/Card/Schema.d.mts.map +1 -0
  183. package/dist/node/Payment/Instrument/Card/Schema.d.ts +3 -0
  184. package/dist/node/Payment/Instrument/Card/Schema.d.ts.map +1 -0
  185. package/dist/node/Payment/Instrument/Card/index.d.cts +3 -0
  186. package/dist/node/Payment/Instrument/Card/index.d.cts.map +1 -0
  187. package/dist/node/Payment/Instrument/Card/index.d.mts +3 -0
  188. package/dist/node/Payment/Instrument/Card/index.d.mts.map +1 -0
  189. package/dist/node/Payment/Instrument/Card/index.d.ts +3 -0
  190. package/dist/node/Payment/Instrument/Card/index.d.ts.map +1 -0
  191. package/dist/node/Payment/Instrument/Schema.d.cts +3 -0
  192. package/dist/node/Payment/Instrument/Schema.d.cts.map +1 -0
  193. package/dist/node/Payment/Instrument/Schema.d.mts +3 -0
  194. package/dist/node/Payment/Instrument/Schema.d.mts.map +1 -0
  195. package/dist/node/Payment/Instrument/Schema.d.ts +3 -0
  196. package/dist/node/Payment/Instrument/Schema.d.ts.map +1 -0
  197. package/dist/node/Payment/Instrument/index.d.cts +3 -0
  198. package/dist/node/Payment/Instrument/index.d.cts.map +1 -0
  199. package/dist/node/Payment/Instrument/index.d.mts +3 -0
  200. package/dist/node/Payment/Instrument/index.d.mts.map +1 -0
  201. package/dist/node/Payment/Instrument/index.d.ts +3 -0
  202. package/dist/node/Payment/Instrument/index.d.ts.map +1 -0
  203. package/dist/node/{Payment.d.cts → Payment/Payload.d.cts} +3 -4
  204. package/dist/node/Payment/Payload.d.cts.map +1 -0
  205. package/dist/node/Payment/Payload.d.mts +30 -0
  206. package/dist/node/Payment/Payload.d.mts.map +1 -0
  207. package/dist/node/Payment/Payload.d.ts +30 -0
  208. package/dist/node/Payment/Payload.d.ts.map +1 -0
  209. package/dist/node/Payment/Schema.d.cts +3 -0
  210. package/dist/node/Payment/Schema.d.cts.map +1 -0
  211. package/dist/node/Payment/Schema.d.mts +3 -0
  212. package/dist/node/Payment/Schema.d.mts.map +1 -0
  213. package/dist/node/Payment/Schema.d.ts +3 -0
  214. package/dist/node/Payment/Schema.d.ts.map +1 -0
  215. package/dist/node/Payment/index.d.cts +4 -0
  216. package/dist/node/Payment/index.d.cts.map +1 -0
  217. package/dist/node/Payment/index.d.mts +4 -0
  218. package/dist/node/Payment/index.d.mts.map +1 -0
  219. package/dist/node/Payment/index.d.ts +4 -0
  220. package/dist/node/Payment/index.d.ts.map +1 -0
  221. package/dist/{browser/Purchase.d.cts → node/Purchase/Payload.d.cts} +2 -3
  222. package/dist/node/Purchase/Payload.d.cts.map +1 -0
  223. package/dist/node/Purchase/Payload.d.mts +31 -0
  224. package/dist/node/Purchase/Payload.d.mts.map +1 -0
  225. package/dist/node/Purchase/Payload.d.ts +31 -0
  226. package/dist/node/Purchase/Payload.d.ts.map +1 -0
  227. package/dist/node/Purchase/Schema.d.cts +3 -0
  228. package/dist/node/Purchase/Schema.d.cts.map +1 -0
  229. package/dist/node/Purchase/Schema.d.mts +3 -0
  230. package/dist/node/Purchase/Schema.d.mts.map +1 -0
  231. package/dist/node/Purchase/Schema.d.ts +3 -0
  232. package/dist/node/Purchase/Schema.d.ts.map +1 -0
  233. package/dist/node/Purchase/index.d.cts +3 -0
  234. package/dist/node/Purchase/index.d.cts.map +1 -0
  235. package/dist/node/Purchase/index.d.mts +3 -0
  236. package/dist/node/Purchase/index.d.mts.map +1 -0
  237. package/dist/node/Purchase/index.d.ts +3 -0
  238. package/dist/node/Purchase/index.d.ts.map +1 -0
  239. package/dist/{browser/Receipt.d.cts → node/Receipt/Payload.d.cts} +3 -4
  240. package/dist/node/Receipt/Payload.d.cts.map +1 -0
  241. package/dist/node/Receipt/Payload.d.mts +30 -0
  242. package/dist/node/Receipt/Payload.d.mts.map +1 -0
  243. package/dist/node/Receipt/Payload.d.ts +30 -0
  244. package/dist/node/Receipt/Payload.d.ts.map +1 -0
  245. package/dist/node/Receipt/Schema.d.cts +3 -0
  246. package/dist/node/Receipt/Schema.d.cts.map +1 -0
  247. package/dist/node/Receipt/Schema.d.mts +3 -0
  248. package/dist/node/Receipt/Schema.d.mts.map +1 -0
  249. package/dist/node/Receipt/Schema.d.ts +3 -0
  250. package/dist/node/Receipt/Schema.d.ts.map +1 -0
  251. package/dist/node/Receipt/index.d.cts +3 -0
  252. package/dist/node/Receipt/index.d.cts.map +1 -0
  253. package/dist/node/Receipt/index.d.mts +3 -0
  254. package/dist/node/Receipt/index.d.mts.map +1 -0
  255. package/dist/node/Receipt/index.d.ts +3 -0
  256. package/dist/node/Receipt/index.d.ts.map +1 -0
  257. package/dist/node/Schema.d.cts +3 -0
  258. package/dist/node/Schema.d.cts.map +1 -0
  259. package/dist/node/Schema.d.mts +3 -0
  260. package/dist/node/Schema.d.mts.map +1 -0
  261. package/dist/node/Schema.d.ts +3 -0
  262. package/dist/node/Schema.d.ts.map +1 -0
  263. package/dist/node/index.cjs +82 -21
  264. package/dist/node/index.cjs.map +1 -1
  265. package/dist/node/index.d.cts +1 -0
  266. package/dist/node/index.d.cts.map +1 -1
  267. package/dist/node/index.d.mts +1 -0
  268. package/dist/node/index.d.mts.map +1 -1
  269. package/dist/node/index.d.ts +1 -0
  270. package/dist/node/index.d.ts.map +1 -1
  271. package/dist/node/index.js +79 -28
  272. package/dist/node/index.js.map +1 -1
  273. package/package.json +9 -9
  274. package/src/Billing/Address/Address.ts +47 -0
  275. package/src/Billing/Address/Schema.ts +4 -0
  276. package/src/Billing/Address/index.ts +2 -0
  277. package/src/Billing/Schema.ts +4 -0
  278. package/src/Billing/index.ts +2 -0
  279. package/src/Escrow/Schema.ts +2 -2
  280. package/src/Payment/Instrument/Card/Payload.ts +49 -0
  281. package/src/Payment/Instrument/Card/Schema.ts +4 -0
  282. package/src/Payment/Instrument/Card/index.ts +2 -0
  283. package/src/Payment/Instrument/Schema.ts +4 -0
  284. package/src/Payment/Instrument/index.ts +2 -0
  285. package/src/{Payment.ts → Payment/Payload.ts} +2 -4
  286. package/src/Payment/Schema.ts +4 -0
  287. package/src/Payment/index.ts +3 -0
  288. package/src/{Purchase.ts → Purchase/Payload.ts} +1 -2
  289. package/src/Purchase/Schema.ts +4 -0
  290. package/src/Purchase/index.ts +2 -0
  291. package/src/{Receipt.ts → Receipt/Payload.ts} +2 -4
  292. package/src/Receipt/Schema.ts +4 -0
  293. package/src/Receipt/index.ts +2 -0
  294. package/src/Schema.ts +2 -0
  295. package/src/index.ts +1 -0
  296. package/dist/browser/Payment.d.cts.map +0 -1
  297. package/dist/browser/Payment.d.mts.map +0 -1
  298. package/dist/browser/Payment.d.ts.map +0 -1
  299. package/dist/browser/Purchase.d.cts.map +0 -1
  300. package/dist/browser/Purchase.d.mts.map +0 -1
  301. package/dist/browser/Purchase.d.ts.map +0 -1
  302. package/dist/browser/Receipt.d.cts.map +0 -1
  303. package/dist/browser/Receipt.d.mts.map +0 -1
  304. package/dist/browser/Receipt.d.ts.map +0 -1
  305. package/dist/node/Payment.d.cts.map +0 -1
  306. package/dist/node/Payment.d.mts +0 -31
  307. package/dist/node/Payment.d.mts.map +0 -1
  308. package/dist/node/Payment.d.ts +0 -31
  309. package/dist/node/Payment.d.ts.map +0 -1
  310. package/dist/node/Purchase.d.cts.map +0 -1
  311. package/dist/node/Purchase.d.mts +0 -32
  312. package/dist/node/Purchase.d.mts.map +0 -1
  313. package/dist/node/Purchase.d.ts +0 -32
  314. package/dist/node/Purchase.d.ts.map +0 -1
  315. package/dist/node/Receipt.d.cts.map +0 -1
  316. package/dist/node/Receipt.d.mts +0 -31
  317. package/dist/node/Receipt.d.mts.map +0 -1
  318. package/dist/node/Receipt.d.ts +0 -31
  319. package/dist/node/Receipt.d.ts.map +0 -1
@@ -0,0 +1,48 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { BillingAddressSchema } from './Schema';
3
+ /**
4
+ * The fields describing a billing address.
5
+ */
6
+ export interface BillingAddressFields {
7
+ /** Street address line 1. */
8
+ address: string;
9
+ /** Street address line 2. */
10
+ address2?: string | null;
11
+ /** City of the billing address. */
12
+ city?: string;
13
+ /** Country code of the billing address, ISO 3166-1 alpha-2 code. */
14
+ country?: string;
15
+ /** First name */
16
+ firstName: string;
17
+ /** Last name */
18
+ lastName: string;
19
+ /** Organization or company name associated with the billing address. */
20
+ organization?: string | null;
21
+ /** Postal or ZIP code of the billing address. */
22
+ postalCode?: string;
23
+ /** State or region of the billing address. */
24
+ region?: string;
25
+ }
26
+ /**
27
+ * A BillingAddress Payload
28
+ */
29
+ export type BillingAddress = Payload<BillingAddressFields, BillingAddressSchema>;
30
+ /**
31
+ * Identity function for determine if an object is a BillingAddress
32
+ */
33
+ export declare const isBillingAddress: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
34
+ schema: "network.xyo.payments.billing.address";
35
+ };
36
+ /**
37
+ * Identity function for determine if an object is a BillingAddress with sources
38
+ */
39
+ export declare const isBillingAddressWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
40
+ schema: "network.xyo.payments.billing.address";
41
+ }>;
42
+ /**
43
+ * Identity function for determine if an object is a BillingAddress with meta
44
+ */
45
+ export declare const isBillingAddressWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
46
+ schema: "network.xyo.payments.billing.address";
47
+ }>;
48
+ //# sourceMappingURL=Address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Address.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;CAA8D,CAAA;AAE3F;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAAyE,CAAA;AAEjH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;EAAsE,CAAA"}
@@ -0,0 +1,48 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { BillingAddressSchema } from './Schema';
3
+ /**
4
+ * The fields describing a billing address.
5
+ */
6
+ export interface BillingAddressFields {
7
+ /** Street address line 1. */
8
+ address: string;
9
+ /** Street address line 2. */
10
+ address2?: string | null;
11
+ /** City of the billing address. */
12
+ city?: string;
13
+ /** Country code of the billing address, ISO 3166-1 alpha-2 code. */
14
+ country?: string;
15
+ /** First name */
16
+ firstName: string;
17
+ /** Last name */
18
+ lastName: string;
19
+ /** Organization or company name associated with the billing address. */
20
+ organization?: string | null;
21
+ /** Postal or ZIP code of the billing address. */
22
+ postalCode?: string;
23
+ /** State or region of the billing address. */
24
+ region?: string;
25
+ }
26
+ /**
27
+ * A BillingAddress Payload
28
+ */
29
+ export type BillingAddress = Payload<BillingAddressFields, BillingAddressSchema>;
30
+ /**
31
+ * Identity function for determine if an object is a BillingAddress
32
+ */
33
+ export declare const isBillingAddress: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
34
+ schema: "network.xyo.payments.billing.address";
35
+ };
36
+ /**
37
+ * Identity function for determine if an object is a BillingAddress with sources
38
+ */
39
+ export declare const isBillingAddressWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
40
+ schema: "network.xyo.payments.billing.address";
41
+ }>;
42
+ /**
43
+ * Identity function for determine if an object is a BillingAddress with meta
44
+ */
45
+ export declare const isBillingAddressWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
46
+ schema: "network.xyo.payments.billing.address";
47
+ }>;
48
+ //# sourceMappingURL=Address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Address.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;CAA8D,CAAA;AAE3F;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAAyE,CAAA;AAEjH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;EAAsE,CAAA"}
@@ -0,0 +1,48 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { BillingAddressSchema } from './Schema';
3
+ /**
4
+ * The fields describing a billing address.
5
+ */
6
+ export interface BillingAddressFields {
7
+ /** Street address line 1. */
8
+ address: string;
9
+ /** Street address line 2. */
10
+ address2?: string | null;
11
+ /** City of the billing address. */
12
+ city?: string;
13
+ /** Country code of the billing address, ISO 3166-1 alpha-2 code. */
14
+ country?: string;
15
+ /** First name */
16
+ firstName: string;
17
+ /** Last name */
18
+ lastName: string;
19
+ /** Organization or company name associated with the billing address. */
20
+ organization?: string | null;
21
+ /** Postal or ZIP code of the billing address. */
22
+ postalCode?: string;
23
+ /** State or region of the billing address. */
24
+ region?: string;
25
+ }
26
+ /**
27
+ * A BillingAddress Payload
28
+ */
29
+ export type BillingAddress = Payload<BillingAddressFields, BillingAddressSchema>;
30
+ /**
31
+ * Identity function for determine if an object is a BillingAddress
32
+ */
33
+ export declare const isBillingAddress: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
34
+ schema: "network.xyo.payments.billing.address";
35
+ };
36
+ /**
37
+ * Identity function for determine if an object is a BillingAddress with sources
38
+ */
39
+ export declare const isBillingAddressWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
40
+ schema: "network.xyo.payments.billing.address";
41
+ }>;
42
+ /**
43
+ * Identity function for determine if an object is a BillingAddress with meta
44
+ */
45
+ export declare const isBillingAddressWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & BillingAddressFields & {
46
+ schema: "network.xyo.payments.billing.address";
47
+ }>;
48
+ //# sourceMappingURL=Address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Address.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Address.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iBAAiB;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,EAAE,oBAAoB,CAAC,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;CAA8D,CAAA;AAE3F;;GAEG;AACH,eAAO,MAAM,2BAA2B;;EAAyE,CAAA;AAEjH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;EAAsE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const BillingAddressSchema = "network.xyo.payments.billing.address";
2
+ export type BillingAddressSchema = typeof BillingAddressSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yCAA6B,CAAA;AAC9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const BillingAddressSchema = "network.xyo.payments.billing.address";
2
+ export type BillingAddressSchema = typeof BillingAddressSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yCAA6B,CAAA;AAC9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const BillingAddressSchema = "network.xyo.payments.billing.address";
2
+ export type BillingAddressSchema = typeof BillingAddressSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yCAA6B,CAAA;AAC9D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Billing/Address/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const BillingSchema = "network.xyo.payments.billing";
2
+ export type BillingSchema = typeof BillingSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Billing/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iCAA8B,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const BillingSchema = "network.xyo.payments.billing";
2
+ export type BillingSchema = typeof BillingSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Billing/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iCAA8B,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const BillingSchema = "network.xyo.payments.billing";
2
+ export type BillingSchema = typeof BillingSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Billing/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,iCAA8B,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Address';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -1,3 +1,3 @@
1
- export type EscrowSchema = 'network.xyo.escrow';
2
- export declare const EscrowSchema: EscrowSchema;
1
+ export declare const EscrowSchema = "network.xyo.escrow";
2
+ export type EscrowSchema = typeof EscrowSchema;
3
3
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAA;AAC/C,eAAO,MAAM,YAAY,EAAE,YAAmC,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,uBAAuB,CAAA;AAChD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
@@ -1,3 +1,3 @@
1
- export type EscrowSchema = 'network.xyo.escrow';
2
- export declare const EscrowSchema: EscrowSchema;
1
+ export declare const EscrowSchema = "network.xyo.escrow";
2
+ export type EscrowSchema = typeof EscrowSchema;
3
3
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAA;AAC/C,eAAO,MAAM,YAAY,EAAE,YAAmC,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,uBAAuB,CAAA;AAChD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
@@ -1,3 +1,3 @@
1
- export type EscrowSchema = 'network.xyo.escrow';
2
- export declare const EscrowSchema: EscrowSchema;
1
+ export declare const EscrowSchema = "network.xyo.escrow";
2
+ export type EscrowSchema = typeof EscrowSchema;
3
3
  //# sourceMappingURL=Schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAA;AAC/C,eAAO,MAAM,YAAY,EAAE,YAAmC,CAAA"}
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Escrow/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,uBAAuB,CAAA;AAChD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAA"}
@@ -0,0 +1,50 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { PaymentCardSchema } from './Schema';
3
+ /**
4
+ * The fields describing a payment card.
5
+ */
6
+ export interface PaymentCardFields {
7
+ /**
8
+ * Card Number (PAN) of the payment card. This value is required to perform a payment.
9
+ */
10
+ cardNumber: string;
11
+ /**
12
+ * The name as it appears on the payment card.
13
+ */
14
+ cardholderName?: string;
15
+ /**
16
+ * Card Verification Value (CVV/CVC) of the payment card.
17
+ */
18
+ cvv: string;
19
+ /**
20
+ * Expiration month of the payment card.
21
+ */
22
+ expMonth: number;
23
+ /**
24
+ * Expiration year of the payment card.
25
+ */
26
+ expYear: number;
27
+ }
28
+ /**
29
+ * A PaymentCard Payload
30
+ */
31
+ export type PaymentCard = Payload<PaymentCardFields, PaymentCardSchema>;
32
+ /**
33
+ * Identity function for determine if an object is a PaymentCard
34
+ */
35
+ export declare const isPaymentCard: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
36
+ schema: "network.xyo.payments.payment.instrument.card";
37
+ };
38
+ /**
39
+ * Identity function for determine if an object is a PaymentCard with sources
40
+ */
41
+ export declare const isPaymentCardWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
42
+ schema: "network.xyo.payments.payment.instrument.card";
43
+ }>;
44
+ /**
45
+ * Identity function for determine if an object is a PaymentCard with meta
46
+ */
47
+ export declare const isPaymentCardWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
48
+ schema: "network.xyo.payments.payment.instrument.card";
49
+ }>;
50
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa;;CAAwD,CAAA;AAElF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;EAAmE,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,qBAAqB;;EAAgE,CAAA"}
@@ -0,0 +1,50 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { PaymentCardSchema } from './Schema';
3
+ /**
4
+ * The fields describing a payment card.
5
+ */
6
+ export interface PaymentCardFields {
7
+ /**
8
+ * Card Number (PAN) of the payment card. This value is required to perform a payment.
9
+ */
10
+ cardNumber: string;
11
+ /**
12
+ * The name as it appears on the payment card.
13
+ */
14
+ cardholderName?: string;
15
+ /**
16
+ * Card Verification Value (CVV/CVC) of the payment card.
17
+ */
18
+ cvv: string;
19
+ /**
20
+ * Expiration month of the payment card.
21
+ */
22
+ expMonth: number;
23
+ /**
24
+ * Expiration year of the payment card.
25
+ */
26
+ expYear: number;
27
+ }
28
+ /**
29
+ * A PaymentCard Payload
30
+ */
31
+ export type PaymentCard = Payload<PaymentCardFields, PaymentCardSchema>;
32
+ /**
33
+ * Identity function for determine if an object is a PaymentCard
34
+ */
35
+ export declare const isPaymentCard: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
36
+ schema: "network.xyo.payments.payment.instrument.card";
37
+ };
38
+ /**
39
+ * Identity function for determine if an object is a PaymentCard with sources
40
+ */
41
+ export declare const isPaymentCardWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
42
+ schema: "network.xyo.payments.payment.instrument.card";
43
+ }>;
44
+ /**
45
+ * Identity function for determine if an object is a PaymentCard with meta
46
+ */
47
+ export declare const isPaymentCardWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
48
+ schema: "network.xyo.payments.payment.instrument.card";
49
+ }>;
50
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa;;CAAwD,CAAA;AAElF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;EAAmE,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,qBAAqB;;EAAgE,CAAA"}
@@ -0,0 +1,50 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { PaymentCardSchema } from './Schema';
3
+ /**
4
+ * The fields describing a payment card.
5
+ */
6
+ export interface PaymentCardFields {
7
+ /**
8
+ * Card Number (PAN) of the payment card. This value is required to perform a payment.
9
+ */
10
+ cardNumber: string;
11
+ /**
12
+ * The name as it appears on the payment card.
13
+ */
14
+ cardholderName?: string;
15
+ /**
16
+ * Card Verification Value (CVV/CVC) of the payment card.
17
+ */
18
+ cvv: string;
19
+ /**
20
+ * Expiration month of the payment card.
21
+ */
22
+ expMonth: number;
23
+ /**
24
+ * Expiration year of the payment card.
25
+ */
26
+ expYear: number;
27
+ }
28
+ /**
29
+ * A PaymentCard Payload
30
+ */
31
+ export type PaymentCard = Payload<PaymentCardFields, PaymentCardSchema>;
32
+ /**
33
+ * Identity function for determine if an object is a PaymentCard
34
+ */
35
+ export declare const isPaymentCard: (x?: unknown) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
36
+ schema: "network.xyo.payments.payment.instrument.card";
37
+ };
38
+ /**
39
+ * Identity function for determine if an object is a PaymentCard with sources
40
+ */
41
+ export declare const isPaymentCardWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
42
+ schema: "network.xyo.payments.payment.instrument.card";
43
+ }>;
44
+ /**
45
+ * Identity function for determine if an object is a PaymentCard with meta
46
+ */
47
+ export declare const isPaymentCardWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & PaymentCardFields & {
48
+ schema: "network.xyo.payments.payment.instrument.card";
49
+ }>;
50
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0F,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE5I,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa;;CAAwD,CAAA;AAElF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;EAAmE,CAAA;AAExG;;GAEG;AACH,eAAO,MAAM,qBAAqB;;EAAgE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PaymentCardSchema = "network.xyo.payments.payment.instrument.card";
2
+ export type PaymentCardSchema = typeof PaymentCardSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,iDAAoC,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PaymentCardSchema = "network.xyo.payments.payment.instrument.card";
2
+ export type PaymentCardSchema = typeof PaymentCardSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,iDAAoC,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PaymentCardSchema = "network.xyo.payments.payment.instrument.card";
2
+ export type PaymentCardSchema = typeof PaymentCardSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,iDAAoC,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Payload';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Payload';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Payload';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Payment/Instrument/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PaymentInstrumentSchema = "network.xyo.payments.payment.instrument";
2
+ export type PaymentInstrumentSchema = typeof PaymentInstrumentSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Instrument/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,4CAAgC,CAAA;AACpE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PaymentInstrumentSchema = "network.xyo.payments.payment.instrument";
2
+ export type PaymentInstrumentSchema = typeof PaymentInstrumentSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Instrument/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,4CAAgC,CAAA;AACpE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PaymentInstrumentSchema = "network.xyo.payments.payment.instrument";
2
+ export type PaymentInstrumentSchema = typeof PaymentInstrumentSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Instrument/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,4CAAgC,CAAA;AACpE,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Card';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Instrument/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Card';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Instrument/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Card';
2
+ export * from './Schema';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Payment/Instrument/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA"}
@@ -1,7 +1,6 @@
1
1
  import { PayloadWithSources } from '@xyo-network/payload-model';
2
- import { SupportedCurrency } from './Currency';
3
- export type PaymentSchema = 'network.xyo.payments.payment';
4
- export declare const PaymentSchema: PaymentSchema;
2
+ import { SupportedCurrency } from '../Currency';
3
+ import { PaymentSchema } from './Schema';
5
4
  export interface PaymentFields {
6
5
  /**
7
6
  * The amount paid
@@ -28,4 +27,4 @@ export declare const isPaymentWithSources: (x?: unknown) => x is import("@xyo-ne
28
27
  * Identity function for determine if an object is a Payment with meta
29
28
  */
30
29
  export declare const isPaymentWithMeta: (x?: unknown) => x is import("@xyo-network/payload-model").WithMeta<Payment>;
31
- //# sourceMappingURL=Payment.d.ts.map
30
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Payment/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,kBAAkB,EACnB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAA;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,SAAS,+BAAgD,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,oBAAoB,iFAA2D,CAAA;AAE5F;;GAEG;AACH,eAAO,MAAM,iBAAiB,8EAAwD,CAAA"}