@r2wa-org/eden 0.0.111 → 0.0.113

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.
Files changed (58) hide show
  1. package/dist/admin/index.d.ts +1633 -3
  2. package/dist/auth/better-auth.d.ts +13 -1
  3. package/dist/auth/permissions.d.ts +11 -1
  4. package/dist/auth/roles.d.ts +30 -0
  5. package/dist/content-video/internal/service.d.ts +2 -2
  6. package/dist/db/schemas.d.ts +2 -0
  7. package/dist/deposit/user/router.d.ts +13 -1
  8. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  9. package/dist/file-storage/admin/router.d.ts +2 -2
  10. package/dist/file-storage/admin/service.d.ts +2 -2
  11. package/dist/file-storage/db.schemas.d.ts +4 -4
  12. package/dist/file-storage/internal/service.d.ts +1 -1
  13. package/dist/file-storage/s3.client.d.ts +12 -0
  14. package/dist/file-storage/schema.d.ts +3 -3
  15. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  16. package/dist/file-storage/share/router.d.ts +1 -1
  17. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  18. package/dist/file-storage/user/router.d.ts +3 -3
  19. package/dist/file-storage/user/service.d.ts +2 -2
  20. package/dist/index.d.ts +1853 -7
  21. package/dist/ledger/admin/router.d.ts +13 -1
  22. package/dist/live-stream-video/internal/service.d.ts +2 -2
  23. package/dist/meeting-check-in/admin/attendee-reward.dto.schemas.d.ts +269 -0
  24. package/dist/meeting-check-in/admin/attendee-reward.service.d.ts +470 -0
  25. package/dist/meeting-check-in/admin/import.dto.schemas.d.ts +660 -0
  26. package/dist/meeting-check-in/admin/import.router.d.ts +711 -0
  27. package/dist/meeting-check-in/admin/import.service.d.ts +101 -0
  28. package/dist/meeting-check-in/admin/referral-reward.dto.schemas.d.ts +269 -0
  29. package/dist/meeting-check-in/admin/referral-reward.service.d.ts +470 -0
  30. package/dist/meeting-check-in/admin/reward-response.schemas.d.ts +19 -0
  31. package/dist/meeting-check-in/admin/router.d.ts +4300 -0
  32. package/dist/meeting-check-in/constants.d.ts +4 -0
  33. package/dist/meeting-check-in/errors/index.d.ts +28 -0
  34. package/dist/meeting-check-in/errors/locales/zh.d.ts +27 -0
  35. package/dist/meeting-check-in/import.db.schemas.d.ts +1132 -0
  36. package/dist/meeting-check-in/import.schema.d.ts +589 -0
  37. package/dist/meeting-check-in/index.d.ts +18 -0
  38. package/dist/meeting-check-in/internal/check-in.service.d.ts +33 -0
  39. package/dist/meeting-check-in/internal/import.service.d.ts +22 -0
  40. package/dist/meeting-check-in/internal/reward-config.service.d.ts +127 -0
  41. package/dist/meeting-check-in/internal/reward.service.d.ts +72 -0
  42. package/dist/meeting-check-in/permissions.d.ts +5 -0
  43. package/dist/meeting-check-in/reward.db.schemas.d.ts +1656 -0
  44. package/dist/meeting-check-in/schema.d.ts +884 -0
  45. package/dist/meeting-check-in/user/check-in.dto.schemas.d.ts +337 -0
  46. package/dist/meeting-check-in/user/check-in.service.d.ts +31 -0
  47. package/dist/meeting-check-in/user/reward.dto.schemas.d.ts +136 -0
  48. package/dist/meeting-check-in/user/reward.service.d.ts +62 -0
  49. package/dist/meeting-check-in/user/router.d.ts +1596 -0
  50. package/dist/meeting-check-in/worker.d.ts +1 -0
  51. package/dist/news/admin/router.d.ts +1 -1
  52. package/dist/news/admin/service.d.ts +1 -1
  53. package/dist/news/user/service.d.ts +2 -2
  54. package/dist/server-test/index.d.ts +1 -13
  55. package/dist/team/milestone-reward/admin/reward.router.d.ts +1 -13
  56. package/dist/trade-market/admin/router.d.ts +1 -13
  57. package/dist/user-kyc/admin/router.d.ts +13 -1
  58. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -570,7 +570,7 @@ declare const app: Elysia<"/api", {
570
570
  body: {
571
571
  fileName: string;
572
572
  fileSize: number;
573
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
573
+ businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
574
574
  fileExtension?: string | undefined;
575
575
  mimeType?: string | undefined;
576
576
  businessId?: string | undefined;
@@ -9013,7 +9013,7 @@ declare const app: Elysia<"/api", {
9013
9013
  archivedAt: Date | null;
9014
9014
  businessId: string | null;
9015
9015
  businessMetadata: string | null;
9016
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
9016
+ businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
9017
9017
  createdAt: Date;
9018
9018
  deletedAt: Date | null;
9019
9019
  downloadCount: number | null;
@@ -10031,6 +10031,1636 @@ declare const app: Elysia<"/api", {
10031
10031
  };
10032
10032
  };
10033
10033
  };
10034
+ } & {
10035
+ admin: {
10036
+ meeting_check_ins: {
10037
+ "attendee-reward-plans": {};
10038
+ } & {
10039
+ "attendee-reward-plans": {
10040
+ get: {
10041
+ body: {};
10042
+ params: {};
10043
+ query: {};
10044
+ headers: {};
10045
+ response: {
10046
+ 200: {
10047
+ cashAsset: {
10048
+ id: string;
10049
+ code: string;
10050
+ name: string;
10051
+ symbol: string | null;
10052
+ precision: number;
10053
+ isActive: boolean;
10054
+ };
10055
+ cashAssetId: string;
10056
+ cashPayoutAccountType: {
10057
+ id: string;
10058
+ key: string;
10059
+ name: string;
10060
+ isActive: boolean;
10061
+ };
10062
+ cashPayoutAccountTypeId: string;
10063
+ coinAsset: {
10064
+ id: string;
10065
+ code: string;
10066
+ name: string;
10067
+ symbol: string | null;
10068
+ precision: number;
10069
+ isActive: boolean;
10070
+ };
10071
+ coinAssetId: string;
10072
+ coinPayoutAccountType: {
10073
+ id: string;
10074
+ key: string;
10075
+ name: string;
10076
+ isActive: boolean;
10077
+ };
10078
+ coinPayoutAccountTypeId: string;
10079
+ createdAt: Date;
10080
+ createdBy: string;
10081
+ creator: {
10082
+ id: string;
10083
+ name: string;
10084
+ email: string;
10085
+ } | null;
10086
+ id: string;
10087
+ isEnabled: boolean;
10088
+ name: string;
10089
+ sortOrder: number;
10090
+ tiers: {
10091
+ cashAmount: string;
10092
+ coinAmount: string;
10093
+ coinBonusAmount: string;
10094
+ consecutiveDay: number;
10095
+ createdAt: Date;
10096
+ createdBy: string;
10097
+ creator: {
10098
+ id: string;
10099
+ name: string;
10100
+ email: string;
10101
+ } | null;
10102
+ id: string;
10103
+ isEnabled: boolean;
10104
+ planId: string;
10105
+ sortOrder: number;
10106
+ updatedAt: Date;
10107
+ updatedBy: string | null;
10108
+ updater: {
10109
+ id: string;
10110
+ name: string;
10111
+ email: string;
10112
+ } | null;
10113
+ }[];
10114
+ updatedAt: Date;
10115
+ updatedBy: string | null;
10116
+ updater: {
10117
+ id: string;
10118
+ name: string;
10119
+ email: string;
10120
+ } | null;
10121
+ } | null;
10122
+ 401: "Unauthorized";
10123
+ 403: "Forbidden: Admins only";
10124
+ 422: {
10125
+ type: 'validation';
10126
+ on: string;
10127
+ summary?: string;
10128
+ message?: string;
10129
+ found?: unknown;
10130
+ property?: string;
10131
+ expected?: string;
10132
+ };
10133
+ };
10134
+ };
10135
+ };
10136
+ } & {
10137
+ "attendee-reward-plans": {
10138
+ post: {
10139
+ body: {
10140
+ cashAssetId: string;
10141
+ cashPayoutAccountTypeId: string;
10142
+ coinAssetId: string;
10143
+ coinPayoutAccountTypeId: string;
10144
+ isEnabled?: boolean | undefined;
10145
+ name: string;
10146
+ sortOrder?: number | undefined;
10147
+ tiers?: {
10148
+ cashAmount: string;
10149
+ coinAmount: string;
10150
+ coinBonusAmount?: string | undefined;
10151
+ consecutiveDay: number;
10152
+ isEnabled?: boolean | undefined;
10153
+ sortOrder?: number | undefined;
10154
+ }[] | undefined;
10155
+ };
10156
+ params: {};
10157
+ query: {};
10158
+ headers: {};
10159
+ response: {
10160
+ 200: {
10161
+ cashAsset: {
10162
+ id: string;
10163
+ code: string;
10164
+ name: string;
10165
+ symbol: string | null;
10166
+ precision: number;
10167
+ isActive: boolean;
10168
+ };
10169
+ cashAssetId: string;
10170
+ cashPayoutAccountType: {
10171
+ id: string;
10172
+ key: string;
10173
+ name: string;
10174
+ isActive: boolean;
10175
+ };
10176
+ cashPayoutAccountTypeId: string;
10177
+ coinAsset: {
10178
+ id: string;
10179
+ code: string;
10180
+ name: string;
10181
+ symbol: string | null;
10182
+ precision: number;
10183
+ isActive: boolean;
10184
+ };
10185
+ coinAssetId: string;
10186
+ coinPayoutAccountType: {
10187
+ id: string;
10188
+ key: string;
10189
+ name: string;
10190
+ isActive: boolean;
10191
+ };
10192
+ coinPayoutAccountTypeId: string;
10193
+ createdAt: Date;
10194
+ createdBy: string;
10195
+ creator: {
10196
+ id: string;
10197
+ name: string;
10198
+ email: string;
10199
+ } | null;
10200
+ id: string;
10201
+ isEnabled: boolean;
10202
+ name: string;
10203
+ sortOrder: number;
10204
+ tiers: {
10205
+ cashAmount: string;
10206
+ coinAmount: string;
10207
+ coinBonusAmount: string;
10208
+ consecutiveDay: number;
10209
+ createdAt: Date;
10210
+ createdBy: string;
10211
+ creator: {
10212
+ id: string;
10213
+ name: string;
10214
+ email: string;
10215
+ } | null;
10216
+ id: string;
10217
+ isEnabled: boolean;
10218
+ planId: string;
10219
+ sortOrder: number;
10220
+ updatedAt: Date;
10221
+ updatedBy: string | null;
10222
+ updater: {
10223
+ id: string;
10224
+ name: string;
10225
+ email: string;
10226
+ } | null;
10227
+ }[];
10228
+ updatedAt: Date;
10229
+ updatedBy: string | null;
10230
+ updater: {
10231
+ id: string;
10232
+ name: string;
10233
+ email: string;
10234
+ } | null;
10235
+ };
10236
+ 401: "Unauthorized";
10237
+ 403: "Forbidden: Admins only";
10238
+ 422: {
10239
+ type: 'validation';
10240
+ on: string;
10241
+ summary?: string;
10242
+ message?: string;
10243
+ found?: unknown;
10244
+ property?: string;
10245
+ expected?: string;
10246
+ };
10247
+ };
10248
+ };
10249
+ };
10250
+ } & {
10251
+ "attendee-reward-plans": {
10252
+ patch: {
10253
+ body: {
10254
+ cashAssetId?: string | undefined;
10255
+ cashPayoutAccountTypeId?: string | undefined;
10256
+ coinAssetId?: string | undefined;
10257
+ coinPayoutAccountTypeId?: string | undefined;
10258
+ isEnabled?: boolean | undefined;
10259
+ name?: string | undefined;
10260
+ sortOrder?: number | undefined;
10261
+ tiers?: ({
10262
+ cashAmount?: string | undefined;
10263
+ coinAmount?: string | undefined;
10264
+ coinBonusAmount?: string | undefined;
10265
+ consecutiveDay?: number | undefined;
10266
+ id: string;
10267
+ isEnabled?: boolean | undefined;
10268
+ sortOrder?: number | undefined;
10269
+ } | {
10270
+ cashAmount: string;
10271
+ coinAmount: string;
10272
+ coinBonusAmount?: string | undefined;
10273
+ consecutiveDay: number;
10274
+ isEnabled?: boolean | undefined;
10275
+ sortOrder?: number | undefined;
10276
+ })[] | undefined;
10277
+ };
10278
+ params: {};
10279
+ query: {};
10280
+ headers: {};
10281
+ response: {
10282
+ 200: {
10283
+ cashAsset: {
10284
+ id: string;
10285
+ code: string;
10286
+ name: string;
10287
+ symbol: string | null;
10288
+ precision: number;
10289
+ isActive: boolean;
10290
+ };
10291
+ cashAssetId: string;
10292
+ cashPayoutAccountType: {
10293
+ id: string;
10294
+ key: string;
10295
+ name: string;
10296
+ isActive: boolean;
10297
+ };
10298
+ cashPayoutAccountTypeId: string;
10299
+ coinAsset: {
10300
+ id: string;
10301
+ code: string;
10302
+ name: string;
10303
+ symbol: string | null;
10304
+ precision: number;
10305
+ isActive: boolean;
10306
+ };
10307
+ coinAssetId: string;
10308
+ coinPayoutAccountType: {
10309
+ id: string;
10310
+ key: string;
10311
+ name: string;
10312
+ isActive: boolean;
10313
+ };
10314
+ coinPayoutAccountTypeId: string;
10315
+ createdAt: Date;
10316
+ createdBy: string;
10317
+ creator: {
10318
+ id: string;
10319
+ name: string;
10320
+ email: string;
10321
+ } | null;
10322
+ id: string;
10323
+ isEnabled: boolean;
10324
+ name: string;
10325
+ sortOrder: number;
10326
+ tiers: {
10327
+ cashAmount: string;
10328
+ coinAmount: string;
10329
+ coinBonusAmount: string;
10330
+ consecutiveDay: number;
10331
+ createdAt: Date;
10332
+ createdBy: string;
10333
+ creator: {
10334
+ id: string;
10335
+ name: string;
10336
+ email: string;
10337
+ } | null;
10338
+ id: string;
10339
+ isEnabled: boolean;
10340
+ planId: string;
10341
+ sortOrder: number;
10342
+ updatedAt: Date;
10343
+ updatedBy: string | null;
10344
+ updater: {
10345
+ id: string;
10346
+ name: string;
10347
+ email: string;
10348
+ } | null;
10349
+ }[];
10350
+ updatedAt: Date;
10351
+ updatedBy: string | null;
10352
+ updater: {
10353
+ id: string;
10354
+ name: string;
10355
+ email: string;
10356
+ } | null;
10357
+ };
10358
+ 401: "Unauthorized";
10359
+ 403: "Forbidden: Admins only";
10360
+ 422: {
10361
+ type: 'validation';
10362
+ on: string;
10363
+ summary?: string;
10364
+ message?: string;
10365
+ found?: unknown;
10366
+ property?: string;
10367
+ expected?: string;
10368
+ };
10369
+ };
10370
+ };
10371
+ };
10372
+ } & {
10373
+ "attendee-reward-plans": {
10374
+ delete: {
10375
+ body: {};
10376
+ params: {};
10377
+ query: {};
10378
+ headers: {};
10379
+ response: {
10380
+ 200: {
10381
+ success: boolean;
10382
+ };
10383
+ 401: "Unauthorized";
10384
+ 403: "Forbidden: Admins only";
10385
+ 422: {
10386
+ type: 'validation';
10387
+ on: string;
10388
+ summary?: string;
10389
+ message?: string;
10390
+ found?: unknown;
10391
+ property?: string;
10392
+ expected?: string;
10393
+ };
10394
+ };
10395
+ };
10396
+ };
10397
+ } & {
10398
+ "attendee-reward-plans": {
10399
+ tiers: {
10400
+ post: {
10401
+ body: {
10402
+ cashAmount: string;
10403
+ coinAmount: string;
10404
+ coinBonusAmount?: string | undefined;
10405
+ consecutiveDay: number;
10406
+ isEnabled?: boolean | undefined;
10407
+ sortOrder?: number | undefined;
10408
+ };
10409
+ params: {};
10410
+ query: {};
10411
+ headers: {};
10412
+ response: {
10413
+ 200: {
10414
+ cashAsset: {
10415
+ id: string;
10416
+ code: string;
10417
+ name: string;
10418
+ symbol: string | null;
10419
+ precision: number;
10420
+ isActive: boolean;
10421
+ };
10422
+ cashAssetId: string;
10423
+ cashPayoutAccountType: {
10424
+ id: string;
10425
+ key: string;
10426
+ name: string;
10427
+ isActive: boolean;
10428
+ };
10429
+ cashPayoutAccountTypeId: string;
10430
+ coinAsset: {
10431
+ id: string;
10432
+ code: string;
10433
+ name: string;
10434
+ symbol: string | null;
10435
+ precision: number;
10436
+ isActive: boolean;
10437
+ };
10438
+ coinAssetId: string;
10439
+ coinPayoutAccountType: {
10440
+ id: string;
10441
+ key: string;
10442
+ name: string;
10443
+ isActive: boolean;
10444
+ };
10445
+ coinPayoutAccountTypeId: string;
10446
+ createdAt: Date;
10447
+ createdBy: string;
10448
+ creator: {
10449
+ id: string;
10450
+ name: string;
10451
+ email: string;
10452
+ } | null;
10453
+ id: string;
10454
+ isEnabled: boolean;
10455
+ name: string;
10456
+ sortOrder: number;
10457
+ tiers: {
10458
+ cashAmount: string;
10459
+ coinAmount: string;
10460
+ coinBonusAmount: string;
10461
+ consecutiveDay: number;
10462
+ createdAt: Date;
10463
+ createdBy: string;
10464
+ creator: {
10465
+ id: string;
10466
+ name: string;
10467
+ email: string;
10468
+ } | null;
10469
+ id: string;
10470
+ isEnabled: boolean;
10471
+ planId: string;
10472
+ sortOrder: number;
10473
+ updatedAt: Date;
10474
+ updatedBy: string | null;
10475
+ updater: {
10476
+ id: string;
10477
+ name: string;
10478
+ email: string;
10479
+ } | null;
10480
+ }[];
10481
+ updatedAt: Date;
10482
+ updatedBy: string | null;
10483
+ updater: {
10484
+ id: string;
10485
+ name: string;
10486
+ email: string;
10487
+ } | null;
10488
+ };
10489
+ 401: "Unauthorized";
10490
+ 403: "Forbidden: Admins only";
10491
+ 422: {
10492
+ type: 'validation';
10493
+ on: string;
10494
+ summary?: string;
10495
+ message?: string;
10496
+ found?: unknown;
10497
+ property?: string;
10498
+ expected?: string;
10499
+ };
10500
+ };
10501
+ };
10502
+ };
10503
+ };
10504
+ } & {
10505
+ "attendee-reward-plans": {
10506
+ tiers: {
10507
+ ":tierId": {
10508
+ patch: {
10509
+ body: {
10510
+ cashAmount?: string | undefined;
10511
+ coinAmount?: string | undefined;
10512
+ coinBonusAmount?: string | undefined;
10513
+ consecutiveDay?: number | undefined;
10514
+ isEnabled?: boolean | undefined;
10515
+ sortOrder?: number | undefined;
10516
+ };
10517
+ params: {
10518
+ tierId: string;
10519
+ };
10520
+ query: {};
10521
+ headers: {};
10522
+ response: {
10523
+ 200: {
10524
+ cashAsset: {
10525
+ id: string;
10526
+ code: string;
10527
+ name: string;
10528
+ symbol: string | null;
10529
+ precision: number;
10530
+ isActive: boolean;
10531
+ };
10532
+ cashAssetId: string;
10533
+ cashPayoutAccountType: {
10534
+ id: string;
10535
+ key: string;
10536
+ name: string;
10537
+ isActive: boolean;
10538
+ };
10539
+ cashPayoutAccountTypeId: string;
10540
+ coinAsset: {
10541
+ id: string;
10542
+ code: string;
10543
+ name: string;
10544
+ symbol: string | null;
10545
+ precision: number;
10546
+ isActive: boolean;
10547
+ };
10548
+ coinAssetId: string;
10549
+ coinPayoutAccountType: {
10550
+ id: string;
10551
+ key: string;
10552
+ name: string;
10553
+ isActive: boolean;
10554
+ };
10555
+ coinPayoutAccountTypeId: string;
10556
+ createdAt: Date;
10557
+ createdBy: string;
10558
+ creator: {
10559
+ id: string;
10560
+ name: string;
10561
+ email: string;
10562
+ } | null;
10563
+ id: string;
10564
+ isEnabled: boolean;
10565
+ name: string;
10566
+ sortOrder: number;
10567
+ tiers: {
10568
+ cashAmount: string;
10569
+ coinAmount: string;
10570
+ coinBonusAmount: string;
10571
+ consecutiveDay: number;
10572
+ createdAt: Date;
10573
+ createdBy: string;
10574
+ creator: {
10575
+ id: string;
10576
+ name: string;
10577
+ email: string;
10578
+ } | null;
10579
+ id: string;
10580
+ isEnabled: boolean;
10581
+ planId: string;
10582
+ sortOrder: number;
10583
+ updatedAt: Date;
10584
+ updatedBy: string | null;
10585
+ updater: {
10586
+ id: string;
10587
+ name: string;
10588
+ email: string;
10589
+ } | null;
10590
+ }[];
10591
+ updatedAt: Date;
10592
+ updatedBy: string | null;
10593
+ updater: {
10594
+ id: string;
10595
+ name: string;
10596
+ email: string;
10597
+ } | null;
10598
+ };
10599
+ 401: "Unauthorized";
10600
+ 403: "Forbidden: Admins only";
10601
+ 422: {
10602
+ type: 'validation';
10603
+ on: string;
10604
+ summary?: string;
10605
+ message?: string;
10606
+ found?: unknown;
10607
+ property?: string;
10608
+ expected?: string;
10609
+ };
10610
+ };
10611
+ };
10612
+ };
10613
+ };
10614
+ };
10615
+ } & {
10616
+ "attendee-reward-plans": {
10617
+ tiers: {
10618
+ ":tierId": {
10619
+ delete: {
10620
+ body: {};
10621
+ params: {
10622
+ tierId: string;
10623
+ };
10624
+ query: {};
10625
+ headers: {};
10626
+ response: {
10627
+ 200: {
10628
+ cashAsset: {
10629
+ id: string;
10630
+ code: string;
10631
+ name: string;
10632
+ symbol: string | null;
10633
+ precision: number;
10634
+ isActive: boolean;
10635
+ };
10636
+ cashAssetId: string;
10637
+ cashPayoutAccountType: {
10638
+ id: string;
10639
+ key: string;
10640
+ name: string;
10641
+ isActive: boolean;
10642
+ };
10643
+ cashPayoutAccountTypeId: string;
10644
+ coinAsset: {
10645
+ id: string;
10646
+ code: string;
10647
+ name: string;
10648
+ symbol: string | null;
10649
+ precision: number;
10650
+ isActive: boolean;
10651
+ };
10652
+ coinAssetId: string;
10653
+ coinPayoutAccountType: {
10654
+ id: string;
10655
+ key: string;
10656
+ name: string;
10657
+ isActive: boolean;
10658
+ };
10659
+ coinPayoutAccountTypeId: string;
10660
+ createdAt: Date;
10661
+ createdBy: string;
10662
+ creator: {
10663
+ id: string;
10664
+ name: string;
10665
+ email: string;
10666
+ } | null;
10667
+ id: string;
10668
+ isEnabled: boolean;
10669
+ name: string;
10670
+ sortOrder: number;
10671
+ tiers: {
10672
+ cashAmount: string;
10673
+ coinAmount: string;
10674
+ coinBonusAmount: string;
10675
+ consecutiveDay: number;
10676
+ createdAt: Date;
10677
+ createdBy: string;
10678
+ creator: {
10679
+ id: string;
10680
+ name: string;
10681
+ email: string;
10682
+ } | null;
10683
+ id: string;
10684
+ isEnabled: boolean;
10685
+ planId: string;
10686
+ sortOrder: number;
10687
+ updatedAt: Date;
10688
+ updatedBy: string | null;
10689
+ updater: {
10690
+ id: string;
10691
+ name: string;
10692
+ email: string;
10693
+ } | null;
10694
+ }[];
10695
+ updatedAt: Date;
10696
+ updatedBy: string | null;
10697
+ updater: {
10698
+ id: string;
10699
+ name: string;
10700
+ email: string;
10701
+ } | null;
10702
+ };
10703
+ 401: "Unauthorized";
10704
+ 403: "Forbidden: Admins only";
10705
+ 422: {
10706
+ type: 'validation';
10707
+ on: string;
10708
+ summary?: string;
10709
+ message?: string;
10710
+ found?: unknown;
10711
+ property?: string;
10712
+ expected?: string;
10713
+ };
10714
+ };
10715
+ };
10716
+ };
10717
+ };
10718
+ };
10719
+ };
10720
+ } & {
10721
+ meeting_check_ins: {
10722
+ "referral-reward-plans": {};
10723
+ } & {
10724
+ "referral-reward-plans": {
10725
+ get: {
10726
+ body: {};
10727
+ params: {};
10728
+ query: {};
10729
+ headers: {};
10730
+ response: {
10731
+ 200: {
10732
+ cashAsset: {
10733
+ id: string;
10734
+ code: string;
10735
+ name: string;
10736
+ symbol: string | null;
10737
+ precision: number;
10738
+ isActive: boolean;
10739
+ };
10740
+ cashAssetId: string;
10741
+ cashPayoutAccountType: {
10742
+ id: string;
10743
+ key: string;
10744
+ name: string;
10745
+ isActive: boolean;
10746
+ };
10747
+ cashPayoutAccountTypeId: string;
10748
+ coinAsset: {
10749
+ id: string;
10750
+ code: string;
10751
+ name: string;
10752
+ symbol: string | null;
10753
+ precision: number;
10754
+ isActive: boolean;
10755
+ };
10756
+ coinAssetId: string;
10757
+ coinPayoutAccountType: {
10758
+ id: string;
10759
+ key: string;
10760
+ name: string;
10761
+ isActive: boolean;
10762
+ };
10763
+ coinPayoutAccountTypeId: string;
10764
+ createdAt: Date;
10765
+ createdBy: string;
10766
+ creator: {
10767
+ id: string;
10768
+ name: string;
10769
+ email: string;
10770
+ } | null;
10771
+ id: string;
10772
+ isEnabled: boolean;
10773
+ name: string;
10774
+ sortOrder: number;
10775
+ tiers: {
10776
+ cashAmount: string;
10777
+ coinAmount: string;
10778
+ createdAt: Date;
10779
+ createdBy: string;
10780
+ creator: {
10781
+ id: string;
10782
+ name: string;
10783
+ email: string;
10784
+ } | null;
10785
+ id: string;
10786
+ isEnabled: boolean;
10787
+ planId: string;
10788
+ refereeMaxStreakDays: number | null;
10789
+ refereeMinStreakDays: number;
10790
+ sortOrder: number;
10791
+ updatedAt: Date;
10792
+ updatedBy: string | null;
10793
+ updater: {
10794
+ id: string;
10795
+ name: string;
10796
+ email: string;
10797
+ } | null;
10798
+ }[];
10799
+ updatedAt: Date;
10800
+ updatedBy: string | null;
10801
+ updater: {
10802
+ id: string;
10803
+ name: string;
10804
+ email: string;
10805
+ } | null;
10806
+ } | null;
10807
+ 401: "Unauthorized";
10808
+ 403: "Forbidden: Admins only";
10809
+ 422: {
10810
+ type: 'validation';
10811
+ on: string;
10812
+ summary?: string;
10813
+ message?: string;
10814
+ found?: unknown;
10815
+ property?: string;
10816
+ expected?: string;
10817
+ };
10818
+ };
10819
+ };
10820
+ };
10821
+ } & {
10822
+ "referral-reward-plans": {
10823
+ post: {
10824
+ body: {
10825
+ cashAssetId: string;
10826
+ cashPayoutAccountTypeId: string;
10827
+ coinAssetId: string;
10828
+ coinPayoutAccountTypeId: string;
10829
+ isEnabled?: boolean | undefined;
10830
+ name: string;
10831
+ sortOrder?: number | undefined;
10832
+ tiers?: {
10833
+ refereeMinStreakDays: number;
10834
+ refereeMaxStreakDays?: number | null | undefined;
10835
+ cashAmount: string;
10836
+ coinAmount: string;
10837
+ isEnabled?: boolean | undefined;
10838
+ sortOrder?: number | undefined;
10839
+ }[] | undefined;
10840
+ };
10841
+ params: {};
10842
+ query: {};
10843
+ headers: {};
10844
+ response: {
10845
+ 200: {
10846
+ cashAsset: {
10847
+ id: string;
10848
+ code: string;
10849
+ name: string;
10850
+ symbol: string | null;
10851
+ precision: number;
10852
+ isActive: boolean;
10853
+ };
10854
+ cashAssetId: string;
10855
+ cashPayoutAccountType: {
10856
+ id: string;
10857
+ key: string;
10858
+ name: string;
10859
+ isActive: boolean;
10860
+ };
10861
+ cashPayoutAccountTypeId: string;
10862
+ coinAsset: {
10863
+ id: string;
10864
+ code: string;
10865
+ name: string;
10866
+ symbol: string | null;
10867
+ precision: number;
10868
+ isActive: boolean;
10869
+ };
10870
+ coinAssetId: string;
10871
+ coinPayoutAccountType: {
10872
+ id: string;
10873
+ key: string;
10874
+ name: string;
10875
+ isActive: boolean;
10876
+ };
10877
+ coinPayoutAccountTypeId: string;
10878
+ createdAt: Date;
10879
+ createdBy: string;
10880
+ creator: {
10881
+ id: string;
10882
+ name: string;
10883
+ email: string;
10884
+ } | null;
10885
+ id: string;
10886
+ isEnabled: boolean;
10887
+ name: string;
10888
+ sortOrder: number;
10889
+ tiers: {
10890
+ cashAmount: string;
10891
+ coinAmount: string;
10892
+ createdAt: Date;
10893
+ createdBy: string;
10894
+ creator: {
10895
+ id: string;
10896
+ name: string;
10897
+ email: string;
10898
+ } | null;
10899
+ id: string;
10900
+ isEnabled: boolean;
10901
+ planId: string;
10902
+ refereeMaxStreakDays: number | null;
10903
+ refereeMinStreakDays: number;
10904
+ sortOrder: number;
10905
+ updatedAt: Date;
10906
+ updatedBy: string | null;
10907
+ updater: {
10908
+ id: string;
10909
+ name: string;
10910
+ email: string;
10911
+ } | null;
10912
+ }[];
10913
+ updatedAt: Date;
10914
+ updatedBy: string | null;
10915
+ updater: {
10916
+ id: string;
10917
+ name: string;
10918
+ email: string;
10919
+ } | null;
10920
+ };
10921
+ 401: "Unauthorized";
10922
+ 403: "Forbidden: Admins only";
10923
+ 422: {
10924
+ type: 'validation';
10925
+ on: string;
10926
+ summary?: string;
10927
+ message?: string;
10928
+ found?: unknown;
10929
+ property?: string;
10930
+ expected?: string;
10931
+ };
10932
+ };
10933
+ };
10934
+ };
10935
+ } & {
10936
+ "referral-reward-plans": {
10937
+ patch: {
10938
+ body: {
10939
+ cashAssetId?: string | undefined;
10940
+ cashPayoutAccountTypeId?: string | undefined;
10941
+ coinAssetId?: string | undefined;
10942
+ coinPayoutAccountTypeId?: string | undefined;
10943
+ isEnabled?: boolean | undefined;
10944
+ name?: string | undefined;
10945
+ sortOrder?: number | undefined;
10946
+ tiers?: ({
10947
+ cashAmount?: string | undefined;
10948
+ coinAmount?: string | undefined;
10949
+ id: string;
10950
+ isEnabled?: boolean | undefined;
10951
+ refereeMaxStreakDays?: number | null | undefined;
10952
+ refereeMinStreakDays?: number | undefined;
10953
+ sortOrder?: number | undefined;
10954
+ } | {
10955
+ refereeMinStreakDays: number;
10956
+ refereeMaxStreakDays?: number | null | undefined;
10957
+ cashAmount: string;
10958
+ coinAmount: string;
10959
+ isEnabled?: boolean | undefined;
10960
+ sortOrder?: number | undefined;
10961
+ })[] | undefined;
10962
+ };
10963
+ params: {};
10964
+ query: {};
10965
+ headers: {};
10966
+ response: {
10967
+ 200: {
10968
+ cashAsset: {
10969
+ id: string;
10970
+ code: string;
10971
+ name: string;
10972
+ symbol: string | null;
10973
+ precision: number;
10974
+ isActive: boolean;
10975
+ };
10976
+ cashAssetId: string;
10977
+ cashPayoutAccountType: {
10978
+ id: string;
10979
+ key: string;
10980
+ name: string;
10981
+ isActive: boolean;
10982
+ };
10983
+ cashPayoutAccountTypeId: string;
10984
+ coinAsset: {
10985
+ id: string;
10986
+ code: string;
10987
+ name: string;
10988
+ symbol: string | null;
10989
+ precision: number;
10990
+ isActive: boolean;
10991
+ };
10992
+ coinAssetId: string;
10993
+ coinPayoutAccountType: {
10994
+ id: string;
10995
+ key: string;
10996
+ name: string;
10997
+ isActive: boolean;
10998
+ };
10999
+ coinPayoutAccountTypeId: string;
11000
+ createdAt: Date;
11001
+ createdBy: string;
11002
+ creator: {
11003
+ id: string;
11004
+ name: string;
11005
+ email: string;
11006
+ } | null;
11007
+ id: string;
11008
+ isEnabled: boolean;
11009
+ name: string;
11010
+ sortOrder: number;
11011
+ tiers: {
11012
+ cashAmount: string;
11013
+ coinAmount: string;
11014
+ createdAt: Date;
11015
+ createdBy: string;
11016
+ creator: {
11017
+ id: string;
11018
+ name: string;
11019
+ email: string;
11020
+ } | null;
11021
+ id: string;
11022
+ isEnabled: boolean;
11023
+ planId: string;
11024
+ refereeMaxStreakDays: number | null;
11025
+ refereeMinStreakDays: number;
11026
+ sortOrder: number;
11027
+ updatedAt: Date;
11028
+ updatedBy: string | null;
11029
+ updater: {
11030
+ id: string;
11031
+ name: string;
11032
+ email: string;
11033
+ } | null;
11034
+ }[];
11035
+ updatedAt: Date;
11036
+ updatedBy: string | null;
11037
+ updater: {
11038
+ id: string;
11039
+ name: string;
11040
+ email: string;
11041
+ } | null;
11042
+ };
11043
+ 401: "Unauthorized";
11044
+ 403: "Forbidden: Admins only";
11045
+ 422: {
11046
+ type: 'validation';
11047
+ on: string;
11048
+ summary?: string;
11049
+ message?: string;
11050
+ found?: unknown;
11051
+ property?: string;
11052
+ expected?: string;
11053
+ };
11054
+ };
11055
+ };
11056
+ };
11057
+ } & {
11058
+ "referral-reward-plans": {
11059
+ delete: {
11060
+ body: {};
11061
+ params: {};
11062
+ query: {};
11063
+ headers: {};
11064
+ response: {
11065
+ 200: {
11066
+ success: boolean;
11067
+ };
11068
+ 401: "Unauthorized";
11069
+ 403: "Forbidden: Admins only";
11070
+ 422: {
11071
+ type: 'validation';
11072
+ on: string;
11073
+ summary?: string;
11074
+ message?: string;
11075
+ found?: unknown;
11076
+ property?: string;
11077
+ expected?: string;
11078
+ };
11079
+ };
11080
+ };
11081
+ };
11082
+ } & {
11083
+ "referral-reward-plans": {
11084
+ tiers: {
11085
+ post: {
11086
+ body: {
11087
+ refereeMinStreakDays: number;
11088
+ refereeMaxStreakDays?: number | null | undefined;
11089
+ cashAmount: string;
11090
+ coinAmount: string;
11091
+ isEnabled?: boolean | undefined;
11092
+ sortOrder?: number | undefined;
11093
+ };
11094
+ params: {};
11095
+ query: {};
11096
+ headers: {};
11097
+ response: {
11098
+ 200: {
11099
+ cashAsset: {
11100
+ id: string;
11101
+ code: string;
11102
+ name: string;
11103
+ symbol: string | null;
11104
+ precision: number;
11105
+ isActive: boolean;
11106
+ };
11107
+ cashAssetId: string;
11108
+ cashPayoutAccountType: {
11109
+ id: string;
11110
+ key: string;
11111
+ name: string;
11112
+ isActive: boolean;
11113
+ };
11114
+ cashPayoutAccountTypeId: string;
11115
+ coinAsset: {
11116
+ id: string;
11117
+ code: string;
11118
+ name: string;
11119
+ symbol: string | null;
11120
+ precision: number;
11121
+ isActive: boolean;
11122
+ };
11123
+ coinAssetId: string;
11124
+ coinPayoutAccountType: {
11125
+ id: string;
11126
+ key: string;
11127
+ name: string;
11128
+ isActive: boolean;
11129
+ };
11130
+ coinPayoutAccountTypeId: string;
11131
+ createdAt: Date;
11132
+ createdBy: string;
11133
+ creator: {
11134
+ id: string;
11135
+ name: string;
11136
+ email: string;
11137
+ } | null;
11138
+ id: string;
11139
+ isEnabled: boolean;
11140
+ name: string;
11141
+ sortOrder: number;
11142
+ tiers: {
11143
+ cashAmount: string;
11144
+ coinAmount: string;
11145
+ createdAt: Date;
11146
+ createdBy: string;
11147
+ creator: {
11148
+ id: string;
11149
+ name: string;
11150
+ email: string;
11151
+ } | null;
11152
+ id: string;
11153
+ isEnabled: boolean;
11154
+ planId: string;
11155
+ refereeMaxStreakDays: number | null;
11156
+ refereeMinStreakDays: number;
11157
+ sortOrder: number;
11158
+ updatedAt: Date;
11159
+ updatedBy: string | null;
11160
+ updater: {
11161
+ id: string;
11162
+ name: string;
11163
+ email: string;
11164
+ } | null;
11165
+ }[];
11166
+ updatedAt: Date;
11167
+ updatedBy: string | null;
11168
+ updater: {
11169
+ id: string;
11170
+ name: string;
11171
+ email: string;
11172
+ } | null;
11173
+ };
11174
+ 401: "Unauthorized";
11175
+ 403: "Forbidden: Admins only";
11176
+ 422: {
11177
+ type: 'validation';
11178
+ on: string;
11179
+ summary?: string;
11180
+ message?: string;
11181
+ found?: unknown;
11182
+ property?: string;
11183
+ expected?: string;
11184
+ };
11185
+ };
11186
+ };
11187
+ };
11188
+ };
11189
+ } & {
11190
+ "referral-reward-plans": {
11191
+ tiers: {
11192
+ ":tierId": {
11193
+ patch: {
11194
+ body: {
11195
+ refereeMinStreakDays?: number | undefined;
11196
+ refereeMaxStreakDays?: number | null | undefined;
11197
+ cashAmount?: string | undefined;
11198
+ coinAmount?: string | undefined;
11199
+ isEnabled?: boolean | undefined;
11200
+ sortOrder?: number | undefined;
11201
+ };
11202
+ params: {
11203
+ tierId: string;
11204
+ };
11205
+ query: {};
11206
+ headers: {};
11207
+ response: {
11208
+ 200: {
11209
+ cashAsset: {
11210
+ id: string;
11211
+ code: string;
11212
+ name: string;
11213
+ symbol: string | null;
11214
+ precision: number;
11215
+ isActive: boolean;
11216
+ };
11217
+ cashAssetId: string;
11218
+ cashPayoutAccountType: {
11219
+ id: string;
11220
+ key: string;
11221
+ name: string;
11222
+ isActive: boolean;
11223
+ };
11224
+ cashPayoutAccountTypeId: string;
11225
+ coinAsset: {
11226
+ id: string;
11227
+ code: string;
11228
+ name: string;
11229
+ symbol: string | null;
11230
+ precision: number;
11231
+ isActive: boolean;
11232
+ };
11233
+ coinAssetId: string;
11234
+ coinPayoutAccountType: {
11235
+ id: string;
11236
+ key: string;
11237
+ name: string;
11238
+ isActive: boolean;
11239
+ };
11240
+ coinPayoutAccountTypeId: string;
11241
+ createdAt: Date;
11242
+ createdBy: string;
11243
+ creator: {
11244
+ id: string;
11245
+ name: string;
11246
+ email: string;
11247
+ } | null;
11248
+ id: string;
11249
+ isEnabled: boolean;
11250
+ name: string;
11251
+ sortOrder: number;
11252
+ tiers: {
11253
+ cashAmount: string;
11254
+ coinAmount: string;
11255
+ createdAt: Date;
11256
+ createdBy: string;
11257
+ creator: {
11258
+ id: string;
11259
+ name: string;
11260
+ email: string;
11261
+ } | null;
11262
+ id: string;
11263
+ isEnabled: boolean;
11264
+ planId: string;
11265
+ refereeMaxStreakDays: number | null;
11266
+ refereeMinStreakDays: number;
11267
+ sortOrder: number;
11268
+ updatedAt: Date;
11269
+ updatedBy: string | null;
11270
+ updater: {
11271
+ id: string;
11272
+ name: string;
11273
+ email: string;
11274
+ } | null;
11275
+ }[];
11276
+ updatedAt: Date;
11277
+ updatedBy: string | null;
11278
+ updater: {
11279
+ id: string;
11280
+ name: string;
11281
+ email: string;
11282
+ } | null;
11283
+ };
11284
+ 401: "Unauthorized";
11285
+ 403: "Forbidden: Admins only";
11286
+ 422: {
11287
+ type: 'validation';
11288
+ on: string;
11289
+ summary?: string;
11290
+ message?: string;
11291
+ found?: unknown;
11292
+ property?: string;
11293
+ expected?: string;
11294
+ };
11295
+ };
11296
+ };
11297
+ };
11298
+ };
11299
+ };
11300
+ } & {
11301
+ "referral-reward-plans": {
11302
+ tiers: {
11303
+ ":tierId": {
11304
+ delete: {
11305
+ body: {};
11306
+ params: {
11307
+ tierId: string;
11308
+ };
11309
+ query: {};
11310
+ headers: {};
11311
+ response: {
11312
+ 200: {
11313
+ cashAsset: {
11314
+ id: string;
11315
+ code: string;
11316
+ name: string;
11317
+ symbol: string | null;
11318
+ precision: number;
11319
+ isActive: boolean;
11320
+ };
11321
+ cashAssetId: string;
11322
+ cashPayoutAccountType: {
11323
+ id: string;
11324
+ key: string;
11325
+ name: string;
11326
+ isActive: boolean;
11327
+ };
11328
+ cashPayoutAccountTypeId: string;
11329
+ coinAsset: {
11330
+ id: string;
11331
+ code: string;
11332
+ name: string;
11333
+ symbol: string | null;
11334
+ precision: number;
11335
+ isActive: boolean;
11336
+ };
11337
+ coinAssetId: string;
11338
+ coinPayoutAccountType: {
11339
+ id: string;
11340
+ key: string;
11341
+ name: string;
11342
+ isActive: boolean;
11343
+ };
11344
+ coinPayoutAccountTypeId: string;
11345
+ createdAt: Date;
11346
+ createdBy: string;
11347
+ creator: {
11348
+ id: string;
11349
+ name: string;
11350
+ email: string;
11351
+ } | null;
11352
+ id: string;
11353
+ isEnabled: boolean;
11354
+ name: string;
11355
+ sortOrder: number;
11356
+ tiers: {
11357
+ cashAmount: string;
11358
+ coinAmount: string;
11359
+ createdAt: Date;
11360
+ createdBy: string;
11361
+ creator: {
11362
+ id: string;
11363
+ name: string;
11364
+ email: string;
11365
+ } | null;
11366
+ id: string;
11367
+ isEnabled: boolean;
11368
+ planId: string;
11369
+ refereeMaxStreakDays: number | null;
11370
+ refereeMinStreakDays: number;
11371
+ sortOrder: number;
11372
+ updatedAt: Date;
11373
+ updatedBy: string | null;
11374
+ updater: {
11375
+ id: string;
11376
+ name: string;
11377
+ email: string;
11378
+ } | null;
11379
+ }[];
11380
+ updatedAt: Date;
11381
+ updatedBy: string | null;
11382
+ updater: {
11383
+ id: string;
11384
+ name: string;
11385
+ email: string;
11386
+ } | null;
11387
+ };
11388
+ 401: "Unauthorized";
11389
+ 403: "Forbidden: Admins only";
11390
+ 422: {
11391
+ type: 'validation';
11392
+ on: string;
11393
+ summary?: string;
11394
+ message?: string;
11395
+ found?: unknown;
11396
+ property?: string;
11397
+ expected?: string;
11398
+ };
11399
+ };
11400
+ };
11401
+ };
11402
+ };
11403
+ };
11404
+ };
11405
+ } & {
11406
+ meeting_check_ins: {
11407
+ imports: {};
11408
+ } & {
11409
+ imports: {
11410
+ jobs: {
11411
+ post: {
11412
+ body: {
11413
+ title: string;
11414
+ fileId: string;
11415
+ };
11416
+ params: {};
11417
+ query: {};
11418
+ headers: {};
11419
+ response: {
11420
+ 200: {
11421
+ createdAt: Date;
11422
+ updatedAt: Date;
11423
+ id: string;
11424
+ fileId: string;
11425
+ title: string;
11426
+ status: "failed" | "pending" | "running" | "success";
11427
+ total: number;
11428
+ processed: number;
11429
+ success: number;
11430
+ failed: number;
11431
+ ignored: number;
11432
+ error: string | null;
11433
+ createdBy: string;
11434
+ startedAt: Date | null;
11435
+ finishedAt: Date | null;
11436
+ };
11437
+ 401: "Unauthorized";
11438
+ 403: "Forbidden: Admins only";
11439
+ 422: {
11440
+ type: 'validation';
11441
+ on: string;
11442
+ summary?: string;
11443
+ message?: string;
11444
+ found?: unknown;
11445
+ property?: string;
11446
+ expected?: string;
11447
+ };
11448
+ };
11449
+ };
11450
+ };
11451
+ };
11452
+ } & {
11453
+ imports: {
11454
+ jobs: {
11455
+ get: {
11456
+ body: {};
11457
+ params: {};
11458
+ query: {
11459
+ limit?: number | undefined;
11460
+ offset?: number | undefined;
11461
+ pageSize?: number | undefined;
11462
+ pageIndex?: number | undefined;
11463
+ status?: "failed" | "pending" | "running" | "success" | undefined;
11464
+ title?: string | undefined;
11465
+ };
11466
+ headers: {};
11467
+ response: {
11468
+ 200: {
11469
+ data: {
11470
+ createdAt: Date;
11471
+ updatedAt: Date;
11472
+ id: string;
11473
+ fileId: string;
11474
+ title: string;
11475
+ status: "failed" | "pending" | "running" | "success";
11476
+ total: number;
11477
+ processed: number;
11478
+ success: number;
11479
+ failed: number;
11480
+ ignored: number;
11481
+ error: string | null;
11482
+ createdBy: string;
11483
+ startedAt: Date | null;
11484
+ finishedAt: Date | null;
11485
+ }[];
11486
+ pagination: {
11487
+ pageSize: number;
11488
+ pageIndex: number;
11489
+ total: number;
11490
+ totalPages: number;
11491
+ hasNextPage: boolean;
11492
+ };
11493
+ };
11494
+ 401: "Unauthorized";
11495
+ 403: "Forbidden: Admins only";
11496
+ 422: {
11497
+ type: 'validation';
11498
+ on: string;
11499
+ summary?: string;
11500
+ message?: string;
11501
+ found?: unknown;
11502
+ property?: string;
11503
+ expected?: string;
11504
+ };
11505
+ };
11506
+ };
11507
+ };
11508
+ };
11509
+ } & {
11510
+ imports: {
11511
+ jobs: {
11512
+ ":id": {
11513
+ get: {
11514
+ body: {};
11515
+ params: {
11516
+ id: string;
11517
+ };
11518
+ query: {};
11519
+ headers: {};
11520
+ response: {
11521
+ 200: {
11522
+ createdAt: Date;
11523
+ updatedAt: Date;
11524
+ id: string;
11525
+ fileId: string;
11526
+ title: string;
11527
+ status: "failed" | "pending" | "running" | "success";
11528
+ total: number;
11529
+ processed: number;
11530
+ success: number;
11531
+ failed: number;
11532
+ ignored: number;
11533
+ error: string | null;
11534
+ createdBy: string;
11535
+ startedAt: Date | null;
11536
+ finishedAt: Date | null;
11537
+ };
11538
+ 401: "Unauthorized";
11539
+ 403: "Forbidden: Admins only";
11540
+ 422: {
11541
+ type: 'validation';
11542
+ on: string;
11543
+ summary?: string;
11544
+ message?: string;
11545
+ found?: unknown;
11546
+ property?: string;
11547
+ expected?: string;
11548
+ };
11549
+ };
11550
+ };
11551
+ };
11552
+ };
11553
+ };
11554
+ } & {
11555
+ imports: {
11556
+ jobs: {
11557
+ ":id": {
11558
+ items: {
11559
+ get: {
11560
+ body: {};
11561
+ params: {
11562
+ id: string;
11563
+ };
11564
+ query: {
11565
+ limit?: number | undefined;
11566
+ offset?: number | undefined;
11567
+ pageSize?: number | undefined;
11568
+ pageIndex?: number | undefined;
11569
+ status?: "failed" | "ignored" | "success" | undefined;
11570
+ phoneNumber?: string | undefined;
11571
+ referrerName?: string | undefined;
11572
+ };
11573
+ headers: {};
11574
+ response: {
11575
+ 200: {
11576
+ data: {
11577
+ checkInAt: Date | null;
11578
+ checkInId: string | null;
11579
+ createdAt: Date;
11580
+ csvUserId: string | null;
11581
+ displayName: string | null;
11582
+ email: string | null;
11583
+ error: string | null;
11584
+ id: string;
11585
+ isIdempotent: boolean;
11586
+ jobId: string;
11587
+ phoneNumber: string | null;
11588
+ referrerMatchStatus: "ambiguous" | "empty" | "matched" | "not_found" | null;
11589
+ referrerName: string | null;
11590
+ referrerUser: {
11591
+ id?: string | undefined;
11592
+ name?: string | undefined;
11593
+ username?: string | null | undefined;
11594
+ displayUsername?: string | null | undefined;
11595
+ email?: string | undefined;
11596
+ phoneNumber?: string | null | undefined;
11597
+ };
11598
+ referrerUserId: string | null;
11599
+ rowNumber: number;
11600
+ status: "failed" | "ignored" | "success";
11601
+ updatedAt: Date;
11602
+ user?: {
11603
+ id: string;
11604
+ name: string;
11605
+ username: string | null;
11606
+ displayUsername: string | null;
11607
+ email: string;
11608
+ phoneNumber: string | null;
11609
+ } | undefined;
11610
+ userId: string | null;
11611
+ }[];
11612
+ pagination: {
11613
+ pageSize: number;
11614
+ pageIndex: number;
11615
+ total: number;
11616
+ totalPages: number;
11617
+ hasNextPage: boolean;
11618
+ };
11619
+ };
11620
+ 401: "Unauthorized";
11621
+ 403: "Forbidden: Admins only";
11622
+ 422: {
11623
+ type: 'validation';
11624
+ on: string;
11625
+ summary?: string;
11626
+ message?: string;
11627
+ found?: unknown;
11628
+ property?: string;
11629
+ expected?: string;
11630
+ };
11631
+ };
11632
+ };
11633
+ };
11634
+ };
11635
+ };
11636
+ };
11637
+ } & {
11638
+ imports: {
11639
+ template: {
11640
+ get: {
11641
+ body: {};
11642
+ params: {};
11643
+ query: {};
11644
+ headers: {};
11645
+ response: {
11646
+ 200: ArrayBuffer;
11647
+ 401: "Unauthorized";
11648
+ 403: "Forbidden: Admins only";
11649
+ 422: {
11650
+ type: 'validation';
11651
+ on: string;
11652
+ summary?: string;
11653
+ message?: string;
11654
+ found?: unknown;
11655
+ property?: string;
11656
+ expected?: string;
11657
+ };
11658
+ };
11659
+ };
11660
+ };
11661
+ };
11662
+ };
11663
+ };
10034
11664
  } & {
10035
11665
  admin: {
10036
11666
  operations_overview: {};
@@ -10439,7 +12069,7 @@ declare const app: Elysia<"/api", {
10439
12069
  offset?: number | undefined;
10440
12070
  pageSize?: number | undefined;
10441
12071
  pageIndex?: number | undefined;
10442
- businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
12072
+ businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
10443
12073
  businessId?: string | undefined;
10444
12074
  status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
10445
12075
  accessControl?: "private" | "public" | "restricted" | null | undefined;
@@ -10453,7 +12083,7 @@ declare const app: Elysia<"/api", {
10453
12083
  archivedAt: Date | null;
10454
12084
  businessId: string | null;
10455
12085
  businessMetadata: string | null;
10456
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
12086
+ businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
10457
12087
  createdAt: Date;
10458
12088
  deletedAt: Date | null;
10459
12089
  downloadCount: number | null;
@@ -15901,6 +17531,222 @@ declare const app: Elysia<"/api", {
15901
17531
  };
15902
17532
  };
15903
17533
  };
17534
+ } & {
17535
+ api: {
17536
+ meetingCheckIns: {};
17537
+ } & {
17538
+ meetingCheckIns: {
17539
+ summary: {
17540
+ get: {
17541
+ body: {};
17542
+ params: {};
17543
+ query: {};
17544
+ headers: {};
17545
+ response: {
17546
+ 200: {
17547
+ totalDays: number;
17548
+ currentStreakDays: number;
17549
+ checkedInToday: boolean;
17550
+ };
17551
+ 401: "Unauthorized";
17552
+ 422: {
17553
+ type: 'validation';
17554
+ on: string;
17555
+ summary?: string;
17556
+ message?: string;
17557
+ found?: unknown;
17558
+ property?: string;
17559
+ expected?: string;
17560
+ };
17561
+ };
17562
+ };
17563
+ };
17564
+ };
17565
+ } & {
17566
+ meetingCheckIns: {
17567
+ today: {
17568
+ get: {
17569
+ body: {};
17570
+ params: {};
17571
+ query: {};
17572
+ headers: {};
17573
+ response: {
17574
+ 200: {
17575
+ checkedInToday: boolean;
17576
+ };
17577
+ 401: "Unauthorized";
17578
+ 422: {
17579
+ type: 'validation';
17580
+ on: string;
17581
+ summary?: string;
17582
+ message?: string;
17583
+ found?: unknown;
17584
+ property?: string;
17585
+ expected?: string;
17586
+ };
17587
+ };
17588
+ };
17589
+ };
17590
+ };
17591
+ } & {
17592
+ meetingCheckIns: {
17593
+ get: {
17594
+ body: {};
17595
+ params: {};
17596
+ query: {
17597
+ endDate?: Date | undefined;
17598
+ limit?: number | undefined;
17599
+ offset?: number | undefined;
17600
+ pageIndex?: number | undefined;
17601
+ pageSize?: number | undefined;
17602
+ startDate?: Date | undefined;
17603
+ };
17604
+ headers: {};
17605
+ response: {
17606
+ 200: {
17607
+ data: {
17608
+ createdAt: Date;
17609
+ updatedAt: Date;
17610
+ id: string;
17611
+ userId: string;
17612
+ checkInType: "app" | "meeting";
17613
+ checkInAt: Date;
17614
+ checkInTimezone: string;
17615
+ checkInOffsetMinutes: number | null;
17616
+ checkInLocalDate: string;
17617
+ }[];
17618
+ pagination: {
17619
+ pageSize: number;
17620
+ pageIndex: number;
17621
+ total: number;
17622
+ totalPages: number;
17623
+ hasNextPage: boolean;
17624
+ };
17625
+ };
17626
+ 401: "Unauthorized";
17627
+ 422: {
17628
+ type: 'validation';
17629
+ on: string;
17630
+ summary?: string;
17631
+ message?: string;
17632
+ found?: unknown;
17633
+ property?: string;
17634
+ expected?: string;
17635
+ };
17636
+ };
17637
+ };
17638
+ };
17639
+ } & {
17640
+ meetingCheckIns: {
17641
+ "attendee-reward-plans": {};
17642
+ } & {
17643
+ "attendee-reward-plans": {
17644
+ get: {
17645
+ body: {};
17646
+ params: {};
17647
+ query: {};
17648
+ headers: {};
17649
+ response: {
17650
+ 200: {
17651
+ id: string;
17652
+ name: string;
17653
+ cashAsset: {
17654
+ id: string;
17655
+ code: string;
17656
+ name: string;
17657
+ iconUrl: string;
17658
+ symbol: string | null;
17659
+ precision: number;
17660
+ isActive: boolean;
17661
+ };
17662
+ coinAsset: {
17663
+ id: string;
17664
+ code: string;
17665
+ name: string;
17666
+ iconUrl: string;
17667
+ symbol: string | null;
17668
+ precision: number;
17669
+ isActive: boolean;
17670
+ };
17671
+ tiers: {
17672
+ id: string;
17673
+ consecutiveDay: number;
17674
+ cashAmount: string;
17675
+ coinAmount: string;
17676
+ coinBonusAmount: string;
17677
+ sortOrder: number;
17678
+ }[];
17679
+ } | null;
17680
+ 401: "Unauthorized";
17681
+ 422: {
17682
+ type: 'validation';
17683
+ on: string;
17684
+ summary?: string;
17685
+ message?: string;
17686
+ found?: unknown;
17687
+ property?: string;
17688
+ expected?: string;
17689
+ };
17690
+ };
17691
+ };
17692
+ };
17693
+ };
17694
+ } & {
17695
+ meetingCheckIns: {
17696
+ "referral-reward-plans": {};
17697
+ } & {
17698
+ "referral-reward-plans": {
17699
+ get: {
17700
+ body: {};
17701
+ params: {};
17702
+ query: {};
17703
+ headers: {};
17704
+ response: {
17705
+ 200: {
17706
+ id: string;
17707
+ name: string;
17708
+ cashAsset: {
17709
+ id: string;
17710
+ code: string;
17711
+ name: string;
17712
+ iconUrl: string;
17713
+ symbol: string | null;
17714
+ precision: number;
17715
+ isActive: boolean;
17716
+ };
17717
+ coinAsset: {
17718
+ id: string;
17719
+ code: string;
17720
+ name: string;
17721
+ iconUrl: string;
17722
+ symbol: string | null;
17723
+ precision: number;
17724
+ isActive: boolean;
17725
+ };
17726
+ tiers: {
17727
+ id: string;
17728
+ refereeMinStreakDays: number;
17729
+ refereeMaxStreakDays: number | null;
17730
+ cashAmount: string;
17731
+ coinAmount: string;
17732
+ sortOrder: number;
17733
+ }[];
17734
+ } | null;
17735
+ 401: "Unauthorized";
17736
+ 422: {
17737
+ type: 'validation';
17738
+ on: string;
17739
+ summary?: string;
17740
+ message?: string;
17741
+ found?: unknown;
17742
+ property?: string;
17743
+ expected?: string;
17744
+ };
17745
+ };
17746
+ };
17747
+ };
17748
+ };
17749
+ };
15904
17750
  } & {
15905
17751
  api: {
15906
17752
  ledger_account_transfer: {};
@@ -18783,7 +20629,7 @@ declare const app: Elysia<"/api", {
18783
20629
  offset?: number | undefined;
18784
20630
  pageSize?: number | undefined;
18785
20631
  pageIndex?: number | undefined;
18786
- businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
20632
+ businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
18787
20633
  businessId?: string | undefined;
18788
20634
  status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
18789
20635
  accessControl?: "private" | "public" | "restricted" | null | undefined;
@@ -18806,7 +20652,7 @@ declare const app: Elysia<"/api", {
18806
20652
  s3Key: string;
18807
20653
  s3Region: string;
18808
20654
  s3ETag: string | null;
18809
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
20655
+ businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
18810
20656
  businessId: string | null;
18811
20657
  businessMetadata: string | null;
18812
20658
  ownerId: string;
@@ -18871,7 +20717,7 @@ declare const app: Elysia<"/api", {
18871
20717
  s3Key: string;
18872
20718
  s3Region: string;
18873
20719
  s3ETag: string | null;
18874
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
20720
+ businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
18875
20721
  businessId: string | null;
18876
20722
  businessMetadata: string | null;
18877
20723
  ownerId: string;