@maxio-com/self-service 1.9.4 → 1.9.6
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/README.md +28 -20
- package/dist/maxio-components.cjs.js +1 -1
- package/dist/maxio-components.esm.js +1 -1
- package/dist/maxio-components.esm.js.LICENSE.txt +12 -3
- package/dist/maxio-components.umd.js +1 -1
- package/dist/maxio-components.umd.js.LICENSE.txt +12 -3
- package/package.json +19 -15
- package/typings/packages/address/src/components/SelectField/SelectField.d.ts +3 -3
- package/typings/packages/address/src/containers/Address/Address.d.ts +3 -3
- package/typings/packages/address/src/containers/Address/types.d.ts +2 -2
- package/typings/packages/address/src/machines/address/selectors.d.ts +2 -2
- package/typings/packages/address/src/machines/address/types.d.ts +2 -2
- package/typings/packages/address/src/types.d.ts +2 -2
- package/typings/packages/billing-history/src/App.d.ts +2 -2
- package/typings/packages/billing-history/src/components/BillingHistoryLoader/BillingHistoryLoader.d.ts +2 -2
- package/typings/packages/billing-history/src/components/Filters/Filters.d.ts +3 -3
- package/typings/packages/billing-history/src/components/Filters/components/DateFilter/DateFilter.d.ts +2 -2
- package/typings/packages/billing-history/src/components/Filters/components/FilterBox/FilterBox.d.ts +1 -1
- package/typings/packages/billing-history/src/components/Filters/components/InvoiceNumberFilter/InvoiceNumberFilter.d.ts +2 -2
- package/typings/packages/billing-history/src/components/Filters/components/ProductNameFilter/ProductNameFilter.d.ts +2 -2
- package/typings/packages/billing-history/src/components/Filters/components/StatusFilter/StatusFilter.d.ts +2 -2
- package/typings/packages/billing-history/src/components/InvoicesTable/InvoicesTable.d.ts +2 -2
- package/typings/packages/billing-history/src/components/InvoicesTable/components/IconWIthTooltip.d.ts +3 -3
- package/typings/packages/billing-history/src/components/InvoicesTable/components/NoInvoicesMsg.d.ts +3 -3
- package/typings/packages/billing-history/src/components/InvoicesTable/components/PagesPagination.d.ts +2 -2
- package/typings/packages/billing-history/src/components/InvoicesTable/components/Status.d.ts +2 -2
- package/typings/packages/billing-history/src/containers/BillingHistoryContainer/BillingHistoryContainer.d.ts +2 -2
- package/typings/packages/billing-history/src/containers/FiltersContainer/FiltersContainer.d.ts +2 -2
- package/typings/packages/billing-history/src/containers/ProductsContainer/ProductsContainer.d.ts +2 -2
- package/typings/packages/billing-history/src/machines/billingFilters/actions.d.ts +4 -23
- package/typings/packages/billing-history/src/machines/billingFilters/selectors.d.ts +2 -2
- package/typings/packages/billing-history/src/machines/billingFilters/types.d.ts +11 -11
- package/typings/packages/billing-history/src/machines/billingHistoryData/actions.d.ts +2 -2
- package/typings/packages/billing-history/src/machines/billingHistoryData/selectors.d.ts +2 -2
- package/typings/packages/billing-history/src/machines/billingHistoryData/types.d.ts +5 -5
- package/typings/packages/billing-history/src/machines/filtersOptions/selectors.d.ts +2 -2
- package/typings/packages/billing-history/src/machines/filtersOptions/types.d.ts +3 -3
- package/typings/packages/billing-history/src/models/billingHistory/billingHistory.d.ts +6 -6
- package/typings/packages/billing-history/src/pages/InvoiceDetails/InvoiceDetails.d.ts +2 -2
- package/typings/packages/billing-history/src/providers/GlobalStateProvider.d.ts +2 -2
- package/typings/packages/billing-history/src/types.d.ts +3 -3
- package/typings/packages/custom-fields/src/types.d.ts +2 -2
- package/typings/packages/custom-fields/src/utils/renderField.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Anchor/Anchor.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/Anchor/Anchor.stories.d.ts +10 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Anchor/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/BodyText/BodyText.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/BodyText/BodyText.stories.d.ts +10 -0
- package/typings/packages/custom-ui-components/src/components/atoms/BodyText/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Button/Button.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Button/Button.stories.d.ts +23 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Button/components/Group/Group.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Button/components/Group/index.d.ts +1 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Button/components/index.d.ts +1 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Button/types.d.ts +4 -4
- package/typings/packages/custom-ui-components/src/components/atoms/Checkbox/Checkbox.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Checkbox/Checkbox.stories.d.ts +9 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Checkbox/types.d.ts +5 -5
- package/typings/packages/custom-ui-components/src/components/atoms/Column/Column.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Dropdown/Dropdown.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Dropdown/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/Heading/Heading.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Heading/Heading.stories.d.ts +11 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Heading/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Input/Input.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/Input/Input.stories.d.ts +14 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Input/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/InputMessage/InputMessage.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/InputMessage/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Loader/Loader.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Loader/Loader.stories.d.ts +6 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/Logo.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/Logo.stories.d.ts +6 -0
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/components/AmericanExpress/AmericanExpress.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/components/Bogus/Bogus.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/components/Discover/Discover.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/components/Master/Master.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Logo/components/Visa/Visa.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Modal/Modal.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Modal/components/Backdrop/Backdrop.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/Modal/components/Title/Title.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Modal/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/Options/Options.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Options/components/Option/Option.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Options/types.d.ts +6 -6
- package/typings/packages/custom-ui-components/src/components/atoms/ProgressBar/ProgressBar.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/ProgressBar/ProgressBar.stories.d.ts +11 -0
- package/typings/packages/custom-ui-components/src/components/atoms/ProgressBar/types.d.ts +4 -4
- package/typings/packages/custom-ui-components/src/components/atoms/RadioButton/RadioButton.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/RadioButton/RadioButton.stories.d.ts +9 -0
- package/typings/packages/custom-ui-components/src/components/atoms/RadioButton/types.d.ts +5 -5
- package/typings/packages/custom-ui-components/src/components/atoms/Row/Row.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Select/Select.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Select/components/DropdownIcon/DropdownIcon.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Select/reducer/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Select/types.d.ts +7 -7
- package/typings/packages/custom-ui-components/src/components/atoms/SkeletonLoader/SkeletonLoader.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/SkeletonLoader/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/atoms/SubscriptionComponentCard/SubscriptionComponentCard.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/SubscriptionComponentCard/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/TextArea/TextArea.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/TextArea/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Toggle/Toggle.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/Toggle/types.d.ts +7 -7
- package/typings/packages/custom-ui-components/src/components/atoms/Tooltip/Tooltip.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Tooltip/components/Text/Text.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/atoms/Tooltip/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/atoms/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Accordion/Accordion.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Accordion/type.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Alert/Alert.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Alert/components/TextMessage.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Alert/components/Title.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Alert/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Card/Card.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/molecules/Card/components/Body/Body.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Card/types.d.ts +4 -4
- package/typings/packages/custom-ui-components/src/components/molecules/CreditCardAddress/CreditCardAddress.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/CreditCardAddress/type.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/CreditCardHolderDetails/CreditCardHolderDetails.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/CreditCardHolderDetails/type.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/CreditCardNumber/CreditCardNumber.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/CreditCardNumber/type.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/DatePicker/DatePicker.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/DatePicker/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/molecules/FormField/FormField.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/molecules/FormField/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/InputLabel/InputLabel.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/InputLabel/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeader/PageHeader.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeader/PageHeader.stories.d.ts +6 -0
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeader/type.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeaderSubtitle/PageHeaderSubtitle.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeaderSubtitle/type.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeaderTitle/PageHeaderTitle.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/PageHeaderTitle/type.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Pagination/Pagination.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Pagination/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Pagination/utils/createPagination.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/molecules/RadioGroup/RadioGroup.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/RadioGroup/RadioGroup.stories.d.ts +6 -0
- package/typings/packages/custom-ui-components/src/components/molecules/RadioGroup/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/RadioSelect/RadioSelect.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/RadioSelect/types.d.ts +6 -6
- package/typings/packages/custom-ui-components/src/components/molecules/RelativeTime/RelativeTime.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/RelativeTime/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Stepper/Stepper.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Stepper/components/StepHortizontal/StepHorizontal.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Stepper/components/StepHortizontal/types.d.ts +4 -4
- package/typings/packages/custom-ui-components/src/components/molecules/Stepper/components/StepVertical/StepVertical.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Stepper/components/StepVertical/types.d.ts +4 -4
- package/typings/packages/custom-ui-components/src/components/molecules/SubscriptionHeader/SubscriptionHeader.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/SummaryTable/SummaryTable.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/SummaryTable/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Tabs/Tabs.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/Tabs/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Tag/Tag.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/Tag/Tag.styles.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/molecules/Tag/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/TagInput/TagInput.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/TagInput/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/TimePicker/TimePicker.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/TimePicker/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/molecules/ToastMessage/ToastMessage.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/molecules/ToastMessage/types.d.ts +5 -5
- package/typings/packages/custom-ui-components/src/components/organisms/BankAccount/BankAccount.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/BankAccount/components/Watermark/Watermark.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/BankAccount/types.d.ts +7 -7
- package/typings/packages/custom-ui-components/src/components/organisms/CreditCard/CreditCard.d.ts +6 -6
- package/typings/packages/custom-ui-components/src/components/organisms/CreditCard/components/Chip/Chip.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/CreditCard/components/StatusMsg/StatusMsg.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/CreditCard/components/Watermark/Watermark.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/CreditCard/components/Watermark/types.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/CreditCard/types.d.ts +7 -7
- package/typings/packages/custom-ui-components/src/components/organisms/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/MeteredComponent/MeteredComponent.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/MeteredComponent/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/OnOffComponent/OnOffComponent.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/PrepaidComponent/PrepaidComponent.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/PrepaidComponent/types.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/QuantityComponent/QuantityComponent.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Subscription/QuantityComponent/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/organisms/Table/Table.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/Table/components/SortIndicator.d.ts +3 -3
- package/typings/packages/custom-ui-components/src/components/organisms/Table/components/TableCell/TableCell.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Table/components/TableFooter/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/components/organisms/Table/components/TableHeader/TableHeader.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/components/organisms/Table/types.d.ts +6 -6
- package/typings/packages/custom-ui-components/src/components/types.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/docs/Spaces.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/hooks/useKeypress/useKeypress.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/theme/ThemeProvider.d.ts +2 -2
- package/typings/packages/custom-ui-components/src/theme/ThemeUtilities.d.ts +1 -1
- package/typings/packages/custom-ui-components/src/theme/types.d.ts +5 -5
- package/typings/packages/custom-ui-components/src/themeBase.d.ts +5 -5
- package/typings/packages/custom-ui-components/src/types.d.ts +3 -3
- package/typings/packages/customer-details/src/App.d.ts +2 -2
- package/typings/packages/customer-details/src/components/ContactDetails/ContactDetails.d.ts +2 -2
- package/typings/packages/customer-details/src/components/ContactDetailsForm/ContactDetailsForm.d.ts +3 -3
- package/typings/packages/customer-details/src/components/CustomFields/CustomFields.d.ts +3 -3
- package/typings/packages/customer-details/src/components/CustomFieldsForm/CustomFieldsForm.d.ts +3 -3
- package/typings/packages/customer-details/src/components/CustomerDetailsLoader/CustomerDetailsLoader.d.ts +2 -2
- package/typings/packages/customer-details/src/components/DetailsRow/DetailsRow.d.ts +3 -3
- package/typings/packages/customer-details/src/components/DetailsRow/index.d.ts +1 -2
- package/typings/packages/customer-details/src/components/DetailsSectionLoadingSkeleton/DetailsSectionLoadingSkeleton.d.ts +2 -2
- package/typings/packages/customer-details/src/components/ShippingAddress/ShippingAddress.d.ts +3 -3
- package/typings/packages/customer-details/src/components/ShippingAddressForm/ShippingAddressForm.d.ts +3 -3
- package/typings/packages/customer-details/src/components/index.d.ts +2 -2
- package/typings/packages/customer-details/src/containers/CustomFieldsContainer/CustomFieldsContainer.d.ts +2 -2
- package/typings/packages/customer-details/src/containers/CustomerDetailsContainer/CustomerDetailsContainer.d.ts +2 -2
- package/typings/packages/customer-details/src/index.d.ts +1 -2
- package/typings/packages/customer-details/src/machines/customFields/selectors.d.ts +2 -2
- package/typings/packages/customer-details/src/machines/customFields/types.d.ts +2 -2
- package/typings/packages/customer-details/src/machines/customerData/selectors.d.ts +2 -2
- package/typings/packages/customer-details/src/machines/customerData/types.d.ts +2 -2
- package/typings/packages/customer-details/src/models/customerDetails/types.d.ts +3 -3
- package/typings/packages/customer-details/src/providers/GlobalStateProvider.d.ts +2 -2
- package/typings/packages/customer-details/src/types.d.ts +2 -2
- package/typings/packages/data-access/src/DataAccess.d.ts +1 -1
- package/typings/packages/data-access/src/types/address.d.ts +1 -1
- package/typings/packages/data-access/src/types/addressDetails.d.ts +1 -1
- package/typings/packages/data-access/src/types/componentAllocation.d.ts +5 -5
- package/typings/packages/data-access/src/types/customField.d.ts +2 -2
- package/typings/packages/data-access/src/types/customerDetails.d.ts +1 -1
- package/typings/packages/data-access/src/types/gatewayConfig.d.ts +1 -1
- package/typings/packages/data-access/src/types/index.d.ts +1 -1
- package/typings/packages/data-access/src/types/invoicesList.d.ts +8 -8
- package/typings/packages/data-access/src/types/paymentProfiles.d.ts +5 -5
- package/typings/packages/data-access/src/types/product.d.ts +1 -1
- package/typings/packages/data-access/src/types/productFamily.d.ts +1 -1
- package/typings/packages/data-access/src/types/settings.d.ts +2 -2
- package/typings/packages/data-access/src/types/subscription.d.ts +6 -6
- package/typings/packages/data-access/src/types/subscriptionComponent.d.ts +2 -2
- package/typings/packages/data-access/src/types/subscriptionPaymentProfile.d.ts +1 -1
- package/typings/packages/device-provider/src/components/DeviceProvider/DeviceProvider.d.ts +2 -2
- package/typings/packages/device-provider/src/types.d.ts +1 -1
- package/typings/packages/embeddable-component/src/ComponentLoader/ComponentLoader.d.ts +1 -1
- package/typings/packages/embeddable-component/src/SessionGuard/SessionGuard.d.ts +2 -2
- package/typings/packages/embeddable-component/src/hooks/types.d.ts +3 -3
- package/typings/packages/embeddable-component/src/types.d.ts +1 -1
- package/typings/packages/formatters/src/formatBillingInterval.d.ts +1 -1
- package/typings/packages/formatters/src/formatCurrency.d.ts +1 -1
- package/typings/packages/icons/src/Icon.d.ts +2 -2
- package/typings/packages/icons/src/types.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/CardExpiration/CardExpiration.d.ts +3 -3
- package/typings/packages/payments-sdk/src/components/CardNumber/CardNumber.d.ts +3 -3
- package/typings/packages/payments-sdk/src/components/CreditCard/CreditCard.d.ts +3 -3
- package/typings/packages/payments-sdk/src/components/CreditCard/components/FourDigit/FourDigit.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/CreditCard/components/ThreeDigit/ThreeDigit.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/CreditCard/components/TooltipContent/TooltipContent.d.ts +3 -3
- package/typings/packages/payments-sdk/src/components/CreditCard/components/TooltipContent/types.d.ts +1 -1
- package/typings/packages/payments-sdk/src/components/CreditCard/types.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/HostedField/HostedField.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/InputSocket/InputSocket.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/PaymentProfileSkeleton/PaymentProfileSkeleton.d.ts +2 -2
- package/typings/packages/payments-sdk/src/components/SecurityCode/SecurityCode.d.ts +3 -3
- package/typings/packages/payments-sdk/src/containers/PaymentsContainer/PaymentsContainer.d.ts +1 -1
- package/typings/packages/payments-sdk/src/forms/CreditCard/CreditCard.d.ts +3 -3
- package/typings/packages/payments-sdk/src/forms/CreditCard/index.d.ts +1 -2
- package/typings/packages/payments-sdk/src/forms/CreditCard/types.d.ts +1 -1
- package/typings/packages/payments-sdk/src/forms/PaymentProfile/PaymentProfile.d.ts +4 -4
- package/typings/packages/payments-sdk/src/types.d.ts +4 -4
- package/typings/packages/session-manager/src/SessionManager/SessionManager.d.ts +2 -1
- package/typings/packages/session-manager/src/SessionManager/types.d.ts +4 -3
- package/typings/packages/subscriptions-manager/src/App.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/ComponentGroup/ComponentGroup.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationEdit/ComponentsAllocationEdit.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationEdit/components/ComponentsAllocationEditSkeleton/ComponentsAllocationEditSkeleton.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationPreview/ComponentsAllocationPreview.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationPreview/components/AllocationsTable/AllocationsTable.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationPreview/utils/getAllocationSummaryPaymentMessage.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationPreview/utils/mapAllocationsToTable.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/ComponentsAllocationPreview/utils/mapChargeSummaryToTable.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/ComponentsPreview/ComponentsPreview.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/ComponentsPreview/components/ComponentsPreviewRow/ComponentsPreviewRow.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/ComponentsPreview/types.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/ComponentsPreview/utils/createComponentsPreviewRow.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/ComponentsPreview/utils/renderPrice.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/ContentLoader/ContentLoader.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/CouponsList/CouponsList.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/CouponsList/components/CouponListItem.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/CustomFieldsForm/CustomFieldsForm.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/CustomFieldsPreview/CustomFieldsPreview.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/components/CustomFieldsPreview/components/CustomFieldsLoadingSkeleton/CustomFieldsLoadingSkeleton.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/DetailsRow/DetailsRow.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/DetailsRow/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/components/PaymentProfiles/PaymentProfiles.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PaymentProfiles/components/PaymentProfilesHeader/PaymentsProfilesHeader.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PaymentProfiles/components/PaymentProfilesSkeletonLoader/PaymentProfilesSkeletonLoader.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/PaymentProfiles/utils.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/PaymentProfilesReplace/PaymentProfilesReplace.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PaymentProfilesReplace/components/ExpiredStatus/ExpitredStatus.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PaymentProfilesReplace/components/PaymentProfileItem/PaymentProfileItem.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PaymentProfilesReplace/components/PaymentProfileItem/components/Label.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PaymentProfilesReplaceAlerts/PaymentProfilesReplaceAlerts.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanChangeAlerts/PlanChangeAlerts.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/PlanChangeSummary.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/components/NonProratedColumns.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanChangeSummary/components/ProratedColumns.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanChangeSummaryCharges/PlanChangeSummaryCharges.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanChangeSummaryCharges/utils/mapChargeSummaryToTable.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/PlanRadio/PlanRadio.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanRadio/components/Price/Price.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/PlanRadio/components/Status/Status.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/ShowMore/ShowMore.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/Subscription/Subscription.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/Subscription/types.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/SubscriptionComponents/SubscriptionComponents.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/components/SubscriptionComponents/components/ComponentLoadingSkeleton/ComponentLoadingSkeleton.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionComponents/types.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/SubscriptionDetails.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/Active/Active.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/Canceled/Canceled.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/CancellationScheduled/CancellationScheduled.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/DetailRow/DetailRow.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/Expired/Expired.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/Notification/Notification.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/OnHold/OnHold.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/PastDue/PastDue.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/PlanChangeScheduled/PlanChangeScheduled.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/Trial/Trial.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/TrialExpired/TrialExpired.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionDetails/components/Unpaid/Unpaid.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/SubscriptionManagerLoader/SubscriptionManagerLoader.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/components/SubscriptionManagerLoader/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/components/SubscriptionReferalCode/SubscriptionReferalCode.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/components/index.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/containers/BilingDetailsContainer/BilingDetailsContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ChangePlanContainer/ChangePlanContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ChangePlanContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/ComponentContainer/ComponentContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ComponentContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/ComponentsAllocationContainer/ComponentsAllocationContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ComponentsAllocationContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/ComponentsContainer/ComponentsContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ComponentsContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/CouponsContainer/CouponsContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/CreatePaymentProfileContainer/CreatePaymentProfileContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/CreatePaymentProfileContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/CreatePaymentProfileErrorContainer/CreatePaymentProfileErrorContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/CreatePaymentProfileErrorContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/CustomFieldsContainer/CustomFieldsContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ModalsContainer/ModalsContainer.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/containers/ModalsContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/PaymentProfileContainer/PaymentProfileContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/PaymentProfileContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/PaymentProfilesContainer/PaymentProfilesContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/PaymentProfilesContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/PreviewProductMigrationContainer/PreviewProductMigrationContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/PreviewProductMigrationContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/ReplacePaymentProfilesContainer/ReplacePaymentProfilesContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/ReplacePaymentProfilesContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/SubscriptionContainer/SubscriptionContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/SubscriptionContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/SubscriptionsContainer/SubscriptionsContainer.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/containers/SubscriptionsContainer/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/containers/index.d.ts +13 -14
- package/typings/packages/subscriptions-manager/src/contexts/PaymentProfilesContext.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useAddonsConfigurationService.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useAvailablePaymentMethods.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useChangePaymentProfile.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useCoupons.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useCreatePaymentProfile/serializeErrors.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useCreatePaymentProfile/useCreatePaymentProfile.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useDeletePaymentProfile.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useFormatSubscriptionDetails.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/hooks/usePauseSubscriptionService.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useResumeSubscriptionService.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useSubscriptionStatus.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/hooks/useThreeDs.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/machines/addOnsConfiguration/actions.d.ts +2 -4
- package/typings/packages/subscriptions-manager/src/machines/addOnsConfiguration/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/addOnsConfiguration/types.d.ts +15 -15
- package/typings/packages/subscriptions-manager/src/machines/cancelSubscription/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/cancelSubscription/types.d.ts +5 -5
- package/typings/packages/subscriptions-manager/src/machines/changePaymentProfile/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/changePaymentProfile/types.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/machines/changePlan/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/changePlan/types.d.ts +9 -9
- package/typings/packages/subscriptions-manager/src/machines/component/types.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/components/selectors/getComponentsUpdatesAllowed.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/machines/components/selectors/getComponentsUsedInBilling.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/machines/components/types.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/machines/coupons/types.d.ts +11 -11
- package/typings/packages/subscriptions-manager/src/machines/createPaymentProfile/actions.d.ts +4 -15
- package/typings/packages/subscriptions-manager/src/machines/createPaymentProfile/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/createPaymentProfile/types.d.ts +11 -11
- package/typings/packages/subscriptions-manager/src/machines/customFields/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/customFields/types.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/machines/deletePaymentProfile/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/deletePaymentProfile/types.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/machines/modals/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/modals/types.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/machines/pauseSubscription/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/pauseSubscription/types.d.ts +5 -5
- package/typings/packages/subscriptions-manager/src/machines/paymentGateway/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/paymentGateway/types.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/machines/paymentProfiles/actions.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/machines/paymentProfiles/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/paymentProfiles/types.d.ts +8 -8
- package/typings/packages/subscriptions-manager/src/machines/productCatalog/actions.d.ts +1 -3
- package/typings/packages/subscriptions-manager/src/machines/productCatalog/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/productCatalog/types.d.ts +5 -5
- package/typings/packages/subscriptions-manager/src/machines/reactivateSubscription/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/reactivateSubscription/types.d.ts +5 -5
- package/typings/packages/subscriptions-manager/src/machines/resumeSubscription/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/resumeSubscription/types.d.ts +7 -7
- package/typings/packages/subscriptions-manager/src/machines/subscription/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/subscription/types.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/subscriptions/actions.d.ts +3 -135
- package/typings/packages/subscriptions-manager/src/machines/subscriptions/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/subscriptions/types.d.ts +11 -11
- package/typings/packages/subscriptions-manager/src/machines/threeDs/types.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/undoCancelation/selectors.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/machines/undoCancelation/types.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/modals/AddCoupon/AddCoupon.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/AddCoupon/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/AddCoupon/components/Content/components/CouponSummary.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/AddCoupon/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/CancelSubscription/CancelSubscription.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/CancelSubscription/components/ChurnResonCodes/ChurnReasonCodes.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/CancelSubscription/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/CancelSubscription/components/Form/Form.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/CancelSubscription/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/CancelSubscription/machines/types.d.ts +4 -4
- package/typings/packages/subscriptions-manager/src/modals/ChangePaymentMethod/ChangePaymentMethod.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/ChangePaymentMethod/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ChangePaymentMethod/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/ChangeSubscriptionPlan/ChangeSubscriptionPlan.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/ChangeSubscriptionPlan/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ChangeSubscriptionPlan/components/Content/components/ErrorAlert.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ChangeSubscriptionPlan/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/ComponentsAllocation/ComponentsAllocation.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/ComponentsAllocation/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ComponentsAllocation/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/CreatePaymentProfile/CreatePaymentProfile.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/CreatePaymentProfile/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/CreatePaymentProfile/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/DeletePaymentMethod/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/DeletePaymentMethod/DeletePaymentMethod.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/DeletePaymentMethod/ErrorList/ErrorList.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/DeletePaymentMethod/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/PauseSubscription/PauseSubscription.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/PauseSubscription/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/PauseSubscription/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/PreviewPaymentMethod/BillingAddress/BillingAddress.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/PreviewPaymentMethod/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/PreviewPaymentMethod/DetailsRow/DetailsRow.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/PreviewPaymentMethod/DetailsRow/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/PreviewPaymentMethod/PreviewPaymentMethod.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/PreviewPaymentMethod/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/ReactivateSubscription/ReactivateSubscription.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/ReactivateSubscription/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ReactivateSubscription/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/ResumeSubscription/ResumeSubscription.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/ResumeSubscription/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ResumeSubscription/components/Content/utils.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/modals/ResumeSubscription/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/ThreeDsConfirmation/ThreeDsConfirmation.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/ThreeDsConfirmation/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/ThreeDsConfirmation/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/UndoCancelation/UndoCancelation.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/modals/UndoCancelation/components/Content/Content.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/modals/UndoCancelation/index.d.ts +1 -2
- package/typings/packages/subscriptions-manager/src/modals/index.d.ts +13 -14
- package/typings/packages/subscriptions-manager/src/modals/setupTest/modalTestRenderer.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/models/component/types.d.ts +3 -3
- package/typings/packages/subscriptions-manager/src/models/paymentProfile/types.d.ts +5 -5
- package/typings/packages/subscriptions-manager/src/models/subscription/index.d.ts +1 -1
- package/typings/packages/subscriptions-manager/src/models/subscription/types.d.ts +8 -8
- package/typings/packages/subscriptions-manager/src/pages/ComponentsAllocation/ComponentsAllocation.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/pages/CustomFields/CustomFields.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/pages/PaymentProfiles/PaymentProfiles.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/pages/Subscription/Subscription.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/pages/SubscriptionsList/SubscriptionsList.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/providers/PaymentProfilesProvider.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/providers/StateProvider.d.ts +2 -2
- package/typings/packages/subscriptions-manager/src/types.d.ts +4 -4
- package/typings/packages/toasts/src/ToastsPlayground.d.ts +2 -2
- package/typings/packages/toasts/src/containers/ToastsContainer/ToastsContainer.d.ts +2 -2
- package/typings/packages/toasts/src/machines/toast/types.d.ts +3 -3
- package/typings/packages/toasts/src/machines/toasts/types.d.ts +5 -5
- package/typings/packages/toasts/src/types.d.ts +2 -2
- package/typings/sdk/components-sdk/src/SDK.d.ts +2 -1
- package/typings/sdk/components-sdk/src/types.d.ts +2 -2
- package/typings/sdk/components-sdk/src/utils/createComponentFactory.d.ts +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Context = {
|
|
2
2
|
error?: {
|
|
3
3
|
errorCode: string;
|
|
4
4
|
};
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type Events = ChangePaymentProfileEvent | SetErrorEvent;
|
|
7
|
+
export type ChangePaymentProfileEvent = {
|
|
8
8
|
type: 'CHANGE_PAYMENT_PROFILE';
|
|
9
9
|
paymentProfileId: number;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type SetErrorEvent = {
|
|
12
12
|
type: string;
|
|
13
13
|
data: {
|
|
14
14
|
errorCode: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { changePlan } from './changePlan';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ChangePlanMachine = typeof changePlan;
|
|
4
|
+
type ChangePlanState = State<ChangePlanMachine['context']>;
|
|
5
5
|
export declare const getChangePlanStatus: (machineState: ChangePlanState) => {
|
|
6
6
|
configurePlanStep: boolean;
|
|
7
7
|
configurePlanStepLoading: boolean;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Interpreter } from 'xstate';
|
|
2
2
|
import { SubscriptionModel, SubscriptionProduct } from '../../models';
|
|
3
|
-
export
|
|
3
|
+
export type Context = {
|
|
4
4
|
products: Product[];
|
|
5
5
|
selectedPlan: number;
|
|
6
6
|
changePlanPreview: ChangePlanPreview;
|
|
7
7
|
threeDsActionLink: string;
|
|
8
8
|
error: ErrorTypes;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type ErrorTypes = '3DSecureAuthentication' | 'Generic' | 'CardDeclined';
|
|
11
|
+
export type Events = {
|
|
12
12
|
type: 'GET_PRODUCTS';
|
|
13
13
|
} | {
|
|
14
14
|
type: 'SELECT_PLAN';
|
|
@@ -20,18 +20,18 @@ export declare type Events = {
|
|
|
20
20
|
} | {
|
|
21
21
|
type: 'CONFIRM_CHANGE_PLAN';
|
|
22
22
|
} | ProductChangeDoneEvent | ThreeDsConfirmationEvent;
|
|
23
|
-
export
|
|
23
|
+
export type ThreeDsConfirmationEvent = {
|
|
24
24
|
type: '3DS_CONFIRMATION';
|
|
25
25
|
data: {
|
|
26
26
|
threeDsActionLink: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
export
|
|
29
|
+
export type ProductChangeDoneEvent = {
|
|
30
30
|
type: 'DONE';
|
|
31
31
|
data: SubscriptionModel;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
34
|
-
export
|
|
33
|
+
export type Product = Omit<SubscriptionProduct, 'trialPriceInCents' | 'trialInterval' | 'trialIntervalUnit' | ''>;
|
|
34
|
+
export type ChangePlanPreview = {
|
|
35
35
|
billingEndDate: string;
|
|
36
36
|
existingBalanceInCents: number;
|
|
37
37
|
product: {
|
|
@@ -44,5 +44,5 @@ export declare type ChangePlanPreview = {
|
|
|
44
44
|
totalInCents: number;
|
|
45
45
|
totalTaxInCents: number;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
48
|
-
export
|
|
47
|
+
export type ProductChangeStrategy = 'prorated' | 'delayed' | 'non-prorated';
|
|
48
|
+
export type ChangePlanInterpreter = Interpreter<Context, Record<string, any>, Events>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { createComponentMachine } from './component';
|
|
2
2
|
import { State } from 'xstate';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type ComponentMachine = ReturnType<typeof createComponentMachine>;
|
|
4
|
+
export type ComponentsState = State<ComponentMachine>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { ComponentsMachine } from './getComponentsUsedInBilling';
|
|
3
|
-
export
|
|
3
|
+
export type ComponentsState = State<ComponentsMachine['context']>;
|
|
4
4
|
export declare const getComponentsUpdatesAllowed: (machineState: ComponentsState) => boolean;
|
|
@@ -2,9 +2,9 @@ import { State, ActorRefFrom } from 'xstate';
|
|
|
2
2
|
import { ComponentMachine } from '../../component/types';
|
|
3
3
|
import { createComponentsMachine } from '../components';
|
|
4
4
|
import { ComponentTypes } from '../types';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
|
|
5
|
+
export type ComponentsMachine = ReturnType<typeof createComponentsMachine>;
|
|
6
|
+
export type ComponentsState = State<ComponentsMachine['context']>;
|
|
7
|
+
type CategorizedComponents = Record<ComponentTypes, {
|
|
8
8
|
id: number;
|
|
9
9
|
componentMachineRef: ActorRefFrom<ComponentMachine>;
|
|
10
10
|
}[]>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ActorRefFrom } from 'xstate';
|
|
2
2
|
import { ComponentModel } from '../../models';
|
|
3
3
|
import { ComponentMachine } from '../component/types';
|
|
4
|
-
export
|
|
4
|
+
export type ComponentsContext = {
|
|
5
5
|
subscriptionId: number;
|
|
6
6
|
items: {
|
|
7
7
|
component: ComponentModel;
|
|
8
8
|
ref: ActorRefFrom<ComponentMachine>;
|
|
9
9
|
}[];
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ComponentsEvents = {
|
|
12
12
|
type: 'FETCH_COMPONENTS';
|
|
13
13
|
} | {
|
|
14
14
|
type: 'UPDATE_COMPONENTS';
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type ComponentTypes = 'metered' | 'quantity' | 'on_off' | 'prepaid';
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { Coupon, SubscriptionModelWithCoupons } from '../../models/subscription/types';
|
|
2
2
|
import { coupons } from './coupons';
|
|
3
3
|
import { Interpreter, State } from 'xstate';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
4
|
+
export type CouponsMachine = typeof coupons;
|
|
5
|
+
export type CouponsMachineState = State<CouponsMachine['context']>;
|
|
6
|
+
export type Events = GetCouponsEvent | GetCouponsSuccessEvent | AddCouponEvent | AddAnotherCouponEvent | ErrorEvent;
|
|
7
|
+
export type Context = {
|
|
8
8
|
error: CouponErrorCodes | null;
|
|
9
9
|
coupons: SubscriptionModelWithCoupons['coupons'];
|
|
10
10
|
addedCoupon: Coupon;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type GetCouponsEvent = {
|
|
13
13
|
type: 'GET_COUPONS';
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type GetCouponsSuccessEvent = {
|
|
16
16
|
type: 'GET_COUPONS_SUCCESS';
|
|
17
17
|
data: SubscriptionModelWithCoupons;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type AddCouponEvent = {
|
|
20
20
|
type: 'ADD_COUPON';
|
|
21
21
|
couponCode: string;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type AddAnotherCouponEvent = {
|
|
24
24
|
type: 'ADD_ANOTHER_COUPON';
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type ErrorEvent = {
|
|
27
27
|
type: 'ERROR';
|
|
28
28
|
data: {
|
|
29
29
|
errorCode: CouponErrorCodes;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
export
|
|
33
|
-
export
|
|
32
|
+
export type CouponErrorCodes = 'CouponNotFound' | 'NonStackableCoupon' | 'CouponNoLongerActive' | 'InvalidCoupon';
|
|
33
|
+
export type CouponsMachineInterpreter = Interpreter<Context, any, Events>;
|
package/typings/packages/subscriptions-manager/src/machines/createPaymentProfile/actions.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import { CreditCardFields } from "../../../../payments-sdk/src";
|
|
2
|
-
import { AddressFields } from "../../../../address/src";
|
|
3
1
|
import { Context } from './types';
|
|
4
|
-
export declare const resetFieldError: import("xstate").AssignAction<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
9
|
-
paymentMethod: {
|
|
10
|
-
errors: {};
|
|
11
|
-
values: CreditCardFields;
|
|
12
|
-
};
|
|
13
|
-
}, import("xstate").EventObject>;
|
|
14
|
-
export declare const setPaymentProfileIdForReplacement: import("xstate").AssignAction<Context, import("xstate").EventObject>;
|
|
15
|
-
export declare const assignCreatedProfile: import("xstate").AssignAction<Context, import("xstate").EventObject>;
|
|
16
|
-
export declare const serializePaymentProfilesSubscriptions: import("xstate").AssignAction<Context, import("xstate").EventObject>;
|
|
2
|
+
export declare const resetFieldError: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
3
|
+
export declare const setPaymentProfileIdForReplacement: import("xstate").AssignAction<Context, import("xstate").EventObject, import("xstate").EventObject>;
|
|
4
|
+
export declare const assignCreatedProfile: import("xstate").AssignAction<Context, import("xstate").EventObject, import("xstate").EventObject>;
|
|
5
|
+
export declare const serializePaymentProfilesSubscriptions: import("xstate").AssignAction<Context, import("xstate").EventObject, import("xstate").EventObject>;
|
package/typings/packages/subscriptions-manager/src/machines/createPaymentProfile/selectors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { createPaymentProfile } from './createPaymentProfile';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type PaymentProfileMachine = typeof createPaymentProfile;
|
|
4
|
+
type PaymentProfileState = State<PaymentProfileMachine['context']>;
|
|
5
5
|
export declare const getPaymentProfile: (machineState: PaymentProfileState) => {
|
|
6
6
|
paymentMethod: {
|
|
7
7
|
hostedFieldsErrors: string[];
|
|
@@ -3,18 +3,18 @@ import { ObjectSchema } from 'yup';
|
|
|
3
3
|
import { TokenizationError, CreditCardFields, createCreditCardValidationSchema } from "../../../../payments-sdk/src";
|
|
4
4
|
import { AddressFields, createAddressValidationSchema } from "../../../../address/src";
|
|
5
5
|
import { PaymentProfile } from '../../models/paymentProfile';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
6
|
+
export type FieldError = 'required' | 'invalid';
|
|
7
|
+
export type PaymentProfileFromType = 'billingAddress' | 'paymentMethod';
|
|
8
|
+
export type PaymentProfileFields = keyof AddressFields | keyof CreditCardFields;
|
|
9
|
+
export type PaymentMethod = 'creditCard' | 'bankAccount';
|
|
10
|
+
export type PaymentProfileReplacementResponse = {
|
|
11
11
|
id: number;
|
|
12
12
|
product: {
|
|
13
13
|
name: string;
|
|
14
14
|
productFamilyId: number;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type Context = {
|
|
18
18
|
token: string | null;
|
|
19
19
|
tokenizationError: TokenizationError;
|
|
20
20
|
createdProfile: PaymentProfile | null;
|
|
@@ -43,16 +43,16 @@ export declare type Context = {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type ResetFieldErrorEvent = {
|
|
47
47
|
type: 'RESET_FIELD_ERROR';
|
|
48
48
|
form: PaymentProfileFromType;
|
|
49
49
|
field: keyof AddressFields | keyof CreditCardFields;
|
|
50
50
|
};
|
|
51
|
-
export
|
|
51
|
+
export type SetPaymentProfileIdForReplacementEvent = {
|
|
52
52
|
type: 'SET_PAYMENT_PROFILES_ID_FOR_REPLACEMENT';
|
|
53
53
|
paymentProfileId: number;
|
|
54
54
|
};
|
|
55
|
-
export
|
|
55
|
+
export type ReplacePaymentProfilesSuccessEvent = {
|
|
56
56
|
type: 'SUCCESS_REPLACE_PAYMENT_PROFILES';
|
|
57
57
|
data: {
|
|
58
58
|
subscriptions: {
|
|
@@ -60,7 +60,7 @@ export declare type ReplacePaymentProfilesSuccessEvent = {
|
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export type Events = {
|
|
64
64
|
type: 'SAVE_PAYMENT_METHOD';
|
|
65
65
|
} | ResetFieldErrorEvent | {
|
|
66
66
|
type: 'SET_VALIDATION_ERRORS';
|
|
@@ -83,4 +83,4 @@ export declare type Events = {
|
|
|
83
83
|
} | SetPaymentProfileIdForReplacementEvent | {
|
|
84
84
|
type: 'RETRY_REPLACE_PAYMENT_PROFILES';
|
|
85
85
|
} | ReplacePaymentProfilesSuccessEvent;
|
|
86
|
-
export
|
|
86
|
+
export type PaymentProfileInterpreter = Interpreter<Context, Record<string, any>, Events>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { createCustomFieldsMachine } from './customFields';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type CustomFieldsMachine = ReturnType<typeof createCustomFieldsMachine>;
|
|
4
|
+
type CustomFieldsState = State<CustomFieldsMachine['context']>;
|
|
5
5
|
export declare const getSubscriptionCustomFields: (machineState: CustomFieldsState) => import("../../../../custom-fields").CustomField[];
|
|
6
6
|
export declare const getSubscriptionCustomFieldsState: (machineState: CustomFieldsState) => {
|
|
7
7
|
isIdle: boolean;
|
package/typings/packages/subscriptions-manager/src/machines/deletePaymentProfile/selectors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { deletePaymentProfile } from './deletePaymentProfile';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type DeletePaymentProfileMachine = typeof deletePaymentProfile;
|
|
4
|
+
type DeletePaymentProfile = State<DeletePaymentProfileMachine['context']>;
|
|
5
5
|
export declare const getDeletePaymentProfileStatus: (machineState: DeletePaymentProfile) => {
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
hasError: boolean;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Context = {
|
|
2
2
|
error: null | {
|
|
3
3
|
errorCode: string;
|
|
4
4
|
subscriptions: AffectedSubscription[];
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type AffectedSubscription = {
|
|
8
8
|
id: number;
|
|
9
9
|
product: {
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type Events = {
|
|
14
14
|
type: 'DELETE_PAYMENT_PROFILE';
|
|
15
15
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { modals } from './modals';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ModalsMachine = typeof modals;
|
|
4
|
+
type ModalsState = State<ModalsMachine['context']>;
|
|
5
5
|
export declare const getCreatePaymentProfile: (machineState: ModalsState) => {
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
meta: {
|
|
@@ -2,7 +2,7 @@ import { Interpreter } from 'xstate';
|
|
|
2
2
|
import { PaymentMethod } from '../createPaymentProfile';
|
|
3
3
|
import { CouponsMachineInterpreter } from '../coupons/types';
|
|
4
4
|
import { Currency } from "../../../../formatters/src";
|
|
5
|
-
export
|
|
5
|
+
export type Context = {
|
|
6
6
|
deletePaymentProfile: {
|
|
7
7
|
catalogId: number | null;
|
|
8
8
|
subscriptionId: number | null;
|
|
@@ -65,7 +65,7 @@ export declare type Context = {
|
|
|
65
65
|
currency: Currency;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type Events = {
|
|
69
69
|
type: 'CLOSE_MODAL';
|
|
70
70
|
} | {
|
|
71
71
|
type: 'SHOW_CREATE_PAYMENT_PROFILE';
|
|
@@ -129,4 +129,4 @@ export declare type Events = {
|
|
|
129
129
|
couponService: CouponsMachineInterpreter;
|
|
130
130
|
currency: Currency;
|
|
131
131
|
};
|
|
132
|
-
export
|
|
132
|
+
export type ModalsInterpreter = Interpreter<Context, Record<string, any>, Events>;
|
package/typings/packages/subscriptions-manager/src/machines/pauseSubscription/selectors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { pauseSubscription } from './pauseSubscription';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type PauseSubscriptionsMachine = typeof pauseSubscription;
|
|
4
|
+
type PauseSubscriptionState = State<PauseSubscriptionsMachine['context']>;
|
|
5
5
|
export declare const getPauseSubscriptionStatus: (machineState: PauseSubscriptionState) => {
|
|
6
6
|
idle: boolean;
|
|
7
7
|
pauseSubscriptionLoading: boolean;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { SubscriptionStatus } from '../../models';
|
|
2
|
-
export
|
|
2
|
+
export type PauseSubscriptionContext = {
|
|
3
3
|
status: SubscriptionStatus;
|
|
4
4
|
automaticallyResumeAt: string;
|
|
5
5
|
error?: {
|
|
6
6
|
errorCode: string;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type SetSubscriptionStatusEvent = {
|
|
10
10
|
type: string;
|
|
11
11
|
data: {
|
|
12
12
|
state: SubscriptionStatus;
|
|
13
13
|
automaticallyResumeAt: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type SetErrorEvent = {
|
|
17
17
|
type: string;
|
|
18
18
|
data: {
|
|
19
19
|
errorCode: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type PauseSubscriptionEvent = {
|
|
23
23
|
type: 'PAUSE_SUBSCRIPTION';
|
|
24
24
|
subscriptionId: number;
|
|
25
25
|
automaticallyResumeAt: Date;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type Events = {
|
|
28
28
|
type: 'PAUSE_SUBSCRIPTION';
|
|
29
29
|
} | PauseSubscriptionEvent | SetSubscriptionStatusEvent | SetErrorEvent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { paymentGateway } from './paymentGateway';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type PaymentGatewayMachine = typeof paymentGateway;
|
|
4
|
+
type PaymentGatewayState = State<PaymentGatewayMachine['context']>;
|
|
5
5
|
export declare const getGatewayConfig: (machineState: PaymentGatewayState) => {
|
|
6
6
|
serverHost: string;
|
|
7
7
|
securityToken: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Interpreter, EventObject } from 'xstate';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type Context = GatewayConfig;
|
|
3
|
+
export type Events = EventObject;
|
|
4
|
+
export type GatewayConfig = {
|
|
5
5
|
serverHost: string;
|
|
6
6
|
publicKey: string | null;
|
|
7
7
|
securityToken: string | null;
|
|
@@ -19,4 +19,4 @@ export declare type GatewayConfig = {
|
|
|
19
19
|
enabled: boolean;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type PaymentGatewayInterpreter = Interpreter<Context, Record<string, any>, Events>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Context } from './types';
|
|
2
|
-
export declare const setActivePaymentProfile: import("xstate").AssignAction<Context, import("xstate").EventObject>;
|
|
3
|
-
export declare const addPaymentProfile: import("xstate").AssignAction<Context, import("xstate").EventObject>;
|
|
4
|
-
export declare const deletePaymentProfile: import("xstate").AssignAction<Context, import("xstate").EventObject>;
|
|
2
|
+
export declare const setActivePaymentProfile: import("xstate").AssignAction<Context, import("xstate").EventObject, import("xstate").EventObject>;
|
|
3
|
+
export declare const addPaymentProfile: import("xstate").AssignAction<Context, import("xstate").EventObject, import("xstate").EventObject>;
|
|
4
|
+
export declare const deletePaymentProfile: import("xstate").AssignAction<Context, import("xstate").EventObject, import("xstate").EventObject>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { paymentProfiles } from './paymentProfiles';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type PaymentProfilesMachine = typeof paymentProfiles;
|
|
4
|
+
type PaymentProfilesState = State<PaymentProfilesMachine['context']>;
|
|
5
5
|
export declare const getPaymentProfiles: (machineState: PaymentProfilesState) => import("../../models/paymentProfile").PaymentProfile[];
|
|
6
6
|
export declare const getPaymentProfilesById: (paymentProfileId: number) => (machineState: PaymentProfilesState) => import("../../models/paymentProfile").PaymentProfile;
|
|
7
7
|
export declare const getPaymentProfilesState: (machineState: PaymentProfilesState) => {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Interpreter } from 'xstate';
|
|
2
2
|
import { PaymentProfile } from '../../models/paymentProfile';
|
|
3
|
-
export
|
|
3
|
+
export type Context = {
|
|
4
4
|
subscriptionCurrency: string;
|
|
5
5
|
vaultCurrencies: Record<string, string[]>;
|
|
6
6
|
paymentProfiles: PaymentProfile[];
|
|
7
7
|
subscriptionPaymentProfileId: number;
|
|
8
8
|
error: null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type Events = InitializeEvent | AddPaymentProfileEvent | ChangePaymentProfileEvent | RetryFetchEvent | DeletePaymentProfileEvent;
|
|
11
|
+
export type InitializeEvent = {
|
|
12
12
|
type: 'INITIALIZE';
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type RetryFetchEvent = {
|
|
15
15
|
type: 'RETRY_FETCH';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type DeletePaymentProfileEvent = {
|
|
18
18
|
type: 'DELETE_PAYMENT_PROFILE';
|
|
19
19
|
paymentProfileId: number;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type AddPaymentProfileEvent = {
|
|
22
22
|
type: 'ADD_PAYMENT_PROFILE';
|
|
23
23
|
paymentProfile: PaymentProfile;
|
|
24
24
|
paymentProfileId: PaymentProfile['id'];
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type ChangePaymentProfileEvent = {
|
|
27
27
|
type: 'CHANGE_PAYMENT_PROFILE';
|
|
28
28
|
paymentProfileId: PaymentProfile['id'];
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type PaymentProfilesInterpreter = Interpreter<Context, Record<string, any>, Events>;
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const setCatalogExpandState: import("xstate").AssignAction<
|
|
2
|
-
expandedCatalogItems: number[];
|
|
3
|
-
}, import("xstate").EventObject>;
|
|
1
|
+
export declare const setCatalogExpandState: import("xstate").AssignAction<unknown, import("xstate").EventObject, import("xstate").EventObject>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { productCatalog } from './productCatalog';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ProductCatalogMachine = typeof productCatalog;
|
|
4
|
+
type ProductCatalogState = State<ProductCatalogMachine['context']>;
|
|
5
5
|
export declare const getProductCatalogItems: (machineState: ProductCatalogState) => import("./types").ProductFamily[];
|
|
6
6
|
export declare const getProductCatalogById: (catalogId: number) => (machineState: ProductCatalogState) => import("./types").ProductFamily;
|
|
7
7
|
export declare const getProductCatalogFetchStatus: (machineState: ProductCatalogState) => {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { Interpreter } from 'xstate';
|
|
2
|
-
export
|
|
2
|
+
export type Context = {
|
|
3
3
|
items: ProductFamily[];
|
|
4
4
|
expandedCatalogItems: number[];
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type SetExpandStateEvent = {
|
|
7
7
|
type: 'SET_CATALOG_EXPAND';
|
|
8
8
|
catalogId: number;
|
|
9
9
|
isExpanded: boolean;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type Events = {
|
|
12
12
|
type: 'INITIALIZE';
|
|
13
13
|
} | {
|
|
14
14
|
type: 'RETRY_FETCH_PRODUCT_CATALOG';
|
|
15
15
|
} | SetExpandStateEvent;
|
|
16
|
-
export
|
|
16
|
+
export type ProductFamily = {
|
|
17
17
|
id: number;
|
|
18
18
|
name: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type ProductCatalogInterpreter = Interpreter<Context, Record<string, any>, Events>;
|
package/typings/packages/subscriptions-manager/src/machines/reactivateSubscription/selectors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { reactivateSubscription } from './reactivateSubscription';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ReactivateSubscriptionMachine = typeof reactivateSubscription;
|
|
4
|
+
type ReactivateSubscriptionState = State<ReactivateSubscriptionMachine['context']>;
|
|
5
5
|
export declare const getReactivateSubscriptionStatus: (machineState: ReactivateSubscriptionState) => {
|
|
6
6
|
idle: boolean;
|
|
7
7
|
reactivateSubscriptionLoading: boolean;
|
package/typings/packages/subscriptions-manager/src/machines/reactivateSubscription/types.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ReactivateSubscriptionContext = {
|
|
2
2
|
error?: {
|
|
3
3
|
errorCode: string;
|
|
4
4
|
};
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type SetErrorEvent = {
|
|
7
7
|
type: string;
|
|
8
8
|
data: {
|
|
9
9
|
errorCode: string;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ReactivateSubscriptionEvent = {
|
|
13
13
|
type: 'REACTIVATE_SUBSCRIPTION';
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type ReactivateSubscriptionDoneEvent = {
|
|
16
16
|
type: 'REACTIVATE_SUBSCRIPTION_DONE';
|
|
17
17
|
data: {
|
|
18
18
|
currentBillingAmountInCents: number;
|
|
@@ -20,4 +20,4 @@ export declare type ReactivateSubscriptionDoneEvent = {
|
|
|
20
20
|
nextAssessmentAt: string;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type Events = ReactivateSubscriptionEvent | SetErrorEvent | ReactivateSubscriptionDoneEvent;
|
package/typings/packages/subscriptions-manager/src/machines/resumeSubscription/selectors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { resumeSubscription } from './resumeSubscription';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type ResumeSubscriptionsMachine = typeof resumeSubscription;
|
|
4
|
+
type ResumeSubscriptionState = State<ResumeSubscriptionsMachine['context']>;
|
|
5
5
|
export declare const getResumeSubscriptionStatus: (machineState: ResumeSubscriptionState) => {
|
|
6
6
|
resumeSubscriptionLoading: boolean;
|
|
7
7
|
resumeSubscriptionSuccess: boolean;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { SubscriptionCharge, SubscriptionStatus } from '../../models/subscription/types';
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type Events = ResumeSubscriptionEvent | SetSubscriptionAutoResumptionDateEvent | GetResumptionConfigEvent | ResumeSubscriptionAtEvent | SetErrorEvent;
|
|
3
|
+
type ResumeSubscriptionEvent = {
|
|
4
4
|
type: 'RESUME_SUBSCRIPTION';
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type GetResumptionConfigEvent = {
|
|
7
7
|
type: 'GET_RESUMPTION_CONFIG';
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type ResumeSubscriptionAtEvent = {
|
|
10
10
|
type: 'RESUME_SUBSCRIPTION_AT';
|
|
11
11
|
resumeDate: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type SetSubscriptionAutoResumptionDateEvent = {
|
|
14
14
|
type: string;
|
|
15
15
|
data: {
|
|
16
16
|
state: SubscriptionStatus;
|
|
17
17
|
automaticallyResumeAt: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type Context = {
|
|
21
21
|
automaticallyResumeAt: string;
|
|
22
22
|
error?: {
|
|
23
23
|
errorCode: string;
|
|
24
24
|
};
|
|
25
25
|
resumptionCharge: SubscriptionCharge;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type SetErrorEvent = {
|
|
28
28
|
type: string;
|
|
29
29
|
data: {
|
|
30
30
|
errorCode: string;
|