@flipdish/events 1.26012.1 → 1.26014.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.
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { eventType as LOGIN_REQUESTPHONELOGINCODESMS_V3, Login_requestphonelogincodesms_v3Schema, } from './login.requestphonelogincodesms.v3.js';
|
|
2
|
+
// Export schemas
|
|
3
|
+
export { Login_requestphonelogincodesms_v3Schema };
|
|
4
|
+
// Export event types
|
|
5
|
+
export const eventTypes = {
|
|
6
|
+
LOGIN_REQUESTPHONELOGINCODESMS_V3,
|
|
7
|
+
};
|
|
8
|
+
export const eventSchemaMap = Object.fromEntries([
|
|
9
|
+
[LOGIN_REQUESTPHONELOGINCODESMS_V3, Login_requestphonelogincodesms_v3Schema],
|
|
10
|
+
]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
eventType as LOGIN_REQUESTPHONELOGINCODESMS_V3,
|
|
3
|
+
Login_requestphonelogincodesms_v3Schema,
|
|
4
|
+
} from './login.requestphonelogincodesms.v3.js';
|
|
5
|
+
|
|
6
|
+
// Export schemas
|
|
7
|
+
export { Login_requestphonelogincodesms_v3Schema };
|
|
8
|
+
|
|
9
|
+
// Re-export specific types from each module with renamed exports to avoid conflicts
|
|
10
|
+
export { LoginRequestPhoneLoginCodeSmsV3 } from './login.requestphonelogincodesms.v3.js';
|
|
11
|
+
|
|
12
|
+
// Export event types
|
|
13
|
+
export const eventTypes = {
|
|
14
|
+
LOGIN_REQUESTPHONELOGINCODESMS_V3,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export const eventSchemaMap = Object.fromEntries([
|
|
18
|
+
[LOGIN_REQUESTPHONELOGINCODESMS_V3, Login_requestphonelogincodesms_v3Schema],
|
|
19
|
+
]);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { UserSchema } from '../common-schemas.js';
|
|
3
|
+
export const eventType = 'login.requestphonelogincodesms.v3';
|
|
4
|
+
export const Login_requestphonelogincodesms_v3Schema = z.object({
|
|
5
|
+
HCaptcha: z.object({
|
|
6
|
+
Score: z.number().nullable(),
|
|
7
|
+
Reasons: z.string().nullable(),
|
|
8
|
+
Token: z.string().nullable(),
|
|
9
|
+
}),
|
|
10
|
+
UserAgent: z.string().nullable(),
|
|
11
|
+
User: UserSchema.nullable(),
|
|
12
|
+
Cloudflare: z.object({
|
|
13
|
+
RayId: z.string().nullable(),
|
|
14
|
+
IPCountry: z.string().nullable(),
|
|
15
|
+
ConnectingIpAddress: z.string().nullable(),
|
|
16
|
+
}),
|
|
17
|
+
Scenario: z.string().nullable(),
|
|
18
|
+
SubScenario: z.string().nullable(),
|
|
19
|
+
AppType: z.string().nullable(),
|
|
20
|
+
ClientVersion: z.string().nullable(),
|
|
21
|
+
ClientSiteType: z.string().nullable(),
|
|
22
|
+
WhiteLabelCountryPhoneCode: z.string().nullable(),
|
|
23
|
+
WhiteLabelCountryCode: z.string().nullable(),
|
|
24
|
+
PhoneNumberConfirmed: z.boolean(),
|
|
25
|
+
RawWhiteLabelId: z.string().nullable(),
|
|
26
|
+
RawPhoneNumber: z.string().nullable(),
|
|
27
|
+
IpAddress: z.string().nullable(),
|
|
28
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { UserSchema } from '../common-schemas.js';
|
|
3
|
+
|
|
4
|
+
export const eventType = 'login.requestphonelogincodesms.v3';
|
|
5
|
+
|
|
6
|
+
export const Login_requestphonelogincodesms_v3Schema = z.object({
|
|
7
|
+
HCaptcha: z.object({
|
|
8
|
+
Score: z.number().nullable(),
|
|
9
|
+
Reasons: z.string().nullable(),
|
|
10
|
+
Token: z.string().nullable(),
|
|
11
|
+
}),
|
|
12
|
+
UserAgent: z.string().nullable(),
|
|
13
|
+
User: UserSchema.nullable(),
|
|
14
|
+
Cloudflare: z.object({
|
|
15
|
+
RayId: z.string().nullable(),
|
|
16
|
+
IPCountry: z.string().nullable(),
|
|
17
|
+
ConnectingIpAddress: z.string().nullable(),
|
|
18
|
+
}),
|
|
19
|
+
Scenario: z.string().nullable(),
|
|
20
|
+
SubScenario: z.string().nullable(),
|
|
21
|
+
AppType: z.string().nullable(),
|
|
22
|
+
ClientVersion: z.string().nullable(),
|
|
23
|
+
ClientSiteType: z.string().nullable(),
|
|
24
|
+
WhiteLabelCountryPhoneCode: z.string().nullable(),
|
|
25
|
+
WhiteLabelCountryCode: z.string().nullable(),
|
|
26
|
+
PhoneNumberConfirmed: z.boolean(),
|
|
27
|
+
RawWhiteLabelId: z.string().nullable(),
|
|
28
|
+
RawPhoneNumber: z.string().nullable(),
|
|
29
|
+
IpAddress: z.string().nullable(),
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export type LoginRequestPhoneLoginCodeSmsV3 = z.infer<typeof Login_requestphonelogincodesms_v3Schema>;
|