@tap-payments/auth-jsconnect 2.1.72-test → 2.1.74-test

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.
Files changed (86) hide show
  1. package/build/@types/app.d.ts +6 -6
  2. package/build/@types/form.d.ts +19 -19
  3. package/build/@types/theme.d.ts +1 -1
  4. package/build/api/account.d.ts +2 -2
  5. package/build/api/auth.d.ts +11 -11
  6. package/build/api/availabilityServices.d.ts +3 -3
  7. package/build/api/axios.js +1 -1
  8. package/build/api/board.d.ts +3 -3
  9. package/build/api/data.d.ts +10 -10
  10. package/build/api/entity.d.ts +8 -8
  11. package/build/api/file.d.ts +1 -1
  12. package/build/api/individual.d.ts +4 -4
  13. package/build/api/lead.d.ts +10 -10
  14. package/build/api/operator.d.ts +1 -1
  15. package/build/api/operator.js +1 -1
  16. package/build/api/user.d.ts +1 -1
  17. package/build/app/settings.d.ts +12 -2
  18. package/build/app/settings.js +4 -4
  19. package/build/app/store.d.ts +4 -4
  20. package/build/components/Lottie/Lottie.d.ts +1 -1
  21. package/build/components/Slide/Slide.d.ts +1 -1
  22. package/build/features/app/bank/bankStore.d.ts +72 -9
  23. package/build/features/app/bank/bankStore.js +1 -1
  24. package/build/features/app/brand/brandStore.d.ts +102 -12
  25. package/build/features/app/brand/brandStore.js +1 -1
  26. package/build/features/app/business/businessStore.d.ts +162 -18
  27. package/build/features/app/business/businessStore.js +1 -1
  28. package/build/features/app/connect/connectStore.d.ts +121 -13
  29. package/build/features/app/connect/connectStore.js +1 -1
  30. package/build/features/app/connectExpress/connectExpressStore.d.ts +181 -19
  31. package/build/features/app/connectExpress/connectExpressStore.js +24 -8
  32. package/build/features/app/entity/entityStore.d.ts +82 -10
  33. package/build/features/app/entity/entityStore.js +1 -1
  34. package/build/features/app/individual/individualStore.d.ts +72 -9
  35. package/build/features/app/individual/individualStore.js +1 -1
  36. package/build/features/app/password/passwordStore.d.ts +102 -12
  37. package/build/features/app/password/passwordStore.js +1 -1
  38. package/build/features/app/signIn/signInStore.d.ts +61 -7
  39. package/build/features/app/signIn/signInStore.js +1 -1
  40. package/build/features/app/tax/taxStore.d.ts +62 -8
  41. package/build/features/app/tax/taxStore.js +1 -1
  42. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  43. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  44. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -13
  45. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +11 -11
  46. package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +2 -2
  47. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -5
  48. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  49. package/build/features/business/screens/Activities/ActivitiesList.d.ts +13 -13
  50. package/build/features/business/screens/Activities/OperationStartDate.d.ts +2 -2
  51. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  52. package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
  53. package/build/features/business/screens/Customers/CustomerLocations.d.ts +11 -11
  54. package/build/features/business/screens/Customers/RefundPolicy.d.ts +5 -5
  55. package/build/features/connect/Connect.js +1 -1
  56. package/build/features/connect/screens/Individual/Email.js +1 -1
  57. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  58. package/build/features/connectExpress/ConnectExpress.js +1 -1
  59. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  60. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -5
  61. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  62. package/build/features/connectExpress/screens/Mobile/Mobile.js +1 -1
  63. package/build/features/connectExpress/screens/NID/NID.js +1 -1
  64. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +7 -2
  65. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +13 -13
  66. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  67. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -13
  68. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +2 -2
  69. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
  70. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
  71. package/build/features/shared/Address/CountryList.d.ts +9 -9
  72. package/build/features/shared/Address/InputSelect.d.ts +9 -9
  73. package/build/features/shared/Address/InputSelect.js +1 -1
  74. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  75. package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
  76. package/build/features/shared/Button/FlowsButtons.js +1 -1
  77. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  78. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  79. package/build/features/shared/Input/Input.d.ts +3 -3
  80. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  81. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
  82. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  83. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  84. package/build/hooks/useAppConfig.d.ts +2 -1
  85. package/build/hooks/useAppConfig.js +2 -2
  86. package/package.json +1 -1
@@ -4,9 +4,9 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
4
4
  component?: React.ElementType<any> | undefined;
5
5
  ref?: React.Ref<unknown> | undefined;
6
6
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
7
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
7
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
9
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "ref" | "children" | "component" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
9
+ }, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "ref" | "children" | "component" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
10
  interface UploadFileProps {
11
11
  label: string;
12
12
  required?: boolean;
@@ -5,9 +5,9 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
5
5
  component?: React.ElementType<any> | undefined;
6
6
  ref?: React.Ref<unknown> | undefined;
7
7
  sx?: SxProps<Theme> | undefined;
8
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
8
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
9
9
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
10
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "ref" | "children" | "component" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
10
+ }, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "ref" | "children" | "component" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
11
11
  export declare enum FileStatus {
12
12
  INIT = "init",
13
13
  UPLOADING = "uploading",
@@ -15,14 +15,14 @@ export declare enum FileStatus {
15
15
  ERROR = "error",
16
16
  ALREADY_UPLOADED = "already_uploaded"
17
17
  }
18
- export declare type FileInfo = {
18
+ export type FileInfo = {
19
19
  fileId: string;
20
20
  name: string;
21
21
  status: FileStatus;
22
22
  progress: number;
23
23
  error: string;
24
24
  };
25
- export declare type UploadFileProps = {
25
+ export type UploadFileProps = {
26
26
  index: number;
27
27
  purpose: string;
28
28
  file: File;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -4,9 +4,9 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
4
4
  component?: React.ElementType<any> | undefined;
5
5
  ref?: React.Ref<unknown> | undefined;
6
6
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
7
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
7
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
9
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "ref" | "children" | "component" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
9
+ }, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "ref" | "children" | "component" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
10
  interface UploadMultipleFileProps {
11
11
  label: string;
12
12
  purpose: string;
@@ -4,6 +4,7 @@ interface AppConfigProps extends LibConfig {
4
4
  disableCountries?: boolean;
5
5
  disableLocale?: boolean;
6
6
  disableSettingFetching?: boolean;
7
+ maturity?: 'full' | 'express';
7
8
  }
8
- export declare const useAppConfig: ({ appInfo, navigation, publicKey, disableCountries, disableLocale, disableSettingFetching, ...rest }: AppConfigProps) => void;
9
+ export declare const useAppConfig: ({ appInfo, navigation, publicKey, disableCountries, disableLocale, disableSettingFetching, maturity, ...rest }: AppConfigProps) => void;
9
10
  export {};
@@ -27,7 +27,7 @@ import { axiosInstance } from '../api';
27
27
  import { isTapDomain, removeRequestHeaders } from '../utils';
28
28
  import { ENDPOINT_PATHS } from '../constants';
29
29
  export var useAppConfig = function (_a) {
30
- var appInfo = _a.appInfo, navigation = _a.navigation, publicKey = _a.publicKey, disableCountries = _a.disableCountries, disableLocale = _a.disableLocale, disableSettingFetching = _a.disableSettingFetching, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching"]);
30
+ var appInfo = _a.appInfo, navigation = _a.navigation, publicKey = _a.publicKey, disableCountries = _a.disableCountries, disableLocale = _a.disableLocale, disableSettingFetching = _a.disableSettingFetching, maturity = _a.maturity, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching", "maturity"]);
31
31
  var dispatch = useAppDispatch();
32
32
  var setBaseUrl = function () {
33
33
  var isProd = publicKey.includes('pk_live');
@@ -58,6 +58,6 @@ export var useAppConfig = function (_a) {
58
58
  setAppConfig();
59
59
  dispatch(handleLanguage(rest.language));
60
60
  if (!disableSettingFetching)
61
- dispatch(fetchAppSettingsSync({ disableCountries: disableCountries, disableLocale: disableLocale, mdn: rest.merchantDomain }));
61
+ dispatch(fetchAppSettingsSync({ disableCountries: disableCountries, disableLocale: disableLocale, mdn: rest.merchantDomain, maturity: maturity }));
62
62
  }, []);
63
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.1.72-test",
3
+ "version": "2.1.74-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",