@mivis/petmart-api 1.2.15 → 1.2.16
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/type.d.ts +11 -4
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -60,13 +60,20 @@ declare namespace Components {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
export interface ISignUpSocialRequest {
|
|
63
|
-
email
|
|
64
|
-
tel?: number;
|
|
63
|
+
email: string;
|
|
65
64
|
auth_type: ELoginTypes;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
export type ISignUpSocialResponse = ILoginResponse;
|
|
69
68
|
|
|
69
|
+
export interface ISignUpVkRequest {
|
|
70
|
+
silent_token: string;
|
|
71
|
+
uuid: string;
|
|
72
|
+
auth_type: ELoginTypes;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type ISignUpVkResponse = ILoginResponse;
|
|
76
|
+
|
|
70
77
|
export enum ERoles {
|
|
71
78
|
ADMIN = 'ADMIN',
|
|
72
79
|
USER = 'USER',
|
|
@@ -79,7 +86,7 @@ declare namespace Components {
|
|
|
79
86
|
birthday: Date;
|
|
80
87
|
email: string;
|
|
81
88
|
role: ERoles;
|
|
82
|
-
|
|
89
|
+
vk_id: number;
|
|
83
90
|
createdAt: Date;
|
|
84
91
|
updatedAt: Date;
|
|
85
92
|
}
|
|
@@ -367,7 +374,7 @@ declare namespace Components {
|
|
|
367
374
|
commission?: number;
|
|
368
375
|
}
|
|
369
376
|
|
|
370
|
-
export type TUser_Data = Pick<IUser, 'email' | 'name' | 'tel'
|
|
377
|
+
export type TUser_Data = Pick<IUser, 'email' | 'name' | 'tel'>;
|
|
371
378
|
|
|
372
379
|
export interface IUpdateSeller {
|
|
373
380
|
id: string;
|