theragist-ts 1.0.49 → 1.0.51
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 +691 -0
- package/dist/admin/message.js +38410 -28282
- package/dist/admin/service.d.ts +553 -1
- package/dist/admin/service.js +2993 -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 +10 -6
- package/dist/index.js +1406 -1142
- package/dist/lookup/message.d.ts +17 -0
- package/dist/lookup/message.js +224 -1
- package/dist/lookup/service.d.ts +13 -1
- package/dist/lookup/service.js +40 -0
- package/dist/lounge/message.d.ts +624 -0
- package/dist/lounge/message.js +8919 -0
- package/dist/lounge/service.d.ts +466 -0
- package/dist/lounge/service.js +2071 -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
|
@@ -327,6 +327,48 @@ export interface DeleteAppSettingRequest {
|
|
|
327
327
|
category: string;
|
|
328
328
|
key: string;
|
|
329
329
|
}
|
|
330
|
+
export interface LookupAvatarOption {
|
|
331
|
+
id: string;
|
|
332
|
+
label: string;
|
|
333
|
+
emoji: string;
|
|
334
|
+
avatarUrl: string;
|
|
335
|
+
description: string;
|
|
336
|
+
background: string;
|
|
337
|
+
}
|
|
338
|
+
export interface ListLookupAvatarsRequest {
|
|
339
|
+
}
|
|
340
|
+
export interface ListLookupAvatarsResponse {
|
|
341
|
+
avatars: LookupAvatarOption[];
|
|
342
|
+
}
|
|
343
|
+
export interface CreateLookupAvatarRequest {
|
|
344
|
+
id: string;
|
|
345
|
+
label: string;
|
|
346
|
+
emoji: string;
|
|
347
|
+
avatarUrl: string;
|
|
348
|
+
description: string;
|
|
349
|
+
background: string;
|
|
350
|
+
}
|
|
351
|
+
export interface CreateLookupAvatarResponse {
|
|
352
|
+
avatar: LookupAvatarOption | undefined;
|
|
353
|
+
}
|
|
354
|
+
export interface UpdateLookupAvatarRequest {
|
|
355
|
+
avatarId: string;
|
|
356
|
+
label: string;
|
|
357
|
+
emoji: string;
|
|
358
|
+
avatarUrl: string;
|
|
359
|
+
description: string;
|
|
360
|
+
background: string;
|
|
361
|
+
}
|
|
362
|
+
export interface UpdateLookupAvatarResponse {
|
|
363
|
+
avatar: LookupAvatarOption | undefined;
|
|
364
|
+
}
|
|
365
|
+
export interface DeleteLookupAvatarRequest {
|
|
366
|
+
avatarId: string;
|
|
367
|
+
}
|
|
368
|
+
export interface DeleteLookupAvatarResponse {
|
|
369
|
+
deleted: boolean;
|
|
370
|
+
avatarId: string;
|
|
371
|
+
}
|
|
330
372
|
export interface DashboardMetric {
|
|
331
373
|
value: number;
|
|
332
374
|
delta: number;
|
|
@@ -550,6 +592,7 @@ export interface UpdateManagedUserRequest {
|
|
|
550
592
|
therapeuticApproach: string;
|
|
551
593
|
defaultResponseMessage: string;
|
|
552
594
|
yearsPracticing: string;
|
|
595
|
+
featured?: boolean | undefined;
|
|
553
596
|
}
|
|
554
597
|
export interface ManagedUserAccountSettings {
|
|
555
598
|
twoFactorEnabled: boolean;
|
|
@@ -1134,6 +1177,7 @@ export interface AdminTherapist {
|
|
|
1134
1177
|
specializations: string[];
|
|
1135
1178
|
joinedAt: string;
|
|
1136
1179
|
avatarUrl: string;
|
|
1180
|
+
featured: boolean;
|
|
1137
1181
|
}
|
|
1138
1182
|
export interface ListAdminTherapistsRequest {
|
|
1139
1183
|
pagination: BaseListRequest | undefined;
|
|
@@ -1142,6 +1186,7 @@ export interface ListAdminTherapistsRequest {
|
|
|
1142
1186
|
specialization: string;
|
|
1143
1187
|
sortBy: string;
|
|
1144
1188
|
sortOrder: string;
|
|
1189
|
+
featured?: boolean | undefined;
|
|
1145
1190
|
}
|
|
1146
1191
|
export interface ListAdminTherapistsResponse {
|
|
1147
1192
|
therapists: AdminTherapist[];
|
|
@@ -1193,6 +1238,7 @@ export interface AdminTherapistDetail {
|
|
|
1193
1238
|
reviews: TherapistReview[];
|
|
1194
1239
|
upcomingSessions: TherapistUpcomingSession[];
|
|
1195
1240
|
documents: AdminKycDocument[];
|
|
1241
|
+
featured: boolean;
|
|
1196
1242
|
}
|
|
1197
1243
|
export interface TherapistPerformanceStats {
|
|
1198
1244
|
totalTcEarned: number;
|
|
@@ -3551,6 +3597,556 @@ export interface RefreshConversionRatesResponse {
|
|
|
3551
3597
|
ratesUpdated: number;
|
|
3552
3598
|
lastFetch: string;
|
|
3553
3599
|
}
|
|
3600
|
+
export interface AdminOrganization {
|
|
3601
|
+
id: string;
|
|
3602
|
+
name: string;
|
|
3603
|
+
slug: string;
|
|
3604
|
+
description: string;
|
|
3605
|
+
ownerUserId: string;
|
|
3606
|
+
ownerName: string;
|
|
3607
|
+
ownerEmail: string;
|
|
3608
|
+
logoUrl: string;
|
|
3609
|
+
coverImageUrl: string;
|
|
3610
|
+
domain: string;
|
|
3611
|
+
industry: string;
|
|
3612
|
+
sizeBand: string;
|
|
3613
|
+
memberCount: number;
|
|
3614
|
+
isActive: boolean;
|
|
3615
|
+
planTier: string;
|
|
3616
|
+
subscriptionStatus: string;
|
|
3617
|
+
createdAt: string;
|
|
3618
|
+
updatedAt: string;
|
|
3619
|
+
}
|
|
3620
|
+
export interface AdminOrganizationDetail {
|
|
3621
|
+
organization: AdminOrganization | undefined;
|
|
3622
|
+
stats: AdminOrganizationStats | undefined;
|
|
3623
|
+
subscription: AdminOrganizationSubscription | undefined;
|
|
3624
|
+
}
|
|
3625
|
+
export interface AdminOrganizationStats {
|
|
3626
|
+
totalMembers: number;
|
|
3627
|
+
owners: number;
|
|
3628
|
+
admins: number;
|
|
3629
|
+
managers: number;
|
|
3630
|
+
members: number;
|
|
3631
|
+
totalCommunities: number;
|
|
3632
|
+
pendingInvitations: number;
|
|
3633
|
+
}
|
|
3634
|
+
export interface AdminOrganizationMember {
|
|
3635
|
+
userId: string;
|
|
3636
|
+
username: string;
|
|
3637
|
+
fullName: string;
|
|
3638
|
+
email: string;
|
|
3639
|
+
accountType: string;
|
|
3640
|
+
role: string;
|
|
3641
|
+
status: string;
|
|
3642
|
+
avatarUrl: string;
|
|
3643
|
+
avatarEmoji: string;
|
|
3644
|
+
joinedAt: string;
|
|
3645
|
+
}
|
|
3646
|
+
export interface AdminOrganizationInvitation {
|
|
3647
|
+
id: string;
|
|
3648
|
+
organizationId: string;
|
|
3649
|
+
email: string;
|
|
3650
|
+
role: string;
|
|
3651
|
+
status: string;
|
|
3652
|
+
invitedByName: string;
|
|
3653
|
+
invitedById: string;
|
|
3654
|
+
acceptedByName: string;
|
|
3655
|
+
acceptedById: string;
|
|
3656
|
+
expiresAt: string;
|
|
3657
|
+
respondedAt: string;
|
|
3658
|
+
createdAt: string;
|
|
3659
|
+
}
|
|
3660
|
+
export interface AdminOrganizationPlan {
|
|
3661
|
+
id: string;
|
|
3662
|
+
name: string;
|
|
3663
|
+
slug: string;
|
|
3664
|
+
description: string;
|
|
3665
|
+
tier: string;
|
|
3666
|
+
billingInterval: string;
|
|
3667
|
+
priceAmount: number;
|
|
3668
|
+
priceCurrency: string;
|
|
3669
|
+
maxMembers: number;
|
|
3670
|
+
maxCommunities: number;
|
|
3671
|
+
features: string;
|
|
3672
|
+
isActive: boolean;
|
|
3673
|
+
sortOrder: number;
|
|
3674
|
+
createdAt: string;
|
|
3675
|
+
updatedAt: string;
|
|
3676
|
+
}
|
|
3677
|
+
export interface AdminOrganizationSubscription {
|
|
3678
|
+
id: string;
|
|
3679
|
+
organizationId: string;
|
|
3680
|
+
planId: string;
|
|
3681
|
+
planName: string;
|
|
3682
|
+
planTier: string;
|
|
3683
|
+
status: string;
|
|
3684
|
+
currentPeriodStart: string;
|
|
3685
|
+
currentPeriodEnd: string;
|
|
3686
|
+
cancelAtPeriodEnd: boolean;
|
|
3687
|
+
cancelledAt: string;
|
|
3688
|
+
createdAt: string;
|
|
3689
|
+
}
|
|
3690
|
+
export interface AdminOrganizationBillingEvent {
|
|
3691
|
+
id: string;
|
|
3692
|
+
organizationId: string;
|
|
3693
|
+
subscriptionId: string;
|
|
3694
|
+
eventType: string;
|
|
3695
|
+
amount: number;
|
|
3696
|
+
currency: string;
|
|
3697
|
+
status: string;
|
|
3698
|
+
description: string;
|
|
3699
|
+
invoiceUrl: string;
|
|
3700
|
+
createdAt: string;
|
|
3701
|
+
}
|
|
3702
|
+
export interface AdminOrganizationAuditLog {
|
|
3703
|
+
id: string;
|
|
3704
|
+
organizationId: string;
|
|
3705
|
+
actorId: string;
|
|
3706
|
+
actorName: string;
|
|
3707
|
+
action: string;
|
|
3708
|
+
description: string;
|
|
3709
|
+
targetType: string;
|
|
3710
|
+
targetId: string;
|
|
3711
|
+
ipAddress: string;
|
|
3712
|
+
createdAt: string;
|
|
3713
|
+
}
|
|
3714
|
+
export interface AdminGetOrganizationStatsResponse {
|
|
3715
|
+
totalOrganizations: number;
|
|
3716
|
+
activeOrganizations: number;
|
|
3717
|
+
inactiveOrganizations: number;
|
|
3718
|
+
totalMembers: number;
|
|
3719
|
+
totalInvitations: number;
|
|
3720
|
+
pendingInvitations: number;
|
|
3721
|
+
paidSubscriptions: number;
|
|
3722
|
+
freeOrganizations: number;
|
|
3723
|
+
newOrganizationsLast30Days: number;
|
|
3724
|
+
}
|
|
3725
|
+
export interface AdminListOrganizationsRequest {
|
|
3726
|
+
pagination: BaseListRequest | undefined;
|
|
3727
|
+
search: string;
|
|
3728
|
+
status: string;
|
|
3729
|
+
planTier: string;
|
|
3730
|
+
industry: string;
|
|
3731
|
+
}
|
|
3732
|
+
export interface AdminListOrganizationsResponse {
|
|
3733
|
+
organizations: AdminOrganization[];
|
|
3734
|
+
}
|
|
3735
|
+
export interface AdminGetOrganizationRequest {
|
|
3736
|
+
id: string;
|
|
3737
|
+
}
|
|
3738
|
+
export interface AdminGetOrganizationResponse {
|
|
3739
|
+
detail: AdminOrganizationDetail | undefined;
|
|
3740
|
+
}
|
|
3741
|
+
export interface AdminCreateOrganizationRequest {
|
|
3742
|
+
name: string;
|
|
3743
|
+
description: string;
|
|
3744
|
+
ownerUserId: string;
|
|
3745
|
+
logoUrl: string;
|
|
3746
|
+
coverImageUrl: string;
|
|
3747
|
+
domain: string;
|
|
3748
|
+
industry: string;
|
|
3749
|
+
sizeBand: string;
|
|
3750
|
+
planId: string;
|
|
3751
|
+
}
|
|
3752
|
+
export interface AdminCreateOrganizationResponse {
|
|
3753
|
+
organization: AdminOrganization | undefined;
|
|
3754
|
+
}
|
|
3755
|
+
export interface AdminUpdateOrganizationRequest {
|
|
3756
|
+
id: string;
|
|
3757
|
+
name?: string | undefined;
|
|
3758
|
+
description?: string | undefined;
|
|
3759
|
+
logoUrl?: string | undefined;
|
|
3760
|
+
coverImageUrl?: string | undefined;
|
|
3761
|
+
domain?: string | undefined;
|
|
3762
|
+
industry?: string | undefined;
|
|
3763
|
+
sizeBand?: string | undefined;
|
|
3764
|
+
isActive?: boolean | undefined;
|
|
3765
|
+
}
|
|
3766
|
+
export interface AdminUpdateOrganizationResponse {
|
|
3767
|
+
organization: AdminOrganization | undefined;
|
|
3768
|
+
}
|
|
3769
|
+
export interface AdminListOrganizationMembersRequest {
|
|
3770
|
+
organizationId: string;
|
|
3771
|
+
pagination: BaseListRequest | undefined;
|
|
3772
|
+
search: string;
|
|
3773
|
+
role: string;
|
|
3774
|
+
}
|
|
3775
|
+
export interface AdminListOrganizationMembersResponse {
|
|
3776
|
+
members: AdminOrganizationMember[];
|
|
3777
|
+
stats: AdminOrganizationStats | undefined;
|
|
3778
|
+
}
|
|
3779
|
+
export interface AdminAddOrganizationMemberRequest {
|
|
3780
|
+
organizationId: string;
|
|
3781
|
+
userId: string;
|
|
3782
|
+
role: string;
|
|
3783
|
+
}
|
|
3784
|
+
export interface AdminAddOrganizationMemberResponse {
|
|
3785
|
+
message: string;
|
|
3786
|
+
}
|
|
3787
|
+
export interface AdminUpdateOrganizationMemberRoleRequest {
|
|
3788
|
+
organizationId: string;
|
|
3789
|
+
userId: string;
|
|
3790
|
+
role: string;
|
|
3791
|
+
}
|
|
3792
|
+
export interface AdminUpdateOrganizationMemberRoleResponse {
|
|
3793
|
+
organizationId: string;
|
|
3794
|
+
userId: string;
|
|
3795
|
+
role: string;
|
|
3796
|
+
message: string;
|
|
3797
|
+
}
|
|
3798
|
+
export interface AdminRemoveOrganizationMemberRequest {
|
|
3799
|
+
organizationId: string;
|
|
3800
|
+
userId: string;
|
|
3801
|
+
}
|
|
3802
|
+
export interface AdminRemoveOrganizationMemberResponse {
|
|
3803
|
+
message: string;
|
|
3804
|
+
}
|
|
3805
|
+
export interface AdminListOrganizationInvitationsRequest {
|
|
3806
|
+
organizationId: string;
|
|
3807
|
+
pagination: BaseListRequest | undefined;
|
|
3808
|
+
status: string;
|
|
3809
|
+
}
|
|
3810
|
+
export interface AdminListOrganizationInvitationsResponse {
|
|
3811
|
+
invitations: AdminOrganizationInvitation[];
|
|
3812
|
+
}
|
|
3813
|
+
export interface AdminCreateOrganizationInvitationRequest {
|
|
3814
|
+
organizationId: string;
|
|
3815
|
+
email: string;
|
|
3816
|
+
role: string;
|
|
3817
|
+
}
|
|
3818
|
+
export interface AdminCreateOrganizationInvitationResponse {
|
|
3819
|
+
invitation: AdminOrganizationInvitation | undefined;
|
|
3820
|
+
}
|
|
3821
|
+
export interface AdminRevokeOrganizationInvitationRequest {
|
|
3822
|
+
organizationId: string;
|
|
3823
|
+
invitationId: string;
|
|
3824
|
+
}
|
|
3825
|
+
export interface AdminRevokeOrganizationInvitationResponse {
|
|
3826
|
+
message: string;
|
|
3827
|
+
}
|
|
3828
|
+
export interface AdminListOrganizationPlansRequest {
|
|
3829
|
+
pagination: BaseListRequest | undefined;
|
|
3830
|
+
}
|
|
3831
|
+
export interface AdminListOrganizationPlansResponse {
|
|
3832
|
+
plans: AdminOrganizationPlan[];
|
|
3833
|
+
}
|
|
3834
|
+
export interface AdminCreateOrganizationPlanRequest {
|
|
3835
|
+
name: string;
|
|
3836
|
+
slug: string;
|
|
3837
|
+
description: string;
|
|
3838
|
+
tier: string;
|
|
3839
|
+
billingInterval: string;
|
|
3840
|
+
priceAmount: number;
|
|
3841
|
+
priceCurrency: string;
|
|
3842
|
+
maxMembers: number;
|
|
3843
|
+
maxCommunities: number;
|
|
3844
|
+
features: string;
|
|
3845
|
+
isActive: boolean;
|
|
3846
|
+
sortOrder: number;
|
|
3847
|
+
}
|
|
3848
|
+
export interface AdminCreateOrganizationPlanResponse {
|
|
3849
|
+
plan: AdminOrganizationPlan | undefined;
|
|
3850
|
+
}
|
|
3851
|
+
export interface AdminUpdateOrganizationPlanRequest {
|
|
3852
|
+
id: string;
|
|
3853
|
+
name?: string | undefined;
|
|
3854
|
+
description?: string | undefined;
|
|
3855
|
+
priceAmount?: number | undefined;
|
|
3856
|
+
maxMembers?: number | undefined;
|
|
3857
|
+
maxCommunities?: number | undefined;
|
|
3858
|
+
features?: string | undefined;
|
|
3859
|
+
isActive?: boolean | undefined;
|
|
3860
|
+
sortOrder?: number | undefined;
|
|
3861
|
+
}
|
|
3862
|
+
export interface AdminUpdateOrganizationPlanResponse {
|
|
3863
|
+
plan: AdminOrganizationPlan | undefined;
|
|
3864
|
+
}
|
|
3865
|
+
export interface AdminGetOrganizationSubscriptionRequest {
|
|
3866
|
+
organizationId: string;
|
|
3867
|
+
}
|
|
3868
|
+
export interface AdminGetOrganizationSubscriptionResponse {
|
|
3869
|
+
subscription: AdminOrganizationSubscription | undefined;
|
|
3870
|
+
}
|
|
3871
|
+
export interface AdminAssignOrganizationPlanRequest {
|
|
3872
|
+
organizationId: string;
|
|
3873
|
+
planId: string;
|
|
3874
|
+
}
|
|
3875
|
+
export interface AdminAssignOrganizationPlanResponse {
|
|
3876
|
+
subscription: AdminOrganizationSubscription | undefined;
|
|
3877
|
+
message: string;
|
|
3878
|
+
}
|
|
3879
|
+
export interface AdminListOrganizationBillingEventsRequest {
|
|
3880
|
+
organizationId: string;
|
|
3881
|
+
pagination: BaseListRequest | undefined;
|
|
3882
|
+
eventType: string;
|
|
3883
|
+
}
|
|
3884
|
+
export interface AdminListOrganizationBillingEventsResponse {
|
|
3885
|
+
events: AdminOrganizationBillingEvent[];
|
|
3886
|
+
}
|
|
3887
|
+
export interface AdminListOrganizationAuditLogsRequest {
|
|
3888
|
+
organizationId: string;
|
|
3889
|
+
pagination: BaseListRequest | undefined;
|
|
3890
|
+
action: string;
|
|
3891
|
+
actorId: string;
|
|
3892
|
+
}
|
|
3893
|
+
export interface AdminListOrganizationAuditLogsResponse {
|
|
3894
|
+
logs: AdminOrganizationAuditLog[];
|
|
3895
|
+
}
|
|
3896
|
+
export interface AdminOrganizationTherapist {
|
|
3897
|
+
id: string;
|
|
3898
|
+
therapistId: string;
|
|
3899
|
+
therapistName: string;
|
|
3900
|
+
therapistEmail: string;
|
|
3901
|
+
therapistAvatarUrl: string;
|
|
3902
|
+
status: string;
|
|
3903
|
+
maxSessionsPerMember: number;
|
|
3904
|
+
sessionRateOverride: number;
|
|
3905
|
+
priority: number;
|
|
3906
|
+
specialtiesFilter: string;
|
|
3907
|
+
notes: string;
|
|
3908
|
+
specialties: string;
|
|
3909
|
+
rating: number;
|
|
3910
|
+
reviewCount: number;
|
|
3911
|
+
sessionTypes: string;
|
|
3912
|
+
verificationStatus: string;
|
|
3913
|
+
createdAt: string;
|
|
3914
|
+
updatedAt: string;
|
|
3915
|
+
}
|
|
3916
|
+
export interface AdminListOrganizationTherapistsRequest {
|
|
3917
|
+
organizationId: string;
|
|
3918
|
+
pagination: BaseListRequest | undefined;
|
|
3919
|
+
status: string;
|
|
3920
|
+
}
|
|
3921
|
+
export interface AdminListOrganizationTherapistsResponse {
|
|
3922
|
+
therapists: AdminOrganizationTherapist[];
|
|
3923
|
+
totalCount: number;
|
|
3924
|
+
}
|
|
3925
|
+
export interface AdminAssignOrganizationTherapistRequest {
|
|
3926
|
+
organizationId: string;
|
|
3927
|
+
therapistId: string;
|
|
3928
|
+
maxSessionsPerMember: number;
|
|
3929
|
+
sessionRateOverride: number;
|
|
3930
|
+
priority: number;
|
|
3931
|
+
specialtiesFilter: string;
|
|
3932
|
+
notes: string;
|
|
3933
|
+
}
|
|
3934
|
+
export interface AdminAssignOrganizationTherapistResponse {
|
|
3935
|
+
therapist: AdminOrganizationTherapist | undefined;
|
|
3936
|
+
message: string;
|
|
3937
|
+
}
|
|
3938
|
+
export interface AdminUpdateOrganizationTherapistRequest {
|
|
3939
|
+
organizationId: string;
|
|
3940
|
+
therapistId: string;
|
|
3941
|
+
status?: string | undefined;
|
|
3942
|
+
maxSessionsPerMember?: number | undefined;
|
|
3943
|
+
sessionRateOverride?: number | undefined;
|
|
3944
|
+
priority?: number | undefined;
|
|
3945
|
+
specialtiesFilter?: string | undefined;
|
|
3946
|
+
notes?: string | undefined;
|
|
3947
|
+
}
|
|
3948
|
+
export interface AdminUpdateOrganizationTherapistResponse {
|
|
3949
|
+
therapist: AdminOrganizationTherapist | undefined;
|
|
3950
|
+
}
|
|
3951
|
+
export interface AdminRemoveOrganizationTherapistRequest {
|
|
3952
|
+
organizationId: string;
|
|
3953
|
+
therapistId: string;
|
|
3954
|
+
}
|
|
3955
|
+
export interface AdminRemoveOrganizationTherapistResponse {
|
|
3956
|
+
message: string;
|
|
3957
|
+
}
|
|
3958
|
+
export interface AdminSuspendOrganizationMemberRequest {
|
|
3959
|
+
organizationId: string;
|
|
3960
|
+
userId: string;
|
|
3961
|
+
}
|
|
3962
|
+
export interface AdminSuspendOrganizationMemberResponse {
|
|
3963
|
+
message: string;
|
|
3964
|
+
}
|
|
3965
|
+
export interface AdminUnsuspendOrganizationMemberRequest {
|
|
3966
|
+
organizationId: string;
|
|
3967
|
+
userId: string;
|
|
3968
|
+
}
|
|
3969
|
+
export interface AdminUnsuspendOrganizationMemberResponse {
|
|
3970
|
+
message: string;
|
|
3971
|
+
}
|
|
3972
|
+
export interface AdminTransferOrganizationOwnershipRequest {
|
|
3973
|
+
organizationId: string;
|
|
3974
|
+
newOwnerId: string;
|
|
3975
|
+
}
|
|
3976
|
+
export interface AdminTransferOrganizationOwnershipResponse {
|
|
3977
|
+
message: string;
|
|
3978
|
+
}
|
|
3979
|
+
export interface AdminArchiveOrganizationRequest {
|
|
3980
|
+
organizationId: string;
|
|
3981
|
+
}
|
|
3982
|
+
export interface AdminArchiveOrganizationResponse {
|
|
3983
|
+
message: string;
|
|
3984
|
+
}
|
|
3985
|
+
export interface AdminUnarchiveOrganizationRequest {
|
|
3986
|
+
organizationId: string;
|
|
3987
|
+
}
|
|
3988
|
+
export interface AdminUnarchiveOrganizationResponse {
|
|
3989
|
+
message: string;
|
|
3990
|
+
}
|
|
3991
|
+
export interface AdminBulkTransferCreditsRequest {
|
|
3992
|
+
organizationId: string;
|
|
3993
|
+
recipientType: string;
|
|
3994
|
+
amountTc: number;
|
|
3995
|
+
description: string;
|
|
3996
|
+
recipientIds: string[];
|
|
3997
|
+
}
|
|
3998
|
+
export interface AdminBulkTransferCreditsResponse {
|
|
3999
|
+
recipientsCount: number;
|
|
4000
|
+
totalAmountTc: number;
|
|
4001
|
+
message: string;
|
|
4002
|
+
}
|
|
4003
|
+
export interface AdminLoungeStats {
|
|
4004
|
+
totalConsultations: number;
|
|
4005
|
+
openConsultations: number;
|
|
4006
|
+
totalResources: number;
|
|
4007
|
+
publishedResources: number;
|
|
4008
|
+
totalReferrals: number;
|
|
4009
|
+
pendingReferrals: number;
|
|
4010
|
+
totalBoards: number;
|
|
4011
|
+
activeBoards: number;
|
|
4012
|
+
}
|
|
4013
|
+
export interface AdminLoungeConsultationItem {
|
|
4014
|
+
id: string;
|
|
4015
|
+
requesterId: string;
|
|
4016
|
+
requesterName: string;
|
|
4017
|
+
requesterAvatar: string;
|
|
4018
|
+
requesterUsername: string;
|
|
4019
|
+
title: string;
|
|
4020
|
+
description: string;
|
|
4021
|
+
specialties: string[];
|
|
4022
|
+
urgency: string;
|
|
4023
|
+
status: string;
|
|
4024
|
+
visibility: string;
|
|
4025
|
+
anonymized: boolean;
|
|
4026
|
+
responsesCount: number;
|
|
4027
|
+
acceptedResponses: number;
|
|
4028
|
+
createdAt: string;
|
|
4029
|
+
updatedAt: string;
|
|
4030
|
+
}
|
|
4031
|
+
export interface AdminListLoungeConsultationsRequest {
|
|
4032
|
+
pagination: BaseListRequest | undefined;
|
|
4033
|
+
status: string;
|
|
4034
|
+
search: string;
|
|
4035
|
+
}
|
|
4036
|
+
export interface AdminListLoungeConsultationsResponse {
|
|
4037
|
+
consultations: AdminLoungeConsultationItem[];
|
|
4038
|
+
totalCount: number;
|
|
4039
|
+
}
|
|
4040
|
+
export interface AdminGetLoungeConsultationRequest {
|
|
4041
|
+
id: string;
|
|
4042
|
+
}
|
|
4043
|
+
export interface AdminGetLoungeConsultationResponse {
|
|
4044
|
+
consultation: AdminLoungeConsultationItem | undefined;
|
|
4045
|
+
}
|
|
4046
|
+
export interface AdminLoungeResourceItem {
|
|
4047
|
+
id: string;
|
|
4048
|
+
authorId: string;
|
|
4049
|
+
authorName: string;
|
|
4050
|
+
authorAvatar: string;
|
|
4051
|
+
authorUsername: string;
|
|
4052
|
+
title: string;
|
|
4053
|
+
description: string;
|
|
4054
|
+
resourceType: string;
|
|
4055
|
+
content: string;
|
|
4056
|
+
fileUrl: string;
|
|
4057
|
+
thumbnailUrl: string;
|
|
4058
|
+
specialties: string[];
|
|
4059
|
+
tags: string[];
|
|
4060
|
+
isFeatured: boolean;
|
|
4061
|
+
downloadCount: number;
|
|
4062
|
+
viewCount: number;
|
|
4063
|
+
status: string;
|
|
4064
|
+
createdAt: string;
|
|
4065
|
+
updatedAt: string;
|
|
4066
|
+
}
|
|
4067
|
+
export interface AdminListLoungeResourcesRequest {
|
|
4068
|
+
pagination: BaseListRequest | undefined;
|
|
4069
|
+
status: string;
|
|
4070
|
+
resourceType: string;
|
|
4071
|
+
search: string;
|
|
4072
|
+
}
|
|
4073
|
+
export interface AdminListLoungeResourcesResponse {
|
|
4074
|
+
resources: AdminLoungeResourceItem[];
|
|
4075
|
+
totalCount: number;
|
|
4076
|
+
}
|
|
4077
|
+
export interface AdminGetLoungeResourceRequest {
|
|
4078
|
+
id: string;
|
|
4079
|
+
}
|
|
4080
|
+
export interface AdminGetLoungeResourceResponse {
|
|
4081
|
+
resource: AdminLoungeResourceItem | undefined;
|
|
4082
|
+
}
|
|
4083
|
+
export interface AdminSetLoungeResourceFeaturedRequest {
|
|
4084
|
+
id: string;
|
|
4085
|
+
featured: boolean;
|
|
4086
|
+
}
|
|
4087
|
+
export interface AdminLoungeReferralItem {
|
|
4088
|
+
id: string;
|
|
4089
|
+
referringTherapistId: string;
|
|
4090
|
+
receivingTherapistId: string;
|
|
4091
|
+
referringName: string;
|
|
4092
|
+
referringAvatar: string;
|
|
4093
|
+
referringUsername: string;
|
|
4094
|
+
receivingName: string;
|
|
4095
|
+
receivingAvatar: string;
|
|
4096
|
+
receivingUsername: string;
|
|
4097
|
+
clientName: string;
|
|
4098
|
+
clientEmail: string;
|
|
4099
|
+
reason: string;
|
|
4100
|
+
specialtiesNeeded: string[];
|
|
4101
|
+
status: string;
|
|
4102
|
+
notes: string;
|
|
4103
|
+
respondedAt: string;
|
|
4104
|
+
createdAt: string;
|
|
4105
|
+
updatedAt: string;
|
|
4106
|
+
}
|
|
4107
|
+
export interface AdminListLoungeReferralsRequest {
|
|
4108
|
+
pagination: BaseListRequest | undefined;
|
|
4109
|
+
status: string;
|
|
4110
|
+
search: string;
|
|
4111
|
+
}
|
|
4112
|
+
export interface AdminListLoungeReferralsResponse {
|
|
4113
|
+
referrals: AdminLoungeReferralItem[];
|
|
4114
|
+
totalCount: number;
|
|
4115
|
+
}
|
|
4116
|
+
export interface AdminLoungeBoardItem {
|
|
4117
|
+
id: string;
|
|
4118
|
+
groupId: string;
|
|
4119
|
+
groupName: string;
|
|
4120
|
+
communityId: string;
|
|
4121
|
+
groupPrivacy: string;
|
|
4122
|
+
memberCount: number;
|
|
4123
|
+
createdBy: string;
|
|
4124
|
+
createdByName: string;
|
|
4125
|
+
createdByAvatar: string;
|
|
4126
|
+
createdByUsername: string;
|
|
4127
|
+
title: string;
|
|
4128
|
+
description: string;
|
|
4129
|
+
topic: string;
|
|
4130
|
+
boardType: string;
|
|
4131
|
+
specialties: string[];
|
|
4132
|
+
isFeatured: boolean;
|
|
4133
|
+
isActive: boolean;
|
|
4134
|
+
createdAt: string;
|
|
4135
|
+
updatedAt: string;
|
|
4136
|
+
}
|
|
4137
|
+
export interface AdminListLoungeBoardsRequest {
|
|
4138
|
+
pagination: BaseListRequest | undefined;
|
|
4139
|
+
boardType: string;
|
|
4140
|
+
search: string;
|
|
4141
|
+
}
|
|
4142
|
+
export interface AdminListLoungeBoardsResponse {
|
|
4143
|
+
boards: AdminLoungeBoardItem[];
|
|
4144
|
+
totalCount: number;
|
|
4145
|
+
}
|
|
4146
|
+
export interface AdminSetLoungeBoardActiveRequest {
|
|
4147
|
+
id: string;
|
|
4148
|
+
active: boolean;
|
|
4149
|
+
}
|
|
3554
4150
|
export declare const AdminAuthUser: MessageFns<AdminAuthUser>;
|
|
3555
4151
|
export declare const AdminSession: MessageFns<AdminSession>;
|
|
3556
4152
|
export declare const AdminLoginRequest: MessageFns<AdminLoginRequest>;
|
|
@@ -3601,6 +4197,15 @@ export declare const UpsertAppSettingItem: MessageFns<UpsertAppSettingItem>;
|
|
|
3601
4197
|
export declare const UpsertAppSettingsRequest: MessageFns<UpsertAppSettingsRequest>;
|
|
3602
4198
|
export declare const UpsertAppSettingsResponse: MessageFns<UpsertAppSettingsResponse>;
|
|
3603
4199
|
export declare const DeleteAppSettingRequest: MessageFns<DeleteAppSettingRequest>;
|
|
4200
|
+
export declare const LookupAvatarOption: MessageFns<LookupAvatarOption>;
|
|
4201
|
+
export declare const ListLookupAvatarsRequest: MessageFns<ListLookupAvatarsRequest>;
|
|
4202
|
+
export declare const ListLookupAvatarsResponse: MessageFns<ListLookupAvatarsResponse>;
|
|
4203
|
+
export declare const CreateLookupAvatarRequest: MessageFns<CreateLookupAvatarRequest>;
|
|
4204
|
+
export declare const CreateLookupAvatarResponse: MessageFns<CreateLookupAvatarResponse>;
|
|
4205
|
+
export declare const UpdateLookupAvatarRequest: MessageFns<UpdateLookupAvatarRequest>;
|
|
4206
|
+
export declare const UpdateLookupAvatarResponse: MessageFns<UpdateLookupAvatarResponse>;
|
|
4207
|
+
export declare const DeleteLookupAvatarRequest: MessageFns<DeleteLookupAvatarRequest>;
|
|
4208
|
+
export declare const DeleteLookupAvatarResponse: MessageFns<DeleteLookupAvatarResponse>;
|
|
3604
4209
|
export declare const DashboardMetric: MessageFns<DashboardMetric>;
|
|
3605
4210
|
export declare const DashboardOverviewRequest: MessageFns<DashboardOverviewRequest>;
|
|
3606
4211
|
export declare const DashboardOverviewResponse: MessageFns<DashboardOverviewResponse>;
|
|
@@ -4008,6 +4613,92 @@ export declare const AdminUpdateBundleRequest: MessageFns<AdminUpdateBundleReque
|
|
|
4008
4613
|
export declare const AdminBundleResponse: MessageFns<AdminBundleResponse>;
|
|
4009
4614
|
export declare const RefreshConversionRatesRequest: MessageFns<RefreshConversionRatesRequest>;
|
|
4010
4615
|
export declare const RefreshConversionRatesResponse: MessageFns<RefreshConversionRatesResponse>;
|
|
4616
|
+
export declare const AdminOrganization: MessageFns<AdminOrganization>;
|
|
4617
|
+
export declare const AdminOrganizationDetail: MessageFns<AdminOrganizationDetail>;
|
|
4618
|
+
export declare const AdminOrganizationStats: MessageFns<AdminOrganizationStats>;
|
|
4619
|
+
export declare const AdminOrganizationMember: MessageFns<AdminOrganizationMember>;
|
|
4620
|
+
export declare const AdminOrganizationInvitation: MessageFns<AdminOrganizationInvitation>;
|
|
4621
|
+
export declare const AdminOrganizationPlan: MessageFns<AdminOrganizationPlan>;
|
|
4622
|
+
export declare const AdminOrganizationSubscription: MessageFns<AdminOrganizationSubscription>;
|
|
4623
|
+
export declare const AdminOrganizationBillingEvent: MessageFns<AdminOrganizationBillingEvent>;
|
|
4624
|
+
export declare const AdminOrganizationAuditLog: MessageFns<AdminOrganizationAuditLog>;
|
|
4625
|
+
export declare const AdminGetOrganizationStatsResponse: MessageFns<AdminGetOrganizationStatsResponse>;
|
|
4626
|
+
export declare const AdminListOrganizationsRequest: MessageFns<AdminListOrganizationsRequest>;
|
|
4627
|
+
export declare const AdminListOrganizationsResponse: MessageFns<AdminListOrganizationsResponse>;
|
|
4628
|
+
export declare const AdminGetOrganizationRequest: MessageFns<AdminGetOrganizationRequest>;
|
|
4629
|
+
export declare const AdminGetOrganizationResponse: MessageFns<AdminGetOrganizationResponse>;
|
|
4630
|
+
export declare const AdminCreateOrganizationRequest: MessageFns<AdminCreateOrganizationRequest>;
|
|
4631
|
+
export declare const AdminCreateOrganizationResponse: MessageFns<AdminCreateOrganizationResponse>;
|
|
4632
|
+
export declare const AdminUpdateOrganizationRequest: MessageFns<AdminUpdateOrganizationRequest>;
|
|
4633
|
+
export declare const AdminUpdateOrganizationResponse: MessageFns<AdminUpdateOrganizationResponse>;
|
|
4634
|
+
export declare const AdminListOrganizationMembersRequest: MessageFns<AdminListOrganizationMembersRequest>;
|
|
4635
|
+
export declare const AdminListOrganizationMembersResponse: MessageFns<AdminListOrganizationMembersResponse>;
|
|
4636
|
+
export declare const AdminAddOrganizationMemberRequest: MessageFns<AdminAddOrganizationMemberRequest>;
|
|
4637
|
+
export declare const AdminAddOrganizationMemberResponse: MessageFns<AdminAddOrganizationMemberResponse>;
|
|
4638
|
+
export declare const AdminUpdateOrganizationMemberRoleRequest: MessageFns<AdminUpdateOrganizationMemberRoleRequest>;
|
|
4639
|
+
export declare const AdminUpdateOrganizationMemberRoleResponse: MessageFns<AdminUpdateOrganizationMemberRoleResponse>;
|
|
4640
|
+
export declare const AdminRemoveOrganizationMemberRequest: MessageFns<AdminRemoveOrganizationMemberRequest>;
|
|
4641
|
+
export declare const AdminRemoveOrganizationMemberResponse: MessageFns<AdminRemoveOrganizationMemberResponse>;
|
|
4642
|
+
export declare const AdminListOrganizationInvitationsRequest: MessageFns<AdminListOrganizationInvitationsRequest>;
|
|
4643
|
+
export declare const AdminListOrganizationInvitationsResponse: MessageFns<AdminListOrganizationInvitationsResponse>;
|
|
4644
|
+
export declare const AdminCreateOrganizationInvitationRequest: MessageFns<AdminCreateOrganizationInvitationRequest>;
|
|
4645
|
+
export declare const AdminCreateOrganizationInvitationResponse: MessageFns<AdminCreateOrganizationInvitationResponse>;
|
|
4646
|
+
export declare const AdminRevokeOrganizationInvitationRequest: MessageFns<AdminRevokeOrganizationInvitationRequest>;
|
|
4647
|
+
export declare const AdminRevokeOrganizationInvitationResponse: MessageFns<AdminRevokeOrganizationInvitationResponse>;
|
|
4648
|
+
export declare const AdminListOrganizationPlansRequest: MessageFns<AdminListOrganizationPlansRequest>;
|
|
4649
|
+
export declare const AdminListOrganizationPlansResponse: MessageFns<AdminListOrganizationPlansResponse>;
|
|
4650
|
+
export declare const AdminCreateOrganizationPlanRequest: MessageFns<AdminCreateOrganizationPlanRequest>;
|
|
4651
|
+
export declare const AdminCreateOrganizationPlanResponse: MessageFns<AdminCreateOrganizationPlanResponse>;
|
|
4652
|
+
export declare const AdminUpdateOrganizationPlanRequest: MessageFns<AdminUpdateOrganizationPlanRequest>;
|
|
4653
|
+
export declare const AdminUpdateOrganizationPlanResponse: MessageFns<AdminUpdateOrganizationPlanResponse>;
|
|
4654
|
+
export declare const AdminGetOrganizationSubscriptionRequest: MessageFns<AdminGetOrganizationSubscriptionRequest>;
|
|
4655
|
+
export declare const AdminGetOrganizationSubscriptionResponse: MessageFns<AdminGetOrganizationSubscriptionResponse>;
|
|
4656
|
+
export declare const AdminAssignOrganizationPlanRequest: MessageFns<AdminAssignOrganizationPlanRequest>;
|
|
4657
|
+
export declare const AdminAssignOrganizationPlanResponse: MessageFns<AdminAssignOrganizationPlanResponse>;
|
|
4658
|
+
export declare const AdminListOrganizationBillingEventsRequest: MessageFns<AdminListOrganizationBillingEventsRequest>;
|
|
4659
|
+
export declare const AdminListOrganizationBillingEventsResponse: MessageFns<AdminListOrganizationBillingEventsResponse>;
|
|
4660
|
+
export declare const AdminListOrganizationAuditLogsRequest: MessageFns<AdminListOrganizationAuditLogsRequest>;
|
|
4661
|
+
export declare const AdminListOrganizationAuditLogsResponse: MessageFns<AdminListOrganizationAuditLogsResponse>;
|
|
4662
|
+
export declare const AdminOrganizationTherapist: MessageFns<AdminOrganizationTherapist>;
|
|
4663
|
+
export declare const AdminListOrganizationTherapistsRequest: MessageFns<AdminListOrganizationTherapistsRequest>;
|
|
4664
|
+
export declare const AdminListOrganizationTherapistsResponse: MessageFns<AdminListOrganizationTherapistsResponse>;
|
|
4665
|
+
export declare const AdminAssignOrganizationTherapistRequest: MessageFns<AdminAssignOrganizationTherapistRequest>;
|
|
4666
|
+
export declare const AdminAssignOrganizationTherapistResponse: MessageFns<AdminAssignOrganizationTherapistResponse>;
|
|
4667
|
+
export declare const AdminUpdateOrganizationTherapistRequest: MessageFns<AdminUpdateOrganizationTherapistRequest>;
|
|
4668
|
+
export declare const AdminUpdateOrganizationTherapistResponse: MessageFns<AdminUpdateOrganizationTherapistResponse>;
|
|
4669
|
+
export declare const AdminRemoveOrganizationTherapistRequest: MessageFns<AdminRemoveOrganizationTherapistRequest>;
|
|
4670
|
+
export declare const AdminRemoveOrganizationTherapistResponse: MessageFns<AdminRemoveOrganizationTherapistResponse>;
|
|
4671
|
+
export declare const AdminSuspendOrganizationMemberRequest: MessageFns<AdminSuspendOrganizationMemberRequest>;
|
|
4672
|
+
export declare const AdminSuspendOrganizationMemberResponse: MessageFns<AdminSuspendOrganizationMemberResponse>;
|
|
4673
|
+
export declare const AdminUnsuspendOrganizationMemberRequest: MessageFns<AdminUnsuspendOrganizationMemberRequest>;
|
|
4674
|
+
export declare const AdminUnsuspendOrganizationMemberResponse: MessageFns<AdminUnsuspendOrganizationMemberResponse>;
|
|
4675
|
+
export declare const AdminTransferOrganizationOwnershipRequest: MessageFns<AdminTransferOrganizationOwnershipRequest>;
|
|
4676
|
+
export declare const AdminTransferOrganizationOwnershipResponse: MessageFns<AdminTransferOrganizationOwnershipResponse>;
|
|
4677
|
+
export declare const AdminArchiveOrganizationRequest: MessageFns<AdminArchiveOrganizationRequest>;
|
|
4678
|
+
export declare const AdminArchiveOrganizationResponse: MessageFns<AdminArchiveOrganizationResponse>;
|
|
4679
|
+
export declare const AdminUnarchiveOrganizationRequest: MessageFns<AdminUnarchiveOrganizationRequest>;
|
|
4680
|
+
export declare const AdminUnarchiveOrganizationResponse: MessageFns<AdminUnarchiveOrganizationResponse>;
|
|
4681
|
+
export declare const AdminBulkTransferCreditsRequest: MessageFns<AdminBulkTransferCreditsRequest>;
|
|
4682
|
+
export declare const AdminBulkTransferCreditsResponse: MessageFns<AdminBulkTransferCreditsResponse>;
|
|
4683
|
+
export declare const AdminLoungeStats: MessageFns<AdminLoungeStats>;
|
|
4684
|
+
export declare const AdminLoungeConsultationItem: MessageFns<AdminLoungeConsultationItem>;
|
|
4685
|
+
export declare const AdminListLoungeConsultationsRequest: MessageFns<AdminListLoungeConsultationsRequest>;
|
|
4686
|
+
export declare const AdminListLoungeConsultationsResponse: MessageFns<AdminListLoungeConsultationsResponse>;
|
|
4687
|
+
export declare const AdminGetLoungeConsultationRequest: MessageFns<AdminGetLoungeConsultationRequest>;
|
|
4688
|
+
export declare const AdminGetLoungeConsultationResponse: MessageFns<AdminGetLoungeConsultationResponse>;
|
|
4689
|
+
export declare const AdminLoungeResourceItem: MessageFns<AdminLoungeResourceItem>;
|
|
4690
|
+
export declare const AdminListLoungeResourcesRequest: MessageFns<AdminListLoungeResourcesRequest>;
|
|
4691
|
+
export declare const AdminListLoungeResourcesResponse: MessageFns<AdminListLoungeResourcesResponse>;
|
|
4692
|
+
export declare const AdminGetLoungeResourceRequest: MessageFns<AdminGetLoungeResourceRequest>;
|
|
4693
|
+
export declare const AdminGetLoungeResourceResponse: MessageFns<AdminGetLoungeResourceResponse>;
|
|
4694
|
+
export declare const AdminSetLoungeResourceFeaturedRequest: MessageFns<AdminSetLoungeResourceFeaturedRequest>;
|
|
4695
|
+
export declare const AdminLoungeReferralItem: MessageFns<AdminLoungeReferralItem>;
|
|
4696
|
+
export declare const AdminListLoungeReferralsRequest: MessageFns<AdminListLoungeReferralsRequest>;
|
|
4697
|
+
export declare const AdminListLoungeReferralsResponse: MessageFns<AdminListLoungeReferralsResponse>;
|
|
4698
|
+
export declare const AdminLoungeBoardItem: MessageFns<AdminLoungeBoardItem>;
|
|
4699
|
+
export declare const AdminListLoungeBoardsRequest: MessageFns<AdminListLoungeBoardsRequest>;
|
|
4700
|
+
export declare const AdminListLoungeBoardsResponse: MessageFns<AdminListLoungeBoardsResponse>;
|
|
4701
|
+
export declare const AdminSetLoungeBoardActiveRequest: MessageFns<AdminSetLoungeBoardActiveRequest>;
|
|
4011
4702
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
4012
4703
|
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
4704
|
[K in keyof T]?: DeepPartial<T[K]>;
|