@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,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { SortMode } from '../types';
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
sortMode: SortMode;
|
|
5
5
|
};
|
|
6
|
-
export declare const SortIndicator: ({ sortMode }: Props) => JSX.Element;
|
|
6
|
+
export declare const SortIndicator: ({ sortMode }: Props) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GridProps, LayoutProps, PaddingProps } from 'styled-system';
|
|
3
|
-
export
|
|
3
|
+
export type TableCellProps = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
align?: 'left' | 'center' | 'right';
|
|
6
6
|
} & LayoutProps & PaddingProps & GridProps;
|
|
7
|
-
declare const TableCell: ({ children, align, ...rest }: TableCellProps) => JSX.Element;
|
|
7
|
+
declare const TableCell: ({ children, align, ...rest }: TableCellProps) => React.JSX.Element;
|
|
8
8
|
export default TableCell;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridProps, JustifyContentProps, PaddingProps } from 'styled-system';
|
|
2
2
|
import { Default } from '../../types';
|
|
3
|
-
export
|
|
3
|
+
export type TableFooterProps = JustifyContentProps & PaddingProps & GridProps & {
|
|
4
4
|
variant?: Default;
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { TableHeaderProps } from './types';
|
|
3
|
-
declare const TableHeader: ({ sortMode, children, align, onClick, minWidth, disableSort, ...rest }: TableHeaderProps) => JSX.Element;
|
|
3
|
+
declare const TableHeader: ({ sortMode, children, align, onClick, minWidth, disableSort, ...rest }: TableHeaderProps) => React.JSX.Element;
|
|
4
4
|
export default TableHeader;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentSettings, ComponentVariant } from '../../../types';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
2
|
+
export type HeaderVariant = 'primary' | 'secondary';
|
|
3
|
+
export type Size = 'regular';
|
|
4
|
+
export type RowVariant = 'body' | 'head';
|
|
5
|
+
export type Default = 'default';
|
|
6
|
+
export type TableSettings = ComponentSettings<{
|
|
7
7
|
header: ComponentVariant<'variant', HeaderVariant>;
|
|
8
8
|
cell: ComponentVariant<'cellSize', Size>;
|
|
9
9
|
table: ComponentVariant<'size', Size>;
|
|
@@ -11,4 +11,4 @@ export declare type TableSettings = ComponentSettings<{
|
|
|
11
11
|
wrapper: ComponentVariant<'wrapper', Default>;
|
|
12
12
|
footer: ComponentVariant<'variant', Default>;
|
|
13
13
|
}>;
|
|
14
|
-
export
|
|
14
|
+
export type SortMode = null | 'asc' | 'desc';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Scale } from 'styled-system';
|
|
2
|
-
export
|
|
2
|
+
export type ResponsiveValue = string | number | Scale;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Spaces: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Spaces: () => React.JSX.Element;
|
|
3
3
|
export default Spaces;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Theme } from '../themeBase';
|
|
3
|
-
export
|
|
3
|
+
export type ThemeProviderProps = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
theme: Theme;
|
|
6
6
|
};
|
|
7
|
-
declare const ThemeProvider: ({ children, theme }: ThemeProviderProps) => JSX.Element;
|
|
7
|
+
declare const ThemeProvider: ({ children, theme }: ThemeProviderProps) => React.JSX.Element;
|
|
8
8
|
export default ThemeProvider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PartialDeep } from 'type-fest';
|
|
2
2
|
import { Theme, ComponentsVariants } from '../themeBase';
|
|
3
|
-
|
|
3
|
+
type Components = keyof Theme['components'];
|
|
4
4
|
declare class ThemeUtilities {
|
|
5
5
|
static createTheme(partialTheme?: PartialDeep<Theme>): Theme;
|
|
6
6
|
static getComponentCSSOverrides({ theme }: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
type ColorVariants = 'base' | 'light' | 'dark';
|
|
3
|
+
export type Colors = 'primary' | 'secondary';
|
|
4
|
+
export type Palette = {
|
|
5
5
|
[key in Colors]: {
|
|
6
6
|
[key in ColorVariants]: string;
|
|
7
7
|
};
|
|
@@ -12,9 +12,9 @@ export interface ComponentVariant<P extends string, V extends string> {
|
|
|
12
12
|
[key in V]: CSSObject;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type ComponentSettings<V> = {
|
|
16
16
|
cssOverrides?: CSSObject;
|
|
17
17
|
componentVariants: V;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type Components = 'Button';
|
|
20
20
|
export {};
|
|
@@ -96,12 +96,12 @@ export declare const theme: {
|
|
|
96
96
|
TextArea: import("./components/atoms/TextArea/types").TextArea;
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
-
export
|
|
100
|
-
export
|
|
101
|
-
export
|
|
99
|
+
export type ComponentsTheme = typeof theme;
|
|
100
|
+
export type FontWeight = (typeof theme.fontWeights)[number] | 'inherit';
|
|
101
|
+
export type Theme = ComponentsTheme & {
|
|
102
102
|
components: Record<keyof ComponentsTheme['components'], {
|
|
103
103
|
cssOverrides?: CSSObject;
|
|
104
104
|
}>;
|
|
105
105
|
};
|
|
106
|
-
export
|
|
107
|
-
export
|
|
106
|
+
export type Components = Get<ComponentsTheme, 'components'>;
|
|
107
|
+
export type ComponentsVariants = keyof Get<Components, 'Button.componentVariants'> | keyof Get<Components, 'BodyText.componentVariants'> | keyof Get<Components, 'Heading.componentVariants'> | keyof Get<Components, 'Input.componentVariants'> | keyof Get<Components, 'InputMessage.componentVariants'> | keyof Get<Components, 'Tag.componentVariants'> | keyof Get<Components, 'Card.componentVariants'> | keyof Get<Components, 'Tooltip.componentVariants'> | keyof Get<Components, 'Toggle.componentVariants'> | keyof Get<Components, 'ProgressBar.componentVariants'> | keyof Get<Components, 'BankAccount.componentVariants'> | keyof Get<Components, 'CreditCard.componentVariants'> | keyof Get<Components, 'RadioSelect.componentVariants'> | keyof Get<Components, 'FormField.componentVariants'> | keyof Get<Components, 'Checkbox.componentVariants'> | keyof Get<Components, 'TagInput.componentVariants'> | keyof Get<Components, 'Select.componentVariants'> | keyof Get<Components, 'StepHorizontal.componentVariants'> | keyof Get<Components, 'StepVertical.componentVariants'> | keyof Get<Components, 'Table.componentVariants'> | keyof Get<Components, 'ToastMessage.componentVariants'> | keyof Get<Components, 'Tabs.componentVariants'> | keyof Get<Components, 'RadioButton.componentVariants'> | keyof Get<Components, 'Options.componentVariants'> | keyof Get<Components, 'TextArea.componentVariants'> | keyof Get<Components, 'CreditCardNumber.componentVariants'> | keyof Get<Components, 'CreditCardHolderDetails.componentVariants'> | keyof Get<Components, 'CreditCardAddress.componentVariants'> | keyof Get<Components, 'Accordion.componentVariants'> | keyof Get<Components, 'PageHeaderTitle.componentVariants'> | keyof Get<Components, 'PageHeaderSubtitle.componentVariants'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
2
|
import { ResponsiveValue } from 'styled-system';
|
|
3
|
-
export
|
|
3
|
+
export type StyleFn = (props: Record<string, any>) => string | number;
|
|
4
4
|
export interface ComponentVariant<P extends string, V extends string> {
|
|
5
5
|
prop: P;
|
|
6
6
|
variants: {
|
|
@@ -9,8 +9,8 @@ export interface ComponentVariant<P extends string, V extends string> {
|
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export type ComponentSettings<V> = {
|
|
13
13
|
cssOverrides?: CSSObject;
|
|
14
14
|
componentVariants: V;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type Components = 'Button' | 'BodyText' | 'Heading';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ComponentSettings } from './types';
|
|
3
|
-
declare const App: ({ customerProfile }: ComponentSettings) => JSX.Element;
|
|
3
|
+
declare const App: ({ customerProfile }: ComponentSettings) => React.JSX.Element;
|
|
4
4
|
export default App;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ContactDetailsModel } from '../../models/customerDetails';
|
|
3
3
|
export interface ContactDetailsProps {
|
|
4
4
|
contactDetails: ContactDetailsModel;
|
|
5
5
|
onEdit: () => void;
|
|
6
6
|
editAllowed: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const ContactDetails: ({ contactDetails, onEdit, editAllowed, }: ContactDetailsProps) => JSX.Element;
|
|
8
|
+
declare const ContactDetails: ({ contactDetails, onEdit, editAllowed, }: ContactDetailsProps) => React.JSX.Element;
|
|
9
9
|
export default ContactDetails;
|
package/typings/packages/customer-details/src/components/ContactDetailsForm/ContactDetailsForm.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ContactDetailsModel } from '../../models/customerDetails';
|
|
3
|
-
export
|
|
3
|
+
export type ContactDetailsFormProps = {
|
|
4
4
|
values: ContactDetailsModel;
|
|
5
5
|
onSubmit: (values: ContactDetailsModel) => void;
|
|
6
6
|
onCancel: () => void;
|
|
7
7
|
isSaving: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const ContactDetailsForm: ({ values, onCancel, onSubmit, isSaving, }: ContactDetailsFormProps) => JSX.Element;
|
|
9
|
+
declare const ContactDetailsForm: ({ values, onCancel, onSubmit, isSaving, }: ContactDetailsFormProps) => React.JSX.Element;
|
|
10
10
|
export default ContactDetailsForm;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { CustomField } from "../../../../custom-fields/src";
|
|
3
|
-
export
|
|
3
|
+
export type Props = {
|
|
4
4
|
customFields: CustomField[];
|
|
5
5
|
onEdit: () => void;
|
|
6
6
|
};
|
|
7
|
-
declare const CustomFields: ({ customFields, onEdit }: Props) => JSX.Element;
|
|
7
|
+
declare const CustomFields: ({ customFields, onEdit }: Props) => React.JSX.Element;
|
|
8
8
|
export default CustomFields;
|
package/typings/packages/customer-details/src/components/CustomFieldsForm/CustomFieldsForm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
1
|
+
import React, { MutableRefObject } from 'react';
|
|
2
2
|
import { CustomField } from "../../../../custom-fields/src";
|
|
3
|
-
|
|
3
|
+
type CustomFieldsFormProps = {
|
|
4
4
|
customFields: CustomField[];
|
|
5
5
|
onChange: (id: number, value: string | number) => void;
|
|
6
6
|
onSave: () => void;
|
|
@@ -9,5 +9,5 @@ declare type CustomFieldsFormProps = {
|
|
|
9
9
|
isError: boolean;
|
|
10
10
|
portalContainer?: MutableRefObject<HTMLDivElement>;
|
|
11
11
|
};
|
|
12
|
-
declare const CustomFieldsForm: ({ customFields, onChange, onSave, onCancel, isSaving, isError, portalContainer, }: CustomFieldsFormProps) => JSX.Element;
|
|
12
|
+
declare const CustomFieldsForm: ({ customFields, onChange, onSave, onCancel, isSaving, isError, portalContainer, }: CustomFieldsFormProps) => React.JSX.Element;
|
|
13
13
|
export default CustomFieldsForm;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const CustomerDetailsLoader: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const CustomerDetailsLoader: () => React.JSX.Element;
|
|
3
3
|
export default CustomerDetailsLoader;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type DetailsRowProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
value: string;
|
|
5
5
|
hint?: string;
|
|
6
6
|
};
|
|
7
|
-
declare const DetailRow: ({ label, value, hint }: DetailsRowProps) => JSX.Element;
|
|
7
|
+
declare const DetailRow: ({ label, value, hint }: DetailsRowProps) => React.JSX.Element;
|
|
8
8
|
export default DetailRow;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default DetailsRow;
|
|
1
|
+
export { default as DetailsRow } from './DetailsRow';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const DetailsSectionLoadingSkeleton: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DetailsSectionLoadingSkeleton: () => React.JSX.Element;
|
|
3
3
|
export default DetailsSectionLoadingSkeleton;
|
package/typings/packages/customer-details/src/components/ShippingAddress/ShippingAddress.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ShippingAddressModel } from '../../models/customerDetails/types';
|
|
3
|
-
export
|
|
3
|
+
export type ShippingAddressProps = {
|
|
4
4
|
shippingAddress: ShippingAddressModel;
|
|
5
5
|
onEdit: () => void;
|
|
6
6
|
editAllowed: boolean;
|
|
7
7
|
};
|
|
8
|
-
declare const ShippingAddress: ({ shippingAddress, onEdit, editAllowed, }: ShippingAddressProps) => JSX.Element;
|
|
8
|
+
declare const ShippingAddress: ({ shippingAddress, onEdit, editAllowed, }: ShippingAddressProps) => React.JSX.Element;
|
|
9
9
|
export default ShippingAddress;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ShippingAddressModel } from '../../models/customerDetails/types';
|
|
3
|
-
export
|
|
3
|
+
export type ShippingAddressFormProps = {
|
|
4
4
|
shippingAddress: ShippingAddressModel;
|
|
5
5
|
onSubmit: (values: ShippingAddressModel) => void;
|
|
6
6
|
onCancel: () => void;
|
|
7
7
|
isSaving: boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare const US_FORMAT_ADDRESS_FORM: string[];
|
|
10
|
-
declare const ShippingAddressForm: ({ shippingAddress, onSubmit, onCancel, isSaving, }: ShippingAddressFormProps) => JSX.Element;
|
|
10
|
+
declare const ShippingAddressForm: ({ shippingAddress, onSubmit, onCancel, isSaving, }: ShippingAddressFormProps) => React.JSX.Element;
|
|
11
11
|
export default ShippingAddressForm;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import ContactDetails from './ContactDetails';
|
|
2
2
|
import ContactDetailsForm from './ContactDetailsForm';
|
|
3
|
-
import DetailsRow from './DetailsRow';
|
|
4
3
|
import ShippingAddress from './ShippingAddress';
|
|
5
4
|
import ShippingAddressForm from './ShippingAddressForm';
|
|
6
5
|
import DetailsSectionLoadingSkeleton from './DetailsSectionLoadingSkeleton';
|
|
7
6
|
import CustomerDetailsLoader from './CustomerDetailsLoader';
|
|
8
|
-
export {
|
|
7
|
+
export { DetailsRow } from './DetailsRow';
|
|
8
|
+
export { ContactDetails, ContactDetailsForm, ShippingAddress, ShippingAddressForm, DetailsSectionLoadingSkeleton, CustomerDetailsLoader, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const CustomFieldsContainer: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const CustomFieldsContainer: () => React.JSX.Element;
|
|
3
3
|
export default CustomFieldsContainer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const CustomerDetailsContainer: ({}: {}) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const CustomerDetailsContainer: ({}: {}) => React.JSX.Element;
|
|
3
3
|
export default CustomerDetailsContainer;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CustomerDetails };
|
|
1
|
+
export { default as CustomerDetails } from './CustomerDetails';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { State } from 'xstate';
|
|
2
2
|
import { customFields } from './customFields';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type CustomFieldsMachine = typeof customFields;
|
|
4
|
+
export type CustomFieldsState = State<CustomFieldsMachine['context']>;
|
|
5
5
|
export declare const getCustomFieldsState: (machineState: CustomFieldsState) => {
|
|
6
6
|
isFetchError: boolean;
|
|
7
7
|
isEdit: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Interpreter } from 'xstate';
|
|
2
2
|
import { CustomField } from "../../../../custom-fields/src";
|
|
3
|
-
export
|
|
3
|
+
export type Context = {
|
|
4
4
|
customFields: CustomField[];
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CustomFieldsInterpreter = Interpreter<Context, Record<string, any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { customerData } from './customerData';
|
|
2
2
|
import { State } from 'xstate';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type CustomerDataMachine = typeof customerData;
|
|
4
|
+
export type CustomerDataState = State<CustomerDataMachine['context']>;
|
|
5
5
|
export declare const getContactDataLoading: (machineState: CustomerDataState) => {
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Interpreter } from 'xstate';
|
|
2
2
|
import { CustomerDetailsModel } from '../../models';
|
|
3
|
-
export
|
|
3
|
+
export type Context = {
|
|
4
4
|
initialData: CustomerDetailsModel;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CustomerDataInterpreter = Interpreter<Context, Record<string, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CustomerDetailsModel = {
|
|
2
2
|
address: string;
|
|
3
3
|
address2: string;
|
|
4
4
|
ccEmails: string[];
|
|
@@ -13,5 +13,5 @@ export declare type CustomerDetailsModel = {
|
|
|
13
13
|
zip: string;
|
|
14
14
|
phoneNumber: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type ContactDetailsModel = Pick<CustomerDetailsModel, 'email' | 'firstName' | 'lastName' | 'organization' | 'phoneNumber' | 'vatNumber' | 'ccEmails'>;
|
|
17
|
+
export type ShippingAddressModel = Pick<CustomerDetailsModel, 'address' | 'address2' | 'city' | 'country' | 'state' | 'zip'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type Props = {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare const GlobalStateProvider: ({ children }: Props) => JSX.Element;
|
|
5
|
+
export declare const GlobalStateProvider: ({ children }: Props) => React.JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CustomerDetailsModel } from './models';
|
|
2
|
-
export
|
|
2
|
+
export type ComponentSettings = {
|
|
3
3
|
customerProfile: {
|
|
4
4
|
editAllowed: boolean;
|
|
5
5
|
customerDataVisibleFields: CustomerDataVisibleFields;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type CustomerDataVisibleFields = Array<keyof CustomerDetailsModel>;
|
|
@@ -156,7 +156,7 @@ declare class DataAccess {
|
|
|
156
156
|
}[];
|
|
157
157
|
}>;
|
|
158
158
|
getGatewayConfig(): Promise<{
|
|
159
|
-
vaultCurrencies: {}
|
|
159
|
+
vaultCurrencies: {};
|
|
160
160
|
requiredFields: {
|
|
161
161
|
creditCard: string[];
|
|
162
162
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Subscription } from './subscription';
|
|
2
|
-
export
|
|
2
|
+
export type AllocationDetails = {
|
|
3
3
|
id: number;
|
|
4
4
|
direction: 'upgrade' | 'downgrade';
|
|
5
5
|
transaction_type: 'charge' | 'credit';
|
|
@@ -12,12 +12,12 @@ export declare type AllocationDetails = {
|
|
|
12
12
|
memo: string;
|
|
13
13
|
component_handle: string;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type Allocation = Pick<AllocationDetails, 'memo' | 'quantity' | 'id'>;
|
|
16
|
+
export type AllocationResponse = {
|
|
17
17
|
allocations: Allocation[];
|
|
18
18
|
subscription: Pick<Subscription, 'id' | 'current_billing_amount_in_cents' | 'balance_in_cents'>;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type AllocationsPreview = {
|
|
21
21
|
start_date: string;
|
|
22
22
|
end_date: string;
|
|
23
23
|
period_type: string;
|
|
@@ -30,7 +30,7 @@ export declare type AllocationsPreview = {
|
|
|
30
30
|
currency: string;
|
|
31
31
|
components_allocations: AllocationDetails[];
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type AllocationsError = {
|
|
34
34
|
id: number;
|
|
35
35
|
quantity: number;
|
|
36
36
|
kind: 'allocation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CustomField = {
|
|
2
2
|
id: number;
|
|
3
3
|
name: string;
|
|
4
4
|
value: string | null;
|
|
@@ -6,4 +6,4 @@ export declare type CustomField = {
|
|
|
6
6
|
field_type: 'radio' | 'text' | 'dropdown';
|
|
7
7
|
enum: string[];
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type CustomFieldUpdate = Pick<CustomField, 'id' | 'value'>;
|
|
@@ -12,7 +12,7 @@ import { Allocation, AllocationsError, AllocationsPreview, AllocationDetails } f
|
|
|
12
12
|
import { InvoicesList, InvoicesParams } from './invoicesList';
|
|
13
13
|
import { BankAccount, CreditCard } from './paymentProfiles';
|
|
14
14
|
export type { BillingPortalSettings };
|
|
15
|
-
export
|
|
15
|
+
export type APIResponse<R> = CamelCasedPropertiesDeep<R>;
|
|
16
16
|
export declare enum HttpMethod {
|
|
17
17
|
GET = "get",
|
|
18
18
|
POST = "post",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InvoicesList = {
|
|
2
2
|
pagination: {
|
|
3
3
|
totalItems: number;
|
|
4
4
|
totalPages: number;
|
|
@@ -6,7 +6,7 @@ export declare type InvoicesList = {
|
|
|
6
6
|
};
|
|
7
7
|
items: Invoice[];
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type InvoicesParams = {
|
|
10
10
|
limit: number;
|
|
11
11
|
page: number;
|
|
12
12
|
sortBy?: string;
|
|
@@ -15,7 +15,7 @@ export declare type InvoicesParams = {
|
|
|
15
15
|
invoiceNumber?: string;
|
|
16
16
|
productIds?: number[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type Invoice = {
|
|
19
19
|
id: number;
|
|
20
20
|
number: string;
|
|
21
21
|
issueDate: string;
|
|
@@ -27,13 +27,13 @@ export declare type Invoice = {
|
|
|
27
27
|
invoiceUrl: string;
|
|
28
28
|
consolidationLevel: InvoiceConsolidationLevel;
|
|
29
29
|
};
|
|
30
|
-
export
|
|
30
|
+
export type ProductNames = {
|
|
31
31
|
product_names: ProductName[];
|
|
32
32
|
};
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
33
|
+
export type InvoiceStatus = 'draft' | 'open' | 'paid' | 'pending' | 'voided' | 'canceled';
|
|
34
|
+
export type InvoiceConsolidationLevel = 'none' | 'parent' | 'child';
|
|
35
|
+
export type SortDir = 'asc' | 'desc';
|
|
36
|
+
export type ProductName = {
|
|
37
37
|
id: number;
|
|
38
38
|
name: string;
|
|
39
39
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type PaymentProfileType = 'bank_account' | 'credit_card';
|
|
2
|
+
export type BankAccount = {
|
|
3
3
|
bank_name: string;
|
|
4
4
|
masked_account_number: string;
|
|
5
5
|
masked_routing_number: string;
|
|
6
6
|
first_name: string;
|
|
7
7
|
last_name: string;
|
|
8
8
|
};
|
|
9
|
-
export
|
|
9
|
+
export type CreditCard = {
|
|
10
10
|
first_name: string | null;
|
|
11
11
|
last_name: string | null;
|
|
12
12
|
card_type: string;
|
|
@@ -15,7 +15,7 @@ export declare type CreditCard = {
|
|
|
15
15
|
expiration_year: number;
|
|
16
16
|
expired: boolean;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type PaymentProfile = {
|
|
19
19
|
id: number;
|
|
20
20
|
expired?: boolean;
|
|
21
21
|
type: PaymentProfileType;
|
|
@@ -25,7 +25,7 @@ export declare type PaymentProfile = {
|
|
|
25
25
|
creditCard?: CreditCard;
|
|
26
26
|
address?: Address;
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type Address = {
|
|
29
29
|
address: string | null;
|
|
30
30
|
address2: string | null;
|
|
31
31
|
city: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type BillingPortalSettings = {
|
|
2
2
|
components_allocation: {
|
|
3
3
|
visible: boolean;
|
|
4
4
|
edit_allowed: boolean;
|
|
@@ -17,5 +17,5 @@ export declare type BillingPortalSettings = {
|
|
|
17
17
|
scopes: SubscriptionScopes[];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type SubscriptionScopes = 'subscription:pause' | 'subscription:resume' | 'subscription:cancel-immediate' | 'subscription:cancel-delayed' | 'subscription:cancel-scheduled' | 'subscription:reactivate' | 'subscription:plan-change';
|
|
21
21
|
export {};
|