@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
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" | "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" | "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" | "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" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
9017
9017
  createdAt: Date;
9018
9018
  deletedAt: Date | null;
9019
9019
  downloadCount: number | null;
@@ -9623,6 +9623,1786 @@ declare const app: Elysia<"/api", {
9623
9623
  };
9624
9624
  };
9625
9625
  };
9626
+ } & {
9627
+ admin: {
9628
+ live_stream_videos: {};
9629
+ } & {
9630
+ live_stream_videos: {
9631
+ post: {
9632
+ body: {
9633
+ coverFileId?: string | undefined;
9634
+ description?: string | null | undefined;
9635
+ durationSeconds?: number | null | undefined;
9636
+ isEnabled?: boolean | undefined;
9637
+ publishedAt?: string | Date | null | undefined;
9638
+ sortOrder?: number | undefined;
9639
+ status?: "archived" | "draft" | "published" | undefined;
9640
+ title: string;
9641
+ videoFileId: string;
9642
+ };
9643
+ params: {};
9644
+ query: {};
9645
+ headers: {};
9646
+ response: {
9647
+ 200: {
9648
+ coverFile?: {
9649
+ id: string;
9650
+ fileName: string | null;
9651
+ mimeType: string | null;
9652
+ fileSize: number | null;
9653
+ publicUrl: string | null;
9654
+ } | undefined;
9655
+ coverFileId: string | null;
9656
+ coverUrl?: string | undefined;
9657
+ createdAt: Date;
9658
+ createdBy: string;
9659
+ description: string | null;
9660
+ durationSeconds: number | null;
9661
+ id: string;
9662
+ isEnabled: boolean;
9663
+ publishedAt: Date | null;
9664
+ sortOrder: number;
9665
+ status: "archived" | "draft" | "published";
9666
+ title: string;
9667
+ updatedAt: Date;
9668
+ videoFile?: {
9669
+ id: string;
9670
+ fileName: string | null;
9671
+ mimeType: string | null;
9672
+ fileSize: number | null;
9673
+ publicUrl: string | null;
9674
+ } | undefined;
9675
+ videoFileId: string;
9676
+ videoUrl?: string | undefined;
9677
+ };
9678
+ 401: "Unauthorized";
9679
+ 403: "Forbidden: Admins only";
9680
+ 422: {
9681
+ type: 'validation';
9682
+ on: string;
9683
+ summary?: string;
9684
+ message?: string;
9685
+ found?: unknown;
9686
+ property?: string;
9687
+ expected?: string;
9688
+ };
9689
+ };
9690
+ };
9691
+ };
9692
+ } & {
9693
+ live_stream_videos: {
9694
+ get: {
9695
+ body: {};
9696
+ params: {};
9697
+ query: {
9698
+ isEnabled?: boolean | undefined;
9699
+ keyword?: string | undefined;
9700
+ limit?: number | undefined;
9701
+ offset?: number | undefined;
9702
+ pageIndex?: number | undefined;
9703
+ pageSize?: number | undefined;
9704
+ status?: "archived" | "draft" | "published" | undefined;
9705
+ };
9706
+ headers: {};
9707
+ response: {
9708
+ 200: {
9709
+ data: {
9710
+ coverFile?: {
9711
+ id: string;
9712
+ fileName: string | null;
9713
+ mimeType: string | null;
9714
+ fileSize: number | null;
9715
+ publicUrl: string | null;
9716
+ } | undefined;
9717
+ coverFileId: string | null;
9718
+ coverUrl?: string | undefined;
9719
+ createdAt: Date;
9720
+ createdBy: string;
9721
+ description: string | null;
9722
+ durationSeconds: number | null;
9723
+ id: string;
9724
+ isEnabled: boolean;
9725
+ publishedAt: Date | null;
9726
+ sortOrder: number;
9727
+ status: "archived" | "draft" | "published";
9728
+ title: string;
9729
+ updatedAt: Date;
9730
+ videoFile?: {
9731
+ id: string;
9732
+ fileName: string | null;
9733
+ mimeType: string | null;
9734
+ fileSize: number | null;
9735
+ publicUrl: string | null;
9736
+ } | undefined;
9737
+ videoFileId: string;
9738
+ videoUrl?: string | undefined;
9739
+ }[];
9740
+ pagination: {
9741
+ pageSize: number;
9742
+ pageIndex: number;
9743
+ total: number;
9744
+ totalPages: number;
9745
+ hasNextPage: boolean;
9746
+ };
9747
+ };
9748
+ 401: "Unauthorized";
9749
+ 403: "Forbidden: Admins only";
9750
+ 422: {
9751
+ type: 'validation';
9752
+ on: string;
9753
+ summary?: string;
9754
+ message?: string;
9755
+ found?: unknown;
9756
+ property?: string;
9757
+ expected?: string;
9758
+ };
9759
+ };
9760
+ };
9761
+ };
9762
+ } & {
9763
+ live_stream_videos: {
9764
+ ":id": {
9765
+ get: {
9766
+ body: {};
9767
+ params: {
9768
+ id: string;
9769
+ };
9770
+ query: {};
9771
+ headers: {};
9772
+ response: {
9773
+ 200: {
9774
+ coverFile?: {
9775
+ id: string;
9776
+ fileName: string | null;
9777
+ mimeType: string | null;
9778
+ fileSize: number | null;
9779
+ publicUrl: string | null;
9780
+ } | undefined;
9781
+ coverFileId: string | null;
9782
+ coverUrl?: string | undefined;
9783
+ createdAt: Date;
9784
+ createdBy: string;
9785
+ description: string | null;
9786
+ durationSeconds: number | null;
9787
+ id: string;
9788
+ isEnabled: boolean;
9789
+ publishedAt: Date | null;
9790
+ sortOrder: number;
9791
+ status: "archived" | "draft" | "published";
9792
+ title: string;
9793
+ updatedAt: Date;
9794
+ videoFile?: {
9795
+ id: string;
9796
+ fileName: string | null;
9797
+ mimeType: string | null;
9798
+ fileSize: number | null;
9799
+ publicUrl: string | null;
9800
+ } | undefined;
9801
+ videoFileId: string;
9802
+ videoUrl?: string | undefined;
9803
+ };
9804
+ 401: "Unauthorized";
9805
+ 403: "Forbidden: Admins only";
9806
+ 422: {
9807
+ type: 'validation';
9808
+ on: string;
9809
+ summary?: string;
9810
+ message?: string;
9811
+ found?: unknown;
9812
+ property?: string;
9813
+ expected?: string;
9814
+ };
9815
+ };
9816
+ };
9817
+ };
9818
+ };
9819
+ } & {
9820
+ live_stream_videos: {
9821
+ ":id": {
9822
+ patch: {
9823
+ body: {
9824
+ coverFileId?: string | undefined;
9825
+ description?: string | null | undefined;
9826
+ durationSeconds?: number | null | undefined;
9827
+ isEnabled?: boolean | undefined;
9828
+ publishedAt?: string | Date | null | undefined;
9829
+ sortOrder?: number | undefined;
9830
+ status?: "archived" | "draft" | "published" | undefined;
9831
+ title?: string | undefined;
9832
+ videoFileId?: string | undefined;
9833
+ };
9834
+ params: {
9835
+ id: string;
9836
+ };
9837
+ query: {};
9838
+ headers: {};
9839
+ response: {
9840
+ 200: {
9841
+ coverFile?: {
9842
+ id: string;
9843
+ fileName: string | null;
9844
+ mimeType: string | null;
9845
+ fileSize: number | null;
9846
+ publicUrl: string | null;
9847
+ } | undefined;
9848
+ coverFileId: string | null;
9849
+ coverUrl?: string | undefined;
9850
+ createdAt: Date;
9851
+ createdBy: string;
9852
+ description: string | null;
9853
+ durationSeconds: number | null;
9854
+ id: string;
9855
+ isEnabled: boolean;
9856
+ publishedAt: Date | null;
9857
+ sortOrder: number;
9858
+ status: "archived" | "draft" | "published";
9859
+ title: string;
9860
+ updatedAt: Date;
9861
+ videoFile?: {
9862
+ id: string;
9863
+ fileName: string | null;
9864
+ mimeType: string | null;
9865
+ fileSize: number | null;
9866
+ publicUrl: string | null;
9867
+ } | undefined;
9868
+ videoFileId: string;
9869
+ videoUrl?: string | undefined;
9870
+ };
9871
+ 401: "Unauthorized";
9872
+ 403: "Forbidden: Admins only";
9873
+ 422: {
9874
+ type: 'validation';
9875
+ on: string;
9876
+ summary?: string;
9877
+ message?: string;
9878
+ found?: unknown;
9879
+ property?: string;
9880
+ expected?: string;
9881
+ };
9882
+ };
9883
+ };
9884
+ };
9885
+ };
9886
+ } & {
9887
+ live_stream_videos: {
9888
+ ":id": {
9889
+ publish: {
9890
+ post: {
9891
+ body: {};
9892
+ params: {
9893
+ id: string;
9894
+ };
9895
+ query: {};
9896
+ headers: {};
9897
+ response: {
9898
+ 200: {
9899
+ coverFile?: {
9900
+ id: string;
9901
+ fileName: string | null;
9902
+ mimeType: string | null;
9903
+ fileSize: number | null;
9904
+ publicUrl: string | null;
9905
+ } | undefined;
9906
+ coverFileId: string | null;
9907
+ coverUrl?: string | undefined;
9908
+ createdAt: Date;
9909
+ createdBy: string;
9910
+ description: string | null;
9911
+ durationSeconds: number | null;
9912
+ id: string;
9913
+ isEnabled: boolean;
9914
+ publishedAt: Date | null;
9915
+ sortOrder: number;
9916
+ status: "archived" | "draft" | "published";
9917
+ title: string;
9918
+ updatedAt: Date;
9919
+ videoFile?: {
9920
+ id: string;
9921
+ fileName: string | null;
9922
+ mimeType: string | null;
9923
+ fileSize: number | null;
9924
+ publicUrl: string | null;
9925
+ } | undefined;
9926
+ videoFileId: string;
9927
+ videoUrl?: string | undefined;
9928
+ };
9929
+ 401: "Unauthorized";
9930
+ 403: "Forbidden: Admins only";
9931
+ 422: {
9932
+ type: 'validation';
9933
+ on: string;
9934
+ summary?: string;
9935
+ message?: string;
9936
+ found?: unknown;
9937
+ property?: string;
9938
+ expected?: string;
9939
+ };
9940
+ };
9941
+ };
9942
+ };
9943
+ };
9944
+ };
9945
+ } & {
9946
+ live_stream_videos: {
9947
+ ":id": {
9948
+ archive: {
9949
+ post: {
9950
+ body: {};
9951
+ params: {
9952
+ id: string;
9953
+ };
9954
+ query: {};
9955
+ headers: {};
9956
+ response: {
9957
+ 200: {
9958
+ coverFile?: {
9959
+ id: string;
9960
+ fileName: string | null;
9961
+ mimeType: string | null;
9962
+ fileSize: number | null;
9963
+ publicUrl: string | null;
9964
+ } | undefined;
9965
+ coverFileId: string | null;
9966
+ coverUrl?: string | undefined;
9967
+ createdAt: Date;
9968
+ createdBy: string;
9969
+ description: string | null;
9970
+ durationSeconds: number | null;
9971
+ id: string;
9972
+ isEnabled: boolean;
9973
+ publishedAt: Date | null;
9974
+ sortOrder: number;
9975
+ status: "archived" | "draft" | "published";
9976
+ title: string;
9977
+ updatedAt: Date;
9978
+ videoFile?: {
9979
+ id: string;
9980
+ fileName: string | null;
9981
+ mimeType: string | null;
9982
+ fileSize: number | null;
9983
+ publicUrl: string | null;
9984
+ } | undefined;
9985
+ videoFileId: string;
9986
+ videoUrl?: string | undefined;
9987
+ };
9988
+ 401: "Unauthorized";
9989
+ 403: "Forbidden: Admins only";
9990
+ 422: {
9991
+ type: 'validation';
9992
+ on: string;
9993
+ summary?: string;
9994
+ message?: string;
9995
+ found?: unknown;
9996
+ property?: string;
9997
+ expected?: string;
9998
+ };
9999
+ };
10000
+ };
10001
+ };
10002
+ };
10003
+ };
10004
+ } & {
10005
+ live_stream_videos: {
10006
+ ":id": {
10007
+ delete: {
10008
+ body: {};
10009
+ params: {
10010
+ id: string;
10011
+ };
10012
+ query: {};
10013
+ headers: {};
10014
+ response: {
10015
+ 200: {
10016
+ success: boolean;
10017
+ };
10018
+ 401: "Unauthorized";
10019
+ 403: "Forbidden: Admins only";
10020
+ 422: {
10021
+ type: 'validation';
10022
+ on: string;
10023
+ summary?: string;
10024
+ message?: string;
10025
+ found?: unknown;
10026
+ property?: string;
10027
+ expected?: string;
10028
+ };
10029
+ };
10030
+ };
10031
+ };
10032
+ };
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
+ };
9626
11406
  } & {
9627
11407
  admin: {
9628
11408
  operations_overview: {};
@@ -10031,7 +11811,7 @@ declare const app: Elysia<"/api", {
10031
11811
  offset?: number | undefined;
10032
11812
  pageSize?: number | undefined;
10033
11813
  pageIndex?: number | undefined;
10034
- 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;
11814
+ 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;
10035
11815
  businessId?: string | undefined;
10036
11816
  status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
10037
11817
  accessControl?: "private" | "public" | "restricted" | null | undefined;
@@ -10045,7 +11825,7 @@ declare const app: Elysia<"/api", {
10045
11825
  archivedAt: Date | null;
10046
11826
  businessId: string | null;
10047
11827
  businessMetadata: string | null;
10048
- 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";
11828
+ 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";
10049
11829
  createdAt: Date;
10050
11830
  deletedAt: Date | null;
10051
11831
  downloadCount: number | null;
@@ -18275,6 +20055,92 @@ declare const app: Elysia<"/api", {
18275
20055
  };
18276
20056
  };
18277
20057
  };
20058
+ } & {
20059
+ api: {
20060
+ live_stream_videos: {};
20061
+ } & {
20062
+ live_stream_videos: {
20063
+ get: {
20064
+ body: {};
20065
+ params: {};
20066
+ query: {
20067
+ limit?: number | undefined;
20068
+ offset?: number | undefined;
20069
+ pageSize?: number | undefined;
20070
+ pageIndex?: number | undefined;
20071
+ };
20072
+ headers: {};
20073
+ response: {
20074
+ 200: {
20075
+ data: {
20076
+ id: string;
20077
+ title: string;
20078
+ description?: string | undefined;
20079
+ videoUrl: string;
20080
+ coverUrl?: string | undefined;
20081
+ mimeType?: string | undefined;
20082
+ fileSize?: number | undefined;
20083
+ durationSeconds?: number | undefined;
20084
+ sortOrder: number;
20085
+ publishedAt?: Date | undefined;
20086
+ }[];
20087
+ pagination: {
20088
+ pageSize: number;
20089
+ pageIndex: number;
20090
+ total: number;
20091
+ totalPages: number;
20092
+ hasNextPage: boolean;
20093
+ };
20094
+ };
20095
+ 422: {
20096
+ type: 'validation';
20097
+ on: string;
20098
+ summary?: string;
20099
+ message?: string;
20100
+ found?: unknown;
20101
+ property?: string;
20102
+ expected?: string;
20103
+ };
20104
+ };
20105
+ };
20106
+ };
20107
+ } & {
20108
+ live_stream_videos: {
20109
+ ":id": {
20110
+ get: {
20111
+ body: {};
20112
+ params: {
20113
+ id: string;
20114
+ };
20115
+ query: {};
20116
+ headers: {};
20117
+ response: {
20118
+ 200: {
20119
+ id: string;
20120
+ title: string;
20121
+ description?: string | undefined;
20122
+ videoUrl: string;
20123
+ coverUrl?: string | undefined;
20124
+ mimeType?: string | undefined;
20125
+ fileSize?: number | undefined;
20126
+ durationSeconds?: number | undefined;
20127
+ sortOrder: number;
20128
+ publishedAt?: Date | undefined;
20129
+ };
20130
+ 422: {
20131
+ type: 'validation';
20132
+ on: string;
20133
+ summary?: string;
20134
+ message?: string;
20135
+ found?: unknown;
20136
+ property?: string;
20137
+ expected?: string;
20138
+ };
20139
+ };
20140
+ };
20141
+ };
20142
+ };
20143
+ };
18278
20144
  } & {
18279
20145
  api: {
18280
20146
  file_storage: {};
@@ -18289,7 +20155,7 @@ declare const app: Elysia<"/api", {
18289
20155
  offset?: number | undefined;
18290
20156
  pageSize?: number | undefined;
18291
20157
  pageIndex?: number | undefined;
18292
- 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;
20158
+ 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;
18293
20159
  businessId?: string | undefined;
18294
20160
  status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
18295
20161
  accessControl?: "private" | "public" | "restricted" | null | undefined;
@@ -18312,7 +20178,7 @@ declare const app: Elysia<"/api", {
18312
20178
  s3Key: string;
18313
20179
  s3Region: string;
18314
20180
  s3ETag: string | null;
18315
- 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";
20181
+ 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";
18316
20182
  businessId: string | null;
18317
20183
  businessMetadata: string | null;
18318
20184
  ownerId: string;
@@ -18377,7 +20243,7 @@ declare const app: Elysia<"/api", {
18377
20243
  s3Key: string;
18378
20244
  s3Region: string;
18379
20245
  s3ETag: string | null;
18380
- 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";
20246
+ 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";
18381
20247
  businessId: string | null;
18382
20248
  businessMetadata: string | null;
18383
20249
  ownerId: string;