controlresell 0.0.52 → 0.0.53
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 +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.d.ts +3 -3
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.js +1 -1
- package/src/com/controlresell/models/users/platforms/PlatformAuthRequest.ts +1 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.d.ts +7 -1
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.js +3 -3
- package/src/com/controlresell/models/users/platforms/UserOnPlatformSessionMessage.ts +3 -3
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
16
16
|
userId: string | number;
|
|
17
17
|
name: string;
|
|
18
18
|
}>;
|
|
19
|
-
|
|
19
|
+
otp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
account: {
|
|
22
22
|
platform: "VINTED" | "SHOPIFY";
|
|
@@ -24,7 +24,7 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
24
24
|
userId: string | number;
|
|
25
25
|
name: string;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
otp?: number | null | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
account: {
|
|
30
30
|
platform: "VINTED" | "SHOPIFY";
|
|
@@ -32,6 +32,6 @@ export declare const PlatformAuthRequestSchema: z.ZodObject<{
|
|
|
32
32
|
userId: string | number;
|
|
33
33
|
name: string;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
otp?: number | null | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
export type PlatformAuthRequest = z.infer<typeof PlatformAuthRequestSchema>;
|
|
@@ -3,6 +3,6 @@ import {UserOnPlatformSchema} from "./UserOnPlatform"
|
|
|
3
3
|
|
|
4
4
|
export const PlatformAuthRequestSchema = z.object({
|
|
5
5
|
account: UserOnPlatformSchema,
|
|
6
|
-
|
|
6
|
+
otp: z.number().int().nullish()
|
|
7
7
|
})
|
|
8
8
|
export type PlatformAuthRequest = z.infer<typeof PlatformAuthRequestSchema>
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const UserOnPlatformSessionMessageSchema: z.
|
|
2
|
+
export declare const UserOnPlatformSessionMessageSchema: z.ZodObject<{
|
|
3
|
+
otp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
otp?: number | null | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
otp?: number | null | undefined;
|
|
8
|
+
}>;
|
|
3
9
|
export type UserOnPlatformSessionMessage = z.infer<typeof UserOnPlatformSessionMessageSchema>;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserOnPlatformSessionMessageSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
exports.UserOnPlatformSessionMessageSchema = zod_1.z.
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
exports.UserOnPlatformSessionMessageSchema = zod_1.z.object({
|
|
6
|
+
otp: zod_1.z.number().int().nullish()
|
|
7
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
|
|
3
|
-
export const UserOnPlatformSessionMessageSchema = z.
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export const UserOnPlatformSessionMessageSchema = z.object({
|
|
4
|
+
otp: z.number().int().nullish()
|
|
5
|
+
})
|
|
6
6
|
export type UserOnPlatformSessionMessage = z.infer<typeof UserOnPlatformSessionMessageSchema>
|