@unsource/ui 2.8.8 → 2.8.10
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 +24 -9
- package/dist/runtime/assets/main.css +1 -1
- package/dist/runtime/components/UnAuth.d.vue.ts +2 -2
- package/dist/runtime/components/UnAuth.vue +2 -2
- package/dist/runtime/components/UnAuth.vue.d.ts +2 -2
- package/dist/runtime/components/UnCard.d.vue.ts +16 -14
- package/dist/runtime/components/UnCard.vue +26 -2
- package/dist/runtime/components/UnCard.vue.d.ts +16 -14
- package/dist/runtime/components/UnCheckboxItem.d.vue.ts +1 -5
- package/dist/runtime/components/UnCheckboxItem.vue +4 -5
- package/dist/runtime/components/UnCheckboxItem.vue.d.ts +1 -5
- package/dist/runtime/components/UnCollapsible.d.vue.ts +2 -2
- package/dist/runtime/components/UnCollapsible.vue.d.ts +2 -2
- package/dist/runtime/components/UnFormItem.vue +2 -2
- package/dist/runtime/components/UnFormList.d.vue.ts +1 -1
- package/dist/runtime/components/UnFormList.vue.d.ts +1 -1
- package/dist/runtime/components/UnIRDatePicker.d.vue.ts +1 -1
- package/dist/runtime/components/UnIRDatePicker.vue +1 -2
- package/dist/runtime/components/UnIRDatePicker.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/UnLabel.d.vue.ts +13 -13
- package/dist/runtime/components/UnLabel.vue +5 -5
- package/dist/runtime/components/UnLabel.vue.d.ts +13 -13
- package/dist/runtime/components/UnMap.vue +1 -1
- package/dist/runtime/components/UnMobileHeader.vue +0 -1
- package/dist/runtime/components/UnModal.vue +1 -1
- package/dist/runtime/components/UnMultiUploader.vue +0 -1
- package/dist/runtime/components/UnNavbar.vue +1 -1
- package/dist/runtime/components/UnNormalInput.d.vue.ts +1 -21
- package/dist/runtime/components/UnNormalInput.vue.d.ts +1 -21
- package/dist/runtime/components/UnNumberInput.vue +0 -1
- package/dist/runtime/components/UnNuxtIcon.d.vue.ts +0 -1
- package/dist/runtime/components/UnNuxtIcon.vue +1 -3
- package/dist/runtime/components/UnNuxtIcon.vue.d.ts +0 -1
- package/dist/runtime/components/UnProfile.d.vue.ts +2 -2
- package/dist/runtime/components/UnProfile.vue.d.ts +2 -2
- package/dist/runtime/components/UnRadioItem.d.vue.ts +1 -0
- package/dist/runtime/components/UnRadioItem.vue +8 -7
- package/dist/runtime/components/UnRadioItem.vue.d.ts +1 -0
- package/dist/runtime/components/UnSelect.d.vue.ts +0 -2
- package/dist/runtime/components/UnSelect.vue +2 -4
- package/dist/runtime/components/UnSelect.vue.d.ts +0 -2
- package/dist/runtime/components/UnSwiperControl.vue +0 -4
- package/dist/runtime/components/UnSwiperSlider.d.vue.ts +2 -2
- package/dist/runtime/components/UnSwiperSlider.vue.d.ts +2 -2
- package/dist/runtime/components/UnTransaction.vue +1 -0
- package/dist/runtime/components/UnUploadFile.d.vue.ts +4 -4
- package/dist/runtime/components/UnUploadFile.vue +1 -1
- package/dist/runtime/components/UnUploadFile.vue.d.ts +4 -4
- package/dist/runtime/components/UnWallet.vue +1 -0
- package/dist/runtime/composables/fetch.d.ts +38 -17
- package/dist/runtime/composables/fetch.js +20 -11
- package/dist/runtime/composables/global.d.ts +58 -15
- package/dist/runtime/composables/global.js +11 -30
- package/dist/runtime/composables/reuseable.d.ts +6 -19
- package/dist/runtime/composables/reuseable.js +7 -24
- package/dist/runtime/composables/services.d.ts +2 -2
- package/dist/runtime/composables/services.js +3 -2
- package/dist/runtime/plugins/floating.client.d.ts +3 -0
- package/dist/runtime/plugins/floating.client.js +6 -0
- package/dist/runtime/plugins/toast.client.d.ts +30 -30
- package/dist/runtime/types/models.d.ts +401 -110
- package/package.json +6 -5
- package/dist/runtime/uno.config.d.ts +0 -2
- package/dist/runtime/uno.config.js +0 -60
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
export interface Core {
|
|
2
|
-
user?: User;
|
|
3
|
-
profile?: Profile;
|
|
4
|
-
wallet?: Wallet;
|
|
5
|
-
address?: Address;
|
|
6
|
-
gateway?: Gateway;
|
|
7
|
-
coin?: Coin;
|
|
8
|
-
coinGateway?: CoinGateway;
|
|
9
|
-
discountCode?: DiscountCode;
|
|
10
|
-
giftCard?: GiftCard;
|
|
11
|
-
transaction?: Transaction;
|
|
12
|
-
module?: Module;
|
|
13
|
-
banner?: Banner;
|
|
14
|
-
slider?: Slider;
|
|
15
|
-
section?: Section;
|
|
16
|
-
role?: Role;
|
|
17
|
-
otp?: Otp;
|
|
18
|
-
file?: File;
|
|
19
|
-
lang?: Lang;
|
|
20
|
-
tableTemplate?: TableTemplate;
|
|
21
|
-
filterTemplate?: FilterTemplate;
|
|
22
|
-
chartTemplate?: ChartTemplate;
|
|
23
|
-
listTemplate?: ListTemplate;
|
|
24
|
-
dashboardTemplate?: DashboardTemplate;
|
|
25
|
-
systemAlarm?: SystemAlarm;
|
|
26
|
-
subRequest?: SubRequest;
|
|
27
|
-
appConfig?: AppConfig;
|
|
28
|
-
log?: Log;
|
|
29
|
-
}
|
|
30
1
|
export interface User {
|
|
31
2
|
id?: string;
|
|
32
3
|
email?: string | null;
|
|
@@ -36,24 +7,24 @@ export interface User {
|
|
|
36
7
|
inviteCode?: string | null;
|
|
37
8
|
rememberMeToken?: string | null;
|
|
38
9
|
supervisorCode?: string | null;
|
|
39
|
-
tags?: string[] |
|
|
10
|
+
tags?: string[] | object;
|
|
40
11
|
type?: 'USER' | 'ADMIN' | 'COURIER' | null;
|
|
41
12
|
authStatus?: 'PENDING' | 'AUTHORIZED' | 'REJECTED' | null;
|
|
42
13
|
isBlocked?: boolean | null;
|
|
43
14
|
createdAt?: string;
|
|
44
15
|
updatedAt?: string | null;
|
|
45
|
-
OTPs?: Otp[] |
|
|
46
|
-
invitedUsers?: User[] |
|
|
16
|
+
OTPs?: Otp[] | object;
|
|
17
|
+
invitedUsers?: User[] | object;
|
|
47
18
|
supervisor?: User | null;
|
|
48
19
|
profile?: Profile | null;
|
|
49
20
|
role?: Role | null;
|
|
50
21
|
roleId?: string | null;
|
|
51
22
|
roleName?: string | null;
|
|
52
|
-
wallets?: Wallet[] |
|
|
53
|
-
addresses?: Address[] |
|
|
54
|
-
discountCodes?: DiscountCode[] |
|
|
55
|
-
transactions?: Transaction[] |
|
|
56
|
-
giftCards?: GiftCard[] |
|
|
23
|
+
wallets?: Wallet[] | object;
|
|
24
|
+
addresses?: Address[] | object;
|
|
25
|
+
discountCodes?: DiscountCode[] | object;
|
|
26
|
+
transactions?: Transaction[] | object;
|
|
27
|
+
giftCards?: GiftCard[] | object;
|
|
57
28
|
}
|
|
58
29
|
export interface Otp {
|
|
59
30
|
id?: string;
|
|
@@ -73,8 +44,8 @@ export interface Profile {
|
|
|
73
44
|
card?: string | null;
|
|
74
45
|
iban?: string | null;
|
|
75
46
|
birthday?: string | null;
|
|
76
|
-
lat?: number |
|
|
77
|
-
lng?: number |
|
|
47
|
+
lat?: number | object | null;
|
|
48
|
+
lng?: number | object | null;
|
|
78
49
|
user?: User;
|
|
79
50
|
createdAt?: string | null;
|
|
80
51
|
updatedAt?: string | null;
|
|
@@ -86,33 +57,33 @@ export interface Role {
|
|
|
86
57
|
label?: string | null;
|
|
87
58
|
color?: string | null;
|
|
88
59
|
icon?: string | null;
|
|
89
|
-
privileges?: Privilege[] |
|
|
90
|
-
user?: User[] |
|
|
91
|
-
dashboardTemplates?: DashboardTemplate[] |
|
|
60
|
+
privileges?: Privilege[] | object;
|
|
61
|
+
user?: User[] | object;
|
|
62
|
+
dashboardTemplates?: DashboardTemplate[] | object;
|
|
92
63
|
createdAt?: string | null;
|
|
93
64
|
updatedAt?: string | null;
|
|
94
65
|
}
|
|
95
66
|
export interface Privilege {
|
|
96
67
|
model: string;
|
|
97
68
|
func: string;
|
|
98
|
-
schema?: number | string | boolean |
|
|
99
|
-
details?: number | string | boolean |
|
|
69
|
+
schema?: number | string | boolean | object | unknown[] | null;
|
|
70
|
+
details?: number | string | boolean | object | unknown[] | null;
|
|
100
71
|
}
|
|
101
72
|
export interface DashboardTemplate {
|
|
102
73
|
id?: string;
|
|
103
74
|
title: string;
|
|
104
75
|
role?: Role;
|
|
105
|
-
layout?: number | string | boolean |
|
|
106
|
-
chartIds: string[] |
|
|
107
|
-
listIds: string[] |
|
|
76
|
+
layout?: number | string | boolean | object | unknown[] | null;
|
|
77
|
+
chartIds: string[] | object;
|
|
78
|
+
listIds: string[] | object;
|
|
108
79
|
createdAt?: string | null;
|
|
109
80
|
updatedAt?: string | null;
|
|
110
81
|
roleName: string;
|
|
111
82
|
}
|
|
112
83
|
export interface Wallet {
|
|
113
84
|
id?: string;
|
|
114
|
-
balance?: number |
|
|
115
|
-
blocked?: number |
|
|
85
|
+
balance?: number | object | null;
|
|
86
|
+
blocked?: number | object | null;
|
|
116
87
|
address?: string | null;
|
|
117
88
|
userId: string;
|
|
118
89
|
coinId: string;
|
|
@@ -120,8 +91,8 @@ export interface Wallet {
|
|
|
120
91
|
updatedAt?: string | null;
|
|
121
92
|
user?: User;
|
|
122
93
|
coin?: Coin;
|
|
123
|
-
transactions?: Transaction[] |
|
|
124
|
-
toTransactions?: Transaction[] |
|
|
94
|
+
transactions?: Transaction[] | object;
|
|
95
|
+
toTransactions?: Transaction[] | object;
|
|
125
96
|
}
|
|
126
97
|
export interface Coin {
|
|
127
98
|
id?: string;
|
|
@@ -130,29 +101,29 @@ export interface Coin {
|
|
|
130
101
|
unit?: string | null;
|
|
131
102
|
icon?: string | null;
|
|
132
103
|
color?: string | null;
|
|
133
|
-
price?: number |
|
|
134
|
-
sellPrice?: number |
|
|
135
|
-
buyFeePercent?: number |
|
|
136
|
-
sellFeePercent?: number |
|
|
137
|
-
buyFee?: number |
|
|
138
|
-
sellFee?: number |
|
|
139
|
-
minWithdraw?: number |
|
|
140
|
-
withdrawStep?: number |
|
|
141
|
-
precision?: number |
|
|
104
|
+
price?: number | object | null;
|
|
105
|
+
sellPrice?: number | object | null;
|
|
106
|
+
buyFeePercent?: number | object | null;
|
|
107
|
+
sellFeePercent?: number | object | null;
|
|
108
|
+
buyFee?: number | object | null;
|
|
109
|
+
sellFee?: number | object | null;
|
|
110
|
+
minWithdraw?: number | object | null;
|
|
111
|
+
withdrawStep?: number | object | null;
|
|
112
|
+
precision?: number | object | null;
|
|
142
113
|
walletable?: boolean | null;
|
|
143
114
|
depositable?: boolean | null;
|
|
144
115
|
withdrawable?: boolean | null;
|
|
145
116
|
transferable?: boolean | null;
|
|
146
117
|
active?: boolean | null;
|
|
147
118
|
isFiat?: boolean | null;
|
|
148
|
-
platforms?: string[] |
|
|
149
|
-
categories?: string[] |
|
|
119
|
+
platforms?: string[] | object;
|
|
120
|
+
categories?: string[] | object;
|
|
150
121
|
expiredAt?: string | null;
|
|
151
122
|
createdAt?: string | null;
|
|
152
123
|
updatedAt?: string | null;
|
|
153
|
-
gateways?: CoinGateway[] |
|
|
154
|
-
wallets?: Wallet[] |
|
|
155
|
-
giftCards?: GiftCard[] |
|
|
124
|
+
gateways?: CoinGateway[] | object;
|
|
125
|
+
wallets?: Wallet[] | object;
|
|
126
|
+
giftCards?: GiftCard[] | object;
|
|
156
127
|
}
|
|
157
128
|
export interface CoinGateway {
|
|
158
129
|
id?: string;
|
|
@@ -167,7 +138,7 @@ export interface CoinGateway {
|
|
|
167
138
|
updatedAt?: string | null;
|
|
168
139
|
gatewayId: string;
|
|
169
140
|
coinId: string;
|
|
170
|
-
Transaction?: Transaction[] |
|
|
141
|
+
Transaction?: Transaction[] | object;
|
|
171
142
|
}
|
|
172
143
|
export interface Gateway {
|
|
173
144
|
id?: string;
|
|
@@ -178,20 +149,20 @@ export interface Gateway {
|
|
|
178
149
|
iban?: string | null;
|
|
179
150
|
icon?: string | null;
|
|
180
151
|
color?: string | null;
|
|
181
|
-
keys?: string[] |
|
|
182
|
-
params?: number | string | boolean |
|
|
152
|
+
keys?: string[] | object;
|
|
153
|
+
params?: number | string | boolean | object | unknown[] | null;
|
|
183
154
|
checkUrl?: string | null;
|
|
184
155
|
payable?: boolean | null;
|
|
185
156
|
active?: boolean | null;
|
|
186
|
-
details?: number | string | boolean |
|
|
157
|
+
details?: number | string | boolean | object | unknown[] | null;
|
|
187
158
|
createdAt?: string | null;
|
|
188
159
|
updatedAt?: string | null;
|
|
189
|
-
coins?: CoinGateway[] |
|
|
160
|
+
coins?: CoinGateway[] | object;
|
|
190
161
|
}
|
|
191
162
|
export interface Transaction {
|
|
192
163
|
id?: string;
|
|
193
164
|
paymentId?: string | null;
|
|
194
|
-
amount: number |
|
|
165
|
+
amount: number | object;
|
|
195
166
|
type: 'WITHDRAW' | 'DEPOSIT' | 'PAYMENT' | 'TRANSFER';
|
|
196
167
|
paymentSource?: 'WALLET' | 'GATEWAY' | null;
|
|
197
168
|
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
@@ -199,9 +170,9 @@ export interface Transaction {
|
|
|
199
170
|
paymentUrl?: string | null;
|
|
200
171
|
redirectUrl?: string | null;
|
|
201
172
|
target?: string | null;
|
|
202
|
-
targetDetails?: number | string | boolean |
|
|
203
|
-
discountAmount?: number |
|
|
204
|
-
commission?: number |
|
|
173
|
+
targetDetails?: number | string | boolean | object | unknown[] | null;
|
|
174
|
+
discountAmount?: number | object | null;
|
|
175
|
+
commission?: number | object | null;
|
|
205
176
|
settleAmount?: string | null;
|
|
206
177
|
settleId?: string | null;
|
|
207
178
|
settleBank?: string | null;
|
|
@@ -231,9 +202,9 @@ export interface Transaction {
|
|
|
231
202
|
export interface DiscountCode {
|
|
232
203
|
id?: string;
|
|
233
204
|
code: string;
|
|
234
|
-
percent: number |
|
|
235
|
-
minPrice?: number |
|
|
236
|
-
maxPrice?: number |
|
|
205
|
+
percent: number | object;
|
|
206
|
+
minPrice?: number | object | null;
|
|
207
|
+
maxPrice?: number | object | null;
|
|
237
208
|
allTimes?: number | null;
|
|
238
209
|
perUserTimes?: number | null;
|
|
239
210
|
user?: User | null;
|
|
@@ -243,12 +214,12 @@ export interface DiscountCode {
|
|
|
243
214
|
userId?: string | null;
|
|
244
215
|
categoryKey?: string | null;
|
|
245
216
|
appCode?: string | null;
|
|
246
|
-
transactions?: Transaction[] |
|
|
217
|
+
transactions?: Transaction[] | object;
|
|
247
218
|
}
|
|
248
219
|
export interface GiftCard {
|
|
249
220
|
id?: string;
|
|
250
221
|
code: string;
|
|
251
|
-
amount: number |
|
|
222
|
+
amount: number | object;
|
|
252
223
|
coin?: Coin;
|
|
253
224
|
user?: User | null;
|
|
254
225
|
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
@@ -273,8 +244,8 @@ export interface Address {
|
|
|
273
244
|
cityKey?: string | null;
|
|
274
245
|
}
|
|
275
246
|
export interface Location {
|
|
276
|
-
lat: number |
|
|
277
|
-
lng: number |
|
|
247
|
+
lat: number | object;
|
|
248
|
+
lng: number | object;
|
|
278
249
|
exact?: boolean | null;
|
|
279
250
|
}
|
|
280
251
|
export interface Module {
|
|
@@ -282,7 +253,7 @@ export interface Module {
|
|
|
282
253
|
title?: string | null;
|
|
283
254
|
icon?: string | null;
|
|
284
255
|
link: string;
|
|
285
|
-
priority: number |
|
|
256
|
+
priority: number | object;
|
|
286
257
|
side?: 'USER' | 'PROVIDER' | 'COLLEAGUE' | null;
|
|
287
258
|
class?: string | null;
|
|
288
259
|
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
@@ -294,10 +265,10 @@ export interface Banner {
|
|
|
294
265
|
key: string;
|
|
295
266
|
title?: string | null;
|
|
296
267
|
description?: string | null;
|
|
297
|
-
links?: Link[] |
|
|
268
|
+
links?: Link[] | object;
|
|
298
269
|
createdAt?: string;
|
|
299
270
|
updatedAt?: string | null;
|
|
300
|
-
sections?: Section[] |
|
|
271
|
+
sections?: Section[] | object;
|
|
301
272
|
}
|
|
302
273
|
export interface Link {
|
|
303
274
|
title?: string | null;
|
|
@@ -307,7 +278,7 @@ export interface Link {
|
|
|
307
278
|
}
|
|
308
279
|
export interface Section {
|
|
309
280
|
id?: string;
|
|
310
|
-
priority?: number |
|
|
281
|
+
priority?: number | object | null;
|
|
311
282
|
key: string;
|
|
312
283
|
banner?: Banner | null;
|
|
313
284
|
slider?: Slider | null;
|
|
@@ -325,7 +296,7 @@ export interface Slider {
|
|
|
325
296
|
appCode: string;
|
|
326
297
|
createdAt?: string;
|
|
327
298
|
updatedAt?: string | null;
|
|
328
|
-
sections?: Section[] |
|
|
299
|
+
sections?: Section[] | object;
|
|
329
300
|
}
|
|
330
301
|
export interface File {
|
|
331
302
|
id?: string;
|
|
@@ -343,7 +314,7 @@ export interface Lang {
|
|
|
343
314
|
dir: 'ltr' | 'rtl';
|
|
344
315
|
image?: string | null;
|
|
345
316
|
dateTimeFormat?: string | null;
|
|
346
|
-
json: number | string | boolean |
|
|
317
|
+
json: number | string | boolean | object | unknown[] | null;
|
|
347
318
|
createdAt?: string | null;
|
|
348
319
|
updatedAt?: string | null;
|
|
349
320
|
}
|
|
@@ -351,12 +322,12 @@ export interface TableTemplate {
|
|
|
351
322
|
id?: string;
|
|
352
323
|
title: string;
|
|
353
324
|
coll?: string | null;
|
|
354
|
-
selected?: string[] |
|
|
355
|
-
relQuery?: number | string | boolean |
|
|
356
|
-
targets?: string[] |
|
|
325
|
+
selected?: string[] | object;
|
|
326
|
+
relQuery?: number | string | boolean | object | unknown[] | null;
|
|
327
|
+
targets?: string[] | object;
|
|
357
328
|
createdAt?: string | null;
|
|
358
329
|
updatedAt?: string | null;
|
|
359
|
-
listTemplates?: ListTemplate[] |
|
|
330
|
+
listTemplates?: ListTemplate[] | object;
|
|
360
331
|
}
|
|
361
332
|
export interface ListTemplate {
|
|
362
333
|
id?: string;
|
|
@@ -377,28 +348,28 @@ export interface FilterTemplate {
|
|
|
377
348
|
id?: string;
|
|
378
349
|
title: string;
|
|
379
350
|
coll?: string | null;
|
|
380
|
-
query?: number | string | boolean |
|
|
351
|
+
query?: number | string | boolean | object | unknown[] | null;
|
|
381
352
|
createdAt?: string | null;
|
|
382
353
|
updatedAt?: string | null;
|
|
383
|
-
listTemplates?: ListTemplate[] |
|
|
354
|
+
listTemplates?: ListTemplate[] | object;
|
|
384
355
|
}
|
|
385
356
|
export interface ChartTemplate {
|
|
386
357
|
id?: string;
|
|
387
358
|
title: string;
|
|
388
|
-
inputData?: number | string | boolean |
|
|
389
|
-
mapData?: number | string | boolean |
|
|
390
|
-
options?: number | string | boolean |
|
|
359
|
+
inputData?: number | string | boolean | object | unknown[] | null;
|
|
360
|
+
mapData?: number | string | boolean | object | unknown[] | null;
|
|
361
|
+
options?: number | string | boolean | object | unknown[] | null;
|
|
391
362
|
baseDataRaw?: string | null;
|
|
392
363
|
createdAt?: string | null;
|
|
393
364
|
updatedAt?: string | null;
|
|
394
365
|
}
|
|
395
366
|
export interface SystemAlarm {
|
|
396
367
|
id?: string;
|
|
397
|
-
priority?: number |
|
|
368
|
+
priority?: number | object | null;
|
|
398
369
|
model?: string | null;
|
|
399
370
|
func?: string | null;
|
|
400
|
-
schema?: number | string | boolean |
|
|
401
|
-
query?: number | string | boolean |
|
|
371
|
+
schema?: number | string | boolean | object | unknown[] | null;
|
|
372
|
+
query?: number | string | boolean | object | unknown[] | null;
|
|
402
373
|
notification?: NotificationBody;
|
|
403
374
|
createdAt?: string | null;
|
|
404
375
|
updatedAt?: string | null;
|
|
@@ -413,14 +384,14 @@ export interface NotificationBody {
|
|
|
413
384
|
message?: string | null;
|
|
414
385
|
sender?: string | null;
|
|
415
386
|
token?: string | null;
|
|
416
|
-
tokens?: string[] |
|
|
387
|
+
tokens?: string[] | object;
|
|
417
388
|
messageObject?: NotificationOptions | null;
|
|
418
389
|
}
|
|
419
390
|
export interface NotificationOptions {
|
|
420
391
|
title?: string | null;
|
|
421
392
|
body?: string | null;
|
|
422
393
|
badge?: string | null;
|
|
423
|
-
data?: number | string | boolean |
|
|
394
|
+
data?: number | string | boolean | object | unknown[] | null;
|
|
424
395
|
dir?: 'auto' | 'ltr' | 'rtl' | null;
|
|
425
396
|
icon?: string | null;
|
|
426
397
|
lang?: string | null;
|
|
@@ -431,20 +402,20 @@ export interface NotificationOptions {
|
|
|
431
402
|
}
|
|
432
403
|
export interface SubRequest {
|
|
433
404
|
id?: string;
|
|
434
|
-
priority?: number |
|
|
405
|
+
priority?: number | object | null;
|
|
435
406
|
model?: string | null;
|
|
436
407
|
func?: string | null;
|
|
437
|
-
schema?: number | string | boolean |
|
|
438
|
-
query?: number | string | boolean |
|
|
408
|
+
schema?: number | string | boolean | object | unknown[] | null;
|
|
409
|
+
query?: number | string | boolean | object | unknown[] | null;
|
|
439
410
|
forOn?: string | null;
|
|
440
|
-
fetch?: number | string | boolean |
|
|
411
|
+
fetch?: number | string | boolean | object | unknown[] | null;
|
|
441
412
|
createdAt?: string | null;
|
|
442
413
|
updatedAt?: string | null;
|
|
443
414
|
}
|
|
444
415
|
export interface AppConfig {
|
|
445
416
|
id?: string;
|
|
446
417
|
name: string;
|
|
447
|
-
schema: number | string | boolean |
|
|
418
|
+
schema: number | string | boolean | object | unknown[] | null;
|
|
448
419
|
createdAt?: string | null;
|
|
449
420
|
updatedAt?: string | null;
|
|
450
421
|
}
|
|
@@ -456,10 +427,330 @@ export interface Log {
|
|
|
456
427
|
token?: string | null;
|
|
457
428
|
ip?: string | null;
|
|
458
429
|
userAgent?: string | null;
|
|
459
|
-
user?: number | string | boolean |
|
|
460
|
-
query?: number | string | boolean |
|
|
461
|
-
body?: number | string | boolean |
|
|
462
|
-
result?: number | string | boolean |
|
|
430
|
+
user?: number | string | boolean | object | unknown[] | null;
|
|
431
|
+
query?: number | string | boolean | object | unknown[] | null;
|
|
432
|
+
body?: number | string | boolean | object | unknown[] | null;
|
|
433
|
+
result?: number | string | boolean | object | unknown[] | null;
|
|
434
|
+
createdAt?: string | null;
|
|
435
|
+
updatedAt?: string | null;
|
|
436
|
+
}
|
|
437
|
+
export interface InputOption {
|
|
438
|
+
id?: string;
|
|
439
|
+
priority?: number | object | null;
|
|
440
|
+
icon?: string | null;
|
|
441
|
+
key: string;
|
|
442
|
+
title: string;
|
|
443
|
+
input?: Input | null;
|
|
444
|
+
mainOption?: InputOption | null;
|
|
445
|
+
filterByInput?: Input | null;
|
|
446
|
+
filterByOption?: InputOption | null;
|
|
447
|
+
subOptions?: InputOption[] | object;
|
|
448
|
+
createdAt?: string | null;
|
|
449
|
+
updatedAt?: string | null;
|
|
450
|
+
filteredByKey?: string | null;
|
|
451
|
+
filterOptionKey?: string | null;
|
|
452
|
+
inputId?: string | null;
|
|
453
|
+
mainOptionId?: string | null;
|
|
454
|
+
nextInputOption?: InputOption[] | object;
|
|
455
|
+
banners?: Banner[] | object;
|
|
456
|
+
discountCodes?: DiscountCode[] | object;
|
|
457
|
+
cityProviders?: Provider[] | object;
|
|
458
|
+
provinceProviders?: Provider[] | object;
|
|
459
|
+
areaProviders?: Provider[] | object;
|
|
460
|
+
categoryProviders?: Provider[] | object;
|
|
461
|
+
places?: Place[] | object;
|
|
462
|
+
serviceSettings?: ServiceSetting[] | object;
|
|
463
|
+
cityPlaces?: Place[] | object;
|
|
464
|
+
provincePlace?: Place[] | object;
|
|
465
|
+
areaPlace?: Place[] | object;
|
|
466
|
+
}
|
|
467
|
+
export interface Input {
|
|
468
|
+
id?: string;
|
|
469
|
+
key: string;
|
|
470
|
+
title: string;
|
|
471
|
+
description?: string | null;
|
|
472
|
+
hint?: string | null;
|
|
473
|
+
type?: 'text' | 'description' | 'switch' | 'select' | 'number' | 'dateTime' | 'date' | 'time' | 'location' | 'image' | 'file' | 'none';
|
|
474
|
+
placeholder?: string | null;
|
|
475
|
+
icon?: string | null;
|
|
476
|
+
append?: string | null;
|
|
477
|
+
extendInput?: Input | null;
|
|
478
|
+
externalOptions?: string | null;
|
|
479
|
+
externalOptionsKeys?: ExternalOptionsKeys | null;
|
|
480
|
+
options?: InputOption[] | object;
|
|
481
|
+
multiSelect?: boolean | null;
|
|
482
|
+
keyboadType?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url' | null;
|
|
483
|
+
min?: number | object | null;
|
|
484
|
+
max?: number | object | null;
|
|
485
|
+
extendedInputKey?: string | null;
|
|
486
|
+
createdAt?: string | null;
|
|
487
|
+
updatedAt?: string | null;
|
|
488
|
+
forms?: Form[] | object;
|
|
489
|
+
requiredForms?: Form[] | object;
|
|
490
|
+
activatedForms?: Form[] | object;
|
|
491
|
+
filterOptions?: InputOption[] | object;
|
|
492
|
+
extendedInputs?: Input[] | object;
|
|
493
|
+
}
|
|
494
|
+
export interface ExternalOptionsKeys {
|
|
495
|
+
id?: string | null;
|
|
496
|
+
priority?: string | null;
|
|
497
|
+
icon?: string | null;
|
|
498
|
+
key: string;
|
|
499
|
+
title: string;
|
|
500
|
+
filteredByKey?: string | null;
|
|
501
|
+
filterOptionKey?: string | null;
|
|
502
|
+
}
|
|
503
|
+
export interface Form {
|
|
504
|
+
id?: string;
|
|
505
|
+
name: string;
|
|
506
|
+
input?: Input;
|
|
507
|
+
priority?: number | object | null;
|
|
508
|
+
required?: boolean;
|
|
509
|
+
requiredby?: string | null;
|
|
510
|
+
activatedByInput?: Input | null;
|
|
511
|
+
activatedByValues?: string[] | object;
|
|
512
|
+
requiredByInput?: Input | null;
|
|
513
|
+
requiredByValues?: string[] | object;
|
|
514
|
+
createdAt?: string | null;
|
|
515
|
+
updatedAt?: string | null;
|
|
516
|
+
activatedBy?: string | null;
|
|
517
|
+
inputId: string;
|
|
518
|
+
}
|
|
519
|
+
export interface Provider {
|
|
520
|
+
id?: string;
|
|
521
|
+
fullName: string;
|
|
522
|
+
avatar?: string | null;
|
|
523
|
+
description: string;
|
|
524
|
+
specialties?: string[] | object;
|
|
525
|
+
experiences?: string[] | object;
|
|
526
|
+
achievements?: string[] | object;
|
|
527
|
+
shortDescription?: string | null;
|
|
528
|
+
gender?: 'MALE' | 'FEMALE' | null;
|
|
529
|
+
nationalCode: string;
|
|
530
|
+
phone?: string | null;
|
|
531
|
+
secondPhone?: string | null;
|
|
532
|
+
cardNumber?: string | null;
|
|
533
|
+
iban?: string | null;
|
|
534
|
+
licenseImage?: string | null;
|
|
535
|
+
licenseNumber?: string | null;
|
|
536
|
+
address?: string | null;
|
|
537
|
+
location?: Location | null;
|
|
538
|
+
score?: number | object | null;
|
|
539
|
+
authStatus?: 'PENDING' | 'AUTHORIZED' | 'REJECTED' | null;
|
|
540
|
+
earliestBookingTime?: string | null;
|
|
541
|
+
tag?: string | null;
|
|
542
|
+
city?: InputOption;
|
|
543
|
+
province?: InputOption;
|
|
544
|
+
area?: InputOption | null;
|
|
545
|
+
category?: InputOption;
|
|
546
|
+
user?: User;
|
|
547
|
+
createdAt?: string;
|
|
548
|
+
updatedAt?: string | null;
|
|
549
|
+
userId: string;
|
|
550
|
+
cityKey: string;
|
|
551
|
+
provinceKey: string;
|
|
552
|
+
areaKey?: string | null;
|
|
553
|
+
categoryKey: string;
|
|
554
|
+
subCategoriesKey?: string[] | object;
|
|
555
|
+
comments?: Comment[] | object;
|
|
556
|
+
bookmarks?: Bookmark[] | object;
|
|
557
|
+
bookings?: Booking[] | object;
|
|
558
|
+
holidays?: Holiday[] | object;
|
|
559
|
+
bookingSettings?: BookingSetting[] | object;
|
|
560
|
+
serviceSettings?: ServiceSetting[] | object;
|
|
561
|
+
}
|
|
562
|
+
export interface Location {
|
|
563
|
+
lat: number | object;
|
|
564
|
+
lng: number | object;
|
|
565
|
+
exact?: boolean | null;
|
|
566
|
+
}
|
|
567
|
+
export interface Comment {
|
|
568
|
+
id?: string;
|
|
569
|
+
number?: number | null;
|
|
570
|
+
text?: string | null;
|
|
571
|
+
providerReply?: string | null;
|
|
572
|
+
adminReply?: string | null;
|
|
573
|
+
placeReply?: string | null;
|
|
574
|
+
user?: User | null;
|
|
575
|
+
provider?: Provider;
|
|
576
|
+
booking?: Booking;
|
|
577
|
+
place?: Place;
|
|
578
|
+
createdAt?: string;
|
|
579
|
+
updatedAt?: string | null;
|
|
580
|
+
userId?: string | null;
|
|
581
|
+
providerId: string;
|
|
582
|
+
bookingId: string;
|
|
583
|
+
placeId: string;
|
|
584
|
+
}
|
|
585
|
+
export interface Booking {
|
|
586
|
+
id?: string;
|
|
587
|
+
description?: string | null;
|
|
588
|
+
dateTime?: string | null;
|
|
589
|
+
paymentSource?: 'WALLET' | 'GATEWAY' | null;
|
|
590
|
+
status?: 'PENDING' | 'PAID' | 'ACCEPTED' | 'REJECTED' | 'CANCELLED' | 'COMPLETED' | null;
|
|
591
|
+
address?: string | null;
|
|
592
|
+
location?: Location | null;
|
|
593
|
+
type: 'IN_PERSON' | 'REMOTE' | 'CHAT';
|
|
594
|
+
user?: User;
|
|
595
|
+
services?: ServiceSettingType[] | object;
|
|
596
|
+
wallet?: Wallet | null;
|
|
597
|
+
booking?: BookingSetting | null;
|
|
598
|
+
place?: Place | null;
|
|
599
|
+
provider?: Provider;
|
|
600
|
+
comment?: Comment | null;
|
|
601
|
+
acceptedAt?: string | null;
|
|
602
|
+
completedAt?: string | null;
|
|
603
|
+
transactions?: Transaction[] | object;
|
|
604
|
+
createdAt?: string;
|
|
605
|
+
updatedAt?: string | null;
|
|
606
|
+
userId: string;
|
|
607
|
+
walletId?: string | null;
|
|
608
|
+
bookingSettingId?: string | null;
|
|
609
|
+
placeId?: string | null;
|
|
610
|
+
providerId: string;
|
|
611
|
+
messages?: Message[] | object;
|
|
612
|
+
}
|
|
613
|
+
export interface ServiceSettingType {
|
|
614
|
+
id: string;
|
|
615
|
+
price: number | object;
|
|
616
|
+
discount?: number | object | null;
|
|
617
|
+
duration: string;
|
|
618
|
+
subCategoryKey: string;
|
|
619
|
+
title: string;
|
|
620
|
+
description?: string | null;
|
|
621
|
+
icon?: string | null;
|
|
622
|
+
}
|
|
623
|
+
export interface BookingSetting {
|
|
624
|
+
id?: string;
|
|
625
|
+
type: 'IN_PERSON' | 'REMOTE' | 'CHAT';
|
|
626
|
+
timeStep?: string | null;
|
|
627
|
+
minPrice?: number | object | null;
|
|
628
|
+
morningFromTime?: string | null;
|
|
629
|
+
morningToTime?: string | null;
|
|
630
|
+
noonFromTime?: string | null;
|
|
631
|
+
noonToTime?: string | null;
|
|
632
|
+
eveningFromTime?: string | null;
|
|
633
|
+
eveningToTime?: string | null;
|
|
634
|
+
place?: Place | null;
|
|
635
|
+
provider?: Provider | null;
|
|
636
|
+
activeDays: string[] | object;
|
|
637
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
638
|
+
createdAt?: string;
|
|
639
|
+
updatedAt?: string | null;
|
|
640
|
+
placeId?: string | null;
|
|
641
|
+
providerId?: string | null;
|
|
642
|
+
bookings?: Booking[] | object;
|
|
643
|
+
bookingServices?: BookingService[] | object;
|
|
644
|
+
}
|
|
645
|
+
export interface Place {
|
|
646
|
+
id?: string;
|
|
647
|
+
name: string;
|
|
648
|
+
bannerImage?: string | null;
|
|
649
|
+
avatar?: string | null;
|
|
650
|
+
description?: string | null;
|
|
651
|
+
address?: string | null;
|
|
652
|
+
location?: Location;
|
|
653
|
+
licenseImage?: string | null;
|
|
654
|
+
licenseNumber?: string | null;
|
|
655
|
+
phoneNumbers?: string[] | object;
|
|
656
|
+
images?: string[] | object;
|
|
657
|
+
authStatus?: 'PENDING' | 'AUTHORIZED' | 'REJECTED' | null;
|
|
658
|
+
city?: InputOption;
|
|
659
|
+
province?: InputOption;
|
|
660
|
+
area?: InputOption | null;
|
|
661
|
+
user?: User;
|
|
662
|
+
cityKey: string;
|
|
663
|
+
provinceKey: string;
|
|
664
|
+
areaKey?: string | null;
|
|
665
|
+
category?: InputOption;
|
|
666
|
+
categoryKey: string;
|
|
667
|
+
subCategoriesKey?: string[] | object;
|
|
668
|
+
createdAt?: string;
|
|
669
|
+
updatedAt?: string | null;
|
|
670
|
+
userId: string;
|
|
671
|
+
bookings?: Booking[] | object;
|
|
672
|
+
bookingSettings?: BookingSetting[] | object;
|
|
673
|
+
Comment?: Comment[] | object;
|
|
674
|
+
}
|
|
675
|
+
export interface BookingService {
|
|
676
|
+
id?: string;
|
|
677
|
+
bookingSetting?: BookingSetting;
|
|
678
|
+
serviceSetting?: ServiceSetting;
|
|
679
|
+
bookingSettingId: string;
|
|
680
|
+
serviceSettingId: string;
|
|
681
|
+
status?: 'PENDING' | 'ACTIVE' | 'ACCEPTED' | 'SUCCESS' | 'FAILED' | 'REJECTED' | 'DEACTIVE' | 'SETTLED' | null;
|
|
682
|
+
createdAt?: string;
|
|
683
|
+
updatedAt?: string | null;
|
|
684
|
+
}
|
|
685
|
+
export interface ServiceSetting {
|
|
686
|
+
id?: string;
|
|
687
|
+
subCategory?: InputOption;
|
|
688
|
+
description?: string | null;
|
|
689
|
+
price: number | object;
|
|
690
|
+
discount?: number | object | null;
|
|
691
|
+
duration: string;
|
|
692
|
+
user?: Provider;
|
|
693
|
+
subCategoryKey: string;
|
|
694
|
+
createdAt?: string;
|
|
695
|
+
updatedAt?: string | null;
|
|
696
|
+
providerId: string;
|
|
697
|
+
bookingServices?: BookingService[] | object;
|
|
698
|
+
}
|
|
699
|
+
export interface Setting {
|
|
700
|
+
id?: string;
|
|
701
|
+
routeName: string;
|
|
702
|
+
title?: string | null;
|
|
703
|
+
boldTitle?: string | null;
|
|
704
|
+
midText?: string | null;
|
|
705
|
+
lowerText?: string | null;
|
|
706
|
+
createdAt?: string;
|
|
707
|
+
updatedAt?: string | null;
|
|
708
|
+
}
|
|
709
|
+
export interface AppSetting {
|
|
710
|
+
id?: string;
|
|
711
|
+
noCourierPrice?: boolean | null;
|
|
712
|
+
courierPrice?: number | object | null;
|
|
713
|
+
courierPriceArea?: number | object | null;
|
|
714
|
+
courierLeadPhoneNumber?: string | null;
|
|
715
|
+
providerImage?: string | null;
|
|
716
|
+
invitePrize?: number | object | null;
|
|
717
|
+
createdAt?: string;
|
|
718
|
+
updatedAt?: string | null;
|
|
719
|
+
}
|
|
720
|
+
export interface Bookmark {
|
|
721
|
+
id?: string;
|
|
722
|
+
user?: User;
|
|
463
723
|
createdAt?: string | null;
|
|
464
724
|
updatedAt?: string | null;
|
|
725
|
+
userId: string;
|
|
726
|
+
provider?: Provider | null;
|
|
727
|
+
providerId?: string | null;
|
|
728
|
+
}
|
|
729
|
+
export interface Holiday {
|
|
730
|
+
id?: string;
|
|
731
|
+
from: string;
|
|
732
|
+
to: string;
|
|
733
|
+
provider?: Provider;
|
|
734
|
+
createdAt?: string;
|
|
735
|
+
updatedAt?: string | null;
|
|
736
|
+
providerId: string;
|
|
737
|
+
}
|
|
738
|
+
export interface Message {
|
|
739
|
+
id?: string;
|
|
740
|
+
text?: string | null;
|
|
741
|
+
file?: string | null;
|
|
742
|
+
image?: string | null;
|
|
743
|
+
location?: Location | null;
|
|
744
|
+
phone?: string | null;
|
|
745
|
+
key?: string | null;
|
|
746
|
+
booking?: Booking | null;
|
|
747
|
+
user?: User | null;
|
|
748
|
+
reply?: Message | null;
|
|
749
|
+
createdAt?: string | null;
|
|
750
|
+
updatedAt?: string | null;
|
|
751
|
+
userId?: string | null;
|
|
752
|
+
productId?: string | null;
|
|
753
|
+
replies?: Message[] | object;
|
|
754
|
+
messageId?: string | null;
|
|
755
|
+
bookingId?: string | null;
|
|
465
756
|
}
|