@mivis/petmart-api 1.2.16 → 1.2.17
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 +34 -3
package/package.json
CHANGED
package/type.d.ts
CHANGED
|
@@ -59,12 +59,19 @@ declare namespace Components {
|
|
|
59
59
|
message: string;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export interface
|
|
62
|
+
export interface ISignUpGoogleRequest {
|
|
63
63
|
email: string;
|
|
64
64
|
auth_type: ELoginTypes;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
export type
|
|
67
|
+
export type ISignUpGoogleResponse = ILoginResponse;
|
|
68
|
+
|
|
69
|
+
export interface ISignUpAppleRequest {
|
|
70
|
+
code: string;
|
|
71
|
+
auth_type: ELoginTypes;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type ISignUpAppleResponse = ILoginResponse;
|
|
68
75
|
|
|
69
76
|
export interface ISignUpVkRequest {
|
|
70
77
|
silent_token: string;
|
|
@@ -79,6 +86,24 @@ declare namespace Components {
|
|
|
79
86
|
USER = 'USER',
|
|
80
87
|
}
|
|
81
88
|
|
|
89
|
+
export interface IActionsProductRequest {
|
|
90
|
+
toDelete: string;
|
|
91
|
+
toPublish: string;
|
|
92
|
+
toCopy: string;
|
|
93
|
+
toDraft: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export enum EActions {
|
|
97
|
+
DELETE = 'toDelete',
|
|
98
|
+
PUBLISH = 'toPublish',
|
|
99
|
+
COPY = 'toCopy',
|
|
100
|
+
DRAFT = 'toDraft',
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface IActionsProductResponse {
|
|
104
|
+
message: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
82
107
|
export interface IUser {
|
|
83
108
|
_id: string;
|
|
84
109
|
tel: number;
|
|
@@ -296,6 +321,7 @@ declare namespace Components {
|
|
|
296
321
|
name: string;
|
|
297
322
|
photo: string;
|
|
298
323
|
};
|
|
324
|
+
status: ESubCategoryStatus;
|
|
299
325
|
createdAt: Date;
|
|
300
326
|
updatedAt: Date;
|
|
301
327
|
}
|
|
@@ -308,7 +334,12 @@ declare namespace Components {
|
|
|
308
334
|
export interface IUpdateSubCategory {
|
|
309
335
|
id: string;
|
|
310
336
|
name: string;
|
|
311
|
-
|
|
337
|
+
status: ESubCategoryStatus;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export enum ESubCategoryStatus {
|
|
341
|
+
MODERATION = 'MODERATION',
|
|
342
|
+
ACTIVE = 'ACTIVE',
|
|
312
343
|
}
|
|
313
344
|
|
|
314
345
|
export interface IBankingDetails {
|