@unsource/ui 2.8.6 → 2.8.8
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/dist/module.json +1 -1
- package/dist/module.mjs +2 -0
- package/dist/runtime/components/UnFormItem.vue +1 -1
- package/dist/runtime/components/UnFormList.d.vue.ts +1 -1
- package/dist/runtime/components/UnFormList.vue.d.ts +1 -1
- package/dist/runtime/components/UnInput.d.vue.ts +1 -1
- package/dist/runtime/components/UnInput.vue +1 -1
- package/dist/runtime/components/UnInput.vue.d.ts +1 -1
- package/dist/runtime/components/UnMap.d.vue.ts +1 -1
- package/dist/runtime/components/UnMap.vue +4 -2
- package/dist/runtime/components/UnMap.vue.d.ts +1 -1
- package/dist/runtime/components/UnNormalInput.d.vue.ts +1 -1
- package/dist/runtime/components/UnNormalInput.vue.d.ts +1 -1
- package/dist/runtime/components/UnUploadFile.d.vue.ts +2 -2
- package/dist/runtime/components/UnUploadFile.vue.d.ts +2 -2
- package/dist/runtime/composables/fetch.js +3 -2
- package/dist/runtime/composables/global.d.ts +1 -42
- package/dist/runtime/composables/global.js +8 -6
- package/dist/runtime/composables/reuseable.d.ts +6 -5
- package/dist/runtime/composables/reuseable.js +4 -0
- package/dist/runtime/composables/services.d.ts +2 -2
- package/dist/runtime/plugins/toast.client.d.ts +16 -16
- package/dist/runtime/types/models.d.ts +189 -406
- package/package.json +2 -1
|
@@ -1,37 +1,27 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface Core {
|
|
2
2
|
user?: User;
|
|
3
3
|
profile?: Profile;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
serviceSetting?: ServiceSetting;
|
|
10
|
-
booking?: Booking;
|
|
11
|
-
comment?: Comment;
|
|
4
|
+
wallet?: Wallet;
|
|
5
|
+
address?: Address;
|
|
6
|
+
gateway?: Gateway;
|
|
7
|
+
coin?: Coin;
|
|
8
|
+
coinGateway?: CoinGateway;
|
|
12
9
|
discountCode?: DiscountCode;
|
|
10
|
+
giftCard?: GiftCard;
|
|
13
11
|
transaction?: Transaction;
|
|
12
|
+
module?: Module;
|
|
14
13
|
banner?: Banner;
|
|
15
14
|
slider?: Slider;
|
|
16
15
|
section?: Section;
|
|
17
|
-
input?: Input;
|
|
18
|
-
inputOption?: InputOption;
|
|
19
|
-
form?: Form;
|
|
20
|
-
policy?: Policy;
|
|
21
|
-
setting?: Setting;
|
|
22
|
-
appSetting?: AppSetting;
|
|
23
|
-
contactUs?: ContactUs;
|
|
24
|
-
question?: Question;
|
|
25
|
-
wallet?: Wallet;
|
|
26
|
-
gateway?: Gateway;
|
|
27
|
-
coin?: Coin;
|
|
28
|
-
coinGateway?: CoinGateway;
|
|
29
16
|
role?: Role;
|
|
30
17
|
otp?: Otp;
|
|
31
18
|
file?: File;
|
|
32
|
-
bookmark?: Bookmark;
|
|
33
19
|
lang?: Lang;
|
|
34
20
|
tableTemplate?: TableTemplate;
|
|
21
|
+
filterTemplate?: FilterTemplate;
|
|
22
|
+
chartTemplate?: ChartTemplate;
|
|
23
|
+
listTemplate?: ListTemplate;
|
|
24
|
+
dashboardTemplate?: DashboardTemplate;
|
|
35
25
|
systemAlarm?: SystemAlarm;
|
|
36
26
|
subRequest?: SubRequest;
|
|
37
27
|
appConfig?: AppConfig;
|
|
@@ -46,30 +36,29 @@ export interface User {
|
|
|
46
36
|
inviteCode?: string | null;
|
|
47
37
|
rememberMeToken?: string | null;
|
|
48
38
|
supervisorCode?: string | null;
|
|
49
|
-
|
|
50
|
-
|
|
39
|
+
tags?: string[] | {};
|
|
40
|
+
type?: 'USER' | 'ADMIN' | 'COURIER' | null;
|
|
41
|
+
authStatus?: 'PENDING' | 'AUTHORIZED' | 'REJECTED' | null;
|
|
51
42
|
isBlocked?: boolean | null;
|
|
52
43
|
createdAt?: string;
|
|
53
44
|
updatedAt?: string | null;
|
|
54
|
-
OTPs?: Otp[];
|
|
55
|
-
invitedUsers?: User[];
|
|
45
|
+
OTPs?: Otp[] | {};
|
|
46
|
+
invitedUsers?: User[] | {};
|
|
56
47
|
supervisor?: User | null;
|
|
57
48
|
profile?: Profile | null;
|
|
58
49
|
role?: Role | null;
|
|
59
50
|
roleId?: string | null;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
bookings?: Booking[];
|
|
67
|
-
places?: Place[];
|
|
51
|
+
roleName?: string | null;
|
|
52
|
+
wallets?: Wallet[] | {};
|
|
53
|
+
addresses?: Address[] | {};
|
|
54
|
+
discountCodes?: DiscountCode[] | {};
|
|
55
|
+
transactions?: Transaction[] | {};
|
|
56
|
+
giftCards?: GiftCard[] | {};
|
|
68
57
|
}
|
|
69
58
|
export interface Otp {
|
|
70
59
|
id?: string;
|
|
71
60
|
userId: string;
|
|
72
|
-
type:
|
|
61
|
+
type: 'EMAIL' | 'PHONE';
|
|
73
62
|
value: string;
|
|
74
63
|
createdAt?: string | null;
|
|
75
64
|
updatedAt?: string | null;
|
|
@@ -81,6 +70,9 @@ export interface Profile {
|
|
|
81
70
|
firstName?: string | null;
|
|
82
71
|
lastName?: string | null;
|
|
83
72
|
idCard?: string | null;
|
|
73
|
+
card?: string | null;
|
|
74
|
+
iban?: string | null;
|
|
75
|
+
birthday?: string | null;
|
|
84
76
|
lat?: number | {} | null;
|
|
85
77
|
lng?: number | {} | null;
|
|
86
78
|
user?: User;
|
|
@@ -94,255 +86,28 @@ export interface Role {
|
|
|
94
86
|
label?: string | null;
|
|
95
87
|
color?: string | null;
|
|
96
88
|
icon?: string | null;
|
|
97
|
-
privileges?: Privilege[];
|
|
98
|
-
user?: User[];
|
|
89
|
+
privileges?: Privilege[] | {};
|
|
90
|
+
user?: User[] | {};
|
|
91
|
+
dashboardTemplates?: DashboardTemplate[] | {};
|
|
92
|
+
createdAt?: string | null;
|
|
93
|
+
updatedAt?: string | null;
|
|
99
94
|
}
|
|
100
95
|
export interface Privilege {
|
|
101
96
|
model: string;
|
|
102
97
|
func: string;
|
|
103
98
|
schema?: number | string | boolean | {} | unknown[] | null;
|
|
99
|
+
details?: number | string | boolean | {} | unknown[] | null;
|
|
104
100
|
}
|
|
105
|
-
export interface
|
|
106
|
-
id?: string;
|
|
107
|
-
code: string;
|
|
108
|
-
percent: number | {};
|
|
109
|
-
minPrice?: number | {} | null;
|
|
110
|
-
maxPrice?: number | {} | null;
|
|
111
|
-
allTimes?: number | {} | null;
|
|
112
|
-
perUserTimes?: number | {} | null;
|
|
113
|
-
user?: User | null;
|
|
114
|
-
category?: InputOption | null;
|
|
115
|
-
expiredAt?: string | null;
|
|
116
|
-
createdAt?: string | null;
|
|
117
|
-
updatedAt?: string | null;
|
|
118
|
-
userId?: string | null;
|
|
119
|
-
categoryKey?: string | null;
|
|
120
|
-
transactions?: Transaction[];
|
|
121
|
-
}
|
|
122
|
-
export interface InputOption {
|
|
123
|
-
id?: string;
|
|
124
|
-
priority?: number | {} | null;
|
|
125
|
-
icon?: string | null;
|
|
126
|
-
key: string;
|
|
127
|
-
title: string;
|
|
128
|
-
input?: Input | null;
|
|
129
|
-
mainOption?: InputOption | null;
|
|
130
|
-
filterByInput?: Input | null;
|
|
131
|
-
filterByOption?: InputOption | null;
|
|
132
|
-
subOptions?: InputOption[];
|
|
133
|
-
createdAt?: string | null;
|
|
134
|
-
updatedAt?: string | null;
|
|
135
|
-
filteredByKey?: string | null;
|
|
136
|
-
filterOptionKey?: string | null;
|
|
137
|
-
inputId?: string | null;
|
|
138
|
-
mainOptionId?: string | null;
|
|
139
|
-
nextInputOption?: InputOption[];
|
|
140
|
-
banners?: Banner[];
|
|
141
|
-
discountCodes?: DiscountCode[];
|
|
142
|
-
cityProviders?: Provider[];
|
|
143
|
-
provinceProviders?: Provider[];
|
|
144
|
-
areaProviders?: Provider[];
|
|
145
|
-
categoryProviders?: Provider[];
|
|
146
|
-
places?: Place[];
|
|
147
|
-
serviceSettings?: ServiceSetting[];
|
|
148
|
-
cityPlaces?: Place[];
|
|
149
|
-
provincePlace?: Place[];
|
|
150
|
-
areaPlace?: Place[];
|
|
151
|
-
}
|
|
152
|
-
export interface Input {
|
|
101
|
+
export interface DashboardTemplate {
|
|
153
102
|
id?: string;
|
|
154
|
-
key: string;
|
|
155
|
-
title: string;
|
|
156
|
-
description?: string | null;
|
|
157
|
-
hint?: string | null;
|
|
158
|
-
type?: "text" | "description" | "switch" | "select" | "number" | "dateTime" | "date" | "time" | "location" | "image" | "file" | "none";
|
|
159
|
-
placeholder?: string | null;
|
|
160
|
-
icon?: string | null;
|
|
161
|
-
append?: string | null;
|
|
162
|
-
extendInput?: Input | null;
|
|
163
|
-
externalOptions?: string | null;
|
|
164
|
-
externalOptionsKeys?: ExternalOptionsKeys | null;
|
|
165
|
-
options?: InputOption[];
|
|
166
|
-
multiSelect?: boolean | null;
|
|
167
|
-
keyboadType?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url" | null;
|
|
168
|
-
min?: number | {} | null;
|
|
169
|
-
max?: number | {} | null;
|
|
170
|
-
extendedInputKey?: string | null;
|
|
171
|
-
createdAt?: string | null;
|
|
172
|
-
updatedAt?: string | null;
|
|
173
|
-
forms?: Form[];
|
|
174
|
-
requiredForms?: Form[];
|
|
175
|
-
activatedForms?: Form[];
|
|
176
|
-
filterOptions?: InputOption[];
|
|
177
|
-
extendedInputs?: Input[];
|
|
178
|
-
}
|
|
179
|
-
export interface ExternalOptionsKeys {
|
|
180
|
-
id?: string | null;
|
|
181
|
-
priority?: string | null;
|
|
182
|
-
icon?: string | null;
|
|
183
|
-
key: string;
|
|
184
103
|
title: string;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
id?: string;
|
|
190
|
-
name: string;
|
|
191
|
-
input?: Input;
|
|
192
|
-
priority?: number | {} | null;
|
|
193
|
-
required?: boolean;
|
|
194
|
-
requiredby?: string | null;
|
|
195
|
-
activatedByInput?: Input | null;
|
|
196
|
-
activatedByValues?: string[];
|
|
197
|
-
requiredByInput?: Input | null;
|
|
198
|
-
requiredByValues?: string[];
|
|
199
|
-
createdAt?: string | null;
|
|
200
|
-
updatedAt?: string | null;
|
|
201
|
-
activatedBy?: string | null;
|
|
202
|
-
inputId: string;
|
|
203
|
-
}
|
|
204
|
-
export interface Banner {
|
|
205
|
-
id?: string;
|
|
206
|
-
key: string;
|
|
207
|
-
title?: string | null;
|
|
208
|
-
description?: string | null;
|
|
209
|
-
links?: Link[];
|
|
210
|
-
category?: InputOption | null;
|
|
211
|
-
createdAt?: string;
|
|
212
|
-
updatedAt?: string | null;
|
|
213
|
-
sections?: Section[];
|
|
214
|
-
categoryKey?: string | null;
|
|
215
|
-
}
|
|
216
|
-
export interface Link {
|
|
217
|
-
title?: string | null;
|
|
218
|
-
description?: string | null;
|
|
219
|
-
image?: string | null;
|
|
220
|
-
link: string;
|
|
221
|
-
}
|
|
222
|
-
export interface Section {
|
|
223
|
-
id?: string;
|
|
224
|
-
priority?: number | {} | null;
|
|
225
|
-
key: string;
|
|
226
|
-
banner?: Banner | null;
|
|
227
|
-
slider?: Slider | null;
|
|
104
|
+
role?: Role;
|
|
105
|
+
layout?: number | string | boolean | {} | unknown[] | null;
|
|
106
|
+
chartIds: string[] | {};
|
|
107
|
+
listIds: string[] | {};
|
|
228
108
|
createdAt?: string | null;
|
|
229
109
|
updatedAt?: string | null;
|
|
230
|
-
|
|
231
|
-
sliderId?: string | null;
|
|
232
|
-
}
|
|
233
|
-
export interface Slider {
|
|
234
|
-
id?: string;
|
|
235
|
-
type: "category" | "provider" | "place";
|
|
236
|
-
title?: string | null;
|
|
237
|
-
description?: string | null;
|
|
238
|
-
query?: string | null;
|
|
239
|
-
createdAt?: string;
|
|
240
|
-
updatedAt?: string | null;
|
|
241
|
-
sections?: Section[];
|
|
242
|
-
}
|
|
243
|
-
export interface Provider {
|
|
244
|
-
id?: string;
|
|
245
|
-
fullName: string;
|
|
246
|
-
avatar?: string | null;
|
|
247
|
-
description: string;
|
|
248
|
-
specialties?: string[];
|
|
249
|
-
experiences?: string[];
|
|
250
|
-
achievements?: string[];
|
|
251
|
-
shortDescription?: string | null;
|
|
252
|
-
gender?: "MALE" | "FEMALE" | null;
|
|
253
|
-
nationalCode: string;
|
|
254
|
-
phone?: string | null;
|
|
255
|
-
secondPhone?: string | null;
|
|
256
|
-
cardNumber?: string | null;
|
|
257
|
-
iban?: string | null;
|
|
258
|
-
licenseImage?: string | null;
|
|
259
|
-
licenseNumber?: string | null;
|
|
260
|
-
address?: string | null;
|
|
261
|
-
location?: Location | null;
|
|
262
|
-
score?: number | {} | null;
|
|
263
|
-
authStatus?: "PENDING" | "AUTHORIZED" | "REJECTED" | null;
|
|
264
|
-
earliestBookingTime?: string | null;
|
|
265
|
-
tag?: string | null;
|
|
266
|
-
city?: InputOption;
|
|
267
|
-
province?: InputOption;
|
|
268
|
-
area?: InputOption | null;
|
|
269
|
-
category?: InputOption;
|
|
270
|
-
user?: User;
|
|
271
|
-
createdAt?: string;
|
|
272
|
-
updatedAt?: string | null;
|
|
273
|
-
userId: string;
|
|
274
|
-
cityKey: string;
|
|
275
|
-
provinceKey: string;
|
|
276
|
-
areaKey?: string | null;
|
|
277
|
-
categoryKey: string;
|
|
278
|
-
subCategoriesKey?: string[];
|
|
279
|
-
comments?: Comment[];
|
|
280
|
-
bookmarks?: Bookmark[];
|
|
281
|
-
bookings?: Booking[];
|
|
282
|
-
holidays?: Holiday[];
|
|
283
|
-
bookingSettings?: BookingSetting[];
|
|
284
|
-
serviceSettings?: ServiceSetting[];
|
|
285
|
-
}
|
|
286
|
-
export interface Location {
|
|
287
|
-
lat: number | {};
|
|
288
|
-
lng: number | {};
|
|
289
|
-
exact?: boolean | null;
|
|
290
|
-
}
|
|
291
|
-
export interface Comment {
|
|
292
|
-
id?: string;
|
|
293
|
-
number?: number | {} | null;
|
|
294
|
-
text?: string | null;
|
|
295
|
-
providerReply?: string | null;
|
|
296
|
-
adminReply?: string | null;
|
|
297
|
-
placeReply?: string | null;
|
|
298
|
-
user?: User | null;
|
|
299
|
-
provider?: Provider;
|
|
300
|
-
booking?: Booking;
|
|
301
|
-
place?: Place;
|
|
302
|
-
productIds: string[];
|
|
303
|
-
createdAt?: string;
|
|
304
|
-
updatedAt?: string | null;
|
|
305
|
-
userId?: string | null;
|
|
306
|
-
providerId: string;
|
|
307
|
-
bookingId: string;
|
|
308
|
-
placeId: string;
|
|
309
|
-
}
|
|
310
|
-
export interface Booking {
|
|
311
|
-
id?: string;
|
|
312
|
-
description?: string | null;
|
|
313
|
-
dateTime?: string | null;
|
|
314
|
-
paymentSource?: "WALLET" | "GATEWAY" | null;
|
|
315
|
-
status?: "PENDING" | "PAID" | "ACCEPTED" | "REJECTED" | "CANCELLED" | "COMPLETED" | null;
|
|
316
|
-
address?: string | null;
|
|
317
|
-
location?: Location | null;
|
|
318
|
-
type: "IN_PERSON" | "REMOTE";
|
|
319
|
-
user?: User;
|
|
320
|
-
services?: ServiceSettingType[];
|
|
321
|
-
wallet?: Wallet | null;
|
|
322
|
-
booking?: BookingSetting | null;
|
|
323
|
-
place?: Place | null;
|
|
324
|
-
provider?: Provider;
|
|
325
|
-
comment?: Comment | null;
|
|
326
|
-
acceptedAt?: string | null;
|
|
327
|
-
completedAt?: string | null;
|
|
328
|
-
transactions?: Transaction[];
|
|
329
|
-
createdAt?: string;
|
|
330
|
-
updatedAt?: string | null;
|
|
331
|
-
userId: string;
|
|
332
|
-
walletId?: string | null;
|
|
333
|
-
bookingSettingId?: string | null;
|
|
334
|
-
placeId?: string | null;
|
|
335
|
-
providerId: string;
|
|
336
|
-
}
|
|
337
|
-
export interface ServiceSettingType {
|
|
338
|
-
id: string;
|
|
339
|
-
price: number | {};
|
|
340
|
-
discount?: number | {} | null;
|
|
341
|
-
duration: string;
|
|
342
|
-
subCategoryKey: string;
|
|
343
|
-
title: string;
|
|
344
|
-
description?: string | null;
|
|
345
|
-
icon?: string | null;
|
|
110
|
+
roleName: string;
|
|
346
111
|
}
|
|
347
112
|
export interface Wallet {
|
|
348
113
|
id?: string;
|
|
@@ -355,60 +120,81 @@ export interface Wallet {
|
|
|
355
120
|
updatedAt?: string | null;
|
|
356
121
|
user?: User;
|
|
357
122
|
coin?: Coin;
|
|
358
|
-
transactions?: Transaction[];
|
|
359
|
-
toTransactions?: Transaction[];
|
|
360
|
-
bookings?: Booking[];
|
|
123
|
+
transactions?: Transaction[] | {};
|
|
124
|
+
toTransactions?: Transaction[] | {};
|
|
361
125
|
}
|
|
362
126
|
export interface Coin {
|
|
363
127
|
id?: string;
|
|
364
128
|
name: string;
|
|
129
|
+
key?: string | null;
|
|
365
130
|
unit?: string | null;
|
|
366
131
|
icon?: string | null;
|
|
367
132
|
color?: string | null;
|
|
368
133
|
price?: number | {} | null;
|
|
134
|
+
sellPrice?: number | {} | null;
|
|
135
|
+
buyFeePercent?: number | {} | null;
|
|
136
|
+
sellFeePercent?: number | {} | null;
|
|
137
|
+
buyFee?: number | {} | null;
|
|
138
|
+
sellFee?: number | {} | null;
|
|
139
|
+
minWithdraw?: number | {} | null;
|
|
140
|
+
withdrawStep?: number | {} | null;
|
|
141
|
+
precision?: number | {} | null;
|
|
369
142
|
walletable?: boolean | null;
|
|
143
|
+
depositable?: boolean | null;
|
|
144
|
+
withdrawable?: boolean | null;
|
|
145
|
+
transferable?: boolean | null;
|
|
370
146
|
active?: boolean | null;
|
|
371
147
|
isFiat?: boolean | null;
|
|
372
|
-
|
|
373
|
-
|
|
148
|
+
platforms?: string[] | {};
|
|
149
|
+
categories?: string[] | {};
|
|
150
|
+
expiredAt?: string | null;
|
|
151
|
+
createdAt?: string | null;
|
|
152
|
+
updatedAt?: string | null;
|
|
153
|
+
gateways?: CoinGateway[] | {};
|
|
154
|
+
wallets?: Wallet[] | {};
|
|
155
|
+
giftCards?: GiftCard[] | {};
|
|
374
156
|
}
|
|
375
157
|
export interface CoinGateway {
|
|
376
158
|
id?: string;
|
|
377
|
-
decimal?: number |
|
|
159
|
+
decimal?: number | null;
|
|
378
160
|
identity?: string | null;
|
|
379
161
|
withdrawFee?: string | null;
|
|
380
162
|
minWithdraw?: string | null;
|
|
381
163
|
active?: boolean | null;
|
|
382
164
|
gateway?: Gateway;
|
|
383
165
|
coin?: Coin;
|
|
166
|
+
createdAt?: string | null;
|
|
167
|
+
updatedAt?: string | null;
|
|
384
168
|
gatewayId: string;
|
|
385
169
|
coinId: string;
|
|
386
|
-
|
|
170
|
+
Transaction?: Transaction[] | {};
|
|
387
171
|
}
|
|
388
172
|
export interface Gateway {
|
|
389
173
|
id?: string;
|
|
390
174
|
name: string;
|
|
391
|
-
type?:
|
|
175
|
+
type?: 'zarinpal' | 'zarinpalApi' | 'behpardakht' | 'idpay' | 'nextpay' | 'nextpayApi' | 'parsian' | 'pasargad' | 'payir' | 'payping' | 'sadad' | 'saman' | 'zibal' | 'payfa' | 'vandar' | 'novin' | null;
|
|
392
176
|
label?: string | null;
|
|
393
177
|
address?: string | null;
|
|
394
178
|
iban?: string | null;
|
|
395
179
|
icon?: string | null;
|
|
396
180
|
color?: string | null;
|
|
397
|
-
keys?: string[];
|
|
181
|
+
keys?: string[] | {};
|
|
398
182
|
params?: number | string | boolean | {} | unknown[] | null;
|
|
399
183
|
checkUrl?: string | null;
|
|
400
184
|
payable?: boolean | null;
|
|
401
185
|
active?: boolean | null;
|
|
402
186
|
details?: number | string | boolean | {} | unknown[] | null;
|
|
403
|
-
|
|
187
|
+
createdAt?: string | null;
|
|
188
|
+
updatedAt?: string | null;
|
|
189
|
+
coins?: CoinGateway[] | {};
|
|
404
190
|
}
|
|
405
191
|
export interface Transaction {
|
|
406
192
|
id?: string;
|
|
407
193
|
paymentId?: string | null;
|
|
408
194
|
amount: number | {};
|
|
409
|
-
type:
|
|
410
|
-
paymentSource?:
|
|
411
|
-
status?:
|
|
195
|
+
type: 'WITHDRAW' | 'DEPOSIT' | 'PAYMENT' | 'TRANSFER';
|
|
196
|
+
paymentSource?: 'WALLET' | 'GATEWAY' | null;
|
|
197
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
412
198
|
txId?: string | null;
|
|
413
199
|
paymentUrl?: string | null;
|
|
414
200
|
redirectUrl?: string | null;
|
|
@@ -421,168 +207,130 @@ export interface Transaction {
|
|
|
421
207
|
settleBank?: string | null;
|
|
422
208
|
settledAt?: string | null;
|
|
423
209
|
sourceAccount?: string | null;
|
|
210
|
+
avatar?: string | null;
|
|
211
|
+
title?: string | null;
|
|
424
212
|
description?: string | null;
|
|
213
|
+
platform?: 'PARAND' | 'STORE' | 'DOCTOR' | 'BOOK' | 'GOLD' | 'CORE' | null;
|
|
425
214
|
gateway?: CoinGateway | null;
|
|
426
215
|
wallet?: Wallet | null;
|
|
427
216
|
toWallet?: Wallet | null;
|
|
428
217
|
user?: User | null;
|
|
429
|
-
booking?: Booking | null;
|
|
430
218
|
discount?: DiscountCode | null;
|
|
431
219
|
createdAt?: string | null;
|
|
432
220
|
updatedAt?: string | null;
|
|
433
221
|
userId?: string | null;
|
|
434
222
|
gatewayId?: string | null;
|
|
435
223
|
discountCode?: string | null;
|
|
224
|
+
foodOrderId?: string | null;
|
|
225
|
+
storeOrderId?: string | null;
|
|
226
|
+
bookingId?: string | null;
|
|
227
|
+
doctorBookingId?: string | null;
|
|
436
228
|
walletId?: string | null;
|
|
437
229
|
toWalletId?: string | null;
|
|
438
|
-
bookingId?: string | null;
|
|
439
230
|
}
|
|
440
|
-
export interface
|
|
231
|
+
export interface DiscountCode {
|
|
441
232
|
id?: string;
|
|
442
|
-
|
|
443
|
-
|
|
233
|
+
code: string;
|
|
234
|
+
percent: number | {};
|
|
444
235
|
minPrice?: number | {} | null;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
place?: Place;
|
|
452
|
-
provider?: Provider | null;
|
|
453
|
-
activeDays: string[];
|
|
454
|
-
status?: "PENDING" | "ACTIVE" | "ACCEPTED" | "SUCCESS" | "FAILED" | "REJECTED" | "DEACTIVE" | "SETTLED" | null;
|
|
455
|
-
createdAt?: string;
|
|
456
|
-
updatedAt?: string | null;
|
|
457
|
-
placeId: string;
|
|
458
|
-
providerId?: string | null;
|
|
459
|
-
bookings?: Booking[];
|
|
460
|
-
bookingServices?: BookingService[];
|
|
461
|
-
}
|
|
462
|
-
export interface Place {
|
|
463
|
-
id?: string;
|
|
464
|
-
name: string;
|
|
465
|
-
bannerImage?: string | null;
|
|
466
|
-
avatar?: string | null;
|
|
467
|
-
description?: string | null;
|
|
468
|
-
address?: string | null;
|
|
469
|
-
location?: Location;
|
|
470
|
-
licenseImage?: string | null;
|
|
471
|
-
licenseNumber?: string | null;
|
|
472
|
-
phoneNumbers?: string[];
|
|
473
|
-
images?: string[];
|
|
474
|
-
authStatus?: "PENDING" | "AUTHORIZED" | "REJECTED" | null;
|
|
475
|
-
city?: InputOption;
|
|
476
|
-
province?: InputOption;
|
|
477
|
-
area?: InputOption | null;
|
|
478
|
-
user?: User;
|
|
479
|
-
cityKey: string;
|
|
480
|
-
provinceKey: string;
|
|
481
|
-
areaKey?: string | null;
|
|
482
|
-
category?: InputOption;
|
|
483
|
-
categoryKey: string;
|
|
484
|
-
subCategoriesKey?: string[];
|
|
485
|
-
createdAt?: string;
|
|
236
|
+
maxPrice?: number | {} | null;
|
|
237
|
+
allTimes?: number | null;
|
|
238
|
+
perUserTimes?: number | null;
|
|
239
|
+
user?: User | null;
|
|
240
|
+
expiredAt?: string | null;
|
|
241
|
+
createdAt?: string | null;
|
|
486
242
|
updatedAt?: string | null;
|
|
487
|
-
userId
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
243
|
+
userId?: string | null;
|
|
244
|
+
categoryKey?: string | null;
|
|
245
|
+
appCode?: string | null;
|
|
246
|
+
transactions?: Transaction[] | {};
|
|
491
247
|
}
|
|
492
|
-
export interface
|
|
248
|
+
export interface GiftCard {
|
|
493
249
|
id?: string;
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
status?:
|
|
499
|
-
createdAt?: string;
|
|
250
|
+
code: string;
|
|
251
|
+
amount: number | {};
|
|
252
|
+
coin?: Coin;
|
|
253
|
+
user?: User | null;
|
|
254
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
255
|
+
createdAt?: string | null;
|
|
500
256
|
updatedAt?: string | null;
|
|
257
|
+
coinId: string;
|
|
258
|
+
userId?: string | null;
|
|
501
259
|
}
|
|
502
|
-
export interface
|
|
260
|
+
export interface Address {
|
|
503
261
|
id?: string;
|
|
504
|
-
|
|
262
|
+
key?: number | null;
|
|
263
|
+
title?: string | null;
|
|
264
|
+
location?: Location;
|
|
265
|
+
address: string;
|
|
505
266
|
description?: string | null;
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
duration: string;
|
|
509
|
-
user?: Provider;
|
|
510
|
-
subCategoryKey: string;
|
|
511
|
-
createdAt?: string;
|
|
512
|
-
updatedAt?: string | null;
|
|
513
|
-
providerId: string;
|
|
514
|
-
bookingServices?: BookingService[];
|
|
515
|
-
}
|
|
516
|
-
export interface Bookmark {
|
|
517
|
-
id?: string;
|
|
518
|
-
user?: User;
|
|
267
|
+
phoneNumber?: string | null;
|
|
268
|
+
user?: User | null;
|
|
519
269
|
createdAt?: string | null;
|
|
520
270
|
updatedAt?: string | null;
|
|
521
|
-
userId
|
|
522
|
-
|
|
523
|
-
|
|
271
|
+
userId?: string | null;
|
|
272
|
+
areaKey?: string | null;
|
|
273
|
+
cityKey?: string | null;
|
|
524
274
|
}
|
|
525
|
-
export interface
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
provider?: Provider;
|
|
530
|
-
createdAt?: string;
|
|
531
|
-
updatedAt?: string | null;
|
|
532
|
-
providerId: string;
|
|
275
|
+
export interface Location {
|
|
276
|
+
lat: number | {};
|
|
277
|
+
lng: number | {};
|
|
278
|
+
exact?: boolean | null;
|
|
533
279
|
}
|
|
534
|
-
export interface
|
|
280
|
+
export interface Module {
|
|
535
281
|
id?: string;
|
|
536
|
-
title
|
|
537
|
-
|
|
282
|
+
title?: string | null;
|
|
283
|
+
icon?: string | null;
|
|
284
|
+
link: string;
|
|
285
|
+
priority: number | {};
|
|
286
|
+
side?: 'USER' | 'PROVIDER' | 'COLLEAGUE' | null;
|
|
287
|
+
class?: string | null;
|
|
288
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
538
289
|
createdAt?: string;
|
|
539
290
|
updatedAt?: string | null;
|
|
540
291
|
}
|
|
541
|
-
export interface
|
|
292
|
+
export interface Banner {
|
|
542
293
|
id?: string;
|
|
543
|
-
|
|
294
|
+
key: string;
|
|
544
295
|
title?: string | null;
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
lowerText?: string | null;
|
|
296
|
+
description?: string | null;
|
|
297
|
+
links?: Link[] | {};
|
|
548
298
|
createdAt?: string;
|
|
549
299
|
updatedAt?: string | null;
|
|
300
|
+
sections?: Section[] | {};
|
|
550
301
|
}
|
|
551
|
-
export interface
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
courierLeadPhoneNumber?: string | null;
|
|
557
|
-
providerImage?: string | null;
|
|
558
|
-
invitePrize?: number | {} | null;
|
|
559
|
-
createdAt?: string;
|
|
560
|
-
updatedAt?: string | null;
|
|
302
|
+
export interface Link {
|
|
303
|
+
title?: string | null;
|
|
304
|
+
description?: string | null;
|
|
305
|
+
image?: string | null;
|
|
306
|
+
link: string;
|
|
561
307
|
}
|
|
562
|
-
export interface
|
|
308
|
+
export interface Section {
|
|
563
309
|
id?: string;
|
|
564
310
|
priority?: number | {} | null;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
createdAt?: string;
|
|
311
|
+
key: string;
|
|
312
|
+
banner?: Banner | null;
|
|
313
|
+
slider?: Slider | null;
|
|
314
|
+
createdAt?: string | null;
|
|
569
315
|
updatedAt?: string | null;
|
|
316
|
+
bannerId?: string | null;
|
|
317
|
+
sliderId?: string | null;
|
|
570
318
|
}
|
|
571
|
-
export interface
|
|
319
|
+
export interface Slider {
|
|
572
320
|
id?: string;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
321
|
+
type: 'category' | 'shop' | 'provider';
|
|
322
|
+
title?: string | null;
|
|
323
|
+
description?: string | null;
|
|
324
|
+
query?: string | null;
|
|
325
|
+
appCode: string;
|
|
577
326
|
createdAt?: string;
|
|
578
327
|
updatedAt?: string | null;
|
|
579
|
-
|
|
580
|
-
questionId: string;
|
|
328
|
+
sections?: Section[] | {};
|
|
581
329
|
}
|
|
582
330
|
export interface File {
|
|
583
331
|
id?: string;
|
|
584
332
|
path: string;
|
|
585
|
-
drive?:
|
|
333
|
+
drive?: 'S3' | 'LOCAL' | 'GCS' | null;
|
|
586
334
|
url: string;
|
|
587
335
|
baseUrl?: string | null;
|
|
588
336
|
createdAt?: string | null;
|
|
@@ -592,7 +340,7 @@ export interface Lang {
|
|
|
592
340
|
id?: string;
|
|
593
341
|
title: string;
|
|
594
342
|
code: string;
|
|
595
|
-
dir:
|
|
343
|
+
dir: 'ltr' | 'rtl';
|
|
596
344
|
image?: string | null;
|
|
597
345
|
dateTimeFormat?: string | null;
|
|
598
346
|
json: number | string | boolean | {} | unknown[] | null;
|
|
@@ -603,9 +351,44 @@ export interface TableTemplate {
|
|
|
603
351
|
id?: string;
|
|
604
352
|
title: string;
|
|
605
353
|
coll?: string | null;
|
|
606
|
-
selected?: string[];
|
|
354
|
+
selected?: string[] | {};
|
|
607
355
|
relQuery?: number | string | boolean | {} | unknown[] | null;
|
|
608
|
-
targets?: string[];
|
|
356
|
+
targets?: string[] | {};
|
|
357
|
+
createdAt?: string | null;
|
|
358
|
+
updatedAt?: string | null;
|
|
359
|
+
listTemplates?: ListTemplate[] | {};
|
|
360
|
+
}
|
|
361
|
+
export interface ListTemplate {
|
|
362
|
+
id?: string;
|
|
363
|
+
title: string;
|
|
364
|
+
coll: string;
|
|
365
|
+
filterTemplate?: FilterTemplate;
|
|
366
|
+
tableTemplate?: TableTemplate;
|
|
367
|
+
sort?: string | null;
|
|
368
|
+
sortType?: 'ASC' | 'DESC' | null;
|
|
369
|
+
limit?: number | null;
|
|
370
|
+
skip: number;
|
|
371
|
+
createdAt?: string | null;
|
|
372
|
+
updatedAt?: string | null;
|
|
373
|
+
filterTemplateId: string;
|
|
374
|
+
tableTemplateId: string;
|
|
375
|
+
}
|
|
376
|
+
export interface FilterTemplate {
|
|
377
|
+
id?: string;
|
|
378
|
+
title: string;
|
|
379
|
+
coll?: string | null;
|
|
380
|
+
query?: number | string | boolean | {} | unknown[] | null;
|
|
381
|
+
createdAt?: string | null;
|
|
382
|
+
updatedAt?: string | null;
|
|
383
|
+
listTemplates?: ListTemplate[] | {};
|
|
384
|
+
}
|
|
385
|
+
export interface ChartTemplate {
|
|
386
|
+
id?: string;
|
|
387
|
+
title: string;
|
|
388
|
+
inputData?: number | string | boolean | {} | unknown[] | null;
|
|
389
|
+
mapData?: number | string | boolean | {} | unknown[] | null;
|
|
390
|
+
options?: number | string | boolean | {} | unknown[] | null;
|
|
391
|
+
baseDataRaw?: string | null;
|
|
609
392
|
createdAt?: string | null;
|
|
610
393
|
updatedAt?: string | null;
|
|
611
394
|
}
|
|
@@ -630,7 +413,7 @@ export interface NotificationBody {
|
|
|
630
413
|
message?: string | null;
|
|
631
414
|
sender?: string | null;
|
|
632
415
|
token?: string | null;
|
|
633
|
-
tokens?: string[];
|
|
416
|
+
tokens?: string[] | {};
|
|
634
417
|
messageObject?: NotificationOptions | null;
|
|
635
418
|
}
|
|
636
419
|
export interface NotificationOptions {
|
|
@@ -638,7 +421,7 @@ export interface NotificationOptions {
|
|
|
638
421
|
body?: string | null;
|
|
639
422
|
badge?: string | null;
|
|
640
423
|
data?: number | string | boolean | {} | unknown[] | null;
|
|
641
|
-
dir?:
|
|
424
|
+
dir?: 'auto' | 'ltr' | 'rtl' | null;
|
|
642
425
|
icon?: string | null;
|
|
643
426
|
lang?: string | null;
|
|
644
427
|
requireInteraction?: boolean | null;
|