@mivis/petmart-api 1.2.63 → 1.2.65
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 +42 -0
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -120,6 +120,48 @@ 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 IAdminUserQueryResponse {
|
|
133
|
+
users: IShortUser[];
|
|
134
|
+
count: number;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface IAdminUsersQueryRequest {
|
|
138
|
+
skip: string;
|
|
139
|
+
limit: string;
|
|
140
|
+
tel?: string;
|
|
141
|
+
name?: string;
|
|
142
|
+
email?: string;
|
|
143
|
+
number?: string;
|
|
144
|
+
all_fields?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface IAdminCreateUser {
|
|
148
|
+
name: string;
|
|
149
|
+
email: string;
|
|
150
|
+
tel: number;
|
|
151
|
+
password: string;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface IAdminUpdateUser {
|
|
155
|
+
_id: string;
|
|
156
|
+
name: string;
|
|
157
|
+
tel: number;
|
|
158
|
+
email: string;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface IActionsUsersRequest {
|
|
162
|
+
toDelete: string;
|
|
163
|
+
}
|
|
164
|
+
|
|
123
165
|
export interface IAddress {
|
|
124
166
|
_id: string;
|
|
125
167
|
address: string;
|