@adyen/adyen-platform-experience-web 1.0.1 → 1.0.3
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/LICENSE +21 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/components/external/BaseElement.js +12 -3
- package/dist/es/components/external/PayoutDetails/PayoutDetails.js +18 -14
- package/dist/es/components/external/PayoutDetails/components/PayoutData.js +200 -85
- package/dist/es/components/external/PayoutDetails/components/constants.js +8 -7
- package/dist/es/components/external/PayoutsOverview/PayoutsOverviewElement.js +14 -20
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.js +137 -116
- package/dist/es/components/external/PayoutsOverview/components/PayoutsOverviewContainer/PayoutsOverviewContainer.js +22 -14
- package/dist/es/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.js +92 -56
- package/dist/es/components/external/TransactionDetails/TransactionDetails.js +16 -12
- package/dist/es/components/external/TransactionDetails/components/TransactionData.js +81 -57
- package/dist/es/components/external/TransactionDetails/components/TransactionDataSkeleton.js +12 -9
- package/dist/es/components/external/TransactionsOverview/TransactionsOverviewElement.js +17 -23
- package/dist/es/components/external/TransactionsOverview/components/AmountSkeleton/AmountSkeleton.js +16 -4
- package/dist/es/components/external/TransactionsOverview/components/BalanceItem/BalanceItem.js +35 -34
- package/dist/es/components/external/TransactionsOverview/components/Balances/Balances.js +52 -26
- package/dist/es/components/external/TransactionsOverview/components/Category/Category.js +17 -4
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.js +20 -25
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/constants.js +1 -13
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/useMultiSelectionFilter.js +12 -7
- package/dist/es/components/external/TransactionsOverview/components/MultiSelectionFilter/useMultiSelectionFilter/utils.js +4 -1
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItem.js +47 -20
- package/dist/es/components/external/TransactionsOverview/components/SummaryItem/SummaryItemLabel.js +22 -13
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotalItem/TransactionTotalItem.js +23 -28
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TotalsCard.js +30 -30
- package/dist/es/components/external/TransactionsOverview/components/TransactionTotals/TransactionTotals.js +72 -41
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.js +215 -186
- package/dist/es/components/external/TransactionsOverview/components/TransactionsOverviewContainer/TransactionsOverviewContainer.js +22 -14
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.js +21 -14
- package/dist/es/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.js +116 -83
- package/dist/es/components/external/TransactionsOverview/hooks/useMaxWidths.js +4 -6
- package/dist/es/components/external/UIElement/UIElement.js +39 -24
- package/dist/es/components/hooks/useBalanceAccountSelection.js +20 -11
- package/dist/es/components/hooks/useBalanceAccounts.js +22 -19
- package/dist/es/components/hooks/useDefaultOverviewFilterParams.js +28 -16
- package/dist/es/components/hooks/useTimezoneAwareDateFormatting.js +31 -0
- package/dist/es/components/internal/Accordion/Accordion.js +58 -0
- package/dist/es/components/internal/Accordion/Accordion.scss.js +4 -0
- package/dist/es/components/internal/Accordion/constants.js +8 -0
- package/dist/es/components/internal/BaseButton/BaseButton.js +26 -12
- package/dist/es/components/internal/BaseList/BaseList.js +8 -3
- package/dist/es/components/internal/Button/Button.js +31 -18
- package/dist/es/components/internal/Button/ButtonActions/ButtonActions.js +19 -13
- package/dist/es/components/internal/Button/ButtonActions/types.js +4 -1
- package/dist/es/components/internal/Button/hooks/useButton.js +7 -10
- package/dist/es/components/internal/Calendar/Calendar.js +16 -15
- package/dist/es/components/internal/Calendar/calendar/facade/Calendar.js +301 -292
- package/dist/es/components/internal/Calendar/calendar/facade/index.js +40 -13
- package/dist/es/components/internal/Calendar/calendar/timeframe/common/flags.js +17 -18
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.js +125 -100
- package/dist/es/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.js +209 -200
- package/dist/es/components/internal/Calendar/calendar/timerange/factory.js +14 -9
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/lastNDays.js +23 -19
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.js +23 -14
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.js +26 -22
- package/dist/es/components/internal/Calendar/calendar/timerange/presets/yearToDate.js +11 -10
- package/dist/es/components/internal/Calendar/calendar/timerange/utils.js +39 -41
- package/dist/es/components/internal/Calendar/calendar/timeslice/TimeSlice.js +10 -10
- package/dist/es/components/internal/Calendar/calendar/timeslice/index.js +26 -17
- package/dist/es/components/internal/Calendar/calendar/utils.js +64 -16
- package/dist/es/components/internal/Calendar/components/CalendarControls/CalendarControls.js +11 -3
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGrid.js +46 -19
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDate.js +57 -39
- package/dist/es/components/internal/Calendar/components/CalendarGrid/CalendarGridDayOfWeek.js +44 -26
- package/dist/es/components/internal/Calendar/components/CalendarGrid/utils.js +26 -12
- package/dist/es/components/internal/Calendar/hooks/useCalendar.js +82 -72
- package/dist/es/components/internal/Calendar/hooks/useCalendarControlsRendering.js +33 -38
- package/dist/es/components/internal/Calendar/hooks/useTimezone.js +25 -9
- package/dist/es/components/internal/Card/Card.js +28 -17
- package/dist/es/components/internal/CopyText/CopyText.js +15 -11
- package/dist/es/components/internal/DataGrid/DataGrid.js +104 -68
- package/dist/es/components/internal/DataGrid/DataGridCell.js +24 -23
- package/dist/es/components/internal/DataGrid/components/InteractiveBody.js +20 -12
- package/dist/es/components/internal/DataGrid/components/SkeletonBody.js +24 -14
- package/dist/es/components/internal/DataGrid/components/TableBody.js +14 -9
- package/dist/es/components/internal/DataGrid/components/TableCells.js +31 -10
- package/dist/es/components/internal/DataGrid/components/TableHeaderCell.js +23 -16
- package/dist/es/components/internal/DataGrid/hooks/useInteractiveDataGrid.js +75 -68
- package/dist/es/components/internal/DataGrid/utils/DataGridProvider.js +23 -18
- package/dist/es/components/internal/DataOverviewContainer/DataOverviewContainer.js +15 -15
- package/dist/es/components/internal/DataOverviewDetails/DataOverviewDetails.js +80 -39
- package/dist/es/components/internal/DataOverviewDisplay/DataDetailsModal.js +19 -18
- package/dist/es/components/internal/DataOverviewDisplay/constants.js +20 -1
- package/dist/es/components/internal/DataOverviewError/DataOverviewError.js +13 -16
- package/dist/es/components/internal/DatePicker/DatePicker.js +52 -33
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.js +24 -15
- package/dist/es/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.js +25 -29
- package/dist/es/components/internal/ErrorMessageDisplay/ErrorMessageDisplay.js +48 -27
- package/dist/es/components/internal/ExpandableCard/ExpandableCard.js +59 -34
- package/dist/es/components/internal/FilterBar/FilterBar.js +29 -28
- package/dist/es/components/internal/FilterBar/components/FilterButton/FilterButton.js +26 -5
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/AmountFilter.js +54 -49
- package/dist/es/components/internal/FilterBar/filters/AmountFilter/RangeSelection.js +64 -55
- package/dist/es/components/internal/FilterBar/filters/BaseFilter/BaseFilter.js +83 -90
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilter.js +40 -44
- package/dist/es/components/internal/FilterBar/filters/DateFilter/DateFilterCore.js +123 -103
- package/dist/es/components/internal/FormFields/InputBase.js +63 -54
- package/dist/es/components/internal/FormFields/InputText.js +11 -5
- package/dist/es/components/internal/FormFields/Select/BalanceAccountSelector/BalanceAccountSelector.js +30 -33
- package/dist/es/components/internal/FormFields/Select/Select.js +142 -149
- package/dist/es/components/internal/FormFields/Select/components/SelectButton.js +81 -61
- package/dist/es/components/internal/FormFields/Select/components/SelectList.js +59 -54
- package/dist/es/components/internal/FormFields/Select/components/SelectListItem.js +51 -31
- package/dist/es/components/internal/FormFields/Select/hooks/useSelect.js +27 -28
- package/dist/es/components/internal/Image/Image.js +21 -8
- package/dist/es/components/internal/Img/Img.js +25 -9
- package/dist/es/components/internal/Modal/Modal.js +61 -81
- package/dist/es/components/internal/Modal/ModalContent/ModalContent.js +23 -4
- package/dist/es/components/internal/Pagination/Pagination.js +58 -51
- package/dist/es/components/internal/Pagination/hooks/useCursorPagination.js +11 -4
- package/dist/es/components/internal/Pagination/hooks/useOffsetPagination.js +12 -5
- package/dist/es/components/internal/Pagination/hooks/usePageLimit.js +30 -27
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecords.js +104 -67
- package/dist/es/components/internal/Pagination/hooks/usePaginatedRecordsFilters.js +7 -1
- package/dist/es/components/internal/Pagination/hooks/usePagination.js +34 -13
- package/dist/es/components/internal/Popover/Popover.js +118 -128
- package/dist/es/components/internal/Popover/PopoverDismissButton/PopoverDismissButton.js +27 -20
- package/dist/es/components/internal/Popover/PopoverTitle/PopoverTitle.js +13 -6
- package/dist/es/components/internal/Popover/utils/popoverUtil.js +15 -7
- package/dist/es/components/internal/Popover/utils/utils.js +9 -8
- package/dist/es/components/internal/SVGIcons/CheckedBox.js +18 -10
- package/dist/es/components/internal/SVGIcons/Checkmark.js +20 -12
- package/dist/es/components/internal/SVGIcons/ChevronDown.js +20 -12
- package/dist/es/components/internal/SVGIcons/ChevronLeft.js +18 -10
- package/dist/es/components/internal/SVGIcons/ChevronRight.js +18 -10
- package/dist/es/components/internal/SVGIcons/ChevronUp.js +20 -12
- package/dist/es/components/internal/SVGIcons/Close.js +11 -5
- package/dist/es/components/internal/SVGIcons/Copy.js +13 -1
- package/dist/es/components/internal/SVGIcons/Filter.js +12 -5
- package/dist/es/components/internal/SVGIcons/UncheckedBox.js +18 -4
- package/dist/es/components/internal/Spinner/Spinner.js +14 -0
- package/dist/es/components/internal/Spinner/Spinner.scss.js +4 -0
- package/dist/es/components/internal/StructuredList/StructuredList.js +24 -19
- package/dist/es/components/internal/StructuredList/useStructuredListItem.js +14 -15
- package/dist/es/components/internal/Tag/Tag.js +16 -16
- package/dist/es/components/internal/Tooltip/Tooltip.js +35 -18
- package/dist/es/components/internal/Tooltip/useTooltipListeners.js +7 -10
- package/dist/es/components/internal/Typography/Typography.js +38 -28
- package/dist/es/components/utils/getCommonErrorCode.js +4 -1
- package/dist/es/components/utils/getErrorMessage.js +7 -5
- package/dist/es/core/Auth/context.js +14 -8
- package/dist/es/core/Auth/session/AuthSession.js +53 -73
- package/dist/es/core/Auth/session/AuthSessionSpecification.js +54 -39
- package/dist/es/core/Auth/session/AuthSetupContext.js +67 -43
- package/dist/es/core/Auth/session/constants.js +8 -11
- package/dist/es/core/Context/CoreProvider.js +21 -11
- package/dist/es/core/Http/http.js +43 -33
- package/dist/es/core/Http/utils.js +18 -12
- package/dist/es/core/Localization/Localization.js +98 -82
- package/dist/es/core/Localization/constants/localization.js +5 -1
- package/dist/es/core/Localization/datetime/restamper/constants.js +12 -2
- package/dist/es/core/Localization/datetime/restamper/restamper.js +18 -5
- package/dist/es/core/Localization/datetime/restamper/utils.js +28 -25
- package/dist/es/core/Localization/localization-utils.js +30 -18
- package/dist/es/core/Localization/utils.js +6 -1
- package/dist/es/core/core.js +26 -17
- package/dist/es/hooks/element/useClickOutside.js +29 -35
- package/dist/es/hooks/element/useDetachedRender.js +7 -10
- package/dist/es/hooks/element/useFocusCursor.js +10 -18
- package/dist/es/hooks/element/useFocusTrap.js +3 -6
- package/dist/es/hooks/element/usePopoverPositioner.js +43 -65
- package/dist/es/hooks/element/useUniqueIdentifier.js +3 -9
- package/dist/es/hooks/useCommitAction/useCommitAction.js +25 -19
- package/dist/es/hooks/useFetch/useFetch.js +29 -7
- package/dist/es/hooks/useImageUrl/useImageUrl.js +12 -10
- package/dist/es/hooks/useModalDetails/useModalDetails.js +15 -15
- package/dist/es/hooks/useReactiveState/useReactiveState.js +21 -9
- package/dist/es/index.js +1 -1
- package/dist/es/primitives/async/abortable/main.js +19 -16
- package/dist/es/primitives/async/promisor/main.js +13 -12
- package/dist/es/primitives/auxiliary/indexed/main.js +18 -22
- package/dist/es/primitives/context/session/SessionContext.js +41 -129
- package/dist/es/primitives/context/session/constants.js +9 -6
- package/dist/es/primitives/context/session/internal/autofresher.js +34 -0
- package/dist/es/primitives/context/session/internal/constants.js +7 -0
- package/dist/es/primitives/context/session/internal/deadline.js +62 -0
- package/dist/es/primitives/context/session/internal/refresher.js +66 -0
- package/dist/es/primitives/dom/tabbableRoot/tabbable.js +3 -1
- package/dist/es/primitives/reactive/eventEmitter/main.js +11 -19
- package/dist/es/primitives/reactive/reflex/main.js +33 -19
- package/dist/es/primitives/reactive/reflex/register.js +9 -3
- package/dist/es/primitives/reactive/watchlist/helpers.js +12 -8
- package/dist/es/primitives/reactive/watchlist/main.js +4 -5
- package/dist/es/primitives/time/clock/main.js +6 -1
- package/dist/es/primitives/time/interval/main.js +1 -1
- package/dist/es/primitives/time/today/main.js +41 -39
- package/dist/es/translations/da-DK.json.js +48 -42
- package/dist/es/translations/de-DE.json.js +100 -94
- package/dist/es/translations/es-ES.json.js +48 -42
- package/dist/es/translations/fr-FR.json.js +35 -29
- package/dist/es/translations/index.js +21 -1
- package/dist/es/translations/it-IT.json.js +27 -21
- package/dist/es/translations/nl-NL.json.js +35 -29
- package/dist/es/translations/no-NO.json.js +58 -52
- package/dist/es/translations/pt-BR.json.js +27 -21
- package/dist/es/translations/sv-SE.json.js +53 -47
- package/dist/es/utils/abort/constants.js +5 -0
- package/dist/es/utils/abort/internals.js +29 -0
- package/dist/es/utils/abort/main.js +51 -0
- package/dist/es/utils/preact/memoComparator/main.js +3 -1
- package/dist/es/utils/struct/main.js +5 -1
- package/dist/style.css +1 -1
- package/dist/types/components/external/PayoutDetails/PayoutDetails.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts +40 -3
- package/dist/types/components/external/PayoutDetails/components/PayoutData.d.ts.map +1 -1
- package/dist/types/components/external/PayoutDetails/components/constants.d.ts +1 -0
- package/dist/types/components/external/PayoutDetails/components/constants.d.ts.map +1 -1
- package/dist/types/components/external/PayoutsOverview/PayoutsOverviewElement.d.ts.map +1 -1
- package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts +1 -1
- package/dist/types/components/external/PayoutsOverview/components/PayoutsOverview/PayoutsOverview.d.ts.map +1 -1
- package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts +1 -2
- package/dist/types/components/external/PayoutsOverview/components/PayoutsTable/PayoutsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts +2 -2
- package/dist/types/components/external/TransactionDetails/TransactionDetails.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionData.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts +2 -2
- package/dist/types/components/external/TransactionDetails/components/TransactionDataSkeleton.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/index.d.ts +1 -1
- package/dist/types/components/external/TransactionDetails/index.d.ts.map +1 -1
- package/dist/types/components/external/TransactionDetails/types.d.ts +2 -5
- package/dist/types/components/external/TransactionDetails/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/TransactionsOverviewElement.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts +5 -1
- package/dist/types/components/external/TransactionsOverview/components/MultiSelectionFilter/MultiSelectionFilter.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsOverview/TransactionsOverview.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/PaymentMethodCell.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/TransactionsTable.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts +1 -1
- package/dist/types/components/external/TransactionsOverview/components/TransactionsTable/types.d.ts.map +1 -1
- package/dist/types/components/external/TransactionsOverview/hooks/useMaxWidths.d.ts.map +1 -1
- package/dist/types/components/external/UIElement/UIElement.d.ts.map +1 -1
- package/dist/types/components/hooks/useBalanceAccounts.d.ts +1 -1
- package/dist/types/components/hooks/useBalanceAccounts.d.ts.map +1 -1
- package/dist/types/components/hooks/useDefaultOverviewFilterParams.d.ts +2 -1
- package/dist/types/components/hooks/useDefaultOverviewFilterParams.d.ts.map +1 -1
- package/dist/types/components/hooks/useTimezoneAwareDateFormatting.d.ts +6 -0
- package/dist/types/components/hooks/useTimezoneAwareDateFormatting.d.ts.map +1 -0
- package/dist/types/components/internal/Accordion/Accordion.d.ts +6 -0
- package/dist/types/components/internal/Accordion/Accordion.d.ts.map +1 -0
- package/dist/types/components/internal/Accordion/constants.d.ts +6 -0
- package/dist/types/components/internal/Accordion/constants.d.ts.map +1 -0
- package/dist/types/components/internal/Accordion/types.d.ts +7 -0
- package/dist/types/components/internal/Accordion/types.d.ts.map +1 -0
- package/dist/types/components/internal/Calendar/calendar/facade/Calendar.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/common/utils.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/MonthFrame.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts +3 -3
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/TimeFrame.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/YearFrame.d.ts +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeframe/frames/YearFrame.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/lastNDays.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/shared/offsetMonth.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/shared/offsetWeek.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/presets/yearToDate.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts +1 -6
- package/dist/types/components/internal/Calendar/calendar/timerange/utils.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeslice/TimeSlice.d.ts +2 -2
- package/dist/types/components/internal/Calendar/calendar/timeslice/TimeSlice.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/timeslice/index.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/types.d.ts +6 -1
- package/dist/types/components/internal/Calendar/calendar/types.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/calendar/utils.d.ts +13 -4
- package/dist/types/components/internal/Calendar/calendar/utils.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts +1 -1
- package/dist/types/components/internal/Calendar/hooks/useCalendar.d.ts.map +1 -1
- package/dist/types/components/internal/Calendar/types.d.ts +1 -0
- package/dist/types/components/internal/Calendar/types.d.ts.map +1 -1
- package/dist/types/components/internal/CopyText/CopyText.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/InteractiveBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/SkeletonBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/TableBody.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/TableCells.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/components/TableHeaderCell.d.ts +1 -1
- package/dist/types/components/internal/DataGrid/components/TableHeaderCell.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/hooks/useInteractiveDataGrid.d.ts.map +1 -1
- package/dist/types/components/internal/DataGrid/utils/DataGridProvider.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDetails/DataOverviewDetails.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDetails/types.d.ts +3 -6
- package/dist/types/components/internal/DataOverviewDetails/types.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts +4 -1
- package/dist/types/components/internal/DataOverviewDisplay/constants.d.ts.map +1 -1
- package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts +1 -1
- package/dist/types/components/internal/DataOverviewError/DataOverviewError.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/TimeRangeSelector.d.ts.map +1 -1
- package/dist/types/components/internal/DatePicker/components/TimeRangeSelector/useTimeRangeSelection.d.ts +2 -2
- package/dist/types/components/internal/FilterBar/filters/AmountFilter/RangeSelection.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilter.d.ts +7 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilter.d.ts.map +1 -1
- package/dist/types/components/internal/FilterBar/filters/DateFilter/DateFilterCore.d.ts.map +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.map +1 -1
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts +12 -3
- package/dist/types/components/internal/FormFields/Select/components/SelectListItem.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/hooks/useSelect.d.ts.map +1 -1
- package/dist/types/components/internal/FormFields/index.d.ts.map +1 -1
- package/dist/types/components/internal/Modal/Modal.d.ts +1 -1
- package/dist/types/components/internal/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts +0 -1
- package/dist/types/components/internal/Pagination/hooks/types.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/useCursorPaginatedRecords.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/useOffsetPaginatedRecords.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/useOffsetPagination.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecords.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePaginatedRecordsFilters.d.ts.map +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts +1 -1
- package/dist/types/components/internal/Pagination/hooks/usePagination.d.ts.map +1 -1
- package/dist/types/components/internal/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/internal/Spinner/Spinner.d.ts +18 -0
- package/dist/types/components/internal/Spinner/Spinner.d.ts.map +1 -0
- package/dist/types/components/internal/Spinner/index.d.ts +2 -0
- package/dist/types/components/internal/Spinner/index.d.ts.map +1 -0
- package/dist/types/components/internal/StructuredList/types.d.ts +3 -2
- package/dist/types/components/internal/StructuredList/types.d.ts.map +1 -1
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts +9 -133
- package/dist/types/components/internal/StructuredList/useStructuredListItem.d.ts.map +1 -1
- package/dist/types/components/internal/Tooltip/useTooltipListeners.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +7 -15
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/components/utils/getLabel.d.ts +1 -1
- package/dist/types/core/Auth/context.d.ts +56 -42
- package/dist/types/core/Auth/context.d.ts.map +1 -1
- package/dist/types/core/Auth/session/AuthSession.d.ts +62 -53
- package/dist/types/core/Auth/session/AuthSession.d.ts.map +1 -1
- package/dist/types/core/Auth/session/AuthSessionSpecification.d.ts +7 -4
- package/dist/types/core/Auth/session/AuthSessionSpecification.d.ts.map +1 -1
- package/dist/types/core/Auth/session/AuthSetupContext.d.ts +58 -43
- package/dist/types/core/Auth/session/AuthSetupContext.d.ts.map +1 -1
- package/dist/types/core/Auth/session/constants.d.ts +0 -3
- package/dist/types/core/Auth/session/constants.d.ts.map +1 -1
- package/dist/types/core/Auth/types.d.ts +6 -6
- package/dist/types/core/Auth/types.d.ts.map +1 -1
- package/dist/types/core/Context/CoreProvider.d.ts +1 -1
- package/dist/types/core/Context/CoreProvider.d.ts.map +1 -1
- package/dist/types/core/Context/types.d.ts +2 -0
- package/dist/types/core/Context/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.map +1 -1
- package/dist/types/core/Localization/Localization.d.ts.map +1 -1
- package/dist/types/core/Localization/datetime/restamper/utils.d.ts.map +1 -1
- package/dist/types/core/Localization/localization-utils.d.ts.map +1 -1
- package/dist/types/core/Localization/utils.d.ts +4 -4
- package/dist/types/core/Localization/utils.d.ts.map +1 -1
- package/dist/types/core/core.d.ts +3 -2
- package/dist/types/core/core.d.ts.map +1 -1
- package/dist/types/core/types.d.ts +4 -6
- package/dist/types/core/types.d.ts.map +1 -1
- package/dist/types/hooks/element/useClickOutside.d.ts +2 -1
- package/dist/types/hooks/element/useClickOutside.d.ts.map +1 -1
- package/dist/types/hooks/element/useDetachedRender.d.ts.map +1 -1
- package/dist/types/hooks/element/useFocusTrap.d.ts.map +1 -1
- package/dist/types/hooks/useImageUrl/useImageUrl.d.ts.map +1 -1
- package/dist/types/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -1
- package/dist/types/hooks/useModalDetails/useModalDetails.d.ts.map +1 -1
- package/dist/types/hooks/useMounted/useMounted.d.ts +1 -1
- package/dist/types/hooks/useMounted/useMounted.d.ts.map +1 -1
- package/dist/types/hooks/useReactiveState/useReactiveState.d.ts.map +1 -1
- package/dist/types/hooks/useReflex/useReflex.d.ts.map +1 -1
- package/dist/types/primitives/async/abortable/main.d.ts +1 -1
- package/dist/types/primitives/async/abortable/main.d.ts.map +1 -1
- package/dist/types/primitives/async/promisor/main.d.ts.map +1 -1
- package/dist/types/primitives/auxiliary/indexed/helpers.d.ts.map +1 -1
- package/dist/types/primitives/auxiliary/indexed/main.d.ts.map +1 -1
- package/dist/types/primitives/context/session/SessionContext.d.ts +6 -27
- package/dist/types/primitives/context/session/SessionContext.d.ts.map +1 -1
- package/dist/types/primitives/context/session/constants.d.ts +6 -3
- package/dist/types/primitives/context/session/constants.d.ts.map +1 -1
- package/dist/types/primitives/context/session/internal/autofresher.d.ts +7 -0
- package/dist/types/primitives/context/session/internal/autofresher.d.ts.map +1 -0
- package/dist/types/primitives/context/session/internal/constants.d.ts +5 -0
- package/dist/types/primitives/context/session/internal/constants.d.ts.map +1 -0
- package/dist/types/primitives/context/session/internal/deadline.d.ts +6 -0
- package/dist/types/primitives/context/session/internal/deadline.d.ts.map +1 -0
- package/dist/types/primitives/context/session/internal/refresher.d.ts +6 -0
- package/dist/types/primitives/context/session/internal/refresher.d.ts.map +1 -0
- package/dist/types/primitives/context/session/internal/types.d.ts +27 -0
- package/dist/types/primitives/context/session/internal/types.d.ts.map +1 -0
- package/dist/types/primitives/context/session/types.d.ts +8 -4
- package/dist/types/primitives/context/session/types.d.ts.map +1 -1
- package/dist/types/primitives/reactive/effectStack/main.d.ts.map +1 -1
- package/dist/types/primitives/reactive/reflex/helpers.d.ts.map +1 -1
- package/dist/types/primitives/reactive/reflex/main.d.ts.map +1 -1
- package/dist/types/primitives/reactive/watchlist/helpers.d.ts.map +1 -1
- package/dist/types/primitives/reactive/watchlist/main.d.ts +1 -1
- package/dist/types/primitives/reactive/watchlist/main.d.ts.map +1 -1
- package/dist/types/primitives/time/interval/main.d.ts.map +1 -1
- package/dist/types/primitives/time/today/main.d.ts.map +1 -1
- package/dist/types/translations/index.d.ts +108 -0
- package/dist/types/translations/index.d.ts.map +1 -1
- package/dist/types/types/api/endpoints.d.ts +18 -2
- package/dist/types/types/api/endpoints.d.ts.map +1 -1
- package/dist/types/types/api/models/index.d.ts +1 -0
- package/dist/types/types/api/models/index.d.ts.map +1 -1
- package/dist/types/types/api/models/reports.d.ts +4 -0
- package/dist/types/types/api/models/reports.d.ts.map +1 -0
- package/dist/types/types/api/resources/BalanceAccountsResource.d.ts +8 -8
- package/dist/types/types/api/resources/BalanceAccountsResource.d.ts.map +1 -1
- package/dist/types/types/api/resources/PayoutsResource.d.ts +19 -19
- package/dist/types/types/api/resources/PayoutsResource.d.ts.map +1 -1
- package/dist/types/types/api/resources/ReportsResource.d.ts +92 -0
- package/dist/types/types/api/resources/ReportsResource.d.ts.map +1 -0
- package/dist/types/types/api/resources/SetupResource.d.ts +1 -1
- package/dist/types/types/api/resources/SetupResource.d.ts.map +1 -1
- package/dist/types/types/api/resources/TransactionsResource.d.ts +25 -25
- package/dist/types/types/api/resources/TransactionsResource.d.ts.map +1 -1
- package/dist/types/utils/abort/constants.d.ts +5 -0
- package/dist/types/utils/abort/constants.d.ts.map +1 -0
- package/dist/types/utils/abort/internals.d.ts +4 -0
- package/dist/types/utils/abort/internals.d.ts.map +1 -0
- package/dist/types/utils/abort/main.d.ts +9 -0
- package/dist/types/utils/abort/main.d.ts.map +1 -0
- package/dist/types/utils/async/main.d.ts.map +1 -1
- package/dist/types/utils/collection/main.d.ts +1 -1
- package/dist/types/utils/collection/main.d.ts.map +1 -1
- package/dist/types/utils/common.d.ts +2 -2
- package/dist/types/utils/common.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/preact/fixedForwardRef.d.ts +3 -3
- package/dist/types/utils/preact/fixedForwardRef.d.ts.map +1 -1
- package/dist/types/utils/struct/main.d.ts +1 -1
- package/dist/types/utils/struct/main.d.ts.map +1 -1
- package/dist/types/utils/struct/property.d.ts.map +1 -1
- package/dist/types/utils/value/is.d.ts +2 -2
- package/dist/types/utils/value/is.d.ts.map +1 -1
- package/dist/types/utils/value/number.d.ts.map +1 -1
- package/package.json +159 -106
- package/dist/es/primitives/auxiliary/abortSink/main.js +0 -42
- package/dist/types/core/Analytics/types.d.ts +0 -28
- package/dist/types/core/Analytics/types.d.ts.map +0 -1
- package/dist/types/primitives/auxiliary/abortSink/index.d.ts +0 -3
- package/dist/types/primitives/auxiliary/abortSink/index.d.ts.map +0 -1
- package/dist/types/primitives/auxiliary/abortSink/main.d.ts +0 -5
- package/dist/types/primitives/auxiliary/abortSink/main.d.ts.map +0 -1
- package/dist/types/primitives/auxiliary/abortSink/types.d.ts +0 -7
- package/dist/types/primitives/auxiliary/abortSink/types.d.ts.map +0 -1
- package/dist/types/types/api/resources/PaymentInstrumentsResource.d.ts +0 -70
- package/dist/types/types/api/resources/PaymentInstrumentsResource.d.ts.map +0 -1
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
|
|
6
|
+
'/v1/balanceAccounts': {
|
|
7
7
|
/**
|
|
8
8
|
* Get all balance accounts of an account holder
|
|
9
9
|
* @description Provides list of balance accounts to select
|
|
10
10
|
*/
|
|
11
|
-
get: operations[
|
|
11
|
+
get: operations['getBalanceAccounts'];
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
'/v1/balanceAccounts/{balanceAccountId}/balances': {
|
|
14
14
|
/**
|
|
15
15
|
* Get all balances of a balance account
|
|
16
16
|
* @description Provides balances of a balance account in different currencies
|
|
17
17
|
*/
|
|
18
|
-
get: operations[
|
|
18
|
+
get: operations['getBalances'];
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export type webhooks = Record<string, never>;
|
|
@@ -41,7 +41,7 @@ export interface components {
|
|
|
41
41
|
};
|
|
42
42
|
BalanceAccountsResponse: {
|
|
43
43
|
/** @description List of balance accounts */
|
|
44
|
-
data: components[
|
|
44
|
+
data: components['schemas']['BalanceAccountBase'][];
|
|
45
45
|
};
|
|
46
46
|
/** @description Collection of balances per balance account */
|
|
47
47
|
Balance: {
|
|
@@ -55,7 +55,7 @@ export interface components {
|
|
|
55
55
|
};
|
|
56
56
|
BalancesResponse: {
|
|
57
57
|
/** @description Collection of balances per balance account */
|
|
58
|
-
data: components[
|
|
58
|
+
data: components['schemas']['Balance'][];
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
responses: never;
|
|
@@ -76,7 +76,7 @@ export interface operations {
|
|
|
76
76
|
/** @description OK - the request has succeeded. */
|
|
77
77
|
200: {
|
|
78
78
|
content: {
|
|
79
|
-
|
|
79
|
+
'application/json': components['schemas']['BalanceAccountsResponse'];
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
82
|
};
|
|
@@ -95,7 +95,7 @@ export interface operations {
|
|
|
95
95
|
/** @description OK - the request has succeeded. */
|
|
96
96
|
200: {
|
|
97
97
|
content: {
|
|
98
|
-
|
|
98
|
+
'application/json': components['schemas']['BalancesResponse'];
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalanceAccountsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/BalanceAccountsResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"BalanceAccountsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/BalanceAccountsResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,KAAK;IAClB,qBAAqB,EAAE;QACnB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;;;OAGG;IACH,kBAAkB,EAAE;QAChB,SAAS,EAAE;YACP,mDAAmD;YACnD,GAAG,EAAE;gBACD,OAAO,EAAE;oBACL,kBAAkB,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,yBAAyB,CAAC,CAAC;iBACxE,CAAC;aACL,CAAC;SACL,CAAC;KACL,CAAC;IACF;;;OAGG;IACH,WAAW,EAAE;QACT,UAAU,EAAE;YACR,IAAI,EAAE;gBACF,gBAAgB,EAAE,MAAM,CAAC;aAC5B,CAAC;SACL,CAAC;QACF,SAAS,EAAE;YACP,mDAAmD;YACnD,GAAG,EAAE;gBACD,OAAO,EAAE;oBACL,kBAAkB,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;iBACjE,CAAC;aACL,CAAC;SACL,CAAC;KACL,CAAC;CACL"}
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
|
|
6
|
+
'/v1/payouts/breakdown': {
|
|
7
7
|
/**
|
|
8
8
|
* Get payout details
|
|
9
9
|
* @description Given a payout ID, it retrieves its details
|
|
10
10
|
*/
|
|
11
|
-
get: operations[
|
|
11
|
+
get: operations['getPayout'];
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
'/v1/payouts': {
|
|
14
14
|
/**
|
|
15
15
|
* Get payouts
|
|
16
16
|
* @description Given filters, provides list of payouts for a balance account
|
|
17
17
|
*/
|
|
18
|
-
get: operations[
|
|
18
|
+
get: operations['getPayouts'];
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export type webhooks = Record<string, never>;
|
|
@@ -32,28 +32,28 @@ export interface components {
|
|
|
32
32
|
value: number;
|
|
33
33
|
};
|
|
34
34
|
AmountBreakdowns: {
|
|
35
|
-
adjustmentBreakdown?: components[
|
|
36
|
-
fundsCapturedBreakdown?: components[
|
|
35
|
+
adjustmentBreakdown?: components['schemas']['AmountGroupedDTO'][];
|
|
36
|
+
fundsCapturedBreakdown?: components['schemas']['AmountGroupedDTO'][];
|
|
37
37
|
};
|
|
38
38
|
AmountGroupedDTO: {
|
|
39
|
-
amount?: components[
|
|
39
|
+
amount?: components['schemas']['Amount'];
|
|
40
40
|
category?: string;
|
|
41
41
|
};
|
|
42
42
|
/** @description Payouts made within the filters provided for given balanceAccountId */
|
|
43
43
|
PayoutDTO: {
|
|
44
|
-
adjustmentAmount: components[
|
|
44
|
+
adjustmentAmount: components['schemas']['Amount'];
|
|
45
45
|
/**
|
|
46
46
|
* Format: date-time
|
|
47
47
|
* @description Date created
|
|
48
48
|
*/
|
|
49
49
|
createdAt: string;
|
|
50
|
-
fundsCapturedAmount: components[
|
|
51
|
-
payoutAmount: components[
|
|
52
|
-
unpaidAmount: components[
|
|
50
|
+
fundsCapturedAmount: components['schemas']['Amount'];
|
|
51
|
+
payoutAmount: components['schemas']['Amount'];
|
|
52
|
+
unpaidAmount: components['schemas']['Amount'];
|
|
53
53
|
};
|
|
54
54
|
PayoutResponseDTO: {
|
|
55
|
-
amountBreakdowns?: components[
|
|
56
|
-
payout?: components[
|
|
55
|
+
amountBreakdowns?: components['schemas']['AmountBreakdowns'];
|
|
56
|
+
payout?: components['schemas']['PayoutDTO'];
|
|
57
57
|
};
|
|
58
58
|
/** @description Link to a different page */
|
|
59
59
|
Link: {
|
|
@@ -62,13 +62,13 @@ export interface components {
|
|
|
62
62
|
};
|
|
63
63
|
/** @description Links */
|
|
64
64
|
Links: {
|
|
65
|
-
next: components[
|
|
66
|
-
prev: components[
|
|
65
|
+
next: components['schemas']['Link'];
|
|
66
|
+
prev: components['schemas']['Link'];
|
|
67
67
|
};
|
|
68
68
|
PayoutsResponseDTO: {
|
|
69
|
-
_links: components[
|
|
69
|
+
_links: components['schemas']['Links'];
|
|
70
70
|
/** @description Payouts made within the filters provided for given balanceAccountId */
|
|
71
|
-
data: components[
|
|
71
|
+
data: components['schemas']['PayoutDTO'][];
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
74
|
responses: never;
|
|
@@ -95,7 +95,7 @@ export interface operations {
|
|
|
95
95
|
/** @description OK - the request has succeeded. */
|
|
96
96
|
200: {
|
|
97
97
|
content: {
|
|
98
|
-
|
|
98
|
+
'application/json': components['schemas']['PayoutResponseDTO'];
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
};
|
|
@@ -118,7 +118,7 @@ export interface operations {
|
|
|
118
118
|
/** @description OK - the request has succeeded. */
|
|
119
119
|
200: {
|
|
120
120
|
content: {
|
|
121
|
-
|
|
121
|
+
'application/json': components['schemas']['PayoutsResponseDTO'];
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PayoutsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/PayoutsResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"PayoutsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/PayoutsResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,KAAK;IAClB,uBAAuB,EAAE;QACrB;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;KAChC,CAAC;IACF,aAAa,EAAE;QACX;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;KACjC,CAAC;CACL;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,UAAU;IACvB,OAAO,EAAE;QACL,iCAAiC;QACjC,MAAM,EAAE;YACJ,yHAAyH;YACzH,QAAQ,EAAE,MAAM,CAAC;YACjB;;;eAGG;YACH,KAAK,EAAE,MAAM,CAAC;SACjB,CAAC;QACF,gBAAgB,EAAE;YACd,mBAAmB,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,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**
|
|
4
|
+
* Get reports
|
|
5
|
+
* @description Given filters, provides list of reports for a balance account
|
|
6
|
+
*/
|
|
7
|
+
get: operations["getReports"];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export type webhooks = Record<string, never>;
|
|
11
|
+
export interface components {
|
|
12
|
+
schemas: {
|
|
13
|
+
/** @description Reports made within the filters provided for given balanceAccountId */
|
|
14
|
+
ReportsDTO: {
|
|
15
|
+
/**
|
|
16
|
+
* Format: date-time
|
|
17
|
+
* @description Date created
|
|
18
|
+
*/
|
|
19
|
+
createdAt: string;
|
|
20
|
+
/**
|
|
21
|
+
* Format: string
|
|
22
|
+
* @description Name of the report
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
};
|
|
26
|
+
/** @description Link to a different page */
|
|
27
|
+
Link: {
|
|
28
|
+
/** @description Cursor for a different page */
|
|
29
|
+
cursor: string;
|
|
30
|
+
};
|
|
31
|
+
/** @description Links */
|
|
32
|
+
Links: {
|
|
33
|
+
next: components["schemas"]["Link"];
|
|
34
|
+
prev: components["schemas"]["Link"];
|
|
35
|
+
};
|
|
36
|
+
ReportsResponseDTO: {
|
|
37
|
+
_links: components["schemas"]["Links"];
|
|
38
|
+
/** @description Reports made within the filters provided for given balanceAccountId */
|
|
39
|
+
data: components["schemas"]["ReportsDTO"][];
|
|
40
|
+
};
|
|
41
|
+
DownloadReportResponseDTO: Uint8Array;
|
|
42
|
+
};
|
|
43
|
+
responses: never;
|
|
44
|
+
parameters: never;
|
|
45
|
+
requestBodies: never;
|
|
46
|
+
headers: never;
|
|
47
|
+
pathItems: never;
|
|
48
|
+
}
|
|
49
|
+
export type $defs = Record<string, never>;
|
|
50
|
+
export type external = Record<string, never>;
|
|
51
|
+
export interface operations {
|
|
52
|
+
/**
|
|
53
|
+
* Get reports
|
|
54
|
+
* @description Given filters, provides list of reports for a balance account
|
|
55
|
+
*/
|
|
56
|
+
getReports: {
|
|
57
|
+
parameters: {
|
|
58
|
+
query: {
|
|
59
|
+
balanceAccountId: string;
|
|
60
|
+
createdSince?: string;
|
|
61
|
+
createdUntil?: string;
|
|
62
|
+
cursor?: string;
|
|
63
|
+
limit?: number;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
responses: {
|
|
67
|
+
/** @description OK - the request has succeeded. */
|
|
68
|
+
200: {
|
|
69
|
+
content: {
|
|
70
|
+
"application/json": components["schemas"]["ReportsResponseDTO"];
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
downloadReport: {
|
|
76
|
+
parameters: {
|
|
77
|
+
query: {
|
|
78
|
+
balanceAccountId: string;
|
|
79
|
+
createdAt?: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
responses: {
|
|
83
|
+
/** @description OK - the request has succeeded. */
|
|
84
|
+
200: {
|
|
85
|
+
content: {
|
|
86
|
+
"text/csv": components["schemas"]["DownloadReportResponseDTO"];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=ReportsResource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/ReportsResource.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IAClB,aAAa,EAAE;QACX;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;KACjC,CAAC;CACL;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,UAAU;IACvB,OAAO,EAAE;QACL,uFAAuF;QACvF,UAAU,EAAE;YACR;;;eAGG;YACH,SAAS,EAAE,MAAM,CAAC;YAClB;;;eAGG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACjB,CAAC;QACF,4CAA4C;QAC5C,IAAI,EAAE;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AAC;IACF,cAAc,EAAE;QACZ,UAAU,EAAE;YACR,KAAK,EAAE;gBACH,gBAAgB,EAAE,MAAM,CAAC;gBACzB,SAAS,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACL,CAAC;QACF,SAAS,EAAE;YACP,mDAAmD;YACnD,GAAG,EAAE;gBACD,OAAO,EAAE;oBACL,UAAU,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,2BAA2B,CAAC,CAAC;iBAClE,CAAC;aACL,CAAC;SACL,CAAC;KACL,CAAA;CACJ"}
|
|
@@ -18,7 +18,7 @@ export interface components {
|
|
|
18
18
|
* @description Always null. This field is only used to expose endpoint names in OpenApi schema. Front-end components generate types from it.
|
|
19
19
|
* @enum {string}
|
|
20
20
|
*/
|
|
21
|
-
EndpointName: "
|
|
21
|
+
EndpointName: "downloadReport" | "getReports" | "getTransactions" | "getTransaction" | "getTransactionTotals" | "getBalances" | "getBalanceAccounts" | "getPayouts" | "getPayout";
|
|
22
22
|
/** @description Allowed endpoints for a given session */
|
|
23
23
|
SetupEndpointResponse: {
|
|
24
24
|
method?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetupResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/SetupResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,MAAM,WAAW,KAAK;IACpB,WAAW,EAAE;QACX;;;WAGG;QACH,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;KAC3B,CAAC;CACH;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE;QACP;;;WAGG;QACH,YAAY,EAAE,iBAAiB,GAAG,gBAAgB,GAAG,sBAAsB,GAAG,aAAa,GAAG,oBAAoB,GAAG,YAAY,GAAG,WAAW,
|
|
1
|
+
{"version":3,"file":"SetupResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/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,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,CAAC;iBAC5D,CAAC;aACH,CAAC;SACH,CAAC;KACH,CAAC;CACH"}
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
|
|
6
|
+
'/v1/transactions/{transactionId}': {
|
|
7
7
|
/**
|
|
8
8
|
* Get transaction details
|
|
9
9
|
* @description Given a transaction ID, it retrieves its details
|
|
10
10
|
*/
|
|
11
|
-
get: operations[
|
|
11
|
+
get: operations['getTransaction'];
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
'/v1/transactions/totals': {
|
|
14
14
|
/**
|
|
15
15
|
* Get transaction totals
|
|
16
16
|
* @description Given filters, provides total of incomings and expenses for all transactions matching the criteria
|
|
17
17
|
*/
|
|
18
|
-
get: operations[
|
|
18
|
+
get: operations['getTransactionTotals'];
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
'/v1/transactions': {
|
|
21
21
|
/**
|
|
22
22
|
* Get transactions
|
|
23
23
|
* @description Given filters, provides list of transactions for a balance account
|
|
24
24
|
*/
|
|
25
|
-
get: operations[
|
|
25
|
+
get: operations['getTransactions'];
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
export type webhooks = Record<string, never>;
|
|
@@ -47,7 +47,7 @@ export interface components {
|
|
|
47
47
|
* @description Category
|
|
48
48
|
* @enum {string}
|
|
49
49
|
*/
|
|
50
|
-
Category:
|
|
50
|
+
Category: 'ATM' | 'Capital' | 'Correction' | 'Fee' | 'Payment' | 'Refund' | 'Chargeback' | 'Transfer' | 'Other';
|
|
51
51
|
/** @description Payment method or payment instrument */
|
|
52
52
|
PaymentMethod: {
|
|
53
53
|
/** @description Last four digits of the card */
|
|
@@ -57,11 +57,11 @@ export interface components {
|
|
|
57
57
|
};
|
|
58
58
|
/** @description Transactions made within the filters provided for given balanceAccountId */
|
|
59
59
|
SingleTransaction: {
|
|
60
|
-
amount: components[
|
|
60
|
+
amount: components['schemas']['Amount'];
|
|
61
61
|
/** @description BalanceAccount ID */
|
|
62
62
|
balanceAccountId: string;
|
|
63
|
-
bankAccount?: components[
|
|
64
|
-
category: components[
|
|
63
|
+
bankAccount?: components['schemas']['BankAccount'];
|
|
64
|
+
category: components['schemas']['Category'];
|
|
65
65
|
/**
|
|
66
66
|
* Format: date-time
|
|
67
67
|
* @description Date created
|
|
@@ -69,11 +69,11 @@ export interface components {
|
|
|
69
69
|
createdAt: string;
|
|
70
70
|
/** @description ID */
|
|
71
71
|
id: string;
|
|
72
|
-
paymentMethod?: components[
|
|
73
|
-
status: components[
|
|
72
|
+
paymentMethod?: components['schemas']['PaymentMethod'];
|
|
73
|
+
status: components['schemas']['Status'];
|
|
74
74
|
};
|
|
75
75
|
/** @enum {string} */
|
|
76
|
-
Status:
|
|
76
|
+
Status: 'Pending' | 'Booked' | 'Reversed';
|
|
77
77
|
/** @description Collection of transaction totals per currency */
|
|
78
78
|
TransactionTotal: {
|
|
79
79
|
/** @description ISO currency code */
|
|
@@ -91,7 +91,7 @@ export interface components {
|
|
|
91
91
|
};
|
|
92
92
|
TransactionTotalsResponse: {
|
|
93
93
|
/** @description Collection of transaction totals per currency */
|
|
94
|
-
data: components[
|
|
94
|
+
data: components['schemas']['TransactionTotal'][];
|
|
95
95
|
};
|
|
96
96
|
/** @description Link to a different page */
|
|
97
97
|
Link: {
|
|
@@ -100,16 +100,16 @@ export interface components {
|
|
|
100
100
|
};
|
|
101
101
|
/** @description Links */
|
|
102
102
|
Links: {
|
|
103
|
-
next: components[
|
|
104
|
-
prev: components[
|
|
103
|
+
next: components['schemas']['Link'];
|
|
104
|
+
prev: components['schemas']['Link'];
|
|
105
105
|
};
|
|
106
106
|
TransactionsResponse: {
|
|
107
|
-
_links: components[
|
|
107
|
+
_links: components['schemas']['Links'];
|
|
108
108
|
/** @description Transactions made within the filters provided for given balanceAccountId */
|
|
109
|
-
data: components[
|
|
109
|
+
data: components['schemas']['SingleTransaction'][];
|
|
110
110
|
};
|
|
111
111
|
/** @enum {string} */
|
|
112
|
-
SortDirection:
|
|
112
|
+
SortDirection: 'asc' | 'desc';
|
|
113
113
|
};
|
|
114
114
|
responses: never;
|
|
115
115
|
parameters: never;
|
|
@@ -134,7 +134,7 @@ export interface operations {
|
|
|
134
134
|
/** @description OK - the request has succeeded. */
|
|
135
135
|
200: {
|
|
136
136
|
content: {
|
|
137
|
-
|
|
137
|
+
'application/json': components['schemas']['SingleTransaction'];
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
};
|
|
@@ -150,7 +150,7 @@ export interface operations {
|
|
|
150
150
|
createdSince?: string;
|
|
151
151
|
createdUntil?: string;
|
|
152
152
|
categories?: string[];
|
|
153
|
-
statuses?: components[
|
|
153
|
+
statuses?: components['schemas']['Status'][];
|
|
154
154
|
currencies?: string[];
|
|
155
155
|
minAmount?: number;
|
|
156
156
|
maxAmount?: number;
|
|
@@ -160,7 +160,7 @@ export interface operations {
|
|
|
160
160
|
/** @description OK - the request has succeeded. */
|
|
161
161
|
200: {
|
|
162
162
|
content: {
|
|
163
|
-
|
|
163
|
+
'application/json': components['schemas']['TransactionTotalsResponse'];
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
};
|
|
@@ -176,12 +176,12 @@ export interface operations {
|
|
|
176
176
|
createdSince?: string;
|
|
177
177
|
createdUntil?: string;
|
|
178
178
|
categories?: string[];
|
|
179
|
-
statuses?: components[
|
|
179
|
+
statuses?: components['schemas']['Status'][];
|
|
180
180
|
currencies?: string[];
|
|
181
181
|
minAmount?: number;
|
|
182
182
|
maxAmount?: number;
|
|
183
183
|
cursor?: string;
|
|
184
|
-
sortDirection?: components[
|
|
184
|
+
sortDirection?: components['schemas']['SortDirection'];
|
|
185
185
|
limit?: number;
|
|
186
186
|
};
|
|
187
187
|
};
|
|
@@ -189,7 +189,7 @@ export interface operations {
|
|
|
189
189
|
/** @description OK - the request has succeeded. */
|
|
190
190
|
200: {
|
|
191
191
|
content: {
|
|
192
|
-
|
|
192
|
+
'application/json': components['schemas']['TransactionsResponse'];
|
|
193
193
|
};
|
|
194
194
|
};
|
|
195
195
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/TransactionsResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"TransactionsResource.d.ts","sourceRoot":"","sources":["../../../../../src/types/api/resources/TransactionsResource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,KAAK;IAClB,kCAAkC,EAAE;QAChC;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;KACrC,CAAC;IACF,yBAAyB,EAAE;QACvB;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;KAC3C,CAAC;IACF,kBAAkB,EAAE;QAChB;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,iBAAiB,CAAC,CAAC;KACtC,CAAC;CACL;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE7C,MAAM,WAAW,UAAU;IACvB,OAAO,EAAE;QACL,0BAA0B;QAC1B,MAAM,EAAE;YACJ,yHAAyH;YACzH,QAAQ,EAAE,MAAM,CAAC;YACjB;;;eAGG;YACH,KAAK,EAAE,MAAM,CAAC;SACjB,CAAC;QACF,sDAAsD;QACtD,WAAW,EAAE;YACT,mEAAmE;YACnE,2BAA2B,EAAE,MAAM,CAAC;SACvC,CAAC;QACF;;;WAGG;QACH,QAAQ,EAAE,KAAK,GAAG,SAAS,GAAG,YAAY,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC;QAChH,wDAAwD;QACxD,aAAa,EAAE;YACX,gDAAgD;YAChD,cA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,CAAC;gBACtB,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,SAAS,CAAC,EAAE,MAAM,CAAC;aACtB,CAAC;SACL,CAAC;QACF,SAAS,EAAE;YACP,mDAAmD;YACnD,GAAG,EAAE;gBACD,OAAO,EAAE;oBACL,kBAAkB,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,2BAA2B,CAAC,CAAC;iBAC1E,CAAC;aACL,CAAC;SACL,CAAC;KACL,CAAC;IACF;;;OAGG;IACH,eAAe,EAAE;QACb,UAAU,EAAE;YACR,KAAK,EAAE;gBACH,gBAAgB,EAAE,MAAM,CAAC;gBACzB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;gBACtB,QAAQ,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7C,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;gBACtB,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,SAAS,CAAC,EAAE,MAAM,CAAC;gBACnB,MAAM,CAAC,EAAE,MAAM,CAAC;gBAChB,aAAa,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,CAAC;gBACvD,KAAK,CAAC,EAAE,MAAM,CAAC;aAClB,CAAC;SACL,CAAC;QACF,SAAS,EAAE;YACP,mDAAmD;YACnD,GAAG,EAAE;gBACD,OAAO,EAAE;oBACL,kBAAkB,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC,CAAC;iBACrE,CAAC;aACL,CAAC;SACL,CAAC;KACL,CAAC;CACL"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ABORT_EVENT = "abort";
|
|
2
|
+
export declare const DEFAULT_ABORT_ERROR_MESSAGE = "signal is aborted without reason";
|
|
3
|
+
export declare const DEFAULT_TIMEOUT_ERROR_MESSAGE = "signal timed out";
|
|
4
|
+
export declare const MAX_ABORT_TIMEOUT = 2147483647;
|
|
5
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/utils/abort/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,6BAA6B,qBAAqB,CAAC;AAChE,eAAO,MAAM,iBAAiB,aAAa,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const abortError: (message?: string) => DOMException;
|
|
2
|
+
export declare const timeoutError: (message?: string) => DOMException;
|
|
3
|
+
export declare const augmentSignalReason: (signal: AbortSignal, reason: any) => AbortSignal;
|
|
4
|
+
//# sourceMappingURL=internals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../../../../src/utils/abort/internals.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,UAAU,oCAAqF,CAAC;AAC7G,eAAO,MAAM,YAAY,oCAAyF,CAAC;AAEnH,eAAO,MAAM,mBAAmB,WAAY,WAAW,UAAU,GAAG,gBAUnE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare var AbortSignal: {
|
|
2
|
+
any: (signals: AbortSignal[]) => AbortSignal;
|
|
3
|
+
} & typeof window.AbortSignal;
|
|
4
|
+
export declare const abortedSignal: (reason?: unknown) => AbortSignal;
|
|
5
|
+
export declare const abortSignalForAny: (signals: AbortSignal[]) => AbortSignal;
|
|
6
|
+
export declare const abortSignalWithTimeout: (ms: number) => AbortSignal;
|
|
7
|
+
export declare const isAbortSignal: (value?: any) => value is AbortSignal;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=main.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/abort/main.ts"],"names":[],"mappings":"AAKA,OAAO,CAAC,IAAI,WAAW,EAAE;IACrB,GAAG,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,CAAC;CAChD,GAAG,OAAO,MAAM,CAAC,WAAW,CAAC;AAE9B,eAAO,MAAM,aAAa,YAAY,OAAO,gBAY5C,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAAa,WAAW,EAAE,gBAsDvD,CAAC;AAEF,eAAO,MAAM,sBAAsB,OAAQ,MAAM,gBAsBhD,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,GAAG,yBAAuD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/async/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAKlD,eAAO,MAAM,eAAe,YAAmB,QAAQ,GAAG,CAAC,KAAG,QAAQ,YAAY,CAOjF,CAAC;AAEF,eAAO,MAAM,UAAU,uDACb,GAAG,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/async/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAKlD,eAAO,MAAM,eAAe,YAAmB,QAAQ,GAAG,CAAC,KAAG,QAAQ,YAAY,CAOjF,CAAC;AAEF,eAAO,MAAM,UAAU,uDACb,GAAG,aACE,GAAG,iEAIjB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { MapGetter } from './types';
|
|
|
2
2
|
import type { List } from '../types';
|
|
3
3
|
export declare const getMappedValue: MapGetter;
|
|
4
4
|
export declare const listFrom: <T extends string = string>(value?: string | any[], fallbackList?: T[]) => T[];
|
|
5
|
-
export declare const pickFrom: <C extends any[] | readonly any[]>(list: C, option?: C[number], defaultOption?: C[number]) => any;
|
|
5
|
+
export declare const pickFrom: <C extends any[] | readonly any[]>(list: C, option?: C[number] | undefined, defaultOption?: C[number] | undefined) => any;
|
|
6
6
|
export declare const some: (thisValue: unknown, predicate: (value: any, index: number, array: any[]) => unknown, thisArg?: any) => boolean;
|
|
7
7
|
type _UniqueFlatten = <T>(items: List<T>, uniqueItems?: Set<T>) => Set<T>;
|
|
8
8
|
export declare const uniqueFlatten: _UniqueFlatten;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/collection/main.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,cAAc,EAAE,SAU5B,CAAC;AAEF,eAAO,MAAM,QAAQ,sCAAuC,MAAM,GAAG,GAAG,EAAE,4BAIzE,CAAC;AAEF,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/collection/main.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,cAAc,EAAE,SAU5B,CAAC;AAEF,eAAO,MAAM,QAAQ,sCAAuC,MAAM,GAAG,GAAG,EAAE,4BAIzE,CAAC;AAEF,eAAO,MAAM,QAAQ,2HAIpB,CAAC;AAEF,eAAO,MAAM,IAAI,iHAA2B,CAAC;AAY7C,KAAK,cAAc,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;AAE1E,eAAO,MAAM,aAAa,gBAAsD,CAAC;AACjF,eAAO,MAAM,qBAAqB,gBAAqD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ListWithoutFirst } from './types';
|
|
2
2
|
type _BoundFn<T, Args extends any[]> = Args extends [] ? T extends (this: infer ThisType, ...args: [...infer RestArgs]) => infer ReturnType ? (thisValue: ThisType, ...args: RestArgs) => ReturnType : never : T extends (this: Args[0], ...args: [...ListWithoutFirst<Args>, ...infer RestArgs]) => infer ReturnType ? (...args: RestArgs) => ReturnType : never;
|
|
3
3
|
export declare const fn: <T, Args extends any[]>(func: T, ...args: Args) => _BoundFn<T, Args>;
|
|
4
|
-
export declare const constant: <T>(value?: T) => () => T | undefined;
|
|
4
|
+
export declare const constant: <T>(value?: T | undefined) => () => T | undefined;
|
|
5
5
|
export declare const asyncNoop: () => Promise<void>;
|
|
6
|
-
export declare const identity: <T>(value?: T) => T | undefined;
|
|
6
|
+
export declare const identity: <T>(value?: T | undefined) => T | undefined;
|
|
7
7
|
export declare const noop: () => void;
|
|
8
8
|
export declare const panic: (reason?: any) => never;
|
|
9
9
|
export declare const toStringTag: (value?: any) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/utils/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,KAAK,QAAQ,CAAC,CAAC,EAAE,IAAI,SAAS,GAAG,EAAE,IAAI,IAAI,SAAS,EAAE,GAChD,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,QAAQ,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,MAAM,QAAQ,CAAC,KAAK,MAAM,UAAU,GAC9E,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,QAAQ,KAAK,UAAU,GACtD,KAAK,GACT,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,C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,mDAAgC,CAAC;AAEtD,eAAO,MAAM,SAAS,qBAAiB,CAAC;AACxC,eAAO,MAAM,QAAQ,6CAA0B,CAAC;AAChD,eAAO,MAAM,IAAI,YAAW,CAAC;AAE7B,eAAO,MAAM,KAAK,YAAa,GAAG,UAEjC,CAAC;AAGF,eAAO,MAAM,WAAW,WAAY,GAAG,WAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAEhC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAE9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAEhC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAE9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
@@ -4,8 +4,8 @@ type _RenderResult = VNode | null;
|
|
|
4
4
|
* Alternative to using `forwardRef` but with fixed type inference.
|
|
5
5
|
* @see [How To Use forwardRef With Generic Components]{@link https://www.totaltypescript.com/forwardref-with-generic-components}
|
|
6
6
|
*/
|
|
7
|
-
export declare const fixedForwardRef: <P, T>(render: (props: P, ref: Ref<T>) => _RenderResult) => (
|
|
8
|
-
ref?: Ref<T
|
|
9
|
-
}) => _RenderResult
|
|
7
|
+
export declare const fixedForwardRef: <P, T>(render: (props: P, ref: Ref<T>) => _RenderResult) => (props: P & {
|
|
8
|
+
ref?: Ref<T> | undefined;
|
|
9
|
+
}) => _RenderResult;
|
|
10
10
|
export default fixedForwardRef;
|
|
11
11
|
//# sourceMappingURL=fixedForwardRef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixedForwardRef.d.ts","sourceRoot":"","sources":["../../../../src/utils/preact/fixedForwardRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGpC,KAAK,aAAa,GAAG,KAAK,GAAG,IAAI,CAAC;AAElC;;;GAGG;AACH,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"fixedForwardRef.d.ts","sourceRoot":"","sources":["../../../../src/utils/preact/fixedForwardRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGpC,KAAK,aAAa,GAAG,KAAK,GAAG,IAAI,CAAC;AAElC;;;GAGG;AACH,eAAO,MAAM,eAAe,4CAA6C,aAAa;;MAAqC,aACrG,CAAC;AAEvB,eAAe,eAAe,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isPlainObject } from '../value/is';
|
|
2
2
|
import type { PredicateType } from '../types';
|
|
3
3
|
type _PlainObject<T> = PredicateType<typeof isPlainObject<T>>;
|
|
4
|
-
export declare const asPlainObject: <T>(value?: T, fallback?:
|
|
4
|
+
export declare const asPlainObject: <T>(value?: T | undefined, fallback?: Extract<T, import("../types").ExtractWithFallback<T, Record<any, any>>>) => Extract<T, import("../types").ExtractWithFallback<T, Record<any, any>>>;
|
|
5
5
|
interface _StructFrom {
|
|
6
6
|
<T extends Record<any, any>, P extends object | null>(o: P, properties: {
|
|
7
7
|
[K in keyof T]: TypedPropertyDescriptor<T[K]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/struct/main.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,KAAK,YAAY,CAAC,CAAC,IAAI,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9D,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../src/utils/struct/main.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,KAAK,YAAY,CAAC,CAAC,IAAI,aAAa,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9D,eAAO,MAAM,aAAa,2LAC8C,CAAC;AAEzE,UAAU,WAAW;IACjB,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE;SAAG,CAAC,IAAI,MAAM,CAAC,GAAG,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAAE,GAAG,CAAC,SAAS,MAAM,GACtI,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAA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