@r2wa-org/eden 0.0.110 → 0.0.112

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 (53) hide show
  1. package/dist/admin/index.d.ts +1783 -3
  2. package/dist/asset/admin/router.d.ts +1 -13
  3. package/dist/asset-price/user/router.d.ts +13 -1
  4. package/dist/auth/better-auth.d.ts +13 -1
  5. package/dist/auth/permissions.d.ts +11 -1
  6. package/dist/auth/roles.d.ts +30 -0
  7. package/dist/content-video/internal/service.d.ts +2 -2
  8. package/dist/db/schemas.d.ts +2 -0
  9. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  10. package/dist/file-storage/admin/router.d.ts +2 -2
  11. package/dist/file-storage/admin/service.d.ts +2 -2
  12. package/dist/file-storage/db.schemas.d.ts +4 -4
  13. package/dist/file-storage/internal/service.d.ts +1 -1
  14. package/dist/file-storage/s3.client.d.ts +22 -0
  15. package/dist/file-storage/schema.d.ts +3 -3
  16. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  17. package/dist/file-storage/share/router.d.ts +1 -1
  18. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  19. package/dist/file-storage/user/router.d.ts +3 -3
  20. package/dist/file-storage/user/service.d.ts +2 -2
  21. package/dist/index.d.ts +1873 -7
  22. package/dist/live-stream-video/admin/dto.schemas.d.ts +128 -0
  23. package/dist/live-stream-video/admin/router.d.ts +861 -0
  24. package/dist/live-stream-video/admin/service.d.ts +211 -0
  25. package/dist/live-stream-video/db.schemas.d.ts +486 -0
  26. package/dist/live-stream-video/errors/index.d.ts +17 -0
  27. package/dist/live-stream-video/errors/locales/zh.d.ts +16 -0
  28. package/dist/live-stream-video/index.d.ts +8 -0
  29. package/dist/live-stream-video/internal/service.d.ts +108 -0
  30. package/dist/live-stream-video/permissions.d.ts +4 -0
  31. package/dist/live-stream-video/schema.d.ts +257 -0
  32. package/dist/live-stream-video/user/dto.schemas.d.ts +52 -0
  33. package/dist/live-stream-video/user/router.d.ts +482 -0
  34. package/dist/live-stream-video/user/service.d.ts +36 -0
  35. package/dist/meeting-check-in/admin/attendee-reward.dto.schemas.d.ts +269 -0
  36. package/dist/meeting-check-in/admin/attendee-reward.service.d.ts +470 -0
  37. package/dist/meeting-check-in/admin/referral-reward.dto.schemas.d.ts +269 -0
  38. package/dist/meeting-check-in/admin/referral-reward.service.d.ts +470 -0
  39. package/dist/meeting-check-in/admin/reward-response.schemas.d.ts +19 -0
  40. package/dist/meeting-check-in/admin/router.d.ts +4054 -0
  41. package/dist/meeting-check-in/errors/index.d.ts +22 -0
  42. package/dist/meeting-check-in/errors/locales/zh.d.ts +21 -0
  43. package/dist/meeting-check-in/internal/reward-config.service.d.ts +127 -0
  44. package/dist/meeting-check-in/permissions.d.ts +4 -0
  45. package/dist/meeting-check-in/reward.db.schemas.d.ts +1656 -0
  46. package/dist/meeting-check-in/schema.d.ts +884 -0
  47. package/dist/news/admin/router.d.ts +1 -1
  48. package/dist/news/admin/service.d.ts +1 -1
  49. package/dist/news/user/router.d.ts +1 -13
  50. package/dist/news/user/service.d.ts +2 -2
  51. package/dist/trade-market/user/router.d.ts +13 -1
  52. package/dist/transfer/user/router.d.ts +1 -13
  53. package/package.json +1 -1
@@ -8690,7 +8690,7 @@ export declare const adminRouter: Elysia<"/admin", {
8690
8690
  archivedAt: Date | null;
8691
8691
  businessId: string | null;
8692
8692
  businessMetadata: string | null;
8693
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
8693
+ 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";
8694
8694
  createdAt: Date;
8695
8695
  deletedAt: Date | null;
8696
8696
  downloadCount: number | null;
@@ -9300,6 +9300,1786 @@ export declare const adminRouter: Elysia<"/admin", {
9300
9300
  };
9301
9301
  };
9302
9302
  };
9303
+ } & {
9304
+ admin: {
9305
+ live_stream_videos: {};
9306
+ } & {
9307
+ live_stream_videos: {
9308
+ post: {
9309
+ body: {
9310
+ coverFileId?: string | undefined;
9311
+ description?: string | null | undefined;
9312
+ durationSeconds?: number | null | undefined;
9313
+ isEnabled?: boolean | undefined;
9314
+ publishedAt?: string | Date | null | undefined;
9315
+ sortOrder?: number | undefined;
9316
+ status?: "archived" | "draft" | "published" | undefined;
9317
+ title: string;
9318
+ videoFileId: string;
9319
+ };
9320
+ params: {};
9321
+ query: {};
9322
+ headers: {};
9323
+ response: {
9324
+ 200: {
9325
+ coverFile?: {
9326
+ id: string;
9327
+ fileName: string | null;
9328
+ mimeType: string | null;
9329
+ fileSize: number | null;
9330
+ publicUrl: string | null;
9331
+ } | undefined;
9332
+ coverFileId: string | null;
9333
+ coverUrl?: string | undefined;
9334
+ createdAt: Date;
9335
+ createdBy: string;
9336
+ description: string | null;
9337
+ durationSeconds: number | null;
9338
+ id: string;
9339
+ isEnabled: boolean;
9340
+ publishedAt: Date | null;
9341
+ sortOrder: number;
9342
+ status: "archived" | "draft" | "published";
9343
+ title: string;
9344
+ updatedAt: Date;
9345
+ videoFile?: {
9346
+ id: string;
9347
+ fileName: string | null;
9348
+ mimeType: string | null;
9349
+ fileSize: number | null;
9350
+ publicUrl: string | null;
9351
+ } | undefined;
9352
+ videoFileId: string;
9353
+ videoUrl?: string | undefined;
9354
+ };
9355
+ 401: "Unauthorized";
9356
+ 403: "Forbidden: Admins only";
9357
+ 422: {
9358
+ type: 'validation';
9359
+ on: string;
9360
+ summary?: string;
9361
+ message?: string;
9362
+ found?: unknown;
9363
+ property?: string;
9364
+ expected?: string;
9365
+ };
9366
+ };
9367
+ };
9368
+ };
9369
+ } & {
9370
+ live_stream_videos: {
9371
+ get: {
9372
+ body: {};
9373
+ params: {};
9374
+ query: {
9375
+ isEnabled?: boolean | undefined;
9376
+ keyword?: string | undefined;
9377
+ limit?: number | undefined;
9378
+ offset?: number | undefined;
9379
+ pageIndex?: number | undefined;
9380
+ pageSize?: number | undefined;
9381
+ status?: "archived" | "draft" | "published" | undefined;
9382
+ };
9383
+ headers: {};
9384
+ response: {
9385
+ 200: {
9386
+ data: {
9387
+ coverFile?: {
9388
+ id: string;
9389
+ fileName: string | null;
9390
+ mimeType: string | null;
9391
+ fileSize: number | null;
9392
+ publicUrl: string | null;
9393
+ } | undefined;
9394
+ coverFileId: string | null;
9395
+ coverUrl?: string | undefined;
9396
+ createdAt: Date;
9397
+ createdBy: string;
9398
+ description: string | null;
9399
+ durationSeconds: number | null;
9400
+ id: string;
9401
+ isEnabled: boolean;
9402
+ publishedAt: Date | null;
9403
+ sortOrder: number;
9404
+ status: "archived" | "draft" | "published";
9405
+ title: string;
9406
+ updatedAt: Date;
9407
+ videoFile?: {
9408
+ id: string;
9409
+ fileName: string | null;
9410
+ mimeType: string | null;
9411
+ fileSize: number | null;
9412
+ publicUrl: string | null;
9413
+ } | undefined;
9414
+ videoFileId: string;
9415
+ videoUrl?: string | undefined;
9416
+ }[];
9417
+ pagination: {
9418
+ pageSize: number;
9419
+ pageIndex: number;
9420
+ total: number;
9421
+ totalPages: number;
9422
+ hasNextPage: boolean;
9423
+ };
9424
+ };
9425
+ 401: "Unauthorized";
9426
+ 403: "Forbidden: Admins only";
9427
+ 422: {
9428
+ type: 'validation';
9429
+ on: string;
9430
+ summary?: string;
9431
+ message?: string;
9432
+ found?: unknown;
9433
+ property?: string;
9434
+ expected?: string;
9435
+ };
9436
+ };
9437
+ };
9438
+ };
9439
+ } & {
9440
+ live_stream_videos: {
9441
+ ":id": {
9442
+ get: {
9443
+ body: {};
9444
+ params: {
9445
+ id: string;
9446
+ };
9447
+ query: {};
9448
+ headers: {};
9449
+ response: {
9450
+ 200: {
9451
+ coverFile?: {
9452
+ id: string;
9453
+ fileName: string | null;
9454
+ mimeType: string | null;
9455
+ fileSize: number | null;
9456
+ publicUrl: string | null;
9457
+ } | undefined;
9458
+ coverFileId: string | null;
9459
+ coverUrl?: string | undefined;
9460
+ createdAt: Date;
9461
+ createdBy: string;
9462
+ description: string | null;
9463
+ durationSeconds: number | null;
9464
+ id: string;
9465
+ isEnabled: boolean;
9466
+ publishedAt: Date | null;
9467
+ sortOrder: number;
9468
+ status: "archived" | "draft" | "published";
9469
+ title: string;
9470
+ updatedAt: Date;
9471
+ videoFile?: {
9472
+ id: string;
9473
+ fileName: string | null;
9474
+ mimeType: string | null;
9475
+ fileSize: number | null;
9476
+ publicUrl: string | null;
9477
+ } | undefined;
9478
+ videoFileId: string;
9479
+ videoUrl?: string | undefined;
9480
+ };
9481
+ 401: "Unauthorized";
9482
+ 403: "Forbidden: Admins only";
9483
+ 422: {
9484
+ type: 'validation';
9485
+ on: string;
9486
+ summary?: string;
9487
+ message?: string;
9488
+ found?: unknown;
9489
+ property?: string;
9490
+ expected?: string;
9491
+ };
9492
+ };
9493
+ };
9494
+ };
9495
+ };
9496
+ } & {
9497
+ live_stream_videos: {
9498
+ ":id": {
9499
+ patch: {
9500
+ body: {
9501
+ coverFileId?: string | undefined;
9502
+ description?: string | null | undefined;
9503
+ durationSeconds?: number | null | undefined;
9504
+ isEnabled?: boolean | undefined;
9505
+ publishedAt?: string | Date | null | undefined;
9506
+ sortOrder?: number | undefined;
9507
+ status?: "archived" | "draft" | "published" | undefined;
9508
+ title?: string | undefined;
9509
+ videoFileId?: string | undefined;
9510
+ };
9511
+ params: {
9512
+ id: string;
9513
+ };
9514
+ query: {};
9515
+ headers: {};
9516
+ response: {
9517
+ 200: {
9518
+ coverFile?: {
9519
+ id: string;
9520
+ fileName: string | null;
9521
+ mimeType: string | null;
9522
+ fileSize: number | null;
9523
+ publicUrl: string | null;
9524
+ } | undefined;
9525
+ coverFileId: string | null;
9526
+ coverUrl?: string | undefined;
9527
+ createdAt: Date;
9528
+ createdBy: string;
9529
+ description: string | null;
9530
+ durationSeconds: number | null;
9531
+ id: string;
9532
+ isEnabled: boolean;
9533
+ publishedAt: Date | null;
9534
+ sortOrder: number;
9535
+ status: "archived" | "draft" | "published";
9536
+ title: string;
9537
+ updatedAt: Date;
9538
+ videoFile?: {
9539
+ id: string;
9540
+ fileName: string | null;
9541
+ mimeType: string | null;
9542
+ fileSize: number | null;
9543
+ publicUrl: string | null;
9544
+ } | undefined;
9545
+ videoFileId: string;
9546
+ videoUrl?: string | undefined;
9547
+ };
9548
+ 401: "Unauthorized";
9549
+ 403: "Forbidden: Admins only";
9550
+ 422: {
9551
+ type: 'validation';
9552
+ on: string;
9553
+ summary?: string;
9554
+ message?: string;
9555
+ found?: unknown;
9556
+ property?: string;
9557
+ expected?: string;
9558
+ };
9559
+ };
9560
+ };
9561
+ };
9562
+ };
9563
+ } & {
9564
+ live_stream_videos: {
9565
+ ":id": {
9566
+ publish: {
9567
+ post: {
9568
+ body: {};
9569
+ params: {
9570
+ id: string;
9571
+ };
9572
+ query: {};
9573
+ headers: {};
9574
+ response: {
9575
+ 200: {
9576
+ coverFile?: {
9577
+ id: string;
9578
+ fileName: string | null;
9579
+ mimeType: string | null;
9580
+ fileSize: number | null;
9581
+ publicUrl: string | null;
9582
+ } | undefined;
9583
+ coverFileId: string | null;
9584
+ coverUrl?: string | undefined;
9585
+ createdAt: Date;
9586
+ createdBy: string;
9587
+ description: string | null;
9588
+ durationSeconds: number | null;
9589
+ id: string;
9590
+ isEnabled: boolean;
9591
+ publishedAt: Date | null;
9592
+ sortOrder: number;
9593
+ status: "archived" | "draft" | "published";
9594
+ title: string;
9595
+ updatedAt: Date;
9596
+ videoFile?: {
9597
+ id: string;
9598
+ fileName: string | null;
9599
+ mimeType: string | null;
9600
+ fileSize: number | null;
9601
+ publicUrl: string | null;
9602
+ } | undefined;
9603
+ videoFileId: string;
9604
+ videoUrl?: string | undefined;
9605
+ };
9606
+ 401: "Unauthorized";
9607
+ 403: "Forbidden: Admins only";
9608
+ 422: {
9609
+ type: 'validation';
9610
+ on: string;
9611
+ summary?: string;
9612
+ message?: string;
9613
+ found?: unknown;
9614
+ property?: string;
9615
+ expected?: string;
9616
+ };
9617
+ };
9618
+ };
9619
+ };
9620
+ };
9621
+ };
9622
+ } & {
9623
+ live_stream_videos: {
9624
+ ":id": {
9625
+ archive: {
9626
+ post: {
9627
+ body: {};
9628
+ params: {
9629
+ id: string;
9630
+ };
9631
+ query: {};
9632
+ headers: {};
9633
+ response: {
9634
+ 200: {
9635
+ coverFile?: {
9636
+ id: string;
9637
+ fileName: string | null;
9638
+ mimeType: string | null;
9639
+ fileSize: number | null;
9640
+ publicUrl: string | null;
9641
+ } | undefined;
9642
+ coverFileId: string | null;
9643
+ coverUrl?: string | undefined;
9644
+ createdAt: Date;
9645
+ createdBy: string;
9646
+ description: string | null;
9647
+ durationSeconds: number | null;
9648
+ id: string;
9649
+ isEnabled: boolean;
9650
+ publishedAt: Date | null;
9651
+ sortOrder: number;
9652
+ status: "archived" | "draft" | "published";
9653
+ title: string;
9654
+ updatedAt: Date;
9655
+ videoFile?: {
9656
+ id: string;
9657
+ fileName: string | null;
9658
+ mimeType: string | null;
9659
+ fileSize: number | null;
9660
+ publicUrl: string | null;
9661
+ } | undefined;
9662
+ videoFileId: string;
9663
+ videoUrl?: string | undefined;
9664
+ };
9665
+ 401: "Unauthorized";
9666
+ 403: "Forbidden: Admins only";
9667
+ 422: {
9668
+ type: 'validation';
9669
+ on: string;
9670
+ summary?: string;
9671
+ message?: string;
9672
+ found?: unknown;
9673
+ property?: string;
9674
+ expected?: string;
9675
+ };
9676
+ };
9677
+ };
9678
+ };
9679
+ };
9680
+ };
9681
+ } & {
9682
+ live_stream_videos: {
9683
+ ":id": {
9684
+ delete: {
9685
+ body: {};
9686
+ params: {
9687
+ id: string;
9688
+ };
9689
+ query: {};
9690
+ headers: {};
9691
+ response: {
9692
+ 200: {
9693
+ success: boolean;
9694
+ };
9695
+ 401: "Unauthorized";
9696
+ 403: "Forbidden: Admins only";
9697
+ 422: {
9698
+ type: 'validation';
9699
+ on: string;
9700
+ summary?: string;
9701
+ message?: string;
9702
+ found?: unknown;
9703
+ property?: string;
9704
+ expected?: string;
9705
+ };
9706
+ };
9707
+ };
9708
+ };
9709
+ };
9710
+ };
9711
+ } & {
9712
+ admin: {
9713
+ meeting_check_ins: {
9714
+ "attendee-reward-plans": {};
9715
+ } & {
9716
+ "attendee-reward-plans": {
9717
+ get: {
9718
+ body: {};
9719
+ params: {};
9720
+ query: {};
9721
+ headers: {};
9722
+ response: {
9723
+ 200: {
9724
+ cashAsset: {
9725
+ id: string;
9726
+ code: string;
9727
+ name: string;
9728
+ symbol: string | null;
9729
+ precision: number;
9730
+ isActive: boolean;
9731
+ };
9732
+ cashAssetId: string;
9733
+ cashPayoutAccountType: {
9734
+ id: string;
9735
+ key: string;
9736
+ name: string;
9737
+ isActive: boolean;
9738
+ };
9739
+ cashPayoutAccountTypeId: string;
9740
+ coinAsset: {
9741
+ id: string;
9742
+ code: string;
9743
+ name: string;
9744
+ symbol: string | null;
9745
+ precision: number;
9746
+ isActive: boolean;
9747
+ };
9748
+ coinAssetId: string;
9749
+ coinPayoutAccountType: {
9750
+ id: string;
9751
+ key: string;
9752
+ name: string;
9753
+ isActive: boolean;
9754
+ };
9755
+ coinPayoutAccountTypeId: string;
9756
+ createdAt: Date;
9757
+ createdBy: string;
9758
+ creator: {
9759
+ id: string;
9760
+ name: string;
9761
+ email: string;
9762
+ } | null;
9763
+ id: string;
9764
+ isEnabled: boolean;
9765
+ name: string;
9766
+ sortOrder: number;
9767
+ tiers: {
9768
+ cashAmount: string;
9769
+ coinAmount: string;
9770
+ coinBonusAmount: string;
9771
+ consecutiveDay: number;
9772
+ createdAt: Date;
9773
+ createdBy: string;
9774
+ creator: {
9775
+ id: string;
9776
+ name: string;
9777
+ email: string;
9778
+ } | null;
9779
+ id: string;
9780
+ isEnabled: boolean;
9781
+ planId: string;
9782
+ sortOrder: number;
9783
+ updatedAt: Date;
9784
+ updatedBy: string | null;
9785
+ updater: {
9786
+ id: string;
9787
+ name: string;
9788
+ email: string;
9789
+ } | null;
9790
+ }[];
9791
+ updatedAt: Date;
9792
+ updatedBy: string | null;
9793
+ updater: {
9794
+ id: string;
9795
+ name: string;
9796
+ email: string;
9797
+ } | null;
9798
+ } | null;
9799
+ 401: "Unauthorized";
9800
+ 403: "Forbidden: Admins only";
9801
+ 422: {
9802
+ type: 'validation';
9803
+ on: string;
9804
+ summary?: string;
9805
+ message?: string;
9806
+ found?: unknown;
9807
+ property?: string;
9808
+ expected?: string;
9809
+ };
9810
+ };
9811
+ };
9812
+ };
9813
+ } & {
9814
+ "attendee-reward-plans": {
9815
+ post: {
9816
+ body: {
9817
+ cashAssetId: string;
9818
+ cashPayoutAccountTypeId: string;
9819
+ coinAssetId: string;
9820
+ coinPayoutAccountTypeId: string;
9821
+ isEnabled?: boolean | undefined;
9822
+ name: string;
9823
+ sortOrder?: number | undefined;
9824
+ tiers?: {
9825
+ cashAmount: string;
9826
+ coinAmount: string;
9827
+ coinBonusAmount?: string | undefined;
9828
+ consecutiveDay: number;
9829
+ isEnabled?: boolean | undefined;
9830
+ sortOrder?: number | undefined;
9831
+ }[] | undefined;
9832
+ };
9833
+ params: {};
9834
+ query: {};
9835
+ headers: {};
9836
+ response: {
9837
+ 200: {
9838
+ cashAsset: {
9839
+ id: string;
9840
+ code: string;
9841
+ name: string;
9842
+ symbol: string | null;
9843
+ precision: number;
9844
+ isActive: boolean;
9845
+ };
9846
+ cashAssetId: string;
9847
+ cashPayoutAccountType: {
9848
+ id: string;
9849
+ key: string;
9850
+ name: string;
9851
+ isActive: boolean;
9852
+ };
9853
+ cashPayoutAccountTypeId: string;
9854
+ coinAsset: {
9855
+ id: string;
9856
+ code: string;
9857
+ name: string;
9858
+ symbol: string | null;
9859
+ precision: number;
9860
+ isActive: boolean;
9861
+ };
9862
+ coinAssetId: string;
9863
+ coinPayoutAccountType: {
9864
+ id: string;
9865
+ key: string;
9866
+ name: string;
9867
+ isActive: boolean;
9868
+ };
9869
+ coinPayoutAccountTypeId: string;
9870
+ createdAt: Date;
9871
+ createdBy: string;
9872
+ creator: {
9873
+ id: string;
9874
+ name: string;
9875
+ email: string;
9876
+ } | null;
9877
+ id: string;
9878
+ isEnabled: boolean;
9879
+ name: string;
9880
+ sortOrder: number;
9881
+ tiers: {
9882
+ cashAmount: string;
9883
+ coinAmount: string;
9884
+ coinBonusAmount: string;
9885
+ consecutiveDay: number;
9886
+ createdAt: Date;
9887
+ createdBy: string;
9888
+ creator: {
9889
+ id: string;
9890
+ name: string;
9891
+ email: string;
9892
+ } | null;
9893
+ id: string;
9894
+ isEnabled: boolean;
9895
+ planId: string;
9896
+ sortOrder: number;
9897
+ updatedAt: Date;
9898
+ updatedBy: string | null;
9899
+ updater: {
9900
+ id: string;
9901
+ name: string;
9902
+ email: string;
9903
+ } | null;
9904
+ }[];
9905
+ updatedAt: Date;
9906
+ updatedBy: string | null;
9907
+ updater: {
9908
+ id: string;
9909
+ name: string;
9910
+ email: string;
9911
+ } | null;
9912
+ };
9913
+ 401: "Unauthorized";
9914
+ 403: "Forbidden: Admins only";
9915
+ 422: {
9916
+ type: 'validation';
9917
+ on: string;
9918
+ summary?: string;
9919
+ message?: string;
9920
+ found?: unknown;
9921
+ property?: string;
9922
+ expected?: string;
9923
+ };
9924
+ };
9925
+ };
9926
+ };
9927
+ } & {
9928
+ "attendee-reward-plans": {
9929
+ patch: {
9930
+ body: {
9931
+ cashAssetId?: string | undefined;
9932
+ cashPayoutAccountTypeId?: string | undefined;
9933
+ coinAssetId?: string | undefined;
9934
+ coinPayoutAccountTypeId?: string | undefined;
9935
+ isEnabled?: boolean | undefined;
9936
+ name?: string | undefined;
9937
+ sortOrder?: number | undefined;
9938
+ tiers?: ({
9939
+ cashAmount?: string | undefined;
9940
+ coinAmount?: string | undefined;
9941
+ coinBonusAmount?: string | undefined;
9942
+ consecutiveDay?: number | undefined;
9943
+ id: string;
9944
+ isEnabled?: boolean | undefined;
9945
+ sortOrder?: number | undefined;
9946
+ } | {
9947
+ cashAmount: string;
9948
+ coinAmount: string;
9949
+ coinBonusAmount?: string | undefined;
9950
+ consecutiveDay: number;
9951
+ isEnabled?: boolean | undefined;
9952
+ sortOrder?: number | undefined;
9953
+ })[] | undefined;
9954
+ };
9955
+ params: {};
9956
+ query: {};
9957
+ headers: {};
9958
+ response: {
9959
+ 200: {
9960
+ cashAsset: {
9961
+ id: string;
9962
+ code: string;
9963
+ name: string;
9964
+ symbol: string | null;
9965
+ precision: number;
9966
+ isActive: boolean;
9967
+ };
9968
+ cashAssetId: string;
9969
+ cashPayoutAccountType: {
9970
+ id: string;
9971
+ key: string;
9972
+ name: string;
9973
+ isActive: boolean;
9974
+ };
9975
+ cashPayoutAccountTypeId: string;
9976
+ coinAsset: {
9977
+ id: string;
9978
+ code: string;
9979
+ name: string;
9980
+ symbol: string | null;
9981
+ precision: number;
9982
+ isActive: boolean;
9983
+ };
9984
+ coinAssetId: string;
9985
+ coinPayoutAccountType: {
9986
+ id: string;
9987
+ key: string;
9988
+ name: string;
9989
+ isActive: boolean;
9990
+ };
9991
+ coinPayoutAccountTypeId: string;
9992
+ createdAt: Date;
9993
+ createdBy: string;
9994
+ creator: {
9995
+ id: string;
9996
+ name: string;
9997
+ email: string;
9998
+ } | null;
9999
+ id: string;
10000
+ isEnabled: boolean;
10001
+ name: string;
10002
+ sortOrder: number;
10003
+ tiers: {
10004
+ cashAmount: string;
10005
+ coinAmount: string;
10006
+ coinBonusAmount: string;
10007
+ consecutiveDay: number;
10008
+ createdAt: Date;
10009
+ createdBy: string;
10010
+ creator: {
10011
+ id: string;
10012
+ name: string;
10013
+ email: string;
10014
+ } | null;
10015
+ id: string;
10016
+ isEnabled: boolean;
10017
+ planId: string;
10018
+ sortOrder: number;
10019
+ updatedAt: Date;
10020
+ updatedBy: string | null;
10021
+ updater: {
10022
+ id: string;
10023
+ name: string;
10024
+ email: string;
10025
+ } | null;
10026
+ }[];
10027
+ updatedAt: Date;
10028
+ updatedBy: string | null;
10029
+ updater: {
10030
+ id: string;
10031
+ name: string;
10032
+ email: string;
10033
+ } | null;
10034
+ };
10035
+ 401: "Unauthorized";
10036
+ 403: "Forbidden: Admins only";
10037
+ 422: {
10038
+ type: 'validation';
10039
+ on: string;
10040
+ summary?: string;
10041
+ message?: string;
10042
+ found?: unknown;
10043
+ property?: string;
10044
+ expected?: string;
10045
+ };
10046
+ };
10047
+ };
10048
+ };
10049
+ } & {
10050
+ "attendee-reward-plans": {
10051
+ delete: {
10052
+ body: {};
10053
+ params: {};
10054
+ query: {};
10055
+ headers: {};
10056
+ response: {
10057
+ 200: {
10058
+ success: boolean;
10059
+ };
10060
+ 401: "Unauthorized";
10061
+ 403: "Forbidden: Admins only";
10062
+ 422: {
10063
+ type: 'validation';
10064
+ on: string;
10065
+ summary?: string;
10066
+ message?: string;
10067
+ found?: unknown;
10068
+ property?: string;
10069
+ expected?: string;
10070
+ };
10071
+ };
10072
+ };
10073
+ };
10074
+ } & {
10075
+ "attendee-reward-plans": {
10076
+ tiers: {
10077
+ post: {
10078
+ body: {
10079
+ cashAmount: string;
10080
+ coinAmount: string;
10081
+ coinBonusAmount?: string | undefined;
10082
+ consecutiveDay: number;
10083
+ isEnabled?: boolean | undefined;
10084
+ sortOrder?: number | undefined;
10085
+ };
10086
+ params: {};
10087
+ query: {};
10088
+ headers: {};
10089
+ response: {
10090
+ 200: {
10091
+ cashAsset: {
10092
+ id: string;
10093
+ code: string;
10094
+ name: string;
10095
+ symbol: string | null;
10096
+ precision: number;
10097
+ isActive: boolean;
10098
+ };
10099
+ cashAssetId: string;
10100
+ cashPayoutAccountType: {
10101
+ id: string;
10102
+ key: string;
10103
+ name: string;
10104
+ isActive: boolean;
10105
+ };
10106
+ cashPayoutAccountTypeId: string;
10107
+ coinAsset: {
10108
+ id: string;
10109
+ code: string;
10110
+ name: string;
10111
+ symbol: string | null;
10112
+ precision: number;
10113
+ isActive: boolean;
10114
+ };
10115
+ coinAssetId: string;
10116
+ coinPayoutAccountType: {
10117
+ id: string;
10118
+ key: string;
10119
+ name: string;
10120
+ isActive: boolean;
10121
+ };
10122
+ coinPayoutAccountTypeId: string;
10123
+ createdAt: Date;
10124
+ createdBy: string;
10125
+ creator: {
10126
+ id: string;
10127
+ name: string;
10128
+ email: string;
10129
+ } | null;
10130
+ id: string;
10131
+ isEnabled: boolean;
10132
+ name: string;
10133
+ sortOrder: number;
10134
+ tiers: {
10135
+ cashAmount: string;
10136
+ coinAmount: string;
10137
+ coinBonusAmount: string;
10138
+ consecutiveDay: number;
10139
+ createdAt: Date;
10140
+ createdBy: string;
10141
+ creator: {
10142
+ id: string;
10143
+ name: string;
10144
+ email: string;
10145
+ } | null;
10146
+ id: string;
10147
+ isEnabled: boolean;
10148
+ planId: string;
10149
+ sortOrder: number;
10150
+ updatedAt: Date;
10151
+ updatedBy: string | null;
10152
+ updater: {
10153
+ id: string;
10154
+ name: string;
10155
+ email: string;
10156
+ } | null;
10157
+ }[];
10158
+ updatedAt: Date;
10159
+ updatedBy: string | null;
10160
+ updater: {
10161
+ id: string;
10162
+ name: string;
10163
+ email: string;
10164
+ } | null;
10165
+ };
10166
+ 401: "Unauthorized";
10167
+ 403: "Forbidden: Admins only";
10168
+ 422: {
10169
+ type: 'validation';
10170
+ on: string;
10171
+ summary?: string;
10172
+ message?: string;
10173
+ found?: unknown;
10174
+ property?: string;
10175
+ expected?: string;
10176
+ };
10177
+ };
10178
+ };
10179
+ };
10180
+ };
10181
+ } & {
10182
+ "attendee-reward-plans": {
10183
+ tiers: {
10184
+ ":tierId": {
10185
+ patch: {
10186
+ body: {
10187
+ cashAmount?: string | undefined;
10188
+ coinAmount?: string | undefined;
10189
+ coinBonusAmount?: string | undefined;
10190
+ consecutiveDay?: number | undefined;
10191
+ isEnabled?: boolean | undefined;
10192
+ sortOrder?: number | undefined;
10193
+ };
10194
+ params: {
10195
+ tierId: string;
10196
+ };
10197
+ query: {};
10198
+ headers: {};
10199
+ response: {
10200
+ 200: {
10201
+ cashAsset: {
10202
+ id: string;
10203
+ code: string;
10204
+ name: string;
10205
+ symbol: string | null;
10206
+ precision: number;
10207
+ isActive: boolean;
10208
+ };
10209
+ cashAssetId: string;
10210
+ cashPayoutAccountType: {
10211
+ id: string;
10212
+ key: string;
10213
+ name: string;
10214
+ isActive: boolean;
10215
+ };
10216
+ cashPayoutAccountTypeId: string;
10217
+ coinAsset: {
10218
+ id: string;
10219
+ code: string;
10220
+ name: string;
10221
+ symbol: string | null;
10222
+ precision: number;
10223
+ isActive: boolean;
10224
+ };
10225
+ coinAssetId: string;
10226
+ coinPayoutAccountType: {
10227
+ id: string;
10228
+ key: string;
10229
+ name: string;
10230
+ isActive: boolean;
10231
+ };
10232
+ coinPayoutAccountTypeId: string;
10233
+ createdAt: Date;
10234
+ createdBy: string;
10235
+ creator: {
10236
+ id: string;
10237
+ name: string;
10238
+ email: string;
10239
+ } | null;
10240
+ id: string;
10241
+ isEnabled: boolean;
10242
+ name: string;
10243
+ sortOrder: number;
10244
+ tiers: {
10245
+ cashAmount: string;
10246
+ coinAmount: string;
10247
+ coinBonusAmount: string;
10248
+ consecutiveDay: number;
10249
+ createdAt: Date;
10250
+ createdBy: string;
10251
+ creator: {
10252
+ id: string;
10253
+ name: string;
10254
+ email: string;
10255
+ } | null;
10256
+ id: string;
10257
+ isEnabled: boolean;
10258
+ planId: string;
10259
+ sortOrder: number;
10260
+ updatedAt: Date;
10261
+ updatedBy: string | null;
10262
+ updater: {
10263
+ id: string;
10264
+ name: string;
10265
+ email: string;
10266
+ } | null;
10267
+ }[];
10268
+ updatedAt: Date;
10269
+ updatedBy: string | null;
10270
+ updater: {
10271
+ id: string;
10272
+ name: string;
10273
+ email: string;
10274
+ } | null;
10275
+ };
10276
+ 401: "Unauthorized";
10277
+ 403: "Forbidden: Admins only";
10278
+ 422: {
10279
+ type: 'validation';
10280
+ on: string;
10281
+ summary?: string;
10282
+ message?: string;
10283
+ found?: unknown;
10284
+ property?: string;
10285
+ expected?: string;
10286
+ };
10287
+ };
10288
+ };
10289
+ };
10290
+ };
10291
+ };
10292
+ } & {
10293
+ "attendee-reward-plans": {
10294
+ tiers: {
10295
+ ":tierId": {
10296
+ delete: {
10297
+ body: {};
10298
+ params: {
10299
+ tierId: string;
10300
+ };
10301
+ query: {};
10302
+ headers: {};
10303
+ response: {
10304
+ 200: {
10305
+ cashAsset: {
10306
+ id: string;
10307
+ code: string;
10308
+ name: string;
10309
+ symbol: string | null;
10310
+ precision: number;
10311
+ isActive: boolean;
10312
+ };
10313
+ cashAssetId: string;
10314
+ cashPayoutAccountType: {
10315
+ id: string;
10316
+ key: string;
10317
+ name: string;
10318
+ isActive: boolean;
10319
+ };
10320
+ cashPayoutAccountTypeId: string;
10321
+ coinAsset: {
10322
+ id: string;
10323
+ code: string;
10324
+ name: string;
10325
+ symbol: string | null;
10326
+ precision: number;
10327
+ isActive: boolean;
10328
+ };
10329
+ coinAssetId: string;
10330
+ coinPayoutAccountType: {
10331
+ id: string;
10332
+ key: string;
10333
+ name: string;
10334
+ isActive: boolean;
10335
+ };
10336
+ coinPayoutAccountTypeId: string;
10337
+ createdAt: Date;
10338
+ createdBy: string;
10339
+ creator: {
10340
+ id: string;
10341
+ name: string;
10342
+ email: string;
10343
+ } | null;
10344
+ id: string;
10345
+ isEnabled: boolean;
10346
+ name: string;
10347
+ sortOrder: number;
10348
+ tiers: {
10349
+ cashAmount: string;
10350
+ coinAmount: string;
10351
+ coinBonusAmount: string;
10352
+ consecutiveDay: number;
10353
+ createdAt: Date;
10354
+ createdBy: string;
10355
+ creator: {
10356
+ id: string;
10357
+ name: string;
10358
+ email: string;
10359
+ } | null;
10360
+ id: string;
10361
+ isEnabled: boolean;
10362
+ planId: string;
10363
+ sortOrder: number;
10364
+ updatedAt: Date;
10365
+ updatedBy: string | null;
10366
+ updater: {
10367
+ id: string;
10368
+ name: string;
10369
+ email: string;
10370
+ } | null;
10371
+ }[];
10372
+ updatedAt: Date;
10373
+ updatedBy: string | null;
10374
+ updater: {
10375
+ id: string;
10376
+ name: string;
10377
+ email: string;
10378
+ } | null;
10379
+ };
10380
+ 401: "Unauthorized";
10381
+ 403: "Forbidden: Admins only";
10382
+ 422: {
10383
+ type: 'validation';
10384
+ on: string;
10385
+ summary?: string;
10386
+ message?: string;
10387
+ found?: unknown;
10388
+ property?: string;
10389
+ expected?: string;
10390
+ };
10391
+ };
10392
+ };
10393
+ };
10394
+ };
10395
+ };
10396
+ };
10397
+ } & {
10398
+ meeting_check_ins: {
10399
+ "referral-reward-plans": {};
10400
+ } & {
10401
+ "referral-reward-plans": {
10402
+ get: {
10403
+ body: {};
10404
+ params: {};
10405
+ query: {};
10406
+ headers: {};
10407
+ response: {
10408
+ 200: {
10409
+ cashAsset: {
10410
+ id: string;
10411
+ code: string;
10412
+ name: string;
10413
+ symbol: string | null;
10414
+ precision: number;
10415
+ isActive: boolean;
10416
+ };
10417
+ cashAssetId: string;
10418
+ cashPayoutAccountType: {
10419
+ id: string;
10420
+ key: string;
10421
+ name: string;
10422
+ isActive: boolean;
10423
+ };
10424
+ cashPayoutAccountTypeId: string;
10425
+ coinAsset: {
10426
+ id: string;
10427
+ code: string;
10428
+ name: string;
10429
+ symbol: string | null;
10430
+ precision: number;
10431
+ isActive: boolean;
10432
+ };
10433
+ coinAssetId: string;
10434
+ coinPayoutAccountType: {
10435
+ id: string;
10436
+ key: string;
10437
+ name: string;
10438
+ isActive: boolean;
10439
+ };
10440
+ coinPayoutAccountTypeId: string;
10441
+ createdAt: Date;
10442
+ createdBy: string;
10443
+ creator: {
10444
+ id: string;
10445
+ name: string;
10446
+ email: string;
10447
+ } | null;
10448
+ id: string;
10449
+ isEnabled: boolean;
10450
+ name: string;
10451
+ sortOrder: number;
10452
+ tiers: {
10453
+ cashAmount: string;
10454
+ coinAmount: string;
10455
+ createdAt: Date;
10456
+ createdBy: string;
10457
+ creator: {
10458
+ id: string;
10459
+ name: string;
10460
+ email: string;
10461
+ } | null;
10462
+ id: string;
10463
+ isEnabled: boolean;
10464
+ planId: string;
10465
+ refereeMaxStreakDays: number | null;
10466
+ refereeMinStreakDays: number;
10467
+ sortOrder: number;
10468
+ updatedAt: Date;
10469
+ updatedBy: string | null;
10470
+ updater: {
10471
+ id: string;
10472
+ name: string;
10473
+ email: string;
10474
+ } | null;
10475
+ }[];
10476
+ updatedAt: Date;
10477
+ updatedBy: string | null;
10478
+ updater: {
10479
+ id: string;
10480
+ name: string;
10481
+ email: string;
10482
+ } | null;
10483
+ } | null;
10484
+ 401: "Unauthorized";
10485
+ 403: "Forbidden: Admins only";
10486
+ 422: {
10487
+ type: 'validation';
10488
+ on: string;
10489
+ summary?: string;
10490
+ message?: string;
10491
+ found?: unknown;
10492
+ property?: string;
10493
+ expected?: string;
10494
+ };
10495
+ };
10496
+ };
10497
+ };
10498
+ } & {
10499
+ "referral-reward-plans": {
10500
+ post: {
10501
+ body: {
10502
+ cashAssetId: string;
10503
+ cashPayoutAccountTypeId: string;
10504
+ coinAssetId: string;
10505
+ coinPayoutAccountTypeId: string;
10506
+ isEnabled?: boolean | undefined;
10507
+ name: string;
10508
+ sortOrder?: number | undefined;
10509
+ tiers?: {
10510
+ refereeMinStreakDays: number;
10511
+ refereeMaxStreakDays?: number | null | undefined;
10512
+ cashAmount: string;
10513
+ coinAmount: string;
10514
+ isEnabled?: boolean | undefined;
10515
+ sortOrder?: number | undefined;
10516
+ }[] | undefined;
10517
+ };
10518
+ params: {};
10519
+ query: {};
10520
+ headers: {};
10521
+ response: {
10522
+ 200: {
10523
+ cashAsset: {
10524
+ id: string;
10525
+ code: string;
10526
+ name: string;
10527
+ symbol: string | null;
10528
+ precision: number;
10529
+ isActive: boolean;
10530
+ };
10531
+ cashAssetId: string;
10532
+ cashPayoutAccountType: {
10533
+ id: string;
10534
+ key: string;
10535
+ name: string;
10536
+ isActive: boolean;
10537
+ };
10538
+ cashPayoutAccountTypeId: string;
10539
+ coinAsset: {
10540
+ id: string;
10541
+ code: string;
10542
+ name: string;
10543
+ symbol: string | null;
10544
+ precision: number;
10545
+ isActive: boolean;
10546
+ };
10547
+ coinAssetId: string;
10548
+ coinPayoutAccountType: {
10549
+ id: string;
10550
+ key: string;
10551
+ name: string;
10552
+ isActive: boolean;
10553
+ };
10554
+ coinPayoutAccountTypeId: string;
10555
+ createdAt: Date;
10556
+ createdBy: string;
10557
+ creator: {
10558
+ id: string;
10559
+ name: string;
10560
+ email: string;
10561
+ } | null;
10562
+ id: string;
10563
+ isEnabled: boolean;
10564
+ name: string;
10565
+ sortOrder: number;
10566
+ tiers: {
10567
+ cashAmount: string;
10568
+ coinAmount: string;
10569
+ createdAt: Date;
10570
+ createdBy: string;
10571
+ creator: {
10572
+ id: string;
10573
+ name: string;
10574
+ email: string;
10575
+ } | null;
10576
+ id: string;
10577
+ isEnabled: boolean;
10578
+ planId: string;
10579
+ refereeMaxStreakDays: number | null;
10580
+ refereeMinStreakDays: number;
10581
+ sortOrder: number;
10582
+ updatedAt: Date;
10583
+ updatedBy: string | null;
10584
+ updater: {
10585
+ id: string;
10586
+ name: string;
10587
+ email: string;
10588
+ } | null;
10589
+ }[];
10590
+ updatedAt: Date;
10591
+ updatedBy: string | null;
10592
+ updater: {
10593
+ id: string;
10594
+ name: string;
10595
+ email: string;
10596
+ } | null;
10597
+ };
10598
+ 401: "Unauthorized";
10599
+ 403: "Forbidden: Admins only";
10600
+ 422: {
10601
+ type: 'validation';
10602
+ on: string;
10603
+ summary?: string;
10604
+ message?: string;
10605
+ found?: unknown;
10606
+ property?: string;
10607
+ expected?: string;
10608
+ };
10609
+ };
10610
+ };
10611
+ };
10612
+ } & {
10613
+ "referral-reward-plans": {
10614
+ patch: {
10615
+ body: {
10616
+ cashAssetId?: string | undefined;
10617
+ cashPayoutAccountTypeId?: string | undefined;
10618
+ coinAssetId?: string | undefined;
10619
+ coinPayoutAccountTypeId?: string | undefined;
10620
+ isEnabled?: boolean | undefined;
10621
+ name?: string | undefined;
10622
+ sortOrder?: number | undefined;
10623
+ tiers?: ({
10624
+ cashAmount?: string | undefined;
10625
+ coinAmount?: string | undefined;
10626
+ id: string;
10627
+ isEnabled?: boolean | undefined;
10628
+ refereeMaxStreakDays?: number | null | undefined;
10629
+ refereeMinStreakDays?: number | undefined;
10630
+ sortOrder?: number | undefined;
10631
+ } | {
10632
+ refereeMinStreakDays: number;
10633
+ refereeMaxStreakDays?: number | null | undefined;
10634
+ cashAmount: string;
10635
+ coinAmount: string;
10636
+ isEnabled?: boolean | undefined;
10637
+ sortOrder?: number | undefined;
10638
+ })[] | undefined;
10639
+ };
10640
+ params: {};
10641
+ query: {};
10642
+ headers: {};
10643
+ response: {
10644
+ 200: {
10645
+ cashAsset: {
10646
+ id: string;
10647
+ code: string;
10648
+ name: string;
10649
+ symbol: string | null;
10650
+ precision: number;
10651
+ isActive: boolean;
10652
+ };
10653
+ cashAssetId: string;
10654
+ cashPayoutAccountType: {
10655
+ id: string;
10656
+ key: string;
10657
+ name: string;
10658
+ isActive: boolean;
10659
+ };
10660
+ cashPayoutAccountTypeId: string;
10661
+ coinAsset: {
10662
+ id: string;
10663
+ code: string;
10664
+ name: string;
10665
+ symbol: string | null;
10666
+ precision: number;
10667
+ isActive: boolean;
10668
+ };
10669
+ coinAssetId: string;
10670
+ coinPayoutAccountType: {
10671
+ id: string;
10672
+ key: string;
10673
+ name: string;
10674
+ isActive: boolean;
10675
+ };
10676
+ coinPayoutAccountTypeId: string;
10677
+ createdAt: Date;
10678
+ createdBy: string;
10679
+ creator: {
10680
+ id: string;
10681
+ name: string;
10682
+ email: string;
10683
+ } | null;
10684
+ id: string;
10685
+ isEnabled: boolean;
10686
+ name: string;
10687
+ sortOrder: number;
10688
+ tiers: {
10689
+ cashAmount: string;
10690
+ coinAmount: string;
10691
+ createdAt: Date;
10692
+ createdBy: string;
10693
+ creator: {
10694
+ id: string;
10695
+ name: string;
10696
+ email: string;
10697
+ } | null;
10698
+ id: string;
10699
+ isEnabled: boolean;
10700
+ planId: string;
10701
+ refereeMaxStreakDays: number | null;
10702
+ refereeMinStreakDays: number;
10703
+ sortOrder: number;
10704
+ updatedAt: Date;
10705
+ updatedBy: string | null;
10706
+ updater: {
10707
+ id: string;
10708
+ name: string;
10709
+ email: string;
10710
+ } | null;
10711
+ }[];
10712
+ updatedAt: Date;
10713
+ updatedBy: string | null;
10714
+ updater: {
10715
+ id: string;
10716
+ name: string;
10717
+ email: string;
10718
+ } | null;
10719
+ };
10720
+ 401: "Unauthorized";
10721
+ 403: "Forbidden: Admins only";
10722
+ 422: {
10723
+ type: 'validation';
10724
+ on: string;
10725
+ summary?: string;
10726
+ message?: string;
10727
+ found?: unknown;
10728
+ property?: string;
10729
+ expected?: string;
10730
+ };
10731
+ };
10732
+ };
10733
+ };
10734
+ } & {
10735
+ "referral-reward-plans": {
10736
+ delete: {
10737
+ body: {};
10738
+ params: {};
10739
+ query: {};
10740
+ headers: {};
10741
+ response: {
10742
+ 200: {
10743
+ success: boolean;
10744
+ };
10745
+ 401: "Unauthorized";
10746
+ 403: "Forbidden: Admins only";
10747
+ 422: {
10748
+ type: 'validation';
10749
+ on: string;
10750
+ summary?: string;
10751
+ message?: string;
10752
+ found?: unknown;
10753
+ property?: string;
10754
+ expected?: string;
10755
+ };
10756
+ };
10757
+ };
10758
+ };
10759
+ } & {
10760
+ "referral-reward-plans": {
10761
+ tiers: {
10762
+ post: {
10763
+ body: {
10764
+ refereeMinStreakDays: number;
10765
+ refereeMaxStreakDays?: number | null | undefined;
10766
+ cashAmount: string;
10767
+ coinAmount: string;
10768
+ isEnabled?: boolean | undefined;
10769
+ sortOrder?: number | undefined;
10770
+ };
10771
+ params: {};
10772
+ query: {};
10773
+ headers: {};
10774
+ response: {
10775
+ 200: {
10776
+ cashAsset: {
10777
+ id: string;
10778
+ code: string;
10779
+ name: string;
10780
+ symbol: string | null;
10781
+ precision: number;
10782
+ isActive: boolean;
10783
+ };
10784
+ cashAssetId: string;
10785
+ cashPayoutAccountType: {
10786
+ id: string;
10787
+ key: string;
10788
+ name: string;
10789
+ isActive: boolean;
10790
+ };
10791
+ cashPayoutAccountTypeId: string;
10792
+ coinAsset: {
10793
+ id: string;
10794
+ code: string;
10795
+ name: string;
10796
+ symbol: string | null;
10797
+ precision: number;
10798
+ isActive: boolean;
10799
+ };
10800
+ coinAssetId: string;
10801
+ coinPayoutAccountType: {
10802
+ id: string;
10803
+ key: string;
10804
+ name: string;
10805
+ isActive: boolean;
10806
+ };
10807
+ coinPayoutAccountTypeId: string;
10808
+ createdAt: Date;
10809
+ createdBy: string;
10810
+ creator: {
10811
+ id: string;
10812
+ name: string;
10813
+ email: string;
10814
+ } | null;
10815
+ id: string;
10816
+ isEnabled: boolean;
10817
+ name: string;
10818
+ sortOrder: number;
10819
+ tiers: {
10820
+ cashAmount: string;
10821
+ coinAmount: string;
10822
+ createdAt: Date;
10823
+ createdBy: string;
10824
+ creator: {
10825
+ id: string;
10826
+ name: string;
10827
+ email: string;
10828
+ } | null;
10829
+ id: string;
10830
+ isEnabled: boolean;
10831
+ planId: string;
10832
+ refereeMaxStreakDays: number | null;
10833
+ refereeMinStreakDays: number;
10834
+ sortOrder: number;
10835
+ updatedAt: Date;
10836
+ updatedBy: string | null;
10837
+ updater: {
10838
+ id: string;
10839
+ name: string;
10840
+ email: string;
10841
+ } | null;
10842
+ }[];
10843
+ updatedAt: Date;
10844
+ updatedBy: string | null;
10845
+ updater: {
10846
+ id: string;
10847
+ name: string;
10848
+ email: string;
10849
+ } | null;
10850
+ };
10851
+ 401: "Unauthorized";
10852
+ 403: "Forbidden: Admins only";
10853
+ 422: {
10854
+ type: 'validation';
10855
+ on: string;
10856
+ summary?: string;
10857
+ message?: string;
10858
+ found?: unknown;
10859
+ property?: string;
10860
+ expected?: string;
10861
+ };
10862
+ };
10863
+ };
10864
+ };
10865
+ };
10866
+ } & {
10867
+ "referral-reward-plans": {
10868
+ tiers: {
10869
+ ":tierId": {
10870
+ patch: {
10871
+ body: {
10872
+ refereeMinStreakDays?: number | undefined;
10873
+ refereeMaxStreakDays?: number | null | undefined;
10874
+ cashAmount?: string | undefined;
10875
+ coinAmount?: string | undefined;
10876
+ isEnabled?: boolean | undefined;
10877
+ sortOrder?: number | undefined;
10878
+ };
10879
+ params: {
10880
+ tierId: string;
10881
+ };
10882
+ query: {};
10883
+ headers: {};
10884
+ response: {
10885
+ 200: {
10886
+ cashAsset: {
10887
+ id: string;
10888
+ code: string;
10889
+ name: string;
10890
+ symbol: string | null;
10891
+ precision: number;
10892
+ isActive: boolean;
10893
+ };
10894
+ cashAssetId: string;
10895
+ cashPayoutAccountType: {
10896
+ id: string;
10897
+ key: string;
10898
+ name: string;
10899
+ isActive: boolean;
10900
+ };
10901
+ cashPayoutAccountTypeId: string;
10902
+ coinAsset: {
10903
+ id: string;
10904
+ code: string;
10905
+ name: string;
10906
+ symbol: string | null;
10907
+ precision: number;
10908
+ isActive: boolean;
10909
+ };
10910
+ coinAssetId: string;
10911
+ coinPayoutAccountType: {
10912
+ id: string;
10913
+ key: string;
10914
+ name: string;
10915
+ isActive: boolean;
10916
+ };
10917
+ coinPayoutAccountTypeId: string;
10918
+ createdAt: Date;
10919
+ createdBy: string;
10920
+ creator: {
10921
+ id: string;
10922
+ name: string;
10923
+ email: string;
10924
+ } | null;
10925
+ id: string;
10926
+ isEnabled: boolean;
10927
+ name: string;
10928
+ sortOrder: number;
10929
+ tiers: {
10930
+ cashAmount: string;
10931
+ coinAmount: string;
10932
+ createdAt: Date;
10933
+ createdBy: string;
10934
+ creator: {
10935
+ id: string;
10936
+ name: string;
10937
+ email: string;
10938
+ } | null;
10939
+ id: string;
10940
+ isEnabled: boolean;
10941
+ planId: string;
10942
+ refereeMaxStreakDays: number | null;
10943
+ refereeMinStreakDays: number;
10944
+ sortOrder: number;
10945
+ updatedAt: Date;
10946
+ updatedBy: string | null;
10947
+ updater: {
10948
+ id: string;
10949
+ name: string;
10950
+ email: string;
10951
+ } | null;
10952
+ }[];
10953
+ updatedAt: Date;
10954
+ updatedBy: string | null;
10955
+ updater: {
10956
+ id: string;
10957
+ name: string;
10958
+ email: string;
10959
+ } | null;
10960
+ };
10961
+ 401: "Unauthorized";
10962
+ 403: "Forbidden: Admins only";
10963
+ 422: {
10964
+ type: 'validation';
10965
+ on: string;
10966
+ summary?: string;
10967
+ message?: string;
10968
+ found?: unknown;
10969
+ property?: string;
10970
+ expected?: string;
10971
+ };
10972
+ };
10973
+ };
10974
+ };
10975
+ };
10976
+ };
10977
+ } & {
10978
+ "referral-reward-plans": {
10979
+ tiers: {
10980
+ ":tierId": {
10981
+ delete: {
10982
+ body: {};
10983
+ params: {
10984
+ tierId: string;
10985
+ };
10986
+ query: {};
10987
+ headers: {};
10988
+ response: {
10989
+ 200: {
10990
+ cashAsset: {
10991
+ id: string;
10992
+ code: string;
10993
+ name: string;
10994
+ symbol: string | null;
10995
+ precision: number;
10996
+ isActive: boolean;
10997
+ };
10998
+ cashAssetId: string;
10999
+ cashPayoutAccountType: {
11000
+ id: string;
11001
+ key: string;
11002
+ name: string;
11003
+ isActive: boolean;
11004
+ };
11005
+ cashPayoutAccountTypeId: string;
11006
+ coinAsset: {
11007
+ id: string;
11008
+ code: string;
11009
+ name: string;
11010
+ symbol: string | null;
11011
+ precision: number;
11012
+ isActive: boolean;
11013
+ };
11014
+ coinAssetId: string;
11015
+ coinPayoutAccountType: {
11016
+ id: string;
11017
+ key: string;
11018
+ name: string;
11019
+ isActive: boolean;
11020
+ };
11021
+ coinPayoutAccountTypeId: string;
11022
+ createdAt: Date;
11023
+ createdBy: string;
11024
+ creator: {
11025
+ id: string;
11026
+ name: string;
11027
+ email: string;
11028
+ } | null;
11029
+ id: string;
11030
+ isEnabled: boolean;
11031
+ name: string;
11032
+ sortOrder: number;
11033
+ tiers: {
11034
+ cashAmount: string;
11035
+ coinAmount: string;
11036
+ createdAt: Date;
11037
+ createdBy: string;
11038
+ creator: {
11039
+ id: string;
11040
+ name: string;
11041
+ email: string;
11042
+ } | null;
11043
+ id: string;
11044
+ isEnabled: boolean;
11045
+ planId: string;
11046
+ refereeMaxStreakDays: number | null;
11047
+ refereeMinStreakDays: number;
11048
+ sortOrder: number;
11049
+ updatedAt: Date;
11050
+ updatedBy: string | null;
11051
+ updater: {
11052
+ id: string;
11053
+ name: string;
11054
+ email: string;
11055
+ } | null;
11056
+ }[];
11057
+ updatedAt: Date;
11058
+ updatedBy: string | null;
11059
+ updater: {
11060
+ id: string;
11061
+ name: string;
11062
+ email: string;
11063
+ } | null;
11064
+ };
11065
+ 401: "Unauthorized";
11066
+ 403: "Forbidden: Admins only";
11067
+ 422: {
11068
+ type: 'validation';
11069
+ on: string;
11070
+ summary?: string;
11071
+ message?: string;
11072
+ found?: unknown;
11073
+ property?: string;
11074
+ expected?: string;
11075
+ };
11076
+ };
11077
+ };
11078
+ };
11079
+ };
11080
+ };
11081
+ };
11082
+ };
9303
11083
  } & {
9304
11084
  admin: {
9305
11085
  operations_overview: {};
@@ -9708,7 +11488,7 @@ export declare const adminRouter: Elysia<"/admin", {
9708
11488
  offset?: number | undefined;
9709
11489
  pageSize?: number | undefined;
9710
11490
  pageIndex?: number | undefined;
9711
- businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
11491
+ 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;
9712
11492
  businessId?: string | undefined;
9713
11493
  status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
9714
11494
  accessControl?: "private" | "public" | "restricted" | null | undefined;
@@ -9722,7 +11502,7 @@ export declare const adminRouter: Elysia<"/admin", {
9722
11502
  archivedAt: Date | null;
9723
11503
  businessId: string | null;
9724
11504
  businessMetadata: string | null;
9725
- businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
11505
+ 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";
9726
11506
  createdAt: Date;
9727
11507
  deletedAt: Date | null;
9728
11508
  downloadCount: number | null;