@mivis/petmart-api 1.2.62 → 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.
- package/package.json +1 -1
- package/type.d.ts +38 -0
package/package.json
CHANGED
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;
|
|
@@ -334,6 +371,7 @@ declare namespace Components {
|
|
|
334
371
|
shops_info: IShop[];
|
|
335
372
|
};
|
|
336
373
|
dimension: IDimension;
|
|
374
|
+
price: number;
|
|
337
375
|
};
|
|
338
376
|
count: number;
|
|
339
377
|
price: number;
|