@adyen/adyen-platform-experience-web 1.5.1 → 1.6.1
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/dist/adyen-platform-experience-web.css +1 -1
- package/dist/{angle-right-DCDtBphj.cjs → angle-right-K64mXtoy.cjs} +2 -2
- package/dist/{angle-right-DCDtBphj.cjs.map → angle-right-K64mXtoy.cjs.map} +1 -1
- package/dist/{checkmark-BUtjcpAC.cjs → checkmark-BFOfQ4U3.cjs} +2 -2
- package/dist/{checkmark-BUtjcpAC.cjs.map → checkmark-BFOfQ4U3.cjs.map} +1 -1
- package/dist/{checkmark-circle-fill-CtUhQzOt.cjs → checkmark-circle-fill-BV2FvQh0.cjs} +2 -2
- package/dist/{checkmark-circle-fill-CtUhQzOt.cjs.map → checkmark-circle-fill-BV2FvQh0.cjs.map} +1 -1
- package/dist/{checkmark-square-fill-Cpdn8YWp.cjs → checkmark-square-fill-B6rUSLy6.cjs} +2 -2
- package/dist/{checkmark-square-fill-Cpdn8YWp.cjs.map → checkmark-square-fill-B6rUSLy6.cjs.map} +1 -1
- package/dist/{chevron-down-CEgNjZK_.cjs → chevron-down-Cwk2F1N2.cjs} +2 -2
- package/dist/{chevron-down-CEgNjZK_.cjs.map → chevron-down-Cwk2F1N2.cjs.map} +1 -1
- package/dist/{chevron-left-BgN_rxGR.cjs → chevron-left-3kfyOgH8.cjs} +2 -2
- package/dist/{chevron-left-BgN_rxGR.cjs.map → chevron-left-3kfyOgH8.cjs.map} +1 -1
- package/dist/{chevron-right-Jwt5BuB-.cjs → chevron-right-DlSewmYP.cjs} +2 -2
- package/dist/{chevron-right-Jwt5BuB-.cjs.map → chevron-right-DlSewmYP.cjs.map} +1 -1
- package/dist/{chevron-up-B_O0vmIX.cjs → chevron-up-DcHOD7ve.cjs} +2 -2
- package/dist/{chevron-up-B_O0vmIX.cjs.map → chevron-up-DcHOD7ve.cjs.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/{copy-DztEPGun.cjs → copy-DmBUwp7_.cjs} +2 -2
- package/dist/{copy-DztEPGun.cjs.map → copy-DmBUwp7_.cjs.map} +1 -1
- package/dist/{cross-B9ojc3kB.cjs → cross-JGXC9RPo.cjs} +2 -2
- package/dist/{cross-B9ojc3kB.cjs.map → cross-JGXC9RPo.cjs.map} +1 -1
- package/dist/{cross-circle-fill-Dy_LlcFp.cjs → cross-circle-fill-CepPVSd-.cjs} +2 -2
- package/dist/{cross-circle-fill-Dy_LlcFp.cjs.map → cross-circle-fill-CepPVSd-.cjs.map} +1 -1
- package/dist/da-DK-DzyB6ApY.cjs +2 -0
- package/dist/da-DK-DzyB6ApY.cjs.map +1 -0
- package/dist/de-DE-C_manCYP.cjs +2 -0
- package/dist/de-DE-C_manCYP.cjs.map +1 -0
- package/dist/{download-DsN3U6Xn.cjs → download-BToMR9ry.cjs} +2 -2
- package/dist/{download-DsN3U6Xn.cjs.map → download-BToMR9ry.cjs.map} +1 -1
- package/dist/es/components/external/CapitalOverview/components/GrantList/GrantsDisplay.js +1 -1
- package/dist/es/components/external/DisputeManagement/DisputeManagementElement.js +18 -0
- package/dist/es/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.js +82 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.js +212 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.js +21 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.js +128 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.js +37 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDocumentUpload.js +60 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.js +108 -0
- package/dist/es/components/external/DisputeManagement/components/DefendDisputeFlow/constants.js +13 -0
- package/dist/es/components/external/DisputeManagement/components/DisputeDetails/DisputeDetails.js +38 -0
- package/dist/es/components/external/DisputeManagement/components/DisputeDetailsContainer/DisputeDetailsContainer.js +14 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeData.js +212 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.js +196 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.js +56 -0
- package/dist/es/components/external/DisputeManagement/components/DisputesData/constants.js +44 -0
- package/dist/es/components/external/DisputeManagement/context/dispute/context.js +105 -0
- package/dist/es/components/external/DisputeManagement/utils/index.js +22 -0
- package/dist/es/components/external/DisputesOverview/DisputesOverviewElement.js +25 -0
- package/dist/es/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.js +53 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.js +21 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.js +214 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesOverview/constants.js +7 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.js +14 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/DisputesTable.js +178 -0
- package/dist/es/components/external/DisputesOverview/components/DisputesTable/constants.js +4 -0
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +6 -6
- package/dist/es/components/external/ReportsOverview/components/ReportsOverview/ReportsOverview.js +1 -1
- package/dist/es/components/external/ReportsOverview/components/ReportsTable/ReportsTable.js +9 -9
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.js +138 -122
- package/dist/es/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.js +23 -0
- package/dist/es/components/external/TransactionDetails/components/constants.js +17 -21
- package/dist/es/components/external/TransactionDetails/components/utils.js +10 -16
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +16 -12
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +7 -2
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +12 -12
- package/dist/es/components/internal/Button/DownloadButton/DownloadButton.js +63 -37
- package/dist/es/components/internal/Button/constants.js +10 -9
- package/dist/es/components/internal/Button/hooks/useButton.js +43 -33
- package/dist/es/components/internal/Card/Card.js +61 -31
- package/dist/es/components/internal/Card/constants.js +11 -8
- package/dist/es/components/internal/DataGrid/DataGrid.js +45 -42
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +41 -34
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +24 -23
- package/dist/es/components/internal/FormFields/FileInput/FileInput.js +53 -0
- package/dist/es/components/internal/FormFields/FileInput/components/Dropzone.js +142 -0
- package/dist/es/components/internal/FormFields/FileInput/components/UploadedFile.js +37 -0
- package/dist/es/components/internal/FormFields/FileInput/constants.js +12 -0
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +21 -20
- package/dist/es/components/internal/FormFields/Select/Select.js +49 -47
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +34 -32
- package/dist/es/components/internal/Icon/Icon.js +8 -7
- package/dist/es/components/internal/Modal/ModalContent/ModalContent.js +9 -9
- package/dist/es/components/internal/Popover/Popover.js +99 -83
- package/dist/es/components/internal/Popover/PopoverContainer.js +36 -0
- package/dist/es/components/internal/Popover/types.js +2 -2
- package/dist/es/components/internal/Popover/utils/utils.js +23 -23
- package/dist/es/components/internal/SegmentedControl/SegmentedControl.js +22 -22
- package/dist/es/components/internal/StatusBox/StatusBox.js +18 -0
- package/dist/es/components/internal/StatusBox/constants.js +11 -0
- package/dist/es/components/internal/StatusBox/useStatusBox.js +17 -0
- package/dist/es/components/internal/StatusBox/utils.js +9 -0
- package/dist/es/components/internal/Tabs/Tabs.js +47 -0
- package/dist/es/components/internal/Tag/Tag.js +7 -7
- package/dist/es/components/internal/Tooltip/Tooltip.js +28 -32
- package/dist/es/components/utils/disputes/actionNeeded.js +26 -0
- package/dist/es/components/utils/disputes/constants.js +45 -0
- package/dist/es/components/utils/disputes/getDisputesErrorMessage.js +36 -0
- package/dist/es/config/disputes/defenseDocumentConfig.json.js +233 -0
- package/dist/es/config/disputes/defenseReasonConfig.json.js +225 -0
- package/dist/es/constants/dateFormats.js +29 -15
- package/dist/es/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.js +11 -9
- package/dist/es/core/Http/http.js +14 -14
- package/dist/es/core/Http/utils.js +43 -30
- package/dist/es/core/core.js +1 -1
- package/dist/es/hooks/element/usePopoverPositioner.js +152 -79
- package/dist/es/hooks/useBalanceAccountSelection.js +33 -13
- package/dist/es/hooks/useCommitAction/useCommitAction.js +21 -21
- package/dist/es/hooks/useTabbedControl.js +61 -44
- package/dist/es/hooks/useTableColumns.js +24 -23
- package/dist/es/hooks/useTrackedRef.js +19 -0
- package/dist/es/images/icons/plus.svg.js +6 -0
- package/dist/es/index.js +30 -26
- package/dist/es/translations/da-DK.json.js +654 -166
- package/dist/es/translations/de-DE.json.js +682 -194
- package/dist/es/translations/en-US.json.js +664 -176
- package/dist/es/translations/es-ES.json.js +665 -177
- package/dist/es/translations/fi-FI.json.js +686 -198
- package/dist/es/translations/fr-FR.json.js +661 -173
- package/dist/es/translations/it-IT.json.js +690 -202
- package/dist/es/translations/nl-NL.json.js +686 -198
- package/dist/es/translations/no-NO.json.js +666 -178
- package/dist/es/translations/pt-BR.json.js +690 -202
- package/dist/es/translations/sv-SE.json.js +693 -205
- package/dist/es/utils/file/size.js +22 -0
- package/dist/es/utils/file/upload.js +15 -0
- package/dist/es-ES-D4yWVVk4.cjs +2 -0
- package/dist/es-ES-D4yWVVk4.cjs.map +1 -0
- package/dist/{external-link-DgHiKqPL.cjs → external-link-BRDaK3Bx.cjs} +2 -2
- package/dist/{external-link-DgHiKqPL.cjs.map → external-link-BRDaK3Bx.cjs.map} +1 -1
- package/dist/fi-FI-ziHSaIAM.cjs +2 -0
- package/dist/fi-FI-ziHSaIAM.cjs.map +1 -0
- package/dist/{filter-C7stlLTD.cjs → filter-DXSSpM1j.cjs} +2 -2
- package/dist/{filter-C7stlLTD.cjs.map → filter-DXSSpM1j.cjs.map} +1 -1
- package/dist/fr-FR-B-twXuu4.cjs +2 -0
- package/dist/fr-FR-B-twXuu4.cjs.map +1 -0
- package/dist/index-BKTWT4wv.cjs +12 -0
- package/dist/index-BKTWT4wv.cjs.map +1 -0
- package/dist/{info-filled-Bk8waEjd.cjs → info-filled-CqqSx6ab.cjs} +2 -2
- package/dist/{info-filled-Bk8waEjd.cjs.map → info-filled-CqqSx6ab.cjs.map} +1 -1
- package/dist/it-IT-CNU9GJon.cjs +2 -0
- package/dist/it-IT-CNU9GJon.cjs.map +1 -0
- package/dist/{minus-circle-outline-8LuhQHmx.cjs → minus-circle-outline-C_OF3LwJ.cjs} +2 -2
- package/dist/{minus-circle-outline-8LuhQHmx.cjs.map → minus-circle-outline-C_OF3LwJ.cjs.map} +1 -1
- package/dist/nl-NL-CWr5RWqD.cjs +2 -0
- package/dist/nl-NL-CWr5RWqD.cjs.map +1 -0
- package/dist/no-NO-CU-dleiK.cjs +2 -0
- package/dist/no-NO-CU-dleiK.cjs.map +1 -0
- package/dist/plus-CW8c0zs1.cjs +2 -0
- package/dist/plus-CW8c0zs1.cjs.map +1 -0
- package/dist/{plus-circle-outline-x53czuRo.cjs → plus-circle-outline-DJ6zGU6z.cjs} +2 -2
- package/dist/{plus-circle-outline-x53czuRo.cjs.map → plus-circle-outline-DJ6zGU6z.cjs.map} +1 -1
- package/dist/pt-BR-DJUsdwmX.cjs +2 -0
- package/dist/pt-BR-DJUsdwmX.cjs.map +1 -0
- package/dist/{square-BzY0pIfq.cjs → square-2HAeIvAR.cjs} +2 -2
- package/dist/{square-BzY0pIfq.cjs.map → square-2HAeIvAR.cjs.map} +1 -1
- package/dist/sv-SE-Btn3_SAD.cjs +2 -0
- package/dist/sv-SE-Btn3_SAD.cjs.map +1 -0
- package/dist/{trash-can-oPrHRWRq.cjs → trash-can-BLQ5Pm8W.cjs} +2 -2
- package/dist/{trash-can-oPrHRWRq.cjs.map → trash-can-BLQ5Pm8W.cjs.map} +1 -1
- package/dist/types/components/external/DisputeManagement/DisputeManagementElement.d.ts +10 -0
- package/dist/types/components/external/DisputeManagement/DisputeManagementElement.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/AcceptDisputeFlow/AcceptDisputeFlow.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.d.ts +3 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFileUpload.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeFlow.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.d.ts +2 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeReason.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDisputeResponse.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDocumentUpload.d.ts +8 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/DefendDocumentUpload.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.d.ts +15 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/SelectAndUploadOptionalDoc.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/constants.d.ts +5 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/types.d.ts +6 -0
- package/dist/types/components/external/DisputeManagement/components/DefendDisputeFlow/types.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetails/DisputeDetails.d.ts +4 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetails/DisputeDetails.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetailsContainer/DisputeDetailsContainer.d.ts +5 -0
- package/dist/types/components/external/DisputeManagement/components/DisputeDetailsContainer/DisputeDetailsContainer.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeData.d.ts +12 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeData.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.d.ts +12 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeDataProperties.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.d.ts +5 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/DisputeIssuerComments.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/constants.d.ts +28 -0
- package/dist/types/components/external/DisputeManagement/components/DisputesData/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/context/dispute/context.d.ts +31 -0
- package/dist/types/components/external/DisputeManagement/context/dispute/context.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/index.d.ts +3 -0
- package/dist/types/components/external/DisputeManagement/index.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/types.d.ts +18 -0
- package/dist/types/components/external/DisputeManagement/types.d.ts.map +1 -0
- package/dist/types/components/external/DisputeManagement/utils/index.d.ts +9 -0
- package/dist/types/components/external/DisputeManagement/utils/index.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/DisputesOverviewElement.d.ts +9 -0
- package/dist/types/components/external/DisputesOverview/DisputesOverviewElement.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.d.ts +17 -0
- package/dist/types/components/external/DisputesOverview/components/DisputeManagementModal/DisputeManagementModal.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.d.ts +4 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesContainer/DisputesContainer.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.d.ts +9 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/DisputesOverview.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/constants.d.ts +5 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesOverview/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.d.ts +7 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputeStatusTag.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputesTable.d.ts +49 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/DisputesTable.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/constants.d.ts +2 -0
- package/dist/types/components/external/DisputesOverview/components/DisputesTable/constants.d.ts.map +1 -0
- package/dist/types/components/external/DisputesOverview/index.d.ts +2 -0
- package/dist/types/components/external/DisputesOverview/index.d.ts.map +1 -0
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionDataContent.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.d.ts +8 -0
- package/dist/types/components/external/TransactionDetails/components/TransactionData/TransactionStatusTag.d.ts.map +1 -0
- package/dist/types/components/external/TransactionDetails/components/utils.d.ts +0 -2
- package/dist/types/components/external/TransactionDetails/components/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/hooks/useTransaction/useTransaction.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +0 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts +1 -0
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts +3 -3
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useTransactionsOverviewMultiSelectionFilters.d.ts +4 -4
- package/dist/types/components/external/index.d.ts +2 -0
- package/dist/types/components/external/index.d.ts.map +1 -1
- package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts +4 -2
- package/dist/types/components/internal/Button/DownloadButton/DownloadButton.d.ts.map +1 -1
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts +91 -2
- package/dist/types/components/internal/Button/DownloadButton/useDownload.d.ts.map +1 -1
- package/dist/types/components/internal/Button/constants.d.ts +1 -0
- package/dist/types/components/internal/Button/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Button/hooks/useButton.d.ts +1 -0
- package/dist/types/components/internal/Button/hooks/useButton.d.ts.map +1 -1
- package/dist/types/components/internal/Button/types.d.ts +1 -0
- package/dist/types/components/internal/Button/types.d.ts.map +1 -1
- package/dist/types/components/internal/Card/Card.d.ts +2 -1
- package/dist/types/components/internal/Card/Card.d.ts.map +1 -1
- package/dist/types/components/internal/Card/constants.d.ts +3 -0
- package/dist/types/components/internal/Card/constants.d.ts.map +1 -1
- package/dist/types/components/internal/Card/types.d.ts +2 -0
- package/dist/types/components/internal/Card/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/types.d.ts +1 -0
- package/dist/types/components/internal/DataGrid/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDetails/DataOverviewDetails.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts.map +1 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts +2 -1
- package/dist/types/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/FileInput/FileInput.d.ts +7 -0
- package/dist/types/components/internal/FormFields/FileInput/FileInput.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/components/Dropzone.d.ts +7 -0
- package/dist/types/components/internal/FormFields/FileInput/components/Dropzone.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/components/UploadedFile.d.ts +5 -0
- package/dist/types/components/internal/FormFields/FileInput/components/UploadedFile.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/constants.d.ts +10 -0
- package/dist/types/components/internal/FormFields/FileInput/constants.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/FileInput/types.d.ts +29 -0
- package/dist/types/components/internal/FormFields/FileInput/types.d.ts.map +1 -0
- package/dist/types/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/Select.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectButton.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectList.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +4 -4
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +4 -2
- package/dist/types/components/internal/FormFields/Select/types.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/index.d.ts +2 -2
- package/dist/types/components/internal/Icon/Icon.d.ts +1 -0
- package/dist/types/components/internal/Icon/Icon.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/PopoverContainer.d.ts +6 -0
- package/dist/types/components/internal/Popover/PopoverContainer.d.ts.map +1 -0
- package/dist/types/components/internal/Popover/types.d.ts +10 -3
- package/dist/types/components/internal/Popover/types.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/utils/utils.d.ts +1 -1
- package/dist/types/components/internal/Popover/utils/utils.d.ts.map +1 -1
- package/dist/types/components/internal/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/types/components/internal/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/types/components/internal/SegmentedControl/types.d.ts +6 -6
- package/dist/types/components/internal/SegmentedControl/types.d.ts.map +1 -1
- package/dist/types/components/internal/StatusBox/StatusBox.d.ts +22 -0
- package/dist/types/components/internal/StatusBox/StatusBox.d.ts.map +1 -0
- package/dist/types/components/internal/StatusBox/constants.d.ts +9 -0
- package/dist/types/components/internal/StatusBox/constants.d.ts.map +1 -0
- package/dist/types/components/internal/StatusBox/useStatusBox.d.ts +16 -0
- package/dist/types/components/internal/StatusBox/useStatusBox.d.ts.map +1 -0
- package/dist/types/components/internal/StatusBox/utils.d.ts +9 -0
- package/dist/types/components/internal/StatusBox/utils.d.ts.map +1 -0
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +1 -1
- package/dist/types/components/internal/Tabs/Tabs.d.ts +5 -0
- package/dist/types/components/internal/Tabs/Tabs.d.ts.map +1 -0
- package/dist/types/components/internal/Tabs/types.d.ts +14 -0
- package/dist/types/components/internal/Tabs/types.d.ts.map +1 -0
- package/dist/types/components/internal/Tag/Tag.d.ts +2 -1
- package/dist/types/components/internal/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/internal/Tag/types.d.ts +1 -1
- package/dist/types/components/internal/Tag/types.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +9 -1
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/components/utils/disputes/actionNeeded.d.ts +16 -0
- package/dist/types/components/utils/disputes/actionNeeded.d.ts.map +1 -0
- package/dist/types/components/utils/disputes/constants.d.ts +43 -0
- package/dist/types/components/utils/disputes/constants.d.ts.map +1 -0
- package/dist/types/components/utils/disputes/getDisputesErrorMessage.d.ts +5 -0
- package/dist/types/components/utils/disputes/getDisputesErrorMessage.d.ts.map +1 -0
- package/dist/types/components/utils/getErrorMessage.d.ts.map +1 -1
- package/dist/types/constants/dateFormats.d.ts +3 -0
- package/dist/types/constants/dateFormats.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/context.d.ts +483 -2
- package/dist/types/core/ConfigContext/context.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts +966 -4
- package/dist/types/core/ConfigContext/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts +483 -2
- package/dist/types/core/ConfigContext/session/SetupContext.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/session/utils/sessionAwareComponentAvailability/helpers/componentAvailabilityRegistry.d.ts.map +1 -1
- package/dist/types/core/ConfigContext/types.d.ts +4 -1
- package/dist/types/core/ConfigContext/types.d.ts.map +1 -1
- package/dist/types/core/Http/http.d.ts.map +1 -1
- package/dist/types/core/Http/utils.d.ts +3 -0
- package/dist/types/core/Http/utils.d.ts.map +1 -1
- package/dist/types/hooks/element/usePopoverPositioner.d.ts +6 -3
- package/dist/types/hooks/element/usePopoverPositioner.d.ts.map +1 -1
- package/dist/types/hooks/useBalanceAccountSelection.d.ts +3 -2
- package/dist/types/hooks/useBalanceAccountSelection.d.ts.map +1 -1
- package/dist/types/hooks/useCommitAction/useCommitAction.d.ts.map +1 -1
- package/dist/types/hooks/useCustomColumnsData.d.ts +1 -1
- package/dist/types/hooks/useDefaultOverviewFilterParams.d.ts +1 -1
- package/dist/types/hooks/useDefaultOverviewFilterParams.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/index.d.ts +2 -0
- package/dist/types/hooks/useModalDetails/index.d.ts.map +1 -0
- package/dist/types/hooks/useTabbedControl.d.ts +8 -9
- package/dist/types/hooks/useTabbedControl.d.ts.map +1 -1
- package/dist/types/hooks/useTableColumns.d.ts +4 -2
- package/dist/types/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/types/hooks/useTrackedRef.d.ts +9 -0
- package/dist/types/hooks/useTrackedRef.d.ts.map +1 -0
- package/dist/types/translations/index.d.ts +488 -0
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/endpoints.d.ts +3 -2
- package/dist/types/types/api/endpoints.d.ts.map +1 -1
- package/dist/types/types/api/models/disputes.d.ts +12 -0
- package/dist/types/types/api/models/disputes.d.ts.map +1 -0
- package/dist/types/types/api/models/transactions.d.ts +3 -0
- package/dist/types/types/api/models/transactions.d.ts.map +1 -1
- package/dist/types/types/api/resources/DisputesResource.d.ts +575 -0
- package/dist/types/types/api/resources/DisputesResource.d.ts.map +1 -0
- package/dist/types/types/api/resources/SetupResource.d.ts +10 -10
- package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
- package/dist/{upload-CEAJdOXV.cjs → upload-C9Z9qRuS.cjs} +2 -2
- package/dist/{upload-CEAJdOXV.cjs.map → upload-C9Z9qRuS.cjs.map} +1 -1
- package/dist/{warning-BzXJLvmN.cjs → warning-CIRG3GTY.cjs} +2 -2
- package/dist/{warning-BzXJLvmN.cjs.map → warning-CIRG3GTY.cjs.map} +1 -1
- package/dist/{warning-filled-P8HTOKkP.cjs → warning-filled-3hD1yAKv.cjs} +2 -2
- package/dist/{warning-filled-P8HTOKkP.cjs.map → warning-filled-3hD1yAKv.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/da-DK-DAJvnb2s.cjs +0 -2
- package/dist/da-DK-DAJvnb2s.cjs.map +0 -1
- package/dist/de-DE-DFMmcoWN.cjs +0 -2
- package/dist/de-DE-DFMmcoWN.cjs.map +0 -1
- package/dist/es/components/external/TransactionDetails/components/details/TransactionStatusBox.js +0 -53
- package/dist/es/style/index.scss.js +0 -1
- package/dist/es-ES-DWJu_JsZ.cjs +0 -2
- package/dist/es-ES-DWJu_JsZ.cjs.map +0 -1
- package/dist/fi-FI-MXUK5vu0.cjs +0 -2
- package/dist/fi-FI-MXUK5vu0.cjs.map +0 -1
- package/dist/fr-FR-NK-BqBuh.cjs +0 -2
- package/dist/fr-FR-NK-BqBuh.cjs.map +0 -1
- package/dist/index-ejbaSyzM.cjs +0 -12
- package/dist/index-ejbaSyzM.cjs.map +0 -1
- package/dist/it-IT-CckThmyL.cjs +0 -2
- package/dist/it-IT-CckThmyL.cjs.map +0 -1
- package/dist/nl-NL-73Hql9dE.cjs +0 -2
- package/dist/nl-NL-73Hql9dE.cjs.map +0 -1
- package/dist/no-NO-C5RVnfc6.cjs +0 -2
- package/dist/no-NO-C5RVnfc6.cjs.map +0 -1
- package/dist/pt-BR-DR3yYVRn.cjs +0 -2
- package/dist/pt-BR-DR3yYVRn.cjs.map +0 -1
- package/dist/sv-SE-C92aO-iv.cjs +0 -2
- package/dist/sv-SE-C92aO-iv.cjs.map +0 -1
- package/dist/types/components/external/TransactionDetails/components/details/TransactionStatusBox.d.ts +0 -8
- package/dist/types/components/external/TransactionDetails/components/details/TransactionStatusBox.d.ts.map +0 -1
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
const e = { title: "atmDispute", help: "invalidChargebackReasonCode" }, t = { title: "accountTakeover", help: "transactionFromAccountTakeover" }, i = { title: "additionalInformation", help: "merchantCanProvideAdditionalInformation" }, n = { title: "airlineCompellingEvidence", help: "evidenceCardholderAuthorizedTransaction" }, o = { title: "airlineFlightProvided", help: "shopperUsedAirlineTicket" }, a = { title: "responseToRfiAirlines", help: "provideTransactionalInfoTravelDetails" }, r = { title: "transactionWasAuthorised", help: "authorisationReceivedForAmount" }, c = { title: "autoResponseToRfi", help: "autoResponseSentToIssuer" }, s = { title: "cvc2ValidationProgram", help: "transactionFallsCvc2ValidationProgram" }, l = { title: "cancellationOrReturns", help: "useThisDefenseReasonIfApplicable", helpitems: ["noCreditSlip", "returnNotAccepted", "merchandiseNotReturned"] }, d = { title: "cancellationContractFailed", help: "cardholderDidNotMeetCancellationTerms" }, h = { title: "responseToRfiCarRental", help: "provideTransactionalInfoTravelDetails" }, p = { title: "accountNumberNotListedInExceptions", help: "accountNumberNotListedInExceptionsFor60Days" }, u = { title: "reponseToRfi", help: "provideTransactionalInformation" }, C = { title: "fraudEvidence" }, m = { title: "cbCodeNotApplicable", help: "firstChargebackCodeNotApplicable" }, f = { title: "reponseToRfiCardPresent", help: "provideTransactionalInformation" }, v = { title: "cardholderNotifiedButNoReply", help: "cardholderNotifiedBeforeRecurringTransaction" }, T = { title: "cardholderParticipated", help: "evidenceThatCardholderParticipated" }, g = { title: "membershipRenewedAfterCancellation", help: "cardholderCancelledRecurringServiceButRenewedLater" }, R = { title: "chipLiabilityShift", help: "transactionBetweenChipLiabilityShiftProgramCustomers" }, A = { title: "chipTransactionReportedSAFE", help: "intraregionalTransactionReportedSAFE" }, P = { title: "reponseToRfi", help: "provideTransactionalInformation" }, S = { title: "compellingEvidence", help: "evidenceCardholderAuthorizedTransaction" }, b = { title: "compellingEvidenceRecurringTransactions", help: "evidenceServicesProvidedAndReceivedWrittenCorrespondence" }, I = { title: "correctTransactionAmount", help: "transactionInformationDocument" }, N = { title: "correctTransactionCurrency", help: "chargebackInvalidCorrectAmountAndCurrencyProvided" }, D = { title: "correctTransactionDateProvided", help: "acquirerProvidesCorrectDateWithinTimeLimit" }, y = { title: "creditOrCancellationPolicyDisclosed", help: "creditOrCancellationPolicyDisclosedToCardholder" }, F = { title: "creditPreviouslyIssued", help: "transactionAmountAlreadyRefunded" }, M = { title: "deficiencyCorrected", help: "proofDeficiencyCorrected" }, k = { title: "disputedSurcharge", help: "surchargeCorrectlyProcessed" }, O = { title: "disputedSurchargeIncorrectCalculation", help: "surchargeIncorrectlyCalculatedByIssuer" }, E = { title: "duplicateChargeback", help: "issuerProcessedChargebackMoreThanOnce" }, W = { title: "emvLiabilityShift", help: "emvDeviceNonEmvCard" }, w = { title: "emergencyPaymentAuthorizationService", help: "transactioAuthorisedEmergencyPaymentAuthorizationService" }, B = { title: "faceToFaceTransactionNoConflictingInformation", help: "transactionWasInFaceToFaceEnvironment" }, L = { title: "faceToFaceTransactionWithConflictingInformation", help: "de22DontMatchInFaceToFaceTransaction" }, x = { title: "goodsNotReturned", help: "cardholderShouldHaveReturnedGoods" }, q = { title: "goodsOrServicesProvided", help: "proofCardholderReceivedMerchandise", helpitems: ["signedImprintedSalesSlipInvoicePosReceipt", "parcelServiceReceipt", "waiverFormAbsolvingMerchantResponsibility"] }, V = { title: "goodsRepairedOrReplaced", help: "goodsWereRepairedOrReplaced" }, G = { title: "goodsWereAsDescribed", help: "evidenceGoodsNotDamaged" }, U = { title: "identifiedAddendum", help: ["cardholderResponsibleForAddendumTransaction", "cardholderResponsibleForDisputedAmount", "cardholderBilledForSeparateAdditionalAmount"] }, z = { title: "documentationReceivedWasIllegible", help: "firstChargebackInvalid" }, J = { title: "increasedTransactionAmount", help: "documentationIncreasedDebitCardholderAccount" }, H = { title: "invalidAcquirerReferenceData", help: "invalidReferenceDataDocumentationNotRequired" }, j = { title: "invalidCancellationCode", help: "cancellationCodeWasInvalidAsShownByExplanationProvided" }, Q = { title: "invalidChargeback", help: ["firstChargebackDoesNotMeetPrerequisites", "thisReasonIsTechnical"] }, X = { title: "invalidChargeback", help: ["firstChargebackDoesNotMeetPrerequisites", "thisReasonIsTechnical"] }, K = { title: "chargebackBundlingInvalid", help: "chargebackBundlingInvalid" }, Y = { title: "invalidMessageText", help: "formatCbmmddyyArdXxxExpected" }, Z = { title: "invalidMessageText", help: "formatMultipleTransactionsNnnExpected" }, _ = { title: "invalidMessageText", help: "formatRpcsMmddyyExpected" }, $ = { title: "invalidChargebackBasedOnMcc", help: "merchantCantReceiveThisChargebackBasedOnTheirMcc" }, ee = { title: "reponseToRfi", help: "provideTransactionalInformation" }, te = { title: "justifiedDelayedPresentment", help: "delayInSubmittingTransaction" }, ie = { title: "liabilityShiftFullAuthenticated", help: "transactionIssuerApproved3dSecureAuthenticated" }, ne = { title: "3dSecureFullyAuthenticatedTransaction", help: "transactionApproved3dSecureAuthenticated" }, oe = { title: "3dSecureLiabilityShiftNotFullyAuthenticated", help: "transactionNotFully3dSecureAuthenticated" }, ae = { title: "merchandiseWasNotCounterfeit" }, re = { title: "merchandiseWasReceivedByShopper", help: "proofCardholderReceivedMerchandise", helpitems: ["signedImprintedSalesSlipInvoicePosReceipt", "parcelServiceReceipt", "waiverFormAbsolvingMerchantResponsibility"] }, ce = { title: "provideMissingInformation", help: "merchantProvideMissingDocuments" }, se = { title: "invalidMessageText", help: "issuerDidNotIncludeTwoSetsOfArns" }, le = { title: "noShowTransaction", help: "transactionWasResultOfGuaranteedReservation" }, de = { title: "requiredDocumentationNotReceived", help: "issuerDidNotProvideRequiredDocumentation" }, he = { title: "requiredDocumentationNotReceived", help: "issuerDidNotProvideRequiredDocumentation" }, pe = { title: "not3dSecureTransaction", help: "chargebackCodeNA3dSecureNotOffered" }, ue = { title: "serviceNotCancelled", help: "serviceNotCancelledEvidence" }, Ce = { title: "noPriorChargebackReceived", help: "claimNotJustifiedSinceTransactionNotChargebacked" }, me = { title: "noPriorChargebackReceived", help: "transactionNotChargebackedAutoDefense" }, fe = { title: "merchantNotNotifiedOfCancellation", help: "serviceCancelledButMerchantNotNotified" }, ve = { title: "additionalInformation", help: "docToProveNoPaymentByOtherMean" }, Te = { title: "transactionNotRecurring", help: "transactionNotRecurringTransactionInstallment" }, ge = { title: "pinTransaction", help: "pinUsedToVerifyCardholder" }, Re = { title: "pastChargebackTimeLimit", help: "chargebackReceivedAfterMastercardTimeLimit" }, Ae = { title: "paypassTransaction", help: "paypassAmountBelowProtectionAmount" }, Pe = { title: "paymentByOtherMeans", help: "validityOfTransactionChargedExplanation" }, Se = { title: "transactionSettledWithinTimeLimit", help: "timeBetweenAuthorisationAndSettlementWithinTimeLimits" }, be = { title: "noPriorChargebackReceived", help: "previousChargebackCancellingRecurringContract" }, Ie = { title: "chipTransaction", help: "cardPresentAndChipUsedNoPinProvided" }, Ne = { title: "transactionsInitiatedDueToLossTheftOrDamages", help: "receiptWithItemsBilledBecauseOfLossTheftDamages" }, De = { title: "proofOfCardPresenceMastercardCorporateFleet", help: "cardAndSignatureForCorporateFleetCardTransaction" }, ye = { title: "proofOfCardPresenceAvailableNotAuthorisedMastercardNetwork", help: "cardWithSignatureNotProcessedMastercardNetwork" }, Fe = { title: "signedTerminalReceiptAvailable", help: "posTransactionAndSignedTerminalReceiptAvailable" }, Me = { title: "cardPresenceProof", help: "posTransactionCardholderWasPresentProof" }, ke = { title: "provideInformationForCollectionOrFraudCase" }, Oe = { title: "purchaseProperlyPosted", help: "transactionWasProperlyIdentifiedAsInstallmentTransaction" }, Ee = { title: "qpsTransaction", help: "qpsTransactionWithAmountLessThanChargebackProtectionAmount" }, We = { title: "recurringTransactionCompellingEvidence", help: "autoGeneratedRecurringTransactionDetails" }, we = { title: "recurringTransactionCompellingMerchantEvidence", help: "merchantCanProvideAdditionalCompellingEvidence" }, Be = { title: "notAgreeWithRefund", help: "shopperClaimsRefundWasPromisedButNotExecuted" }, Le = { title: "retrievalRequestFulfilled", help: "documentsSentToFulfillRetrievalRequest" }, xe = { title: "buyerExceededWindowToFileReturn", help: "uploadReturnPolicyDocument" }, qe = { title: "termsOfSaleWereNotMisrepresented" }, Ve = { title: "scanningError", help: "defenseReasonIfProblemsWithScans" }, Ge = { title: "goodsOrServicesProvided", help: "merchantProvidedServicesToCardholderProof" }, Ue = { title: "servicesProvidedAfterCancellation", help: "servicesProvidedAndUsedAfterCancellation" }, ze = { title: "addressVerificationService", help: "addressMerchandiseSentAvsConfirmed" }, Je = { title: "addressVerificationServiceAdditionalInformation", help: "addressMerchandiseSentAvsConfirmed" }, He = { title: "supplyDefenseMaterial", help: "fallbackDefenseReasonCode" }, je = { title: "supplyDefenseMaterial", help: "fallbackDefenseReasonCode" }, Qe = { title: "manyFraudulentChargebacks", help: "issuerHasInitiatedTooManyFraudulentDisputes" }, Xe = { title: "authorisedOnline", help: "transactionWasAuthorisedOnline" }, Ke = { title: "notPosTransaction", help: "transactionWasECommerceGivenChargebackReasonNotApplicable" }, Ye = { title: "twoDifferentTransactions", help: "twoSeparateTransactions" }, Ze = { title: "twoDifferentTidsNonAtm", help: "twoDifferentTidsWithSameCardholderAccount" }, _e = { title: "pinTransaction", help: "pinForOneOrBothTransactions" }, $e = { title: "twoPreviousFraudRelatedChargebacks", help: "prevChargedbackTwoTransactionsWithSameAccount" }, et = { title: "unfoundedCardholderDispute", help: "acquirerDefendChargebackIfIssuerRequested" }, tt = { title: "unreasonableAmount", help: "cardholderAgreedToAmountAsReasonable" }, it = {
|
|
2
|
+
ATMDispute: e,
|
|
3
|
+
AccountTakeover: t,
|
|
4
|
+
AdditionalInformation: i,
|
|
5
|
+
AirlineCompellingEvidence: n,
|
|
6
|
+
AirlineFlightProvided: o,
|
|
7
|
+
AirlineRFIresponse: a,
|
|
8
|
+
AuthorisedTransaction: r,
|
|
9
|
+
AutomaticRFIresponse: c,
|
|
10
|
+
CVC2ValidationProgram: s,
|
|
11
|
+
CancellationOrReturns: l,
|
|
12
|
+
CancellationTermsFailed: d,
|
|
13
|
+
CarRentalRFIresponse: h,
|
|
14
|
+
CardNotOnExceptionFile: p,
|
|
15
|
+
CardNotPresentRFIresponse: u,
|
|
16
|
+
CardPresentFraud: C,
|
|
17
|
+
CardPresentNotApplicable: m,
|
|
18
|
+
CardPresentRFIresponse: f,
|
|
19
|
+
CardholderNotReplied: v,
|
|
20
|
+
CardholderParticipated: T,
|
|
21
|
+
CardholderRenewedMembership: g,
|
|
22
|
+
ChipLiabilityShift: R,
|
|
23
|
+
ChipTransactionReportedToSAFE: A,
|
|
24
|
+
CieloRFIresponse: P,
|
|
25
|
+
CompellingEvidence: S,
|
|
26
|
+
CompellingEvidenceRecurringTransactions: b,
|
|
27
|
+
CorrectTransactionAmount: I,
|
|
28
|
+
CorrectTransactionCurrency: N,
|
|
29
|
+
CorrectTransactionDate: D,
|
|
30
|
+
CreditOrCancellationPolicyProperlyDisclosed: y,
|
|
31
|
+
CreditPreviouslyIssued: F,
|
|
32
|
+
DeficiencyCorrected: M,
|
|
33
|
+
DisputedSurcharge: k,
|
|
34
|
+
DisputedSurchargeIncorrectProratedCalculation: O,
|
|
35
|
+
DuplicateChargeback: E,
|
|
36
|
+
EMVLiabilityShift: W,
|
|
37
|
+
EmergencyPaymentAuthorizationService: w,
|
|
38
|
+
FaceToFace: B,
|
|
39
|
+
FaceToFaceConflictingMessages: L,
|
|
40
|
+
GoodsNotReturned: x,
|
|
41
|
+
GoodsOrServicesProvided: q,
|
|
42
|
+
GoodsRepairedOrReplaced: V,
|
|
43
|
+
GoodsWereAsDescribed: G,
|
|
44
|
+
IdentifiedAddendum: U,
|
|
45
|
+
IllegibleDocumentationReceived: z,
|
|
46
|
+
IncreasedTransactionAmount: J,
|
|
47
|
+
InvalidARD: H,
|
|
48
|
+
InvalidCancellationCode: j,
|
|
49
|
+
InvalidChargeback: Q,
|
|
50
|
+
InvalidChargebackAllocation: X,
|
|
51
|
+
InvalidChargebackBundling: K,
|
|
52
|
+
InvalidDE72CB: Y,
|
|
53
|
+
InvalidDE72MultipleTransactions: Z,
|
|
54
|
+
InvalidDE72RPCS: _,
|
|
55
|
+
InvalidReasonCodeForMCC: $,
|
|
56
|
+
JCBRFIResponse: ee,
|
|
57
|
+
JustifiedDelayedPresentment: te,
|
|
58
|
+
LiabilityShiftFullAuthenticated: ie,
|
|
59
|
+
LiabilityShiftFullUCAF: ne,
|
|
60
|
+
LiabilityShiftMerchantUCAF: oe,
|
|
61
|
+
MerchandiseNotCounterfeit: ae,
|
|
62
|
+
MerchandiseReceived: re,
|
|
63
|
+
MissingInformation: ce,
|
|
64
|
+
NoARDprovidedInMessageText: se,
|
|
65
|
+
NoShowTransaction: le,
|
|
66
|
+
NonReceiptOfRequiredDocuments: de,
|
|
67
|
+
NonReceiptOfRequiredDocumentsAutoDefense: he,
|
|
68
|
+
Not3DSecure: pe,
|
|
69
|
+
NotCancelled: ue,
|
|
70
|
+
NotChargebacked: Ce,
|
|
71
|
+
NotChargebackedAuto: me,
|
|
72
|
+
NotNotified: fe,
|
|
73
|
+
NotPaidByOtherMeans: ve,
|
|
74
|
+
NotRecurring: Te,
|
|
75
|
+
PINTransaction: ge,
|
|
76
|
+
PastChargebackTimeLimit: Re,
|
|
77
|
+
PayPassTransaction: Ae,
|
|
78
|
+
PaymentByOtherMeans: Pe,
|
|
79
|
+
PresentmentWithinTimeLimit: Se,
|
|
80
|
+
PreviousTransactionNotChargebacked: be,
|
|
81
|
+
ProofOfCardPresenceAndSignatureChipNoPIN: Ie,
|
|
82
|
+
ProofOfCardPresenceAndSignatureLossTheftOrDamage: Ne,
|
|
83
|
+
ProofOfCardPresenceAndSignatureMasterCardCorporateFleetCard: De,
|
|
84
|
+
ProofOfCardPresenceAndSignatureNotMasterCardWorldWideNetwork: ye,
|
|
85
|
+
ProofOfCardPresenceAndSignatureWithTerminalReceipt: Fe,
|
|
86
|
+
ProofOfCardPresenceAndSignatureWithoutTerminalReceipt: Me,
|
|
87
|
+
ProvideInformation: ke,
|
|
88
|
+
PurchaseProperlyPosted: Oe,
|
|
89
|
+
QPSTransaction: Ee,
|
|
90
|
+
RecurringTransactionsCompellingEvidence: We,
|
|
91
|
+
RecurringTransactionsCompellingMerchantEvidence: we,
|
|
92
|
+
RefundNotAgreed: Be,
|
|
93
|
+
RetrievalRequestFulfilled: Le,
|
|
94
|
+
ReturnPeriodExpired: xe,
|
|
95
|
+
SaleTermsNotMisrepresented: qe,
|
|
96
|
+
ScanningError: Ve,
|
|
97
|
+
ServicesProvided: Ge,
|
|
98
|
+
ServicesProvidedAfterCancellation: Ue,
|
|
99
|
+
ShippedToAVS: ze,
|
|
100
|
+
ShippedToAVSAdditionalInformation: Je,
|
|
101
|
+
SupplyDefenseDocument: He,
|
|
102
|
+
SupplyDefenseMaterial: je,
|
|
103
|
+
TooManyFraudulentChargebacks: Qe,
|
|
104
|
+
TransactionAuthorisedOnline: Xe,
|
|
105
|
+
TransactionNotPOS: Ke,
|
|
106
|
+
TwoDifferentTIDs: Ye,
|
|
107
|
+
TwoDifferentTIDsPOS: Ze,
|
|
108
|
+
TwoPINTransactions: _e,
|
|
109
|
+
TwoPriorFraudChargebacks: $e,
|
|
110
|
+
UnfoundedCardholderDispute: et,
|
|
111
|
+
UnreasonableAmount: tt
|
|
112
|
+
};
|
|
113
|
+
export {
|
|
114
|
+
e as ATMDispute,
|
|
115
|
+
t as AccountTakeover,
|
|
116
|
+
i as AdditionalInformation,
|
|
117
|
+
n as AirlineCompellingEvidence,
|
|
118
|
+
o as AirlineFlightProvided,
|
|
119
|
+
a as AirlineRFIresponse,
|
|
120
|
+
r as AuthorisedTransaction,
|
|
121
|
+
c as AutomaticRFIresponse,
|
|
122
|
+
s as CVC2ValidationProgram,
|
|
123
|
+
l as CancellationOrReturns,
|
|
124
|
+
d as CancellationTermsFailed,
|
|
125
|
+
h as CarRentalRFIresponse,
|
|
126
|
+
p as CardNotOnExceptionFile,
|
|
127
|
+
u as CardNotPresentRFIresponse,
|
|
128
|
+
C as CardPresentFraud,
|
|
129
|
+
m as CardPresentNotApplicable,
|
|
130
|
+
f as CardPresentRFIresponse,
|
|
131
|
+
v as CardholderNotReplied,
|
|
132
|
+
T as CardholderParticipated,
|
|
133
|
+
g as CardholderRenewedMembership,
|
|
134
|
+
R as ChipLiabilityShift,
|
|
135
|
+
A as ChipTransactionReportedToSAFE,
|
|
136
|
+
P as CieloRFIresponse,
|
|
137
|
+
S as CompellingEvidence,
|
|
138
|
+
b as CompellingEvidenceRecurringTransactions,
|
|
139
|
+
I as CorrectTransactionAmount,
|
|
140
|
+
N as CorrectTransactionCurrency,
|
|
141
|
+
D as CorrectTransactionDate,
|
|
142
|
+
y as CreditOrCancellationPolicyProperlyDisclosed,
|
|
143
|
+
F as CreditPreviouslyIssued,
|
|
144
|
+
M as DeficiencyCorrected,
|
|
145
|
+
k as DisputedSurcharge,
|
|
146
|
+
O as DisputedSurchargeIncorrectProratedCalculation,
|
|
147
|
+
E as DuplicateChargeback,
|
|
148
|
+
W as EMVLiabilityShift,
|
|
149
|
+
w as EmergencyPaymentAuthorizationService,
|
|
150
|
+
B as FaceToFace,
|
|
151
|
+
L as FaceToFaceConflictingMessages,
|
|
152
|
+
x as GoodsNotReturned,
|
|
153
|
+
q as GoodsOrServicesProvided,
|
|
154
|
+
V as GoodsRepairedOrReplaced,
|
|
155
|
+
G as GoodsWereAsDescribed,
|
|
156
|
+
U as IdentifiedAddendum,
|
|
157
|
+
z as IllegibleDocumentationReceived,
|
|
158
|
+
J as IncreasedTransactionAmount,
|
|
159
|
+
H as InvalidARD,
|
|
160
|
+
j as InvalidCancellationCode,
|
|
161
|
+
Q as InvalidChargeback,
|
|
162
|
+
X as InvalidChargebackAllocation,
|
|
163
|
+
K as InvalidChargebackBundling,
|
|
164
|
+
Y as InvalidDE72CB,
|
|
165
|
+
Z as InvalidDE72MultipleTransactions,
|
|
166
|
+
_ as InvalidDE72RPCS,
|
|
167
|
+
$ as InvalidReasonCodeForMCC,
|
|
168
|
+
ee as JCBRFIResponse,
|
|
169
|
+
te as JustifiedDelayedPresentment,
|
|
170
|
+
ie as LiabilityShiftFullAuthenticated,
|
|
171
|
+
ne as LiabilityShiftFullUCAF,
|
|
172
|
+
oe as LiabilityShiftMerchantUCAF,
|
|
173
|
+
ae as MerchandiseNotCounterfeit,
|
|
174
|
+
re as MerchandiseReceived,
|
|
175
|
+
ce as MissingInformation,
|
|
176
|
+
se as NoARDprovidedInMessageText,
|
|
177
|
+
le as NoShowTransaction,
|
|
178
|
+
de as NonReceiptOfRequiredDocuments,
|
|
179
|
+
he as NonReceiptOfRequiredDocumentsAutoDefense,
|
|
180
|
+
pe as Not3DSecure,
|
|
181
|
+
ue as NotCancelled,
|
|
182
|
+
Ce as NotChargebacked,
|
|
183
|
+
me as NotChargebackedAuto,
|
|
184
|
+
fe as NotNotified,
|
|
185
|
+
ve as NotPaidByOtherMeans,
|
|
186
|
+
Te as NotRecurring,
|
|
187
|
+
ge as PINTransaction,
|
|
188
|
+
Re as PastChargebackTimeLimit,
|
|
189
|
+
Ae as PayPassTransaction,
|
|
190
|
+
Pe as PaymentByOtherMeans,
|
|
191
|
+
Se as PresentmentWithinTimeLimit,
|
|
192
|
+
be as PreviousTransactionNotChargebacked,
|
|
193
|
+
Ie as ProofOfCardPresenceAndSignatureChipNoPIN,
|
|
194
|
+
Ne as ProofOfCardPresenceAndSignatureLossTheftOrDamage,
|
|
195
|
+
De as ProofOfCardPresenceAndSignatureMasterCardCorporateFleetCard,
|
|
196
|
+
ye as ProofOfCardPresenceAndSignatureNotMasterCardWorldWideNetwork,
|
|
197
|
+
Fe as ProofOfCardPresenceAndSignatureWithTerminalReceipt,
|
|
198
|
+
Me as ProofOfCardPresenceAndSignatureWithoutTerminalReceipt,
|
|
199
|
+
ke as ProvideInformation,
|
|
200
|
+
Oe as PurchaseProperlyPosted,
|
|
201
|
+
Ee as QPSTransaction,
|
|
202
|
+
We as RecurringTransactionsCompellingEvidence,
|
|
203
|
+
we as RecurringTransactionsCompellingMerchantEvidence,
|
|
204
|
+
Be as RefundNotAgreed,
|
|
205
|
+
Le as RetrievalRequestFulfilled,
|
|
206
|
+
xe as ReturnPeriodExpired,
|
|
207
|
+
qe as SaleTermsNotMisrepresented,
|
|
208
|
+
Ve as ScanningError,
|
|
209
|
+
Ge as ServicesProvided,
|
|
210
|
+
Ue as ServicesProvidedAfterCancellation,
|
|
211
|
+
ze as ShippedToAVS,
|
|
212
|
+
Je as ShippedToAVSAdditionalInformation,
|
|
213
|
+
He as SupplyDefenseDocument,
|
|
214
|
+
je as SupplyDefenseMaterial,
|
|
215
|
+
Qe as TooManyFraudulentChargebacks,
|
|
216
|
+
Xe as TransactionAuthorisedOnline,
|
|
217
|
+
Ke as TransactionNotPOS,
|
|
218
|
+
Ye as TwoDifferentTIDs,
|
|
219
|
+
Ze as TwoDifferentTIDsPOS,
|
|
220
|
+
_e as TwoPINTransactions,
|
|
221
|
+
$e as TwoPriorFraudChargebacks,
|
|
222
|
+
et as UnfoundedCardholderDispute,
|
|
223
|
+
tt as UnreasonableAmount,
|
|
224
|
+
it as default
|
|
225
|
+
};
|
|
@@ -1,28 +1,42 @@
|
|
|
1
|
-
const _ = "2-digit", A = "long", o = "numeric",
|
|
1
|
+
const _ = "2-digit", A = "long", o = "numeric", E = "short", t = "shortOffset", T = {
|
|
2
2
|
month: A,
|
|
3
3
|
day: o,
|
|
4
4
|
year: o
|
|
5
|
-
},
|
|
5
|
+
}, O = {
|
|
6
6
|
hour: _,
|
|
7
7
|
minute: _
|
|
8
|
-
},
|
|
8
|
+
}, n = {
|
|
9
9
|
...T,
|
|
10
|
-
...
|
|
11
|
-
month:
|
|
10
|
+
...O,
|
|
11
|
+
month: E,
|
|
12
12
|
hour12: !1
|
|
13
|
-
},
|
|
13
|
+
}, e = { ...n, year: void 0 }, s = { ...T, month: "short" }, R = T, S = e, D = { ...T, weekday: A }, M = { ...T, month: E }, c = n, I = e, F = {
|
|
14
14
|
...T,
|
|
15
|
-
...
|
|
15
|
+
...O,
|
|
16
16
|
weekday: A,
|
|
17
|
-
timeZoneName:
|
|
17
|
+
timeZoneName: t
|
|
18
|
+
}, m = T, r = {
|
|
19
|
+
...n,
|
|
20
|
+
hour12: !0,
|
|
21
|
+
timeZoneName: t
|
|
22
|
+
}, N = {
|
|
23
|
+
month: E,
|
|
24
|
+
weekday: A,
|
|
25
|
+
hour: _,
|
|
26
|
+
minute: o,
|
|
27
|
+
year: void 0,
|
|
28
|
+
timeZoneName: t
|
|
18
29
|
};
|
|
19
30
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
31
|
+
s as DATE_FORMAT_CAPITAL_OVERVIEW,
|
|
32
|
+
m as DATE_FORMAT_DISPUTES,
|
|
33
|
+
r as DATE_FORMAT_DISPUTE_DETAILS,
|
|
34
|
+
R as DATE_FORMAT_PAYOUTS,
|
|
35
|
+
S as DATE_FORMAT_PAYOUTS_MOBILE,
|
|
36
|
+
D as DATE_FORMAT_PAYOUT_DETAILS,
|
|
37
|
+
M as DATE_FORMAT_REPORTS,
|
|
38
|
+
N as DATE_FORMAT_RESPONSE_DEADLINE,
|
|
39
|
+
c as DATE_FORMAT_TRANSACTIONS,
|
|
40
|
+
I as DATE_FORMAT_TRANSACTIONS_MOBILE,
|
|
27
41
|
F as DATE_FORMAT_TRANSACTION_DETAILS
|
|
28
42
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { isFunction as i } from "../../../../../../utils/value/is.js";
|
|
2
|
-
const
|
|
3
|
-
transactions: (t) =>
|
|
4
|
-
transactionDetails: (t) =>
|
|
5
|
-
payouts: (t) =>
|
|
6
|
-
payoutDetails: (t) =>
|
|
7
|
-
reports: (t) =>
|
|
8
|
-
capitalOverview: (t) =>
|
|
9
|
-
capitalOffer: (t) =>
|
|
2
|
+
const e = (t, a) => i(t.endpoints[a]), s = {
|
|
3
|
+
transactions: (t) => e(t, "getTransactions"),
|
|
4
|
+
transactionDetails: (t) => e(t, "getTransaction"),
|
|
5
|
+
payouts: (t) => e(t, "getPayouts"),
|
|
6
|
+
payoutDetails: (t) => e(t, "getPayout"),
|
|
7
|
+
reports: (t) => e(t, "getReports"),
|
|
8
|
+
capitalOverview: (t) => e(t, "getDynamicGrantOffersConfiguration"),
|
|
9
|
+
capitalOffer: (t) => e(t, "getDynamicGrantOffer"),
|
|
10
|
+
disputes: (t) => e(t, "getDisputeList"),
|
|
11
|
+
disputesManagement: (t) => e(t, "getDisputeDetail")
|
|
10
12
|
};
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
s as default
|
|
13
15
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getRequestObject as h, getResponseContentType as
|
|
2
|
-
import { API_VERSION as
|
|
3
|
-
import { normalizeLoadingContext as
|
|
1
|
+
import { getRequestObject as h, getResponseContentType as p, getResponseDownloadFilename as y, getErrorType as g, isAdyenErrorResponse as R, ErrorTypes as w, handleFetchError as E } from "./utils.js";
|
|
2
|
+
import { API_VERSION as C } from "./constants.js";
|
|
3
|
+
import { normalizeLoadingContext as T, normalizeUrl as b } from "../utils.js";
|
|
4
4
|
const c = (r, o) => {
|
|
5
5
|
try {
|
|
6
6
|
r == null || r(o);
|
|
@@ -8,8 +8,8 @@ const c = (r, o) => {
|
|
|
8
8
|
throw o;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
-
async function
|
|
12
|
-
const { errorLevel: o, loadingContext: i = "", path:
|
|
11
|
+
async function I(r) {
|
|
12
|
+
const { errorLevel: o, loadingContext: i = "", path: d } = r, u = h(r), s = new URL(`${T(i)}${C}${b(d)}`);
|
|
13
13
|
return r.params && r.params.forEach((n, t) => {
|
|
14
14
|
const e = decodeURIComponent(n);
|
|
15
15
|
e && s.searchParams.append(t, e);
|
|
@@ -17,34 +17,34 @@ async function T(r) {
|
|
|
17
17
|
let n = !1;
|
|
18
18
|
const t = { level: o };
|
|
19
19
|
try {
|
|
20
|
-
const e = await fetch(s,
|
|
20
|
+
const e = await fetch(s, u);
|
|
21
21
|
if (e.ok) {
|
|
22
22
|
if (e.status === 204)
|
|
23
23
|
return null;
|
|
24
24
|
try {
|
|
25
|
-
switch (
|
|
25
|
+
switch (p(e)) {
|
|
26
26
|
case "application/json":
|
|
27
27
|
return await e.json();
|
|
28
28
|
// (!!)
|
|
29
29
|
default:
|
|
30
|
-
const
|
|
31
|
-
return { blob:
|
|
30
|
+
const f = await e.blob(), m = y(e);
|
|
31
|
+
return { blob: f, filename: m };
|
|
32
32
|
}
|
|
33
33
|
} catch (l) {
|
|
34
34
|
throw n = !0, l;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
t.type =
|
|
37
|
+
t.type = g(e.status);
|
|
38
38
|
const a = await e.json();
|
|
39
|
-
t.message = r.errorMessage || `Service at ${s} not available`, t.errorCode = String(a.status), t.requestId = a == null ? void 0 : a.requestId,
|
|
39
|
+
t.message = r.errorMessage || `Service at ${s} not available`, t.errorCode = (a == null ? void 0 : a.status) == null ? void 0 : String(a.status), t.requestId = a == null ? void 0 : a.requestId, R(a) && (t.message = a.detail, t.errorCode = a.errorCode, t.status = a.status), c(r.errorHandler, t);
|
|
40
40
|
} catch (e) {
|
|
41
41
|
if (n)
|
|
42
42
|
throw c(r.errorHandler, e), e;
|
|
43
|
-
c(r.errorHandler, e), t.message = r.errorMessage || `Call to ${s} failed. Error: ${e}`;
|
|
43
|
+
t.type || (t.type = w.NETWORK_ERROR), c(r.errorHandler, e), t.message = r.errorMessage || `Call to ${s} failed. Error: ${e}`;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
E(t);
|
|
46
46
|
})();
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
I as http
|
|
50
50
|
};
|
|
@@ -1,44 +1,56 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from "../Errors/AdyenPlatformExperienceError.js";
|
|
2
2
|
import { isNullish as i } from "../../utils/value/is.js";
|
|
3
3
|
const c = /^[^]*?filename[^;\n]*=\s*(?:UTF-\d['"]*)?(?:(['"])([^]*?)\1|([^;\n]*))?[^]*?$/;
|
|
4
|
-
var
|
|
5
|
-
const
|
|
4
|
+
var R = /* @__PURE__ */ ((e) => (e.HTTP_ERROR = "HTTP_ERROR", e.NETWORK_ERROR = "NETWORK_ERROR", e.CANCEL = "CANCEL", e.IMPLEMENTATION_ERROR = "IMPLEMENTATION_ERROR", e.ERROR = "ERROR", e.EXPIRED_TOKEN = "EXPIRED_TOKEN", e))(R || {});
|
|
5
|
+
const p = (e) => {
|
|
6
6
|
switch (e) {
|
|
7
7
|
case 401:
|
|
8
8
|
return "EXPIRED_TOKEN";
|
|
9
9
|
default:
|
|
10
|
-
return "
|
|
10
|
+
return "HTTP_ERROR";
|
|
11
11
|
}
|
|
12
|
-
},
|
|
12
|
+
}, f = (e) => {
|
|
13
13
|
var n;
|
|
14
14
|
return (n = e.headers.get("Content-Type")) == null ? void 0 : n.split(";", 1)[0];
|
|
15
|
+
}, u = (e) => {
|
|
16
|
+
const t = (e.headers.get("Content-Disposition") ?? "").replace(c, "$2$3");
|
|
17
|
+
return decodeURIComponent(t);
|
|
18
|
+
}, E = (e, n) => {
|
|
19
|
+
switch (n) {
|
|
20
|
+
case "application/json":
|
|
21
|
+
return JSON.stringify(e);
|
|
22
|
+
case "multipart/form-data":
|
|
23
|
+
return e instanceof FormData ? e : new FormData();
|
|
24
|
+
default:
|
|
25
|
+
return String(e);
|
|
26
|
+
}
|
|
15
27
|
}, O = (e) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}, f = (e) => {
|
|
19
|
-
const { headers: n = [], method: r = "GET" } = e;
|
|
28
|
+
var s;
|
|
29
|
+
const { headers: n = [], method: t = "GET" } = e, r = "1.6.1", o = ((s = e.contentType) == null ? void 0 : s.toLowerCase()) ?? "application/json";
|
|
20
30
|
return {
|
|
21
|
-
method:
|
|
31
|
+
method: t,
|
|
22
32
|
mode: "cors",
|
|
23
33
|
cache: "default",
|
|
24
34
|
credentials: "same-origin",
|
|
25
35
|
headers: {
|
|
26
36
|
Accept: "application/json, text/plain, */*",
|
|
27
|
-
"Content-Type": e.contentType ?? "application/json",
|
|
28
37
|
...n,
|
|
29
|
-
|
|
38
|
+
// Skip Content-Type header for multipart/form-data requests
|
|
39
|
+
// The browser will automatically set the content-type for such requests
|
|
40
|
+
...o && o !== "multipart/form-data" && { "Content-Type": o },
|
|
41
|
+
"SDK-Version": r
|
|
30
42
|
},
|
|
31
43
|
redirect: "follow",
|
|
32
44
|
signal: e.signal,
|
|
33
45
|
referrerPolicy: "no-referrer-when-downgrade",
|
|
34
|
-
...
|
|
46
|
+
...t === "POST" && e.body && { body: E(e.body, o) }
|
|
35
47
|
};
|
|
36
48
|
};
|
|
37
|
-
function
|
|
49
|
+
function T({
|
|
38
50
|
message: e,
|
|
39
51
|
level: n,
|
|
40
|
-
errorCode:
|
|
41
|
-
type:
|
|
52
|
+
errorCode: t,
|
|
53
|
+
type: r = "NETWORK_ERROR",
|
|
42
54
|
requestId: o
|
|
43
55
|
}) {
|
|
44
56
|
switch (n) {
|
|
@@ -50,27 +62,28 @@ function p({
|
|
|
50
62
|
break;
|
|
51
63
|
case "error":
|
|
52
64
|
default:
|
|
53
|
-
throw new
|
|
65
|
+
throw new a(r, o, e, t);
|
|
54
66
|
}
|
|
55
67
|
}
|
|
56
|
-
function
|
|
68
|
+
function m(e) {
|
|
57
69
|
return e && e.errorCode && e.type && (e.detail || e.invalidFields) && e.status;
|
|
58
70
|
}
|
|
59
|
-
function
|
|
71
|
+
function h(e) {
|
|
60
72
|
const n = new URLSearchParams();
|
|
61
|
-
for (const
|
|
62
|
-
const
|
|
63
|
-
i(
|
|
73
|
+
for (const t of Object.keys(e)) {
|
|
74
|
+
const r = e[t];
|
|
75
|
+
i(r) || (Array.isArray(r) ? r.forEach((o) => n.append(t, o)) : n.set(t, String(r)));
|
|
64
76
|
}
|
|
65
77
|
return n;
|
|
66
78
|
}
|
|
67
79
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
80
|
+
R as ErrorTypes,
|
|
81
|
+
p as getErrorType,
|
|
82
|
+
E as getRequestBodyForContentType,
|
|
83
|
+
O as getRequestObject,
|
|
84
|
+
f as getResponseContentType,
|
|
85
|
+
u as getResponseDownloadFilename,
|
|
86
|
+
T as handleFetchError,
|
|
87
|
+
m as isAdyenErrorResponse,
|
|
88
|
+
h as parseSearchParams
|
|
76
89
|
};
|