@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/type.d.ts +11 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -60,13 +60,20 @@ declare namespace Components {
60
60
  }
61
61
 
62
62
  export interface ISignUpSocialRequest {
63
- email?: string;
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
- password: string;
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' | 'password'>;
377
+ export type TUser_Data = Pick<IUser, 'email' | 'name' | 'tel'>;
371
378
 
372
379
  export interface IUpdateSeller {
373
380
  id: string;