@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.
- package/FUNCTIONS.md +87 -0
- package/README.md +544 -0
- package/RUNTIMES.md +48 -0
- package/dist/commonjs/core.d.ts +10 -0
- package/dist/commonjs/core.d.ts.map +1 -0
- package/dist/commonjs/core.js +17 -0
- package/dist/commonjs/core.js.map +1 -0
- package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts +18 -0
- package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts.map +1 -0
- package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js +132 -0
- package/dist/commonjs/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js.map +1 -0
- package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
- package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
- package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js +130 -0
- package/dist/commonjs/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
- package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
- package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
- package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js +127 -0
- package/dist/commonjs/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1Merchants.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsGetV1Merchants.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1Merchants.js +123 -0
- package/dist/commonjs/funcs/merchantsGetV1Merchants.js.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsId.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsId.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsId.js +123 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsId.js.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.js +123 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsIdCompliance.js.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.js +123 -0
- package/dist/commonjs/funcs/merchantsGetV1MerchantsRegistrationId.js.map +1 -0
- package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.js +124 -0
- package/dist/commonjs/funcs/merchantsPatchV1MerchantsId.js.map +1 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.js +124 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdActivate.js.map +1 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.js +123 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsIdCancel.js.map +1 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.d.ts +18 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.d.ts.map +1 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.js +118 -0
- package/dist/commonjs/funcs/merchantsPostV1MerchantsRegister.js.map +1 -0
- package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts +18 -0
- package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts.map +1 -0
- package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js +131 -0
- package/dist/commonjs/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js.map +1 -0
- package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts +18 -0
- package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts.map +1 -0
- package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.js +124 -0
- package/dist/commonjs/funcs/saqPostV1MerchantsMerchantIdSAQLink.js.map +1 -0
- package/dist/commonjs/funcs/scansGetV1Scans.d.ts +18 -0
- package/dist/commonjs/funcs/scansGetV1Scans.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansGetV1Scans.js +124 -0
- package/dist/commonjs/funcs/scansGetV1Scans.js.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.d.ts +18 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.js +128 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScans.js.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts +18 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.js +123 -0
- package/dist/commonjs/funcs/scansGetV1ScansMerchantsIdScansNext.js.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanId.d.ts +18 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanId.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanId.js +123 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanId.js.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.d.ts +18 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.js +123 -0
- package/dist/commonjs/funcs/scansGetV1ScansScanIdReport.js.map +1 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.d.ts +18 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.js +125 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScans.js.map +1 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts +18 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts.map +1 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.js +123 -0
- package/dist/commonjs/funcs/scansPostV1ScansMerchantsIdScansCancel.js.map +1 -0
- package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.js +123 -0
- package/dist/commonjs/funcs/webhooksDeleteV1WebhooksId.js.map +1 -0
- package/dist/commonjs/funcs/webhooksGetV1Webhooks.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksGetV1Webhooks.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksGetV1Webhooks.js +122 -0
- package/dist/commonjs/funcs/webhooksGetV1Webhooks.js.map +1 -0
- package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.js +124 -0
- package/dist/commonjs/funcs/webhooksPatchV1WebhooksId.js.map +1 -0
- package/dist/commonjs/funcs/webhooksPostV1Webhooks.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksPostV1Webhooks.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksPostV1Webhooks.js +118 -0
- package/dist/commonjs/funcs/webhooksPostV1Webhooks.js.map +1 -0
- package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.js +124 -0
- package/dist/commonjs/funcs/webhooksPostV1WebhooksIdTest.js.map +1 -0
- package/dist/commonjs/hooks/hooks.d.ts +25 -0
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
- package/dist/commonjs/hooks/hooks.js +86 -0
- package/dist/commonjs/hooks/hooks.js.map +1 -0
- package/dist/commonjs/hooks/index.d.ts +3 -0
- package/dist/commonjs/hooks/index.d.ts.map +1 -0
- package/dist/commonjs/hooks/index.js +22 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/registration.d.ts +3 -0
- package/dist/commonjs/hooks/registration.d.ts.map +1 -0
- package/dist/commonjs/hooks/registration.js +15 -0
- package/dist/commonjs/hooks/registration.js.map +1 -0
- package/dist/commonjs/hooks/types.d.ts +76 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -0
- package/dist/commonjs/hooks/types.js +6 -0
- package/dist/commonjs/hooks/types.js.map +1 -0
- package/dist/commonjs/index.d.ts +6 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +48 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lib/base64.d.ts +10 -0
- package/dist/commonjs/lib/base64.d.ts.map +1 -0
- package/dist/commonjs/lib/base64.js +71 -0
- package/dist/commonjs/lib/base64.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +38 -0
- package/dist/commonjs/lib/config.d.ts.map +1 -0
- package/dist/commonjs/lib/config.js +42 -0
- package/dist/commonjs/lib/config.js.map +1 -0
- package/dist/commonjs/lib/dlv.d.ts +14 -0
- package/dist/commonjs/lib/dlv.d.ts.map +1 -0
- package/dist/commonjs/lib/dlv.js +49 -0
- package/dist/commonjs/lib/dlv.js.map +1 -0
- package/dist/commonjs/lib/encodings.d.ts +52 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -0
- package/dist/commonjs/lib/encodings.js +368 -0
- package/dist/commonjs/lib/encodings.js.map +1 -0
- package/dist/commonjs/lib/files.d.ts +13 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -0
- package/dist/commonjs/lib/files.js +77 -0
- package/dist/commonjs/lib/files.js.map +1 -0
- package/dist/commonjs/lib/http.d.ts +67 -0
- package/dist/commonjs/lib/http.d.ts.map +1 -0
- package/dist/commonjs/lib/http.js +217 -0
- package/dist/commonjs/lib/http.js.map +1 -0
- package/dist/commonjs/lib/is-plain-object.d.ts +2 -0
- package/dist/commonjs/lib/is-plain-object.d.ts.map +1 -0
- package/dist/commonjs/lib/is-plain-object.js +41 -0
- package/dist/commonjs/lib/is-plain-object.js.map +1 -0
- package/dist/commonjs/lib/logger.d.ts +6 -0
- package/dist/commonjs/lib/logger.d.ts.map +1 -0
- package/dist/commonjs/lib/logger.js +6 -0
- package/dist/commonjs/lib/logger.js.map +1 -0
- package/dist/commonjs/lib/matchers.d.ts +59 -0
- package/dist/commonjs/lib/matchers.d.ts.map +1 -0
- package/dist/commonjs/lib/matchers.js +218 -0
- package/dist/commonjs/lib/matchers.js.map +1 -0
- package/dist/commonjs/lib/primitives.d.ts +26 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -0
- package/dist/commonjs/lib/primitives.js +111 -0
- package/dist/commonjs/lib/primitives.js.map +1 -0
- package/dist/commonjs/lib/retries.d.ts +38 -0
- package/dist/commonjs/lib/retries.d.ts.map +1 -0
- package/dist/commonjs/lib/retries.js +153 -0
- package/dist/commonjs/lib/retries.js.map +1 -0
- package/dist/commonjs/lib/schemas.d.ts +19 -0
- package/dist/commonjs/lib/schemas.d.ts.map +1 -0
- package/dist/commonjs/lib/schemas.js +62 -0
- package/dist/commonjs/lib/schemas.js.map +1 -0
- package/dist/commonjs/lib/sdks.d.ts +63 -0
- package/dist/commonjs/lib/sdks.d.ts.map +1 -0
- package/dist/commonjs/lib/sdks.js +269 -0
- package/dist/commonjs/lib/sdks.js.map +1 -0
- package/dist/commonjs/lib/security.d.ts +83 -0
- package/dist/commonjs/lib/security.d.ts.map +1 -0
- package/dist/commonjs/lib/security.js +143 -0
- package/dist/commonjs/lib/security.js.map +1 -0
- package/dist/commonjs/lib/url.d.ts +5 -0
- package/dist/commonjs/lib/url.d.ts.map +1 -0
- package/dist/commonjs/lib/url.js +25 -0
- package/dist/commonjs/lib/url.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -0
- package/dist/commonjs/models/components/index.js +21 -0
- package/dist/commonjs/models/components/index.js.map +1 -0
- package/dist/commonjs/models/components/security.d.ts +29 -0
- package/dist/commonjs/models/components/security.d.ts.map +1 -0
- package/dist/commonjs/models/components/security.js +78 -0
- package/dist/commonjs/models/components/security.js.map +1 -0
- package/dist/commonjs/models/errors/apierror.d.ts +10 -0
- package/dist/commonjs/models/errors/apierror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/apierror.js +28 -0
- package/dist/commonjs/models/errors/apierror.js.map +1 -0
- package/dist/commonjs/models/errors/beyondpcierror.d.ts +19 -0
- package/dist/commonjs/models/errors/beyondpcierror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/beyondpcierror.js +20 -0
- package/dist/commonjs/models/errors/beyondpcierror.js.map +1 -0
- package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +199 -0
- package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js +261 -0
- package/dist/commonjs/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
- package/dist/commonjs/models/errors/deletev1webhooksid.d.ts +199 -0
- package/dist/commonjs/models/errors/deletev1webhooksid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/deletev1webhooksid.js +261 -0
- package/dist/commonjs/models/errors/deletev1webhooksid.js.map +1 -0
- package/dist/commonjs/models/errors/getv1merchants.d.ts +102 -0
- package/dist/commonjs/models/errors/getv1merchants.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1merchants.js +152 -0
- package/dist/commonjs/models/errors/getv1merchants.js.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsid.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1merchantsid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsid.js +262 -0
- package/dist/commonjs/models/errors/getv1merchantsid.js.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsidcompliance.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1merchantsidcompliance.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsidcompliance.js +259 -0
- package/dist/commonjs/models/errors/getv1merchantsidcompliance.js.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.js +257 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js +259 -0
- package/dist/commonjs/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsregistrationid.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1merchantsregistrationid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1merchantsregistrationid.js +259 -0
- package/dist/commonjs/models/errors/getv1merchantsregistrationid.js.map +1 -0
- package/dist/commonjs/models/errors/getv1scans.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1scans.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1scans.js +261 -0
- package/dist/commonjs/models/errors/getv1scans.js.map +1 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscans.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscans.js +259 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscans.js.map +1 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.js +259 -0
- package/dist/commonjs/models/errors/getv1scansmerchantsidscansnext.js.map +1 -0
- package/dist/commonjs/models/errors/getv1scansscanid.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1scansscanid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1scansscanid.js +263 -0
- package/dist/commonjs/models/errors/getv1scansscanid.js.map +1 -0
- package/dist/commonjs/models/errors/getv1scansscanidreport.d.ts +102 -0
- package/dist/commonjs/models/errors/getv1scansscanidreport.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1scansscanidreport.js +153 -0
- package/dist/commonjs/models/errors/getv1scansscanidreport.js.map +1 -0
- package/dist/commonjs/models/errors/getv1webhooks.d.ts +199 -0
- package/dist/commonjs/models/errors/getv1webhooks.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getv1webhooks.js +262 -0
- package/dist/commonjs/models/errors/getv1webhooks.js.map +1 -0
- package/dist/commonjs/models/errors/httpclienterrors.d.ts +44 -0
- package/dist/commonjs/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/commonjs/models/errors/httpclienterrors.js +78 -0
- package/dist/commonjs/models/errors/httpclienterrors.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +30 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -0
- package/dist/commonjs/models/errors/index.js +49 -0
- package/dist/commonjs/models/errors/index.js.map +1 -0
- package/dist/commonjs/models/errors/patchv1merchantsid.d.ts +296 -0
- package/dist/commonjs/models/errors/patchv1merchantsid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/patchv1merchantsid.js +369 -0
- package/dist/commonjs/models/errors/patchv1merchantsid.js.map +1 -0
- package/dist/commonjs/models/errors/patchv1webhooksid.d.ts +296 -0
- package/dist/commonjs/models/errors/patchv1webhooksid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/patchv1webhooksid.js +370 -0
- package/dist/commonjs/models/errors/patchv1webhooksid.js.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsidactivate.d.ts +296 -0
- package/dist/commonjs/models/errors/postv1merchantsidactivate.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsidactivate.js +368 -0
- package/dist/commonjs/models/errors/postv1merchantsidactivate.js.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsidcancel.d.ts +296 -0
- package/dist/commonjs/models/errors/postv1merchantsidcancel.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsidcancel.js +369 -0
- package/dist/commonjs/models/errors/postv1merchantsidcancel.js.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.d.ts +199 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.js +258 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.d.ts +199 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.js +259 -0
- package/dist/commonjs/models/errors/postv1merchantsmerchantidsaqlink.js.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsregister.d.ts +199 -0
- package/dist/commonjs/models/errors/postv1merchantsregister.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1merchantsregister.js +261 -0
- package/dist/commonjs/models/errors/postv1merchantsregister.js.map +1 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscans.d.ts +393 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscans.js +475 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscans.js.map +1 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.d.ts +199 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.js +259 -0
- package/dist/commonjs/models/errors/postv1scansmerchantsidscanscancel.js.map +1 -0
- package/dist/commonjs/models/errors/postv1webhooks.d.ts +199 -0
- package/dist/commonjs/models/errors/postv1webhooks.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1webhooks.js +263 -0
- package/dist/commonjs/models/errors/postv1webhooks.js.map +1 -0
- package/dist/commonjs/models/errors/postv1webhooksidtest.d.ts +296 -0
- package/dist/commonjs/models/errors/postv1webhooksidtest.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postv1webhooksidtest.js +369 -0
- package/dist/commonjs/models/errors/postv1webhooksidtest.js.map +1 -0
- package/dist/commonjs/models/errors/responsevalidationerror.d.ts +26 -0
- package/dist/commonjs/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/responsevalidationerror.js +66 -0
- package/dist/commonjs/models/errors/responsevalidationerror.js.map +1 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.d.ts +21 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.js +129 -0
- package/dist/commonjs/models/errors/sdkvalidationerror.js.map +1 -0
- package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +113 -0
- package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js +164 -0
- package/dist/commonjs/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
- package/dist/commonjs/models/operations/deletev1webhooksid.d.ts +111 -0
- package/dist/commonjs/models/operations/deletev1webhooksid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletev1webhooksid.js +154 -0
- package/dist/commonjs/models/operations/deletev1webhooksid.js.map +1 -0
- package/dist/commonjs/models/operations/getv1merchants.d.ts +237 -0
- package/dist/commonjs/models/operations/getv1merchants.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1merchants.js +246 -0
- package/dist/commonjs/models/operations/getv1merchants.js.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsid.d.ts +172 -0
- package/dist/commonjs/models/operations/getv1merchantsid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsid.js +185 -0
- package/dist/commonjs/models/operations/getv1merchantsid.js.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsidcompliance.d.ts +173 -0
- package/dist/commonjs/models/operations/getv1merchantsidcompliance.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsidcompliance.js +217 -0
- package/dist/commonjs/models/operations/getv1merchantsidcompliance.js.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.d.ts +214 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.js +245 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +111 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js +155 -0
- package/dist/commonjs/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsregistrationid.d.ts +156 -0
- package/dist/commonjs/models/operations/getv1merchantsregistrationid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1merchantsregistrationid.js +179 -0
- package/dist/commonjs/models/operations/getv1merchantsregistrationid.js.map +1 -0
- package/dist/commonjs/models/operations/getv1scans.d.ts +328 -0
- package/dist/commonjs/models/operations/getv1scans.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1scans.js +331 -0
- package/dist/commonjs/models/operations/getv1scans.js.map +1 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscans.d.ts +286 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscans.js +304 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscans.js.map +1 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.d.ts +206 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.js +236 -0
- package/dist/commonjs/models/operations/getv1scansmerchantsidscansnext.js.map +1 -0
- package/dist/commonjs/models/operations/getv1scansscanid.d.ts +369 -0
- package/dist/commonjs/models/operations/getv1scansscanid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1scansscanid.js +373 -0
- package/dist/commonjs/models/operations/getv1scansscanid.js.map +1 -0
- package/dist/commonjs/models/operations/getv1scansscanidreport.d.ts +59 -0
- package/dist/commonjs/models/operations/getv1scansscanidreport.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1scansscanidreport.js +98 -0
- package/dist/commonjs/models/operations/getv1scansscanidreport.js.map +1 -0
- package/dist/commonjs/models/operations/getv1webhooks.d.ts +191 -0
- package/dist/commonjs/models/operations/getv1webhooks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getv1webhooks.js +219 -0
- package/dist/commonjs/models/operations/getv1webhooks.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +26 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -0
- package/dist/commonjs/models/operations/index.js +45 -0
- package/dist/commonjs/models/operations/index.js.map +1 -0
- package/dist/commonjs/models/operations/patchv1merchantsid.d.ts +201 -0
- package/dist/commonjs/models/operations/patchv1merchantsid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/patchv1merchantsid.js +225 -0
- package/dist/commonjs/models/operations/patchv1merchantsid.js.map +1 -0
- package/dist/commonjs/models/operations/patchv1webhooksid.d.ts +227 -0
- package/dist/commonjs/models/operations/patchv1webhooksid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/patchv1webhooksid.js +251 -0
- package/dist/commonjs/models/operations/patchv1webhooksid.js.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsidactivate.d.ts +140 -0
- package/dist/commonjs/models/operations/postv1merchantsidactivate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsidactivate.js +174 -0
- package/dist/commonjs/models/operations/postv1merchantsidactivate.js.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsidcancel.d.ts +140 -0
- package/dist/commonjs/models/operations/postv1merchantsidcancel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsidcancel.js +174 -0
- package/dist/commonjs/models/operations/postv1merchantsidcancel.js.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.d.ts +207 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.js +245 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.d.ts +333 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.js +323 -0
- package/dist/commonjs/models/operations/postv1merchantsmerchantidsaqlink.js.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsregister.d.ts +1845 -0
- package/dist/commonjs/models/operations/postv1merchantsregister.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1merchantsregister.js +1054 -0
- package/dist/commonjs/models/operations/postv1merchantsregister.js.map +1 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscans.d.ts +140 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscans.js +194 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscans.js.map +1 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.d.ts +111 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.js +154 -0
- package/dist/commonjs/models/operations/postv1scansmerchantsidscanscancel.js.map +1 -0
- package/dist/commonjs/models/operations/postv1webhooks.d.ts +203 -0
- package/dist/commonjs/models/operations/postv1webhooks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1webhooks.js +210 -0
- package/dist/commonjs/models/operations/postv1webhooks.js.map +1 -0
- package/dist/commonjs/models/operations/postv1webhooksidtest.d.ts +679 -0
- package/dist/commonjs/models/operations/postv1webhooksidtest.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postv1webhooksidtest.js +722 -0
- package/dist/commonjs/models/operations/postv1webhooksidtest.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sdk/assetconfigs.d.ts +26 -0
- package/dist/commonjs/sdk/assetconfigs.d.ts.map +1 -0
- package/dist/commonjs/sdk/assetconfigs.js +42 -0
- package/dist/commonjs/sdk/assetconfigs.js.map +1 -0
- package/dist/commonjs/sdk/index.d.ts +2 -0
- package/dist/commonjs/sdk/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/index.js +21 -0
- package/dist/commonjs/sdk/index.js.map +1 -0
- package/dist/commonjs/sdk/merchants.d.ts +61 -0
- package/dist/commonjs/sdk/merchants.d.ts.map +1 -0
- package/dist/commonjs/sdk/merchants.js +92 -0
- package/dist/commonjs/sdk/merchants.js.map +1 -0
- package/dist/commonjs/sdk/saq.d.ts +19 -0
- package/dist/commonjs/sdk/saq.d.ts.map +1 -0
- package/dist/commonjs/sdk/saq.js +32 -0
- package/dist/commonjs/sdk/saq.js.map +1 -0
- package/dist/commonjs/sdk/scans.d.ts +54 -0
- package/dist/commonjs/sdk/scans.d.ts.map +1 -0
- package/dist/commonjs/sdk/scans.js +82 -0
- package/dist/commonjs/sdk/scans.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +19 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
- package/dist/commonjs/sdk/sdk.js +31 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -0
- package/dist/commonjs/sdk/webhooks.d.ts +40 -0
- package/dist/commonjs/sdk/webhooks.d.ts.map +1 -0
- package/dist/commonjs/sdk/webhooks.js +62 -0
- package/dist/commonjs/sdk/webhooks.js.map +1 -0
- package/dist/commonjs/types/async.d.ts +23 -0
- package/dist/commonjs/types/async.d.ts.map +1 -0
- package/dist/commonjs/types/async.js +44 -0
- package/dist/commonjs/types/async.js.map +1 -0
- package/dist/commonjs/types/blobs.d.ts +4 -0
- package/dist/commonjs/types/blobs.d.ts.map +1 -0
- package/dist/commonjs/types/blobs.js +62 -0
- package/dist/commonjs/types/blobs.js.map +1 -0
- package/dist/commonjs/types/constdatetime.d.ts +3 -0
- package/dist/commonjs/types/constdatetime.d.ts.map +1 -0
- package/dist/commonjs/types/constdatetime.js +46 -0
- package/dist/commonjs/types/constdatetime.js.map +1 -0
- package/dist/commonjs/types/enums.d.ts +12 -0
- package/dist/commonjs/types/enums.d.ts.map +1 -0
- package/dist/commonjs/types/enums.js +10 -0
- package/dist/commonjs/types/enums.js.map +1 -0
- package/dist/commonjs/types/fp.d.ts +31 -0
- package/dist/commonjs/types/fp.d.ts.map +1 -0
- package/dist/commonjs/types/fp.js +37 -0
- package/dist/commonjs/types/fp.js.map +1 -0
- package/dist/commonjs/types/index.d.ts +8 -0
- package/dist/commonjs/types/index.d.ts.map +1 -0
- package/dist/commonjs/types/index.js +16 -0
- package/dist/commonjs/types/index.js.map +1 -0
- package/dist/commonjs/types/operations.d.ts +27 -0
- package/dist/commonjs/types/operations.d.ts.map +1 -0
- package/dist/commonjs/types/operations.js +83 -0
- package/dist/commonjs/types/operations.js.map +1 -0
- package/dist/commonjs/types/rfcdate.d.ts +21 -0
- package/dist/commonjs/types/rfcdate.d.ts.map +1 -0
- package/dist/commonjs/types/rfcdate.js +46 -0
- package/dist/commonjs/types/rfcdate.js.map +1 -0
- package/dist/commonjs/types/streams.d.ts +2 -0
- package/dist/commonjs/types/streams.d.ts.map +1 -0
- package/dist/commonjs/types/streams.js +18 -0
- package/dist/commonjs/types/streams.js.map +1 -0
- package/dist/esm/core.d.ts +10 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +13 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts +18 -0
- package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.d.ts.map +1 -0
- package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js +96 -0
- package/dist/esm/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.js.map +1 -0
- package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
- package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
- package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js +94 -0
- package/dist/esm/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
- package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts +18 -0
- package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.d.ts.map +1 -0
- package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js +91 -0
- package/dist/esm/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.js.map +1 -0
- package/dist/esm/funcs/merchantsGetV1Merchants.d.ts +18 -0
- package/dist/esm/funcs/merchantsGetV1Merchants.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsGetV1Merchants.js +87 -0
- package/dist/esm/funcs/merchantsGetV1Merchants.js.map +1 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsId.d.ts +18 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsId.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsId.js +87 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsId.js.map +1 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.d.ts +18 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.js +87 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsIdCompliance.js.map +1 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.d.ts +18 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.js +87 -0
- package/dist/esm/funcs/merchantsGetV1MerchantsRegistrationId.js.map +1 -0
- package/dist/esm/funcs/merchantsPatchV1MerchantsId.d.ts +18 -0
- package/dist/esm/funcs/merchantsPatchV1MerchantsId.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsPatchV1MerchantsId.js +88 -0
- package/dist/esm/funcs/merchantsPatchV1MerchantsId.js.map +1 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.d.ts +18 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.js +88 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdActivate.js.map +1 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.d.ts +18 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.js +87 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsIdCancel.js.map +1 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsRegister.d.ts +18 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsRegister.d.ts.map +1 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsRegister.js +82 -0
- package/dist/esm/funcs/merchantsPostV1MerchantsRegister.js.map +1 -0
- package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts +18 -0
- package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.d.ts.map +1 -0
- package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js +95 -0
- package/dist/esm/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.js.map +1 -0
- package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts +18 -0
- package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.d.ts.map +1 -0
- package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.js +88 -0
- package/dist/esm/funcs/saqPostV1MerchantsMerchantIdSAQLink.js.map +1 -0
- package/dist/esm/funcs/scansGetV1Scans.d.ts +18 -0
- package/dist/esm/funcs/scansGetV1Scans.d.ts.map +1 -0
- package/dist/esm/funcs/scansGetV1Scans.js +88 -0
- package/dist/esm/funcs/scansGetV1Scans.js.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.d.ts +18 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.d.ts.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.js +92 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScans.js.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts +18 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.d.ts.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.js +87 -0
- package/dist/esm/funcs/scansGetV1ScansMerchantsIdScansNext.js.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansScanId.d.ts +18 -0
- package/dist/esm/funcs/scansGetV1ScansScanId.d.ts.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansScanId.js +87 -0
- package/dist/esm/funcs/scansGetV1ScansScanId.js.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansScanIdReport.d.ts +18 -0
- package/dist/esm/funcs/scansGetV1ScansScanIdReport.d.ts.map +1 -0
- package/dist/esm/funcs/scansGetV1ScansScanIdReport.js +87 -0
- package/dist/esm/funcs/scansGetV1ScansScanIdReport.js.map +1 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.d.ts +18 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.d.ts.map +1 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.js +89 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScans.js.map +1 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts +18 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.d.ts.map +1 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.js +87 -0
- package/dist/esm/funcs/scansPostV1ScansMerchantsIdScansCancel.js.map +1 -0
- package/dist/esm/funcs/webhooksDeleteV1WebhooksId.d.ts +18 -0
- package/dist/esm/funcs/webhooksDeleteV1WebhooksId.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksDeleteV1WebhooksId.js +87 -0
- package/dist/esm/funcs/webhooksDeleteV1WebhooksId.js.map +1 -0
- package/dist/esm/funcs/webhooksGetV1Webhooks.d.ts +18 -0
- package/dist/esm/funcs/webhooksGetV1Webhooks.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksGetV1Webhooks.js +86 -0
- package/dist/esm/funcs/webhooksGetV1Webhooks.js.map +1 -0
- package/dist/esm/funcs/webhooksPatchV1WebhooksId.d.ts +18 -0
- package/dist/esm/funcs/webhooksPatchV1WebhooksId.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksPatchV1WebhooksId.js +88 -0
- package/dist/esm/funcs/webhooksPatchV1WebhooksId.js.map +1 -0
- package/dist/esm/funcs/webhooksPostV1Webhooks.d.ts +18 -0
- package/dist/esm/funcs/webhooksPostV1Webhooks.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksPostV1Webhooks.js +82 -0
- package/dist/esm/funcs/webhooksPostV1Webhooks.js.map +1 -0
- package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.d.ts +18 -0
- package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.js +88 -0
- package/dist/esm/funcs/webhooksPostV1WebhooksIdTest.js.map +1 -0
- package/dist/esm/hooks/hooks.d.ts +25 -0
- package/dist/esm/hooks/hooks.d.ts.map +1 -0
- package/dist/esm/hooks/hooks.js +82 -0
- package/dist/esm/hooks/hooks.js.map +1 -0
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -0
- package/dist/esm/hooks/index.js +6 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/registration.d.ts +3 -0
- package/dist/esm/hooks/registration.d.ts.map +1 -0
- package/dist/esm/hooks/registration.js +12 -0
- package/dist/esm/hooks/registration.js.map +1 -0
- package/dist/esm/hooks/types.d.ts +76 -0
- package/dist/esm/hooks/types.d.ts.map +1 -0
- package/dist/esm/hooks/types.js +5 -0
- package/dist/esm/hooks/types.js.map +1 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lib/base64.d.ts +10 -0
- package/dist/esm/lib/base64.d.ts.map +1 -0
- package/dist/esm/lib/base64.js +29 -0
- package/dist/esm/lib/base64.js.map +1 -0
- package/dist/esm/lib/config.d.ts +38 -0
- package/dist/esm/lib/config.d.ts.map +1 -0
- package/dist/esm/lib/config.js +38 -0
- package/dist/esm/lib/config.js.map +1 -0
- package/dist/esm/lib/dlv.d.ts +14 -0
- package/dist/esm/lib/dlv.d.ts.map +1 -0
- package/dist/esm/lib/dlv.js +46 -0
- package/dist/esm/lib/dlv.js.map +1 -0
- package/dist/esm/lib/encodings.d.ts +52 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -0
- package/dist/esm/lib/encodings.js +354 -0
- package/dist/esm/lib/encodings.js.map +1 -0
- package/dist/esm/lib/files.d.ts +13 -0
- package/dist/esm/lib/files.d.ts.map +1 -0
- package/dist/esm/lib/files.js +73 -0
- package/dist/esm/lib/files.js.map +1 -0
- package/dist/esm/lib/http.d.ts +67 -0
- package/dist/esm/lib/http.d.ts.map +1 -0
- package/dist/esm/lib/http.js +207 -0
- package/dist/esm/lib/http.js.map +1 -0
- package/dist/esm/lib/is-plain-object.d.ts +2 -0
- package/dist/esm/lib/is-plain-object.d.ts.map +1 -0
- package/dist/esm/lib/is-plain-object.js +38 -0
- package/dist/esm/lib/is-plain-object.js.map +1 -0
- package/dist/esm/lib/logger.d.ts +6 -0
- package/dist/esm/lib/logger.d.ts.map +1 -0
- package/dist/esm/lib/logger.js +5 -0
- package/dist/esm/lib/logger.js.map +1 -0
- package/dist/esm/lib/matchers.d.ts +59 -0
- package/dist/esm/lib/matchers.d.ts.map +1 -0
- package/dist/esm/lib/matchers.js +199 -0
- package/dist/esm/lib/matchers.js.map +1 -0
- package/dist/esm/lib/primitives.d.ts +26 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -0
- package/dist/esm/lib/primitives.js +103 -0
- package/dist/esm/lib/primitives.js.map +1 -0
- package/dist/esm/lib/retries.d.ts +38 -0
- package/dist/esm/lib/retries.d.ts.map +1 -0
- package/dist/esm/lib/retries.js +147 -0
- package/dist/esm/lib/retries.js.map +1 -0
- package/dist/esm/lib/schemas.d.ts +19 -0
- package/dist/esm/lib/schemas.d.ts.map +1 -0
- package/dist/esm/lib/schemas.js +57 -0
- package/dist/esm/lib/schemas.js.map +1 -0
- package/dist/esm/lib/sdks.d.ts +63 -0
- package/dist/esm/lib/sdks.d.ts.map +1 -0
- package/dist/esm/lib/sdks.js +265 -0
- package/dist/esm/lib/sdks.js.map +1 -0
- package/dist/esm/lib/security.d.ts +83 -0
- package/dist/esm/lib/security.d.ts.map +1 -0
- package/dist/esm/lib/security.js +136 -0
- package/dist/esm/lib/security.js.map +1 -0
- package/dist/esm/lib/url.d.ts +5 -0
- package/dist/esm/lib/url.d.ts.map +1 -0
- package/dist/esm/lib/url.js +22 -0
- package/dist/esm/lib/url.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -0
- package/dist/esm/models/components/index.js +5 -0
- package/dist/esm/models/components/index.js.map +1 -0
- package/dist/esm/models/components/security.d.ts +29 -0
- package/dist/esm/models/components/security.d.ts.map +1 -0
- package/dist/esm/models/components/security.js +40 -0
- package/dist/esm/models/components/security.js.map +1 -0
- package/dist/esm/models/errors/apierror.d.ts +10 -0
- package/dist/esm/models/errors/apierror.d.ts.map +1 -0
- package/dist/esm/models/errors/apierror.js +24 -0
- package/dist/esm/models/errors/apierror.js.map +1 -0
- package/dist/esm/models/errors/beyondpcierror.d.ts +19 -0
- package/dist/esm/models/errors/beyondpcierror.d.ts.map +1 -0
- package/dist/esm/models/errors/beyondpcierror.js +16 -0
- package/dist/esm/models/errors/beyondpcierror.js.map +1 -0
- package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +199 -0
- package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
- package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js +215 -0
- package/dist/esm/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
- package/dist/esm/models/errors/deletev1webhooksid.d.ts +199 -0
- package/dist/esm/models/errors/deletev1webhooksid.d.ts.map +1 -0
- package/dist/esm/models/errors/deletev1webhooksid.js +215 -0
- package/dist/esm/models/errors/deletev1webhooksid.js.map +1 -0
- package/dist/esm/models/errors/getv1merchants.d.ts +102 -0
- package/dist/esm/models/errors/getv1merchants.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1merchants.js +111 -0
- package/dist/esm/models/errors/getv1merchants.js.map +1 -0
- package/dist/esm/models/errors/getv1merchantsid.d.ts +199 -0
- package/dist/esm/models/errors/getv1merchantsid.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1merchantsid.js +216 -0
- package/dist/esm/models/errors/getv1merchantsid.js.map +1 -0
- package/dist/esm/models/errors/getv1merchantsidcompliance.d.ts +199 -0
- package/dist/esm/models/errors/getv1merchantsidcompliance.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1merchantsidcompliance.js +213 -0
- package/dist/esm/models/errors/getv1merchantsidcompliance.js.map +1 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.d.ts +199 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.js +211 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +199 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js +213 -0
- package/dist/esm/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
- package/dist/esm/models/errors/getv1merchantsregistrationid.d.ts +199 -0
- package/dist/esm/models/errors/getv1merchantsregistrationid.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1merchantsregistrationid.js +213 -0
- package/dist/esm/models/errors/getv1merchantsregistrationid.js.map +1 -0
- package/dist/esm/models/errors/getv1scans.d.ts +199 -0
- package/dist/esm/models/errors/getv1scans.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1scans.js +215 -0
- package/dist/esm/models/errors/getv1scans.js.map +1 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscans.d.ts +199 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscans.js +213 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscans.js.map +1 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscansnext.d.ts +199 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscansnext.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscansnext.js +213 -0
- package/dist/esm/models/errors/getv1scansmerchantsidscansnext.js.map +1 -0
- package/dist/esm/models/errors/getv1scansscanid.d.ts +199 -0
- package/dist/esm/models/errors/getv1scansscanid.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1scansscanid.js +217 -0
- package/dist/esm/models/errors/getv1scansscanid.js.map +1 -0
- package/dist/esm/models/errors/getv1scansscanidreport.d.ts +102 -0
- package/dist/esm/models/errors/getv1scansscanidreport.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1scansscanidreport.js +112 -0
- package/dist/esm/models/errors/getv1scansscanidreport.js.map +1 -0
- package/dist/esm/models/errors/getv1webhooks.d.ts +199 -0
- package/dist/esm/models/errors/getv1webhooks.d.ts.map +1 -0
- package/dist/esm/models/errors/getv1webhooks.js +216 -0
- package/dist/esm/models/errors/getv1webhooks.js.map +1 -0
- package/dist/esm/models/errors/httpclienterrors.d.ts +44 -0
- package/dist/esm/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/esm/models/errors/httpclienterrors.js +69 -0
- package/dist/esm/models/errors/httpclienterrors.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +30 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -0
- package/dist/esm/models/errors/index.js +33 -0
- package/dist/esm/models/errors/index.js.map +1 -0
- package/dist/esm/models/errors/patchv1merchantsid.d.ts +296 -0
- package/dist/esm/models/errors/patchv1merchantsid.d.ts.map +1 -0
- package/dist/esm/models/errors/patchv1merchantsid.js +318 -0
- package/dist/esm/models/errors/patchv1merchantsid.js.map +1 -0
- package/dist/esm/models/errors/patchv1webhooksid.d.ts +296 -0
- package/dist/esm/models/errors/patchv1webhooksid.d.ts.map +1 -0
- package/dist/esm/models/errors/patchv1webhooksid.js +319 -0
- package/dist/esm/models/errors/patchv1webhooksid.js.map +1 -0
- package/dist/esm/models/errors/postv1merchantsidactivate.d.ts +296 -0
- package/dist/esm/models/errors/postv1merchantsidactivate.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1merchantsidactivate.js +317 -0
- package/dist/esm/models/errors/postv1merchantsidactivate.js.map +1 -0
- package/dist/esm/models/errors/postv1merchantsidcancel.d.ts +296 -0
- package/dist/esm/models/errors/postv1merchantsidcancel.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1merchantsidcancel.js +318 -0
- package/dist/esm/models/errors/postv1merchantsidcancel.js.map +1 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.d.ts +199 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.js +212 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.d.ts +199 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.js +213 -0
- package/dist/esm/models/errors/postv1merchantsmerchantidsaqlink.js.map +1 -0
- package/dist/esm/models/errors/postv1merchantsregister.d.ts +199 -0
- package/dist/esm/models/errors/postv1merchantsregister.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1merchantsregister.js +215 -0
- package/dist/esm/models/errors/postv1merchantsregister.js.map +1 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscans.d.ts +393 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscans.js +419 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscans.js.map +1 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.d.ts +199 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.js +213 -0
- package/dist/esm/models/errors/postv1scansmerchantsidscanscancel.js.map +1 -0
- package/dist/esm/models/errors/postv1webhooks.d.ts +199 -0
- package/dist/esm/models/errors/postv1webhooks.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1webhooks.js +217 -0
- package/dist/esm/models/errors/postv1webhooks.js.map +1 -0
- package/dist/esm/models/errors/postv1webhooksidtest.d.ts +296 -0
- package/dist/esm/models/errors/postv1webhooksidtest.d.ts.map +1 -0
- package/dist/esm/models/errors/postv1webhooksidtest.js +318 -0
- package/dist/esm/models/errors/postv1webhooksidtest.js.map +1 -0
- package/dist/esm/models/errors/responsevalidationerror.d.ts +26 -0
- package/dist/esm/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/dist/esm/models/errors/responsevalidationerror.js +29 -0
- package/dist/esm/models/errors/responsevalidationerror.js.map +1 -0
- package/dist/esm/models/errors/sdkvalidationerror.d.ts +21 -0
- package/dist/esm/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/dist/esm/models/errors/sdkvalidationerror.js +91 -0
- package/dist/esm/models/errors/sdkvalidationerror.js.map +1 -0
- package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts +113 -0
- package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.d.ts.map +1 -0
- package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js +120 -0
- package/dist/esm/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.js.map +1 -0
- package/dist/esm/models/operations/deletev1webhooksid.d.ts +111 -0
- package/dist/esm/models/operations/deletev1webhooksid.d.ts.map +1 -0
- package/dist/esm/models/operations/deletev1webhooksid.js +110 -0
- package/dist/esm/models/operations/deletev1webhooksid.js.map +1 -0
- package/dist/esm/models/operations/getv1merchants.d.ts +237 -0
- package/dist/esm/models/operations/getv1merchants.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1merchants.js +200 -0
- package/dist/esm/models/operations/getv1merchants.js.map +1 -0
- package/dist/esm/models/operations/getv1merchantsid.d.ts +172 -0
- package/dist/esm/models/operations/getv1merchantsid.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1merchantsid.js +141 -0
- package/dist/esm/models/operations/getv1merchantsid.js.map +1 -0
- package/dist/esm/models/operations/getv1merchantsidcompliance.d.ts +173 -0
- package/dist/esm/models/operations/getv1merchantsidcompliance.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1merchantsidcompliance.js +169 -0
- package/dist/esm/models/operations/getv1merchantsidcompliance.js.map +1 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.d.ts +214 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.js +199 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts +111 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js +111 -0
- package/dist/esm/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.js.map +1 -0
- package/dist/esm/models/operations/getv1merchantsregistrationid.d.ts +156 -0
- package/dist/esm/models/operations/getv1merchantsregistrationid.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1merchantsregistrationid.js +135 -0
- package/dist/esm/models/operations/getv1merchantsregistrationid.js.map +1 -0
- package/dist/esm/models/operations/getv1scans.d.ts +328 -0
- package/dist/esm/models/operations/getv1scans.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1scans.js +283 -0
- package/dist/esm/models/operations/getv1scans.js.map +1 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscans.d.ts +286 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscans.js +256 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscans.js.map +1 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscansnext.d.ts +206 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscansnext.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscansnext.js +190 -0
- package/dist/esm/models/operations/getv1scansmerchantsidscansnext.js.map +1 -0
- package/dist/esm/models/operations/getv1scansscanid.d.ts +369 -0
- package/dist/esm/models/operations/getv1scansscanid.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1scansscanid.js +325 -0
- package/dist/esm/models/operations/getv1scansscanid.js.map +1 -0
- package/dist/esm/models/operations/getv1scansscanidreport.d.ts +59 -0
- package/dist/esm/models/operations/getv1scansscanidreport.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1scansscanidreport.js +58 -0
- package/dist/esm/models/operations/getv1scansscanidreport.js.map +1 -0
- package/dist/esm/models/operations/getv1webhooks.d.ts +191 -0
- package/dist/esm/models/operations/getv1webhooks.d.ts.map +1 -0
- package/dist/esm/models/operations/getv1webhooks.js +173 -0
- package/dist/esm/models/operations/getv1webhooks.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +26 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -0
- package/dist/esm/models/operations/index.js +29 -0
- package/dist/esm/models/operations/index.js.map +1 -0
- package/dist/esm/models/operations/patchv1merchantsid.d.ts +201 -0
- package/dist/esm/models/operations/patchv1merchantsid.d.ts.map +1 -0
- package/dist/esm/models/operations/patchv1merchantsid.js +179 -0
- package/dist/esm/models/operations/patchv1merchantsid.js.map +1 -0
- package/dist/esm/models/operations/patchv1webhooksid.d.ts +227 -0
- package/dist/esm/models/operations/patchv1webhooksid.d.ts.map +1 -0
- package/dist/esm/models/operations/patchv1webhooksid.js +205 -0
- package/dist/esm/models/operations/patchv1webhooksid.js.map +1 -0
- package/dist/esm/models/operations/postv1merchantsidactivate.d.ts +140 -0
- package/dist/esm/models/operations/postv1merchantsidactivate.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1merchantsidactivate.js +130 -0
- package/dist/esm/models/operations/postv1merchantsidactivate.js.map +1 -0
- package/dist/esm/models/operations/postv1merchantsidcancel.d.ts +140 -0
- package/dist/esm/models/operations/postv1merchantsidcancel.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1merchantsidcancel.js +130 -0
- package/dist/esm/models/operations/postv1merchantsidcancel.js.map +1 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.d.ts +207 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.js +199 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidassetconfigs.js.map +1 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.d.ts +333 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.js +275 -0
- package/dist/esm/models/operations/postv1merchantsmerchantidsaqlink.js.map +1 -0
- package/dist/esm/models/operations/postv1merchantsregister.d.ts +1845 -0
- package/dist/esm/models/operations/postv1merchantsregister.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1merchantsregister.js +993 -0
- package/dist/esm/models/operations/postv1merchantsregister.js.map +1 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscans.d.ts +140 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscans.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscans.js +148 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscans.js.map +1 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.d.ts +111 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.js +110 -0
- package/dist/esm/models/operations/postv1scansmerchantsidscanscancel.js.map +1 -0
- package/dist/esm/models/operations/postv1webhooks.d.ts +203 -0
- package/dist/esm/models/operations/postv1webhooks.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1webhooks.js +166 -0
- package/dist/esm/models/operations/postv1webhooks.js.map +1 -0
- package/dist/esm/models/operations/postv1webhooksidtest.d.ts +679 -0
- package/dist/esm/models/operations/postv1webhooksidtest.d.ts.map +1 -0
- package/dist/esm/models/operations/postv1webhooksidtest.js +651 -0
- package/dist/esm/models/operations/postv1webhooksidtest.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sdk/assetconfigs.d.ts +26 -0
- package/dist/esm/sdk/assetconfigs.d.ts.map +1 -0
- package/dist/esm/sdk/assetconfigs.js +38 -0
- package/dist/esm/sdk/assetconfigs.js.map +1 -0
- package/dist/esm/sdk/index.d.ts +2 -0
- package/dist/esm/sdk/index.d.ts.map +1 -0
- package/dist/esm/sdk/index.js +5 -0
- package/dist/esm/sdk/index.js.map +1 -0
- package/dist/esm/sdk/merchants.d.ts +61 -0
- package/dist/esm/sdk/merchants.d.ts.map +1 -0
- package/dist/esm/sdk/merchants.js +88 -0
- package/dist/esm/sdk/merchants.js.map +1 -0
- package/dist/esm/sdk/saq.d.ts +19 -0
- package/dist/esm/sdk/saq.d.ts.map +1 -0
- package/dist/esm/sdk/saq.js +28 -0
- package/dist/esm/sdk/saq.js.map +1 -0
- package/dist/esm/sdk/scans.d.ts +54 -0
- package/dist/esm/sdk/scans.d.ts.map +1 -0
- package/dist/esm/sdk/scans.js +78 -0
- package/dist/esm/sdk/scans.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +19 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -0
- package/dist/esm/sdk/sdk.js +27 -0
- package/dist/esm/sdk/sdk.js.map +1 -0
- package/dist/esm/sdk/webhooks.d.ts +40 -0
- package/dist/esm/sdk/webhooks.d.ts.map +1 -0
- package/dist/esm/sdk/webhooks.js +58 -0
- package/dist/esm/sdk/webhooks.js.map +1 -0
- package/dist/esm/types/async.d.ts +23 -0
- package/dist/esm/types/async.d.ts.map +1 -0
- package/dist/esm/types/async.js +40 -0
- package/dist/esm/types/async.js.map +1 -0
- package/dist/esm/types/blobs.d.ts +4 -0
- package/dist/esm/types/blobs.d.ts.map +1 -0
- package/dist/esm/types/blobs.js +25 -0
- package/dist/esm/types/blobs.js.map +1 -0
- package/dist/esm/types/constdatetime.d.ts +3 -0
- package/dist/esm/types/constdatetime.d.ts.map +1 -0
- package/dist/esm/types/constdatetime.js +10 -0
- package/dist/esm/types/constdatetime.js.map +1 -0
- package/dist/esm/types/enums.d.ts +12 -0
- package/dist/esm/types/enums.d.ts.map +1 -0
- package/dist/esm/types/enums.js +7 -0
- package/dist/esm/types/enums.js.map +1 -0
- package/dist/esm/types/fp.d.ts +31 -0
- package/dist/esm/types/fp.d.ts.map +1 -0
- package/dist/esm/types/fp.js +31 -0
- package/dist/esm/types/fp.js.map +1 -0
- package/dist/esm/types/index.d.ts +8 -0
- package/dist/esm/types/index.d.ts.map +1 -0
- package/dist/esm/types/index.js +8 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/operations.d.ts +27 -0
- package/dist/esm/types/operations.d.ts.map +1 -0
- package/dist/esm/types/operations.js +77 -0
- package/dist/esm/types/operations.js.map +1 -0
- package/dist/esm/types/rfcdate.d.ts +21 -0
- package/dist/esm/types/rfcdate.d.ts.map +1 -0
- package/dist/esm/types/rfcdate.js +42 -0
- package/dist/esm/types/rfcdate.js.map +1 -0
- package/dist/esm/types/streams.d.ts +2 -0
- package/dist/esm/types/streams.d.ts.map +1 -0
- package/dist/esm/types/streams.js +15 -0
- package/dist/esm/types/streams.js.map +1 -0
- package/jsr.json +27 -0
- package/package.json +126 -0
- package/src/core.ts +13 -0
- package/src/funcs/assetConfigsDeleteV1MerchantsMerchantIdAssetConfigsAssetConfigId.ts +203 -0
- package/src/funcs/assetConfigsGetV1MerchantsMerchantIdAssetConfigs.ts +199 -0
- package/src/funcs/assetConfigsPostV1MerchantsMerchantIdAssetConfigs.ts +195 -0
- package/src/funcs/merchantsGetV1Merchants.ts +175 -0
- package/src/funcs/merchantsGetV1MerchantsId.ts +179 -0
- package/src/funcs/merchantsGetV1MerchantsIdCompliance.ts +186 -0
- package/src/funcs/merchantsGetV1MerchantsRegistrationId.ts +191 -0
- package/src/funcs/merchantsPatchV1MerchantsId.ts +190 -0
- package/src/funcs/merchantsPostV1MerchantsIdActivate.ts +191 -0
- package/src/funcs/merchantsPostV1MerchantsIdCancel.ts +190 -0
- package/src/funcs/merchantsPostV1MerchantsRegister.ts +177 -0
- package/src/funcs/saqGetV1MerchantsMerchantIdSAQSubmissionIdPdf.ts +201 -0
- package/src/funcs/saqPostV1MerchantsMerchantIdSAQLink.ts +192 -0
- package/src/funcs/scansGetV1Scans.ts +180 -0
- package/src/funcs/scansGetV1ScansMerchantsIdScans.ts +192 -0
- package/src/funcs/scansGetV1ScansMerchantsIdScansNext.ts +191 -0
- package/src/funcs/scansGetV1ScansScanId.ts +179 -0
- package/src/funcs/scansGetV1ScansScanIdReport.ts +176 -0
- package/src/funcs/scansPostV1ScansMerchantsIdScans.ts +205 -0
- package/src/funcs/scansPostV1ScansMerchantsIdScansCancel.ts +191 -0
- package/src/funcs/webhooksDeleteV1WebhooksId.ts +179 -0
- package/src/funcs/webhooksGetV1Webhooks.ts +178 -0
- package/src/funcs/webhooksPatchV1WebhooksId.ts +187 -0
- package/src/funcs/webhooksPostV1Webhooks.ts +173 -0
- package/src/funcs/webhooksPostV1WebhooksIdTest.ts +191 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +107 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +71 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +483 -0
- package/src/lib/files.ts +82 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +345 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +91 -0
- package/src/lib/sdks.ts +402 -0
- package/src/lib/security.ts +260 -0
- package/src/lib/url.ts +33 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/security.ts +71 -0
- package/src/models/errors/apierror.ts +34 -0
- package/src/models/errors/beyondpcierror.ts +35 -0
- package/src/models/errors/deletev1merchantsmerchantidassetconfigsassetconfigid.ts +553 -0
- package/src/models/errors/deletev1webhooksid.ts +444 -0
- package/src/models/errors/getv1merchants.ts +206 -0
- package/src/models/errors/getv1merchantsid.ts +442 -0
- package/src/models/errors/getv1merchantsidcompliance.ts +478 -0
- package/src/models/errors/getv1merchantsmerchantidassetconfigs.ts +522 -0
- package/src/models/errors/getv1merchantsmerchantidsaqsubmissionidpdf.ts +534 -0
- package/src/models/errors/getv1merchantsregistrationid.ts +487 -0
- package/src/models/errors/getv1scans.ts +431 -0
- package/src/models/errors/getv1scansmerchantsidscans.ts +463 -0
- package/src/models/errors/getv1scansmerchantsidscansnext.ts +482 -0
- package/src/models/errors/getv1scansscanid.ts +438 -0
- package/src/models/errors/getv1scansscanidreport.ts +227 -0
- package/src/models/errors/getv1webhooks.ts +437 -0
- package/src/models/errors/httpclienterrors.ts +62 -0
- package/src/models/errors/index.ts +33 -0
- package/src/models/errors/patchv1merchantsid.ts +692 -0
- package/src/models/errors/patchv1webhooksid.ts +684 -0
- package/src/models/errors/postv1merchantsidactivate.ts +740 -0
- package/src/models/errors/postv1merchantsidcancel.ts +724 -0
- package/src/models/errors/postv1merchantsmerchantidassetconfigs.ts +525 -0
- package/src/models/errors/postv1merchantsmerchantidsaqlink.ts +493 -0
- package/src/models/errors/postv1merchantsregister.ts +465 -0
- package/src/models/errors/postv1scansmerchantsidscans.ts +990 -0
- package/src/models/errors/postv1scansmerchantsidscanscancel.ts +507 -0
- package/src/models/errors/postv1webhooks.ts +440 -0
- package/src/models/errors/postv1webhooksidtest.ts +702 -0
- package/src/models/errors/responsevalidationerror.ts +50 -0
- package/src/models/errors/sdkvalidationerror.ts +109 -0
- package/src/models/operations/deletev1merchantsmerchantidassetconfigsassetconfigid.ts +317 -0
- package/src/models/operations/deletev1webhooksid.ts +253 -0
- package/src/models/operations/getv1merchants.ts +410 -0
- package/src/models/operations/getv1merchantsid.ts +322 -0
- package/src/models/operations/getv1merchantsidcompliance.ts +381 -0
- package/src/models/operations/getv1merchantsmerchantidassetconfigs.ts +487 -0
- package/src/models/operations/getv1merchantsmerchantidsaqsubmissionidpdf.ts +316 -0
- package/src/models/operations/getv1merchantsregistrationid.ts +321 -0
- package/src/models/operations/getv1scans.ts +550 -0
- package/src/models/operations/getv1scansmerchantsidscans.ts +566 -0
- package/src/models/operations/getv1scansmerchantsidscansnext.ts +448 -0
- package/src/models/operations/getv1scansscanid.ts +645 -0
- package/src/models/operations/getv1scansscanidreport.ts +137 -0
- package/src/models/operations/getv1webhooks.ts +372 -0
- package/src/models/operations/index.ts +29 -0
- package/src/models/operations/patchv1merchantsid.ts +401 -0
- package/src/models/operations/patchv1webhooksid.ts +420 -0
- package/src/models/operations/postv1merchantsidactivate.ts +293 -0
- package/src/models/operations/postv1merchantsidcancel.ts +293 -0
- package/src/models/operations/postv1merchantsmerchantidassetconfigs.ts +486 -0
- package/src/models/operations/postv1merchantsmerchantidsaqlink.ts +584 -0
- package/src/models/operations/postv1merchantsregister.ts +1760 -0
- package/src/models/operations/postv1scansmerchantsidscans.ts +355 -0
- package/src/models/operations/postv1scansmerchantsidscanscancel.ts +285 -0
- package/src/models/operations/postv1webhooks.ts +337 -0
- package/src/models/operations/postv1webhooksidtest.ts +1321 -0
- package/src/sdk/assetconfigs.ts +68 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/merchants.ts +153 -0
- package/src/sdk/saq.ts +47 -0
- package/src/sdk/scans.ts +135 -0
- package/src/sdk/sdk.ts +37 -0
- package/src/sdk/webhooks.ts +99 -0
- package/src/types/async.ts +68 -0
- package/src/types/blobs.ts +31 -0
- package/src/types/constdatetime.ts +15 -0
- package/src/types/enums.ts +16 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +11 -0
- package/src/types/operations.ts +105 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/streams.ts +21 -0
- 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)
|