@mivis/petmart-api 1.2.63 → 1.2.64

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 +37 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mivis/petmart-api",
3
- "version": "1.2.63",
3
+ "version": "1.2.64",
4
4
  "main": "index.js",
5
5
  "types": "type.d.ts",
6
6
  "license": "ISC",
package/type.d.ts CHANGED
@@ -120,6 +120,43 @@ declare namespace Components {
120
120
  updatedAt: Date;
121
121
  }
122
122
 
123
+ export interface IShortUser {
124
+ _id: string;
125
+ tel?: number;
126
+ name?: string;
127
+ birthday?: Date;
128
+ email?: string;
129
+ number: number;
130
+ }
131
+
132
+ export interface IAdminUsersQueryRequest {
133
+ skip: string;
134
+ limit: string;
135
+ tel?: string;
136
+ name?: string;
137
+ email?: string;
138
+ number?: string;
139
+ all_fields?: string;
140
+ }
141
+
142
+ export interface IAdminCreateUser {
143
+ name: string;
144
+ email: string;
145
+ tel: number;
146
+ password: string;
147
+ }
148
+
149
+ export interface IAdminUpdateUser {
150
+ _id: string;
151
+ name: string;
152
+ tel: number;
153
+ email: string;
154
+ }
155
+
156
+ export interface IActionsUsersRequest {
157
+ toDelete: string;
158
+ }
159
+
123
160
  export interface IAddress {
124
161
  _id: string;
125
162
  address: string;