theragist-ts 1.0.49 → 1.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/message.d.ts +640 -0
- package/dist/admin/message.js +9425 -6
- package/dist/admin/service.d.ts +505 -1
- package/dist/admin/service.js +2781 -0
- package/dist/auth/message.d.ts +15 -1
- package/dist/auth/message.js +213 -7
- package/dist/group/message.d.ts +3 -3
- package/dist/group/message.js +15 -15
- package/dist/index.d.ts +9 -5
- package/dist/index.js +1387 -1142
- package/dist/lounge/message.d.ts +562 -0
- package/dist/lounge/message.js +7952 -0
- package/dist/lounge/service.d.ts +394 -0
- package/dist/lounge/service.js +1744 -0
- package/dist/search/message.d.ts +194 -0
- package/dist/search/message.js +2568 -0
- package/dist/search/service.d.ts +140 -0
- package/dist/search/service.js +394 -0
- package/dist/therapist/message.d.ts +2 -0
- package/dist/therapist/message.js +34 -2
- package/dist/workspace/message.d.ts +362 -74
- package/dist/workspace/message.js +4359 -276
- package/dist/workspace/service.d.ts +326 -50
- package/dist/workspace/service.js +1938 -197
- package/package.json +1 -1
package/dist/admin/message.d.ts
CHANGED
|
@@ -550,6 +550,7 @@ export interface UpdateManagedUserRequest {
|
|
|
550
550
|
therapeuticApproach: string;
|
|
551
551
|
defaultResponseMessage: string;
|
|
552
552
|
yearsPracticing: string;
|
|
553
|
+
featured?: boolean | undefined;
|
|
553
554
|
}
|
|
554
555
|
export interface ManagedUserAccountSettings {
|
|
555
556
|
twoFactorEnabled: boolean;
|
|
@@ -1134,6 +1135,7 @@ export interface AdminTherapist {
|
|
|
1134
1135
|
specializations: string[];
|
|
1135
1136
|
joinedAt: string;
|
|
1136
1137
|
avatarUrl: string;
|
|
1138
|
+
featured: boolean;
|
|
1137
1139
|
}
|
|
1138
1140
|
export interface ListAdminTherapistsRequest {
|
|
1139
1141
|
pagination: BaseListRequest | undefined;
|
|
@@ -1142,6 +1144,7 @@ export interface ListAdminTherapistsRequest {
|
|
|
1142
1144
|
specialization: string;
|
|
1143
1145
|
sortBy: string;
|
|
1144
1146
|
sortOrder: string;
|
|
1147
|
+
featured?: boolean | undefined;
|
|
1145
1148
|
}
|
|
1146
1149
|
export interface ListAdminTherapistsResponse {
|
|
1147
1150
|
therapists: AdminTherapist[];
|
|
@@ -1193,6 +1196,7 @@ export interface AdminTherapistDetail {
|
|
|
1193
1196
|
reviews: TherapistReview[];
|
|
1194
1197
|
upcomingSessions: TherapistUpcomingSession[];
|
|
1195
1198
|
documents: AdminKycDocument[];
|
|
1199
|
+
featured: boolean;
|
|
1196
1200
|
}
|
|
1197
1201
|
export interface TherapistPerformanceStats {
|
|
1198
1202
|
totalTcEarned: number;
|
|
@@ -3551,6 +3555,556 @@ export interface RefreshConversionRatesResponse {
|
|
|
3551
3555
|
ratesUpdated: number;
|
|
3552
3556
|
lastFetch: string;
|
|
3553
3557
|
}
|
|
3558
|
+
export interface AdminOrganization {
|
|
3559
|
+
id: string;
|
|
3560
|
+
name: string;
|
|
3561
|
+
slug: string;
|
|
3562
|
+
description: string;
|
|
3563
|
+
ownerUserId: string;
|
|
3564
|
+
ownerName: string;
|
|
3565
|
+
ownerEmail: string;
|
|
3566
|
+
logoUrl: string;
|
|
3567
|
+
coverImageUrl: string;
|
|
3568
|
+
domain: string;
|
|
3569
|
+
industry: string;
|
|
3570
|
+
sizeBand: string;
|
|
3571
|
+
memberCount: number;
|
|
3572
|
+
isActive: boolean;
|
|
3573
|
+
planTier: string;
|
|
3574
|
+
subscriptionStatus: string;
|
|
3575
|
+
createdAt: string;
|
|
3576
|
+
updatedAt: string;
|
|
3577
|
+
}
|
|
3578
|
+
export interface AdminOrganizationDetail {
|
|
3579
|
+
organization: AdminOrganization | undefined;
|
|
3580
|
+
stats: AdminOrganizationStats | undefined;
|
|
3581
|
+
subscription: AdminOrganizationSubscription | undefined;
|
|
3582
|
+
}
|
|
3583
|
+
export interface AdminOrganizationStats {
|
|
3584
|
+
totalMembers: number;
|
|
3585
|
+
owners: number;
|
|
3586
|
+
admins: number;
|
|
3587
|
+
managers: number;
|
|
3588
|
+
members: number;
|
|
3589
|
+
totalCommunities: number;
|
|
3590
|
+
pendingInvitations: number;
|
|
3591
|
+
}
|
|
3592
|
+
export interface AdminOrganizationMember {
|
|
3593
|
+
userId: string;
|
|
3594
|
+
username: string;
|
|
3595
|
+
fullName: string;
|
|
3596
|
+
email: string;
|
|
3597
|
+
accountType: string;
|
|
3598
|
+
role: string;
|
|
3599
|
+
status: string;
|
|
3600
|
+
avatarUrl: string;
|
|
3601
|
+
avatarEmoji: string;
|
|
3602
|
+
joinedAt: string;
|
|
3603
|
+
}
|
|
3604
|
+
export interface AdminOrganizationInvitation {
|
|
3605
|
+
id: string;
|
|
3606
|
+
organizationId: string;
|
|
3607
|
+
email: string;
|
|
3608
|
+
role: string;
|
|
3609
|
+
status: string;
|
|
3610
|
+
invitedByName: string;
|
|
3611
|
+
invitedById: string;
|
|
3612
|
+
acceptedByName: string;
|
|
3613
|
+
acceptedById: string;
|
|
3614
|
+
expiresAt: string;
|
|
3615
|
+
respondedAt: string;
|
|
3616
|
+
createdAt: string;
|
|
3617
|
+
}
|
|
3618
|
+
export interface AdminOrganizationPlan {
|
|
3619
|
+
id: string;
|
|
3620
|
+
name: string;
|
|
3621
|
+
slug: string;
|
|
3622
|
+
description: string;
|
|
3623
|
+
tier: string;
|
|
3624
|
+
billingInterval: string;
|
|
3625
|
+
priceAmount: number;
|
|
3626
|
+
priceCurrency: string;
|
|
3627
|
+
maxMembers: number;
|
|
3628
|
+
maxCommunities: number;
|
|
3629
|
+
features: string;
|
|
3630
|
+
isActive: boolean;
|
|
3631
|
+
sortOrder: number;
|
|
3632
|
+
createdAt: string;
|
|
3633
|
+
updatedAt: string;
|
|
3634
|
+
}
|
|
3635
|
+
export interface AdminOrganizationSubscription {
|
|
3636
|
+
id: string;
|
|
3637
|
+
organizationId: string;
|
|
3638
|
+
planId: string;
|
|
3639
|
+
planName: string;
|
|
3640
|
+
planTier: string;
|
|
3641
|
+
status: string;
|
|
3642
|
+
currentPeriodStart: string;
|
|
3643
|
+
currentPeriodEnd: string;
|
|
3644
|
+
cancelAtPeriodEnd: boolean;
|
|
3645
|
+
cancelledAt: string;
|
|
3646
|
+
createdAt: string;
|
|
3647
|
+
}
|
|
3648
|
+
export interface AdminOrganizationBillingEvent {
|
|
3649
|
+
id: string;
|
|
3650
|
+
organizationId: string;
|
|
3651
|
+
subscriptionId: string;
|
|
3652
|
+
eventType: string;
|
|
3653
|
+
amount: number;
|
|
3654
|
+
currency: string;
|
|
3655
|
+
status: string;
|
|
3656
|
+
description: string;
|
|
3657
|
+
invoiceUrl: string;
|
|
3658
|
+
createdAt: string;
|
|
3659
|
+
}
|
|
3660
|
+
export interface AdminOrganizationAuditLog {
|
|
3661
|
+
id: string;
|
|
3662
|
+
organizationId: string;
|
|
3663
|
+
actorId: string;
|
|
3664
|
+
actorName: string;
|
|
3665
|
+
action: string;
|
|
3666
|
+
description: string;
|
|
3667
|
+
targetType: string;
|
|
3668
|
+
targetId: string;
|
|
3669
|
+
ipAddress: string;
|
|
3670
|
+
createdAt: string;
|
|
3671
|
+
}
|
|
3672
|
+
export interface AdminGetOrganizationStatsResponse {
|
|
3673
|
+
totalOrganizations: number;
|
|
3674
|
+
activeOrganizations: number;
|
|
3675
|
+
inactiveOrganizations: number;
|
|
3676
|
+
totalMembers: number;
|
|
3677
|
+
totalInvitations: number;
|
|
3678
|
+
pendingInvitations: number;
|
|
3679
|
+
paidSubscriptions: number;
|
|
3680
|
+
freeOrganizations: number;
|
|
3681
|
+
newOrganizationsLast30Days: number;
|
|
3682
|
+
}
|
|
3683
|
+
export interface AdminListOrganizationsRequest {
|
|
3684
|
+
pagination: BaseListRequest | undefined;
|
|
3685
|
+
search: string;
|
|
3686
|
+
status: string;
|
|
3687
|
+
planTier: string;
|
|
3688
|
+
industry: string;
|
|
3689
|
+
}
|
|
3690
|
+
export interface AdminListOrganizationsResponse {
|
|
3691
|
+
organizations: AdminOrganization[];
|
|
3692
|
+
}
|
|
3693
|
+
export interface AdminGetOrganizationRequest {
|
|
3694
|
+
id: string;
|
|
3695
|
+
}
|
|
3696
|
+
export interface AdminGetOrganizationResponse {
|
|
3697
|
+
detail: AdminOrganizationDetail | undefined;
|
|
3698
|
+
}
|
|
3699
|
+
export interface AdminCreateOrganizationRequest {
|
|
3700
|
+
name: string;
|
|
3701
|
+
description: string;
|
|
3702
|
+
ownerUserId: string;
|
|
3703
|
+
logoUrl: string;
|
|
3704
|
+
coverImageUrl: string;
|
|
3705
|
+
domain: string;
|
|
3706
|
+
industry: string;
|
|
3707
|
+
sizeBand: string;
|
|
3708
|
+
planId: string;
|
|
3709
|
+
}
|
|
3710
|
+
export interface AdminCreateOrganizationResponse {
|
|
3711
|
+
organization: AdminOrganization | undefined;
|
|
3712
|
+
}
|
|
3713
|
+
export interface AdminUpdateOrganizationRequest {
|
|
3714
|
+
id: string;
|
|
3715
|
+
name?: string | undefined;
|
|
3716
|
+
description?: string | undefined;
|
|
3717
|
+
logoUrl?: string | undefined;
|
|
3718
|
+
coverImageUrl?: string | undefined;
|
|
3719
|
+
domain?: string | undefined;
|
|
3720
|
+
industry?: string | undefined;
|
|
3721
|
+
sizeBand?: string | undefined;
|
|
3722
|
+
isActive?: boolean | undefined;
|
|
3723
|
+
}
|
|
3724
|
+
export interface AdminUpdateOrganizationResponse {
|
|
3725
|
+
organization: AdminOrganization | undefined;
|
|
3726
|
+
}
|
|
3727
|
+
export interface AdminListOrganizationMembersRequest {
|
|
3728
|
+
organizationId: string;
|
|
3729
|
+
pagination: BaseListRequest | undefined;
|
|
3730
|
+
search: string;
|
|
3731
|
+
role: string;
|
|
3732
|
+
}
|
|
3733
|
+
export interface AdminListOrganizationMembersResponse {
|
|
3734
|
+
members: AdminOrganizationMember[];
|
|
3735
|
+
stats: AdminOrganizationStats | undefined;
|
|
3736
|
+
}
|
|
3737
|
+
export interface AdminAddOrganizationMemberRequest {
|
|
3738
|
+
organizationId: string;
|
|
3739
|
+
userId: string;
|
|
3740
|
+
role: string;
|
|
3741
|
+
}
|
|
3742
|
+
export interface AdminAddOrganizationMemberResponse {
|
|
3743
|
+
message: string;
|
|
3744
|
+
}
|
|
3745
|
+
export interface AdminUpdateOrganizationMemberRoleRequest {
|
|
3746
|
+
organizationId: string;
|
|
3747
|
+
userId: string;
|
|
3748
|
+
role: string;
|
|
3749
|
+
}
|
|
3750
|
+
export interface AdminUpdateOrganizationMemberRoleResponse {
|
|
3751
|
+
organizationId: string;
|
|
3752
|
+
userId: string;
|
|
3753
|
+
role: string;
|
|
3754
|
+
message: string;
|
|
3755
|
+
}
|
|
3756
|
+
export interface AdminRemoveOrganizationMemberRequest {
|
|
3757
|
+
organizationId: string;
|
|
3758
|
+
userId: string;
|
|
3759
|
+
}
|
|
3760
|
+
export interface AdminRemoveOrganizationMemberResponse {
|
|
3761
|
+
message: string;
|
|
3762
|
+
}
|
|
3763
|
+
export interface AdminListOrganizationInvitationsRequest {
|
|
3764
|
+
organizationId: string;
|
|
3765
|
+
pagination: BaseListRequest | undefined;
|
|
3766
|
+
status: string;
|
|
3767
|
+
}
|
|
3768
|
+
export interface AdminListOrganizationInvitationsResponse {
|
|
3769
|
+
invitations: AdminOrganizationInvitation[];
|
|
3770
|
+
}
|
|
3771
|
+
export interface AdminCreateOrganizationInvitationRequest {
|
|
3772
|
+
organizationId: string;
|
|
3773
|
+
email: string;
|
|
3774
|
+
role: string;
|
|
3775
|
+
}
|
|
3776
|
+
export interface AdminCreateOrganizationInvitationResponse {
|
|
3777
|
+
invitation: AdminOrganizationInvitation | undefined;
|
|
3778
|
+
}
|
|
3779
|
+
export interface AdminRevokeOrganizationInvitationRequest {
|
|
3780
|
+
organizationId: string;
|
|
3781
|
+
invitationId: string;
|
|
3782
|
+
}
|
|
3783
|
+
export interface AdminRevokeOrganizationInvitationResponse {
|
|
3784
|
+
message: string;
|
|
3785
|
+
}
|
|
3786
|
+
export interface AdminListOrganizationPlansRequest {
|
|
3787
|
+
pagination: BaseListRequest | undefined;
|
|
3788
|
+
}
|
|
3789
|
+
export interface AdminListOrganizationPlansResponse {
|
|
3790
|
+
plans: AdminOrganizationPlan[];
|
|
3791
|
+
}
|
|
3792
|
+
export interface AdminCreateOrganizationPlanRequest {
|
|
3793
|
+
name: string;
|
|
3794
|
+
slug: string;
|
|
3795
|
+
description: string;
|
|
3796
|
+
tier: string;
|
|
3797
|
+
billingInterval: string;
|
|
3798
|
+
priceAmount: number;
|
|
3799
|
+
priceCurrency: string;
|
|
3800
|
+
maxMembers: number;
|
|
3801
|
+
maxCommunities: number;
|
|
3802
|
+
features: string;
|
|
3803
|
+
isActive: boolean;
|
|
3804
|
+
sortOrder: number;
|
|
3805
|
+
}
|
|
3806
|
+
export interface AdminCreateOrganizationPlanResponse {
|
|
3807
|
+
plan: AdminOrganizationPlan | undefined;
|
|
3808
|
+
}
|
|
3809
|
+
export interface AdminUpdateOrganizationPlanRequest {
|
|
3810
|
+
id: string;
|
|
3811
|
+
name?: string | undefined;
|
|
3812
|
+
description?: string | undefined;
|
|
3813
|
+
priceAmount?: number | undefined;
|
|
3814
|
+
maxMembers?: number | undefined;
|
|
3815
|
+
maxCommunities?: number | undefined;
|
|
3816
|
+
features?: string | undefined;
|
|
3817
|
+
isActive?: boolean | undefined;
|
|
3818
|
+
sortOrder?: number | undefined;
|
|
3819
|
+
}
|
|
3820
|
+
export interface AdminUpdateOrganizationPlanResponse {
|
|
3821
|
+
plan: AdminOrganizationPlan | undefined;
|
|
3822
|
+
}
|
|
3823
|
+
export interface AdminGetOrganizationSubscriptionRequest {
|
|
3824
|
+
organizationId: string;
|
|
3825
|
+
}
|
|
3826
|
+
export interface AdminGetOrganizationSubscriptionResponse {
|
|
3827
|
+
subscription: AdminOrganizationSubscription | undefined;
|
|
3828
|
+
}
|
|
3829
|
+
export interface AdminAssignOrganizationPlanRequest {
|
|
3830
|
+
organizationId: string;
|
|
3831
|
+
planId: string;
|
|
3832
|
+
}
|
|
3833
|
+
export interface AdminAssignOrganizationPlanResponse {
|
|
3834
|
+
subscription: AdminOrganizationSubscription | undefined;
|
|
3835
|
+
message: string;
|
|
3836
|
+
}
|
|
3837
|
+
export interface AdminListOrganizationBillingEventsRequest {
|
|
3838
|
+
organizationId: string;
|
|
3839
|
+
pagination: BaseListRequest | undefined;
|
|
3840
|
+
eventType: string;
|
|
3841
|
+
}
|
|
3842
|
+
export interface AdminListOrganizationBillingEventsResponse {
|
|
3843
|
+
events: AdminOrganizationBillingEvent[];
|
|
3844
|
+
}
|
|
3845
|
+
export interface AdminListOrganizationAuditLogsRequest {
|
|
3846
|
+
organizationId: string;
|
|
3847
|
+
pagination: BaseListRequest | undefined;
|
|
3848
|
+
action: string;
|
|
3849
|
+
actorId: string;
|
|
3850
|
+
}
|
|
3851
|
+
export interface AdminListOrganizationAuditLogsResponse {
|
|
3852
|
+
logs: AdminOrganizationAuditLog[];
|
|
3853
|
+
}
|
|
3854
|
+
export interface AdminOrganizationTherapist {
|
|
3855
|
+
id: string;
|
|
3856
|
+
therapistId: string;
|
|
3857
|
+
therapistName: string;
|
|
3858
|
+
therapistEmail: string;
|
|
3859
|
+
therapistAvatarUrl: string;
|
|
3860
|
+
status: string;
|
|
3861
|
+
maxSessionsPerMember: number;
|
|
3862
|
+
sessionRateOverride: number;
|
|
3863
|
+
priority: number;
|
|
3864
|
+
specialtiesFilter: string;
|
|
3865
|
+
notes: string;
|
|
3866
|
+
specialties: string;
|
|
3867
|
+
rating: number;
|
|
3868
|
+
reviewCount: number;
|
|
3869
|
+
sessionTypes: string;
|
|
3870
|
+
verificationStatus: string;
|
|
3871
|
+
createdAt: string;
|
|
3872
|
+
updatedAt: string;
|
|
3873
|
+
}
|
|
3874
|
+
export interface AdminListOrganizationTherapistsRequest {
|
|
3875
|
+
organizationId: string;
|
|
3876
|
+
pagination: BaseListRequest | undefined;
|
|
3877
|
+
status: string;
|
|
3878
|
+
}
|
|
3879
|
+
export interface AdminListOrganizationTherapistsResponse {
|
|
3880
|
+
therapists: AdminOrganizationTherapist[];
|
|
3881
|
+
totalCount: number;
|
|
3882
|
+
}
|
|
3883
|
+
export interface AdminAssignOrganizationTherapistRequest {
|
|
3884
|
+
organizationId: string;
|
|
3885
|
+
therapistId: string;
|
|
3886
|
+
maxSessionsPerMember: number;
|
|
3887
|
+
sessionRateOverride: number;
|
|
3888
|
+
priority: number;
|
|
3889
|
+
specialtiesFilter: string;
|
|
3890
|
+
notes: string;
|
|
3891
|
+
}
|
|
3892
|
+
export interface AdminAssignOrganizationTherapistResponse {
|
|
3893
|
+
therapist: AdminOrganizationTherapist | undefined;
|
|
3894
|
+
message: string;
|
|
3895
|
+
}
|
|
3896
|
+
export interface AdminUpdateOrganizationTherapistRequest {
|
|
3897
|
+
organizationId: string;
|
|
3898
|
+
therapistId: string;
|
|
3899
|
+
status?: string | undefined;
|
|
3900
|
+
maxSessionsPerMember?: number | undefined;
|
|
3901
|
+
sessionRateOverride?: number | undefined;
|
|
3902
|
+
priority?: number | undefined;
|
|
3903
|
+
specialtiesFilter?: string | undefined;
|
|
3904
|
+
notes?: string | undefined;
|
|
3905
|
+
}
|
|
3906
|
+
export interface AdminUpdateOrganizationTherapistResponse {
|
|
3907
|
+
therapist: AdminOrganizationTherapist | undefined;
|
|
3908
|
+
}
|
|
3909
|
+
export interface AdminRemoveOrganizationTherapistRequest {
|
|
3910
|
+
organizationId: string;
|
|
3911
|
+
therapistId: string;
|
|
3912
|
+
}
|
|
3913
|
+
export interface AdminRemoveOrganizationTherapistResponse {
|
|
3914
|
+
message: string;
|
|
3915
|
+
}
|
|
3916
|
+
export interface AdminSuspendOrganizationMemberRequest {
|
|
3917
|
+
organizationId: string;
|
|
3918
|
+
userId: string;
|
|
3919
|
+
}
|
|
3920
|
+
export interface AdminSuspendOrganizationMemberResponse {
|
|
3921
|
+
message: string;
|
|
3922
|
+
}
|
|
3923
|
+
export interface AdminUnsuspendOrganizationMemberRequest {
|
|
3924
|
+
organizationId: string;
|
|
3925
|
+
userId: string;
|
|
3926
|
+
}
|
|
3927
|
+
export interface AdminUnsuspendOrganizationMemberResponse {
|
|
3928
|
+
message: string;
|
|
3929
|
+
}
|
|
3930
|
+
export interface AdminTransferOrganizationOwnershipRequest {
|
|
3931
|
+
organizationId: string;
|
|
3932
|
+
newOwnerId: string;
|
|
3933
|
+
}
|
|
3934
|
+
export interface AdminTransferOrganizationOwnershipResponse {
|
|
3935
|
+
message: string;
|
|
3936
|
+
}
|
|
3937
|
+
export interface AdminArchiveOrganizationRequest {
|
|
3938
|
+
organizationId: string;
|
|
3939
|
+
}
|
|
3940
|
+
export interface AdminArchiveOrganizationResponse {
|
|
3941
|
+
message: string;
|
|
3942
|
+
}
|
|
3943
|
+
export interface AdminUnarchiveOrganizationRequest {
|
|
3944
|
+
organizationId: string;
|
|
3945
|
+
}
|
|
3946
|
+
export interface AdminUnarchiveOrganizationResponse {
|
|
3947
|
+
message: string;
|
|
3948
|
+
}
|
|
3949
|
+
export interface AdminBulkTransferCreditsRequest {
|
|
3950
|
+
organizationId: string;
|
|
3951
|
+
recipientType: string;
|
|
3952
|
+
amountTc: number;
|
|
3953
|
+
description: string;
|
|
3954
|
+
recipientIds: string[];
|
|
3955
|
+
}
|
|
3956
|
+
export interface AdminBulkTransferCreditsResponse {
|
|
3957
|
+
recipientsCount: number;
|
|
3958
|
+
totalAmountTc: number;
|
|
3959
|
+
message: string;
|
|
3960
|
+
}
|
|
3961
|
+
export interface AdminLoungeStats {
|
|
3962
|
+
totalConsultations: number;
|
|
3963
|
+
openConsultations: number;
|
|
3964
|
+
totalResources: number;
|
|
3965
|
+
publishedResources: number;
|
|
3966
|
+
totalReferrals: number;
|
|
3967
|
+
pendingReferrals: number;
|
|
3968
|
+
totalBoards: number;
|
|
3969
|
+
activeBoards: number;
|
|
3970
|
+
}
|
|
3971
|
+
export interface AdminLoungeConsultationItem {
|
|
3972
|
+
id: string;
|
|
3973
|
+
requesterId: string;
|
|
3974
|
+
requesterName: string;
|
|
3975
|
+
requesterAvatar: string;
|
|
3976
|
+
requesterUsername: string;
|
|
3977
|
+
title: string;
|
|
3978
|
+
description: string;
|
|
3979
|
+
specialties: string[];
|
|
3980
|
+
urgency: string;
|
|
3981
|
+
status: string;
|
|
3982
|
+
visibility: string;
|
|
3983
|
+
anonymized: boolean;
|
|
3984
|
+
responsesCount: number;
|
|
3985
|
+
acceptedResponses: number;
|
|
3986
|
+
createdAt: string;
|
|
3987
|
+
updatedAt: string;
|
|
3988
|
+
}
|
|
3989
|
+
export interface AdminListLoungeConsultationsRequest {
|
|
3990
|
+
pagination: BaseListRequest | undefined;
|
|
3991
|
+
status: string;
|
|
3992
|
+
search: string;
|
|
3993
|
+
}
|
|
3994
|
+
export interface AdminListLoungeConsultationsResponse {
|
|
3995
|
+
consultations: AdminLoungeConsultationItem[];
|
|
3996
|
+
totalCount: number;
|
|
3997
|
+
}
|
|
3998
|
+
export interface AdminGetLoungeConsultationRequest {
|
|
3999
|
+
id: string;
|
|
4000
|
+
}
|
|
4001
|
+
export interface AdminGetLoungeConsultationResponse {
|
|
4002
|
+
consultation: AdminLoungeConsultationItem | undefined;
|
|
4003
|
+
}
|
|
4004
|
+
export interface AdminLoungeResourceItem {
|
|
4005
|
+
id: string;
|
|
4006
|
+
authorId: string;
|
|
4007
|
+
authorName: string;
|
|
4008
|
+
authorAvatar: string;
|
|
4009
|
+
authorUsername: string;
|
|
4010
|
+
title: string;
|
|
4011
|
+
description: string;
|
|
4012
|
+
resourceType: string;
|
|
4013
|
+
content: string;
|
|
4014
|
+
fileUrl: string;
|
|
4015
|
+
thumbnailUrl: string;
|
|
4016
|
+
specialties: string[];
|
|
4017
|
+
tags: string[];
|
|
4018
|
+
isFeatured: boolean;
|
|
4019
|
+
downloadCount: number;
|
|
4020
|
+
viewCount: number;
|
|
4021
|
+
status: string;
|
|
4022
|
+
createdAt: string;
|
|
4023
|
+
updatedAt: string;
|
|
4024
|
+
}
|
|
4025
|
+
export interface AdminListLoungeResourcesRequest {
|
|
4026
|
+
pagination: BaseListRequest | undefined;
|
|
4027
|
+
status: string;
|
|
4028
|
+
resourceType: string;
|
|
4029
|
+
search: string;
|
|
4030
|
+
}
|
|
4031
|
+
export interface AdminListLoungeResourcesResponse {
|
|
4032
|
+
resources: AdminLoungeResourceItem[];
|
|
4033
|
+
totalCount: number;
|
|
4034
|
+
}
|
|
4035
|
+
export interface AdminGetLoungeResourceRequest {
|
|
4036
|
+
id: string;
|
|
4037
|
+
}
|
|
4038
|
+
export interface AdminGetLoungeResourceResponse {
|
|
4039
|
+
resource: AdminLoungeResourceItem | undefined;
|
|
4040
|
+
}
|
|
4041
|
+
export interface AdminSetLoungeResourceFeaturedRequest {
|
|
4042
|
+
id: string;
|
|
4043
|
+
featured: boolean;
|
|
4044
|
+
}
|
|
4045
|
+
export interface AdminLoungeReferralItem {
|
|
4046
|
+
id: string;
|
|
4047
|
+
referringTherapistId: string;
|
|
4048
|
+
receivingTherapistId: string;
|
|
4049
|
+
referringName: string;
|
|
4050
|
+
referringAvatar: string;
|
|
4051
|
+
referringUsername: string;
|
|
4052
|
+
receivingName: string;
|
|
4053
|
+
receivingAvatar: string;
|
|
4054
|
+
receivingUsername: string;
|
|
4055
|
+
clientName: string;
|
|
4056
|
+
clientEmail: string;
|
|
4057
|
+
reason: string;
|
|
4058
|
+
specialtiesNeeded: string[];
|
|
4059
|
+
status: string;
|
|
4060
|
+
notes: string;
|
|
4061
|
+
respondedAt: string;
|
|
4062
|
+
createdAt: string;
|
|
4063
|
+
updatedAt: string;
|
|
4064
|
+
}
|
|
4065
|
+
export interface AdminListLoungeReferralsRequest {
|
|
4066
|
+
pagination: BaseListRequest | undefined;
|
|
4067
|
+
status: string;
|
|
4068
|
+
search: string;
|
|
4069
|
+
}
|
|
4070
|
+
export interface AdminListLoungeReferralsResponse {
|
|
4071
|
+
referrals: AdminLoungeReferralItem[];
|
|
4072
|
+
totalCount: number;
|
|
4073
|
+
}
|
|
4074
|
+
export interface AdminLoungeBoardItem {
|
|
4075
|
+
id: string;
|
|
4076
|
+
groupId: string;
|
|
4077
|
+
groupName: string;
|
|
4078
|
+
communityId: string;
|
|
4079
|
+
groupPrivacy: string;
|
|
4080
|
+
memberCount: number;
|
|
4081
|
+
createdBy: string;
|
|
4082
|
+
createdByName: string;
|
|
4083
|
+
createdByAvatar: string;
|
|
4084
|
+
createdByUsername: string;
|
|
4085
|
+
title: string;
|
|
4086
|
+
description: string;
|
|
4087
|
+
topic: string;
|
|
4088
|
+
boardType: string;
|
|
4089
|
+
specialties: string[];
|
|
4090
|
+
isFeatured: boolean;
|
|
4091
|
+
isActive: boolean;
|
|
4092
|
+
createdAt: string;
|
|
4093
|
+
updatedAt: string;
|
|
4094
|
+
}
|
|
4095
|
+
export interface AdminListLoungeBoardsRequest {
|
|
4096
|
+
pagination: BaseListRequest | undefined;
|
|
4097
|
+
boardType: string;
|
|
4098
|
+
search: string;
|
|
4099
|
+
}
|
|
4100
|
+
export interface AdminListLoungeBoardsResponse {
|
|
4101
|
+
boards: AdminLoungeBoardItem[];
|
|
4102
|
+
totalCount: number;
|
|
4103
|
+
}
|
|
4104
|
+
export interface AdminSetLoungeBoardActiveRequest {
|
|
4105
|
+
id: string;
|
|
4106
|
+
active: boolean;
|
|
4107
|
+
}
|
|
3554
4108
|
export declare const AdminAuthUser: MessageFns<AdminAuthUser>;
|
|
3555
4109
|
export declare const AdminSession: MessageFns<AdminSession>;
|
|
3556
4110
|
export declare const AdminLoginRequest: MessageFns<AdminLoginRequest>;
|
|
@@ -4008,6 +4562,92 @@ export declare const AdminUpdateBundleRequest: MessageFns<AdminUpdateBundleReque
|
|
|
4008
4562
|
export declare const AdminBundleResponse: MessageFns<AdminBundleResponse>;
|
|
4009
4563
|
export declare const RefreshConversionRatesRequest: MessageFns<RefreshConversionRatesRequest>;
|
|
4010
4564
|
export declare const RefreshConversionRatesResponse: MessageFns<RefreshConversionRatesResponse>;
|
|
4565
|
+
export declare const AdminOrganization: MessageFns<AdminOrganization>;
|
|
4566
|
+
export declare const AdminOrganizationDetail: MessageFns<AdminOrganizationDetail>;
|
|
4567
|
+
export declare const AdminOrganizationStats: MessageFns<AdminOrganizationStats>;
|
|
4568
|
+
export declare const AdminOrganizationMember: MessageFns<AdminOrganizationMember>;
|
|
4569
|
+
export declare const AdminOrganizationInvitation: MessageFns<AdminOrganizationInvitation>;
|
|
4570
|
+
export declare const AdminOrganizationPlan: MessageFns<AdminOrganizationPlan>;
|
|
4571
|
+
export declare const AdminOrganizationSubscription: MessageFns<AdminOrganizationSubscription>;
|
|
4572
|
+
export declare const AdminOrganizationBillingEvent: MessageFns<AdminOrganizationBillingEvent>;
|
|
4573
|
+
export declare const AdminOrganizationAuditLog: MessageFns<AdminOrganizationAuditLog>;
|
|
4574
|
+
export declare const AdminGetOrganizationStatsResponse: MessageFns<AdminGetOrganizationStatsResponse>;
|
|
4575
|
+
export declare const AdminListOrganizationsRequest: MessageFns<AdminListOrganizationsRequest>;
|
|
4576
|
+
export declare const AdminListOrganizationsResponse: MessageFns<AdminListOrganizationsResponse>;
|
|
4577
|
+
export declare const AdminGetOrganizationRequest: MessageFns<AdminGetOrganizationRequest>;
|
|
4578
|
+
export declare const AdminGetOrganizationResponse: MessageFns<AdminGetOrganizationResponse>;
|
|
4579
|
+
export declare const AdminCreateOrganizationRequest: MessageFns<AdminCreateOrganizationRequest>;
|
|
4580
|
+
export declare const AdminCreateOrganizationResponse: MessageFns<AdminCreateOrganizationResponse>;
|
|
4581
|
+
export declare const AdminUpdateOrganizationRequest: MessageFns<AdminUpdateOrganizationRequest>;
|
|
4582
|
+
export declare const AdminUpdateOrganizationResponse: MessageFns<AdminUpdateOrganizationResponse>;
|
|
4583
|
+
export declare const AdminListOrganizationMembersRequest: MessageFns<AdminListOrganizationMembersRequest>;
|
|
4584
|
+
export declare const AdminListOrganizationMembersResponse: MessageFns<AdminListOrganizationMembersResponse>;
|
|
4585
|
+
export declare const AdminAddOrganizationMemberRequest: MessageFns<AdminAddOrganizationMemberRequest>;
|
|
4586
|
+
export declare const AdminAddOrganizationMemberResponse: MessageFns<AdminAddOrganizationMemberResponse>;
|
|
4587
|
+
export declare const AdminUpdateOrganizationMemberRoleRequest: MessageFns<AdminUpdateOrganizationMemberRoleRequest>;
|
|
4588
|
+
export declare const AdminUpdateOrganizationMemberRoleResponse: MessageFns<AdminUpdateOrganizationMemberRoleResponse>;
|
|
4589
|
+
export declare const AdminRemoveOrganizationMemberRequest: MessageFns<AdminRemoveOrganizationMemberRequest>;
|
|
4590
|
+
export declare const AdminRemoveOrganizationMemberResponse: MessageFns<AdminRemoveOrganizationMemberResponse>;
|
|
4591
|
+
export declare const AdminListOrganizationInvitationsRequest: MessageFns<AdminListOrganizationInvitationsRequest>;
|
|
4592
|
+
export declare const AdminListOrganizationInvitationsResponse: MessageFns<AdminListOrganizationInvitationsResponse>;
|
|
4593
|
+
export declare const AdminCreateOrganizationInvitationRequest: MessageFns<AdminCreateOrganizationInvitationRequest>;
|
|
4594
|
+
export declare const AdminCreateOrganizationInvitationResponse: MessageFns<AdminCreateOrganizationInvitationResponse>;
|
|
4595
|
+
export declare const AdminRevokeOrganizationInvitationRequest: MessageFns<AdminRevokeOrganizationInvitationRequest>;
|
|
4596
|
+
export declare const AdminRevokeOrganizationInvitationResponse: MessageFns<AdminRevokeOrganizationInvitationResponse>;
|
|
4597
|
+
export declare const AdminListOrganizationPlansRequest: MessageFns<AdminListOrganizationPlansRequest>;
|
|
4598
|
+
export declare const AdminListOrganizationPlansResponse: MessageFns<AdminListOrganizationPlansResponse>;
|
|
4599
|
+
export declare const AdminCreateOrganizationPlanRequest: MessageFns<AdminCreateOrganizationPlanRequest>;
|
|
4600
|
+
export declare const AdminCreateOrganizationPlanResponse: MessageFns<AdminCreateOrganizationPlanResponse>;
|
|
4601
|
+
export declare const AdminUpdateOrganizationPlanRequest: MessageFns<AdminUpdateOrganizationPlanRequest>;
|
|
4602
|
+
export declare const AdminUpdateOrganizationPlanResponse: MessageFns<AdminUpdateOrganizationPlanResponse>;
|
|
4603
|
+
export declare const AdminGetOrganizationSubscriptionRequest: MessageFns<AdminGetOrganizationSubscriptionRequest>;
|
|
4604
|
+
export declare const AdminGetOrganizationSubscriptionResponse: MessageFns<AdminGetOrganizationSubscriptionResponse>;
|
|
4605
|
+
export declare const AdminAssignOrganizationPlanRequest: MessageFns<AdminAssignOrganizationPlanRequest>;
|
|
4606
|
+
export declare const AdminAssignOrganizationPlanResponse: MessageFns<AdminAssignOrganizationPlanResponse>;
|
|
4607
|
+
export declare const AdminListOrganizationBillingEventsRequest: MessageFns<AdminListOrganizationBillingEventsRequest>;
|
|
4608
|
+
export declare const AdminListOrganizationBillingEventsResponse: MessageFns<AdminListOrganizationBillingEventsResponse>;
|
|
4609
|
+
export declare const AdminListOrganizationAuditLogsRequest: MessageFns<AdminListOrganizationAuditLogsRequest>;
|
|
4610
|
+
export declare const AdminListOrganizationAuditLogsResponse: MessageFns<AdminListOrganizationAuditLogsResponse>;
|
|
4611
|
+
export declare const AdminOrganizationTherapist: MessageFns<AdminOrganizationTherapist>;
|
|
4612
|
+
export declare const AdminListOrganizationTherapistsRequest: MessageFns<AdminListOrganizationTherapistsRequest>;
|
|
4613
|
+
export declare const AdminListOrganizationTherapistsResponse: MessageFns<AdminListOrganizationTherapistsResponse>;
|
|
4614
|
+
export declare const AdminAssignOrganizationTherapistRequest: MessageFns<AdminAssignOrganizationTherapistRequest>;
|
|
4615
|
+
export declare const AdminAssignOrganizationTherapistResponse: MessageFns<AdminAssignOrganizationTherapistResponse>;
|
|
4616
|
+
export declare const AdminUpdateOrganizationTherapistRequest: MessageFns<AdminUpdateOrganizationTherapistRequest>;
|
|
4617
|
+
export declare const AdminUpdateOrganizationTherapistResponse: MessageFns<AdminUpdateOrganizationTherapistResponse>;
|
|
4618
|
+
export declare const AdminRemoveOrganizationTherapistRequest: MessageFns<AdminRemoveOrganizationTherapistRequest>;
|
|
4619
|
+
export declare const AdminRemoveOrganizationTherapistResponse: MessageFns<AdminRemoveOrganizationTherapistResponse>;
|
|
4620
|
+
export declare const AdminSuspendOrganizationMemberRequest: MessageFns<AdminSuspendOrganizationMemberRequest>;
|
|
4621
|
+
export declare const AdminSuspendOrganizationMemberResponse: MessageFns<AdminSuspendOrganizationMemberResponse>;
|
|
4622
|
+
export declare const AdminUnsuspendOrganizationMemberRequest: MessageFns<AdminUnsuspendOrganizationMemberRequest>;
|
|
4623
|
+
export declare const AdminUnsuspendOrganizationMemberResponse: MessageFns<AdminUnsuspendOrganizationMemberResponse>;
|
|
4624
|
+
export declare const AdminTransferOrganizationOwnershipRequest: MessageFns<AdminTransferOrganizationOwnershipRequest>;
|
|
4625
|
+
export declare const AdminTransferOrganizationOwnershipResponse: MessageFns<AdminTransferOrganizationOwnershipResponse>;
|
|
4626
|
+
export declare const AdminArchiveOrganizationRequest: MessageFns<AdminArchiveOrganizationRequest>;
|
|
4627
|
+
export declare const AdminArchiveOrganizationResponse: MessageFns<AdminArchiveOrganizationResponse>;
|
|
4628
|
+
export declare const AdminUnarchiveOrganizationRequest: MessageFns<AdminUnarchiveOrganizationRequest>;
|
|
4629
|
+
export declare const AdminUnarchiveOrganizationResponse: MessageFns<AdminUnarchiveOrganizationResponse>;
|
|
4630
|
+
export declare const AdminBulkTransferCreditsRequest: MessageFns<AdminBulkTransferCreditsRequest>;
|
|
4631
|
+
export declare const AdminBulkTransferCreditsResponse: MessageFns<AdminBulkTransferCreditsResponse>;
|
|
4632
|
+
export declare const AdminLoungeStats: MessageFns<AdminLoungeStats>;
|
|
4633
|
+
export declare const AdminLoungeConsultationItem: MessageFns<AdminLoungeConsultationItem>;
|
|
4634
|
+
export declare const AdminListLoungeConsultationsRequest: MessageFns<AdminListLoungeConsultationsRequest>;
|
|
4635
|
+
export declare const AdminListLoungeConsultationsResponse: MessageFns<AdminListLoungeConsultationsResponse>;
|
|
4636
|
+
export declare const AdminGetLoungeConsultationRequest: MessageFns<AdminGetLoungeConsultationRequest>;
|
|
4637
|
+
export declare const AdminGetLoungeConsultationResponse: MessageFns<AdminGetLoungeConsultationResponse>;
|
|
4638
|
+
export declare const AdminLoungeResourceItem: MessageFns<AdminLoungeResourceItem>;
|
|
4639
|
+
export declare const AdminListLoungeResourcesRequest: MessageFns<AdminListLoungeResourcesRequest>;
|
|
4640
|
+
export declare const AdminListLoungeResourcesResponse: MessageFns<AdminListLoungeResourcesResponse>;
|
|
4641
|
+
export declare const AdminGetLoungeResourceRequest: MessageFns<AdminGetLoungeResourceRequest>;
|
|
4642
|
+
export declare const AdminGetLoungeResourceResponse: MessageFns<AdminGetLoungeResourceResponse>;
|
|
4643
|
+
export declare const AdminSetLoungeResourceFeaturedRequest: MessageFns<AdminSetLoungeResourceFeaturedRequest>;
|
|
4644
|
+
export declare const AdminLoungeReferralItem: MessageFns<AdminLoungeReferralItem>;
|
|
4645
|
+
export declare const AdminListLoungeReferralsRequest: MessageFns<AdminListLoungeReferralsRequest>;
|
|
4646
|
+
export declare const AdminListLoungeReferralsResponse: MessageFns<AdminListLoungeReferralsResponse>;
|
|
4647
|
+
export declare const AdminLoungeBoardItem: MessageFns<AdminLoungeBoardItem>;
|
|
4648
|
+
export declare const AdminListLoungeBoardsRequest: MessageFns<AdminListLoungeBoardsRequest>;
|
|
4649
|
+
export declare const AdminListLoungeBoardsResponse: MessageFns<AdminListLoungeBoardsResponse>;
|
|
4650
|
+
export declare const AdminSetLoungeBoardActiveRequest: MessageFns<AdminSetLoungeBoardActiveRequest>;
|
|
4011
4651
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
4012
4652
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
4013
4653
|
[K in keyof T]?: DeepPartial<T[K]>;
|