@beyond-pci/sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1097) hide show
  1. package/FUNCTIONS.md +87 -0
  2. package/README.md +544 -0
  3. package/RUNTIMES.md +48 -0
  4. package/dist/commonjs/core.d.ts +10 -0
  5. package/dist/commonjs/core.d.ts.map +1 -0
  6. package/dist/commonjs/core.js +17 -0
  7. package/dist/commonjs/core.js.map +1 -0
  8. package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts +18 -0
  9. package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js +132 -0
  11. package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js.map +1 -0
  12. package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
  13. package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js +130 -0
  15. package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
  16. package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
  17. package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js +127 -0
  19. package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
  20. package/dist/commonjs/funcs/merchantsGetV1Merchants.d.ts +18 -0
  21. package/dist/commonjs/funcs/merchantsGetV1Merchants.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/merchantsGetV1Merchants.js +123 -0
  23. package/dist/commonjs/funcs/merchantsGetV1Merchants.js.map +1 -0
  24. package/dist/commonjs/funcs/merchantsGetV1MerchantsId.d.ts +18 -0
  25. package/dist/commonjs/funcs/merchantsGetV1MerchantsId.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/merchantsGetV1MerchantsId.js +123 -0
  27. package/dist/commonjs/funcs/merchantsGetV1MerchantsId.js.map +1 -0
  28. package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.d.ts +18 -0
  29. package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.d.ts.map +1 -0
  30. package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.js +123 -0
  31. package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.js.map +1 -0
  32. package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.d.ts +18 -0
  33. package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.d.ts.map +1 -0
  34. package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.js +123 -0
  35. package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.js.map +1 -0
  36. package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.d.ts +18 -0
  37. package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.d.ts.map +1 -0
  38. package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.js +124 -0
  39. package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.js.map +1 -0
  40. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.d.ts +18 -0
  41. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.d.ts.map +1 -0
  42. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.js +124 -0
  43. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.js.map +1 -0
  44. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.d.ts +18 -0
  45. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.d.ts.map +1 -0
  46. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.js +123 -0
  47. package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.js.map +1 -0
  48. package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.d.ts +18 -0
  49. package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.d.ts.map +1 -0
  50. package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.js +118 -0
  51. package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.js.map +1 -0
  52. package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts +18 -0
  53. package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts.map +1 -0
  54. package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js +131 -0
  55. package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js.map +1 -0
  56. package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts +18 -0
  57. package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts.map +1 -0
  58. package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.js +124 -0
  59. package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.js.map +1 -0
  60. package/dist/commonjs/funcs/scansGetV1Scans.d.ts +18 -0
  61. package/dist/commonjs/funcs/scansGetV1Scans.d.ts.map +1 -0
  62. package/dist/commonjs/funcs/scansGetV1Scans.js +124 -0
  63. package/dist/commonjs/funcs/scansGetV1Scans.js.map +1 -0
  64. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.d.ts +18 -0
  65. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.d.ts.map +1 -0
  66. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.js +128 -0
  67. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.js.map +1 -0
  68. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts +18 -0
  69. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts.map +1 -0
  70. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.js +123 -0
  71. package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.js.map +1 -0
  72. package/dist/commonjs/funcs/scansGetV1ScansScanId.d.ts +18 -0
  73. package/dist/commonjs/funcs/scansGetV1ScansScanId.d.ts.map +1 -0
  74. package/dist/commonjs/funcs/scansGetV1ScansScanId.js +123 -0
  75. package/dist/commonjs/funcs/scansGetV1ScansScanId.js.map +1 -0
  76. package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.d.ts +18 -0
  77. package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.d.ts.map +1 -0
  78. package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.js +123 -0
  79. package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.js.map +1 -0
  80. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.d.ts +18 -0
  81. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.d.ts.map +1 -0
  82. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.js +125 -0
  83. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.js.map +1 -0
  84. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts +18 -0
  85. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts.map +1 -0
  86. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.js +123 -0
  87. package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.js.map +1 -0
  88. package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.d.ts +18 -0
  89. package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.d.ts.map +1 -0
  90. package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.js +123 -0
  91. package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.js.map +1 -0
  92. package/dist/commonjs/funcs/webhooksGetV1Webhooks.d.ts +18 -0
  93. package/dist/commonjs/funcs/webhooksGetV1Webhooks.d.ts.map +1 -0
  94. package/dist/commonjs/funcs/webhooksGetV1Webhooks.js +122 -0
  95. package/dist/commonjs/funcs/webhooksGetV1Webhooks.js.map +1 -0
  96. package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.d.ts +18 -0
  97. package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.d.ts.map +1 -0
  98. package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.js +124 -0
  99. package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.js.map +1 -0
  100. package/dist/commonjs/funcs/webhooksPostV1Webhooks.d.ts +18 -0
  101. package/dist/commonjs/funcs/webhooksPostV1Webhooks.d.ts.map +1 -0
  102. package/dist/commonjs/funcs/webhooksPostV1Webhooks.js +118 -0
  103. package/dist/commonjs/funcs/webhooksPostV1Webhooks.js.map +1 -0
  104. package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.d.ts +18 -0
  105. package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.d.ts.map +1 -0
  106. package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.js +124 -0
  107. package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.js.map +1 -0
  108. package/dist/commonjs/hooks/hooks.d.ts +25 -0
  109. package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
  110. package/dist/commonjs/hooks/hooks.js +86 -0
  111. package/dist/commonjs/hooks/hooks.js.map +1 -0
  112. package/dist/commonjs/hooks/index.d.ts +3 -0
  113. package/dist/commonjs/hooks/index.d.ts.map +1 -0
  114. package/dist/commonjs/hooks/index.js +22 -0
  115. package/dist/commonjs/hooks/index.js.map +1 -0
  116. package/dist/commonjs/hooks/registration.d.ts +3 -0
  117. package/dist/commonjs/hooks/registration.d.ts.map +1 -0
  118. package/dist/commonjs/hooks/registration.js +15 -0
  119. package/dist/commonjs/hooks/registration.js.map +1 -0
  120. package/dist/commonjs/hooks/types.d.ts +76 -0
  121. package/dist/commonjs/hooks/types.d.ts.map +1 -0
  122. package/dist/commonjs/hooks/types.js +6 -0
  123. package/dist/commonjs/hooks/types.js.map +1 -0
  124. package/dist/commonjs/index.d.ts +6 -0
  125. package/dist/commonjs/index.d.ts.map +1 -0
  126. package/dist/commonjs/index.js +48 -0
  127. package/dist/commonjs/index.js.map +1 -0
  128. package/dist/commonjs/lib/base64.d.ts +10 -0
  129. package/dist/commonjs/lib/base64.d.ts.map +1 -0
  130. package/dist/commonjs/lib/base64.js +71 -0
  131. package/dist/commonjs/lib/base64.js.map +1 -0
  132. package/dist/commonjs/lib/config.d.ts +38 -0
  133. package/dist/commonjs/lib/config.d.ts.map +1 -0
  134. package/dist/commonjs/lib/config.js +42 -0
  135. package/dist/commonjs/lib/config.js.map +1 -0
  136. package/dist/commonjs/lib/dlv.d.ts +14 -0
  137. package/dist/commonjs/lib/dlv.d.ts.map +1 -0
  138. package/dist/commonjs/lib/dlv.js +49 -0
  139. package/dist/commonjs/lib/dlv.js.map +1 -0
  140. package/dist/commonjs/lib/encodings.d.ts +52 -0
  141. package/dist/commonjs/lib/encodings.d.ts.map +1 -0
  142. package/dist/commonjs/lib/encodings.js +368 -0
  143. package/dist/commonjs/lib/encodings.js.map +1 -0
  144. package/dist/commonjs/lib/files.d.ts +13 -0
  145. package/dist/commonjs/lib/files.d.ts.map +1 -0
  146. package/dist/commonjs/lib/files.js +77 -0
  147. package/dist/commonjs/lib/files.js.map +1 -0
  148. package/dist/commonjs/lib/http.d.ts +67 -0
  149. package/dist/commonjs/lib/http.d.ts.map +1 -0
  150. package/dist/commonjs/lib/http.js +217 -0
  151. package/dist/commonjs/lib/http.js.map +1 -0
  152. package/dist/commonjs/lib/is-plain-object.d.ts +2 -0
  153. package/dist/commonjs/lib/is-plain-object.d.ts.map +1 -0
  154. package/dist/commonjs/lib/is-plain-object.js +41 -0
  155. package/dist/commonjs/lib/is-plain-object.js.map +1 -0
  156. package/dist/commonjs/lib/logger.d.ts +6 -0
  157. package/dist/commonjs/lib/logger.d.ts.map +1 -0
  158. package/dist/commonjs/lib/logger.js +6 -0
  159. package/dist/commonjs/lib/logger.js.map +1 -0
  160. package/dist/commonjs/lib/matchers.d.ts +59 -0
  161. package/dist/commonjs/lib/matchers.d.ts.map +1 -0
  162. package/dist/commonjs/lib/matchers.js +218 -0
  163. package/dist/commonjs/lib/matchers.js.map +1 -0
  164. package/dist/commonjs/lib/primitives.d.ts +26 -0
  165. package/dist/commonjs/lib/primitives.d.ts.map +1 -0
  166. package/dist/commonjs/lib/primitives.js +111 -0
  167. package/dist/commonjs/lib/primitives.js.map +1 -0
  168. package/dist/commonjs/lib/retries.d.ts +38 -0
  169. package/dist/commonjs/lib/retries.d.ts.map +1 -0
  170. package/dist/commonjs/lib/retries.js +153 -0
  171. package/dist/commonjs/lib/retries.js.map +1 -0
  172. package/dist/commonjs/lib/schemas.d.ts +19 -0
  173. package/dist/commonjs/lib/schemas.d.ts.map +1 -0
  174. package/dist/commonjs/lib/schemas.js +62 -0
  175. package/dist/commonjs/lib/schemas.js.map +1 -0
  176. package/dist/commonjs/lib/sdks.d.ts +63 -0
  177. package/dist/commonjs/lib/sdks.d.ts.map +1 -0
  178. package/dist/commonjs/lib/sdks.js +269 -0
  179. package/dist/commonjs/lib/sdks.js.map +1 -0
  180. package/dist/commonjs/lib/security.d.ts +83 -0
  181. package/dist/commonjs/lib/security.d.ts.map +1 -0
  182. package/dist/commonjs/lib/security.js +143 -0
  183. package/dist/commonjs/lib/security.js.map +1 -0
  184. package/dist/commonjs/lib/url.d.ts +5 -0
  185. package/dist/commonjs/lib/url.d.ts.map +1 -0
  186. package/dist/commonjs/lib/url.js +25 -0
  187. package/dist/commonjs/lib/url.js.map +1 -0
  188. package/dist/commonjs/models/components/index.d.ts +2 -0
  189. package/dist/commonjs/models/components/index.d.ts.map +1 -0
  190. package/dist/commonjs/models/components/index.js +21 -0
  191. package/dist/commonjs/models/components/index.js.map +1 -0
  192. package/dist/commonjs/models/components/security.d.ts +29 -0
  193. package/dist/commonjs/models/components/security.d.ts.map +1 -0
  194. package/dist/commonjs/models/components/security.js +78 -0
  195. package/dist/commonjs/models/components/security.js.map +1 -0
  196. package/dist/commonjs/models/errors/apierror.d.ts +10 -0
  197. package/dist/commonjs/models/errors/apierror.d.ts.map +1 -0
  198. package/dist/commonjs/models/errors/apierror.js +28 -0
  199. package/dist/commonjs/models/errors/apierror.js.map +1 -0
  200. package/dist/commonjs/models/errors/beyondpcierror.d.ts +19 -0
  201. package/dist/commonjs/models/errors/beyondpcierror.d.ts.map +1 -0
  202. package/dist/commonjs/models/errors/beyondpcierror.js +20 -0
  203. package/dist/commonjs/models/errors/beyondpcierror.js.map +1 -0
  204. package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +199 -0
  205. package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
  206. package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js +261 -0
  207. package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
  208. package/dist/commonjs/models/errors/deletev1webhooksid.d.ts +199 -0
  209. package/dist/commonjs/models/errors/deletev1webhooksid.d.ts.map +1 -0
  210. package/dist/commonjs/models/errors/deletev1webhooksid.js +261 -0
  211. package/dist/commonjs/models/errors/deletev1webhooksid.js.map +1 -0
  212. package/dist/commonjs/models/errors/getv1merchants.d.ts +102 -0
  213. package/dist/commonjs/models/errors/getv1merchants.d.ts.map +1 -0
  214. package/dist/commonjs/models/errors/getv1merchants.js +152 -0
  215. package/dist/commonjs/models/errors/getv1merchants.js.map +1 -0
  216. package/dist/commonjs/models/errors/getv1merchantsid.d.ts +199 -0
  217. package/dist/commonjs/models/errors/getv1merchantsid.d.ts.map +1 -0
  218. package/dist/commonjs/models/errors/getv1merchantsid.js +262 -0
  219. package/dist/commonjs/models/errors/getv1merchantsid.js.map +1 -0
  220. package/dist/commonjs/models/errors/getv1merchantsidcompliance.d.ts +199 -0
  221. package/dist/commonjs/models/errors/getv1merchantsidcompliance.d.ts.map +1 -0
  222. package/dist/commonjs/models/errors/getv1merchantsidcompliance.js +259 -0
  223. package/dist/commonjs/models/errors/getv1merchantsidcompliance.js.map +1 -0
  224. package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.d.ts +199 -0
  225. package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  226. package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.js +257 -0
  227. package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.js.map +1 -0
  228. package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +199 -0
  229. package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
  230. package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js +259 -0
  231. package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
  232. package/dist/commonjs/models/errors/getv1merchantsregistrationid.d.ts +199 -0
  233. package/dist/commonjs/models/errors/getv1merchantsregistrationid.d.ts.map +1 -0
  234. package/dist/commonjs/models/errors/getv1merchantsregistrationid.js +259 -0
  235. package/dist/commonjs/models/errors/getv1merchantsregistrationid.js.map +1 -0
  236. package/dist/commonjs/models/errors/getv1scans.d.ts +199 -0
  237. package/dist/commonjs/models/errors/getv1scans.d.ts.map +1 -0
  238. package/dist/commonjs/models/errors/getv1scans.js +261 -0
  239. package/dist/commonjs/models/errors/getv1scans.js.map +1 -0
  240. package/dist/commonjs/models/errors/getv1scansmerchantsidscans.d.ts +199 -0
  241. package/dist/commonjs/models/errors/getv1scansmerchantsidscans.d.ts.map +1 -0
  242. package/dist/commonjs/models/errors/getv1scansmerchantsidscans.js +259 -0
  243. package/dist/commonjs/models/errors/getv1scansmerchantsidscans.js.map +1 -0
  244. package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.d.ts +199 -0
  245. package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.d.ts.map +1 -0
  246. package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.js +259 -0
  247. package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.js.map +1 -0
  248. package/dist/commonjs/models/errors/getv1scansscanid.d.ts +199 -0
  249. package/dist/commonjs/models/errors/getv1scansscanid.d.ts.map +1 -0
  250. package/dist/commonjs/models/errors/getv1scansscanid.js +263 -0
  251. package/dist/commonjs/models/errors/getv1scansscanid.js.map +1 -0
  252. package/dist/commonjs/models/errors/getv1scansscanidreport.d.ts +102 -0
  253. package/dist/commonjs/models/errors/getv1scansscanidreport.d.ts.map +1 -0
  254. package/dist/commonjs/models/errors/getv1scansscanidreport.js +153 -0
  255. package/dist/commonjs/models/errors/getv1scansscanidreport.js.map +1 -0
  256. package/dist/commonjs/models/errors/getv1webhooks.d.ts +199 -0
  257. package/dist/commonjs/models/errors/getv1webhooks.d.ts.map +1 -0
  258. package/dist/commonjs/models/errors/getv1webhooks.js +262 -0
  259. package/dist/commonjs/models/errors/getv1webhooks.js.map +1 -0
  260. package/dist/commonjs/models/errors/httpclienterrors.d.ts +44 -0
  261. package/dist/commonjs/models/errors/httpclienterrors.d.ts.map +1 -0
  262. package/dist/commonjs/models/errors/httpclienterrors.js +78 -0
  263. package/dist/commonjs/models/errors/httpclienterrors.js.map +1 -0
  264. package/dist/commonjs/models/errors/index.d.ts +30 -0
  265. package/dist/commonjs/models/errors/index.d.ts.map +1 -0
  266. package/dist/commonjs/models/errors/index.js +49 -0
  267. package/dist/commonjs/models/errors/index.js.map +1 -0
  268. package/dist/commonjs/models/errors/patchv1merchantsid.d.ts +296 -0
  269. package/dist/commonjs/models/errors/patchv1merchantsid.d.ts.map +1 -0
  270. package/dist/commonjs/models/errors/patchv1merchantsid.js +369 -0
  271. package/dist/commonjs/models/errors/patchv1merchantsid.js.map +1 -0
  272. package/dist/commonjs/models/errors/patchv1webhooksid.d.ts +296 -0
  273. package/dist/commonjs/models/errors/patchv1webhooksid.d.ts.map +1 -0
  274. package/dist/commonjs/models/errors/patchv1webhooksid.js +370 -0
  275. package/dist/commonjs/models/errors/patchv1webhooksid.js.map +1 -0
  276. package/dist/commonjs/models/errors/postv1merchantsidactivate.d.ts +296 -0
  277. package/dist/commonjs/models/errors/postv1merchantsidactivate.d.ts.map +1 -0
  278. package/dist/commonjs/models/errors/postv1merchantsidactivate.js +368 -0
  279. package/dist/commonjs/models/errors/postv1merchantsidactivate.js.map +1 -0
  280. package/dist/commonjs/models/errors/postv1merchantsidcancel.d.ts +296 -0
  281. package/dist/commonjs/models/errors/postv1merchantsidcancel.d.ts.map +1 -0
  282. package/dist/commonjs/models/errors/postv1merchantsidcancel.js +369 -0
  283. package/dist/commonjs/models/errors/postv1merchantsidcancel.js.map +1 -0
  284. package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.d.ts +199 -0
  285. package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  286. package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.js +258 -0
  287. package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.js.map +1 -0
  288. package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.d.ts +199 -0
  289. package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
  290. package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.js +259 -0
  291. package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.js.map +1 -0
  292. package/dist/commonjs/models/errors/postv1merchantsregister.d.ts +199 -0
  293. package/dist/commonjs/models/errors/postv1merchantsregister.d.ts.map +1 -0
  294. package/dist/commonjs/models/errors/postv1merchantsregister.js +261 -0
  295. package/dist/commonjs/models/errors/postv1merchantsregister.js.map +1 -0
  296. package/dist/commonjs/models/errors/postv1scansmerchantsidscans.d.ts +393 -0
  297. package/dist/commonjs/models/errors/postv1scansmerchantsidscans.d.ts.map +1 -0
  298. package/dist/commonjs/models/errors/postv1scansmerchantsidscans.js +475 -0
  299. package/dist/commonjs/models/errors/postv1scansmerchantsidscans.js.map +1 -0
  300. package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.d.ts +199 -0
  301. package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
  302. package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.js +259 -0
  303. package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.js.map +1 -0
  304. package/dist/commonjs/models/errors/postv1webhooks.d.ts +199 -0
  305. package/dist/commonjs/models/errors/postv1webhooks.d.ts.map +1 -0
  306. package/dist/commonjs/models/errors/postv1webhooks.js +263 -0
  307. package/dist/commonjs/models/errors/postv1webhooks.js.map +1 -0
  308. package/dist/commonjs/models/errors/postv1webhooksidtest.d.ts +296 -0
  309. package/dist/commonjs/models/errors/postv1webhooksidtest.d.ts.map +1 -0
  310. package/dist/commonjs/models/errors/postv1webhooksidtest.js +369 -0
  311. package/dist/commonjs/models/errors/postv1webhooksidtest.js.map +1 -0
  312. package/dist/commonjs/models/errors/responsevalidationerror.d.ts +26 -0
  313. package/dist/commonjs/models/errors/responsevalidationerror.d.ts.map +1 -0
  314. package/dist/commonjs/models/errors/responsevalidationerror.js +66 -0
  315. package/dist/commonjs/models/errors/responsevalidationerror.js.map +1 -0
  316. package/dist/commonjs/models/errors/sdkvalidationerror.d.ts +21 -0
  317. package/dist/commonjs/models/errors/sdkvalidationerror.d.ts.map +1 -0
  318. package/dist/commonjs/models/errors/sdkvalidationerror.js +129 -0
  319. package/dist/commonjs/models/errors/sdkvalidationerror.js.map +1 -0
  320. package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +113 -0
  321. package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
  322. package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js +164 -0
  323. package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
  324. package/dist/commonjs/models/operations/deletev1webhooksid.d.ts +111 -0
  325. package/dist/commonjs/models/operations/deletev1webhooksid.d.ts.map +1 -0
  326. package/dist/commonjs/models/operations/deletev1webhooksid.js +154 -0
  327. package/dist/commonjs/models/operations/deletev1webhooksid.js.map +1 -0
  328. package/dist/commonjs/models/operations/getv1merchants.d.ts +237 -0
  329. package/dist/commonjs/models/operations/getv1merchants.d.ts.map +1 -0
  330. package/dist/commonjs/models/operations/getv1merchants.js +246 -0
  331. package/dist/commonjs/models/operations/getv1merchants.js.map +1 -0
  332. package/dist/commonjs/models/operations/getv1merchantsid.d.ts +172 -0
  333. package/dist/commonjs/models/operations/getv1merchantsid.d.ts.map +1 -0
  334. package/dist/commonjs/models/operations/getv1merchantsid.js +185 -0
  335. package/dist/commonjs/models/operations/getv1merchantsid.js.map +1 -0
  336. package/dist/commonjs/models/operations/getv1merchantsidcompliance.d.ts +173 -0
  337. package/dist/commonjs/models/operations/getv1merchantsidcompliance.d.ts.map +1 -0
  338. package/dist/commonjs/models/operations/getv1merchantsidcompliance.js +217 -0
  339. package/dist/commonjs/models/operations/getv1merchantsidcompliance.js.map +1 -0
  340. package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.d.ts +214 -0
  341. package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  342. package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.js +245 -0
  343. package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.js.map +1 -0
  344. package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +111 -0
  345. package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
  346. package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js +155 -0
  347. package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
  348. package/dist/commonjs/models/operations/getv1merchantsregistrationid.d.ts +156 -0
  349. package/dist/commonjs/models/operations/getv1merchantsregistrationid.d.ts.map +1 -0
  350. package/dist/commonjs/models/operations/getv1merchantsregistrationid.js +179 -0
  351. package/dist/commonjs/models/operations/getv1merchantsregistrationid.js.map +1 -0
  352. package/dist/commonjs/models/operations/getv1scans.d.ts +328 -0
  353. package/dist/commonjs/models/operations/getv1scans.d.ts.map +1 -0
  354. package/dist/commonjs/models/operations/getv1scans.js +331 -0
  355. package/dist/commonjs/models/operations/getv1scans.js.map +1 -0
  356. package/dist/commonjs/models/operations/getv1scansmerchantsidscans.d.ts +286 -0
  357. package/dist/commonjs/models/operations/getv1scansmerchantsidscans.d.ts.map +1 -0
  358. package/dist/commonjs/models/operations/getv1scansmerchantsidscans.js +304 -0
  359. package/dist/commonjs/models/operations/getv1scansmerchantsidscans.js.map +1 -0
  360. package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.d.ts +206 -0
  361. package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.d.ts.map +1 -0
  362. package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.js +236 -0
  363. package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.js.map +1 -0
  364. package/dist/commonjs/models/operations/getv1scansscanid.d.ts +369 -0
  365. package/dist/commonjs/models/operations/getv1scansscanid.d.ts.map +1 -0
  366. package/dist/commonjs/models/operations/getv1scansscanid.js +373 -0
  367. package/dist/commonjs/models/operations/getv1scansscanid.js.map +1 -0
  368. package/dist/commonjs/models/operations/getv1scansscanidreport.d.ts +59 -0
  369. package/dist/commonjs/models/operations/getv1scansscanidreport.d.ts.map +1 -0
  370. package/dist/commonjs/models/operations/getv1scansscanidreport.js +98 -0
  371. package/dist/commonjs/models/operations/getv1scansscanidreport.js.map +1 -0
  372. package/dist/commonjs/models/operations/getv1webhooks.d.ts +191 -0
  373. package/dist/commonjs/models/operations/getv1webhooks.d.ts.map +1 -0
  374. package/dist/commonjs/models/operations/getv1webhooks.js +219 -0
  375. package/dist/commonjs/models/operations/getv1webhooks.js.map +1 -0
  376. package/dist/commonjs/models/operations/index.d.ts +26 -0
  377. package/dist/commonjs/models/operations/index.d.ts.map +1 -0
  378. package/dist/commonjs/models/operations/index.js +45 -0
  379. package/dist/commonjs/models/operations/index.js.map +1 -0
  380. package/dist/commonjs/models/operations/patchv1merchantsid.d.ts +201 -0
  381. package/dist/commonjs/models/operations/patchv1merchantsid.d.ts.map +1 -0
  382. package/dist/commonjs/models/operations/patchv1merchantsid.js +225 -0
  383. package/dist/commonjs/models/operations/patchv1merchantsid.js.map +1 -0
  384. package/dist/commonjs/models/operations/patchv1webhooksid.d.ts +227 -0
  385. package/dist/commonjs/models/operations/patchv1webhooksid.d.ts.map +1 -0
  386. package/dist/commonjs/models/operations/patchv1webhooksid.js +251 -0
  387. package/dist/commonjs/models/operations/patchv1webhooksid.js.map +1 -0
  388. package/dist/commonjs/models/operations/postv1merchantsidactivate.d.ts +140 -0
  389. package/dist/commonjs/models/operations/postv1merchantsidactivate.d.ts.map +1 -0
  390. package/dist/commonjs/models/operations/postv1merchantsidactivate.js +174 -0
  391. package/dist/commonjs/models/operations/postv1merchantsidactivate.js.map +1 -0
  392. package/dist/commonjs/models/operations/postv1merchantsidcancel.d.ts +140 -0
  393. package/dist/commonjs/models/operations/postv1merchantsidcancel.d.ts.map +1 -0
  394. package/dist/commonjs/models/operations/postv1merchantsidcancel.js +174 -0
  395. package/dist/commonjs/models/operations/postv1merchantsidcancel.js.map +1 -0
  396. package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.d.ts +207 -0
  397. package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  398. package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.js +245 -0
  399. package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.js.map +1 -0
  400. package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.d.ts +333 -0
  401. package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
  402. package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.js +323 -0
  403. package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.js.map +1 -0
  404. package/dist/commonjs/models/operations/postv1merchantsregister.d.ts +1845 -0
  405. package/dist/commonjs/models/operations/postv1merchantsregister.d.ts.map +1 -0
  406. package/dist/commonjs/models/operations/postv1merchantsregister.js +1054 -0
  407. package/dist/commonjs/models/operations/postv1merchantsregister.js.map +1 -0
  408. package/dist/commonjs/models/operations/postv1scansmerchantsidscans.d.ts +140 -0
  409. package/dist/commonjs/models/operations/postv1scansmerchantsidscans.d.ts.map +1 -0
  410. package/dist/commonjs/models/operations/postv1scansmerchantsidscans.js +194 -0
  411. package/dist/commonjs/models/operations/postv1scansmerchantsidscans.js.map +1 -0
  412. package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.d.ts +111 -0
  413. package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
  414. package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.js +154 -0
  415. package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.js.map +1 -0
  416. package/dist/commonjs/models/operations/postv1webhooks.d.ts +203 -0
  417. package/dist/commonjs/models/operations/postv1webhooks.d.ts.map +1 -0
  418. package/dist/commonjs/models/operations/postv1webhooks.js +210 -0
  419. package/dist/commonjs/models/operations/postv1webhooks.js.map +1 -0
  420. package/dist/commonjs/models/operations/postv1webhooksidtest.d.ts +679 -0
  421. package/dist/commonjs/models/operations/postv1webhooksidtest.d.ts.map +1 -0
  422. package/dist/commonjs/models/operations/postv1webhooksidtest.js +722 -0
  423. package/dist/commonjs/models/operations/postv1webhooksidtest.js.map +1 -0
  424. package/dist/commonjs/package.json +3 -0
  425. package/dist/commonjs/sdk/assetconfigs.d.ts +26 -0
  426. package/dist/commonjs/sdk/assetconfigs.d.ts.map +1 -0
  427. package/dist/commonjs/sdk/assetconfigs.js +42 -0
  428. package/dist/commonjs/sdk/assetconfigs.js.map +1 -0
  429. package/dist/commonjs/sdk/index.d.ts +2 -0
  430. package/dist/commonjs/sdk/index.d.ts.map +1 -0
  431. package/dist/commonjs/sdk/index.js +21 -0
  432. package/dist/commonjs/sdk/index.js.map +1 -0
  433. package/dist/commonjs/sdk/merchants.d.ts +61 -0
  434. package/dist/commonjs/sdk/merchants.d.ts.map +1 -0
  435. package/dist/commonjs/sdk/merchants.js +92 -0
  436. package/dist/commonjs/sdk/merchants.js.map +1 -0
  437. package/dist/commonjs/sdk/saq.d.ts +19 -0
  438. package/dist/commonjs/sdk/saq.d.ts.map +1 -0
  439. package/dist/commonjs/sdk/saq.js +32 -0
  440. package/dist/commonjs/sdk/saq.js.map +1 -0
  441. package/dist/commonjs/sdk/scans.d.ts +54 -0
  442. package/dist/commonjs/sdk/scans.d.ts.map +1 -0
  443. package/dist/commonjs/sdk/scans.js +82 -0
  444. package/dist/commonjs/sdk/scans.js.map +1 -0
  445. package/dist/commonjs/sdk/sdk.d.ts +19 -0
  446. package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
  447. package/dist/commonjs/sdk/sdk.js +31 -0
  448. package/dist/commonjs/sdk/sdk.js.map +1 -0
  449. package/dist/commonjs/sdk/webhooks.d.ts +40 -0
  450. package/dist/commonjs/sdk/webhooks.d.ts.map +1 -0
  451. package/dist/commonjs/sdk/webhooks.js +62 -0
  452. package/dist/commonjs/sdk/webhooks.js.map +1 -0
  453. package/dist/commonjs/types/async.d.ts +23 -0
  454. package/dist/commonjs/types/async.d.ts.map +1 -0
  455. package/dist/commonjs/types/async.js +44 -0
  456. package/dist/commonjs/types/async.js.map +1 -0
  457. package/dist/commonjs/types/blobs.d.ts +4 -0
  458. package/dist/commonjs/types/blobs.d.ts.map +1 -0
  459. package/dist/commonjs/types/blobs.js +62 -0
  460. package/dist/commonjs/types/blobs.js.map +1 -0
  461. package/dist/commonjs/types/constdatetime.d.ts +3 -0
  462. package/dist/commonjs/types/constdatetime.d.ts.map +1 -0
  463. package/dist/commonjs/types/constdatetime.js +46 -0
  464. package/dist/commonjs/types/constdatetime.js.map +1 -0
  465. package/dist/commonjs/types/enums.d.ts +12 -0
  466. package/dist/commonjs/types/enums.d.ts.map +1 -0
  467. package/dist/commonjs/types/enums.js +10 -0
  468. package/dist/commonjs/types/enums.js.map +1 -0
  469. package/dist/commonjs/types/fp.d.ts +31 -0
  470. package/dist/commonjs/types/fp.d.ts.map +1 -0
  471. package/dist/commonjs/types/fp.js +37 -0
  472. package/dist/commonjs/types/fp.js.map +1 -0
  473. package/dist/commonjs/types/index.d.ts +8 -0
  474. package/dist/commonjs/types/index.d.ts.map +1 -0
  475. package/dist/commonjs/types/index.js +16 -0
  476. package/dist/commonjs/types/index.js.map +1 -0
  477. package/dist/commonjs/types/operations.d.ts +27 -0
  478. package/dist/commonjs/types/operations.d.ts.map +1 -0
  479. package/dist/commonjs/types/operations.js +83 -0
  480. package/dist/commonjs/types/operations.js.map +1 -0
  481. package/dist/commonjs/types/rfcdate.d.ts +21 -0
  482. package/dist/commonjs/types/rfcdate.d.ts.map +1 -0
  483. package/dist/commonjs/types/rfcdate.js +46 -0
  484. package/dist/commonjs/types/rfcdate.js.map +1 -0
  485. package/dist/commonjs/types/streams.d.ts +2 -0
  486. package/dist/commonjs/types/streams.d.ts.map +1 -0
  487. package/dist/commonjs/types/streams.js +18 -0
  488. package/dist/commonjs/types/streams.js.map +1 -0
  489. package/dist/esm/core.d.ts +10 -0
  490. package/dist/esm/core.d.ts.map +1 -0
  491. package/dist/esm/core.js +13 -0
  492. package/dist/esm/core.js.map +1 -0
  493. package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts +18 -0
  494. package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts.map +1 -0
  495. package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js +96 -0
  496. package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js.map +1 -0
  497. package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
  498. package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
  499. package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js +94 -0
  500. package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
  501. package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
  502. package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
  503. package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js +91 -0
  504. package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
  505. package/dist/esm/funcs/merchantsGetV1Merchants.d.ts +18 -0
  506. package/dist/esm/funcs/merchantsGetV1Merchants.d.ts.map +1 -0
  507. package/dist/esm/funcs/merchantsGetV1Merchants.js +87 -0
  508. package/dist/esm/funcs/merchantsGetV1Merchants.js.map +1 -0
  509. package/dist/esm/funcs/merchantsGetV1MerchantsId.d.ts +18 -0
  510. package/dist/esm/funcs/merchantsGetV1MerchantsId.d.ts.map +1 -0
  511. package/dist/esm/funcs/merchantsGetV1MerchantsId.js +87 -0
  512. package/dist/esm/funcs/merchantsGetV1MerchantsId.js.map +1 -0
  513. package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.d.ts +18 -0
  514. package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.d.ts.map +1 -0
  515. package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.js +87 -0
  516. package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.js.map +1 -0
  517. package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.d.ts +18 -0
  518. package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.d.ts.map +1 -0
  519. package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.js +87 -0
  520. package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.js.map +1 -0
  521. package/dist/esm/funcs/merchantsPatchV1MerchantsId.d.ts +18 -0
  522. package/dist/esm/funcs/merchantsPatchV1MerchantsId.d.ts.map +1 -0
  523. package/dist/esm/funcs/merchantsPatchV1MerchantsId.js +88 -0
  524. package/dist/esm/funcs/merchantsPatchV1MerchantsId.js.map +1 -0
  525. package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.d.ts +18 -0
  526. package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.d.ts.map +1 -0
  527. package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.js +88 -0
  528. package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.js.map +1 -0
  529. package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.d.ts +18 -0
  530. package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.d.ts.map +1 -0
  531. package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.js +87 -0
  532. package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.js.map +1 -0
  533. package/dist/esm/funcs/merchantsPostV1MerchantsRegister.d.ts +18 -0
  534. package/dist/esm/funcs/merchantsPostV1MerchantsRegister.d.ts.map +1 -0
  535. package/dist/esm/funcs/merchantsPostV1MerchantsRegister.js +82 -0
  536. package/dist/esm/funcs/merchantsPostV1MerchantsRegister.js.map +1 -0
  537. package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts +18 -0
  538. package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts.map +1 -0
  539. package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js +95 -0
  540. package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js.map +1 -0
  541. package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts +18 -0
  542. package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts.map +1 -0
  543. package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.js +88 -0
  544. package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.js.map +1 -0
  545. package/dist/esm/funcs/scansGetV1Scans.d.ts +18 -0
  546. package/dist/esm/funcs/scansGetV1Scans.d.ts.map +1 -0
  547. package/dist/esm/funcs/scansGetV1Scans.js +88 -0
  548. package/dist/esm/funcs/scansGetV1Scans.js.map +1 -0
  549. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.d.ts +18 -0
  550. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.d.ts.map +1 -0
  551. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.js +92 -0
  552. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.js.map +1 -0
  553. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts +18 -0
  554. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts.map +1 -0
  555. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.js +87 -0
  556. package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.js.map +1 -0
  557. package/dist/esm/funcs/scansGetV1ScansScanId.d.ts +18 -0
  558. package/dist/esm/funcs/scansGetV1ScansScanId.d.ts.map +1 -0
  559. package/dist/esm/funcs/scansGetV1ScansScanId.js +87 -0
  560. package/dist/esm/funcs/scansGetV1ScansScanId.js.map +1 -0
  561. package/dist/esm/funcs/scansGetV1ScansScanIdReport.d.ts +18 -0
  562. package/dist/esm/funcs/scansGetV1ScansScanIdReport.d.ts.map +1 -0
  563. package/dist/esm/funcs/scansGetV1ScansScanIdReport.js +87 -0
  564. package/dist/esm/funcs/scansGetV1ScansScanIdReport.js.map +1 -0
  565. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.d.ts +18 -0
  566. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.d.ts.map +1 -0
  567. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.js +89 -0
  568. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.js.map +1 -0
  569. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts +18 -0
  570. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts.map +1 -0
  571. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.js +87 -0
  572. package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.js.map +1 -0
  573. package/dist/esm/funcs/webhooksDeleteV1WebhooksId.d.ts +18 -0
  574. package/dist/esm/funcs/webhooksDeleteV1WebhooksId.d.ts.map +1 -0
  575. package/dist/esm/funcs/webhooksDeleteV1WebhooksId.js +87 -0
  576. package/dist/esm/funcs/webhooksDeleteV1WebhooksId.js.map +1 -0
  577. package/dist/esm/funcs/webhooksGetV1Webhooks.d.ts +18 -0
  578. package/dist/esm/funcs/webhooksGetV1Webhooks.d.ts.map +1 -0
  579. package/dist/esm/funcs/webhooksGetV1Webhooks.js +86 -0
  580. package/dist/esm/funcs/webhooksGetV1Webhooks.js.map +1 -0
  581. package/dist/esm/funcs/webhooksPatchV1WebhooksId.d.ts +18 -0
  582. package/dist/esm/funcs/webhooksPatchV1WebhooksId.d.ts.map +1 -0
  583. package/dist/esm/funcs/webhooksPatchV1WebhooksId.js +88 -0
  584. package/dist/esm/funcs/webhooksPatchV1WebhooksId.js.map +1 -0
  585. package/dist/esm/funcs/webhooksPostV1Webhooks.d.ts +18 -0
  586. package/dist/esm/funcs/webhooksPostV1Webhooks.d.ts.map +1 -0
  587. package/dist/esm/funcs/webhooksPostV1Webhooks.js +82 -0
  588. package/dist/esm/funcs/webhooksPostV1Webhooks.js.map +1 -0
  589. package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.d.ts +18 -0
  590. package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.d.ts.map +1 -0
  591. package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.js +88 -0
  592. package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.js.map +1 -0
  593. package/dist/esm/hooks/hooks.d.ts +25 -0
  594. package/dist/esm/hooks/hooks.d.ts.map +1 -0
  595. package/dist/esm/hooks/hooks.js +82 -0
  596. package/dist/esm/hooks/hooks.js.map +1 -0
  597. package/dist/esm/hooks/index.d.ts +3 -0
  598. package/dist/esm/hooks/index.d.ts.map +1 -0
  599. package/dist/esm/hooks/index.js +6 -0
  600. package/dist/esm/hooks/index.js.map +1 -0
  601. package/dist/esm/hooks/registration.d.ts +3 -0
  602. package/dist/esm/hooks/registration.d.ts.map +1 -0
  603. package/dist/esm/hooks/registration.js +12 -0
  604. package/dist/esm/hooks/registration.js.map +1 -0
  605. package/dist/esm/hooks/types.d.ts +76 -0
  606. package/dist/esm/hooks/types.d.ts.map +1 -0
  607. package/dist/esm/hooks/types.js +5 -0
  608. package/dist/esm/hooks/types.js.map +1 -0
  609. package/dist/esm/index.d.ts +6 -0
  610. package/dist/esm/index.d.ts.map +1 -0
  611. package/dist/esm/index.js +8 -0
  612. package/dist/esm/index.js.map +1 -0
  613. package/dist/esm/lib/base64.d.ts +10 -0
  614. package/dist/esm/lib/base64.d.ts.map +1 -0
  615. package/dist/esm/lib/base64.js +29 -0
  616. package/dist/esm/lib/base64.js.map +1 -0
  617. package/dist/esm/lib/config.d.ts +38 -0
  618. package/dist/esm/lib/config.d.ts.map +1 -0
  619. package/dist/esm/lib/config.js +38 -0
  620. package/dist/esm/lib/config.js.map +1 -0
  621. package/dist/esm/lib/dlv.d.ts +14 -0
  622. package/dist/esm/lib/dlv.d.ts.map +1 -0
  623. package/dist/esm/lib/dlv.js +46 -0
  624. package/dist/esm/lib/dlv.js.map +1 -0
  625. package/dist/esm/lib/encodings.d.ts +52 -0
  626. package/dist/esm/lib/encodings.d.ts.map +1 -0
  627. package/dist/esm/lib/encodings.js +354 -0
  628. package/dist/esm/lib/encodings.js.map +1 -0
  629. package/dist/esm/lib/files.d.ts +13 -0
  630. package/dist/esm/lib/files.d.ts.map +1 -0
  631. package/dist/esm/lib/files.js +73 -0
  632. package/dist/esm/lib/files.js.map +1 -0
  633. package/dist/esm/lib/http.d.ts +67 -0
  634. package/dist/esm/lib/http.d.ts.map +1 -0
  635. package/dist/esm/lib/http.js +207 -0
  636. package/dist/esm/lib/http.js.map +1 -0
  637. package/dist/esm/lib/is-plain-object.d.ts +2 -0
  638. package/dist/esm/lib/is-plain-object.d.ts.map +1 -0
  639. package/dist/esm/lib/is-plain-object.js +38 -0
  640. package/dist/esm/lib/is-plain-object.js.map +1 -0
  641. package/dist/esm/lib/logger.d.ts +6 -0
  642. package/dist/esm/lib/logger.d.ts.map +1 -0
  643. package/dist/esm/lib/logger.js +5 -0
  644. package/dist/esm/lib/logger.js.map +1 -0
  645. package/dist/esm/lib/matchers.d.ts +59 -0
  646. package/dist/esm/lib/matchers.d.ts.map +1 -0
  647. package/dist/esm/lib/matchers.js +199 -0
  648. package/dist/esm/lib/matchers.js.map +1 -0
  649. package/dist/esm/lib/primitives.d.ts +26 -0
  650. package/dist/esm/lib/primitives.d.ts.map +1 -0
  651. package/dist/esm/lib/primitives.js +103 -0
  652. package/dist/esm/lib/primitives.js.map +1 -0
  653. package/dist/esm/lib/retries.d.ts +38 -0
  654. package/dist/esm/lib/retries.d.ts.map +1 -0
  655. package/dist/esm/lib/retries.js +147 -0
  656. package/dist/esm/lib/retries.js.map +1 -0
  657. package/dist/esm/lib/schemas.d.ts +19 -0
  658. package/dist/esm/lib/schemas.d.ts.map +1 -0
  659. package/dist/esm/lib/schemas.js +57 -0
  660. package/dist/esm/lib/schemas.js.map +1 -0
  661. package/dist/esm/lib/sdks.d.ts +63 -0
  662. package/dist/esm/lib/sdks.d.ts.map +1 -0
  663. package/dist/esm/lib/sdks.js +265 -0
  664. package/dist/esm/lib/sdks.js.map +1 -0
  665. package/dist/esm/lib/security.d.ts +83 -0
  666. package/dist/esm/lib/security.d.ts.map +1 -0
  667. package/dist/esm/lib/security.js +136 -0
  668. package/dist/esm/lib/security.js.map +1 -0
  669. package/dist/esm/lib/url.d.ts +5 -0
  670. package/dist/esm/lib/url.d.ts.map +1 -0
  671. package/dist/esm/lib/url.js +22 -0
  672. package/dist/esm/lib/url.js.map +1 -0
  673. package/dist/esm/models/components/index.d.ts +2 -0
  674. package/dist/esm/models/components/index.d.ts.map +1 -0
  675. package/dist/esm/models/components/index.js +5 -0
  676. package/dist/esm/models/components/index.js.map +1 -0
  677. package/dist/esm/models/components/security.d.ts +29 -0
  678. package/dist/esm/models/components/security.d.ts.map +1 -0
  679. package/dist/esm/models/components/security.js +40 -0
  680. package/dist/esm/models/components/security.js.map +1 -0
  681. package/dist/esm/models/errors/apierror.d.ts +10 -0
  682. package/dist/esm/models/errors/apierror.d.ts.map +1 -0
  683. package/dist/esm/models/errors/apierror.js +24 -0
  684. package/dist/esm/models/errors/apierror.js.map +1 -0
  685. package/dist/esm/models/errors/beyondpcierror.d.ts +19 -0
  686. package/dist/esm/models/errors/beyondpcierror.d.ts.map +1 -0
  687. package/dist/esm/models/errors/beyondpcierror.js +16 -0
  688. package/dist/esm/models/errors/beyondpcierror.js.map +1 -0
  689. package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +199 -0
  690. package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
  691. package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js +215 -0
  692. package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
  693. package/dist/esm/models/errors/deletev1webhooksid.d.ts +199 -0
  694. package/dist/esm/models/errors/deletev1webhooksid.d.ts.map +1 -0
  695. package/dist/esm/models/errors/deletev1webhooksid.js +215 -0
  696. package/dist/esm/models/errors/deletev1webhooksid.js.map +1 -0
  697. package/dist/esm/models/errors/getv1merchants.d.ts +102 -0
  698. package/dist/esm/models/errors/getv1merchants.d.ts.map +1 -0
  699. package/dist/esm/models/errors/getv1merchants.js +111 -0
  700. package/dist/esm/models/errors/getv1merchants.js.map +1 -0
  701. package/dist/esm/models/errors/getv1merchantsid.d.ts +199 -0
  702. package/dist/esm/models/errors/getv1merchantsid.d.ts.map +1 -0
  703. package/dist/esm/models/errors/getv1merchantsid.js +216 -0
  704. package/dist/esm/models/errors/getv1merchantsid.js.map +1 -0
  705. package/dist/esm/models/errors/getv1merchantsidcompliance.d.ts +199 -0
  706. package/dist/esm/models/errors/getv1merchantsidcompliance.d.ts.map +1 -0
  707. package/dist/esm/models/errors/getv1merchantsidcompliance.js +213 -0
  708. package/dist/esm/models/errors/getv1merchantsidcompliance.js.map +1 -0
  709. package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.d.ts +199 -0
  710. package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  711. package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.js +211 -0
  712. package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.js.map +1 -0
  713. package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +199 -0
  714. package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
  715. package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js +213 -0
  716. package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
  717. package/dist/esm/models/errors/getv1merchantsregistrationid.d.ts +199 -0
  718. package/dist/esm/models/errors/getv1merchantsregistrationid.d.ts.map +1 -0
  719. package/dist/esm/models/errors/getv1merchantsregistrationid.js +213 -0
  720. package/dist/esm/models/errors/getv1merchantsregistrationid.js.map +1 -0
  721. package/dist/esm/models/errors/getv1scans.d.ts +199 -0
  722. package/dist/esm/models/errors/getv1scans.d.ts.map +1 -0
  723. package/dist/esm/models/errors/getv1scans.js +215 -0
  724. package/dist/esm/models/errors/getv1scans.js.map +1 -0
  725. package/dist/esm/models/errors/getv1scansmerchantsidscans.d.ts +199 -0
  726. package/dist/esm/models/errors/getv1scansmerchantsidscans.d.ts.map +1 -0
  727. package/dist/esm/models/errors/getv1scansmerchantsidscans.js +213 -0
  728. package/dist/esm/models/errors/getv1scansmerchantsidscans.js.map +1 -0
  729. package/dist/esm/models/errors/getv1scansmerchantsidscansnext.d.ts +199 -0
  730. package/dist/esm/models/errors/getv1scansmerchantsidscansnext.d.ts.map +1 -0
  731. package/dist/esm/models/errors/getv1scansmerchantsidscansnext.js +213 -0
  732. package/dist/esm/models/errors/getv1scansmerchantsidscansnext.js.map +1 -0
  733. package/dist/esm/models/errors/getv1scansscanid.d.ts +199 -0
  734. package/dist/esm/models/errors/getv1scansscanid.d.ts.map +1 -0
  735. package/dist/esm/models/errors/getv1scansscanid.js +217 -0
  736. package/dist/esm/models/errors/getv1scansscanid.js.map +1 -0
  737. package/dist/esm/models/errors/getv1scansscanidreport.d.ts +102 -0
  738. package/dist/esm/models/errors/getv1scansscanidreport.d.ts.map +1 -0
  739. package/dist/esm/models/errors/getv1scansscanidreport.js +112 -0
  740. package/dist/esm/models/errors/getv1scansscanidreport.js.map +1 -0
  741. package/dist/esm/models/errors/getv1webhooks.d.ts +199 -0
  742. package/dist/esm/models/errors/getv1webhooks.d.ts.map +1 -0
  743. package/dist/esm/models/errors/getv1webhooks.js +216 -0
  744. package/dist/esm/models/errors/getv1webhooks.js.map +1 -0
  745. package/dist/esm/models/errors/httpclienterrors.d.ts +44 -0
  746. package/dist/esm/models/errors/httpclienterrors.d.ts.map +1 -0
  747. package/dist/esm/models/errors/httpclienterrors.js +69 -0
  748. package/dist/esm/models/errors/httpclienterrors.js.map +1 -0
  749. package/dist/esm/models/errors/index.d.ts +30 -0
  750. package/dist/esm/models/errors/index.d.ts.map +1 -0
  751. package/dist/esm/models/errors/index.js +33 -0
  752. package/dist/esm/models/errors/index.js.map +1 -0
  753. package/dist/esm/models/errors/patchv1merchantsid.d.ts +296 -0
  754. package/dist/esm/models/errors/patchv1merchantsid.d.ts.map +1 -0
  755. package/dist/esm/models/errors/patchv1merchantsid.js +318 -0
  756. package/dist/esm/models/errors/patchv1merchantsid.js.map +1 -0
  757. package/dist/esm/models/errors/patchv1webhooksid.d.ts +296 -0
  758. package/dist/esm/models/errors/patchv1webhooksid.d.ts.map +1 -0
  759. package/dist/esm/models/errors/patchv1webhooksid.js +319 -0
  760. package/dist/esm/models/errors/patchv1webhooksid.js.map +1 -0
  761. package/dist/esm/models/errors/postv1merchantsidactivate.d.ts +296 -0
  762. package/dist/esm/models/errors/postv1merchantsidactivate.d.ts.map +1 -0
  763. package/dist/esm/models/errors/postv1merchantsidactivate.js +317 -0
  764. package/dist/esm/models/errors/postv1merchantsidactivate.js.map +1 -0
  765. package/dist/esm/models/errors/postv1merchantsidcancel.d.ts +296 -0
  766. package/dist/esm/models/errors/postv1merchantsidcancel.d.ts.map +1 -0
  767. package/dist/esm/models/errors/postv1merchantsidcancel.js +318 -0
  768. package/dist/esm/models/errors/postv1merchantsidcancel.js.map +1 -0
  769. package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.d.ts +199 -0
  770. package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  771. package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.js +212 -0
  772. package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.js.map +1 -0
  773. package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.d.ts +199 -0
  774. package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
  775. package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.js +213 -0
  776. package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.js.map +1 -0
  777. package/dist/esm/models/errors/postv1merchantsregister.d.ts +199 -0
  778. package/dist/esm/models/errors/postv1merchantsregister.d.ts.map +1 -0
  779. package/dist/esm/models/errors/postv1merchantsregister.js +215 -0
  780. package/dist/esm/models/errors/postv1merchantsregister.js.map +1 -0
  781. package/dist/esm/models/errors/postv1scansmerchantsidscans.d.ts +393 -0
  782. package/dist/esm/models/errors/postv1scansmerchantsidscans.d.ts.map +1 -0
  783. package/dist/esm/models/errors/postv1scansmerchantsidscans.js +419 -0
  784. package/dist/esm/models/errors/postv1scansmerchantsidscans.js.map +1 -0
  785. package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.d.ts +199 -0
  786. package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
  787. package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.js +213 -0
  788. package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.js.map +1 -0
  789. package/dist/esm/models/errors/postv1webhooks.d.ts +199 -0
  790. package/dist/esm/models/errors/postv1webhooks.d.ts.map +1 -0
  791. package/dist/esm/models/errors/postv1webhooks.js +217 -0
  792. package/dist/esm/models/errors/postv1webhooks.js.map +1 -0
  793. package/dist/esm/models/errors/postv1webhooksidtest.d.ts +296 -0
  794. package/dist/esm/models/errors/postv1webhooksidtest.d.ts.map +1 -0
  795. package/dist/esm/models/errors/postv1webhooksidtest.js +318 -0
  796. package/dist/esm/models/errors/postv1webhooksidtest.js.map +1 -0
  797. package/dist/esm/models/errors/responsevalidationerror.d.ts +26 -0
  798. package/dist/esm/models/errors/responsevalidationerror.d.ts.map +1 -0
  799. package/dist/esm/models/errors/responsevalidationerror.js +29 -0
  800. package/dist/esm/models/errors/responsevalidationerror.js.map +1 -0
  801. package/dist/esm/models/errors/sdkvalidationerror.d.ts +21 -0
  802. package/dist/esm/models/errors/sdkvalidationerror.d.ts.map +1 -0
  803. package/dist/esm/models/errors/sdkvalidationerror.js +91 -0
  804. package/dist/esm/models/errors/sdkvalidationerror.js.map +1 -0
  805. package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +113 -0
  806. package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
  807. package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js +120 -0
  808. package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
  809. package/dist/esm/models/operations/deletev1webhooksid.d.ts +111 -0
  810. package/dist/esm/models/operations/deletev1webhooksid.d.ts.map +1 -0
  811. package/dist/esm/models/operations/deletev1webhooksid.js +110 -0
  812. package/dist/esm/models/operations/deletev1webhooksid.js.map +1 -0
  813. package/dist/esm/models/operations/getv1merchants.d.ts +237 -0
  814. package/dist/esm/models/operations/getv1merchants.d.ts.map +1 -0
  815. package/dist/esm/models/operations/getv1merchants.js +200 -0
  816. package/dist/esm/models/operations/getv1merchants.js.map +1 -0
  817. package/dist/esm/models/operations/getv1merchantsid.d.ts +172 -0
  818. package/dist/esm/models/operations/getv1merchantsid.d.ts.map +1 -0
  819. package/dist/esm/models/operations/getv1merchantsid.js +141 -0
  820. package/dist/esm/models/operations/getv1merchantsid.js.map +1 -0
  821. package/dist/esm/models/operations/getv1merchantsidcompliance.d.ts +173 -0
  822. package/dist/esm/models/operations/getv1merchantsidcompliance.d.ts.map +1 -0
  823. package/dist/esm/models/operations/getv1merchantsidcompliance.js +169 -0
  824. package/dist/esm/models/operations/getv1merchantsidcompliance.js.map +1 -0
  825. package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.d.ts +214 -0
  826. package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  827. package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.js +199 -0
  828. package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.js.map +1 -0
  829. package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +111 -0
  830. package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
  831. package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js +111 -0
  832. package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
  833. package/dist/esm/models/operations/getv1merchantsregistrationid.d.ts +156 -0
  834. package/dist/esm/models/operations/getv1merchantsregistrationid.d.ts.map +1 -0
  835. package/dist/esm/models/operations/getv1merchantsregistrationid.js +135 -0
  836. package/dist/esm/models/operations/getv1merchantsregistrationid.js.map +1 -0
  837. package/dist/esm/models/operations/getv1scans.d.ts +328 -0
  838. package/dist/esm/models/operations/getv1scans.d.ts.map +1 -0
  839. package/dist/esm/models/operations/getv1scans.js +283 -0
  840. package/dist/esm/models/operations/getv1scans.js.map +1 -0
  841. package/dist/esm/models/operations/getv1scansmerchantsidscans.d.ts +286 -0
  842. package/dist/esm/models/operations/getv1scansmerchantsidscans.d.ts.map +1 -0
  843. package/dist/esm/models/operations/getv1scansmerchantsidscans.js +256 -0
  844. package/dist/esm/models/operations/getv1scansmerchantsidscans.js.map +1 -0
  845. package/dist/esm/models/operations/getv1scansmerchantsidscansnext.d.ts +206 -0
  846. package/dist/esm/models/operations/getv1scansmerchantsidscansnext.d.ts.map +1 -0
  847. package/dist/esm/models/operations/getv1scansmerchantsidscansnext.js +190 -0
  848. package/dist/esm/models/operations/getv1scansmerchantsidscansnext.js.map +1 -0
  849. package/dist/esm/models/operations/getv1scansscanid.d.ts +369 -0
  850. package/dist/esm/models/operations/getv1scansscanid.d.ts.map +1 -0
  851. package/dist/esm/models/operations/getv1scansscanid.js +325 -0
  852. package/dist/esm/models/operations/getv1scansscanid.js.map +1 -0
  853. package/dist/esm/models/operations/getv1scansscanidreport.d.ts +59 -0
  854. package/dist/esm/models/operations/getv1scansscanidreport.d.ts.map +1 -0
  855. package/dist/esm/models/operations/getv1scansscanidreport.js +58 -0
  856. package/dist/esm/models/operations/getv1scansscanidreport.js.map +1 -0
  857. package/dist/esm/models/operations/getv1webhooks.d.ts +191 -0
  858. package/dist/esm/models/operations/getv1webhooks.d.ts.map +1 -0
  859. package/dist/esm/models/operations/getv1webhooks.js +173 -0
  860. package/dist/esm/models/operations/getv1webhooks.js.map +1 -0
  861. package/dist/esm/models/operations/index.d.ts +26 -0
  862. package/dist/esm/models/operations/index.d.ts.map +1 -0
  863. package/dist/esm/models/operations/index.js +29 -0
  864. package/dist/esm/models/operations/index.js.map +1 -0
  865. package/dist/esm/models/operations/patchv1merchantsid.d.ts +201 -0
  866. package/dist/esm/models/operations/patchv1merchantsid.d.ts.map +1 -0
  867. package/dist/esm/models/operations/patchv1merchantsid.js +179 -0
  868. package/dist/esm/models/operations/patchv1merchantsid.js.map +1 -0
  869. package/dist/esm/models/operations/patchv1webhooksid.d.ts +227 -0
  870. package/dist/esm/models/operations/patchv1webhooksid.d.ts.map +1 -0
  871. package/dist/esm/models/operations/patchv1webhooksid.js +205 -0
  872. package/dist/esm/models/operations/patchv1webhooksid.js.map +1 -0
  873. package/dist/esm/models/operations/postv1merchantsidactivate.d.ts +140 -0
  874. package/dist/esm/models/operations/postv1merchantsidactivate.d.ts.map +1 -0
  875. package/dist/esm/models/operations/postv1merchantsidactivate.js +130 -0
  876. package/dist/esm/models/operations/postv1merchantsidactivate.js.map +1 -0
  877. package/dist/esm/models/operations/postv1merchantsidcancel.d.ts +140 -0
  878. package/dist/esm/models/operations/postv1merchantsidcancel.d.ts.map +1 -0
  879. package/dist/esm/models/operations/postv1merchantsidcancel.js +130 -0
  880. package/dist/esm/models/operations/postv1merchantsidcancel.js.map +1 -0
  881. package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.d.ts +207 -0
  882. package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
  883. package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.js +199 -0
  884. package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.js.map +1 -0
  885. package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.d.ts +333 -0
  886. package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
  887. package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.js +275 -0
  888. package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.js.map +1 -0
  889. package/dist/esm/models/operations/postv1merchantsregister.d.ts +1845 -0
  890. package/dist/esm/models/operations/postv1merchantsregister.d.ts.map +1 -0
  891. package/dist/esm/models/operations/postv1merchantsregister.js +993 -0
  892. package/dist/esm/models/operations/postv1merchantsregister.js.map +1 -0
  893. package/dist/esm/models/operations/postv1scansmerchantsidscans.d.ts +140 -0
  894. package/dist/esm/models/operations/postv1scansmerchantsidscans.d.ts.map +1 -0
  895. package/dist/esm/models/operations/postv1scansmerchantsidscans.js +148 -0
  896. package/dist/esm/models/operations/postv1scansmerchantsidscans.js.map +1 -0
  897. package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.d.ts +111 -0
  898. package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
  899. package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.js +110 -0
  900. package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.js.map +1 -0
  901. package/dist/esm/models/operations/postv1webhooks.d.ts +203 -0
  902. package/dist/esm/models/operations/postv1webhooks.d.ts.map +1 -0
  903. package/dist/esm/models/operations/postv1webhooks.js +166 -0
  904. package/dist/esm/models/operations/postv1webhooks.js.map +1 -0
  905. package/dist/esm/models/operations/postv1webhooksidtest.d.ts +679 -0
  906. package/dist/esm/models/operations/postv1webhooksidtest.d.ts.map +1 -0
  907. package/dist/esm/models/operations/postv1webhooksidtest.js +651 -0
  908. package/dist/esm/models/operations/postv1webhooksidtest.js.map +1 -0
  909. package/dist/esm/package.json +3 -0
  910. package/dist/esm/sdk/assetconfigs.d.ts +26 -0
  911. package/dist/esm/sdk/assetconfigs.d.ts.map +1 -0
  912. package/dist/esm/sdk/assetconfigs.js +38 -0
  913. package/dist/esm/sdk/assetconfigs.js.map +1 -0
  914. package/dist/esm/sdk/index.d.ts +2 -0
  915. package/dist/esm/sdk/index.d.ts.map +1 -0
  916. package/dist/esm/sdk/index.js +5 -0
  917. package/dist/esm/sdk/index.js.map +1 -0
  918. package/dist/esm/sdk/merchants.d.ts +61 -0
  919. package/dist/esm/sdk/merchants.d.ts.map +1 -0
  920. package/dist/esm/sdk/merchants.js +88 -0
  921. package/dist/esm/sdk/merchants.js.map +1 -0
  922. package/dist/esm/sdk/saq.d.ts +19 -0
  923. package/dist/esm/sdk/saq.d.ts.map +1 -0
  924. package/dist/esm/sdk/saq.js +28 -0
  925. package/dist/esm/sdk/saq.js.map +1 -0
  926. package/dist/esm/sdk/scans.d.ts +54 -0
  927. package/dist/esm/sdk/scans.d.ts.map +1 -0
  928. package/dist/esm/sdk/scans.js +78 -0
  929. package/dist/esm/sdk/scans.js.map +1 -0
  930. package/dist/esm/sdk/sdk.d.ts +19 -0
  931. package/dist/esm/sdk/sdk.d.ts.map +1 -0
  932. package/dist/esm/sdk/sdk.js +27 -0
  933. package/dist/esm/sdk/sdk.js.map +1 -0
  934. package/dist/esm/sdk/webhooks.d.ts +40 -0
  935. package/dist/esm/sdk/webhooks.d.ts.map +1 -0
  936. package/dist/esm/sdk/webhooks.js +58 -0
  937. package/dist/esm/sdk/webhooks.js.map +1 -0
  938. package/dist/esm/types/async.d.ts +23 -0
  939. package/dist/esm/types/async.d.ts.map +1 -0
  940. package/dist/esm/types/async.js +40 -0
  941. package/dist/esm/types/async.js.map +1 -0
  942. package/dist/esm/types/blobs.d.ts +4 -0
  943. package/dist/esm/types/blobs.d.ts.map +1 -0
  944. package/dist/esm/types/blobs.js +25 -0
  945. package/dist/esm/types/blobs.js.map +1 -0
  946. package/dist/esm/types/constdatetime.d.ts +3 -0
  947. package/dist/esm/types/constdatetime.d.ts.map +1 -0
  948. package/dist/esm/types/constdatetime.js +10 -0
  949. package/dist/esm/types/constdatetime.js.map +1 -0
  950. package/dist/esm/types/enums.d.ts +12 -0
  951. package/dist/esm/types/enums.d.ts.map +1 -0
  952. package/dist/esm/types/enums.js +7 -0
  953. package/dist/esm/types/enums.js.map +1 -0
  954. package/dist/esm/types/fp.d.ts +31 -0
  955. package/dist/esm/types/fp.d.ts.map +1 -0
  956. package/dist/esm/types/fp.js +31 -0
  957. package/dist/esm/types/fp.js.map +1 -0
  958. package/dist/esm/types/index.d.ts +8 -0
  959. package/dist/esm/types/index.d.ts.map +1 -0
  960. package/dist/esm/types/index.js +8 -0
  961. package/dist/esm/types/index.js.map +1 -0
  962. package/dist/esm/types/operations.d.ts +27 -0
  963. package/dist/esm/types/operations.d.ts.map +1 -0
  964. package/dist/esm/types/operations.js +77 -0
  965. package/dist/esm/types/operations.js.map +1 -0
  966. package/dist/esm/types/rfcdate.d.ts +21 -0
  967. package/dist/esm/types/rfcdate.d.ts.map +1 -0
  968. package/dist/esm/types/rfcdate.js +42 -0
  969. package/dist/esm/types/rfcdate.js.map +1 -0
  970. package/dist/esm/types/streams.d.ts +2 -0
  971. package/dist/esm/types/streams.d.ts.map +1 -0
  972. package/dist/esm/types/streams.js +15 -0
  973. package/dist/esm/types/streams.js.map +1 -0
  974. package/jsr.json +27 -0
  975. package/package.json +126 -0
  976. package/src/core.ts +13 -0
  977. package/src/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.ts +203 -0
  978. package/src/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.ts +199 -0
  979. package/src/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.ts +195 -0
  980. package/src/funcs/merchantsGetV1Merchants.ts +175 -0
  981. package/src/funcs/merchantsGetV1MerchantsId.ts +179 -0
  982. package/src/funcs/merchantsGetV1MerchantsIdCompliance.ts +186 -0
  983. package/src/funcs/merchantsGetV1MerchantsRegistrationId.ts +191 -0
  984. package/src/funcs/merchantsPatchV1MerchantsId.ts +190 -0
  985. package/src/funcs/merchantsPostV1MerchantsIdActivate.ts +191 -0
  986. package/src/funcs/merchantsPostV1MerchantsIdCancel.ts +190 -0
  987. package/src/funcs/merchantsPostV1MerchantsRegister.ts +177 -0
  988. package/src/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.ts +201 -0
  989. package/src/funcs/saqPostV1MerchantsMerchantIdSAQLink.ts +192 -0
  990. package/src/funcs/scansGetV1Scans.ts +180 -0
  991. package/src/funcs/scansGetV1ScansMerchantsIdScans.ts +192 -0
  992. package/src/funcs/scansGetV1ScansMerchantsIdScansNext.ts +191 -0
  993. package/src/funcs/scansGetV1ScansScanId.ts +179 -0
  994. package/src/funcs/scansGetV1ScansScanIdReport.ts +176 -0
  995. package/src/funcs/scansPostV1ScansMerchantsIdScans.ts +205 -0
  996. package/src/funcs/scansPostV1ScansMerchantsIdScansCancel.ts +191 -0
  997. package/src/funcs/webhooksDeleteV1WebhooksId.ts +179 -0
  998. package/src/funcs/webhooksGetV1Webhooks.ts +178 -0
  999. package/src/funcs/webhooksPatchV1WebhooksId.ts +187 -0
  1000. package/src/funcs/webhooksPostV1Webhooks.ts +173 -0
  1001. package/src/funcs/webhooksPostV1WebhooksIdTest.ts +191 -0
  1002. package/src/hooks/hooks.ts +132 -0
  1003. package/src/hooks/index.ts +6 -0
  1004. package/src/hooks/registration.ts +14 -0
  1005. package/src/hooks/types.ts +107 -0
  1006. package/src/index.ts +9 -0
  1007. package/src/lib/base64.ts +37 -0
  1008. package/src/lib/config.ts +71 -0
  1009. package/src/lib/dlv.ts +53 -0
  1010. package/src/lib/encodings.ts +483 -0
  1011. package/src/lib/files.ts +82 -0
  1012. package/src/lib/http.ts +323 -0
  1013. package/src/lib/is-plain-object.ts +43 -0
  1014. package/src/lib/logger.ts +9 -0
  1015. package/src/lib/matchers.ts +345 -0
  1016. package/src/lib/primitives.ts +150 -0
  1017. package/src/lib/retries.ts +218 -0
  1018. package/src/lib/schemas.ts +91 -0
  1019. package/src/lib/sdks.ts +402 -0
  1020. package/src/lib/security.ts +260 -0
  1021. package/src/lib/url.ts +33 -0
  1022. package/src/models/components/index.ts +5 -0
  1023. package/src/models/components/security.ts +71 -0
  1024. package/src/models/errors/apierror.ts +34 -0
  1025. package/src/models/errors/beyondpcierror.ts +35 -0
  1026. package/src/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.ts +553 -0
  1027. package/src/models/errors/deletev1webhooksid.ts +444 -0
  1028. package/src/models/errors/getv1merchants.ts +206 -0
  1029. package/src/models/errors/getv1merchantsid.ts +442 -0
  1030. package/src/models/errors/getv1merchantsidcompliance.ts +478 -0
  1031. package/src/models/errors/getv1merchantsmerchantidassetconfigs.ts +522 -0
  1032. package/src/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.ts +534 -0
  1033. package/src/models/errors/getv1merchantsregistrationid.ts +487 -0
  1034. package/src/models/errors/getv1scans.ts +431 -0
  1035. package/src/models/errors/getv1scansmerchantsidscans.ts +463 -0
  1036. package/src/models/errors/getv1scansmerchantsidscansnext.ts +482 -0
  1037. package/src/models/errors/getv1scansscanid.ts +438 -0
  1038. package/src/models/errors/getv1scansscanidreport.ts +227 -0
  1039. package/src/models/errors/getv1webhooks.ts +437 -0
  1040. package/src/models/errors/httpclienterrors.ts +62 -0
  1041. package/src/models/errors/index.ts +33 -0
  1042. package/src/models/errors/patchv1merchantsid.ts +692 -0
  1043. package/src/models/errors/patchv1webhooksid.ts +684 -0
  1044. package/src/models/errors/postv1merchantsidactivate.ts +740 -0
  1045. package/src/models/errors/postv1merchantsidcancel.ts +724 -0
  1046. package/src/models/errors/postv1merchantsmerchantidassetconfigs.ts +525 -0
  1047. package/src/models/errors/postv1merchantsmerchantidsaqlink.ts +493 -0
  1048. package/src/models/errors/postv1merchantsregister.ts +465 -0
  1049. package/src/models/errors/postv1scansmerchantsidscans.ts +990 -0
  1050. package/src/models/errors/postv1scansmerchantsidscanscancel.ts +507 -0
  1051. package/src/models/errors/postv1webhooks.ts +440 -0
  1052. package/src/models/errors/postv1webhooksidtest.ts +702 -0
  1053. package/src/models/errors/responsevalidationerror.ts +50 -0
  1054. package/src/models/errors/sdkvalidationerror.ts +109 -0
  1055. package/src/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.ts +317 -0
  1056. package/src/models/operations/deletev1webhooksid.ts +253 -0
  1057. package/src/models/operations/getv1merchants.ts +410 -0
  1058. package/src/models/operations/getv1merchantsid.ts +322 -0
  1059. package/src/models/operations/getv1merchantsidcompliance.ts +381 -0
  1060. package/src/models/operations/getv1merchantsmerchantidassetconfigs.ts +487 -0
  1061. package/src/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.ts +316 -0
  1062. package/src/models/operations/getv1merchantsregistrationid.ts +321 -0
  1063. package/src/models/operations/getv1scans.ts +550 -0
  1064. package/src/models/operations/getv1scansmerchantsidscans.ts +566 -0
  1065. package/src/models/operations/getv1scansmerchantsidscansnext.ts +448 -0
  1066. package/src/models/operations/getv1scansscanid.ts +645 -0
  1067. package/src/models/operations/getv1scansscanidreport.ts +137 -0
  1068. package/src/models/operations/getv1webhooks.ts +372 -0
  1069. package/src/models/operations/index.ts +29 -0
  1070. package/src/models/operations/patchv1merchantsid.ts +401 -0
  1071. package/src/models/operations/patchv1webhooksid.ts +420 -0
  1072. package/src/models/operations/postv1merchantsidactivate.ts +293 -0
  1073. package/src/models/operations/postv1merchantsidcancel.ts +293 -0
  1074. package/src/models/operations/postv1merchantsmerchantidassetconfigs.ts +486 -0
  1075. package/src/models/operations/postv1merchantsmerchantidsaqlink.ts +584 -0
  1076. package/src/models/operations/postv1merchantsregister.ts +1760 -0
  1077. package/src/models/operations/postv1scansmerchantsidscans.ts +355 -0
  1078. package/src/models/operations/postv1scansmerchantsidscanscancel.ts +285 -0
  1079. package/src/models/operations/postv1webhooks.ts +337 -0
  1080. package/src/models/operations/postv1webhooksidtest.ts +1321 -0
  1081. package/src/sdk/assetconfigs.ts +68 -0
  1082. package/src/sdk/index.ts +5 -0
  1083. package/src/sdk/merchants.ts +153 -0
  1084. package/src/sdk/saq.ts +47 -0
  1085. package/src/sdk/scans.ts +135 -0
  1086. package/src/sdk/sdk.ts +37 -0
  1087. package/src/sdk/webhooks.ts +99 -0
  1088. package/src/types/async.ts +68 -0
  1089. package/src/types/blobs.ts +31 -0
  1090. package/src/types/constdatetime.ts +15 -0
  1091. package/src/types/enums.ts +16 -0
  1092. package/src/types/fp.ts +50 -0
  1093. package/src/types/index.ts +11 -0
  1094. package/src/types/operations.ts +105 -0
  1095. package/src/types/rfcdate.ts +54 -0
  1096. package/src/types/streams.ts +21 -0
  1097. package/tsconfig.json +41 -0
package/FUNCTIONS.md ADDED
@@ -0,0 +1,87 @@
1
+ # Standalone Functions
2
+
3
+ > [!NOTE]
4
+ > This section is useful if you are using a bundler and targetting browsers and
5
+ > runtimes where the size of an application affects performance and load times.
6
+
7
+ Every method in this SDK is also available as a standalone function. This
8
+ alternative API is suitable when targetting the browser or serverless runtimes
9
+ and using a bundler to build your application since all unused functionality
10
+ will be tree-shaken away. This includes code for unused methods, Zod schemas,
11
+ encoding helpers and response handlers. The result is dramatically smaller
12
+ impact on the application's final bundle size which grows very slowly as you use
13
+ more and more functionality from this SDK.
14
+
15
+ Calling methods through the main SDK class remains a valid and generally more
16
+ more ergonomic option. Standalone functions represent an optimisation for a
17
+ specific category of applications.
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { BeyondPCICore } from "@beyond-pci/sdk/core.js";
23
+ import { merchantsGetV1Merchants } from "@beyond-pci/sdk/funcs/merchantsGetV1Merchants.js";
24
+
25
+ // Use `BeyondPCICore` for best tree-shaking performance.
26
+ // You can create one instance of it to use across an application.
27
+ const beyondPCI = new BeyondPCICore({
28
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
29
+ });
30
+
31
+ async function run() {
32
+ const res = await merchantsGetV1Merchants(beyondPCI, {});
33
+ if (res.ok) {
34
+ const { value: result } = res;
35
+ console.log(result);
36
+ } else {
37
+ console.log("merchantsGetV1Merchants failed:", res.error);
38
+ }
39
+ }
40
+
41
+ run();
42
+ ```
43
+
44
+ ## Result types
45
+
46
+ Standalone functions differ from SDK methods in that they return a
47
+ `Result<Value, Error>` type to capture _known errors_ and document them using
48
+ the type system. By avoiding throwing errors, application code maintains clear
49
+ control flow and error-handling become part of the regular flow of application
50
+ code.
51
+
52
+ > We use the term "known errors" because standalone functions, and JavaScript
53
+ > code in general, can still throw unexpected errors such as `TypeError`s,
54
+ > `RangeError`s and `DOMException`s. Exhaustively catching all errors may be
55
+ > something this SDK addresses in the future. Nevertheless, there is still a lot
56
+ > of benefit from capturing most errors and turning them into values.
57
+
58
+ The second reason for this style of programming is because these functions will
59
+ typically be used in front-end applications where exception throwing is
60
+ sometimes discouraged or considered unidiomatic. React and similar ecosystems
61
+ and libraries tend to promote this style of programming so that components
62
+ render useful content under all states (loading, success, error and so on).
63
+
64
+ The general pattern when calling standalone functions looks like this:
65
+
66
+ ```typescript
67
+ import { Core } from "<sdk-package-name>";
68
+ import { fetchSomething } from "<sdk-package-name>/funcs/fetchSomething.js";
69
+
70
+ const client = new Core();
71
+
72
+ async function run() {
73
+ const result = await fetchSomething(client, { id: "123" });
74
+ if (!result.ok) {
75
+ // You can throw the error or handle it. It's your choice now.
76
+ throw result.error;
77
+ }
78
+
79
+ console.log(result.value);
80
+ }
81
+
82
+ run();
83
+ ```
84
+
85
+ Notably, `result.error` above will have an explicit type compared to a try-catch
86
+ variation where the error in the catch block can only be of type `unknown` (or
87
+ `any` depending on your TypeScript settings).
package/README.md ADDED
@@ -0,0 +1,544 @@
1
+ # beyond-pci-v1-typescript
2
+
3
+ Developer-friendly, idiomatic Typescript SDK for the *beyond-pci-v1-typescript* API.
4
+
5
+ <div align="left">
6
+ <a href="https://www.scalar.com/?utm_source=beyond-pci-v1-typescript&utm_campaign=typescript"><img src="https://custom-icon-badges.demolab.com/badge/-Built%20By%20scalar+speakeasy-212015?style=for-the-badge&logo=scalar&labelColor=252525" /></a>
7
+ <a href="https://opensource.org/licenses/MIT">
8
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" style="width: 100px; height: 28px;" />
9
+ </a>
10
+ </div>
11
+
12
+ <br />
13
+
14
+ ## Summary
15
+
16
+ Beyond PCI API: PCI scanning and compliance API for tenants
17
+ <!-- End Summary [summary] -->
18
+
19
+ <!-- Start Table of Contents [toc] -->
20
+ ## Table of Contents
21
+ <!-- $toc-max-depth=2 -->
22
+ * [@beyond-pci/sdk](#beyond-pcisdk)
23
+ * [SDK Installation](#sdk-installation)
24
+ * [Requirements](#requirements)
25
+ * [SDK Example Usage](#sdk-example-usage)
26
+ * [Authentication](#authentication)
27
+ * [Available Resources and Operations](#available-resources-and-operations)
28
+ * [Standalone functions](#standalone-functions)
29
+ * [Retries](#retries)
30
+ * [Error Handling](#error-handling)
31
+ * [Server Selection](#server-selection)
32
+ * [Custom HTTP Client](#custom-http-client)
33
+ * [Debugging](#debugging)
34
+ * [Development](#development)
35
+ * [Maturity](#maturity)
36
+ * [Contributions](#contributions)
37
+
38
+ <!-- End Table of Contents [toc] -->
39
+
40
+ <!-- Start SDK Installation [installation] -->
41
+ ## SDK Installation
42
+
43
+ The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
44
+
45
+ ### NPM
46
+
47
+ ```bash
48
+ npm add @beyond-pci/sdk
49
+ ```
50
+
51
+ ### PNPM
52
+
53
+ ```bash
54
+ pnpm add @beyond-pci/sdk
55
+ ```
56
+
57
+ ### Bun
58
+
59
+ ```bash
60
+ bun add @beyond-pci/sdk
61
+ ```
62
+
63
+ ### Yarn
64
+
65
+ ```bash
66
+ yarn add @beyond-pci/sdk zod
67
+
68
+ # Note that Yarn does not install peer dependencies automatically. You will need
69
+ # to install zod as shown above.
70
+ ```
71
+
72
+ > [!NOTE]
73
+ > This package is published with CommonJS and ES Modules (ESM) support.
74
+ <!-- End SDK Installation [installation] -->
75
+
76
+ <!-- Start Requirements [requirements] -->
77
+ ## Requirements
78
+
79
+ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
80
+ <!-- End Requirements [requirements] -->
81
+
82
+ <!-- Start SDK Example Usage [usage] -->
83
+ ## SDK Example Usage
84
+
85
+ ### Example
86
+
87
+ ```typescript
88
+ import { BeyondPCI } from "@beyond-pci/sdk";
89
+
90
+ const beyondPCI = new BeyondPCI({
91
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
92
+ });
93
+
94
+ async function run() {
95
+ const result = await beyondPCI.merchants.getV1Merchants({});
96
+
97
+ console.log(result);
98
+ }
99
+
100
+ run();
101
+
102
+ ```
103
+ <!-- End SDK Example Usage [usage] -->
104
+
105
+ <!-- Start Authentication [security] -->
106
+ ## Authentication
107
+
108
+ ### Per-Client Security Schemes
109
+
110
+ This SDK supports the following security scheme globally:
111
+
112
+ | Name | Type | Scheme |
113
+ | ------------ | ---- | ----------- |
114
+ | `bearerAuth` | http | HTTP Bearer |
115
+
116
+ To authenticate with the API the `bearerAuth` parameter must be set when initializing the SDK client instance. For example:
117
+ ```typescript
118
+ import { BeyondPCI } from "@beyond-pci/sdk";
119
+
120
+ const beyondPCI = new BeyondPCI({
121
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
122
+ });
123
+
124
+ async function run() {
125
+ const result = await beyondPCI.merchants.getV1Merchants({});
126
+
127
+ console.log(result);
128
+ }
129
+
130
+ run();
131
+
132
+ ```
133
+ <!-- End Authentication [security] -->
134
+
135
+ <!-- Start Available Resources and Operations [operations] -->
136
+ ## Available Resources and Operations
137
+
138
+ <details open>
139
+ <summary>Available methods</summary>
140
+
141
+ ### [assetConfigs](docs/sdks/assetconfigs/README.md)
142
+
143
+ * [getV1MerchantsMerchantIdAssetConfigs](docs/sdks/assetconfigs/README.md#getv1merchantsmerchantidassetconfigs) - List asset configs
144
+ * [postV1MerchantsMerchantIdAssetConfigs](docs/sdks/assetconfigs/README.md#postv1merchantsmerchantidassetconfigs) - Add asset config
145
+ * [deleteV1MerchantsMerchantIdAssetConfigsAssetConfigId](docs/sdks/assetconfigs/README.md#deletev1merchantsmerchantidassetconfigsassetconfigid) - Remove asset config
146
+
147
+
148
+ ### [merchants](docs/sdks/merchants/README.md)
149
+
150
+ * [getV1Merchants](docs/sdks/merchants/README.md#getv1merchants) - List all merchants
151
+ * [getV1MerchantsId](docs/sdks/merchants/README.md#getv1merchantsid) - Get merchant details
152
+ * [patchV1MerchantsId](docs/sdks/merchants/README.md#patchv1merchantsid) - Update merchant
153
+ * [postV1MerchantsRegister](docs/sdks/merchants/README.md#postv1merchantsregister) - Register a new merchant
154
+ * [getV1MerchantsRegistrationId](docs/sdks/merchants/README.md#getv1merchantsregistrationid) - Get merchant registration status
155
+ * [postV1MerchantsIdActivate](docs/sdks/merchants/README.md#postv1merchantsidactivate) - Activate merchant
156
+ * [postV1MerchantsIdCancel](docs/sdks/merchants/README.md#postv1merchantsidcancel) - Cancel merchant
157
+ * [getV1MerchantsIdCompliance](docs/sdks/merchants/README.md#getv1merchantsidcompliance) - Get merchant compliance status
158
+
159
+ ### [saq](docs/sdks/saq/README.md)
160
+
161
+ * [getV1MerchantsMerchantIdSaqSubmissionIdPdf](docs/sdks/saq/README.md#getv1merchantsmerchantidsaqsubmissionidpdf) - Download SAQ PDF
162
+ * [postV1MerchantsMerchantIdSaqLink](docs/sdks/saq/README.md#postv1merchantsmerchantidsaqlink) - Generate SAQ access link
163
+
164
+ ### [scans](docs/sdks/scans/README.md)
165
+
166
+ * [getV1Scans](docs/sdks/scans/README.md#getv1scans) - List all scans
167
+ * [getV1ScansScanId](docs/sdks/scans/README.md#getv1scansscanid) - Get scan details
168
+ * [getV1ScansScanIdReport](docs/sdks/scans/README.md#getv1scansscanidreport) - Download scan report
169
+ * [getV1ScansMerchantsIdScans](docs/sdks/scans/README.md#getv1scansmerchantsidscans) - List scans for merchant
170
+ * [postV1ScansMerchantsIdScans](docs/sdks/scans/README.md#postv1scansmerchantsidscans) - Trigger on-demand scan
171
+ * [getV1ScansMerchantsIdScansNext](docs/sdks/scans/README.md#getv1scansmerchantsidscansnext) - Get next scheduled scan
172
+ * [postV1ScansMerchantsIdScansCancel](docs/sdks/scans/README.md#postv1scansmerchantsidscanscancel) - Cancel running scan
173
+
174
+ ### [webhooks](docs/sdks/webhooks/README.md)
175
+
176
+ * [getV1Webhooks](docs/sdks/webhooks/README.md#getv1webhooks) - List webhooks
177
+ * [postV1Webhooks](docs/sdks/webhooks/README.md#postv1webhooks) - Create webhook
178
+ * [patchV1WebhooksId](docs/sdks/webhooks/README.md#patchv1webhooksid) - Update webhook
179
+ * [deleteV1WebhooksId](docs/sdks/webhooks/README.md#deletev1webhooksid) - Delete webhook
180
+ * [postV1WebhooksIdTest](docs/sdks/webhooks/README.md#postv1webhooksidtest) - Send test webhook
181
+
182
+ </details>
183
+ <!-- End Available Resources and Operations [operations] -->
184
+
185
+ <!-- Start Standalone functions [standalone-funcs] -->
186
+ ## Standalone functions
187
+
188
+ All the methods listed above are available as standalone functions. These
189
+ functions are ideal for use in applications running in the browser, serverless
190
+ runtimes or other environments where application bundle size is a primary
191
+ concern. When using a bundler to build your application, all unused
192
+ functionality will be either excluded from the final bundle or tree-shaken away.
193
+
194
+ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
195
+
196
+ <details>
197
+
198
+ <summary>Available standalone functions</summary>
199
+
200
+ - [`assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId`](docs/sdks/assetconfigs/README.md#deletev1merchantsmerchantidassetconfigsassetconfigid) - Remove asset config
201
+ - [`assetConfigsGetV1MerchantsMerchantIdAssetConfigs`](docs/sdks/assetconfigs/README.md#getv1merchantsmerchantidassetconfigs) - List asset configs
202
+ - [`assetConfigsPostV1MerchantsMerchantIdAssetConfigs`](docs/sdks/assetconfigs/README.md#postv1merchantsmerchantidassetconfigs) - Add asset config
203
+ - [`merchantsGetV1Merchants`](docs/sdks/merchants/README.md#getv1merchants) - List all merchants
204
+ - [`merchantsGetV1MerchantsId`](docs/sdks/merchants/README.md#getv1merchantsid) - Get merchant details
205
+ - [`merchantsGetV1MerchantsIdCompliance`](docs/sdks/merchants/README.md#getv1merchantsidcompliance) - Get merchant compliance status
206
+ - [`merchantsGetV1MerchantsRegistrationId`](docs/sdks/merchants/README.md#getv1merchantsregistrationid) - Get merchant registration status
207
+ - [`merchantsPatchV1MerchantsId`](docs/sdks/merchants/README.md#patchv1merchantsid) - Update merchant
208
+ - [`merchantsPostV1MerchantsIdActivate`](docs/sdks/merchants/README.md#postv1merchantsidactivate) - Activate merchant
209
+ - [`merchantsPostV1MerchantsIdCancel`](docs/sdks/merchants/README.md#postv1merchantsidcancel) - Cancel merchant
210
+ - [`merchantsPostV1MerchantsRegister`](docs/sdks/merchants/README.md#postv1merchantsregister) - Register a new merchant
211
+ - [`saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf`](docs/sdks/saq/README.md#getv1merchantsmerchantidsaqsubmissionidpdf) - Download SAQ PDF
212
+ - [`saqPostV1MerchantsMerchantIdSAQLink`](docs/sdks/saq/README.md#postv1merchantsmerchantidsaqlink) - Generate SAQ access link
213
+ - [`scansGetV1Scans`](docs/sdks/scans/README.md#getv1scans) - List all scans
214
+ - [`scansGetV1ScansMerchantsIdScans`](docs/sdks/scans/README.md#getv1scansmerchantsidscans) - List scans for merchant
215
+ - [`scansGetV1ScansMerchantsIdScansNext`](docs/sdks/scans/README.md#getv1scansmerchantsidscansnext) - Get next scheduled scan
216
+ - [`scansGetV1ScansScanId`](docs/sdks/scans/README.md#getv1scansscanid) - Get scan details
217
+ - [`scansGetV1ScansScanIdReport`](docs/sdks/scans/README.md#getv1scansscanidreport) - Download scan report
218
+ - [`scansPostV1ScansMerchantsIdScans`](docs/sdks/scans/README.md#postv1scansmerchantsidscans) - Trigger on-demand scan
219
+ - [`scansPostV1ScansMerchantsIdScansCancel`](docs/sdks/scans/README.md#postv1scansmerchantsidscanscancel) - Cancel running scan
220
+ - [`webhooksDeleteV1WebhooksId`](docs/sdks/webhooks/README.md#deletev1webhooksid) - Delete webhook
221
+ - [`webhooksGetV1Webhooks`](docs/sdks/webhooks/README.md#getv1webhooks) - List webhooks
222
+ - [`webhooksPatchV1WebhooksId`](docs/sdks/webhooks/README.md#patchv1webhooksid) - Update webhook
223
+ - [`webhooksPostV1Webhooks`](docs/sdks/webhooks/README.md#postv1webhooks) - Create webhook
224
+ - [`webhooksPostV1WebhooksIdTest`](docs/sdks/webhooks/README.md#postv1webhooksidtest) - Send test webhook
225
+
226
+ </details>
227
+ <!-- End Standalone functions [standalone-funcs] -->
228
+
229
+ <!-- Start Retries [retries] -->
230
+ ## Retries
231
+
232
+ Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
233
+
234
+ To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
235
+ ```typescript
236
+ import { BeyondPCI } from "@beyond-pci/sdk";
237
+
238
+ const beyondPCI = new BeyondPCI({
239
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
240
+ });
241
+
242
+ async function run() {
243
+ const result = await beyondPCI.merchants.getV1Merchants({}, {
244
+ retries: {
245
+ strategy: "backoff",
246
+ backoff: {
247
+ initialInterval: 1,
248
+ maxInterval: 50,
249
+ exponent: 1.1,
250
+ maxElapsedTime: 100,
251
+ },
252
+ retryConnectionErrors: false,
253
+ },
254
+ });
255
+
256
+ console.log(result);
257
+ }
258
+
259
+ run();
260
+
261
+ ```
262
+
263
+ If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
264
+ ```typescript
265
+ import { BeyondPCI } from "@beyond-pci/sdk";
266
+
267
+ const beyondPCI = new BeyondPCI({
268
+ retryConfig: {
269
+ strategy: "backoff",
270
+ backoff: {
271
+ initialInterval: 1,
272
+ maxInterval: 50,
273
+ exponent: 1.1,
274
+ maxElapsedTime: 100,
275
+ },
276
+ retryConnectionErrors: false,
277
+ },
278
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
279
+ });
280
+
281
+ async function run() {
282
+ const result = await beyondPCI.merchants.getV1Merchants({});
283
+
284
+ console.log(result);
285
+ }
286
+
287
+ run();
288
+
289
+ ```
290
+ <!-- End Retries [retries] -->
291
+
292
+ <!-- Start Error Handling [errors] -->
293
+ ## Error Handling
294
+
295
+ [`BeyondPciError`](./src/models/errors/beyondpcierror.ts) is the base class for all HTTP error responses. It has the following properties:
296
+
297
+ | Property | Type | Description |
298
+ | ------------------- | ---------- | --------------------------------------------------------------------------------------- |
299
+ | `error.message` | `string` | Error message |
300
+ | `error.statusCode` | `number` | HTTP response status code eg `404` |
301
+ | `error.headers` | `Headers` | HTTP response headers |
302
+ | `error.body` | `string` | HTTP body. Can be empty string if no body is returned. |
303
+ | `error.rawResponse` | `Response` | Raw HTTP response |
304
+ | `error.data$` | | Optional. Some errors may contain structured data. [See Error Classes](#error-classes). |
305
+
306
+ ### Example
307
+ ```typescript
308
+ import { BeyondPCI } from "@beyond-pci/sdk";
309
+ import * as errors from "@beyond-pci/sdk/models/errors";
310
+
311
+ const beyondPCI = new BeyondPCI({
312
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
313
+ });
314
+
315
+ async function run() {
316
+ try {
317
+ const result = await beyondPCI.merchants.getV1Merchants({});
318
+
319
+ console.log(result);
320
+ } catch (error) {
321
+ // The base class for HTTP error responses
322
+ if (error instanceof errors.BeyondPciError) {
323
+ console.log(error.message);
324
+ console.log(error.statusCode);
325
+ console.log(error.body);
326
+ console.log(error.headers);
327
+
328
+ // Depending on the method different errors may be thrown
329
+ if (error instanceof errors.GetV1MerchantsResponseBody) {
330
+ console.log(error.data$.error); // errors.ErrorT
331
+ }
332
+ }
333
+ }
334
+ }
335
+
336
+ run();
337
+
338
+ ```
339
+
340
+ ### Error Classes
341
+ **Primary error:**
342
+ * [`BeyondPciError`](./src/models/errors/beyondpcierror.ts): The base class for HTTP error responses.
343
+
344
+ <details><summary>Less common errors (61)</summary>
345
+
346
+ <br />
347
+
348
+ **Network errors:**
349
+ * [`ConnectionError`](./src/models/errors/httpclienterrors.ts): HTTP client was unable to make a request to a server.
350
+ * [`RequestTimeoutError`](./src/models/errors/httpclienterrors.ts): HTTP request timed out due to an AbortSignal signal.
351
+ * [`RequestAbortedError`](./src/models/errors/httpclienterrors.ts): HTTP request was aborted by the client.
352
+ * [`InvalidRequestError`](./src/models/errors/httpclienterrors.ts): Any input used to create a request is invalid.
353
+ * [`UnexpectedClientError`](./src/models/errors/httpclienterrors.ts): Unrecognised or unexpected error.
354
+
355
+
356
+ **Inherit from [`BeyondPciError`](./src/models/errors/beyondpcierror.ts)**:
357
+ * [`PatchV1MerchantsIdResponseBody`](docs/models/errors/patchv1merchantsidresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
358
+ * [`PostV1MerchantsRegisterResponseBody`](docs/models/errors/postv1merchantsregisterresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
359
+ * [`PostV1MerchantsMerchantIdSaqLinkResponseBody`](docs/models/errors/postv1merchantsmerchantidsaqlinkresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
360
+ * [`PostV1MerchantsMerchantIdAssetConfigsResponseBody`](docs/models/errors/postv1merchantsmerchantidassetconfigsresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
361
+ * [`PostV1ScansMerchantsIdScansResponseBody`](docs/models/errors/postv1scansmerchantsidscansresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
362
+ * [`PostV1WebhooksResponseBody`](docs/models/errors/postv1webhooksresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
363
+ * [`PatchV1WebhooksIdResponseBody`](docs/models/errors/patchv1webhooksidresponsebody.md): Default Response. Status code `400`. Applicable to 1 of 25 methods.*
364
+ * [`GetV1MerchantsResponseBody`](docs/models/errors/getv1merchantsresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
365
+ * [`GetV1MerchantsIdResponseBody`](docs/models/errors/getv1merchantsidresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
366
+ * [`PatchV1MerchantsIdMerchantsResponseBody`](docs/models/errors/patchv1merchantsidmerchantsresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
367
+ * [`PostV1MerchantsRegisterMerchantsResponseBody`](docs/models/errors/postv1merchantsregistermerchantsresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
368
+ * [`GetV1MerchantsRegistrationIdResponseBody`](docs/models/errors/getv1merchantsregistrationidresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
369
+ * [`PostV1MerchantsIdActivateResponseBody`](docs/models/errors/postv1merchantsidactivateresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
370
+ * [`PostV1MerchantsIdCancelResponseBody`](docs/models/errors/postv1merchantsidcancelresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
371
+ * [`GetV1MerchantsIdComplianceResponseBody`](docs/models/errors/getv1merchantsidcomplianceresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
372
+ * [`GetV1MerchantsMerchantIdSaqSubmissionIdPdfResponseBody`](docs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdfresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
373
+ * [`PostV1MerchantsMerchantIdSAQLinkSAQResponseBody`](docs/models/errors/postv1merchantsmerchantidsaqlinksaqresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
374
+ * [`GetV1MerchantsMerchantIdAssetConfigsResponseBody`](docs/models/errors/getv1merchantsmerchantidassetconfigsresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
375
+ * [`PostV1MerchantsMerchantIdAssetConfigsAssetConfigsResponseBody`](docs/models/errors/postv1merchantsmerchantidassetconfigsassetconfigsresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
376
+ * [`DeleteV1MerchantsMerchantIdAssetConfigsAssetConfigIdResponseBody`](docs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigidresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
377
+ * [`GetV1ScansResponseBody`](docs/models/errors/getv1scansresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
378
+ * [`GetV1ScansScanIdResponseBody`](docs/models/errors/getv1scansscanidresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
379
+ * [`GetV1ScansMerchantsIdScansResponseBody`](docs/models/errors/getv1scansmerchantsidscansresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
380
+ * [`PostV1ScansMerchantsIdScansScansResponseBody`](docs/models/errors/postv1scansmerchantsidscansscansresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
381
+ * [`GetV1ScansMerchantsIdScansNextResponseBody`](docs/models/errors/getv1scansmerchantsidscansnextresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
382
+ * [`PostV1ScansMerchantsIdScansCancelResponseBody`](docs/models/errors/postv1scansmerchantsidscanscancelresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
383
+ * [`GetV1WebhooksResponseBody`](docs/models/errors/getv1webhooksresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
384
+ * [`PostV1WebhooksWebhooksResponseBody`](docs/models/errors/postv1webhookswebhooksresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
385
+ * [`PatchV1WebhooksIdWebhooksResponseBody`](docs/models/errors/patchv1webhooksidwebhooksresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
386
+ * [`DeleteV1WebhooksIdResponseBody`](docs/models/errors/deletev1webhooksidresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
387
+ * [`PostV1WebhooksIdTestResponseBody`](docs/models/errors/postv1webhooksidtestresponsebody.md): Default Response. Status code `401`. Applicable to 1 of 25 methods.*
388
+ * [`GetV1MerchantsIdMerchantsResponseBody`](docs/models/errors/getv1merchantsidmerchantsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
389
+ * [`PatchV1MerchantsIdMerchantsResponseResponseBody`](docs/models/errors/patchv1merchantsidmerchantsresponseresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
390
+ * [`GetV1MerchantsRegistrationIdMerchantsResponseBody`](docs/models/errors/getv1merchantsregistrationidmerchantsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
391
+ * [`PostV1MerchantsIdActivateMerchantsResponseBody`](docs/models/errors/postv1merchantsidactivatemerchantsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
392
+ * [`PostV1MerchantsIdCancelMerchantsResponseBody`](docs/models/errors/postv1merchantsidcancelmerchantsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
393
+ * [`GetV1MerchantsIdComplianceMerchantsResponseBody`](docs/models/errors/getv1merchantsidcompliancemerchantsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
394
+ * [`GetV1MerchantsMerchantIdSAQSubmissionIdPdfSAQResponseBody`](docs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdfsaqresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
395
+ * [`GetV1MerchantsMerchantIdAssetConfigsAssetConfigsResponseBody`](docs/models/errors/getv1merchantsmerchantidassetconfigsassetconfigsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
396
+ * [`DeleteV1MerchantsMerchantIdAssetConfigsAssetConfigIdAssetConfigsResponseBody`](docs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigidassetconfigsresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
397
+ * [`GetV1ScansScansResponseBody`](docs/models/errors/getv1scansscansresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
398
+ * [`GetV1ScansScanIdScansResponseBody`](docs/models/errors/getv1scansscanidscansresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
399
+ * [`GetV1ScansMerchantsIdScansScansResponseBody`](docs/models/errors/getv1scansmerchantsidscansscansresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
400
+ * [`PostV1ScansMerchantsIdScansScansResponseResponseBody`](docs/models/errors/postv1scansmerchantsidscansscansresponseresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
401
+ * [`GetV1ScansMerchantsIdScansNextScansResponseBody`](docs/models/errors/getv1scansmerchantsidscansnextscansresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
402
+ * [`PostV1ScansMerchantsIdScansCancelScansResponseBody`](docs/models/errors/postv1scansmerchantsidscanscancelscansresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
403
+ * [`GetV1WebhooksWebhooksResponseBody`](docs/models/errors/getv1webhookswebhooksresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
404
+ * [`PatchV1WebhooksIdWebhooksResponseResponseBody`](docs/models/errors/patchv1webhooksidwebhooksresponseresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
405
+ * [`DeleteV1WebhooksIdWebhooksResponseBody`](docs/models/errors/deletev1webhooksidwebhooksresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
406
+ * [`PostV1WebhooksIdTestWebhooksResponseBody`](docs/models/errors/postv1webhooksidtestwebhooksresponsebody.md): Default Response. Status code `404`. Applicable to 1 of 25 methods.*
407
+ * [`PostV1MerchantsIdActivateMerchantsResponseResponseBody`](docs/models/errors/postv1merchantsidactivatemerchantsresponseresponsebody.md): Default Response. Status code `409`. Applicable to 1 of 25 methods.*
408
+ * [`PostV1MerchantsIdCancelMerchantsResponseResponseBody`](docs/models/errors/postv1merchantsidcancelmerchantsresponseresponsebody.md): Default Response. Status code `409`. Applicable to 1 of 25 methods.*
409
+ * [`PostV1ScansMerchantsIdScansScansResponse409ResponseBody`](docs/models/errors/postv1scansmerchantsidscansscansresponse409responsebody.md): Default Response. Status code `409`. Applicable to 1 of 25 methods.*
410
+ * [`PostV1WebhooksIdTestWebhooksResponseResponseBody`](docs/models/errors/postv1webhooksidtestwebhooksresponseresponsebody.md): Default Response. Status code `409`. Applicable to 1 of 25 methods.*
411
+ * [`GetV1ScansScanIdReportResponseBody`](docs/models/errors/getv1scansscanidreportresponsebody.md): Default Response. Status code `501`. Applicable to 1 of 25 methods.*
412
+ * [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
413
+
414
+ </details>
415
+
416
+ \* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.
417
+ <!-- End Error Handling [errors] -->
418
+
419
+ <!-- Start Server Selection [server] -->
420
+ ## Server Selection
421
+
422
+ ### Select Server by Index
423
+
424
+ You can override the default server globally by passing a server index to the `serverIdx: number` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
425
+
426
+ | # | Server | Description |
427
+ | --- | ----------------------------------- | ----------- |
428
+ | 0 | `https://staging.api.beyondpci.com` | Staging |
429
+ | 1 | `https://api.beyondpci.com` | Production |
430
+
431
+ #### Example
432
+
433
+ ```typescript
434
+ import { BeyondPCI } from "@beyond-pci/sdk";
435
+
436
+ const beyondPCI = new BeyondPCI({
437
+ serverIdx: 1,
438
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
439
+ });
440
+
441
+ async function run() {
442
+ const result = await beyondPCI.merchants.getV1Merchants({});
443
+
444
+ console.log(result);
445
+ }
446
+
447
+ run();
448
+
449
+ ```
450
+
451
+ ### Override Server URL Per-Client
452
+
453
+ The default server can also be overridden globally by passing a URL to the `serverURL: string` optional parameter when initializing the SDK client instance. For example:
454
+ ```typescript
455
+ import { BeyondPCI } from "@beyond-pci/sdk";
456
+
457
+ const beyondPCI = new BeyondPCI({
458
+ serverURL: "https://api.beyondpci.com",
459
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
460
+ });
461
+
462
+ async function run() {
463
+ const result = await beyondPCI.merchants.getV1Merchants({});
464
+
465
+ console.log(result);
466
+ }
467
+
468
+ run();
469
+
470
+ ```
471
+ <!-- End Server Selection [server] -->
472
+
473
+ <!-- Start Custom HTTP Client [http-client] -->
474
+ ## Custom HTTP Client
475
+
476
+ The TypeScript SDK makes API calls using an `HTTPClient` that wraps the native
477
+ [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API). This
478
+ client is a thin wrapper around `fetch` and provides the ability to attach hooks
479
+ around the request lifecycle that can be used to modify the request or handle
480
+ errors and response.
481
+
482
+ The `HTTPClient` constructor takes an optional `fetcher` argument that can be
483
+ used to integrate a third-party HTTP client or when writing tests to mock out
484
+ the HTTP client and feed in fixtures.
485
+
486
+ The following example shows how to use the `"beforeRequest"` hook to to add a
487
+ custom header and a timeout to requests and how to use the `"requestError"` hook
488
+ to log errors:
489
+
490
+ ```typescript
491
+ import { BeyondPCI } from "@beyond-pci/sdk";
492
+ import { HTTPClient } from "@beyond-pci/sdk/lib/http";
493
+
494
+ const httpClient = new HTTPClient({
495
+ // fetcher takes a function that has the same signature as native `fetch`.
496
+ fetcher: (request) => {
497
+ return fetch(request);
498
+ }
499
+ });
500
+
501
+ httpClient.addHook("beforeRequest", (request) => {
502
+ const nextRequest = new Request(request, {
503
+ signal: request.signal || AbortSignal.timeout(5000)
504
+ });
505
+
506
+ nextRequest.headers.set("x-custom-header", "custom value");
507
+
508
+ return nextRequest;
509
+ });
510
+
511
+ httpClient.addHook("requestError", (error, request) => {
512
+ console.group("Request Error");
513
+ console.log("Reason:", `${error}`);
514
+ console.log("Endpoint:", `${request.method} ${request.url}`);
515
+ console.groupEnd();
516
+ });
517
+
518
+ const sdk = new BeyondPCI({ httpClient });
519
+ ```
520
+ <!-- End Custom HTTP Client [http-client] -->
521
+
522
+ <!-- Start Debugging [debug] -->
523
+ ## Debugging
524
+
525
+ You can setup your SDK to emit debug logs for SDK requests and responses.
526
+
527
+ You can pass a logger that matches `console`'s interface as an SDK option.
528
+
529
+ > [!WARNING]
530
+ > Beware that debug logging will reveal secrets, like API tokens in headers, in log messages printed to a console or files. It's recommended to use this feature only during local development and not in production.
531
+
532
+ ```typescript
533
+ import { BeyondPCI } from "@beyond-pci/sdk";
534
+
535
+ const sdk = new BeyondPCI({ debugLogger: console });
536
+ ```
537
+ <!-- End Debugging [debug] -->
538
+
539
+ ## Contributions
540
+
541
+ While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
542
+ We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
543
+
544
+ ### SDK Created by [Scalar](https://www.scalar.com/?utm_source=beyond-pci-v1-typescript&utm_campaign=typescript)