@tap-payments/auth-jsconnect 2.4.73-test → 2.4.75-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 (119) hide show
  1. package/build/@types/app.d.ts +27 -15
  2. package/build/@types/app.js +5 -0
  3. package/build/@types/form.d.ts +20 -20
  4. package/build/@types/theme.d.ts +1 -1
  5. package/build/api/account.d.ts +2 -2
  6. package/build/api/auth.d.ts +11 -11
  7. package/build/api/availabilityServices.d.ts +3 -3
  8. package/build/api/axios.js +1 -1
  9. package/build/api/board.d.ts +3 -3
  10. package/build/api/brand.d.ts +1 -1
  11. package/build/api/country.d.ts +1 -1
  12. package/build/api/data.d.ts +11 -11
  13. package/build/api/document.d.ts +2 -2
  14. package/build/api/entity.d.ts +8 -8
  15. package/build/api/file.d.ts +1 -1
  16. package/build/api/individual.d.ts +5 -5
  17. package/build/api/init.d.ts +2 -1
  18. package/build/api/lead.d.ts +11 -11
  19. package/build/api/operator.d.ts +1 -1
  20. package/build/api/operator.js +1 -1
  21. package/build/api/user.d.ts +2 -2
  22. package/build/app/settings.d.ts +5 -14
  23. package/build/app/settings.js +31 -45
  24. package/build/app/store.d.ts +4 -4
  25. package/build/components/Slide/Slide.d.ts +1 -1
  26. package/build/constants/app.d.ts +1 -1
  27. package/build/features/app/bank/bankStore.d.ts +10 -82
  28. package/build/features/app/bank/bankStore.js +1 -1
  29. package/build/features/app/brand/brandStore.d.ts +15 -132
  30. package/build/features/app/brand/brandStore.js +1 -1
  31. package/build/features/app/business/businessStore.d.ts +18 -162
  32. package/build/features/app/business/businessStore.js +1 -1
  33. package/build/features/app/connect/connectStore.d.ts +15 -141
  34. package/build/features/app/connect/connectStore.js +1 -1
  35. package/build/features/app/connectExpress/connectExpressStore.d.ts +22 -211
  36. package/build/features/app/connectExpress/connectExpressStore.js +1 -1
  37. package/build/features/app/entity/entityStore.d.ts +10 -82
  38. package/build/features/app/entity/entityStore.js +1 -1
  39. package/build/features/app/individual/individualStore.d.ts +22 -175
  40. package/build/features/app/individual/individualStore.js +1 -1
  41. package/build/features/app/password/passwordStore.d.ts +12 -102
  42. package/build/features/app/password/passwordStore.js +1 -1
  43. package/build/features/app/signIn/signInStore.d.ts +7 -61
  44. package/build/features/app/signIn/signInStore.js +1 -1
  45. package/build/features/app/tax/taxStore.d.ts +9 -72
  46. package/build/features/app/tax/taxStore.js +1 -1
  47. package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -1
  48. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  49. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -1
  50. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  51. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +6 -6
  52. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +3 -3
  53. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -5
  54. package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -2
  55. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -1
  56. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
  57. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  58. package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
  59. package/build/features/brand/screens/BrandInfo/validation.js +6 -6
  60. package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
  61. package/build/features/business/screens/Activities/OperationStartDate.d.ts +1 -1
  62. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +1 -1
  63. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  64. package/build/features/business/screens/BusinessType/LicenseType.d.ts +3 -3
  65. package/build/features/business/screens/Customers/CustomerLocations.d.ts +7 -7
  66. package/build/features/business/screens/Customers/RefundPolicy.d.ts +4 -4
  67. package/build/features/connect/screens/Individual/Email.js +1 -1
  68. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  69. package/build/features/connect/screens/Merchant/SalesChannels.js +6 -6
  70. package/build/features/connect/screens/Merchant/validation.js +6 -6
  71. package/build/features/connectExpress/ConnectExpress.d.ts +1 -1
  72. package/build/features/connectExpress/ConnectExpress.js +19 -21
  73. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  74. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +3 -3
  75. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -2
  76. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  77. package/build/features/connectExpress/screens/NID/TAC.d.ts +2 -2
  78. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +2 -2
  79. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  80. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +6 -6
  81. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +1 -1
  82. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +1 -1
  83. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +1 -1
  84. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
  85. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +2 -2
  86. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  87. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +2 -2
  88. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +3 -3
  89. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +1 -1
  90. package/build/features/shared/Address/CountryList.d.ts +6 -6
  91. package/build/features/shared/Address/InputSelect.d.ts +6 -6
  92. package/build/features/shared/Address/InputSelect.js +1 -1
  93. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  94. package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
  95. package/build/features/shared/Button/FlowsButtons.js +1 -1
  96. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  97. package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -1
  98. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  99. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  100. package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -1
  101. package/build/features/shared/Input/Input.d.ts +2 -2
  102. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +4 -2
  103. package/build/features/shared/UploadFile/FileUpload.d.ts +3 -3
  104. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  105. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  106. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  107. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +3 -3
  108. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  109. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  110. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -1
  111. package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -1
  112. package/build/hooks/useAppConfig.d.ts +4 -4
  113. package/build/hooks/useAppConfig.js +9 -2
  114. package/build/hooks/useDataVerified.d.ts +1 -1
  115. package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
  116. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
  117. package/build/hooks/useFormReadOnly.d.ts +1 -1
  118. package/build/utils/array.js +1 -1
  119. package/package.json +1 -1
@@ -28,7 +28,7 @@ import { axiosInstance } from '../api';
28
28
  import { isTapDomain, removeRequestHeaders } from '../utils';
29
29
  import { ENDPOINT_PATHS } from '../constants';
30
30
  export var useAppConfig = function (_a) {
31
- var appInfo = _a.appInfo, navigation = _a.navigation, publicKey = _a.publicKey, disableCountries = _a.disableCountries, disableLocale = _a.disableLocale, disableSettingFetching = _a.disableSettingFetching, maturity = _a.maturity, boardMaturity = _a.boardMaturity, expressToken = _a.expressToken, onExpressVerifyTokenSuccess = _a.onExpressVerifyTokenSuccess, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching", "maturity", "boardMaturity", "expressToken", "onExpressVerifyTokenSuccess"]);
31
+ var appInfo = _a.appInfo, navigation = _a.navigation, publicKey = _a.publicKey, disableCountries = _a.disableCountries, disableLocale = _a.disableLocale, disableSettingFetching = _a.disableSettingFetching, maturity = _a.maturity, boardMaturity = _a.boardMaturity, configToken = _a.configToken, onVerifyConfigTokenSuccess = _a.onVerifyConfigTokenSuccess, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching", "maturity", "boardMaturity", "configToken", "onVerifyConfigTokenSuccess"]);
32
32
  var dispatch = useAppDispatch();
33
33
  var data = useAppSelector(settingsSelector).data;
34
34
  var setBaseUrl = function () {
@@ -63,6 +63,13 @@ export var useAppConfig = function (_a) {
63
63
  if (!data.isMaturityExpress)
64
64
  dispatch(handleLanguage(rest.language));
65
65
  if (!disableSettingFetching)
66
- dispatch(fetchAppSettingsSync({ disableCountries: disableCountries, disableLocale: disableLocale, mdn: rest.merchantDomain, maturity: maturity, expressToken: expressToken, onExpressVerifyTokenSuccess: onExpressVerifyTokenSuccess }));
66
+ dispatch(fetchAppSettingsSync({
67
+ disableCountries: disableCountries,
68
+ disableLocale: disableLocale,
69
+ mdn: rest.merchantDomain,
70
+ maturity: maturity,
71
+ onVerifyConfigTokenSuccess: onVerifyConfigTokenSuccess,
72
+ configToken: configToken
73
+ }));
67
74
  }, []);
68
75
  };
@@ -1,5 +1,5 @@
1
1
  import { FieldType } from '../@types';
2
- type DataVerified<T> = {
2
+ declare type DataVerified<T> = {
3
3
  [K in keyof T]?: boolean;
4
4
  };
5
5
  export declare const useDataVerified: <T = undefined>(dataVerification: Record<keyof T, FieldType>, verifiedKeys: (keyof T)[]) => DataVerified<T>;
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- type ReadOnly<TF, V> = {
2
+ declare type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
5
  export declare const useExcludeReadOnlyFelids: <TF extends FieldValues = FieldValues>({ formState }: UseFormReturn<TF, any>, readOnly: ReadOnly<TF, boolean>) => {
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- type ReadOnly<TF, V> = {
2
+ declare type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
5
  export declare const useFormErrorAndUpdateReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any>, readOnlyData: { [key in keyof TF]: boolean; }, noneEditable?: Record<any, boolean>) => ReadOnly<TF, boolean>;
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- type ReadOnly<TF, V> = {
2
+ declare type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
5
  export declare const useFormReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any>, extraData?: { [key in keyof TF]?: any; }) => ReadOnly<TF, boolean>;
@@ -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 (g && (g = 0, op[0] && (_ = 0)), _) try {
27
+ while (_) 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]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.4.73-test",
3
+ "version": "2.4.75-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",