@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
|
@@ -0,0 +1,1321 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const PostV1WebhooksIdTestEventWebhooksEventType = {
|
|
13
|
+
ScanFailed: "scan.failed",
|
|
14
|
+
} as const;
|
|
15
|
+
export type PostV1WebhooksIdTestEventWebhooksEventType = ClosedEnum<
|
|
16
|
+
typeof PostV1WebhooksIdTestEventWebhooksEventType
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
export const PostV1WebhooksIdTestEventStatus = {
|
|
20
|
+
Failed: "FAILED",
|
|
21
|
+
} as const;
|
|
22
|
+
export type PostV1WebhooksIdTestEventStatus = ClosedEnum<
|
|
23
|
+
typeof PostV1WebhooksIdTestEventStatus
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
export type PostV1WebhooksIdTestEventScan = {
|
|
27
|
+
id: string;
|
|
28
|
+
status: PostV1WebhooksIdTestEventStatus;
|
|
29
|
+
error?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type PostV1WebhooksIdTestEventWebhooksAdditionalPayload = {
|
|
33
|
+
scan: PostV1WebhooksIdTestEventScan;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type Event4 = {
|
|
37
|
+
eventType: PostV1WebhooksIdTestEventWebhooksEventType;
|
|
38
|
+
additionalPayload: PostV1WebhooksIdTestEventWebhooksAdditionalPayload;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const PostV1WebhooksIdTestEventEventType = {
|
|
42
|
+
ScanCompleted: "scan.completed",
|
|
43
|
+
} as const;
|
|
44
|
+
export type PostV1WebhooksIdTestEventEventType = ClosedEnum<
|
|
45
|
+
typeof PostV1WebhooksIdTestEventEventType
|
|
46
|
+
>;
|
|
47
|
+
|
|
48
|
+
export const EventStatus = {
|
|
49
|
+
Completed: "COMPLETED",
|
|
50
|
+
} as const;
|
|
51
|
+
export type EventStatus = ClosedEnum<typeof EventStatus>;
|
|
52
|
+
|
|
53
|
+
export type EventScan = {
|
|
54
|
+
id: string;
|
|
55
|
+
status: EventStatus;
|
|
56
|
+
passedCount: number;
|
|
57
|
+
failedCount: number;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export type PostV1WebhooksIdTestEventAdditionalPayload = {
|
|
61
|
+
scan: EventScan;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type Event3 = {
|
|
65
|
+
eventType: PostV1WebhooksIdTestEventEventType;
|
|
66
|
+
additionalPayload: PostV1WebhooksIdTestEventAdditionalPayload;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const EventEventType = {
|
|
70
|
+
ScanStarted: "scan.started",
|
|
71
|
+
} as const;
|
|
72
|
+
export type EventEventType = ClosedEnum<typeof EventEventType>;
|
|
73
|
+
|
|
74
|
+
export const Status = {
|
|
75
|
+
Started: "STARTED",
|
|
76
|
+
} as const;
|
|
77
|
+
export type Status = ClosedEnum<typeof Status>;
|
|
78
|
+
|
|
79
|
+
export type Scan = {
|
|
80
|
+
id: string;
|
|
81
|
+
status: Status;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type EventAdditionalPayload = {
|
|
85
|
+
scan: Scan;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export type Event2 = {
|
|
89
|
+
eventType: EventEventType;
|
|
90
|
+
additionalPayload: EventAdditionalPayload;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export const EventType = {
|
|
94
|
+
MerchantCreated: "merchant.created",
|
|
95
|
+
MerchantUpdated: "merchant.updated",
|
|
96
|
+
MerchantActivated: "merchant.activated",
|
|
97
|
+
MerchantDeactivated: "merchant.deactivated",
|
|
98
|
+
} as const;
|
|
99
|
+
export type EventType = ClosedEnum<typeof EventType>;
|
|
100
|
+
|
|
101
|
+
export type AdditionalPayload = {};
|
|
102
|
+
|
|
103
|
+
export type Event1 = {
|
|
104
|
+
eventType: EventType;
|
|
105
|
+
additionalPayload?: AdditionalPayload | undefined;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Webhook event input. Uses same event signatures as real webhook dispatch.
|
|
110
|
+
*/
|
|
111
|
+
export type Event = Event2 | Event3 | Event4 | Event1;
|
|
112
|
+
|
|
113
|
+
export type PostV1WebhooksIdTestRequestBody = {
|
|
114
|
+
/**
|
|
115
|
+
* Webhook event input. Uses same event signatures as real webhook dispatch.
|
|
116
|
+
*/
|
|
117
|
+
event?: Event2 | Event3 | Event4 | Event1 | undefined;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export type PostV1WebhooksIdTestRequest = {
|
|
121
|
+
id: string;
|
|
122
|
+
requestBody: PostV1WebhooksIdTestRequestBody;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export const PostV1WebhooksIdTestEventType = {
|
|
126
|
+
MerchantCreated: "merchant.created",
|
|
127
|
+
MerchantUpdated: "merchant.updated",
|
|
128
|
+
MerchantActivated: "merchant.activated",
|
|
129
|
+
MerchantDeactivated: "merchant.deactivated",
|
|
130
|
+
ScanStarted: "scan.started",
|
|
131
|
+
ScanCompleted: "scan.completed",
|
|
132
|
+
ScanFailed: "scan.failed",
|
|
133
|
+
} as const;
|
|
134
|
+
export type PostV1WebhooksIdTestEventType = ClosedEnum<
|
|
135
|
+
typeof PostV1WebhooksIdTestEventType
|
|
136
|
+
>;
|
|
137
|
+
|
|
138
|
+
export type PostV1WebhooksIdTestData = {
|
|
139
|
+
webhookId: string;
|
|
140
|
+
deliveryId: string;
|
|
141
|
+
eventType: PostV1WebhooksIdTestEventType;
|
|
142
|
+
/**
|
|
143
|
+
* HTTP status code from your endpoint
|
|
144
|
+
*/
|
|
145
|
+
statusCode: number;
|
|
146
|
+
/**
|
|
147
|
+
* Response time in milliseconds
|
|
148
|
+
*/
|
|
149
|
+
responseTimeMs: number;
|
|
150
|
+
success: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Error message if delivery failed
|
|
153
|
+
*/
|
|
154
|
+
error: string | null;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export type PostV1WebhooksIdTestMeta = {
|
|
158
|
+
timestamp: Date;
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Default Response
|
|
163
|
+
*/
|
|
164
|
+
export type PostV1WebhooksIdTestResponseBody = {
|
|
165
|
+
data: PostV1WebhooksIdTestData;
|
|
166
|
+
meta: PostV1WebhooksIdTestMeta;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/** @internal */
|
|
170
|
+
export const PostV1WebhooksIdTestEventWebhooksEventType$inboundSchema:
|
|
171
|
+
z.ZodNativeEnum<typeof PostV1WebhooksIdTestEventWebhooksEventType> = z
|
|
172
|
+
.nativeEnum(PostV1WebhooksIdTestEventWebhooksEventType);
|
|
173
|
+
|
|
174
|
+
/** @internal */
|
|
175
|
+
export const PostV1WebhooksIdTestEventWebhooksEventType$outboundSchema:
|
|
176
|
+
z.ZodNativeEnum<typeof PostV1WebhooksIdTestEventWebhooksEventType> =
|
|
177
|
+
PostV1WebhooksIdTestEventWebhooksEventType$inboundSchema;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @internal
|
|
181
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
182
|
+
*/
|
|
183
|
+
export namespace PostV1WebhooksIdTestEventWebhooksEventType$ {
|
|
184
|
+
/** @deprecated use `PostV1WebhooksIdTestEventWebhooksEventType$inboundSchema` instead. */
|
|
185
|
+
export const inboundSchema =
|
|
186
|
+
PostV1WebhooksIdTestEventWebhooksEventType$inboundSchema;
|
|
187
|
+
/** @deprecated use `PostV1WebhooksIdTestEventWebhooksEventType$outboundSchema` instead. */
|
|
188
|
+
export const outboundSchema =
|
|
189
|
+
PostV1WebhooksIdTestEventWebhooksEventType$outboundSchema;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/** @internal */
|
|
193
|
+
export const PostV1WebhooksIdTestEventStatus$inboundSchema: z.ZodNativeEnum<
|
|
194
|
+
typeof PostV1WebhooksIdTestEventStatus
|
|
195
|
+
> = z.nativeEnum(PostV1WebhooksIdTestEventStatus);
|
|
196
|
+
|
|
197
|
+
/** @internal */
|
|
198
|
+
export const PostV1WebhooksIdTestEventStatus$outboundSchema: z.ZodNativeEnum<
|
|
199
|
+
typeof PostV1WebhooksIdTestEventStatus
|
|
200
|
+
> = PostV1WebhooksIdTestEventStatus$inboundSchema;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
205
|
+
*/
|
|
206
|
+
export namespace PostV1WebhooksIdTestEventStatus$ {
|
|
207
|
+
/** @deprecated use `PostV1WebhooksIdTestEventStatus$inboundSchema` instead. */
|
|
208
|
+
export const inboundSchema = PostV1WebhooksIdTestEventStatus$inboundSchema;
|
|
209
|
+
/** @deprecated use `PostV1WebhooksIdTestEventStatus$outboundSchema` instead. */
|
|
210
|
+
export const outboundSchema = PostV1WebhooksIdTestEventStatus$outboundSchema;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/** @internal */
|
|
214
|
+
export const PostV1WebhooksIdTestEventScan$inboundSchema: z.ZodType<
|
|
215
|
+
PostV1WebhooksIdTestEventScan,
|
|
216
|
+
z.ZodTypeDef,
|
|
217
|
+
unknown
|
|
218
|
+
> = z.object({
|
|
219
|
+
id: z.string(),
|
|
220
|
+
status: PostV1WebhooksIdTestEventStatus$inboundSchema,
|
|
221
|
+
error: z.string().optional(),
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
/** @internal */
|
|
225
|
+
export type PostV1WebhooksIdTestEventScan$Outbound = {
|
|
226
|
+
id: string;
|
|
227
|
+
status: string;
|
|
228
|
+
error?: string | undefined;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/** @internal */
|
|
232
|
+
export const PostV1WebhooksIdTestEventScan$outboundSchema: z.ZodType<
|
|
233
|
+
PostV1WebhooksIdTestEventScan$Outbound,
|
|
234
|
+
z.ZodTypeDef,
|
|
235
|
+
PostV1WebhooksIdTestEventScan
|
|
236
|
+
> = z.object({
|
|
237
|
+
id: z.string(),
|
|
238
|
+
status: PostV1WebhooksIdTestEventStatus$outboundSchema,
|
|
239
|
+
error: z.string().optional(),
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @internal
|
|
244
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
245
|
+
*/
|
|
246
|
+
export namespace PostV1WebhooksIdTestEventScan$ {
|
|
247
|
+
/** @deprecated use `PostV1WebhooksIdTestEventScan$inboundSchema` instead. */
|
|
248
|
+
export const inboundSchema = PostV1WebhooksIdTestEventScan$inboundSchema;
|
|
249
|
+
/** @deprecated use `PostV1WebhooksIdTestEventScan$outboundSchema` instead. */
|
|
250
|
+
export const outboundSchema = PostV1WebhooksIdTestEventScan$outboundSchema;
|
|
251
|
+
/** @deprecated use `PostV1WebhooksIdTestEventScan$Outbound` instead. */
|
|
252
|
+
export type Outbound = PostV1WebhooksIdTestEventScan$Outbound;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export function postV1WebhooksIdTestEventScanToJSON(
|
|
256
|
+
postV1WebhooksIdTestEventScan: PostV1WebhooksIdTestEventScan,
|
|
257
|
+
): string {
|
|
258
|
+
return JSON.stringify(
|
|
259
|
+
PostV1WebhooksIdTestEventScan$outboundSchema.parse(
|
|
260
|
+
postV1WebhooksIdTestEventScan,
|
|
261
|
+
),
|
|
262
|
+
);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export function postV1WebhooksIdTestEventScanFromJSON(
|
|
266
|
+
jsonString: string,
|
|
267
|
+
): SafeParseResult<PostV1WebhooksIdTestEventScan, SDKValidationError> {
|
|
268
|
+
return safeParse(
|
|
269
|
+
jsonString,
|
|
270
|
+
(x) => PostV1WebhooksIdTestEventScan$inboundSchema.parse(JSON.parse(x)),
|
|
271
|
+
`Failed to parse 'PostV1WebhooksIdTestEventScan' from JSON`,
|
|
272
|
+
);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/** @internal */
|
|
276
|
+
export const PostV1WebhooksIdTestEventWebhooksAdditionalPayload$inboundSchema:
|
|
277
|
+
z.ZodType<
|
|
278
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload,
|
|
279
|
+
z.ZodTypeDef,
|
|
280
|
+
unknown
|
|
281
|
+
> = z.object({
|
|
282
|
+
scan: z.lazy(() => PostV1WebhooksIdTestEventScan$inboundSchema),
|
|
283
|
+
});
|
|
284
|
+
|
|
285
|
+
/** @internal */
|
|
286
|
+
export type PostV1WebhooksIdTestEventWebhooksAdditionalPayload$Outbound = {
|
|
287
|
+
scan: PostV1WebhooksIdTestEventScan$Outbound;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/** @internal */
|
|
291
|
+
export const PostV1WebhooksIdTestEventWebhooksAdditionalPayload$outboundSchema:
|
|
292
|
+
z.ZodType<
|
|
293
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$Outbound,
|
|
294
|
+
z.ZodTypeDef,
|
|
295
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload
|
|
296
|
+
> = z.object({
|
|
297
|
+
scan: z.lazy(() => PostV1WebhooksIdTestEventScan$outboundSchema),
|
|
298
|
+
});
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @internal
|
|
302
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
303
|
+
*/
|
|
304
|
+
export namespace PostV1WebhooksIdTestEventWebhooksAdditionalPayload$ {
|
|
305
|
+
/** @deprecated use `PostV1WebhooksIdTestEventWebhooksAdditionalPayload$inboundSchema` instead. */
|
|
306
|
+
export const inboundSchema =
|
|
307
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$inboundSchema;
|
|
308
|
+
/** @deprecated use `PostV1WebhooksIdTestEventWebhooksAdditionalPayload$outboundSchema` instead. */
|
|
309
|
+
export const outboundSchema =
|
|
310
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$outboundSchema;
|
|
311
|
+
/** @deprecated use `PostV1WebhooksIdTestEventWebhooksAdditionalPayload$Outbound` instead. */
|
|
312
|
+
export type Outbound =
|
|
313
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$Outbound;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export function postV1WebhooksIdTestEventWebhooksAdditionalPayloadToJSON(
|
|
317
|
+
postV1WebhooksIdTestEventWebhooksAdditionalPayload:
|
|
318
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload,
|
|
319
|
+
): string {
|
|
320
|
+
return JSON.stringify(
|
|
321
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$outboundSchema.parse(
|
|
322
|
+
postV1WebhooksIdTestEventWebhooksAdditionalPayload,
|
|
323
|
+
),
|
|
324
|
+
);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export function postV1WebhooksIdTestEventWebhooksAdditionalPayloadFromJSON(
|
|
328
|
+
jsonString: string,
|
|
329
|
+
): SafeParseResult<
|
|
330
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload,
|
|
331
|
+
SDKValidationError
|
|
332
|
+
> {
|
|
333
|
+
return safeParse(
|
|
334
|
+
jsonString,
|
|
335
|
+
(x) =>
|
|
336
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$inboundSchema.parse(
|
|
337
|
+
JSON.parse(x),
|
|
338
|
+
),
|
|
339
|
+
`Failed to parse 'PostV1WebhooksIdTestEventWebhooksAdditionalPayload' from JSON`,
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/** @internal */
|
|
344
|
+
export const Event4$inboundSchema: z.ZodType<Event4, z.ZodTypeDef, unknown> = z
|
|
345
|
+
.object({
|
|
346
|
+
eventType: PostV1WebhooksIdTestEventWebhooksEventType$inboundSchema,
|
|
347
|
+
additionalPayload: z.lazy(() =>
|
|
348
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$inboundSchema
|
|
349
|
+
),
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
/** @internal */
|
|
353
|
+
export type Event4$Outbound = {
|
|
354
|
+
eventType: string;
|
|
355
|
+
additionalPayload:
|
|
356
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$Outbound;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
/** @internal */
|
|
360
|
+
export const Event4$outboundSchema: z.ZodType<
|
|
361
|
+
Event4$Outbound,
|
|
362
|
+
z.ZodTypeDef,
|
|
363
|
+
Event4
|
|
364
|
+
> = z.object({
|
|
365
|
+
eventType: PostV1WebhooksIdTestEventWebhooksEventType$outboundSchema,
|
|
366
|
+
additionalPayload: z.lazy(() =>
|
|
367
|
+
PostV1WebhooksIdTestEventWebhooksAdditionalPayload$outboundSchema
|
|
368
|
+
),
|
|
369
|
+
});
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* @internal
|
|
373
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
374
|
+
*/
|
|
375
|
+
export namespace Event4$ {
|
|
376
|
+
/** @deprecated use `Event4$inboundSchema` instead. */
|
|
377
|
+
export const inboundSchema = Event4$inboundSchema;
|
|
378
|
+
/** @deprecated use `Event4$outboundSchema` instead. */
|
|
379
|
+
export const outboundSchema = Event4$outboundSchema;
|
|
380
|
+
/** @deprecated use `Event4$Outbound` instead. */
|
|
381
|
+
export type Outbound = Event4$Outbound;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export function event4ToJSON(event4: Event4): string {
|
|
385
|
+
return JSON.stringify(Event4$outboundSchema.parse(event4));
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export function event4FromJSON(
|
|
389
|
+
jsonString: string,
|
|
390
|
+
): SafeParseResult<Event4, SDKValidationError> {
|
|
391
|
+
return safeParse(
|
|
392
|
+
jsonString,
|
|
393
|
+
(x) => Event4$inboundSchema.parse(JSON.parse(x)),
|
|
394
|
+
`Failed to parse 'Event4' from JSON`,
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/** @internal */
|
|
399
|
+
export const PostV1WebhooksIdTestEventEventType$inboundSchema: z.ZodNativeEnum<
|
|
400
|
+
typeof PostV1WebhooksIdTestEventEventType
|
|
401
|
+
> = z.nativeEnum(PostV1WebhooksIdTestEventEventType);
|
|
402
|
+
|
|
403
|
+
/** @internal */
|
|
404
|
+
export const PostV1WebhooksIdTestEventEventType$outboundSchema: z.ZodNativeEnum<
|
|
405
|
+
typeof PostV1WebhooksIdTestEventEventType
|
|
406
|
+
> = PostV1WebhooksIdTestEventEventType$inboundSchema;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* @internal
|
|
410
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
411
|
+
*/
|
|
412
|
+
export namespace PostV1WebhooksIdTestEventEventType$ {
|
|
413
|
+
/** @deprecated use `PostV1WebhooksIdTestEventEventType$inboundSchema` instead. */
|
|
414
|
+
export const inboundSchema = PostV1WebhooksIdTestEventEventType$inboundSchema;
|
|
415
|
+
/** @deprecated use `PostV1WebhooksIdTestEventEventType$outboundSchema` instead. */
|
|
416
|
+
export const outboundSchema =
|
|
417
|
+
PostV1WebhooksIdTestEventEventType$outboundSchema;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/** @internal */
|
|
421
|
+
export const EventStatus$inboundSchema: z.ZodNativeEnum<typeof EventStatus> = z
|
|
422
|
+
.nativeEnum(EventStatus);
|
|
423
|
+
|
|
424
|
+
/** @internal */
|
|
425
|
+
export const EventStatus$outboundSchema: z.ZodNativeEnum<typeof EventStatus> =
|
|
426
|
+
EventStatus$inboundSchema;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @internal
|
|
430
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
431
|
+
*/
|
|
432
|
+
export namespace EventStatus$ {
|
|
433
|
+
/** @deprecated use `EventStatus$inboundSchema` instead. */
|
|
434
|
+
export const inboundSchema = EventStatus$inboundSchema;
|
|
435
|
+
/** @deprecated use `EventStatus$outboundSchema` instead. */
|
|
436
|
+
export const outboundSchema = EventStatus$outboundSchema;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/** @internal */
|
|
440
|
+
export const EventScan$inboundSchema: z.ZodType<
|
|
441
|
+
EventScan,
|
|
442
|
+
z.ZodTypeDef,
|
|
443
|
+
unknown
|
|
444
|
+
> = z.object({
|
|
445
|
+
id: z.string(),
|
|
446
|
+
status: EventStatus$inboundSchema,
|
|
447
|
+
passedCount: z.number().int(),
|
|
448
|
+
failedCount: z.number().int(),
|
|
449
|
+
});
|
|
450
|
+
|
|
451
|
+
/** @internal */
|
|
452
|
+
export type EventScan$Outbound = {
|
|
453
|
+
id: string;
|
|
454
|
+
status: string;
|
|
455
|
+
passedCount: number;
|
|
456
|
+
failedCount: number;
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
/** @internal */
|
|
460
|
+
export const EventScan$outboundSchema: z.ZodType<
|
|
461
|
+
EventScan$Outbound,
|
|
462
|
+
z.ZodTypeDef,
|
|
463
|
+
EventScan
|
|
464
|
+
> = z.object({
|
|
465
|
+
id: z.string(),
|
|
466
|
+
status: EventStatus$outboundSchema,
|
|
467
|
+
passedCount: z.number().int(),
|
|
468
|
+
failedCount: z.number().int(),
|
|
469
|
+
});
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* @internal
|
|
473
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
474
|
+
*/
|
|
475
|
+
export namespace EventScan$ {
|
|
476
|
+
/** @deprecated use `EventScan$inboundSchema` instead. */
|
|
477
|
+
export const inboundSchema = EventScan$inboundSchema;
|
|
478
|
+
/** @deprecated use `EventScan$outboundSchema` instead. */
|
|
479
|
+
export const outboundSchema = EventScan$outboundSchema;
|
|
480
|
+
/** @deprecated use `EventScan$Outbound` instead. */
|
|
481
|
+
export type Outbound = EventScan$Outbound;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export function eventScanToJSON(eventScan: EventScan): string {
|
|
485
|
+
return JSON.stringify(EventScan$outboundSchema.parse(eventScan));
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export function eventScanFromJSON(
|
|
489
|
+
jsonString: string,
|
|
490
|
+
): SafeParseResult<EventScan, SDKValidationError> {
|
|
491
|
+
return safeParse(
|
|
492
|
+
jsonString,
|
|
493
|
+
(x) => EventScan$inboundSchema.parse(JSON.parse(x)),
|
|
494
|
+
`Failed to parse 'EventScan' from JSON`,
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/** @internal */
|
|
499
|
+
export const PostV1WebhooksIdTestEventAdditionalPayload$inboundSchema:
|
|
500
|
+
z.ZodType<PostV1WebhooksIdTestEventAdditionalPayload, z.ZodTypeDef, unknown> =
|
|
501
|
+
z.object({
|
|
502
|
+
scan: z.lazy(() => EventScan$inboundSchema),
|
|
503
|
+
});
|
|
504
|
+
|
|
505
|
+
/** @internal */
|
|
506
|
+
export type PostV1WebhooksIdTestEventAdditionalPayload$Outbound = {
|
|
507
|
+
scan: EventScan$Outbound;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/** @internal */
|
|
511
|
+
export const PostV1WebhooksIdTestEventAdditionalPayload$outboundSchema:
|
|
512
|
+
z.ZodType<
|
|
513
|
+
PostV1WebhooksIdTestEventAdditionalPayload$Outbound,
|
|
514
|
+
z.ZodTypeDef,
|
|
515
|
+
PostV1WebhooksIdTestEventAdditionalPayload
|
|
516
|
+
> = z.object({
|
|
517
|
+
scan: z.lazy(() => EventScan$outboundSchema),
|
|
518
|
+
});
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @internal
|
|
522
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
523
|
+
*/
|
|
524
|
+
export namespace PostV1WebhooksIdTestEventAdditionalPayload$ {
|
|
525
|
+
/** @deprecated use `PostV1WebhooksIdTestEventAdditionalPayload$inboundSchema` instead. */
|
|
526
|
+
export const inboundSchema =
|
|
527
|
+
PostV1WebhooksIdTestEventAdditionalPayload$inboundSchema;
|
|
528
|
+
/** @deprecated use `PostV1WebhooksIdTestEventAdditionalPayload$outboundSchema` instead. */
|
|
529
|
+
export const outboundSchema =
|
|
530
|
+
PostV1WebhooksIdTestEventAdditionalPayload$outboundSchema;
|
|
531
|
+
/** @deprecated use `PostV1WebhooksIdTestEventAdditionalPayload$Outbound` instead. */
|
|
532
|
+
export type Outbound = PostV1WebhooksIdTestEventAdditionalPayload$Outbound;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export function postV1WebhooksIdTestEventAdditionalPayloadToJSON(
|
|
536
|
+
postV1WebhooksIdTestEventAdditionalPayload:
|
|
537
|
+
PostV1WebhooksIdTestEventAdditionalPayload,
|
|
538
|
+
): string {
|
|
539
|
+
return JSON.stringify(
|
|
540
|
+
PostV1WebhooksIdTestEventAdditionalPayload$outboundSchema.parse(
|
|
541
|
+
postV1WebhooksIdTestEventAdditionalPayload,
|
|
542
|
+
),
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export function postV1WebhooksIdTestEventAdditionalPayloadFromJSON(
|
|
547
|
+
jsonString: string,
|
|
548
|
+
): SafeParseResult<
|
|
549
|
+
PostV1WebhooksIdTestEventAdditionalPayload,
|
|
550
|
+
SDKValidationError
|
|
551
|
+
> {
|
|
552
|
+
return safeParse(
|
|
553
|
+
jsonString,
|
|
554
|
+
(x) =>
|
|
555
|
+
PostV1WebhooksIdTestEventAdditionalPayload$inboundSchema.parse(
|
|
556
|
+
JSON.parse(x),
|
|
557
|
+
),
|
|
558
|
+
`Failed to parse 'PostV1WebhooksIdTestEventAdditionalPayload' from JSON`,
|
|
559
|
+
);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/** @internal */
|
|
563
|
+
export const Event3$inboundSchema: z.ZodType<Event3, z.ZodTypeDef, unknown> = z
|
|
564
|
+
.object({
|
|
565
|
+
eventType: PostV1WebhooksIdTestEventEventType$inboundSchema,
|
|
566
|
+
additionalPayload: z.lazy(() =>
|
|
567
|
+
PostV1WebhooksIdTestEventAdditionalPayload$inboundSchema
|
|
568
|
+
),
|
|
569
|
+
});
|
|
570
|
+
|
|
571
|
+
/** @internal */
|
|
572
|
+
export type Event3$Outbound = {
|
|
573
|
+
eventType: string;
|
|
574
|
+
additionalPayload: PostV1WebhooksIdTestEventAdditionalPayload$Outbound;
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
/** @internal */
|
|
578
|
+
export const Event3$outboundSchema: z.ZodType<
|
|
579
|
+
Event3$Outbound,
|
|
580
|
+
z.ZodTypeDef,
|
|
581
|
+
Event3
|
|
582
|
+
> = z.object({
|
|
583
|
+
eventType: PostV1WebhooksIdTestEventEventType$outboundSchema,
|
|
584
|
+
additionalPayload: z.lazy(() =>
|
|
585
|
+
PostV1WebhooksIdTestEventAdditionalPayload$outboundSchema
|
|
586
|
+
),
|
|
587
|
+
});
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* @internal
|
|
591
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
592
|
+
*/
|
|
593
|
+
export namespace Event3$ {
|
|
594
|
+
/** @deprecated use `Event3$inboundSchema` instead. */
|
|
595
|
+
export const inboundSchema = Event3$inboundSchema;
|
|
596
|
+
/** @deprecated use `Event3$outboundSchema` instead. */
|
|
597
|
+
export const outboundSchema = Event3$outboundSchema;
|
|
598
|
+
/** @deprecated use `Event3$Outbound` instead. */
|
|
599
|
+
export type Outbound = Event3$Outbound;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export function event3ToJSON(event3: Event3): string {
|
|
603
|
+
return JSON.stringify(Event3$outboundSchema.parse(event3));
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export function event3FromJSON(
|
|
607
|
+
jsonString: string,
|
|
608
|
+
): SafeParseResult<Event3, SDKValidationError> {
|
|
609
|
+
return safeParse(
|
|
610
|
+
jsonString,
|
|
611
|
+
(x) => Event3$inboundSchema.parse(JSON.parse(x)),
|
|
612
|
+
`Failed to parse 'Event3' from JSON`,
|
|
613
|
+
);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/** @internal */
|
|
617
|
+
export const EventEventType$inboundSchema: z.ZodNativeEnum<
|
|
618
|
+
typeof EventEventType
|
|
619
|
+
> = z.nativeEnum(EventEventType);
|
|
620
|
+
|
|
621
|
+
/** @internal */
|
|
622
|
+
export const EventEventType$outboundSchema: z.ZodNativeEnum<
|
|
623
|
+
typeof EventEventType
|
|
624
|
+
> = EventEventType$inboundSchema;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* @internal
|
|
628
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
629
|
+
*/
|
|
630
|
+
export namespace EventEventType$ {
|
|
631
|
+
/** @deprecated use `EventEventType$inboundSchema` instead. */
|
|
632
|
+
export const inboundSchema = EventEventType$inboundSchema;
|
|
633
|
+
/** @deprecated use `EventEventType$outboundSchema` instead. */
|
|
634
|
+
export const outboundSchema = EventEventType$outboundSchema;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/** @internal */
|
|
638
|
+
export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
639
|
+
.nativeEnum(Status);
|
|
640
|
+
|
|
641
|
+
/** @internal */
|
|
642
|
+
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
|
|
643
|
+
Status$inboundSchema;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @internal
|
|
647
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
648
|
+
*/
|
|
649
|
+
export namespace Status$ {
|
|
650
|
+
/** @deprecated use `Status$inboundSchema` instead. */
|
|
651
|
+
export const inboundSchema = Status$inboundSchema;
|
|
652
|
+
/** @deprecated use `Status$outboundSchema` instead. */
|
|
653
|
+
export const outboundSchema = Status$outboundSchema;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
/** @internal */
|
|
657
|
+
export const Scan$inboundSchema: z.ZodType<Scan, z.ZodTypeDef, unknown> = z
|
|
658
|
+
.object({
|
|
659
|
+
id: z.string(),
|
|
660
|
+
status: Status$inboundSchema,
|
|
661
|
+
});
|
|
662
|
+
|
|
663
|
+
/** @internal */
|
|
664
|
+
export type Scan$Outbound = {
|
|
665
|
+
id: string;
|
|
666
|
+
status: string;
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
/** @internal */
|
|
670
|
+
export const Scan$outboundSchema: z.ZodType<Scan$Outbound, z.ZodTypeDef, Scan> =
|
|
671
|
+
z.object({
|
|
672
|
+
id: z.string(),
|
|
673
|
+
status: Status$outboundSchema,
|
|
674
|
+
});
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* @internal
|
|
678
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
679
|
+
*/
|
|
680
|
+
export namespace Scan$ {
|
|
681
|
+
/** @deprecated use `Scan$inboundSchema` instead. */
|
|
682
|
+
export const inboundSchema = Scan$inboundSchema;
|
|
683
|
+
/** @deprecated use `Scan$outboundSchema` instead. */
|
|
684
|
+
export const outboundSchema = Scan$outboundSchema;
|
|
685
|
+
/** @deprecated use `Scan$Outbound` instead. */
|
|
686
|
+
export type Outbound = Scan$Outbound;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export function scanToJSON(scan: Scan): string {
|
|
690
|
+
return JSON.stringify(Scan$outboundSchema.parse(scan));
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
export function scanFromJSON(
|
|
694
|
+
jsonString: string,
|
|
695
|
+
): SafeParseResult<Scan, SDKValidationError> {
|
|
696
|
+
return safeParse(
|
|
697
|
+
jsonString,
|
|
698
|
+
(x) => Scan$inboundSchema.parse(JSON.parse(x)),
|
|
699
|
+
`Failed to parse 'Scan' from JSON`,
|
|
700
|
+
);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/** @internal */
|
|
704
|
+
export const EventAdditionalPayload$inboundSchema: z.ZodType<
|
|
705
|
+
EventAdditionalPayload,
|
|
706
|
+
z.ZodTypeDef,
|
|
707
|
+
unknown
|
|
708
|
+
> = z.object({
|
|
709
|
+
scan: z.lazy(() => Scan$inboundSchema),
|
|
710
|
+
});
|
|
711
|
+
|
|
712
|
+
/** @internal */
|
|
713
|
+
export type EventAdditionalPayload$Outbound = {
|
|
714
|
+
scan: Scan$Outbound;
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
/** @internal */
|
|
718
|
+
export const EventAdditionalPayload$outboundSchema: z.ZodType<
|
|
719
|
+
EventAdditionalPayload$Outbound,
|
|
720
|
+
z.ZodTypeDef,
|
|
721
|
+
EventAdditionalPayload
|
|
722
|
+
> = z.object({
|
|
723
|
+
scan: z.lazy(() => Scan$outboundSchema),
|
|
724
|
+
});
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @internal
|
|
728
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
729
|
+
*/
|
|
730
|
+
export namespace EventAdditionalPayload$ {
|
|
731
|
+
/** @deprecated use `EventAdditionalPayload$inboundSchema` instead. */
|
|
732
|
+
export const inboundSchema = EventAdditionalPayload$inboundSchema;
|
|
733
|
+
/** @deprecated use `EventAdditionalPayload$outboundSchema` instead. */
|
|
734
|
+
export const outboundSchema = EventAdditionalPayload$outboundSchema;
|
|
735
|
+
/** @deprecated use `EventAdditionalPayload$Outbound` instead. */
|
|
736
|
+
export type Outbound = EventAdditionalPayload$Outbound;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export function eventAdditionalPayloadToJSON(
|
|
740
|
+
eventAdditionalPayload: EventAdditionalPayload,
|
|
741
|
+
): string {
|
|
742
|
+
return JSON.stringify(
|
|
743
|
+
EventAdditionalPayload$outboundSchema.parse(eventAdditionalPayload),
|
|
744
|
+
);
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export function eventAdditionalPayloadFromJSON(
|
|
748
|
+
jsonString: string,
|
|
749
|
+
): SafeParseResult<EventAdditionalPayload, SDKValidationError> {
|
|
750
|
+
return safeParse(
|
|
751
|
+
jsonString,
|
|
752
|
+
(x) => EventAdditionalPayload$inboundSchema.parse(JSON.parse(x)),
|
|
753
|
+
`Failed to parse 'EventAdditionalPayload' from JSON`,
|
|
754
|
+
);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/** @internal */
|
|
758
|
+
export const Event2$inboundSchema: z.ZodType<Event2, z.ZodTypeDef, unknown> = z
|
|
759
|
+
.object({
|
|
760
|
+
eventType: EventEventType$inboundSchema,
|
|
761
|
+
additionalPayload: z.lazy(() => EventAdditionalPayload$inboundSchema),
|
|
762
|
+
});
|
|
763
|
+
|
|
764
|
+
/** @internal */
|
|
765
|
+
export type Event2$Outbound = {
|
|
766
|
+
eventType: string;
|
|
767
|
+
additionalPayload: EventAdditionalPayload$Outbound;
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
/** @internal */
|
|
771
|
+
export const Event2$outboundSchema: z.ZodType<
|
|
772
|
+
Event2$Outbound,
|
|
773
|
+
z.ZodTypeDef,
|
|
774
|
+
Event2
|
|
775
|
+
> = z.object({
|
|
776
|
+
eventType: EventEventType$outboundSchema,
|
|
777
|
+
additionalPayload: z.lazy(() => EventAdditionalPayload$outboundSchema),
|
|
778
|
+
});
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* @internal
|
|
782
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
783
|
+
*/
|
|
784
|
+
export namespace Event2$ {
|
|
785
|
+
/** @deprecated use `Event2$inboundSchema` instead. */
|
|
786
|
+
export const inboundSchema = Event2$inboundSchema;
|
|
787
|
+
/** @deprecated use `Event2$outboundSchema` instead. */
|
|
788
|
+
export const outboundSchema = Event2$outboundSchema;
|
|
789
|
+
/** @deprecated use `Event2$Outbound` instead. */
|
|
790
|
+
export type Outbound = Event2$Outbound;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export function event2ToJSON(event2: Event2): string {
|
|
794
|
+
return JSON.stringify(Event2$outboundSchema.parse(event2));
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export function event2FromJSON(
|
|
798
|
+
jsonString: string,
|
|
799
|
+
): SafeParseResult<Event2, SDKValidationError> {
|
|
800
|
+
return safeParse(
|
|
801
|
+
jsonString,
|
|
802
|
+
(x) => Event2$inboundSchema.parse(JSON.parse(x)),
|
|
803
|
+
`Failed to parse 'Event2' from JSON`,
|
|
804
|
+
);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/** @internal */
|
|
808
|
+
export const EventType$inboundSchema: z.ZodNativeEnum<typeof EventType> = z
|
|
809
|
+
.nativeEnum(EventType);
|
|
810
|
+
|
|
811
|
+
/** @internal */
|
|
812
|
+
export const EventType$outboundSchema: z.ZodNativeEnum<typeof EventType> =
|
|
813
|
+
EventType$inboundSchema;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* @internal
|
|
817
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
818
|
+
*/
|
|
819
|
+
export namespace EventType$ {
|
|
820
|
+
/** @deprecated use `EventType$inboundSchema` instead. */
|
|
821
|
+
export const inboundSchema = EventType$inboundSchema;
|
|
822
|
+
/** @deprecated use `EventType$outboundSchema` instead. */
|
|
823
|
+
export const outboundSchema = EventType$outboundSchema;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/** @internal */
|
|
827
|
+
export const AdditionalPayload$inboundSchema: z.ZodType<
|
|
828
|
+
AdditionalPayload,
|
|
829
|
+
z.ZodTypeDef,
|
|
830
|
+
unknown
|
|
831
|
+
> = z.object({});
|
|
832
|
+
|
|
833
|
+
/** @internal */
|
|
834
|
+
export type AdditionalPayload$Outbound = {};
|
|
835
|
+
|
|
836
|
+
/** @internal */
|
|
837
|
+
export const AdditionalPayload$outboundSchema: z.ZodType<
|
|
838
|
+
AdditionalPayload$Outbound,
|
|
839
|
+
z.ZodTypeDef,
|
|
840
|
+
AdditionalPayload
|
|
841
|
+
> = z.object({});
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* @internal
|
|
845
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
846
|
+
*/
|
|
847
|
+
export namespace AdditionalPayload$ {
|
|
848
|
+
/** @deprecated use `AdditionalPayload$inboundSchema` instead. */
|
|
849
|
+
export const inboundSchema = AdditionalPayload$inboundSchema;
|
|
850
|
+
/** @deprecated use `AdditionalPayload$outboundSchema` instead. */
|
|
851
|
+
export const outboundSchema = AdditionalPayload$outboundSchema;
|
|
852
|
+
/** @deprecated use `AdditionalPayload$Outbound` instead. */
|
|
853
|
+
export type Outbound = AdditionalPayload$Outbound;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
export function additionalPayloadToJSON(
|
|
857
|
+
additionalPayload: AdditionalPayload,
|
|
858
|
+
): string {
|
|
859
|
+
return JSON.stringify(
|
|
860
|
+
AdditionalPayload$outboundSchema.parse(additionalPayload),
|
|
861
|
+
);
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export function additionalPayloadFromJSON(
|
|
865
|
+
jsonString: string,
|
|
866
|
+
): SafeParseResult<AdditionalPayload, SDKValidationError> {
|
|
867
|
+
return safeParse(
|
|
868
|
+
jsonString,
|
|
869
|
+
(x) => AdditionalPayload$inboundSchema.parse(JSON.parse(x)),
|
|
870
|
+
`Failed to parse 'AdditionalPayload' from JSON`,
|
|
871
|
+
);
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/** @internal */
|
|
875
|
+
export const Event1$inboundSchema: z.ZodType<Event1, z.ZodTypeDef, unknown> = z
|
|
876
|
+
.object({
|
|
877
|
+
eventType: EventType$inboundSchema,
|
|
878
|
+
additionalPayload: z.lazy(() => AdditionalPayload$inboundSchema).optional(),
|
|
879
|
+
});
|
|
880
|
+
|
|
881
|
+
/** @internal */
|
|
882
|
+
export type Event1$Outbound = {
|
|
883
|
+
eventType: string;
|
|
884
|
+
additionalPayload?: AdditionalPayload$Outbound | undefined;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
/** @internal */
|
|
888
|
+
export const Event1$outboundSchema: z.ZodType<
|
|
889
|
+
Event1$Outbound,
|
|
890
|
+
z.ZodTypeDef,
|
|
891
|
+
Event1
|
|
892
|
+
> = z.object({
|
|
893
|
+
eventType: EventType$outboundSchema,
|
|
894
|
+
additionalPayload: z.lazy(() => AdditionalPayload$outboundSchema).optional(),
|
|
895
|
+
});
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @internal
|
|
899
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
900
|
+
*/
|
|
901
|
+
export namespace Event1$ {
|
|
902
|
+
/** @deprecated use `Event1$inboundSchema` instead. */
|
|
903
|
+
export const inboundSchema = Event1$inboundSchema;
|
|
904
|
+
/** @deprecated use `Event1$outboundSchema` instead. */
|
|
905
|
+
export const outboundSchema = Event1$outboundSchema;
|
|
906
|
+
/** @deprecated use `Event1$Outbound` instead. */
|
|
907
|
+
export type Outbound = Event1$Outbound;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export function event1ToJSON(event1: Event1): string {
|
|
911
|
+
return JSON.stringify(Event1$outboundSchema.parse(event1));
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export function event1FromJSON(
|
|
915
|
+
jsonString: string,
|
|
916
|
+
): SafeParseResult<Event1, SDKValidationError> {
|
|
917
|
+
return safeParse(
|
|
918
|
+
jsonString,
|
|
919
|
+
(x) => Event1$inboundSchema.parse(JSON.parse(x)),
|
|
920
|
+
`Failed to parse 'Event1' from JSON`,
|
|
921
|
+
);
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/** @internal */
|
|
925
|
+
export const Event$inboundSchema: z.ZodType<Event, z.ZodTypeDef, unknown> = z
|
|
926
|
+
.union([
|
|
927
|
+
z.lazy(() => Event2$inboundSchema),
|
|
928
|
+
z.lazy(() => Event3$inboundSchema),
|
|
929
|
+
z.lazy(() => Event4$inboundSchema),
|
|
930
|
+
z.lazy(() => Event1$inboundSchema),
|
|
931
|
+
]);
|
|
932
|
+
|
|
933
|
+
/** @internal */
|
|
934
|
+
export type Event$Outbound =
|
|
935
|
+
| Event2$Outbound
|
|
936
|
+
| Event3$Outbound
|
|
937
|
+
| Event4$Outbound
|
|
938
|
+
| Event1$Outbound;
|
|
939
|
+
|
|
940
|
+
/** @internal */
|
|
941
|
+
export const Event$outboundSchema: z.ZodType<
|
|
942
|
+
Event$Outbound,
|
|
943
|
+
z.ZodTypeDef,
|
|
944
|
+
Event
|
|
945
|
+
> = z.union([
|
|
946
|
+
z.lazy(() => Event2$outboundSchema),
|
|
947
|
+
z.lazy(() => Event3$outboundSchema),
|
|
948
|
+
z.lazy(() => Event4$outboundSchema),
|
|
949
|
+
z.lazy(() => Event1$outboundSchema),
|
|
950
|
+
]);
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* @internal
|
|
954
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
955
|
+
*/
|
|
956
|
+
export namespace Event$ {
|
|
957
|
+
/** @deprecated use `Event$inboundSchema` instead. */
|
|
958
|
+
export const inboundSchema = Event$inboundSchema;
|
|
959
|
+
/** @deprecated use `Event$outboundSchema` instead. */
|
|
960
|
+
export const outboundSchema = Event$outboundSchema;
|
|
961
|
+
/** @deprecated use `Event$Outbound` instead. */
|
|
962
|
+
export type Outbound = Event$Outbound;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export function eventToJSON(event: Event): string {
|
|
966
|
+
return JSON.stringify(Event$outboundSchema.parse(event));
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export function eventFromJSON(
|
|
970
|
+
jsonString: string,
|
|
971
|
+
): SafeParseResult<Event, SDKValidationError> {
|
|
972
|
+
return safeParse(
|
|
973
|
+
jsonString,
|
|
974
|
+
(x) => Event$inboundSchema.parse(JSON.parse(x)),
|
|
975
|
+
`Failed to parse 'Event' from JSON`,
|
|
976
|
+
);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/** @internal */
|
|
980
|
+
export const PostV1WebhooksIdTestRequestBody$inboundSchema: z.ZodType<
|
|
981
|
+
PostV1WebhooksIdTestRequestBody,
|
|
982
|
+
z.ZodTypeDef,
|
|
983
|
+
unknown
|
|
984
|
+
> = z.object({
|
|
985
|
+
event: z.union([
|
|
986
|
+
z.lazy(() => Event2$inboundSchema),
|
|
987
|
+
z.lazy(() => Event3$inboundSchema),
|
|
988
|
+
z.lazy(() => Event4$inboundSchema),
|
|
989
|
+
z.lazy(() => Event1$inboundSchema),
|
|
990
|
+
]).optional(),
|
|
991
|
+
});
|
|
992
|
+
|
|
993
|
+
/** @internal */
|
|
994
|
+
export type PostV1WebhooksIdTestRequestBody$Outbound = {
|
|
995
|
+
event?:
|
|
996
|
+
| Event2$Outbound
|
|
997
|
+
| Event3$Outbound
|
|
998
|
+
| Event4$Outbound
|
|
999
|
+
| Event1$Outbound
|
|
1000
|
+
| undefined;
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
/** @internal */
|
|
1004
|
+
export const PostV1WebhooksIdTestRequestBody$outboundSchema: z.ZodType<
|
|
1005
|
+
PostV1WebhooksIdTestRequestBody$Outbound,
|
|
1006
|
+
z.ZodTypeDef,
|
|
1007
|
+
PostV1WebhooksIdTestRequestBody
|
|
1008
|
+
> = z.object({
|
|
1009
|
+
event: z.union([
|
|
1010
|
+
z.lazy(() => Event2$outboundSchema),
|
|
1011
|
+
z.lazy(() => Event3$outboundSchema),
|
|
1012
|
+
z.lazy(() => Event4$outboundSchema),
|
|
1013
|
+
z.lazy(() => Event1$outboundSchema),
|
|
1014
|
+
]).optional(),
|
|
1015
|
+
});
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* @internal
|
|
1019
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1020
|
+
*/
|
|
1021
|
+
export namespace PostV1WebhooksIdTestRequestBody$ {
|
|
1022
|
+
/** @deprecated use `PostV1WebhooksIdTestRequestBody$inboundSchema` instead. */
|
|
1023
|
+
export const inboundSchema = PostV1WebhooksIdTestRequestBody$inboundSchema;
|
|
1024
|
+
/** @deprecated use `PostV1WebhooksIdTestRequestBody$outboundSchema` instead. */
|
|
1025
|
+
export const outboundSchema = PostV1WebhooksIdTestRequestBody$outboundSchema;
|
|
1026
|
+
/** @deprecated use `PostV1WebhooksIdTestRequestBody$Outbound` instead. */
|
|
1027
|
+
export type Outbound = PostV1WebhooksIdTestRequestBody$Outbound;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export function postV1WebhooksIdTestRequestBodyToJSON(
|
|
1031
|
+
postV1WebhooksIdTestRequestBody: PostV1WebhooksIdTestRequestBody,
|
|
1032
|
+
): string {
|
|
1033
|
+
return JSON.stringify(
|
|
1034
|
+
PostV1WebhooksIdTestRequestBody$outboundSchema.parse(
|
|
1035
|
+
postV1WebhooksIdTestRequestBody,
|
|
1036
|
+
),
|
|
1037
|
+
);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export function postV1WebhooksIdTestRequestBodyFromJSON(
|
|
1041
|
+
jsonString: string,
|
|
1042
|
+
): SafeParseResult<PostV1WebhooksIdTestRequestBody, SDKValidationError> {
|
|
1043
|
+
return safeParse(
|
|
1044
|
+
jsonString,
|
|
1045
|
+
(x) => PostV1WebhooksIdTestRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
1046
|
+
`Failed to parse 'PostV1WebhooksIdTestRequestBody' from JSON`,
|
|
1047
|
+
);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/** @internal */
|
|
1051
|
+
export const PostV1WebhooksIdTestRequest$inboundSchema: z.ZodType<
|
|
1052
|
+
PostV1WebhooksIdTestRequest,
|
|
1053
|
+
z.ZodTypeDef,
|
|
1054
|
+
unknown
|
|
1055
|
+
> = z.object({
|
|
1056
|
+
id: z.string(),
|
|
1057
|
+
RequestBody: z.lazy(() => PostV1WebhooksIdTestRequestBody$inboundSchema),
|
|
1058
|
+
}).transform((v) => {
|
|
1059
|
+
return remap$(v, {
|
|
1060
|
+
"RequestBody": "requestBody",
|
|
1061
|
+
});
|
|
1062
|
+
});
|
|
1063
|
+
|
|
1064
|
+
/** @internal */
|
|
1065
|
+
export type PostV1WebhooksIdTestRequest$Outbound = {
|
|
1066
|
+
id: string;
|
|
1067
|
+
RequestBody: PostV1WebhooksIdTestRequestBody$Outbound;
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
/** @internal */
|
|
1071
|
+
export const PostV1WebhooksIdTestRequest$outboundSchema: z.ZodType<
|
|
1072
|
+
PostV1WebhooksIdTestRequest$Outbound,
|
|
1073
|
+
z.ZodTypeDef,
|
|
1074
|
+
PostV1WebhooksIdTestRequest
|
|
1075
|
+
> = z.object({
|
|
1076
|
+
id: z.string(),
|
|
1077
|
+
requestBody: z.lazy(() => PostV1WebhooksIdTestRequestBody$outboundSchema),
|
|
1078
|
+
}).transform((v) => {
|
|
1079
|
+
return remap$(v, {
|
|
1080
|
+
requestBody: "RequestBody",
|
|
1081
|
+
});
|
|
1082
|
+
});
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* @internal
|
|
1086
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1087
|
+
*/
|
|
1088
|
+
export namespace PostV1WebhooksIdTestRequest$ {
|
|
1089
|
+
/** @deprecated use `PostV1WebhooksIdTestRequest$inboundSchema` instead. */
|
|
1090
|
+
export const inboundSchema = PostV1WebhooksIdTestRequest$inboundSchema;
|
|
1091
|
+
/** @deprecated use `PostV1WebhooksIdTestRequest$outboundSchema` instead. */
|
|
1092
|
+
export const outboundSchema = PostV1WebhooksIdTestRequest$outboundSchema;
|
|
1093
|
+
/** @deprecated use `PostV1WebhooksIdTestRequest$Outbound` instead. */
|
|
1094
|
+
export type Outbound = PostV1WebhooksIdTestRequest$Outbound;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
export function postV1WebhooksIdTestRequestToJSON(
|
|
1098
|
+
postV1WebhooksIdTestRequest: PostV1WebhooksIdTestRequest,
|
|
1099
|
+
): string {
|
|
1100
|
+
return JSON.stringify(
|
|
1101
|
+
PostV1WebhooksIdTestRequest$outboundSchema.parse(
|
|
1102
|
+
postV1WebhooksIdTestRequest,
|
|
1103
|
+
),
|
|
1104
|
+
);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export function postV1WebhooksIdTestRequestFromJSON(
|
|
1108
|
+
jsonString: string,
|
|
1109
|
+
): SafeParseResult<PostV1WebhooksIdTestRequest, SDKValidationError> {
|
|
1110
|
+
return safeParse(
|
|
1111
|
+
jsonString,
|
|
1112
|
+
(x) => PostV1WebhooksIdTestRequest$inboundSchema.parse(JSON.parse(x)),
|
|
1113
|
+
`Failed to parse 'PostV1WebhooksIdTestRequest' from JSON`,
|
|
1114
|
+
);
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
/** @internal */
|
|
1118
|
+
export const PostV1WebhooksIdTestEventType$inboundSchema: z.ZodNativeEnum<
|
|
1119
|
+
typeof PostV1WebhooksIdTestEventType
|
|
1120
|
+
> = z.nativeEnum(PostV1WebhooksIdTestEventType);
|
|
1121
|
+
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export const PostV1WebhooksIdTestEventType$outboundSchema: z.ZodNativeEnum<
|
|
1124
|
+
typeof PostV1WebhooksIdTestEventType
|
|
1125
|
+
> = PostV1WebhooksIdTestEventType$inboundSchema;
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* @internal
|
|
1129
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1130
|
+
*/
|
|
1131
|
+
export namespace PostV1WebhooksIdTestEventType$ {
|
|
1132
|
+
/** @deprecated use `PostV1WebhooksIdTestEventType$inboundSchema` instead. */
|
|
1133
|
+
export const inboundSchema = PostV1WebhooksIdTestEventType$inboundSchema;
|
|
1134
|
+
/** @deprecated use `PostV1WebhooksIdTestEventType$outboundSchema` instead. */
|
|
1135
|
+
export const outboundSchema = PostV1WebhooksIdTestEventType$outboundSchema;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/** @internal */
|
|
1139
|
+
export const PostV1WebhooksIdTestData$inboundSchema: z.ZodType<
|
|
1140
|
+
PostV1WebhooksIdTestData,
|
|
1141
|
+
z.ZodTypeDef,
|
|
1142
|
+
unknown
|
|
1143
|
+
> = z.object({
|
|
1144
|
+
webhookId: z.string(),
|
|
1145
|
+
deliveryId: z.string(),
|
|
1146
|
+
eventType: PostV1WebhooksIdTestEventType$inboundSchema,
|
|
1147
|
+
statusCode: z.number().int(),
|
|
1148
|
+
responseTimeMs: z.number().int(),
|
|
1149
|
+
success: z.boolean(),
|
|
1150
|
+
error: z.nullable(z.string()),
|
|
1151
|
+
});
|
|
1152
|
+
|
|
1153
|
+
/** @internal */
|
|
1154
|
+
export type PostV1WebhooksIdTestData$Outbound = {
|
|
1155
|
+
webhookId: string;
|
|
1156
|
+
deliveryId: string;
|
|
1157
|
+
eventType: string;
|
|
1158
|
+
statusCode: number;
|
|
1159
|
+
responseTimeMs: number;
|
|
1160
|
+
success: boolean;
|
|
1161
|
+
error: string | null;
|
|
1162
|
+
};
|
|
1163
|
+
|
|
1164
|
+
/** @internal */
|
|
1165
|
+
export const PostV1WebhooksIdTestData$outboundSchema: z.ZodType<
|
|
1166
|
+
PostV1WebhooksIdTestData$Outbound,
|
|
1167
|
+
z.ZodTypeDef,
|
|
1168
|
+
PostV1WebhooksIdTestData
|
|
1169
|
+
> = z.object({
|
|
1170
|
+
webhookId: z.string(),
|
|
1171
|
+
deliveryId: z.string(),
|
|
1172
|
+
eventType: PostV1WebhooksIdTestEventType$outboundSchema,
|
|
1173
|
+
statusCode: z.number().int(),
|
|
1174
|
+
responseTimeMs: z.number().int(),
|
|
1175
|
+
success: z.boolean(),
|
|
1176
|
+
error: z.nullable(z.string()),
|
|
1177
|
+
});
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* @internal
|
|
1181
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1182
|
+
*/
|
|
1183
|
+
export namespace PostV1WebhooksIdTestData$ {
|
|
1184
|
+
/** @deprecated use `PostV1WebhooksIdTestData$inboundSchema` instead. */
|
|
1185
|
+
export const inboundSchema = PostV1WebhooksIdTestData$inboundSchema;
|
|
1186
|
+
/** @deprecated use `PostV1WebhooksIdTestData$outboundSchema` instead. */
|
|
1187
|
+
export const outboundSchema = PostV1WebhooksIdTestData$outboundSchema;
|
|
1188
|
+
/** @deprecated use `PostV1WebhooksIdTestData$Outbound` instead. */
|
|
1189
|
+
export type Outbound = PostV1WebhooksIdTestData$Outbound;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
export function postV1WebhooksIdTestDataToJSON(
|
|
1193
|
+
postV1WebhooksIdTestData: PostV1WebhooksIdTestData,
|
|
1194
|
+
): string {
|
|
1195
|
+
return JSON.stringify(
|
|
1196
|
+
PostV1WebhooksIdTestData$outboundSchema.parse(postV1WebhooksIdTestData),
|
|
1197
|
+
);
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export function postV1WebhooksIdTestDataFromJSON(
|
|
1201
|
+
jsonString: string,
|
|
1202
|
+
): SafeParseResult<PostV1WebhooksIdTestData, SDKValidationError> {
|
|
1203
|
+
return safeParse(
|
|
1204
|
+
jsonString,
|
|
1205
|
+
(x) => PostV1WebhooksIdTestData$inboundSchema.parse(JSON.parse(x)),
|
|
1206
|
+
`Failed to parse 'PostV1WebhooksIdTestData' from JSON`,
|
|
1207
|
+
);
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/** @internal */
|
|
1211
|
+
export const PostV1WebhooksIdTestMeta$inboundSchema: z.ZodType<
|
|
1212
|
+
PostV1WebhooksIdTestMeta,
|
|
1213
|
+
z.ZodTypeDef,
|
|
1214
|
+
unknown
|
|
1215
|
+
> = z.object({
|
|
1216
|
+
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
/** @internal */
|
|
1220
|
+
export type PostV1WebhooksIdTestMeta$Outbound = {
|
|
1221
|
+
timestamp: string;
|
|
1222
|
+
};
|
|
1223
|
+
|
|
1224
|
+
/** @internal */
|
|
1225
|
+
export const PostV1WebhooksIdTestMeta$outboundSchema: z.ZodType<
|
|
1226
|
+
PostV1WebhooksIdTestMeta$Outbound,
|
|
1227
|
+
z.ZodTypeDef,
|
|
1228
|
+
PostV1WebhooksIdTestMeta
|
|
1229
|
+
> = z.object({
|
|
1230
|
+
timestamp: z.date().transform(v => v.toISOString()),
|
|
1231
|
+
});
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* @internal
|
|
1235
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1236
|
+
*/
|
|
1237
|
+
export namespace PostV1WebhooksIdTestMeta$ {
|
|
1238
|
+
/** @deprecated use `PostV1WebhooksIdTestMeta$inboundSchema` instead. */
|
|
1239
|
+
export const inboundSchema = PostV1WebhooksIdTestMeta$inboundSchema;
|
|
1240
|
+
/** @deprecated use `PostV1WebhooksIdTestMeta$outboundSchema` instead. */
|
|
1241
|
+
export const outboundSchema = PostV1WebhooksIdTestMeta$outboundSchema;
|
|
1242
|
+
/** @deprecated use `PostV1WebhooksIdTestMeta$Outbound` instead. */
|
|
1243
|
+
export type Outbound = PostV1WebhooksIdTestMeta$Outbound;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
export function postV1WebhooksIdTestMetaToJSON(
|
|
1247
|
+
postV1WebhooksIdTestMeta: PostV1WebhooksIdTestMeta,
|
|
1248
|
+
): string {
|
|
1249
|
+
return JSON.stringify(
|
|
1250
|
+
PostV1WebhooksIdTestMeta$outboundSchema.parse(postV1WebhooksIdTestMeta),
|
|
1251
|
+
);
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
export function postV1WebhooksIdTestMetaFromJSON(
|
|
1255
|
+
jsonString: string,
|
|
1256
|
+
): SafeParseResult<PostV1WebhooksIdTestMeta, SDKValidationError> {
|
|
1257
|
+
return safeParse(
|
|
1258
|
+
jsonString,
|
|
1259
|
+
(x) => PostV1WebhooksIdTestMeta$inboundSchema.parse(JSON.parse(x)),
|
|
1260
|
+
`Failed to parse 'PostV1WebhooksIdTestMeta' from JSON`,
|
|
1261
|
+
);
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
/** @internal */
|
|
1265
|
+
export const PostV1WebhooksIdTestResponseBody$inboundSchema: z.ZodType<
|
|
1266
|
+
PostV1WebhooksIdTestResponseBody,
|
|
1267
|
+
z.ZodTypeDef,
|
|
1268
|
+
unknown
|
|
1269
|
+
> = z.object({
|
|
1270
|
+
data: z.lazy(() => PostV1WebhooksIdTestData$inboundSchema),
|
|
1271
|
+
meta: z.lazy(() => PostV1WebhooksIdTestMeta$inboundSchema),
|
|
1272
|
+
});
|
|
1273
|
+
|
|
1274
|
+
/** @internal */
|
|
1275
|
+
export type PostV1WebhooksIdTestResponseBody$Outbound = {
|
|
1276
|
+
data: PostV1WebhooksIdTestData$Outbound;
|
|
1277
|
+
meta: PostV1WebhooksIdTestMeta$Outbound;
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
/** @internal */
|
|
1281
|
+
export const PostV1WebhooksIdTestResponseBody$outboundSchema: z.ZodType<
|
|
1282
|
+
PostV1WebhooksIdTestResponseBody$Outbound,
|
|
1283
|
+
z.ZodTypeDef,
|
|
1284
|
+
PostV1WebhooksIdTestResponseBody
|
|
1285
|
+
> = z.object({
|
|
1286
|
+
data: z.lazy(() => PostV1WebhooksIdTestData$outboundSchema),
|
|
1287
|
+
meta: z.lazy(() => PostV1WebhooksIdTestMeta$outboundSchema),
|
|
1288
|
+
});
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* @internal
|
|
1292
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1293
|
+
*/
|
|
1294
|
+
export namespace PostV1WebhooksIdTestResponseBody$ {
|
|
1295
|
+
/** @deprecated use `PostV1WebhooksIdTestResponseBody$inboundSchema` instead. */
|
|
1296
|
+
export const inboundSchema = PostV1WebhooksIdTestResponseBody$inboundSchema;
|
|
1297
|
+
/** @deprecated use `PostV1WebhooksIdTestResponseBody$outboundSchema` instead. */
|
|
1298
|
+
export const outboundSchema = PostV1WebhooksIdTestResponseBody$outboundSchema;
|
|
1299
|
+
/** @deprecated use `PostV1WebhooksIdTestResponseBody$Outbound` instead. */
|
|
1300
|
+
export type Outbound = PostV1WebhooksIdTestResponseBody$Outbound;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export function postV1WebhooksIdTestResponseBodyToJSON(
|
|
1304
|
+
postV1WebhooksIdTestResponseBody: PostV1WebhooksIdTestResponseBody,
|
|
1305
|
+
): string {
|
|
1306
|
+
return JSON.stringify(
|
|
1307
|
+
PostV1WebhooksIdTestResponseBody$outboundSchema.parse(
|
|
1308
|
+
postV1WebhooksIdTestResponseBody,
|
|
1309
|
+
),
|
|
1310
|
+
);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export function postV1WebhooksIdTestResponseBodyFromJSON(
|
|
1314
|
+
jsonString: string,
|
|
1315
|
+
): SafeParseResult<PostV1WebhooksIdTestResponseBody, SDKValidationError> {
|
|
1316
|
+
return safeParse(
|
|
1317
|
+
jsonString,
|
|
1318
|
+
(x) => PostV1WebhooksIdTestResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
1319
|
+
`Failed to parse 'PostV1WebhooksIdTestResponseBody' from JSON`,
|
|
1320
|
+
);
|
|
1321
|
+
}
|