-
Notifications
You must be signed in to change notification settings - Fork 3
/
swagger-defintion.js
786 lines (753 loc) · 22.2 KB
/
swagger-defintion.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
const Success = {
message: '成功訊息',
};
const Error400 = {
message: '錯誤訊息',
};
const ErrorToken = {
status: 'false',
message: '你尚未登入',
error: {
name: '40300',
},
};
const Error404 = {
message: '外太空也找不到這個頁面',
};
const Error500 = {
message: '系統錯誤,請稍後再試',
};
const Sign = {
token: 'abcde',
_id: '123456789',
};
const RegisterEmailSuccess = {
status: 'success',
message: '請至 Email 查收信件',
};
const RegisterEmailError = {
message: '請稍後重試或聯絡管理員',
};
const ValidateEmailError = {
message: '信箱驗證失敗',
};
const getCategorySuccess = {
status: 'success',
data: [
{
name: '到府驅蟲',
template: '請填寫以下資訊:\n1. 蟲種:\n2. 家居面積:\n3. 服務時間:',
},
],
message: '取得成功',
};
const getPlanSuccess = {
status: 'success',
data: [
{
title: '一般曝光',
price: '20',
items: ['無理由修改', '極速退點', '刊登時間30天'],
},
],
message: '取得成功',
};
const getCompletedCasesSuccess = {
status: 'success',
data: [
{
status: '已完成',
title: '陪我家狗玩',
salary: 300,
createAt: '2023-01-30T04:34:56.000Z',
completedAt: '2022-02-23T00:19:50.000Z',
location: {
longitude: 121.53868,
latitude: 25.02697,
address: '臺北市松山區復興北路15號',
},
},
],
message: '取得成功',
};
const getSuperhandyReviewSuccess = {
status: 'success',
data: [
{
_id: '644fdf6b56c25a7e04b77197',
comment: '個人物品多 之前透過此平台搜尋到 此清潔整理員工作時都會注意細節 每次需要時依舊還是會想要主動聯繫此清潔整理員',
name: '翁',
avatar: '',
},
],
message: '取得成功',
};
const getTaskStatsSuccess = {
status: 'success',
data: {
totalPublished: 3,
totalCompleted: 2,
},
message: '取得成功',
};
const getExcellentHelpersSuccess = {
status: 'success',
data: [
{
lastName: '王',
avatar: 'https://i.imgur.com/1234567.jpg',
completedTasks: 130,
completionRate: 90,
rating: {
overall: 4.8,
categories: [
{
name: '到府驅蟲',
star: 4.9,
totalReviews: 50,
},
{
name: '寵物陪伴',
star: 4.7,
totalReviews: 39,
},
{
name: '排隊代購',
star: 4.5,
totalReviews: 30,
},
],
},
},
],
message: '取得成功',
};
const getPoints = {
status: 'success',
data: {
superCoin: 0,
helperCoin: 0,
},
message: '取得成功',
};
const getProfileStats = {
status: 'success',
data: {
superCoin: 0,
helperCoin: 0,
numOfPostTasks: 1,
numOfCompletedTasks: 3,
ratingPoster: 5,
ratingHelper: 4.67,
},
message: '取得成功',
};
const getProfileSuccess = {
status: 'success',
data: {
_id: '645905b344f899648941de61',
email: '[email protected]',
firstName: '文方',
lastName: '翁',
avatarPath: '',
nickname: '小文',
},
message: '查詢成功',
};
const getInfoFormSuccess = {
status: 'success',
data: {
email: '[email protected]',
firstName: '文方',
lastName: '翁',
phone: '0932345678',
avatarPath: '',
location: {
city: '臺北市',
dist: '中正區',
address: '中正區重慶南路一段122號',
},
posterIntro: '我是公正黨文宣部副主任兼黨部發言人。',
helperIntro: '',
helperSkills: [],
},
message: '查詢成功',
};
const updateInfoForm = {
status: 'success',
data: {
email: '[email protected]',
firstName: 'Erik',
lastName: 'Chen',
nickname: '小文',
phone: '0932345678',
address: '臺北市',
posterIntro: '我是海報人',
helperIntro: '我是幫手人',
helperSkills: ['人力派遣', '市場調查'],
updatedAt: '2023-05-08T14:37:43.829Z',
},
};
const draftTaskDetail = {
title: '任務標題',
category: '到府驅蟲',
description: '',
salary: 1000,
exposurePlan: '一般曝光',
imgUrls: ['https://example.com/image1.jpg', 'https://example.com/mage2.jpg'],
contactInfo: {
name: '王小明',
phone: '0912345678',
email: '[email protected]',
},
location: {
city: '臺北市',
dist: '信義區',
address: '臺北市信義區市府路45號',
},
};
const publishTaskDetail = {
title: '任務標題',
category: '到府驅蟲',
description: '任務描述',
taskTrans: {
superCoin: 1000,
helperCoin: 0,
},
salary: 1000,
exposurePlan: '一般曝光',
imgUrls: ['https://example.com/image1.jpg', 'https://example.com/mage2.jpg'],
contactInfo: {
name: '王小明',
phone: '0912345678',
email: '[email protected]',
},
location: {
city: '臺北市',
dist: '信義區',
address: '臺北市信義區市府路45號',
},
};
const getDraftResponse = {
status: 'success',
data: {
userId: '645f125ab001884876e3a12a',
status: 'draft',
title: '任務標題',
category: '到府驅蟲',
description: null,
salary: 1000,
exposurePlan: '一般曝光',
imgUrls: [],
contactInfo: {
name: '王小明',
phone: '0912345678',
email: '[email protected]',
},
location: {
city: '臺北市',
dist: '信義區',
address: '臺北市信義區市府路45號',
},
viewers: [],
viewerCount: 0,
isUrgent: false,
time: {
createdAt: '2023-05-16T05:21:26.144Z',
updatedAt: '2023-05-16T05:21:26.144Z',
},
reviews: [],
submittedInfo: { imgUrls: [] },
helpers: [],
taskId: '6460a24905b52c47e04f4f38',
},
message: '取得草稿成功',
};
const unpublishEditDetail = {
category: '到府驅蟲',
description: '這個任務非常困難',
imgUrls: ['https://example.com/image1.jpg', 'https://example.com/mage2.jpg'],
contactInfo: {
name: '王小明',
phone: '0912345678',
email: '[email protected]',
},
location: {
city: '臺北市',
dist: '信義區',
address: '臺北市信義區市府路45號',
},
};
const purchasePoints = {
status: 'success',
data: {
superCoin: 750,
helperCoin: 1050,
},
message: '購買成功',
};
const cashbackPoints = {
status: 'success',
data: {
superCoin: 450,
helperCoin: 1050,
},
message: '返還成功',
};
const getNotifyList = {
status: 'success',
data: {
notifyId: '6462e2fbcc60d505cc83de30',
userId: '646266a3d7d8ce5010f8c327',
tag: '案主通知',
read: true,
description: '您的任務:「陪我家狗玩 」幫手已提交驗收內容,請進行驗收',
taskId: '646266a3d7d8ce5010f8c334',
createdAt: '2022-02-17T05:55:56.000Z',
},
message: '取得通知成功',
};
const getTaskQuery = {
status: "success",
data: {
tasks: [
{
taskId: "648a7db8ecd4a693f8e551da",
createdAt: "2023-06-15T02:55:52.574Z",
publishedAt: "2023-06-15T02:55:52.574Z",
expiredAt: "2023-06-22T02:55:52.574Z",
updatedAt: "2023-06-15T02:55:52.574Z",
status: "媒合中",
title: "幫忙打王國之淚的Boss",
isUrgent: false,
salary: 500,
address: "臺北市信義區基隆路300號",
category: "人力派遣",
description: "Boss 好難打,急徵高手幫忙,不可以花我太多素材,意者私聊",
imgUrls: [
"https://storage.googleapis.com/superhandy.appspot.com/images/27cf2428-96dc-48ec-bb50-a14c59b44a5e.jpeg?GoogleAccessId=firebase-adminsdk-xlymb%40superhandy.iam.gserviceaccount.com&Expires=16756646400&Signature=Ev8Mgk1SCQ8CeLj47jlDNJ6M4PU0FJ8LcZk9TMvVPPkFo6KAyod%2B2q8zaV4Hyg7tpKiKKORYxRN0%2FdA7vPMBBzKINxJYpVxMHVg94HmPx1pG28VREk%2FvyHuLiBpHtIfG8gEXFeJbY7%2FJqtLW%2FQDbCK8kKTLwkPRXFlFiAtDl%2BW1KQTu2l%2Bv%2BLvBPpUGYYdR40Wcd%2FYs0tN%2F8kd%2BL7UkKg8iNy3AxPohVlakv5xmHM32VvXWJWoxQ3wuy4FVPZ%2Fpebz7uwkjht5c9YHWol5GddRK%2BPHs5IcpecUvMitIMy%2Fr4tRiouq2Xahv6NqAN317GmsSvxWdKYvxhemNgpbzPKA%3D%3D",
"https://storage.googleapis.com/superhandy.appspot.com/images/655c362d-9b8c-4e2f-b289-f75917177525.jpeg?GoogleAccessId=firebase-adminsdk-xlymb%40superhandy.iam.gserviceaccount.com&Expires=16756646400&Signature=kQz1YDHpwhIix8633VWCcYpssme3ldDH3TN5U9hM07Q2zzHy4LMwQEJ8akGegGpAv8vY%2BBGV4aYZ1hY4MiNWNHkafEwR7Wk8VYRMMYFcdeU7NRbv6U%2B5GUJKEFaZFs0xcajp1AJxsIYkuIc4JxqQZnBnhZH7jVBjnaMtWB%2B5WrNLcoRRpdzf64Ngf48KfCUoa7W8xAmTt51OblVX%2FzY1RxY9Q9v8n2PNBAn7Ge2JOLsCYQ%2B9QDMhkxhRefH9aXUkeEkZycstJWxEnm9rpKnmCpkpkrJeSmvw%2BdD42gFA5RVN8UVN%2Fag%2FS1AyRzR2M9RIXMAyVM1wtuX8fhAxRd1oFg%3D%3D",
"https://storage.googleapis.com/superhandy.appspot.com/images/5853640a-267a-4a0d-b3d8-30af4785643b.jpeg?GoogleAccessId=firebase-adminsdk-xlymb%40superhandy.iam.gserviceaccount.com&Expires=16756646400&Signature=oIRETi1rIiaNhZUPJTdfvT5CbCYiRjYkZFqIm4pr7L7k%2FkamWokiuN4u42JXW7ud%2Fr%2BotSbU%2BzXbpRt4g9JzZqbA4ax85JZyoSQRKWsyWrx3CI5fexnLlf1u9q8uE2VLAjQyyJqOJol6fcBrzuhAjh25jDyPBwriZiAIOo4pYmdPGfSV1S9jUBgFXqAtZHvA%2BfQtLBc3cyE6viGJv4L5n%2FaZfynMwTZAsb2%2F56bo1z2xJ8guEm4ItjN%2BPLKyZg%2BZENiFoCA5zJ7aihMn%2BzWaPYB1Qkb1RiJakW8xLjEmSvdlLjpl9WaloXwXVQUftjrxuD%2Bm4qvH4pfNy3UsBEWSNA%3D%3D"
],
viewerCount: 0,
helperCount: 3,
posterName: "翁文方",
contactName: "翁文方"
},
],
page: 1,
limit: 10,
total_pages: 1,
total_tasks: 6
},
message: "取得成功"
}
const getPostedTasksHist = {
status: 'success',
data: [
{
taskId: '646431446cac1cf0dd5acaee',
title: '陪我家狗玩',
isUrgent: true,
status: '已完成',
salary: 300,
address: '臺北市松山區復興北路15號',
createdAt: '2023-01-30T04:34:56.000Z',
publishedAt: '2022-02-15T05:34:56.000Z',
expiredAt: '2023-03-01T04:34:56.000Z',
helper: '張亞靜',
imgUrls: ['https://example.com/image1.jpg', 'https://example.com/mage2.jpg'],
},
],
message: '取得成功',
};
const getAppliedTasksHist = {
status: 'success',
data: [
{
taskId: '646431446cac1cf0dd5acaee',
title: '幫忙做畢業專題',
isUrgent: false,
status: '已完成',
helperStatus: '媒合成功',
salary: 300,
address: '臺北市松山區羅斯福路四段1號',
createdAt: '2023-01-30T04:34:56.000Z',
publishedAt: '2022-02-15T05:34:56.000Z',
expiredAt: '2023-03-01T04:34:56.000Z',
poster: '張亞靜',
imgUrls: ['https://example.com/image1.jpg', 'https://example.com/mage2.jpg'],
},
],
message: '取得成功',
};
const getTaskDetails = {
status: 'success',
data: {
taskId: '646431446cac1cf0dd5acaee',
role: '案主',
publishedAt: '2022-02-15T05:34:56.000Z',
expiredAt: "2023-03-15T02:55:52.574Z",
status: '已完成',
statusReason: '',
helper: '陳瑋宇',
poster: '翁文方',
progressBar: {
publishedAt: '2022-02-15T05:34:56.000Z',
inProgressAt: '2022-02-16T05:34:56.000Z',
submittedAt: '2022-02-17T05:55:56.000Z',
confirmedAt: '2022-02-19T11:15:50.000Z',
completedAt: '2022-02-23T00:19:50.000Z',
},
title: '陪我家狗玩',
isUrgent: true,
salary: 300,
exposurePlan: '黃金曝光',
location: {
city: '臺北市',
dist: '松山區',
address: '復興北路15號',
},
category: '寵物陪伴',
description: '我家有黃金獵犬,但我這禮拜很忙,請幫我 2/20 早上 8 點來歌唱大樓找我,並帶他去附近公園陪他散步',
imgUrls: ['https://example.com/dog.jpg'],
helpers: [
{
helperId: "648a7db8ecd4a693f8e551cd",
helperSkills: [
"居家服務",
"清潔外包"
],
status: "等待媒合中",
lastName: "翁",
completedTasks: 1,
completionRate: 100,
rating: {
overall: 4,
categories: [
{
name: "寵物陪伴",
star: 4,
totalReviews: 1
}
]
}
},
],
contactInfo: {
name: '翁文方',
phone: '0932345678',
email: '[email protected]',
},
submittedInfo: {
imgUrls: [],
},
},
message: '取得成功',
};
const uploadAcceptanceReq = {
submittedInfo: {
imgUrls: ['http://example.com/1.jpg'],
comment: '好多人好難排,但我拿到了',
},
};
const refuseAcceptanceReq = {
submittedInfo: {
imgUrls: ['http://example.com/1.jpg'],
comment: '你給的有瑕疵不能玩啊',
},
};
const findTaskDetails = {
status: 'success',
data: {
taskId: '646431446cac1cf0dd5acaee',
publishedAt: '2022-02-15T05:34:56.000Z',
status: '已完成',
progressBar: {
publishedAt: '2022-02-15T05:34:56.000Z',
inProgressAt: '2022-02-16T05:34:56.000Z',
submittedAt: '2022-02-17T05:55:56.000Z',
confirmedAt: '2022-02-19T11:15:50.000Z',
completedAt: '2022-02-23T00:19:50.000Z',
},
title: '陪我家狗玩',
isUrgent: true,
salary: 300,
address: '臺北市松山區復興北路15號',
category: '寵物陪伴',
description: '我家有黃金獵犬,但我這禮拜很忙,請幫我 2/20 早上 8 點來歌唱大樓找我,並帶他去附近公園陪他散步',
imgUrls: ['https://example.com/dog.jpg'],
viewerCount: 1,
posterInfo: {
lastName: '陳',
phone: '0919******',
email: '*****@********',
},
contactInfo: {
name: '陳瑋宇',
phone: '0919694069',
email: '',
},
relation: "poster"
},
message: '取得成功',
};
const findTaskListGeneral = {
status: 'success',
data: {
tasks: [
{
taskId: '645bec484ff0061f89e0b103',
publishedAt: '2023-05-10T19:11:04.653Z',
status: '媒合中',
title: '任務標題',
isUrgent: false,
salary: 1000,
address: '臺北市信義區',
category: '家事',
description: '任務描述',
imgUrls: '',
viewerCount: 0,
helperCount: 0,
posterName: '王**',
contactName: '王**',
},
],
page: 1,
limit: 6,
total_pages: 1,
total_tasks: 5,
},
message: '取得成功',
};
const findTaskListMap = {
status: 'success',
data: {
tasks: [
{
taskId: '645bec484ff0061f89e0b103',
publishedAt: '2023-05-10T19:11:04.653Z',
status: '媒合中',
title: '任務標題',
isUrgent: false,
salary: 1000,
address: '臺北市信義區',
category: '家事',
description: '任務描述',
location: {
city: '臺北市',
dist: '信義區',
address: '松智路17號',
longitude: 121.53868,
latitude: 25.02697,
landmark: '',
},
viewerCount: 0,
helperCount: 0,
posterName: '王**',
contactName: '王**',
},
],
total_tasks: 1,
longitude: 121.5720055,
latitude: 25.0409201,
},
message: '取得成功',
};
const findTaskListHighlight = {
status: 'success',
data: {
tasks: [
{
taskId: '645bec484ff0061f89e0b103',
title: '任務標題',
imgUrls: '',
},
],
},
message: '取得成功',
};
const ratingAndReviewReq = {
star: 4,
comment: '幫手表現超棒der',
};
const getCommentsHist = {
status: 'success',
data: [
{
yourStar: 5,
category: '寵物陪伴',
title: '陪我家狗玩',
address: '臺北市松山區復興北路15號',
salary: 300,
name: '陳瑋宇',
publishedAt: '2022-02-15T05:34:56.000Z',
confirmedAt: "2023-05-19T11:15:50.000Z",
helperReview: {
star: 5,
status: '已評價',
comment: '案主態度好,狗好很帶',
},
posterReview: {
star: 4,
status: '已評價',
comment: '早上八點有點遲到,讓我等了十分鐘',
},
taskId: '646c280234ecc5e9e7aef1ce',
},
],
message: '取得成功',
};
const getStarCounts = {
status: 'success',
data: {
1: 0,
2: 0,
3: 0,
4: 1,
5: 2,
null: 0,
avg: 4.67,
totalCount: 3,
},
message: '取得成功',
};
const uploadImage = {
status: 'success',
data: {
imgUrl: 'https://storage.googleapis.com',
},
message: '圖片上傳成功',
};
const paymentRequest = {
status: 'success',
data: {
redirectURL:
'https://sandbox-web-pay.line.me/web/payment/wait?transactionReserveId=b2VkZGFnZzk3MUo0a3dUY1VLeGs2QVFvalpvellOKzBnZWU1amRlSWlUUi8zSW40M21JelUwU29sQU5TOTRwQw',
orderId: '6472c92c0234f38138f4c23e-1685244464',
},
message: '建立 linepay 訂單成功',
};
const getChatRoomList = {
status: 'success',
data: {
taskId: '647a926ba395c8322f620164',
title: '任務標題',
selfRole: 'helper',
partnerRole: 'poster',
poster: {
firstName: '文芳',
lastName: '翁',
nickname: '小文',
avatarPath: 'https://storage.googleapis.com/images/231432424.jpg',
},
helper: {
firstName: '冠伶',
lastName: '都',
nickname: '滴妹',
avatarPath: 'https://storage.googleapis.com/images/231432425.jpg',
},
unreadCount: 0,
lastMessage: '最後一則訊息',
updatedAt: '2021-09-27T07:00:00.000Z',
},
message: '取得聊天室列表成功',
};
const getChatHistory = {
status: 'success',
data: {
taskId: '647a926ba395c8322f620164',
role: 'helper',
message: '罐頭訊息,罐頭罐頭...',
createdAt: '2021-09-27T07:00:00.000Z',
},
message: '取得聊天室歷史訊息成功',
};
const googleCallback = {
status: 'success',
data: {
oauth_register: true,
token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODAwOGYxMDc4ZmMxYWEyZDNlNjU3OSIsImlhdCI6MTY4NjExMzY5MSwiZXhwIjoxNjg2NzE4NDkxfQ.MzuEB6mU7VOVeTIx9In7EYKPKbIwimKZd1eN7bEC9UE',
userId: '648008f1078fc1aa2d3e6579',
nickname: '小明',
},
message: '第三方登入 - 取得google 資訊',
};
const googleSignUp = {
status: 'success',
data: {
token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY0ODAwOGYxMDc4ZmMxYWEyZDNlNjU3OSIsImlhdCI6MTY4NjExMzY5MSwiZXhwIjoxNjg2NzE4NDkxfQ.MzuEB6mU7VOVeTIx9In7EYKPKbIwimKZd1eN7bEC9UE',
userId: '648008f1078fc1aa2d3e6579',
},
message: '第三方登入 google - 註冊',
};
const getPointsHistory = {
status: 'success',
data: [
{
tag: '刊登任務',
taskId: '64869b36f50efe405623a154',
taskTitle: '需求短期家庭清潔工',
money: {
salary: 350,
exposurePlan: 50,
platform: 0,
superCoin: -350,
helperCoin: -50,
},
desc: ['預扣薪水', '黃金曝光'],
role: '案主',
createdAt: '2023-06-12T04:12:38.764Z',
},
],
message: '取得成功',
};
module.exports = {
Success,
Error400,
ErrorToken,
Error404,
Error500,
Sign,
RegisterEmailSuccess,
RegisterEmailError,
ValidateEmailError,
getCategorySuccess,
getPlanSuccess,
getCompletedCasesSuccess,
getSuperhandyReviewSuccess,
getTaskStatsSuccess,
getExcellentHelpersSuccess,
getPoints,
getProfileStats,
getProfileSuccess,
getInfoFormSuccess,
updateInfoForm,
draftTaskDetail,
publishTaskDetail,
getDraftResponse,
unpublishEditDetail,
purchasePoints,
cashbackPoints,
getNotifyList,
getTaskQuery,
getPostedTasksHist,
getAppliedTasksHist,
getTaskDetails,
uploadAcceptanceReq,
refuseAcceptanceReq,
findTaskDetails,
findTaskListGeneral,
findTaskListMap,
findTaskListHighlight,
ratingAndReviewReq,
getCommentsHist,
getStarCounts,
uploadImage,
paymentRequest,
getChatRoomList,
getChatHistory,
googleCallback,
googleSignUp,
getPointsHistory,
};