@tolinax/ayoune-interfaces 2026.2.7 → 2026.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/IResponseLocals.d.ts
CHANGED
|
@@ -111,5 +111,7 @@ export interface IResponseLocals extends IResponseIdentity, IResponseAuth, IResp
|
|
|
111
111
|
options?: IaYOUneExpressOptions;
|
|
112
112
|
isValid?: boolean;
|
|
113
113
|
rateLimit?: IResponseRateLimit;
|
|
114
|
+
isBotPreview?: boolean;
|
|
115
|
+
previewBot?: string;
|
|
114
116
|
[key: string]: any;
|
|
115
117
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface IGeoIPLocationTracking {
|
|
2
2
|
ip?: string;
|
|
3
|
+
ipHash?: string;
|
|
3
4
|
range?: number[];
|
|
4
5
|
country?: string;
|
|
5
6
|
region?: string;
|
|
@@ -22,4 +23,10 @@ export interface IGeoIPLocationTracking {
|
|
|
22
23
|
mailClient?: string;
|
|
23
24
|
searchEngine?: string;
|
|
24
25
|
site?: string;
|
|
26
|
+
isPreviewBot?: boolean;
|
|
27
|
+
previewBot?: string;
|
|
28
|
+
headers?: Record<string, any>;
|
|
29
|
+
socket?: Record<string, any>;
|
|
30
|
+
dupBucket?: string;
|
|
31
|
+
riskScore?: number;
|
|
25
32
|
}
|
|
@@ -2,6 +2,28 @@ import { IDefaultFields } from "./IDefaultFields";
|
|
|
2
2
|
import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
|
|
3
3
|
import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
|
|
4
4
|
export interface IGratifyLoopView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
|
|
5
|
+
scanId: string;
|
|
6
|
+
code: string;
|
|
7
|
+
route: string;
|
|
8
|
+
lang?: string;
|
|
9
|
+
redirectUrl?: string;
|
|
10
|
+
redirectBase?: string;
|
|
11
|
+
redirectPath?: string;
|
|
12
|
+
redirectStatus?: number;
|
|
13
|
+
reqId?: string;
|
|
14
|
+
method?: string;
|
|
15
|
+
path?: string;
|
|
16
|
+
originalUrl?: string;
|
|
17
|
+
protocol?: string;
|
|
18
|
+
secure?: boolean;
|
|
19
|
+
hostname?: string;
|
|
20
|
+
httpVersion?: string;
|
|
21
|
+
userAgent?: string;
|
|
22
|
+
acceptLanguage?: string;
|
|
23
|
+
referer?: string;
|
|
24
|
+
origin?: string;
|
|
25
|
+
glPayload?: any;
|
|
26
|
+
glSig?: string;
|
|
5
27
|
fingerprint_view?: string;
|
|
6
28
|
fingerprint?: string;
|
|
7
29
|
fingerprint_raw?: any;
|