ouisys-engine 3.0.3 → 3.0.7

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 (198) hide show
  1. package/.babelrc +4 -8
  2. package/.eslintrc.js +1 -1
  3. package/.nvmrc +1 -1
  4. package/.prettierignore +2 -1
  5. package/README.md +2 -4
  6. package/dist/api/index.d.ts +5 -5
  7. package/dist/api/index.js +76 -76
  8. package/dist/common-types/AppThunk.d.ts +11 -12
  9. package/dist/common-types/IOptInFlowName.d.ts +1 -1
  10. package/dist/common-types/ITracker.js +1 -2
  11. package/dist/common-types/RemoteDataState.d.ts +4 -4
  12. package/dist/common-types/RemoteDataState.js +17 -17
  13. package/dist/flows/click2smsFlow.d.ts +2 -2
  14. package/dist/flows/moFlow.d.ts +2 -2
  15. package/dist/flows/moRedirFlow.d.ts +2 -2
  16. package/dist/flows/oneClickFlow.d.ts +2 -2
  17. package/dist/flows/pinFlow.d.ts +2 -2
  18. package/dist/flows/pinFlow.js +2 -0
  19. package/dist/flows/strategy.d.ts +8 -8
  20. package/dist/flows/ussdFlow.d.ts +2 -2
  21. package/dist/ips/tryGetIPRangeName.d.ts +1 -1
  22. package/dist/ips/tryGetIPRangeName.js +7 -5
  23. package/dist/jest.config.js +1 -1
  24. package/dist/pacman/index.d.ts +2 -2
  25. package/dist/pacman/index.js +41 -41
  26. package/dist/pacman/queryString.js +11 -9
  27. package/dist/reducers/click2smsFlow/Click2smsTypes.d.ts +19 -19
  28. package/dist/reducers/click2smsFlow/IClick2smsConstants.d.ts +1 -1
  29. package/dist/reducers/click2smsFlow/index.d.ts +2 -2
  30. package/dist/reducers/click2smsFlow/index.js +24 -24
  31. package/dist/reducers/click2smsFlow/utils.d.ts +1 -1
  32. package/dist/reducers/click2smsFlow/utils.js +30 -30
  33. package/dist/reducers/moFlow/IMoConstants.d.ts +1 -1
  34. package/dist/reducers/moFlow/MoTypes.d.ts +13 -13
  35. package/dist/reducers/moFlow/index.d.ts +3 -3
  36. package/dist/reducers/moFlow/index.js +27 -27
  37. package/dist/reducers/moFlow/utils.d.ts +1 -2
  38. package/dist/reducers/moFlow/utils.js +28 -26
  39. package/dist/reducers/moRedirFlow/IMoRedirConstants.d.ts +1 -1
  40. package/dist/reducers/moRedirFlow/MoRedirTypes.d.ts +13 -13
  41. package/dist/reducers/moRedirFlow/index.d.ts +3 -3
  42. package/dist/reducers/moRedirFlow/index.js +27 -27
  43. package/dist/reducers/moRedirFlow/utils.d.ts +1 -1
  44. package/dist/reducers/moRedirFlow/utils.js +17 -17
  45. package/dist/reducers/oneClickFlow/IOneClickConstants.d.ts +1 -1
  46. package/dist/reducers/oneClickFlow/OneClickTypes.d.ts +10 -10
  47. package/dist/reducers/oneClickFlow/index.d.ts +3 -3
  48. package/dist/reducers/oneClickFlow/index.js +75 -68
  49. package/dist/reducers/oneClickFlow/utils.d.ts +2 -2
  50. package/dist/reducers/oneClickFlow/utils.js +38 -38
  51. package/dist/reducers/pinFlow/IPinConstants.d.ts +1 -1
  52. package/dist/reducers/pinFlow/PinTypes.d.ts +23 -23
  53. package/dist/reducers/pinFlow/index.d.ts +3 -3
  54. package/dist/reducers/pinFlow/index.js +76 -76
  55. package/dist/reducers/pinFlow/utils.d.ts +1 -1
  56. package/dist/reducers/pinFlow/utils.js +61 -65
  57. package/dist/reducers/strategy/IStategyActionContants.d.ts +1 -1
  58. package/dist/reducers/strategy/StrategyTypes.d.ts +56 -56
  59. package/dist/reducers/strategy/index.d.ts +2 -2
  60. package/dist/reducers/strategy/index.js +99 -99
  61. package/dist/reducers/strategy/strategies/ask_mobile_number.d.ts +2 -2
  62. package/dist/reducers/strategy/strategies/ask_mobile_number.js +78 -78
  63. package/dist/reducers/strategy/strategies/ask_operator.d.ts +2 -2
  64. package/dist/reducers/strategy/strategies/ask_operator.js +64 -68
  65. package/dist/reducers/strategy/strategies/detect_operator_by_ip.d.ts +2 -2
  66. package/dist/reducers/strategy/strategies/detect_operator_by_ip.js +97 -97
  67. package/dist/reducers/strategy/strategies/header_enrichment.d.ts +2 -2
  68. package/dist/reducers/strategy/strategies/header_enrichment.js +116 -120
  69. package/dist/reducers/strategy/utils.d.ts +3 -3
  70. package/dist/reducers/strategy/utils.js +115 -111
  71. package/dist/reducers/ussdFlow/IUssdConstants.d.ts +1 -1
  72. package/dist/reducers/ussdFlow/UssdTypes.d.ts +13 -13
  73. package/dist/reducers/ussdFlow/index.d.ts +3 -3
  74. package/dist/reducers/ussdFlow/index.js +27 -27
  75. package/dist/reducers/ussdFlow/utils.d.ts +1 -2
  76. package/dist/reducers/ussdFlow/utils.js +19 -17
  77. package/dist/store/index.d.ts +8 -8
  78. package/dist/store/index.js +87 -83
  79. package/dist/store/reducers.d.ts +7 -7
  80. package/dist/store/reducers.js +4 -4
  81. package/dist/utilities/handleSubmitNumber.d.ts +7 -3
  82. package/dist/utilities/handleSubmitNumber.js +15 -18
  83. package/dist/utilities/index.d.ts +1 -1
  84. package/dist/utilities/index.js +13 -11
  85. package/dist/utilities/loadScriptInnerHtml.js +0 -1
  86. package/index.html +21 -28
  87. package/package.json +23 -15
  88. package/setupJest.js +1 -1
  89. package/tsconfig.json +2 -2
  90. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  91. package/.idea/modules.xml +0 -8
  92. package/.idea/ouisys-engine.iml +0 -12
  93. package/.idea/vcs.xml +0 -6
  94. package/.vscode/settings.json +0 -6
  95. package/dist/api/click2sms.js +0 -357
  96. package/dist/api/mo.js +0 -274
  97. package/dist/api/moRedir.js +0 -186
  98. package/dist/api/oneClick.js +0 -366
  99. package/dist/api/pin.js +0 -493
  100. package/dist/api/strategies.js +0 -704
  101. package/dist/api/ussd.js +0 -1
  102. package/dist/app/store.js +0 -35
  103. package/dist/features/strategies/categories/askMobileNumber.js +0 -395
  104. package/dist/features/strategies/categories/askOperator.js +0 -311
  105. package/dist/features/strategies/categories/detectOperatorByIp.js +0 -606
  106. package/dist/features/strategies/categories/headerEnrichment.js +0 -670
  107. package/dist/features/strategies/categories/typings/click2smsSliceTypes.js +0 -12
  108. package/dist/features/strategies/categories/typings/identifySliceTypes.js +0 -22
  109. package/dist/features/strategies/categories/typings/moFlowSliceTypes.js +0 -22
  110. package/dist/features/strategies/categories/typings/moRedirFlowSliceTypes.js +0 -21
  111. package/dist/features/strategies/categories/typings/oneClickSliceTypes.js +0 -13
  112. package/dist/features/strategies/categories/typings/pinFlowSliceTypes.js +0 -13
  113. package/dist/features/strategies/click2smsFlowSlice.js +0 -172
  114. package/dist/features/strategies/identifySlice.js +0 -455
  115. package/dist/features/strategies/moFlowSlice.js +0 -196
  116. package/dist/features/strategies/moRedirFlowSlice.js +0 -190
  117. package/dist/features/strategies/oneClickFlowSlice.js +0 -277
  118. package/dist/features/strategies/pinFlowSlice.js +0 -313
  119. package/dist/features/strategies/ussdFlowSlice.js +0 -1
  120. package/dist/flows/tpayHeFlow.d.ts +0 -7
  121. package/dist/flows/tpayHeFlow.js +0 -23
  122. package/dist/mockServer/browser.js +0 -48
  123. package/dist/mockServer/handlers.js +0 -22
  124. package/dist/mockServer/server.js +0 -48
  125. package/dist/reducers/tpayHeFlow/ITpayHeConstants.d.ts +0 -2
  126. package/dist/reducers/tpayHeFlow/ITpayHeConstants.js +0 -1
  127. package/dist/reducers/tpayHeFlow/TpayHeTypes.d.ts +0 -114
  128. package/dist/reducers/tpayHeFlow/TpayHeTypes.js +0 -1
  129. package/dist/reducers/tpayHeFlow/index.d.ts +0 -7
  130. package/dist/reducers/tpayHeFlow/index.js +0 -331
  131. package/dist/reducers/tpayHeFlow/utils.d.ts +0 -20
  132. package/dist/reducers/tpayHeFlow/utils.js +0 -510
  133. package/dist/test/setup.js +0 -24
  134. package/dist/test/test-utils.js +0 -51
  135. package/mockData/config.json +0 -28
  136. package/prettier.config.js +0 -7
  137. package/src/@types/react-tracker.d.ts +0 -16
  138. package/src/@types/redux-cli-logger.d.ts +0 -1
  139. package/src/@types/tiny-async-pool.d.ts +0 -3
  140. package/src/@types/window.d.ts +0 -74
  141. package/src/api/index.ts +0 -225
  142. package/src/common-types/AppThunk.ts +0 -19
  143. package/src/common-types/Either.ts +0 -3
  144. package/src/common-types/IError.ts +0 -5
  145. package/src/common-types/IOptInFlowName.ts +0 -1
  146. package/src/common-types/ITracker.ts +0 -10
  147. package/src/common-types/IVisitor.ts +0 -16
  148. package/src/common-types/RemoteDataState.ts +0 -88
  149. package/src/flows/click2smsFlow.ts +0 -18
  150. package/src/flows/moFlow.ts +0 -20
  151. package/src/flows/moRedirFlow.ts +0 -20
  152. package/src/flows/oneClickFlow.ts +0 -20
  153. package/src/flows/pinFlow.ts +0 -25
  154. package/src/flows/strategy.ts +0 -51
  155. package/src/flows/ussdFlow.ts +0 -20
  156. package/src/index.ts +0 -3
  157. package/src/ips/tryGetIPRangeName.ts +0 -22
  158. package/src/jest.config.js +0 -194
  159. package/src/pacman/index.ts +0 -71
  160. package/src/pacman/queryString.ts +0 -24
  161. package/src/reducers/click2smsFlow/Click2smsTypes.ts +0 -93
  162. package/src/reducers/click2smsFlow/IClick2smsConstants.ts +0 -4
  163. package/src/reducers/click2smsFlow/index.ts +0 -105
  164. package/src/reducers/click2smsFlow/utils.ts +0 -126
  165. package/src/reducers/moFlow/IMoConstants.ts +0 -7
  166. package/src/reducers/moFlow/MoTypes.ts +0 -125
  167. package/src/reducers/moFlow/index.ts +0 -150
  168. package/src/reducers/moFlow/utils.ts +0 -135
  169. package/src/reducers/moRedirFlow/IMoRedirConstants.ts +0 -7
  170. package/src/reducers/moRedirFlow/MoRedirTypes.ts +0 -99
  171. package/src/reducers/moRedirFlow/index.ts +0 -137
  172. package/src/reducers/moRedirFlow/utils.ts +0 -78
  173. package/src/reducers/oneClickFlow/IOneClickConstants.ts +0 -3
  174. package/src/reducers/oneClickFlow/OneClickTypes.ts +0 -108
  175. package/src/reducers/oneClickFlow/index.ts +0 -268
  176. package/src/reducers/oneClickFlow/utils.ts +0 -219
  177. package/src/reducers/pinFlow/IPinConstants.ts +0 -9
  178. package/src/reducers/pinFlow/PinTypes.ts +0 -190
  179. package/src/reducers/pinFlow/index.ts +0 -331
  180. package/src/reducers/pinFlow/utils.ts +0 -232
  181. package/src/reducers/strategy/IStategyActionContants.ts +0 -17
  182. package/src/reducers/strategy/StrategyTypes.ts +0 -376
  183. package/src/reducers/strategy/index.ts +0 -322
  184. package/src/reducers/strategy/strategies/ask_mobile_number.ts +0 -366
  185. package/src/reducers/strategy/strategies/ask_operator.ts +0 -195
  186. package/src/reducers/strategy/strategies/detect_operator_by_ip.ts +0 -414
  187. package/src/reducers/strategy/strategies/header_enrichment.ts +0 -489
  188. package/src/reducers/strategy/utils.ts +0 -357
  189. package/src/reducers/ussdFlow/IUssdConstants.ts +0 -7
  190. package/src/reducers/ussdFlow/UssdTypes.ts +0 -112
  191. package/src/reducers/ussdFlow/index.ts +0 -146
  192. package/src/reducers/ussdFlow/utils.ts +0 -88
  193. package/src/store/index.ts +0 -150
  194. package/src/store/reducers.ts +0 -37
  195. package/src/utilities/handleSubmitNumber.ts +0 -65
  196. package/src/utilities/index.ts +0 -114
  197. package/src/utilities/loadScriptInnerHtml.ts +0 -14
  198. package/src/utilities/loadScriptSrc.ts +0 -26
package/.babelrc CHANGED
@@ -5,22 +5,18 @@
5
5
  {
6
6
  "useBuiltIns": "usage",
7
7
  "debug": true,
8
- "corejs":"3.6.5"
8
+ "corejs": "3.6.5"
9
9
  }
10
10
  ],
11
11
  "@babel/preset-typescript"
12
12
  ],
13
- "plugins": [
14
- "@babel/plugin-proposal-class-properties"
15
- ],
13
+ "plugins": ["@babel/plugin-proposal-class-properties"],
16
14
  "env": {
17
15
  "development": {
18
- "plugins": [
19
- "react-hot-loader/babel"
20
- ]
16
+ "plugins": ["react-hot-loader/babel"]
21
17
  },
22
18
  "test": {
23
19
  "plugins": []
24
20
  }
25
21
  }
26
- }
22
+ }
package/.eslintrc.js CHANGED
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- extends: ['eslint-config-ouisys'],
2
+ extends: ['eslint-config-ouisys']
3
3
  };
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v16.16.0
1
+ v16.10.0
package/.prettierignore CHANGED
@@ -1,3 +1,4 @@
1
- build/
1
+ dist/
2
+ node_modules/
2
3
  storybook-static/
3
4
  stats.json
package/README.md CHANGED
@@ -1,16 +1,14 @@
1
1
  ## Test Flows
2
2
 
3
-
4
-
5
3
  ```
6
4
  ts-node ./src/test-tools
7
5
  ```
8
6
 
9
- ----
7
+ ---
10
8
 
11
9
  Some useful `ts-node` configs:
12
10
 
13
11
  ```
14
12
  TS_NODE_TRANSPILE_ONLY=true
15
13
  TS_NODE_FILES=true
16
- ```
14
+ ```
@@ -1,8 +1,8 @@
1
- import { IMSISDNSubmissionResult, IPINSubmissionResult, ICheckSubscriptionResult, IMcpShieldResult } from "../reducers/pinFlow/PinTypes";
2
- import { IMSISDNSubmissionResult as IMoRedirMSISDNSubmissionResult } from "../reducers/moRedirFlow/MoRedirTypes";
3
- import { IGoogleReCaptcha, IMSISDNSubmissionResult as IMoMSISDNSubmissionResult } from "../reducers/moFlow/MoTypes";
4
- import { IIdentifyResult } from "../reducers/strategy/StrategyTypes";
5
- import { IFetchResult } from "../reducers/click2smsFlow/Click2smsTypes";
1
+ import { IFetchResult } from '../reducers/click2smsFlow/Click2smsTypes';
2
+ import { IGoogleReCaptcha, IMSISDNSubmissionResult as IMoMSISDNSubmissionResult } from '../reducers/moFlow/MoTypes';
3
+ import { IMSISDNSubmissionResult as IMoRedirMSISDNSubmissionResult } from '../reducers/moRedirFlow/MoRedirTypes';
4
+ import { ICheckSubscriptionResult, IMcpShieldResult, IMSISDNSubmissionResult, IPINSubmissionResult } from '../reducers/pinFlow/PinTypes';
5
+ import { IIdentifyResult } from '../reducers/strategy/StrategyTypes';
6
6
  export interface ITallyman {
7
7
  identify: (host: string, slug: string, country: string, msisdn: string, device: string, offer: number, rockmanId: string) => Promise<IIdentifyResult>;
8
8
  triggerPin: (host: string, country: string, slug: string, device: string, offer: number, msisdn: string, rockmanId: string, extraParamsQs: string, search: string, uniqid?: string) => Promise<IMSISDNSubmissionResult>;
package/dist/api/index.js CHANGED
@@ -69,13 +69,13 @@ var MockTallyman = {
69
69
  while (1) {
70
70
  switch (_context.prev = _context.next) {
71
71
  case 0:
72
- console.log("MockTallyman");
72
+ console.log('MockTallyman');
73
73
  sleep(2000);
74
74
  return _context.abrupt("return", {
75
- operator: "",
76
- flow: "",
75
+ operator: '',
76
+ flow: '',
77
77
  success: true,
78
- rockman_id: ""
78
+ rockman_id: ''
79
79
  });
80
80
 
81
81
  case 3:
@@ -98,14 +98,14 @@ var MockTallyman = {
98
98
  while (1) {
99
99
  switch (_context2.prev = _context2.next) {
100
100
  case 0:
101
- console.log("MockTallyman");
101
+ console.log('MockTallyman');
102
102
  sleep(2000);
103
103
  return _context2.abrupt("return", {
104
104
  success: true,
105
- operator: "",
106
- rockman_id: "",
107
- pin: "",
108
- product_url: ""
105
+ operator: '',
106
+ rockman_id: '',
107
+ pin: '',
108
+ product_url: ''
109
109
  });
110
110
 
111
111
  case 3:
@@ -128,12 +128,12 @@ var MockTallyman = {
128
128
  while (1) {
129
129
  switch (_context3.prev = _context3.next) {
130
130
  case 0:
131
- console.log("MockTallyman");
131
+ console.log('MockTallyman');
132
132
  sleep(2000);
133
133
  return _context3.abrupt("return", {
134
134
  success: true,
135
- rockman_id: "000",
136
- product_url: "/mock-product-url",
135
+ rockman_id: '000',
136
+ product_url: '/mock-product-url',
137
137
  async: false
138
138
  });
139
139
 
@@ -157,13 +157,13 @@ var MockTallyman = {
157
157
  while (1) {
158
158
  switch (_context4.prev = _context4.next) {
159
159
  case 0:
160
- console.log("MockTallyman");
160
+ console.log('MockTallyman');
161
161
  sleep(2000);
162
162
  return _context4.abrupt("return", {
163
163
  success: true,
164
- rockman_id: "000",
165
- product_url: "/mock-product-url",
166
- msisdn: "000"
164
+ rockman_id: '000',
165
+ product_url: '/mock-product-url',
166
+ msisdn: '000'
167
167
  });
168
168
 
169
169
  case 3:
@@ -186,13 +186,13 @@ var MockTallyman = {
186
186
  while (1) {
187
187
  switch (_context5.prev = _context5.next) {
188
188
  case 0:
189
- console.log("MockTallyman");
189
+ console.log('MockTallyman');
190
190
  sleep(2000);
191
191
  return _context5.abrupt("return", {
192
192
  success: true,
193
- rockman_id: "000",
194
- product_url: "/mock-product-url",
195
- msisdn: "000"
193
+ rockman_id: '000',
194
+ product_url: '/mock-product-url',
195
+ msisdn: '000'
196
196
  });
197
197
 
198
198
  case 3:
@@ -215,12 +215,12 @@ var MockTallyman = {
215
215
  while (1) {
216
216
  switch (_context6.prev = _context6.next) {
217
217
  case 0:
218
- console.log("MockTallyman");
218
+ console.log('MockTallyman');
219
219
  sleep(2000);
220
220
  return _context6.abrupt("return", {
221
221
  success: true,
222
- rockman_id: "000",
223
- redirect_url: "/mock-product-url"
222
+ rockman_id: '000',
223
+ redirect_url: '/mock-product-url'
224
224
  });
225
225
 
226
226
  case 3:
@@ -243,11 +243,11 @@ var MockTallyman = {
243
243
  while (1) {
244
244
  switch (_context7.prev = _context7.next) {
245
245
  case 0:
246
- console.log("MockTallyman");
246
+ console.log('MockTallyman');
247
247
  sleep(2000);
248
248
  return _context7.abrupt("return", {
249
249
  success: true,
250
- rockman_id: "0000",
250
+ rockman_id: '0000',
251
251
  keyword: 'TEST OK',
252
252
  shortcode: '666'
253
253
  });
@@ -272,11 +272,11 @@ var MockTallyman = {
272
272
  while (1) {
273
273
  switch (_context8.prev = _context8.next) {
274
274
  case 0:
275
- console.log("MockTallyman");
275
+ console.log('MockTallyman');
276
276
  sleep(2000);
277
277
  return _context8.abrupt("return", {
278
278
  success: true,
279
- rockman_id: "0000",
279
+ rockman_id: '0000',
280
280
  keyword: 'TEST OK',
281
281
  shortcode: '666'
282
282
  });
@@ -301,13 +301,13 @@ var MockTallyman = {
301
301
  while (1) {
302
302
  switch (_context9.prev = _context9.next) {
303
303
  case 0:
304
- console.log("MockTallyman");
304
+ console.log('MockTallyman');
305
305
  sleep(2000);
306
306
  return _context9.abrupt("return", {
307
307
  success: true,
308
- uid: "1",
308
+ uid: '1',
309
309
  keyword: 'TEST OK',
310
- displayKeyword: "TEST OK",
310
+ displayKeyword: 'TEST OK',
311
311
  shortcode: '666'
312
312
  });
313
313
 
@@ -331,13 +331,13 @@ var MockTallyman = {
331
331
  while (1) {
332
332
  switch (_context10.prev = _context10.next) {
333
333
  case 0:
334
- console.log("MockTallyman");
334
+ console.log('MockTallyman');
335
335
  sleep(2000);
336
336
  return _context10.abrupt("return", {
337
- "source": "**********some very long text**********",
338
- "uniqid": "a26e7c3983a9cebd469601d695c7dbc4",
339
- "success": true,
340
- "rockman_id": "d66ac1a3ee6d40c289c23322ecd9aa79"
337
+ source: '**********some very long text**********',
338
+ uniqid: 'a26e7c3983a9cebd469601d695c7dbc4',
339
+ success: true,
340
+ rockman_id: 'd66ac1a3ee6d40c289c23322ecd9aa79'
341
341
  });
342
342
 
343
343
  case 3:
@@ -361,10 +361,10 @@ var MockTallyman = {
361
361
  switch (_context11.prev = _context11.next) {
362
362
  case 0:
363
363
  return _context11.abrupt("return", {
364
- "site_key": "6LfMTS8fAAAAAHw-cibJXMfnsIYNpWh81GatD1lw",
365
- "secret_key": "6LfMTS8fAAAAAIAET7tvHjrU-tRPGuqSdfCZZX6G",
366
- "domains": "n.gamiclub.com",
367
- "success": true
364
+ site_key: '6LfMTS8fAAAAAHw-cibJXMfnsIYNpWh81GatD1lw',
365
+ secret_key: '6LfMTS8fAAAAAIAET7tvHjrU-tRPGuqSdfCZZX6G',
366
+ domains: 'n.gamiclub.com',
367
+ success: true
368
368
  });
369
369
 
370
370
  case 1:
@@ -391,9 +391,9 @@ var RealTallyman = {
391
391
  while (1) {
392
392
  switch (_context12.prev = _context12.next) {
393
393
  case 0:
394
- console.log("RealTallyman");
395
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
396
- newHost = isDMB ? "de.tallymans.com" : host;
394
+ console.log('RealTallyman');
395
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
396
+ newHost = isDMB ? 'de.tallymans.com' : host;
397
397
  _context12.next = 5;
398
398
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=identify&slug=").concat(slug, "&country=").concat(country, "&msisdn=").concat(msisdn, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId)).then(function (x) {
399
399
  return x.json();
@@ -423,10 +423,10 @@ var RealTallyman = {
423
423
  while (1) {
424
424
  switch (_context13.prev = _context13.next) {
425
425
  case 0:
426
- console.log("RealTallyman");
427
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
428
- newHost = isDMB ? "de.tallymans.com" : host;
429
- isCleanTraffic = country.toLowerCase() === "be" ? typeof window != "undefined" && window.shouldBlock === true ? '&is-clean-traffic=false' : '&is-clean-traffic=true' : '';
426
+ console.log('RealTallyman');
427
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
428
+ newHost = isDMB ? 'de.tallymans.com' : host;
429
+ isCleanTraffic = country.toLowerCase() === 'be' ? typeof window !== 'undefined' && window.shouldBlock === true ? '&is-clean-traffic=false' : '&is-clean-traffic=true' : '';
430
430
  _context13.next = 6;
431
431
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=trigger-pin&country=").concat(bupperizeCountry(country), "&slug=").concat(slug, "&device=").concat(device, "&offerId=").concat(offer, "&msisdn=").concat(msisdn, "&rockman_id=").concat(rockmanId).concat(uniqid).concat(isCleanTraffic).concat(extraParamsQs, "&").concat(search)).then(function (x) {
432
432
  return x.json();
@@ -456,10 +456,10 @@ var RealTallyman = {
456
456
  while (1) {
457
457
  switch (_context14.prev = _context14.next) {
458
458
  case 0:
459
- console.log("RealTallyman");
460
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
461
- newHost = isDMB ? "de.tallymans.com" : host;
462
- isCleanTraffic = country.toLowerCase() === "be" ? typeof window != "undefined" && window.shouldBlock === true ? '&is-clean-traffic=false' : '&is-clean-traffic=true' : '';
459
+ console.log('RealTallyman');
460
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
461
+ newHost = isDMB ? 'de.tallymans.com' : host;
462
+ isCleanTraffic = country.toLowerCase() === 'be' ? typeof window !== 'undefined' && window.shouldBlock === true ? '&is-clean-traffic=false' : '&is-clean-traffic=true' : '';
463
463
  _context14.next = 6;
464
464
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=verify-pin&country=").concat(bupperizeCountry(country), "&slug=").concat(slug, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId, "&pin=").concat(pin).concat(uniqid, "&sam_evina_tid=").concat(evinaTid).concat(isCleanTraffic).concat(extraParamsQs)).then(function (x) {
465
465
  return x.json();
@@ -489,9 +489,9 @@ var RealTallyman = {
489
489
  while (1) {
490
490
  switch (_context15.prev = _context15.next) {
491
491
  case 0:
492
- console.log("RealTallyman");
493
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
494
- newHost = isDMB ? "de.tallymans.com" : host;
492
+ console.log('RealTallyman');
493
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
494
+ newHost = isDMB ? 'de.tallymans.com' : host;
495
495
  _context15.next = 5;
496
496
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=check-subscription&country=").concat(bupperizeCountry(country), "&slug=").concat(slug, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId)).then(function (x) {
497
497
  return x.json();
@@ -521,9 +521,9 @@ var RealTallyman = {
521
521
  while (1) {
522
522
  switch (_context16.prev = _context16.next) {
523
523
  case 0:
524
- console.log("RealTallyman");
525
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
526
- newHost = isDMB ? "de.tallymans.com" : host;
524
+ console.log('RealTallyman');
525
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
526
+ newHost = isDMB ? 'de.tallymans.com' : host;
527
527
  _context16.next = 5;
528
528
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=check-subscription&rockman_id=").concat(rockmanId)).then(function (x) {
529
529
  return x.json();
@@ -553,12 +553,12 @@ var RealTallyman = {
553
553
  while (1) {
554
554
  switch (_context17.prev = _context17.next) {
555
555
  case 0:
556
- console.log("RealTallyman");
557
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
558
- newHost = isDMB ? "de.tallymans.com" : host;
559
- evinaTi = country.toLowerCase() === "a2" ? "&evinaTi=".concat(rockmanId) : '';
556
+ console.log('RealTallyman');
557
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
558
+ newHost = isDMB ? 'de.tallymans.com' : host;
559
+ evinaTi = country.toLowerCase() === 'a2' ? "&evinaTi=".concat(rockmanId) : '';
560
560
  _context17.next = 6;
561
- return fetch("https://".concat(newHost, "/tallyman/v1/?action=redirect&slug=").concat(slug, "&country=").concat(country, "&msisdn=").concat(msisdn, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId, "&network_type=").concat(!ip_range_name ? "wifi" : "", "&").concat(search).concat(evinaTi).concat(extraParamsQs)).then(function (x) {
561
+ return fetch("https://".concat(newHost, "/tallyman/v1/?action=redirect&slug=").concat(slug, "&country=").concat(country, "&msisdn=").concat(msisdn, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId, "&network_type=").concat(!ip_range_name ? 'wifi' : '', "&").concat(search).concat(evinaTi).concat(extraParamsQs)).then(function (x) {
562
562
  return x.json();
563
563
  });
564
564
 
@@ -586,9 +586,9 @@ var RealTallyman = {
586
586
  while (1) {
587
587
  switch (_context18.prev = _context18.next) {
588
588
  case 0:
589
- console.log("RealTallyman");
590
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
591
- newHost = isDMB ? "de.tallymans.com" : host;
589
+ console.log('RealTallyman');
590
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
591
+ newHost = isDMB ? 'de.tallymans.com' : host;
592
592
  samGtoken = window.reCaptchaToken ? "sam-g-token=".concat(window.reCaptchaToken) : '';
593
593
  _context18.next = 6;
594
594
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=trigger-message&slug=").concat(slug, "&country=").concat(country, "&msisdn=").concat(msisdn, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId, "&").concat(samGtoken).concat(search).concat(extraParamsQs)).then(function (x) {
@@ -619,9 +619,9 @@ var RealTallyman = {
619
619
  while (1) {
620
620
  switch (_context19.prev = _context19.next) {
621
621
  case 0:
622
- console.log("RealTallyman");
623
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
624
- newHost = isDMB ? "de.tallymans.com" : host;
622
+ console.log('RealTallyman');
623
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
624
+ newHost = isDMB ? 'de.tallymans.com' : host;
625
625
  _context19.next = 5;
626
626
  return fetch("https://".concat(newHost, "/tallyman/v1/?action=ussd&slug=").concat(slug, "&country=").concat(country, "&msisdn=").concat(msisdn, "&device=").concat(device, "&offerId=").concat(offer, "&rockman_id=").concat(rockmanId, "&").concat(search).concat(extraParamsQs)).then(function (x) {
627
627
  return x.json();
@@ -651,11 +651,11 @@ var RealTallyman = {
651
651
  while (1) {
652
652
  switch (_context20.prev = _context20.next) {
653
653
  case 0:
654
- console.log("RealTallyman");
655
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
656
- newHost = isDMB ? "de.tallymans.com" : host;
654
+ console.log('RealTallyman');
655
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
656
+ newHost = isDMB ? 'de.tallymans.com' : host;
657
657
  _context20.next = 5;
658
- return fetch("https://".concat(newHost, "/tallyman/v1/?action=oc2sms&country=").concat(country, "&slug=").concat(slug, "&offerId=").concat(offer).concat(!!keyword ? '&keyword=' + keyword : '', "&device=smart&rockman_id=").concat(rockmanId).concat(!!operator ? '&operator=' + operator : '', "&").concat(search)).then(function (x) {
658
+ return fetch("https://".concat(newHost, "/tallyman/v1/?action=oc2sms&country=").concat(country, "&slug=").concat(slug, "&offerId=").concat(offer).concat(keyword ? "&keyword=".concat(keyword) : '', "&device=smart&rockman_id=").concat(rockmanId).concat(operator ? "&operator=".concat(operator) : '', "&").concat(search)).then(function (x) {
659
659
  return x.json();
660
660
  });
661
661
 
@@ -683,9 +683,9 @@ var RealTallyman = {
683
683
  while (1) {
684
684
  switch (_context21.prev = _context21.next) {
685
685
  case 0:
686
- console.log("RealTallyman");
687
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
688
- newHost = isDMB ? "de.tallymans.com" : host;
686
+ console.log('RealTallyman');
687
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
688
+ newHost = isDMB ? 'de.tallymans.com' : host;
689
689
  pageUrl = window.location.href;
690
690
  ipAdd = window.pac_analytics.visitor.ip;
691
691
  userIp = ipAdd ? "&client_ip=".concat(ipAdd) : '';
@@ -718,8 +718,8 @@ var RealTallyman = {
718
718
  while (1) {
719
719
  switch (_context22.prev = _context22.next) {
720
720
  case 0:
721
- isDMB = window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf("dmb") != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf("amb")) != -1 ? true : false;
722
- newHost = isDMB ? "de.tallymans.com" : host;
721
+ isDMB = !!(window.pac_analytics.visitor.xaid != null && (window.pac_analytics.visitor.xaid.toLowerCase().indexOf('dmb') != -1 || window.pac_analytics.visitor.xaid.toLowerCase().indexOf('amb')) != -1);
722
+ newHost = isDMB ? 'de.tallymans.com' : host;
723
723
  _context22.next = 4;
724
724
  return fetch("https://".concat(newHost, "/tallyman/helper/?action=google-captcha-v3-config&country=").concat(country, "&slug=").concat(slug, "&device=").concat(device, "&domain=").concat(domain)).then(function (x) {
725
725
  return x.json();
@@ -1,13 +1,12 @@
1
- import { IApplicationState } from "../store/reducers";
2
- import { Action } from "redux";
3
- import { ThunkAction } from "redux-thunk";
4
- import IStategyActionContants from "../reducers/strategy/IStategyActionContants";
5
- import IPinConstants from "../reducers/pinFlow/IPinConstants";
6
- import IMoConstants from "../reducers/moFlow/IMoConstants";
7
- import IMoRedirConstants from "../reducers/moRedirFlow/IMoRedirConstants";
8
- import IOneClickConstants from "../reducers/oneClickFlow/IOneClickConstants";
9
- import IClick2smsConstants from "../reducers/click2smsFlow/IClick2smsConstants";
10
- import IUssdConstants from "../reducers/ussdFlow/IUssdConstants";
11
- declare type IAllActionConstants = IStategyActionContants | IPinConstants | IMoConstants | IMoRedirConstants | IOneClickConstants | IClick2smsConstants | IUssdConstants;
1
+ import { Action } from 'redux';
2
+ import { ThunkAction } from 'redux-thunk';
3
+ import IClick2smsConstants from '../reducers/click2smsFlow/IClick2smsConstants';
4
+ import IMoConstants from '../reducers/moFlow/IMoConstants';
5
+ import IMoRedirConstants from '../reducers/moRedirFlow/IMoRedirConstants';
6
+ import IOneClickConstants from '../reducers/oneClickFlow/IOneClickConstants';
7
+ import IPinConstants from '../reducers/pinFlow/IPinConstants';
8
+ import IStategyActionContants from '../reducers/strategy/IStategyActionContants';
9
+ import IUssdConstants from '../reducers/ussdFlow/IUssdConstants';
10
+ import { IApplicationState } from '../store/reducers';
11
+ export declare type IAllActionConstants = IStategyActionContants | IPinConstants | IMoConstants | IMoRedirConstants | IOneClickConstants | IClick2smsConstants | IUssdConstants;
12
12
  export declare type AppThunk<ReturnType = void> = ThunkAction<ReturnType, IApplicationState, unknown, Action<IAllActionConstants>>;
13
- export {};
@@ -1 +1 @@
1
- declare type IOptInFlowName = "Block" | "Click to sms" | "Hybrid Pin" | "Msisdn to sms" | "Not available" | "Pin" | "Redirect" | "To be determined" | "USSD" | "3G click";
1
+ declare type IOptInFlowName = 'Block' | 'Click to sms' | 'Hybrid Pin' | 'Msisdn to sms' | 'Not available' | 'Pin' | 'Redirect' | 'To be determined' | 'USSD' | '3G click';
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- ;
5
+ });
@@ -1,12 +1,12 @@
1
1
  export declare type RemoteDataState<E, D> = {
2
- type: "NothingYet";
2
+ type: 'NothingYet';
3
3
  } | {
4
- type: "Loading";
4
+ type: 'Loading';
5
5
  } | {
6
- type: "Failure";
6
+ type: 'Failure';
7
7
  error: E;
8
8
  } | {
9
- type: "Success";
9
+ type: 'Success';
10
10
  data: D;
11
11
  };
12
12
  export interface IMatcher<E, D, R> {
@@ -17,16 +17,16 @@ function match(_ref) {
17
17
  success = _ref.success;
18
18
  return function (model) {
19
19
  switch (model.type) {
20
- case "NothingYet":
20
+ case 'NothingYet':
21
21
  return nothingYet();
22
22
 
23
- case "Loading":
23
+ case 'Loading':
24
24
  return loading();
25
25
 
26
- case "Failure":
26
+ case 'Failure':
27
27
  return failure(model.error);
28
28
 
29
- case "Success":
29
+ case 'Success':
30
30
  return success(model.data);
31
31
  }
32
32
  };
@@ -34,7 +34,7 @@ function match(_ref) {
34
34
 
35
35
  var NothingYet = function NothingYet(data) {
36
36
  return {
37
- type: "NothingYet"
37
+ type: 'NothingYet'
38
38
  };
39
39
  };
40
40
 
@@ -42,7 +42,7 @@ exports.NothingYet = NothingYet;
42
42
 
43
43
  var Loading = function Loading() {
44
44
  return {
45
- type: "Loading"
45
+ type: 'Loading'
46
46
  };
47
47
  };
48
48
 
@@ -50,7 +50,7 @@ exports.Loading = Loading;
50
50
 
51
51
  var Failure = function Failure(error) {
52
52
  return {
53
- type: "Failure",
53
+ type: 'Failure',
54
54
  error: error
55
55
  };
56
56
  };
@@ -59,7 +59,7 @@ exports.Failure = Failure;
59
59
 
60
60
  var Success = function Success(data) {
61
61
  return {
62
- type: "Success",
62
+ type: 'Success',
63
63
  data: data
64
64
  };
65
65
  };
@@ -67,32 +67,32 @@ var Success = function Success(data) {
67
67
  exports.Success = Success;
68
68
 
69
69
  var IsNothingYet = function IsNothingYet(s) {
70
- return s.type == "NothingYet";
70
+ return s.type == 'NothingYet';
71
71
  };
72
72
 
73
73
  exports.IsNothingYet = IsNothingYet;
74
74
 
75
75
  var IsLoading = function IsLoading(s) {
76
- return s.type == "Loading";
76
+ return s.type == 'Loading';
77
77
  };
78
78
 
79
79
  exports.IsLoading = IsLoading;
80
80
 
81
81
  var IsFailure = function IsFailure(s) {
82
- return s.type == "Failure";
82
+ return s.type == 'Failure';
83
83
  };
84
84
 
85
85
  exports.IsFailure = IsFailure;
86
86
 
87
87
  var IsSuccess = function IsSuccess(s) {
88
- return s.type == "Success";
88
+ return s.type == 'Success';
89
89
  };
90
90
 
91
91
  exports.IsSuccess = IsSuccess;
92
92
 
93
93
  var WhenFailure = function WhenFailure(d, r) {
94
94
  return function (s) {
95
- return s.type == "Failure" ? r(s.error) : d;
95
+ return s.type == 'Failure' ? r(s.error) : d;
96
96
  };
97
97
  };
98
98
 
@@ -100,7 +100,7 @@ exports.WhenFailure = WhenFailure;
100
100
 
101
101
  var WhenLoading = function WhenLoading(d, r) {
102
102
  return function (s) {
103
- return s.type == "Loading" ? r() : d;
103
+ return s.type == 'Loading' ? r() : d;
104
104
  };
105
105
  };
106
106
 
@@ -108,7 +108,7 @@ exports.WhenLoading = WhenLoading;
108
108
 
109
109
  var WhenSuccess = function WhenSuccess(d, r) {
110
110
  return function (s) {
111
- return s.type == "Success" ? r(s.data) : d;
111
+ return s.type == 'Success' ? r(s.data) : d;
112
112
  };
113
113
  };
114
114
 
@@ -118,7 +118,7 @@ var MatchFailure = function MatchFailure(_ref2) {
118
118
  var failure = _ref2.failure,
119
119
  otherwise = _ref2.otherwise;
120
120
  return function (s) {
121
- return s.type == "Failure" ? failure(s.error) : otherwise();
121
+ return s.type == 'Failure' ? failure(s.error) : otherwise();
122
122
  };
123
123
  };
124
124
 
@@ -128,7 +128,7 @@ var MatchSuccess = function MatchSuccess(_ref3) {
128
128
  var success = _ref3.success,
129
129
  otherwise = _ref3.otherwise;
130
130
  return function (s) {
131
- return s.type == "Success" ? success(s.data) : otherwise(s);
131
+ return s.type == 'Success' ? success(s.data) : otherwise(s);
132
132
  };
133
133
  };
134
134
 
@@ -1,5 +1,5 @@
1
- import * as RDS from "../common-types/RemoteDataState";
2
- import { IClick2smsFlowCurrentState, IWithMultiKeywordShortcode } from "../reducers/click2smsFlow/Click2smsTypes";
1
+ import * as RDS from '../common-types/RemoteDataState';
2
+ import { IClick2smsFlowCurrentState, IWithMultiKeywordShortcode } from '../reducers/click2smsFlow/Click2smsTypes';
3
3
  declare function click2smsFlowMatch<R>({ load }: {
4
4
  load: (rds: RDS.RemoteDataState<string, IWithMultiKeywordShortcode>) => R;
5
5
  }): (state: IClick2smsFlowCurrentState) => R;
@@ -1,5 +1,5 @@
1
- import * as RDS from "../common-types/RemoteDataState";
2
- import { IMoFlowCurrentState, MSISDNEntryFailure, MSISDNEntrySuccess } from "../reducers/moFlow/MoTypes";
1
+ import * as RDS from '../common-types/RemoteDataState';
2
+ import { IMoFlowCurrentState, MSISDNEntryFailure, MSISDNEntrySuccess } from '../reducers/moFlow/MoTypes';
3
3
  declare function moFlowMatch<R>({ msisdnEntry }: {
4
4
  msisdnEntry: (rds: RDS.RemoteDataState<MSISDNEntryFailure, MSISDNEntrySuccess>) => R;
5
5
  }): (state: IMoFlowCurrentState) => R;
@@ -1,5 +1,5 @@
1
- import * as RDS from "../common-types/RemoteDataState";
2
- import { IMoRedirFlowCurrentState, MSISDNEntryFailure, MSISDNEntrySuccess } from "../reducers/moRedirFlow/MoRedirTypes";
1
+ import * as RDS from '../common-types/RemoteDataState';
2
+ import { IMoRedirFlowCurrentState, MSISDNEntryFailure, MSISDNEntrySuccess } from '../reducers/moRedirFlow/MoRedirTypes';
3
3
  declare function moRedirFlowMatch<R>({ msisdnEntry }: {
4
4
  msisdnEntry: (rds: RDS.RemoteDataState<MSISDNEntryFailure, MSISDNEntrySuccess>) => R;
5
5
  }): (state: IMoRedirFlowCurrentState) => R;