@genesislcap/foundation-filters 9.0.1-alpha-b5c5eb7.0

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 (157) hide show
  1. package/MODULE_FEDERATION.md +11 -0
  2. package/README.md +173 -0
  3. package/dist/1.0.0.remoteEntry.js +1 -0
  4. package/dist/191.191.64feeeeeb6c4132a6cae.js +2 -0
  5. package/dist/191.d7c8a7fc5c69e4190ea53a04618e0459.js.map +1 -0
  6. package/dist/195.195.2c71a4e018ba860ab228.js +3 -0
  7. package/dist/195.195.2c71a4e018ba860ab228.js.LICENSE.txt +4 -0
  8. package/dist/195.331a5c4d39a8a3d001d3344cb66ef3b8.js.map +1 -0
  9. package/dist/259.0acac2573f700ecd1acac239926438a5.js.map +1 -0
  10. package/dist/259.259.3aa926921ed1388957f1.js +2 -0
  11. package/dist/338.338.cd6e49db31e7adc808c6.js +3 -0
  12. package/dist/338.338.cd6e49db31e7adc808c6.js.LICENSE.txt +1 -0
  13. package/dist/338.7a143cd09921b756e7fe871d338dcb67.js.map +1 -0
  14. package/dist/410.410.76d9d4b118ba230b93c4.js +2 -0
  15. package/dist/410.cda4ae21eb38efbf2dbfd913db12d66f.js.map +1 -0
  16. package/dist/755.755.ec31a791472b4b3fcb0f.js +2 -0
  17. package/dist/755.c71c3a1801dd2c0461f8b831d09ec90f.js.map +1 -0
  18. package/dist/dashboard.json +1 -0
  19. package/dist/dts/clientFilter.d.ts +108 -0
  20. package/dist/dts/clientFilter.d.ts.map +1 -0
  21. package/dist/dts/index.d.ts +9 -0
  22. package/dist/dts/index.d.ts.map +1 -0
  23. package/dist/dts/index.federated.d.ts +1 -0
  24. package/dist/dts/index.federated.d.ts.map +1 -0
  25. package/dist/dts/logger.d.ts +17 -0
  26. package/dist/dts/logger.d.ts.map +1 -0
  27. package/dist/dts/nodeEnv.d.ts +81 -0
  28. package/dist/dts/nodeEnv.d.ts.map +1 -0
  29. package/dist/dts/percentage.d.ts +81 -0
  30. package/dist/dts/percentage.d.ts.map +1 -0
  31. package/dist/dts/timeWindow.d.ts +91 -0
  32. package/dist/dts/timeWindow.d.ts.map +1 -0
  33. package/dist/dts/tsdoc-metadata.json +11 -0
  34. package/dist/dts/urlTargeting.d.ts +94 -0
  35. package/dist/dts/urlTargeting.d.ts.map +1 -0
  36. package/dist/dts/userAgent.d.ts +96 -0
  37. package/dist/dts/userAgent.d.ts.map +1 -0
  38. package/dist/dts/userTargeting.d.ts +107 -0
  39. package/dist/dts/userTargeting.d.ts.map +1 -0
  40. package/dist/esm/clientFilter.js +84 -0
  41. package/dist/esm/clientFilter.js.map +1 -0
  42. package/dist/esm/index.federated.js +2 -0
  43. package/dist/esm/index.federated.js.map +1 -0
  44. package/dist/esm/index.js +9 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/logger.js +18 -0
  47. package/dist/esm/logger.js.map +1 -0
  48. package/dist/esm/nodeEnv.js +48 -0
  49. package/dist/esm/nodeEnv.js.map +1 -0
  50. package/dist/esm/percentage.js +38 -0
  51. package/dist/esm/percentage.js.map +1 -0
  52. package/dist/esm/timeWindow.js +49 -0
  53. package/dist/esm/timeWindow.js.map +1 -0
  54. package/dist/esm/urlTargeting.js +68 -0
  55. package/dist/esm/urlTargeting.js.map +1 -0
  56. package/dist/esm/userAgent.js +59 -0
  57. package/dist/esm/userAgent.js.map +1 -0
  58. package/dist/esm/userTargeting.js +73 -0
  59. package/dist/esm/userTargeting.js.map +1 -0
  60. package/dist/favicon.ico +0 -0
  61. package/dist/foundation-filters.api.json +3065 -0
  62. package/dist/foundation-filters.d.ts +707 -0
  63. package/dist/foundation-filters.iife.min.js +3 -0
  64. package/dist/foundation-filters.js +8608 -0
  65. package/dist/foundation-filters.min.js +3 -0
  66. package/dist/foundationFilters.c0ca375607bf5b49304e9efbcfb9ec0d.js.map +1 -0
  67. package/dist/index.ejs +23 -0
  68. package/dist/index.html +16 -0
  69. package/dist/info.ejs +13 -0
  70. package/dist/main.479db3c6a61354c4d21c4a52177a4fc9.js.map +1 -0
  71. package/dist/main.8bf3ac27c0d922605d1f.js +2 -0
  72. package/dist/npm.analytics.343.d4561facd9660fd45482.js +2 -0
  73. package/dist/npm.analytics.50acd47759b15e99bc3ad79caad7c672.js.map +1 -0
  74. package/dist/npm.consola.0f92c98545c00deac8a01e6e5c25e63c.js.map +1 -0
  75. package/dist/npm.consola.713.4cfd0e26a2fd1e472409.js +2 -0
  76. package/dist/npm.finos.690.4b909dcccf246b8fb074.js +2 -0
  77. package/dist/npm.finos.83f8bd7cc8c58aabd1049256a8d005fe.js.map +1 -0
  78. package/dist/npm.microsoft.127.2934a743e3e0797a43e6.js +1469 -0
  79. package/dist/npm.microsoft.127.2934a743e3e0797a43e6.js.LICENSE.txt +14 -0
  80. package/dist/npm.microsoft.e17056c760df168ceb07617558d61f7e.js.map +1 -0
  81. package/dist/npm.rxjs.271.11caf676e6c2aaf1715a.js +2 -0
  82. package/dist/npm.rxjs.2d42120c7dd915e4ea92bdec64a19f45.js.map +1 -0
  83. package/dist/npm.ua-parser-js.809.92491f7cd444ab77d377.js +2 -0
  84. package/dist/npm.ua-parser-js.b1390f6f6c6080318a30bc73abe8add8.js.map +1 -0
  85. package/dist/remoteEntry.js +2 -0
  86. package/dist/serve.json +3 -0
  87. package/docs/api/foundation-filters.clientfilter.filter.md +24 -0
  88. package/docs/api/foundation-filters.clientfilter.md +24 -0
  89. package/docs/api/foundation-filters.clientfiltername.md +19 -0
  90. package/docs/api/foundation-filters.clientfilterrunner.md +20 -0
  91. package/docs/api/foundation-filters.clientfilterrunner.run.md +23 -0
  92. package/docs/api/foundation-filters.clientfilterschema.md +22 -0
  93. package/docs/api/foundation-filters.clientfilterschemas.md +15 -0
  94. package/docs/api/foundation-filters.defaultclientfilterrunner.container.md +11 -0
  95. package/docs/api/foundation-filters.defaultclientfilterrunner.md +27 -0
  96. package/docs/api/foundation-filters.defaultclientfilterrunner.run.md +23 -0
  97. package/docs/api/foundation-filters.defaultnodeenv.filter.md +24 -0
  98. package/docs/api/foundation-filters.defaultnodeenv.isdevelopment.md +16 -0
  99. package/docs/api/foundation-filters.defaultnodeenv.isproduction.md +16 -0
  100. package/docs/api/foundation-filters.defaultnodeenv.istesting.md +16 -0
  101. package/docs/api/foundation-filters.defaultnodeenv.md +29 -0
  102. package/docs/api/foundation-filters.defaultpercentage.filter.md +24 -0
  103. package/docs/api/foundation-filters.defaultpercentage.md +21 -0
  104. package/docs/api/foundation-filters.defaulttimewindow.filter.md +24 -0
  105. package/docs/api/foundation-filters.defaulttimewindow.md +21 -0
  106. package/docs/api/foundation-filters.defaulturltargeting.filter.md +24 -0
  107. package/docs/api/foundation-filters.defaulturltargeting.issecure.md +26 -0
  108. package/docs/api/foundation-filters.defaulturltargeting.md +22 -0
  109. package/docs/api/foundation-filters.defaultuseragent.filter.md +24 -0
  110. package/docs/api/foundation-filters.defaultuseragent.issafari.md +16 -0
  111. package/docs/api/foundation-filters.defaultuseragent.md +27 -0
  112. package/docs/api/foundation-filters.defaultusertargeting._constructor_.md +20 -0
  113. package/docs/api/foundation-filters.defaultusertargeting.auth.md +11 -0
  114. package/docs/api/foundation-filters.defaultusertargeting.filter.md +24 -0
  115. package/docs/api/foundation-filters.defaultusertargeting.hasadminprofile.md +16 -0
  116. package/docs/api/foundation-filters.defaultusertargeting.isloggedin.md +16 -0
  117. package/docs/api/foundation-filters.defaultusertargeting.md +35 -0
  118. package/docs/api/foundation-filters.getfilterbyname.md +25 -0
  119. package/docs/api/foundation-filters.logger.md +27 -0
  120. package/docs/api/foundation-filters.md +71 -0
  121. package/docs/api/foundation-filters.nodeenv.isdevelopment.md +16 -0
  122. package/docs/api/foundation-filters.nodeenv.isproduction.md +16 -0
  123. package/docs/api/foundation-filters.nodeenv.istesting.md +16 -0
  124. package/docs/api/foundation-filters.nodeenv.md +23 -0
  125. package/docs/api/foundation-filters.nodeenvfilter.md +28 -0
  126. package/docs/api/foundation-filters.nodeenvparams.md +25 -0
  127. package/docs/api/foundation-filters.nodeenvschema.md +19 -0
  128. package/docs/api/foundation-filters.percentage.md +19 -0
  129. package/docs/api/foundation-filters.percentagefilter.md +29 -0
  130. package/docs/api/foundation-filters.percentageparams.md +41 -0
  131. package/docs/api/foundation-filters.percentageschema.md +19 -0
  132. package/docs/api/foundation-filters.runner.md +29 -0
  133. package/docs/api/foundation-filters.timewindow.md +19 -0
  134. package/docs/api/foundation-filters.timewindowfilter.md +29 -0
  135. package/docs/api/foundation-filters.timewindowparams.md +59 -0
  136. package/docs/api/foundation-filters.timewindowschema.md +19 -0
  137. package/docs/api/foundation-filters.urltargeting.issecure.md +26 -0
  138. package/docs/api/foundation-filters.urltargeting.md +21 -0
  139. package/docs/api/foundation-filters.urltargetingfilter.md +32 -0
  140. package/docs/api/foundation-filters.urltargetingparams.md +30 -0
  141. package/docs/api/foundation-filters.urltargetingschema.md +19 -0
  142. package/docs/api/foundation-filters.useragent.issafari.md +16 -0
  143. package/docs/api/foundation-filters.useragent.md +25 -0
  144. package/docs/api/foundation-filters.useragentfilter.md +31 -0
  145. package/docs/api/foundation-filters.useragentparams.md +30 -0
  146. package/docs/api/foundation-filters.useragentschema.md +19 -0
  147. package/docs/api/foundation-filters.usertargeting.hasadminprofile.md +16 -0
  148. package/docs/api/foundation-filters.usertargeting.isloggedin.md +16 -0
  149. package/docs/api/foundation-filters.usertargeting.md +26 -0
  150. package/docs/api/foundation-filters.usertargetingfilter.md +31 -0
  151. package/docs/api/foundation-filters.usertargetingparams.md +29 -0
  152. package/docs/api/foundation-filters.usertargetingschema.md +19 -0
  153. package/docs/api/index.md +12 -0
  154. package/docs/api-report.md +283 -0
  155. package/jsdom.setup.ts +1 -0
  156. package/license.txt +46 -0
  157. package/package.json +122 -0
@@ -0,0 +1,3065 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.34.4",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ },
160
+ "reportUnsupportedHtmlElements": false
161
+ }
162
+ },
163
+ "kind": "Package",
164
+ "canonicalReference": "@genesislcap/foundation-filters!",
165
+ "docComment": "",
166
+ "name": "@genesislcap/foundation-filters",
167
+ "preserveMemberOrder": false,
168
+ "members": [
169
+ {
170
+ "kind": "EntryPoint",
171
+ "canonicalReference": "@genesislcap/foundation-filters!",
172
+ "name": "",
173
+ "preserveMemberOrder": false,
174
+ "members": [
175
+ {
176
+ "kind": "Interface",
177
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface",
178
+ "docComment": "/**\n * ClientFilter interface.\n *\n * @remarks\n *\n * Simplifies access to runtime data / state contained within the DI container.\n *\n * @typeParam P - The filter parameter type.\n *\n * @public\n */\n",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "export interface ClientFilter<P = "
183
+ },
184
+ {
185
+ "kind": "Content",
186
+ "text": "any"
187
+ },
188
+ {
189
+ "kind": "Content",
190
+ "text": "> "
191
+ }
192
+ ],
193
+ "fileUrlPath": "src/clientFilter.ts",
194
+ "releaseTag": "Public",
195
+ "typeParameters": [
196
+ {
197
+ "typeParameterName": "P",
198
+ "constraintTokenRange": {
199
+ "startIndex": 0,
200
+ "endIndex": 0
201
+ },
202
+ "defaultTypeTokenRange": {
203
+ "startIndex": 1,
204
+ "endIndex": 2
205
+ }
206
+ }
207
+ ],
208
+ "name": "ClientFilter",
209
+ "preserveMemberOrder": false,
210
+ "members": [
211
+ {
212
+ "kind": "MethodSignature",
213
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter#filter:member(1)",
214
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
215
+ "excerptTokens": [
216
+ {
217
+ "kind": "Content",
218
+ "text": "filter(parameters: "
219
+ },
220
+ {
221
+ "kind": "Content",
222
+ "text": "P"
223
+ },
224
+ {
225
+ "kind": "Content",
226
+ "text": "): "
227
+ },
228
+ {
229
+ "kind": "Content",
230
+ "text": "boolean"
231
+ },
232
+ {
233
+ "kind": "Content",
234
+ "text": ";"
235
+ }
236
+ ],
237
+ "isOptional": false,
238
+ "returnTypeTokenRange": {
239
+ "startIndex": 3,
240
+ "endIndex": 4
241
+ },
242
+ "releaseTag": "Public",
243
+ "overloadIndex": 1,
244
+ "parameters": [
245
+ {
246
+ "parameterName": "parameters",
247
+ "parameterTypeTokenRange": {
248
+ "startIndex": 1,
249
+ "endIndex": 2
250
+ },
251
+ "isOptional": false
252
+ }
253
+ ],
254
+ "name": "filter"
255
+ }
256
+ ],
257
+ "extendsTokenRanges": []
258
+ },
259
+ {
260
+ "kind": "TypeAlias",
261
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterName:type",
262
+ "docComment": "/**\n * @public\n */\n",
263
+ "excerptTokens": [
264
+ {
265
+ "kind": "Content",
266
+ "text": "export type ClientFilterName = "
267
+ },
268
+ {
269
+ "kind": "Content",
270
+ "text": "(typeof "
271
+ },
272
+ {
273
+ "kind": "Reference",
274
+ "text": "ClientFilterName",
275
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterName:var"
276
+ },
277
+ {
278
+ "kind": "Content",
279
+ "text": ")[keyof typeof "
280
+ },
281
+ {
282
+ "kind": "Reference",
283
+ "text": "ClientFilterName",
284
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterName:var"
285
+ },
286
+ {
287
+ "kind": "Content",
288
+ "text": "]"
289
+ },
290
+ {
291
+ "kind": "Content",
292
+ "text": ";"
293
+ }
294
+ ],
295
+ "fileUrlPath": "src/clientFilter.ts",
296
+ "releaseTag": "Public",
297
+ "name": "ClientFilterName",
298
+ "typeTokenRange": {
299
+ "startIndex": 1,
300
+ "endIndex": 6
301
+ }
302
+ },
303
+ {
304
+ "kind": "Variable",
305
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterName:var",
306
+ "docComment": "/**\n * @public\n */\n",
307
+ "excerptTokens": [
308
+ {
309
+ "kind": "Content",
310
+ "text": "ClientFilterName: "
311
+ },
312
+ {
313
+ "kind": "Content",
314
+ "text": "{\n readonly nodeEnv: \"nodeEnv\";\n readonly percentage: \"percentage\";\n readonly timeWindow: \"timeWindow\";\n readonly urlTargeting: \"urlTargeting\";\n readonly userAgent: \"userAgent\";\n readonly userTargeting: \"userTargeting\";\n}"
315
+ }
316
+ ],
317
+ "fileUrlPath": "src/clientFilter.ts",
318
+ "isReadonly": true,
319
+ "releaseTag": "Public",
320
+ "name": "ClientFilterName",
321
+ "variableTypeTokenRange": {
322
+ "startIndex": 1,
323
+ "endIndex": 2
324
+ }
325
+ },
326
+ {
327
+ "kind": "Interface",
328
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterRunner:interface",
329
+ "docComment": "/**\n * ClientFilterRunner DI interface.\n *\n * @public\n */\n",
330
+ "excerptTokens": [
331
+ {
332
+ "kind": "Content",
333
+ "text": "export interface ClientFilterRunner "
334
+ }
335
+ ],
336
+ "fileUrlPath": "src/clientFilter.ts",
337
+ "releaseTag": "Public",
338
+ "name": "ClientFilterRunner",
339
+ "preserveMemberOrder": false,
340
+ "members": [
341
+ {
342
+ "kind": "MethodSignature",
343
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterRunner#run:member(1)",
344
+ "docComment": "",
345
+ "excerptTokens": [
346
+ {
347
+ "kind": "Content",
348
+ "text": "run(filters: "
349
+ },
350
+ {
351
+ "kind": "Reference",
352
+ "text": "ClientFilterSchemas",
353
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchemas:type"
354
+ },
355
+ {
356
+ "kind": "Content",
357
+ "text": "[]"
358
+ },
359
+ {
360
+ "kind": "Content",
361
+ "text": ", container?: "
362
+ },
363
+ {
364
+ "kind": "Reference",
365
+ "text": "Container",
366
+ "canonicalReference": "@microsoft/fast-foundation!Container:interface"
367
+ },
368
+ {
369
+ "kind": "Content",
370
+ "text": "): "
371
+ },
372
+ {
373
+ "kind": "Content",
374
+ "text": "boolean"
375
+ },
376
+ {
377
+ "kind": "Content",
378
+ "text": ";"
379
+ }
380
+ ],
381
+ "isOptional": false,
382
+ "returnTypeTokenRange": {
383
+ "startIndex": 6,
384
+ "endIndex": 7
385
+ },
386
+ "releaseTag": "Public",
387
+ "overloadIndex": 1,
388
+ "parameters": [
389
+ {
390
+ "parameterName": "filters",
391
+ "parameterTypeTokenRange": {
392
+ "startIndex": 1,
393
+ "endIndex": 3
394
+ },
395
+ "isOptional": false
396
+ },
397
+ {
398
+ "parameterName": "container",
399
+ "parameterTypeTokenRange": {
400
+ "startIndex": 4,
401
+ "endIndex": 5
402
+ },
403
+ "isOptional": true
404
+ }
405
+ ],
406
+ "name": "run"
407
+ }
408
+ ],
409
+ "extendsTokenRanges": []
410
+ },
411
+ {
412
+ "kind": "TypeAlias",
413
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type",
414
+ "docComment": "/**\n * ClientFilterSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @typeParam N - The filter name type.\n *\n * @typeParam P - The filter parameters type.\n *\n * @public\n */\n",
415
+ "excerptTokens": [
416
+ {
417
+ "kind": "Content",
418
+ "text": "export type ClientFilterSchema<N extends "
419
+ },
420
+ {
421
+ "kind": "Reference",
422
+ "text": "ClientFilterName",
423
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterName:type"
424
+ },
425
+ {
426
+ "kind": "Content",
427
+ "text": ", P> = "
428
+ },
429
+ {
430
+ "kind": "Content",
431
+ "text": "{\n readonly name: N;\n readonly parameters: P;\n}"
432
+ },
433
+ {
434
+ "kind": "Content",
435
+ "text": ";"
436
+ }
437
+ ],
438
+ "fileUrlPath": "src/clientFilter.ts",
439
+ "releaseTag": "Public",
440
+ "name": "ClientFilterSchema",
441
+ "typeParameters": [
442
+ {
443
+ "typeParameterName": "N",
444
+ "constraintTokenRange": {
445
+ "startIndex": 1,
446
+ "endIndex": 2
447
+ },
448
+ "defaultTypeTokenRange": {
449
+ "startIndex": 0,
450
+ "endIndex": 0
451
+ }
452
+ },
453
+ {
454
+ "typeParameterName": "P",
455
+ "constraintTokenRange": {
456
+ "startIndex": 0,
457
+ "endIndex": 0
458
+ },
459
+ "defaultTypeTokenRange": {
460
+ "startIndex": 0,
461
+ "endIndex": 0
462
+ }
463
+ }
464
+ ],
465
+ "typeTokenRange": {
466
+ "startIndex": 3,
467
+ "endIndex": 4
468
+ }
469
+ },
470
+ {
471
+ "kind": "TypeAlias",
472
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchemas:type",
473
+ "docComment": "/**\n * ClientFilterSchemas type.\n *\n * @public\n */\n",
474
+ "excerptTokens": [
475
+ {
476
+ "kind": "Content",
477
+ "text": "export type ClientFilterSchemas = "
478
+ },
479
+ {
480
+ "kind": "Reference",
481
+ "text": "NodeEnvSchema",
482
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnvSchema:type"
483
+ },
484
+ {
485
+ "kind": "Content",
486
+ "text": " | "
487
+ },
488
+ {
489
+ "kind": "Reference",
490
+ "text": "PercentageSchema",
491
+ "canonicalReference": "@genesislcap/foundation-filters!PercentageSchema:type"
492
+ },
493
+ {
494
+ "kind": "Content",
495
+ "text": " | "
496
+ },
497
+ {
498
+ "kind": "Reference",
499
+ "text": "TimeWindowSchema",
500
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindowSchema:type"
501
+ },
502
+ {
503
+ "kind": "Content",
504
+ "text": " | "
505
+ },
506
+ {
507
+ "kind": "Reference",
508
+ "text": "URLTargetingSchema",
509
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargetingSchema:type"
510
+ },
511
+ {
512
+ "kind": "Content",
513
+ "text": " | "
514
+ },
515
+ {
516
+ "kind": "Reference",
517
+ "text": "UserAgentSchema",
518
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgentSchema:type"
519
+ },
520
+ {
521
+ "kind": "Content",
522
+ "text": " | "
523
+ },
524
+ {
525
+ "kind": "Reference",
526
+ "text": "UserTargetingSchema",
527
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargetingSchema:type"
528
+ },
529
+ {
530
+ "kind": "Content",
531
+ "text": ";"
532
+ }
533
+ ],
534
+ "fileUrlPath": "src/clientFilter.ts",
535
+ "releaseTag": "Public",
536
+ "name": "ClientFilterSchemas",
537
+ "typeTokenRange": {
538
+ "startIndex": 1,
539
+ "endIndex": 12
540
+ }
541
+ },
542
+ {
543
+ "kind": "Class",
544
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultClientFilterRunner:class",
545
+ "docComment": "/**\n * Default ClientFilterRunner DI implementation.\n *\n * @public\n */\n",
546
+ "excerptTokens": [
547
+ {
548
+ "kind": "Content",
549
+ "text": "export declare class DefaultClientFilterRunner implements "
550
+ },
551
+ {
552
+ "kind": "Reference",
553
+ "text": "ClientFilterRunner",
554
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterRunner:interface"
555
+ },
556
+ {
557
+ "kind": "Content",
558
+ "text": " "
559
+ }
560
+ ],
561
+ "fileUrlPath": "src/clientFilter.ts",
562
+ "releaseTag": "Public",
563
+ "isAbstract": false,
564
+ "name": "DefaultClientFilterRunner",
565
+ "preserveMemberOrder": false,
566
+ "members": [
567
+ {
568
+ "kind": "Property",
569
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultClientFilterRunner#container:member",
570
+ "docComment": "",
571
+ "excerptTokens": [
572
+ {
573
+ "kind": "Content",
574
+ "text": "container: "
575
+ },
576
+ {
577
+ "kind": "Reference",
578
+ "text": "Container",
579
+ "canonicalReference": "@microsoft/fast-foundation!Container:interface"
580
+ },
581
+ {
582
+ "kind": "Content",
583
+ "text": ";"
584
+ }
585
+ ],
586
+ "isReadonly": false,
587
+ "isOptional": false,
588
+ "releaseTag": "Public",
589
+ "name": "container",
590
+ "propertyTypeTokenRange": {
591
+ "startIndex": 1,
592
+ "endIndex": 2
593
+ },
594
+ "isStatic": false,
595
+ "isProtected": false,
596
+ "isAbstract": false
597
+ },
598
+ {
599
+ "kind": "Method",
600
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultClientFilterRunner#run:member(1)",
601
+ "docComment": "",
602
+ "excerptTokens": [
603
+ {
604
+ "kind": "Content",
605
+ "text": "run(filters: "
606
+ },
607
+ {
608
+ "kind": "Reference",
609
+ "text": "ClientFilterSchemas",
610
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchemas:type"
611
+ },
612
+ {
613
+ "kind": "Content",
614
+ "text": "[]"
615
+ },
616
+ {
617
+ "kind": "Content",
618
+ "text": ", container?: "
619
+ },
620
+ {
621
+ "kind": "Reference",
622
+ "text": "Container",
623
+ "canonicalReference": "@microsoft/fast-foundation!Container:interface"
624
+ },
625
+ {
626
+ "kind": "Content",
627
+ "text": "): "
628
+ },
629
+ {
630
+ "kind": "Content",
631
+ "text": "boolean"
632
+ },
633
+ {
634
+ "kind": "Content",
635
+ "text": ";"
636
+ }
637
+ ],
638
+ "isStatic": false,
639
+ "returnTypeTokenRange": {
640
+ "startIndex": 6,
641
+ "endIndex": 7
642
+ },
643
+ "releaseTag": "Public",
644
+ "isProtected": false,
645
+ "overloadIndex": 1,
646
+ "parameters": [
647
+ {
648
+ "parameterName": "filters",
649
+ "parameterTypeTokenRange": {
650
+ "startIndex": 1,
651
+ "endIndex": 3
652
+ },
653
+ "isOptional": false
654
+ },
655
+ {
656
+ "parameterName": "container",
657
+ "parameterTypeTokenRange": {
658
+ "startIndex": 4,
659
+ "endIndex": 5
660
+ },
661
+ "isOptional": true
662
+ }
663
+ ],
664
+ "isOptional": false,
665
+ "isAbstract": false,
666
+ "name": "run"
667
+ }
668
+ ],
669
+ "implementsTokenRanges": [
670
+ {
671
+ "startIndex": 1,
672
+ "endIndex": 2
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "Class",
678
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultNodeEnv:class",
679
+ "docComment": "/**\n * Default NodeEnv DI implementation.\n *\n * @public\n */\n",
680
+ "excerptTokens": [
681
+ {
682
+ "kind": "Content",
683
+ "text": "export declare class DefaultNodeEnv implements "
684
+ },
685
+ {
686
+ "kind": "Reference",
687
+ "text": "NodeEnv",
688
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnv:interface"
689
+ },
690
+ {
691
+ "kind": "Content",
692
+ "text": " "
693
+ }
694
+ ],
695
+ "fileUrlPath": "src/nodeEnv.ts",
696
+ "releaseTag": "Public",
697
+ "isAbstract": false,
698
+ "name": "DefaultNodeEnv",
699
+ "preserveMemberOrder": false,
700
+ "members": [
701
+ {
702
+ "kind": "Method",
703
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultNodeEnv#filter:member(1)",
704
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
705
+ "excerptTokens": [
706
+ {
707
+ "kind": "Content",
708
+ "text": "filter(params: "
709
+ },
710
+ {
711
+ "kind": "Reference",
712
+ "text": "NodeEnvParams",
713
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnvParams:type"
714
+ },
715
+ {
716
+ "kind": "Content",
717
+ "text": "): "
718
+ },
719
+ {
720
+ "kind": "Content",
721
+ "text": "boolean"
722
+ },
723
+ {
724
+ "kind": "Content",
725
+ "text": ";"
726
+ }
727
+ ],
728
+ "isStatic": false,
729
+ "returnTypeTokenRange": {
730
+ "startIndex": 3,
731
+ "endIndex": 4
732
+ },
733
+ "releaseTag": "Public",
734
+ "isProtected": false,
735
+ "overloadIndex": 1,
736
+ "parameters": [
737
+ {
738
+ "parameterName": "params",
739
+ "parameterTypeTokenRange": {
740
+ "startIndex": 1,
741
+ "endIndex": 2
742
+ },
743
+ "isOptional": false
744
+ }
745
+ ],
746
+ "isOptional": false,
747
+ "isAbstract": false,
748
+ "name": "filter"
749
+ },
750
+ {
751
+ "kind": "Property",
752
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultNodeEnv#isDevelopment:member",
753
+ "docComment": "/**\n * {@inheritDoc NodeEnv.isDevelopment}\n */\n",
754
+ "excerptTokens": [
755
+ {
756
+ "kind": "Content",
757
+ "text": "get isDevelopment(): "
758
+ },
759
+ {
760
+ "kind": "Content",
761
+ "text": "boolean"
762
+ },
763
+ {
764
+ "kind": "Content",
765
+ "text": ";"
766
+ }
767
+ ],
768
+ "isReadonly": true,
769
+ "isOptional": false,
770
+ "releaseTag": "Public",
771
+ "name": "isDevelopment",
772
+ "propertyTypeTokenRange": {
773
+ "startIndex": 1,
774
+ "endIndex": 2
775
+ },
776
+ "isStatic": false,
777
+ "isProtected": false,
778
+ "isAbstract": false
779
+ },
780
+ {
781
+ "kind": "Property",
782
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultNodeEnv#isProduction:member",
783
+ "docComment": "/**\n * {@inheritDoc NodeEnv.isProduction}\n */\n",
784
+ "excerptTokens": [
785
+ {
786
+ "kind": "Content",
787
+ "text": "get isProduction(): "
788
+ },
789
+ {
790
+ "kind": "Content",
791
+ "text": "boolean"
792
+ },
793
+ {
794
+ "kind": "Content",
795
+ "text": ";"
796
+ }
797
+ ],
798
+ "isReadonly": true,
799
+ "isOptional": false,
800
+ "releaseTag": "Public",
801
+ "name": "isProduction",
802
+ "propertyTypeTokenRange": {
803
+ "startIndex": 1,
804
+ "endIndex": 2
805
+ },
806
+ "isStatic": false,
807
+ "isProtected": false,
808
+ "isAbstract": false
809
+ },
810
+ {
811
+ "kind": "Property",
812
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultNodeEnv#isTesting:member",
813
+ "docComment": "/**\n * {@inheritDoc NodeEnv.isTesting}\n */\n",
814
+ "excerptTokens": [
815
+ {
816
+ "kind": "Content",
817
+ "text": "get isTesting(): "
818
+ },
819
+ {
820
+ "kind": "Content",
821
+ "text": "boolean"
822
+ },
823
+ {
824
+ "kind": "Content",
825
+ "text": ";"
826
+ }
827
+ ],
828
+ "isReadonly": true,
829
+ "isOptional": false,
830
+ "releaseTag": "Public",
831
+ "name": "isTesting",
832
+ "propertyTypeTokenRange": {
833
+ "startIndex": 1,
834
+ "endIndex": 2
835
+ },
836
+ "isStatic": false,
837
+ "isProtected": false,
838
+ "isAbstract": false
839
+ }
840
+ ],
841
+ "implementsTokenRanges": [
842
+ {
843
+ "startIndex": 1,
844
+ "endIndex": 2
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "kind": "Class",
850
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultPercentage:class",
851
+ "docComment": "/**\n * Default Percentage DI implementation.\n *\n * @public\n */\n",
852
+ "excerptTokens": [
853
+ {
854
+ "kind": "Content",
855
+ "text": "export declare class DefaultPercentage implements "
856
+ },
857
+ {
858
+ "kind": "Reference",
859
+ "text": "Percentage",
860
+ "canonicalReference": "@genesislcap/foundation-filters!Percentage:interface"
861
+ },
862
+ {
863
+ "kind": "Content",
864
+ "text": " "
865
+ }
866
+ ],
867
+ "fileUrlPath": "src/percentage.ts",
868
+ "releaseTag": "Public",
869
+ "isAbstract": false,
870
+ "name": "DefaultPercentage",
871
+ "preserveMemberOrder": false,
872
+ "members": [
873
+ {
874
+ "kind": "Method",
875
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultPercentage#filter:member(1)",
876
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
877
+ "excerptTokens": [
878
+ {
879
+ "kind": "Content",
880
+ "text": "filter(params: "
881
+ },
882
+ {
883
+ "kind": "Reference",
884
+ "text": "PercentageParams",
885
+ "canonicalReference": "@genesislcap/foundation-filters!PercentageParams:type"
886
+ },
887
+ {
888
+ "kind": "Content",
889
+ "text": "): "
890
+ },
891
+ {
892
+ "kind": "Content",
893
+ "text": "boolean"
894
+ },
895
+ {
896
+ "kind": "Content",
897
+ "text": ";"
898
+ }
899
+ ],
900
+ "isStatic": false,
901
+ "returnTypeTokenRange": {
902
+ "startIndex": 3,
903
+ "endIndex": 4
904
+ },
905
+ "releaseTag": "Public",
906
+ "isProtected": false,
907
+ "overloadIndex": 1,
908
+ "parameters": [
909
+ {
910
+ "parameterName": "params",
911
+ "parameterTypeTokenRange": {
912
+ "startIndex": 1,
913
+ "endIndex": 2
914
+ },
915
+ "isOptional": false
916
+ }
917
+ ],
918
+ "isOptional": false,
919
+ "isAbstract": false,
920
+ "name": "filter"
921
+ }
922
+ ],
923
+ "implementsTokenRanges": [
924
+ {
925
+ "startIndex": 1,
926
+ "endIndex": 2
927
+ }
928
+ ]
929
+ },
930
+ {
931
+ "kind": "Class",
932
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultTimeWindow:class",
933
+ "docComment": "/**\n * Default TimeWindow DI implementation.\n *\n * @public\n */\n",
934
+ "excerptTokens": [
935
+ {
936
+ "kind": "Content",
937
+ "text": "export declare class DefaultTimeWindow implements "
938
+ },
939
+ {
940
+ "kind": "Reference",
941
+ "text": "TimeWindow",
942
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindow:interface"
943
+ },
944
+ {
945
+ "kind": "Content",
946
+ "text": " "
947
+ }
948
+ ],
949
+ "fileUrlPath": "src/timeWindow.ts",
950
+ "releaseTag": "Public",
951
+ "isAbstract": false,
952
+ "name": "DefaultTimeWindow",
953
+ "preserveMemberOrder": false,
954
+ "members": [
955
+ {
956
+ "kind": "Method",
957
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultTimeWindow#filter:member(1)",
958
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
959
+ "excerptTokens": [
960
+ {
961
+ "kind": "Content",
962
+ "text": "filter(params: "
963
+ },
964
+ {
965
+ "kind": "Reference",
966
+ "text": "TimeWindowParams",
967
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindowParams:type"
968
+ },
969
+ {
970
+ "kind": "Content",
971
+ "text": "): "
972
+ },
973
+ {
974
+ "kind": "Content",
975
+ "text": "boolean"
976
+ },
977
+ {
978
+ "kind": "Content",
979
+ "text": ";"
980
+ }
981
+ ],
982
+ "isStatic": false,
983
+ "returnTypeTokenRange": {
984
+ "startIndex": 3,
985
+ "endIndex": 4
986
+ },
987
+ "releaseTag": "Public",
988
+ "isProtected": false,
989
+ "overloadIndex": 1,
990
+ "parameters": [
991
+ {
992
+ "parameterName": "params",
993
+ "parameterTypeTokenRange": {
994
+ "startIndex": 1,
995
+ "endIndex": 2
996
+ },
997
+ "isOptional": false
998
+ }
999
+ ],
1000
+ "isOptional": false,
1001
+ "isAbstract": false,
1002
+ "name": "filter"
1003
+ }
1004
+ ],
1005
+ "implementsTokenRanges": [
1006
+ {
1007
+ "startIndex": 1,
1008
+ "endIndex": 2
1009
+ }
1010
+ ]
1011
+ },
1012
+ {
1013
+ "kind": "Class",
1014
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultURLTargeting:class",
1015
+ "docComment": "/**\n * Default URLTargeting DI implementation.\n *\n * @public\n */\n",
1016
+ "excerptTokens": [
1017
+ {
1018
+ "kind": "Content",
1019
+ "text": "export declare class DefaultURLTargeting implements "
1020
+ },
1021
+ {
1022
+ "kind": "Reference",
1023
+ "text": "URLTargeting",
1024
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargeting:interface"
1025
+ },
1026
+ {
1027
+ "kind": "Content",
1028
+ "text": " "
1029
+ }
1030
+ ],
1031
+ "fileUrlPath": "src/urlTargeting.ts",
1032
+ "releaseTag": "Public",
1033
+ "isAbstract": false,
1034
+ "name": "DefaultURLTargeting",
1035
+ "preserveMemberOrder": false,
1036
+ "members": [
1037
+ {
1038
+ "kind": "Method",
1039
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultURLTargeting#filter:member(1)",
1040
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
1041
+ "excerptTokens": [
1042
+ {
1043
+ "kind": "Content",
1044
+ "text": "filter(params: "
1045
+ },
1046
+ {
1047
+ "kind": "Reference",
1048
+ "text": "URLTargetingParams",
1049
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargetingParams:type"
1050
+ },
1051
+ {
1052
+ "kind": "Content",
1053
+ "text": "): "
1054
+ },
1055
+ {
1056
+ "kind": "Content",
1057
+ "text": "boolean"
1058
+ },
1059
+ {
1060
+ "kind": "Content",
1061
+ "text": ";"
1062
+ }
1063
+ ],
1064
+ "isStatic": false,
1065
+ "returnTypeTokenRange": {
1066
+ "startIndex": 3,
1067
+ "endIndex": 4
1068
+ },
1069
+ "releaseTag": "Public",
1070
+ "isProtected": false,
1071
+ "overloadIndex": 1,
1072
+ "parameters": [
1073
+ {
1074
+ "parameterName": "params",
1075
+ "parameterTypeTokenRange": {
1076
+ "startIndex": 1,
1077
+ "endIndex": 2
1078
+ },
1079
+ "isOptional": false
1080
+ }
1081
+ ],
1082
+ "isOptional": false,
1083
+ "isAbstract": false,
1084
+ "name": "filter"
1085
+ },
1086
+ {
1087
+ "kind": "Method",
1088
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultURLTargeting#isSecure:member(1)",
1089
+ "docComment": "/**\n * {@inheritDoc URLTargeting.isSecure}\n */\n",
1090
+ "excerptTokens": [
1091
+ {
1092
+ "kind": "Content",
1093
+ "text": "isSecure(url: "
1094
+ },
1095
+ {
1096
+ "kind": "Content",
1097
+ "text": "any"
1098
+ },
1099
+ {
1100
+ "kind": "Content",
1101
+ "text": "): "
1102
+ },
1103
+ {
1104
+ "kind": "Content",
1105
+ "text": "boolean"
1106
+ },
1107
+ {
1108
+ "kind": "Content",
1109
+ "text": ";"
1110
+ }
1111
+ ],
1112
+ "isStatic": false,
1113
+ "returnTypeTokenRange": {
1114
+ "startIndex": 3,
1115
+ "endIndex": 4
1116
+ },
1117
+ "releaseTag": "Public",
1118
+ "isProtected": false,
1119
+ "overloadIndex": 1,
1120
+ "parameters": [
1121
+ {
1122
+ "parameterName": "url",
1123
+ "parameterTypeTokenRange": {
1124
+ "startIndex": 1,
1125
+ "endIndex": 2
1126
+ },
1127
+ "isOptional": false
1128
+ }
1129
+ ],
1130
+ "isOptional": false,
1131
+ "isAbstract": false,
1132
+ "name": "isSecure"
1133
+ }
1134
+ ],
1135
+ "implementsTokenRanges": [
1136
+ {
1137
+ "startIndex": 1,
1138
+ "endIndex": 2
1139
+ }
1140
+ ]
1141
+ },
1142
+ {
1143
+ "kind": "Class",
1144
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserAgent:class",
1145
+ "docComment": "/**\n * Default UserAgent DI implementation.\n *\n * @public\n */\n",
1146
+ "excerptTokens": [
1147
+ {
1148
+ "kind": "Content",
1149
+ "text": "export declare class DefaultUserAgent implements "
1150
+ },
1151
+ {
1152
+ "kind": "Reference",
1153
+ "text": "UserAgent",
1154
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgent:interface"
1155
+ },
1156
+ {
1157
+ "kind": "Content",
1158
+ "text": " "
1159
+ }
1160
+ ],
1161
+ "fileUrlPath": "src/userAgent.ts",
1162
+ "releaseTag": "Public",
1163
+ "isAbstract": false,
1164
+ "name": "DefaultUserAgent",
1165
+ "preserveMemberOrder": false,
1166
+ "members": [
1167
+ {
1168
+ "kind": "Method",
1169
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserAgent#filter:member(1)",
1170
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
1171
+ "excerptTokens": [
1172
+ {
1173
+ "kind": "Content",
1174
+ "text": "filter(params: "
1175
+ },
1176
+ {
1177
+ "kind": "Reference",
1178
+ "text": "UserAgentParams",
1179
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgentParams:type"
1180
+ },
1181
+ {
1182
+ "kind": "Content",
1183
+ "text": "): "
1184
+ },
1185
+ {
1186
+ "kind": "Content",
1187
+ "text": "boolean"
1188
+ },
1189
+ {
1190
+ "kind": "Content",
1191
+ "text": ";"
1192
+ }
1193
+ ],
1194
+ "isStatic": false,
1195
+ "returnTypeTokenRange": {
1196
+ "startIndex": 3,
1197
+ "endIndex": 4
1198
+ },
1199
+ "releaseTag": "Public",
1200
+ "isProtected": false,
1201
+ "overloadIndex": 1,
1202
+ "parameters": [
1203
+ {
1204
+ "parameterName": "params",
1205
+ "parameterTypeTokenRange": {
1206
+ "startIndex": 1,
1207
+ "endIndex": 2
1208
+ },
1209
+ "isOptional": false
1210
+ }
1211
+ ],
1212
+ "isOptional": false,
1213
+ "isAbstract": false,
1214
+ "name": "filter"
1215
+ },
1216
+ {
1217
+ "kind": "Property",
1218
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserAgent#isSafari:member",
1219
+ "docComment": "/**\n * {@inheritDoc UserAgent.isSafari}\n */\n",
1220
+ "excerptTokens": [
1221
+ {
1222
+ "kind": "Content",
1223
+ "text": "get isSafari(): "
1224
+ },
1225
+ {
1226
+ "kind": "Content",
1227
+ "text": "boolean"
1228
+ },
1229
+ {
1230
+ "kind": "Content",
1231
+ "text": ";"
1232
+ }
1233
+ ],
1234
+ "isReadonly": true,
1235
+ "isOptional": false,
1236
+ "releaseTag": "Public",
1237
+ "name": "isSafari",
1238
+ "propertyTypeTokenRange": {
1239
+ "startIndex": 1,
1240
+ "endIndex": 2
1241
+ },
1242
+ "isStatic": false,
1243
+ "isProtected": false,
1244
+ "isAbstract": false
1245
+ }
1246
+ ],
1247
+ "implementsTokenRanges": [
1248
+ {
1249
+ "startIndex": 1,
1250
+ "endIndex": 2
1251
+ }
1252
+ ]
1253
+ },
1254
+ {
1255
+ "kind": "Class",
1256
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserTargeting:class",
1257
+ "docComment": "/**\n * Default UserTargeting DI implementation.\n *\n * @public\n */\n",
1258
+ "excerptTokens": [
1259
+ {
1260
+ "kind": "Content",
1261
+ "text": "export declare class DefaultUserTargeting implements "
1262
+ },
1263
+ {
1264
+ "kind": "Reference",
1265
+ "text": "UserTargeting",
1266
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargeting:interface"
1267
+ },
1268
+ {
1269
+ "kind": "Content",
1270
+ "text": " "
1271
+ }
1272
+ ],
1273
+ "fileUrlPath": "src/userTargeting.ts",
1274
+ "releaseTag": "Public",
1275
+ "isAbstract": false,
1276
+ "name": "DefaultUserTargeting",
1277
+ "preserveMemberOrder": false,
1278
+ "members": [
1279
+ {
1280
+ "kind": "Constructor",
1281
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserTargeting:constructor(1)",
1282
+ "docComment": "/**\n * Constructs a new instance of the `DefaultUserTargeting` class\n */\n",
1283
+ "excerptTokens": [
1284
+ {
1285
+ "kind": "Content",
1286
+ "text": "constructor(auth: "
1287
+ },
1288
+ {
1289
+ "kind": "Reference",
1290
+ "text": "Auth",
1291
+ "canonicalReference": "@genesislcap/foundation-comms!Auth:interface"
1292
+ },
1293
+ {
1294
+ "kind": "Content",
1295
+ "text": ");"
1296
+ }
1297
+ ],
1298
+ "releaseTag": "Public",
1299
+ "isProtected": false,
1300
+ "overloadIndex": 1,
1301
+ "parameters": [
1302
+ {
1303
+ "parameterName": "auth",
1304
+ "parameterTypeTokenRange": {
1305
+ "startIndex": 1,
1306
+ "endIndex": 2
1307
+ },
1308
+ "isOptional": false
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "kind": "Property",
1314
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserTargeting#auth:member",
1315
+ "docComment": "",
1316
+ "excerptTokens": [
1317
+ {
1318
+ "kind": "Content",
1319
+ "text": "auth: "
1320
+ },
1321
+ {
1322
+ "kind": "Reference",
1323
+ "text": "Auth",
1324
+ "canonicalReference": "@genesislcap/foundation-comms!Auth:interface"
1325
+ },
1326
+ {
1327
+ "kind": "Content",
1328
+ "text": ";"
1329
+ }
1330
+ ],
1331
+ "isReadonly": false,
1332
+ "isOptional": false,
1333
+ "releaseTag": "Public",
1334
+ "name": "auth",
1335
+ "propertyTypeTokenRange": {
1336
+ "startIndex": 1,
1337
+ "endIndex": 2
1338
+ },
1339
+ "isStatic": false,
1340
+ "isProtected": false,
1341
+ "isAbstract": false
1342
+ },
1343
+ {
1344
+ "kind": "Method",
1345
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserTargeting#filter:member(1)",
1346
+ "docComment": "/**\n * @param parameters - The filter parameters.\n *\n * @returns The filter outcome.\n */\n",
1347
+ "excerptTokens": [
1348
+ {
1349
+ "kind": "Content",
1350
+ "text": "filter(params: "
1351
+ },
1352
+ {
1353
+ "kind": "Reference",
1354
+ "text": "UserTargetingParams",
1355
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargetingParams:type"
1356
+ },
1357
+ {
1358
+ "kind": "Content",
1359
+ "text": "): "
1360
+ },
1361
+ {
1362
+ "kind": "Content",
1363
+ "text": "boolean"
1364
+ },
1365
+ {
1366
+ "kind": "Content",
1367
+ "text": ";"
1368
+ }
1369
+ ],
1370
+ "isStatic": false,
1371
+ "returnTypeTokenRange": {
1372
+ "startIndex": 3,
1373
+ "endIndex": 4
1374
+ },
1375
+ "releaseTag": "Public",
1376
+ "isProtected": false,
1377
+ "overloadIndex": 1,
1378
+ "parameters": [
1379
+ {
1380
+ "parameterName": "params",
1381
+ "parameterTypeTokenRange": {
1382
+ "startIndex": 1,
1383
+ "endIndex": 2
1384
+ },
1385
+ "isOptional": false
1386
+ }
1387
+ ],
1388
+ "isOptional": false,
1389
+ "isAbstract": false,
1390
+ "name": "filter"
1391
+ },
1392
+ {
1393
+ "kind": "Property",
1394
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserTargeting#hasAdminProfile:member",
1395
+ "docComment": "/**\n * {@inheritDoc UserTargeting.hasAdminProfile}\n */\n",
1396
+ "excerptTokens": [
1397
+ {
1398
+ "kind": "Content",
1399
+ "text": "get hasAdminProfile(): "
1400
+ },
1401
+ {
1402
+ "kind": "Content",
1403
+ "text": "boolean"
1404
+ },
1405
+ {
1406
+ "kind": "Content",
1407
+ "text": ";"
1408
+ }
1409
+ ],
1410
+ "isReadonly": true,
1411
+ "isOptional": false,
1412
+ "releaseTag": "Public",
1413
+ "name": "hasAdminProfile",
1414
+ "propertyTypeTokenRange": {
1415
+ "startIndex": 1,
1416
+ "endIndex": 2
1417
+ },
1418
+ "isStatic": false,
1419
+ "isProtected": false,
1420
+ "isAbstract": false
1421
+ },
1422
+ {
1423
+ "kind": "Property",
1424
+ "canonicalReference": "@genesislcap/foundation-filters!DefaultUserTargeting#isLoggedIn:member",
1425
+ "docComment": "/**\n * {@inheritDoc UserTargeting.isLoggedIn}\n */\n",
1426
+ "excerptTokens": [
1427
+ {
1428
+ "kind": "Content",
1429
+ "text": "get isLoggedIn(): "
1430
+ },
1431
+ {
1432
+ "kind": "Content",
1433
+ "text": "boolean"
1434
+ },
1435
+ {
1436
+ "kind": "Content",
1437
+ "text": ";"
1438
+ }
1439
+ ],
1440
+ "isReadonly": true,
1441
+ "isOptional": false,
1442
+ "releaseTag": "Public",
1443
+ "name": "isLoggedIn",
1444
+ "propertyTypeTokenRange": {
1445
+ "startIndex": 1,
1446
+ "endIndex": 2
1447
+ },
1448
+ "isStatic": false,
1449
+ "isProtected": false,
1450
+ "isAbstract": false
1451
+ }
1452
+ ],
1453
+ "implementsTokenRanges": [
1454
+ {
1455
+ "startIndex": 1,
1456
+ "endIndex": 2
1457
+ }
1458
+ ]
1459
+ },
1460
+ {
1461
+ "kind": "Function",
1462
+ "canonicalReference": "@genesislcap/foundation-filters!getFilterByName:function(1)",
1463
+ "docComment": "/**\n * Filer lookup by name.\n *\n * @public\n */\n",
1464
+ "excerptTokens": [
1465
+ {
1466
+ "kind": "Content",
1467
+ "text": "export declare function getFilterByName(name: "
1468
+ },
1469
+ {
1470
+ "kind": "Reference",
1471
+ "text": "ClientFilterName",
1472
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterName:type"
1473
+ },
1474
+ {
1475
+ "kind": "Content",
1476
+ "text": ", container: "
1477
+ },
1478
+ {
1479
+ "kind": "Reference",
1480
+ "text": "Container",
1481
+ "canonicalReference": "@microsoft/fast-foundation!Container:interface"
1482
+ },
1483
+ {
1484
+ "kind": "Content",
1485
+ "text": "): "
1486
+ },
1487
+ {
1488
+ "kind": "Reference",
1489
+ "text": "NodeEnv",
1490
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnv:interface"
1491
+ },
1492
+ {
1493
+ "kind": "Content",
1494
+ "text": " | "
1495
+ },
1496
+ {
1497
+ "kind": "Reference",
1498
+ "text": "Percentage",
1499
+ "canonicalReference": "@genesislcap/foundation-filters!Percentage:interface"
1500
+ },
1501
+ {
1502
+ "kind": "Content",
1503
+ "text": " | "
1504
+ },
1505
+ {
1506
+ "kind": "Reference",
1507
+ "text": "TimeWindow",
1508
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindow:interface"
1509
+ },
1510
+ {
1511
+ "kind": "Content",
1512
+ "text": " | "
1513
+ },
1514
+ {
1515
+ "kind": "Reference",
1516
+ "text": "URLTargeting",
1517
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargeting:interface"
1518
+ },
1519
+ {
1520
+ "kind": "Content",
1521
+ "text": " | "
1522
+ },
1523
+ {
1524
+ "kind": "Reference",
1525
+ "text": "UserAgent",
1526
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgent:interface"
1527
+ },
1528
+ {
1529
+ "kind": "Content",
1530
+ "text": " | "
1531
+ },
1532
+ {
1533
+ "kind": "Reference",
1534
+ "text": "UserTargeting",
1535
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargeting:interface"
1536
+ },
1537
+ {
1538
+ "kind": "Content",
1539
+ "text": ";"
1540
+ }
1541
+ ],
1542
+ "fileUrlPath": "src/clientFilter.ts",
1543
+ "returnTypeTokenRange": {
1544
+ "startIndex": 5,
1545
+ "endIndex": 16
1546
+ },
1547
+ "releaseTag": "Public",
1548
+ "overloadIndex": 1,
1549
+ "parameters": [
1550
+ {
1551
+ "parameterName": "name",
1552
+ "parameterTypeTokenRange": {
1553
+ "startIndex": 1,
1554
+ "endIndex": 2
1555
+ },
1556
+ "isOptional": false
1557
+ },
1558
+ {
1559
+ "parameterName": "container",
1560
+ "parameterTypeTokenRange": {
1561
+ "startIndex": 3,
1562
+ "endIndex": 4
1563
+ },
1564
+ "isOptional": false
1565
+ }
1566
+ ],
1567
+ "name": "getFilterByName"
1568
+ },
1569
+ {
1570
+ "kind": "Variable",
1571
+ "canonicalReference": "@genesislcap/foundation-filters!logger:var",
1572
+ "docComment": "/**\n * Client filter logger\n *\n * @remarks\n *\n * Exposed so that the logging level within this package can be tailored differently to the default level when needed.\n *\n * @example\n * ```ts\n * import { LogLevel } from '@genesislcap/foundation-utils';\n * import { logger as clientFilterLogger } from '@genesislcap/foundation-filters';\n * clientFilterLogger.level = LogLevel.Error;\n * ```\n *\n * @public\n */\n",
1573
+ "excerptTokens": [
1574
+ {
1575
+ "kind": "Content",
1576
+ "text": "logger: "
1577
+ },
1578
+ {
1579
+ "kind": "Content",
1580
+ "text": "import(\"@genesislcap/foundation-utils\")."
1581
+ },
1582
+ {
1583
+ "kind": "Reference",
1584
+ "text": "Logger",
1585
+ "canonicalReference": "@genesislcap/foundation-utils!Logger:interface"
1586
+ }
1587
+ ],
1588
+ "fileUrlPath": "src/logger.ts",
1589
+ "isReadonly": true,
1590
+ "releaseTag": "Public",
1591
+ "name": "logger",
1592
+ "variableTypeTokenRange": {
1593
+ "startIndex": 1,
1594
+ "endIndex": 3
1595
+ }
1596
+ },
1597
+ {
1598
+ "kind": "Interface",
1599
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnv:interface",
1600
+ "docComment": "/**\n * NodeEnv client filter DI interface.\n *\n * @public\n */\n",
1601
+ "excerptTokens": [
1602
+ {
1603
+ "kind": "Content",
1604
+ "text": "export interface NodeEnv extends "
1605
+ },
1606
+ {
1607
+ "kind": "Reference",
1608
+ "text": "ClientFilter",
1609
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface"
1610
+ },
1611
+ {
1612
+ "kind": "Content",
1613
+ "text": "<"
1614
+ },
1615
+ {
1616
+ "kind": "Reference",
1617
+ "text": "NodeEnvParams",
1618
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnvParams:type"
1619
+ },
1620
+ {
1621
+ "kind": "Content",
1622
+ "text": ">"
1623
+ },
1624
+ {
1625
+ "kind": "Content",
1626
+ "text": " "
1627
+ }
1628
+ ],
1629
+ "fileUrlPath": "src/nodeEnv.ts",
1630
+ "releaseTag": "Public",
1631
+ "name": "NodeEnv",
1632
+ "preserveMemberOrder": false,
1633
+ "members": [
1634
+ {
1635
+ "kind": "PropertySignature",
1636
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnv#isDevelopment:member",
1637
+ "docComment": "/**\n * @remarks\n *\n * Running in development mode.\n */\n",
1638
+ "excerptTokens": [
1639
+ {
1640
+ "kind": "Content",
1641
+ "text": "readonly isDevelopment: "
1642
+ },
1643
+ {
1644
+ "kind": "Content",
1645
+ "text": "boolean"
1646
+ },
1647
+ {
1648
+ "kind": "Content",
1649
+ "text": ";"
1650
+ }
1651
+ ],
1652
+ "isReadonly": true,
1653
+ "isOptional": false,
1654
+ "releaseTag": "Public",
1655
+ "name": "isDevelopment",
1656
+ "propertyTypeTokenRange": {
1657
+ "startIndex": 1,
1658
+ "endIndex": 2
1659
+ }
1660
+ },
1661
+ {
1662
+ "kind": "PropertySignature",
1663
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnv#isProduction:member",
1664
+ "docComment": "/**\n * @remarks\n *\n * Running in production mode.\n */\n",
1665
+ "excerptTokens": [
1666
+ {
1667
+ "kind": "Content",
1668
+ "text": "readonly isProduction: "
1669
+ },
1670
+ {
1671
+ "kind": "Content",
1672
+ "text": "boolean"
1673
+ },
1674
+ {
1675
+ "kind": "Content",
1676
+ "text": ";"
1677
+ }
1678
+ ],
1679
+ "isReadonly": true,
1680
+ "isOptional": false,
1681
+ "releaseTag": "Public",
1682
+ "name": "isProduction",
1683
+ "propertyTypeTokenRange": {
1684
+ "startIndex": 1,
1685
+ "endIndex": 2
1686
+ }
1687
+ },
1688
+ {
1689
+ "kind": "PropertySignature",
1690
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnv#isTesting:member",
1691
+ "docComment": "/**\n * @remarks\n *\n * Running in test mode.\n */\n",
1692
+ "excerptTokens": [
1693
+ {
1694
+ "kind": "Content",
1695
+ "text": "readonly isTesting: "
1696
+ },
1697
+ {
1698
+ "kind": "Content",
1699
+ "text": "boolean"
1700
+ },
1701
+ {
1702
+ "kind": "Content",
1703
+ "text": ";"
1704
+ }
1705
+ ],
1706
+ "isReadonly": true,
1707
+ "isOptional": false,
1708
+ "releaseTag": "Public",
1709
+ "name": "isTesting",
1710
+ "propertyTypeTokenRange": {
1711
+ "startIndex": 1,
1712
+ "endIndex": 2
1713
+ }
1714
+ }
1715
+ ],
1716
+ "extendsTokenRanges": [
1717
+ {
1718
+ "startIndex": 1,
1719
+ "endIndex": 5
1720
+ }
1721
+ ]
1722
+ },
1723
+ {
1724
+ "kind": "Function",
1725
+ "canonicalReference": "@genesislcap/foundation-filters!nodeEnvFilter:function(1)",
1726
+ "docComment": "/**\n * NodeEnv client filter function.\n *\n * @remarks\n *\n * This will return true when the current node env matches target parameters.\n *\n * @param envs - Environments to target.\n *\n * @public\n */\n",
1727
+ "excerptTokens": [
1728
+ {
1729
+ "kind": "Content",
1730
+ "text": "export declare function nodeEnvFilter(envs: "
1731
+ },
1732
+ {
1733
+ "kind": "Content",
1734
+ "text": "string[]"
1735
+ },
1736
+ {
1737
+ "kind": "Content",
1738
+ "text": "): "
1739
+ },
1740
+ {
1741
+ "kind": "Content",
1742
+ "text": "boolean"
1743
+ },
1744
+ {
1745
+ "kind": "Content",
1746
+ "text": ";"
1747
+ }
1748
+ ],
1749
+ "fileUrlPath": "src/nodeEnv.ts",
1750
+ "returnTypeTokenRange": {
1751
+ "startIndex": 3,
1752
+ "endIndex": 4
1753
+ },
1754
+ "releaseTag": "Public",
1755
+ "overloadIndex": 1,
1756
+ "parameters": [
1757
+ {
1758
+ "parameterName": "envs",
1759
+ "parameterTypeTokenRange": {
1760
+ "startIndex": 1,
1761
+ "endIndex": 2
1762
+ },
1763
+ "isOptional": false
1764
+ }
1765
+ ],
1766
+ "name": "nodeEnvFilter"
1767
+ },
1768
+ {
1769
+ "kind": "TypeAlias",
1770
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnvParams:type",
1771
+ "docComment": "/**\n * NodeEnvParams\n *\n * @example\n * ```json\n * {\n * \"envs\": [\"development\", \"testing\"],\n * }\n * ```\n *\n * @public\n */\n",
1772
+ "excerptTokens": [
1773
+ {
1774
+ "kind": "Content",
1775
+ "text": "export type NodeEnvParams = "
1776
+ },
1777
+ {
1778
+ "kind": "Content",
1779
+ "text": "{\n readonly envs: string[];\n}"
1780
+ },
1781
+ {
1782
+ "kind": "Content",
1783
+ "text": ";"
1784
+ }
1785
+ ],
1786
+ "fileUrlPath": "src/nodeEnv.ts",
1787
+ "releaseTag": "Public",
1788
+ "name": "NodeEnvParams",
1789
+ "typeTokenRange": {
1790
+ "startIndex": 1,
1791
+ "endIndex": 2
1792
+ }
1793
+ },
1794
+ {
1795
+ "kind": "TypeAlias",
1796
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnvSchema:type",
1797
+ "docComment": "/**\n * NodeEnvSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @public\n */\n",
1798
+ "excerptTokens": [
1799
+ {
1800
+ "kind": "Content",
1801
+ "text": "export type NodeEnvSchema = "
1802
+ },
1803
+ {
1804
+ "kind": "Reference",
1805
+ "text": "ClientFilterSchema",
1806
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type"
1807
+ },
1808
+ {
1809
+ "kind": "Content",
1810
+ "text": "<typeof "
1811
+ },
1812
+ {
1813
+ "kind": "Reference",
1814
+ "text": "ClientFilterName.nodeEnv",
1815
+ "canonicalReference": "@genesislcap/foundation-filters!~__type#nodeEnv:member"
1816
+ },
1817
+ {
1818
+ "kind": "Content",
1819
+ "text": ", "
1820
+ },
1821
+ {
1822
+ "kind": "Reference",
1823
+ "text": "NodeEnvParams",
1824
+ "canonicalReference": "@genesislcap/foundation-filters!NodeEnvParams:type"
1825
+ },
1826
+ {
1827
+ "kind": "Content",
1828
+ "text": ">"
1829
+ },
1830
+ {
1831
+ "kind": "Content",
1832
+ "text": ";"
1833
+ }
1834
+ ],
1835
+ "fileUrlPath": "src/nodeEnv.ts",
1836
+ "releaseTag": "Public",
1837
+ "name": "NodeEnvSchema",
1838
+ "typeTokenRange": {
1839
+ "startIndex": 1,
1840
+ "endIndex": 7
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "Interface",
1845
+ "canonicalReference": "@genesislcap/foundation-filters!Percentage:interface",
1846
+ "docComment": "/**\n * Percentage client filter DI interface.\n *\n * @remarks\n *\n * Simplifies access to runtime data / state contained within the DI container.\n *\n * @public\n */\n",
1847
+ "excerptTokens": [
1848
+ {
1849
+ "kind": "Content",
1850
+ "text": "export interface Percentage extends "
1851
+ },
1852
+ {
1853
+ "kind": "Reference",
1854
+ "text": "ClientFilter",
1855
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface"
1856
+ },
1857
+ {
1858
+ "kind": "Content",
1859
+ "text": "<"
1860
+ },
1861
+ {
1862
+ "kind": "Reference",
1863
+ "text": "PercentageParams",
1864
+ "canonicalReference": "@genesislcap/foundation-filters!PercentageParams:type"
1865
+ },
1866
+ {
1867
+ "kind": "Content",
1868
+ "text": ">"
1869
+ },
1870
+ {
1871
+ "kind": "Content",
1872
+ "text": " "
1873
+ }
1874
+ ],
1875
+ "fileUrlPath": "src/percentage.ts",
1876
+ "releaseTag": "Public",
1877
+ "name": "Percentage",
1878
+ "preserveMemberOrder": false,
1879
+ "members": [],
1880
+ "extendsTokenRanges": [
1881
+ {
1882
+ "startIndex": 1,
1883
+ "endIndex": 5
1884
+ }
1885
+ ]
1886
+ },
1887
+ {
1888
+ "kind": "Function",
1889
+ "canonicalReference": "@genesislcap/foundation-filters!percentageFilter:function(1)",
1890
+ "docComment": "/**\n * Percentage client filter function.\n *\n * @remarks\n *\n * This will return true a certain percentage of the time.\n *\n * @param percent - The percent of the time to pass, a numeric value between 0 and 1.\n *\n * @param random - Math.random() generated floating-point.\n *\n * @public\n */\n",
1891
+ "excerptTokens": [
1892
+ {
1893
+ "kind": "Content",
1894
+ "text": "export declare function percentageFilter(percent: "
1895
+ },
1896
+ {
1897
+ "kind": "Content",
1898
+ "text": "number"
1899
+ },
1900
+ {
1901
+ "kind": "Content",
1902
+ "text": ", random?: "
1903
+ },
1904
+ {
1905
+ "kind": "Content",
1906
+ "text": "number"
1907
+ },
1908
+ {
1909
+ "kind": "Content",
1910
+ "text": "): "
1911
+ },
1912
+ {
1913
+ "kind": "Content",
1914
+ "text": "boolean"
1915
+ },
1916
+ {
1917
+ "kind": "Content",
1918
+ "text": ";"
1919
+ }
1920
+ ],
1921
+ "fileUrlPath": "src/percentage.ts",
1922
+ "returnTypeTokenRange": {
1923
+ "startIndex": 5,
1924
+ "endIndex": 6
1925
+ },
1926
+ "releaseTag": "Public",
1927
+ "overloadIndex": 1,
1928
+ "parameters": [
1929
+ {
1930
+ "parameterName": "percent",
1931
+ "parameterTypeTokenRange": {
1932
+ "startIndex": 1,
1933
+ "endIndex": 2
1934
+ },
1935
+ "isOptional": false
1936
+ },
1937
+ {
1938
+ "parameterName": "random",
1939
+ "parameterTypeTokenRange": {
1940
+ "startIndex": 3,
1941
+ "endIndex": 4
1942
+ },
1943
+ "isOptional": true
1944
+ }
1945
+ ],
1946
+ "name": "percentageFilter"
1947
+ },
1948
+ {
1949
+ "kind": "TypeAlias",
1950
+ "canonicalReference": "@genesislcap/foundation-filters!PercentageParams:type",
1951
+ "docComment": "/**\n * PercentageParams\n *\n * @remarks\n *\n * Percent should be a numeric value between 0 and 1.\n *\n * @example\n * ```json\n * {\n * \"percent\": 0.5\n * }\n * ```\n *\n * @example\n *\n * In a rare case where you need to control the random floating-point creation, you can do so externally and provide it.\n * ```json\n * {\n * \"percent\": 0.34\n * \"random\": 0.08901819974272063\n * }\n * ```\n *\n * @public\n */\n",
1952
+ "excerptTokens": [
1953
+ {
1954
+ "kind": "Content",
1955
+ "text": "export type PercentageParams = "
1956
+ },
1957
+ {
1958
+ "kind": "Content",
1959
+ "text": "{\n readonly percent: number;\n readonly random?: number;\n}"
1960
+ },
1961
+ {
1962
+ "kind": "Content",
1963
+ "text": ";"
1964
+ }
1965
+ ],
1966
+ "fileUrlPath": "src/percentage.ts",
1967
+ "releaseTag": "Public",
1968
+ "name": "PercentageParams",
1969
+ "typeTokenRange": {
1970
+ "startIndex": 1,
1971
+ "endIndex": 2
1972
+ }
1973
+ },
1974
+ {
1975
+ "kind": "TypeAlias",
1976
+ "canonicalReference": "@genesislcap/foundation-filters!PercentageSchema:type",
1977
+ "docComment": "/**\n * PercentageSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @public\n */\n",
1978
+ "excerptTokens": [
1979
+ {
1980
+ "kind": "Content",
1981
+ "text": "export type PercentageSchema = "
1982
+ },
1983
+ {
1984
+ "kind": "Reference",
1985
+ "text": "ClientFilterSchema",
1986
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type"
1987
+ },
1988
+ {
1989
+ "kind": "Content",
1990
+ "text": "<typeof "
1991
+ },
1992
+ {
1993
+ "kind": "Reference",
1994
+ "text": "ClientFilterName.percentage",
1995
+ "canonicalReference": "@genesislcap/foundation-filters!~__type#percentage:member"
1996
+ },
1997
+ {
1998
+ "kind": "Content",
1999
+ "text": ", "
2000
+ },
2001
+ {
2002
+ "kind": "Reference",
2003
+ "text": "PercentageParams",
2004
+ "canonicalReference": "@genesislcap/foundation-filters!PercentageParams:type"
2005
+ },
2006
+ {
2007
+ "kind": "Content",
2008
+ "text": ">"
2009
+ },
2010
+ {
2011
+ "kind": "Content",
2012
+ "text": ";"
2013
+ }
2014
+ ],
2015
+ "fileUrlPath": "src/percentage.ts",
2016
+ "releaseTag": "Public",
2017
+ "name": "PercentageSchema",
2018
+ "typeTokenRange": {
2019
+ "startIndex": 1,
2020
+ "endIndex": 7
2021
+ }
2022
+ },
2023
+ {
2024
+ "kind": "Function",
2025
+ "canonicalReference": "@genesislcap/foundation-filters!runner:function(1)",
2026
+ "docComment": "/**\n * Client filter runner function.\n *\n * @remarks\n *\n * This will return true when all the filters in the array pass.\n *\n * @param filters - An array of client filters to run.\n *\n * @param container - The DI container.\n *\n * @public\n */\n",
2027
+ "excerptTokens": [
2028
+ {
2029
+ "kind": "Content",
2030
+ "text": "export declare function runner(filters: "
2031
+ },
2032
+ {
2033
+ "kind": "Reference",
2034
+ "text": "ClientFilterSchemas",
2035
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchemas:type"
2036
+ },
2037
+ {
2038
+ "kind": "Content",
2039
+ "text": "[]"
2040
+ },
2041
+ {
2042
+ "kind": "Content",
2043
+ "text": ", container: "
2044
+ },
2045
+ {
2046
+ "kind": "Reference",
2047
+ "text": "Container",
2048
+ "canonicalReference": "@microsoft/fast-foundation!Container:interface"
2049
+ },
2050
+ {
2051
+ "kind": "Content",
2052
+ "text": "): "
2053
+ },
2054
+ {
2055
+ "kind": "Content",
2056
+ "text": "boolean"
2057
+ },
2058
+ {
2059
+ "kind": "Content",
2060
+ "text": ";"
2061
+ }
2062
+ ],
2063
+ "fileUrlPath": "src/clientFilter.ts",
2064
+ "returnTypeTokenRange": {
2065
+ "startIndex": 6,
2066
+ "endIndex": 7
2067
+ },
2068
+ "releaseTag": "Public",
2069
+ "overloadIndex": 1,
2070
+ "parameters": [
2071
+ {
2072
+ "parameterName": "filters",
2073
+ "parameterTypeTokenRange": {
2074
+ "startIndex": 1,
2075
+ "endIndex": 3
2076
+ },
2077
+ "isOptional": false
2078
+ },
2079
+ {
2080
+ "parameterName": "container",
2081
+ "parameterTypeTokenRange": {
2082
+ "startIndex": 4,
2083
+ "endIndex": 5
2084
+ },
2085
+ "isOptional": false
2086
+ }
2087
+ ],
2088
+ "name": "runner"
2089
+ },
2090
+ {
2091
+ "kind": "Interface",
2092
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindow:interface",
2093
+ "docComment": "/**\n * TimeWindow client filter DI interface.\n *\n * @remarks\n *\n * Simplifies access to runtime data / state contained within the DI container.\n *\n * @public\n */\n",
2094
+ "excerptTokens": [
2095
+ {
2096
+ "kind": "Content",
2097
+ "text": "export interface TimeWindow extends "
2098
+ },
2099
+ {
2100
+ "kind": "Reference",
2101
+ "text": "ClientFilter",
2102
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface"
2103
+ },
2104
+ {
2105
+ "kind": "Content",
2106
+ "text": "<"
2107
+ },
2108
+ {
2109
+ "kind": "Reference",
2110
+ "text": "TimeWindowParams",
2111
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindowParams:type"
2112
+ },
2113
+ {
2114
+ "kind": "Content",
2115
+ "text": ">"
2116
+ },
2117
+ {
2118
+ "kind": "Content",
2119
+ "text": " "
2120
+ }
2121
+ ],
2122
+ "fileUrlPath": "src/timeWindow.ts",
2123
+ "releaseTag": "Public",
2124
+ "name": "TimeWindow",
2125
+ "preserveMemberOrder": false,
2126
+ "members": [],
2127
+ "extendsTokenRanges": [
2128
+ {
2129
+ "startIndex": 1,
2130
+ "endIndex": 5
2131
+ }
2132
+ ]
2133
+ },
2134
+ {
2135
+ "kind": "Function",
2136
+ "canonicalReference": "@genesislcap/foundation-filters!timeWindowFilter:function(1)",
2137
+ "docComment": "/**\n * TimeWindow client filter function.\n *\n * @remarks\n *\n * This will return true between a certain time window. Start and end can be provided in any format recognized by the Date.parse() method.\n *\n * @param start - The start of the time window.\n *\n * @param end - The end of the time window.\n *\n * @public\n */\n",
2138
+ "excerptTokens": [
2139
+ {
2140
+ "kind": "Content",
2141
+ "text": "export declare function timeWindowFilter(start?: "
2142
+ },
2143
+ {
2144
+ "kind": "Content",
2145
+ "text": "string"
2146
+ },
2147
+ {
2148
+ "kind": "Content",
2149
+ "text": ", end?: "
2150
+ },
2151
+ {
2152
+ "kind": "Content",
2153
+ "text": "string"
2154
+ },
2155
+ {
2156
+ "kind": "Content",
2157
+ "text": "): "
2158
+ },
2159
+ {
2160
+ "kind": "Content",
2161
+ "text": "boolean"
2162
+ },
2163
+ {
2164
+ "kind": "Content",
2165
+ "text": ";"
2166
+ }
2167
+ ],
2168
+ "fileUrlPath": "src/timeWindow.ts",
2169
+ "returnTypeTokenRange": {
2170
+ "startIndex": 5,
2171
+ "endIndex": 6
2172
+ },
2173
+ "releaseTag": "Public",
2174
+ "overloadIndex": 1,
2175
+ "parameters": [
2176
+ {
2177
+ "parameterName": "start",
2178
+ "parameterTypeTokenRange": {
2179
+ "startIndex": 1,
2180
+ "endIndex": 2
2181
+ },
2182
+ "isOptional": true
2183
+ },
2184
+ {
2185
+ "parameterName": "end",
2186
+ "parameterTypeTokenRange": {
2187
+ "startIndex": 3,
2188
+ "endIndex": 4
2189
+ },
2190
+ "isOptional": true
2191
+ }
2192
+ ],
2193
+ "name": "timeWindowFilter"
2194
+ },
2195
+ {
2196
+ "kind": "TypeAlias",
2197
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindowParams:type",
2198
+ "docComment": "/**\n * TimeWindowParams\n *\n * @remarks\n *\n * Both params can be provided in any format recognized by the Date.parse() method.\n *\n * @example\n * ```json\n * {\n * \"start\": \"Sun Sep 25 2022 16:51:55 GMT+0000\",\n * \"end\": \"Fri Nov 25 2022 17:51:55 GMT+0000\"\n * }\n * ```\n *\n * @example\n * ```json\n * {\n * \"start\": \"2022-10-01\",\n * \"end\": \"2022-12-01\"\n * }\n * ```\n *\n * @example\n * ```json\n * {\n * \"end\": \"Dec 31, 2022\"\n * }\n * ```\n *\n * @example\n * ```json\n * {\n * \"start\": \"2023-01-01T00:00:00.000+00:00\"\n * }\n * ```\n *\n * @public\n */\n",
2199
+ "excerptTokens": [
2200
+ {
2201
+ "kind": "Content",
2202
+ "text": "export type TimeWindowParams = "
2203
+ },
2204
+ {
2205
+ "kind": "Content",
2206
+ "text": "{\n readonly start?: string;\n readonly end?: string;\n}"
2207
+ },
2208
+ {
2209
+ "kind": "Content",
2210
+ "text": ";"
2211
+ }
2212
+ ],
2213
+ "fileUrlPath": "src/timeWindow.ts",
2214
+ "releaseTag": "Public",
2215
+ "name": "TimeWindowParams",
2216
+ "typeTokenRange": {
2217
+ "startIndex": 1,
2218
+ "endIndex": 2
2219
+ }
2220
+ },
2221
+ {
2222
+ "kind": "TypeAlias",
2223
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindowSchema:type",
2224
+ "docComment": "/**\n * TimeWindowSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @public\n */\n",
2225
+ "excerptTokens": [
2226
+ {
2227
+ "kind": "Content",
2228
+ "text": "export type TimeWindowSchema = "
2229
+ },
2230
+ {
2231
+ "kind": "Reference",
2232
+ "text": "ClientFilterSchema",
2233
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type"
2234
+ },
2235
+ {
2236
+ "kind": "Content",
2237
+ "text": "<typeof "
2238
+ },
2239
+ {
2240
+ "kind": "Reference",
2241
+ "text": "ClientFilterName.timeWindow",
2242
+ "canonicalReference": "@genesislcap/foundation-filters!~__type#timeWindow:member"
2243
+ },
2244
+ {
2245
+ "kind": "Content",
2246
+ "text": ", "
2247
+ },
2248
+ {
2249
+ "kind": "Reference",
2250
+ "text": "TimeWindowParams",
2251
+ "canonicalReference": "@genesislcap/foundation-filters!TimeWindowParams:type"
2252
+ },
2253
+ {
2254
+ "kind": "Content",
2255
+ "text": ">"
2256
+ },
2257
+ {
2258
+ "kind": "Content",
2259
+ "text": ";"
2260
+ }
2261
+ ],
2262
+ "fileUrlPath": "src/timeWindow.ts",
2263
+ "releaseTag": "Public",
2264
+ "name": "TimeWindowSchema",
2265
+ "typeTokenRange": {
2266
+ "startIndex": 1,
2267
+ "endIndex": 7
2268
+ }
2269
+ },
2270
+ {
2271
+ "kind": "Interface",
2272
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargeting:interface",
2273
+ "docComment": "/**\n * URLTargeting client filter DI interface.\n *\n * @public\n */\n",
2274
+ "excerptTokens": [
2275
+ {
2276
+ "kind": "Content",
2277
+ "text": "export interface URLTargeting extends "
2278
+ },
2279
+ {
2280
+ "kind": "Reference",
2281
+ "text": "ClientFilter",
2282
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface"
2283
+ },
2284
+ {
2285
+ "kind": "Content",
2286
+ "text": "<"
2287
+ },
2288
+ {
2289
+ "kind": "Reference",
2290
+ "text": "URLTargetingParams",
2291
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargetingParams:type"
2292
+ },
2293
+ {
2294
+ "kind": "Content",
2295
+ "text": ">"
2296
+ },
2297
+ {
2298
+ "kind": "Content",
2299
+ "text": " "
2300
+ }
2301
+ ],
2302
+ "fileUrlPath": "src/urlTargeting.ts",
2303
+ "releaseTag": "Public",
2304
+ "name": "URLTargeting",
2305
+ "preserveMemberOrder": false,
2306
+ "members": [
2307
+ {
2308
+ "kind": "MethodSignature",
2309
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargeting#isSecure:member(1)",
2310
+ "docComment": "/**\n * @remarks\n *\n * Check if a url is secure.\n *\n * @param url - A url.\n */\n",
2311
+ "excerptTokens": [
2312
+ {
2313
+ "kind": "Content",
2314
+ "text": "isSecure(url: "
2315
+ },
2316
+ {
2317
+ "kind": "Content",
2318
+ "text": "string"
2319
+ },
2320
+ {
2321
+ "kind": "Content",
2322
+ "text": "): "
2323
+ },
2324
+ {
2325
+ "kind": "Content",
2326
+ "text": "boolean"
2327
+ },
2328
+ {
2329
+ "kind": "Content",
2330
+ "text": ";"
2331
+ }
2332
+ ],
2333
+ "isOptional": false,
2334
+ "returnTypeTokenRange": {
2335
+ "startIndex": 3,
2336
+ "endIndex": 4
2337
+ },
2338
+ "releaseTag": "Public",
2339
+ "overloadIndex": 1,
2340
+ "parameters": [
2341
+ {
2342
+ "parameterName": "url",
2343
+ "parameterTypeTokenRange": {
2344
+ "startIndex": 1,
2345
+ "endIndex": 2
2346
+ },
2347
+ "isOptional": false
2348
+ }
2349
+ ],
2350
+ "name": "isSecure"
2351
+ }
2352
+ ],
2353
+ "extendsTokenRanges": [
2354
+ {
2355
+ "startIndex": 1,
2356
+ "endIndex": 5
2357
+ }
2358
+ ]
2359
+ },
2360
+ {
2361
+ "kind": "Function",
2362
+ "canonicalReference": "@genesislcap/foundation-filters!urlTargetingFilter:function(1)",
2363
+ "docComment": "/**\n * URLTargeting client filter function.\n *\n * @remarks\n *\n * This will return true when the current URL matches on ANY of the parameters. If you wish to match on multiple parameters, consider chaining an array of urlTargeting filters together.\n *\n * @param url - A url.\n *\n * @param pattern - A regex.\n *\n * @param schemes - Schemes/protocols to target.\n *\n * @param hosts - Hosts to target.\n *\n * @param paths - Paths to target.\n *\n * @public\n */\n",
2364
+ "excerptTokens": [
2365
+ {
2366
+ "kind": "Content",
2367
+ "text": "export declare function urlTargetingFilter(url: "
2368
+ },
2369
+ {
2370
+ "kind": "Content",
2371
+ "text": "string"
2372
+ },
2373
+ {
2374
+ "kind": "Content",
2375
+ "text": ", pattern?: "
2376
+ },
2377
+ {
2378
+ "kind": "Reference",
2379
+ "text": "RegExp",
2380
+ "canonicalReference": "!RegExp:interface"
2381
+ },
2382
+ {
2383
+ "kind": "Content",
2384
+ "text": ", schemes?: "
2385
+ },
2386
+ {
2387
+ "kind": "Content",
2388
+ "text": "string[]"
2389
+ },
2390
+ {
2391
+ "kind": "Content",
2392
+ "text": ", hosts?: "
2393
+ },
2394
+ {
2395
+ "kind": "Content",
2396
+ "text": "string[]"
2397
+ },
2398
+ {
2399
+ "kind": "Content",
2400
+ "text": ", paths?: "
2401
+ },
2402
+ {
2403
+ "kind": "Content",
2404
+ "text": "string[]"
2405
+ },
2406
+ {
2407
+ "kind": "Content",
2408
+ "text": "): "
2409
+ },
2410
+ {
2411
+ "kind": "Content",
2412
+ "text": "boolean"
2413
+ },
2414
+ {
2415
+ "kind": "Content",
2416
+ "text": ";"
2417
+ }
2418
+ ],
2419
+ "fileUrlPath": "src/urlTargeting.ts",
2420
+ "returnTypeTokenRange": {
2421
+ "startIndex": 11,
2422
+ "endIndex": 12
2423
+ },
2424
+ "releaseTag": "Public",
2425
+ "overloadIndex": 1,
2426
+ "parameters": [
2427
+ {
2428
+ "parameterName": "url",
2429
+ "parameterTypeTokenRange": {
2430
+ "startIndex": 1,
2431
+ "endIndex": 2
2432
+ },
2433
+ "isOptional": false
2434
+ },
2435
+ {
2436
+ "parameterName": "pattern",
2437
+ "parameterTypeTokenRange": {
2438
+ "startIndex": 3,
2439
+ "endIndex": 4
2440
+ },
2441
+ "isOptional": true
2442
+ },
2443
+ {
2444
+ "parameterName": "schemes",
2445
+ "parameterTypeTokenRange": {
2446
+ "startIndex": 5,
2447
+ "endIndex": 6
2448
+ },
2449
+ "isOptional": true
2450
+ },
2451
+ {
2452
+ "parameterName": "hosts",
2453
+ "parameterTypeTokenRange": {
2454
+ "startIndex": 7,
2455
+ "endIndex": 8
2456
+ },
2457
+ "isOptional": true
2458
+ },
2459
+ {
2460
+ "parameterName": "paths",
2461
+ "parameterTypeTokenRange": {
2462
+ "startIndex": 9,
2463
+ "endIndex": 10
2464
+ },
2465
+ "isOptional": true
2466
+ }
2467
+ ],
2468
+ "name": "urlTargetingFilter"
2469
+ },
2470
+ {
2471
+ "kind": "TypeAlias",
2472
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargetingParams:type",
2473
+ "docComment": "/**\n * URLTargetingParams\n *\n * @example\n * ```json\n * {\n * \"schemes\": [\"https\"],\n * \"hosts\": [\"neptx.genesislab.global\", \"neptune-uat2-axes-server2\"]\n * }\n * ```\n *\n * @public\n */\n",
2474
+ "excerptTokens": [
2475
+ {
2476
+ "kind": "Content",
2477
+ "text": "export type URLTargetingParams = "
2478
+ },
2479
+ {
2480
+ "kind": "Content",
2481
+ "text": "{\n readonly url?: string;\n readonly pattern?: "
2482
+ },
2483
+ {
2484
+ "kind": "Reference",
2485
+ "text": "RegExp",
2486
+ "canonicalReference": "!RegExp:interface"
2487
+ },
2488
+ {
2489
+ "kind": "Content",
2490
+ "text": ";\n readonly schemes?: string[];\n readonly hosts?: string[];\n readonly paths?: string[];\n}"
2491
+ },
2492
+ {
2493
+ "kind": "Content",
2494
+ "text": ";"
2495
+ }
2496
+ ],
2497
+ "fileUrlPath": "src/urlTargeting.ts",
2498
+ "releaseTag": "Public",
2499
+ "name": "URLTargetingParams",
2500
+ "typeTokenRange": {
2501
+ "startIndex": 1,
2502
+ "endIndex": 4
2503
+ }
2504
+ },
2505
+ {
2506
+ "kind": "TypeAlias",
2507
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargetingSchema:type",
2508
+ "docComment": "/**\n * URLTargetingSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @public\n */\n",
2509
+ "excerptTokens": [
2510
+ {
2511
+ "kind": "Content",
2512
+ "text": "export type URLTargetingSchema = "
2513
+ },
2514
+ {
2515
+ "kind": "Reference",
2516
+ "text": "ClientFilterSchema",
2517
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type"
2518
+ },
2519
+ {
2520
+ "kind": "Content",
2521
+ "text": "<typeof "
2522
+ },
2523
+ {
2524
+ "kind": "Reference",
2525
+ "text": "ClientFilterName.urlTargeting",
2526
+ "canonicalReference": "@genesislcap/foundation-filters!~__type#urlTargeting:member"
2527
+ },
2528
+ {
2529
+ "kind": "Content",
2530
+ "text": ", "
2531
+ },
2532
+ {
2533
+ "kind": "Reference",
2534
+ "text": "URLTargetingParams",
2535
+ "canonicalReference": "@genesislcap/foundation-filters!URLTargetingParams:type"
2536
+ },
2537
+ {
2538
+ "kind": "Content",
2539
+ "text": ">"
2540
+ },
2541
+ {
2542
+ "kind": "Content",
2543
+ "text": ";"
2544
+ }
2545
+ ],
2546
+ "fileUrlPath": "src/urlTargeting.ts",
2547
+ "releaseTag": "Public",
2548
+ "name": "URLTargetingSchema",
2549
+ "typeTokenRange": {
2550
+ "startIndex": 1,
2551
+ "endIndex": 7
2552
+ }
2553
+ },
2554
+ {
2555
+ "kind": "Interface",
2556
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgent:interface",
2557
+ "docComment": "/**\n * UserAgent client filter DI interface.\n *\n * @remarks\n *\n * Simplifies access to runtime data / state contained within the DI container.\n *\n * @public\n */\n",
2558
+ "excerptTokens": [
2559
+ {
2560
+ "kind": "Content",
2561
+ "text": "export interface UserAgent extends "
2562
+ },
2563
+ {
2564
+ "kind": "Reference",
2565
+ "text": "ClientFilter",
2566
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface"
2567
+ },
2568
+ {
2569
+ "kind": "Content",
2570
+ "text": "<"
2571
+ },
2572
+ {
2573
+ "kind": "Reference",
2574
+ "text": "UserAgentParams",
2575
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgentParams:type"
2576
+ },
2577
+ {
2578
+ "kind": "Content",
2579
+ "text": ">"
2580
+ },
2581
+ {
2582
+ "kind": "Content",
2583
+ "text": " "
2584
+ }
2585
+ ],
2586
+ "fileUrlPath": "src/userAgent.ts",
2587
+ "releaseTag": "Public",
2588
+ "name": "UserAgent",
2589
+ "preserveMemberOrder": false,
2590
+ "members": [
2591
+ {
2592
+ "kind": "PropertySignature",
2593
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgent#isSafari:member",
2594
+ "docComment": "/**\n * @remarks\n *\n * Is the user-agent safari.\n */\n",
2595
+ "excerptTokens": [
2596
+ {
2597
+ "kind": "Content",
2598
+ "text": "readonly isSafari: "
2599
+ },
2600
+ {
2601
+ "kind": "Content",
2602
+ "text": "boolean"
2603
+ },
2604
+ {
2605
+ "kind": "Content",
2606
+ "text": ";"
2607
+ }
2608
+ ],
2609
+ "isReadonly": true,
2610
+ "isOptional": false,
2611
+ "releaseTag": "Public",
2612
+ "name": "isSafari",
2613
+ "propertyTypeTokenRange": {
2614
+ "startIndex": 1,
2615
+ "endIndex": 2
2616
+ }
2617
+ }
2618
+ ],
2619
+ "extendsTokenRanges": [
2620
+ {
2621
+ "startIndex": 1,
2622
+ "endIndex": 5
2623
+ }
2624
+ ]
2625
+ },
2626
+ {
2627
+ "kind": "Function",
2628
+ "canonicalReference": "@genesislcap/foundation-filters!userAgentFilter:function(1)",
2629
+ "docComment": "/**\n * UserAgent client filter function.\n *\n * @remarks\n *\n * See {@link https://github.com/faisalman/ua-parser-js} for more information.\n *\n * @param browsers - Browser names to target.\n *\n * @param devices - Device types to target.\n *\n * @param oss - Operating system names to target.\n *\n * @param ua - User-agent string (required in nodejs environment).\n *\n * @public\n */\n",
2630
+ "excerptTokens": [
2631
+ {
2632
+ "kind": "Content",
2633
+ "text": "export declare function userAgentFilter(browsers?: "
2634
+ },
2635
+ {
2636
+ "kind": "Content",
2637
+ "text": "string[]"
2638
+ },
2639
+ {
2640
+ "kind": "Content",
2641
+ "text": ", devices?: "
2642
+ },
2643
+ {
2644
+ "kind": "Content",
2645
+ "text": "string[]"
2646
+ },
2647
+ {
2648
+ "kind": "Content",
2649
+ "text": ", oss?: "
2650
+ },
2651
+ {
2652
+ "kind": "Content",
2653
+ "text": "string[]"
2654
+ },
2655
+ {
2656
+ "kind": "Content",
2657
+ "text": ", ua?: "
2658
+ },
2659
+ {
2660
+ "kind": "Content",
2661
+ "text": "string"
2662
+ },
2663
+ {
2664
+ "kind": "Content",
2665
+ "text": "): "
2666
+ },
2667
+ {
2668
+ "kind": "Content",
2669
+ "text": "boolean"
2670
+ },
2671
+ {
2672
+ "kind": "Content",
2673
+ "text": ";"
2674
+ }
2675
+ ],
2676
+ "fileUrlPath": "src/userAgent.ts",
2677
+ "returnTypeTokenRange": {
2678
+ "startIndex": 9,
2679
+ "endIndex": 10
2680
+ },
2681
+ "releaseTag": "Public",
2682
+ "overloadIndex": 1,
2683
+ "parameters": [
2684
+ {
2685
+ "parameterName": "browsers",
2686
+ "parameterTypeTokenRange": {
2687
+ "startIndex": 1,
2688
+ "endIndex": 2
2689
+ },
2690
+ "isOptional": true
2691
+ },
2692
+ {
2693
+ "parameterName": "devices",
2694
+ "parameterTypeTokenRange": {
2695
+ "startIndex": 3,
2696
+ "endIndex": 4
2697
+ },
2698
+ "isOptional": true
2699
+ },
2700
+ {
2701
+ "parameterName": "oss",
2702
+ "parameterTypeTokenRange": {
2703
+ "startIndex": 5,
2704
+ "endIndex": 6
2705
+ },
2706
+ "isOptional": true
2707
+ },
2708
+ {
2709
+ "parameterName": "ua",
2710
+ "parameterTypeTokenRange": {
2711
+ "startIndex": 7,
2712
+ "endIndex": 8
2713
+ },
2714
+ "isOptional": true
2715
+ }
2716
+ ],
2717
+ "name": "userAgentFilter"
2718
+ },
2719
+ {
2720
+ "kind": "TypeAlias",
2721
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgentParams:type",
2722
+ "docComment": "/**\n * UserAgentParams\n *\n * @example\n * ```json\n * {\n * \"browsers\": [\"Safari\", \"Firefox\", \"Chrome\", \"Chromium\"],\n * \"devices\": [\"mobile\", \"tablet\"],\n * \"oss\": [\"Mac OS\", \"Linux\"]\n * }\n * ```\n *\n * @public\n */\n",
2723
+ "excerptTokens": [
2724
+ {
2725
+ "kind": "Content",
2726
+ "text": "export type UserAgentParams = "
2727
+ },
2728
+ {
2729
+ "kind": "Content",
2730
+ "text": "{\n readonly browsers?: string[];\n readonly devices?: string[];\n readonly oss?: string[];\n readonly ua?: string;\n}"
2731
+ },
2732
+ {
2733
+ "kind": "Content",
2734
+ "text": ";"
2735
+ }
2736
+ ],
2737
+ "fileUrlPath": "src/userAgent.ts",
2738
+ "releaseTag": "Public",
2739
+ "name": "UserAgentParams",
2740
+ "typeTokenRange": {
2741
+ "startIndex": 1,
2742
+ "endIndex": 2
2743
+ }
2744
+ },
2745
+ {
2746
+ "kind": "TypeAlias",
2747
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgentSchema:type",
2748
+ "docComment": "/**\n * UserAgentSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @public\n */\n",
2749
+ "excerptTokens": [
2750
+ {
2751
+ "kind": "Content",
2752
+ "text": "export type UserAgentSchema = "
2753
+ },
2754
+ {
2755
+ "kind": "Reference",
2756
+ "text": "ClientFilterSchema",
2757
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type"
2758
+ },
2759
+ {
2760
+ "kind": "Content",
2761
+ "text": "<typeof "
2762
+ },
2763
+ {
2764
+ "kind": "Reference",
2765
+ "text": "ClientFilterName.userAgent",
2766
+ "canonicalReference": "@genesislcap/foundation-filters!~__type#userAgent:member"
2767
+ },
2768
+ {
2769
+ "kind": "Content",
2770
+ "text": ", "
2771
+ },
2772
+ {
2773
+ "kind": "Reference",
2774
+ "text": "UserAgentParams",
2775
+ "canonicalReference": "@genesislcap/foundation-filters!UserAgentParams:type"
2776
+ },
2777
+ {
2778
+ "kind": "Content",
2779
+ "text": ">"
2780
+ },
2781
+ {
2782
+ "kind": "Content",
2783
+ "text": ";"
2784
+ }
2785
+ ],
2786
+ "fileUrlPath": "src/userAgent.ts",
2787
+ "releaseTag": "Public",
2788
+ "name": "UserAgentSchema",
2789
+ "typeTokenRange": {
2790
+ "startIndex": 1,
2791
+ "endIndex": 7
2792
+ }
2793
+ },
2794
+ {
2795
+ "kind": "Interface",
2796
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargeting:interface",
2797
+ "docComment": "/**\n * UserTargeting client filter DI interface.\n *\n * @remarks\n *\n * Simplifies access to runtime data / state contained within the DI container.\n *\n * @public\n */\n",
2798
+ "excerptTokens": [
2799
+ {
2800
+ "kind": "Content",
2801
+ "text": "export interface UserTargeting extends "
2802
+ },
2803
+ {
2804
+ "kind": "Reference",
2805
+ "text": "ClientFilter",
2806
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilter:interface"
2807
+ },
2808
+ {
2809
+ "kind": "Content",
2810
+ "text": "<"
2811
+ },
2812
+ {
2813
+ "kind": "Reference",
2814
+ "text": "UserTargetingParams",
2815
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargetingParams:type"
2816
+ },
2817
+ {
2818
+ "kind": "Content",
2819
+ "text": ">"
2820
+ },
2821
+ {
2822
+ "kind": "Content",
2823
+ "text": " "
2824
+ }
2825
+ ],
2826
+ "fileUrlPath": "src/userTargeting.ts",
2827
+ "releaseTag": "Public",
2828
+ "name": "UserTargeting",
2829
+ "preserveMemberOrder": false,
2830
+ "members": [
2831
+ {
2832
+ "kind": "PropertySignature",
2833
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargeting#hasAdminProfile:member",
2834
+ "docComment": "/**\n * @remarks\n *\n * Has the user got the 'ADMIN' profile assigned.\n */\n",
2835
+ "excerptTokens": [
2836
+ {
2837
+ "kind": "Content",
2838
+ "text": "readonly hasAdminProfile: "
2839
+ },
2840
+ {
2841
+ "kind": "Content",
2842
+ "text": "boolean"
2843
+ },
2844
+ {
2845
+ "kind": "Content",
2846
+ "text": ";"
2847
+ }
2848
+ ],
2849
+ "isReadonly": true,
2850
+ "isOptional": false,
2851
+ "releaseTag": "Public",
2852
+ "name": "hasAdminProfile",
2853
+ "propertyTypeTokenRange": {
2854
+ "startIndex": 1,
2855
+ "endIndex": 2
2856
+ }
2857
+ },
2858
+ {
2859
+ "kind": "PropertySignature",
2860
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargeting#isLoggedIn:member",
2861
+ "docComment": "/**\n * @remarks\n *\n * Has the user logged in, regardless of their identity.\n */\n",
2862
+ "excerptTokens": [
2863
+ {
2864
+ "kind": "Content",
2865
+ "text": "readonly isLoggedIn: "
2866
+ },
2867
+ {
2868
+ "kind": "Content",
2869
+ "text": "boolean"
2870
+ },
2871
+ {
2872
+ "kind": "Content",
2873
+ "text": ";"
2874
+ }
2875
+ ],
2876
+ "isReadonly": true,
2877
+ "isOptional": false,
2878
+ "releaseTag": "Public",
2879
+ "name": "isLoggedIn",
2880
+ "propertyTypeTokenRange": {
2881
+ "startIndex": 1,
2882
+ "endIndex": 2
2883
+ }
2884
+ }
2885
+ ],
2886
+ "extendsTokenRanges": [
2887
+ {
2888
+ "startIndex": 1,
2889
+ "endIndex": 5
2890
+ }
2891
+ ]
2892
+ },
2893
+ {
2894
+ "kind": "Function",
2895
+ "canonicalReference": "@genesislcap/foundation-filters!userTargetingFilter:function(1)",
2896
+ "docComment": "/**\n * UserTargeting client filter function.\n *\n * @remarks\n *\n * This will return true when the current user matches on ANY of the parameters. If you wish to match on multiple parameters, consider chaining an array of userTargeting filters together.\n *\n * @param user - A user object.\n *\n * @param usernames - Usernames to target.\n *\n * @param profiles - Profiles to target.\n *\n * @param permissions - Permissions to target.\n *\n * @public\n */\n",
2897
+ "excerptTokens": [
2898
+ {
2899
+ "kind": "Content",
2900
+ "text": "export declare function userTargetingFilter(user: "
2901
+ },
2902
+ {
2903
+ "kind": "Reference",
2904
+ "text": "User",
2905
+ "canonicalReference": "@genesislcap/foundation-comms!User:interface"
2906
+ },
2907
+ {
2908
+ "kind": "Content",
2909
+ "text": ", usernames?: "
2910
+ },
2911
+ {
2912
+ "kind": "Content",
2913
+ "text": "string[]"
2914
+ },
2915
+ {
2916
+ "kind": "Content",
2917
+ "text": ", profiles?: "
2918
+ },
2919
+ {
2920
+ "kind": "Content",
2921
+ "text": "string[]"
2922
+ },
2923
+ {
2924
+ "kind": "Content",
2925
+ "text": ", permissions?: "
2926
+ },
2927
+ {
2928
+ "kind": "Content",
2929
+ "text": "string[]"
2930
+ },
2931
+ {
2932
+ "kind": "Content",
2933
+ "text": "): "
2934
+ },
2935
+ {
2936
+ "kind": "Content",
2937
+ "text": "boolean"
2938
+ },
2939
+ {
2940
+ "kind": "Content",
2941
+ "text": ";"
2942
+ }
2943
+ ],
2944
+ "fileUrlPath": "src/userTargeting.ts",
2945
+ "returnTypeTokenRange": {
2946
+ "startIndex": 9,
2947
+ "endIndex": 10
2948
+ },
2949
+ "releaseTag": "Public",
2950
+ "overloadIndex": 1,
2951
+ "parameters": [
2952
+ {
2953
+ "parameterName": "user",
2954
+ "parameterTypeTokenRange": {
2955
+ "startIndex": 1,
2956
+ "endIndex": 2
2957
+ },
2958
+ "isOptional": false
2959
+ },
2960
+ {
2961
+ "parameterName": "usernames",
2962
+ "parameterTypeTokenRange": {
2963
+ "startIndex": 3,
2964
+ "endIndex": 4
2965
+ },
2966
+ "isOptional": true
2967
+ },
2968
+ {
2969
+ "parameterName": "profiles",
2970
+ "parameterTypeTokenRange": {
2971
+ "startIndex": 5,
2972
+ "endIndex": 6
2973
+ },
2974
+ "isOptional": true
2975
+ },
2976
+ {
2977
+ "parameterName": "permissions",
2978
+ "parameterTypeTokenRange": {
2979
+ "startIndex": 7,
2980
+ "endIndex": 8
2981
+ },
2982
+ "isOptional": true
2983
+ }
2984
+ ],
2985
+ "name": "userTargetingFilter"
2986
+ },
2987
+ {
2988
+ "kind": "TypeAlias",
2989
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargetingParams:type",
2990
+ "docComment": "/**\n * UserTargetingParams\n *\n * @example\n * ```json\n * {\n * \"usernames\": [\"JohnDoe\"],\n * \"profiles\": [\"ADMIN\", \"READ_WRITE_DEALER\"],\n * \"permissions\": [\"ExportClientDashboard\"]\n * }\n * ```\n *\n * @public\n */\n",
2991
+ "excerptTokens": [
2992
+ {
2993
+ "kind": "Content",
2994
+ "text": "export type UserTargetingParams = "
2995
+ },
2996
+ {
2997
+ "kind": "Content",
2998
+ "text": "{\n readonly usernames?: string[];\n readonly profiles?: string[];\n readonly permissions?: string[];\n}"
2999
+ },
3000
+ {
3001
+ "kind": "Content",
3002
+ "text": ";"
3003
+ }
3004
+ ],
3005
+ "fileUrlPath": "src/userTargeting.ts",
3006
+ "releaseTag": "Public",
3007
+ "name": "UserTargetingParams",
3008
+ "typeTokenRange": {
3009
+ "startIndex": 1,
3010
+ "endIndex": 2
3011
+ }
3012
+ },
3013
+ {
3014
+ "kind": "TypeAlias",
3015
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargetingSchema:type",
3016
+ "docComment": "/**\n * UserTargetingSchema type.\n *\n * @remarks\n *\n * JSON schema type.\n *\n * @public\n */\n",
3017
+ "excerptTokens": [
3018
+ {
3019
+ "kind": "Content",
3020
+ "text": "export type UserTargetingSchema = "
3021
+ },
3022
+ {
3023
+ "kind": "Reference",
3024
+ "text": "ClientFilterSchema",
3025
+ "canonicalReference": "@genesislcap/foundation-filters!ClientFilterSchema:type"
3026
+ },
3027
+ {
3028
+ "kind": "Content",
3029
+ "text": "<typeof "
3030
+ },
3031
+ {
3032
+ "kind": "Reference",
3033
+ "text": "ClientFilterName.userTargeting",
3034
+ "canonicalReference": "@genesislcap/foundation-filters!~__type#userTargeting:member"
3035
+ },
3036
+ {
3037
+ "kind": "Content",
3038
+ "text": ", "
3039
+ },
3040
+ {
3041
+ "kind": "Reference",
3042
+ "text": "UserTargetingParams",
3043
+ "canonicalReference": "@genesislcap/foundation-filters!UserTargetingParams:type"
3044
+ },
3045
+ {
3046
+ "kind": "Content",
3047
+ "text": ">"
3048
+ },
3049
+ {
3050
+ "kind": "Content",
3051
+ "text": ";"
3052
+ }
3053
+ ],
3054
+ "fileUrlPath": "src/userTargeting.ts",
3055
+ "releaseTag": "Public",
3056
+ "name": "UserTargetingSchema",
3057
+ "typeTokenRange": {
3058
+ "startIndex": 1,
3059
+ "endIndex": 7
3060
+ }
3061
+ }
3062
+ ]
3063
+ }
3064
+ ]
3065
+ }